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.2.4.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.2.4.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.2.4.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90dde93ab6d0845753edce4fddc92c7e881c947c2901072c40a7018fe5642114 |
|
MD5 | f14c993e9e39776fba2a1eb3f5081837 |
|
BLAKE2b-256 | c08223809fbb8e67243be27935a5d18458ee403f27dbfd362c1e72e252c8630e |
File details
Details for the file sol_orm_lib-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.2.4-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 693607fa0eca974251365cca9abeda6b89a1752b69bdc0a8866abee71012a94a |
|
MD5 | e635d903ae20293b01abf4fc5ae1e5b3 |
|
BLAKE2b-256 | 1d942ec27650fc67bbe82568d7be1efc89aeb241990b8952783e2d30db4fcefb |