particlescv2
particlescv2 is a port of the Particles Python PyGame library PyIgniton for OpenCV2. The original PyIgntion files can be found at https://launchpad.net/pyignition
The original repository for particlescv2 is at: Github https://github.com/bunkahle/particlescv2
Setup the library by running setup_cython.py:
setup_cython.py build_ext --inplace
This will generate a compiled cythonized particlescv2.pyd (Windows) or particlescv2.so (Linux, Mac) from the file particlescv2.pyx. This is useful for speed and performance. particlescv2 seems to be even faster than the original PyGame library PyIgnition.
The library is pretty fast even if it is not compiled. The plain Python routine can be found in particlescv2.py.
Binary for Win-32 Python27
For convenience there is also the precompiled binary for Win-32 Python 2.7 included: particlescv2.pyd. Copy this file to Lib/site-packages directory and you are ready to go:
import particlescv2 ... your code
Examples
There are several examples for running the library in the Examples section.
Requirements
The code currently only runs under Python 2.7. Ports to Python 3 are welcome. If you want to compile the pyx file with cython you also need cython of course. The blist is required for running as well as numpy and opencv2. These libraries can easily be installed with
pip install numpy pip install blist pip install opencv-python
optionally pip install cython
opencv2 and numpy windows binaries and setup wheels can also be downloaded from Christoph Gohlkes Python page for windows: https://www.lfd.uci.edu/~gohlke/pythonlibs/
Changes
1.0 initial release for Python2
1.1 routine now also runs in Python3, removed old cv2 Syntax
License
Same license as PyIgntion: GNU GPL v3
Metadata
Release files for particlescv2 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| particlescv2-1.1.zip | 16.6 kB | Without provenance | Details for particlescv2-1.1.zip |
Release files / particlescv2-1.1.zip
| Download URL | particlescv2-1.1.zip |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e563ab42c98d0d51383ff1f629ac173331eec7609bbd1782afe361acb9ef9279
|
|
BLAKE2b-256 checksum How to use checksums |
2735840e250b95b7ba7f651019271b1f60db80f712f6a4209a643f80571a958c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.12
|
Security for particlescv2 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.