JSON minimzer before publish on PyPI.
See original GitHub issueI just finished working on simple json minimizer, but it’s a very dirty solution. Wee need to refactor it, because it’s works to slowly, a dead tortoise runs faster than this script.
A very important question is will compression affect the performance of the library? If will then how? Will it become faster or much slower, than now?
Example of locales with minimized data:
Locale: it
Size before: 368.2 kB.
Size after: 302.9 kB.
Locale: en
Size before: 689.0 kB.
Size after: 595.7 kB.
This can show an insignificant gain, but keep in mind that we have 32 locales, each of which has 7 files.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to minimize JSON data before publishing on PyPi?
We already created script which minify all json files in directory, but what we actually need is minimizing json files only in package...
Read more >JSON_minify - PyPI
A simple script to minify valid JSON, containing C/C++ style comments. ... minify them before parsing or transmitting them over-the-wire. Installation
Read more >How to Publish an Open-Source Python Package to PyPI
In this step-by-step tutorial, you'll learn how to create a Python package for your project and how to publish it to PyPI, the...
Read more >PEP 458 – Secure PyPI downloads with signed repository ...
However, changes to PyPI consumers are not a pre-requisite for publishing the metadata from PyPI, and can be done according to the timelines...
Read more >jsonschema - Python Package Health Analysis - Snyk
An implementation of JSON Schema validation for Python For more information about how to use ... Latest version published 8 days ago. License:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Nice job!
So, i’ts done!
I think that is not bad result.