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 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

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.9.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

cruds-1.3.9-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file cruds-1.3.9.tar.gz.

File metadata

  • Download URL: cruds-1.3.9.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cruds-1.3.9.tar.gz
Algorithm Hash digest
SHA256 88cfe8f9055c4fa124190e988db653e6ce3c47efe83d3594ef35ac8160dbef9c
MD5 f5ad878af2af02ad08e287d04d942660
BLAKE2b-256 8273500c826a9a51845a524e186db1e8789ccb6a58be2482adc4f24402171480

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruds-1.3.9.tar.gz:

Publisher: release.yml on johnbrandborg/cruds

Attestations:

File details

Details for the file cruds-1.3.9-py3-none-any.whl.

File metadata

  • Download URL: cruds-1.3.9-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cruds-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c9cecd9e282481b0b4baf6071fd085885a61a334a0e394c65a135310fba6f5
MD5 f47ccc00b4748394230011f7ac80f215
BLAKE2b-256 e8e0aff60cc5b95082e8b02f4ebbbded14763be63a08bfde6e17ffcb1e8caa6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruds-1.3.9-py3-none-any.whl:

Publisher: release.yml on johnbrandborg/cruds

Attestations:

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