A package with basic stuff.
Project description
Jara means bear in Sesotho.
Why?
Sometimes I start a new project and I need to implement again same methods and after create tests for each method. This package will provide common methods like str_2_bool or other methods check README.rst for all methods available.
How to contribute to the package?
- Clone project locally and then:
Install all dependencies including the test and the dev oanes: poetry install -E test -D;
Do changes in the project;
Create unittests (please make sure you will keep coverage to 100%);
Run all sanity commands (pytest, flake8, mypy, bandit);
Check if there is any duplicated or dead fixtures by running pytest with --dead-fixtures and --dup-fixtures;
Note: Run commands using poetry: poetry run <command>;
What you will find in this package?
Basically will contain utils methods to avoid write them in all projects. Some examples:
decorator to benchmark methods;
methods to handle environment variables;
some utils methods such as: snake_2_camel, str_2_bool.
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
Hashes for jara_utils-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc61fe0cf49d0c5432f1b42ba4064cfce16435e93d3500ae60faaaee7c8db247 |
|
MD5 | 881bf00d1d9fb01aaf6cdf71df65f62a |
|
BLAKE2b-256 | 1496c22dcc2d9478c06b891377fd11e783dc1d200e3ebcce34dc0447f02852d8 |