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.
@@ -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.
@@ -0,0 +1,2 @@
1
+ include CHANGELOG.md
2
+ include PUBLISHING.md