{"id":18896715,"url":"https://github.com/yosephdev/love-sandwiches","last_synced_at":"2026-03-19T07:02:00.131Z","repository":{"id":220273140,"uuid":"750901130","full_name":"yosephdev/love-sandwiches","owner":"yosephdev","description":"A Python command-line application designed to automate data processes for a fictional sandwich company called Love Sandwiches.","archived":false,"fork":false,"pushed_at":"2024-02-01T18:46:11.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T07:39:22.356Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sandwich-automator-4e93d4a0a85f.herokuapp.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yosephdev.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-01-31T14:50:00.000Z","updated_at":"2024-12-26T05:05:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"72d51f51-cb86-47ba-bed8-e62f891e8e7c","html_url":"https://github.com/yosephdev/love-sandwiches","commit_stats":null,"previous_names":["yosephdev/love-sandwiches"],"tags_count":0,"template":false,"template_full_name":"Code-Institute-Org/p3-template","purl":"pkg:github/yosephdev/love-sandwiches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosephdev%2Flove-sandwiches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosephdev%2Flove-sandwiches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosephdev%2Flove-sandwiches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosephdev%2Flove-sandwiches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yosephdev","download_url":"https://codeload.github.com/yosephdev/love-sandwiches/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yosephdev%2Flove-sandwiches/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28746524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-08T08:35:10.156Z","updated_at":"2026-01-25T06:35:56.240Z","avatar_url":"https://github.com/yosephdev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sandwich Automator\n\n![CI logo](https://codeinstitute.s3.amazonaws.com/fullstack/ci_logo_small.png)\n\nWelcome to Sandwich Automator, a Python command-line application designed to automate data processes for a fictional sandwich company called Love Sandwiches.\n\n## Overview\n\nThis application interacts with Google Sheets to collect and process sales data, calculate surplus, and make recommendations for future stock. It's deployed on Heroku, and you can access it [here](https://sandwich-automator-4e93d4a0a85f.herokuapp.com/).\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3\n- Google Sheets API credentials (`creds.json`)\n\n### Installation\n\n1. Clone the repository: `git clone https://github.com/yosephdev/love-sandwiches`\n2. Install dependencies: `pip install -r requirements.txt`\n\n### Usage\n\nRun the app using the following command:\n\n```bash\npython3 run.py\n```\nFollow the prompts to enter sales data and let the app automate the process.\n\n## Key Features\n\n- **Sales Data Entry**: Collects sales figures from the user for the last market.\n- **Surplus Calculation**: Compares sales with stock to calculate surplus or waste.\n- **Stock Recommendation**: Calculates the average stock for each item type and adds 10% for future markets.\n\n## Code Structure\n\n- **`run.py`**: Main Python file containing the project code.\n- **`requirements.txt`**: File listing project dependencies.\n\n## Deployed App\n\nThe app is deployed on Heroku. Access it [here](https://sandwich-automator-4e93d4a0a85f.herokuapp.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyosephdev%2Flove-sandwiches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyosephdev%2Flove-sandwiches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyosephdev%2Flove-sandwiches/lists"}