blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
276994638158e4a1a3aa26b9b7699d9aceec773e
13fda09abb4fcfc781444a7d2fc8fd2eea6ba85d
/oop.py
b352af8917923c27a74570ca94bf97eb1d3d0cef
[]
no_license
talam16-meet/MEET-YL1
6054acc3c728bc0ec87383a0a76c0fac34e1b25b
709cd309dd5adc8ea1bf16d1bb758a8d7f575b97
refs/heads/master
2020-12-24T16:49:42.817788
2015-01-25T17:53:49
2015-01-25T17:53:49
26,919,783
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
class Animal: def __init__(self, name, age, color, size): self.name=name self.age=age self.color=color self.size=size def print_all(self): print(self.name) print(self.age) print(self.color) print(self.size) def eat(self,food): print("The animal"+ self.name +"is eating" +food) dog=Animal("N...
[ "talam16@meet.mit.edu" ]
talam16@meet.mit.edu
c24b316e6d4d67de4672be4579be67711019d114
fbcd8cdf46e25f21fe1a3b451c91f7656a5956fe
/echo_test.py
2741a0c81859489c3b4dbae588044301a56f8622
[]
no_license
charlesvestur/roulettebot
80e19017d9503828e65425b4888efef32412a350
bc003e1213d572a43b7bebd7d60c7896ae149c00
refs/heads/master
2021-01-12T07:43:12.509218
2016-12-21T00:15:19
2016-12-21T00:15:19
77,001,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
""" This bot listens to port 5000 for incoming connections from Facebook. It takes in any messages that the bot receives and echos it back. """ from flask import Flask, request from pymessenger.bot import Bot app = Flask(__name__) ACCESS_TOKEN = "EAAFFjl3J7o8BABnMmOb7wGFxkdwZCCotLe8wZBqzGN8sgi8NXr4wiQFySrZBgIfvqtYZBx...
[ "charles.vestur@gmail.com" ]
charles.vestur@gmail.com
d1d02ebeabcafcdd4157e3791d543858f2332505
9daa06ecc8b7e2c3eb2de23892f05622215ae478
/String_Task.py
dc2c12a8c275dc4943947d0d880e6dcb68e75e30
[]
no_license
iamtusharbala/CodeForces
2e83a2dacc8309a4f279e14144703f60ad929681
7a6094aa8a3b4970c66464434f37e2f995476acf
refs/heads/master
2022-12-02T05:45:15.547939
2020-08-20T19:38:40
2020-08-20T19:38:40
289,094,339
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
vowels = ['a','e','i','o','u'] word = input() low = word.lower() for letter in low: for vowel in vowels: if letter == vowel: print(letter,end="") #Not complete
[ "tusharbala284@gmail.com" ]
tusharbala284@gmail.com
46261e8107b98ee7f9dee8b09776fcb10537c93e
313cbbc5c467a75fbd92c129b85d43c05d3ee9ea
/get_clips_h5.py
6fe9d0a3f72b28f25989023cdfb872fa8d546e15
[]
no_license
northstars/tiktok
33f0e1b457b6f6a70e91c9a27273661e9342d389
b5563a6a3fb45e78ca75b075362dc46bde9f0e70
refs/heads/master
2023-06-25T07:20:17.182130
2021-07-30T15:23:06
2021-07-30T15:23:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,303
py
import gevent import gevent.monkey gevent.monkey.patch_all() import requests import time import json from get_raw_data import GetRawData from logger import logger from redis_client import RedisClient from config import FILE_DIRECTORY class GetClipsH5(): def __init__(self): self.get_raw_data = GetRawData() self....
[ "xinyu.shenxy@aliyun.com" ]
xinyu.shenxy@aliyun.com
ec5ed594824c39be425e3363f7b0190300e6414b
16bbf31e643ae540e11c0314608b8a3b7d0ebc85
/freestream/Video/__init__.py
b3e01f5108801c094be3366b16f5cdaeb7306814
[]
no_license
salekseev/freestream
27b8249d55110bb9bf9cba4332f6340a2a4bb4ba
ee95c78e85719caad9f2f421b60a100aa463a0a1
refs/heads/master
2020-05-20T18:17:03.685769
2015-11-29T12:22:43
2015-11-29T12:22:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
#Embedded file name: freestream\Video\__init__.pyo pass
[ "powerdeth@narod.ru" ]
powerdeth@narod.ru
d1d6b97460e79d00560138e5891249b1f7b342f8
8325dc22a4b747bd764ceaab465a161df48df6b5
/anycluster-mysql/MapTools.py
97b41e62cb7798fd08546680311ab740cbb3c65c
[]
no_license
biodiv/anycluster-mysql
949535efaf1037ef43e1dedfdaf9f13f3abe3efd
953412f4499546c56f16ea47b7be16d5ee80b502
refs/heads/master
2020-06-06T17:49:42.615129
2014-07-12T15:36:09
2014-07-12T15:36:09
21,769,738
1
1
null
null
null
null
UTF-8
Python
false
false
8,861
py
from django.contrib.gis.gdal import SpatialReference, CoordTransform, SRSException from django.contrib.gis.geos import Point import math import pyproj class MapTools(): def __init__(self, mapTileSize=256): EARTH_RADIUS = 6378137 # as in WGS84 # resolution at zoom 0 (?) # 2r pi = u...
[ "tom@anymals.org" ]
tom@anymals.org
ed3f0747a03be29e372e99f9cf90afa6a0bcb387
19f698ab74cba74ae52c780f5986d273fb319308
/SWExpertAcademy/D5/1242.py
e82ef68270ba4d0834822e4878c2c2d888764f6f
[]
no_license
naye0ng/Algorithm
15023f1070eb7cc5faca9cf7154af2ecffab92c2
1e8848e3e2574b01dc239212ea084b0a4837bc03
refs/heads/master
2021-06-25T14:18:46.117411
2020-10-16T10:47:37
2020-10-16T10:47:37
149,326,399
2
0
null
null
null
null
UTF-8
Python
false
false
3,505
py
""" 1242.암호코드 스캔 """ import sys sys.stdin = open('input.txt','r') match = [[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]] T= int(input()) for test_case in range(1, 1+T): N, M = map(int, input().split()) # 중복되는 암호문 입력 안받음 empty = str(0)*M arr = [0]...
[ "nayeong_e@naver.com" ]
nayeong_e@naver.com
ea3cacec23f228862cf93f6831077f51a7940d35
eb382b4663bcb1ddfd52edba649a98dbfacc3112
/Regression.py
6e8b1d519f93c47114385610925f81cbd7c072a4
[ "MIT" ]
permissive
linbinbin92/data_driven_microstructure_paper_material
8092b0187ceb586b84c90b75b849a4ffbca97af0
3bc5de1fa7f2571e9cd231e7fe096ffb0c09d2c9
refs/heads/main
2023-04-26T16:11:37.227669
2021-05-18T16:31:55
2021-05-18T16:31:55
368,582,390
0
0
null
null
null
null
UTF-8
Python
false
false
5,600
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jul 15 15:08:28 2019 @author: binbin """ ## import some libriaries ## import numpy as np import pandas as pd from time import time import matplotlib.pyplot as plt import seaborn as sns from sklearn import preprocessing from sklearn.model_selection im...
[ "noreply@github.com" ]
noreply@github.com
d2651dfe7a27ae9b91cd02e85847b717116e0299
a664b6391b34637b170a832c50fc5cc9e36dba23
/devel/lib/python2.7/dist-packages/hebi_cpp_api_examples/msg/_ArmMotionResult.py
357a0e91021ced0ec54c65c753df25c5aea38470
[]
no_license
Dr-Cthulhu/me134-toothless
7a5a62920531a64a81261f2243d5cf80f28a06a4
93d2a4af8575604be76a847113859a9054acb9a6
refs/heads/master
2020-04-26T02:31:42.472559
2019-03-06T07:00:26
2019-03-06T07:00:26
173,237,169
0
0
null
null
null
null
UTF-8
Python
false
false
3,709
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from hebi_cpp_api_examples/ArmMotionResult.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class ArmMotionResult(genpy.Message): _md5sum = "358e233cde0c8a8bcfea4ce193f8...
[ "espan@caltech.edu" ]
espan@caltech.edu
6a015200674dfb88d973f2955e2004a21aec8b4c
0abdef344627a14ecec96010c80951dc7ffa01cb
/v-e_django/bin/easy_install
900eef75e66d863c2edafb3488d51fd1aae8e579
[]
no_license
jwanglof/Board_Members
93dddc69509e9c4d2c46c8349126e7eef35c5647
b90701040c186c67c82bcb6d0a253450f404bd75
refs/heads/master
2020-07-08T00:40:45.398004
2012-09-20T17:32:51
2012-09-20T17:32:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
320
#!/home/johan/Git/Board_Members/v-e_django/bin/python2 # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c11','console_scripts','easy_install' __requires__ = 'setuptools==0.6c11' import sys from pkg_resources import load_entry_point sys.exit( load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() )
[ "jwanglof@gmail.com" ]
jwanglof@gmail.com
58794e3389ada30651487ebcafdf441f1dd0d6f3
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/web-platform/tests/tools/lint/tests/base.py
f624276e3be4c16d8acd1226e8f4e128812cbd2e
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
295
py
def check_errors(errors): for e in errors: error_type, description, path, line_number = e assert isinstance(error_type, str) assert isinstance(description, str) assert isinstance(path, str) assert line_number is None or isinstance(line_number, int)
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
c9abbdffbc9ceaacb7f27aa47602db149853dc16
a72cf64cc6d4f06f599732c0479690f029850039
/openrave/dandy/xy.py
bfdcb37d82b6c64c2816a87d9ab5c6da95111663
[]
no_license
PIULAB/DANDY
ac48e2445945cd55a59c1e7b25511064ff87ab46
203268f1a33d7a386b698175e72b09084dae4339
refs/heads/master
2020-04-06T04:03:57.208660
2017-02-24T16:37:33
2017-02-24T16:37:33
83,062,608
0
0
null
null
null
null
UTF-8
Python
false
false
2,065
py
from __future__ import division import redis, json, math import pyglet window = pyglet.window.Window() class point: def __init__(self, x, y): self.x = float(x) self.y = float(y) def norm(self): return point(self.x/window.width*2.0 - 1, self.y/window.height*2.0 - 1) def denorm(self): return poi...
[ "enrico.santoemma@gmail.com" ]
enrico.santoemma@gmail.com
c0767ef966cd5ef135f46ea1ca6c5e3a9f41fc96
d14acaf163b9ccc5867539542725727d2637e567
/glib/net_transport.py
8b62e4a55dc937c343aa41937a371457bc138dc1
[]
no_license
253627764/GGSvr
e1046c0ca2cb0f6e9b6666917a740c1caf8e054d
d64be42e8f42ca87c3064fcf7a10e1daef624d96
refs/heads/master
2021-01-15T21:40:22.948726
2012-11-29T18:00:33
2012-11-29T18:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,442
py
# coding: utf-8 from gevent import monkey; from gevent.server import StreamServer import glog # patches stdlib (including socket and ssl modules) to cooperate with other greenlets monkey.patch_all() # 网络消息最大长度 NET_MESSAGE_MAX_LEN = 1024 * 1024 # 服务器实例 global server # 回调函数(from gnet) global func_on_data...
[ "coollen.mmx@gmail.com" ]
coollen.mmx@gmail.com
da231b56ceb94f006c5e1dab4259a091767e036e
66d776d4dbcb3e6668533ea8c1143ec399550985
/qasrl/pipelines/qfirst_pipeline.py
0b18c51bdb3b23e84bec4845033880af9063061f
[ "MIT" ]
permissive
julianmichael/qasrl-modeling
53838cf7b75d4c83e4e304b87ad4ae5b5f9ded9e
c823d7f59229ca65e19416c0aed99d399d9717d1
refs/heads/main
2023-08-13T00:51:15.376913
2021-10-13T21:32:07
2021-10-13T21:32:07
384,255,356
1
1
MIT
2021-10-06T10:24:15
2021-07-08T21:46:24
Scala
UTF-8
Python
false
false
15,838
py
# completely ridiculous hack to import stuff properly. somebody save me from myself import importlib from allennlp.common.util import import_submodules importlib.invalidate_caches() import sys sys.path.append(".") import_submodules("qasrl") from typing import List, Iterator, Optional import torch, os, json, tarfile,...
[ "julianjohnmichael@gmail.com" ]
julianjohnmichael@gmail.com
9e61d55620530f52a475968d5085f2deb6d23ba7
44e8fc4f8c1a334324ac82dfb0e22fd8b9b7ddb0
/GA_Sudoku_Solver_Code/Population.py
6aa54c52232a6c0fce2abd2ce02750d3cca6bbfd
[]
no_license
tomaspulquerio/CIFO_Project_20-21
188850b36713e3aa54e80f18c2d9da89f8c74535
4932f9404e281675f67432e657d35976a1abb7e7
refs/heads/main
2023-05-18T16:51:37.485781
2021-05-28T22:42:10
2021-05-28T22:42:10
371,817,567
0
0
null
null
null
null
UTF-8
Python
false
false
2,743
py
from numpy.core.shape_base import block from setup import Number_of_Digits, Number_of_individuals import setup as v import random import numpy as np import random import operator from past.builtins import range import Individual as Individual class Population(object): def __init__(self): ...
[ "noreply@github.com" ]
noreply@github.com
cdf1a1ea325de3a9e17ef5a3d8bc8c88d0cbcd5c
c4d7ae80706b8ee954e671df83de673b8ab4ec8b
/cms34/resources/letters/blocks.py
348e4efb791054ddc461c7e9d5c5e25fca3ef363
[]
no_license
motor23/cms34
b63c7cf6e493d78f25f7ee09510833570742cd8a
229887486bcb12af7ad70d764f05b73acb7eda81
refs/heads/master
2021-01-17T14:02:24.511669
2019-03-06T08:08:50
2019-03-06T08:08:50
31,367,780
0
2
null
2019-03-06T08:08:51
2015-02-26T13:16:30
Python
UTF-8
Python
false
false
291
py
# -*- coding: utf-8 -*- from cms34.mixed import XF_Block from .fields import xf_rules class XB_LettersSettings(XF_Block): name = 'letters_settings' label = u'Настройки обращений' fields = [ xf_rules, ] xb_letters_settings = XB_LettersSettings()
[ "slivtime@gmail.com" ]
slivtime@gmail.com
e5a5ea7e6bb62ab0197ca34278bcefb72010fba6
a5d745b7484c7ff788e2c85a0b5e1e41a1856166
/libmdwiki/Site.py
c6321393ecb4725a8928afc9ed4cf956a6a39f49
[]
no_license
perkun/mdwiki
10c886f55a05c6d2323fd9d569726c5df5cbd451
d2d3abdf064f2ea4e0abd10ddb37d3d2e97c7370
refs/heads/master
2023-08-07T21:24:57.932950
2021-09-29T13:05:58
2021-09-29T13:05:58
385,522,030
1
0
null
null
null
null
UTF-8
Python
false
false
8,650
py
import re import os from libmdwiki.utils import mkdir, hash_filename, change_file_ext from libmdwiki.Link import Link from libmdwiki.MdFile import MdFile import pypandoc import markdown class Site: PROCESSED_FILES = [] # static variable PROCESSED_FILE_NAMES = [] PATH_HASH = {} INDEX_PAGE = '' ...
[ "g.p.dudzinski@gmail.com" ]
g.p.dudzinski@gmail.com
570a77ea79aa89a84e08f5067b576573244229ad
45fad4d1c0e892fd612cd03de95a532961a07086
/example/rnn/demo_chn_predict_lstm.py
ef4c34b417787691df0f71a654156f527188610d
[ "Apache-2.0" ]
permissive
GuohongLi/mxnet
3b962c04113e9b09681dbd595f228d05387503fc
74ff6c0adc77a71f3da526772061b9c829ea6aaf
refs/heads/master
2020-05-29T11:51:28.270383
2016-08-26T03:10:42
2016-08-26T03:10:42
58,430,665
0
0
null
2016-05-10T04:51:50
2016-05-10T04:51:50
null
UTF-8
Python
false
false
4,592
py
#! /usr/bin/Python # -*- coding: utf8 -*- import sys import mxnet as mx import numpy as np import random import bisect # set up logging import logging reload(logging) logging.basicConfig(format='%(asctime)s %(levelname)s:%(message)s', level=logging.DEBUG, datefmt='%I:%M:%S') from lstm import lstm_unroll, lstm_infere...
[ "noreply@github.com" ]
noreply@github.com
5547d118a16dcd0b4cebc4a30404d27ad74d3fe2
fca6a986e735843b667e3714b11cafaed0f390e8
/fastai2/text/models/core.py
235083d04a808132f5d60a270d60480a07014007
[ "Apache-2.0" ]
permissive
mbrukman/fastai2
2c631b515a13738800b5bcce781be6dac807368a
404383912503b69b244e175f3b26a06b532ee4bd
refs/heads/master
2020-11-27T17:59:33.125318
2019-12-21T08:22:48
2019-12-21T08:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,013
py
#AUTOGENERATED! DO NOT EDIT! File to edit: dev/33_text.models.core.ipynb (unless otherwise specified). __all__ = ['LinearDecoder', 'SequentialRNN', 'get_language_model', 'SentenceEncoder', 'masked_concat_pool', 'PoolingLinearClassifier', 'get_text_classifier'] #Cell from ...data.all import * from ..core im...
[ "sylvain.gugger@gmail.com" ]
sylvain.gugger@gmail.com
cba39e9012eef0fb5bbb03ecff613f4737cf9388
e683b8d4d4a88c8962a69f34f058dc1695964f6f
/study wendang/Python/python接口自动化测试/venv/Scripts/runxlrd.py
ac53a83982a6a47907d4c8ea0c6c0192448b0ed7
[]
no_license
humingyue0920/TestLearn
cd98b0c90445a7a1c4d8c7eec4b723e5c9d0a840
0c4d090cf505a3338c9a299f003ae3e9bfba5368
refs/heads/master
2020-09-28T01:24:57.286986
2020-03-17T07:13:09
2020-03-17T07:13:09
226,654,492
0
0
null
null
null
null
UTF-8
Python
false
false
16,322
py
#!E:\python接口自动化测试\venv\Scripts\python.exe # Copyright (c) 2005-2012 Stephen John Machin, Lingfo Pty Ltd # This script is part of the xlrd package, which is released under a # BSD-style licence. from __future__ import print_function cmd_doc = """ Commands: 2rows Print the contents of first and last row in ...
[ "1325445822@qq.com" ]
1325445822@qq.com
d7626806462066dcae66a61e537773bdcd41fefb
ab4d7672f8a8d9663a5986df32c6e7d705d4e479
/blockchain/src/CertificateStore.py
10826db91f12113a0c87c89019f086e6cefb1da9
[]
no_license
Chain-RuIe/educertify
49663bf7817aeee44e9ad83928f15433e583e6ac
e65b64b68873d66a0b0727b1f443d94089c2e242
refs/heads/main
2023-07-17T02:32:47.460234
2021-09-08T04:08:31
2021-09-08T04:08:31
401,072,837
0
0
null
2021-09-06T09:53:35
2021-08-29T15:12:43
JavaScript
UTF-8
Python
false
false
1,202
py
import smartpy as sp import traceback from datetime import datetime as dt from dateutil import parser class CertificateStore(sp.Contract): def __init__(self, certId: str, name: dict, timestr: str): try: timeObj = parser.parse(timestr) fName = name["fName"] lName = name["...
[ "chenxihao0627@gmail.com" ]
chenxihao0627@gmail.com
86c8c63dd7cb2119fe78cfda723d21ef56dbcfaf
81cabe1833537c23a200981d2d4e3ad97cf16699
/apps/users/migrations/0005_auto__add_field_profile_featured_image.py
1591353eddf17a2670cdaaa9e4216be7e828b202
[ "BSD-3-Clause" ]
permissive
Mozilla-GitHub-Standards/93f18f14efcf5fdfc0e04f9bf247f66baf46663f37b1d2087ab8d850abc90803
ec186ac82670f5020083a543edd4f2d99d7de7dd
4e374b4d52dfb9039ebe543e7f27682189022307
refs/heads/master
2020-05-02T18:12:47.394246
2019-03-29T04:45:24
2019-03-29T04:45:24
178,122,067
0
0
BSD-3-Clause
2019-03-28T03:49:18
2019-03-28T03:49:17
null
UTF-8
Python
false
false
5,347
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Profile.featured_image' db.add_column('users_profile', 'featured_image', self.gf('django.d...
[ "paul@eval.ca" ]
paul@eval.ca
c2356c672e81c8d0028769668339da65ff1697aa
f47863b3a595cbe7ec1c02040e7214481e4f078a
/plugins/waf/webknight.py
d46383a64c36e0f5877762772612a77f656d3ac9
[]
no_license
gobiggo/0bscan
fe020b8f6f325292bda2b1fec25e3c49a431f373
281cf7c5c2181907e6863adde27bd3977b4a3474
refs/heads/master
2020-04-10T20:33:55.008835
2018-11-17T10:05:41
2018-11-17T10:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
import re from config import HTTP_HEADER __product__ = "WebKnight Application Firewall (AQTRONIX)" def detect(content, **kwargs): headers = kwargs.get("headers", None) status = kwargs.get("status", None) detection_schema = ( re.compile(r"\bwebknight", re.I), re.compile(r"webknight", re....
[ "zer0i3@aliyun.com" ]
zer0i3@aliyun.com
3bfc14d1d230a18045d9e8d9fb084c3c5c9a87a0
3fe1b6f36bfd02156f606cf90797d69b18dd19d2
/creme/utils/inspect.py
bf12fcf5404537a35e4d08489d98d2d98889f465
[ "BSD-3-Clause" ]
permissive
mihir-thakkar-ai/creme
a19a1975bb462a1a93046b6ea55830e88846cb88
008b0c1beb26b36b448fc3d04537e02e66d402b3
refs/heads/master
2022-12-18T01:15:18.132117
2020-09-15T20:17:16
2020-09-15T20:17:16
296,288,773
0
0
BSD-3-Clause
2020-09-17T10:04:27
2020-09-17T10:04:26
null
UTF-8
Python
false
false
1,404
py
"""Utilities for inspecting a model's type. Sometimes we need to check if a model can perform regression, classification, etc. However, for some models the model's type is only known at runtime. For instance, we can't do `isinstance(pipeline, base.Regressor)` or `isinstance(wrapper, base.Regressor)`. This submodule th...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
bd021395db398fba41dc7770859105bfa1f28ffd
8119def01c04dfc4cec1ef77df998e0beae81746
/blurr/modeling/all.py
49af530a7c6786d68f8b4bb17407c0b8edef0c83
[ "Apache-2.0" ]
permissive
bogdansalyp/blurr
4fdd54e833c3f56d72f0de2c86c731b7eaeddfcc
77351fb4585b2383ee1507cec9f6625787e4e368
refs/heads/master
2022-12-22T16:11:32.284929
2020-08-31T19:01:46
2020-08-31T19:01:46
292,948,134
0
0
Apache-2.0
2020-09-04T21:16:02
2020-09-04T21:16:01
null
UTF-8
Python
false
false
174
py
from ..utils import * from .core import * from .language_modeling import * from .question_answering import * from .token_classification import * from .summarization import *
[ "wgilliam@ohmeow.com" ]
wgilliam@ohmeow.com
c98395864af6a107b993684c44803e2fb2b6fca7
2181d99f84f4f7556efb13ac203a533fc87f9acd
/tools/CodeGenerators/codegen/app/src/generated/Gui/ComboBoxes/LithologicUnitInBedComboBox.py
9ed3aae608989a0c741cc39df512c59f76b25e5c
[]
no_license
BackupTheBerlios/profilelogger-svn
0f80fd8f63c3b413dc06ecc6d2be623f8ae2cc8c
5ba067205316b0955f0c8876dd8b0f10672abc0a
refs/heads/master
2020-05-18T16:33:31.154612
2010-04-24T16:51:28
2010-04-24T16:51:28
40,822,739
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
from InBedComboBox import * class LithologicUnitInBedComboBox(InBedComboBox): def __init__(self, parent, managementDialogClass, finderClass): DataSelectionComboBox.__init__(self, parent, LithologicUnitInBedManagementDialog, ...
[ "jolo@28dda339-3e7f-0410-9691-cab309f6cb01" ]
jolo@28dda339-3e7f-0410-9691-cab309f6cb01
5224c180dd700c85f983507382cc4bb9c80b8458
58e42dd58cfa8251e4c71cc46f0540d83816a915
/env/Lib/site-packages/django/contrib/gis/db/backends/oracle/operations.py
624afd3139cdd02ac437e5a38bea8757990b6987
[]
no_license
AsifAnam180228/myapp01
811f5e9991ba751686638c8cc168a218ac0cbcb5
63ce15a857d5283517372f7265c6c2e198ce8a2a
refs/heads/master
2023-08-05T11:50:59.051937
2020-07-04T06:05:58
2020-07-04T06:05:58
277,047,086
0
0
null
2021-09-22T19:22:50
2020-07-04T05:45:33
Python
UTF-8
Python
false
false
8,319
py
""" This module contains the spatial lookup types, and the `get_geo_where_clause` routine for Oracle Spatial. Please note that WKT support is broken on the XE version, and thus this backend will not work on such platforms. Specifically, XE lacks support for an internal JVM, and Java libraries are required to use...
[ "48431554+AsifAnam180228@users.noreply.github.com" ]
48431554+AsifAnam180228@users.noreply.github.com
d699078a14d59888f3d7cc155be587b3f775f192
294d5eede3c06909d069a89906cfee02bf0ade5a
/static_saliency.py
e5a6c9096bb1d264df2c84addd43e01ec4edac8e
[]
no_license
JoshMarangoni/Saliency-Map
e481bfbdd00dc0808a3b3adcf655519709b4bc93
8d6f4a73af83d9cc08fd6dee7af16db67d954f57
refs/heads/master
2020-07-31T00:11:00.047780
2019-09-23T23:58:22
2019-09-23T23:58:22
210,411,832
1
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
import argparse import cv2 ap = argparse.ArgumentParser() ap.add_argument("--image", required=True, help="Path to input image") ap.add_argument("--save", required=True, help="Path to saved image directory") args = vars(ap.parse_args()) def resize(img): scale_percent = 60 # percent of original size width = in...
[ "joshua.marangoni@mimik.com" ]
joshua.marangoni@mimik.com
77cb7a10e17ec35a878bf48dc87a6aec95043031
cc71a57db77ae90b87aaed63b10d52257d18bf12
/commons/i_o.py
45d58e83e9b8c21025750dd6a4c9a5d82448ecf4
[]
no_license
mcPear/pallet-detection
ad50aa28c0c384b12b1812b24e723f520d18a10b
08747b60011f6a81897206fda96d3a8c93e49e77
refs/heads/master
2022-04-13T01:09:55.003240
2020-02-01T12:45:26
2020-02-01T12:47:25
220,028,180
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
import cv2 def save(img, file, binary=True): res = cv2.imwrite(file, img * 255 if binary else img) print("saved" if res else "save error", file) def show(img): cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows()
[ "maciek.gruszka@gmail.com" ]
maciek.gruszka@gmail.com
41989eaeaccb5a9855dcc95ec5d53d8bde036df2
1e4bc50d8e088333a7d98ca3d8bbf9269087e509
/python/pyg/web/test.app.py
55536645748e5d22ac5f9894fd6a0f6f746a67a7
[ "Apache-2.0" ]
permissive
pksebben/paws
10660fdd2b6a6ff757db08266d537b81d2d40ebb
2c8efa1d7e360867e818dfadce016cf7aee536cc
refs/heads/master
2023-01-24T02:04:03.377461
2020-11-30T18:02:39
2020-11-30T18:02:39
306,717,127
0
0
null
null
null
null
UTF-8
Python
false
false
4,532
py
import os import unittest import tempfile import random import string import datetime as dt import flask from flask import session from sqlalchemy import Table, MetaData from sqlalchemy.ext.declarative import declarative_base from sqlite3 import IntegrityError import pyg.web.app as app from pyg.web import db from py...
[ "benmorsillo@gmail.com" ]
benmorsillo@gmail.com
970f37c8c8150015e5c53e908c4f211d7ab5e8fa
c4c1e8ce766f498f3f55c308b32de787ec7940b1
/tours/admin.py
20a4aaf16a6f4197eab72a7cc123b818502c839f
[]
no_license
Code-Institute-Submissions/the-new-gallery
467beb9f882642d15feb4aae05f01cb0da0d9162
7976630645eb093d66903e4123082094c2fa9145
refs/heads/master
2023-02-09T00:01:46.458033
2020-12-31T21:27:34
2020-12-31T21:27:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from django.contrib import admin from .models import Tour admin.site.register(Tour)
[ "david.a.connaughton@gmail.com" ]
david.a.connaughton@gmail.com
fbe1642a192ceadbd4ed86b0514b3672ce685f94
4657058d021386c1a833c175716c33d8345c2bdb
/models.py
3293de1703e5aca055d769f935e9a9902c6f7074
[ "MIT" ]
permissive
v4ld3rr4m4/CreswellGrades
161cd42383dc013dd5f92b61507e9428de7a2ba2
1a05e5ac7dd60ec0150e65fdc1fc8f17809676fa
refs/heads/master
2023-04-20T11:47:38.468198
2020-03-12T18:45:09
2020-03-12T18:45:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,044
py
from app import app, db from flask_sqlalchemy import SQLAlchemy from flask_user import UserMixin, UserManager import flask_bcrypt import datetime db.metadata.clear() class Role(db.Model): __tablename__ = 'role' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(50), unique=True) us...
[ "ericz1803@gmail.com" ]
ericz1803@gmail.com
0b289c610f9bbc402ce9797ea547114ffc552103
7567eebf9e0a78a276ff781df14192fb8d263ead
/esp_2015/proposals/__init__.py
0e83b58819be635e9eb8fa70acd44267c088d79f
[ "MIT" ]
permissive
euroscipy/esp_2015
7748beeeabcbfbe149d13af1d3479a5eb94f0e69
116fac6552c8864502b6f6b009cfd41e951c85f6
refs/heads/master
2021-01-18T19:11:23.214431
2015-08-05T09:19:50
2015-08-05T09:19:50
30,090,014
1
0
null
null
null
null
UTF-8
Python
false
false
351
py
# -*- coding: utf-8 -*- __about__ = """ In addition to what is provided by the "zero" project, this project provides thorough integration with django-user-accounts, adding comprehensive account management functionality. It is a foundation suitable for most sites that have user accounts. """ default_app_config = "esp_...
[ "pdebuyl@pdebuyl.be" ]
pdebuyl@pdebuyl.be
98e8617fddd53b570991cb56f984fbf05598530a
34a2046714261a5e42692ab7a656eec708395243
/appcode/mri/results/create_nifti_from_raw_data.py
893307757154dbb38935566262c95113f314919d
[]
no_license
royshau/thesis
a64893ca25981bd8fff394161829d0147934a324
a02a8cfea9e00bd98289419eb9f7fb78c36c028e
refs/heads/master
2021-06-03T19:24:21.110455
2020-07-22T13:30:59
2020-07-22T13:30:59
115,911,615
0
0
null
2018-01-01T10:16:46
2018-01-01T10:03:25
Python
UTF-8
Python
false
false
6,904
py
# !/home/ohadsh/Tools/anaconda/bin/python import numpy as np import os from appcode.mri.k_space.k_space_data_set import KspaceDataSet from appcode.mri.data.write_nifti_data import write_nifti_data from appcode.mri.data.mri_data_base import MriDataBase from common.files_IO.file_handler import FileHandler from appcode.mr...
[ "shohad25@gmail.com" ]
shohad25@gmail.com
5427a1d7e16430821f0911c8ba3e7c3aa7922cd5
239a58fef4d92db892719bcb9acc77b03066a7f0
/manila_tempest_tests/tests/api/admin/test_share_instances.py
1202b9d4e2af2857f4d913e1bc25b387d6abee2b
[ "Apache-2.0" ]
permissive
wzhmei/manila
7cc39aaaf1a834a607361db42685cea899280ea5
35b8ac7c05048fe6d78d06a040823799f1d76397
refs/heads/master
2021-01-18T11:42:08.174590
2016-01-13T01:09:13
2016-01-13T01:09:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,287
py
# Copyright 2015 Andrew Kerr # 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 a...
[ "andrew.kerr@netapp.com" ]
andrew.kerr@netapp.com
60a067245e86443379501be2d7e30073b6d0ecf2
ebe2d9511d0cdfb08acbf7e67bde070b88f82f19
/luiza_project/shopping_facil/manage.py
472db88c85f375458530c1b7416762d6049b1f2c
[]
no_license
IsadoraFerrao/Christimas-WebSite-in-Django
2badb2acbd3adb4e6de8d53f48ba076e2218a2e4
270e849a1f336e936ca0c4ef1cca3a1f7342c760
refs/heads/master
2023-01-22T06:21:37.671180
2020-11-24T01:07:17
2020-11-24T01:07:17
312,830,003
1
0
null
null
null
null
UTF-8
Python
false
false
670
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'shopping_facil.settings') try: from django.core.management import execute_from_command_line exce...
[ "isadora-gf@hotmail.com" ]
isadora-gf@hotmail.com
abb42875e1b068997227a4f9fe42b13fc2e92114
25bf703d6325ee8a4f364e6ec50000f9ada7f038
/tools/impackets/examples/ntlmrelayx.py
d714c043007af08e1d13694dbd0d0baaa35511dc
[ "Apache-2.0", "Apache-1.1", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
inspirasiprogrammer/hackthebox
319f3e55cc3dbcbed86d2abdb3db17d44177df96
a32f2ad56377b8868eaec1c9b9b3298a061bb88a
refs/heads/master
2023-04-15T01:49:07.597866
2020-12-19T15:07:27
2020-12-19T15:07:27
324,674,017
0
0
MIT
2023-03-24T01:25:39
2020-12-27T02:44:29
null
UTF-8
Python
false
false
20,567
py
#!/usr/bin/env python # SECUREAUTH LABS. Copyright 2018 SecureAuth Corporation. All rights reserved. # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # Generic NTLM Relay Module # # Authors: # Alberto Sol...
[ "cyberwr3nch@github.com" ]
cyberwr3nch@github.com
d9bc82b5019fa096038358754b4f3fd1151fff5f
cc9b34117f6188a8447a1cd2ff919fa292ed3607
/DataFlair/demo/views.py
1cf2af3d822a429492df488858312a5513d0ada9
[]
no_license
ranjeetraj198/DataFlairDjango
08c85a8c9e8530fa535f169b5f9e29662db8bb62
705c185003c8236b3cd73d1e905000780607380c
refs/heads/master
2022-09-12T09:44:42.075222
2020-05-23T12:16:58
2020-05-23T12:16:58
266,243,711
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from django.shortcuts import render from django.http import HttpResponse def index(request): return HttpResponse("DataFlair Django Tutorial<html><body><h1> Hello World DataFlair Dango tutorials</body></html>")
[ "rk.justrk@gmail.com" ]
rk.justrk@gmail.com
4f319a54ab748f672f231567bca2e41924d9b0f8
1d00d2170c84bf5ac2010e614b3425ec90cd8e30
/predictors/6-random forest.py
6cf2b88603bf0ef75cf6718f3b47ab730eac7c65
[]
no_license
Skjemaa/predicting_phone_calls
4cf613320d68add14db218d54f121c631cf9cbfe
18c37d1539ef2a741d3419ad4baca85aa0b96961
refs/heads/master
2021-04-30T05:42:49.589620
2018-02-13T19:06:41
2018-02-13T19:06:41
121,423,522
0
1
null
null
null
null
UTF-8
Python
false
false
6,431
py
import numpy as np import pandas as pd import datetime import time as t # followings are used to lead predictor, not all of them used in this code from sklearn.ensemble import RandomForestRegressor,GradientBoostingRegressor,AdaBoostRegressor from sklearn.linear_model import SGDRegressor from sklearn import pre...
[ "noreply@github.com" ]
noreply@github.com
b65efc5b76e81a98e3d8dbd1d9eeb2f0c675189f
3940b4a507789e1fbbaffeb200149aee215f655a
/lc/399.EvaluateDivision.py
c17e9249c1acf2d9f8603f76a20ff582cbf7453c
[]
no_license
akimi-yano/algorithm-practice
15f52022ec79542d218c6f901a54396a62080445
1abc28919abb55b93d3879860ac9c1297d493d09
refs/heads/master
2023-06-11T13:17:56.971791
2023-06-10T05:17:56
2023-06-10T05:17:56
239,395,822
0
0
null
null
null
null
UTF-8
Python
false
false
3,013
py
# 399. Evaluate Division # Medium # 2633 # 209 # Add to List # Share # You are given equations in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating-point number). Given some queries, return the answers. If the answer does not exist, return -1.0. # The input ...
[ "akimi.mimi.yano@gmail.com" ]
akimi.mimi.yano@gmail.com
4c796b3ab6d92412c4460e052b94a288542ba6a5
e4e6558c23a3838aa60b3f68ee77d3be0cbb3cc7
/tests/test_rfa_tw.py
be2d083d47581fe8b09405dcc852fb0c75d2237b
[]
no_license
henry0910/BenarReports
2342889242322e872291d3554d5ab144376a6720
c44dadff6c19f858bfb1a00d3b335f09404aa46a
refs/heads/master
2020-05-04T03:09:51.517341
2019-04-05T16:47:32
2019-04-05T16:47:32
178,941,570
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
import unittest from rfa_analytics.rfa_analytics_twitter import Twitter from config_test import TWITTER_TEST latest_snapshot_time = TWITTER_TEST["latest_snapshot_time"] previous_snapshot_time = TWITTER_TEST["previous_snapshot_time"] first_day_of_report_period = TWITTER_TEST["first_day_of_report_period"] last_day_of_re...
[ "noreply@github.com" ]
noreply@github.com
d1215da56060bf8c62f05a94689029b89967d1aa
c7e9d6dcc94b23e38e89ee9f9e061888a0530c1a
/orders_management/migrations/0003_auto_20210609_1342.py
6d9c7002a6fdaa4d50af5e1d2bff05f37dd9cda3
[]
no_license
clugraphy/gamified-pizza
141f91d77bcd3d6e5681dd2feae5eec870c0fd07
41130f738c689bd10265031b78a270e4c407f8b3
refs/heads/main
2023-05-31T00:41:02.421525
2021-07-05T13:53:13
2021-07-05T13:53:13
354,285,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
# Generated by Django 3.1.7 on 2021-06-09 10:42 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('orders_management', '0002_orderitem_pizzereum'), ] operations = [ migrations.AlterField( model_...
[ "alexandru.catalin.stroe@gmail.com" ]
alexandru.catalin.stroe@gmail.com
96691a5fa626523d35610942cb5396236a1ec649
51243d0dbbf518992262185f98a6b49da01e526d
/core_plugins/shapeshift.py
3610f5bd82a2cbf89557c7ebd9969eeb9e4ac6dd
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
iswt/walletgenie
3eb331c02821ff5bceef4c837ccae61862c4fed8
f03d19b8d5170de5fceb467ab92d7453cabab6c0
refs/heads/master
2021-03-12T20:14:44.167171
2017-06-29T02:27:10
2017-06-29T02:27:10
38,142,798
14
2
null
2017-06-29T02:27:11
2015-06-27T02:01:24
Python
UTF-8
Python
false
false
19,576
py
import sys import os import json import datetime try: import requests except ImportError: print('missing requests module, install it with: `pip install requests`') from walletgenie_plugins.walletgenie_plugins import BasePlugin class Shapeshift(BasePlugin): ''' https://shapeshift.io/api.html ''' plugi...
[ "jake.zeroday@gmail.com" ]
jake.zeroday@gmail.com
3908d9b3c16d20d7a6a17d0e1cf59b29810a1eb0
8ae36a304f6e843d871856985867189de2ad7630
/src/students/migrations/0001_initial.py
a89fe7ef7e226d5f4a44a967ad28e7cb4dae4020
[]
no_license
yadrit/students_tracker
ed36a0adfac5faaabb37bff729c2c216389ade5b
bedc76ec57048ebec7b442cfc6078e123424bb06
refs/heads/master
2022-12-12T04:57:49.699199
2020-02-13T17:18:36
2020-02-13T17:18:36
230,735,801
0
0
null
2022-12-08T03:33:03
2019-12-29T10:37:13
Python
UTF-8
Python
false
false
734
py
# Generated by Django 2.2.9 on 2019-12-29 11:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "yadritig@gmail.com" ]
yadritig@gmail.com
316dc52a50557a5da81ff613a0bec19e85740941
b7266ab27ed4bba2f161e25fb5d8ef017ff0a10f
/bookit/session/migrations/0004_event_views_count.py
566d576bbf0eb9cef4b5941d55a1739527084d88
[]
no_license
Srijan-Ramavat/bookit-api
0a1010c226290d6ba9f2c64f8988b16e57ff0dc4
ecdde9fe37d1ed3a27760dc41aca5a03e576618c
refs/heads/master
2022-10-08T17:45:38.902622
2020-06-07T14:03:38
2020-06-07T14:03:38
263,120,301
1
0
null
2020-06-07T14:04:39
2020-05-11T18:09:52
Python
UTF-8
Python
false
false
387
py
# Generated by Django 2.2.2 on 2020-05-23 12:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('session', '0003_auto_20200523_1119'), ] operations = [ migrations.AddField( model_name='event', name='views_count', ...
[ "srijan.ramavat@gmail.com" ]
srijan.ramavat@gmail.com
d0a0295eefa927e33ddd684a1e4814a67925cb7e
c8498f59315117e9745e483a58f667784b316269
/scripts_gpio/ADC0834.py
0ed2fb9b0455e918816c44953cf023af0541482c
[ "Apache-2.0" ]
permissive
BertrandFreylin/WeatherStation
753e2db071b46c320e6ef4daf3fa5ccf9fc7ea90
4ab6f5af2af02a83c109ecb79498e4c92e5af5d2
refs/heads/master
2022-10-16T06:35:04.932190
2020-06-14T18:16:41
2020-06-14T18:16:41
259,483,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
#!/usr/bin/env python3 import RPi.GPIO as GPIO import time ADC_CS = 5 ADC_CLK = 19 ADC_DIO = 6 def setup(cs=5,clk=19,dio=6): global ADC_CS, ADC_CLK, ADC_DIO ADC_CS=cs ADC_CLK=clk ADC_DIO=dio GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) # Number GPIOs by BCM mode GPIO.setup(ADC_CS, GPIO.OUT) # Set pins' m...
[ "bfreylin@telaria.com" ]
bfreylin@telaria.com
4c18b17007a61eeb0415eb384a1b4980e476f0ba
0d01d65ed67faf09b31b6333013393194b4a25d0
/twitter.py
1bfef6c0550af908369c3cbe09c1674970e8f41f
[]
no_license
AshithaL/twitter-streaming
0d5b16c56c92810496f6b635b03024679cc2c10b
993b6e87fd1d546dcdde5c12db7e49791a5f5890
refs/heads/master
2022-11-09T02:52:17.843457
2020-06-15T04:43:41
2020-06-15T04:43:41
270,915,616
0
0
null
null
null
null
UTF-8
Python
false
false
2,221
py
import socket import sys import requests import requests_oauthlib import json from sql_connection import conn # Replace the values below with yours ACCESS_TOKEN = '1252513694992330753-YpQY1SlyBWIN66ngHXeM8hcZWvvTeZ' ACCESS_SECRET = 'reoC4xZdgp3bqRPjTC2ptxn00vUPrftWlhprHOBIp29jA' CONSUMER_KEY = 'eLsiPuE8adtsJUt8hr0iMku...
[ "you@example.com" ]
you@example.com
9bda4808db2d583a52dd7656072f9ae00bab5ac1
47e6e82f554eac76228d0f46d7514872b03cc0fa
/prescription/prescription/settings.py
b4e2bb7f8399efd4d914040a27912aa5f3b2f3ed
[]
no_license
Lazy-Chowhound/TCM_Data_Collection_Query_System
6c17a4d2e92aa95b8c2c6fc96c021fd905c5a683
8c5c77d858067e484b5f995e4356b284bde0cf64
refs/heads/master
2021-02-12T17:16:43.741693
2020-04-23T06:21:43
2020-04-23T06:21:43
244,611,041
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# -*- coding: utf-8 -*- # Scrapy settings for prescription project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/lates...
[ "1103036472@qq.com" ]
1103036472@qq.com
31f19af81a8c9456a85f2bb8d9ab67906b28f744
a034d4ba39789e4a351112c46dd04a38180cd06c
/appengine/findit/findit_v2/model/atomic_failure.py
8c09489dd8dc8824de2e446a083c0238f3c8698b
[ "BSD-3-Clause" ]
permissive
asdfghjjklllllaaa/infra
050ad249ab44f264b4e2080aa9537ce74aafb022
8f63af54e46194cd29291813f2790ff6e986804d
refs/heads/master
2023-01-10T21:55:44.811835
2019-07-01T14:03:32
2019-07-01T14:03:32
194,691,941
1
0
BSD-3-Clause
2023-01-07T07:12:37
2019-07-01T14:45:29
Python
UTF-8
Python
false
false
3,725
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from google.appengine.ext import ndb from findit_v2.model.gitiles_commit import Culprit class FileInFailureLog(ndb.Model): """Class for a file mentioned...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
b201c3d27dbf97056d947353487f53ed699356b7
9fdc3ce199fb702b3bfa088ec204af388d12fc8d
/src/create_aggregate_train_corpus.py
492294249c54c0f49992422a0335c673e61a2369
[]
no_license
16dprice/cs475
32c770f48a7aaf11be7c506d003d1b387500f557
a93d5b0cd4202f8ce9ae88c427bcd29d9d0b602c
refs/heads/master
2020-07-17T17:33:51.678832
2020-07-04T17:48:49
2020-07-04T17:48:49
206,063,111
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from html_parsing import parsing_aggregator from pdf_reading import PdfConverter import os ################################################## Parsing Aggregator ################################################## aggregator = parsing_aggregator.ParsingAggregator() aggregator.save_train_corpus(".") ################...
[ "donald.price077@topper.wku.edu" ]
donald.price077@topper.wku.edu
e2e0ccb848174140d536ef273ee87805e67780dd
f7cbcb1ce48ec8f8f32b7a29d8e9430e81c49ade
/src/ganon/tax.py
ba33638c5787fabd0864e3e5e31bb4785509cd65
[ "MIT" ]
permissive
ddeemerpurdue/ganon
47a1a8feedf82c9908a1523e9aed4f37c9ad326b
6d3bc761cf1e5f5c968abe429fe86306f329f6e0
refs/heads/master
2023-01-30T16:41:15.984058
2020-11-26T13:31:07
2020-11-26T13:31:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,510
py
#!/usr/bin/env python3 from collections import defaultdict class Tax: def __init__(self, tax_files: list=None, ncbi_nodes: str=None, ncbi_names: str=None, ncbi_merged: str=None): # nodes[node] = (parent, rank, name) self.nodes = {} self.merged = {} # default root node self.n...
[ "noreply@github.com" ]
noreply@github.com
3c528266015cf4064aab125fb3d1efe3adda5a22
04d2dfff783a6a6e5969becacc998abe48567f29
/ui/src/lib/pybitcointools/test_stealth.py
01a1432d37afbd94c49d09f60b70739ae47a55b6
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
superbitcoin/Wallet
1dc17623157d39d55ea8abf9e890fd2d35bfa699
bcfbbe4ee2e05cf4bd3391bd99497c513daa57ec
refs/heads/master
2021-05-14T18:44:38.672750
2018-03-12T01:29:03
2018-03-12T01:29:03
116,083,397
2
6
MIT
2018-03-12T01:29:04
2018-01-03T02:53:31
Python
UTF-8
Python
false
false
4,274
py
import bitcoin as bc import sys import unittest class TestStealth(unittest.TestCase): def setUp(self): if sys.getrecursionlimit() < 1000: sys.setrecursionlimit(1000) self.addr = 'vJmtjxSDxNPXL4RNapp9ARdqKz3uJyf1EDGjr1Fgqs9c8mYsVH82h8wvnA4i5rtJ57mr3kor1EVJrd4e5upACJd58...
[ "william@dacrs.com" ]
william@dacrs.com
66c5b2d003be821beb2127b0ffef1023020ef83a
4b44a299bafbd4ca408ce1c89c9fe4a449632783
/python3/14_Code_Quality/04_mocking/example_5/test_mymodule2.py
fee202b03daf17899388a56cf126c60e665c2088
[]
no_license
umunusb1/PythonMaterial
ecd33d32b2de664eaaae5192be7c3f6d6bef1d67
1e0785c55ccb8f5b9df1978e1773365a29479ce0
refs/heads/master
2023-01-23T23:39:35.797800
2020-12-02T19:29:00
2020-12-02T19:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from mymodule import rm from unittest import TestCase, mock class RmTestCase(TestCase): @mock.patch('mymodule.os') def test_rm(self, mock_os): rm("any path") # test that rm called os.remove with the right parameters mock_os.remove.ass...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
dc0b8394a99c431ebbbd4c7b7b5c3d563612b59f
f6e476cf9463a185552d0bb4cb50b2130a5e5ae7
/kornia/augmentation/container/video.py
ecfc5765f646baea17acb2af16917d1ca8fc63f6
[ "Apache-2.0" ]
permissive
Juli-CQ/kornia
aca3baa3b59408bed87bacacfc54033305ca9296
4a929aaa4916b59d06c27e4b1b4b7738f1d81bda
refs/heads/master
2023-09-04T01:56:06.981491
2021-06-09T06:59:01
2021-06-09T06:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,925
py
from typing import Tuple, Union, cast import torch import torch.nn as nn import kornia from kornia.augmentation.base import _AugmentationBase, MixAugmentationBase class VideoSequential(nn.Sequential): r"""VideoSequential for processing 5-dim video data like (B, T, C, H, W) and (B, C, T, H, W). `VideoSequen...
[ "noreply@github.com" ]
noreply@github.com
ee5f6cfbee89d87a6e83c027f4bf2d48e16485f5
86fc3273f8df55afa5cd55bb26f700862a9984a7
/scrape.py
c7591e079526fcfbc1fb2cb658e708e00f0039c3
[]
no_license
alistvt/insta-scraper
775fa015791059f2bd56602e3c266d7161f5f7db
42c554bba4495398fec0a10c9ca5d6ea96540eb1
refs/heads/master
2022-12-14T04:47:20.221686
2019-03-20T11:48:17
2019-03-20T11:48:17
176,721,667
0
0
null
2022-12-08T04:53:24
2019-03-20T11:46:42
Python
UTF-8
Python
false
false
1,273
py
import requests import urllib.request import urllib.parse import urllib.error from bs4 import BeautifulSoup import ssl import json class Insta_Info_Scraper: def getinfo(self, url): html = urllib.request.urlopen(url, context=self.ctx).read() soup = BeautifulSoup(html, 'html.parser') data =...
[ "noreply@github.com" ]
noreply@github.com
27cd70e0c03f50a3f9b432f175733948d919d7d5
26275d7dd634cbbe78793583a4bcf8b1e991d7e0
/django/django_project/air/migrations/0002_auto_20170703_1129.py
666d444adda4ae35614db57e6ebf1daf632eb49c
[]
no_license
alan924/WeatherMonitoring
16e6f102500925b69b9a6c2ce48d4ece35cbfc7d
dc61c6844e4bc7cb3730b01069b0601c431d6f61
refs/heads/master
2020-05-15T13:10:59.386724
2019-04-19T16:14:18
2019-04-19T16:14:18
182,290,672
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-03 03:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('air', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "a3790854g@hotmail.com" ]
a3790854g@hotmail.com
07b64b794ab7fd04cf065f53bd7197e82f423220
253ea42a629df53b36fa7e8f16c47d38b46bfc2f
/cnki_paper.py
8eab7911143380981fbd3ece100aa7c51542e5e7
[]
no_license
airmelt/my_love
8a65bfb6feb54a788654474d4c52c86067f419fa
b7c9f64354b9c62e78aed92e18ddfef728c88eda
refs/heads/master
2023-05-25T01:05:18.167860
2023-05-15T11:02:13
2023-05-15T11:02:13
166,680,665
0
0
null
null
null
null
UTF-8
Python
false
false
6,322
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """ @description: 爬取知网文章数据 @file_name: cnki_paper.py @project: my_love @version: 1.0 @date: 2020/07/16 16:54 @author: air """ __author__ = 'air' import time from typing import List from datetime import datetime import re import requests from bs4 import BeautifulSoup impo...
[ "4irmelt@gmail.com" ]
4irmelt@gmail.com
4755155895a3b892ef6bae3bcd95c59a4d43aa20
15f8d4c3a3cf8ea0939034e728de5e93688eab20
/src/ui/actualizacionReserva.py
4d97f266e2acaf762007626e91136acc3c404752
[]
no_license
diegomarcov/svr
e7621bae02907972f884ec642b67096db1cc509b
1dec166fca018513eb9d0c742bd9f2a5031bf48f
refs/heads/master
2021-01-10T21:11:46.547244
2010-11-24T00:08:41
2010-11-24T00:08:41
1,036,352
0
3
null
null
null
null
UTF-8
Python
false
false
5,925
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'actualizacionReserva.ui' # # Created: Sat Nov 20 16:27:23 2010 # by: PyQt4 UI code generator 4.7.6 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 e...
[ "diegomarcov@gmail.com" ]
diegomarcov@gmail.com
66fff85d9166590cbe78207952f7b0372b8e2744
e551b1e3cfd7e70d5f8776567057070fba4cb7f0
/users/tests.py
4c0d03e9ac8ccf9120351f8da42010df89c0b705
[]
no_license
FilipKubackiSoton/Django-For-Professionals
ac751c0990e1a68fa7572ebf6774a9f31726eb70
b0c434a73ace4f77fb83ff5504d91bdaedea77b3
refs/heads/master
2021-10-09T19:26:17.159525
2019-12-10T12:58:45
2019-12-10T12:58:45
227,114,104
0
0
null
2021-09-22T18:17:54
2019-12-10T12:22:40
Python
UTF-8
Python
false
false
1,091
py
from django.test import TestCase from django.contrib.auth import get_user_model class CustomUserTests(TestCase): def test_creat_user(self): User = get_user_model() user = User.objects.create_user( username='will', email ='will@email.com', password = '1234' ...
[ "fk1g19@soton.ac.uk" ]
fk1g19@soton.ac.uk
e0c9c6bb14d856caf0a16e5282cafc440cf1f1dc
8f5ac8beae8ec67c366146c66e502c7a3126de0e
/DSP.py
1f4fe6b166d4c1f137dd36d954df53e2fd087602
[]
no_license
csawtelle/PyDSP-1
d846660e0f370c3cbe41927f665bfab1b6c88b25
606f1ffa3f7d1b7d1844043c187d6b2123d586a1
refs/heads/master
2020-03-22T09:57:17.977947
2018-07-05T05:38:00
2018-07-05T05:38:00
139,871,447
1
0
null
2018-07-05T15:54:25
2018-07-05T15:54:25
null
UTF-8
Python
false
false
13,682
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import re import numpy as np import matplotlib.pyplot as plt __version__ = "001.o" # If t or c, then is temp or checkout. (same meanings) SI_UNITS = {'ps' : 10**(-12), 'ns' : 10**(-9), 'us' : 10**(-6), 'ms' : 10**(-3), 'p' : 10**(-12), 'n' :...
[ "noreply@github.com" ]
noreply@github.com
4dffdfd68a45ac872ec6766a266a6ad10b2b1201
b88941b7e2ca8078348daffb2c8070a8984cc28a
/auto_GNSS_v2.py
14f652febedc27ff111ecf29574634d1692b361c
[]
no_license
yxw027/360BikePano-GNSS
c94c3f93444092b02eb65260e80157dc8effe4f5
6894920a05c5ef1bd27d5d26c016bebfb8135aef
refs/heads/main
2023-06-12T02:36:19.773177
2021-06-29T10:10:35
2021-06-29T10:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,877
py
import os import sys import time import subprocess import gpxpy import shutil import pandas as pd import getpass import matplotlib.pyplot as plt from types import LambdaType from gpxpy.geo import length_3d from zipfile import ZipFile from numpy.core.arrayprint import TimedeltaFormat from pykalman import K...
[ "noreply@github.com" ]
noreply@github.com
2e02e42d295bf0f1f5e60bc279f2304345559821
49a9904c0729636781c5d88eb2f9e3af267ee0e6
/pizza/models.py
bd3f59be992e8f194ce9677446af025091801edb
[]
no_license
ryanmfoley/nandiasgarden-pizzeria
0b415804f86a1a39e9afcd330590107ba850ba9e
e78bf3c8a2242517b75dd4f56a089fe130ea1aa1
refs/heads/master
2023-07-12T21:38:23.110961
2021-08-20T21:30:46
2021-08-20T21:30:46
398,403,957
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from django.db import models class Size(models.Model): title = models.CharField(max_length=100) def __str__(self): return self.title class Pizza(models.Model): topping1 = models.CharField(max_length=100) topping2 = models.CharField(max_length=100) size = models.ForeignKey(S...
[ "ryanmfoley84@gmail.com" ]
ryanmfoley84@gmail.com
fd3a4cd544cda50f6b38603a80522b3a53f87bfb
005af0922604e6e471999898143fb2039e2922f0
/netbox/virtualization/forms/__init__.py
00f28b852ce08913d281e3779ff8b95a60138bc1
[ "Apache-2.0" ]
permissive
kvedder-amplex/netbox
4ee185f2032c799f23d42d6eeee2700638bdb721
4e03419e85d30a3f9b4d3503aec57955208a584a
refs/heads/develop
2022-09-27T02:15:24.935298
2022-09-15T02:15:12
2022-09-15T02:15:12
536,668,058
1
0
Apache-2.0
2022-09-14T16:30:04
2022-09-14T16:30:03
null
UTF-8
Python
false
false
156
py
from .models import * from .filtersets import * from .object_create import * from .bulk_create import * from .bulk_edit import * from .bulk_import import *
[ "jstretch@ns1.com" ]
jstretch@ns1.com
989e017f46eabef1ea243e2385fc4a01f088e378
6ed2944a688b83bb8698fc69bff17f273d15bab6
/crowd_sim/envs/functions/so_igp_optimize_newton.py
e34bb161694fa3222d6c67fe916b26591ba383ab
[]
no_license
Baldins/CrowdNav
45adcad33f8bc2c5e2d9fae2786a6259859aa698
1b92dbf8d6db6b64e3ee1fac88ad458774114868
refs/heads/master
2021-06-20T02:19:26.962255
2021-05-27T19:57:58
2021-05-27T19:57:58
221,223,120
0
0
null
2019-11-12T13:22:26
2019-11-12T13:22:26
null
UTF-8
Python
false
false
20,126
py
import scipy as sp from scipy import optimize import numpy as np import math import time from autograd import value_and_grad from scipy.optimize import minimize import crowd_sim.envs.objectives.so_igp_diag_objectives as so_diagonal import crowd_sim.envs.objectives.so_igp_dense_objectives as so_dense import crowd_sim.e...
[ "fbaldinicaltech.edu" ]
fbaldinicaltech.edu
0e4281b7ef7aeb645f9a9624228fc32d2614aeaf
d2b9d20e196a03e37fbab35201afe19d712f43b6
/user/serializers.py
c4eca240dfa7946c94f76fba13c585027eca2bf0
[]
no_license
aru31/S3cureF1ow
a587704054863d3a964d4350bb0b67fbc3ac299c
efead677318f47e7217fa500b9a1c0dea2751b50
refs/heads/master
2022-12-10T16:54:13.943402
2019-03-19T22:17:20
2019-03-19T22:17:20
150,777,212
3
0
null
2022-12-08T01:36:57
2018-09-28T18:03:08
Python
UTF-8
Python
false
false
209
py
from rest_framework import serializers from user.models import Identity class IdentitySerializer(serializers.ModelSerializer): class Meta: model = Identity fields = ('name', 'signature')
[ "guptarpit1997@gmail.com" ]
guptarpit1997@gmail.com
40ad9596e5995a4fe0ac18d2fdc15a8855e1aa5a
bd62843278ffc297ef8f6d75a931f1f4ca4caaa7
/exercises/friends_family/ff_dictionary/friends_dk_mod.py
e7db5bf1184a32c5d7919883f7ca191f03d5850c
[]
no_license
raysmith619/Introduction-To-Programming
d3bae042b4fc17bd56e8631a4d660233d8cd165b
bedc16eb5f6db0ad3b313355df6d51b5161c3835
refs/heads/master
2023-07-19T08:43:41.229893
2023-07-15T19:22:28
2023-07-15T19:22:28
132,622,195
3
0
null
null
null
null
UTF-8
Python
false
false
4,228
py
#friends_dk_mod.py 13Oct2020 crs # Adapted from friends_mod.py """ A friends "module" which can be used by other programs via from friends_mod import * """ my_friends = {} # Initialize dictionary of friends(names) as an empty list def list_friends(): """ list friends """ nf = 0 ...
[ "noreply@github.com" ]
noreply@github.com
ae0708cc0342891c5fb01dace708ffbc954432d3
e23a4f57ce5474d468258e5e63b9e23fb6011188
/021_module_collection/namedtuple/_exercises/namedtuple_002_Other Ways to Specify Field Names_template.py
49045eb80045bf9453e1f2c3957cb3e8c0bb1e29
[]
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,796
py
# from collections ____ n_t_ # # # Other Ways to Specify Field Names # # There are a number of ways we can specify the field names for the named tuple: # # we can provide a sequence of strings containing each property name # # we can provide a single string with property names separated by whitespace or a comma...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
9569d9f12a792f22fc64c2c42a40f856d83314d3
9df6a23c63157a6897622658e73e322ad6572b71
/Tests/DNN-model/Dave-steering-model/model.py
f415d4f76cd2b58adc27b176a1a080e41ce2236f
[ "MIT" ]
permissive
DependableSystemsLab/TensorFI
b5c01fce9030e10704e48e4e31381135ceec2914
2f5a8d5d0846581f82ead5420d984558399fd6f0
refs/heads/master
2021-06-08T22:05:23.600797
2021-05-22T20:13:25
2021-05-22T20:13:25
146,393,835
44
33
MIT
2020-12-27T23:37:20
2018-08-28T04:56:18
Python
UTF-8
Python
false
false
2,214
py
import tensorflow as tf import scipy def weight_variable(shape): initial = tf.truncated_normal(shape, stddev=0.1) return tf.Variable(initial) def bias_variable(shape): initial = tf.constant(0.1, shape=shape) return tf.Variable(initial) def conv2d(x, W, stride): return tf.nn.conv2d(x, W, strides=[1, stride,...
[ "ztchancs@qq.com" ]
ztchancs@qq.com
8f444943fb5bf9dd3204e0bda76b5a8e3e3f6d36
ed74c54f02f9a479cfea555b54c992b84e1fa22c
/0x11-python-network_1/2-post_email.py
c0c270b2c61005ce741889d162c1e324a9c18c7b
[]
no_license
constan1000/holbertonschool-higher_level_programming
7dae6728f29cced98e0bc3616a200e49056a1efb
16f2aa0c81dca3adf1d402bead406eb7c88e91e2
refs/heads/main
2023-08-06T11:17:02.666648
2021-09-16T14:14:49
2021-09-16T14:14:49
318,223,843
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
#!/usr/bin/python3 """Sends a POST request with a parameter """ if __name__ == "__main__": import urllib.request import urllib.parse import sys url = sys.argv[1] email = sys.argv[2] url_param = {'email': email} data = urllib.parse.urlencode(url_param) data = data.encode('utf8') re...
[ "hrairimejdi99@gmail.com" ]
hrairimejdi99@gmail.com
795cf1682c39e84095580033e52b87120859a2cb
6d3f1d0f2ab25f8896005b1e468e2c79c60af9bb
/projects/wine/wine.py
45e5175369cc92c4711734053dde55bbbaa7446c
[]
no_license
ayubbeck/ML
a014cda8c1b98a02c6502f943496d054e60b5fd9
049af12c130dfd97ffb545814861f360686ebf81
refs/heads/master
2020-04-23T05:15:37.539540
2019-02-15T22:06:14
2019-02-15T22:11:29
170,934,706
0
0
null
null
null
null
UTF-8
Python
false
false
6,446
py
import sys import math import pandas import numpy as np import seaborn as sns import matplotlib.pyplot as plt import sklearn.model_selection as model_selection import sklearn.preprocessing as preprocessing from sklearn.linear_model import LogisticRegression from sklearn.tree import DecisionTreeClassifier from sklearn.n...
[ "nodirbek.hojimatov@cerner.com" ]
nodirbek.hojimatov@cerner.com
f249a9530ae6f338be280e391de045a410eb2890
426b249b9490e55a4508e8efed79559b99fd118c
/DivCo-DRIT/model.py
5e39a3c984695560172b318513e63ce2b9315ed8
[]
no_license
zzw-zjgsu/DivCo
9f24689dd299c1fd07fadb680ea8b3798bc04498
0e61a2b449be5c35eac3964b907c7bad26247d22
refs/heads/master
2023-04-30T21:51:09.685379
2021-03-18T08:17:43
2021-03-18T08:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,710
py
import networks import torch import torch.nn as nn import torch.nn.functional as F import torchvision.models as models import numpy as np class DivCo_DRIT(nn.Module): def __init__(self, opts): super(DivCo_DRIT, self).__init__() # parameters lr = 0.0001 lr_dcontent = lr / 2.5 self.opt = opts ...
[ "liurui@sensetime.com" ]
liurui@sensetime.com
82a11762a3312c8b578c57526350b03e620fe660
a64ac17a621bc22683f8966495ee7634b09844c5
/rest_client.py
ea39cdc82126473037864fb3403efc934e37ca37
[]
no_license
mcarreiro/DS-excercise
fc82700fc5068e861837e581994bb8e9ef956907
b5b81399a72c75aae2d7fb68d6f14f62a795eeee
refs/heads/master
2020-03-18T16:43:50.713308
2018-05-26T22:53:26
2018-05-26T22:53:26
134,983,280
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
import requests class RestClient: def get(self, url): r = requests.get(str(url)) if r.status_code == requests.codes.ok: return r.json() else: return r.raise_for_status()
[ "martin.carreiro@mercadolibre.com" ]
martin.carreiro@mercadolibre.com
6664dc3d222a9214e07e4c799bc56d3e27eeb466
95358b6e57aeffb7787ac4ca6ebe94e0eeb17423
/portfolio/settings.py
57c36dee7f2266200d36d65a398d32a7ef39a1e4
[]
no_license
sahilbansal11/django_portfolio_app
619a741da17ccb8b3f9a51e09e33fd0b4ef13610
1f70321241c8f2be0a5c3f6de3f955c0c78a0ce2
refs/heads/master
2023-03-07T12:41:25.561169
2021-02-19T17:12:17
2021-02-19T17:12:17
340,437,871
0
0
null
null
null
null
UTF-8
Python
false
false
3,213
py
""" Django settings for portfolio project. Generated by 'django-admin startproject' using Django 3.1.6. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "sahil@interviewbit.com" ]
sahil@interviewbit.com
730f7ba2a79db17676902362fef0fb789397ce29
0515cdb15dc8dc40831e22071b370354e9b856f0
/src/parser/parse_log.py
b5701d01e030342df41948e373d7ba8a0dfcf69c
[]
no_license
satiani/svnlogread
8a57eda725e595c8144b44bc36d284e60681a7f3
2d23a1e2fc3352f819c8d165659ed33e17da9004
refs/heads/master
2016-08-04T22:22:19.161339
2010-06-24T19:05:59
2010-06-24T19:05:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
""" Parser to convert the following text: r36715 | amcauthor | 2010-02-05 12:38:05 -0500 (Fri, 05 Feb 2010) | 1 line Fix for BugID #1231 in Program B. to an SvnLogEntry instance. """ from api import SvnLogEntry import re import datetime COMMIT_METADATA_RE = re.compile(('r([0-9]+) \| ([^ ]+) \| (....)-(..)-(..) ' ...
[ "satiani@gmail.com" ]
satiani@gmail.com
a125fabf6f8c28a59be672821e363432a14a3230
7b34cecc88b257752af3682ce198adb529f22f52
/httoop/codecs/text/html.py
7afddd060b630b351f19a225b0bf9d040b9adc0b
[ "MIT" ]
permissive
spaceone/httoop
c6a3c61f6b01804fa004e3ea1d46c5417b110f08
bd170d5de030ff855d76b688f3e9d9d4f717a30a
refs/heads/master
2023-01-05T18:36:09.904939
2023-01-03T20:57:56
2023-01-03T20:57:56
9,329,173
17
10
null
2015-06-20T21:55:10
2013-04-09T19:02:18
HTML
UTF-8
Python
false
false
107
py
# -*- coding: utf-8 -*- from httoop.codecs.codec import Codec class HTML(Codec): mimetype = 'text/html'
[ "space@wechall.net" ]
space@wechall.net
4456c8c028f7befde1f7b4fcdc3ea9bf3479c828
6c920fc1b4df4f0eaceaef834ae7ad9bdab22e68
/PythonBasics/enum_test.py
d16fb0d36727273e50b49126ee0f4c48a51ce04a
[]
no_license
Isanti2016/PythonLearning
415e2eec05955ec4eab32ea8bffda318b47ea55c
144e276a7b2f070e7dbe236b1d85d9d954737599
refs/heads/master
2020-03-27T01:41:42.330868
2018-08-22T16:27:22
2018-08-22T16:27:22
145,734,282
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# -*- coding:utf-8 -*- from enum import Enum,unique Month = Enum('Month', ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')) @unique class Weekday(Enum): Sun=0 Mon=1 Tue=2 Wed=3 Thu=4 Fri=5 Sat=6 if __name__=='__main__': from enum_test import Weekda...
[ "–wangbeibei2015@gmail.com" ]
–wangbeibei2015@gmail.com
ad7b76abaad73a31bec98b9b321eaa295fe536e0
c03cfc08c0375c1343b7a3a877a69b08c0ab63ad
/Assignment2/assignment2.py
1a50304bcff89e0f3c0266dae4ee8e7f889501ba
[]
no_license
FatmaUysalYararman/Computer-Graphics-Course
bac5ff5c2940bb2a03b0b06b55d3082acf533858
5a7a919eae986593cd17b67c4ea1cd25d7ea0bdc
refs/heads/master
2020-08-05T14:10:52.966045
2019-10-03T13:33:55
2019-10-03T13:33:55
212,574,479
0
0
null
null
null
null
UTF-8
Python
false
false
8,996
py
# CENG 487 Assignment# by # Fatma UYSAL # StudentId: 220201051 # 03 2019 ''' Use number keys to change shape: Key 1: Sphere Shape Key 2: Cylinder Shape Use NUM+ and NUM- keys to change subdivision count: Key NUM+: Increases subdivision count Key NUM-: Decreases subdivision count Use Alt Key + Mouse Left Button to ro...
[ "fatmauysal3396@gmail.com" ]
fatmauysal3396@gmail.com
c87bf136ca3714155663dc0fb74c5d1b6ac9f04f
305592bcafffced2b6b37f25a07622be6162a874
/11055.py
312860385111bdfc7cc9479e9b03975414753982
[]
no_license
romanticist/PS
8093a9363cdca2ed9eb0239ed0736511eae54c86
0e8835f85131c9b836955c9bed213fbe9099ab5e
refs/heads/master
2023-03-07T17:23:41.491498
2021-02-24T10:18:33
2021-02-24T10:18:33
279,081,877
1
0
null
null
null
null
UTF-8
Python
false
false
239
py
N = int(input()) A = list(map(int,input().split())) D , ans = [0]*N , 0 for i in range(N): big = 0 for j in range(i): if A[i] > A[j]: big = max(big, D[j]) D[i] = A[i] + big ans = max(D[i],ans) print(ans)
[ "csy1874@naver.com" ]
csy1874@naver.com
176f55c02c04c05f69692175fb1e2ad43a67c3e1
ac39baffc572b72ddd4d25617014a51522ee30a8
/challenge29-34/simpledu/forms.py
dcdb80fff200e1000ecdcd852c6560cf019f5e08
[]
no_license
Yao-Phoenix/challenge
01d72a63eb6c144bb59cd4d5f658e170c8ad0092
d5ce1659f47cbe5295f65b7ac05ca25c79955f00
refs/heads/master
2020-09-24T17:42:02.380190
2020-02-17T03:15:25
2020-02-17T03:15:25
225,810,003
0
0
null
null
null
null
UTF-8
Python
false
false
4,259
py
#!/usr/bin/env python3 from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import Length, Email, EqualTo, DataRequired, URL, NumberRange,Regexp from simpledu.models import db, User, Course, Live from wtforms import ValidationError, TextAreaFi...
[ "493867456@qq.com" ]
493867456@qq.com
83ee9cd816a041a71d194ac51dc5305187b809aa
0823abb09703879fff9b9dff896dda4abb074e0b
/etc/gen_testdb.py
77a2a3b09c2d772ee126910ac3cdb7897a6d6bf6
[]
no_license
JoeyRoRo/Reg_Helper
cbecd66a5d135af269393bc3b13a04672f45e0dd
6275a6c645036b91a8543a09f66b1e07d990307b
refs/heads/master
2023-02-20T02:00:51.712330
2018-08-20T18:18:22
2018-08-20T18:18:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,511
py
#!/usr/bin/env python # Set up Vendoring import os import sys parent_dir = os.path.abspath(os.path.dirname(__file__)) vendor_dir = os.path.join(parent_dir, 'vendor') sys.path.append(vendor_dir) # Std Deps import random # Vendored Deps import progressbar import clapp weights = [50] * 1 + [30] * 1 + [20] * 4 + [10] *...
[ "kbknapp@gmail.com" ]
kbknapp@gmail.com
75587c0ffabf43a1c83ca93f91bab3c3936d130b
32533e7de7eef4a6d916cd79bd9ff79bd7ff2b31
/DFS/dfs.py
01fc92b0fa7c4259e99350b5f2c56cfa1792a082
[]
no_license
voidhug/AlgorithmsLearning
54f1731222dbd0336ce39c5b59168a474aa20f5e
a40a5d42eefb2e1c9878a90a368d4168faa49e34
refs/heads/master
2021-01-10T01:29:29.484032
2016-11-17T02:31:27
2016-11-17T02:31:27
45,747,391
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
import copy result = [] def dfs(data, temp, level): temp.append(0) for idx in range(0, data[level]): temp[-1] = idx if level + 1 == len(data): result.append(copy.copy(temp)) else: dfs(data, temp, level + 1) temp.pop(-1) if __name__ == "__main__": data =...
[ "koinhug@126.com" ]
koinhug@126.com
b06f3ce756d293fc54760884cb39ee8ec0e66023
52877e2b60ed675eb16ea66c7398127294a313d3
/t2t_bert/utils/tensor2tensor/models/transformer.py
1968d1ca7843d41a518b60482ff1e30df1f5e8ee
[ "Apache-2.0" ]
permissive
yyht/BERT
0dc82ea8e141cad4774e638dd7d44f781d77b6c3
480c909e0835a455606e829310ff949c9dd23549
refs/heads/master
2023-04-07T03:32:28.123608
2021-02-17T02:15:58
2021-02-17T02:15:58
162,232,730
37
12
Apache-2.0
2022-11-21T21:15:04
2018-12-18T05:02:27
Python
UTF-8
Python
false
false
104,406
py
# coding=utf-8 # Copyright 2019 The Tensor2Tensor 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...
[ "albert.xht@alibaba-inc.com" ]
albert.xht@alibaba-inc.com
c129118150530d1796f727818994031a0193e8a3
d16263b37089ef8d99962c1e1893dd830ddedd7e
/script/icc_CricBuzz_fetchData.py
dac5397ebdf26f125462d12a0750d436917d1f24
[]
no_license
anveshkashyap/CricbuzzData
1fbdb06b00e7e39f3ef825d326be67d8bf5b8de6
c9399f32ab742ea75142e0b8a6878651e7a07f3a
refs/heads/master
2020-09-30T04:42:34.978400
2019-12-11T17:41:58
2019-12-11T17:41:58
227,204,743
0
0
null
null
null
null
UTF-8
Python
false
false
2,563
py
from selenium import webdriver from xlwt import Workbook from dataFile import * print("Program is reading the data from CricBuzz.com..... Please wait.") driver = webdriver.Chrome(executable_path=CHROME_PATH) driver.implicitly_wait(30) driver.maximize_window() for i in URL: driver.get(i) pageTitle = driver.titl...
[ "anvesh.kashyap1@hotmail.com" ]
anvesh.kashyap1@hotmail.com
d789f6122c5a92e692a4708d99dfd4ef9fbe3765
e7f400fd84e5a94c66c57a03a72496ec59a38ce0
/0.2.0/show_strategy_result.py
28dc946d52689d968d9522c00b2a58086304cb34
[]
no_license
lyy9257/Haymanbacktester
c8236d0370dbde7eb77dde10acd0f4ceb7809cfd
cb9fa8c8c4fd64a08d0c651b8f7d81ecc7da3c8f
refs/heads/master
2021-07-15T16:38:51.061949
2020-05-16T22:32:52
2020-05-16T22:32:52
149,625,220
10
6
null
null
null
null
UTF-8
Python
false
false
3,990
py
import overnight_basket import config import time import pandas as pd import numpy as np import matplotlib.pyplot as plt from datetime import datetime ## 성과 출력 전 백테스트 데이터 정보 추가 def make_stategy_result_data(data): temp_data = data roll_max_strategy = temp_data['Basket'].rolling(len(temp_data.index), min_pe...
[ "32098147+lyy9257@users.noreply.github.com" ]
32098147+lyy9257@users.noreply.github.com
7e5859ab97bb9197d310f1567d33b3f9b5ec80df
73c25409ac458395ae9e2ab4237f263ec841c887
/email_segmentation.py
930551ff22e39cc27c58651350bdeb3f72e2728c
[]
no_license
harsh06120110/mail_segmentation
3ecd4a7cc1ba181365364ff1121ef0ed2fd80c57
c1f13a78e2c56a9955cf8019b7d2dc50d1152bd5
refs/heads/master
2022-12-11T09:28:12.779002
2020-09-21T06:08:08
2020-09-21T06:08:08
297,242,346
0
0
null
null
null
null
UTF-8
Python
false
false
6,161
py
#!/usr/bin/env python # coding: utf-8 import pandas as pd import numpy as np from sklearn.preprocessing import LabelEncoder from sklearn.preprocessing import LabelBinarizer from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn import metrics from sklearn...
[ "noreply@github.com" ]
noreply@github.com
8848f7167a9a49b46e206492e18bfa6109d10d5e
f118060c62f9da9db0ad9bacefc949ae99b32d5e
/trash/CNN/secure_CNN.py
4e4d5a53adbb88b840777c0524e1c16dabfaaa04
[]
no_license
kimkucheol/malware_detector
87c9d97fa5336f32941e64afe832944e0c49576c
604a10c350e01099d449f5dd73424b6fb3513b36
refs/heads/master
2023-04-11T12:24:40.780329
2018-12-18T07:40:12
2018-12-18T07:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,458
py
import numpy as np import os from keras.layers import Conv1D, BatchNormalization, Dense, Flatten from keras.layers.convolutional import Conv2D from keras.layers import MaxPooling2D, Activation from keras.layers import Dropout from keras.layers import Flatten from keras.layers import Dense, ReLU from keras.preprocessing...
[ "gusdlf93@naver.com" ]
gusdlf93@naver.com
5646cbf25f6a44658020525f3d90ec0fd2f4a032
e4fa6e3579b8a98dc25e04682bbb805fc9decc47
/chatproject/chatproject/asgi.py
cee37d450701249cf30a10c1ab74ef69bc0f6907
[]
no_license
towhid135/chatApp
96017218acd008cf2f07edc67edfc23bdf802b04
ebf8c29b5bebb36d846d047b5c9139d7365f0290
refs/heads/master
2020-12-20T08:35:34.851433
2020-01-24T18:08:08
2020-01-24T18:08:08
236,016,156
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import os import django from channels.routing import get_default_application os.environ.setdefault("DJANGO_SETTINGS_MODULE","chatproject.settings") django.setup() application = get_default_application()
[ "52478209+towhid135@users.noreply.github.com" ]
52478209+towhid135@users.noreply.github.com
7e04afc2d83a8977f68ffce261d8bb47f2781bbe
d4ae1c925add14251620f7fa4b92d52573185829
/SNU/Python/BigData_Programming/170616/test2.py
6ebf1ea2b4e927d4dc1f4e1cdaea89945e72ac2b
[]
no_license
kookoowaa/Repository
eef9dce70f51696e35cec6dc6a5d4ce5ba28c6d7
26f9016e65dbbc6a9669a8a85d377d70ca8a9057
refs/heads/master
2023-03-08T01:36:29.524788
2023-02-21T16:11:43
2023-02-21T16:11:43
102,667,024
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
a = 20 b = 100 c = a + b d = a - b e = a * b f = a / b g = a % b h = a ** b print(a) print(b) print(c) print(d) print(e) print(f) print(g) print(h)
[ "30887470+kookoowaa@users.noreply.github.com" ]
30887470+kookoowaa@users.noreply.github.com
7840fe7574a34dded1c942db0fb65b5a62ba8699
ed10dc841d5b4f6a038e8f24f603750992d9fae9
/lldb/test/API/commands/settings/TestSettings.py
23f4de05ea0cb8f300266e31b0d8010f1e670d70
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
WYK15/swift-Ollvm10
90c2f0ade099a1cc545183eba5c5a69765320401
ea68224ab23470963b68dfcc28b5ac769a070ea3
refs/heads/main
2023-03-30T20:02:58.305792
2021-04-07T02:41:01
2021-04-07T02:41:01
355,189,226
5
0
null
null
null
null
UTF-8
Python
false
false
32,795
py
""" Test lldb settings command. """ import os import re import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class SettingsCommandTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def tes...
[ "wangyankun@ishumei.com" ]
wangyankun@ishumei.com
44b05c375e36adc5e091b2377a51205d852b42fc
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/secondaires/jeux/jeux/poquiir/combinaisons.py
4bf4664b25400af967a27eaa73edd21d60a641ff
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
8,931
py
# -*-coding:Utf-8 -* # Copyright (c) 2012 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # l...
[ "kredh@free.fr" ]
kredh@free.fr
652f327e67c65ba340bf5c43bc56a9ee53a69c71
8998719f3887966df87e217b3f5fb80b768d313b
/Chapter_8/Critter_Backdoor.py
04994f8dace48b55f185a171ef68063983950154
[]
no_license
theglitchmitch/M3-Learning-Python
eba3714fb7ec1384536772bc4ff3181cd24797d8
6c4e0aa98cd77e4626b4463fbfe0ef850c0be0ea
refs/heads/master
2016-09-05T09:59:42.441359
2014-07-05T07:56:10
2014-07-05T07:56:10
16,834,705
1
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
# Critter Caretaker # A virtual pet to care for class Critter(object): """A virtual pet""" def __init__(self, name, hunger = 0, boredom = 0): self.name = name self.hunger = hunger self.boredom = boredom def __str__(self): backdoor = "Stats Critter\n" backdoor += "Na...
[ "mitchellverlinden@hotmail.com" ]
mitchellverlinden@hotmail.com
e0705bcbe836edeb263a4c3e122bccbdc1333ecf
ef5801b73a92d85054aaaf91f6a08308e50d041b
/Detection/mmdetection_master/mmdet/core/post_processing/bbox_nms.py
b47449dcab50c1a2b39db56dcb2fc1c1eda61562
[ "Apache-2.0" ]
permissive
myadegar/image-detection
6424ed255375d3f42322d7764c9ad778b9b46b17
f85209f48286e988cecad47e577d69dbf02e840b
refs/heads/master
2022-10-23T07:12:57.832365
2020-06-20T11:35:27
2020-06-20T11:35:27
273,691,721
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
import torch from Detection.mmdetection_master.mmdet.ops.nms import nms_wrapper def multiclass_nms(multi_bboxes, multi_scores, score_thr, nms_cfg, max_num=-1, score_factors=None): """NMS for multi-class bboxes. Ar...
[ "myadegar@gmail.com" ]
myadegar@gmail.com
ceed96433c9901fd5efb0814dd95f2d0491a885b
4aa9f569cb76e00fce498f7fdf3663db9becb3ac
/the_wall/the_wall/settings.py
6c8360ea4671a71062d54dd2f6052a13c9787a63
[]
no_license
Hughes-D/django_full_stack
1566780f40307957124d966b31f4bd010463a17d
bc1dfd6afb6776fd63c53964aed5b4836588f047
refs/heads/master
2023-06-09T22:41:32.283066
2021-06-23T17:24:02
2021-06-23T17:24:02
379,388,131
0
0
null
null
null
null
UTF-8
Python
false
false
3,125
py
""" Django settings for the_wall project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "dmhughes.dh@gmail.com" ]
dmhughes.dh@gmail.com
111534e2e8de66694688967bcfb3a213ec10094b
12346be5075d772878a6015053d6eeb4e7227acc
/21. Design Patterns/behavioral/template.py
b5f260abd7cbf6bd3ca2bef6a2a0ad0bdfa3fa25
[ "MIT" ]
permissive
elenaborisova/Python-OOP
2a46bfafce868f03481fb699580fb3e60ca4e3bd
584882c08f84045b12322917f0716c7c7bd9befc
refs/heads/main
2023-04-02T17:41:23.440617
2021-04-10T13:56:38
2021-04-10T13:56:38
321,376,083
1
1
null
null
null
null
UTF-8
Python
false
false
539
py
from abc import ABC, abstractmethod class Storage(ABC): @abstractmethod def get_storage_list(self): pass def save(self, data): self.get_storage_list().append(data) class SelfListStorage(Storage): def __init__(self): self.list = [] def get_storage_list(self): ret...
[ "elenaborrisova@gmail.com" ]
elenaborrisova@gmail.com
948ce500c64804b3ca96a00b7ca5ac5ce8a5f43c
5e00fcb13e4eb78a38d6ede0f36e602a44ff87fa
/benchmarks/VIA_AI_benchmark/pycuda/performance.py
39ad9f5d4fad4b73319d3b7e23f148277bd291d5
[]
no_license
viatsae/viaai-framework-test
3815f5f8789f795c0cb15cd4ba203b1a4646a603
c1a0db889fa6c8ff9aaf130c84a3380b4119ee50
refs/heads/master
2020-12-28T01:38:03.288752
2020-08-11T07:16:08
2020-08-11T07:16:08
238,139,210
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
import pycuda.autoinit import pycuda.driver as drv from pycuda import gpuarray from pycuda import cumath from pycuda.elementwise import ElementwiseKernel import numpy as np start = drv.Event() end = drv.Event() N = 10**6 a = 2*np.ones(N,dtype=np.float64) start.record() np.exp(a) end.record() end.synchronize() secs ...
[ "KokeiChang@via.com.tw" ]
KokeiChang@via.com.tw
d252307b4f72c6951cdf73711431b746074d8ec8
b7d55bbf1051607ccaee95924b91b64ea0c89482
/code/clean_oracle_of_bacon_scripts/get_bacon_kaggle_conflict_names.py
3083a16a9e08d7326f59e0c840420f9a1b47a02b
[ "MIT" ]
permissive
DS4A-84/DS4A_Group84_Project
2a138b133ae1cdd869b33c0f5e3405fb5abb4136
6f9244689156b818e4081727fef574caa038c419
refs/heads/master
2023-07-20T22:46:17.007478
2021-08-10T22:54:45
2021-08-10T22:54:45
377,984,171
0
1
MIT
2021-08-10T22:54:46
2021-06-17T23:31:13
Jupyter Notebook
UTF-8
Python
false
false
5,401
py
#!/usr/bin/python # DS4A Project # Group 84 # Checks for nominees of interest in bacon website and replaces kaggle dataset names with those in bacon import itertools as itr import numpy as np from os import path import pandas as pd import random from selenium import webdriver from selenium.webdriver.common.keys impo...
[ "jorge.inamagua@live.lagcc.cuny.edu" ]
jorge.inamagua@live.lagcc.cuny.edu
47943c0df47c8ec517189c0030cc5511eb5278ab
7158230d5995b2eea813b1ce9cefca21022f7479
/app/core/routers/auth.py
fe242e2c17fe15a7b4f72e45b0c9385bd01b6544
[]
no_license
sngnt/fastapi-backend
bc6c3ba4dfb23d9b3d3fe7a70dbfeb5378476943
83527c2e3d1874845604fc89ec31098e15ccfc4a
refs/heads/master
2022-04-19T04:15:19.781063
2020-04-21T17:05:23
2020-04-21T17:05:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from fastapi import Depends, APIRouter from app.utils.auth import get_current_username router = APIRouter() @router.get("/users/me") def read_current_user(username: str = Depends(get_current_username)): return {"username": username, 'is_secure': True}
[ "chkrishnatej@gmail.com" ]
chkrishnatej@gmail.com
3e216e3ee3078736267939ddfdd51b2ed51045cd
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/wxtbx/phil_controls/boolctrl.py
eb5df59dfbe39578d721ac70b72c30df2989b55a
[ "BSD-3-Clause", "BSD-3-Clause-LBNL" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
2,534
py
from __future__ import absolute_import, division, print_function from wxtbx import phil_controls import wx from libtbx import Auto WXTBX_PHIL_BOOL_TRIBOOL = 1 WXTBX_PHIL_BOOL_AUTO = 2 class BoolCtrl(wx.CheckBox, phil_controls.PhilCtrl): def __init__(self, *args, **kwds): kwds = dict(kwds) self._bool_style ...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
219b34b2478ccac1f4c24afdf37afd9e177c152b
5979f35e1a3c297b14dce87afcb39d1253d66859
/data preprocessing/Outliners_Z_score and feature_selection.py
001746e5bc67a561c50be0b9d53302387c7eb96a
[]
no_license
Janetle-hi/Airbnb-Price-Prediction
379cd8ed3af6b1071d4d8b0918812852b6887b46
ac8657f0cd99a076ab209049b40a244be21f6acc
refs/heads/master
2020-09-22T02:54:34.879499
2019-12-14T20:15:54
2019-12-14T20:15:54
225,024,322
3
0
null
null
null
null
UTF-8
Python
false
false
3,033
py
import pandas as pd df = pd.read_csv("df_done1.csv") # drop columns df = df.drop(columns = ['id', 'a few hours', 'a day', 'an hour', 'a few days or more','flexible', 'moderate', 'strict_14', 'strict_30']) # change the space between words to underscore list(df.columns) df.columns = ['amenities', 'host_response...
[ "noreply@github.com" ]
noreply@github.com
de46d2d1fb94ab7a5c96224c56459fe16cb981cf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02716/s082816838.py
81eab4bb1d4a40d68a77f483f2899018f648da49
[]
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
529
py
N = int(input()) A = list(map(int, input().split())) DP_odd = [0, 0, A[0]] DP_even = [0, max(A[0], A[1])] if N >= 3: DP_odd = [DP_even[0], max(DP_odd[1] + A[2], DP_even[1]), DP_odd[2] + A[2]] for i in range(3, N): if (i + 1) % 2 == 1: DP_odd = [max(DP_odd[0] + A[i], DP_even[0]), max(DP_odd[1] + A...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com