|2 months ago||about 1 month ago|
|BSD 2-clause "Simplified" License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Purge unused CSS on a Flask app
2 projects | /r/flask | 14 Mar 2022
So I have this flask app where I currently use flask-assets to create a few Bundles for my JS and CSS. I use bootstrap, I end up with a lot of unused CSS on my minimised bundle. I have been searching for a while and I don't see a way to use the famous purgecss with flask-assets. I was thinking on maybe switch my bundler to something node.js based like webpack, but almost have no experience with JS. Also, flask-assets hasn't been updated in two years. So maybe is time for a change.
Store static files on S3 but staticfiles.json manifest locally
2 projects | /r/codehunter | 16 Apr 2022
I have a Django application running on Heroku. To store and serve my static files, I'm using django-storages with my S3 bucket, as well as the standard Django ManifestFilesMixin. I'm also using django-pipeline.
What are some alternatives?
jinja-assets-compressor - A Jinja extension (compatible with Flask and other frameworks) to compile and/or compress your assets.
webassets - Asset management for Python web development.
django-storages - https://django-storages.readthedocs.io/
File Conveyor - File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
secedgar - Download all companies periodic reports, filings and forms from EDGAR database.