Hi everyone :)
I wanted to share with you the work I have done for the past few days.
It is the first time for me to make my code public, so I would really
appreciate if some of you find time to give me feedbacks and tips
regarding this project :)
So, here is Scalpl !
https://github.com/ducd
Hi Beppe !
There are some powerful tools in the standard *itertools* module, you
should have a look at it :)
https://docs.python.org/3/library/itertools.html
This is what I would do to cycle over you iterable without making
several copies of it.
```
from itertools import islice, chain
def
@Gregory Ewing: you were right, your version without *chain* is faster
and I quiet like it :)
```
from timeit import timeit
from itertools import chain, cycle, islice
def cycle_once_with_chain(sequence, start):
return chain(islice(sequence, start, None), islice(sequence,
start))
def cy
Good morning evernyone !
I released a new version (0.2.4) of Scalpl yesterday evening which is
available on PyPI :)
https://github.com/ducdetronquito/scalpl
https://pypi.python.org/pypi/scalpl/
Scalpl is a lightweight wrapper that helps you to operate on nested
dictionaries through the built-
Hi everyone !
I released a new version (0.2.5) of **Scalpl** which is available on
PyPI :)
https://github.com/ducdetronquito/scalpl
You can install it via pip:
pip3 install scalpl
Scalpl is a lightweight wrapper that helps you to operate on nested
dictionaries through the built-in dict