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.3.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file sol_orm_lib-0.3.3.tar.gz
.
File metadata
- Download URL: sol_orm_lib-0.3.3.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-84-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3d5940bf2f295562137b29a6d51515b7a5dab0bffb43d2d9a9238157315cef0 |
|
MD5 | c857d927ea7794727e6f066de405b30b |
|
BLAKE2b-256 | aa483d0a1dd4f50d7cbb3f37d98ea5932d610777b18c3096a0cc47dbb553cb7b |
File details
Details for the file sol_orm_lib-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: sol_orm_lib-0.3.3-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-84-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2a88f6b9b77a3a77a19acab03083e146c08ad13e49c687e0dce5e8f048faf6b |
|
MD5 | dd9b911ae8f4314693141703af0f277c |
|
BLAKE2b-256 | 913b3c921f8a15c1647915772f5be449951820262f9f9cfa3b914ea804e2cba1 |