Skip to main content

Installation

$ [sudo] pip install replace

Examples

import replace
>>> replace.replace(["3.6","3.7","3.8"], {"3.7": "3.7-dev", "3.8": "3.8-dev"})
["3.6","3.7-dev","3.8-dev""3.8"]
>>> replace.replace("package/module.py", {"/": ".", ".py": ""})
"package.module"

readme42.com

Release files for replace 2020.12.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for replace 2020.12.3
File Size Uploaded
replace-2020.12.3.tar.gz 1.3 kB Details

Release files / replace-2020.12.3.tar.gz

Download URL replace-2020.12.3.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b3fd9085bd08f1d28b76af95ea343c3f53e0cb4ca06bd900c40da1eed3d38554
BLAKE2b-256 checksum
How to use checksums
dbee8c83bd263b5ceeac693d7c85053258a6d6b63c3900b7d4b2451ae4320f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

2020.12.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page