Skip to main content

Python development library for working with OCL resources and APIs

Project description

ocldev

Development library for working with OCL metadata and APIs

ocldev package is published to PyPi, which means you can easily install it with pip, eg:

pip install ocldev

These classes are implemented currently:

  • OclResourceList, OclCsvResourceList, OclJsonResourceList -
  • OclFlexImporter & OclBulkImporter - Used to import JSON resources into OCL
  • OclImportResults - Used to process the results of an import
  • OclExport & OclExportFactory - Used to fetch exports from OCL
  • OclCsvToJsonConverter - Used to convert CSV files to OCL-formatted JSON
  • OclValidator - Validates OCL-formatted JSON and CSV resources and resource lists

Deployment to PyPi

OCL's continuous integration service (Bamboo) offers two custom build plans to deploy the ocldev package to the test or the production PyPi servers. PyPi requires that the version number is unique in https://github.com/OpenConceptLab/ocldev/blob/master/setup.py#L8, otherwise PyPi will return an error. A user account is required to access OCL's CI service.

Development

Setup virtualenv with python3

Run tests:

python -m python -m unittest ocldev/tests/*.py

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 Distribution

ocldev-0.2.2.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

ocldev-0.2.2-py2.py3-none-any.whl (58.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ocldev-0.2.2.tar.gz.

File metadata

  • Download URL: ocldev-0.2.2.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ocldev-0.2.2.tar.gz
Algorithm Hash digest
SHA256 df6c5f01a1b8dc90974bbcab9185bf1150ca2920b0631657a16573d97ec4379c
MD5 5f486430513c3b48fc72aa5121f22220
BLAKE2b-256 8352e561f9de672eda8411dc8243ee95c387eefc61f786523442a9e3e12cd4ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocldev-0.2.2.tar.gz:

Publisher: python-app.yml on OpenConceptLab/ocldev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ocldev-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: ocldev-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 58.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ocldev-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 506dc747fdee1c1d9accd639988c2f5ab8fc7133d3940051520c4ff0b9b204b0
MD5 81752f1d79106ebcd82896dd5f224f85
BLAKE2b-256 9ca7633d4fc38f60be914f898d0f749edf7ec841503a0c744298fe10c93a8a87

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocldev-0.2.2-py2.py3-none-any.whl:

Publisher: python-app.yml on OpenConceptLab/ocldev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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