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.5.tar.gz
(44.9 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.5-py3-none-any.whl
(50.0 kB
view details)
File details
Details for the file waivek-0.1.5.tar.gz.
File metadata
- Download URL: waivek-0.1.5.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31345a05476c84f0f1bed9e8561bf92ec211129693356e18965b8d0101a7d7e3
|
|
| MD5 |
96313613b3fe4537440ba7bbcfe6b123
|
|
| BLAKE2b-256 |
a5e3dcc19ae4b44f40b5d4e65097c6d0ebbcc0e6de75030e43fb877c7751e575
|
File details
Details for the file waivek-0.1.5-py3-none-any.whl.
File metadata
- Download URL: waivek-0.1.5-py3-none-any.whl
- Upload date:
- Size: 50.0 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 |
d7c58eb9a0b39265de8c64c50534e8d79adbad13873db34907e245f272886a90
|
|
| MD5 |
5baa81e636c4b4cef4638be6ccac1dd8
|
|
| BLAKE2b-256 |
ba34376680e8ce8de7b4204913a080a58d10238c8c1e16bbc0bc6f671e478f6f
|