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.7.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.2.7.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.2.7.tar.gz
- Upload date:
- Size: 5.9 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 | e8119b7171443ac7b0e1c184fc5f6928fdb88816a364771955c35f0ff38ae0b2 |
|
MD5 | 025f4893fa6e3567ceb67be573e5711d |
|
BLAKE2b-256 | 64b95114fe750a02a28e89b0b830dccf373e4ea40c146c69b25941db379109d4 |
File details
Details for the file sol_orm_lib-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.2.7-py3-none-any.whl
- Upload date:
- Size: 6.2 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 | 54361d9e0e91a59a9f8b95e2e5eebbaf5b5f042f3884b7027d0f5d58c4aab11d |
|
MD5 | f10172108b5ee8e95041fc2eb3886dca |
|
BLAKE2b-256 | b4d16b8da8fa01f30bb5f61c4ff6120fcdc939748581ac7a9625248e8843e41f |