use_profile_readme()
Write a starter build_readme.py for your profile repo.
Usage
use_profile_readme(
name="Your Name",
likes="your interests",
learn="what you're learning",
work="what you're working on",
collab="what you'd like to collaborate on",
username="your-github-username",
path=".",
overwrite=False
)The script calls who_am_i() and gh_badges() and writes README.md. Optional blocks for who_am_i_gif() and so_rep() are included.
Parameters
name: str = "Your Name"-
Values filled into the who_am_i() call.
likes: str = "Your Name"-
Values filled into the who_am_i() call.
learn: str = "Your Name"-
Values filled into the who_am_i() call.
work: str = "Your Name"-
Values filled into the who_am_i() call.
collab: str = "Your Name"-
Values filled into the who_am_i() call.
username: str = "your-github-username"-
GitHub username filled into the gh_badges() call.
path: str or pathlib.Path = "."-
Directory to write into.
overwrite: bool = False-
Replace an existing
build_readme.py.
Returns
pathlib.Path- Path to the new file.
Raises
FileExistsError-
If the file exists and
overwriteisFalse.