blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
d345d8aabf75c5430dee2cf383acce3e60f7f9b0
b85ee3f4d308a3e0022938379fbcac3186d789bc
/hanishbot.py
fb412df1ad3c1929b3f3174963a995c346d7dc27
[ "MIT" ]
permissive
waffle-iron/hanish
7f007f8e13237dea85a2c654d811836f0896f3e0
472afcb70ffe92517412c4211e6d44b51117922f
refs/heads/master
2021-01-20T14:39:59.114026
2017-05-08T15:32:25
2017-05-08T15:32:25
90,644,193
0
0
null
2017-05-08T15:32:24
2017-05-08T15:32:24
null
UTF-8
Python
false
false
1,665
py
#!/usr/bin/env python # hanishbot # Primary entry point and application runner for the Hanish bot. # # Author: Benjamin Bengfort <benjamin@bengfort.com> # Created: Mon May 08 11:15:40 2017 -0400 # # Copyright (C) 2016 Bengfort.com # For license information, see LICENSE.txt # # ID: hanishbot.py [] benjamin@bengfort.c...
[ "benjamin@bengfort.com" ]
benjamin@bengfort.com
1a9de8a30bb18f7229e11115f93570d7aae04915
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/common/visual_script/balance.py
7d8f549f7593d5fa9a6341d037304211641b92f3
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
8,334
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/visual_script/balance.py import BigWorld import sys from block import Meta, Block, InitParam, buildStrKeysValue, EDITOR_TYPE from slot_types import SLOT_TYPE, arrayOf from type import VScriptStruct, VScriptStructField from visual_sc...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
57e75f26ee80bfea08e6b5076b340fb659ece915
f8ad6963bfc851657ea50c6a036cfad29cdd7f60
/Books/GodOfPython/P00_OriginalSource/ch16/ThreadServer.py
dab8cdf02274a063c8c05da2430fcaa1f42a73b4
[]
no_license
foru120/PythonRepository
e1ab0265c0f50ef2e9acdf7447237c913560692b
db6b6be0f9fb91b0a81a3b6a2ec5631daab10f98
refs/heads/master
2021-01-01T06:53:11.728109
2019-04-25T13:52:50
2019-04-25T13:52:50
97,541,222
4
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
#ThreadServer.py from socket import * import threading #쓰레드를 사용하기 위해 sevip = '127.0.0.1' sevport = 62581 address = (sevip, sevport) sevsock = socket(AF_INET, SOCK_STREAM) sevsock.bind(address) sevsock.listen() print("waiting for connection...") clisock , cliaddr = sevsock.accept() print("connection from {}...
[ "broodsky1122@hanmail.net" ]
broodsky1122@hanmail.net
530f3e39a4f1874f054c822946fcc627683d1f44
ee730a381ef8113efedc62541f576393180b8f3e
/study/exceltest.py
11394000d715ae7256d135d624944609d047e5b1
[]
no_license
happy789450/python
b17357232cfb004757b82cb880ddb5f208aec443
05de30bf82db6a93e93a93c5158a6d23a7fb2390
refs/heads/master
2023-04-11T10:33:26.340610
2021-04-24T05:52:56
2021-04-24T05:52:56
348,461,701
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import datetime from openpyxl import Workbook wb = Workbook() ws = wb.active ws['A2'] = 1 # ws.append([1, 2, 3]) # ws.append([2, 2, 3]) # ws['A2'] = datetime.datetime.now() # ws.append([datetime.datetime.now()]) # ws['A3'] = 666 # ws['A5'] = 'aaa' wb.save("/home/rice/桌面/test/sample.xlsx")
[ "you@example.com" ]
you@example.com
01713593bf73d9c8417c6c76a052d1b48e4e8f08
e98e7b45d85273797cf9f15e92fbe685a05bde18
/编码/0091.py
225393e7141d14cd27e7bed8e70a2df295c04195
[]
no_license
wangdexinpython/test
8d29d30e099f64f831b51265db7092d520df253c
a047148409e31b8a8140f2c13b959aa54ec14d0d
refs/heads/master
2020-09-11T05:10:49.041795
2019-12-31T07:47:41
2019-12-31T07:47:41
221,948,822
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
import requests,re,json headers={ "User-Agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" } url='https://www.haodf.com/doctor/DE4rO-XCoLUXxbXYw1mnSzFYx4.htm' cons =requests.get(url,headers=headers).text c1 = re.findall(r'<div id=\...
[ "wangdexin@haxitag.com" ]
wangdexin@haxitag.com
f16d8f1b2e86dd7fffcf3273a996c0486b447faa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02778/s067474820.py
b38cee78f97ea21981130f05b1cc01060e600e35
[]
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
70
py
n = list(input()) for i in range(0, len(n)): print("x", end = "")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
dd89d168fb1b3e6cf2a02d688e79033aa57ac251
c3145ee041d4d3e0cf26ec260d9409da8e8b160a
/group/migrations/0072_auto_20160205_1921.py
4aa657e8c05c547172be8601b807bad31b6bb549
[]
no_license
jlundell-bot/library_website
0b7cab541d3cf69dd97c7c8350e21315e9155798
59a5e48adf28ecbc43c7be145f9ec386b1066313
refs/heads/master
2021-06-21T14:16:57.542644
2017-08-18T15:51:44
2017-08-18T19:37:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,891
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-02-05 19:21 from __future__ import unicode_literals import base.models from django.db import migrations import wagtail.wagtailcore.blocks import wagtail.wagtailcore.fields import wagtail.wagtaildocs.blocks import wagtail.wagtailembeds.blocks import wagtail.wa...
[ "bbusenius@users.noreply.github.com" ]
bbusenius@users.noreply.github.com
da1ea66272f627d41439ddc8369681fc1650cce4
6ac2c27121d965babbb4bcbc7c479c26bf60bdf5
/tests/node/Inequality.py
4eff81390322439b36c26cdc460d6162687b6a98
[ "MIT" ]
permissive
Gawaboumga/PyMatex
5a2e18c3e17d3b76e814492f7e2ca63a57d720e9
3ccc0aa23211a064aa31a9b509b108cd606a4992
refs/heads/master
2020-03-28T01:40:32.341723
2018-12-20T13:49:12
2018-12-20T13:49:12
147,521,693
1
0
null
null
null
null
UTF-8
Python
false
false
794
py
from tests import BaseTest from pymatex.node import * class InequalityTests(BaseTest.BaseTest): def test_read_simple_inequality(self): ast = self.parse(r'\sum_{i < j} i') i = Variable('i') self.assertEqual(ast, InequalitySummation(Inequality(i, Variable('j'), '<'), None, i)) def tes...
[ "yourihubaut@hotmail.com" ]
yourihubaut@hotmail.com
a12389d70e412c4f3fcde17263755ac7d5be0efd
0d279444c768d10a7ee6c6ec26323947e05cfd01
/backend/delivery_user_profile/migrations/0001_initial.py
7a1b9a3c600b8b9ce8ef57537def7a338ad0b4da
[]
no_license
crowdbotics-apps/listsaver-24496
e3574e92b092360d724147c78586142e07e98b7a
d8636cee59504dac335bc035fc890f80631de3b5
refs/heads/master
2023-03-05T08:15:13.712454
2021-02-13T13:56:15
2021-02-13T13:56:15
338,584,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
# Generated by Django 2.2.18 on 2021-02-13 13:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
44e44c6662496b3b74ca005acce2cc1e123d70e8
11f4852e9af2eeb5d238ddd7df9ccd713160a334
/train.py
0ee97b96ea9a28f250231624bba0f5cc8088e39b
[]
no_license
chw0806-github/nucleus_detection
d174f6c924213a0c09b7c6f1990873f8819251ff
a53b10965b2963922b7c266bb93ad4cbe2906db0
refs/heads/master
2021-04-08T16:26:47.884953
2018-05-02T04:06:43
2018-05-02T04:06:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
#!/usr/bin/env python # coding=utf-8 """ python=3.5.2 """ from data_input import read_train_data, read_test_data, prob_to_rles, mask_to_rle, resize, np from model import get_unet, dice_coef import pandas as pd from post_process import post_processing from skimage.io import imshow import matplotlib.pyplot as plt from k...
[ "993001803@qq.com" ]
993001803@qq.com
63ef1df5231e708ee0376612469a1cf795a19d00
75dcb56e318688499bdab789262839e7f58bd4f6
/Algorithms in Python Live Coding & Design Techniques/src/005_dynamic-programming/staircase/Staircase.py
23c2f71d354f0cfe8b1116f091b4108956fea056
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
835
py
#Recursive Approach def ways(n, k): if n == 0: return 1 if n < 0: return 0 ans = 0 for i in range(1, k+1): ans += ways(n-i, k) return ans #Dynamic Programming : Top Down Approach def ways_top_down(n, k, dp): if n == 0: dp[n] = 1 return dp[n] if n ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
c4ef3f208080a7271ff8600a826de6f2388393d0
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/network/v20181201/get_application_gateway.py
e213a1af3669ea04428b90d095a580ee2bde2889
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
23,183
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
de2a2f46c04b3533461e9d8caf3a4a4d4aa0077b
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/job_scrapers/plugins/com/link/verivo.py
42dac15cdc1dc889d2fb09f4ea617b24d30a63a9
[]
no_license
thayton/neekanee
0890dd5e5cf5bf855d4867ae02de6554291dc349
f2b2a13e584469d982f7cc20b49a9b19fed8942d
refs/heads/master
2021-03-27T11:10:07.633264
2018-07-13T14:19:30
2018-07-13T14:19:30
11,584,212
2
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
import re, mechanize, urlparse from neekanee.jobscrapers.jobscraper import JobScraper from neekanee.htmlparse.soupify import soupify, get_all_text, get_mailto from neekanee_solr.models import * COMPANY = { 'name': 'Verivo', 'hq': 'Waltham, MA', 'home_page_url': 'http://www.verivo.com', 'jobs_page_ur...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
034dbf6920b0dea17131a2d0fe980a11803de766
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L86/86-84_MD_NVT_rerun/set.py
8869714c49649943cc15437ffa3f1f2ed05321c6
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L86/MD/ti_one-step/86_84/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi.in' temp_prodin = filesdir + 'temp_prod.in' temp_pbs = filesdir + 'temp.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.9...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
7b15765d3b5355212d948031d49b1d902c481e39
e70e8f9f5c1b20fe36feab42ad4c2c34fc094069
/Python/Advanced OOP/Problems/09. Programmer.py
19550c44940b74453ea18b29b992c9fbee136945
[ "MIT" ]
permissive
teodoramilcheva/softuni-software-engineering
9247ca2032915d8614017a3762d3752b3e300f37
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
refs/heads/main
2023-03-29T15:55:54.451641
2021-04-09T18:46:32
2021-04-09T18:46:32
333,551,625
0
0
null
2021-04-09T18:46:32
2021-01-27T20:30:18
Python
UTF-8
Python
false
false
1,422
py
class Programmer: def __init__(self, name: str, language: str, skills: int): self.name = name self.language = language self.skills = skills def watch_course(self, course_name, language, skills_earned): if self.language == language: self.skills += skills_earne...
[ "noreply@github.com" ]
teodoramilcheva.noreply@github.com
62a4e59e5cf4f549503451c4da96a2cbd3ba2cc6
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-1250.py
eaf3a74df44747f713f3fcccbb707d453c97b4ab
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,299
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
9bb70d70f0b770a991f5cd4cae1d17455809d883
786de89be635eb21295070a6a3452f3a7fe6712c
/XtcExplorer/tags/V00-01-05/src/pyana_ipimb.py
7ee053a8e5780fb49084fe992c18bc46ada427fb
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,555
py
# # ipimb.py: plot beamline data # # import numpy as np import matplotlib.pyplot as plt from pypdsdata import xtc from utilities import PyanaOptions from utilities import IpimbData # analysis class declaration class pyana_ipimb ( object ) : def __init__ ( self, sources = None, ...
[ "ofte@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
ofte@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
09a018a907737d3860489bfb1e283fb3076ae253
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.app.i18n-2.0.3-py2.7.egg/plone/app/i18n/locales/browser/selector.py
b1c3042a8d637678e18e64d7d376cfaf252eb48d
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
4,422
py
from zope.interface import implements from zope.viewlet.interfaces import IViewlet from Products.CMFCore.utils import getToolByName from Products.Five.browser import BrowserView class LanguageSelector(BrowserView): """Language selector. >>> ls = LanguageSelector(None, dict(), None, None) >>> ls ...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
a979b2457aa15f38669ab8f4705db11263d03091
2a171178942a19afe9891c2425dce208ae04348b
/kubernetes/test/test_runtime_raw_extension.py
cd032512be70fb92fa0bda986b64e64902f7a786
[ "Apache-2.0" ]
permissive
ouccema/client-python
ac3f1dee1c5ad8d82f15aeecb87a2f5f219ca4f4
d7f33ec53e302e66674df581904a3c5b1fcf3945
refs/heads/master
2021-01-12T03:17:54.274888
2017-01-03T22:13:14
2017-01-03T22:13:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.0-snapshot Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Li...
[ "mehdy@google.com" ]
mehdy@google.com
544fc0b34f29d0d1c9f3ba62a97bca006fbb1688
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/srrmik001/question2.py
e69bea6d4cc917f38fed872b3bdcfe0cac9366f6
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
# Mikhaila Sorour # 3 March 2014 # Program to check the validity of time hours = eval(input("Enter the hours:\n")) minutes = eval(input("Enter the minutes:\n")) seconds = eval(input("Enter the seconds:\n")) if (0 <= hours <= 24) and (0 <= minutes <= 59) and (0 <= seconds <= 59): print("Your time is valid...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
9f9942f6f845c4509deedbae7579929c9e3bc703
cff52d298fcbc8d386e73a47cfbebc9be18290ce
/kuterless/nice_to_meet_you/control.py
27c923c5634f1997189e076391d8d59903636562
[]
no_license
justminime/NeuroNet
b5c8c230133554ba5e9f971b956c64f6f1a62e79
683c3ffe53a9c4f5fd8c2b8c475e44febc859971
refs/heads/master
2023-08-08T00:34:49.475359
2018-12-18T22:03:30
2018-12-18T22:03:30
163,107,131
0
0
null
2023-09-06T06:59:37
2018-12-25T19:34:54
Python
UTF-8
Python
false
false
2,525
py
# -*- coding: utf-8 -*- """ This file contain the control services, used for all views """ #from coplay.models import UserProfile, Discussion, UserUpdate from django.contrib.auth.models import User from django.core.mail.message import EmailMessage from django.core.urlresolvers import reverse from django.template.base ...
[ "tzahimanmobile@gmail.com" ]
tzahimanmobile@gmail.com
9eb2742835cce3707419ca4eba4a07b4310eb473
3780a5612c7a3c084f9106840e19e6fc07f135df
/prefect/migrations/0001_initial.py
752252a6f24b65190d8976e2f377c0f62ab37ea6
[ "MIT" ]
permissive
dschien/energy-aggregator
7a6f487db7a5fdbafc92152371ffedfc39f71f2e
421638029c5066c3182e8c94424abf5a6b05c1ea
refs/heads/master
2021-01-01T05:11:16.303483
2016-10-25T17:52:01
2016-10-25T17:52:01
71,920,880
3
0
null
null
null
null
UTF-8
Python
false
false
973
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-07-21 16:27 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('ep', '0001_initial'), ] operati...
[ "dschien@gmail.com" ]
dschien@gmail.com
2e388c4a7d35230a2f16bf9b5800ce21de947eb3
42bf795f97efe36291590879dd1d2e146df1a4f0
/User_details/decorators.py
6a3e46c903d5138679b94eed874fc62faa36b601
[]
no_license
sameesayeed007/tango-backend
b0e05fcdfe4b6c5f5a2cb501f6ef1e94da145811
05923a80ef4e464a5baa27102d678b1d8858f787
refs/heads/master
2022-12-30T18:57:52.180073
2020-10-25T09:08:35
2020-10-25T09:08:35
291,616,184
0
2
null
2020-10-05T05:48:05
2020-08-31T04:41:57
Python
UTF-8
Python
false
false
1,099
py
from django.http import HttpResponse from django.shortcuts import redirect def unauthenticated_user(view_func): def wrapper_func(request, *args, **kwargs): if request.user.is_authenticated: return redirect('/') else: return view_func(request, *args, **kwargs) return wrapper_func def allowed_users(allowed...
[ "sameesayeed880@gmail.com" ]
sameesayeed880@gmail.com
814f5968de17f5952b71e28a3b6183bddd55a086
2e582bc42f104e93be85cf6abffd258a36a5ec15
/1487A/arena.py
6d266b328f22a0410a98405aa90b801f80cc2cba
[]
no_license
akantuni/Codeforces
d2f86f1dd156aef300e797117a9ef21927c8fef0
6901a982cbaf705fdb22e5f78999a5b82917bb23
refs/heads/master
2023-06-14T18:02:37.316810
2021-07-10T19:13:13
2021-07-10T19:13:13
289,826,328
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
t = int(input()) for k in range(t): n = int(input()) heroes = sorted(list(map(int, input().split()))) if len(set(heroes)) == 1: print(0) else: for i, hero in enumerate(heroes): if hero > heroes[0]: print(n - i) break
[ "akantuni@gmail.com" ]
akantuni@gmail.com
56bb4c3df12e4fd71898de232f1404e82a3cb36e
54b31b705d88e21bc0b23aabe1df15ca13a07de2
/bayespy/discrete_example.py
680d647f49cdac991073a70d4427c783c026955a
[ "MIT", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "AFL-3.0", "GPL-1.0-or-later", "BSD-3-Clause", "Apache-2.0" ]
permissive
bayespy/bayespy
307ef4c51d511e14d4693cce9929dda37124d11d
5fe58f7160ebc3a9df7f9e96e50d2bd47837794a
refs/heads/develop
2023-08-18T21:35:27.744022
2023-05-25T08:16:36
2023-05-25T08:16:36
5,568,322
655
164
MIT
2023-08-15T09:31:55
2012-08-27T08:10:20
Python
UTF-8
Python
false
false
1,910
py
# This example could be simplified a little bit by using Bernoulli instead of # Categorical, but Categorical makes it possible to use more categories than # just TRUE and FALSE. import numpy as np from bayespy.nodes import Categorical, Mixture from bayespy.inference import VB # NOTE: Python's built-in booleans don't...
[ "jaakko.luttinen@iki.fi" ]
jaakko.luttinen@iki.fi
ccd652427fbc4bbf97ee89ec2711fe34015941be
de8310ef0914f45bb3a5bba3b089edbf45148867
/ArraysAndStrings/URLify.py
5d34eb4fa524336e0ebef88751ba27fbcebd1eac
[]
no_license
agbarker/Cracking-the-Coding-Interview-Python
f51a053ffe45bd89958f8b1e6eeb4db4c1ed6129
6358275b5f921d3c0203795d6951a6d3292333cf
refs/heads/master
2020-03-20T11:46:10.750589
2018-06-15T00:10:15
2018-06-15T00:10:15
137,411,516
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
"""Write a method to replace all spaces in a string with '%20'. You may assume that the string has sufficient space at the end to hold the additional characters, and that you are given the "true" length of the string.""" """Replacement in place is not possible in python as strings are immutable. Much of the input is...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
5cc67c74ecd44738a48c2a8a28aec26cb911ffc9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_laming.py
7c430ecc3c5017417aea135fc105890846dec859
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#calss header class _LAMING(): def __init__(self,): self.name = "LAMING" self.definitions = lam self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['lam']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ef38d0e49ad09bd73b645413d4327879867a7aba
33b2f392afef9b5e83e177fd3f0ef5582051b97d
/source_code/version_v1.0.2/wx/lib/pubsub/core/arg1/publisher.py
6dc684450d9987d3289544ec5b29c09da6a994a5
[]
no_license
luke1987515/Compatibility_Get_Reprt
eb0edbc33afcd59fb1efcb53d7eee1658d2c3009
2707b9dec5ee8c0a0cc90b6a3d4682970b21a1cb
refs/heads/master
2021-01-10T07:39:06.111371
2016-01-26T06:34:51
2016-01-26T06:34:51
48,530,211
0
1
null
null
null
null
UTF-8
Python
false
false
1,448
py
""" Mixin for publishing messages to a topic's listeners. This will be mixed into topicobj.Topic so that a user can use a Topic object to send a message to the topic's listeners via a publish() method. :copyright: Copyright since 2006 by Oliver Schoenborn, all rights reserved. :license: BSD, see LICENSE_BSD_Simp...
[ "luke1987515@hotmail.com" ]
luke1987515@hotmail.com
8a40cb445ac8644a94ee38c4497b48ecbcd1922d
47927ae79f1af279e186e76c85a77c962802262d
/number-of-provinces/number-of-provinces.py
1097ed6272ba003b0e3a436057a685835f5cbba7
[]
no_license
asheeshcric/leetcode
810b53c05c44aecea70aaa333041edf9540dd532
8e651348b8aaff2c7bf2a09327b73ff23b6f613f
refs/heads/main
2023-08-15T12:57:43.347469
2021-10-12T23:53:14
2021-10-12T23:53:14
346,944,371
1
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
class Solution: def findCircleNum(self, isConnected: List[List[int]]) -> int: graph = self.buildGraph(isConnected) print(graph) def dfs(node): stack = [node] while stack: node = stack.pop() if node in visited: ...
[ "ashiz2013@gmail.com" ]
ashiz2013@gmail.com
83ed6309f274d9843de88fa5fc4f0f94a7a6375c
050fc5ca698dfd7612dee42aa980fc7b5eee40a2
/tests/plugin/web/sw_fastapi/test_fastapi.py
db79f769eae13f255d37f5ef2543a8f5eaccad9a
[ "Apache-2.0" ]
permissive
apache/skywalking-python
8ac6ce06630c519f9984a45e74c1fcc88cf5b9d6
1a360228c63cd246dd4c5dd8e1f09bdd5556ad7d
refs/heads/master
2023-09-05T02:45:56.225937
2023-08-28T22:19:24
2023-08-28T22:19:24
261,456,329
178
122
Apache-2.0
2023-08-28T22:19:26
2020-05-05T12:13:49
Python
UTF-8
Python
false
false
1,383
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "noreply@github.com" ]
apache.noreply@github.com
1c757ce5d3ece2fec1e9f67392d79f90b9cbe48d
377420d718094a37da2e170718cecd80435d425a
/google/ads/googleads/v4/resources/types/keyword_plan_ad_group_keyword.py
43255c2418b375282bce90bbdcbac956b32c4c27
[ "Apache-2.0" ]
permissive
sammillendo/google-ads-python
ed34e737748e91a0fc5716d21f8dec0a4ae088c1
a39748521847e85138fca593f3be2681352ad024
refs/heads/master
2023-04-13T18:44:09.839378
2021-04-22T14:33:09
2021-04-22T14:33:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,104
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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
sammillendo.noreply@github.com
5f81c65e80c83744abc3c5e164e1f0a9d2296682
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/util/task/TaskMonitor.pyi
6d492035c2c3080b8d5e526b272a37ac4ea8c71f
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
5,972
pyi
import ghidra.util.task import java.lang class TaskMonitor(object): """ TaskMonitor provides an interface by means of which a potentially long running task can show its progress and also check if the user has cancelled the operation. Operations that support a task monitor should periodically ...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
4c776c689923c340b8f7275b6b5350139f3b45f6
551e1190a7b1da5694ecb812eecf0ed44a4025ee
/arrfill.py
82c3f569559ae964387875be01c812b0b23528ff
[]
no_license
Destroyer4114/Python
5dc3d85a31c7d1867e71f050bdc84209d08a945c
82fbdc75f367cecb16166b2e03a0e6fc38da2c62
refs/heads/main
2023-08-11T19:01:09.588798
2021-10-09T11:13:12
2021-10-09T11:13:12
351,766,636
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
for i in range(int(input())): n,m= map(int(),input().split()) s= [0]*(n) for j in range(m): x,y= map(int,input().split())
[ "mehul.20204114@mnnit.ac.in" ]
mehul.20204114@mnnit.ac.in
dc109bca51260581e325a5a3ee31aad9bb8d3296
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/ml_engine/operations/cancel.py
889a587d266cce0d2d87ee0d2731e7bceb68bdb2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
1,350
py
# -*- coding: utf-8 -*- # # Copyright 2017 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
0a62e91e6809dd26fae2e255a028678e38365747
d08b0a2ea1365e96c2143a3076d6f1cfce178321
/learnPython-master/Python基础代码/生成器-杨辉三角.py
9ad701e82460579ee6166ff43b0e04f20832dd4f
[]
no_license
xueyes/py3_study
f64060e5dbfcbf11c8d61de8561ce90bbb4e3c19
a7d83b58ef95806f061f375952db604afe98bc13
refs/heads/master
2022-12-11T05:56:03.540612
2019-05-06T13:07:55
2019-05-06T13:07:55
162,883,421
1
0
null
2022-12-08T02:28:21
2018-12-23T11:02:31
HTML
UTF-8
Python
false
false
372
py
def triangles(): g = [1] while True: yield g g.append(0) g = [g[i] + g[i - 1] for i in range(len(g))] # 方法二 # def Triangles(): # L = [1] # while True: # yield L # L = [1] + [L[i-1]+L[i] for i in range(len(L)) if i>0] + [1] n = 0 for t in triangles(): print(t...
[ "1401354763@qq.com" ]
1401354763@qq.com
bf1a535305ed6702198c8e6f86a7e35fc5ee1d24
6a6984544a4782e131510a81ed32cc0c545ab89c
/src/trigger-sim/resources/test/InIceSMTTest.py
e76d9b6cc051e6da93843ab9522e021036a89dad
[]
no_license
wardVD/IceSimV05
f342c035c900c0555fb301a501059c37057b5269
6ade23a2fd990694df4e81bed91f8d1fa1287d1f
refs/heads/master
2020-11-27T21:41:05.707538
2016-09-02T09:45:50
2016-09-02T09:45:50
67,210,139
1
0
null
null
null
null
UTF-8
Python
false
false
601
py
#!/usr/bin/env python from I3Tray import * from icecube import icetray, dataclasses, dataio, trigger_sim from os.path import expandvars import sys from icecube.trigger_sim.inice_test_modules import TestSource, TestModule tray = I3Tray() gcd_file = expandvars("$I3_TESTDATA/sim/GeoCalibDetectorStatus_2013.56429_V1.i...
[ "wardvandriessche@gmail.com" ]
wardvandriessche@gmail.com
c5b6007281a9882a1ead24bdfd1c6c3bfc974164
a110cda0dd755a0aeeccaa349de5b7c8f836f7d9
/Dynamo_0.9.X/Material.ImportAllFromProject.py
8ebeabec311a77bd8f881b36999e9aede5824adc
[]
no_license
ksobon/archi-lab
26d93ef07e4f571e73a78bc40299edd3dc84c2a6
9a8a57eccca899ace78a998dc7698ff7754fae6b
refs/heads/master
2021-01-15T09:37:06.045588
2020-06-03T15:55:46
2020-06-03T15:55:46
26,090,112
6
5
null
2020-02-09T04:24:41
2014-11-02T19:02:28
Python
UTF-8
Python
false
false
1,885
py
# Copyright(c) 2015, Konrad K Sobon # @arch_laboratory, http://archi-lab.net # Import Element wrapper extension methods import clr clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) # Import DocumentManager and TransactionManager clr.AddReference("RevitServices") import RevitServices fro...
[ "ksobon1986@gmail.com" ]
ksobon1986@gmail.com
63e88f32f327f0a4fdb1cdcaada92096e1338efc
b7fe089a067bdefd917af1c6b8f0701d33a3cf77
/tests/networks/backbones/test_efficientnet.py
230ffbbe1d834ecd3fc0f385fc495db1d46c43e4
[ "MIT" ]
permissive
Ares2013/coreml
145a186a8e12f95d836118d30ba9d4e533862c03
cd9f8c5f2e8cec8da6c5842dd235339b2e32be38
refs/heads/master
2022-12-04T18:02:01.590739
2020-08-19T08:41:12
2020-08-19T08:41:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
"""Tests coreml.networks.backbones.efficientnet""" import torch import torch.nn as nn import unittest from coreml.networks.backbones.efficientnet import EfficientNet class EfficientNetTestCase(unittest.TestCase): """Class to check the EfficientNet backbone""" def test_efficientnet_b0(self): """Test ef...
[ "amandalmia18@gmail.com" ]
amandalmia18@gmail.com
8d6463e395c349d2b2e673b0ba78279a143e92dd
f77d7a92e64766c1aaa888e91fb0377f1acd37a4
/docs/photons_docs/config/ext/photons_errors.py
94f270010e4c9e3de934fa4dbcff7e81d8607203
[ "MIT" ]
permissive
geoff-nixon/photons-core
e531b3dd6f20e51138d0a38a680f140dc01f409b
cd4aaca33a79485fe5bb8fc26bdf35b7a7064e4b
refs/heads/master
2020-05-04T09:04:49.753358
2019-03-31T05:10:36
2019-03-31T05:10:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
from photons_app.errors import PhotonsAppError from photons_app import errors from docutils.parsers.rst import Directive from docutils import statemachine import pkg_resources import os class ShowPhotonsErrorsModulesDirective(Directive): has_content = True def run(self): template = [] for na...
[ "stephen@delfick.com" ]
stephen@delfick.com
7cebc0b0c1b61ec9172d4a4251419db4bd840f91
34ef83114e02b173bd2d55eb53ad399e738a8e3c
/django/code_test/blogstandart_2_0v/manage.py
3ac52e0cdbc0544c74845cd8841cf6383e548d6b
[]
no_license
vavilon/Python3
e976a18eb301e4953696d1e3f4730ed890da015a
8c79729747ce51d60ad685e6a2e58292954ed7eb
refs/heads/master
2023-01-09T13:44:37.408601
2018-01-25T22:41:14
2018-01-25T22:41:14
100,892,055
0
1
null
2022-12-26T20:29:27
2017-08-20T22:23:06
Python
UTF-8
Python
false
false
548
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "blogstandart_2_0.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Dja...
[ "overon4ek@gmail.com" ]
overon4ek@gmail.com
3fbf36c2307e8a12c7191f45d321926234a141d6
a37e5bcf2b8d0d9175acfc9fda999debe3af2fb3
/manage.py
d0d841b35c308da5cfb50860b837ca8db9c06dc9
[]
no_license
hanifsarwary/ClothingSite
d882f1bbec8922aafaa1384c52036826cf55854f
fcaedb49b43aaf85788e570757507bcb10746fd6
refs/heads/master
2020-08-12T14:45:19.806795
2019-12-04T13:17:00
2019-12-04T13:17:00
214,785,483
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'clothingSite.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "mianhanif13@gmail.com" ]
mianhanif13@gmail.com
73e931ed29a6009dd135a7b63818fc5e41753f96
12b5584956797fcb0f48e7971bc074ae13a37489
/pySpatialTools/Discretization/spatialdiscretizer.py
9f9b8bcc40782a92b41a8a406d94185d9ab8291a
[ "MIT" ]
permissive
tgquintela/pySpatialTools
a0ef5b032310aa1c140e805f4ee8c4a40fd2d10e
e028008f9750521bf7d311f7cd3323c88d621ea4
refs/heads/master
2020-05-21T22:09:08.858084
2017-02-10T11:18:41
2017-02-10T11:18:41
39,067,763
8
0
null
null
null
null
UTF-8
Python
false
false
10,341
py
""" Spatial Discretizor ------------------- Module which contains the classes to 'discretize' a topological space. When we talk about discretize we talk about creating a non-bijective mathematical application between two topological spaces. The main function of an spatial discretization class is the transformation of...
[ "tgq.spm@gmail.com" ]
tgq.spm@gmail.com
fcf6fabcce314d18894e8c1469786cb596d838ca
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/cmp/cmpparameter.py
e51711ea6a777ffce61fcf0443e72fca53c4133c
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
16,484
py
# # Copyright (c) 2008-2019 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
a6b5ab6e0082d3f1e3ba47450999a097a86f5258
cee8fb161f0bd4aa4345b1ec9c269e43cc10c2dd
/rtamt/operation/arithmetic/dense_time/online/exp_operation.py
54fad220102af8c5dda57df0aba9870f88bcf60c
[ "BSD-3-Clause" ]
permissive
TomyYamy/rtamt
172510fc2b26188b1d7ed6f6cfefc6830508c9a1
a16db77b61028f774d81457ff22e666229a5432c
refs/heads/master
2023-09-05T00:06:44.375841
2021-11-12T09:46:58
2021-11-12T09:46:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
import math from rtamt.operation.abstract_operation import AbstractOperation class ExpOperation(AbstractOperation): def __init__(self): self.input = [] def update(self, input_list): out = [] for in_sample in input_list: out_time = in_sample[0] out_value = math....
[ "dejan.nickovic@ait.ac.at" ]
dejan.nickovic@ait.ac.at
0a2080933765ad216e8ef34c423e5dfdc1bbd3ec
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/0dade18f43cf5c015773d461ccff478f156179b5-<get_module_docs>-fix.py
6399b208333447abdd182b8d1999ac8a8e8cbaf6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
def get_module_docs(self, path, contents): '\n :type path: str\n :type contents: str\n :rtype: dict[str, any]\n ' module_doc_types = ['DOCUMENTATION', 'EXAMPLES', 'RETURN'] docs = { } def check_assignment(statement, doc_types=None): 'Check the given stat...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
8d6b6341d97bf4d6bd372ca55ec0b55bb54141f4
33aeee667b5d55dfc48c39a96583b1eccf04961a
/P3python_dev/Demo/order_demo.py
005fc3ba980240b0df6bfebb9f7673f8853dc3f9
[]
no_license
yangtingting123456/python-unittest-requests-htmlrunner
fc2cbec7f0b36e4aa1be905db0dcc34d32262e93
9f155cbf3fc25d68ba0420837d03b4d7ac71f2b6
refs/heads/master
2023-01-06T10:18:21.979337
2020-10-26T09:18:43
2020-10-26T09:18:43
307,299,936
0
1
null
null
null
null
UTF-8
Python
false
false
215
py
#手动在控制台输入五个数字 nums=input('请输入任意五个数字:') print(type(nums)) num=nums.split(' ') print(type(num)) num.sort() print(num) num_list=num.sort(reverse=True) print('%s'%num_list)
[ "3048903923@qq.com" ]
3048903923@qq.com
efb63d86ca30c1448d7cb0cab52ccbbac460ef26
7ce8670cc2b63a01aa4fa08ff040dc2ea2304c04
/ecommarce/migrations/0022_auto_20180926_0539.py
c3e042f2634dc3a6a8d79a19d4f3431c3ae2b8ce
[]
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
455
py
# Generated by Django 2.1.1 on 2018-09-26 05:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ecommarce', '0021_auto_20180926_0535'), ] operations = [ migrations.AlterField( model_name='productbasic', name='reg...
[ "bmshamsulhaq65@gmail.com" ]
bmshamsulhaq65@gmail.com
e0b024e5b79c1d5f42ef9a23a54590144441cd5c
d2024f10e641ab2f28a888d23071edc032299498
/pacer/pacer.py
e0eca0bd7271916fc0daebeb3fbf4c3dc9da0b15
[]
no_license
chen116/demo2018
6f2ae07150182b8e14a2eacbc57bdc79c03e6dee
d289545bcc30445be26e1381d5301d8f657d0c6e
refs/heads/master
2021-04-27T13:11:44.742650
2018-07-14T14:38:37
2018-07-14T14:38:37
122,435,014
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
import heartbeat import host_guest_comm import numpy as np import time window_size_hr=5 hb = heartbeat.Heartbeat(1024,window_size_hr,100,"vic.log",10,100) monitoring_items = ["heart_rate","app_mode","frame_size","timeslice"] comm = host_guest_comm.DomU(monitoring_items) it = 1 matsize = 500 comm.write("app_mode", 4)...
[ "yvictorck@gmail.com" ]
yvictorck@gmail.com
c5fc28a9aac563a1e87570944ad552bfb2e8010e
6ea83cee7623e2b1d28bb79d0e97645327627b0c
/old_code_before_revision_where_processed_google_sheet_csv_data_and_image_conversion_etc/hennur/pdf_generation/sub_elements/image.py
0a968642bfbf4c07c6528dd4d7de831eaa014877
[]
no_license
santokalayil/Address_Directory_Generaation_-_ReportLab_Automation
6358134211f621a54c2734971947d52e22cce30a
ed00103c41aa358d5b3256ad0bfd5c4467ac231b
refs/heads/main
2023-07-19T01:22:49.959251
2021-08-21T18:19:00
2021-08-21T18:19:00
352,067,628
4
1
null
null
null
null
UTF-8
Python
false
false
1,365
py
from reportlab.lib import colors from pdf_generation.page_settings import * from reportlab.platypus import Image, Table class family_image: def __init__(self, img_path): self.img_path = img_path def generate(self): # pct = 0.9 img_width = (320 * 0.35) # * pct img_...
[ "49450970+santokalayil@users.noreply.github.com" ]
49450970+santokalayil@users.noreply.github.com
7e7f0b264959e12721da8946df1b7451fb442b0a
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/histogram/marker/_showscale.py
9ae878dd8c435f88b4a47da9bbee1a5d4207006c
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
451
py
import _plotly_utils.basevalidators class ShowscaleValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name='showscale', parent_name='histogram.marker', **kwargs ): super(ShowscaleValidator, self).__init__( plotly_name=plotl...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
38d7a85500b2bafd860e807a46b3baa9a9b67ed5
6250be4dcf519d0f0b152b10a641b2d12a35c53f
/모두의 파이썬/09B-walk2.py
d4d4e3deb14c67dd29c705c8b12e322122bfcb15
[]
no_license
heechul90/study-python-basic-2
babd01f6a7c2b1fbed4aa31030bb40128960a989
94780478e59dfc998baa6e3069ab2473c5df74db
refs/heads/master
2022-10-27T14:44:00.688509
2022-10-24T10:55:33
2022-10-24T10:55:33
196,142,410
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# 마음대로 걷는 거북이2 import turtle as t import random t.shape("turtle") # ‘거북이’모양의 거북이 그래픽을 사용합니다. t.speed(0) for x in range(500): # 거북이를 500번 움직입니다. a = random.randint(1, 360) # 1~360 사이의 아무 수나 골라 a에 저장합니다. t.setheading(a) # a 각도로 거북이의 방향을 돌립니다. b = random....
[ "heechul4296@gmail.com" ]
heechul4296@gmail.com
897865636e0146212d66ac2daf1a4de0fd3a642f
c80dff81cfec241e6baac8d7211ac16a969d28a4
/Fitting/gaussian.py
138544e57dcef5f40cb42915f41608b1afe6e8d2
[]
no_license
Silentsoul04/PythonCode
0043354002b3117f7c2b69a52ca14e664f978576
c7301fb7983edbe3492e7d78d531ba2f427d2f3e
refs/heads/master
2023-01-27T14:26:07.609433
2020-12-11T20:23:48
2020-12-11T20:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 7 17:30:06 2014 @author: rhf - Gaussian distribution - histogram - fit of the histogram - smooth of the plot """ import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit from scipy.interpolate import spline # Define some test data whic...
[ "ricleal@gmail.com" ]
ricleal@gmail.com
ec279913ecabe3eb11f4c1ffffd58e3d3b6a4f6c
5f4e13201d4c5b7edc8dbbda289380682a187bec
/deps/numpy/doc/source/user/plot_face.py
3945f448b1d1b817beec2a2713b6b514d2535f08
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "MIT" ]
permissive
intellivoid/CoffeeHousePy
92f4fb344de757837c3d3da05cb5513e90408039
57c453625239f28da88b88ddd0ae5f1ecdd4de3c
refs/heads/master
2023-02-23T14:32:01.606630
2021-01-28T02:57:10
2021-01-28T02:57:10
324,419,067
0
2
null
null
null
null
UTF-8
Python
false
false
95
py
from scipy import misc import matplotlib.pyplot as plt img = misc.face() plt.imshow(img)
[ "netkas@intellivoid.info" ]
netkas@intellivoid.info
bef4645a495593d7e79910acfbbbf98082fabfe9
ec53949dafa4b6ad675d679b05ed7c83fef2c69a
/DataStructuresAndAlgo/InterviewQuestions/ValidateBST.py
3108de4956d06bb38f0473cbf994c5b1572e2a3d
[]
no_license
tpotjj/Python
9a5a20a53cd7a6ec14386c1db8ce155e0fc9ab8a
ca73c116ada4d05c0c565508163557744c86fc76
refs/heads/master
2023-07-11T16:37:10.039522
2021-08-14T11:17:55
2021-08-14T11:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
class TreeNode: def __init__(self, value): self.value = value self.left = None self.right = None def helper(node, minValue = float('-inf'), maxValue = float('inf')): if not node: return True val = node.value if val <= minValue or val >= maxValue: return False ...
[ "joris97jansen@gmail.com" ]
joris97jansen@gmail.com
275ea9d6de193ca4548a34d9ceea32848bf2ff43
25985aeeee54373d26a164e4cc6a014770e3ebf3
/windows/w3af/w3af/core/data/dc/.svn/text-base/form.py.svn-base
627f670c6050ac0f263a6142f22efd63e41306c8
[]
no_license
sui84/tools
4b750dae90940fbe3a226cba72dc071d8fb88b7c
651cc08eb50199ce1044c684dbf714ea26df6432
refs/heads/master
2021-01-22T19:22:26.964580
2017-08-20T15:23:38
2017-08-20T15:23:38
100,774,276
0
1
null
null
null
null
UTF-8
Python
false
false
13,411
''' form.py Copyright 2006 Andres Riancho This file is part of w3af, w3af.sourceforge.net . w3af 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 version 2 of the License. w3af is distributed in the hope that it...
[ "sui84@126.com" ]
sui84@126.com
b7c8473a2b9909b147915912c1f9c97e8ef39cc3
9322c270beaf1019328bf14c836d167145d45946
/raoteh/sampler/tests/test_sample_mcx.py
9fdb9aec3922742c6a71357b1a15795a4acdb1aa
[]
no_license
argriffing/raoteh
13d198665a7a3968aad8d41ddad12c08d36d57b4
cdc9cce8fdad0a79dbd90dfcdec6feece8fc931f
refs/heads/master
2021-01-22T19:41:25.828133
2014-03-10T22:25:48
2014-03-10T22:25:48
10,087,018
1
0
null
null
null
null
UTF-8
Python
false
false
11,830
py
""" Test functions that Markov chain trajectories on a tree. In this module we consider only discrete-time discrete-space Markov chains. """ from __future__ import division, print_function, absolute_import import numpy as np import networkx as nx from numpy.testing import (run_module_suite, TestCase, assert...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
68d13a2a50ef4b39ae111b75a765b6bc473dd10c
2c4efe2ce49a900c68348f50e71802994c84900a
/braindecode/braindecode/venv1/Lib/site-packages/numba/cuda/tests/cudapy/test_forall.py
f6d600d8bb11534ddaaad7b10be0bc1287032cde
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
sisi2/Masterthesis
b508632526e82b23c2efb34729141bfdae078fa0
7ce17644af47db4ad62764ed062840a10afe714d
refs/heads/master
2022-11-19T15:21:28.272824
2018-08-13T15:02:20
2018-08-13T15:02:20
131,345,102
2
1
null
2022-11-15T14:08:07
2018-04-27T21:09:21
Python
UTF-8
Python
false
false
1,123
py
from __future__ import print_function, absolute_import import numpy as np from numba import cuda import numba.unittest_support as unittest from numba.cuda.testing import skip_on_cudasim, SerialMixin @skip_on_cudasim('forall API unsupported in the simulator') class TestForAll(SerialMixin, unittest.TestCase):...
[ "dansyefila@gmail.com" ]
dansyefila@gmail.com
52ae38711097f2236ddfae0e9e374633a596c0bd
a64b8fc6c9e81d433878009249fe9c9a109a602c
/core/confdb/syntax/meta/interfaces.py
a55f214f6c750f612e2563ff8dd20d85ccb8d42d
[ "BSD-3-Clause" ]
permissive
ewwwcha/noc
d1de6fe1d556e0f14a0dd31c600844cf43c96728
aba08dc328296bb0e8e181c2ac9a766e1ec2a0bb
refs/heads/master
2020-07-29T10:10:30.862660
2019-09-20T07:54:52
2019-09-20T07:54:52
209,755,887
1
0
NOASSERTION
2019-09-20T09:36:22
2019-09-20T09:36:22
null
UTF-8
Python
false
false
5,016
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # ConfDB interfaces X meta syntax # ---------------------------------------------------------------------- # Copyright (C) 2007-2019 The NOC Project # See LICENSE for details # ----------------------------------------------...
[ "dv@nocproject.org" ]
dv@nocproject.org
1dc9756617bc7606a3e5f69b72ea4f6279f1e493
43b36890c037da0f8a1ee4c6f03349c5e70b6333
/modules/ieee/doc/next.py
c6c4b76a779cc42c762ff8aae6a23a7b615c2e7c
[ "BSL-1.0" ]
permissive
msuchard/nt2
3a07decd8d184e3067452bc7f075e392c7bacc03
082d79abd069f4c356bfe10fd113de024f90a5f8
refs/heads/master
2021-01-18T12:29:32.075028
2011-11-15T23:18:23
2011-11-15T23:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,330
py
[ ## this file was manually modified by jt { 'functor' : { 'arity' : '1', 'call_types' : [], 'ret_arity' : '0', 'rturn' : { 'default' : 'T', }, 'simd_types' : ['real_'], 'type_defs' : [], 'types' : ['real_', 'unsigned_int_'...
[ "jtlapreste@gmail.com" ]
jtlapreste@gmail.com
d8b7625ba76b77d1482fe1ee3866c6c8f7ec0a41
3d6a348d703bcef1ff0b11f340a9b63f4ffec534
/app/__init__.py
200cd3e2f574bb9f57b349ec8c5a9a9a836cde1a
[]
no_license
Boomatang/Clue
717fed577c15203e8a86de2da96650d46170cc03
1b397b815d20c87bf1a0935f6c3f0502ceaddf6e
refs/heads/master
2021-05-09T10:48:04.036476
2019-09-02T17:41:37
2019-09-02T17:41:37
118,974,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
from flask import Flask from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from app.utils import logger from config import config from flask_login import LoginManager from flask_mail import Mail bootstrap = Bootstrap() db = SQLAlchemy() mail = Mail() login_manager = LoginManager() login_man...
[ "jimfity@gmail.com" ]
jimfity@gmail.com
629a0a7c039064ace700531452345db4a512f867
f654f5f07dd8109c0ee31ba89dd4804e6b288343
/src/test/config/sections/brain/test_oob.py
bde9b4d6a7293565166e49830fe171d49a3fb640
[ "MIT" ]
permissive
sprinteroz/program-y
3d1f5f28e4f3be770705d4bef15410b8b78f19da
454c6bde225dce7c3fb01c549d46249248caf7b5
refs/heads/master
2021-01-19T16:05:25.636700
2017-08-22T03:56:33
2017-08-22T03:56:33
100,986,551
1
0
null
2017-08-21T19:43:43
2017-08-21T19:43:43
null
UTF-8
Python
false
false
1,628
py
import unittest from programy.config.file.yaml_file import YamlConfigurationFile from programy.config.sections.brain.oob import BrainOOBConfiguration from programy.config.sections.client.console import ConsoleConfiguration class BrainOOBConfigurationTests(unittest.TestCase): def test_oob_with_data(self): ...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
15364f7c33c0d232d41563d89fefbb13af61eba3
bd9f8187b7821b2e6ffd949386b791f264a7ccab
/adam.py
8ac53ebe61738f4f6d795a3b2d41cf4a933fbc85
[]
no_license
LeonKennedy/qkids
353786666536a745d6ecdc75b70be0ff988580a3
d7c8bdea4d6ccd257750e05fb113d2f39622ff0e
refs/heads/master
2020-03-17T13:41:32.466438
2018-11-25T12:25:21
2018-11-25T12:25:21
133,641,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # @Filename: adma.py # @Author: olenji - lionhe0119@hotmail.com # @Description: COO 所需数据 # @Create: 2018-11-25 19:00:56 # @Last Modified: 2018-11-25 19:00:56 # from LocalDatabase import get_schedule_connection, get_product_connection import pandas as pd import pdb class M1:...
[ "lionhe0119@hotmail.com" ]
lionhe0119@hotmail.com
fd801218ea84ab029a1a97a8ee592cf3140712b6
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/16/31/0.py
b3e9c53ea22fc72878d34f6b44630978001fd602
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
698
py
from sys import stdin def getint(): return int(stdin.readline()) def getints(): return tuple(int(z) for z in stdin.readline().split()) for cn in xrange(1,1 + getint()): n = getint() ps = getints() m1 = max((ps[i],i) for i in xrange(n))[1] m2 = max((ps[i],i) for i in xrange(n) if i...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
98201188154bbccad11c7feb8172dedeb36eaaed
e6cb78ce3575334a8dbc871371c04572ba47f20f
/0x01-python-if_else_loops_functions/101-remove_char_at.py
faf681782e69b2a646f204769c4488356fad4753
[]
no_license
SoniaChevli/holbertonschool-higher_level_programming
c781903157136a550b151cac7975ac54015f4e45
0c210f6d18781bfe10fb8c87da7cc7177e58f46e
refs/heads/master
2020-03-09T13:07:48.416175
2018-09-07T18:09:16
2018-09-07T18:09:16
128,802,668
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
#!/usr/bin/python3 def remove_char_at(str, n): copy = '' for x in range(len(str)): if (x != n): copy += str[x] return copy
[ "you@example.com" ]
you@example.com
60096a85f40d711369a08c7b1b86636e2e7a41d9
13a66c5a9ff2490ee747a22dc6d264d7d5899278
/scripts/app_client.py
8a9b78ee34fb69a119e5d89e237e33ea6132f9da
[]
no_license
sandhyazdodiya/pure_django_api_vs_drf
4b39e7974eb23baad3609c148b7983ed9b91e39d
4d59f5072bad988a20b6185e8e0672dbf7179109
refs/heads/main
2023-02-05T10:49:22.088156
2020-12-31T12:42:01
2020-12-31T12:42:01
322,474,346
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
import requests import json import MySQLdb BASE_URL = "http://127.0.0.1:8000/" ENDPOINT = "api/updates/" def get_list(): r = requests.get(BASE_URL+ENDPOINT) # Get list print(r.status_code) data = r.json() for obj in data: if obj['id'] ==1: r2 = requests.get(BASE_URL+ENDPOINT+str...
[ "you@example.com" ]
you@example.com
52570feb3048b5c5e20cd6026b9a9669abff56ca
c7066d3b72a54665d81de1d77d7bdcfd0ece7b42
/python/ccxt/blockchaincom.py
c6025ce785fbb002fa10e340dd3033cc8ddfc862
[ "MIT" ]
permissive
blair/ccxt
cf09b7a604586c230e8cea2b6e4dbf6c3c3497ea
3a6bd4efb78d01391f9a4ea43ec228b75ca24695
refs/heads/master
2023-09-03T21:09:44.447194
2023-08-26T19:01:14
2023-08-26T19:01:14
126,121,401
0
2
MIT
2018-03-21T04:02:57
2018-03-21T04:02:56
null
UTF-8
Python
false
false
48,945
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange from ccxt.abstract.blockchaincom import ImplicitAPI from ccxt.base.types import OrderSide from ccxt...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
8d653e447ccd1bbc5219799f747b89e50269d731
b988ae0baa8c6a8098fadbe96a8a4ba7a0016f36
/social/backends/live.py
2884438fbc0955e10b4cfc8bc8c723ec050ee504
[ "Python-2.0", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
stephenmcd/python-social-auth
6cedefa282975ce6043632f8272c527cc738abdd
f70500ad966887a793ea17ed7b794e5526f828f1
refs/heads/master
2021-01-21T08:51:52.779136
2013-12-03T10:28:38
2013-12-03T10:28:38
14,885,186
0
1
null
null
null
null
UTF-8
Python
false
false
1,257
py
""" Live OAuth2 backend, docs at: http://psa.matiasaguirre.net/docs/backends/live.html """ from social.backends.oauth import BaseOAuth2 class LiveOAuth2(BaseOAuth2): name = 'live' AUTHORIZATION_URL = 'https://login.live.com/oauth20_authorize.srf' ACCESS_TOKEN_URL = 'https://login.live.com/oauth20_toke...
[ "matiasaguirre@gmail.com" ]
matiasaguirre@gmail.com
2631a8e662e432ab59e792b069be027fbf8dd507
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/bar/_constraintext.py
930b959ee4bb09faf0e0d0634c33bccb98c98747
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
487
py
import _plotly_utils.basevalidators class ConstraintextValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name='constraintext', parent_name='bar', **kwargs ): super(ConstraintextValidator, self).__init__( plotly_name=plotly_name, pa...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
b9ceed3c8c034db5703e61e8a45a35719069f193
60d5ea4f007d49768d250ef394003f554003e4d0
/python/Backtracking/051.N-Queens.py
ee7c4ab3c9a52e343f670af51f54f6fa41acebf8
[]
no_license
EvanJamesMG/Leetcode
dd7771beb119ea1250dbb3b147a09053298cd63b
fa638c7fda3802e9f4e0751a2c4c084edf09a441
refs/heads/master
2021-01-10T17:11:10.896393
2017-12-01T16:04:44
2017-12-01T16:04:44
46,968,756
5
1
null
null
null
null
UTF-8
Python
false
false
4,899
py
/* The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens puzzle. Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both indicate a queen ...
[ "Evan123mg@gmail.com" ]
Evan123mg@gmail.com
f1e6748a0efe1c156093e43c420f7c16862573db
8aa1b94626402c0c614128d6061edb771dad05cf
/stu02/999test_user.py
5b48e67c1eaea2db5b122eaee9ffccbb00699acd
[]
no_license
netfj/Project_Stu02
31e76c1b656ee74c54cae2185821dec7ccf50401
afc1b26b7c586fd6979ab574c7d357a6b9ef4d29
refs/heads/master
2023-03-13T22:24:40.364167
2021-02-23T09:53:31
2021-02-23T09:53:31
341,506,093
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
a=[(1,2,3),('a','b','c')] print(a) print(a[0]) print(a[1][1]) for n in range(1,10): print(n)
[ "netfj@sina.com" ]
netfj@sina.com
52c28d99fae8462a3d39a4e713d71da4f32ba11a
f66a33f8cdd8286320da730be67c89ee00d83d8d
/src/mem/cache/compressors/Compressors.py
c8f82c55a1103c907425e48f1f0b631de7b162f6
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
H2020-COSSIM/cgem5
0d5812632757e6146f7852c9bf4abe4e9628296a
1222cc0c5618875e048f288e998187c236508a64
refs/heads/main
2023-05-13T14:08:01.665322
2023-05-08T08:39:50
2023-05-08T08:39:50
468,039,890
3
2
BSD-3-Clause
2022-10-12T14:29:33
2022-03-09T18:05:40
C++
UTF-8
Python
false
false
12,027
py
# Copyright (c) 2018-2020 Inria # 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 of conditions and the following...
[ "ntampouratzis@isc.tuc.gr" ]
ntampouratzis@isc.tuc.gr
9c24ec6281f68a5650163c101e90e9fc247a1dcf
33edba95f6313b2f5003d5973a37ac1e5988442f
/src/users/SConstruct
9b1f195bae06f126f6515df699eb7be726cced63
[]
no_license
faustus123/bdxReco
25a8883eb23f8bb6ee7f76050141fcc5ca8add79
c173906d248146df3279347d7ff8f60211b8b601
refs/heads/master
2020-12-24T12:40:05.523304
2016-02-03T16:07:52
2016-02-03T16:07:52
51,010,837
0
0
null
2016-02-03T16:07:53
2016-02-03T15:56:13
C++
UTF-8
Python
false
false
565
from utils import * Import('env') users_names = getSubdirs('./') for user in users_names : plugins = getSubdirs(str(user)) for plugin in plugins: print bcolors.OKGREEN,"Found plugin ",plugin," for user ",user,bcolors.ENDC #We do not want to increment "at libitum" CPPPATH tmp_cpppath=env['CPPPATH']; dir = s...
[ "andrea.celentano@ge.infn.it" ]
andrea.celentano@ge.infn.it
80c552dd0deb638466da67214246f640e2852f73
1d7eec692553afc411ec1e7325634f71a2aed291
/backend/core/apps.py
348e92f897b24984f69c0822f7848e13ccd76b1e
[]
no_license
Andy-Nkumane/Tilde
a41a2a65b3901b92263ae94d527de403f59a5caf
80de97edaf99f4831ca8cb989b93e3be5e09fdd6
refs/heads/develop
2023-05-09T10:02:41.240517
2021-05-28T09:20:51
2021-05-28T09:20:51
299,501,586
0
0
null
2020-10-25T22:37:30
2020-09-29T04:10:48
Python
UTF-8
Python
false
false
164
py
from django.apps import AppConfig class CoreConfig(AppConfig): name = "core" def ready(self): # register the signals import core.signals
[ "sheena.oconnell@gmail.com" ]
sheena.oconnell@gmail.com
f2bcfcdc6a9c0b10038cca469bc8f6212aecafae
b9008dc6326b30de1a16ba01a1f3143aa248f7c3
/python/chapter3/ex01_2.py
9f32e9fe384e913b4a49ee7bf387fcba2200d019
[]
no_license
wonjongah/multicampus_IoT
ce219f8b9875aa7738ef952a8702d818a571610e
765a5cd7df09a869a4074d8eafce69f1d6cfda4a
refs/heads/master
2023-02-13T12:30:19.924691
2021-01-08T10:17:42
2021-01-08T10:17:42
292,800,307
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
a = 1 +2j b = 3 + 4j print(a + b)
[ "wonjongah@gmail.com" ]
wonjongah@gmail.com
5c0cb0db96cc9683da39a17d57d2fd157c236521
050be63ad4e88890954756fd1a06f93a7993f732
/backend/lizz_jun18_mob4_dev_6256/wsgi.py
f43e047ac58a377ae0ced3d71b1e6d9d63b0bcea
[]
no_license
crowdbotics-apps/lizz-jun18-mob4-dev-6256
46cb7ed037b5e223b151e799db3aa2891257f407
4a889dc560f2d463e437978d665d0b00a7b4c87f
refs/heads/master
2022-11-04T23:40:05.810141
2020-06-19T00:15:09
2020-06-19T00:15:09
273,366,024
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
""" WSGI config for lizz_jun18_mob4_dev_6256 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefa...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5e5660b444534e5fe95cc65a0a2a1bd41e5b8386
b56eaf7a603cbb850be11dbbed2c33b954dedbcb
/ctools/pysc2/lib/actions.py
ddc7344914ebcf1ebfcea0f19aa4ebb4fc78515f
[ "Apache-2.0" ]
permissive
LFhase/DI-star
2887d9c5dd8bfaa629e0171504b05ac70fdc356f
09d507c412235a2f0cf9c0b3485ec9ed15fb6421
refs/heads/main
2023-06-20T20:05:01.378611
2021-07-09T16:26:18
2021-07-09T16:26:18
384,499,311
1
0
Apache-2.0
2021-07-09T16:50:29
2021-07-09T16:50:28
null
UTF-8
Python
false
false
113,849
py
# Copyright 2017 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 ...
[ "opendilab@gmail.com" ]
opendilab@gmail.com
faf352b930625907a784008bebc86e45147b6b82
0ca21d1d60bb9dbe70fb55b7ebace0510695d489
/examples/youtube_banner.py
5c280f0137305a832cf9912b4b0e9c0d10e8f3f5
[ "Apache-2.0" ]
permissive
colinmford/coldtype
fa5cc65ac318ee22138857ea60d964ca4ecb8267
8462dbd5f65f3ef8f3cbc8662a866b7e20ec5985
refs/heads/main
2023-07-02T12:34:18.700566
2021-08-06T03:40:21
2021-08-06T03:40:21
393,237,997
0
0
Apache-2.0
2021-08-06T03:35:41
2021-08-06T03:35:40
null
UTF-8
Python
false
false
534
py
from coldtype import * from coldtype.fx.skia import phototype obv = Font.Cacheable("assets/ColdtypeObviously-VF.ttf") logos = raw_ufo("assets/logos.ufo") @renderable((2048, 1152)) def banner(r): return (DATPens([ DATPen().rect(r).f(hsl(0.65)), (StyledString("COLDTYPE", Style(obv, 300, ...
[ "rob.stenson@gmail.com" ]
rob.stenson@gmail.com
b0b33db89eb9adc6024895b5acb3afee09f7ccec
3bbdcdfa6ee6631bea52dd651914cb898062b870
/base_standard_profiler/cprofile_basemark4.py
d2538ef458d9e697088f2c64b1f273964a85926a
[]
no_license
xiaoyeren/python_high_performance
55ea5ee9f628e1c1155a6946274c862bda57ae2c
496a5e55e7f40033c80e9ee3b9190c184d4701d9
refs/heads/master
2020-05-24T15:20:00.576786
2019-05-13T06:01:35
2019-05-13T06:01:35
187,329,222
1
0
null
2019-05-18T07:43:11
2019-05-18T07:43:11
null
UTF-8
Python
false
false
1,653
py
# -*- coding: utf-8 -*- ''' Created on 2019年4月8日 下午9:21:00 Zhukun Luo Jiangxi University of Finance and Economics ''' #memory profiler from app import ParticleSimulator,particle from random import uniform from memory_profiler import profile import sys def test_evolve(): particles=[particle(0.3,0.5,1),particle(0.0,-...
[ "luozhukun@163.com" ]
luozhukun@163.com
afb1396453b05ec538e23fc9b5de341ed7ce174a
6bd4eff3c0ca5b2dd575dbee2b0a02a898f642d6
/爬虫代码/selenium_study/5.py
c2a473f4c6da7b44b74892a34249d1757934f0aa
[]
no_license
marvinlizhaorui/youshu
620a9820c6bb4b4729b9a1cbccf4d426afde110e
bf62387ffe564668681b8a514b98d539b7290b4c
refs/heads/master
2020-04-09T07:39:27.525808
2018-09-27T13:05:40
2018-09-27T13:05:40
160,164,943
0
1
null
null
null
null
UTF-8
Python
false
false
1,717
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2018/7/6 17:32 # Project: # @Author: ZQJ # @Email : zihe@yscredit.com #延时等待 #在selenium中,get()方法会在网页框架加载结束后结束执行,此时如果获取page-source,可能并不是浏览器完全加载完成的页面 #如果某些页面有额外的Ajax请求,我们在网页源代码中也不一定能获取的到,所以这里需要延时等待一段时间,确保节点已经加载出来了 from selenium import webdriver #隐...
[ "30498473+zhaoqiji@users.noreply.github.com" ]
30498473+zhaoqiji@users.noreply.github.com
2404ebd5a62590faa092657e82cf1301d404f999
8db1b9528ace3ce142ea52da1017eb6359f46967
/py1811/company/employees.py
558c8b144ea76cb40a9f65e4fb51a1eb1e7a5345
[]
no_license
ul8ksgdmy/myPythonlearning
01fbd49d227e2b3095250e7ee40768fa3179f26e
2ad0d3525cd505edba3fd37e21f601a32872259b
refs/heads/master
2020-03-31T14:33:13.448891
2019-01-09T18:13:26
2019-01-09T18:13:26
152,299,859
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
class Staff: def __init__(self, empid, name, deptname, gender, tech, age): self.__empid = empid self.__name = name self.__deptname = deptname self.__gender = gender self.__tech = tech self.__age = age @property def empid(self): return self.__empid ...
[ "clickmy7@gmail.com" ]
clickmy7@gmail.com
330fb2705418d5d76c2cb489ed4a712959581740
c2ce7155a393e1056b5fdc4d3f9b9a89046e9285
/examples/plugins/fbnet/fbnet_plugin.py
647616419ce7ed2476b8225eb2999e0bbd972265
[ "MIT" ]
permissive
blyucs/aw_nas
9c068dab1bd84a35e58a4c426f7c852a67b93882
8a32196ce342b8ad9e3885895735d1286e25beba
refs/heads/master
2023-08-19T11:00:00.526229
2021-08-21T05:16:13
2021-08-21T05:16:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,531
py
import os import math import torch import torch.nn as nn import torch.optim.lr_scheduler from torch.optim.lr_scheduler import _LRScheduler from aw_nas import AwnasPlugin from aw_nas.objective import BaseObjective from aw_nas.weights_manager.diff_super_net import DiffSuperNet from aw_nas.utils.torch_utils import accura...
[ "foxdoraame@gmail.com" ]
foxdoraame@gmail.com
3d390f31a696978f223cf0bb5967e4e08dd69d61
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_dependency_response.py
bc7533af9937123df6012f0286b2109f90fb346b
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,485
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateDependencyResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
86350ee5f669f0bc854e56590f671130bd8f3596
2c926b4847a44c7f831d47ed0160751d3248e8f4
/venv/lib/python3.8/site-packages/hubspot/crm/schemas/models/association_definition_egg.py
d1b6615a1cdd93b960bb747090fd47cf71d0bb08
[]
no_license
Women-in-Tech-Society/WITS_Site
c42cd2c9abe1b5515b80be82dc876a6c3842e42a
5dbf22f5ee5a36358f6f279af4c13d86d31653c5
refs/heads/main
2023-05-11T02:34:05.531902
2021-06-01T01:05:12
2021-06-01T01:05:12
278,658,100
0
5
null
2022-11-22T18:41:35
2020-07-10T14:43:28
Python
UTF-8
Python
false
false
9,296
py
# coding: utf-8 """ Schemas The CRM uses schemas to define how custom objects should store and represent information in the HubSpot CRM. Schemas define details about an object's type, properties, and associations. The schema can be uniquely identified by its **object type ID**. # noqa: E501 The version ...
[ "mhuda@uwo.ca" ]
mhuda@uwo.ca
5f87cfb899ff291aebe0d379f83c4d9e40794c82
1483486fae7cc9adf9493dadb1e60c087e2d6af9
/env/bin/rst2latex.py
f0c782f9868a98bfbd1a61ad368700144ccde6d4
[]
no_license
e-TPO/server
a8cf711ddef443ccb1008fe2fbcc6ac45369f189
bf735321a4d3e52ea0b65cee8a9533a8250e5985
refs/heads/master
2022-12-14T22:49:30.776005
2018-01-27T21:33:53
2018-01-27T21:33:53
119,088,886
1
1
null
2022-12-08T00:36:21
2018-01-26T18:37:09
CSS
UTF-8
Python
false
false
831
py
#!/home/kuldeep/Projects/etpo/e-tpo-server/env/bin/python3 # $Id: rst2latex.py 5905 2009-04-16 12:04:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing LaTeX. """ try: import locale ...
[ "pisdak79@gmail.com" ]
pisdak79@gmail.com
27952a77379562f88c4995946dc5c424979e9996
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/customerinsights/v20170101/hub.py
e8e2e5c389f8388281f251dbf8d15ef4de29ea61
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,944
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
3b67bff3e9866cdc68fd19f374d328849aa0c7eb
accb0a012d257731a98376cbc5a10a279c91cfbd
/euler/solutions/euler43.py
998756e0b04353988b0b697948538ef291856916
[]
no_license
Danang691/Euler.Py
d52ac436d399a46553be0d9bd24736477a3d2cb0
f8a198f5b06fd55388e8833108fbeed11e9b8d8b
refs/heads/master
2022-01-08T00:32:06.724008
2019-01-27T22:33:40
2019-01-27T22:33:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
# -*- coding: utf-8 -*- from euler.baseeuler import BaseEuler from itertools import permutations as perms """ 1. there are only 3,628,800 (10!) 0 to 9 pandigital numbers, so there's no need to examine all 10 billion 10-digit numbers. 2. consider only numbers whose last 3 digits divide by 17 3. now only check the ...
[ "jgorauskas@gmail.com" ]
jgorauskas@gmail.com
a88d08e13d37cfdd2c1dc346f7a68574139545b7
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_202550.42+133040.7/sdB_SDSSJ_202550.42+133040.7_lc.py
3380ae095c4ebc5b68cf82334e179ac3fe41df68
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[306.460083,13.511306], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SDSSJ_202550.42+133040.7 /sdB_SDSSJ_202550.42+133040.7_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
2b6d28c56de1c130b329b37f364f6eea788b0a12
c1f09426670b5efe35956acd19c67a2de72af284
/python/8.web/2.Django/mysql_demo/mysql_demo/settings.py
2d96898508b90792184d03bf68d39719647d02c2
[ "Apache-2.0" ]
permissive
keasyops/BaseCode
388218d89d60b958c1fcc50eb15f29eafabaea1f
0255f498e1fe67ed2b3f66c84c96e44ef1f7d320
refs/heads/master
2023-05-08T05:08:39.754170
2021-05-26T10:48:01
2021-05-26T10:48:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,191
py
""" Django settings for mysql_demo project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/zh-hans/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/zh-hans/2.2/ref/settings """ im...
[ "39723758+lotapp@users.noreply.github.com" ]
39723758+lotapp@users.noreply.github.com
b709475e307f2177d6f520ec264c19b993c3e74b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/understand.py
b059fd10e57c8b7a29812c4f3990d42419e72bd7
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
2,852
py
ii = [('BentJDO2.py', 14), ('EmerRN.py', 16), ('CookGHP3.py', 11), ('LyelCPG2.py', 3), ('MarrFDI.py', 4), ('RogePAV2.py', 8), ('CoolWHM2.py', 13), ('KembFFF.py', 7), ('GodwWSL2.py', 60), ('ChanWS.py', 11), ('RogePAV.py', 7), ('SadlMLP.py', 9), ('FerrSDO3.py', 20), ('WilbRLW.py', 15), ('WilbRLW4.py', 18), ('RennJIT.py',...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
a1f62bcfd6d251a8de4cba3fe7fae4c1151067fd
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/base/lib/python2.7/site-packages/mrcfile/gzipmrcfile.py
8fd97b41138e1bcef75c9b61cb7c4068055225b7
[ "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-free-unknown", "Python-2.0", "BSD-3-Clause" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
2,723
py
# Copyright (c) 2016, Science and Technology Facilities Council # This software is distributed under a BSD licence. See LICENSE.txt. """ gzipmrcfile ----------- Module which exports the :class:`GzipMrcFile` class. Classes: :class:`GzipMrcFile`: An object which represents a gzipped MRC file. """ # Import Python ...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
8b96e0486d3ae2eff2814c19873fad1b007d1395
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_1_2/sproctor/rank_and_file.py
b7de93089153574c7d0d13e2b4e4ebb4fcfe08eb
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
863
py
#!/usr/bin/python import sys maxHeight = 2500 def solve(heights): missingList = [] for i in range(maxHeight + 1): if heights[i] % 2 == 1: missingList.append(str(i)) return missingList def main(): filename = sys.argv[1] filehandle = open(filename, 'r') lines = filehandle.r...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
14bf94956faba485bce2be72addcd37cd6573471
739e41d4f24f79c772d266cded0de9b759c6e953
/venv/lib/python3.6/site-packages/nlp/datasets/docred/24f714c390b57d5e0642c513b1e98b62e281a8f9d2f875ac1d3e103b07de3cee/docred.py
3fbcbd2045e9177caa4d92aed978cc11bf9ed9ae
[ "MIT" ]
permissive
MachineLearningBCAM/Minimax-risk-classifiers-NeurIPS-2020
24b7bbdecf459292f8b58be286feab3b9aa341ba
82586c632268c103de269bcbffa5f7849b174a29
refs/heads/main
2023-05-18T15:41:13.495286
2021-06-11T18:21:35
2021-06-11T18:21:35
304,268,819
3
2
null
null
null
null
UTF-8
Python
false
false
5,257
py
"""DocRED: A Large-Scale Document-Level Relation Extraction Dataset""" from __future__ import absolute_import, division, print_function import json import os import nlp _CITATION = """\ @inproceedings{yao2019DocRED, title={{DocRED}: A Large-Scale Document-Level Relation Extraction Dataset}, author={Yao, Yuan a...
[ "adiaz@bcamath.org" ]
adiaz@bcamath.org
10805b6505117c9dbc083c4c4ea2311f0f7b4543
5235a27898cdaeab012c447c50076e7e4641dbf7
/code/diagnosis/grtest.py
5b0fabaa9066f506ce45528174962a0401846b6a
[ "MIT" ]
permissive
mjvakili/gambly
0a9ab638a5be987efb683acdc8282a8c09880532
611765bc42d8c42d76558b486c4025532155036a
refs/heads/master
2020-04-10T05:32:55.171621
2020-03-22T18:51:10
2020-03-22T18:51:10
50,690,345
2
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
''' implementation of Gelman-Rubin convergence test ''' import numpy as np def single_parameter_gr_test(chains): """ inputs: chains : MCMC samples for one parameter. shape = (nwalkers , niters) returns: potential scale reduction factor and the variance of the distribution ...
[ "mjvakili@nyu.edu" ]
mjvakili@nyu.edu
1a35b54134a858ba2ad3e718170f76012f9d65b9
0958db6bf636722685f33501408b3e28a45b2b14
/basic/key_event/key_event2.py
39ce162819423ee6e70a5b0378eace2fcacbefd3
[ "MIT" ]
permissive
KeitaIto123/pygame
eee68fe59f7bf3eb408ff98737150a7d5fe258fc
cf5ba2331dc6b4a930f9c3dacbaa7954f51498db
refs/heads/master
2020-03-26T10:57:52.613169
2017-03-12T14:06:35
2017-03-12T14:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pygame from pygame.locals import * import sys SCREEN_SIZE = (640, 480) pygame.init() screen = pygame.display.set_mode(SCREEN_SIZE) pygame.display.set_caption(u"キーイベント2") img = pygame.image.load("python.png").convert_alpha() img_rect = img.get_rect() img_rect.cente...
[ "f2forest@gmail.com" ]
f2forest@gmail.com
1fbe9ed32949b7b2644e5a348f35cba67707f693
cd40fd66338bab16c3cac360ec68d0410daf85dc
/asyncio_study/factorial.py
1646369d3db811c34c538e76b12a6d84dc7cc229
[]
no_license
suhjohn/Asyncio-Study
c74a95c37d6ce1d0983b5626a4f68d2b80d7ec79
d9c5a092924a32f18849787fd30cb322a0ff8b15
refs/heads/master
2021-05-12T12:28:15.749447
2018-01-14T17:25:22
2018-01-14T17:25:22
117,414,697
1
0
null
null
null
null
UTF-8
Python
false
false
665
py
import asyncio async def factorial(number): result = 1 for i in range(2, number+1): print(f"Task for {number}: Compute factorial: {i}") await asyncio.sleep(1) result *= i print(f'Task for {number} finished. Factorial({number}) = {result}') loop = asyncio.get_event_loop() ''' Met...
[ "johnsuh94@gmail.com" ]
johnsuh94@gmail.com
be668b7d094dabdba76537bfc6f3d63deed2fd52
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/YGhrwfg6k6zHnmeDh_6.py
325649a3d1cc40c3f3f3aee4f24b5ae109e7c2e6
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
def get_discounts(nums, d): discount = int(d.strip("%")) / 100 new_price = [] for x in nums: new_price.append(x * discount) return new_price
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
916f0b24c134a8b15a9019a7392d2f69d9481bed
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00005/s108100200.py
51c7c84132f7cb691304ec7ee31bbe534e088dfc
[]
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
253
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys def gcd( a, b ): while b > 0: a, b = b, a%b return a def lcm( a, b ): return a*b/gcd( a, b ) for s in sys.stdin: d = map(int, s.split()) a,b = d[0],d[1] print gcd(a,b),lcm(a,b)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f626a5fe63505768adc81155c86801ddb59cb619
2b8fe23680fb8c6596c8b4fd53a2547e32e84617
/8-DS-Design/EventCounter.py
e1d0c32e969f979b8ced3409173abec7d7174853
[]
no_license
jigarshah2811/Python-Programming
b441c4815f80bef4d17611cdea851254c59739a9
a60a11ad29e9dde9e9960006f887d9b66d29e427
refs/heads/master
2022-11-20T18:09:11.955564
2022-11-04T05:58:19
2022-11-04T05:58:19
67,324,037
1
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
N = 3 import collections class Solution(object): def __init__(self): self.q = collections.deque() # Queue((Second, Frequency), ) def eventOccured(): timeMS = getEpochInMill() second = qtimeMS // 1000 (s, c) = q[-1] if s == second: q[-1][1] += 1 #...
[ "jshah@pinterest.com" ]
jshah@pinterest.com
b49d40170a4c2d9ecd8aa6b7b668cfdd08d2c580
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/spoon.py
e4d6d5e20ebc0f06012645de11ba00ebf94a7cac
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('spoon', __name__, url_prefix='/spoon') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('republic....
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
cee71c5efb06a3baf0f28594bbcb11c9bdac0c86
79c6594e76cbbb5de8fe9dc73a23946c90fac2b1
/torchbiggraph/util.py
c5954e623f8d6dc9b7058a967b9ea2cfd10fa7c5
[ "BSD-3-Clause" ]
permissive
middle-plat-ai/PyTorch-BigGraph
e47e03104b6d640b47ac103170b09e411f0c8391
701ec1736ef17280981311f7214f35c96c190434
refs/heads/master
2021-11-03T19:47:13.676050
2019-04-26T16:49:13
2019-04-26T16:52:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,232
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import os import os.path from collections import defaultdict from datetime import datetim...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com