Metadata-Version: 2.1
Name: ptspy
Version: 0.0.3
Summary: Pts is a python package for visualization and creative coding. It's the python version of the popular [Pts.js](https://ptsjs.org) library.
Author: William Ngan
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Dist: skia-python>=87.5
Requires-Dist: numpy>=1.25.2
Requires-Dist: notebook ; extra == "dev"
Requires-Dist: matplotlib ; extra == "dev"
Requires-Dist: glfw[opengl]==2.6.2 ; extra == "dev"
Requires-Dist: PyOpenGL[opengl]==3.1.7 ; extra == "dev"
Requires-Dist: bandit[toml]==1.7.5 ; extra == "test"
Requires-Dist: black==23.3.0 ; extra == "test"
Requires-Dist: check-manifest==0.49 ; extra == "test"
Requires-Dist: flake8-bugbear==23.5.9 ; extra == "test"
Requires-Dist: flake8-docstrings ; extra == "test"
Requires-Dist: flake8-formatter_junit_xml ; extra == "test"
Requires-Dist: flake8 ; extra == "test"
Requires-Dist: flake8-pyproject ; extra == "test"
Requires-Dist: pre-commit==3.3.1 ; extra == "test"
Requires-Dist: pylint==2.17.4 ; extra == "test"
Requires-Dist: pylint_junit ; extra == "test"
Requires-Dist: pytest-cov==4.0.0 ; extra == "test"
Requires-Dist: pytest-mock<3.10.1 ; extra == "test"
Requires-Dist: pytest-runner ; extra == "test"
Requires-Dist: pytest==7.3.1 ; extra == "test"
Requires-Dist: pytest-github-actions-annotate-failures ; extra == "test"
Requires-Dist: shellcheck-py==0.9.0.2 ; extra == "test"
Project-URL: Documentation, https://github.com/williamngan/ptspy/tree/main#readme
Project-URL: Source, https://github.com/williamngan/ptspy
Project-URL: Tracker, https://github.com/williamngan/ptspy/issues
Provides-Extra: dev
Provides-Extra: test

# ptspy

ptspy is a python package for visualization and creative coding. It's the python version of the popular [Pts.js](https://ptsjs.org) library. It's currently under active development and not ready for use.

# Install

```
conda create -n ptspy python=3.11 pip numpy
pip install flit
flit install --symlink
```

#### Creating requirements.txt

```
pipreqs .
```

OR

```
(venv) $ python -m pip install pip-tools
(venv) $ pip-compile pyproject.toml
```

## Develop

Install as local package:

```
pip install -e .
```

## Tests and benchmarks

Tests all

```
pytest
```

Skip or only Benchmarks

```
pytest --benchmark-only
pytest --benchmark-disable
```

Note that the files and folders must have named with "test" prefix or suffix in order for `pytest` to run them.

## Differences from Pts.js

- For simplicity, angles are in degress, not radian.

---

## pyproject template

Based on this template: https://github.com/microsoft/python-package-template

