aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
Diffstat (limited to 'netlib')
-rw-r--r--netlib/README.rst35
-rw-r--r--netlib/__init__.py (renamed from netlib/netlib/__init__.py)0
-rw-r--r--netlib/certutils.py (renamed from netlib/netlib/certutils.py)0
-rw-r--r--netlib/encoding.py (renamed from netlib/netlib/encoding.py)0
-rw-r--r--netlib/exceptions.py (renamed from netlib/netlib/exceptions.py)0
-rw-r--r--netlib/http/__init__.py (renamed from netlib/netlib/http/__init__.py)0
-rw-r--r--netlib/http/authentication.py (renamed from netlib/netlib/http/authentication.py)0
-rw-r--r--netlib/http/cookies.py (renamed from netlib/netlib/http/cookies.py)0
-rw-r--r--netlib/http/headers.py (renamed from netlib/netlib/http/headers.py)0
-rw-r--r--netlib/http/http1/__init__.py (renamed from netlib/netlib/http/http1/__init__.py)0
-rw-r--r--netlib/http/http1/assemble.py (renamed from netlib/netlib/http/http1/assemble.py)0
-rw-r--r--netlib/http/http1/read.py (renamed from netlib/netlib/http/http1/read.py)0
-rw-r--r--netlib/http/http2/__init__.py (renamed from netlib/netlib/http/http2/__init__.py)0
-rw-r--r--netlib/http/http2/connections.py (renamed from netlib/netlib/http/http2/connections.py)0
-rw-r--r--netlib/http/message.py (renamed from netlib/netlib/http/message.py)0
-rw-r--r--netlib/http/request.py (renamed from netlib/netlib/http/request.py)0
-rw-r--r--netlib/http/response.py (renamed from netlib/netlib/http/response.py)0
-rw-r--r--netlib/http/status_codes.py (renamed from netlib/netlib/http/status_codes.py)0
-rw-r--r--netlib/http/user_agents.py (renamed from netlib/netlib/http/user_agents.py)0
-rw-r--r--netlib/odict.py (renamed from netlib/netlib/odict.py)0
-rw-r--r--netlib/setup.cfg2
-rw-r--r--netlib/setup.py70
-rw-r--r--netlib/socks.py (renamed from netlib/netlib/socks.py)0
-rw-r--r--netlib/tcp.py (renamed from netlib/netlib/tcp.py)0
-rw-r--r--netlib/tutils.py (renamed from netlib/netlib/tutils.py)0
-rw-r--r--netlib/utils.py (renamed from netlib/netlib/utils.py)0
-rw-r--r--netlib/version.py (renamed from netlib/netlib/version.py)0
-rw-r--r--netlib/version_check.py (renamed from netlib/netlib/version_check.py)0
-rw-r--r--netlib/websockets/__init__.py (renamed from netlib/netlib/websockets/__init__.py)0
-rw-r--r--netlib/websockets/frame.py (renamed from netlib/netlib/websockets/frame.py)0
-rw-r--r--netlib/websockets/protocol.py (renamed from netlib/netlib/websockets/protocol.py)0
-rw-r--r--netlib/wsgi.py (renamed from netlib/netlib/wsgi.py)0
32 files changed, 0 insertions, 107 deletions
diff --git a/netlib/README.rst b/netlib/README.rst
deleted file mode 100644
index 16bd65a7..00000000
--- a/netlib/README.rst
+++ /dev/null
@@ -1,35 +0,0 @@
-|travis| |coveralls| |downloads| |latest_release| |python_versions|
-
-Netlib is a collection of network utility classes, used by the pathod and
-mitmproxy projects. It differs from other projects in some fundamental
-respects, because both pathod and mitmproxy often need to violate standards.
-This means that protocols are implemented as small, well-contained and flexible
-functions, and are designed to allow misbehaviour when needed.
-
-
-Development
------------
-
-If you'd like to work on netlib, check out the instructions in mitmproxy's README_.
-
-.. |travis| image:: https://shields.mitmproxy.org/travis/mitmproxy/netlib/master.svg
- :target: https://travis-ci.org/mitmproxy/netlib
- :alt: Build Status
-
-.. |coveralls| image:: https://shields.mitmproxy.org/coveralls/mitmproxy/netlib/master.svg
- :target: https://coveralls.io/r/mitmproxy/netlib
- :alt: Coverage Status
-
-.. |downloads| image:: https://shields.mitmproxy.org/pypi/dm/netlib.svg?color=orange
- :target: https://pypi.python.org/pypi/netlib
- :alt: Downloads
-
-.. |latest_release| image:: https://shields.mitmproxy.org/pypi/v/netlib.svg
- :target: https://pypi.python.org/pypi/netlib
- :alt: Latest Version
-
-.. |python_versions| image:: https://shields.mitmproxy.org/pypi/pyversions/netlib.svg
- :target: https://pypi.python.org/pypi/netlib
- :alt: Supported Python versions
-
-.. _README: https://github.com/mitmproxy/mitmproxy#hacking \ No newline at end of file
diff --git a/netlib/netlib/__init__.py b/netlib/__init__.py
index 9b4faa33..9b4faa33 100644
--- a/netlib/netlib/__init__.py
+++ b/netlib/__init__.py
diff --git a/netlib/netlib/certutils.py b/netlib/certutils.py
index 616a778e..616a778e 100644
--- a/netlib/netlib/certutils.py
+++ b/netlib/certutils.py
diff --git a/netlib/netlib/encoding.py b/netlib/encoding.py
index 14479e00..14479e00 100644
--- a/netlib/netlib/encoding.py
+++ b/netlib/encoding.py
diff --git a/netlib/netlib/exceptions.py b/netlib/exceptions.py
index 05f1054b..05f1054b 100644
--- a/netlib/netlib/exceptions.py
+++ b/netlib/exceptions.py
diff --git a/netlib/netlib/http/__init__.py b/netlib/http/__init__.py
index fd632cd5..fd632cd5 100644
--- a/netlib/netlib/http/__init__.py
+++ b/netlib/http/__init__.py
diff --git a/netlib/netlib/http/authentication.py b/netlib/http/authentication.py
index d769abe5..d769abe5 100644
--- a/netlib/netlib/http/authentication.py
+++ b/netlib/http/authentication.py
diff --git a/netlib/netlib/http/cookies.py b/netlib/http/cookies.py
index 18544b5e..18544b5e 100644
--- a/netlib/netlib/http/cookies.py
+++ b/netlib/http/cookies.py
diff --git a/netlib/netlib/http/headers.py b/netlib/http/headers.py
index 78404796..78404796 100644
--- a/netlib/netlib/http/headers.py
+++ b/netlib/http/headers.py
diff --git a/netlib/netlib/http/http1/__init__.py b/netlib/http/http1/__init__.py
index 2aa7e26a..2aa7e26a 100644
--- a/netlib/netlib/http/http1/__init__.py
+++ b/netlib/http/http1/__init__.py
diff --git a/netlib/netlib/http/http1/assemble.py b/netlib/http/http1/assemble.py
index 785ee8d3..785ee8d3 100644
--- a/netlib/netlib/http/http1/assemble.py
+++ b/netlib/http/http1/assemble.py
diff --git a/netlib/netlib/http/http1/read.py b/netlib/http/http1/read.py
index 6e3a1b93..6e3a1b93 100644
--- a/netlib/netlib/http/http1/read.py
+++ b/netlib/http/http1/read.py
diff --git a/netlib/netlib/http/http2/__init__.py b/netlib/http/http2/__init__.py
index 7043d36f..7043d36f 100644
--- a/netlib/netlib/http/http2/__init__.py
+++ b/netlib/http/http2/__init__.py
diff --git a/netlib/netlib/http/http2/connections.py b/netlib/http/http2/connections.py
index 52fa7193..52fa7193 100644
--- a/netlib/netlib/http/http2/connections.py
+++ b/netlib/http/http2/connections.py
diff --git a/netlib/netlib/http/message.py b/netlib/http/message.py
index e3d8ce37..e3d8ce37 100644
--- a/netlib/netlib/http/message.py
+++ b/netlib/http/message.py
diff --git a/netlib/netlib/http/request.py b/netlib/http/request.py
index b9076c0f..b9076c0f 100644
--- a/netlib/netlib/http/request.py
+++ b/netlib/http/request.py
diff --git a/netlib/netlib/http/response.py b/netlib/http/response.py
index 8f4d6215..8f4d6215 100644
--- a/netlib/netlib/http/response.py
+++ b/netlib/http/response.py
diff --git a/netlib/netlib/http/status_codes.py b/netlib/http/status_codes.py
index 8a4dc1f5..8a4dc1f5 100644
--- a/netlib/netlib/http/status_codes.py
+++ b/netlib/http/status_codes.py
diff --git a/netlib/netlib/http/user_agents.py b/netlib/http/user_agents.py
index e8681908..e8681908 100644
--- a/netlib/netlib/http/user_agents.py
+++ b/netlib/http/user_agents.py
diff --git a/netlib/netlib/odict.py b/netlib/odict.py
index 1e6e381a..1e6e381a 100644
--- a/netlib/netlib/odict.py
+++ b/netlib/odict.py
diff --git a/netlib/setup.cfg b/netlib/setup.cfg
deleted file mode 100644
index 3480374b..00000000
--- a/netlib/setup.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-[bdist_wheel]
-universal=1 \ No newline at end of file
diff --git a/netlib/setup.py b/netlib/setup.py
deleted file mode 100644
index 0c9a721d..00000000
--- a/netlib/setup.py
+++ /dev/null
@@ -1,70 +0,0 @@
-from setuptools import setup, find_packages
-from codecs import open
-import os
-import sys
-
-from netlib import version
-
-# Based on https://github.com/pypa/sampleproject/blob/master/setup.py
-# and https://python-packaging-user-guide.readthedocs.org/
-# and https://caremad.io/2014/11/distributing-a-cffi-project/
-
-here = os.path.abspath(os.path.dirname(__file__))
-
-with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
- long_description = f.read()
-
-setup(
- name="netlib",
- version=version.VERSION,
- description="A collection of network utilities used by pathod and mitmproxy.",
- long_description=long_description,
- url="http://github.com/mitmproxy/netlib",
- author="Aldo Cortesi",
- author_email="aldo@corte.si",
- license="MIT",
- classifiers=[
- "License :: OSI Approved :: MIT License",
- "Development Status :: 3 - Alpha",
- "Operating System :: POSIX",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.5",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Topic :: Internet",
- "Topic :: Internet :: WWW/HTTP",
- "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
- "Topic :: Software Development :: Testing",
- "Topic :: Software Development :: Testing :: Traffic Generation",
- ],
- packages=find_packages(),
- install_requires=[
- "pyasn1>=0.1.9, <0.2",
- "pyOpenSSL>=0.15.1, <0.16",
- "cryptography>=1.2.2, <1.3",
- "passlib>=1.6.5, <1.7",
- "hpack>=2.1.0, <3.0",
- "hyperframe>=3.2.0, <4.0",
- "six>=1.10.0, <1.11",
- "certifi>=2015.11.20.1", # no semver here - this should always be on the last release!
- "backports.ssl_match_hostname>=3.5.0.1, <3.6",
- ],
- extras_require={
- # Do not use a range operator here: https://bitbucket.org/pypa/setuptools/issues/380
- # Ubuntu Trusty and other still ship with setuptools < 17.1
- ':python_version == "2.7"': [
- "ipaddress>=1.0.15, <1.1",
- ],
- 'dev': [
- "mock>=1.3.0, <1.4",
- "pytest>=2.8.7, <2.9",
- "pytest-xdist>=1.14, <1.15",
- "pytest-cov>=2.2.1, <2.3",
- "pytest-timeout>=1.0.0, <1.1",
- "coveralls>=1.1, <1.2"
- ]
- },
-)
diff --git a/netlib/netlib/socks.py b/netlib/socks.py
index 51ad1c63..51ad1c63 100644
--- a/netlib/netlib/socks.py
+++ b/netlib/socks.py
diff --git a/netlib/netlib/tcp.py b/netlib/tcp.py
index 61b41cdc..61b41cdc 100644
--- a/netlib/netlib/tcp.py
+++ b/netlib/tcp.py
diff --git a/netlib/netlib/tutils.py b/netlib/tutils.py
index f6ce8e0a..f6ce8e0a 100644
--- a/netlib/netlib/tutils.py
+++ b/netlib/tutils.py
diff --git a/netlib/netlib/utils.py b/netlib/utils.py
index f7bb5c4b..f7bb5c4b 100644
--- a/netlib/netlib/utils.py
+++ b/netlib/utils.py
diff --git a/netlib/netlib/version.py b/netlib/version.py
index 379fee0f..379fee0f 100644
--- a/netlib/netlib/version.py
+++ b/netlib/version.py
diff --git a/netlib/netlib/version_check.py b/netlib/version_check.py
index 9cf27eea..9cf27eea 100644
--- a/netlib/netlib/version_check.py
+++ b/netlib/version_check.py
diff --git a/netlib/netlib/websockets/__init__.py b/netlib/websockets/__init__.py
index 1c143919..1c143919 100644
--- a/netlib/netlib/websockets/__init__.py
+++ b/netlib/websockets/__init__.py
diff --git a/netlib/netlib/websockets/frame.py b/netlib/websockets/frame.py
index fce2c9d3..fce2c9d3 100644
--- a/netlib/netlib/websockets/frame.py
+++ b/netlib/websockets/frame.py
diff --git a/netlib/netlib/websockets/protocol.py b/netlib/websockets/protocol.py
index 1e95fa1c..1e95fa1c 100644
--- a/netlib/netlib/websockets/protocol.py
+++ b/netlib/websockets/protocol.py
diff --git a/netlib/netlib/wsgi.py b/netlib/wsgi.py
index d6dfae5d..d6dfae5d 100644
--- a/netlib/netlib/wsgi.py
+++ b/netlib/wsgi.py