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

Uploaded Source

Built Distribution

sol_orm_lib-0.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sol_orm_lib-0.2.0.tar.gz
  • Upload date:
  • Size: 5.4 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.0.tar.gz
Algorithm Hash digest
SHA256 9ad16bcf2b38b6c6bd6b6f93bb012da5d540bb960545749f7133a1d08709b65e
MD5 cd57c5d740b36db5aac1ffaf126a2f20
BLAKE2b-256 ed9c5ca49df9d044c9bdf418d467f1000cef60a70008377f863a48d835504dfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sol_orm_lib-0.2.0-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

Hashes for sol_orm_lib-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f3698cb441d6f53ea5478ed3f250e4cedebca044a485f5a062f2782452f08e7
MD5 0ed7bc1a5b9d010235ee67521d83a79f
BLAKE2b-256 ef4c6e185c4c6fddc0daa944d18fe2161bf8dc61896551f2eff6bf8b67b29eb1

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