Skip to main content

Star import eliminator

Project description


Modern Python sanity checkers choke on star imports, e.g.

from sys import *


wouldn't it be nicer to have the code look like:

from sys import stdin


automatically? This is what this tool is all about.

# pip3 install starless

to get started, and run just starless *.py or something.

This is primarily personal amusement tool that I needed when I used it to convert some old PyQt code to PySide2. I hope someone else finds it useful too.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for starless, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size starless-0.3-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size starless-0.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page