Skip to main content

A modern Python build backend

Project description

trampolim

test codecov check Documentation Status PyPI version

A modern Python build backend.

Features

  • Task system, allowing to run arbitrary Python code during the build process
  • Automatic version detection from git repos and git archives
  • Easy to use CLI -- build, publish, check for errors and recommended practices (Planned)

Usage

trampolim implements PEP 621. Your pyproject.toml should look something like this:

[build-system]
build-backend = 'trampolim'
requires = ['trampolim~=0.0.1']

[project]
name = 'sample_project'
version = '1.0.0'
description = 'A sample project'
readme = 'README.md'
requires-python = '>=3.7'
license = { file = 'LICENSE' }
authors = [
  { name = 'Filipe Laíns', email = 'lains@riseup.net' },
]
classifiers = [
  'Development Status :: 4 - Beta',
  'Programming Language :: Python',
]

dependencies = [
  'dependency',
  'some-backport ; python_version < "3.8"',
]

[project.optional-dependencies]
test = [
  'pytest',
  'pytest-cov',
]

[project.scripts]
sample_entrypoint = 'sample_project:entrypoint_function'

[project.urls]
homepage = 'https://my-sample-project-website.example.com'
documentation = 'https://github.com/some-user/sample-project'
repository = 'https://github.com/some-user/sample-project'
changelog = 'https://github.com/some-user/sample-project/blob/master/CHANGELOG.rst'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trampolim-0.0.3.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trampolim-0.0.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file trampolim-0.0.3.tar.gz.

File metadata

  • Download URL: trampolim-0.0.3.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for trampolim-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0eb94091e8839e30e45548cbbf760329146c421fa3eb5b58f1972bbfe3e4fd77
MD5 93c2bcf6f8a3b20421037818ab49b243
BLAKE2b-256 402a46ffdd2eb8079e793953628589705df626e33fa94bd4b59d22aa8b3df4f7

See more details on using hashes here.

File details

Details for the file trampolim-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: trampolim-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for trampolim-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9002839d5b1f8c8a991bb7fb823019c3a3e6852dd982f62c5a9c0f49c580f4f5
MD5 567cd19aa0b5e762d1cbb4cb0e4cce1b
BLAKE2b-256 5114121d842952044b8c90ddfe48c2936d448e92f95130c2b4fcb498c52080c8

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