Snip out code section from a string or text file
Project description
codesnipper
This package helps you to extract code sections from a string or a text file.
For example:
If you have a string as follows:
Hello world, this is an example
```python
x = 1
y = 2
```
Exit line
The package can help you extract the code section i.e.
x = 1
y = 2
and it will extract the programming language which is python
in the above case.
It works with multiple code sections as well within a file or string.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
code-snipper-0.1.9.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for code_snipper-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc366ef98be43d42bf1a3632729a231b2bc1315c277a65579621596b8af01df |
|
MD5 | 05d766b7f0cb7526de2e4abe1c7cc824 |
|
BLAKE2b-256 | e6a773b22de62083d422a6096f6f6f7664468be5e58c685b4b5ad4d5d3953a95 |