Gulp Input Setter
A simple Python module for creating GULP input files from CIF structures.
Installation
The installation is very straightforward. Follow the steps below.
Dependencies
The only dependency is:
- ase (Atomic Simulation Environment)
Install from PyPI
pip install gulp_setup
Install from GitHub
Step 1: Clone the repository
git clone https://github.com/bafgreat/gulp_setup.git
Step 2: Move into the folder
cd gulp_setup
Step 3: Install the package
pip install .
This command will install the gulp_setup Python package locally.
Usage
Create inputs from a folder of CIF files
Run the command below to create a GULP input file for each CIF file in a folder. Each file will be placed into a folder named after the prefix of the input file name.
gulp_setup_folder folder
Create a single input file
If you do not want to create individual folders for each input file, simply run:
gulp_setup_file input.cif
This command will create an input.gin file in the same folder. This is useful when you do not want to create multiple folders for each input file.
Lattice optimization
By default, GULP input files are created for constant volumes (lattice not optimized).
If you want to optimize the lattices, add the -op conp argument after the name of the input file.
Example:
gulp_setup_file input.cif -op conp
This will trigger lattice optimization.
If you wish to setup gulp to compute mechanical properties of say a MOF, run the following command
gulp_setup_mechanical input.cif
The same command can be ran on folder containing a list of files.
gulp_setup_mechanical folder_name
Running GULP
If you have GULP installed, you can simply run it as follows:
gulp < input.gin > input.got
or
~/src/gulp-6.0/Src/gulp < input.gin > input.got
Notes
The second example assumes you have compiled GULP into a folder called $HOME/src.
For more information about installing GULP, visit: Download GULP
You can also email me if you have trouble with your installation. I am not an expert but I may have some knowledge to guide you.
Enjoy gulping
Metadata
Release files for gulp_setup 0.1.9
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 |
|---|---|---|---|---|
| gulp_setup-0.1.9.tar.gz | 13.0 kB | Without provenance | Details for gulp_setup-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gulp_setup-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for gulp_setup-0.1.9-py3-none-any.whl |
Total release size: 27.2 kB
Release files / gulp_setup-0.1.9.tar.gz
| Download URL | gulp_setup-0.1.9.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca859ba74fbf3d7a3a2e89fafcaca780f24727f0eeab48b4aa1248666790eb1f
|
|
BLAKE2b-256 checksum How to use checksums |
96b9463b7bd7f984bfb478a94e72686876a5366efc5fe02b6a7ebb22355b4b57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.8 Darwin/24.3.0
|
Release files / gulp_setup-0.1.9-py3-none-any.whl
| Download URL | gulp_setup-0.1.9-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
737f64489b62db8877979f4f830bc4b3aad26bddee64fa4778ec6c649f583b3d
|
|
BLAKE2b-256 checksum How to use checksums |
a09a76c4fee58cedb90153ab253216c94f93b54f64e7aac533364a727fb28afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.8 Darwin/24.3.0
|
Security for gulp_setup 0.1.9
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.