Skip to main content

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

everything-0.1.7.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

everything-0.1.7-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file everything-0.1.7.tar.gz.

File metadata

  • Download URL: everything-0.1.7.tar.gz
  • Upload date:
  • Size: 8.9 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

Hashes for everything-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a8940002adcb1eddffebccc55ee51fd1f9138cf559b007fb18be34e91eee5b4c
MD5 30715881a655b1025fe0b5ce82bd1cc2
BLAKE2b-256 6ac5e3ba491acba4a78c219331c4524ad06b4e9b088c3aff446e1d0727a45200

See more details on using hashes here.

File details

Details for the file everything-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: everything-0.1.7-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

Hashes for everything-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d70eadef7e7dc2dd3b35f21d5ecf9609ae72e5517b3f89a63eaef39307ca3832
MD5 e960e4b4de3ff7a747a297d80e035777
BLAKE2b-256 94d44faa27f5a7c16959317427908d02821dbce9b2bb115cb86cbe61e001b320

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