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."
← Back to Stories (view on slashdot.org)
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
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.
mmmmm. free government cheese. mmmmmm.
Don't blame Durga. I voted for Centauri.
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...)
Well, it's certainly uncontaminated by package trees.
I watched C-beams glitter in the dark near the Tannhauser gate.
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?
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?
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.
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?
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....
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.
There's not enough cheese on the cheese sandwiches. - Tom Green, Freddy Got Fingered.
Start scripts with:
It'll do the right thing whenever python is in $PATH.
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))"
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?
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?
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.
Well you can't. This is just half assed, like the stupid name.
http://peak.telecommunity.com/DevCenter/EasyInstal l
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.
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:
On linux, python would see the following args: While on Solaris, python would see these args: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.
Yes, as in cryptic for the user. The following is roughly what I see in the wild, when using python vs. almost anything else:
...yes, in theory, the python program could do:
...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