Skip to main content

OpenCAL core library for Python

Project description

Copyright (c) 2008-2024 Jérémie DECOCK <jd.jdhp@gmail.com> (www.jdhp.org)

Table of Contents

Description

OpenCAL core library for Python

Note:

This project is still in beta stage, so the API is not finalized yet.

Dependencies

OpenCAL requires Python 3.11 (or newer) and Python packages listed in the requirements.txt file.

Installation (development environment)

Posix (Linux, MacOSX, WSL, …)

From the OpenCAL source code:

conda deactivate         # Only if you use Anaconda...
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt

Windows

From the OpenCAL source code:

conda deactivate         # Only if you use Anaconda...
python3 -m venv env
env\Scripts\activate.bat
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt

Installation (production environment)

pip install opencal

Documentation

Build and run the Python Docker image

Build the docker image

From the OpenCAL source code:

docker build -t opencal:latest .

Run unit tests from the docker container

From the OpenCAL source code:

docker run opencal pytest

Run an example from the docker container

From the OpenCAL source code:

docker run opencal python3 /app/examples/hello.py

Bug reports

To search for bugs or report them, please use the OpenCAL Bug Tracker at:

https://gitlab.com/opencal/opencal-lib-python/issues

License

This project is provided under the terms and conditions of the MIT License.

Project details


Download files

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

Source Distribution

opencal-4.0.2.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencal-4.0.2-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file opencal-4.0.2.tar.gz.

File metadata

  • Download URL: opencal-4.0.2.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for opencal-4.0.2.tar.gz
Algorithm Hash digest
SHA256 738999182907644ef17a403b74fcebcb6a62dbd3fba8eba59c7c9fad448520d8
MD5 981b16603d1e987426a2ca391d3abb4d
BLAKE2b-256 088aa653e2f1b81751c205e141f689f5dc7a31759229b9d41f9f104dbbc83201

See more details on using hashes here.

File details

Details for the file opencal-4.0.2-py3-none-any.whl.

File metadata

  • Download URL: opencal-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for opencal-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 442b78e98d46b2d7a034969c471a4278fd7d6b8dc155dae8224986f99457a807
MD5 dd602d447468bf37cf47d2585e39ca46
BLAKE2b-256 e2e5af790340700e2335b67ae7a6acee65ad6b0586977d45ca154379d58d8282

See more details on using hashes here.

Supported by

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