-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 15.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="en-US" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="generator" content="VuePress 2.0.0-rc.9" />
<meta name="theme" content="VuePress Theme Hope 2.0.0-rc.36" />
<style>
html {
background: var(--bg-color, #fff);
}
html[data-theme="dark"] {
background: var(--bg-color, #1d1e1f);
}
body {
background: var(--bg-color);
}
</style>
<script>
const userMode = localStorage.getItem("vuepress-theme-hope-scheme");
const systemDarkMode =
window.matchMedia &&
window.matchMedia("(prefers-color-scheme: dark)").matches;
if (userMode === "dark" || (userMode !== "light" && systemDarkMode)) {
document.documentElement.setAttribute("data-theme", "dark");
}
</script>
<meta property="og:url" content="https://psqlpy-python.github.io/"><meta property="og:site_name" content="PSQLPy"><meta property="og:title" content="PSQLPy documentation"><meta property="og:description" content="What is PSQLPy PSQLPy is a new Python driver for PostgreSQL fully written in Rust. It was inspired by Psycopg3 and AsyncPG. This project has two main goals: Make a interaction w..."><meta property="og:type" content="website"><meta property="og:locale" content="en-US"><meta property="og:updated_time" content="2024-12-27T18:31:35.000Z"><meta property="article:modified_time" content="2024-12-27T18:31:35.000Z"><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"PSQLPy documentation","description":"What is PSQLPy PSQLPy is a new Python driver for PostgreSQL fully written in Rust. It was inspired by Psycopg3 and AsyncPG. This project has two main goals: Make a interaction w..."}</script><title>PSQLPy documentation | PSQLPy</title><meta name="description" content="What is PSQLPy PSQLPy is a new Python driver for PostgreSQL fully written in Rust. It was inspired by Psycopg3 and AsyncPG. This project has two main goals: Make a interaction w...">
<link rel="preload" href="/assets/style-DvihyBqM.css" as="style"><link rel="stylesheet" href="/assets/style-DvihyBqM.css">
<link rel="modulepreload" href="/assets/app-BGxXbQmK.js"><link rel="modulepreload" href="/assets/index.html-DSV5UveU.js"><link rel="modulepreload" href="/assets/plugin-vue_export-helper-DlAUqK2U.js">
<link rel="prefetch" href="/assets/benchmarks.html-DjJpX9Qp.js" as="script"><link rel="prefetch" href="/assets/contribute.html-2QWOVxKD.js" as="script"><link rel="prefetch" href="/assets/faq.html-B6hg5KSI.js" as="script"><link rel="prefetch" href="/assets/components_overview.html-Bg2T2IUn.js" as="script"><link rel="prefetch" href="/assets/connection.html-CBoIA22j.js" as="script"><link rel="prefetch" href="/assets/connection_pool.html-D8rhWdFP.js" as="script"><link rel="prefetch" href="/assets/connection_pool_builder.html-C5pDwv9t.js" as="script"><link rel="prefetch" href="/assets/cursor.html-3gXoWmdP.js" as="script"><link rel="prefetch" href="/assets/exceptions.html-Ce6bYNUH.js" as="script"><link rel="prefetch" href="/assets/results.html-BbPoWAY-.js" as="script"><link rel="prefetch" href="/assets/transaction.html-DD2DMD1r.js" as="script"><link rel="prefetch" href="/assets/components_overview.html-xwoV7aqL.js" as="script"><link rel="prefetch" href="/assets/introduction.html-C_OVmCnK.js" as="script"><link rel="prefetch" href="/assets/lets_start.html-Cmc4ZO0y.js" as="script"><link rel="prefetch" href="/assets/usage.html-CbUN1BC3.js" as="script"><link rel="prefetch" href="/assets/aiohttp.html-CHCberQu.js" as="script"><link rel="prefetch" href="/assets/blacksheep.html-CQBExeff.js" as="script"><link rel="prefetch" href="/assets/fastapi.html-zSAFFZwf.js" as="script"><link rel="prefetch" href="/assets/frameworks.html-B6nVdVDs.js" as="script"><link rel="prefetch" href="/assets/litestar.html-Dck8vFV-.js" as="script"><link rel="prefetch" href="/assets/robyn.html-CVdW7A6z.js" as="script"><link rel="prefetch" href="/assets/predefined_row_factories.html-D1Ydi5dB.js" as="script"><link rel="prefetch" href="/assets/row_factories.html-C-6YDuU6.js" as="script"><link rel="prefetch" href="/assets/advanced_type_usage.html-L-kciyW7.js" as="script"><link rel="prefetch" href="/assets/array_types.html-Fxiw7mhT.js" as="script"><link rel="prefetch" href="/assets/extra_types.html-CrjLNuZO.js" as="script"><link rel="prefetch" href="/assets/supported_types.html-BZehPcCC.js" as="script"><link rel="prefetch" href="/assets/types.html-DrMXNHDc.js" as="script"><link rel="prefetch" href="/assets/404.html-CaY5Zz0S.js" as="script"><link rel="prefetch" href="/assets/index.html-dI0dCArH.js" as="script"><link rel="prefetch" href="/assets/index.html-CQ2CVRrK.js" as="script"><link rel="prefetch" href="/assets/index.html-BBBosAHr.js" as="script"><link rel="prefetch" href="/assets/index.html-DKImFf1F.js" as="script"><link rel="prefetch" href="/assets/index.html-4BRthd8v.js" as="script"><link rel="prefetch" href="/assets/index.html-B-TA3biT.js" as="script"><link rel="prefetch" href="/assets/auto-BmtazRt5.js" as="script"><link rel="prefetch" href="/assets/mermaid.core-Dbkw71Ch.js" as="script"><link rel="prefetch" href="/assets/photoswipe.esm-GXRgw7eJ.js" as="script"><link rel="prefetch" href="/assets/SearchResult-CHDEwWAL.js" as="script">
</head>
<body>
<div id="app"><!--[--><!--[--><!--[--><span tabindex="-1"></span><a href="#main-content" class="vp-skip-link sr-only">Skip to main content</a><!--]--><!--[--><div class="theme-container no-sidebar"><!--[--><header id="navbar" class="vp-navbar"><div class="vp-navbar-start"><button type="button" class="vp-toggle-sidebar-button" title="Toggle Sidebar"><span class="icon"></span></button><!--[--><!----><!--]--><!--[--><a class="route-link vp-brand" href="/"><!----><!----><span class="vp-site-name">PSQLPy</span></a><!--]--><!--[--><!----><!--]--></div><div class="vp-navbar-center"><!--[--><!----><!--]--><!--[--><!----><!--]--><!--[--><!----><!--]--></div><div class="vp-navbar-end"><!--[--><!----><!--]--><!--[--><!----><div class="vp-nav-item vp-action"><a class="vp-action-link" href="https://github.com/psqlpy-python/psqlpy" target="_blank" rel="noopener noreferrer" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="icon github-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="github icon" style="width:1.25rem;height:1.25rem;vertical-align:middle;"><path d="M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"></path></svg></a></div><div class="vp-nav-item hide-in-mobile"><button type="button" id="appearance-switch"><svg xmlns="http://www.w3.org/2000/svg" class="icon auto-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="auto icon" style="display:block;"><path d="M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" class="icon dark-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="dark icon" style="display:none;"><path d="M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" class="icon light-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="light icon" style="display:none;"><path d="M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"></path></svg></button></div><!--[--><button type="button" class="search-pro-button" aria-label="Search"><svg xmlns="http://www.w3.org/2000/svg" class="icon search-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="search icon"><path d="M192 480a256 256 0 1 1 512 0 256 256 0 0 1-512 0m631.776 362.496-143.2-143.168A318.464 318.464 0 0 0 768 480c0-176.736-143.264-320-320-320S128 303.264 128 480s143.264 320 320 320a318.016 318.016 0 0 0 184.16-58.592l146.336 146.368c12.512 12.48 32.768 12.48 45.28 0 12.48-12.512 12.48-32.768 0-45.28"></path></svg><div class="search-pro-placeholder">Search</div><div class="search-pro-key-hints"><kbd class="search-pro-key">Ctrl</kbd><kbd class="search-pro-key">K</kbd></div></button><!--]--><!--]--><!--[--><!----><!--]--><button type="button" class="vp-toggle-navbar-button" aria-label="Toggle Navbar" aria-expanded="false" aria-controls="nav-screen"><span><span class="vp-top"></span><span class="vp-middle"></span><span class="vp-bottom"></span></span></button></div></header><!----><!--]--><!----><div class="toggle-sidebar-wrapper"><span class="arrow start"></span></div><aside id="sidebar" class="vp-sidebar"><!--[--><!----><!--]--><ul class="vp-sidebar-links"></ul><!--[--><!----><!--]--></aside><!--[--><main id="main-content" class="vp-project-home" aria-labelledby="main-title"><!----><header class="vp-hero-info-wrapper"><!--[--><!----><!----><!--]--><div class="vp-hero-info"><!--[--><img class="vp-hero-image" style="" src="/./logo.png" alt="PSQLPy"><!--]--><div class="vp-hero-infos"><h1 id="main-title">PSQLPy</h1><p id="main-description">Asynchronous Python PostgreSQL driver written in Rust</p><p class="vp-hero-actions"><a class="route-link nav-link vp-hero-action primary" href="/./introduction/lets_start.html" aria-label="Let's start"><!---->Let's start<!----></a><a class="route-link nav-link vp-hero-action default" href="/./introduction/introduction.html" aria-label="What is PSQLPy?"><!---->What is PSQLPy?<!----></a></p></div></div></header><!--[--><div class="vp-feature-wrapper"><!----><!----><div class="vp-feature" style=""><!--[--><!----><!----><!--]--><!--[--><!----><!----><!--]--><div class="vp-features"><div class="vp-feature-item"><h3 class="vp-feature-title"><!----><span>Fully Asynchronous</span></h3><p class="vp-feature-details">Support native rust/python asynchronous. It's easy as it seems.</p></div><div class="vp-feature-item"><h3 class="vp-feature-title"><!----><span>Fully Typed</span></h3><p class="vp-feature-details">PSQLPy has type for each class, function, method and etc.</p></div><div class="vp-feature-item"><h3 class="vp-feature-title"><!----><span>Blazingly Fast</span></h3><p class="vp-feature-details">PSQLPy beats others PostgreSQL drivers in different benchmarks.</p></div><div class="vp-feature-item"><h3 class="vp-feature-title"><!----><span>Under active development</span></h3><p class="vp-feature-details">PSQLPy is under active development.</p></div></div></div></div><!--]--><!----><div class="theme-hope-content"><h2 id="what-is-psqlpy" tabindex="-1"><a class="header-anchor" href="#what-is-psqlpy"><span>What is PSQLPy</span></a></h2><p><code>PSQLPy</code> is a new Python driver for <code>PostgreSQL</code> fully written in Rust. It was inspired by <code>Psycopg3</code> and <code>AsyncPG</code>. This project has two main goals: Make a interaction with the database as fast as possible and now <code>PSQLPy</code> shows itself to be times faster than the above drivers. Don't make useless abstractions and make it like a mirror to <code>PostgreSQL</code>.</p><p>It has all necessary components to create high-load and fault tolerance applications.</p><h2 id="how-to-install" tabindex="-1"><a class="header-anchor" href="#how-to-install"><span>How to install</span></a></h2><div class="vp-tabs"><div class="vp-tabs-nav" role="tablist"><button type="button" class="vp-tab-nav active" role="tab" aria-controls="tab-12-0" aria-selected="true">pip</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-12-1" aria-selected="false">poetry</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-12-2" aria-selected="false">git</button></div><!--[--><div class="vp-tab active" id="tab-12-0" role="tabpanel" aria-expanded="true"><div class="vp-tab-title">pip</div><!--[--><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>pip <span class="token function">install</span> psqlpy
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><!--]--></div><div class="vp-tab" id="tab-12-1" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">poetry</div><!--[--><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>poetry <span class="token function">add</span> psqlpy
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><!--]--></div><div class="vp-tab" id="tab-12-2" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">git</div><!--[--><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>pip <span class="token function">install</span> git+https://github.com/psqlpy-python/psqlpy
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><!--]--></div><!--]--></div><h2 id="join-community" tabindex="-1"><a class="header-anchor" href="#join-community"><span>Join community!</span></a></h2><p>You can get support from the creators and users of <code>PSQLPy</code> in some social media:</p><ul><li><a href="https://t.me/+f3Y8mYKgXxhmYThi" target="_blank" rel="noopener noreferrer">Telegram<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a></li></ul></div><!----></main><!--]--><!----></div><!--]--><!--]--><!--[--><!----><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-BGxXbQmK.js" defer></script>
</body>
</html>