No project description provided
Project description
FastQL API
Spin up a blazing fast rust GraphQL server in one line of python code.
NB. This is currently prototype only
How to:
pip install fastqlapi
example:
from fastqlapi import fastql_server
def test(**kwargs):
print (kwargs['input'])
return {
'output': "test response",
}
fastql_server.start(callback=test, args={"input": { "type": "String", "description": "this is my input field"}}, fields={"output": { "type": "String"}})
to try with an example schema:
from fastqlapi import fastql_server, test_args, test_fields
def test(**kwargs):
print (kwargs['prompt'])
return {
"tokens": ["example", "tokens"],
}
fastql_server.start(callback=test, args=testargs, fields=testfields)
FastQL implements all the basic GraphQL types and array types, including required types but not currently required subtypes (an element of a list).
Environment variables
- RUST_LOG='debug' Rust log level
- RUST_BACKTRACE=1 Add rust backtrace to log
- RUST_QUIET='' No rust logs
- GRAPHQL_HOST='localhost'
- GRAPHQL_PORT='8020'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastqlapi-0.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5f85d461a50734fe67b21b562ac65c05e3144cb504f1ae1f66fa972f9794923
|
|
| MD5 |
1ab63e48861c8605fce3db01b33f699c
|
|
| BLAKE2b-256 |
9c5f3400d7154f8fcd398308e8db10688c0991bab4109bd3383f45053d6f29ba
|
File details
Details for the file fastqlapi-0.2.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
683d97b39ae8289370a8530e33ad9df92895e1ec41c08207e226bb30335f7652
|
|
| MD5 |
86fcbe6ef423f0a4e3dc08c2b7f73afe
|
|
| BLAKE2b-256 |
f55f24dd3c33c6f68cc35d4fa644237ab03b8a9cb12411d0bf5e015924fa2c66
|
File details
Details for the file fastqlapi-0.2.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07cc72518036ae01d8fba823ee9a3c01f8806c18c80361e7949d8bb2e8a26656
|
|
| MD5 |
ea1469128a30f00cf9bc34c002f94be4
|
|
| BLAKE2b-256 |
04125d25dcac05e7479c19fae34575dcb8ea984b010df014471835b66b534935
|
File details
Details for the file fastqlapi-0.2.1-cp311-none-win_amd64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp311-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1781f2ebce454f7b7f5375a57d323268f83ae7decbdfa7486323f0824468cf7
|
|
| MD5 |
c5d78a1de79265bd5ec31538443f008e
|
|
| BLAKE2b-256 |
a100453ce92f444a7fc2a0e7857d4e27c6acca078cb5b404f9d319e81a19be85
|
File details
Details for the file fastqlapi-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7484a27955241ac161437bf97123f02257648232154dec1a7cfbca9167f4756
|
|
| MD5 |
9b8226a7e05d8a985576c12350004a5d
|
|
| BLAKE2b-256 |
85ffb70902243dcb2986a4e4f5c1a309d51a4714de424c7bea25be84adbfb8bb
|
File details
Details for the file fastqlapi-0.2.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c3a3101074849453fea62464d301f9632aa3b098c7b8d0036043e8aa0fd236c
|
|
| MD5 |
052679c2d1b74233d3d4f9fb215623e7
|
|
| BLAKE2b-256 |
2fafaafd2dbc4f81c0f745ec955ea45dc29f37b524b81636cfa04f386b8bd7a6
|
File details
Details for the file fastqlapi-0.2.1-cp310-none-win_amd64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp310-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237a301396a78c6cdc614425b9a2e87d1ce7359801c9bf42926df14a23730bf4
|
|
| MD5 |
4cef637fa1f801caf237b46d2638f17e
|
|
| BLAKE2b-256 |
8f76430b298e601233b766d3f6f0efbee3bd9d638189869e819b658d8ffaa9bd
|
File details
Details for the file fastqlapi-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05b6112f470f771b93958e101a5edb8ee6952048166b80c198e8d056f66e0238
|
|
| MD5 |
cd709a3d5b67c208154957cb5ff9f6d9
|
|
| BLAKE2b-256 |
aeca57df5b62e428bfbab75361fd556822a4f04d1394fa7b91bebd62998631ef
|
File details
Details for the file fastqlapi-0.2.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b41c63eac592bb19b8f7f9d5675e22cfbc6bf0838af1cac42efee174689478
|
|
| MD5 |
f0846e14fe0259c64e0a448f5f8c7923
|
|
| BLAKE2b-256 |
6ad2ab78bc25895c6160943b1a5dd12d9d6945cc91162d8b2355eaa0f18c9312
|
File details
Details for the file fastqlapi-0.2.1-cp39-none-win_amd64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp39-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64af5ea10ffd5435fdb8fa20b32dc4bd54959cdc6c1e89b42881d0af3ed65616
|
|
| MD5 |
1df4c8332dfc094aa5ab99058162b590
|
|
| BLAKE2b-256 |
e2b9b6bc447108f32a042d162554c24ca3a02d1f01d7bc24076c5d389b8df03c
|
File details
Details for the file fastqlapi-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36e535ea7e3ccdade199ab0a2d9f037fa86d6b65e4e044494d027d1f3101a831
|
|
| MD5 |
6ceed691cbaaeea25fbb3245f8195487
|
|
| BLAKE2b-256 |
20f39ab6c639846270e0e2b03f52688bbee6dba287910a60d5895b581cb288a3
|
File details
Details for the file fastqlapi-0.2.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f99ef5bfa399b95f0028218d0446c086b07d4e004bac608bcd57a59c4cb17d4
|
|
| MD5 |
38c6d93bfc619d41b70a05271fa9ac11
|
|
| BLAKE2b-256 |
4742befcf89e14aaa2e441e1bd4eea76273d7cc558b5b2636a04d9f9ce8c6e46
|
File details
Details for the file fastqlapi-0.2.1-cp38-none-win_amd64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp38-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
936f0cb58f3c8ac03c26b64ae02de671266c5c5b2e39346cffd565240cf04acb
|
|
| MD5 |
7110bc8deb2154d7c7e4a805f7dd5ac8
|
|
| BLAKE2b-256 |
b58c341141554735b75209c494a2d38bb0caf665da7291fb0c75a03b2b9e1977
|
File details
Details for the file fastqlapi-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec77147328ed5b9badb09d9425a7435b283daca8ba97837e237b9fa428d2cb81
|
|
| MD5 |
4297be0ac5ff053df6e300028bc0ddf8
|
|
| BLAKE2b-256 |
f5ea151c375eb9df9cbb80529433ed1060b2f2288c13bc4e758055a33b86f2be
|
File details
Details for the file fastqlapi-0.2.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
495efad5ea189e55b6b9d099d6bf30fa4667c0482001e9354e14092e7787b922
|
|
| MD5 |
d6ac0a3aa49ea83f8c14e7a4c5971fd9
|
|
| BLAKE2b-256 |
7b67087fb25bbd8797b14fb4b41a817792819721f19438acfa47d9c796a8254b
|
File details
Details for the file fastqlapi-0.2.1-cp37-none-win_amd64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp37-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbda22e563f7496d6ebb170e4e6ad7da168fef0253497d1703dd0a2061130a0f
|
|
| MD5 |
66a8dda48405fb44f0c61aa40c486499
|
|
| BLAKE2b-256 |
5a24f3c25a2232f8da6950e152bcf235be54b03bf6c6168582b170747a82b419
|
File details
Details for the file fastqlapi-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98458f1ad84ac48c4e828b6a188e6f11385d5ef6cc23fa63c68d459476b9f5fd
|
|
| MD5 |
2bc55f7e82fdd306e60daec23c1f2312
|
|
| BLAKE2b-256 |
2def02a148a3858e179c7c4c70fc7a6acdb6ff7d13613f8f83825bc2c8b42b80
|
File details
Details for the file fastqlapi-0.2.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: fastqlapi-0.2.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eac2feac64bba32644f8d207696c53dae6ccb87acdac62e8ad760411b92e409c
|
|
| MD5 |
f1bb26de3843745945107593418a6ea6
|
|
| BLAKE2b-256 |
0d5e05e8650cdd99dad3e37cb88d14d083ef929b7532fc3517d9dffc42381e50
|