__init__.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # -*- coding: utf-8 -*-
  2. """
  3. requests-toolbelt
  4. =================
  5. See http://toolbelt.rtfd.org/ for documentation
  6. :copyright: (c) 2014 by Ian Cordasco and Cory Benfield
  7. :license: Apache v2.0, see LICENSE for more details
  8. """
  9. from .adapters import SSLAdapter, SourceAddressAdapter
  10. from .auth.guess import GuessAuth
  11. from .multipart import (
  12. MultipartEncoder, MultipartEncoderMonitor, MultipartDecoder,
  13. ImproperBodyPartContentException, NonMultipartContentTypeException
  14. )
  15. from .streaming_iterator import StreamingIterator
  16. from .utils.user_agent import user_agent
  17. __title__ = 'requests-toolbelt'
  18. __authors__ = 'Ian Cordasco, Cory Benfield'
  19. __license__ = 'Apache v2.0'
  20. __copyright__ = 'Copyright 2014 Ian Cordasco, Cory Benfield'
  21. __version__ = '0.9.1'
  22. __version_info__ = tuple(int(i) for i in __version__.split('.'))
  23. __all__ = [
  24. 'GuessAuth', 'MultipartEncoder', 'MultipartEncoderMonitor',
  25. 'MultipartDecoder', 'SSLAdapter', 'SourceAddressAdapter',
  26. 'StreamingIterator', 'user_agent', 'ImproperBodyPartContentException',
  27. 'NonMultipartContentTypeException', '__title__', '__authors__',
  28. '__license__', '__copyright__', '__version__', '__version_info__',
  29. ]