Created
September 9, 2021 19:22
-
-
Save andrewdoss-bit/98ca415c9e0ef774816edfd3eeb58ba6 to your computer and use it in GitHub Desktop.
create repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a repo | |
import bitdotio | |
# Connect to bit.io | |
b = bitdotio.bitdotio(<YOUR_BITIO_KEY>) | |
# Construct a repo object | |
r = bitdotio.model.repo.Repo(name='my_new_repo', | |
description='My new repository.', | |
is_private=True) | |
# Create the repo | |
b.create_repo(repo=r) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment