wrapper for rest calls to envipath
Project description
envipath-api
Installation
pip install envipath-api
Example
Get all SMIRKS of a particular Biodegradation Rule
from envirest import EnviPathClient
client = EnviPathClient('envipath.org')
# find package by name
EAWAGBBD = client.findpackage('EAWAG-BBD')
# find rule by name
bbd_rules = client.get(f'{EAWAGBBD}/rule')['rule']
BT37 = [rule['id'] for rule in bbd_rules if rule['name'] == 'bt0037'][0]
# collect SMIRKS from simple rules
simple_rules = client.get(BT37)['simpleRules']
smirks = [client.get(rule['id'])['smirks'] for rule in simple_rules]
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
envipath-api-0.3.0.tar.gz
(22.2 kB
view details)
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 envipath-api-0.3.0.tar.gz.
File metadata
- Download URL: envipath-api-0.3.0.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7c34a5831f82c58f85bf94a75cf58d377cfde536cf01a368de8166f4272ef08
|
|
| MD5 |
5aa2be77890195f307a8ae1116e6773f
|
|
| BLAKE2b-256 |
0d0a921fec5dbf56c147b90a9f016d9c358d6d3bd67ce05a6f4a419a8404738c
|
File details
Details for the file envipath_api-0.3.0-py3-none-any.whl.
File metadata
- Download URL: envipath_api-0.3.0-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c90a0962a8b15e585de04007a22f63bda1bfa2eb273e8be0fae9ac4cfba56ae
|
|
| MD5 |
3ea9b908eafc763f663651736b58d0cf
|
|
| BLAKE2b-256 |
f095f2fc309b685e2e17aa3a2678c205cc12ae0d57ac3e17a576d51ed1182397
|