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
55d298950c7d7ca21de4fa38f72dc8b508087211
93db4b48741ff4ab0a3895813a6c7543e01821ea
/leetcode/Python/884_decoded_str.py
436b4076dfc4d56b8920181fbd41bd1e380db873
[]
no_license
shubham14/Coding_Contest_solutions
f884c458d3316bdafc6f1b1a52cf3e962c58bc47
1b67497f35b892c25e3d9600214fa37a738ffd40
refs/heads/master
2021-06-22T13:34:10.581101
2019-10-09T02:56:01
2019-10-09T02:56:01
131,326,516
1
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 11 19:42:57 2018 @author: Shubham """ import math class Solution: def maxArea(self, A, B, C, D, E, F, G, H): areaSum = (C-A)*(D-B) + (G-E)*(H-F) if(E>=C or A>=G or B>=H or F>=D): return areaSum bX = max(A, E) bY = max(B, F...
[ "shubham.ddash@gmail.com" ]
shubham.ddash@gmail.com
5fdf10d2c3284be8fe2c12dd47d17a980192a24d
477a1182c09f276e8d29651222ba72968074fcb8
/Fizz Buzz.py
1691cf23a3ddb9911ba968b01c0572d305dfe589
[]
no_license
a58982284/cookbook
900ed8f8f2d1fb4111076074607574645ac07314
7490a968e93c85df0d4d9701d0901e2a8c3bdfac
refs/heads/master
2020-03-29T12:04:08.316281
2018-09-22T14:14:44
2018-09-22T14:14:44
149,883,412
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
def checkio(number: int) -> str: if number%3 == 0 and number%5==0: return 'Fizz Buzz' elif number%3==0 and number%5!=0: return 'Fizz' elif number%3 !=0 and number%5==0: return 'Buzz' else: return str(number) print(checkio(15)) print(checkio(6)) print(checkio(5)) print(ch...
[ "a58982284@163.com" ]
a58982284@163.com
9b8122ee97bc2012e154cd33cd099e61ed67ab7b
de88a649182d42206358e53bba69252e04d8a69f
/abc_py/abc168/c.py
b616070660aef9a02ea101c6794186568462f0ec
[]
no_license
aki-nasu/competition
47b05312d9b19dcf62212570d6253ec7a109382d
9edb02abb14d896932f08218417d3f10b54f1755
refs/heads/master
2021-06-22T22:09:14.433407
2021-06-06T06:53:42
2021-06-06T06:53:42
225,662,310
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
import math a,b,h,m = map(int,input().split()) ra = h * 30 + m * 0.5 rb = m * 6 r = math.radians(abs(ra-rb)) # (abs(ra-rb)*math.pi)/180 print(math.sqrt(a**2 + b**2 - 2*a*b*math.cos(r)))
[ "t.t.akiyoshi2@gmail.com" ]
t.t.akiyoshi2@gmail.com
9325ce23a6bcefeac701f51d38d1513df3b719a6
814f8b85dd6435b3bb3fdebf2f193912aa145a62
/image_segmentation/CycleGAN/__init__.py
b7901d30d6a0433aae360a3b18a7d65798dcb49b
[ "Apache-2.0" ]
permissive
jacke121/pycharm
480df86258ee918de25b76a4156e9e6b9d355df7
b9b2963cf0c5028f622f41413f52f1b5cbde28a1
refs/heads/master
2020-03-18T16:35:25.579992
2018-01-01T02:30:58
2018-01-01T02:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by weihang huang on 17-12-10 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys import os root = os.path.abspath(os.path.dirname(os.path.dirname(__file__...
[ "614047311@qq.com" ]
614047311@qq.com
389ab210334c512ad944a1569f96a0cfda9fea26
3482beb24c0635efcb60391d27c1987b7fb413a5
/kvipytools/kvipytools/rename.py
cce6f4b4865c27f1c76dac3edfdbb3d77e504d17
[]
no_license
rpgplanet/rpgplanet-all
ad2e6a00935d2b214ba41b4adced524f1bd443db
6d473369cd8263f59ebcbf7f812fd4d34d4d785e
refs/heads/master
2021-01-13T01:43:58.718833
2010-10-28T10:25:01
2010-10-28T10:25:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,987
py
#!/usr/bin/env python import sys, os class OptionParser(object): ''' parser commandline optiones separated by given separator:: ./rename.py a=b c=d "a a a=b b b" a\\==\\=b will result into something like this:: opts = [ ('a', 'b'), ('c', 'd'), ('a a a', 'b b b'), ('a=', '=b') ] ''' ...
[ "bugs@almad.net" ]
bugs@almad.net
30cb098c7657866cc84531411b8c6256998523ed
3a5ad075884d55593464f97df758de1891bfd3f2
/all_Gryzinski/BDE_model.py
6affdeb9cf80c7abc20558e4776bbe0101198979
[]
no_license
fedorsidorov/DEBER-Simulation-2.0
1a812e950749cf86e8e0dbd4d3514fc58f710e9a
eca39922df628ca6dcfbfb2af61aaa469fe66074
refs/heads/master
2022-04-26T13:23:24.262182
2020-04-24T23:43:12
2020-04-24T23:43:12
202,705,740
0
0
null
null
null
null
UTF-8
Python
false
false
4,527
py
#%% Import import numpy as np import os import importlib import matplotlib.pyplot as plt import copy import my_constants as mc mc = importlib.reload(mc) import E_loss_functions as elf elf = importlib.reload(elf) os.chdir(mc.sim_folder + 'all_Gryzinski') #%% MMA_bonds = {} #kJmol_2_eV = 1e+3 / (mc.Na * mc.eV) kJmo...
[ "fedor.sidorov.92@yandex.ru" ]
fedor.sidorov.92@yandex.ru
b0788388960b10b9cc402064bdf16311c76adf2a
9ce0d602404b2329dfb36a0ae31b43dd1865d76d
/app/models.py
d9f118e64dfe4d21fefde1ec1ff4885190fe0e26
[]
no_license
haruyasu/django-video-membership
0cf40e6c2d28bbbc1c4c608df378a163b83f1654
87b8a0c4b3b12c4b901303bd2c6ee078069ba167
refs/heads/main
2023-01-01T18:39:13.697284
2020-10-25T10:59:41
2020-10-25T10:59:41
305,915,329
0
0
null
null
null
null
UTF-8
Python
false
false
3,721
py
from django.db import models from django.conf import settings from django.db.models.signals import pre_save, post_save from django.contrib.auth.signals import user_logged_in from django.utils.text import slugify from django.shortcuts import reverse from django.contrib.auth import get_user_model from allauth.account.sig...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
64a399c18f23c2f0509b1b87319fcf387ad2065d
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902TG/830-tideGauge.py
98529851e7c0414d44337ffea9a71bbf32c354c9
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
5,075
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 01 10:00:00 2020 MERRAv2 netCDF extraction script - template To create an extraction script for each tide gauge @author: Michael Tadesse """ import os import pandas as pd from d_merra_define_grid import Coordinate, findPixels, findindx from c_merra_read_netcdf import r...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
884b9d01cec1bf9f1ce1a06c648463cd2ddab33d
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/draft_schematic/clothing/shared_clothing_shirt_casual_04.py
1f8fd20f134c94f5a9dd3f2bdc8e6da119d5dd5b
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
462
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/clothing/shared_clothing_shirt_casual_04.iff" result.attri...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
91965e649e25eb2201b821ce51e22d441092e675
f7b25eaee7a19767a27f6172b87e552bcfe608ad
/apps/certification/tests.py
42c8dfc07ad42bee54b4ddce012a3fb48cc6fc0a
[]
no_license
Mid0Riii/Psyconsole
addf280e075e29abc746b437a114d531d2e70f10
d9540e0b4b37fdd44be0a169d3ce8cdddc2b956a
refs/heads/master
2023-01-01T05:10:18.520481
2020-10-18T11:11:26
2020-10-18T11:11:26
266,294,872
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
from django.test import TestCase # Create your tests here. import qrcode from PIL import Image, ImageDraw, ImageFont import datetime # # image = Image.open('assets/cert.jpg') # # def get_size(image): # #获取图像的宽和高 # width, height = image.size # return width,height # # setFont = ImageFont.truetype("assets/ms...
[ "1534296263@qq.com" ]
1534296263@qq.com
579496a4ada0cb14b1e59a2b9b0b835e5ce6c8ee
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/M/mick/test_395.py
215e88633f5bb3f554649c55ba67ce4f7bef9adc
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
import scraperwiki import gviz_api page_template = """ <html> <head> <title>Bar-Meter</title> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script> google.load("visualization", "1", {packages:["table","corechart"]}); google.setOnLoadCallback(drawTable); func...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
661166baa4aeb5d49e0acef2a214a82c99197977
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/frog-position-after-t-seconds/386090832.py
9a855ba87a746a4da2b3445c88f2d2167012e3ee
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
914
py
# title: frog-position-after-t-seconds # detail: https://leetcode.com/submissions/detail/386090832/ # datetime: Tue Aug 25 17:01:25 2020 # runtime: 100 ms # memory: 14 MB class Solution: def frogPosition(self, n: int, edges: List[List[int]], t: int, target: int) -> float: visited = {1} g = collecti...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
d2738856b779dd77745eccd9ba6a256cc478cd52
aca253ff1a97c96a1a0a9a5802aa623789662bb1
/p036/modify_tree.py
85501c51bdad36228626e0879d0805eb3bab30d1
[]
no_license
KD-huhu/PyQt5
a6128a34b93f6e2da7216d5818f66dc9614216bc
1c33a6549c2fcf663168256553d8c24e25d9a69c
refs/heads/master
2022-07-03T07:37:29.837547
2020-05-17T14:54:39
2020-05-17T14:54:39
261,768,854
0
1
null
null
null
null
UTF-8
Python
false
false
2,719
py
import sys from PyQt5.QtWidgets import * class ModifyTree(QWidget): def __init__(self, parent=None): super(ModifyTree, self).__init__(parent) self.setWindowTitle('TreeWidget 例子') operatorLayout = QHBoxLayout() addBtn = QPushButton('添加节点') updateBtn = QPushButton...
[ "noreply@github.com" ]
KD-huhu.noreply@github.com
1f5468676d551ebb3f849b542fc5defe208c8f8c
731c3f2f85f6002725322eedc0b2c8b5e74f610e
/1-jakc/jakc_hr_schedule/models/jakc_hr_employee.py
f81455e3f0490de9f60a0733819918ac05534423
[]
no_license
babarlhr/project-0021
1ac824657f893c8f25d6eb3b839051f350d7cc9d
e30b8a9f5d2147d3ca5b56b69ec5dbd22f712a91
refs/heads/master
2021-09-22T15:45:47.431000
2018-09-11T14:59:49
2018-09-11T14:59:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
from openerp import fields, models, api, _ from openerp.exceptions import Warning, ValidationError import logging logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) class HrEmployee(models.Model): _inherit = 'hr.employee' nik = fields.Char('NIK', size=20, required=True)
[ "wahhid@gmail.com" ]
wahhid@gmail.com
c7a08b2e9d4d981344d5de6f125cc2b7bb211375
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02804/s852532161.py
db55ddcaa9dc897931e5c7429d31e68beae24140
[]
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
607
py
n,k=map(int,input().split()) A=list(map(int,input().split())) mod=10**9+7 A.sort() def cmb(n, r, mod): if ( r<0 or r>n ): return 0 r = min(r, n-r) return g1[n] * g2[r] * g2[n-r] % mod N = 10**5 g1 = [1, 1] # 元テーブル g2 = [1, 1] #逆元テーブル inverse = [0, 1] #逆元テーブル計算用テーブル for i in range( 2, N + 1 ): g1...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
55adec22c2b1a4fd58bcba0728db6e2560ac8d54
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/twilio/build/lib/twilio/rest/ip_messaging/v2/__init__.py
ebd0c69459eafe129379c2b02fe69211ed1fe8af
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a7d8849526bea15c375620047af3b52bac72acf3b87db9881e9bddafd4c1c295 size 1343
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
90256ce535bb47bd3131fa27540b688141cd699c
a9305f461b2c03e4a55fec9f1ecc75f78265eb8e
/opencv/Realidade-Aumentada-master/insertObject/glyphfunctions.py
c5cdbb695347ab7fb65ec816e467b7e27d9f5fd8
[]
no_license
JoaoBueno/estudos-python
653afb174f2d141fcc82511c51cbfd2bca1b55cb
606e188e88ee3a2b2e1daee60c71948c678228e1
refs/heads/master
2022-01-24T20:17:52.702768
2022-01-19T20:39:20
2022-01-19T20:39:20
150,925,137
2
2
null
2022-01-19T20:40:46
2018-09-30T03:09:08
Python
UTF-8
Python
false
false
3,278
py
import cv2 import numpy as np def order_points(points): s = points.sum(axis=1) diff = np.diff(points, axis=1) ordered_points = np.zeros((4,2), dtype="float32") ordered_points[0] = points[np.argmin(s)] ordered_points[2] = points[np.argmax(s)] ordered_points[1] = points[np.argmin(diff)...
[ "heavyhide@gmail.com" ]
heavyhide@gmail.com
f08bb2bf9dddb60974d27a3fbedbb68e56233d38
7d8e040cb703e6f6e2d55b5dc64fc9124d85dde8
/tests/test_sklearn_gaussian_process_classifier.py
cc65cc32b1d02e64a75788f2b0aa18cd2d1849a7
[ "MIT" ]
permissive
Global-localhost/sklearn-onnx
fc44aa481a91482f187cfd2307df6061b77742af
a8267e7ba946d8b0596951060e5dca39fec47439
refs/heads/master
2023-03-23T00:19:31.474251
2021-03-03T19:17:12
2021-03-03T19:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,957
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import un...
[ "noreply@github.com" ]
Global-localhost.noreply@github.com
c1c6e061d4012ce3011878e9be9c295ead79c428
a7dad581abcc74dd191754268131ff2ebef060fc
/fabfile.py
f16c5d1bf778c9e64bfdc2d6b25d034fd7a36380
[]
no_license
jeremyjbowers/can-i-vote
5eeba4c82ab1a1f6fe94b6baaec691ecc82eea4a
2388b285387f59e271759d3fa71c6831b7414b38
refs/heads/master
2020-05-16T22:25:58.515072
2012-10-07T19:04:24
2012-10-07T19:04:24
null
0
0
null
null
null
null
UTF-8
Python
true
false
446
py
#!/usr/bin/env python from fabric.api import * """ Base configuration """ env.project_name = 'vote' env.user = 'root' env.repo_path = '/home/canivote/can-i-vote/%(project_name)s' % env """ Environments """ def prod(): env.hosts = ['198.61.200.10'] """ Commands """ def git_pull(release): with cd(env.repo_pa...
[ "jeremyjbowers@gmail.com" ]
jeremyjbowers@gmail.com
05a4f511f05f4671e829cce55a8c86fcf668af92
05b24701576cc5d470b6ab49b25f966d3764c2d2
/venv/Lib/site-packages/pip/_internal/commands/configuration.py
31e040923ccea0d7396b56a98efd233422e4771f
[ "MIT" ]
permissive
taneemishere/Spam-Comment-Detector
e80d27cdc679ad55a774052c9fa8f897fe38a514
b0c75cc00ef584a571ab1b2b579a6016b3504792
refs/heads/main
2023-01-24T01:06:57.299863
2020-11-14T05:29:58
2020-11-14T05:29:58
305,711,846
2
1
MIT
2020-11-12T07:03:38
2020-10-20T13:10:41
Jupyter Notebook
UTF-8
Python
false
false
8,168
py
import logging import os import subprocess from pip._internal.cli.base_command import Command from pip._internal.cli.status_codes import ERROR, SUCCESS from pip._internal.configuration import ( Configuration, get_configuration_files, kinds, ) from pip._internal.exceptions import PipError from pip._internal.utils.d...
[ "taneemishere@gmail.com" ]
taneemishere@gmail.com
f358510396aee7aceb8657337137844f32866b6c
dc760b9503033b97457702f5c0d64ba6beb52d37
/tests/blueprints/test_documents.py
39417b5f3244fadf8188d949fd91cc5d01bc5c9d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
agdsn/sipa
1862fa5f5764a6cb3ab866df724b6b9adeadbfe4
5e82221041de1b08129ed43f9f6036c541e2683d
refs/heads/develop
2023-06-08T23:04:31.054933
2023-05-28T11:43:31
2023-05-28T11:43:31
33,961,711
23
18
MIT
2023-09-11T22:32:43
2015-04-14T23:09:34
Python
UTF-8
Python
false
false
746
py
import pytest from tests.assertions import TestClient @pytest.fixture(scope="module") def client(module_test_client): return module_test_client def test_restriced_area(client: TestClient): with client.renders_template("login.html"): resp = client.assert_url_ok( "/documents_restricted/fa...
[ "lukas.juhrich@agdsn.de" ]
lukas.juhrich@agdsn.de
f631f0ad314cc54e012f56dd0631e587b44f8930
dd449ad8388847779b265f49f2339c9681376c60
/a_star_algo/algo.py
2d3e0aea892a843f490f31666f9a20dbc5402a30
[]
no_license
whoji/training-ground
478d76a8c274050eb910b28729ca1d1cdb47eae9
b107cc47c4a04bb8868c410ab207bacab5a86e4c
refs/heads/master
2020-05-16T16:13:26.788156
2019-12-04T01:56:01
2019-12-04T01:56:01
183,154,348
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
# https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2 class Node(): """A node class for A* Pathfinding""" def __init__(self, parent=None, position=None): self.parent = parent self.position = position self.g = 0 # G is the distance between the current node and th...
[ "minli1985@gmail.com" ]
minli1985@gmail.com
d680f8875b14ff6b14fad6a3d87412f63c377f03
2dd0082221239fef0e0894c852f70f1eaeb62b9e
/Assignments/pete/python/curses/curses8/curses7.py
58231c63220cd044d2e1c7060580b9eaab06acdc
[]
no_license
pjz987/2019-10-28-fullstack-night
03097cf3dc24aeec0c326044bb0fc99385fbc333
4c643013de73f08d7503d62ec602d6a5c80ffa7e
refs/heads/master
2022-11-11T19:40:00.296645
2020-06-25T16:14:47
2020-06-25T16:14:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,750
py
import argparse import curses parser = argparse.ArgumentParser() parser.add_argument('-lvl', action='store', dest='version_arg', type=int) parsed_args = parser.parse_args() LEVEL = parsed_args.version_arg or 1 import random import time ''' Above argparse and curses are imported and set up.#and numpy Below I will establ...
[ "pwj2012@gmail.com" ]
pwj2012@gmail.com
2c1dcce271be95ff71696e0634eac1611b1af8d3
81acce1d49924d89e6ebf5a472ad5b1b80cc202c
/qcdScale/qcdFitter.py
7650be090a5d03a503d1e3c513a0cb4b5ae83b62
[]
no_license
truggles/Z_to_TauTau_13TeV
36a85b024052fcfef3c9efd8aebc63dc85744f7b
123fe0d25f8e926d8959f54cd4f64122394b60d5
refs/heads/master
2021-03-13T01:50:43.031581
2017-10-12T18:56:25
2017-10-12T18:56:25
37,312,811
0
0
null
2016-09-29T08:29:13
2015-06-12T09:08:22
Python
UTF-8
Python
false
false
449
py
import ROOT from ROOT import gROOT def qcdFit() : f = ROOT.TFile('roots/OSvsSS.root','r') h = f.Get('OSvsSS') func = ROOT.TF2( 'func', '[0] + (x * [1]) +(y *[2])' ) f1 = gROOT.GetFunction('func' ) f1.SetParName( 0, 'Intercept' ) f1.SetParName( 1, 'x-slope' ) f1.SetParName( 2, 'y-slope'...
[ "truggles@wisc.edu" ]
truggles@wisc.edu
8e165645b9a092e4faa7392ab4052d978f7ea58e
222d7bd1c7fba8d2cfe2754ae1b07e7219ff854e
/Run_VVC-bu.py
f3bfd8de137923efe4c4b3154638e4586b7ebb46
[]
no_license
mkjubran/VVCS
70981f1a64f380c2b3d04e138a46bf545d8b1bf7
79ffb3cbe25a48848eb2b4dbadc908f053c3f8f1
refs/heads/master
2020-12-22T09:48:42.629357
2020-07-14T07:24:23
2020-07-14T07:24:23
236,737,042
0
0
null
null
null
null
UTF-8
Python
false
false
5,839
py
#Frame1: Type POC QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference #pictures predict deltaRPS #ref_idcs reference idcs print >> fid, 'Frame1: P 1 5 -6.5 0.2590 0 0 1.0 0 0 0 1 1 -1 0'); from __future__ import divisi...
[ "mjubran@birzeit.edu" ]
mjubran@birzeit.edu
887a23cdc580ec87b2158ee45d31535b0c0dc08e
65ed6010531735377d8c0b8a77d0d336842ebe3e
/atx/device/__init__.py
f02e38e70d7453565c1496ce76e0b8f43445816f
[ "BSD-3-Clause", "MIT" ]
permissive
neteaseknight/AirtestX
5084a9401777f765e11f70dd02bf3633f5cb66fd
c1fe6581f5f37088cbc486c9f128b6f26b0c7695
refs/heads/master
2021-01-17T21:42:27.346213
2016-04-03T12:44:10
2016-04-03T12:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
# coding: utf-8 from __future__ import absolute_import import collections from atx import imutils FindPoint = collections.namedtuple('FindPoint', ['pos', 'confidence', 'method', 'matched']) Display = collections.namedtuple('Display', ['width', 'height']) __boundstuple = collections.namedtuple('Bounds', ['left', ...
[ "codeskyblue@gmail.com" ]
codeskyblue@gmail.com
dec4a2fb41492241dfdefc7038a33d1f48fa4b13
9fa08002daf2e991ff9dfe33ab47c4518976cc12
/DeepLearing/DeepLearningFlappyBird-master/deep_q_network.py
abdb40aeef2860bb55123cb5bb6e8f77f8267cd3
[ "MIT" ]
permissive
freeflyfish/code_file
6e1264de2c13d700895bde31421ca791802f1ac6
e80cc440f1c969af417bc5bad73c61b50dfa7590
refs/heads/master
2020-04-30T22:10:06.929633
2018-12-07T10:31:04
2018-12-07T10:31:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,232
py
from __future__ import print_function import tensorflow as tf import cv2 import sys sys.path.append("game/") import game.wrapped_flappy_bird as game import random import numpy as np from collections import deque GAME = 'bird' # the name of the game being played for log files ACTIONS = 2 # number of valid actions GAM...
[ "807745654@qq.com" ]
807745654@qq.com
25c239b31c0a578419e6f525d348d98c0f40112a
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-MetalPerformanceShaders/PyObjCTest/test_mpsrayintersector_mpspolygonaccelerationstructure.py
1a5da10d9a4ea08bb220c5af477a364059d79eaa
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
490
py
from PyObjCTools.TestSupport import TestCase import MetalPerformanceShaders MPSAccelerationStructureCompletionHandler = b"v@" class TestMPSRayIntersector_MPSPolygonAccelerationStructure(TestCase): def test_enum_types(self): self.assertIsEnumType(MetalPerformanceShaders.MPSPolygonType) def test_cons...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
d26f9799eb67232c4f9c0d0617aaa9b2f1ec1988
61673ab9a42f7151de7337608c442fa6247f13bb
/__scraping__/gall.dcinside.com/main.py
490c073a6a1c9d7e5de77e2bc435f07699d416ff
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
774
py
#!/usr/bin/env python3 # date: 2020.01.01 # https://stackoverflow.com/questions/59551193/i-want-to-download-images-from-python-what-should-i-do/ from selenium import webdriver import requests #path = r"C:\Users\qpslt\Desktop\py\chromedriver_win32\chromedriver.exe" #driver = webdriver.Chrome(path) driver = webdriver...
[ "furas@tlen.pl" ]
furas@tlen.pl
0c44c18c0c305096c4cde6e736d92a55731f5691
7048901d6ad4cd58150deec2f7095c4bc20e28bc
/coupons/serializers.py
8c0a733f4fda39147966e3d16888dab2aad72790
[]
no_license
reloadercf/Tienda_Backend
f658bc3b01cf7e8d7d86c4964a7808f04f866e66
ef602107861096c3f2bb8f31eab12db44be4186d
refs/heads/master
2022-07-29T03:49:40.413308
2019-10-21T16:47:40
2019-10-21T16:47:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from rest_framework import serializers from .models import Coupon class CouponSerializer(serializers.ModelSerializer): class Meta: model = Coupon fields = '__all__'
[ "contacto@fixter.org" ]
contacto@fixter.org
266d40130e6ece916b7a7b8d7242e4cccea1a212
868c604cdc34e04bba44834e8544036437a7eb9b
/chapter_1_building_abstractions_with_functions/example_1.py
f7311525c376f664a8d9930ffd5961f8ab97a62a
[]
no_license
cshintov/sicp
bc0c1ae5c3f2b9a068e446030fcde59d73209b7c
46b36254d05171704ddcf45666d006e734a7a196
refs/heads/master
2021-04-23T03:14:32.416422
2020-03-24T13:24:12
2020-03-24T13:24:12
249,893,193
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from urllib import urlopen shakespeare_poem = 'http://inst.eecs.berkeley.edu/~cs61a/fa11/shakespeare.txt' poem = urlopen(shakespeare_poem) print poem
[ "cshintov@gmail.com" ]
cshintov@gmail.com
c5f90bbaa9e2eaf84c3dc0035e740cbcbf93576d
d286518da2d7b74d63162cac3befe838f74ac93a
/backend/winter_firefly_27005/urls.py
7305cf2e7f3fdf9cae158bb72166dce189017d05
[]
no_license
crowdbotics-apps/winter-firefly-27005
7a1b28ec1e1bfa57800c0db25256929925935f1a
96777599d723241987fd750bcaa72fe040deb738
refs/heads/master
2023-04-20T15:57:28.132529
2021-05-20T21:00:22
2021-05-20T21:00:22
369,336,748
0
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
"""winter_firefly_27005 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home'...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6cdd9ef513534aeb4a9400bcad53eefa19477095
6d97e875fb6a3dea9780d918efe33dfd59ac137d
/scripts/calc_rec_probs.py
2bc4c7f5437257ad4b4b9c2891975142f86a63be
[]
no_license
acarvalh/tth-htt
0a1350efcf76f425057c809f74d92ae3d719d008
c6bb3f2bfb6620c858d29c800be1ae1e2246904a
refs/heads/master
2021-06-20T05:29:35.657498
2018-06-02T01:34:37
2018-06-02T01:34:37
104,874,635
0
0
null
2017-09-26T11:10:10
2017-09-26T11:10:10
null
UTF-8
Python
false
false
2,950
py
from ROOT import TFile import ROOT categories = ["BB_LL", "BB_ML", "BB_MM", "BB_HL", "BB_HM", "BB_HH", "EE_LL", "EE_ML", "EE_MM", "EE_HL", "EE_HM", "EE_HH", "BE_LL", "BE_ML", "EB_ML", "BE_MM", "BE_HL", "EB_HL", "BE_HM", "EB_HM", "BE_HH"] def calc_rec_probs(infile, processes): f = TFile(infile) for p in process...
[ "andres.tiko@cern.ch" ]
andres.tiko@cern.ch
1ceef34be4f65f2c9baae4ffe8778cb490a17660
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129091734.py
095946f3367c54f7ca3a4f7faf804a6b08068a18
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
8,076
py
# 东方财富网 首发申报 from datetime import datetime,timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?' headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Ap...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
65c9f4d94735b5d8ec3bd25b297f2d107ba78d57
c83e356d265a1d294733885c373d0a4c258c2d5e
/mayan/apps/documents/models/trashed_document_models.py
b01b915df45c786b9f2bae689388dabfd9ca7183
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/fall-2021-hw2-451-unavailable-for-legal-reasons_6YX3
4160809d2c96707a196b8c94ea9e4df1a119d96a
0e4e919fd2e1ded6711354a0330135283e87f8c7
refs/heads/master
2023-08-21T23:36:41.230179
2021-10-02T03:51:12
2021-10-02T03:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from mayan.apps.events.classes import EventManagerMethodAfter from mayan.apps.events.decorators import method_event from ..events import event_trashed_document_restored from ..managers import TrashCanManager from .document_models import Document __all__ = ('TrashedDocument',) class TrashedDocument(Doc...
[ "79801878+Meng87@users.noreply.github.com" ]
79801878+Meng87@users.noreply.github.com
f320319b03d47c6fb1820eed7a74123132d8126f
b059c2cf1e19932abb179ca3de74ced2759f6754
/S20/day03/02作业.py
56e199fe792866eaf71cd248d1ce258e423277ee
[]
no_license
Lwk1071373366/zdh
a16e9cad478a64c36227419d324454dfb9c43fd9
d41032b0edd7d96e147573a26d0e70f3d209dd84
refs/heads/master
2020-06-18T02:11:22.740239
2019-07-10T08:55:14
2019-07-10T08:55:14
196,130,277
0
0
null
null
null
null
UTF-8
Python
false
false
7,842
py
# 有变量name = "aleX leNb" 完成如下操作: # 1. 移除 name 变量对应的值两边的空格,并输出处理结果 # # name ='aleX leNB' # print(name.strip()) # 2. 移除name变量左边的"al"并输出处理结果 # name ='aleX leNB' # print(name[2:]) # 移除name变量右⾯的"Nb",并输出处理结果 # name='aleX leNB' # print(name[0:7]) # 移除name变量开头的a"与最后的"b",并输出处理结果 # name='aleX leNB' # # print(name[1:8]) # 判断 nam...
[ "1071373366@qq.com" ]
1071373366@qq.com
bd5492b6bec1f6e3280cbd6bf2c71e883c29edac
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=69/sched.py
921e6e054d0d3ab3a119fcc51f90853d86f0b4cf
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
-X FMLP -Q 0 -L 3 103 300 -X FMLP -Q 0 -L 3 89 300 -X FMLP -Q 0 -L 3 81 400 -X FMLP -Q 1 -L 2 77 300 -X FMLP -Q 1 -L 2 64 400 -X FMLP -Q 2 -L 2 59 200 -X FMLP -Q 2 -L 2 54 175 -X FMLP -Q 3 -L 1 42 250 -X FMLP -Q 3 -L 1 39 250 32 150 29 150 28 175 28 125 26 175 24 250 20 300 16 150 13 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
06fde46f14519931629dcd804ce8b5d896403fd6
cef574422ec96cc972733812f78b8f777a934326
/first/drow_circle.py
976d039d5df39e66cf4054eae764bfd8de493bd7
[]
no_license
ducksfrogs/pyGame2
6aa1f01743fc3bd8df4149f090a5ac63d72686a9
17fc545fa66a2d091127cfd4d5779b1e5d3385e4
refs/heads/main
2023-02-25T13:42:33.719568
2021-01-31T02:49:11
2021-01-31T02:49:11
323,764,411
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
"""Draw circle """ import sys import pygame from pygame.locals import QUIT, Rect pygame.init() SURFACE = pygame.display.set_mode((400,300)) FPSCLOCK = pygame.time.Clock() def main(): """ Main routine """ while True: for event in pygame.event.get(): if event.type == QUIT: ...
[ "ma_yamaki@yahoo.com" ]
ma_yamaki@yahoo.com
c11bc856f2ea6a25f92cda9810b7bb119e56cd2a
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/syslog/deststate.py
94dfe225d2349b2697c4c964c150c674e036028f
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
7,070
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
c3b4cb6c2d7cbc8e5894e89e5b6a4b7727329f4d
80810054516ddc3fd93e916de4bf7e3e07d871b0
/1-books/book6_Python核心编程(第3版)/网络编程/functools_cmp_to_key.py
d16e6e1763906c6fdd78baf903356b25293a6ea7
[]
no_license
TinyHandsome/BookStudy
df9ca668f2dd1b51b1e364c22bc531394a03eeae
69c9018bb70893f74a44e4df9f3d3e39467de3f6
refs/heads/master
2023-09-04T03:06:43.918259
2023-09-01T04:27:01
2023-09-01T04:27:01
184,217,837
18
17
null
null
null
null
UTF-8
Python
false
false
218
py
x = ['hello', 'world', 'ni'] x.sort(key=len) print(x) from functools import cmp_to_key ll = [9, 2, 23, 1, 2] print(sorted(ll, key=cmp_to_key(lambda x, y: y - x))) print(sorted(ll, key=cmp_to_key(lambda x, y: x - y)))
[ "694317828@qq.com" ]
694317828@qq.com
1ec7f1e63501bcd0990480bde271f6da0909fd06
20f951bd927e4e5cde8ef7781813fcf0d51cc3ea
/fossir/modules/rb/tasks.py
a602ffdd2659a0af0aad35e4d26284196c247028
[]
no_license
HodardCodeclub/SoftwareDevelopment
60a0fbab045cb1802925d4dd5012d5b030c272e0
6300f2fae830c0c2c73fe0afd9c684383bce63e5
refs/heads/master
2021-01-20T00:30:02.800383
2018-04-27T09:28:25
2018-04-27T09:28:25
101,277,325
0
2
null
null
null
null
UTF-8
Python
false
false
5,611
py
from __future__ import unicode_literals from datetime import date, datetime from itertools import groupby from operator import attrgetter from celery.schedules import crontab from sqlalchemy.orm import contains_eager from fossir.core.celery import celery from fossir.core.config import config from fossir.core.db im...
[ "hodardhazwinayo@gmail.com" ]
hodardhazwinayo@gmail.com
71017d23dc19d08ded41fb88369fda81d0999bc6
95565fbf6c2418e3a9e4e43e3982da0220dd6881
/satella/imports.py
b129afaeeb284639221004d7a9e78a638590461a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
piotrmaslanka/satella
6adc649bcbcd3ba596650f9c0bfca15cb0ec3a96
8dd3d4741c11717f9473b7fdc4b242dfcade7aa9
refs/heads/develop
2023-06-23T03:38:19.810958
2023-06-08T16:11:39
2023-06-08T16:11:39
7,431,872
14
1
MIT
2023-01-07T22:14:14
2013-01-03T23:02:52
Python
UTF-8
Python
false
false
4,079
py
import importlib import os import pkgutil import typing as tp import warnings __all__ = ['import_from', 'import_class'] def import_class(path: str) -> type: """ Import a class identified with given module path and class name :param path: path, eg. subprocess.Popen :return: imported class """ ...
[ "piotr.maslanka@henrietta.com.pl" ]
piotr.maslanka@henrietta.com.pl
9891353f85074b0ed1070e11d7f0e2ad93f4360b
2903ac66369b6bd45889b12629d8c8e34e6089b3
/frappe_training/frappe_training/doctype/employee_info/employee_info.py
6af4951315fdbdbbedc4214387b383397fcc6ffd
[ "MIT" ]
permissive
sivaranjanipalanivel/training
6fa50b5f97fb00894404fba11122599fd796623c
b177c56a319c07dc3467ce3113e332ecee9b81fa
refs/heads/master
2023-07-17T06:11:29.894363
2021-08-02T14:47:31
2021-08-02T14:47:31
391,987,470
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, valiantsystems and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class EmployeeINFO(Document): pass
[ "you@example.com" ]
you@example.com
3db5cbd10cb5bc80f423f1f094adf67a4921cb7c
6b1be23ee65447932c387dc62f556ef8b2097154
/oblig3/SIRV_optimal_duration.py
469e098879045c7a4119170062e0db19908c8681
[]
no_license
Linueks/inf1100
fd9fb4e0f338d387aa6d06430a5e484cc4037c8d
0a4a23144fd047bd3b51c44905e6c78754a053a6
refs/heads/main
2023-02-20T19:47:21.264189
2021-01-23T13:29:02
2021-01-23T13:29:02
332,216,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
from SIRV_varying_p import ProblemSIRV, SolverSIRV import matplotlib.pyplot as plt def optimal_duration(): maximum_I = [] time_points = range(0, 31, 1) for time in time_points: optimal_duration_problem = ProblemSIRV(p = lambda t: 0.1 if 6 <= t <= 6 + time else 0, ...
[ "noreply@github.com" ]
Linueks.noreply@github.com
da568daf9fc7b5f7c51214728a20aade8ee98fae
7a17f06fc65106e793ad8e23612d32266f14b1dc
/tests/cp2/test_cp2_cjalr_delay_2.py
8940dcd76c1dc9c9d6d9555a7ba9951f47cf1f4c
[ "LicenseRef-scancode-beri-hw-sw-1.0" ]
permissive
capt-hb/cheritest
19eda13df15aeba0003e550d97000827090f382a
dacc190eed70261e51a8a438203f680dc52a95c0
refs/heads/master
2023-01-19T20:05:40.020021
2020-06-11T07:51:26
2020-06-11T07:51:26
238,688,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,628
py
#- # Copyright (c) 2018 Alex Richardson # All rights reserved. # # This software was developed by the University of Cambridge Computer # Laboratory as part of the Rigorous Engineering of Mainstream Systems (REMS) # project, funded by EPSRC grant EP/K008528/1. # # @BERI_LICENSE_HEADER_START@ # # Licensed to BERI Open Sy...
[ "Alexander.Richardson@cl.cam.ac.uk" ]
Alexander.Richardson@cl.cam.ac.uk
a5133468f1e3ac2b8f5cff07596ef2a408f55caf
90047daeb462598a924d76ddf4288e832e86417c
/third_party/WebKit/Source/build/scripts/make_element_lookup_trie.py
89b0d36b65ea2270b86f8b56a979d0c65b744131
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0" ]
permissive
massbrowser/android
99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080
a9c4371682c9443d6e1d66005d4db61a24a9617c
refs/heads/master
2022-11-04T21:15:50.656802
2017-06-08T12:31:39
2017-06-08T12:31:39
93,747,579
2
2
BSD-3-Clause
2022-10-31T10:34:25
2017-06-08T12:36:07
null
UTF-8
Python
false
false
3,206
py
#!/usr/bin/env python # Copyright (C) 2013 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list ...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
891f93e7f6991eb5a01701d37ad594831e3e606d
468eacfd3e5e20e15ba4c98a136ff6aca4431a73
/Labs/oop-1-employees.py
f6e9c036c60148fddabccfd73e0aa4f5cdca2148
[]
no_license
DREAMS-lab/SES230-Coding-for-Exploration
b9888d837472efa33bc6047faa8ffd1fce00cb43
f799b6c2fe7f199fed5dc33f2f6e69ca2e06dbc9
refs/heads/master
2023-01-07T20:54:04.465586
2020-11-11T16:56:01
2020-11-11T16:56:01
312,028,818
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
class Employee: """Fill in the details""" def __init__(self, _name='John Doe', _title='nothing', _salary=0): self.__name = _name self.title = _title self.salary = _salary def __str__(self): return self.__name + ' ' + self.title + ' ' + str(self.salary) def get_name(sel...
[ "jnaneshwar.das@gmail.com" ]
jnaneshwar.das@gmail.com
13f6a301539f7a1edd24c3d259ad5391980283c4
4d40ea521582b88a8373845cd47c94c2fdd3125c
/src/chapter3/test_marks.py
b7eca7c90cb009bd26faa006a0ed26bee72803e4
[]
no_license
lancelote/pytest-quick-start-guide
a74d01ae322f798e7e1fa4f54ad2432f42d6747f
b76f515b5f4034f195b294e4e13befbad4790d1b
refs/heads/master
2020-03-29T14:19:17.725110
2018-11-07T10:01:31
2018-11-07T10:01:31
150,010,679
5
0
null
null
null
null
UTF-8
Python
false
false
638
py
import pytest @pytest.mark.slow def test_long_computation(): pass @pytest.mark.timeout(10, method='thread') def test_topology_sort(): pass @pytest.mark.slow @pytest.mark.timeout(10, method='thread') def test_topology_sort_slow(): pass timeout10 = pytest.mark.timeout(10, method='thread') @timeout10...
[ "lancelote.du.lac@gmail.com" ]
lancelote.du.lac@gmail.com
120fce3b3efd1034b3432b64e7fb3e599460cce4
f67986550761cf3ed174d01063f5fdc8a26f59f3
/vision/modules/YellowBuoy.py
8f6cbc2d3f99cd730e91568440d78e8e8c8c7b08
[ "BSD-3-Clause" ]
permissive
wpfhtl/software
4dd5d116a1c90660264b32006617a6809b0a530e
575d424be6b497e0f34f7297a9b322567c2e26c0
refs/heads/master
2021-01-23T02:40:49.542461
2016-04-15T04:16:21
2016-04-15T04:16:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
import shm from vision.modules import ModuleBase, buoy_common from vision import options capture_source = 'forward' options = [options.IntOption('hls_h_min', 105, 0, 255), options.IntOption('hls_h_max', 143, 0, 255), options.IntOption('lab_a_min', 127, 0, 255), options.IntOption('lab_a...
[ "software@cuauv.org" ]
software@cuauv.org
4e050d2bbdac743366012d0ff8e56b35566b6b0e
bbc7d39cea6dadae9b2ffb114c8474c9c3b6d305
/main.py
885f10bc222b0b9e40e7bbd1e9cc7f2d1ce9c6d6
[]
no_license
jfriedly/paste-math
0018890c5bab2dd31a817a3aca6ac020c7e9613c
0b171433fee5aefd562cfd730f969cf931ce86c1
refs/heads/master
2021-01-16T00:49:49.269091
2013-02-19T22:34:48
2013-02-19T22:34:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,623
py
from lib import bottle from lib.bottle import route, template, request, error, debug, static_file from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.api.app_identity import get_default_version_hostname import lib.db from lib.html import addLineBreaks from google.appengine.api import users i...
[ "schwendenman.paul@gmail.com" ]
schwendenman.paul@gmail.com
a3bc08a2eea2aaf15b870cf2f660a74a25c7333c
e79888cd68177e7ec5125270cdc52f888e211e78
/kiyuna/chapter04/knock32.py
4831c290a1a6a476a9d47fec6053cfb790a309a1
[]
no_license
cafenoctua/100knock2019
ec259bee27936bdacfe0097d42f23cc7500f0a07
88717a78c4290101a021fbe8b4f054f76c9d3fa6
refs/heads/master
2022-06-22T04:42:03.939373
2019-09-03T11:05:19
2019-09-03T11:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
''' 32. 動詞の原形 動詞の原形をすべて抽出せよ. ''' import sys from knock30 import mecab_into_sentences def message(text): sys.stderr.write(f"\33[92m{text}\33[0m\n") if __name__ == '__main__': tgt = '動詞' res = [] for sentence in mecab_into_sentences(): # メモリには優しくないが,ネストは深くならない res.extend([d['base'] for...
[ "kyuna.prog@gmail.com" ]
kyuna.prog@gmail.com
828e05d68fa7676fef57ac1f7c5ee4227f6f8f37
3ba03246e8ddf25b4f7607d072efad7dfdeb7a85
/cbf_control/src/main.py
59213d3470510c8c3ce432c023ab31f43e3a16c0
[]
no_license
Jaroan/PR2_CBF
c1961c928547cd685e8c7c46452c6c2639764dce
22b644d1462363bf3594cfe22e6069f22f9931e1
refs/heads/master
2021-10-08T16:57:03.671254
2018-12-15T04:01:31
2018-12-15T04:01:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
import rospy from std_msgs.msg import Float32MultiArray, MultiArrayDimension import time from optimizer import Optimizer def forward_kinematics_func(q): gfk = GetFK('l_wrist_roll_link', 'base_link') resp = gfk.get_current_fk(q) def publisher(): rospy.init_node('trajectory') pub = rospy.Pub...
[ "varagrawal@gmail.com" ]
varagrawal@gmail.com
cebb283734b02844e2039ccc368112a270cb896b
c39e466c2b6fdffbc410f24669f214e13fb87781
/PYTHON/TEMA 4/Unit4_examples/Unit4_Functions_example1.py
61c8f70816785dcaa93e7f65f5fccf3266b2d112
[]
no_license
enanibus/biopython
3a58efbcc92f1ce60285a115c620de9295b7d281
613d334a5c0502059930d9381a9464ef533cca1c
refs/heads/master
2021-01-12T17:27:39.516793
2017-01-02T18:30:09
2017-01-02T18:30:09
71,573,732
0
1
null
null
null
null
UTF-8
Python
false
false
256
py
def Media (NumberList): suma=0 for n in NumberList: suma=suma+n result=suma/len(NumberList) return(result) Weight4Bq=[70,47,68,56,87,49,48,71,65,62] AverageWeight4Bq=Media(Weight4Bq) print(AverageWeight4Bq)
[ "juanenriqueztraba@gmail.com" ]
juanenriqueztraba@gmail.com
9222ee7ff2fb1829be3106e311fbfe64e0ed86d0
96b4b1339e745fe15d898f301a65a002898d7a70
/Project4/alt_solns/Final/prob1_sim.py
442a9b5c20ac3a839a9ce36852de8c5ff993d629
[]
no_license
abusa1101/AI-coding-problems
8ace849ec236a059278d684bba644471f99d1979
d4bfa45ddc2fa1aecbf15161fcea4cb92db8dec1
refs/heads/master
2023-08-25T19:28:56.851217
2021-10-06T20:39:51
2021-10-06T20:39:51
235,749,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
import random as rd def simulate_slots(): play_num = 0 balance = 10 cherry_payback = 0 while balance: balance -= 1 play_num += 1 symbols = ["bar", "bell", "lemon", "cherry", "blank", "blank", "blank", "blank"] wheels = [] for i in range(3): wheels.a...
[ "abusa@umich.edu" ]
abusa@umich.edu
7455a9c2dc2c361c1d554d1309ffd459284caa46
fb3ff12389925480a19b11e6bb51ea760b7af729
/chat2.py
23914506991017343a3779cb057d01b0ca95d14a
[]
no_license
sd8917/web_project
60a353a2bc24600a183a9653765612c5809e9634
18228db4980aa7733f2d668d1cb8201df13ec493
refs/heads/master
2020-03-31T20:53:06.384469
2018-10-11T09:09:12
2018-10-11T09:09:12
152,559,275
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import socket s = socket.socket() host = socket .gethostname() port = 12345 s.connect((host,port)) while True: data = str(s.recv(1024)).strip('b').strip('\'') print(data) messg = bytes("sudhanshu : " + input(r""),encoding='utf-8') s.send(messg)
[ "sudhanshuraj8917@gmail.com" ]
sudhanshuraj8917@gmail.com
459a5c19a5b75157ec9aa8f5eef3223c4ec4fba3
a63e24d4d6521e98e1b79c2528ab6f08d5add66c
/kps2d_detection/hr_net/lib/utils/utils.py
9561baa3f456005004fd3a5a38d49dcc505e5f43
[ "MIT" ]
permissive
abrichr/cvToolkit
7d3f2e593d3132aae8c519c024383b0f269eeda6
7f559138c27fedf9e3e3929cd4d6e4f8198d4c51
refs/heads/master
2022-07-19T00:45:52.036959
2020-05-26T06:02:24
2020-05-26T06:02:24
266,943,746
0
0
MIT
2020-05-26T04:24:25
2020-05-26T04:24:25
null
UTF-8
Python
false
false
7,023
py
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft # Licensed under the MIT License. # Written by Bin Xiao (Bin.Xiao@microsoft.com) # ------------------------------------------------------------------------------ from __future__ import absolute_import from __futu...
[ "lxy5513@gmail.com" ]
lxy5513@gmail.com
2954d8e87acd58471c0442c2ef128a0d55a74d62
e00d8b1b7fc1d6425de2fe4538e84ccb9ccda452
/itc/hebei_toll.py
18b358874da6553e9bb06dd7a2c23613e0dbd413
[]
no_license
yiruiduan/2018-07
64ffcc8988330bfd912bdf7f44d32ca3889a81d3
36471f3458abb96462021e3588ed2ebf9abfc739
refs/heads/master
2021-07-10T19:19:28.322710
2019-01-08T06:00:44
2019-01-08T06:00:44
135,425,614
1
0
null
null
null
null
UTF-8
Python
false
false
812
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import xlwt import re workbook = xlwt.Workbook(encoding = 'ascii') pattern = re.compile(u'[\u4e00-\u9fa5]+') with open("河北北京天津收费站.txt","r",encoding="utf-8") as f: for line in f: if line.startswith("###"): filterdata = re.findall(pattern, line) ...
[ "yiruiduan@126.com" ]
yiruiduan@126.com
bdd739e1d194e3350e8d261608f052aa2d1cd68a
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/atbash-cipher/780f7c2ca2024289b7e86d67c77cdb0a.py
f4cb4e0b4a787f169f151619ad13150dc07cb867
[]
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
769
py
import re def decode(ciphertext): plaintext = '' for c in list(ciphertext): if c.isalpha(): tmp = ord('z') - ord(c) plaintext += chr(ord('a') + tmp) elif c.isdigit(): plaintext += c return plaintext def encode(plaintext): ciphertext = '' temptex...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
0f7f10326711a4cf4fffb689aed806f4d12d3b06
632b94beca62f7c8af5ae1d1e8e095a352600429
/build_isolated/moveit_commander/catkin_generated/pkg.develspace.context.pc.py
74d5b57eac50e95ed76ceddf9025312701f4f5af
[]
no_license
Haoran-Zhao/US_UR3
d9eb17a7eceed75bc623be4f4db417a38f5a9f8d
a0c25e1daf613bb45dbd08075e3185cb9cd03657
refs/heads/master
2020-08-31T07:02:45.403001
2020-05-27T16:58:52
2020-05-27T16:58:52
218,629,020
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "moveit_commander" PROJECT_SPACE_DIR =...
[ "zhaohaorandl@gmail.com" ]
zhaohaorandl@gmail.com
81bffd876a4fdc0b34dd8eb8599fa803daf88a30
bd8bc7abe0f774f84d8275c43b2b8c223d757865
/368_LargestDivisibleSubset/largestDivisibleSubset.py
0e89bdcccb45f3131c6fcbaaeee76f58dde3360f
[ "MIT" ]
permissive
excaliburnan/SolutionsOnLeetcodeForZZW
bde33ab9aebe9c80d9f16f9a62df72d269c5e187
64018a9ead8731ef98d48ab3bbd9d1dd6410c6e7
refs/heads/master
2023-04-07T03:00:06.315574
2021-04-21T02:12:39
2021-04-21T02:12:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
class Solution: def largestDivisibleSubset(self, nums: List[int]) -> List[int]: nums.sort() # dp[i] 表示 nums[i] 的约数集合 dp = [[x] for x in nums] ans = [] for i in range(len(nums)): for j in range(i): if nums[i] % nums[j] == 0 and len(dp[j]) + 1 > len(...
[ "noreply@github.com" ]
excaliburnan.noreply@github.com
f91fc4e82fe4ba7dd8fc849c4ffedc5c245bcd1a
677fa54f9c8b48a813ff7b207817d1a3acc8ed25
/main/lib/idds/tests/run_sql.py
2e948042286c38b784fb2d53e1b239de536e453c
[ "Apache-2.0" ]
permissive
HSF/iDDS
2a88cb35ebbf35c7e3427369a94c6b9d73c16182
193a95ec7ee154a2615fa8dcd99a79df5ddd3bec
refs/heads/master
2023-08-31T11:10:10.410663
2023-08-25T14:03:17
2023-08-25T14:03:17
183,081,241
3
9
NOASSERTION
2023-09-14T11:55:03
2019-04-23T19:18:37
Python
UTF-8
Python
false
false
1,990
py
#!/usr/bin/env python # # 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.0OA # # Authors: # - Wen Guan, <wen.guan@cern.ch>, 2019 """ performance test...
[ "wguan.icedew@gmail.com" ]
wguan.icedew@gmail.com
bee6572bdf3ba51f555860b1eca5428bf08419a8
ce3bd1c0f8ecb9bbe41ded050c702a35e82191f5
/khat3680_l04/src/t01.py
96aab39ff0aa54e8740da4a33efec24ebb80e6df
[]
no_license
khat3680/Data_Sturct_Python
e368133d01cd790206f49e3f401b73961234955a
4ae75031b3abf36119331064bb119061ae6cd586
refs/heads/master
2022-12-10T02:59:01.016483
2020-09-11T16:46:31
2020-09-11T16:46:31
294,755,366
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
""" ------------------------------------------------------- [program 1] ------------------------------------------------------- Author: Anshul Khatri ID: 193313680 Email: khat3680@mylaurier.ca Section: CP164 Winter 2020 __updated__ = "2020-02-05" ------------------------------------------------------- """ from ...
[ "anshulskhatri@gmail.com" ]
anshulskhatri@gmail.com
58cf908172c2c19f3b964ed05323f0906af4c37e
5955ea34fd72c719f3cb78fbb3c7e802a2d9109a
/_STRUCTURES/String/deploy_str.py
b8cdf6f0aa4981933a3160534357a36a9727c468
[]
no_license
AndreySperansky/TUITION
3c90ac45f11c70dce04008adc1e9f9faad840b90
583d3a760d1f622689f6f4f482c905b065d6c732
refs/heads/master
2022-12-21T21:48:21.936988
2020-09-28T23:18:40
2020-09-28T23:18:40
299,452,924
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
first = input("Введите первую букву :") last = input("Введите последнюю букву :") newStr = "" while first <= last: newStr += first first = chr(ord(first)+ 1) print(newStr)
[ "andrey.speransky@gmail.com" ]
andrey.speransky@gmail.com
62c04ba164efc46580a8e29802b2c3105d28e244
114c1f7ceff04e00591f46eeb0a2eb387ac65710
/g4g/DS/Graphs/Introductions_and_traversals/10_prac.py
b8308399c38cc993c17302967aa9c44a0beebb89
[]
no_license
sauravgsh16/DataStructures_Algorithms
0783a5e6dd00817ac0b6f2b856ad8d82339a767d
d3133f026f972f28bd038fcee9f65784f5d3ea8b
refs/heads/master
2020-04-23T03:00:29.713877
2019-11-25T10:52:33
2019-11-25T10:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
''' Iterative DFS ''' class Graph(object): def __init__(self, vertices): self.V = vertices self.adj = [[] for i in range(self.V)] def add_edge(self, src, dest): self.adj[src].append(dest) def DFS_Util(self, s, visited): stack = [] stack.append(s) while le...
[ "GhoshSaurav@JohnDeere.com" ]
GhoshSaurav@JohnDeere.com
25b0c8725635d704fb1f7630816a948146eeb750
155fa6aaa4ef31cc0dbb54b7cf528f36743b1663
/Polymorphism and Abstraction/wild_farm/animals/birds.py
41ba401c5676fd4ca96f767957cdbdc132188929
[]
no_license
GBoshnakov/SoftUni-OOP
efe77b5e1fd7d3def19338cc7819f187233ecab0
0145abb760b7633ca326d06a08564fad3151e1c5
refs/heads/main
2023-07-13T18:54:39.761133
2021-08-27T08:31:07
2021-08-27T08:31:07
381,711,275
1
0
null
null
null
null
UTF-8
Python
false
false
628
py
from wild_farm.animals.animal import Bird from wild_farm.food import Meat class Hen(Bird): weight_gainer = 0.35 def make_sound(self): return "Cluck" def feed(self, food): self.weight += food.quantity * Hen.weight_gainer self.food_eaten += food.quantity class Owl(Bird): weig...
[ "boshnakov.g@gmail.com" ]
boshnakov.g@gmail.com
f47a10d8f4a3f749041c6241c6d0fd65b7ff1a94
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/296/78905/submittedfiles/testes.py
a1d13bb4b7617dba4b5f62c6fc00e07d617132c1
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n = int(input("Digite o primeiro número: ")) m = int(input("Digite o segundo número: ")) soma = m + n if soma>10: print(soma) else: print("Não sei")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d7f3500c58054c8e787b5eb8b5ef526a6c1fb2a4
a43346f397f55edf1f946bae937ae8ae9e21d955
/vscode2/test_urllib.py
83d06e098858b90cd428290a2f783d30dd67a847
[]
no_license
OSYouth/vscode2
130474906566a3e90e9a60f5575b68453b4420ca
385f3cc42b84abfdb958d23e56883450b73e5247
refs/heads/master
2021-10-19T11:22:26.210328
2019-02-20T15:19:35
2019-02-20T15:19:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
import urllib.request as urllib url = "https://www.baidu.com" print ('第一种方法') response1 = urllib.urlopen(url) print (response1.getcode()) print (len(response1.read()))
[ "benleolee@163.com" ]
benleolee@163.com
35ed390982090e723108fa49c6bc3eca2fac169b
ffeedf288d6aa5302abf1771e23c3090b52d7676
/filemapper/metadata/regex/regexsubtitleextension.py
ee29654357f444d8fda6bbadb7f510ddf6ff2567
[]
no_license
AsiganTheSunk/python-multimedia-filemapper
f648577f610467abdb9e1ff43783fd1b8ec5b748
5daa07c51f3e85df48a0c336633ac150687fe24c
refs/heads/master
2022-07-07T10:12:43.066571
2017-11-02T01:02:20
2017-11-02T01:02:20
98,677,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,813
py
import re from filemapper.utils.fileflags import FileFlags as fflags class RegexSubtitleExtension(): def __init__(self): self.name = 'RegexSubtitleExtension' self.supported_fflags = [] self.supported_season_fflags = [] self.supported_subtitle_fflags = [fflags.SUBTITLE_DIRECTORY_FI...
[ "asiganthesunk@gmail.com" ]
asiganthesunk@gmail.com
95c9ef6893aed8f628771d2758083ee20acee4bc
9795fe1532849a046895cfb0d4b359144ad575dd
/stringtest.py
a2836ef585b1b18b6d2681aa68771ee248598116
[ "MIT" ]
permissive
DBeath/python-snippets
36e2df94d20227b897dd8c9345f9f0dfd733f96b
c9642c37183d947eb8a1a781e47bd70b1306d5ca
refs/heads/master
2023-03-25T14:26:59.556635
2019-10-19T07:26:31
2019-10-19T07:26:31
118,523,453
0
0
MIT
2021-03-22T16:58:22
2018-01-22T22:22:16
HTML
UTF-8
Python
false
false
237
py
string = '' print(string is None) print(not string) print(string is '') print(string is not '') if string: print('String is true') else: print('String is false') print() string = 'Test' print(string is None) print(not string)
[ "davidgbeath@gmail.com" ]
davidgbeath@gmail.com
7f9e5d09226cfa9f68d090ddab27a9197d586658
d7ec67a5ba315103fa6a6bae6dc045f1fecf7add
/normal/FluentPython_code_master/ch03_dict_set/strkeydict0.py
a2dc7df2040e476b3431f97d2ab8bc19527f2a50
[]
no_license
munezou/PycharmProject
cc62f5e4278ced387233a50647e8197e009cc7b4
26126c02cfa0dc4c0db726f2f2cabb162511a5b5
refs/heads/master
2023-03-07T23:44:29.106624
2023-01-23T16:16:08
2023-01-23T16:16:08
218,804,126
2
1
null
2023-02-28T23:58:22
2019-10-31T15:57:22
Jupyter Notebook
UTF-8
Python
false
false
1,702
py
''' StrKeyDict0 converts non-string keys to `str` on lookup # BEGIN STRKEYDICT0_TESTS Tests for item retrieval using `d[key]` notation:: >>> d = StrKeyDict0([('2', 'two'), ('4', 'four')]) >>> d['2'] 'two' >>> d[4] 'four' >>> d[1] Traceback (most recent call last): ... KeyError:...
[ "kazumikm0119@pi5.fiberbit.net" ]
kazumikm0119@pi5.fiberbit.net
e5ea4bf5ff824ea3b88eae215aa89ad3e1b1ff1d
22b348a0d10519cb1f1da5e886fdf2d3c167cf5a
/myweb/test/gevent_/gevent_server.py
40d3ecc084fb675cd69f19242f2558e09bd2b098
[]
no_license
liuluyang/openstack_mogan_study
dab0a8f918ffd17e0a747715998e81304672b75b
8624f765da7f5aa0c210f0fa945fc50cf8a67b9e
refs/heads/master
2021-01-19T17:03:15.370323
2018-04-12T09:50:38
2018-04-12T09:50:38
101,040,396
1
1
null
2017-11-01T02:17:31
2017-08-22T08:30:22
Python
UTF-8
Python
false
false
872
py
#coding:utf8 import gevent from gevent import monkey,socket monkey.patch_all() #有IO才做时需要这一句 s = socket.socket(2,1) #用的都是gevent模块中的socket,但用法一样 #s.setsockopt(1,2,1) s.bind(('',8080)) s.listen(1024) print 'listening ...8080' def func_accept(): while 1: cs,userinfo = s.accept() print('来了一个客户'+str(...
[ "1120773382@qq.com" ]
1120773382@qq.com
d0215f9d1c50b64bf0a063ec2baf631dfe83758c
2b4790d77439d89ad27bdd04bac539283f0dd605
/cookbook/chapter2/2.7_shortest_match.py
49bb54fd123247134a394ad7b475f5859077f171
[]
no_license
ajioy/python-ex
9fde4bcfe35edeee5050365660a03bdb6b913da1
982a3cdf0de0e140faa4cb539f2961b311de2c2a
refs/heads/master
2020-04-05T14:06:09.909935
2018-08-14T14:43:55
2018-08-14T14:43:55
59,105,033
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
import re str_pat = re.compile(r'\"(.*)\"') text1 = 'Computer says "no."' print(str_pat.findall(text1)) text2 = 'Computer says "no." Phone says "yes."' # 贪婪模式匹配,尽可能长的匹配 print(str_pat.findall(text2)) # 非贪婪匹,尽可能短的匹配 str_pat = re.compile(r'\"(.*?)\"') print(str_pat.findall(text2))
[ "ajioy@hotmail.com" ]
ajioy@hotmail.com
383e36a92c9d5637fc3a45dc325ed151ff97d399
8d24fedcadec55acb90aa6eb98d2768a9edf9dba
/professional_browser_automation/elements/element.py
7d307b17a1d410c53ece73603d055d3403e09961
[ "Unlicense" ]
permissive
ikostan/ElegantBrowserAutomationWithPythonAndSelenium
bb0a839b775e0a4f6c51b9d8ff1b07cab1624409
da087036d74a8fbaec3a2875dad5c45c2a85689c
refs/heads/master
2020-06-24T12:28:38.152860
2019-07-29T06:35:29
2019-07-29T06:35:29
198,962,805
3
1
null
null
null
null
UTF-8
Python
false
false
662
py
import selenium from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class Element: def __init__(self, driver: selenium.webdriver, locator: tuple): self._driver = driver self._locator = locator self._element = self._find() def _find(self...
[ "igorkostan@gmail.com" ]
igorkostan@gmail.com
33a3d15ea5ee1796400d25807404e08938591741
83cb1b60faf90982aad32c5979856d6064c00e5b
/infra_validation_engine/utils/__init__.py
3d7325c5de65d3772012e362ee86b426687bffe2
[ "Apache-2.0" ]
permissive
boris-vasilev/simple_grid_infra_validation_engine
25813b3bfa3f82c8bc964b4ac43089a4fea76015
66a1410ca42718d559fd12e1e99dbcbc64457645
refs/heads/master
2020-09-06T00:58:51.032918
2019-10-25T15:24:24
2019-10-25T15:24:24
220,265,468
0
0
Apache-2.0
2019-11-07T15:14:21
2019-11-07T15:14:20
null
UTF-8
Python
false
false
386
py
def get_lightweight_component_hosts(augmented_site_level_config): site_infrastructure = augmented_site_level_config['site_infrastructure'] output = [] for node in site_infrastructure: node['host'] = "ssh://{fqdn}".format(fqdn=node['fqdn']) output.append(node) return output def get_augme...
[ "imptodefeat@gmail.com" ]
imptodefeat@gmail.com
a0af2852cda9a3447ca5115c38f0c38ee2d71b59
b815438a597af24018277788200caf5da7c4a611
/Python/Compare-the-Triplets.py
958faa07f309af0d695639b148fd045d20c1b8ba
[]
no_license
Zahidsqldba07/HackeRank-1
0338fe204074a544b8f2510ba6702fc0f648e5e7
14a04e72d1599a4b8375623781a952dde323acaa
refs/heads/master
2023-04-23T10:38:05.993784
2020-11-01T17:23:49
2020-11-01T17:23:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
""" Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on a scale from 1 to 100 for three categories: problem clarity, originality, and difficulty. We define the rating for Alice's challenge to be the triplet a = (a[0],a[1],a[2]), and the rating for Bob's challe...
[ "noreply@github.com" ]
Zahidsqldba07.noreply@github.com
a8f7bb875473b5cc4537aa57b46d6f71ae1d2a84
9f3981ecd73bd45178013d441a1ef34f860def0b
/pos_bahrain/pos_bahrain/report/stock_balance_with_prices/stock_balance_with_prices.py
e773fbb9ebeb694178e7719130e9d7ba526b7a73
[ "MIT" ]
permissive
azhkhn/pos_bahrain
6e139bf02489c298ad8ac963b52ef676515e84f5
eae06abb8eb4a9c4465b02178dd981a8ea430511
refs/heads/master
2020-09-17T07:00:51.068742
2019-11-16T09:28:43
2019-11-16T09:28:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,437
py
# Copyright (c) 2013, 9t9it and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from functools import partial from toolz import concatv, compose, valmap, merge from pos_bahrain.utils import key_by, mapf, filterf def execute(filters=None): fro...
[ "sun@libermatic.com" ]
sun@libermatic.com
40b52f45132e2e3030aae2cd04ce2496b8e8a52c
76995eda52f3d8b7310ff53fc9b5f8b9ea00287a
/hello world.py
43b4393dd19e59377c38451746abce7b31c05adc
[]
no_license
tonybelair922/demo_YT
7bcf3573bb4ae2bdf34d615a5aecd40a48211faf
e748bd33878699f886928449b7926baa11356383
refs/heads/main
2023-03-13T09:59:14.937299
2021-03-08T07:44:33
2021-03-08T07:44:33
326,244,329
0
0
null
null
null
null
UTF-8
Python
false
false
1,645
py
""" msg= " Hello world" for x in range(16): print(msg) """ def my_function(): for x in range(6): print("Hello from a function") my_function() { "version" : "3.0", "user" : "internal-api-beta-user", "dateGenerated" : "2016-12-23T15:24:07Z", "status" : "OK", "data" : [ { "parameter" : "t...
[ "you@example.com" ]
you@example.com
cd48574c9c58a59d8434aa039fe557ccc7bf88f9
0fd5793e78e39adbfe9dcd733ef5e42390b8cc9a
/python3/16_Web_Services/e_GraphQL/creating/a_graphene/e_input_object_types.py
409fed8fe1a59002922ab86d2f343886941285b2
[]
no_license
udhayprakash/PythonMaterial
3ea282ceb4492d94d401e3bc8bad9bf6e9cfa156
e72f44e147141ebc9bf9ec126b70a5fcdbfbd076
refs/heads/develop
2023-07-08T21:07:33.154577
2023-07-03T10:53:25
2023-07-03T10:53:25
73,196,374
8
5
null
2023-05-26T09:59:17
2016-11-08T14:55:51
Jupyter Notebook
UTF-8
Python
false
false
677
py
import graphene class Person(graphene.ObjectType): name = graphene.String() age = graphene.Int() class PersonInput(graphene.InputObjectType): name = graphene.String() age = graphene.Int() class Mutation(graphene.ObjectType): create_person = graphene.Field(Person, input=PersonInput()) def ...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
27a81b2c84baeca740e1eb28aeb702ae4cfe4214
30c8dd5f094fa486b006d5c558aba25e64486398
/serv4.py
ae07520d05c98ff50c16029501b715aca5877c55
[]
no_license
badillosoft/iot-b
9942b2501ebb0457b2bd5a3c69855706bce6d486
4f608a2b808e4fb9476a73e513664082f34d58ce
refs/heads/master
2020-03-31T03:59:13.947614
2018-10-07T00:05:28
2018-10-07T00:05:28
151,886,825
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
# -*- coding: utf-8 -*- from flask import Flask import os app = Flask(__name__) @app.route("/saludar") def saludar(): return "Hola" @app.route("/ultra") def ultra(): stream = os.popen("python ultrasonico_html.py") return stream.read() app.run(host="192.168.100.48") #http://192.168.100.48:5000/saludar
[ "badillo.soft@hotmail.com" ]
badillo.soft@hotmail.com
5584ee69c15cd5aacd051f6f1e7bfd3f031a0c37
8e23cbf08a8c5d966f642ef89a25309392acdb36
/python教学/装饰器.py
e6b6e1325f7f6353583cdae58f87ff140bebf4a3
[]
no_license
gyhd/python_study
ba94eca3aa391c56cdb34a48bcb6cd32581703e0
3b8c99179903d9c81b70d65c8df3023449394f57
refs/heads/master
2022-11-27T18:00:20.259082
2020-07-11T09:49:10
2020-07-11T09:49:10
248,500,662
3
1
null
2022-11-22T05:08:17
2020-03-19T12:44:35
Jupyter Notebook
UTF-8
Python
false
false
1,499
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 29 15:48:22 2019 @author: Maibenben """ """ def use_logging(func): def wrapper(*args,**kwargs): kwarg_values=[i for i in kwarg_values()] for arg in list(args) + kwarg_values: if not isinstance(arg,int): return print('wrong ...
[ "2578278753@qq.com" ]
2578278753@qq.com
855b7ea3ed9f6b80d4674bf06c86a849cf414ce6
45b4687f1a9bc885666c06ea2c6b105e5058a7ae
/pyavrutils/examples/usage_ard.py
15cb144b0f5e90d4f551e9711bed305552c40885
[ "BSD-2-Clause" ]
permissive
ponty/pyavrutils
5e14e0d2275235d87ed5668b632b16d0ea05711d
460ae240b1360241e6867684300bd5f9a23b057b
refs/heads/master
2020-12-24T16:06:55.990646
2020-05-02T09:00:26
2020-05-02T09:00:26
2,108,946
10
2
null
null
null
null
UTF-8
Python
false
false
569
py
from entrypoint2 import entrypoint code = ''' from pyavrutils import Arduino cc = Arduino(board='mini') cc.build('void setup(){};void loop(){}') cc.output cc.size() cc.size().program_bytes cc.board='pro' cc.build('void setup(){};void loop(){}') cc.output cc.size().program_bytes cc.warnings ''' @entrypoint def main()...
[ "ponty@home" ]
ponty@home
1024e3e86e782595371ff6d7a72d2c358bef7c38
8096e140f0fd38b9492e0fcf307990b1a5bfc3dd
/Python/madlibs/version1.py
030da60671377a43b1498010dbff0898eb122bb7
[]
no_license
perennialAutodidact/PDXCodeGuild_Projects
0cacd44499c0bdc0c157555fe5466df6d8eb09b6
28a8258eba41e1fe6c135f54b230436ea7d28678
refs/heads/master
2022-11-15T22:26:45.775550
2020-07-07T17:13:01
2020-07-07T17:13:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
print("\nPlease enter: \n") adjective_1 = input("Adjective: ") place = input("Place: ") plural_noun = input("Plural noun: ") adjective_2 = input("Adjective: ") adjective_3 = input("Adjective: ") verb_1 = input("\"ing\" verb: ") verb_2 = input("\"ing\" verb: ") adjective_4 = input("Adjective: ") adjective_5 = input("Ad...
[ "keegood8@gmail.com" ]
keegood8@gmail.com
980e1ccc875d26d9d2310924a4cf756d9eb52c42
077a17b286bdd6c427c325f196eb6e16b30c257e
/07-RemoteLibcId/247ctf_non-exectuable-stack/exploit.py
8ae0a1385c0478c8df203b33d8d459ef768279ff
[]
no_license
KurSh/remenissions_test
626daf6e923459b44b82521aa4cb944aad0dbced
9dec8085b62a446f7562adfeccf70f8bfcdbb738
refs/heads/master
2023-07-08T20:25:04.823318
2020-10-05T06:45:16
2020-10-05T06:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
#!/usr/bin/env python3 from pwn import * import os import sf import sys import signal target = remote("042f9172aa4814e7.247ctf.com", 50384) bof_payload = sf.BufferOverflow(arch=32) bof_payload.set_input_start(0x2c) rop_chain = [134513552, 134513981, 134520856] bof_payload.add_rop_chain(rop_chain) payload = bof_paylo...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
5a9e2337774edfa2d38ae948f760275231a69469
41311e8bbed80e1f819157d24d7943c05ba6b2e6
/quiz/p1-1.py
6904090c9c4d88daefea5beda24e62a30c34efb8
[]
no_license
tanglan2009/MITx6.00.2x_Introductin_Computational_Thinking_and_Data_Science
c0bb39cb0964014661823e1301f05af7837ff3c5
334726fca7f87eae55f5f45c3cdc4dbac02cfac4
refs/heads/master
2021-01-10T02:49:34.663406
2016-03-06T19:49:44
2016-03-06T19:49:44
53,272,724
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import random def f(x): # x is an integer return int(x + random.choice([0.25, 0.5, 0.75])) print f(1) print f(2) print f(3)
[ "tanglan2009@gmail.com" ]
tanglan2009@gmail.com
c020c2f69a1976edb765483dd834de041a8b2bb9
3ae29d8aa791c03e9a09eb07a83a1eaf49772fb6
/restaurant/migrations/0019_auto__del_rating.py
a4af116d7a5caeba246a44a2461a5fd07f2f124c
[]
no_license
rif/click2eat
26ca011288b1d4f9d69c0e8ecd36fcd622eb5d0c
1a6894a46e8bf49edfb9c16e50d925e6354ddc6a
refs/heads/master
2020-07-11T22:47:15.756006
2012-05-15T16:15:22
2012-05-15T16:15:22
204,658,025
0
0
null
null
null
null
UTF-8
Python
false
false
6,928
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting model 'Rating' db.delete_table('restaurant_rating') def backwards(self, orm): ...
[ "radu@fericean.ro" ]
radu@fericean.ro
f392ac0672bb07b6422d2d0b1428717eff6cc3b4
b22b0760b29d24cff24eda9d1c114094fd1a588f
/Python/Easy/1002. Find Common Characters.py
31ed0092f8a82223904bdc350b72986f3fbb5b1f
[]
no_license
MridulGangwar/Leetcode-Solutions
bbbaa06058a7b3e7621fc54050e344c06a256080
d41b1bbd762030733fa271316f19724d43072cd7
refs/heads/master
2022-03-07T12:20:33.485573
2022-02-21T07:22:38
2022-02-21T07:22:38
231,700,258
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
class Solution(object): def commonChars(self, A): """ :type A: List[str] :rtype: List[str] """ init_d ={} for i in A[0]: if i not in init_d: init_d[i]=1 else: init_d[i]+=1 for i in range(1,len(A)): temp=...
[ "singhmridul1@gmail.com" ]
singhmridul1@gmail.com
8870f715f7c1f62386ba321b2c3fff4410c3772b
aac418419c2ef4d10c5c4ceb607d3d8329a5f395
/Accepted/Codeshef/CATSDOGS - Cats_and_Dogs.py
b212a7af8376b88d41f5fa6d86ecea05063d1eb3
[]
no_license
sudhirshahu51/projects
bb13395227355ff84933b6d3a0f158ee42bcdceb
b2d8331d14d2163b20535368a60c81f6c8bc2c8f
refs/heads/master
2021-01-01T17:09:18.654060
2017-04-24T10:46:15
2017-04-24T10:46:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
# Code Chef Cats and Dogs problem t = int(input()) # No. of test cases while t: cats, dogs, legs = map(int, input().split()) high = (cats + dogs) * 4 # when all the cats and dogs legs are touching ground if (cats - (2 * dogs)) <= 0: low = (dogs * 4) # only dogs legs are tou...
[ "deveshaggrawal19@gmail.com" ]
deveshaggrawal19@gmail.com
2af71e101ceac700047b14f879a4f1bfe9cdd8ee
42685099f1e25e5c1db51b98546e0be495d2789f
/v6.0.2/system/fortios_system_ipip_tunnel.py
31f4aa4a9c00a6e26f63b162ddc13d13344ebe69
[ "Apache-2.0" ]
permissive
sxhdroid/ansible_fgt_modules
02aaf9af33063d8178e7e898666ac9cdef150a00
58d02d80a8d0ff145bee226b345ad9738af523f6
refs/heads/master
2020-04-18T01:34:45.990750
2019-01-22T10:47:36
2019-01-22T10:47:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,097
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2018 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Lic...
[ "magonzalez@fortinet.com" ]
magonzalez@fortinet.com
3f3bf6e43eebbc4bc557d29096041bd38f644295
3922557a09e8573a10328513d25c551365916b36
/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
55677338992d2b1cea185bf970f72d860d53170d
[ "MIT" ]
permissive
justintime170/nodeserv-test
f6b287f372f5859a78051a7f6e77ab441047bb7f
96e435fa9682303cc9cf07fbafdb55f37d68b08d
refs/heads/master
2016-09-05T23:46:03.891240
2014-08-21T07:30:13
2014-08-21T07:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,685
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 44, "host_arch": "x64", "node_install_npm": ...
[ "root@raspberrypi.(none)" ]
root@raspberrypi.(none)
d0bf18c817e4f7f237487482234c057de31e6941
73189d4d0b39efe5864d25aff07d8338ab8f3110
/devel/lib/python2.7/dist-packages/tf2_msgs/msg/_LookupTransformFeedback.py
83b908a2db3ccc30e8952c4719a78f5af29e7c94
[]
no_license
jungwoohan72/Multi_Robot_Search_And_Rescue
a64590a0f899682c2429400c5cb6d4d8a7d7fd99
3e70f9e9b895a96e045f19a05780b091c16f2e60
refs/heads/main
2023-07-06T14:03:58.980624
2021-08-01T05:15:02
2021-08-01T05:15:02
379,856,303
4
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from tf2_msgs/LookupTransformFeedback.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class LookupTransformFeedback(genpy.Message): _md5sum = "d41d8cd98f0...
[ "dream4future@kaist.ac.kr" ]
dream4future@kaist.ac.kr
c33136cba8c462e8266f910e5907785846fdc01e
9c368c9fe78a2dd186daeed2d0714651c1c27d66
/absorption/ml_project/analyse_spectra/plot_Nweighted_deltaTZ_leg.py
05d0118c919d27b69595a6456dfdb4603b50129e
[]
no_license
sarahappleby/cgm
5ff2121919e36b10069692f71fb1dc03f3678462
656bf308771dd3ff2f8c2e77107cdc14507c7ce7
refs/heads/master
2023-01-24T03:10:01.610418
2023-01-20T11:04:31
2023-01-20T11:04:31
160,820,718
2
0
null
null
null
null
UTF-8
Python
false
false
6,422
py
import matplotlib.pyplot as plt from matplotlib import cm from matplotlib.ticker import AutoMinorLocator import numpy as np import h5py import pygad as pg import sys plt.rc('text', usetex=True) plt.rc('font', family='serif', size=15) if __name__ == '__main__': model = sys.argv[1] wind = sys.argv[2] snap ...
[ "sarahappleby20@gmail.com" ]
sarahappleby20@gmail.com
80e40972cefad943c6a440d4cdb5f832a4e262f0
152fc8d9722e9811c0f15f26acf7cd1f82849b2a
/Facebook/move_zeros.py
163329db6cd3f9cbf7a56edfbae5b805e5f38c2e
[]
no_license
uoojin1/algo_study
5942bc2ea9f2a752b36db296b42e1636a43c1553
c5078b377105f092668b594b0d7a297c4422b4a1
refs/heads/master
2020-04-13T17:38:05.429046
2019-02-07T02:32:24
2019-02-07T02:32:24
163,352,673
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
''' move zeros input: [0,1,0,3,12] output: [1,3,12,0,0] 1. do this in place, w/o making a copy of the array 2. minimize the number of operations ''' ''' [0, 1, 0, 3, 12] ^ so basically have a pointer that points to where I should put the next non zero element to after iterating through the entire array, I sho...
[ "uoojin95@gmail.com" ]
uoojin95@gmail.com
08c1931fd532b86ad3326a6391b1de86663e1372
64f81cfd4e588c1b6ead8481b2e35196c2149413
/obtaining3.58/obtaining_dns_client/resolving_domain_dns/resolving_domain_ns_by_tld2.py
fa5f9e6680c8e0d71df28c3f6b8e606ab86dbbb7
[]
no_license
JX-Wang/Valid_DNS_verification
b1d7afb14fef78a30d1c21dffe6cf1ce4c5e2dbf
aecf68ca587022449c80b54ec53b43d9ec8dd8f0
refs/heads/master
2020-07-28T19:03:16.759597
2019-09-19T08:43:30
2019-09-19T08:43:30
209,502,842
1
0
null
null
null
null
UTF-8
Python
false
false
5,858
py
#encoding:utf-8 """ 通过向各个层次的权威NS地址查询,获取域名的NS记录。 可以配置为在线和离线查询 目前只支持域名是主域名 """ import dns import random import dns.name import dns.query import dns.resolver def get_authoritative_nameserver(domain, offline=False, tld_server = None, default_dns = None, retry_times=1): """ 通过向各个权威NS发送查询请求,获取域名的NS记录 :param do...
[ "1411349759@qq.com" ]
1411349759@qq.com
613442e4334b7b1c405168b18116068806fdff41
c86cb4e5e036a4a591acb8683c9e7023b657fdfe
/breathecode/admissions/migrations/0006_auto_20200703_1951.py
a4d6b94f4dc09df601bd0054def34615ce51c921
[]
no_license
Joshfishman97/apiv2
0fe6c01cb63fafcbaf772ea2fee4b549694d3abf
aee21638748caf7abbd7543bcde95ef74e0bbb7c
refs/heads/master
2023-08-29T09:21:51.635903
2021-10-11T19:52:40
2021-10-11T19:52:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
# Generated by Django 3.0.7 on 2020-07-03 19:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('admissions', '0005_auto_20200703_1752'), ] operations = [ migrations.RemoveField( model_name='cohort', name='online_...
[ "aalejo@gmail.com" ]
aalejo@gmail.com
38429a573b65366bc1e423cace706d35a5c44f7e
b806f99e96dc6782e5983fa1e3e0df5957cee122
/src/asiopal/TLSConfig.h
90550300caabce45b51257e55711e58b8b01cfcd
[ "Apache-2.0" ]
permissive
garretfick/pydnp3
db1b29e7b1416a102abceaa322a3f9da1336fa55
54f7e791bf86a5122e8b734e9d8d64882796cadc
refs/heads/master
2023-04-06T08:33:59.335065
2019-11-30T02:08:45
2019-11-30T02:08:45
174,612,654
4
1
Apache-2.0
2023-03-27T09:39:27
2019-03-08T21:31:10
Python
UTF-8
Python
false
false
4,996
h
/* * -*- coding: utf-8 -*- {{{ * vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: * * Copyright 2018, Kisensum. * * 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.apach...
[ "anhhng141@gmail.com" ]
anhhng141@gmail.com
7a775527cc467edc8a9e6c6269de9ab5c023c3e2
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/core/exceptions.py
f84acc69f0dc89dfaf69055e8503fad1847a0204
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
3,353
py
# 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 required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
132d3a611c7577d20741d725a2e5be24f6cd955a
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AnttechBlockchainSignIndexCreateModel.py
b024cf20674b77a37b1eb383bfa79e53e90aa35b
[ "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
6,540
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AnttechBlockchainSignIndexCreateModel(object): def __init__(self): self._app_name = None self._biz_corp = None self._biz_from = None self._biz_scene = None ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
9becd149112233943b28b41f338400549756c333
d3720c1848fb69a05121fcd378a12a6d1921f303
/4_LEETCODE/2_DP/背包问题/2_完全背包.py
35b58da0a6cc62245ebacf6c4ba97c14a70f2b33
[]
no_license
fzingithub/SwordRefers2Offer
32a44e87c178bafc554108f1d1e479e18b0ee028
57f303aa6e76f7c5292fa60bffdfddcb4ff9ddfb
refs/heads/master
2023-04-08T09:35:02.082121
2023-03-28T00:06:00
2023-03-28T00:06:00
219,700,616
1
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
''' f[i][j] 前i个物品,体积为j的背包,理论上的最大价值。 f[0][0] = 0 res = max{f[N]} f[i][j] = max{f[i-1_最短回文串.py][j], f[i-1_最短回文串.py][j-k*v[i]] + k*w[i]} ''' N, V = map(int, input().split()) v = [0] * (N + 1) w = [0] * (N + 1) for i in range(1, N + 1): v[i], w[i] = map(int, input().split()) # print(N,V) # print(v,w) # f = [[...
[ "35060424+fzingithub@users.noreply.github.com" ]
35060424+fzingithub@users.noreply.github.com
5e45adf16188acbf28a383b77c22d5cfe2685e61
0f0fa5a3086649a32ede3722ca14b598948f35e0
/setup.py
551e361538f8b43b270ed51115caee7d37d43ba1
[]
no_license
marazmiki/django-mptt-admin
cf6b3648e3898233f99e2c2861f8254f61307e1a
125908b87066e957051f36fed6d60a3088f12cdb
refs/heads/master
2021-01-22T00:51:21.576551
2011-10-11T17:53:54
2011-10-11T17:53:54
2,557,013
2
0
null
null
null
null
UTF-8
Python
false
false
889
py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'mpttadmin', version = '0.3.1', author = 'Mikhail Sakhno', author_email = 'pawn13@gmail.com', description = """jstree admin for mptt models""", license = "BSD", keywords = "django admin", platforms = "POSIX...
[ "marazmiki@gmail.com" ]
marazmiki@gmail.com
d784039fbf29070d60585c62c411d71fd3bbbec9
943dca755b940493a8452223cfe5daa2fb4908eb
/abc303/a.py
252013eff15c913bcc6984509b0f36ea3d48e9cc
[]
no_license
ymsk-sky/atcoder
5e34556582763b7095a5f3a7bae18cbe5b2696b2
36d7841b70b521bee853cdd6d670f8e283d83e8d
refs/heads/master
2023-08-20T01:34:16.323870
2023-08-13T04:49:12
2023-08-13T04:49:12
254,348,518
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
n = int(input()) s = input() t = input() for i in range(n): if s[i] == t[i]: continue if (s[i] in "l1") and (t[i] in "l1"): continue if (s[i] in "o0") and (t[i] in "o0"): continue print("No") exit() print("Yes")
[ "ymsk.sky.95@gmail.com" ]
ymsk.sky.95@gmail.com