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

Uploaded Source

Built Distribution

opencal-3.8.2-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencal-3.8.2.tar.gz
  • Upload date:
  • Size: 20.5 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.2.tar.gz
Algorithm Hash digest
SHA256 a0f536c85eae61861264efc345eaedc4ab81ab96b5139b4c73e2ee7a52a60232
MD5 ad99fa205af928994d6069fb2468c5f4
BLAKE2b-256 a8099fb32f0400e6f008993fa65987c705a83b85df550a3c75b9cbd88ec2adb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencal-3.8.2-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8731d7f12263f0c9b1c1b51b7a57704c011894be1ea4995ed0d8d4b4e00a0244
MD5 d769d35aa7249d8f4e8ceaaf218dca83
BLAKE2b-256 495656bacdbb178cfb0999ae03fcb5cd939aadf839df6113dee3a1cb6de64012

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