Collect POST requests easily
Project description
succulent - Collect POST requests easily
About
succulent is a pure Python framework that simplifies the configuration, management, collection, and preprocessing of data collected via POST requests. The inspiration for the framework comes from the practical data collection challenges in smart agriculture. The main idea of the framework was to speed up the process of configuring different collected parameters and providing several useful functions for data transformations.
Detailed insights
The current version includes (but is not limited to) the following functions:
- Request URL generation for data collection
- Data collection from POST requests
Installation
pip
Install succulent with pip:
pip install succulent
Usage
Example
from succulent.api import SucculentAPI
api = SucculentAPI(host='0.0.0.0', port=8080, config='configuration.yml', format='csv')
api.start()
Configuration
In the root directory, create a file named configuration.yml
and define the following:
data:
- name: # Measure name
License
This package is distributed under the MIT License. This license can be found online at http://www.opensource.org/licenses/MIT.
Disclaimer
This framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!
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
Hashes for succulent-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52edead7ff276cd67f0dfb32e04b82635bfe5e37349f5f4c8b0604ea7a1a037b |
|
MD5 | 3e8750ab056d2107130dc6b97e6c27f0 |
|
BLAKE2b-256 | 19c06670d52cc94b22e05e67a8eb41fdc6e72f2991d55269c010ce5f8e3ee4fd |