Name | xnippet JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | A Python module for dynamic integration and management of extensible code snippets. |
upload_time | 2024-05-15 16:47:12 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | MIT |
keywords |
code snippets
dynamic loading
extensible
plugin
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Xnippet - Extendable Plugin Architecture with Snippets for Python
**Xnippet** is a standalone module designed to enhance the extensibility of Python-based projects, particularly in data analysis. Its key features include:
- **Extensibility**: Functions as a new type of package manager that uses your GitHub repository for code version control, allowing the addition of features without modifying the existing codebase or increasing dependencies.
- **Standardized Configuration**: Facilitates consistent settings across various environments and projects. Configurations and snippets can be inherited by subdirectories, maintaining uniformity across projects within the same directory. This feature is inspired by tools like pyenv.
- **Sharing Code Snippets**: Enables a live searchable interface for code snippets stored in specified GitHub repositories. This feature supports the importing and direct use of snippets without local installation, enhancing online plugin functionality.
- **Dependencies Control**: Manages dependencies on a per-snippet basis, checking and resolving dependencies during download or online import. This includes resolving Python dependencies via PyPI, managing snippet dependencies within your repository, and verifying the availability of external executables.
## **Types of Snippets**
### Simple Snippets:
- Python code that can be seamlessly imported and used within any module without specific entry-points.
### **Plugin Snippets**:
- Builds on Simple Snippets by adding entry-points to serve specific roles, ideal for developing Python packages with a straightforward plugin architecture.
- Employs YAML for manifest packaging, with each snippet consisting of a single Python file and an accompanying manifest.
## Getting Started
To begin integrating `xnippet` into your project, refer to our comprehensive [Project Configuration Guide](examples/docs/PROJECT_CONFIG.md).
## Documentation
For detailed documentation on each component of the `xnippet` system, please visit the following links:
- [Project Configuration](examples/docs/PROJECT_CONFIG.md)
- [Plugins](examples/docs/PLUGIN.md)
- [Presets](examples/docs/PRESET.md)
- [Data Schema](examples/docs/SCHEMA.md)
- [Recipes for Parsing and Remapping MetaData](examples/docs/RECIPE.md)
Explore these documents to fully understand how each module can be utilized and configured to enrich your project with our versatile plugin architecture.
## Contributing
Contributions are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request.
## License
`xnippet` is open-source software, freely distributed under the MIT license.
Raw data
{
"_id": null,
"home_page": null,
"name": "xnippet",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "SungHo Lee <shlee@unc.edu>",
"keywords": "code snippets, dynamic loading, extensible, plugin",
"author": null,
"author_email": "SungHo Lee <shlee@unc.edu>",
"download_url": "https://files.pythonhosted.org/packages/d5/af/7a4120f65fc69c1ae22e2173c2465ccc85ae7f13800c58eaa0414faf587e/xnippet-0.1.1.tar.gz",
"platform": null,
"description": "# Xnippet - Extendable Plugin Architecture with Snippets for Python\n\n**Xnippet** is a standalone module designed to enhance the extensibility of Python-based projects, particularly in data analysis. Its key features include:\n\n- **Extensibility**: Functions as a new type of package manager that uses your GitHub repository for code version control, allowing the addition of features without modifying the existing codebase or increasing dependencies.\n- **Standardized Configuration**: Facilitates consistent settings across various environments and projects. Configurations and snippets can be inherited by subdirectories, maintaining uniformity across projects within the same directory. This feature is inspired by tools like pyenv.\n- **Sharing Code Snippets**: Enables a live searchable interface for code snippets stored in specified GitHub repositories. This feature supports the importing and direct use of snippets without local installation, enhancing online plugin functionality.\n- **Dependencies Control**: Manages dependencies on a per-snippet basis, checking and resolving dependencies during download or online import. This includes resolving Python dependencies via PyPI, managing snippet dependencies within your repository, and verifying the availability of external executables.\n\n## **Types of Snippets**\n### Simple Snippets:\n\n- Python code that can be seamlessly imported and used within any module without specific entry-points.\n\n### **Plugin Snippets**:\n\n- Builds on Simple Snippets by adding entry-points to serve specific roles, ideal for developing Python packages with a straightforward plugin architecture.\n- Employs YAML for manifest packaging, with each snippet consisting of a single Python file and an accompanying manifest.\n## Getting Started\nTo begin integrating `xnippet` into your project, refer to our comprehensive [Project Configuration Guide](examples/docs/PROJECT_CONFIG.md).\n\n## Documentation\nFor detailed documentation on each component of the `xnippet` system, please visit the following links:\n- [Project Configuration](examples/docs/PROJECT_CONFIG.md)\n- [Plugins](examples/docs/PLUGIN.md)\n - [Presets](examples/docs/PRESET.md)\n - [Data Schema](examples/docs/SCHEMA.md)\n - [Recipes for Parsing and Remapping MetaData](examples/docs/RECIPE.md)\n\nExplore these documents to fully understand how each module can be utilized and configured to enrich your project with our versatile plugin architecture.\n\n## Contributing\nContributions are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request.\n\n## License\n`xnippet` is open-source software, freely distributed under the MIT license.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python module for dynamic integration and management of extensible code snippets.",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://dvm-shlee.github.io"
},
"split_keywords": [
"code snippets",
" dynamic loading",
" extensible",
" plugin"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c794b5022db7d23309bd8c3d15e26b9d1129649ce6a477c390c37e2fd8a63719",
"md5": "b1d42c67b99b56ad48bfd554d3522b41",
"sha256": "8a24b6c0f3b770f82838cb3b247c4dcca3f60a6be4954414d0c3ef080e1f2653"
},
"downloads": -1,
"filename": "xnippet-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b1d42c67b99b56ad48bfd554d3522b41",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 38813,
"upload_time": "2024-05-15T16:47:10",
"upload_time_iso_8601": "2024-05-15T16:47:10.739377Z",
"url": "https://files.pythonhosted.org/packages/c7/94/b5022db7d23309bd8c3d15e26b9d1129649ce6a477c390c37e2fd8a63719/xnippet-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d5af7a4120f65fc69c1ae22e2173c2465ccc85ae7f13800c58eaa0414faf587e",
"md5": "abcb53cc1c09d0146fc2c6d81cc8f86b",
"sha256": "a49cd91f8ab50b052ce70248fbd03a153c66196581a3f92c3ff82099f4971e89"
},
"downloads": -1,
"filename": "xnippet-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "abcb53cc1c09d0146fc2c6d81cc8f86b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 30721,
"upload_time": "2024-05-15T16:47:12",
"upload_time_iso_8601": "2024-05-15T16:47:12.390927Z",
"url": "https://files.pythonhosted.org/packages/d5/af/7a4120f65fc69c1ae22e2173c2465ccc85ae7f13800c58eaa0414faf587e/xnippet-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-15 16:47:12",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "xnippet"
}