-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
feature-requestThis issue requests a feature.This issue requests a feature.needs-discussionp2This is a standard priority issueThis is a standard priority issue
Description
Is your feature request related to a problem? Please describe.
The data
directory of a botocore
install is over 50MB. The JSON inside compresses really well - we can see as the PyPI packages are just 7MB.
Describe the solution you'd like
It would be good to keep the schemas compressed on disk and only decompress them when reading into memory. This would save disk space, and probably a little time too since the decompression step is likely to be faster that reading all the bytes from disk.
Python's zlib or zip modules in the standard library can be used.
For an example of a library shipping data in a zip file, see my heroicons package: https://github.com/adamchainz/heroicons/blob/main/src/heroicons/__init__.py
benkehoe, michaelbrewer, darrengruber, benbridts, asantos82 and 69 more
Metadata
Metadata
Assignees
Labels
feature-requestThis issue requests a feature.This issue requests a feature.needs-discussionp2This is a standard priority issueThis is a standard priority issue