Metadata-Version: 2.1
Name: yodalist
Version: 0.1.22
Summary: For lists, yoda-indexing this package provides.
Home-page: https://gitlab.com/lynnpepin/yodalist
Author: lynn pepin
Author-email: 1914373-lynnpepin@users.noreply.gitlab.com
License: UNKNOWN
Project-URL: Bug Tracker, https://gitlab.com/lynnpepin/yodalist/-/issues
Platform: UNKNOWN
Classifier: Intended Audience :: Other Audience
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# yodalist pre-release

Yoda-indexed lists in Python.

Yoda-indexing follows this pattern: 0, 4, 5, 6, 1, 2, 3, 7, 8, 9, etc. Inspired by the ordering used in the 

## TODOS:

```
0. Stress the importance of zero-indexing: We're not savages here.
4. Add functionality tests
5. Add RaisesError tests
6. Package to a wheel, etc. 
1. Add to pip, conda, other package managers.
2. Add install instructions
3. Add something else snarky here
7. Post to HackerNews or ProgrammerHumor or something, because this is how career-building works in 2022
```

## Install

There are three ways to use this package:

1. Simply copy-and-paste the `src/yodalist.py` file to your project.

2. (todo) Install via PIP

3. (todo) Build and install on your own.

## Usage

```
>>> from yodalist import yodalist
>>> mylist = yodalist(['hello', 'world', 'i', 'am', 'a', 'yoda', 'list', '!!!'])
>>> for ii in range(len(mylist)):
...     print(ii, mylist[ii])
... 
0 hello
1 a
2 yoda
3 list
4 world
5 i
6 am
7 !!!
```


