Python library for handling Cacophony Project Thermal Video (CPTV) files


Keywords
video, compression
License
Apache-2.0
Install
pip install cptv==1.5.4

Documentation

python-cptv

Travis CI status

This is Python package provides for quick, easy parsing for Cacophony Project Thermal Video (CPTV) files. It works with Python 3 only.

See read.py and write.py for example usage.

For more details on the internals of CPTV files, see the specifications:

Installation

Installation from PyPI:

pip install cptv

Installation from source (use of a virtualenv is highly recommended):

pip install .

License

This software is licensed under the Apache License 2.0.

Releases

  • Update the version in setup.py and commit.
  • Ensure a Python 3 virtualenv is active.
  • Build the source distribution: python setup.py sdist --formats=zip
  • Build the generic Python 3 wheel: python setup.py bdist_wheel
  • Tag the release, for example: git tag -a v0.2.1 -m "0.2.1 release"
  • Push the tag to Github, for example: git push origin v0.2.1
  • Push the release to PyPI, for example: twine upload dist/cptv-0.2.1.zip wheelhouse/cptv-0.2.1*.whl

TODO: automate most of the above in CI