ubelt icon indicating copy to clipboard operation
ubelt copied to clipboard

A Python utility library with a stdlib like feel and extra batteries. Paths, Progress, Dicts, Downloads, Caching, Hashing: ubelt makes it easy!

Results 17 ubelt issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Some tests expect ```pathlib```: > tests/test_path.py::test_pathlib SKIPPED (pathlib is not installed) [ 83%] but it isn't in requirements/tests.txt

**Describe the bug** ``` =========================================================================================== ERRORS =========================================================================================== __________________________________________________________________________ ERROR at setup of test_download_no_fpath __________________________________________________________________________ module = def setup_module(module): """ setup any state specific to the execution of the given module."""...

A code scanner popped up with this as a potential vulnerability. I'm not sure if logging the hash of a file to stdout is leaking anything of relevance. I don't...

New version of #132 Fixes #128 Fixes #127 Adding copy/move to ub.Path Add "soon" / "now" to schedule_deprecation Supporting 3.11

Developement branch

**Describe the bug** ``` ========================================================================================== FAILURES ========================================================================================== _______________________________________________________________________________ test_deprecated_grabdata_args ________________________________________________________________________________ def test_deprecated_grabdata_args(): with pytest.warns(DeprecationWarning): import hashlib url = _demo_url() # dpath = ub.Path.appdir('ubelt/tests/test_download').ensuredir() # fname = basename(url) # fpath =...

auto created PR Fixes https://github.com/Erotemic/ubelt/issues/157

As the title says. It'd be nice to get support for ``xxh3_128_hexdigest`` in ``hash_file``

enhancement
help wanted

**Describe the bug** I tried to run tests with Python 3.13.0b1 and `ubelt/util_import.py::import_module_from_name:0` test fails: ``` python3.13 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o...

While the ubelt documentation has gotten much better and cleaner, there are still locations where what makes documentation look good in the code results in documentation that looks bad in...

documentation