Pydu Versions Save

Useful data structures and utils for Python.

v0.7.2

4 years ago

v0.7.2 (2019-02-08)

Bug fixes

  • Fix collections ABCs deprecation warning
  • Supports Python 3.8

v0.7.1

5 years ago

v0.7.1 (2018-12-10)

Enhancements

  • Add for request.cookies_str_to_dict
  • Improve command: make init and make docs

v0.7.0

5 years ago

v0.7.0 (2018-05-14)

Enhancements

  • Upgrade to brand new document powerd by docsify
  • Add slot.SlotBase which is the base class for class using __slots__
  • Add compat.izip

v0.6.2

6 years ago

2018-04-30

Enhancements

  • Add exception.default_if_except which excepts given exceptions and return default value as decorator.

v0.6.1

6 years ago

2018-04-23

Enhancements

  • Add dt.timer which can time how long does calling take as a context manager or decorator.

v0.6.0

6 years ago

2018-04-16

Enhancements

  • Add path.filename which return the filename without extension.
  • Add path.fileext which return the file extension.
  • Update stub for requests.check_connect.

v0.5.2

6 years ago

2018-04-04

Enhancements

  • Add system.preferredencoding which gets best encoding for the system.
  • Add request.update_query_params which update query params of given url and return new url.
  • Update stub for requests.check_connect.

v0.5.1

6 years ago

2018-03-19

Enhancements

  • Improve system.remove when path is read-only.
  • Add path.normjoin which join one or more path components intelligently and normalize it.
  • Improve environ.environ with supporting variable_name=None which means removing the variable from environment temporarily.

v0.5.0

6 years ago

2018-03-08

Enhancements

  • Add network.private_ipv4s which stores private IPV4 addresses.
  • Add functional.compose which composes all functions into one.
  • Add TYPE HINT for ALL MODULES by supplying STUB FILES!

Bug fixes

  • Fix reduce error on Python 3.

v0.4.2

6 years ago

2018-2-5

Enhancements

  • Add socket.inet_pton and socket.inetntop for Windows if we import pydu.network.
  • Add network.ip2int and network.int2ip which convert ip to integer or integer to ip.
  • Add process.get_processes_by_path for getting processes which are running on given path or sub path of given path.
  • Add first, last, all, any and join to pydu.iter, which support many operations on iterable object.

Bug fixes

  • Fix several convert functions return values with unnecessary value 'L' when given big number on Python 2.