OpenCAL core library for Python
Project description
Copyright (c) 2008-2024 Jérémie DECOCK <jd.jdhp@gmail.com> (www.jdhp.org)
Online documentation: https://opencal.gitlab.io/opencal-lib-python
Source code: https://gitlab.com/opencal/opencal-lib-python
Issue tracker: https://gitlab.com/opencal/opencal-lib-python/issues
Pytest code coverage: https://opencal.gitlab.io/opencal-lib-python/htmlcov/index.html
OpenCAL on PyPI: https://pypi.org/project/opencal
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
Online documentation: https://opencal.gitlab.io/opencal-lib-python
API documentation: https://opencal.gitlab.io/opencal-lib-python/api.html
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:
License
This project is provided under the terms and conditions of the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f536c85eae61861264efc345eaedc4ab81ab96b5139b4c73e2ee7a52a60232 |
|
MD5 | ad99fa205af928994d6069fb2468c5f4 |
|
BLAKE2b-256 | a8099fb32f0400e6f008993fa65987c705a83b85df550a3c75b9cbd88ec2adb6 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8731d7f12263f0c9b1c1b51b7a57704c011894be1ea4995ed0d8d4b4e00a0244 |
|
MD5 | d769d35aa7249d8f4e8ceaaf218dca83 |
|
BLAKE2b-256 | 495656bacdbb178cfb0999ae03fcb5cd939aadf839df6113dee3a1cb6de64012 |