-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sauvegarde pour bosser dans le rer - pas opé du tout
- Loading branch information
RENAUD Maxence DGAC/CRNA-N
committed
Oct 17, 2019
1 parent
37e958b
commit a043a22
Showing
13 changed files
with
265 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ venv | |
__pycache__ | ||
*.pyc | ||
data | ||
algo.py | ||
algo.py | ||
cert/* |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#-*- coding: utf-8 -*- | ||
# NOTE : à exécuter dans un shell Python plutôt que comme un script ! | ||
|
||
from manager import Manager | ||
import json | ||
import utils | ||
import datetime | ||
|
||
test_manager = Manager(how_to_auth='cert') | ||
requestedFlightFields = ['flightState', 'cfmuFlightType'] | ||
|
||
# démo queryFlightsByAirspace | ||
flight_list = test_manager.queryFlightsByAirspace( | ||
airspace="LFFFTH", | ||
startTime="2019-10-16 17:00", | ||
endTime="2019-10-16 18:30", | ||
requestedFlightFields=requestedFlightFields) | ||
print(flight_list.data) | ||
|
||
# démo queryFlightsByAerodrome | ||
flight_list = test_manager.queryFlightsByAerodrome( | ||
aerodrome="LFPG", | ||
aerodromeRole="DEPARTURE", | ||
startTime="2019-10-16 17:00", | ||
endTime="2019-10-16 18:30", | ||
requestedFlightFields=requestedFlightFields) | ||
print(flight_list.data) | ||
|
||
# démo queryFlightsByTrafficVolume | ||
flight_list = test_manager.queryFlightsByTrafficVolume( | ||
trafficVolume='LFFTN', | ||
startTime="2019-10-16 17:00", | ||
endTime="2019-10-16 18:30", | ||
requestedFlightFields=requestedFlightFields) | ||
print(flight_list.data) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
pip freeze | grep -v "pkg-resources" > requirements.txt |
Oops, something went wrong.