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

This version

0.2.1

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.1.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

ocldev-0.2.1-py2.py3-none-any.whl (58.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: ocldev-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 27f452c43650b0f3a9ca044d0c6221da44c3bf876b601a5ed53ce8416e662b0f
MD5 fc0619842916a85e8157302bb6e0f963
BLAKE2b-256 18128b245f07fcdb2c6ebf725fab53c7075c53d1f35191dcf240d18353fe6dd0

See more details on using hashes here.

Provenance

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

Publisher: python-app.yml on OpenConceptLab/ocldev

Attestations:

File details

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

File metadata

  • Download URL: ocldev-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 58.5 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2af427da64c9ac9b943d7147706259e2921daedcad817ecfa63f79406082dee1
MD5 9aca148eaec360ce162092781f02e1b3
BLAKE2b-256 df0384edea58f40ae3fa409453b93fab37e4565156b155dbe732d222c41a9148

See more details on using hashes here.

Provenance

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

Publisher: python-app.yml on OpenConceptLab/ocldev

Attestations:

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