Skip to main content

List of files that indicate a project root.

Project description

> project-markers

Common project root markers.

It's just a JSON file, so you can use it in any environment.

Installation

pip install project-markers

Usage

import project_markers

print(project_markers)
# => ['.ansible-lint', '.bazelrc', '.browserslistrc', '.buckconfig', ...]

Note: Most type checkers will falsely warn project_markers is not iterable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using # type: ignore.

The list includes hundreds of markers from many tools and ecosystems, including:

  • Version control (.git, .hg, .svn)
  • Python (pyproject.toml, setup.py, requirements.txt)
  • JavaScript (package.json, yarn.lock, tsconfig.json)
  • Docker/K8s (Dockerfile, docker-compose.yml)
  • CI/CD (.github, .gitlab-ci.yml, Jenkinsfile)

MIT License

Copyright © 2026 Adam Lui


Related

📂 find-project-root - Locate project root via custom markers.
📊 get-min-py - Get the minimum Python version required for a PyPI package.

More Python utilities / Discuss / Report bug / Report vulnerability

Download files

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

Source Distribution

project_markers-1.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

project_markers-1.1.0-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file project_markers-1.1.0.tar.gz.

File metadata

  • Download URL: project_markers-1.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for project_markers-1.1.0.tar.gz
Algorithm Hash digest
SHA256 32a787bfff09312b3571b38d0a4b2e678093e399f9130ecb02cf0bdd6c888b85
MD5 eebf55f04eea3d89cb5765c1ded0fc27
BLAKE2b-256 029f8f09398633381b254fc2458e7d5a2dbe1096e1278be5f182c292902c544f

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_markers-1.1.0.tar.gz:

Publisher: publish-to-pypi-on-new-tag.yml on adamlui/python-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file project_markers-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for project_markers-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e81fe1d5ea860d6335cedb59f862ffb092960a5e8fb4677badf0b3683ed03cb9
MD5 21ead2c4ecabdb635ee3573a26a8e0eb
BLAKE2b-256 afcad6d4c30d30942a55b07d05ca570734a5192dcae6b285d5ba82e633540804

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_markers-1.1.0-py2.py3-none-any.whl:

Publisher: publish-to-pypi-on-new-tag.yml on adamlui/python-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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