# About Companion Packages

**URL:** <https://discourse.jupyter.org/t/about-companion-packages/2189>\
**Category:** JupyterLab\
**Created:** [September 20, 2019, 9:24am UTC](https://discourse.jupyter.org/t/about-companion-packages/2189 "2019-09-20T09:24:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![louis-she](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/louis-she/32/1103_2.png) [@louis-she](https://discourse.jupyter.org/u/louis-she)\
**Post date:** [September 20, 2019, 9:24am UTC](https://discourse.jupyter.org/t/about-companion-packages/2189/1 "2019-09-20T09:24:38Z")

</div>

My extension is not a pure frontend extension so I have to write some Python codes. I follow the document and found out [companion-packages](https://jupyterlab.readthedocs.io/en/stable/developer/extension_dev.html#companion-packages).

Part of my `package.json` looks like this

```auto
  "jupyterlab": {
    "extension": true,
    "discovery": {
      "server": {
        "base": { "name": "featurize_jupyterlab" },
        "managers": ["pip"]
      }
    }
  },

```

I have already installed the `featurize_jupyterlab` python package via pip so I think it will be enabled by jupyterlab automatically. Unfortunately, there is nothing happend. Can anybody help me with this? Thanks.

I have found a jupyterlab-extension [https://github.com/jupyterlab/jupyterlab-git](https://github.com/jupyterlab/jupyterlab-git) , the installation of this extension is

```auto
jupyter labextension install @jupyterlab/git
pip install --upgrade jupyterlab-git
jupyter serverextension enable --py jupyterlab_git

```

The installation of the git extension is separated by client side and server side. If we have to do this, then what’s the point of writing the information of the dependency in `package.json` ?

---

<div class="post-metadata">

**Author:** ![ian-r-rose](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/ian-r-rose/32/1119_2.png) [@ian-r-rose](https://discourse.jupyter.org/u/ian-r-rose)\
**Post date:** [September 20, 2019, 4:41pm UTC](https://discourse.jupyter.org/t/about-companion-packages/2189/2 "2019-09-20T16:41:47Z")

</div>

The intention of that metadata is to hint to the frontend user, who may be using the extension manager, that the extension requires a server component.
