No project description provided
Project description
nodestream-plugin-github
Overview
This plugin provides a way to scrape github data from the REST api and ingest them as extractors in nodestream pipelines.
Setup Neo4j
- Download and install Neo4j: https://neo4j.com/docs/desktop-manual/current/installation/download-installation/
- Create and start database (version 5.7.0: https://neo4j.com/docs/desktop-manual/current/operations/create-dbms/
- Install APOC: https://neo4j.com/docs/apoc/5/installation/
Create github credentials
- Create and github access codes: https://docs.github.com/en/enterprise-server@3.12/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app
NOTE: These values will be used in your
.env
Install and run the app
- Install python3: https://www.python.org/downloads/
- Install poetry: https://python-poetry.org/docs/#installation
- Install nodestream: https://nodestream-proj.github.io/nodestream/0.5/docs/tutorial/
- Generate a new nodestream project
- Add
nodestream-githubto your project dependencies in your nodestream projects pyproject.toml file. - Install necessary dependencies:
poetry install - In
nodestream.yamladd the following:
plugins:
- name: github
config:
github_hostname: github.example.com
auth_token: !env GITHUB_ACCESS_TOKEN
user_agent: skip-jbristow-test
per_page: 100
collecting:
all_public: True
rate_limit_per_minute: 225
targets:
- my-db:
pipelines:
- name: github_repos
- name: github_teams
targets:
database: neo4j
uri: bolt://localhost:7687
username: neo4j
password: neo4j123
- Set environment variables in your terminal session for:
GITHUB_ACCESS_TOKEN. - Verify nodestream has loaded the pipelines:
poetry run nodestream show - Use nodestream to run the pipelines:
poetry run nodestream run <pipeline-name> --target my-db
Using make
- Install make (ie.
brew install make) - Run
make run
Authors
- Jon Bristow
- Zach Probst
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 Distribution
Built Distribution
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 nodestream_plugin_github-0.13.1b8.tar.gz.
File metadata
- Download URL: nodestream_plugin_github-0.13.1b8.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
872c7e0916d494f0e15f69c479d60549dfb62b4448e1ea87c027e811a17aa383
|
|
| MD5 |
007e93e9aee48fd7a03400a81602112a
|
|
| BLAKE2b-256 |
4e1f314a58f82254b136d67df6c0de6f5be1c78f061dd1b9553f4db5d9d3f081
|
Provenance
The following attestation bundles were made for nodestream_plugin_github-0.13.1b8.tar.gz:
Publisher:
release.yaml on nodestream-proj/nodestream-plugin-github
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nodestream_plugin_github-0.13.1b8.tar.gz -
Subject digest:
872c7e0916d494f0e15f69c479d60549dfb62b4448e1ea87c027e811a17aa383 - Sigstore transparency entry: 174623233
- Sigstore integration time:
-
Permalink:
nodestream-proj/nodestream-plugin-github@666ab81ae00e728026293deb63f6b2d9ada790bb -
Branch / Tag:
refs/tags/0.13.1-beta.8 - Owner: https://github.com/nodestream-proj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@666ab81ae00e728026293deb63f6b2d9ada790bb -
Trigger Event:
release
-
Statement type:
File details
Details for the file nodestream_plugin_github-0.13.1b8-py3-none-any.whl.
File metadata
- Download URL: nodestream_plugin_github-0.13.1b8-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
948a6f76a5f9c865ce38e62f274a18df629593d0626c73a04e9be706fb844a25
|
|
| MD5 |
fb59b0861c4a3a99d1bf00fe2ecbd1d0
|
|
| BLAKE2b-256 |
003f56ab54fdf36618d65c244d8b801ebd9e86d86b4309f5e4344dd2922431ba
|
Provenance
The following attestation bundles were made for nodestream_plugin_github-0.13.1b8-py3-none-any.whl:
Publisher:
release.yaml on nodestream-proj/nodestream-plugin-github
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nodestream_plugin_github-0.13.1b8-py3-none-any.whl -
Subject digest:
948a6f76a5f9c865ce38e62f274a18df629593d0626c73a04e9be706fb844a25 - Sigstore transparency entry: 174623237
- Sigstore integration time:
-
Permalink:
nodestream-proj/nodestream-plugin-github@666ab81ae00e728026293deb63f6b2d9ada790bb -
Branch / Tag:
refs/tags/0.13.1-beta.8 - Owner: https://github.com/nodestream-proj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@666ab81ae00e728026293deb63f6b2d9ada790bb -
Trigger Event:
release
-
Statement type: