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 details)
Built Distribution
File details
Details for the file pysnippets-1.0.1.tar.gz
.
File metadata
- Download URL: pysnippets-1.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e0749b6279ae8ac5e4563193bb90fadb99ce235ed3c5616535f33d8720077d |
|
MD5 | d737426476bc2059a9e9b9f0ff9cce42 |
|
BLAKE2b-256 | bbad4aa6345dc1272a0618cb35fdbe99c4b8a932af07af9474951c77c79d07da |
File details
Details for the file pysnippets-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pysnippets-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a606a54e77a19ca85b9ec847366685d7b37edbb6d55427100f887feda3238b |
|
MD5 | 9541db170bea5659e233d0ed54751b14 |
|
BLAKE2b-256 | d02fcc3ffc3eec7579ecc111e33d939633937b517f266ec38eaa79e3d7f652fe |