Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Request for new PyPI trove classifier for Jupyter Framework #210

Closed
ewdurbin opened this issue Nov 21, 2014 · 17 comments
Closed

Request for new PyPI trove classifier for Jupyter Framework #210

ewdurbin opened this issue Nov 21, 2014 · 17 comments

Comments

@ewdurbin
Copy link
Member

Originally reported by: Douglas Blank (Bitbucket: dblank, GitHub: dblank)


IPython has developed a new project called Jupyter. This takes the Python-specific parts and makes a framework that is language agnostic, but still written in Python. IPython would make the Jupyter system available under this, and we would like to be able to classify components for Jupyter which are written in Python under this classifier.

Thanks!

References:

https://github.com/jupyter/


@ewdurbin
Copy link
Member Author

Original comment by blink1073 (Bitbucket: blink1073, GitHub: blink1073):


Doug you beat me to it, sly dog.

@ewdurbin
Copy link
Member Author

ewdurbin commented Dec 8, 2014

Original comment by Richard Jones (Bitbucket: r1chardj0n3s, GitHub: r1chardj0n3s):


I don't tend to add classifiers before there is a clear demand for them. Currently searching for "Jupyter" returns very few results, and those appear to be core components, not extensions (which appear to be the target of this exercise).

@ewdurbin
Copy link
Member Author

ewdurbin commented Dec 8, 2014

Original comment by blink1073 (Bitbucket: blink1073, GitHub: blink1073):


Richard, that is because they have not officially changed the name of the main project yet. However, Doug, myself, and others are already building tools that target Jupyter. IPython is a major project, and we wanted the classifier to be in place before the switch, to help with the transition.

@ewdurbin
Copy link
Member Author

ewdurbin commented Dec 8, 2014

Original comment by Douglas Blank (Bitbucket: dblank, GitHub: dblank):


Richard, just adding more details to what Steven said: people have been working on IPython 3.0.0 (aka Jupyter) tools for many months, but they are unable to identify those as Jupyter because of course there is no Jupyter classifier. We are working on building tools (for example, listing the available kernels for Jupyter). However, without a Jupyter classifier, there is no good way to do that. All of the following should be listed as Jupyter (rather than IPython): julia-kernel, octave-kernel, calico-scheme, chatbot-kernel, calysto-scheme, r-kernel, bash-kernel, echo-kernel, eval-kernel, hy-kernel, metakernel, calysto, processing-kernel, prolog-kernel, and probably many others. And more are on their way! Jupyter is planned to be released probably in the next month or so. It would be very helpful if we could get all of the above packages organized before release.

@ewdurbin
Copy link
Member Author

Original comment by Matthias Bussonnier (Bitbucket: Carreau, GitHub: Carreau):


Technically here are a few project that should move classifier from IPython to Jupyter, bash_kernel

  • IPython (as a kernel)
  • jupyterdrive
  • bash_kernel
  • calico
  • chatbot kernel
  • metakernel
  • nbdiff
  • octave kernel
  • scilab kernel
  • redis kernel
  • jupyter
  • jupyter-client
  • jupyter-cms
  • jupyter console
  • jupyterhub
  • jupyter-js-widgets-nbextension
  • jupyter dashboard
  • jupyter core
  • jupyter declarativewidgets
  • jupyter-kernel-gateway
  • jupyternbconvert
  • jupyter-qtconsole
  • bqplot
  • jupyter_qtconsole_colorschemes
  • jupyterlab
  • jupyter-tree-filter

There are probably a few others, but if you prefer to wait for us to be closer to release It's fine.

@ewdurbin
Copy link
Member Author

Original comment by Brian Granger (Bitbucket: bgranger, GitHub: bgranger):


Hi, one of the core IPython devs and founders of Project Jupyter here...

IPython is already one of the largest python projects. We are in the middle of renaming most of the project to Jupyter. Thus, sometime in 2015, Jupyter will be one of the biggest Python projects around.

Part of the renaming work involves splitting our code into multiple subprojects, creating repos for those, Python packages, etc. Having the Jupyter classifiers would be a huge help for us and the larger python community during and after this transition. Our own project alone will have 10-20 projects on pypi that would use these classifiers.

Thanks!

@ewdurbin
Copy link
Member Author

Original comment by Scott Sanderson (Bitbucket: scott_sanderson, GitHub: Unknown):


I was looking for a Jupyter classifier today when releasing a new version of https://github.com/quantopian/pgcontents and was surprised to find that it wasn't available.

@ewdurbin
Copy link
Member Author

Original comment by Matthias Bussonnier (Bitbucket: Carreau, GitHub: Carreau):


I've updated (a bit) my list above and added ~15 projects that could use the classifier.

@Carreau
Copy link
Contributor

Carreau commented Feb 23, 2017

Hi there ! We now have more than 60 packages that use the jupyter prefix, it would be great to have that in the trove classifier ! Thanks !

@fperez
Copy link

fperez commented Feb 23, 2017

Pitching in from Jupyter here: our ecosystem is growing quite a bit, and it would be tremendously helpful for our users and the entire project to be able to easily find, list, track, etc., tools designed to work with Jupyter-related tools and ideas.

If there's anything we can do from our side to help, please let us know, we'd be happy to.

@berkerpeksag
Copy link
Collaborator

I think the main pain point for the PyPI maintainers is that there's no UI to add new classifiers so the only way to add or update them is to write raw SQL queries (they can correct me if I'm wrong)

My plan was to create a UI to this make process much easier for Warehouse, but I don't really have much free time these days :(

@westurner
Copy link

westurner commented Mar 20, 2017

@fperez
https://github.com/pypa/warehouse/labels/classifier%20request

[edit]
https://github.com/pypa/pypi-legacy/blob/master/trove.py
https://github.com/pypa/warehouse/blob/master/warehouse/classifiers/models.py Classifier
https://github.com/pypa/warehouse/blob/master/warehouse/packaging/models.py#L268

# changes needed in warehouse to make it easier to fulfill trove requests

# ?/views.py
def add_classifier(request):
    classifier = Classifier.from_string("For :: Example :: Jupyter :: 1.2"))
    session.add(classifier)
    # session.flush() / session.commit()


# classifiers/models.py
class Classifier( ):
    def from_string(self, classifier):
            """ TODO: see https://github.com/pypa/pypi-legacy/blob/master/trove.py """
            attrs = {}
            parts = [p.strip() for p in classifier.split("::")]
            for i, part in enumerate(parts[0:], 0): # 1:] ?
                attrs['l' + i] = part
            return Classifier(**attrs)

@westurner
Copy link

westurner commented Mar 20, 2017

... are these like URIs?

[edit]
JSONLD ( https://schema.org/Thing )

{"name": "This :: Is :: The :: Name",
 "url": "#this/is/the/name" }

Carreau added a commit to Carreau/warehouse that referenced this issue Apr 6, 2017
@ewdurbin
Copy link
Member Author

ewdurbin commented Apr 6, 2017

added Framework :: Jupyter

@Carreau
Copy link
Contributor

Carreau commented Apr 6, 2017

added Framework :: Jupyter

Thanks you !

@westurner
Copy link

westurner commented Apr 6, 2017 via email

@fperez
Copy link

fperez commented Apr 21, 2017

Don't want to be noisy here, but this is worth more than just an emoji 👍 ...

We're very grateful this was done, as it will really help us organize our ecosystem and track its growth. Kudos to the team for making this happen!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants