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 (format: yyyy_mm_dd)
- Get the previous month date (yyyy_mm)
- 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
Release history Release notifications | RSS feed
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.7.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pt_library-0.1.7.tar.gz.
File metadata
- Download URL: pt_library-0.1.7.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31458267370d5fdc347c620006de29277cb81f38f4e0ac8c6861d4d8b468763f
|
|
| MD5 |
763a3d250c0a759491dad14ffda49a3c
|
|
| BLAKE2b-256 |
b52cdf97fc6274ea5a51471cee80aee7ce7cd3d3c8454c1196f93b128abbc1aa
|
File details
Details for the file pt_library-0.1.7-py3-none-any.whl.
File metadata
- Download URL: pt_library-0.1.7-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a03543a041dcd6cd628ec8c25b5ca5f0f4adcbf99e051c80337d801aca32eb67
|
|
| MD5 |
6943f86c59bca5882a2587a7e324dbb0
|
|
| BLAKE2b-256 |
0b390f42c613ca31caa2968205a1dc5f302b99f929ad504247a1666a79b86500
|