PORRAN
PORous structure RANdom generation. Can be used for substituting atoms in porous crystals like zeolites, or doping Metal-Organic Frameworks. Algorithms used for substitutions are based on the ZEORAN program [1].
Installation
Install with pip
The simplest way to install PORRAN is through pip, which automatically gets the source code from PyPI:
pip install porran
Install from source
It is also possible to install PORRAN directly from the source. This can be done using the commands bellow:
git clone https://github.com/marko-petkovic/porran.git
cd porran
pip install .
Getting started
More examples will follow in the future
Examples
- An example on using PORRAN to generate zeolite structures (MOR) with Al substitutions can be found here.
- Using PORRAN to generate MOFs functionalized with lithium-alkoxide: mofs_example.
Testing
PORRAN now uses a standard tests/ directory with pytest regression tests for core geometry and workflow behavior.
Install the test dependency and run the suite from the repository root:
pip install -e .[test]
pytest
References
[1] Romero-Marimon, P., Gutiérrez-Sevillano, J. J., & Calero, S. (2023). Adsorption of Carbon Dioxide in Non-Löwenstein Zeolites. Chemistry of Materials, 35(13), 5222-5231.
Metadata
Release files for porran 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| porran-0.1.1.tar.gz | 31.9 kB | Without provenance | Details for porran-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| porran-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for porran-0.1.1-py3-none-any.whl |
Total release size: 64.1 kB
Release files / porran-0.1.1.tar.gz
| Download URL | porran-0.1.1.tar.gz |
|---|---|
| Size | 31.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecee9b2049679dd94f711a75a4bef664fa8a201d188856179b3caa1e4487c4a6
|
|
BLAKE2b-256 checksum How to use checksums |
5d2aa60c504cb1bdf977286f1e500054f330c6aa753c10f73b7c24dd8af07d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / porran-0.1.1-py3-none-any.whl
| Download URL | porran-0.1.1-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08df053d5a1d24377721bcc6ad04f30d8e05209ef5cf4f975137a36fac1e6fb1
|
|
BLAKE2b-256 checksum How to use checksums |
e249729e0f3d83a36b9bd21f6ddbae980d106c7ca2285650ce2c9610e51861b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for porran 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.