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

Uploaded Source

Built Distribution

sol_orm_lib-0.2.5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sol_orm_lib-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f98a143c5c277e93b4803c56af4cf3fabe598bb6b47b9d19768538cb0751161e
MD5 6d2865fe3b18b132a9764af6ad0f9773
BLAKE2b-256 1029ff9b10962e5644dcfaac31cb33eb1935e5cc29da1109278aea6acb34d2a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sol_orm_lib-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0e5c62544cb8f013b1b08b62a3cf136080558d8be222209b970f9eceb46dd51a
MD5 2bd171acc6b7f69da2918d2b16aebc32
BLAKE2b-256 d7eda1aa6dac82580a80cfb6831b82056295c9dae1a8c48c1e5649405b23a60b

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