Controllers to create and modify Plaxis 2D and 3D models with enhanced functionalities.
Project description
plxcontroller
Controllers to create and modify Plaxis 2D and 3D models with enhanced functionalities.
This repository is created by CEMS BV.
Installation
To install a package in this repository run:
$ pip install plxcontroller
Contribution
Environment
We recommend developing in Python3.9 with a clean virtual environment (using virtualenv
or conda
), installing the requirements from the requirements.txt file:
Example using virtualenv
and pip
to install the dependencies in a new environment .env on Linux:
python -m venv .env
source .env/bin/activate
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .
Format
We format our code with black and isort.
black --config "pyproject.toml" src/plxcontroller tests notebooks
isort --settings-path "pyproject.toml" src/plxcontroller tests notebooks
Lint
To maintain code quality we use the GitHub super-linter.
To run the linters locally, run the run_super_linter.sh
bash script from the root directory.
UnitTest
Test the software with the use of coverage:
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .
coverage run -m pytest
Requirements
Requirements are autogenerated by the pip-compile
command with python 3.9
Install pip-tools with:
pip install pip-tools
Generate requirements.txt file with:
pip-compile --extra=test --extra=lint --output-file=requirements.txt pyproject.toml
Update the requirements within the defined ranges with:
pip-compile --upgrade --extra=test --extra=lint --output-file=requirements.txt pyproject.toml
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 plxcontroller-0.8.0.tar.gz
.
File metadata
- Download URL: plxcontroller-0.8.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed2fa061877379a0e28ee5fba1740c3c82f9417ada5e43a58fb71a602e3bd42 |
|
MD5 | 9e904b9ca25a17b16dd990e76a74f306 |
|
BLAKE2b-256 | fde8bda95c5dd93f667dcdd595673617080b8d3b56012faf0531f3a0cb8dfec9 |
File details
Details for the file plxcontroller-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: plxcontroller-0.8.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66edeccbacbfa59fd380256f93bbc50de24e04548aaad9cb8e9d94ce3d7ce5a1 |
|
MD5 | b8d1045d4b5222d58ece4d4b286f5082 |
|
BLAKE2b-256 | 91f47fe27374c1dbb213fff095fe286bf5472251178d5367c6b642e97bb55aad |