PHP_Parser is a source code analysis tool based around a real Parser
generated by PHP_ParserGenerator. The parser uses the same EBNF source
that PHP uses to parse itself, modified for Lemon parser format,
and it therefore as robust as PHP itself.
Bandit is a tool for finding common security issues in Python code.
To do this Bandit processes each file, builds an AST from it, and runs
appropriate plugins against the AST nodes. Once Bandit has finished scanning
all the files it generates a report.
Pygame_sdl2 is a reimplementation of the Pygame API using SDL2 and
related libraries. The initial goal of this project are to allow games
written using the pygame API to run on SDL2 on desktop and mobile
platforms. We will then evolve the API to expose SDL2-provided
functionality in a pythonic manner.
With apipkg you can control the exported namespace of a python package
and greatly reduce the number of imports for your users. It is a small
pure python module that works on virtually all Python versions, including
CPython2.3 to Python3.1, Jython and PyPy. It co-operates well with
Python's help() system, custom importers (PEP302) and common command
line completion tools.
Fast, simple object-to-object and broadcast signaling.
Blinker provides a fast dispatching system that allows any number of interested
parties to subscribe to events, or "signals".
Features:
- A global registry of named signals
- Anonymous signals
- Custom name registries
- Permanently or temporarily connected receivers
- Automatically disconnected receivers via weak referencing
- Sending arbitrary data payloads
- Collecting return values from signal receivers
pycountry provides the ISO databases for the standards:
-- 639: Languages
-- 3166: Countries
-- 3166-2: Subdivisions of countries
-- 4217: Currencies
-- 15924: Scripts
The package includes a copy from Debian's pkg-isocodes and makes
the data accessible through a Python API. Translation files for
the various strings are included as well.
Flake8 is a wrapper around these tools:
- PyFlakes
- pep8
- Ned's McCabe script
Flake8 runs all tools by launching the single 'flake8' script, but ignores pep8
and PyFlakes extended options and just uses defaults. It displays the warnings
in a per-file, merged output.
hghooks is a simple module that adds several useful hooks for use in
Mercurial hooks system.
Right now it includes hooks for:
* pep8 checking of python files
* pyflakes checking of python files
* checking for forgotten pdb statements in python files
* Trac integration. This includes:
- Making sure at least a ticket is mentioned in the changeset message
- Updating the Trac ticket with the changeset
Hypothesis is a library for testing your Python code against a much larger
range of examples than you would ever want to write by hand. It's based on the
Haskell library, Quickcheck, and is designed to integrate seamlessly into your
existing Python unit testing work flow.
Python and Ice have much in common: they both are suited for a wide variety
of tasks, excel at application integration, and are easy for developers
to use. An Ice language mapping for Python is a recent and welcome addition
to the Ice product portfolio, enabling developers to take advantage
of the productivity offered by Python's friendly syntax and extensive
function library.