Data structures improved built-in containers.
import enhancedcontainers as ec
stack = ec.Stack()
stack.push('World!')
stack.push('Hello')
print(stack.pop())
print(stack.pop())
# Output:
Hello
World!
import enhancedcontainers as ec
queue = ec.Queue()
queue.enqueue('Hello')
queue.enqueue('World!')
print(queue.dequeue())
print(queue.dequeue())
# Output:
Hello
World!
import enhancedcontainers as ec
elist = ec.EnhancedList()
print(elist.append('Hello'))
print(elist.append('World!'))
# Output:
Hello
World!
import enhancedcontainers as ec
edict = ec.EnhancedDict()
edict.hello = "Hello"
edict.world = "World!"
print(edict.hello)
print(edict.world)
# Output:
Hello
World!
git clone https://github.com/sh-wayz/enhancedcontainers.git
python3 setup.py build install
python3 -m pip install enhancedcontainers
- Fork the repository
- Make your changes
- Submit a pull request