Skip to main content

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.

xkcd #353: Python

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)

Source distribution for pyquine 0.3
File Size Uploaded Provenance Actions
pyquine-0.3.tar.gz 2.4 kB Without provenance Details for pyquine-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyquine 0.3
File Interpreter ABI Platform Actions
pyquine-0.3-py3-none-any.whl Python 3 none any Details for pyquine-0.3-py3-none-any.whl

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

Security for pyquine 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page