Ujo Types for PythonPython wrapper for the ujotypes-c libraray for inmemory handling of UJO container objects
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.
Installing the extension
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
We value code quality and ask you to check your code with pylint and flake8 before making a merge request.
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/
You can run flake 8 with:
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ujotypes-0.1.2.post106-cp37-cp37m-manylinux1_x86_64.whl (118.4 kB)||File type Wheel||Python version cp37||Upload date||Hashes View hashes|
|Filename, size ujotypes-0.1.2.post106-cp37-cp37m-manylinux2010_x86_64.whl (118.4 kB)||File type Wheel||Python version cp37||Upload date||Hashes View hashes|
Hashes for ujotypes-0.1.2.post106-cp37-cp37m-manylinux1_x86_64.whl
Hashes for ujotypes-0.1.2.post106-cp37-cp37m-manylinux2010_x86_64.whl