Unibox

Latest version: v0.4.13

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

0.3.16

tweak:
- reduce report interval of tqdm to every 5 seconds (by default) to reduce ~98% log size

0.3.15

[feat: adding debug_print argument to unibox.traverses()](https://github.com/trojblue/unibox/commit/66d1c0260ccf9d1f6bc3ad2abbc33fb1001ff52d)

when `unibox.traverses(dir, debug_print = False)`, it will not print a tqdm progress bar (for calling many traverses() in a loop)

0.3.14

fix:
- unibox.loads(s3_uri): works correctly with s3

0.3.13

tweak: using orjson instead of standard json for unibox.loads()

0.3.12

fix: unibox.traverses(s3): allow dir to be shown (with trailing slash)


python
import unibox

artists_root_dir = "s3://dataset-artstation-uw2/artists/"
artists_s3 = unibox.traverses(artists_root_dir)
unibox.peeks(artists_s3, n=5)

returns:

{'metadata': {'len': 646361, 'item_type': 'str'},
'preview': ['artists/-451-/',
'artists/-afei-/',
'artists/-apostart-/',
'artists/-bug-/',
'artists/-cgc-/']}

0.3.11

feat:
- `unibox.peeks()`: adding list peek support & proper command use

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.