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.0.4.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.0.4-py2.py3-none-any.whl (6.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: project_markers-1.0.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for project_markers-1.0.4.tar.gz
Algorithm Hash digest
SHA256 95e23deeeebc307a3aeaea3cfacb4891586482175858d0f29cfb416bf7faf4b8
MD5 78fc9578ac39d980a156602e51c0a812
BLAKE2b-256 d8e682ab1a8ab3efb981e66eda3d3d985e0dff1c3d796a963a9f2ce1fa713be7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for project_markers-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 62a6292f513b23feaafcbefec98d30bad5d1bca61249355ad7ee5c3451ea276a
MD5 fa0014fc0219c59b274821ff77a281ee
BLAKE2b-256 b6ff69e8d1d8ae4fec6906b344f745b937ca52701c07297e1dac4667408e8fbf

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