Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.1
2 Name: mechanize
3 Version: 0.4.10
4 Summary: Stateful, programmatic web browsing
5 Home-page: https://github.com/python-mechanize/mechanize
6 Author: Kovid Goyal
7 Author-email: [email protected]
8 License: BSD
9 Platform: any
10 Classifier: Development Status :: 5 - Production/Stable
11 Classifier: Intended Audience :: Developers
12 Classifier: Intended Audience :: System Administrators
13 Classifier: License :: OSI Approved :: BSD License
14 Classifier: Natural Language :: English
15 Classifier: Operating System :: OS Independent
16 Classifier: Programming Language :: Python
17 Classifier: Topic :: Internet
18 Classifier: Topic :: Internet :: File Transfer Protocol (FTP)
19 Classifier: Topic :: Internet :: WWW/HTTP
20 Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
21 Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
22 Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
23 Classifier: Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking
24 Classifier: Topic :: Software Development :: Libraries
25 Classifier: Topic :: Software Development :: Libraries :: Python Modules
26 Classifier: Topic :: Software Development :: Testing
27 Classifier: Topic :: Software Development :: Testing :: Traffic Generation
28 Classifier: Topic :: System :: Archiving :: Mirroring
29 Classifier: Topic :: System :: Networking :: Monitoring
30 Classifier: Topic :: System :: Systems Administration
31 Classifier: Topic :: Text Processing
32 Classifier: Topic :: Text Processing :: Markup
33 Classifier: Topic :: Text Processing :: Markup :: HTML
34 Classifier: Topic :: Text Processing :: Markup :: XML
35 License-File: LICENSE
36 Requires-Dist: html5lib>=0.999999999
37 Provides-Extra: fast
38 Requires-Dist: html5-parser>=0.4.4; extra == "fast"
39 Provides-Extra: test
40 Requires-Dist: twisted; extra == "test"
41 Requires-Dist: service_identity; extra == "test"
42 Requires-Dist: six; extra == "test"
43 Requires-Dist: html5lib; extra == "test"
44 Provides-Extra: binarytest
45 Requires-Dist: lxml; extra == "binarytest"
46 Requires-Dist: html5-parser; extra == "binarytest"
47
48 mechanize - Automate interaction with HTTP web servers
49 ##########################################################
50
51 |pypi| |build|
52
53 .. contents::
54
55
56 Major features
57 -----------------
58
59 Stateful programmatic web browsing in Python
60
61 - The browser class `mechanize.Browser` implements the
62 interface of `urllib2.OpenerDirector`, so any URL can
63 be opened not just `http`.
64
65 - Easy HTML form filling.
66
67 - Convenient link parsing and following.
68
69 - Browser history (`.back()` and `.reload()` methods).
70
71 - The `Referer` HTTP header is added properly (optional).
72
73 - Automatic observance of `robots.txt <http://www.robotstxt.org/wc/norobots.html>`_.
74
75 - Automatic handling of HTTP-Equiv and Refresh.
76
77
78 Installation
79 -----------------
80
81 To install for normal usage:
82
83 .. code-block:: bash
84
85 pip3 install mechanize
86
87 To install for development:
88
89 .. code-block:: bash
90
91 git clone https://github.com/python-mechanize/mechanize.git
92 cd mechanize
93 pip3 install -e .
94
95 To install manually, simply add the `mechanize` sub-directory somewhere on your
96 `PYTHONPATH`.
97
98
99 Documentation
100 ---------------
101
102 See https://mechanize.readthedocs.io/en/latest/
103
104 Credits
105 -----------------
106
107 python-mechanize was the creation of John J. Lee. Maintenance was taken over by
108 Kovid Goyal in 2017.
109
110 Much of the code was originally derived from the work of the following people:
111
112 - Gisle Aas -- [libwww-perl]
113
114 - Jeremy Hylton (and many others) -- [urllib2]
115
116 - Andy Lester -- [WWW::Mechanize]
117
118 - Johnny Lee (coincidentally-named) -- MSIE CookieJar Perl code from which
119 mechanize's support for that is derived.
120
121 Also:
122
123 - Gary Poster and Benji York at Zope Corporation -- contributed significant
124 changes to the HTML forms code
125
126 - Ronald Tschalar -- provided help with Netscape cookies
127
128 Thanks also to the many people who have contributed bug reports and
129 patches.
130
131 .. |pypi| image:: https://img.shields.io/pypi/v/mechanize.svg?label=version
132 :target: https://pypi.python.org/pypi/mechanize
133 :alt: Latest version released on PyPi
134
135 .. |build| image:: https://dev.azure.com/divok/mechanize/_apis/build/status/python-mechanize.mechanize?branchName=master
136 :target: https://dev.azure.com/divok/mechanize/_build/latest?definitionId=3&branchName=master
137 :alt: Build status of the master branch