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
58a0b89d9a44e9b44d96235ba45354df6142d209
b15848c78b6ed07d27cae74b90ae99a27d7acf24
/DataParser/DataParser/settings.py
dae1081c2349a6f3414aead9e32dbee48c5bbd29
[ "MIT" ]
permissive
CodeBoss86/DataParser
ba988462de6e1cc1ae156e3407fbdea06fa5efc8
c9e09f0975145a4ca0a3645699ee91adee49cd2c
refs/heads/main
2023-01-19T01:51:31.178645
2020-11-17T13:38:47
2020-11-17T13:38:47
316,596,514
0
0
null
null
null
null
UTF-8
Python
false
false
3,872
py
""" Django settings for DataParser 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/ """ # from co...
[ "mattode@outlook.com" ]
mattode@outlook.com
ca34e03ef4a90a8d5d4c34a0ada17be32fc3c867
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/BuildLinks1.10/test_input/CJ_16_1/16_1_1_evan176_solve.py
176dc3d014d5ea7ed28dc4e8bea96de713789acf
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
581
py
#!/usr/bin/python # -*- coding: utf-8 -*- import sys import math import time def compute(word): result = [word[0]] for i in range(1, len(word)): alpha = word[i] if alpha >= result[0]: result.insert(0, alpha) else: result.append(alpha) return ''.join(result) ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
62fc3c89e7939ee66309da0c228d3a0ca205b6c6
71eb367210e8ffd3b4964a8c99e3ac6f2920fdbb
/wedding/management/commands/make_backup.py
f92cd208fa723e3a4afbcc78c347424c2bb91e03
[ "MIT" ]
permissive
jsayles/wedding
392771dc894fb311414b2d34ceb4319318d8eefb
242d28d0271d58909b2c5ff5457d909efaecd3c0
refs/heads/master
2020-04-18T01:26:57.433729
2015-09-04T15:18:03
2015-09-04T15:18:03
28,720,827
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
import os import time import urllib import sys import datetime from django.core.management.base import BaseCommand, CommandError from wedding.backup import BackupManager class Command(BaseCommand): help = "Creates a backup containing an SQL dump and the media files." args = "" requires_model_validation = False ...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
f8b71f47242faeeccc05326262d862d05d57a7fe
e7b7cc34f77c71e61aa0fa05bcc62f54fc2fc0e1
/BinarySearch/q374_guess_number_higher_or_lower.py
000686ff073c0f98c294124c4f8a8ca531d32f01
[]
no_license
sevenhe716/LeetCode
41d2ef18f5cb317858c9b69d00bcccb743cbdf48
4a1747b6497305f3821612d9c358a6795b1690da
refs/heads/master
2020-03-16T16:12:27.461172
2019-04-22T13:27:54
2019-04-22T13:27:54
130,221,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
# Time: O(n) # Space: O(1) # 解题思路: # 二分查找 # The guess API is already defined for you. # @param num, your guess # @return -1 if my number is lower, 1 if my number is higher, otherwise return 0 import bisect pick = 0 def guess(num): if num == pick: return 0 elif num > pick: return -1 els...
[ "429134862@qq.com" ]
429134862@qq.com
b1347c88770f1eb0a81a06dfaf9e693cbf5b465a
b4afd14e3b4e9cff0a99906a69587e348b243aeb
/mocc/beida/pythonds/stackop.py
424989f76facb6d29739792e959118a1d1b1b7d9
[]
no_license
zhankq/pythonlearn
d694df23826cda6ba662e852e531e96a10ab2092
cb714fbb8257193029f958e73e0f9bd6a68d77f1
refs/heads/master
2021-12-16T13:51:23.381206
2021-12-03T01:13:36
2021-12-03T01:13:36
205,632,135
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
class Stack: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def push(self,item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return self.items[len(self.items)-1] def size(self): r...
[ "zhankq@163.com" ]
zhankq@163.com
7a81a710368d8388719fd9da8283fa4d6989e5c2
d13ee6238418d047f9fe6ddbd5525fd0487d4233
/hc/front/tests/test_channels.py
1007a821f8abff8784f2b2d318f195c0357cf4d7
[ "BSD-3-Clause" ]
permissive
iphoting/healthchecks
b4ffb7cd2a254c1a8daa490608ff4d5a96c560da
924fc7df60dbf97b82a1f82989507459802f7028
refs/heads/heroku
2022-03-06T08:32:11.626016
2019-10-07T14:37:20
2022-02-19T09:37:57
82,822,882
11
7
BSD-3-Clause
2021-09-28T07:59:39
2017-02-22T15:51:02
Python
UTF-8
Python
false
false
6,130
py
import json from hc.api.models import Channel from hc.test import BaseTestCase class ChannelsTestCase(BaseTestCase): def test_it_formats_complex_slack_value(self): ch = Channel(kind="slack", project=self.project) ch.value = json.dumps( { "ok": True, "te...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
3cd329b8c34f33fda57e67ec19ffd58aa08cc7d6
6044266e775c87afed99397c8bb88366fbbca0e7
/scrapy_projt/python_itertools/zip_longest_fillvalue.py
b9edce215a1bab2bb5e70645bae16021409cd99a
[]
no_license
ranafge/all-documnent-projects
e4434b821354076f486639419598fd54039fb5bd
c9d65ddea291c53b8e101357547ac63a36406ed9
refs/heads/main
2023-05-08T20:01:20.343856
2021-05-30T10:44:28
2021-05-30T10:44:28
372,186,355
0
1
null
null
null
null
UTF-8
Python
false
false
1,270
py
from itertools import zip_longest import re from itertools import chain dates = ['21/11/2044', '31/12/2018', '23/9/3000', '25/12/2007'] text = ['What are dates? ', ', is an example.\n', ', is another format as well.\n', ', also exists, but is a bit ludicrous\n', ', are examples but more commonly used'] print(...
[ "ranafge@gmail.com" ]
ranafge@gmail.com
b6c69394d9cb24e853932d6a9d1f96608694f81a
79b1d3d8ffbda5297fff6fefe2528e303bf2110a
/RSGGenFragment/RSToQQ/RSGravitonToQuarkQuark_W-0p25_M_1500_TuneCUETP8M1_13TeV_pythia8_cfi.py
6e503b562929e62717577f7d52137212a9732aca
[]
no_license
yguler/MCFragments-1
25745a043653d02be3a4c242c1a85af221fc34b3
7c4d10ee59e00f997221109bf006819fd645b92f
refs/heads/master
2021-01-13T14:09:12.811554
2016-12-11T15:57:37
2016-12-11T15:57:37
76,184,433
0
0
null
2016-12-11T15:59:22
2016-12-11T15:59:22
null
UTF-8
Python
false
false
1,323
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(0.00000782),...
[ "emine.gurpinar@cern.ch" ]
emine.gurpinar@cern.ch
567e938c3da300c10dac470fe7bba73fefa308e1
8ca34f6da28f4b2cb2ae7a242e2156581426a950
/apps/customer/migrations/0006_remove_job_job_type_remove_job_status.py
501fd52e93fbb98072802b9b099caa2cb8297ea6
[]
no_license
gray-adeyi/prime
7e2360424560beb24742f93aa3f7b3b5cd484150
83b728db767e6f1b2237e10400fa95861ce1c8f3
refs/heads/main
2022-06-17T19:00:52.432315
2022-05-19T10:19:56
2022-05-19T10:19:56
225,469,493
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# Generated by Django 4.0.3 on 2022-05-04 10:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('customer', '0005_alter_job_copies'), ] operations = [ migrations.RemoveField( model_name='job', name='job_type', ), ...
[ "adeyigbenga005@gmail.com" ]
adeyigbenga005@gmail.com
b581261136eb5820caa1c37ee4e42eee9145a808
32dda10669e459cf37c31f426fa709001d2c75b0
/leetcode_cn/solved/pg_709.py
3d384ea50d36704b8ae5931bf4436c70958659b5
[]
no_license
fastso/learning-python
3300f50d06871245d0bfcbe9d201224580f70852
d21dbd1b9f31017cdb1ed9b9ffd1e53ffe326572
refs/heads/master
2023-02-10T14:43:53.726247
2023-01-26T10:14:59
2023-01-26T10:14:59
193,454,718
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
class Solution: def toLowerCase(self, s: str) -> str: l = list(s) for i in range(len(l)): o = ord(l[i]) if 64 < o < 91: o += 32 l[i] = chr(o) return ''.join(l)
[ "fastso.biko@gmail.com" ]
fastso.biko@gmail.com
6e638314f02ee8aa6919f68c5b79ab506004a312
df9a467c0d47eafde9bf5d2181347ad00bf53c06
/leetcode/most_liked/739_daily_temperatures.py
b1783bb29cf96d7abdb26011f592ae371ea26b9f
[]
no_license
eunjungchoi/algorithm
63d904d92e16ab0917faa585326e9281d61d6000
1c9528e26752b723e1d128b020f6c5291ed5ca19
refs/heads/master
2023-01-06T20:54:06.567512
2020-11-14T11:13:05
2020-11-14T11:13:05
288,323,344
1
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
# Given a list of daily temperatures T, return a list such that, for each day in the input, # tells you how many days you would have to wait until a warmer temperature. # If there is no future day for which this is possible, put 0 instead. # # For example, given the list of temperatures T = [73, 74, 75, 71, 69, 72, 76,...
[ "im.your.energy@gmail.com" ]
im.your.energy@gmail.com
c949fe10046ed1243b9b5b457337815e7cd492b2
124df74bce796598d224c4380c60c8e95756f761
/pythonPackages/matplotlib/doc/conf.py
f5e23c3021a3bf6281ee5318d4e0041ff5fd7269
[]
no_license
Mapoet/AWIPS-Test
19059bbd401573950995c8cc442ddd45588e6c9f
43c5a7cc360b3cbec2ae94cb58594fe247253621
refs/heads/master
2020-04-17T03:35:57.762513
2017-02-06T17:17:58
2017-02-06T17:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,924
py
# -*- coding: utf-8 -*- # # Matplotlib documentation build configuration file, created by # sphinx-quickstart on Fri May 2 12:33:25 2008. # # This file is execfile()d with the current directory set to its containing dir. # # The contents of this file are pickled, so don't put values in the namespace # that aren't pick...
[ "joshua.t.love@saic.com" ]
joshua.t.love@saic.com
805056a25de493b432d80c6096bb9e9609fc3573
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/EjjBGn7hkmhgxqJej_11.py
ad87f45d4681248fbbf11c2febfac2a7ccef7ffa
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
""" A word nest is created by taking a starting word, and generating a new string by placing the word _inside_ itself. This process is then repeated. Nesting 3 times with the word "incredible": start = incredible first = incre|incredible|dible second = increin|incredible|credibledible third = in...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
bceec50928f3d2382b8e0575b6918c9538c23f91
6bd223ac5bbfe95d45a5f2f052b8b26cf4a4722d
/hydrocode/scripts/dump_replayer.py
bf86ab19442023e3bed9a08314cbb4866c61ebf3
[ "BSD-3-Clause" ]
permissive
ajaykumarr123/software
ff2ddf9589571e5ed62f6f1e2325e4553686f436
e0b46eed87636afedc9be3a671edf70fc6cc6cb5
refs/heads/master
2022-04-23T11:36:55.535254
2020-04-27T02:16:34
2020-04-27T02:18:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#!/usr/bin/env python3 #Script for replaying raw FPGA data dumps. Read Hydrophones Code wiki entry. import socket, time, sys import scipy.io import numpy PKT_LEN = 512 #total number of samples in an FPGA packet NO_CH = 4 #number of channels SAMPL_RATE = 200000 ADDR = "127.0.0.1" #local host because we are...
[ "leader@cuauv.org" ]
leader@cuauv.org
d5b520dadfbbdd4d46f80f779e68c7bee555ae7c
0613b082bd90462e190bc51943356ce6ce990815
/baseinfo/forms.py
f92317a93a34016d026958d648ff845db9dae301
[]
no_license
Hamidnet220/salary
1068aac4bc921436c03b627899370a86ca5e99be
4dc1f32dfa1d990e6c9f527b4a8d0e1df939262a
refs/heads/master
2020-05-04T18:09:24.086491
2019-04-22T20:22:32
2019-04-22T20:22:32
179,342,004
0
1
null
2019-04-11T10:43:29
2019-04-03T17:53:36
Python
UTF-8
Python
false
false
6,158
py
from django import forms from .models import * from django.utils.translation import ugettext_lazy as _ class EmployerForm(forms.ModelForm): class Meta: model= Employer fields='__all__' def save_record(self): Employer.objects.create(**self.cleaned_data) def update_record(self,id): ...
[ "kiani.hamidreza@gmail.com" ]
kiani.hamidreza@gmail.com
fccd134ed2431e7cce33642e9fc7705ec4904734
9092e62932da86fb2af69e0529e4cbb082cfea22
/wifiName32Pwd63.py
9c30ac8432ecedb77930c68c8c6746ec52684028
[]
no_license
FengZiQ/flushbonding
d09915ce4285530e3d082c0aaea029790ffbdd9d
5ce631c9d09790846a31332eb8e76460e5f3f08e
refs/heads/master
2020-04-01T22:29:13.256997
2019-06-05T02:25:14
2019-06-05T02:25:14
153,711,075
0
1
null
null
null
null
UTF-8
Python
false
false
1,614
py
# coding=utf-8 import time from to_log import to_log from QRCodeOfNetworkConfig import wifi_mode from dmSupport import get_device_attribute from configFile import data_for_networkTest, open_picture from honorRouter import Configuration rc = Configuration() to_log('SSID长度32/密码长度63网络配置测试\n') if rc.wc(name='123a'*8, pw...
[ "feng1025352529@qq.com" ]
feng1025352529@qq.com
16840e785de669798985dd9040d55e3037b2f01a
66a82c2eb7f9facff4cb0aa72f21a713dbb1cf61
/devices/SIP04_FZJ/01_Test/test_sip04_01.py
8f9e8dfee1412bdb8d75db1ffa146684f3c7300e
[ "MIT" ]
permissive
geophysics-ubonn/reda_testing
894eefa8f5cddf288c639c00404c6bd12339dad7
c32f3faa685b77974b88ba1126a02afabfe5fd2d
refs/heads/master
2023-06-04T00:16:43.503287
2020-12-21T13:23:48
2020-12-21T13:23:48
110,421,246
0
1
NOASSERTION
2019-06-25T09:50:57
2017-11-12T09:50:26
Python
UTF-8
Python
false
false
314
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import reda basepath = os.path.dirname(__file__) + os.sep def test_load_mat(): sip = reda.SIP() sip.import_sip04(basepath + 'Data/sip_dataA.mat') def test_load_csv(): sip2 = reda.SIP() sip2.import_sip04(basepath + 'Data/sip_dataA.csv')
[ "mweigand@geo.uni-bonn.de" ]
mweigand@geo.uni-bonn.de
43178e2ed1238f75334f622fe978141d5825a140
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/certificateregistration/v20190801/app_service_certificate_order_certificate.py
bc9c20160c568bfb9fc5b6e93455dd3c70b706ac
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,243
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
26e617807d9d999827f851c37be1d219170066df
484c462c29e3c2f8ac280b79c11db6982c6a8ca6
/python-driver-master/tests/unit/test_policies.py
56fd5440fee65e8a31452c8ce87cf75ac5064999
[ "Apache-2.0" ]
permissive
thelma1944/Python_Stuff
b5fa53bf008bb5e865204201b144fe20e7f87565
077131a2c9f247396dca86fdf18933d38ae8d501
refs/heads/master
2021-06-05T12:25:35.779070
2020-10-03T18:20:16
2020-10-03T18:20:16
16,077,931
0
1
null
2021-03-26T00:30:14
2014-01-20T17:36:16
Python
UTF-8
Python
false
false
31,810
py
try: import unittest2 as unittest except ImportError: import unittest # noqa from itertools import islice, cycle from mock import Mock from random import randint import sys import struct from threading import Thread from cassandra import ConsistencyLevel from cassandra.cluster import Cluster from cassandra.me...
[ "thelma1944@gmail.com" ]
thelma1944@gmail.com
d94ad0d4184ebc4fb4df9f9e567f480fa0b69e93
5a7375bdcd7fba344d9d8e424c42e4ff6e58e5cd
/00_algo_prob/2529_ineuality.py
f007230e9a61a1f36461d2b4bf68aa212163e80e
[]
no_license
jhee514/Algorithms
1d9d9f8bf11b957393ad1a169fa1a61f86d77da5
0ebed8f99a63eae2f9122033ab4e13b2b499fb52
refs/heads/master
2021-07-21T01:33:22.838431
2020-10-28T15:21:19
2020-10-28T15:21:19
226,996,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
import sys sys.stdin = open("2529_input.txt", "r") """ 10개의 숫자 중에서 k 개를 순열로 가져와 부등호를 사이사이 넣어봐 중간에 가지치기 해주면서 쭉 돌아야 """ import itertools def sol(k, data): nums = list(range(10)) min_num, max_num = 10 ** (k + 1), 0 perms = itertools.permutations(nums, k + 1) for p in perms: if p == (1, 0, 2, ...
[ "514kim@gmail.com" ]
514kim@gmail.com
c8ae48a6f79a42bf74407f3d6801a041d64be011
6a63e40b1d30b6a810c89d910ac3f8f5954002ee
/src/pretalx/submission/migrations/0039_submission_created.py
c73cbfb2440b187adbb54d325d4ffb85e8724bf3
[ "Apache-2.0" ]
permissive
orlando/pretalx
47b7ab3e3258d667183066b84227b785199711b2
15f90dc2545f210eaf870ffbdfe0a27c70bfa0ec
refs/heads/master
2020-09-10T20:26:49.867462
2019-11-15T01:19:07
2019-11-15T01:19:07
221,826,314
2
0
NOASSERTION
2019-11-15T02:21:05
2019-11-15T02:21:04
null
UTF-8
Python
false
false
411
py
# Generated by Django 2.2.1 on 2019-05-01 20:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('submission', '0038_auto_20190429_0750'), ] operations = [ migrations.AddField( model_name='submission', name='create...
[ "r@rixx.de" ]
r@rixx.de
f7a4637914542b39f88b631fb0e91e6734546313
68b8e6549345ba020bdd7ac1eeef03af26c251fd
/tests/test_ia_markov.py
0857a5521d2e26b80eed17cc8bbbfa75236d8b76
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Abelarm/python-ia-markov
8826e31746ce4de26cd023db26b986249c9cf88a
8bef5d620b77a0944924263af6042396cf9b768b
refs/heads/master
2020-03-30T10:44:01.936698
2018-10-01T18:21:45
2018-10-01T18:21:45
151,133,654
0
0
BSD-2-Clause
2018-10-01T18:00:03
2018-10-01T18:00:02
null
UTF-8
Python
false
false
83
py
import ia_markov def test_main(): assert ia_markov # use your library here
[ "accraze@gmail.com" ]
accraze@gmail.com
f2613ac43e286ee6c63cc7b579b00d0c613e1729
d532b85841b459c61d88d380e88dd08d29836d43
/solutions/1488_avoid_flood_in_the_city.py
1789aba0bebf606b5ccb155577af2e6cf7b5dc09
[ "MIT" ]
permissive
YiqunPeng/leetcode_pro
ad942468df5506de9dc48a4019933f658e2a3121
4a508a982b125a3a90ea893ae70863df7c99cc70
refs/heads/master
2022-05-15T09:32:02.699180
2022-05-14T16:32:17
2022-05-14T16:32:17
182,453,966
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
class Solution: def avoidFlood(self, rains: List[int]) -> List[int]: """Hash table. """ n = len(rains) res = [1] * n f = {} s = [] for i, r in enumerate(rains): if r > 0: if r in f: idx = bisect.bisect_left(s, f[...
[ "ypeng1@andrew.cmu.edu" ]
ypeng1@andrew.cmu.edu
ffbdf922a169191795e21b24f226334344e6b2b8
8a08d39142c7b5c7dc9300717f0db6dad295ec92
/antelope_core/providers/parse_math.py
8fb0f24a50ac68f93528c7d0a658cd62da7d7e04
[ "BSD-3-Clause" ]
permissive
msm-sardar/core
3eac85248914ada808882b9dedefd889756be504
bc88a1ed3e4c1defcbc83fa86356451ac34c178c
refs/heads/master
2023-08-24T03:56:31.892812
2021-10-14T01:12:02
2021-10-14T01:12:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
import ast def parse_math(expression): """ A function I got off stackoverflow that enables python to parse user input as a mathematical expression. probably a huge security risk. but it enables the user to enter missing characterization values during runtime. :param expression: :return: """ ...
[ "brandon.kuczenski@301south.net" ]
brandon.kuczenski@301south.net
fb7be942dde3ebb78f195e731981df98417bf374
01df468685c9f393b9559cb68df349ef7abcf5a6
/panelapp/panels/urls.py
2d9e2ae0ab52028ab81a18a96b567f8bf2b09c0b
[ "Apache-2.0" ]
permissive
victorskl/panelapp
481af901472cd960da2d0abf17239b8d484524be
4dfdd31f6036db5cb4e692961ef9bcbe92d39a23
refs/heads/master
2020-05-07T16:28:08.946472
2019-01-23T11:04:41
2019-01-23T11:04:41
180,684,104
1
0
null
2019-04-11T00:28:26
2019-04-11T00:28:26
null
UTF-8
Python
false
false
10,310
py
from django.conf.urls import url from django.views.generic import RedirectView from .views import AdminView from .views import AdminUploadGenesView from .views import AdminUploadPanelsView from .views import AdminUploadReviewsView from .views import EntitiesListView from .views import CreatePanelView from .views impor...
[ "oleg.gerasimenko@nhs.net" ]
oleg.gerasimenko@nhs.net
19231243102cae313e9ffe1fb4aa503ac094635f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_permutation.py
995d0cfcfbff595c0f8b2d0a59d0d980653557db
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#calss header class _PERMUTATION(): def __init__(self,): self.name = "PERMUTATION" self.definitions = [u'any of the various ways in which a set of things can be ordered: ', u'one of several different forms: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie =...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a2676e558ee7b10567e7d3604eccdaaab446eb0f
c1b7655fbbf5e647c9de01d55bf31f044e26b7bf
/HE_cell_classification/predict/predict_Local.py
58a36cc8ee6751d13abcac3b49b2f6dc8a825d63
[]
no_license
sara-kassani/UNMaSk
ef170ddcfd7b8b5599e7d412d547084848308eb1
c03f56a6e926fe14b1923470d22a112892116e38
refs/heads/master
2023-07-17T12:38:46.086746
2021-04-29T19:59:48
2021-04-29T19:59:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
import os from parse_arguments import get_parsed_arguments from classifier.sccnn_classifier import SccnnClassifier from classifier.subpackages import NetworkOptions #########comment the below two lines if its running on a cpu environment############### os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.envir...
[ "noreply@github.com" ]
sara-kassani.noreply@github.com
84d3852ea9e37451d2df07cf5855edabe663ba12
754f71f70dfd6a22944d8d872c6d2f1d6983ac14
/tests/serial_frame_builder/test_miso_frame_builder.py
a78831ae697787e71eac1215a585a220bf59fbf5
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
Sensirion/python-shdlc-driver
052685da8db5629fa5929da65000210db82358e7
31e9683c27004ee05edf89996d656bc50f5bdb3a
refs/heads/master
2021-06-10T10:35:47.299481
2021-03-19T08:47:12
2021-03-19T08:47:12
144,961,065
6
1
null
null
null
null
UTF-8
Python
false
false
5,667
py
# -*- coding: utf-8 -*- # (c) Copyright 2019 Sensirion AG, Switzerland from __future__ import absolute_import, division, print_function from sensirion_shdlc_driver.serial_frame_builder import \ ShdlcSerialMisoFrameBuilder from sensirion_shdlc_driver.errors import ShdlcResponseError import pytest def te...
[ "urban.bruhin@sensirion.com" ]
urban.bruhin@sensirion.com
45b9872b67aeb1490a5490178ca9f94fe40a84b1
0b414a080c9853997bfba016c7f66e5f11d80a14
/cj_env/lib/python3.6/site-packages/pysmi/compiler.py
6d049e77452977b1da1898285226848b68702db1
[]
no_license
alkhor/Cable_Journal
2bd4bf00210f78c08fcc5508c13833b5e8aa3c46
e64fb1bfcc4d1b7844b2e0a10653264d58039259
refs/heads/master
2021-01-22T19:09:33.562313
2018-04-15T19:42:16
2018-04-15T19:42:16
100,772,711
2
0
null
null
null
null
UTF-8
Python
false
false
21,824
py
# # This file is part of pysmi software. # # Copyright (c) 2015-2017, Ilya Etingof <etingof@gmail.com> # License: http://pysmi.sf.net/license.html # import sys import os import time try: from pwd import getpwuid except ImportError: # noinspection PyPep8 getpwuid = lambda x: ['<unknown>'] from pysmi import ...
[ "khomenkoalexandr@gmail.com" ]
khomenkoalexandr@gmail.com
123b1cbb1b81c70709c950c532951eaeed017c86
1523e2fff267279bbf99a44a71b7482081dd1141
/The_Watch/The_Watch/wsgi.py
2cbac8cc2093ca421a722294adc2ee44bfc89a4c
[ "MIT" ]
permissive
Kipngetich33/The-Watch
4c77f5e365553ab5af9b7a9c4a5bea71139d47c0
96e39937c0015eae749836f6215d60ae5cb86e51
refs/heads/master
2021-05-02T07:20:46.854250
2018-02-12T08:37:36
2018-02-12T08:37:36
120,872,467
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for The_Watch project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "khalifngeno@gmail.com" ]
khalifngeno@gmail.com
6fc833e1360cd1461a185e6418da611f9ec80004
f10db3b11131ddf2bf5026e42cdd72c275e49693
/ToolsX/leetcode/0069/0069_4.py
fc86c98645998a5d503330fc7b69982f3ce3ac41
[]
no_license
JunLei-MI/PythonX
36def40e33c9ebb64ce28af2b5da010393b08356
efea806d49f07d78e3db0390696778d4a7fc6c28
refs/heads/master
2023-04-07T10:58:45.647430
2021-01-25T16:54:37
2021-04-15T13:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
class Solution: def mySqrt(self, x: int) -> int: """ 从 0 到 n 肯定不行,可以优化为到 n/2 1 只计算一次,依然超时,只好用二分的了 2 一定要注意验算 0 和 1 注意 while 和条件的变化 如果是 low <= high,那么后面 low=mid 要 +1,high=mid 要 -1 最后退出循环时,high 比 low 小 1,返回 high 3 二分 4 ...
[ "pingfangx@pingfangx.com" ]
pingfangx@pingfangx.com
3fbef31ab44f7f7928253701aacca5637318f44b
e267d1dbb7eb7cad239b18cffe6ddc53ae45aa9a
/tests/test_validators.py
f4ff4da249c4db81979e8286293a8a41471d1559
[]
no_license
papercapp/DisposableEmailChecker
038fa91f60f2798d687ca846d5836200af30f624
60f055f9102a4f9e967d740e4446e5c7ac76c351
refs/heads/master
2020-05-29T08:52:05.319215
2015-11-04T02:00:38
2015-11-04T02:00:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import random from django.test import TestCase from django.core.exceptions import ValidationError from disposable_email_checker import validators from disposable_email_checker.emails import email_domain_loader class TestDisposableEmailValidator(TestCase): def setUp(s...
[ "me@aaronbassett.com" ]
me@aaronbassett.com
02aea388baeecdf450749332637825ef25ee1e47
dce2e3b11804fdb141feaa48299fa8cd751f0e5d
/1154.一年中的第几天.py
a811e8c92ef10d247014b84f42c7884b8caf4f93
[]
permissive
Cosmos-Break/leetcode
bf056efb6f3eb6448df7fb3fc4869992a3e7eb48
9f5f3d24e35b0a482ed40594ea665e9068324dcc
refs/heads/main
2023-06-26T04:29:25.135826
2021-07-19T12:29:29
2021-07-19T12:29:29
293,397,157
0
0
MIT
2020-09-07T01:55:39
2020-09-07T01:55:38
null
UTF-8
Python
false
false
427
py
# # @lc app=leetcode.cn id=1154 lang=python3 # # [1154] 一年中的第几天 # # @lc code=start class Solution: def dayOfYear(self, data: str) -> int: year = int(data[0:4]) month = int(data[5:7]) day = int(data[8:]) dic = [31,28,31,30,31,30,31,31,30,31,30,31] if year%400==0 or year%4==0 ...
[ "438854233@qq.com" ]
438854233@qq.com
601163c7d28fcfe7bcc3af912c65849c60ba7f67
4e7db10524c938c8c6e687521def2889e20ec646
/P6/list3.1.py
4faa6a4724c1f365462ad94093c9c7a93b2d057b
[]
no_license
mpigrobot/python
e5cf60ca438e0d5e63a1e87a266a9e255bc07271
bf9262657a7401f37de38318db768e630fab97a9
refs/heads/master
2020-03-15T15:37:03.228080
2018-03-31T07:33:07
2018-03-31T07:33:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
L='ABCDEFG'[:3] print L X='ABCDEFG'[-3:] print X Y='ABCDEFG'[::2] print Y
[ "noreply@github.com" ]
mpigrobot.noreply@github.com
15c60558a5d48ed336761321bdefd509bf9ccd07
3185dc605853fdaf942fd06e206225793b198638
/剑指offer/No20_表示数值的字符串.py
a60b824774b72020c1d40e4aef19394be63143f8
[]
no_license
fank-cd/books_exercise_code
cb81ee8ec8167a5f5e3bfc58d3c1d6d931ca9286
1e8109adb82f741df1203658d4bf272f09a651b8
refs/heads/master
2021-07-11T01:15:11.980179
2020-06-29T04:01:53
2020-06-29T04:01:53
156,671,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
# 面试题20:表示数值的字符串 # 题目:请实现一个函数用来判断字符串是否表示数值(包括整数和小数)。 # 例如,字符串"+100"、"5e2"、"-123"、"3.1416"、及"-1E-16"都表示 # 数值,但"12E"、"1a3.14"、"1.2.3"、"+-5"及"12e+5.4"都不是。 # # 读不懂题意,留下代码,暂时空着 def is_numeric(string): if not isinstance(string, str): return False index = 0 result, index = scan_integer(string, index) ...
[ "2464512446@qq.com" ]
2464512446@qq.com
35c16b5dd609e24fbc243144ddcb65eef3a54569
71aea3429ecb5b4ccf415078809654b6e97c2cb6
/server/config.py
f91344f2181cace25b677f057fdaf6951c423276
[ "MIT" ]
permissive
Nukesor/spacesurvival
dcbb8f0441c23367cd4c32beb260e336d8de06a7
1b02f2027f172ebbbf4f944641b7f0b5d0b5bb92
refs/heads/master
2021-01-19T09:27:03.809556
2017-12-04T13:03:17
2017-12-04T13:03:17
82,110,806
2
0
null
2017-11-20T13:16:30
2017-02-15T21:54:37
Rust
UTF-8
Python
false
false
1,274
py
"""Various configs for different environments.""" from datetime import timedelta class BaseConfig: """Base config.""" DEBUG = False SECRET_KEY = 'lolololol' SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_DATABASE_URI = 'postgres://localhost/browsergame' AUTH_TOKEN_TIMEOUT = timedelta(days=...
[ "arne@twobeer.de" ]
arne@twobeer.de
94f7bb0c107ba916893a8ac8be11f4eaab3b3588
f1738cd603e0b2e31143f4ebf7eba403402aecd6
/ucs/base/univention-updater/conffiles/15_ucs-online-version.py
69852d3acc488fb8ccf3b4f613225d51383ef948
[]
no_license
m-narayan/smart
92f42bf90d7d2b24f61915fac8abab70dd8282bc
1a6765deafd8679079b64dcc35f91933d37cf2dd
refs/heads/master
2016-08-05T17:29:30.847382
2013-01-04T04:50:26
2013-01-04T04:50:26
7,079,786
8
6
null
2015-04-29T08:54:12
2012-12-09T14:56:27
Python
UTF-8
Python
false
false
1,777
py
# Copyright (C) 2011-2012 Univention GmbH # # http://www.univention.de/ # # All rights reserved. # # The source code of this program is made available # under the terms of the GNU Affero General Public License version 3 # (GNU AGPL V3) as published by the Free Software Foundation. # # Binary versions of this program pr...
[ "kartik@debian.org" ]
kartik@debian.org
a17bcec1354f60b3df6a6f22d277fb5f3cb5e399
305e473c17f47b815668377bc90e13642510aace
/punch_version.py
7e73a53c562eed61ec708d5241c654d92f5179d0
[ "MIT" ]
permissive
xrmx/mau
5d6f66811b1356331c98547cc7c778ff3a04d6ff
0aafa67a1b6f02eda72fe60ea2775454c3ad0866
refs/heads/main
2023-03-21T06:22:14.447284
2021-03-11T10:58:05
2021-03-11T10:58:05
347,347,655
0
0
MIT
2021-03-13T11:08:21
2021-03-13T11:08:20
null
UTF-8
Python
false
false
30
py
major = 1 minor = 3 patch = 0
[ "giordani.leonardo@gmail.com" ]
giordani.leonardo@gmail.com
ac1f4677532bd69943d43bfac731b473a9f32705
41e2cf24f0ff3a11a98bb00e03c598dde35452c4
/project/migrations/0009_googleapisetup.py
f2a0baa279dd151205113e1a9a0a64bb2a0691f5
[]
no_license
anushamokashi/mob
f5dbedc729073092f94323feca6d95dee24087a2
37bc0eb033bc23d37e9d4fb9bb8b2b456553ff7f
refs/heads/master
2020-04-24T08:36:56.008212
2019-02-21T09:09:04
2019-02-21T09:09:04
171,810,613
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-08-31 10:27 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('project', '...
[ "anusha.mokashi@gmail.com" ]
anusha.mokashi@gmail.com
ad02f8785f62b23517182467691e772ea5ff368c
981fbe20320ce16e5746c3d492545fbd30bcef02
/screen_cap/http_screen_cap.py
1e3c46dd41dba62f9d329daa7ebf9789613794af
[]
no_license
jinjin123/zabbix-api
f73e32c3433356c19df623066d457f5d7e0709e6
471116d0dcd5074b1047d4065c87e7f32c9aa9ff
refs/heads/master
2021-01-25T06:45:16.371094
2017-07-26T12:23:39
2017-07-26T12:23:39
93,605,146
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # task argument to get the mapping grapth #hostid and graphid its need , 每个host的id都不一样 ,从hostid 往下级拿graphid hostid=xx&graphid=xx& import json, traceback import datetime import cookielib, urllib2,urllib import time class ZabbixGraph(): def __init__(self,url="htt...
[ "1293813551@qq.com" ]
1293813551@qq.com
bf42f669890aa2afb5de8d642415984eadf63771
60a6ba6e5f3faca2b1e17c1e90917efc3cfc561a
/aoc2018/day7/day7_part2.py
675c2a0599f50e1f486089a078f71bc1a088a2c2
[ "MIT" ]
permissive
GetPastTheMonkey/advent-of-code
f462f5e2b72d913e39484446ce92a043d455091c
7a5ee30dbafaf8ef6f9bf9936e484efd024aa308
refs/heads/master
2023-01-14T09:45:00.553575
2022-12-25T10:59:19
2022-12-25T13:00:44
160,684,715
3
0
null
null
null
null
UTF-8
Python
false
false
2,782
py
from os.path import join, dirname, realpath from re import match # Specify number of workers worker_count = 5 workers = [{ "task": None, "remaining": 0 } for _ in range(worker_count)] # Load file tasks = dict() for i in range(ord("A"), ord("Z")+1): tasks[chr(i)] = dict() tasks[chr(i)]["requirements"] ...
[ "sven.gruebel@gmx.ch" ]
sven.gruebel@gmx.ch
f5d4cf6f485d762c5643ead19f6f44edcc5d2d96
0485a490f466bd1d02eaae96d277888781208c0e
/tests/single_instruction_translation_validation/mcsema/register-variants/movb_r8_rh/Output/test-z3.py
e85a3ad441dea371dd1ab92ebdf22d518b6ae522
[ "LicenseRef-scancode-unknown-license-reference", "NCSA" ]
permissive
Mthandazo42/validating-binary-decompilation
c0e2d54cd79e609bfa35802975bddfa52e646fad
c0fcd6f099e38195dcbbac9e8c13a825865c5cb5
refs/heads/master
2022-11-11T13:18:13.033044
2020-06-25T05:49:01
2020-06-25T05:49:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,269
py
############################################# ######## Auto Generated Proof Scripts ####### ############################################# import z3 import sys status=True test_name="UnK" if(len(sys.argv) > 1): test_name = sys.argv[1] def solve(msg, lvar, xvar, s): global status s.set("timeout", 60000) res =...
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
0ccb62474a0317f86dfe9138ec3b8c5878be2948
fb00b570251ba52df467e4cc030a30e778f8a970
/Atividade 02 - semana 04/questão4_semana4_atividade02_runcodes.py
a3048ea0063d9e885ce77e9effdf8b688eb5e1ef
[]
no_license
SirLeonardoFerreira/Atividades-ifpi
7379f9df4640fd1ee3623d80e4341f495e855895
e366ee3f801dc9a1876c7399a2eefd37a03d0a55
refs/heads/master
2023-01-05T04:03:30.774277
2020-11-02T00:56:10
2020-11-02T00:56:10
287,967,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
def signo(dia, mes): if (21 <= dia <= 31 and mes == 3) or (1 <= dia <= 19 and mes == 4): return 'Áries' elif (20 <= dia <= 30 and mes == 4) or (1 <= dia <= 20 and mes == 5): return 'Touro' elif (21 <= dia <= 31 and mes == 5) or (1 <= dia <= 21 and mes == 6): return 'Gêmeos' elif ...
[ "lleoalves02@gmail.com" ]
lleoalves02@gmail.com
6adaf26c83041f163d6f9002d77e24deeb133c0f
30ea9abff7438755bfc8a483ae843152d3e49b9b
/力扣习题/118杨辉三角/pascalstriangle.py
28285769718b8d071b795a07cd59ee1e588a6057
[ "MIT" ]
permissive
houcy/AlgorithmLearning
2dee945a4f9fefc981020c365664bcd65e5994c4
92e3dd6ae8d27cd8fb1a3a7035b2f7e0eb86a7dc
refs/heads/master
2022-12-25T19:55:51.323740
2020-10-09T04:24:11
2020-10-09T04:24:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,049
py
class Solution: ''' 非递归算法 ''' def generate(self, numRows: int) -> [[]]: res = [] if numRows == 1: res.append([1]) elif numRows > 1: # res.append([1]) for k in range(0, numRows): item = [] for i in range(0, k + 1)...
[ "ab2defg145@gmail.com" ]
ab2defg145@gmail.com
825accd3872929d9287bb3b4c66b0585d16507fe
350db570521d3fc43f07df645addb9d6e648c17e
/1299_Replace_Elements_with_Greatest_Element_on_Right_Side/solution.py
c1d77900854ca9a59cc3073bb3f87162f7eb586d
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
269
py
''' 1299. Replace Elements with Greatest Element on Right Side Level: Easy https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side ''' ''' Solution: ''' class Solution: def replaceElements(self, arr: List[int]) -> List[int]:
[ "bhuang@rms.com" ]
bhuang@rms.com
c4004c31f6f741fa0ea0b2920df0bf29178c8391
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/globals/protocolstack/egtpglobalsbase/egtpglobalsbase.py
7fa4e1ff57e59ad6470ff3f0e36395a91ba0bda3
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
14,711
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
ee2798634484ddb530cf7b917209d4cafc4a2673
6906a911f03e369569352893728275fee287680b
/manage.py
ee088666d8485d80bbf23484229d28f3d7dc11e1
[]
no_license
crowdbotics-apps/joe-1319
ab62638b43c303219230789c2c000e6e32377591
34cb120f2eac820357206348b3f281d81561ca51
refs/heads/master
2022-12-10T23:07:45.356298
2019-03-12T21:18:58
2019-03-12T21:18:58
175,297,690
0
0
null
2022-12-08T19:43:51
2019-03-12T21:17:56
Python
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "joe_1319.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ca5d2f735aaee931762726e44f8ffc69d56dab76
ddd35c693194aefb9c009fe6b88c52de7fa7c444
/Live 10.1.18/ATOM/channel_strip.py
fbd60c5b943b861e81fa7cbe0be8417f4de3f5ce
[]
no_license
notelba/midi-remote-scripts
819372d9c22573877c7912091bd8359fdd42585d
e3ec6846470eed7da8a4d4f78562ed49dc00727b
refs/heads/main
2022-07-30T00:18:33.296376
2020-10-04T00:00:12
2020-10-04T00:00:12
301,003,961
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
# uncompyle6 version 3.7.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.8.5 (default, Aug 12 2020, 00:00:00) # [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] # Embedded file name: c:\Jenkins\live\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\ATOM\channel_strip.py # Compiled at: 2020-05-05 ...
[ "notelba@example.com" ]
notelba@example.com
13b235a66727792736ec940ae4bc3cc630a0c1fb
d44215864e30ad8039a1a294875e4222e3d23ebd
/build/geometry-hydro-devel/tf/catkin_generated/pkg.installspace.context.pc.py
dbd62ce2cd49cece7fca3f4fcc8794848494ff9a
[]
no_license
prathyusha-shine/abhiyan1.0
5c3eebfbbacb8b364180b9c2bd377c73cf29e693
bf9be6462c132465ddbf8c20b1e9a4e1eabd596e
refs/heads/master
2020-12-31T01:23:32.911145
2015-05-31T06:19:16
2015-05-31T06:19:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/sudha/catkin_ws/install/include".split(';') if "/home/sudha/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;message_filters;message_runtime;roscpp;sensor_msgs;std...
[ "sudha@sudha.(none)" ]
sudha@sudha.(none)
6d1ebf41ab4811a8adc2865d675e4b20db67c5ee
bc547e7d9e4b2c1e49edc2daaa735c9afb87f5ae
/test/test_all_fault_handlers.py
49068eb0020cb52f7c87f865ccede508daaabba8
[ "MIT" ]
permissive
farisachugthai/dynamic_ipython
f7ed092ff23b785fc8c545390c581338a64b9bda
7572a01f09998812830379644c45af4df67a3e45
refs/heads/master
2022-11-05T11:48:48.344585
2021-08-28T04:25:05
2021-08-28T04:25:05
178,786,145
7
0
MIT
2022-10-25T10:16:39
2019-04-01T04:35:37
Python
UTF-8
Python
false
false
1,785
py
#!/usr/bin/env python3 import os import shutil import tempfile import unittest from os.path import abspath, realpath, isfile, exists import pytest from IPython.testing.globalipapp import get_ipython from default_profile.startup.all_fault_handlers import tempdir, in_tempdir, in_dir def remove_tmpdir(dir): try:...
[ "farischugthai@gmail.com" ]
farischugthai@gmail.com
3ca71c49a6da7cfa420cf73cb3475c330888bddc
0e65380b2cf1386a21d1d54f22240f5b3fd3d0d0
/1121.py
2c12ee6c777dba4225e75560c187371785338d59
[]
no_license
hwanginbeom/python
b6023e6082e8942f06a859c7fd63e5a2a405772f
01afbd4f54cda1e2994f2454ff2b01fef3e13116
refs/heads/master
2018-11-05T10:52:42.414380
2018-08-28T09:30:41
2018-08-28T09:30:41
105,129,965
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
IntVar() 0- 정수값으로 만들어 준는 것
[ "rydn2002@gmail.com" ]
rydn2002@gmail.com
aba1fe1222e36f72353fd0c6c5a21047cc2cedee
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03212/s618244450.py
185edf86b67bdc8518f2d9341edb2c2cdcd3ecfc
[]
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
310
py
N = input() L=len(N) from itertools import product check_num=[3,5,7] check=[] for l in range(1,L+1): for p in product(range(3),repeat=l): c='' for p_ in p: c+=str(check_num[p_]) if len(set(c))==3 and int(c)<=int(N): check.append(int(c)) print(len(check))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
71687720ff526965a20c77c9db597830ce3187b5
714058081fe435ed89b94cfa94587338e64672cb
/marqeta/response_models/digital_wallet_token_hash.py
44fe321135afec4b24ddcf5ac0ed83bccebdd7f4
[ "MIT" ]
permissive
andyw8/marqeta-python
bc194944c08e8c8327a8a20bac3dc615b2e2a95f
23e0a66a5d7b20f3f992e44ae22b33a0eebdbce2
refs/heads/master
2020-05-20T14:25:39.398668
2019-04-01T23:53:55
2019-04-01T23:53:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from datetime import datetime, date import json class DigitalWalletTokenHash(object): def __init__(self, json_response): self.json_response = json_response def __str__(self): return json.dumps(self.json_response, default=self.json_serial) @staticmethod def json_serial(o): if...
[ "amaratkere@marqeta.com" ]
amaratkere@marqeta.com
c167c5819bfa452fa8fdba057ff142fbdbde00fe
e23a4f57ce5474d468258e5e63b9e23fb6011188
/090_logging/examples/nuke/34-python_in_production-logging_to_a_qt_widget/logger.py
c0e05b78da6905f18952e733200c169b31a72bf1
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
2,774
py
import logging import sys class Logger(object): LOGGER_NAME = "Zurbrigg" FORMAT_DEFAULT = "[%(name)s][%(levelname)s] %(message)s" LEVEL_DEFAULT = logging.DEBUG PROPAGATE_DEFAULT = True _logger_obj = None @classmethod def logger_obj(cls): if not cls._logger_obj: if...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
907e51e3e9abb9e4b37491c1122a2c555afe1fcc
42674d7355d852e6ec7071830bb87d781ab63ad3
/bitmovin/resources/models/manifests/dash/audio_adaptation_set.py
71e54986b06f54a233eb3ec0495f83cff6d90a84
[ "Unlicense" ]
permissive
bitmovin/bitmovin-python
57b1eb5deb7e38f3079e0ded546ec762753c3132
d183718d640117dd75141da261901dc2f60433b0
refs/heads/master
2023-07-11T02:40:59.277881
2020-01-28T14:49:15
2020-01-28T14:49:15
72,857,798
46
27
Unlicense
2019-12-17T13:59:51
2016-11-04T15:01:56
Python
UTF-8
Python
false
false
663
py
from .abstract_adaptation_set import AbstractAdaptationSet class AudioAdaptationSet(AbstractAdaptationSet): def __init__(self, lang, id_=None, custom_data=None): super().__init__(id_=id_, custom_data=custom_data) self.lang = lang @classmethod def parse_from_json_object(cls, json_object):...
[ "dominic.miglar@netunix.at" ]
dominic.miglar@netunix.at
df6ef7c6944817a25ccbfd8559fcf9785e64e3cc
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_07_01/operations/_managed_clusters_operations.py
bdbec1f83cfe156583cef0b5a15d8fa90b4f386b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
144,531
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
3712937801b4655d2f06e615f42f6119be1d0be2
d9e5f868392cc846a14577e2578332dd389766a5
/ex13.py
2a4652a2c2319f92b92f4fdfda224686a6f5811d
[]
no_license
quanlidavid/Learn_Python_the_Hard_Way
8d8d9c9906d1e6b0de1a1dae78fbf4fd150c466c
bc591552efbeb2db588c831bf5280cbe21e11246
refs/heads/master
2021-05-16T11:18:13.171264
2017-09-27T05:56:20
2017-09-27T05:56:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from sys import argv script, frist, second, third = argv print("The script is called:", script) print("Your first variable is:", frist) print("Your second variable is:", second) print("Your third variable is:", third) list1=['aa','bb'] a,b=list1 print(a,b)
[ "quanlidavid@gmail.com" ]
quanlidavid@gmail.com
e27cf93f24bc53f6f16fd551ed429b1aca98d4d2
480bee2fee71fa5f91fcece256918795adfb3eda
/detector/model.py
7ebca4a47e922b335504cca41e45677a4865c1e2
[]
no_license
favyen/skyquery
f71d0095681660e4bce5324ae866371fe51e9e3a
dce2639314aaa06cba0d56aab1f7794744c22090
refs/heads/master
2023-08-22T17:48:08.697538
2021-09-27T02:14:52
2021-09-27T02:14:52
412,963,924
1
1
null
null
null
null
UTF-8
Python
false
false
5,272
py
import numpy import tensorflow as tf import os import os.path import random import math import time from PIL import Image BATCH_SIZE = 4 KERNEL_SIZE = 3 class Model: def _conv_layer(self, name, input_var, stride, in_channels, out_channels, options = {}): activation = options.get('activation', 'relu') dropout = o...
[ "fbastani@perennate.com" ]
fbastani@perennate.com
fe6aa27d544a7bc06532e7cb5bfad0801c9b1eba
8174d11add088a2413d5a7fdf8233059c3876f52
/docs/examples/pool.py
9265af58ef12bca9806eb7e1896aa4e7797bc85c
[ "MIT" ]
permissive
AraHaan/aioredis
903eaaefb243c8bc8d70c9178baf721446c9cc7f
19be499015a8cf32580e937cbfd711fd48489eca
refs/heads/master
2023-03-17T03:16:46.281210
2022-02-22T14:33:33
2022-02-22T14:33:33
82,424,636
1
0
MIT
2023-03-07T15:57:29
2017-02-19T00:20:56
Python
UTF-8
Python
false
false
648
py
import asyncio import aioredis async def main(): redis = aioredis.from_url("redis://localhost", max_connections=10) await redis.execute_command("set", "my-key", "value") val = await redis.execute_command("get", "my-key") print("raw value:", val) async def main_pool(): pool = aioredis.Connection...
[ "sean_stewart@me.com" ]
sean_stewart@me.com
4943e2a33bb554208d68eb6a684117fda0462433
44c372cd25a2496979fa29a1dc9131c54487d945
/data/zh50w/zh50w_process.py
0c551f731118ff55f6d1cef12a2e33090afd341d
[ "MIT" ]
permissive
zhongerqiandan/OpenDialog
4ff4e65d0ade1efdd3029475634ae1cf38c7bdd3
f478b2a912c8c742da5ced510ac40da59217ddb3
refs/heads/master
2023-01-22T09:07:54.385604
2020-12-04T02:00:17
2020-12-04T02:00:17
318,419,052
0
1
MIT
2020-12-04T05:58:37
2020-12-04T05:58:37
null
UTF-8
Python
false
false
5,482
py
import csv import random from tqdm import tqdm import ipdb import sys import pickle sys.path.append('..') from utils import read_stop_words from collections import Counter from gensim.summarization import bm25 from elasticsearch import Elasticsearch ''' TODO 1. adding the reesponses into elasticsearch for q-r match ''...
[ "18811371908@163.com" ]
18811371908@163.com
fe8763de336ee65092b7aaec84eea8912eb81c8c
df75b4d24416bb764db61931457f367872d8a66c
/django_states/main/migrations/0006_auto__add_field_statecapital_state__chg_field_statecapital_latitude__c.py
fa52b64db591b04f547b608edbe24fd3731be7db
[]
no_license
Bofahda/states
bb1f7caf8409e363ba2cb67974464854f14570d8
11016ac07040177e81e53b1ea88739b4de0ea936
refs/heads/master
2020-12-24T16:58:56.789855
2015-08-12T09:20:53
2015-08-12T09:20:53
40,591,309
0
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'StateCapital.state' db.add_column(u'main_statecapital', '...
[ "user@Users-MacBook-Air.local" ]
user@Users-MacBook-Air.local
3748a9e8a475776c784dacc5951e89171f92e72b
cb2a4180ffc0df4296737134230397069de8da21
/accounts/signals.py
d6f2b8bc1882f084fe375b450158fdf3249fc531
[ "MIT" ]
permissive
fagrimacs/fagrimacs_production
8a9cef4e1d73360301fd66f4f0b70ea4868ef610
ea1a8f92c41c416309cc1fdd8deb02f41a9c95a0
refs/heads/master
2022-12-23T22:08:27.768479
2020-09-24T10:10:35
2020-09-24T10:10:35
295,315,768
0
0
MIT
2020-09-24T10:10:36
2020-09-14T05:44:21
JavaScript
UTF-8
Python
false
false
646
py
from django.db.models.signals import pre_save from django.dispatch import receiver from .models import UserProfile @receiver(pre_save, sender=UserProfile) def delete_prev_profile_pic(sender, instance, **kwargs): if instance.pk: try: prev_profile = UserProfile.objects.get( pk=i...
[ "zendainnocent@gmail.com" ]
zendainnocent@gmail.com
2265604085f0b363acfc4bbfcfd9c1294885eb23
626b14ce13986b6d5e03143e151004247659625a
/Day01-15/code/Day07/dict2.py
1f89c849d510ca7c3702747ec28763684b8c1a4f
[]
no_license
Focavn/Python-100-Days
c7586ecf7ae3f1fd42f024558bb998be23ee9df8
d8de6307aeff9fe31fd752bd7725b9cc3fbc084b
refs/heads/master
2021-08-08T17:57:02.025178
2020-09-17T11:58:04
2020-09-17T11:58:04
220,427,144
0
0
null
2019-11-08T08:59:43
2019-11-08T08:59:41
null
UTF-8
Python
false
false
575
py
""" 字典的常用操作 Version: 0.1 Author: 骆昊 Date: 2018-03-06 """ def main(): stu = {'name': '骆昊', 'age': 38, 'gender': True} print(stu) print(stu.keys()) print(stu.values()) print(stu.items()) for elem in stu.items(): print(elem) print(elem[0], elem[1]) if 'age' ...
[ "Focavn@users.github.com" ]
Focavn@users.github.com
216d0e5c1001e89b218aef24c8cabfa7ee8027a8
5a310398592ddb75d27dc67c9b45198e31cb0d55
/rfid-v1.py
d941851aa03ed4b0f8dbaef378689460a5bf2f2a
[]
no_license
ch-tseng/rfidDoor2
97871be9d431515425180b8e0893400a9b147831
ed04b794d6c70dc223bb2f75e5d7367bea8353b4
refs/heads/master
2021-01-20T04:21:23.102422
2017-05-04T05:03:02
2017-05-04T05:03:02
89,674,676
0
1
null
null
null
null
UTF-8
Python
false
false
1,950
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import socket import urllib.request import logging import json #import base64 import binascii import sys import time # A UDP server # Set up a UDP server UDPSock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # Listen on port 21567 # (to all IP addresses on this sys...
[ "ch.tseng@sunplusit.com" ]
ch.tseng@sunplusit.com
a14ab6df974107ea56998dc17be7330c4bf7fa0f
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/run_locally.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/pywrap_tensorflow_internal.py
57359e7e1d2bc639df434b43db03044bd4c69c0c
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/pywrap_tensorflow_internal.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
64541b443d026560b213cf649fddf14d9174859e
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/894c37be40744bf289920a1bd2eb6ba4.py
8a84f39bc980357d36a643c97a4bffbd58c75679
[]
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
233
py
def hey(phrase): phrase = phrase.strip() if len(phrase) == 0: return 'Fine. Be that way!' elif phrase.isupper(): return 'Whoa, chill out!' elif phrase.endswith('?') : return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
62c90294b18a2c3fd268af603a53b8a22b86605c
30754a148b79903d6e49399f1f270c79934ce389
/fuzzinator/ui/tui/tui_listener.py
9427825e28a0e23a7c0a9b1feb0cd1a50d817e82
[ "BSD-3-Clause" ]
permissive
syedkhalid/fuzzinator
720ffc552c595b50de46e4e4e51f3a01cdc9aa77
f90b58605de563e77b85ed0d54d2beb29efc7d14
refs/heads/master
2021-04-09T17:31:06.625840
2018-03-12T14:37:18
2018-03-12T15:21:27
125,814,277
1
0
BSD-3-Clause
2018-03-19T06:53:29
2018-03-19T06:53:29
null
UTF-8
Python
false
false
1,054
py
# Copyright (c) 2016-2017 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. import inspect import os from fuzzinator.listener import EventLis...
[ "reni@inf.u-szeged.hu" ]
reni@inf.u-szeged.hu
834d806a1de11b9ede080c5f7971ceaf79826ab9
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/d_7.py
ab8cf5b7f1a98268b126e4f73b7ff347efe89e40
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
06d1a676a79e4717ef3a8f9091ba8612972c4f88
af829a7bb04f515b01dc78aaeb318991ead50d24
/cart/forms.py
05c7b1e1972cd2dd46c070cb532696742bea4a12
[]
no_license
marcinpelszyk/Djnago-ecom
75ffffb1d6fcd5457d9db8bf166610b15994203f
8ae049087c952b52f287dd58f6a91a2e83113921
refs/heads/main
2023-06-08T20:14:22.007418
2021-06-14T20:56:26
2021-06-14T20:56:26
376,601,973
0
0
null
2021-06-14T20:56:27
2021-06-13T17:26:48
HTML
UTF-8
Python
false
false
192
py
from django import forms from django import forms from .models import OrderItem class AddCartForm(forms.ModelForm): class Meta: model = OrderItem fields = ['quantity']
[ "marcin.pelszyk90@gmail.com" ]
marcin.pelszyk90@gmail.com
8829070ac250ac2824845aa0c2f13fbe2be8478b
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_19002.py
3593dffbce1abc3e5313e425c261f44a9b5adabd
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
# No datetime module in python how to install via easy_install? easy_install DateTime
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
c7129370443f104ccf475efa0da13bda8d448769
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/third_party/gsutil/gslib/hashing_helper.py
c26831fe3af861fcb437fa8a1e588da4bb246152
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
16,892
py
# -*- coding: utf-8 -*- # Copyright 2014 Google Inc. 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 require...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
d264e28ed2341e4155dedc2bdc2156861c78747e
e7ce273f404f82fd8672c97e50b386509c8f9870
/Advanced/File_Handling/Directory_Traversal.py
5aa0fbcbb285a6c22e60ca7405b8dd188b7a9b8b
[]
no_license
rzlatkov/Softuni
3edca300f8ecdcfd86e332557712e17552bc91c3
a494e35bff965b2b9dccc90e1381d5a1a23737a1
refs/heads/main
2023-07-02T12:49:59.737043
2021-08-13T20:47:07
2021-08-13T20:47:07
319,088,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
# Directory Traversal import os USER = os.getlogin() USED_PATH = '/home/rzlatkov/Softuni/Advanced/File_Handling/' # first level traverse only ROOT_PATH = './' # traverse everything REPORT_PATH_WINDOWS = f'C:\\Users\\{USER}\\Desktop\\report.txt' # for Win users REPORT_PATH_LINUX = f'/home/{USER}/Desktop/report.t...
[ "nozzller@gmail.com" ]
nozzller@gmail.com
704361a75a15b4ff7147ee4334cde26f9da2f4dd
180beda50f31031bd3ba1668067bdb73fc1a7686
/website/members/management/commands/generate_member_invoices.py
e73095aaebe1d829fb36e519f1585796e73b12cd
[ "MIT" ]
permissive
eamanu/asoc_members
053a05563a20ff4cafd09020367f3d60f149392e
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
refs/heads/master
2020-11-26T14:20:46.857545
2020-01-06T12:57:30
2020-01-06T12:57:30
229,101,268
0
0
MIT
2019-12-19T17:01:15
2019-12-19T17:01:14
null
UTF-8
Python
false
false
7,788
py
import datetime import os from django.conf import settings from django.core.mail import EmailMessage from django.core.management.base import BaseCommand from django.db.models import Max from members import logic from members.models import Quota, Person, Payment, Member, PaymentStrategy from . import _afip, _gdrive ...
[ "facundo@taniquetil.com.ar" ]
facundo@taniquetil.com.ar
3cf43fa8092e181dca265178db23f042cb43c200
8e304f1291480db18b9727efa61647b369531172
/csvkit/convert/js.py
8757c65a2bfbc280bab8fc78a153f0f7dcf57e4c
[ "MIT" ]
permissive
zviri/csvkit
4439fff0e376d089f89420fabca245c25eb12dc5
39f5d3b6c7d6eaaf145e7e01fa247292763da16d
refs/heads/master
2021-01-12T20:54:42.673449
2014-09-04T14:11:06
2014-09-04T14:11:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
#!/usr/bin/env python import json import six from csvkit import CSVKitWriter def parse_object(obj, path=''): """ Recursively parse JSON objects and a dictionary of paths/keys and values. Inspired by JSONPipe (https://github.com/dvxhouse/jsonpipe). """ if isinstance(obj, dict): iterator ...
[ "staringmonkey@gmail.com" ]
staringmonkey@gmail.com
6389cd069b984d4e989a8c114236bd598cef97a2
a89dfda3732eb73863b3e2fb1ebb46f1cb40973a
/txweb/tests/test_util_basic_sanitize_render_output.py
3ea1634b5077da8b2f699e5319c384c2d49cc0f1
[ "MIT" ]
permissive
devdave/txWeb
543ccb7be0671a5e83959bb7cfc8e7804f04a74a
e447fbefd16134cb2f83323c04c20c41638d7da3
refs/heads/master
2022-12-15T18:11:50.880675
2021-03-24T18:48:16
2021-03-24T18:48:16
2,116,693
1
0
MIT
2022-12-08T04:28:41
2011-07-28T03:55:43
Python
UTF-8
Python
false
false
568
py
import pytest from txweb.util.basic import sanitize_render_output from twisted.web.server import NOT_DONE_YET from twisted.internet.defer import Deferred def test_full_suite_coverage(): assert sanitize_render_output("Foo") == b"Foo" assert sanitize_render_output(b"Foo") == b"Foo" with pytest.raises(Run...
[ "devdave@ominian.net" ]
devdave@ominian.net
c7a84219541a207b77a6abe222131259e8320dcf
18a79067223932c2f7aa6ff6b81d0b3f36169db2
/atcoder/abc178/A.py
fbe81ed981719c0a616b1b4817d553d4699e8bb1
[]
no_license
aadiupadhyay/CodeForces
894b0e5faef73bfd55a28c2058fb0ca6f43c69f9
76dac4aa29a2ea50a89b3492387febf6515cf43e
refs/heads/master
2023-04-12T17:58:52.733861
2021-05-07T20:08:00
2021-05-11T20:07:11
330,149,645
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
from sys import stdin,stdout st=lambda:list(stdin.readline().strip()) li=lambda:list(map(int,stdin.readline().split())) mp=lambda:map(int,stdin.readline().split()) inp=lambda:int(stdin.readline()) pr=lambda n: stdout.write(str(n)+"\n") mod=1000000007 def solve(): n=inp() print((n+1)%2) for _ in range...
[ "upadhyay.aaditya2001@gmail.com" ]
upadhyay.aaditya2001@gmail.com
3f912421cf12848e776f7f30387961e82a570848
ef32b87973a8dc08ba46bf03c5601548675de649
/pytglib/api/functions/get_web_app_url.py
fd431d0848611e166908d7d79bd1b425fdebbbee
[ "MIT" ]
permissive
iTeam-co/pytglib
1a7580f0e0c9e317fbb0de1d3259c8c4cb90e721
d3b52d7c74ee5d82f4c3e15e4aa8c9caa007b4b5
refs/heads/master
2022-07-26T09:17:08.622398
2022-07-14T11:24:22
2022-07-14T11:24:22
178,060,880
10
9
null
null
null
null
UTF-8
Python
false
false
1,089
py
from ..utils import Object class GetWebAppUrl(Object): """ Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp button is pressed Attributes: ID (:obj:`str`): ``GetWebAppUrl`` Args: bot_user_id (:obj:`int`): Identifier of the target bot url (...
[ "arshshia@gmail.com" ]
arshshia@gmail.com
ec8e7dafe20595ebc94fed5089fa5fc70c148552
6147d3d059a048be57aaabe3519551ed4bc305ec
/config/management/commands/fs2import.py
ed4cb19b50f25028e6c1954d36d1fe16bcc534f1
[ "MIT" ]
permissive
a-mere-peasant/MangAdventure
a8f7fdfddf5ae65e645b0e0e0d197f2b0033bc8d
afbcdb5ab68bfc801550c8383568f7265e70b5ab
refs/heads/master
2020-08-06T13:38:59.062119
2019-10-05T12:22:53
2019-10-05T12:22:53
212,808,131
0
0
MIT
2019-10-04T13:07:47
2019-10-04T12:18:27
null
UTF-8
Python
false
false
4,613
py
from os.path import abspath, join from xml.etree import cElementTree as et from django.core.files import File from django.core.management import BaseCommand from groups.models import Group from reader.models import Chapter, Page, Series def _get_element(tables, name): return list(filter( lambda t: t.att...
[ "chronobserver@disroot.org" ]
chronobserver@disroot.org
7bdb3032d0b87e6e58936035f17049cb25437466
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/4fde7f3e48576985304dbb54c7ab85f5d1c4d4e9observer.py
4fde7f3e48576985304dbb54c7ab85f5d1c4d4e9
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
988
py
from flask import Flask from flask.ext.restful import reqparse, abort, Api, Resource from utils import get_controllers app = Flask(__name__) api = Api(app) def get_controller_by_id(controller_id): try: return controllers[controller_id] except IndexError: abort(404, message="Controller {} ...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
a93ea63288eff967bb4d9195f3c82744bd638f54
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_fasting.py
2a2b2ee81235039958aac103ee2d9541cc58f881
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from xai.brain.wordbase.verbs._fast import _FAST #calss header class _FASTING(_FAST, ): def __init__(self,): _FAST.__init__(self) self.name = "FASTING" self.specie = 'verbs' self.basic = "fast" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
90a9f66b973d50155b27452cee64bbbfb1800a9b
4dd1d8fa59e20061e2c12e540fc52b1b305e575b
/source/sims-2/boltz-bgk/s5/plot-sol.py
ff8f54a4239c7054fea5d9ce39a198fdbe5120d1
[ "MIT" ]
permissive
ammarhakim/ammar-simjournal
f63521906a97d55ab290a5960d94758139944c89
5019f4723e20db80a20db6f2bd454c2fd3241412
refs/heads/master
2023-06-08T08:18:11.722779
2023-06-02T15:06:43
2023-06-02T15:06:43
204,050,516
3
3
null
2022-02-01T16:53:13
2019-08-23T18:28:44
Lua
UTF-8
Python
false
false
3,194
py
import gkedata import gkedgbasis from pylab import * import pylab import tables import math import numpy import pylab import numpy from matplotlib import rcParams import matplotlib.pyplot as plt # customization for figure rcParams['lines.linewidth'] = 2 rcParams['font.size'] = 18 rcParams[...
[ "11265732+ammarhakim@users.noreply.github.com" ]
11265732+ammarhakim@users.noreply.github.com
c52bcba0f9d5a677631d2c20a62d28a6c84fd7d1
3afb516b7a759478a5b7181c94941934c48ef63e
/baselines/cifar/sngp.py
ab31eed8491da1bf18bec06e6979d462495fd4e7
[ "Apache-2.0" ]
permissive
barseghyanartur/uncertainty-baselines
e85848dd04db998b114254186eb46917395722fc
982323e1e82699ff42292f53cd3bbf3cd180912c
refs/heads/master
2023-02-09T00:12:07.632028
2021-01-04T09:48:46
2021-01-04T09:49:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,412
py
# coding=utf-8 # Copyright 2020 The Uncertainty Baselines 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 ap...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
78568ca4885a42d8f3f9605cd773cdac043a3fda
27317b3adb1ccd99afa86cb931d2d14e23b9b175
/bcs-app/backend/apps/cluster/migrations/0011_auto_20180514_1805.py
7246c2cb4817e9db1fb1c09afade48a95c1a0502
[ "BSD-3-Clause", "LicenseRef-scancode-unicode", "ICU", "LicenseRef-scancode-unknown-license-reference", "Artistic-2.0", "Zlib", "LicenseRef-scancode-openssl", "NAIST-2003", "ISC", "NTP", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "MIT" ]
permissive
freyzheng/bk-bcs-saas
cf5a6c4ab1c20959bda1362bc31de7884451acd7
96373cda9d87038aceb0b4858ce89e7873c8e149
refs/heads/master
2021-07-05T04:11:08.555930
2020-09-22T12:26:37
2020-09-22T12:26:37
201,279,048
0
1
NOASSERTION
2020-09-16T03:07:16
2019-08-08T14:48:27
Python
UTF-8
Python
false
false
1,794
py
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. # Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the MIT License (the "License"); you may not use this file except i...
[ "gejun.coolfriend@gmail.com" ]
gejun.coolfriend@gmail.com
96e1b7d4ba508da9f2c0883b2ba7a362efde32d5
b9878c92b857f73ff0452fc51c822cfc9fa4dc1c
/watson_machine_learning_client/libs/repo/util/base_singleton.py
4a9943aa7d08aaa332d2f94d4ddaafc4ea0a0726
[]
no_license
DavidCastilloAlvarado/WMLC_mod
35f5d84990c59b623bfdd27369fe7461c500e0a5
f2673b9c77bd93c0e017831ee4994f6d9789d9a1
refs/heads/master
2022-12-08T02:54:31.000267
2020-09-02T15:49:21
2020-09-02T15:49:21
292,322,284
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
class _Singleton(type): """ A metaclass that creates a Singleton base class when called. """ _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(_Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls] clas...
[ "dcastilloa@uni.pe" ]
dcastilloa@uni.pe
355a8a6a7493e09e033a44bc139d2aa4314b07e5
f27c49458bde84048e6008da8c52ca0f1ae711ce
/code/05-interactive-code/m-n-m/guessinggame.py
f919ba7aeb09373c7ec432efe4f22638bff7f3d2
[ "MIT" ]
permissive
talkpython/python-for-absolute-beginners-course
54b0f48b5edbf7755de6ca688a8e737ba16dc2fc
1930dab0a91526863dc92c3e05fe3c7ec63480e1
refs/heads/master
2022-11-24T03:02:32.759177
2022-11-08T14:30:08
2022-11-08T14:30:08
225,979,578
2,287
1,059
MIT
2022-11-07T19:45:15
2019-12-05T00:02:31
Python
UTF-8
Python
false
false
656
py
import random print("------------------------------") print(" M&M guessing game!") print("------------------------------") print("Guess the number of M&Ms and you get lunch on the house!") print() mm_count = random.randint(1, 100) attempt_limit = 5 attempts = 0 while attempts < attempt_limit: guess_text = i...
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
5f347e6b6fc31503d5eb071e29e147c5e03c8963
c94f888541c0c430331110818ed7f3d6b27b788a
/billing/python/antchain_sdk_billing/models.py
a84d6d9e51b2efd4b9c0729e85e28c8c46ab9f42
[ "Apache-2.0", "MIT" ]
permissive
alipay/antchain-openapi-prod-sdk
48534eb78878bd708a0c05f2fe280ba9c41d09ad
5269b1f55f1fc19cf0584dc3ceea821d3f8f8632
refs/heads/master
2023-09-03T07:12:04.166131
2023-09-01T08:56:15
2023-09-01T08:56:15
275,521,177
9
10
MIT
2021-03-25T02:35:20
2020-06-28T06:22:14
PHP
UTF-8
Python
false
false
55,021
py
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from Tea.model import TeaModel class Config(TeaModel): """ Model for initing client """ def __init__( self, access_key_id: str = None, access_key_secret: str = None, security_token: str = None...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
dce66acaecaeb92ead8da8165aa063f5144d1414
0c005f75771101fdea1f647f124343077af19c36
/test_word_break.py
3a437518d9123157cc2a7afd251265b23f0ac32f
[ "MIT" ]
permissive
brigitteunger/katas
19ff80a43d1c8fe0e6a49a6790495e716f09f10d
3f9af88fe5d98753360457084741f573c863dc25
refs/heads/master
2023-01-01T00:57:45.294204
2020-10-13T21:01:18
2020-10-13T21:01:18
265,810,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
import unittest from typing import List, Set from data_word_break import s_2, wordDict_2 class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> bool: if not wordDict: return [] set_words = set(wordDict) dp = [False]*(len(s)+1) dp[0] = True for i in...
[ "brigitteunger@users.noreply.github.com" ]
brigitteunger@users.noreply.github.com
dbc05861ff1d574b59cf13ace3a9c4f734503c16
2f330fc050de11676ab46b963b7878882e9b6614
/memsource_cli/models/linguist_v2.py
3fded445994ae511b98da76e5f74617d09e0bc7b
[ "Apache-2.0" ]
permissive
zerodayz/memsource-cli-client
609f48c18a2b6daaa639d4cb8a61da43763b5143
c2574f1467539a49e6637c874e88d75c7ef789b3
refs/heads/master
2020-08-01T12:43:06.497982
2019-09-30T11:14:13
2019-09-30T11:14:13
210,999,654
1
0
null
null
null
null
UTF-8
Python
false
false
3,216
py
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
[ "cerninr@gmail.com" ]
cerninr@gmail.com
ccce96391f179171085d48df2853759a97636189
13c599a48f0b596c314c7c570f47756fd97a2b92
/media/capture/capture.gyp
b634f9566ebee0fbbfb564a38d48aab581a59d5b
[ "BSD-3-Clause" ]
permissive
qichanna/chromium
a5e3d44bda4bd6511e090e25263f5de94dbfe492
458d956db161377610486b7c82a95fc485f60b9b
refs/heads/master
2022-11-13T00:50:48.147260
2016-08-01T23:23:16
2016-08-01T23:28:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,219
gyp
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, 'capture_sources': [ 'capture_export.h', 'content/animated_content_sampler.cc', 'content/ani...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
f104bb6f8281c3057c60069d41856b978e1b533f
c46754b9600a12df4f9d7a6320dfc19aa96b1e1d
/tests/models/x_clip/test_modeling_x_clip.py
5c602d3d3ef732ee29ccbde5441ab84d15c0e2f7
[ "Apache-2.0" ]
permissive
huggingface/transformers
ccd52a0d7c59e5f13205f32fd96f55743ebc8814
4fa0aff21ee083d0197a898cdf17ff476fae2ac3
refs/heads/main
2023-09-05T19:47:38.981127
2023-09-05T19:21:33
2023-09-05T19:21:33
155,220,641
102,193
22,284
Apache-2.0
2023-09-14T20:44:49
2018-10-29T13:56:00
Python
UTF-8
Python
false
false
26,961
py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. 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 r...
[ "noreply@github.com" ]
huggingface.noreply@github.com
cc283b9b4b09f6bf5595826d7c51710a2bbd1948
b72dbc51279d3e59cb6410367b671f8a956314c1
/프로그래머스/그외/1844_게임맵 최단거리.py
0aa107ad05fc1b98b72ecda8ab28d2ebc0eba2d7
[]
no_license
ddobokki/coding-test-practice
7b16d20403bb1714d97adfd1f47aa7d3ccd7ea4b
c88d981a1d43b986169f7884ff3ef1498e768fc8
refs/heads/main
2023-07-08T15:09:32.269059
2021-08-08T12:19:44
2021-08-08T12:19:44
344,116,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
#https://programmers.co.kr/learn/courses/30/lessons/1844 from collections import deque def solution(maps): answer = 0 dx = [1, -1, 0, 0] # 순서대로 동, 서, 남, 북 dy = [0, 0, 1, -1] visit = [[-1] * len(maps[0]) for _ in range(len(maps))] # 거리 측정 및, 방문을 확인하는 visit 배열 visit[0][0] = 1 # visit이 -1이면 아직 방...
[ "44228269+ddobokki@users.noreply.github.com" ]
44228269+ddobokki@users.noreply.github.com
9558078b495c9f41b5bcc8fde64f93bfb7668f33
ec87c361be4a2f9f842695b6a6e8601ebd735e83
/GuessNum.py
ee225ea9d692c0e4fc54bd50da1e7441a632581c
[]
no_license
heheddff/python2018
357d51bee7ea39f6a1df82101fb49c1568250e24
77a240dd155f679fffe33b62df57f689a8c85082
refs/heads/master
2020-03-27T23:13:38.789249
2018-12-08T14:55:21
2018-12-08T14:55:21
147,302,979
1
0
null
null
null
null
UTF-8
Python
false
false
488
py
#GuessNum import random as rd target = rd.randint(1,1000) count = 0 while True: try: guess = eval(input("请输入一个猜测的整数(1至1000):")) except: print('输入有误,请重试,此次不计入猜测次数!') continue count +=1 if guess > target: print("猜大了") elif guess < target: print("猜小了") else: ...
[ "qq2003qq@126.com" ]
qq2003qq@126.com
869f7c920d278ff777f63b8b1715c4a493ae22b4
a3be3d5f13c7831d21b23c6fdc264d45fb9448a1
/catkin_ws/src/action_server/src/sis_arm_pick_and_place_action.py
6ab20c6d17240871da1fba020b564b80bcd3e0c3
[]
no_license
VIMO-Robotics/mmbot
8a70f7ee7b074c384883ec0200cf2b624c37dfe2
dc004f2b870bf86798d9e1d06f1c8a0c47a4c060
refs/heads/master
2020-06-25T10:42:34.580709
2019-09-09T04:47:50
2019-09-09T04:47:50
199,286,782
1
0
null
null
null
null
UTF-8
Python
false
false
9,032
py
#!/usr/bin/env python import sys import copy import rospy import moveit_commander import moveit_msgs.msg from geometry_msgs.msg import PoseStamped, PointStamped from std_msgs.msg import Float64, Bool from action_server.msg import block_pick_and_placeAction, block_pick_and_placeResult, block_pick_and_placeFeedback impor...
[ "andy19970307@gmail.com" ]
andy19970307@gmail.com
811c54e32c59559195243cf283c1baeaf6bea67e
41ede4fd3bfba1bff0166bca7aee80dcf21434c6
/ayhanyalcinsoy/Desktop/xfce/addon/thunar-archive-plugin/actions.py
105c7d47862ca22da89c73e94b0087b806747df5
[]
no_license
pisilinux/playground
a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c
e4e12fff8a847ba210befc8db7e2af8556c3adf7
refs/heads/master
2022-08-12T23:03:27.609506
2022-08-11T18:28:19
2022-08-11T18:28:19
8,429,459
16
22
null
2022-08-11T18:28:20
2013-02-26T09:37:11
Python
UTF-8
Python
false
false
683
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import get from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools def setup(): ...
[ "ayhanyalcinsoy@gmail.com" ]
ayhanyalcinsoy@gmail.com
e98d8dcea92717dc00bba19ef5d887b8d521e12e
ba949e02c0f4a7ea0395a80bdc31ed3e5f5fcd54
/problems/dp/Solution115.py
aec8a435c4f15acf75a0391afcaed2b0f9481f66
[ "MIT" ]
permissive
akaliutau/cs-problems-python
6bc0a74064f6e9687fe58b13763da1fdf2e1f626
9b1bd8e3932be62135a38a77f955ded9a766b654
refs/heads/master
2023-05-11T22:19:06.711001
2021-06-04T11:14:42
2021-06-04T11:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
""" Given two strings s and t, return the number of distinct subsequences of s which equals t. A string's subsequence is a new string formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (i.e., "ACE" is a su...
[ "aliaksei.kaliutau@gmail.com" ]
aliaksei.kaliutau@gmail.com
a92309f4c06a45e9fc8a12855d0fbe22d95c8feb
a0c53168a4bdcfb0aa917d6d2c602f0999443a10
/projexui/widgets/xurlwidget.py
40516a9749b83fb4e82b2ccb12a331191a731d1e
[]
no_license
kanooshka/DPS_PIPELINE
8067154c59ca5c8c9c09740969bb6e8537021903
df2fcdecda5bce98e4235ffddde1e99f334562cc
refs/heads/master
2021-05-24T04:32:03.457648
2018-09-07T13:25:11
2018-09-07T13:25:11
29,938,064
3
2
null
2020-07-23T23:06:37
2015-01-27T22:26:01
Python
UTF-8
Python
false
false
3,438
py
""" Defines the XUrlWidget class """ # define authorship information __authors__ = ['Eric Hulser'] __author__ = ','.join(__authors__) __credits__ = [] __copyright__ = 'Copyright (c) 2011, Projex Software, LLC' __license__ = 'LGPL' __maintainer__ = 'Projex Software, LLC' __e...
[ "kanooshka@gmail.com" ]
kanooshka@gmail.com
1401a17efdbfb7b2ff484178a6944d5e373dd1f7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03488/s626861342.py
65eae1c60abd7285830f846f3f83e1f7681f124f
[]
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
1,207
py
s=input() X,Y=map(int,input().split()) from collections import defaultdict def solve(da,dp,G): for i in range(len(da)): tmp=set() for j in dp: tmp.add(j-da[i]) tmp.add(j+da[i]) dp=tmp if G in dp: return True else: return False """amax=0 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e87293f0dbca65cf9e8eb987d30bb7c5e8ed590e
29b1b15e4fef90717ff7bf8b13ab9a23cdc17c51
/finalproduct/testapp/migrations/0003_comments.py
24bc341b3f011285e4bdec6c57d8b347120c9b42
[]
no_license
deepawalekedar319/DjangoProjects
93fe59812593a1e1b8f542c8c5b1642bc95f6da4
1780b703a3022ea17dc188ad98b0f17bb14fa12f
refs/heads/main
2023-09-03T04:48:21.201822
2021-11-08T05:28:00
2021-11-08T05:28:00
425,706,071
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2020-10-31 13:23 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('testapp', '0002_auto_20201027_1439'), ] operation...
[ "deepawalekedar319@gmail.com" ]
deepawalekedar319@gmail.com
5631077333222d3476b68d4a173ce9d25f7396be
caf8cbcafd448a301997770165b323438d119f5e
/.history/mercari/mercari_search_20201124184144.py
21031f8d0dc5f3408e41cd1680d9f13d31082892
[ "MIT" ]
permissive
KustomApe/nerdape
03e0691f675f13ce2aefa46ee230111247e90c72
aef6fb2d1f8c364b26d91bf8570b4487a24de69a
refs/heads/main
2023-01-23T10:13:26.584386
2020-11-28T22:29:49
2020-11-28T22:29:49
309,897,105
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
from selenium import webdriver from selenium.webdriver.support.ui import Select import pandas as pd import re import numpy as np import matplotlib.pyplot as plt import seaborn as sns import PyQt5 import time """[Initial Settings] 初期設定 """ options = webdriver.ChromeOptions() options.add_argument('--headeless') options.a...
[ "kustomape@gmail.com" ]
kustomape@gmail.com
64cfaf128c32f6121b1d5cd6194329ba27f2532b
c0792645c156cb9e20a1aa2b28c565150358bc6e
/apps/inmueble/migrations/0007_auto_20180413_2159.py
67c3d2b9cf04f9cc969b9db636a4659a8eea6221
[]
no_license
clioo/Praver
b22fd92886e0399845adb4366663cae6a7d7853b
523f0d78e0a2039a5bae3e539c93e2c2415a0840
refs/heads/master
2020-03-11T12:38:54.272392
2018-06-28T18:24:21
2018-06-28T18:24:21
130,003,043
1
0
null
null
null
null
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2018-04-14 03:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inmueble', '0006_imagenesinmbueble'), ] operations = [ migrations.AlterField...
[ "jesus_acosta1996@hotmail.com" ]
jesus_acosta1996@hotmail.com