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.31.tar.gz
(63.2 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.31-py3-none-any.whl
(74.4 kB
view details)
File details
Details for the file waivek-0.1.31.tar.gz.
File metadata
- Download URL: waivek-0.1.31.tar.gz
- Upload date:
- Size: 63.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a254ba677d0ccdb5ec15cbca7804282e4dd3bcf64f1c6edb392b4e8c5addd77
|
|
| MD5 |
ea9af52d9466dd2477ff9bb6aba28e5d
|
|
| BLAKE2b-256 |
c125890054528e9fc76e5311e803385951f3a1761a32b3ca7252128a4e9f7602
|
File details
Details for the file waivek-0.1.31-py3-none-any.whl.
File metadata
- Download URL: waivek-0.1.31-py3-none-any.whl
- Upload date:
- Size: 74.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edab0072c87acf16a3e0534a8c627f00994d323d3b397b529c0ba39da9de5c17
|
|
| MD5 |
f55323a3a23de9c6820e5b4df02ded1e
|
|
| BLAKE2b-256 |
0d4b341dccd8e61e8d9413236df133e8c15726c3823ff7577d65ed6408978743
|