sqlite-http 0.1.0a2__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
noop.cp311-win_amd64.pyd
ADDED
|
File without changes
|
sqlite_http/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import sqlite3
|
|
3
|
+
|
|
4
|
+
from sqlite_http.version import __version_info__, __version__
|
|
5
|
+
|
|
6
|
+
ENTRYPOINT_NO_NETWORK = "sqlite3_http_no_network_init"
|
|
7
|
+
|
|
8
|
+
def loadable_path():
|
|
9
|
+
loadable_path = os.path.join(os.path.dirname(__file__), "http0")
|
|
10
|
+
return os.path.normpath(loadable_path)
|
|
11
|
+
|
|
12
|
+
def load(connection: sqlite3.Connection) -> None:
|
|
13
|
+
connection.load_extension(loadable_path())
|
|
14
|
+
|
|
15
|
+
def load_no_network(connection: sqlite3.Connection) -> None:
|
|
16
|
+
connection.execute('select load_extension(?, ?)', [loadable_path(), ENTRYPOINT_NO_NETWORK]).fetchone()
|
sqlite_http/http0.dll
ADDED
|
Binary file
|
sqlite_http/version.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sqlite-http
|
|
3
|
+
Version: 0.1.0a2
|
|
4
|
+
Home-page: https://github.com/asg017/sqlite-http
|
|
5
|
+
Author: Alex Garcia
|
|
6
|
+
License: MIT License, Apache License, Version 2.0
|
|
7
|
+
Project-URL: Issues, https://github.com/asg017/sqlite-http/issues
|
|
8
|
+
Project-URL: CI, https://github.com/asg017/sqlite-http/actions
|
|
9
|
+
Project-URL: Changelog, https://github.com/asg017/sqlite-http/releases
|
|
10
|
+
Requires-Python: >=3.7
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Provides-Extra: test
|
|
13
|
+
Requires-Dist: pytest ; extra == 'test'
|
|
14
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
noop.cp311-win_amd64.pyd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
sqlite_http/__init__.py,sha256=8GXFU1nqrrYru_4gLteImIwxMHtahdb6miVLAy_g-tI,556
|
|
3
|
+
sqlite_http/http0.dll,sha256=dPZaO5slhIDMtZEL1RjaMyupQzfOrIY2JA4ezl47r8c,15204015
|
|
4
|
+
sqlite_http/version.py,sha256=txzdlvXDheJyJhUmZC2G_RphxDRFDfp5KoSciNOE7tw,81
|
|
5
|
+
sqlite_http-0.1.0a2.dist-info/METADATA,sha256=BF68HdW6jpvlReq71_39n5URklQdOVXWU4lIFOC76oY,515
|
|
6
|
+
sqlite_http-0.1.0a2.dist-info/WHEEL,sha256=9wvhO-5NhjjD8YmmxAvXTPQXMDOZ50W5vklzeoqFtkM,102
|
|
7
|
+
sqlite_http-0.1.0a2.dist-info/top_level.txt,sha256=TBYmRyqZs7bPtMoy6C7UI8UkK-JP-yiT-HVEwXG_i_4,17
|
|
8
|
+
sqlite_http-0.1.0a2.dist-info/RECORD,,
|