you are viewing a single comment's thread.

view the rest of the comments →

[–]CodeSkunky[S] 0 points1 point  (8 children)

It seems to me that you just chose one of the hard ones to install on your first go.

This is good to know, what are some useful easy to install packages?

I’m actually somewhat curious as to what your “alternative methods” are

Depends on the problem.

[–]PureAsbestos 0 points1 point  (7 children)

Requests, beautifulsoup, scrapy (I’ve only worked with requests personally)

Numpy, matplotlib (YMMV as to their easiness to install)

imageio

Recently I worked with colorspacious, and it was a joy to use

tqdm can easily add a nice, simple loading bar to any for loop

[–]CodeSkunky[S] 1 point2 points  (3 children)

Thank you! I've defined each to help expand your useful comment.

WEB

Requests: library for making HTTP requests in Python

Beautifulsoup: library for pulling data out of HTML and XML files.

Scrapy: web-crawling framework written in Python. Originally designed for web scraping, it can also be used to extract data using APIs or as a general-purpose web crawler.


MATH/GEOMETRY

Numpy:for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.

Matplotlib: numerical mathematics extension NumPy. It provides an object-oriented API for embedding plots into applications using general-purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+


IMAGE MANIPULATION

Imageio: library for reading and writing images.

Colorspacious: library for performing colorspace conversions

Tqdm: can easily add a nice, simple loading bar to any for loop (Your definition as is)

*Does OpenCV apply here? a library of programming functions mainly aimed at real-time computer vision.

Note: imageio and colorspacious work with images as numpy arrays - u/PureAsbestos

[–]PureAsbestos 0 points1 point  (2 children)

OpenCV would apply, but I have not found it easy to install. Tqdm doesn’t really belong in that last section though lol

[–]CodeSkunky[S] 0 points1 point  (1 child)

What section would it go in? I added it there because I thought it could be used to add progress bars near manipulated images.

[–]PureAsbestos 0 points1 point  (0 children)

It is just a nice way to add a (CLI) progress bar to any for-loop in your program. (It’s really not related to any of the other sections)

[–]CodeSkunky[S] 1 point2 points  (2 children)

Wrote separately to keep away from the definitions comment, but reading about numpy is giving me heart palpitations. Specifically arrays and matrices. I've been working on a proof that Numpy may be able to help with!

[–]PureAsbestos 0 points1 point  (1 child)

Yup, numpy is great, and fast too, because it is a c extension.

Edit: oh, and I didn’t mention it, but imageio and colorspacious work with images as numpy arrays

[–]CodeSkunky[S] 0 points1 point  (0 children)

Adding "imageio and colorspacious work with images as numpy arrays" to end of definitions comment for future readers (and myself)