ngcsimlib 0.2b0__tar.gz → 0.2b2__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.
- {ngcsimlib-0.2b0/ngcsimlib.egg-info → ngcsimlib-0.2b2}/PKG-INFO +8 -4
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/README.md +7 -3
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/__init__.py +4 -2
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2/ngcsimlib.egg-info}/PKG-INFO +8 -4
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib.egg-info/top_level.txt +0 -1
- ngcsimlib-0.2b2/pyproject.toml +22 -0
- ngcsimlib-0.2b0/pyproject.toml +0 -114
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/AUTHORS +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/LICENSE +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/bundle_rules.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/__init__.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/advanceState.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/clamp.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/command.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/compound.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/evolve.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/multiclamp.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/reset.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/save.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/snapshot.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/commands/track.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/component.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/controller.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib/utils.py +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib.egg-info/SOURCES.txt +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/ngcsimlib.egg-info/dependency_links.txt +0 -0
- {ngcsimlib-0.2b0 → ngcsimlib-0.2b2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngcsimlib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2b2
|
|
4
4
|
Summary: Simulation software backend for ngc-learn.
|
|
5
5
|
Author-email: William Gebhardt <wdg1351@rit.edu>, Alexander Ororbia <ago@cs.rit.edu>
|
|
6
6
|
License: BSD-3-Clause License
|
|
@@ -40,12 +40,16 @@ your system. Note that this library was developed and tested on
|
|
|
40
40
|
Ubuntu 22.04.3 LTS. ngc-sim-lib requires: `Python (>=3.10)`.
|
|
41
41
|
|
|
42
42
|
Once you have ensured that the appropriate Python is installed, you can then
|
|
43
|
-
have the <code>
|
|
44
|
-
|
|
43
|
+
have the <code>ngcsimlib</code> package installed on your system using either
|
|
44
|
+
the official pip install:
|
|
45
|
+
<pre>
|
|
46
|
+
$ pip install ngcsimlib
|
|
47
|
+
</pre>
|
|
48
|
+
or, if you download this repo and use pip locally, you can run the following:
|
|
45
49
|
<pre>
|
|
46
50
|
$ pip install .
|
|
47
51
|
</pre>
|
|
48
|
-
|
|
52
|
+
Alternatively, if you are doing development, then do an editable install via:
|
|
49
53
|
<pre>
|
|
50
54
|
$ pip install --editable . # OR pip install -e .
|
|
51
55
|
</pre>
|
|
@@ -26,12 +26,16 @@ your system. Note that this library was developed and tested on
|
|
|
26
26
|
Ubuntu 22.04.3 LTS. ngc-sim-lib requires: `Python (>=3.10)`.
|
|
27
27
|
|
|
28
28
|
Once you have ensured that the appropriate Python is installed, you can then
|
|
29
|
-
have the <code>
|
|
30
|
-
|
|
29
|
+
have the <code>ngcsimlib</code> package installed on your system using either
|
|
30
|
+
the official pip install:
|
|
31
|
+
<pre>
|
|
32
|
+
$ pip install ngcsimlib
|
|
33
|
+
</pre>
|
|
34
|
+
or, if you download this repo and use pip locally, you can run the following:
|
|
31
35
|
<pre>
|
|
32
36
|
$ pip install .
|
|
33
37
|
</pre>
|
|
34
|
-
|
|
38
|
+
Alternatively, if you are doing development, then do an editable install via:
|
|
35
39
|
<pre>
|
|
36
40
|
$ pip install --editable . # OR pip install -e .
|
|
37
41
|
</pre>
|
|
@@ -17,7 +17,8 @@ def preload():
|
|
|
17
17
|
parser = argparse.ArgumentParser(description='Build and run a model using ngclearn')
|
|
18
18
|
parser.add_argument("--modules", type=str, help='location of modules.json file')
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
## ngc-sim-lib only cares about --modules argument
|
|
21
|
+
args, unknown = parser.parse_known_args() #args = parser.parse_args()
|
|
21
22
|
try:
|
|
22
23
|
module_path = args.modules
|
|
23
24
|
except:
|
|
@@ -47,4 +48,5 @@ def preload():
|
|
|
47
48
|
utils._Loaded_Attributes[keyword] = atr
|
|
48
49
|
|
|
49
50
|
if not Path(argv[0]).name == "sphinx-build" or Path(argv[0]).name == "build.py":
|
|
50
|
-
preload
|
|
51
|
+
if "readthedocs" not in argv[0]: ## prevent readthedocs execution of preload
|
|
52
|
+
preload()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngcsimlib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2b2
|
|
4
4
|
Summary: Simulation software backend for ngc-learn.
|
|
5
5
|
Author-email: William Gebhardt <wdg1351@rit.edu>, Alexander Ororbia <ago@cs.rit.edu>
|
|
6
6
|
License: BSD-3-Clause License
|
|
@@ -40,12 +40,16 @@ your system. Note that this library was developed and tested on
|
|
|
40
40
|
Ubuntu 22.04.3 LTS. ngc-sim-lib requires: `Python (>=3.10)`.
|
|
41
41
|
|
|
42
42
|
Once you have ensured that the appropriate Python is installed, you can then
|
|
43
|
-
have the <code>
|
|
44
|
-
|
|
43
|
+
have the <code>ngcsimlib</code> package installed on your system using either
|
|
44
|
+
the official pip install:
|
|
45
|
+
<pre>
|
|
46
|
+
$ pip install ngcsimlib
|
|
47
|
+
</pre>
|
|
48
|
+
or, if you download this repo and use pip locally, you can run the following:
|
|
45
49
|
<pre>
|
|
46
50
|
$ pip install .
|
|
47
51
|
</pre>
|
|
48
|
-
|
|
52
|
+
Alternatively, if you are doing development, then do an editable install via:
|
|
49
53
|
<pre>
|
|
50
54
|
$ pip install --editable . # OR pip install -e .
|
|
51
55
|
</pre>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "ngcsimlib"
|
|
7
|
+
version = "0.2.beta2"
|
|
8
|
+
|
|
9
|
+
description = "Simulation software backend for ngc-learn."
|
|
10
|
+
authors = [
|
|
11
|
+
{name = "William Gebhardt", email = "wdg1351@rit.edu"},
|
|
12
|
+
{name = "Alexander Ororbia", email = "ago@cs.rit.edu"},
|
|
13
|
+
]
|
|
14
|
+
readme = "README.md"
|
|
15
|
+
keywords = ['python', 'complex-systems', 'simulation']
|
|
16
|
+
requires-python = ">=3.10"
|
|
17
|
+
license = {text = "BSD-3-Clause License"}
|
|
18
|
+
|
|
19
|
+
[project.urls]
|
|
20
|
+
Homepage = "https://github.com/NACLab/ngc-sim-lib"
|
|
21
|
+
"Lab Page" = "https://www.cs.rit.edu/~ago/nac_lab.html"
|
|
22
|
+
|
ngcsimlib-0.2b0/pyproject.toml
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools>=61.0"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "ngcsimlib"
|
|
7
|
-
version = "0.2.beta0"
|
|
8
|
-
|
|
9
|
-
description = "Simulation software backend for ngc-learn."
|
|
10
|
-
authors = [
|
|
11
|
-
{name = "William Gebhardt", email = "wdg1351@rit.edu"},
|
|
12
|
-
{name = "Alexander Ororbia", email = "ago@cs.rit.edu"},
|
|
13
|
-
]
|
|
14
|
-
readme = "README.md"
|
|
15
|
-
keywords = ['python', 'complex-systems', 'simulation']
|
|
16
|
-
requires-python = ">=3.10"
|
|
17
|
-
license = {text = "BSD-3-Clause License"}
|
|
18
|
-
|
|
19
|
-
[project.urls]
|
|
20
|
-
Homepage = "https://github.com/NACLab/ngc-sim-lib"
|
|
21
|
-
"Lab Page" = "https://www.cs.rit.edu/~ago/nac_lab.html"
|
|
22
|
-
|
|
23
|
-
[tool.setuptools.packages.find]
|
|
24
|
-
exclude = ["tutorials"]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
###OLD SETUP FOR LATER, REMOVE WHEN DONE
|
|
32
|
-
|
|
33
|
-
#setup.py
|
|
34
|
-
#from setuptools import setup, find_packages
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#VERSION = '0.1.0'
|
|
39
|
-
#
|
|
40
|
-
#DESCRIPTION = 'NGC-Lib'
|
|
41
|
-
#
|
|
42
|
-
#LONG_DESCRIPTION = 'Simulation object back-end for ngc-learn.'
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
#packages = find_packages()
|
|
47
|
-
#
|
|
48
|
-
## Ensure that we do not pollute the global namespace.
|
|
49
|
-
#
|
|
50
|
-
#for p in packages:
|
|
51
|
-
#
|
|
52
|
-
# #print(p)
|
|
53
|
-
#
|
|
54
|
-
# assert p == 'ngclib' or p.startswith('ngclib.')
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
-
## Setting up software package construction
|
|
59
|
-
#
|
|
60
|
-
#setup(
|
|
61
|
-
#
|
|
62
|
-
# # name of package must match the folder name 'ngclearn'
|
|
63
|
-
#
|
|
64
|
-
# name="ngclib",
|
|
65
|
-
#
|
|
66
|
-
# version=VERSION,
|
|
67
|
-
#
|
|
68
|
-
# author="William Gebhardt, Alex Ororbia",
|
|
69
|
-
#
|
|
70
|
-
# author_email="<wdg1351@g.rit.edu>",
|
|
71
|
-
#
|
|
72
|
-
# description=DESCRIPTION,
|
|
73
|
-
#
|
|
74
|
-
# long_description=LONG_DESCRIPTION,
|
|
75
|
-
#
|
|
76
|
-
# packages=packages,
|
|
77
|
-
#
|
|
78
|
-
# license="BSD-3-Clause License",
|
|
79
|
-
#
|
|
80
|
-
# url='https://github.com/NACLab/ngclib',
|
|
81
|
-
#
|
|
82
|
-
# install_requires=[], # add any additional packages that need to be installed along with your package
|
|
83
|
-
#
|
|
84
|
-
# keywords=['python', 'ngclib', 'jax', 'biophysics', 'biomimetics', 'bionics'],
|
|
85
|
-
#
|
|
86
|
-
# classifiers= [
|
|
87
|
-
#
|
|
88
|
-
# "Development Status :: 3 - Alpha",
|
|
89
|
-
#
|
|
90
|
-
# "Intended Audience :: Education",
|
|
91
|
-
#
|
|
92
|
-
# "Intended Audience :: Science/Research",
|
|
93
|
-
#
|
|
94
|
-
# "Intended Audience :: Developers",
|
|
95
|
-
#
|
|
96
|
-
# "License :: OSI Approved :: BSD-3-Clause License",
|
|
97
|
-
#
|
|
98
|
-
# "Topic :: Scientific/Engineering",
|
|
99
|
-
#
|
|
100
|
-
# "Topic :: Scientific/Engineering :: Mathematics",
|
|
101
|
-
#
|
|
102
|
-
# "Topic :: Scientific/Engineering :: Cognitive Science",
|
|
103
|
-
#
|
|
104
|
-
# "Topic :: Scientific/Engineering :: Computational Neuroscience",
|
|
105
|
-
#
|
|
106
|
-
# "Programming Language :: Python :: 3.9",
|
|
107
|
-
#
|
|
108
|
-
# "Programming Language :: Python :: 3.10",
|
|
109
|
-
#
|
|
110
|
-
# "Operating System :: Linux :: Ubuntu"
|
|
111
|
-
#
|
|
112
|
-
# ]
|
|
113
|
-
#
|
|
114
|
-
#)
|
|
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
|
|
File without changes
|