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.5.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.1.5.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.1.5.tar.gz
- Upload date:
- Size: 3.6 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 | c06a1578fab5610c806011c36e54727b039c570258864103af065285a8bc23d5 |
|
MD5 | 2b7f5efabde5113eb2aa50610ae58dc4 |
|
BLAKE2b-256 | 23123d7ac54a6feba39c95b9150ac425cd38161ee386d0e72efe3f063df6204b |
File details
Details for the file sol_orm_lib-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.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 | 6b8c3459a90e0fb74d307f32ac3edbdc5dfe78b59a9c00d5def5aed077e6329f |
|
MD5 | 997c584461b52d89df12b8d83964106b |
|
BLAKE2b-256 | 8654bb89e37f3d14af5b46d7f683242d9d829ed4bf8e44dc1f64f8d63f7b2905 |