piegy 2.0.0__tar.gz → 2.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: piegy
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Payoff-Driven Stochastic Spatial Model for Evolutionary Game Theory
5
5
  Author-email: Chenning Xu <cxu7@caltech.edu>
6
6
  License: BSD 3-Clause License
@@ -82,6 +82,10 @@ We use the Gillepie algorithm as the fundamental event-selection algorithm. At e
82
82
 
83
83
  The *piegy* package also provides a wide range of analytic and supportive tools alongside the main model, such as plotting, numerical tools, data saving & reading, etc. We also provide the *piegy.videos* module for more direct visualizations such as how population distribution change over time.
84
84
 
85
+ ## C Core
86
+
87
+ From version 2 on, the *piegy* simulations are now equipped with a C core, which makes it significantly faster than previous versions.
88
+
85
89
  ## Examples
86
90
 
87
91
  To get started, simply get our demo model and run simulation:
@@ -27,6 +27,10 @@ We use the Gillepie algorithm as the fundamental event-selection algorithm. At e
27
27
 
28
28
  The *piegy* package also provides a wide range of analytic and supportive tools alongside the main model, such as plotting, numerical tools, data saving & reading, etc. We also provide the *piegy.videos* module for more direct visualizations such as how population distribution change over time.
29
29
 
30
+ ## C Core
31
+
32
+ From version 2 on, the *piegy* simulations are now equipped with a C core, which makes it significantly faster than previous versions.
33
+
30
34
  ## Examples
31
35
 
32
36
  To get started, simply get our demo model and run simulation:
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
4
4
 
5
5
  [project]
6
6
  name = 'piegy'
7
- version = '2.0.0'
7
+ version = '2.0.2'
8
8
  description = 'Payoff-Driven Stochastic Spatial Model for Evolutionary Game Theory'
9
9
  readme = 'README.md'
10
10
  requires-python = '>=3.6'
@@ -42,3 +42,7 @@ package-dir = {'' = 'src'}
42
42
  [tool.setuptools.packages.find]
43
43
  where = ['src']
44
44
 
45
+ [tool.setuptools.package-data]
46
+ "piegy" = ["C_core/piegyc.so"]
47
+
48
+
Binary file
@@ -1,4 +1,4 @@
1
- __version__ = '1.1.2'
1
+ __version__ = '2.0.2'
2
2
 
3
3
  '''
4
4
  version history:
@@ -22,4 +22,6 @@ version history:
22
22
  1.1.6: change name of variables in model class -- for compatability with the new C core. 1.1.6 is the last verion of v1. From v2 on, the piegy package has C core.
23
23
 
24
24
  2.0.0: update simulation core to C-based.
25
+ 2.0.1: re-upload, the C core is not included in package.
26
+ 2.0.2: update version number in __version__.py and update README.
25
27
  '''
@@ -5,7 +5,7 @@ But you can still run them by calling:
5
5
  >>> run_py(mod)
6
6
  '''
7
7
 
8
- from simulation import model
8
+ from . import simulation
9
9
 
10
10
  import math
11
11
  import numpy as np
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: piegy
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Payoff-Driven Stochastic Spatial Model for Evolutionary Game Theory
5
5
  Author-email: Chenning Xu <cxu7@caltech.edu>
6
6
  License: BSD 3-Clause License
@@ -82,6 +82,10 @@ We use the Gillepie algorithm as the fundamental event-selection algorithm. At e
82
82
 
83
83
  The *piegy* package also provides a wide range of analytic and supportive tools alongside the main model, such as plotting, numerical tools, data saving & reading, etc. We also provide the *piegy.videos* module for more direct visualizations such as how population distribution change over time.
84
84
 
85
+ ## C Core
86
+
87
+ From version 2 on, the *piegy* simulations are now equipped with a C core, which makes it significantly faster than previous versions.
88
+
85
89
  ## Examples
86
90
 
87
91
  To get started, simply get our demo model and run simulation:
@@ -16,6 +16,7 @@ src/piegy.egg-info/SOURCES.txt
16
16
  src/piegy.egg-info/dependency_links.txt
17
17
  src/piegy.egg-info/requires.txt
18
18
  src/piegy.egg-info/top_level.txt
19
+ src/piegy/C_core/piegyc.so
19
20
  src/piegy/tools/__init__.py
20
21
  src/piegy/tools/figure_tools.py
21
22
  src/piegy/tools/file_tools.py
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