emod-generic 2.21.94__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.
- emod_generic-2.21.94/LICENSE +21 -0
- emod_generic-2.21.94/NOTICES.TXT +43 -0
- emod_generic-2.21.94/PKG-INFO +35 -0
- emod_generic-2.21.94/README.md +1 -0
- emod_generic-2.21.94/pyproject.toml +26 -0
- emod_generic-2.21.94/setup.cfg +4 -0
- emod_generic-2.21.94/src/emod_generic/Eradication.zip +0 -0
- emod_generic-2.21.94/src/emod_generic/__init__.py +0 -0
- emod_generic-2.21.94/src/emod_generic/bootstrap.py +39 -0
- emod_generic-2.21.94/src/emod_generic/schema.json.zip +0 -0
- emod_generic-2.21.94/src/emod_generic.egg-info/PKG-INFO +35 -0
- emod_generic-2.21.94/src/emod_generic.egg-info/SOURCES.txt +12 -0
- emod_generic-2.21.94/src/emod_generic.egg-info/dependency_links.txt +1 -0
- emod_generic-2.21.94/src/emod_generic.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 - 2025 Bill & Melinda Gates Foundation
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Epidemiological Modeling Copyright 2012 � 2015 Intellectual Ventures Management, LLC.
|
|
2
|
+
|
|
3
|
+
This product includes software developed at the following open source initiatives:
|
|
4
|
+
|
|
5
|
+
CAJUN C++ API for JSON
|
|
6
|
+
|
|
7
|
+
URL: http://sourceforge.net/projects/cajun-jsonapi/
|
|
8
|
+
source: http://sourceforge.net/projects/cajun-jsonapi/
|
|
9
|
+
license: Please see the LICENSE.TXT file in the cajun directory.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
rapidjson: A fast JSON parser/generator for C++ with box SAX/DOM style API
|
|
13
|
+
|
|
14
|
+
URL: http://code.google.com/p/rapidjson/
|
|
15
|
+
source: http://code.google.com/p/rapidjson/downloads/list
|
|
16
|
+
license: Please see the LICENSE.TXT file in the rapidjson directory.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
snappy: A fast compressor/decompressor
|
|
20
|
+
|
|
21
|
+
URL: https://code.google.com/p/snappy/
|
|
22
|
+
source: https://drive.google.com/file/d/0B0xs9kK-b5nMOWIxWGJhMXd6aGs/edit?usp=sharing
|
|
23
|
+
license: Please see the COPYING file in the snappy directory.
|
|
24
|
+
|
|
25
|
+
stringencoders: A collection of high performance c-string transformations
|
|
26
|
+
|
|
27
|
+
URL: http://code.google.com/p/stringencoders/
|
|
28
|
+
source: http://code.google.com/p/stringencoders/downloads/list
|
|
29
|
+
license: Please see the LICENSE.TXT file in the rapidjson\modp directory.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
tarball support
|
|
33
|
+
|
|
34
|
+
URL: http://plindenbaum.blogspot.com/2010/08/creating-tar-file-in-c.html
|
|
35
|
+
source: https://github.com/lindenb/cclindenb/tree/master/src/core/lindenb/io
|
|
36
|
+
license: Please see the LICENSE.TXT file in the reporters\libtajikreporter directory.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
UnitTest++
|
|
40
|
+
|
|
41
|
+
URL: http://sourceforge.net/projects/unittest-cpp/
|
|
42
|
+
source: http://sourceforge.net/projects/unittest-cpp/
|
|
43
|
+
license: Please see the COPYING file in the unittest\UnitTest++ directory.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: emod-generic
|
|
3
|
+
Version: 2.21.94
|
|
4
|
+
Summary: PyPI distribution of EMOD-Generic files.
|
|
5
|
+
Author-email: Kurt Frey <kfrey@idmod.org>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2020 - 2025 Bill & Melinda Gates Foundation
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
Project-URL: Homepage, https://github.com/EMOD-Hub/EMOD-Generic
|
|
28
|
+
Project-URL: Issues, https://github.com/EMOD-Hub/EMOD-Generic/issues
|
|
29
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
30
|
+
Requires-Python: >=3.9
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
License-File: LICENSE
|
|
33
|
+
License-File: NOTICES.TXT
|
|
34
|
+
|
|
35
|
+
## V2.21
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
## V2.21
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "emod-generic"
|
|
3
|
+
version = "2.21.94"
|
|
4
|
+
authors = [
|
|
5
|
+
{ name="Kurt Frey", email="kfrey@idmod.org" },
|
|
6
|
+
]
|
|
7
|
+
description = "PyPI distribution of EMOD-Generic files."
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
requires-python = ">=3.9"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"License :: OSI Approved :: MIT License",
|
|
12
|
+
]
|
|
13
|
+
license = {file = "LICENSE"}
|
|
14
|
+
|
|
15
|
+
[project.urls]
|
|
16
|
+
Homepage = "https://github.com/EMOD-Hub/EMOD-Generic"
|
|
17
|
+
Issues = "https://github.com/EMOD-Hub/EMOD-Generic/issues"
|
|
18
|
+
|
|
19
|
+
[build-system]
|
|
20
|
+
requires = [
|
|
21
|
+
"setuptools",
|
|
22
|
+
]
|
|
23
|
+
build-backend = "setuptools.build_meta"
|
|
24
|
+
|
|
25
|
+
[tool.setuptools.package-data]
|
|
26
|
+
"*" = ["*.zip"]
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import sys
|
|
5
|
+
import shutil
|
|
6
|
+
import zipfile
|
|
7
|
+
from glob import glob
|
|
8
|
+
|
|
9
|
+
def extract( package_name, local_dir ):
|
|
10
|
+
os.makedirs( local_dir, exist_ok=True )
|
|
11
|
+
os.chdir( local_dir )
|
|
12
|
+
|
|
13
|
+
pkgdir = sys.modules[package_name].__path__[0]
|
|
14
|
+
# extract all *.zip files in the package, preserve relative file paths
|
|
15
|
+
for fullpath in glob( os.path.join( pkgdir, "**/*.zip" ), recursive=True ):
|
|
16
|
+
# determine zip relative filepath
|
|
17
|
+
rel_filepath = os.path.relpath(fullpath, pkgdir)
|
|
18
|
+
rel_dir = os.path.dirname(rel_filepath)
|
|
19
|
+
if rel_dir and len(rel_dir) > 0:
|
|
20
|
+
os.makedirs( rel_dir, exist_ok=True )
|
|
21
|
+
# copy archive under current dir
|
|
22
|
+
temp_zip_path = os.path.join(os.getcwd(), rel_filepath)
|
|
23
|
+
shutil.copy( fullpath, temp_zip_path )
|
|
24
|
+
with zipfile.ZipFile( rel_filepath, 'r' ) as zip_ref:
|
|
25
|
+
zip_ref.extractall( rel_dir )
|
|
26
|
+
os.unlink( temp_zip_path )
|
|
27
|
+
|
|
28
|
+
os.chdir( ".." )
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def setup( local_dir="stash" ):
|
|
32
|
+
"""
|
|
33
|
+
Extract emod-generic binary (and schema) files into a local directory.
|
|
34
|
+
"""
|
|
35
|
+
extract( 'emod_generic', local_dir )
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == "__main__":
|
|
39
|
+
setup()
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: emod-generic
|
|
3
|
+
Version: 2.21.94
|
|
4
|
+
Summary: PyPI distribution of EMOD-Generic files.
|
|
5
|
+
Author-email: Kurt Frey <kfrey@idmod.org>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2020 - 2025 Bill & Melinda Gates Foundation
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
Project-URL: Homepage, https://github.com/EMOD-Hub/EMOD-Generic
|
|
28
|
+
Project-URL: Issues, https://github.com/EMOD-Hub/EMOD-Generic/issues
|
|
29
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
30
|
+
Requires-Python: >=3.9
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
License-File: LICENSE
|
|
33
|
+
License-File: NOTICES.TXT
|
|
34
|
+
|
|
35
|
+
## V2.21
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
NOTICES.TXT
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
src/emod_generic/Eradication.zip
|
|
6
|
+
src/emod_generic/__init__.py
|
|
7
|
+
src/emod_generic/bootstrap.py
|
|
8
|
+
src/emod_generic/schema.json.zip
|
|
9
|
+
src/emod_generic.egg-info/PKG-INFO
|
|
10
|
+
src/emod_generic.egg-info/SOURCES.txt
|
|
11
|
+
src/emod_generic.egg-info/dependency_links.txt
|
|
12
|
+
src/emod_generic.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
emod_generic
|