Skip to main content

Contains reusable tools which are required by other ALMAFE packages.

Project description

ALMAFE-Lib package

Contains reusable tools which are required by other ALMAFE packages.

ALMAFE.basic.ParseTimeStamp module

class ParseTimeStamp:

Helper object for parsing time stamps in a variety of formats. Caches last matching time stamp format string to speed subsequent calls.

function makeTimeStamp(timeStamp = None):

initialized a timestamp from provided, or now() if None provided :param timeStamp: string or datetime or None

ALMAFE.basic.StripQuotes:

Utility to strip quotes from a string, if present.

ALMAFE.basic.EnumHelper

Helper class for Enum and string conversion

ALMAFE.basic.Units

Enum of widely-used engineering units

ALMAFE.common.GitVersion:

function gitVersion():

Return the current Git tag (if any) and revision as a string

function gitBranch():

Return the current Git branch name as a string

ALMAFE.database.DriverMySQL:

class DriverMySQL():

Driver wrapper for mysql-connector-python Provides a uniform interface to SQL user code

class DriverSQLite():

Driver wrapper for sqlite3 Provides a uniform interface to SQL user code

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

almafe_lib-0.0.17.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

ALMAFE_Lib-0.0.17-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file almafe_lib-0.0.17.tar.gz.

File metadata

  • Download URL: almafe_lib-0.0.17.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for almafe_lib-0.0.17.tar.gz
Algorithm Hash digest
SHA256 b06382dbd7bd2c8b66921c767b409985cf5b11b51d31b7671b7ff3e5f1919192
MD5 f50064ea30c3e704cedd487ce3d5d0cf
BLAKE2b-256 ae31bc013fc020d63e2f76d5e423de8d7a399e09d5845e97ee1aebb766d21434

See more details on using hashes here.

File details

Details for the file ALMAFE_Lib-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: ALMAFE_Lib-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for ALMAFE_Lib-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 69266bac978751b7c9861b32c48b74efa8d77b5f66c4a2352ac7af234edf1ffc
MD5 5913591b4a6e4039ef715d4ad95a6da2
BLAKE2b-256 2bd9e3cbfc7a85f97a62775de1047f46a7db76a7bfbb3f9da1f8346840a481cd

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