# cloack
[![PyPI](https://img.shields.io/pypi/v/cloack?style=flat-square)](https://pypi.python.org/pypi/cloack/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/cloack?style=flat-square)](https://pypi.python.org/pypi/cloack/)
[![PyPI - License](https://img.shields.io/pypi/l/cloack?style=flat-square)](https://pypi.python.org/pypi/cloack/)
[![Coookiecutter - Wolt](https://img.shields.io/badge/cookiecutter-Wolt-00c2e8?style=flat-square&logo=cookiecutter&logoColor=D4AA00&link=https://github.com/woltapp/wolt-python-package-cookiecutter)](https://github.com/woltapp/wolt-python-package-cookiecutter)
A Python package to truncate dates and times.
## References
- [Wolt Python Package Cookiecutter](https://github.com/woltapp/wolt-python-package-cookiecutter) repo
- [Delorean](https://delorean.readthedocs.io/en/latest/) package
## Development
- `poetry install`
- `poetry run isort .` or `poetry run isort . --verbose`
- `poetry run black .` or `poetry run black . --verbose`
- [Add an entry](https://github.com/mschmieder/python-kacl#add-an-entry-to-an-unreleased-section) to the `CHANGELOG.md` file and manually save it in VS Code to format it
- `poetry run kacl-cli verify` or `poetry run kacl-cli verify --json`
- `poetry run pytest` or `poetry run pytest --verbose`
## Deployment
- `poetry version patch` or `poetry version minor`
- `poetry run kacl-cli release $(poetry version --short) --modify` and manually save the `CHANGELOG.md` file in VS Code to format it
## Notes
- [cruft](https://cruft.github.io/cruft/):
- Alternative to Cookiecutter
- cruft uses Cookiecutter as the template engine
- [pytest-github-actions-annotate-failures](https://github.com/utgwkk/pytest-github-actions-annotate-failures)
- [flake8-logging-format](https://github.com/globality-corp/flake8-logging-format)
- Poetry:
- `poetry --version`
- Update Poetry: `poetry self update` or `curl -sSL https://install.python-poetry.org | python3 - --uninstall` + `curl -sSL https://install.python-poetry.org | python3 -`
- `curl -sSL https://install.python-poetry.org | python3 - --version 1.2.0`
- Check the current configuration: `poetry config --list`
- `poetry config virtualenvs.in-project true --local`
- `poetry config virtualenvs.in-project --unset`
- `poetry new cloack`
- Check `poetry-core` version: `poetry about`
- `poetry shell`
- `poetry publish --help`
- `poetry run black --help`
- `poetry run kacl-cli --help`
- `poetry run kacl-cli add --help`
- `poetry run kacl-cli add added 'Boilerplate to create a Python package.' --modify`
- `poetry run kacl-cli new` or `poetry run kacl-cli new | pbcopy`
- https://github.com/mschmieder/python-kacl/blob/v0.2.24/kacl/document.py#L426
- https://python-poetry.org/docs/configuration/#local-configuration
- GitHub Actions:
- [Relies-on](https://github.com/hadialqattan/relies-on)
- [Detect and Tag New Version](https://github.com/salsify/action-detect-and-tag-new-version)
- [actionlint](https://github.com/rhysd/actionlint):
- Online: https://rhysd.github.io/actionlint/
- https://github.com/rhysd/actionlint/blob/main/docs/install.md
- `brew install actionlint` + `actionlint --help` + `actionlint .github/workflows/*.yml` or `actionlint -verbose .github/workflows/*.yml`
Raw data
{
"_id": null,
"home_page": "https://github.com/joaopalmeiro/cloack",
"name": "cloack",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Jo\u00e3o Palmeiro",
"author_email": "jm.palmeiro@campus.fct.unl.pt",
"download_url": "https://files.pythonhosted.org/packages/ef/ef/bd3ca599774bcac1d8e1be6cb5cab8e1b0cb57fba3782dc0e8ec4f22b6b6/cloack-0.1.0.tar.gz",
"platform": null,
"description": "# cloack\n\n[![PyPI](https://img.shields.io/pypi/v/cloack?style=flat-square)](https://pypi.python.org/pypi/cloack/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/cloack?style=flat-square)](https://pypi.python.org/pypi/cloack/)\n[![PyPI - License](https://img.shields.io/pypi/l/cloack?style=flat-square)](https://pypi.python.org/pypi/cloack/)\n[![Coookiecutter - Wolt](https://img.shields.io/badge/cookiecutter-Wolt-00c2e8?style=flat-square&logo=cookiecutter&logoColor=D4AA00&link=https://github.com/woltapp/wolt-python-package-cookiecutter)](https://github.com/woltapp/wolt-python-package-cookiecutter)\n\nA Python package to truncate dates and times.\n\n## References\n\n- [Wolt Python Package Cookiecutter](https://github.com/woltapp/wolt-python-package-cookiecutter) repo\n- [Delorean](https://delorean.readthedocs.io/en/latest/) package\n\n## Development\n\n- `poetry install`\n- `poetry run isort .` or `poetry run isort . --verbose`\n- `poetry run black .` or `poetry run black . --verbose`\n- [Add an entry](https://github.com/mschmieder/python-kacl#add-an-entry-to-an-unreleased-section) to the `CHANGELOG.md` file and manually save it in VS Code to format it\n- `poetry run kacl-cli verify` or `poetry run kacl-cli verify --json`\n- `poetry run pytest` or `poetry run pytest --verbose`\n\n## Deployment\n\n- `poetry version patch` or `poetry version minor`\n- `poetry run kacl-cli release $(poetry version --short) --modify` and manually save the `CHANGELOG.md` file in VS Code to format it\n\n## Notes\n\n- [cruft](https://cruft.github.io/cruft/):\n - Alternative to Cookiecutter\n - cruft uses Cookiecutter as the template engine\n- [pytest-github-actions-annotate-failures](https://github.com/utgwkk/pytest-github-actions-annotate-failures)\n- [flake8-logging-format](https://github.com/globality-corp/flake8-logging-format)\n- Poetry:\n - `poetry --version`\n - Update Poetry: `poetry self update` or `curl -sSL https://install.python-poetry.org | python3 - --uninstall` + `curl -sSL https://install.python-poetry.org | python3 -`\n - `curl -sSL https://install.python-poetry.org | python3 - --version 1.2.0`\n - Check the current configuration: `poetry config --list`\n - `poetry config virtualenvs.in-project true --local`\n - `poetry config virtualenvs.in-project --unset`\n - `poetry new cloack`\n - Check `poetry-core` version: `poetry about`\n - `poetry shell`\n - `poetry publish --help`\n- `poetry run black --help`\n- `poetry run kacl-cli --help`\n- `poetry run kacl-cli add --help`\n- `poetry run kacl-cli add added 'Boilerplate to create a Python package.' --modify`\n- `poetry run kacl-cli new` or `poetry run kacl-cli new | pbcopy`\n - https://github.com/mschmieder/python-kacl/blob/v0.2.24/kacl/document.py#L426\n- https://python-poetry.org/docs/configuration/#local-configuration\n- GitHub Actions:\n - [Relies-on](https://github.com/hadialqattan/relies-on)\n - [Detect and Tag New Version](https://github.com/salsify/action-detect-and-tag-new-version)\n - [actionlint](https://github.com/rhysd/actionlint):\n - Online: https://rhysd.github.io/actionlint/\n - https://github.com/rhysd/actionlint/blob/main/docs/install.md\n - `brew install actionlint` + `actionlint --help` + `actionlint .github/workflows/*.yml` or `actionlint -verbose .github/workflows/*.yml`\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package to truncate dates and times.",
"version": "0.1.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "77c65b5fca75f590c0a3c99aa27494b0",
"sha256": "0b9c980a50eea34408b5364245effe22d2b6f3c7fed7028727c5022d194953b7"
},
"downloads": -1,
"filename": "cloack-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "77c65b5fca75f590c0a3c99aa27494b0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 3804,
"upload_time": "2022-12-06T14:19:47",
"upload_time_iso_8601": "2022-12-06T14:19:47.747388Z",
"url": "https://files.pythonhosted.org/packages/69/88/98cb1949d84bd54b67ef760015eb474a3663220834ef6d1cb0d4082ad65e/cloack-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "0f2133bdfd1a35082fc8b4cafb9ff096",
"sha256": "f8f91f53cd02e14adc8c46ae49abf4caa6587ac1087a1adc577576a9aa6096fb"
},
"downloads": -1,
"filename": "cloack-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "0f2133bdfd1a35082fc8b4cafb9ff096",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 4244,
"upload_time": "2022-12-06T14:19:49",
"upload_time_iso_8601": "2022-12-06T14:19:49.231389Z",
"url": "https://files.pythonhosted.org/packages/ef/ef/bd3ca599774bcac1d8e1be6cb5cab8e1b0cb57fba3782dc0e8ec4f22b6b6/cloack-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-06 14:19:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "joaopalmeiro",
"github_project": "cloack",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cloack"
}