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
8a06868b655739e92f853e34bd8de4d8bf56462c
ad04d0321197886ed2ccbf38e715181ee1b9bf64
/tasks/201409_roadbed_centerline/time_test.py
0b0891e2149663ee0704a6985d73f745e940cc37
[]
no_license
nygeog/taxi
20a4b525b46538bfd26807d03c3066de2739d8ef
f5b6de8455a25300624b87746460cb49ad942161
refs/heads/master
2016-09-11T06:59:52.782254
2015-04-28T19:42:54
2015-04-28T19:42:54
22,586,515
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import arcpy, time, datetime, csv, sys, traceback from arcpy import env env.overwriteOutput = True import glob from datetime import datetime print str(datetime.now())
[ "daniel.martin.sheehan@gmailcom" ]
daniel.martin.sheehan@gmailcom
f38c1c3c095e858982af91a7da7943c0b9f6fb8a
91a35132e1aa7235615b5735899fa5522647369a
/visualization/assign.py
c1696f9fef42cc09c58d44f73f33a4b7a057a427
[]
no_license
bana513/TextSummarization
ceb7857d9d3eeebb061d2feab5a5efe03dcc2300
80a6da328095eb4381361b1afb52074b2bc60383
refs/heads/master
2020-12-31T10:20:06.845664
2020-05-23T22:25:05
2020-05-23T22:25:05
238,997,311
1
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
from langdetect import detect from transformers import BertTokenizer import pandas as pd def assign_lang(x): try: res = detect(x) except Exception as e: res = "unk" return res def contains_ekezet(x): if 'á' in x: return True elif 'é' in x: return True elif 'í' ...
[ "gbenceg@gmail.com" ]
gbenceg@gmail.com
9551d519b20dfcc4061ff956e357f5bdb2481c6d
7cd8ee14711eaf33cee0d9e06e78a974fc579242
/Linkedin/Linkedin/spiders/linkedin_distinct_12logincount.py
73e600bb84ee61402c91c2f94e2db905b9cf883c
[]
no_license
Chandler-Song/pi
c618117dfdd9a7496a57c69f029851e94787f591
aebc6d65b79ed43c66e7e1bf16d6d9f31b470372
refs/heads/master
2022-03-13T02:44:30.452673
2019-02-19T09:38:45
2019-02-19T09:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
from linkedin_voyager_functions import * class Companylidsurls(object): def __init__(self, *args, **kwargs): self.con, self.cur = get_mysql_connection(DB_HOST, 'FACEBOOK', '') #self.qu1 = 'select profile_sk , connections_profile_url from linkedin_connections where date(modified_at)>"2017-04-17" and date(modified_...
[ "aravind@headrun.com" ]
aravind@headrun.com
ef7dcf27560b561e80bb4f4a68f159d63bf00127
bbf1ae079309eca11270422d3f0d259d1515d430
/numerical-tours/python/nt_solutions/ml_3_classification/exo5.py
3c0f3f3cda5068fd794b1a41a27c032ac538f66e
[ "BSD-2-Clause" ]
permissive
ZichaoDi/Di_MATLABTool
5e6a67b613c4bcf4d904ddc47c2744b4bcea4885
c071291c63685c236f507b2cb893c0316ab6415c
refs/heads/master
2021-08-11T07:28:34.286526
2021-08-04T18:26:46
2021-08-04T18:26:46
149,222,333
9
5
null
null
null
null
UTF-8
Python
false
false
743
py
sigma_list = np.array( [.1, .5, 1, 4] ) niter = 4000 plt.clf for io in np.arange(0, np.size(sigma_list)): sigma = sigma_list[io] # grad descent K = kappa(X,X,sigma) tau = .5 if io==4: tau = .05 h = np.zeros((n,1)) for i in np.arange(0,niter): h = h - tau * nablaF(h,K,y) #...
[ "wendydi@compute001.mcs.anl.gov" ]
wendydi@compute001.mcs.anl.gov
12da0c9ef7c319623e61c8a07547828aeb19c71f
f9c2461c22ab458a8a6f2a4e2b0a81de3cf8a8eb
/Project/Code/target_generator.py
11b541f2117fd0bee0c60e198f85c823bf709ca3
[]
no_license
terrenceedmonds/BassGenerator
f368ac844e32dee6bd0c0ab0e9138f1930371d8d
4df3ebd6e440ea5d8db73df012dc0fd657de3daa
refs/heads/master
2021-06-06T03:14:55.996062
2016-08-16T21:39:25
2016-08-17T18:05:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
import pickle import numpy as np def X_y_split(split_number, matrix): '''SPLIT NUMBER = 32: This splits the bass line in 2 equal halves: The first 32 16ths determine the 33rd 16th note then moves down for a total of 32 X, y pairs per bass line.''' '''SPLIT NUMBER = 48: This splits the bass line in 3/4...
[ "claytonjamesporter@gmail.com" ]
claytonjamesporter@gmail.com
16599cd9a30d5c2433b18282333b8ef74be14640
e39a35e314e4dd4ecad543f8fbb5a704d9b4edec
/pipeline/data/hierarchical.py
90511c7c08089bfcdad9214dd2ac4cae4fcc2abd
[]
no_license
11mhg/OpenImageCompetition
f422e6e2034360ff6215546b47965327f2d16b5c
604c6fc206009b476208c02f4d1cad7b9a87057b
refs/heads/master
2020-03-24T18:45:08.519916
2018-11-10T00:55:22
2018-11-10T00:55:22
142,898,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,638
py
class Tree(object): def __init__(self,hierarchy_dict=None): self.hierarchy_dict = hierarchy_dict self.root_node = Node(name='root',level=0) self.parse_level(sub=self.hierarchy_dict,parent=self.root_node) def parse_level(self,sub=None,parent=None): if 'LabelName' in sub: ...
[ "mhg1@gra-login3.graham.sharcnet" ]
mhg1@gra-login3.graham.sharcnet
a95badfd54dbd2302101d0cf2b2569e911d8f07a
2cb037e15ffd1c97a1c85acfb95dc63cebe1e961
/MoEL/main.py
d4bb3c2e3a7e23c1b91e7572e013ea44cf54be11
[ "MIT" ]
permissive
Ravikiran2402/MoEL
4f399d6d1219782c79ae463f09f52558e3bbce6a
9fde3a8a3744521b822b46915515a22de3d4c053
refs/heads/master
2021-05-17T12:51:00.019321
2020-04-20T12:49:40
2020-04-20T12:49:40
250,785,533
0
0
null
null
null
null
UTF-8
Python
false
false
5,589
py
from utils.data_loader import prepare_data_seq from utils import config from model.transformer import Transformer from model.transformer_mulexpert import Transformer_experts from model.common_layer import evaluate, count_parameters, make_infinite import torch import torch.nn as nn import torch.nn.functional as F from t...
[ "ravikiranbudde@gmail.com" ]
ravikiranbudde@gmail.com
9a658ef90f5b3a387e050f4f3798f53757a8de54
fca4b400cc9c08b028ee427e5bb66fc1441d226d
/vatsava/Gautham/get_data_test.py
46b9ebb23cfe406baecf69d639c2bfbbf915c9ee
[]
no_license
vatsava-rac/RPibackup
29db15864f97d7f7e10fcdbbb1b893a8522982d8
db19ca031e99d7e797b384eab72d752489a1d3ac
refs/heads/master
2022-04-24T17:48:03.866461
2020-04-21T11:01:31
2020-04-21T11:01:31
257,565,788
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
import tkinter as tk # python 3 from tkinter import font as tkfont # python 3 from tkinter import * class BSS_App(Tk): def __init__(self): Tk.__init__(self) container = tk.Frame(self) self.app_data = {"UUID": StringVar(), "Connection_status": StringV...
[ "“vatsava.k@racenergy.in”" ]
“vatsava.k@racenergy.in”
a7e316b3e4294deab2c4be72af3994d2504b8d49
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_update_creative_response_wrapper.py
cca6a9dbe84cb7e4f9ee1164d8a578b819dd20ce
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
1,076
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.common.model.api_response_header import ApiResponseHeader from baiduads.creative.model.update_creative_response_wrapper_body import UpdateC...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
ebbc23d30dbea2dafb4b6a71b92a5ccb4c9bb341
d1c352676563b2decacfad19120001959b043f05
/superset/migrations/versions/a33a03f16c4a_add_extra_column_to_savedquery.py
07e0b05a1c0c6e035dd0a4931949130430b03579
[ "Apache-2.0", "CC-BY-4.0", "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
Affirm/incubator-superset
c9a09a10289b4ebf8a09284a483bca93725a4b51
421183d3f46c48215e88e9d7d285f2dc6c7ccfe6
refs/heads/master
2023-07-06T11:34:38.538178
2019-05-22T23:39:01
2019-05-22T23:39:01
128,005,001
1
3
Apache-2.0
2023-03-20T19:49:14
2018-04-04T04:02:42
JavaScript
UTF-8
Python
false
false
2,090
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" ]
Affirm.noreply@github.com
8eb8984f35bfb3da7d3dba72c285b6487d85fc09
5725113fd0e49a2ce139f61f933aee5321bb2ebe
/models/LanguageModels.py
d3c60d67467828a3c5ce73439654e36534eea0bc
[]
no_license
SaqibMamoon/VG-Bert
b3225088b5df9b5b689d6aa168943117d4b2c096
89a7a563096cf2729a1a8c8c75d8a36a822f56a1
refs/heads/main
2023-08-28T12:23:16.553825
2021-10-27T05:02:54
2021-10-27T05:02:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,834
py
import torch import torch.nn as nn from transformers import BertTokenizer, BertModel, BertForMaskedLM, BertConfig from collections import OrderedDict class Bert_base(nn.Module): def __init__(self, dropout_rate=0.3): super(Bert_base, self).__init__() config = BertConfig.from_pretrained('bert-base-un...
[ "yizhenzhang@Yizhens-MBP.attlocal.net.ucsf.edu" ]
yizhenzhang@Yizhens-MBP.attlocal.net.ucsf.edu
6a02b1b9b4039b5905a62c954a5fa994a2226388
d0397940ac1267c40db974e54ddf3181380370d7
/website_personal/urls.py
f42508d6a7c4accf845696fde4ac9dc67cae0b76
[]
no_license
ngvan98/WebPersonal
c632e4b7bd4de5d5915c05747ed953c46bbcab9d
06a8b039547c44c3faab210aa0c78ccb6a3e8f6e
refs/heads/master
2023-05-02T14:17:04.278066
2021-05-25T14:30:46
2021-05-25T14:30:46
370,722,210
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
"""website_personal 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...
[ "ngvan26031998@gmail.com" ]
ngvan26031998@gmail.com
54f9c26e1c1a8e2e8d1f6c35b715163db168de74
ac3227ef8da077bfb871f8e515bda92ac96385f9
/pressure17.py
3631628a3c32772c9b545461956a5c1f062cb4a9
[]
no_license
anlitsai/ngc2146-moment
07dac25a981b404a55e00b5a17f314861324efd0
6060239f1919bb7c316dfe93465d1f5fa240bd56
refs/heads/master
2022-05-20T18:05:26.343243
2020-04-12T21:15:30
2020-04-12T21:15:30
255,170,762
0
0
null
null
null
null
UTF-8
Python
false
false
10,365
py
#!/usr/bin/env python # NGC 2146 # --- import constant ------------------------- # import math #import pyfits # --- constant -------------------------------- # c=3.0e10 # light speed pc=3.26*c*365*86400 kpc=pc*1.0e3 ev=1.6e-12 G=6.67e-8 # gravitational constant k_B=1.38e-16 # boltzmann constant Msun=1.99e33 # solar ma...
[ "altsai.tw@gmail.com" ]
altsai.tw@gmail.com
47e266d665db77c973d48ba03cb937966bfcbd41
c733e6b433914a8faba256c7853f5cf2cd39c62a
/Python/Leetcode Daily Practice/unclassified/647. Palindromic Substrings.py
a75c67380d9fa7090153a83f1116d883ea245643
[]
no_license
YaqianQi/Algorithm-and-Data-Structure
3016bebcc1f1356b6e5f3c3e588f3d46c276a805
2e1751263f484709102f7f2caf18776a004c8230
refs/heads/master
2021-10-27T16:29:18.409235
2021-10-14T13:57:36
2021-10-14T13:57:36
178,946,803
1
0
null
null
null
null
UTF-8
Python
false
false
795
py
""" Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are counted as different substrings even they consist of same characters. Input: "abc" Output: 3 Explanation: Three palindromic strings: "a", "b", "c". """ class Soluti...
[ "alicia.qyq@gmail.com" ]
alicia.qyq@gmail.com
4c9202401909ac467c699ae421769fbf548167c7
32bbbaf51f8951352aa4d9dcc9e96268a0caeed8
/src/utilty/sql_connection.py
28db10f01247a2fa10c8a9a016a89518fc2c0f1d
[]
no_license
saurav01235/incubyte-task
0e1f8b0e97e34fe1ec960fd13bddb114a2b5bc5f
9b1f569ed7f67e149356a4d5c02d29fca3b59d77
refs/heads/main
2023-06-02T05:00:20.975028
2021-06-20T20:20:47
2021-06-20T20:20:47
378,730,792
0
0
null
2021-06-20T20:20:47
2021-06-20T20:06:12
null
UTF-8
Python
false
false
441
py
import mysql.connector class MySqlConnection: def __init__(self, host, user_name, password, db_name): self.mydb = mysql.connector.connect( host=host, user=user_name, password=password, database=db_name ) def get_connection(self): return ...
[ "sauravjain8sj@gmail.com" ]
sauravjain8sj@gmail.com
0f30fd048fe46f8f7d9d4744b2d53594f10f3705
03f2263a7872bd7b4bbc790f6bd40fe4bc40546d
/env_facial_recognition_v1/lib/python3.6/tempfile.py
7b4a93fdcd6666b0335f5e80ff46ad0127244b99
[]
no_license
tanlull/facial_recognition_v1
b17715d506b22f6807fecad5d423506f876efcf4
214684ea7df95a8d8b3b15e9873220335b7d8520
refs/heads/master
2020-07-19T19:11:09.640314
2019-09-21T16:16:08
2019-09-21T16:16:08
206,497,312
0
0
null
2019-09-05T07:03:24
2019-09-05T07:03:24
null
UTF-8
Python
false
false
50
py
/Users/Anthony/anaconda3/lib/python3.6/tempfile.py
[ "amornpan@gmail.com" ]
amornpan@gmail.com
1d629c3f80bdea998e1edcc704dadcb450ca56ed
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/nlp/BERT-ITPT-FiT_ID0340_for_PyTorch/baseline_main.py
c8f1c9fc7e3f924283508a3653a8b1f69083fc34
[ "BSD-3-Clause", "MIT", "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
8,638
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
59817d4f4915dfc4c470c6d51b0592362187ec0b
350d6b7246d6ef8161bdfccfb565b8671cc4d701
/Binary Tree Vertical Order Traversal.py
da22a1ddbb5aca8b4d6f3dbd14fa43d4a483c554
[]
no_license
YihaoGuo2018/leetcode_python_2
145d5fbe7711c51752b2ab47a057b37071d2fbf7
2065355198fd882ab90bac6041c1d92d1aff5c65
refs/heads/main
2023-02-14T14:25:58.457991
2021-01-14T15:57:10
2021-01-14T15:57:10
329,661,893
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): dic = {} def verticalOrder(self, root): self.help(root, 1) save = [] keys = sorted(self.dic.k...
[ "yihao_guo@gwmail.gwu.edu" ]
yihao_guo@gwmail.gwu.edu
52b02305f0de1254e5208c5e6fa83a19b37f8baa
4716a4b59d8ca385d93542b07130fd7e05262552
/import_tweets_v3.py
7ae8b15d976ed887341b2fe80234f255bf4784bb
[]
no_license
harshbarclays/Surveillance
0377b7fc15ef6a43d126b5f5a8c38624c60b1d76
e77c5168f9c9cc782f2ec9aa75e824601358bcc7
refs/heads/master
2021-05-16T04:27:07.853088
2019-08-21T00:49:02
2019-08-21T00:49:02
72,831,934
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
import tweepy import pandas as pd import datetime def get_tweets_currency(currency_string): # Fill the X's with the credentials obtained by # following the above mentioned procedure. # twitter API info has been deleted to maintain security consumer_key = "" consumer_secret = "" access_key = ""...
[ "harshshekhar@gmail.com" ]
harshshekhar@gmail.com
fdca816fbc46080860edd1a7f1e49542fc3742e8
10cdeddc3711e9bb375f9eebb905ffdf89098cf8
/wsgi_html_get_new.py
dfd9a6a3a3fc9369d619151988c34e2e4db7aff0
[]
no_license
zaeval/sw-project
4d89a0eb332f50dc0f7a709b58bf23b919ee7df5
31aa088b1cf41539da9ac23b053c28a05c1d42c0
refs/heads/master
2021-03-19T10:52:48.586537
2017-06-13T06:35:59
2017-06-13T06:35:59
91,997,537
1
1
null
null
null
null
UTF-8
Python
false
false
453
py
from wsgiref.simple_server import make_server def wsgi_application(environ, start_response): print("wsgi handler") response = "" for key,val in sorted(environ.items()): response += "%s : %s\n" % (key,val) print(response) start_response("200 OK",[('Content-Type','text/html; charset=utf-8')]...
[ "h3065@naver.com" ]
h3065@naver.com
478aba4708b468d17b216fbe2e5cd9462bb06649
7ce02f61e90efaa3811420bab40227c6d82ec7c4
/PDD/heartrate_monitor.py
54139090b034130e9d385a11e76d7a96914e8c65
[]
no_license
Leonlidawn/raspberrypi-flask-project
e00600310709dab2fe1354b62e4032bb186e5d76
4e17969a384cf3eb7899b2d39c94c40ec8c01185
refs/heads/main
2023-02-03T12:50:15.842881
2020-12-08T03:26:27
2020-12-08T03:26:27
309,027,034
0
0
null
null
null
null
UTF-8
Python
false
false
3,352
py
from max30102 import MAX30102 import hrcalc import threading import time import numpy as np import os import json import datetime class HeartRateMonitor(object): """ A class that encapsulates the max30102 device into a thread """ LOOP_TIME = 0.01 def __init__(self, print_raw=False, print_result=...
[ "leonlidawn@gmail.com" ]
leonlidawn@gmail.com
c3aa6f720efe8768439860b38a575f134ac2de29
03aa3f1577ed502b2a40a1b9481990b75a541e13
/web_project/hello/views.py
8f685c750777d175f0e3fb7471e9380daf5730fc
[]
no_license
nhj6858/my-first-blog
7963f305c7030cf988a8a2a7dc41d4b125a409ce
9f99f182e71f520b62e90531f85783ecdad4535b
refs/heads/master
2022-12-02T12:19:27.000947
2020-08-06T08:27:25
2020-08-06T08:27:25
283,923,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
import re from django.http import HttpResponse from datetime import datetime from django.shortcuts import render from django.shortcuts import redirect from hello.forms import LogMessageForm from hello.models import LogMessage from django.views.generic import ListView def home(request): return render(request,"hell...
[ "nhj6858@naver.com" ]
nhj6858@naver.com
b3f2770e845535eabd152fab071e294e8f4ec740
62494569ad62bae44c13499dc222ffa0301541cb
/SentimentAnalysis/Google_Trends/pytrends_extract_threaded.py
1b065bbd8ac51fec28487b70e2cb521957496a3e
[]
no_license
rendorHaevyn/Project_WinLife
b1f5c71a338b366cfe094e7aef296bc982e52a2f
ef409e7e56c57a17ccb69f2183ddca42cae0039a
refs/heads/master
2021-07-09T15:20:03.979369
2018-12-09T22:08:28
2018-12-09T22:08:28
132,147,130
0
4
null
null
null
null
UTF-8
Python
false
false
4,768
py
# -*- coding: utf-8 -*- """ Created on Fri May 04 21:41:47 2018 @author: rendorHaevyn URL: https://github.com/GeneralMills/pytrends """ ## TODO re-cut interest by 8 minute intervals into interest by 15 minute intervals ## IMPORTS from __future__ import print_function from pytrends.request import TrendReq import pa...
[ "34834285+rendorHaevyn@users.noreply.github.com" ]
34834285+rendorHaevyn@users.noreply.github.com
82a92a36985c8f9dee7533edec87f1a40f828d1f
c907efd159c655147c11619ef18106eea5abab6a
/user/migrations/0007_auto_20201025_2226.py
992a87e4b70fe5ef91a81776a22464f078c5dcb3
[]
no_license
Drstrange007/MessagePosting
860b065dfb3badbd51ebf2fa51235f6b79ec47d7
fc69f831929a1883b38899ccb139be163358ea0d
refs/heads/master
2023-01-04T12:37:21.432152
2020-10-27T10:07:43
2020-10-27T10:07:43
307,179,986
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# Generated by Django 3.1.1 on 2020-10-25 16:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0006_auto_20201025_2224'), ] operations = [ migrations.AlterField( model_name='tweet', name='parent_tweet_id...
[ "sk007.khandelwal@gmail.com" ]
sk007.khandelwal@gmail.com
bb94b6c1e0c9f982738b056dbb616b77648347a3
dad01fede3f4802e98d5e6ef1d7a3d2c1c448257
/백준/[백준_10798] 세로읽기.py
acf14f2f104ba19607027f68b86b204b69d0a95a
[]
no_license
alyssa1996/CodingExercise
55ae8b1833552f1106a08005d651289d2dd5fd60
d31c3822a39ae8a301d48e1926fa787f556cff87
refs/heads/master
2021-10-17T04:11:22.155442
2021-10-08T13:45:08
2021-10-08T13:45:08
218,627,544
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
words = [] max_length = 0 for _ in range(5): current_line = input() words.append(current_line) if max_length < len(current_line): max_length = len(current_line) answer = '' for j in range(max_length): for i in range(5): if len(words[i]) < j+1: continue answer += word...
[ "alyssapark96@gmail.com" ]
alyssapark96@gmail.com
4084a64ffe7d52b14cb8b756e1efe29d46730493
8784a3a9d4054d1aca752ec742902abb51a9de80
/python_stack/python_OOP/arithmetic_module/main.py
785338b9b6b6a9481506f9e74ad051b34a087637
[]
no_license
MichaelKirkaldyV/mean-deploy-2
25eaf7cc430ac095f5327c04be84b9212314c7f2
f30b8ea14ccbaecfe62929948f2a84191d316c22
refs/heads/master
2023-01-13T07:20:28.984728
2019-05-23T16:42:15
2019-05-23T16:42:15
151,123,880
0
0
null
2022-12-30T09:47:11
2018-10-01T16:54:09
TypeScript
UTF-8
Python
false
false
313
py
#imports arithmetic module within the same folder. #Then uses the module as a variable and calls its functions using the .method #Adds parameters. #prints out the solutions that each function returns. import arithmetic print arithmetic.add(5, 8) print arithmetic.subtract(10, 5) print arithmetic.multiply(12, 6)
[ "vmichaelkirkaldy@live.com" ]
vmichaelkirkaldy@live.com
be89c6f36127b2d02e42f9e96b78a4fe1bc54e8c
3fcb8097c72ba32e1468016c477e63dfa9a2fa74
/Point.py
4c51d32ab03f16b9342cb4952bf5199f57d47616
[]
no_license
prizraksarvar/ml_test
7504b5631839afeb56ac9234b9b6f7546694c537
57da0fc7483cfc1d42f60f33bbc2d60abd893e20
refs/heads/master
2023-04-29T19:42:08.246725
2021-03-17T18:37:50
2021-03-17T18:37:50
347,922,611
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
class Point(object): """Точка""" def __init__(self, y_in=0, x_in=0, color_in=0.5): self.color = color_in # Цвет точки self.y = y_in self.x = x_in # Функция Установки точки в произвольных координатах def set_point_position(self, y_in, x_in): self.y = y_in self.x...
[ "sarkhas@test" ]
sarkhas@test
1f7b48c5171e997960e77712eaa1a5cbe00f751f
cafe1b855b9e027d42ab6db4826ee6d100c39e83
/src/classes/Fetcher.py
fc7746d74c133124629298a84109cbeb6accfbec
[ "MIT" ]
permissive
nit1994oct/Screeni-py
206977eb89e32f8ae6c983dcc111cdafda809ad4
2606667a6295136b2f5c3668df2a764fb13f93c3
refs/heads/main
2023-04-17T05:23:47.675293
2021-05-05T09:10:49
2021-05-05T09:10:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,876
py
''' * Project : Screenipy * Author : Pranjal Joshi * Created : 28/04/2021 * Description : Class for handling networking for fetching stock codes and data ''' import sys import urllib import requests import random import yfinance as yf import pandas as pd imp...
[ "noreply@github.com" ]
nit1994oct.noreply@github.com
c7984ce328339a910916d87e8b897f8b81df8ac6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s866773123.py
485fb9b9a423580f938055c9b85b90aa424797da
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
AB = input().split() A = int(AB[0]) B = AB[1].split('.') B = int(B[0]) * 100 + int(B[1]) print(A * B // 100)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3f7b44bbb4eec93fdac8dcc96a87aaa350bf30b9
fe62351e9d71d1147b56d4bab13498551e876074
/Smartphone/controller_smartphone.py
6d833a1ec5ca403517e5e2da8e115530bc8311a6
[]
no_license
denisousa/BabyMonitor-RabbitMQ
245f80d4e5570302e76f0ae7a373593207cff605
1e4be1131fd55e43025fa8c58cfa030098f43902
refs/heads/master
2021-02-05T08:38:46.785808
2020-06-11T23:54:09
2020-06-11T23:54:09
243,760,598
2
1
null
2020-05-15T19:07:09
2020-02-28T12:45:34
Python
UTF-8
Python
false
false
1,642
py
from .conection_smartphone import SmartphoneConnection class SmartphoneController(): def __init__(self): database = SmartphoneConnection() def run(self): if self.button_is_pressed: print(" [*] Smartphone waiting for messages. To exit press CTRL+C") def callback_smartp...
[ "adrilene.fonseca@aluno.uece.br" ]
adrilene.fonseca@aluno.uece.br
4c76ba6e16aa935db62df6e2583816694dcdcf7c
f156583c45d7507be1133655961840c2bec8493a
/Lab2/task2.py
73262b59459cb0919cc3c598ee6e55c526b9086f
[]
no_license
Abilash7/BigDataProgramming
749464ad705501fb3873406a65ada3260ffd1986
f3066a06463816dd541bc5bbdccb69606eb296f8
refs/heads/master
2020-05-31T04:30:46.154127
2019-07-23T21:09:36
2019-07-23T21:09:36
190,099,774
0
0
null
null
null
null
UTF-8
Python
false
false
3,415
py
import os from pyspark import * from pyspark.sql import SQLContext,Row from pyspark.sql.types import * from pyspark.sql.types import StructType,StructField,LongType,StringType,TimestampType,DateType os.environ["SPARK_HOME"] = '/home/apandit7' sc = SparkContext(appName="dataframe") sq=SQLContext(sc) #matchesdf =sq.read....
[ "noreply@github.com" ]
Abilash7.noreply@github.com
c081c11e09a0c8926549feb6429c50cbf08a8126
cf7f38d1c34ca088ebcc12bdcd25c7f0f0b538de
/homework2/14301134/MyWSGI/Application.py
40209bed1e9baf400e43390415e229a4bf3501d5
[]
no_license
JeromeWGQ/JavaEEHomework
f9263369439793398afc56a9b4ba7e9cef241972
23d35dc5ba1b59da4bcc9397f891a91128afe6c1
refs/heads/master
2020-04-10T21:00:51.138919
2017-01-05T14:06:16
2017-01-05T14:06:16
68,166,757
0
1
null
null
null
null
UTF-8
Python
false
false
313
py
def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/html')]) if environ['PATH_INFO'][1:]: body = '<h1>Received text: %s</h1>' % environ['PATH_INFO'][1:] else: body = '<h1>This is the default static page.</h1>' return [body.encode('utf-8')]
[ "wfdwgq2014@outlook.com" ]
wfdwgq2014@outlook.com
0780bc486c4355eaef2a4df385fc503799cbf3eb
79e19819aec49b500825f82a7de149eb6a0ba81d
/leetcode/1018.py
632dc46703f709c5e2bf6b31ac1d966e91cbfa8c
[]
no_license
seoyeonhwng/algorithm
635e5dc4a2e9e1c50dc0c75d9a2a334110bb8e26
90406ee75de69996e666ea505ff5d9045c2ad941
refs/heads/master
2023-05-03T16:51:48.454619
2021-05-26T00:54:40
2021-05-26T00:54:40
297,548,218
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
class Solution: def prefixesDivBy5(self, A: List[int]) -> List[bool]: answer = [False] * len(A) answer[0], prev = (A[0] == 0), A[0] for i in range(1, len(A)): answer[i] = ((prev * 2 + A[i]) % 5 == 0) prev = prev * 2 + A[i] return answer """ ...
[ "seoyeon@nowbusking.com" ]
seoyeon@nowbusking.com
df764e47c2d329a93fb18dde5d51c979d42f66a9
c17de119c15572dd857ff7eda8bd107fb2d759f7
/practice/Nastya/Nastya_4hw/four/art/art/art/urls.py
ab23f525aaf40ec8b887e8e3cbc9a09a7b6600a0
[]
no_license
zdimon/course-3
356e5b45c7d13cd2ff1c7bd631a341ec6cb7687a
64a6db6ab832b106d957203fd6c85117fcf6e273
refs/heads/master
2020-04-06T11:14:18.943711
2019-01-19T08:51:13
2019-01-19T08:51:13
157,409,064
0
4
null
null
null
null
UTF-8
Python
false
false
982
py
"""art URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based ...
[ "admitrenko89@gmail.com" ]
admitrenko89@gmail.com
83d88a5ed0bdcad629a6e3815dd75d21cc5a72e0
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/networks/pytorch/customs/modnas/arch_space/construct/torch/model_init.py
63a2eea20c488ff5f7c5cdf7026be84854afb40b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
5,623
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
c7522273e2e8d856f65fdc707ee671c9669ecaa6
063a39b246989a3cebb73ae67b5ce6c718aa44af
/tests/test_cases/add_interaction.py
8c70911bdea248c68894afa6461df6ad8c0eb10c
[]
no_license
tspecht/python-api-client
f41a0213d523aeb00b0815a5357a86cc7ed621e3
c0442e9ad62bf6d0d8a6ae0aa852321f12e2a07a
refs/heads/master
2021-07-19T23:13:35.461910
2017-10-26T07:31:37
2017-10-26T07:31:37
108,376,966
0
0
null
2017-10-26T07:31:13
2017-10-26T07:31:12
null
UTF-8
Python
false
false
2,106
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This file is auto-generated, do not edit # from tests.test_cases.recombee_test import RecombeeTest, InteractionsTest from recombee_api_client.exceptions import ResponseException from recombee_api_client.api_requests import * class AddInteractionTest (RecombeeTest ): ...
[ "o.fiedler@email.cz" ]
o.fiedler@email.cz
f3fee1bb1a62840950a2e1cd12f1fed5e15ecedd
f2912a48b33e634fa2d1d983fb4d4a06c2ebc6fa
/req_jd_clildwatch.py
fc2681f03dc9a412f1f3d91e98409af974b8970d
[]
no_license
wwsr06/Requests-Study
6eb6ef14a01f05bffd8655821cd0120c698ba33a
3de604e1cdb3cf2de89606e18fc3298db4d28529
refs/heads/master
2021-05-20T15:11:42.143274
2020-04-03T07:17:07
2020-04-03T07:17:07
252,344,571
0
0
null
null
null
null
UTF-8
Python
false
false
6,022
py
#writen by WSJ #coding=utf-8 import sys import requests import json import re import time from bs4 import BeautifulSoup reload(sys) sys.setdefaultencoding('utf8') def crow_page1_firsthalf(): url='https://search.jd.com/Search?keyword=%E5%84%BF%E7%AB%A5%E6%89%8B%E8%A1%A8&enc=utf-8&pvid=255e823a6d0a475a971486d8cc...
[ "noreply@github.com" ]
wwsr06.noreply@github.com
33895a3141abd63586e6a69b3fa2532c28faf4de
eda9ab41ad5e02076df4c26d886bf6bbe944f888
/web_flask/8-cities_by_states.py
e14df9502765c4a1b4457deb1f6f2be2cfeee3dc
[]
no_license
dondropo/AirBnB_clone_v2
6a8790abda87aa2a393f194005703be981f1bbd3
d64097efddd06e660739124496a1ff1b0afa6ac2
refs/heads/master
2022-12-13T07:32:31.354201
2020-09-03T02:07:26
2020-09-03T02:07:26
287,393,695
0
1
null
null
null
null
UTF-8
Python
false
false
1,970
py
#!/usr/bin/python3 """starts a Flask web application""" from flask import Flask, render_template from models import storage from models.state import State app = Flask(__name__) @app.route('/', strict_slashes=False) def hbnb_greetings(): """ Hello HBNB """ return "Hello HBNB!" @app.route('/hbnb', strict_sla...
[ "alejandroruscamoreno@gmail.com" ]
alejandroruscamoreno@gmail.com
95ed3d25daa6622c36d744536708a097a674cfd6
790b35cf27579bc8fde7e71077a83feab8d29471
/steamworks/interfaces/microtxn.py
f9b62cd2a3b2d3efdb55f2e06f179b5eb12670bd
[ "MIT" ]
permissive
philippj/SteamworksPy
f094742966054ce2106dc03876fff074319abbfb
9496d308cff71a1bed9e21940245424a244432ca
refs/heads/master
2023-05-31T12:58:41.135249
2023-02-25T21:05:06
2023-02-25T21:05:06
39,316,769
123
25
MIT
2023-05-25T14:25:49
2015-07-19T00:11:28
Python
UTF-8
Python
false
false
958
py
from ctypes import * from enum import Enum import steamworks.util as util from steamworks.enums import * from steamworks.structs import * from steamworks.exceptions import * class SteamMicroTxn(object): _MicroTxnAuthorizationResponse_t = CFUNCTYPE(None, MicroTxnAuthorizationResponse_t) _MicroTxnAuthori...
[ "philipp98.joos@gmail.com" ]
philipp98.joos@gmail.com
b284f9b10b8c572c65a64f1f9b88cde920a8b781
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2021/01january/24specify_data.py
6381a461e0645467957c5e23c467055af3ce9fb7
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
466
py
#!/usr/bin/python ''' # @ Author: june-fu # @ Create Time: 2021-02-22 23:59:17 # @ Modified by: june-fu # @ Modified time: 2021-02-22 23:59:19 # @ Description:arguments parse_dates ''' import pandas as pd from io import StringIO data =('date,A,B,C\n' '20090101,a,1,2\n' '20090102,b,3,4\n' '20090103,c,4,5') # ar...
[ "fujun1990@gmail.com" ]
fujun1990@gmail.com
b10babdea49ce37fcf0d72cf4b365b842918a6e1
14845cd391da36d4c7fdc2c4d85ec63abf043a0b
/venv/bin/django-admin
fc01ca872a4c497ab028183b0e7c8c43f2c88100
[]
no_license
cavalryjim/mysite
6946adb56d2973c555f68b58decb8bd7e4c18ca6
0ebd910eb61969ec9c8708be84a44fa2127b0312
refs/heads/master
2020-03-11T08:44:01.971220
2018-05-01T23:21:31
2018-05-01T23:21:31
129,891,161
0
0
null
null
null
null
UTF-8
Python
false
false
298
#!/Users/james/Projects/mysite/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "james.davisphd@gmail.com" ]
james.davisphd@gmail.com
b22a6ad2ebb62fc0c9123a855db2ce24a05b50b7
a66a7b3a048ecdce24fb43dde19db29ee341f756
/checkout/migrations/0004_auto_20210310_0940.py
494fe265cff71d30b18caf5bd4fdbac0eeda6041
[]
no_license
patricksingleton86/boutique_ado_v1
2b3e2ecd7577fb187525c6fa0d895145fbc08152
ac9e991ff2c64a98ce0b8f7f506a10837956dafb
refs/heads/master
2023-03-17T01:34:40.658991
2021-03-16T14:02:47
2021-03-16T14:02:47
340,324,816
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.1.7 on 2021-03-10 09:40 from django.db import migrations import django_countries.fields class Migration(migrations.Migration): dependencies = [ ('checkout', '0003_auto_20210309_1552'), ] operations = [ migrations.AlterField( model_name='order', ...
[ "patricksingleton95@gmail.com" ]
patricksingleton95@gmail.com
a8cb759a47d6d63e2d69156574096e7ced94e9bc
59911f060202e0329a305a4ffb8329fef46079df
/src/mappers/person_mapper.py
8ad047e7733204b1679d325a9b52d8a988ee4a1a
[ "MIT" ]
permissive
GDGPetropolis/backend-event-checkin
1e3280b55ae2838c1cd00f3560ee1cc8a79ca3e7
694089ad19ee6ce8173b8fb3e38fcc1741eb4723
refs/heads/master
2020-04-24T12:29:41.837473
2019-03-28T16:34:09
2019-03-28T16:34:09
171,957,051
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
from src.repositories.entities.person import Person as DataPerson from src.domain.entities.person import Person as DomainPerson from src.application.models.person_model import PersonModel class PersonMapper(object): @classmethod def model_to_domain(cls, model: PersonModel): if model: retu...
[ "johnathanfercher22@gmail.com" ]
johnathanfercher22@gmail.com
bf6b20299d2e28a5fcec21f2b34363fe2579f3a1
643d519b690028bee74be5c9deaa16d2ae23ece8
/API_s/services/estoque_service.py
89983d21b8b10c9a34b917c8dcc31598bd5f6861
[]
no_license
vinicius-machado00/OPE_Gabicelll
b585b5c94b6c49a8a53393c4b0bc5055a47db141
70a37b4c2ebb627cec1121e0847f841a57355321
refs/heads/master
2022-04-01T21:07:42.893725
2019-09-16T22:27:28
2019-09-16T22:27:28
208,908,510
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
# from Model.estoque import Estoque from infra.estoque_dao import listar as listar_dao, novo as novo_dao,\ deletar as deletar_dao, atualizar as atualizar_dao,\ listarEstoque as listarEstoque_dao, buscarUser as buscarUser_dao, buscarProduto as buscarProduto_dao # Métodos da API def listarEstoque(): ...
[ "noreply@github.com" ]
vinicius-machado00.noreply@github.com
fcc5ddc73b281b313b617e5c843aecd709f936d2
ec20f1b1b85fae194d2704ca048fd5f845a427e0
/August LeetCoding Challenge/Week 1/Detect Capital.py
e89b4baed4e78fa09717a477f4f67d4822d01926
[]
no_license
Shivakumar98/LeetCode
3536a1fe97cba023cbb2585d916b4cb13e6d82db
2ad4f6eef36eeca8999c37aed61c4479e4ceb1c6
refs/heads/master
2022-12-14T07:12:43.187679
2020-09-06T06:39:12
2020-09-06T06:39:12
262,058,937
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of the following cases holds: All letters in this word are capitals, like "USA". All letters in this word are not capitals, like "leetcode". Only the first le...
[ "noreply@github.com" ]
Shivakumar98.noreply@github.com
6b41fa9282806ca80f38421921c2bf0ba0074b8a
67a92a91696b6d475aa2791a439fa8a109dfbf93
/Naive Bayes classification example/Naive Bayes classification example.py
9e22b2998671aae83ca81d3f00601b6161ad689a
[]
no_license
mcoric96/Natural-language-processing
92eafc3540653506678d12a28d7de2f3b66d18f0
c45dc585f17b8f868a72b1150f91e510e9f0bea6
refs/heads/master
2020-04-17T08:49:38.090606
2019-06-16T13:58:55
2019-06-16T13:58:55
166,428,627
1
0
null
null
null
null
UTF-8
Python
false
false
6,009
py
import re import math from test_v06 import * classes = ['AFRIKA','AUSTRALIJA','AZIJA','EUROPA','JUZNA_AMERIKA','SJEVERNA_AMERIKA']#croatian names for continents def read_file(filename): return open(filename, 'r', encoding='utf-8').read() #first we read file,create unigram model(dictionary) of that document,countr...
[ "38408538+mcoric96@users.noreply.github.com" ]
38408538+mcoric96@users.noreply.github.com
b778f0bcd27786a4be937fba9a023d8f4c35c68c
9923e30eb99716bfc179ba2bb789dcddc28f45e6
/openapi-generator/python/test/test_hos_logs_summary_response_drivers.py
5733eeb8fc3d9ded047880b3b5940e1ba43f6fd4
[]
no_license
silverspace/samsara-sdks
cefcd61458ed3c3753ac5e6bf767229dd8df9485
c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa
refs/heads/master
2020-04-25T13:16:59.137551
2019-03-01T05:49:05
2019-03-01T05:49:05
172,804,041
2
0
null
null
null
null
UTF-8
Python
false
false
6,564
py
# coding: utf-8 """ Samsara API # Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud AP...
[ "greg@samsara.com" ]
greg@samsara.com
90619c1f6a028e3a697b9c37d87410d71dce8baf
66f080fa42b270c048ee08c5853cb938d5db51f1
/정수 삼각형.py
9f57c0945eb87b89f1f5a7faa65348d14da9ee1d
[]
no_license
hunseok329/programmers
9a87883b69ef5fbab8867b3d5b077cec4abd221d
1788d27af6da62e2148f230998e0f5c58b5d1037
refs/heads/master
2023-09-01T20:02:41.670645
2023-08-31T13:41:22
2023-08-31T13:41:22
272,699,599
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
def solution(triangle): for i in range(len(triangle)-1, 0, -1): for j in range(len(triangle[i])-1): if triangle[i][j] > triangle[i][j+1]: triangle[i-1][j] += triangle[i][j] else: triangle[i-1][j] += triangle[i][j+1] return triangle[0][0] def solu...
[ "kha5064@gmail.com" ]
kha5064@gmail.com
8e4439a5213755463643b9a98d6b098eb3614207
92e26b93057723148ecb8ca88cd6ad755f2e70f1
/cov_exp/plain30_orth/plt.py
15145016643831e2908e2041dc913dd1c9a66851
[]
no_license
lyuyanyii/CIFAR
5906ad9fbe1377edf5b055098709528e06b5ace2
d798834942d6a9d4e3295cda77488083c1763962
refs/heads/master
2021-08-30T20:09:52.819883
2017-12-19T08:37:37
2017-12-19T08:37:37
112,701,370
1
0
null
null
null
null
UTF-8
Python
false
false
315
py
import matplotlib.pyplot as plt import pickle import numpy as np import scipy.signal as signal with open("hisloss.data", "rb") as f: his = pickle.load(f) his = np.array(his) hisloss = his[:,1] hisloss = signal.medfilt(hisloss, 9) #print(np.max(hisloss[10000:])) plt.plot(range(len(hisloss)), hisloss) plt.show()
[ "315603442@qq.com" ]
315603442@qq.com
64db72079dc2438f42dcc5f4e3ecafa46502073d
b306aab9dcea2dd83dda700bc9f7b9f1a32cff3a
/CAIL2020/ydljy/data.py
be956ba1641be5f4507b7e05e32f92376548b540
[ "Apache-2.0" ]
permissive
Tulpen/CAIL
d6ca9981c7ea2603ae61675ba330a9614cd9398d
c4cfa98ab4ecedbce34a7a5a186830486047540c
refs/heads/master
2023-04-23T20:07:56.774530
2021-04-16T13:18:36
2021-04-16T13:18:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,078
py
"""Data processor for SMP-CAIL2020-Argmine. Author: Tsinghuaboy (tsinghua9boy@sina.com) In data file, each line contains 1 sc sentence and 5 bc sentences. The data processor convert each line into 5 samples, each sample with 1 sc sentence and 1 bc sentence. Usage: 1. Tokenizer (used for RNN model): from data imp...
[ "bangtech@sina.com" ]
bangtech@sina.com
b8c7d45a7d9f06babb8a3b0f66e4053d7a8987c1
70dbf5fbb3c8597f4d3db9f2b4f76e3627124440
/Forex/wsgi.py
089ce26e8bcadee8a253354db99e400c4b0913ca
[]
no_license
JuanPabloArbelaez/forex
bcf6a746181645ced6c4f4545c16f57b09dc70ac
5d8eea46679cd08a3572abb46a18d84aa6f8b9b9
refs/heads/main
2023-01-12T00:08:05.652151
2020-11-01T18:18:45
2020-11-01T18:18:45
308,888,857
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for Forex project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "juanpablo-arbelaez@hotmail.com" ]
juanpablo-arbelaez@hotmail.com
c61b23d686afe38a56b1d534466a67d5e436bf6e
ef83d87e639830d6482daccb77baff7d68b2bf1c
/Learning Record/2.18 学习记录.py
428042f6bc01eb8d0b59389616891b7fde535794
[]
no_license
Hu-sky/Advance
bf28fc7ea0711bf2cf4a4437eb0c4008eadb34c2
185276d1e57705b4b93f1812aaa199d263798db1
refs/heads/master
2021-01-16T05:26:56.374265
2020-04-03T12:04:02
2020-04-03T12:04:02
242,990,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# _*_ coding:utf-8 _*_ # 1.切片list[0:3],索引0,1,2,不包括3 # 第一个索引是0,可省略:list[:3] # 支持倒数切片:list[-2:-1],不包括-1(倒数第一个元素) # 前10,每2取1:list[:10:2] # 所有数,每5取1:list[::5] # list[:]原样复制一个list # 2.tuple支持切片:(1,2,3,4,5)[:3] >>> (0,1,2) # 字符串支持切片:'ABCDEFG'[::2] >>> 'ACEG' # 3.迭代:使用for in遍历list\tuple\str等 # dict默认迭代key # 如...
[ "Mr.Husky@foxmail.com" ]
Mr.Husky@foxmail.com
7a331bbe5897c6a6da42a725c81f67a212dd0dd6
f33efeeabef0ab9533ffce0408545ba012da65fa
/setup.py
8df1560c6a7d9639ae05daf161af91107460ef2a
[ "MIT" ]
permissive
flowpl/env_config
092c52ef6967dae218a5b54f84fb90c58967a5db
0c02f4066c1f35f6e6a7416c5461e3820efa111d
refs/heads/master
2021-09-18T01:05:22.046887
2018-07-07T21:09:24
2018-07-07T21:09:49
108,753,619
3
0
null
null
null
null
UTF-8
Python
false
false
184
py
from setuptools import setup, find_packages packages = find_packages('.', exclude=['src.snapshots']) setup( packages=packages, pbr=True, setup_requires=['pbr>=3.1.1'], )
[ "florian.plattner@mylittlejob.de" ]
florian.plattner@mylittlejob.de
7f35f21521a54dd44ad6f3bc467623d65a8eb763
aaf569bb58f306bf52eceb1b696f0642b8d629dd
/stream-tweet.py
03ca7a2ce82bf7786b07da47c9ca28036ec1f7d4
[]
no_license
EhsanArabnezhad/social-media
e3b8a340a56e6b6b7a00c4243868e56f9797bdcf
fa890d2d2fc34f2c522344782a4379abd49de687
refs/heads/master
2023-01-09T09:11:30.937921
2020-11-07T14:13:40
2020-11-07T14:13:40
264,376,062
0
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
import sys import tweepy import csv import time import constants consumer_key = constants.API_KEY consumer_secret = constants.API_SECRET access_token = constants.ACCESS_TOKEN access_token_secret = constants.ACCESS_TOKEN_SECRET auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_to...
[ "ehsan5359_ar@yahoo.com" ]
ehsan5359_ar@yahoo.com
cf7d7dec598b4f5e7b24321b01625fcdeb2e45df
ab562c32209aa9e1f6572477bfbb75f2223e5c41
/cybervision-project/env.py
c0db2390a6c80b37b2af1544b78c3723adaf04aa
[]
no_license
Charlesmutua/CyberVision-Security
64ac255beab8ba3b685da3db6b37a4eec92086ad
d32cd01c45bad5ef06c9c72c6beec18714c52e51
refs/heads/main
2023-05-29T01:04:40.919690
2021-06-08T14:11:51
2021-06-08T14:11:51
375,032,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
""" Copyright (c) 2020 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with t...
[ "noreply@github.com" ]
Charlesmutua.noreply@github.com
9f0f1f26ad66edbbdcddf2850d6211604e0f7b04
a3aabd71ab289ffbe62e4559c47ff9ef74cc7f95
/app/decorators.py
0b06854a9fea369a25b9ef868925f496fc88dc47
[]
no_license
hhwithgroups/ieltspracticegroup
ac5dbed9f461fc0d6e30b32112912d6ca1094c20
d7dddd85dc1c236d7ff52f34130d362497f2012e
refs/heads/master
2021-01-12T08:38:33.545381
2016-12-16T09:31:00
2016-12-16T09:31:00
76,639,699
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
# -*- coding: utf-8 -*- from functools import wraps from flask import request, redirect, current_app, abort from .models import Permission from flask.ext.login import current_user def ssl_required(fn): @wraps(fn) def decorated_view(*args, **kwargs): if current_app.config.get("SSL"): ...
[ "hhwithgroups@gmail.com" ]
hhwithgroups@gmail.com
cc6fd9d2d1e1189cd0cf54388ff2f5212a84b77f
d7797ec584d722d5d15cb7355a63ecbdc5200123
/EducationSystem/course_system/apps.py
fa1a9fd70ac8a24a15454501040abc0d654bf4de
[]
no_license
Rositsazz/course_system
f9790890802450b82663b4b01640c3ccdf87d721
5f67336a2298452efbea4cd0f7d3bfd992fd1d34
refs/heads/master
2021-01-22T07:23:09.956371
2017-06-28T10:46:56
2017-06-28T10:46:56
81,813,140
0
0
null
2017-06-28T10:37:04
2017-02-13T10:31:03
Python
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class CourseSystemConfig(AppConfig): name = 'course_system'
[ "ross_zz@mail.bg" ]
ross_zz@mail.bg
3063710b0ac8aaa385538f205892710690f32773
252047784ec6126424a209b562219e75c48b4404
/virtual orchestration layer/src/vm_create2.py
ab744a4dfec7193fb7054cc921ad8ba1300458cf
[]
no_license
pankhuri31/Projects
0ad7fdb355be74657e6389486e66e01b79d2d4e7
2d1457ae7c28da0bad6f1b97b628aac35d1117e6
refs/heads/master
2016-09-06T10:25:39.327150
2013-10-07T13:04:21
2013-10-07T13:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,593
py
#!/usr/bin/python import libvirt import allocate1 import json from flask import jsonify from random import random import os import subprocess from uuid import uuid4 def create_xml(vm_name,instance_type,uuid,image_path,cpu,mem,emu_path,domain,arch): xml=r"<domain type='" + instance_type + r"'> \ <name>" + vm_...
[ "pankhuri@pankhuri.(none)" ]
pankhuri@pankhuri.(none)
d023eb89afce4942485850bf7147fde746c38bec
6fcbc311fabccd7fff15f308c74ae7982214a1d5
/Utils/LVX_Reader.py
afef231b32b32d73ec33f1d845b60bf6d3a0e94c
[]
no_license
shohame/Livox_Detection
f7113b7485f3158b049e0a89b2749526b03a0d21
24d893be8d5596929b1f6249c3cc84c58c86201a
refs/heads/main
2023-03-31T14:18:47.422927
2021-04-03T07:02:31
2021-04-03T07:02:31
340,581,796
4
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
from LVX_File_Struct import * class LVX_Reader: def __init__(self): self.public_header = LvxFilePublicHeader() self.private_header = LvxFilePrivateHeader() self.device_info_list = [] # of LvxDeviceInfo() self.frame_header = FrameHeader() self.base_pack_detail = BasePackDet...
[ "perry.shoham@gmail.com" ]
perry.shoham@gmail.com
301833774d1ed065f1c33f3976acc96e1735d9aa
ecde18c421d01b1fec6792d3733a42c28da0d933
/flask/venv2/bin/cors
72cf52f51d2ad36f3b55281c7139f7764de1abf0
[]
no_license
koufide/bbg_reports_production
d455e6fa18537656ddece9788b7146f806ca86f5
85db302d89533f08d4f0a2fb27a8599b3d21ae83
refs/heads/master
2023-05-06T20:07:20.185558
2021-05-10T10:35:48
2021-05-10T10:35:48
366,005,659
0
0
null
null
null
null
UTF-8
Python
false
false
258
#!/var/www/html/bbg-reports/flask/venv2/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from CORScanner.cors_scan import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "koufide@gmail.com" ]
koufide@gmail.com
03ed535cd8d7970bd8d2efdc797ed61e8b8f896d
4ba706744ab27ff97c2f02655f90c3242b350aa1
/python/Mukesh_solution.py
bd9006641b179e50544f63c84822d753d805296f
[]
no_license
PengInGitHub/Kaggle-Titanic
3d6cd6e66dd72e6425c9c4de5c903d1322243704
795d4a6b464a0c0e23ea89b420f3b9d18dca9e98
refs/heads/master
2020-03-26T20:34:46.680789
2018-08-26T13:56:48
2018-08-26T13:56:48
145,333,643
0
0
null
null
null
null
UTF-8
Python
false
false
7,359
py
#https://www.kaggle.com/chapagain/titanic-solution-a-beginner-s-guide #strategy from Mukesh Chapagain import pandas as pd import seaborn as sns import matplotlib.pyplot as plt import numpy as np from sklearn.ensemble import RandomForestClassifier from func import load_data #outline #1.EDA: Exploratory Data Analysis w...
[ "felixdeutschland@hotmail.com" ]
felixdeutschland@hotmail.com
b4d3d35e1e73ac91d6ca8d83320e36a7280c4a36
bb9b0a40c5577bb41f233e25987b4352acb11a4d
/Django/Time_Display_Assignment/apps/time_display/views.py
0b0f2125572bcc549cc9fa6e6e8ae7f501ff3ddb
[]
no_license
Farashi25/Python
6fc605045493f2cf69e7dd0230e0019153747254
4dc71ba290658feadc8e9a6f294dec0c999c509b
refs/heads/master
2021-08-16T01:23:44.923051
2017-11-18T18:53:58
2017-11-18T18:53:58
111,230,058
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render,HttpResponse, redirect from django.contrib import messages from time import localtime, strftime from django.utils.crypto import get_random_string def index(request): context = { "date": strftime("%b %d, %Y", lo...
[ "farashi25@gmail.com" ]
farashi25@gmail.com
4e28cb0efbe2d04866921745a06e6125dbe3563f
f80b6116d0c315446b7a802fe4de00d45bff1381
/plots/plot_task.py
86975db5e743f2917eb32caccb1bff24f5b1a415
[]
no_license
Wonder9988/GWO-1
cf484079189c863d86839853579cd7812278e6f8
bc4ef95a82dcc750a50583b2496a7b4aaf14c20b
refs/heads/main
2023-09-04T08:55:18.581174
2021-10-29T14:59:10
2021-10-29T14:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,592
py
# -*- coding: UTF-8 -*- import numpy as np import matplotlib.pyplot as plt LABEL = { 0 : "GREEDY", 1 : "DP", 4 : "GREEDY-N", 6 : "BAT", } def graf_recompensa(): dados_Greedy = [1.3, 2.3, 3.8] dados_GreedyN = [1.8, 3.5, 5.3] dados_DP = [1.2, 2.1, 3.6] dados_BAT = [2.2, 4.3, 10] erro_margem_Greedy = [0.3, ...
[ "noreply@github.com" ]
Wonder9988.noreply@github.com
177b7126af592da8cd5ef4635c538faa27d1c2e8
46d525625c406a2f18c1145a4fed046d86e23507
/scrapingName/scrapingDataMultiVersion.py
86192334332ac7a84f0466c2d8dd57124efa24f2
[]
no_license
anxu5829/iptv-gsvd
c0664cd96c7a73076dee9cd88d11efcdc0bef17b
7b25207b1e49141bfbef4f20752aedf9b05d3391
refs/heads/master
2021-05-09T18:59:51.890628
2018-01-27T16:00:25
2018-01-27T16:00:25
119,178,642
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
import pandas as pd import os import re import requests from bs4 import BeautifulSoup import time import numpy as np import gc from sltools import save_pickle,load_pickle import multiprocessing def scraping(data): typeList = dict() processName = multiprocessing.current_process().name counter = 0 for...
[ "anxu5829@gmail.com" ]
anxu5829@gmail.com
e86af748470270a3bd18fbbcd3dc8e992712cb17
8cf0cf9b71b7c5fbaa150e9893bf461ef661045e
/ownblock/ownblock/apps/accounts/views.py
77aad64c0c1af2bb8b440208af2f015e13b0a50a
[ "MIT" ]
permissive
danjac/ownblock
676b27a5aa0d4ce2ac2cd924a632489cd6fc21ee
ac662fb7efb2f04567e2f85638c1250286452611
refs/heads/master
2016-08-02T21:51:56.055598
2015-05-02T12:54:47
2015-05-02T12:54:47
34,940,828
3
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
from django.db.models import Q from rest_framework import status, viewsets, permissions from rest_framework.response import Response from rest_framework.views import APIView from ..storage.models import Item from ..parking.models import Vehicle from ..messaging.models import Message from ..notices.models import Notic...
[ "danjac354@gmail.com" ]
danjac354@gmail.com
11ab1959489a7411be404afb634f1d17f425117f
e7c3576783aad4472806e827032424a062a97fdb
/Science/Parse.py
a5a6a737ac8c2147523f198770285da5d49676ec
[]
no_license
huskyroboticsteam/2016-17
d428cc11022783f0b5c41c439a62341e874f4042
f11ecc1715fbe1c73e778ce65ae38f8d56e9edc5
refs/heads/master
2020-09-26T22:48:26.453894
2017-06-01T14:19:07
2017-06-01T14:19:07
65,952,771
10
10
null
2017-02-18T20:14:27
2016-08-18T00:53:19
Python
UTF-8
Python
false
false
3,032
py
import sys import struct import Error import Util from Packet import PacketType from threading import Thread IMG_REQ_CONST = 6370218008217978682469763330258393040577855L msgQueue = [] # [ LAST TIMESTAMP, CMD_VAL_ID1, CMD_VAL_ID2, ... ] aux_ctrl = [] sys_ctrl = [] """ *** WHEN PICTURE IS CAPTURED, THE RESPECTIVE ...
[ "jadenbottemiller@gmail.com" ]
jadenbottemiller@gmail.com
d64ca201d337cfc52a4d5353b2fc1d74ba476f7c
efbb1d6abdde55976b9f0fd55bcdeff609b19bc6
/positioningservice/tests/test_models.py
578a2e4f659a92cb34ededddc312988fab3a355c
[]
no_license
drager/toerh
1350e71d8831f14db083979e603500ff8ce0ee82
48826b70da4363197f7a9e8c6fefdcc708527a99
refs/heads/master
2021-01-02T22:38:34.972741
2015-08-01T12:31:47
2015-08-01T12:31:47
40,045,755
0
1
null
null
null
null
UTF-8
Python
false
false
1,016
py
from django.contrib.auth.models import User from django.test import TestCase from ..models import Position, Tag class PositionModelTest(TestCase): def test_string_representation(self): position = Position.objects.create( longitude=56, latitude=19 ) self.assertEqua...
[ "jesper@jesperh.se" ]
jesper@jesperh.se
6e793b2cc17c297f591a41cdd1a13abe0a306ba9
02a7f56baa550100780fcd01d5d030e8ecd1c42a
/utils/rest.py
9af6ef2458c501f5ad084c83a02d7a56cbca2ba0
[]
no_license
srecinto/coupon-code-redemption
de7891f3f3dd8ade5bbbad7422d52cc9c02ed4e1
19a12650efacdc942f5671fbb4c63263bca16fb3
refs/heads/master
2023-05-10T22:01:38.967442
2020-02-04T23:27:08
2020-02-04T23:27:08
153,345,545
0
0
null
2023-05-02T17:42:39
2018-10-16T19:52:29
Python
UTF-8
Python
false
false
9,324
py
import os import requests import base64 import json # from requests.packages.urllib3.exceptions import InsecurePlatformWarning # from requests.packages.urllib3.exceptions import SNIMissingWarning class OktaUtil: # TODO: This should be configuration driven REST_HOST = None REST_TOKEN = None OKTA_SESSI...
[ "shawn.recinto@gmail.com" ]
shawn.recinto@gmail.com
400bf02fc0019db268807c9e226d4c4c7710b285
80e1051f0f8255db7831a755fa00529eda4988ec
/py3_shebang.py
f88f953c73803f6f447f631c0fad60614f3dfb94
[]
no_license
ericpongpugdee/mycode
abda946576b84abb2e0fa4ee1d2452dabaa0fd9b
eb380fc103ecc15cc94df40a2500058d325a4f9a
refs/heads/master
2022-12-10T13:05:34.896207
2019-08-02T16:19:52
2019-08-02T16:19:52
199,458,269
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
#! /usr/bin/env python3 print("ello!") print("Did you say, hello?") print("No, I said ello, but that\'s close enough")
[ "ericpongpugdee@alta3.com" ]
ericpongpugdee@alta3.com
bfca6c0531a704417241810a33f46ee4c038afad
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/small-scale-multiobj/pod50_milp/throughput/runsimu11_throughput.py
89588a3c2132dc6081ea0222defc8c77da4d7d2d
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,440
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize throughput """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch4_decomposition import Arch4_decompose from arch1 import ModelSDM_arch1 fr...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
5206f5335349b508bf02a2020ac043a694043479
7537fde06047ef5d137c1d51e0642c73b2c6d561
/backend/user/serializers.py
6885913c24c3d24b95d2dfdb83036a838e52dc04
[]
no_license
fnavarro1612/pomodoro-tracker
ddb482ff7552fb7a6c8a88859ae4e63e7c1545cf
d926cad870ad516475a5b95a2cd6216d57bd1ea2
refs/heads/master
2021-06-25T11:30:14.880292
2020-05-18T03:48:06
2020-05-18T03:48:06
216,279,525
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
from django.contrib.auth import get_user_model, authenticate from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): class Meta: model = get_user_model() fields = ['id', 'email', 'name', 'password', 'is_superuser', 'is_staff'] class RegisterUs...
[ "main@panch.local" ]
main@panch.local
10775720c0d36b946ee7361a76ed25a2663c18f6
86d5e4a4236f8797a8449bff451af991b79d6c67
/gloria/wsgi.py
e38c5e143525099fdc6678e6277ed108112fe4cc
[]
no_license
LizethVelasco/gloria
08a5c060caad5685f0789cfa412b6878c19d756d
bfa79794111b1af61c3073f52012d0eb271cf1fe
refs/heads/master
2023-07-13T20:22:51.146350
2021-09-04T20:28:51
2021-09-04T20:28:51
403,150,162
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for gloria project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "73905893+lvelascom@users.noreply.github.com" ]
73905893+lvelascom@users.noreply.github.com
2b30b5866a2434a75fca7122aacfe0427dceea2a
f99fb6955df8d9bd5812c38a103c214b3e0f7c57
/python_challenge/grait/__init__.py
5f54f59f4ba92ff0711905c20799ed0bd05ab942
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lvm/it-challenges
7c9ff87ccc28ad01d5bc845d88833da7089a0de4
688fe1dc68426c685bacc8d54f1f7a982a11c8b1
refs/heads/master
2023-08-26T07:27:19.245321
2021-10-19T00:28:32
2021-10-19T00:28:32
339,818,701
1
0
null
null
null
null
UTF-8
Python
false
false
217
py
from .utils import IPv4 from .utils import IPobject from .utils import RDAPResponse from .utils import RDAPService from .geoip import GeoIP from .rdap import RDAP from .grabber import IPGrabber __version__ = '0.0.1'
[ "mauro@sdf.org" ]
mauro@sdf.org
39b7a8e063f66335d7c8deeff4486a2146ecdb2e
7dc1b1d75829b58bb2abe0e91b0bfcde89e1ea9a
/venv/lib/python3.8/site-packages/yaml/representer.py
2174887b92d75fca887fc613d82ba35324f88ef0
[]
no_license
fredhu0514/Py2Mat
cc617a6d65e617d09cea50b516e1a0f00d5197fd
06e8e7c7ddb20431489482be8a8b026c19dde3a7
refs/heads/master
2023-03-30T08:53:56.650967
2021-03-21T03:55:17
2021-03-21T03:55:17
347,419,919
0
0
null
null
null
null
UTF-8
Python
false
false
14,183
py
__all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer', 'RepresenterError'] from .error import * from .nodes import * import datetime, copyreg, types, base64, collections class RepresenterError(YAMLError): pass class BaseRepresenter: yaml_representers = {} yaml_multi_representers = {} ...
[ "huyuqi0514@126.com" ]
huyuqi0514@126.com
9f994aed9612c79c469b24068d640c314f235565
8196bfbb6f12eaf0f6527bac6d5566f164c18bb5
/recwork.py
fe8715383498b880355b27e06a068ac7efc67ac7
[]
no_license
darkdefender228/Digit-Recogniser
6aeabb53df95c2adf5d24fc1c9deb75e10fd9b94
112765560ed21fbb8a032553e8ec79719484a4d2
refs/heads/master
2020-03-23T12:54:04.766789
2018-12-01T15:15:02
2018-12-01T15:15:02
141,588,817
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Nov 24 18:02:01 2018 @author: romanilechko """ import numpy as np def make_lines(coords, close, far): lines = [] openning = True for index in range(len(coords[:-1])): if openning: if coords[index] + close >= coords[index...
[ "noreply@github.com" ]
darkdefender228.noreply@github.com
8c37577beb948a84c1017887ad0ff113575583c4
87b7d7948aa51fdb4a27540240579788896369ea
/code/runs_sacred/model_4_classes/_sources/main_0d7ea3a13b62ec2b4e0ed10b9b965fe4.py
721ea09321b607fc28b8b2985a463f302725e990
[]
no_license
Samuel-Levesque/Projet_GLO7030
6f13accd63b52107ec3e3a0b9b5f52edccda7c8d
557bce3235f09723900f65c6e3b44a0ed9d2b519
refs/heads/master
2022-01-16T12:49:22.884798
2019-05-05T18:38:35
2019-05-05T18:38:35
177,038,991
0
1
null
null
null
null
UTF-8
Python
false
false
3,978
py
from sacred import Experiment from sacred.observers import FileStorageObserver from data_set_file import create_huge_data_set,create_encoding_deconding_dict from model_creation import create_model from trainning import train_model,load_model_weights,create_scheduler from test_metrics import calcul_metric_concours im...
[ "44324703+William-Bourget@users.noreply.github.com" ]
44324703+William-Bourget@users.noreply.github.com
b77cd80c0c1fbc74c1487f9da2d71f3e83e1b0ec
54de64c1bd866c2cd1ef7f23dff20019a87ae408
/src/bio2bel_drugbank/patent_utils.py
ea41eb5ec3822be8c47b5a766041d5e8125fa9e7
[ "MIT" ]
permissive
AspirinCode/drugbank-1
83fc8bfb3b275df085423ac53c698bc0a8bc9c27
1b842ed7a9de7904e8a11fd19ad35164ffb781bf
refs/heads/master
2020-04-07T20:29:55.925875
2018-11-20T18:26:38
2018-11-20T18:26:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
# -*- coding: utf-8 -*- """Utilities for downloading patents from Google. Code modified from original work by Alexander Esser. """ import os import re from typing import Optional, Set import requests from bs4 import BeautifulSoup LINK_PATTERN = "https?:\/\/patentimages\.storage\.googleapis\.com\/.+\/([A-z0-9]+\.pd...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
e39839ef6ccd8fe2a32d4df89c7f7d433225eb15
7fb1f981bd37a2d02b262f58c75c4d6b11ac9ee4
/mnist_exp/mnist_learning.py
b9d0009f5a25ba4cac0769071c34de0ec49cd168
[]
no_license
66RING/deeplearing
3c96fef6df6d3b7b17ee54bd50df4efc678ee884
da66a2d3d858d32f989e1bd36f33fef875ee7a70
refs/heads/master
2021-04-01T22:32:17.000036
2020-03-18T12:01:12
2020-03-18T12:01:12
248,219,270
0
0
null
null
null
null
UTF-8
Python
false
false
2,508
py
import tensorflow as tf from tensorflow.keras import datasets #tf.enable_eager_execution() # (x, y), (test_x, test_y) = datasets.mnist.load_data() (x, y), (test_x, test_y) = datasets.fashion_mnist.load_data() print('datasets:', x.shape, y.shape, test_x.shape, test_y.shape) test_x = tf.convert_to_tensor(test_x, dtype=...
[ "1552087953@qq.com" ]
1552087953@qq.com
1bcc044f73c4078b86a750699379205dc233d54a
e7a05f0072bb1a92efce3c0b7c7384e60162e6f5
/records.py
4bb559b72a805b61f9146a799fa931e305f793ca
[]
no_license
contextfreecode/records
d2b19146cbd85398038a784247ea932d68e3b9df
606529b1a22b352caf541b17ffbd3b48c67e8219
refs/heads/main
2023-01-23T15:10:27.802549
2020-12-07T15:22:24
2020-12-07T15:22:24
314,120,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
from dataclasses import dataclass, replace from datetime import date from typing import NamedTuple, TypedDict def main(): # alice = Employee("Alice", date(2000, 1, 1)) alice = Employee(name="Alice", hire_date=date(2000, 1, 1)) alice2 = replace(alice, hire_date=date(2010, 1, 1)) alice3 = replace(alice2...
[ "tjpalmer@pop-os.localdomain" ]
tjpalmer@pop-os.localdomain
a5b59ba4111f9aa1a1667e14c78b04c6a91f0bd2
2e3b52f56369a5a32f427759592b21edcfbcd805
/basicsforms/wsgi.py
7777e5e283f597dc9f2b2fe0de2575e9114040ad
[]
no_license
Prapti123-git/django_basicproject
925078ca08645d1296d3ed0c4d87893d0a69aee9
9284a0e63d6c686e4161f24e841e6b16e7db0c9c
refs/heads/master
2023-01-07T16:04:02.333341
2020-11-06T14:44:34
2020-11-06T14:44:34
310,624,396
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for basicsforms project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "pandeyprapti2203@gmail.com" ]
pandeyprapti2203@gmail.com
ebaf280808546ea7fec78fd24df53f0f63526ca3
7c096ed19a6e3585b0713a9e9b55f2105c27e582
/domain/state.py
e1a9021025d559f5a5fe6d1af6bc75e4e414974a
[]
no_license
gizmoy/PySecurityCameras
c666963426628a072798fdfe91ecc73b910f2a47
6a07af7de52ac02b14ae2be87c70539ed09146b4
refs/heads/master
2020-12-30T11:40:03.443464
2018-04-07T19:03:13
2018-04-07T19:03:13
91,270,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
import random import copy from camera import Camera class State: def __init__(self, problem, cameras=None): self.problem = problem self.cameras = cameras if cameras else self.generate_cameras() self.num_unobserved = None def generate_cameras(self): # generated cameras ...
[ "m.giemza55@gmail.com" ]
m.giemza55@gmail.com
6d403a923833ed1c94a3fbcb54bde1b1d9559d31
2a3c4d9f7c94147aadf9ca674c5e1577c368e752
/api_recorder/tests/scenario.py
72f29ef77f8c9dd08b4e92bfa5dd7f13d8ae04ce
[ "Apache-2.0" ]
permissive
timitee/api_recorder
1d3a291f546deb6d6633dabe981caac81450d701
dda1df8535a65f46c360ed9803b52ebdee2396a0
refs/heads/master
2021-08-11T10:33:55.432639
2017-11-13T15:26:45
2017-11-13T15:26:45
110,565,305
2
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
# -*- encoding: utf-8 -*- from api_recorder.api_recorder import api_recorder, api_class_recorder scenario_val = 'ISeeYouGhost!' def api_response(module_, class_, method_, vals_): return {'mod': module_, 'cls': class_, 'mtd': method_, 'val': vals_} class ApiMarshall(object): @api_recorder def decorated_m...
[ "tcbushell@gmail.com" ]
tcbushell@gmail.com
14a928013222509d04f26b06e8abf20fb3940fbe
f1051f4e35cd1cb2137b480154e28c81d630b8fe
/zima_tables/wsgi.py
96a02899d9df0af612254514e495c87231e1c1c4
[]
no_license
ZIMA-Engineering/ZIMA-Tables.org
e011e428fe28681b9a00dfeafc09dd17aab6e5ca
b9a58d2319a63052035fc764a7705c8efc8f13ab
refs/heads/master
2021-06-03T05:32:04.072318
2020-11-30T09:30:03
2020-11-30T09:30:03
57,451,611
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for zima_tables project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "jakub.skokan@havefun.cz" ]
jakub.skokan@havefun.cz
8fcc9b9fcb2d3773828fcb001c5e5282e5601c8e
22cec5da2b1fb83dcc9cf7c888f1e2078b05b62e
/flora/wallet/sign_coin_solutions.py
e1848b04de272fc1cbdb5bc12e37e82971b93c6b
[ "Apache-2.0" ]
permissive
JuEnPeHa/flora-blockchain
649d351e096e73222ab79759c71e191e42da5d34
656b5346752d43edb89d7f58aaf35b1cacc9a366
refs/heads/main
2023-07-18T08:52:51.353754
2021-09-07T08:13:35
2021-09-07T08:13:35
399,297,784
0
0
Apache-2.0
2021-08-24T01:30:45
2021-08-24T01:30:44
null
UTF-8
Python
false
false
2,037
py
import inspect from typing import List, Any import blspy from blspy import AugSchemeMPL from flora.types.coin_solution import CoinSolution from flora.types.spend_bundle import SpendBundle from flora.util.condition_tools import conditions_dict_for_solution, pkm_pairs_for_conditions_dict async def sign_coin_solutions...
[ "github@floracoin.farm" ]
github@floracoin.farm
005e5a725ed1c03028b59a4a059da8c3eebb2635
67e493e7f8806254a6b88351c2660bd6695c7de1
/Trap/Tensorflow/test.py
7f6e47b42da4f378b4d3093fc540815df8e7f9f5
[]
no_license
onthejeep/MixtureModel
6c312dd6a726a2611264e04c6ca924c6f9606c98
0565dde3ec0fe5cf0043e864feffcff6628b6db0
refs/heads/master
2021-04-15T17:07:53.406981
2018-03-26T19:31:21
2018-03-26T19:31:21
126,879,374
0
0
null
null
null
null
UTF-8
Python
false
false
13,037
py
Traveltime = [3.82371016,3.69024781,3.55131291,5.16093999,4.11502671 ,4.89527333,3.46792928,4.95218788,5.69964306,5.45113731 ,2.78296871,2.28874201,3.72048284,4.80621287,3.94261533 ,3.24939139,5.33275141,3.8936405, 4.71077051,3.543074 ,3.92405279,4.2632726, 3.55034841,3.92414084,2.68468112 ,4.04336137,5.5612573, 4...
[ "noreply@github.com" ]
onthejeep.noreply@github.com
f4b3f17b7b0a85a8901d1509c2176c8fd48e49c9
48792dc23fafc5c18b709e74586fd5054724158f
/core/migrations/0004_auto_20201209_0650.py
cfd4292fb60c8406928f05fdaafaa1ef0823a528
[]
no_license
guilleijo/vendomatic
4126ebe0fcc4eee5f91a3b8f174e65a292a2ff65
ea6689d6986094c17b72af6ff4eb42e68643c9b7
refs/heads/master
2023-01-31T22:35:49.755979
2020-12-12T15:11:31
2020-12-12T15:13:12
320,855,309
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
# Generated by Django 3.1.4 on 2020-12-09 06:50 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20201209_0324'), ] operations = [ migrations.AlterField( model_name='inventory',...
[ "guillermoeijo@gmail.com" ]
guillermoeijo@gmail.com
81a54439253dce29241c49928fd05e2c8db9e060
ac7f2369cf136cef946ee6eb89c5be1edda27769
/hare_turtle_algorithm/scratch_4.py
d209eb062e4425d63c53283db7cf6454fa6fc968
[]
no_license
iluvjava/Silly_Python_Stuff
d244a94a6c8236713123815ccd1f1f6c27b1cb98
eb12a67c060de783e6b00d6030668f8d32630dad
refs/heads/master
2021-04-22T23:14:14.215801
2021-04-05T05:25:42
2021-04-05T05:25:42
249,879,410
1
1
null
null
null
null
UTF-8
Python
false
false
156
py
import numpy as np y = x = np.array([np.arange(0, 10)]).T print(x.T.shape) print(y.shape) print(x@y.T) print(np.linspace(0, 100, 400)[np.newaxis, :].T)
[ "victor1301166040@gmail.com" ]
victor1301166040@gmail.com
810697777c5034e7487f2544f56c437f9efecb71
fbb659d7d9bcd3add877fe2a7b9ee360948d0dec
/MovieTicketBook.py
51dd23e17e40ec3f36426c4864706d4c6e91289b
[]
no_license
viralpatel12345/movie-ticket-booking-using-python-OOP-concept-
d1c9efeb7b5aad50d62f428d3c65e0145aca27d2
5f569835f1fb414e18a1208486a2a1e8671a3274
refs/heads/master
2020-06-19T20:11:09.817784
2019-07-14T15:49:49
2019-07-14T15:49:49
196,854,897
0
0
null
null
null
null
UTF-8
Python
false
false
4,512
py
''' "FairyLand Multiplex" wants to automate ticket booking and seat allocation process. Method description: check_seat_availability(movie_index,number_of_tickets): Checks seat availability for the given movie. Refer the code given in starter code calculate_ticket_price(movie_index,number_of_tickets): Calcul...
[ "noreply@github.com" ]
viralpatel12345.noreply@github.com
bcfa4a1cd9f4a15ee1fac07467537560977a4feb
922656cb4ab1043e246e8bad3d8f8d07c3265d8c
/sdk/storage/azure-storage-blob/tests/test_blob_tags.py
cade03321dbaf4bd567e498b2a28edfe461d2e94
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
TommyZihao/azure-sdk-for-python
d374900f81d2b7e72c52d32353842819dd9e3580
513a199329194656039987ac5352a647fdf753df
refs/heads/master
2022-11-28T11:19:28.887548
2020-08-03T22:00:37
2020-08-03T22:00:37
284,934,907
0
1
MIT
2020-08-04T09:27:05
2020-08-04T09:27:04
null
UTF-8
Python
false
false
16,857
py
# 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. # ---------------------------------------------------------------------...
[ "noreply@github.com" ]
TommyZihao.noreply@github.com
9386a5a1444912dff57160dc9c6749ea52dd4376
6810201a040c7a77f1e5e9a93882f34717aaa4a4
/singing contest.py
d2c933266a593c5b9c7bcaf4f72ee490e7e81df3
[]
no_license
phyllis-jia/array-practice
b848bfa52a82d1508b11ad946ba168a58e668030
3c1974866489384992d3e76307d90e5127edaf6f
refs/heads/master
2020-11-29T06:15:29.915254
2020-01-11T07:04:57
2020-01-11T07:04:57
230,043,151
1
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
##singing contest: to design a program which remove the highest score and the lowest score from scores, then take average of the remain scores as final score ### optimized one def singing_score(values): small_pos = 0 for i in range(1, len(values)): if values[i] < values[small_pos]: small_po...
[ "54754413+490232987@users.noreply.github.com" ]
54754413+490232987@users.noreply.github.com
80673d37a36b6001f6089f3cd5b2832d36c94e01
f85cc0e9a2a3726e40f6c3e9fc8dfcd0b9c5ed71
/Chapter 8/Q1.py
1de49f7f679c3cb3c1d27db18ed9bb0258e8e814
[]
no_license
joshdavham/Starting-Out-with-Python-Unofficial-Solutions
5edbef384a030c936c69829b3fae4a7b2b118560
6ba40fe01f4c0e11ad4ab91f6214fda44a8aefe2
refs/heads/master
2022-10-09T01:54:49.797361
2020-06-09T13:20:31
2020-06-09T13:20:31
270,884,501
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#Question 1 def main(): sales = get_input() total = get_total(sales) print("\nTotal weekly sales: $", total, sep = "") def get_input(): sales = [0] * 7 for day in range(7): sales[day] = float((input("What were the sales for day " + str(day+1) + "? "))) return sales ...
[ "noreply@github.com" ]
joshdavham.noreply@github.com
ef2ce2f42c587b9dcfe630d08cfc405c4fdbbb6b
28975460d4333accaf861dbbc295d6b640f72da8
/TokenProj/token_app/migrations/0001_initial.py
b4302f448434e9c835d210f9300266845a1a1d75
[]
no_license
chaitrabhoomesh55/Django
5f3685e479470c4019dacfea6910d006d44162a2
d2a7ccd299c4247e8c7cbb6f8caeb5f051d4a251
refs/heads/main
2023-07-17T16:55:44.087883
2021-09-04T02:52:37
2021-09-04T02:52:37
402,954,263
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
# Generated by Django 3.2 on 2021-08-21 00:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "chaitra0099@gmail.com" ]
chaitra0099@gmail.com
970e032873598b577c478df4bda72a6d70df2593
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_328/ch45_2020_04_11_19_23_00_469501.py
654fc6cd7bedadc387007d4d63a90c312e9a584c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
lista= [] while True: x= int(input('Digite algum número: ')) if x>0: lista.append(x) elif x <= 0: lista.reverse() print(lista)
[ "you@example.com" ]
you@example.com
ef76fce18c4d75abc69a31441786b2d3465aaad6
5ac40dd0907f6b5a7adff338465c7c41fffc4348
/src/jukeboxcore/gui/widgets/guerilla/shotcreator_ui.py
a94b8806cff4c0c262fcc729863f846a82ed3722
[]
permissive
JukeboxPipeline/jukebox-core
8effaf675c8a3b39d043bb69e40b75e591bb4a21
bac2280ca49940355270e4b69400ce9976ab2e6f
refs/heads/master
2021-07-22T13:50:58.168148
2015-06-01T16:20:56
2015-06-01T16:20:56
24,540,320
2
0
BSD-3-Clause
2021-06-10T19:34:28
2014-09-27T19:06:31
Python
UTF-8
Python
false
false
2,282
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'h:\projects\jukebox-core\src\jukeboxcore\gui\widgets\guerilla\shotcreator.ui' # # Created: Tue Jan 13 18:54:57 2015 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! from PySide im...
[ "zuber.david@gmx.de" ]
zuber.david@gmx.de
1714522d57f5a6b08f0f8b9a6ee5d2674b03adda
bd1f952a38cfed36243c12b74dfa851de5f0cc9b
/cGAN_v2.py
c6405cbc4ed29a360ebaec6914820e38d5ac6b80
[]
no_license
RufinaMay/cGAN
1dd818303392303d10d7e29e4ea86698d6db745a
95a7538a9f1e9fbb0f706e3eb804320cc7222813
refs/heads/master
2022-01-25T17:55:44.999177
2019-06-30T08:01:57
2019-06-30T08:01:57
181,176,755
3
0
null
null
null
null
UTF-8
Python
false
false
7,934
py
import numpy as np from keras.optimizers import Adam from keras.layers import Input, LeakyReLU, BatchNormalization, Reshape from keras.models import Model, Sequential from matplotlib import pyplot as plt import cv2 from keras.layers import Conv2D, Conv2DTranspose, ReLU, Dropout import pickle class GAN(): def __ini...
[ "rufa-gali@mail.ru" ]
rufa-gali@mail.ru
347bc0c82a866bbe432d6d496139810783afbdee
a8575e06f36b96e502803c0e564f906959ee4896
/alteSrcHZRR010/hzrr200_pythonSim/hzrr200_regSim01.py
bf4c2f2f5a18f4ba5abf0268ccd35261e98a6720
[]
no_license
peetsi/hzrr200_RegSim
9c3b849979c13fd9dcd1be625d5ad8d1297bde9d
1ec9d959da78d068d67c2614478e47bac2b85667
refs/heads/master
2022-11-16T11:01:41.698848
2020-07-16T05:39:49
2020-07-16T05:39:49
278,379,940
0
0
null
null
null
null
UTF-8
Python
false
false
7,837
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # hzrr200 Rücklauf-Regler Simulation # Peter Loster, Mai/Juni 2020 # import time import numpy as np import matplotlib.pyplot as plt # *** status variables are changed during operation # NOTE: values have to be initialized for formal reasons # they are set in a separ...
[ "pl@loster.com" ]
pl@loster.com
1ac29a1d452db19f9e2a28a4a6f437d4178cb338
3438e8c139a5833836a91140af412311aebf9e86
/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py
74cdd52504e672cac908cfea45de9dd8d5cf062b
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
Exstream-OpenSource/Chromium
345b4336b2fbc1d5609ac5a67dbf361812b84f54
718ca933938a85c6d5548c5fad97ea7ca1128751
refs/heads/master
2022-12-21T20:07:40.786370
2016-10-18T04:53:43
2016-10-18T04:53:43
71,210,435
0
2
BSD-3-Clause
2022-12-18T12:14:22
2016-10-18T04:58:13
null
UTF-8
Python
false
false
9,230
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A command to fetch new baselines from try jobs for a Rietveld issue. This command interacts with the Rietveld API to get information about try jobs with ...
[ "support@opentext.com" ]
support@opentext.com
254af0d9384a30250010f298351c0b7d6cf418a2
f601878be7f5b632bc89a1dc82135c703c72550c
/santiblog/polls/urls.py
9ddf27a20e2bd99eec35f70af1ecdc16316033bc
[]
no_license
SantiagoVergara/santiagoblog
34f2344ba4eb54b588cfe4916a1e4e93fcb0dc35
03950661be262acbec0542156ec68874e8db9684
refs/heads/master
2020-05-27T22:33:13.910585
2015-08-10T02:52:27
2015-08-10T02:52:27
40,459,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from .import views urlpatterns = [ url(r'^$', 'polls.views.verhome', name='index' ), url(r'^Curriculum/$', 'polls.views.vercv', name='Curriculum' ), url(r'^Botonmagico/$', 'pol...
[ "santivergara.27@gmail.com" ]
santivergara.27@gmail.com
5394f22fdbc67366bc5ef90cc2677d91c754ea07
ebc065836607b62e0f4668bf9fde28df907634fc
/products/migrations/0004_auto_20210420_2359.py
70239888f64a7575b16a17a2bed4a5da568edf16
[]
no_license
tgmike/DjangoTut
2660c7285a73f7445073406a03d9f1cd2fc6cd99
5f3bc6a2e09a37d25bbb20e24f939771ab26d317
refs/heads/main
2023-04-09T15:16:09.919784
2021-04-21T00:12:39
2021-04-21T00:12:39
358,706,697
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 2.0.7 on 2021-04-20 23:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0003_auto_20210420_2357'), ] operations = [ migrations.AlterField( model_name='product', name='summary',...
[ "tgmike77@gmail.com" ]
tgmike77@gmail.com
39dc5f3d31638142c0eedc032b1e1c254d88f39c
d0efbc5c44823e0abe144fe05e86b621198d5d79
/module01/ex04/generator.py
8192852bb590d65e2e627c3187622e585dfbf22f
[]
no_license
yanis-fourel/42ai-bootcamp-python
a7b1e4ac9fcc3b1b3fff327bbc31f0396c4118e0
1e0eec6089c4540f90d2a6917afb01ac5543dbd1
refs/heads/main
2023-08-04T18:35:35.381487
2021-08-12T10:14:09
2021-08-12T10:14:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
import random def generator(text:str, sep: str=" ", option=None): if not text: return words = text.split(sep) if option == "shuffle": tmp = words words = [] while tmp: idx = random.randint(0, len(tmp) - 1) words.append(tmp.pop(idx)) elif option ...
[ "yanis.fourel@gmail.com" ]
yanis.fourel@gmail.com