Useful data structures and utils for Python.
v0.7.2 (2019-02-08)
Bug fixes
v0.7.1 (2018-12-10)
Enhancements
request.cookies_str_to_dict
make init
and make docs
v0.7.0 (2018-05-14)
Enhancements
__slots__
2018-04-30
Enhancements
exception.default_if_except
which excepts given exceptions and return default value as decorator.2018-04-23
Enhancements
dt.timer
which can time how long does calling take as a context manager or decorator.2018-04-16
Enhancements
path.filename
which return the filename without extension.path.fileext
which return the file extension.requests.check_connect
.2018-04-04
Enhancements
system.preferredencoding
which gets best encoding for the system.request.update_query_params
which update query params of given url and return new url.requests.check_connect
.2018-03-19
Enhancements
system.remove
when path is read-only.path.normjoin
which join one or more path components intelligently and normalize it.environ.environ
with supporting variable_name=None which means removing the variable from environment temporarily.2018-03-08
Enhancements
network.private_ipv4s
which stores private IPV4 addresses.functional.compose
which composes all functions into one.TYPE HINT
for ALL MODULES by supplying STUB FILES!Bug fixes
2018-2-5
Enhancements
socket.inet_pton
and socket.inetntop
for Windows if we import pydu.network
.network.ip2int
and network.int2ip
which convert ip to integer or integer to ip.process.get_processes_by_path
for getting processes which are running on given path or sub path of given path.first
, last
, all
, any
and join
to pydu.iter
, which support many operations on iterable object.Bug fixes