Skip to content

add optional global configuration #8

@bjuergens

Description

@bjuergens

some thing that should be configurable:

  • location of cache (usecase: each notebook/kernel should have it's own folder)
  • hashing-algorithm (usecase: automatically add datum? use sha instead of plaintext)

How the configuration should work

  • via global variables (maybe look at other magics first for best practices?)
import cache_magic
cache_magic.config["location"] = ".cache_magic_" + notebook_name
cache_magic.config["hash"] = hashlib.sha

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions