Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scripts to fetch stars, downloads and pulls #2

Merged
merged 21 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/data-fetch-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Update Stars, Pulls and Downloads From APIs

on:
# pull_request:
# branches:
# - main
schedule:
- cron: '*/1 * * * *' # Runs at 8:00 AM every Monday

jobs:
fetchAndUpdate:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.DATA_PUSH_TOKEN }}

- name: Add dependencies
run: |
python -m pip install requests

- name: Update files after fetching data from APIs
run: |
python docs/tools/vdb_table/fetch-data.py

- name: Commit and push if there are changes
env:
GIT_AUTHOR_NAME: Chirag Jain
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: Chirag Jain
GIT_COMMITTER_EMAIL: [email protected]
GITHUB_TOKEN: ${{ secrets.DATA_PUSH_TOKEN }}
run: |
git add docs/tools/vdb_table/data/.
git commit -m "Update Stars, Pulls & Downloads" || exit 0 # Exit 0 if no changes
git push
31 changes: 27 additions & 4 deletions docs/tools/vdb_table/data/activeloop.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 7375,
"vector_launch_year": 2023,
"metadata_filter": {
"support": "full",
Expand Down Expand Up @@ -140,14 +139,38 @@
},
"doc_size": {
"bytes": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
"vector_dims": {
"value": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
"github_stars": {
"value": 7462,
"unlimited": false,
"source_url": "https://github.com/activeloopai/deeplake",
"comment": ""
},
"docker_pulls": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/deeplake/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
}
}
}
27 changes: 25 additions & 2 deletions docs/tools/vdb_table/data/anariai.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 0,
"vector_launch_year": 2023,
"metadata_filter": {
"support": "",
Expand Down Expand Up @@ -139,7 +138,7 @@
},
"doc_size": {
"bytes": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
Expand All @@ -148,5 +147,29 @@
"unlimited": false,
"source_url": "",
"comment": ""
},
"github_stars": {
"value": 0,
"unlimited": false,
"source_url": "https://github.com/Anari-AI",
"comment": ""
},
"docker_pulls": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
}
}
27 changes: 25 additions & 2 deletions docs/tools/vdb_table/data/apachecassandra.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 8400,
"vector_launch_year": 2023,
"metadata_filter": {
"support": "full",
Expand Down Expand Up @@ -145,8 +144,32 @@
},
"vector_dims": {
"value": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
"github_stars": {
"value": 8410,
"unlimited": false,
"source_url": "https://github.com/apache/cassandra",
"comment": ""
},
"docker_pulls": {
"value": 200565371,
"unlimited": false,
"source_url": "https://hub.docker.com/_/cassandra",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/cassandra-driver/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://www.npmjs.com/package/cassandra-driver",
"comment": ""
}
}
29 changes: 26 additions & 3 deletions docs/tools/vdb_table/data/apachesolr.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 905,
"vector_launch_year": 2022,
"metadata_filter": {
"support": "full",
Expand Down Expand Up @@ -139,14 +138,38 @@
},
"doc_size": {
"bytes": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
"vector_dims": {
"value": 0,
"unlimited": true,
"unlimited": false,
"source_url": "https://issues.apache.org/jira/browse/SOLR-16836",
"comment": ""
},
"github_stars": {
"value": 967,
"unlimited": false,
"source_url": "https://github.com/apache/solr",
"comment": ""
},
"docker_pulls": {
"value": 158779946,
"unlimited": false,
"source_url": "https://hub.docker.com/_/solr",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/pysolr/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://www.npmjs.com/package/solr-client",
"comment": ""
}
}
25 changes: 24 additions & 1 deletion docs/tools/vdb_table/data/aperturedb.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 0,
"vector_launch_year": 0,
"metadata_filter": {
"support": "",
Expand Down Expand Up @@ -148,5 +147,29 @@
"unlimited": false,
"source_url": "",
"comment": ""
},
"github_stars": {
"value": 0,
"unlimited": false,
"source_url": "https://github.com/aperture-data",
"comment": ""
},
"docker_pulls": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/aperturedb/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://www.npmjs.com/package/aperture",
"comment": ""
}
}
25 changes: 24 additions & 1 deletion docs/tools/vdb_table/data/azureai.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 0,
"vector_launch_year": 2023,
"metadata_filter": {
"support": "full",
Expand Down Expand Up @@ -148,5 +147,29 @@
"unlimited": false,
"source_url": "https://learn.microsoft.com/azure/search/vector-search-how-to-generate-embeddings",
"comment": ""
},
"github_stars": {
"value": 0,
"unlimited": false,
"source_url": "https://github.com/Azure",
"comment": ""
},
"docker_pulls": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/azure-ai-ml/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://www.npmjs.com/package/@azure/openai",
"comment": ""
}
}
25 changes: 24 additions & 1 deletion docs/tools/vdb_table/data/chroma.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 9700,
"vector_launch_year": 2022,
"metadata_filter": {
"support": "full",
Expand Down Expand Up @@ -148,5 +147,29 @@
"unlimited": false,
"source_url": "",
"comment": ""
},
"github_stars": {
"value": 10914,
"unlimited": false,
"source_url": "https://github.com/chroma-core/chroma",
"comment": ""
},
"docker_pulls": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/chromadb/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://www.npmjs.com/package/chromadb",
"comment": ""
}
}
31 changes: 27 additions & 4 deletions docs/tools/vdb_table/data/clickhouse.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"source_url": "",
"comment": ""
},
"github_stars": 32000,
"vector_launch_year": 2022,
"metadata_filter": {
"support": "full",
Expand Down Expand Up @@ -139,14 +138,38 @@
},
"doc_size": {
"bytes": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
"vector_dims": {
"value": 0,
"unlimited": true,
"unlimited": false,
"source_url": "",
"comment": ""
},
"github_stars": {
"value": 33001,
"unlimited": false,
"source_url": "https://github.com/ClickHouse/ClickHouse",
"comment": ""
},
"docker_pulls": {
"value": 0,
"unlimited": false,
"source_url": "",
"comment": ""
},
"pypi_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://pypi.org/project/clickhouse/",
"comment": ""
},
"npm_downloads": {
"value": 0,
"unlimited": false,
"source_url": "https://www.npmjs.com/package/clickhouse",
"comment": ""
}
}
}
Loading