CRUDs is a high level library for API's, and is ideal for automation system and/or interactive environments like Notebooks


Keywords
rest, api, crud, http, https, planhat, backend, crud-operation, notebooks
License
MIT
Install
pip install cruds==1.3.0

Documentation

"Create, Read, Update, Delete"s

PyPI - Version Supported Python Version Development Quality Gate Status Documentation Status

CRUDs is a high level client library for APIs written in Python, and is ideal for back-end communication, automated data processing, and interactive environments like Notebooks.

>>> import cruds
>>>
>>> catfact_ninja = cruds.Client("https://catfact.ninja/")
>>>
>>> data = catfact_ninja.read("fact")
>>> type(date)  # Python built-in data types you can use instantly!
<class 'dict'>

Make Create, Read, Update and Delete operations quickly, easily, and safely. CRUDs aims to handle the majority of the setup needed for production so you can focus on moving data.

Features:

  • Authentication: Username & Password, Bearer Token or OAuth2
  • JSON Serialization/Deserialization
  • Request parameters and automatically URL encoded
  • Default connection timeout (5 minutes)
  • Raises exceptions on bad status codes
  • Retries with back-off
  • SSL Verification
  • Logging for monitoring
  • Interfaces (SDK Creation)

Installation

To install a stable version use PyPI.

$ pip install cruds

Documentation

Whether you are an data engineer wanting to retrieve or load data, a developer writing software for the back-of-the-front-end, or someone wanting to contribute to the project, for more information about CRUDs please visit Read the Docs.

License

CRUDs is released under the MIT License. See the bundled LICENSE file for details.

Credits