python-parse_1.6.6-0ubuntu1_all.deb


Advertisement

Description

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

Property Value
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

Package Version Architecture Repository
python-parse_1.6.6-0ubuntu1_all.deb 1.6.6 all Ubuntu Universe
python-parse - - -

Requires

Name Value
python << 2.8
python >= 2.7

Download

Type URL
Binary Package python-parse_1.6.6-0ubuntu1_all.deb
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

Path
/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).

See Also

Package Description
python-parsley_1.2-1_all.deb pattern-matching language based on OMeta and Python
python-parted_3.10.7-2build1_amd64.deb Python interface for libparted
python-passfd_0.2-2_amd64.deb Python functions to pass file descriptors across UNIX domain
python-pastewebkit_1.0-7build1_all.deb port/reimplementation of Webware WebKit in WSGI and Paste
python-path_8.1.2+dfsg-1_all.deb module wrapper for os.path for Python 2
python-pathspec_0.3.4-0ubuntu1_all.deb Utility library for gitignore style pattern matching of file paths
python-pathtools_0.1.2-2_all.deb Path utilities for Python - Python 2.x
python-patsy-doc_0.4.1-2_all.deb documentation and examples for patsy
python-patsy_0.4.1-2_all.deb statistical models in Python using symbolic formulas
python-paver_1.2.1-1.1_all.deb Easy build, distribution and deployment scripting in Python
python-pbalign_0.2.0-1_all.deb map Pacific Biosciences reads to reference DNA sequences (Python2)
python-pbcommand_0.2.17-1_all.deb common command-line interface for Pacific Biosciences analysis modules
python-pbconsensuscore_1.0.1-1build1_amd64.deb algorithms for Pacific Biosciences multiple sequence consensus
python-pbcore-doc_1.2.7+dfsg-1_all.deb Python library for processing PacBio data files (documentation)
python-pbcore_1.2.7+dfsg-1_all.deb Python library for processing PacBio data files
Advertisement
Advertisement