Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Two functions performed on lists.

Project Description

——-unnest ——– Given a list of nested lists and/or nested tuples (a complex nested structure of list/tuples that is not known), the unnest function will extract and return single elements only (strings, floats, integers) that were inside these list and/or tuple structures.

——-list2dict ——– Given a list of strings that may or may not be duplicated, the list2dict function outputs a dictionary having keys equal to the unique strings in the list and values equal to the number of times the string is repeated in the list (count).

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
list_operations.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Nov 19, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting