tools for converting git repository data into data tables
Project description
nitwit
tools for converting git repository data into data tables
Table Schemas
commits
- hash: String
- author: String
- email: String
- timestamp: DateTime('ms')
- message: String
- parents: String
- committer: String
- committer_email: String
- commit_timestamp: DateTime('ms')
- tree_hash: String
- repo: String
authors
- name: String
- email: String
- n_commits: Int64
- n_changed_files: Int64
- insertions: Int64
- deletions: Int64
- first_commit_timestamp: DateTime('ms')
- last_commit_timestamp: DateTime('ms')
- n_repos: Int64
file_diffs
- hash: String
- insertions: Int64
- deletions: Int64
- path: String
- repo: String
repos
- repo: String
- n_files: Int64
- n_commits: Int64
- n_authors: Int64
- first_commit_timestamp: DateTime('ms')
- last_commit_timestamp: DateTime('ms')
Command Line Interface
# generate commits.parquet
nitwit commits [OUTPUT_PATH]
# generate authors.parquet
nitwit authors [OUTPUT_PATH]
# generate files.parquet
nitwit file_diffs [OUTPUT_PATH]
Python Interface
# specify repo(s), using path(s) or url(s)
repo = '/path/to/git/repo'
repo = 'https://github.com/author_name/repo_name'
repo = [
'/path/to/git/repo1',
'/path/to/git/repo2',
'https://github.com/author_name1/repo_name2',
'https://github.com/author_name1/repo_name2',
]
commits = nitwit.commits(repo)
authors = nitwit.authors(repo)
file_diffs = nitwit.file_diffs(repo)
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
nitwit-0.1.0.tar.gz
(11.1 kB
view details)
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
nitwit-0.1.0-py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file nitwit-0.1.0.tar.gz.
File metadata
- Download URL: nitwit-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8ec88dfaf580288923ebe9bf65cdf4314bfe46f040825a33ebade27bac45274
|
|
| MD5 |
4538e61d4f8ce27a86e44a84b42b8e1b
|
|
| BLAKE2b-256 |
68edf06cf75f20c8d489e40dba8b38ef9e78b10dda1e7e6162807e429d8d9fae
|
File details
Details for the file nitwit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nitwit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9abc38ffa4b3e40d0dc082c51ef3eef36d96215cf99c2e5db989b242d52f088e
|
|
| MD5 |
fb84e666b3df8ccfa9acbf6558381fa2
|
|
| BLAKE2b-256 |
b306589bfa7e6de0e9cdb14c8b6de69c12543be9754fe0147390f6bb4cf37f67
|