Author Topic: ticalc.org "Package Manager"  (Read 18694 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: ticalc.org "Package Manager"
« Reply #75 on: November 21, 2012, 03:38:43 pm »
Is wget related to hotlinking? If so, I guess it might have been to prevent other sites to hotlink images/files hosted there and thus, reduce bandwidth usage as much as possible, or on the other hand, encourage people to use their site directly.

I remember that back in 2004, Cemetech archives were entirely made of links to Ticalc.org files (probably so that every file download counts towards his ticalc.org stats), so that when  people downloads Kerm files from his Geocities site, it gets the ticalc.org zip files instead. Then one day, file hotlinking was disabled by ticalc.org, and Kerm was forced to manually update all his download section with new download links, and now the files are hosted on Cemetech instead (which also has its own download stats system now).
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6161
  • Rating: +318/-36
  • C'est la vie
    • View Profile
    • Eeems
Re: ticalc.org "Package Manager"
« Reply #76 on: November 21, 2012, 04:17:44 pm »
wget is a command line file downloader. It in and of itself has nothing to do with hotlinking. People can use it to scrape files from sites though.
/e

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: ticalc.org "Package Manager"
« Reply #77 on: February 17, 2014, 09:44:26 pm »
*resurrects this thread*

So, I've been working on this project lately again (on github: https://github.com/TC01/calcpkg).

I'm pleased to say that we have working support for Cemetech and mostly-functional support for Omnimaga!

Cemetech support is "complete"; however, it currently makes a list of files by spidering through the download categories. Hopefully, I'll be able to replace this soon with a master index file similar to the one ticalc.org and now Omnimaga have.

Omnimaga support uses Eeems' new way of browsing the archives; however, I haven't gotten around to implementing an info command to let you view information about files or fixing the ugly command line output.

When both of these are finished, I'll finally release version 2.0.

For those of you who weren't around 3 years ago when I first started working on this project: this is a piece of software that lets you browse ticalc.org from the command line, akin to a Linux package manager (apt-get, rpm, yum, pacman, etc). The libraries it uses to do this can be used by other people's applications to hook into ticalc.org without having to write a lot of messy HTML parsing code.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: ticalc.org "Package Manager"
« Reply #78 on: February 18, 2014, 12:08:12 am »
This is good to hear. What would be cool is to eventually be able to download calc files from any big site via one single client :D
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: ticalc.org "Package Manager"
« Reply #79 on: July 16, 2014, 11:53:32 pm »
This is good to hear. What would be cool is to eventually be able to download calc files from any big site via one single client :D

I could have sworn I replied to this back in February. :(  But that is indeed the goal!


*resurrects this thread yet again*

After growing impatient with myself, I've finally released calcpkg v2.0, three years after the last release to ticalc.org.

If you've read above, you're probably aware of some of the changes that have been sitting on github for quite a while, but to summarize...

-Calcpkg is now installable through pip! "pip install calcpkg" is probably the fastest way to get it, though I've updated the ticalc.org and Cemetech archives with the new release.
As a consequence of this, setuptools is now a dependency. Sorry.

-Support for Cemetech and Omnimaga, with an extensible system enabling more community site archives to be added! TI-Planet support is planned in the hopefully-not-three-years-away future.

-An overhaul of command line options and further modularization / code cleanup / etc of bits of the project. (At least, that's what my changelog claims, it's been so long...).

-Changes made by KermM for Sandpaper to the calcrepo backend were merged in as well.

(For a more detailed changelog, take a look at the git commit history on github).

If you forget what this thing is: it's a command line tool to query ticalc.org (and now other sites). As a quick and silly example, "calcpkg -r ticalc list Quadratic" will probably list all the correctly-spelled quadratic solvers on ticalc.org, and "calcpkg -r ticalc get Quadratic" would download them all (if, for some reason, you really wanted all of them).

The backend library is also available for anyone who wants to do something that requires having access to the {ticalc.org, Cemetech, Omnimaga} archives; as I mentioned above, components of calcpkg were used as part of Sandpaper.

If you have a feature request / bug report, either tell me about it here or make use of the issue tracker. :)

Also, the screenshots on the project pages are now out of date, so I should really update them...



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: ticalc.org "Package Manager"
« Reply #80 on: July 17, 2014, 12:11:16 am »
Awesome! Glad this is still updated and that Omnimaga/Cemetech are supported. Of course in the future TI-Planet addition would be nice. :)

"calcpkg -r ticalc get Quadratic" would download them all (if, for some reason, you really wanted all of them).

Who wouldn't want a beautiful grayscale quadratic solver? *.*
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6161
  • Rating: +318/-36
  • C'est la vie
    • View Profile
    • Eeems
Re: ticalc.org "Package Manager"
« Reply #81 on: June 24, 2018, 03:31:56 pm »
Super necro here, but @TC01  I may have opened a PR to update calcpkg to support python 3
/e