Import python modules by their hash.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

522 B

Aliases: from a local file, kinda like requirements.txt, maps name to hash, either package/module name, or an author/public key name.

Example: from cas.a.jmg.utils import aiter, anext

Make sure that when an alias is used, that the same module is returned when a direct hash import is used.

Local cache: if a directory like ~/.cas_cache exists, use it’s contents automatically, and if it’s writable, write any network fetched imported data to it.

Features: add: file url ipfs hash git(?)hub?

init cache: