Python library enhanced with a wide range of functions for different scenarios.
Project description
This library allows the utilization of different utility functions for different scenarios.
Main utils:
time
string
data_structures
db
django
math
exception
choices
Quick start
Import wanted function like this:
from python_utils.time import date_range date_range(start_date, end_date)
Although the library provides some utility functions related to other libraries like django, it does not install any dependencies automatically. This means, you can install the library even if you do not use these libraries, but keep in mind that in this case you cannot use the functions that depend on them.
You can also chose to install the dependencies alongside the library, including the library in the requirements in the form:
cardo-python-utils[django]
Tests
The library has a high coverage by tests. If you want to see tests in action:
Inside venv, run pip install -r tests/requirements.txt
Run tests via pytest command
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cardo_python_utils-0.5.9.tar.gz.
File metadata
- Download URL: cardo_python_utils-0.5.9.tar.gz
- Upload date:
- Size: 52.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b57d14c5a98cbd0bd765649f7500c8d535dae9a633e8c90e721580b16694ad8d
|
|
| MD5 |
67d472c0a9265e9c45ee0d605788efb7
|
|
| BLAKE2b-256 |
e0d8839e6a39e4c37ce35936bf4d4f3dc5265856496273c578986f9c8b7bc749
|
File details
Details for the file cardo_python_utils-0.5.9-py3-none-any.whl.
File metadata
- Download URL: cardo_python_utils-0.5.9-py3-none-any.whl
- Upload date:
- Size: 70.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a319d4fcb9b3792bfa415f696cd3b143c8111e13757ea00fced7d76edbf97b
|
|
| MD5 |
74486e903f93cbca543982b2dbdeeb30
|
|
| BLAKE2b-256 |
54b43ecccc5b01698e411938012ca4248852560799635ac3a955b3770877c2ed
|