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
df9f297cdb087ab99a0f555a6ec2ef84e059c092
1f51c4e89a71ea3fcc2cc921613aacc19e078b69
/02_Intermediate Python/5-case-study-hacker-statistics/01_random-float.py
9c3b653911a459dd63757a0a93f6d9a078a15937
[ "MIT" ]
permissive
CodeHemP/CAREER-TRACK-Data-Scientist-with-Python
871bafbd21c4e754beba31505965572dd8457adc
13ebb10cf9083343056d5b782957241de1d595f9
refs/heads/main
2023-03-26T08:43:37.054410
2021-03-22T15:08:12
2021-03-22T15:08:12
471,015,287
1
0
MIT
2022-03-17T13:52:32
2022-03-17T13:52:31
null
UTF-8
Python
false
false
939
py
''' 01 - Random float Randomness has many uses in science, art, statistics, cryptography, gaming, gambling, and other fields. You're going to use randomness to simulate a game. All the functionality you need is contained in the random package, a sub-package of numpy. In this exercise, you'll be using two functions fr...
[ "ifaizymohd@gmail.com" ]
ifaizymohd@gmail.com
4aa2944f354f00821666e21ea2219ee36357c645
d3f58a0250a0abe566235c26b8508567b620af66
/diplomaticdoor.py
5f0bbed663771d06ab22e8850a3c24106dbcbf3f
[]
no_license
h1ghr0llerz/diplomatic-door
859d1c712f0bfaab22eeadc4c2420c90758dcbce
efbb1d874fd3bd9b5860968429ca0dd29a32540f
refs/heads/master
2020-12-27T21:23:15.135966
2020-02-03T21:11:56
2020-02-04T09:11:04
238,062,336
1
1
null
null
null
null
UTF-8
Python
false
false
5,386
py
import sys import diplomaticfingerprintreader import userstore import json import tempfile import os import requests import threading import re import functools import waitress import mimetypes from flask_batch import add_batch_route from flask import Flask, send_from_directory, send_file, request, Response, jsonify ...
[ "root@localhost" ]
root@localhost
0acefb24fe1a1f38c6464dc66fbb3fc7287deab9
39d4504ec1da8975fac526d6801b94f4348b6b61
/research/compression/entropy_coder/lib/blocks_lstm_test.py
07aa2139e3855ce18c16fd2e846de8999a5c2ba3
[ "Apache-2.0" ]
permissive
vincentcheny/models
fe0ff5888e6ee00a0d4fa5ee14154acdbeebe7ad
afb1a59fc1bc792ac72d1a3e22e2469020529788
refs/heads/master
2020-07-23T21:38:24.559521
2019-11-15T07:50:11
2019-11-15T07:50:11
207,712,649
1
0
Apache-2.0
2019-09-11T03:12:31
2019-09-11T03:12:31
null
UTF-8
Python
false
false
3,917
py
# Copyright 2017 The TensorFlow Authors All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "1155107977@link.cuhk.edu.hk" ]
1155107977@link.cuhk.edu.hk
3e11bab7965a623c12878942b1f8122949964613
3e131c5277856935743280b351a6a7aa14842102
/ooni/config.py
96a1ee01e2262b51f22ff180a12c456f213bd14f
[ "BSD-2-Clause-Views" ]
permissive
hackerberry/ooni-probe
fd9a4e087a86e0f3327d28b405b15b83a434a364
9abf23f9fd2f8ef5b05e9c99b9213917439231ab
refs/heads/master
2020-05-17T17:18:56.789821
2012-11-04T05:01:37
2012-11-04T05:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from ooni.utils import Storage # XXX move this to an actual configuration file basic = Storage() advanced = Storage() advanced.debug = True
[ "arturo@filasto.net" ]
arturo@filasto.net
7fe98db517aa302f5361e1eac5409b5a61e7da2b
eb336ea356a6ce221d8e6e96521b9fcedaa90cfd
/scripts/workdir.py
a357c600a423aad9fcc5a667b1035fb834937838
[]
no_license
Hong-Xiang/XLearning
9fe8f03e8e5865f7278aafda4e07247a71eb870e
970c5d6c257d4c687bccae5627e224d2e0692f89
refs/heads/master
2021-01-13T08:37:35.802798
2017-10-16T08:02:09
2017-10-16T08:02:09
72,407,070
0
0
null
2017-10-16T08:02:10
2016-10-31T06:03:40
Python
UTF-8
Python
false
false
2,858
py
import sys import os import click import re import shutil from pathlib import Path import json from inspect import getfullargspec, signature def print_pretty_args(func, all_vars): if isinstance(func, click.core.Command): func = func.callback sig = signature(func) d = {} for param in sig.paramet...
[ "hx.hongxiang@gmail.com" ]
hx.hongxiang@gmail.com
59674940aa9f75a30c7b16475bbe6df582198f9f
3dc7279818c90cffba0b9798462d3085fbcfa329
/pack-dump.py
5daa14aee168cc0425a6d81aea3c621427fe0645
[]
no_license
pfalcon/git-pack-hacks
ec4675f3908739dd8ee5ba9fb279dad18da11cbd
a12382fcca165c7b874887fd69b4bf575808fcd6
refs/heads/master
2021-01-10T05:32:41.360246
2015-12-11T20:46:33
2015-12-11T20:46:33
47,850,526
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# This tool allows to dump contents of git pack, similarly to # "git verify-pack -v", but unlike it, doesn't require .idx # file, only a pack itself. import sys import binascii from dulwich import pack from dulwich import objects from dulwich.objects import sha_to_hex from pprint import pprint OBJ_TYPES = { 1: "OB...
[ "pfalcon@users.sourceforge.net" ]
pfalcon@users.sourceforge.net
1798f29308a469bd9d7af338b3868e207cc39e5e
23e70fb87d4b0d7d38464fa7a019f448b35b15a6
/render.py
e35797c0c3644b7a39ba2127647a7cab727bac6d
[ "MIT", "CC-BY-3.0" ]
permissive
lyhiving/Chatbot_Web
6c3dc9a733cb6caea205962df20e8c6c5e739cee
b5c3cb315665007c6fd2fba9e35bd287e606846c
refs/heads/master
2023-03-17T05:53:52.993220
2020-05-01T09:03:31
2020-05-01T09:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
import os from jinja2 import Template def render(input_file, output_file): with open(input_file, encoding='utf_8') as input_fd, open(output_file, mode='w', encoding='utf_8') as output_fd: template = Template(input_fd.read()) # server_url = os.environ.get('CORE_SERVER_URL', 'http://nlp-server-ap...
[ "xushengquan@souche.com" ]
xushengquan@souche.com
10d1f360e2bf1f8b93ce1da975edf8d70fd62d3e
4eebce0d0c1132aed8227325bd58faf61a4010c7
/CONTEXT_162/sum_of_gcd_of_tuples.py
88f0a579a71403d0b5ecf1c8d56750df055e3a2a
[]
no_license
xu1718191411/AT_CODE_BEGINNER_SELECTION
05836cfcc63dab2a0a82166c8f4c43c82b72686b
e4e412733d1a632ce6c33c739064fe036367899e
refs/heads/master
2021-07-17T00:59:46.315645
2020-09-22T06:14:27
2020-09-22T06:14:27
214,153,758
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
K = int(input()) import math import itertools def common(a, b): return math.gcd(a, b) def calculate(k): sum = 0 for i in itertools.combinations([i for i in range(1,k+1)],2): val1 = common(i[0],i[1]) * 6 sum = sum + val1 for i in range(1,k+1): val1 = i sum = sum + va...
[ "xu1718191411@gmail.com" ]
xu1718191411@gmail.com
ef9a54dfb7b882591e50fd27b2df6384d8ba0f2d
5382da72a477ef78c42604b811572b651618a7bc
/dashboard/dashboard/models/histogram_test.py
0d98900ff8f60f7e942433bc30db75e8fbe38562
[ "BSD-3-Clause" ]
permissive
KUNAL1612/catapult
2ab13b8835b91af599a2b41d46e7333df52adb6e
5bc80741d635f850e78248a04b988d8a6f3dec47
refs/heads/master
2021-05-15T20:58:15.698861
2017-10-20T21:43:42
2017-10-20T22:38:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,917
py
# Copyright 2017 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. import json import sys from dashboard.common import testing_common from dashboard.common import utils from dashboard.models import histogram from tracing.va...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
de91ee06edd9f49617067822c4230e3a06dae402
d274e22b1cc5d546855fe46b089b13cfe2f4047c
/june2021/solutions/day14_MaximumUnitsOnATruck.py
99be8e4332bfffaf7ebb150e104743f6e95a9dc6
[]
no_license
varunkumar032/lockdown-leetcode
ca6b7a8133033110680dd226c897dd8a1482682b
15a72a53be9005eca816f018cb1b244f2aa4cdfb
refs/heads/master
2023-06-30T08:31:54.323747
2021-07-12T11:29:59
2021-07-12T11:29:59
260,616,280
0
0
null
2021-05-06T10:24:48
2020-05-02T04:52:37
Python
UTF-8
Python
false
false
1,549
py
# You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes[i] = [numberOfBoxesi, numberOfUnitsPerBoxi]: # numberOfBoxesi is the number of boxes of type i. # numberOfUnitsPerBoxi is the number of units in each box of the type i. # You are also given an integer truck...
[ "varunkumar032@gmail.com" ]
varunkumar032@gmail.com
7a388077a52171b27f7355e91015040a6f81cce0
acb07c67041b3e9fe01524bac19bff6d495fb9ce
/tests/chat.py
2d56fa7ac4c86bc9310da26b8394d5889f58f246
[]
no_license
BasementCat/jump
49645b4cc09fea84867b51852d3c5b93204aaebd
187b285147fbc8f0c30abdd205e3ee634992f2b5
refs/heads/master
2020-06-07T03:20:23.305282
2015-02-07T05:52:53
2015-02-07T05:52:53
8,126,421
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
import select import re class Chat (object): def __init__(self, sock, timeout = 10, line_term = ""): self.sock = sock self.timeout = timeout self.line_term = line_term def rexpect(self, what): r, w, e = select.select([self.sock], [], [], self.timeout) if len(r) < 1: ...
[ "alec.elton@gmail.com" ]
alec.elton@gmail.com
9eff4e9c3fab7fba35e2a5933dfd870b35528521
4dd5dbebc7b7f6dbfcbd6cc662311c91ad6d47e9
/AtCoder/ABC075C.py
97c06cb3faf0bd345613bdb65c113f327ea1372c
[]
no_license
sourjp/programming_contest
aa6925b3317bd3aeb646df93a611af1199bfc7aa
2a50e1be45441789e81eb49bfdfc0c598d2a534b
refs/heads/master
2021-04-01T05:08:44.097226
2020-08-20T13:01:55
2020-08-20T13:01:55
248,158,920
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
def dfs(graph, visited, edge): visited[edge] = True for i in range(n): if graph[edge][i] == 1 and visited[i] == False: dfs(graph, visited, i) if sum(visited) == n: return True else: return False n, m = map(int, input().split()) input_list = [] for i in range(m): input_list.ap...
[ "hiro0209.ki@gmail.com" ]
hiro0209.ki@gmail.com
fa3ce200d7e65657d2de15bad6462a2f54cc9782
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/nn_ns/data_structure/TreeNodeOps/RedBlackTreeNodeOps/IRedBlackTreeNodeOps__itrinode_restructure.py
52a22373e1ca253ea8af2da66e44ce2878764b2d
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
4,465
py
__all__ = ''' red_black_tree__itrinode_restructure red_black_tree__itrinode_restructure__for_double_red_when_uncle_is_black '''.split() if False: # red_black_tree__itrinode_restructure get_parent = ops.get_parent get_sibling = ops.get_sibling get_parent_info = ops.get_parent_info is_le...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
d583643fac052d8ecc5adb05adca3f69c0e797c4
4f00a3d537c39a092046afd00d22ba7d1fe390f6
/Assignment 2/205.py
03dbcf2aedec91ce86db6aa58e128b6fd0bc186f
[]
no_license
ocarlott/WB
2ae8d4883b4cb82ac42f6a9cfd0323295f1af261
62a2c1b549e6d92fb8cf43541ac79117ef005a8c
refs/heads/master
2020-06-09T11:18:44.874311
2019-08-10T23:33:54
2019-08-10T23:33:54
193,428,912
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: usedSet = set() # O(N) for space translateMap = {} # O(N) for space translated = "" # O(N) for space for i in range(len(t)): # O(N) if t[i] in translateMap: translated += translateMap[t[i]] ...
[ "noreply@github.com" ]
ocarlott.noreply@github.com
c4b8d8fd5100c8b769d8e0b95809cf4cde798b56
a553112627ff031581d0a58fb9ef6bb43464b063
/tests/test_world.py
fabc20b2d58b6511efb46a91dd958836021e68fc
[]
no_license
benbroks/aitk.robots
fa8b397b7c5d73f8ac14b0fa7b7653eceb92f1d1
d6ef4c138f468bde2dff8bdff06d681ef4ab5a2e
refs/heads/master
2023-08-20T21:23:55.915178
2021-10-09T19:26:08
2021-10-09T19:26:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
# -*- coding: utf-8 -*- # ************************************* # aitk.robots: Python robot simulator # # Copyright (c) 2020 Calysto Developers # # https://github.com/ArtificialIntelligenceToolkit/aitk.robots # # ************************************* import aitk.robots from aitk.robots import World, Scribbler def te...
[ "doug.blank@gmail.com" ]
doug.blank@gmail.com
d3578a160983626ba4dd3d269eee4fe11fdc87e0
32c44b66ec20651893aaa83da355740784c85d94
/python/rsyscall/tasks/stdin_bootstrap.py
82ddb75cf720d3cba9096977f8275ceb76885bfe
[]
no_license
LongJohnCoder/rsyscall
1dbbba3aa7dcae3b018c159f409f3c56a1c5f896
1b4c0f51f92c0a1b91e1b45389fcecb1f0cc29bf
refs/heads/master
2023-06-10T02:45:35.711203
2021-07-03T18:52:00
2021-07-03T19:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,700
py
"""A thread-creating stub which can be exec'd by other programs which pass down stdin The user creates an arbitrary Command which eventually execs rsyscall-stdin-bootstrap, and calls stdin_bootstrap with it; stdin_bootstrap runs the command and returns a thread created from the eventually-exec'd rsyscall-stdin-bootstr...
[ "sbaugh@catern.com" ]
sbaugh@catern.com
af8621eb92651c7161b915735b8ea29c9d245dda
803563d4c0b1fc93bf25f5b7a3ceb3be3b12335e
/tests/python/programs/original/k-python/programs/testformat5.py
a900f1b82161a74bdad5ef31da74a49a4b74847d
[]
no_license
koehlma/rigorous
f1c08b2e9c19161e1f9326db0670c26d99de9e6f
b7ff99372dd24845cf84e58c96b877f15764b276
refs/heads/master
2023-04-12T00:35:10.348755
2021-09-14T06:57:54
2021-09-14T06:57:54
321,338,545
12
1
null
null
null
null
UTF-8
Python
false
false
623
py
try: "{".format() assert False except ValueError: try: "}".format() assert False except ValueError: try: "{1{}".format() assert False except ValueError: try: "{}{1}".format("1", "2") assert False except ValueError: try: "{1}{}".format("1"...
[ "mail@koehlma.de" ]
mail@koehlma.de
0fd46d61cbba5b4e30b13dff527ed689bd7fec5f
9a0eb3e292d57b59198c7c66a994372ced9cfa5b
/nodes/0.8.x/python/Object.Members.py
c6a93a7e3b61e19016a6f135f68f65b28b511cfd
[ "MIT" ]
permissive
andydandy74/ClockworkForDynamo
544ddf0893f5c0072fca7934f4e128001771f767
528400c667c4c3f2b51814af84e85c8fab8a8059
refs/heads/master
2023-08-19T03:07:33.489926
2023-08-13T04:31:17
2023-08-13T04:31:17
15,043,988
184
100
MIT
2023-09-04T18:47:40
2013-12-09T10:11:01
Python
UTF-8
Python
false
false
191
py
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * items = UnwrapElement(IN[0]) elementlist = list() for item in items: elementlist.append(dir(item)) OUT = elementlist
[ "dieckmann@caad.arch.rwth-aachen.de" ]
dieckmann@caad.arch.rwth-aachen.de
8ce75ac452499e392e494b110996d56871ccbd8b
7142c3941481e661075154d714a29d5e283a3074
/PythonLambdaFunctions.py
e028f4ef178bf7e363dccc89af113da0ad5d62fc
[]
no_license
nirajan5/Demo
5642a9669fedcca47b0304ac423c0b3e6333b8e2
2451875bf5698cd38af69baa117c14099951bc9f
refs/heads/master
2023-07-27T17:04:03.689673
2021-09-15T11:14:25
2021-09-15T11:14:25
406,732,005
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
# a is an argument and a+10 is an expression which got evaluated and returned. x = lambda a: a + 10 # Here we are printing the function object print(x) print("sum = ", x(20))
[ "jhanirajan5@gmail.com" ]
jhanirajan5@gmail.com
b6893e81ca508e23e212516e41cf045bbcc00e7e
3bb57eb1f7c1c0aced487e7ce88f3cb84d979054
/paetzold_nns/scripts/cleaners/Produce_Training_Unsupervised.py
7bfc6a25df47d0d1aa4b052b33fcf1e0b7506aa6
[]
no_license
ghpaetzold/phd-backup
e100cd0bbef82644dacc73a8d1c6b757b2203f71
6f5eee43e34baa796efb16db0bc8562243a049b6
refs/heads/master
2020-12-24T16:41:21.490426
2016-04-23T14:50:07
2016-04-23T14:50:07
37,981,094
0
1
null
null
null
null
UTF-8
Python
false
false
988
py
import os def getSubs(generator): result = {} f = open('../../substitutions/' + generator + '/substitutions.txt') for line in f: data = line.strip().split('\t') target = data[0].strip() candidates = data[1].strip().split('|||') res...
[ "ghpaetzold@outlook.com" ]
ghpaetzold@outlook.com
a44d6d2ce3e7c85f2eab1731c2032159d5d1d220
5105403f2b75990654519438d8ceabcf80962ebf
/docs/bokeh/source/docs/first_steps/examples/first_steps_3_legend.py
27e93694c0b0e452e5c18a2c8c4cd8a80a0c26b1
[ "BSD-3-Clause" ]
permissive
bokeh/bokeh
ed1d81eb07d27d27c6710c9fec9114886047f528
310cb2cbeabc4c4b8180cbda566df16039737cdc
refs/heads/branch-3.3
2023-08-31T23:53:06.537061
2023-08-30T03:43:05
2023-08-30T03:43:05
3,834,332
17,174
5,251
BSD-3-Clause
2023-09-14T11:37:23
2012-03-26T15:40:01
Python
UTF-8
Python
false
false
1,002
py
from bokeh.plotting import figure, show # prepare some data x = [1, 2, 3, 4, 5] y1 = [4, 5, 5, 7, 2] y2 = [2, 3, 4, 5, 6] # create a new plot p = figure(title="Legend example") # add circle renderer with legend_label arguments line = p.line(x, y1, legend_label="Temp.", line_color="blue", line_width=2) circle = p.cir...
[ "noreply@github.com" ]
bokeh.noreply@github.com
07d6b36209aa15e8297dd67d24141370422d42fe
6bee4274f2fec50b5ced99a6051426208c8c294e
/구조체연습/4751.py
f601a20e994117e36977c0f021343f63a249510f
[]
no_license
hongyeon-kyeong/CodeUp
5f87bb30a7c9c0246e7fd720549e5528c9a79de7
d41b697b2cddd0598d09469f8bc4fd1311851410
refs/heads/main
2023-02-07T07:28:54.161000
2020-12-28T14:23:05
2020-12-28T14:23:05
312,964,588
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import sys import collections Student = collections.namedtuple('Student',['cid','sid','score']) Studs = [] n = int(sys.stdin.readline().rstrip()) for _ in range(n) : c, s, sc = map(int,sys.stdin.readline().rstrip().split()) Studs.append(Student(c,s,sc)) for i in range(n) : for j in range(n-1-i) : if Studs[j].sc...
[ "hyjykelly@gmail.com" ]
hyjykelly@gmail.com
7e65f2bbd85bb0a03c8d566481f52a4114da8669
f0ecb285e8d4c3abd8be1343d36e0600814244ab
/mcc-server/mcc/packs/admin.py
4f2717c671cec84ff6ab6a2aa1fe1b7c019763eb
[ "MIT" ]
permissive
kk6/mcc
79d4a015a2003b16ced3b117839cf030721087d2
9d69221cb969da29d3c7306885f877b21a3922a7
refs/heads/main
2023-04-27T08:07:59.896461
2021-05-09T08:21:00
2021-05-09T08:21:00
365,567,446
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.contrib import admin from .models import CitPack class CitPackAdmin(admin.ModelAdmin): list_display = ("name", "official_site") admin.site.register(CitPack, CitPackAdmin)
[ "hiro.ashiya@gmail.com" ]
hiro.ashiya@gmail.com
fbe0861244a924fc8492529dc5d2318be4a3196b
c50598d4ce8e6c906748021060f1df84e16372ca
/doc/conf.py
b45c8e5530c3fa60ec657698574bc23a46294f56
[ "MIT" ]
permissive
BacemDataScience/Cell_BLAST
f4407571e321fbc6aeb8642a994767e6e1f381fa
d0e25fa695cb8cebcba68dd32fe5e7e96743803f
refs/heads/master
2020-09-10T02:31:00.758648
2019-09-28T16:06:55
2019-09-28T16:06:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,926
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "caozj@mail.cbi.pku.edu.cn" ]
caozj@mail.cbi.pku.edu.cn
4ecab217a1599ccd87fafa8fe53b7143877c2a64
ef3d4130f28c7c589c646b15d19010cf426fc0f6
/doc/src/week39/codes/test2.py
8a58d4ce8f0bd69a2755ea1cfeb9a4392b1b94c1
[ "CC0-1.0" ]
permissive
CompPhysics/MachineLearning
54e1123a96060d824307f270415646494783cff5
00a2bd1a7efde5fbfd9b9d6d6c365dcd82fe8baf
refs/heads/master
2023-09-06T02:34:28.559589
2023-09-05T13:16:27
2023-09-05T13:16:27
103,986,991
154
136
CC0-1.0
2022-11-18T11:01:02
2017-09-18T20:11:45
null
UTF-8
Python
false
false
703
py
import numpy as np from scipy.stats import uniform as sp_rand from sklearn import datasets from sklearn.linear_model import Ridge from sklearn.model_selection import RandomizedSearchCV # load the diabetes datasets dataset = datasets.load_diabetes() # prepare a uniform distribution to sample for the alpha parameter para...
[ "morten.hjorth-jensen@fys.uio.no" ]
morten.hjorth-jensen@fys.uio.no
72e9e6574b7bb01935762ca95968cce16e5e3ad5
6550cc368f029b3955261085eebbddcfee0547e1
/第6部分-Django(哪吒,肖锋)/django-2-进阶-肖锋/day69/day69/orm_homework/app01/migrations/0001_initial.py
5bf7bb0d5b25584f88bdcce2c264025a7a56ae63
[]
no_license
vividyellow/oldboyeduPython14qi
d00c8f45326e16464c3d4e8df200d93779f68bd3
de1e9f6efafa2846c068b3fe5ad6e1ca19f74a11
refs/heads/master
2022-09-17T21:03:17.898472
2020-01-31T10:55:01
2020-01-31T10:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-10-15 01:30 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "524991368@qq.com" ]
524991368@qq.com
74509a21e1754e2a22bd0585a07beed96564da07
06be10a389854dc47e3dba0afffc4410bbb407ce
/debolemix/dbolemix/bolemix/admin.py
00b3bb9b5f24369d6d4511b9373eeba2e11b6998
[ "MIT" ]
permissive
samuelatuma1/projects
76eb9fad2b684b6316d3f22975cf615b71503fba
744fbdc70afe1b25ff6df944d401f50b8b5d012e
refs/heads/master
2023-02-12T09:11:46.541885
2021-01-17T12:23:49
2021-01-17T12:23:49
300,144,541
1
0
null
null
null
null
UTF-8
Python
false
false
258
py
from django.contrib import admin # Register your models here. #With this, admin(s) can manipulate these tables all they want from .models import Yam, Potatoe, Plantain admin.site.register(Yam) admin.site.register(Plantain) admin.site.register(Potatoe)
[ "atumasaake@gmail.com" ]
atumasaake@gmail.com
3568a3d0fe137b15650fae01e2fd7836f23c38ca
7ce8670cc2b63a01aa4fa08ff040dc2ea2304c04
/auth_module/migrations/0007_auto_20180918_0920.py
4dbf5f217f33eefe662fb03a3f270f94ec17aca6
[]
no_license
Shamsulhaq/sonomm
bca793f21fbbb698a498159fc592063751099cd2
0d1fed65bfcc8829b80c018ca460ce198869a21f
refs/heads/master
2020-03-26T08:05:46.667063
2018-11-28T18:41:35
2018-11-28T18:41:35
138,379,757
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
# Generated by Django 2.1.1 on 2018-09-18 09:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ecommarce', '0014_remove_order_delivery_area'), ('auth_module', '0006_auto_20180918_0909'), ] operations = [ migrations.RemoveField( ...
[ "bmshamsulhaq65@gmail.com" ]
bmshamsulhaq65@gmail.com
ef0d66b5a6a98eac085d37c9ff2b6ee684b8667c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/DtBankPreferenceDiscountRule.py
330b4bfc5962765c08da6afcebf568b49c731365
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,337
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class DtBankPreferenceDiscountRule(object): def __init__(self): self._max_amount = None self._ratio = None @property def max_amount(self): return self._max_amount ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
3f8411973c257d0b95b17da0ed40cd260a2aad7c
e5773eee210e2fa0f7f64e6f2640efb41d814ca4
/codefights/arcade/land_of_logic/spiral_numbers.py
7fb331bfc0bc10f4c03850813e4d8fbbafa1221d
[]
no_license
djaychela/playground
2513b8b5b32ff0e7351cd2ba469e9bd718decfd9
0a94ac251f150673b15a9e00d3664f9eff14369d
refs/heads/master
2021-07-17T09:30:11.651857
2019-01-16T13:47:13
2019-01-16T13:47:13
112,640,280
1
0
null
null
null
null
UTF-8
Python
false
false
648
py
def spiralNumbers(n): coord = [0, -1] dirs = [[0, 1], [1, 0], [0, -1], [-1, 0]] val = 1 dir_ptr = 0 ctr = 1 # set for first time output = [[0 for _ in range(n)] for _ in range(n)] current = 0 while n > 0: while current < n: coord[0] += dirs[dir_ptr][0] co...
[ "djaychela@gmail.com" ]
djaychela@gmail.com
351fd19f3f72c1079ea58324f1db9d89e153494c
9349cd31fed274e7dc878c2fa57828ba4afb5368
/backend/dating/api/v1/serializers.py
72a06ddff3a1cbbcb97b71c35a83a20173672f49
[]
no_license
crowdbotics-apps/symh-25279
58fe6a7f7777b1b61aeb9bc38d1081d548a600db
1c4fe4a8cfc52acdcbeb7164e45975b6c0b48107
refs/heads/master
2023-03-27T06:23:04.054805
2021-03-26T15:05:03
2021-03-26T15:05:03
351,819,211
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
from rest_framework import serializers from dating.models import Setting, Profile, Inbox, Dislike, Match, UserPhoto, Like class MatchSerializer(serializers.ModelSerializer): class Meta: model = Match fields = "__all__" class SettingSerializer(serializers.ModelSerializer): class Meta: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4fe42ac7cdd7822f0e1888c23b1bce1a210dd863
d3192b76f276d5102b231baf470f32d39a5e4854
/src/trajtracker/stimuli/__init__.py
1d4afad6d933f3472926a9144613ea4a1fbd3ed1
[]
no_license
drordotan/trajtracker
874529e1c253f6d2c7527967616adf1c03977e05
f76693c14d649899cfab5b2bbad4835dbf1cd15c
refs/heads/master
2021-06-15T05:31:06.404147
2017-03-27T18:49:21
2017-03-27T18:49:21
81,454,083
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
""" TrajTracker - stimuli package @author: Dror Dotan @copyright: Copyright (c) 2017, Dror Dotan """ # Import the package classes from _NumberLine import NumberLine from _StimulusSelector import StimulusSelector
[ "dror.dotan@gmail.com" ]
dror.dotan@gmail.com
b63a48c7350a0be3b381d6cf747524bec8a344a9
0b868fe1c0d20fcafed594ffcfac237b985eb332
/Algorithms/134. Gas Station/Solution.py
02f09e99d5470cf3bf16ea3152d5bbce6965f43d
[]
no_license
AlisonZXQ/leetcode
f43f12009b3bbf35c1dfaf06cfc6689089a3d51b
bd6b18f134336513bbc3112be6e33c79374a7cb1
refs/heads/master
2021-01-19T17:14:28.398493
2016-10-14T01:34:56
2016-10-14T01:34:56
82,442,695
1
0
null
2017-02-19T07:27:35
2017-02-19T07:27:35
null
UTF-8
Python
false
false
709
py
#coding=utf-8 __author__ = 'xuxuan' class Solution(object): def canCompleteCircuit(self, gas, cost): """ :type gas: List[int] :type cost: List[int] :rtype: int """ l=len(gas) remider=[gas[i]-cost[i] for i in range(l)] if sum(remider)<0: ret...
[ "524058708@qq.com" ]
524058708@qq.com
615566788b32a563b40563be0b84391b77b6ac61
dab869acd10a3dc76e2a924e24b6a4dffe0a875f
/Laban/build/bdist.win32/winexe/temp/pandas.algos.py
7fd03182789f4d14b2b2b64de6fe0456f9ffcce3
[]
no_license
ranBernstein/Laban
d82aff9b0483dd007e03a06e51f7d635f62ed05d
54c88afa9493deacbdd182904cc5d180ecb208b4
refs/heads/master
2021-01-23T13:17:51.777880
2017-02-14T09:02:54
2017-02-14T09:02:54
25,508,010
3
1
null
2017-02-14T09:02:55
2014-10-21T07:16:01
Tcl
UTF-8
Python
false
false
362
py
def __load(): import imp, os, sys try: dirname = os.path.dirname(__loader__.archive) except NameError: dirname = sys.prefix path = os.path.join(dirname, 'pandas.algos.pyd') #print "py2exe extension module", __name__, "->", path mod = imp.load_dynamic(__name__, path) ##...
[ "bernstein.ran@gmail.com" ]
bernstein.ran@gmail.com
59e4dc326e4859b309fdecf33ecf0c6a3b075ca4
81579ecd0678d652bbb57ff97529631fcfb74b12
/corehq/apps/users/dbaccessors/__init__.py
17d0dd2f79846477accc5331c0ed45d62726beb0
[ "BSD-3-Clause" ]
permissive
dungeonmaster51/commcare-hq
64fece73671b03c1bca48cb9d1a58764d92796ea
1c70ce416564efa496fb4ef6e9130c188aea0f40
refs/heads/master
2022-12-03T21:50:26.035495
2020-08-11T07:34:59
2020-08-11T07:34:59
279,546,551
1
0
BSD-3-Clause
2020-07-31T06:13:03
2020-07-14T09:51:32
Python
UTF-8
Python
false
false
241
py
from .all_commcare_users import ( get_all_commcare_users_by_domain, get_practice_mode_mobile_workers, get_user_docs_by_username, ) from .couch_users import ( get_user_id_and_doc_type_by_domain, get_user_id_by_username, )
[ "orange.jenny@gmail.com" ]
orange.jenny@gmail.com
8b4ce0dac0782c47424b08ec1c6de4e166d84e4f
bf8870d923adca9877d4b4dacef67f0a454727a8
/codeforces.com/contest/1/a/pr.py
7c66e540b35e928c5236bc07ce0891226ebbd075
[]
no_license
artkpv/code-dojo
6f35a785ee5ef826e0c2188b752134fb197b3082
0c9d37841e7fc206a2481e4640e1a024977c04c4
refs/heads/master
2023-02-08T22:55:07.393522
2023-01-26T16:43:33
2023-01-26T16:43:33
158,388,327
1
0
null
2023-01-26T08:39:46
2018-11-20T12:45:44
C#
UTF-8
Python
false
false
236
py
#!python3 """ 6 6 4 11112222 11112222 11112222 11112222 3333 n%a == 0 : n//a else n//a + 1 """ n, m, a = [int(i) for i in input().strip().split(' ')] x = n//a + (1 if n%a > 0 else 0) y = m//a + (1 if m%a > 0 else 0) print(x * y)
[ "artyomkarpov@gmail.com" ]
artyomkarpov@gmail.com
fcc33055f2138589f1f07e03312778d44a1b33b0
cd557e3c2b34f30f2e7caf7c79c07ff6e109fbd3
/k2/addons/k2-infra/setup.py
990afcc142b8591c002441aad0b147bff9f50d4f
[ "Apache-2.0" ]
permissive
Zenterio/opensourcelib
f005174c049df0f5deddc1269d7c343a8e219ca5
07f0dabffaceb7b6202b5f691cbad46dac5868a8
refs/heads/master
2022-12-09T02:53:36.444094
2021-04-28T18:03:24
2021-05-27T13:14:58
186,092,997
5
6
NOASSERTION
2022-12-07T23:37:26
2019-05-11T05:44:37
Groovy
UTF-8
Python
false
false
953
py
import os from setuptools import find_packages, setup setup( name='k2-infra', version='0.0.1+' + os.getenv('BUILD_NUMBER', '0'), description='Addons for testing inftrastructure.', maintainer='Zenterio AB', maintainer_email='foss@zenterio.com', license='Apache 2.0', packages=find_packages( ...
[ "per.bohlin@zenterio.com" ]
per.bohlin@zenterio.com
33adf90519e533c35721ecc53ace42935b9d12b3
39e05a48b4e7941c57da4eb62207ee3b8ffcd6b4
/cpx_light_sensor.py
07fa51f794509844c8102a0ff256d9b9e97ff40f
[ "MIT" ]
permissive
kattni/Welcome_to_CircuitPython_CPX
effdac1ca57274dbbd1f5edc12594a5a131ee554
e1854679c587905cf032fdec2e701bd4614fc414
refs/heads/master
2020-03-14T18:50:39.885324
2018-05-04T18:41:56
2018-05-04T18:41:56
131,750,302
4
1
MIT
2018-05-06T00:51:57
2018-05-01T18:47:18
Python
UTF-8
Python
false
false
147
py
import time from adafruit_circuitplayground.express import cpx while True: print("Lux:", cpx.light) print((cpx.light),) time.sleep(1)
[ "kattni@adafruit.com" ]
kattni@adafruit.com
de25f6677fc334cf0eb602dce1bea75dd4a86350
34b4d55b753773b9dcfdd086cf0c2532e30025e0
/wizards/account_move_report.py
55b31a41f15a15b809ae8efd9ac9e3d8dbba4210
[]
no_license
levislibra/financiera_tablero_control
fe3badd61a5d6a3a576ccb85a2c441f3d4f79fcf
d71dfaddeee80898b2eb5b1862c4c72959414e3f
refs/heads/master
2023-07-31T11:22:40.042868
2023-07-09T18:58:59
2023-07-09T18:58:59
224,718,188
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
# -*- coding: utf-8 -*- from openerp import fields, models, api import xlwt import base64 import StringIO import json class AccountMoveReport(models.TransientModel): _name = 'account.move.report' _description = 'Reporte de Asientos contables' date_init = fields.Date("Fecha desde") date_finish = fields.Date("Fech...
[ "levislibra@hotmail.com" ]
levislibra@hotmail.com
bb8994767412bb69ced410ddff01c6e973323528
30ffd343c65bea60eb8b64aa5ae7bc962ad47604
/Build A Python REST API With Django/restapi/src/updates/api/mixins.py
b1c74fd62cea57e9415b95372173ff303b991d1a
[ "MIT" ]
permissive
kadhirash/Build-A-Python-REST-API-With-Django
fc63d205c3bdd3755cc3fb69023e35e00d78cab4
8ccb90ab27378aafb84652052aa66292bd1e6c02
refs/heads/master
2022-12-31T08:55:21.309062
2020-10-17T01:15:07
2020-10-17T01:15:07
303,760,095
1
0
null
2020-10-16T15:14:27
2020-10-13T16:14:35
Python
UTF-8
Python
false
false
293
py
from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator class CSRFExemptMixin(object): @method_decorator(csrf_exempt) def dispatch(self, *args, **kwargs): return super().dispatch(*args, **kwargs) # super(CSRFExemptMixin, self)
[ "kadhirash@gmail.com" ]
kadhirash@gmail.com
f79a43d47a57422dbcbc433a7db6946c26abb2a8
6f151b64427d47571ff8d02a24a98c9cbd8c68a5
/[剑指offer-03]findRepeatNumber.py
4e2dd0256e7d8a0f4c65ca46d839b15d378af4f2
[ "MIT" ]
permissive
Menah3m/leetcode-Python
50c0a0e518274cfa9a5ce939c37c075ce226dd04
212cae16ae868e5f031d3aeb8f614c539c1a27f1
refs/heads/master
2021-04-02T03:24:35.855185
2020-12-15T09:39:03
2020-12-15T09:39:03
248,238,533
0
0
null
2020-12-15T09:39:05
2020-03-18T13:25:55
Python
UTF-8
Python
false
false
663
py
'''思路:创建空集合,判断数组元素是否已存在, 如果存在,则说明重复,返回该值,如果不存在,则添加到集合中 时间复杂度 O(n) ''' class Solution: def findRepeatNumber(self, nums: List[int]) -> int: s = set() for num in nums: if num in s: return num else: s.add(num) # 代码2 class Solution: def f...
[ "568200065@qq.com" ]
568200065@qq.com
292ea0e0071270ad4e4813cc31e30f676c9d61a1
e7efae2b83216d9621bd93390959d652de779c3d
/snmp/datadog_checks/snmp/exceptions.py
d7e5ed8b6e84fb2fbdc7256ac3fd64716ac1ee2c
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "Apache-2.0", "MIT", "BSD-3-Clause-Modification", "Unlicense", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
658
py
# (C) Datadog, Inc. 2020-present # All rights reserved # Licensed under Simplified BSD License (see LICENSE) """ Re-export PySNMP exceptions that we use, so that we can access them from a single module. """ from pysnmp.error import PySnmpError from pysnmp.smi.error import SmiError __all__ = ['PySnmpError', 'SmiError'...
[ "noreply@github.com" ]
DataDog.noreply@github.com
59715fe52bcc908c10ecb3fee4280b45678e34f6
615e3cdc2c136b2f66b5c553d375823d3580fd08
/cursopython/venv/ex008(1).py
27fb649ba247a63253541cafd044b052c61fcf9d
[]
no_license
Android-Ale/PracticePython
859a084e224cfb52eed573e38d7d9dc91f405885
cab2ac7593deb22e6bb05a95ecd19a8ea2c96b0a
refs/heads/master
2023-05-06T06:33:36.724569
2021-05-15T00:12:06
2021-05-15T00:12:06
369,307,842
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
n1 =int(input('Digite o primeiro número:')) n2 =int(input('Digite o segundo número:')) n3 = n1+n2 print('A soma do número {} e {} é {}'.format(n1,n2,n3)) #com o uso da mascára ({}) você pode reduzir a construção do código #utilizando a mascára e a função .format
[ "alesson9silva@gmail.com" ]
alesson9silva@gmail.com
23fbc4a3143b4e08a2756ca8fd37a88812df78fe
a9d385b4afa2e81c7420c336af70bbd982f47af3
/store/pagination.py
c369c5c67ac26ea560831ac933b784c18c46d935
[ "MIT" ]
permissive
Wikidata/editgroups
219d38d1ea0dceedaf4ce68857868088fa246c96
a90532314248e004646e6238469253a0c12abdf4
refs/heads/master
2023-08-19T17:23:17.142999
2023-08-14T07:02:43
2023-08-14T07:02:43
124,276,332
16
1
MIT
2023-09-11T10:36:53
2018-03-07T18:18:51
Python
UTF-8
Python
false
false
1,164
py
from rest_framework import pagination from rest_framework.response import Response from collections import OrderedDict class PaginationWithoutCounts(pagination.LimitOffsetPagination): def paginate_queryset(self, queryset, request, view=None): self.limit = self.get_limit(request) if self.limit is No...
[ "antonin@delpeuch.eu" ]
antonin@delpeuch.eu
42a8a99b6b84c500f56cfe326ece7999b65e62ab
99d7765da35926279c4a4fd7313d55908786f4b8
/0/2/2798/2798.py
626cea018058fb2dc20b87eb8fc77a80ec38899d
[ "MIT" ]
permissive
chr0m3/boj-codes
b8294c5d4d10a5af25b5276427bccd74d0866ef5
d71d0a22d0a3ae62c225f382442461275f56fe8f
refs/heads/master
2021-08-16T15:24:57.733088
2021-03-22T13:13:10
2021-03-22T13:13:10
91,523,558
3
2
null
null
null
null
UTF-8
Python
false
false
269
py
from itertools import combinations n, m = map(int, input().split()) cards = map(int, input().split()) total = 0 for i in combinations(cards, 3): temp = sum(i) if total < sum(i) <= m: total = temp if temp == m: break print(total)
[ "chr0m3@users.noreply.github.com" ]
chr0m3@users.noreply.github.com
4eadca970b79581639aa5d3924e2fdade9182ffb
07eaef75c6bc0066d56a8810711e82b0e8b01dda
/options/graph/cover_time.py
dc756f0d065a24be113b2a2f7992d6243f29f606
[]
no_license
jinnaiyuu/Optimal-Options-ICML-2019
eb10da610d8ad7828f364c1bdb2e058aa35e7d65
4f5cd1776b47f9b16c1022d22b2cc91d6044775b
refs/heads/master
2021-06-21T06:54:41.968578
2021-02-18T09:14:09
2021-02-18T09:14:09
186,303,067
13
3
null
null
null
null
UTF-8
Python
false
false
3,214
py
import random import numpy as np import networkx as nx from options.graph.spectrum import ComputeFiedlerVector, ComputeConnectivity from options.util import AddEdge, neighbor # def HittingTime(G, t): # """ # Given a graph adjacency matrix and a start and goal state, # return a hitting time. # """ # ...
[ "ddyuudd@gmail.com" ]
ddyuudd@gmail.com
7ea0bbcdb9c21ea43f730947ac79b94efa72ea56
b55faaeb874097eb199375cdba3b7a8bab53b3c6
/proyecto/couchin/hospedajes/urls.py
f2b4a84c01d04461d2e26044367278652436c644
[]
no_license
albinegro/ingenieria2
aefff1521cfb1a2e258070193dd38e701231eda0
fd7484086fde6ad07df9fbfb54e786cbac8b86a9
refs/heads/master
2021-01-21T04:39:42.030222
2016-06-24T19:41:43
2016-06-24T19:41:43
54,141,685
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
from django.conf.urls import include, url from hospedajes import views urlpatterns = [ url(r'^view/detail/(?P<hospe_id>\d+)/$', views.view_detail, name='view_detail'), url(r'^list/couchin/$', views.list_couchin, name='list_couchin'), url(r'^my/list/couchin/(?P<user_id>\d+)/$', views.my_hospedajes, name='my...
[ "you@example.com" ]
you@example.com
77beb233b0428d505c4ca84abc2e699ab92f3973
95bc7b6cc482a6dc2cbaa7613024b63af0e8395e
/legal_e/masters/state_master.py
006f536a4f2ddf6b8d42fbae2b94d24010f99b45
[]
no_license
r-bhargavi/indialaw_11
89a2c1a530dc422a7a64804f13d713d332759306
8ff9de49c997533cc523ddff1ec4faa121473ba5
refs/heads/master
2020-04-02T22:39:50.620111
2018-10-29T18:27:11
2018-10-29T18:27:11
154,840,355
0
1
null
null
null
null
UTF-8
Python
false
false
430
py
# -*- coding: utf-8 -*- from odoo import fields, models, api class CountryState(models.Model): _description="Country state" _inherit = 'res.country.state' zone_ids= fields.One2many('state.zone', 'state_id', 'Zones') region=fields.Selection([('north','North'),('east','East'),('west','West'),('...
[ "bhargavi1809@gmail.com" ]
bhargavi1809@gmail.com
6ebd3165dfd5f3e6b6e39353229e0c61a24a004b
c2849586a8f376cf96fcbdc1c7e5bce6522398ca
/ch32/ex32-32.py
d204247855ebaad50de490ecab621c83e500fa85
[]
no_license
freebz/Learning-Python
0559d7691517b4acb0228d1cc76de3e93915fb27
7f577edb6249f4bbcac4f590908b385192dbf308
refs/heads/master
2020-09-23T01:48:24.009383
2019-12-02T12:26:40
2019-12-02T12:26:40
225,371,155
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# 내장 함수 super: 나아진 것인가 악화된 것인가? # super에 대한 엄청난 논쟁 # 전형적인 슈퍼클래스 호출 형태: 이식성이 있으며 일반적임 class C: # 파이썬 2.X와 3.X에서 def act(self): print('spam') class D(C): def act(self): C.act(self) # 슈퍼클래스의 이름을 명명하고 self를 전달 print('eggs') X = D() X.act() # spam # egg...
[ "freebz@hananet.net" ]
freebz@hananet.net
7e4d50ffc89272d317068b79b2faeb030b4c9b70
a5bd5132ee71b9c04826c7bbd8f45459e1b29590
/elasticsearchs生产/web/comm/dataimport.py
8da73a00992c4cf78da83195235847bf43c0cb90
[]
no_license
lizhenfen/works
e463cf36bd018ec3c6bdbc1e870778cabb644060
7304a3dbe68c57e918080cac217267afc692da9a
refs/heads/master
2021-01-19T22:53:14.542066
2017-05-17T03:38:06
2017-05-17T03:38:06
88,405,727
0
0
null
null
null
null
UTF-8
Python
false
false
7,287
py
from elasticsearch import Elasticsearch import csv import json import elasapi import time import database es = Elasticsearch(['192.168.15.212:9200']) # 创建拜访记录索引 def create_index(index="test-index"): # 创建索引 data = { "mappings": { "custvisit": { "properties": { ...
[ "743564797@qq.com" ]
743564797@qq.com
3fb37d9a827fffbb6898b97a96468bbd0a27008d
1edfe2fe5ae6ed81d1453446569b8fa594738cb9
/announcement/migrations/0028_auto_20200409_2135.py
42923c657c3315b60f03ec36da03fdbbee8f1c82
[]
no_license
parvatiandsons2/djangoproject
71bfbcfa6b06406b8a77ebb30f7d468d787e92dd
901062c839dde608d9c2c865b61dbc0902988e66
refs/heads/master
2022-04-28T21:53:17.333272
2020-04-16T12:26:29
2020-04-16T12:26:29
255,407,433
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
# Generated by Django 3.0.3 on 2020-04-09 16:05 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('announcement', '0027_auto_20200409_2135'), ] operations = [ migrations.AlterField( model_name='announcement', ...
[ "parvatiandsons2@gmail.com" ]
parvatiandsons2@gmail.com
1fa1ab081abf8464cc447163eed519ff33c68f19
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/squiggles/generate_data_test.py
14cf61d0f75678a9490aa210122bd30ee5addc41
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
4,704
py
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
682875d3dde4fa6c1e16e1e998e3485ba15904b4
565fc3b3e04c8cb2144bca8a512b879f09d08753
/micro_framework/store/redis_backend/utils.py
b58cda9a009683f01b77898e31461cbc9b0d9224
[ "MIT" ]
permissive
lacoski/django-micro-framework
f2a465943490532d24ba0c2736b70d8a955bd816
80b8cb52ecc3f24e8282e9deaae94edba78bdbec
refs/heads/master
2023-01-05T07:19:36.934197
2020-01-15T07:36:11
2020-01-15T07:36:11
231,289,077
1
1
MIT
2022-12-26T20:39:38
2020-01-02T01:55:55
Python
UTF-8
Python
false
false
246
py
import json def data_to_json(data): return json.dumps(data) def byte_to_string(data): return data.decode("utf8") def redis_to_data(data): if isinstance(data, bytes): data = byte_to_string(data) return json.loads(data)
[ "123xuzu@gmail.com" ]
123xuzu@gmail.com
bbb224da0513cb93449d2caae92c0e7ffac94a99
222b17dacb95640499ebd484697ead32e83b9ac1
/is_after.py
7173f6c1660d16e3cea546e6372359ed3e071d52
[]
no_license
cicekozkan/python-examples
08330ef0fb1678cace17716ac2f490a3c5b95dd2
01b0e654c884946f8353995333a6946062c9c158
refs/heads/master
2021-01-14T14:06:37.585963
2014-12-26T07:55:13
2014-12-26T07:55:13
25,510,316
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 12 10:20:44 2014 @author: asus """ def is_after(t1,t2): """takes two Time objects, t1 and t2, and returns True if t1 follows t2 chronologically and False otherwise""" # Hint: convert time to seconds and compare second1 = (t1.hour)*60*60 + (t1.minute)*60 ...
[ "cicekozkan@gmail.com" ]
cicekozkan@gmail.com
1bae57b1d55e61a240fe78daea3e0b777ac65897
12854e1de4f41ec30db48ad5847a1e7a0b61a0e9
/201901SSAFY/05PS/190405 PS/SW2112.py
53592fe9c564579b0626a8ba8e28cc5b47394b34
[]
no_license
egyeasy/TIL
b3192184cb50f255cc5473468d34d65820b29849
8985b97d267edc70d21b4cc4a1e275c8c94ccafc
refs/heads/master
2023-01-08T12:09:40.993410
2019-07-25T10:05:42
2019-07-25T10:05:42
163,810,472
0
0
null
2023-01-04T17:34:02
2019-01-02T07:47:20
Jupyter Notebook
UTF-8
Python
false
false
2,570
py
import sys sys.stdin = open('2112.txt', 'r') def backtrack(row_idx, cnt_change): global min_changed if cnt_change == total_change: if judge_done() and cnt_change < min_changed: min_changed = cnt_change return if arr_change[row_idx]: # print(arr_change, row_idx, cnt_chan...
[ "dz1120@gmail.com" ]
dz1120@gmail.com
73b309adafb435b837e61aa6fa13e28fd2bd55f7
0f900c47ebe52c20c03f559d8e77c95f965c511d
/statciAndClass/classAndStatic.py
97ac5d82106e70144b447be9694154b2176555df
[]
no_license
PGaholic/pythonParctise
ed931dca39ee4d9289c0df29e71c611a2f02506b
f49e617807ddbd9782d91f91896bbfc78e6b5c5f
refs/heads/master
2020-03-23T23:49:24.168917
2016-05-05T14:02:13
2016-05-05T14:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
def foo(x): print "executing foo(%s)"%(x) class A(object): def foo(self,x): print "executing foo(%s,%s)"%(self,x) @classmethod def class_foo(cls,x): print "executing class_foo(%s,%s)"%(cls,x) @staticmethod def static_foo(x): print "executing static_foo(%s)"%x a=A()
[ "wxwang@tju.edu.cn" ]
wxwang@tju.edu.cn
6aaaa5926e7419dfff4ee9acbd2511f53995b41f
72b00923d4aa11891f4a3038324c8952572cc4b2
/python/design_pattern/decorator/CoffeeShopCompromise.py
404761eedc1b7a342add4066011bcd87fd09fba1
[]
no_license
taowuwen/codec
3698110a09a770407e8fb631e21d86ba5a885cd5
d92933b07f21dae950160a91bb361fa187e26cd2
refs/heads/master
2022-03-17T07:43:55.574505
2022-03-10T05:20:44
2022-03-10T05:20:44
87,379,261
0
0
null
2019-03-25T15:40:27
2017-04-06T02:50:54
C
UTF-8
Python
false
false
1,571
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class DrinkComponent: def get_desc(self): return self.__class__.__name__ def get_total(self): return self.__class__.cost class Espresso(DrinkComponent): cost = 0.75 class CafeMocha(DrinkComponent): cost = 1.25 class CafeLatte(DrinkC...
[ "taowuwen@gmail.com" ]
taowuwen@gmail.com
56bff6a354d8a98c1cead9853d5d288422e31dd0
1498148e5d0af365cd7fd16197174174a7fa9800
/t000835.py
8f68a2442d39f77570f2e82ea1d58febfead6d7e
[]
no_license
feiyanshiren/myAcm
59a2b80fe7e02787defcb152eee3eae26135322a
00c7082d5143ddf87aeeafbdb6ce29da46dc8a12
refs/heads/master
2023-09-01T12:12:19.866447
2023-09-01T09:09:56
2023-09-01T09:09:56
148,560,672
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
try: c = "CAmEm" while 1: s = input() j = 0 b = 1 for i in range(len(s)): if j == 5: j =0 if s[i] != c[j]: b = 0 break j += 1 if b: print("YES") else: print("NO") except: pass
[ "feiyanshiren@163.com" ]
feiyanshiren@163.com
0abb017577fa158e1bd7aacdb206bf01ace0c5b0
99ba551645dc9beed36f0478b396977c50c3e7ef
/leetcode-vscode/142.环形链表-ii.py
1835dcd4539b9ff6339882f8cfaa140b1f2f7255
[]
no_license
wulinlw/leetcode_cn
57381b35d128fb3dad027208935d3de3391abfd0
b0f498ebe84e46b7e17e94759dd462891dcc8f85
refs/heads/master
2021-08-09T17:26:45.688513
2021-07-15T14:38:30
2021-07-15T14:38:30
134,419,586
0
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
# # @lc app=leetcode.cn id=142 lang=python3 # # [142] 环形链表 II # # https://leetcode-cn.com/problems/linked-list-cycle-ii/description/ # # algorithms # Medium (48.71%) # Likes: 390 # Dislikes: 0 # Total Accepted: 58.6K # Total Submissions: 119.3K # Testcase Example: '[3,2,0,-4]\n1' # # 给定一个链表,返回链表开始入环的第一个节点。 如果链表无...
[ "wulinlw@gmail.com" ]
wulinlw@gmail.com
d0e85594d959bf91d7345f965bb100e479313980
844b5a836545ddfb3c82b644f5c1f3fb40e6307e
/scripts/goodreads/fetched/book_foo.py
5147216c9dd9e11b5846f99e4f4ad529a587c068
[]
no_license
datademofun/goodreads-nyt-api-explorer
c8a980a11cc25caed7ea3b3e34e408fcdf48309c
73a463b86f63db13f53eb63599addc9940d7e394
refs/heads/master
2021-01-22T16:48:41.006241
2016-04-28T04:19:26
2016-04-28T04:19:26
57,183,250
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
import requests API_ENDPOINT = 'https://www.goodreads.com/book' def fetch_book_ids(api_key, isbns): """ arguments: `api_key` is Goodreads API key `isbns` is either a sequence of isbns string; or a comma-delimited string returns: A requests.Response object... let the c...
[ "dansonguyen@gmail.com" ]
dansonguyen@gmail.com
a30bcf73afe63bee2961cd79eeae13ebfab66b48
07620d7b43568cffe951f2cf033a280646961974
/util/vanilla_util.py
c1b7f560ea67cb663256ea3185e51af608052eff
[]
no_license
matthewzhang1998/snip
8c396718a6e03b7197621deb649b26945d5f09f4
152df22ee077d98c8c37e851a5e72e87c2b3710c
refs/heads/master
2020-04-07T10:18:30.812114
2019-01-31T21:53:24
2019-01-31T21:53:24
158,281,815
0
0
null
null
null
null
UTF-8
Python
false
false
4,172
py
import tensorflow as tf from util.network_util import * class DenseFullyConnected(object): def __init__(self, input_depth, hidden_size, scope, activation_type, normalizer_type, weight, train=True): self._scope = scope self.input_depth = input_depth self.h...
[ "matthew.zhang@mail.utoronto.ca" ]
matthew.zhang@mail.utoronto.ca
179a6db68edc7a9287c896b7180bac4d767f1f7a
cd7778c69d8b5396c5463da0a9175fd7671d52e5
/code/examples/ssl_tls.py
d73cce431b16a01534072280b8c643d1ecb7a317
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sky-chen/pymqi
5358e093ef2708fa87e4614d29d6bf0fa62f71bf
7bfedcf076dc56559efe133dd9213b483bae34d7
refs/heads/master
2020-12-11T09:17:47.238745
2014-11-13T16:09:57
2014-11-13T16:09:57
23,863,682
1
2
null
null
null
null
UTF-8
Python
false
false
1,059
py
# See discussion and more examples at http://packages.python.org/pymqi/examples.html # or in doc/sphinx/examples.rst in the source distribution. import logging import pymqi import CMQC logging.basicConfig(level=logging.INFO) queue_manager = "QM01" channel = "SSL.SVRCONN.1" host = "192.168.1.135" port = "1434" queue...
[ "dsuch-github@gefira.pl" ]
dsuch-github@gefira.pl
0e6a94818caad7695cfc44edc461f6ee21bf9189
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/pyobjc-framework-GameController/PyObjCTest/test_gccontrollerelement.py
df113258b0aef820cbd9df762a1ef12f2febd0a5
[ "MIT" ]
permissive
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
from PyObjCTools.TestSupport import TestCase, min_os_level import objc import GameController class TestGCControllerElement(TestCase): def test_constants(self): self.assertEqual(GameController.GCSystemGestureStateEnabled, 0) self.assertEqual(GameController.GCSystemGestureStateAlwaysReceive, 1) ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
b757b2b0ba4148ee6d6821aebac9dcdcab295df4
9c83300b5cbb7d2b736c3be06e96144f4f775c7f
/aiida_lammps/tests/test_potential_data.py
a6d6fb43e1ebee64296207e3947253709574c9c6
[ "MIT" ]
permissive
chrisjsewell/aiida-lammps
80cf3ebd0d0eb96fe68253371409a04acc1299f7
8f618541784bbd6360efc653350570cf76398e83
refs/heads/master
2022-04-30T03:50:47.455155
2021-06-17T12:15:47
2021-06-17T12:15:47
148,841,763
0
0
MIT
2018-09-17T15:10:43
2018-09-14T21:05:00
Python
UTF-8
Python
false
false
1,344
py
import pytest from aiida_lammps.data.potential import EmpiricalPotential def test_list_potentials(): assert set(EmpiricalPotential.list_types()).issuperset( ["eam", "lennard_jones", "reaxff", "tersoff"] ) def test_load_type(): EmpiricalPotential.load_type("eam") @pytest.mark.parametrize( ...
[ "chrisj_sewell@hotmail.com" ]
chrisj_sewell@hotmail.com
2410325dcb31a718b0b7f8c0867853941cb98173
f4795e9015e4af3f6518efd5f16effc4094d700c
/25 prog.py
0a863d91b23117c3d4d0e20776483e3d4b67bed3
[]
no_license
Akhil-64/python
1d1fe8e3957acd7f5b53b42fd6834d3862ca7acf
0df9602f5ed794be2a91e1e8072b967597e1e259
refs/heads/master
2020-06-19T18:40:19.252057
2019-12-11T22:14:19
2019-12-11T22:14:19
196,826,071
1
0
null
null
null
null
UTF-8
Python
false
false
237
py
print("enter characters") a=0 count=0 count2=0 while(a!="*"): a=str(input()) if(a>='a' and a<='z'): count+=1 elif(a>='A' and a<='Z'): count2+=1 print("upper case",count2) print("lower case",count)
[ "noreply@github.com" ]
Akhil-64.noreply@github.com
12ac83aeb4569f4e65cd586f3d3b022ae704a4cf
d8fe3b5243bec2b61fd7907c4ff799b24bb617e5
/Codewars/LinkedListsInsertNthNode.py
1d0837dacc9cc0d182f371124b78ce7b8ef7e7a0
[ "Unlicense" ]
permissive
SelvorWhim/competitive
b89ed252512d88d9346d168dc6b48e0a42a6142d
1c73a5c7b2d0dc1b6c4f3f06ace69cdf5c6a34c0
refs/heads/master
2023-04-13T01:02:52.083519
2023-04-11T10:14:38
2023-04-11T10:14:38
96,573,533
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Node(object): def __init__(self, data, next = None): # added option to construct with provided next pointer for simplicity self.data = data self.next = next def insert_nth(head, index, data): if index == 0: # separate case because head changes return Node(data, head) it = ...
[ "Carmeverre@gmail.com" ]
Carmeverre@gmail.com
546d1ff58e4afd3352b8718be8af7dd9e86280bc
a81c1492783e7cafcaf7da5f0402d2d283b7ce37
/google/ads/google_ads/v6/services/transports/geo_target_constant_service_grpc_transport.py
f5e2f1ab8337d75227997b0925947bdafd5a0d68
[ "Apache-2.0" ]
permissive
VincentFritzsche/google-ads-python
6650cf426b34392d1f58fb912cb3fc25b848e766
969eff5b6c3cec59d21191fa178cffb6270074c3
refs/heads/master
2023-03-19T17:23:26.959021
2021-03-18T18:18:38
2021-03-18T18:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,273
py
# -*- coding: utf-8 -*- # # Copyright 2020 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...
[ "noreply@github.com" ]
VincentFritzsche.noreply@github.com
8712263c1acc0a7c2d4b87657cd121e19a603640
9201240f43937b9dd4341358062824619b64a8dc
/cbs/base/__init__.py
0bbb140af958023e52c4d1d26fcbc4a75452ea2e
[ "BSD-2-Clause" ]
permissive
MarkusH/django-classy-settings
60fda08b26f9787ffdb391ff73736730b849d972
11ad00f1900ed1b4a9d699978548adc8cbba1a1b
refs/heads/master
2021-01-16T19:44:06.932001
2015-08-17T02:25:07
2015-08-17T02:25:07
40,856,299
0
0
null
2015-08-17T02:20:32
2015-08-17T02:20:32
null
UTF-8
Python
false
false
629
py
import inspect import os class CoreSettings(object): ''' Settings not likely to change between versions ''' @property def BASE_DIR(self): return os.path.dirname( os.path.dirname( os.path.abspath(inspect.getfile(self.__class__)) ) ) DEB...
[ "curtis@tinbrain.net" ]
curtis@tinbrain.net
062f0a3ea6165f232eed90e7f2eafa32b67790d1
5baf3cb8b08dcea2d53d2ef022e5c6d4b2468494
/test/test_io_k8s_apimachinery_pkg_version_info.py
c310492742f948ced844a39ca03bf912b44f5b2a
[]
no_license
atengler/swagger-kqueen-python
a4fc0de38378a08c6c2e0c339032ed4ad63f09f5
01225c74a743636483211f0274f772193517ffaf
refs/heads/master
2021-08-07T18:16:28.453730
2017-11-08T17:24:53
2017-11-08T17:29:03
110,007,477
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# coding: utf-8 """ Kubernetes Queen API A simple API to interact with Kubernetes clusters OpenAPI spec version: 0.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import swagger_client from swa...
[ "atengler@mirantis.com" ]
atengler@mirantis.com
7d1045c50da8399a7b15b3a40e19c579d6065c01
4246b31decc48e83c7b780a97d8bd1f698b939e6
/.PyCharm40/system/python_stubs/-1247972723/lxml/etree/ErrorLevels.py
cea04babfafa26ebdcb88db9ecaf4c5339210e03
[]
no_license
sunileman/pycharm
d5a1694af76764f50535ced529d398780a09b75e
880a1804fd3de4a4cd3d0c1da27a5ad8d3559137
refs/heads/master
2021-01-19T05:26:09.453603
2016-06-29T16:38:55
2016-06-29T16:38:55
61,857,462
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
# encoding: utf-8 # module lxml.etree # from /usr/lib64/python2.7/site-packages/lxml/etree.so # by generator 1.136 """ The ``lxml.etree`` module implements the extended ElementTree API for XML. """ # imports import __builtin__ as __builtins__ # <module '__builtin__' (built-in)> from object import object class ErrorL...
[ "sunilemanjeegmail.com" ]
sunilemanjeegmail.com
d078fc5a0af085902f5e5828782e9b6ab090494f
48b7b96a5caf2102ae6ca5626efc0135d4088a75
/server/template/views.py
29d374209693621bf737dd5a20200160a3b403ab
[]
no_license
DonAurelio/coder
ced49498e0e0717fa8f0c523e5a2ff87895f162d
429d2e4c43d66770792200bac6cd103f86dcf8b1
refs/heads/master
2023-01-11T08:59:43.749545
2019-10-02T19:58:07
2019-10-02T19:58:07
106,939,435
2
1
null
2022-12-29T07:03:46
2017-10-14T15:33:08
JavaScript
UTF-8
Python
false
false
6,153
py
from django.http import JsonResponse from django.db import IntegrityError from django.views.generic import TemplateView from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from providers.models import Service, Resource from project.models import Project, File impo...
[ "aurelio.vivas@correounivalle.edu.co" ]
aurelio.vivas@correounivalle.edu.co
633b81659336b13ea72b1c705dbe3eabe0dafdd2
de392462a549be77e5b3372fbd9ea6d7556f0282
/issues_9001/migrations/0016_auto_20200806_1445.py
33583a141c4cd3d600fc58070855615d8403f18c
[]
no_license
amutebe/AMMS_General
2830770b276e995eca97e37f50a7c51f482b2405
57b9b85ea2bdd272b44c59f222da8202d3173382
refs/heads/main
2023-07-17T02:06:36.862081
2021-08-28T19:07:17
2021-08-28T19:07:17
400,064,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
# Generated by Django 3.0.2 on 2020-08-06 11:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('issues_9001', '0015_auto_20200806_1418'), ] operations = [ migrations.AlterField( model_name='mod9001_interestedparties', ...
[ "mutebe2@gmail.com" ]
mutebe2@gmail.com
6eca2a2d17393cdc35ba85a22bca70512b551a97
70450f0c551adf47b450468e424f4f90bebfb58d
/icetray/resources/test/try_copy.py
7e43a8c75a8172e1e5b0d3c1517127d9cafc616a
[ "MIT" ]
permissive
hschwane/offline_production
ebd878c5ac45221b0631a78d9e996dea3909bacb
e14a6493782f613b8bbe64217559765d5213dc1e
refs/heads/master
2023-03-23T11:22:43.118222
2021-03-16T13:11:22
2021-03-16T13:11:22
280,381,714
0
0
MIT
2020-07-17T09:20:29
2020-07-17T09:20:29
null
UTF-8
Python
false
false
625
py
#!/usr/bin/env python # # Checking that the driving time exists # import sys from I3Tray import * from icecube import icetray tray = I3Tray() # generate empty frames tray.Add("BottomlessSource") tray.Add("AddNulls", where = ["src1", "src2"]) # verify they are there tray.Add("FrameCheck", ensure_physics_has = ...
[ "aolivas@umd.edu" ]
aolivas@umd.edu
88032acdae159679f6cbb3cbafc284fc9328e78b
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/large-scale-multiobj2/core-arch5-guard0-beta0-hebbe/pareto22.py
692a6b356203507134c30bfa32a047886c955df9
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize both throughput and connections """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch5_decomposition_new import Arch5_decompose np.random...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
fb43dc876e2f762f42c5396e681722293e9a7336
2136701f48ad131084b331039d864f85988cf451
/spider/work/media_huanan/somenew/lianx.py
d8ef18f5c0cd612306d8247fd472acfc76ff35da
[]
no_license
cuiyulin77/other
9d374a47d482f1c3f9ef0f3ac4429487643b04b9
c00cafaf7607452966fa523c4d0b04edb7f153e6
refs/heads/master
2020-05-18T04:24:26.095929
2019-04-30T06:37:53
2019-04-30T06:37:53
184,169,488
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
#!/usr/bin/env python #coding=utf-8 import math import datetime # 求输入数字的平方,如果平方运算后小于 50 则退出。 a = [1,2,3,None,(),[],] print(len(a))
[ "494658565@qq.com" ]
494658565@qq.com
31a3e0cf7a4a431f28026adcbb49b2cd91cda1ac
06292f96cba132ca57777672a447cfff7c5abee6
/week6/programingCode/tempCodeRunnerFile.py
63170c4ed1afb3642715d8c76ff8c18328b4aac2
[]
no_license
kietteik/ppl
1746440b12affe71e67d6f958922b32b1fdaab5c
2ee60582e81595b8d8b5d0f8212d20151cfe9264
refs/heads/master
2023-03-01T00:24:36.969189
2021-01-31T05:15:13
2021-01-31T05:15:13
305,802,556
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
# class Program(): # decl:list(VarDecl) # def __init__(self, decl: list): # self.decl = decl # def __str__(self): # result = '' # for i in self.decl: # result += str(i) # return result
[ "kietteikdoi@gmail.com" ]
kietteikdoi@gmail.com
cd18e964a0d1a44e894db37dae495e69272fd6aa
6d9dc23f633c348e236a6ee6cdc570d42538e1d3
/RNN_SENTIMENT_ANALYSIS/app.py
effc437fee1d6f5951232c45ceeba880fa3a6321
[]
no_license
chutianwen/TensorflowProjects
4358c78339242cf91a7960a5cfd411386ccef158
989799c17fc30b9066d393e39e48c3e685762cf2
refs/heads/master
2022-11-19T07:38:27.513214
2017-08-17T16:23:02
2017-08-17T16:23:02
98,471,862
0
1
null
2022-10-30T09:09:49
2017-07-26T22:51:32
Python
UTF-8
Python
false
false
392
py
from DataCenter import DataCenter from NeuralNetworks import NeuralNetworks from helper import logger if __name__ == "__main__": logger.info("Start Job...") inputs, targets = DataCenter().run() neural_network = NeuralNetworks(inputs, targets, split_fraction=0.8, embed_size=300, lstm_size=256) neural_n...
[ "tianwen.chu@fedcentric.com" ]
tianwen.chu@fedcentric.com
60e8638d2776990bc2d045d7c33443dfe98f85cd
5c84124e6ffdbb3a1e787a8ecd1e2a1117220b0d
/.history/pwd_20210906062146.py
b459d8cfaf8973382738cfcc2ab3b0412f5a8b9b
[ "MIT" ]
permissive
GraceOswal/Password-Locker
d96eecf442817ee9b490050629ceb43463a7c508
57da03c46e4044bea681e59c56bcb9ed3a79db71
refs/heads/master
2023-07-28T01:45:59.916339
2021-09-07T14:11:10
2021-09-07T14:11:10
403,255,894
0
0
null
null
null
null
UTF-8
Python
false
false
7,230
py
#!/usr/bin/env python3.8 from passlock import User, Credentials def create_new_user(username,password): ''' Function to create a new user with a username and password ''' new_user = User(username,password) return new_user def save_user(user): ''' Function to save a new user ''' u...
[ "graceoswal88@gmail.com" ]
graceoswal88@gmail.com
03c525fd35aa0c4182bda9145a3898b30d4a19ef
666e6233275d23dda84a24fa55aa38243ec91536
/src/toolshelf/commands/export.py
7f81a7aaf33328b38b0a8435162e49d687fbbe2c
[ "MIT" ]
permissive
catseye/toolshelf
5f4dbf8902ddbe4c3fcb2d240fc5b3a977ed2cb0
d597455a57610d34658fa37a3ec8c780996cd65f
refs/heads/master
2020-12-24T06:02:39.836314
2017-05-31T13:42:36
2017-05-31T13:42:36
4,310,103
6
2
null
null
null
null
UTF-8
Python
false
false
1,250
py
""" Clones a copy of each of the docked sources to the output directory. """ import os from toolshelf.toolshelf import BaseCommand class Command(BaseCommand): def perform(self, shelf, source): dest_dir = os.path.join(shelf.options.output_dir, source.name) if os.path.isdir(dest_dir): s...
[ "cpressey@catseye.tc" ]
cpressey@catseye.tc
cb1ec24121ab1f31ef277322946d8eec1aa5b992
6d5fcd3a46cf5a1d5480b84ee82c41b3a7283b65
/0x02-python-import_modules/4-hidden_discovery.py
1c6580426e030966f5472c01b8267b92f86854f9
[]
no_license
Nesgomez9/holbertonschool-higher_level_programming
f8e6fa39d9c68e60ddd9e0082b3b83e891e8620e
b7b22d0f28eed0953fafff941c9100c9970a2336
refs/heads/master
2020-09-29T02:08:56.666164
2020-06-24T02:23:42
2020-06-24T02:23:42
226,923,230
1
0
null
null
null
null
UTF-8
Python
false
false
175
py
#!/usr/bin/python3 if __name__ == '__main__': import hidden_4 for names in dir(hidden_4): if not names.startswith("__"): print("{}".format(names))
[ "nicolico99@hotmail.com" ]
nicolico99@hotmail.com
ebcc3de6d4b8d32edb27c970840beace7f2cb26a
836693663046321e9f77e998d85c76bf43e4230c
/examples/flask/catch_specific_exception/app.py
1d27328c9eeb46585742fe2e054f5d3e43594c77
[]
no_license
szabgab/code-maven.com
6364be5c1f86a61a6fdb97480f78a0e1dcb87f1d
1dc8fc34776a53e6ada24e2be8e27292667f873c
refs/heads/main
2023-09-03T02:53:14.972731
2023-08-28T15:19:01
2023-08-28T15:19:01
29,928,137
33
66
null
2023-09-14T17:20:31
2015-01-27T18:25:22
HTML
UTF-8
Python
false
false
626
py
from flask import Flask import datetime app = Flask(__name__) @app.errorhandler(Exception) def server_error(err): app.logger.exception(err) return "Some general exception", 500 @app.errorhandler(ZeroDivisionError) def server_error(err): app.logger.exception(err) return "Cannot divide by 0", 500 @a...
[ "gabor@szabgab.com" ]
gabor@szabgab.com
b1ecbcd7d4a10ba5f6e3d439d80f03e8ff4a2952
25ef6e5d6e8a8a88001e0776c105c286af89ec84
/vclurk/git_updater.py
279aa669c12f37c7aef0aa5aa2636d1b9653f8fe
[ "MIT" ]
permissive
takluyver/vclurk
02178aba13e8590207ffae9677f613209803081e
e966bfef32c19a8db41247453d51685d3ae3a1dd
refs/heads/master
2023-06-19T18:51:34.795414
2016-03-03T17:42:13
2016-03-03T17:42:13
49,457,362
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
import asyncio import os import re cmd = asyncio.create_subprocess_exec @asyncio.coroutine def fetch(repo, remote='origin', loop=None): proc = yield from cmd('git', 'fetch', remote, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.STDOUT, loop=loop) branch_update_re = r...
[ "thomas@kluyver.me.uk" ]
thomas@kluyver.me.uk
2a42bcf9cf29b899620fa6d68b47bcfd1ec87b8d
d5cc0c9f8d94e9d020b3e50c0a125d2041dd3baa
/AttendifySite(Flask)/env/lib/python3.6/site-packages/turicreate/_scripts/_pylambda_worker.py
e3de600ada2ae158dff4a7bfb3d538469ca378e5
[ "MIT" ]
permissive
arnavgup/Attendify_iOS
be896579de4560cff36a4b163384d0eeabbb7dd9
c2efc3273a7b99c09d918567718ac87d7f0179d8
refs/heads/master
2022-10-31T13:16:11.081902
2018-12-09T00:11:42
2018-12-09T00:11:42
158,432,022
3
2
MIT
2022-10-10T10:53:53
2018-11-20T18:10:16
Swift
UTF-8
Python
false
false
6,137
py
# -*- coding: utf-8 -*- # Copyright © 2017 Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can # be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause from __future__ import print_function as _ from __future__ import division as _ from...
[ "gyao@andrew.cmu.edu" ]
gyao@andrew.cmu.edu
1e4a110186b5c369644d1ee9dec788321b4dea3b
d1fb8bb087564052674cb33ac6d75daca4ae586a
/Databricks/doc13. Domain Click.py
b9cd10be769f754f7ea7b941dc1366265b56ea0e
[]
no_license
YunsongZhang/lintcode-python
7db4ca48430a05331e17f4b79d05da585b1611ca
ea6a0ff58170499c76e9569074cb77f6bcef447a
refs/heads/master
2020-12-24T03:05:43.487532
2020-01-30T19:58:37
2020-01-30T19:58:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
# 第一题:给广告在每个domain上被click的次数. 1point3acres.com/bbs # 要求返回domain及其所有sub domain 被click的总次数 # 输入:[ # ["google.com", "60"], # ["yahoo.com", "50"], # ["sports.yahoo.com", "80"] # ] # 输出:[ # ["com", "190"], (60+50+80) # ["google.com", "60"], # ...
[ "haixiang6123@gmail.com" ]
haixiang6123@gmail.com
afb85d189ed4e51fabba831a28772f9c826e94f0
6bbf2b1d9a2118901ee91c223b2a4ed929e760dd
/setup.py
4cb4ffce7cc3ad25ac2edb75ebc5db8f56373536
[ "ISC" ]
permissive
pgq/python-skytools
35c0b0cdf9639b1b82248551e759cc8224256905
0b846b65de4090228355a8494a3c731480f6dfbe
refs/heads/master
2023-08-30T22:23:24.381848
2023-08-27T14:45:39
2023-08-27T14:45:39
60,341,358
8
4
ISC
2021-04-15T17:58:05
2016-06-03T10:57:37
Python
UTF-8
Python
false
false
883
py
"""Setup for skytools module. """ from typing import Tuple from setuptools import Extension, setup try: from wheel.bdist_wheel import bdist_wheel class bdist_wheel_abi3(bdist_wheel): def get_tag(self) -> Tuple[str, str, str]: python, abi, plat = super().get_tag() if python.star...
[ "markokr@gmail.com" ]
markokr@gmail.com
48001f2411eaed579ca271112a18b008eb91cdc2
13c57575ee72e4dfa6c798173232aeffedb110a2
/tensorflow_probability/python/distributions/mvn_diag_plus_low_rank_covariance_test.py
6d76f9e966f9805a1597fb02e62c69c0eb691a91
[ "Apache-2.0" ]
permissive
MBounouar/probability
5599f11d68742c707e37d79f7939c982f5579fa1
4fb2e2876ae4a1f37619602def29f2092746938f
refs/heads/master
2022-09-19T20:37:45.515837
2022-08-30T18:53:48
2022-08-30T18:55:03
180,814,080
0
0
null
2019-04-11T14:50:14
2019-04-11T14:50:14
null
UTF-8
Python
false
false
2,588
py
# Copyright 2021 The TensorFlow Probability 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 o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
1621bab385f9b227be860340ad5ea99640fcd96b
4df32cdc140f3a15c9a540787241c513ff4652a4
/exercicios_resolvidos3/exercicios3/capitulo 08/exercicio-08-04.py
af3fd098296a9deb6dd4cc174b53f5382bccf5c0
[ "MIT" ]
permissive
tiagosm1/Python_Nilo_Ney
04039c4a9294d480b0493d71e46cc850168c5365
b5380dcc8fcf64e9c047ebc353585caba3d7b397
refs/heads/main
2023-02-18T22:07:46.696674
2020-12-23T11:27:30
2020-12-23T11:27:30
317,965,139
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2020 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "72826762+tiagosm1@users.noreply.github.com" ]
72826762+tiagosm1@users.noreply.github.com
ff62a00479ce55ad8b065a4c0d727dc50b63ba66
3f763cf893b09a3be562858613c928703ff349e4
/client/verta/verta/_bases/_lazy_list.py
3bf29347e9ffbc2ddd98057268799fc879c4b230
[ "Apache-2.0" ]
permissive
VertaAI/modeldb
636e46fc025b01a514d599b10e228c8735503357
ec9ac7712500adb13fd815dfd476ce9f536c6921
refs/heads/main
2023-08-31T00:45:37.220628
2023-08-30T18:45:13
2023-08-30T18:45:13
71,305,435
844
142
Apache-2.0
2023-09-14T19:24:13
2016-10-19T01:07:26
Java
UTF-8
Python
false
false
5,162
py
# -*- coding: utf-8 -*- import abc import copy import re from verta._vendored import six from verta._protos.public.common import CommonService_pb2 as _CommonCommonService from verta._internal_utils import _utils from ._paginated_iterable import _PaginatedIterable @six.add_metaclass(abc.ABCMeta) class _LazyList(_Pa...
[ "noreply@github.com" ]
VertaAI.noreply@github.com
583b4ded93cb4d822ed5868a71142760cd5afa1a
ab32e6384b7c679a327a4bf1df6dd24c058b78a5
/notifications/tasks.py
2adaa9480ae47e68866ea144fca2ebf67f8ca41a
[]
no_license
webmaxdev0110/digi-django
ad2497791d6d3b6aa74eb697dd7eef324ebb5846
4cd52c07bb64e9d9381a957323d277489a02181a
refs/heads/master
2020-03-23T13:37:12.600565
2017-07-10T10:23:15
2017-07-10T10:23:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
from celery.task import task from notifications.apis import ( send_sms_message, send_email, ) from emondo.celery import app @app.task def send_one_off_sms_message(number, text, provider='plivo'): send_sms_message(number, text, provider) @app.task def send_one_off_email(subject, to_address, text_email='...
[ "webmax0110.dev@gmail.com" ]
webmax0110.dev@gmail.com
90cf8c8487511fb51a0d87d1f80bc09bfec4cfa9
bf3c0b0b2f5eed28043caa155f001bb656ed41a5
/softboxen/cli/factory.py
9105b002614fa04acbd3e81a399d590a9b1287d9
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
etingof/softboxen
0787a004f13d7f3d19f4cbf090e55bc229b8470a
2a7ba85669d563de9824e3962bd48a0849482e3f
refs/heads/master
2023-03-27T16:56:14.460474
2020-04-18T12:30:11
2020-04-18T12:30:11
239,087,167
3
1
BSD-2-Clause
2020-06-26T06:50:37
2020-02-08T07:29:53
Python
UTF-8
Python
false
false
1,814
py
# # This file is part of softboxen software. # # Copyright (c) 2020, Ilya Etingof <etingof@gmail.com> # License: https://github.com/etingof/softboxen/LICENSE.rst # import logging import pkg_resources from softboxen import exceptions from softboxen.cli import base LOG = logging.getLogger(__name__) def load_clis(na...
[ "etingof@gmail.com" ]
etingof@gmail.com
46bcae099dc6c2df71f1f3423bbad3125de17812
cbfb679bd068a1153ed855f0db1a8b9e0d4bfd98
/leet/facebook/strings_arrays/word_search_II.py
9a5b2a87f27666d1e9fbe21863e5a043186632cd
[]
no_license
arsamigullin/problem_solving_python
47715858a394ba9298e04c11f2fe7f5ec0ee443a
59f70dc4466e15df591ba285317e4a1fe808ed60
refs/heads/master
2023-03-04T01:13:51.280001
2023-02-27T18:20:56
2023-02-27T18:20:56
212,953,851
0
0
null
null
null
null
UTF-8
Python
false
false
2,835
py
# Algo # we compose trie structure from the given words # iterating over board we see if the current letter in trie (actually in top trie level) # if it is there we start to check the current letter's neighbors # class Solution: def findWords(self, board: list, words: list) ->list: WORD_KEY = '$' #...
[ "ar.smglln@gmail.com" ]
ar.smglln@gmail.com
9ad3bb942c48d0b266d9162b6b18e49ac86ffea5
b49a40b66b7870c9b6bde6ffc3e1d9dc839ba3f5
/Audiobook.py
7534f99e3415ddbf764ef264c4de1393e60dd621
[ "MIT" ]
permissive
Ash515/DigitalGyan
e0c6a68d891a401f6481ff5f28d2d92408e2deff
be7f4a92876d722c1d22db294a65cb0d52a59e1c
refs/heads/master
2023-05-05T10:10:51.870556
2021-05-27T04:38:55
2021-05-27T04:38:55
300,318,166
2
0
null
null
null
null
UTF-8
Python
false
false
304
py
import pyttsx3 import PyPDF2 book=open('unit 3.pdf','rb') pdfReader=PyPDF2.PdfFileReader(book) pages=pdfReader.numPages print(pages) speaker = pyttsx3.init() for num in range(0,pages): page = pdfReader.getPage(0) text = page.extractText() speaker.say(text) speaker.runAndWait()
[ "noreply@github.com" ]
Ash515.noreply@github.com
d7ab171309f6b8a17d2ab04a1f6af7364abeedcb
80ea4c1ce04ee8e0ecd85ee71f8bffdbcbd368aa
/user_profiles/test_forms.py
2dfc9fa54d4e7caff0cd02a37d1410919b71ebf0
[ "MIT" ]
permissive
Oswaldinho24k/geo-csv
659ad24f5e8bcecc869143a61e58b38260cc1901
0100435c5d5a5fd12133b376b305e8fa79ddb8f0
refs/heads/master
2020-03-15T21:20:34.095967
2018-05-06T15:45:34
2018-05-06T15:45:34
132,353,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,364
py
from django.test import TestCase from .factories import ClientFactory from .forms import DeleteClientForm from .models import Client class ClientFormsTest(TestCase): """ Suite to test the forms related to the Client model. Attributes: ----------- self.client : Client Client model to be used ...
[ "oswalfut_96@hotmail.com" ]
oswalfut_96@hotmail.com
a6fe43204939b4dc2440954b91011d03f96540ec
103f62c1d60dafaaf0e150b2a7d5274de16316f2
/python/geometry/lines.py
5910b8c8346437407c36af1aaf1ef4996738edde
[]
no_license
bichael-b-biggins/notebook
7bb477b9c811e16bf812f530e55a447be5bf632b
bc1203f631c67d308f9f2d87ebead4a090229d7b
refs/heads/master
2020-04-02T08:04:53.888131
2018-11-24T09:17:24
2018-11-24T09:17:24
154,228,395
4
1
null
2018-11-24T09:17:25
2018-10-22T22:58:14
Python
UTF-8
Python
false
false
426
py
# Return true if line segments (x1, y1)->(x2, y2) and (x3, y3)->(x4, y4) # intersect. def intersect(x1, y1, x2, y2, x3, y3, x4, y4): denom = ((x1 - x2) * (y3 - y4)) - ((y1 - y2) * (x3 - x4)) if denom == 0: return False x = (((y1 - y3) * (x4 - x3)) - ((x1 - x3) * (y4 - y3))) / denom y = (((y1 - y...
[ "iandioch11@gmail.com" ]
iandioch11@gmail.com
0a7a30b9a635bf519a7e7b65be3c657cb25232bf
120cf0958e68ac4ec08b35e2df5c63874949d823
/U-net/whole.py
e00a31922b00b669d66b536c3eabfe4f22a6ce19
[]
no_license
CheungBH/human_segment
d3ad5ee0e270dd65458e61e26e371b70daea14ce
5171a688eba4fa1f4a91e4acc09e15657570f41e
refs/heads/master
2020-07-26T00:47:37.675904
2019-09-14T17:19:48
2019-09-14T17:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,117
py
from keras.preprocessing.image import ImageDataGenerator from matplotlib import pyplot as plt import numpy as np import os import cv2 data_gen_args = dict(featurewise_center=False, featurewise_std_normalization=False, rescale=1 / 255.0, rotation_range=90, ...
[ "534660436@qq.com" ]
534660436@qq.com
575da726359126eb649499bd105c64175a24bba5
c53b3e120c59557daaa2fa5b7626413105eb5965
/tendenci/apps/newsletters/urls.py
dff0014245a5639b314c3e1197430e94c005e09b
[]
no_license
chendong0444/ams
8483334d9b687708d533190b62c1fa4fd4690f2c
f2ac4ecc076b223c262f2cde4fa3b35b4a5cd54e
refs/heads/master
2021-05-01T03:59:18.682836
2018-07-23T06:33:41
2018-07-23T06:33:41
121,194,728
0
0
null
null
null
null
UTF-8
Python
false
false
3,059
py
from django.conf.urls import patterns, url from django.contrib.auth.decorators import login_required from tendenci.apps.site_settings.utils import get_setting from tendenci.apps.newsletters.views import ( NewsletterGeneratorView, NewsletterListView, NewsletterGeneratorOrigView, MarketingActionStepOneVi...
[ "chendong@shinezone.com" ]
chendong@shinezone.com
c091b39d4525b9db3c9abbeb5c009f616ec63c24
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/coghq/DistributedBarrelBase.py
2fc0458ee77964caddae988a8c25ed6859fa4be9
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
4,379
py
# 2013.08.22 22:18:26 Pacific Daylight Time # Embedded file name: toontown.coghq.DistributedBarrelBase from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from toontown.coghq import BarrelBase from otp.level import BasicEntities from direct.dire...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
8247a9da0754764be2b5901b7b9ade08a20ab871
5faafe0b6da50332d02859db2e6c92f27e599de3
/le2m/creator/filestocopy/creator_Params.py
19f63c499c7a2597a31ceb75c4b69bcca6d656c2
[]
no_license
dimdub34/le2m-v2.1
e2dc7e5d0ac9c422d65f08d8350c8be89ba266a5
97880d470b0f130250ca15ab153a945ab32f4969
refs/heads/master
2020-04-12T05:32:59.820746
2020-03-10T08:06:41
2020-03-10T08:06:41
50,585,248
1
2
null
null
null
null
UTF-8
Python
false
false
1,077
py
# -*- coding: utf-8 -*- """============================================================================= This modules contains the variables and the parameters. Do not change the variables. Parameters that can be changed without any risk of damages should be changed by clicking on the configure sub-menu at the server s...
[ "dimitri.dubois@umontpellier.fr" ]
dimitri.dubois@umontpellier.fr
07beeac2fd2fd66ca92952df4893c1a8676a6855
097a7cb751a7c5b311b11fea60278081c751dcc1
/src/twisted/names/test/test_util.py
88bf89313e4c894003a901419102b48fdead9f57
[ "MIT", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dchenk/twisted
b12449d968804ebd832d4a814e3fc858420b0e51
4a0ac6edba947c77ea95085e75f5b7bc7ddffb12
refs/heads/master
2021-07-24T15:59:39.735816
2020-08-24T23:12:15
2020-08-24T23:12:15
211,361,245
0
1
NOASSERTION
2019-10-02T18:36:33
2019-09-27T16:34:31
null
UTF-8
Python
false
false
3,858
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Utilities for Twisted.names tests. """ from random import randrange from zope.interface import implementer from zope.interface.verify import verifyClass from twisted.internet.address import IPv4Address from twisted.internet.defer import su...
[ "dcherchenko@gmail.com" ]
dcherchenko@gmail.com
9ce681261527b31056c3a785eef616df3b8f854f
ccf8e79c163965884973d26e8b3c0e4dfddba573
/samples/old/qwb_block_2.py
010ebc186bd3e2c5cb3fd3963adfa06f72dba2fd
[]
no_license
zhl2008/ctf-framework
7a7842ef150a73da86cfef69c19132e7ad26647e
fb0a0c2af8a22f9d0506b678e61d6088902b7011
refs/heads/master
2018-11-21T21:31:17.908678
2018-11-08T15:02:31
2018-11-08T15:02:31
112,556,645
27
10
null
null
null
null
UTF-8
Python
false
false
1,152
py
#!/usr/bin/env python from framework.http import http from framework.config import * from framework.function import * from urllib import quote import traceback import hashlib import time def vulnerable_attack(target,target_port,cmd): try: # This payload may not work under some ph...
[ "zhl2008vvvss@gmail.com" ]
zhl2008vvvss@gmail.com