{"id":13936823,"url":"https://github.com/ei-grad/flask-shell-ipython","last_synced_at":"2025-04-07T05:06:16.617Z","repository":{"id":9307179,"uuid":"61557855","full_name":"ei-grad/flask-shell-ipython","owner":"ei-grad","description":"Replace default flask shell command by similar command running IPython.","archived":false,"fork":false,"pushed_at":"2024-09-10T15:24:51.000Z","size":27,"stargazers_count":195,"open_issues_count":2,"forks_count":15,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-31T04:03:32.346Z","etag":null,"topics":["flask","ipython","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flask-shell-ipython","language":"Python","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/ei-grad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2016-06-20T15:20:14.000Z","updated_at":"2025-03-26T16:53:47.000Z","dependencies_parsed_at":"2024-09-10T15:56:30.646Z","dependency_job_id":"9748d94d-9d3b-4578-838a-61859f82dcea","html_url":"https://github.com/ei-grad/flask-shell-ipython","commit_stats":{"total_commits":25,"total_committers":5,"mean_commits":5.0,"dds":"0.31999999999999995","last_synced_commit":"195ab1daeea8a9329b133cc7c4e43eabf2e45ae6"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fflask-shell-ipython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fflask-shell-ipython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fflask-shell-ipython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fflask-shell-ipython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ei-grad","download_url":"https://codeload.github.com/ei-grad/flask-shell-ipython/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595332,"owners_count":20963943,"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":["flask","ipython","python"],"created_at":"2024-08-07T23:03:01.958Z","updated_at":"2025-04-07T05:06:16.592Z","avatar_url":"https://github.com/ei-grad.png","language":"Python","readme":"# Flask-Shell-IPython\n\n`flask-shell-ipython` is a Python package that replaces the default `flask\nshell` command with a similar command that runs IPython. This provides an\nenhanced interactive Python shell with additional features like syntax\nhighlighting, tab-completion, and more.\n\n## Installation\n\nTo install `flask-shell-ipython`, simply run:\n\n```bash\npip install flask-shell-ipython\n```\n\n## Usage\n\nAfter installing `flask-shell-ipython`, the `flask shell` command will\nautomatically use IPython instead of the default Python shell. There are no\nadditional steps required.\n\n```bash\nflask shell\n```\n\nYou can also pass any valid IPython arguments after the `flask shell` command:\n\n```bash\nflask shell --no-banner -i foo.py\n```\n\n## Configuration\n\nYou can configure IPython settings by adding an `IPYTHON_CONFIG` key to your\nFlask app's configuration. The value should be a dictionary containing the\nconfiguration options you'd like to set.\n\nFor example:\n\n```python\napp.config['IPYTHON_CONFIG'] = {\n    'InteractiveShell': {\n        'colors': 'Linux',\n        'confirm_exit': False,\n    },\n}\n```\n\n## Testing\n\nTo run tests for `flask-shell-ipython`, install the `pytest-forked` plugin,\nwhich enables running tests in isolated forked subprocesses to ensure running a\nclean IPython instance for each test case.\n\n### Installing Dependencies\n\nInstall testing dependencies from `requirements-test.txt`:\n\n```bash\npip install -r requirements-test.txt\n```\n\n### Running Tests\n\nAfter installing the dependencies, run the test suite with the `--forked` option:\n\n```bash\npytest --forked\n```\n\nPlease, note that does pytest-forked does not work on Windows. To test\nflask-shell-ipython on Windows run each test manually.\n\n## License\n\n`flask-shell-ipython` is licensed under the MIT License. See the\n[LICENSE](LICENSE) file for more information.\n\n## Contributing\n\nIf you'd like to contribute to the project, feel free to submit a pull request\non the GitHub repository at http://github.com/ei-grad/flask-shell-ipython.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fei-grad%2Fflask-shell-ipython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fei-grad%2Fflask-shell-ipython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fei-grad%2Fflask-shell-ipython/lists"}