from everything import anything
Project description
Literally everything!
The ultimate abstraction.
from everything import anything!
Real example:
from everything import sort_list, stylized_greeting
# Print a greeting for Wolf
print(stylized_greeting("Wolf", "Angry"))
# Sort a list
print(sort_list([3, 2, 1, 0, -5, 2.5]))
>> ANTHROPIC_API_KEY=...
>> python example.py
WHAT DO YOU WANT, WOLF?!
[-5, 0, 1, 2, 2.5, 3]
How's it work?
Using state-of-the-art technology, we can literally import anything from everything! Any function you can imagine, dynamically generated at runtime, accessible with a simple import.
When you import <anything> from everything, everything will use Python's AST library to scan your source code, and find all usages of <anything>. It then will merge a few lines of context on both sides of every function call, along with the call itself. Then, it will have claude generate a Python function, freshly plopped into your code at runtime.
How to use
First, set the ANTHROPIC_API_KEY to a valid API token. Then install the package with pip install everything (or uv, etc). Finally, import anything from everything!
Words of caution
You probably don't want to use this in production. everything provides no guarantees! This is my escape hatch after of 6 weeks of learning nix.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file everything-0.1.5.tar.gz.
File metadata
- Download URL: everything-0.1.5.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be28b5ce951adb5f0a676bf349cc19597d8d708db17e8613cce3d67d795d2e52
|
|
| MD5 |
e3e16d05aafceb85e9cac7c483a9f8fe
|
|
| BLAKE2b-256 |
aa7bc882b5de9c314338f43aacd8606306100a4bfd7b44117224662284df8e19
|
File details
Details for the file everything-0.1.5-py3-none-any.whl.
File metadata
- Download URL: everything-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e207fdd40060f0d061a7edb3dafeab3be5783929f56e97faa71aba67db1ef2b6
|
|
| MD5 |
86c0b89a4a5d75e7aa51d31a244151e7
|
|
| BLAKE2b-256 |
dcb9926c9596e2cc625ec84a7bd19e1bdbd4daa4e5ba71a98768aae15dcec5d5
|