Skip to main content

Warns about the practice of importing invented package names

Project description

I'm sorry Cady, I'm afraid I can't do that.

In an early scene in the film M3GAN 2.0 (Blumhouse 2025),
12-year-old Cady is seen attempting to import morality,
and getting an error that the package does not exist.

What is not shown is, if that system included *uncurated*
third-party packages in its search, 'morality' could have
done literally *anything*.

Thankfully I managed to get there first in PyPI so this
function does nothing.  But someone else could have given
you a Trojan horse, which would eventually be removed
from the library, but removal can take time, so you
should always *check* packages before you use them!

The purpose of this package is simply to serve as a
gentle warning that you weren't supposed to imitate what
Cady did in that scene :)

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

morality-0.0.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file morality-0.0.2.tar.gz.

File metadata

  • Download URL: morality-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for morality-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bff6b3e318956e4ae826cd877f6146c1fb27b6e1161394ddd5b066fdea66f4f8
MD5 ec3f9f655f8440d3cb6eeea61029f2a8
BLAKE2b-256 5f26507d27728f9684339f062f3283fcef240a6f94214ac5e8aab379429f9098

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