{"id":20206142,"url":"https://github.com/requests/requests-docs-cn","last_synced_at":"2025-04-10T12:22:57.213Z","repository":{"id":7323435,"uuid":"8642896","full_name":"requests/requests-docs-cn","owner":"requests","description":"Chinese translation of Requests' documentation.","archived":false,"fork":false,"pushed_at":"2022-02-07T07:38:13.000Z","size":5219,"stargazers_count":62,"open_issues_count":3,"forks_count":40,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-09T09:50:24.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://cn.python-requests.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/requests.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-08T04:13:26.000Z","updated_at":"2024-06-11T02:55:30.000Z","dependencies_parsed_at":"2022-09-21T12:12:15.598Z","dependency_job_id":null,"html_url":"https://github.com/requests/requests-docs-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requests%2Frequests-docs-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requests%2Frequests-docs-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requests%2Frequests-docs-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requests%2Frequests-docs-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/requests","download_url":"https://codeload.github.com/requests/requests-docs-cn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217109,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T05:21:35.401Z","updated_at":"2025-04-10T12:22:57.184Z","avatar_url":"https://github.com/requests.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Requests: HTTP for Humans\n=========================\n\n.. image:: https://img.shields.io/pypi/v/requests.svg\n    :target: https://pypi.python.org/pypi/requests\n\nRequests is the only *Non-GMO* HTTP library for Python, safe for human\nconsumption.\n\n**Warning:** Recreational use of other HTTP libraries may result in dangerous side-effects,\nincluding: security vulnerabilities, verbose code, reinventing the wheel,\nconstantly reading documentation, depression, headaches, or even death.\n\nBehold, the power of Requests:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e r = requests.get('https://api.github.com/user', auth=('user', 'pass'))\n    \u003e\u003e\u003e r.status_code\n    200\n    \u003e\u003e\u003e r.headers['content-type']\n    'application/json; charset=utf8'\n    \u003e\u003e\u003e r.encoding\n    'utf-8'\n    \u003e\u003e\u003e r.text\n    u'{\"type\":\"User\"...'\n    \u003e\u003e\u003e r.json()\n    {u'disk_usage': 368627, u'private_gists': 484, ...}\n\nSee `the similar code, sans Requests \u003chttps://gist.github.com/973705\u003e`_.\n\nRequests allows you to send *organic, grass-fed* HTTP/1.1 requests, without the\nneed for manual labor. There's no need to manually add query strings to your\nURLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling\nare 100% automatic, powered by `urllib3 \u003chttps://github.com/shazow/urllib3\u003e`_,\nwhich is embedded within Requests.\n\nBesides, all the cool kids are doing it. Requests is one of the most\ndownloaded Python packages of all time, pulling in over 7,000,000 downloads\nevery month. You don't want to be left out!\n\nFeature Support\n---------------\n\nRequests is ready for today's web.\n\n- International Domains and URLs\n- Keep-Alive \u0026 Connection Pooling\n- Sessions with Cookie Persistence\n- Browser-style SSL Verification\n- Basic/Digest Authentication\n- Elegant Key/Value Cookies\n- Automatic Decompression\n- Automatic Content Decoding\n- Unicode Response Bodies\n- Multipart File Uploads\n- HTTP(S) Proxy Support\n- Connection Timeouts\n- Streaming Downloads\n- ``.netrc`` Support\n- Chunked Requests\n- Thread-safety\n\nRequests supports Python 2.6 — 3.5, and runs great on PyPy.\n\nInstallation\n------------\n\nTo install Requests, simply:\n\n.. code-block:: bash\n\n    $ pip install requests\n    ✨🍰✨\n\nSatisfaction, guaranteed.\n\nDocumentation\n-------------\n\nFantastic documentation is available at http://docs.python-requests.org/, for a limited time only.\n\n\nHow to Contribute\n-----------------\n\n#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a `Contributor Friendly`_ tag for issues that should be ideal for people who are not very familiar with the codebase yet.\n#. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it).\n#. Write a test which shows that the bug was fixed or that the feature works as expected.\n#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.\n\n.. _`the repository`: http://github.com/kennethreitz/requests\n.. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst\n.. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direction=desc\u0026labels=Contributor+Friendly\u0026page=1\u0026sort=updated\u0026state=open\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequests%2Frequests-docs-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frequests%2Frequests-docs-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequests%2Frequests-docs-cn/lists"}