{"id":25164561,"url":"https://github.com/cjdoris/sneakyrepl.jl","last_synced_at":"2026-02-11T16:02:06.303Z","repository":{"id":275318047,"uuid":"925715529","full_name":"cjdoris/SneakyREPL.jl","owner":"cjdoris","description":"So you're supposed to be using Python at work?","archived":false,"fork":false,"pushed_at":"2025-02-02T16:13:39.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T15:39:51.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/cjdoris.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-01T15:14:53.000Z","updated_at":"2025-02-03T12:20:01.000Z","dependencies_parsed_at":"2025-02-01T17:22:07.940Z","dependency_job_id":"c6ef2f24-fe04-4c50-813d-7ec9853cecea","html_url":"https://github.com/cjdoris/SneakyREPL.jl","commit_stats":null,"previous_names":["cjdoris/sneakyrepl.jl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cjdoris/SneakyREPL.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjdoris%2FSneakyREPL.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjdoris%2FSneakyREPL.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjdoris%2FSneakyREPL.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjdoris%2FSneakyREPL.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjdoris","download_url":"https://codeload.github.com/cjdoris/SneakyREPL.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjdoris%2FSneakyREPL.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29337001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:00:30.228Z","status":"ssl_error","status_checked_at":"2026-02-11T16:00:25.398Z","response_time":97,"last_error":"SSL_read: 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":"2025-02-09T04:36:24.707Z","updated_at":"2026-02-11T16:02:06.287Z","avatar_url":"https://github.com/cjdoris.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SneakyREPL.jl\n\nA Julia package that can make your REPL look like Python's, IPython's, R's, or Mojo's REPL.\n\n## Installation\n\n```julia\nusing Pkg\nPkg.add(url=\"https://github.com/cjdoris/SneakyREPL.jl\")\n```\n\n## Usage\n\n```julia\nusing SneakyREPL\n\n# Enable Python mode\nSneakyREPL.enable(\"python\")\n\n# Enable IPython mode\nSneakyREPL.enable(\"ipython\")\n\n# Enable R mode\nSneakyREPL.enable(\"r\")\n\n# Enable Mojo mode\nSneakyREPL.enable(\"mojo\")\n\n# Switch back to Julia mode\nSneakyREPL.enable(\"julia\")\n\n# Use preferred mode from preferences (defaults to \"julia\")\nSneakyREPL.enable()\n```\n\nWhen Python mode is enabled:\n- The REPL prompt changes to Python's `\u003e\u003e\u003e` style\n- The REPL banner is changed to look like Python's banner\n\nWhen IPython mode is enabled:\n- The REPL prompt changes to IPython's `In [n]:` style with automatic numbering\n- Output is prefixed with `Out [n]:` matching the input number\n- The REPL banner is changed to look like IPython's banner\n\nWhen R mode is enabled:\n- The REPL prompt changes to R's `\u003e` style\n- Output is prefixed with `[1]` in R's style\n- The REPL banner is changed to look like R's banner\n\nWhen Mojo mode is enabled:\n- The REPL prompt changes to Mojo's `n\u003e` style with automatic numbering\n- The REPL banner is changed to look like Mojo's banner with emoji\n\nYou can set your preferred mode in your Julia startup file (`~/.julia/config/startup.jl`):\n```julia\nusing Preferences\n@set_preferences!(\"mode\" =\u003e \"python\")  # or \"julia\", \"ipython\", \"r\", or \"mojo\"\n```\n\n## Preferences\n\nYou can customize various aspects of SneakyREPL using Julia's preferences system. The recommended way is to use [PreferenceTools.jl](https://github.com/cjdoris/PreferenceTools.jl) for a more user-friendly experience. Press `]` to enter the Pkg mode and then:\n\n```julia-repl\npkg\u003e add PreferenceTools SneakyREPL\n\njulia\u003e using PreferenceTools\n\npkg\u003e preference add SneakyREPL mode=python  # or \"julia\", \"ipython\", \"r\", or \"mojo\"\n\npkg\u003e preference add SneakyREPL python_version=3.13.1\n```\n\nAlternatively, you can use Preferences.jl directly.\n\nThe following placeholders are available in banner templates:\n- `{JULIA_VERSION}`: Current Julia version\n- `{MACHINE}`: System architecture\n- `{WORD_SIZE}`: System word size (32/64-bit)\n- `{PYTHON_VERSION}`: Python version (from preference or default)\n- `{IPYTHON_VERSION}`: IPython version (from preference or default)\n- `{R_VERSION}`: R version (from preference or default)\n- `{R_VERSION_NAME}`: R version name (from preference or default)\n- `{MOJO_VERSION}`: Mojo version (from preference or default)\n\nDefault values:\n\n| Preference | Description | Default Value |\n|------------|-------------|---------------|\n| `mode` | The REPL mode to use | `\"julia\"` |\n| `python_version` | Python version shown in banner | `\"3.13.1\"` |\n| `ipython_version` | IPython version shown in banner | `\"8.32.0\"` |\n| `r_version` | R version shown in banner | `\"4.4.2\"` |\n| `r_version_name` | R version name shown in banner | `\"Beagle Scouts\"` |\n| `mojo_version` | Mojo version shown in banner | `\"24.6\"` |\n| `python_banner` | Custom banner template for Python mode | *(see below)* |\n| `ipython_banner` | Custom banner template for IPython mode | *(see below)* |\n| `r_banner` | Custom banner template for R mode | *(see below)* |\n| `mojo_banner` | Custom banner template for Mojo mode | *(see below)* |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjdoris%2Fsneakyrepl.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjdoris%2Fsneakyrepl.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjdoris%2Fsneakyrepl.jl/lists"}