repo_name stringlengths 7 65 | path stringlengths 5 185 | copies stringlengths 1 4 | size stringlengths 4 6 | content stringlengths 977 990k | license stringclasses 14
values | hash stringlengths 32 32 | line_mean float64 7.18 99.4 | line_max int64 31 999 | alpha_frac float64 0.25 0.95 | ratio float64 1.5 7.84 | autogenerated bool 1
class | config_or_test bool 2
classes | has_no_keywords bool 2
classes | has_few_assignments bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yashaka/selene | tests/integration/browser__open_test.py | 1 | 1590 | # MIT License
#
# Copyright (c) 2015-2022 Iakiv Kramarenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | mit | f621aacfc37b3612d39dce066277d7d7 | 40.842105 | 80 | 0.741509 | 4.228723 | false | true | false | false |
yashaka/selene | tests/integration/element__scroll_to__test.py | 1 | 2338 | # MIT License
#
# Copyright (c) 2015-2022 Iakiv Kramarenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | mit | 6b6ff4da526c3133994fec37dbd303c7 | 39.310345 | 80 | 0.714713 | 3.922819 | false | true | false | false |
yashaka/selene | tests/examples/test_wait_until.py | 1 | 3132 | # MIT License
#
# Copyright (c) 2015-2022 Iakiv Kramarenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | mit | 046caff8c66aae324fcf38afcd77f6e7 | 33.8 | 86 | 0.698276 | 4.204027 | false | true | false | false |
uclapi/uclapi | backend/uclapi/dashboard/views.py | 1 | 3789 | import os
from distutils.util import strtobool
from django.http import HttpResponse
from django.shortcuts import redirect, render
from django.utils.http import quote
from django.views.decorators.csrf import csrf_exempt, ensure_csrf_cookie
from uclapi.settings import FAIR_USE_POLICY
from oauth.app_helpers import valida... | mit | 0a291af64e2be2f13e34d3d40ab43614 | 27.066667 | 84 | 0.634204 | 3.878199 | false | false | false | false |
yashaka/selene | tests/integration/browser__execute_script_test.py | 1 | 2373 | # MIT License
#
# Copyright (c) 2015-2022 Iakiv Kramarenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | mit | 00c3c64b25188b9b584f5dddec24a52d | 48.4375 | 117 | 0.729456 | 4.134146 | false | false | false | false |
yashaka/selene | selene/core/wait.py | 1 | 5505 | # MIT License
#
# Copyright (c) 2015-2022 Iakiv Kramarenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | mit | 3b1fc582791c88742e097bdfe4b3955c | 33.192547 | 119 | 0.605086 | 4.257541 | false | false | false | false |
uclapi/uclapi | backend/uclapi/timetable/migrations/0010_auto_20190220_1835.py | 1 | 3406 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-02-20 18:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('timetable', '0009_coursea_courseb'),
]
operations = [
migrations.AlterFiel... | mit | aebdaf4372e17d0908822a1d29f16aab | 31.438095 | 61 | 0.551674 | 4.553476 | false | false | false | false |
yashaka/selene | tests/integration/collection__filtered_by_condition__lazy_search_test.py | 1 | 2844 | # MIT License
#
# Copyright (c) 2015-2022 Iakiv Kramarenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | mit | c85230e472e0d9923abaf47638f12a28 | 31.318182 | 80 | 0.662096 | 3.822581 | false | false | false | false |
uclapi/uclapi | backend/uclapi/roombookings/helpers.py | 1 | 10126 | from __future__ import unicode_literals
import datetime
import json
from datetime import timedelta
import ciso8601
import pytz
import redis
from django.conf import settings
from django.core.exceptions import FieldError
from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator
from django.db.models imp... | mit | aef4137ce05591c48645798cf8bdd729 | 27.849003 | 76 | 0.576931 | 3.743438 | false | false | false | false |
uclapi/uclapi | backend/uclapi/uclapi/celery.py | 1 | 3967 | from __future__ import absolute_import, unicode_literals
import celery
import os
from common.helpers import read_dotenv
read_dotenv(os.path.join(os.path.dirname(os.path.dirname(__file__)), '.env'))
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'uclapi.settings')
class Celery(celery.Celery):
def on_configure... | mit | f174c73763315ed0c412916bac387d6a | 46.795181 | 111 | 0.605495 | 3.778095 | false | false | false | false |
appleseedhq/blenderseed | operators/osl_ops.py | 2 | 5298 | #
# This source file is part of appleseed.
# Visit https://appleseedhq.net/ for additional information and resources.
#
# This software is released under the MIT license.
#
# Copyright (c) 2019 Jonathan Dent, The appleseedhq Organization
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
#... | mit | 21d5ae286bcd59251ba0ba0c45f9aeaf | 39.442748 | 104 | 0.580974 | 4.59497 | false | false | false | false |
appleseedhq/blenderseed | translators/cycles_shaders.py | 1 | 5153 | #
# This source file is part of appleseed.
# Visit https://appleseedhq.net/ for additional information and resources.
#
# This software is released under the MIT license.
#
# Copyright (c) 2020 Jonathan Dent, The appleseedhq Organization
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
#... | mit | 88ed61261eaf84f6e9ffa7a4c1da81f4 | 36.889706 | 97 | 0.645837 | 3.715213 | false | false | false | false |
appleseedhq/blenderseed | translators/assethandlers.py | 1 | 5338 | #
# This source file is part of appleseed.
# Visit http://appleseedhq.net/ for additional information and resources.
#
# This software is released under the MIT license.
#
# Copyright (c) 2019 Jonathan Dent, The appleseedhq Organization
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# ... | mit | 9a00e28c2b53e3fd9008ccca67a33582 | 35.561644 | 120 | 0.671975 | 3.925 | false | false | false | false |
appleseedhq/blenderseed | ui/objects.py | 2 | 7091 | #
# This source file is part of appleseed.
# Visit https://appleseedhq.net/ for additional information and resources.
#
# This software is released under the MIT license.
#
# Copyright (c) 2019 Jonathan Dent, The appleseedhq Organization
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
#... | mit | 15936cb48268c1beeb9109c1be194cb9 | 35.551546 | 148 | 0.672966 | 3.37185 | false | false | false | false |
appleseedhq/blenderseed | translators/scene.py | 1 | 42867 | #
# This source file is part of appleseed.
# Visit http://appleseedhq.net/ for additional information and resources.
#
# This software is released under the MIT license.
#
# Copyright (c) 2019 Jonathan Dent, The appleseedhq Organization
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# ... | mit | 1453228d1eeb447ee62b91a75afba88d | 47.273649 | 159 | 0.582826 | 4.028475 | false | false | false | false |
mbi/django-rosetta | rosetta/access.py | 1 | 2502 | import importlib
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from .conf import settings as rosetta_settings
def can_translate(user):
return get_access_control_function()(user)
def get_access_control_function():
"""
Return a predicate for determining if a us... | mit | acd8ae2cfbffab73a8e592584a9bd81f | 38.714286 | 245 | 0.692246 | 4.17 | false | false | false | false |
rkhleics/wagtailmenus | wagtailmenus/models/pages.py | 2 | 11199 | from copy import copy
from io import StringIO
from django.conf import settings as django_settings
from django.core.exceptions import ValidationError
from django.db import models
from django.http import HttpResponse
from django.shortcuts import redirect
from django.utils.translation import ugettext_lazy as _
from wagta... | mit | d88d70c18c2aca82db856c26735e697c | 35.009646 | 79 | 0.604072 | 4.21015 | false | false | false | false |
rkhleics/wagtailmenus | wagtailmenus/modeladmin.py | 2 | 4086 | from django.conf.urls import url
from django.contrib.admin.utils import quote
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext_lazy as _
from wagtail.contrib.modeladmin.options import ModelAdmin
from wagtail.contrib.modeladmin.helpers import ButtonHelper
from wagtailmenus.con... | mit | b71ad03aa255af81b6f11c3ba3aee73d | 35.810811 | 79 | 0.625551 | 3.783333 | false | false | false | false |
rkhleics/wagtailmenus | wagtailmenus/tests/migrations/0001_initial.py | 3 | 1569 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-17 19:20
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailcore', '0028_merge'),
]
... | mit | f14389f5c86f7b99524bd84ff8b6cb9b | 38.225 | 225 | 0.597196 | 4.286885 | false | false | false | false |
mbi/django-rosetta | rosetta/conf/__init__.py | 1 | 4382 | """
For a description of each rosetta setting see: docs/settings.rst.
"""
from django.conf import settings as dj_settings
from django.core.signals import setting_changed
__all__ = ['settings']
class RosettaSettings(object):
"""
Class that holds rosetta settings.
The settings object is an instance of t... | mit | 80845d95033b7808a07574747800940e | 40.733333 | 129 | 0.63099 | 3.536723 | false | false | false | false |
more-itertools/more-itertools | more_itertools/more.py | 1 | 133390 | import warnings
from collections import Counter, defaultdict, deque, abc
from collections.abc import Sequence
from functools import partial, reduce, wraps
from heapq import heapify, heapreplace, heappop
from itertools import (
chain,
compress,
count,
cycle,
dropwhile,
groupby,
islice,
r... | mit | fc296c9c995af0b86bdc87917048b495 | 29.671419 | 79 | 0.55385 | 3.756618 | false | false | false | false |
twisted/axiom | axiom/_fincache.py | 1 | 5354 | from weakref import ref
from traceback import print_exc
from twisted.python import log
from axiom import iaxiom
class CacheFault(KeyError):
"""
An item has fallen out of cache, but the weakref callback has not yet run.
"""
class CacheInconsistency(RuntimeError):
"""
A key being cached is alrea... | mit | 269a9b6b5d3f29ea2c295033be0571ec | 31.646341 | 81 | 0.600486 | 4.417492 | false | false | false | false |
twisted/axiom | axiom/upgrade.py | 1 | 11403 | # -*- test-case-name: axiom.test.test_upgrading -*-
"""
Axiom Item/schema upgrade support.
"""
from twisted.python.failure import Failure
from twisted.python.log import msg
from twisted.python.reflect import qual
from axiom.errors import NoUpgradePathAvailable, UpgraderRecursion
from axiom.errors import ItemUpgradeEr... | mit | 8414fe1b5daecdac39065aeca456ac7b | 32.9375 | 93 | 0.610103 | 4.360612 | false | false | false | false |
twisted/axiom | axiom/tags.py | 2 | 3742 |
from epsilon.extime import Time
from axiom.item import Item
from axiom.attributes import text, reference, integer, AND, timestamp
class Tag(Item):
typeName = 'tag'
schemaVersion = 1
name = text(doc="""
The short string which is being applied as a tag to an Item.
""")
created = timestamp(doc... | mit | 63776f992967b0e0e73e9152559ed653 | 28.936 | 85 | 0.611972 | 4.331019 | false | false | false | false |
twisted/axiom | axiom/plugins/axiom_plugins.py | 1 | 9700 | # Copyright (c) 2008 Divmod. See LICENSE for details.
"""
Plugins provided by Axiom for Axiom.
"""
from __future__ import print_function
import getpass
import code, os, traceback, sys
try:
import readline
except ImportError:
readline = None
from zope.interface import directlyProvides
from twisted.python im... | mit | 63245d3483a71640f340183ac1d4b129 | 31.333333 | 119 | 0.623711 | 4.248795 | false | false | false | false |
twisted/axiom | axiom/test/test_reference.py | 1 | 8741 | import gc
from twisted.trial.unittest import TestCase
from axiom.store import Store
from axiom.upgrade import registerUpgrader, registerAttributeCopyingUpgrader
from axiom.item import Item, declareLegacyItem
from axiom.attributes import integer, reference
from axiom.errors import BrokenReference, DeletionDisallowed
... | mit | e7a6cfaaa85a924aeac9b79e0287e095 | 32.362595 | 83 | 0.644091 | 3.886616 | false | true | false | false |
amueller/word_cloud | examples/wordcloud_cn.py | 1 | 3059 | # - * - coding: utf - 8 -*-
"""
create wordcloud with chinese
=============================
Wordcloud is a very good tool, but if you want to create
Chinese wordcloud only wordcloud is not enough. The file
shows how to use wordcloud with Chinese. First, you need a
Chinese word segmentation library jieba, jieba is now ... | mit | 58e241a2f8b07996a70fa855eed15847 | 30.350515 | 104 | 0.71095 | 3.028884 | false | false | false | false |
amueller/word_cloud | test/test_wordcloud.py | 1 | 15080 | from wordcloud import WordCloud, get_single_color_func, ImageColorGenerator
import numpy as np
import pytest
from random import Random
from numpy.testing import assert_array_equal
from PIL import Image
import xml.etree.ElementTree as ET
import matplotlib
matplotlib.use('Agg')
THIS = """The Zen of Python, by Tim Pet... | mit | 9f4fa533473227a1ea4c52acc7c916e9 | 28.920635 | 98 | 0.667639 | 3.307743 | false | true | false | false |
materialsproject/custodian | custodian/utils.py | 1 | 1357 | """
Utility function and classes.
"""
import logging
import os
import tarfile
from glob import glob
def backup(filenames, prefix="error"):
"""
Backup files to a tar.gz file. Used, for example, in backing up the
files of an errored run before performing corrections.
Args:
filenames ([str]): L... | mit | 9d4ad357f557ac2b08eb7e71c86e78cb | 27.270833 | 79 | 0.599853 | 3.790503 | false | false | false | false |
materialsproject/custodian | custodian/tests/test_custodian.py | 1 | 9650 | import glob
import os
import random
import subprocess
import unittest
from ruamel import yaml
from custodian.custodian import (
Custodian,
ErrorHandler,
Job,
MaxCorrectionsError,
MaxCorrectionsPerHandlerError,
MaxCorrectionsPerJobError,
NonRecoverableError,
ReturnCodeError,
Validat... | mit | 7f626e9495929a5e2a948f71a94ff372 | 27.80597 | 115 | 0.575544 | 3.482497 | false | true | false | false |
amueller/word_cloud | examples/colored_by_group.py | 2 | 4405 | #!/usr/bin/env python
"""
Colored by Group Example
========================
Generating a word cloud that assigns colors to words based on
a predefined mapping from colors to words
"""
from wordcloud import (WordCloud, get_single_color_func)
import matplotlib.pyplot as plt
class SimpleGroupedColorFunc(object):
"... | mit | af6d1ec8fc73794a82b83dea41623557 | 33.147287 | 78 | 0.663791 | 3.88448 | false | false | false | false |
materialsproject/custodian | custodian/cp2k/jobs.py | 1 | 13203 | """
This module implements basic kinds of jobs for Cp2k runs.
"""
import logging
import os
import shutil
import subprocess
from monty.os.path import zpath
from monty.shutil import decompress_dir
from pymatgen.io.cp2k.inputs import Cp2kInput, Keyword
from custodian.cp2k.interpreter import Cp2kModder
from custodian.cp... | mit | a61ba09d560fa712b553d2adb2d2eb1a | 34.302139 | 118 | 0.479512 | 4.219559 | false | false | false | false |
materialsproject/custodian | custodian/vasp/interpreter.py | 1 | 2115 | """
Implements various interpreters and modders for VASP.
"""
from pymatgen.io.vasp.inputs import VaspInput
from custodian.ansible.actions import DictActions, FileActions
from custodian.ansible.interpreter import Modder
class VaspModder(Modder):
"""
A Modder for VaspInputSets.
"""
def __init__(self... | mit | 52d69943a17917c1fbace1790b1260d8 | 36.767857 | 79 | 0.586761 | 4.387967 | false | false | false | false |
materialsproject/custodian | custodian/cp2k/interpreter.py | 1 | 3508 | """
CP2K adapted interpreter and modder for custodian.
"""
from pymatgen.io.cp2k.inputs import Cp2kInput
from custodian.ansible.actions import DictActions, FileActions
from custodian.ansible.interpreter import Modder
from custodian.cp2k.utils import cleanup_input
__author__ = "Nicholas Winner"
__version__ = "1.0"
__... | mit | d3f21a2149c20678642f8268f6170962 | 38.863636 | 101 | 0.598632 | 4.252121 | false | false | false | false |
materialsproject/custodian | custodian/vasp/validators.py | 1 | 4852 | """
Implements various validatiors, e.g., check if vasprun.xml is valid, for VASP.
"""
import logging
import os
from collections import deque
from pymatgen.io.vasp import Chgcar, Incar, Outcar, Vasprun
from custodian.custodian import Validator
class VasprunXMLValidator(Validator):
"""
Checks that a valid v... | mit | bf74b8a19e41340cff7de00e467ea16b | 29.325 | 99 | 0.567189 | 3.790625 | false | false | false | false |
amueller/word_cloud | wordcloud/_version.py | 1 | 18455 |
# This file helps to compute a version number in source trees obtained from
# git-archive tarball (such as those provided by githubs download-from-tag
# feature). Distribution tarballs (built by setup.py sdist) and build
# directories (produced by setup.py build) will contain a much shorter file
# that just contains t... | mit | 8751f5c42b874d20a4a210f5dc86dc4c | 34.490385 | 79 | 0.575291 | 3.95436 | false | false | false | false |
materialsproject/custodian | custodian/nwchem/jobs.py | 1 | 2234 | """
This module implements basic kinds of jobs for Nwchem runs.
"""
import shutil
import subprocess
from monty.io import zopen
from monty.shutil import gzip_dir
from custodian.custodian import Job
__author__ = "Shyue Ping Ong"
__version__ = "0.1"
__maintainer__ = "Shyue Ping Ong"
__email__ = "ongsp@ucsd.edu"
__stat... | mit | d0397b1c7b4c8c8f9be1a67390ce61f2 | 27.278481 | 110 | 0.561325 | 3.851724 | false | false | false | false |
trolldbois/ctypeslib | ctypeslib/codegen/typehandler.py | 1 | 9685 | """Handler for Type nodes from the clang AST tree."""
from clang.cindex import TypeKind
from ctypeslib.codegen import typedesc
from ctypeslib.codegen.util import log_entity
from ctypeslib.codegen.handler import ClangHandler
from ctypeslib.codegen.handler import InvalidDefinitionError
import logging
log = logging.get... | mit | 8003ffe01e889634d8a063b8981a7826 | 34.606618 | 88 | 0.579659 | 3.951448 | false | false | false | false |
phetsims/phet-info | ide/sublime-text/phet-plugin/phet.py | 1 | 28099 | # Copyright 2020, University of Colorado Boulder
#
# @author Jonathan Olson <jonathan.olson@colorado.edu>
import sublime, sublime_plugin, os, re, subprocess, webbrowser, json, threading
from functools import reduce
# Useful URLs:
# https://www.sublimetext.com/docs/3/api_reference.html
# http://www.sublimetext.com/do... | mit | 9fb03675061449835a939d7072784689 | 37.810773 | 887 | 0.65892 | 3.256722 | false | false | false | false |
devopshq/crosspm | crosspm/adapters/files.py | 1 | 11118 | # -*- coding: utf-8 -*-
import json
import shutil
import pathlib
from crosspm.adapters.common import BaseAdapter
from crosspm.helpers.exceptions import * # noqa
from crosspm.helpers.package import Package
from crosspm.helpers.config import CROSSPM_DEPENDENCY_LOCK_FILENAME
import os
CHUNK_SIZE = 1024
setup = {
"n... | mit | 0d066e3060c19e6db2253e3927d0f867 | 40.796992 | 115 | 0.475355 | 4.569667 | false | false | false | false |
mwouts/jupytext | jupytext/compare.py | 1 | 12936 | """Compare two Jupyter notebooks"""
import difflib
import json
import re
from .cell_metadata import _IGNORE_CELL_METADATA
from .combine import combine_inputs_with_outputs
from .formats import long_form_one_format
from .header import _DEFAULT_NOTEBOOK_METADATA
from .jupytext import reads, writes
from .metadata_filter ... | mit | ab9f3b799878b4f0aa46153a8562a598 | 32.084399 | 91 | 0.551716 | 4.312 | false | true | false | false |
mwouts/jupytext | tests/test_read_incomplete_rmd.py | 1 | 1798 | import jupytext
def test_incomplete_header(
rmd="""---
title: Incomplete header
```{python}
1+1
```
""",
):
nb = jupytext.reads(rmd, "Rmd")
assert len(nb.cells) == 2
assert nb.cells[0].cell_type == "markdown"
assert nb.cells[0].source == "---\ntitle: Incomplete header"
assert nb.cells[1].cell... | mit | 42056b95e7048ea65e0da28871f5dd65 | 19.431818 | 66 | 0.580089 | 2.840442 | false | false | false | false |
pureqml/qmlcore | platform/android/build.py | 1 | 1685 | #!/usr/bin/env python
from __future__ import print_function
import argparse
import os
def build(app, title, release):
os.system('rm -rf %s' %app)
res = os.system('cordova create %s com.%s.app %s' %(app, app, title))
if res != 0:
print("Failed to create android app")
return
os.system('rsync -a ./ %s/www --ex... | mit | 86215ad42a77543b3c9ea6f46c79ca5e | 32.039216 | 174 | 0.689614 | 3.12037 | false | false | false | false |
twilio/twilio-python | tests/integration/supersim/v1/test_usage_record.py | 1 | 29251 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class UsageRecordTestCase(Integ... | mit | 6975984b3243e58720f77a3801509c05 | 39.51385 | 162 | 0.379953 | 4.556231 | false | false | false | false |
twilio/twilio-python | twilio/rest/studio/v1/flow/engagement/__init__.py | 1 | 16213 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | f3cd2660569f64431546f7f6aad380dd | 32.847599 | 134 | 0.614569 | 4.273326 | false | false | false | false |
twilio/twilio-python | twilio/rest/numbers/v2/regulatory_compliance/end_user.py | 1 | 14458 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | 997462dc403da034c784bf9202b34d4b | 33.922705 | 103 | 0.628441 | 4.25987 | false | false | false | false |
twilio/twilio-python | twilio/rest/preview/trusted_comms/__init__.py | 1 | 2274 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base.version import Version
from twilio.rest.preview.trusted_comms.branded_channel import BrandedChannelList
from twilio.rest.preview.trusted_comms.brands_information import BrandsInforma... | mit | f2433f6bb444e237907257e505272ded | 29.32 | 90 | 0.627968 | 3.679612 | false | false | false | false |
twilio/twilio-python | twilio/rest/chat/v3/channel.py | 1 | 11327 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 5f899bb0bd79a00a8bcb66b20533f1de | 30.639665 | 124 | 0.606427 | 4.351517 | false | false | false | false |
twilio/twilio-python | twilio/rest/content/v1/content/__init__.py | 1 | 13447 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | ddc43850da3f4f9d40c97767c3c0a9a9 | 32.533666 | 103 | 0.615751 | 4.492817 | false | false | false | false |
twilio/twilio-python | twilio/rest/voice/v1/dialing_permissions/settings.py | 1 | 8188 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
f... | mit | 65b0f93acac84eca9c66a246544fbcac | 32.834711 | 159 | 0.652785 | 4.423555 | false | false | false | false |
twilio/twilio-python | twilio/rest/verify/v2/safelist.py | 1 | 7938 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
f... | mit | d7c4cc23f900fa551db46fad881fc5de | 29.530769 | 105 | 0.619678 | 4.2336 | false | false | false | false |
twilio/twilio-python | twilio/rest/video/v1/room/room_participant/room_participant_anonymize.py | 1 | 10140 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | af14f68442b599d1f36b5ba4fef82c2b | 30.886792 | 105 | 0.609961 | 4.152334 | false | false | false | false |
twilio/twilio-python | tests/integration/trusthub/v1/trust_products/test_trust_products_entity_assignments.py | 1 | 7330 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class TrustProductsEntityAssign... | mit | 2dd821dfd09cc3c908ff1102e32a4445 | 41.126437 | 165 | 0.591542 | 4.642179 | false | true | false | false |
twilio/twilio-python | twilio/rest/voice/v1/dialing_permissions/country/__init__.py | 1 | 18110 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
f... | mit | f9bc90e5e7649c1a79c9f983056a2dd1 | 39.424107 | 155 | 0.648647 | 4.318073 | false | false | false | false |
twilio/twilio-python | twilio/rest/serverless/v1/service/environment/variable.py | 1 | 16891 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 2154749bff1697a55e002418dcf8fa12 | 35.09188 | 117 | 0.624119 | 4.545479 | false | false | false | false |
twilio/twilio-python | twilio/rest/notify/v1/__init__.py | 2 | 1298 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base.version import Version
from twilio.rest.notify.v1.credential import CredentialList
from twilio.rest.notify.v1.service import ServiceList
class V1(Version):
def __init__(self, ... | mit | d08b1e2d208f6257800115c23a1b40c1 | 23.490566 | 63 | 0.565485 | 3.840237 | false | false | false | false |
twilio/twilio-python | twilio/rest/media/v1/player_streamer/__init__.py | 1 | 17141 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 2024e8e4093db5477c655c63a17b2a70 | 34.197125 | 114 | 0.632285 | 4.28954 | false | false | false | false |
twilio/twilio-python | twilio/rest/studio/v1/flow/execution/__init__.py | 1 | 18388 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | a815d50b1d6749538587fa5a97baf495 | 33.434457 | 144 | 0.615293 | 4.391689 | false | false | false | false |
twilio/twilio-python | twilio/rest/notify/v1/credential.py | 1 | 16655 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 204190f93125596758292a8faaa82d99 | 35.364629 | 130 | 0.626539 | 4.478354 | false | false | false | false |
twilio/twilio-python | twilio/rest/messaging/v1/usecase.py | 1 | 3683 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
from twilio.base.page import Page
class UsecaseList(List... | mit | dcb766a140f3e9ae8915ca2c9c0f6b8d | 27.330769 | 78 | 0.621504 | 4.180477 | false | false | false | false |
twilio/twilio-python | twilio/base/domain.py | 3 | 1543 | class Domain(object):
"""
This represents at Twilio API subdomain.
Like, `api.twilio.com` or `lookups.twilio.com'.
"""
def __init__(self, twilio):
"""
:param Twilio twilio:
:return:
"""
self.twilio = twilio
self.base_url = None
def absolute_url(s... | mit | 281338513038572392d498101dfa94c1 | 31.145833 | 74 | 0.562541 | 4.322129 | false | false | false | false |
twilio/twilio-python | twilio/rest/supersim/v1/sim/sim_ip_address.py | 1 | 7833 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
from twilio.base.page import Page
class SimIpAddressList... | mit | 0dd1dc2d32a6c6de240d7f47c9151112 | 35.774648 | 97 | 0.632452 | 4.27799 | false | false | false | false |
twilio/twilio-python | twilio/rest/oauth/v1/oauth.py | 1 | 5379 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
f... | mit | d062404715ea4e971046154678762f40 | 25.761194 | 85 | 0.593605 | 4.062689 | false | false | false | false |
twilio/twilio-python | twilio/rest/trunking/v1/trunk/__init__.py | 1 | 24391 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | baf1b60abede68a5101c79cdf5cb4180 | 35.081361 | 163 | 0.629863 | 4.186577 | false | false | false | false |
twilio/twilio-python | tests/integration/serverless/v1/service/test_function.py | 1 | 7719 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class FunctionTestCase(Integrat... | mit | 1e055618b83c3b6e06722f4b77ca68de | 40.058511 | 173 | 0.591916 | 4.712454 | false | true | false | false |
twilio/twilio-python | tests/integration/pricing/v2/test_country.py | 1 | 5693 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class CountryTestCase(Integrati... | mit | 4dc3a06a1ff23c66c85ab289584e59fe | 32.686391 | 108 | 0.384507 | 4.628455 | false | true | false | false |
twilio/twilio-python | twilio/rest/api/v2010/account/new_key.py | 1 | 5087 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
from twilio.base.page ... | mit | de0e0be39aca7c65167b5da06ca710c3 | 29.100592 | 109 | 0.614508 | 4.193735 | false | false | false | false |
twilio/twilio-python | twilio/rest/preview/hosted_numbers/authorization_document/__init__.py | 1 | 20048 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | c2d39da02a0342166cbe44709c1d11a9 | 38.936255 | 136 | 0.658071 | 4.640741 | false | false | false | false |
twilio/twilio-python | twilio/rest/chat/v2/service/channel/message.py | 1 | 21814 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | c9d2fd90dfda69b21385e16d7c36a34f | 35.600671 | 124 | 0.615385 | 4.387369 | false | false | false | false |
twilio/twilio-python | twilio/rest/api/v2010/account/available_phone_number/local.py | 1 | 20361 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
from twilio.base.page ... | mit | 2e5d5d7ca45960cfe80f9f1483647ccf | 43.749451 | 171 | 0.640784 | 4.32293 | false | false | false | false |
twilio/twilio-python | twilio/rest/proxy/v1/service/session/participant/__init__.py | 1 | 18213 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | d9d85e51fd383f372121e82b4e3e3da3 | 34.781925 | 112 | 0.622797 | 4.485961 | false | false | false | false |
twilio/twilio-python | twilio/rest/conversations/v1/role.py | 1 | 13583 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | 638488e6d8c51bb08ba251d3794010d2 | 31.263658 | 97 | 0.606714 | 4.320293 | false | false | false | false |
twilio/twilio-python | tests/integration/voice/v1/dialing_permissions/test_bulk_country_update.py | 2 | 1308 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class BulkCountryUpdateTestCase... | mit | bdb63eecb34dacd7ad7b373a8bd956bf | 27.434783 | 98 | 0.566514 | 3.987805 | false | true | false | false |
twilio/twilio-python | tests/integration/api/v2010/account/recording/test_transcription.py | 1 | 7373 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class TranscriptionTestCase(Int... | mit | d0526be050db056f787f323bb83eaed8 | 43.957317 | 193 | 0.566527 | 4.750644 | false | true | false | false |
twilio/twilio-python | tests/integration/media/v1/test_media_recording.py | 1 | 6383 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class MediaRecordingTestCase(In... | mit | d281ca2733fd3a6421491cda6461a648 | 39.916667 | 224 | 0.559141 | 3.942557 | false | true | false | false |
twilio/twilio-python | twilio/rest/chat/v1/credential.py | 1 | 16191 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | f887de2581760c58dd2b9701b19e9f27 | 34.98 | 166 | 0.625286 | 4.491262 | false | false | false | false |
twilio/twilio-python | twilio/rest/ip_messaging/v1/service/channel/__init__.py | 1 | 19213 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | fc8d164bd9e32c6202727eb7d3c40497 | 31.345118 | 99 | 0.600739 | 4.327252 | false | false | false | false |
twilio/twilio-python | twilio/rest/autopilot/v1/assistant/task/sample.py | 1 | 18390 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | b462500b3a6d36c68a801bcd58143315 | 36.226721 | 123 | 0.625992 | 4.41113 | false | false | false | false |
twilio/twilio-python | twilio/rest/voice/v1/connection_policy/__init__.py | 1 | 14675 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | d346834c25f5bc0ee3c71b5c8b52fd81 | 33.857482 | 108 | 0.637411 | 4.532119 | false | false | false | false |
twilio/twilio-python | twilio/rest/microvisor/v1/app.py | 1 | 11930 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 6ccdacea52c90c7d20ce2ee0417d6e52 | 31.865014 | 97 | 0.607712 | 4.314647 | false | false | false | false |
twilio/twilio-python | twilio/rest/preview/trusted_comms/current_call.py | 1 | 10840 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 796b60d0d82493789c2bb9e3363c2b42 | 30.788856 | 94 | 0.619649 | 4.311854 | false | false | false | false |
twilio/twilio-python | twilio/rest/ip_messaging/v2/service/user/user_binding.py | 1 | 14897 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | b6f0cdf32f4b90d63374218615d6d9cb | 32.401345 | 102 | 0.603947 | 4.274605 | false | false | false | false |
twilio/twilio-python | tests/integration/chat/v1/service/user/test_user_channel.py | 1 | 3943 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class UserChannelTestCase(Integ... | mit | e72e94d8f8231684eab818255d91b23f | 41.858696 | 197 | 0.541466 | 4.904229 | false | true | false | false |
twilio/twilio-python | twilio/rest/conversations/v1/service/participant_conversation.py | 1 | 13877 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
from twilio.base.page ... | mit | 4c3cddcd6601b731b9dfeb4e6a7cdf04 | 38.200565 | 122 | 0.652158 | 4.572323 | false | false | false | false |
twilio/twilio-python | twilio/rest/taskrouter/v1/workspace/event.py | 1 | 19339 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | 4555359fb6923f769cb484b102b4b822 | 35.76616 | 101 | 0.611459 | 4.355631 | false | false | false | false |
twilio/twilio-python | twilio/rest/chat/v2/service/role.py | 1 | 14387 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | bb394618027aee30d9b54b02b037cdb5 | 31.847032 | 97 | 0.602002 | 4.32042 | false | false | false | false |
twilio/twilio-python | twilio/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.py | 1 | 11383 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | fdb0edd2be266a124b8c983317a2ddc1 | 36.692053 | 127 | 0.661337 | 4.467425 | false | false | false | false |
twilio/twilio-python | twilio/rest/serverless/v1/service/function/__init__.py | 1 | 15989 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | c74c58535548a435ca770d8e278c5c01 | 34.063596 | 100 | 0.625618 | 4.468698 | false | false | false | false |
twilio/twilio-python | tests/integration/api/v2010/account/test_key.py | 1 | 5819 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class KeyTestCase(IntegrationTe... | mit | c06b71e6be6541ef4fa233c3537d586f | 34.699387 | 137 | 0.543392 | 4.465848 | false | true | false | false |
twilio/twilio-python | twilio/rest/serverless/v1/service/environment/log.py | 1 | 16480 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | 7827c00dd2464ad1f2fda2539db9907a | 34.982533 | 112 | 0.612439 | 4.399359 | false | false | false | false |
twilio/twilio-python | tests/integration/conversations/v1/test_participant_conversation.py | 1 | 6818 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class ParticipantConversationTe... | mit | 4039f0f1a8f91b351771f05e1d1d99d5 | 43.855263 | 178 | 0.497507 | 4.566644 | false | true | false | false |
twilio/twilio-python | twilio/base/serialize.py | 1 | 2041 | import datetime
import json
from twilio.base import values
def iso8601_date(d):
"""
Return a string representation of a date that the Twilio API understands
Format is YYYY-MM-DD. Returns None if d is not a string, datetime, or date
"""
if d == values.unset:
return d
elif isinstance(d,... | mit | 0093c4c28ed9864c143f2d215073fa0e | 23.890244 | 78 | 0.595296 | 3.822097 | false | false | false | false |
twilio/twilio-python | twilio/rest/events/v1/subscription/subscribed_event.py | 1 | 14996 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | dc52a470561f3dc1e676c528ad04dfd7 | 35.048077 | 107 | 0.636503 | 4.522316 | false | false | false | false |
twilio/twilio-python | twilio/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.py | 1 | 17374 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import serialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import... | mit | 0b90fea6105c72b05d63e0ee0f861415 | 38.130631 | 145 | 0.658628 | 4.508044 | false | false | false | false |
twilio/twilio-python | twilio/rest/supersim/v1/network.py | 1 | 12106 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
f... | mit | 646abdaddab4184f9efaffa88479bd1f | 33.887608 | 100 | 0.616554 | 4.3783 | false | false | false | false |
twilio/twilio-python | twilio/rest/api/v2010/account/address/__init__.py | 1 | 21916 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | 8ddce5610b4d34a9c74293044160273e | 35.587646 | 103 | 0.619593 | 4.457189 | false | false | false | false |
twilio/twilio-python | twilio/rest/bulkexports/v1/export/__init__.py | 1 | 8712 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
f... | mit | b2167191bd000145a6b655b7e8e09057 | 29.327526 | 105 | 0.62006 | 4.027765 | false | false | false | false |
twilio/twilio-python | twilio/rest/api/v2010/__init__.py | 2 | 5923 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base.version import Version
from twilio.rest.api.v2010.account import AccountContext
from twilio.rest.api.v2010.account import AccountList
class V2010(Version):
def __init__(self, ... | mit | 8cd85aba46b6fec9075c8a1b80e9db3d | 24.640693 | 100 | 0.594631 | 4.010156 | false | false | false | false |
twilio/twilio-python | twilio/rest/proxy/v1/service/short_code.py | 1 | 15301 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base... | mit | cb6738fd5aceadb54eefe2f83f8ef265 | 33.461712 | 117 | 0.617607 | 4.338248 | false | false | false | false |
twilio/twilio-python | tests/integration/conversations/v1/user/test_user_conversation.py | 1 | 10243 | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class UserConversationTestCase(... | mit | 06559c0980ab237bcde2bc84b869823d | 44.524444 | 178 | 0.555501 | 4.65168 | false | true | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.