Skip to main content

Pipeline Status Pypi Version Pypi Version Pypi Version

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

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.1.2.post113

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ujotypes 0.1.2.post113
File Interpreter ABI Platform
ujotypes-0.1.2.post113-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
ujotypes-0.1.2.post113-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
ujotypes-0.1.2.post113-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 295.8 kB

Release files / ujotypes-0.1.2.post113-cp37-cp37m-win_amd64.whl

Download URL ujotypes-0.1.2.post113-cp37-cp37m-win_amd64.whl
Size 55.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
07435aa97fe61d4733dc4dad1f07c8a2eb32532930f773597b6852c4571715e0
BLAKE2b-256 checksum
How to use checksums
5be3cfb99966710e0e971ab8560881d173df27511891a7823065ab14a5d049f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.0

Release files / ujotypes-0.1.2.post113-cp37-cp37m-manylinux2010_x86_64.whl

Download URL ujotypes-0.1.2.post113-cp37-cp37m-manylinux2010_x86_64.whl
Size 120.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
2fb26e272b9a3c883126f646fe979977bd852f89058ff5cbb7f9d8783b318777
BLAKE2b-256 checksum
How to use checksums
e3211498fc20d58b39eab4b41b31ee3b9d3a607024443d5655bae1e294b0f382
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release files / ujotypes-0.1.2.post113-cp37-cp37m-manylinux1_x86_64.whl

Download URL ujotypes-0.1.2.post113-cp37-cp37m-manylinux1_x86_64.whl
Size 120.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a53f229d766de209f7d7cdef26006f15230fb1a56afd8118150d686f20f4c56c
BLAKE2b-256 checksum
How to use checksums
ae713622b9f06f56b5efb09ce72d090cc0afa01daa31217a602349101128a68f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page