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

Uploaded Source

Built Distribution

cpacspy-0.1.8-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cpacspy-0.1.8.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for cpacspy-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e531fcaecb17524f46540dd62ded0dfde54026126fe30d6f73ef2b38d3e26564
MD5 8d0f43d863070ef23e3f8d931dad594b
BLAKE2b-256 1f92062eda9beec60b452c6f89a00fbcae118f63a3e19b4b496bc999a8b1bf17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpacspy-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for cpacspy-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 db967d6dfd7bbd959ecaa6f7d4b2d83e6c2a7f61255181db0ec7d06991dce655
MD5 6070e484bce44de53d1d1b0702fb99b5
BLAKE2b-256 6d4f51e11df0b04cc41a5862dcdc35cd6a4dfe0e60d666e8407f72f65ff76bcf

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