bhargavnova / python-helper-modules

MIT License
7 stars 24 forks source link

Simple Code Snippet Manager #47

Closed bhargavnova closed 9 months ago

bhargavnova commented 9 months ago

Objective

Develop a Python module that allows users to manage and store code snippets for easy retrieval. This module will support basic CRUD (Create, Read, Update, Delete) operations, enabling users to add, view, edit, and delete code snippets as needed. (use and files to store the data .csv, .json, .db, etc...

Features

Example Usage

import code_snippet_manager

# Add a new code snippet
code_snippet_manager.add_snippet('Example Code', 'This is a sample code snippet', 'print("Hello, World!")')

# List existing code snippets
code_snippet_manager.list_snippets()

# Edit an existing code snippet
code_snippet_manager.edit_snippet(1, new_title='Updated Code', new_description='Updated description', new_code='print("Updated Code")')

# Delete a specific code snippet
code_snippet_manager.delete_snippet(2)

Difficulty: Beginner/Intermediate

Tags: Python, Code Snippet Management, CRUD Operations

Additional Information

Contribution Guidelines

The updated guidelines can be found here.

Note:

kom-senapati commented 9 months ago

I want to work on this issue. Kindly assign this to me.

bhargavnova commented 9 months ago

Sure @kom-senapati, Thanks for picking this up :)

Happy Coding!!

bhargavnova commented 9 months ago

Hey @kom-senapati, Thank you for your contribution :), You can check more open issues or you can submit one of your own issues.

Happy Coding!