Metadata-Version: 2.1
Name: code-snipper
Version: 0.1.8
Summary: Snip out code section from a string or text file
Author: Mohit Sharma
License: BSD-3-Clause
Keywords: code-extractor,two
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pydantic

# 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.
