blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
6da4928982eb3db9b43481b949d33b97d283ca16
7dae72dbf90230633271669f4bd1c24a3bfb651c
/src/matches/migrations/0003_auto_20171009_0851.py
a1d589e36d9bfa5079630eec5cb1b37de443f156
[]
no_license
cshc/cshc-web
81bcb134db607c45e3284d7ef4d825f04f5cd9c7
d85aa4522c4ffa603efa9e8625fc7253fb7550b5
refs/heads/master
2023-03-04T16:45:51.823450
2022-10-21T15:16:48
2022-10-21T15:17:58
106,065,961
3
1
null
2023-08-28T13:43:22
2017-10-07T02:28:25
Python
UTF-8
Python
false
false
1,196
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-09 01:51 from __future__ import unicode_literals from django.db import migrations, models import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('matches', '0002_auto_20171008_1816'), ] operations = [ ...
[ "admin@grahammcculloch.co.uk" ]
admin@grahammcculloch.co.uk
4e54c9055ac6e0a17ea8477cf80fadca35c754ee
c47340ae6bcac6002961cc2c6d2fecb353c1e502
/test/test_token_data_response.py
da6f78e9ff0165bd5ba97f9b88cd256efebe3b52
[ "MIT" ]
permissive
rafaeldelrey/controlm_py
6d9f56b8b6e72750f329d85b932ace6c41002cbd
ed1eb648d1d23e587321227217cbfcc5065535ab
refs/heads/main
2023-04-23T09:01:32.024725
2021-05-19T00:25:53
2021-05-19T00:25:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# coding: utf-8 """ Control-M Services Provides access to BMC Control-M Services # noqa: E501 OpenAPI spec version: 9.20.115 Contact: customer_support@bmc.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import con...
[ "dcompane@gmail.com" ]
dcompane@gmail.com
7d9b5e9a7355d8c69586e6db9203367fad8f78fd
010b9b003f71bae2feed4c050ee97a7a806766c5
/acd/scores/cd.py
f7340a41d11266271a052dc71a2406320a530885
[ "MIT" ]
permissive
SilanHe/hierarchical-dnn-interpretations
19c4bb524e80288e61b55ae7bda8a3402f4def51
d6f96d0ab6fec48ee53ab930b2660e80525993b9
refs/heads/master
2022-04-20T15:38:48.677928
2020-01-20T18:27:50
2020-01-20T18:27:50
255,742,196
0
0
MIT
2020-04-14T22:29:59
2020-04-14T22:29:58
null
UTF-8
Python
false
false
7,923
py
import torch import torch.nn.functional as F from copy import deepcopy import numpy as np from scipy.special import expit as sigmoid from .cd_propagate import * from .cd_architecture_specific import * def cd(im_torch: torch.Tensor, model, mask=None, model_type=None, device='cuda', transform=None): '''Get contextua...
[ "chandan_singh@berkeley.edu" ]
chandan_singh@berkeley.edu
3f5b0a2477d0db12851f351f7537189440c1b853
4731f08d4a56ea33d7031d1b2aeed11859c5d722
/google-dev-python/rest/copyspecial.py
58513cf9f0a8d8f5f0e618d7c2d4b308ad7c7576
[]
no_license
cshintov/python
720bdecf30712e472b05a33efa08374e3b7baac9
995d07d15e3a709d771b4b1a38356c1f186c13e9
refs/heads/master
2021-01-23T06:54:45.302136
2015-09-23T16:59:31
2015-09-23T16:59:31
31,851,452
1
0
null
null
null
null
UTF-8
Python
false
false
2,442
py
#!/usr/bin/python # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ import sys import re import os import shutil import commands """Copy Special exercise """ #...
[ "cshintov@gmail.com" ]
cshintov@gmail.com
0f7cc766f64807ae4e1540145b07693fd5704b3d
041a7a021537af4abaa1a6799da8de5b2bd9bfe8
/01_Jump_to_Python/Chap03/131_2.py
72e2dbe9dcb80d21f42400fbd2d33e6d7979b78b
[]
no_license
webmia/Bigdata
8fbdbb988a5b7eb72d429f5c65735ba4a5503294
22f7135f311dc95c2d7677f2f2902cf3968c2ce9
refs/heads/master
2020-03-15T09:27:22.668735
2018-05-04T02:42:15
2018-05-04T02:42:15
132,075,187
0
0
null
null
null
null
UHC
Python
false
false
475
py
#coding: cp949 my_data=[1,1,1,4,2,4,4,6,8,6,8] print(my_data) unique_data=set(my_data) print(unique_data) for element in unique_data: print(element) t_data=(1,4,5,3,77) for element in t_data: print(element) str_data="Hello world" for element in str_data: print(element) dic_data = {"이름":"박가은", "나...
[ "USER@test.com" ]
USER@test.com
1c25cdbb08aec5cbd191e105438e0cf01d5a7c63
d7ad696cd1b550bb41d20f87b83c984ec7f19aa7
/atcoder/python/beginner/abc242/B/main.py
82ffdc9e2d174acb7d9af10b83050edfc1184d29
[]
no_license
mida-hub/hobby
2947d10da7964d945e63d57b549c1dcb90ef7305
6e6f381e59fc2b0429fab36474d867aa3855af77
refs/heads/master
2022-12-21T23:33:14.857931
2022-12-19T16:30:34
2022-12-19T16:30:34
147,890,434
0
0
null
2021-03-20T04:31:58
2018-09-08T01:31:59
Jupyter Notebook
UTF-8
Python
false
false
521
py
#!/usr/bin/env python3 import sys def solve(S: str): print(''.join(sorted(list(S)))) return # Generated by 2.12.0 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) def main(): def iterate_tokens(): for...
[ "rusuden0106@gmail.com" ]
rusuden0106@gmail.com
7642875fdf14af91fc099130c8f414e12d6c416f
936a8929956eb82b08c8f48c9bf2e7fb621412df
/tf_load_images.py
da2cb7677ce585dbb7b77194efd0638e32cc1205
[]
no_license
chenxu0602/TensorFlow2.0
3871b9b0cd391ca65938da7d3409e4667acb929c
c13742750ad09d8ec26fabe32578d27c927701a8
refs/heads/master
2021-07-12T11:10:08.665940
2021-02-27T09:21:29
2021-02-27T09:21:29
237,641,001
0
0
null
null
null
null
UTF-8
Python
false
false
5,182
py
import numpy as np import os import PIL import PIL.Image import tensorflow as tf import tensorflow_datasets as tfds print(tf.__version__) from pathlib import Path dataset_url = "https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz" data_dir = tf.keras.utils.get_file(origin=dataset_u...
[ "chenxu@Chens-iMac.local" ]
chenxu@Chens-iMac.local
d0703b9ce59cd95e14be57be8347ed11f1034d6c
2ed82968a60f7b2ef7ca70ff000e2098a853de75
/customized class/Bookclassbased/Books/models.py
7c0dcf8d059d35dd5c9266e120fa03ae72523e9f
[]
no_license
mariachacko93/DjangoProjectsFull
9d4fd79b51166fe10d322757dbba96feb68fdde1
5c4dbd142a553b761e660e237a40572d610b97cc
refs/heads/master
2023-02-28T01:57:25.578004
2021-02-04T10:05:34
2021-02-04T10:05:34
335,884,831
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from django.db import models # Create your models here. class Books(models.Model): book_name=models.CharField(max_length=120) pages=models.IntegerField() price=models.IntegerField() author=models.CharField(max_length=120) def __str__(self): return self.book_name
[ "mariachacko93@gmail.com" ]
mariachacko93@gmail.com
a01af70f8211d32cb28f824419589110dbe25ea9
0d49ae2184f2e88e4aefb423ae36578b8931e415
/intersight/apis/firmware_upgrade_api.py
8acded3d10b64e0b43af6c46f7ae9b2afac51726
[ "Apache-2.0" ]
permissive
sonogong777/intersight-python
0477c7e96cdd81e1e30a188d74948b5db4e41b04
af45333b23b0048029aeafcb0077f1d0a6ffe105
refs/heads/master
2021-04-30T03:29:46.680831
2018-02-12T20:22:10
2018-02-12T20:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,996
py
# coding: utf-8 """ UCS Starship API This is the UCS Starship REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os import re # python 2 and python 3 compatibility library from six...
[ "“dsoper@cisco.com”" ]
“dsoper@cisco.com”
dc67485818ea5e44f65e97c4969f0f161dd2edb7
4015291afebfd346da3fee4b1d5a775882b5b461
/services/web/server/tests/unit/with_dbs/03/login/test_login_2fa.py
ab6fb494c8fb88670c3efc12a8efb71602170dd3
[ "MIT" ]
permissive
pcrespov/osparc-simcore
3a8a6b5252038542f515c7e90d983ac6f1fb4de7
eb5e00bc2cf4acfe81f5dc422a5e50a4646c9596
refs/heads/master
2023-08-06T04:33:38.594066
2023-07-12T09:47:00
2023-07-12T09:47:00
130,357,545
0
1
MIT
2023-04-18T08:04:27
2018-04-20T12:10:41
Python
UTF-8
Python
false
false
12,449
py
# pylint: disable=redefined-outer-name # pylint: disable=unused-argument # pylint: disable=unused-variable import asyncio import logging from contextlib import AsyncExitStack from unittest.mock import Mock import pytest import sqlalchemy as sa from aiohttp import web from aiohttp.test_utils import TestClient, make_mo...
[ "noreply@github.com" ]
pcrespov.noreply@github.com
b20a10504c845f3e93d6fca2120a7c94da6edee6
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/Mailpile/2015/8/html_magic.py
fe5e4480c4f9db54ba730a6dd0b83408748066f1
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
4,383
py
# This plugin generates Javascript, HTML or CSS fragments based on the # current theme, skin and active plugins. # import mailpile.config from mailpile.commands import Command, RenderPage from mailpile.i18n import gettext as _ from mailpile.i18n import ngettext as _n from mailpile.plugins import PluginManager from mail...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
dd22e59f7eee2edd60e53575f35c61c4cd566253
84e1e3c5b44a599cd89ab592c0bd4f623bb8dbf0
/tests/test_manifolds.py
d0884d139cf57a578c953e22890fdcce4df32140
[ "MIT", "X11-distribute-modifications-variant" ]
permissive
oaxiom/glbase3
053d548e0c89e3ff6afba3e2a22a09c8cf3b81e5
a1e35eba86fb62b336d559c0b8c0015f38426781
refs/heads/master
2023-07-11T08:21:10.096623
2023-07-07T10:06:35
2023-07-07T10:06:35
125,803,860
12
2
MIT
2023-07-06T22:16:29
2018-03-19T05:03:46
Python
UTF-8
Python
false
false
3,198
py
""" manifolds tester code. Part of glbase3 Tests for the various manifolds """ import unittest # get glbase import sys, os, math sys.path.append(os.path.realpath("../../")) import glbase3 as gl def fq_eq(a, b, eps=0.000001): return abs(math.log(abs(a)) - math.log(abs(b))) <= eps class Test_Manifold(unittes...
[ "oaxiom@gmail.com" ]
oaxiom@gmail.com
b3ce04e610ea0659b6a80eab6724381fe7860097
70263abbb3c7efabf4039f5861e4d417926c13af
/nova/nova/manager.py
a7b67cfa7cc0b8baec2710e21dd52ca99845c9f6
[ "Apache-2.0" ]
permissive
bopopescu/keystone_hierarchical_projects
9b272be1e3069a8ad1875103a1b7231257c90d9c
bf5cbb2e1c58dae17e77c2ec32ed171ec3104725
refs/heads/master
2022-11-21T04:33:35.089778
2014-02-24T19:23:47
2014-02-24T19:23:47
282,174,859
0
0
null
2020-07-24T09:12:32
2020-07-24T09:12:31
null
UTF-8
Python
false
false
4,210
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
[ "tellesnobrega@gmail.com" ]
tellesnobrega@gmail.com
c235d132122f248b7e8ab02f80721c18a4dfcb8c
b715549ade0932ecfd0d9748bd8b1cd4e8493d04
/Datasets/Vectors/global_power_plant_database.py
84049f40364e9243491d553419bfa420d2ed1006
[ "MIT" ]
permissive
donverone/earthengine-py-notebooks
05326b052551f2e3ad2eee8fb12c1a825a6eb5f5
99fbc4abd1fb6ba41e3d8a55f8911217353a3237
refs/heads/master
2023-05-07T00:28:36.722332
2021-03-16T15:04:57
2021-03-16T15:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,012
py
# %% """ <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/Datasets/Vectors/global_power_plant_database.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> ...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
737c3a4f1b4e938b4456d1d1192ad31270dbff68
3af9b6f42339603616b7327bed21a8bd669bc293
/get_tweets_followers.py
ce8c03b4da2647bc4a377778dfe9b3f949ff187f
[]
no_license
gtatiya/Twitter-Hashtags-Polarity
d7a2fd760c2c9f813b313f76b5c625726c23ff0b
58b67c33f085f402459898934c045e31f186f270
refs/heads/master
2020-11-30T22:32:15.380578
2019-12-28T16:38:06
2019-12-28T16:38:06
230,497,483
0
1
null
null
null
null
UTF-8
Python
false
false
2,296
py
import socket import sys import requests_oauthlib import json import tweepy def show_tweet(tweet): try: return ' '.join([tweet.created_at.strftime("%m/%d/%Y, %H:%M:%S"), tweet.user.screen_name, tweet.text]) except: return '************************ bad or no tweet!*************...
[ "gtatiya@live.com" ]
gtatiya@live.com
71442dcfee6d819bc5eb2560bbee5313f9f82293
ba60d3ccf11157abaf6c7bcf3a81aace27c6af88
/spoj/pwrarr.py
5e0c8824b453ee8607fa8e92d23a0900714fd4aa
[]
no_license
eightnoteight/compro
9a09628593cdd3201f4d3bcf271f1ca6a4e5efca
1e5d32ee83e9d8f27623dee7262decad3d107bd5
refs/heads/master
2021-01-21T04:19:02.746824
2016-08-01T20:51:16
2016-08-01T20:51:16
44,669,361
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
from sys import stdin from itertools import groupby def main(): nextint = iter(map(int, stdin.read().split())).next for _ in xrange(nextint()): s = 0 psum = 0 for _, it in groupby(sorted([nextint() for _ in xrange(nextint())])): k = len(list(it)) s += k ...
[ "mr.eightnoteight@gmail.com" ]
mr.eightnoteight@gmail.com
7af933a1022a1f5fbf74fc9a32a3bf24ac368492
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/pose_estimation/HRNet_MMPose_for_PyTorch/configs/face/2d_kpt_sview_rgb_img/topdown_heatmap/aflw/hrnetv2_w18_aflw_256x256.py
072796fdae7b47cef8a78db994c7e5f384f5baf4
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,880
py
_base_ = [ '../../../../_base_/default_runtime.py', '../../../../_base_/datasets/aflw.py' ] checkpoint_config = dict(interval=1) evaluation = dict(interval=1, metric=['NME'], save_best='NME') optimizer = dict( type='Adam', lr=2e-3, ) optimizer_config = dict(grad_clip=None) # learning policy lr_config =...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
539221ab08c5d86de43720acf3b20f99a924bb3a
a3bb911570c0eb1b545a0012841430bb13703069
/0_getjson.py
24b023529159470aa36a297d98ed6a5f4aa3efe7
[]
no_license
koryako/changeface
7d786427474c62e8d58463ef881a17cfb3dffd3e
a327a043832ec478629caadfb2a9da218c8ab9c5
refs/heads/master
2021-05-01T14:30:55.844176
2018-02-12T06:44:39
2018-02-12T06:44:39
121,087,695
1
0
null
null
null
null
UTF-8
Python
false
false
4,212
py
import sys sys.path.append('./face_swap') from PIL import Image,ImageDraw import imageio import cv2 import argparse import cv2 import dlib import json import numpy import skimage from pathlib import Path from tqdm import tqdm from umeyama import umeyama from face_alignment import FaceAlignment, Landma...
[ "daijie@kuaikuaidai.com" ]
daijie@kuaikuaidai.com
e1a25eb1ffd0afcb7aa1b5e81918a542c6522970
1676168244eed1c5610b2c1c38f692f89990b112
/part3-python/Bigdata/Code11-01 리뷰 DB연동.py
62ca0338c858e715a3b5a59904bd85d64e9797d1
[]
no_license
gtpgg1013/AI_docs
351e83f986d66224c82fff2de944753c98336d03
43f8eed8b2732314bd40ed65e1d7eb44dd28fc04
refs/heads/master
2022-12-09T17:32:02.992554
2019-11-20T09:03:56
2019-11-20T09:03:56
182,927,565
1
0
null
2022-12-08T06:50:23
2019-04-23T03:54:56
Jupyter Notebook
UTF-8
Python
false
false
408
py
import pymysql # DB config IP_ADDR = '192.168.56.106'; USER_NAME = 'root'; USER_PASS = '1234' DB_NAME = 'BigData_DB'; CHAR_SET = 'utf8' con = pymysql.connect(host=IP,user=USER_NAME,password=USER_PASS,db=DB_NAME, charset=CHAR_SET) cur = con.cursor() sql = "INSERT INTO emp_tbl (emp_id, emp_name, emp_pay)" sql += "VALU...
[ "gtpgg1013@gmail.com" ]
gtpgg1013@gmail.com
256774f2801955afa069f13d614285ffa122c372
8817b553fc8d2441613efddac124acf8de63f72a
/rotkehlchen/api/v1/resources.py
6e5c127360d0eff639e8a3e24effafd00e8fd9aa
[ "BSD-3-Clause" ]
permissive
Ravikant-trafers/rotki
8d8b61338b953362e62d073474e46eb9e376cde5
59ac49ffc6bba5aa833e0f7c79dda0c2a9e74ae4
refs/heads/master
2021-04-11T07:16:50.352961
2020-03-20T10:16:26
2020-03-20T10:16:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,134
py
from pathlib import Path from typing import Dict, List, Optional from flask import Blueprint, Response from flask_restful import Resource from marshmallow.utils import missing from typing_extensions import Literal from webargs.flaskparser import parser, use_kwargs from webargs.multidictproxy import MultiDictProxy fro...
[ "lefteris@refu.co" ]
lefteris@refu.co
4519f7cc9d9773409a1b7b68ffada3e601a2a84b
a51b1814a9bf2fdcf880772fefaa2ab79e8c7308
/codewars/TV-Remote.py
de41442361589b272fa792b877d1c2c34b203202
[]
no_license
369geofreeman/MITx_6.00.1x
d38913805168440969034e1d82611b0dbcd7a29a
ba84f70cc4e7cfbd4b685b742aa87d3f85cbbf59
refs/heads/master
2023-04-21T01:55:08.538290
2021-05-13T13:03:50
2021-05-13T13:03:50
282,055,845
3
0
null
null
null
null
UTF-8
Python
false
false
1,787
py
# TV Remote # Background # My TV remote control has arrow buttons and an OK button. # # I can use these to move a "cursor" on a logical screen keyboard to type "words"... # # The screen "keyboard" layout looks like this # # a b c d e 1 2 3 # f g h i j 4 5 6 # k l m n o 7 8 9 # p q r s t . @ 0 # u v w x y z _ /...
[ "geofreeman369@gmail.com" ]
geofreeman369@gmail.com
514b52d8c2be79efed0358a86ac9b2f7d0c04027
0693c9aeb907b9c0a61b4287d604a4e1fe56f153
/albumy/extensions.py
bab05eb08a0e0f9ff59380c77d58ad2902af6ec9
[ "MIT" ]
permissive
xichagui/albumy
0f1cbf7b5466049e7d486198312d7e87394a1e4a
319a0bc74d25f130e21746ee03ab04c291a7e032
refs/heads/master
2020-07-24T19:11:13.736712
2018-08-05T02:23:27
2018-08-05T02:23:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
# -*- coding: utf-8 -*- """ :author: Grey Li (李辉) :url: http://greyli.com :copyright: © 2018 Grey Li <withlihui@gmail.com> :license: MIT, see LICENSE for more details. """ from flask_bootstrap import Bootstrap from flask_mail import Mail from flask_moment import Moment from flask_sqlalchemy import SQLAl...
[ "withlihui@gmail.com" ]
withlihui@gmail.com
bc55a623027f28cba4f3f6c91fdb124c02d9ffcc
e2cd4f444b18adca671ae2ac8856594b22c6d2ae
/arc/migrations/0046_register_empid.py
90ee3efd4e5e8f33c15b12b2adab79a780c9b20c
[]
no_license
anshumanairy/Sprint-Management
36c54c03b66a0d02071a337e8217144a0b0c9578
0c4e8fe87ec4099253d894b7876f0b5b914a2652
refs/heads/master
2022-12-28T02:46:25.847713
2020-10-02T10:02:13
2020-10-02T10:02:13
195,804,893
0
0
null
2020-10-02T10:02:14
2019-07-08T12:11:27
CSS
UTF-8
Python
false
false
412
py
# Generated by Django 2.2 on 2019-07-31 14:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('arc', '0045_delete_upload'), ] operations = [ migrations.AddField( model_name='register', name='empid', fi...
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
43a7f9be2096f2712a6f3bc0e0f949f5c333662f
4d6975caece0acdc793a41e8bc6d700d8c2fec9a
/leetcode/720.longestWordInDictionary/720.longestWordInDictionary.py
3a13bff3c2cad6295c9a48aeeadf39aa3cf15a62
[]
no_license
guiconti/workout
36a3923f2381d6e7023e127100409b3a2e7e4ccb
5162d14cd64b720351eb30161283e8727cfcf376
refs/heads/master
2021-08-03T10:32:02.108714
2021-07-26T04:38:14
2021-07-26T04:38:14
221,025,113
0
0
null
null
null
null
UTF-8
Python
false
false
2,472
py
# 720. Longest Word in Dictionary # Easy # 462 # 568 # Add to List # Share # Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one possible answer, return the longest word with the...
[ "guibasconti@gmail.com" ]
guibasconti@gmail.com
0963cb30f00377c442cdab168a91b8809aafe635
57d059d12fda1f58802fbac0d75849fd87268fba
/damm/urls.py
93d4a68034172f40f0ad1ba1d41b58f662deeb36
[]
no_license
stephenmcd/sydjango-damm
11be9b63c4d56b97046445614a7f1752fdad9f30
1518b5b47ede4dfc251805a873d7bf2c089eaa3a
refs/heads/master
2016-09-03T07:33:51.260407
2012-11-17T23:00:21
2012-11-17T23:00:21
6,393,537
1
0
null
null
null
null
UTF-8
Python
false
false
186
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), )
[ "steve@jupo.org" ]
steve@jupo.org
09278782caa33dc5c7a127a544733a62b937c4a8
4ba9a6274d78ff47bc00920be790b62390fc8f42
/63不同路径II.py
4daa69df0585bd73cf73d773e2536339000e470d
[]
no_license
wzwhit/leetcode
02b04f9f354de321a32d8e5b93f20a527100cca5
e732ee7e99a015a0d124677ab73fb58fc8e64b59
refs/heads/master
2020-04-26T03:02:06.380171
2019-08-23T04:04:42
2019-08-23T04:04:42
173,253,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
# 一个机器人位于一个 m x n 网格的左上角 (起始点在下图中标记为“Start” )。 # 机器人每次只能向下或者向右移动一步。机器人试图达到网格的右下角(在下图中标记为“Finish”)。 # 现在考虑网格中有障碍物。那么从左上角到右下角将会有多少条不同的路径? # 网格中的障碍物和空位置分别用 1 和 0 来表示。 # 说明:m 和 n 的值均不超过 100。 # 示例 1: # 输入: # [ # [0,0,0], # [0,1,0], # [0,0,0] # ] # 输出: 2 # 解释: # 3x3 网格的正中间有一个障碍物。 # 从左上角到右下角一共有 2 条不同的路径:...
[ "1064951590@qq.com" ]
1064951590@qq.com
6f9e0262c943d175bade02cd131207f26e6e2f13
5259edf14715a2b7a911ae69eb1198c9dbb127a2
/tests/measurement/engines/test_process_engine.py
9f594477a762894d844f5f946cd8b016a51adc57
[]
no_license
MatthieuDartiailh/HQCMeas
4822e2c955765372da67ebcf082a7dee64975782
6d54091d2c1c436a4dc07727a66be5a536ea8414
refs/heads/master
2021-01-15T15:37:30.420172
2018-07-01T13:57:59
2018-07-01T13:57:59
12,525,240
11
7
null
2016-12-14T07:59:45
2013-09-01T19:00:25
Python
UTF-8
Python
false
false
22,662
py
# -*- coding: utf-8 -*- from enaml.workbench.api import Workbench import enaml import os from time import sleep from configobj import ConfigObj from nose.tools import (assert_in, assert_not_in, assert_equal, assert_true, assert_false) from hqc_meas.measurement.measure import Measure from hqc_me...
[ "marul@laposte.net" ]
marul@laposte.net
90c55fd54630e87d34e89686ec5c995243c1a813
f1b910a646fe12bb92eacbb875e04ebda0755d80
/dfs/FinalStatePatternListener.py
80a006975bad342dba53d2f3cdf1d365361402ed
[ "MIT" ]
permissive
charlesvardeman/DFSParserExperiments
de0cce3480ff7eae32a74dbf1f51b07c97c77540
9c8a9c7754d9d9fad8ea250e20a6507a6a951e4e
refs/heads/master
2021-01-01T05:01:25.281824
2016-05-24T20:51:16
2016-05-24T20:51:16
59,607,937
0
0
null
null
null
null
UTF-8
Python
false
false
4,227
py
# Generated from FinalStatePattern.g4 by ANTLR 4.5.2 from antlr4 import * # This class defines a complete listener for a parse tree produced by FinalStatePatternParser. class FinalStatePatternListener(ParseTreeListener): # Enter a parse tree produced by FinalStatePatternParser#top_level. def enterTop_level(se...
[ "charles.vardeman@gmail.com" ]
charles.vardeman@gmail.com
aa81f8e635befbe257d714ed22cfec5d3b172fc0
9be2d4717f74ea8373e85427ce00c516724b0c96
/python project/Day13 - 类和对象/tj_08_homework.py
d400aef3e11b6c123c2eefa7ad8238a86e07378d
[]
no_license
chongjing001/Python-Basis
cad380fde4b0ba2e731494ef1423a07b34b171de
6a29a4bd31df9160b842be7288fe098bbd42b433
refs/heads/master
2020-04-12T10:01:11.952917
2019-03-30T07:13:04
2019-03-30T07:13:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,684
py
""" 1.声明⼀个电脑类: 属性:品牌、颜⾊、内存⼤小 方法:打游戏、写代码、看视频 a.创建电脑类的对象,然后通过对象点的方式获取、修改、添加和删除它的属性 b.通过attr相关方法去获取、修改、添加和删除它的属性 """ class Computer: def __init__(self, brand, color, storage): self.brand = brand self.color = color self.storage = storage def play_game(self): return "玩游戏" def ...
[ "635629424@qq.com" ]
635629424@qq.com
df354604518c23e4032dd337becda938a6caca34
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnbritanniqu.py
b02f6d3e1ba732abe26040940ef3cd6badb5dd9f
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
123
py
ii = [('CookGHP.py', 1), ('WilbRLW5.py', 1), ('FitzRNS3.py', 13), ('DaltJMA.py', 1), ('BabbCEM.py', 1), ('MackCNH2.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
e25a006bab5db38d63d470256f5af54a8414d53d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_210/ch169_2020_06_10_23_59_34_008172.py
17091a0a098399fba0901cda3f14dc9d126937e0
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
def login_disponivel(login, lista_logins): cont = 1 login_ok = login while login_ok in lista_logins: login_ok = login login_ok += str(cont) cont += 1 return login_ok inp = input() lista = [] while inp != "fim": login = login_disponivel(inp, lista) lista.append(login) ...
[ "you@example.com" ]
you@example.com
22d3bb373fc71d8f48710ee6fdb2f36bcf68efd3
7aafb90d3bcc1aec295ced8666a33d7376246ea8
/google/cloud/datastore_admin_v1/services/datastore_admin/client.py
fabdcecf8593aa6e9e745b0924b9e55080803b6f
[ "Apache-2.0" ]
permissive
googleapis/python-datastore
dd8d6736b0e4c7010befac44c88f4a01f1845369
795ce81c61d2af4e1ba285b4f0f8d796ea435bc3
refs/heads/main
2023-08-31T09:53:41.382429
2023-08-28T13:13:58
2023-08-28T13:13:58
238,778,459
68
46
Apache-2.0
2023-09-14T20:05:02
2020-02-06T20:29:52
Python
UTF-8
Python
false
false
61,510
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
0ae49fdfe2235c942eb5d314dff051c387ebc0db
ec760cb774a45a12d40529036b7fca3dd589223c
/services/TS29222_CAPIF_Events_API/capif_events/models/websock_notif_config.py
9a7c40bf246d840b7714b335f9db2d0d306dece8
[ "Apache-2.0" ]
permissive
EVOLVED-5G/CAPIF_API_Services
e4d7f8c7fc9a69aa364787471c5bd54d51fd1cb8
c907c68d54adf3e3ad7be15ac6707b8c64a1b778
refs/heads/develop
2023-07-29T09:31:23.176795
2023-05-31T12:56:33
2023-05-31T12:56:33
416,657,882
15
5
Apache-2.0
2023-09-04T12:01:57
2021-10-13T08:46:52
Python
UTF-8
Python
false
false
3,120
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from capif_events.models.base_model_ import Model from capif_events import util class WebsockNotifConfig(Model): """NOTE: This class is auto generated by OpenAPI ...
[ "jorge.moratinossalcines@telefonica.com" ]
jorge.moratinossalcines@telefonica.com
dc5f300a6ae71ae79e2a1ea24f54237079802424
db2fb3ffdafe1a94327c3c22c1934253f2fc5c48
/ifloop.py
a2273f3566efa766c0812f9bd0638b5920f996ea
[]
no_license
SSITB/CorePython
d2ae0de6cace8e3b328d91d8bf1d0e0000f9ec9f
fe17d1358a973df8a04a1806e5d4c57758ac8a78
refs/heads/master
2022-01-27T12:43:54.917203
2019-07-18T11:48:15
2019-07-18T11:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
##LOOP ##For loop # for i in range(10): # for j in range(i): # print('*',end = ' ') # print() / for i in range(10): for j in range(i): print("$",end='ku') print() # maths = int(input('Enter your Maths marks')) # sci = int(input('Enter your Science marks')) # SS = int(input('Enter you...
[ "kushalbhavsar58@gmail.com" ]
kushalbhavsar58@gmail.com
ee1845df5906881adb5d70d9816643cbee59510b
dc82d4b77a6deee8bb3f6265f2ee6a55d8342e39
/intelligent_robotics.py
06b1b2821deb868f21addee395a3e063f8f5641c
[]
no_license
JeonSB/intelligent_robotics
f0c87807e8ae9426510f4639205538c8150a37f7
d31dd29d6a7a9294e9ab93f113db2a969c73c03b
refs/heads/master
2023-08-14T22:34:08.821589
2021-10-01T12:32:27
2021-10-01T12:32:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,145
py
# Intelligent Robotics Python Library, BSD License. # Written by Dongil Choi, MyongJi University, South Korea. dongilc@mju.ac.kr # Theoretical Background (Textbook) : 지능형 로봇공학 / 문승빈, 고경철, 곽관웅, 강병훈, 이순걸, 김종형 지음 / 사이텍미디어 # Symbolic Calculation Functions : DH Parameter, Jacobian, Statics, Dynamics (Newton-Euler & Lagrangi...
[ "dongilc@mju.ac.kr" ]
dongilc@mju.ac.kr
427145cee31182709ad11f72ff5c08b7a6ae5710
664eaaf3ce1329637966ee85752a4bf792f93d64
/userprofiles/models.py
db11e7faf61b0c10b1b213faeab30dd5633ab4cb
[]
no_license
rajinder-mohan/thelunchbox
6fb9f7228490e22da58f59a29601aebec9c8fd35
54e3a14229fd72d24152671fb8f0bc13ae83be8c
refs/heads/master
2021-05-04T16:25:33.015292
2018-02-05T03:43:34
2018-02-05T03:43:34
120,251,788
0
0
null
null
null
null
UTF-8
Python
false
false
31,499
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.db import models from restaurant.helpers import get_file_path from django.contrib.auth.models import (BaseUserManager, AbstractBaseUser, PermissionsMixin, User) from easy_thumbnails.fields import ThumbnailerImageField from mainapp.models import Categor...
[ "rajinder_mohan@esferasoft.com" ]
rajinder_mohan@esferasoft.com
016e447638e9c8d65d492f45cddf7ffa18c92339
94becda0e99eb1bf23f2649d63a6a2af0f631e33
/unet3d/model/bak/non_local.py
84ca5554cf611bbf6b40170ad837ca05f880fce6
[ "MIT" ]
permissive
guusgrimbergen/3DUnetCNN_BRATS
d560a878dfbe7dfe95ca5a37c8b066199300d276
1c4ad386b66c550770adc8c9e7371c1ce476db94
refs/heads/master
2022-01-08T13:37:05.253386
2019-06-17T13:10:59
2019-06-17T13:10:59
185,376,310
0
0
null
2019-05-07T10:07:33
2019-05-07T10:07:32
null
UTF-8
Python
false
false
5,668
py
from keras.layers import Activation, Reshape, Lambda, dot, add from keras.layers import Conv1D, Conv2D, Conv3D from keras.layers import MaxPool1D from keras import backend as K def non_local_block(ip, intermediate_dim=None, compression=2, mode='embedded', add_residual=True): """ Adds a Non...
[ "minhmanutd@gmail.com" ]
minhmanutd@gmail.com
9200f6ea6965815410b93e2108a2bc23cbe542de
7fbc2a53886febbead55c30f56ca07fca65159d2
/python/ccxt/cryptocom.py
02dcde6458411bab9ec080add77d31fd690e2834
[ "MIT" ]
permissive
whitebit-exchange/ccxt
632d1b2ce0e0570ae610f67487fb37f4a963b88b
f7fe58e1d5564324fb9404688421a5c7dba1d9ab
refs/heads/master
2022-12-26T21:07:42.873111
2022-12-06T12:25:43
2022-12-06T12:25:43
211,014,730
4
1
MIT
2022-11-24T09:49:12
2019-09-26T06:20:37
JavaScript
UTF-8
Python
false
false
101,038
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange from ccxt.base.errors import ExchangeError from ccxt.base.errors import AuthenticationError from cc...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
05bc8775e1f427765763beabb9c7cf075889f058
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2869/60594/265425.py
b0ddfabf1268f6666a70e59b0d32abb54a0c751b
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
330
py
n=(int)(input()) num=[int(n) for n in input().split()] xt=[] for index in range(n): cunzai=False for i in xt: if num[n-1-index]==i: cunzai=True if not cunzai: xt.insert(0,num[n-1-index]) print(len(xt)) for index in range(len(xt)-1): print(str(xt[index])+" ",end='') print(xt[l...
[ "1069583789@qq.com" ]
1069583789@qq.com
48cb0c2abf97bce405fb0c2daba0febba80cbb14
fbcc650dceb75aedc4b23a7709167236481d640f
/eventex/subscriptions/tests/test_view_detail.py
dd3d5aa945b09d3a85d792dd525ee61ad30e1500
[]
no_license
sembug/wttd-eventex
09135f95666a6ee19baee06755b9e81a1e9eda9f
83416d270be23666e802a6c3b5225daa2597fd0a
refs/heads/master
2021-01-16T22:15:15.354594
2016-02-19T01:32:38
2016-02-19T01:32:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
from django.shortcuts import resolve_url from django.test import TestCase from eventex.subscriptions.models import Subscription class SubscriptionDetailGet(TestCase): def setUp(self): self.obj = Subscription.objects.create(name='Harry Potter', email='harryp...
[ "cuducos@gmail.com" ]
cuducos@gmail.com
5f85a089191541b97160e689c6e12ba04bbe45bb
97a4d29863d1ce96f366554fdd985c3ce580bb5d
/077.py
6a8728dcdc932214b11ba9dba10bb7db085ef7f0
[]
no_license
Everfighting/Python-Algorithms
5c3a102fed3a29858f3112d657c69e077efc7e28
235e9b4c66602035be39a8d3b3ad9cf016aebbb9
refs/heads/master
2021-01-20T22:19:18.902687
2018-03-02T05:38:27
2018-03-02T05:38:27
61,302,323
2
0
null
null
null
null
UTF-8
Python
false
false
162
py
#!/usr/bin/python # -*- coding: UTF-8 -*- if __name__ == '__main__': s = ["man","woman","girl","boy","sister"] for i in range(len(s)): print s[i]
[ "cbb903601682@163.com" ]
cbb903601682@163.com
70fb72ca8687f72c8fe68624ecfc3e8a64dbcfff
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/28-tuples2_20200413203120.py
6b0f94ce2b4138bae4e0e813940514cc9e169237
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
# my_tuple = (2, 1, 4, 10)
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
1c35e0f037a2755ec71bdfd0ea6630b1632d9059
1f40a08ee85ef6f78384e6f6f53bcf3f86b8c44b
/shorten/shorten/urls.py
fd294f6372e9dd28d4502ea023848d1123c8ca86
[]
no_license
infsolution/EncurtUrl
bff4543fb17f3c2a6853c64abc24d307abcd04bf
0f6d8aa23a2498a8bf5575797db9a5a8eb855403
refs/heads/master
2020-05-14T09:31:39.265337
2019-09-28T17:44:25
2019-09-28T17:44:25
181,741,563
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
"""shorten URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "clsinfsolution@gmail.com" ]
clsinfsolution@gmail.com
6379c8a6184384ccd10a104529bbd9e8753c6fa1
8d834944c9d2689ba2786d5ace863426d30ab3cf
/venv/bin/mturk
c2472dc306c7ca2a340f6db7a48bcf2831379271
[]
no_license
bopopescu/zurc2_dance
4a0bc584aad46a314ed600d92d296f4b83c5a036
3b3f94c092004d73c021c3ec4717b10c5245a9a8
refs/heads/master
2022-11-25T07:05:08.888372
2013-09-30T19:59:55
2013-09-30T19:59:55
282,521,428
0
0
null
2020-07-25T20:39:50
2020-07-25T20:39:49
null
UTF-8
Python
false
false
197
#!/home/luizcruz/projects/zurczdance/venv/bin/python # EASY-INSTALL-SCRIPT: 'boto==2.9.9','mturk' __requires__ = 'boto==2.9.9' import pkg_resources pkg_resources.run_script('boto==2.9.9', 'mturk')
[ "luizfabiodacruz@gmail.com" ]
luizfabiodacruz@gmail.com
f3b1f23622b9d79a77be6020a0e6449cd9b557ca
13a82b9daf2f050c8c76636df0ba37d9092f3795
/E01_python3/0302_requests/0206_prepared_request.py
53ee9574eb2fe6336df3381cc460a528e446d520
[]
no_license
Vincent105/1st-PyCrawlerMarathon
68c9d11aa90e0b8884a3a00c057d6e8bf255b277
d66e19b2bacccd1c0c2535f50aee0309c2fe3880
refs/heads/master
2022-12-12T17:35:31.174585
2021-01-21T09:47:16
2021-01-21T09:47:16
223,867,991
0
2
null
2022-12-08T07:46:44
2019-11-25T05:26:16
Jupyter Notebook
UTF-8
Python
false
false
570
py
from requests import Request,Session url = 'http://httpbin.org/post' data = { 'name':'germey' } headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' } s = Session() req = Request('POST',url,data=data,headers=headers)...
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
cb2d95a406956cddb514855ef05c051cc768da3b
5963c12367490ffc01c9905c028d1d5480078dec
/homeassistant/components/hunterdouglas_powerview/sensor.py
d66671fe1ea3130d45047beebace33074a661152
[ "Apache-2.0" ]
permissive
BenWoodford/home-assistant
eb03f73165d11935e8d6a9756272014267d7d66a
2fee32fce03bc49e86cf2e7b741a15621a97cce5
refs/heads/dev
2023-03-05T06:13:30.354545
2021-07-18T09:51:53
2021-07-18T09:51:53
117,122,037
11
6
Apache-2.0
2023-02-22T06:16:51
2018-01-11T16:10:19
Python
UTF-8
Python
false
false
2,672
py
"""Support for hunterdouglass_powerview sensors.""" from aiopvapi.resources.shade import factory as PvShade from homeassistant.components.sensor import SensorEntity from homeassistant.const import DEVICE_CLASS_BATTERY, PERCENTAGE from homeassistant.core import callback from .const import ( COORDINATOR, DEVICE...
[ "noreply@github.com" ]
BenWoodford.noreply@github.com
a56ab4e1101247084b45943d3cc75eaf980d4476
b4ca78134c296d8e03c39496bcc57369fd5f619b
/kubehub/vbox_api/vbox_functions/vbox_set_ram_size.py
9cda921275ad2aeb718ba217ffbad82b4f2e229d
[]
no_license
dedicatted/kubehub-backend
7f4b57033962f1ef8604a2cee0cf55bebd533ec9
3b944e462f5366b2dbad55063f325e4aa1b19b0e
refs/heads/master
2023-02-05T04:44:50.213133
2020-06-10T15:02:03
2020-06-10T15:02:03
236,169,121
1
1
null
2023-01-24T23:19:38
2020-01-25T12:45:32
Python
UTF-8
Python
false
false
375
py
from os import system def set_ram_size(name, ram_size): ram_size_mb = int(ram_size) * 1024 vbox_set_ram_size_cmd = f'VBoxManage ' \ f'modifyvm {name} ' \ f'--memory {ram_size_mb} ' \ f'--vram 128' vbox_set_ram_size = syst...
[ "noreply@github.com" ]
dedicatted.noreply@github.com
7e580a1fbdc72cb6cb7491b48af6ce29c2e10472
350873b97f470488678d5d24e595737f0fc3ced2
/core/migrations/0031_auto_20170301_1220.py
24a9b6a6c9196c97c8cd49b4c49c74b35e69ff7a
[]
no_license
Scaledesk/ase
a2435745f7fbae252eb7af30223d4d59e1070817
891b8d5945b554ae5666c146eca342d649d48ae7
refs/heads/master
2021-01-22T20:26:14.603745
2017-05-16T10:14:22
2017-05-16T10:14:22
85,322,355
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-03-01 12:20 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0030_project_projectname'), ] operations = [ ...
[ "nkscoder@gmail.com" ]
nkscoder@gmail.com
bfbe29205ee37e8d5609b279cd270ec78812a841
938eb0ff05166f97fa4fac8743f3dc50482873a9
/src/simulate/assets/spaces/utils.py
ae38bd317fd90a37e59337cfb6ab65029f138ba0
[ "Apache-2.0" ]
permissive
huggingface/simulate
e267b12972975f58c9e97979ad40e9c0197c4b4c
515361cea59f90d528f39c74178453e75d01dcea
refs/heads/main
2023-06-01T10:38:02.322864
2023-03-22T16:24:01
2023-03-22T16:24:01
483,995,540
143
10
Apache-2.0
2023-04-11T21:55:59
2022-04-21T09:52:02
Python
UTF-8
Python
false
false
14,461
py
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHET...
[ "noreply@github.com" ]
huggingface.noreply@github.com
aca28879338aadc44966d770863d903d66c63162
b284d59bdf2c01977eb6d80795e2c75cb95b9b2c
/docs/conf.py
e99c73988670737dc5d91028bdb42372399c8c45
[ "MIT" ]
permissive
CoutinhoElias/danibraz
58d27cb30661d06091196cc487a9d902f4f8dac9
b21f3ce3477ded74c901fa377a5b2ac5e68faf36
refs/heads/master
2021-01-20T02:12:30.096953
2018-04-01T15:52:40
2018-04-01T15:52:40
89,386,992
0
1
MIT
2017-12-01T16:52:47
2017-04-25T17:14:27
JavaScript
UTF-8
Python
false
false
7,798
py
# Dani Braz documentation build configuration file, created by # sphinx-quickstart. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that ar...
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
230a0fd6e9ae73d01699b39549cadbdfc4ee219c
78c0a441742a4451fcca2d304d30bd21ce2b2dbd
/src/l1_7_lgb_4.py
81a518d18424f744c214cecc631d8b62137a95a2
[]
no_license
ivan-filonov/mlbootcamp_5
c7aa7506a6d929a055f89c9129584f0df71490c1
b3b06eb91c1cbc81fea68fb1724197513a19b07a
refs/heads/master
2023-08-19T06:58:05.099722
2019-08-22T11:25:30
2019-08-22T11:25:30
97,398,154
4
1
null
2023-08-28T17:18:16
2017-07-16T17:08:06
Python
UTF-8
Python
false
false
581
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import model_base_ho_lgb import data_clean_1 as data #import features_text_2 as fea_1 import features_kmeans_2 as fea_2 import features_wa_4 as fea_3 class model(model_base_ho_lgb.LgbModelBase): def __init__(self): name = 'l1_7_lgb_4' debug = False ...
[ "ivan.filonov@gmail.com" ]
ivan.filonov@gmail.com
cd8904c38ec4f94118e81f35697c3f5a9b2976ba
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02682/s156139297.py
b0d4f8960502ca04a060454391fb87d33ee3e20b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
a,b,c,k = map(int,input().split()) ans = min(a,k) k -= ans if k == 0: print(ans) exit(0) k -= min(b,k) if k == 0: print(ans) exit(0) ans -= min(c,k) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d74b53c8194884095a424e12fff32ad21ef22052
55c8fd9ce0c5bb147cbdb69274873b93b35356fc
/pathGeneration-v2/Analysis/code-v2/data/dataProcess_main.py
d9bc53cdbd9ccda05b6b8c6826cd9a2e38026651
[]
no_license
WOW5678/pathGeneration
b4143bbbc2be686ee011d24af46d57d2cee88f06
88f31b4f30750307fa7f5072e7faa2f959a6d0c0
refs/heads/master
2020-08-06T17:46:22.075128
2019-11-15T12:38:07
2019-11-15T12:38:07
213,097,008
1
0
null
null
null
null
UTF-8
Python
false
false
7,784
py
# -*- coding:utf-8 -*- """ @Time: 2019/06/17 21:37 @Author: Shanshan Wang @Version: Python 3.7 @Function: 数据预处理的主文件 """ # --*- coding:utf-8 -*- import sys import numpy as np import pandas as pd from collections import Counter,defaultdict import csv import math import operator from get_discharge_summari...
[ "noreply@github.com" ]
WOW5678.noreply@github.com
0510513265114689d36cabf25f566ba6d8f05b71
a69ca52f16f3e91b68334d60edfdd1fe9adfe106
/二叉树/二叉树的遍历/BFS/117. Populating Next Right Pointers in Each Node II.py
babbed44961c7ff461f35eddd72599f6e93f9274
[]
no_license
lidongdongbuaa/leetcode2.0
09535e7a44ab290ab5eed14b52058a7e4a36a55f
f1bab194c2d16905baa9e4d3ff89cb3fb1f4fdb8
refs/heads/master
2020-09-05T00:49:21.865190
2020-08-20T05:59:19
2020-08-20T05:59:19
219,935,354
3
3
null
null
null
null
UTF-8
Python
false
false
2,930
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/2/21 14:16 # @Author : LI Dongdong # @FileName: 117. Populating Next Right Pointers in Each Node II.py '''''' ''' 题目分析 1.要求:Given a binary tree struct Node { int val; Node *left; Node *right; Node *next; } Populate ea...
[ "lidongdongbuaa@gmail.com" ]
lidongdongbuaa@gmail.com
b615f5014322c3d06b867c582598e385bc42a775
cf0ab8503d4d704045070deea1e2125375711e86
/apps/billing/appconfig.py
11c11dc40288fc4cf7ba444daca34945b9a18014
[]
no_license
faierbol/syncano-platform
c3c6468600115752fd9fa5e46a0ad59f75f6bc9c
879111874d1ef70418b4890cf970720b0a2be4d8
refs/heads/master
2023-07-20T10:13:40.066127
2021-02-08T15:01:13
2021-02-08T15:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# coding=UTF8 from django.apps import AppConfig as _AppConfig class AppConfig(_AppConfig): name = 'apps.billing' def ready(self): from . import signal_handlers # noqa
[ "rk@23doors.com" ]
rk@23doors.com
4ee564ff26a6d9e9bebabed6505d17d1473bad7b
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AnttechBlockchainDefinSaasPaymentCancelResponse.py
3b3e760b611f0079040263d16a00154fabac122a
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,605
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AnttechBlockchainDefinSaasPaymentCancelResponse(AlipayResponse): def __init__(self): super(AnttechBlockchainDefinSaasPaymentCancelResponse, self).__init__() self._ava...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
ebe03a1ebbe5b33a962a26d1914041d64087b8b6
12620eef65e2675da5102d3ce7946ca4f0404db7
/ursina/models/procedural/cylinder.py
9cd3b03acf306d506f64cffbaf545226aaf88463
[]
no_license
solomonvimal/ursina
28e4a26a71639077b6a601118604b10a75f37efd
20555c37c579aee56c0e2e8c8cff307d8a0e4517
refs/heads/master
2020-06-28T02:25:11.096764
2019-08-01T19:55:20
2019-08-01T19:55:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
from ursina import * class Cylinder(Prismatoid): def __init__(self, resolution=8, radius=.5, start=0, height=1, direction=(0,1,0), mode='triangle', **kwargs): super().__init__( base_shape=Circle(resolution=resolution, radius=.5), origin=(0,0), path=((0,start,0), Vec3(di...
[ "pokepetter@gmail.com" ]
pokepetter@gmail.com
606f6fb48be89fbe5c49adf052347c3837123a68
bd217477924d810e347ab1ded67022bb2076b2a3
/Heap/TestCircularDoublyLinkedList.py
dd3047d85c23bb8e0d8733d14c20aaef67a4f456
[ "MIT" ]
permissive
kopok2/DataStructures
b701a663e58b4d2dad2077f99d3ce06cbbf59da0
d3877b542872c0be0f97306061c6ce0c3d98f1f3
refs/heads/master
2021-06-28T19:48:45.404826
2020-11-30T10:41:03
2020-11-30T10:41:03
196,040,844
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# encoding-utf-8 import unittest from CircularDoublyLinkedList import CircularDoublyLinkedList class TestCircularDoublyLinkedList(unittest.TestCase): def test_simple_list(self): cdll = CircularDoublyLinkedList(17) cdll.insert_new_node(24) cdll.insert_new_node(23) cdll.insert_new_no...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
163bbc423241181b2de5ddafdc35f93cd781d174
a86a66797ff79286ca209cc972a84fa005e8d34e
/2/morning run.py
d9467d0ef577bd594470701996703edb9b28271d
[]
no_license
se2313se/basics-of-programming-on-Python
523d676440d7eb5b58876f068eb88b72274eb909
37fe6b24a55a02857de73c8b6f2914e37302fd0b
refs/heads/master
2023-06-04T16:48:28.160554
2021-06-24T17:18:25
2021-06-24T17:18:25
379,999,853
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
a = int(input()) b = int(input()) i = 1 while a < b: a = a*1.1 i = i+1 print(i)
[ "71695356+se2313se@users.noreply.github.com" ]
71695356+se2313se@users.noreply.github.com
ce7c97ae29fb8b74bf4c9803bf5c2ed0252245d5
2adfa5b5125d14a9dd800946ee6ab0906fe79ed7
/brainmap/models/specificity.py
11d6ef21d36638fd3973540d52666898ecdbe81f
[ "MIT" ]
permissive
cabrittin/elegansbrainmap
25f28352b5faf6f06eaa930e8cbbd0ab1d907654
049a26a094e085bacc70f5b05ea04a007d00eb2c
refs/heads/main
2023-06-24T02:01:20.014968
2021-07-29T19:22:06
2021-07-29T19:22:06
322,699,973
4
2
null
null
null
null
UTF-8
Python
false
false
4,551
py
""" @name: specificity @description: Specficity and basal connectivity models @author: Christopher Brittin @email: "cabrittin"+ <at>+ "gmail"+ "."+ "com" @date: 2020-March """ import numpy as np from scipy.special import comb class Model: def __init__(self,n=5): self.Z = np.zeros(n) self.space = 0 ...
[ "cabrittin@gmail.com" ]
cabrittin@gmail.com
590f66a394921abc01d6cfbdcf62341851c0e17b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03293/s114189202.py
c6d07b607a0b31728c58926a1d738067944d0333
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
s = input() t = input() ss = s+s if t in ss: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f8ed76cf51b68a829ca9cd163433eb7bdaf712bc
7daab7f2e91d62ba0383fa050f3dea1dc9752975
/iniciante/1097_sequencia_IJ_3.py
7f0d0df01909254bed663107992ae50f23027440
[]
no_license
luandadantas/URI-Python
97ccdaa3835b2d2fa403f148969ca7e893d3f119
2cb67f39725b20e6fcbbeaf27d04c4ba05dba665
refs/heads/master
2022-12-04T02:51:14.374361
2020-08-14T17:59:58
2020-08-14T17:59:58
255,736,816
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
a = 7 b = 6 c = 5 for I in range(1, 10, 2): print("I={} J={}".format(I,a)) print("I={} J={}".format(I,b)) print("I={} J={}".format(I,c)) a += 2 b += 2 c += 2
[ "ludanttas@gmail.com" ]
ludanttas@gmail.com
4be511e2e14b066ed3506bad58a80cd8fcdc9b1a
dbaf0da3cd586223549f3d9d2b340b5fb033ee32
/webscaff/fabric/sys/venv.py
ef12bfca2e51b72c60b76d3956943f1df2f6078b
[ "BSD-3-Clause" ]
permissive
idlesign/webscaff_legacy
7393339f267c04a1a8ebf71d8ef64bcc9d00cdaa
198395a00c9e0908657c86e2568a385cbc6fcb13
refs/heads/master
2022-02-10T00:15:42.670376
2019-09-29T06:06:00
2019-09-29T06:06:00
60,078,315
1
0
null
null
null
null
UTF-8
Python
false
false
899
py
from contextlib import contextmanager from fabric.api import cd, prefix, task, run from fabric.contrib.files import exists from os import path from ..settings import PATH_REMOTE_PROJECT_BASE NAME_VIRTUALENV_DIR = 'venv' PATH_VENV = path.join(PATH_REMOTE_PROJECT_BASE, NAME_VIRTUALENV_DIR) __all__ = ['venv', 'create'...
[ "idlesign@yandex.ru" ]
idlesign@yandex.ru
004e1aba7c15dcd5db46f985a0b3a94bec09df44
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03423/s716321902.py
21e8586d8eaa20e4ea05eeed81c2b43f3c9fd4d5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
N = int(input()) div = N // 3 print(div)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
031bfa8baa730c31216daa2f92ecfecb665943fe
7daab7f2e91d62ba0383fa050f3dea1dc9752975
/iniciante/1114_senha_fixa.py
c0593ad5c8f8e9ce8a9215ba9e66fc0bd6f04ab7
[]
no_license
luandadantas/URI-Python
97ccdaa3835b2d2fa403f148969ca7e893d3f119
2cb67f39725b20e6fcbbeaf27d04c4ba05dba665
refs/heads/master
2022-12-04T02:51:14.374361
2020-08-14T17:59:58
2020-08-14T17:59:58
255,736,816
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
while True: senha = int(input()) if senha == 2002: print("Acesso Permitido") break else: print("Senha Invalida")
[ "ludanttas@gmail.com" ]
ludanttas@gmail.com
c0c76ea4b6fc3bd8b3fdb064c4bdb77620ec0ab4
b848e8b8cf772f9498d4447b3b19ab14dac0e534
/supervised_learning/0x03-optimization/10-Adam.py
ec1162f293604c0fd10931058e2780ec01814c86
[]
no_license
jaycer95/holbertonschool-machine_learning
efc93da7cb5c62ca0b578ce59bbc583f1ce55e03
16dc37d1c6dc00a271053b60724c51763914029a
refs/heads/main
2023-06-09T02:51:26.268088
2021-06-30T23:30:59
2021-06-30T23:30:59
310,918,525
0
1
null
null
null
null
UTF-8
Python
false
false
283
py
#!/usr/bin/env python3 """ Normalization function """ import tensorflow as tf def create_Adam_op(loss, alpha, beta1, beta2, epsilon): """ creates the training operation for a neural network """ return tf.train.AdamOptimizer(alpha, beta1, beta2, epsilon).minimize(loss)
[ "jacer.dabbabi95@gmail.com" ]
jacer.dabbabi95@gmail.com
2b7cad34da26dbf22ff8b4694e203f4c533ec73d
8eafb73fdab3e422aa717bac9af338dcba5e3c1e
/bbp/utils/misc/get_shakemap_data.py
b6cc64a70ab970124220cd85ce09fdc9ac8baebf
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
LevyForchh/bbp
6dae4ce3577a73f5cef9b9b5507753a1381ec870
3cc389fb956ea14ef827af0f437ce37e8291afac
refs/heads/master
2020-06-03T05:10:35.751009
2019-06-11T21:38:18
2019-06-11T21:38:18
191,453,945
0
0
null
2019-06-11T21:38:16
2019-06-11T21:38:15
null
UTF-8
Python
false
false
2,448
py
#!/usr/bin/env python """ Copyright 2010-2019 University Of Southern California Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
[ "fsilva@usc.edu" ]
fsilva@usc.edu
28bef66c3b2c95f1e00b8556426bdab6571a0478
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/PyBox/PyBox/src/pybox/memorymanager.py
36c285b82cb4ded0629ee8d675fd13c259de6be9
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:028987553e77368910581c6b2bd05d3cfbba9f0522a0ea3cd1564cd165d9208f size 13321
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
dbec5c83c9508762cf7a56b6f754aae6814aeb5c
d2fb5940cb5f3e03e613ec23238b4e80c3abf664
/simple_crawler.py
aa7915c69e06f8b00fa0b8e8a94e1deb12d25d0d
[]
no_license
weaming/simple-crawler
f4eeec63078c5af96d9207af28d7943ff85f44c8
ca204dc8ff94f2effaad772f51fc0ae40e2abf63
refs/heads/master
2022-12-12T22:52:25.234335
2019-07-21T03:24:57
2019-07-21T03:24:57
180,920,544
1
0
null
2021-04-30T21:10:10
2019-04-12T03:07:57
Python
UTF-8
Python
false
false
6,407
py
from typing import List import re import os import asyncio import logging from urllib.parse import urljoin import aiohttp from bs4 import BeautifulSoup version = "1.1" GET = "GET" POST = "POST" class CrawlerException(Exception): pass class HTTPError(CrawlerException): def __init__(self, status, value=None...
[ "garden.yuen@gmail.com" ]
garden.yuen@gmail.com
fcfb4dc84e67a06b0c54e1112e6cfc8065dfa350
e9593f0af98b175b32828220dfa192aed18d9a4b
/urls.py
c76904fea2f05ed39bb9e5b42ad5356090ffabac
[]
no_license
patrickbeeson/theplumbaker
f0806d2314e552115bc09fe21214a62fe3bed9a8
aaee8bbeda68e799b34b2c469bd30606bc278380
refs/heads/master
2021-01-01T06:54:35.587087
2013-12-02T22:03:39
2013-12-02T22:03:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,646
py
from django.conf.urls.defaults import * from django.contrib import admin from django.views.generic import list_detail, date_based from django.views.generic.simple import direct_to_template from django.contrib.sitemaps import FlatPageSitemap from plumbaker.apps.availability.models import Location from plumbaker.apps.in...
[ "patrickbeeson@gmail.com" ]
patrickbeeson@gmail.com
a378f124afe626e6e0ef92966e9d3fcaae9a4b47
811c0b9c6ce9561c50a044bdb866c70a24c51355
/cogpheno/apps/turk/urls.py
ae886cd9c324b87127c6f0e4b060a51904962f9f
[ "MIT" ]
permissive
vsoch/CogPheno
39a929187c6e2d95aeb47d18f327a9cf50f465ef
c3b964d40a4fe501857e68f422e4da557625dd0d
refs/heads/master
2022-06-22T14:43:56.556089
2021-04-22T03:43:28
2021-04-22T03:43:28
37,825,994
0
0
MIT
2022-06-21T21:08:16
2015-06-21T21:06:17
Python
UTF-8
Python
false
false
236
py
from .views import turk_questions from django.views.generic.base import TemplateView from django.conf.urls import patterns, url urlpatterns = patterns('', # Assessments url(r'^mturk$', turk_questions, name="turk_questions"), )
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
68bc85825501f03eee533c45b4e2fe08dd99daa3
41c26da9c57052a3c9cd17b81d91f41ef074cf8d
/MyLeetCode/python/4 Keys Keyboard.py
282e44ecacf6691039074ca93d0d3e97762c1d77
[]
no_license
ihuei801/leetcode
a82f59a16574f4781ce64a5faa099b75943de94e
fe79161211cc08c269cde9e1fdcfed27de11f2cb
refs/heads/master
2021-06-08T05:12:53.934029
2020-05-07T07:22:25
2020-05-07T07:22:25
93,356,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
### # DP # We use i steps to reach maxA(i) then use the remaining n - i steps to reach n - i - 1 copies of maxA(i) # For example: # A, A, A, Ctrl A, Ctrl C, Ctrl V, Ctrl V # Here we have n = 7 and we used i = 3 steps to reach AAA # Then we use the remaining n - i = 4 steps: # Ctrl A, Ctrl C, Ctrl V, Ctrl V, to reach n...
[ "hhuang@pinterest.com" ]
hhuang@pinterest.com
1c546e1555c475552c57e52720f3e3f46cac3a09
5c7da7dabdc076ad7113ccd20561a8bbf5f9a70e
/investments/migrations/0019_auto_20200207_1423.py
2756c453d19baff57d7af1a880401f73a4c50fca
[]
no_license
aqcloudacio/cloudaciofeez
2499fb5fc5334fa871daab2abea6c34bfa8c7667
8399560ece9aa10a6d6801f42c027dca26a65936
refs/heads/master
2023-02-27T22:36:20.501159
2021-02-11T00:03:46
2021-02-11T00:03:46
337,887,413
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 2.2.7 on 2020-02-07 03:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('investments', '0018_auto_20200207_1255'), ] operations = [ migrations.AlterField( model_name='investment', name='amo...
[ "alejandro.quintero@clouxter.com" ]
alejandro.quintero@clouxter.com
dc3a4dd6efae12f8be444d78837028501b6e707d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2888/60774/294955.py
e5d06eb0c0bc76d82de47d3c5744cb749926926b
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
209
py
s = input().split(' ') n = int(s[0]) m = int(s[1]) numLst = list(map(int,input().split(' '))) for i in range(0,m): s = input().split(' ') l = int(s[0]) r = int(s[1]) print((l - r) % 2)
[ "1069583789@qq.com" ]
1069583789@qq.com
ac6e9aecdf19249b2b3ffe4db540f958e39e00d6
cc5a3fa80d2ae90afc2626e4a82b9a927726dfa0
/huaweicloud-sdk-codecraft/huaweicloudsdkcodecraft/v5/model/create_scores_request_model.py
1715ba8c4b58561c8e6d8613854a2e25e45af987
[ "Apache-2.0" ]
permissive
Logan118/huaweicloud-sdk-python-v3
eca15e9b08bdccef7122e40735d444ddc958efa8
bb230c03bd00225b9f5780a56adce596e9456420
refs/heads/master
2023-07-17T14:57:50.799564
2021-08-25T10:40:43
2021-08-25T10:40:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,261
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateScoresRequestModel: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): T...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
9e2bee58c5b00b19f4a41f6689120a413e3c2752
8bf490a48a0d0f573b8e2f2c36833d3afd62e932
/Vicar/vicar_app/migrations/0001_initial.py
bedc9e2aa84f77df180ef747b8518464d83a2996
[ "Apache-2.0" ]
permissive
cs-fullstack-fall-2018/django-form-post1-jpark1914
687e4e6a2a41e66a362953b85a3117e7dbc09724
230ba02b30ef48bf86dd1f0797859af7c434fbaf
refs/heads/master
2020-04-01T02:50:07.492037
2018-10-12T21:13:41
2018-10-12T21:13:41
152,797,502
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# Generated by Django 2.0.6 on 2018-10-12 19:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='VideoGame', fields=[ ('id', models.AutoFiel...
[ "parkerj4321@gmail.com" ]
parkerj4321@gmail.com
732d1689997721d821fadfe68d7bffc2a3aebcac
2316ce8a21d44a5d09284968ef42530633dc10d2
/sample_code/ep094/rev04/t.py
803d33acfea6cae5d26adf99172049dfd4729d1e
[]
no_license
AlexanderWinkelmeier/explains
160de2c41fc5fc0156b482b41f89644dc585c4f3
d47ec53e384e4303a2d8e71fab9073a1a8d2d6bc
refs/heads/master
2023-07-30T04:55:31.234482
2021-09-15T02:59:42
2021-09-15T02:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
import functools import shutil import pytest from unittest import mock @functools.lru_cache(maxsize=1) def get_default_version() -> str: """Return the default language version for ruby. - if `ruby` and `gem` executables are both globally available: `system` - otherwise: `default` """ if shutil....
[ "int3l@users.noreply.github.com" ]
int3l@users.noreply.github.com
b6b87116cb2c378e075e1e218a515b8f3307431c
39689ee725bc7183d5d59fb34f7d2ffe5fd6ad36
/ABC_A/ABC105A.py
a05c2419e246b35e78c061fa3e9e92373b899e26
[]
no_license
yu5shi8/AtCoder
b6eb920a9046bdfa98012dd3fc65f75f16214ffe
f9ca69001ece8379e3a70c993c44b540f8be2217
refs/heads/master
2021-06-15T17:58:07.027699
2021-03-20T14:04:03
2021-03-20T14:04:03
177,757,053
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# -*- coding: utf-8 -*- # A - AtCoder Crackers # https://atcoder.jp/contests/abc105/tasks/abc105_a n, k = map(int, input().split()) if n % k != 0: print(1) else: print(0)
[ "royal_unicorn411@hotmail.co.jp" ]
royal_unicorn411@hotmail.co.jp
cdb36e497b9f39e58410cf4fbf0432ab90c17d2b
d0250258244068b039e6a39ed0506c782979560a
/djrill/tests/mock_backend.py
e119db25713725431ecba9de3b790829e3ebc820
[ "BSD-3-Clause" ]
permissive
rpryce/Djrill
3bfa8abb19c8b4c335eb816b6d44384627a4a566
85926d129bbdc68ec7a6368271c5e2390f4cfac8
refs/heads/master
2020-04-13T17:03:20.961504
2015-06-18T15:39:58
2015-06-18T15:39:58
37,664,917
0
0
null
2015-06-18T14:38:51
2015-06-18T14:38:50
null
UTF-8
Python
false
false
2,429
py
import json from mock import patch import requests import six from django.test import TestCase from .utils import BackportedAssertions, override_settings @override_settings(MANDRILL_API_KEY="FAKE_API_KEY_FOR_TESTING", EMAIL_BACKEND="djrill.mail.backends.djrill.DjrillBackend") class DjrillBackendM...
[ "medmunds@gmail.com" ]
medmunds@gmail.com
f182e668815eb1e091cd32b6e2b248ef9da56444
2e6c9adae6e96309aa639c570cdf6c92780c53d0
/1.1.0/test/test.py
91521d393d74c74a629fb6d5b7050e752329b53c
[ "Apache-2.0" ]
permissive
coffeeTeaOne/spiderpy
a262861c2526e6f2fdea99172c46a6c7d007f394
44e2003fc3b02c85f3df56b210b811f8a92a565d
refs/heads/master
2022-11-24T09:43:20.934773
2020-01-16T03:19:07
2020-01-16T03:19:07
232,038,730
1
0
null
2022-11-22T02:58:40
2020-01-06T06:30:17
Python
UTF-8
Python
false
false
284
py
import requests # from execjs.runtime_names import PyV8 # # with PyV8.JSContext() as ctx: # ctx.eval(""" # function add(x, y) { # return x + y; # } # """) # print(ctx.locals.add(1, 2)) a = [[1,2],[3,4]] for x,y in a: print(x,y)
[ "499413642@qq.com" ]
499413642@qq.com
a6024d130fb7e3476e62b4b56cf0e2c87d16a13f
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc064/B/4501235.py
c7f15bd8e4a8a156b86b5139ae89e4c91bf72ed5
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
338
py
s = input().strip() is_first = True for s1, s2 in zip(s, s[2:]): if s1 != s2: is_first = False if is_first: print('Second') else: if len(s) % 2 == 0: if s[0] == s[-1]: print('First') else: print('Second') else: if s[0] == s[-1]: print('Second') else: ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
f60fd7b519ddd96046d8d3b26347bd3a114245f0
4d4fcde3efaa334f7aa56beabd2aa26fbcc43650
/server/src/uds/REST/methods/tickets.py
5ed914b4d7f3cb5e91e9cf51608e3c685afd7b27
[]
no_license
xezpeleta/openuds
a8b11cb34eb0ef7bb2da80f67586a81b2de229ef
840a7a02bd7c9894e8863a8a50874cdfdbf30fcd
refs/heads/master
2023-08-21T17:55:48.914631
2021-10-06T10:39:06
2021-10-06T10:39:06
414,489,331
1
0
null
null
null
null
UTF-8
Python
false
false
10,468
py
# -*- coding: utf-8 -*- # # Copyright (c) 2014-2021 Virtual Cable S.L.U. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright no...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
e6d87ae878390c7426dc17186cdc6f967f5c37ac
141f806dc5a716f412892e59dcfec365fa92575a
/Machine Learning/ZZ_Census/26-deep_neural_network_copy.py
f7bb5a00df6812f9214e861d25a98241596aa9df
[ "MIT" ]
permissive
leocjj/0123
0fb2472915e67816be68e6e03c604ed2a95be3b0
cbf3daf65407cad8a817b3ce79ab10d15c665cce
refs/heads/master
2023-07-26T00:28:08.171573
2023-07-14T03:36:13
2023-07-14T03:36:13
213,641,442
33
3
null
null
null
null
UTF-8
Python
false
false
8,897
py
#!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt from pickle import load, dump from os.path import isfile from time import ctime def sigmoid(x): """ https://stackoverflow.com/questions/3985619/ how-to-calculate-a-logistic-sigmoid-function-in-python Y = 1. / (1. + np.exp(-x)) ...
[ "leocj@hotmail.com" ]
leocj@hotmail.com
4ac9de088a88a0417c5424674a6e68552fadaffd
68ca0d66eff83b3981baa3de9971751c6a4deaa9
/zvt/recorders/eastmoney/meta/eastmoney_block_meta_recorder.py
fca43b24f53ad4be7ad098120cb0fefbe1fc3b3b
[ "MIT" ]
permissive
lisakk/zvt
ab3889a4897246baadb34c59dcf7c3e23b5c3586
56c13cdb165e3cdd6f17a4b00fe1f206db8af69e
refs/heads/master
2023-08-26T22:00:19.302932
2021-10-22T16:02:52
2021-10-22T16:02:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,514
py
# -*- coding: utf-8 -*- import pandas as pd import requests from zvt.api.utils import china_stock_code_to_id from zvt.contract.api import df_to_db from zvt.contract.recorder import Recorder, TimeSeriesDataRecorder from zvt.domain import BlockStock, BlockCategory, Block from zvt.recorders.consts import DEFAULT_HEADER f...
[ "5533061@qq.com" ]
5533061@qq.com
b4048599554dda33496713f32680d98c4c549802
4e51df1b4435bb119af4e43e0077f1de05896fc0
/apps/order/views.py
9dddd0637378342f8ce8c1ddf3a013acc199cf96
[]
no_license
SyJarvis/tiantianshengxian
725a8931d436462b5a9cf9846454e1d1b38813c9
1cfe8fa425f0c8db6dec1351aba96c46c4bdc1f1
refs/heads/master
2022-12-15T08:13:09.983847
2020-01-24T15:06:32
2020-01-24T15:06:32
236,019,073
0
0
null
null
null
null
UTF-8
Python
false
false
16,449
py
from django.shortcuts import render, redirect from django.core.urlresolvers import reverse from django.views.generic import View from goods.models import GoodsSKU from django_redis import get_redis_connection from user.models import Address from utils.mixin import LoginRequiredMixin from django.http import JsonResponse...
[ "1755115828@qq.com" ]
1755115828@qq.com
e988821b98f57ccf055c696417379e742f8e7874
066e874cc6d72d82e098d81a220cbbb1d66948f7
/.hubspot/lib/python2.7/site-packages/rbtools/utils/users.py
efe49cfe5740d885b4e46dcabf0657f0c4e1ad9a
[]
no_license
webdeveloper001/flask-inboundlead
776792485a998a0eaa4b14016c3a2066e75ff2a2
d0a539d86342e9efc54d0c0a1adc02c609f0f762
refs/heads/master
2021-01-19T01:34:55.241144
2017-04-05T00:42:03
2017-04-05T00:42:03
87,248,885
1
0
null
null
null
null
UTF-8
Python
false
false
2,880
py
from __future__ import unicode_literals import getpass import logging import sys from six.moves import input, range from rbtools.api.errors import AuthorizationError from rbtools.commands import CommandError def get_authenticated_session(api_client, api_root, auth_required=False, sess...
[ "jamesbrown1018@outlook.com" ]
jamesbrown1018@outlook.com
5dc9e34fec4aa7664d0922e3c9598f119158708c
5a7162e790d655c0df0adccba7efd59d144ee6d7
/modelo/bookings/urls.py
1241383df9c7789690ae8374280b017cc07cdf8e
[]
no_license
CoutinhoElias/modeloBootstrap
02861ae7dc4ef7312bc35f03d0a56dabba11c2c1
6c5ae6cc8b5e6a913d8a012f686edec65388b881
refs/heads/master
2020-03-19T14:58:12.174931
2018-06-08T17:54:48
2018-06-08T17:54:48
136,649,517
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
from django.conf.urls import url, include from django.views.i18n import JavaScriptCatalog from modelo.bookings.views import list, scheduling, scheduling_edit, bookings_create, bookings_update app_name = 'bookings' urlpatterns = [ url(r'listagem/$', list, name='list'), url(r'agendamento/$', scheduling, name='...
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
03c508940d6e18303d747e19b5bec8b0ed68940a
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part008310.py
349e6a755cd3af62964094c139942ed76b6dc26a
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,296
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
0f206550c3de71767ec9d0815a135fde8ab0bcee
fc96a396beb0c0ad8bbdd3b1ab88000076a8ef28
/examples/opengl_utils.py
f627b0cdf73fc25e1789421b497544f91ca973a7
[ "MIT" ]
permissive
stonewell/pylibui
a0a4da3bb1362e1e3a2ff062d07f5f8a6dd81f64
7e3164b9a622db1a5b64cc40687d46535db9e1fb
refs/heads/master
2021-01-22T20:00:08.752119
2017-04-21T16:47:49
2017-04-21T16:47:49
85,272,824
0
0
null
2017-03-17T05:05:21
2017-03-17T05:05:21
null
UTF-8
Python
false
false
731
py
import os from OpenGL.GL import * import numpy as np def load_shader_src(shader_file): with open(shader_file) as f: return f.read() # Provide a terse way to get a uniform location from its name def U(name): p = glGetIntegerv(GL_CURRENT_PROGRAM) return glGetUniformLocation(p, name) def A(name): ...
[ "jingnan.si@gmail.com" ]
jingnan.si@gmail.com
8a1f881883f108445afa57ddf60a88c30a836cee
7c25d3d10ef571e33c010e999441f7561a62e1f7
/mobile_bg/migrations/0008_auto_20171221_1458.py
5d3e5901fa59fb0082e2e288713e18d48c474d3a
[]
no_license
karamanolev/CarTracker
8fc661632b64c25a6fe74b8a2ebf9e3c7141c488
d55ff961b73c5cb724ccdede84801b0540dce351
refs/heads/master
2021-03-24T12:37:17.377498
2018-03-13T03:16:10
2018-03-13T03:16:10
114,115,348
1
0
null
null
null
null
UTF-8
Python
false
false
851
py
# Generated by Django 2.0 on 2017-12-21 12:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mobile_bg', '0007_auto_20171221_1338'), ] operations = [ migrations.RenameField( model_name='mobi...
[ "ivailo@karamanolev.com" ]
ivailo@karamanolev.com
779cc3402738cd84b60f7303552f4579e78b8497
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_method_override-128.py
8e104a59c0150c3f862770840c091444f2bc7508
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
class A(object): a:int = 42 def foo(self:"A", ignore:object) -> int: return self.a class B(A): b:bool = True def __init__(self:"B"): print("B") def bar(self:"B") -> int: return self.foo(self.b) def foo(self:"B", ignore:object) -> int: $Statement print(B().ba...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
ab5c665e841c5772208b13d5217196d5d93e63bf
a139de988c9c79a368bd3cee13f0fbb3d1a1e905
/3estruturaDeRepeticao/3_validarInformacoes.py
d543966336b20deb7cf00a99147b9ee3dfeaf3a9
[]
no_license
brunodantascg/listaExercicioPythonBR
1e6942af06180fd05556de06daa7e745254f894d
8309e877cb6f63e9195ae34e040860a0c24f50e8
refs/heads/master
2021-07-04T00:24:04.080851
2020-10-25T05:20:53
2020-10-25T05:20:53
192,741,417
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
# Validar Informações while(True): nome = str(input("Informe nome: ")) if(len(nome) > 3): break else: print("O nome deve ser maior que 3 carecteres.") while(True): idade = int(input("Informe idade: ")) if(idade > 0 and idade <= 150): break else: print("Idade err...
[ "brunodedantas@gmail.com" ]
brunodedantas@gmail.com
fd6d49966744175bb17fac9ac764ae09a5c095dd
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/ops/distributions/util.py
01a3ebdac469309c8b8b7b2d4fffc97f5c277ccf
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
56,926
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
25d1f90882b959cd8a9fbc24ae60dd1a0d2ea714
e83d3e1e0d26a5509816c6d452d3c637052c583a
/lists_basics_ex/invert_values.py
b8d57691bbaeacbe78634fdec92dba23803ce4fa
[]
no_license
Nikoletazl/Fundamentals-Python
55670093d58e4b90e6e148b28e01f3e6d6ffccdb
6f4c1516d338f37bee3cadf27a1f883015e1e9a8
refs/heads/main
2023-08-29T12:06:39.231991
2021-10-08T13:37:04
2021-10-08T13:37:04
414,998,101
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
numbers_str = input().split() numbers_inverted = [] for number in numbers_str: number_inverted = int(number) * -1 numbers_inverted.append(number_inverted) print(numbers_inverted)
[ "noreply@github.com" ]
Nikoletazl.noreply@github.com
916538657500a7440bbdd9e335a30c39eedfc6e2
1c64ff83cb58c7c00cbde48e3b65abfb20704dd5
/Details/stock/basic/financialdata/NI3Y.py
da71dc871ad8740569300bb8522d64838560bce4
[]
no_license
lunvs/DataDescription
41f548d146f171bdf3f30a3fe9f2ddb5900809f1
57a3ee4763b00f69e1447e5abc38466ad1548723
refs/heads/master
2020-07-29T08:58:47.228797
2018-09-04T05:05:38
2018-09-04T05:05:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
#!/usr/bin/env python # -*- coding:utf-8 """ Author: Hao Li Email: howardleeh@gmail.com Github: https://github.com/SAmmer0 Created: 2018-05-24 10:58 """ from sys import path as sys_path from os.path import dirname from tdtools import trans_date from pitdata.const import CALCULATION_FOLDER_PATH, DataType from pitdata...
[ "howardleeh@gmail.com" ]
howardleeh@gmail.com
e76c2accd9a676f8c32a34dfa48b96478065529e
0078d6799d01c2367388533e495958ca00b28d9d
/home/migrations/0006_newsletteremails_uid.py
9bbca4ce8699710d06cf2d778d7ff5a8ffbbfe74
[]
no_license
briancaffey/briancaffey.com
34466d1f23dde67a2406adfad8ba831834166273
dca7be00d1f4350a3905da8375515b918b7ca48f
refs/heads/master
2021-01-20T13:12:09.301524
2017-12-07T01:33:13
2017-12-07T01:33:13
90,463,497
6
0
null
null
null
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-14 17:48 from __future__ import unicode_literals from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('home', '0005_guestbook_state'), ] operations = [ migrations.Add...
[ "briancaffey2010@gmail.com" ]
briancaffey2010@gmail.com
4dd6998ff4f9921a0a9494fb137c47195e503a8d
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/wc/src/686.py
53055f983386e14d463d7b8cf5ae1cde1054c8bc
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
218
py
def word_count(sentence): "counts appearances of unique words in a phrase" word_list=sentence.split() d={} for word in word_list: count=word_list.count(word) d[word]=count return d
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
0c153694ba5e47eb4c22c9b0ddc5a211b24e91ec
414239752b2bfc4cb3a947474f2662af7588b6eb
/ protobufeditor/Tests/MarathonTests/TestCases/SortTree/SortedTreeSel1.py
187ee7e8afe3e05a4e08ffb9b374824715237ab9
[]
no_license
dtracers/protobufeditor
8c7f9671c3b3a7d1cd3094321d030f6e6afcc7e8
b65d06bce93165eebf9798c533e2447a5992d384
refs/heads/master
2020-12-24T19:28:22.486207
2016-04-19T23:41:57
2016-04-19T23:41:57
56,340,712
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
useFixture(default) def test(): from Modules import commonBits java_recorded_version = '1.5.0_11' if window('Protocol Buffer Editor'): select('FileChooser', commonBits.sampleDir() + 'protoSales.bin') ##commonBits.setRecordLayout(select, 'DTAR020') click('Edit1') select_menu('View>>Sorted Field Tr...
[ "bm_tas@yahoo.com.au" ]
bm_tas@yahoo.com.au
aedfb6a29f854f051f7c129142e5418c06c30f9a
07af05141f371ad1c2ab11634d4f5fad20ede2e0
/python/src/nnabla/backward_function/shift.py
604cdcff2bb01160d2fd08a5dbf0a9df586993c1
[ "Apache-2.0" ]
permissive
chunxiaosz/nnabla
a9c9b30140def0bdf91dea24d70cfa9400258d66
9f4249313129d0fd23d304453830157fee96a2e5
refs/heads/master
2020-12-03T05:11:24.724125
2019-09-04T06:39:41
2019-09-04T06:39:41
95,741,841
0
0
Apache-2.0
2019-09-04T06:39:42
2017-06-29T05:29:11
C++
UTF-8
Python
false
false
1,836
py
# Copyright (c) 2017 Sony Corporation. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "Kazuki.Yoshiyama@sony.com" ]
Kazuki.Yoshiyama@sony.com
af3176a7c1a9997ed449799dc89b359141267b21
c371c8d2b8a0e00495bc6123d91f2bd7434a6bc9
/mailfriend/tests/__init__.py
34721595882f96aa9d8b949be926e3673916a3db
[]
no_license
tmc/django-mailfriend
e1bf02c536bde457754d67cf46b0d8467ad36e28
57a4af05a05edd1f197ea15d72ad2f55d9993fe3
refs/heads/master
2023-09-01T19:17:58.998707
2009-12-22T22:51:50
2009-12-22T22:51:50
248,956
0
0
null
null
null
null
UTF-8
Python
false
false
2,458
py
from django.conf import settings from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.core import mail from django.test import TestCase from mailfriend.models import MailedItem class MailfriendTest(TestCase): urls = 'mailfriend.tests.urls' def...
[ "pete@lincolnloop.com" ]
pete@lincolnloop.com