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

Uploaded Source

Built Distribution

opencal-3.8.3-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencal-3.8.3.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for opencal-3.8.3.tar.gz
Algorithm Hash digest
SHA256 90a75b1db3194014648a73dc5c0edbf10c5fcd3892a9d72829537c372da9df0b
MD5 15da173327d0b6989560bf10428250d7
BLAKE2b-256 0a1fc5178d375e9aa28643533b4ac252132cd79472f4affc2baaf04561c0f62c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencal-3.8.3-py3-none-any.whl
  • Upload date:
  • Size: 48.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for opencal-3.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7c935cce82467dd59f4d653d869fe35be6c2eb8c6a0ba3eeda210c2920a4416c
MD5 fe12dfa24dd6090e688b93bac58eb542
BLAKE2b-256 e44adabc68e187bff8f6ef6ca8c39bc3b70a88c3ead07703d7f3ba15788c6193

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