jupyter-nb-double-quote-to-single-quote
Convert double quotes ("") to single quotes ('') in Jupyter notebook code cells
Installation
pip install jupyter-nb-double-quote-to-single-quote
As a command line tool
jupyter-nb-double-quote-to-single-quote my_notebook.ipynb
Use --help to see documentations of command line arguments.
As a pre-commit hook
Put the following into your .pre-commit-config.yaml file. Remember to replace <VERSION> with your version of this tool (such as v0.1.0):
- repo: https://github.com/cyyc1/jupyter-nb-double-quote-to-single-quote
rev: <VERSION>
hooks:
- id: jupyter-nb-double-quote-to-single-quote
See pre-commit for more instructions.
Licenses
The license of this tool is MIT License. See the file LICENSE
A significant portion of the code used in this tool comes from https://github.com/pre-commit/pre-commit-hooks, in particular, the file string_fixer.py. As such, we added pre-commit-hooks' license as the original license (see the file ORIGINAL_LICENSE).
Metadata
Release files for jupyter-nb-double-quote-to-single-quote 0.1.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 | |
|---|---|---|---|
| jupyter_nb_double_quote_to_single_quote-0.1.4.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_nb_double_quote_to_single_quote-0.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / jupyter_nb_double_quote_to_single_quote-0.1.4.tar.gz
| Download URL | jupyter_nb_double_quote_to_single_quote-0.1.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c067b504e5a0b540b7c3badc26fe46a49cfd5340662f984c17a15c3f56b3818
|
|
BLAKE2b-256 checksum How to use checksums |
248bcdf5cff16dbdbef6999b890282dc7f4c621d673e6d9caa423fa51658b0f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / jupyter_nb_double_quote_to_single_quote-0.1.4-py2.py3-none-any.whl
| Download URL | jupyter_nb_double_quote_to_single_quote-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4d4e8967acab7884d05d51063c893e07bb7861bccc5982cfb0dbd4a45281bc00
|
|
BLAKE2b-256 checksum How to use checksums |
8250406be11320727f5ce1dce5aafc2d1b99a9cd11b8879603741a7a123a9176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|