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
File details
Details for the file jara_utils-1.2.1.tar.gz
.
File metadata
- Download URL: jara_utils-1.2.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aeff5ba812efe8c9f70c09c016817fe74834bbd3a28724ce566e5cbb5feb1f1 |
|
MD5 | be7817cde9d9329bef895fe8bf752ac2 |
|
BLAKE2b-256 | 2bb69e208357f4c61eba0a32124d5b9a926289b8f53c0353fc4ca1c78c61d097 |
File details
Details for the file jara_utils-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: jara_utils-1.2.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17b0db9d1ab9e36628c658bc73aa077ec2ccdd2a0ebc418965dbf5fcce76107 |
|
MD5 | 948a2c130628bbf4436d0aa90f4c1a9d |
|
BLAKE2b-256 | 70ab0e2e0bdf8fe1900eb9ad5db7315837b0b50b23562d11edcb2027fe74b8ba |