pyrlutils 0.0.2__tar.gz → 0.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.
Potentially problematic release.
This version of pyrlutils might be problematic. Click here for more details.
- pyrlutils-0.0.3/.circleci/config.yml +70 -0
- pyrlutils-0.0.3/.gitignore +252 -0
- pyrlutils-0.0.3/.pyup.yml +5 -0
- {pyrlutils-0.0.2/pyrlutils.egg-info → pyrlutils-0.0.3}/PKG-INFO +16 -8
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/README.md +3 -0
- pyrlutils-0.0.3/pyproject.toml +42 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/valuefcns.py +1 -1
- {pyrlutils-0.0.2 → pyrlutils-0.0.3/pyrlutils.egg-info}/PKG-INFO +16 -8
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils.egg-info/SOURCES.txt +5 -1
- pyrlutils-0.0.3/pyrlutils.egg-info/requires.txt +7 -0
- pyrlutils-0.0.3/test/__init__.py +0 -0
- pyrlutils-0.0.2/pyrlutils.egg-info/requires.txt +0 -2
- pyrlutils-0.0.2/setup.py +0 -53
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/LICENSE +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/MANIFEST.in +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/__init__.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/action.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/policy.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/reward.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/state.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils/transition.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils.egg-info/dependency_links.txt +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils.egg-info/not-zip-safe +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/pyrlutils.egg-info/top_level.txt +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/setup.cfg +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_2ddiscrete.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_2dmaze.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_action.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_continous_state_actions.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_frozenlake.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_state.py +0 -0
- {pyrlutils-0.0.2 → pyrlutils-0.0.3}/test/test_transprobs.py +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
shared: &shared
|
|
4
|
+
working_directory: ~/pyrlutils
|
|
5
|
+
|
|
6
|
+
steps:
|
|
7
|
+
- checkout
|
|
8
|
+
|
|
9
|
+
- run:
|
|
10
|
+
name: Apt Install
|
|
11
|
+
command: |
|
|
12
|
+
sudo apt-get update
|
|
13
|
+
sudo apt-get install -y libc6
|
|
14
|
+
sudo apt-get install -y g++
|
|
15
|
+
|
|
16
|
+
- run:
|
|
17
|
+
name: Installing Packages
|
|
18
|
+
command: |
|
|
19
|
+
pip install --upgrade --user pip
|
|
20
|
+
pip install --upgrade --user .
|
|
21
|
+
pip install --upgrade --user .[openaigym]
|
|
22
|
+
|
|
23
|
+
- run:
|
|
24
|
+
name: Run Unit Tests
|
|
25
|
+
command: |
|
|
26
|
+
python -m unittest
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
jobs:
|
|
31
|
+
py37:
|
|
32
|
+
<<: *shared
|
|
33
|
+
docker:
|
|
34
|
+
- image: cimg/python:3.7
|
|
35
|
+
|
|
36
|
+
py38:
|
|
37
|
+
<<: *shared
|
|
38
|
+
docker:
|
|
39
|
+
- image: cimg/python:3.8
|
|
40
|
+
|
|
41
|
+
py39:
|
|
42
|
+
<<: *shared
|
|
43
|
+
docker:
|
|
44
|
+
- image: cimg/python:3.9
|
|
45
|
+
|
|
46
|
+
py310:
|
|
47
|
+
<<: *shared
|
|
48
|
+
docker:
|
|
49
|
+
- image: cimg/python:3.10
|
|
50
|
+
|
|
51
|
+
py311:
|
|
52
|
+
<<: *shared
|
|
53
|
+
docker:
|
|
54
|
+
- image: cimg/python:3.11
|
|
55
|
+
|
|
56
|
+
py312:
|
|
57
|
+
<<: *shared
|
|
58
|
+
docker:
|
|
59
|
+
- image: cimg/python:3.12
|
|
60
|
+
|
|
61
|
+
workflows:
|
|
62
|
+
version: 2
|
|
63
|
+
build:
|
|
64
|
+
jobs:
|
|
65
|
+
- py37
|
|
66
|
+
- py38
|
|
67
|
+
- py39
|
|
68
|
+
- py310
|
|
69
|
+
- py311
|
|
70
|
+
- py312
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
### VisualStudioCode template
|
|
2
|
+
.vscode/*
|
|
3
|
+
!.vscode/settings.json
|
|
4
|
+
!.vscode/tasks.json
|
|
5
|
+
!.vscode/launch.json
|
|
6
|
+
!.vscode/extensions.json
|
|
7
|
+
*.code-workspace
|
|
8
|
+
|
|
9
|
+
# Local History for Visual Studio Code
|
|
10
|
+
.history/
|
|
11
|
+
|
|
12
|
+
### JetBrains template
|
|
13
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
14
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
15
|
+
|
|
16
|
+
# User-specific stuff
|
|
17
|
+
.idea/**/workspace.xml
|
|
18
|
+
.idea/**/tasks.xml
|
|
19
|
+
.idea/**/usage.statistics.xml
|
|
20
|
+
.idea/**/dictionaries
|
|
21
|
+
.idea/**/shelf
|
|
22
|
+
|
|
23
|
+
# Generated files
|
|
24
|
+
.idea/**/contentModel.xml
|
|
25
|
+
|
|
26
|
+
# Sensitive or high-churn files
|
|
27
|
+
.idea/**/dataSources/
|
|
28
|
+
.idea/**/dataSources.ids
|
|
29
|
+
.idea/**/dataSources.local.xml
|
|
30
|
+
.idea/**/sqlDataSources.xml
|
|
31
|
+
.idea/**/dynamic.xml
|
|
32
|
+
.idea/**/uiDesigner.xml
|
|
33
|
+
.idea/**/dbnavigator.xml
|
|
34
|
+
|
|
35
|
+
# Gradle
|
|
36
|
+
.idea/**/gradle.xml
|
|
37
|
+
.idea/**/libraries
|
|
38
|
+
|
|
39
|
+
# Gradle and Maven with auto-import
|
|
40
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
41
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
42
|
+
# auto-import.
|
|
43
|
+
# .idea/artifacts
|
|
44
|
+
# .idea/compiler.xml
|
|
45
|
+
# .idea/jarRepositories.xml
|
|
46
|
+
# .idea/modules.xml
|
|
47
|
+
# .idea/*.iml
|
|
48
|
+
# .idea/modules
|
|
49
|
+
# *.iml
|
|
50
|
+
# *.ipr
|
|
51
|
+
|
|
52
|
+
# CMake
|
|
53
|
+
cmake-build-*/
|
|
54
|
+
|
|
55
|
+
# Mongo Explorer plugin
|
|
56
|
+
.idea/**/mongoSettings.xml
|
|
57
|
+
|
|
58
|
+
# File-based project format
|
|
59
|
+
*.iws
|
|
60
|
+
|
|
61
|
+
# IntelliJ
|
|
62
|
+
out/
|
|
63
|
+
|
|
64
|
+
# mpeltonen/sbt-idea plugin
|
|
65
|
+
.idea_modules/
|
|
66
|
+
|
|
67
|
+
# JIRA plugin
|
|
68
|
+
atlassian-ide-plugin.xml
|
|
69
|
+
|
|
70
|
+
# Cursive Clojure plugin
|
|
71
|
+
.idea/replstate.xml
|
|
72
|
+
|
|
73
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
74
|
+
com_crashlytics_export_strings.xml
|
|
75
|
+
crashlytics.properties
|
|
76
|
+
crashlytics-build.properties
|
|
77
|
+
fabric.properties
|
|
78
|
+
|
|
79
|
+
# Editor-based Rest Client
|
|
80
|
+
.idea/httpRequests
|
|
81
|
+
|
|
82
|
+
# Android studio 3.1+ serialized cache file
|
|
83
|
+
.idea/caches/build_file_checksums.ser
|
|
84
|
+
|
|
85
|
+
### VirtualEnv template
|
|
86
|
+
# Virtualenv
|
|
87
|
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
|
88
|
+
.Python
|
|
89
|
+
[Bb]in
|
|
90
|
+
[Ii]nclude
|
|
91
|
+
[Ll]ib
|
|
92
|
+
[Ll]ib64
|
|
93
|
+
[Ll]ocal
|
|
94
|
+
[Ss]cripts
|
|
95
|
+
pyvenv.cfg
|
|
96
|
+
.venv
|
|
97
|
+
pip-selfcheck.json
|
|
98
|
+
|
|
99
|
+
### JupyterNotebooks template
|
|
100
|
+
# gitignore template for Jupyter Notebooks
|
|
101
|
+
# website: http://jupyter.org/
|
|
102
|
+
|
|
103
|
+
.ipynb_checkpoints
|
|
104
|
+
*/.ipynb_checkpoints/*
|
|
105
|
+
|
|
106
|
+
# IPython
|
|
107
|
+
profile_default/
|
|
108
|
+
ipython_config.py
|
|
109
|
+
|
|
110
|
+
# Remove previous ipynb_checkpoints
|
|
111
|
+
# git rm -r .ipynb_checkpoints/
|
|
112
|
+
|
|
113
|
+
### Python template
|
|
114
|
+
# Byte-compiled / optimized / DLL files
|
|
115
|
+
__pycache__/
|
|
116
|
+
*.py[cod]
|
|
117
|
+
*$py.class
|
|
118
|
+
|
|
119
|
+
# C extensions
|
|
120
|
+
*.so
|
|
121
|
+
|
|
122
|
+
# Distribution / packaging
|
|
123
|
+
.Python
|
|
124
|
+
build/
|
|
125
|
+
develop-eggs/
|
|
126
|
+
dist/
|
|
127
|
+
downloads/
|
|
128
|
+
eggs/
|
|
129
|
+
.eggs/
|
|
130
|
+
lib/
|
|
131
|
+
lib64/
|
|
132
|
+
parts/
|
|
133
|
+
sdist/
|
|
134
|
+
var/
|
|
135
|
+
wheels/
|
|
136
|
+
share/python-wheels/
|
|
137
|
+
*.egg-info/
|
|
138
|
+
.installed.cfg
|
|
139
|
+
*.egg
|
|
140
|
+
MANIFEST
|
|
141
|
+
|
|
142
|
+
# PyInstaller
|
|
143
|
+
# Usually these files are written by a python script from a template
|
|
144
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
145
|
+
*.manifest
|
|
146
|
+
*.spec
|
|
147
|
+
|
|
148
|
+
# Installer logs
|
|
149
|
+
pip-log.txt
|
|
150
|
+
pip-delete-this-directory.txt
|
|
151
|
+
|
|
152
|
+
# Unit test / coverage reports
|
|
153
|
+
htmlcov/
|
|
154
|
+
.tox/
|
|
155
|
+
.nox/
|
|
156
|
+
.coverage
|
|
157
|
+
.coverage.*
|
|
158
|
+
.cache
|
|
159
|
+
nosetests.xml
|
|
160
|
+
coverage.xml
|
|
161
|
+
*.cover
|
|
162
|
+
*.py,cover
|
|
163
|
+
.hypothesis/
|
|
164
|
+
.pytest_cache/
|
|
165
|
+
cover/
|
|
166
|
+
|
|
167
|
+
# Translations
|
|
168
|
+
*.mo
|
|
169
|
+
*.pot
|
|
170
|
+
|
|
171
|
+
# Django stuff:
|
|
172
|
+
*.log
|
|
173
|
+
local_settings.py
|
|
174
|
+
db.sqlite3
|
|
175
|
+
db.sqlite3-journal
|
|
176
|
+
|
|
177
|
+
# Flask stuff:
|
|
178
|
+
instance/
|
|
179
|
+
.webassets-cache
|
|
180
|
+
|
|
181
|
+
# Scrapy stuff:
|
|
182
|
+
.scrapy
|
|
183
|
+
|
|
184
|
+
# Sphinx documentation
|
|
185
|
+
docs/_build/
|
|
186
|
+
|
|
187
|
+
# PyBuilder
|
|
188
|
+
.pybuilder/
|
|
189
|
+
target/
|
|
190
|
+
|
|
191
|
+
# Jupyter Notebook
|
|
192
|
+
.ipynb_checkpoints
|
|
193
|
+
|
|
194
|
+
# IPython
|
|
195
|
+
profile_default/
|
|
196
|
+
ipython_config.py
|
|
197
|
+
|
|
198
|
+
# pyenv
|
|
199
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
200
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
201
|
+
# .python-version
|
|
202
|
+
|
|
203
|
+
# pipenv
|
|
204
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
205
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
206
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
207
|
+
# install all needed dependencies.
|
|
208
|
+
#Pipfile.lock
|
|
209
|
+
|
|
210
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
211
|
+
__pypackages__/
|
|
212
|
+
|
|
213
|
+
# Celery stuff
|
|
214
|
+
celerybeat-schedule
|
|
215
|
+
celerybeat.pid
|
|
216
|
+
|
|
217
|
+
# SageMath parsed files
|
|
218
|
+
*.sage.py
|
|
219
|
+
|
|
220
|
+
# Environments
|
|
221
|
+
.env
|
|
222
|
+
.venv
|
|
223
|
+
env/
|
|
224
|
+
venv/
|
|
225
|
+
ENV/
|
|
226
|
+
env.bak/
|
|
227
|
+
venv.bak/
|
|
228
|
+
|
|
229
|
+
# Spyder project settings
|
|
230
|
+
.spyderproject
|
|
231
|
+
.spyproject
|
|
232
|
+
|
|
233
|
+
# Rope project settings
|
|
234
|
+
.ropeproject
|
|
235
|
+
|
|
236
|
+
# mkdocs documentation
|
|
237
|
+
/site
|
|
238
|
+
|
|
239
|
+
# mypy
|
|
240
|
+
.mypy_cache/
|
|
241
|
+
.dmypy.json
|
|
242
|
+
dmypy.json
|
|
243
|
+
|
|
244
|
+
# Pyre type checker
|
|
245
|
+
.pyre/
|
|
246
|
+
|
|
247
|
+
# pytype static type analyzer
|
|
248
|
+
.pytype/
|
|
249
|
+
|
|
250
|
+
# Cython debug symbols
|
|
251
|
+
cython_debug/
|
|
252
|
+
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyrlutils
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Utility and Helpers for Reinformcement Learning
|
|
5
|
-
|
|
6
|
-
Author: Kwan-Yuet Ho
|
|
7
|
-
Author-email: stephenhky@yahoo.com.hk
|
|
5
|
+
Author-email: Kwan Yuet Stephen Ho <stephenhky@yahoo.com.hk>
|
|
8
6
|
License: MIT
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
Project-URL: Repository, https://github.com/stephenhky/PyRLUtils
|
|
8
|
+
Project-URL: Issues, https://github.com/stephenhky/PyRLUtils/issues
|
|
9
|
+
Keywords: machine learning,reinforcement leaning,artificial intelligence
|
|
11
10
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
13
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -16,10 +16,17 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
20
|
Classifier: Intended Audience :: Science/Research
|
|
20
21
|
Classifier: Intended Audience :: Developers
|
|
22
|
+
Requires-Python: >=3.7
|
|
21
23
|
Description-Content-Type: text/markdown
|
|
22
24
|
License-File: LICENSE
|
|
25
|
+
Requires-Dist: numpy
|
|
26
|
+
Provides-Extra: openaigym
|
|
27
|
+
Requires-Dist: gym; extra == "openaigym"
|
|
28
|
+
Provides-Extra: test
|
|
29
|
+
Requires-Dist: unittest; extra == "test"
|
|
23
30
|
|
|
24
31
|
# PyRLUtils
|
|
25
32
|
|
|
@@ -27,8 +34,9 @@ License-File: LICENSE
|
|
|
27
34
|
[](https://github.com/stephenhky/pyqentangle/PyRLUtils)
|
|
28
35
|
[](https://pypi.org/project/pyqentangle/)
|
|
29
36
|
[](https://pypi.org/project/PyRLUtils/)
|
|
37
|
+
[](https://pyup.io/repos/github/stephenhky/PyRLUtils/)
|
|
38
|
+
[](https://pyup.io/repos/github/stephenhky/PyRLUtils/)
|
|
39
|
+
|
|
30
40
|
|
|
31
41
|
This is a Python package with utility classes and helper functions for
|
|
32
42
|
that facilitates the development of any reinformecement learning projects.
|
|
33
|
-
|
|
34
|
-
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
[](https://github.com/stephenhky/pyqentangle/PyRLUtils)
|
|
5
5
|
[](https://pypi.org/project/pyqentangle/)
|
|
6
6
|
[](https://pypi.org/project/PyRLUtils/)
|
|
7
|
+
[](https://pyup.io/repos/github/stephenhky/PyRLUtils/)
|
|
8
|
+
[](https://pyup.io/repos/github/stephenhky/PyRLUtils/)
|
|
9
|
+
|
|
7
10
|
|
|
8
11
|
This is a Python package with utility classes and helper functions for
|
|
9
12
|
that facilitates the development of any reinformecement learning projects.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools", "setuptools-scm", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pyrlutils"
|
|
7
|
+
version = "0.0.3"
|
|
8
|
+
authors = [
|
|
9
|
+
{name = "Kwan Yuet Stephen Ho", email = "stephenhky@yahoo.com.hk"}
|
|
10
|
+
]
|
|
11
|
+
description = "Utility and Helpers for Reinformcement Learning"
|
|
12
|
+
readme = {file = "README.md", content-type = "text/markdown"}
|
|
13
|
+
license = {text = "MIT"}
|
|
14
|
+
keywords = ["machine learning", "reinforcement leaning", "artificial intelligence"]
|
|
15
|
+
requires-python = ">=3.7"
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Topic :: Scientific/Engineering :: Mathematics",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
20
|
+
"Topic :: Software Development :: Version Control :: Git",
|
|
21
|
+
"Programming Language :: Python :: 3.7",
|
|
22
|
+
"Programming Language :: Python :: 3.8",
|
|
23
|
+
"Programming Language :: Python :: 3.9",
|
|
24
|
+
"Programming Language :: Python :: 3.10",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Intended Audience :: Science/Research",
|
|
28
|
+
"Intended Audience :: Developers",
|
|
29
|
+
]
|
|
30
|
+
dependencies = ["numpy"]
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Repository = "https://github.com/stephenhky/PyRLUtils"
|
|
34
|
+
Issues = "https://github.com/stephenhky/PyRLUtils/issues"
|
|
35
|
+
|
|
36
|
+
[tool.setuptools]
|
|
37
|
+
packages = ["pyrlutils"]
|
|
38
|
+
zip-safe = false
|
|
39
|
+
|
|
40
|
+
[project.optional-dependencies]
|
|
41
|
+
openaigym = ["gym"]
|
|
42
|
+
test = ["unittest"]
|
|
@@ -14,7 +14,7 @@ from .policy import DiscreteDeterminsticPolicy
|
|
|
14
14
|
class OptimalPolicyOnValueFunctions:
|
|
15
15
|
def __init__(self, discount_factor: float, transprobfac: TransitionProbabilityFactory):
|
|
16
16
|
try:
|
|
17
|
-
assert
|
|
17
|
+
assert 0. <= discount_factor <= 1.
|
|
18
18
|
except AssertionError:
|
|
19
19
|
raise ValueError('Discount factor must be between 0 and 1.')
|
|
20
20
|
self._gamma = discount_factor
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyrlutils
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Utility and Helpers for Reinformcement Learning
|
|
5
|
-
|
|
6
|
-
Author: Kwan-Yuet Ho
|
|
7
|
-
Author-email: stephenhky@yahoo.com.hk
|
|
5
|
+
Author-email: Kwan Yuet Stephen Ho <stephenhky@yahoo.com.hk>
|
|
8
6
|
License: MIT
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
Project-URL: Repository, https://github.com/stephenhky/PyRLUtils
|
|
8
|
+
Project-URL: Issues, https://github.com/stephenhky/PyRLUtils/issues
|
|
9
|
+
Keywords: machine learning,reinforcement leaning,artificial intelligence
|
|
11
10
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
13
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -16,10 +16,17 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
20
|
Classifier: Intended Audience :: Science/Research
|
|
20
21
|
Classifier: Intended Audience :: Developers
|
|
22
|
+
Requires-Python: >=3.7
|
|
21
23
|
Description-Content-Type: text/markdown
|
|
22
24
|
License-File: LICENSE
|
|
25
|
+
Requires-Dist: numpy
|
|
26
|
+
Provides-Extra: openaigym
|
|
27
|
+
Requires-Dist: gym; extra == "openaigym"
|
|
28
|
+
Provides-Extra: test
|
|
29
|
+
Requires-Dist: unittest; extra == "test"
|
|
23
30
|
|
|
24
31
|
# PyRLUtils
|
|
25
32
|
|
|
@@ -27,8 +34,9 @@ License-File: LICENSE
|
|
|
27
34
|
[](https://github.com/stephenhky/pyqentangle/PyRLUtils)
|
|
28
35
|
[](https://pypi.org/project/pyqentangle/)
|
|
29
36
|
[](https://pypi.org/project/PyRLUtils/)
|
|
37
|
+
[](https://pyup.io/repos/github/stephenhky/PyRLUtils/)
|
|
38
|
+
[](https://pyup.io/repos/github/stephenhky/PyRLUtils/)
|
|
39
|
+
|
|
30
40
|
|
|
31
41
|
This is a Python package with utility classes and helper functions for
|
|
32
42
|
that facilitates the development of any reinformecement learning projects.
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.pyup.yml
|
|
1
3
|
LICENSE
|
|
2
4
|
MANIFEST.in
|
|
3
5
|
README.md
|
|
4
|
-
|
|
6
|
+
pyproject.toml
|
|
7
|
+
.circleci/config.yml
|
|
5
8
|
pyrlutils/__init__.py
|
|
6
9
|
pyrlutils/action.py
|
|
7
10
|
pyrlutils/policy.py
|
|
@@ -15,6 +18,7 @@ pyrlutils.egg-info/dependency_links.txt
|
|
|
15
18
|
pyrlutils.egg-info/not-zip-safe
|
|
16
19
|
pyrlutils.egg-info/requires.txt
|
|
17
20
|
pyrlutils.egg-info/top_level.txt
|
|
21
|
+
test/__init__.py
|
|
18
22
|
test/test_2ddiscrete.py
|
|
19
23
|
test/test_2dmaze.py
|
|
20
24
|
test/test_action.py
|
|
File without changes
|
pyrlutils-0.0.2/setup.py
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
from setuptools import setup
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def readme():
|
|
6
|
-
with open('README.md') as f:
|
|
7
|
-
return f.read()
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def install_requirements():
|
|
11
|
-
return [package_string.strip() for package_string in open('requirements.txt', 'r')]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
def package_description():
|
|
15
|
-
text = open('README.md', 'r').read()
|
|
16
|
-
return text
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
setup(
|
|
20
|
-
name='pyrlutils',
|
|
21
|
-
version="0.0.2",
|
|
22
|
-
description="Utility and Helpers for Reinformcement Learning",
|
|
23
|
-
long_description=package_description(),
|
|
24
|
-
long_description_content_type='text/markdown',
|
|
25
|
-
classifiers=[
|
|
26
|
-
"Topic :: Scientific/Engineering :: Mathematics",
|
|
27
|
-
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
28
|
-
"Topic :: Software Development :: Version Control :: Git",
|
|
29
|
-
"Programming Language :: Python :: 3.7",
|
|
30
|
-
"Programming Language :: Python :: 3.8",
|
|
31
|
-
"Programming Language :: Python :: 3.9",
|
|
32
|
-
"Programming Language :: Python :: 3.10",
|
|
33
|
-
"Programming Language :: Python :: 3.11",
|
|
34
|
-
"Intended Audience :: Science/Research",
|
|
35
|
-
"Intended Audience :: Developers",
|
|
36
|
-
],
|
|
37
|
-
keywords="machine learning, reinforcement leaning, artifiial intelligence",
|
|
38
|
-
url="https://github.com/stephenhky/PyRLUtils",
|
|
39
|
-
author="Kwan-Yuet Ho",
|
|
40
|
-
author_email="stephenhky@yahoo.com.hk",
|
|
41
|
-
license='MIT',
|
|
42
|
-
packages=[
|
|
43
|
-
'pyrlutils'
|
|
44
|
-
],
|
|
45
|
-
install_requires=install_requirements(),
|
|
46
|
-
tests_require=[
|
|
47
|
-
'unittest'
|
|
48
|
-
],
|
|
49
|
-
# scripts=[],
|
|
50
|
-
include_package_data=True,
|
|
51
|
-
test_suite="test",
|
|
52
|
-
zip_safe=False
|
|
53
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|