Picsellia Services
Picsellia Services is a Python library that wraps connexions with Picsellia micro services.
Installation
Use the package manager pip to install picsellia-connexion-services.
pip install picsellia-connexion-services
Usage
JwtToken
from picsellia_connexion_services.jwt_service import JwtServiceConnexion
service = JwtServiceConnexion({'api_token': '<api_token>', 'deployment_id': '<deployment_id>'}, 'localhost:8000')
service.get(f'/deployment/{deployment_id}/stats')
Usage in mocked tests
from picsellia_connexion_services.mocked_service import MockedServiceConnexion
service = MockedServiceConnexion('test')
service.set_next_mocked_response("get", "/ping", JsonResponse({"ok" : True}, status=status.HTTP_200_OK))
service.get("/ping")
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for picsellia-connexion-services 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 | Provenance | Actions |
|---|---|---|---|---|
| picsellia_connexion_services-0.3.0.tar.gz | 5.2 kB | Without provenance | Details for picsellia_connexion_services-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| picsellia_connexion_services-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for picsellia_connexion_services-0.3.0-py3-none-any.whl |
Total release size: 14.4 kB
Release files / picsellia_connexion_services-0.3.0.tar.gz
| Download URL | picsellia_connexion_services-0.3.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0b50317da1ea8485256601c2daabd69b7341e6f883a33488dff4b82eccf85b3
|
|
BLAKE2b-256 checksum How to use checksums |
a252f737eed78ae464d9efc01ffd91e8cd19bfb8f40e5bf85dcce982e5359f87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.7 Linux/6.8.0-87-generic
|
Release files / picsellia_connexion_services-0.3.0-py3-none-any.whl
| Download URL | picsellia_connexion_services-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fb9530d497e8e824aebada4bc5ef22f23f27ae35a0122fae8d425f089b4391e
|
|
BLAKE2b-256 checksum How to use checksums |
6377d1006bd89a35a965747b9a2d4f73e0dc3491149bbf22356342ea21cc0789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.7 Linux/6.8.0-87-generic
|
Security for picsellia-connexion-services 0.3.0
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.