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

Uploaded Source

Built Distribution

sol_orm_lib-0.2.9-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sol_orm_lib-0.2.9.tar.gz
  • Upload date:
  • Size: 6.1 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.9.tar.gz
Algorithm Hash digest
SHA256 87d414313649b6ed6bae4cd5285a508228a01cfd242b1165eb5b3d402bf4ba1a
MD5 5669ae8e612a56f2764b15a478f2ebcb
BLAKE2b-256 4c2b89ca8cc9409faa001f6f89bcf6e30d9b67e7fe44323a65c00adbb0d2eb8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sol_orm_lib-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 422d7ffe495c052caf9e10efcd3dfc02f5639c8eefa610d2f9a6cb883a08ed07
MD5 8206094eee3cba92126a421734e3ea68
BLAKE2b-256 8f6b80747bb5939b12b4afbc8c0896780538448632d4ad2e6aa111ef2b02bbb9

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