API for parsing, database connection, and property calculations for D3taLES project
Project description
D3TaLES API
API designed for the D3TaLES project. Includes data processing, database access functions, and property calculators.
Website with full documentation for the D3TaLES API can be found here.
Modules
This API contains three modules:
D3database: Interface for interacting with the D3TaLES databases. Includes queries, data insertion with validation, and a REST API interface.Processors: Processing code for extracting data from computational and experimental data files as well as ExpFlow run objects.Calculators: Property calculators and plotters for cyclic voltammetryWorkflows: Fireworks workflow for the D3TaLES databases high throughput workflows
Installation
PIP Install
This module can be installed with pip install by running the following code:
pip install git+https://github.com/d3tales/d3tales_api.git
Installation Notes:
- If your python version is greater than 3.8, then you will need to install pymatgen directly into the environment you are working in. It is best to use conda for this.
- If you plan to use any NLP parsers, you will need to install ChemDataExtractor2 with
pip install ChemDataExtractor2. Dependency conflicts make it necessary to install separately.
Environment Variables
Note that many operation require a DB_INFO_FILE environment variable. This environment variable
should be a path to a JSON file containing connection information for the databases. The keys should
be the database names such as frontend, backend, expflow, and fireworks. An example
can be found at db_info_ex.json.
To set this variable run:
export DB_INFO_FILE=$PWD/db_infos_ex.json
You can also set a GROUP_FILE environment variable. This should point to a json
file containing source_group tag names. This is optional.
To set this variable run:
export GROUP_FILE=$PWD/group_file_ex.json
REST API (d3tales_api.restapi.RESTAPI) will use UPLOAD_USER and UPLOAD_PASS environment
variables if username and password arguments are not provided. These environment variables
can be set in the same was as the DB_INFO_FILE variable.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file d3tales_api-0.2.0.tar.gz.
File metadata
- Download URL: d3tales_api-0.2.0.tar.gz
- Upload date:
- Size: 83.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b5804584c201246e942c8f8f84ac055a67b1622fe0fda8ad9d60c48fa063b23
|
|
| MD5 |
f6f593d282a3f0661e4f19fd97761ead
|
|
| BLAKE2b-256 |
77f05f717432162b0dd5ae928cc38322d5e73a8ecd119e75339a8f98816ce516
|
File details
Details for the file d3tales_api-0.2.0-py3-none-any.whl.
File metadata
- Download URL: d3tales_api-0.2.0-py3-none-any.whl
- Upload date:
- Size: 88.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28c262be4fe9826705231ef13b2f3c86bef40745ac3182a19dae72bf5d2a46af
|
|
| MD5 |
32aa7f441453a0a68957eaf7cbd843a9
|
|
| BLAKE2b-256 |
02269e9234d1449962e49dc075078eb896cb1007bf6729f9270d0795e5266302
|