Restore 0.1.5 version from stash
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,131 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: asyncpg
|
||||
Version: 0.31.0
|
||||
Summary: An asyncio PostgreSQL driver
|
||||
Author-email: MagicStack Inc <hello@magic.io>
|
||||
License-Expression: Apache-2.0
|
||||
Project-URL: github, https://github.com/MagicStack/asyncpg
|
||||
Keywords: database,postgres
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Framework :: AsyncIO
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Operating System :: POSIX
|
||||
Classifier: Operating System :: MacOS :: MacOS X
|
||||
Classifier: Operating System :: Microsoft :: Windows
|
||||
Classifier: Programming Language :: Python :: 3 :: Only
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.14
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
||||
Classifier: Topic :: Database :: Front-Ends
|
||||
Requires-Python: >=3.9.0
|
||||
Description-Content-Type: text/x-rst
|
||||
License-File: LICENSE
|
||||
Requires-Dist: async_timeout>=4.0.3; python_version < "3.11.0"
|
||||
Provides-Extra: gssauth
|
||||
Requires-Dist: gssapi; platform_system != "Windows" and extra == "gssauth"
|
||||
Requires-Dist: sspilib; platform_system == "Windows" and extra == "gssauth"
|
||||
Dynamic: license-file
|
||||
|
||||
asyncpg -- A fast PostgreSQL Database Client Library for Python/asyncio
|
||||
=======================================================================
|
||||
|
||||
.. image:: https://github.com/MagicStack/asyncpg/workflows/Tests/badge.svg
|
||||
:target: https://github.com/MagicStack/asyncpg/actions?query=workflow%3ATests+branch%3Amaster
|
||||
:alt: GitHub Actions status
|
||||
.. image:: https://img.shields.io/pypi/v/asyncpg.svg
|
||||
:target: https://pypi.python.org/pypi/asyncpg
|
||||
|
||||
**asyncpg** is a database interface library designed specifically for
|
||||
PostgreSQL and Python/asyncio. asyncpg is an efficient, clean implementation
|
||||
of PostgreSQL server binary protocol for use with Python's ``asyncio``
|
||||
framework. You can read more about asyncpg in an introductory
|
||||
`blog post <http://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/>`_.
|
||||
|
||||
asyncpg requires Python 3.9 or later and is supported for PostgreSQL
|
||||
versions 9.5 to 18. Other PostgreSQL versions or other databases
|
||||
implementing the PostgreSQL protocol *may* work, but are not being
|
||||
actively tested.
|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
The project documentation can be found
|
||||
`here <https://magicstack.github.io/asyncpg/current/>`_.
|
||||
|
||||
|
||||
Performance
|
||||
-----------
|
||||
|
||||
In our testing asyncpg is, on average, **5x** faster than psycopg3.
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/MagicStack/asyncpg/master/performance.png?fddca40ab0
|
||||
:target: https://gistpreview.github.io/?0ed296e93523831ea0918d42dd1258c2
|
||||
|
||||
The above results are a geometric mean of benchmarks obtained with PostgreSQL
|
||||
`client driver benchmarking toolbench <https://github.com/MagicStack/pgbench>`_
|
||||
in June 2023 (click on the chart to see full details).
|
||||
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
asyncpg implements PostgreSQL server protocol natively and exposes its
|
||||
features directly, as opposed to hiding them behind a generic facade
|
||||
like DB-API.
|
||||
|
||||
This enables asyncpg to have easy-to-use support for:
|
||||
|
||||
* **prepared statements**
|
||||
* **scrollable cursors**
|
||||
* **partial iteration** on query results
|
||||
* automatic encoding and decoding of composite types, arrays,
|
||||
and any combination of those
|
||||
* straightforward support for custom data types
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
asyncpg is available on PyPI. When not using GSSAPI/SSPI authentication it
|
||||
has no dependencies. Use pip to install::
|
||||
|
||||
$ pip install asyncpg
|
||||
|
||||
If you need GSSAPI/SSPI authentication, use::
|
||||
|
||||
$ pip install 'asyncpg[gssauth]'
|
||||
|
||||
For more details, please `see the documentation
|
||||
<https://magicstack.github.io/asyncpg/current/installation.html>`_.
|
||||
|
||||
|
||||
Basic Usage
|
||||
-----------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
import asyncio
|
||||
import asyncpg
|
||||
|
||||
async def run():
|
||||
conn = await asyncpg.connect(user='user', password='password',
|
||||
database='database', host='127.0.0.1')
|
||||
values = await conn.fetch(
|
||||
'SELECT * FROM mytable WHERE id = $1',
|
||||
10,
|
||||
)
|
||||
await conn.close()
|
||||
|
||||
asyncio.run(run())
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
asyncpg is developed and distributed under the Apache 2.0 license.
|
||||
@@ -0,0 +1,115 @@
|
||||
asyncpg-0.31.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
asyncpg-0.31.0.dist-info/METADATA,sha256=xFAzDATNzGQ-eULRZCufxXXOSR8PS3cj5dJZWCOiB9A,4543
|
||||
asyncpg-0.31.0.dist-info/RECORD,,
|
||||
asyncpg-0.31.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
asyncpg-0.31.0.dist-info/WHEEL,sha256=8UP9x9puWI0P1V_d7K2oMTBqfeLNm21CTzZ_Ptr0NXU,101
|
||||
asyncpg-0.31.0.dist-info/licenses/LICENSE,sha256=CqxXCYIpatnpe8MnCEeeQM97YNV4fIrBh9hsFYPpLsA,11670
|
||||
asyncpg-0.31.0.dist-info/top_level.txt,sha256=DdhVhpzCq49mykkHNag6i9zuJx05_tx4CMZymM1F8dU,8
|
||||
asyncpg/__init__.py,sha256=zPBI0TbF0Js1-hOZEHxkU4sBFCjGvL2HHk0lUISdfVQ,671
|
||||
asyncpg/__pycache__/__init__.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/_asyncio_compat.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/_version.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/cluster.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/compat.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/connect_utils.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/connection.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/connresource.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/cursor.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/introspection.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/pool.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/prepared_stmt.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/serverversion.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/transaction.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/types.cpython-312.pyc,,
|
||||
asyncpg/__pycache__/utils.cpython-312.pyc,,
|
||||
asyncpg/_asyncio_compat.py,sha256=j7wJS_5nphmmbStbpljnzjSz1KAEUo-kQuC77uXIosk,2634
|
||||
asyncpg/_testbase/__init__.py,sha256=h3GN08oIqUwwAAOTZqqw-t1Qquq1p5PrPSj0zxE4pXk,17042
|
||||
asyncpg/_testbase/__pycache__/__init__.cpython-312.pyc,,
|
||||
asyncpg/_testbase/__pycache__/fuzzer.cpython-312.pyc,,
|
||||
asyncpg/_testbase/fuzzer.py,sha256=nYsnhLXQEquuJtWjWx3feHoj5_Ctu9bH6VCQ2ZsphFc,10110
|
||||
asyncpg/_version.py,sha256=7U9AK5laLCNBywWA71gZ2ZiI9UlQ-ZMmQxuh1lJ4Nd0,658
|
||||
asyncpg/cluster.py,sha256=S2OER6K6ET0CSmg3PO0xInRIZZHh-Gx96fDAw1WZ3YM,25205
|
||||
asyncpg/compat.py,sha256=XVRxuE-m5YPfciQesMWnLxdtXqP6nkTR_rqv1eo0uiU,2547
|
||||
asyncpg/connect_utils.py,sha256=9qmY2CX7pdze8V5yFjmvZCCTFXaADgUIe7IRn6K12r8,44751
|
||||
asyncpg/connection.py,sha256=K7E5NNCL30INLvyq9YaZdav6pvmMt8H2Vn1_XALZ_rY,101842
|
||||
asyncpg/connresource.py,sha256=T0vpfsZuS96AkltQfpynAgPLLheVDy_hSj0ejcZkbAQ,1428
|
||||
asyncpg/cursor.py,sha256=noklB-NjAeYAhhI705QJuKuXoI7ZZ0hyMUKqMdDxTxw,9483
|
||||
asyncpg/exceptions/__init__.py,sha256=YweDBIp9w_LgIZj6oD_-7mDZjrB_Msqzv1THw26o5zQ,30368
|
||||
asyncpg/exceptions/__pycache__/__init__.cpython-312.pyc,,
|
||||
asyncpg/exceptions/__pycache__/_base.cpython-312.pyc,,
|
||||
asyncpg/exceptions/_base.py,sha256=CJy579cVjuf7JbIUY01MouaElHqg_obGC_cuT8nPtkQ,9559
|
||||
asyncpg/introspection.py,sha256=ss8ejDdGttYioxq1r1237Z-LaIMvZrGp_7-Wd1XgKUI,9636
|
||||
asyncpg/pgproto/__init__.pxd,sha256=d36iPoZbiEOs4JLdV2lApUgy664JJZVdAvZTznHs2Qc,218
|
||||
asyncpg/pgproto/__init__.py,sha256=d36iPoZbiEOs4JLdV2lApUgy664JJZVdAvZTznHs2Qc,218
|
||||
asyncpg/pgproto/__pycache__/__init__.cpython-312.pyc,,
|
||||
asyncpg/pgproto/__pycache__/types.cpython-312.pyc,,
|
||||
asyncpg/pgproto/buffer.pxd,sha256=pvn-OqcEW8cY1PeLEfVNN_KyvfvZsgldpwKIzSi9VJk,4685
|
||||
asyncpg/pgproto/buffer.pxi,sha256=5PISOIdSIAbiYGkOuQbsF4yc65w9egZUHddVmJ_CkXw,96
|
||||
asyncpg/pgproto/buffer.pyx,sha256=Qos8M7zLCPGOq0vQb262ukZexDjWHpq_swpo-xrBjCo,26539
|
||||
asyncpg/pgproto/codecs/__init__.pxd,sha256=izrD6hWK-_kokZrcWmSVVYfNpGVakQZrfYCVg4rAv8I,6289
|
||||
asyncpg/pgproto/codecs/bits.pyx,sha256=IBXVWM2NdWF--d54yvBfSdvFhxV_TQxB97d20dTFxRY,1522
|
||||
asyncpg/pgproto/codecs/bytea.pyx,sha256=4AVKSfhi25DR4N9XCm13O1ahWohGnd2wNwr-lW9jfsg,1031
|
||||
asyncpg/pgproto/codecs/context.pyx,sha256=gpE_ncSaAOi-sIC7ltC3K7E5yLokK_GP4Ekq9v4q2YM,649
|
||||
asyncpg/pgproto/codecs/datetime.pyx,sha256=Pt0ylKIg3-HV8Xa4_TN8zsDiWOVmu2g-H431xkEMx2g,13278
|
||||
asyncpg/pgproto/codecs/float.pyx,sha256=XNUeYQKGBpyM6ySDD0L3W2Jg0cqvV5fh5Xf8y4r5ido,1065
|
||||
asyncpg/pgproto/codecs/geometry.pyx,sha256=A2raDcmGNftGi-EdsrB7CsZgk5BA3sp1RATh9bl0nwk,4829
|
||||
asyncpg/pgproto/codecs/hstore.pyx,sha256=Dx_IkFLLr9fN8cX8lThv-kXtC82itVzwZmwc-RgRKfw,2091
|
||||
asyncpg/pgproto/codecs/int.pyx,sha256=0lI3Elu--UmsZh5yzhkbAEQb3z0hnCAYb8M1llfI4gU,4670
|
||||
asyncpg/pgproto/codecs/json.pyx,sha256=q8OAGbUET_Mg8YEQXN08oOVp5ZgrPrIwl_5Up0rJMks,1511
|
||||
asyncpg/pgproto/codecs/jsonpath.pyx,sha256=z8OWN8Ls0S3-WoliBTGcE3OiLQFAAaIQ3fmFvH0Ut6I,862
|
||||
asyncpg/pgproto/codecs/misc.pyx,sha256=0v8FW97oI20zgvvricyatNsGHtNt86qy-RwDpZmWl4Q,500
|
||||
asyncpg/pgproto/codecs/network.pyx,sha256=144a6aVIDaVVk1hc0B0nSOUbt4c1pLkVDgrpGOI66fw,4056
|
||||
asyncpg/pgproto/codecs/numeric.pyx,sha256=MHDUUiUkZ6GS38snxQsPlkKGP2RcwyarWlhC72QAiwk,10729
|
||||
asyncpg/pgproto/codecs/pg_snapshot.pyx,sha256=xFPvsDqm2vmAu7LzWo3YpINZnK4qId9Bjw_EWZGx4go,1877
|
||||
asyncpg/pgproto/codecs/text.pyx,sha256=X28sw55ugCDuV81bE9A33rGNNNToUOI1mPnVViZbIcM,1564
|
||||
asyncpg/pgproto/codecs/tid.pyx,sha256=IJV_dQb0RZTIv16oXZLsZBG--9hP3yeIP2KyNzRw9Dg,1600
|
||||
asyncpg/pgproto/codecs/uuid.pyx,sha256=Qy-ctKASB6dEwxDeSjaKCtL7hBTWSPkjLh2SbesJDmI,882
|
||||
asyncpg/pgproto/consts.pxi,sha256=jcSvq5zhLd0-HWiamsJObnpzZo9Y4_p4uNunWjI4j9c,291
|
||||
asyncpg/pgproto/cpythonx.pxd,sha256=Q0R3NqDfX3hMKYCv2EHRSAzBH2oQGQMCbJGivsPGHeQ,759
|
||||
asyncpg/pgproto/debug.pxd,sha256=8I8LhCtxx0ItNinKMUmC3TrwVpkuvYDDhP4OVse12ns,273
|
||||
asyncpg/pgproto/frb.pxd,sha256=qMMzdrR-_u9jZ42Jn5YBU1fKkczNtTbFGNLobi3lX7Y,1260
|
||||
asyncpg/pgproto/frb.pyx,sha256=7ARAMMP0nMQpkLCpKfAIl57vswVYNkRRQ3vEZ_f9xBA,421
|
||||
asyncpg/pgproto/hton.pxd,sha256=rt7WLZasAJplt3o1MYsIQlfTZGbecpgdLoQxOcJD-_Q,977
|
||||
asyncpg/pgproto/pgproto.cp312-win_amd64.pyd,sha256=lVU8jyvrEztKyFzHkLgvEht7tF3-kl2__yeg8ShYxkE,250880
|
||||
asyncpg/pgproto/pgproto.pxd,sha256=vfSBam43bOQKliL0fGdt8608D_pBXXb-idnSuT6orUY,449
|
||||
asyncpg/pgproto/pgproto.pyi,sha256=MdQERQJpw0ke-HFTzS-bLe9yllhT3Zpm0xkm41sBXcc,431
|
||||
asyncpg/pgproto/pgproto.pyx,sha256=bjCy8iIZj7IFj0BRegv87xpoYQkzrFvPFEyowko8nlg,1298
|
||||
asyncpg/pgproto/tohex.pxd,sha256=KhhZRaf-jl0jzOk_-XSBrd0asszmVFZ1CHaeCVE-unU,371
|
||||
asyncpg/pgproto/types.py,sha256=OG4CICWtJFBFUw8d8RkXEHhSrgPQ0WD4LhPUcsRCWI4,13210
|
||||
asyncpg/pgproto/uuid.pyx,sha256=TM5yH32h2JbnbQn4fOpmLWoUi8qpOgwKTXfVwyj_wKA,10602
|
||||
asyncpg/pool.py,sha256=cDiQxK0wcC1e3QE4BY5AyVtSfUNjL9h5VBMTjYFZmYI,43616
|
||||
asyncpg/prepared_stmt.py,sha256=vs14nWb0-5rrPELZ2cq7RAG9OOCv01cqwGivanZJ-9Y,10069
|
||||
asyncpg/protocol/__init__.py,sha256=b3RK7BVs8tPRvfCVHLXvfcxu_d1yZNz3pMHYcBg6E2M,371
|
||||
asyncpg/protocol/__pycache__/__init__.cpython-312.pyc,,
|
||||
asyncpg/protocol/codecs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
asyncpg/protocol/codecs/__pycache__/__init__.cpython-312.pyc,,
|
||||
asyncpg/protocol/codecs/array.pyx,sha256=OIkcbecdoh84ZPfT26nElg_yZp3EsCH8vkwuVMhycBg,30361
|
||||
asyncpg/protocol/codecs/base.pxd,sha256=roioqk7R3Ji2-G0zxTt3t4-cwAXG-q4ZtjL-jrdf6Eo,6813
|
||||
asyncpg/protocol/codecs/base.pyx,sha256=V9p5iUGQbVy3gsfGcywJcKESp1lpZYvp_qXPC0S2g50,35382
|
||||
asyncpg/protocol/codecs/pgproto.pyx,sha256=vKWJ76Ht6bERXi-8gZAjiKOkZ29wJFpDcVt6or9SQO8,17659
|
||||
asyncpg/protocol/codecs/range.pyx,sha256=q7AprJMdRbF5R0hNLXQz42y1CSYiL2z51DHmPCX95Eo,6566
|
||||
asyncpg/protocol/codecs/record.pyx,sha256=RzE8ypCFSPiH4pJdEX6178UEd5TStpG3lwd0SEILhfI,2433
|
||||
asyncpg/protocol/codecs/textutils.pyx,sha256=O3QiS3R1_IDLT5U29cq3Nb_fLUoP-evX4ff93dW8Wrk,2110
|
||||
asyncpg/protocol/consts.pxi,sha256=wyf2ctwkBArBS20kiKZ9MuwEdHIORbjaWUmLAGT5grg,393
|
||||
asyncpg/protocol/coreproto.pxd,sha256=8yp3vniiziM2RTycHGI6pb6e3TNfRhFYF2QcJdNZsQY,6407
|
||||
asyncpg/protocol/coreproto.pyx,sha256=58u0nEtWdkhai90_UAq1-EQiBYDSdv4ueXwZH5gbWz8,42238
|
||||
asyncpg/protocol/cpythonx.pxd,sha256=N0sNOn2zYq9LdVpCbk5l-UQEXZKJxlgTBEvuJRIia4E,632
|
||||
asyncpg/protocol/encodings.pyx,sha256=4kOHTAeRYGSN04oVhpbfHBDs2ZlwGlMhJAv-UN1NJpA,1697
|
||||
asyncpg/protocol/pgtypes.pxi,sha256=HFb44S39jRlDRtC-LqbXYunUkipCwto-wQ7ABrt-Ilw,7184
|
||||
asyncpg/protocol/prepared_stmt.pxd,sha256=c1-Vj-6INV0c9EOjHn1H03dEah1lJ4zJWXa-G0WkGs8,1154
|
||||
asyncpg/protocol/prepared_stmt.pyx,sha256=le1lXa88CnF06qacFczV3kC6BC6EaAvF50va9bGg5wk,13431
|
||||
asyncpg/protocol/protocol.cp312-win_amd64.pyd,sha256=m8N_Tz7N05uDPAa_p1Wq5_T4Qs8cLwoY-bt-sKiiAds,700416
|
||||
asyncpg/protocol/protocol.pxd,sha256=M5nfEYFA8F8kbXoCiIhWt7MgiKfxhv82IqvSGFjWJyI,2004
|
||||
asyncpg/protocol/protocol.pyi,sha256=L_1Hvt0TQT1oS6bVNU_d7a3h_CDJ5g8n_Ev0jkbf0nk,9390
|
||||
asyncpg/protocol/protocol.pyx,sha256=GtAQ9D_dsytg1mON__iHahtGjCQ5NKDAJUWw-p4a7SE,35524
|
||||
asyncpg/protocol/record.cp312-win_amd64.pyd,sha256=RFtKsLGf5BlLDKLNY5U04ki0ODyJaMXX3B3cQ_QaiQ4,28160
|
||||
asyncpg/protocol/record.pyi,sha256=La-HYJGkGc4l7Iyzk-mtsRh52D6er-TURWKkhrh3Sqw,770
|
||||
asyncpg/protocol/recordcapi.pxd,sha256=4_Jg7XV_pTUcX-ac73H4RjNf3qwaEAgQBaCh0n-btTo,374
|
||||
asyncpg/protocol/scram.pxd,sha256=WHz6b-CFCPI3rePwxK096bZQR0mvI1iYprQ-ZuhrWdk,1330
|
||||
asyncpg/protocol/scram.pyx,sha256=PFqtLizBPPKKspPkI28djXT61mNmwbMSTCdPjweY3S8,14935
|
||||
asyncpg/protocol/settings.pxd,sha256=BPoU8ejCK8f6r0HoKnxNGRfN9zg6v2F46ZoxRpTUskw,1096
|
||||
asyncpg/protocol/settings.pyx,sha256=-_vPVfrHTPMJC4AaBGfNmHhV1d_BFdteF_8KgLuic6U,3883
|
||||
asyncpg/serverversion.py,sha256=qwzWriMe3qvc4BUmPqg1qWE5sKmpq9vAF6UTWf2NOEU,2203
|
||||
asyncpg/transaction.py,sha256=pXOb_B9gESb7M6jEumeSZvaQEoSF11_R9fNF820EtdQ,8743
|
||||
asyncpg/types.py,sha256=al0z9MOwHvjTdk9AknJiFaFB1KYeb0hKaUySdC8vMP0,5735
|
||||
asyncpg/utils.py,sha256=f4Nbq17QGHAq4TIVWUA8qzho6mxxBfcbxqnyZkPYFg0,1547
|
||||
@@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (80.9.0)
|
||||
Root-Is-Purelib: false
|
||||
Tag: cp312-cp312-win_amd64
|
||||
|
||||
@@ -0,0 +1,204 @@
|
||||
Copyright (C) 2016-present the asyncpg authors and contributors.
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright (C) 2016-present the asyncpg authors and contributors
|
||||
<see AUTHORS file>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1 @@
|
||||
asyncpg
|
||||
Reference in New Issue
Block a user