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 | |
|---|---|---|---|
| peasant-0.7.5.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| peasant-0.7.5-py3-none-any.whl | Python 3 | none | any | Details |
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
|