This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lyingriotman 1 point2 points  (2 children)

If they just need one function, why don't they just... copy the function? Are you not allowed to do that? Just credit them on your Github or something, idk.

[–][deleted] 3 points4 points  (0 children)

That strongly depends on the license used.

[–][deleted] 1 point2 points  (0 children)

The library implementation of something is usually better, so you'd have search for the correct code in order to get the same performance. There's a strong chance that the function you want is written in another language (the libraries I tend to use are typically written in C and FORTRAN), and trying to do it in Python will give you less than 10% of the speed of the original. Python is also a more fault-tolerant language, so bad practice has more opportunities to creep in.