Skip to main content

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:

  1. Update conda environment: make conda-env-update
  2. Install this package: pip install -e .
  3. Sync with the latest template (optional): make template-update
  4. Run quality assurance checks: make qa
  5. Run tests: make unit-tests
  6. Run the static type checker: make type-check
  7. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

openptv_python-0.0.1-py3-none-any.whl (93.7 kB view details)

Uploaded Python 3

File details

Details for the file openptv_python-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openptv_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 357aee4462cbe95359c9179b9e66d7401013d2680631d969dae03f75d36ee954
MD5 3cf63e379d80b0404d610d340f93bc14
BLAKE2b-256 5320381f5a3ebe26c398c4efc5350be9bc7e7a44c0d083be5c1895610c610fc9

See more details on using hashes here.

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