Skip to content
Myr

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

8 files+8 added−203 removed

modified:docs/community/support.rst-30 removed
11 unmodified lines
12information or can be properly anonymized, please ask a question on13`Stack Overflow <https://stackoverflow.com/questions/tagged/python-requests>`_14and use the tag ``python-requests``.1516Send a Tweet17------------1619If 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>`_.2417File an Issue18-------------1920If you notice some unexpected behaviour in Requests, or want to see support21for a new feature,22`file an issue on GitHub <https://github.com/psf/requests/issues>`_.313233E-mail34------3536I'm more than happy to answer any personal or in-depth questions about37Requests. Feel free to email38`requests@kennethreitz.com <mailto:requests@kennethreitz.com>`_.394041IRC42---4344The official Freenode channel for Requests is45`#python-requests <irc://irc.freenode.net/python-requests>`_4647The core developers of requests are on IRC throughout the day.48You can find them in ``#python-requests`` as:4950- kennethreitz51- lukasa52- sigmavirus24
modified:docs/dev/contributing.rst+3 added-9 removed
9 unmodified lines
1011This document lays out guidelines and advice for contributing to this project.12If you're thinking of contributing, please start by reading this document and13getting a feel for how contributing to this project works. If you have any14questions, feel free to reach out to either `Ian Cordasco`_, `Cory Benfield`_,15or `Nate Prewitt`_, the primary maintainers.14questions, feel free to reach out to either `Nate Prewitt`_, `Ian Cordasco`_,15or `Seth Michael Larson`_, the primary maintainers.1617.. _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/2021If you have non-technical feedback, philosophical ponderings, crazy ideas, or22other general thoughts about Requests or its position within the Python23ecosystem, the BDFL, `Kenneth Reitz`_, would love to hear from you.2421The guide is split into sections based on the type of contribution you're22thinking of making, with a section that covers general guidelines for all23contributors.2429.. _Kenneth Reitz: mailto:me@kennethreitz.org3025Be Cordial26----------2728 **Be cordial or be on your way**. *—Kenneth Reitz*
180 unmodified lines
deleted:docs/dev/philosophy.rst-45 removed
1Development Philosophy2======================34Requests is an open but opinionated library, created by an open but opinionated developer.567Management Style8~~~~~~~~~~~~~~~~910`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.1112`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.1314Values15~~~~~~1617- 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.2122Semantic Versioning23~~~~~~~~~~~~~~~~~~~2425For 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.2627Requests 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.2829Standard Library?30~~~~~~~~~~~~~~~~~3132Requests 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.3334.. raw:: html3536 <script async class="speakerdeck-embed" data-id="68f22f0841734d848315c618111b13ea" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script>3738Essentially, 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.3940Linux Distro Packages41~~~~~~~~~~~~~~~~~~~~~4243Distributions have been made for many Linux repositories, including: Ubuntu, Debian, RHEL, and Arch.4445These 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
1How to Help2===========34Requests is under active development, and contributions are more than welcome!56#. 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>`_.1415Feature Freeze16--------------1718As of v1.0.0, Requests has now entered a feature freeze. Requests for new19features and Pull Requests implementing those features will not be accepted.2021Development Dependencies22------------------------2324You'll need to install py.test in order to run the Requests' test suite::2526 $ venv .venv27 $ source .venv/bin/activate2829 $ 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 items3536 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...........................................................4243 ============== 442 passed, 1 skipped, 2 xpassed in 46.48 seconds ===============4445You can also run ``$ make tests`` to run against all supported Python versions, using tox/detox.4647Runtime Environments48--------------------4950Requests currently supports the following versions of Python:5152- Python 2.753- Python 3.454- Python 3.555- Python 3.656- Python 3.757- PyPy5859Google App Engine is not officially supported although support is available60with the `Requests-Toolbelt`_.6162.. _Requests-Toolbelt: https://toolbelt.readthedocs.io/
modified:docs/user/advanced.rst+1 added-1 removed
626 unmodified lines
627You can get the dependencies for this feature from ``pip``:628629.. code-block:: bash630631 $ pip install requests[socks]631 $ python -m pip install requests[socks]632633Once you've installed those dependencies, using a SOCKS proxy is just as easy634as using a HTTP one::635
402 unmodified lines
modified:docs/user/install.rst+4 added-8 removed
5 unmodified lines
6This part of the documentation covers the installation of Requests.7The first step to using any software package is getting it properly installed.8910$ pipenv install requests11-------------------------10$ python -m pip install requests11--------------------------------1213To install Requests, simply run this simple command in your terminal of choice::1415 $ pipenv install requests15 $ python -m pip install requests1617If 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/>`_19can guide you through the process.2017Get the Source Code18-------------------1920Requests is actively developed on GitHub, where the code is
11 unmodified lines
32Once you have a copy of the source, you can embed it in your own Python33package, or install it into your site-packages easily::3435 $ cd requests40 $ pip install .36 $ python -m pip install .
deleted:docs/user/intro.rst-45 removed
1.. _introduction:23Introduction4============56Philosophy7----------89Requests was developed with a few :pep:`20` idioms in mind.101112#. 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.1718All contributions to Requests should keep these important rules in mind.1920.. _`apache2`:2122Apache2 License23---------------2425A large number of open source projects you find today are `GPL Licensed`_.26While the GPL has its time and place, it should most certainly not be your27go-to license for your next open source project.2829A project that is released as GPL cannot be used in any commercial product30without the product itself also being offered as open source.3132The MIT, BSD, ISC, and Apache2 licenses are great alternatives to the GPL33that allow your open-source software to be used freely in proprietary,34closed-source software.3536Requests is released under terms of `Apache2 License`_.3738.. _`GPL Licensed`: https://opensource.org/licenses/gpl-license.php39.. _`Apache2 License`: https://opensource.org/licenses/Apache-2.0404142Requests License43----------------4445 .. include:: ../../LICENSE
modified:docs/index.rst-3 removed
79 unmodified lines
8081.. toctree::82 :maxdepth: 28384 user/intro84 user/install85 user/quickstart86 user/advanced87 user/authentication
37 unmodified lines
125.. toctree::126 :maxdepth: 3127128 dev/contributing130 dev/philosophy131 dev/todo129 dev/authors130131There are no more guides. You are now guideless.132Good luck.