Python Snippets
Project description
Python Snippets
Installation
pip install pysnippets
Usage
Python 2.7.5 (default, Mar 9 2014, 22:15:05) Type "copyright", "credits" or "license" for more information. IPython 2.2.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import pysnippets.dictsnippets as dsnippets In [2]: dsnippets.filter({'a': 1, 'b': 2, 'c': 3}, ['c', 'd:4']) Out[2]: {'c': 3, 'd': 4} In [3]: dsnippets.filter({'a': 1, 'b': 2, 'c': 3}, ['c', 'd:4'], exec_eval=False) Out[3]: {'c': 3, 'd': '4'} In [4]:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysnippets-1.0.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for pysnippets-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a606a54e77a19ca85b9ec847366685d7b37edbb6d55427100f887feda3238b |
|
MD5 | 9541db170bea5659e233d0ed54751b14 |
|
BLAKE2b-256 | d02fcc3ffc3eec7579ecc111e33d939633937b517f266ec38eaa79e3d7f652fe |