Big-SLPP
Big-SLPP is a simple lua-python data structures parser that also has trailing comma's.
It also has two helper functions to help me re-create the files, as created by WoW.
Example input
-- This is a lua file from the game World of Warcraft: Wrath of the Lich King
-- I need those keys sorted, because WoW/Lua keeps moving around the keys for
-- no good damn reason >:(
-- HOW DO YOU EXPECT ME TO TRACK MY SETTINGS IN A REPO, BLIZZARD!?
-- jk, I know Wrath is still relatively rough around the edges.
_NPCScanOptionsCharacter = {
["Achievements"] = {
[1312] = true,
[2257] = true,
},
["NPCs"] = {
[18684] = "Bro'Gaz the Clanless",
[32491] = "Time-Lost Proto Drake",
},
["Version"] = "3.3.5.5",
["NPCWorldIDs"] = {
[18684] = 3,
[32491] = 4,
},
}
SLPP.decode() output (not what I was looking for)
-- This is a lua file from the game World of Warcraft: Wrath of the Lich King
-- I need those keys sorted, because WoW/Lua keeps moving around the keys for
-- no good damn reason >:(
-- HOW DO YOU EXPECT ME TO TRACK MY SETTINGS IN A REPO, BLIZZARD!?
-- jk, I know Wrath is still relatively rough around the edges.
["_NPCScanOptionsCharacter"] = {
["Achievements"] = {
[1312] = true,
[2257] = true
},
["NPCWorldIDs"] = {
[18684] = 3,
[32491] = 4
},
["NPCs"] = {
[18684] = "Bro'Gaz the Clanless",
[32491] = "Time-Lost Proto Drake"
},
["Version"] = "3.3.5.5"
}
Note the lack of trailing comma's, and _NPCScanOptionsCharacter being wrapped in quotes and brackets.
big_slpp.utils.unwrap()'s output
_NPCScanOptionsCharacter = {
["Achievements"] = {
[1312] = true,
[2257] = true,
},
["NPCWorldIDs"] = {
[18684] = 3,
[32491] = 4,
},
["NPCs"] = {
[18684] = "Bro'Gaz the Clanless",
[32491] = "Time-Lost Proto Drake",
},
["Version"] = "3.3.5.5",
}
Practically the same, but sorted! :D Also, trailing comma's!
Metadata
Release files for big-slpp 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| big-slpp-1.0.5.tar.gz | 7.3 kB | Without provenance | Details for big-slpp-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| big_slpp-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for big_slpp-1.0.5-py3-none-any.whl |
Total release size: 13.7 kB
Release files / big-slpp-1.0.5.tar.gz
| Download URL | big-slpp-1.0.5.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34ca0c613e5f7dfd52c1ada66562bf9e051e04461b0f56ebead7f2b7e7e8db06
|
|
BLAKE2b-256 checksum How to use checksums |
9d26d6372ac334a37e0a674d86aa6a11cab865735ae11556b076a863a1b72f03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.8.10 Linux/5.10.102.1-microsoft-standard-WSL2
|
Release files / big_slpp-1.0.5-py3-none-any.whl
| Download URL | big_slpp-1.0.5-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
943d7d9958231b6ac57f675e0cb7eddbf04ea5505896b3448011f6b4117b3c7f
|
|
BLAKE2b-256 checksum How to use checksums |
dc8c0e455dbbed7f2bd86a2ce3bfbca56147c4a6ade9e5b42298d570f03d6421
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.8.10 Linux/5.10.102.1-microsoft-standard-WSL2
|
Security for big-slpp 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.