Peasant helps you to build APIs
Project description
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-2024 Flavio Garcia
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file peasant-0.7.4.tar.gz
.
File metadata
- Download URL: peasant-0.7.4.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15e544d4b9fa3b597625d98e98c7f671d288c1d663100ae3a2da49383cf087af |
|
MD5 | a98851593a093e79142b9fe80f3461be |
|
BLAKE2b-256 | 58ce2f6a92c5287ee0b65125b68305d8bb98d5db81c01e74aa9f00ea83cb824e |
File details
Details for the file peasant-0.7.4-py3-none-any.whl
.
File metadata
- Download URL: peasant-0.7.4-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8dc1896907cd0744455b6782becfcda338125f6c441ed20b612130e8bcf570a |
|
MD5 | a7198d64d3cb441efef9e69cc159c802 |
|
BLAKE2b-256 | fc8a045f17b67370c117676e2297cb08f8f9bd0043e4c4c6049bf70cb0bb3dd2 |