Skip to content

SmartCat/GAFParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAFpy is parser for gaf files Written in Python by Oleksandr Kuznietsov [email protected] Supports Python v2.7 and v3

GAF converter can be downloaded from http://gafmedia.com

Usage:

import GAFParser, os

gafFiles = [a for a in os.listdir('.') if os.path.isfile(a) and os.path.splitext(a)[1] == '.gaf']
for f in gafFiles:
	g = GAFParser.load(f)
	majorVersion = g['header']['majorVersion']
	minorVersion = g['header']['minorVersion']
	compressed = g['header']['compressed']
	print("GAF `{3}`\t v{0}.{1} \tCompressed {2}".format(majorVersion, minorVersion, compressed, f))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages