circulartape-0.0.3
توضیحات
A circular linked list implementation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | circulartape-0.0.3 |
| نام | circulartape |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tris Emmy Wilson |
| ایمیل نویسنده | anemptystring@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/circulartape/ |
| مجوز | - |
# circulartape
It's a node-oriented circular linked list implementation.
Source: [phab.tris.fyi](https://phab.tris.fyi/source/circulartape/).
## Example
from circulartape import Tape
one = Tape("one") # one.to_list() == ["one"]
two = one.insert("two") # one.to_list() == ["one", "two"]
three = two.insert("three") # one.to_list() == ["one", "two", "three"]
two.remove() # one.to_list() == ["one", "three"]
# You can build a long list and seek through it n nodes at a time:
one = Tape(1)
current = one
for i in range(2, 100):
current = current.insert(i)
one.seek(30).data # => 31
# Use negative values to seek backwards.
نحوه نصب
نصب پکیج whl circulartape-0.0.3:
pip install circulartape-0.0.3.whl
نصب پکیج tar.gz circulartape-0.0.3:
pip install circulartape-0.0.3.tar.gz