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

Uploaded Source

Built Distribution

sol_orm_lib-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for sol_orm_lib-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3ff91e268ebe97bfb0b4d14f02e7ea0bbd5d7aafbdbe7c3158c9064d004ebf5b
MD5 8a167b610798eb3e02c055cd5a38fffd
BLAKE2b-256 25817a11b01bcb974b0dd46ba72535bbc6539d292571bbb740800544fdced6e7

See more details on using hashes here.

File details

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

File metadata

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

Hashes for sol_orm_lib-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53e01d0dd5d81c5202c6d0bc6322b78b9b101d053e6a0a6b169457dc7be7285a
MD5 f585c048fa22d9ad47c6c7a319c9622a
BLAKE2b-256 c0f819eff361564722de876f89b83d645ce30f4b9117d2a0743c83e94fbe44e2

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