No project description provided
Project description
Code - Print colored text
from waivek import Code
print(Code.RED + "Hello, World!")
common
from waivek import Date, Timestamp
dt = Date("2020-01-01"
timestamp = Timestamp(3600)
>>> Date(1672511400) == Date('2023-01-01')
True
>>> date = Date(1672511400)
>>> date
12:00 AM, Jan 01 (5 months ago)
>>> date.epoch
1672511400
>>> date.string
2023-01-01T00:00:00+05:30
>>> date.timeago()
5 months ago
>>> str(date)
12:00 AM, Jan 01 (5 months ago)
>>> date.dt
2023-01-01 00:00:00+05:30
from waivek import create_partitions, smart_pad, enumerate_count
db
from waivek import db_init, insert_dictionaries
cursor, connection = db_init(db_path)
insert_dictionaries(cursor, table_name, dictionaries)
error
from waivek import handler
with handler():
main()
get
from waivek import aget
aget(urls)
ic
from waivek import ic, ib
ic({"key": "value"})
ib(str)
print_utils - Print and manipulate text.
from waivek import head, truncate, abbreviate
reltools - Do path manipulation relative to
from waivek import rel2abs, read, write
timer - Measure execution time of code snippets
from waivek import Timer
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
waivek-0.1.6.tar.gz
(45.0 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
waivek-0.1.6-py3-none-any.whl
(49.9 kB
view details)
File details
Details for the file waivek-0.1.6.tar.gz.
File metadata
- Download URL: waivek-0.1.6.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
068029607c0ba9b7b38bf738f1387319d9d9303195f18201db84cdfced1164a6
|
|
| MD5 |
2d139f3760a50faf73e8d54fba586870
|
|
| BLAKE2b-256 |
12a248fecb5e3cf4900773a2d21876aab9b9c674952193fa35949cb1e99a2937
|
File details
Details for the file waivek-0.1.6-py3-none-any.whl.
File metadata
- Download URL: waivek-0.1.6-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df2437ee15ab6935130bbe7e9ebdaa9d0e0b5673f8e3ecbcb9e9a68b6277db3b
|
|
| MD5 |
f133f56ae2aef498bdd7c5d70f4925cb
|
|
| BLAKE2b-256 |
509e260f24e3c9eb92941fdc071711c7306042fb6537675370f6db6a2ac08d89
|