{"id":20685211,"url":"https://github.com/romybompart/image-processing-in-sublime-text-3","last_synced_at":"2026-04-29T23:33:08.945Z","repository":{"id":83494203,"uuid":"247817629","full_name":"romybompart/Image-Processing-in-Sublime-Text-3","owner":"romybompart","description":"image processing using sublime text , virtualenv, skimage, numpy","archived":false,"fork":false,"pushed_at":"2020-06-06T08:15:32.000Z","size":901,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T23:41:52.184Z","etag":null,"topics":["anaconda","image-processing","jedi","numpy","python","skimage","sublimerepl","sublimet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romybompart.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","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":"2020-03-16T21:13:38.000Z","updated_at":"2021-02-11T02:39:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e68fca9-1d19-4fc6-a9b5-8d309b155a35","html_url":"https://github.com/romybompart/Image-Processing-in-Sublime-Text-3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/romybompart/Image-Processing-in-Sublime-Text-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romybompart%2FImage-Processing-in-Sublime-Text-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romybompart%2FImage-Processing-in-Sublime-Text-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romybompart%2FImage-Processing-in-Sublime-Text-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romybompart%2FImage-Processing-in-Sublime-Text-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romybompart","download_url":"https://codeload.github.com/romybompart/Image-Processing-in-Sublime-Text-3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romybompart%2FImage-Processing-in-Sublime-Text-3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"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":["anaconda","image-processing","jedi","numpy","python","skimage","sublimerepl","sublimet"],"created_at":"2024-11-16T22:26:23.848Z","updated_at":"2026-04-29T23:33:08.916Z","avatar_url":"https://github.com/romybompart.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"To configure Sublime Text 3 as a Python IDLE\nBy Romy Bompart\n\n### Usage\n\n1.\tFirst install Sublime Text 3\n\t-\tDownload the installator from : https://www.sublimetext.com/3\n\n2.\tOnce it is installed you need to download and install Anaconda\n\t-\tFollow the documentation: https://docs.anaconda.com/anaconda/install/windows/\n\n3.\tAnaconda already installs a version of python, but you can have different version if you want. Then next step is to install virtualenv in order to control the version of python and libraries/packages version we might be needing during a project development. \n\t-\tto create a virtualenv open the cmd prompt or anaconda prompt,  in my case i named myenv to the new virtual environment, and i indicated to use python 3.5, but again you can use whatever version of python you need:\n\t```bash\n \t\tconda create --name myenv python=3.5\n\t```\n\t-\tto activate the virtualenv after it is succefully install do: \n\t```bash\n \t\tconda activate myenv\n\t```\n\t-\tLet's install packages to this virtualenv.\n\t\t- activate the virtualenv\n\t```bash\n \t\tC:\\Users\\($yourpcname)\u003eactivate myenv\n \t\t(myenv) C:\\Users\\($yourpcname)\\pip install numpy\n\t```\n\t\t- \tthe previous installation is an example to check if the virtualenv is working properly. \n\t\tnow let's open python and import the installed package: \n\t\t```bash\n\t\t\t(myenv) C:\\Users\\($yourpcname)\u003epython\n\t\t\tPython 3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC v.1900 64 bit (AMD64)] on win32\n\t\t\tType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\t\t\t\u003e\u003e\u003e import numpy\n\t\t\t\u003e\u003e\u003e print (numpy.__version__)\n\t\t\t1.15.4\n\t\t```\n\t\t- \tNow it is working very well. Nice let's go to the next step. \n\n4.\tSo, we got sublime Text 3 in the step 1, we got anaconda and python in step 2, and we created a virtualenv in step 3. \n   \tThe step 4 is to write code in Sublime Text 3, and get the right enviroment to develop our projects. \n\t-\tCreating the first project. I recomend the use of projects because it simplifies the custom configuration of the project. \n       Let's open Sublime Text 3, go to Project \u003e Save project As , then put a name and save the file in a new folder. \n       For example I created myproject folder, and the project name is my_env_project. \n       In the folder you shall have two files: .sublime-project and .sublime-workspace extension files. \n\t-\tWe are going to go to Project \u003e Edit Project and configure the virtualenv path for the python interpreter:\n\t```\n\t\t   {\n\t\t\t\"build_systems\":\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\t\"file_regex\": \"^[ ]*File \\\"(...*?)\\\", line ([0-9]*)\",\n\t\t\t\t\t\"name\": \"Anaconda Python Builder\",\n\t\t\t\t\t\"selector\": \"source.python\",\n\t\t\t\t\t\"shell_cmd\": \"\\\"/Users/($yourpcname)/Anaconda3/envs/myenv/python.exe\\\" -u \\\"$file\\\"\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"folders\":\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\t\"follow_symlinks\": true,\n\t\t\t\t\t\"path\": \".\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\":\n\t\t\t{\n\t\t\t\t\"python_interpreter\": \"C:/Users/yourpcname/Anaconda3/envs/myenv/python.exe\"\n\t\t\t}\n\t\t}\n\t\t//taken from : http://damnwidget.github.io/anaconda/anaconda_settings/\n\t ```\n\t-\tThe previous step helps to customize the python version of the virtualenv myenv, if you need to use another virtualenv\n\t\tI recomend you to create a new project and change the paths to your virtualenv paths. \n\t-\tInstall Jedi, Anaconda and SublimeREPL to complete this. \n\t\t- \tGo to preferences \u003e Package Control , then write install package. A new prompt window will appear. \n\t\t- \tWrite Jedi, install it\n\t\t- \tRepeat step 4.4.1 and then install Anaconda\n\t\t- \tRepeat step 4.4.1 and then install SublimeREPL\n\n\t-\tConfigure Jedi, go to package settings \u003e Jedi \u003e Keymap - default. \n\t\t-\tLook for the line: \"command\": \"sublime_jedi_params_autocomplete\", \"keys\": [\"(\"]\n\t    and change it by \"command\": \"sublime_jedi_params_autocomplete\", \"keys\": [\"ctrl+(\"],\n\t    it is because you won't be able to use the open parenthesis '(', I am not sure why it is originally in that way. \n\t\t-\tIn the package settings \u003e Jedi \u003e Settings User:\n\t\t    ```\n\t\t\t{\n\t\t\t\t\t\"settings\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"python_interpreter_path\": \"C:/Users/($yourpcname)/Anaconda3/envs/myenv/\",\n\t\t\t\t\t\t\"python_package_paths\":\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\"C:/Users/($yourpcname)/Anaconda3/envs/Lib\",\n\t\t\t\t\t\t\t\"C:/Users/($yourpcname)/Anaconda3/envs/Lib/site-packages/\"\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t```\n\t\t-\tThis is because we want Jedi to autocomplete the function name (members from a class), constant variables, etc. \n\n\t-\tConfigure SublimeREPL, go to preferences \u003e Browse Packages... , an explorer windows will show you the folder where \n\tSublimeREPL is installed, but we need to go to SublimeREPL \u003e config , and open the Python\\Main.sublime-menu in sublime text 3 editor. \n\t\t-\tAdd the following code and the end of the dictionary: \n\t\t```\n\t\t, // this comma is neccesary\n                    {\"command\": \"repl_open\",\n                     \"caption\": \"Python MyEnv\",\n                     \"id\": \"MyEnv env\",\n                     \"mnemonic\": \"R\",\n                     \"args\": {\n                        \"type\": \"subprocess\",\n                        \"encoding\": \"utf8\",\n                        \"cmd\": [\"C:/Users/($yourpcname)/Anaconda3/envs/myenv/python\", \"-i\", \"$file_basename\"],\n                        \"cwd\": \"$file_path\",\n                        \"syntax\": \"Packages/Python/Python.tmLanguage\",\n                        \"external_id\": \"python\",\n                        \"extend_env\": {\"PYTHONIOENCODING\": \"utf-8\"}\n                        }\n                    }\n\t\t ```\t\n\t\t-\tSave it, and we are almost done.\n\n\t-\tConfigure the build system. Actually, it was already configued as \"Anaconda Python Builder\". \n\tIf you go to step 4.2, we created a New Build System Specially for this project, no other project will have access to this Build system.\n\tLook, it is because we want an specific python interpreter for this project.\n\tNotice, we called -\u003e name: \"Anaconda Python Builder\" Thus, go to tools \u003e Build System , and click on Anaconda Python Builder, when you want to run your python script.  \n\n5. Let's try to run a conde in sublime text 3. \n\tAdd a new file in your project, but first go to view \u003e View Side Bar. \n\tYou will see that you project has already a folder called with the name given at the moment to save the project name in step 4.1\n\tThe new file will be saved in the same path.\n\t-\tLets go to file \u003e new File. \n\t-\tLet's go to the bottom right corner of the sublime text 3 screen and where \"Plain Text\" is, please click on the text and a drop list will appear, then select python.\n\t-\tautomatically, the file unamed will understand your python syntaxys. Now, let's make some example code:\n\t```python\n\t\timport numpy\n\t\tprint ( \"hello words !!! \")\n\t\tprint (numpy.__version__)\n\t```\n\n\t-\tDuring the process of the code I hope you noticed how sublime text 3 is autocompleting your code by using the TAB after you write some words. \n\t-\tNow let's press Ctrl + B, to build the code or go to Tools \u003e Build ... \n\t-\tThe console will appear with the result of the code: \n\t```\t\n\tHellow World !!!\n\t3.4.3\n\t[Finished in 1.0s]\n \t```\n\t-\tNow, what if we want to run some code alive as Jupyter Notebook or sort of. \n \t\tLet's open SublimeREPL, go to Tools \u003e SublimeREPL \u003e python \u003e Python MyEnv \n \t\tNotice, the name is the same as we created in step 4.6.1. Click on that and a new page/tab will appear. \n\t\t\n\n## License\nCreative Commons Attribution 4.0 International\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromybompart%2Fimage-processing-in-sublime-text-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromybompart%2Fimage-processing-in-sublime-text-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromybompart%2Fimage-processing-in-sublime-text-3/lists"}