Attainia Django Extensions is a collection of helpful utilities to be used in Attainia Django/Rest Framework projects
What’s included?
Abstractions for Nameko RPC and Event subscription/dispatch
Include Correlation ID on Nameko RPC and events
Django REST Framework JWT authentication and permissions
Utils for reading environment variables as dictionaries and lists
Audit trail base model
Libraries used:
[Django REST Framework](https://github.com/encode/django-rest-framework)
[Django CID](https://github.com/snowball-one/cid)
[Nameko](https://github.com/nameko/nameko)
[Django Nameko](https://github.com/Attainia/django-nameko)
## Updating PyPI for a New Release of this Library
You will need to install Twine to update libraries in PyPI. Twine is a utility for interacting with PyPI. It’s OK to install this globally on your machine.
` pip3 install twine `
Create a .pypirc configuration file in your
` vi ~/.pypirc `
The contents of this file should be as follows.
` [pypi] username = attainia password = <password found in lastpass> `
Set the permissions on the .pypirc file.
` chmod 600 ~/.pypirc `
From the library’s project root directory upload the newest version of the library to PyPI. Be sure the attainia_django_extensions/__version__.py reflects the correct version to be uploaded.
` python3 setup.py upload `
Release files for attainia-django-extensions 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| attainia_django_extensions-0.6.1.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| attainia_django_extensions-0.6.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 25.9 kB
Release files / attainia_django_extensions-0.6.1.tar.gz
| Download URL | attainia_django_extensions-0.6.1.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83350625572f98473a5419bb9b95f32c4cc2d7515a01fb8aae48fa7cde8ea9d7
|
|
BLAKE2b-256 checksum How to use checksums |
40533cb75a29f53890bce2f8d545a489ac4b9823b7095720295e675da10773af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / attainia_django_extensions-0.6.1-py2.py3-none-any.whl
| Download URL | attainia_django_extensions-0.6.1-py2.py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e729b4e2eec9178d9a23fd97169bcd35935db65012e6148d7fcda127be929287
|
|
BLAKE2b-256 checksum How to use checksums |
ee7574f30e0b5d18e36a6fcd1d38aaeb55c9b5878e9725a2e66b9e4783f6949c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |