line-chain

Value Scheduler based on Progress.
Installation
Need Python 3.6+.
pip install line-chain
Usage
import line_chain
line_chain = line_chain.factory(config=[
{
'mode': 'linear',
'ratio': 0.01,
'start': 0.2,
'target': 0.8
}, {
'mode': 'cosine',
'ratio': 1.0,
'target': 0.0
}
])
print(line_chain)
#> LineChain (
#> 1.0%, linear from 0.2 to 0.8,
#> 100.0%, cosine from 0.8 to 0.0,
#> )
# plot it!
import numpy as np
import pylab as pl
x = np.linspace(0, 1, 1000)
y = np.vectorize(line_chain.at)(x)
pl.plot(x, y)
Metadata
Release files for line-chain 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| line-chain-0.0.4.tar.gz | 4.3 kB | Without provenance | Details |
Release files / line-chain-0.0.4.tar.gz
| Download URL | line-chain-0.0.4.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0eb62aa92c75d601784d8f552a37aa0025da5ccaa88bb69db38501148631cbe
|
|
BLAKE2b-256 checksum How to use checksums |
e9d21773a16c87aab5601f1b1a92bcf5670e83e47e466e9f63f4051236ee2df4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.7
|
Security for line-chain 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.