Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
dflook
/
python-minifier
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
54
Star
718
Code
Issues
31
Pull requests
9
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
python-minifier
src
python_minifier
on
testing
User selector
All users
All time
Commit history
Commits on Aug 3, 2026
Reduce required stack frames
Show description for a45fe5d
dflook
committed
a45fe5d
View commit details
Copy full SHA for a45fe5d
View code at this point
Browse repository at this point
Commits on Aug 2, 2026
Update ruff
dflook
committed
ba7d557
View commit details
Copy full SHA for ba7d557
View code at this point
Browse repository at this point
Commits on Jul 30, 2026
Re-add ~bool folding
dflook
committed
e30b8fe
View commit details
Copy full SHA for e30b8fe
View code at this point
Browse repository at this point
Don't recurse into child namespace bodies
dflook
committed
1b46b8b
View commit details
Copy full SHA for 1b46b8b
View code at this point
Browse repository at this point
Fix unparsing match case guards that require parens
dflook
committed
174647c
View commit details
Copy full SHA for 174647c
View code at this point
Browse repository at this point
Commits on Jul 29, 2026
Don't fold ~ on NameConstant
Show description for 83c4828
dflook
committed
83c4828
View commit details
Copy full SHA for 83c4828
View code at this point
Browse repository at this point
Ignore warnings generated while folding
Show description for a8eedc2
dflook
committed
a8eedc2
View commit details
Copy full SHA for a8eedc2
View code at this point
Browse repository at this point
Fully search for namespace properties
Show description for 4a79153
dflook
committed
4a79153
View commit details
Copy full SHA for 4a79153
View code at this point
Browse repository at this point
Commits on Jul 27, 2026
Update documentation
dflook
committed
641662a
View commit details
Copy full SHA for 641662a
View code at this point
Browse repository at this point
Make renaming deterministic on 3.4, 3.5
Show description for dd098a9
dflook
committed
dd098a9
View commit details
Copy full SHA for dd098a9
View code at this point
Browse repository at this point
Update type stub
dflook
committed
315109b
View commit details
Copy full SHA for 315109b
View code at this point
Browse repository at this point
Commits on Jul 26, 2026
Add dead branch removal
Show description for 826e813
dflook
committed
826e813
View commit details
Copy full SHA for 826e813
View code at this point
Browse repository at this point
Commits on Dec 31, 2025
update docs
dflook
committed
835fc1d
View commit details
Copy full SHA for 835fc1d
View code at this point
Browse repository at this point
Add --prefer-single-line option
dflook
committed
b234162
View commit details
Copy full SHA for b234162
View code at this point
Browse repository at this point
Commits on Dec 21, 2025
Correctly fold UnaryOp nodes
dflook
committed
32d585a
View commit details
Copy full SHA for 32d585a
View code at this point
Browse repository at this point
Commits on Dec 11, 2025
Fix __debug__ comparison check
Show description for 97cff9d
dflook
committed
97cff9d
View commit details
Copy full SHA for 97cff9d
View code at this point
Browse repository at this point
Commits on Oct 11, 2025
Enhance python linting
dflook
committed
cbf2407
View commit details
Copy full SHA for cbf2407
View code at this point
Browse repository at this point
Commits on Oct 9, 2025
Don't use f-strings
Show description for 0561b48
dflook
committed
0561b48
View commit details
Copy full SHA for 0561b48
View code at this point
Browse repository at this point
Fix f/t-string edge cases
dflook
committed
d3486f3
View commit details
Copy full SHA for d3486f3
View code at this point
Browse repository at this point
Update hypothesis tests
dflook
committed
ef7565d
View commit details
Copy full SHA for ef7565d
View code at this point
Browse repository at this point
Update to 3.14rc2 for windows
dflook
committed
7031742
View commit details
Copy full SHA for 7031742
View code at this point
Browse repository at this point
Fix raw f-string FormatSpecs
dflook
committed
8d1e8a1
View commit details
Copy full SHA for 8d1e8a1
View code at this point
Browse repository at this point
Commits on Aug 20, 2025
Ignore the str field of ast.Interpolation
Show description for df4925e
dflook
committed
df4925e
View commit details
Copy full SHA for df4925e
View code at this point
Browse repository at this point
Don't hoist 'literals' that are part of f-strings
dflook
committed
9b98967
View commit details
Copy full SHA for 9b98967
View code at this point
Browse repository at this point
TemplateStr
dflook
committed
8d9c294
View commit details
Copy full SHA for 8d9c294
View code at this point
Browse repository at this point
Commits on Aug 13, 2025
Add test infra for Python 3.14
dflook
committed
d8a0fad
View commit details
Copy full SHA for d8a0fad
View code at this point
Browse repository at this point
Commits on Aug 12, 2025
Update pyminify to return the input source unchanged if it can't be made smaller
dflook
committed
573a762
View commit details
Copy full SHA for 573a762
View code at this point
Browse repository at this point
Add ruff to linting job
dflook
committed
a06679b
View commit details
Copy full SHA for a06679b
View code at this point
Browse repository at this point
Commits on Aug 11, 2025
Add markdownlint to linting job
dflook
committed
2e9dfab
View commit details
Copy full SHA for 2e9dfab
View code at this point
Browse repository at this point
Commits on Aug 6, 2025
Test on windows
dflook
committed
404c63b
View commit details
Copy full SHA for 404c63b
View code at this point
Browse repository at this point
Commits on Nov 11, 2024
Correctly set the namespace for NamedExpr targets
Show description for de2b9b5
dflook
committed
de2b9b5
View commit details
Copy full SHA for de2b9b5
View code at this point
Browse repository at this point
Commits on Oct 20, 2024
Use free function to get a nodes parent.
Show description for 7c88edf
dflook
committed
7c88edf
View commit details
Copy full SHA for 7c88edf
View code at this point
Browse repository at this point
Commits on Oct 17, 2024
Add dummy class for AsyncFor
dflook
committed
947a777
View commit details
Copy full SHA for 947a777
View code at this point
Browse repository at this point
Add dummy class for Constant
dflook
committed
5613c95
View commit details
Copy full SHA for 5613c95
View code at this point
Browse repository at this point
Simplify is_constant_node
dflook
committed
95de4af
View commit details
Copy full SHA for 95de4af
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.