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.3.0.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.3.0.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.3.0.tar.gz
- Upload date:
- Size: 6.2 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 | 16f1ef3098cc3f4f6b7aa46f4958f792630a0e8745dd57c1bb244e7cb028b281 |
|
MD5 | 5f4bd8c7486231e49338ab0818fa6ef9 |
|
BLAKE2b-256 | 5c66319fc6295a07e0bb5c3135e6b281fba1ad7b7f94300616eb7f85a6c30e49 |
File details
Details for the file sol_orm_lib-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.6 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 | 11f39ecf74031b6aab8a645718db4111fd699ae245ea5887427f264174dea821 |
|
MD5 | 557f9f6d8bb3c0939040a7e80025e392 |
|
BLAKE2b-256 | d18782271d5a781b95e4fad2d8abe65343f7ca69da8153c2e9dff2be7c93693a |