Metadata-Version: 2.1
Name: respo
Version: 0.1.2a0
Summary: File based RBAC in Python made easy
Home-page: https://github.com/rafsaf/respo
License: MIT
Author: rafsaf
Author-email: rafal.safin@rafsaf.pl
Requires-Python: >=3.6.1,<4.0.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Typing :: Typed
Requires-Dist: PyYAML (>=5.4.1,<6.0.0)
Requires-Dist: colorama (>=0.4.4,<0.5.0)
Requires-Dist: pydantic (>=1.8.2,<2.0.0)
Requires-Dist: typer (>=0.4.0,<0.5.0)
Project-URL: Documentation, https://respo.rafsaf.pl
Project-URL: Repository, https://github.com/rafsaf/respo
Description-Content-Type: text/markdown

<a href="https://codecov.io/gh/rafsaf/respo" target="_blank">
  <img src="https://img.shields.io/codecov/c/github/rafsaf/respo" alt="Coverage">
</a>

<a href="https://github.com/rafsaf/respo/actions?query=workflow%3ATest" target="_blank">
    <img src="https://github.com/rafsaf/respo/workflows/Test/badge.svg" alt="Test">
</a>

<a href="https://github.com/rafsaf/respo/actions?query=workflow%3APublish" target="_blank">
  <img src="https://github.com/rafsaf/respo/workflows/Publish/badge.svg" alt="Publish">
</a>

<a href="https://github.com/rafsaf/respo/blob/main/LICENSE" target="_blank">
    <img src="https://img.shields.io/github/license/rafsaf/respo" alt="License">
</a>

<a href="https://pypi.org/project/respo/" target="_blank">
    <img src="https://img.shields.io/pypi/pyversions/respo" alt="Python version">
</a>

# Documentation

**https://rafsaf.github.io/respo/**

# Overview

_respo_ states for **Resource Policy** and is tiny, user friendly tool for building RBAC systems based on single `yml` file, mainly with FastAPI framework in mind. In most cases – for even large set of roles and organizations – single file would be enough to provide restricting system access.

# Installation

```
pip install respo
```

# Tests in this project

This project focuses heavily on code quality, good practics and full 100% test coverage

Also, every piece of code in the docs is a tested python/yml file, feel free to use it directly.

