{"id":26569808,"url":"https://github.com/posiitron/pythone2b","last_synced_at":"2026-04-20T09:34:23.882Z","repository":{"id":283862800,"uuid":"953081954","full_name":"Posiitron/PythonE2B","owner":"Posiitron","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-22T16:46:45.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-08T13:58:04.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Posiitron.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-22T14:29:22.000Z","updated_at":"2025-03-22T16:46:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"1af42e78-6d56-403d-bd75-34ee707ec053","html_url":"https://github.com/Posiitron/PythonE2B","commit_stats":null,"previous_names":["posiitron/pythone2b"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Posiitron/PythonE2B","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Posiitron%2FPythonE2B","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Posiitron%2FPythonE2B/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Posiitron%2FPythonE2B/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Posiitron%2FPythonE2B/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Posiitron","download_url":"https://codeload.github.com/Posiitron/PythonE2B/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Posiitron%2FPythonE2B/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-22T21:37:18.392Z","updated_at":"2026-04-20T09:34:23.841Z","avatar_url":"https://github.com/Posiitron.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Interpreter Web Application\n\nA Flask-based web application that provides a conversational AI interface with code interpretation capabilities. This application allows users to upload files, analyze data, and interact with an AI assistant that can run code to process and visualize data.\n\n## Features\n\n- Interactive chat interface with AI assistant\n- Code interpretation and execution\n- File upload and analysis support\n- Data visualization capabilities\n- Memory of conversation context\n\n## Prerequisites\n\n- Python 3.8 or higher\n- OpenAI API key\n- E2B API key (for sandbox code execution)\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Posiitron/PythonE2B/\n   cd PythonE2B\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Create a `.env` file in the root directory with the following variables:\n   ```\n   OPENAI_API_KEY=your_openai_api_key\n   E2B_API_KEY=your_e2b_api_key\n   ```\n\n## Usage\n\n1. Start the application:\n   ```bash\n   python app.py\n   ```\n\n2. Open a web browser and navigate to `http://127.0.0.1:5000`\n\n3. Use the interface to:\n   - Upload files for analysis\n   - Ask questions about your data\n   - Run code through the AI assistant\n\n## Environment Variables\n\n- `OPENAI_API_KEY` - Your OpenAI API key\n- `E2B_API_KEY` - Your E2B API key for sandboxed code execution\n\n## Supported File Types \n\nThe application supports uploading and analyzing various file formats, including:\n- Text files (.txt)\n- CSV files (.csv)\n- Excel files (.xlsx, .xls)\n- Images (.png, .jpg, .jpeg, .gif)\n- PDF files (.pdf)\n- JSON files (.json)\n\n## Known Issues\n\n**Important Note:** The data analysis functionality is still in development and might occasionally mistake your precious data for confetti or interpret your CSV as an avant-garde poem. If the app starts analyzing your financial spreadsheet as \"a beautiful sonnet about economic uncertainty,\" please be patient with us. We're working on teaching it the difference between Shakespeare and spreadsheets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposiitron%2Fpythone2b","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposiitron%2Fpythone2b","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposiitron%2Fpythone2b/lists"}