xcpcio 0.64.0__py3-none-any.whl → 0.64.2__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.
Potentially problematic release.
This version of xcpcio might be problematic. Click here for more details.
- xcpcio/__version__.py +1 -1
- xcpcio-0.64.2.dist-info/METADATA +86 -0
- {xcpcio-0.64.0.dist-info → xcpcio-0.64.2.dist-info}/RECORD +5 -5
- xcpcio-0.64.0.dist-info/METADATA +0 -31
- {xcpcio-0.64.0.dist-info → xcpcio-0.64.2.dist-info}/WHEEL +0 -0
- {xcpcio-0.64.0.dist-info → xcpcio-0.64.2.dist-info}/entry_points.txt +0 -0
xcpcio/__version__.py
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: xcpcio
|
|
3
|
+
Version: 0.64.2
|
|
4
|
+
Summary: xcpcio python lib
|
|
5
|
+
Project-URL: homepage, https://github.com/xcpcio/xcpcio
|
|
6
|
+
Project-URL: documentation, https://github.com/xcpcio/xcpcio
|
|
7
|
+
Project-URL: repository, https://github.com/xcpcio/xcpcio
|
|
8
|
+
Author-email: Dup4 <hi@dup4.com>
|
|
9
|
+
Maintainer-email: Dup4 <hi@dup4.com>, cubercsl <hi@cubercsl.site>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
Keywords: xcpcio
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Requires-Python: >=3.11
|
|
19
|
+
Requires-Dist: aiofiles>=23.0.0
|
|
20
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
21
|
+
Requires-Dist: click>=8.0.0
|
|
22
|
+
Requires-Dist: fastapi>=0.117.1
|
|
23
|
+
Requires-Dist: pydantic>=2.11.7
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
25
|
+
Requires-Dist: semver>=3.0.0
|
|
26
|
+
Requires-Dist: tenacity>=8.0.0
|
|
27
|
+
Requires-Dist: uvicorn>=0.36.0
|
|
28
|
+
Requires-Dist: zstandard>=0.25.0
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# xcpcio-python
|
|
32
|
+
|
|
33
|
+
Python library and CLI tools for XCPCIO.
|
|
34
|
+
|
|
35
|
+
## Features
|
|
36
|
+
|
|
37
|
+
- **Type Definitions**: Pydantic models for contest data structures (teams, submissions, problems, etc.)
|
|
38
|
+
- **Constants**: Shared constants for submission statuses, time units, and penalty calculations
|
|
39
|
+
- **CCS Archiver**: CLI tool to archive CCS API data to contest package format
|
|
40
|
+
- **Contest API Server**: CLI tool to serve contest packages via CCS API
|
|
41
|
+
- **Cross-Language Compatibility**: Mirrors TypeScript types for data consistency
|
|
42
|
+
|
|
43
|
+
## Installation
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install xcpcio
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or install with [uv](https://github.com/astral-sh/uv):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
uv add xcpcio
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Development
|
|
56
|
+
|
|
57
|
+
### Setup
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Clone repository
|
|
61
|
+
git clone https://github.com/xcpcio/xcpcio.git
|
|
62
|
+
cd xcpcio/python
|
|
63
|
+
|
|
64
|
+
# Install dependencies with uv
|
|
65
|
+
uv sync
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Testing
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Run tests
|
|
72
|
+
uv run pytest
|
|
73
|
+
|
|
74
|
+
# Run specific test file
|
|
75
|
+
uv run pytest tests/test_types.py
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Documentation
|
|
79
|
+
|
|
80
|
+
For detailed documentation, visit:
|
|
81
|
+
|
|
82
|
+
- [CCS Utility Guide](https://xcpcio.com/guide/ccs-utility)
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
MIT License © 2020-PRESENT [Dup4](https://github.com/Dup4)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
xcpcio/__init__.py,sha256=kjd6itqBRSQ-OT83qUJXHt81KQQDRUtaIuykzfaWXLM,121
|
|
2
|
-
xcpcio/__version__.py,sha256=
|
|
2
|
+
xcpcio/__version__.py,sha256=6ddC-elV7Uw3Fsy5ndjK8ZE0aXQ1P_auAsXjJeT0Jrg,172
|
|
3
3
|
xcpcio/constants.py,sha256=MjpAgNXiBlUsx1S09m7JNT-nekNDR-aE6ggvGL3fg0I,2297
|
|
4
4
|
xcpcio/types.py,sha256=AkYby2haJgxwtozlgaPMG2ryAZdvsSc3sH-p6qXcM4g,6575
|
|
5
5
|
xcpcio/ccs/__init__.py,sha256=LSoKFblEuSoIVBYcUxOFF8fn2bH2R6kSg9xNrBfzC0g,99
|
|
@@ -33,7 +33,7 @@ xcpcio/ccs/model/model_2023_06/model.py,sha256=bVMDWpJTwPSpz1fHPxWrWerxCBIboH3LK
|
|
|
33
33
|
xcpcio/ccs/reader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
xcpcio/ccs/reader/base_ccs_reader.py,sha256=fS7M0hD3-3PAEV7EYyorVZsBhD4HtABkQeV4fXNldhA,3912
|
|
35
35
|
xcpcio/ccs/reader/contest_package_reader.py,sha256=DPuKp3eptRNMi0-Ssx_K2roN5_0xXILMltucWy1NTPI,14173
|
|
36
|
-
xcpcio-0.64.
|
|
37
|
-
xcpcio-0.64.
|
|
38
|
-
xcpcio-0.64.
|
|
39
|
-
xcpcio-0.64.
|
|
36
|
+
xcpcio-0.64.2.dist-info/METADATA,sha256=Ay3dU_2FC8jDzF0WqZqn7ml18-lOJRJITv1l4nRL7e4,2202
|
|
37
|
+
xcpcio-0.64.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
38
|
+
xcpcio-0.64.2.dist-info/entry_points.txt,sha256=qvzh8oDJxIHqTN-rg2lRN6xR99AqxbWnlAQI7uzDibI,59
|
|
39
|
+
xcpcio-0.64.2.dist-info/RECORD,,
|
xcpcio-0.64.0.dist-info/METADATA
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: xcpcio
|
|
3
|
-
Version: 0.64.0
|
|
4
|
-
Summary: xcpcio python lib
|
|
5
|
-
Project-URL: homepage, https://github.com/xcpcio/xcpcio
|
|
6
|
-
Project-URL: documentation, https://github.com/xcpcio/xcpcio
|
|
7
|
-
Project-URL: repository, https://github.com/xcpcio/xcpcio
|
|
8
|
-
Author-email: Dup4 <hi@dup4.com>
|
|
9
|
-
Maintainer-email: Dup4 <hi@dup4.com>, cubercsl <hi@cubercsl.site>
|
|
10
|
-
License-Expression: MIT
|
|
11
|
-
Keywords: xcpcio
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Classifier: Topic :: Software Development :: Build Tools
|
|
17
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
-
Requires-Python: >=3.11
|
|
19
|
-
Requires-Dist: aiofiles>=23.0.0
|
|
20
|
-
Requires-Dist: aiohttp>=3.8.0
|
|
21
|
-
Requires-Dist: click>=8.0.0
|
|
22
|
-
Requires-Dist: fastapi>=0.117.1
|
|
23
|
-
Requires-Dist: pydantic>=2.11.7
|
|
24
|
-
Requires-Dist: pyyaml>=6.0.0
|
|
25
|
-
Requires-Dist: semver>=3.0.0
|
|
26
|
-
Requires-Dist: tenacity>=8.0.0
|
|
27
|
-
Requires-Dist: uvicorn>=0.36.0
|
|
28
|
-
Requires-Dist: zstandard>=0.25.0
|
|
29
|
-
Description-Content-Type: text/markdown
|
|
30
|
-
|
|
31
|
-
# xcpcio-python
|
|
File without changes
|
|
File without changes
|