{"id":13863078,"url":"https://github.com/pythonic-emacs/company-anaconda","last_synced_at":"2025-07-14T13:33:22.644Z","repository":{"id":17950271,"uuid":"20934332","full_name":"pythonic-emacs/company-anaconda","owner":"pythonic-emacs","description":"Anaconda backend for company-mode.","archived":false,"fork":false,"pushed_at":"2024-07-21T10:58:23.000Z","size":56,"stargazers_count":102,"open_issues_count":4,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-05T06:06:39.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"USGS-CIDA/chef-cookbook-caws-rundeck","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythonic-emacs.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2014-06-17T18:10:44.000Z","updated_at":"2024-07-21T10:58:27.000Z","dependencies_parsed_at":"2024-01-20T03:22:02.107Z","dependency_job_id":"e458bf6a-0860-430e-a7bb-3e331dc600ba","html_url":"https://github.com/pythonic-emacs/company-anaconda","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonic-emacs%2Fcompany-anaconda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonic-emacs%2Fcompany-anaconda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonic-emacs%2Fcompany-anaconda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonic-emacs%2Fcompany-anaconda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythonic-emacs","download_url":"https://codeload.github.com/pythonic-emacs/company-anaconda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225980898,"owners_count":17554919,"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-08-05T06:02:01.456Z","updated_at":"2024-11-22T23:30:41.403Z","avatar_url":"https://github.com/pythonic-emacs.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":".. |melpa| image:: http://melpa.org/packages/company-anaconda-badge.svg\n    :target: http://melpa.org/#/company-anaconda\n    :alt: Melpa\n.. |melpa-stable| image:: https://stable.melpa.org/packages/company-anaconda-badge.svg\n    :target: https://stable.melpa.org/#/company-anaconda\n    :alt: Melpa-Stable\n.. |CI| image:: https://github.com/pythonic-emacs/company-anaconda/actions/workflows/test.yml/badge.svg\n    :target: https://github.com/pythonic-emacs/company-anaconda/actions/workflows/test.yml\n    :alt: CI\n\n================\nCompany anaconda\n================\n\n|melpa| |melpa-stable| |CI|\n\nAnaconda_ backend for company-mode_.\n\n.. figure:: static/company-anaconda.png\n\nInstallation\n------------\n\nYou can install this package from Melpa_::\n\n    M-x package-install RET company-anaconda RET\n\nUsage\n-----\n\nAdd ``company-anaconda`` to allowed ``company-mode`` backends list\n\n.. code:: lisp\n\n    (eval-after-load \"company\"\n     '(add-to-list 'company-backends 'company-anaconda))\n\nEnable ``anaconda-mode`` in buffers you want to use ``company-anaconda``\n\n.. code:: lisp\n\n    (add-hook 'python-mode-hook 'anaconda-mode)\n\nIf you want to see ``anaconda-mode`` completions together with ones\ncomes from inferior python process use company grouped backend instead:\n\n.. code:: lisp\n\n    (eval-after-load \"company\"\n     '(add-to-list 'company-backends '(company-anaconda :with company-capf)))\n\nCustomization\n-------------\n\nBy default, company-anaconda uses Jedi's ``description`` for\ncandidates as annotations in company-mode's list of completions.  This\nusually tells you the type, and often the fully-qualified name, of a\ncompletion candidate.  For example, for a candidate ``a_method``, you\nmay see the annotation ``\u003cfunction: some_module.SomeClass.a_method\u003e``.\n\nYou can customize these annotations by setting\n``company-anaconda-annotation-function`` to a function that takes a\ncandidate string and returns the string company-mode should use as the\nannotation for that candidate.  The candidate string *may* have the\nfollowing text properties, which provide additional information about the candidate:\n\n- description: Jedi's description, typically the type of completion\n  optionally followed by a fully-qualified name for the candidate.  For example, \\\"class: foo.bar.Baz\\\" or \\\"statement\\\".\n\n- module-path: The path to the file that contains this candidate.\n\n- line: The line within that file where the candidate is defined.\n\n- docstring: The candidate's docstring.\n\nHere is an example of an alternate annotation function that only returns the first letter of the candidate's ``description`` property (indicating its type) in chevrons:\n\n.. code:: lisp\n\n    (defun my-annotation-function (candidate)\n      (let ((description (get-text-property 0 'description candidate)))\n        (when description\n          (concat \"\u003c\" (substring description 0 1) \"\u003e\"))))\n\n    (setq company-anaconda-annotation-function 'my-annotation-function)\n\nFor a candidate with a description such as ``function:\nsome_module.SomeClass.a_method``, this would make its annotation in\ncompany-mode's completion list simply ``\u003cf\u003e``.\n\n.. _Anaconda: https://github.com/proofit404/anaconda-mode\n.. _company-mode: http://company-mode.github.io/\n.. _Melpa: http://melpa.milkbox.net/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonic-emacs%2Fcompany-anaconda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonic-emacs%2Fcompany-anaconda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonic-emacs%2Fcompany-anaconda/lists"}