numerapi 2.20.8__tar.gz → 2.22.0__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 (27) hide show
  1. {numerapi-2.20.8 → numerapi-2.22.0}/PKG-INFO +44 -26
  2. {numerapi-2.20.8 → numerapi-2.22.0}/README.md +25 -24
  3. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi/__init__.py +3 -0
  4. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi/base_api.py +247 -216
  5. numerapi-2.22.0/numerapi/cli.py +305 -0
  6. numerapi-2.22.0/numerapi/cryptoapi.py +49 -0
  7. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi.egg-info/PKG-INFO +44 -26
  8. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi.egg-info/SOURCES.txt +6 -1
  9. numerapi-2.22.0/setup.py +47 -0
  10. numerapi-2.22.0/tests/test_base_api.py +118 -0
  11. numerapi-2.22.0/tests/test_cli.py +119 -0
  12. numerapi-2.22.0/tests/test_numerapi.py +101 -0
  13. numerapi-2.22.0/tests/test_signalsapi.py +55 -0
  14. numerapi-2.22.0/tests/test_utils.py +77 -0
  15. numerapi-2.20.8/numerapi/cli.py +0 -203
  16. numerapi-2.20.8/numerapi/cryptoapi.py +0 -10
  17. numerapi-2.20.8/setup.py +0 -45
  18. {numerapi-2.20.8 → numerapi-2.22.0}/LICENSE +0 -0
  19. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi/numerapi.py +0 -0
  20. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi/py.typed +0 -0
  21. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi/signalsapi.py +0 -0
  22. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi/utils.py +0 -0
  23. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi.egg-info/dependency_links.txt +0 -0
  24. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi.egg-info/entry_points.txt +0 -0
  25. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi.egg-info/requires.txt +0 -0
  26. {numerapi-2.20.8 → numerapi-2.22.0}/numerapi.egg-info/top_level.txt +0 -0
  27. {numerapi-2.20.8 → numerapi-2.22.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: numerapi
3
- Version: 2.20.8
3
+ Version: 2.22.0
4
4
  Summary: Automatically download and upload data for the Numerai machine learning competition
5
5
  Home-page: https://github.com/uuazed/numerapi
6
6
  Maintainer: uuazed
@@ -17,6 +17,23 @@ Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Topic :: Scientific/Engineering
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
+ Requires-Dist: requests
21
+ Requires-Dist: pytz
22
+ Requires-Dist: python-dateutil
23
+ Requires-Dist: tqdm>=4.29.1
24
+ Requires-Dist: click>=7.0
25
+ Requires-Dist: pandas>=1.1.0
26
+ Dynamic: classifier
27
+ Dynamic: description
28
+ Dynamic: description-content-type
29
+ Dynamic: home-page
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: maintainer
33
+ Dynamic: maintainer-email
34
+ Dynamic: platform
35
+ Dynamic: requires-dist
36
+ Dynamic: summary
20
37
 
21
38
  [![Build Status](https://app.travis-ci.com/uuazed/numerapi.svg)](https://app.travis-ci.com/uuazed/numerapi)
22
39
  [![codecov](https://codecov.io/gh/uuazed/numerapi/branch/master/graph/badge.svg)](https://codecov.io/gh/uuazed/numerapi)
@@ -125,28 +142,29 @@ To get started with the cli interface, let's take a look at the help page:
125
142
  --help Show this message and exit.
126
143
 
127
144
  Commands:
128
- account Get all information about your account!
129
- check-new-round Check if a new round has started within...
130
- competitions Retrieves information about all...
131
- current-round Get number of the current active round.
132
- daily-model-performances Fetch daily performance of a model.
133
- daily-submissions-performances Fetch daily performance of a user's...
134
- dataset-url Fetch url of the current dataset.
135
- download-dataset Download specified file for the given...
136
- download-dataset-old Download dataset for the current active...
137
- leaderboard Get the leaderboard.
138
- list-datasets List of available data files
139
- models Get map of account models!
140
- profile Fetch the public profile of a user.
141
- stake-decrease Decrease your stake by `value` NMR.
142
- stake-drain Completely remove your stake.
143
- stake-get Get stake value of a user.
144
- stake-increase Increase your stake by `value` NMR.
145
- submission-filenames Get filenames of your submissions
146
- submit Upload predictions from file.
147
- transactions List all your deposits and withdrawals.
148
- user Get all information about you!...
149
- version Installed numerapi version.
145
+ account Get all information about your account!
146
+ check-new-round Check if a new round has started within the...
147
+ competitions Retrieves information about all competitions
148
+ current-round Get number of the current active round.
149
+ daily-model-performances Fetch daily performance of a model.
150
+ download-dataset Download specified file for the given round
151
+ leaderboard Get the leaderboard.
152
+ list-datasets List of available data files
153
+ models Get map of account models!
154
+ profile Fetch the public profile of a user.
155
+ stake-decrease Decrease your stake by `value` NMR.
156
+ stake-drain Completely remove your stake.
157
+ stake-get Get stake value of a user.
158
+ stake-increase Increase your stake by `value` NMR.
159
+ submission-filenames Get filenames of your submissions
160
+ submit Upload predictions from file.
161
+ transactions List all your deposits and withdrawals.
162
+ version Installed numerapi version.
163
+
164
+
165
+ All CLI commands accept a `--tournament` option. It defaults to `8`
166
+ (the classic tournament), but you can point the CLI at Signals (`11`) or
167
+ Crypto (`12`) on a per-command basis, e.g. `numerapi list-datasets --tournament 11`.
150
168
 
151
169
 
152
170
  Each command has it's own help page, for example:
@@ -157,13 +175,13 @@ Each command has it's own help page, for example:
157
175
  Upload predictions from file.
158
176
 
159
177
  Options:
160
- --tournament INTEGER The ID of the tournament, defaults to 1
178
+ --tournament INTEGER The ID of the tournament, defaults to 8
161
179
  --model_id TEXT An account model UUID (required for accounts with
162
180
  multiple models
163
-
164
181
  --help Show this message and exit.
165
182
 
166
183
 
184
+
167
185
  # API Reference
168
186
 
169
187
  Checkout the [detailed API docs](http://numerapi.readthedocs.io/en/latest/api/numerapi.html#module-numerapi.numerapi)
@@ -105,28 +105,29 @@ To get started with the cli interface, let's take a look at the help page:
105
105
  --help Show this message and exit.
106
106
 
107
107
  Commands:
108
- account Get all information about your account!
109
- check-new-round Check if a new round has started within...
110
- competitions Retrieves information about all...
111
- current-round Get number of the current active round.
112
- daily-model-performances Fetch daily performance of a model.
113
- daily-submissions-performances Fetch daily performance of a user's...
114
- dataset-url Fetch url of the current dataset.
115
- download-dataset Download specified file for the given...
116
- download-dataset-old Download dataset for the current active...
117
- leaderboard Get the leaderboard.
118
- list-datasets List of available data files
119
- models Get map of account models!
120
- profile Fetch the public profile of a user.
121
- stake-decrease Decrease your stake by `value` NMR.
122
- stake-drain Completely remove your stake.
123
- stake-get Get stake value of a user.
124
- stake-increase Increase your stake by `value` NMR.
125
- submission-filenames Get filenames of your submissions
126
- submit Upload predictions from file.
127
- transactions List all your deposits and withdrawals.
128
- user Get all information about you!...
129
- version Installed numerapi version.
108
+ account Get all information about your account!
109
+ check-new-round Check if a new round has started within the...
110
+ competitions Retrieves information about all competitions
111
+ current-round Get number of the current active round.
112
+ daily-model-performances Fetch daily performance of a model.
113
+ download-dataset Download specified file for the given round
114
+ leaderboard Get the leaderboard.
115
+ list-datasets List of available data files
116
+ models Get map of account models!
117
+ profile Fetch the public profile of a user.
118
+ stake-decrease Decrease your stake by `value` NMR.
119
+ stake-drain Completely remove your stake.
120
+ stake-get Get stake value of a user.
121
+ stake-increase Increase your stake by `value` NMR.
122
+ submission-filenames Get filenames of your submissions
123
+ submit Upload predictions from file.
124
+ transactions List all your deposits and withdrawals.
125
+ version Installed numerapi version.
126
+
127
+
128
+ All CLI commands accept a `--tournament` option. It defaults to `8`
129
+ (the classic tournament), but you can point the CLI at Signals (`11`) or
130
+ Crypto (`12`) on a per-command basis, e.g. `numerapi list-datasets --tournament 11`.
130
131
 
131
132
 
132
133
  Each command has it's own help page, for example:
@@ -137,13 +138,13 @@ Each command has it's own help page, for example:
137
138
  Upload predictions from file.
138
139
 
139
140
  Options:
140
- --tournament INTEGER The ID of the tournament, defaults to 1
141
+ --tournament INTEGER The ID of the tournament, defaults to 8
141
142
  --model_id TEXT An account model UUID (required for accounts with
142
143
  multiple models
143
-
144
144
  --help Show this message and exit.
145
145
 
146
146
 
147
+
147
148
  # API Reference
148
149
 
149
150
  Checkout the [detailed API docs](http://numerapi.readthedocs.io/en/latest/api/numerapi.html#module-numerapi.numerapi)
@@ -13,3 +13,6 @@ from numerapi.numerapi import NumerAPI
13
13
  from numerapi.signalsapi import SignalsAPI
14
14
  from numerapi.cryptoapi import CryptoAPI
15
15
  # pylint: enable=wrong-import-position
16
+
17
+
18
+ __all__ = ["NumerAPI", "SignalsAPI", "CryptoAPI"]