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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
daeb1f7fa521beacd31aac5043452165dbd73f54 | 6a0df64813594b7d1bd9f526eb828c2625516f17 | /MNISTTask.py | a1eb3da83a7dbc9f4630b2fb922494e5dd600790 | [] | no_license | qiulingxu/Automatic-Machine-Learning | 30f8bfaf05cd77a61879b763c4144cf5ed7b1dd8 | a5a7b1364c014e36a3100da437d84f58308e5d7e | refs/heads/master | 2021-09-16T00:05:50.105553 | 2018-06-13T11:51:42 | 2018-06-13T11:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,176 | py | import tensorflow as tf
import logging
from mnist import MNIST
import datetime
from Graph import Graph
from QLearning import QLearning
from ImageOperators import *#ConcatOperator,ImageInput,Conv2DFactory,PoolingFactory,TransConv2DFactory,ActivationFactory,BinaryOpFactory,ReuseFactory,DenseFactory,ConcatOperatorDense
im... | [
"v-qiux@microsoft.com"
] | v-qiux@microsoft.com |
25747ed2dbcbe8df7ee0fa834287c49b2acb669d | f93acaa904fdd780f4d28aea92b8794b0014b762 | /imitate/train_rough.py | 9808894b37f94ccf8ee1f2f0f09f1efe424a0553 | [] | no_license | KChikai/seq2seq-examples | c898a80cc3c011bc51fbde35acf93b7c27a539b8 | 6e69c061182c9e00fce31a2b4b720e338fab0ad0 | refs/heads/master | 2021-09-01T10:32:05.829308 | 2017-12-26T13:46:42 | 2017-12-26T13:46:42 | 109,656,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,120 | py | # -*- coding:utf-8 -*-
"""
Sample script of Sequence to Sequence model for ChatBot.
This is a train script for seq2seq.py
You can also use Batch and GPU.
args: --gpu (flg of GPU, if you want to use GPU, please write "--gpu 1")
単語次元:1024,隠れ層:2048
単語語彙数:25000
目的関数:Adam, 関数の初期化をエポック毎に行う
"""
import os
os.environ["CHAINE... | [
"tokoroten0401@gmail.com"
] | tokoroten0401@gmail.com |
37e1e2f43b6abf4adb8f7a1bbb7af5db0d5c8355 | 3e640f5c59e6cbd1741afb08212aa0e3627f9752 | /deps/bcRead.py | 296744bfcbb0f25518a6b6d59317e399202bc7a8 | [
"MIT"
] | permissive | CapPow/VARP_supplimental | 36a845cf5713c8d9243d7a1a2ac3afc35472f078 | 1db65f7447ec066232a8cb00c9b86bff9ee11b3f | refs/heads/master | 2023-02-21T11:13:05.537202 | 2021-01-28T05:19:33 | 2021-01-28T05:19:33 | 296,470,678 | 0 | 0 | null | 2021-01-27T23:45:36 | 2020-09-18T00:15:02 | Jupyter Notebook | UTF-8 | Python | false | false | 25,397 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
# ... | [
"calebadampowell@gmail.com"
] | calebadampowell@gmail.com |
680e684399175bbf0c37efb8fc4e80d64e319af0 | 8f8908f8247a0401b6521582ad29d9718732f4f3 | /tes codet.py | 4fbcde1660a12584a51c943d4713f9b812d6064e | [] | no_license | kcb0126/script.tvguide | 1d11a444158d415c42dfb9bd99ad1b26ffb50ee9 | a42b4332f6161ff0a20bef583abade3b64e834ac | refs/heads/master | 2021-01-02T08:48:18.749685 | 2017-08-02T02:56:45 | 2017-08-02T02:56:45 | 98,981,224 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 136,243 | py | #DO NEED IT
if program_start_time < epg_time_2
and program_stop_time > epg_time_3:
print
"passed 1"
if program_stop_time <
epg_time_2:
... | [
"kcb0126@outlook.com"
] | kcb0126@outlook.com |
78aab04cb0157036a7546311cdb45660958c867b | 4ea06addb40da22573bbfb4a0253406b564ae2cd | /test3in1.py | f068ead397378cf25b16d18e8b1c4e99b4504a6d | [] | no_license | AldyColares/Projetos_MNii | 5eff276daf7f7139b8875fb20bfa405af44639a9 | 43dc45cb2a7890837257f36934d0d32b5e40fc67 | refs/heads/master | 2016-09-11T05:48:43.756753 | 2014-03-21T14:50:45 | 2014-03-21T14:50:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 813 | py | import re
arquivo = open("arquivo1.txt")
m = int(arquivo.readline().rstrip('\n'))
txt = arquivo.read()
print "grau =",m
print "\nxi\tf(xi)"
print txt
dados = map(float, re.split('\t|\n',txt))
arquivo.close()
a = dados[0]
b = dados[m*2]
fx0 = dados[1]
fxm = dados[m*2+1]
h = (b - a)/m
L = range(m+1)
S=0
i=1
while ( i <= ... | [
"dyego@alu.ufc.br"
] | dyego@alu.ufc.br |
81e961bd45690f0ec3aaf2d0471c80120c519e90 | eaa13f3f1053d4579ef5b77e475fb04c865fe9cf | /build/frl_msgs/frl_vehicle_msgs/catkin_generated/pkg.develspace.context.pc.py | a989b83f5dd8df824b9da17f3dbf6c8d1631bfd8 | [] | no_license | Ivarsak/UUV_Simulator_OASYS | 1d9fb25855a258ee97d6277dcce1c132cd45198a | a7e4ca3a7c6989334d9fc22d91e0c2fea7bd99b4 | refs/heads/master | 2023-03-04T10:24:21.483313 | 2021-02-08T18:11:30 | 2021-02-08T18:11:30 | 315,768,427 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 473 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/ivar/uuv_ws/devel/include".split(';') if "/home/ivar/uuv_ws/devel/include" != "" else []
PROJECT_CATKIN_DEPENDS = "geometry_msgs;message_runtime;std_msgs".replace(';', ' ')
PKG_CONFIG_LIBRARIES_W... | [
"saksvik.ivar@hotmail.com"
] | saksvik.ivar@hotmail.com |
4bd73df7d3611be06c8a1c3f894b8bba2b9a5a2a | b1ba049be6d2afe25be7511c5f87ef7436c25869 | /DOS_DOG/main.py | 31b166d321f1c716fabdce06137f5f260bd993a2 | [
"MIT"
] | permissive | Network-Hub/Dos_Dog | 44ada0bab6159ed37c05efafaa774c16f8978bdc | 569ce825561153818d9260f65daa827e1f27eb42 | refs/heads/master | 2022-11-16T23:20:08.446240 | 2020-07-18T03:03:16 | 2020-07-18T03:03:16 | 280,569,626 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 275 | py | from flow_dump import *
import random
if __name__ == '__main__':
print("---start sniff the packet---")
save_path = folder_root + os.sep + "results" + os.sep + "label_" + str(random.randint(1, 1000)) + ".csv"
sniff_main(save_path) # 开始嗅探数据包
| [
"noreply@github.com"
] | Network-Hub.noreply@github.com |
c561c267d998bdcd11ae388b64d3370452b1914d | b1737e32922d045a7339ab672a04b82978da7608 | /Class1-Numbers.py | bae681a428451a0461e8128de9bda59f9156de1a | [] | no_license | vnaditya/python | fe7505c7432a9234e3dfaa2b9a23a20e48e62120 | a7c5698fe350f3ae60d78481b8736d4517268981 | refs/heads/master | 2022-11-26T05:18:10.849970 | 2020-08-01T06:31:21 | 2020-08-01T06:31:21 | 282,145,188 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 227 | py | #!/usr/bin/env python
# coding: utf-8
# In[1]:
print('new')
# In[2]:
2+1
# In[3]:
2-1
# In[4]:
2*3
# In[5]:
0.1+0.2-0.3
# In[6]:
10*2+10*3
# In[7]:
10+2*10+3
# In[8]:
(10+2)*(10+3)
# In[ ]:
| [
"68727269+vnaditya@users.noreply.github.com"
] | 68727269+vnaditya@users.noreply.github.com |
1718f36c060caf2b67a509d51fa38963500c468c | 6e31a7867d658dfa514ded450eb4e69ec57e88df | /Glue/Glue/__init__.py | 97b0db1c061cb9b30d81215636cc390a29202053 | [] | no_license | jasonyu1996/glue | 625c77624a85b4fb26a57dffff0dd6a80887fa24 | d8815fba1764743f5d1cf3d1bbc6f126ea97e25b | refs/heads/master | 2021-07-10T06:14:38.063991 | 2017-09-21T13:35:14 | 2017-09-21T13:35:14 | 104,352,619 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 105 | py | """
The flask application package.
"""
from flask import Flask
app = Flask(__name__)
import Glue.views
| [
"yuzhijingcheng1996@hotmail.com"
] | yuzhijingcheng1996@hotmail.com |
a0e9159f3d48fcd72ad68192a845e9493a91adca | 9ec00883eae7a3742dc62e821dabd9515342edcc | /db.py | fc5506987fb479bb400eeb6883c2a94209b7fe55 | [] | no_license | abinayasv/python-web-crawler | 8386c703e3cf097845726b26fffcbab6005fff13 | 51c0a0526826b705f71e741ab4d1376b454421e8 | refs/heads/main | 2023-05-16T06:42:47.691514 | 2021-06-09T09:41:35 | 2021-06-09T09:41:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,018 | py | from pymongo import MongoClient
from datetime import datetime, timedelta
from time import sleep
from config import maxcount,root
from crawler import root,validate
def connectdb():
global linkcollection # for using this variable to another functions
cluster=MongoClient(" #your mongodb connection url ... | [
"noreply@github.com"
] | abinayasv.noreply@github.com |
6c4260cb4c1cd8605e45e07848249e782def76d3 | e3d6f803beece2ecc2cde8de795fdd20291213ff | /nova/tests/unit/scheduler/test_utils.py | e92dd111cd4e2d319bac244ad5f43e733c2f47ab | [
"Apache-2.0"
] | permissive | panguan737/nova | 437c1adb81f3e9ef82c28ad957144623db13ba52 | 0d177185a439baa228b42c948cab4e934d6ac7b8 | refs/heads/main | 2023-01-07T00:08:44.069599 | 2020-11-01T14:00:42 | 2020-11-01T14:00:42 | 309,332,719 | 0 | 0 | Apache-2.0 | 2020-11-02T10:17:13 | 2020-11-02T10:17:13 | null | UTF-8 | Python | false | false | 27,014 | py | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | [
"147360410@qq.com"
] | 147360410@qq.com |
271b017259091010131209daa0e08770462aec59 | 5fe8b2e09a48b473cc28a4ba56e96075af945d07 | /app_authentication_proxy.py | ed8dc4855dd683a9660d59302670464f5a1b70dc | [
"Apache-2.0"
] | permissive | stozk/msb-client-websocket-python | bf2821593386aa02b9f53069d72ec5dae98f3335 | 2c5dacaa27b2a5b543ba8693ca888ddd5dc46e38 | refs/heads/master | 2023-04-06T18:10:30.968152 | 2021-04-07T19:14:32 | 2021-04-07T19:14:32 | 275,241,849 | 0 | 0 | Apache-2.0 | 2020-06-26T20:29:16 | 2020-06-26T20:29:15 | null | UTF-8 | Python | false | false | 20,749 | py | # -*- coding: utf-8 -*-
"""
Copyright (c) 2019 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
Authors: Daniel Stock, Matthias Stoehr
Licensed under the Apache License, Version 2.0
See the file "LICENSE" for the full license governing this code.
"""
import datetime
import threading
import uuid
... | [
"daniel.stock@ipa.fraunhofer.de"
] | daniel.stock@ipa.fraunhofer.de |
487d12eaffc34e10ef3412fb7e4c2055d48ba1ed | b5dd802b7165237174153298688df29796c431b4 | /Intermediate_python/Comparison_Operators/And_Or_not.py | 8228159fff3e80c59237b8606fc0cedf7b196e50 | [] | no_license | Jannatul-Ferdousi/Machine_Learning_Using_Python | 444a2ceb95e6097730963ec7d0ea55fa0dbf954f | ec9610d797296a82a74ee561b68c62055e7179f5 | refs/heads/main | 2023-01-12T01:30:46.168681 | 2020-11-20T18:22:56 | 2020-11-20T18:22:56 | 310,195,923 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 334 | py | # Define variables
my_kitchen = 18.0
your_kitchen = 14.0
# my_kitchen bigger than 10 and smaller than 18?
print(my_kitchen>10 and my_kitchen<18)
# my_kitchen smaller than 14 or bigger than 17?
print(my_kitchen>17 or my_kitchen<14)
# Double my_kitchen smaller than triple your_kitchen?
print(my_kitchen*2< y... | [
"noreply@github.com"
] | Jannatul-Ferdousi.noreply@github.com |
fcfb4efec303377e2ff3d56687c6cff450090c44 | 8eed29374fd95c5686b33e7a93d9991abb8e7dd1 | /CoolPlot/Util/Units.py | 82b38dd5e2c47373c285e5f2fee9c591d5443948 | [
"MIT"
] | permissive | roguextech/CoolPlot | c5de253895f8783f515b1126d2d0e7c4a59625ce | 0967e243934c0970ef830b43befeabacc688cdfd | refs/heads/master | 2022-11-24T08:30:19.379696 | 2020-08-05T12:51:25 | 2020-08-05T12:51:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,622 | py | # -*- coding: utf-8 -*-
from __future__ import print_function, division
from .Quantities import PropertyDict, BaseDimension
class SIunits(PropertyDict):
def __init__(self):
self._D = BaseDimension(add_SI=0.0, mul_SI=1.0, off_SI=0.0, label='Density', symbol=u'd', unit=u'kg/m3')
self._H = BaseDimen... | [
"jowr@ipu.dk"
] | jowr@ipu.dk |
9894d013e97b0292ca24dc5d96416fe5a8c42619 | cf8bce7244ecc0785ada7764b654a35da182014c | /djtrump/tests/test_sample.py | 085c7af67a5b65a239626de80cd3ea5efdd2659e | [] | no_license | sujonict07/djtrump | 7ed6d9f93b5dde678ace95668be40951b7fd346a | ff8b8e7efe8cadadf9b443c2ad846d2f63c4d622 | refs/heads/master | 2021-06-18T19:59:25.746873 | 2019-10-05T03:21:24 | 2019-10-05T03:21:24 | 212,815,331 | 0 | 1 | null | 2019-10-05T01:44:43 | 2019-10-04T12:56:55 | null | UTF-8 | Python | false | false | 204 | py | from django.test import TestCase
class SampleTestCase(TestCase):
def test_two_plus_two(self):
self.assertEqual(2+2, 4)
def test_nine_minus_three(self):
self.assertEqual(9-3, 6)
| [
"abc@abc.br10"
] | abc@abc.br10 |
4863d856a373aa732ddb38fa86db940b81682f64 | dbbff75e5afbea5dbdc0bfc46df0d146f8849ebb | /task_23.5.py | 5c7f999180e6f0c61c742ec6cf4388a379eb3a9b | [] | no_license | mishutka200101/Python-Practice-3-4 | 6460b63feaf25d91932eb6f9c1e0037524df62c3 | 3378bbba820c87d4e186fd4742d3d5af3f8d04bb | refs/heads/main | 2023-04-29T02:39:18.442964 | 2021-05-14T20:37:50 | 2021-05-14T20:37:50 | 362,210,046 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | def same_by(characteristic, objects):
if not objects:
return True
etalon = characteristic(objects[0])
for obj in objects:
if characteristic(obj) != etalon:
return False
return True
| [
"noreply@github.com"
] | mishutka200101.noreply@github.com |
a7d71e0de823d24ad5f32fd5bfdfa0f91e0a50dd | a17a15211ac8b47d01c616ae87fccb0e95d8298d | /linkedlist_bin_dec.py | 61096e84653f908fcadeaed85699773a06fd7979 | [] | no_license | prosis369/Data-Structures | 68a12a95db530adc153ca6b38b4310f5ab321f5a | cbfdb37f3145066285bf463360f9486bb64fe580 | refs/heads/master | 2021-06-25T12:10:52.894381 | 2020-11-11T08:54:17 | 2020-11-11T08:54:17 | 149,286,697 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 791 | py | '''
1290. Convert Binary Number in a Linked List to Integer
Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number.
Return the decimal value of the number in the linked list.
Example1:
Inp... | [
"noreply@github.com"
] | prosis369.noreply@github.com |
1e75d06bbd6ffc672e34760a40a21d2d640e0b85 | 8b5c7bf0e9cc47df3e6a4688e761ea01707cce72 | /0_or_positive_or_negative.py | 4ebd5f053517179f0df889bbf5e566a928d4f799 | [] | no_license | NandakrishnanR/basic-python | b42047d6b77924324f4558b9d18ed950f128c439 | 1c5d6d60d7a75ca0365a00e44a21fe3a24082afe | refs/heads/master | 2020-12-12T12:05:42.137690 | 2020-01-20T16:04:51 | 2020-01-20T16:04:51 | 234,124,100 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 174 | py | r=float(input("enter a number to be checked"))
if r>0:
print("the number is positive")
elif r<0:
print("the number is negative")
else:
print("the number is zero") | [
"rnandakrishnan2001@gmail.com"
] | rnandakrishnan2001@gmail.com |
35ff7c7b0b2608a161283aad1158714f840e4261 | bf21cd0ef7a94fa106ccd9f91a4bbfdcda7f94ed | /python-basic/chapter06/ex02_1.py | b89200405d271e475c79d5066eb693b18a584a1a | [] | no_license | juneglee/Deep_Learning | fdf8cae1b962aaa0ce557cb53f78a22b6d5ae1e8 | 17a448cf6a7c5b61b967dd78af3d328d63378205 | refs/heads/master | 2023-07-15T03:02:55.739619 | 2021-08-19T14:04:55 | 2021-08-19T14:04:55 | 273,253,872 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,324 | py | # 예외 고급
# 예외 객체
# try:
# 예외가 발생할 가능성이 있는 구문
# except 예외의 종류 as 예외 객체를 활용할 변수 이름:
# 예외가 발생했을 때 실행할 구문
# 예외 객체
try:
number_input_a = int(input("정수 입력> "))
print("원의 반지름:", number_input_a)
print("원의 둘레:", 2 * 3.14 * number_input_a)
print("원의 넓이:", 3.14 * number_input_a * number_input_a)
exce... | [
"klcpop1@gmail.com"
] | klcpop1@gmail.com |
9e94751b6f70c73ed790cef4cef4bfb8083f9ffd | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_traipsed.py | f59c7ae5d2434f5d2f1133296a72f7b2307b4aa4 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 226 | py |
#calss header
class _TRAIPSED():
def __init__(self,):
self.name = "TRAIPSED"
self.definitions = traipse
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['traipse']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
bbf8dd661fbdb60587e9c5e81591357bcd3bb949 | fdb6ce818c34d3f93a67e3c4b9e183220e37db78 | /session-hidden-examples-master/hidden/views.py | f871e81e2cc79b0bae62624d69bd618227d3988f | [] | no_license | alexmercertomoki/CodingTraining | 44d8f03c77b85d77d66ae0a0c60e676c7d22e81a | 691633eb0e2c6babfb39d8428848be58ca544140 | refs/heads/master | 2020-04-16T00:27:06.114656 | 2016-09-13T20:03:52 | 2016-09-13T20:03:52 | 68,142,122 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 575 | py | from django.shortcuts import render
def hidden_demo(request):
context = {}
if not 'first' in request.POST:
return render(request, 'hidden/get-first.html', context)
context['first'] = request.POST['first']
if not 'last' in request.POST:
return render(request, 'hidden/get-last.html', c... | [
"isaacbhuang@gmail.com"
] | isaacbhuang@gmail.com |
4ad15d0918ddbf23e1ab05b9d9d98f2d9228f5e6 | 37faf72814c0a49cfde079c8831ce7247a5e6d03 | /build/ar_track_alvar/ar_track_alvar_msgs/cmake/ar_track_alvar_msgs-genmsg-context.py | e920213a0d6a5bcfdb6f980c921d6fd2639a0e8e | [] | no_license | albtang/106A-Project | 93a9736476ae5b4f0ba071760a71742fa293b40a | 46639be993107a8169091f86b5f5190740a5bba1 | refs/heads/master | 2020-09-11T09:51:21.635101 | 2019-12-21T12:34:24 | 2019-12-21T12:34:24 | 222,027,312 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 953 | py | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/cc/ee106a/fa19/class/ee106a-abs/ros_workspaces/tetrisBot/106A-Project/src/ar_track_alvar/ar_track_alvar_msgs/msg/AlvarMarker.msg;/home/cc/ee106a/fa19/class/ee106a-abs/ros_workspaces/tetrisBot/106A-Project/src/ar_track_alvar/ar_track_alvar_msgs/m... | [
"ee106a-abs@c111-8.local"
] | ee106a-abs@c111-8.local |
b3371a9161743e81a68b2a0fb27d8d0fa7865ed3 | 569b47e199981f35477f6de53fb64413653d5997 | /show devices.py | ae9752e6b0f7d50a3dd40ab7e55750ca62a86ea6 | [] | no_license | joosthoi1/spotify-thing | 078bdb894e79afe6a5c00cb7c8bdb69c2bd9a8de | 12dacaa307ec7b92bfef71c047f84d2ff40ed7f1 | refs/heads/master | 2020-06-26T04:16:44.956477 | 2019-08-01T12:48:04 | 2019-08-01T12:48:04 | 199,526,582 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,745 | py | import tkinter as tk
import spotify_wrapper
import json
import requests
import time
class main:
def __init__(self):
self.root = tk.Tk()
with open("config.json", 'r') as file:
config = json.loads(file.read())
username = config['username']
client_id = config['clie... | [
"joosthoi1@openviza.com"
] | joosthoi1@openviza.com |
a8d1c3855133be357e3ac72d35616e8b7fc0d18b | ce07ccf78739a768971f393222fdca4a56315241 | /employee_management/employee_management/doctype/ord/ord.py | 5cfedfcf1c3f5f11200b1042214ecfbf25a91a73 | [
"MIT"
] | permissive | Gdinesh03/Frappe | 563e0ddbe925be536f65f925787ed321a6098c0d | efd2d1568b6f5b8a4e0ff31e06a415c717a3d32a | refs/heads/master | 2023-08-27T19:24:12.024442 | 2021-09-14T07:04:27 | 2021-09-14T07:04:27 | 406,260,373 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 805 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2021, Gopi and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
# import frappe
from frappe.model.document import Document
class Ord(Document):
def validate(self):
total = 0
for d in self.get('product_details'):
... | [
"vivekananthan112599@gmail.com"
] | vivekananthan112599@gmail.com |
7b1a94c46e89649da2de5c7eac0d1dfafcb723bf | b6924dbfc19907cc62fa503b3ba80b2085d0e82e | /core/log.py | 1d17a6ab498a5cc0a8a2da043f7c49e147b15159 | [] | no_license | PaulWasTaken/service_api | 9bd25b46c8559b3e0670248550838077872c3a5b | 64227fa92efd820bf7a63d2c883874c1abf7996d | refs/heads/master | 2021-06-17T19:20:12.380859 | 2019-07-16T11:23:17 | 2019-07-16T11:28:22 | 196,447,394 | 0 | 0 | null | 2021-04-20T18:22:57 | 2019-07-11T18:35:38 | Python | UTF-8 | Python | false | false | 421 | py | import logging
from config.logger_config import LOGS_PATH, LOG_LEVEL
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
file_handler = logging.FileHandler(LOGS_PATH)
file_handler.setLevel(LOG_LEVEL)
file_handler.setFormatter(formatter)
def get_logger(name):
logger = logging.g... | [
"ip98@list.ru"
] | ip98@list.ru |
1181b1fcaa5e87e38ec926ff5331b78ffa583ba7 | ffed44c171deea0d5ef2af7d0ddcdf7e6733f32a | /sale_product_smart_buttons/models/__init__.py | daba963f5fbf01121d9e6ab8c4911c1345081c49 | [] | no_license | Chandresh-SerpentCS/SerpentCS_Contributions | bec39730be5a886a7aa59282b3cf1cc894a67b65 | 9a03deb2b43fdb3313bb96f435082a8bb81e310d | refs/heads/10.0 | 2022-03-02T02:03:05.117022 | 2020-07-28T05:47:11 | 2020-07-28T05:47:11 | 85,973,203 | 3 | 1 | null | 2017-03-23T16:38:20 | 2017-03-23T16:38:20 | null | UTF-8 | Python | false | false | 108 | py | # -*- coding: utf-8 -*-
# See LICENSE file for full copyright and licensing details.
from . import product
| [
"jay.vora@serpentcs.com"
] | jay.vora@serpentcs.com |
bfe6d834e8798d3475fd843db6ea34bbfcd75c37 | 94cb06d6a89b3518ab103fab3bcc03634283bde1 | /doc/conf.py | 66028559cfc5b5e931cb05980597b20be38f05b7 | [] | no_license | krakphp/lava | 886bf108fa9ce86e284a070569c883ed8a8d6b1b | 88490c5b9bb577289139f73e91ef996362eb6bf1 | refs/heads/master | 2023-08-12T00:35:49.017101 | 2017-09-17T03:08:31 | 2017-09-17T03:08:31 | 84,716,297 | 1 | 0 | null | 2017-09-17T03:08:32 | 2017-03-12T10:08:09 | PHP | UTF-8 | Python | false | false | 9,752 | py | # -*- coding: utf-8 -*-
#
# Mw Http documentation build configuration file, created by
# sphinx-quickstart on Sun Nov 27 18:12:29 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# A... | [
"rj@bighead.net"
] | rj@bighead.net |
6d2bcb830f1e1bd1d6ad5e6a33c2a240bceaeb70 | 7606590d781a134cb1134fcf222f3eee6ce19219 | /contours.py | 7e06f119536b0f48d706000474ee09cedeb6ca49 | [] | no_license | lera000/use_openCV | ccca755938a4ce2feeb30c041d326130dad7afbe | b504f807de5380b91d89d1b9235ad48c559a838e | refs/heads/main | 2023-03-27T09:13:34.643495 | 2021-03-26T08:28:03 | 2021-03-26T08:28:03 | 351,703,905 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 669 | py | import cv2
import numpy as np
img = cv2.imread('D:/rec.jpg', cv2.IMREAD_UNCHANGED)
# изменение цвета на серый
img_grey = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
thresh = 100
ret, thresh_img = cv2.threshold(img_grey, thresh, 255, cv2.THRESH_BINARY)
contours, hierarchy = cv2.findContours(thresh_img, cv2.RETR_TRE... | [
"noreply@github.com"
] | lera000.noreply@github.com |
b502ac7418a2e4602dfb5cab8106552da7e0256a | 43667bd0af1086bc4a03fa82043dce0c448ab331 | /Tests.py | 8de830c641171728751e69c0245cad059b804d9e | [] | no_license | Dineshsgit/ea_transaction_data_analysis | 7a74f0dd476ecc42330686d8acb5b1074ce51bc8 | 08000e68c9717334c3214ad37c3e4e7f8694fb26 | refs/heads/main | 2023-05-10T15:26:38.707483 | 2021-06-16T02:35:08 | 2021-06-16T02:35:08 | 377,102,941 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 831 | py | import unittest
import logging
import pandas as pd
import os, os.path
from Main import read_input_file, generate_hash, split_dataframe, find_top_suburbs, find_top_agents_by_suburb, get_config
class ETLTest(unittest.TestCase):
def test_split_dataframe(self):
data = {'Product': ['Desktop Computer', 'Tablet... | [
"dineshveluri@qantasloyalty.com"
] | dineshveluri@qantasloyalty.com |
a9c5032284b09d96cf4da891a6fccb74215aa549 | 72fe58285dbfefb9151ebb7be11279fd55a8f5b2 | /chapter-04-trees-and-graphs/src/find_common.py | 99507b985f0e5a1e699c7800ffaadf6bf7720497 | [] | no_license | bearzk/cracking-the-coding-interview | 65f48c4352651c20ce6faba11d91c641bdfdfb88 | 461ce1887766f45eea57e3383db2c0fc4506e5ca | refs/heads/master | 2021-01-16T18:43:45.664633 | 2013-05-10T01:48:32 | 2013-05-10T01:48:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 741 | py | # coding: utf-8
class Result
def __init__(self, node, is_anc):
self.node = node
self.is_anc = is_anc
def common_anc(root, p, q):
if root is None:
return Result(None, False)
if root is p and root is q:
return Result(root, true)
rx = common_anc(root.left, p, q)
if rx... | [
"sugihara@gmail.com"
] | sugihara@gmail.com |
edde427c7169f9711b7de62ead15d113ad9ef1cc | ab52c09c428f73ad0a43a112a68dc7fe71fdacaf | /CSVfileUpload/CSVapp/forms.py | 5a9cf36f79baf2a2f177d593dc008c4ff8ac0b5e | [] | no_license | Raarav/web-engineering | cebb42ee2b25eb46eda0079402049a476cfbd1e9 | 330aacb51ca492318092824701fabdaf5a450546 | refs/heads/master | 2020-04-28T09:25:41.430471 | 2019-07-28T07:32:54 | 2019-07-28T07:32:54 | 175,166,535 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | from django import forms
from CSVapp.models import form
class EventsForm(forms.ModelForm):
class Meta:
model = form
fields = "__all__" | [
"33652351+Raarav@users.noreply.github.com"
] | 33652351+Raarav@users.noreply.github.com |
a8de915bd630c78b7ed9df7605161ba20b2c4146 | c46eaf84859f830e63ac09d87870ad1aefc4303a | /Python_Rust_Module/fibrs/setup.py | 72e94b2f54b65c1ed6e732dcab7911459c245054 | [
"MIT"
] | permissive | glella/fib | 7a2b21d6607e50f1916ee4a34baf463c130554ea | 440bdb4da5c4ecb06cabeb4b09770a69e204114a | refs/heads/main | 2023-04-01T15:51:25.049402 | 2021-04-13T23:58:58 | 2021-04-13T23:58:58 | 349,891,326 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 982 | py | import sys
from setuptools import setup
try:
from setuptools_rust import Binding, RustExtension
except ImportError:
import subprocess
errno = subprocess.call(
[sys.executable, '-m', 'pip', 'install', 'setuptools-rust'])
if errno:
print("Please install setuptools-rust package")
... | [
"arkorott@gmail.com"
] | arkorott@gmail.com |
2f9d9d0a5f33a0f8e9805fc11884091fcaef038d | 9015783bae7e68571fd349d59a0e7b2c54c5a4a8 | /Factory Method/Bin.py | e143263d0c4e44d4540eb27010b7bda28b4ffdf3 | [] | no_license | Bujno/Design-patterns | 0079fbee05983d099963ccf33996892910f1e1e8 | af9b7ae0ed2a2152b6deed5b59d59369108f7f51 | refs/heads/main | 2023-07-04T13:23:00.178447 | 2021-08-10T17:11:28 | 2021-08-10T17:11:28 | 393,768,565 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 494 | py | from Sweet import Sweet
class GlassBin:
def __init__(self, sweet_type: Sweet):
self.sweet_type = sweet_type
self.limit = 100
self.minimum = 10
self.set_of_sweets = {self.sweet_type.create_sweet() for _ in range(10)}
def restock(self):
if len(self.set_of_sweets)... | [
"0k.bujnowicz@gmail.com"
] | 0k.bujnowicz@gmail.com |
165fe338a7a24e1cc0a569fbbd334ca25723fb18 | f6679cc558ed0f1610745d8883e37cd5fd010810 | /optmlstat/ml/modeling/bayesian_least_squares_base.py | a4cf61cd1e0e2b04a587eb2fa9a5bf1b9ab47591 | [
"MIT"
] | permissive | sungheeyun/optmlstat | af984c5e1e270430b1b8fac88ccf341ec9313489 | ba89796d26eefe08b497eaf401b780d68094d128 | refs/heads/master | 2023-07-28T03:16:08.956797 | 2023-07-18T00:13:11 | 2023-07-18T00:13:11 | 234,828,129 | 4 | 1 | MIT | 2022-07-20T04:04:46 | 2020-01-19T02:28:46 | Python | UTF-8 | Python | false | false | 2,158 | py | from typing import Tuple
import abc
import numpy as np
from stats.dists.gaussian import Gaussian
from functions.function_base import FunctionBase
from ml.modeling.bayesian_modeler_base import BayesianModelerBase
class BayesianLeastSquaresBase(BayesianModelerBase):
def get_predictor(self) -> FunctionBase:
... | [
"sunghee.yun@gmail.com"
] | sunghee.yun@gmail.com |
34629a6d69c14efaa2f5389ad697c3260d71ecd0 | ab1891d96edf63354926158a2a96481b5ab4587f | /app.py | 894802b303109fabdcbdf2204f97f39c6053f3c7 | [] | no_license | Ravikumar-Orsu/BMI-calculator-using-Flask | 2989357ae3e3f6a2ffd133030a3d7dba47d5ed32 | 35b94bbacc46b4b612589f3492f263352dfe013f | refs/heads/main | 2023-03-22T14:31:36.047122 | 2021-03-16T04:54:21 | 2021-03-16T04:54:21 | 348,218,109 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 452 | py | from flask import Flask, render_template,request
app = Flask(__name__)
@app.route("/",methods=['GET','POST'])
def index():
bmi=""
if request.method=="POST" and 'weight' in request.form:
weight=float(request.form.get('weight'))
height=float(request.form.get('height'))
bmi=round(... | [
"noreply@github.com"
] | Ravikumar-Orsu.noreply@github.com |
e43c62f38f42153c1eeb029ab4ae25e4e477a4a8 | 48db5f8cf922c27d1a1ebab4b98206ca31336c65 | /trainer.py | 8afb7ca41825d2f4225dbb15d85fc659fdfb4136 | [] | no_license | yatendernitk/Machine-Learning-Python | fc45f8339c08d34ebcb8b901491d9251102b1fc7 | 654b75e4d3c4b99ea6e1d48b216fe2e925e994ff | refs/heads/master | 2020-05-23T22:17:27.452184 | 2017-03-14T13:10:34 | 2017-03-14T13:10:34 | 84,795,192 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 997 | py | from scipy import optimize
class trainer(object):
def __init__(self, N):
# Make Local reference to network:
self.N = N
def callbackF(self, params):
self.N.setParams(params)
self.J.append(self.N.costFunction(self.X, self.y))
def costFunctionWrapper(self, params, X, y):
... | [
"ok@Yatenders-MacBook-Pro-2.local"
] | ok@Yatenders-MacBook-Pro-2.local |
0ecb406dc4b005795c6d37aaa895fd106844ac7f | b1e7481f8b5bf40c2547c95b1863e25b11b8ef78 | /Kai/crab/NANOv7_NoveCampaign/2017/crab_script_2017_Mu_C.py | a8cd9f368837fbf5bec45d00d8e189ee53cc12fe | [
"Apache-2.0"
] | permissive | NJManganelli/FourTopNAOD | 3df39fd62c0546cdbb1886b23e35ebdc1d3598ad | c86181ae02b1933be59d563c94e76d39b83e0c52 | refs/heads/master | 2022-12-22T22:33:58.697162 | 2022-12-17T01:19:36 | 2022-12-17T01:19:36 | 143,607,743 | 1 | 1 | Apache-2.0 | 2022-06-04T23:11:42 | 2018-08-05T11:40:42 | Python | UTF-8 | Python | false | false | 6,794 | py | #!/usr/bin/env python
import os, time, collections, copy, json, multiprocessing
from PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor import *
from PhysicsTools.NanoAODTools.postprocessing.framework.crabhelper import inputFiles,runsAndLumis
from PhysicsTools.NanoAODTools.postprocessing.modules.common.p... | [
"nicholas.james.manganelli@cern.ch"
] | nicholas.james.manganelli@cern.ch |
8eb0ddd533b6242fa21b29701e10215b497fcd90 | d93901e7ff019c7c929594c17b9ed0c575dd1165 | /NumPyNet/box.py | 506948ebbb806413bf3c0380425a8914f0f69669 | [
"MIT"
] | permissive | Nico-Curti/NumPyNet | 0e673ad3da4120cd761a5b1f4c1f0c429cfd20a9 | c5e217751e28f0812282333b83964b7fee217cfb | refs/heads/master | 2022-05-04T04:51:50.076629 | 2022-03-28T10:02:15 | 2022-03-28T10:02:15 | 199,490,280 | 57 | 10 | null | null | null | null | UTF-8 | Python | false | false | 7,109 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division
from __future__ import print_function
import operator
from functools import wraps
__author__ = ['Mattia Ceccarelli', 'Nico Curti']
__email__ = ['mattia.ceccarelli3@studio.unibo.it', 'nico.curti2@unibo.it']
class Box (object):
'''
De... | [
"nico.curti2@unibo.it"
] | nico.curti2@unibo.it |
f22e1fdd4d81cea8b179bd88fa184e853f2d3167 | 133643780ba3ee33291471261e9d365c3b0bb9ae | /Includes/reset-model.py | e1543f7f67d1c4b0ec89948999389b0ee30c9c68 | [] | no_license | rajeshcummins/streaming-lakehouse | b884919af33a0af8a367dcfbfca469a0c997980c | c5533627a472fae25fcb85662eb11f434efd85d4 | refs/heads/master | 2023-06-02T06:41:47.162425 | 2021-06-15T17:03:23 | 2021-06-15T17:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 558 | py | # Databricks notebook source
from mlflow.tracking.client import MlflowClient
from mlflow.utils.rest_utils import RestException
dbutils.widgets.text("model_name", "foo")
model_name = dbutils.widgets.get("model_name")
client = MlflowClient()
try:
for version in [model.version for stage in ["production", "staging"]... | [
"dstrodtman-db"
] | dstrodtman-db |
8fab3a6177d60d8c3c725dbf64490e37be63d9d3 | 0f70a3eee204d7450fc955f10376bd45585b225c | /relational_operator.py | 53644ec930c9346b1ecf57434b82c2da97ac1f7f | [] | no_license | WillyChen123/2015Summer | 958aa4b6b969eff9f9b04052bbea43cf64b60ce8 | a8a3ea886d88db42299fe59880c99323516b2457 | refs/heads/master | 2021-01-01T05:38:35.912470 | 2015-07-15T03:10:55 | 2015-07-15T03:10:55 | 39,056,922 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 63 | py | print 3==5
print 3!=5
print 3>5
print 3>=5
print 3<5
print 3<=5 | [
"st40809@gmail.com"
] | st40809@gmail.com |
e8cff7405331705ecde8b0a9722786a9a9e6d615 | 11ff14c118240e87c4804d0373e4656d0683d479 | /RatToolAgent/test/firefox_test.py | 63c7ccf8fd97890cb406cd2616cc6efaffa93c1d | [] | no_license | wxmmavis/OS3.1 | e3028d9c79d5a1a17449fea6380fcdda902bdec7 | 26d954344207a82d2298821c3c4f01302393dc7e | refs/heads/master | 2020-03-25T20:07:11.225493 | 2018-08-13T03:20:57 | 2018-08-13T03:20:57 | 144,115,963 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 725 | py | import sys
sys.path += ['../../RatToolAgent']
import RatToolAgent as rta
id = rta.init_and_start_browser()
conf = {
'validation_url': "http://172.16.10.252/authenticated/",
'download_loc': r"//a[@id='logo']",
'file_name': "logo.zip",
'page_title': "Ruckus Automation T... | [
"1475806321@qq.com"
] | 1475806321@qq.com |
636959b4b870889c2713bd4b762912ae01610e75 | b75d6359ae8166287ad3e2cf0cf0115facfc4e48 | /stonks/stonks_view/urls.py | f26091ebd08a383fe3e698bebfaee4c83446615f | [] | no_license | webclinic017/stonks-5 | 1e9f60da74fb74f4e09bb3f840de0fe1e5141ae8 | 4e5e59c98c420a88eb4836b2316c3820b64b8484 | refs/heads/master | 2023-04-18T07:31:04.963716 | 2021-04-25T17:24:47 | 2021-04-25T17:24:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 866 | py | from django.urls import path, include
from stonks_view import views
from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register(r'users', views.UserViewSet)
router.register(r'companies', views.CompanyViewSet)
router.register(r'company-earnings', views.CompanyEarningsViewSet, basename="com... | [
"bulvikk@gmail.ccom"
] | bulvikk@gmail.ccom |
5a452e46158ffd07b091c7de1a10427e119ef214 | 956b239b94b090931232f5f974366ee82bb89fef | /app/auth/email.py | 9eaedbed9bb867d3ae9c8fc1436b50726e8eba49 | [] | no_license | victor-aunon/microblog | 57b3650cf9f999dba32ea4a6d3843dc00ed41bdc | b74107d5a0df4649ee6a8e2e055fba03c01bb09e | refs/heads/master | 2022-12-16T10:36:51.045300 | 2019-04-21T01:22:15 | 2019-04-21T01:22:15 | 180,673,044 | 2 | 0 | null | 2022-12-08T04:58:18 | 2019-04-10T22:25:32 | Python | UTF-8 | Python | false | false | 497 | py | from flask import render_template, current_app
from flask_babel import _
from app.email import send_email
def send_password_reset_email(user):
token = user.get_reset_password_token()
send_email(_('[Microblog] Reset Your Password'), sender=current_app.config['ADMINS'][0],
recipients=[user.email... | [
"angel.aunon.garcia@gmail.com"
] | angel.aunon.garcia@gmail.com |
4bad0a9d74fdc33c1b08594b16c3ae6ae2d4ad36 | 26b6a35e2415d94fbc1c9fc43814309a5d6f443b | /tests/test_openapi_basic.py | f18074c73970570a97135bc4faab94c39ee95a93 | [
"BSD-3-Clause",
"MIT"
] | permissive | BigRLab/apiflask | 57e0c036aa5d284da5340dcecd49108eea651bcd | d6dd5595009be5de6a7741a5a887276c3ac011bf | refs/heads/main | 2023-05-30T21:30:17.930046 | 2021-07-11T04:07:15 | 2021-07-11T04:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,700 | py | import json
import pytest
from openapi_spec_validator import validate_spec
from .schemas import BarSchema
from .schemas import BazSchema
from .schemas import FooSchema
from apiflask import doc
from apiflask import input
from apiflask import output
from apiflask import Schema as BaseSchema
from apiflask.fields import ... | [
"withlihui@gmail.com"
] | withlihui@gmail.com |
4394a0d430e67e0281718259baad893a3d33cdd3 | ab67dd529f45972b14e9a42fab5531861dbc582d | /Computer Science GCSE/Project/dobVerify.py | 20173cc912a82ee267f034620ac95d93a95e8402 | [] | no_license | hirurana/Past-Projects | e7f2e767625ca9df175c542f672a9f8ba5734875 | 5c29f59ce4a395f9a2b2b9b65b1d2594e5e5d6fa | refs/heads/master | 2021-08-27T23:47:47.146865 | 2017-12-10T20:27:22 | 2017-12-10T20:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 537 | py | dob = []
#ask for date of birth
newDob = input("Enter you date of birth in this format (e.g 10/08/99): \n")
if int(newDob[0])>3:
print("ERROR1")
newDob = input("Enter you date of birth in this format (e.g 10/08/99): \n")
elif int(newDob[3])>1:
print("ERROR2")
newDob = input("Enter you date... | [
"zcabhra@ucl.ac.uk"
] | zcabhra@ucl.ac.uk |
537d0566875454072446c9da67810baccfa301fc | b46e3837b5fa2e877ad0370aaa62a1c82d01408c | /old_files/akp/akp.py | 79a392d299c8580cab8e206a823db16e33a0ac38 | [] | no_license | alisever/WebCrawling | 13c3236ac1319ef9d7f23012a3d4f72f5dec73b7 | 4de03f9af3b2dec6647f01957fbe92bc4774040c | refs/heads/main | 2023-09-05T19:04:59.069459 | 2021-11-10T16:07:33 | 2021-11-10T16:07:33 | 399,955,870 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,686 | py | import json
import scrapy
base = 'https://www.akparti.org.tr/haberler/kategori/genel-baskan'
class AllSpider(scrapy.Spider):
name = 'akp_all'
start_urls = [base]
page_no = 0
def parse(self, response, **kwargs):
self.page_no += 1
headers = {
"accept": "application/json, ... | [
"alisever96@hotmail.com"
] | alisever96@hotmail.com |
5e3af5114585babcf6308a0eed07cab9358841d2 | 7edebeae484480e9ecd786308846b434f3ace53c | /python/clu/websocket.py | 7cfe3da86f84c10d7fa762a32a19e9cb9f065dc8 | [
"BSD-3-Clause"
] | permissive | sdss/clu | fb7b220df092447bbbd6de996dc0fa1785b5ff87 | 086e80a6baa783e25f8c7ca73cd4ba5c42234e08 | refs/heads/main | 2023-08-30T00:30:42.191915 | 2023-08-25T19:07:55 | 2023-08-25T19:07:55 | 183,817,446 | 6 | 0 | BSD-3-Clause | 2023-05-25T06:56:06 | 2019-04-27T20:12:55 | Python | UTF-8 | Python | false | false | 3,648 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2023-05-25
# @Filename: websocket.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
from __future__ import annotations
import json
from typing import TYPE_CHECKING
from websockets.l... | [
"noreply@github.com"
] | sdss.noreply@github.com |
abcd9cf3a6a72e23d78bf410cfbdac852343d238 | eb40dce4039d528b9cd06dbeda75da09d09d7fc5 | /need_install/Django-1.8.17/tests/basic/models.py | 0ebe3e0b4af812d92177a78a86fa007380fb0e16 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | MulticsYin/MulticsSH | 39b62189446787c7f0f037b1640c9c780bd1dddd | 5837a0bff0e7da0e8535e4e0b31ef6baf24274b4 | refs/heads/master | 2021-08-28T07:53:51.759679 | 2017-12-11T15:31:03 | 2017-12-11T15:31:03 | 82,428,902 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,044 | py | # -*- coding: utf-8 -*-
"""
Bare-bones model
This is a basic model with only two non-primary-key fields.
"""
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Article(models.Model):
headline = models.CharField(max_length=100, default='De... | [
"multics_luo@163.com"
] | multics_luo@163.com |
2905b09b116aa8620144bb52dcea36c4afdbe2c0 | f3065d37482cffadb5fe8caa397a8cc946710485 | /django_structure/src/profiles/migrations/0012_auto_20180321_1745.py | 279bfa92783124289a640b745c930b92b7f4703f | [] | no_license | AlfredMulder/Django_work | 6d006f8b1e0c679ed43377fb891d215e870114a9 | 5d347d6897f58f6977ab584a80edb111ed2dabaf | refs/heads/master | 2020-04-10T21:56:01.475953 | 2019-06-25T15:13:19 | 2019-06-25T15:13:19 | 124,296,776 | 0 | 0 | null | 2018-03-07T21:34:41 | 2018-03-07T21:29:05 | null | UTF-8 | Python | false | false | 440 | py | # Generated by Django 2.0.3 on 2018-03-21 17:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('profiles', '0011_auto_20180321_1744'),
]
operations = [
migrations.AlterField(
model_name='profile',
name='image',
... | [
"xanderhref@protonmail.com"
] | xanderhref@protonmail.com |
62130bd3030fa0dac1dd8acc26e97984f4f5efaa | fcd000497f179b1f43fead5a3198b0cbc85a5f0a | /src/smile_to_world_xiaofeng/hello.py | 08c2291ec06d2f8a2a828a4f8667aecddafe99e5 | [
"MIT"
] | permissive | XiaofengZhu/pypi-hello-world | 649480b524a2e9fa6bd347afdeb8ce4c53728a95 | ed980582362774c0b6350e0d0ade358022a14bbd | refs/heads/main | 2023-05-02T14:34:53.842517 | 2021-05-13T20:34:19 | 2021-05-13T20:34:19 | 366,445,915 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 176 | py | import time
class Hello:
def __init__(self):
self._author = 'Xiaofeng Zhu'
def print_message(self):
print('Hello world from {} at {}'.format(self._author, time.time())) | [
"xiaofengzhu@Xiaofengs-MBP.hsd1.wa.comcast.net"
] | xiaofengzhu@Xiaofengs-MBP.hsd1.wa.comcast.net |
9e2c439b85cafbc58738b03142b5eb7d4ab22848 | f0c44fbc139404011f55edc0c6a4f3c07f63a89f | /Assignment_6_Sort_Dataframe_Columns.py | 08be0b7cd396afa624b77cdc2ab28cbe72c46da6 | [] | no_license | A-Kryston/ISM-4402-BI-Public | 9a2e24102da19776b7d54a13b1bf51e621e0cf72 | ffe78e2dbc2c0e1bd184dc59b0710a61d28f80c1 | refs/heads/master | 2020-07-22T23:35:29.094728 | 2019-12-02T21:22:03 | 2019-12-02T21:22:03 | 207,369,185 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 980 | py | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
# Andrea Kryston
# Assignment #6 - Sort columns in a dataframe (pg 60)
# Due Date - October 14, 2019
import pandas as pd # Import pandas library
Location = "Datasets/gradedata.csv" # Locate file to be used for this exercise
df = pd.read_csv(Location... | [
"noreply@github.com"
] | A-Kryston.noreply@github.com |
0cbc26a7c531c9e66e72aff03e1ef1e05d090406 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2542/60761/235001.py | 0f6cce935b31eb1a6dc6d3e0854022eb80c48159 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 301 | py | import math
arr=input("")
arr=arr.replace("[","")
arr=arr.replace("]","")
arr=list(map(int,arr.split(",")))
arr.sort()
i=1
maxlen=1
templen=1
while(i<len(arr)):
if(arr[i]==arr[i-1]+1):
templen=templen+1
else:
maxlen=max(templen,maxlen)
templen=1
i=i+1
print(maxlen) | [
"1069583789@qq.com"
] | 1069583789@qq.com |
bec783ab3edecf3218d44d70daa4be040eb61f27 | a398e6f0d692130b64c12943b1efdaa6c3a0eac9 | /Chapter08/display_message.py | da194bda7a95a1ce1874642fe44ec068f5e26d7b | [] | no_license | xue9981/LP2 | c0792681c928348d6ff479315eb7e9d80be8a156 | 500d585ffe057b4a8522f9df2b2052e56bbf25f8 | refs/heads/master | 2020-07-30T23:09:06.089682 | 2019-10-01T16:07:22 | 2019-10-01T16:07:22 | 210,391,934 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 110 | py | def display_message():
print("関数の使い方、作成の仕方について学ぶ")
display_message()
| [
"xue@cs.meiji.ac.jp"
] | xue@cs.meiji.ac.jp |
809f94d693db05b2538535e2564bda1e23251399 | fc76bfd8519ad194a07d21130b74fe5794517056 | /PicoCTF 2017/Level 3/Cryptography/smallRSA/main.py | 65ddd2a955ddfa77ed7e1c613a96d45fb304dade | [] | no_license | t00lbox/CTF-Writeups | 7fe63bbe7a5af3f30d2d9542e2ac51ff828bc0e9 | 62b45e679dee40f75bd4cc914bc2e893a85f20a4 | refs/heads/master | 2020-03-21T14:48:58.859341 | 2018-06-26T00:06:01 | 2018-06-26T00:06:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,077 | py | e = 165528674684553774754161107952508373110624366523537426971950721796143115780129435315899759675151336726943047090419484833345443949104434072639959175019000332954933802344468968633829926100061874628202284567388558408274913523076548466524630414081156553457145524778651651092522168245814433643807177041677885126141
n = 38... | [
"19695201+BOAKGP@users.noreply.github.com"
] | 19695201+BOAKGP@users.noreply.github.com |
d7212911ec66d3aef973e7604e6b39d5d3ee0e66 | 38242a2852f166267bf65b050ec95ed8cb877852 | /python_tips/manage.py | 7a69fcaa0b68220124d0d1e0fcbc5f915d12f9c7 | [
"MIT"
] | permissive | charlesDavid009/tweety | 33cb9307aba2f131caf6184de785117c6027aa53 | 52d1dcda47c12596a4d37e7e253a41b0130a6a61 | refs/heads/main | 2023-05-31T08:34:06.950645 | 2021-07-14T08:25:19 | 2021-07-14T08:25:19 | 383,505,671 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 667 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'python_tips.settings')
try:
from django.core.management import execute_from_command_line
except ... | [
"zuesghost1@gmail.com"
] | zuesghost1@gmail.com |
577a5e847afa46777a5a089b90511294bade82fa | 64261553066b91dd774f3e051658f83fd41dc415 | /MediumLevel/LongestSubstringWithoutRepeatingCharacters.py | f38736bb7f38f3fb696a229a234ae0b6ab97781e | [] | no_license | sahilshah1610/LeetCode | 1b5ec827cce3c4d66eda24fd16a1d7266ff8fc47 | 28e65a2caba7cf0c757195f76bcaf17e8dd28419 | refs/heads/master | 2023-03-02T15:36:15.325209 | 2021-02-12T01:48:15 | 2021-02-12T01:48:15 | 314,371,688 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 645 | py | class Solution(object):
def lengthOfLongestSubstring(self, s):
"""
:type s: str
:rtype: int
"""
if len(s)==0:
return 0
mapping = {}
maxLenght=start=0
for i in range(len(s)):
if s[i] in mapping and start <= mapping[s[i]]:
... | [
"sahil.shah56@gmail.com"
] | sahil.shah56@gmail.com |
b81df29cd5bc086a10b9d34a9da102aebefd5724 | 47766dd4a7fe325ff53db9754d9962d54c3bce20 | /week3/review/3_iterator_filter.py | 80ea40d7c9f41ed54fa37c8d4e41776379da7cfc | [
"Apache-2.0"
] | permissive | skku-overflow/python-2020-2 | 1ed327a075b4ddd6b1feecb5cabc75e8913de726 | def09d9a8ff32ee085edaa5eca89ccc03c29af2a | refs/heads/main | 2023-03-06T16:13:40.439521 | 2021-02-21T07:23:07 | 2021-02-21T07:23:07 | 316,898,851 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 267 | py |
def is_even(n):
return n % 2 == 0
l = [1, 2, 3, 4, 5, 6, 7, 8, 9]
print(l)
evens = list(filter(is_even, l))
print(evens)
def is_first_even(arg):
a, b = arg
return a % 2 == 0
l2 = [(1, 2), (2, 3)]
print(l2)
print(list(filter(is_first_even, l2)))
| [
"kdy1997.dev@gmail.com"
] | kdy1997.dev@gmail.com |
13e7dfb79f5a9e988593ddae9d68927018ac1463 | f070c3acba7da2254adc2c12f80e54b830396d40 | /test/venv/bin/futurize | 65e98b939532e827e94109ba696ca6402ce2bfc3 | [] | no_license | liruidesysu/cloudCluster | 241a6ac472ecce9c6b4c966a44304128d258fc9b | fc558b464c3052f59cb1e6326aa22bade556b0c8 | refs/heads/master | 2022-11-06T03:51:31.954607 | 2019-08-22T12:47:53 | 2019-08-22T12:47:53 | 200,144,454 | 0 | 1 | null | 2022-03-29T21:56:02 | 2019-08-02T01:42:17 | Python | UTF-8 | Python | false | false | 252 | #!/home/liruide/Desktop/cloudCluster/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from libfuturize.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"liruide_read@outlook.com"
] | liruide_read@outlook.com | |
309503445ede6d2acdd13fee339865beec91d5f7 | 17625b317bdd2111453bdcf05f0e7cdb140b888e | /keepitpossible/backup/unity_lib.py | 82f854bcb2e98ae3d45d901386ba15f6466f3970 | [
"Apache-2.0"
] | permissive | ChenKuanSun/TheObstacleTowerChallenge | e93bdeb74dc0790d965111c9ee41c03472ba7a35 | c2de16930dd88949c0bc6a460f378beae3a04204 | refs/heads/master | 2021-02-27T06:31:10.861317 | 2020-03-07T07:35:25 | 2020-03-07T07:35:25 | 245,587,983 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,491 | py | # coding=utf-8
# Copyright 2018 The Dopamine Authors.
# Modifications copyright 2019 Unity Technologies.
#
# 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... | [
"fgriasa123@gmail.com"
] | fgriasa123@gmail.com |
4450a20d24354e763675dde15bcfdb903c38b2d4 | f2982bb689fa9eecbf1503d0db5688923802d507 | /KRTimedDraw.py | efdfe94a8b8fce5b537587dcff98902d9ccd6bc1 | [] | no_license | KareshiKraise/timeDrawingHelper | 448d0340e1103f0a52f075137001c89c029b1247 | 809f2fa136300b04d8c27250d7f2165dfd73dd7f | refs/heads/main | 2023-06-04T06:50:17.993974 | 2021-06-22T21:34:38 | 2021-06-22T21:34:38 | 358,704,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,626 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\timedHelper.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
#
from PyQt5 import QtCor... | [
"vitormoraesaranha@gmail.com"
] | vitormoraesaranha@gmail.com |
9a0274111f19a917ed032d7aca9be73c9e930a24 | 02a9e1be198a82793a9e9aea1f0f46cde0e8c85e | /prac_01/broken_score.py | feaede5759932a9410dbe13cbc382d805aaeb5cf | [] | no_license | DaniRyland-Lawson/CP1404-cp1404practicals- | 04cfce69f55b26cf7cf30d2ea2a1198d9514c527 | 8b8776ca5a8dee8f8c21697c79dbbd2cd95320f7 | refs/heads/master | 2020-07-06T22:50:21.130873 | 2019-11-12T03:45:50 | 2019-11-12T03:45:50 | 203,162,819 | 0 | 0 | null | 2019-11-12T03:49:59 | 2019-08-19T11:52:56 | Python | UTF-8 | Python | false | false | 384 | py | """
CP1404/CP5632 - Practical
Broken program to determine score status
"""
# In this section, it took me a little while to realise it is best in order. Highest to lowest.
score = float(input("Enter score: "))
if score < 0 or score >100:
print("Invalid score")
elif score >= 90:
print("Excellent")
e... | [
"noreply@github.com"
] | DaniRyland-Lawson.noreply@github.com |
04e3a1cfd126c0710557c5f5944b73240af4deec | e82b761f53d6a3ae023ee65a219eea38e66946a0 | /All_In_One/addons/vb25/plugins/TexSwirl.py | 9ca7e67f86475efdb3be99c3fa816a582b516141 | [] | no_license | 2434325680/Learnbgame | f3a050c28df588cbb3b14e1067a58221252e2e40 | 7b796d30dfd22b7706a93e4419ed913d18d29a44 | refs/heads/master | 2023-08-22T23:59:55.711050 | 2021-10-17T07:26:07 | 2021-10-17T07:26:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,575 | py | #
# V-Ray/Blender
#
# http://vray.cgdo.ru
#
# Author: Andrey M. Izrantsev (aka bdancer)
# E-Mail: izrantsev@cgdo.ru
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the Li... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
7c658b02af1216d35936435030ac30caedbcf48f | e79888cd68177e7ec5125270cdc52f888e211e78 | /hirao/chapter01/knock04.py | de4c0c4219da8267d76dd51e2e4cbcf9b31ea0fd | [] | no_license | cafenoctua/100knock2019 | ec259bee27936bdacfe0097d42f23cc7500f0a07 | 88717a78c4290101a021fbe8b4f054f76c9d3fa6 | refs/heads/master | 2022-06-22T04:42:03.939373 | 2019-09-03T11:05:19 | 2019-09-03T11:05:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | s = "Hi He Lied Because Boron Could Not Oxidize Fluorine. New Nations Might Also Sign Peace Security Clause. Arthur King Can."
drop = ",."
print(s)
for c in list(drop):
s = s.replace(c, "")
s = s.split()
display_list = [1, 5, 6, 7, 8, 9, 15, 16, 19]
ans_dict = {}
for i, word in enumerate(s):
if i + 1 in displ... | [
"reohirao116@gmail.com"
] | reohirao116@gmail.com |
be3f6184a13b0ec8ef97011496b815a287a03c3b | 6a76709e8a7fbcdfc3372120a4086718a07a270a | /dataset/dataset.py | 8517ccd17567d2c124b6211acfeb950ee765e64f | [] | no_license | jungdaechul-coderepo/EfficientDet | 17e831f5146934e276e243529709b94bbfbfa3f1 | ff132eb985676edc6df8e6c5a629f4974df47010 | refs/heads/main | 2023-05-12T08:28:57.840999 | 2020-11-26T08:54:11 | 2020-11-26T08:54:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,902 | py | import torch
import torch.nn as nn
import os
import glob
from PIL import Image
import time
import cv2
class Retina_dataset(object):
def __init__(self, input_dir,transform, input_format='RGB', output_format='RGB'):
self.input_imgs=[]
self.input_format=input_format
self.output_format... | [
"bigpicture.jh@gmail.com"
] | bigpicture.jh@gmail.com |
9368e2c5913f38ac451218f6b28dc42e68db257c | c7178837cf98e1bc89027d8462c57727ea05de58 | /elections/urls.py | 4474d57f79fb8941a6cafe1abfa416547c0b3f7c | [] | no_license | sook1421/django_j | a04c223a49fb6f7cb9426eb929722eeb70857ba5 | 7d11792fcf723156d6e3667c5df7ef0201ce415f | refs/heads/master | 2021-09-06T23:04:42.955695 | 2018-02-13T05:26:09 | 2018-02-13T05:26:09 | 103,805,459 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 112 | py | from django.conf.urls import url, include
from . import views
urlpatterns = [
url(r'^$', views.index),
]
| [
"sook1421@chol.com"
] | sook1421@chol.com |
aab147e4b5ac5e64ffb29c9993c9b62cc92184ba | 562d45351e4e23f5548a325b884bd57f93e5373d | /venv/bin/ckeygen | cf97c6fe71ee55d25b62eb485e30a320fc7c17a0 | [] | no_license | manjumugali/BridgeLabz_PythonPrograms | 401efc320804d74017b1e6cbe99b45fd75193243 | ff4093cc9b0256ede9f7ef3a0e042fe352263f82 | refs/heads/master | 2020-04-19T22:17:07.050403 | 2019-02-13T05:18:56 | 2019-02-13T05:18:56 | 168,465,224 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 413 | #!/home/admin1/Desktop/chatApp/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==18.9.0','console_scripts','ckeygen'
__requires__ = 'Twisted==18.9.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
... | [
"manjumugali111@gmail.com"
] | manjumugali111@gmail.com | |
3c22bf817ee148fbc70da528dfb8cff5991cedb0 | f12fac0dd5c9c9eeedff16377d1f57a3cd02ef32 | /Python游戏编程入门/02.初识Pygame:Pie游戏/绘制弧形.py | 8031255f9f3580e0e721331544bdda1f67ae9357 | [] | no_license | SesameMing/PythonPygame | 61fe09a38d1729963b86f348b349572760676195 | ca0554427cd30838d56630e8b1e04aa0e26834a1 | refs/heads/master | 2020-12-07T21:23:56.271193 | 2016-11-25T06:38:06 | 2016-11-25T06:38:06 | 66,639,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 685 | py | #!/usr/bin/env python3
# -*-coding:utf-8-*-
# Author:SesameMing <blog.v-api.cn>
# Email:admin@v-api.cn
# Time:2016-11-25 12:51
import sys
import math
import pygame
from pygame.locals import *
pygame.init()
screen = pygame.display.set_mode((600, 500))
pygame.display.set_caption("Drawing Arcs")
while True:
for even... | [
"admin@v-api.cn"
] | admin@v-api.cn |
fc362768e4ec1bd2b2882b5a20af0d37ee5f822a | fbbe424559f64e9a94116a07eaaa555a01b0a7bb | /Keras_tensorflow_nightly/source2.7/tensorflow/contrib/model_pruning/python/layers/core_layers.py | 764ab620bc2227ff5e8e3f473d689e0e133e83d4 | [
"MIT"
] | permissive | ryfeus/lambda-packs | 6544adb4dec19b8e71d75c24d8ed789b785b0369 | cabf6e4f1970dc14302f87414f170de19944bac2 | refs/heads/master | 2022-12-07T16:18:52.475504 | 2022-11-29T13:35:35 | 2022-11-29T13:35:35 | 71,386,735 | 1,283 | 263 | MIT | 2022-11-26T05:02:14 | 2016-10-19T18:22:39 | Python | UTF-8 | Python | false | false | 19,691 | py | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | [
"ryfeus@gmail.com"
] | ryfeus@gmail.com |
0b82a15f2668611f51876dc75eb02c6ccb69ac64 | d320dc1177bd40be1ace9e5b76f25b93a22a6e25 | /appium_test/app_base.py | f12af230cec4031049b0a89eb5d3a39812e07a82 | [] | no_license | qq1403332591/Hogwarts15 | 26c6424246ee3677920a5f44967d1ba8c611bc85 | d6cd852fff89b8f901e449276eb95d64ec3e14f3 | refs/heads/master | 2023-01-09T13:46:01.067470 | 2020-11-11T13:15:51 | 2020-11-11T13:28:15 | 304,650,417 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,394 | py | from appium import webdriver
class Base():
def setup(self):
desired_caps = {}
desired_caps['platformName'] = 'Android' # 打开什么平台的app,固定的 > 启动安卓平台
desired_caps['platformVersion'] = '10' # 安卓系统的版本号:adb shell getprop ro.build.version.release
desired_caps['deviceName'] = 'V1938T' # 手... | [
"1403332591@qq.com"
] | 1403332591@qq.com |
26030f347e76ad066fd9e10dc35bf688f5b153f8 | b8fd409ee054f68807e607b01f9c7e9bf9e3cbc8 | /newPollApp/asgi.py | 196033b636c49dbe18a7484aa38b2d7d265f3dc0 | [] | no_license | diptajit-dev-biswas/python-startapp | 1fa4e7b5ab9e75f0e139473e82eda1a31a98a90b | f6cd5000cf08a9dba0c5c6b903d70dd88e13449d | refs/heads/main | 2023-07-17T18:54:18.826199 | 2021-08-16T08:11:30 | 2021-08-16T08:11:30 | 396,665,847 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | """
ASGI config for newPollApp 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.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SE... | [
"diptajit@appstangodev.com"
] | diptajit@appstangodev.com |
c9e5718005ed29e21e424f7db8f4e8370bf44c9a | b23a9b67159c94d881513d3c19351d591329476f | /mc/OffPolicyMc.py | 2ef1b7efe5a29f7169ed8d14df05c038efa94954 | [] | no_license | zuofeng1997/rl | 1a0933296cd2319375fc10bf69fde74e0fe15be1 | 90d64bbc5335e255417b0d1a91b5555f17d4d8cb | refs/heads/master | 2020-03-22T11:28:41.107250 | 2018-08-21T07:15:40 | 2018-08-21T07:15:40 | 139,973,196 | 8 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,837 | py | from copy import deepcopy
import numpy as np
class FiniteMcModel:
def __init__(self,state_space,action_space,gamma=0.99,epsilon=0.3):
self.gamma = gamma
self.epsilon = epsilon
self.Q = None
if isinstance(action_space,int):
self.action_space = np.arange(action_space)
... | [
"1065504865@qq.com"
] | 1065504865@qq.com |
85c63654cacf60d20305f0e502209f0294028474 | 0734f6b90379ba0850426db18a9470a161151805 | /setup.py | 46572860be6de6e827439be07ebb60a686330c3e | [
"MIT"
] | permissive | alexhayes/schematics-xml | af69c6ed4437603bc478d0fc66a4f79d0a204d16 | 36ac15a5e2891d238bebe0b3bb3ef8d5e8425ed9 | refs/heads/develop | 2022-08-01T00:03:14.428519 | 2016-11-11T04:54:32 | 2016-11-11T04:54:32 | 72,046,221 | 2 | 3 | MIT | 2022-07-06T19:48:26 | 2016-10-26T21:32:10 | Python | UTF-8 | Python | false | false | 3,726 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
is_setuptools = True
except ImportError:
raise
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages #... | [
"alex@commoncode.io"
] | alex@commoncode.io |
299ff26f17f629c6eed7981129ec94c0daf43684 | f5f92ee9f6a4ae8c7a1c029ccab6386b338069d3 | /wk3/f8.py | 1e8bb4259716d19e5d3e8fe13d7fc39ecf21701f | [] | no_license | JustinAnthonyB/Python | 7300a6e25a314b202c098d08e49037557046fb4c | e647376cf43c6ccdceb38f5d7d34ccda7550ea27 | refs/heads/master | 2020-12-10T03:44:34.555223 | 2020-04-02T19:28:56 | 2020-04-02T19:28:56 | 233,493,263 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 833 | py | """
Ask the user to enter a password
Determine if password is
Not acceptable
less than 5 chars
Weak
between 5 and 7
Medium
between 8 and 10 chars
Strong
11 chars or more
Using an if statement, output whether text
meets requirement
Input from user?
1:... | [
"noreply@github.com"
] | JustinAnthonyB.noreply@github.com |
9fc5c37346192644bc12a0b5a2a6817f98a26c5e | f384d0bd72edf56edc06b2bba84fc8ca8e73e6e5 | /calculos/salinidad.py | 61c1537b557a0c5704df400ab75a1f2a59373a73 | [] | no_license | jvaldesa/lia | ec44ed98f5efcd2cc1689040684a210dc6dadea1 | 7d362fb351142463f5e35bb0fbe8773efee5158c | refs/heads/master | 2020-04-04T20:33:56.740231 | 2019-05-07T14:53:01 | 2019-05-07T14:53:01 | 156,251,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,166 | py | from decimal import Decimal
def cationes(titulacionCaMg, normalidadEDTA, titulacionCa, alicuota, Na, K):
titulacionCaMg = Decimal(titulacionCaMg)
normalidadEDTA = Decimal(normalidadEDTA)
titulacionCa = Decimal(titulacionCa)
alicuota = Decimal(alicuota)
Na = Decimal(Na)
K = Decimal(K)
"""
... | [
"jvaldes_a@hotmail.com"
] | jvaldes_a@hotmail.com |
498848a1ce67711fa364584705c0f90477f76fb5 | 90e049109be38889523b265d2683a4f29a57da30 | /flink-python/pyflink/table/tests/test_table_environment_api.py | 64080f1e53b36dd5df4f0c09993ae8772e33988c | [
"BSD-3-Clause",
"MIT",
"OFL-1.1",
"ISC",
"Apache-2.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC-BY-3.0",
"LGPL-2.1-only",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-proprietary-license",
"Lic... | permissive | Jasonpengrui/flink | bc7cf1baced87a72a75e2bd0e326a137ed0ab529 | 81a5212cb99b860de9c7384fa14caaa3f5af1c1f | refs/heads/master | 2020-06-10T16:44:23.895203 | 2019-12-09T06:35:08 | 2019-12-09T06:35:08 | 193,673,904 | 0 | 0 | Apache-2.0 | 2019-06-25T09:09:15 | 2019-06-25T09:09:14 | null | UTF-8 | Python | false | false | 10,360 | 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... | [
"sunjincheng121@gmail.com"
] | sunjincheng121@gmail.com |
5eb0a435e2e4872f4a9c5255d5028bd2f73e4b3d | 89bbb2e46f844b2be046185a4ee54b6d8986a53b | /instagram/urls.py | e97967c6593fe974c8aae481aecf75dd5aa03231 | [
"Beerware"
] | permissive | SL0KY/instagram-like | aedb0ac222fac3350915199c0979e568ca0314e9 | 1641d44d03b0fb51a51cb96520fed279bd6c2e86 | refs/heads/master | 2020-09-21T14:02:01.761038 | 2020-02-13T09:08:58 | 2020-02-13T09:08:58 | 224,810,401 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,894 | py | """insta URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.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')
Class-based v... | [
"dominguesquentin@gmail.com"
] | dominguesquentin@gmail.com |
6388a3763a8737a12142d29fd6a3202fbd197144 | 31ff066c1e0b3d2e88326ca66584ef579484ba09 | /final/fractal/fractal/settings.py | ca82802c1d21423383704d39fceb886d1d6f8b8e | [] | no_license | Lightningbread76/YellowBrick | c82b757c4f2bf5fe6b6ce8c42efb231c1653575d | dd144da0e6676a0d6df669b8caeb7a9c5220c5e7 | refs/heads/main | 2023-04-15T15:30:48.179818 | 2021-04-23T16:39:07 | 2021-04-23T16:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,172 | py | """
Django settings for fractal project.
Generated by 'django-admin startproject' using Django 2.2.7.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
#... | [
"quinnrelyea@gmail.com"
] | quinnrelyea@gmail.com |
40705c7d2144ce3f9aa84b4ded8f1f39a82e78c7 | 60ebf96283c09886366b7b03cf13a53551a9e33a | /movie.py | 2f9a266ca19eba3f04aad4dd762a0a2c3e773059 | [] | no_license | angietibbs618/movies | 85abee6564c21f0d74821d87d8ee56d0d97d09b6 | 792e1ab824e1bff5abd36456b9ee83e1d98ff554 | refs/heads/master | 2021-01-19T11:35:19.897539 | 2017-04-26T14:19:00 | 2017-04-26T14:19:00 | 87,980,231 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 507 | py | import webbrowser
class Movie():
""" This class provides a way to store movie related information"""
valid_ratings = ["G", "PG", "PG-13", "R"]
def __init__(self, movie_title, movie_storyline, poster_image, trailer_youtube):
self.title = movie_title
self.storyline = movie_storyl... | [
"noreply@github.com"
] | angietibbs618.noreply@github.com |
a0f39619acc90f05c7ecc8ea66be9b18ee6058d7 | a63edabd559753582d464460afe0d8f2a3377b37 | /SpiderNode/preWork.py | 3ab2c0e734bfd7d77290f157c6363853e21188ad | [] | no_license | liangxs0/lagouCrawler | 6324d688a10fde86ecf813e696c164e4dbe72cf5 | d17d51e37f7078923e00baef40fc2440eeebf059 | refs/heads/master | 2020-03-13T17:32:31.645516 | 2018-04-15T14:09:15 | 2018-04-15T14:09:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,825 | py | #-*-coding:utf-8-*-
import requests
from lxml import etree
import json
import urllib.parse
#获取首页的工作分类
def getIndexPageJob():
url="https://www.lagou.com/"
header={'User-Agent':"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36"}
proxies={"htt... | [
"lrtxpra@163.com"
] | lrtxpra@163.com |
c04479133e596d0015f9df6569bf7d2c2283e6d1 | b23c6c02d9b54c987bca2e36c3506cf80fa28239 | /python databse connectivity progs/bind variable.py | a9bf8a8d9dcc71bd722251121197416765b6ba4e | [] | no_license | nishikaverma/Python_progs | 21190c88460a79f5ce20bb25d1b35f732fadd642 | 78f0cadde80b85356b4cb7ba518313094715aaa5 | refs/heads/master | 2022-06-12T14:54:03.442837 | 2020-05-08T10:28:58 | 2020-05-08T10:28:58 | 262,293,571 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 953 | py | import cx_Oracle
try:
conn=cx_Oracle.connect("system/oracle123@localhost/orcl")
print("connection established")
cur=conn.cursor()
print("cursor created!")
print("***********************")
cur.execute("Select Book_name,Book_price from Books")
for x in cur:
print(x)
pr... | [
"nishika.verma@live.com"
] | nishika.verma@live.com |
ced5ac21aec05c62ab3a5d490799f6547ae76833 | 40686808bb915db93c03069bfe4ab9ec73663c19 | /classification_testing.py | dac47c7d32750fcf6ad52f3914b4abf012619c31 | [] | no_license | AzogDefiler/classification_wav | 340f2be9352c284fc23d6f3df3d38a15d30d97a6 | 3a36d4533f13afda181a8f6a442b879cb7a8fa72 | refs/heads/master | 2020-03-22T03:25:43.989167 | 2018-07-02T19:21:09 | 2018-07-02T19:21:09 | 139,431,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,696 | py |
# coding: utf-8
# In[1]:
# Aminov Rezo
import numpy as np
import wave
import pandas as pd
import matplotlib.pyplot as plt
get_ipython().magic('matplotlib inline')
from glob import glob
import random
import struct
from keras.models import *
from keras.layers import *
from keras.callbacks import *
import librosa
... | [
"aminov@skytracking.ru"
] | aminov@skytracking.ru |
9336731a6cd88e7a8b99c2564c74415e27d8d968 | 1e697dc34e0e4ca3fc877209e21a99d15074e71c | /0x02-python-import_modules/1-calculation.py | f3f7b31bc85c69092d619f0b53f1055e8bd128f4 | [] | no_license | ZoltanMG/holbertonschool-higher_level_programming | 97e51030e2203efd0b9bc0539c9916e58e7b50fb | c50a7263531e115cdbd285bb67de34fed32a41a1 | refs/heads/master | 2023-03-03T03:17:28.447086 | 2021-02-13T02:40:33 | 2021-02-13T02:40:33 | 259,444,476 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 316 | py | #!/usr/bin/python3
if __name__ == '__main__':
from calculator_1 import add, sub, mul, div
a = 10
b = 5
print('{} + {} = {}'.format(a, b, add(a, b)))
print('{} - {} = {}'.format(a, b, sub(a, b)))
print('{} * {} = {}'.format(a, b, mul(a, b)))
print('{} / {} = {}'.format(a, b, div(a, b)))
| [
"zoltanmoragarcia@gmail.com"
] | zoltanmoragarcia@gmail.com |
9379fb1cf8f8a0ce4ebdd89c1b183018f97816d5 | 7b82cd6d0c8d7eb968ec4eb2dc7020316880e690 | /aswissues/migrations/0013_auto_20191119_2241.py | e3afc2b41389cc02b6ce0652b70c209ab9ffecb5 | [] | no_license | kennyangelfib/ASW-Issue-Tracker | abbeed5e5517f74beb66a06225df19de926fd250 | d9087ad422b6f97de8854bc936943001387d168e | refs/heads/master | 2022-04-11T21:27:46.933937 | 2020-01-14T13:43:37 | 2020-01-14T13:43:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,414 | py | # Generated by Django 2.2.7 on 2019-11-19 22:41
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('aswissues', '0012_merge_20191119_2215'),
]
operations = [
migrations.Alter... | [
"andreugallofre@gmail.com"
] | andreugallofre@gmail.com |
7e389d1992dc7ee70f3f25ef939fa71ea01b2db2 | 3b64e5707567bfeed3bf69fdedc7702a75677115 | /List-2/count_evens.py | f9c71645d93dc0fd6fe9ed479bac07775f67eb85 | [] | no_license | fearlessfreap24/codingbatsolutions | 1b730f4e76da6c6dca9670dcea3f3092ba690d44 | 7d3bcd6f347db41794572700d05e87db3f0ca478 | refs/heads/master | 2020-03-25T04:03:01.802798 | 2018-08-18T11:47:17 | 2018-08-18T11:47:17 | 143,374,980 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 283 | py | def count_evens(nums):
sum = 0
for i in range(len(nums)):
if nums[i] % 2 == 0:
sum += 1
return sum
if __name__ == "__main__":
print(count_evens([2, 1, 2, 3, 4])) # 3
print(count_evens([2, 2, 0])) # 3
print(count_evens([1, 3, 5])) # 0
| [
"dylanaperez@yahoo.com"
] | dylanaperez@yahoo.com |
f267f2ee5db997cb0bd07c85bbca1589021cfe18 | 407d602bc989d0a7c49a441e75332c7f4d4db01d | /id3.py | 1c4d73e15e0caba9027a78fe65f17c9d08d7f7d1 | [] | no_license | thkm0620/goodWordAttack | 902e25080f844c6461bb5e4bcf803c1dd1e2b3eb | 9785290abae4cf60ab3652d7b00cb0471347b11e | refs/heads/master | 2023-02-01T05:47:49.381339 | 2020-12-19T05:59:06 | 2020-12-19T05:59:06 | 322,638,193 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,655 | py | # coding=utf-8
import openpyxl
import numpy as np
from cleanText import cleanString
from sklearn import tree
from sklearn.metrics import confusion_matrix, f1_score, precision_score, recall_score
from sklearn.model_selection import train_test_split
from sklearn.feature_extraction.text import CountVectorizer, TfidfVecto... | [
"thkm0620@naver.com"
] | thkm0620@naver.com |
3e50eb432278799573f1eb0faf52a1893f21fc48 | 3fe6529e3733a0d703e3ce12790e90195037ada0 | /interview/interview/urls.py | 5859e55f97526d0abfd0db7dc90aa30c0124b0e5 | [] | no_license | vkit/zypol | cc536b66b45333211f7be3ee131a4325665fd2d6 | db7306c32f473b6852b3561f97ca9c8c50be2709 | refs/heads/master | 2021-07-09T08:11:49.920719 | 2017-10-06T11:40:37 | 2017-10-06T11:40:37 | 105,997,858 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 876 | py | """interview URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.9/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-b... | [
"noreply@github.com"
] | vkit.noreply@github.com |
b48a2e29d81c5d7ddbf5cc76cd714fe6c1483872 | 9e27f91194541eb36da07420efa53c5c417e8999 | /twilio/twiml/messaging_response.py | abb58ff2c6d33ad1d66998d8f9520dd3786f329a | [] | no_license | iosmichael/flask-admin-dashboard | 0eeab96add99430828306b691e012ac9beb957ea | 396d687fd9144d3b0ac04d8047ecf726f7c18fbd | refs/heads/master | 2020-03-24T05:55:42.200377 | 2018-09-17T20:33:42 | 2018-09-17T20:33:42 | 142,508,888 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,875 | py | # coding=utf-8
"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
import json
from admin.twilio.twiml import (
TwiML,
format_language,
)
class MessagingResponse(TwiML):
""" <Response> TwiML for Messages """
def __init__(self, **kwargs):
su... | [
"michaelliu@iresearch.com.cn"
] | michaelliu@iresearch.com.cn |
2ee2ccec5dbf7843302c65bae409bb7fdcc29b2a | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit_noisy3325.py | ba3c7f7f745af20e6283d8398fd4aeb577461651 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,323 | py | # qubit number=4
# total number=44
import cirq
import qiskit
from qiskit.providers.aer import QasmSimulator
from qiskit.test.mock import FakeVigo
from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit import BasicAer, execute, transpile
from pprint import pprint
from qiskit.test.mock import ... | [
"wangjiyuan123@yeah.net"
] | wangjiyuan123@yeah.net |
cbd142b626698fe1debd6ecef0822cc0d7b13f7f | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_150/ch50_2020_04_13_03_25_44_929209.py | a262c1522f55ac719f56e8c2e06b6e69fde73ed5 | [] | 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 | 230 | py | def junta_nome_sobrenome(nome, sobrenome):
nome_e_sobrenome = []
i = 0
while i < len(nome) and i < len(sobrenome):
nome_e_sobrenome.append(nome[i] + ' ' +sobrenome[i])
i += 1
return nome_e_sobrenome | [
"you@example.com"
] | you@example.com |
a1816820f2b5b9ae3603a6eb633cc4c41cc5b75c | 4825a6b905d49c787996058e23e99f2d1785e3d4 | /Lab12.py | a7f8dbb2c50fe805cb29362c411bfac41519aff8 | [] | no_license | dylansidney25/Lab-12 | 510fe50ab3b67d06b5feb913c2cc4dd836524794 | 0d00ac2966afb53f4799af6fb0488beb4f834ebc | refs/heads/main | 2023-03-29T19:31:27.323802 | 2021-04-02T20:18:00 | 2021-04-02T20:18:00 | 354,121,234 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 591 | py | import cv2 as cv
import sys
img = cv.imread('dragon2.png') #Selects the file to be used
img = cv.resize(img,None,fx=3, fy=3, interpolation = cv.INTER_CUBIC) #This resized the window
if img is None: #Checks if there is a file
sys.exit("The image could not be... | [
"noreply@github.com"
] | dylansidney25.noreply@github.com |
e36fa96a6b594bb9c54e0f68eb1cdc6daad6b8e1 | 441508533c0f46814e5c5248ca31858afc3a2f7e | /a/b.py | ecf6c8fc51e30df4ea2a6b660a31b92d01ab8553 | [] | no_license | phiresky/poetry-install-self-issue | 7e72ef08821959ed346163756e2ed51f00fc0148 | 47b2e7842555c94f9f07ed80096b48010e6a9b1e | refs/heads/master | 2020-04-10T16:29:32.768434 | 2018-12-10T15:32:03 | 2018-12-10T15:32:03 | 161,147,014 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28 | py | import c.x
print(c.x.test)
| [
"robin.ruede@philips.com"
] | robin.ruede@philips.com |
69f0025f1980926d00241e4f3d009bc18b75f4f2 | dfca79dd44910df779eb33a5e9a5d2d6689eb23a | /gifs/migrations/0002_auto_20180818_2349.py | 993068e30a6674542c51f747984712ea60a1ad58 | [] | no_license | madevelascom/topgifs | 193094961fbdbc2773fa03cda1d0eade8e81b4dc | 94bfdc20eebda746f70148c0318f6ab23f31bbf6 | refs/heads/master | 2020-03-26T19:40:03.405553 | 2018-08-23T07:39:09 | 2018-08-23T07:39:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 830 | py | # Generated by Django 2.1 on 2018-08-19 04:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gifs', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='gif',
name='contador',
field=mod... | [
"m_velasco93@hotmail.com"
] | m_velasco93@hotmail.com |
2b9d7f843e20d0de53d6b81d06487d22edf5c41c | ea93c59912c4654a87c06eba3dd4b7eda989463b | /my_blog_project/my_blog_project/asgi.py | 85753b9ab25a95115448a630ebf196277b6e070a | [] | no_license | ruhulamin1998/django-blog-project | e88b3fd8ef457c7eb4ee3149fa0f1969f5489c73 | 1f11f9eb2015a0cfb98dfb720c0379eee107e51c | refs/heads/main | 2023-03-04T20:47:59.453834 | 2021-02-09T06:25:34 | 2021-02-09T06:25:34 | 337,301,816 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 407 | py | """
ASGI config for my_blog_project 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.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJAN... | [
"ruhulamin.raj1998@gmail.com"
] | ruhulamin.raj1998@gmail.com |
45d758380acbf60b955a49e002bc95f70394a173 | d919fff21345c9553bd3095f639a8049be53c3d6 | /OrderPizza/migrations/0004_subtoppings.py | efb945020d66d556e8ae6ac99e546a4aca2c0f70 | [] | no_license | parathan/Pizza-Place | 36ae461e828c1191db9829cd5d870b820236acde | 56511f02df5d28196422f85f25a8230e3e730713 | refs/heads/master | 2022-07-24T20:40:26.603536 | 2020-05-23T16:24:36 | 2020-05-23T16:24:36 | 263,726,742 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 784 | py | # Generated by Django 3.0.6 on 2020-05-15 02:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('OrderPizza', '0003_auto_20200514_2114'),
]
operations = [
migrations.CreateModel(
name='SubToppings',
fields=[
... | [
"parathan243@gmail.com"
] | parathan243@gmail.com |
708ef071fd1faafca78472a84eda933ffbb64c07 | 1702a4ffbc68266e4f232389f7a5f9cc44cb489b | /hello.py | 6575b82784245fb5e88b9822dc71c860e58085ec | [] | no_license | Caspeezie/TDDAssignments | 6d0c988b458797bc0826d1e1cf338df15d337f4c | c8830df877b85025c4064dc1c8933b8915d88aad | refs/heads/master | 2022-12-22T08:16:23.884642 | 2020-09-15T11:29:49 | 2020-09-15T11:29:49 | 276,622,102 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 161 | py | #This program says hello and asks for your name
print('Hello World')
print('What is your name?')
myName = input()
print('It is good to meet you, ' +myName)
| [
"noreply@github.com"
] | Caspeezie.noreply@github.com |
739b69b48836c90b0897da6f89d31fa83298ca3a | ca683bdfd7e3a02056965f8f5452daa232455fe2 | /users/admin.py | e38ab5c53af47e20d9c8940e891f0af9da8c269a | [] | no_license | GuillermoRuizDev/DJango_RedSocial | 63e890b6ceae20ef78b382ab80850f94902ee67f | 19e77b3a2c924fec516426565843c87a6c3dc638 | refs/heads/main | 2023-06-27T00:21:13.059760 | 2021-08-01T12:17:46 | 2021-08-01T12:17:46 | 378,261,983 | 0 | 0 | null | 2021-07-26T09:05:02 | 2021-06-18T20:49:17 | Python | UTF-8 | Python | false | false | 1,964 | py | """ Admin Users classes. """
#Django
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
#Models
from django.contrib.auth.models import User
from users.models import Profile
from posts.models import Post
# Register your models here.
#admin.site.register(Profile)
@admin.... | [
"gui.ruiz.alvarado@gmail.com"
] | gui.ruiz.alvarado@gmail.com |
45f343096530fa01c5f2708f14403031fa6baa1f | 5332fef91e044555e605bb37cbef7c4afeaaadb0 | /hy-data-analysis-with-python-2020/part06-e07_binding_sites/src/binding_sites.py | 6baad43f425d059dd9d258e457e1d88a1b708b0e | [] | no_license | nopomi/hy-data-analysis-python-2019 | f3baa96bbe9b6ee7f0b3e6f6b8b0f3adfc3b6cc8 | 464685cb377cfdeee890a008fbfbd9ed6e3bcfd0 | refs/heads/master | 2021-07-10T16:16:56.592448 | 2020-08-16T18:27:38 | 2020-08-16T18:27:38 | 185,044,621 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,379 | py | #!/usr/bin/env python3
import pandas as pd
import numpy as np
import scipy
from sklearn.cluster import AgglomerativeClustering
from sklearn.metrics import accuracy_score
from sklearn.metrics import pairwise_distances
from matplotlib import pyplot as plt
import seaborn as sns
sns.set(color_codes=True)
import scipy.sp... | [
"miska.noponen@gmail.com"
] | miska.noponen@gmail.com |
f81d9c26faead21f3a35dec21c9bbdcb0bf3d125 | 7d887c7faca559007eb2000cc5663267db70407d | /Intern Project/Importing Data AMFI/Importing data from API MF.py | 9c9947a7901fd7553663c063a12c776f592ab305 | [] | no_license | yuanmimi/Intern-V2 | b67175850273fe51036656cf33612a6e7b461ab3 | a167003121649f9f5bfd8fb5a3d6143ed70ac27c | refs/heads/master | 2020-07-03T10:47:08.886698 | 2018-05-03T13:01:18 | 2018-05-03T13:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,262 | py | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 19 11:47:20 2018
@author: ashwin.monpur
"""
import requests
import pandas as pd
#from pymongo import MongoClient
from bs4 import BeautifulSoup
conn = MongoClient()['mf']
from sqlalchemy import create_engine
engine = create_engine("mysql://neel:pass@123@loc... | [
"noreply@github.com"
] | yuanmimi.noreply@github.com |
5d301c3d4a4175d621b5d2c952a421bcdec1afd2 | 8683b28b47acceb6fc7677dcea3248a926fb95dd | /cities/views.py | 66bc591e3bb5cd2b59f0018e82f5e910ccdf6d71 | [] | no_license | pavhrablis/find_routes | e2463714a94ee90411634934064cd56402d247ce | 228cdef0c553bab9f4c1328c3263209c974b8c57 | refs/heads/master | 2023-02-17T18:22:00.505675 | 2021-01-21T10:39:23 | 2021-01-21T10:39:23 | 330,508,849 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,211 | py | from django.contrib import messages
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.messages.views import SuccessMessageMixin
from django.core.paginator import Paginator
from django.shortcuts import render, get_object_or_404
from django.urls import reverse_lazy
from django.views.generic im... | [
"palik1hrablis@gmail.com"
] | palik1hrablis@gmail.com |
608b82ddbdfb60e287c7eefdc12c1720cb30fdaf | 497ead1ee1e09a2530aa771ae059989e341684d7 | /python/cuml/tests/test_preprocessing.py | 5f571d8fd3b65acdba8035c0565dded708eeb5ec | [
"Apache-2.0"
] | permissive | xieliaing/cuml | 193f5753696bbfd4de8e3eaef919c18da2fd1d1a | 78092ddde28d5a810e45d6186f049c1309121408 | refs/heads/master | 2022-11-10T16:45:38.818055 | 2022-11-03T23:12:07 | 2022-11-03T23:12:07 | 159,592,316 | 0 | 0 | Apache-2.0 | 2018-11-29T01:59:07 | 2018-11-29T01:59:07 | null | UTF-8 | Python | false | false | 36,389 | py | # Copyright (c) 2020-2022, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | [
"noreply@github.com"
] | xieliaing.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.