%global _empty_manifest_terminate_build 0 Name: python-ISS-Info Version: 1.0.0 Release: 1 Summary: Python wrapper for tracking information about International Space Station via http://open-notify.org/ License: MIT URL: https://github.com/Quarantine-Projects/ISS_Info Source0: https://mirrors.aliyun.com/pypi/web/packages/d2/b5/3b818e1b0f44e36ea720191fe8282a7eef34411041becf231c71233d5f2f/ISS_Info-1.0.0.tar.gz BuildArch: noarch Requires: python3-requests %description # ISS-Info [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) Python wrapper for tracking information about International Space Station via http://open-notify.org ## Installation In order install this package, simply run: ```bash pip install ISS_Info ``` ## Usage To use ISS_Info, you first need to import the package: ```python import ISS_Info ``` ### International Space Station Current Location: ```python ISS_Info.iss_current_loc() # Returns a dictionary with latitude, longitude, timestamp. ``` ### How Many People Are In ISS Right Now: ```python ISS_Info.iss_people_in_space() # Returns a dictionary with number, names, craft information. ``` ### International Space Station Pass Times: Given a location on Earth (latitude, longitude, and altitude) this API will compute the next n number of times that the ISS will be overhead. Overhead is defined as 10° in elevation for the observer. The times are computed in UTC and the length of time that the ISS is above 10° is in seconds. ```python ISS_Info.iss_passes(43.5,-74,200,3) # Returns a dictionary with every pass information. ``` | Input | Description | Parameter Name | Valid Range | Units | Required | |---------|---------------|------------------|---------------|---------|------------| |Latitude | The latitude of the place to predict passes | lat | -80 ~ 80 | degrees | YES | | Longitude | The longitude of the place to predict passes | lon | -180 ~ 180 | degrees | YES | | Altitude | The altitude of the place to predict passes | alt | 0 ~ 10,000 | meters| Optional | |Number|The number of passes to return|n|1 ~ 100|–| Optional| ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Salil Gautam

💻 📖 💡

Pdx97

💻 📖 💡
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! %package -n python3-ISS-Info Summary: Python wrapper for tracking information about International Space Station via http://open-notify.org/ Provides: python-ISS-Info BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-ISS-Info # ISS-Info [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) Python wrapper for tracking information about International Space Station via http://open-notify.org ## Installation In order install this package, simply run: ```bash pip install ISS_Info ``` ## Usage To use ISS_Info, you first need to import the package: ```python import ISS_Info ``` ### International Space Station Current Location: ```python ISS_Info.iss_current_loc() # Returns a dictionary with latitude, longitude, timestamp. ``` ### How Many People Are In ISS Right Now: ```python ISS_Info.iss_people_in_space() # Returns a dictionary with number, names, craft information. ``` ### International Space Station Pass Times: Given a location on Earth (latitude, longitude, and altitude) this API will compute the next n number of times that the ISS will be overhead. Overhead is defined as 10° in elevation for the observer. The times are computed in UTC and the length of time that the ISS is above 10° is in seconds. ```python ISS_Info.iss_passes(43.5,-74,200,3) # Returns a dictionary with every pass information. ``` | Input | Description | Parameter Name | Valid Range | Units | Required | |---------|---------------|------------------|---------------|---------|------------| |Latitude | The latitude of the place to predict passes | lat | -80 ~ 80 | degrees | YES | | Longitude | The longitude of the place to predict passes | lon | -180 ~ 180 | degrees | YES | | Altitude | The altitude of the place to predict passes | alt | 0 ~ 10,000 | meters| Optional | |Number|The number of passes to return|n|1 ~ 100|–| Optional| ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Salil Gautam

💻 📖 💡

Pdx97

💻 📖 💡
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! %package help Summary: Development documents and examples for ISS-Info Provides: python3-ISS-Info-doc %description help # ISS-Info [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) Python wrapper for tracking information about International Space Station via http://open-notify.org ## Installation In order install this package, simply run: ```bash pip install ISS_Info ``` ## Usage To use ISS_Info, you first need to import the package: ```python import ISS_Info ``` ### International Space Station Current Location: ```python ISS_Info.iss_current_loc() # Returns a dictionary with latitude, longitude, timestamp. ``` ### How Many People Are In ISS Right Now: ```python ISS_Info.iss_people_in_space() # Returns a dictionary with number, names, craft information. ``` ### International Space Station Pass Times: Given a location on Earth (latitude, longitude, and altitude) this API will compute the next n number of times that the ISS will be overhead. Overhead is defined as 10° in elevation for the observer. The times are computed in UTC and the length of time that the ISS is above 10° is in seconds. ```python ISS_Info.iss_passes(43.5,-74,200,3) # Returns a dictionary with every pass information. ``` | Input | Description | Parameter Name | Valid Range | Units | Required | |---------|---------------|------------------|---------------|---------|------------| |Latitude | The latitude of the place to predict passes | lat | -80 ~ 80 | degrees | YES | | Longitude | The longitude of the place to predict passes | lon | -180 ~ 180 | degrees | YES | | Altitude | The altitude of the place to predict passes | alt | 0 ~ 10,000 | meters| Optional | |Number|The number of passes to return|n|1 ~ 100|–| Optional| ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Salil Gautam

💻 📖 💡

Pdx97

💻 📖 💡
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! %prep %autosetup -n ISS_Info-1.0.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-ISS-Info -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 1.0.0-1 - Package Spec generated