strideutils 0.6.2__tar.gz → 0.7.0__tar.gz

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.
Files changed (60) hide show
  1. strideutils-0.7.0/.bumpversion.cfg +8 -0
  2. strideutils-0.7.0/.github/workflows/lint.yml +34 -0
  3. strideutils-0.7.0/.github/workflows/publish.yml +59 -0
  4. strideutils-0.7.0/.github/workflows/version.yaml +50 -0
  5. strideutils-0.7.0/.gitignore +42 -0
  6. strideutils-0.7.0/LICENSE +21 -0
  7. strideutils-0.7.0/Makefile +29 -0
  8. strideutils-0.7.0/PKG-INFO +148 -0
  9. {strideutils-0.6.2 → strideutils-0.7.0}/README.md +26 -6
  10. strideutils-0.7.0/pyproject.toml +57 -0
  11. strideutils-0.7.0/setup.cfg +4 -0
  12. strideutils-0.7.0/strideutils/redis_connector.py +195 -0
  13. strideutils-0.7.0/strideutils/sheets_connector.py +186 -0
  14. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/stride_config.py +25 -0
  15. strideutils-0.7.0/strideutils-stubs/redis_connector.pyi +37 -0
  16. strideutils-0.7.0/strideutils-stubs/sheets_connector.pyi +41 -0
  17. strideutils-0.7.0/strideutils-stubs/slack_connector.pyi +13 -0
  18. strideutils-0.7.0/strideutils-stubs/twilio_connector.pyi +21 -0
  19. strideutils-0.7.0/strideutils.egg-info/PKG-INFO +148 -0
  20. strideutils-0.7.0/strideutils.egg-info/SOURCES.txt +52 -0
  21. strideutils-0.7.0/strideutils.egg-info/dependency_links.txt +1 -0
  22. strideutils-0.7.0/strideutils.egg-info/requires.txt +35 -0
  23. strideutils-0.7.0/strideutils.egg-info/top_level.txt +2 -0
  24. strideutils-0.7.0/tests/test_config.py +278 -0
  25. strideutils-0.7.0/tests/test_encryption.py +17 -0
  26. strideutils-0.7.0/tests/test_redis_connector.py +87 -0
  27. strideutils-0.7.0/tests/test_sheets_connector.py +111 -0
  28. strideutils-0.7.0/tests/test_slack_connector.py +89 -0
  29. strideutils-0.7.0/tests/test_twilio_connector.py +80 -0
  30. strideutils-0.6.2/PKG-INFO +0 -95
  31. strideutils-0.6.2/pyproject.toml +0 -45
  32. strideutils-0.6.2/strideutils/sheets_connector.py +0 -182
  33. strideutils-0.6.2/strideutils-stubs/sheets_connector.pyi +0 -13
  34. strideutils-0.6.2/strideutils-stubs/slack_connector.pyi +0 -3
  35. strideutils-0.6.2/strideutils-stubs/twilio_connector.pyi +0 -9
  36. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/Makefile +0 -0
  37. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/__init__.py +0 -0
  38. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/coingecko.py +0 -0
  39. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/config_examples/env.local.example +0 -0
  40. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/config_examples/strideutils_config.yaml.example +0 -0
  41. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/cryptography.py +0 -0
  42. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/exec_tx.py +0 -0
  43. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/invariant_helpers.py +0 -0
  44. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/run_safely.py +0 -0
  45. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/slack_connector.py +0 -0
  46. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/stride_alerts.py +0 -0
  47. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/stride_requests.py +0 -0
  48. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/stride_upstash.py +0 -0
  49. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/twilio_connector.py +0 -0
  50. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils/types.py +0 -0
  51. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/__init__.pyi +0 -0
  52. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/coingecko.pyi +0 -0
  53. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/cryptography.pyi +0 -0
  54. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/exec_tx.pyi +0 -0
  55. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/invariant_helpers.pyi +0 -0
  56. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/run_safely.pyi +0 -0
  57. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/stride_alerts.pyi +0 -0
  58. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/stride_config.pyi +0 -0
  59. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/stride_requests.pyi +0 -0
  60. {strideutils-0.6.2 → strideutils-0.7.0}/strideutils-stubs/stride_upstash.pyi +0 -0
@@ -0,0 +1,8 @@
1
+ [bumpversion]
2
+ current_version = 0.7.0
3
+ commit = False
4
+ tag = False
5
+
6
+ [bumpversion:file:pyproject.toml]
7
+ search = version = "{current_version}"
8
+ replace = version = "{new_version}"
@@ -0,0 +1,34 @@
1
+ name: Python Lint
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ flake8-lint:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-python@v4
11
+ with:
12
+ python-version: "3.11"
13
+ - uses: py-actions/flake8@v2
14
+ with:
15
+ max-line-length: "120"
16
+ path: "strideutils/"
17
+ black:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - uses: psf/black@stable
22
+ with:
23
+ options: "--check --verbose --skip-string-normalization --line-length=120"
24
+ src: "strideutils"
25
+ isort:
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/checkout@v3
29
+
30
+ - name: Install isort
31
+ run: python3 -m pip install isort
32
+
33
+ - name: Run isort on each project
34
+ run: isort --check-only --diff --profile=black strideutils
@@ -0,0 +1,59 @@
1
+ name: Tag and Publish
2
+
3
+ on:
4
+ pull_request:
5
+ types: [closed]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ publish:
10
+ if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ with:
17
+ ref: main
18
+
19
+ - uses: actions/setup-python@v4
20
+ with:
21
+ python-version: "3.11"
22
+
23
+ - name: setup
24
+ run: |
25
+ python -m pip install -U pip
26
+ pip install --upgrade build setuptools twine wheel bump2version toml-cli
27
+ git config user.name "GitHub Actions"
28
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
29
+
30
+ - name: check for version label
31
+ id: version-check
32
+ run: |
33
+ # Immediately set version-bumped is true if running manually
34
+ if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
35
+ echo "::set-output name=version-bumped::true"
36
+ exit 0
37
+ fi
38
+
39
+ # Otherwise, only set it if the PR is labeled
40
+ labels_json=$(echo '${{ toJson(github.event.pull_request.labels.*.name) }}')
41
+ if echo $labels_json | grep -q "version-"; then
42
+ echo "::set-output name=version-bumped::true"
43
+ fi
44
+
45
+ - name: create new tag
46
+ if: steps.version-check.outputs.version-bumped == 'true'
47
+ run: |
48
+ version=$(toml get project.version --toml-path pyproject.toml)
49
+ git tag "v${version}"
50
+ git push origin --tags
51
+
52
+ - name: publish to pypi
53
+ if: steps.version-check.outputs.version-bumped == 'true'
54
+ env:
55
+ TWINE_USERNAME: "__token__"
56
+ TWINE_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
57
+ run: |
58
+ python -m build
59
+ twine upload dist/*
@@ -0,0 +1,50 @@
1
+ name: Bump version
2
+
3
+ on:
4
+ pull_request:
5
+ types: [labeled]
6
+ workflow_dispatch:
7
+ inputs:
8
+ version_type:
9
+ description: "Release type (patch or minor)"
10
+ required: true
11
+ type: choice
12
+ options:
13
+ - patch
14
+ - minor
15
+
16
+ jobs:
17
+ version:
18
+ if: ${{ github.event.label.name == 'version-patch' || github.event.label.name == 'version-minor' }} || github.event_name == 'workflow_dispatch'
19
+ runs-on: ubuntu-latest
20
+ permissions:
21
+ contents: write
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ ref: ${{ github.head_ref }}
26
+ - uses: actions/setup-python@v4
27
+ with:
28
+ python-version: "3.11"
29
+
30
+ - name: setup
31
+ run: |
32
+ python -m pip install -U pip
33
+ pip install bump2version
34
+ git config user.name "GitHub Actions"
35
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
36
+
37
+ - name: bump up version
38
+ run: |
39
+ if [[ "${{ github.event_name }}" == "pull_request" ]]; then
40
+ prefix="version-"
41
+ label=${{ github.event.label.name }}
42
+ version_type=${label#$prefix}
43
+ else
44
+ version_type="${{ github.event.inputs.version_type }}"
45
+ fi
46
+ bump2version $version_type
47
+ git add pyproject.toml
48
+ git commit -m "bump up $version_type version from workflow"
49
+ git push
50
+ - uses: stefanzweifel/git-auto-commit-action@v5
@@ -0,0 +1,42 @@
1
+ .vscode
2
+ **.zip
3
+ **auth.json
4
+ **/auth*
5
+ **.DS_STORE
6
+ **.pyc
7
+ k8s/fleet/data/*
8
+ **.tar.gz
9
+ **.swp
10
+ .env.local
11
+ .env.mnemonics-docker*
12
+ **strideutils_secrets.yaml
13
+ !.env.mnemonics-docker.template
14
+ mnemonics-secrets.yaml
15
+ .terraform
16
+ **__pycache__/**
17
+
18
+ # Unbonding testing files
19
+ support-cron/claim-records/unbond.sh
20
+
21
+ # dashboard test files
22
+ support-cron/yield-dashboard/gauge_data.p
23
+ support-cron/**/*.csv
24
+ *.pyc
25
+ local-state
26
+ register-zones/*
27
+ support-cron/misc/inner_bounds/inner_bound_commands/*
28
+
29
+ # stridata db directory
30
+ **/.stridata
31
+
32
+ api-keys.yaml
33
+ local-state
34
+ register-zones/*
35
+
36
+ *scratch.txt
37
+
38
+ **/.ipynb_checkpoints
39
+ **/notebooks
40
+ **.ipynb
41
+ .idea
42
+ *.egg-info
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) [year] [fullname]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,29 @@
1
+ VENV_NAME=strideutils
2
+ CONDA_BASE := $(shell conda info --base)/envs
3
+ VENV_BIN=$(CONDA_BASE)/$(VENV_NAME)/bin
4
+ PYTHON=$(VENV_BIN)/python
5
+
6
+ install:
7
+ conda create --name $(VENV_NAME) python=3.11 -y
8
+ $(PYTHON) -m pip install -e .[dev]
9
+
10
+ lint:
11
+ @echo "Linting..."
12
+ @$(VENV_BIN)/flake8 --max-line-length 120 --exclude .ipynb_checkpoints strideutils
13
+
14
+ type-check:
15
+ @echo "Type checking..."
16
+ @$(VENV_BIN)/mypy strideutils
17
+
18
+ format:
19
+ @echo "Formatting..."
20
+ @$(VENV_BIN)/black --skip-string-normalization --line-length 120 strideutils
21
+
22
+ tidy: lint type-check format
23
+
24
+ stub-gen:
25
+ $(PYTHON) run stubgen -p strideutils -o pyi
26
+
27
+ test:
28
+ @echo "Running unit tests..."
29
+ @$(VENV_BIN)/pytest . -v
@@ -0,0 +1,148 @@
1
+ Metadata-Version: 2.1
2
+ Name: strideutils
3
+ Version: 0.7.0
4
+ Summary: Utility functions for monitoring the Stride blockchain
5
+ Author-email: Stride Labs <hello@stridelabs.co>
6
+ License: MIT License
7
+
8
+ Copyright (c) [year] [fullname]
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Classifier: Programming Language :: Python :: 3
28
+ Requires-Python: >=3.11
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: google-api-python-client>=2.149.0
32
+ Requires-Dist: google-auth-httplib2>=0.2.0
33
+ Requires-Dist: google-auth-oauthlib>=1.2.1
34
+ Requires-Dist: google-cloud-bigquery>=3.26.0
35
+ Requires-Dist: gspread>=6.1.3
36
+ Requires-Dist: pytz>=2023.3
37
+ Requires-Dist: redis>=4.5.4
38
+ Requires-Dist: bech32>=1.2.0
39
+ Requires-Dist: slack-sdk>=3.23.0
40
+ Requires-Dist: pandas>=2.1.1
41
+ Requires-Dist: twilio>=8.10.0
42
+ Requires-Dist: tabulate>=0.9.0
43
+ Requires-Dist: python-dotenv==1.0.1
44
+ Requires-Dist: pyyaml>=6.0.1
45
+ Requires-Dist: requests>=2.32.3
46
+ Requires-Dist: pycryptodome>=3.20.0
47
+ Provides-Extra: dev
48
+ Requires-Dist: pytest>=8.1.1; extra == "dev"
49
+ Requires-Dist: mypy>=1.10.0; extra == "dev"
50
+ Requires-Dist: flake8>=7.0.0; extra == "dev"
51
+ Requires-Dist: black>=24.4.1; extra == "dev"
52
+ Requires-Dist: types-pyyaml>=6.0.12.20240917; extra == "dev"
53
+ Requires-Dist: twilio-stubs>=0.2.0; extra == "dev"
54
+ Requires-Dist: pandas-stubs>=2.2.1.240316; extra == "dev"
55
+ Requires-Dist: types-tabulate>=0.9.0.20240106; extra == "dev"
56
+ Requires-Dist: types-requests>=2.31.0.20240406; extra == "dev"
57
+ Provides-Extra: build
58
+ Requires-Dist: build>=1.2.2.post1; extra == "build"
59
+ Requires-Dist: bump2version>=1.0.1; extra == "build"
60
+ Requires-Dist: setuptools>=75.1.0; extra == "build"
61
+ Requires-Dist: toml-cli>=0.7.0; extra == "build"
62
+ Requires-Dist: twine>=5.1.1; extra == "build"
63
+ Requires-Dist: wheel>=0.44.0; extra == "build"
64
+
65
+ ## Description
66
+
67
+ Strideutils contains common patterns for cosmos api requests, monitoring, and other integrations for gsheets, slack, and twilio.
68
+
69
+ ## Setup
70
+
71
+ In a virtual environment of your choice install strideutils.
72
+
73
+ ```
74
+ pip install strideutils
75
+ ```
76
+
77
+ with poetry
78
+
79
+ ```
80
+ poetry add strideutils
81
+ ```
82
+
83
+ This package is frequently updated, so keep that in mind while developing.
84
+
85
+ ## Configuration
86
+
87
+ Strideutils requires three different environment variables that can be added to `~/.zshrc` or `~/.bashrc`
88
+
89
+ ```
90
+ export STRIDEUTILS_CONFIG_PATH=
91
+ export STRIDEUTILS_ENV_PATH=
92
+ ```
93
+
94
+ Examples of these files are included under strideutils/config_examples.
95
+ Stride Labs employees can find config.yaml in launchpad and .env.local in lastpass. We recommend you place .env.local in your launchpad repo.
96
+
97
+ Any configuration or secrets that aren't consumed don't need to be set. However if one is accessed but unset, an error will be thrown for easier debugging.
98
+
99
+ Once strideutils is installed and configured, each module you need should be imported individually. This isolates the different secrets that are expected and consumed.
100
+
101
+ Some common imports:
102
+
103
+ ```python
104
+ from strideutils.stride_config import config
105
+ config.get_chain(name='osmosis')
106
+
107
+ from strideutils import stride_requests
108
+ stride_requests.request('https://google.com')
109
+
110
+ from strideutils.stride_alerts import raise_alert
111
+ ```
112
+
113
+ ## Slack Connector
114
+
115
+ TODO
116
+
117
+ ## Sheets Connector
118
+
119
+ TODO
120
+
121
+ ## Redis Connector
122
+
123
+ TODO
124
+
125
+ ## Developing Strideutils
126
+
127
+ To access the strideutils repo locally rather than using the pip version (for actively making changes to strideutils and a dependency), add the path to strideutils to the beginning of PYTHONPATH
128
+
129
+ ```python
130
+ import sys
131
+ sys.path = ['/path/to/strideutils/'] + sys.path
132
+ ```
133
+
134
+ Alternatively, you can install strideutils through local mode. However, please be warned that this will make your local Python environment _always_ use your local strideutils. This might lead to unexpected behavior if you local changes.
135
+
136
+ To install in local mode, run the following:
137
+
138
+ ```python
139
+ pip3 install -e /Users/username/Documents/strideutils
140
+ ```
141
+
142
+ Confirm the location of where it's being imported from by printing the module.
143
+ After making changes to strideutils, reload it before testing your application.
144
+
145
+ ```python
146
+ from importlib import reload
147
+ reload(strideutils)
148
+ ```
@@ -1,4 +1,5 @@
1
1
  ## Description
2
+
2
3
  Strideutils contains common patterns for cosmos api requests, monitoring, and other integrations for gsheets, slack, and twilio.
3
4
 
4
5
  ## Setup
@@ -8,7 +9,9 @@ In a virtual environment of your choice install strideutils.
8
9
  ```
9
10
  pip install strideutils
10
11
  ```
12
+
11
13
  with poetry
14
+
12
15
  ```
13
16
  poetry add strideutils
14
17
  ```
@@ -16,6 +19,7 @@ poetry add strideutils
16
19
  This package is frequently updated, so keep that in mind while developing.
17
20
 
18
21
  ## Configuration
22
+
19
23
  Strideutils requires three different environment variables that can be added to `~/.zshrc` or `~/.bashrc`
20
24
 
21
25
  ```
@@ -31,18 +35,34 @@ Any configuration or secrets that aren't consumed don't need to be set. However
31
35
  Once strideutils is installed and configured, each module you need should be imported individually. This isolates the different secrets that are expected and consumed.
32
36
 
33
37
  Some common imports:
34
- ```
38
+
39
+ ```python
35
40
  from strideutils.stride_config import config
36
- # config.get_chain(name='osmosis')
41
+ config.get_chain(name='osmosis')
42
+
37
43
  from strideutils import stride_requests
38
- # stride_requests.request('https://google.com')
44
+ stride_requests.request('https://google.com')
45
+
39
46
  from strideutils.stride_alerts import raise_alert
40
47
  ```
41
48
 
49
+ ## Slack Connector
50
+
51
+ TODO
52
+
53
+ ## Sheets Connector
54
+
55
+ TODO
56
+
57
+ ## Redis Connector
58
+
59
+ TODO
60
+
42
61
  ## Developing Strideutils
62
+
43
63
  To access the strideutils repo locally rather than using the pip version (for actively making changes to strideutils and a dependency), add the path to strideutils to the beginning of PYTHONPATH
44
64
 
45
- ```
65
+ ```python
46
66
  import sys
47
67
  sys.path = ['/path/to/strideutils/'] + sys.path
48
68
  ```
@@ -51,14 +71,14 @@ Alternatively, you can install strideutils through local mode. However, please b
51
71
 
52
72
  To install in local mode, run the following:
53
73
 
54
- ```
74
+ ```python
55
75
  pip3 install -e /Users/username/Documents/strideutils
56
76
  ```
57
77
 
58
78
  Confirm the location of where it's being imported from by printing the module.
59
79
  After making changes to strideutils, reload it before testing your application.
60
80
 
61
- ```
81
+ ```python
62
82
  from importlib import reload
63
83
  reload(strideutils)
64
84
  ```
@@ -0,0 +1,57 @@
1
+ [build-system]
2
+ requires = ["setuptools", "setuptools-scm"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "strideutils"
7
+ version = "0.7.0"
8
+ authors = [
9
+ {name = "Stride Labs", email = "hello@stridelabs.co"},
10
+ ]
11
+ description = "Utility functions for monitoring the Stride blockchain"
12
+ readme = "README.md"
13
+ requires-python = ">=3.11"
14
+ license = {file = "LICENSE"}
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ ]
18
+ dependencies = [
19
+ "google-api-python-client>=2.149.0",
20
+ "google-auth-httplib2>=0.2.0",
21
+ "google-auth-oauthlib>=1.2.1",
22
+ "google-cloud-bigquery>=3.26.0",
23
+ "gspread>=6.1.3",
24
+ "pytz>=2023.3",
25
+ "redis>=4.5.4",
26
+ "bech32>=1.2.0",
27
+ "slack-sdk>=3.23.0",
28
+ "pandas>=2.1.1",
29
+ "twilio>=8.10.0",
30
+ "tabulate>=0.9.0",
31
+ "python-dotenv==1.0.1",
32
+ "pyyaml>=6.0.1",
33
+ "requests>=2.32.3",
34
+ "pycryptodome>=3.20.0",
35
+ ]
36
+
37
+ [project.optional-dependencies]
38
+ dev = [
39
+ "pytest>=8.1.1",
40
+ "mypy>=1.10.0",
41
+ "flake8>=7.0.0",
42
+ "black>=24.4.1",
43
+ "types-pyyaml>=6.0.12.20240917",
44
+ "twilio-stubs>=0.2.0",
45
+ "pandas-stubs>=2.2.1.240316",
46
+ "types-tabulate>=0.9.0.20240106",
47
+ "types-requests>=2.31.0.20240406",
48
+ ]
49
+ build = [
50
+ "build>=1.2.2.post1",
51
+ "bump2version>=1.0.1",
52
+ "setuptools>=75.1.0",
53
+ "toml-cli>=0.7.0",
54
+ "twine>=5.1.1",
55
+ "wheel>=0.44.0"
56
+ ]
57
+
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+