Skip to main content

PyPI package to work with CPACS file and AeroMaps

Project description

Pypi version Pytest status Codecov License Black code style

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:

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

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

cpacspy-0.2.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpacspy-0.2.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file cpacspy-0.2.0.tar.gz.

File metadata

  • Download URL: cpacspy-0.2.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.7

File hashes

Hashes for cpacspy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f7e7384e470f1734ca09991fb9042bfdff8af8328dd16d8ca0a6a020fc8ff9ea
MD5 979f52593fc9d6eff3991f682177dcc9
BLAKE2b-256 e95e50e5941fbe3e031f2b7cbca3ee017ff2db137f72211d510fe13793fa211d

See more details on using hashes here.

File details

Details for the file cpacspy-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cpacspy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.7

File hashes

Hashes for cpacspy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6b46ab6539995e385463b165a330b400cc3d580c165aa77de498c8580ee0892
MD5 c924d7246d9953545f51c9c9ad682b39
BLAKE2b-256 d4d7682a7fe43f4201f2e9ab5d4672c3006019b572eb458a1970c6003cacc8e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page