AMR 2.1.1.9123__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 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 ab_class
28
- from .functions import ab_selector
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
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 ab_class(ab_class, *args, **kwargs):
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.ab_class(ab_class, *args, **kwargs))
108
- def ab_selector(filter, *args, **kwargs):
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.ab_selector(filter, *args, **kwargs))
111
- def aminoglycosides(only_sir_columns = False, *args, **kwargs):
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(only_sir_columns = False, *args, **kwargs))
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(only_sir_columns = False, *args, **kwargs):
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(only_sir_columns = False, *args, **kwargs))
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(only_sir_columns = False, *args, **kwargs):
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(only_sir_columns = False, *args, **kwargs))
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(only_sir_columns = False, *args, **kwargs):
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(only_sir_columns = False, *args, **kwargs))
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))
@@ -174,9 +180,9 @@ def penicillins(only_sir_columns = False, *args, **kwargs):
174
180
  def phenicols(only_sir_columns = False, *args, **kwargs):
175
181
  """See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
176
182
  return convert_to_python(amr_r.phenicols(only_sir_columns = False, *args, **kwargs))
177
- def polymyxins(only_sir_columns = False, *args, **kwargs):
183
+ def polymyxins(*args, **kwargs):
178
184
  """See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
179
- return convert_to_python(amr_r.polymyxins(only_sir_columns = False, *args, **kwargs))
185
+ return convert_to_python(amr_r.polymyxins(*args, **kwargs))
180
186
  def quinolones(only_sir_columns = False, *args, **kwargs):
181
187
  """See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
182
188
  return convert_to_python(amr_r.quinolones(only_sir_columns = False, *args, **kwargs))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: AMR
3
- Version: 2.1.1.9123
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
@@ -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,,
@@ -1,7 +0,0 @@
1
- AMR/__init__.py,sha256=4srBWIndgfqanzEHiGDPuWXkvPNzPKKkEq3FdWXERgw,7398
2
- AMR/datasets.py,sha256=IDeqfVGjzvhMhKZRlS6Pc3xIO4HBlRDvPdQjDQ8qVTc,2426
3
- AMR/functions.py,sha256=7XO-wYlzxsdK9fkKW0mh20tj_-BWinbsZ6tDrEIauEE,44127
4
- AMR-2.1.1.9123.dist-info/METADATA,sha256=cMsISRVm_TuXA_Qv7z1lB7W3Url7CHGSMxG-FNBBK3E,9625
5
- AMR-2.1.1.9123.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- AMR-2.1.1.9123.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
- AMR-2.1.1.9123.dist-info/RECORD,,