blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
590926c548bbf4d2c80cd8848ec14070f263882b
4d0bbeb8ab52f7e450aff20056f7509e12751258
/functional_tests/test_list_item_validation.py
b76997f17a27784079ace3f2665c4571d9f5f356
[]
no_license
chicocheco/tdd_book
f7c9246dcb4eb5327704c72f655bf6e187b28849
574b1082aa523c7434f50e0c4cbdf5777ddf50ef
refs/heads/master
2022-05-02T17:44:27.217329
2020-03-13T18:57:22
2020-03-13T18:57:22
197,633,503
0
0
null
2022-04-22T22:19:12
2019-07-18T17:56:43
JavaScript
UTF-8
Python
false
false
4,895
py
from selenium.webdriver.common.keys import Keys from unittest import skip from .base import FunctionalTest class ItemValidationTest(FunctionalTest): # YAGNI, 3 strikes and refactor, not moving helper methods to base.py if not needed elsewhere def get_error_element(self): return self.browser.find_elem...
[ "stanislav.matas@gmail.com" ]
stanislav.matas@gmail.com
bf50837fd80b831d40a6bba91fc419a1019c4bd2
fa346a2d5886420e22707a7be03599e634b230a9
/temboo/Library/Amazon/S3/__init__.py
905fa3010c0e9c654a3d2c2b1a47f51be344b1f9
[]
no_license
elihuvillaraus/entity-resolution
cebf937499ed270c3436b1dd25ab4aef687adc11
71dd49118a6e11b236861289dcf36436d31f06bc
refs/heads/master
2021-12-02T17:29:11.864065
2014-01-08T04:29:30
2014-01-08T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
from PutBucketACL import * from GetBucketLocation import * from DeleteMultipleObjects import * from GetBucketWebsite import * from DeleteBucketCORS import * from DeleteBucketTagging import * from GetObjectACL import * from ZipBucket import * from DeleteBucket import * from PutBucketWebsiteRedirectAll import * from GetB...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
8487f1f63135e4bffeb4b1e070046c863dd458cf
52f734b8f04ed0c88e3a41de2b5fb4aa3b2c1a8b
/data_process.py
3eb1ff7174c0319da6678cce0e541f8ad5cfd25f
[]
no_license
hongjy127/CNN_ultrasonics
d79398d947ffca0014da2f917b2871362d624e91
11c5614ac734f4d7af9a4a488ddc52bb4be28b87
refs/heads/master
2023-02-27T00:10:58.396549
2021-02-03T16:39:40
2021-02-03T16:39:40
328,112,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
import numpy as np import matplotlib.pyplot as plt from pyts.image import RecurrencePlot # 설정 정보 불러오기 class Configuration: def __init__(self): config = self.load() self.fname = config['FNAME'] def load(self): config = {} with open('config.ini','rt') as f: entries = ...
[ "hhhong127@gmail.com" ]
hhhong127@gmail.com
1a4dbf5f1ac9cc33c0301f9ba2db8c21e1972c06
781029dcc468a7d1467a17727870d526da1df985
/algorithm/2806_N-queens/sol.py
d0219b8816f66160b7d8c92f7d7a7d00ec2b6996
[]
no_license
Huijiny/TIL
5f0edec5ad187029e04ed2d69e85ae4d278e048d
d1a974b3cacfb45b2718f87d5c262a23986c6574
refs/heads/master
2023-09-03T15:28:11.744287
2021-10-21T12:38:10
2021-10-21T12:38:10
335,220,747
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
import sys sys.stdin = open('sample_input (3).txt') def is_exist_diagnal(cur_pos): for queen in queens: if abs(cur_pos[0] - queen[0]) == abs(cur_pos[1] - queen[1]): return True return False def n_queens(row): global visited, count if row == N: count += 1 else: ...
[ "jiin20803@gmail.com" ]
jiin20803@gmail.com
97b61b984b05740f9ba96560cbecd106998ce823
d4ca0866381e577e3d36a22735d02eb4bf817b10
/roman_to_integer.py
17099c8e9ce1347818f6937355f5dd6828331434
[]
no_license
haiwenzhu/leetcode
e842936b69bbaf5695de1f98c8c17507819435dd
bc068c2b00793ae72439efe5bdecaeed029e9f65
refs/heads/master
2021-01-15T13:11:22.672952
2015-07-25T04:45:36
2015-07-25T04:45:36
36,838,199
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
class Solution: """ @see https://oj.leetcode.com/problems/roman-to-integer/ """ # @return an integer def romanToInt(self, s): chart = dict(I=1, V=5, X=10, L=50, C=100, D=500, M=1000) if s == "": return 0 n = chart[s[-1]] for i in range(2, len(s...
[ "bugwhen@gmail.com" ]
bugwhen@gmail.com
30bded28cc0dcda07789d41d085dfdb3d9e6e17c
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GLES2/NV/shader_atomic_fp16_vector.py
99ece98dcff7af485333887d940e48ccac1ff4b7
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
'''OpenGL extension NV.shader_atomic_fp16_vector This module customises the behaviour of the OpenGL.raw.GLES2.NV.shader_atomic_fp16_vector to provide a more Python-friendly API Overview (from the spec) This extension provides GLSL built-in functions and assembly opcodes allowing shaders to perform a limited set...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
c4d74c2b8f344ee2be3556aa368f15b22c62cd6e
cb1d06e91347a23438057d9f40b5a74cad595766
/autonetkit/anm/__init__.py
4ee754a1a2282b1c46bccc42aaac4a0d566210a7
[]
permissive
plucena24/autonetkit
9f94d3fba6bfad54793a7de58ef17439c2c71f0b
f7e8c03ee685d5b89f9028cb556017e730e0446c
refs/heads/master
2023-08-16T18:03:54.593010
2014-11-07T13:43:39
2014-11-07T13:43:39
27,204,033
0
0
BSD-3-Clause
2023-08-08T18:36:36
2014-11-27T01:36:38
Python
UTF-8
Python
false
false
273
py
from autonetkit.anm.network_model import NetworkModel as NetworkModel from autonetkit.anm.graph import NmGraph as NmGraph from autonetkit.anm.node import NmNode as NmNode from autonetkit.anm.edge import NmEdge as NmEdge from autonetkit.anm.interface import NmPort as NmPort
[ "simon.knight@gmail.com" ]
simon.knight@gmail.com
8be656429e0ccfbc6d5b995c311d4436a9d86d31
3ca67d69abd4e74b7145b340cdda65532f90053b
/programmers/난이도별/level03.표 편집/sangmandu.py
309e210a1f26779c12c4f4c6978734fa138431d5
[]
no_license
DKU-STUDY/Algorithm
19549516984b52a1c5cd73e1ed1e58f774d6d30e
6f78efdbefd8eedab24e43d74c7dae7f95c2893b
refs/heads/master
2023-02-18T06:48:39.309641
2023-02-09T07:16:14
2023-02-09T07:16:14
258,455,710
175
49
null
2023-02-09T07:16:16
2020-04-24T08:42:27
Python
UTF-8
Python
false
false
3,870
py
''' https://programmers.co.kr/learn/courses/30/lessons/81303 표 편집 [풀이] 0. 연결리스트 문제 => 보통 이런문제가 나오면 클래스로 짜는 사람이 있다. 참 대단.. 1. 연결리스트를 딕셔너리로 구현한다. => i번째 노드는 원소가 2개인 list 타입의 값을 가진다. => [0] : left = i-1번째 노드 => [1] : right = i+1번째 노드 => 0번 노드와 n-1번 노드는 양쪽 끝에 None을 가지고 있다. 2. 명령어가 C, Z일때를 조건으로 하고 그 외에는 split()을 한다. 2-1. C일...
[ "45033215+sangmandu@users.noreply.github.com" ]
45033215+sangmandu@users.noreply.github.com
009bcc09b6b0e01969e419f841aa942b60421c69
ce36737f134db1726bb189c17a729b9d3abba4e4
/assets/src/ba_data/python/bastd/ui/settings/gamepadselect.py
4c1b4fa15cb76c093ad443c0653ec961e3d5fead
[ "MIT" ]
permissive
Indev450/ballistica
0559940971c69b7596442abfc6ac2818a4987064
27420d3f64c24bf3c9b4b047177a4769977659b1
refs/heads/master
2023-07-20T16:01:04.586170
2020-04-13T09:32:36
2020-04-13T09:32:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,740
py
# Copyright (c) 2011-2020 Eric Froemling # # 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, modify, merge, publish,...
[ "ericfroemling@gmail.com" ]
ericfroemling@gmail.com
e2d6533a67d8bebf792f226e1e5a1c797c7a7032
39d7ab29356ea5363c783d518b3c92f52c2ef8c2
/crawler/crawlers_BACKUP/sinarollcustom.py
9c3170f6636f92bf98ab84af04baecb8a1e39df5
[]
no_license
wdcpop/Web-Crawler
7daad778bbda9e5852248971845e3b448629175e
725037d17dfd2535e213df3cb7aafda523d39c03
refs/heads/master
2018-07-31T15:12:31.605633
2018-06-02T16:03:36
2018-06-02T16:03:36
121,194,531
4
1
null
null
null
null
UTF-8
Python
false
false
731
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from .abstracts.crawler_abstract import CrawlerAbstract import re from urlparse import urljoin from urlparse import urlsplit from arrow import Arrow import time class SINAROLLCUSTOM(CrawlerAbstract): title = u'新浪财经 - 滚动自选' start_urls = [ 'http://roll.ne...
[ "wdcpop@gmail.com" ]
wdcpop@gmail.com
2370bfe569782dc9bb6f537eb8495692b3be2571
51d5bd1f792f3a0fe1285c3ccdeefb58077890df
/anees/migrations/0027_auto_20200926_1337.py
33ea2f35e72c08589a1f98ef7070dd993ad8150f
[ "MIT" ]
permissive
ashish2020kashyap/cessini
667c2d4ab64f34121255a43c327b8110fa499d0b
9713fd76d2e31a95266ec69da2abc98424a46e52
refs/heads/master
2022-12-16T13:30:21.093504
2020-09-29T06:31:12
2020-09-29T06:31:12
299,510,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
# Generated by Django 3.1.1 on 2020-09-26 13:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('anees', '0026_auto_20200926_1336'), ] operations = [ migrations.AlterField( model_name='customer', name='customer_ca...
[ "ashish160kumar@gmail.com" ]
ashish160kumar@gmail.com
0a1b40f9c2382b1f57e2db3116afbfc749929daf
1b2fc9666edbbdc65387c854831097e0be8b686c
/BOJ(Baekjoon Online Judge)/Mathematics/2004_조합 0의 개수(counting trailing zero in combination).py
cfc777b9dac881b237d3a84d4de3aec3d7992dda
[]
no_license
seongbeenkim/Algorithm-python
6593878cff8755800f3e8bcdaabdb41625324f38
24fe365a29c61c2405a06345f9105ed200a76bd5
refs/heads/master
2023-09-04T11:05:08.318769
2021-02-18T14:58:20
2021-02-18T14:58:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#https://www.acmicpc.net/problem/2004 import sys count_two = 0 count_five = 0 n, m = list(map(int,sys.stdin.readline().split())) i = 2 while n >= i: count_two += n // i i *= 2 i = 2 while (n-m) >= i: count_two -= (n-m) // i i *= 2 i = 2 while m >= i: count_two -= m // i i *= 2 i = 5 while n...
[ "seongbeen93@naver.com" ]
seongbeen93@naver.com
f0078d8d238fb95be3367e8c9a6724e692d2f892
d806dd4a6791382813d2136283a602207fb4b43c
/migrations/versions/414eda9f70d0_.py
2eb67987fdcb5ce4328978a6b6c70f45820f1622
[]
no_license
MarsStirner/sirius
5bbf2a03dafb7248db481e13aff63ff989fabbc2
8839460726cca080ca8549bacd3a498e519c8f96
refs/heads/master
2021-03-24T12:09:14.673193
2017-06-06T16:28:53
2017-06-06T16:28:53
96,042,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
"""empty message Revision ID: 414eda9f70d0 Revises: f088f9315be0 Create Date: 2016-10-20 20:27:23.521000 """ # revision identifiers, used by Alembic. revision = '414eda9f70d0' down_revision = 'f088f9315be0' from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql def upgrade(): ...
[ "paschenko@bars-open.ru" ]
paschenko@bars-open.ru
c2fbf9b3a660a865fe1e20d672d48b4f0f4211bc
50084bf941b61791ac4def5b8cff950e7ddfdd15
/10 Advanced Language Techniques/Functional/04_currying.py
9bfdbe7774d011369592c47083061947c15d5c7e
[]
no_license
gjq91459/mycourse
6904ad191dc6128fb853eb8bdb1b200a46b2059f
211d7707e41f50495375b4a1dfc32b62b76b317b
refs/heads/master
2021-01-21T10:34:44.841349
2017-03-01T11:17:52
2017-03-01T11:17:52
83,456,979
1
0
null
null
null
null
UTF-8
Python
false
false
595
py
# conventional function that takes 5 args def func(a, b, c, d, e): return a, b, c, d, e print func(1, 2, 3, 4, 5) # curried version that takes 1 arg def f(a): def g(b): def h(c): def i(d): def j(e): return a, b, c, d, e return j ...
[ "gjq91459@diamtr341.diamond.ac.uk" ]
gjq91459@diamtr341.diamond.ac.uk
bd036bff8f5d9e56e55bb6ba97338a10bbbf2499
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/82/usersdata/231/43199/submittedfiles/decimal2bin.py
cfc4f3a70bf6f9df805aa03d52a228511ebb8f8f
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
# -*- coding: utf-8 -*- n=int(input('digite n: ')) soma=0 i=0 while n>0: resto =n%10 soma=soma+resto*(2**i) n=n//10 i=i+1 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
370b9d1e5738731995469d3572171a1eb0805860
b20cc37e0b986a0b458f7f446d5025beee01ba7a
/326-power-of-three/326-power-of-three.py
ee9a38938a90148c4442109da4f8e747ba9f4374
[]
no_license
Maruf-S/Competitve-programing
e5e405912a4c2d9a1fad35d66411964ecbc10d00
3134d9c1b7e987c6cec3c614512faab4114fe0bd
refs/heads/master
2023-02-04T08:08:43.374565
2023-02-01T17:29:55
2023-02-01T17:29:55
225,399,606
0
1
null
null
null
null
UTF-8
Python
false
false
183
py
class Solution: def isPowerOfThree(self, n: int) -> bool: if n==1: return True if n<1: return False return self.isPowerOfThree(n/3)
[ "56218443+Maruf-S@users.noreply.github.com" ]
56218443+Maruf-S@users.noreply.github.com
54a9a094e0ee5716cca0e893e3b82f367b83dbe1
a0dda8be5892a390836e19bf04ea1d098e92cf58
/7章之后刷题/7章/求一元二次方程的解.py
517c5ec018ad4fd2fec5dfce6394c34f9bf20cf7
[]
no_license
wmm98/homework1
d9eb67c7491affd8c7e77458ceadaf0357ea5e6b
cd1f7f78e8dbd03ad72c7a0fdc4a8dc8404f5fe2
refs/heads/master
2020-04-14T19:22:21.733111
2019-01-08T14:09:58
2019-01-08T14:09:58
164,055,018
1
0
null
null
null
null
UTF-8
Python
false
false
769
py
""" 【问题描述】一元二次方程:ax2+bx+c=0 (a ╪ 0) 【输入形式】输入a、b和c的值(有理数) 【输出形式】输出x的两个值,或者No(即没有有理数的解) 【样例输入】1 2.5 3 【样例输出】No 【样例输入】1 -2 1 【样例输出】1.00 1.00 【样例输出说明】输出的两个解保留两位小数,大的在前 """ import math a, b, c = input().split() if a != 0: a = float(a) b = float(b) c = float(c) if b ** 2 - 4 * a * c < 0: print("No"...
[ "792545884@qq.com" ]
792545884@qq.com
69219886e2fb7b8ea37b60e28d74a109c0dd00ec
508bef828c3ce1f1c53fbe52397632ebcb392a7f
/excercise/DataOutput.py
17f26dd4e5ecf58f8a646828a506123f3f85f981
[]
no_license
wudangqibujie/excercise
bc19a7923836aae9d12e1147b1d282250c0037c6
ff3e255e809e414fd43e7cf16e03466c91b613a2
refs/heads/master
2021-05-02T12:20:09.701592
2018-02-08T09:20:04
2018-02-08T09:20:04
120,738,926
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
import codecs import json class DataOutput(object): def __init__(self): self.datas = [] def store_data(self,data): if data is None: return self.datas.append(data) def output_txt(self): print(self.datas) print(len(self.datas)) def output_h...
[ "noreply@github.com" ]
wudangqibujie.noreply@github.com
cb404b4d172d193fdd675a194c0f74c3dc2bcbec
7e8c799037f47345cb12a6fc7911610d7ac63640
/blog/models/kategory.py
db1f3aed151335e537ac97042a080087a708be89
[]
no_license
SonerArslan2019/Django_Blog_kilicarslan
bcfd953dfc0d530217c02ff9bf1428160a63e68e
8959708689b830c387c76414545add2474beeddd
refs/heads/master
2023-06-04T06:19:28.209246
2021-06-27T14:50:40
2021-06-27T14:50:40
346,781,400
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
from django.db import models from autoslug import AutoSlugField class KategoriModel(models.Model): isim = models.CharField(max_length=30, blank=False, null=False) slug = AutoSlugField(populate_from='isim', unique=True) class Meta: db_table = 'kategori' verbose_name_plural = 'Kategoriler' ...
[ "soner@arslanyapi.com.tr" ]
soner@arslanyapi.com.tr
314cb13e39d3721bdde09602caf9430c87651252
e2baefd54ed6f44d351d867b8d8eb937424fae23
/class-10/game-of-greed/tests/version_4/test_keep_scorers.py
ad3c4e7685ac39c0a0bdef3b04d08c355b08a355
[]
no_license
codefellows/seattle-python-401n2
60cc100b5b6dc8bc3d72784a5ec8f9c2c9db1942
24148a2ee6526104566b5df64945a40222cfb3e2
refs/heads/main
2023-04-23T15:35:49.820538
2021-04-24T18:02:51
2021-04-24T18:02:51
316,109,616
8
16
null
2021-03-10T05:36:09
2020-11-26T03:06:19
Jupyter Notebook
UTF-8
Python
false
false
460
py
import pytest from game_of_greed.game_logic import GameLogic pytestmark = [pytest.mark.version_4] @pytest.mark.parametrize( "test_input,expected", [ ((1, 1, 1, 2, 3, 4), (1, 1, 1)), ((1, 1, 5, 2, 3, 5), (1, 1, 5, 5)), ((1, 6, 5, 2, 3, 4), (1, 6, 5, 2, 3, 4)), ((1, 6, 5, 2, 3),...
[ "rogerhuba@gmail.com" ]
rogerhuba@gmail.com
270a1aae2fd8c1049b534b01bbc44c37a2580987
79e19819aec49b500825f82a7de149eb6a0ba81d
/leetcode/704.py
67ae34f57125b3c89b84138ec42378a347353c62
[]
no_license
seoyeonhwng/algorithm
635e5dc4a2e9e1c50dc0c75d9a2a334110bb8e26
90406ee75de69996e666ea505ff5d9045c2ad941
refs/heads/master
2023-05-03T16:51:48.454619
2021-05-26T00:54:40
2021-05-26T00:54:40
297,548,218
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
class Solution: def search(self, nums: List[int], target: int) -> int: try: return nums.index(target) except ValueError: return -1
[ "seoyeon@nowbusking.com" ]
seoyeon@nowbusking.com
d63a8cf77a7bbfd03771436916c9f84472b354e1
13efb3baccc678f9d57776244c7dc067e486df9e
/students/migrations/0021_auto_20160517_1221.py
e9210404690fc2e9213f7ae9d9febd5fc7d78325
[]
no_license
grydinywka/studentsdb
fd109dfe60f4ffd666c12acbe645ca14e064c29b
bc2c968538f88bd539d931a7caf1b693fbb65843
refs/heads/master
2020-05-31T00:05:22.638475
2016-08-26T17:00:43
2016-08-26T17:00:43
31,331,814
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import students.models.Result_exam class Migration(migrations.Migration): dependencies = [ ('students', '0020_auto_20160421_0936'), ] operations = [ migrations.AlterField( ...
[ "grydinywka@gmail.com" ]
grydinywka@gmail.com
0ef2bcc9c688462fe238bb21496e160b45812ca0
3e4b8fe54f11bf36f3615c21fdc1dca0ed00fe72
/month04/spider/day01/text/02_tieba.py
63d1010207234daf73d93db6df89f20b4e00ef29
[]
no_license
leinian85/year2019
30d66b1b209915301273f3c367bea224b1f449a4
2f573fa1c410e9db692bce65d445d0543fe39503
refs/heads/master
2020-06-21T20:06:34.220046
2019-11-04T06:37:02
2019-11-04T06:37:02
197,541,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
from urllib import request from urllib import parse import random import time from fake_useragent import UserAgent import re class TiebaSpider: def __init__(self): self.url = "http://tieba.baidu.com/f?kw={}&pn={}" def set_headers(self): us = UserAgent() self.headers = {"User-Agent":us...
[ "42737521@qq.com" ]
42737521@qq.com
8d1ae267007951a34533aae1e23eb15ed57cf4ee
0d5e40b598ee3ad2c0575a45857df49457a99cc7
/june/handlers/api.py
d6ab577e83fa85e62f43ad5ac12f2b2f71770f36
[ "BSD-3-Clause" ]
permissive
mitnk/june
7fdf928b7de452911a9d683bc50ed52a9f04085c
ab2b8e42e9b632923187333cd91af0f683c16ba6
refs/heads/master
2021-01-18T12:01:19.949051
2012-03-27T07:10:43
2012-03-27T07:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,530
py
import math from tornado.options import options from june.lib.handler import BaseHandler from june.lib.decorators import require_user from june.models import Topic, Member, Reply from june.models.mixin import NotifyMixin class UpTopicHandler(BaseHandler): """Up a topic will increase impact of the topic, and i...
[ "lepture@me.com" ]
lepture@me.com
c44a12d77ff12294af2fe0d956eadc83432d93a5
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/main_20211116163259.py
e8cab25e7e1da7157cd5e01b04d2ba8c87d33c20
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
2,680
py
import product as p def choose(): action = 0 while action >= 0: if action == 1: p.AddProduct() print("--------------------------------") elif action == 2: p.DeleteProduct() elif action == 3: p.UpdateProduct() elif action == 4: ...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
a6793fef67f7d299ac2575aa4f3fdafd5fc99bae
89b0920101eaf09b0afb9a5449f3fabd68ac21c1
/analysis-blocks/scripts/SlowAdder.py
fd81750d4252600627d344e3bba39799ecfc459f
[]
no_license
metamorph-inc/openmeta-examples-and-templates
cffdcecf8b4fca1ea8ae4f8880a5f2720ec05f4b
4f6cc54510c742b9a3bf39338a5a01df510c1243
refs/heads/master
2023-04-10T06:25:28.691426
2020-03-12T23:20:36
2020-03-12T23:20:36
91,151,238
7
3
null
2018-12-03T23:01:19
2017-05-13T05:17:18
Python
UTF-8
Python
false
false
825
py
from __future__ import print_function from openmdao.api import IndepVarComp, Component, Problem, Group, FileRef import numpy as np import time class SlowAdder(Component): def __init__(self): super(SlowAdder, self).__init__() self.add_param("x", val=0.0) self.add_param("y", val=0.0) ...
[ "tthomas@metamorphsoftware.com" ]
tthomas@metamorphsoftware.com
892d1f7a730ca334b28fb0d84012c7de626b560d
e2ef58aa444e9e97ed26ef52bc69ac8bd79bc93e
/podoc/tests/test_utils.py
4e8a2b8169b447a65c22f3dda2df52035c514a17
[ "BSD-3-Clause" ]
permissive
willingc/podoc
1dc1c18f40e06b47760f0f6227ec70bd2dd1d19e
7021aec70d47a8a3a934c5799828f412e38b7c23
refs/heads/master
2021-01-17T10:04:47.414887
2016-04-02T09:56:55
2016-04-02T09:56:55
53,595,629
0
0
null
2016-03-10T15:32:25
2016-03-10T15:32:23
Python
UTF-8
Python
false
false
2,014
py
# -*- coding: utf-8 -*- """Test utility functions.""" #------------------------------------------------------------------------------ # Imports #------------------------------------------------------------------------------ import json import logging import os.path as op from pytest import mark, raises from ..uti...
[ "cyrille.rossant@gmail.com" ]
cyrille.rossant@gmail.com
6a6fa620c02a9969300f1da35177f8acf5abe1d9
585bc7a21664e7a371950c4811723aae92256c92
/test.py
f3c46723e224226df8b89453fcbcfb8851c88fe4
[]
no_license
JacquesLucke/ml_test
bfb421ba6c423bfda545dac7aeabbcc81d71abd8
3c743b0b60dcf492a64bea2ed16c7edc4e6a6809
refs/heads/master
2023-06-03T20:24:46.733564
2021-06-19T17:08:10
2021-06-19T17:08:10
378,464,878
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import numpy as np weights = np.array( [ [[1, 2], [3, 4]], [[-1, -2], [-3, -4]], [[0, 3], [-1, 2]], ] ) data_in = np.array( [ [1, 2], [3, 4], ] ) print(weights.shape) print(weights) print(data_in.shape) print(data_in) print(np.tensordot(weights, data_in, 2)) e...
[ "mail@jlucke.com" ]
mail@jlucke.com
8de2486482a883800948f7d6d08d5ce1676ba874
6466eef5477db250879a74935b3b776dc878ff3b
/ideas/views.py
e959cd77ba2866f690fca657fdcb6afc1b18108b
[]
no_license
BakdauletBolatE/django_ideas
8edb61a569f436865283e82edba3377a150665a8
ef0258f3aae0c090d38a5098d175bceaddcf67af
refs/heads/master
2023-03-12T00:02:04.969353
2021-03-02T19:41:00
2021-03-02T19:41:00
324,287,500
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
from django.shortcuts import render, redirect from Content.models import Ideas,ICategory def home(request): lastideas = Ideas.objects.all()[:3] categories = ICategory.objects.all()[:4] data = { 'categories':categories, 'lastideas':lastideas } return render(request,'home...
[ "bakosh21345@gmail.com" ]
bakosh21345@gmail.com
824db027a189587196ece3814888aad0001898d6
d95a672d614ea547a79be582fc9e9e97a09f7d9d
/pack/ex3_18.py
2e00fe3851e1b7f4f70930d8e8514b207e749b6b
[]
no_license
vt0311/python
26992c096512df8d0304f6d8b452a663645a8b61
51fa4c240b9f69a81f68d75e3f6ffdd9dada8848
refs/heads/master
2021-09-06T12:01:40.433969
2018-02-06T09:28:32
2018-02-06T09:28:32
107,950,338
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
print('방법1 : import 패키지명.모듈명') import pack.mymod1 print(dir(pack.mymod1)) # mymod1에 정의된 멤버 확인 print(pack.mymod1.__file__)# 경로 명 및 파일 명 print(pack.mymod1.__name__)# 모듈 명 print('mymod1의 함수 호출') list1 = [1, 3] list2 = [1, 2] pack.mymod1.ListHap(list1, list2) print('다른 모듈의 전역 변수 : ', pack.mymod1.tot) print('방법2 : fro...
[ "hsw0311@nate.com" ]
hsw0311@nate.com
82c582ff24e69ccb0acace9ec4ffa7596294a51b
8a4c32783b2c8e13eca88d193c767bd25e63306c
/algo/gnn/gat.py
6d087b9d8c3dafdbfde8dff45067056d7cf2b909
[]
no_license
fs302/GraphWorld
6765e4ba36d3af2ed5f820e52514096b3aeb10d7
9864eaca21f41117adf758f74379efa87692f5f8
refs/heads/master
2022-07-31T17:05:32.535380
2022-07-08T08:35:15
2022-07-08T08:35:15
196,156,937
5
5
null
null
null
null
UTF-8
Python
false
false
776
py
import torch from torch.nn import Linear import torch.nn.functional as F from torch_geometric.nn import GATConv class GAT(torch.nn.Module): def __init__(self, input_channels, hidden_channels, out_channels, heads, dropout_ratio=0.): super().__init__() torch.manual_seed(1234567) self.dropout...
[ "fanshen.fs@alibaba-inc.com" ]
fanshen.fs@alibaba-inc.com
417dfcc3c5f7259d1d81b83fb9ee10f6e487a810
801f367bd19b8f2ab08669fd0a85aad7ace961ac
/rl-fmri/tmp_sort_by_covariance.py
b8f808ec8e32693436251db5c839ebcdb7657592
[ "MIT" ]
permissive
Wendong-Huo/thesis-bodies
d91b694a6b1b6a911476573ed1ed27eb27fb000d
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
refs/heads/main
2023-04-17T18:32:38.541537
2021-03-12T19:53:23
2021-03-12T19:53:23
623,471,326
1
0
null
2023-04-04T12:45:48
2023-04-04T12:45:47
null
UTF-8
Python
false
false
635
py
import numpy as np N = 5 t_org = np.arange(N) pi = np.random.permutation(N) x_org = np.array([np.random.randn(100)*k for k in range(N)]) S_org = np.cov(x_org) print("Covariance of sorted time steps", S_org, sep="\n") t_obs = t_org[pi] x_obs = x_org[pi] S_obs = np.cov(x_obs) print("Covariance of unsorted time steps", S...
[ "sliu1@uvm.edu" ]
sliu1@uvm.edu
23ffd822cb9394060d8ed04bdd0e6a6f5ea26806
0df7f40b27cffe0b4e009041c35fc1e78e33f82d
/django_api/users/admin.py
c6a9e761a57586af5b9cd2a6a296661ba21db9e3
[ "MIT" ]
permissive
ridwanray/tay-twitter-microservices
5be11f166bd0e2dba298da1577549264315d0120
d5bdb6b6d4fd8333efbb4c79752f8c5efaccb1f0
refs/heads/master
2023-01-09T13:22:46.917407
2020-11-20T01:16:06
2020-11-20T01:16:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
"""Admin App Customization is done here""" from django.contrib import admin from .models import User from django.contrib.auth.admin import UserAdmin class CustomUserAdmin(UserAdmin): """Custom Admin Manager for Custom USer Model""" fieldsets = UserAdmin.fieldsets + ( (None, {'fields': ("follower", "following")}),...
[ "tay2druh@gmail.com" ]
tay2druh@gmail.com
2e610648cd9fb047a28f7e2d76bec256eec5c645
55647258df0565f19179ffb97ac217708d84ba4a
/social/serializers/comments.py
4ac4833bd46f2e9cefdd1058d793c2201b05038b
[]
no_license
beatonma/snommoc
25de0e81af0d9940bdc3aa6420cb5764d50c6d11
0a9d37dcad112c5dd98609c1566e74176ae3d89d
refs/heads/main
2022-03-11T07:53:33.038649
2022-03-05T17:03:56
2022-03-05T17:03:56
188,595,195
0
0
null
2022-02-18T17:54:30
2019-05-25T17:35:58
Python
UTF-8
Python
false
false
1,696
py
import bleach from rest_framework import serializers from social.models.comments import Comment from social.models.mixins import get_target_kwargs from social.models.token import UserToken from social.views import contract class CommentSerializer(serializers.ModelSerializer): username = serializers.CharField(sou...
[ "beatonma@gmail.com" ]
beatonma@gmail.com
a3f8bde72496e9b464ce228a2d862429620305ee
e9a737a6a9101d201e1ddf4292b31da9c6ed5919
/ytree/frontends/rockstar/io.py
d16beae61c4767f34351067299f63bb27c35f7ae
[ "BSD-3-Clause" ]
permissive
brittonsmith/ytree
fd1305fc3f35c33741d5441e2c8b6a09cce2bb54
0c6a331f38c9758cca663ffd6e740183d359f7aa
refs/heads/main
2023-05-25T06:02:19.020508
2021-04-19T14:35:18
2021-04-19T14:35:18
203,828,654
0
0
NOASSERTION
2019-08-22T16:01:34
2019-08-22T16:01:34
null
UTF-8
Python
false
false
2,804
py
""" RockstarArbor io classes and member functions """ #----------------------------------------------------------------------------- # Copyright (c) ytree development team. All rights reserved. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed ...
[ "brittonsmith@gmail.com" ]
brittonsmith@gmail.com
799a2ad2a3aed25738677f3c563458a4cd38017d
641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2
/content/DEPS
e891ebc72b9fd7dbdb01980defa7890b1268ebd9
[ "BSD-3-Clause" ]
permissive
massnetwork/mass-browser
7de0dfc541cbac00ffa7308541394bac1e945b76
67526da9358734698c067b7775be491423884339
refs/heads/master
2022-12-07T09:01:31.027715
2017-01-19T14:29:18
2017-01-19T14:29:18
73,799,690
4
4
BSD-3-Clause
2022-11-26T11:53:23
2016-11-15T09:49:29
null
UTF-8
Python
false
false
3,816
# Do NOT add chrome to the list below. We shouldn't be including files # from src/chrome in src/content. include_rules = [ # The subdirectories in content/ will manually allow their own include # directories in content/ so we disallow all of them. "-content", "+content/app/resources/grit/content_resources.h", ...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
2ff06a22caf04d6abf9ee0dadb6a814e357ba72f
48832d27da16256ee62c364add45f21b968ee669
/res/scripts/client/gui/scaleform/daapi/view/lobby/clans/search/clansearchinfo.py
effd5375670fa8314a02b23ce4895ec79def0848
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
7,782
py
# 2016.08.04 19:50:21 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/clans/search/ClanSearchInfo.py import weakref import BigWorld from adisp import process from gui import SystemMessages from gui.clans import formatters as clans_fmts from gui.clans.clan_controller import...
[ "info@webium.sk" ]
info@webium.sk
359f4e23b3ef1e9e4e2aec0b35aeccbd462a008b
99c6e64c0bf533e702576c516c3092bf5e641637
/server.py
c4ec64b92fe2f6b3466ab170489f3924ceec64fd
[ "MIT" ]
permissive
rjc-development/remote-desktop-control
67ff0f1ae3d7c507f269d982540bacfa666dd322
c138d6665a25053b4001c4e0c12ff851e401dc3f
refs/heads/master
2022-12-22T02:26:46.556215
2020-09-25T20:01:02
2020-09-25T20:01:02
298,668,093
3
1
null
2020-09-25T19:59:46
2020-09-25T19:59:45
null
UTF-8
Python
false
false
1,761
py
from starlette.applications import Starlette from starlette.websockets import WebSocketDisconnect import json import logging import uvicorn logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) app = Starlette() websockets = { 'web': {}, 'desktop': {}, } async def receive_json(websocket): ...
[ "fvoron@gmail.com" ]
fvoron@gmail.com
294636258c2d0c16eda8eebc1460b1c2b8febfb3
8cf3a19eb3d0f69e5c0237fc504977330e95aac2
/workflow/scripts/manticore-plotvcf.py
6fc8c870e989714519620809b58213b502db8b43
[ "MIT" ]
permissive
NBISweden/manticore-smk
0c46ab5da5cdf7a40806bfef5ea05558efea8c5e
fd0b4ccd4239dc91dac423d0ea13478d36702561
refs/heads/main
2023-08-13T05:44:36.125066
2021-10-19T19:12:55
2021-10-19T19:12:55
308,556,800
1
2
MIT
2021-05-13T07:15:20
2020-10-30T07:33:11
Python
UTF-8
Python
false
false
3,059
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys import shutil import argparse import random import numpy as np import allel import zarr import numcodecs import matplotlib.pyplot as plt import seaborn as sns sns.set_style("white") sns.set_style("ticks") populations = ["CHS", "YRI"] pop_colours = ...
[ "per.unneberg@scilifelab.se" ]
per.unneberg@scilifelab.se
eb2ca5d1b00bedc68345d9103057a0bd38c3425f
a79da24bda658f588fd8e71c7e63f01931c1a694
/bigapple/venv/lib/python3.7/site-packages/plotly/graph_objs/bar/_stream.py
8f528873536d267aa02021460ab7bf8155d2a086
[]
no_license
replicantdeca/bigapple-insys
60519b486f13e1a3eb18b5ba637e45deaf8e1d8e
5e7328fb94362fbb04a71c2e297bffd83443eebc
refs/heads/master
2020-03-27T12:57:31.894182
2019-12-01T11:25:13
2019-12-01T11:25:13
146,580,916
0
1
null
2018-08-29T10:00:28
2018-08-29T10:00:27
null
UTF-8
Python
false
false
3,812
py
from plotly.basedatatypes import BaseTraceHierarchyType import copy class Stream(BaseTraceHierarchyType): # maxpoints # --------- @property def maxpoints(self): """ Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to 50, onl...
[ "mgfcrespo@gmail.com" ]
mgfcrespo@gmail.com
92108883e03e44c0b266ef7a49d9dea628e31e41
61b475c33745dbe11d88ea288cbdee279f89c610
/src/izi/apps/dashboard/widgets.py
8fe3723a9b44c00ad92a5dec957228dfddf69ec0
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
izi-ecommerce/izi-core
a092ea285d0dbd83d17427de3157a9f1e77d6c51
21176be2d41f0cf54ca954f294209c585f643dba
refs/heads/master
2020-03-30T08:37:39.045514
2018-10-08T02:58:46
2018-10-08T02:58:46
151,029,291
0
0
null
null
null
null
UTF-8
Python
false
false
2,969
py
import copy import re from django.forms import Widget from django.urls import reverse class RelatedFieldWidgetWrapper(Widget): """ This class is a wrapper to a given widget to add the add icon for the IZI dashboard. """ template_name = 'izi/dashboard/widgets/related_widget_wrapper.html' IS_P...
[ "diepdt@izi.asia" ]
diepdt@izi.asia
dfb4aafe897b5263ebd18b74bb4a504d4d203e7f
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/go/util_rules/embedcfg.py
d2ed6cc938823c9793be977e5ede6db43a726bc2
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
4,141
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import json from dataclasses import dataclass from typing import Any, Iterable, Mapping from pants.util.frozendict import FrozenDict from pants.util.st...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
411e8160fa633fee9650fda54c0078f8af778b18
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5011/404005011.py
fca6c0597cac9c112b926b948f6c0cd9e7cdd1ee
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
3,993
py
from bots.botsconfig import * from records005011 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'SR', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'ZC1', MIN: 0, MAX: 1}, {ID: 'BX', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
992ad12a575aa28017fbf8115beb2a0579bad5bb
5dd47abf7061201d9378e73e51f08fbb314ba2fd
/envdsys/envcontacts/migrations/0065_auto_20210223_0054.py
007d402317fba9799fbecce80a479a8fe0db8323
[ "Unlicense" ]
permissive
NOAA-PMEL/envDataSystem
4d264ae5209015e4faee648f37608d68a4461d0a
4db4a3569d2329658799a3eef06ce36dd5c0597d
refs/heads/master
2023-02-23T22:33:14.334737
2021-07-22T01:09:16
2021-07-22T01:09:16
191,809,007
1
0
Unlicense
2023-02-08T00:45:54
2019-06-13T17:50:03
Python
UTF-8
Python
false
false
1,175
py
# Generated by Django 3.1.7 on 2021-02-23 00:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('envcontacts', '0064_auto_20210223_0034'), ] operations = [ migrations.AlterField( model_name='person', name='email1_...
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
69c8613e89b0b70ecdbf7d9a9cc3558b46d87771
7f7bf9a5827d1441f18f568fc75ed5bf0159ca6c
/Декоратор/2/2функцию-декораторv41.py
f7a19566515c70ee88069f9c42bb8055b942a228
[]
no_license
KorsakovPV/yandex_contest
08bcff4eaf38d46a8348ac3abbb5f496857fe8e4
f67917ef710f5b138142b11ec4e6e4678b23e408
refs/heads/master
2023-01-06T13:04:07.955570
2020-10-24T20:22:41
2020-10-24T20:22:41
290,097,693
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
def cache3(func): cache = {'res': func(), 'counter': 0} def save_three_times(): if cache['counter'] == 3: cache['counter'] = 0 cache['res'] = func() return cache['res'] cache['counter'] += 1 return cache['res'] return save_three_times @cache3 de...
[ "pavelkpv@gmail.com" ]
pavelkpv@gmail.com
f5d7ee6e684505ed22b422d7ed9221e0d6c707d5
0eefc9995ce927964969cbae247e28fd98f4998e
/src/hobbits-plugins/analyzers/KaitaiStruct/ksy_py/image/psx_tim.py
12103cca74f785a478567753e17eccc22387f220
[ "MIT" ]
permissive
SamuelWAnderson45/hobbits
993bde59d2fd96b1824e4f85ba1913eba12c8f3f
412f4ca50aa6aa2d26a1d05913f21f2ab0198eba
refs/heads/master
2022-12-14T09:36:46.663303
2020-08-30T17:05:53
2020-08-30T17:05:53
291,514,129
0
0
null
2020-08-30T17:02:44
2020-08-30T17:02:43
null
UTF-8
Python
false
false
3,662
py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO from enum import Enum import collections if parse_version(kaitaistruct.__version__) < parse_versi...
[ "adam@mahletconsulting.com" ]
adam@mahletconsulting.com
dc5f16a21eaf87f548dcafd572e064bea67e1b04
928508a85d16987a1382b7adcd7142dee7ac986f
/Practice_Python/6.String_lists.py
0d9f652a42a79e534901e740e8c4129af9c11942
[]
no_license
TheoRobin76/Data_Engineering22
ed29798d0660d6ac73985f510ef7cea942ab77ad
26299a61a8b4372d9ed2664d4ad623c9d12d23d0
refs/heads/main
2023-06-17T05:43:40.347544
2021-07-14T13:23:23
2021-07-14T13:23:23
378,177,215
1
0
null
null
null
null
UTF-8
Python
false
false
220
py
word = input("Please enter a word and I will tell you if it is a palindrome: ") if word == word[::-1]: print(f"Congratulations, {word} is a palindrome") else: print(f"My Condolences, {word} is not a palindrome")
[ "you@example.com" ]
you@example.com
e516493b77004a907bb16ef524f73968b6760fc5
8cf633e92a0671c8201268620a0372f250c8aeb2
/204.计数质数.py
dc347d29caae6593e34a2ccf06dfa29044656b36
[ "Unlicense" ]
permissive
SprintGhost/LeetCode
76da5c785009d474542e5f2cdac275675b8e60b8
cdf1a86c83f2daedf674a871c4161da7e8fad17c
refs/heads/develop
2021-06-06T04:04:28.883692
2021-01-01T14:09:26
2021-01-01T14:09:26
230,635,046
0
0
Unlicense
2020-12-11T14:55:36
2019-12-28T16:34:39
Python
UTF-8
Python
false
false
607
py
# # @lc app=leetcode.cn id=204 lang=python3 # # [204] 计数质数 # # Accepted # 20/20 cases passed (124 ms) # Your runtime beats 85.76 % of python3 submissions # Your memory usage beats 28.36 % of python3 submissions (36.8 MB) # @lc code=start class Solution: def countPrimes(self, n: int) -> int: if n < 2: ...
[ "864047435@qq.com" ]
864047435@qq.com
5b3d7a86142ca1e96291cb8b7355a821f2d2b495
3e7cce8dc203bcdbd35fccfaf974a9af0613d838
/profilemaker/views.py
5bb04d58dafd44c0f3899b259bb47bc561694b2d
[]
no_license
MdReyajuddin/blog
146ac2b0b6967261b943535c819b403817390cd5
7da318865cef3116d50bcf0eb20d800e57290b90
refs/heads/master
2022-12-15T15:44:30.969717
2020-01-25T08:07:37
2020-01-25T08:07:37
236,128,083
0
0
null
2022-11-22T05:16:03
2020-01-25T05:06:16
Python
UTF-8
Python
false
false
892
py
from django.shortcuts import render from .forms import Profile_Form from .models import User_Profile # Create your views here. IMAGE_FILE_TYPES = ['png', 'jpg', 'jpeg'] def create_profile(request): form = Profile_Form() if request.method == 'POST': form = Profile_Form(request.POST, request.FILES) ...
[ "md.reyajuddin45@gmail.com" ]
md.reyajuddin45@gmail.com
5aa57daf3cc68ef88f14f8f3ba7cba5f03636d50
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_8/34.py
13a5dbdcd1c07973c0fd5e97e7a59e2773a1dde9
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,034
py
"""The grouper class has been reciped from: http://code.activestate.com/recipes/387776/ """ class Grouper(object): """This class provides a lightweight way to group arbitrary objects together into disjoint sets when a full-blown graph data structure would be overkill. Objects can be joined using .join(), tested fo...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5e034aa33708e97b5aedbcbf1bba6cf51df4c4f9
e06c7fd594c52425ab7fc5498c07ae14daf9578b
/api/admin.py
cafd7a142d565ea707d870d9d0d7f3375129165e
[]
no_license
rwheeler-7864/simplenight-api
bc35560eca1e1c25092a1bcdc4af1633367413b8
602646911a0155df5b70991d1445c10cee18cd33
refs/heads/master
2023-03-12T03:10:51.516499
2021-02-25T20:40:44
2021-02-25T20:40:44
342,370,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
from django import forms from django.contrib import admin from django.forms import TextInput from api.models.models import ( Booking, OrganizationFeatures, PropertyInfo, Venue, VenueMedia, VenueContact, VenueDetail, PaymentMethod, # ProductMedia, ProductHotelsMedia, Products...
[ "randmwheeler@gmail.com" ]
randmwheeler@gmail.com
506003b3dae22a077719c309c33a12355ed13292
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/codeforces/cf251-275/cf260/a2.py
a83e5ffe122cda371ad06555dc20bfd8fbd03eb2
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll n = int(raw_input()) for loop in xrange(n): a, b = map(int, raw_input().split()) if a < b: print "Happy Alex" break else: print "Poor Alex"
[ "roiti46@gmail.com" ]
roiti46@gmail.com
b548144cbea5bfa89e439e9720a806f5b4e08fe8
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/test/connectivity/acts_tests/tests/google/nr/sa5g/Sa5gSmsTest.py
011062f94542ad88a258d6dd33ea3382f50f7a21
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
#!/usr/bin/env python3.4 # # Copyright 2021 - Google # # 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 appl...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
f3ff45256bbea619dbbf64fd88fabf51d085e602
0c15310c93117c916211b214bf5e87bdb05e768b
/hyperion/__init__.py
f1feff3c2c50c50e70b91d7fb71f52e9b778df21
[ "BSD-2-Clause" ]
permissive
hyperion-rt/hyperion
553efc0bd2c279409f65381d769546770b728236
743e085dd03ac8f92796773e55a69fd5b50700c1
refs/heads/main
2023-08-30T20:57:38.751726
2023-08-25T20:41:29
2023-08-25T20:41:29
1,442,240
41
19
BSD-2-Clause
2023-08-25T20:41:31
2011-03-05T04:43:44
Python
UTF-8
Python
false
false
2,344
py
from __future__ import print_function, division from .version import __version__ # Set up the test function _test_runner = None def _get_test_runner(): from .testing.helper import TestRunner return TestRunner(__path__[0]) def test(package=None, test_path=None, args=None, plugins=None, verbose=Fal...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
ba79ccbb978bcafbf81db83fd7e2fa58372de286
1ec96ae64d42a735278c6ae718cc0205e846a79e
/qpwcnet/app/quantize/test_infer_tflite.py
45c4358b9a7326e67f1def3e95d1066e81d036f2
[]
no_license
fenguoo/qpwcnet
c3139c04787ecd8abf88d7aa7c106fd8715d92ab
3fa803d4b55d46559eb96543ce0683fa4dd4d737
refs/heads/master
2023-03-08T20:37:50.137699
2021-02-25T18:40:24
2021-02-25T18:40:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,352
py
#!/usr/bin/env python3 import tensorflow as tf import numpy as np import faulthandler import cv2 from qpwcnet.core.util import disable_gpu from qpwcnet.data.augment import image_resize, image_augment from qpwcnet.data.tfrecord import get_reader from qpwcnet.core.vis import flow_to_image from qpwcnet.vis.show import s...
[ "jchocholate@gmail.com" ]
jchocholate@gmail.com
066630c5fc08c6a3f8d7aea2d8c7356f89559c49
afc677459e46635ceffccf60d1daf50e62694557
/ACME/utility/isskinny.py
b174ab247419e98a7beff22f70e10383e0180265
[ "MIT" ]
permissive
mauriziokovacic/ACME
056b06da4bf66d89087fcfcbe0fd0a2e255d09f3
2615b66dd4addfd5c03d9d91a24c7da414294308
refs/heads/master
2020-05-23T23:40:06.667416
2020-01-10T14:42:01
2020-01-10T14:42:01
186,997,977
3
1
null
null
null
null
UTF-8
Python
false
false
497
py
from .row import * from .col import * from .ismatrix import * def isskinny(*tensors): """ Returns whether or not the input tensor is a skinny matrix A fat matrix is a matrix where the number of columns is smaller than the rows Parameters ---------- *tensors : Tensor a sequence of ten...
[ "maurizio.kovacic@gmail.com" ]
maurizio.kovacic@gmail.com
555dc967aabaab2c6844ce81e8e30bd1621e7673
af368ad82efda90ca9de73c57f2822aa27a21044
/rigl/rigl_tf2/networks.py
ff96229cb5555728ea5fe8612ba59a1157351158
[ "Apache-2.0" ]
permissive
google-research/rigl
e24f05bfd872f31194a047cf1b3a0bfa12ab45aa
d39fc7d46505cb3196cb1edeb32ed0b6dd44c0f9
refs/heads/master
2023-08-25T04:54:29.014303
2023-01-13T13:40:32
2023-01-26T17:47:13
224,050,000
324
61
Apache-2.0
2022-07-04T22:02:04
2019-11-25T22:03:16
Python
UTF-8
Python
false
false
2,777
py
# coding=utf-8 # Copyright 2022 RigL Authors. # # 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 agree...
[ "evcu@google.com" ]
evcu@google.com
40d07a435766b7b05fd6c3cfdb3b1ec4ba000f2b
8fe42fb556547bc60bd34b8c5230c01d7ef2dc89
/src/operaciones.py
c2b28d668244639975b2d9d79f52146085af3388
[]
no_license
Davidlazarog/Shark-Project
1c8b3225f41a32dbcabace88c776043aeac42066
e6baf3c346aa324566ac687af885a7abcd66b5a2
refs/heads/master
2022-12-06T20:03:15.679049
2020-08-31T19:06:54
2020-08-31T19:06:54
291,052,138
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
def fatality(x): if x == "Y": return True elif x == "N": return False elif x == " N": return False elif x == "N ": return False elif x == "y": return True return 'Unknown' def Type(x): if x == "Unprovoked": return 'Unprovoked' elif x == "P...
[ "david@MacBook-Air-de-David.local" ]
david@MacBook-Air-de-David.local
d4d3db0d9c63d6caa39c78c51416d5cd71a05bf5
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/23fcae7c9e2969cf6c9ffb019dda90e2abce2337-<v2_runner_on_unreachable>-fix.py
a2bf157a0a16543a0a827efdc86b55d5841fa9c6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
def v2_runner_on_unreachable(self, result): self._preprocess_result(result) msg = 'unreachable' display_color = C.COLOR_UNREACHABLE task_result = self._process_result_output(result, msg) self._display.display((' ' + task_result), display_color, stderr=self.display_failed_stderr)
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
d6942f802ebb324f1d183331af8a70085d17d2a8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03260/s433501845.py
f916e360749b81eba126bb8d969b1f1e0e46b12a
[]
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
227
py
import sys def main(): a, b = map(int, input().split()) for c in range(1, 4): if (a * b * c) % 2 == 1: print('Yes') sys.exit(0) print('No') if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3209c668a67a07c6ad75cfad7348b0fa17bc9382
eae3d77ac72c168cee7701462f1fc45d7d4dcd91
/SWEA/5653_줄기세포배양.py
352a068ba658b7efae977a5f073569e60fa98afe
[]
no_license
ByeongjunCho/Algorithm-TIL
ed2f018d50bd2483bd1175ff9bf7e91913c14766
ad79125a1498915fe97c1d57ee6860b06c410958
refs/heads/master
2022-07-19T15:12:23.689319
2020-05-18T08:37:09
2020-05-18T08:37:09
256,399,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
# 5653. [모의 SW 역량테스트] 줄기세포배양 for tc in range(1, 1+int(input())): N, M, K = map(int, input().split()) # 행, 열, 시간 arr = [list(map(int, input().split())) for _ in range(N)] # 좌표를 dict 에 입력 cell = {} # 살아있는 세포 deadcell = set() # 죽은세포 for i in range(N): for j in range(M): if...
[ "jjgk91@naver.com" ]
jjgk91@naver.com
c6786c9dbf4949ae65f9b5146056f5c8542d97d3
76658a65823ea493038c1d037eb0bc1eda6733d3
/chapter8/decorator.py
1af2950bea033ac2d44c7197d914df3b0ee7bdea
[]
no_license
Asunqingwen/OOR_Edition3
2f14446f26a6615aea58920f67f6656c74257c4c
92481b15fc365f8d5b903f6e5eb0974e9ff2af33
refs/heads/master
2022-08-15T05:49:33.619528
2020-01-13T01:53:47
2020-01-13T01:53:47
230,414,693
0
0
null
2022-07-29T23:04:04
2019-12-27T09:33:05
Python
UTF-8
Python
false
false
933
py
# -*- coding: utf-8 -*- # @Time : 2020/1/7 0007 14:40 # @Author : 没有蜡笔的小新 # @E-mail : sqw123az@sina.com # @FileName: decorator.py # @Software: PyCharm # @Blog :https://blog.csdn.net/Asunqingwen # @GitHub :https://github.com/Asunqingwen # @WebSite : labixiaoxin.me import time def log_calls(func): def wrapper...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
aa7d5492970481f8d5ecd055913b223e31a05a4a
f93ea26173e6b72ff46b3abb2a5250bfb0636cdd
/tests/test_multiple.py
fc19b1449f2d61c628ba768b08192cf784420648
[ "MIT" ]
permissive
eng-tools/eqsig
53d1dc695ffbe132a7fef871d825d9b7011f821c
8a70f4c7152bc0f0901d457b6acbca256d1a6473
refs/heads/master
2023-02-26T06:58:43.243878
2022-08-16T03:23:04
2022-08-16T03:23:04
125,842,866
22
10
MIT
2023-02-08T00:41:12
2018-03-19T10:46:43
Python
UTF-8
Python
false
false
720
py
import numpy as np from eqsig import multiple def test_same_start(): time = np.linspace(0, 102, 10200) acc = np.sin(time) dt = 0.01 cluster = multiple.Cluster([acc, acc + 0.3], dt=dt) cluster.same_start() diff = np.sum(cluster.values_by_index(0) - cluster.values_by_index(1)) assert diff <...
[ "maxim.millen@gmail.com" ]
maxim.millen@gmail.com
bec4c93a740437135214e47923fb069380ba88e1
eb61d62ca1f6f0123e3771105f5dfbbd6115138d
/.history/19-22-07-21_20210905233329.py
1c3e07808a594a922ce4ec611612db0be63d70cf
[]
no_license
Alopezm5/CORRECTO-2
e0f14bcc3a88c0e222d10e3261e68532008bc42e
223613f1fb04dce3fac9f82f243cb2f22fe100f3
refs/heads/main
2023-07-29T06:52:48.147424
2021-09-12T20:33:27
2021-09-12T20:33:27
388,995,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
class MENU (): def __init__(self,titulo,opciones=[]): self.titulo = titulo self.opciones = opciones def menu(self): print(self.titulo) for opcion in self.opciones: print(opcion) opc=input("Elije opcion [1 ..... {}]:".format(len(self.opciones))) retu...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
f448fb85f2fa97dfe22916d51c24dde06f126299
910c97ce255f39af7ef949664b4346e8cb5d6a0e
/managerlib/dblib/.svn/text-base/db_cloudfs_account.py.svn-base
a35cee46cf8948ff6bed248f5925041ed5a0724e
[]
no_license
sun3shines/manager_monitor
f3742a4fde95b456f51d0a18feb78f3d4048c560
f49d741203d8476f2249a49d90fecc86143ac622
refs/heads/master
2021-01-17T06:47:14.375088
2016-04-29T06:43:05
2016-04-29T06:43:05
57,361,217
0
0
null
null
null
null
UTF-8
Python
false
false
997
# -*- coding: utf-8 -*- from urllib import unquote from managerlib.db.db_account import account2id,insert_account,account_exists from managerlib.db.table.stobj import delete_stobj # atdelete -> db_cloudfs_account_delete # atput -> db_cloudfs_account_put # atexists -> db_cloudfs_account_exists # athead -> db_cloudfs_a...
[ "sun__shines@163.com" ]
sun__shines@163.com
2576f671397537847ead9f33f72b37b62d262c6c
61004e474b7b2ad0071c16766f0f7874f04f9466
/examples/dataflow-xml-pubsub-to-gcs/python/beamPubSubXml2Gcs.py
714dcc12868880a5d623a66cf9fb253735ed5a8a
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/professional-services
eb79751efae765a8c691a745e520f44f51bd715c
0f51121b945bd74c7f667e74e8861fceda87565c
refs/heads/main
2023-09-05T02:57:33.328973
2023-08-30T14:40:30
2023-08-30T14:40:30
91,730,359
2,626
1,381
Apache-2.0
2023-09-14T20:13:42
2017-05-18T19:29:27
Python
UTF-8
Python
false
false
6,666
py
# 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 # https://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, sof...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
a7ee7d01542a6a2c392badd3a337b82978760149
978228e0c7291e6dad04a49ac8fdbd2e17322b6b
/PythonAutomats/Tinder/song_of_the_day_tinder.py
71674fd8278ca4cc0f848d30fdfb6f961e6da1bc
[]
no_license
tdworowy/PythonAutomats
f5edbea96b53e1e452f16457ba44a31e7750d7ab
84d30db03b5be936092622d446b0fc9834dfa2de
refs/heads/master
2022-08-27T21:12:24.963091
2022-08-15T08:39:46
2022-08-15T08:39:46
73,401,085
2
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
import sys from random import choice from Api.Songs import ApiAdapter from Chrome_Driver_Folder.driver_path import get_driver_path from Songs.last_fm_parser import FOLDER_PATH, update_songs_distribution from Tinder.tinder_Api import TinderMessageBot, TinderAdapter from Utils.decorators import log_exception from Youtub...
[ "dworowytomasz@gmail.com" ]
dworowytomasz@gmail.com
3988f947afc8104c3abbc1371fb28d19b7677e15
ac6e4102dfb49a4e49de0e2766feb6e80ab0b5c2
/h1/model/website_project_instance_create.py
40e2620a7c7b0b2bb04d8a2d6fc79057e3b28627
[ "MIT" ]
permissive
hyperonecom/h1-client-python
df01f05ad295121e3dd391a3274c41e2f5b88e53
4ce355852ba3120ec1b8f509ab5894a5c08da730
refs/heads/master
2023-04-05T01:51:31.637002
2021-03-29T00:05:41
2021-03-29T00:05:41
319,309,525
0
0
null
null
null
null
UTF-8
Python
false
false
7,357
py
""" HyperOne HyperOne API # noqa: E501 The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from h1.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, ...
[ "action@github.com" ]
action@github.com
aefae7fca95e26baee3b1888e265657b3105ea73
2c3f13857d4a915410de5ac9547745eb2769db5f
/eval/e5/scrape_so.py
60e0110c53ba3c6434b54a83d7b9f733bf2aff48
[]
no_license
andrewhead/StackSkim
43a4cf769645bb70202075f8077fa4d5d7be2a4b
9ac11705ff82aa978d1a87177059e665f4e5ebef
refs/heads/master
2020-06-03T16:15:15.127268
2016-01-16T17:16:36
2016-01-16T17:16:36
50,692,945
2
0
null
null
null
null
UTF-8
Python
false
false
3,928
py
#! /usr/bin/env python # encoding: utf-8 from __future__ import unicode_literals import logging import subprocess import requests import json logging.basicConfig(level=logging.INFO, format="%(message)s") SCRAPE_DIR = "scrape" QUESTIONS_OUTFILE = 'questions.json' ANSWERS_OUTFILE = 'answers.json' ANSWERS = [ {'q...
[ "head.andrewm@gmail.com" ]
head.andrewm@gmail.com
26d5bc1377b3152d42dffb7588d782be1a251f02
55fefb8017a97d049f035f6771e1dfb6e7eb94a2
/investmtype/migrations/0002_auto_20180912_1801.py
7a085e28a5f0cfda3dea08219c2bed6a64ba48cb
[]
no_license
niravhjoshi/DjangoE2ISAapi
d90df84d1788e2f6a0335f707438afc543b02d56
ff74799bdb122dbc3067b3f131663c0d932355c4
refs/heads/master
2020-03-25T18:01:04.356469
2019-04-23T12:02:32
2019-04-23T12:02:32
144,008,958
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-09-12 12:31 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('investmtype', '0001_initial'), ] operations = [ migrations.RenameField( ...
[ "nirav.j05@gmail.com" ]
nirav.j05@gmail.com
8985832a9acfc77b38e220afc8b2162c9d8ceccd
30736dab9d8e682e5603d4803349144a5f6a84fb
/sdk/cognitiveservices/azure-cognitiveservices-search-websearch/azure/cognitiveservices/search/websearch/models/ranking_ranking_group_py3.py
1a865ff2a79a51e178c6aa333a5a293db4672915
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
montgomp/azure-sdk-for-python
6fcaffc59f4321852aa71109691e94ad38c66464
0ffb0b0de095b97cbc5b69309bbce0a3b91d3eb4
refs/heads/master
2020-12-06T11:08:01.683369
2020-01-07T23:24:42
2020-01-07T23:24:42
232,445,563
1
0
MIT
2020-01-08T00:45:33
2020-01-08T00:45:33
null
UTF-8
Python
false
false
1,174
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
montgomp.noreply@github.com
36c5af91c16098ac83d608a74a948a0ebdc15c5d
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321213612.py
acc2caebe079475068d5af0e9ab3be845b0ef9ba
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
import os import subprocess import re from datetime import datetime import time numberOfTests = 10 tabuIteration = '5' tabuDuration = '0' numberOfCities = '10' final_solution = [] print(f"\n\nTest for Tabu Search with this config: \n\tIterations : {tabuIteration} \n\tDuration(Tabu Memory): {tabuDuration} \n\tNumb...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
fa1d5887fe6ef08cd2f3a5e63792396cc36a1d52
934235f70a390a3ba0d7b464cddd10872f31cda3
/rango/server/.history/tango_with_django/tango_with_django/settings_20210102125402.py
2b4db67f09db82b87456b7e41dffde57e8cabd20
[]
no_license
deji100/Projects
6919041ba23e77a5c74e5ab7692bfcee38ececcb
17e64d954d1d7805be57ec5d8d4344e4944889e6
refs/heads/master
2023-04-30T05:25:03.143303
2021-05-20T15:00:43
2021-05-20T15:00:43
338,844,691
0
0
null
null
null
null
UTF-8
Python
false
false
3,283
py
""" Django settings for tango_with_django project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ im...
[ "68882568+deji100@users.noreply.github.com" ]
68882568+deji100@users.noreply.github.com
83958d051cfb91f802ae0406167170b153d49d14
98dc91f742e13ff4007ffade532c801ce40c6105
/userblog/apps.py
d579959ef1b454682d87a7d8f0f44a52a4288990
[]
no_license
divyajonna/My_First_Task
6149d0da008e549e9f0d8ad52a90fe36e15775e3
c8c5007a2eb9112cecd5b1e6df1ea449be4c02d9
refs/heads/master
2021-05-16T15:51:05.676726
2018-02-12T05:58:21
2018-02-12T05:58:21
119,347,253
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class UserblogConfig(AppConfig): name = 'userblog'
[ "you@example.com" ]
you@example.com
8e994b7fb88bd07b8dd63b38805b854bd33fb1a1
6d9fbe6e6a2abfd8455e92f6dba67a5f02d87f41
/lib/phonenumbers/data/region_KG.py
43602a368e7acf704db78ca08cc9b7ebbdb58f5d
[]
no_license
JamesBrace/InfluenceUWebLaunch
549d0b48ff3259b139cb891a19cb8b5382ffe2c8
332d25940e4b1b45a7a2a8200f77c8413543b199
refs/heads/master
2021-09-04T04:08:47.594900
2018-01-15T16:49:29
2018-01-15T16:49:29
80,778,825
1
1
null
null
null
null
UTF-8
Python
false
false
1,904
py
"""Auto-generated file, do not edit by hand. KG metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_KG = PhoneMetadata(id='KG', country_code=996, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[235-8]\\d{8,9}', possible_number_patter...
[ "james.brace@mail.mcgill.ca" ]
james.brace@mail.mcgill.ca
22c577217301c191b4d44fd8db9ea4e06b3e4e6d
d8673a8b9a34292b54285edbf900d7e130ec39b8
/instant_generator/migrations/0006_auto_20200514_1040.py
16f69bd9642ca9b3b15c7801742a1d7161ef6bae
[]
no_license
AzeezBello/toolx
7383f43e500f300062193d8b43254c0b7af53dbf
daf6a7d585a4b72ace47b24ec86828fc6a2d2982
refs/heads/master
2022-03-07T10:12:32.915043
2022-02-16T00:01:18
2022-02-16T00:01:18
253,473,631
0
0
null
2022-02-16T00:02:45
2020-04-06T11:11:21
HTML
UTF-8
Python
false
false
426
py
# Generated by Django 2.2.9 on 2020-05-14 09:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('instant_generator', '0005_auto_20200425_0018'), ] operations = [ migrations.AlterField( model_name='instantgenerator', ...
[ "azeez@scholarx.co" ]
azeez@scholarx.co
c41a8a3c97568c0f098dbb43a50bcf87af787237
b742abb440174ec59f56a334f14871f3accc1743
/util/IpUtil.py
ab987e3cf1d64a0ca66c52b6985f7680bc9bd341
[]
no_license
sunshineywz123/baymax
00e92b71b599df6ce39902652b78167a51100002
25518474cb09644c34febaf556fe8a0449dc7da4
refs/heads/master
2021-12-30T06:37:13.224221
2018-02-07T08:25:03
2018-02-07T08:25:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
# -*- coding: utf-8 -*- __author__ = 'likangwei' import socket def get_ip_address(): return socket.gethostbyname(socket.gethostname())#得到本地ip def get_host_name(): return socket.gethostname() print get_ip_address()
[ "262708239@qq.com" ]
262708239@qq.com
ecc1f1d2cd3a78e2dc7168fd9d413dc5f440fbe5
2b0eab74af8d23244ff11699830f9bb10fbd717a
/fac/migrations/0088_folder_custom_form_data.py
2743e0be6a25e3364aacb4075b2da20e62c2de44
[]
no_license
alexandrenorman/mixeur
c7e25cd20b03c78b361cb40e3e359a6dc5d9b06b
95d21cd6036a99c5f399b700a5426e9e2e17e878
refs/heads/main
2023-03-13T23:50:11.800627
2021-03-07T15:49:15
2021-03-07T15:49:15
345,384,858
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
# Generated by Django 2.2.17 on 2020-11-24 10:54 import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('fac', '0087_project_custom_form_data'), ] operations = [ migrations.AddField( model_name='f...
[ "norman@xael.org" ]
norman@xael.org
7570fb3bb7d13173c86545c05e5965ec64f35c4c
1b1190a127a21bfd096529d3a3f20d05151b2276
/opsweb4/common/urls.py
d7b6911ed326a13da88a4b690cf0f28bab08413b
[]
no_license
cucy/zrdops4
a9d37d9dd7cfba5a3ecb1180094621754d97c5e9
f0609e90e5a944d30a65d6918b2bfcfd63a92c26
refs/heads/master
2021-01-19T14:39:54.315360
2017-09-24T04:01:27
2017-09-24T04:01:27
88,176,943
0
1
null
null
null
null
UTF-8
Python
false
false
438
py
from django.conf.urls import url from django.contrib import admin from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic import TemplateView from common.views import success_view, error_view, IndexView urlpatterns = [ # 通用视图 # 主页 url(r'^$', IndexView.as_view(), name='index'),...
[ "292016176@qq.com" ]
292016176@qq.com
5fbe5a1bfc9e491ef9f1597760db1d4c54b41b56
f7ca89772fc3b19424f537895957cbf3fcafece3
/nusa/version.py
b855b1a6a59a93d4da0487fc4064f1fdbc94ba7d
[ "MIT" ]
permissive
OrganizationUsername/nusa
d829d341da09bb7d10e7d4f630d63333c96ed2e0
05623a72b892330e4b0e059a03ac4614da934ce9
refs/heads/master
2022-12-20T11:51:14.221422
2020-10-07T19:10:25
2020-10-07T19:10:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
""" NuSA (Numerical Structural Analysis in Python) Author: Pedro Jorge De Los Santos E-mail: delossantosmfq@gmail.com License: MIT License """ __version__ = "0.3.dev0"
[ "delossantosmfq@gmail.com" ]
delossantosmfq@gmail.com
5d85feea87db2cd7b9f58a5a1fb29a01ab6a72f2
32bae996c594282515193ecb2357feb4f3004944
/sap/cli/datadefinition.py
8ec403e875616f73661a190f86cd5fe392adeaa4
[ "Apache-2.0" ]
permissive
corani/sapcli
2559c59073d64285dfe606c0afe491826d2a72ea
7e81776afa08be0c454c0f86754c8a9b5d938522
refs/heads/master
2022-11-13T12:27:44.016007
2020-06-08T11:19:40
2020-06-08T11:20:09
273,421,126
1
0
Apache-2.0
2020-06-19T06:29:13
2020-06-19T06:29:12
null
UTF-8
Python
false
false
954
py
"""ADT proxy for Data Definition (CDS)""" import sap.adt import sap.adt.wb import sap.cli.core import sap.cli.object class CommandGroup(sap.cli.core.CommandGroup): """Adapter converting command line parameters to sap.adt.DataDefinition methods calls. """ def __init__(self): super(CommandG...
[ "jakub@thefilaks.net" ]
jakub@thefilaks.net
9a9deb90c6765a6bc613f4f39852d1b3fc01d628
0f850c7a6746174c3ecc20884e6dc7b2aa6bcce1
/model.py
ca0e76717541a32c12900d843baad3651fbc293f
[]
no_license
wnd2da/launcher_gateone
9e1831637606885374dcfeca36637b20fdcfcbbb
601b00cdaf179e7cdd96e63f9aa8abd427f52cf9
refs/heads/master
2022-12-04T13:38:14.346940
2020-08-23T04:02:27
2020-08-23T04:02:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
# -*- coding: utf-8 -*- ######################################################### # python import os import traceback import json # third-party # sjva 공용 from framework.logger import get_logger from framework import db, app, path_app_root # 패키지 from .plugin import package_name, logger db_file = os.path.join(path_app...
[ "cybersol@naver.com" ]
cybersol@naver.com
30b010d2049deb9889ac634c2f45af497d8f3046
5a281cb78335e06c631181720546f6876005d4e5
/ec2-api-8.0.0/ec2api/tests/unit/test_customer_gateway.py
e4dfd8ae776ef4561c265897a509d233ecc7cf74
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
5,305
py
# Copyright 2014 # The Cloudscaling Group, Inc. # # 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 agreed to...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
60a83fbe0010450f8a95ef1138802bc95b62c8fa
67b5c4a03c3da2808054cfabc4001f05c7fdac49
/dataset/cifar_dataset.py
7e78aa20301bc7fdaf7dd7f7f646b65b59594f87
[]
no_license
dannieldwt/deep_learning_algorithm
411b1ffef4fdea1e0a42a09bee82c68bab17bffc
e2a37a378c88e20560ef6c0e8187a751905a51b1
refs/heads/master
2022-04-10T03:46:19.788919
2020-01-18T14:16:14
2020-01-18T14:16:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,403
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 11 17:54:50 2019 @author: ubuntu """ import pickle import numpy as np from dataset.base_dataset import BasePytorchDataset class Cifar10Dataset(BasePytorchDataset): """原版数据集地址http://www.cs.toronto.edu/~kriz/cifar.html cifar10: 10个类别,每个...
[ "ximitiejiang@163.com" ]
ximitiejiang@163.com
f5472639f09abf2e99dd3af4f8b4e77684efe070
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit2433.py
e2e631040a9f7275ba486935a2c37c61f5898b14
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,149
py
# qubit number=4 # total number=39 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
9fce71be596e167cbdbd8b915b98f9c62c586643
a90aa4871684f6f24aa5b0daf2ece384418c748b
/basic/python/2_applica/3_scrapy/2_process/multiprocess.py
c422da3970f695c4de502a064be611270dd06869
[]
no_license
Martians/code
fed5735b106963de79b18cc546624893665066cd
653e2c595f4ac011aed7102ca26b842d4f6beaaf
refs/heads/master
2021-07-11T19:22:24.858037
2019-02-22T13:04:55
2019-02-22T13:04:55
110,106,407
1
0
null
null
null
null
UTF-8
Python
false
false
5,604
py
# coding=utf-8 ''' 方案:数据库记录网址信息,本地多进程拉取, 第三课 参考:https://github.com/hezhen/spider-course-4/multi-process ## Install pip install ConfigParser ~/.pyenv/versions/3.6.5/lib/python3.6$ cp configparser.py ConfigParser.py pip install mysql-connector ## Question 1. 下载过程中,发生的编码问题等 2. 遇...
[ "liudong@daowoo.com" ]
liudong@daowoo.com
47c7f38df6616f44f27f20887988c3be622a9975
0a21d5e72b4afbabcbf4ec0d65ea84cd8d6159c7
/Contest/weekly-contest-179/A.py
ebd41441c424c583e8fdc4369c9093db724bcbc3
[]
no_license
LuoJiaji/LeetCode-Demo
193f27ba36c93f9030435874a145c63a81d3c0f8
78e6e87c01848a1dc71b7dc0716029ece5f35863
refs/heads/master
2020-06-24T03:03:33.366537
2020-04-05T02:09:41
2020-04-05T02:09:41
198,830,590
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
class Solution(object): def generateTheString(self, n): """ :type n: int :rtype: str """ ans = '' if n % 2 == 1: ans = 'a'*n else: ans = 'a'*(n-1) + 'b' return ans res = Solution().generateTheString(4) print(res)
[ "lt920@126.com" ]
lt920@126.com
61a48c806bd338b16b2b38e7ad2975e6901b5b30
a7c0cc71e6da4615eca2c3d75117dad5b8dce8d3
/export.py
177102ba06cd51436420f1940dfd4e0c28205977
[ "Apache-2.0" ]
permissive
CTFd/CTFd
4b75207aeea3ed8d761cc6269c27a070693ab3ec
d8f0b9e602fca109cabe1895e847d39a46ce7429
refs/heads/master
2023-09-01T19:19:19.767862
2023-08-29T18:46:53
2023-08-29T18:46:53
28,681,142
4,593
2,273
Apache-2.0
2023-09-13T18:24:37
2015-01-01T05:36:55
Python
UTF-8
Python
false
false
770
py
from CTFd import create_app from CTFd.utils import config from CTFd.utils.exports import export_ctf import datetime import sys import shutil app = create_app() with app.app_context(): print( "This file will be deleted in CTFd v4.0. Switch to using `python manage.py export_ctf`" ) backup = export_...
[ "noreply@github.com" ]
CTFd.noreply@github.com
41d081c5e295fcddccd0310aa469c46bfcbe51c5
a5a81bc468d2b9d6a87c49701441cf6dacdaf039
/tester/grabAndPlotLimits.py
61aedf06e2b49f6165e7a313ba5233e52cf45152
[]
no_license
truggles/CombineHarvester
396833e57afe2a203c9c4ee5117b87c3397eb795
8721ef6752006999c014a86bb13e81402cda0662
refs/heads/master
2020-04-05T08:19:11.877201
2016-02-01T14:39:17
2016-02-01T14:39:17
50,054,454
1
1
null
2016-01-20T19:26:20
2016-01-20T19:26:20
null
UTF-8
Python
false
false
3,210
py
import ROOT import array from ROOT import gPad masses1 = [80, 90, 100, 110, 120, 130, 140, 160, 180, 600, 900, 1000, 1200, 1500, 2900, 3200] ROOT.gROOT.SetBatch(True) def plotLimits( signal, channel ) : #if channel == 'em' or channel == 'tt' or channel == 'mt' : masses = masses1 masses = masses1 #limi...
[ "truggles@wisc.edu" ]
truggles@wisc.edu
14b7aae7767aad49409ab0944c50817bd8fbdaee
70ab3ee89cafa7f4882a6944e6ec335210875d30
/run_single_basketball_leyou.py
6ccf32d3874091547ad3bd0b9bab6d23628562ba
[]
no_license
SXL5519/caipiao1.0_1
3fa1fecd00576c36f37e6af21f0fe9b326289a6a
2db4387c5bad536cce99417041fbd34a699aa2cc
refs/heads/master
2021-10-10T07:39:45.127902
2019-01-08T09:32:47
2019-01-08T09:32:59
164,613,453
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
import unittest,time from HTMLTestRunner_jpg import HTMLTestRunner from modle.function import send_mail,screen_shot,logfile case_dir = "./test_case/Leyou" pattern="*_single_basketball_*.py" discover = unittest.defaultTestLoader.discover(case_dir,pattern) logfile() if __name__ =='__main__': #日期格式化 times = tim...
[ "shaoxinlin5519@163.com" ]
shaoxinlin5519@163.com
52e5f02be0348d286eaa45d1457e68ff9698b3b6
d83118503614bb83ad8edb72dda7f449a1226f8b
/src/dprj/platinumegg/app/cabaret/views/mgr/kpi/battleeventjoindaily.py
579ff996a58470e10b0a683fa40021637adbad39
[]
no_license
hitandaway100/caba
686fe4390e182e158cd9714c90024a082deb8c69
492bf477ac00c380f2b2758c86b46aa7e58bbad9
refs/heads/master
2021-08-23T05:59:28.910129
2017-12-03T19:03:15
2017-12-03T19:03:15
112,512,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
# -*- coding: utf-8 -*- from platinumegg.app.cabaret.views.mgr.kpi.base import KpiHandler from platinumegg.app.cabaret.util.api import BackendApi import settings from platinumegg.app.cabaret.models.battleevent.BattleEvent import BattleEventMaster from platinumegg.app.cabaret.views.mgr.model_edit import AppModelChoiceFi...
[ "shangye@mail.com" ]
shangye@mail.com
7aac97bd18585740470971643e94c41583982cc6
b096dbccb31d3bd181259e930816964c71034ff4
/tests/test_base/test_signature.py
44e7721141d1ad15178fb3820f4cc6706d18aad4
[]
no_license
cosphere-org/lily
b68f95720381a69ce0caa5f47fca461b3f5242a9
f6a8281e10eedcccb86fcf3a26aaf282d91f70f4
refs/heads/master
2023-02-18T13:49:03.568989
2022-06-30T09:58:23
2022-06-30T09:58:23
175,789,374
6
0
null
2023-02-15T18:49:10
2019-03-15T09:28:05
Python
UTF-8
Python
false
false
3,362
py
from datetime import datetime import string from unittest.mock import call from itsdangerous import SignatureExpired, URLSafeTimedSerializer import pytest from lily.base import signature from lily.base.events import EventFactory # # sign_payload # def test_sign_payload__calls_dumps_correctly(mocker): dumps_mo...
[ "maciej@cosphere.org" ]
maciej@cosphere.org
605b8ac68ca36f19a6c83959423f5e17545569cc
6d9fbe6e6a2abfd8455e92f6dba67a5f02d87f41
/lib/phonenumbers/shortdata/region_RW.py
34419d07f20772809e8c065ece534282a63aab08
[]
no_license
JamesBrace/InfluenceUWebLaunch
549d0b48ff3259b139cb891a19cb8b5382ffe2c8
332d25940e4b1b45a7a2a8200f77c8413543b199
refs/heads/master
2021-09-04T04:08:47.594900
2018-01-15T16:49:29
2018-01-15T16:49:29
80,778,825
1
1
null
null
null
null
UTF-8
Python
false
false
796
py
"""Auto-generated file, do not edit by hand. RW metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_RW = PhoneMetadata(id='RW', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='1\\d{2}', possible_number_pattern='\\d{...
[ "james.brace@mail.mcgill.ca" ]
james.brace@mail.mcgill.ca
b3293d311675fab17255febd8777666c78c11a7c
42d3e676cb9da325712dd54001a8fdda1661d1e1
/OutOfAfrica.py
8459020897373768d0f5f6ef2277657bb5c6f9b3
[]
no_license
janaobsteter/msprime
5f139f2b101e7246e53a6d0baaff1f28cf1dfa6c
e96ae69720100d544f69384d19a28fcca07a9c1d
refs/heads/master
2022-08-03T11:35:51.759317
2020-05-25T07:59:49
2020-05-25T07:59:49
266,719,099
0
0
null
null
null
null
UTF-8
Python
false
false
2,470
py
import math import msprime # First we set out the maximum likelihood values of the various parameters # given in Table 1. N_A = 7300 N_B = 2100 N_AF = 12300 N_EU0 = 1000 N_AS0 = 510 # Times are provided in years, so we convert into generations. generation_time = 25 T_AF = 220e3 / generation_time # T_B = 140e3 / gener...
[ "obsteter.jana@gmail.com" ]
obsteter.jana@gmail.com
0f506c20beb65be6f34ecb5fcb1bcacae5c97864
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class2922.py
8052c4b482d939ce0e7613f8c75fb9223b0a120a
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,299
py
# qubit number=4 # total number=42 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
f5bdb35b232eabf76f6685808f87bd5839a6ca32
392651974f2e6d006618b64aac6cc2613ba01883
/accounts/admin.py
5601dfa75500f8614dcb52e35fbc4181ec32ee53
[ "MIT", "Apache-2.0" ]
permissive
davidjrichardson/uwcs-zarya
654266dc67deaacd6dba2e390c6dbc85a9525d83
ab0a94540bf496531dd6b13fe7d313badc4a353c
refs/heads/master
2022-09-29T12:58:14.542328
2021-03-10T17:07:06
2021-03-10T21:24:29
63,612,819
7
6
MIT
2022-08-30T20:57:36
2016-07-18T15:04:54
Python
UTF-8
Python
false
false
1,088
py
from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from accounts.models import CompsocUser, ShellAccount, DatabaseAccount, ExecPlacement, ExecPosition class CompsocUserInline(admin.StackedInline): model = CompsocUser ...
[ "david@tankski.co.uk" ]
david@tankski.co.uk
77764321c46b85ea547f1665e7b53ed0b2e9e1d9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/468/usersdata/301/111541/submittedfiles/Av2_Parte3.py
a5ede4cca77b944784daf1e730e8b2f44e7d0ec2
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
# -*- coding: utf-8 -*- a=[] m=int(input('a quantidade de listas: ')) for i in range(0,m,1): int(input('digite os elemnetos: ')) a.append(m) c=sum(a) b=len(a) print(a)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d16a63615e60bf2d1563cbf42caf63ac028d8eb7
56782846ce12a4aa65c0cdd41231f82fb09bb2e2
/python/14940.py
08e7b50de71974b1f76b31e33f87fbaefb6d109c
[]
no_license
Zigje9/Algorithm_study
2eb7255ffae734954944e549ccaab7c4573c3b99
a6c526b42f8c0e01daf1d699f55c9b0a78741be8
refs/heads/master
2023-08-14T02:08:26.395265
2021-09-23T01:10:31
2021-09-23T01:10:31
256,192,531
1
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
import sys from collections import deque N, M = map(int, sys.stdin.readline().split()) move_x = [1, 0, -1, 0] move_y = [0, -1, 0, 1] board = [] for _ in range(N): board.append(list(map(int, sys.stdin.readline().split()))) def get_start(): for i in range(N): for j in range(M): if board[...
[ "pjkwprn@gmail.com" ]
pjkwprn@gmail.com
0f505cac33fd32fb549df9455005938e8b0736e7
86e45d6f82210888601a8063c4a491a36c886b60
/channels/management/commands/runserver.py
34154b95ace15eaa6c7c0a54bb444472e8d09fae
[ "BSD-3-Clause" ]
permissive
wengole/channels
68dfb1776f05bd5e8bafd82299b6274fbf932f4e
21b54e7db8f08a61af934a56d6832a3065d37676
refs/heads/master
2021-01-15T15:54:04.794407
2015-11-07T10:49:47
2015-11-07T12:47:26
45,731,612
0
0
null
2015-11-07T10:15:27
2015-11-07T10:15:27
null
UTF-8
Python
false
false
1,851
py
import django import threading from django.core.management.commands.runserver import Command as RunserverCommand from django.core.management import CommandError from channels import channel_backends, DEFAULT_CHANNEL_BACKEND from channels.worker import Worker from channels.adapters import UrlConsumer from channels.inter...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
18ca4fe49c3a373eff2d58cd4615322d002593fb
d3efc82dfa61fb82e47c82d52c838b38b076084c
/crossmarketetf/crossmarket_redemption_HA/YW_CETFSS_SHSH_044.py
51dcf600f3979f6907a6dc09c820765634ed9b6c
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
6,671
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test") from crossmarketetf.cetfservice.cetf_main_service import * from crossmarketetf.cetfservice.cetf_get_components_asset import * from crossmarketetf.cetfservice.cetf_utils import * from crossmarketetf.cetfmysql.query_ce...
[ "418033945@qq.com" ]
418033945@qq.com