A dumpster fire of metaprogramming and other Python abuses.
Project description
abomination
A dumpster fire of metaprogramming and other Python abuses.
Some code is so bad it just has to be written, documented, test and packaged. This is the place for such ideas.
Installation
Install the package from pypi:
pip install abomination
Usage
Automatic installation of packages
Somewhere before your first third-party import, but the following line:
import abomination; abomination.magic()
If an import fails, we will try to install the package with pip and restart the script.
import abomination; abomination.magic()
# This just works!
import numpy as np
Of course, this only works if the import name matches the distribution name.
Prepare for an ugly recursion while Python screams "I cannot import pyyaml
!" and pip shouts back "But I have already installed pyyaml
!" (note: the import name is yaml
).
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
Built Distribution
Hashes for abomination-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23512986c4ba77b0a0f7505318aa5fa19144eee753ce66cd1a48ada0345531cb |
|
MD5 | 7678cb0789dd52bcf0d7c2caa2e690be |
|
BLAKE2b-256 | da463e0013f7468a1a78412b81875f4143af6f8296ef038135fce7e1fd64adbc |