Ujo Types for PythonPython wrapper for the ujotypes-c libraray for inmemory handling of UJO container objects
Project description
This Python extension allows you to use the ujotypes-c library in Python. Use of ujotypes in Python is primairly through a class wrapper. Additionally you can access the native C-API functions if you have to.
Supported Python veriosn: 3.7.x up to 3.12.x
Installing the extension
The ujotypes extension is available on the Python Package Index (PyPi). The extension is available as a binary wheel for Linux x64 systems that are manylinux compatible and on Windows x64 systems.
To install it without having to build it yourself open a command line and run:
pip install ujotypes
Building the extension
Building the extensions requires a local compiler. When building on Windows you need to match the compiler of the Python version you want to build the extension for. A comprehensive listing is available in the pythondev documentation.
Also the ujotypes-c project needs to be cloned and built locally.
The standard build process for the ujotypes-py Python extension expects to find the directory of the ujotypes-c project to be next to the ujotypes-py directory. Should your clone of the ujotypes-c project be in a different location you will have to adjust the paths in the setup.py file.
To build and install open a command line and run:
python setup.py build
pip install .
Running Unit Tests
The ujotype-py project comes with a set of unittests. To run tests from the package root dir call:
python -m unittest discover test -v
Code Quality
We value code quality and ask you to check your code with pylint and flake8 before making a merge request.
pylint
Running pylint for the python code in this project the following commands are used:
pylint --rcfile=.pylintrc ./ujotypes/
pylint --rcfile=.pylintrc --disable=duplicate-code ./test/
flake8
You can run flake 8 with:
flake8
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 Distributions
Hashes for ujotypes-0.2.128-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5adbc5d204a132e15fdeea0b762ab6c070b71b0e2caa1b0e49d69b1b1040b4e2 |
|
MD5 | e8c509aef53410e481cfceefaeeea9b4 |
|
BLAKE2b-256 | 90880cadee83531b80a6afbdc817cdf107c5b73a1fa276ea1d2cf2e141212d9a |
Hashes for ujotypes-0.2.128-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac352c717c55198d966ecc4d4108352bfd9225a818252ea991b1f15547c22c6f |
|
MD5 | 260c9369c4503b280c944916a97e833f |
|
BLAKE2b-256 | 2fa81c04cf56800eddce42d587eb0108b746c4d445d1509ad8cd0d5efbd40cee |
Hashes for ujotypes-0.2.128-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84a38caa3a1dd6db8690e72aaf132f1b57a7f8f6c7aa84a58ddfd4a6c37f05e |
|
MD5 | 7662f9788f7882917fbc4da1ee116ba9 |
|
BLAKE2b-256 | e5fe7a326180527cfc8625954a39e2e5356bd68c64270a089be18f7764ab3c9e |
Hashes for ujotypes-0.2.128-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04bf791aa57cccc9bd01729b73955aea2093002aec9083d664d5eae0971943fc |
|
MD5 | 950e14adf4af259104716db222ed9d6b |
|
BLAKE2b-256 | f4ef53f5d689d20a30e639c0bd14966f6804d75ea79be2f0c337c2a41e2e4b27 |
Hashes for ujotypes-0.2.128-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d0d21967a081c0920721300d6d6c69ade5143ce22887440a4eb64814591202 |
|
MD5 | 4337c02e854c599c5d990801dc4ca4d2 |
|
BLAKE2b-256 | 5e46ab9cdafe36d2dd9ce6adb55ffa90d787cd2f266075d5b1c4b0a54b9de302 |
Hashes for ujotypes-0.2.128-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57676bc5cf587fddfba7cc3b839b4001f43cc12092f686fb9eec1e578d7ee6aa |
|
MD5 | 80cdfea2e637815f8acb4efa269bf38d |
|
BLAKE2b-256 | 55d99f3044e249cd7504a6873764bad4657a8fe96a782ea95f57044225f1c7b9 |