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

Uploaded Source

Built Distribution

opencal-3.8.4-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencal-3.8.4.tar.gz
  • Upload date:
  • Size: 39.2 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.4.tar.gz
Algorithm Hash digest
SHA256 836ebec1ca90d25b7933f574322f5d3bd60fa2e2e7e5b0040a5915c6e60f2d08
MD5 51c91e01f86826bb42d9b72cdee15e95
BLAKE2b-256 6ee5aab6c7f216017cf8357061beb13196a4a4b1995341601134b7fc7cfcb863

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencal-3.8.4-py3-none-any.whl
  • Upload date:
  • Size: 48.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 912f1e09c083c6fba0bbf67d79b6c0b1c1680717b7328d916f78841d7d3d4777
MD5 1192e584ef19a2f79f9e21eeda05cf48
BLAKE2b-256 1184e5e9b291f8e2b7142cd7cdffe81f313193a0c2348a64c62339783d4d125d

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