Skip to main content

Import python code in markdown as module

Project description

markmodule

Import python from markdown files.

Markdown is a hammer, everything is a nail

You can use markdown:

  • as a place to put module code (markmodule, this library)
  • as a Makefile alternative
  • as a place to put scripts
  • as a place to put unit tests
  • as a string template

Usage

import markmodule
import_md("hello_module.md")
import hello_module

print(hello_module.some_function("yo!"))

Development Setup

cargo install mask

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

markmodule-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

markmodule-0.1.0-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page