electrokitty 1.0.2__tar.gz → 1.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.
Files changed (23) hide show
  1. {electrokitty-1.0.2 → electrokitty-1.0.3}/PKG-INFO +3 -3
  2. electrokitty-1.0.3/README.md +7 -0
  3. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/cpp_code/electokitty_helper_file.cpp +4 -4
  4. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty.egg-info/PKG-INFO +3 -3
  5. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty.egg-info/SOURCES.txt +1 -3
  6. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty.egg-info/not-zip-safe +1 -1
  7. electrokitty-1.0.3/electrokitty.egg-info/requires.txt +6 -0
  8. {electrokitty-1.0.2 → electrokitty-1.0.3}/setup.py +10 -9
  9. electrokitty-1.0.2/README.md +0 -5
  10. electrokitty-1.0.2/electrokitty.egg-info/requires.txt +0 -6
  11. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/ElectroKitty_MCMC_sampler.py +0 -0
  12. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/ElectroKitty_base_class.py +0 -0
  13. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/ElectroKitty_loss_functions.py +0 -0
  14. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/ElectroKitty_optimization_controler.py +0 -0
  15. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/ElectroKitty_parser.py +0 -0
  16. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/ElectroKitty_simulator.py +0 -0
  17. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/__init__.py +0 -0
  18. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/cpp_code/__init__.py +0 -0
  19. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/cpp_code/electrokitty_simulator.cpp +0 -0
  20. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty/optimization_routines.py +0 -0
  21. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty.egg-info/dependency_links.txt +0 -0
  22. {electrokitty-1.0.2 → electrokitty-1.0.3}/electrokitty.egg-info/top_level.txt +0 -0
  23. {electrokitty-1.0.2 → electrokitty-1.0.3}/setup.cfg +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: electrokitty
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A simulation and simple analysis tool for electrochemical data
5
- Home-page: UNKNOWN
5
+ Home-page: https://github.com/RedrumKid/ElectroKitty
6
6
  Author: Ožbej Vodeb
7
7
  Author-email: ozbej.vodeb@gmail.com
8
8
  License: BSD
9
- Description: More information comming soon
9
+ Description: UNKNOWN
10
10
  Platform: UNKNOWN
11
11
  Requires-Python: >=3.7
@@ -0,0 +1,7 @@
1
+ An Electrochemical simulator build in Python and C++
2
+
3
+ To install run: pip install electrokitty
4
+
5
+ The package offers a simulator capable of simulating various electrochemical
6
+ and chemical reaction mechanisms, a way to fit your mechanisms parameters, as well as other
7
+ data treating optinons.
@@ -39,7 +39,7 @@ struct EC_kinetics{
39
39
  f = F/R/T;
40
40
  el_nums = els;
41
41
  vector<double> step_types(2);
42
- for (int i = 0; i<consts.size(); i++){
42
+ for (int i = 0; i<int(consts.size()); i++){
43
43
  step_types[0] = 1.;
44
44
  step_types[1] = 1.;
45
45
  if (kinetic_types[i]==1){
@@ -119,7 +119,7 @@ struct Params{
119
119
 
120
120
  double iterate_over_concentration(vector<int> step, vector<double> c, double term, vector<double>isotherm){
121
121
  int j;
122
- for(int i = 0; i<step.size(); i++){
122
+ for(int i = 0; i<int(step.size()); i++){
123
123
  j = step[i];
124
124
  term*=c[j]*exp(-isotherm[j]*c[j]);
125
125
  }
@@ -136,7 +136,7 @@ struct Params{
136
136
 
137
137
  vector<double> update_K_matrix(vector<double> k_matrix, double term_f, double term_b, vector<int> step){
138
138
  vector<int> check;
139
- for (int i = 0; i<step.size(); i++){
139
+ for (int i = 0; i<int(step.size()); i++){
140
140
  if (find(check.begin(), check.end(), step[i]) == check.end() ){
141
141
  check.push_back(step[i]);
142
142
  k_matrix[step[i]]+=-term_f;
@@ -223,7 +223,7 @@ struct Params{
223
223
 
224
224
  double vector_dot_product(vector<double> a, vector<double> b){
225
225
  double product = 0.;
226
- for(int i = 0; i<a.size(); i++){
226
+ for(int i = 0; i<int(a.size()); i++){
227
227
  product+=a[i]*b[i];
228
228
  }
229
229
  return product;
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: electrokitty
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A simulation and simple analysis tool for electrochemical data
5
- Home-page: UNKNOWN
5
+ Home-page: https://github.com/RedrumKid/ElectroKitty
6
6
  Author: Ožbej Vodeb
7
7
  Author-email: ozbej.vodeb@gmail.com
8
8
  License: BSD
9
- Description: More information comming soon
9
+ Description: UNKNOWN
10
10
  Platform: UNKNOWN
11
11
  Requires-Python: >=3.7
@@ -16,6 +16,4 @@ electrokitty.egg-info/dependency_links.txt
16
16
  electrokitty.egg-info/not-zip-safe
17
17
  electrokitty.egg-info/requires.txt
18
18
  electrokitty.egg-info/top_level.txt
19
- electrokitty/cpp_code/__init__.py
20
- electrokitty/cpp_code/electokitty_helper_file.cpp
21
- electrokitty/cpp_code/electrokitty_simulator.cpp
19
+ electrokitty/cpp_code/__init__.py
@@ -0,0 +1,6 @@
1
+ cma>=3.3.0
2
+ matplotlib>=3.8.0
3
+ numpy>=1.26.4
4
+ pybind11>=2.13.5
5
+ scipy>=1.11.3
6
+ setuptoold>=68.2.2
@@ -1,7 +1,7 @@
1
1
  from pybind11.setup_helpers import Pybind11Extension, build_ext
2
2
  from setuptools import setup, find_packages
3
3
 
4
- __version__ = "1.0.2"
4
+ __version__ = "1.0.3"
5
5
 
6
6
  ext_modules = [
7
7
  Pybind11Extension(
@@ -16,17 +16,18 @@ setup(
16
16
  version=__version__,
17
17
  author="Ožbej Vodeb",
18
18
  author_email="ozbej.vodeb@gmail.com",
19
- #url="https://github.com/pybind/python_example",
19
+ url="https://github.com/RedrumKid/ElectroKitty",
20
20
  description="A simulation and simple analysis tool for electrochemical data",
21
- long_description="More information comming soon ",
22
21
  packages = find_packages(),
23
22
  ext_modules=ext_modules,
24
- install_requires=["numpy",
25
- "scipy",
26
- "matplotlib",
27
- "pandas",
28
- "galvani",
29
- "pybind11"],
23
+ install_requires=[
24
+ "setuptoold >= 68.2.2",
25
+ "pybind11 >= 2.13.5",
26
+ "numpy >= 1.26.4",
27
+ "scipy >= 1.11.3",
28
+ "matplotlib >= 3.8.0",
29
+ "cma >= 3.3.0"
30
+ ],
30
31
  cmdclass={"build_ext": build_ext},
31
32
  zip_safe=False,
32
33
  python_requires=">=3.7",
@@ -1,5 +0,0 @@
1
- An Electrochemical simulator build in Python and C++
2
-
3
- to install run pip install electrokitty
4
-
5
- More information comming soon
@@ -1,6 +0,0 @@
1
- galvani
2
- matplotlib
3
- numpy
4
- pandas
5
- pybind11
6
- scipy
File without changes