Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

miscellaneous code

Project description

Miscellaneous Code


Instead of the not-so-pretty:

if __name__ == "__main__":

pip install sundry from PyPI:

$pip install sundry

And use is_main() from sundry:

from sundry import is_main

if is_main():

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 sundry, version 0.11.2
Filename, size File type Python version Upload date Hashes
Filename, size sundry-0.11.2-py3-none-any.whl (12.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page