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.11.tar.gz
(46.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.11-py3-none-any.whl
(51.8 kB
view details)
File details
Details for the file waivek-0.1.11.tar.gz.
File metadata
- Download URL: waivek-0.1.11.tar.gz
- Upload date:
- Size: 46.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a63c8ca46933c27350bfb18dc0230fa673ad9340a3474c013ebd9b14d6736f0d
|
|
| MD5 |
bfd14cb888e664788afeec5b9b6ebe2b
|
|
| BLAKE2b-256 |
9606acbcbffabc5da2c8c021d204e364107c439dc80f4c251d09202af824849d
|
File details
Details for the file waivek-0.1.11-py3-none-any.whl.
File metadata
- Download URL: waivek-0.1.11-py3-none-any.whl
- Upload date:
- Size: 51.8 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 |
927b2aec6a4e9753f3d672a4f2eb2ce65ef07c69e951dfdc7fe2100d33f3872a
|
|
| MD5 |
4afa471be0f52d2bbbdb1e795130cb6e
|
|
| BLAKE2b-256 |
c90bb923a8249edf0f4d4af05cb8737c7f4bc3bdc7df0ef26d118f64adf436d5
|