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.32.tar.gz
(66.8 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.32-py3-none-any.whl
(76.7 kB
view details)
File details
Details for the file waivek-0.1.32.tar.gz.
File metadata
- Download URL: waivek-0.1.32.tar.gz
- Upload date:
- Size: 66.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a30643ec817a8bf5d3f3dd84828442613c872fa8c7bad372ebcd382db81eb41f
|
|
| MD5 |
2ecf9cc199b7954868289e86f1e754b1
|
|
| BLAKE2b-256 |
ef06f972e649eddbc8abca7fc7981b2f118a2d9e192f19dc994c09752702f98b
|
File details
Details for the file waivek-0.1.32-py3-none-any.whl.
File metadata
- Download URL: waivek-0.1.32-py3-none-any.whl
- Upload date:
- Size: 76.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 |
c5185c3228a75ff0e1df7dfa0da4b09afc1e40251e07ebd0de305f2c1b32a4bf
|
|
| MD5 |
20fdf74e42c8a0280bba6d51e62c9b5d
|
|
| BLAKE2b-256 |
48acd702b2961ab8655f63e65df0306ae79270756295a25399d7089822bfe90e
|