[build-system] requires = ["uv_build>=0.11.17,<0.13"] build-backend = "uv_build" [project] name = "barman" version = "3.20.1" description = "Backup and Recovery Manager for PostgreSQL" readme = "README.rst" license = "GPL-3.0-only" license-files = ["LICENSE"] requires-python = ">=3.12" classifiers = [ "Environment :: Console", "Development Status :: 5 - Production/Stable", "Topic :: System :: Archiving :: Backup", "Topic :: Database", "Topic :: System :: Recovery Tools", "Intended Audience :: System Administrators", "Operating System :: POSIX :: Linux", "Operating System :: POSIX :: BSD :: FreeBSD", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ] dependencies = [ "psycopg2 >= 2.4.2", "python-dateutil", ] [[project.authors]] name = "EnterpriseDB" email = "barman@enterprisedb.com" [project.urls] Homepage = "https://www.pgbarman.org/" Documentation = "https://docs.pgbarman.org/" "Source Code" = "https://github.com/EnterpriseDB/barman" "Issue Tracker" = "https://github.com/EnterpriseDB/barman/issues" "Release Notes" = "https://github.com/EnterpriseDB/barman/blob/master/RELNOTES.md" [project.optional-dependencies] argcomplete = ["argcomplete"] aws-snapshots = ["boto3"] azure = [ "azure-identity", "azure-storage-blob", ] azure-snapshots = [ "azure-identity", "azure-mgmt-compute>=38.0.0", ] cloud = ["boto3"] google = ["google-cloud-storage>=3.12,<3.14"] google-snapshots = [ "grpcio", "google-cloud-compute", ] snappy = [ "python-snappy", "cramjam >= 2.7.0", ] zstandard = ["zstandard"] lz4 = ["lz4"] [project.scripts] barman = "barman.cli:main" barman-cloud-backup = "barman.clients.cloud_backup:main" barman-cloud-backup-delete = "barman.clients.cloud_backup_delete:main" barman-cloud-backup-keep = "barman.clients.cloud_backup_keep:main" barman-cloud-backup-list = "barman.clients.cloud_backup_list:main" barman-cloud-backup-show = "barman.clients.cloud_backup_show:main" barman-cloud-check-wal-archive = "barman.clients.cloud_check_wal_archive:main" barman-cloud-restore = "barman.clients.cloud_restore:main" barman-cloud-wal-archive = "barman.clients.cloud_walarchive:main" barman-cloud-wal-restore = "barman.clients.cloud_walrestore:main" barman-wal-archive = "barman.clients.walarchive:main" barman-wal-restore = "barman.clients.walrestore:main" [tool.uv] environments = [ "sys_platform == 'linux'", "sys_platform == 'darwin'", "sys_platform == 'freebsd'", ] [tool.uv.build-backend] source-include = [ "uv.lock", "docs/barman.d/**", "docs/barman.conf", "scripts/barman.bash_completion", "docs/_build/man/**", "AUTHORS", "RELNOTES.md", "INSTALL.md", ] [tool.ruff] line-length = 88 [tool.ruff.lint] preview = true select = [ "CPY001", "E", "F", "I", "W", ] ignore = ["E501"] [tool.ruff.lint.isort] [tool.ruff.lint.flake8-copyright] notice-rgx = '© Copyright EnterpriseDB UK Limited \d{4}-2026' [dependency-groups] test = [ "pytest", "mock", "pytest-cov", ] docs = [ "sphinx", "sphinx-github-style", "sphinxcontrib-apidoc", "pydata-sphinx-theme", "myst-parser", ] lint = ["ruff"] [[dependency-groups.dev]] include-group = "test" [[dependency-groups.dev]] include-group = "docs" [[dependency-groups.dev]] include-group = "lint"