No project description provided
Project description
SOL Python ORM Library
Installation
pip install sol-orm-lib
Example usage
from sol_orm_lib.models import *
from sol_orm_lib.sol_orm import SolORM
# Instantiate SolORM object
db = SolORM("https://db-api.sol.idener.es")
# Create an object
mw = MeasuredWeather(
rad_ar=27.2,
temp_ar=39,
wind_ar=12,
timestamp=current_milli_time(),
)
# Add it to the DB
response = db.add_entity(mw)
print(response)
Release process
To release a new version of the package, update the version number in the pyproject.toml
file and publish a release with the same tag. The CI will build and publish the package to PyPI.
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
sol_orm_lib-0.1.8.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.1.8.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.1.8.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab88d49bb7de033d123662d61744fe97881ebd49813b663a03f499f1dc17164 |
|
MD5 | 947e55fe7ab7b3fc5949b250512bdc16 |
|
BLAKE2b-256 | 0d6c65ec1f9a816c88c0c6ddb4e68eea2bbfeeb317e98c4cf2ded20e6260e283 |
File details
Details for the file sol_orm_lib-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9e2884b76f13608bbef622bba5e97f0f74f606e08dd173d319c3f51247513e |
|
MD5 | 813fc1c1958f005f1949e72ce2a48bfe |
|
BLAKE2b-256 | 39863b60d04978a1859563062d2aa8c13839a82fb9739e36f0615ef21c876973 |