Apibara Python SDK
==================
.. warning::
This SDK is alpha software. The API will change drastically until the beta.
`Open an issue on GitHub <https://github.com/apibara/python-sdk>`_ to report bugs or provide feedback.
Build web3-powered applications in Python.
Development
-----------
Install the following packages using your OS package manager:
* protobuf
* poetry
* docker (for testing)
Install all Python dependencies with:
.. code::
poetry install
Run tests with:
.. code::
poetry run pytest tests
Format code with:
.. code::
poetry run black src examples test
poetry run isort src examples test
To update the protobuf definitions:
.. code::
protoc -I=protos/starknet/ \
--python_out=src/apibara/starknet/proto/ \
--pyi_out=src/apibara/starknet/proto protos/starknet/*
Development (with Nix)
----------------------
This repository provides a Nix development environment. To use it simply run:
.. code::
nix develop
All dependencies, including pre-commit hooks, will be installed for you.
License
-------
Copyright 2023 GNC Labs Limited
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.
Raw data
{
"_id": null,
"home_page": "https://www.apibara.com",
"name": "apibara",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.8",
"maintainer_email": null,
"keywords": "ethereum, web3, starknet",
"author": "Francesco Ceccon",
"author_email": "francesco@apibara.com",
"download_url": "https://files.pythonhosted.org/packages/7d/b7/6aabccd0a298ca33571c3cefe0bd1fc2426513a0dbbc27208001784b1fbb/apibara-0.8.0.tar.gz",
"platform": null,
"description": "Apibara Python SDK\n==================\n\n.. warning::\n This SDK is alpha software. The API will change drastically until the beta.\n\n `Open an issue on GitHub <https://github.com/apibara/python-sdk>`_ to report bugs or provide feedback.\n\n\nBuild web3-powered applications in Python. \n\n\nDevelopment\n-----------\n\nInstall the following packages using your OS package manager:\n\n* protobuf\n* poetry\n* docker (for testing)\n\nInstall all Python dependencies with:\n\n.. code::\n\n poetry install\n\nRun tests with:\n\n.. code::\n\n poetry run pytest tests\n\nFormat code with:\n\n.. code::\n\n poetry run black src examples test\n poetry run isort src examples test\n\nTo update the protobuf definitions:\n\n.. code::\n\n protoc -I=protos/starknet/ \\\n --python_out=src/apibara/starknet/proto/ \\\n --pyi_out=src/apibara/starknet/proto protos/starknet/*\n\n\nDevelopment (with Nix)\n----------------------\n\nThis repository provides a Nix development environment. To use it simply run:\n\n.. code::\n\n nix develop\n\nAll dependencies, including pre-commit hooks, will be installed for you.\n\n\nLicense\n-------\n\n Copyright 2023 GNC Labs Limited\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Apibara cliend SDK. Stream and transform on-chain data with Python.",
"version": "0.8.0",
"project_urls": {
"Homepage": "https://www.apibara.com",
"Repository": "https://github.com/apibara/python-sdk"
},
"split_keywords": [
"ethereum",
" web3",
" starknet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2eb0a09150daa958872601b60ab89267e4f4710283faa3237f2ea00821435580",
"md5": "f1c303f4f4bcee828fb814120e0c16fd",
"sha256": "b4cf3e1563bfb733bbc606f144b94d2fdf111e21c8d446cecd6adff7edfdca2f"
},
"downloads": -1,
"filename": "apibara-0.8.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f1c303f4f4bcee828fb814120e0c16fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.8",
"size": 39361,
"upload_time": "2024-04-10T12:11:37",
"upload_time_iso_8601": "2024-04-10T12:11:37.605878Z",
"url": "https://files.pythonhosted.org/packages/2e/b0/a09150daa958872601b60ab89267e4f4710283faa3237f2ea00821435580/apibara-0.8.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7db76aabccd0a298ca33571c3cefe0bd1fc2426513a0dbbc27208001784b1fbb",
"md5": "2095e8efd2cb5eb01353901c61b7a9ae",
"sha256": "cf06764728a1038136aebd18432d3981c1e04c4255e6591d101cb2f370a4a5c5"
},
"downloads": -1,
"filename": "apibara-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "2095e8efd2cb5eb01353901c61b7a9ae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.8",
"size": 30486,
"upload_time": "2024-04-10T12:11:39",
"upload_time_iso_8601": "2024-04-10T12:11:39.357814Z",
"url": "https://files.pythonhosted.org/packages/7d/b7/6aabccd0a298ca33571c3cefe0bd1fc2426513a0dbbc27208001784b1fbb/apibara-0.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-10 12:11:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "apibara",
"github_project": "python-sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "apibara"
}