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 ()
- 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.6.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.6.tar.gz.
File metadata
- Download URL: pt_library-0.1.6.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 |
7a7bc66cc5bb2179eb18c7c24a952aa6f97cd7183b583cde636667a4e9904e4a
|
|
| MD5 |
c5c560b7b203ab7d1549a0cb2cea6b05
|
|
| BLAKE2b-256 |
cf0d83a166c956fedcf9303ab1fd670e5d55511a4ba16c12775ea8cc6b7f0535
|
File details
Details for the file pt_library-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pt_library-0.1.6-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 |
2f2bff56de0fd84e9d7fd34b8c381a9b86bfd417d6e14283d4df6e6b1c4a3d6f
|
|
| MD5 |
7085cefb0353030bcc7e71db913c10d9
|
|
| BLAKE2b-256 |
c93266bfe6096bca1e427b368497f39d7f417793bf0a86ccb1d8cfa862115e93
|