Skip to main content

Ujo Types for PythonPython wrapper for the ujotypes-c libraray for inmemory handling of UJO container objects

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ujotypes-0.1.2.post109-cp37-cp37m-win_amd64.whl (55.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

ujotypes-0.1.2.post109-cp37-cp37m-manylinux2010_x86_64.whl (120.1 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

ujotypes-0.1.2.post109-cp37-cp37m-manylinux1_x86_64.whl (120.1 kB view details)

Uploaded CPython 3.7m

File details

Details for the file ujotypes-0.1.2.post109-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: ujotypes-0.1.2.post109-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 55.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for ujotypes-0.1.2.post109-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 73174f8b07ccb2c2d897d6d395b97f82db9c3dc8023afe5afffe42f2c4229bde
MD5 8839a0cf408df3b3928b4e62d5e049f0
BLAKE2b-256 d56dcfa4b51ee77cb7f3f3cc6c0b2959db3409ab7af19bb89edd73eb00fbadff

See more details on using hashes here.

File details

Details for the file ujotypes-0.1.2.post109-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: ujotypes-0.1.2.post109-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 120.1 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for ujotypes-0.1.2.post109-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5c6af536e39cc48c5a3b612fc5e888f60bf300fb6da25691a985083ca292956a
MD5 5b9f6cbcc0f3d2658dba0bc6c7e2cb67
BLAKE2b-256 6dbf10a06d2f47216cb0cacca76b30e49ae5882d5735a72ea3195acf7838222a

See more details on using hashes here.

File details

Details for the file ujotypes-0.1.2.post109-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: ujotypes-0.1.2.post109-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 120.1 kB
  • Tags: CPython 3.7m
  • Uploaded using 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

File hashes

Hashes for ujotypes-0.1.2.post109-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 60b3e68172deebf77e356fd3cf4ea0cdaa03eccd3714623f2f99313bbbd3e85c
MD5 abdbdef585306ee5501d6bc7b4fad808
BLAKE2b-256 86b0a9ffd8aa210ca72144f61cf0645fcacabab2b4f9f3763f23a9dd50803493

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page