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
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
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
File details
Details for the file cruds-1.3.4.tar.gz
.
File metadata
- Download URL: cruds-1.3.4.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d585428711ddca9ae3cdb73626b78162602dc9c22fc59d5cd58389a8ce5c19c |
|
MD5 | 1c5084cde8e6f2bf75fa8067dc62b51d |
|
BLAKE2b-256 | 2034561bc573c28d622c6e3c6da427bcede3521b757001f7bb4da7a6ae667aaf |
Provenance
The following attestation bundles were made for cruds-1.3.4.tar.gz
:
Publisher:
release.yml
on johnbrandborg/cruds
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cruds-1.3.4.tar.gz
- Subject digest:
0d585428711ddca9ae3cdb73626b78162602dc9c22fc59d5cd58389a8ce5c19c
- Sigstore transparency entry: 146407931
- Sigstore integration time:
- Predicate type:
File details
Details for the file cruds-1.3.4-py3-none-any.whl
.
File metadata
- Download URL: cruds-1.3.4-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6caa13925ba069c865f1f3701ccb28ede23a3be6e7d25f41aa78de68ff44095d |
|
MD5 | dc09d82761d3aa764228496c35973998 |
|
BLAKE2b-256 | ddbe1f2cd128bcf666bc25249229c2793009efc52d0f9b34e3b362e69125ac8e |
Provenance
The following attestation bundles were made for cruds-1.3.4-py3-none-any.whl
:
Publisher:
release.yml
on johnbrandborg/cruds
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cruds-1.3.4-py3-none-any.whl
- Subject digest:
6caa13925ba069c865f1f3701ccb28ede23a3be6e7d25f41aa78de68ff44095d
- Sigstore transparency entry: 146407934
- Sigstore integration time:
- Predicate type: