Registry / devops / poetry-core

poetry-core

JSON →
library2.4.1pypypi✓ verified 10d ago

Poetry Core is the PEP 517 build backend and core utilities for the Poetry dependency management and packaging tool. The current version is 2.3.1, released on March 27, 2026. Poetry Core is actively maintained with regular updates.

pip install poetry-core
INSTALL
IMPORT
SIG · POETRY-CORE
P
poetry-core
devopspythonv2.4.1
Install
1.9s avg
Import
14ms
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.4.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.014s · 20.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.9s · import 0.014s · 21MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PoetryCore
import poetry.core
from poetry.core import PoetryCore

A basic example demonstrating how to import and use PoetryCore to access project metadata.

import os from poetry.core import PoetryCore # Initialize PoetryCore with project directory project_dir = os.path.abspath(os.path.dirname(__file__)) poetry = PoetryCore(project_dir) # Access project metadata print(f"Project Name: {poetry.name}") print(f"Project Version: {poetry.version}")
Debug
Known issues
breakingDropped support for Python 3.9 in version 2.3.0.
fix
Upgrade to Python 3.10 or later.
affects: 2.3.0
deprecatedThe 'project' section in pyproject.toml is now required as per PEP 621.
fix
Ensure 'project' section is present in pyproject.toml.
affects: 2.0.0
breakingThe 'PoetryCore' class cannot be imported directly from the 'poetry.core' module, indicating a breaking API change within the 'poetry' library.
fix
Adjust the import statement for 'PoetryCore' according to the updated 'poetry' API documentation or downgrade 'poetry' to a compatible version.
affects: 1.x.x
Upgrade
Version history
2.4.1latest on PyPI · released May 23, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
Resources
poetry-core — pip install poetry-core · libregistry