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.1.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.2.1.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.2.1.tar.gz
- Upload date:
- Size: 5.5 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 | 78cccb7a28b854432c86afbf0c9780cec6039a381068e553f719540176e7e46c |
|
MD5 | c25e2fd96d778268bd609c920065d778 |
|
BLAKE2b-256 | b78ceec10ef1377420ad9ea225adef870d556c03de6758af914c5c83f5ba1ae7 |
File details
Details for the file sol_orm_lib-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 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 | c2c521650b8cc40e97fc71ec7b8537e2c3574a16517094b5fb289e9a93b140d7 |
|
MD5 | 6a1624359df083e0bd43f254481e0af9 |
|
BLAKE2b-256 | 3b6dca6951775bd7afa7db29a0ae1646e470d97bc0abd89c143dd5c2c23299dd |