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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
box-0.1.4.tar.gz
(68.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
box-0.1.4-py3-none-any.whl
(156.5 kB
view details)
File details
Details for the file box-0.1.4.tar.gz.
File metadata
- Download URL: box-0.1.4.tar.gz
- Upload date:
- Size: 68.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce4ef7b1f9941af7b55a533e15e88c4662c0a3037089658f46db5646af81432
|
|
| MD5 |
a2869b584632c9ff2702700bda05df75
|
|
| BLAKE2b-256 |
112c80b09ed18b442eef845ee2df4f17e9a8b061448519ccf76cd54439f95ed8
|
File details
Details for the file box-0.1.4-py3-none-any.whl.
File metadata
- Download URL: box-0.1.4-py3-none-any.whl
- Upload date:
- Size: 156.5 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 |
c509a6f5896fee009b9a74b03000ef11e1b1458ca7512478873b066c0538317d
|
|
| MD5 |
8530b0290451a5d364e21bb8330f059b
|
|
| BLAKE2b-256 |
201bcd3f325e186c8124979f9786f22be555bb0a6eea3fcd91cb9e0ac341b89d
|