Candango Peasant
Peasant is a protocol abstraction of how to control agents that need to communicate with a central entity or entities.
We define agents as peasants and central entities (bases) as bastions.
Peasant will define some transport definition to help developer with basic http methods (i.e. head, post, get, etc), and avoid code duplication. Security level and your business should be implemented.
A bastion/peasant relationship could be defined as stateful or not. If stateful it is necessary to implement a session control in the bastion where peasants need to perform knocks (as knock at the door) to get permission or a valid session. In a stateless case we just ignore any knock implementation.
What must be implemented in the protocol are nonce generation, consumption and validation on both sides. A directory list of available resources offered by a bastion for peasants to consume could also be useful to have.
Support
Peasant is one of Candango Open Source Group initiatives. Available under the Apache License, Version 2.0.
This website and all documentation are licensed under Creative Commons 3.0.
Copyright © 2020-2025 Flavio Garcia
Metadata
Release files for peasant 0.7.5
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 |
|---|---|---|---|---|
| peasant-0.7.5.tar.gz | 17.0 kB | Without provenance | Details for peasant-0.7.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| peasant-0.7.5-py3-none-any.whl | Python 3 | none | any | Details for peasant-0.7.5-py3-none-any.whl |
Total release size: 42.0 kB
Release files / peasant-0.7.5.tar.gz
| Download URL | peasant-0.7.5.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a0cf656f14854aa1d763b97d5fbb09cc88c4a506501005be4502ab7a936c45b
|
|
BLAKE2b-256 checksum How to use checksums |
2766a0ec5e43f92275598081475ff1036812d678fca6b67584e44549a9afb561
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / peasant-0.7.5-py3-none-any.whl
| Download URL | peasant-0.7.5-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7af9d317a730b352108e90c33636b3a2412056db183c324392e5296520abedd3
|
|
BLAKE2b-256 checksum How to use checksums |
2cf7dd894e95edb789f0569931f49c1ea11a6f277dedd56db7555db8a77617fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for peasant 0.7.5
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.