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.34.tar.gz
(67.4 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.34-py3-none-any.whl
(77.7 kB
view details)
File details
Details for the file waivek-0.1.34.tar.gz.
File metadata
- Download URL: waivek-0.1.34.tar.gz
- Upload date:
- Size: 67.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70642473693f4668a28c5a3bd16c8f5c59835487ed97276b4b234b1a560e4639
|
|
| MD5 |
67d03697ae3bed8f308ce86f6404c012
|
|
| BLAKE2b-256 |
93ad5dd9a0b1486f80448815654356610cdb5bb97ec2b916f0894d83fa8f0a9e
|
File details
Details for the file waivek-0.1.34-py3-none-any.whl.
File metadata
- Download URL: waivek-0.1.34-py3-none-any.whl
- Upload date:
- Size: 77.7 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 |
5c9f9062c8d731998ac62eb4bc2776b537721e215eb6be1bc3f3c9ce5b8adcfe
|
|
| MD5 |
a548c1f4f7c8959e46bfeb5b27b0c828
|
|
| BLAKE2b-256 |
b1307da09f92f36b1373a1b53b5ee32e7a5236986cb97aa9910d381f5c328002
|