2014-11-12 14:36:12 +01:00
|
|
|
EMSL_Basis_Set_Exchange_Local
|
|
|
|
=============================
|
|
|
|
|
2014-11-12 18:34:25 +01:00
|
|
|
Create of Local Copy of the famous [EMSL Basis Set Exchange](https://bse.pnl.gov/bse/portal) and use it easily with the API.
|
2014-11-12 16:36:38 +01:00
|
|
|
|
2014-11-12 18:34:25 +01:00
|
|
|
* Make a slight copy (40Mo Sqlite3 database) of the EMSL Basis Set Exchange website (One database for all the basis set of one format);
|
2014-11-12 17:41:06 +01:00
|
|
|
* API for scripting ;
|
|
|
|
* Quick local access without delay ;
|
|
|
|
* Only need [Python](https://www.python.org/) and [Request](http://docs.python-requests.org/en/latest/) module.
|
2014-11-12 16:36:38 +01:00
|
|
|
|
2014-11-12 17:41:06 +01:00
|
|
|
##Usage
|
2014-11-12 16:36:38 +01:00
|
|
|
```
|
|
|
|
EMSL Api.
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
EMSL_api.py get_list_basis <db_path>
|
|
|
|
EMSL_api.py get_list_elements <db_path> <basis_name>
|
|
|
|
EMSL_api.py get_basis_data <db_path> <basis_name> <elts>...
|
|
|
|
EMSL_api.py get_list_formats
|
|
|
|
EMSL_api.py create_db <db_path> <format> [--no-contraction]
|
|
|
|
EMSL_api.py (-h | --help)
|
|
|
|
EMSL_api.py --version
|
|
|
|
|
|
|
|
Options:
|
|
|
|
-h --help Show this screen.
|
|
|
|
--version Show version.
|
|
|
|
--no-contraction Basis functions are not contracted
|
|
|
|
|
|
|
|
<db_path> is the path to the SQLite3 file containing the Basis sets.
|
|
|
|
```
|
2014-11-12 17:41:06 +01:00
|
|
|
##Dependancy
|
|
|
|
* Python >2.6
|
|
|
|
* Request ```$ pip install requests```
|
|
|
|
|
|
|
|
##To do
|
2014-11-12 18:28:38 +01:00
|
|
|
For now we can only parse Gaussian-US basis set type file. (Look at ```./src/EMSL_utility.py#EMSL_dump.basis_data_row_to_array```)
|
2014-11-12 17:41:06 +01:00
|
|
|
|
|
|
|
Feel free to fork/pull request.
|
|
|
|
|
|
|
|
##Disclaimer
|
2014-11-12 17:41:50 +01:00
|
|
|
It'is not a official API. Use it with moderation.
|
2014-11-12 17:41:06 +01:00
|
|
|
|
|
|
|
>These documents may be freely distributed and used for non-commercial, scientific and educational purposes.
|
2014-11-12 17:41:20 +01:00
|
|
|
>-- <cite>http://www.pnl.gov/notices.asp</cite>
|
2014-11-12 17:41:06 +01:00
|
|
|
|