Name | code-snipper JSON |
Version |
0.1.14
JSON |
| download |
home_page | |
Summary | Snip out code section from a string or text file |
upload_time | 2023-10-25 18:54:44 |
maintainer | |
docs_url | None |
author | Mohit Sharma |
requires_python | >=3.9 |
license | BSD-3-Clause |
keywords |
code-extractor
two
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![PyPI version](https://badge.fury.io/py/code-snipper.svg)](https://badge.fury.io/py/code-snipper)
# 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.
Raw data
{
"_id": null,
"home_page": "",
"name": "code-snipper",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "code-extractor,two",
"author": "Mohit Sharma",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/47/53/24ec266b3702d52e0916d4e72d7ec5a661c72a5610747cde562f7a249df2/code-snipper-0.1.14.tar.gz",
"platform": null,
"description": "[![PyPI version](https://badge.fury.io/py/code-snipper.svg)](https://badge.fury.io/py/code-snipper)\n\n\n# codesnipper\n\nThis package helps you to extract code sections from a string or a text file.\n\nFor example:\n\nIf you have a string as follows:\n\n````\nHello world, this is an example\n\n```python\nx = 1\ny = 2\n```\nExit line\n````\nThe package can help you extract the code section i.e.\n```\nx = 1\ny = 2\n```\nand it will extract the programming language which is `python` in the above case.\nIt works with multiple code sections as well within a file or string.\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Snip out code section from a string or text file",
"version": "0.1.14",
"project_urls": null,
"split_keywords": [
"code-extractor",
"two"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "04052bf7cf3f4a09f2d02ab15f2813e219952f25fe61db209136f7460e45cc40",
"md5": "0e7e5644c9ba93b1136eb895ea590697",
"sha256": "4840b152902e582fdd1a599d796bacbdaa9e7418341f241e76b39bf744936449"
},
"downloads": -1,
"filename": "code_snipper-0.1.14-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0e7e5644c9ba93b1136eb895ea590697",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 2907,
"upload_time": "2023-10-25T18:54:42",
"upload_time_iso_8601": "2023-10-25T18:54:42.688994Z",
"url": "https://files.pythonhosted.org/packages/04/05/2bf7cf3f4a09f2d02ab15f2813e219952f25fe61db209136f7460e45cc40/code_snipper-0.1.14-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "475324ec266b3702d52e0916d4e72d7ec5a661c72a5610747cde562f7a249df2",
"md5": "7e0268d2dfa4cc6551804cf75a8bdf42",
"sha256": "fd8b1114f35c37b936305f2e713cfd3787fbf2d30126ac7ea60ed9bdef19ce98"
},
"downloads": -1,
"filename": "code-snipper-0.1.14.tar.gz",
"has_sig": false,
"md5_digest": "7e0268d2dfa4cc6551804cf75a8bdf42",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6830,
"upload_time": "2023-10-25T18:54:44",
"upload_time_iso_8601": "2023-10-25T18:54:44.000450Z",
"url": "https://files.pythonhosted.org/packages/47/53/24ec266b3702d52e0916d4e72d7ec5a661c72a5610747cde562f7a249df2/code-snipper-0.1.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-25 18:54:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "code-snipper"
}