Perform regex-replacement on stdin and output result to stdout.
Go to file
2022-06-23 19:21:37 +02:00
.idea/runConfigurations init 2022-06-23 14:50:49 +02:00
archlinux add comment 2022-06-23 19:21:37 +02:00
src/py_regex_replace init 2022-06-23 14:50:49 +02:00
test init 2022-06-23 14:50:49 +02:00
.gitignore add PKGBUILD 2022-06-23 15:19:17 +02:00
LICENSE init 2022-06-23 14:50:49 +02:00
Makefile init 2022-06-23 14:50:49 +02:00
pyproject.toml init 2022-06-23 14:50:49 +02:00
README.md add PKGBUILD 2022-06-23 15:19:17 +02:00
setup.cfg init 2022-06-23 14:50:49 +02:00

py-regex-replace

perform regex-replacement on stdin and output result to stdout

Installation

make install

Uploading to TestPyPI

More detailed instructions can be found at https://packaging.python.org/tutorials/packaging-projects/

  1. Set up a venv
  2. Increase/Adjust [metadata][version] in setup.cfg
  3. Install the build and twine modules to your venv.
  4. Next generate a distribution archive:
python3 -m build
  1. Upload the distribution packages with twine. For the username, use __token__. For the password, use a test.pypi.org API token:
python3 -m twine upload --repository testpypi dist/*
  1. Congratulations! You can view the uploaded module under: