Latte v1.0 Released (package manger for StaSh)
Some of you may know about my project called Latte. It's been somewhat difficult to make work up to this point, but I've finally added enough features and fixed most of the bugs. Now, I'm happy to say I'm releasing the first steady version of a package manager just for StaSh.
If you want to check it out, head over to https://github.com/Seanld/Latte. There's also documentation located over at http://seanld.me/latte which provides much simpler and specific details about how to get started using it.
Hopefully this is a useful tool for everyone! It took me a long time to develop.
good work! I'll definitely check this out.
@AtomBombed , just worth mentioning that you should update StaSh using selfupdate before running your install script. Until I did that it could not find the extensions folder. I just posted a issue trying to install a package. Hmm, I should have checked my version of StaSh. But I will retry and if not working give Latte a go. Not sure it will make a difference, but worth a go :)
@AtomBombed , ok...I get it a little more now. Latte is a place to host and deliver packages for Pythonista, right? Sorry, I am very slow especially when it comes to all this stuff
@Phuket2 Latte is a system that allows you to install packages, and also has a command that generates templates for new packages if you want to create some. But it doesn't host packages itself. In fact, you can create your own Latte repository and host packages there with minimal setup. Just read my repository section at http://seanld.me/latte. Once you create a Latte repository, you can put packages in there (that you can create with
latte new <package-name>, and people can add your repo by typing
latte add-repo <url-to-repo>where the URL is the URL to your repository location (where the
init.lattefile is located).
There is no "main Latte repository". It's a decentralized repository system, meaning anyone can host their own Latte repositories with their own packages, and anyone can add those repositories to their Latte in StaSh and install packages from them. However, Latte does come pre-installed with my repository called
universewhich is directed at https://github.com/Seanld/latte-universe. You can copy what I've done at that GitHub repository and create your own, if you like.
It sounds complicated, it's not. Just check out the documentation on the aforementioned site. Once this thing catches on, I'm pretty sure quite a few StaSh users will start using it.
@Phuket2 and yes, I do need to tell people to update to the latest version of StaSh, as well as check for the extensions folder.
@Phuket2 try running
latte install meancalcinside of StaSh, and then once it finishes, try running
meancalc 1 5 3 8 2 3in StaSh as well. That's an example package I created that calculates the mean of all of it's arguments. When you're done, you can run
latte remove meancalcand it will be deleted if you don't want it anymore.
@Phuket2 sorry for spamming you with replies, but I found out there was a problem with the way I was accessing files. I fixed it, and now the paths should all be good to go. Please delete Latte from
/stash_extensions/binand restart Pythonista, then reinstall Latte and run the commands I told you about above in StaSh! Thanks!
@AtomBombed , no problem. I will do