Skip to main content

A package with basic stuff.

Project description

Jara means bear in Sesotho.

Python 3.11.x Flake8 Poetry

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jara_utils-1.2.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

jara_utils-1.2.1-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

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