Skip to main content

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

Project description

"Create, Read, Update, Delete"s

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

CRUDs is a high level library for API's, and is ideal for automated data processing and interactive environments like Notebooks.

>>> import cruds
>>>
>>> catfact_ninja = cruds.Client(host="https://catfact.ninja/")
>>>
>>> data = catfact_ninja.read("fact")
>>> type(date)
<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 with a bearer token, username & password, or OAuth2 (Beta)
  • Data serialization/deserialize (Only JSON format)
  • Request parameters as Dictionaries and automatically URL encoded
  • Default connection timeout (300 seconds)
  • Raises exceptions on bad status codes (Can be white listed)
  • Retries with back-off
  • SSL Verification
  • Logging for monitoring
  • Interfaces (SDK Creation)

Installation

To install a stable version use PyPI.

$ pip install cruds

Documentation

For more information about how to use CRUDS, please visit Read the Docs.

License

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

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cruds-1.3.0.tar.gz (27.5 kB view hashes)

Uploaded Source

Built Distribution

cruds-1.3.0-py3-none-any.whl (30.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page