{"id":15050585,"url":"https://github.com/keanteng/trading-database","last_synced_at":"2026-01-02T06:05:56.153Z","repository":{"id":254461459,"uuid":"846606652","full_name":"keanteng/trading-database","owner":"keanteng","description":"🔍 A Study On Trading Company Database","archived":false,"fork":false,"pushed_at":"2024-08-28T12:51:42.000Z","size":2769,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:27:58.104Z","etag":null,"topics":["database","database-management","inventory","json","python","sqlite","synthetic-data","trading-and-supply"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keanteng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-23T15:05:00.000Z","updated_at":"2024-08-28T12:55:03.000Z","dependencies_parsed_at":"2024-08-26T08:04:04.537Z","dependency_job_id":null,"html_url":"https://github.com/keanteng/trading-database","commit_stats":null,"previous_names":["keanteng/trading-database"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Ftrading-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Ftrading-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Ftrading-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Ftrading-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keanteng","download_url":"https://codeload.github.com/keanteng/trading-database/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510122,"owners_count":20302294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","database-management","inventory","json","python","sqlite","synthetic-data","trading-and-supply"],"created_at":"2024-09-24T21:27:37.456Z","updated_at":"2026-01-02T06:05:56.067Z","avatar_url":"https://github.com/keanteng.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trading Company Database With Python SQLite\n\n![](https://img.shields.io/badge/SQLite-07405E?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n![](https://img.shields.io/badge/Made%20with-Jupyter-orange?style=for-the-badge\u0026logo=Jupyter)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nTo create databases for inventory management system, especially goods trading company dataset. In this project, I aim to create database and store them on SQLite using Python. The objective is to understand the flow of data in a relational database and such understanding is crucial when we are working on project such as inventory management, sales tracking and more.\n\nThe data make use of the Python [faker](https://faker.readthedocs.io/) library to create fake details and information. All the data are identified by a cryptographic id to ensure no duplicates and unique.\n\nThe json version and database version of the file is provided. To ensure no error in recreating all the data, the generation steps should follow the `.ipynb` notebook naming order.\n\n## File Structure\n\n```txt\n|.\n└── generators/\n    ├── databaase/\n    │   └── database.db\n    ├── json_data/\n    │   └── *.json\n    └── *.ipynb\n```\n\n## Deploy Locally\n\nUsing Bash Terminal:\n\n```python\ngit clone https://github.com/keanteng/trading-database\n```\n\n## Types of Table\n\n|Index| Table | Note |\n|---|----------|----------|\n|1| Employee   | All the employees information for the company   |\n|2| Categories | Categories on the products the company sell   |\n|3| Products   | Products the company sell  |\n|4| Pricings   | Products selling price - support variable pricing, SKUs   |\n|5| Customers   |  Company's customers  |\n|6| Orders   | Orders created by customers   |\n|7| Order Items   | Orders item from the orders   |\n|8| Payments   | Payment details for the orders   |\n|9| Shippings   | Shippingdetails for the orders   |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeanteng%2Ftrading-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeanteng%2Ftrading-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeanteng%2Ftrading-database/lists"}