pysatellite
pysatellite package is Simulate satellite tracking.
cli
ping()
살았니~ 죽었니?
Source code in pysatellite/cli.py
def ping() -> str:
"""살았니~ 죽었니?"""
return 'pong'
rocket
인공위성 발사 위한 로켓 모듈
Rocket
인공위성을 궤도에 진입 시키기 위한 로켓
countdown()
staticmethod
로켓 발사 카운트 다운
Todo
- https://www.nasa.gov/mission_pages/shuttle/launch/countdown101.html
Source code in pysatellite/rocket.py
@staticmethod
def countdown():
"""로켓 발사 카운트 다운
Todo:
* https://www.nasa.gov/mission_pages/shuttle/launch/countdown101.html
"""
for i in range(COUNTDOWN_START, 0, -1):
print(i)
time.sleep(COUNTDOWN_SLEEP_SECS)
launch()
staticmethod
countdown & launch
To use:
>>> Rocket.launch()
9
...
1
rocket booster ignition and liftoff!
Source code in pysatellite/rocket.py
@staticmethod
def launch():
"""countdown & launch
To use:
>>> Rocket.launch()
9
...
1
rocket booster ignition and liftoff!
"""
Rocket.countdown()
print("rocket booster ignition and liftoff!")
satellite
인공위성 운영을 위한 모듈
Satellite
지구 궤도를 돌며 임무를 수행하는 인공위성
coordinates()
staticmethod
인공위성의 현 좌표
To use:
>>> Satellite.coordinates()
I don't know yet.
Todo
- https://gssc.esa.int/navipedia/index.php/Satellite_Coordinates
Source code in pysatellite/satellite.py
@staticmethod
def coordinates() -> str:
"""인공위성의 현 좌표
To use:
>>> Satellite.coordinates()
I don't know yet.
Todo:
* https://gssc.esa.int/navipedia/index.php/Satellite_Coordinates
"""
return "I don't know yet."