Python version of the OpenPTV library
Project description
openptv-python
Python version of the OpenPTV library - this is a work in progress
How this is started
This work started from the https://github.com/OpenPTV/openptv/tree/pure_python branch. It's a long-standing idea to convert all the C code to Python and now it's possible with ChatGPT to save a lot of typing time.
This repo is created using a cookiecutter and the rest of the readme describes the way to work with this structure
Quick Start
>>> import openptv_python
Workflow for developers/contributors
For the best experience create a new conda environment (e.g. DEVELOP) with Python 3.10:
conda create -n openptvpy -c conda-forge python=3.10
conda activate openptvpy
Before pushing to GitHub, run the following commands:
- Update conda environment:
make conda-env-update
- Install this package:
pip install -e .
- Sync with the latest template (optional):
make template-update
- Run quality assurance checks:
make qa
- Run tests:
make unit-tests
- Run the static type checker:
make type-check
- Build the documentation (see Sphinx tutorial):
make docs-build
License
Copyright 2023, OpenPTV consortium.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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.
Source Distributions
Built Distribution
File details
Details for the file openptv_python-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: openptv_python-0.0.1-py3-none-any.whl
- Upload date:
- Size: 93.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 357aee4462cbe95359c9179b9e66d7401013d2680631d969dae03f75d36ee954 |
|
MD5 | 3cf63e379d80b0404d610d340f93bc14 |
|
BLAKE2b-256 | 5320381f5a3ebe26c398c4efc5350be9bc7e7a44c0d083be5c1895610c610fc9 |