semvec/pypi-packages huggingface dataset:
trampolim 0.1.0
A modern Python build backend
Requires Python: >=3.7
Keywords: build pep517 package packaging

# trampolim

[![test](https://github.com/FFY00/trampolim/actions/workflows/test.yml/badge.svg)](https://github.com/FFY00/trampolim/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/FFY00/trampolim/branch/main/graph/badge.svg?token=QAfQGa1bld)](https://codecov.io/gh/FFY00/trampolim)
[![check](https://github.com/FFY00/trampolim/actions/workflows/check.yml/badge.svg)](https://github.com/FFY00/trampolim/actions/workflows/check.yml)
[![Documentation Status](https://readthedocs.org/projects/trampolim/badge/?version=latest)](https://trampolim.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/trampolim.svg)](https://pypi.org/project/trampolim/)

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](https://www.python.org/dev/peps/pep-0621).
Your `pyproject.toml` should look something like this:

```toml
[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'
```
mptc 0.2.0
a small toolkit of functions i use
Requires Python: >=3.6

# mptc

Matt's Python Tool Chain

Functions:

tts(text, lang, slow, p, warnings) uses GTTS to create and play google text to speech in 1 line)
text: The text to say
lang: The language passed to gTTS
slow: When true it slows the speech down
p: Should it print the line also
warnings: if gTTS/playsound are not installed should it print a warning


ct(text,color,fe=5,p=False) colour text
text: The text you want to colour
colour: The colour (ansi code, eg: 1 = red 2 = green)
fe: font effect (ansi code)
p: should the function print the text

tPrint(Text) print with carriage return

clear() clear output on all OS


loading_bar(c=10, dm="Done", tick=True, pct=0, s=1, p=False) coloured loading bar
c: colour
dm: Done Message
tick: whether to assign progress to a loop that ticks on a delay set by s
pct: the percentage of the bar you wish to create if not using tick
s: the delay of tick
p: should the function print the loading bar or not


load_wheel(string="Please wait ..", c=None, i=0, Anim, delay=.5, cm=False): loading widget
string:String to preceed the widget
c: ansi colour
i: which character of the animation to display
Anim: a list of characters that when played in sequence form an animation 
delay: built in delay in seconds
cm: string for after the widget


Premade Anims: spin, bubble, arrow

demo() demos the module

Classes:

Colour(r,g,b,a)
r: red
g: green
b: blue
a: alpha

Colour.invert() returns inverted colour

Example:

purple = mptc.Colour(90,0,90,255)

print(purple.r)
or
print(purple.red)
both output 90

print(purple.g)
outputs 0
print(purple.b)
outputs 90

print(purple.a)
outputs 255

print(purple.combined)
outputs [90,0,90,255]