Skip to main content

make index.html

Project description

Install

  • pip install dirindex
  • dirindex --help
  • or ... docker run ghcr.io/wtnb75/dirindex --help

Usage

# dirindex --help
Usage: dirindex [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  make
  read-resource

make directory index

# dirindex make --help
Usage: dirindex make [OPTIONS] DIRECTORY

Options:
  --verbose / --no-verbose
  --template TEXT
  --dry / --no-dry              [default: False]
  --recursive / --no-recursive  [default: False]
  --single / --no-single        [default: False]
  --pattern TEXT                [default: *]
  --hide TEXT
  --filename TEXT               [default: index.html]
  --help                        Show this message and exit.

create Apache style directory index

  • dirindex make --template apache /path/to/directory
  • open /path/to/directory/index.html
  • built-in styles
  • template
    • Jinja2
    • arguments... dirindex make --dry --template /dev/null /path/to/directory --filename - --verbose

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dirindex-0.4-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file dirindex-0.4-py3-none-any.whl.

File metadata

  • Download URL: dirindex-0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for dirindex-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bdbe1668f2eef3c5cd623f71e31f5f0a7babeeb20e1b5c5a950a213d1ec4655b
MD5 cfcda31f08cda5337ff3fec2a3ac3131
BLAKE2b-256 af886329ea7e84c3feed0a2c2a027025ce8231ff10515eb03a272b03d2f2c246

See more details on using hashes here.

Supported by

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