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.10.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for code_snipper-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc9ec15dc4c271ad06661cd62f22809b1460f7007322d6c4c43a9b9a7855535b |
|
MD5 | d4df4e2adad60d8a895e1ed3e1622aa4 |
|
BLAKE2b-256 | 015cf500690a8efcf8e0336de32b3ad17bf49497fc94c1f9a821260dfdb9a34a |