python-parse_1.6.6-0.1_all.deb


Advertisement

Description

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

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe i386
Package filename python-parse_1.6.6-0.1_all.deb
Package name python-parse
Package version 1.6.6
Package release 0.1
Package architecture all
Package type deb
Category universe/python
Homepage https://github.com/r1chardj0n3s/parse
License -
Maintainer Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Download size 14.45 KB
Installed size 69.00 KB
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,) {}>
This is the Python 2 package

Alternatives

Package Version Architecture Repository
python-parse_1.6.6-0.1_all.deb 1.6.6 all Ubuntu Universe
python-parse - - -

Requires

Name Value
python:any >= 2.7.5-5~
python:any << 2.8

Download

Type URL
Mirror archive.ubuntu.com
Binary Package python-parse_1.6.6-0.1_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

2017-01-12 - Daniel Manila <dmv@springwater7.org>
python-parse (1.6.6-0.1) unstable; urgency=low
* Non-maintainer upload.
* Adds python3 support (closes: #849937).
[ Gianfranco Costamagna ]
* New upstream release.
* Bump compat level to 10
* Bump std-version to 3.9.8
* Add homepage field
* Add watch file
* Add upstream signing key
* Convert copyright file in dep-5 format
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-parsel_1.4.0-1_all.deb Python 2 library to extract HTML/XML data using XPath/CSS selectors
python-parsley_1.2-1_all.deb pattern-matching language based on OMeta and Python
python-parso-doc_0.1.1-1_all.deb documentation for the parso Python library
python-parso_0.1.1-1_all.deb Python parser that supports error recovery
python-parted_3.11.1-1ubuntu2_i386.deb Python interface for libparted
python-passfd_0.2-3_i386.deb Python functions to pass file descriptors across UNIX domain
python-pastewebkit_1.0-8_all.deb port/reimplementation of Webware WebKit in WSGI and Paste
python-path-and-address_2.0.1-1_all.deb Functions for server CLI applications used by humans (Python 2)
python-path_11.0.1-1_all.deb module wrapper for os.path for Python 2
python-pathlib2_2.3.0-1_all.deb Backport of the "pathlib" stdlib module (Python 2)
python-pathtools_0.1.2-2_all.deb Path utilities for Python - Python 2.x
python-patsy-doc_0.4.1+git34-ga5b54c2-1_all.deb documentation and examples for patsy
python-patsy_0.4.1+git34-ga5b54c2-1_all.deb statistical models in Python using symbolic formulas
python-pattern_2.6+git20150109-2_all.deb web mining module for Python
python-paver_1.2.1-1.1_all.deb Easy build, distribution and deployment scripting in Python
Advertisement
Advertisement