Skip to content

issues Search Results · repo:dflook/python-minifier language:Python

Filter by

60 results
 (74 ms)

60 results

indflook/python-minifier (press backspace or delete to remove)

Hi, I hope the tool could support whitespace minification for each line of code, similar to what pyminifier does. For example, the original code: def test(name): return f Hello, {name}! name = ...
  • hunyanjie
  • 2
  • Opened 
    5 days ago
  • #130

When I compressed my code, the following error occurred: pyminify --output=main_pyminify.py main.py Traceback (most recent call last): File C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\runpy.py ...
  • hunyanjie
  • 2
  • Opened 
    5 days ago
  • #129

This runs malware on your computer, do not use
  • UniqueUsernam
  • 1
  • Opened 
    9 days ago
  • #128

If you have multiple files with and import statements then --rename-globals cannot be used. For the files program.py from library1 import NUMBER import library2 instance = library2.SomethingClass() print(NUMBER) ...
  • kevinjwalters
  • 2
  • Opened 
    on Mar 24
  • #126

Summary Class variable defined in annotated assigns are renamed when rename_global is set to True class MyClass: my_other_var : int = 10 # - will be renamed while it shouldn t ... Reproduce ...
  • mrtichou
  • 2
  • Opened 
    on Mar 6
  • #125

print( \xd0\x9f\xd1\x80\xd0\xbe\xd1\x84\xd0\xb5\xd1\x81\xd1\x81\xd0\xb8\xd0\xbe\xd0\xbd\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xb0\xd1\x8f ) Which decoded to utf-8 gives Профессиональная (Professional) When ...
  • ImInTheICU
  • 4
  • Opened 
    on Feb 28
  • #124

Hi, there. Thanx for a great app. I m trying to minify a simple peace of code that contains Latin characters and non-Latin characters (Cyrylic) in a string. All non-Latin characters in the output file ...
  • xxxxxxbox
  • Opened 
    on Feb 24
  • #123

#!/usr/bin/env -S python3.13 # Documentation # ------------- Version 2 of the Monitor Brightness Manager Module -------------------------------------------------- This module provides a GUI for monitor ...
  • RokeJulianLockhart
  • 1
  • Opened 
    on Feb 11
  • #122

While I know that merging lines via semicolons is an attractive way to save character space, this really should be a feature that can be turned off. I m currently running into issues getting python-minifier ...
  • Archmonger
  • 1
  • Opened 
    on Feb 9
  • #121

The following code def f(arg, /): print([x for y in range(10) if (x := y // 2) 1]) print(arg, arg) f(10) which prints [1, 1, 3, 3] 10 10 minifies to A=print def B(B):A([B for A in range(10)if(B:=A//2) ...
defect
  • BarrensZeppelin
  • 2
  • Opened 
    on Nov 11, 2024
  • #119
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub