Github Top Repositories
12.9K subscribers
371 photos
57 videos
9 files
1.32K links
Top GitHub repositories in one place 🚀
Explore the best projects in programming, AI, data science, and more.
Download Telegram
🔥 Trending Repository: nocodb

📝 Description: 🔥 🔥 🔥 Open Source Airtable Alternative

🔗 Repository URL: https://github.com/nocodb/nocodb

🌐 Website: https://nocodb.com

📖 Readme: https://github.com/nocodb/nocodb#readme

📊 Statistics:
🌟 Stars: 57K stars
👀 Watchers: 387
🍴 Forks: 4.2K forks

💻 Programming Languages: TypeScript - Vue - JavaScript - PLpgSQL - Shell - CSS

🏷️ Related Topics:
#rest_api #sqlite #postgresql #swagger #spreadsheet #airtable #restful_api #hacktoberfest #low_code #no_code #automatic_api #no_code_platform #no_code_database #airtable_alternative


==================================
🧠 By: https://t.me/DataScienceM
1
🔥 Trending Repository: directus

📝 Description: The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

🔗 Repository URL: https://github.com/directus/directus

🌐 Website: https://directus.io

📖 Readme: https://github.com/directus/directus#readme

📊 Statistics:
🌟 Stars: 32.4K stars
👀 Watchers: 328
🍴 Forks: 4.4K forks

💻 Programming Languages: TypeScript - Vue - SCSS - JavaScript - Liquid - CSS

🏷️ Related Topics:
#javascript #mysql #api #graphql #cms #app #node #typescript #sql #database #vue #sqlite #postgresql #mariadb #data_visualization #mssql #directus #composable #headless_cms #no_code


==================================
🧠 By: https://t.me/DataScienceM
🔥 Trending Repository: drawdb

📝 Description: Free, simple, and intuitive online database diagram editor and SQL generator.

🔗 Repository URL: https://github.com/drawdb-io/drawdb

🌐 Website: https://drawdb.app

📖 Readme: https://github.com/drawdb-io/drawdb#readme

📊 Statistics:
🌟 Stars: 33.4K stars
👀 Watchers: 125
🍴 Forks: 2.5K forks

💻 Programming Languages: JavaScript

🏷️ Related Topics:
#react #javascript #svg #editor #sql #sql_server #sqlite #postgresql #mariadb #indexeddb #oracle_db #erd #database_schema #oracle_database #diagram_editor #tailwindcss #erdiagram


==================================
🧠 By: https://t.me/DataScienceM
#PyQt5 #SQLite #DesktopApp #Pharmacy #Barcode #Python

Lesson: Building a Pharmacy Management System with PyQt5 and Barcode Scanning

This tutorial will guide you through creating a complete desktop application for managing a pharmacy. The system will use a SQLite database for inventory, and a Point of Sale (POS) interface that uses barcode scanning to add drugs to a sale and automatically deducts stock upon completion.

---

#Step 1: Database Setup (database.py)

First, we create a dedicated file to handle all SQLite database operations. This keeps our data logic separate from our UI logic. Create a file named database.py.

import sqlite3

DB_NAME = 'pharmacy.db'

def connect():
return sqlite3.connect(DB_NAME)

def setup_database():
conn = connect()
cursor = conn.cursor()
cursor.execute('''
CREATE TABLE IF NOT EXISTS drugs (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
barcode TEXT NOT NULL UNIQUE,
quantity INTEGER NOT NULL,
price REAL NOT NULL,
expiry_date TEXT NOT NULL
)
''')
conn.commit()
conn.close()

def add_drug(name, barcode, quantity, price, expiry_date):
conn = connect()
cursor = conn.cursor()
try:
cursor.execute("INSERT INTO drugs (name, barcode, quantity, price, expiry_date) VALUES (?, ?, ?, ?, ?)",
(name, barcode, quantity, price, expiry_date))
conn.commit()
except sqlite3.IntegrityError:
return False # Barcode already exists
finally:
conn.close()
return True

def get_all_drugs():
conn = connect()
cursor = conn.cursor()
cursor.execute("SELECT id, name, barcode, quantity, price, expiry_date FROM drugs ORDER BY name")
drugs = cursor.fetchall()
conn.close()
return drugs

def find_drug_by_barcode(barcode):
conn = connect()
cursor = conn.cursor()
cursor.execute("SELECT id, name, barcode, quantity, price, expiry_date FROM drugs WHERE barcode = ?", (barcode,))
drug = cursor.fetchone()
conn.close()
return drug

def update_drug_quantity(drug_id, sold_quantity):
conn = connect()
cursor = conn.cursor()
cursor.execute("UPDATE drugs SET quantity = quantity - ? WHERE id = ?", (sold_quantity, drug_id))
conn.commit()
conn.close()

# Hashtags: #SQLite #DatabaseDesign #DataPersistence #Python


---

#Step 2: Main Application and Inventory Management UI

Create the main application file, main.py. We will set up the main window with tabs for "Point of Sale" and "Inventory Management". We will fully implement the inventory tab first, allowing users to view and add drugs to the database.
🔥 Trending Repository: dbeaver

📝 Description: Free universal database tool and SQL client

🔗 Repository URL: https://github.com/dbeaver/dbeaver

🌐 Website: https://dbeaver.io

📖 Readme: https://github.com/dbeaver/dbeaver#readme

📊 Statistics:
🌟 Stars: 46.1K stars
👀 Watchers: 527
🍴 Forks: 3.9K forks

💻 Programming Languages: Java - C++ - ANTLR - CSS - HTML - XSLT

🏷️ Related Topics:
#mysql #java #gui #sql #database #ai #nosql #jdbc #sqlite #postgresql #oracle #openai #dbeaver #erd #redshift #db2 #sqlserver #copilot


==================================
🧠 By: https://t.me/DataScienceM
🔥 Trending Repository: memos

📝 Description: An open-source, self-hosted note-taking service. Your thoughts, your data, your control — no tracking, no ads, no subscription fees.

🔗 Repository URL: https://github.com/usememos/memos

🌐 Website: https://usememos.com

📖 Readme: https://github.com/usememos/memos#readme

📊 Statistics:
🌟 Stars: 47.7K stars
👀 Watchers: 179
🍴 Forks: 3.4K forks

💻 Programming Languages: Go - TypeScript - CSS

🏷️ Related Topics:
#react #go #docker #markdown #social_network #memo #sqlite #foss #self_hosted #note_taking #microblog #notecard


==================================
🧠 By: https://t.me/DataScienceM