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
Metadata
Release files for ujotypes 0.2.134
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ujotypes-0.2.134-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 | Details |
| ujotypes-0.2.134-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 | Details |
Total release size: 235.3 kB
Release files / ujotypes-0.2.134-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
| Download URL | ujotypes-0.2.134-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 117.7 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
fccf34e13dd39fd98c41edd8d8b75c8adf55dca8b8571411aa27302b5dbe5ee0
|
|
BLAKE2b-256 checksum How to use checksums |
dfa9c2206173654b26bf22db859856012428edc4b98f7c5ed4d979b689644764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / ujotypes-0.2.134-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
| Download URL | ujotypes-0.2.134-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 117.5 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
7dbdec1d1434311865ba844da51a2f72d1abe8cf9e5412626c2ce2bb4c60aecd
|
|
BLAKE2b-256 checksum How to use checksums |
efb0a80c5fe47a059bf2c5f3a9a121420f56588ba5dc5f4f5f9bdc2309c0121e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|