This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
=================================================
test_list_cst is test list with embedded lists
=================================================
list2outline will format the contents of a list
(with or w/o embedded lists) to an outline.

USEAGE:
list2outline(your_list, wiki_style, root_level)

WHERE:
your_list is a list
EG: my_list = ['one', 'two', ['eh', 'bee',
['eye', 'aye-aye', 'aiyayai']], 'see']
wiki_style is:
'doku' (dokuwiki) (default)
'lion' (lionwiki)
'lionhead' (lionwiki headers)
'I' (traditional outline style) (set root_level
to 0 for best results)
anything else (tab-indented)
root_level is beginning level (default 1)

EG:
>>> scos.testlist()
Here is a list you can copy and paste:
['gta', ['locations', ['gi', ['subnets', ['10.10.1.0/24', ['.1 router', '.222 avaya']]], 'rc', 'bh']], 'ppl', ['locations', ['gi', 'sterling', 'jerome']]]


>>> cst = ['gta', ['locations', ['gi', ['subnets',
['10.10.1.0/24', ['.1 router', '.222 avaya']]],
'rc', 'bh']], 'ppl', ['locations', ['gi',
'sterling', 'jerome']]]


>>> scos.list2outline(cst)
* gta
* locations
* gi
* subnets
* 10.10.1.0/24
* .1 router
* .222 avaya
* rc
* bh
* ppl
* locations
* gi
* sterling
* jerome


>>> scos.list2outline(cst, 'lion')
* gta
** locations
*** gi
**** subnets
***** 10.10.1.0/24
****** .1 router
****** .222 avaya
*** rc
*** bh
* ppl
** locations
*** gi
*** sterling
*** jerome


>>> scos.list2outline(cst, 'lionhead')
! gta
!! locations
!!! gi
!!!! subnets
!!!!! 10.10.1.0/24
!!!!!! .1 router
!!!!!! .222 avaya
!!! rc
!!! bh
! ppl
!! locations
!!! gi
!!! sterling
!!! jerome


>>> scos.list2outline(cst, 'I', 0)
I. gta
A. locations
i. gi
1. subnets
a. 10.10.1.0/24
aa. .1 router
bb. .222 avaya
ii. rc
iii. bh
II. ppl
A. locations
i. gi
ii. sterling
iii. jerome


>>> scos.list2outline(cst, 'x')
gta
locations
gi
subnets
10.10.1.0/24
.1 router
.222 avaya
rc
bh
ppl
locations
gi
sterling
jerome


=================================================
Release History

Release History

150208.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

150207.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

150207.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

150207.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

150207.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

150207.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

150206.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scos-150208.3.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Feb 8, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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