Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Friendly reminder: 📌 Pin the package, libvcs is pre-1.0 and APIs will be changing throughout 2025.
libvcs 0.35.0 documentation
Light Logo Dark Logo
libvcs 0.35.0 documentation
  • Quickstart
  • URL Parser - libvcs.url
    • Git URL Parser - libvcs.url.git
    • SVN URL Parser - libvcs.url.svn
    • Mercurial URL Parser - libvcs.url.hg
    • Framework: Add and extend URL parsers - libvcs.url.base
    • VCS Detection - libvcs.url.registry
    • Constants - libvcs.url.constants
  • Commands - libvcs.cmd
    • libvcs.cmd.git
      • submodule
      • remote
      • stash
    • libvcs.cmd.hg
    • libvcs.cmd.svn
  • Sync - libvcs.sync
    • libvcs.sync.git
    • libvcs.sync.hg
    • libvcs.sync.svn
    • libvcs.sync.base
  • pytest Plugin

Project

  • Contributing
    • Workflow
  • Internals
    • Exceptions - libvcs.exc
    • Typing utilities - libvcs._internal.types
    • Dataclass helpers - libvcs._internal.dataclasses
    • List querying - libvcs._internal.query_list
    • Command helpers - libvcs._internal.run
    • SubprocessCommand - libvcs._internal.subprocess
    • Shortcuts - libvcs._internal.shortcuts
  • Changelog
  • Migration notes
  • GitHub

team git-pull / Tony Narlock:

vcs-python vcspull (libvcs), g

tmux-python tmuxp (libtmux)

cihai unihan-etl (db) cihai (cli)

django django-slugify-processor django-docutils

docs + tests gp-libs

web social-embed

Back to top
View this page
Edit this page

Typing utilities - libvcs._internal.types¶

Internal type annotations.

Notes

StrPath and StrOrBytesPath is based on typeshed’s.

libvcs._internal.types.StrPath¶

os.PathLike or str

alias of str | PathLike[str]

libvcs._internal.types.StrOrBytesPath¶

os.PathLike, str or bytes-like object

alias of str | bytes | PathLike[str] | PathLike[bytes]

libvcs._internal.types.VCSLiteral¶

Literal of built-in VCS aliases

Type:

UNSTABLE

alias of Literal[‘git’, ‘svn’, ‘hg’]

Next
Dataclass helpers - libvcs._internal.dataclasses
Previous
Exceptions - libvcs.exc
Copyright © Copyright 2016- Tony Narlock
Made with Sphinx and @pradyunsg's Furo
On this page
  • Typing utilities - libvcs._internal.types
    • StrPath
    • StrOrBytesPath
    • VCSLiteral