Skip to main content

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


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.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

sol_orm_lib-0.2.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file sol_orm_lib-0.2.3.tar.gz.

File metadata

  • Download URL: sol_orm_lib-0.2.3.tar.gz
  • Upload date:
  • Size: 5.6 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

Hashes for sol_orm_lib-0.2.3.tar.gz
Algorithm Hash digest
SHA256 523ab74168c25c73a6dd22bf3d092f812c9c13e4b2ebd65b63b07b402b6ff59a
MD5 075471a35e6b40ae00a6240e5465a01a
BLAKE2b-256 882197ea9d03924fbb96efd388be3107e5ef0f4d116695fa91869c13a0e74b30

See more details on using hashes here.

File details

Details for the file sol_orm_lib-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: sol_orm_lib-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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

Hashes for sol_orm_lib-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 295729384aff592c782e22d9102714482a707138e4806b0573cab1bd83dd5a49
MD5 9548a0917b7f4754c79585dd5d5d0ebd
BLAKE2b-256 383be2976c16c978b15a5d769bba0cb240da9ddedb504ac3c97599b10fcab7e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page