blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
โŒ€
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
86ba8fc95419128cfd528cfaa9ff70fe9fc398d1
459ad4abbfe97cce3cce1ce481f145febd821c52
/pruebas/prueba.py
f85bb15e28828b47b1bb0f5724594a784e355434
[]
no_license
ponkbrown/ControlMuestras
8d4b2e8b6f69778aba05ff592704bdc56c9a1e68
50a00d48fa60623ab4dbe81c08eaee9743ab68ae
refs/heads/master
2020-04-18T09:37:48.124790
2016-11-02T17:53:48
2016-11-02T17:53:48
67,835,956
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from datetime import datetime app = Flask(__name__) app.config.from_pyfile('config.cfg') db = SQLAlchemy(app) migrate = Migrate(app, db) manager = Manager(app) manager.ad...
[ "pon.felipon@gmail.com" ]
pon.felipon@gmail.com
87aec57c3bce8d6be30c4ed4fb9ed534cd53fa3f
95b633e36aeca6400a0e4c61082243b5b5fd377a
/UVM/UcodeVirtualMachine.py
777d25a3e6b179ecf80c9c0d6f38fa51a6143da8
[]
no_license
DsLiner/Muthon
7ec45e3912b28aeda946ed492b134f9db2a02d49
44982bc0ac14f2652a9c642b2133c07e5be49704
refs/heads/master
2021-01-19T08:20:51.217003
2015-06-04T07:33:58
2015-06-04T07:33:58
35,535,220
0
0
null
null
null
null
UTF-8
Python
false
false
14,106
py
import sys # sys๋Š” Python์˜ ๊ธฐ๋ณธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋กœ์จ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ์ถœ๋ ฅ๊ณผ ํ”„๋กœ๊ทธ๋žจ ๊ฐ•์ œ ์ข…๋ฃŒ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•œ๋‹ค. def func(operator): # ํ•จ์ˆ˜๊ฐ€ ํ˜ธ์ถœ๋˜๋ฉด countline์„ 1 ์ฆ๊ฐ€์‹œํ‚จ ํ›„ ๊ฐ๊ฐ์˜ ๋ช…๋ น์–ด์— ๋”ฐ๋ผ ํ•˜์œ„ํ•จ์ˆ˜๋ฅผ ํ˜ธ์ถœํ•˜๋Š” ํ•จ์ˆ˜์ด๋‹ค. # ํ•˜์œ„ํ•จ์ˆ˜์— ํ• ๋‹น๋˜์ง€ ์•Š๋Š” ๋ช…๋ น์–ด๊ฐ€ ์ „๋‹ฌ๋˜๋ฉด ์—๋Ÿฌ๋ฉ”์‹œ์ง€๋ฅผ ์ถœ๋ ฅํ•˜๊ณ  ํ”„๋กœ๊ทธ๋žจ์„ ์ข…๋ฃŒ์‹œํ‚จ๋‹ค. global countline countline += 1 if(operator=='notop' or operator=='neg' or operator=='inc' or opera...
[ "rgdkdlel4@naver.com" ]
rgdkdlel4@naver.com
f7fff0ac356294d06420d93470eddbf0fdae1747
b78721fca486f8cc5e486c50c98218fef5453215
/ders_06_fonksiyonlar_01/parametresiz_fonk_01.py
5292c7d4f57255af1049abf9f13b1abf4b2b4317
[]
no_license
lakadirgeldi57/Bilgisayar-Bilimi-Python-Dersleri
bc8a37fc2a15d3bec2538a2c999434d53876b9bd
253e2c1498ff86d9a3c13cc3d2bdc74278c41938
refs/heads/master
2020-03-12T00:58:00.020432
2018-04-02T08:48:32
2018-04-02T08:48:32
130,363,017
0
0
null
2018-04-20T13:04:19
2018-04-20T13:04:18
null
UTF-8
Python
false
false
109
py
from random import random random() print(random()*10) #random(20) #random fonksiyonu parametresiz รงalฤฑลŸฤฑr
[ "sinan.urun@deu.edu.tr" ]
sinan.urun@deu.edu.tr
f35f28d00f30430c9bed83d19a5e8c63c8ceee27
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/ltl_maxplus/f3/maxplus_20_96.py
2290b13126da73730e698908abfb46342a0f1f39
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,733
py
from collections import Iterable from mathsat import msat_term, msat_env from mathsat import msat_make_true, msat_make_false from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_rational_type from mathsat import msat_make_and as _msat_make_and from mathsat import msat_make_or as _...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
3b5669ac19a33149c9aef6a379186d4248cb43f8
52ecc81aba92258924ff6bbe62e536e1ad85ff03
/PycharmProjects/vectorengine/bitmap.py
f0c69f8575517ee68ab60d284c5d943d10df3a82
[]
no_license
mdurrer/cgd
df02709a9b5db7d3696f82c521405f1ada67febf
bbbb2960e2c47531b464f888146d758ca96c5b64
refs/heads/master
2020-05-21T12:28:54.901920
2018-07-25T20:06:48
2018-07-25T20:06:48
52,598,365
3
0
null
null
null
null
UTF-8
Python
false
false
813
py
from math import * import numpy as np from PIL import Image import pygame class Bitmap(object): width, height = float(),float() display = np.array([],dtype=int) def __init__(self,*args): if len(args) == 2: self.width, self.height = args[0],args[1] self.display = np.zeros([self.width * self.height * 4],dtype=...
[ "michael.durrer@gmail.com" ]
michael.durrer@gmail.com
66ac69444af96292fe89f309a622ef61b2c63833
f457ecb93c91f96059350ec64383a1fbb9a6417c
/schemas/books_bookshelf.py
c860bd7fc182bb7cf71a7f52546fa4334b23f684
[]
no_license
dnyanesw/books
9e584b4fbb21799520daf5417fc35ff01bf78d5d
197341172e5d19b34d393cbd0b20216574f86530
refs/heads/main
2023-03-20T10:56:58.474600
2021-03-07T07:40:29
2021-03-07T07:40:29
345,286,478
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from marshmallow import EXCLUDE from ma import ma from models.books_bookshelf import BooksBookshelfModel class BooksBookshelfSchema(ma.ModelSchema): class Meta: model = BooksBookshelfModel unknown = EXCLUDE # load_only = () dump_only = ("id",)
[ "dnyaneshwar@codetoart.com" ]
dnyaneshwar@codetoart.com
81f1ee606e408c441bc1c59a07d1d94e05668900
b91238f53c6b0edbe3f5681371ca0ee070a9a08d
/into_vector.py
8ba9cd5d3902bc2ff3481cb6b951d4c4c2e598eb
[]
no_license
xymeng16/iShoot
bdb727753900937066ddc2fb73bcd85a9c40a436
7d5366c5e2cb3be50c74f2b261fdffa1989ff360
refs/heads/master
2021-06-15T06:29:22.760642
2017-04-05T03:45:02
2017-04-05T03:45:02
86,308,143
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import socket import scipy.interpolate as si names = ['mxy', 'xr', 'cxt'] # Convert them into decimals for name in names: with open('data_' + name + '.txt', 'r') as f: data = f.readlines() newdata = [] for s in data: s = s.replace(' ', '') d = [] i = 0 while i < 32: ...
[ "xiangyimeng@yiyangdeMacBook-Air.local" ]
xiangyimeng@yiyangdeMacBook-Air.local
cad997612d761da87ba0e6501403073650558f32
c02342fbafa75a4cc071bd8231e6eca8f2f82cf5
/projet_cpp/exo/migrations/0018_auto_20210602_1014.py
c66d601fd89fea5da7e5b415a3622133f864df91
[]
no_license
mike38/cpp_projet_django
3d5f4afc640d8a5c49820aa00b6f12ba4342004d
29a5fc9da0b7fe75ba090987625b1c9f61d726fa
refs/heads/master
2023-05-23T22:48:08.603631
2021-06-14T15:29:00
2021-06-14T15:29:00
365,338,447
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
# Generated by Django 3.2 on 2021-06-02 08:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('exo', '0017_auto_20210601_1431'), ] operations = [ migrations.RemoveField( model_name='exercice', name='numero', ...
[ "milena.sof@aol.fr" ]
milena.sof@aol.fr
708846c36b7351b1b042ff715eed8161160cd724
21094a5d08fe827df68e1e94945e4117553846e6
/lib/dump_utils.py
dd15162a3d238fee54de262681ea36bf3f831357
[ "Apache-2.0" ]
permissive
rahulmaheshwari02/openbmc-test-automation
3b9155afb154e195ff3c0d93123c096e713cc19b
e992020a94e0b1783f95ff167dfc48e82c517831
refs/heads/master
2020-03-15T10:03:10.671841
2018-05-11T08:51:25
2018-05-11T08:51:25
132,090,666
0
0
null
2018-05-04T05:16:40
2018-05-04T05:16:39
null
UTF-8
Python
false
false
4,895
py
#!/usr/bin/env python r""" This file contains functions which are useful for processing BMC dumps. """ import gen_print as gp import gen_misc as gm import gen_robot_keyword as grk import bmc_ssh_utils as bsu import var_funcs as vf import os from robot.libraries.BuiltIn import BuiltIn import sys import os import imp b...
[ "gkeishin@in.ibm.com" ]
gkeishin@in.ibm.com
3b569985a256eef0e2c3ff7966b693b11769af64
cbadab635cfc1af97f565907df4b069ea99ae4ab
/src/dataloader.py
cc7b53de302493f3ce4fc624fab77ed2ff755166
[]
no_license
Aditya-Jha2002/SIM-CoV-19
f1ca4de805bd50f32c51bc462c4948262ac126d6
b81f84aa4e32703b33c537e446f1aefb20accdb8
refs/heads/main
2023-07-17T13:39:58.301493
2021-08-21T17:34:35
2021-08-21T17:34:35
398,615,998
1
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
import dataset import augmentations from torch.utils.data import DataLoader import config def prepare_dataloader(df, trn_idx, val_idx, data_root='../input/siim-isic-melanoma-classification/jpeg/train/'): train_ = df.loc[trn_idx,:].reset_index(drop=True) valid_ = df.loc[val_idx,:].reset_index(drop=True) tr...
[ "4adityajha@gmail.com" ]
4adityajha@gmail.com
a804948dd094ebb230aa3f25150d8046050dd563
9dbd147bcb901007e7d85fe18839fa4b687f66c3
/venv/Scripts/easy_install-3.7-script.py
94bfcfbb69ae9990df76188fb35350335a29150d
[]
no_license
leooliveira4152/Web-Scraper-vivareal.com.br
fe749627d0dcbbdeab01148e459207901f406663
4ccf0ab4d85f570500089a54bf067797a81658f5
refs/heads/master
2022-11-15T10:37:31.478187
2020-07-09T03:14:47
2020-07-09T03:14:47
278,204,541
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
#!C:\Users\Leozao\Documents\python02072020\webscrap2\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(...
[ "leonardo.oliveira.borges@usp.br" ]
leonardo.oliveira.borges@usp.br
03ed876b04ef3a4bb4b87015093878c4606d1aa4
6426b806dffb3fa4916d3580600aa28a0a3a6be0
/cplex/exceptions/errors.py
78fc558ad231dbda0f25aa40e9fe2d9ef353528d
[]
no_license
michaeljboyle/clerkship-shuffle-client
bcc8328917e4968800e8eb5b0f64db8a37cd022a
02c4f448fd83bd17cd192c3b465407ae01a49b24
refs/heads/master
2021-09-02T19:28:54.440736
2018-01-03T19:36:49
2018-01-03T19:36:49
116,174,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
# ------------------------------------------------------------------------ # File: errors.py # ------------------------------------------------------------------------ # Licensed Materials - Property of IBM # 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21 # Copyright IBM Corporation 2008, 2015. All Righ...
[ "michael.jarvis.boyle@gmail.com" ]
michael.jarvis.boyle@gmail.com
b76ff91f6f8b759a8badf1e850fa18b4717619a1
7d122748fb075ffe16e82e3616cf5e5b60dee5bb
/custom/plm_date_bom-11.0.1.1/plm_date_bom/extended_class/mrp_bom_extension.py
ca28d1564b38428586c80c1d1071c319df543794
[]
no_license
kulius/odoo11_uw
95cd3b9cfdb18676e61d3565901f8ded0ee537d3
a6f950a4c05c90ac5f53c1602ac2cda33faf41ee
refs/heads/master
2021-08-07T07:53:15.585825
2018-07-23T03:33:20
2018-07-23T03:33:20
131,130,935
1
4
null
null
null
null
UTF-8
Python
false
false
7,842
py
# -*- encoding: utf-8 -*- ############################################################################## # # OmniaSolutions, Your own solutions # Copyright (C) 2010 OmniaSolutions (<http://omniasolutions.eu>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modif...
[ "kulius@gmail.com" ]
kulius@gmail.com
b406e80149521103532381d0ae26b036733a82c3
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/unfett.py
08fb69846efbb7ebacd195fa5a2e1e3f7091d4d0
[]
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
314
py
ii = [('CookGHP3.py', 1), ('MarrFDI.py', 1), ('WilbRLW4.py', 1), ('CookGHP.py', 1), ('WilkJMC3.py', 1), ('AubePRP.py', 1), ('ChalTPW2.py', 3), ('ClarGE2.py', 1), ('GilmCRS.py', 2), ('DibdTRL2.py', 1), ('WadeJEB.py', 1), ('NewmJLP.py', 2), ('BabbCRD.py', 1), ('ClarGE3.py', 1), ('ChalTPW.py', 1), ('KeigTSS.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
d1f879dc171d5aa5d3cde59a5794ef486d2e3c8a
bdac46166cee77fcbdde8a7b71f1cbc7034bd6d8
/arcade/commonCharacterCount.py
dce1f0eef82c5f51e30d63e1576d6878c27045ae
[]
no_license
CCecilia/codeFights
a71535d5c7196edfacd8739d0cafa6a26c3959e5
3d11c8faa895cfbd9bc58db5b43b50d174c2eb75
refs/heads/master
2021-05-09T05:09:38.698479
2018-03-10T15:31:22
2018-03-10T15:31:22
119,300,973
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
strings = [ ["aabcc", "adcaa"], ["abca", "xyzbac"], ["assssbs", "aasaaaa"], ["zzzzzz", "zzz"], ["abcdefghxyzttw", "hgfedcbaabcwwt"] #<-- the list failing with one iteration ] def commonCharacterCount(s1, s2): s1, s2 = sorted(list(s1)), sorted(list(s2)) matchs=[i for i in s1 if i in s2] # matches = [] # def...
[ "christian.cecilia1@gmail.com" ]
christian.cecilia1@gmail.com
da72ca7d432a8f22704b81aa9171bb201491472f
df8885ccf435988eb98ebf29f523c9b3beea9e7f
/hw lab3 /ex10.py
b8151aafb8544b64148bb5db4775b37296af517d
[]
no_license
longtranthanh19/TranThanhLong-Fundamental_c4e24
e7137ba2d1a3b6b31db4d856cca466f87e64d935
3f1c0681f2100dd7f5f1111f24d31bec76566625
refs/heads/master
2020-04-09T19:20:03.875844
2019-01-14T17:38:32
2019-01-14T17:38:32
160,540,845
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from ex9 import get_even_list even_list = get_even_list([1, 2, 5, 9, -10, 6]) if set(even_list) == set([2, -10, 6]): print("Your function is correct") else: print("Ooops, bugs detected")
[ "longtranthanh6@gmail.com" ]
longtranthanh6@gmail.com
2a6fae43e608114ff138bd9b5e27bd48c9b2dfc3
edc64d5b4fea5a766061bde26d0b8d23967c238c
/star.py
e10365606ccc7a706dd944d0a288c29ab283c526
[ "MIT" ]
permissive
christiankuhl/turtle_examples
34915c16be9ad8066cd9b60fd58d53ddcd7e03a3
2ae9e9ba9cf2db6c1a73d1ef9f54104ea71673a4
refs/heads/master
2020-03-15T20:02:47.787951
2019-09-28T09:06:57
2019-09-28T09:06:57
132,323,710
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
from turtle import * i = 0 while True: i += 1 forward(i * 10) right(144) if abs(pos()) > 400: break exitonclick()
[ "christian.kuhl84@gmail.com" ]
christian.kuhl84@gmail.com
4edaf5d8f47ab64a58e79cf1dbe0c52aac27e3d1
559676b1137793195d4d4d17d50982fcdca080f5
/Queue.py
3a237002d47673aeeedd27a7899dc42b2ad46dec
[]
no_license
samyak1903/DataStructures
dcb17ea1c3acfde4d76e6dcda955d05cb893e94a
c65e9eac173f2e9952cfe807cb78eccde8667309
refs/heads/master
2020-03-26T04:13:53.456056
2018-08-12T19:25:26
2018-08-12T19:25:26
144,493,811
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
class Queue: def __init__(self, head=None): self.storage = [head] def enqueue(self, new_element): self.storage.append(new_element) def peek(self): return self.storage[0] def dequeue(self): return self.storage.pop(0) # Setup q = Queue(1) q.enqueue(2) q.enqueue(3) # T...
[ "samyakjain1903@gmail.com" ]
samyakjain1903@gmail.com
bbc3679c8a665a62d7903233809539ee799f29f1
7bc9ba2b8edf97b7bbacd28e26276b6c967d0f42
/task-library/commvault/CommvaultBackupGetVMGroups.py
2a0ab2a4c33364e1149dd6f9efb3f5f5d127ed98
[ "MIT" ]
permissive
nutanix/blueprints
99318a31ddce360cdf7a3b108951ba37dad91a7b
68c822ad9fd2624f2730371816cee4d14fdd8302
refs/heads/master
2023-06-23T01:42:40.136161
2022-04-25T07:12:40
2022-04-25T07:12:40
142,585,120
73
104
MIT
2023-06-18T03:48:44
2018-07-27T14:08:58
Python
UTF-8
Python
false
false
1,983
py
# region headers # escript-template v20190605 / stephane.bourdeaud@nutanix.com # * author: jose.gomez@nutanix.com # * version: 20211207 # task_type: Application Profile Escript variable # task_name: CV_VM_GROUP # description: List the Commvault VM Groups available # endregion #region capture Calm variabl...
[ "pipoe2h@gmail.com" ]
pipoe2h@gmail.com
bc6317ffce733d59f4cb9a2013922e8ab494fce7
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/battle/BattleBase.py
4534121d532aca205c36f1cedce7650e1355db65
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
13,125
py
from pandac.PandaModules import * from toontown.toonbase.ToontownBattleGlobals import * from direct.task.Timer import * import math from direct.directnotify import DirectNotifyGlobal from toontown.toon import NPCToons from toontown.toonbase import TTLocalizer # locations of the various types of data within the toonAt...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
3a31b85055e633c9066d1d3cd40ec04e0bec2390
1cc90ca2a9c8f0db4809cd37b6012f9f7d2bf462
/Grupo 2/items/item.py
da9b0d371aa4fca175bf5d5377ecd503fe481fff
[]
no_license
andrew3690/Projetos_finais
47af8be660d93a577e932bfb7f546abed384b3fd
b5c60e22aa10dbd855dd163f93df8083f47c60c7
refs/heads/main
2023-03-28T14:05:51.448136
2021-03-26T13:25:38
2021-03-26T13:25:38
351,776,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
import pygame as pg import pytweening as tween from main.settings import * class Item(pg.sprite.Sprite): def __init__(self, game, pos, type): self.groups = game.all_sprites, game.items pg.sprite.Sprite.__init__(self, self.groups) self.game = game self.type = type self.image...
[ "videopineaplle16@gmail.com" ]
videopineaplle16@gmail.com
9c7c857eaf07c1fbcec47059ec097c9e9b7b216f
42abee3a3d4c4c082a620dba2c1178bbcb642279
/vulnTool/server/crack_ftp.py
6e6555b9cc7e4f445dd57e6700d4d9d9bb73062c
[]
no_license
baymax0day/BM0D
2eed226d198058fec3767ad80bbf43d3b2c7c2ea
9e9234001af1681dceefd76e97791f751182763e
refs/heads/master
2020-03-19T08:18:56.099063
2018-09-21T07:19:00
2018-09-21T07:19:00
136,194,115
0
1
null
null
null
null
UTF-8
Python
false
false
1,069
py
# coding:utf-8 import ftplib import Config def get_plugin_info(): plugin_info = { "name": "FTPๅผฑๅฃไปค", "info": "ๅฏผ่‡ดๆ•ๆ„Ÿไฟกๆฏๆณ„้œฒ๏ผŒไธฅ้‡ๆƒ…ๅ†ตๅฏๅฏผ่‡ดๆœๅŠกๅ™จ่ขซๅ…ฅไพตๆŽงๅˆถใ€‚", "exp_url": "", "docker": "", "other": "" } return plugin_info def check(ip, port, timeout): user_list = ['ftp', 'www', 'ad...
[ "919270685@qq.com" ]
919270685@qq.com
8c1718a7baedea27a88423e1df86acd53efcd869
e43f5a51c7a90865d035af83cddb699f0b5d5f08
/todo/models.py
0d57216274e44277b5ea23a1f5d71f20d38bf908
[]
no_license
tokiii888/TODOmap
b64f4f2d10afc6042e475147e4858f2b60d8bd34
2d1af7f108decdcdc01c4a18a7e98687d5cb0fc0
refs/heads/main
2023-07-13T00:52:23.634754
2021-08-25T03:25:42
2021-08-25T03:25:42
391,785,723
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from django.db import models from django.utils import timezone # Create your models here. class Todo(models.Model): todo = models.CharField('ToDo', max_length=100, blank=False) created_at = models.DateTimeField('ไฝœๆˆๆ—ฅๆ™‚', auto_now_add=True) updated_at = models.DateTimeField('ๆ›ดๆ–ฐๆ—ฅๆ™‚',auto_now=True) adress = models.C...
[ "takaya.4208@gmail.com" ]
takaya.4208@gmail.com
a382348e44a0c36920220383ed5f6523001ac470
e5b69cdf76f24546d9c0393fee1a5f54eda8f85d
/434. ๅญ—็ฌฆไธฒไธญ็š„ๅ•่ฏๆ•ฐ.py
c13e19d761855c05c5f7206c2a17e9dc737b0d01
[]
no_license
jixn-hu/LeetCode
99e51e6edb03d2422a298d920c7cb727a17a85f3
d112cb6fc9ccd9f792c6c01c99f738e3f9d790c7
refs/heads/master
2020-09-04T09:40:00.691987
2019-11-28T00:35:07
2019-11-28T00:35:07
219,704,128
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : 434. ๅญ—็ฌฆไธฒไธญ็š„ๅ•่ฏๆ•ฐ.py @Time : 2019/11/25 09:05:01 @Author : ๅ‰็ฅฅ้ธŸ @GitHub : https://github.com/jixn-hu @CSDN : https://me.csdn.net/qq_37462361 ''' class Solution(object): def countSegments(self, s): """ :type s: str ...
[ "15755656557@139.com" ]
15755656557@139.com
b5bb9082f76f100e4288ea6b3120fe40775a473f
d0ef74016117896fdb37618342b5832d81e81658
/s_help_18_11_2020.py
8e7de124f64a562111a8708f138762a4526211a2
[]
no_license
andrew-kudrenko/university-labs
d4113d77216b6c9ddfead71189a021ca22050f57
169a7b0cb9977960bd53c841df0dc2b27e9730d6
refs/heads/main
2023-02-21T07:32:44.980190
2021-01-25T13:40:46
2021-01-25T13:40:46
305,203,421
2
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
from random import randint def print_matrix(matrix, padding=5): for row in matrix: print(' '.join(list(map(lambda col: f'| {col}'.ljust(padding), row))), '|\n') def invert_tuple(pair): return pair[1], pair[0] def create_with_random(rows, cols, top, bottom=0): return [[randint(bottom, top) for ...
[ "andrewkudrenko19@gmail.com" ]
andrewkudrenko19@gmail.com
a4e24ce76fe12c9a38473aac42134f47dbff15d6
77b285a9f85a0b13d45c0822c8ed399732a4851c
/named.py
1f97f88f8f79e16d24afbe2218fc1d4223a757ca
[]
no_license
kushgarg/CQA
00862d132e77f760dafe188fc410683d7e41734f
5e51bced98a5da5bca9420fb85bc625b26fdd8e6
refs/heads/master
2021-05-03T16:36:00.068045
2018-05-24T12:41:01
2018-05-24T12:41:01
120,435,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,723
py
''' import nltk from nltk.tokenize import sent_tokenize,word_tokenize from nltk import ne_chunk,pos_tag text = "where can a person find massage oil in Qatar" sents = sent_tokenize(text) print(sents) words = word_tokenize(text) print(words) print(nltk.pos_tag(words)) def ent(text): return ne_chunk(pos_tag(word...
[ "gargkush97@gmail.com" ]
gargkush97@gmail.com
e9a5fffd0abaf42add35a423cbf7dc69f22372b8
81c412dd10192b35e40bfb30781818a8c4d23c73
/Testing code/method1_testing.py
bfeb66e9462eb9fbfc5d8c57840ef93e838a68c8
[]
no_license
Deepanshu-Rohilla/Profile-Cloning
50dfdc772bd91b06ef01364c0975706eb47ec58b
935d796b7f4d5e71c6812f2f5a5514a5051a8e42
refs/heads/main
2023-08-06T10:29:19.579044
2021-09-27T11:12:29
2021-09-27T11:12:29
410,756,701
1
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
import numpy as np import cv2 as cv import matplotlib.pyplot as plt goodArray = [] goodArrayName = [] for i in range(101,151): img1 = cv.imread('image5.jpg',cv.IMREAD_GRAYSCALE) # queryImage img2 = cv.imread('trump/donald trump speech' + str(i) + '.jpg',cv.IMREAD_GRAYSCALE) # trainImage # Initiate...
[ "noreply@github.com" ]
Deepanshu-Rohilla.noreply@github.com
a917b534a35cd0562c3df78398f0284e51011e1d
e1e01cec9ec9f89a7e4598ffda8b5282f076ba65
/ci/trade/forms.py
42949a740242c34d4a8ae127777190f19fb36d9b
[ "BSD-3-Clause" ]
permissive
muchu1983/CollectiveIntelligence
bf7e2ba0cb6fa94f74037de4400e46d64fc2ec1b
9484a59257f277edf53124fbc256d4b570a3caef
refs/heads/master
2021-03-30T15:49:58.898808
2017-06-17T05:49:51
2017-06-17T05:49:51
75,293,824
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
# -*- coding: utf-8 -*- """ Copyright ยฉ 2017, MuChu Hsu Contributed by Muchu Hsu (muchu1983@gmail.com) This file is part of BSD license <https://opensource.org/licenses/BSD-3-Clause> """ from django import forms from trade.models import CIDeal class CIDealForm(forms.ModelForm): class Meta: model = CI...
[ "muchu1983@gmail.com" ]
muchu1983@gmail.com
2a377b47e1cfda871f1ebe6be7876b0ba4f6c8bc
4ea65d6cef87d7ba0be30ca158ff466c1d7ad982
/journal/migrations/0001_initial.py
92a16217772e44ec00b801eef417ea57bb334532
[]
no_license
jstutul/SkillShare
a5d60d881c6a1efc23dd5d28604f3547aea11df1
58337797670ea89b77ae5670ff04d2d3ee9d817f
refs/heads/main
2023-02-27T05:37:59.606350
2021-02-06T18:08:31
2021-02-06T18:08:31
336,578,221
0
0
null
null
null
null
UTF-8
Python
false
false
5,069
py
# Generated by Django 2.2.7 on 2020-10-10 17:54 import ckeditor.fields from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.db.models.expressions class Migration(migrations.Migration): initial = True dependenc...
[ "jstutul30@gmail.com" ]
jstutul30@gmail.com
5d6674c9d9b55f85f31a47f78efa980e0b479f40
7acde9cef819cce0cec1555198659d7ced82a825
/bookmarks/upload/migrations/0016_auto_20180212_1936.py
125b9e27c91f67583facd52a99fa9df515b0ce8e
[]
no_license
HrishabhPatidar/social_media
173728ea48828f440209a01a04a9bfcd919ccad8
a35bd24e6fb97ffba6615b53955909fda2002106
refs/heads/master
2021-04-30T13:22:22.787184
2018-02-13T07:00:31
2018-02-13T07:00:31
121,270,743
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-02-12 14:06 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('upload', '0015_auto_20180212_1913'), ] operations = [ migrations.RenameField( ...
[ "Hrishabhpatidar1996@gmail.com" ]
Hrishabhpatidar1996@gmail.com
977099e4b75afaf7c706622730bbdff11e76377f
abf658f131820318f5050d9c94354f1a8441a8d8
/node_modules/lite-server/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build/config.gypi
ba8912dac521411fa26caa48513e71cad4353c49
[ "MIT", "Apache-2.0" ]
permissive
elinberg/ng-bigbang
f3db2955bf5cf0beb25ce89537f58c9252e65be7
3717897734c38c788b56fba440438298bc992081
refs/heads/master
2016-08-11T08:01:55.603421
2016-02-17T18:22:52
2016-02-17T18:22:52
51,338,990
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "elinberg@gmail.com" ]
elinberg@gmail.com
43f6d2d801da308ff2729ae7c0158a05aacc9e83
85a758eb440e748add42fd90ae6097d7b200e140
/nsl/go/zobrist.py
4767fab59cdbf5845e47e466a50e6b93de8b9d5f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
newskylabs/nslgo
af9b435fb897866049dd646137d9c9598ed5abcc
c5570b31fbd3febd4e9f75bdeba5b12d62d185d8
refs/heads/master
2020-05-02T16:25:32.354595
2019-05-02T21:47:52
2019-05-02T21:47:52
178,067,840
0
0
null
null
null
null
UTF-8
Python
false
false
45,872
py
## ========================================================= ## Zobrist hashes ## ## Generated by: nslgo-generate-zobrist-hashes ## --------------------------------------------------------- from .gotypes import Player, Point __all__ = ['HASH_CODE', 'EMPTY_BOARD'] HASH_CODE = { (Point(row=1, col=1), Player.black...
[ "dietrich@newskylabs.net" ]
dietrich@newskylabs.net
0e54f7d1ce214b2fe8c043dc4efb07f27d95e515
10add8bfad580bcddd3ea2b41b9daee82ea93a76
/blog/migrations/0001_initial.py
f05cef098946a930cdb74bd191d83f17b54570df
[]
no_license
Momentum-Team-8/django-girls-tutorial-andreavaughan
9e22e11bd7e3f05dd54ed73053737337067d8760
c6c902ae433492d270428a0306d8b102a2edb9de
refs/heads/main
2023-07-09T10:20:05.614524
2021-08-11T00:12:40
2021-08-11T00:12:40
394,692,569
0
0
null
2021-08-10T14:52:27
2021-08-10T14:52:20
null
UTF-8
Python
false
false
989
py
# Generated by Django 3.2.6 on 2021-08-10 19:22 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "amvaughan16@gmail.com" ]
amvaughan16@gmail.com
b4f78453af3b1a3e95b22aeb200a24a13574df3d
6cebcc68244ef39013e9f7793a320cf324da6d3f
/vendor/bundle/ruby/3.1.0/gems/pygments.rb-2.2.0/vendor/pygments-main/pygments/lexers/rust.py
3a162b0009b30952e0b27d80a1bd37a39e83cffe
[ "MIT" ]
permissive
AhmedBadary/AhmedBadary.github.io
03816fa6deb2003c121a802ffbca290dc265e8d3
8b4cc2286fd998405c39fe163aa40cafdcc0228c
refs/heads/master
2023-07-12T22:14:26.389966
2023-07-03T13:40:10
2023-07-03T13:40:10
94,153,150
0
0
MIT
2023-04-12T06:08:44
2017-06-13T00:42:25
HTML
UTF-8
Python
false
false
8,211
py
""" pygments.lexers.rust ~~~~~~~~~~~~~~~~~~~~ Lexers for the Rust language. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.lexer import RegexLexer, include, bygroups, words, default from pygments.token import Text, Comm...
[ "badary.ahmad@gmail.com" ]
badary.ahmad@gmail.com
44e7dea39aac459fdf95bbe331d4cec4b032daae
3a68fbf63df147d4e59ae7a89390c6a4cbf5d0da
/python3-virtualenv/lib/python3.6/site-packages/sqlalchemy/sql/elements.py
709106b6b9ba7073745e3d4a16244de64506ffa2
[ "MIT" ]
permissive
131noman/mlh-holiday-plan
af35e21419153245f141e981ef96041e5a950866
d8ebc30ca520807414a950a28c375bbc90a6882b
refs/heads/main
2023-07-02T15:49:32.192529
2021-08-04T23:11:03
2021-08-04T23:11:03
392,860,064
0
0
MIT
2021-08-05T00:40:30
2021-08-05T00:40:30
null
UTF-8
Python
false
false
170,561
py
# sql/elements.py # Copyright (C) 2005-2021 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Core SQL expression elements, including :class:`_expression.ClauseElement`, :clas...
[ "changyou1009@gmail.com" ]
changyou1009@gmail.com
2ffa97dd0cdc7445f2d8b22a44b850c4c88178f4
c8ed3e3997475ffb27c82ee5902def1b7b6753d0
/src/mdscripts/insertprotein.py
012bb07cc6c6db5f117ba6f5578effb0c4a616b2
[ "BSD-3-Clause" ]
permissive
awacha/mdscripts
b6174c0791ad50bfae1abacdae1f5865560bb889
831bda06557fa2d5f0899fc2f6552c9e49146cef
refs/heads/master
2020-03-22T10:05:49.910710
2019-09-27T07:30:52
2019-09-27T07:30:52
74,377,374
0
0
null
null
null
null
UTF-8
Python
false
false
7,762
py
#!/usr/bin/env python import argparse import os import re import subprocess import sys def get_areaperlipid(areafile): with open(areafile, 'rt', encoding='utf-8') as f: total, upperleaflet, lowerleaflet = f.readline().split() return float(total), float(upperleaflet), float(lowerleaflet) def shrink(...
[ "awacha@gmail.com" ]
awacha@gmail.com
84133e66720d8d9a971ef94d306c2dfa51e72967
2d858bd5ba57b923aca5ef50dd20298d08c77d23
/temperature_lch.py
6bf84a0afe7205d24a430935e7b0784cdb9aad29
[]
no_license
oliveruhlar/ping_graphs_postman
c27106705dc1594b8413818266545a976498b9b9
e590342960bb138a31cc2a2b94c1a6d26e0f42a7
refs/heads/master
2023-02-02T16:13:42.730430
2020-12-21T09:29:43
2020-12-21T09:29:43
319,946,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
import numpy as np import plotly.graph_objects as go import plotly import yaml def yaml_loader(filepath): """Loads a yaml file""" with open(filepath, "r") as file_descriptor: data = yaml.safe_load(file_descriptor) return data yaml_data = yaml_loader('bb_temp.yml') x_data = ['January','February','...
[ "oliver.uhlar@pantheon.tech" ]
oliver.uhlar@pantheon.tech
2d84981defdffa31bab43937d8c437d0f446791f
cb4d5f3b8e4bd0a35acd3b61152f78ed7098ddb6
/baby/urls.py
127336d28e6864648102c2c9db0effde63b74ca7
[]
no_license
apatten001/Shower
8b3c5a94d11c2299774c6839a956e59e30e6b8cc
b4fe99ffbe992f6b01c5b86d9331771a0554cb11
refs/heads/master
2021-04-07T02:35:51.035339
2018-03-15T21:44:36
2018-03-15T21:44:36
125,427,382
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
"""baby URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "apatten001@yahoo.com" ]
apatten001@yahoo.com
32dbecdbebe824caec2ee7841be4d5b23928a328
05912c3db2a0e39279505c02f7129e5bcd24f7d0
/flask-app/app.py
f5c65fd45d5b4ba304f52fc6777821911cd1a299
[]
no_license
Hack-Brown2021/rorschach-friending
68a3aa8c43edc246ed2295ab0f5f9f1f233eb20b
9a33223a4bf91e2562483072cbed9f333b95b2a6
refs/heads/master
2023-07-05T07:58:45.852376
2021-08-19T21:23:35
2021-08-19T21:23:35
332,039,224
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
from flask import Flask, render_template, request, redirect, url_for, session import numpy as np import w2v import data app = Flask(__name__) app.secret_key =b'g#f8spIoiycau[pZ:SL' responses = {}; @app.route('/', methods=["POST", "GET"]) def index(): if request.method == "POST": for idx in range(w2v.NUM_...
[ "noreply@github.com" ]
Hack-Brown2021.noreply@github.com
d4fca2e085a4e154869d56a349bc5af7e1569408
89baae8446058753cc12baf6ae6d8b598382f113
/calculate.py
0918160831dd1ef13f4d86045e0d81a86a59a487
[ "MIT" ]
permissive
weimingyue/area-calculator
3df954dc0eef5db9afca21642060139be10c1fb8
9651151bc7df757cb85eb9cbf732a669a96cbd59
refs/heads/master
2021-09-21T14:22:32.281798
2018-08-27T09:34:49
2018-08-27T09:34:49
272,177,372
1
0
MIT
2020-06-14T10:16:19
2020-06-14T10:16:19
null
UTF-8
Python
false
false
2,865
py
"""Module to calculate.""" from pyproj import Proj import json from shapely.geometry import shape from shapely.geometry import LineString from shapely.geometry import Point class Calculate(): """Class to calculate.""" @staticmethod def area(pointsOfArea, ellps='WGS84'): """Method to calculate ar...
[ "kontokamilsiwek@gmail.com" ]
kontokamilsiwek@gmail.com
83925900aa0fdeb431cc60303eebcca1bc19924a
fe503c07e15634e95e333fefb9c15bc4d314d30a
/NewsReleases/views.py
950d6692415bf8b477e361f61e683f2bca84736b
[]
no_license
jduclos1/NewsNetParser
85238dbb6a713379afc249c87068e22b5dcb733b
52e9c79c3dfbb01710a5ebff72394bfd41967cb0
refs/heads/main
2023-07-21T03:59:21.880233
2021-08-27T18:03:51
2021-08-27T18:03:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
from django.template import loader import requests from .models import NewsReleases from django.http import HttpResponse def index(request): # Create an instance of the NewsNet Parser news_release_parser = NewsReleases() # Fetch the articles - Returns all tokens, titles, dates, ward number '0' news_r...
[ "capone1978@msn.com" ]
capone1978@msn.com
a07a2f9d2967c014e58233fe59a58ca4e71b682c
52595ffceed0000df18cd0d571bb3883c3929523
/q1_sum_series1.py
9b0f0226ceb538cc3db02745eea123977ae72aa8
[]
no_license
lindameh/cpy5p4
552c1596a183588617ac7a52ddeda4fddcd5b07d
bb4155658771e99f77cbb16f54a68e18eba881de
refs/heads/master
2021-01-10T08:09:48.315253
2016-02-10T09:50:29
2016-02-10T09:50:29
51,432,404
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
def sum_series1(n): if n==1: return 1 else: return sum_series1(n-1) + 1 / n n = int(input("Enter a positive integer: ")) print("m({0}) = {1}".format(n, sum_series1(n)))
[ "huang.menglin@dhs.sg" ]
huang.menglin@dhs.sg
e2d092698c224e507ea31bfb207d4ece530bab92
9b3c4a6035f137015b0f3a4836ac1ed5a83e6047
/test/_bsd.py
03915b1ba004cc8bf192b23e5deda6cf39a9c99d
[ "BSD-3-Clause" ]
permissive
goodtiding5/psutil
8b1b5e9bc439aad7f730290e8ff697006fd9bfd9
6892e9e0a841cba62f64e55aff6b4f8c807e314f
refs/heads/master
2021-01-18T06:55:51.823760
2016-02-04T21:04:58
2016-02-04T21:04:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,758
py
#!/usr/bin/env python # Copyright (c) 2009, Giampaolo Rodola'. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # TODO: (FreeBSD) add test for comparing connections with 'sockstat' cmd. """Tests specific to all BSD platforms. These are implic...
[ "g.rodola@gmail.com" ]
g.rodola@gmail.com
45be337a0d8c7c093f97c89e9343659c2838d976
f47383f90e794416e12d34d4c15b354a0cc4d271
/cmp/lexer/lexer.py
475ac1782e7e13d79f4c6098774bd229d36a931e
[]
no_license
adrian13579/CoolInterpreter
ecff721c7c92e0e5d9cc5f7f2bf4855abcc54d36
154bd734a9111a1510e5591ed9d79844c72496a5
refs/heads/master
2023-03-07T02:00:18.532393
2021-02-18T23:09:10
2021-02-18T23:09:10
262,991,104
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
from cmp.automata import State from cmp.utils import Token from cmp.lexer.regex import Regex class Lexer: def __init__(self, table, eof): self.eof = eof self.regexs = self._build_regexs(table) self.automaton = self._build_automaton() @staticmethod def _build_regexs(table): ...
[ "adrianportales135@gmail.com" ]
adrianportales135@gmail.com
8ccd28c39c51fd5a2bc1a78ab5638bfe860f2824
0c84154dac47431b8e58b52cae40002b11ebadc3
/venv/bin/twistd
766aebb434aa331fdad6aff976ee02fac1f8bea8
[]
no_license
CarlLOL01/Python_Coding
61671ed6f4361a2377f3f67a542ec05e2d3ea7f4
cb6a1194e65fad30b1fde5713bc1fd8e51a21f77
refs/heads/master
2022-05-11T18:56:43.515378
2019-03-25T04:29:49
2019-03-25T04:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
#!/Users/xiaoqiang/PycharmProjects/Python_Coding/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==18.9.0','console_scripts','twistd' __requires__ = 'Twisted==18.9.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "451553616@qq.com" ]
451553616@qq.com
9fa75951501a62fdc4a6b2ce4a9554f7eb73da63
608c79a10f1216c8abec61c40ab983a216f0af92
/bombril/logging/__init__.py
b78b216ff46fa2fe6cc5f8e487593616bbe8d25c
[ "WTFPL" ]
permissive
embatbr/bombril
8030af6f99ea93284f71417ede33fa932ba56ac1
68139e46ff459d1be404002091662b591d55ae90
refs/heads/master
2021-04-26T21:52:21.394982
2019-01-18T18:47:25
2019-01-18T18:47:25
71,689,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
#! coding: utf-8 import logging logging.basicConfig( level=logging.INFO, format='[%(asctime)s] [%(levelname)s] [%(name)s:%(lineno)d] %(message)s', datefmt="%Y-%m-%d %H:%M:%S %z" ) def get_logger(name, level_name='INFO'): logger = logging.getLogger(name) level = getattr(logging, level_name, loggin...
[ "eduardo.tenorio@creditas.com.br" ]
eduardo.tenorio@creditas.com.br
46134b5c30ca0b532262f67addad92fdbd03a9eb
1a1b7f607c5e0783fd1c98c8bcff6460e933f09a
/core/lib/password_lib.py
6cb7556dd99b92dd6678be4ca31f740a93006b5b
[]
no_license
smrmohammadi/freeIBS
14fb736fcadfaea24f0acdafeafd2425de893a2d
7f612a559141622d5042614a62a2580a72a9479b
refs/heads/master
2021-01-17T21:05:19.200916
2014-03-17T03:07:15
2014-03-17T03:07:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
import crypt import random import re import types import random def getPasswords(_count,_type,_len): """ generate _count password of _type, and return a list of Password instances _type(integer): password contains 1: alphabets only, 2: digits only, 3:alphabets + digits """ if _type==1: chars="abcdefghij...
[ "farshad_kh" ]
farshad_kh
74128cbb2a80a727307a2f76f89e3b3dfb84442b
d569054f14c8e72d4ff427573f3cc6eeab029eeb
/elpy/rpc-venv/bin/blackd
8b7f5cf4107fa4ad5cd0c872015b866cebeb964d
[]
no_license
Mille0x1C/emacs_001
b0fa5fdd3edcae93ecfb1d25189e679ae6894b1b
8e906942b2ff1dc97106d50320733796d7969113
refs/heads/master
2020-09-14T22:54:57.759047
2020-06-05T02:41:49
2020-06-05T02:41:49
223,280,945
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/Users/freedom/.emacs.d/elpy/rpc-venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from blackd import patched_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(patched_main())
[ "darkgaia.yc@gmail.com" ]
darkgaia.yc@gmail.com
4ff801256dafddb7888bdc4253a8d3cdbef666f4
cdfa3bc08ebf9e411bd01948bd0aeaec6cb1cab2
/Analysis/utilities.py
e905e43f954dfdf4f51c84b540184459b52dc319
[]
no_license
jaredmoore/Evo_Flex_Quadruped_Code
e6f32ff91088cf2cc74c531c0eabf3cfddcc8303
5c09d6167d40ba27d44d8e3137352e9479c256af
refs/heads/master
2020-03-07T06:13:39.927458
2018-03-29T16:28:27
2018-03-29T16:28:27
127,316,223
1
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
""" Utilities for analysis calculations. """ import math def calc_3d_composite_com(coms, masses): """ Calculate the composite center of mass for a group of centers of mass. Assumes that x, y, and z are of interest. Index 1 is vertical axis Formula: com_x = sum(body_x*body_mass)/total_limb_mass (Repeat for e...
[ "swiftfoottim@gmail.com" ]
swiftfoottim@gmail.com
bc20119f8601fd6d2ac835b2f5d29923263c6eb6
49378d8d2818a2871bb8e452ff80395e47dd1e1e
/battle_knights/process.py
47d3923ef6f42d12f3014f1b80ba21043c5bdfac
[]
no_license
mdghayman/battle_knights
4de146917950f51e357bf54ad8eda467d2160491
501d5820cc98858fc5a637938f18d5503d5ee0bc
refs/heads/main
2023-03-09T14:20:25.377414
2021-02-08T17:07:54
2021-02-08T17:07:54
329,625,265
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
from os import system from time import sleep from setup import knights, items from move_details import move_details from states import board_state from art import art # Welcome function to introduce the game. # This includes heading, starting board, and ASCII art illustration of items. def welcome(): for item in i...
[ "mdghayman@gmail.com" ]
mdghayman@gmail.com
cd741b861f90381a5d3ec6e0639544cc40cff50d
e233c5857a5e5bca9bd6a04b6104716d299c4913
/back/api/serializers.py
cf10a037852dea84ce2c97b2e4ac60991dbd249e
[ "BSD-3-Clause" ]
permissive
maltaesousa/geoshop2
c31a535657af529cfd9df8f316f82f5569fc2711
5fcf7f5de48ddbf5bafe103664a8903244734244
refs/heads/master
2023-08-14T05:03:18.695661
2023-03-02T10:10:22
2023-03-02T10:10:22
237,020,362
0
0
BSD-3-Clause
2020-01-29T15:48:02
2020-01-29T15:48:01
null
UTF-8
Python
false
false
21,943
py
import json import copy from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.auth.forms import PasswordResetForm, SetPasswordForm from django.contrib.auth.tokens import default_token_generator from django.contrib.gis.gdal import GDALException from django.contrib.gis.geos i...
[ "stephane.maltaesousa@ne.ch" ]
stephane.maltaesousa@ne.ch
605c0f015a6c57a16c52404e6488f6ed2eb950af
0ed751d915cc982401989fddb5205a7bea8fbe8a
/open_display_preview.py
1753f2e89e9a0f9d57cf0dd23fb29601039ce040
[]
no_license
slzatz/mylistmanager3
5d5a5b980f9b0c2a09fce36842d64a5dd88400e3
0d7c43a0f45164c6519ec95fd0388c1d1f6b0285
refs/heads/master
2020-05-21T22:10:10.684513
2019-06-05T14:40:06
2019-06-05T14:40:06
28,277,245
0
0
null
null
null
null
UTF-8
Python
false
false
6,806
py
#!bin/python ''' curses script that is called by listmanager_cli.py do_open method To handle the edge case of the last page, we could add page_max_rows which would always be the same as max_rows except for the last page Not sure it's worth it so haven't implemented it Note that when you press an arrow key getch sees...
[ "slzatz@gmail.com" ]
slzatz@gmail.com
ac5a480407e106574a0a8970c2af653101f0d6d4
687dd2573c9d7f240301abaf877751212d462c80
/train.py
001810ac4efbe5b8e8c29a7ae73ef42080ad22cb
[ "MIT" ]
permissive
goutamdadhich/Flower_Image_Classifier
5990c09258fdb7dfa1294366fab8cb56b26d709b
02559492bd97f2a6475c7f479345a0aff72b1e81
refs/heads/master
2022-07-09T21:12:40.263860
2020-05-17T07:14:25
2020-05-17T07:14:25
264,602,057
0
0
null
null
null
null
UTF-8
Python
false
false
11,921
py
# -*- coding: utf-8 -*- """ @author: Goutam Dadhich @title: Image Classifier training file (train.py) """ # ------------------------------------------------------------------------------- # # Import Libraries # ------------------------------------------------------------------------------- # import argparse import tor...
[ "noreply@github.com" ]
goutamdadhich.noreply@github.com
c8f061405c20ff5526666798a3c0f0370a2a5169
abfab0c0ced6a728396bc50fd5bb751e6432e930
/signup/models.py
946134fbed00f0fba3af4c58abe41a1718b3a8e0
[]
no_license
vikas0694/Django_Registration_page
69166a1f6c87c7157cf29db020253fd2e934fed9
1823cd10cce422fb104d05d970273a035abfbe21
refs/heads/master
2020-04-16T06:22:29.349728
2019-01-12T04:27:59
2019-01-12T04:27:59
165,343,659
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
from django.db import models class Student(models.Model): name = models.CharField(max_length=50) emailid = models.CharField(max_length=50) def __str__(self): return self.username # Create your models here.
[ "vikas.0694@gmail.com" ]
vikas.0694@gmail.com
480d94b1974d3e25240e7d4203b25980681a148f
eaf51ae8ac937d1117b3f792e98c588f6eb8992a
/WALL E.py
672a78a7ecf7144861f867f559a521b04199219c
[]
no_license
Abd-Elaziz-Noaman/WALL-E
10937378e7056094a1198c8fd6ef08082994c7db
0ed40942b56ac7a298e8ef9a134ee17d556ef574
refs/heads/master
2022-04-14T10:14:17.486753
2019-03-17T23:52:14
2019-03-17T23:52:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,188
py
from OpenGL.GLUT import * from OpenGL.GLU import * from OpenGL.GL import * import numpy as np from math import * def draw_Head(): glBegin(GL_POLYGON) glColor3f(0.2,0,0.5) glVertex(0.07,0.5) glVertex(0.07,0.65) glVertex(-0.07,0.65) glVertex(-0.07,0.5) glEnd() ...
[ "noreply@github.com" ]
Abd-Elaziz-Noaman.noreply@github.com
062bdeafbafce09bfb0e9e3584190c6255194188
10c689b8fc5ff99ea69197553a14124437288343
/docs/samples/sample1_validation.py
31c29ff20574078cee7bf126db0c197701c26a09
[]
no_license
napix/NapixServer
4e4ec3dbdbc7b1fc885c55b2fd3f093cecc3da1a
e08b09594091e1d86d4de0dacd1c5801f5255253
refs/heads/master
2021-05-28T14:29:31.952649
2015-04-01T16:02:06
2015-04-01T16:02:06
15,139,808
0
1
null
null
null
null
UTF-8
Python
false
false
4,242
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from napixd.exceptions import ValidationError from napixd.managers.default import DictManager class HostManager(DictManager): """ Napix Web service to manage the content of the hosts file """ FILE_PATH = '/etc/hosts' resource_fields = { 'h...
[ "gr@enix.fr" ]
gr@enix.fr
f271b8ae35a2d87f5a6edfd3a2164f29bfca683e
5781bda84c1af759e7b0284f0489d50e68044c89
/app/model/network.py
0fd902e34350e3e8251d9ad86c8abc47d54292d6
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
Stanford-PERTS/triton
43306a582630ac6ef8d2d14c8b2a56279335a7fb
5a4f401fc7019d59ce4c41eafa6c5bda822fae0a
refs/heads/master
2022-10-17T11:51:10.220048
2020-06-14T17:37:54
2020-06-14T17:37:54
272,251,410
0
0
null
null
null
null
UTF-8
Python
false
false
5,984
py
""" Network =========== Network, one-to-one with its team, with all classroom's students participating, comprised of growth conditions. """ import logging import string from model import SqlModel, SqlField as Field import mysql_connection import os_random class InvalidNetworkAssociation(Exception): """Provided ...
[ "chris@perts.net" ]
chris@perts.net
8546e71065ef606ab7db63ccc285ab6cfc62e842
6b80bb99c2ba860af56baa4d7fc24000044b1343
/python3/gini.py
6ef298214a224e2e9740b52875e24cee4cb5223b
[]
no_license
zhang-yan-talendbj/think-stats
3b1a3320ff7f56018d88211c4e9df9e20ee8fe3d
6353ed92310c19354adee662d86db545941e511e
refs/heads/master
2023-03-18T07:40:43.271511
2018-05-03T12:46:03
2018-05-03T12:46:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
"""This file contains code for use with "Think Stats", by Allen B. Downey, available from greenteapress.com Copyright 2010 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ import math import sys import irs import Pmf import Cdf def PmfMean(pmf): total = 0.0 for val, p in pmf.Ite...
[ "zhanghao163mail@163.com" ]
zhanghao163mail@163.com
0b79ac5396347490fd626f07f421f6e523df339e
8edeea75ebd28e4829e6640b51b191c7f96db2d8
/software_design/assignment5/assignment_5_files-mod/impl2.py~
bc23b1d02af64e18210f31e4312dc43804a24ffc
[]
no_license
neppramod/etsu-projects
e2c5e93f714bb4a5c9033d860106561118328dd8
7c3790d7d8e56374f984fc587d08f7d22dbbcc7f
refs/heads/master
2021-01-20T20:36:06.304770
2016-06-14T22:16:39
2016-06-14T22:16:39
61,149,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: # instantiate shared class instance on first object instantiation Singleton._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) else: # reinvoke __init__ for the lone instance...
[ "nepalp@goldmail.etsu.edu" ]
nepalp@goldmail.etsu.edu
2a47e879d137e708d030f6ac083e3e1fd82f3bed
975b47ec9df9a0e2ca0f4485d5025fa0ba9d73ee
/tcutils/threading.py
af5c2e86c3079fbe5ffc59aca9c71b462fb83a7e
[]
no_license
thomascury/TCUtils
1dd5129a41e135d4c635f79783731d90b1363c96
aab4c52855f79efd907341752323437c111f3dbd
refs/heads/master
2022-04-26T05:26:46.274712
2022-04-01T07:57:22
2022-04-01T07:57:22
48,697,533
0
0
null
null
null
null
UTF-8
Python
false
false
4,830
py
import datetime import traceback from concurrent import futures from time import sleep from functools import total_ordering from tabulate import tabulate from queue import Queue, PriorityQueue from threading import Event import warnings def warning_on_one_line(message, category, filename, lineno, file=None, line=None)...
[ "thomas@cury.fr" ]
thomas@cury.fr
d369343fe06ed20b429fd4ebd62c24898d09f1c2
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/hm-.py
053741f131237b8d1e07af0c35648012df4dd241
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
f2a649074348c3b736b5a2b21e1baf95a2d23277
58dfa5a2500172bad79f4f413c243a023c88d839
/Movie.py
e7ef4340d51c11e8af0a45ee1a6d14d9f3e2bf4a
[]
no_license
igorgrabarski/moviesportal
411887ab1c811e9b8b285231dea9f725c7805100
cb599c2d38018f3952913067b5fe696d33182ff5
refs/heads/master
2021-01-17T11:06:24.625868
2017-03-06T03:46:03
2017-03-06T03:46:03
84,024,549
0
0
null
null
null
null
UTF-8
Python
false
false
9,367
py
import urllib2 import json import Review import Trailer import Person from Service import Service class Movie: file = open('API_KEY') API_KEY = file.read() file.close() LANGUAGE = 'en-US' INITIAL_PREFIX = 'https://api.themoviedb.org/3/' YOU_TUBE_PREFIX = 'https://www.youtube.com/embed/' I...
[ "noreply@github.com" ]
igorgrabarski.noreply@github.com
87d83a8b5ef1b1e9ae917f9d3e33ac00a36a5d63
a6bb343f829b89656ee945b211b9d3cea3fffe8a
/machine_learning_nanodegree/modulo-03/aula-03/programa-3.21-age_net_worths.py
2447bb1a6c702ffe770480c6b5f5853f0324d452
[ "MIT" ]
permissive
abrantesasf/udacity
e6c56e42b507d9f7e4efd65f5f74570900b22ca8
5e6a15ad6c9346ebe4645767cc0a29606f5fba43
refs/heads/master
2022-04-03T14:25:48.606630
2020-02-12T20:32:53
2020-02-12T20:32:53
110,899,278
1
0
null
null
null
null
UTF-8
Python
false
false
828
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 19 00:27:43 2018 @author: abrantesasf """ import numpy import random def ageNetWorthData(): random.seed(42) numpy.random.seed(42) ages = [] for ii in range(100): ages.append( random.randint(20,65) ) net_worths = [ii *...
[ "abrantesasf@gmail.com" ]
abrantesasf@gmail.com
fde38ef34f063ea59de6329541a2ace1217cc5f5
39db5e60376cc255f06f54d37dd04114486e33f8
/bomber/controllers/collections.py
930a11495da949fb7e01dbdfc0f7a65fe1f1583c
[]
no_license
zhoujialefanjiayuan/bomber
559730a0710408fb8e1d793efe6f33f9d222d649
15cd7239bb85aeaf7d2632995ca42c28ff6fbdfd
refs/heads/master
2022-06-15T04:46:52.542297
2020-04-04T03:44:26
2020-04-04T03:44:26
252,060,210
0
0
null
null
null
null
UTF-8
Python
false
false
7,742
py
from datetime import datetime from bottle import get, post, request, abort from peewee import JOIN from bomber.auth import check_api_user from bomber.constant_mapping import ( CallActionType, AutoListStatus, SpecialBomber, Cycle ) from bomber.plugins import ip_whitelist_plugin from bomber.db import db...
[ "lengyueji@ikidana.com" ]
lengyueji@ikidana.com
17c8fd8389e918362c50a26cc24b9369815a1a80
2dd26e031162e75f37ecb1f7dd7f675eeb634c63
/examples/asr/asr_hybrid_transducer_ctc/speech_to_text_hybrid_rnnt_ctc_bpe.py
2de150c7132853121bcc899167c134fc7ffb54d0
[ "Apache-2.0" ]
permissive
NVIDIA/NeMo
1b001fa2ae5d14defbfd02f3fe750c5a09e89dd1
c20a16ea8aa2a9d8e31a98eb22178ddb9d5935e7
refs/heads/main
2023-08-21T15:28:04.447838
2023-08-21T00:49:36
2023-08-21T00:49:36
200,722,670
7,957
1,986
Apache-2.0
2023-09-14T18:49:54
2019-08-05T20:16:42
Python
UTF-8
Python
false
false
3,432
py
# Copyright (c) 2022, NVIDIA CORPORATION. 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 appli...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
104f7e2cb1907ba7cfaca6f2694fe5c312dd8623
a5d905e8558150be5ece8bf146c1a8ff79890a93
/counting.py
df4e167d921ff7de64eb89b05c0c842c64980a44
[]
no_license
sane03/Data-Intensive-Computing-in-Data-Science
729338f54b6a32460aaeb0b90dc85b1c099f7585
79b3380fdc8ce326594d1b9aeac2d914c6877c2c
refs/heads/master
2020-04-25T00:07:31.630129
2019-05-17T21:25:24
2019-05-17T21:25:24
172,367,936
0
0
null
2019-04-16T08:57:55
2019-02-24T17:31:06
C++
UTF-8
Python
false
false
638
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Apr 11 15:03:16 2019 @author: """ from mrjob.job import MRJob import time import re WORD_RE = re.compile(r"[\w']+") class MRWordFreqCount(MRJob): def mapper(self, _, line): for word in WORD_RE.findall(line): yield word.lowe...
[ "noreply@github.com" ]
sane03.noreply@github.com
7292c8b2f5ac0b7e96916f04b5a65237836d49e9
766ca0a00ad1df5163306d2d5a6f722bc67002d3
/mailviews/tests/manage.py
1549d37fb3ba441106c14033ab25cfa33112d0f1
[ "Apache-2.0" ]
permissive
agroptima/django-mailviews
8999746eff926661635160eee7b743331737f0bc
b75fabadad66a697592abb98a417f6efec55a88d
refs/heads/master
2021-01-24T12:03:52.787509
2019-11-13T13:49:15
2019-11-13T13:49:15
123,114,820
1
0
Apache-2.0
2019-11-13T13:49:17
2018-02-27T10:43:48
Python
UTF-8
Python
false
false
396
py
#!/usr/bin/env python import logging import sys from mailviews.tests import settings logging.basicConfig(level=logging.DEBUG) if __name__ == "__main__": try: from django.core.management import execute_manager execute_manager(settings) except ImportError: from django.core.management i...
[ "ted@kaemming.com" ]
ted@kaemming.com
cb4cf646eb5e3467f839456e516cb4902c657fe1
3bd94c4ef9d73bb6c40e1a5c96dbe94a59ae79c7
/Python่ฏญ่จ€็จ‹ๅบ่ฎพ่ฎกๅŸบ็ก€/JSON/CSV2JSON.py
47d17d99ef379544c78449af75e2fd2f25ac5d8d
[]
no_license
pizisuan/Learn-Python
1131f1fd3dd02f74dd07d2c3973c2adcca1db6ec
76684d7fbcf8c6d354fbccf5ec378c33cdb14d45
refs/heads/master
2021-06-02T15:05:48.449539
2019-10-22T03:05:34
2019-10-22T03:05:34
96,091,251
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import json fr = open("price2016.csv","r") ls = [] for line in fr: line = line.replace("\n","") ls.append(line.split(',')) fr.close() fw = open("price2016.json","w") for i in range(1,len(ls)): ls[i] = dict(zip(ls[0],ls[i])) json.dump(ls[1:],fw,sort_keys = True,indent = 4,ensure_ascii = False) fw.close()
[ "noreply@github.com" ]
pizisuan.noreply@github.com
e000bcf1bfe5e0f03b0cc8a584f325a2051a6376
b7b2f80ab5e1ee0ea028576e3014b62b8d3a8d7e
/neural/neural-005/neunet.py
14c865c2367af10d1782c0e97d545ba6a6697690
[]
no_license
pglen/pgpygtk
4d1405478a714f003984cf3e3db04ff1f767470b
33f58010e304f1a312f2356de453ecedb7aa21ef
refs/heads/master
2021-01-22T01:18:52.238415
2019-01-01T01:37:24
2019-01-01T01:37:24
102,215,955
0
0
null
null
null
null
UTF-8
Python
false
false
6,780
py
#!/usr/bin/env python # ------------------------------------------------------------------------ # Neural network import sys from neulev import * # ------------------------------------------------------------------------ # Globals verbose = 0 pgdebug = 0 def pn(num): return "%+0.3f" % num # ----------------...
[ "peterglen99@gmail.com" ]
peterglen99@gmail.com
70cd2745d7a4e78a9fe4b7beb1e88aec528dfd19
be320ac66cc4da3c8cc921006a2c0f98ad0b139c
/lessons/app.py
d4cd4a746bf3a67b464b3cfae6c05022af997ef8
[]
no_license
annaS000/surfs_up
e64d8193d0f29a55fa1eeb9c7b32f5a189f7bbad
a64ef40c543f6188ea03ac87dd358133025ebc05
refs/heads/main
2023-08-30T16:25:11.702794
2021-10-10T04:51:02
2021-10-10T04:51:02
410,977,703
0
0
null
null
null
null
UTF-8
Python
false
false
2,320
py
from flask import Flask, jsonify import datetime as dt import numpy as np import pandas as pd import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func #access sqlite database engine = create_engine("sqlite:///hawaii.sqlite") #refle...
[ "sand7anna@outlook.com" ]
sand7anna@outlook.com
1efc1b5e7b7a0929c03d1ac7b1ef153a2826144d
174b611e47ed605b02cbefb11f7dc1e16d39e042
/magazine/migrations/0001_initial.py
1a2078b9e6099d64423ce4580977000a4f44422b
[]
no_license
yigor/i-help-u
084af38727231e93afef4cad8d57e949478fbcc5
b0495da0e054b537be348da89466e258c80e3c67
refs/heads/master
2016-09-06T07:15:09.973469
2015-05-24T15:05:06
2015-05-24T15:05:06
11,278,029
0
0
null
null
null
null
UTF-8
Python
false
false
13,933
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Article' db.create_table(u'magazine_article', ( (u'id', self.gf('django.db.model...
[ "i.sobolev@netrika.ru" ]
i.sobolev@netrika.ru
24e551fb33f4931cfd6ba6e3a2c1ef762fb638c3
8927f6b7a805bc57afacfd12b8e23ad1831d5049
/TalkingData_Mobile_User_Demographics/TalkingData.py
a500251138cb276e9674ec8994cc5d64f78625b8
[]
no_license
JackMeiLong/ML.Kaggle
a7cf67ea3651033216b2021600f12c4d40c565e7
0186c1c73ab685d408814f1f63d9f842f83377f3
refs/heads/master
2020-04-02T19:55:31.653832
2016-08-03T12:33:31
2016-08-03T12:33:31
59,990,143
0
0
null
null
null
null
UTF-8
Python
false
false
3,245
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 02 19:30:51 2016 @author: meil """ import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) from sklearn.feature_extraction import FeatureHasher from sklearn.preprocessing import LabelEncoder from sklearn.ensemble import...
[ "noreply@github.com" ]
JackMeiLong.noreply@github.com
0ad8b8a309da9c2383079c344532ca213f7dab3d
b22e0bb8bd204c71e030e5d64b79f280960c65ee
/temp_validation_10minres_anywslsite.py
fe3a613f0ec0ea73852383775613778282bc7406
[]
no_license
Jansing-Lukas/meteo_interpolations_wsl
54450666d7d6008a0e0219a76af474a3c6702ba6
890a0dc16f96d208324be41797bd1596ed204c83
refs/heads/master
2020-06-20T17:45:00.788385
2019-07-16T14:11:55
2019-07-16T14:11:55
197,195,611
0
0
null
null
null
null
UTF-8
Python
false
false
9,727
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 18 11:16:41 2019 @author: lukas jansing Script in order to validate the interpolated temperature data Compare 10minres data to 10minres data of LWF Compare the three different interpolations: - horizontally only - standard gradient - empirical ...
[ "noreply@github.com" ]
Jansing-Lukas.noreply@github.com
a2f8c5c8659f14cbc8e532f235de3d428c33e977
d24639b7f843539ba181f0b091af7f03c410af31
/--- Data-Science ---/Section 39 - Artificial Neural Networks (ANN)/ANN.py
e88ba64c0f8d70b2b7f25279452afc045f57c811
[]
no_license
roilait/Machine-Learning
8856eff09e2ed88d2aa6c120f45612df95fab49d
95b9993601123e562e4e8232bf9c2356e961c0fd
refs/heads/master
2021-01-11T22:23:03.938541
2017-06-12T04:48:30
2017-06-12T04:48:30
78,955,341
0
0
null
null
null
null
UTF-8
Python
false
false
11,365
py
# Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' #FFFFFF # --------------------------- # Part I - Data Preprocessing # --------------------------- DATESET_DIR = 'dataSet/Churn_Modelling.csv' DROPCOLS = [0, 1, 2, 13] # ...
[ "noreply@github.com" ]
roilait.noreply@github.com
aefcedb2d306ed5b5a5ccf37b1b4f31d064f7fcb
da0a3820236a671b149959f40a93d6dce328a09c
/sampling.py
912ec1f00476bc28f0759521712f81c2591c725a
[]
no_license
phesami/bpr
e5ac5bf714a9c20ecb0ae262ab8183a0930e591c
a65c545a5c6d85a9fa77e039df381a4613d1e682
refs/heads/master
2021-01-01T06:48:49.138957
2017-03-26T02:30:46
2017-03-26T02:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
import random # sampling strategies class Sampler(object): def __init__(self,sample_negative_items_empirically): self.sample_negative_items_empirically = sample_negative_items_empirically def init(self,data,max_samples=None): self.data = data self.num_users,self.num_items = data.shape...
[ "eggie5@gmail.com" ]
eggie5@gmail.com
3380f58dacc0e664efb5a2d63b0cd49b37e28241
d0ae1156cd8a9273418a8ae383b4c165c5a5b54f
/Python Basics Loops, Lists, Logic, Quiz etc/Playing Sounds on Windows/Play_windows_7_system_sound_effects.py
a5a633e9339a2c52552f7aeba4d7b8b8ddf4c25c
[]
no_license
STJRush/handycode
e63aead20daaad6c52cba7199fcdfe8c90abb0c4
56adc99d6c2201397bb38e50885d1de6266fdeac
refs/heads/master
2022-12-10T14:37:16.690632
2022-12-07T01:48:50
2022-12-07T01:48:50
91,385,270
7
18
null
2021-09-21T15:03:31
2017-05-15T21:11:45
Python
UTF-8
Python
false
false
310
py
import winsound winsound.PlaySound('sound.wav', winsound.SND_FILENAME) # Lets you use windows sound. # look up winsound for other sounds """ Here's some more sounds 'SystemAsterisk' Asterisk 'SystemExclamation' Exclamation 'SystemExit' Exit Windows 'SystemHand' Critical Stop 'SystemQuestion' Question """
[ "noreply@github.com" ]
STJRush.noreply@github.com
bece9a5234650c40fc71e3cf6f5df1b6f1412b8e
dcba6985b2b0d4743c2eefa44ecd0ff6dfb0e280
/day7/note/demo_็ช—ๅฃๆปšๅŠจ.py
ea934a97838f987855545fff7c0c918b1893d2a4
[]
no_license
liyaozr/web_auto
3c16da295ff5d6c33303f0c6176acf53f8a8cbd6
5a33365bfac3fc6afe07a93f9ef7935c30bc3f56
refs/heads/master
2021-04-13T21:49:29.677090
2020-04-11T07:22:17
2020-04-11T07:22:17
249,192,474
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC driver = webdriver.Chrome(executable_path=r"d:\chromedriver.exe") # ๆทปๅŠ ้šๅฃซ็ญ‰ๅพ… driver.implicitly_wait(30) ...
[ "lyz_fordream@163.com" ]
lyz_fordream@163.com
cc0fb46ff5db8ade6543ea0532d8fbe428fb8aff
3d4da4a5dfff22eb272f68947f7ae54a1b9c87e7
/polls/migrations/0015_order_ref_code.py
418055ffe12f5e2953fbb963e350b28fa0b29545
[]
no_license
trantuananhvn93/django_first_app
e1b0eb2d30fb4b04425a366a14501998a6807c32
43676143cc435958ded0d8c75fbc2b6e072f49a9
refs/heads/master
2022-12-14T12:06:21.776412
2020-05-06T14:59:46
2020-05-06T14:59:46
226,743,564
0
0
null
2022-12-08T03:17:04
2019-12-08T22:51:32
JavaScript
UTF-8
Python
false
false
397
py
# Generated by Django 3.0 on 2019-12-09 09:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0014_userprofile'), ] operations = [ migrations.AddField( model_name='order', name='ref_code', fi...
[ "TRAN.TuanAnh.vn93@gmail.com" ]
TRAN.TuanAnh.vn93@gmail.com
426c7c71d941de6f532c6347173a111373cc4734
99052370591eadf44264dbe09022d4aa5cd9687d
/build/cwru/cwru_base/cwru_maps/catkin_generated/pkg.installspace.context.pc.py
e51fe9087a3ee4cec49b7015d1ee43de6bdeda45
[]
no_license
brucemingxinliu/ros_ws
11b1a3e142132925d35b3adf929f1000392c5bdc
45f7e553ea20b79e3e93af5f77a1b14b64184875
refs/heads/master
2021-01-24T03:36:47.043040
2018-02-26T00:53:37
2018-02-26T00:53:37
122,892,702
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "cwru_maps" PROJECT_SPACE_DIR = "/home...
[ "mxl592@case.edu" ]
mxl592@case.edu
bc79a71833358f39c5740b9166e50e24b73bacfe
ccefb5c0a121509963c0f5e8b21567b527eee210
/src/djangoflix/urls.py
b6c7948bad15eb7f6d4ec89961a110ea2e9f8cd3
[ "MIT" ]
permissive
susilthapa/DjangoFlix
841c0a8aae21cb0eb41e7c5a19f11d86e83fc1ec
f4c544826a072c04b9a93e9929e327cfd130a360
refs/heads/main
2023-03-14T16:41:57.935530
2021-03-20T22:25:06
2021-03-20T22:25:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
"""djangoflix URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/dev/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "hello@teamcfe.com" ]
hello@teamcfe.com
46014a52f2db2d96fc8e257136f49a55eb920f7c
7edf51e1dd8ea64719f8c3a707a503d273476c2f
/nnCarGame.py
dd454178e1515cc6e2f21ab0ba746567fa069073
[]
no_license
marekanto/myRace
e75e99aabde7c333b5010e2548098485c18a963c
b4b0849d0266febca0b33d9003f4f4a82d6c3a66
refs/heads/main
2023-02-28T16:12:03.453470
2021-02-07T13:53:23
2021-02-07T13:53:23
327,272,686
0
0
null
null
null
null
UTF-8
Python
false
false
29,444
py
import pygame import random import math import numpy as np from shapely.geometry import Point from shapely.geometry.polygon import Polygon pygame.init() # Initialize pygame # Some variables initializations img = 0 # This one is used when recording frames size = width, height = 1600, 900 # Size to use when creating ...
[ "noreply@github.com" ]
marekanto.noreply@github.com
b67bd09c29ec6b75559d03ae6eb4b0c8a84a1800
eac4c2c6f337a57ef783c5bf00b4084e3814ca51
/Tic Tac Toe.py
f0fe2fbdf809df22fede4c577572e253260c3e09
[]
no_license
bingheimr/Udemy-Projects
3996017c9556c264979865885f2eb6037603ed86
dad0badf56435f6dc3fc743bd38ba0e8d1d72f57
refs/heads/main
2023-04-27T07:17:33.396905
2021-04-23T01:51:15
2021-04-23T01:51:15
360,726,824
0
0
null
null
null
null
UTF-8
Python
false
false
4,678
py
def display_board(board): print(' | |') print(' ' + board[7] + ' | ' + board[8] + ' | ' + board[9]) print(' | |') print('-----------') print(' | |') print(' ' + board[4] + ' | ' + board[5] + ' | ' + board[6]) print(' | |') print('-----------') print(' | ...
[ "noreply@github.com" ]
bingheimr.noreply@github.com
35d344e65c8cabfaab0f8c3b081f28fe5aef4807
49ef8cb8542a0236f2faa50c5661ec938dead38e
/analyze/analyzer.py
aec496fe872b2f852bc1cb22a0a3edc3d169e26e
[]
no_license
julieoh-2013/analysis_pd
7f12b590a972a6bc50aac1692e6fb14cf902b6b3
a87c6d9c5a742b26b0de350d07e186915e53bf58
refs/heads/master
2020-03-20T00:24:24.738519
2018-06-21T12:26:02
2018-06-21T12:26:02
137,042,258
0
0
null
null
null
null
UTF-8
Python
false
false
5,325
py
import json import pandas as pd import scipy.stats as ss import numpy as np import matplotlib.pyplot as plt import math def analysis_correlation(resultfiles): with open(resultfiles['tourspot_visitor'], 'r', encoding='utf-8') as infile: json_data = json.loads(infile.read()) tourspotvisitor_table = pd.D...
[ "julieoh2013@gmail.com" ]
julieoh2013@gmail.com
a0ee1146dd62520926f5b36fce4f227c2dfe5012
f1e2118777f957ec07c2955ba9515b632dc099b4
/python_lab.py
ba0a36afedb103b67f716eb39029fcbe68555fe6
[]
no_license
RobertCPhillips/CourseraCodingTheMatrix
63e8d575274b288643a660bfc13f0f43587375b8
36e85e0389497a55a5990eb2d5b05b07d59c05ea
refs/heads/master
2020-05-01T06:51:32.697508
2015-04-02T22:04:15
2015-04-02T22:04:15
30,215,878
0
1
null
null
null
null
UTF-8
Python
false
false
6,827
py
# version code bd6127413fba+ coursera = 1 # Please fill out this stencil and submit using the provided submission script. ## 1: (Task 1) Minutes in a Week minutes_in_week = 7*24*60 ## 2: (Task 2) Remainder remainder_without_mod = 2304811 - (2304811 // 47)*47 ## 3: (Task 3) Divisibility divisible_by_3 = ((67...
[ "robert.c.phillips@live.com" ]
robert.c.phillips@live.com
8794ff1566270fab11ca69b0d82320c27b9d6c1a
cf03921f6fe8f079785a2a4fe750ee29b898c1ca
/recognize_distribute.py
a1749f14fa924c93e734cb6c2744a1459e7c5264
[]
no_license
GUANJIAN1997/Floorlearningandrecognition
3c99f6bfad210d540d383fe00b1898fa84c4b5e3
e84d118033b25bb2c20b1ef69fd4bd71ce726081
refs/heads/master
2022-06-09T13:23:47.488540
2020-05-05T12:19:41
2020-05-05T12:19:41
261,464,259
0
0
null
null
null
null
UTF-8
Python
false
false
15,021
py
import json import numpy as np filepath = "/Users/jianguan/Desktop/ๆฏ•ไธš/ๆฅผๅฑ‚ๅˆคๅฎšๅฎž้ชŒๆ•ฐๆฎ/test1234567.json" from recognize_test import find_floor import scipy.stats def json2List(filepath): rowdata = [] f = open(filepath,"r") for line in f: decodes = json.loads(line) rowdata.append(decodes) f.clos...
[ "guanjian1997@gmail.com" ]
guanjian1997@gmail.com
5ba9dd8e415b18ab6d4f9b3a05f2a2cfdb708008
6c4553622779bdf33dcaa9f2c909a69a08c69fb7
/class_exam200_016_059/exam22.py
7b1cd2bb1228100d65d9a6e7b296ddbd41eac6c1
[]
no_license
choijeonggyu/talented_kaist_class_1st
dc0082ed08f2d88f7daa8fa3ed1e73b073d6b30a
025f944864cb5a29c5a81cbe29e7b27279f886d7
refs/heads/master
2020-03-30T01:15:20.076166
2018-10-30T23:55:04
2018-10-30T23:55:04
150,567,048
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
a = True b = False print(a == 1) # True ๊ฐ€ ์ถœ๋ ฅ๋จ print(b != 0) # False๊ฐ€ ์ถœ๋ ฅ๋จ
[ "choi.jeonggyu@gmail.com" ]
choi.jeonggyu@gmail.com
003afde634b2dbdf9963104880cecb922fe56bfa
c6818c06aacb1eca1fffa8bbc51b6f3aac25c177
/acre/settings.py
039fa2a786d7f1bc584f1052a125472bea4cb0ef
[]
no_license
Acon94/ACRE
2d0769780c9f81eba05085ffd8b0af225666d6de
73622a6dc4ba0f30e8d3e90b02d23c8efd14a5e1
refs/heads/master
2022-08-02T02:07:53.004308
2020-05-29T15:25:50
2020-05-29T15:25:50
267,840,531
0
0
null
null
null
null
UTF-8
Python
false
false
3,898
py
""" Django settings for acre project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ from django.con...
[ "andrew@Andrews-MacBook-Pro.local" ]
andrew@Andrews-MacBook-Pro.local
a6a021b6559101608bd72beda23a30cc3f39cc4c
4a119bd12f5ced0c43ac8a79e14f935e7d64a39e
/rapidapipractice/urls.py
ab22c9a2c021a68640cf129e39159c1d071f9d81
[]
no_license
e-elson/rapidapipractice
00093687b5f1c955a0d2d538ad583c2612dfd6e0
274bdf0e17d7ae35037df6844dbd9432df8010ee
refs/heads/master
2023-03-09T20:09:02.587729
2021-02-21T16:00:41
2021-02-21T16:00:41
340,924,614
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
"""rapidapipractice URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "mac@Elsons-MacBook-Pro.local" ]
mac@Elsons-MacBook-Pro.local
dc598447b6086cc907684e1f2c7547d0a9d2d1ad
6c9136be6e491ed8b0aff458c14ec32d4898d328
/app.py
a791d1e28db4ea7079946dd3ff31a08097c3bcd2
[ "MIT" ]
permissive
qube13/deepdream-seminar
3e198fc9a63b6ec7ec6d9711724a7a0e256b420a
2255d900e926a2f4ff916050ef544a3d7fb4a80b
refs/heads/master
2023-08-08T22:19:30.831402
2019-11-06T20:09:51
2019-11-06T20:09:51
189,007,674
0
0
MIT
2023-07-22T06:54:49
2019-05-28T10:34:41
Python
UTF-8
Python
false
false
1,912
py
# -*- coding: utf-8 -*- import os from flask import Flask, render_template, request from flask_uploads import UploadSet, configure_uploads, IMAGES, patch_request_class from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileRequired, FileAllowed from wtforms import SubmitField from helpers.neural_styl...
[ "christoph.retter@icloud.com" ]
christoph.retter@icloud.com
d0beb03d5c7315faf93d164b70e72d5175558f0f
0e7cb579f15fa835fc1064d2a1cd41496968103a
/tweet-feed-YahooFinance/company_list.py
d954bac362adf47fe5bb53f25ba45228c8ac43ba
[]
no_license
tonykyo3232/Tweets_Downloader
c34faaf5aaa22b542980506d8deaf0489bd5a4ed
a5b768b40ace92dd019c53be5d7046e2bff67679
refs/heads/main
2023-08-30T04:06:38.875221
2021-11-08T18:02:52
2021-11-08T18:02:52
421,289,650
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
''' reference: https://www.dogsofthedow.com/largest-companies-by-market-cap.htm returns dictionaries of company list with its stock maeket name ''' # Declare a dictionary with company full name as key companies = { 'Apple': 'AAPL', 'Microsoft': 'MSFT', 'Alphabet': 'GOOGL', 'Amazon': 'AMZN', 'Facebook': 'FB', 'Te...
[ "tonykyo3232@gmail.com" ]
tonykyo3232@gmail.com
14583aca318c99b89df9bdf4a06f82d336f413bd
e3e5a0618b91fe58318763f2186422b95e6edd10
/baidupcs_py/baidupcs/api.py
68e6ac5e0ad2875ab752460896b24e449357f92e
[ "MIT" ]
permissive
hfh1999/BaiduPCS-Py
ddd66ff4d33d0e609021280a1edc040d51654940
4cf77bba7afbc8c82e0bc6ecd4ffc4a66aab1c71
refs/heads/master
2023-02-20T06:02:08.897248
2021-01-26T08:56:37
2021-01-26T08:56:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,950
py
from typing import Optional, Dict, List, Tuple, Callable from io import BytesIO import datetime from baidupcs_py.common.io import RangeRequestIO from baidupcs_py.baidupcs.pcs import BaiduPCS, BaiduPCSError, M3u8Type from baidupcs_py.baidupcs.inner import ( PcsFile, PcsMagnetFile, PcsSharedLink, PcsSha...
[ "dfhayst@gmail.com" ]
dfhayst@gmail.com
0b0793ee6ad33cc94c08ba64cebda6e147641e4e
3a5db7fce2a15fea9b2f87ef09d54a7aaac3efd6
/exercises/exc_02_05.py
c57f7d8d1267b49a13cc61a76d4b1bcfac9fe35f
[ "MIT" ]
permissive
Rhinrei/course-starter-python
31362a6b4fd42def9130020d5e79e709f96b5cfd
69978653b64e201d52cc6cdf831062137c8f7d81
refs/heads/master
2023-01-20T11:25:08.695250
2019-06-23T10:40:49
2019-06-23T10:40:49
183,874,669
0
0
MIT
2023-01-11T20:29:33
2019-04-28T07:45:37
Jupyter Notebook
UTF-8
Python
false
false
262
py
import pandas as pd from sklearn.feature_extraction.text import ____ pd.set_option('display.expand_frame_repr', False) tweets_csv = pd.read_csv("exercises/tweets.csv") tweets_df = pd.DataFrame(tweets_csv) vectorizer = ____ X = ____(____.values) Y = ____.values
[ "rhinrei@gmail.com" ]
rhinrei@gmail.com
944ba56ff7aca83e2eb127f4da13c740715ee035
f57e34d0a708ea1139f80f8e5b968c55f6fd2621
/dassl/utils/logger.py
9b37774ef48a52e330761d229098b3e3627aa44b
[ "MIT" ]
permissive
MohammadJavadD/Dassl.pytorch
bfdac8f28781af5f198eb7a1318043e04dc544d3
5e83fdce6fb51d8d4fbe0441a016eade2ebda423
refs/heads/master
2022-07-06T06:33:53.655489
2020-05-11T20:55:24
2020-05-11T20:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
import os import sys import time import os.path as osp from .tools import mkdir_if_missing __all__ = ['Logger', 'setup_logger'] class Logger(object): """Write console output to external text file. Imported from `<https://github.com/Cysu/open-reid/blob/master/reid/utils/logging.py>`_ Args: ...
[ "k.zhou@surrey.ac.uk" ]
k.zhou@surrey.ac.uk
707c92b00f26da27a2d1ecca127c641241976de6
fa451e1bdd074d62fb6f1c089954d1e4b0257d5b
/43/solution.py
efd8604e79fe9eaa14d52534eb972ac8d93acafc
[ "Apache-2.0" ]
permissive
live-wire/leetcode-solutions
e985b4c61814322372f8a953b14c54544eb50f5e
c38ed2f127d04a6fb9a34c4d0d93e168812ef646
refs/heads/main
2023-08-29T09:11:19.911922
2021-10-21T10:58:15
2021-10-21T10:58:15
305,688,177
3
4
Apache-2.0
2020-10-25T19:43:25
2020-10-20T11:37:49
Python
UTF-8
Python
false
false
233
py
class Solution: def multiply(self, num1: str, num2: str) -> str: if not num1 or not num2: return None num1 = int(num1) num2 = int(num2) return str(num1*num2)
[ "anandkanav92@gmail.com" ]
anandkanav92@gmail.com
3b973ffb45eaa591cd1b658a60bc480604c2573e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2227/60668/288820.py
84a8ef21d2e2f35a0dcb5b7d7fa5bc722b3f800e
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
448
py
def nums_6_CodeSec(n,k): seen = set() ans = [] def dfs(node): for x in map(str, range(k)): nei = node + x if nei not in seen: seen.add(nei) dfs(nei[1:]) ans.append(x) dfs("0" * (n - 1)) if n == 1 and k == 2: pri...
[ "1069583789@qq.com" ]
1069583789@qq.com
625e3de4d65d7963f766548a6552be5ceb7e07ad
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v8/googleads-py/google/ads/googleads/v8/services/types/mobile_device_constant_service.py
3cc926700a80a75c7dc7e1493076bc54422a080b
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
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 or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
b37a8243749b1cbb1fb274960fb8cc5a20a84f1b
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/14195637.py
19a1f73398d726879f251757b9c3658f6d49a240
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/14195637.py generated: Wed, 25 Jan 2017 15:25:33 # # Event Type: 14195637 # # ASCII decay Descriptor: [B_c+ => (D*_s+ => (D_s+ -> K- K+ pi+) gamma) (D*(2007)~0 => (D~0 -> K+ pi-) pi0) ]CC # from Configurables import Generation Generation().EventType = ...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
4c77319d7889ab024a1b16de93a2a5dd8c93f872
38c191b32e1d2a5e01edd81153246742fd75736b
/main.py
243262d6c2c2ef2c57bac74d3116a687cf985767
[ "MIT" ]
permissive
mzylowsk-legacy/sum
06501c898e7099accfd9b2fdaa28eeebfbfa21cf
50ddc08ea3bed33d6588039f5e5a1210795a0ff8
refs/heads/master
2021-07-20T10:38:18.319122
2019-11-04T22:45:48
2019-11-04T22:45:48
219,609,844
1
90
MIT
2020-01-11T10:47:08
2019-11-04T22:36:43
Python
UTF-8
Python
false
false
181
py
MAX = 100 sum_even = 0 sum_odd = 0 for i in range(1, MAX+1): if i % 2 == 0: sum_even += i else: sum_odd += i print(f'Suma parzystych {sum_even}\nSuma nieparzystych {sum_odd}')
[ "zylowskimichal@gmail.com" ]
zylowskimichal@gmail.com
0fed61fbca1565d067317ad908eaa721214ec63c
976042b68ab16fd064b09d07bcc8d5bed54bcab0
/runbot_merge/tests/conftest.py
75cad7a8e13be8fe713a3ed8fa828d18e29746f4
[]
no_license
odoo/runbot
cd713240f47741bf0dff4ffd30aba2840c590ce5
e0795ffaea9233a89005044bc2bc19fdb32f27a0
refs/heads/16.0
2023-09-03T21:05:05.725854
2023-07-20T12:41:43
2023-08-07T13:07:30
124,407,257
97
128
null
2023-09-14T17:41:15
2018-03-08T15:01:30
Python
UTF-8
Python
false
false
1,206
py
import pytest import requests @pytest.fixture() def module(): return 'runbot_merge' @pytest.fixture def page(port): s = requests.Session() def get(url): r = s.get('http://localhost:{}{}'.format(port, url)) r.raise_for_status() return r.content return get @pytest.fixture def de...
[ "xmo@odoo.com" ]
xmo@odoo.com
7cc61005f3bbaf56b3658836405ef32f6a45fc42
bd648de16cef62807071164304b860bec2fbaef9
/historical_data/admin.py
6a225e1ef6cbe11b4049ebeffafe541c83cdfe99
[]
no_license
webclinic017/rest_api_finance_yahoo
c1b8fbdcde46ad25aa52e6f69dee14619e1c5a23
3d6002c82a3c6b2ce63c4d1034700390c54e05fd
refs/heads/main
2023-08-05T10:08:58.586354
2021-09-24T18:39:23
2021-09-24T18:39:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from django.contrib import admin from .models import FinanceData class PanelAdmin(admin.ModelAdmin): list_display = ['id', 'symbol', 'date'] list_display_links = ['id', 'symbol', 'date'] search_fields = ['id', 'symbol', 'date'] admin.site.register(FinanceData, PanelAdmin)
[ "kalmykovalexander28@gmail.com" ]
kalmykovalexander28@gmail.com