csr2-cdn 0.5.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.
- csr2_cdn-0.5.0/CHANGELOG.md +19 -0
- csr2_cdn-0.5.0/LICENSE +21 -0
- csr2_cdn-0.5.0/MANIFEST.in +2 -0
- csr2_cdn-0.5.0/PKG-INFO +663 -0
- csr2_cdn-0.5.0/PUBLISHING.md +43 -0
- csr2_cdn-0.5.0/README.md +633 -0
- csr2_cdn-0.5.0/csr2_cdn.egg-info/PKG-INFO +663 -0
- csr2_cdn-0.5.0/csr2_cdn.egg-info/SOURCES.txt +31 -0
- csr2_cdn-0.5.0/csr2_cdn.egg-info/dependency_links.txt +1 -0
- csr2_cdn-0.5.0/csr2_cdn.egg-info/entry_points.txt +2 -0
- csr2_cdn-0.5.0/csr2_cdn.egg-info/requires.txt +10 -0
- csr2_cdn-0.5.0/csr2_cdn.egg-info/top_level.txt +1 -0
- csr2_cdn-0.5.0/csr2cdn/__init__.py +128 -0
- csr2_cdn-0.5.0/csr2cdn/_http.py +75 -0
- csr2_cdn-0.5.0/csr2cdn/_naming.py +37 -0
- csr2_cdn-0.5.0/csr2cdn/branches.py +234 -0
- csr2_cdn-0.5.0/csr2cdn/cdn.py +849 -0
- csr2_cdn-0.5.0/csr2cdn/cli.py +451 -0
- csr2_cdn-0.5.0/csr2cdn/database.py +519 -0
- csr2_cdn-0.5.0/csr2cdn/errors.py +37 -0
- csr2_cdn-0.5.0/csr2cdn/hub.py +407 -0
- csr2_cdn-0.5.0/csr2cdn/metadata.py +414 -0
- csr2_cdn-0.5.0/csr2cdn/patterns.py +201 -0
- csr2_cdn-0.5.0/csr2cdn/py.typed +0 -0
- csr2_cdn-0.5.0/csr2cdn/store.py +441 -0
- csr2_cdn-0.5.0/csr2cdn/stubs.py +128 -0
- csr2_cdn-0.5.0/pyproject.toml +44 -0
- csr2_cdn-0.5.0/setup.cfg +4 -0
- csr2_cdn-0.5.0/tests/test_csr2cdn.py +487 -0
- csr2_cdn-0.5.0/tests/test_discovery.py +499 -0
- csr2_cdn-0.5.0/tests/test_hub.py +301 -0
- csr2_cdn-0.5.0/tests/test_public_api.py +5 -0
- csr2_cdn-0.5.0/tests/test_sync.py +262 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
- Add `HubCDN` for `https://cdn.csr2hub.space`, independently of the game CDN.
|
|
6
|
+
- Support every repository-relative resource path, with layout helpers for all
|
|
7
|
+
16 resource folders in the archived CSR2-HUB blueprint and all four snapshot
|
|
8
|
+
variants, including exact Gacha/restoration image indices.
|
|
9
|
+
- Load HUB asset databases into the existing `AssetDatabase` model, resolving
|
|
10
|
+
the current database through `AssetDatabases/last.ver` when no version is given.
|
|
11
|
+
- Add JSON/text/byte retrieval, streamed atomic downloads, batch downloads and
|
|
12
|
+
conditional sync for mutable resources using ETag/Last-Modified validators.
|
|
13
|
+
- Add optional UnityPy image extraction through the `images` extra, preserving
|
|
14
|
+
raw downloads for all other binary formats.
|
|
15
|
+
- Add `csr2cdn hub` commands and usage examples. Existing game CDN APIs remain
|
|
16
|
+
compatible with 0.4.0.
|
|
17
|
+
- Add GitHub test/release workflows and PyPI Trusted Publishing setup.
|
|
18
|
+
- Require a build backend that supports the project's license metadata and
|
|
19
|
+
remove an undefined name from the public export list.
|
csr2_cdn-0.5.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 csr2-cdn contributors
|
|
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.
|