• Stars
    star
    1
  • Language
    Python
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python library to deal with AIRAC cycle dates

python-airac

Regular, planned Aeronautical Information Publications (AIP) as defined by the International Civil Aviation Organization (ICAO) are published and become effective at fixed dates.

AIRAC cycle definition as published in the ICAO Aeronautical Information Services Manual (DOC 8126; AN/872; 6th Edition; 2003). Test cases validate documented dates from 2003 until 2022. They also assert that the rare cases of a 14th cycle, e. g. in the years 2020 and 2043 are correctly handled.

https://en.wikipedia.org/wiki/Aeronautical_Information_Publication

This project provides a Python library to deal with AIRAC cycle dates.

This project is not maintained by ICAO. Please use this project at your own risk.

Installation

python-airac is not currently a Python registered package.

Currently only developer version is available. It can be installed by running commandline:

$ pip install git+https://github.com/scls19fr/python-airac

Usage

Airac object

Get current AIRAC cycle

In [1]: from airac import Airac

In [2]: airac = Airac()

In [3]: airac
Out[3]: <Airac 2101 2021-01-28>

Get first AIRAC cycle of a given year

In [4]: Airac.from_year(2021)
Out[4]: <Airac 2101 2021-01-28>

Get properties of an AIRAC cycle

In [5]: airac.date
Out[5]: datetime.date(2021, 1, 28)

In [6]: airac.ident
Out[6]: 2101

In [7]: airac.year
Out[7]: 2021

Iterating over AIRAC cycle

In [8]: airac = Airac.from_year(2021)

In [9]: airac.next()
Out[9]: <Airac 2102 2021-02-25>

In [10]: airac.move(12)
Out[10]: <Airac 2113 2021-12-30>

In [11]: airac.previous()
Out[11]: <Airac 2014 2020-12-31>

Showing all cycle dates for a given year

In [12]: g = (Airac(d) for d in airac_cycle_dates(2021))

In [13]: list(g)
Out[13]:
[<Airac 2101 2021-01-28>,
 <Airac 2102 2021-02-25>,
 <Airac 2103 2021-03-25>,
 <Airac 2104 2021-04-22>,
 <Airac 2105 2021-05-20>,
 <Airac 2106 2021-06-17>,
 <Airac 2107 2021-07-15>,
 <Airac 2108 2021-08-12>,
 <Airac 2109 2021-09-09>,
 <Airac 2110 2021-10-07>,
 <Airac 2111 2021-11-04>,
 <Airac 2112 2021-12-02>,
 <Airac 2113 2021-12-30>]

Showing all cycle dates between 2 dates

In [14]: 

Parsing an AIRAC ident string

In [15]: Airac.from_ident("1913")
Out[15]: <Airac 1913 2019-12-05>

More informations

More informations can be found by watching at code:

More Repositories

1

pyade

Unofficial Python library to use ADE Web API for ADE Planning from Adesoft
Python
14
star
2

pandas_degreedays

A Python package to calculate degree days (DD or in french DJU - degré jour unifié) from measured outdoor temperatures and to make it possible to quantify drift of energy consumption for heating (or cooling)
Python
12
star
3

pandas-helper-calc

Helper methods for Pandas Series and DataFrames to calculate numerically derivative and integral
Python
9
star
4

ExtensibleScheduler.jl

An advanced and extensible Julia events scheduler. https://scls19fr.github.io/ExtensibleScheduler.jl/dev/
Julia
8
star
5

numpy-buffer

A Python NumPy implementation of ring buffer (aka circular buffer)
Python
7
star
6

python-lms-tools

Python library to manage quiz format(s) used by differents Learning management system (LMS) especially Moodle (currently only Aiken format is supported)
Python
6
star
7

openweathermap_requests

Python package to fetch data from OpenWeatherMap.org with requests and requests-cache
Python
5
star
8

pycondor

Python script to manage Condor Soaring files such as tasks (flight plans)
Python
5
star
9

GPX.jl

A Julia GPX parser (ie reader) and creator (ie writer). GPX (GPS eXchange Format) is an XML based file format for GPS tracks.
Julia
5
star
10

Pushover.jl

A simple Pushover client for Julia https://scls19fr.github.io/Pushover.jl/dev
Julia
4
star
11

Sched.jl

A Julia event scheduler inspired by Python sched. https://scls19fr.github.io/Sched.jl/dev/
Julia
4
star
12

pandas-anonymizer

Some functions to anonymize data with Python Pandas
Python
4
star
13

wnb

Weight and balance progressive web application for light aircrafts (SEP, gliders...)
TypeScript
2
star
14

morse-listen

[WIP] Decoding morse code using Python, Machine Learning...
Python
2
star
15

arduino_libraries_search

Python Pandas script to search for Arduino libraries matching some keywords and to output to Excel file
Python
2
star
16

KMLTracks.jl

A Julia library to parse KML files or strings (ie read them) with gx:Track extension
Julia
2
star
17

simulator_keypad

C++
1
star
18

CakeLocale

Project containing a translation effort for the CakePHP core
1
star
19

AIRAC.jl

Julia library to deal with AIRAC cycle dates
Julia
1
star
20

openphysic

PHP
1
star
21

polaires_excel

Fichier Excel polaire des vitesses (planeur)
1
star
22

email-verif

A Python email validator. Verify if an email address is valid and really exists.
Python
1
star
23

tkinter_matplotlib_sample

A Python Tkinter example with Matplotlib integration
Python
1
star
24

JuliaVagrant

A Vagrant environment for Julia development (Linux Ubuntu host)
1
star
25

BulkSMS.jl

A Julia package to send SMS (Short Message Service) using BulkSMS API https://scls19fr.github.io/BulkSMS.jl/dev
Julia
1
star
26

web_scraping_sia_python

Unofficial Python library to scrape SIA (Service de l'information aéronautique) website
Python
1
star
27

sia_lua

Unofficial Lua library to download VAC from SIA (Service de l'information aéronautique) website
Lua
1
star
28

Nextion.jl

An unofficial Julia library to communicate with Itead Nextion display
Julia
1
star