Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(36)  |  Call(28)  |  Derive(0)  |  Import(8)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/project.py   chisubmit(Download)
#  POSSIBILITY OF SUCH DAMAGE.
 
from chisubmit.common.utils import create_subparser, mkdatetime,\
    get_datetime_now_utc, convert_timezone_to_local
from chisubmit.core.model import Project, GradeComponent
def create_project_subparsers(subparsers):
    subparser = create_subparser(subparsers, "project-create", cli_do__project_create)
    subparser.add_argument('project_id', type=str)
    subparser.add_argument('name', type=str)
    subparser.add_argument('deadline', type=mkdatetime)
 
    subparser = create_subparser(subparsers, "project-list", cli_do__project_list)
    subparser.add_argument('--utc', action="store_true")
 
    subparser = create_subparser(subparsers, "project-grade-component-add", cli_do__project_grade_component_add)
    subparser.add_argument('project_id', type=str)
    subparser.add_argument('name', type=str)
    subparser.add_argument('points', type=int)
 
    subparser = create_subparser(subparsers, "project-deadline-show", cli_do__project_deadline_show)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/team.py   chisubmit(Download)
import chisubmit.core
 
from chisubmit.common.utils import create_subparser
from chisubmit.core.model import Team
from chisubmit.core.repos import GithubConnection
def create_team_subparsers(subparsers):
    subparser = create_subparser(subparsers, "team-create", cli_do__team_create)
    subparser.add_argument('team_id', type=str)
 
    subparser = create_subparser(subparsers, "team-list", cli_do__team_list)
    subparser.add_argument('--ids', action="store_true")
 
    subparser = create_subparser(subparsers, "team-student-add", cli_do__team_student_add)
    subparser.add_argument('student_id', type=str)
 
    subparser = create_subparser(subparsers, "team-project-add", cli_do__team_project_add)
    subparser.add_argument('team_id', type=str)
    subparser.add_argument('project_id', type=str)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/submit.py   chisubmit(Download)
import chisubmit.core
 
from chisubmit.common.utils import create_subparser, set_datetime_timezone_utc, convert_timezone_to_local
from chisubmit.core.repos import GithubConnection
from chisubmit.common import CHISUBMIT_SUCCESS, CHISUBMIT_FAIL
from chisubmit.core import ChisubmitException
 
def create_submit_subparsers(subparsers):
    subparser = create_subparser(subparsers, "team-project-submit", cli_do__team_project_submit)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/course.py   chisubmit(Download)
import chisubmit.core
 
from chisubmit.common.utils import create_subparser
from chisubmit.core import handle_unexpected_exception
from chisubmit.core.model import Course
def create_course_subparsers(subparsers):
    subparser = create_subparser(subparsers, "course-create", cli_do__course_create)
    subparser.add_argument('--make-default', action="store_true", dest="make_default")
    subparser.add_argument('id', type=str)
    subparser.add_argument('name', type=str)
    subparser.add_argument('extensions', type=int)
 
    subparser = create_subparser(subparsers, "course-install", cli_do__course_install)
    subparser.add_argument('filename', type=str)
 
    subparser = create_subparser(subparsers, "course-github-settings", cli_do__course_github_settings)
    subparser.add_argument('organization', type=str)
 
    subparser = create_subparser(subparsers, "course-git-staging-settings", cli_do__course_git_staging_settings)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/grader.py   chisubmit(Download)
#  POSSIBILITY OF SUCH DAMAGE.
 
from chisubmit.common.utils import create_subparser
from chisubmit.core.repos import GradingGitRepo
from chisubmit.common import CHISUBMIT_SUCCESS, CHISUBMIT_FAIL
from chisubmit.core import ChisubmitException, handle_unexpected_exception
 
def create_grader_subparsers(subparsers):
    subparser = create_subparser(subparsers, "grader-sync-grading-repo", cli_do__grader_sync_grading_repo)
def create_grader_subparsers(subparsers):
    subparser = create_subparser(subparsers, "grader-sync-grading-repo", cli_do__grader_sync_grading_repo)
    subparser.add_argument('team_id', type=str)
 
    subparser = create_subparser(subparsers, "grader-create-grading-branch", cli_do__grader_create_grading_branch)
    subparser.add_argument('team_id', type=str)
    subparser.add_argument('project_id', type=str)
 
    subparser = create_subparser(subparsers, "grader-push-grading-branch", cli_do__grader_push_grading_branch)
    subparser.add_argument('project_id', type=str)
 
    subparser = create_subparser(subparsers, "grader-pull-grading-branch", cli_do__grader_pull_grading_branch)
    subparser.add_argument('--staging', action="store_true")
    subparser.add_argument('--github', action="store_true")

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/student.py   chisubmit(Download)
#  POSSIBILITY OF SUCH DAMAGE.
 
from chisubmit.common.utils import create_subparser
from chisubmit.core.model import Student
from chisubmit.common import CHISUBMIT_FAIL, CHISUBMIT_SUCCESS
 
def create_student_subparsers(subparsers):
    subparser = create_subparser(subparsers, "student-create", cli_do__student_create)
    subparser.add_argument('github_id', type=str)
 
    subparser = create_subparser(subparsers, "student-set-dropped", cli_do__student_set_dropped)
    subparser.add_argument('id', type=str)
 

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/shell.py   chisubmit(Download)
#  POSSIBILITY OF SUCH DAMAGE.
 
from chisubmit.common.utils import create_subparser
from chisubmit.common import CHISUBMIT_SUCCESS, CHISUBMIT_FAIL
from chisubmit.core import ChisubmitException, handle_unexpected_exception
 
def create_shell_subparsers(subparsers):
    create_subparser(subparsers, "shell", cli_do__shell)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/gh.py   chisubmit(Download)
import chisubmit.core
 
from chisubmit.common.utils import create_subparser
from chisubmit.core.repos import GithubConnection
from chisubmit.common import CHISUBMIT_SUCCESS, CHISUBMIT_FAIL
from chisubmit.core import ChisubmitException, handle_unexpected_exception
 
def create_gh_subparsers(subparsers):
    subparser = create_subparser(subparsers, "gh-token-create", cli_do__gh_token_create)