Download documentation.html from muhammadsaadkhatri/pythonic-student-wizard: direct link, hf CLI and curl.
- Browser
- Download file 6.66 kB
-
https://huggingface.co/spaces/muhammadsaadkhatri/pythonic-student-wizard/resolve/main/documentation.html
- Command line
-
hf download hf://spaces/muhammadsaadkhatri/pythonic-student-wizard/documentation.html
-
curl -L -o documentation.html https://huggingface.co/spaces/muhammadsaadkhatri/pythonic-student-wizard/resolve/main/documentation.html
6.66 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Documentation - Pythonic Student Wizard</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-12"> | |
| <div class="max-w-4xl mx-auto"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-4xl font-bold text-indigo-700 mb-4">Documentation</h1> | |
| <p class="text-xl text-gray-600 max-w-2xl mx-auto">Complete guide to implementing and using the Student Management System</p> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-lg p-8 mb-8"> | |
| <h2 class="text-2xl font-bold text-indigo-700 mb-6">Installation</h2> | |
| <div class="bg-gray-800 rounded-lg p-4 text-white font-mono text-sm overflow-x-auto mb-6"> | |
| <div class="text-green-400 mb-2"># Install required packages</div> | |
| <div>pip install streamlit pandas</div> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4 mt-6">Running the Application</h3> | |
| <div class="bg-gray-800 rounded-lg p-4 text-white font-mono text-sm overflow-x-auto"> | |
| <div class="text-green-400 mb-2"># Start the Streamlit server</div> | |
| <div>streamlit run main.py</div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-lg p-8 mb-8"> | |
| <h2 class="text-2xl font-bold text-indigo-700 mb-6">Usage Guide</h2> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center"> | |
| <i data-feather="user-plus" class="w-5 h-5 mr-2 text-indigo-600"></i> | |
| Adding a Student | |
| </h3> | |
| <ol class="list-decimal list-inside space-y-2 text-gray-700"> | |
| <li>Navigate to the "Add Student" tab</li> | |
| <li>Fill in all required fields (name, age, grade)</li> | |
| <li>Click "Submit" to save the student record</li> | |
| <li>Validation will ensure all data is correct</li> | |
| </ol> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center"> | |
| <i data-feather="search" class="w-5 h-5 mr-2 text-indigo-600"></i> | |
| Searching Students | |
| </h3> | |
| <p class="text-gray-700 mb-4">You can filter students by various criteria:</p> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-indigo-50 p-3 rounded-lg"> | |
| <div class="font-medium text-indigo-800">By Grade</div> | |
| <div class="text-sm text-gray-600">Filter students by their grade level</div> | |
| </div> | |
| <div class="bg-indigo-50 p-3 rounded-lg"> | |
| <div class="font-medium text-indigo-800">By Age Range</div> | |
| <div class="text-sm text-gray-600">Find students within specific age brackets</div> | |
| </div> | |
| <div class="bg-indigo-50 p-3 rounded-lg"> | |
| <div class="font-medium text-indigo-800">By Performance</div> | |
| <div class="text-sm text-gray-600">Filter by GPA or test scores</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-lg p-8"> | |
| <h2 class="text-2xl font-bold text-indigo-700 mb-6">API Reference</h2> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full bg-white border border-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Method</th> | |
| <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Description</th> | |
| <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Parameters</th> | |
| </tr> | |
| </thead> | |
| <tbody class="divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-4 py-2 whitespace-nowrap text-sm font-mono text-indigo-600">add_student()</td> | |
| <td class="px-4 py-2 text-sm text-gray-600">Adds a new student to the system</td> | |
| <td class="px-4 py-2 text-sm font-mono text-gray-600">student: Student</td> | |
| </tr> | |
| <tr> | |
| <td class="px-4 py-2 whitespace-nowrap text-sm font-mono text-indigo-600">get_student()</td> | |
| <td class="px-4 py-2 text-sm text-gray-600">Retrieves a student by ID</td> | |
| <td class="px-4 py-2 text-sm font-mono text-gray-600">student_id: str</td> | |
| </tr> | |
| <tr> | |
| <td class="px-4 py-2 whitespace-nowrap text-sm font-mono text-indigo-600">search_students()</td> | |
| <td class="px-4 py-2 text-sm text-gray-600">Filters students by criteria</td> | |
| <td class="px-4 py-2 text-sm font-mono text-gray-600">**filters: dict</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script>feather.replace();</script> | |
| </body> | |
| </html> |