Skip to main content

Logseq Doctor: heal your Markdown files

Project description

docs

Documentation Status

tests

GitHub Actions Build Status
Coverage Status

package

PyPI Package latest release PyPI Wheel Supported versions Supported implementations
Commits since latest release

Logseq Doctor: heal your flat old Markdown files before importing them.

Note: this project is still alpha, so it’s a bit rough on the edges (documentation and feature-wise).

Installation

The recommended way is to install logseq-doctor globally with pipx:

pipx install logseq-doctor

You can also install the development version with:

pipx install git+https://github.com/andreoliwa/logseq-doctor

You will then have the lsd command available globally in your system.

Quick start

Type lsd without arguments to check the current commands and options:

 Usage: lsd [OPTIONS] COMMAND [ARGS]...

 Logseq Doctor: heal your flat old Markdown files before importing them.

╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.      │
│ --show-completion             Show completion for the current shell, to copy │
│                               it or customize the installation.              │
│ --help                        Show this message and exit.                    │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ outline  Convert flat Markdown to outline.                                   │
│ tasks    List tasks in Logseq.                                               │
│ tidy-up  Tidy up your Markdown files by removing empty bullets in any block. │
╰──────────────────────────────────────────────────────────────────────────────╯

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

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

logseq_doctor-0.3.0.tar.gz (20.7 kB view hashes)

Uploaded Source

Built Distributions

logseq_doctor-0.3.0-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

logseq_doctor-0.3.0-cp312-none-win_amd64.whl (739.1 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

logseq_doctor-0.3.0-cp312-none-win32.whl (679.0 kB view hashes)

Uploaded CPython 3.12 Windows x86

logseq_doctor-0.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

logseq_doctor-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (876.5 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

logseq_doctor-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl (917.2 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

logseq_doctor-0.3.0-cp311-none-win_amd64.whl (738.2 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

logseq_doctor-0.3.0-cp311-none-win32.whl (678.9 kB view hashes)

Uploaded CPython 3.11 Windows x86

logseq_doctor-0.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

logseq_doctor-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (876.2 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

logseq_doctor-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl (917.4 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

logseq_doctor-0.3.0-cp310-none-win_amd64.whl (738.2 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

logseq_doctor-0.3.0-cp310-none-win32.whl (678.9 kB view hashes)

Uploaded CPython 3.10 Windows x86

logseq_doctor-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

logseq_doctor-0.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

logseq_doctor-0.3.0-cp310-cp310-macosx_11_0_arm64.whl (876.2 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

logseq_doctor-0.3.0-cp310-cp310-macosx_10_12_x86_64.whl (917.4 kB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

logseq_doctor-0.3.0-cp39-none-win_amd64.whl (738.2 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

logseq_doctor-0.3.0-cp39-none-win32.whl (678.9 kB view hashes)

Uploaded CPython 3.9 Windows x86

logseq_doctor-0.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

logseq_doctor-0.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

logseq_doctor-0.3.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

logseq_doctor-0.3.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

logseq_doctor-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

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