About
This module is used to register endpoints and service names to DAC [Dyncamic Access Control] service.
DAC [Dyncamic Access Control] service is used to control accesses between microservices and users
Visit https://github.com/OnePoint-Team/DAC for more information about DAC service
🔨 Installation
$ sudo pip3 install dac_autoreg
🕹 Python Module
from fastapi import FastAPI
from core.factories import settings
from core.extensions import log
from dac_autoreg.modules import Autoreg
app = FastAPI()
@app.on_event("startup")
async def startup():
await Autoreg(app=app, log=log, settings=settings).autoreg()
Supported OS
Linux, MacOS
🌱 Contributing
Feel free to open issue and send pull request.
Python >= 3.6
Release files for dac-autoreg 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dac-autoreg-0.3.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dac_autoreg-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / dac-autoreg-0.3.0.tar.gz
| Download URL | dac-autoreg-0.3.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f859406e903f5168593a84eead2b85b835864470a22c78ebd5c70fbaf0062fc
|
|
BLAKE2b-256 checksum How to use checksums |
233945f50ce506ce211185d18b29f385e5ec5d407d0ff3f9768da1f3f4307659
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / dac_autoreg-0.3.0-py3-none-any.whl
| Download URL | dac_autoreg-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c93bd89df78201751576ba47bc57804eecdcfaf26f7fe4624cb8d9927a24cad8
|
|
BLAKE2b-256 checksum How to use checksums |
150c0554601a091bd5ca4be9daa006ba0378a3c9322d5f4e1f4fb1e284358f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|