Skip to content

Commit

Permalink
updates and fixes, advanced partially done
Browse files Browse the repository at this point in the history
Signed-off-by: Kwpolska <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 20, 2013
1 parent 2371148 commit f6bc17b
Show file tree
Hide file tree
Showing 30 changed files with 811 additions and 574 deletions.
9 changes: 9 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,12 @@ Urllib3
- Denis Ryzhkov <denisr@denisr.com>
- Wilfred Hughes <me@wilfred.me.uk> @dontYetKnow
- Dmitry Medvinsky <me@dmedvinsky.name>
- Bryce Boe <bbzbryce@gmail.com> @bboe
- Colin Dunklau <colin.dunklau@gmail.com> @cdunklau
- Bob Carroll <bob.carroll@alum.rit.edu> @rcarz
- Hugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar> @hobarrera
- Łukasz Langa <lukasz@langa.pl> @llanga
- Dave Shawley <daveshawley@gmail.com>
- James Clarke (jam)
- Kevin Burke <kev@inburke.com>
- Flavio Curella
23 changes: 11 additions & 12 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ Wyjątki

.. module:: requests

.. autoexception:: RequestException
.. autoexception:: ConnectionError
.. autoexception:: HTTPError
.. autoexception:: URLRequired
.. autoexception:: TooManyRedirects
.. autoexception:: requests.exceptions.RequestException
.. autoexception:: requests.exceptions.ConnectionError
.. autoexception:: requests.exceptions.HTTPError
.. autoexception:: requests.exceptions.URLRequired
.. autoexception:: requests.exceptions.TooManyRedirects


Sprawdzanie kodów odpowiedzi
Expand All @@ -77,18 +77,17 @@ Sprawdzanie kodów odpowiedzi
Ciasteczka (cookies)
~~~~~~~~~~~~~~~~~~~~

.. autofunction:: dict_from_cookiejar
.. autofunction:: cookiejar_from_dict
.. autofunction:: add_dict_to_cookiejar
.. autofunction:: requests.utils.dict_from_cookiejar
.. autofunction:: requests.utils.cookiejar_from_dict
.. autofunction:: requests.utils.add_dict_to_cookiejar


Kodowania
~~~~~~~~~

.. autofunction:: get_encodings_from_content
.. autofunction:: get_encoding_from_headers
.. autofunction:: get_unicode_from_response
.. autofunction:: decode_gzip
.. autofunction:: requests.utils.get_encodings_from_content
.. autofunction:: requests.utils.get_encoding_from_headers
.. autofunction:: requests.utils.get_unicode_from_response


Klasy
Expand Down
58 changes: 32 additions & 26 deletions docs/dev/todo.rst
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
How to Help
===========
Jak pomóc
=========

Requests is under active development, and contributions are more than welcome!
Requests są aktywnie rozwijane, a kontrybucje są więcej niż mile widziane!

#. Check for open issues or open a fresh issue to start a discussion around 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.
#. Fork `the repository <https://github.com/kennethreitz/requests>`_ on Github and start making your
changes to a new branch.
#. Write a test which shows that the bug was fixed.
#. Send a pull request and bug the maintainer until it gets merged and published. :)
Make sure to add yourself to `AUTHORS <https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst>`_.
#. Poszukaj otwartych problemów albo otwórz nowy aby rozpocząć dyskusję nad
bugiem. Istnieje tag *Contributor Friendly* dla problemów idealnych dla
osób nieobeznanych z kodem.
#. Sforkuj `repozytorium <https://github.com/kennethreitz/requests>`_ na
GitHubie i zacznij dokonywać zmian na nowej gałęzi (branch).
#. Napisz test pokazujący, że bug został naprawiony.
#. Wyślij pull request i wkurzaj maintainera dopóki nie zostanie zmerge’owany i opublikowany.
Upewnij się, że dodałes się do pliku `AUTHORS <https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst>`_.

Feature Freeze
--------------
Zamrożenie feature’ów
---------------------

As of v1.0.0, Requests has now entered a feature freeze. Requests for new
features and Pull Requests implementing those features will not be accepted.
Od v1.0.0, Requests wszedł w status zamrożenia feature’ów. Prośby o nowe funkcje i Pull Requesty je implementujące nie będą akceptowane.

Development Dependencies
------------------------
Zależności do developmentu
--------------------------

You'll need to install py.test in order to run the Requests' test suite::
Będziesz musiał zainstalować py.test aby uruchomić testy Requests::

$ pip install -r requirements.txt
$ invoke test
Expand All @@ -32,10 +31,10 @@ You'll need to install py.test in order to run the Requests' test suite::
test_requests.py .........................
25 passed in 3.50 seconds

Runtime Environments
--------------------
Środowiska runtime
------------------

Requests currently supports the following versions of Python:
Requests obecnie wspiera następujące wersje Pythona:

- Python 2.6
- Python 2.7
Expand All @@ -44,12 +43,19 @@ Requests currently supports the following versions of Python:
- Python 3.3
- PyPy 1.9

Support for Python 3.1 and 3.2 may be dropped at any time.
Wsparcie dla Pythona 3.1 i 3.2 może zostać usunięte w każdej chwili.

Google App Engine will never be officially supported. Pull requests for compatibility will be accepted, as long as they don't complicate the codebase.
Google App Engine nigdy nie będzie oficjanie wspierane. Pull requesty dot.
kompatybilności będą akceptowane, o ile nie skomplikują kodu.


Are you crazy?
--------------
Jesteś szalony?
---------------

- SPDY support would be awesome. No C extensions.
- wsparcie dla SPDY byłoby świetne. Bez rozszerzeń w C.

Paczkowanie w Downstreamie
--------------------------

Jeśli paczkujesz Requests, zauważ że musisz też redystrybuować plik
``cacerts.pem`` aby uzyskać poprawne funkcjonowanie SSL.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Requests bierze na siebie całą trudną pracę z HTTP/1.1 w Pythonie — czyni
Testimonials
------------

Rząd Jej Królewskiej Mości, Amazon, Google, Twilio, Mozilla, Heroku, PayPal, NPR, Obama for America, Transifex, Native Instruments, The Washington Post, Twitter, SoundCloud, Kippt, Readability, i Instytucje Federalne Stanów Zjednoczonych używają Requests wewnętrznie. Requests zostało pobrane ponad 2 000 000 razy z PyPI.
Rząd Jej Królewskiej Mości, Amazon, Google, Twilio, Mozilla, Heroku, PayPal, NPR, Obama for America, Transifex, Native Instruments, The Washington Post, Twitter, SoundCloud, Kippt, Readability, i Instytucje Federalne Stanów Zjednoczonych używają Requests wewnętrznie. Requests zostało pobrane ponad 3 000 000 razy z PyPI.

**Armin Ronacher**
Requests to perfekcyjny przykład, jak piękne może być API z prawidłowym
Expand Down

0 comments on commit f6bc17b

Please sign in to comment.