cpacspy
cpacspy is a Python package which could be used to read, write and analyse CPACS aerodynamics data. It simplify the handling of AeroMaps.
CPACS is a Common Parametric Aircraft Configuration Schema. It is a data definition for the air transportation system which is developed by the German Aerospace Center DLR. CPACS enables engineers to exchange information between their tools.
AeroMaps contains aerodynamic coefficients and derivatives for a specific set of aerodynamic and configurative boundary conditions.
Installation
cpacspy depend mainly in DLR libraries TIXI and TIGL, they must be installed on your computer to use cpacspy. The easiest way to do so, is to use a Conda environment, to create one:
-
Install Anaconda or Miniconda if you don't already have one of them installed.
-
Clone this repository and create a Conda environment with the following commands:
git clone https://github.com/cfsengineering/cpacspy.git
cd cpacspy
conda env create -f environment.yml
conda activate cpacspy_env
- When it is done or if you already have TIXI and TIGL install on your computer:
pip install cpacspy
How to use this package
To see how to use this module, check out:
- Python file with examples of useage: cpacspy_use.py
- Jupyter Notebook with examples of useage: cpacspy_use.ipynb
For developers
To build and install locally
cd cpacspy
python -m build
pip install --user .
To run tests locally
cd cpacspy
./run_ci.sh
It should run:
- Black
- Flake8
- Pytest
- Codecov
License
License: Apache-2.0
Metadata
Release files for cpacspy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cpacspy-0.2.0.tar.gz | 27.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cpacspy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.4 kB
Release files / cpacspy-0.2.0.tar.gz
| Download URL | cpacspy-0.2.0.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7e7384e470f1734ca09991fb9042bfdff8af8328dd16d8ca0a6a020fc8ff9ea
|
|
BLAKE2b-256 checksum How to use checksums |
e95e50e5941fbe3e031f2b7cbca3ee017ff2db137f72211d510fe13793fa211d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.7
|
Release files / cpacspy-0.2.0-py3-none-any.whl
| Download URL | cpacspy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6b46ab6539995e385463b165a330b400cc3d580c165aa77de498c8580ee0892
|
|
BLAKE2b-256 checksum How to use checksums |
d4d7682a7fe43f4201f2e9ab5d4672c3006019b572eb458a1970c6003cacc8e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.7
|