speedy-utils 1.0.2__tar.gz → 1.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: speedy-utils
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Fast and easy-to-use package for data science
5
5
  Home-page: https://github.com/anhvth/speedy
6
6
  Author: AnhVTH
@@ -3,12 +3,12 @@ from setuptools import find_packages, setup
3
3
  # Last update: 2023-10-01
4
4
  setup(
5
5
  name="speedy-utils",
6
- version="v1.0.2",
6
+ version="v1.0.3",
7
7
  description="Fast and easy-to-use package for data science",
8
8
  author="AnhVTH",
9
9
  author_email="anhvth.226@gmail.com",
10
10
  url="https://github.com/anhvth/speedy",
11
- packages=find_packages(), # Automatically find all packages in the directory
11
+ packages=['speedy'],
12
12
  install_requires=[ # List any dependencies your package requires
13
13
  "numpy",
14
14
  "requests",
@@ -1,10 +1,27 @@
1
1
  from .common.clock import Clock, timef
2
- from .common.utils_cache import (ICACHE, SPEED_CACHE_DIR, identify, imemoize,
3
- imemoize_v2, memoize, memoize_v2)
4
- from .common.utils_io import (dump_json_or_pickle, dump_jsonl, load_by_ext,
5
- load_json_or_pickle)
6
- from .common.utils_misc import (convert_to_builtin_python, flatten_list,
7
- get_arg_names, is_interactive, mkdir_or_exist)
2
+ from .common.utils_cache import (
3
+ ICACHE,
4
+ SPEED_CACHE_DIR,
5
+ identify,
6
+ imemoize,
7
+ imemoize_v2,
8
+ memoize,
9
+ memoize_method,
10
+ memoize_v2,
11
+ )
12
+ from .common.utils_io import (
13
+ dump_json_or_pickle,
14
+ dump_jsonl,
15
+ load_by_ext,
16
+ load_json_or_pickle,
17
+ )
18
+ from .common.utils_misc import (
19
+ convert_to_builtin_python,
20
+ flatten_list,
21
+ get_arg_names,
22
+ is_interactive,
23
+ mkdir_or_exist,
24
+ )
8
25
  from .common.utils_print import fprint, print_table
9
26
  from .multi_worker import async_multi_thread, multi_process, multi_thread
10
27
 
@@ -32,4 +49,5 @@ __all__ = [
32
49
  "multi_thread",
33
50
  "multi_process",
34
51
  "async_multi_thread",
52
+ "memoize_method",
35
53
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: speedy-utils
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Fast and easy-to-use package for data science
5
5
  Home-page: https://github.com/anhvth/speedy
6
6
  Author: AnhVTH
File without changes