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.6.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for code_snipper-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6137390f29d2e671ffc4899310612a971a6ef8bb5e9f203686accd77245eb134 |
|
MD5 | 1db98f7f62bbcfdc5f37240c1bd84b86 |
|
BLAKE2b-256 | dcd4a4c768d0941b643f78a099ab9a94366c248bbcc0af1b938b6835428f36bd |