Import python modules by their hash.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
12345678910111213141516171819202122
  1. Aliases:
  2. from a local file, kinda like requirements.txt, maps name to hash,
  3. either package/module name, or an author/public key name.
  4. Example:
  5. from cas.a.jmg.utils import aiter, anext
  6. Make sure that when an alias is used, that the same module is returned when a
  7. direct hash import is used.
  8. Local cache:
  9. if a directory like ~/.cas_cache exists, use it's contents automatically,
  10. and if it's writable, write any network fetched imported data to it.
  11. Features:
  12. add:
  13. file
  14. url
  15. ipfs hash
  16. git(?)hub?
  17. init cache: