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.1.tar.gz (31.9 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.1-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: porran-0.1.1.tar.gz
  • Upload date:
  • Size: 31.9 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.1.tar.gz
Algorithm Hash digest
SHA256 ecee9b2049679dd94f711a75a4bef664fa8a201d188856179b3caa1e4487c4a6
MD5 32b1c5e65cf6769cc6856b4073cae7c4
BLAKE2b-256 5d2aa60c504cb1bdf977286f1e500054f330c6aa753c10f73b7c24dd8af07d6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: porran-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08df053d5a1d24377721bcc6ad04f30d8e05209ef5cf4f975137a36fac1e6fb1
MD5 821268069ea5fbbed5d57aee9246c7dc
BLAKE2b-256 e249729e0f3d83a36b9bd21f6ddbae980d106c7ca2285650ce2c9610e51861b1

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