{"id":15014272,"url":"https://github.com/ipython/disp","last_synced_at":"2025-12-30T15:21:43.395Z","repository":{"id":57418528,"uuid":"92881455","full_name":"ipython/disp","owner":"ipython","description":"Providing default representations of common objects in Python land","archived":true,"fork":false,"pushed_at":"2017-08-23T18:20:12.000Z","size":48,"stargazers_count":20,"open_issues_count":5,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-17T11:17:00.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-30T22:26:20.000Z","updated_at":"2024-12-05T15:54:34.000Z","dependencies_parsed_at":"2022-09-13T08:00:59.065Z","dependency_job_id":null,"html_url":"https://github.com/ipython/disp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython%2Fdisp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython%2Fdisp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython%2Fdisp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython%2Fdisp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipython","download_url":"https://codeload.github.com/ipython/disp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237224766,"owners_count":19275083,"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":[],"created_at":"2024-09-24T19:45:24.076Z","updated_at":"2025-10-19T22:31:34.729Z","avatar_url":"https://github.com/ipython.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disp\n\nProviding default representations of common objects in Python land\n\n![pretty-spark-context](./pretty-context.png)\n\nWorks in IPython when the object is the value returned by the last statement of\na cell, or when calling `display()` on it. \n\n## Install \n\n```\n$ pip install disp\n$ ipython -c 'import disp; disp.install()'\n💖 Installation succeeded: enjoy disp ! 💖\n```\n\n## Uninstall\n\n```\n$ ipython -c 'import disp; disp.uninstall()'\n```\n\n## Supported objects\n\nThe following objects will gain superpowers automatically:\n\n - `pyspark.context:SparkContext`\n - `pyspark.sql:SparkSession`\n\nThe followings objects need to be explicitly register with\n`disp.activate_builtins()` and will work only on Python 3.6 and later:\n\n - types\n - functions methods (and alike)\n - modules\n\nThe following objects need to be explicitly activated individually for each\ntype with `disp.activate_for(instance)`:\n \n - requests.models.Response (Python 3.6+ only)\n\nA couple of other objects are secretly available on Python 3.6, but are still\nunstable so-far (dig through the source).\n\n## Example\n\nSee our [example notebook](http://nbviewer.jupyter.org/github/ipython/disp/blob/master/example/Disp-Example-builtins.ipynb)\n\n## Do you support more objects? \n\nDo you want to submit a Pull Request? We'll probably accept it. 🤓\n\n# releasing\n\nBump version number in `setup.py`.\nInstall `twine`\n\n```\n$ python setup.py sdist bdist_wheel\n$ twine upload dist/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipython%2Fdisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipython%2Fdisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipython%2Fdisp/lists"}