Slashdot Mirror


Python's Cheese Shop Now Open

Richard Jones writes "Python's software repository has finally got its own home at the Python Cheese Shop. The Cheese Shop includes the package index (PyPI) and package download repository."

40 comments

  1. The Python Cheese Shop Sketch by TripMaster+Monkey · · Score: 4, Funny


    Customer: Now, then, some packages, my good man.
    Owner: Certainly, sir! What would you like?
    Customer: How about some nice bitbake?
    Owner: I'm afraid we're fresh out of bitbake, sir.

    Customer: No matter...have you any testoob?
    Owner: Not...as...such, sir.
    Customer: Well then, perhaps some SiGL?
    Owner: Normally, yes, sir. Hard drive broke down.
    Customer: I see...do you in fact have any packages?
    Owner: Certainly, sir! This is The Cheese Shop, sir! We have -
    Customer: No no no...don't tell me, I'm keen to guess...

    --
    ____

    ~ |rip/\/\aster /\/\onkey

    1. Re:The Python Cheese Shop Sketch by Hikaru79 · · Score: 1

      Don't be too hard on the owner, it's not his fault. That's what happens when you get slashdotted.

    2. Re:The Python Cheese Shop Sketch by Richard+Jones · · Score: 1

      Nicely done :)

    3. Re:The Python Cheese Shop Sketch by smittyoneeach · · Score: 3, Funny

      Customer: Well, then, have you got any Venezuelan Beaver Cheese?
      Owner: Sir, this is a self-respecting establishment. I shall thank you not to imply we should traffic in VB, much less, even mention the foul product.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  2. This confirms everything Ive thought about pythong by bergeron76 · · Score: 1, Interesting

    It's just plain cheesylicious.

    Aside from all the great things I know/have learned about python, it still seems to be the only language that _always_ suffers from some kind of runtime problem when I try to use it.

    Every time I've tried to run a python script, it's bailed on me for one reason or another, and with a cryptic failure code. Which really sucks, because everyone that uses it seems to love it and I'd love to have an introduction to it that worked.

    Of course, I thought the same things about Perl too, so hopefully this brings Python some user-freudlichness.

    --
    Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
  3. mmmm... by AtariAmarok · · Score: 0, Offtopic

    mmmmm. free government cheese. mmmmmm.

    --
    Don't blame Durga. I voted for Centauri.
  4. missing something by same_old_story · · Score: 2, Interesting

    sorry for being, lazy, I didn't read the fucking repository but...
    a) why is this different from the vault of parnassus?
    b) missed the cheese joke (not a big m. python fan I guess...)

    1. Re:missing something by KrisW · · Score: 1

      It seems to me that the only way it's different from the Vaults Of Parnassus is that there's way more stuff in the latter. Maybe it's easier to update than the Vaults.

      No comment on the cheese sketch.

      --


      "Think you can take me? Go ahead on. It's your move." --Joe Don Baker in Final Justice
    2. Re:missing something by Ignominious+Cow+Herd · · Score: 1

      a) why is this different from the vault of parnassus?

      It's so clean.

      b) missed the cheese joke (not a big m. python fan I guess...)

      See answer to a)

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    3. Re:missing something by Seumas · · Score: 1

      More importantly - why do Python people choose such stupid names for this stuff?

    4. Re:missing something by Ignominious+Cow+Herd · · Score: 2, Interesting

      Right, because yacc, bison, parrot, beagle, mozilla, apache, zope, gkrellm and superkaramba are all such normal names.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    5. Re:missing something by Seumas · · Score: 1

      Um. No, more like CPAN.

      You listed languages and products. We're talking about a software archive.

    6. Re:missing something by Aeiri · · Score: 2, Funny

      "We're talking about a software archive."

      No, we're talking about cheese.

      Yum.

    7. Re:missing something by indifferent+children · · Score: 2, Funny

      No, Yum is an RPM package manager. Totally different.

      --
      Censorship is telling a man he can't have a steak just because a baby can't chew it. --Mark Twain
    8. Re:missing something by Anonymous Coward · · Score: 0

      Here is a transcript of The Cheese Emporium sketch.

    9. Re:missing something by foote · · Score: 1

      I agree that the name is silly. And I like Python the language, and Python the Monty as well. It's just time for Graham Chapman's colonel to come in and say "Right, this is too silly, I'm closing this site down. Move along."

      Somebody in another comment responded to a complaint about the name by saying "Right, because yacc, bison, parrot, beagle, mozilla, apache, zope, gkrellm and superkaramba are all such normal names." Point taken, but Cheese Shop, or Bicycle Repairman, go beyond these others, in my opinion.

      The Cheese Shop site at least looks clean, like CPAN, and unlike the Vaults of Parnassus. I'm grateful for the VoP, and for the work of the dedicated people who run it. It is useful and valued. But the look is rather like a fourteen-year-old's Dungeon's and Dragon's site. It's a bit embarassing, really. And the metaphor is wrong, just like the snake on the cover of the O'Reilly Python Pocket Reference is wrong. But I guess the O'Reilly book looks cooler and more professional with an actual snake than a Terry Gilliam drawing. I'm not ungrateful. Just picky.

      Also, as has been noted, the Cheese Shop is where you don't get any cheese. If they wanted a Python reference, they could have chosen the Travel Agency. At least you get Carol Cleveland inviting you upstairs. And they could name their discussion boards the Argument Clinic.

  5. Package repository, eh? by daeley · · Score: 1

    Well, it's certainly uncontaminated by package trees.

    --
    I watched C-beams glitter in the dark near the Tannhauser gate.
  6. I've got a solution for you by Anonymous Coward · · Score: 0

    Maybe you should, you know, learn how to use your computer.

    It's hard to imagine thousands of Python programmers are out there writing scripts that will never run, no?

  7. I can understand humor by xutopia · · Score: 1

    but damnit what the heck is wrong with this picture? I thought to myself that the cheese shop was a demo akin to the store demo we've seen with java and C#. No instead I see a website that just confused me. Why can't they write it clearly on the site what it is?

    1. Re:I can understand humor by Richard+Jones · · Score: 1

      Thankyou for your feedback. A short introduction for the newb has been added.

  8. Re:This confirms everything Ive thought about pyth by interiot · · Score: 2, Interesting
    If they're problems that are related the she-bang (#!/usr/bin/perl), then user-friendliness problems are in teh kernel itself. The #! thing is a hack inside the kernel itself, and as such, does very minimal parsing. So, it doesn't search the path for the perl or python interpretters (unless you use /usr/bin/env, which is also not ideal for a couple reasons).

    I don't know. Maybe a better solution would be to create a variable like $SHELL, but call it $SHEBANG. When a script starts with #!$SHEBANG, the kernel wouldn't parse ANYTHING else on that line (eg. have the same behavior across Linux, Solaris, ...), and the $SHEBANG program would be some universally available program that would do the parsing of that line, and search the path, etc. I don't know.

  9. Say what now Py folks? by Anonymous Coward · · Score: 0

    Whenever I laud CPAN, the python folks are so quick to tell me how I can't trust the code I get, how CPAN is worthless ,etc. So what now guys? is the Cheese Shop an equally untrustworthy waste of time?

    1. Re:Say what now Py folks? by afd8856 · · Score: 1

      there's quite a difference. PyPi is a collection of python software, while CPAN serves mostly as a collection of perl modules.

      The Python community really needs to have an overview of the software available for use, so this repository, together with the wiki from python.org is really good of introducing newcomers to what's available.

      --
      I'll do the stupid thing first and then you shy people follow...
  10. How disappointing by macshit · · Score: 1

    Man, I was all revved up for some online cheese ordering action (the more obscure and malodorous the better), and all this site seems to have is a bunch of software packages. Besides the opening quote (which we've all heard before anyway) there's nary a hint of cheese anywhere.

    --
    We live, as we dream -- alone....
    1. Re:How disappointing by Vo0k · · Score: 1

      Somehow I find it disturbing: it has a cheesy look and a fishy smell.

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
  11. Re:This confirms everything Ive thought about pyth by MechaShiva · · Score: 1, Funny

    And this just confirms I'm not the only one who types 'pythong' instead of 'python' when I'm in a rush. Thanks.

    --
    After calming me down with some orange slices and some fetal spooning, E.T. revealed to me his singular purpose.
  12. Not enough cheese by invisigoth · · Score: 0, Offtopic

    There's not enough cheese on the cheese sandwiches. - Tom Green, Freddy Got Fingered.

  13. Re:This confirms everything Ive thought about pyth by Linus+Torvaalds · · Score: 2, Insightful

    Start scripts with:

    #!/usr/bin/env python

    It'll do the right thing whenever python is in $PATH.

  14. Re:This confirms everything Ive thought about pyth by dimator · · Score: 2, Insightful

    Cryptic failure code? I have always admired python for its verbose failure messages, which usually include a traceback... not sure what you mean by cryptic failure code...

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  15. I'm a Python coder & a great Python fan, but . by dotzie · · Score: 2, Interesting
    ... but this is plain disappointing.

    Why do they included each _version_ of a package in the repository? EmPy listed and counted in the category list 4 times.

    How can I easily download a package, including all of it's dependencies? Or, how can I just download a package from CheeseShop automatically, using a command-line utility?

  16. A Bad Choice of Name by wintermute1974 · · Score: 1

    What a strange name to give a supposedly useful website. Clearly, the Python language was named after Monty Python, but in trying to keep the joke going, they have made a bad choice in name.

    In the Cheese Emporium sketch, the customer walks into to a cheese store, spends a great deal of time trying to figure out what is available, and in the end leaves the store angry and empty handed.

    So if you go to Python's Cheese Shop, are you supposed to be tantalized with all sorts of wonderful modules, only to find there are none?

  17. So they're naming the repository... by LazyBoy · · Score: 3, Funny

    for a shop that didn't have anything in it?

    --

    If Chaos Theory has taught us anything, it's that we must kill all the butterflies.

    1. Re:So they're naming the repository... by Richard+Jones · · Score: 1

      That's the *point*, it's *ironic humour* :)

  18. Lame by Anonymous Coward · · Score: 0

    Well you can't. This is just half assed, like the stupid name.

  19. Re:I'm a Python coder & a great Python fan, bu by rakanishu · · Score: 2, Interesting
  20. Re:This confirms everything Ive thought about pyth by ZvlvLord · · Score: 1

    Do you have specific examples ? Show me the code. Just saying that everytime you wrote a Python script, it bailed on you, doesn't count. Where's the meat ? Let's get to it. I'll bet you half a box of beers that the mistake is on your side. If it's a bug with the libs that you use, post a bug report and be happy. There is NO BUG-LESS software, get used to it.

  21. Re:This confirms everything Ive thought about pyth by interiot · · Score: 1
    Right, but as I mentioned in my post, that's not 100% perfect either.

    The first problem is that env isn't located in (or accessible from) /usr/bin/ in all flavors of unix. This usually isn't a problem, but when it is a problem, the user gets a very cryptic error. ("./parent_script.py not found").

    The second problem is that different kernels parse the remaining arguments differently. So if you did this:

    #!/usr/bin/env python -W all
    On linux, python would see the following args:
    argv[0] = "W -all"
    argv[1] = "parent_script.py"
    While on Solaris, python would see these args:
    argv[0] = "parent_script.py"

    Obviously that could create some cross-platform differences in behavior.

    The biggest issue is that there's no standard and consistent behavior across Unix flavors. If we had that, we'd be all set.

  22. Re:This confirms everything Ive thought about pyth by Nevyn · · Score: 1
    Cryptic failure code?

    Yes, as in cryptic for the user. The following is roughly what I see in the wild, when using python vs. almost anything else:

    % cat x.pl
    open(IN, "< X") || die "open: $!"
    % perl x.pl
    open: No such file or directory at x.pl line 1.
    % cat x.py
    open("X")
    % python x.py
    Traceback (most recent call last):
    File "x.py", line 1, in ?
    open("X")
    IOError: [Errno 2] No such file or directory: 'X'

    ...yes, in theory, the python program could do:

    import sys

    try:
    open("X")
    except IOError, (errno, strerror):
    sys.stderr.write("open(%s): %s\n" % ("X", strerror))

    ...but 1) noone does that (due to it being horribly ugly). and 2) If "X" exists and is a namedpipe, which blocks, and the user does a C-c you'll get the same problem with a KeyboardInterrupt exception.

    --
    ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B