Frontend and recording management pipeline for the Motion video motion detection project
Project description
Frontend and recording management pipeline for the Motion video motion detection project
Introduction
TBD.
Requirements
- Python 3.4+ (currently tested with 3.4, 3.5, 3.6)
- Python VirtualEnv and pip (recommended installation method; your OS/distribution should have packages for these)
Installation
It’s recommended that you install into a virtual environment (virtualenv / venv). See the virtualenv usage documentation for information on how to create a venv.
pip install python-package-skeleton
Configuration
Something here.
Usage
Something else here.
Bugs and Feature Requests
Bug reports and feature requests are happily accepted via the GitHub Issue Tracker. Pull requests are welcome. Issues that don’t have an accompanying pull request will be worked on as my time and priority allows.
Development
To install for development:
- Fork the python-package-skeleton repository on GitHub
- Create a new branch off of master in your fork.
$ virtualenv python-package-skeleton $ cd python-package-skeleton && source bin/activate $ pip install -e git+git@github.com:YOURNAME/python-package-skeleton.git@BRANCHNAME#egg=python-package-skeleton $ cd src/python-package-skeleton
The git clone you’re now in will probably be checked out to a specific commit, so you may want to git checkout BRANCHNAME.
Guidelines
- pep8 compliant with some exceptions (see pytest.ini)
- 100% test coverage with pytest (with valid tests)
Testing
Testing is done via pytest, driven by tox.
- testing is as simple as:
- pip install tox
- tox
- If you want to pass additional arguments to pytest, add them to the tox command line after “–”. i.e., for verbose pytext output on py27 tests: tox -e py27 -- -v
Release Checklist
- Open an issue for the release; cut a branch off master for that issue.
- Confirm that there are CHANGES.rst entries for all major changes.
- Ensure that Travis tests passing in all environments.
- Ensure that test coverage is no less than the last release (ideally, 100%).
- Increment the version number in python-package-skeleton/version.py and add version and release date to CHANGES.rst, then push to GitHub.
- Confirm that README.rst renders correctly on GitHub.
- Upload package to testpypi:
- Make sure your ~/.pypirc file is correct (a repo called test for https://testpypi.python.org/pypi)
- rm -Rf dist
- python setup.py register -r https://testpypi.python.org/pypi
- python setup.py sdist bdist_wheel
- twine upload -r test dist/*
- Check that the README renders at https://testpypi.python.org/pypi/python-package-skeleton
- Create a pull request for the release to be merged into master. Upon successful Travis build, merge it.
- Tag the release in Git, push tag to GitHub:
- tag the release. for now the message is quite simple: git tag -s -a X.Y.Z -m 'X.Y.Z released YYYY-MM-DD'
- push the tag to GitHub: git push origin X.Y.Z
- Upload package to live pypi:
- twine upload dist/*
- make sure any GH issues fixed in the release were closed.
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size motion_pipeline-0.1.0-py2.py3-none-any.whl (7.2 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size motion-pipeline-0.1.0.tar.gz (17.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for motion_pipeline-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c633ea580180d64bc95be972be95ae0b15ac0b9ab1c20792867dfa6cf025b5 |
|
MD5 | 94836bc85ecaf602365683376471ef2c |
|
BLAKE2-256 | b1b286905ae591aadf42bbbd91bb4c10279c2f1f6311df38f226d408a71045fa |