This release is a pre-release and may not be stable for production use.
huscy.data_protection
Requirements
- Python >= 3.10
- Django >= 4.2
- DRF >= 3.15
Installation
- Activate your python venv and simply run:
pip install huscy.data_protection
- Add
data_protectionand further required apps toINSTALLED_APPSin your settings module:
# settings.py
INSTALLED_APPS = [
...
'guardian',
'rest_framework',
'huscy.data_protection',
...
]
- Add Django Guardian ObjectPermissionBackend to AUTHENTICATION_BACKENDS
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'guardian.backends.ObjectPermissionBackend',
)
- Add the urls from
huscy.data_protectionto the central urls.py of the Django project:
urlpatterns = [
...
path('/api/', include('huscy.data_protection.urls')),
]
- Create
huscy.data_protectiondatabase tables by running:
python manage.py makemigrations
and
python manage.py migrate
API-Endpoints
You'll find the documentation about the endpoints here --> docs: api_endpoints
Automatically remove older Requests
Older Requests are automatically removed. For timeframe and configuration purposes read the documentation --> docs: scheduled jobs
Metadata
Release files for huscy.data-protection 0.4.0a10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| huscy_data_protection-0.4.0a10.tar.gz | 5.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| huscy_data_protection-0.4.0a10-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / huscy_data_protection-0.4.0a10.tar.gz
| Download URL | huscy_data_protection-0.4.0a10.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dca9c573598db7fb9d7db68855712ba2868e76c45860f6cedc509ed354e5622d
|
|
BLAKE2b-256 checksum How to use checksums |
af3cbfcc82104670ec088c1533aeeda32db7ab90791bae3cc2265c8d6ab22e03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / huscy_data_protection-0.4.0a10-py2.py3-none-any.whl
| Download URL | huscy_data_protection-0.4.0a10-py2.py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d9cc81c60ff2088e7e5972f094c0e58534f3c46e48c824bb43fc130268a36dd0
|
|
BLAKE2b-256 checksum How to use checksums |
4b8545c1e3a35134354885685bf15c96a6d1866aba3d586bf3351230f9da3de7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Security for huscy.data-protection 0.4.0a10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.