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.2.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.1.2.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.1.2.tar.gz
- Upload date:
- Size: 2.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 | 4306fa9d9018d8b5f972e2b68dcf53ae39953c3fbd9fc501c578ec19cfde736a |
|
MD5 | b5bf5aceb9d38ddf614e1b7dca1bbd32 |
|
BLAKE2b-256 | a8bdd87eacbcd169ce3c2b6871ce1c5bcd9dd0a3195c71c648beb8c55da6c015 |
File details
Details for the file sol_orm_lib-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.2 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 | e74e6b97a8ded9c9327a52e6c70061107ff4055439b3954ea5356b8dbf567e8a |
|
MD5 | 05ff32f1f1f892c93089ca98cbcdd62f |
|
BLAKE2b-256 | 4e246e1963d9cbe03f46dad006a8b2aa1197bc4802199541a032174b967c837a |