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

Uploaded Source

Built Distribution

opencal-3.8.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencal-3.8.1.tar.gz
  • Upload date:
  • Size: 20.1 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.1.tar.gz
Algorithm Hash digest
SHA256 db7c91f876afab826c8b019c07dd7b8463d0fec069208433115a0ef4e1a7e448
MD5 18d0644dda63e2ad568af9117d5c93b5
BLAKE2b-256 da250a3aba9e3ed005d290a15c8b7d335eff8efd9e13970c1e01dd94c95ae278

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencal-3.8.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4281eb1cf611126b3b840d42e1c197dce7c2d4e1dd379e600780290fb6984ef0
MD5 3efcedb6eb5aefd59232e1e59b0869ca
BLAKE2b-256 8f27816dfeecfaebc3710ede6443789d4e8a94324b9fec9d19c0880ad9814659

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