Python scripts able to generate easily CB-Geo mpm input files
Project description
PyCBG is a python module able to generate CB-Geo MPM's input files.
Install PyCBG
From PyPI
The last upload of PyCBG on PyPI can be simply installed using pip
:
python3 -m pip install pycbg
Installation automatically includes the following dependencies:
numpy
gmsh
pandas
matplotlib
versioneer
sphinx
(at least version3.3.1
)sphinx_rtd_theme
Directly from the package
If you want to install a specific version of PyCBG (e.g. the most recent one), you can download the package and install it with pip
.
Downloading PyCBG
You can download the package with git
:
git clone git@forgemia.inra.fr:mpm-at-recover/pycbg.git
Alternativly, you can download it manually from ForgeMia.
Installing PyCBG
From the root of the pycbg
directory (the one you just downloaded), type the following command:
python3 -m pip install -e .
Documentation
On ReadTheDocs
The latest build of the documentation at ReadTheDocs is available online here. If nothing appears under Classes overview
left of your screen, please reload the page (this is probably a small bug on ReadTheDocs).
Local build
The documentation can also be built locally using sphinx
. From the root of PyCBG, run the following command:
sh build_doc.sh
This will execute a bash script that builds the documentation in a folder named pycbg_doc
, located in the same directory as pycbg.
The documentation can then be accesed by opening pycbg_doc/_build/html/index.html
in your browser.
The pycbg_doc folder name can be modified if necessary when executing the bash script:
sh build_doc.sh my_folder_name
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 pycbg-1.1.6.tar.gz
.
File metadata
- Download URL: pycbg-1.1.6.tar.gz
- Upload date:
- Size: 11.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224741adf35eae429d27ff33e8f61f9e1a614ed6ce51514fc84bde838d70f533 |
|
MD5 | ac44b2489a109099677a78615e1694d1 |
|
BLAKE2b-256 | 252cc777893e79d0616704f0f6e9fa91fb2c068b833c81e3763784b6dab49154 |
File details
Details for the file pycbg-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: pycbg-1.1.6-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24130d9e6d163af81a6c5cb9d18890c4fc1cc5127f5bce489c46850a753b140 |
|
MD5 | b286f720b58a35e8c9e60805304c1c51 |
|
BLAKE2b-256 | 0b9388972540f1985e3fc2611180588403b671c64379fc71481c92f09fb9b56f |