Файловый менеджер - Редактировать - /var/www/html/python3-launchpadlib.zip
Ðазад
PK ! 8��� � NEWS.Debian.gznu �[��� � U�Ko�0��slQ[���}u �Mm 9�֬ĵD�%�%UU9�� xZg�vch�]�m�v������fo�K����C/ �z�`�0���Q�A��z���7C{߳��<t@{������f�-��m�ۯ��6�1|p¨�۠�,^�!t~��-�.{ܜY���&�k��=I76p#�� rk�`�$ �089���*�J�[�q<�d�G�*ۓ�Q�n9�E� ���T�f7�?E�;�}���i����sp��ޟ����S�$�]�H�%�]ʠ=�c�:�mLB�N��t�⃓�'�'%��Wŧ�TZ�/??���4Y}h���t�<AWc�$S���X�{_����X�{ur��W�l�\���x�,���r��*WW^eQ�]�e PK ! b77�Z Z copyrightnu �[��� Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: launchpadlib Source: https://launchpad.net/launchpadlib Files: * Copyright: 2008-2021, Canonical Ltd. License: LGPL-3.0 Files: src/launchpadlib/testing/helpers.py src/launchpadlib/testing/launchpad.py src/launchpadlib/testing/resources.py src/launchpadlib/testing/tests/test_launchpad.py Copyright: 2008-2021, Canonical Ltd. License: LGPL-3.0+ Files: debian/* Copyright: 2008,2009, James Westby <james.westby@ubuntu.com> 2009-2011, Luca Falavigna <dktrkranz@debian.org> 2012-2021, Stefano Rivera <stefanor@debian.org> License: LGPL-3.0 License: LGPL-3.0 lazr.uri is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License. . lazr.uri is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . On Debian-based systems the full text of the LGPL, version 3, can be found at /usr/share/common-licenses/LGPL-3. License: LGPL-3.0+ lazr.uri is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . lazr.uri is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . On Debian-based systems the full text of the LGPL, version 3, can be found at /usr/share/common-licenses/LGPL-3. PK ! �p�> > changelog.Debian.gznu �[��� � �W�n�6}�W\�IZKe%��nX� C�q�>EAK�[�TI*��'��= ��]Jt줩�4@Ȣyy﹇�\�KWiIި��y)��X̒��F�e�H�3CU,�c)����Sx�hj��9��-��ʻ��st��ppj-��@�vZ-]��.,�1E�";�r��B\����v��o%NW�6�_�A��� M��4ϒ<@�dIrpP����=��3�k���E���F��kT��p���K*K,a�*Z�.��hԝ�] ����>��s]6{��<�,|��a) �P�l�u�ͪc\�Y�_6��4B�=�EiuH)T��� �S p{;T۫#z�T� ��Sj��?���)��&6��ANQ2���,J���O�?�sE8m�c��B�i���KKQh-7K��*L���۲��KZ��wD���Њ���D��!��w��.=�m8 �ʛ�2��NMYH�����7ֵ�yv�\M�N{�;i�mr�bZ�0�;|�4y�o-9A��EXW�p��G1�'��`p2|Oƍ"�d<� ��d/��]<y������Z_��O(����uF�|�l�=��@Yڮ0� ���c.-o�|�� ���ͷ ����%��Kb[��~?'�xYR��v��V_6��ēY�`��؍��#zpS��}GA/�Y|'^������ ⷱ��Y���P�yMR&� �����D�B�Z1�%~�tP�2Ϸ�=Jj:�|{҂��"|$�nI��U� `�u`[��Osv��?�0 ����Š8�m��R���R(���G�y�y�>�sW�^��g� K�I������>}\�o�u5����Mt�.jC�ՙ��s��LmA������*��Ƈr]V[��?%�x�t�e�B6�B6DtR��ݤQ����o�[�e����ǁ��������$$@ƥ���ab��!B�4,*zK<Q��*�lO8z��Ė ӓ�e=�t��2���idP0�Y����9�"����].b��۪~���BfvE���oN<��$;~ c/�rX�:�t�7��d���;ܑ�v��D*�ZUJ;I��g��, �N���I��~�^�m ����{���E.5���>�W=���6t�ט��`̓�q0'��r���v�G��[��yL{DZ�m������e�Ј0�N��%I�������Ir=�t�+�)L�ZB�F|���z�k��G��m��{����^Я]��F����)ڃP���� �Qd��/�@>�(>�s/H�S���3 �0����E3�9�f�Ã����/� PK ! I� README.rstnu �[��� Script Launchpad through its web services interfaces. Officially supported. .. Copyright (C) 2008-2009 Canonical Ltd. This file is part of launchpadlib. launchpadlib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License. launchpadlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with launchpadlib. If not, see <http://www.gnu.org/licenses/>. Overview ======== launchpadlib is a standalone Python library for scripting Launchpad through its web services interface. It is the officially supported bindings to the Launchpad web service, but there may be third party bindings that provide scriptability for other languages. Launchpad (http://launchpad.net) is a a free software hosting and development website, making it easy to collaborate across multiple projects. For information on Launchpad itself, see https://help.launchpad.net More information on the Launchpad web service, such as user guides and reference documentation, are available at https://help.launchpad.net/API Client documentation for launchpadlib is available at https://help.launchpad.net/API/launchpadlib Please submit bug reports to https://bugs.launchpad.net/launchpadlib Credential storage ================== After authorizing an application to access Launchpad on a user's behalf, launchpadlib will attempt to store those credentials in the most system-appropriate way. That is, on Gnome it will store them in the Gnome keyring, on KDE it will store them in the KDE wallet or optionally it may try to store them on disk (filename will be obtained from ``LP_CREDENTIALS_FILE`` environment variable if not specified in script). PK ! +B�iv v docs/conf.py.gznu �[��� � �Xmo�6��_1�|��`-�i������ඇ��� W�xъ*I9�&��}fHi�n����K��3C?���'T�ʴ�����)�d��GԨ�-�NU�YSe�~�۠��-�{�T8�n̶wqmc���itE�=|W�����ޔ�}P.�]�����D�ѓO.>}zq�����sz]/P���N���XV�Ƅ�B��읃"T��`ݞ�,�� ��2-���[4Ϊ@� ���:�YCʱ ���'�4uN{cZ�4���`���Nd�"�3�}�V��Uz��&�eXEXDiw�R��>����X�k�FlMG�,�8�;���u-�[�<�E�nൠ[^v��k� Fg�=XY�.0S�9�vǮ��bM��M��{�w 08�s�+ �AA��n�h>�8���aE=�m����&��khG��m���jV�5m�)�O^����ؙI�ܴ�kX���KY��r���NN�+��H�<�'�`o{w��V� �E;��r^HmP ފPA>�&G�XDtI��l��!&��c�S��U;�>�Hy ;T��Q[zO�B�r,&i�D�z��H��h��?�/ �$���v�j�g�Kzy3U�=�r>�&�����y���(�ƽ�$�gŸ6I0�|�٘���PqC*�ZJT|wҏ��}�K���ue�f8ʎRH1@\v!Q�`E���a��y���7��3�<�)PS���i=�D����i+}'��<4�ƺ]��AH}u��ɳ�lJ����ޙm�=9;{z��/P�)�}�|���kēw]=���\���vHH�k�~q'ո�wv��GAy���FS�����r���p�IY�wq,�P��]�z�ܩ�2C+���H�-SE�Lu������W��)�l������M*����_�C@?�?���`�����?֩i˦�v ��Z��uP����PbYR�NjT���V�����㮲�:��F�G ŧ'��w�z8;��I'���sBL���Zߤ�emu�eJP��J���{9ʝv6ș�4%���d�ƴz� x��+�1�}�N�jv�U�E�*h�1 ��=4����������O�{�ٶ����-5־�(�6>��5��� ��p����`66e�6L��d ��Y��D�IƢيf�u�[��Z�K��E�J�]1+�������{��jo�����}#NAQ�is����g��׃P_qc%��#{�Wd�� ���G�Ս�=a�� ��uq����~a�����.���=����o�*=�]�?��n0� ����/Nm�Z�Q㨽F�8����n:6�LB�m�Qka��8 �&��d�Il�Ub�3�D�_��Ѻa�*���t��TG�[e ���jU��(��h�I)�b@�����F�)&t*���!SF�"_k�9��w�q�!���p��H{�C�O%���2�Ǒb6���3� W�|�L�G@G��7u9L_$M�����z<��ܔ�1��4QI�� @b{�i� �:�����?��1���;���T�.NO��9.E�@�ύ=��hN1��i#�l�d�O��7�tF��=~<����,�1XH9��48bvì\�w]�/�ܐ*-�4�a��re��w O��d�W�Km>���xHRc�MSXq�����Q�@���S6^�����>�㕺�?�_�e칻-=���Y��d��,� 7N'Ks�������tp.�|9:��@oP��Y'��9� �<����p�� �`$��&��1{�gp�U�5�e���2ÍPW���T�4V�ѫZv�1@�U�W�ú���W��:n�S'�a�M��v=� �Ǵ�U�H�<�G!����]$��bB#DFq�]�2�FyO/Q��T��f�N�K�|�Y�)����D#V-�*9�C�L�1����xF��Sr?�v��'��`���#f�}+��qo�'6�?���gg�]��I�r��|�t�&i�, )o�����u2��Ȑ�XVڗΈR�N?D�RX}ɷ�����I��c��~<�et����]s����p^����d�ϕ�N��ǐ��+�}�E{_�-��\�?<�E�n�I%����r�H����o�/5zk�qW����2�� PK ! ��^ ^ docs/files/mugshot.pngnu �[��� �PNG IHDR � � w�3� sRGB ��� pHYs �� tIME�(�f�� tEXtComment Created with GIMPW� �IDATx���OHQ�߮����H�Z�$�Xm���b�B�o.���!�d6x(��b !�����谗��;4�=m�Y�̮�o���]����eg��}3o�{3��U^ �/���dRM�j05& �UV� �Fi��� HB+sT*N�O9�ne�R�a�) +sT��U�) +W���+��*�"v �u��q#s�"�1�p��2�s�F&g4��P� � {��x��� �Ai۰�G͔�: ۰����do!`j+I؆e���4!@��m�qn��6vs h��}$a���iȗ����� ����^~-B�<��<�>elle��p0���r�\(]�2�5�QV7�dP�d�6n���u#3(�����z�a��HJL����gQ��\<����g&�Wx�~�1Z%�FY�k���,����d�=�(`8�M6�ϢG��ˋO��/ b>�z;h��o~Ջk�i*���.dB�:w�e�P{�^J��tE��,�2b�HnCK� �ŕ_Ԕ2��n Rsuy��|�w����;$5'�,2�E�n{�յ�/4���탅M�3�[�i��6O���ǯm|�}�*���5Ў����O�� �\�e��\y���a%�"�0�� F���^b�!*�/6��t�vƺz�r�ܿ��,7o��K���B��r�J)����ؕ9����7$l�^Zd�g=��w߳� ~mT�n��zN�V ��=^_t|��/��;�:�4�/p���rfy��:Q\�S�ي䦉S{��_{�c�R9�Ҷu|������>�a)�ZG����=�3�Z��3#�1�P"�=02#�� r�xf�R� �h IEND�B`�PK ! [q�9� � docs/index.rstnu �[��� .. This file is part of launchpadlib. launchpadlib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License. launchpadlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with launchpadlib. If not, see <http://www.gnu.org/licenses/>. launchpadlib ************ See https://help.launchpad.net/API/launchpadlib . .. pypi description ends here .. toctree:: :glob: introduction operations toplevel people hosted-files command-line CONTRIBUTING NEWS PK ! ���� docs/introduction.rst.gznu �[��� � �[s�6����ܜ䜤&��M�s�'i�i��fz D�j `AP����- � %;Nrm��y&�E���۷��r�~���V��Y!��M���+�*�U���zgWZ���e͗�-�ʤZb�f/����m�"����TT����c���<���E�cU]��X��Ŏ=�J+��b�x�5�� kK����KJ�^a�����-�.�(�\��Y_ � �Y�^�i�t5K��²�LN��`�[#�p2���gVih�nӵ�D�q2~=z�r��,�6�&״)6v�g��Þ��4Z����r#I�Io��X�O��?<n��x�I3���f��1�J�7e�~��"p@��;��*�]Ԯ�\��v�8��D8�J��}�?Ir L�`!t0#~�%Y�hB�Fr�*c=��W���d ��� ��ԁ�+�k㰼֕e�^�!���W��טgx�J)�:�LY{ 8,��E�͎dB@Y�D�h��'��}v�����̕�M�v%���V�H��eY4��+�(=�A���Қ}%T#Ĉ��y|l:�q:�� �J���'d]��UU[�8k,�'ɓh�����l��WXxo�,�sC�B��!�1.�w���tI��;�X� ��ح�;` �E)��. �M¯��_K�{Zs���o@O�X32�H�@��\�z��^��z�@gX���ɢ �-uΪX�t�D��Ū��^"������B�EЃ&�*�C� UНg������1����Y�E�:]�=ؠ+��7HI��N�cza�T4C7� �i"GG� d���kYU�pJ#���VXB��L����Cye��O�Ɩ����0z�n���0rF�z�}8?lV� k�@�n�B�#l3����1���Ge�q�qr gm�d��# �y�KTB�%1����a�38{Qn,��i��m�W9�i�Q�N��0I��ŻI���vVN���2�����ބ��=<0z�G�?Br�ŒZ+x��l�=g�^��.�0���7����y�ołh8=�q#//�Q�ʅX�"�%�v��3M��"z/`r������Z�=0��T��'p!BU`~"ߍ����q��ER��wu��q�ؿ����=�N�!�Q啙���Ԡ�Z�|��,@���G����hMbf�{6���`����톓����Q��h�i<�_�5�+��1�'�;����U\l����m�!��(��7���D�[ZDL����V26ܾG�8�~�U�:��g�� &?�{(���C���&�yW��0�R���Dm�HC/�>c[$ $�q�#�z{I�"���F�'a��9w�V���^U&1��H��!�]�oWܺJ\[G� 0}��S[��!ً|�ʴY���R�)5�.$�8 Bzp���O�L'];� �V���w�����[W��Е�U�D>�i�B�Ө��\�ʛd�~D�F�ڦ�3�ĹE2��Ҟ�&4*WaP���L3>fk�l�V��,JD�^��� +�xh�ܹ��Uvc��k��H�Ss8��F����i�Cc"�sW�.��6���?�8�섢 �j�Vp��(?��$�uRD=�'�M��7���a��N�<��B��vWWކ̻U<�&������[��v�.W;�R��z2�i]5���?f���z�U +Dn���� �]�Ey�����Ե0�h���^H]�#5��w ����5�Zaxr�X�5�kK��a��sT��B[<S�9�"NA�5A���\Y�M� �'�Q��~J��R)o�G/p� '��&�A��AY ~���j\�_�8��w�?�<{���g�~VH9y>� �Ğ�&_�/��k��<G����'ek� N�7܇C���g#Z)��צ���Be^���n�q�.��=~_�5���u��ڭ)pBm��-�6�`T8��ыj���A��2�i]p�����Re�+�rC!���;�M��M�Y����U5-���θ��ܾ�!����V�;p>>��AG�}p4�k����ѣ�P`��aF��������LVe�wNi7��Z+a��}���T!#j�e2w]���:�L�衫fFq�k �X�q�ht������Av U��8K������W�-xe�O��߸V���";a�//�fό��{���64p�X���k��3�V����ތ������R��V��T$=j��:�;]�Ԩ�KP�7�%���z'��A� �q�&+�ORS1����p�,�;�iy:�%�=T�7k-d۷UH�T�vŮ�~�h:������<��w��~S4^�-�Vhs�j��"GN�L��z��K��B� ���须yI\���f��B@;�h�$`]�<�$õ.9,Dʩ⓶��J��P۪��/����q(/�{!���^�~� p�߁�G G��:�]y'p(5*yf��V\��6%r}=".<G G��o������<���$������_Z�L���� �(�碜5�U��Ӄ�c�pe@ߪkb���o^�a�O\�(��9]�d"w�{E#�1�%�t«dt�6F���n���fW �a+j��$é#�����uLC�6���r�k��`W����}�&��` ��f���Gs:X�Q�ش�^�-���.s�eӭ�}��EH������Uhڻ�5��Z0������}|W�!m������(�Y����5�{љ>��`$چ2rE�9�U��������<.��z� �6\Ր��t�U�p��.Výc&]&��X��w)��"���#j �Fy�Q@�Mg|%D樎�rK�- �3b���d�fJ��a[�ĝ�%*�36i���. D;����N ���ё�_����nN#�fOϟ\�//^<{5��⛯�.��<H7e0j^��-�|��6��] �]��.�S�&S�:�L_���Ӄ Gڮ.p��fy�(��ݓ���Lj݇��o�"/�i���9�n4��\�P�R�e�<�_����! ��`ao��3]�.�]�HPW%7R�y���v�xZ�e�3B�2Ş���N�����$]_�N$�*�r%� L�nj�6���A�� �ig|چ+q銊�������Nm��MI{ y��G���_�>��3��Vb��_g4ȥ���=��c<���$����1 %�^s�P�m.�9�!���U%ɻ���`� �TnLM��I�"����!��5w������o�:����� ��dn���K����28����;�����m�R��%tz狘wt�+}�Ȥ�]�Q��K[�L�FGhӷ���ަ^�_٬o��߫Yc�?2��n�{�Moj�.��_W�S�7L�Bo{�`���� �U�Q��(��oVa]�)= Z�_^����_����Nk+�w'�� �}���;:��_�� -v ͦ������c��.[-���ŧ�m��������-�����S��z�t}͈�F��8Ii~����J7�?D7��4 PK ! ;���o o docs/hosted-files.rstnu �[��� ************ Hosted files ************ The Launchpad web service sets restrictions on what kinds of documents can be written to a particular file. This test shows what happens when you try to upload a non-image for a field that expects an image. >>> from launchpadlib.testing.helpers import salgado_with_full_permissions >>> launchpad = salgado_with_full_permissions.login() >>> from launchpadlib.errors import HTTPError >>> mugshot = launchpad.me.mugshot >>> file_handle = mugshot.open("w", "image/png", "nonimage.txt") >>> file_handle.content_type 'image/png' >>> file_handle.filename 'nonimage.txt' >>> file_handle.write("Not an image.") >>> try: ... file_handle.close() ... except HTTPError, e: ... print e.content <BLANKLINE> The file uploaded was not recognized as an image; please check it and retry. Of course, uploading an image works fine. >>> import os >>> def load_image(filename): ... image_file = os.path.join( ... os.path.dirname(__file__), 'files', filename) ... return open(image_file).read() >>> image = load_image("mugshot.png") >>> len(image) 2260 >>> file_handle = mugshot.open("w", "image/png", "a-mugshot.png") >>> file_handle.write(image) >>> file_handle.close() == Error handling == The server may set restrictions on what kinds of documents can be written to a particular file. >>> file_handle = mugshot.open("w", "image/png", "nonimage.txt") >>> file_handle.content_type 'image/png' >>> file_handle.filename 'nonimage.txt' >>> file_handle.write("Not an image.") >>> file_handle.close() Traceback (most recent call last): ... BadRequest: HTTP Error 400: Bad Request ... == Caching == Hosted file resources implement the normal server-side caching mechanism. >>> file_handle = mugshot.open("w", "image/png", "image.png") >>> file_handle.write(image) >>> file_handle.close() >>> import httplib2 >>> httplib2.debuglevel = 1 >>> launchpad = salgado_with_full_permissions.login() connect: ... >>> mugshot = launchpad.me.mugshot send: ... The first request for a file retrieves the file from the server. >>> len(mugshot.open().read()) send: ... reply: 'HTTP/1.1 303 See Other... reply: 'HTTP/1.1 200 OK... 2260 The second request retrieves the file from the cache. After receiving the 303 request with its Location header, no further HTTP requests are issued because the Librarian's Cache-Control: headers tell us we already have a fresh copy. >>> len(mugshot.open().read()) send: ... reply: 'HTTP/1.1 303 See Other... header: Location: http://.../image.png ... 2260 Finally, some cleanup code that deletes the mugshot. >>> mugshot.delete() send: 'DELETE... reply: 'HTTP/1.1 200... >>> httplib2.debuglevel = 0 PK ! � �C docs/CONTRIBUTING.rstnu �[��� .. This file is part of lazr.launchpadlib. lazr.launchpadlib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License. lazr.launchpadlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with lazr.launchpadlib. If not, see <http://www.gnu.org/licenses/>. ============ Contributing ============ To run this project's tests, use `tox <https://tox.readthedocs.io/en/latest/>`_. To update the `project's documentation <https://launchpadlib.readthedocs.io/en/latest/>`_ you need to trigger a manual build on the project's dashboard on https://readthedocs.org. Getting help ------------ If you find bugs in this package, you can report them here: https://launchpad.net/launchpadlib If you want to discuss this package, join the team and mailing list here: https://launchpad.net/~lazr-developers or send a message to: lazr-developers@lists.launchpad.net PK ! D� �Z Z docs/operations.rstnu �[��� **************** Named operations **************** launchpadlib can transparently determine the size of the list even when the size is not directly provided, but is only available through a link. >>> from launchpadlib.testing.helpers import salgado_with_full_permissions >>> launchpad = salgado_with_full_permissions.login(version="devel") >>> results = launchpad.people.find(text='s') >>> 'total_size' in results._wadl_resource.representation.keys() False >>> 'total_size_link' in results._wadl_resource.representation.keys() True >>> len(results) > 1 True Of course, launchpadlib can also determine the size when the size _is_ directly provided. >>> results = launchpad.people.find(text='salgado') >>> 'total_size' in results._wadl_resource.representation.keys() True >>> len(results) == 1 True PK ! �졞O O docs/command-line.rstnu �[��� ******************** Command-line scripts ******************** Launchpad includes one command-line script to make Launchpad integration easier for third-party libraries that aren't written in Python. This file tests the workflow underlying the command-line script as best it can. RequestTokenApp =============== This class is called by the command-line script launchpad-request-token. It creates a request token on a given Launchpad installation, and returns a JSON description of the request token and the available access levels. >>> import json >>> from launchpadlib.apps import RequestTokenApp >>> web_root = "http://launchpad.test:8085/" >>> consumer_name = "consumer" >>> token_app = RequestTokenApp(web_root, consumer_name, "context") >>> token_json = json.loads(token_app.run()) >>> for param in sorted(token_json.keys()): ... print(param) access_levels lp.context oauth_token oauth_token_consumer oauth_token_secret >>> print token_json['lp.context'] context >>> print token_json['oauth_token_consumer'] consumer PK ! e��� � docs/people.rst.gznu �[��� � �Xmo�F��_�@?�$�)��u� q���zw0RMĊ\�/��}�N-��3�wQ��+ΰ-�;3;/�<;�/�?ѝе�W���ыc�����WiQ��ŖYae*�Lɇ�tV�|�Ŀkm�e��J�Rd���09Os��Þ���{[1� a�^�̮g"�NS_d��`���������L�q۫D�P�s���E��A�"#�dek<��:=}���<;h�2"�W�ڱ�t������-�(js݄�("�R^1����Q�Zo]a��a�QvY��8�@I��VK"�G.��Cnt����\a�y��u�������NX�0�B( �ɲ��!Qj�3�PtI�J�ZJk��lo���n�ֈ������l��L�ͣh!�J;������TT��y�ԁy+X��Z$��'{��a�7H�5ދ�q���?u%e%��F�����q���jU������������n��_^�l�ɝp@��0�j� 1L�+J�!�i$j��r�ot°S��~�Vr5 6�h���C躑�V�D9?��>K���X&��V���d�R���KZ�&ԃ�_�c��;&s�h�+@d�Ja��C6�u�%�J u?���h3�{-`��֦٭��ޠ��U�(5nD � �J��u��A� �ݎ�l�npPw�j�$ Vz8�hm<iC���t�Q�Q�(�J!<I�յ[<a�s&��ڌ<r�EHSͭ��v !��5S�E��U�+�ײ�*�/�d�^>]QN7�����SHqV�ehi�Og >pn?��Eй �/ςt+��pɃ�m�Y�)��W�����6�Fu"� Ĭ��Ç����o��|yu� ���~���=�Y��T�-yd���� roh�`m��m� �@��cEd8����6��l��� ��;o��#���$~������v���N$��)Y���;�/:���l��|A�j�a��/P�)Z��Tfd���-�'A�ݛ��՚}~�Y�W���%�~}�% �˅HI=������X})��w����\j�kҤI�fa�3�n�Idvb��6)E [����E5�Hd�(�Cr��Mjn�LeMل���[��:<���'Gv����%�A� M, �N'�om��I�AÇ����:�1EV�-���3ä8?�%�f]�{緰z���|4P6D3Q6��'�����oD�'k����7��O�1]���B'��A8\*��ǧt�k�N��� �(_:Z3�Pt�UK78����7A&f����!or6h�+0�Oi�G*�������u����n��5�^�%H�)�òĝAg��V���+��|�Z�p��^��z#*��9���C�XhS:u�w\Vqk$�q�1 ���5����Л�ͼ�-�7�� M>��է��.{0���P��6�Ԋ}�+���I�֨�i�C��O�s���� �w�cꖎ��a~�|�e�R��3��#���O�s[�7p���74��=:5D���l]��ۛ�Қ���f�f�k��Nÿ[H�;,ƫ�ٞ�v\�I����]���C�ct�Ƣ"aPi0DC�e�0�v����Y����v&jAܓn��L�BW_�g���Qg]� oy�����f���c�쫫�kZc�b��i/����:��X��Λ�7\�ѝ�2�ӓ_4ڵ�~� ~G�9\O�~^O���#�&���5�M=w����~ �3�k1��l+dsu$:�HW����p����@�In&�j;|����[A���L:`y��E����������OȽ��<&��y0�8�"gM��O��Gr�̳���4�a�.>7��m�'V�C���.�ʝZ��-�1D�l��4OJ�*<)Ѭ<S��h��zn��X�ϗ�I�G��VPO�o��n/Alz���h��(ݫ��j��䄈���;�kG4��ҋ>g"�^�1�KRgs�4{��ɥ�{ PK ! 8�Ka a docs/Makefilenu �[��� # Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = launchpadlib SOURCEDIR = . BUILDDIR = _build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)PK ! B�f docs/toplevel.rstnu �[��� ********************* Top-level collections ********************* The launchpad web service's top-level collections provide access to Launchpad-wide objects like projects and people. >>> import httplib2 >>> httplib2.debuglevel = 1 >>> from launchpadlib.testing.helpers import salgado_with_full_permissions >>> launchpad = salgado_with_full_permissions.login() connect: ... ... It's possible to do key-based lookups on the top-level collections. The bug collection does lookups by bug ID. >>> bug = launchpad.bugs[1] send: 'GET /.../bugs/1 ...' ... To avoid triggering an HTTP request when simply looking up an object, you can use a different syntax: >>> bug = launchpad.bugs(1) The HTTP request will happen when you need information that can only be obtained from the web service. >>> print bug.id send: 'GET /.../bugs/1 ...' ... 1 Let's look at some more collections. The project collection does lookups by project name. >>> project = launchpad.projects('firefox') >>> print project.name send: 'GET /.../firefox ...' ... firefox The project group collection does lookups by project group name. >>> group = launchpad.project_groups('gnome') >>> print group.name send: 'GET /.../gnome ...' ... gnome The distribution collection does lookups by distribution name. >>> distribution = launchpad.distributions('ubuntu') >>> print distribution.name send: 'GET /.../ubuntu ...' ... ubuntu The person collection does lookups by a person's Launchpad name. >>> person = launchpad.people('salgado') >>> print person.name send: 'GET /.../~salgado ...' ... salgado >>> team = launchpad.people('rosetta-admins') >>> print team.name send: 'GET /1.0/~rosetta-admins ...' ... rosetta-admins How does launchpadlib know that 'salgado' is a person and 'rosetta-admins' is a team? >>> print person.resource_type_link http://.../1.0/#person >>> 'default_membership_period' in person.lp_attributes False >>> print team.resource_type_link http://.../1.0/#team >>> 'default_membership_period' in team.lp_attributes True The truth is that it doesn't know, not before making that HTTP request. Until an HTTP request is made, launchpadlib assumes everything in launchpad.people[] is a team (since a team has strictly more capabilities than a person). >>> person2 = launchpad.people('salgado') >>> 'default_membership_period' in person2.lp_attributes True But accessing any attribute of an object--even trying to see what kind of object 'salgado' is--will trigger the HTTP request that will determine that 'salgado' is actually a person. >>> print person2.resource_type_link send: 'GET /.../~salgado ...' ... http://.../1.0/#person >>> 'default_membership_period' in person2.lp_attributes False Accessing an attribute of an object that might be a team will trigger the HTTP request, and then cause an error if the object turns out not to be a team. >>> person3 = launchpad.people('salgado') >>> person3.default_membership_period Traceback (most recent call last): AttributeError: ...api.launchpad.../~salgado object has no attribute 'default_membership_period' Cleanup. >>> httplib2.debuglevel = None PK ! 8��� � NEWS.Debian.gznu �[��� PK ! b77�Z Z � copyrightnu �[��� PK ! �p�> > n changelog.Debian.gznu �[��� PK ! I� � README.rstnu �[��� PK ! +B�iv v E docs/conf.py.gznu �[��� PK ! ��^ ^ � docs/files/mugshot.pngnu �[��� PK ! [q�9� � �$ docs/index.rstnu �[��� PK ! ���� q( docs/introduction.rst.gznu �[��� PK ! ;���o o �6 docs/hosted-files.rstnu �[��� PK ! � �C yB docs/CONTRIBUTING.rstnu �[��� PK ! D� �Z Z �G docs/operations.rstnu �[��� PK ! �졞O O pK docs/command-line.rstnu �[��� PK ! e��� � P docs/people.rst.gznu �[��� PK ! 8�Ka a *X docs/Makefilenu �[��� PK ! B�f �Z docs/toplevel.rstnu �[��� PK � h
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка