Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.1%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: SWE-Gym-Raw
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 21.7 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

Poetry: Python packaging and dependency management made easy

Poetry Stable Version Pre-release Version Python Versions Download Stats Discord

Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.

Poetry Install

Poetry replaces setup.py, requirements.txt, setup.cfg, MANIFEST.in and Pipfile with a simple pyproject.toml based project format.

```toml [tool.poetry] name = "my-package" version = "0.1.0" description = "The description of the package"

license = "MIT"

authors = [ "Sébastien Eustace sebastien@eustace.io" ]

repository = "https://github.com/python-poetry/poetry" homepage = "https://python-poetry.org"

README file(s) are used as the package description

readme = ["README.md", "LICENSE"]

Keywords (translated to tags on the package index)

keywords = ["packaging", "poetry"]

[tool.poetry.dependencies]

Compatible Python versions

python = ">=3.8"

Standard dependency with semver constraints

aiohttp = "^3.8.1"

Dependency with extras

requests = { version = "^2.28", extras = ["security"] }

Version-specific dependencies with prereleases allowed

tomli = { version = "^2.0.1", python = "<3.11", allow-prereleases = true }

Git dependencies

cleo = { git = "https://github.com/python-poetry/cleo.git", branch = "main" }

Optional dependencies (installed by extras)

pendulum = { version = "^2.1.2", optional = true }

Dependency groups are supported for organizing your dependencies

[tool.poetry.group.dev.dependencies] pytest = "^7.1.2" pytest-cov = "^3.0"

...and can be installed only when explicitly requested

[tool.poetry.group.docs] optional = true [tool.poetry.group.docs.dependencies] Sphinx = "^5.1.1"

Python-style entrypoints and scripts are easily expressed

[tool.poetry.scripts] my-script = "my_package:main" ```

Installation

Poetry supports multiple installation methods, including a simple script found at install.python-poetry.org. For full installation instructions, including advanced usage of the script, alternate install methods, and CI best practices, see the full installation documentation.

Documentation

Documentation for the current version of Poetry (as well as the development branch and recently out of support versions) is available from the official website.

Contribute

Poetry is a large, complex project always in need of contributors. For those new to the project, a list of suggested issues to work on in Poetry and poetry-core is available. The full contributing documentation also provides helpful guidance.

Resources

Related Projects

  • poetry-core: PEP 517 build-system for Poetry projects, and dependency-free core functionality of the Poetry frontend
  • poetry-plugin-export: Export Poetry projects/lock files to foreign formats like requirements.txt
  • poetry-plugin-bundle: Install Poetry projects/lock files to external formats like virtual environments
  • install.python-poetry.org: The official Poetry installation script
  • website: The official Poetry website and blog

Supporters

Thanks to JetBrains for supporting us with licenses for their tools.

JetBrains logo.

Owner

  • Name: SWE-Gym-Raw
  • Login: SWE-Gym-Raw
  • Kind: organization
  • Email: jingmai@pku.edu.cn

Citation (CITATION.cff)

cff-version: 1.2.0
title: "Poetry: Python packaging and dependency management made easy"
message: >-
  If you use this software, please cite it using the
  metadata from this file.
authors:
  - family-names: Eustace
    given-names: Sébastien
  - name: "The Poetry contributors"
abstract:  >-
  Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
  Poetry replaces setup.py, requirements.txt, setup.cfg, MANIFEST.in and Pipfile with a simple pyproject.toml based project format.
license: MIT
license-url: "https://github.com/python-poetry/poetry/blob/master/LICENSE"
repository-code: "https://github.com/python-poetry/poetry"
keywords:
  - python
  - packaging
  - dependency management
type: software
url: "https://python-poetry.org"

GitHub Events

Total
  • Push event: 1
  • Create event: 11
Last Year
  • Push event: 1
  • Create event: 11

Dependencies

.github/actions/bootstrap-poetry/action.yaml actions
  • actions/setup-python 0b93645e9fea7318ecaed2b359559ac225c90a2b composite
.github/actions/poetry-install/action.yaml actions
  • actions/cache 1bd1e32a3bdc45362d1e726936510720a7c30a57 composite
poetry.lock pypi
  • backports-tarfile 1.2.0
  • build 1.2.2.post1
  • cachecontrol 0.14.1
  • certifi 2024.12.14
  • cffi 1.17.1
  • cfgv 3.4.0
  • charset-normalizer 3.4.1
  • cleo 2.1.0
  • colorama 0.4.6
  • coverage 7.6.10
  • crashtest 0.4.1
  • cryptography 43.0.3
  • deepdiff 8.1.1
  • distlib 0.3.9
  • dulwich 0.22.7
  • exceptiongroup 1.2.2
  • execnet 2.1.1
  • fastjsonschema 2.21.1
  • filelock 3.16.1
  • httpretty 1.1.4
  • identify 2.6.4
  • idna 3.10
  • importlib-metadata 8.5.0
  • iniconfig 2.0.0
  • installer 0.7.0
  • jaraco-classes 3.4.0
  • jaraco-context 6.0.1
  • jaraco-functools 4.1.0
  • jeepney 0.8.0
  • keyring 25.6.0
  • more-itertools 10.5.0
  • msgpack 1.1.0
  • mypy 1.14.1
  • mypy-extensions 1.0.0
  • nodeenv 1.9.1
  • orderly-set 5.2.3
  • packaging 24.2
  • pkginfo 1.12.0
  • platformdirs 4.3.6
  • pluggy 1.5.0
  • poetry-core 2.0.1
  • pre-commit 4.0.1
  • psutil 6.1.1
  • pycparser 2.22
  • pyproject-hooks 1.2.0
  • pytest 8.3.4
  • pytest-cov 6.0.0
  • pytest-github-actions-annotate-failures 0.1.8
  • pytest-mock 3.14.0
  • pytest-randomly 3.16.0
  • pytest-xdist 3.6.1
  • pywin32-ctypes 0.2.3
  • pyyaml 6.0.2
  • rapidfuzz 3.11.0
  • requests 2.32.3
  • requests-toolbelt 1.0.0
  • secretstorage 3.3.3
  • setuptools 75.6.0
  • shellingham 1.5.4
  • tomli 2.2.1
  • tomlkit 0.13.2
  • trove-classifiers 2024.10.21.16
  • types-requests 2.32.0.20241016
  • typing-extensions 4.12.2
  • urllib3 2.2.3
  • virtualenv 20.28.1
  • xattr 1.1.0
  • zipp 3.21.0
pyproject.toml pypi
  • pre-commit >=2.10 develop
  • setuptools >=60 develop
  • pytest-github-actions-annotate-failures ^0.1.7 github-actions
  • build (>=1.2.1,<2.0.0)
  • cachecontrol [filecache] (>=0.14.0,<0.15.0)
  • cleo (>=2.1.0,<3.0.0)
  • dulwich (>=0.22.6,<0.23.0)
  • fastjsonschema (>=2.18.0,<3.0.0)
  • importlib-metadata (>=4.4) ; python_version < '3.10'
  • installer (>=0.7.0,<0.8.0)
  • keyring (>=25.1.0,<26.0.0)
  • packaging (>=24.0)
  • pkginfo (>=1.12,<2.0)
  • platformdirs (>=3.0.0,<5)
  • poetry-core (==2.0.1)
  • pyproject-hooks (>=1.0.0,<2.0.0)
  • requests (>=2.26,<3.0)
  • requests-toolbelt (>=1.0.0,<2.0.0)
  • shellingham (>=1.5,<2.0)
  • tomli (>=2.0.1,<3.0.0) ; python_version < '3.11'
  • tomlkit (>=0.11.4,<1.0.0)
  • trove-classifiers (>=2022.5.19)
  • virtualenv (>=20.26.6,<21.0.0)
  • xattr (>=1.0.0,<2.0.0) ; sys_platform == 'darwin'
  • coverage >=7.2.0 test
  • deepdiff >=6.3 test
  • httpretty >=1.1 test
  • jaraco-classes >=3.3.1 test
  • pytest >=8.0 test
  • pytest-cov >=4.0 test
  • pytest-mock >=3.9 test
  • pytest-randomly >=3.12 test
  • pytest-xdist >=3.1 test
  • urllib3 <2.3 test
  • mypy >=1.8.0 typing
  • types-requests >=2.28.8 typing
tests/fixtures/bad_scripts_project/no_colon/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/bad_scripts_project/too_many_colon/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/build_system_requires_not_available/pyproject.toml pypi
  • python ^3.7
tests/fixtures/deleted_directory_dependency/poetry.lock pypi
  • missing 1.2.3
tests/fixtures/deleted_directory_dependency/pyproject.toml pypi
  • python *
tests/fixtures/deleted_file_dependency/poetry.lock pypi
  • missing 1.2.3
tests/fixtures/deleted_file_dependency/pyproject.toml pypi
  • python *
tests/fixtures/directory/project_with_transitive_directory_dependencies/pyproject.toml pypi
  • project-with-extras *
  • project-with-transitive-file-dependencies *
  • python *
tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py pypi
tests/fixtures/directory/project_with_transitive_file_dependencies/inner-directory-project/pyproject.toml pypi
  • python *
tests/fixtures/directory/project_with_transitive_file_dependencies/pyproject.toml pypi
  • demo *
  • inner-directory-project *
  • python *
tests/fixtures/excluded_subpackage/pyproject.toml pypi
  • pytest ^3.0 develop
  • python ^3.6
tests/fixtures/extended_project/pyproject.toml pypi
  • python ^3.7
tests/fixtures/extended_project_without_setup/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/extended_with_no_setup/pyproject.toml pypi
tests/fixtures/git/github.com/demo/demo/pyproject.toml pypi
  • cleo *
  • pendulum >=1.4.4
  • python *
  • tomlkit *
tests/fixtures/git/github.com/demo/namespace-package-one/setup.py pypi
tests/fixtures/git/github.com/demo/no-dependencies/setup.py pypi
tests/fixtures/git/github.com/demo/no-version/setup.py pypi
  • pendulum >=1.4.4
tests/fixtures/git/github.com/demo/non-canonical-name/setup.py pypi
  • pendulum >=1.4.4
tests/fixtures/git/github.com/demo/poetry-plugin/pyproject.toml pypi
  • pendulum ^2.0
  • python ^3.6
  • tomlkit ^0.7.0
tests/fixtures/git/github.com/demo/poetry-plugin2/subdir/pyproject.toml pypi
  • pendulum ^2.0
  • python ^3.6
  • tomlkit ^0.7.0
tests/fixtures/git/github.com/demo/prerelease/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/git/github.com/demo/pyproject-demo/pyproject.toml pypi
  • pendulum ^1.4
  • python ~2.7 || ^3.4
tests/fixtures/git/github.com/demo/subdirectories/one/pyproject.toml pypi
  • python ^3.7
tests/fixtures/git/github.com/demo/subdirectories/one-copy/pyproject.toml pypi
  • python ^3.7
tests/fixtures/git/github.com/demo/subdirectories/two/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/git/github.com/forked_demo/subdirectories/one/pyproject.toml pypi
  • python ^3.7
tests/fixtures/git/github.com/forked_demo/subdirectories/one-copy/pyproject.toml pypi
  • python ^3.7
tests/fixtures/git/github.com/forked_demo/subdirectories/two/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/incompatible_lock/poetry.lock pypi
tests/fixtures/incompatible_lock/pyproject.toml pypi
  • python ^3.8
  • sampleproject >=1.3.1
tests/fixtures/inspection/demo/pyproject.toml pypi
  • pytest ^3.0 develop
  • cleo *
  • pendulum >=1.4.4
  • python ~2.7 || ^3.4
  • tomlkit *
tests/fixtures/inspection/demo_no_setup_pkg_info_no_deps/pyproject.toml pypi
tests/fixtures/inspection/demo_no_setup_pkg_info_no_deps_dynamic/pyproject.toml pypi
tests/fixtures/inspection/demo_no_setup_pkg_info_no_deps_for_sure/pyproject.toml pypi
tests/fixtures/inspection/demo_only_requires_txt.egg-info/requires.txt pypi
  • cleo * test
  • pendulum * test
  • tomlkit * test
tests/fixtures/inspection/demo_poetry_package/pyproject.toml pypi
  • pendulum *
  • python ^3.10
tests/fixtures/inspection/demo_with_obsolete_egg_info/demo-0.1.0.egg-info/requires.txt pypi
  • cleo * test
  • pendulum * test
  • tomlkit * test
tests/fixtures/inspection/demo_with_obsolete_egg_info/pyproject.toml pypi
  • pytest ^3.0 develop
  • cleo *
  • pendulum >=1.4.4
  • python ~2.7 || ^3.4
  • tomlkit *
tests/fixtures/invalid_lock/poetry.lock pypi
tests/fixtures/invalid_lock/pyproject.toml pypi
  • python ^3.8
  • sampleproject >=1.3.1
tests/fixtures/invalid_pyproject/pyproject.toml pypi
  • invalid_dep 1.0
  • invalid_source *
  • invalid_source_multi [{"version" => "*", "platform" => "linux", "source" => "exists"}, {"version" => "*", "platform" => "win32", "source" => "not-exists2"}]
  • pendulum ^2.0.5
  • python *
tests/fixtures/invalid_pyproject_dep_name/pyproject.toml pypi
  • invalid 1.0
tests/fixtures/missing_directory_dependency/poetry.lock pypi
  • missing 1.2.3
tests/fixtures/missing_directory_dependency/pyproject.toml pypi
  • missing * develop
  • python *
tests/fixtures/missing_extra_directory_dependency/poetry.lock pypi
  • missing 1.2.3
tests/fixtures/missing_extra_directory_dependency/pyproject.toml pypi
  • missing *
  • python *
tests/fixtures/missing_file_dependency/poetry.lock pypi
  • missing 1.2.3
tests/fixtures/missing_file_dependency/pyproject.toml pypi
  • missing * develop
  • python *
tests/fixtures/nameless_pyproject/pyproject.toml pypi
  • python ^3.10
tests/fixtures/no_name_project/pyproject.toml pypi
  • pytest ~3.4 develop
  • python ~2.7 || ^3.6
tests/fixtures/non_package_mode/pyproject.toml pypi
tests/fixtures/old_lock/poetry.lock pypi
  • sampleproject 1.3.1
tests/fixtures/old_lock/pyproject.toml pypi
  • python ^3.8
  • sampleproject >=1.3.1
tests/fixtures/old_lock_path_dependency/poetry.lock pypi
  • quix 1.2.3
tests/fixtures/old_lock_path_dependency/pyproject.toml pypi
  • python ^3.8
  • quix *
tests/fixtures/old_lock_path_dependency/quix/pyproject.toml pypi
  • python ~2.7 || ^3.4
  • sampleproject >=1.3.1
tests/fixtures/outdated_lock/poetry.lock pypi
  • certifi 2020.6.20
  • chardet 3.0.4
  • docker 4.3.0
  • idna 2.10
  • pywin32 227
  • requests 2.24.0
  • six 1.15.0
  • urllib3 1.25.10
  • websocket-client 0.57.0
tests/fixtures/outdated_lock/pyproject.toml pypi
  • docker >=4.3.1
tests/fixtures/private_pyproject/pyproject.toml pypi
tests/fixtures/project_plugins/pyproject.toml pypi
tests/fixtures/project_with_extras/pyproject.toml pypi
  • cachy >=0.2.0
  • pendulum >=1.4.4
  • python *
tests/fixtures/project_with_git_dev_dependency/pyproject.toml pypi
tests/fixtures/project_with_local_dependencies/pyproject.toml pypi
  • demo *
  • project-with-setup *
  • python ~2.7 || ^3.4
tests/fixtures/project_with_multi_constraints_dependency/pyproject.toml pypi
  • pendulum [{"version" => "^1.5", "python" => "<3.4"}, {"version" => "^2.0", "python" => "^3.4"}]
  • python *
tests/fixtures/project_with_nested_local/bar/pyproject.toml pypi
  • python ~2.7 || ^3.4
  • quix *
tests/fixtures/project_with_nested_local/foo/pyproject.toml pypi
  • bar *
  • python ~2.7 || ^3.4
tests/fixtures/project_with_nested_local/pyproject.toml pypi
  • bar *
  • foo *
  • python ~2.7 || ^3.4
tests/fixtures/project_with_nested_local/quix/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/project_with_setup/setup.py pypi
  • pendulum >=1.4.4
tests/fixtures/project_with_setup_calls_script/pyproject.toml pypi
tests/fixtures/project_with_setup_calls_script/setup.py pypi
  • pendulum >=1.4.4
tests/fixtures/pypi_reference/pyproject.toml pypi
  • docker >=4.3.1
  • python ^3.8
tests/fixtures/sample_project/pyproject.toml pypi
tests/fixtures/scripts/pyproject.toml pypi
  • python ^3.7
tests/fixtures/self_version_not_ok/pyproject.toml pypi
  • python ^3.8
tests/fixtures/self_version_ok/pyproject.toml pypi
  • python ^3.8
tests/fixtures/simple_project/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/simple_project_legacy/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/up_to_date_lock/poetry.lock pypi
  • certifi 2020.12.5
  • chardet 4.0.0
  • docker 4.3.1
  • idna 2.10
  • pywin32 227
  • requests 2.25.1
  • six 1.15.0
  • urllib3 1.26.3
  • websocket-client 0.58.0
tests/fixtures/up_to_date_lock/pyproject.toml pypi
  • docker >=4.3.1
tests/fixtures/up_to_date_lock_non_package/poetry.lock pypi
  • certifi 2020.12.5
  • chardet 4.0.0
  • docker 4.3.1
  • idna 2.10
  • pywin32 227
  • requests 2.25.1
  • six 1.15.0
  • urllib3 1.26.3
  • websocket-client 0.58.0
tests/fixtures/up_to_date_lock_non_package/pyproject.toml pypi
  • docker >=4.3.1
  • python ^3.8
tests/fixtures/with-include/pyproject.toml pypi
  • pytest ~3.4 develop
  • cachy ^0.2.0
  • cleo ^0.6
  • pendulum ^1.4
  • python ^3.6
tests/fixtures/with_conditional_path_deps/demo_one/pyproject.toml pypi
  • python ^3.7
tests/fixtures/with_conditional_path_deps/demo_two/pyproject.toml pypi
  • python ^3.7
tests/fixtures/with_conditional_path_deps/pyproject.toml pypi
  • demo [{"path" => "demo_one", "platform" => "linux"}, {"path" => "demo_two", "platform" => "win32"}]
  • python ^3.7
tests/fixtures/with_explicit_pypi_and_other/pyproject.toml pypi
  • python ^3.6
tests/fixtures/with_explicit_pypi_and_other_explicit/pyproject.toml pypi
  • python ^3.6
tests/fixtures/with_explicit_pypi_no_other/pyproject.toml pypi
  • python ^3.6
tests/fixtures/with_explicit_source/pyproject.toml pypi
  • python ^3.6
tests/fixtures/with_local_config/pyproject.toml pypi
tests/fixtures/with_multiple_dist_dir/pyproject.toml pypi
  • python ~2.7 || ^3.4
tests/fixtures/with_multiple_readme_files/pyproject.toml pypi
  • python ^2.7
tests/fixtures/with_multiple_sources/pyproject.toml pypi
  • python ^3.6