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
143cd8185199f0ec326c01030553e6c06d149f17
918a575dbf2f5065341c045434afd7cdd69c5f3e
/insta.py
c0fa9f3269a911cdfbb9857cb06708f70226a9ae
[]
no_license
arkarthick/instagramscambot
8a083ac94797d77928292fb12fc5567334f2756a
21f335ab6acfd0e1f1120588299eb7ad1a8ed454
refs/heads/master
2021-05-20T00:18:11.659104
2020-04-06T15:03:28
2020-04-06T15:03:28
252,103,286
0
0
null
null
null
null
UTF-8
Python
false
false
5,792
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException from time import sleep from random import randint from details import dob import asset.password as password ASSET = 'asset/' def login(username): #enter the username or mail an...
[ "arkarthick21@gmail.com" ]
arkarthick21@gmail.com
d2d9be4351b49f74dac271402be606547ab75990
a3e274be3c07335875d0b2e9cee509193abc733f
/tests/test_frontend.py
fb53bb89cafc04d83599d93a31d940e97d3016e2
[]
no_license
faisalburhanudin/dss
4282ff4cfff246c26f3eb5ac9f1a5cbecbcd6882
86fb43538f769a5419191e14d49444cde18274ad
refs/heads/master
2021-01-01T04:12:43.700138
2016-06-09T13:44:31
2016-06-09T13:44:31
58,213,279
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from tests.mock import ServerTest class FrontendTestCase(ServerTest): def test_home(self): response = self.app.get("/") self.assertIn("Sistem pendukung keputusan", response.data)
[ "gogildrive@gmail.com" ]
gogildrive@gmail.com
d40cd31abf11f56654ac4527dae256fda859f677
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/monitoring/metricsscope/v1/monitoring-metricsscope-v1-py/google/monitoring/metricsscope_v1/types/metrics_scope.py
a93ce94034c247585e1062da91012ee0aa0ff16c
[ "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
3,454
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
0599ec6cb89e171675f5adefb7e3706a332115f2
779b311600ff5e027cda8f654b5901f6d1611f0b
/devel/lib/python2.7/dist-packages/ublox_msgs/msg/_RxmSVSI_SV.py
cc068ed56664ccc787375fc3e58f08e3d98cbe51
[]
no_license
KeenRunner/UnmannedSurfaceVessel-USV-PIDcontrol
2ccd987d1bc18745e173a2594d7bc4fd9519d25c
7f670bf8a57f3a48f964ce3239db8f25827ee512
refs/heads/master
2023-02-05T04:05:21.263512
2020-12-24T04:17:16
2020-12-24T04:17:16
323,601,637
3
2
null
null
null
null
UTF-8
Python
false
false
5,275
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from ublox_msgs/RxmSVSI_SV.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class RxmSVSI_SV(genpy.Message): _md5sum = "055e3ca33052c1635aff80c3f8ab6197" ...
[ "530673741@qq.com" ]
530673741@qq.com
5fab933958093bc018267f192e75a6935b2aa85e
b3edf510803fdd6a75c70b865f96e4dd93feee20
/pictures/Grey/GrAttack2L.py
94a775cc94e54204326b909033bb503e58b1437f
[]
no_license
chenster17/Clash-of-The-Fairy-Tail
354001dcef76b4c18ca86ed528c5b5f99807f7ab
024126db047aa49f8d161efb5ec1f23f6e722784
refs/heads/master
2021-01-10T13:37:07.456169
2016-01-20T07:12:45
2016-01-20T07:12:45
50,006,115
2
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
# GrAttack2L.py # A Sprite is an old term that used to refer to specialized hardware that # was used to draw characters is a video game sperate from the background # Now a sprite just refers to a 2D object in a game, usually a character # A spritesheet is a sheet of all of the frames of animation that a character # use...
[ "jchen1117@gmail.com" ]
jchen1117@gmail.com
76af0a371f3d1e84a4dd1b3e5ce44a42071c751f
a9ecbb6324e6ff6ecdc3ef954c83aae7a6cfd7c1
/rwsegment/boundary_utils.py
5d36015de0462f330ff0169a33d797b994642f2f
[]
no_license
dgboy2000/segmentation-svm
de394def73bd163905b0a6b481f5a8709e5bacc4
eaa6dd6c903de3489c0dbbc7bce56142e2865bea
refs/heads/master
2020-04-10T14:53:48.981663
2012-12-17T19:53:15
2012-12-17T19:53:15
5,313,995
10
3
null
null
null
null
UTF-8
Python
false
false
5,975
py
import numpy as np from scipy import ndimage def sample_points(im, step, mask=None, maxiter=20): shape = np.asarray(im.shape, dtype=int) steps = np.ones(im.ndim, dtype=int)*step ## make regular grid grid = np.zeros(shape) grid[::steps[0], ::steps[1], ::steps[2]] = 1 if mask is not None...
[ "pybaudin@gmail.com" ]
pybaudin@gmail.com
db507a51eafac74ecb3bac782299bb61e9c5a2d6
f98418686ebdc68d12b6c8bc657e93b8df3a6755
/untitled1/max.py
2a9dc031b1fc9487b607b9c8a56e6c9113433858
[]
no_license
sunnyyong2/algorithm
a666924a37ce20b74488040d401bb0745f3da8bf
75ab06d0d2b1ae595742fe14d9d81e240bcc28d0
refs/heads/master
2020-07-04T16:01:10.526471
2019-10-02T00:12:30
2019-10-02T00:12:30
202,331,883
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
T = int(input()) for i in range(1,T+1): tc = list(map(int,input().split())) M = 0 for num in tc : if num > M : M = num print(M)
[ "studying_yong@naver.com" ]
studying_yong@naver.com
852299ad0b043f21d23b3e7b3f6804d56a0c199e
5f99e281f3cb50845643336dbe6e2442ce6827d3
/main.py
f98ab1e3e0b60e9089d4d89a4fd4d817028b7d9e
[]
no_license
MekhiRafiki/StockPredictor
9e13fc539918ffe81d00cb857f1c6c4b693e29c9
2598a7df494dca8dcfbe5f93fc35f91049ac66fb
refs/heads/master
2020-05-19T02:30:26.329899
2019-06-04T22:10:49
2019-06-04T22:10:49
184,782,075
0
0
null
null
null
null
UTF-8
Python
false
false
7,208
py
import numpy as np import regression import sentimentAnalysis as SA import datetime SENTIMENT_BOUNDARY = 0 class NeuralNetwork(): def __init__(self): # seeding for random number generation np.random.seed(1) #converting weights to a 3 by 1 matrix with values from -1 to 1 and mean of 0 ...
[ "mekhi.rafiki@gmail.com" ]
mekhi.rafiki@gmail.com
20db424bef33ad06093993ca3a270079e758c48c
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/fair_survival_analysis/fair_survival_analysis/plots.py
200d6bbca2d5bf701befac7a2203e7a7be1b5047
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
10,705
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7d243272cbf1128a99ce2edb7405e3f9f6ba18fa
0807fd06d8d50cd51228877368d3af65cc1e4c8b
/course-3/module-9-precision-recall-assignment.py
8a8bef1eb8a2788c19e32cb34ee6e09c7e104d22
[]
no_license
gigix/machine-learning-specialization
f2bf815e8242c0ca8fe431c57a29bb84ad873ede
7dbef3eb807fc557596bf2187dd05744503f42e8
refs/heads/master
2021-07-21T15:11:44.022004
2017-11-02T01:25:45
2017-11-02T01:25:45
109,201,661
0
0
null
2017-11-02T01:11:45
2017-11-02T01:11:45
null
UTF-8
Python
false
false
4,151
py
import string import graphlab import numpy as np products = graphlab.SFrame('amazon_baby.gl/') def remove_punctuation(text): return text.translate(None, string.punctuation) # Remove punctuation. review_clean = products['review'].apply(remove_punctuation) # Count words products['word_count'] = graphlab.text_an...
[ "gigix1980@gmail.com" ]
gigix1980@gmail.com
5b5d3fa4af939811e1b58790f393c15d386d3e86
afed7dce9028d62c85753af0e3619c77ccfeb333
/wetwilly
eab7c618198eb252b5c8d65498302ae49db2e00f
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
arikat/SecretBox
809dccef2ebb6d112a1112411ade001f0d043c18
474ba4dabcb34ff1a62334715927d30325d27f3c
refs/heads/master
2021-07-04T09:23:57.359550
2020-10-26T20:01:53
2020-10-26T20:01:53
192,941,399
1
0
null
null
null
null
UTF-8
Python
false
false
885
#!/usr/bin/env python from __future__ import division from Bio import PDB import argparse import sys parser = argparse.ArgumentParser() parser.add_argument("-c", type=float, default=4.5, help="Interaction cutoff (Angstrom)") args, unk = parser.parse_known_args() CUTOFF = args.c PDB_IN = unk[0] p = PDB.PDBParser(QUIE...
[ "noreply@github.com" ]
arikat.noreply@github.com
8a7d80e6f5f06bd496743c7d5473e482fa893c14
636b31e9bef7c82183f288d441f08d448af49f9c
/parlai/agents/drqa/drqa.py
6df22714225e1ad0f750375803aaa74add2eaf54
[ "MIT" ]
permissive
ShaojieJiang/tldr
a553051c6b615237212082bbc21b09e9069929af
c878ed10addbae27fa86cc0560f168b14b94cf42
refs/heads/master
2023-08-21T23:36:45.148685
2020-04-08T15:09:35
2020-04-08T15:09:35
247,427,860
12
0
MIT
2023-08-11T19:52:22
2020-03-15T08:25:21
Python
UTF-8
Python
false
false
14,162
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ (A partial) implementation of the DrQa Document Reader from: Danqi Chen, Adam Fisch, Jason Weston, Antoine Bordes. 2...
[ "s.jiang@uva.nl" ]
s.jiang@uva.nl
5085ca2798782462b8657b441de13de0fdb34be1
7a12db378b4b1947eaa07924200404597b0d2cc3
/contrib/seeds/makeseeds.py
c37c7b505c487c8e9af3f53d35a572c5289ddb9a
[ "MIT" ]
permissive
ProfProfcompile/zarhexcash
fa8471188a1a7e17b83fe6c7cb01152e0e2da0dd
735e51403f267b4f30474508cb6297c622dccaa9
refs/heads/master
2020-06-19T20:35:03.561192
2020-01-02T09:24:22
2020-01-02T09:24:22
196,862,120
1
3
null
null
null
null
UTF-8
Python
false
false
5,520
py
#!/usr/bin/env python3 # Copyright (c) 2013-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Generate seeds.txt from Pieter's DNS seeder # NSEEDS=512 MAX_SEEDS_PER_ASN=2 MIN_BLOCKS = 615801 #...
[ "44237606+ProfProfcompile@users.noreply.github.com" ]
44237606+ProfProfcompile@users.noreply.github.com
c6b02f8d1c64284325e44582082dfdc3cc6e8f81
cd576030dcd36c2f516af49fe530fd2dac4ff0df
/slrealizer/tests/test_om10realizer.py
025251626d41a24790f51e22de2604634adc20d0
[ "BSD-3-Clause" ]
permissive
LSSTDESC/SLRealizer
601af6e944875be64d3f57156f3b9dd2e04b299a
ff630e5fc951f85e05dca5c135b42a7b563ea1ac
refs/heads/master
2020-04-06T04:46:43.583437
2018-09-10T13:19:06
2018-09-10T13:19:06
82,958,782
1
3
BSD-3-Clause
2018-10-12T18:12:29
2017-02-23T18:34:40
Python
UTF-8
Python
false
false
4,777
py
from __future__ import absolute_import, division, print_function import unittest import os, sys import shutil import pandas as pd import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from om10 import DB from slrealizer import OM10Realizer class OM10RealizerTest(unittest.TestCase...
[ "jiwon.christine.park@gmail.com" ]
jiwon.christine.park@gmail.com
65279548e8a88e4c82e473615bfa725dcd128099
5a0dfe1326bb166d6dfaf72ce0f89ab06e963e2c
/leetcode/lc169.py
1d4cf7d118d92554f11f87503e95b0dee3af9a32
[]
no_license
JasonXJ/algorithms
7bf6a03c3e26f917a9f91c53fc7b2c65669f7692
488d93280d45ea686d30b0928e96aa5ed5498e6b
refs/heads/master
2020-12-25T15:17:44.345596
2018-08-18T07:20:27
2018-08-18T07:20:27
67,798,458
1
0
null
null
null
null
UTF-8
Python
false
false
321
py
from collections import Counter class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: int """ counter = Counter(nums) target = len(nums) // 2 for x, c in counter.items(): if c > target: return x...
[ "lxj2048@gmail.com" ]
lxj2048@gmail.com
7662a622d333a4cf401952e87276e5c0c227d916
d03fb4f30b2984a48b0df0448b245c5979e5f412
/5_Exam_if_operator/5_1_2_chess_board.py
55ff5804cc02ba7fa0f3aaa7f207b86f5b227d53
[]
no_license
dudrill/Python_generation_basics
6e63a06d0220fb30599fd273d587dc036551c3b0
f4efcc669b20ef9155fbc9ba50ae6afb12bc6f30
refs/heads/main
2023-01-07T16:26:34.125380
2020-11-11T18:59:59
2020-11-11T18:59:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
x1, y1, x2, y2 = [int(input()) for i in 'abcd'] if ((x1+y1)%2==0 and (x2+y2)%2==0) or ((x1+y1)%2==1 and (x2+y2)%2==1): print('YES') else: print('NO')
[ "drewnovok@gmail.com" ]
drewnovok@gmail.com
883ea3e81dc401577ccc5f44a5df3b420557a2a6
1eb3c8c5d9b20802458a04ee7a4795b421452c3f
/Tutorial_6_draw/polygon.py
5ed9900ac6793dd6c36fccf1bbae5b00dd11818c
[]
no_license
YTGhost/learnOpenCV
8f77deb3fe6ea8b26f17c538933e48773278ed8d
8c55c7fd88c22e38cabaaf84a3f1ae3bcfc3ed9e
refs/heads/master
2020-06-22T02:52:15.743240
2019-08-04T13:56:34
2019-08-04T13:56:34
197,615,398
1
0
null
null
null
null
UTF-8
Python
false
false
953
py
# 画一个黄色的具有四个顶点的多边形,并添加‘OpenCV’文字 import cv2 as cv import numpy as np # Create a black image img = np.zeros((512,512,3), np.uint8) #创建一个图像,高为512,宽为512,三通道,数据类型为无符号8位 font = cv.FONT_HERSHEY_SIMPLEX pts = np.array([[10,5],[20,30],[70,20],[50,10]],np.int32) pts = pts.reshape((-1,1,2)) # 这里 reshape 的第一个参数为-1,表明这一维的长度是根据...
[ "283304489@qq.com" ]
283304489@qq.com
67e1dc92e4c3101dcb85e0b56769ec96f9f6361b
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/pytype/pytype/tests/test_stdlib.py
e3b1ef911e8d6b21610d3a1d5f66a5fe1e1dc42b
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:28c5b4753341b4eedd875c32605f5d620461fdba9a3c92cb03f952ef8bdae4f8 size 7724
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
75e3d7f3e652742a680604c29c05b266514cd6cf
2c046543dd86a138ef419d2f72492ca7920d3725
/taiwanese/back/utils/drive.py
5491ecbbd6d598c714222b7c0d7a96289e48f5f0
[]
no_license
LukeLinEx/pkg_tw
7e75e7a93d7b68ec969557a2224fec771e06153b
01f2d9a2b0112cc24dc072da84eb6b008dc922c8
refs/heads/master
2023-03-04T23:36:26.181935
2021-02-17T03:33:53
2021-02-17T03:33:53
326,266,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import yaml from copy import deepcopy from taiwanese.config import * from taiwanese.back.utils.gapi_connection import get_drive_service class GDrive(object): def __init__(self): with open(config_path, 'r') as stream: self.__config = yaml.safe_load(stream) self.__service = self.get_ser...
[ "lukelin@tsung-yins-mbp.home" ]
lukelin@tsung-yins-mbp.home
254e4997c633057e7b30989b811822b0d8d9e406
d39124f15ba4dabf0b2a079a8faf36e841cfaf2e
/unsync/unsync/commands/utils/import_export.py
795ba4b093dd7d89aab3a308bc772b203b10911a
[ "Apache-2.0" ]
permissive
PGower/Unsync
b6737e7aa117c53223e07870f07def7620d56ded
f5b6efc3289c4db6900c52d964707632fac406e1
refs/heads/master
2021-01-20T02:30:20.353580
2017-06-28T04:20:08
2017-06-28T04:20:08
89,415,331
1
0
null
2017-06-28T04:20:09
2017-04-25T23:16:41
Python
UTF-8
Python
false
false
1,633
py
"""Commands to import or export the current command stack to or from a file.""" import click import unsync from unsync.core import NestedUnsyncCommands import pickle @unsync.command() @click.option('--output-file', '-o', type=click.Path(dir_okay=False, readable=True, resolve_path=True), help='File that the command s...
[ "pgower@gmail.com" ]
pgower@gmail.com
30cf50242dd2b1a2a1703eaf53954944acdf4b13
2192fe31e41c4758010c7258168fc661e4988991
/deploy/wsgi.py
f67718f1d8f235cd7d605945e18b07d293a0ce0e
[]
no_license
commoncode/shopifyplus
c7b13799561a4a23bccb3f080bb846b86ab8ad29
3aba281a790f93b780b0df3beebdf686434896e6
refs/heads/master
2018-12-29T00:38:20.146735
2015-02-17T01:48:12
2015-02-17T01:48:12
3,792,661
2
0
null
null
null
null
UTF-8
Python
false
false
456
py
# pinax.wsgi is configured to live in projects/shopifyplus/deploy. import os import sys from os.path import abspath, dirname, join from site import addsitedir sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) from django.conf import settings os.environ["DJANGO_SETTINGS_MODULE"] = "shopifyplus.settings"...
[ "daryl@commoncreative.com.au" ]
daryl@commoncreative.com.au
a49e0d2f00762ae2600710718427a7bc01e96d96
883add54792cb105a1b986197b1f89069cc2ebb6
/app.py
f26fdfc5996aec8c563405ce6bcf1aca332a02a7
[]
no_license
diya-liza/flask-backend-routing
ae88d2e4dc7377bac3087585db223d0fb78f645c
82fdc8521d9fa2395a6badaea8ee51275db64721
refs/heads/main
2023-06-01T23:29:32.210231
2021-06-17T15:48:26
2021-06-17T15:48:26
377,883,189
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
from flask import Flask, request, jsonify import pandas as pd from routes import routes app = Flask(__name__) app.register_blueprint(routes.route) app.run(debug=True, host='0.0.0.0')
[ "diyaliza16@gmail.com" ]
diyaliza16@gmail.com
5a7be2721937362fcef6ff3ff71846e5b4ea34a8
fd9e5777b876ddf204250c5dd72f4ac518e7b8dd
/util/merger.py
55e6c0f0d71e698d55e61a75adfd2ce3ac8277c4
[]
no_license
as-com/bot
7fda107557e299f8835e3f245afae32ac1f3821e
d5d505b00efaad0f1b7b634118719bc4e055361b
refs/heads/master
2021-01-15T12:28:27.903980
2015-04-14T15:47:16
2015-04-14T15:47:16
34,180,640
0
0
null
2015-04-18T19:58:29
2015-04-18T19:58:28
null
UTF-8
Python
false
false
3,500
py
from git import Repo import pystache, re class GitMerger(): """ merges a pull request by the request of a collab """ def __init__(self): self.merge_re = re.compile(self.config["merge_re"], re.IGNORECASE) self.rebase_re = re.compile("\brebase\b", re.IGNORECASE) def check_commen...
[ "yeatesgraeme@gmail.com" ]
yeatesgraeme@gmail.com
c0f2c2e1ee656252d16abd7f3bdd116cce608258
601a0284a0b65eb928bb11d08d03502796e7a11e
/code.py
eb42a42d68cdd2051ba28115f99c3c837ae83ef3
[]
no_license
JDBrooks55/TextGame
fb82ca968f8aaf2e8b58cb4aa59adddec4a815f3
371b55736b4bc77fc0569ee00320dd09094bd1c6
refs/heads/master
2020-04-07T07:20:12.152438
2018-11-19T21:01:45
2018-11-19T21:01:45
158,172,678
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
x = 0 name = " " choice = " " inv = [] def menu(): #Welcome and name designation print ("\n\nWelcome to 'insert name of game here'") print ("What would you like to do?") print ("> New Game") print ("> Load Game") print ("> Credits") print ("> Exit") choice...
[ "noreply@github.com" ]
JDBrooks55.noreply@github.com
0026a038b30ac7462d9321fb6c835d8f99033f1e
f13348d6934b547530d4c1edaf3efdda50d5c549
/problem 2.py
431a55e508267466e134761460c70447c379417b
[]
no_license
zwang88/Project-Euler
2128e26e76ac12410d3901cbfb54fe93563f7354
1cda70a19c0bb278cdbf8513e802488eb7b9b876
refs/heads/master
2021-01-19T06:05:33.946877
2015-02-10T23:05:11
2015-02-10T23:05:11
30,275,866
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
total = 0 n0 = 0 n1 = 1 while ( total < 4000000 ): n2 = n1; n1 = n0 + n1; n0 = n2; if n1 % 2 == 0: total = total + n1 print (total)
[ "zwang88@illinois.edu" ]
zwang88@illinois.edu
adf0a4bcbbb7eb87e897f27bcc76e4d498088995
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/airflow/providers/amazon/aws/transfers/s3_to_redshift.py
85cd38ad0763d3cd305c02b2e2964cd1c0daf8c5
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
7,375
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
coutureai.noreply@github.com
b12debf49ec0d2a6bde44a37de0bf4860dd0473f
f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b
/controller/src/opserver/analytics_db.py
09ee2eb3ed77d9627e8c6b51cff089f82123733f
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
pan2za/ctrl
8f808fb4da117fce346ff3d54f80b4e3d6b86b52
1d49df03ec4577b014b7d7ef2557d76e795f6a1c
refs/heads/master
2021-01-22T23:16:48.002959
2015-06-17T06:13:36
2015-06-17T06:13:36
37,454,161
2
0
null
null
null
null
UTF-8
Python
false
false
13,947
py
# # Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. # # # analytics_db.py # Implementation of database purging # import redis import pycassa from pycassa.pool import ConnectionPool from pycassa.columnfamily import ColumnFamily from pycassa.types import * from pycassa import * from sandesh.viz.constants...
[ "pan2za@live.com" ]
pan2za@live.com
2edf1931164f851816b5a7d1e3251a17aeae7646
efa1c4375c1c390d8c739be3fa037614fc1a8376
/scripts/excel-playground.py
91c416165195e5b340cfd7915260a600adcbffaa
[]
no_license
bellabellahuang/codingIsland
560760ee456f30e28e522015f7adea28b1889fa6
a4daa940f530d5729c8f55a8a55ef90d300b9c01
refs/heads/master
2023-07-26T01:45:16.403430
2023-07-13T17:14:43
2023-07-13T17:14:43
133,688,561
0
0
null
null
null
null
UTF-8
Python
false
false
2,720
py
import openpyxl as xl import re from copy import copy FILTER_ROW_REGEX = '^Applied filters.*' validator = re.compile(FILTER_ROW_REGEX) MONTH_MAP = { 'January':'01', 'February':'02', 'March':'03', 'April':'04', 'May':'05', 'June':'06', 'July':'07', 'August':'08', 'September':'09', ...
[ "bellahuang1012@gmail.com" ]
bellahuang1012@gmail.com
cd7e2d99660a6c8d2c97d9ef1fc346ff6573713c
8703e78356836ec002bcff1142a995d10c2f4b63
/OpenCV/image_operation/OpenCV_adding_method.py
4aa775bcd07e848e4803cce4cd27a588a3218189
[]
no_license
hossainarif726/OpenCV_library_with_python
0a13d00b7207da06ccc517a14bcf0627a5eee3d0
49f6518432edda453fe966fd90b0fe37bea13338
refs/heads/master
2022-10-19T23:30:40.992482
2020-06-12T13:51:27
2020-06-12T13:51:27
271,801,762
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
import cv2 import numpy as np img1 = cv2.imread('test1.png') img2 = cv2.imread('test2.png') #for adding two image must be in same shape add = cv2.add(img1,img2) #it will destroy opaqueness cv2.imshow('added image',add) cv2.waitKey(0) cv2.destroyAllWindows()
[ "noreply@github.com" ]
hossainarif726.noreply@github.com
9307e0b490c5ef2e862972bb41f4bb163d50a2ce
e763c6420cf88d02c7a261dd151bd87096551102
/CornershopVenv/bin/pyhtmlizer
b573cc3e7548b6a9df22472c41ad02c316a30629
[]
no_license
Ch3did/super-journey
0a420e3c83c4664a6df7deb72509c9636f5489ef
ee82739010aceabefaf7e48453f64055afa637e3
refs/heads/master
2023-02-16T14:52:19.538132
2021-01-09T13:08:21
2021-01-09T13:08:21
328,152,742
0
0
null
null
null
null
UTF-8
Python
false
false
281
#!/home/ch3did/projects/python/scrapy/super-journey/CornershopVenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from twisted.scripts.htmlizer import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "phchedidk@gmail.com" ]
phchedidk@gmail.com
4da3656f25196687de4aea18a3990b141ca6b24b
45744e4e6764d7c409262aff3cebf9f4b820196e
/cart/urls.py
13f1c3d0f1856414512d3735be85d6091f52ac65
[]
no_license
challengevolley/ticket
62e133ae9fb31e2d346722ecccfc800b10347b6b
6d8b7880a7618fcffa3a283483820732f52a6c15
refs/heads/master
2020-05-26T20:28:38.340043
2019-05-24T06:21:23
2019-05-24T06:21:23
188,364,327
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from django.urls import path from . import views app_name = 'cart' urlpatterns = [ path('tickets/<int:ticket_id>/delete', views.cart_delete, name='delete'), path('', views.cart_list, name='list'), ]
[ "ec2-user@ip-172-31-37-226.us-east-2.compute.internal" ]
ec2-user@ip-172-31-37-226.us-east-2.compute.internal
14d710f1b9dfa4a4a18b83a5595cc7c0ece6f1bf
eab26813f4c88ae9dfdbc91275f1f9741325831c
/auctions/migrations/0002_auto_20180608_2235.py
58fb3dcf994c8716d6598b179d2c3fab37339eaf
[]
no_license
kengitahi/auctionApp
6136ae6f0dc0857f0d6922e562ff205d06dd5d8b
3095ebd53c43fb4a7ee9e9e53fae728692745b9f
refs/heads/master
2020-03-25T13:31:17.235992
2018-06-19T11:55:05
2018-06-19T11:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-06-08 22:35 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('auctions', '0001_initial'), ] operations = [ migrations.RenameModel( ol...
[ "ademdinarevic@gmail.com" ]
ademdinarevic@gmail.com
450f022bb706397bd26593c0ec32e34a60d8265a
61d888900947129abd1cbb1a7d99296ca6c31dcf
/test/test_mfa_recovery_code.py
4ca2deec69dd3b5a699f65190791559206a07379
[]
no_license
krezreb/openapi-client-clevercloud
b8e8454e571d0e08eae6ea5a83a129b1928c085c
e42e5380c6fd4003cdfbdccda89f9dd5a3c76754
refs/heads/master
2023-05-06T19:28:16.547835
2021-05-28T08:31:35
2021-05-28T08:31:35
371,631,524
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
""" Clever-Cloud API Public API for managing Clever-Cloud data and products # noqa: E501 The version of the OpenAPI document: 1.0.1 Contact: support@clever-cloud.com Generated by: https://openapi-generator.tech """ import sys import unittest import openapi_client from openapi_client.model.mfa_...
[ "josephbeeson@gmail.com" ]
josephbeeson@gmail.com
eb17e571bdbaa9fe4f379b7c55e5f4548a7d23aa
3b8a3640431aff0744afca711ea6f172c000f79b
/visualization.py
bc470c50a0f558768b7ce734d1390c0e0157801a
[]
no_license
fulowl/embeddings-visualization
9d604a65030ab5ce3f1c288c417a8adfce18971e
48fbe028a36afecbd3cb30c16d3f3c5266ecd9e3
refs/heads/main
2023-03-15T19:38:36.968513
2021-01-31T03:25:54
2021-01-31T03:25:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,500
py
import numpy as np import pytorch_lightning as pl import torch from pytorch_lightning.callbacks import Callback, ModelCheckpoint from pytorch_lightning.metrics.functional import accuracy from torch import nn from torch.nn import functional as F from torch.utils.data import DataLoader, random_split from torchvis...
[ "noreply@github.com" ]
fulowl.noreply@github.com
6d48a5673304b73a12e313b84ffc00a070f3ebc5
007691fe729d3bf1f85b4fe59a6be35249a4b592
/MLE_tf.py
cf80b912da31c4bc08529719e97195c964875a09
[]
no_license
Hitesh1912/Machine-Learning
dc8c03bb2ea03acb9b7932b0bf48d985b4c713c8
f4fba43be263d54a8f6ca04491806c41a29b3fb2
refs/heads/master
2020-04-21T11:12:08.476871
2019-04-28T22:59:24
2019-04-28T22:59:24
169,514,716
1
0
null
null
null
null
UTF-8
Python
false
false
4,498
py
# Q6 Implementing Neural network using Max likelihood (cross entropy) loss using softmax import tensorflow as tf import numpy as np import pandas as pd from random import seed # Function importing Dataset def importdata(): global train_data train_data = pd.read_csv( 'train_wine.csv', sep =',', heade...
[ "verma.h@husky.neu.edu" ]
verma.h@husky.neu.edu
ce2ab9fd24d842cfe951413780212372f003ae35
dbf5c7fb0e111c14a044481796471f2eb49d2062
/api_yolov5/restapi.py
dfed8ef030e2e49a745eab0f1052884dc7ffd6f1
[ "MIT" ]
permissive
ylantt/TechSeeds_SF_UH21
9e779c7ddc59541e663425e49a4109d1ceac184e
26c9f5cf61ad0a4de34e77eb9f5caf28d361648d
refs/heads/master
2023-08-27T21:45:37.305287
2021-10-03T00:34:56
2021-10-03T00:34:56
403,484,506
0
0
null
2021-10-02T22:36:22
2021-09-06T04:27:01
JavaScript
UTF-8
Python
false
false
1,758
py
""" Run a rest API exposing the yolov5s object detection model """ import argparse import io from PIL import Image import torch from flask import Flask, request, jsonify import base64 import json app = Flask(__name__) DETECTION_URL = "/v1/object-detection/yolov5s" @app.route(DETECTION_URL, methods=["POST"]) def pr...
[ "luuvancui10a1516@gmail.com" ]
luuvancui10a1516@gmail.com
e0ee80372c7505afea67b37c9508ee47e3049dee
1892a473b7eed6aaa712bc2959a1aca48beec284
/forks/rlkit/rlkit/launchers/ppo_three_tier_shared_goal_gen.py
0b69f5208749bf01ef4f6d8fa809af59e8c268a0
[ "MIT" ]
permissive
AndrewPaulChester/sage-code
d3753bc894f21ce057c1a273e54926e368529e2b
9fe676bfbcbc6f642eca29b30a1027fba2a426a0
refs/heads/main
2023-05-05T19:08:21.655463
2021-05-27T05:21:54
2021-05-27T05:21:54
371,245,286
2
0
null
null
null
null
UTF-8
Python
false
false
7,456
py
import gym from torch import nn as nn import os import numpy as np from forks.rlkit.rlkit.exploration_strategies.base import PolicyWrappedWithExplorationStrategy from forks.rlkit.rlkit.exploration_strategies.epsilon_greedy import ( EpsilonGreedy, AnnealedEpsilonGreedy, ) from forks.rlkit.rlkit.policies.argmax...
[ "48459485+AndrewPaulChester@users.noreply.github.com" ]
48459485+AndrewPaulChester@users.noreply.github.com
34ae52f5ff6b67f8225ff5fc8bfab7b05c981161
2c755562ef6cd6d2e44d09dc52ce157584638a37
/Day23/turtle-crossing-start/main.py
f50e1850de5cb13f508d2e118f64a6c4ce6d704c
[]
no_license
yayuntsai/python-100DaysofCode
605c6725091532c3585fbe8cdecd35997356e7f7
5d97de9c11a84f22b6a98944c1f9d2bb440eccb9
refs/heads/master
2023-04-20T00:02:03.527993
2021-05-09T07:51:38
2021-05-09T07:51:38
334,806,991
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import time from turtle import Screen from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) player = Player() car_manager = CarManager() scoreboard = Scoreboard() screen.listen() screen.onkey(player.go_up,...
[ "anniesnoopymd@gmail.com" ]
anniesnoopymd@gmail.com
54fe0d0bcf3120535489e1bf465956fd8e60a6c2
7cd4ab1a89091818f8b2253693cb3f8a63f31044
/utils.py
2f13ce718923f1cc02d5c3aa994bfde2106ba364
[ "MIT" ]
permissive
wycharry/ResNeXt
65c20cfc99f82ccd35c110620bf3d63fcd8cb712
e97c100c3f5f4f4df7af1d50ba83516272d9dac4
refs/heads/master
2021-01-20T14:15:05.047899
2017-04-30T09:28:06
2017-04-30T09:28:06
90,573,064
1
0
null
2017-05-08T01:12:35
2017-05-08T01:12:35
null
UTF-8
Python
false
false
916
py
import argparse import os import shutil import time import torch import torch.nn as nn import torch.nn.parallel import torch.optim class AverageMeter(object): """Computes and stores the average and current value""" def __init__(self): self.reset() def reset(self): self.val = 0 sel...
[ "you@example.com" ]
you@example.com
0bbc30496304005797e4c0345d4048ac4c5b95fc
b3ce3c3eadd29ee8e269f4374d39921d0fe47744
/python/lucy/parser/test_lucycompiler.py
4ef4a008dccb83362ee747d31783f2178d3db2e0
[]
no_license
AllanDaemon/Diaspar
9a9db38341701ec17803182c2231af36fc60673e
8d69208643eef599761432262d7532951a9e5b1d
refs/heads/master
2020-12-24T11:45:28.882691
2010-12-11T00:15:40
2010-12-11T00:15:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,738
py
import ply.yacc as yacc import unittest from compiler import ast from compiler import misc, syntax, pycodegen from compiler.consts import * from test_lucyparser import BaseTest from lucyparser import LucyParser from lucycompiler import LucyCompiler import lucybuiltins class TestCompiledCode(BaseTest): def...
[ "pjwerneck@gmail.com" ]
pjwerneck@gmail.com
1ae7dec8c4d86cd17533ba9e55ed2f88c4a7df32
2bef484ad81004158e2e6b09f61640d5f148d34e
/speed_evaluator.py
c01057baba852447681fce666ddf8967dda1db49
[]
no_license
rikuh00/Self_Driving
2110a095220b5215964d228890273be5bc8fd213
4da7af39445331c648eee79474af9cb39c294ac8
refs/heads/master
2020-11-28T08:51:22.802097
2019-12-23T13:54:25
2019-12-23T13:54:25
229,761,827
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
#%% IMPORTS from mlxtend.plotting import plot_decision_regions from sklearn.naive_bayes import GaussianNB from sklearn import svm import matplotlib.pyplot as plt import numpy as np import pandas as pd #%% LOAD DATA LEN_FEATURE = 1000 def get_feature(LEN_FEATURE): grade = np.random.uniform(low = 0, high = 1, size ...
[ "45102134+rikuh00@users.noreply.github.com" ]
45102134+rikuh00@users.noreply.github.com
3c550bb83e43021c81159ef5c4d5b7cd8e45bdba
725fdde3f4ac9d4fd945003ffecb2d85e707930d
/Python_Practice3.py
a03ff7e09a2c642afd100074f824a5e65c58b3c5
[]
no_license
jhoward19/Election_Analysis-
5750c5d208b5c08f130fa01a7b15f7b1423f718f
7bc5feb2b5073fa0930211313cae7dbf1266e6bd
refs/heads/main
2023-08-31T17:39:41.974067
2021-10-31T14:48:29
2021-10-31T14:48:29
418,710,402
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
x = 0 while x <= 5: print(x) x = x + 1
[ "jessicahoward@Jessicas-MBP.fios-router.home" ]
jessicahoward@Jessicas-MBP.fios-router.home
7e3545f6a93d8f29fc70f487369548fce40f7376
e087df9e896b6260695805aade9f728d51c59575
/adsb_utilities/airspace.py
19961e3250c2f4845a215200b3a48e352c033174
[]
no_license
IslePilot/py3_scripts
45f453ad22d0bc2d56f554b00c0295bceae51250
f45e3ac1ae4a88de46027f4801f4b46aacb21f5e
refs/heads/master
2023-07-20T12:12:10.555811
2023-07-12T14:52:28
2023-07-12T14:52:28
134,488,813
1
0
null
null
null
null
UTF-8
Python
false
false
13,884
py
#!/usr/bin/env python3 """ ************************************************************************************ Copyright 2020 (C) AeroSys Engineering, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Found...
[ "keith.barr@aerosys-eng.com" ]
keith.barr@aerosys-eng.com
123ad9c3fcdd484b90d9adc07fcfa09fd77958c2
c42ff25f85514afd85a528d6503816ebbded9257
/venv/bin/audioidmon_monitor_fingerprint
a09bd6956144bae2637252c4ce59eaa3629c0906
[]
no_license
NisalPriyanka/Lucy-Speech_Recognition_Assistance-
3024430514ebe4ce19df20829e7cdb8b670e5ae8
f703be2816935ad1a78643d3d69ed2380b69b227
refs/heads/master
2020-03-21T05:47:19.020512
2018-06-25T05:53:27
2018-06-25T05:53:27
138,180,160
0
0
null
null
null
null
UTF-8
Python
false
false
299
#!/root/Documents/Lucy-Speech_Recognition_Assistance-/venv/bin/python # -*- coding: utf-8 -*- import re import sys from audioidmon.cli.audioidmon_monitor_fingerprint import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nisal.priyanka@my.sliit.lk" ]
nisal.priyanka@my.sliit.lk
4e8d76f4f75201c8c3593a7e90653b1d06a831d9
8a64bf83f8d9db5f3e2511596bb2abdd5119838a
/data_analysis/notebooks/model_custom.py
f7bd806459db34967811db6b325c2d6af6dba09b
[]
no_license
fougere44/e1
b658596621e412ad9e931e06c3baf7a31bc121cb
dfa3000fd503e1eb402c6d00abe4df57eef9e10a
refs/heads/main
2023-05-09T03:34:42.797897
2021-05-30T14:55:46
2021-05-30T14:55:46
364,997,139
0
0
null
null
null
null
UTF-8
Python
false
false
7,158
py
import numpy as np import pandas as pd import random import cv2 import os import sys from os import listdir from os.path import isfile, join from keras.preprocessing.image import load_img from keras.preprocessing.image import img_to_array from PIL import Image import keras import keras.backend as K from keras.models...
[ "afougere@sigma.fr" ]
afougere@sigma.fr
3be20940bd4db0860f3e1d83ea84e1c20e51a059
62307a5958538a884e8c25790af05c758e78deb5
/urls.py
8d465d370696d944e55b8244ed15f26dbe4e9996
[]
no_license
sdb/sdb
0e22d1309ff1ef8b6e940c796854d403728910af
33c0d17160d47b02d243743b003ab0b978993a8d
refs/heads/master
2016-09-15T14:30:35.080053
2012-05-04T13:45:47
2012-05-04T13:45:47
868,692
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
from django.conf.urls.defaults import * from django.conf import settings from django.contrib import admin from django.contrib.sitemaps import FlatPageSitemap, GenericSitemap from sdb.sitemap import MainSitemap admin.autodiscover() sitemaps = { 'flatpages': FlatPageSitemap, 'main' : MainSitemap, } urlpatterns...
[ "stefan@ellefant.be" ]
stefan@ellefant.be
de5174ed049e9fbe60804f4ca25fd8cfed046983
c25b5ccd210eb3223695a1c3b6aba6beba9095f1
/urls.py
1aea993d3b00a35760d66db7da08996025bb9db8
[]
no_license
evadunn/PythonClub
784a211d818a09878b30cdb89f66ae0329098cff
53355f75d25463e84bd5cab48af1aeea7e81b2fe
refs/heads/main
2023-06-01T22:44:46.768116
2021-06-15T18:31:13
2021-06-15T18:31:13
357,615,491
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
"""PythonClub URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "noreply@github.com" ]
evadunn.noreply@github.com
d4dff6a9a6c2a14949864b231b50b23fac31547f
04dfecbd42edcfd9ee8c8f6219a2c8638d0c0acd
/LeetCode/136.只出现一次的数字.py
8f8f8ce182343703acc0e84344dec1aeafcdae0d
[]
no_license
weepwood/PythonDemo
18a88d54855b722296d7f5823d122db99b2da5a5
7b918c970073535a3680c9296ba6dab73014c32d
refs/heads/master
2023-01-27T20:46:24.284072
2020-12-02T07:53:04
2020-12-02T07:53:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
# -*- coding: utf-8 -*- """ @Date : 2019/12/24 下午 9:29 @Author : long @File : 136.只出现一次的数字.py """ """ 给定一个非空整数数组,除了某个元素只出现一次以外,其余每个元素均出现两次。找出那个只出现了一次的元素。 说明:你的算法应该具有线性时间复杂度。你可以不使用额外空间来实现吗? 示例 1: 示例 2: 输入: [2,2,1] 输入: [4,1,2,1,2] 输出: 1 输出: 4 """ """ 1.遍历nums中的每一个元素 2.如果某个nums中的数字是新出现的,则将它添加到列...
[ "885240677@qq.com" ]
885240677@qq.com
27e9139ce7c4cb54a15ea6951cf71b700ac27663
a36c23f6ab5603a779bfbbf9adf92a8e8f3354e7
/ngz-geoviz/datahub/migrations/0007_train_traincategory.py
2e2f807e09be647b7af8d23232f819b2f1ded5d3
[ "MIT", "CC-BY-4.0" ]
permissive
cuulee/ngz-geoviz
32263f4472cc2484ea67a900170908c875dbca93
9407c1d3003c43b63606c3209837a7a3cfb1fa05
refs/heads/master
2022-09-08T14:56:11.009081
2020-06-01T09:48:07
2020-06-01T09:48:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# Generated by Django 3.0.3 on 2020-02-25 07:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('datahub', '0006_auto_20200224_1212'), ] operations = [ migrations.AddField( model_name='train', name='trainCategory'...
[ "joona@gispo.fi" ]
joona@gispo.fi
85179a7df23d93d41204a91196ec6860f15abf57
a25f379bf4ab36547e2a6fa59c4fbea78d0bd729
/pev_photons/systematics/sens_fit.py
1fd3b2b5a0287374deddb26b86749b4790cefd59
[]
no_license
zdgriffith/pev-photons
1275464b81aef6f0e7a8c8440dadb6c24581ee7c
01c68fdafe398c1855329c25ccfba07b08a9a9e0
refs/heads/master
2021-07-26T00:56:19.689628
2018-11-17T17:04:06
2018-11-17T17:04:06
100,307,872
0
0
null
2018-08-15T19:12:19
2017-08-14T20:43:03
Python
UTF-8
Python
false
false
3,070
py
#!/usr/bin/env python ######################################################################## # Perform a sensitivity calculation fit on injected trials distributions ######################################################################## import numpy as np from glob import glob import argparse as argparse from sk...
[ "zachary.griffith@icecube.wisc.edu" ]
zachary.griffith@icecube.wisc.edu
36b89008aa63d7babf7a2cf5176fff5ca6a4c9c6
3ded38311016cc77546ab5da60260206e70a8b1e
/FunMooc/exos_UpyLaB/UpyLaB 6.13.py
83ba6c93544cd8d69b050c6aaf8f9aa3421ba243
[]
no_license
jfrancois974/Python
f414c0b983f3731eb3ffae85f520067ea6d31338
c48bb451c560ea9c50f13863364a702ec8a66883
refs/heads/main
2023-01-07T14:40:12.553446
2020-11-06T10:11:07
2020-11-06T10:11:07
310,559,421
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
""" Auteur: Jean-François BATAILLE Date : AVRIL 2020 Projet : Apprentissage Python 3 Objectif: Voici le début d’une suite logique inventée par John Horton Conway (et connue donc sous le nom de suite de Conway). 1 1 1 2 1 1 2 1 1 1 1 1 2 2 1 ...
[ "noreply@github.com" ]
jfrancois974.noreply@github.com
4718642f952cbc04c2cf210cc8eabb5076c4614f
c87ae09a0229b4b4620c511b0c51eb685ec22b99
/Python全栈学习/第三模块/LuffyFTP 功能重写/client/ftp_client.py
0815c26ed99fd1dc3537004fd81cf58014bbae89
[]
no_license
caideyang/python2018
050f4c29c37b5bec963e77e0724cd05a9350deed
b7a3a728ef36b43448dc5ff594fdba500b67ad53
refs/heads/master
2020-03-25T06:02:54.699941
2018-11-01T23:04:29
2018-11-01T23:04:29
143,480,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,685
py
#!/usr/bin/python3 #@Author:CaiDeyang #@Time: 2018/9/22 9:38 import optparse import pickle from socket import * class FTPClient(object): """ftp客户端""" def __init__(self): parser = optparse.OptionParser() parser.add_option("-s", "--server", dest="server", help="ftp server ip_addr") pa...
[ "deyangcai@163.com" ]
deyangcai@163.com
1394f29de96d1460e6d7afca6e5e7e0e58da3333
96c378e3b2f92df852782f0c662b10c142413575
/user/migrations/0011_user_desc.py
984e1a91f2b454c68eceac4c5c82ff8a74b1a861
[]
no_license
Sndav/OTS
0e6e1dc3f4705839f52b72cf973765945804a89e
4fdc3c7a71e8c74115285c15e99cf4a5b7a8fea0
refs/heads/master
2020-04-11T14:52:03.923197
2019-03-07T08:22:28
2019-03-07T08:22:28
161,871,473
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# Generated by Django 2.1.4 on 2019-03-04 13:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0010_auto_20190303_2048'), ] operations = [ migrations.AddField( model_name='user', name='desc', ...
[ "bossstyle@126.com" ]
bossstyle@126.com
991875aa1b15d197046ecda9d4eab939362b01ef
bf3fecb4064c99f398042846dabf990975dbaf9b
/Air03/PM25.py
21b687d28a01b3a3d44562da9f82734e037fb821
[]
no_license
sswxl/Air_Quality_Analysis
15eba41f142ec4c1d28e2853a5f3c73c71ba6e29
5e290be4eb8e57e3053e9d0f9e3cf23f754d2152
refs/heads/master
2023-06-27T22:15:12.268086
2021-01-05T09:20:57
2021-01-05T09:20:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,128
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns dd=pd.read_csv(open('./PM25city.csv',encoding='utf-8')) data=dd[dd.AQI>0] data=dd[dd.PM25>0] citydict={} aqidict={} aqilist=[] for index, row in data.iterrows(): AQI=row['AQI'] year=row['year'] month=row['month'] ...
[ "1144349266@qq.com" ]
1144349266@qq.com
c2f94c851ad8e7acf9199934c932789fcc57765a
bd5a446017eddbb927e12ac04c82287e46dc6088
/openaction/base/context.py
c96402adb0e66fafcfeec5042dbdb00ff6f913c1
[]
no_license
idlweb/open-action
40395661bc0cc51b10d95ecfe7832a6d3293194f
c46e34c2fbc19c5bf88f1cda9555b475d6011d22
refs/heads/master
2021-01-17T05:17:15.561983
2013-01-11T16:04:39
2013-01-11T16:04:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
from action.models import Geoname, ActionCategory from django.conf import settings from users.forms import UserRegistrationForm def global_context(request): context = {} context['main_arguments'] = ActionCategory.objects.all() context['main_locations'] = Geoname.objects.all() context['LESS_DEBUG'] = se...
[ "joke2k@gmail.com" ]
joke2k@gmail.com
fa07c03e34407de62bf96dedd9aba32ec4629fde
5aa19a95b9c128009dc2c8fee2e40233fb60e89a
/DB/AdaptorDB.py
2187acf39e94102074e033ca4ce79e2e3d6d9fb2
[]
no_license
greenrain78/ERBS-DB-Client
f269d79f6be91af68d25acece3aaa02dad04b53a
b9d30d491e2174b83623c70d6839a4f069aaec16
refs/heads/master
2023-02-26T04:49:49.428264
2021-02-02T22:19:55
2021-02-02T22:19:55
330,716,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,932
py
from datetime import datetime from typing import List from DB.SQL import initGamesSQL, initUserSQL, userTableName, gamesTableName, gamesTable from DB.mariaDB import runSQL, getSQL from DB.DBLog import getLogger log = getLogger() def initDB(): # init DB runSQL(initGamesSQL) runSQL(initUserSQL) log.in...
[ "kimdw010130@daum.net" ]
kimdw010130@daum.net
1543c88cfd5d500fde13adf822144f8e4493ff15
fb53ca8b57bd84e5506bd958305e95f052f8e1ba
/CorpusBuilder/getLinksOnline.py
c4e3c260646abcc24ac14d51aefb497b87d89986
[]
no_license
mikhaylova-daria/NER
bbbfe6f2cac4135a66e6a9d4f7ac6446fc76f7b4
ec87664a9b247428226a5d2e49cd6dd8d3937043
refs/heads/master
2021-01-19T03:43:47.869069
2016-06-13T19:22:47
2016-06-13T19:22:47
44,476,041
1
1
null
null
null
null
UTF-8
Python
false
false
3,950
py
import multiprocessing __author__ = 'daria' import Levenshtein import requests from bs4 import BeautifulSoup from collections import defaultdict trash = [u'File:', u'Portal:', u'Main_Page', u'Wikipedia:', u'Help:', u'Special:', u'Talk:', u'Category:', u'Template:', u'Template_talk:'] # take links with tag ...
[ "dasham94@yandex.ru" ]
dasham94@yandex.ru
32de168ddd59c44746217ded4fbc47aefd0220b8
9fff6cf2f8a777c2cbe84ff232f65dcf6def0ec4
/lcs/views.py
86bf58a29a91dad0bf41c5a41e7a3ecd5c29b442
[]
no_license
dougintexas/dougintexas.github.io
71893d2e42e9679eefddeb7175e0ee01687b6187
619e2f43837121b29b725f0143ef497552742c79
refs/heads/master
2021-07-02T03:06:06.700732
2020-01-31T20:52:54
2020-01-31T20:52:54
62,011,280
0
0
null
2021-06-10T19:14:37
2016-06-26T22:34:25
HTML
UTF-8
Python
false
false
166
py
from django.http import HttpResponse from django.views.decorators.clickjacking import xframe_options_exempt @xframe_options_exempt def home(request): return ""
[ "atadams@gmail.com" ]
atadams@gmail.com
106e275868007d2c55256b1422e7451549b6f3e8
e3fc83e77e218f7b8df4b14b0753fd65afd4b923
/downloaded_kernels/loan_data/converted_notebooks/kernel_39.py
1359e1b6237eaebdd7a85313245855caf0629b40
[ "MIT" ]
permissive
jupste/wranglesearch
982684fdaa7914af59758880fdc3a4ff3346477f
a6978fae73eee8ece6f1db09f2f38cf92f03b3ad
refs/heads/master
2023-06-18T04:46:34.474046
2021-07-15T23:43:24
2021-07-15T23:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,558
py
# coding: utf-8 # ***Visualization(Exploratory data analysis) - Phase 1 *** # * ***Major questions to answer(A/B Testing):*** # 1. Does the installment amount affect loan status ? # 2. Does the installment grade affect loan status ? # 3. Which grade has highest default rate ? # 4. Does annual income/home-ownership a...
[ "jcamsan@mit.edu" ]
jcamsan@mit.edu
29bcb620ec75a93f13d88254737db6a6a998f321
5ff28a9f839a9c3cc416f1f4a2f6e8a656809c27
/snakePlay.py
aa381137a352ea3d60f29c1a5c6d262a3c783096
[]
no_license
Kripperoo/Genetic-Programming-for--Snake-
2b655af958f263abe6f82c7f7abc48fde4d8a881
820715a2b43ae4c1d5482094f52db19f21e6dcc7
refs/heads/master
2020-04-16T08:41:29.456018
2019-01-13T20:24:58
2019-01-13T20:24:58
165,433,963
4
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
# This version of the snake game allows you to play the same yourself using the arrow keys. # Be sure to run the game from a terminal, and not within a text editor! import curses from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN import random curses.initscr() XSIZE,YSIZE = 18,18 NFOOD = 1 win = curses.newwin(...
[ "yl2570@york.ac.uk" ]
yl2570@york.ac.uk
81c34bd17953ac05445ed7cf1e981c1b620ddef9
9e9c8fede56a7b589bb38daf214e2535e3675aa5
/Day_7/CollegeManagement/manage.py
2ef9e180e9468085f91e8a952a754d67eaca8eb5
[]
no_license
Kowshik-407/Python-Django-APSSDC
97d8f29b62fc9c25f9772373df6b6f2f95132f05
bdb5ba532cf828dfe53adeabdc86d256a87445b1
refs/heads/master
2023-05-14T11:16:12.141120
2021-05-29T14:04:16
2021-05-29T14:04:16
371,987,899
0
0
null
null
null
null
UTF-8
Python
false
false
673
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', 'CollegeManagement.settings') try: from django.core.management import execute_from_command_line e...
[ "aitha.kowshik3@gmail.com" ]
aitha.kowshik3@gmail.com
111cd379d87c834c6be078e58efd77edf5971520
2abedfccdff742f243b29b74cea8dcb960ddbcc8
/xiecheng1.py
ad5e4c2b3a09849ef3329457781f8bc95201788d
[]
no_license
gainiu/pythonTestFile
ad9d132edbc00bfd7d12b2b6f529c01da188c884
380f56d12f21f3c3f6fc2ffc49a58ead1dc3023f
refs/heads/master
2021-05-17T02:53:47.722727
2020-10-09T14:53:46
2020-10-09T14:53:46
250,585,699
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
import asyncio import datetime async def crawl_page(url): print('crawling {}'.format(url)) sleep_time = int(url.split('_')[-1]) await asyncio.sleep(sleep_time) print('OK {}'.format(url)) async def main(urls): for url in urls: await crawl_page(url) start=datetime.datetime.now() asyncio.run...
[ "xiaomin@ut.cn" ]
xiaomin@ut.cn
f91139bd80047041c60073a67980b751a340ce4b
05fd17ba8b6aa8187f10a3898e31e77f33567342
/backend/urls.py
03744e796e1ea1d742d44d36a6b1ba2a2e0efcb1
[]
no_license
kubakin/tvoy-kvest
747d9b615bb4c5305c2beafc030636db9f100a4d
01acc21231f8cced6469e4021973d7870c362484
refs/heads/master
2023-06-04T04:18:01.855386
2021-06-20T13:40:02
2021-06-20T13:40:02
320,089,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
"""backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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...
[ "lord.pogudin@yandex.ru" ]
lord.pogudin@yandex.ru
a379cf6e57932968e1fde9b842122129a8ba1dfb
c4b8ae25752f7396538843f07cf413a746449dca
/src/main/python/lib/alblogs/__init__.py
f574a94d2823201b097525b4572c519171709a36
[]
no_license
walmvdw/alblogs
e1f729e79dd2a822324de15bf2a989f2d17a8b82
e0748f387a8f324a73977b43b4d65619dcb6338a
refs/heads/master
2020-03-24T12:03:45.622847
2018-08-09T07:10:12
2018-08-09T07:10:12
142,702,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
import argparse import os import logging.config from alblogs import config, logsdb, statsdb CONFIGURATION = None LOGGER = None def _find_config_path(options): if options.config: config_path = options.config else: config_path = os.environ.get('ALBLOGS_CONFIG_PATH') if config_path is N...
[ "mark@markwal.com" ]
mark@markwal.com
9250a9bbaeeec6d6a19bd7dd337e061b79b4b28f
ef73c542493eaa93df0cf1b776fe049cff45948d
/Django/python3/APIrest/APIrest/settings.py
d36cf11b0845b3c12fa4abf57dc5bd18a59b0cb3
[ "MIT" ]
permissive
Gambl3r08/ejercicios-Python
d2c770bb79e4fe63bec70ed1c40fb193ed3da460
ddf13b40c611f892112ebbe7bc907f5765998ea0
refs/heads/main
2023-06-09T20:53:32.966625
2021-06-30T16:38:10
2021-06-30T16:38:10
333,296,562
0
0
null
null
null
null
UTF-8
Python
false
false
3,276
py
""" Django settings for APIrest project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib...
[ "robertojoselozada@gmail.com" ]
robertojoselozada@gmail.com
b58084cfdb07122a03dfad23b32755d8b04bb7ff
4bdbac3e3c6cc8ddc46b0ef433daff5006789aea
/logger.py
9e3408c625a1cd7424713eab1ea943aefb1c30de
[ "MIT" ]
permissive
jhaip/stream-logger
f0dcad143a108d2e5c2824bd085f91107f6d7714
001f525b19d7a7d05b508bf0ba81ca9f03948015
refs/heads/master
2021-08-16T05:10:08.355669
2017-11-19T02:00:18
2017-11-19T02:00:18
106,340,795
0
0
null
null
null
null
UTF-8
Python
false
false
7,197
py
#!/usr/bin/env python # Takes large chunks of code from # the Segment Python logging library: https://github.com/segmentio/analytics-python # and this post on Stack overflow for reading the command line: https://stackoverflow.com/questions/11109859/pipe-output-from-shell-command-to-a-python-script # MIT License from uu...
[ "haipjacob@gmail.com" ]
haipjacob@gmail.com
8a3b47219f2a52a2413366c81f95eb3101b2e66d
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/histogram2dcontour/_marker.py
47c90e4d1725de3a5c81e03eccb04a515a0076d3
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,455
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Marker(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.marker" _valid_props = {"color", "colors...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
1aee5532b5f9024e07b42354d594950663f21c62
53ecc78b4ad0c20dc085a281006ee8e041642fb4
/simpson.py
201689e1ae4bad7441453c8813b71c3cfcd3004a
[]
no_license
lobiviam/MPI_python
4faca5fc585e943ba4ec372846dca3a1e050ca49
68dc0672a0beaacc2689c2e3eebfc1c231a20825
refs/heads/master
2021-05-12T10:27:17.736460
2018-01-17T23:10:20
2018-01-17T23:10:20
117,352,889
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
import numpy import sys import math from mpi4py import MPI from mpi4py.MPI import ANY_SOURCE comm = MPI.COMM_WORLD rank = comm.Get_rank() size = comm.Get_size() # function to integrate def f(x): return 4 / (1 + math.pow(x, 2)) def integrate(a, b, n): integral = 0 step = (b-a)/n for i in range(1, int...
[ "lobiviam@gmail.com" ]
lobiviam@gmail.com
9dce206f820695e94e6139412c9873479d016c8d
e945fa310c0777fc08a0b9c7f9b8e8ecf1bcbcbb
/eval2.py
928eac5bd56803b95c0b03e1ecbb98bf02fc803b
[]
no_license
shatskiyIlya/hello-world
b663bd9626a246b83521985080759a60ae9ce16b
ec60bbaf07ca50f0f8e336ad21ddbf38aa7d0f18
refs/heads/master
2020-06-11T06:28:27.858358
2019-07-03T12:13:37
2019-07-03T12:13:37
193,875,977
0
0
null
2019-06-27T10:10:46
2019-06-26T09:43:56
null
UTF-8
Python
false
false
110
py
#!/usr/bin/env python3 import os assert eval("2 + 3 * len('hello')") == 17 eval("os.system('clear')", {})
[ "noreply@github.com" ]
shatskiyIlya.noreply@github.com
343c09ee3435c386839c27bd67fa59ee8cbea696
ddbbae38a4d902a21075bca3c9824b81a84e915f
/freetrade/feeds/kibot.py
545ec1bd92b8fb123c6708347e42b7a05ff02fb8
[]
no_license
jmrichardson/freetrade
5a1faa998e6449b35f5ca47dab09666bfc7f0666
3c04782ea38a3a8d2943aa4ed092ebfe84a2c65e
refs/heads/master
2022-05-28T01:12:28.087735
2020-05-02T00:41:35
2020-05-02T00:41:35
260,307,433
1
1
null
null
null
null
UTF-8
Python
false
false
533
py
import pandas as pd from freetrade.feeds.feed import Feed class Kibot(Feed): def __init__(self, path, nrows=None): # X must have format of open, hich, low, close volume - with datetime index self.X = pd.read_csv(path, names=['date', 'time', 'open', 'high', 'low', 'close', 'volume'], nrows=nrows) ...
[ "jmrichardson@gmail.com" ]
jmrichardson@gmail.com
0e35a354a75ae2a7b94e4f6e68da838999426d04
6b55ea780749ccb401f762be81a4b2446edf7756
/src/keyboard/motorOffsetTest.py
4c2a41c7ea5a4dfc63442a8d8a06e6ae57bf1990
[]
no_license
GoldeneyeRohan/RDRONE
a59709483902ec9edf4c5971b43b704575a0ba3e
017edeef5e48d8fbccaf4e0fec33473057fd4c3e
refs/heads/master
2020-03-23T03:56:25.263069
2018-09-22T03:37:45
2018-09-22T03:37:45
141,057,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
#!/usr/bin/env python import getch import rospy from RDRONE.msg import Throttle def setThrottle(char, throttleFront, throttleRear): if (throttleFront <= 1780) and (char == 'a'): return throttleFront + 20, throttleRear elif (throttleFront >= 1220) and (char == 'd'): return throttleFront - 20, t...
[ "rohan.sinha@berkeley.edu" ]
rohan.sinha@berkeley.edu
23958a20d41b8c8d0224fb2c7cdd7b3b3106acc2
2e919a1e9f5d6b0ffef37b626d5dc97a5b2f63cd
/Apunte_Teorico/Capitulo_16_LISTAS_ENLAZADAS/listas_enlazadas.py
e81e7d60cda2bcabba0822b4bafdbd2752118951
[]
no_license
lucasguerra91/some-python
c3992ac6c49f015bf14f37996ff3c8b0ed7b4d0a
0678e8d884e0641d592a3a457db11cc2085c8b27
refs/heads/master
2021-01-18T13:06:32.454114
2019-06-24T01:46:58
2019-06-24T01:46:58
80,723,911
0
0
null
null
null
null
UTF-8
Python
false
false
8,896
py
from Parcialitos.Tercero import nodo as n from Parcialitos.Tercero import iterador_lista_enlazada as iter class ListaEnlazada: """ Modela una lista enlazada""" def __init__(self): """ Crea una lista enlazada vacia""" # referencia al primer nodo (None si la lista esta vacia) self.prim ...
[ "guerra986@gmail.com" ]
guerra986@gmail.com
4c486a78eddaef361ab1c40a262d574b834990eb
2ccb7f724fd3b055cd3791001d3d2dae5139f4c6
/softwares/hisat2-2.1.0/hisatgenotype_scripts/hisatgenotype_locus_samples.py
8cb08e363ccca70ce0d9eb2a94781c1df08f918a
[ "MIT", "GPL-3.0-only" ]
permissive
NCBI-Hackathons/ContainerInception
b6a8aaeacc50a2d0685aae2f8d18c61379469901
aad1ead6798a4644d1ee2a698b4644bec2301e54
refs/heads/master
2020-03-07T19:14:17.470557
2018-04-05T00:49:09
2018-04-05T00:49:09
127,665,600
6
7
MIT
2018-04-04T22:31:10
2018-04-01T19:42:40
Python
UTF-8
Python
false
false
9,347
py
#!/usr/bin/env python # # Copyright 2015, Daehwan Kim <infphilo@gmail.com> # # This file is part of HISAT 2. # # HISAT 2 is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (...
[ "upendrakumar.devisetty@googlemail.com" ]
upendrakumar.devisetty@googlemail.com
61bc810fc4fc4d2843ef4fc8db129b5b81950867
0897e2254eeac5458e4f17caea43871dd72fda9a
/great_expectations/data_context/store/ge_cloud_store_backend.py
c1f83808921a628333eb6b3165b9ab2493ff4f69
[ "Apache-2.0" ]
permissive
NulledExceptions/great_expectations
10f7710d7520f0b57ded539ce33075ddeb47856d
8704c3ecf6632a72c55e012ed117d56f85a21f74
refs/heads/main
2023-09-05T19:30:32.910045
2021-11-18T20:50:42
2021-11-18T20:50:42
431,229,866
1
0
Apache-2.0
2021-11-23T19:35:34
2021-11-23T19:35:34
null
UTF-8
Python
false
false
10,060
py
import logging from abc import ABCMeta from json import JSONDecodeError from typing import Dict, Optional from urllib.parse import urljoin import requests from great_expectations.data_context.store.store_backend import StoreBackend from great_expectations.data_context.types.refs import GeCloudResourceRef from great_e...
[ "noreply@github.com" ]
NulledExceptions.noreply@github.com
f7f4e1ec88509c895e7626e96405bd1b32ee10df
fef117e056a9e9081961c3c33396f400a4936da9
/zjr/spiders/zjr_spider.py
0613cb806f61fe999635894f49a7c44dadb8867f
[ "MIT" ]
permissive
freedomDR/fob_spider
fd45aa2efb579c28c220f37f7cccc1de11296f4d
a6342ee9cd8d1da36fa041c26b1e9e3481627699
refs/heads/master
2020-03-31T16:40:57.991135
2018-10-16T06:12:12
2018-10-16T06:12:12
152,385,860
1
0
null
null
null
null
UTF-8
Python
false
false
5,316
py
# -*- coding: utf-8 -*- import scrapy from bs4 import BeautifulSoup import logging import requests import re class ZjrSpider(scrapy.Spider): name = 'bbs' data = ['161', '106', '177', '204', '120', '216', '205'] start_urls = ['http://bbs.fobshanghai.com/forum-'+data[0]+'-1.html'] basic_url = 'http://bb...
[ "zjrforeverdr@gmail.com" ]
zjrforeverdr@gmail.com
7970f4d308d13cf3b18a22061f0f3027b0e28b1c
532a38c087e82ea260202ad4d04c449b9c482479
/test/unit/confirmation_test.py
df9066a851b9faccd8ee146e15b0ec9bd391c608
[ "MIT" ]
permissive
sudoguy/yandex-checkout-sdk-python
2ab1c9db708cc28ce1dfe388c9831fdc14ba17d2
604594a31454e3f9222ebe59e98522e169ab6995
refs/heads/master
2020-04-30T09:25:52.804002
2019-03-20T14:14:46
2019-03-20T14:14:46
176,746,747
1
0
MIT
2019-03-20T14:03:14
2019-03-20T14:03:13
null
UTF-8
Python
false
false
1,798
py
import unittest from yandex_checkout.domain.common.confirmation_type import ConfirmationType from yandex_checkout.domain.models.confirmation.request.confirmation_redirect import \ ConfirmationRedirect as RequestConfirmationRedirect from yandex_checkout.domain.models.confirmation.response.confirmation_redirect impo...
[ "bodrovia@yamoney.ru" ]
bodrovia@yamoney.ru
d4e3754937132e0210f9917879194fe9a25c7921
4f9c0d9eb2200ae6de51a48b8d2b943c048225a4
/python_onnxifi/onnxifi_backend.py
de75abf8c03f2071d386e384941beef5de20f6b5
[]
no_license
varunjain99/onnx-xla
f9e5082f0e989c2d7c7e9327a19e8dcba8d33431
d1ed8a8318b4d3cb7d597a0f9efaf98e37db5085
refs/heads/master
2020-03-20T10:30:07.680440
2018-08-13T22:36:34
2018-08-13T22:36:34
137,373,854
4
2
null
2018-08-13T22:36:35
2018-06-14T15:04:31
C++
UTF-8
Python
false
false
2,759
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from python_onnxifi import Backend, BackendRep import onnx from onnx import (NodeProto, ModelProto) class OnnxifiBackendRep(object): def __init__(s...
[ "jainv@fb.com" ]
jainv@fb.com
a7c7d7d525d043dc0a7958eecd424d047b938741
b8acea93fc53b9c6e457959dd4b5446c520af272
/2017-01-13/src/workshop_09.py
c4879efca71f5d0c3b72898cc1a3e6e903a0ca90
[]
no_license
MarcoFaretra93/ggpl
c35fbd5a07ee70fc6073626325d17eef84faa9e6
15066fc26c3af67d52b6670e265f9ec0e7113c42
refs/heads/master
2021-01-10T22:50:11.618623
2017-01-28T10:09:56
2017-01-28T10:09:56
70,344,616
0
0
null
null
null
null
UTF-8
Python
false
false
3,939
py
from pyplasm import * from sympy import * import numpy as np def transformList2CoupledList(initList): """ transformList2CoupledList is a function that return a list containing, for every element in the initList, a couple (python tuple) made by the original element and its successor. Example : [1,2,3] -> [[1,2], [2...
[ "mar.faretra@stud.uniroma3.it" ]
mar.faretra@stud.uniroma3.it
a37cfd4aca4f0deb3e021528db8511beeaf2ec94
d13bed6cdfc2ab867b6bb7750593581c96815857
/venv/Lib/site-packages/pip/_internal/locations/__init__.py
7d70810c1e469237ebab988f789f4b8de30113cc
[ "MIT" ]
permissive
kennywam/arenadreamblog
fbf0531fc62aaa3339fbd02d702eb8e2783dd519
7ddf7da4b40bf871879a4edfdcf5dcac4fd78266
refs/heads/master
2023-07-06T04:32:47.800553
2021-08-09T16:35:45
2021-08-09T16:35:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,236
py
import functools import logging import os import pathlib import sys import sysconfig from typing import Any, Dict, Iterator, List, Optional, Tuple from pip._internal.models.scheme import SCHEME_KEYS, Scheme from pip._internal.utils.compat import WINDOWS from pip._internal.utils.deprecation import deprecated from pip._...
[ "titusowuor30@gmail.com" ]
titusowuor30@gmail.com
f2693585515f05f0b389e0a4473f101e65781a55
ae6aee00cfe5c13ac42cc1e68f276be4542d7252
/app/crud/category_crud.py
65f86ff07942cafbfa834d971b21961874c2a127
[]
no_license
manjurulhoque/fastapi-ecommerce
b40a76509741db288bb40f759ba78aed9b4dbdb7
5712c40a394410c670f253ba11dd53740ca434c2
refs/heads/master
2023-07-16T21:26:00.763382
2021-09-01T17:41:32
2021-09-01T17:41:32
349,721,979
1
0
null
null
null
null
UTF-8
Python
false
false
377
py
from sqlalchemy.orm import Session, joinedload from app import schemas, models def category_list(db: Session): return db.query(models.Category).all() def create_category(db: Session, category: schemas.CategoryCreate): new_category = models.Category(name=category.name) db.add(new_category) db.commi...
[ "rumimanzurulhoque@gmail.com" ]
rumimanzurulhoque@gmail.com
dc6cf48155e80310c4175993b5fab0e09ccdcfe6
1d18a9358b9ea5b1cf1e9151e7ad321401c86b0f
/ecomsite/settings.py
30794d6662322dbde12ad17879e99bcdab19c629
[]
no_license
saipraneethreddy969/ecommerce
a73f737f3ce1046b77091c4fa3312480ff5f8388
60353f20f435679212b91944a098a7b077a14cfa
refs/heads/master
2022-12-22T01:12:44.493025
2020-09-25T12:09:32
2020-09-25T12:09:32
264,087,331
0
0
null
null
null
null
UTF-8
Python
false
false
3,303
py
""" Django settings for ecomsite project. Generated by 'django-admin startproject' using Django 3.0.4. 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/ """ import os ...
[ "saipraneethreddy969@gmail.com" ]
saipraneethreddy969@gmail.com
102801c4f7c6f1c31f9aa9cecc19e5d3385085c9
1f0831db24ae2772d4944faf05289599bb37aca7
/linear_models/05/linear_regressor.py
e1b7703860f85225c49ec4b1f673ce5716526f4c
[]
no_license
smaystr/rails_reactor
2123f39ae97f38acb647363979fe4a09b896670e
69c8aac5860527768b4a8b7bce027b9dea6b1989
refs/heads/master
2022-08-19T05:35:21.535933
2019-08-28T12:46:22
2019-08-28T12:46:22
189,264,026
1
0
null
2022-07-29T22:34:56
2019-05-29T16:47:08
Jupyter Notebook
UTF-8
Python
false
false
1,920
py
from sklearn.base import RegressorMixin, BaseEstimator import numpy as np class MyLinearRegression(RegressorMixin, BaseEstimator): """ Linear regressor implementation with L2 regularization (aka RidgeRegression) """ def __init__( self, learning_rate, num_iterations, ...
[ "smaystr@gmail.com" ]
smaystr@gmail.com
dcda998631a711e0b0de384484903c917a360dbc
a0ed9603591a6ab2fe9de8c4e752662acc1a6a43
/MhcVizPipe/Tools/cl_tools_backup.py
304a03beda643e93c28d05e680ee6936e3356796
[ "MIT" ]
permissive
zpeng1989/MhcVizPipe
ee9a7cb4face3ad84cb5bc719f1d0720ca272bbd
32ea13ac8c4e0db672ec78d9179b6f813bfa4349
refs/heads/master
2023-04-11T09:43:46.720784
2021-04-28T13:11:58
2021-04-28T13:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,323
py
import subprocess import pandas as pd import os from numpy import array_split import numpy as np from pathlib import Path from MhcVizPipe.Tools.unmodify_peptides import clean_peptides from typing import List class MhcPeptides: def __init__(self, sample_name: str, sample_descripti...
[ "kkovalchik.chusj@gmail.com" ]
kkovalchik.chusj@gmail.com
230efaebb3d67455f273faf77d233fb1d038bee7
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/view/battle/shared/battle_timers.py
9eb8d5f3eddda8d038fdb34a6114a105b38e380a
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,662
py
# 2017.05.04 15:22:30 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/battle/shared/battle_timers.py import SoundGroups from gui.Scaleform.daapi.view.meta.BattleTimerMeta import BattleTimerMeta from gui.Scaleform.daapi.view.meta.PrebattleTimerMeta import PrebattleTimerMeta from ...
[ "info@webium.sk" ]
info@webium.sk
500a5e47dd500faba25804ccc28daca24c144336
ecad779936caddc8721a85cfc5512dcdb4e0c2b8
/whosSalty.py
5e9605a480fba7fd46f9e82bb02eb824e7babbc5
[]
no_license
AdamMcWilliam/TwitchBot
6a198aaf13d39ef197922181425b0ab8be2a2f92
27c906cca5a6b6dfaf05f2b3a91280ae971daa70
refs/heads/master
2023-03-07T18:51:33.610216
2021-02-15T20:04:36
2021-02-15T20:04:36
275,300,379
5
1
null
null
null
null
UTF-8
Python
false
false
128
py
def whosSalty(message): #get tagged user from message user = message.split('!!salt') user = user[1] return user
[ "adammcwilliam@gmail.com" ]
adammcwilliam@gmail.com
035a827e773c3de395f449d5ef3dc7259c37a300
7ed2fe385b37f97b6a7443376eb7a81daecf0925
/myPipeline/pipelineMainFunction.py
d61326f34ae0f4580546976b988d2462cfc40bd5
[]
no_license
qiusiyuan/maya-mypipeline-python
ce370025da957bade30c8e89a72f511122cf2eac
ac32a755191b02e3834ae49d8450f158126e8c29
refs/heads/master
2021-01-11T05:10:39.059070
2017-02-13T21:58:42
2017-02-13T21:58:42
81,138,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,877
py
### pipelineMainFunction ### import os import os.path import maya.cmds as cmds ### ----- openProjectData ------### ## this function return a list of projects used pipeline ## ## input: None ## rtype: List<String> ## Author : Qiu Siyuan ## ------------------------------------------------------------## def openProjectDa...
[ "noreply@github.com" ]
qiusiyuan.noreply@github.com
ce89af89e32ee3e5fab47cc25cfea1569b838ced
30a4ce8a942cf524950df0155ac1bd9b5664c9da
/preprocessing_scripts/remove_blurry_images.py
b562cc0659381c4e95a25261e083335160420de0
[]
no_license
rishabkatta/Diabetic-Retinopathy-Detection
af21b06bfe72e4407ad8d60f9d62c9182ef6d3a7
eaa621c6092e3720b36f5a8623130621ebd6e35a
refs/heads/main
2023-05-01T19:46:15.045646
2021-05-22T19:26:23
2021-05-22T19:26:23
369,883,008
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
import cv2 import os def remove_blurry_images(src_folder): img_names_list = os.listdir(src_folder) for img in img_names_list: if img.endswith('.jpeg'): img2 = cv2.imread(src_folder+img, cv2.IMREAD_GRAYSCALE) laplacian_var = cv2.Laplacian(img2, cv2.CV_64F).var() if laplacian_va...
[ "rishabkatta22@gmail.com" ]
rishabkatta22@gmail.com
7c77d04d6ae5ca281c1f431851c0b5ec3df2fe8e
0a1285f387bf9b17424dd5da3757f5ae5662b406
/ryoki/accounts/views.py
77e77d32eb914d111a3cdae50ca61656e6f0d1c1
[]
no_license
monkhaus/django_tailwindcss
9ed9fbb56132a4d833707897ec990b8df4dfc206
c2daf93cc7482bb20beead3e073dbf844481a64d
refs/heads/main
2023-03-09T20:12:38.598781
2021-01-18T08:19:25
2021-01-18T08:19:25
324,114,303
0
1
null
null
null
null
UTF-8
Python
false
false
1,636
py
from django.shortcuts import render, redirect from django.http import HttpResponse, HttpResponseRedirect from django.urls import reverse from django.contrib.auth.forms import UserCreationForm from .forms import CreateUserForm from django.contrib import messages from django.contrib.auth import authenticate, login, logo...
[ "tom.monkhouse95@gmail.com" ]
tom.monkhouse95@gmail.com
efd1a695c880f32f7ca9e19c996ce4ddfcd3aba0
a685fa36823caa4b910969e80adbcae4f2829bd6
/Django/surveyForm/surveyForm/settings.py
6bcb8aa622819edcd41b0cb56a5f57fe504bcc62
[]
no_license
hmp36/Python
35e4fbc003b216ca6c7c45c558dd4f24edba5b9a
dcddf40a0428542d78f2e32d4755b54ebdaadffd
refs/heads/master
2021-09-15T01:35:41.013949
2018-05-23T13:05:59
2018-05-23T13:05:59
112,358,856
1
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
""" Django settings for surveyForm project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import o...
[ "haganpratt@gmail.com" ]
haganpratt@gmail.com
869cf5c31d163b07e775e440178d957f4fc9f67f
8bd89a88f353e44f6d2101d3d5388c3682cc0575
/app/run.py
3c9fe5153948193b21480bee91a4c0c0e251ab62
[]
no_license
nicotacor/Disaster-Response-Pipelines
cd3b21e225ca2c5a917b68a3f8dbe73c8bff2e9b
5efd2af64798c57ea09ec35394184d8339c3ad93
refs/heads/main
2023-07-03T21:40:41.260433
2021-08-05T17:52:08
2021-08-05T17:52:08
393,064,891
0
0
null
null
null
null
UTF-8
Python
false
false
3,060
py
import json import plotly import pandas as pd from nltk.stem import WordNetLemmatizer from nltk.tokenize import word_tokenize from flask import Flask from flask import render_template, request, jsonify from plotly.graph_objs import Bar from sklearn.externals import joblib from sqlalchemy import create_engine app = ...
[ "noreply@github.com" ]
nicotacor.noreply@github.com
654278648914abddc2f6ef83e3848c63670989b5
a06c382657910483ba6af54efaf3ce0779ed39ad
/python_src/natural_gradient.py
b21c2df1989b18d1e3d01898e41b3e59cf09fa62
[]
no_license
chaeyeunpark/are-neural-quantum-states-good
8d546312ee5976df7ddd5d6ab4bb851329599140
a37ba05856d33f648c78351a38c1517f8233f978
refs/heads/main
2023-07-14T18:13:00.312904
2021-09-01T21:10:14
2021-09-01T21:10:14
361,696,144
1
0
null
null
null
null
UTF-8
Python
false
false
2,877
py
import jax import jax.numpy as jnp from jax import jacfwd, jacrev import flax.linen as nn from tree_utils import to_list, reshape_tree_like from functools import partial #from jax.interpreters import xla import sys class NGD: _model: nn.Module _fisher: jnp.array _grad: jnp.array learning_rate: float ...
[ "kaeri17@gmail.com" ]
kaeri17@gmail.com
a979c54a4c4b024bf3c2ae35dc3a870b46d2ed39
88e13a6e521db411403744d97042c013cf0d63df
/examples/textbox_cursor.py
695bf130c53850d0e29d5f1118219560c96952d2
[ "BSD-3-Clause" ]
permissive
curiousTauseef/guizero
5caab0cf7a9276a6898cbb0b1a9aa208f1344159
7744c41a1e747ade2e5913638586073c27b4db9b
refs/heads/master
2023-05-31T13:27:32.998132
2021-05-25T14:51:10
2021-05-25T14:51:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
from guizero import App, TextBox, Text from tkinter import INSERT def key_pressed(key): print("key pressed {}".format(key)) print("textbox value = {}".format(textbox.value)) print("cursor pos = {}".format(textbox.tk.index(INSERT))) app = App() text = Text(app, text="Enter some text") textbox = TextBox(app...
[ "martin.ohanlon@raspberrypi.org" ]
martin.ohanlon@raspberrypi.org
db00bcbca877723a4f83baab08aa6dfbf4fbccc4
8641773b546fc41a36a78af7e2e1755e37b724c6
/2020/day19.py
668802cd0479c9ff7a9daa6e2c140eda404f1fe7
[]
no_license
RugeljGG/AdventOfCode
87fe865d748b22ff9456083e84a671896498bb72
b8367aac0807d123d0921fa6e64404a9d904466e
refs/heads/master
2023-02-05T19:02:24.008937
2023-01-20T18:32:40
2023-01-20T18:32:40
160,921,509
2
0
null
null
null
null
UTF-8
Python
false
false
2,329
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 19 05:59:42 2020 @author: gape """ import copy from collections import Counter, defaultdict import re import aoc_helper data = aoc_helper.get_input(19, force=True).strip() # data = aoc_helper.get_input(19).strip() print('Day 19 input (first 10 lines):') print('\n'.join...
[ "gasper.rugelj@gmail.com" ]
gasper.rugelj@gmail.com
6c322bd60ea20600c7a1275b99429ca552d28a30
57307389bc4e71b3386580ad6c18105c30fc38e3
/incoming.py
9f54ff12d5434936c1170d952b42a1d2e47348a0
[]
no_license
JinhuaW/coding_fun_scripts
31799c5df522a867a766fcb9020acc381b5c02a0
3193216636a75b791c2f79b75d8b7fd542cd7311
refs/heads/master
2021-01-11T02:55:47.283193
2016-11-17T12:36:38
2016-11-17T12:36:38
70,907,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
#!/usr/bin/env python import re from mail import * from mercurial import * from compile import * from database import * import datetime def update_current_user(db): email = get_email() username = get_user() db.update_user(username, email) def handle_answer(id, db): user = get_user() node = get_node() path = us...
[ "olineboy@163.com" ]
olineboy@163.com
01417bd7579615c61c7b69dda895434350d0db5c
aa0270b351402e421631ebc8b51e528448302fab
/sdk/newrelicobservability/azure-mgmt-newrelicobservability/azure/mgmt/newrelicobservability/aio/operations/_monitors_operations.py
6ad9961466432e670b9d18de4890ca8dc774e281
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
79,234
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
68d4e4acf13f56dffb71d02700b3026366f2f714
8936f767df76a76da60f9f6ec059e455b351d262
/pyhanlp/tests/Eng.py
1a7cbc0eb0a33af74fcffe9d26cc7bdc673bceba
[ "Apache-2.0" ]
permissive
mx-pan/Papers_Classification
8d4a9dd50dfd3993cf67edf8c85a6b4bbc3e0b9e
d9c46ae889a6a4266f8b7b9db0e56fb33bb7d1d6
refs/heads/master
2020-05-13T17:32:06.358527
2019-04-16T09:27:50
2019-04-16T09:27:50
181,644,178
1
0
null
null
null
null
UTF-8
Python
false
false
4,586
py
#usr/bin/python # -*- coding:utf-8 -*- from os import listdir import os.path import os import numpy as np import pandas as pd import re import sys import importlib importlib.reload(sys) from gensim.models import Word2Vec import logging,gensim,os from gensim import corpora from gensim import corpora, models, similaritie...
[ "392889690@qq.com" ]
392889690@qq.com
e8e5a6297fcf473afd41fcf34dcfa7c432b7440c
6423a8158e9ed969166e264b70e411bedee8cd90
/src/dispatch/workflow/models.py
3856b2853a8115f82684a82f0ac8560ac625f5f4
[ "Apache-2.0" ]
permissive
lf2foce/dispatch
de7967a9dea07fc64c6edbff733a5f072569ba41
abb767dfc743665f25e0f3cffbdacee71e390838
refs/heads/master
2023-06-19T05:07:42.722020
2021-07-15T01:28:35
2021-07-15T01:28:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,591
py
from datetime import datetime from enum import Enum from typing import List, Optional from pydantic import validator from sqlalchemy.orm import relationship, backref from sqlalchemy import Column, ForeignKey, Integer, String, JSON, Table from sqlalchemy.sql.schema import PrimaryKeyConstraint from sqlalchemy.sql.sqltyp...
[ "noreply@github.com" ]
lf2foce.noreply@github.com
ed44d233076771592fb61c833f24eaab5bddb06f
0e9dd8474d4ca407bc9899659166f85f714dca97
/python_stack/django/django_orm/Books_Authors/Books_Authors/urls.py
2061c9991668199be42e3c6ca29e0ce696943ebc
[]
no_license
Nouf-Al/Nouf_Alotaibi
4ff99c100a8034e397b7f6180a48105b22877126
b9f8c441b5c3524fcba42805efdfd4017429d361
refs/heads/master
2023-02-18T17:40:01.287477
2021-01-21T16:20:07
2021-01-21T16:20:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
"""Books_Authors 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') Class...
[ "nouffawazz@gmai.com" ]
nouffawazz@gmai.com
a6ebbfdd7abd12b3483b92d4d69893efc0b3bf8f
02d5773c757d4155d0973474520c9c0f45ca28ff
/gis_test_of_test/urls.py
263252981a63d7e4df441aa15c063e507d4d65b1
[]
no_license
SeoMinJong/gis_test_of_test
b3c9b9e8dc78558eca3dbaa7112ce754106fb07e
bf5c0b2e2d5e6d5f9cd2a8049bd25550685026a7
refs/heads/master
2023-08-22T22:29:21.431424
2021-10-08T11:09:49
2021-10-08T11:09:49
402,606,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,363
py
"""gis_test_of_test URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "tjalswhd113@naver.com" ]
tjalswhd113@naver.com
3c5977f94759a7568e0426be77ac326392c2d679
aad9213214fa2a8dad849db5dbf8d708fa48b64b
/machine_learining/3决策树.py
2c050804252b551258a3dda61f5ca1e718d4f183
[ "MIT" ]
permissive
qq453388937/data_mining_faith
7e738e0f939763f3cb69400bac4f89c03a40bf62
eec416e2d61e9aec358175704a7508295cea4218
refs/heads/master
2020-03-28T23:48:41.637968
2018-10-12T04:04:47
2018-10-12T04:04:47
149,309,951
1
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
# -*- coding:utf-8 -*- """ 决策树 每个类别的概率 乘以 log 每个类别的概率 H = -(1/32 * log 1/32 + ...) = -log 1/32 = 5 信息熵: 信息和消除不确定性是相联系的 信息增益: 得知某个特征对总的信息熵减少的大小 减少越大,可以放在树的顶部 H(D) = -(6/15*log(6/15)+9/15*log(9/15)) = 0.971 g(D,A) = H(D) - H(D|A) 计算信息增益: g(D,年龄) = 0.971 -[5/15H(青年)+5/15H(中年)...
[ "453388937@qq.com" ]
453388937@qq.com