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

Uploaded Source

Built Distribution

sol_orm_lib-0.3.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for sol_orm_lib-0.3.2.tar.gz
Algorithm Hash digest
SHA256 448d565df13097f30a7cbf0ddeedabe4045679a238608caf112378ca40280207
MD5 58bf1807b21cd5f187f75b6679dcdc7a
BLAKE2b-256 240321bba5ccb3a77536761b85b8eeade7ff418a73d9c4bc0e3a44ff04e7130e

See more details on using hashes here.

File details

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

File metadata

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

Hashes for sol_orm_lib-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c189fb49c148fe732025f96d27d7cfe342ab6cc2b9e0507f1dd2a9a0227016f1
MD5 1549d374fcf3073b2449fd2e703f9741
BLAKE2b-256 f63c20d0d959e5fbdcd36cb8c8a6558ae9acb6c2dd601666ce02bdc6cde82ac7

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