Parse GFF files.
GFFtools: Yet another package to work with GFF3 files
Python package to parse GFF files and access the individual records. Only files following the official GFF Version 3 specification are supported: https://github.com/The-Sequence-Ontology/Specifications/blob/master/gff3.md
Most GTF files from e.g. ENSEMBL work as well but not all features are tested for GTF.
pip install gfftools
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.