Repository
feu.repo ¶
Contain functions to manage repos.
feu.repo.fetch_github_metadata
cached
¶
fetch_github_metadata(
owner: str, repo: str
) -> dict[str, Any]
Get the GitHub repo metadata.
The metadata is read from GitHub API.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
owner
|
str
|
The owner of the repo. |
required |
repo
|
str
|
The repo name. |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
The repo metadata. |
Example
>>> from feu.repo import fetch_github_metadata
>>> metadata = fetch_github_metadata(owner="durandtibo", repo="feu") # doctest: +SKIP