Skip to main content

PORous RANdom crystal structure generation

Project description

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.

Project details


Download files

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

Source Distribution

porran-0.1.0.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

porran-0.1.0-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file porran-0.1.0.tar.gz.

File metadata

  • Download URL: porran-0.1.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for porran-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ab10842c1190588da7bbb7f3677209e1cb11a56e6a3974e4ac8a66fda0a7ea3a
MD5 c3bb1271be97e2bc3df6d8ed916a239c
BLAKE2b-256 321979f48f2cc7a518440f807dca22246fea386f02dfd1120b1cde949053597b

See more details on using hashes here.

File details

Details for the file porran-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: porran-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for porran-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65fd639953e2dc98bcf36cf7db37b97bcd41bb2c83f32a47644c61fe9cbe6f76
MD5 9a5cf4eef8025e48817f37c73a75986d
BLAKE2b-256 999d96c5593d7473ea2be0d3bf083ad4a0b907e9ecc2bd4b3f9d052dd6b4218d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page