Skip to main content

A small utility package

Project description

PT Utility Package

  • Time Decorator
    • decorator to calculate execution time.
    • from pt_library import calculate_time
  • Notification
    • Currently, supports only Telegram Notifications.
    • from pt_library import telegram_notification
  • DB Connection
    • Run Query on SQL and return records.
    • from pt_library import run_query
  • Date time
    • Get the current month date (dd, mm, yyy)
    • Get the previous month date (mm, yyyy)
    • Get the timestamp (yyyy-mm-dd HH:MM:SS)
    • from pt_library import get_previous_month_year, get_current_month_year, get_timestamp

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

pt_library-0.1.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pt_library-0.1.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pt_library-0.1.5.tar.gz.

File metadata

  • Download URL: pt_library-0.1.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for pt_library-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1a230880740493040ef00a247954d5c89a01cdde1ebb1787116ac178a14cbfdf
MD5 dfe380950d8967317f41a9f861408c0c
BLAKE2b-256 8a127966ca820d34ae41ce5e2abf2098b89e5ebdc1d07bff275465f2dffc2df9

See more details on using hashes here.

File details

Details for the file pt_library-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pt_library-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for pt_library-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3a10f9b81980f6929de461b4323814756a4b12b828187c2d70d26f4076814a69
MD5 5eb69d35083308fe968d69b7c836675f
BLAKE2b-256 a0eb0ce95b54b7e0bba7893871bed47570da28d4b22c3153a7a3403cdb3b2f2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page