AMR 2.1.1.9122__py3-none-any.whl → 2.1.1.9125__py3-none-any.whl
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.
- AMR/__init__.py +5 -2
- AMR/functions.py +23 -14
- {AMR-2.1.1.9122.dist-info → AMR-2.1.1.9125.dist-info}/METADATA +13 -2
- AMR-2.1.1.9125.dist-info/RECORD +7 -0
- {AMR-2.1.1.9122.dist-info → AMR-2.1.1.9125.dist-info}/WHEEL +1 -1
- AMR-2.1.1.9122.dist-info/RECORD +0 -7
- {AMR-2.1.1.9122.dist-info → AMR-2.1.1.9125.dist-info}/top_level.txt +0 -0
AMR/__init__.py
CHANGED
@@ -2,6 +2,8 @@ from .datasets import example_isolates
|
|
2
2
|
from .datasets import microorganisms
|
3
3
|
from .datasets import antibiotics
|
4
4
|
from .datasets import clinical_breakpoints
|
5
|
+
from .functions import ab_class
|
6
|
+
from .functions import ab_selector
|
5
7
|
from .functions import ab_from_text
|
6
8
|
from .functions import ab_name
|
7
9
|
from .functions import ab_cid
|
@@ -24,8 +26,8 @@ from .functions import clear_custom_microorganisms
|
|
24
26
|
from .functions import age
|
25
27
|
from .functions import age_groups
|
26
28
|
from .functions import antibiogram
|
27
|
-
from .functions import
|
28
|
-
from .functions import
|
29
|
+
from .functions import amr_class
|
30
|
+
from .functions import amr_selector
|
29
31
|
from .functions import aminoglycosides
|
30
32
|
from .functions import aminopenicillins
|
31
33
|
from .functions import antifungals
|
@@ -47,6 +49,7 @@ from .functions import macrolides
|
|
47
49
|
from .functions import nitrofurans
|
48
50
|
from .functions import oxazolidinones
|
49
51
|
from .functions import penicillins
|
52
|
+
from .functions import phenicols
|
50
53
|
from .functions import polymyxins
|
51
54
|
from .functions import quinolones
|
52
55
|
from .functions import rifamycins
|
AMR/functions.py
CHANGED
@@ -36,6 +36,12 @@ def convert_to_python(r_output):
|
|
36
36
|
|
37
37
|
# Fall-back
|
38
38
|
return r_output
|
39
|
+
def ab_class(*args, **kwargs):
|
40
|
+
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
41
|
+
return convert_to_python(amr_r.ab_class(*args, **kwargs))
|
42
|
+
def ab_selector(*args, **kwargs):
|
43
|
+
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
44
|
+
return convert_to_python(amr_r.ab_selector(*args, **kwargs))
|
39
45
|
def ab_from_text(*args, **kwargs):
|
40
46
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
41
47
|
return convert_to_python(amr_r.ab_from_text(*args, **kwargs))
|
@@ -102,15 +108,15 @@ def age_groups(x, *args, **kwargs):
|
|
102
108
|
def antibiogram(*args, **kwargs):
|
103
109
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
104
110
|
return convert_to_python(amr_r.antibiogram(*args, **kwargs))
|
105
|
-
def
|
111
|
+
def amr_class(*args, **kwargs):
|
106
112
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
107
|
-
return convert_to_python(amr_r.
|
108
|
-
def
|
113
|
+
return convert_to_python(amr_r.amr_class(*args, **kwargs))
|
114
|
+
def amr_selector(*args, **kwargs):
|
109
115
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
110
|
-
return convert_to_python(amr_r.
|
111
|
-
def aminoglycosides(
|
116
|
+
return convert_to_python(amr_r.amr_selector(*args, **kwargs))
|
117
|
+
def aminoglycosides(*args, **kwargs):
|
112
118
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
113
|
-
return convert_to_python(amr_r.aminoglycosides(
|
119
|
+
return convert_to_python(amr_r.aminoglycosides(*args, **kwargs))
|
114
120
|
def aminopenicillins(only_sir_columns = False, *args, **kwargs):
|
115
121
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
116
122
|
return convert_to_python(amr_r.aminopenicillins(only_sir_columns = False, *args, **kwargs))
|
@@ -120,15 +126,15 @@ def antifungals(only_sir_columns = False, *args, **kwargs):
|
|
120
126
|
def antimycobacterials(only_sir_columns = False, *args, **kwargs):
|
121
127
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
122
128
|
return convert_to_python(amr_r.antimycobacterials(only_sir_columns = False, *args, **kwargs))
|
123
|
-
def betalactams(
|
129
|
+
def betalactams(*args, **kwargs):
|
124
130
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
125
|
-
return convert_to_python(amr_r.betalactams(
|
131
|
+
return convert_to_python(amr_r.betalactams(*args, **kwargs))
|
126
132
|
def betalactams_with_inhibitor(only_sir_columns = False, *args, **kwargs):
|
127
133
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
128
134
|
return convert_to_python(amr_r.betalactams_with_inhibitor(only_sir_columns = False, *args, **kwargs))
|
129
|
-
def carbapenems(
|
135
|
+
def carbapenems(*args, **kwargs):
|
130
136
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
131
|
-
return convert_to_python(amr_r.carbapenems(
|
137
|
+
return convert_to_python(amr_r.carbapenems(*args, **kwargs))
|
132
138
|
def cephalosporins(only_sir_columns = False, *args, **kwargs):
|
133
139
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
134
140
|
return convert_to_python(amr_r.cephalosporins(only_sir_columns = False, *args, **kwargs))
|
@@ -153,9 +159,9 @@ def fluoroquinolones(only_sir_columns = False, *args, **kwargs):
|
|
153
159
|
def glycopeptides(only_sir_columns = False, *args, **kwargs):
|
154
160
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
155
161
|
return convert_to_python(amr_r.glycopeptides(only_sir_columns = False, *args, **kwargs))
|
156
|
-
def lincosamides(
|
162
|
+
def lincosamides(*args, **kwargs):
|
157
163
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
158
|
-
return convert_to_python(amr_r.lincosamides(
|
164
|
+
return convert_to_python(amr_r.lincosamides(*args, **kwargs))
|
159
165
|
def lipoglycopeptides(only_sir_columns = False, *args, **kwargs):
|
160
166
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
161
167
|
return convert_to_python(amr_r.lipoglycopeptides(only_sir_columns = False, *args, **kwargs))
|
@@ -171,9 +177,12 @@ def oxazolidinones(only_sir_columns = False, *args, **kwargs):
|
|
171
177
|
def penicillins(only_sir_columns = False, *args, **kwargs):
|
172
178
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
173
179
|
return convert_to_python(amr_r.penicillins(only_sir_columns = False, *args, **kwargs))
|
174
|
-
def
|
180
|
+
def phenicols(only_sir_columns = False, *args, **kwargs):
|
181
|
+
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
182
|
+
return convert_to_python(amr_r.phenicols(only_sir_columns = False, *args, **kwargs))
|
183
|
+
def polymyxins(*args, **kwargs):
|
175
184
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
176
|
-
return convert_to_python(amr_r.polymyxins(
|
185
|
+
return convert_to_python(amr_r.polymyxins(*args, **kwargs))
|
177
186
|
def quinolones(only_sir_columns = False, *args, **kwargs):
|
178
187
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
179
188
|
return convert_to_python(amr_r.quinolones(only_sir_columns = False, *args, **kwargs))
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: AMR
|
3
|
-
Version: 2.1.1.
|
3
|
+
Version: 2.1.1.9125
|
4
4
|
Summary: A Python wrapper for the AMR R package
|
5
5
|
Home-page: https://github.com/msberends/AMR
|
6
6
|
Author: Matthijs Berends
|
@@ -14,6 +14,17 @@ Description-Content-Type: text/markdown
|
|
14
14
|
Requires-Dist: rpy2
|
15
15
|
Requires-Dist: numpy
|
16
16
|
Requires-Dist: pandas
|
17
|
+
Dynamic: author
|
18
|
+
Dynamic: author-email
|
19
|
+
Dynamic: classifier
|
20
|
+
Dynamic: description
|
21
|
+
Dynamic: description-content-type
|
22
|
+
Dynamic: home-page
|
23
|
+
Dynamic: license
|
24
|
+
Dynamic: project-url
|
25
|
+
Dynamic: requires-dist
|
26
|
+
Dynamic: requires-python
|
27
|
+
Dynamic: summary
|
17
28
|
|
18
29
|
|
19
30
|
The `AMR` package for R is a powerful tool for antimicrobial resistance (AMR) analysis. It provides extensive features for handling microbial and antimicrobial data. However, for those who work primarily in Python, we now have a more intuitive option available: the [`AMR` Python Package Index](https://pypi.org/project/AMR/).
|
@@ -0,0 +1,7 @@
|
|
1
|
+
AMR/__init__.py,sha256=cSUa6bz_aXEUR5o0D3dh8opo6XdlgS10hoIgYH1r_mY,7467
|
2
|
+
AMR/datasets.py,sha256=IDeqfVGjzvhMhKZRlS6Pc3xIO4HBlRDvPdQjDQ8qVTc,2426
|
3
|
+
AMR/functions.py,sha256=FmEKlH-hCyJBaJIU6dCX6WAKjYhhpGAo4qSwHP_XkzE,44231
|
4
|
+
AMR-2.1.1.9125.dist-info/METADATA,sha256=-djWW_YblmGp77vLBC2SNMUBvzH9h2kciSISdA1s8cE,9625
|
5
|
+
AMR-2.1.1.9125.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
6
|
+
AMR-2.1.1.9125.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
|
7
|
+
AMR-2.1.1.9125.dist-info/RECORD,,
|
AMR-2.1.1.9122.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
AMR/__init__.py,sha256=8hgiVqjC1kzed13FQAb9cyqY2B-bL7WHKTXihX5ozl4,7365
|
2
|
-
AMR/datasets.py,sha256=IDeqfVGjzvhMhKZRlS6Pc3xIO4HBlRDvPdQjDQ8qVTc,2426
|
3
|
-
AMR/functions.py,sha256=8RzhIJtJDndVVxP9jyYSVqUErvLshmGg5_Ra-iWCjK4,43878
|
4
|
-
AMR-2.1.1.9122.dist-info/METADATA,sha256=fjdb5KVb0mfh4R9JmO7IwWLz9cQv1xWOLQBnzmOqkLU,9390
|
5
|
-
AMR-2.1.1.9122.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
6
|
-
AMR-2.1.1.9122.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
|
7
|
-
AMR-2.1.1.9122.dist-info/RECORD,,
|
File without changes
|