METADATA 4.8 KB

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