plxscripting
Python files required to interact with PLAXIS API. These files are created by Seequent/Bentley (owner of PLAXIS) and distributed as part of the PLAXIS installation. The goal of this repository is simply to store this files to ease the CEMS development pipeline.
Installation
To install simply run:
$ pip install plxscripting
Or for a particular version (e.g. 1.0.2):
$ pip install plxscripting==1.0.2
Compatibility tables between Plaxis program version and repo version
Each version of this repository is compatible with one (or more) versions of the PLAXIS 2D and 3D programs. Below you find two tables containing the known compatibilities, so you can install the version you need depending on the PLAXIS program you need to use.
| PLAXIS 2D Versions | Repository Version |
|---|---|
| PLAXIS 2D CONNECT Edition V22 Update 2 | 1.0.2 |
| PLAXIS 3D Versions | Repository Version |
|---|---|
| PLAXIS 3D 2023.2 | 1.0.4 |
Contribution
Developer's note
Every time a new PLAXIS version is released, a new version of the
plxscripting directory and the encryption.py file is released/included in
the PLAXIS installation. Theses files are typically located under a directory similar to:
C:\ProgramData\Seequent\PLAXIS Python Distribution V2\python\Lib\site-packages
where Seequent used to be named Bentley in the previous versions and V2
will have a different index.
The contribution of this repository restricts itself to:
- Copy the copy these files to
plxscriptingdirectory and theencryption.pyunder thesrcof this repository. - Make a new release using the same version as in the file
plxscripting\__version__.py. - Updating the compatibilty tables writter in the previous section.
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 .
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 --output-file=requirements.txt pyproject.toml
Update the requirements within the defined ranges with:
pip-compile --upgrade --extra=test --output-file=requirements.txt pyproject.toml
Metadata
Release files for plxscripting 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plxscripting-1.0.4.tar.gz | 85.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plxscripting-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 185.3 kB
Release files / plxscripting-1.0.4.tar.gz
| Download URL | plxscripting-1.0.4.tar.gz |
|---|---|
| Size | 85.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce38cb69dde9fd5876a920da5dfb4bf680e2d30503af8511e2c9ee091ac5cbdf
|
|
BLAKE2b-256 checksum How to use checksums |
2d1804631597e49b1d23a8df93651b9f85bae060beefba066da2e93332030935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / plxscripting-1.0.4-py3-none-any.whl
| Download URL | plxscripting-1.0.4-py3-none-any.whl |
|---|---|
| Size | 99.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ac2967c2e7455dd6a8952288b7c998dc9b44644bdf47281718c0fa9dad45b52
|
|
BLAKE2b-256 checksum How to use checksums |
71ae288beb551c18297eb48da3790983dd389ac4e6f3483870f956795a82a669
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|