Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

numpy + sympy implementation of tensor fields with attached coordinate systems

Project description

# Installation
## Requirements
* python versions >=2.7 or >=3.0
## PyPI
From user side, we recommend the installation via PyPI:
pip install w7x
In this process all dependencies are resolved automatically.

## Git
If you want to keep on track very tightly to the project and or want to support development, clone the git to your <favourite_directory> and set the $PYTHONPATH variable.
cd favourite_directory
git clone # clone the repository
git submodule update --init --recursive # also clone all submodules (developer tools only. The code can run without this step.)
echo 'export PYTHONPATH=$PYTHONPATH:</path/to/my/facvourite_directory/w7x>' >> ~/.bashrc # permanently set the $PYTHONPATH variable
source ~/.bashrc # make the PYTHONPATH change active

# Developers only:
## Testing and Coverage:
This code is tested. New versions are only published, if the code coverage lies above 80% with no failing unit test.
If you want to check any of this, you have to download the code via git (see above)
In the tfields directory, run
make test

To check the coverage, run
make coverage

## Git Hooks
To set up the shared git hooks, run
make init

## Publishing to PyPI
Publishing new versions of the code:
*Change the version number in tfields/
*Then run
make publish

# About
This library is in active development. We are still in alpha status but things are progressing fast. If you wish to get an idea, what this library is capable of, have a look in tfields/ e.g. the Tensors class and read the Examples (all doctests included in unittesting). Also tfields/ could be an interesting point to start if you would like to work with 3D meshes.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tfields, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size tfields-0.1.4.tar.gz (68.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page