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 X" meme.
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(2.4 kB
view details)
File details
Details for the file pyquine-0.2.tar.gz.
File metadata
- Download URL: pyquine-0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
906486dab0ad8b867a5e61ea35ed68bd8583d5bd3e477e622a3a21b9fadf3560
|
|
| MD5 |
4ad83b9c30ffc0a304259e05fd570f4d
|
|
| BLAKE2b-256 |
96144ce32f9a452cd7ee76259965eaa8db75debf8401d501a5c6e534a3764d38
|