Skip to main content

Package with useful functions for BI-SVZ coursework

Project description

Improutils

This repository contains Python library with useful helper functions for Machine vision and Image processing (BI-SVZ) coursework taught at FIT CTU. For more details, see main course page.

Deploy a new version

This repository uses GitLab CI/CD Pipelines to deploy improutils package either to production or test PyPI.

Deploy to production PyPI

  • Update version.py file with a new version number with respect to semantic versioning rules
  • Commit your local changes
    • git commit -m "Add awesome AI feature"
  • Create a tagged version based on version.py
    • git tag -a $(python3 setup.py --version)
  • Push tag to origin
    • git push --tags
  • Wait for the package to be deployed and then check new version at PyPI

Deploy to test PyPI

Almost same as above, but the push tag step must be skipped. Testing version is available at test PyPI.

Tests

You must run the tests from the improutils_package directory. An example command for running the test may be as follows:

python tests\test_preprocessing.py

Note: running the test from the tests directory itself will result in errors

Documentation

This project uses Sphinx for documentation. The documentation is available on Read the Docs.

Building documentation locally

pip install sphinx sphinx_rtd_theme
cd docs
make html

Browsing the documentation locally:

python3 -m http.server -d docs/html

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

improutils-1.2.0.tar.gz (21.7 kB view hashes)

Uploaded Source

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