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.1.0']

[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.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

trampolim-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trampolim-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for trampolim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f4ca5a4cf6ba7adb252cf1972799da6a63d4d587dc59813a555df2080760c264
MD5 8d296d6fe228ab73770b4e4171c81667
BLAKE2b-256 a02a9b3c1480ec3a1b22de95b3395f81da7b5039259d27253a5fa10e7502a48f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trampolim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for trampolim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3596443f998b1fbacacad11f7c6faf4c4f4d4b58836f9ca0b92cd34b2256befe
MD5 3b7476e7735b109095e7f78102cd9c05
BLAKE2b-256 4c462aea7ea59afb9327c08cc8fa9c1e365ea8499d5c5248dd65df9781b0a3ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page