Skip to content

ontruck/pyontruck

Repository files navigation

pyontruck

https://user-images.githubusercontent.com/4689706/77090966-3504a180-6a08-11ea-8cfb-7ac145d65d43.png

Build status Coverage status Documentation Status BSD License

Django extended by Ontruck-ers

Documentation

The full documentation is at https://pyontruck.readthedocs.io.

Quickstart

Install pyontruck:

pip install pyontruck

Features

  • Context manager to edit dict
  • Retry decorator
  • Sequence utils
  • Time utils

Running Tests

Does the code actually work?

Prepare test env

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements/test.txt

Run tests

(myenv) $ make test

Run tests in several python versions using tox

(myenv) $ make test-all

Run tests getting code coverage

(myenv) $ make coverage

Generate documentation

(myenv) $ pip install -r requirements/dev.txt
(myenv) $ make docs

About

Ontruck utils for our Python projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published