Skip to main content

Standart Library for elixs.dev

Project description

elixs.dev Standart Library

Build Status

Librarys includes:

  • Config File Loader
  • MySQL interface
  • Logger

The library is public on GitHub and Licensed under GNU AGPLv3. Contact me via EMail: eliservices.server@gmail.com

Installation

pip install elixs

Usage

import elixs

config_obj = ReadConfig("/path/to/dir", "project.conf")
conf_array = config_obj.getconfig("all")

sql = mySQL(config_obj)
tables = sql.sendquery("SHOW TABLES;")
sql.sendquery("CREATE TABLE firsttable;")
sql.commit()
sql.close()

sqll = MySQLLogger(config_obj, "/path/to/dir")
sqll.create_table("people", [["name", "VARCHAR(10)"], ["age", "INTEGER"]])
sqll.write(beacon)
sqll.close()

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

elixs-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

elixs-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file elixs-0.1.0.tar.gz.

File metadata

  • Download URL: elixs-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for elixs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0b9a7351c68588e5f27da2e3561045b64dff64e4ff4d08710e137382e17a9e02
MD5 0320987830e9608a3bd70fbac0b5358b
BLAKE2b-256 36a1a93cdc59174f4779a9ac9b911f22fc1473a384cda08df75f92f49a6bb532

See more details on using hashes here.

File details

Details for the file elixs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: elixs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for elixs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca1848035bb90a7ac27a6ff20d9c267f65f41e7c527547a27825f5a9e69d32d2
MD5 a3cc02bf95bab00278316c2fb0b193c3
BLAKE2b-256 1f10e022d444333be5024a1ac37a56e21281166eec7b78bab8f2a89f1325020d

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