gulp_setup


Namegulp_setup JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryA python script to convert any ase input file to gulp (.gin)
upload_time2024-07-30 10:24:16
maintainerNone
docs_urlNone
authorDinga Wonanke
requires_python<4.0,>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Gulp input setter

A simple python module for creating gulp input files

# Installation

The installation is very simple. Follow the set of instructions

## Dependencies

The only dependencies is 'ase'
## From pypi
pip install gulp_setup

## From git
### step 1:
Clone the folowing git repository
```https://github.com/bafgreat/gulp_setup.git```
### step 2:

```cd gulp_setup```

### step 3:

```pip install .```

The above command will install gulp_setup python package.

## USAGE
### Create input from folder containing cif
Run the command below to create a gulp input file on a folder containing several cif files. The file created will be moved into a folder containing the prefix of the input file name.
<!-- For instance, in the example below, a folder called input will be created and the files input.cif and input.gin will be created in the same folder. -->

```gulp_setup_folder  folder ```



### Simply create file
If you do not want to create individual folders for each input file, you can simply run the command below.

```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
The above examples only create gulp input files for constant volumes meaning that the lattices are not optimized. If you want to optimize the lattices then add the `-op  conp` argument  after the name of the input file.
e.g.

```gulp_setup_file input.cif -op conp```

This will trigger the lattice optimization.

# 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```

# N.B
The latter example will work if your gulp executable are in a folder called `$HOME/src`.
If you require more information about installing gulp checkout the following link https://gulp.curtin.edu.au/download.html . You can also email me if you have trouble with your installation. I am not an expert but might have a little knowledge on how to guide you.

#### !!! Enjoy gulping !!!





            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gulp_setup",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Dinga Wonanke",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/f9/bd/ca4dbd63a5df23ca5798e68c2b2805e8a89abb4464fd832bd9edcfdf1e03/gulp_setup-0.1.1.tar.gz",
    "platform": null,
    "description": "# Gulp input setter\n\nA simple python module for creating gulp input files\n\n# Installation\n\nThe installation is very simple. Follow the set of instructions\n\n## Dependencies\n\nThe only dependencies is 'ase'\n## From pypi\npip install gulp_setup\n\n## From git\n### step 1:\nClone the folowing git repository\n```https://github.com/bafgreat/gulp_setup.git```\n### step 2:\n\n```cd gulp_setup```\n\n### step 3:\n\n```pip install .```\n\nThe above command will install gulp_setup python package.\n\n## USAGE\n### Create input from folder containing cif\nRun the command below to create a gulp input file on a folder containing several cif files. The file created will be moved into a folder containing the prefix of the input file name.\n<!-- For instance, in the example below, a folder called input will be created and the files input.cif and input.gin will be created in the same folder. -->\n\n```gulp_setup_folder  folder ```\n\n\n\n### Simply create file\nIf you do not want to create individual folders for each input file, you can simply run the command below.\n\n```gulp_setup_file input.cif```\n\nThis 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.\n\n### Lattice optimization\nThe above examples only create gulp input files for constant volumes meaning that the lattices are not optimized. If you want to optimize the lattices then add the `-op  conp` argument  after the name of the input file.\ne.g.\n\n```gulp_setup_file input.cif -op conp```\n\nThis will trigger the lattice optimization.\n\n# Running Gulp\nif you have gulp installed. You can simply run it as follows:\n\n```gulp < input.gin > input.got```\nor\n```~/src/gulp-6.0/Src/gulp < input.gin > input.got```\n\n# N.B\nThe latter example will work if your gulp executable are in a folder called `$HOME/src`.\nIf you require more information about installing gulp checkout the following link https://gulp.curtin.edu.au/download.html . You can also email me if you have trouble with your installation. I am not an expert but might have a little knowledge on how to guide you.\n\n#### !!! Enjoy gulping !!!\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A python script to convert any ase input file to gulp (.gin)",
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7a0387e1f6607fe8c068ef411f41da98d353e1c0390627e5bbba0d95ede7ff2",
                "md5": "0939b14fa9c1f16c1cee0729b6f1cb0d",
                "sha256": "5c8070634af8eb9d3ebce65a961fb16fa1b86eaa5fa19b7e4dad3043ff2e8e1f"
            },
            "downloads": -1,
            "filename": "gulp_setup-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0939b14fa9c1f16c1cee0729b6f1cb0d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.6",
            "size": 11156,
            "upload_time": "2024-07-30T10:24:15",
            "upload_time_iso_8601": "2024-07-30T10:24:15.294367Z",
            "url": "https://files.pythonhosted.org/packages/f7/a0/387e1f6607fe8c068ef411f41da98d353e1c0390627e5bbba0d95ede7ff2/gulp_setup-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f9bdca4dbd63a5df23ca5798e68c2b2805e8a89abb4464fd832bd9edcfdf1e03",
                "md5": "a2ed5dc0f44d5bc826fbfd71d38d93f8",
                "sha256": "40711373c54d23806c097a8f4b527d19d90e4b2c0f3003128dae25b9c039b5de"
            },
            "downloads": -1,
            "filename": "gulp_setup-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a2ed5dc0f44d5bc826fbfd71d38d93f8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.6",
            "size": 10364,
            "upload_time": "2024-07-30T10:24:16",
            "upload_time_iso_8601": "2024-07-30T10:24:16.584502Z",
            "url": "https://files.pythonhosted.org/packages/f9/bd/ca4dbd63a5df23ca5798e68c2b2805e8a89abb4464fd832bd9edcfdf1e03/gulp_setup-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-30 10:24:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gulp_setup"
}
        
Elapsed time: 0.36203s