peasant


Namepeasant JSON
Version 0.6.1 PyPI version JSON
download
home_pagehttps://github.com/candango/peasant
SummaryPeasant helps you to build APIs
upload_time2024-03-28 18:30:59
maintainerNone
docs_urlNone
authorFlavio Garcia
requires_python>=3.8
licenseApache License V2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](http://www.candango.org/projects/)
initiatives. Available under the
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).

This website and all documentation are licensed under
[Creative Commons 3.0](http://creativecommons.org/licenses/by/3.0/).

Copyright © 2020-2024 Flavio Garcia

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/candango/peasant",
    "name": "peasant",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Flavio Garcia",
    "author_email": "piraz@candango.org",
    "download_url": "https://files.pythonhosted.org/packages/62/c6/fe4f1ffd4ac52c5c99f533825c1e3313a91b3652504415874120fa750221/peasant-0.6.1.tar.gz",
    "platform": null,
    "description": "# Candango Peasant\n\nPeasant is a protocol abstraction of how to control agents that need to\ncommunicate with a central entity or entities.\n\nWe define agents as peasants and central entities (bases) as bastions.\n\nPeasant will define some transport definition to help developer with basic http\nmethods (i.e. head, post, get, etc), and avoid code duplication. Security level\nand your business should be implemented.\n\nA bastion/peasant relationship could be defined as stateful or not. If stateful\nit is necessary to implement a session control in the bastion where peasants\nneed to perform knocks (as knock at the door) to get permission or a valid\nsession. In a stateless case we just ignore any knock implementation.\n\nWhat must be implemented in the protocol are nonce generation, consumption and\nvalidation on both sides. A directory list of available resources offered by\na bastion for peasants to consume could also be useful to have.\n\n## Support\n\nPeasant is one of\n[Candango Open Source Group](http://www.candango.org/projects/)\ninitiatives. Available under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).\n\nThis website and all documentation are licensed under\n[Creative Commons 3.0](http://creativecommons.org/licenses/by/3.0/).\n\nCopyright \u00a9 2020-2024 Flavio Garcia\n",
    "bugtrack_url": null,
    "license": "Apache License V2.0",
    "summary": "Peasant helps you to build APIs",
    "version": "0.6.1",
    "project_urls": {
        "Homepage": "https://github.com/candango/peasant"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4879f6674a7bc55c948f6d57c380c1fb1db05da49ed556dd778cd7002af494f9",
                "md5": "fce906f467c81fcc79974853916b1403",
                "sha256": "d8f48ff2c9daa4a0fe0a46aa66c8ac9aab1fd27ca8b9046c7c270b473473a756"
            },
            "downloads": -1,
            "filename": "peasant-0.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fce906f467c81fcc79974853916b1403",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 16554,
            "upload_time": "2024-03-28T18:30:49",
            "upload_time_iso_8601": "2024-03-28T18:30:49.204146Z",
            "url": "https://files.pythonhosted.org/packages/48/79/f6674a7bc55c948f6d57c380c1fb1db05da49ed556dd778cd7002af494f9/peasant-0.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62c6fe4f1ffd4ac52c5c99f533825c1e3313a91b3652504415874120fa750221",
                "md5": "1eaf35e0e736db6645b0da22e247eb38",
                "sha256": "b77eb81f08c7696e98e406f61c876b01df61db550bac362e43aa0dea5af99d17"
            },
            "downloads": -1,
            "filename": "peasant-0.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "1eaf35e0e736db6645b0da22e247eb38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 12855,
            "upload_time": "2024-03-28T18:30:59",
            "upload_time_iso_8601": "2024-03-28T18:30:59.582185Z",
            "url": "https://files.pythonhosted.org/packages/62/c6/fe4f1ffd4ac52c5c99f533825c1e3313a91b3652504415874120fa750221/peasant-0.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-28 18:30:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "candango",
    "github_project": "peasant",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "peasant"
}
        
Elapsed time: 0.28436s