https://github.com/janduplessis883/autonote
Jupyter Notebook Add-on Class to manage code snippets and generate custom Notebook Headings
https://github.com/janduplessis883/autonote
Last synced: 3 months ago
JSON representation
Jupyter Notebook Add-on Class to manage code snippets and generate custom Notebook Headings
- Host: GitHub
- URL: https://github.com/janduplessis883/autonote
- Owner: janduplessis883
- Created: 2023-10-09T06:16:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-09T06:49:07.000Z (over 1 year ago)
- Last Synced: 2025-02-14T01:38:27.335Z (4 months ago)
- Language: Python
- Size: 271 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## Overview
The AutoNote Python class aims to enhance your Jupyter Notebook experience by adding automation, utility, and interactivity. The class is designed to assist with routine tasks, such as connecting to a MySQL database, It also provides a unique way of managing code snippets, allowing you to save, load, and organize pieces of code directly within your notebook.
## Features
### Database Connection
Quick MySQL Connectivity: AutoNote comes with a built-in method to connect to your MySQL database.
Interactive Connection Management: GUI buttons allow you to connect or disconnect from the database effortlessly.
Error Handling: If the connection fails, an error message is displayed.### Code Snippets Management
Snippet Saving: Save important code snippets along with a group name and an optional markdown flag.
Code Loading: Load saved snippets into new code cells or markdown cells with a single click.
Group Management: Keep your snippets organized in named groups.
Integrated Google Sheet Logging
Activity Logging: All important events like database connectivity, code snippet addition, etc., are logged into a Google Sheet.
URL Accessibility: The Google Sheet can be accessed through a provided URL.
### Miscellaneous
GUI Elements: The class offers various GUI components like buttons and dropdowns for an interactive user experience.
Markdown Support: The class allows you to insert markdown snippets along with code snippets.
# Installationbash
Copy code
git clone https://github.com/janduplessis883/AutoNote.git
# Dependenciesmysql-connector
Google Sheet API<
EmailBuddy library<
# Usagepython
Copy code
from AutoNote import AutoNote# Instantiate the class
auto_note = AutoNote()# Connect to MySQL Database
auto_note.connect_to_mysql_with_status()# Add a new code snippet
auto_note.new_code()# Load existing code snippet
auto_note.load_code()
LicenseThis project is licensed under the MIT License.