Help with the `spaces` package documentation

Sorry I recognize I’m probably missing something obvious, but I cannot find any documentation for the spaces package.

It is referenced here: README - a Hugging Face Space by zero-gpu-explorers and I originally came across it looking at this demo app from deepseek DeepSeek-Coder/demo/app.py at main · deepseek-ai/DeepSeek-Coder · GitHub

Thanks

1 Like

I can’t find any decent documentation on the Zero GPU space and spaces library either. I routinely deal with errors by piecing together bits and pieces of information from the above community and the forum, other people’s Spaces, and Google searches.
But this is not what one would call a proper method.
Most of the HF documentation is of the auto-generated type based on comments in the code, so when it comes to semi-private libraries and server-side stuff, documentation tends to suddenly disappear.

I think the most reliable way is to read the code in the spaces library in the Python folder. I hope this was a joke or a slight…
Unfortunately, it’s just a fact.:sob:

I see haha… well thats unfortunate. I barely know what the package is meant to be doing if I’m honest.

Do we at least know who the author is?

1 Like

Well, it’s really a situation we can only laugh at…:innocent:
The pip says he is the maintainer, but I don’t know if he is the author or not…
I guess libraries are usually maintained by more than one person.

Maybe.