python-parse_1.6.6-0ubuntu1_all.deb


Advertisement

Description

python-parse - Parse provides the reverse function for format()

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-parse
Package version: 1.6.6
Package release: 0ubuntu1
Package architecture: all
Package type: deb
Installed size: 69 B
Download size: 14.53 KB
Official Mirror: archive.ubuntu.com
Parse strings using a specification based on the Python format() syntax. ``parse()`` is the opposite of ``format()`` The module is set up to only export ``parse()``, ``search()`` and ``findall()`` when ``import *`` is used: >>> from parse import * From there it's a simple thing to parse a string: >>> parse("It's {}, I love it!", "It's spam, I love it!") <Result ('spam',) {}> >>> _[0] 'spam' Or to search a string for some pattern: >>> search('Age: {:d}\n', 'Name: Rufus\nAge: 42\nColor: red\n') <Result (42,) {}>

Alternatives

    Download

    Source package: python-parse

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-parse deb package:
      # sudo apt-get install python-parse

    Files

    • /usr/lib/python2.7/dist-packages/parse-1.6.6.egg-info
    • /usr/lib/python2.7/dist-packages/parse.py
    • /usr/share/doc/python-parse/changelog.Debian.gz
    • /usr/share/doc/python-parse/copyright

    Changelog

    2016-03-21 - James Page <james.page@ubuntu.com> python-parse (1.6.6-0ubuntu1) xenial; urgency=medium * New upstream point release.

    2013-11-11 - Cyril Bouthors <cyril@bouthors.org> python-parse (1.6.3-1) unstable; urgency=low * Initial release (closes: #726715).

    Advertisement
    Advertisement