hackerrank 2026.5.12.2__py2.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.
- hackerrank/__init__.py +1 -0
- hackerrank/_dict_types.py +324 -0
- hackerrank/async_client.py +1044 -0
- hackerrank/client.py +2446 -0
- hackerrank/exceptions.py +129 -0
- hackerrank/py.typed +0 -0
- hackerrank/transports.py +263 -0
- hackerrank/types.py +1012 -0
- hackerrank-2026.5.12.2.dist-info/METADATA +117 -0
- hackerrank-2026.5.12.2.dist-info/RECORD +13 -0
- hackerrank-2026.5.12.2.dist-info/WHEEL +6 -0
- hackerrank-2026.5.12.2.dist-info/licenses/LICENSE +21 -0
- hackerrank-2026.5.12.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hackerrank
|
|
3
|
+
Version: 2026.5.12.2
|
|
4
|
+
Summary: Interact with the HackerRank for Work API.
|
|
5
|
+
Author-email: Adam Dangoor <adamdangoor@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Documentation, https://adamtheturtle.github.io/hackerrank/
|
|
8
|
+
Project-URL: Source, https://github.com/adamtheturtle/hackerrank
|
|
9
|
+
Keywords: client,hackerrank,interview
|
|
10
|
+
Classifier: Development Status :: 1 - Planning
|
|
11
|
+
Classifier: Environment :: Web Environment
|
|
12
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
13
|
+
Classifier: Operating System :: POSIX
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Requires-Python: >=3.13
|
|
18
|
+
Description-Content-Type: text/x-rst
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: beartype>=0.22.9
|
|
21
|
+
Requires-Dist: httpx>=0.28.0
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: actionlint-py==1.7.12.24; extra == "dev"
|
|
24
|
+
Requires-Dist: beartype==0.22.9; extra == "dev"
|
|
25
|
+
Requires-Dist: check-manifest==0.51; extra == "dev"
|
|
26
|
+
Requires-Dist: deptry==0.25.1; extra == "dev"
|
|
27
|
+
Requires-Dist: doc8==2.0.0; extra == "dev"
|
|
28
|
+
Requires-Dist: doccmd==2026.5.6; extra == "dev"
|
|
29
|
+
Requires-Dist: furo==2025.12.19; extra == "dev"
|
|
30
|
+
Requires-Dist: interrogate==1.7.0; extra == "dev"
|
|
31
|
+
Requires-Dist: mypy[faster-cache]==2.1.0; extra == "dev"
|
|
32
|
+
Requires-Dist: mypy-strict-kwargs==2026.1.12; extra == "dev"
|
|
33
|
+
Requires-Dist: openapi-mock==2026.3.2; extra == "dev"
|
|
34
|
+
Requires-Dist: prek==0.3.13; extra == "dev"
|
|
35
|
+
Requires-Dist: pydocstringformatter==0.7.5; extra == "dev"
|
|
36
|
+
Requires-Dist: pydocstyle==6.3; extra == "dev"
|
|
37
|
+
Requires-Dist: pygments==2.20.0; extra == "dev"
|
|
38
|
+
Requires-Dist: pylint[spelling]==4.0.5; extra == "dev"
|
|
39
|
+
Requires-Dist: pylint-per-file-ignores==3.2.1; extra == "dev"
|
|
40
|
+
Requires-Dist: pyproject-fmt==2.21.2; extra == "dev"
|
|
41
|
+
Requires-Dist: pyrefly==0.64.1; extra == "dev"
|
|
42
|
+
Requires-Dist: pyright==1.1.409; extra == "dev"
|
|
43
|
+
Requires-Dist: pyroma==5.0.1; extra == "dev"
|
|
44
|
+
Requires-Dist: pytest==9.0.3; extra == "dev"
|
|
45
|
+
Requires-Dist: pytest-asyncio==1.3.0; extra == "dev"
|
|
46
|
+
Requires-Dist: pytest-beartype-tests==2026.4.26; extra == "dev"
|
|
47
|
+
Requires-Dist: pytest-cov==7.1.0; extra == "dev"
|
|
48
|
+
Requires-Dist: pyyaml==6.0.3; extra == "dev"
|
|
49
|
+
Requires-Dist: respx==0.23.1; extra == "dev"
|
|
50
|
+
Requires-Dist: ruff==0.15.12; extra == "dev"
|
|
51
|
+
Requires-Dist: shellcheck-py==0.11.0.1; extra == "dev"
|
|
52
|
+
Requires-Dist: shfmt-py==3.12.0.2; extra == "dev"
|
|
53
|
+
Requires-Dist: sphinx==9.1.0; extra == "dev"
|
|
54
|
+
Requires-Dist: sphinx-copybutton==0.5.2; extra == "dev"
|
|
55
|
+
Requires-Dist: sphinx-lint==1.0.2; extra == "dev"
|
|
56
|
+
Requires-Dist: sphinx-pyproject==0.3.0; extra == "dev"
|
|
57
|
+
Requires-Dist: sphinx-substitution-extensions==2026.1.12; extra == "dev"
|
|
58
|
+
Requires-Dist: sphinxcontrib-spelling==8.0.2; extra == "dev"
|
|
59
|
+
Requires-Dist: sybil==10.0.1; extra == "dev"
|
|
60
|
+
Requires-Dist: ty==0.0.35; extra == "dev"
|
|
61
|
+
Requires-Dist: vulture==2.16; extra == "dev"
|
|
62
|
+
Requires-Dist: yamlfix==1.19.1; extra == "dev"
|
|
63
|
+
Requires-Dist: zizmor==1.24.1; extra == "dev"
|
|
64
|
+
Provides-Extra: release
|
|
65
|
+
Requires-Dist: check-wheel-contents==0.6.3; extra == "release"
|
|
66
|
+
Dynamic: license-file
|
|
67
|
+
|
|
68
|
+
|Build Status| |PyPI|
|
|
69
|
+
|
|
70
|
+
hackerrank
|
|
71
|
+
==========
|
|
72
|
+
|
|
73
|
+
Python library for the `HackerRank for Work API`_.
|
|
74
|
+
|
|
75
|
+
.. _HackerRank for Work API: https://www.hackerrank.com/work/apidocs
|
|
76
|
+
|
|
77
|
+
Installation
|
|
78
|
+
------------
|
|
79
|
+
|
|
80
|
+
.. code-block:: shell
|
|
81
|
+
|
|
82
|
+
pip install hackerrank
|
|
83
|
+
|
|
84
|
+
This is tested on Python |minimum-python-version|\+.
|
|
85
|
+
|
|
86
|
+
Getting Started
|
|
87
|
+
---------------
|
|
88
|
+
|
|
89
|
+
Generate an API token from the `HackerRank for Work tokens page`_ and
|
|
90
|
+
pass it as ``api_key``:
|
|
91
|
+
|
|
92
|
+
.. code-block:: python
|
|
93
|
+
|
|
94
|
+
"""Example usage."""
|
|
95
|
+
|
|
96
|
+
import sys
|
|
97
|
+
|
|
98
|
+
from hackerrank.client import HackerRank
|
|
99
|
+
|
|
100
|
+
client = HackerRank(api_key="your-api-key")
|
|
101
|
+
for test in client.tests.list().data:
|
|
102
|
+
sys.stdout.write(test.name)
|
|
103
|
+
interview = client.interviews.create(title="My Interview")
|
|
104
|
+
sys.stdout.write(interview.url or "")
|
|
105
|
+
|
|
106
|
+
.. _HackerRank for Work tokens page: https://www.hackerrank.com/work/settings/token
|
|
107
|
+
|
|
108
|
+
Full Documentation
|
|
109
|
+
------------------
|
|
110
|
+
|
|
111
|
+
See the `full documentation <https://adamtheturtle.github.io/hackerrank/>`__.
|
|
112
|
+
|
|
113
|
+
.. |Build Status| image:: https://github.com/adamtheturtle/hackerrank/actions/workflows/ci.yml/badge.svg?branch=main
|
|
114
|
+
:target: https://github.com/adamtheturtle/hackerrank/actions
|
|
115
|
+
.. |PyPI| image:: https://badge.fury.io/py/hackerrank.svg
|
|
116
|
+
:target: https://badge.fury.io/py/hackerrank
|
|
117
|
+
.. |minimum-python-version| replace:: 3.13
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
hackerrank/__init__.py,sha256=39Fxvytl-JxyXUt_U_8IiXx1Z_std3CfUESOz0vX6MU,49
|
|
2
|
+
hackerrank/_dict_types.py,sha256=f-LSeAKDZtHRkIbXifXbz-00-LCFmRM60TwLOacf5xk,9206
|
|
3
|
+
hackerrank/async_client.py,sha256=Thmb3-Njt2DqSQsdcYW0NJu2FUsBre-NX_OMRCScKXg,28277
|
|
4
|
+
hackerrank/client.py,sha256=kMSBAx9CjhU1owekgpN_zI2I2oO36OZNm82h_EcYVhM,72270
|
|
5
|
+
hackerrank/exceptions.py,sha256=PoXdZ4rEMRCJA4mxnfVC1PnWmJXGj7QM4DXJ3Y3Z4DI,3128
|
|
6
|
+
hackerrank/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
hackerrank/transports.py,sha256=e6r8r53KXxapLk0wr5AjFf58DvkX7tEzWeULhyc_ncI,7005
|
|
8
|
+
hackerrank/types.py,sha256=t-2ZZfPkxC5wHtf4CPbL-cbez1CABFeHGBq2mAW7c9s,30364
|
|
9
|
+
hackerrank-2026.5.12.2.dist-info/licenses/LICENSE,sha256=cnfgEzv8YMudbgPysNfgAdqeOo4zf0y2C3Ctw4RgEE4,1069
|
|
10
|
+
hackerrank-2026.5.12.2.dist-info/METADATA,sha256=JFQnu1zb50aV3MkZKgNTjrCBlyIOv-5kB5FMRSYh1Bw,4358
|
|
11
|
+
hackerrank-2026.5.12.2.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
|
|
12
|
+
hackerrank-2026.5.12.2.dist-info/top_level.txt,sha256=WK3MyLvcnQkVZS9NnCZrLJXzhZ2Jylp5jMJYSGfdXvs,11
|
|
13
|
+
hackerrank-2026.5.12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Adam Dangoor
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hackerrank
|