Path: csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'irc': 0.05; 'truncated': 0.09; 'url:github': 0.09; "(i'm": 0.16; '365': 0.16; 'whatever,': 0.16; 'command': 0.22; '>>>': 0.22; 'example': 0.22; 'module,': 0.24; 'skip:p 30': 0.29; 'skip:@ 10': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'twitter:': 0.31; 'another': 0.32; 'open': 0.33; 'url:python': 0.33; 'blog:': 0.33; 'received:google.com': 0.35; 'url:org': 0.36; 'question,': 0.38; 'whatever': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'free': 0.61; 'url:ar': 0.68; 'to:addr:python-announce': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HE1661fuLJb0ZvQpalq2pMnNmUBm80X98sSw2oB6mYg=; b=BZXtTbk6CDFG4dhPPNYIg4S8CT9fTh0dG4Yae8BrB744hrepYM5SVVd1SYwZUxDK8W zV5qP8JaEzOFPfqVU0fHTFIiaWHITY1VQgNRVEuPGKKJmoXhHaJbMETIkomuuNRJH/hs gyPgoRpHCNKKOORAH8o+NJgSANAMqkv3RGZkS4kZp4HReX05QiRHKz7WZ6h1seOKnrbz tJhK0Ebn1Ru5k4/K4KfFLJRGBx3dZdPYXH2z99MALqeI8UNgQSDY9Jm/TUsjB/cG5+ar jNVG1kVL2tUDOSqP3FBP5rBO7o/LimB7eF2WiRW2l7CQUDJmzEWy1sDXfyDzCbcK85hu oKRg== MIME-Version: 1.0 X-Received: by 10.140.31.75 with SMTP id e69mr5986690qge.76.1392948441306; Thu, 20 Feb 2014 18:07:21 -0800 (PST) Date: Thu, 20 Feb 2014 23:07:21 -0300 Subject: Yet Another SWF Parser From: Facundo Batista To: python-announce@python.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Fri, 21 Feb 2014 09:15:39 +0100 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392970541 news.xs4all.nl 2865 [2001:888:2000:d::a6]:48407 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:1227 I'm very proud to present Yet Another SWF Parser: "yaswfp", you can pronounce whatever you like :) https://github.com/facundobatista/yaswfp You can use it as command line program or as a module, for example (slightly truncated for readability): >>> swf = swfparser.parsefile() >>> swf.header Header(name=Header, FileLength=4228, ...) >>> len(swf.tags) 365 >>> swf.tags[3] PlaceObject2(name=PlaceObject2, CharacterId=1, ...) Any doubt, question, suggestion, or whatever, feel free to open an issue in github, mail me, or find me in IRC (I'm facundobatista in Freenode). Regards, -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ Twitter: @facundobatista