METADATA 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Metadata-Version: 2.1
  2. Name: psycopg2
  3. Version: 2.9.3
  4. Summary: psycopg2 - Python-PostgreSQL Database Adapter
  5. Home-page: https://psycopg.org/
  6. Author: Federico Di Gregorio
  7. Author-email: fog@initd.org
  8. Maintainer: Daniele Varrazzo
  9. Maintainer-email: daniele.varrazzo@gmail.com
  10. License: LGPL with exceptions
  11. Project-URL: Homepage, https://psycopg.org/
  12. Project-URL: Documentation, https://www.psycopg.org/docs/
  13. Project-URL: Code, https://github.com/psycopg/psycopg2
  14. Project-URL: Issue Tracker, https://github.com/psycopg/psycopg2/issues
  15. Project-URL: Download, https://pypi.org/project/psycopg2/
  16. Platform: any
  17. Classifier: Development Status :: 5 - Production/Stable
  18. Classifier: Intended Audience :: Developers
  19. Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
  20. Classifier: Programming Language :: Python
  21. Classifier: Programming Language :: Python :: 3
  22. Classifier: Programming Language :: Python :: 3.6
  23. Classifier: Programming Language :: Python :: 3.7
  24. Classifier: Programming Language :: Python :: 3.8
  25. Classifier: Programming Language :: Python :: 3.9
  26. Classifier: Programming Language :: Python :: 3.10
  27. Classifier: Programming Language :: Python :: 3 :: Only
  28. Classifier: Programming Language :: Python :: Implementation :: CPython
  29. Classifier: Programming Language :: C
  30. Classifier: Programming Language :: SQL
  31. Classifier: Topic :: Database
  32. Classifier: Topic :: Database :: Front-Ends
  33. Classifier: Topic :: Software Development
  34. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  35. Classifier: Operating System :: Microsoft :: Windows
  36. Classifier: Operating System :: Unix
  37. Requires-Python: >=3.6
  38. License-File: LICENSE
  39. Psycopg is the most popular PostgreSQL database adapter for the Python
  40. programming language. Its main features are the complete implementation of
  41. the Python DB API 2.0 specification and the thread safety (several threads can
  42. share the same connection). It was designed for heavily multi-threaded
  43. applications that create and destroy lots of cursors and make a large number
  44. of concurrent "INSERT"s or "UPDATE"s.
  45. Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in being
  46. both efficient and secure. It features client-side and server-side cursors,
  47. asynchronous communication and notifications, "COPY TO/COPY FROM" support.
  48. Many Python types are supported out-of-the-box and adapted to matching
  49. PostgreSQL data types; adaptation can be extended and customized thanks to a
  50. flexible objects adaptation system.
  51. Psycopg 2 is both Unicode and Python 3 friendly.
  52. Documentation
  53. -------------
  54. Documentation is included in the ``doc`` directory and is `available online`__.
  55. .. __: https://www.psycopg.org/docs/
  56. For any other resource (source code repository, bug tracker, mailing list)
  57. please check the `project homepage`__.
  58. .. __: https://psycopg.org/
  59. Installation
  60. ------------
  61. Building Psycopg requires a few prerequisites (a C compiler, some development
  62. packages): please check the install_ and the faq_ documents in the ``doc`` dir
  63. or online for the details.
  64. If prerequisites are met, you can install psycopg like any other Python
  65. package, using ``pip`` to download it from PyPI_::
  66. $ pip install psycopg2
  67. or using ``setup.py`` if you have downloaded the source package locally::
  68. $ python setup.py build
  69. $ sudo python setup.py install
  70. You can also obtain a stand-alone package, not requiring a compiler or
  71. external libraries, by installing the `psycopg2-binary`_ package from PyPI::
  72. $ pip install psycopg2-binary
  73. The binary package is a practical choice for development and testing but in
  74. production it is advised to use the package built from sources.
  75. .. _PyPI: https://pypi.org/project/psycopg2/
  76. .. _psycopg2-binary: https://pypi.org/project/psycopg2-binary/
  77. .. _install: https://www.psycopg.org/docs/install.html#install-from-source
  78. .. _faq: https://www.psycopg.org/docs/faq.html#faq-compile
  79. :Linux/OSX: |gh-actions|
  80. :Windows: |appveyor|
  81. .. |gh-actions| image:: https://github.com/psycopg/psycopg2/actions/workflows/tests.yml/badge.svg
  82. :target: https://github.com/psycopg/psycopg2/actions/workflows/tests.yml
  83. :alt: Linux and OSX build status
  84. .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/psycopg/psycopg2?branch=master&svg=true
  85. :target: https://ci.appveyor.com/project/psycopg/psycopg2/branch/master
  86. :alt: Windows build status