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
e84175fc03997448fd0f17f1499d2e5e1f508cd3
1a0e66fd7a238f29b33455e5931d77dc1ebd1244
/2logisticregr.py
8730eaca7de9dea53679cf2191f7b08dbbc80df8
[]
no_license
ahester57/LogisticRegression
07242b7c6a7bd0ab3aeae5b8e4abf418f767e246
18fc1ea2b95b46c9551fc20865827bd50d64df26
refs/heads/master
2021-07-25T17:36:14.690742
2017-11-06T06:16:08
2017-11-06T06:16:08
109,642,260
1
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
# Austin Hester # Logistic Regression # CS 4340 - Intro to Machine Learning # 11.05.17 import numpy as np # define x_0 x0 = 1 # ln L = sum_1_n{ x_i^j * ( y^j - ( e^{w0x0+w1x1+w2x2} / (1 + e^{w0x0+w1x1+w2x2})))} # compute d/dwi ln L with given x, y, weights, and step size def ddw(i, x, y, w_, c): s = 0 # for...
[ "ahester57@gmail.com" ]
ahester57@gmail.com
f0c53dcf7421bf0aeef4f1f3025ac3e549da2962
f72838a3c6b3f3e89a83db9e057a7bfddefeb099
/crowd_nav/policy/multi_human_rl.py
bb52077ae25241702759670c9ff0b4a2b3780b05
[]
no_license
tessavdheiden/SCR
66a6219c431f72fb243be9731b6c568112da260a
74721e1bb5145d0b4778a99311a716e1279abe76
refs/heads/master
2023-08-17T04:04:26.109612
2020-09-02T13:05:20
2020-09-02T13:05:20
224,380,383
12
6
null
2023-09-06T17:28:42
2019-11-27T08:23:25
Python
UTF-8
Python
false
false
7,014
py
import torch import numpy as np from crowd_sim.envs.utils.action import ActionRot, ActionXY from crowd_nav.policy.cadrl import CADRL from crowd_nav.utils.transformations import build_occupancy_map, propagate class MultiHumanRL(CADRL): def __init__(self): super().__init__() def predict(self, state): ...
[ "tessavdheiden@gmail.com" ]
tessavdheiden@gmail.com
6cd250d47fd413455ec250dec981a63376b7a537
1a1979a026c9a3c95bdf98597acf41b5c9f281a2
/Orbit.py
910e5959981ab006a0ac8d64896d95b9b000ab64
[ "BSD-3-Clause" ]
permissive
mtlam/Lab_Orbit
d9edc2d177d221e804ae1e7046a4b8a5ce164366
c43e681f5f2f00d4435b08695a7f2ab33acc6f2b
refs/heads/master
2020-03-28T21:14:18.821546
2018-09-17T14:50:23
2018-09-17T14:50:23
149,140,563
0
0
null
null
null
null
UTF-8
Python
false
false
16,556
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 21 17:49:21 2013 @author: Amit Vishwas Minor edits by Michael Lam """ import numpy as np from matplotlib import pyplot as plt #from mpl_toolkits.mplot3d import Axes3D #import mpl_toolkits.mplot3d.art3d as art3d from matplotlib.patches import Ellipse from m...
[ "noreply@github.com" ]
noreply@github.com
f3e53acf210e785c0ac6fbb7224f602360a8f839
f2a3f57379cb375c33442afb03baef005b92f819
/김용재/211122 모음사전.py
e52b1fbbb79f6e4468b639b8adfc15ff0b46f549
[]
no_license
rubetyy/Algo-study
9e2d80b2edcd37c67c4c824f5e61b65be272cf06
d7165da60c98227d6f4abf18aa19cd79e006ea59
refs/heads/master
2023-09-02T05:52:41.517447
2021-11-23T04:12:04
2021-11-23T04:12:04
418,523,907
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
def solution(word): answer = 0 check = ['A', 'E', 'I', 'O', 'U'] sum_word = '' dfs(word, check, sum_word) return cnt cnt = 0 flag = False def dfs(word, check, sum_word): global flag global cnt if sum_word == word: answer = cnt flag = True print(sum_word, cnt) ...
[ "nightyong25@naver.com" ]
nightyong25@naver.com
3f5768ace9e8c5f7894b254ede1264cb65d82a50
813191ee7db33163e4a8ef352412c3e359c243ec
/belote.py
dae80f602ded6dc6015407fc0b164258b2d7f6c8
[]
no_license
TsvetomirTsvetkov/BeloteDeclarations-Crocodile
bf87d13e21ac8014f46cb33f505fbf958bc162bd
1440699ce84d81a6995cb6b84c49eb0cd05fd1b0
refs/heads/master
2021-04-24T00:28:36.145625
2020-03-31T10:36:34
2020-03-31T10:36:34
250,044,212
0
0
null
2020-03-31T10:36:35
2020-03-25T17:21:33
Python
UTF-8
Python
false
false
1,462
py
# belote.py from game import Game from player import Player from team import Team from utils import team_players, validate_teams, validate_player_names def main(): team1_name = input('Team 1 name: ') team2_name = input('Team 2 name: ') validate_teams(team1_name, team2_name) # Checks if teams have the same...
[ "cvetomircvetkov24@gmail.com" ]
cvetomircvetkov24@gmail.com
b55a7936ad7a0e3c1058476070f0f4b3bc5173fd
73dc310b46379e92a73fe50533f38ede330b4000
/movieapp_backend/movie_app/migrations/0010_auto_20170209_0956.py
200f752ec048d1726e751fb2f451474868cfe472
[ "MIT" ]
permissive
thepassenger-hub/MyCinema
49c5361064258b47ea5e7e4a907437fd64b817dd
7796a282eff8d169f17374ef11dc9378f506c7a3
refs/heads/master
2021-01-23T00:25:35.503653
2017-05-29T12:02:59
2017-05-29T12:02:59
92,810,841
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-09 09:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movie_app', '0009_auto_20170206_1011'), ] operations = [ migrations.AlterFi...
[ "giulio@debian.debian" ]
giulio@debian.debian
83aff3882cf3a34014c7e624d9349aa5a156af80
12bcebcf76c792f0442ec12de39f4678af9e84a4
/Series Temporales/Prediciendo valores/Tuneando parametros ARIMA/code.py
d4598564e49b38f9652710d14ef7368c688e8550
[]
no_license
fvilchez/Python_for_DataScience
882bac5dac7f6b41f9db946e4a676d8c5bf32b67
fd4e35225a93f6ebf95fa2a75e4684b3937687d6
refs/heads/master
2020-03-22T04:13:31.076017
2020-03-06T09:13:55
2020-03-06T09:13:55
136,737,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
####################### Grid Search ARIMA ################################# import pandas as pd import warnings import numpy as np from math import sqrt from pandas import datetime from statsmodels.tsa.arima_model import ARIMA from sklearn.metrics import mean_squared_error warnings.filterwarnings('ignore') def evalua...
[ "franciscojaviervilcheztorralba@gmail.com" ]
franciscojaviervilcheztorralba@gmail.com
e3df84eca6e0476a36dfbe5a48b608d3d1ae056b
76ca57fd77d0bc0007a07ab48b5b809fdc811236
/kbur.py
988ef20169bf58b226307dbada24720504e58dab
[]
no_license
lechub/kburPy
90940f5be19f70b52e6bd18f4af0b4d9d4aad1d8
11263f4b0514cb6ff1a0c4378e490efcf8d63afb
refs/heads/master
2020-04-18T06:23:06.904576
2019-01-24T12:38:58
2019-01-24T12:38:58
167,318,169
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
#!/usr/bin/python ''' Created on 23.01.2019 @author: lechu ''' import serial import time ser = serial.Serial('/dev/ttyUSB0', 38400, timeout=1) # x = ser.read() # read one byte # s = ser.read(10) # read up to ten bytes (timeout) # line = ser.readline() # read a '\n' terminated line def...
[ "lechub@tlen.pl" ]
lechub@tlen.pl
ff91db7450857ae17f6711d2d26442035a700058
8625cfec4076b691495a3fa2783125f49dc29863
/src/events/__init__.py
f1eb674b737af674874c824b34eacb25420e509b
[]
no_license
grantHaataja/AILEE
acb2a718433156f88a59510121cdc652051d5dfc
01236c3da46cb049e4b4b821190399cde5491522
refs/heads/master
2020-05-15T07:09:14.691249
2019-09-13T18:54:20
2019-09-13T18:54:20
182,133,852
1
0
null
2019-04-25T21:21:25
2019-04-18T17:56:07
Python
UTF-8
Python
false
false
227
py
__all__ = [] import os files = [f for f in os.listdir('events') if f.endswith('.py')] __all__ = [f[:-3] for f in files if not f.startswith('__')] __events__ = [f for f in __all__ if f.startswith('event')] from events import *
[ "grant.haataja@gmail.com" ]
grant.haataja@gmail.com
3805406d7d67e5a498dfff6b970543445e2a268e
1fb55ab2c082348eb51263357563d20e1fd50b7d
/commons/c2cgeoportal_commons/alembic/main/29f2a32859ec_merge_1_6_and_master_branches.py
e92c014cbf7e91b379db31f2314f86152fee5f02
[ "BSD-2-Clause-Views" ]
permissive
nstoykov/c2cgeoportal
40876bf577cc2ed1877affa9f307acef94d86daa
42c3aab09e0c44a20d0162a85c51c6a9ca0ff95e
refs/heads/master
2020-12-06T03:27:00.330795
2020-01-07T09:25:07
2020-01-07T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,944
py
# -*- coding: utf-8 -*- # Copyright (c) 2015-2019, Camptocamp SA # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this #...
[ "stephane.brunner@camptocamp.com" ]
stephane.brunner@camptocamp.com
77d13a603375942a0aa68db833cb5b494614626e
5d361a29e7eb009a454318f3621b9c2d22e74c20
/manage.py
8bd6f491853d614cf5d6b8a670a08e947a32e88c
[]
no_license
warmthemall/warmthemall
39758b9c766721d88acedcc9f53c50e9abfcc095
1a21cf3a03ac94b101a1a74f3d6aa59492393d0f
refs/heads/master
2021-01-21T13:03:09.707914
2016-04-21T00:29:50
2016-04-21T00:29:50
54,979,951
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "warmthemall.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "warmthemallqu@gmail.com" ]
warmthemallqu@gmail.com
13a4b39436715aef79dafb5bd994d2e385067fa4
21499f0e7695177514e57c64ec775b6c8ba210e4
/Python Scripts/Load_Bays.py
13f2f3154c6a75f7f6cef7274a4d47c5faaf6bfe
[]
no_license
shirl90/nhd_Project
1b869c0154b29d4c3bf6314f8234ef319aef2bce
36ebf81e29ce593a66333bc03728a144d6da5585
refs/heads/master
2016-08-04T11:39:02.393664
2014-10-24T04:44:33
2014-10-24T04:44:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
''' ---------------------------------------------------------------------------------- Source Name: Load_Bays.py Version: ArcGIS 10.1 Author: Shirly Stephen FeatureCode : -------------------------------------------------------------------------------- ''' # Import system modules...
[ "shirly.rock@gmail.com" ]
shirly.rock@gmail.com
63df08aefaa3c1c7cab07d65e38a0de2816880ca
a0801d0e7325b31f0383fc68517e208680bb36d6
/Kattis/commercials.py
fe78e87a705a79461a41b0c9e1c0aa6f1c6b0f44
[]
no_license
conormccauley1999/CompetitiveProgramming
bd649bf04438817c7fa4755df2c2c7727273b073
a7e188767364be40f625612af3d16182f2d8d4de
refs/heads/master
2023-05-14T13:19:32.678134
2023-05-11T16:07:33
2023-05-11T16:07:33
179,089,010
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
n, p = map(int, input().split()) vs = list(map(int, input().split())) for i in range(n): vs[i] -= p mx = -10e8 mxh = 0 for i in range(n): mxh = mxh + vs[i] mx = max(mx, mxh) mxh = max(mxh, 0) print(mx)
[ "conormccauley1999@gmail.com" ]
conormccauley1999@gmail.com
721a3e23ac9eafa3b91b240abb7c11c9e475bc15
61a50a8bb13ae69ef1c1ebb517fc20fb4f7b9fdd
/cython_setup.py
186a19133b2abc14af8c3d7d8d5a5f763e70604b
[]
no_license
justimchung/ProductUpgrade
44508583d9a7e6ed00d2be2ed091ae234928c77a
340ef1a49739d73b2fd5cc30145a008f3e845b78
refs/heads/master
2021-01-16T23:51:40.750250
2016-10-07T06:22:03
2016-10-07T06:22:03
58,130,732
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
# -*- coding:utf-8 -*- """ 它是用來將 python 的程式碼轉成 cython 所需要的設定檔 """ # Cython compile instructions from distutils.core import setup from Cython.Build import cythonize import os import numpy # Use python cython_setup.py build_ext --inplace # to compile setup( name = "k_dom_util", ext_modules = cythonize('*.pyx'), ...
[ "justim@gmail.com" ]
justim@gmail.com
197d249f49a3bf0f4bbe8e5c1e093ff2fd5d13c1
6f23adb3da803dda89e21cfa21a024a015ec1710
/2020/16-2.py
8883ed2bc121687d8e600f19d5385f5a9769ba9f
[]
no_license
Remboooo/adventofcode
1478252bcb19c0dd19e4fa2effd355ee71a5d349
5647b8eddd0a3c7781a9c21019f6f06f6edc09bd
refs/heads/master
2022-12-15T10:21:29.219459
2022-12-13T23:02:03
2022-12-13T23:02:03
226,883,142
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
from argparse import ArgumentParser from collections import defaultdict from functools import reduce from itertools import islice, count from pprint import pprint from util import timed def parse_rules(f): rules = {} for line in f: line = line.strip() if line == "": break ...
[ "rembrand.vanlakwijk@nedap.com" ]
rembrand.vanlakwijk@nedap.com
3f42ac3e745b95a6f434a1d8d947ef0c3d66e83a
57d9c43774ddbf8e6e9460b7b0343c10471a2f63
/mysite/polls/models.py
e2018cf4980c11e1eda837addc68551317c1eaab
[]
no_license
zulalgdk/django-project
8fb01de3ed69c638396faf30a7b3ba0209e4e1a0
79b692f3633589f03ec685d5e7d78ff240496a7c
refs/heads/master
2021-01-22T19:54:02.280121
2017-08-18T12:51:47
2017-08-18T12:51:47
100,711,253
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
import datetime from django.db import models from django.utils import timezone from django.utils.encoding import python_2_unicode_compatible class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return se...
[ "zulal__guduk@hotmail.com" ]
zulal__guduk@hotmail.com
b80fd84ef155c45a534c775faf4fe4571af8a2f4
534af65ceead2d1ad04e2b5e0bfc87c35f065729
/com/obs/utils/request_format.py
41bf2ae251505947c3d20afd449ccd9312e5f7be
[]
no_license
FunctionStage/ImageWatermark
df0e536644280ff2a1af049e262561e375f3da4b
6143d730c7178042a1f61373bfb92d460bee6eaf
refs/heads/master
2021-09-12T21:22:01.179775
2018-04-21T02:33:59
2018-04-21T02:33:59
109,988,029
3
0
null
null
null
null
UTF-8
Python
false
false
5,906
py
#!/usr/bin/python # -*- coding:utf-8 -*- from com.obs.models.base_model import IS_PYTHON2 if IS_PYTHON2: import urllib else: import urllib.parse as urllib #=============================================================================== # 请求格式,发送HTTP请求时,URL是路径模式或者子域名格式 #=======================================...
[ "shibaotong@gmail.com" ]
shibaotong@gmail.com
d9488e55773f53b084a0d709450f00dfefd69089
299fe2ca879e509798e95c00b7ba33914031f4a7
/eruditio/shared_apps/django_wizard/wizard.py
dbfab0dcfbd21b9bc03b532bad0f2afd2d52e2e6
[ "MIT" ]
permissive
genghisu/eruditio
dcf2390c98d5d1a7c1044a9221bf319cb7d1f0f6
5f8f3b682ac28fd3f464e7a993c3988c1a49eb02
refs/heads/master
2021-01-10T11:15:28.230527
2010-04-23T21:13:01
2010-04-23T21:13:01
50,865,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
from django_wizard.models import ConfigOption, ConfigFixture, DefinedConfigOption from django.core.exceptions import ObjectDoesNotExist class ConfigIndex(object): def __init__(self): self._registry = {} def register(self, configuration): if configuration.__class__ == ConfigOption and not (...
[ "genghisu@6a795458-236b-11df-a5e4-cb4ff25536bb" ]
genghisu@6a795458-236b-11df-a5e4-cb4ff25536bb
e0fd65e046d41a3d74cc70a6f6e48a82aff64f1e
dd3ae3fecd71db22ea0c14da081b9f6d937a1edc
/Year 3/LP4/Subatomär/K6/k6-emulator/physics.py
37630c75c8f4957ce85b3662665f1f4695f925b5
[]
no_license
dtonderski/School
d59154c5b8eefc64cda6c15826c151c827509391
b362d1229ed21f2bd03fac5f096241aa9c8046cc
refs/heads/master
2023-02-13T00:47:26.190869
2021-01-14T10:22:38
2021-01-14T10:22:38
300,598,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
import numpy as np # Decay constants of Ag108 and Ag110 (per second) lambda_108 = 0.693 / (2.4 * 60) lambda_110 = 0.693 / 25.0 # Calculate the expected number of decays in # the interval [t0, t1] for a single isotope. def calculate_decays_in_interval_single(n, lmbda, t0, t1): return n * (np.exp(-lmbda*t0) - np.ex...
[ "dtonderski@gmail.com" ]
dtonderski@gmail.com
d2f817ce547020deb24980787d61a4775fe21557
0f6f95af209ff9192702c2176c4513cb28929ba5
/syd/commands/base.py
ff759bd373fea19e05e2ad6b670aa903bdbfd1e8
[]
no_license
SD2E/aliases-cli
87a03f83cbbed5f5860e77457718f7eb6121a311
c634012a2623b975b8eeb6e210fabe51fe53a6ab
refs/heads/master
2020-03-10T19:33:47.852609
2018-04-18T22:27:40
2018-04-18T22:27:40
129,550,330
1
0
null
2018-04-17T19:55:08
2018-04-14T20:01:52
Python
UTF-8
Python
false
false
425
py
"""The base command.""" from agavepy.agave import Agave from .reactors import alias class Base(object): """A base command.""" def __init__(self, options, *args, **kwargs): self.options = options self.args = args self.kwargs = kwargs self.store = alias.AliasStore(Agave.restore()...
[ "vaughn@tacc.utexas.edu" ]
vaughn@tacc.utexas.edu
e5755a3d897e49d3a0ef501d254813c4afb0c40e
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/bgp/ctxafdef.py
d649b8e14aa620c77367e3c7b8b845e9914a019b
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
6,835
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
2b635c686116d35e68b27c54c8e51ce63188ca13
019bb87ff1b6958fbc8e4f9debfc2e6d3c2475d0
/demoapp/views.py
c5245c0c0483d38154f57da8a568dbdb989b392f
[]
no_license
daxuliu/software
0ba5604fec4534ecbf8ea02e99e7a02e48a889b1
c8deecbf3ec13e2587bacef02ea54d5007eef73f
refs/heads/master
2022-12-13T06:13:04.504998
2020-09-10T03:03:40
2020-09-10T03:03:40
294,123,978
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from django.shortcuts import render # Create your views here. from django.conf.urls import url from . import view urlpatterns = [ url(r'^$', view.hello), url(r'^$', view.exa), url(r'^$', view.img), url(r'^$',view.addgood), url(r'^$',view.change), url(r'^$',view.select), url...
[ "1697935859@qq.com" ]
1697935859@qq.com
7f0647971b6942014c2858a68d7ffcb1164791cf
ad2cecf4187cf5066e95cceb6adacb41908c2472
/python/gigasecond/gigasecond_test.py
01d62a5b11e2469e6ec1fe3c721976e1ce87a9aa
[]
no_license
mstange22/Exercism
ac0d15dd3555d24b5c9f44345e63bfd8ebf68da5
23903125853c870a972e29d4b6b6bb260ee4ab3b
refs/heads/master
2023-01-12T19:33:30.632673
2020-10-18T15:30:47
2020-10-18T15:30:47
164,342,472
0
0
null
2023-01-06T04:33:04
2019-01-06T20:22:42
C++
UTF-8
Python
false
false
1,440
py
import unittest from datetime import datetime from gigasecond import add_gigasecond # Tests adapted from `problem-specifications//canonical-data.json` @ v2.0.0 class GigasecondTest(unittest.TestCase): def test_date_only_specification_of_time(self): self.assertEqual( add_gigasecond(datetime(20...
[ "mstange@dthera.com" ]
mstange@dthera.com
897ad7e176ebf755416c4ef9da8439614ab668bc
eca943a64310efd88e304ea4c0cecb2886ceefd5
/pythonr/lista04/zad02.py
651156c3cd9a26c06c814cc8e985f18cd8249030
[]
no_license
0sk4r/Uwr
b20696a4c3df9c86994869e34681cd66e699362d
f2587845e351ba53a44ba27912aa0dfb693c8765
refs/heads/master
2021-07-25T23:42:38.099511
2021-04-09T18:36:29
2021-04-09T18:36:29
52,679,999
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
from io import StringIO def upper_first(str): return str[0].upper() + str[1:] def korekta(str): str = upper_first(str) if str[-2:] == '. ': return str elif str[-1] == '.': return str + ' ' else: return str + '. ' def zdania(stream): sentences = stream.read().split(s...
[ "sobczykoskar@gmail.com" ]
sobczykoskar@gmail.com
a4a181d9be86dc62432fbdc0cbad1778b1a8fae0
9c5d4e55f4f83afdcf42f06d1289086753751f45
/python/Tema 3/Ejercicio4tema3.py
db6cc75333625833c5fd060e2b709eaaf2969e3b
[]
no_license
alexjorlo/iw-Ejercicios-html
bc8c6ac9eb9831002e372b3c75d33aab398c020f
3ddd704ea5521a250fb6408fe5dbc82deff553bc
refs/heads/master
2021-01-02T22:02:38.506830
2020-04-25T13:24:23
2020-04-25T13:24:23
239,818,708
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
usuario=str("root") contraseña=str("root") intento=3 while(intento>0): X=str(input("Escriba el usuario: ")) Y=str(input("Escriba la contraseña: ")) if X.__eq__(usuario) and Y.__eq__(contraseña): print("Bienvenido") else: print("error") intento=intento-1 print(f"Te quedan {inten...
[ "alejandro.jorge@opendeusto.es" ]
alejandro.jorge@opendeusto.es
c13daefa47e7bfd9bb6125fc5e926a3bfb322f89
accd88f6b7036d5a102f60186ede195240ff5688
/venv/bin/wheel
f7eb75ef035ed7a447f46dd356dea5efd589b308
[]
no_license
abhiyan52/codesharing
1270d1c8e71c4949cf69e541e028e542f175afb7
ee5942c2c131540a7748cb6d224ba9fb4f3ec921
refs/heads/master
2020-04-20T10:47:15.388642
2019-02-02T17:06:55
2019-02-02T17:06:55
168,798,593
0
0
null
null
null
null
UTF-8
Python
false
false
254
#!/home/abhiyantimilsina/Desktop/codemirror/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "abhiyantimilsina@gmail.com" ]
abhiyantimilsina@gmail.com
52bac37037d550c2a2aae038c7e551a45f41832d
91da8a59561d6f2c7852c0548298434e0ede2ac7
/Linked list/sort_a_linkedList.py
a0ff4d4ccaf23fb3e9297409fbd6d52413ca3256
[]
no_license
prashant97sikarwar/leetcode
6d3828772cc426ccf53dad07edb1efbc2f1e1ded
e76054e27a5d4493bd1bcef2ebdeb21d257afb63
refs/heads/master
2023-08-23T05:06:23.181869
2021-10-28T18:19:10
2021-10-28T18:19:10
286,057,727
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
"""Sort a linked list in O(n log n) time using constant space complexity.""" # Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def sortList(self, head: ListNode) -> ListNode: if head is No...
[ "prashant97sikarwar@gmail.com" ]
prashant97sikarwar@gmail.com
7ec797ebd713bd8fe2e4fcf0632b4193c4995b27
42d25cfa8b9e1b0e5f1e5708d016a46c8636ced9
/escape.py
4f5e358d4a7a2d1f8473dfedaed51d52b4750064
[]
no_license
horlas/OC_Project3
e78ee40cf0c5cef685d296a5d99f6f34b7023380
cdc61cac45e31e49215cf7f6b892bb30c16edb46
refs/heads/master
2020-03-07T21:39:30.809881
2018-04-16T13:26:20
2018-04-16T13:26:20
127,732,766
0
2
null
null
null
null
UTF-8
Python
false
false
4,523
py
#!/usr/bin/python3.5 # -*-coding:utf-8 - """Program "Help MacGyver to escape!""" from constant import* from classes import* #Open game window pygame.display.set_icon(ICONE) pygame.display.set_caption(TITLE_WINDOW) ######MAIN_LOOP############ MAIN_LOOP = True while MAIN_LOOP: #Load home screen window.blit(...
[ "aurelia.gourbere@gmail.com" ]
aurelia.gourbere@gmail.com
57e38fba70b247f8785ef9324ea9937447df7193
27dccff23ce75151f967c701e685dad21e790d0c
/Server/Eve/post.py
b146f5b9a867868e798f74df6a23c35323a90677
[ "MIT" ]
permissive
Hearen/OnceServer
cf0c863626176d0e2097525ed1722a30af55a5f0
8df8b811fd92afcdda1bef6b5a03657ada1fbe7d
refs/heads/master
2021-01-17T06:08:30.494134
2016-08-10T03:06:15
2016-08-10T03:06:15
47,436,350
0
2
null
2015-12-31T08:06:57
2015-12-05T00:53:58
Python
UTF-8
Python
false
false
12,002
py
# -*- coding: utf-8 -*- """ eve.methods.post ~~~~~~~~~~~~~~~~ This module imlements the POST method, supported by the resources endopints. :copyright: (c) 2015 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ from datetime import datetime from flask import current_app as a...
[ "lhearen@126.com" ]
lhearen@126.com
91f266dc667325bdcaaec433e89ba6d8563f80ea
1360a84fba508b22f50c163b12127c64405130b8
/tenis.py
9a9a3e4f91cab356687a5b9b80d96173581b1361
[]
no_license
ComunidadeDosCodigos/Desafios-Dojos
f2c9dd7c8b26452e333ad52fe850a699e7ad334f
c1cad549794261d79ba4ac62d15834eafc9dcc2e
refs/heads/master
2021-01-25T13:00:16.007633
2018-03-02T02:58:35
2018-03-02T02:58:35
123,522,191
1
1
null
null
null
null
UTF-8
Python
false
false
966
py
#Criado por: #Caio Carnelos #Kaio #Diego import os def clear(): os.system("cls") estagio = [0, 15, 30, 40, 'deuce', 'vantagem', 'vitoria'] P1 = 0 P2 = 0 while True: print("Player 1: {}".format(estagio[P1])) print("Player 2: {}".format(estagio[P2])) try: n = int(input('\n\t player: ')) ...
[ "noreply@github.com" ]
noreply@github.com
e72a8f840fe19cba7a78f1c106c11412b4ce1858
8df7ef807ddeeb0213243214ac4a56409b22f6c8
/lista2/salario.py
249088f46c090794aad05f6c40c502bcb5ba77ee
[]
no_license
centralnett/ALGO_REDES__2016_1_LISTA2
ef53e6e40b7567725d28e2893851d36484a92db1
aeb8553d56fd5bd485f6b51ec3871ac18a175f83
refs/heads/master
2021-01-10T13:25:42.514112
2016-02-29T19:08:09
2016-02-29T19:08:09
52,815,848
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
Funcionario = input() Salario = float(input ()) NS = float(Salario) + float(Salario*0.25) print ("Prezado %s, a partir hoje você receverá R$%.2f" % (Funcionario, NS)) #Aparentemente, o mix de tipos de entradas de dados é uma das possibilidades para funcionar, porem nao acho que seja o correto.
[ "luadossantospereira@gmail.com" ]
luadossantospereira@gmail.com
ecd01d10a1558751757d179781b4e920b374d1a7
acf712c69818bcfee7a7c51631283671e6f9ad07
/blog/migrations/0001_initial.py
819f594b4c57e5e3707370d407b9dcbe66e75022
[]
no_license
hellofjoy/my_first_blog
7025187b9c33aa5d1577aac355de3ead25918661
390252e9fa5854b6ea1290054f4c4ace758a583f
refs/heads/master
2021-05-01T04:09:18.567532
2018-02-13T06:39:07
2018-02-13T06:39:07
121,200,165
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.0.1 on 2018-02-09 11:09 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "yhoh@anapass.com" ]
yhoh@anapass.com
ee426a16bbba6e8d3758021939034929ac68c187
a6f019dcba354e531eebb7ebef2688980f103577
/assignment/assignment/urls.py
e6a37bf88c6209bc8e0127583615d32c6f96ab6a
[]
no_license
Sanayshah2/salesforce_integration_assignment
09dd270513d18363633e955d7fe0bcc6b0ad4088
52f870f7700e6a363bbcb7265c7077f9139379aa
refs/heads/master
2023-08-15T18:14:28.736042
2021-09-15T22:48:41
2021-09-15T22:48:41
406,944,706
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
"""assignment 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-ba...
[ "sanayshah2@gmail.com" ]
sanayshah2@gmail.com
45a5e9c32a2a75392ea4d754b08929dd43bb3c1f
fb9922c7f3f86d13d8e630c5bc84fd77d79b2df1
/geotransform.py
dfd842ecf7972dfcd415ce7f1964fb86299f4d50
[]
no_license
coin-org/geotransform
9696d18978d6c3e7064724b7e0f3154602440544
7743b32a1ffa7ac4a119898478b9192357740972
refs/heads/master
2022-11-03T04:33:32.626293
2020-06-17T14:51:30
2020-06-17T15:04:58
273,001,304
0
1
null
null
null
null
UTF-8
Python
false
false
2,243
py
from pyproj import Transformer from multiprocessing import Pool import psycopg2 def update(si_nm): transformer = Transformer.from_crs('epsg:5179', 'epsg:4326', always_xy=True) # UTM-K(Bassel) 도로명주소 지도 사용 중 connection = psycopg2.connect(dbname='juso', user='postgres', password='password', host='happyjoy1234....
[ "leehyunguu@gmail.com" ]
leehyunguu@gmail.com
6b2cfe16eeae107dde4f90e1146826db9c70bba8
ae6dd63751e6d3b07e274c25acf0f36de9284824
/elevator/asgi.py
f392ad8ffb2b3cb88a65c408a00efbc778bd89bd
[]
no_license
AleksejKorobac1/elevator
e64e3e0dd837f4aa810de5951b8f8316e742dd40
bb1b14eabaaca2db2dde5844d56a36d266c72439
refs/heads/main
2023-01-22T02:58:29.331215
2020-12-03T12:03:08
2020-12-03T12:03:08
318,159,001
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" ASGI config for elevator project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault...
[ "noreply@github.com" ]
noreply@github.com
724698132f626f1a3a989c97a64e08f6e58ca378
e380df2813156a643f8f00754da2f24be4f1d015
/hw1/10.12-1.py
5ff52cdb188fe93fbe31427c9e8d01469fe8e460
[]
no_license
IrynaKucherenko/hw_repository
7da94a70bc41f8445ccd9e2dc673e4362816e2ff
3ef4f4cb33c5e9704382dd345afdbac72c48ec02
refs/heads/main
2023-02-22T13:44:37.551956
2021-01-30T19:48:31
2021-01-30T19:48:31
325,782,179
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
#1# a=int(input("a= ")) b=int(input("b= ")) c=int(input("c= ")) print(a,b,c) print(c,b,a)
[ "irruna_kiev@ukr.net" ]
irruna_kiev@ukr.net
81bd2b2a328a6e4dd44b19fdd29ef301958ada2c
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/timeseriesinsights/v20210630preview/reference_data_set.py
5b350da438874cbf3ea8e7b7b52d7935a1a141be
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,422
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
noreply@github.com
314be4571818499b9133b733908fa91faf720aad
896b79a235796da67cdabd52e88d8b218882c3fe
/src/aioquic/quic/recovery.py
dae3712bc63d32f253ebceca8c49e3dc11109ba0
[ "BSD-3-Clause" ]
permissive
LautaroJayat/aioquic
b9b84b59c849a3dc4cfc3a986b679dd0723ddbf7
b1ecd8a1dd9089fa536b7d62ab06d7127d768e8d
refs/heads/main
2022-10-27T01:30:04.846852
2020-06-16T01:04:25
2020-06-16T01:04:25
272,577,005
0
0
BSD-3-Clause
2020-06-16T01:04:27
2020-06-16T01:01:58
null
UTF-8
Python
false
false
17,096
py
import math from typing import Callable, Dict, Iterable, List, Optional from .logger import QuicLoggerTrace from .packet_builder import QuicDeliveryState, QuicSentPacket from .rangeset import RangeSet # loss detection K_PACKET_THRESHOLD = 3 K_GRANULARITY = 0.001 # seconds K_TIME_THRESHOLD = 9 / 8 K_MICRO_SECOND = 0....
[ "jeremy.laine@m4x.org" ]
jeremy.laine@m4x.org
01893f13d23f63efc4f427a9eb781cbc09388785
dee345b10c7dc29dd6b0cac04677beef14f2d64f
/tests/test_manual_quality_merging.py
35dc41c621fefe22e33d69b77f397f562e697051
[ "MIT" ]
permissive
richard-shepherd/calculation_graph
fcd0df6b0d4fc598586ee67c129ccc90b9cac383
647b1f13544e3525068c8b3b83a7eed3f7e473bd
refs/heads/master
2016-09-05T19:46:14.567122
2015-05-21T10:58:14
2015-05-21T10:58:14
31,436,445
0
1
null
null
null
null
UTF-8
Python
false
false
5,491
py
from graph import * class SourceNode(GraphNode): """ A data source. Just a value with data-quality. """ def __init__(self, source_name, *args, **kwargs): super().__init__(*args, **kwargs) self.source_name = source_name # The value provided by this source... self.value ...
[ "richard.s.shepherd@gmail.com" ]
richard.s.shepherd@gmail.com
acde0420d5ab3939d172fe9bb041ec0a578d0335
95e44da0affe35a1f928543f9ea2fd2fbd4a6bd1
/src/order_detections_by_outlierness.py
584294a45668a4335bc1950e2940294265a948a0
[ "MIT" ]
permissive
mbanibenson/FaunD-Fast
caf1882d92a1da1308c7384db7984708d61217ad
146260ac3cb06a660db7122425fe08e958b5d1e8
refs/heads/main
2023-04-13T20:02:16.324831
2023-03-22T21:44:14
2023-03-22T21:44:14
617,589,813
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
from pathlib import Path from visualization.sort_patches_by_outlier_scores import save_copies_of_detected_patches_ordered_by_anomaly_score if __name__ == '__main__': data_directory = Path.cwd().parents[0] / 'data/unsupervised_outlier_detection' save_copies_of_detected_patches_ordered_by_anomaly_score...
[ "onyangombani@gmail.com" ]
onyangombani@gmail.com
0065833c1f25a7bfaaa59e6c837052035b4b3d4f
56eb8e3765244022cf380be85075a6291fc5bbc8
/Populating Next Right Pointers in Each Node II.py
b308ee7cb4479b633d467b20a298d942610b94c1
[]
no_license
zhouyuhangnju/freshLeetcode
bb564818909322699434912c4b75253b37b58a97
f52dfa5451475932b81081e8f23259672153dd7a
refs/heads/master
2020-12-02T10:00:50.410692
2017-08-01T07:39:10
2017-08-01T07:39:10
96,677,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
# Definition for binary tree with next pointer. class TreeLinkNode: def __init__(self, x): self.val = x self.left = None self.right = None self.next = None # @param root, a tree link node # @return nothing def connect(root): if not root: return rightdict = {} ...
[ "zhouyhnju@qq.com" ]
zhouyhnju@qq.com
a9bca25f432b41dcf088d3342acd241c9975acb8
cbaac065a9e708569e516ec3932b75fa48ee7f87
/kattis-unbearzoo.py
1a0070f2c4780003df3478ffffd0f74f7ec174b1
[]
no_license
rezabayu/sedati
59c5ea0845bdbadbafe638bd4db3ab33eaeee11e
eccfbfffb39c0a1fb11dac7c38445eab50fe9d98
refs/heads/master
2021-09-26T04:25:45.375171
2021-09-19T15:38:22
2021-09-19T15:38:22
253,642,841
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from collections import Counter final = [] while True: n = int(input()) if n == 0: break ani = [] for i in range(n): kindo = input().split(" ")[-1] ani.append(kindo.lower()) ani.sort() kount = Counter(ani) anak = [] for a, b in kount.items(): anak.append(a...
[ "noreply@github.com" ]
noreply@github.com
d08201f6feccffe37f082e1b0346ae3e153f21c0
f4a5ceedda530491c539f0f658ea532c49bb10aa
/prog5.py
0c578da9bb3ced936491bbbf2f1cf6a02a8c49c6
[]
no_license
KirillBaboshko/Klasswork
43f03c15a08c8d17dd0005d311d77063cc7f1806
39f2aa4690be2ac60e4c59f2ca1e8032fcdc8c8a
refs/heads/master
2023-07-23T12:49:36.970846
2021-09-06T17:28:17
2021-09-06T17:28:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
number = int(input("Введите целое число ")) revers_number = 0 while number > 0: revers_number = revers_number * 10 + number % 10 number = number // 10 print(revers_number)
[ "levanikogamer@yandex.ru" ]
levanikogamer@yandex.ru
1e219e53153cc2ba64677c4a7cdcbd6dadc77b4f
ca8200f8fa078aa4936544fdd7b31a91a7480351
/Kaggle/Plant_Pathology/self_attempt_01.py
9a3ad8b3590463a36029ad0e7d982532084c7ff6
[]
no_license
Lem0nRavioli/tutorial_backup
a7e1e627bff7ad527273069408d5f26bb588d880
e7c83908867a8a636757703e082766e7494d7dfc
refs/heads/master
2023-07-13T19:55:18.530141
2021-08-18T15:47:56
2021-08-18T15:47:56
321,391,393
0
0
null
null
null
null
UTF-8
Python
false
false
3,014
py
import silence_tensorflow.auto import tensorflow as tf from tensorflow.keras.preprocessing.image import ImageDataGenerator import pandas as pd import numpy as np import os class CFG: root = 'D:\Progs - D\DataSets\Plant_Pathology' root_train = os.path.join(root, 'train_images') root_train_shrinked = os.pat...
[ "hirona_mj@hotmail.fr" ]
hirona_mj@hotmail.fr
e8dbb49eaf032f605ddb2cf83de4810e472111da
934927eff3e755a82a8232aedc4e3f8bc2d1d9c8
/website/user.py
582980b36c88e9b279ff4b43c00a9915ae435f2d
[]
no_license
jpinheiro228/myCW
d855bc09f6f19bb5a2ef81cdc75eb379916516fc
9fe23b44c611809e9790c45dc83538fb30f3abf6
refs/heads/master
2022-04-13T17:43:07.942403
2020-03-25T19:08:01
2020-03-25T19:08:01
180,448,782
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
from flask import (Blueprint, flash, redirect, render_template, request, url_for, abort, session) from website import db_utils from website.auth import login_required import os import docker_control as dc dir_path = os.path.dirname(os.path.realpath(__file__)) bp = Blueprint('use...
[ "joao@gtel.ufc.br" ]
joao@gtel.ufc.br
17c32a613daa0e013bfcaad2caa72d86e7343183
53b47cbfea75afd22f37a2a9c8af4573165a0515
/Week5/Assessment 1/algorithm/algo.py
aa58e2a50fecb31c7a089d08f9c8950556523934
[]
no_license
bmolina-nyc/ByteAcademyWork
d757ed04033e23a4ec7aa8d09283f65b4cebcb17
b7a6790c2905afc9532b348149b730b7ea71de44
refs/heads/master
2022-12-06T19:17:02.164451
2019-03-11T15:31:10
2019-03-11T15:31:10
169,432,884
0
1
null
2022-11-18T15:08:12
2019-02-06T16:00:41
Python
UTF-8
Python
false
false
679
py
def sorting(MyList): zero_count = MyList.count(0) list_check = MyList.count(0) check = [] while zero_count > 0: check.append(0) zero_count -= 1 while True: for el in MyList: if el == 0: idx = MyList.index(el) pop = MyList.pop(idx) ...
[ "bruce.molina.81@gmail.com" ]
bruce.molina.81@gmail.com
a71c8b1625234bc4464d232588c2bc939ed2e953
4c3fbb4988850204f5ea0e667d54f29cdacdcc50
/plugins/Nuke/v13.0/nim_tools.py
ce8b59ca0d49adc91828564c1078c390c3b8efe1
[]
no_license
nsankar90/connectors
aa605d5ab7c0671ee8bd10931849b20645b30c87
5b5efa9f4c111ed76148185ede56e68830785611
refs/heads/master
2023-08-14T14:21:35.691251
2021-09-22T20:04:22
2021-09-22T20:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,415
py
#!/usr/bin/env python #****************************************************************************** # # Filename: Nuke/nim_tools.py # Version: v4.0.67.200319 # # Copyright (c) 2014-2021 NIM Labs LLC # All rights reserved. # # Use of this software is subject to the terms of the NIM Labs license # agreement provided a...
[ "andrew@nim-labs.com" ]
andrew@nim-labs.com
29ec147b5a92e8a4e1dbf345acd3c425408dcbb0
471db8632f1b67ee532c057dc778979b956fcf50
/squidpy/instruments/ppms.py
acfd1c64be2d83b261e1ca3808158ad0c008cd6e
[ "MIT" ]
permissive
guenp/squidpy
b0509d3a75a7226bfa027787e1895f8c2ce9288a
17af231cef7142325a483aaa95041671e4daaea4
refs/heads/master
2021-01-22T17:17:56.027947
2016-03-04T21:53:19
2016-03-04T21:53:19
45,823,821
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
from squidpy.instrument import Instrument from squidpy.utils import ask_socket, connect_socket class PPMS(Instrument): ''' For remote operation of the Quantum Design PPMS. Make sure to run PyQDInstrument.run_server() in an IronPython console on a machine that can connect to the PPMS control PC's QDInstrume...
[ "guen@nbi.dk" ]
guen@nbi.dk
0066db67f7740aee920daacc38dcce5f944b7ec6
9432848a2dbd56c16e307923769831f68c8db35b
/main.py
7ec27e2fe8b2f04cb25a47d6c81f3b9ff1f87d52
[]
no_license
Nadunnissanka/Day-68-flask-auth
e5a64326bc79d8d94b7866ad6f1baa2b0639af64
d0d4b39291daf786ee7b4d4a6e4fc60fcecabf60
refs/heads/master
2023-07-18T10:29:34.543899
2021-08-18T17:03:18
2021-08-18T17:03:18
397,647,972
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
from flask import Flask, render_template, request, url_for, redirect, flash, send_from_directory from werkzeug.security import generate_password_hash, check_password_hash from flask_sqlalchemy import SQLAlchemy from flask_login import UserMixin, login_user, LoginManager, login_required, current_user, logout_user app =...
[ "61065783+Nadunnissanka@users.noreply.github.com" ]
61065783+Nadunnissanka@users.noreply.github.com
bdb29b4f051ad6074cdbe4071a341a81d25d3545
0cd4014040a7374f0b82fe7077246f2cab470c3d
/linkedin_profile_search.py
f7cc8bd21ce073efe556506c2adf5b5f0dc0c463
[]
no_license
LinkedIn-Crawler/Crawler
6e5970caad586d3e817398ab0c965d3aee79ac18
6f33a232941564adadfd2f453974c456263acefd
refs/heads/master
2023-05-27T00:16:59.834194
2021-06-15T17:20:42
2021-06-15T17:20:42
284,042,525
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
import csv import sys import fileinput from selenium import webdriver from time import sleep from selenium.webdriver.common.keys import Keys import parameters from parsel import Selector writer = csv.writer(open(parameters.result_file,'w')) writer.writerow(['Sl. No.','Name of the Candidate','Job Title','Schooling/Educ...
[ "samay@iitg.ac.in" ]
samay@iitg.ac.in
446964d9b5e4afad27b0dc77eb6cd248496d477b
b000af82a539dd065d01ceeb7362e5beaee1659e
/basics/urls.py
c3a0b7bde77ade4bba43c8bea73d600c1288b7f1
[]
no_license
buwaketaki/Stock-Market-Analysis
1de008f4439ae5855945700b4d42404fcb08c030
75a45c264d1c366cae9ed8d1e063c1e2d3b64e6d
refs/heads/master
2022-12-15T10:35:22.579397
2020-09-01T05:24:55
2020-09-01T05:24:55
291,901,651
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
from django.urls import path from rest_framework import routers from .api import HistoryDataViewSet, UpdatedDataViewSet, DataViewSet from . import views from django.views.decorators.csrf import csrf_exempt router = routers.DefaultRouter() router.register('api/data', DataViewSet, 'HistoryData') router.register(...
[ "ketaki.buwa.kb@gmail.com" ]
ketaki.buwa.kb@gmail.com
ba390262491d2b85c1a086e78fde731a173b1ef6
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118152650.py
71f2c0cb3e667e65dce164fea2e7b4e149d01c27
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
82,147
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
b1d7d6b13505195a68322431517578106a571d2e
0e14bf4cfebd1e78bce92c4cc36d301b3185aa08
/BookingPlatform/migrations/0001_initial.py
4924ed1cbe26b96d34349aea56f03a705837217d
[]
no_license
karantatiwala/Booking-Platform-API
e2bf38373a6735e17bfa36a86ea0e1bd5fb64e20
f8544173d5e8cdf1c4a77995d4461bf61afc8135
refs/heads/master
2020-04-06T13:28:17.442317
2018-11-14T06:25:54
2018-11-14T06:25:54
157,496,017
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-10-12 20:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='TheatreD...
[ "noreply@github.com" ]
noreply@github.com
a047cd7c702fb834ba38166a6d918c83e9a7cfcb
af31378dbb1ca367d5917ea5af37aac7c3193ae6
/authors/models.py
d509ae67655ac9631762aded12aae48693542dac
[]
no_license
aish1499/library_projects
8104ec5919079e1dcb1c5b9b21f65167b1a6a136
fcbe8f680bdf6313cc10a6b11f5f1edb6de028e3
refs/heads/master
2022-12-09T20:37:14.549414
2020-01-28T12:17:44
2020-01-28T12:17:44
236,725,279
0
0
null
2022-11-22T04:57:49
2020-01-28T12:01:21
Python
UTF-8
Python
false
false
748
py
from django.db import models from django.utils.translation import ugettext_lazy as _ # Create your models here. def upload_photo(instance, filename): return f'{instance.name}/{filename}' class Author(models.Model): name = models.CharField(max_length=100) about = models.TextField(_("About"),blank=Tr...
[ "aishwaryabpotadar@gmail.com" ]
aishwaryabpotadar@gmail.com
8f6a8483eb5361ba18a975aad682f9d16df8ea1d
474c1742341ed2ab3baeecc9eb17fb42ae359936
/main.py
9bba9e8dcb56aa31f207ccf9a63e765c4a956e09
[]
no_license
extremecodetv/walrus
fe0e1d0e8ddc5fb15c42463f04bf1c7f56c729c3
0fd3a834f4720b35d5571e1e877ac4fd58148e6d
refs/heads/master
2021-07-12T11:34:07.518483
2021-03-26T09:33:50
2021-03-26T09:33:50
245,806,428
51
26
null
2021-06-02T01:09:15
2020-03-08T12:01:14
Python
UTF-8
Python
false
false
269
py
import argparse import gender def main(): parser = argparse.ArgumentParser() parser.add_argument("--image") args = parser.parse_args() genders = gender.resolve(args.image) for g in genders: print(g) if __name__ == "__main__": main()
[ "extremecodetv@gmail.com" ]
extremecodetv@gmail.com
a52d484c64105b891b86fb82a6743f01e41391c9
b01a3044764386602029fe0ad1ff50a035d78f59
/homework_11_30_18/Product.py
a473eabd7c474c5bd319b0cef00d01402529f96e
[]
no_license
0kba/python
5dcdf51c7dedae66f3a5dfc71704c32693014f7d
9264dee507e296bbef31b689578bb49b347ec9b9
refs/heads/master
2020-03-29T14:34:06.148277
2018-11-30T01:02:14
2018-11-30T01:02:14
150,023,623
0
1
null
null
null
null
UTF-8
Python
false
false
323
py
class Product: def __init__(self, ProductId, ProductName, Category, Price): self.ProductId = ProductId self.ProductName = ProductName self.Category = Category self.Price = Price def __repr__(self): return (f"{self.ProductId} {self.ProductName} {self.Category} {self.Price...
[ "m.okba@outlook.com" ]
m.okba@outlook.com
b037a44c8142b552def5b0a27460e18016cdcb7b
0445301b7214bb58808c6f1c768d1580dc26f247
/seinfeld/quote_of_the_day.py
666e369b2a3a83ec516e05424933e708a75bfd31
[]
no_license
hello-newman/minimal-pants
1a29346d32b39d56b963061ddad54f317a0e0707
05cf60c1c2e10d45d5a138c624833e2aba5276bd
refs/heads/main
2023-08-25T15:04:14.950593
2021-09-24T19:51:11
2021-09-24T19:51:11
371,522,935
0
0
null
2021-09-25T05:54:33
2021-05-27T22:53:46
Shell
UTF-8
Python
false
false
927
py
from __future__ import annotations import random _QUOTES = [ "What do you need it for after you read it", "How come people don’t have dip for dinner", "You have the chicken, the hen, and the rooster", "Jerry, just remember, it’s not a lie if you believe it.", "Moles — freckles’ ugly cousin", "...
[ "1268088+asherf@users.noreply.github.com" ]
1268088+asherf@users.noreply.github.com
e0e89fc50efc89bf53d5cfdcb633d9707c8981e9
ac176f429c420a8d6290c57df14346d207cff3de
/leetcodepython/app/algorithm/MaxHeap.py
f370b41197fa1071203817620dfdece566d53ac2
[]
no_license
xu20160924/leetcode
72c6fc02428e568148af4503c63c6f2553982a1c
43e12a3db5b4087913ec338e652ae7fd59859c23
refs/heads/master
2023-08-04T14:41:06.964273
2022-11-20T13:39:28
2022-11-20T13:39:28
252,931,114
0
0
null
2023-07-23T10:52:04
2020-04-04T06:57:49
Java
UTF-8
Python
false
false
3,210
py
class MaxHeap: def __init__(self, capacity): # 我们这个版本的实现中,0号索引是不存数据的, 这一点一定要注意 # 因为数组从索引1开始存放数值 # 所以开辟 capacity + 1 这么多打下的空间 self.data = [None for _ in range(capacity + 1)] # 当前堆中存储的元素的个数 self.count = 0 # 堆中能够存储的元素的最大数量(为简化问题, 不考虑动态扩展) self.capacity = ...
[ "xu20151211@gmail.com" ]
xu20151211@gmail.com
01e84a5b890b5329173fd3e9147e0c68891ed5b6
0a503a34cb2183163b7e5dc1f5f3db285c1543a6
/downloader.py
723f27c37d1c1aafcec502beba3449eb62a90733
[ "MIT" ]
permissive
LinkWoong/CIS668_Final_Project
98c722faab38eff15a38e36b1634e4fb088598c4
f6b4646e0c07848968d1ea90e5ca4f59f5d5c35a
refs/heads/main
2023-01-13T22:05:15.762819
2020-11-21T16:28:48
2020-11-21T16:28:48
300,903,853
0
1
MIT
2020-11-22T01:23:42
2020-10-03T14:49:02
Jupyter Notebook
UTF-8
Python
false
false
11,295
py
from __future__ import print_function import io import json import os import sys import time import argparse import lxml.html import requests import queue import google_auth_oauthlib.flow from lxml.cssselect import CSSSelector from googleapiclient.discovery import build from googleapiclient.discovery import build_f...
[ "zuiaineo@foxmail.com" ]
zuiaineo@foxmail.com
2e2aa42191565859e305c671773a20d93e459e04
615ce4f7790057c92d93f43a5f0cab9ba018fbd6
/pathological/atomics/strings/evaluatable.py
29efa6a5e4aceb5c95b7ef7a0bd4d68ee5b533fd
[ "MIT" ]
permissive
OaklandPeters/pathological
20e88fac7216eebfe735a018449813f956c69484
c561eb30df8cdcc0f277a17cd08a03cf173e312f
refs/heads/master
2021-01-10T16:00:54.798667
2016-03-07T14:47:54
2016-03-07T14:55:20
53,332,021
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
""" SQL Python code Python eval Javscript Javascript eval C """
[ "oakland.peters@gmail.com" ]
oakland.peters@gmail.com
dbbafc2c33719d692df83c2c0a3a15b9124eba86
14e30f6324200569a75ed5210f7aee842fc901d0
/venv/Lib/site-packages/cx_Freeze/samples/cryptography/setup.py
b54d61ce4f8702cee905d5223d9fa5aedec88ab7
[]
no_license
FardinOyon/MP3-Player
bc56ae7c2153e7651bc21744f3e0606c0300c250
8b832c09a6190589e1256637b874b6fc2e986adb
refs/heads/main
2023-04-01T20:13:07.487350
2021-04-10T17:40:10
2021-04-10T17:40:10
356,653,188
1
0
null
null
null
null
UTF-8
Python
false
false
672
py
"""A setup script to demonstrate build using cffi (used by cryptography)""" # # Run the build process by running the command 'python setup.py build' # # If everything works well you should find a subdirectory in the build # subdirectory that contains the files needed to run the script without Python from cx_Freeze imp...
[ "oyonfardin8@gmail.com" ]
oyonfardin8@gmail.com
bd62b0d666650471f065aa55e2f898a6ad1fc359
bdd7e4fcc017ec724caa05eb2a624f60208b8813
/script.py
99d6d7313477507312001f2a720b33551b1e22be
[]
no_license
etjkai/Tkinter
5a944990ec6ebef0e65350dec897993beff6ee8b
62012d9a4b6202eec664c61b3b1e46993ca93a26
refs/heads/master
2022-12-08T20:19:15.688285
2020-09-10T18:32:54
2020-09-10T18:32:54
294,491,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
import tkinter as tk window = tk.Tk() frame_a = tk.Frame(master=window) frame_b = tk.Frame(master=window, # Creates a border around frame relief=tk.RAISED, # Border must be > 1 for frame to take effect borderwidth=3) ''' List of Widgets 1) La...
[ "etjkai@gmail.com" ]
etjkai@gmail.com
b8124490b623a6c5b281a10cce0cc972f2334d95
9017f217abe077aff77f64938a988fcc4a292e40
/plate/common/syntax_highlighting.py
aa0484c12f2fad1de5134b9f34f2332e331f0d6d
[ "Apache-2.0" ]
permissive
gogit/plate
c8c47d47de2b11d5c7b4840106181bb177b50c88
2e5fdb1ddfad560986b429cf2ff92aed4d35e56c
refs/heads/master
2021-01-18T07:18:52.770779
2016-04-08T11:45:00
2016-04-08T11:45:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
# -*- coding:utf-8 -*- def syntax_highlight(lang, code): """ code highlighting HTML Format :param lang: programming language :param code: code :return: highlighted code """ from pygments import lexers from pygments import highlight from pygments.formatters import HtmlFormatter ...
[ "sh84.ahn@gmail.com" ]
sh84.ahn@gmail.com
7dd1ce764affe3b286ebc77ccb89d3c8250e2bcb
e14e3c3690326ff208d5d32fe934b5004f8df629
/venv/Example/计算三角形的面积.py
428d7f5016ed09f4f8080c4f94e11e3dd17ca96e
[]
no_license
succ1984/PythonLearning
dfd2b7897ab71bcb7af55768a0f0cf859e8ad4ec
595eb63178bdf12886a4cdc0a1d3462b4a0baf79
refs/heads/master
2022-04-15T02:48:20.367390
2020-04-13T16:02:44
2020-04-13T16:02:44
255,371,180
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Filename : test.py # author by : www.runoob.com a = float(input('输入三角形第一边长: ')) b = float(input('输入三角形第二边长: ')) c = float(input('输入三角形第三边长: ')) # 计算半周长 s = (a + b + c) / 2 # 计算面积 area = (s * (s - a) * (s - b) * (s - c)) ** 0.5 print('三角形面积为 %0.2f' % area)
[ "succhn@vip.qq.com" ]
succhn@vip.qq.com
93cfea989ae00a620d50b77cd1466bb4fb9b27b8
b99dbe2c1a4666f02e5c66a06fa8e4a06c132bbc
/Visualisation/MahaCovidVisualisation.py
076d10964127176badf6b8b97efbed4714e20a53
[]
no_license
trivedimilan97/Covid-Maharashtra-Web-Scraping-Data-Analysis-and-Visualisation
b0aa5411d1deee80fa48da6890ae2e2628ba371e
4a63658ac129f2ac281e0b79a183f0243c85de15
refs/heads/main
2023-02-21T15:23:56.141635
2021-01-23T15:06:55
2021-01-23T15:06:55
331,654,578
1
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
#importing libraries import pandas as pd import numpy as np import matplotlib.pyplot as plt #Plot 1 data = pd.read_csv('MahaCovid.csv') #Converts the csv data scraped from Covid India into a DataFrame ac=data.iloc[:35,4].values #ac active cases re=data.iloc[:35,2].values #re recovered de=data.iloc[:35,3].value...
[ "noreply@github.com" ]
noreply@github.com
07455c7971c5cbf33c0d714beb2789ced4f3ae31
8b2bd04cde76a0acfbd82af78bec44d1ac6f81b2
/sift2.py
1547f02e1eaa8fcd8e89066415f44d008e35bec6
[]
no_license
zhangysh1995/ObjectDetectionKinect
e3c09984c0a416369290c49f5709624520511919
a916a009ecf41acdc9c0a7e0dae1951be4c2001b
refs/heads/master
2021-10-21T20:52:56.084820
2019-03-06T10:34:47
2019-03-06T10:34:47
116,142,929
3
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
import cv2 # from find_obj import filter_matches,explore_match import numpy as np class sift_match(object): def __init__(self): pass def filter_matches(self, kp1, kp2, matches, ratio=0.75): mkp1, mkp2 = [], [] for m in matches: if len(m) == 2 and m[0].distance ...
[ "zhangysh1995@gmail.com" ]
zhangysh1995@gmail.com
01fc201f65a3262bb2c03edbb137f2567ead95d9
93ba95e18e51eec689114d4bed53cd3089754209
/maps/admin.py
2dbf39c88987d1adc744bf076efbb342de9e6f93
[]
no_license
ernestone/maps_django
42f5e1934830572b111f803e73191d866b59ae91
051ba90782b805139024daf3f0bbbd6a2e1fd00c
refs/heads/master
2020-05-14T18:50:51.915093
2019-09-24T23:12:57
2019-09-24T23:12:57
181,916,930
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from django.contrib.gis import admin from .models import events_centre from leaflet.admin import LeafletGeoAdmin # Register your models here. #admin.site.register(events_centre, admin.GeoModelAdmin) #admin.site.register(events_centre, admin.OSMGeoAdmin) @admin.register(events_centre) class event_centreAdmin(LeafletGe...
[ "ernestone@gmail.com" ]
ernestone@gmail.com
8b27dfabec0874e5bd28b3055920ddb5fcdc15c9
10630887f1ec6347a7c42ecc4a8338c132bac267
/mydiary/entries/urls.py
3e0cd009ccc48bf0b51b74a68a998c7b98a12a2a
[]
no_license
Anni1123/DiaryApp
8a44fbbe4ce900c5ed9e32adabd697d2fc315aeb
88dbf7fb49e131555c9d489378c81057ee6e6551
refs/heads/master
2023-03-29T04:46:22.571571
2021-03-23T11:01:02
2021-03-23T11:01:02
285,774,093
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from django.urls import path from . import views urlpatterns = [ path('', views.index,name="home"), path('add/',views.add,name="add"), ]
[ "kumarianni1213@gmail.com" ]
kumarianni1213@gmail.com
cf778af0af1dddef7a128d1e74c241f6d5102ed0
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/e5f4987a8fe1b2a1907436c11e0c5ae9ae6b12b3-<mandatory>-fix.py
a5a74f66992fb6dfef2b09ed691874a499fea364
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
def mandatory(a): from jinja2.runtime import Undefined ' Make a variable mandatory ' if isinstance(a, Undefined): if (a._undefined_name is not None): name = ("'%s' " % to_text(a._undefined_name)) else: name = '' raise AnsibleFilterError(('Mandatory variable %s...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
a255456d0a019eb574c9d471d675d371ed409336
c971cefa15391eb5bfc661b61791aa641089ff71
/Term 2/9/problem.py
a23dfbc6292d27e54b1f0f46a5e555232a0c0e39
[]
no_license
theseana/ajil
d8816be35b7ee56d9bc6899587b71c664a455f5f
3fcda909dae50394120c7c05d530ad905b05da0c
refs/heads/master
2023-02-23T23:28:23.529531
2021-01-26T10:07:11
2021-01-26T10:07:11
305,970,739
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
# ssssssss # iiiiiiii # nnnnnnnn # aaaaaaaa
[ "info@poulstar.com" ]
info@poulstar.com
b32201fe4bcba5b5044dd43bd63144b156758276
8f5c7f28703b274163c2832f6511025e37b4295f
/helloworld.com/reviews/migrations/0001_initial.py
98cc1576bfc65b810dcb3c4f295628f97c64f0c6
[]
no_license
reinaaa05/portfolio
159dc4d48b3e215bfb6c7115cd39b7f63ee2418a
e93189e3aa027e57bac490d8874519dd7f717620
refs/heads/main
2023-05-15T09:56:30.741402
2021-06-12T13:46:44
2021-06-12T13:46:44
307,375,148
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
# Generated by Django 3.1.7 on 2021-03-19 05:50 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ReviewsConfig', fields=[ ...
[ "Reinaaa0555@gmail.com" ]
Reinaaa0555@gmail.com
d672d92fcd9d2770b069e63d30f25774575f0e1b
0f6a0a53fbab0092272f59e5d2f49c9b492c3b25
/Week 08/id_668/leetcode_387_668.py
6f119e75257f4774a4efadc4fe33fb99019553bc
[]
no_license
HaoWangCold/algorithm004-03
662f5d3512c94b81305eab43277c1d0cfdbd1bed
b03f841ed18190c9b42997998de839731a98cc88
refs/heads/master
2020-08-07T19:55:51.769325
2019-12-11T05:09:10
2019-12-11T05:09:10
213,571,366
1
0
null
2019-12-11T05:00:46
2019-10-08T07:04:21
Java
UTF-8
Python
false
false
809
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ @file: 387_first_unique_character_in_a_string.py @time: 2019/12/5 11:04 """ class Solution(object): """ 给定一个字符串,找到它的第一个不重复的字符,并返回它的索引。如果不存在,则返回 -1。 案例: s = "leetcode" 返回 0. s = "loveleetcode", 返回 2. ...
[ "noreply@github.com" ]
noreply@github.com
aec91a9ce7f35dfa47aaf32a2ca1c5960d6a0f98
fbf82e9a3d6e7b4dbaa2771eed0d96efabc87b3b
/platform/storage/storage/ceph/ceph/manager/cephmon_manager.py
1a1d68c8581d61a22a5d18d91845d4a99f3ac9e9
[]
no_license
woshidashayuchi/boxlinker-all
71603066fee41988108d8e6c803264bd5f1552bc
318f85e6ff5542cd70b7a127c0b1d77a01fdf5e3
refs/heads/master
2021-05-09T03:29:30.652065
2018-01-28T09:17:18
2018-01-28T09:17:18
119,243,814
1
0
null
null
null
null
UTF-8
Python
false
false
12,801
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: YanHua <it-yanh@all-reach.com> import uuid from common.logs import logging as log from common.code import request_result from ceph.driver import ceph_driver class CephMonManager(object): def __init__(self): self.ceph_driver = ceph_driver.CephDriv...
[ "359876749@qq.com" ]
359876749@qq.com
f845123ddf4a90c5080f4bd640f47010d786bac5
61ada335c336101f5550280cb5a0ff0eca29f90a
/chapter4/bst_sequence.py
33dcb9826e7a835b52e67b6b64f46a0b7d0af50d
[]
no_license
WesleyT4N/CTCI
0a083e34c4d7102eb5f39b484a8b4f9b3cc3b259
3b4751e43626120cb3e6891c0a864677f8237b59
refs/heads/master
2020-03-25T07:17:43.127459
2019-01-11T04:51:10
2019-01-11T04:51:10
143,552,731
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
def weave(first, second, results, prefix): if len(first) == 0 or len(second) == 0: result = prefix results += result + first + second head_first = first.pop(0) prefix.append(head_first) weave(first, second, results, prefix) prefix.pop() first.insert(0, head_first) head_seco...
[ "wesleyt1998@gmail.com" ]
wesleyt1998@gmail.com
afc502fd894e0319fb56f6217f21a3b934829d0c
e4045e99ae5395ce5369a1374a20eae38fd5179b
/db/add_emp.py
07ba831ed9d733fb43393f8841ade51ce422921f
[]
no_license
srikanthpragada/09_MAR_2018_PYTHON_DEMO
74fdb54004ab82b62f68c9190fe868f3c2961ec0
8684137c77d04701f226e1e2741a7faf9eeef086
refs/heads/master
2021-09-11T15:52:17.715078
2018-04-09T15:29:16
2018-04-09T15:29:16
124,910,054
0
1
null
null
null
null
UTF-8
Python
false
false
539
py
import sqlite3 try: con = sqlite3.connect(r"e:\classroom\python\hr.db") cur = con.cursor() # take input from user ename = input("Enter name :") salary = input("Enter salary : ") dept = input("Enter dept id :") # get next emp id cur.execute("select max(empid) + 1 from emp") empid = ...
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
35f8d03aeb920c25f794dccf14d28d00a16dc8a5
6d6fb9b30dc5856bbfec6b7a8877494709ed0d5d
/cap6/ex_143.py
130520a5b258fdc5c1b4d66c0070001fcc105d4f
[]
no_license
ignaziocapuano/workbook_ex
2b5b644d5d4d1940c871f9083764413671482213
ff6d2625e46a2f17af804105f4e88cf8772a39a3
refs/heads/main
2023-01-04T20:28:08.956999
2020-11-02T07:48:18
2020-11-02T07:48:18
304,552,342
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
#Anagrams string1=input("Inserisci prima parola: ") string2=input("Inserisci seconda parola: ") if len(string1)!=len(string2): print("Parole di lunghezza diversa") quit() elif string1==string2: print("Parole uguali") count1={} count2={} for i in range(len(string1)): if string1[i] in count1: cou...
[ "72966219+ignaziocapuano@users.noreply.github.com" ]
72966219+ignaziocapuano@users.noreply.github.com
4ba863c2665be91eec065ed4c30766c4093d1eee
ce61d882ab402283c60580cd6b99ac74eb6e3644
/sixdegrees/random_geometric_api.py
21de8f64714697adfd352a786159f4126ce9aec3
[ "MIT" ]
permissive
benmaier/sixdegrees
f4a6c54cce8021cc4f55a832fbe629e8e22b0cb2
6fee5a4f81d91ec2ce92c8767add67b701651a85
refs/heads/master
2022-12-11T00:10:42.210563
2020-09-15T21:58:18
2020-09-15T21:58:18
216,598,531
0
1
null
null
null
null
UTF-8
Python
false
false
22,459
py
# -*- coding: utf-8 -*- """ This module provides convenient wrapper functions for the C++-functions sampling from all random geometric small-world network models. """ import numpy as np from _sixdegrees import ( _random_geometric_small_world_network_coord_lists, _random_geometric_small_world_network, ...
[ "benjaminfrankmaier@gmail.com" ]
benjaminfrankmaier@gmail.com
21122806780db4ca9eaa3c3dce798f3d25d1200d
724ed0cf0bc207c9f106ce74ca03984247a8dab3
/test/test_app1.py
2c739334f3684e06566a8e3cbf5929be385cd326
[]
no_license
mengjiao718/ww_api
38166762d58ecc5e880a8c22a42727e5aa1af1c8
c61a2956dd2bfe225e9c85ba608f40ce87128748
refs/heads/master
2021-05-24T04:21:24.701332
2016-08-26T19:16:01
2016-08-26T19:16:01
65,039,534
0
1
null
2020-07-23T12:45:14
2016-08-05T18:13:07
Python
UTF-8
Python
false
false
3,387
py
#!flask/bin/python from flask import Flask, jsonify, abort, request, make_response, url_for from flask.ext.httpauth import HTTPBasicAuth app = Flask(__name__, static_url_path = "") auth = HTTPBasicAuth() @auth.get_password def get_password(username): if username == 'miguel': return 'python' return Non...
[ "mengjiao.zhang@issuerdirect.com" ]
mengjiao.zhang@issuerdirect.com
0f0fa09b4da7bdac7b101b28a117b9782fe16b70
6fae09c2b851c47c21157e371a0a38dbbcd3ca74
/venv/bin/chardetect
ea64b7535a3ef539901282b44e1fdc581324a37f
[]
no_license
bopopescu/sistemaMonitoreo
50a4c05bace2be8a691130d2026d2e51d332a008
c2328afd613864dc4ba1f296946fecf8c7e22843
refs/heads/master
2022-11-19T16:18:22.247779
2019-01-27T20:49:40
2019-01-27T20:49:40
282,366,646
0
0
null
2020-07-25T03:59:20
2020-07-25T03:59:19
null
UTF-8
Python
false
false
290
#!/Users/gnunez/eclipse-workspace/sistemaMonitoreo/sistemaMonitoreo/venv/bin/python # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "guillermo.nunez@gnp.com.mx" ]
guillermo.nunez@gnp.com.mx
da61b563cf512ba2c1ce1858d3cfd0c17efe86de
0ebdbcdd072a67c8115082c97d7b838f640b885b
/bot_teleg_control.py
4ff20bdcdd18100f5a4f9243e3d9ecdedc8d71f0
[]
no_license
Dini4ka/insta_post_bot
75e68fc924b723fd3336c1bf4e29a91422f962d9
365f8e0177cc647d069780666595d8880a7634a3
refs/heads/main
2023-02-18T01:49:23.164824
2021-01-14T17:34:34
2021-01-14T17:34:34
329,082,816
0
0
null
null
null
null
UTF-8
Python
false
false
4,406
py
import time import sys, traceback import datetime from aiogram import Bot, Dispatcher, types from aiogram.contrib.fsm_storage.memory import MemoryStorage from insta_post_bot import instabot, BOT from mouse_coordinates import getting_coordinates from connect_to_google_disk import check_new_files from aiogram.uti...
[ "noreply@github.com" ]
noreply@github.com
b2e6140c9bee43937e6705d6ea974a889996e645
f21a9bca554a6242527f502dca0ef8af095b6a37
/views/viewComment.py
daa23cb62db32fa935f0dc3ce875c4eccb0212bc
[]
no_license
guredora403/TCV
1fc5aae473bece1437d15413d34b5d091425e4ad
5221f61a0df44f840e02075f35ec0818f5163076
refs/heads/master
2022-12-06T20:47:55.653790
2020-05-30T08:38:09
2020-05-30T08:38:09
268,027,039
0
0
null
2020-05-30T07:00:52
2020-05-30T07:00:51
null
UTF-8
Python
false
false
1,221
py
# -*- coding: utf-8 -*- # コメントの詳細 import wx import globalVars import views.ViewCreator from logging import getLogger from views.baseDialog import * class Dialog(BaseDialog): def __init__(self, comment): super().__init__() self.comment = { _("コメント本文"): comment["message"], _("名前"): comment["from_user"]["nam...
[ "kashiwamochi@mbr.nifty.com" ]
kashiwamochi@mbr.nifty.com
19586668a678070771164a878b7d68f616fc2bd4
fd37c0ec422317234a8fbf544154c1224b4199d5
/pop_model.py
a2a61b6fb382798ab32a9797e4aa78611ca3b453
[]
no_license
benjirewis/tweetvec
7080ab2a38ae4cb921ec2af92d9a1a9ebc8d0d13
335fb990c5f44c4028924ef1b98d3c7b3ac64573
refs/heads/master
2022-04-28T21:29:41.850339
2020-04-30T04:14:55
2020-04-30T04:14:55
260,111,574
1
0
null
null
null
null
UTF-8
Python
false
false
4,451
py
# import twitter API and JSON processor import twitter import json # gensim imports. from gensim.test.utils import common_texts from gensim.models.doc2vec import Doc2Vec, TaggedDocument from sklearn import utils import csv import multiprocessing import nltk from nltk.corpus import stopwords from __future__ import pri...
[ "ben.rewis98@gmail.com" ]
ben.rewis98@gmail.com
cb3298d58096d95d57b1a990d94dab654f8eb045
bbe8a3f6b02aaa0bf8944e97930344eee6406195
/strings/ans5.py
06ec5ffbaeeccd38c9fb2b92f81f790e816e75ac
[]
no_license
Harshit090/Python-Problems
f0ec363fb98b40b755ac9afd278e98d7c7594c7d
c49087db259c3b7f52bf32f664cc3397796afcf5
refs/heads/master
2020-05-31T10:13:16.146073
2019-07-07T15:11:32
2019-07-07T15:11:32
190,234,919
0
1
null
2019-10-28T07:20:56
2019-06-04T15:54:28
Python
UTF-8
Python
false
false
367
py
l = [] ; n = [] x = int(input("Enter no of words to be added to list")) for i in range(x): a = input("Enter a string\n") l.append(a) for i in range(x): n.append(len(l[i])) b = len(l[0]) for i in range(x): if b < len(l[i]): b = len(l[i]) else: continue print(b,"is t...
[ "noreply@github.com" ]
noreply@github.com
1f98db6d5dd9b2e6e10f8e0eb56e911ea4716dde
2f87108c884d8d1fb4636694e243846fbf1f813b
/natjecanje.py
5ade0308d44dcb20bf433dffb2d2a9b171f79d5f
[]
no_license
IngridFeng/competitive-programming
8f1fa5e270b00967da86868fca7e28661c477205
7aec03dec4bb5c9ddb377d5e4de86fe6b57ec017
refs/heads/master
2020-04-19T19:10:53.851125
2019-04-21T21:40:00
2019-04-21T21:40:00
168,381,769
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
#! /usr/bin/python3 import sys lines = sys.stdin.readlines() dam = [int(i) for i in lines[1].split()] #store the number of damaged kayak into list res = [int(i) for i in lines[2].split()] #store the team number with reserved kayak into list count = 0 for d in dam: if res: for r in res: if abs(d...
[ "yigefeng@YigedeMacBook-Pro.local" ]
yigefeng@YigedeMacBook-Pro.local
19bf93fb7f263d11e77e96002fe5f58d107ffb35
382e308f433dd3b2c2601568f480be30a704e7d7
/Django 실습/sample_community/board/views.py
94525375f9d3f0d7adf021b9bb0a2d913286ea95
[]
no_license
5d5ng/LACUC-capstone1
29240f4109d397ceab3ad7bb771cbcdf69cb944c
01b0a1136dab592b778ac99c346c318d3c6ed30f
refs/heads/master
2022-12-03T15:57:55.804687
2019-11-18T09:44:04
2019-11-18T09:44:04
211,851,523
0
1
null
2022-11-17T07:05:21
2019-09-30T12:11:32
Python
UTF-8
Python
false
false
453
py
from django.shortcuts import render from .models import Board from .forms import BoardForm # Create your views here. def board_write(request): form = BoardForm() return render(request, 'board_write.html', {'form': form}) def board_list(request): boards = Board.objects.all().order_by('-id') # 시간 역순으로 모...
[ "deo1915@gmail.com" ]
deo1915@gmail.com
e09e54f9c04b097283001ad2a80995c20b218b1f
239ff863fade39e426112da979149214bb0d5630
/reid/reid-matching/tools/cluster.py
9f42be18278d0270a46b678a0a16c065366bfd15
[ "MIT" ]
permissive
regob/AIC21-MTMC
b99f6cbd11152241f5082ff61bca80715d0bbb0f
19c2cd6bfb6549c58ec1b7b54f6b7138efde6823
refs/heads/main
2023-08-22T21:34:04.592660
2021-10-06T14:08:56
2021-10-06T14:08:56
411,345,668
0
0
MIT
2021-09-28T15:49:24
2021-09-28T15:49:24
null
UTF-8
Python
false
false
3,477
py
from utils.filter import * from utils.visual_rr import visual_rerank from sklearn.cluster import AgglomerativeClustering,DBSCAN import sys sys.path.append('../../../') from config import cfg def get_sim_matrix(_cfg, cid_tid_dict,cid_tids, save_name='sim_matrix.pkl'): count = len(cid_tids) print('count: ', cou...
[ "liuchong@ios.ac.cn" ]
liuchong@ios.ac.cn
32f5577f3a00944015b637101dc7c1f2a32ddea1
b6316ed86238d8bd04d5fdbde82fdee01c2797cd
/com/hjs/basic/07_exception/MyInputError_2.py
dfd49b89f896cdeda4d3901362a68e7ff83056f3
[]
no_license
haojunsheng/PythonLearning
ba90476edbf7ddbd4731f1be7a8e4d6d8f879afb
784a8ce99392b8fd154f769d4a75e66827af7103
refs/heads/main
2023-01-07T19:24:23.496508
2020-10-26T11:07:57
2020-10-26T11:07:57
306,554,866
1
0
null
null
null
null
UTF-8
Python
false
false
493
py
class MyInputError(Exception): """Exception raised when there're errors in input""" def __init__(self, value): # 自定义异常类型的初始化 self.value = value def __str__(self): # 自定义异常类型的 string 表达形式 return ("{} is invalid input".format(repr(self.value))) if __name__ == '__main__': try: ra...
[ "1324722673@qq.com" ]
1324722673@qq.com
5628e61cf22b3e0fdfbf7bf21d611443c3c12d42
27caa29053c9b6c7734c46f27ee3bc86d40bd9bd
/quspin/basis/basis_1d/_basis_1d_core/spf_ops.pyx
1103e5c8d84687b3ade78f6bbb169e17d402cf59
[]
no_license
wenya-r/ED
c121006418db6cff8c43aade957c3915865ecdb6
50f2c37465fdd6b4a0be5ce909a65edb94b9902b
refs/heads/master
2020-04-08T13:21:30.034824
2019-03-14T21:20:24
2019-03-14T21:20:24
159,097,043
0
0
null
null
null
null
UTF-8
Python
false
false
418
pyx
#!python #cython: boundscheck=False #cython: wraparound=False #cython: cdivision=True # distutils: language=c++ cimport numpy as _np from libc.math cimport sin,cos,sqrt from types cimport * import numpy as _np from scipy.misc import comb cdef extern from "glibc_fix.h": pass include "sources/spf_bitops.pyx"...
[ "wwrowe@gmail.com" ]
wwrowe@gmail.com
b4f1719e30ccc17f774bee4996315d146f9cb3f6
740ad4d8be97373e30aafc09ec53446d681f6c5e
/sillynames/sillyname.py
ad62e56fcd64fc80ef1f4cad15889ae58ba45456
[]
no_license
kevinleethompson/original-code
d14ac2c1fdb71ff811cc680d6ac1f7c68bdb1c8c
7e7965590f5a82f48722efe3a26954223311e325
refs/heads/master
2020-03-27T04:01:56.358991
2018-12-13T19:05:44
2018-12-13T19:05:44
145,906,853
0
0
null
null
null
null
UTF-8
Python
false
false
8,202
py
import sys import json import random import copy import re ''' This program mutates a normal personal name into a silly sounding version. (Ex: "Kevin Thompson" may become "Kifin Tompsan" or "Quevil Thankson") The program takes an input personal name given as space-delimited strings. It first runs check...
[ "kevleethompson@gmail.com" ]
kevleethompson@gmail.com
25f57e9fd9eb49bfaeaf1224e60379ea378f2e30
577646264fc5e58e9f18c9ee5959d91e3dbcf371
/mvhgd/core/draw.py
95f29330cceb2695d1c2e72030a722e9957cd11e
[]
no_license
sulyi/multivariate-hypergeometric
9346ae04921bf757301c63696172240c4be3501d
b4783944deb5be86a516d559eeeb248e76a6822d
refs/heads/master
2020-05-18T13:32:54.736144
2015-12-01T01:30:57
2015-12-01T01:30:57
25,878,112
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
class Draw(list): """ An event happened by drawing elements from an urn containing elements falling under different categories. The number of elements still remaining in each category is given by an iterable. """ __slots__ = [ 'gamma', 'P' ] def __init__( self, iterable=None, gamma=0, P=1.0 ):...
[ "sulyi.gbox@gmail.com" ]
sulyi.gbox@gmail.com
fb1dbea69368764bd3081e83799ba2e26db00e89
b5e06a1d0e1aae6909262bfaa810dc99c7c26c93
/Stack.py
3c4a8a795340379d9688357d7d6508c81d93cc31
[]
no_license
bhavin250495/Python-DataStructures
4586b7d9a85a0260c083840ca8b7522506faa86c
106b9a693f136b711db9f3e3dd36fa9adab52a30
refs/heads/master
2020-04-19T08:49:48.003197
2019-02-24T14:56:43
2019-02-24T14:56:43
168,090,590
1
0
null
null
null
null
UTF-8
Python
false
false
401
py
class Stack : stackDS = [] head = 0 def __init__(self,startStack): self.stackDS.append(startStack) def printTop(self): print(self.stackDS[self.head]) def push(self,data): self.stackDS.append(data) def pop(self): self.head +=1 return self.stackDS[se...
[ "bhavinathunt@gmail.com" ]
bhavinathunt@gmail.com
1e9643e29a62f65549643552a3099a030cff8794
3caa8df238cd36c4c0732bf6a8ddbdab9c91e166
/Room org 1/Camera calibrate/self Cam Calib.py
87032b3f6e00f4e46c870e29ceab1c31d64c6638
[]
no_license
chirag-j/Eklavya-2017
b0090d18dad5f00f89af73a162d222043823721b
12129d4e1e4cb2c35258c70f3fd7dcf52ff9c83b
refs/heads/main
2023-05-08T04:23:36.625216
2021-05-31T17:58:39
2021-05-31T17:58:39
372,587,192
0
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
import numpy as np import cv2 import glob import time def draw(img, corners, imgpts): corner = tuple(corners[0].ravel()) print corner img = cv2.line(img, corner, tuple(imgpts[0].ravel()), (255,0,0), 5) img = cv2.line(img, corner, tuple(imgpts[1].ravel()), (0,255,0), 5) img = cv2.line(img, c...
[ "noreply@github.com" ]
noreply@github.com
b3d544d541aef8199863a213dfa2f0677802d67e
3708b87a48fe4bfff8d64c7485a54643b9539248
/PyTest.py
964521646ef4be558a0af5ee3c05bed732c07cd5
[]
no_license
jassanw/LaserBallPythonGame
f3048b7473891b47f4cb8e9b7e396c2440659f16
0ccfeafe064788670dc3ef5323a46e5c3b405a9b
refs/heads/main
2023-07-19T22:59:40.378377
2021-08-24T20:15:04
2021-08-24T20:15:04
398,953,349
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
import random import os import time import pygame black = [0,0,0] pygame.init() WIDTH, HEIGHT = 750,750 WIN = pygame.display.set_mode((WIDTH,HEIGHT)) def main(): run = True FPS = 60 yspeed = 0 #random.choice([-1,1]) * 4 xspeed = 0 #random.choice([-1,1]) * 4 xposition = random.randrange(0,WIDTH) yposition = r...
[ "jassan@rfgsoftware.com" ]
jassan@rfgsoftware.com
ae8e11dbf700e8b547f3301a18102059e7cdabf8
54bb9ba6d507cd25b2c2ac553665bc5fc95280d1
/src/onegov/file/__init__.py
7cc5a6d0232f51b69f22604b6201246450e833ec
[ "MIT" ]
permissive
href/onegov-cloud
9ff736d968979380edba266b6eba0e9096438397
bb292e8e0fb60fd1cd4e11b0196fbeff1a66e079
refs/heads/master
2020-12-22T07:59:13.691431
2020-01-28T08:51:54
2020-01-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from onegov.file.collection import FileCollection, FileSetCollection from onegov.file.integration import DepotApp from onegov.file.models import ( File, FileSet, AssociatedFiles, SearchableFile ) __all__ = ( 'AssociatedFiles', 'DepotApp', 'File', 'FileCollection', 'FileSet', 'Fi...
[ "denis.krienbuehl@seantis.ch" ]
denis.krienbuehl@seantis.ch
24b577a58bcf921ba934bb85a3e142b93eba8b2f
00dfeccd2f1b934b945ff125b7a523e05107cc3c
/sorting algorithms/bubblesort.py
583ae965763e2b352043b2c59f6d175e88df2491
[]
no_license
anamikasen/ctci_solutions
2de379257b4800a700c1032421d38fd2028c53f0
7375f94b7c00baf9e084b70c7326878753902ddd
refs/heads/master
2020-03-29T04:26:11.165885
2018-10-09T15:41:14
2018-10-09T15:41:14
149,531,502
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
array = [3, 2, 1, 6, 4, 19, 32, 0] def bubbleSort(array): for i in range(0, len(array)-1): for j in range(0, len(array)-i-1): if array[j] > array[j+1]: array[j], array[j+1] = array[j+1], array[j] print(array) if __name__=="__main__": bubbleSort(array)
[ "anamika13sen@gmail.com" ]
anamika13sen@gmail.com
9a56acf7d78a0d4e44de05e9ee623aa1ac9fdc6d
113148549e08f9bf71de933dff64e9c320c26a57
/counterapp/migrations/0001_initial.py
1c0f8f4f7f6b651d831f4e30a81d8caf6888231e
[]
no_license
omeshkumarfso/Django-PizzaApp
d949e76e7644668ea8d7f31f13c5cf244869d967
f176f9780a306b989bb88499ab2fe470fa871e3a
refs/heads/master
2023-01-20T15:51:44.591920
2020-12-03T08:26:25
2020-12-03T08:26:25
318,124,556
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# Generated by Django 3.0.8 on 2020-09-04 06:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CounterModel', fields=[ ('id', models.AutoF...
[ "omeshkumarfso@gmail.com" ]
omeshkumarfso@gmail.com
73fb3d9250f02d8fe9facad696350a28915550dd
d7a34338f51310f7803f5829ba073fff28a07d91
/All Chat Load Testing - WebSockets_Polling_MTQQ/load-master/Sharing/mergeCsvResults.py
8a938cc9ab1bab640760c2319481721f52eb1dcf
[]
no_license
Sreejithkurup4/Performance-Testing
47939f6d0a54e75086537068f5804eba807777dd
1664a87c45d73bb0e966b64b779c971d93069af5
refs/heads/main
2023-05-15T21:44:18.244090
2021-06-14T08:53:50
2021-06-14T08:53:50
376,721,892
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
from glob import glob with open("finalFile", "a") as singleFile: has_header = False for csvFile in glob("*.jtl"): i = 1 for line in open(csvFile, "r"): if i > 1: singleFile.write(line) elif not has_header: singleFile.write(line) ...
[ "Sreejithkurup5@gmail.com" ]
Sreejithkurup5@gmail.com
1c315168a10b7435053d60aa5a58f84ecd7097c3
7bb0f97632e6ef24b6b2fc9bb3166480abb51aaa
/boutique_ado/settings.py
e9cb110b4baa4c50fde9e3272f5d18c49afa9ffc
[]
no_license
adowlin/boutique-ado-v1
648c754ad1fcbdae29724efe5560ba847f574f9d
0ec5d3917fde176cdc6d25f67a0e935fbf000144
refs/heads/master
2023-06-26T22:19:19.917797
2021-07-26T20:43:45
2021-07-26T20:43:45
380,599,381
0
0
null
null
null
null
UTF-8
Python
false
false
6,592
py
""" Django settings for boutique_ado 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 pa...
[ "dowlingalison@gmail.com" ]
dowlingalison@gmail.com
95bc689f2debc6907b2ceb600e9071226766bbab
59b8ad854b6ee3be7fed72c16e413a44028d9814
/lambda/postReview.py
8655640a07a25f0a6ca862b02a7c4335dd0aa2b5
[]
no_license
Tejas-Ghanekar/restaurant-review
6107cba77358d5312c1df979d46de5e4920e1a03
3bd5da8d444cc79fcd076ba126c3b9570c5a2c11
refs/heads/master
2022-12-12T00:16:49.976030
2020-02-03T20:25:04
2020-02-03T20:25:04
228,703,789
0
0
null
2022-12-11T19:14:42
2019-12-17T21:22:14
TypeScript
UTF-8
Python
false
false
961
py
import pymysql import sys import os import logging import json logger = logging.getLogger() logger.setLevel(logging.INFO) REGION = 'us-east-1' host = os.environ['HOST'] user_name = os.environ['USER'] password = os.environ['PASSWORD'] db_name = os.environ['DB_NAME'] def lambda_handler(event, context): # TODO imp...
[ "tejas.ghanekar@slalom.com" ]
tejas.ghanekar@slalom.com
5494da1fde51e2b036cfae84db3b9f33a86c2556
931926968461bbe8fc6295d4f5b702c5de99c231
/paper/plot_cifar10_confusion_diff.py
f9a3028e134b9ca9deca51fdf7202d96223084c2
[]
no_license
annaproxy/modules
93315ce684bdda4fb7a34a518ac2154e506a6579
771e1fa49edd2f237883842f741ea1d8ce1fccdc
refs/heads/master
2022-12-27T22:27:39.408250
2020-10-06T10:30:22
2020-10-06T10:30:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,606
py
#!/usr/bin/env python3 import os import lib from lib import StatTracker import torch import shutil import matplotlib.pyplot as plt import numpy as np import itertools from mpl_toolkits.axes_grid1 import make_axes_locatable from lib.common import group BASE_DIR = "out/cifar10_confusion/" shutil.rmtree(BASE_DIR, ignore...
[ "xdever@gmail.com" ]
xdever@gmail.com