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

Uploaded Source

Built Distribution

ALMAFE_Lib-0.0.14-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: almafe_lib-0.0.14.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.3

File hashes

Hashes for almafe_lib-0.0.14.tar.gz
Algorithm Hash digest
SHA256 56ced776139fed9abef5ba7ef66877a894b62e56b546a7700cf54775a16546bc
MD5 08a991a94888178f35adc01818c1baf7
BLAKE2b-256 d4c4701a5442fcbe6b24fb7e016f3938579d509d09b166cee3eba7005213dd23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ALMAFE_Lib-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.3

File hashes

Hashes for ALMAFE_Lib-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 533a2ea10362992ea5f145c6e14b8b9452185d784e63d678a4392f1c4af5fcd6
MD5 e6fdc2eda596a62ca64bba1c6526d879
BLAKE2b-256 b4273b298d01b3312272e0b24ec67097d7a5b49c0cd07ee5dd3caf754e24b143

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