Skip to main content

The best `import quine`

Project description

python3, more like cat

When imported, pyquine prints the source of the main module.

There's the standard:

import quine

But pyquine supports any source file that manages to import it:

#!/usr/bin/env python3
"""This is my quine. It prints its own source."""

import     quine

It's cheating, but that's the point. Because PyPI deserves a good quine variation of the "import XXX" meme.

xkcd #353: Python

Project details


Download files

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

Source Distribution

pyquine-0.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file pyquine-0.1.tar.gz.

File metadata

  • Download URL: pyquine-0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for pyquine-0.1.tar.gz
Algorithm Hash digest
SHA256 b90679d2f6340ad5c36a806dee410a8dbbaa2fcb54606d064314d43d19741473
MD5 2da0de53762ab432634b575194e990da
BLAKE2b-256 2821ca1d946dbb8203eea800a4f7715cc6d823f37d2ebf8a0a6c5b56fe51f476

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page