# Type Preserving Scaler
[![](https://img.shields.io/pypi/v/type_preserving_scaler.svg)](https://pypi.python.org/pypi/type_preserving_scaler)
[![CI](https://github.com/maximz/type-preserving-scaler/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/maximz/type-preserving-scaler/actions/workflows/ci.yaml)
[![](https://img.shields.io/badge/docs-here-blue.svg)](https://type-preserving-scaler.maximz.com)
[![](https://img.shields.io/github/stars/maximz/type-preserving-scaler?style=social)](https://github.com/maximz/type-preserving-scaler)
## TODOs: Configuring this template
Create a Netlify site for your repository, then turn off automatic builds in Netlify settings.
Add these CI secrets: `PYPI_API_TOKEN`, `NETLIFY_AUTH_TOKEN` (Netlify user settings - personal access tokens), `DEV_NETLIFY_SITE_ID`, `PROD_NETLIFY_SITE_ID` (API ID from Netlify site settings)
Set up Codecov at TODO
## Overview
## Installation
```bash
pip install type_preserving_scaler
```
## Usage
## Development
Submit PRs against `develop` branch, then make a release pull request to `master`.
```bash
# Optional: set up a pyenv virtualenv
pyenv virtualenv 3.9 type_preserving_scaler-3.9
echo "type_preserving_scaler-3.9" > .python-version
pyenv version
# Install requirements
pip install --upgrade pip wheel
pip install -r requirements_dev.txt
# Install local package
pip install -e .
# Install pre-commit
pre-commit install
# Run tests
make test
# Run lint
make lint
# bump version before submitting a PR against master (all master commits are deployed)
bump2version patch # possible: major / minor / patch
# also ensure CHANGELOG.md updated
```
# Changelog
## 0.0.1
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/maximz/type-preserving-scaler",
"name": "type-preserving-scaler",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Maxim Zaslavsky",
"author_email": "maxim@maximz.com",
"download_url": "https://files.pythonhosted.org/packages/cf/18/1c94a388b659e48297b9504868c17972736c060f710c5b8905cf9152beef/type_preserving_scaler-0.0.1.tar.gz",
"platform": null,
"description": "# Type Preserving Scaler\n\n[![](https://img.shields.io/pypi/v/type_preserving_scaler.svg)](https://pypi.python.org/pypi/type_preserving_scaler)\n[![CI](https://github.com/maximz/type-preserving-scaler/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/maximz/type-preserving-scaler/actions/workflows/ci.yaml)\n[![](https://img.shields.io/badge/docs-here-blue.svg)](https://type-preserving-scaler.maximz.com)\n[![](https://img.shields.io/github/stars/maximz/type-preserving-scaler?style=social)](https://github.com/maximz/type-preserving-scaler)\n\n## TODOs: Configuring this template\n\nCreate a Netlify site for your repository, then turn off automatic builds in Netlify settings.\n\nAdd these CI secrets: `PYPI_API_TOKEN`, `NETLIFY_AUTH_TOKEN` (Netlify user settings - personal access tokens), `DEV_NETLIFY_SITE_ID`, `PROD_NETLIFY_SITE_ID` (API ID from Netlify site settings)\n\nSet up Codecov at TODO\n\n## Overview\n\n## Installation\n\n```bash\npip install type_preserving_scaler\n```\n\n## Usage\n\n## Development\n\nSubmit PRs against `develop` branch, then make a release pull request to `master`.\n\n```bash\n# Optional: set up a pyenv virtualenv\npyenv virtualenv 3.9 type_preserving_scaler-3.9\necho \"type_preserving_scaler-3.9\" > .python-version\npyenv version\n\n# Install requirements\npip install --upgrade pip wheel\npip install -r requirements_dev.txt\n\n# Install local package\npip install -e .\n\n# Install pre-commit\npre-commit install\n\n# Run tests\nmake test\n\n# Run lint\nmake lint\n\n# bump version before submitting a PR against master (all master commits are deployed)\nbump2version patch # possible: major / minor / patch\n\n# also ensure CHANGELOG.md updated\n```\n\n\n# Changelog\n\n## 0.0.1\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Type Preserving Scaler",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/maximz/type-preserving-scaler"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7e0817ded296f271b576252c0380a09b3c89c86aad0063a1774504e4a258560f",
"md5": "70b29f86ddb654acee427edd0ea85858",
"sha256": "915b0fa67c2ee109e10773d463ab8bd8c0fc15c6fb6b90a30ebfbf47eddba1e2"
},
"downloads": -1,
"filename": "type_preserving_scaler-0.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "70b29f86ddb654acee427edd0ea85858",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 3970,
"upload_time": "2024-03-16T02:56:28",
"upload_time_iso_8601": "2024-03-16T02:56:28.593255Z",
"url": "https://files.pythonhosted.org/packages/7e/08/17ded296f271b576252c0380a09b3c89c86aad0063a1774504e4a258560f/type_preserving_scaler-0.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cf181c94a388b659e48297b9504868c17972736c060f710c5b8905cf9152beef",
"md5": "db0eb1ab1674ffddf531a67a22d03a53",
"sha256": "97c80a0e21e2adb1f3627d874c1bd6b6c60afa2dfd63efa5ae3adb9232bf3051"
},
"downloads": -1,
"filename": "type_preserving_scaler-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "db0eb1ab1674ffddf531a67a22d03a53",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 11010,
"upload_time": "2024-03-16T02:56:30",
"upload_time_iso_8601": "2024-03-16T02:56:30.450369Z",
"url": "https://files.pythonhosted.org/packages/cf/18/1c94a388b659e48297b9504868c17972736c060f710c5b8905cf9152beef/type_preserving_scaler-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-16 02:56:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "maximz",
"github_project": "type-preserving-scaler",
"github_not_found": true,
"lcname": "type-preserving-scaler"
}