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.2.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.2.2.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.2.2.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 | 3fbb7244df105edd0c7b9849dffaf22466de17a1fc8337e61319d8c06adb4f6d |
|
MD5 | 9fafc7a64709212c169d6507853f458d |
|
BLAKE2b-256 | 9f4937feeb316f4dde61a69089954913d0e99d0c64cb3146b8fdd8703d7da179 |
File details
Details for the file sol_orm_lib-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.2.2-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 | 1c0fa9124dd4e9460bdcc2b556d7669b80f4e25a2778ff32dd5842e6a92e1697 |
|
MD5 | 63d934741c35965a39d76cd371506920 |
|
BLAKE2b-256 | d56ed1566b48676430a8ee1b43ad16f045f42a0db3c26c668052c6f68c3851a5 |