Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip and python(dot)org
#1
Title (re-written, for the fourth time): Is pip opensourced like Python(dot)org?

The following code, taken as an example, is running under the astropy library installable via (pip) and concerning a huge quantity of algorithms,well known all around the world by astronomy community. Nevertheless, nothing is said through its webpages on how the variables ut1,tt,mjd, etc.are computed, leaving the user thinking that he's dealing with a close software, despite Python(dot)org is clearly an opensourced organization.
# -------- tempo3.py ---------------
from astropy.time import Time 
t = Time('2006-01-15 21:24:37.5', format='iso', scale='utc', precision=6)
#
print (t.ut1.iso, t.ut1.mjd) 
print (t.ut1.jd1, t.ut1.jd2)
#
print (t.tt.iso, t.tt.mjd) 
print (t.tt.jd1, t.tt.jd2) 

#---------- OUTPUT ----------
# 2006-01-15 21:24:37.834136 53750.89210456175
# 2453751.0 0.3921045617535457
# 2006-01-15 21:25:42.684000 53750.89285513889
# 2453751.0 0.3928551388888888
In other words, pip seems only open accessible, far away from any open sourced status.
Thanks in advance for appreciated comments.
Reply
#2
Quote: Is pip opensourced like Python(dot)org?
yes, repository is here: https://github.com/pypa/pip

Quote:The following code, taken as an example,
This is not directly connected to pip, pip is only the 'funnel' that directs the package to your computer.

the repository for astropy is located here: https://github.com/astropy
and is totally isolated from python.org who has nothing to do with the astropy package.
Reply
#3
You are mixing stuff together here.
pip is Python package installer/manager,PyPI has 172,108 projects that can be installed with pip.
(Mar-15-2019, 10:32 AM)samsonite Wrote: Nevertheless, nothing is said through its webpages on how the variables ut1,tt,mjd, etc.are computed, leaving the user thinking that he's dealing with a close software, despite Python(dot)org is clearly an opensourced organization.
This has nothing to with Python(dot)org,Astropy is a own project they have own GitHub where Issues can be reported about there project.
Quote:Is pip opensourced like Python(dot)org?
It's open source,pip is under Python Packaging Authority.
Quote:The Python Packaging Authority (PyPA) is a working group that maintains many of the relevant projects in Python packaging.
Just to make it clear they have nothing to do with Astropy,just the same as they have nothing to with Requests.
Eg both Astropy/Requests use pip/PyPi to distribute there software,the task of pip/PyPi is distribution not to mess with individual projects.
Reply
#4
This link https://github.com/astropy clarifies the matter.
Thank you both, and cheers
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020