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.6.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.1.6.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.1.6.tar.gz
- Upload date:
- Size: 4.8 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 | f24122f4ae64f1acf8b9d5036673d0b62b87b4e1a7c8098205eb7558c20699a6 |
|
MD5 | 078d87f273f54f3b65b818d01e977881 |
|
BLAKE2b-256 | 024aabfa2b613fd160d15ddcca67554ef1fc7dfc1679923f3fc23cb5d1ea11d4 |
File details
Details for the file sol_orm_lib-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.1 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 | e518c3eeda6efed6278be8e66168c37d4bd110b33a7476bcc6d65d0ab2d37cdc |
|
MD5 | eae4c5b1ac5398a191ab7bc5e89730ea |
|
BLAKE2b-256 | 8747374c97f6df857bbabf28a5006b1c522ac512015160b8854cadf2d0674e02 |