py-adtools 0.1.1__tar.gz → 0.1.2__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.

Potentially problematic release.


This version of py-adtools might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-adtools
3
- Version: 0.1.1
4
- Summary: Useful tools for parsing Python programs for algorithm design.
3
+ Version: 0.1.2
4
+ Summary: Useful tools for parsing and evaluating Python programs for algorithm design.
5
5
  Home-page: https://github.com/RayZhhh/py-adtools
6
6
  Author: Rui Zhang
7
7
  Author-email: rzhang.cs@gmail.com
@@ -12,6 +12,7 @@ Classifier: Topic :: Scientific/Engineering
12
12
  Requires-Python: >=3.10
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
+ Requires-Dist: psutil
15
16
  Dynamic: author
16
17
  Dynamic: author-email
17
18
  Dynamic: classifier
@@ -19,6 +20,7 @@ Dynamic: description
19
20
  Dynamic: description-content-type
20
21
  Dynamic: home-page
21
22
  Dynamic: license-file
23
+ Dynamic: requires-dist
22
24
  Dynamic: requires-python
23
25
  Dynamic: summary
24
26
 
@@ -47,7 +49,7 @@ The figure demonstrates how a Python program is parsed into `PyScript`, `PyFunct
47
49
  Run the following instructions to install adtools.
48
50
 
49
51
  ```shell
50
- pip install git+https://github.com/RayZhhh/adtool.git
52
+ pip install git+https://github.com/RayZhhh/py-adtools.git
51
53
  ```
52
54
 
53
55
  Or install via pip:
@@ -23,7 +23,7 @@ The figure demonstrates how a Python program is parsed into `PyScript`, `PyFunct
23
23
  Run the following instructions to install adtools.
24
24
 
25
25
  ```shell
26
- pip install git+https://github.com/RayZhhh/adtool.git
26
+ pip install git+https://github.com/RayZhhh/py-adtools.git
27
27
  ```
28
28
 
29
29
  Or install via pip:
@@ -11,13 +11,12 @@ from .py_code import PyProgram
11
11
 
12
12
 
13
13
  class PyEvaluator(ABC):
14
- """Python programs evaluator."""
15
14
 
16
15
  def __init__(self, debug_mode: bool = False, *, exec_code: bool = True):
17
- """Evaluator interface for evaluating the python algorithm program.
16
+ """Evaluator interface for evaluating the Python algorithm program.
18
17
  Args:
19
- debug_mode : Debug mode.
20
- exec_code : Using 'exec()' to compile the code and provide the callable function.
18
+ debug_mode: Debug mode.
19
+ exec_code : Using 'exec()' to compile the code and provide the callable function.
21
20
  """
22
21
  self._debug_mode = debug_mode
23
22
  self._exec_code = exec_code
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-adtools
3
- Version: 0.1.1
4
- Summary: Useful tools for parsing Python programs for algorithm design.
3
+ Version: 0.1.2
4
+ Summary: Useful tools for parsing and evaluating Python programs for algorithm design.
5
5
  Home-page: https://github.com/RayZhhh/py-adtools
6
6
  Author: Rui Zhang
7
7
  Author-email: rzhang.cs@gmail.com
@@ -12,6 +12,7 @@ Classifier: Topic :: Scientific/Engineering
12
12
  Requires-Python: >=3.10
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
+ Requires-Dist: psutil
15
16
  Dynamic: author
16
17
  Dynamic: author-email
17
18
  Dynamic: classifier
@@ -19,6 +20,7 @@ Dynamic: description
19
20
  Dynamic: description-content-type
20
21
  Dynamic: home-page
21
22
  Dynamic: license-file
23
+ Dynamic: requires-dist
22
24
  Dynamic: requires-python
23
25
  Dynamic: summary
24
26
 
@@ -47,7 +49,7 @@ The figure demonstrates how a Python program is parsed into `PyScript`, `PyFunct
47
49
  Run the following instructions to install adtools.
48
50
 
49
51
  ```shell
50
- pip install git+https://github.com/RayZhhh/adtool.git
52
+ pip install git+https://github.com/RayZhhh/py-adtools.git
51
53
  ```
52
54
 
53
55
  Or install via pip:
@@ -7,4 +7,5 @@ adtools/py_code.py
7
7
  py_adtools.egg-info/PKG-INFO
8
8
  py_adtools.egg-info/SOURCES.txt
9
9
  py_adtools.egg-info/dependency_links.txt
10
+ py_adtools.egg-info/requires.txt
10
11
  py_adtools.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ psutil
@@ -5,10 +5,10 @@ with open('README.md', 'r', encoding='utf-8') as fh:
5
5
 
6
6
  setup(
7
7
  name='py-adtools',
8
- version='0.1.1',
8
+ version='0.1.2',
9
9
  author='Rui Zhang',
10
10
  author_email='rzhang.cs@gmail.com',
11
- description='Useful tools for parsing Python programs for algorithm design.',
11
+ description='Useful tools for parsing and evaluating Python programs for algorithm design.',
12
12
  long_description=long_description,
13
13
  long_description_content_type='text/markdown',
14
14
  url='https://github.com/RayZhhh/py-adtools',
@@ -20,5 +20,5 @@ setup(
20
20
  'Topic :: Scientific/Engineering',
21
21
  ],
22
22
  python_requires='>=3.10',
23
- install_requires=[],
23
+ install_requires=['psutil'],
24
24
  )
File without changes
File without changes