Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bcongdon/git-trophy
/ functions
Functions
84 in github.com/bcongdon/git-trophy
⨍
Functions
84
◇
Types & classes
14
↳
Endpoints
3
↓ 3 callers
Function
create_material
Creates a material with a given color (rgb) and name (name)
git_trophy_lambda/model_generator.py:39
↓ 3 callers
Function
sendEvent
(event)
src/analytics.js:7
↓ 2 callers
Function
_format_filename
(repo, year)
git_trophy_lambda/repo/repo_cache.py:11
↓ 2 callers
Function
_is_git_available
()
git_trophy_lambda/repo/repo_client.py:17
↓ 2 callers
Method
checkAuthCallback
()
src/containers/RepoSelectorContainer.js:83
↓ 2 callers
Function
exportSceneX3D
(scene)
src/x3d-exporter.js:49
↓ 2 callers
Method
getButtonGroup
(size)
src/components/ExportPanel.js:30
↓ 2 callers
Function
get_github_user_years
(username)
git_trophy_lambda/user_client.py:5
↓ 2 callers
Function
get_repo_years
(owner, repo)
git_trophy_lambda/repo/repo_service.py:97
↓ 2 callers
Function
loadContributions
(entity, year)
src/actions.js:28
↓ 1 callers
Function
_format_git_url
(owner, repo)
git_trophy_lambda/repo/repo_service.py:42
↓ 1 callers
Function
_format_repo_url
(owner, repo)
git_trophy_lambda/repo/repo_service.py:46
↓ 1 callers
Function
_get_num_commits
(repo_url)
git_trophy_lambda/repo/repo_client.py:87
↓ 1 callers
Function
_github_outliers
(counts)
git_trophy_lambda/repo/utils.py:22
↓ 1 callers
Function
_prepare_commit_series
Def prepares a commit log for being published: - Pads days at beginning of year. - Fills in gaps within year - Sorts comm
git_trophy_lambda/repo/repo_service.py:12
↓ 1 callers
Function
coords_for_year_idx
Translates a day-of-year index into an XY coordinate for a day bar
git_trophy_lambda/model_generator.py:81
↓ 1 callers
Function
createX3DRoot
()
src/x3d-exporter.js:3
↓ 1 callers
Function
create_bar_materials
Creates materials for each of the BAR_COLORS
git_trophy_lambda/model_generator.py:33
↓ 1 callers
Function
create_contribution_model
Creates a model representing the user's contributions for the given year. Returns the model as the string representation of an X3D file.
git_trophy_lambda/model_generator.py:129
↓ 1 callers
Function
create_day_bars
Creates a colored day bar for each day in the contributions list Bar materials are taken from the 'mats' array
git_trophy_lambda/model_generator.py:93
↓ 1 callers
Function
create_model_base
Creates the rectangular solid num_weeks is used to make sure that the base is of the correct length
git_trophy_lambda/model_generator.py:47
↓ 1 callers
Function
create_user_label
Create a label in the side of the model base to display the user and year
git_trophy_lambda/model_generator.py:61
↓ 1 callers
Function
delete_all
Deletes all objects in a scene
git_trophy_lambda/model_generator.py:26
↓ 1 callers
Function
exportGeometry
(geometry, tree)
src/x3d-exporter.js:16
↓ 1 callers
Function
exportMaterial
(material, tree)
src/x3d-exporter.js:10
↓ 1 callers
Function
exportObject
(object, tree)
src/x3d-exporter.js:28
↓ 1 callers
Method
getURL
()
src/components/ExportPanel.js:26
↓ 1 callers
Function
get_repo_commit_stats
(owner, repo, year)
git_trophy_lambda/repo/repo_service.py:50
↓ 1 callers
Function
get_repo_years
(repo_url)
git_trophy_lambda/repo/repo_client.py:97
↓ 1 callers
Function
get_user_contributions
(github_entity, year)
git_trophy_lambda/app.py:23
↓ 1 callers
Function
join_all_objects
Joins all objects in the scene into a mesh
git_trophy_lambda/model_generator.py:113
↓ 1 callers
Function
registerChartDownload
(entity, year)
src/analytics.js:31
↓ 1 callers
Function
registerDownload
(entity, year)
src/analytics.js:15
↓ 1 callers
Function
registerShapewaysExport
(entity, year)
src/analytics.js:23
↓ 1 callers
Method
render
()
src/components/App.js:9
↓ 1 callers
Function
updateQueryString
(entity, year)
src/actions.js:101
↓ 1 callers
Function
updateSelectedEntity
(entity, year)
src/actions.js:94
Function
cache_data
(repo, year, contribution_data)
git_trophy_lambda/repo/repo_cache.py:27
Function
calculate_github_quartiles
Finds quartile information for commits
git_trophy_lambda/repo/utils.py:43
Method
closeLightbox
()
src/components/Information.js:22
Method
componentDidMount
()
src/components/Preview.js:34
Method
componentDidMount
()
src/containers/RepoSelectorContainer.js:79
Method
componentDidUpdate
()
src/containers/RepoSelectorContainer.js:75
Function
componentWillReceiveProps
(nextProps)
src/containers/PreviewContainer.js:27
Method
componentWillUnmount
()
src/components/Preview.js:48
Function
constructor
(props)
src/containers/PreviewContainer.js:19
Method
constructor
(props)
src/components/Preview.js:19
Method
constructor
(props)
src/components/RepoSelector.js:16
Method
constructor
(props)
src/components/Information.js:6
Method
constructor
(props)
src/components/ExportPanel.js:15
Method
constructor
(props)
src/containers/RepoSelectorContainer.js:31
Function
contributions
()
git_trophy_lambda/app.py:47
Function
downloadModel
()
src/actions.js:121
Function
error_handler
(error)
git_trophy_lambda/app.py:98
Function
exportModel
()
src/actions.js:136
Function
getBars
()
src/components/TrophyModel.js:67
Function
getBase
()
src/components/TrophyModel.js:26
Function
getLabel
()
src/components/TrophyModel.js:51
Function
getLabelText
()
src/components/TrophyModel.js:42
Function
get_cached_data
(repo, year)
git_trophy_lambda/repo/repo_cache.py:16
Function
get_level
Returns "level" quartile i.e: (0] percentile = 0th level (0, 25) percentile = 1st level [25, 50) percentile = 2nd le
git_trophy_lambda/repo/utils.py:64
Function
get_model_data
(username, year)
git_trophy_lambda/model_generator.py:161
Function
get_repo_commit_stats
(repo_url, since=None)
git_trophy_lambda/repo/repo_client.py:28
Method
handleDropdownChange
(e, data)
src/components/RepoSelector.js:27
Method
handleEntityChange
(e, data)
src/components/RepoSelector.js:31
Method
handleExportClick
()
src/containers/RepoSelectorContainer.js:68
Function
mapStateToProps
(state)
src/containers/RepoSelectorContainer.js:100
Method
openLightbox
()
src/components/Information.js:18
Function
pad_year_data
Pads first week of the year of contribution data Note: Assumes sorted by day in ascending order
git_trophy_lambda/repo/utils.py:5
Function
ping
()
git_trophy_lambda/app.py:42
Function
process_func
(pipe, *args, **kwargs)
git_trophy_lambda/processify.py:17
Function
processify
Decorator to run a function as a process. Be sure that every argument and the return value is *pickable*. The created process is joined, s
git_trophy_lambda/processify.py:9
Method
render
()
src/components/Preview.js:53
Method
render
()
src/components/RepoSelector.js:35
Method
render
()
src/components/Information.js:26
Method
render
()
src/containers/RepoSelectorContainer.js:41
Function
setSceneContainer
(container)
src/actions.js:117
Function
test_deadlock
()
git_trophy_lambda/processify.py:62
Function
test_exception
()
git_trophy_lambda/processify.py:67
Function
test_function
()
git_trophy_lambda/processify.py:57
Function
threeMeshToReactMesh
(meshObj)
src/utils.js:3
Function
updateSelectedYear
(year)
src/actions.js:107
Function
wrapper
(*args, **kwargs)
git_trophy_lambda/processify.py:35
Function
years
()
git_trophy_lambda/app.py:77