Recommend Pip, remove todo/philo docs, pare down support avenues
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Seth Michael Larson · committed by Nate Prewitt · parent 0830062 · Browse files · 8 files·+8 added−203 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
8 files+8 added−203 removed
- other:+8 added−203 removed
Provenance
- Commit
551a0bf- Tree
f2410d8- Author
Seth Michael Larson <sethmichaellarson@gmail.com>- Committer
Nate Prewitt <nate.prewitt@gmail.com>- Parent
0830062
8 files changed+8 added−203 removed
modified:docs/community/support.rst-30 removed
11 unmodified lines12 information or can be properly anonymized, please ask a question on13 `Stack Overflow <https://stackoverflow.com/questions/tagged/python-requests>`_14 and use the tag ``python-requests``.15 16-Send a Tweet17-------------16 19-If your question is less than 280 characters, feel free to send a tweet to20-`@kennethreitz <https://twitter.com/kennethreitz>`_,21-`@sigmavirus24 <https://twitter.com/sigmavirus24>`_,22-`@lukasaoz <https://twitter.com/lukasaoz>`_, or23-`@nateprewitt <https://twitter.com/nateprewitt>`_.24-17 File an Issue18 -------------19 20 If you notice some unexpected behaviour in Requests, or want to see support21 for a new feature,22 `file an issue on GitHub <https://github.com/psf/requests/issues>`_.31-32-33-E-mail34-------35-36-I'm more than happy to answer any personal or in-depth questions about37-Requests. Feel free to email38-`requests@kennethreitz.com <mailto:requests@kennethreitz.com>`_.39-40-41-IRC42----43-44-The official Freenode channel for Requests is45-`#python-requests <irc://irc.freenode.net/python-requests>`_46-47-The core developers of requests are on IRC throughout the day.48-You can find them in ``#python-requests`` as:49-50-- kennethreitz51-- lukasa52-- sigmavirus24modified:docs/dev/contributing.rst+3 added-9 removed
9 unmodified lines10 11 This document lays out guidelines and advice for contributing to this project.12 If you're thinking of contributing, please start by reading this document and13 getting a feel for how contributing to this project works. If you have any14-questions, feel free to reach out to either `Ian Cordasco`_, `Cory Benfield`_,15-or `Nate Prewitt`_, the primary maintainers.14+questions, feel free to reach out to either `Nate Prewitt`_, `Ian Cordasco`_,15+or `Seth Michael Larson`_, the primary maintainers.16 17 .. _Ian Cordasco: http://www.coglib.com/~icordasc/18-.. _Cory Benfield: https://lukasa.co.uk/about18 .. _Nate Prewitt: https://www.nateprewitt.com/19+.. _Seth Michael Larson: https://sethmlarson.dev/20 21-If you have non-technical feedback, philosophical ponderings, crazy ideas, or22-other general thoughts about Requests or its position within the Python23-ecosystem, the BDFL, `Kenneth Reitz`_, would love to hear from you.24-21 The guide is split into sections based on the type of contribution you're22 thinking of making, with a section that covers general guidelines for all23 contributors.24 29-.. _Kenneth Reitz: mailto:me@kennethreitz.org30-25 Be Cordial26 ----------27 28 **Be cordial or be on your way**. *—Kenneth Reitz*180 unmodified linesdeleted:docs/dev/philosophy.rst-45 removed
1-Development Philosophy2-======================3-4-Requests is an open but opinionated library, created by an open but opinionated developer.5-6-7-Management Style8-~~~~~~~~~~~~~~~~9-10-`Kenneth Reitz <https://www.kennethreitz.org/>`_ is the BDFL. He has final say in any decision related to the Requests project. Kenneth is responsible for the direction and form of the library, as well as its presentation. In addition to making decisions based on technical merit, he is responsible for making decisions based on the development philosophy of Requests.11-12-`Ian Cordasco <http://www.coglib.com/~icordasc/>`_, `Cory Benfield <https://lukasa.co.uk/about/>`_, and `Nate Prewitt <https://www.nateprewitt.com/>`_ are the core contributors. They are responsible for triaging bug reports, reviewing pull requests and ensuring that Kenneth is kept up to speed with developments around the library. The day-to-day managing of the project is done by the core contributors. They are responsible for making judgements about whether or not a feature request is likely to be accepted by Kenneth. Their word is, in some ways, more final than Kenneth's.13-14-Values15-~~~~~~16-17-- Simplicity is always better than functionality.18-- Listen to everyone, then disregard it.19-- The API is all that matters. Everything else is secondary.20-- Fit the 90% use-case. Ignore the nay-sayers.21-22-Semantic Versioning23-~~~~~~~~~~~~~~~~~~~24-25-For many years, the open source community has been plagued with version number dystonia. Numbers vary so greatly from project to project, they are practically meaningless.26-27-Requests uses `Semantic Versioning <https://semver.org/>`_. This specification seeks to put an end to this madness with a small set of practical guidelines for you and your colleagues to use in your next project.28-29-Standard Library?30-~~~~~~~~~~~~~~~~~31-32-Requests has no *active* plans to be included in the standard library. This decision has been discussed at length with Guido as well as numerous core developers.33-34-.. raw:: html35-36- <script async class="speakerdeck-embed" data-id="68f22f0841734d848315c618111b13ea" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script>37-38-Essentially, the standard library is where a library goes to die. It is appropriate for a module to be included when active development is no longer necessary.39-40-Linux Distro Packages41-~~~~~~~~~~~~~~~~~~~~~42-43-Distributions have been made for many Linux repositories, including: Ubuntu, Debian, RHEL, and Arch.44-45-These distributions are sometimes divergent forks, or are otherwise not kept up-to-date with the latest code and bugfixes. PyPI (and its mirrors) and GitHub are the official distribution sources; alternatives are not supported by the Requests project.deleted:docs/dev/todo.rst-62 removed
1-How to Help2-===========3-4-Requests is under active development, and contributions are more than welcome!5-6-#. Check for open issues or open a fresh issue to start a discussion around a bug.7- There is a Contributor Friendly tag for issues that should be ideal for people who are not very8- familiar with the codebase yet.9-#. Fork `the repository <https://github.com/psf/requests>`_ on GitHub and start making your10- changes to a new branch.11-#. Write a test which shows that the bug was fixed.12-#. Send a pull request and bug the maintainer until it gets merged and published. :)13- Make sure to add yourself to `AUTHORS <https://github.com/psf/requests/blob/master/AUTHORS.rst>`_.14-15-Feature Freeze16---------------17-18-As of v1.0.0, Requests has now entered a feature freeze. Requests for new19-features and Pull Requests implementing those features will not be accepted.20-21-Development Dependencies22-------------------------23-24-You'll need to install py.test in order to run the Requests' test suite::25-26- $ venv .venv27- $ source .venv/bin/activate28-29- $ make30- $ python setup.py test31- ============================= test session starts ==============================32- platform darwin -- Python 3.4.4, pytest-3.0.6, py-1.4.32, pluggy-0.4.033- ...34- collected 445 items35-36- tests/test_hooks.py ...37- tests/test_lowlevel.py ............38- tests/test_requests.py ...........................................................39- tests/test_structures.py ....................40- tests/test_testserver.py ...........41- tests/test_utils.py ..s...........................................................42-43- ============== 442 passed, 1 skipped, 2 xpassed in 46.48 seconds ===============44-45-You can also run ``$ make tests`` to run against all supported Python versions, using tox/detox.46-47-Runtime Environments48---------------------49-50-Requests currently supports the following versions of Python:51-52-- Python 2.753-- Python 3.454-- Python 3.555-- Python 3.656-- Python 3.757-- PyPy58-59-Google App Engine is not officially supported although support is available60-with the `Requests-Toolbelt`_.61-62-.. _Requests-Toolbelt: https://toolbelt.readthedocs.io/modified:docs/user/advanced.rst+1 added-1 removed
626 unmodified lines627 You can get the dependencies for this feature from ``pip``:628 629 .. code-block:: bash630 631- $ pip install requests[socks]631+ $ python -m pip install requests[socks]632 633 Once you've installed those dependencies, using a SOCKS proxy is just as easy634 as using a HTTP one::635 402 unmodified linesmodified:docs/user/install.rst+4 added-8 removed
5 unmodified lines6 This part of the documentation covers the installation of Requests.7 The first step to using any software package is getting it properly installed.8 9 10-$ pipenv install requests11--------------------------10+$ python -m pip install requests11+--------------------------------12 13 To install Requests, simply run this simple command in your terminal of choice::14 15- $ pipenv install requests15+ $ python -m pip install requests16 17-If you don't have `pipenv <https://pipenv.kennethreitz.org>`_ installed (tisk tisk!), head over to the Pipenv website for installation instructions. Or, if you prefer to just use pip and don't have it installed,18-`this Python installation guide <https://docs.python-guide.org/starting/installation/>`_19-can guide you through the process.20-17 Get the Source Code18 -------------------19 20 Requests is actively developed on GitHub, where the code is11 unmodified lines32 Once you have a copy of the source, you can embed it in your own Python33 package, or install it into your site-packages easily::34 35 $ cd requests40- $ pip install .36+ $ python -m pip install .deleted:docs/user/intro.rst-45 removed
1-.. _introduction:2-3-Introduction4-============5-6-Philosophy7-----------8-9-Requests was developed with a few :pep:`20` idioms in mind.10-11-12-#. Beautiful is better than ugly.13-#. Explicit is better than implicit.14-#. Simple is better than complex.15-#. Complex is better than complicated.16-#. Readability counts.17-18-All contributions to Requests should keep these important rules in mind.19-20-.. _`apache2`:21-22-Apache2 License23----------------24-25-A large number of open source projects you find today are `GPL Licensed`_.26-While the GPL has its time and place, it should most certainly not be your27-go-to license for your next open source project.28-29-A project that is released as GPL cannot be used in any commercial product30-without the product itself also being offered as open source.31-32-The MIT, BSD, ISC, and Apache2 licenses are great alternatives to the GPL33-that allow your open-source software to be used freely in proprietary,34-closed-source software.35-36-Requests is released under terms of `Apache2 License`_.37-38-.. _`GPL Licensed`: https://opensource.org/licenses/gpl-license.php39-.. _`Apache2 License`: https://opensource.org/licenses/Apache-2.040-41-42-Requests License43-----------------44-45- .. include:: ../../LICENSEmodified:docs/index.rst-3 removed
79 unmodified lines80 81 .. toctree::82 :maxdepth: 283 84- user/intro84 user/install85 user/quickstart86 user/advanced87 user/authentication37 unmodified lines125 .. toctree::126 :maxdepth: 3127 128 dev/contributing130- dev/philosophy131- dev/todo129 dev/authors130 131 There are no more guides. You are now guideless.132 Good luck.