Skip to content

How can I programmatically get the project name within my hatch project? #2019

@kannangce

Description

@kannangce

My pyproject.toml has the below configuration,

[project]
name = "my-awesome-project"

How can I programatically get the project name within my code without reading the pyproject.toml myself?

Details:

  • I'm using hatch 1.14.0 with python 3.12.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions