Library for use nasa.api
Project description
Library for use services of NASA
Install package
pip install wsnasa
After installed package need does settings it for work.
from wsnasa.config import Config
Config(token='TOKENNASA',storage=ClassStorage, connection_string='conn_str')
ClassStorage - wsnasa.entity.storage*
Token
Get keys can here https://api.nasa.gov/ or use DEMO_KEY
Storage
Class <Storage*> implementes rule stores caches
Has second of classes: StorageMemory, StorageDatabase.
If need use another class for storage use for implement of the interface
from wsnasa.entity.abclass.abcstorage import AbcStorage
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
wsnasa-0.0.2b0.tar.gz
(8.0 kB
view details)
File details
Details for the file wsnasa-0.0.2b0.tar.gz.
File metadata
- Download URL: wsnasa-0.0.2b0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ab2e60fcc5183a1e81948eaf0d27687fd920cf661dded3f6bc952628d9d810
|
|
| MD5 |
e0a2c53426a86f0526f45630f0d53a46
|
|
| BLAKE2b-256 |
788ed5443d691119e2bb74d7c21f48932b78cf08296d7fe4bd05f1bb7d2c00c1
|