Skip to main content

Create Python API documentation in Markdown format

Project description

__NAME__
<a href="https://gitter.im/NiklasRosenstein/pydoc-markdown">
<img href="https://badges.gitter.im/Join%20Chat.svg"></img>
</a>

`pydoc_markdown` - simple generator for Markdown formatted Python docs


__SYNOPSIS__

pydoc-markdown [-h] module

__DESCRIPTION__

Simple (ie. quick and dirty) script to generate a Markdown
formatted help on a Python module. Contributions are welcome.

Project Homepage: https://github.com/NiklasRosenstein/pydoc-markdown

```
positional arguments:
module name of the module to generate docs for

optional arguments:
-h, --help show this help message and exit
```

__INSTALLATION__

$ pip install pydoc-markdown

or for the latest development version

$ git clone https://github.com/NiklasRosenstein/pydoc-markdown
$ cd pydoc-markdown
$ pip install -e .

__EXAMPLES__

$ pydoc-markdown glob

# glob Module
> Filename globbing utility.



## Data
- `magic_check = re.compile('([*?[])')`
- `magic_check_bytes = re.compile(b'([*?[])')`

## Functions

##### `escape(pathname)`

> Escape all special characters.



##### `glob(pathname)`

> Return a list of paths matching a pathname pattern.
>
> The pattern may contain simple shell-style wildcards a la
> fnmatch. However, unlike fnmatch, filenames starting with a
> dot are special cases that are not matched by '*' and '?'
> patterns.



##### `glob0(dirname, basename)`



##### `glob1(dirname, pattern)`



##### `has_magic(s)`



##### `iglob(pathname)`

> Return an iterator which yields the paths matching a pathname pattern.
>
> The pattern may contain simple shell-style wildcards a la
> fnmatch. However, unlike fnmatch, filenames starting with a
> dot are special cases that are not matched by '*' and '?'
> patterns.

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

pydoc-markdown-0.1.0.zip (12.1 kB view hashes)

Uploaded Source

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