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
19172069775fd1dcbc8e1b6b53882a5e716cf316
6f2ae9f16b405f1fdbbb8ca63f7b336151ffb978
/paper_metachange/stat_utils.py
07cfb6f56b9268a0067e91d1857f72eac3193f68
[]
no_license
yarden/paper_metachange
d71cb415250d8d566dc60869ed2cd67c3d30e5df
3588e7c096466adc6f36fdcfc27bc66dae546b07
refs/heads/master
2020-12-11T07:33:15.427984
2016-12-16T14:07:40
2016-12-16T14:07:40
63,733,070
3
0
null
null
null
null
UTF-8
Python
false
false
408
py
import scipy import scipy.interpolate import numpy def get_spline_fit(x, y, k=4, s=1): """ Get spline fit. """ spl = scipy.interpolate.UnivariateSpline(x, y, k=k, s=s) return spl(x) def get_spline_derivs_fit(x, y, k=4, s=1): """ Get spline derivatives fit. """ spl = scipy.interpol...
[ "yarden.katz@gmail.com" ]
yarden.katz@gmail.com
b1b6e060183f769a4eeadcba6ac1df9c52285659
a0cde41c20d4ffdcc1ace0e217e3338f1cd93cde
/src/batchDefinition/slanTour/batchDefSTContextDHondtINF.py
a493774199de66ce27bebe6c354a9a5d15bfb16e
[]
no_license
sbalcar/HeterRecomPortfolio
ea15a3277774d1b37d69b527406e5a8558cc3cbf
a8714902a1f45b5e9bfe0f9af40cce87e36c7471
refs/heads/master
2022-05-30T00:59:36.693858
2022-04-09T16:12:34
2022-04-09T16:12:34
219,495,240
1
3
null
2021-01-17T12:44:59
2019-11-04T12:21:41
Jupyter Notebook
UTF-8
Python
false
false
4,385
py
#!/usr/bin/python3 import os from typing import List #class from typing import Dict #class from pandas.core.frame import DataFrame #class from portfolioDescription.portfolio1AggrDescription import Portfolio1AggrDescription #class from evaluationTool.aEvalTool import AEvalTool #class from evaluationTool.evalToolDHo...
[ "bc.stepan.balcar@gmail.com" ]
bc.stepan.balcar@gmail.com
222e3053fe5abead7edca21a46dd7cd614fe902c
355cc90c530fe1710240821f253d29d208343170
/natalies_second_chance_project/dogs/migrations/0001_initial.py
1cee0842aad1dc309123553c71b4e1602067bfe3
[]
no_license
Abepena/natalies-second-chance
82a51ec322ff3b3760cac6401b29fa93f059733c
bec56c793944c79a8ce8802083275b6ef30a198f
refs/heads/master
2022-12-09T07:58:59.936961
2018-11-19T18:09:03
2018-11-19T18:09:03
145,348,372
0
0
null
2022-12-08T02:50:32
2018-08-20T00:43:25
CSS
UTF-8
Python
false
false
1,230
py
# Generated by Django 2.1 on 2018-08-29 16:05 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Dog', fields=[ ('id', models.AutoField(auto_c...
[ "pena.abe@gmail.com" ]
pena.abe@gmail.com
8b174ad9e3264042e436626d711d656db684921c
f516b7561b93f640bcb376766a7ecc3440dcbb99
/contests/codeforces/div2-537/b.py
150bf9de33e9ea0a855ca9edd7c35b30add70951
[ "Apache-2.0" ]
permissive
vtemian/interviews-prep
c41e1399cdaac9653c76d09598612f7450e6d302
ddef96b5ecc699a590376a892a804c143fe18034
refs/heads/master
2020-04-30T15:44:42.116286
2019-09-10T19:41:41
2019-09-10T19:41:41
176,928,167
8
1
null
null
null
null
UTF-8
Python
false
false
729
py
from decimal import Decimal as D from statistics import mean n, k, m = map(int, input().split()) heroes = sorted(map(D, input().split()))[::-1] max_avg = 0 count = 0 buffed_heroes = [] while m: hero = new_hero = heroes[count] buff_me = False trim_me = False if m - k >= 0: new_hero = hero + ...
[ "vladtemian@gmail.com" ]
vladtemian@gmail.com
76ee727aabbd67b9c1f7f68202e7036e250b262e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02845/s301140124.py
85f5381c2fbde93ba37f85759e1514039c226b21
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
#!/usr/bin/env pytho3 n = int(input()) a = list(map(int,input().split())) # 3種類の値をもち、自分より前に同じ色の人がa[i]となる組み合わせ # コーナーケースとして、全部同じ色なら3通り、あとは*6したらいい # n<=10**5 # 先頭を色1、次にa[i] == 0になった点を色2,3にしてしていい。前から埋める # 前から見ていって、それぞれの色の今の人数をcolorとして # color.count(a[i]) == 2 ならans *= 2, ==3 ans *= 3 # 2ケースのみRE mod = 10**9 + 7 if a == lis...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
69402d524c67c02e637632bc93c5db4219714e84
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/L4HM6uMHDCnepz5HK_20.py
7e2c50c6dee9e60b9867ccc6aec07c797f0f13a8
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
""" Create a function that takes date in the format **yyyy/mm/dd** as an input and returns `"Bonfire toffee"` if the date is October 31, else return `"toffee"`. ### Examples halloween("2013/10/31") ➞ "Bonfire toffee" halloween("2012/07/31") ➞ "toffee" halloween("2011/10/12") ➞ "toffee" ### N...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e058c3d74fc829fbc2df310a39abc35926f285c0
94c0a2173d58c8657b85a7f3a80a5d08064adc66
/removestopword.py
c589d93b6f070ac264580bc6f32edd5c1a86fe41
[]
no_license
CodedQuen/Machine-learning-with-cookbook_Chris-Abon
791558edd7b22f3dd677605d0bee30f88df77cc5
3d69de9357dda4a9ff2c71fe0232841e018c502e
refs/heads/master
2022-06-06T06:05:28.399904
2020-04-25T03:45:51
2020-04-25T03:45:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
# Load library from nltk.corpus import stopwords # You will have to download the set of stop words the first time # import nltk # nltk.download('stopwords') # Create word tokens tokenized_words = ['i', 'am', 'going', 'to', 'go',...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
0bf2f7334cdd81debbf2d59b3bb0ce7113fee560
41ad3529ff9b6357d57468641b21d4ac02a6c0b5
/dftest.py
bd0322992d5463c7292d87117a1ab7f0c964eecb
[]
no_license
gitpNser/learndata
9153a3c305cf07904d5006059489c72c2388cee0
a5059ae3346a17b833132e9295a0e73482b4a386
refs/heads/master
2020-06-13T11:25:56.676610
2019-11-28T14:47:43
2019-11-28T14:47:43
194,638,488
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 13 13:50:02 2019 @author: pNser """ import pandas as pd music_data = [("the rollinng stones","Satisfication"),("Beatles","Let It Be"),("Guns N Roses","Don't cry"),("Metallica","Nothing Else Matters")] columns = ['Singer','Song_name'] music_df = pd.DataFrame(music_data,...
[ "gitknt@outlook.com" ]
gitknt@outlook.com
d12ceb5a5df98bddecb4fe93575bbf32b03d1c55
663c108dca9c4a30b7dfdc825a8f147ba873da52
/venv/oops/137OperatorOverloadingBookNesting.py
aab799a55eaf0a2f8d0b29af5e847cc771e86f71
[]
no_license
ksrntheja/08-Python-Core
54c5a1e6e42548c10914f747ef64e61335e5f428
b5fe25eead8a0fcbab0757b118d15eba09b891ba
refs/heads/master
2022-10-02T04:11:07.845269
2020-06-02T15:23:18
2020-06-02T15:23:18
261,644,116
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
class Book: def __init__(self, pages): self.pages = pages def __add__(self, other): print('self.pages :', self.pages) print('other.pages :', other.pages) return Book(self.pages + other.pages) book01 = Book(100) book02 = Book(200) book03 = Book(500) print('The total number of ...
[ "srntkolla@gmail.com" ]
srntkolla@gmail.com
311ce84d7eb9cdc22fe9fa3acaf9fe570e0f953c
9c73dd3043f7db7c9ec76d560484e99ad134fdb6
/students/douglas_klos/lesson06/assignment/trials/data/generate_data.py
c339840e5616940e6edab186469ae36a6cd8d14c
[]
no_license
UWPCE-PythonCert-ClassRepos/py220-online-201904-V2
546b316025b680ca28d24b523663095398616b13
ac12beeae8aa57135bbcd03ac7a4f977fa3bdb56
refs/heads/master
2022-12-10T03:14:25.514630
2019-06-11T02:14:17
2019-06-11T02:14:17
179,139,181
1
19
null
2022-12-08T01:43:38
2019-04-02T18:49:10
Python
UTF-8
Python
false
false
1,526
py
#!/usr/bin/env python3 import time import uuid from random import randint, random from essential_generators import ( DocumentGenerator, StatisticTextGenerator, MarkovTextGenerator, MarkovWordGenerator ) RECORDS = 1000000 def generate_rows(): """ Generate a row of random data """ range_st...
[ "dougklos@gmail.com" ]
dougklos@gmail.com
7cad565491c05bd9f702ea0086106c0e8aa5f28e
664eaaf3ce1329637966ee85752a4bf792f93d64
/carthandler/migrations/0001_initial.py
00d61848af11c88ab0160e5de25d6c64a243cf0d
[]
no_license
rajinder-mohan/thelunchbox
6fb9f7228490e22da58f59a29601aebec9c8fd35
54e3a14229fd72d24152671fb8f0bc13ae83be8c
refs/heads/master
2021-05-04T16:25:33.015292
2018-02-05T03:43:34
2018-02-05T03:43:34
120,251,788
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-07-17 03:55 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ...
[ "rajinder_mohan@esferasoft.com" ]
rajinder_mohan@esferasoft.com
28cc10276b0c47a5929c62e787b1dbb853db8e6c
52b5773617a1b972a905de4d692540d26ff74926
/.history/rottenOranges_20200810202432.py
07af0348e57cdc2884bd2eeafa9ec227d98c632a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
def oranges(grid): if len(grid) == 0: return 0 rottenQueue = [] row = len(grid) col = len(grid[i]) fresh = 0 for i in range(len(grid)): for j in range(len(grid[i])): if grid[i][j] == 2: rottenQueue.append([i,j]) elif grid[i][j] ==1: ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
76a3eecaffbfd7cd6f64cf425ccbcfd0c62fd106
c1b4425d2ccd32444a33169c0cc25863149fdceb
/POE Project Camera Tracking/FaceTracking.py
f8cc976d59f1d4cb384eb52f7a787419692bad56
[]
no_license
Marius-Juston/POE-Robot-Project
aee063698fbd230b050c8c24553bdb4556afe46a
f755b460dbb9cb08a9db5432aeabc2230228073b
refs/heads/master
2021-09-04T04:54:25.294336
2018-01-16T02:30:53
2018-01-16T02:30:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,273
py
import glob import os from datetime import datetime import cv2 import numpy as np class Camera: def __init__(self, cameraPort) -> None: self.camera_port = cameraPort self.camera = cv2.VideoCapture(cameraPort) self.photo_folder = "./Camera{0:d} Photos/".format(self.camera_port) sel...
[ "Marius.juston@hotmail.fr" ]
Marius.juston@hotmail.fr
4c24bf9f9308072ae833e8bfa1eb7cb32df6aa34
b51fcaacf7a43cfc4e378b27090c652ed5bd8ee2
/chromepy/chromepy/chromedriver.py
34344c430703eebfadd992b85e518e3465c4b291
[]
no_license
tetocode/fxarb
56526308eb91616eb60b13152ad03dab73de7ca4
00261dc6832047375499363af2db44efa2d36008
refs/heads/master
2022-10-18T16:45:51.971435
2020-06-03T16:19:39
2020-06-03T16:19:39
269,136,511
0
0
null
null
null
null
UTF-8
Python
false
false
3,534
py
import json import logging import os import re import shutil import subprocess from typing import Dict, Iterator, Sequence from typing import List import requests from .connection import Connection class ChromeDriver: TIMEOUT = 5.0 def __init__(self, *, logger: logging.Logger = None, ...
[ "_" ]
_
c1b44f28b00aff1992ab7bc4f5d4627350263bcd
a5b9fa2cdec92916229cf114a42bb921a0db94e8
/Chapter1/scripts/old/wimp_functions.py
9ff6685c47e4c7391d9250cfb29fe39f0b25cd51
[]
no_license
mdanthony17/Thesis
7adf36016056236cc63032a402cf567623a87b5a
b626bfd35157facd31e3d90aae5b0140f7985bc8
refs/heads/master
2018-09-08T17:03:10.030884
2018-06-05T00:29:00
2018-06-05T00:29:00
103,183,293
0
0
null
null
null
null
UTF-8
Python
false
false
6,784
py
"""This code is no longer used directly. This file contains code necessary to create WIMP energy spectra. Use the wimp_recoil_spectrum function defined at the end, which gives the wimp spectrum (in rate /kg /day /keV) for Xenon detectors using the standard Halo model. Almost all of this is "borrowed" from: * Andrew's...
[ "mda2149@columbia.edu" ]
mda2149@columbia.edu
d34c75591d7e37e1d95cab482aaabc64d858c96b
571a89f94f3ebd9ec8e6b618cddb7d05811e0d62
/abc189/b/main.py
c681b8843408f7fde9578fd97d8835be1d6fc989
[]
no_license
ryu19-1/atcoder_python
57de9e1db8ff13a107b5861f8f6a231e40366313
cc24b3c2895aad71d40cefbb8e2893dc397b8f4f
refs/heads/master
2023-05-10T05:32:16.507207
2021-05-19T17:48:10
2021-05-19T17:48:10
368,954,430
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#!/usr/bin/env python3 import sys from collections import deque, Counter from heapq import heappop, heappush from bisect import bisect_right from itertools import accumulate sys.setrecursionlimit(10**6) INF = 10**12 m = 10**9 + 7 def main(): N, X = map(int, input().split()) now = 0 ans = -1 for i in ...
[ "ryu1007kami@gmail.com" ]
ryu1007kami@gmail.com
9aafb782f80697590a912df6e3d306c874571607
67a95330832e8bb83d65b22c6a58badaf416c043
/01_examples/hidden_menubar_2.py
cb85b99d2d53e19e75cd1d51a4ce3f87e9784b97
[ "MIT" ]
permissive
jabbalaci/GUI-Dev-with-Python
af57fdccd59cd48cd2172988fdaa4074d4ac8c09
a4ac137965156621f3cf418018ef28f2c20541d9
refs/heads/master
2020-09-07T04:41:18.920856
2019-11-09T15:56:20
2019-11-09T15:56:20
220,657,859
1
0
null
null
null
null
UTF-8
Python
false
false
2,215
py
#!/usr/bin/env python3 import sys from PyQt5.QtGui import QKeySequence from PyQt5.QtWidgets import QApplication, QMainWindow, QAction, QShortcut class Shortcuts: def __init__(self): self.window_shortcuts = {} self.menubar_actions = {} def enable_all_window_shortcuts(self): for short...
[ "jabba.laci@gmail.com" ]
jabba.laci@gmail.com
068a48d7ea49d8df5703c539988d1a935322ab4a
77ae7c76d36009daa01b2317439c1f975f7932b2
/exercicios/ex066att.py
edcbb45fdd7202c905748628f0874de75facd82d
[]
no_license
MatheusOldAccount/Exerc-cios-de-Python-do-Curso-em-Video
5f26b5a2867fa1a2e36b486a809dfbe8b107b8c2
5696c49d3caf5cae817217a2da0598d1cf794f5b
refs/heads/master
2022-03-22T10:49:33.666660
2019-11-25T21:24:43
2019-11-25T21:24:43
224,052,682
1
0
null
null
null
null
UTF-8
Python
false
false
269
py
tot = soma = 0 while True: val = int(input('Digite um valor (999 para parar): ')) if val == 999: break '''else: não precisa do else tot += 1 soma += val''' tot += 1 soma += val print(f'A soma dos {tot} valores foi {soma}!')
[ "matheustavares1165@gmail.com" ]
matheustavares1165@gmail.com
e11e85329cb5b3c32cd698e6a707939f0bf6d588
2ed20cee3ab04ee22b262afa6e392da6c52ff60c
/src/magicmethods/arithmetic_operators.py
25ced198a0c75d1378a7db078816e3e81aceee46
[]
no_license
icejoywoo/HelloPython
66f2e33232a02bf0ac07f84f50af20a514c0af63
aefc32c56625f5b18336357b6616f03b7c35fc20
refs/heads/master
2021-01-23T11:48:22.413684
2015-10-13T03:37:09
2015-10-13T03:37:09
15,417,525
1
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
#!/bin/env python # ^_^ encoding: utf-8 ^_^ # @author: icejoywoo # @date: 14-1-7 class AccessCounter(object): """ A class that contains a value and implements an access counter. The counter increments each time the value is changed. """ def __init__(self, val): super(AccessCounter, self)....
[ "icejoywoo@gmail.com" ]
icejoywoo@gmail.com
d50e7a14a020a08d6d3796af4e334b5fc508b167
c548c10c4fd0b6c1d1c10cc645cb3b90b31f2de6
/keras/keras08_split.py
ec907f5cf3913ac9c856e3150c5a1c1b35d5d9e0
[]
no_license
sswwd95/Study
caf45bc3c8c4301260aaac6608042e53e60210b6
3c189090c76a68fb827cf8d6807ee1a5195d2b8b
refs/heads/master
2023-06-02T21:44:00.518810
2021-06-26T03:01:26
2021-06-26T03:01:26
324,061,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,351
py
from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense import numpy as np from numpy import array # 1. 데이터 # x = np.array(range(1,101)) -> 0~100 # x = np.array(range(100)) -> 0~99 x= np.array(range(1,101)) y= np.array(range(101, 201)) # w = 1, b = 100 # 리스트의 슬라이싱 -> 일반적으로 train : val...
[ "sswwd95@gmail.com" ]
sswwd95@gmail.com
b938f5196a9c68a648b98ccc3bc4287374c5efff
3ecd552a0a14a45c9f8038cb8afbc4d4cfb3a42f
/python/processingfw/pfwlog.py
8590efe269e2b57fde51e3a80f63caf12b2ecdd9
[ "NCSA" ]
permissive
DarkEnergySurvey/DESPipeline
e8aea773f8f8fb9ff09a6fa5d33405f5627260cc
88d4a70843b3c8d015b2219854f61c0f31d4165c
refs/heads/master
2022-06-27T04:30:40.424297
2019-10-04T15:12:23
2019-10-04T15:12:23
211,892,351
0
0
NOASSERTION
2022-06-21T22:56:49
2019-09-30T15:28:07
Python
UTF-8
Python
false
false
1,508
py
""" .. _processingfw-pfwlog: **pfwlog** ---------- Functions that handle a processing framework execution event """ import os import time ####################################################################### def get_timestamp(): """Create timestamp in a particular format""" tstamp = time.s...
[ "friedel@illinois.edu" ]
friedel@illinois.edu
97e4bdaeaefb5a232f680b0119ec281bb88a4769
169f34d329339f40b3712db12b8f5384d8954e17
/src/scripts/radar.py
a1c980eddbb60769587df69a528dc596b04712cd
[ "BSD-3-Clause" ]
permissive
antoine-tran/pyksc
4d2f26ca8b4e087331fe00e363b217f4cffc85a2
f4004afd925c1a7ef1f3e791d556275070d373b3
refs/heads/master
2021-01-22T16:44:39.728603
2015-04-23T15:25:04
2015-04-23T15:25:04
36,066,113
1
0
null
2015-05-22T10:16:45
2015-05-22T10:16:44
Python
UTF-8
Python
false
false
2,417
py
# -*- coding: utf8 from __future__ import division, print_function import numpy as np from matplotlib import pyplot as plt from matplotlib.projections.polar import PolarAxes from matplotlib.projections import register_projection def radar_factory(num_vars, frame='circle'): """Create a radar chart with `num_vars...
[ "flaviovdf@gmail.com" ]
flaviovdf@gmail.com
c465d2e201ae582a235c9a79a9281c1d4b0daa5d
68e23b2d14e0c7db45c54e1f7c8d15f85771f68c
/cymbology/__init__.py
e1bfb1610a21c0c687f462c45d95033fe77c4ff4
[ "BSD-2-Clause" ]
permissive
pmart123/cymbology
99d5aa9122d5e59f9501a6824f57e63697fb708d
95087be9525ab8d2fd47baa93f83aaa30e76bb54
refs/heads/master
2021-09-06T06:59:34.564868
2017-09-20T19:45:21
2017-09-20T19:45:21
41,342,257
3
1
BSD-2-Clause
2021-08-19T09:15:36
2015-08-25T04:05:49
Python
UTF-8
Python
false
false
187
py
from cymbology.identifiers import (Sedol, Cusip, cusip_from_isin, Isin) from cymbology._version import version_info, __version__ __all__ = ('Cusip', 'cusip_from_isin', 'Sedol', 'Isin')
[ "philip.martin2007@gmail.com" ]
philip.martin2007@gmail.com
aa59a00c03e5c186acb98d1c8c32dc1002691eb9
9099ed0407521ac40b88f3b92872307f66c57bf9
/codes/contest/leetcode/first-unique-character-in-a-string.py
953ae680159bce0b34b9c3c56d11e3b924759af8
[]
no_license
jiluhu/dirtysalt.github.io
0cea3f52d2c4adf2bbf5c23b74f4cb1070025816
c026f2969c784827fac702b34b07a9268b70b62a
refs/heads/master
2020-08-31T09:32:05.273168
2019-10-29T01:53:45
2019-10-29T01:53:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
#!/usr/bin/env python # coding:utf-8 # Copyright (C) dirlt class Solution(object): def firstUniqChar(self, s): """ :type s: str :rtype: int """ mark = [-1] * 26 for i, c in enumerate(s): idx = ord(c) - ord('a') if mark[idx] == -2: # dup ...
[ "dirtysalt1987@gmail.com" ]
dirtysalt1987@gmail.com
18a4cd23b392cfc6ce437e9b6a0c69d5e89d0058
788b086c31f112c0dc01d0b8dec9e7187e22aa21
/test/run_websocket_server.py
8b323fa3e04d0edf6f847423d02d122b2a05d270
[ "Apache-2.0" ]
permissive
ZumrutMuftuoglu/PySyft
35c7f349ce4fdc2506b8d690e1c49fa0d0d9875b
c47c96283e5b3545d2b6d3f6f4c724a9d3146e94
refs/heads/master
2021-01-06T09:06:20.470390
2020-03-31T16:55:55
2020-03-31T16:55:55
242,603,155
1
0
Apache-2.0
2020-02-23T22:44:21
2020-02-23T22:44:20
null
UTF-8
Python
false
false
4,581
py
import logging import syft as sy from syft.workers import WebsocketServerWorker import torch import argparse from torchvision import datasets from torchvision import transforms import numpy as np from syft.frameworks.torch.federated import utils KEEP_LABELS_DICT = { "alice": [0, 1, 2, 3], "bob": [4, 5, 6], ...
[ "liamtrask@gmail.com" ]
liamtrask@gmail.com
ab292413d79b880574c6ddfb9cb72a252d9be716
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/Scaleform/daapi/view/lobby/fortifications/components/stronghold_battles_list_view.py
72d59773478ccbb83afe45d850e2260fb87bbe54
[]
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
3,788
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/fortifications/components/stronghold_battles_list_view.py import BigWorld from adisp import process from frameworks.wulf import WindowLayer from helpers import dependency from skeletons.gui.game_contro...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
04977a670a05d54ae55f3bd61b8c86d9b93df7c9
dbf3b31e2e135dbf870c03275c39b8944506716c
/django01/users/views.py
633efeaea2af9beace5450bf7d23244d4d48f2c8
[]
no_license
shenguweiling/Djangoproject
9e123598633662510ef48ce3913ba1332e7b2519
a2bf7938c9d7c45a0b202200e91822f297fffe61
refs/heads/master
2020-03-23T12:02:55.685879
2018-07-19T06:45:10
2018-07-19T06:45:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,811
py
import json from django.http import JsonResponse from django.shortcuts import render # Create your views here. from django.http import HttpResponse from django.utils.decorators import method_decorator from django.views import View from users.decoreters import check_ip def index(request): """ :param requ...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
25e056694447755ca1478b34fc19d4186b1f59a4
4bbd9fb9cbe4e5dd0e2672524c12932b9d6ed040
/env/lib/python3.7/site-packages/mpesa_api/core/views.py
c9bb9428525fa9b083bdb171677554e26e29bb1f
[]
no_license
wisemiro/zedu
b85365ebf9c17d55c9a2bcb13f8138ee01ae470e
b280d40b593161f7910e289d6c94257c5b0a57d0
refs/heads/master
2022-03-20T07:37:49.344879
2019-12-03T09:11:53
2019-12-03T09:11:53
225,577,391
1
0
null
null
null
null
UTF-8
Python
false
false
2,593
py
from django.views.decorators.csrf import csrf_exempt from rest_framework.response import Response from rest_framework.views import APIView from mpesa_api.core.tasks import process_b2c_result_response_task, \ process_c2b_confirmation_task, process_c2b_validation_task, \ handle_online_checkout_callback_task cl...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
fa9a3a5234e77736bc11c215967ecfc81fe2de4a
49d904eda93c11c4563d6d9b257246d5907b562c
/food_platform/views/food_platform.py
dcc44ca8bff8139ec4c770cc0cfb25c5b5ce5d72
[]
no_license
abrusebas1997/realreal
b182586e31051b5a1e8e8f8e7010c98f0b4033d1
3f3771e44cd0c6e7150bc986e2b38eff404bff11
refs/heads/master
2022-11-18T04:49:53.218561
2020-07-20T07:50:40
2020-07-20T07:50:40
278,265,723
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
from django.shortcuts import redirect, render from django.views.generic import TemplateView class SignUpView(TemplateView): template_name = 'registration/signup.html' def home(request): if request.user.is_authenticated: if request.user.is_foodonator: # change = update # picku...
[ "sebastianabarca@Sebastians-MacBook-Pro.local" ]
sebastianabarca@Sebastians-MacBook-Pro.local
63dfb9c25525a88893376f83178d62681090f831
fcdce57c1bd0cc4f52679fd0f3f82532550083fa
/168/rankings.py
20731ccb802dab4d60d08233fa67033ce3552429
[]
no_license
nishanthegde/bitesofpy
a16a8b5fb99ab18dc1566e606170464a4df3ace0
c28aa88e1366ab65f031695959d7cd0b3d08be6b
refs/heads/master
2023-08-08T16:53:17.107905
2023-07-22T19:07:51
2023-07-22T19:07:51
183,959,400
0
1
null
null
null
null
UTF-8
Python
false
false
4,766
py
from dataclasses import dataclass from typing import List, Tuple bites: List[int] = [283, 282, 281, 263, 255, 230, 216, 204, 197, 196, 195] names: List[str] = [ "snow", "natalia", "alex", "maquina", "maria", "tim", "kenneth", "fred", "james", "sara", "sam", ]...
[ "nhegde@netflix.com" ]
nhegde@netflix.com
a63be6d4e78e6135315d711aa0ece47693d8db00
dcb0404e78604577e37ad744611c175da74fe3a0
/lib/tests/streamlit/elements/audio_test.py
70dbc482c936be69f73fb4f61a22899cbc4cb823
[ "Apache-2.0" ]
permissive
Pandinosaurus/streamlit
7844ebfead4559dfb3130d5fe667c3fb9d40fc1e
ddfcd3df09f57ea3ee7d1a6350c5d422464f3182
refs/heads/develop
2023-08-31T11:51:26.547224
2022-09-30T17:32:50
2022-09-30T17:32:50
230,114,501
0
0
Apache-2.0
2022-10-20T23:58:13
2019-12-25T14:33:17
Python
UTF-8
Python
false
false
3,952
py
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "noreply@github.com" ]
Pandinosaurus.noreply@github.com
091eaf718e96ef2cf5b12bfff10c8cffcbbbbf7c
b26c41926fa3a7c2c061132d80e91a2750f2f468
/tensorflow_probability/python/bijectors/shift_test.py
9ea8c5ad4374b8f17c5f2097acb461f72d29dbe5
[ "Apache-2.0" ]
permissive
tensorflow/probability
22e679a4a883e408f8ef237cda56e3e3dfa42b17
42a64ba0d9e0973b1707fcd9b8bd8d14b2d4e3e5
refs/heads/main
2023-09-04T02:06:08.174935
2023-08-31T20:30:00
2023-08-31T20:31:33
108,053,674
4,055
1,269
Apache-2.0
2023-09-13T21:49:49
2017-10-23T23:50:54
Jupyter Notebook
UTF-8
Python
false
false
1,985
py
# Copyright 2019 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
adbd937747e1434dbe2957b5b0b2cbca07a7fba0
f34469944b9e6299683f8cda1a3e984ab481fc11
/tests/test_app/controllers/test_users.py
446330946914ca90e8a7d2a3c61620f84ab72049
[]
no_license
jay-s-Study-Group/SNS_BackEnd
b07871a967c142cf5ad5763cf1e1a75f92ed8ec9
c057e122dd9e1b84b2a287902d6823686cc5ae96
refs/heads/staging
2023-06-24T12:13:23.410434
2021-06-09T06:16:46
2021-06-09T06:16:46
355,742,339
0
0
null
2021-06-09T06:16:47
2021-04-08T02:37:16
Python
UTF-8
Python
false
false
916
py
from app.controllers.users import UserController from unittest import TestCase from unittest.mock import patch from fastapi import HTTPException class TestUserController(TestCase): @patch("app.models.users.User.update") @patch("app.models.users.MentoringField.filter") def test_update_user_successful( ...
[ "hanbin8269@gmail.com" ]
hanbin8269@gmail.com
ba67a997031db2c0e515c4a5482c639ada0244ce
fa346a2d5886420e22707a7be03599e634b230a9
/temboo/outputs/Foursquare/FoursquarePrice.py
7ed7c0dc31db447135de491c19e91a686e1034d0
[]
no_license
elihuvillaraus/entity-resolution
cebf937499ed270c3436b1dd25ab4aef687adc11
71dd49118a6e11b236861289dcf36436d31f06bc
refs/heads/master
2021-12-02T17:29:11.864065
2014-01-08T04:29:30
2014-01-08T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
# coding: utf-8 class FoursquarePrice: """ Contains price information for this venue """ def __init__(self, base): if base: self.base = base else: self.base = {} def getMessage(self): """ The message for pricing """ r...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
c438dec0e818066eca6913ee68770cc101ab5b16
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/eca4897a088f70475799c1d90803f9f3568f619b-<compile_folder_path_for_object>-bug.py
209ada1c75e30aaa55eb51e44d96b3964a6a4f4d
[]
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
567
py
def compile_folder_path_for_object(vobj): ' make a /vm/foo/bar/baz like folder path for an object ' paths = [] if isinstance(vobj, vim.Folder): paths.append(vobj.name) thisobj = vobj while hasattr(thisobj, 'parent'): thisobj = thisobj.parent try: moid = thisobj._m...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
782b76b3ba862500e2c28d98323295673cde0ab8
c36d21353df9c5f6a3a3df4545a29c2b306c3ede
/.history/myproject/account/urls_20200816195149.py
00ec55aaf9c6d19a79be08041571a55affdf3817
[]
no_license
moteily/DjangoSystemMonitor
73289ac8fbc60e0f30be631d10f9f3ea5fc1c021
f671f3ac226d1add5cc659bc3b2c6bf5ccc9abb5
refs/heads/master
2022-12-16T06:45:39.719312
2020-09-11T09:37:59
2020-09-11T09:37:59
286,942,296
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from django.urls import path from . import views from django.contrib.auth import views as auth_views urlpatterns = [ # path('login/', views.user_login, name='user_login'), #使用自己写的登录视图 path('login/', auth_views.LoginView.as_view(template_name='account/login2.html'), name='user_login'), #使用Django内置的登录视图 pa...
[ "994283977@qq.com" ]
994283977@qq.com
7d57c8924709835bae11e068d6a069a8d27a0e81
e07ba3eeea2d9a3ce44bdc6fb26386db5b72d8fc
/ijvine_ebay_base/models/mappings/channel_mapping.py
24cee289061c34b70b341dd716547785569b31cf
[]
no_license
tosink/ab
8e4b931214eb333e141fd5c6512ba956e5cde3d4
1c410562edce9be367ad6cab7ac3370353e395c8
refs/heads/master
2023-06-14T10:34:21.120996
2021-07-15T20:09:14
2021-07-15T20:09:14
275,185,674
0
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
# -*- coding: utf-8 -*- ############################################################################## # Copyright (c) 2021-Present IjVine Corporation (<https://ijvine.com/>) ############################################################################## from odoo import api,fields,models class ChannelMappings(models....
[ "komolafetosin@gmail.com" ]
komolafetosin@gmail.com
a7a068cb2787732e5e0aefa80ae989afbd8c8a3f
000abefecad43621a246a83f9591f849313000d1
/code/src/urllib_link_extractor.py
e6d5a2f91bff6fa8953fb1d7574c31764887196a
[]
no_license
carlhinderer/python-networking
5234cd0f128c31f7221511f90ed07babc49761ca
6fa8fc161a85dd0c7d2b12096fa9bad7ffb19e8c
refs/heads/master
2023-07-25T00:05:46.136722
2023-07-17T04:34:58
2023-07-17T04:34:58
195,435,022
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
#!/usr/bin/env python3 from urllib.request import urlopen import re def download_page(url): return urlopen(url).read().decode('utf-8') def extract_links(page): link_regex = re.compile('<a[^>]+href=["\'](.*?)["\']',re.IGNORECASE) return link_regex.findall(page) if __name__ == '__main__': target_url =...
[ "carl.hinderer4@gmail.com" ]
carl.hinderer4@gmail.com
e7e88e8b01a1e95948518ca69a226b75e544999b
3197bcf3e80989d0fc13519b2a5689c8b21049d8
/prototypes/training_scripts/RAW40X/bn_feature_net_61x61_RAW5.py
cb97bc35ce27b6c3846f6144ff9364db51f7d7e3
[]
no_license
YubinXie/DeepCell
d6a5434dcf5fb208f407caf714d4877ed745a7cd
887ac6be63e2594c3480680fdde63fbe9dded336
refs/heads/master
2021-05-05T16:17:38.178635
2018-01-13T20:39:34
2018-01-13T20:39:34
117,307,949
0
0
null
2018-01-13T02:45:18
2018-01-13T02:45:18
null
UTF-8
Python
false
false
1,075
py
'''Train a simple deep CNN on a HeLa dataset. GPU run command: THEANO_FLAGS='mode=FAST_RUN,device=gpu,floatX=float32' python training_template.py ''' from __future__ import print_function from keras.optimizers import SGD, RMSprop from cnn_functions import rate_scheduler, train_model_sample from model_zoo import bn_...
[ "vanvalen@gmail.com" ]
vanvalen@gmail.com
8b2611561e559ceec2749279a10d02369fa778ea
974cd426fa2fed6aee61c5500fff8634e9438f96
/Extract-TA-Final-Data.py
2c9bb498f7585887b4bebf1de1a72226a56ef2bc
[]
no_license
nithinveer/CSCI5622-machine-learning-project
2bb60dfdfdf2faf1ea2446f175de8fe4320bc717
473b6e081ea1b1b13a4334f85701cc221ab42775
refs/heads/master
2020-09-06T09:47:43.079987
2019-12-14T06:43:47
2019-12-14T06:43:47
220,368,141
0
1
null
null
null
null
UTF-8
Python
false
false
1,943
py
import csv import time from selenium import webdriver # import the webdriver driver = webdriver.Chrome("chromedriver.exe") # insert the tripadvisor's website of one attraction driver.get( "https://www.tripadvisor.it/Attraction_Review-g657290-d2213040-Reviews-Ex_Stabilimento_Florio_delle_Tonnare_di_Favignana_e_Form...
[ "nithinveer@iitj.ac.in" ]
nithinveer@iitj.ac.in
e6849873d5889e824a7450590404cc53faadbc54
e5d83ede8521027b05d9b91c43be8cab168610e6
/0x0F-python-object_relational_mapping/10-model_state_my_get.py
1c403524e6ce07ecd6e7e14606e339600d867910
[]
no_license
Danielo814/holbertonschool-higher_level_programming
8918c3a6a9c136137761d47c5162b650708dd5cd
832b692529198bbee44d2733464aedfe650bff7e
refs/heads/master
2020-03-28T11:09:00.343055
2019-02-22T03:33:54
2019-02-22T03:33:54
148,181,433
1
0
null
null
null
null
UTF-8
Python
false
false
711
py
#!/usr/bin/python3 """ '10-model_state_my_get' module, uses sqlalchemy to list state objects from a database """ if __name__ == '__main__': from model_state import Base, State from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker import sys engine = create_engine("mysql+mysqld...
[ "211@holbertonschool.com" ]
211@holbertonschool.com
6982976bc009cbf612b60782f48b01899224605a
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_9443.py
e5dbad08728e5c7c92d1013c7103f026257e6bab
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
# python Tkinter: passing an argument to a function submenu.add_command(label=p, command = lambda p=p: onButtonPosObject(p), underline=0)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
4c38bf092c85f8538ca0908d7c32ce4c983df61f
75e94bd79e559b394a8034db1379b7766bcec7a5
/twitter/migrations/0001_initial.py
07557bf6631501e7b8f96d94b565ace815d20561
[]
no_license
Ianodad/sentimental2
760e37fd58d152f8299e53d70d6c4354253b0190
d5447e887f184bd0e466a679d4c050835568f840
refs/heads/master
2022-12-13T06:15:16.271533
2018-11-05T06:20:34
2018-11-05T06:20:34
156,169,900
0
0
null
2021-06-10T20:57:54
2018-11-05T06:18:44
Python
UTF-8
Python
false
false
580
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-11-02 21:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Sentimen...
[ "you@example.com" ]
you@example.com
45da72ff736e0733394335645cfa073ce4c6f464
0fe394b10b39864915fcc4073a5fa050aa02502e
/WorkOnJson/quick_weather.py
2c3169e66b87e6f8dd9b31104e41ebc5c752a361
[]
no_license
JohnAssebe/Python
9997d47bba4a056fdcd74c6e5207fc52b002cbfd
b88a7c2472f245dc6a0e8900bbea490cb0e0beda
refs/heads/master
2022-05-14T10:08:37.311345
2022-05-09T19:48:53
2022-05-09T19:48:53
212,562,910
0
1
null
null
null
null
UTF-8
Python
false
false
808
py
import json,requests,sys if(len(sys.argv)<2): print("Thanks for using QuickWeather") sys.exit() location=''.join(sys.argv[1:]) url ='http://api.openweathermap.org/data/2.5/forecast/daily?q=%s&cnt=3' % (location) response = requests.get(url) response.raise_for_status() # Load JSON data into a Python vari...
[ "noreply@github.com" ]
JohnAssebe.noreply@github.com
e020cd9fac1867bdcd007c80710133f83c14f27b
4012f290d83ae7f4c09d7440f26d2acd7e63efbe
/4492.py
e297853f6e24ca3a4aa39171402328b937421e02
[]
no_license
jinaur/codeup
ffc2d0fdf73892c1f46d80021ad8f4c1293c9e2e
5f75ace909e2b3151171932cc3ee9f3c49dd46d9
refs/heads/master
2023-04-15T07:42:06.244806
2021-04-25T13:59:42
2021-04-25T13:59:42
277,760,813
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
n = int(input()) r = 0 for i in range(0, n) : a = list(map(int, input().split())) r += max(a) print(r) print(r)
[ "50763720+jinaur@users.noreply.github.com" ]
50763720+jinaur@users.noreply.github.com
f845d5b9579f2666c27e69aa1146e1a7bc8c6215
d4679b63ff98399a2e2c90a70196ca61be12d5ed
/Part_1/Алгоритмы и структуры данных/Homeworks/base_string_algo/Task_B.py
243e8c429728af0bf361cedb45ddb17a80dd03a6
[]
no_license
akoshel/MADE
9a702064f9dd5f89664efed4e76f9a2fb0a94743
e0c3aceaf190bb86bae9f8239ae181d5529bc044
refs/heads/main
2023-04-28T14:25:53.210880
2021-05-19T16:23:52
2021-05-19T16:23:52
328,123,200
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
import sys def zfunction(word): left = 0 right = 0 n = len(word) z = [0 for _ in range(n)] z[0] = None for i in range(1, n): z[i] = max(0, min(right - i, z[i - left])) while i + z[i] < n and word[z[i]] == word[i + z[i]]: z[i] += 1 if i + z[i] > right: ...
[ "johndoe@example.com" ]
johndoe@example.com
05acda3d335c7567ea58066a12b62f31f9e00a51
70ed3c69f7c7da1567e861cfd1eb582751287677
/aea/helpers/yaml_utils.py
1c4922cefd0357648327ad7ba46b3e39eadd2ff3
[ "Apache-2.0" ]
permissive
nunoedgar-invest/agents-aea
f84769fe8db88f08a6241d060f4a1e344fcc2b98
fb4b6db1fa6f4706d7b63f473f0c2c6e2857fbf6
refs/heads/master
2023-04-13T12:53:52.034608
2020-11-25T14:11:53
2020-11-25T14:11:53
320,889,877
0
0
Apache-2.0
2023-03-24T05:46:29
2020-12-12T17:49:34
null
UTF-8
Python
false
false
5,788
py
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2020 Fetch.AI Limited # # 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 ...
[ "marco.favorito@gmail.com" ]
marco.favorito@gmail.com
f9577ab60789fcc3b79363e2665bcddb7d88c884
3fe272eea1c91cc5719704265eab49534176ff0d
/scripts/item/consume_2436644.py
32f11f4f9ad7d1d663e3a032e2f1c460e14fec22
[ "MIT" ]
permissive
Bratah123/v203.4
e72be4843828def05592298df44b081515b7ca68
9cd3f31fb2ef251de2c5968c75aeebae9c66d37a
refs/heads/master
2023-02-15T06:15:51.770849
2021-01-06T05:45:59
2021-01-06T05:45:59
316,366,462
1
0
MIT
2020-12-18T17:01:25
2020-11-27T00:50:26
Java
UTF-8
Python
false
false
235
py
# Created by MechAviv # Color Pop Damage Skin (30 Day) | (2436644) if sm.addDamageSkin(2436644): sm.chat("'Color Pop Damage Skin (30 Day)' Damage Skin has been added to your account's damage skin collection.") sm.consumeItem()
[ "pokesmurfuwu@gmail.com" ]
pokesmurfuwu@gmail.com
a312c1f28584823e8204fbb7b63cc82cbe33229e
e8446a5eadd109eef6fee9caf87cc0294e1da54c
/src/zojax/content/permissions/tests/content.py
2081358c552b466544eacb82fb41ea58ab28b494
[ "ZPL-2.1" ]
permissive
Zojax/zojax.content.permissions
d24b481063220dec7a8cb35d2da1a464b4168987
2bc276e329e4810adbfe2894996b43f77767a869
refs/heads/master
2021-01-21T19:35:08.381230
2014-02-05T16:37:43
2014-02-05T16:37:43
2,035,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "andrey.fedoseev@gmail.com" ]
andrey.fedoseev@gmail.com
49e5c6fe5a468e642a6ae3ef62afe851a982769c
1119089b34e952ba63fb3f32d4106cfa244ad2a0
/bitwiseOr.py
e1295b0bda5ccf4f6ad74a2da9c07b78dd1bc318
[]
no_license
ranog/automatize_tarefas
72aee22241139cbe6bce226edb6b7aae356344e9
31063bb27dc0920e1d0d89fa7b1b52a9d3efa5e6
refs/heads/main
2023-05-08T08:50:12.934691
2023-04-29T14:47:20
2023-04-29T14:47:20
340,995,104
1
0
null
2023-04-29T14:47:21
2021-02-21T20:18:18
Python
UTF-8
Python
false
false
623
py
""" Podemos combinar as variáveis re.IGNORECASE, re.DOTALL e re.VERBOSE utilizando o caractere pipe (|) que, nesse contexto, é conhecido como o operador ou bit a bit (bitwise or). Portanto, se quiser uma expressão regular que ignore as diferenças entre letras maiúsculas e minúsculas e inclua quebras de linha para que ...
[ "jprnogueira@yahoo.com.br" ]
jprnogueira@yahoo.com.br
cdb60eecbeb502ed80d77d123dee950729649ae9
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Integration/trend_MovingMedian/cycle_7/ar_/test_artificial_32_Integration_MovingMedian_7__100.py
23dc9609e8635e60f82493524d5d9d04f0b0f2f9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
269
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "MovingMedian", cycle_length = 7, transform = "Integration", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4517d856515ed0318f7fbe1ef2efa33138cfe46f
720e75d59f1e7676d6b60be62179128301b42179
/supervised_learning/0x06-keras/0-sequential.py
e9583ff56453444ec328a371070ac3fdef3a2e92
[]
no_license
jadsm98/holbertonschool-machine_learning
507f3561d08a376638cc9e44c2aae8429288640a
b5e8f1253309567ca7be71b9575a150de1be3820
refs/heads/master
2023-05-23T02:17:55.186795
2021-06-09T10:48:10
2021-06-09T10:48:10
317,543,256
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python3 """module""" import tensorflow.keras as K def build_model(nx, layers, activations, lambtha, keep_prob): """function""" model = K.models.Sequential() l2 = K.regularizers.l2(lambtha) model.add(K.layers.Dense(layers[0], activation=activations[0], inpu...
[ "jadsamaha98@gmail.com" ]
jadsamaha98@gmail.com
7ea53556015d700182d4cfbdd96777364ff65732
4e678f6967745c3da2a3e8899204e34d99fc3be0
/predicting-office-space-price.py
de7311ad373b3e7f555788351bb0d6bcde57c5c7
[]
no_license
pratikshah1701/hackerrank
bf689a583b462c0fde697abd536ae0638d14ced9
73fde2a0d9dc063e1c06d42f0572ce01f5dd04b9
refs/heads/master
2021-01-19T18:47:15.278811
2017-04-13T09:16:27
2017-04-13T09:16:27
88,381,516
1
1
null
2017-04-16T00:20:00
2017-04-16T00:20:00
null
UTF-8
Python
false
false
885
py
#!/usr/bin/env python3 # http://scikit-learn.org/stable/modules/linear_model.html#polynomial-regression-extending-linear-models-with-basis-functions from sklearn.linear_model import LinearRegression from sklearn.preprocessing import PolynomialFeatures import numpy as np def main(): F, N = map(int, input().split(...
[ "charles.wangkai@gmail.com" ]
charles.wangkai@gmail.com
8e124cb811d3da3867e2d8df80718e1acca92ae1
362a1e2826cb8d5f08fad55e57c67e9840aed50f
/tpdatasrc/kotbfixes/scr/Spell090 - Cure Light Wounds.py
f92e749c1a2f77baadfe8e4c11351c4ad5c75921
[ "MIT" ]
permissive
mercurier/TemplePlus
1058c8c79f22570425527b97c4b0800a9e7e62d7
244f83346d1f1afb64017ee2a8d6e3639e43320d
refs/heads/master
2020-03-31T16:03:16.554445
2018-10-10T04:55:19
2018-10-10T04:55:19
152,360,491
0
0
MIT
2018-10-10T03:55:37
2018-10-10T03:55:37
null
UTF-8
Python
false
false
3,536
py
from toee import * def OnBeginSpellCast( spell ): print "Cure Light Wounds OnBeginSpellCast" print "spell.target_list=", spell.target_list print "spell.caster=", spell.caster, " caster.level= ", spell.caster_level game.particles( "sp-conjuration-conjure", spell.caster ) def OnSpellEffect( spell ): print "Cure Li...
[ "doug1234@unknown" ]
doug1234@unknown
9a9a921a3a2df7e1b95922747327906f747bb44e
1deb6daf07e0511da5d9afcf2317f8b17e82d7cd
/profile_bluesky/startup/instrument/framework/check_bluesky.py
3ef722eec436815bfa051a75f38699da63a55d66
[]
no_license
APS-3ID-IXN/ipython-s3blue
8e77dddc491fd2e7860e95edeea4f6baddca2882
0592da145ded871de40f7ab0ddb38f43c5c1a674
refs/heads/master
2021-05-13T14:08:58.507117
2021-01-11T17:24:01
2021-01-11T17:24:01
116,731,947
0
0
null
2020-02-21T20:53:04
2018-01-08T21:47:45
Python
UTF-8
Python
false
false
591
py
__all__ = [] # ensure BlueSky is available try: import bluesky except ImportError: msg = 'No module named "bluesky"\n' msg += 'This python is from directory: ' + sys.prefix msg += '\n'*2 msg += 'You should type `exit` now and find the ipython with Bluesky' raise ImportError(msg) req_version...
[ "prjemian@gmail.com" ]
prjemian@gmail.com
5eb5d7f037e0146d687855c8cfe94e3b770bb449
2de3c52fa5c29796a192fc211debbd8200a5cc6f
/day_02/transcripts/trans_lambda_special_functions.py
f31ffd2bbe8837bacafa71d19b6582f5e48ad254
[]
no_license
Code360In/22022021PY
ecd51c4081fdd2c1a610fb7333540e3d87f9f050
b0cfee596d4588f7be9c7d3789b319cc039847e3
refs/heads/main
2023-03-11T21:38:09.134086
2021-03-03T07:30:31
2021-03-03T07:30:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,976
py
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> f = lambda x,y : x + y >>> type(f) <class 'function'> >>> f(10, 20) 30 >>> f("py","th") 'pyth' >>> f([1,2,3], [4,5,6]) [1, 2, 3, 4, 5, 6] >...
[ "noreply@github.com" ]
Code360In.noreply@github.com
65712ed29859084ae907e6ce29ecd63fde4303d9
e3b5e20bcb560a3c37c09f728b9340b1715c1818
/venv/lib/python3.7/site-packages/plotly/validators/sankey/link/concentrationscales/_cmax.py
af04c29f74c8b67bf4c841231bebe555f69b5700
[ "MIT" ]
permissive
180Studios/LoginApp
63bc50b1f91e7221c7581627ab166eeb01758f5c
66ff684a81b23d8f45eef2c56be19a2afd95ab29
refs/heads/master
2022-12-24T00:33:08.481826
2020-02-03T05:14:41
2020-02-03T05:14:41
144,414,562
0
1
MIT
2022-12-08T01:38:26
2018-08-11T19:57:44
Python
UTF-8
Python
false
false
495
py
import _plotly_utils.basevalidators class CmaxValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name='cmax', parent_name='sankey.link.concentrationscales', **kwargs ): super(CmaxValidator, self).__init__( plotly_name=plotly...
[ "kylenahas@gmail.com" ]
kylenahas@gmail.com
ed66387d76e7fbce176e121389b014c7dd09c877
c124cd627d1cd2ecc2056a932db4c5c3203943f2
/.svn/pristine/ed/ed66387d76e7fbce176e121389b014c7dd09c877.svn-base
41163a62bb505b87a1c601b0219e84a485e7b2a6
[]
no_license
longooglite/mps
8fb2093b6a9f483a2ce4543949f7cbf0b280a1f1
fd8c0d1491b80074fdf5a8c923d50e55a1991ad0
refs/heads/master
2021-01-10T08:17:15.852252
2016-02-29T21:07:04
2016-02-29T21:07:04
52,824,830
0
0
null
null
null
null
UTF-8
Python
false
false
7,726
# [Copyright] # SmartPath v1.0 # Copyright 2014-2015 Mountain Pass Solutions, Inc. # This unpublished material is proprietary to Mountain Pass Solutions, Inc. # [End Copyright] ''' ''' import optparse import os import os.path import sys import json import subprocess import commands sys.path.append(os.path.abspath(__...
[ "longuskikirk@gmail.com" ]
longuskikirk@gmail.com
e1fbf34345ebba3ed98288472b38d6a676eec999
32f93afc32e68e27a91e9ba32981a1de67025436
/caminobakery/specials/models.py
51e9228aadeba407fce142f43d89464378e08383
[]
no_license
patrickbeeson/camino-bakery-website
8b8fb7b3f558c2895aca01d05806dcb4b92a1aa8
a6e8fd28bf78b2495fc010db51c8a356dfe993dc
refs/heads/master
2021-01-19T04:28:04.655528
2016-06-26T00:33:18
2016-06-26T00:33:18
44,538,272
1
1
null
2016-06-26T00:33:18
2015-10-19T13:52:50
Python
UTF-8
Python
false
false
1,415
py
from __future__ import unicode_literals from django.utils.encoding import python_2_unicode_compatible from datetime import date from django.db import models class SpecialTodayManager(models.Manager): def get_queryset(self): return super(SpecialTodayManager, self).get_queryset().filter( day_o...
[ "patrickbeeson@gmail.com" ]
patrickbeeson@gmail.com
f5ba37152865af615dc4c7ea02c7485ea7e15dd2
c31ee8136a57a96649196081e1cfde0676c2a481
/larcv/app/arxiv/mac/pyrgb/lib/image_types/whiteimage.py
c07a07c8d82cdb412922b613a597c53eab1f6c78
[ "MIT" ]
permissive
DeepLearnPhysics/larcv2
b12b46168e5c6795c70461c9495e29b427cd88b5
31863c9b094a09db2a0286cfbb63ccd2f161e14d
refs/heads/develop
2023-06-11T03:15:51.679864
2023-05-30T17:51:19
2023-05-30T17:51:19
107,551,725
16
19
MIT
2023-04-10T10:15:13
2017-10-19T13:42:39
C++
UTF-8
Python
false
false
2,354
py
from whiteplotimage import WhitePlotImage from .. import np from .. import QtGui import pandas as pd class WhiteImage(WhitePlotImage): def __init__(self, img_v, roi_v, planes): super(WhiteImage, self).__init__(img_v, roi_v, planes) self.name = "WhiteImage" # # Custom presets for ...
[ "kazuhiro@nevis.columbia.edu" ]
kazuhiro@nevis.columbia.edu
c14b314ac98a05946788391f5f896b8103c43b17
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/leetcode/leetCode/TwoPointers/16_3SumClosest.py
c756663e5b6dceb4277f50c1a023fccc7ac1f58e
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,323
py
#! /usr/bin/env python # -*- coding: utf-8 -*- class Solution(object): def threeSumClosest(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ nums.sort() min_distance = 2 ** 31 - 1 length = len(nums) # keep the s...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
8f459caa5a47adf738114926aa3e8f3a9aec67bf
2fe99e88b7ac8e140bf4569bff651a2addb23c55
/tests/core/views.py
56cb2146e7ef2b6f69d920c3563d6b35ca8226b8
[ "Apache-2.0" ]
permissive
timgates42/django-selenium
e257a714b6dc80a3ff4d0fab6d2e840c8bf46009
aec304c51dc4e3a5bc412dde892a54241c546ceb
refs/heads/master
2021-04-19T23:37:57.643274
2016-03-28T20:54:32
2016-03-28T20:54:32
249,641,410
0
0
NOASSERTION
2020-03-24T07:32:52
2020-03-24T07:32:51
null
UTF-8
Python
false
false
367
py
from django.views.generic import FormView from core.forms import SampleSearchForm class SampleSearchView(FormView): template_name = "home.html" form_class = SampleSearchForm def form_valid(self, form): """Show the results that will be used in tests""" return self.render_to_response(self.g...
[ "roman.prokofyev@gmail.com" ]
roman.prokofyev@gmail.com
ed18f34916428b2a8d69182aa9e7270680d87e85
34aedd480bb6dc32d8c6750244684239cce4b31f
/Любимые числа.py
12fef83ae90a494d5f7170ee87fc7c9c2ba8284a
[]
no_license
pohily/Yandex_contests
67f8161d5330689ca53bea93191ea3c20eca1bd6
7e61a1ed269ac522dd9ff168e5faf7b2bddfa021
refs/heads/master
2020-06-16T10:21:23.000932
2019-07-06T12:45:41
2019-07-06T12:45:41
195,537,912
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
with open('input.txt', 'r') as f: data = [] for line in f: data.append(line.strip()) result = 0 #/6 num = list(data[0]) len_num = len(num) sum_num = sum([int(i) for i in num]) if sum_num % 3 == 0: two = num.count('2') if two: result += num.cou...
[ "mpohily@gmail.com" ]
mpohily@gmail.com
9067837e922d131bdb60e40ef815d9d45e71e173
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/salesforce/unit_test/test_delete_record.py
22f8048c5e826860a384828d49e3481f6ef0af00
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
2,045
py
import sys import os sys.path.append(os.path.abspath("../")) from unittest import TestCase from komand_salesforce.actions.delete_record.action import DeleteRecord from unittest.mock import patch from parameterized import parameterized from komand_salesforce.util.exceptions import ApiException from util import Util fr...
[ "noreply@github.com" ]
rapid7.noreply@github.com
bf527f139e7ab97869d713ee48d00d6ab9fa7143
648fbac90569e520540a14ad7be6714dc3aa303d
/scripts/cell/card_20000113.py
7faae6bfcb30522fb19fa897ee50d9b480817bb8
[]
no_license
zhlhmjz/kbe_lscs
e573c1eac74c12005cb6c50288a952b2874e231b
6dc4eae5ab7fee66e929204abc80125f4f6be8f6
refs/heads/master
2021-08-24T13:43:42.208183
2017-11-21T08:39:14
2017-11-21T08:39:14
111,522,225
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
# -*- coding: utf-8 -*- import KBEngine from KBEDebug import * from interfaces.GameObj import GameObj class card_20000113(GameObj): def __init__(self): GameObj.__init__(self) #-------------------------------------------------------------------------------------------- # Callbacks #-...
[ "752612571@qq.com" ]
752612571@qq.com
d972653eb9b5efb6a32106a5d882e2c333590ce1
932a6797f1e97c7f8c96af83647fc27d2324765e
/python/1209. Remove All Adjacent Duplicates in String II.py
5066de222f5685580807c4f3d8b82724009383a9
[]
no_license
rhzx3519/leetcode
1245e0a19dbcb4b853eb0ac369601f31171b55c5
2fe336e0de336f6d5f67b058ddb5cf50c9f00d4e
refs/heads/master
2023-08-17T01:27:49.674440
2023-08-16T23:08:59
2023-08-16T23:08:59
85,682,362
3
1
null
2021-05-08T12:10:56
2017-03-21T09:23:02
Python
UTF-8
Python
false
false
585
py
class Solution(object): def removeDuplicates(self, s, k): """ :type s: str :type k: int :rtype: str """ n = len(s) l = 1 for i in range(1, n): if s[i]==s[i-1]: l += 1 else: l = 1 if l=...
[ "louzhenghao@itiger.com" ]
louzhenghao@itiger.com
354b21a7a9fd55f0b8e3762bb9d82d157b5325e7
e5eec1428da1d24d3e9b86f5723c51cd2ca636cd
/DFS-BFS/감시 피하기_기출.py
c3a4fffe6a112eca469b549d5cb28781ad38a0dc
[]
no_license
jamwomsoo/Algorithm_prac
3c36c381f59277721517d331a8f1640399d80c1d
8393f3cc2f950214c47f3cf0b2c1271791f115d0
refs/heads/master
2023-06-09T06:49:14.739255
2021-06-18T06:41:01
2021-06-18T06:41:01
325,227,295
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
from itertools import combinations n = int(input()) graph = [] space = [] teacher = [] for i in range(n): graph.append(list(map(str,input().split()))) for j in range(n): if graph[i][j] =='T': teacher.append((i,j)) if graph[i][j] == 'X': space.append((i,j)) coms = co...
[ "41579282+jamwomsoo@users.noreply.github.com" ]
41579282+jamwomsoo@users.noreply.github.com
fc35dc85829511903157c837b3b653a21f6e592c
b9efe7ff9b6fe70382d3d94a3c542af6c0f6f6bb
/python/day02_1.py
59b5a3b379f172d5eaa61fd4c81a971663f01210
[]
no_license
shalgrim/advent_of_code_2020
0ec28b3e09ab83252d1aaec773ed1724232c43b7
822d1894d3443773d9a8e0e106e3cd53d1b59558
refs/heads/main
2023-02-14T05:30:06.082537
2020-12-25T06:49:21
2020-12-25T06:49:21
317,433,405
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
import re from file_ops import readlines LO = 'lo' HI = 'hi' LETTER = 'letter' PWD = 'pwd' PATTERN = re.compile( rf'(?P<{LO}>\d+)-(?P<{HI}>\d+)\s+(?P<{LETTER}>[a-z]):\s+(?P<{PWD}>\S+)' ) def is_valid(groupdict): lo = int(groupdict[LO]) hi = int(groupdict[HI]) letter = groupdict[LETTER] password ...
[ "shalgrim@gmail.com" ]
shalgrim@gmail.com
686ba46f38dce1a56d393f047007c0db612c49f0
59cc5177ea0078daf7e33cce1e774e2cd23340ad
/modoboa/extensions/webmail/exceptions.py
15465e565bd7964bd1c36e400ef31d4e1ab34f1b
[ "MIT" ]
permissive
kirillsem/modoboa
4045bc15c94efcbe7effc7768d20bfb38ad0cfca
03fce9f5bba87ef00a4beae81e9a7c182c00271a
refs/heads/master
2021-01-10T08:26:38.861385
2016-03-14T16:26:40
2016-03-14T16:26:40
55,626,425
1
0
null
2016-04-06T17:25:47
2016-04-06T17:25:47
null
UTF-8
Python
false
false
799
py
# coding: utf-8 """ :mod:`exceptions` --- Webmail custom exceptions ----------------------------------------------- """ import re from django.utils.translation import ugettext as _ from modoboa.lib.exceptions import ModoboaException class WebmailError(ModoboaException): errorexpr = re.compile("\[([^\]]+)\]\s*([^\...
[ "ks1986830@hotmail.com" ]
ks1986830@hotmail.com
66b81cfb4c248e2b702680d824dc08326e2d246c
7a0625ef4c271ed9992a736de7bb93215b7013fd
/leetcode296.py
2e3bab1f97dfac050548dae0fb33092c886bc530
[]
no_license
yuchien302/LeetCode
6576b93c005ea2275646df7b9547c22683d3b45c
c9a53ef2fc1fd1fea7377c3633689fa87601dba6
refs/heads/master
2020-12-11T01:42:36.980414
2015-12-03T02:53:51
2015-12-03T02:53:51
36,424,494
2
0
null
null
null
null
UTF-8
Python
false
false
545
py
class Solution(object): def minTotalDistance(self, grid): """ :type grid: List[List[int]] :rtype: int """ rows, cols = [], [] for r in range(len(grid)): for c in range(len(grid[0])): if grid[r][c] == 1: rows.append(r) ...
[ "yc2257@cornell.edu" ]
yc2257@cornell.edu
222b7d97add5561ab0cbbb85d291938056796870
c7f43c4cc0ee84a5fe246b67f51e30b8d726ebd5
/keras2/keras67_1_male_female1_3.py
5174b0203aff12ab1f0031c2fd86beac7c877af9
[]
no_license
89Mansions/AI_STUDY
d9f8bdf206f14ba41845a082e731ea844d3d9007
d87c93355c949c462f96e85e8d0e186b0ce49c76
refs/heads/master
2023-07-21T19:11:23.539693
2021-08-30T08:18:59
2021-08-30T08:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,620
py
# male, female >> Imagegenerator, fit_generator 적용해서 완성 import numpy as np from tensorflow.keras.preprocessing.image import ImageDataGenerator from sklearn.model_selection import train_test_split from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, Dropout, MaxPool2D, Flatt...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
6220ec3c1d5d66cf63aa67161dd5af103bf25430
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/libCharon/Charon/VirtualFile.py
889b4f75ba65f5df6aa14fb75d3d2e9facb7ee08
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
2,852
py
# Copyright (c) 2018 Ultimaker B.V. # libCharon is released under the terms of the LGPLv3 or higher. import os from Charon.FileInterface import FileInterface # The interface we're implementing. from Charon.OpenMode import OpenMode #To open local files with the selected open mode. # The supported file types. from Cha...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
449c7e0445bc41c83b4c685a9040e6497bc4ed4a
d9784faf0be563bee3138233393d112b98655288
/src/config/setting.py
1bf369921967145702f473a142a4b51e33f1c979
[ "BSD-2-Clause" ]
permissive
jack139/cnnc
3e0ebd13d03e6ff0fd7ba48ebde0a06ce4c7a404
c32611ec01af50bedb67dcd4c8a28e4b0c7a9aef
refs/heads/master
2022-12-21T08:51:58.746515
2020-09-23T07:50:25
2020-09-23T07:50:25
297,877,959
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import web from pymongo import MongoClient ##### debug_mode = True # Flase - production, True - staging ##### # enable_proxy = True http_proxy = 'http://192.168.2.108:8888' https_proxy = 'https://192.168.2.108:8888' proxy_list = ['192.168.2.103'] enable_local_test = True...
[ "jack139@gmail.com" ]
jack139@gmail.com
61e5b864cfd8e7a70ea20c22e2b66415866c0b73
bddad6fbb4d991eceecff417f2de4f763413001d
/sage/query_engine/iterators/union.py
ecd2142255ba820000dda516789466559de90dab
[ "MIT" ]
permissive
GDD-Nantes/sage-engine
39ff837bde5eb1a7eadd61548881a0889bed63fe
ea06b77b15b13f5297e937718c1c742e8afcc017
refs/heads/master
2021-01-02T02:41:56.890666
2020-02-04T10:17:01
2020-02-04T10:17:01
239,457,429
1
0
MIT
2020-02-10T08:00:30
2020-02-10T08:00:29
null
UTF-8
Python
false
false
3,832
py
# union.py # Author: Thomas MINIER - MIT License 2017-2020 from typing import Dict, Optional from random import random from sage.query_engine.iterators.preemptable_iterator import PreemptableIterator from sage.query_engine.protobuf.iterators_pb2 import SavedBagUnionIterator class BagUnionIterator(PreemptableIterator...
[ "tminier01@gmail.com" ]
tminier01@gmail.com
1459049135b5aec32c47e42b01e739658e3ec84e
6fc7f97017613956e23bf0117d03340d858793aa
/ManufactureAI/Hw2/seo.py
ad459d70521a636f24fc0f7a73301240860df70f
[]
no_license
Chaeguevara/21_1-SNU
50c1a026b472c2caf5b1fed6307e01b1f91c9871
fcef342729ab9e57ee5c77017499e9514f790870
refs/heads/master
2023-07-12T20:39:01.873987
2021-08-22T15:28:17
2021-08-22T15:28:17
345,637,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
import numpy as np import matplotlib.pyplot as plt def sigmoid(x): return 1 / (1 + np.exp(-x)) def sigmoid_deriv(x): return sigmoid(x) * (1-sigmoid(x)) def forward(x,w1,w2,predict = False): a = np.matmul(x,w1) z = sigmoid(a) bias = np.ones((len(z),1)) z = np.concatenate((bias, z), axis =...
[ "dfso2@naver.com" ]
dfso2@naver.com
dcc2c2598e923093814282382f2d8df499e89480
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/friendly.py
bfb435a4a4daa448c9e576c606b7094a029c6abb
[]
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
370
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('friendly', __name__, url_prefix='/friendly') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('rep...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
d3e63e5240481f26d30cbfeed81e5322157d3cac
55815c281f6746bb64fc2ba46d074ca5af966441
/easy/109.py
b0bcba5aafd2cc72608ac01def789b4e584acccd
[]
no_license
brandoneng000/LeetCode
def5107b03187ad7b7b1c207d39c442b70f80fc2
c7a42753b2b16c7b9c66b8d7c2e67b683a15e27d
refs/heads/master
2023-08-30T23:38:04.845267
2023-08-30T08:42:57
2023-08-30T08:42:57
199,584,584
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
from typing import Optional # Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left ...
[ "brandoneng000@gmail.com" ]
brandoneng000@gmail.com
a951d4ed2a50441fa8b01007daeba48cbc836c73
adfc4f6efd75a1372897f535c07de7d6440d1023
/src/faber/module.py
5a2940b7bc953b6d38bafc651540675bd3aef501
[ "BSL-1.0" ]
permissive
terrorfisch/faber
cf00555f258155e469dbe4cddc0bf75011ebf657
bea11ab054c46babdd75399b0eabf52d318e52f6
refs/heads/master
2021-09-15T03:02:26.009724
2018-03-07T15:05:37
2018-03-07T15:38:56
134,722,324
0
0
null
2018-05-24T13:52:40
2018-05-24T13:52:39
null
UTF-8
Python
false
false
4,346
py
# # Copyright (c) 2016 Stefan Seefeld # All rights reserved. # # This file is part of Faber. It is made available under the # Boost Software License, Version 1.0. # (Consult LICENSE or http://www.boost.org/LICENSE_1_0.txt) from .feature import lazy_set from .artefact import artefact from .tool import tool from .utils ...
[ "stefan@seefeld.name" ]
stefan@seefeld.name
988f63e6799f4f20f17484e37aa2946fad80c0fb
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/1396.py
6ab0f43a4df428bcb8e61fe735134e75116b357b
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
def count(arr,startX,startY,deltaX,deltaY): TCount = 0 XCount = 0 OCount = 0 EmptyCount = 0 for i in xrange(4): currentX = startX + i*deltaX currentY = startY + i*deltaY currentSpace = arr[currentY][currentX] if currentSpace == '.': EmptyCount+=1 elif currentSpace == "T": TCo...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2cddfa6620d75c40f2babc17964077c4f76d6a5d
c0d489d1173c05d9225b6f927d93d50e8038740b
/backend/backend_config.py
57adb3dff894c70403ef93605c2d6071a979190f
[ "Apache-2.0" ]
permissive
rishub2000/jina-app-store-example
f89f31b608017eeba63455ecb184ccf9be28ed72
9abedf615c1289b4a496319070026752b0c3db58
refs/heads/main
2023-06-07T05:55:08.142649
2021-06-25T12:39:51
2021-06-25T12:39:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# in executors.py backend_model = "sentence-transformers/msmarco-distilbert-base-v3" backend_top_k = 10 # in app.py backend_port = 45678 backend_workdir = "workspace" backend_datafile = "./data/appstore_games-shuffled.csv" text_length = 50 # How many words to index for each app? Longer = more accurate, shorter = quick...
[ "alexcg@outlook.com" ]
alexcg@outlook.com
57ff4a2e5760d2848631cf24f0237c021aad59ea
4d892dc51e2dda0fcce246ac608fc4e0ce98c52b
/FirstStepsInPython/Advanced/Exercise/Lists_as_Stacks_and_Queues/06_Balanced_Parentheses.py
8614d5dd45314f7919be76544dc2bb509b579b83
[ "MIT" ]
permissive
inovei6un/SoftUni-Studies-1
510088ce65e2907c2755a15e427fd156909157f0
3837c2ea0cd782d3f79353e61945c08a53cd4a95
refs/heads/main
2023-08-14T16:44:15.823962
2021-10-03T17:30:48
2021-10-03T17:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
open_list = ["[", "{", "("] close_list = ["]", "}", ")"] line_input = input() stack = [] stop = False for ll in line_input: if ll in open_list: stack.append(ll) elif ll in close_list: pos = close_list.index(ll) if (len(stack) > 0) and (open_list[pos] == stack[len(stack) - 1]): ...
[ "lazar_off@yahoo.com" ]
lazar_off@yahoo.com
cf80c137888b6f49b5adfee6d6a3e79e478a0b62
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/pandas/compat/__init__.py
d0d7d6a1b8da633e171ba50ced5e1f32e7cf614b
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
3,119
py
""" compat ====== Cross-compatible functions for different versions of Python. Other items: * platform checker """ import os import platform import sys from pandas._typing import F from pandas.compat.numpy import ( is_numpy_dev, np_version_under1p19, np_version_under1p20, ) from pandas.compat.pyarrow imp...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
795611a5f2a7a0b294ec606215e5497efd29de1c
bf681fbd7edbf4f8f1e0b20cbd09b362f777c9c3
/bazel/libtorch_example/print_libs.py
c8dd39275881c5cb20075ffa0925bc026811cc40
[ "BSD-3-Clause" ]
permissive
EricCousineau-TRI/repro
308d4a86f3c7da8be5811db2f3f68d39db60d7ed
9800f45e07f511c9a355ee90333955451b55559a
refs/heads/master
2023-08-31T13:49:23.540640
2023-08-25T19:18:33
2023-08-25T19:18:33
87,116,976
24
13
NOASSERTION
2023-03-25T01:40:55
2017-04-03T20:19:28
Jupyter Notebook
UTF-8
Python
false
false
317
py
#!/usr/bin/env python from subprocess import PIPE, run def subshell(cmd, check=True): return run(cmd, shell=True, check=check, stdout=PIPE, text=True).stdout libs = subshell("cd bazel-libtorch_example/external/libtorch/lib && ls *.so *.so.*").split() libs.sort() for lib in libs: print(f" -l:{lib} \\")
[ "eric.cousineau@tri.global" ]
eric.cousineau@tri.global
ed8a77ad78f2add9dd000c709926b510e11b3318
1dcb3fe92427c77fadcb45713b408ddb3924ad4b
/draw_k-means_compare.py
c5d4fbcc2d22f3ea37fc9078dfb564b618d38a79
[]
no_license
Phoenix-Z/GraduateProject
e6402094f5be44e405c613ba7ec0dad0b3da2140
a57bfe5f62e09c5965ead7979b9532883d1668d7
refs/heads/master
2021-01-22T07:28:03.643801
2017-06-23T12:46:35
2017-06-23T12:46:35
81,826,397
0
1
null
null
null
null
UTF-8
Python
false
false
859
py
# coding:utf-8 import numpy as np import matplotlib.pyplot as plt plt.rcParams['font.sans-serif'] = ['SimHei'] n_groups = 4 # 运行时间 means_paillier = (2.122, 1.941, 10.236, 24.956) means_01encode = (0.121, 0.215, 3.491, 10.478) # 平方误差 # means_paillier = (16.44, 3908.48, 10.83, 3213.73) # means_01encode = (7.95, 1622.82...
[ "phoenixzhao1105@gmail.com" ]
phoenixzhao1105@gmail.com
919e8f70a509de199a1ce314e107413e601632fb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/8gE6FCdnWbECiR7ze_8.py
5c565fe1fe7bc819109064f88b70a5fc5232d2ca
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,817
py
""" In numbers theory, a positive composite integer is a Smith number if its digital root is equal to the digital root of the sum of its prime factors, with factors being counted by multiplicity. Trivially, every prime is also a Smith number, having just one prime factor that is equal to itself. If two Smith numbers...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6f909d33ba8019593fd93050860954ef4fc97bde
cf7c928d6066da1ce15d2793dcf04315dda9b9ed
/Jungol/Lv1_LCoder_Python/pyd0_기타_자료형/Main_JO_943_기타_자료형_자가진단3.py
2175917ffaefc8ef91175bbdf0b8bf336b9129c9
[]
no_license
refresh6724/APS
a261b3da8f53de7ff5ed687f21bb1392046c98e5
945e0af114033d05d571011e9dbf18f2e9375166
refs/heads/master
2022-02-01T23:31:42.679631
2021-12-31T14:16:04
2021-12-31T14:16:04
251,617,280
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# 인터넷 게임 계정의 수를 입력 받은 후, 각 계정의 아이디, 승률, 계급을 입력 받아, 계급이 'Bronze'가 # 아니면서 승률이 60.0 이상이거나, 계급이 'Platinum' 인 아이디를 입력 받은 순서대로 출력 예와 같은 # 형식으로 "[Gosu]"를 붙여 출력하는 프로그램을 작성하시오 n = int(input()) for i in range(n): a, b, c = input().split() bb = float(b) if bb >= 60.0 and c != "Bronze": print(f'[Gosu] %s' % a...
[ "refresh6724@gmail.com" ]
refresh6724@gmail.com
59c018b608fd97672d5fb880fb5e4eab99010664
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/numberofStepstoReduceaNumberinBinaryRepresentationtoOne/numberofStepstoReduceaNumberinBinaryRepresentationtoOne.py
a8a36865555215ba4a1ee015acc052f44cb53e7d
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
492
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/number-of-steps-to-reduce-a-number-in-binary-representation-to-one/ # Author: Miao Zhang # Date: 2021-04-29 class Solution: def numSteps(self, s: str) -> int: res = 0 carry = 0 for i in range(len(s) -...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
ed12534f1da767dfebef5c8563d1b4aae5a66da3
b6b30fb06124883b074144c419b43d9182efcdff
/Basics/dutch_flag_partition_fastest.py
fb164ade1f056ae18da155dfb6ec6402aad9dfba
[]
no_license
JohnnySunkel/BlueSky
da9f5107034289bfbdd3ba40458f9b9bd8d01a13
5a20eba9ef7509a5a7b7af86e7be848242e1a72f
refs/heads/master
2021-07-07T09:57:37.256950
2020-09-02T23:06:46
2020-09-02T23:06:46
166,883,639
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
def dutch_flag_partition(pivot_index, A): pivot = A[pivot_index] # Keep the following invariants during partitioning: # bottom_group: A[:smaller]. # middle_group: A[smaller:equal]. # unclassified_group: A[equal:larger]. # top_group: A[larger:]. smaller, equal, larger = 0, 0, len(A) # Kee...
[ "noreply@github.com" ]
JohnnySunkel.noreply@github.com
84a03ff8450360e7be6e7b4763ca22a702633ad4
e17a3eb6388890b6f7b6692e75953a0479e05d5c
/date_range/__manifest__.py
a00346a3d9e80c81950a8cbf500bd4b3e99d1bae
[]
no_license
FIDINGSARL/compta13
8824e858bd35811b2549b74f10330535e3d29756
329c4985d188ee1e6323f00d3e4148a32ce5c1d8
refs/heads/master
2023-02-24T10:09:04.829763
2021-02-01T10:58:28
2021-02-01T10:58:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# -*- coding: utf-8 -*- { "name": "Périodes diverses", "summary": "Manage all kind of date range", "version": "10.0", "category": "Uncategorized", "author": "Andema/OCA", "website": "http://www.andemaconsulting.com", "application": False, "installable": True, "depends": [...
[ "macbook@MacBook-Pro-de-MacBook.local" ]
macbook@MacBook-Pro-de-MacBook.local
4c79808d9463d4a13074215f5aa7241b21ce661c
21ffff58b99c8f486dfe17fdb06c1759720ce1a5
/进程线程协程/协程/greenlet实现协程.py
d8cfe3ea6591f8708bd58dd4a9ae4cfaaf86bc50
[]
no_license
gupan2018/pythonLearn
cac1da4e0563b7517a86c4adcc9e1ae40cecc32c
7d12e5770ef8d01949c09d1d73fbb756e85be55d
refs/heads/master
2021-09-04T05:15:05.424323
2018-01-16T07:44:33
2018-01-16T07:44:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
# -*- coding:utf-8 -*- # __author__ = 'gupan' # 已经封装好了的协程 # 外部扩展包,需要安装gevent # greenlet是手动切换协程,gevent封装了greenlet,是自动切换协程 from greenlet import greenlet def test1(): print(1) gr2.switch() print(2) gr2.switch() def test2(): print(3) gr1.switch() print(4) # gr1.switch() gr1 = greenlet(...
[ "610077670@qq.com" ]
610077670@qq.com
b9cddbfad5e3228444afbeedddc9ae5d83693f9f
014b3d25392a37f3ee1bc64358e4f7f1d10a7841
/wormhole/net_util/network.py
7c5aa28580b5197a3e77d87acbebe09698d2cf35
[]
no_license
back1860/wormhole
a979d07dd9f1029db3ce4c1c7e935f908e3844bb
563d83514152bae05d80e9770724ab311da34049
refs/heads/master
2021-01-16T18:23:32.428799
2016-11-24T03:01:47
2016-11-24T03:01:47
68,501,614
0
2
null
null
null
null
UTF-8
Python
false
false
2,085
py
# Copyright 2014 OpenStack Foundation # 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 requ...
[ "nkapotoxin@gmail.com" ]
nkapotoxin@gmail.com
9b8d38539bf53351b41349123cee84212a38f669
1056cffd08ecfd564093280446aec800ef826274
/SinglyLinkedList_003.py
9e6caa02d514249f2a862dae8ee20c9c26449046
[]
no_license
richnakasato/dsa-katas
1398bab97a792aba17b0516358a9b0d5a91b8f02
d3a92eecba94d0b592a9f7afb9555d6df80c6816
refs/heads/master
2020-03-20T22:34:14.878821
2019-05-24T20:05:54
2019-05-24T20:05:54
137,804,893
0
0
null
null
null
null
UTF-8
Python
false
false
4,536
py
''' Practicing SLL, no timing ''' import random class SinglyLinkedList: class Node: def __init__(self, data): self.data = data self.next = None def __init__(self): self.head = None self.size = 0 def __len__(self): return self.size def __str_...
[ "richnakasato@hotmail.com" ]
richnakasato@hotmail.com
5428dc0e2b578edb5a16d02d7ae25b6db19219b2
e96576ebf91dba31d3d46e14b665f8562a0839e6
/python/Models/FiducialNJETSModel.py
c6d59a327bd5dd1ee62d8c8c52b5abf7bfe7ea32
[]
no_license
cecilecaillol/Run2HTT_Combine
9178b0e407ffb902c3650f5fd011e515dad1d1e0
56ba6593476065f505fe99d2127dc36e29da44ad
refs/heads/master
2021-06-18T01:46:37.255611
2020-12-12T11:32:02
2020-12-12T11:32:02
198,190,828
0
0
null
2019-07-22T09:27:15
2019-07-22T09:27:15
null
UTF-8
Python
false
false
1,879
py
from HiggsAnalysis.CombinedLimit.PhysicsModel import * import re class FiducialNJETS(PhysicsModel): def doParametersOfInterest(self): """Create POI and other parameters, and define the POI set.""" self.modelBuilder.doVar("mu_fid[1.0,-15.0,15.0]"); self.modelBuilder.doVar("rho_0[1.0,-25.0,25...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
c122404b06a7862e347c25ab605454d9afb2bd32
fe2ffc4d3f6ef90e4999ce2ae83e9075b2b884a8
/src/posts/views.py
241d1bdd46398b5ea98436a368ded0c3a8ff9df2
[]
no_license
Richiewong07/django_blog
a11a396f6b2e40a14f2bef7905b0d4b30383ac7e
af0ac9c5a152514554d02f1a76917276a2d60622
refs/heads/master
2021-04-12T10:36:04.758000
2018-04-08T20:19:04
2018-04-08T20:19:04
126,552,574
0
0
null
null
null
null
UTF-8
Python
false
false
4,601
py
from urllib.parse import quote_plus from django.contrib import messages from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render, get_object_or_404, redirect from django.http import Http404 from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger # Create your ...
[ "richiewong07@yahoo.com" ]
richiewong07@yahoo.com
cf9e745d9df3e4bf9fe724b6278b4caf88f24ac6
c19ca6779f247572ac46c6f95327af2374135600
/Data Structure/网易 下厨房.py
0fd1bc2e77da185af384224334a9f4a635a0d287
[]
no_license
clhchtcjj/Algorithm
aae9c90d945030707791d9a98d1312e4c07705f8
aec68ce90a9fbceaeb855efc2c83c047acbd53b5
refs/heads/master
2021-01-25T14:24:08.037204
2018-06-11T14:31:38
2018-06-11T14:31:38
123,695,313
5
0
null
null
null
null
UTF-8
Python
false
false
840
py
__author__ = 'CLH' ''' 这题说白了就是统计不同单词数 用前缀树加快搜索 注意点:python如何读取多行输入 ''' import sys class TrieNode(): def __init__(self): self.childs = {} self.word = False class Solution(): def __init__(self): self.root = TrieNode() self.size = 0 def add(self,word): node...
[ "15720622991@163.com" ]
15720622991@163.com
41622dc1b69cba2f920adb23a7976d66b58e587e
8dbb2a3e2286c97b1baa3ee54210189f8470eb4d
/kubernetes-stubs/client/models/v1_deployment_spec.pyi
97a0b3d79dfc7c85bc36d8a8180f8aa08c8d156c
[]
no_license
foodpairing/kubernetes-stubs
e4b0f687254316e6f2954bacaa69ff898a88bde4
f510dc3d350ec998787f543a280dd619449b5445
refs/heads/master
2023-08-21T21:00:54.485923
2021-08-25T03:53:07
2021-08-25T04:45:17
414,555,568
0
0
null
2021-10-07T10:26:08
2021-10-07T10:26:08
null
UTF-8
Python
false
false
1,481
pyi
import datetime import typing import kubernetes.client class V1DeploymentSpec: min_ready_seconds: typing.Optional[int] paused: typing.Optional[bool] progress_deadline_seconds: typing.Optional[int] replicas: typing.Optional[int] revision_history_limit: typing.Optional[int] selector: kubernetes....
[ "nikhil.benesch@gmail.com" ]
nikhil.benesch@gmail.com
192dbeca0043049fe6de9c445da836b22cdcd18e
f19689c0f28c218732f48e715d5ba75a4be82437
/tests/fixtures/__init__.py
bb90a2521835766318bf1330c9d04333a5a77134
[]
no_license
imclab/splicer
5c9df05196fd79f382a3627b2de45936b688479e
ffad7ee1b7fa31f434026098a1b23975d201f98e
refs/heads/master
2021-01-23T13:17:20.819110
2014-03-28T18:48:24
2014-03-28T18:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from splicer import DataSet, Query from .mock_adapter import MockAdapter from .employee_adapter import EmployeeAdapter def mock_data_set(): dataset = DataSet() dataset.add_adapter(MockAdapter()) dataset.add_adapter(EmployeeAdapter()) return dataset
[ "srobertson@codeit.com" ]
srobertson@codeit.com
9c50f8d2f87fa4254fa5b53f983be65eb46aacbe
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/FSAF_for_Pytorch/mmdetection/configs/faster_rcnn/faster_rcnn_r50_caffe_fpn_mstrain_1x_coco.py
730af54ff080129d6504489d2729823653b41013
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,068
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
99493d5276aecf80f7c044b58e43059c248a10f3
ad608959e3cbf484af70f8ec17ac4c03b00f934a
/src/object.py
69ff8584c770405de180e77a3c17909043f25171
[]
no_license
CarsonScott/Evolutionary-Logic-Learning
612a8409b90d42f7cc42f1bef3d3f964830a6d27
05a9d98a2dc5ef4e2671a683a516fc5522d71b02
refs/heads/master
2020-03-19T04:44:08.287138
2018-09-01T12:40:56
2018-09-01T12:40:56
135,860,285
1
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
from template import * class Pointer(Template): def __init__(self, index=None): super().__init__() self.assign(0, 'index') self.store('index', index) class Relation(Template): def __init__(self, inputs, function=None): super().__init__() X = [] for i in range(inputs): self.assign(i, 'input') X.app...
[ "carsonjscott14@gmail.com" ]
carsonjscott14@gmail.com
b525bc2a57d8ccd3c1af033a5b21957e30c05963
f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41
/starrez_client/models/term_session_free_item.py
136d50f684b13079684ca953728c546df1772c37
[]
no_license
CalPolyResDev/StarRezAPI
012fb8351159f96a81352d6c7bfa36cd2d7df13c
b184e1863c37ff4fcf7a05509ad8ea8ba825b367
refs/heads/master
2021-01-25T10:29:37.966602
2018-03-15T01:01:35
2018-03-15T01:01:35
123,355,501
2
1
null
null
null
null
UTF-8
Python
false
false
7,641
py
# coding: utf-8 """ StarRez API This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501 OpenAPI spec version: 1.0.0 Contact: resdev@calpoly.edu Generated by: https...
[ "fedorareis@gmail.com" ]
fedorareis@gmail.com