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 the "in Python you just import X" meme should work for quines.
Metadata
Release files for pyquine 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyquine-0.3.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyquine-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / pyquine-0.3.tar.gz
| Download URL | pyquine-0.3.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b38b114d0108fb5207aeaf357523161a826ec747e33a68e35d8733edd80c623a
|
|
BLAKE2b-256 checksum How to use checksums |
56515382ae0057a712af7823496cad26420f660ea0478907d51b31411fa062f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / pyquine-0.3-py3-none-any.whl
| Download URL | pyquine-0.3-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bf029b2fc46de7f5c3b3768aa17cab722ef7d820e557400b9cb64377b6f0b22
|
|
BLAKE2b-256 checksum How to use checksums |
9311a3ae711df7c10a990960b86abb086a4fac235d17b8ad9da9038f8b6f0cbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|