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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
8ef96178e01ca9c202b4ca5bacb677ada821ee78
260b693b52bb8a9b38cd7a10c73928436d318c7b
/Python实现项目进度管理 - 副本.py
f5116a58b6fd50f87dd353f473d56a627c87d91e
[]
no_license
YuweiShen/Simulation
5c0bcb7f6fd286d2c9cfa5c33e0a8b570a3383dd
6c99234527fa51d73a6a46331e3c148caaa33056
refs/heads/master
2021-10-20T22:17:08.919143
2021-10-17T08:44:04
2021-10-17T08:44:04
174,316,872
0
0
null
null
null
null
UTF-8
Python
false
false
23,684
py
#!/usr/bin/env python # coding: utf-8 # ## 随机工程进度优化 # # 问题设置:项目成本$c_{ij} = i+j$是一个常数,日利率是0.6%,项目完成时间为154天,子工程完成的时间服从U(i,j)形式的正态分布。其中决策变量$x_i$是所有以(i,j)表示的子项目所需贷款的到位时间。 # # ### 期望费用最小化模型(EVM) # # $$ # \begin{align*} # min &\;\; E[C(x,\xi)]\\ # s.t.&\;\; E[T(x,\xi)] \le T^0\\ # &\;\; x\ge 0 # \end{align*} # $$ # 其中 #...
[ "noreply@github.com" ]
YuweiShen.noreply@github.com
710b472a33fb6c8509f4df5c743745e611e706cc
7e8a001d13b11bfa6ff5d51907d93b92174289d2
/test.py
969113c100c0f8e2e097e01df1727d19900c746e
[]
no_license
daludaluking/TF2-AI
8eb99a80b7e090d1758efb21863fcaff3017a0b4
cf5f2245d18ed38d26eaa470570b8d86f7452a7d
refs/heads/main
2023-07-22T23:59:28.859518
2021-08-30T05:58:58
2021-08-30T05:58:58
392,513,154
0
0
null
2021-08-04T01:53:12
2021-08-04T01:53:12
null
UTF-8
Python
false
false
742
py
import tensorflow as tf from tensorflow.keras import datasets, layers, models import numpy as np tf.executing_eagerly() (mnist_images, mnist_labels), _ = tf.keras.datasets.mnist.load_data() dataset = tf.data.Dataset.from_tensor_slices( (tf.cast(mnist_images[...,tf.newaxis]/255, tf.float32), tf.cast(mnist_labels,...
[ "swdalu74@gmail.com" ]
swdalu74@gmail.com
e6f473220e6ba826010f02a19ed5052645008b2f
179c9b2983ba3d4a3757f84fd55ac1356850c363
/jinete/algorithms/heuristics/local_search/strategies/routes/one_shift.py
67ed11e8558cde8355886ac88d94ef2aa23b27ae
[ "MIT" ]
permissive
garciparedes/jinete
0d2fbf68a88b0ec565b8c1ed5c417f8f7cacceb0
6ed5687b2016aa7eb1f6499470c6ea21a9a57b8a
refs/heads/master
2023-03-29T00:35:34.575828
2020-09-19T11:02:05
2020-09-19T11:02:05
150,865,909
9
2
MIT
2023-03-16T21:41:17
2018-09-29T13:17:05
Python
UTF-8
Python
false
false
1,834
py
import logging from ......models import ( Route, Stop, ) from ..abc import ( LocalSearchStrategy, ) logger = logging.getLogger(__name__) class OneShiftLocalSearchStrategy(LocalSearchStrategy): def _improve(self) -> None: logger.info(f'Starting to improve "Result" with "{self.__class__.__name...
[ "sergio@garciparedes.me" ]
sergio@garciparedes.me
7c209754538f2496dd447913c18b11e34790c8d0
de0d7e99d970d75b5356744bacaf7f44fcc731a8
/bin/nsite/http.py
a8e7808b45c2ee5dd4c4819781814f43e2ef4c6a
[]
no_license
Valvador/NEEShubloader
a3a9e6f072def12423d4516e560974a7f4a744da
a1007cfe37b895d38191d9380ba42b01d45430b3
refs/heads/master
2020-05-20T04:24:30.381117
2013-03-20T21:58:03
2013-03-20T21:58:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,380
py
#Adapts the abstracted http layer to our NEEShub-specific interfaces. #Created by Val Gorbunov for the use of NEES@UCSB from nees.config import * import nees.http as nh import nees.nees_logging as nees_logging # # NEESHUB SPECIFIC GET FUNCTIONS # def get_experiment_id_dictionary(): ''' UCSB NEES SPECIFIC functio...
[ "valvador@valvador-VirtualBox.(none)" ]
valvador@valvador-VirtualBox.(none)
4b098cac73eb5c2008da63916de685407c0a3356
7d5df1608e315e860ec342373caa0df06280ab98
/users/forms.py
2cb08e12ea5caef0dce956cfc3acd6e46a1f4e61
[ "MIT" ]
permissive
Joshua-Chiu/PGDBWebServer
beb247d7c231a16eb776f88997cb3660304bd725
9777773db763a13f168da633c69b9271f9da24b1
refs/heads/master
2022-12-01T20:35:21.921999
2021-09-15T20:25:30
2021-09-15T20:25:30
130,128,689
1
0
MIT
2022-11-22T08:50:01
2018-04-18T22:24:53
Python
UTF-8
Python
false
false
927
py
from django import forms from django.contrib.auth.forms import UserCreationForm, UserChangeForm from .models import CustomUser class CustomUserCreationForm(UserCreationForm): class Meta(UserCreationForm): model = CustomUser fields = ('username', 'email',) class CustomUserChangeForm(UserChangeFor...
[ "pgry@null.net" ]
pgry@null.net
98b95e5b95c2fca1ffb90674c1dc3c922496957a
470ab293f1ebfcbec1ce7ab18c2749357d735a9d
/eps_rapid/models/property_content_ratings_guest.py
c7ed1a4eb28a4a32726c46e163e2bd7b79961944
[]
no_license
TripElephant/eps_rapid_client
53b51308a5032935ac3db7ce97e17e359b081859
2a21a00c3b12cccb16585035ed59845c4ffe1604
refs/heads/master
2020-06-28T02:49:22.514338
2019-08-01T22:04:46
2019-08-01T22:04:46
200,124,688
0
0
null
null
null
null
UTF-8
Python
false
false
4,229
py
# coding: utf-8 """ Rapid EPS Rapid V2.3 # noqa: E501 OpenAPI spec version: 2.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class PropertyContentRatingsGuest(object): """NOTE: This class is auto generated by the ...
[ "daniel.vu@protonmail.ch" ]
daniel.vu@protonmail.ch
2f78919c7c166ae165af1bec6e2fa9173abf8503
819feabab120759291bd2e28107e970e6e3de827
/Bubble sort visualizer/bubble_sort.py
18b438b599557853014f79b1613aab71aad0a129
[]
no_license
Nushrat-Jahan/Python-codes
0bbd838cd8a3c8c2a0ec46c5c73852c02186750b
01636fab19b2f7337d44126611b716e669eb1765
refs/heads/master
2023-02-24T19:15:10.010829
2021-01-28T16:43:46
2021-01-28T16:43:46
319,365,502
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
import time def bubble_sort(arr, displayBar, animSpeed): for _ in range(len(arr)-1): for j in range(len(arr)-1): if arr[j] > arr[j+1]: arr[j], arr[j+1] = arr[j+1], arr[j] displayBar(arr, ['blue' if a == j or a ==j+1 else 'red' for a in range(len(arr))]) ...
[ "nushratjahan296@gmail.com" ]
nushratjahan296@gmail.com
71cbe10c570bb6d05b46f89c055bb5a2e86a09bf
d0c82aa02b0b572eee74ddc2492e575a4ed6cb0b
/aco_attempt.py
5fcff409676ebf31f8ff015ea9798a5ac2961293
[]
no_license
osKlonowski/BachelorThesis
c37f086d6993b77ce85ada45c052ee547b887812
370185a5a589530da293d575858a002f31339e9d
refs/heads/master
2023-06-17T16:40:57.013112
2021-07-17T08:25:36
2021-07-17T08:25:36
340,762,309
0
0
null
null
null
null
UTF-8
Python
false
false
7,397
py
from preliminaries import getListOfSectionsCompleted import Formigueiro as Formigueiro import random class BRIDGEInstance(): ##### FOR NOW ----> IT WILL BE ONLY ONE SECTION ##### def __init__(self, numOfRounds, numOfPairs, listPairIds, prev_meetings_matrix): self.numRounds = numOfRounds self.n...
[ "osklonowski@gmail.com" ]
osklonowski@gmail.com
8cef7439cfc2680d9b2889fa9559a4c1184b7d58
f508da1fd2e65491e1e6b5dd3a64d8bf6039bc6c
/eho/openstack/common/jsonutils.py
f800779f11987bc90c847efa74d36a2629bee971
[ "Apache-2.0" ]
permissive
senhuang/eho
b9595739b109829b44e6d538b36348ac84529af8
ca4dba1d0e7ab24d748b746e115ca6dc2191997a
refs/heads/master
2021-01-21T00:36:50.271363
2013-03-19T07:55:50
2013-03-19T07:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,110
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may #...
[ "slukjanov@mirantis.com" ]
slukjanov@mirantis.com
428a84ee3e5423c47985d083c3808c96631a088a
544e04ccb9b792e969e586d9c21e488f5a08fc50
/appChat/models.py
a2fc72ec5a6ca4ef04b0096dc050eacedec7c742
[]
no_license
LIkelion-at-KOREATECH/Lotte-Is-Horse
0fa23d8337d8bf9c73d7b011872b95d00d32ee7b
8798488e2f1bcd9cfe0d9e7cd5fad6af8e74cbd9
refs/heads/master
2023-01-05T07:49:34.132268
2020-10-25T23:20:56
2020-10-25T23:20:56
305,366,555
0
1
null
2020-11-03T03:26:42
2020-10-19T11:50:07
JavaScript
UTF-8
Python
false
false
870
py
# from __future__ import unicode_literals # from django.db import models # from django.utils import timezone # class Room(models.Model): # name = models.TextField() # label = models.SlugField(unique=True) # def __unicode__(self): # return self.label # class Message(models.Model): # room = mo...
[ "gomdalp1701@gmail.com" ]
gomdalp1701@gmail.com
6c5e12aaa4a16fb19a082bd90a169bfa78990d94
d701c8568aa4a7767dd69534d264b29f7c329964
/model/model.py
3d8320d395b8e63fc611cbb8fbe8413a5712f7ad
[]
no_license
jack870601/SE_project_meow
09f2603f1675396bd16bfcae3ba6f3bedec21fda
670869a2ce02738b4ed4c6ce70c00ab7d3cf8583
refs/heads/master
2020-04-13T19:10:17.189165
2019-01-03T07:38:07
2019-01-03T07:38:07
163,394,728
2
3
null
2019-01-03T07:38:08
2018-12-28T09:52:30
CSS
UTF-8
Python
false
false
207
py
#from models.pg_model import pg_model from model.postgreSQL import postgreSQL class model(): dao = postgreSQL() # dao = pg_model() def create(self): model.dao.create(type(self).__name__, self.__dict__)
[ "jack870601@gmail.com" ]
jack870601@gmail.com
868ea6b3432430b2a859faf729510df6f3772d68
76f6391deafac34654dec09639858f001c31bc11
/random-admin/app/scrapings/bbc.py
3573c951d43cf6e2cdcc6784480ddf62a119ea89
[]
no_license
kanazawa-pri/random-admin
4ab6f7fda319484fc98b2ea910a1c71fc444aeff
2bbd44466eb3a0ca3f17d2e58785b5552756b3e1
refs/heads/master
2020-06-28T21:42:17.557399
2019-07-30T14:09:09
2019-07-30T14:09:09
200,349,232
0
0
null
2019-08-03T08:02:31
2019-08-03T08:02:30
null
UTF-8
Python
false
false
962
py
from bs4 import BeautifulSoup import requests import random import re def scraping(): ng_list = ["bbc"] html = requests.get('https://www.bbc.com/japanese') soup = BeautifulSoup(html.text, "html.parser") article = soup.find(class_="pigeon__column pigeon__column--a") title = article.find(class_="titl...
[ "kanazawak20@yahoo.co.jp" ]
kanazawak20@yahoo.co.jp
36935416071cd5847133b045897f228cc54e94b1
c233a3ca87a8c4d99d07008a0833f1317a5ff466
/run_ColorMatcher.py
ac8ed43f5cd4a8c66dbd5c0f70831af2b16451d7
[ "MIT" ]
permissive
tknapen/RL_7T_experiment
a5d0d14e66597792343f7dfb95af2136b68d00b3
1f2d637db749511f94e36c07fe33ac8184e89f1d
refs/heads/master
2021-01-22T22:56:45.179301
2016-11-14T15:39:34
2016-11-14T15:39:34
85,590,531
1
2
null
null
null
null
UTF-8
Python
false
false
552
py
import sys sys.path.append( 'exp_tools' ) from ColorMatcherSession import * from plot_staircases import * import appnope def main(): initials = raw_input('Your initials: ') run_nr = int(raw_input('Run number: ')) scanner = raw_input('Are you in the scanner (y/n)?: ') track_eyes = raw_input('Are you recording gaz...
[ "daan.van.es@gmail.com" ]
daan.van.es@gmail.com
751fe9d21328194b1acc39adfcbb9d3d11fd3d90
7b71da9189de3358ef73b37a3083a56c1ab10772
/robobench/calibration/pipette_calibration/bradley_thresh.py
94a9b93a29c8a7910d1f2b93ceba99c66ca91418
[]
no_license
EndyLab/opentrons
91ff3b8364c9b1746f7d073875651baa5efaf4c3
75d1789ad6ddef556a2c46e6608d5496f9f5ec7d
refs/heads/master
2021-01-13T13:39:32.443502
2019-11-19T22:23:47
2019-11-19T22:23:47
76,410,678
8
0
null
2020-10-27T21:05:49
2016-12-14T00:42:02
Roff
UTF-8
Python
false
false
2,134
py
# from: https://stackoverflow.com/questions/33091755/bradley-roth-adaptive-thresholding-algorithm-how-do-i-get-better-performance import numpy as np from scipy import ndimage from PIL import Image import copy import time import cv2 def faster_bradley_threshold(image, threshold=75, window_r=5): percentage = thresho...
[ "natagoh@stanford.edu" ]
natagoh@stanford.edu
79ce11ae807730b501809588bdbc2b9dec1e9067
effce116340b7d937bd285e43b49e1ef83d56156
/data_files/662 Maximum Width of Binary Tree.py
ee04fcc76e296c46188c5e41ed7b3c9c54194e8b
[]
no_license
DL2021Spring/CourseProject
a7c7ef57d69bc1b21e3303e737abb27bee3bd585
108cdd906e705e9d4d05640af32d34bfc8b124da
refs/heads/master
2023-04-11T18:52:30.562103
2021-05-18T09:59:59
2021-05-18T09:59:59
365,733,976
0
1
null
null
null
null
UTF-8
Python
false
false
668
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def widthOfBinaryTree(self, root: TreeNode) -> int: if not root: return 0 ret = 0 q = [(0, root)] while q: cur...
[ "1042448815@qq.com" ]
1042448815@qq.com
e94107b3d0f8b3efc736784daf10fda144d7be2a
e86f40099817f4bf16f695040ef6096bc026b4a5
/week9/day1/daily_challenge/gif_site/manage.py
69f2d398a2f26f2fd87b99bfa13532d95d43e9bd
[]
no_license
idosarue/DI_django
7474e38c8b8cd668df3af5a0d88c021ada8da887
cd3f91e51458941a5834fb65d6b8d6698770fc6c
refs/heads/main
2023-07-16T12:10:07.549009
2021-09-02T17:42:30
2021-09-02T17:42:30
396,374,075
0
0
null
null
null
null
UTF-8
Python
false
false
664
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', 'gif_site.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "dodojoker67@gmail.com" ]
dodojoker67@gmail.com
a7891d5d0f42e0c9354c2dceac5b592e0cd4b985
919b71e265c4e10854768d5baa478aea88c9b00f
/encrypt.py
b5128fbe3f61afffbc18eda3cb2b4231d52b2534
[]
no_license
AlekHadzidedic/linear-cryptanalysis
1548c6077ef20e75cf7b3e94789a34a95561b077
594dd25f0153518155be437b8a5fc6483e44615b
refs/heads/master
2020-08-27T17:10:38.915296
2019-10-25T19:53:27
2019-10-25T19:53:27
217,441,962
0
0
null
null
null
null
UTF-8
Python
false
false
2,010
py
import random from linear_approximation import s_box_encrypt from utils import binary_splice def encrypt(plaintext, round_keys): num_rounds = 5 temp_plaintext = plaintext rounds_counter = 0 for i in range(num_rounds - 2): # 1 XOR Plaintext with First round key v = key_xor(temp_plainte...
[ "akhia013@uottawa.ca" ]
akhia013@uottawa.ca
2e5e31aa710ebee37466a831c41c0e519be2c5f9
115a8f05878d89338c49c804444d13ee1b8b6bde
/mbta.py
0b4c1c03774fbcef33e55e72df79f7779c610f3c
[]
no_license
chautieu/mbta-departure-board
50389d02b33b61825ea190badd3740a34e7393d8
9df0e6c54158b7947cf670c62ec7eb218522c6c3
refs/heads/master
2022-05-29T06:28:57.345556
2020-05-04T21:27:59
2020-05-04T21:27:59
261,066,367
0
0
null
null
null
null
UTF-8
Python
false
false
5,817
py
import requests import json import datetime class RouteType: COMMUTER_RAIL_TYPE = "2" class MbtaStation: def __init__(self, stop_name, stop_id): self.stop_name = stop_name self.stop_id = stop_id self.departures = {} self.arrivals = {} self.predictions = {} self....
[ "noreply@github.com" ]
chautieu.noreply@github.com
8767c9e005f5d20fe17afbf38fe8051ce2f8419e
7596b2187ecc558aee4ac527b600f2776bea2aa2
/student/views.py
b066997036220f708f944a8611b20cce000ac82c
[]
no_license
gajendrarahul/newlms
f3d9acb0b920466005600597f23fa7a36656d090
7a33d261363ae174195ddaef91c0d52db7b8c576
refs/heads/master
2020-09-10T08:17:58.184586
2019-11-14T13:15:29
2019-11-14T13:15:29
221,699,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
from django.shortcuts import render,redirect from Account.models import Account from django.contrib.auth.hashers import make_password from new_lms.password import randomPassword from new_lms.mail import Mail from student.models import Student from django.contrib import messages # Create your views here. def student_vi...
[ "mahatogajen123@gmail.com" ]
mahatogajen123@gmail.com
d6ba9957ecd45606826386e031558efca3474a0b
2c85f5dbef0d4208e6afd6fb6416648badc979af
/vehicle_prices.py
25730e46af341b915281b8c0797a1028b6c60e88
[]
no_license
jtanium/turbo-garbanzo
697c63a2df5c736530af88df60782858f90e3ae6
289cdd0d25e97c8b2179e137205f944c2ba0f498
refs/heads/main
2023-08-14T16:12:41.007343
2021-10-03T03:03:21
2021-10-03T03:03:21
412,959,060
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
import numpy as np def predict(X, w): return np.matmul(X, w) def loss(X, Y, w): return np.average((predict(X, w) - Y) ** 2) def gradient(X, Y, w): return 2 * np.matmul(X.T, (predict(X, w) -Y)) / X.shape[0] def train(X, Y, iterations, lr): w = np.zeros((X.shape[1], 1)) for i in range(iteratio...
[ "jtanium@jtaniums-MacBook-Pro.local" ]
jtanium@jtaniums-MacBook-Pro.local
881083827d5bbb4da11a5b9d7edec6b217bc34d4
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/21. Cleaning Data in SQL Server Databases/Chapter/04. Combining, splitting, and transforming data/01-Combining cities and states using +.py
c42e7743cf2ea24d935eb8842b2408c0e660b1ad
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
''' Combining cities and states using + In this lesson, you learned how to combine columns into one. The clients table has one column, city, to store the cities where the clients live, and another column, state, to store the state of the city. | client_id | client_name | client_surname | city | state | |-...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
805b0ca6e8e91d7b162777326c1e5fd61f5e0315
f7a4bcf17c8eec0244a657c79136db4cfd73a6cb
/sshkeyrotation.py
951551a9ca1d272759a10f511d398a2ae39ec75a
[]
no_license
hemanth4984/AWS-Maintanace-Scripts
a1166cba956be12197b47c014810dc98e4d7ee2b
9eefb5cd445816231b5399d481d86020e68cd567
refs/heads/master
2022-07-06T15:53:44.919780
2020-05-18T13:00:19
2020-05-18T13:00:19
263,061,492
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
import boto3 import paramiko import time import cmd import sys client = boto3.client('ec2', region_name='ap-south-1',aws_access_key_id="*****",aws_secret_access_key="****") ########## Filter Instances With Specified Tags ############ response = client.describe_instances( Filters=[ { 'Name': 't...
[ "noreply@github.com" ]
hemanth4984.noreply@github.com
e8b0605af7202c3f0a99d727e2425a9f5e1106b7
86a3d71a0cc887bc7ace611b7d708fdde2ca9770
/checklines/files.py
576132ef9315e861592783768c5ffcdb7f382da4
[ "MIT" ]
permissive
iRyukizo/check_lines
7ef9db0f558b8ee9f6ccb35ac5b846a489385284
1fbf2e335fd6cccb37bab3bf9a4dee184d1ce786
refs/heads/main
2023-03-27T18:28:09.122387
2021-02-01T08:50:11
2021-02-01T08:50:11
307,573,525
4
0
MIT
2021-02-01T08:50:12
2020-10-27T03:21:13
Python
UTF-8
Python
false
false
1,231
py
from colorama import Fore, Style from . import func class File: def __init__(self, location, fun): self._location = location self._size = len(fun) self._res = [-1] * self._size self._functions = [] for elmt in fun: self._functions.append(func.Function(elmt)) ...
[ "hugo.moreau@epita.fr" ]
hugo.moreau@epita.fr
e6b897190c3bf62f874ee374fb18f6eeef1cbeb8
475e5c34e673f73829f5fc36783096ebafe48102
/breakstatement.py
7f34fc015d199e6b951a2a0c7e97e40fc4f3ac0c
[]
no_license
rushikadlag0911/Python_Practice
76ec2d02492ce0e14e600371751493f8c8bc7af5
3d3487a89bc9853c768b370e93af82feff25b834
refs/heads/main
2023-07-18T22:38:39.755689
2021-09-16T11:57:27
2021-09-16T11:57:27
407,145,271
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
for n in range(2, 10): for x in range(2, n): if n % x == 0: print(n, 'equals', x, '*', n//x) break else: print(n, 'is a prime number')
[ "noreply@github.com" ]
rushikadlag0911.noreply@github.com
2a751775c9018415f52294943ef56468d380a992
ec4ae20f4edfca76388d727c73ee757778cbee44
/src/PhoneMessaging/example.py
9ddabe4aacb63dbd98b38e6d355363fa4da96647
[]
no_license
zeaktorres/SecureSpaces
35a3105ec09caa0b9bf26027b76041b243fb8844
f210791e58ea9111f66e02f259c03784a171e79a
refs/heads/master
2022-04-06T00:19:25.897557
2020-02-26T01:11:45
2020-02-26T01:11:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
import send_message as SMS myMessage = SMS.Message("Howdy!") myMessage.sendMessage()
[ "zeak@Zeaks-MacBook-Air.local" ]
zeak@Zeaks-MacBook-Air.local
6ff7601ddb4bdacfca03abb8b60d53678d9926dc
e94408865d15b1afc0965a4d0525f124d2d2924c
/round1_code_backup/baseline/parpare_data.py
9f2802b5318999ae21a00b8af37f08139c0a08b6
[]
no_license
ngc7292/tianchi-oppo-matching
cc1d266a7faa3aa74fdfa492d6045a9671836c26
2d5f9a8759f3e96db36477501bce2ee0c49cf9da
refs/heads/master
2023-05-09T00:42:36.143363
2021-05-11T06:46:25
2021-05-11T06:46:25
353,206,029
4
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# -*- coding: utf-8 -*- """ __title__="parpare_data" __author__="ngc7293" __mtime__="2021/3/17" """ train_data_path = "/remote-home/zyfei/project/tianchi/data/gaiic_track3_round1_train_20210228.tsv" test_data_path = "/remote-home/zyfei/project/tianchi/data/gaiic_track3_round1_testA_20210228.tsv" vocab_data_path = "./v...
[ "feizhaoye@gmail.com" ]
feizhaoye@gmail.com
d4b97eea5aae1a2c11ea2460377ccdc186e66704
3fd84aef8c5fc5da1e77404e4b242c0b539bd3cd
/challenges/algorithms/implementation/0gradingStudents.py
26ab38d8d7e4abaecc582579b47abf628f17b1ef
[]
no_license
mrogove/hackerrank
6948898c219fd4038cf3c6ec5317fa84719faef2
ebdd9f10c7054c5cd8a1887fad29a2101d687320
refs/heads/master
2021-05-12T08:05:18.206578
2018-02-23T06:18:26
2018-02-23T06:18:26
117,267,761
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
""" every student gets a grade Any grade <40 is failing Professor Sam wants to round up to next multiple of 5 IF diff < 3 (e.g. 88 -> 90; 87 -> 87) Do not round failing grades. assume 1 <= n <= 60 assume 0 <= grade <= 100 """ #!/bin/python3 import sys fail = 40 #definte this constant first - in case failure bench...
[ "mrogove@gmail.com" ]
mrogove@gmail.com
956a4a1dda129b01c57a16b2b87b7d0254c5efd0
d2845579ea6aa51a2e150f0ffe6ccfda85d035ce
/common/python/calculation/spark/table.py
d6895cad3dcd329649fa6bfc23376bd7b4b0091c
[ "Apache-2.0" ]
permissive
as23187/WeFe
d8de9ff626f9f3e5d98e0850b0b717a80fd73e72
ba92871d4b1d2eef6c606c34795f4575e84703bd
refs/heads/main
2023-08-22T12:01:06.718246
2021-10-28T01:54:05
2021-10-28T01:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,065
py
# Copyright 2021 Tianmian Tech. 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 applicable la...
[ "winter.zou@welab-inc.com" ]
winter.zou@welab-inc.com
65f649c9c12a0a4648e29cef731ddb6c40fbe6ef
100193a599cd9961356b2c2ee13c734e467b9713
/cc/apps/coder/migrations/0003_auto__add_participant.py
e0a754b87b3635d299c77eea42dd6f992853ed21
[ "MIT" ]
permissive
mavroskardia/codechallenge
bd3678003d933b834eddc1d36dda74e53b5afa52
a5fee4ba73be186d90daafca50819a6817ad3d27
refs/heads/master
2016-09-09T17:16:57.818465
2015-01-13T14:45:00
2015-01-13T14:45:00
15,058,542
0
0
null
2014-03-21T21:25:37
2013-12-09T20:42:54
Python
UTF-8
Python
false
false
6,721
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Participant' db.create_table('coder_participant', ( ...
[ "chryso@gmail.com" ]
chryso@gmail.com
56e0057402c131e7fa97841a81c53100ca87f338
288d641777ed1cfe74608e970898256268021537
/Labs/Lab9_airflow_CNN/.virtualenv/bin/tf_upgrade_v2
283e5fababe9be59680f8b969597bec8e116ced5
[]
no_license
rishvita/Big-Data-Systems-and-Intelligence-Analytics
fbd4a4196616048d3ba716eea31022a21c8e7dc8
a4cfa6e534f354c39f44f34fc214b6455cb5c21a
refs/heads/main
2023-05-14T05:31:03.513210
2021-05-31T05:25:06
2021-05-31T05:25:06
334,040,296
0
0
null
null
null
null
UTF-8
Python
false
false
337
#!/Users/ng/Downloads/CSYE7245_NidhiGoyal/Team6_CSYE7245_Spring2021/Labs/airflow_CNN/.virtualenv/bin/python # -*- coding: utf-8 -*- import re import sys from tensorflow.tools.compatibility.tf_upgrade_v2_main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) ...
[ "rishvita@gmail.com" ]
rishvita@gmail.com
f6de5f780c60294f59c4fd49a6ee574b9a0d8d34
1316cd6763e784811c769c1de577235c921af0de
/Apps/AlignOnBPMs/SAMPL/sourceCode/SAMPLcore/Components/ComponentBase.py
f2ed9848ab5bc4adadc7b8a0aa16629bf0f7f015
[]
no_license
VELA-CLARA-software/Software
a6fb6b848584e5893fd6939a447d23134ce636cc
2e2a88ac0b2b03a495c868d2e11e6481e05097c3
refs/heads/master
2023-02-05T07:40:58.260798
2023-01-27T09:39:09
2023-01-27T09:39:09
69,860,536
7
3
null
2021-04-07T14:17:07
2016-10-03T10:20:46
Mathematica
UTF-8
Python
false
false
565
py
# SAM to Python Conversion # DJS August 2017 # Version 0.1 # from ..SAMPLlab import Beam class ComponentBase(object): def __init__(self, length=0, name="", aperture=[]): #super(ComponentBase, self).__init__(**kwargs) # device length, in meters self.length = length # device name, str...
[ "david.dunning@stfc.ac.uk" ]
david.dunning@stfc.ac.uk
9b2e55341c9f7148c5dfe553e2bec953871d0db2
377fc6e13101a2a45826cd118110c790f396a805
/utpc2014-a.py
9ac43857b565674f15f63bbc23a3181047f353ff
[]
no_license
number09/atcoder
4076e7223f424b9923754e73992d6442e0bb0de7
f521ca1205b254d99744abaf6a7a5bfe69845fe0
refs/heads/master
2021-06-04T23:16:39.021645
2021-01-19T08:30:39
2021-01-19T08:30:39
132,128,927
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
li_w = input().split() li_answer = list() flag = False for w in reversed(li_w): if w != 'not': flag = True li_answer.append(w) else: if flag == False: li_answer.append(w) else: if li_answer[-1] == 'not': li_answer = li_answer[:-1] ...
[ "cielo.abierto09@gmail.com" ]
cielo.abierto09@gmail.com
f98658569da2852dc39597141a14f473e098e230
d51b4c766661af65b4ee6e7c30f8cb4bdd8603e3
/python/algorithm/leetcode/91.py
514aea9145662dfce4819b437de33ec85483955a
[]
no_license
yanxurui/keepcoding
3e988c76b123d55b32cf7cc35fbffb12c4ccb095
d6b9f07e2d1437681fa77fee0687ea9b83cab135
refs/heads/master
2021-01-24T09:01:41.306597
2020-05-21T05:36:04
2020-05-21T05:36:04
93,400,267
1
1
null
null
null
null
UTF-8
Python
false
false
1,072
py
# https://leetcode.com/problems/decode-ways/discuss/30358/Java-clean-DP-solution-with-explanation class Solution(object): def numDecodings(self, s): """ :type s: str :rtype: int """ if len(s) == 0: return 0 table = [0] * (len(s)+1) table[0] = 1 ...
[ "617080352@qq.com" ]
617080352@qq.com
2e36cb560ae64073c54586ed8fd8919c948cf9c4
36d6f0b1fe580cc6132116ef883f9fe2e53b8fe3
/main.py
b7ab6f79d7620d21717aa14278c6f9a49080da2f
[]
no_license
lokkjo/Py27_Task_9
f4f73bacf082fdaec5b071b788619560fb45be18
68bbdfb871c0bcaf53fa7592ed407fd2bddf6caa
refs/heads/master
2020-07-21T22:36:29.638049
2019-09-08T15:13:29
2019-09-08T15:13:29
206,989,151
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import datetime class OpenWithTimeCount: def __init__(self, file_path, encoding='utf8', t_start=datetime.datetime.now()): self.file_path = file_path self.encoding = encoding self.t_start = t_start def __enter__(self): print(f'Время запуска кода: {self.t_start}') self.file = open(self.file_path) ret...
[ "dra-katt@yandex.ru" ]
dra-katt@yandex.ru
0812527774fef2d427c2e1e56a7966441f10632c
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_005_20180620140617.py
2ded808b8af91e0513d070dc92160645c14e005e
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
4,433
py
from random import randint sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6, 3, 1], [9, 5, 6, 1,...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
af5fa945e95e98d19143e86961449053c5baa009
e93ef436dd2cfdd8e3badefd721b639838fd9ef5
/overview/models.py
a432b8b56ea623e8052b007ca0cd686d07bea4e5
[]
no_license
sphere-net/spnintra
38b2384d43bf73842b59c8b30fd4aa6c1a025651
be2edf021733a239bfc3df5da86e1ac372ff4431
refs/heads/master
2023-08-11T02:57:36.772923
2021-10-12T01:22:57
2021-10-12T01:22:57
414,019,257
0
0
null
null
null
null
UTF-8
Python
false
false
7,246
py
from accounts.models import CustomUser from django.db import models #アカウント登録マスタ class MstAccount(models.Model): account_cd = models.CharField(verbose_name='アカウントコード', primary_key=True, unique=True, max_length=5) disp_name = models.CharField(verbose_name='表示名', default='', max_length=50) disp_name_yomi = mo...
[ "torikoshi4473@gmail.com" ]
torikoshi4473@gmail.com
24c90e773275e7f451a54c1d751508a4e0f170da
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/securitycenter/v1/securitycenter-v1-py/google/cloud/securitycenter_v1/services/security_center/pagers.py
bef157b5d55df896bbcd1981ea658c13a78e2b7b
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,304
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
0e41504d380692e4f959215ab53f08b4da54d528
3e3baf6632f4a4245883c14c05dc986db9bef352
/demo/openmrs/wsgi.py
4720ccb52c9925008356e4214283a3ede623f563
[ "MIT" ]
permissive
skrulcik/jeeves
6a1054343d94db93fbb1d0bd31cb6d551884fa40
d62ec0bf6d1fd5061a5e734283265b8b5ec60423
refs/heads/master
2021-05-16T04:08:42.705885
2017-09-28T19:30:50
2017-09-28T19:30:50
105,823,242
1
0
null
2017-10-04T22:02:37
2017-10-04T22:02:36
null
UTF-8
Python
false
false
383
py
""" WSGI config for conf 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.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "conf.settings") from django.core.wsgi im...
[ "jean.yang.writeme@gmail.com" ]
jean.yang.writeme@gmail.com
74ff6f2478ac5ca15368de4e447eb193e326a6b7
479a62137c28330843973b79b75b107008f755d7
/ch07/mpg.py
c298917cb8cd9a325996bd73fe4fd1e624bf2106
[]
no_license
shanester85/Murach-Python-Programming
1079b911bc791008aa911929e422e9034f7437a4
73b14589c090cc38d3ec0a15df1a4e297386faa7
refs/heads/master
2023-01-10T01:05:28.364797
2020-11-16T22:02:23
2020-11-16T22:02:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,558
py
#!/usr/bin/env python3 import csv #Import of the "CSV module" that allows you to use writer functions and writer objects to write a list to disk. # A file in the current working directory FILENAME = "trips.csv" #Definition of a global constant named "FILENAME" that stores the name of the CSV file named "trips.cs...
[ "noreply@github.com" ]
shanester85.noreply@github.com
8e4afcc449f15b7d6b73cbcd4fc8e9b213912c94
bc441bb06b8948288f110af63feda4e798f30225
/container_sdk/api/workload/get_summary_pb2.pyi
14f7cdbe1ae990f7ac049e645c1ccfa3bde880a7
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,748
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from container_sdk.model.container.pod_detail_pb2 import ( PodDetail as container_sdk___model___container___pod_detail_pb2___PodDetail, ) from container_sdk.model.container.workload_pb2 import ( Workload as container_sdk___model___container...
[ "service@easyops.cn" ]
service@easyops.cn
fce03c8e1456ccbcd305145c27e222f513c4d844
c2f92d75d235ff5ed7b213c02c4a0657545ba02f
/oliveapp/home/urls.py
ab2bdd20079d2d83da9374cda7ebebccbcb65b68
[]
no_license
cash2one/tstpthon
fab6112691eb15a8a26bd168af3f179913e0c4e0
fc5c42c024065c7b42bea2b9de1e3874a794a30d
refs/heads/master
2021-01-20T01:52:06.519021
2017-04-14T09:50:55
2017-04-14T09:50:55
89,338,193
0
1
null
2017-04-25T08:46:06
2017-04-25T08:46:06
null
UTF-8
Python
false
false
715
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from home import views import os css_media = os.path.join( os.path.dirname(__file__),'templates/css/' ) images_media = os.path.join( os.path.dirname(__file__),'templates/images/' ) js_media = os.path.join(...
[ "yxlz_0910@163.com" ]
yxlz_0910@163.com
429ff554ac3fbec982f6543fabdf502cbf11eaf3
520cc1c536985f72a19e4183e736537a0660029c
/Network/urls.py
4985dd2a706da8aafe87702c72f79b12e4def8ee
[]
no_license
kswelch53/Network
9bcce1ebec1ae75100a3198dde779e353daaeb0e
646a01cb52ffae63ea5d59635f06e9324c248b13
refs/heads/master
2021-09-09T04:44:46.666563
2018-03-13T23:24:06
2018-03-13T23:24:06
125,127,156
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
"""Network 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') ...
[ "kswelch53@gmail.com" ]
kswelch53@gmail.com
f9a7d373fd0a22027404c7c536075e139ac3a6b3
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/site-packages/django/contrib/gis/db/models/__init__.py
9c0171e697081762f1b1e195bdfdad25bd682f41
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:051de440079f22fe0ed4d92c8950944a1c2548ee0e08da1419a9fa7424462325 size 817
[ "aqp1234@naver.com" ]
aqp1234@naver.com
536d2bb7c20e1b661abe24f0f95926c9918497d4
aff16ae12059c195b33d52939d7c1eafd3bfa365
/helper/classbook.py
f3ec49e471c7f1f4ef87aa999960bfdb47bd98f9
[]
no_license
tritochky/Helper-project
05afb413ce0f61fd730995bf9b052aaa779ddb65
1cbd6b6a70318d8d300fd44efba693452e108fc5
refs/heads/main
2023-06-25T19:38:14.689067
2021-06-30T06:47:40
2021-06-30T06:47:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,003
py
import re from collections import UserList from datetime import datetime class Field: def __init__(self, value): self.__value = value # self.value=value @property def value(self): return self.__value @value.setter def value(self, new_value): self.__value = new_val...
[ "nvova@i.ua" ]
nvova@i.ua
bdfe284fa0ae3b2a512b04d8940ec3f261a6a829
8efc4b613540ed08e2dceb6c2720c45e58e637ac
/Parity_Check.py
64ff4b2ffc56c80b21f21952ca3a2e107a0aaee7
[]
no_license
monishnarendra/Python_Programs
9fca3e17c9792566ccde1a632491fbc815bab4f7
2d5a7c0fa32ad34f116dee1be8e3ad3840813bd0
refs/heads/master
2020-04-02T00:12:09.746481
2018-10-19T14:12:28
2018-10-19T14:12:28
153,793,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,881
py
class Sender: def Get_Bits(): n = int(input("Enter the number of bits u are going to send")) print("Enter the bits in binary") for i in range(n): a = int(input()) print(a) if a == 1 or a == 0: list1.append(a) else: ...
[ "noreply@github.com" ]
monishnarendra.noreply@github.com
ab3b7da4ed78ef5e96dfff8f00d0f0fa5bd71a7c
4020a0415ddcd7215205abc255575529370ab466
/Module 06 - System Hacking/buffer/verify DLL address.py
5b346837322f52a02e7ef96518f735afc38c8e8a
[]
no_license
markroxor/CEH-Notes
0c42bee1c056c27a9acd068d20fd3714f4ecc2e4
59e32af042cc839df3ccbd1a69998d737ba822fd
refs/heads/main
2023-07-30T06:46:55.971063
2021-09-30T12:33:40
2021-09-30T12:33:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
import sys import socket junk = "A" * 1052 + "\x7b\x8a\xa9\x68" # Establish Connection and Send Junk try: conn = socket.socket(socket.AF_INET,socket.SOCK_STREAM) conn.connect(("127.0.0.1",8888)) conn.send(junk) conn.close() sys.exit() except Exception as error: print("Error Occur " + error) ## ...
[ "noreply@github.com" ]
markroxor.noreply@github.com
cdd5297894bf5ee4f0daaa2ae94052135a491e24
bb90bd8c4cad0dc757568944f0f654a938363c6d
/ecomsite/store/admin.py
6b86f90e8a05cd848c04d219da64af9d3455ee9b
[]
no_license
jayshah52/E-commerce-django
153267b21dc5e9187785bb926d7d1e2ed603ad1a
336895e5ac71ed87e966592c8d48fe7cf5d18258
refs/heads/main
2023-04-16T19:58:14.303280
2021-04-29T20:38:53
2021-04-29T20:38:53
356,398,669
0
1
null
2021-04-29T19:00:23
2021-04-09T21:08:39
Python
UTF-8
Python
false
false
237
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Product) admin.site.register(Order) admin.site.register(OrderItem) admin.site.register(Customer) admin.site.register(ShippingAddress)
[ "sjay5200@gmail.com" ]
sjay5200@gmail.com
afc73c49dd4b103e78381366945e0d57107d6148
f9abe32ae9a9dd25a01187dde74d98214ca32de4
/migrations/versions/a8679a4d7166_link_icon_and_format.py
4478ae9dd33e427802abfcc3dcf8cc326f6c4cb9
[]
no_license
treetrnk/flask_writer
79bdab2f952d2667d92824b5abab0876b69ff97d
c7b7443b5afc065626850bbde21a38aa30570d1e
refs/heads/master
2023-09-03T11:41:41.412642
2023-08-31T18:54:55
2023-08-31T18:54:55
181,212,814
5
3
null
2023-02-16T04:40:38
2019-04-13T18:28:35
Python
UTF-8
Python
false
false
782
py
"""Link Icon and Format Revision ID: a8679a4d7166 Revises: 524dbf864261 Create Date: 2020-02-28 08:30:18.512757 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a8679a4d7166' down_revision = '524dbf864261' branch_labels = None depends_on = None def upgrade():...
[ "nhare330@gmail.com" ]
nhare330@gmail.com
78d2f029f66ce32ec0db128467765b7e3b1410fc
79453d52907cb83eec7a7b661245dfa459b5e6a9
/srt_to_txt.py
7e165751d20852395d07d923abbe79121ca601e5
[]
no_license
HavinLeung/memeify
a446031bdf6f1328cdb5273cdf0cccab98784c4f
356d9cfc1323ccd3ea87f40c589d202bf9d17be3
refs/heads/master
2023-03-27T09:42:08.116349
2021-03-23T18:55:54
2021-03-23T18:55:54
308,989,216
1
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
#! /usr/bin/env python3 import sys import os import subprocess def timestr_to_millis(timestr): hours, minutes, millis = timestr.split(':') millis = millis.replace(',', '') millis = int(millis) millis += int(minutes)*60*1000 millis += int(hours)*60*60*1000 return millis def transform(s): t...
[ "havinleung98@gmail.com" ]
havinleung98@gmail.com
9bed6ed6c401fac8dd4b07157b505d6d45bf5404
0a65d42f4f0e491cb2aada408401b94909f821c2
/Attendance_Monitoring/hrg/hrg_hr/migrations/0007_auto_20200625_1027.py
f121581d75c52217f396b1f22613076fa26f7155
[]
no_license
jmadlansacay/_Office
3acde7655784e91c7dcecfc853d4f36cdfeef028
7f46449b9f7e8e892e2e0025ba493259197fa592
refs/heads/main
2023-07-28T10:23:54.680822
2021-09-11T02:28:07
2021-09-11T02:28:07
379,155,026
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 2.2.5 on 2020-06-25 02:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('hrg_hr', '0006_auto_20200625_1006'), ] operations = [ migrations.AlterField( model_name='tblmas...
[ "Q034800@mhi.co.jp" ]
Q034800@mhi.co.jp
46e038b9982caa16616d2ef6759de3e9189f49b5
e17d9d2aacec03af99188a873f30646c06633d52
/tests/test_pyshock.py
71cf3a6eefbbd654747f99a76ce570936af4814b
[ "MIT" ]
permissive
numshub/pyshock
10978d13f70c1eff832bb957e7d27a199b65e2b6
57cef0dbb1481fec6acc02ee3a064a15dc059e51
refs/heads/master
2020-05-18T15:06:36.602844
2017-03-07T23:17:07
2017-03-07T23:28:43
84,256,545
0
1
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_pyshock ---------------------------------- Tests for `pyshock` module. """ import numpy as np import pytest from pyshock import pyshock @pytest.fixture def bands(): """Reference bands """ return np.arange(21) def test_nth_band(): assert pys...
[ "pierpaolo.dafieno@gmail.com" ]
pierpaolo.dafieno@gmail.com
a5016bfefccde0f94ae1caf65fdcdc907a1c441f
fa7f66e12223a11a17d42c9a672d03c845b604bd
/pyvisa/resources/helpers.py
4fa00202bba32d4cd5c69c74c7aa0cf9c8952d9e
[ "MIT" ]
permissive
caryan/pyvisa
5756e65c42810553f6f4b9f14800b5007b9dee0a
1529fce2ac42ac8b47cf6f2c8ad1de22c9e88488
refs/heads/master
2020-12-03T03:31:59.688014
2014-08-29T22:44:24
2014-08-29T22:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,584
py
# -*- coding: utf-8 -*- """ pyvisa.resources.helpers ~~~~~~~~~~~~~~~~~~~~~~~~ Helper functions. This file is part of PyVISA. :copyright: 2014 by PyVISA Authors, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ from __future__ import division, unicode_literals, p...
[ "hernan.grecco@gmail.com" ]
hernan.grecco@gmail.com
16ea2defea7c60d56fa537579e5a2fdc02392c5b
accd72054c5d1ccd198be46b40f8d3b8d7585fad
/version1.0.py
5ef9797d303fb415388b385528c05a80de4cc435
[]
no_license
yan-yf/ExcelTools
34f69005ad9357f0e87fd96bf43a83db8d75c93a
7e2af639754d78bcbb33414afdaab4ce924f504c
refs/heads/master
2021-01-19T20:30:47.459157
2017-03-03T04:02:26
2017-03-03T04:02:26
83,755,426
1
0
null
null
null
null
UTF-8
Python
false
false
11,309
py
# -*- coding:utf-8 -*- import sys import win32com.client as win32 import xlrd import os import wx import wx.calendar as cal default_encoding = 'gbk' if sys.getdefaultencoding() != default_encoding: reload(sys) sys.setdefaultencoding(default_encoding) version="1.00" test_date = 0 choice1 = 0 ch...
[ "noreply@github.com" ]
yan-yf.noreply@github.com
fc6bbf38d636183a0b0603685d52f4c702b13dfc
f4bfc21c1d75e091bc6a59480459ecbcbbcadb3f
/lincRNA-RBP/bin/conservation_intersect.py
2f2e4e5f16b5a97e9266c3958f47f2af7941ad7d
[ "MIT" ]
permissive
cshukla/biostat297-project
e3ee9bf312e04b2f5f61b3e87532ca4bad14da2d
0d03d2b65ef4a5fd19da057652e6379a2a9c7e35
refs/heads/master
2021-09-01T07:00:40.951057
2017-12-25T14:54:37
2017-12-25T14:54:37
115,344,430
0
0
null
null
null
null
UTF-8
Python
false
false
4,808
py
#!/usr/bin/env python from optparse import OptionParser from bx.intervals.intersection import Interval, IntervalTree import gzip, glob, os, sys, subprocess ################################################################################ # conservation_intersect.py # # Intersect a list of segments (e.g. lincRNAs) in gf...
[ "cshukla@fas.harvard.edu" ]
cshukla@fas.harvard.edu
8678308b1d08ffdf9b7474cb19c0ca2bdc0de660
7349ad853e12b7c6ff1ab745d37a4def19bb4fc5
/sd.py
6ce20a4782875056ab156f7593f7b280cc65b37a
[]
no_license
hjpython/uumnt
1c70ec6767de7c214720809e373d9cc1530ae902
7558a10e63fec8a1dfa00ad7b4b4c76261484622
refs/heads/master
2020-04-10T08:53:09.267205
2018-03-08T05:01:37
2018-03-08T05:01:37
124,268,005
0
0
null
null
null
null
UTF-8
Python
false
false
2,055
py
#!/usr/bin/env python # coding=utf-8 import urllib.request from bs4 import BeautifulSoup import os import urllib.error import shutil import re from config import dir def xiazai_uumnt(url): html = urllib.request.urlopen(url).read() title0 = BeautifulSoup(html,'lxml').find("div",{"class":"bg-white p15 center img...
[ "834775954@qq.com" ]
834775954@qq.com
58532740544e8db357b9a96eeef8013a0260304c
3c05d36c15d5f2473ebf8217902fdf38b2ed0f69
/portfolio/settings.py
b2dfb8ff7781aa3dbb22ce4d34a5b3f637e48936
[]
no_license
eljihaoui/django_firstProject
69476457d2f337e346ad50605bce1515d0831950
ff98894bed4d19ad96caef917fef7a5c3070f67d
refs/heads/master
2023-06-06T19:40:06.509070
2021-07-21T18:34:56
2021-07-21T18:34:56
387,951,509
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key ...
[ "eljihaoui@gmail.com" ]
eljihaoui@gmail.com
26e8321387d7acb7136a76bcf11db56c990ad589
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/notifications/client/controls/notificationScrollContainer.py
430068214b444982858c2a3b313c78d2ca6a9572
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
#Embedded file name: notifications/client/controls\notificationScrollContainer.py from carbonui.control.scrollContainer import ScrollContainer from carbonui.primitives.base import ReverseScaleDpi, ScaleDpiF from carbonui.primitives.container import Container import carbonui.const as uiconst from carbonui.primitives.fra...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
8617b2af3fc5d297b7ad8cb3f0f00ce55eeabe2b
cdbcb7fe84f5d794ac1f58203a4d4024e30270dc
/Lista_de_Exercício_07/ex004.py
5992a3c1351219db66b539fd84e050b3e198de80
[]
no_license
AdriandersonLira/APE
13c8bbb9c698d546a3a4dc19501f1b865aa9844d
b96df3817645aa6807c8f30772dbd4dfdd7e8806
refs/heads/master
2021-07-23T06:21:36.707886
2020-06-14T01:47:39
2020-06-14T01:47:39
182,209,398
1
1
null
null
null
null
UTF-8
Python
false
false
291
py
vetor = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 ] for i in range(20): vetor.append(i) print(vetor) K = int(input('Digite um número presente no vetor: ')) cont = 0 for i in vetor: cont += 1 if i == K else 0 print(f'A quantidade de vezes do número {K} no vetor é {cont}')
[ "noreply@github.com" ]
AdriandersonLira.noreply@github.com
f90347b536b1d2ea8d4c92b4034283fd86ea967b
34b0eeca063fc91ce72fbc7b147063e2bbc9d5c1
/porter/utils/trace.py
a62f065a8c81d0a09739cb65e91db231d7d5a21e
[]
no_license
LeadmapRobot/EasyLayout
9f5131fb10f0fb2684c9fd37c71cc109aa84b993
bc8eca6416179c9e3194f6ebeb5da62e7f644455
refs/heads/main
2023-06-28T12:41:57.463504
2021-08-03T01:01:17
2021-08-03T01:01:17
391,826,271
2
1
null
null
null
null
UTF-8
Python
false
false
1,180
py
# -*- coding: UTF-8 -*- """ @time:2020-12-21 16:53 @author:zhang @file:trace.py """ import sys import traceback import os def currentFrame(): """Return the frame object for the caller's stack frame.""" try: raise Exception except: return sys.exc_info()[2].tb_frame.f_back def findCaller...
[ "simoncoming321@163.com" ]
simoncoming321@163.com
2bb6dc23e539eb0a385056f65a9238fe32bbaf46
416c02f975c23b32b8a9b525753fe441fe5ca609
/getSetu/getSetuFromPoi.py
94684be83469755c52319a5b54c15cf7e9c802f1
[]
no_license
Moonenzyw/MyGit
d7b70984d3bffe65b05da6a598034360b37a8490
fd348dfd8263475d6b68b4c2f6c47e3d28d72646
refs/heads/master
2020-05-15T21:57:17.049262
2019-04-23T12:58:31
2019-04-23T12:58:31
182,513,670
0
0
null
null
null
null
UTF-8
Python
false
false
2,888
py
import requests import time import random import selenium,time from urllib.request import urlretrieve from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC # available since 2.26.0 from selenium.webdriver.support.ui import WebDriverWa...
[ "903284186@qq.com" ]
903284186@qq.com
09d0537ffaab646ff46697a37d17dc689807fc0b
f6b96d2c534f3d7c7f44630290cbcfc678e41dd7
/base_auth/settings/slack.py
d604d1200875f2f8b70dde98d07fe55b02bd7d8c
[]
no_license
bitclave/base-auth
081844f1e7bf27208c6988013e9b8605a07a24b6
9822f30f49c18796d3d8f85be85c56dae714ba33
refs/heads/master
2020-03-08T04:22:39.438898
2018-05-03T09:45:12
2018-05-03T09:45:12
127,919,321
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import os if 'SLACK_INCOMING_WEBHOOK_URL' in os.environ: SLACK_INCOMING_WEBHOOK_URL = os.environ['SLACK_INCOMING_WEBHOOK_URL'] else: SLACK_INCOMING_WEBHOOK_URL = None
[ "rremizov@yandex.ru" ]
rremizov@yandex.ru
794aec261c5a2a0b22f17b996021749049c4c913
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321145335.py
eca006aa8c88a49574cbf23f7e9263b1bfe377c0
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
import os import subprocess import re from datetime import datetime import time process = subprocess.Popen(['./algo_tabou.exe', '1000', '1000', '50', 'distances_entre_villes_50.txt'],stdout=subprocess.PIPE,stderr=subprocess.PIPE) stdout, stderr = process.communicate() result = st print(result)
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
45fa1969ec95844186a60ffdbb41878168324e8d
ba4ba997668d5af029dcbe3f41c3f76b0605127e
/LeetCode/code/00000-00500/00234.py
9d9a474f892aa6890e8db1576c725a8b0756de4a
[]
no_license
qlhai/Algorithms
d928db120c3f3f948292f6ac02ae244c72687f59
dec5a7fd448892855f2f5b0565ea53c9de147158
refs/heads/master
2021-06-06T17:02:33.383846
2020-09-23T04:38:51
2020-09-23T04:38:51
121,399,824
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # list def isPalindrome_1(self, head: ListNode) -> bool: arr = [] while head: arr.append(head.val) head = head.next i = ...
[ "qlhai@outlook.com" ]
qlhai@outlook.com
2b72226cd0f2b4dcb48cd7a8e73d627f3db7c99a
505f1f4e4cd2ba9190fbdcf347810e2540580b62
/webscarpingtest/env/bin/pip
d68eb3bd5f47ffe8db5ec8a614242f3937999383
[]
no_license
shrawanphuyal/jenkinsautobuild
e634e5a5f005137627e59dd0fca2cc4a6f19fa35
59fb888a9743afc4b9f93251f1676a34f6cbf4cc
refs/heads/master
2020-04-29T10:35:29.397545
2019-03-17T06:56:30
2019-03-17T06:56:30
176,066,746
1
0
null
null
null
null
UTF-8
Python
false
false
409
#!/home/shrawan/PycharmProjects/webscarpingtest/env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' 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])...
[ "phuyalshrawan@gmail.com" ]
phuyalshrawan@gmail.com
0455b48ff2f31febe500d714c46ce1a8c97ec196
b9a2fa858dc9e68cd518bef40ab44d3dc78e134a
/myapp/migrations/0004_user_read.py
cddba480735b3052c5b84d1e7cc303941961a315
[]
no_license
Nyppy/test_project
a796880f23fd937110ced941f219c3f832db113e
41f78f4c20820d7f149e2e3f7e93d35897f0e45a
refs/heads/master
2020-07-23T17:39:15.400746
2019-09-18T15:55:51
2019-09-18T15:55:51
206,528,929
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
# Generated by Django 2.2.3 on 2019-08-13 18:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0003_user_auth_one'), ] operations = [ migrations.CreateModel( name='User_read', fields=[ (...
[ "Yaroslaw131Dan3" ]
Yaroslaw131Dan3
f4aebe99d8570a819efb4c5312fa10917a1b5f3e
7f796e0d1b6bfebe27efc165d4683bb586fec3bc
/travello/migrations/0002_destination_price.py
c09f6c4c5a94477ba8579e6cba30f2938a82bab3
[]
no_license
akulacharan/telusko
1b984272bb33d4787ed73ab0c460608c6ca73f20
9404a890eafbaefb836c5c89af155fd0baa8f1b6
refs/heads/master
2022-11-08T22:32:36.730400
2020-06-28T06:42:36
2020-06-28T06:42:36
275,524,207
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 3.0.5 on 2020-05-02 06:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('travello', '0001_initial'), ] operations = [ migrations.AddField( model_name='destination', name='price', ...
[ "akulacharanteja@gmail.com" ]
akulacharanteja@gmail.com
884688b3adf0caa413f15e029f27f536ba592ce5
c89ab83cebb52a5160faa2786120604b34e42de5
/steps/parseconfig.py
a518a18c683415df36be834298a7ecd96b7b0ac7
[ "LicenseRef-scancode-public-domain", "CC-BY-3.0" ]
permissive
zymos/nature_emulator
8f3ddba64fafd8083231d3c54bcb0b77e5870a96
c79431ad63dc607f8c196ca26f9829b0fc82ed1c
refs/heads/master
2021-01-20T15:37:05.525860
2015-07-05T16:15:25
2015-07-05T16:15:25
35,963,076
1
0
null
null
null
null
UTF-8
Python
false
false
745
py
from ConfigParser import SafeConfigParser def config_get_true_false(parameter, value, default): if value == 1 || value == "1" || value == "true" || value == "True" || value == "TRUE": return True elif value == 0 || value == "0" || value == "false" || value == "False" || value == "FALSE": retur...
[ "zymos@users.noreply.github.com" ]
zymos@users.noreply.github.com
d46ae4af82e91b0bdd0ff6d2df803a5734c56909
4776496cfec4a9652cd1e95deda88318e126041f
/manage.py
3076eb1166bc730642f3c5a0fdf2ccf7cdcee90e
[]
no_license
boblannon/shelter_cms
c597b9cbd0f5079bc7b3a6e957522fef752743bc
52e187954cb160b4c8bcdbaf343f4cb410c30c38
refs/heads/master
2021-01-15T17:09:40.657712
2013-07-23T09:00:34
2013-07-23T09:00:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sheltr_cms.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "blannon@gmail.com" ]
blannon@gmail.com
d7c07a67dd247b1d62d0b925177b19405cb961a8
f308487cb622252e17e39fddac6104177ef0b431
/Reverse/time/cracker.py
6574b5ed369571b3c55dc594309a9c78c7aa5e97
[]
no_license
manwithhonor/CTF
c52448744c754709c3489ffc95cb40d2e9dc2f1f
51cec7da00439f74cd975fa26eb3bc0b27b72622
refs/heads/master
2020-05-27T14:39:23.753336
2019-05-22T16:01:29
2019-05-22T16:01:29
188,662,909
1
0
null
null
null
null
UTF-8
Python
false
false
140
py
with open('source', 'rb') as f1: with open('cracked', 'wb') as f2: f2.write(f1.read().replace(b'\x00\xca\x9a\x3b', b'\x00\xca\x9a\x77'))
[ "nagov-mark@mail.ru" ]
nagov-mark@mail.ru
17049ed6b3705fb01190a0f5025f74cd714f8f3e
1b26d0023ad7eb302a9dd7d0d6696ef836c17c05
/HyeonJinGithub/2020-10-07/12100 2048 (Easy).py
20832b880e18018074fca0d6cc9aa019aaeb8ae8
[ "MIT" ]
permissive
Team-NTO/NTO
93e643ddd3c6cad308f1f984aaa9abc43d9e3bb8
133f19e1e15e423589bd7b94b698d2afc76c3ef6
refs/heads/master
2023-06-23T06:26:16.374869
2021-07-11T06:43:08
2021-07-11T06:43:08
298,460,899
1
3
MIT
2021-07-11T06:43:09
2020-09-25T03:47:51
Java
UTF-8
Python
false
false
2,831
py
import sys from copy import deepcopy def print_max(arr): global res for i in range(len(arr)): for j in range(len(arr[i])): res = max(res, arr[i][j]) def dfs(tmp_board, n): if n == 5: print_max(tmp_board) return dfs(move_left(deepcopy(tmp_board)), n + 1) dfs(move...
[ "skymilk95@naver.com" ]
skymilk95@naver.com
eab167304f0c65adf4c49183eb68a6f345882f21
bfd5ff37c1779a1c958ff4aaf95f7abb97627d99
/blog/models.py
805c54a67b3a6dd7077fd2749729ff14be96b57b
[]
no_license
NassahMaimunah/my-first-blog
a158eab3ea6fefd24d4e24e3111c856e02cfe8c4
b82a88478ea5c712ced6bee54be54cccda3d9cd7
refs/heads/master
2021-05-03T09:35:06.419261
2016-10-29T13:40:19
2016-10-29T13:40:19
72,284,813
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) published_date = models.DateTimeField( blank=True, null=True) ...
[ "nassahmaimunah@gmail.com" ]
nassahmaimunah@gmail.com
9f43fb14f4f02ba8751b22c2c72d7895d7e04ad5
6f08f6390a584d51a815bb767ea203387bab8db5
/bin/AlleleFinder
1ba61f358c14ac55cdf2ee98aa3f71803b77db73
[]
no_license
longrc/AlleleFinder
23a2ae34b028023a69a9a1e696e7741c5203855d
d56166ba47a1b88994c93f1d3a2cfdf796bc8ff0
refs/heads/master
2023-01-21T15:03:34.420401
2020-12-01T09:00:43
2020-12-01T09:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,817
#!/usr/bin/env python import sys import os import argparse import time import allele_backbone as ab import allele_gmap as ag import allele_blast as abl def time_print(info): print("\033[32m%s\033[0m %s"%(time.strftime('[%H:%M:%S]',time.localtime(time.time())), info)) def get_opts(): group = argparse.ArgumentParse...
[ "765550282@qq.com" ]
765550282@qq.com
c547e795cb5f9868e237afc5db898ea2928b517c
d41cf32bd1ff18eca4ca8bfc2908eeb48b0df959
/ts/model/recurrent_forecast.py
df0a87f85c61bafabed73bb18d12840b8fb9ba75
[]
no_license
tedlaw09/time_series_forecaster
1db8c17902bdd790fe9f33f841eb5de204b5672b
62f6fa0d5e832d2d1786eae729d9462b78d9b459
refs/heads/main
2023-09-03T18:47:07.025929
2021-10-31T14:51:06
2021-10-31T14:51:06
423,173,487
1
0
null
null
null
null
UTF-8
Python
false
false
8,918
py
import pickle import os import tensorflow as tf import numpy as np from ts.utility import Utility, ForecastDataSequence, SaveCallback from ts.log import GlobalLogger class RecurrentForecast: """ RNN based forecasting model which allows for a list of layers to be provided """ @staticmethod de...
[ "tedlaw@126.com" ]
tedlaw@126.com
5134ad356b8187c5c41b7a78e471e1daaae04a22
864655ffd9b273c23b060d98dd3b52086658c26c
/tests/test_referenceless.py
d72199c88ef266c08f124bdd5c04dca01a9f2791
[ "MIT" ]
permissive
tuetschek/GEM-metrics
c0be7dc96dc33c7fe0b1ff109005766a8657d76b
8e17f54104dc2305c1ac6ae65f0ec2124d922134
refs/heads/main
2023-05-05T09:27:03.066915
2021-05-13T14:59:42
2021-05-13T14:59:42
363,098,615
2
0
MIT
2021-04-30T09:59:08
2021-04-30T09:57:17
null
UTF-8
Python
false
false
172
py
"""Test class for metrics that don't use a reference. """ import unittest class TestReferenceLessMetric(object): pass if __name__ == '__main__': unittest.main()
[ "amadaan@cs.cmu.edu" ]
amadaan@cs.cmu.edu
bde5b82989102ae8dbcb6355fc1544fee00f6b16
d0925805c58627911422fe9e5574bbe163b78344
/rooms/management/commands/seed_amenities.py
7756185663ff553d925ecea3abf2508f280df9de
[]
no_license
hs04111/airbnb-clone
52fc3a6e4573cbfc611386c8fcd6cc3d53bb1ddf
6e75494f8801e1149f840345d6613d5036c04018
refs/heads/master
2023-02-20T03:24:21.489785
2021-01-24T14:49:45
2021-01-24T14:49:45
307,663,898
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
from django.core.management.base import BaseCommand from rooms.models import Amenity class Command(BaseCommand): help = "This command creates amenities" def handle(self, *args, **options): amenities = [ "Kitchen", "Heating", "Washer", "W...
[ "hs04111@naver.com" ]
hs04111@naver.com
b2e11180449c5cbd4123a1f6c4e49af8b9b06064
ba3c06f9ae89479fa4987fe841ac09b5b5d71383
/python_for_kids/book/Examples/mean.py
1d733629a2eb40a1124f5270aca68952c682f52e
[]
no_license
mary-tano/python-programming
6d806e25011e770a04a0922d0b71bf38c222d026
829654a3274be939fa529ed94ea568c12f7f1a27
refs/heads/master
2021-05-17T15:30:32.710838
2020-04-01T13:37:18
2020-04-01T13:37:18
250,846,188
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# Среднее значение print("Введи число: ", end="") Sum = 0 Value = int(input()) for Number in range(1,Value+1) : Sum += Number Mean = Sum / Value print("Результат: " + str(Mean))
[ "masha.mary.tano@gmail.com" ]
masha.mary.tano@gmail.com
5708fc756fef49b594066cdc7e47e06500d47585
08b4e2c766724454059f1f72dc783b902ae14788
/netbox_api/model/ipam_role.py
0abe9b1b1cdde34a397ac756c73defee0888bc1c
[ "MIT" ]
permissive
zinic/netbox_api
34d4e699747a5012c2e52c49e9f41e6375259fb3
ace6cb2b60edd93f4a37f7a29e8d262a1c8e1fc4
refs/heads/master
2021-01-01T18:26:36.542405
2017-08-14T20:52:48
2017-08-14T20:52:48
98,341,745
2
0
null
null
null
null
UTF-8
Python
false
false
332
py
class PrefixRole(object): def __init__(self, id=None, name=None, slug=None, weight=None): self.id = id self.name = name self.slug = slug self.weight = weight @classmethod def from_dict(cls, contents): if contents is None: return cls() return cls(...
[ "john.hopper@jpserver.net" ]
john.hopper@jpserver.net
2fd6affedb77774a05cf4ecb2bb692bed8d3b69b
e4520cdf1328b2df38105f15e0f64e0836cce0dc
/seg3Dlow_inference.py
25a1902afeaaa45759b39fc8d6210c76002aeed7
[]
no_license
inqlee0704/lung_segmentation
105efd078033021cdfbfacd99ccf1d74138a719e
b1d81950fbf3bab28b08671473b49b54304d3c19
refs/heads/main
2023-07-12T01:17:43.113532
2021-08-23T03:56:46
2021-08-23T03:56:46
397,806,413
0
0
null
null
null
null
UTF-8
Python
false
false
3,322
py
import os from dotenv import load_dotenv import time import random import wandb from RecursiveUNet3D import UNet3D from Seg3D import Seg3D from medpy.io import load from engine import Segmentor from dataloader import LungDataset_3D_low_res from torch.utils.data import Dataset, DataLoader import numpy as np import pa...
[ "inqlee0704@gmail.com" ]
inqlee0704@gmail.com
720a812fe7cfb5dcb8dd3faceb9c494944c59585
8599fe6390fb2ee6c545e82948ae793e63af481d
/Data preprocessing/getword.py
09c336103722314d51d707e4cbd816ebf7e78bd8
[]
no_license
csmaterial/kaggle
5c83a427018ff75754d314cc924eabcd13e20679
44da2b3de9dfeb2d7218259bfb4c779c503cd144
refs/heads/master
2021-09-03T07:41:08.212836
2018-01-07T06:36:14
2018-01-07T06:36:14
116,449,038
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 5 14:50:07 2018 @author: zhang """ import re import numpy as np import pandas as pd filename = 'C:\\Users\\zhang\\Desktop\\Aspects\\tripword.csv' word = pd.read_csv(filename) word1 = word['word'] diction = [] for i in word1: #while(1): for j in range(100): ...
[ "noreply@github.com" ]
csmaterial.noreply@github.com
def787d7c8addea114fbbb69f045cf9a24fdce1f
393c49bd5e993a03255dc538cfa824ea0a9bd079
/tools/warn/make_warn_patterns.py
4b20493ba13d5a89d45800454c0edfff3531fbd2
[ "Apache-2.0" ]
permissive
AOSP-whatever/platform_build_make
0959a17692c88f61f8b8af83c04d6300fbb4af6b
ca84657ad49890763b0fd9fccc3e227fac702492
refs/heads/master
2022-01-01T04:35:28.240285
2014-11-21T06:46:52
2020-10-10T12:02:40
142,779,041
3
0
null
null
null
null
UTF-8
Python
false
false
3,048
py
# python3 # Copyright (C) 2019 The Android Open Source Project # # 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 appli...
[ "chh@google.com" ]
chh@google.com
4601426557810995845176aedda71b23bf1ddc00
d0d3e29713afe1a8874bb2c9358f64133bf5be5f
/issues/migrations/0020_auto_20200320_1437.py
90136dbadfc48dca6ea16222121d8b58a9cd1031
[]
no_license
mickh14/unicorn-quality
6658f0328a5e6529249dfb555fe542a8dbd5da12
b422014b61b368720e00a4ead7010e3b35f97252
refs/heads/master
2022-12-10T20:59:53.040267
2020-03-26T23:34:48
2020-03-26T23:34:48
243,999,129
0
1
null
2022-11-22T05:23:35
2020-02-29T16:07:51
Python
UTF-8
Python
false
false
421
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2020-03-20 14:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('issues', '0019_comment_name'), ] operations = [ migrations.RenameField( ...
[ "michael.hurley@expleogroup.com" ]
michael.hurley@expleogroup.com
557c3b3eff50eb4bb604fd4f42bd65dbd504613f
33054c08e42d6972caa697da4645e2909241dbdb
/StateMachine.py
a888d57a9e967a5fabfcd62cf0f87c13bdeba69d
[]
no_license
unixnut/Python-Roman-numerals
d41da12914f47befad21263030e051c42973b3cd
4c98bcad65882649493c586d3a92c38bc8ce9282
refs/heads/master
2021-05-04T20:35:36.061509
2018-02-01T11:52:46
2018-02-01T11:52:46
119,829,458
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
class StateMachine: '''state can be one of the following: - None: initialising - prefix: values that will subtract from the result - remainder: values that add to the result ''' prefix = 1 remainder = 2 def __init__(self, d): self.value = 0 self.previous = No...
[ "alastair@plug.org.au" ]
alastair@plug.org.au
018ccabaec4b50ce01fc783963e90d9fafeab073
67aa2aaa7331836ac3ea6b03c9e6e733b2c80f65
/philia-service/wit-service/prompt_toolkit/input/win32_pipe.py
892af2d153b8606b78eb15e8e328416f8f0137a9
[ "MIT" ]
permissive
BuildForSDGCohort2/masta-backend
c0b9ab6e40b787885b17a86e10344d14afba4d5f
08c20fe910f8ab953714ac72f34cdead7a307bd3
refs/heads/master
2022-12-28T02:46:32.652289
2020-10-10T21:41:17
2020-10-10T21:41:17
291,690,682
1
1
MIT
2020-08-31T15:36:19
2020-08-31T10:58:32
null
UTF-8
Python
false
false
4,078
py
from ctypes import windll from typing import Callable, ContextManager, List from prompt_toolkit.eventloop.win32 import create_win32_event from ..key_binding import KeyPress from ..utils import DummyContext from .base import PipeInput from .vt100_parser import Vt100Parser from .win32 import _Win32InputBase, attach_win...
[ "phil.odinga@astechcongo.com" ]
phil.odinga@astechcongo.com
8f4bd521b9a046c66c206d8916290b99234b9ed4
a5f93bb346f55fe5351f8924deacd00b7b98a597
/module4-acid-and-database-scalability-tradeoffs/app/rpg_mongo.py
35e2afca48fdb8de825bfccc3101a4d73687f0e0
[ "MIT" ]
permissive
anitashar/DS-Unit-3-Sprint-2-SQL-and-Databases
33cabb92ee06aafb0ab9efe0290dfdb8c86cf236
caa9ca7ac454d9fb7dab82ce378433e5fb9465e2
refs/heads/master
2021-05-27T08:01:26.223684
2020-04-21T00:46:29
2020-04-21T00:46:29
254,240,808
0
0
null
2020-04-09T01:27:05
2020-04-09T01:27:04
null
UTF-8
Python
false
false
404
py
# How many total Characters are there? # How many of each specific subclass? # How many total Items? # How many of the Items are weapons? How many are not? # How many Items does each character have? (Return first 20 rows) # How many Weapons does each character have? (Return first 20 rows) # On average, how many Items ...
[ "anitashar2006@gmail.com" ]
anitashar2006@gmail.com
5fb551cfbd25ef543c12294b5e6b5b34c8fe8f14
2e92ec142eac6a47f955f5e063ebb27422af67c4
/zmq_trainer/zmqsimulator.py
d30a7e2c57f821aa24e4c1672277c1d94c3d7ecc
[]
no_license
YhsCandy/HouseNavAgent
3e6785c97125eee613028c13ec082f04b5f6c1b5
f1c28d9c135d98e9b0dca5f530c7d2186b8ef700
refs/heads/master
2022-02-26T06:57:52.677336
2019-09-13T21:28:44
2019-09-13T21:28:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,127
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: zmqsimulator.py import multiprocessing as mp import threading import atexit import os, sys from abc import abstractmethod, ABCMeta from six.moves import queue import weakref import zmq import msgpack import msgpack_numpy msgpack_numpy.patch() def dumps(obj): ...
[ "jxwuyi@gmail.com" ]
jxwuyi@gmail.com
358893e35bbd56734f3c0df20f6129c87583d727
abf4757a51e38b3cde6fc55b0251e77652521a2d
/models.py
2e4f0d45edd16ef57cc997df440fe3bae2aa42ca
[]
no_license
stephenroller/relationstest
fd5284e6035682e0bfe1b13ff3c51dfec8e6f5ab
92b66e3dd800107b5489f662264f87d5d178af61
refs/heads/master
2021-01-21T11:45:20.095298
2016-01-26T23:24:21
2016-01-26T23:24:21
37,383,124
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
#!/usr/bin/env python import numpy as np from sklearn import svm, linear_model from custom_classifiers import ThresholdClassifier SETUPS = { # baseline "unsupervised" 'cosine': ('threshold', 'cosine'), # baseline memorizations 'lhs': ('linear', 'lhs'), 'rhs': ('linear', 'rhs'), 'concat': ('l...
[ "roller@cs.utexas.edu" ]
roller@cs.utexas.edu
599c16f31a7bdd1841ee6346e94922f0cb6d2c86
3ec50b750e788d018ff0f6afd3528350a8956f6a
/ch_04/tests/test_classifier.py
680a46568379375ea3e6dcaf7eb588014dcb498b
[ "MIT" ]
permissive
jegarciaor/Python-Object-Oriented-Programming---4th-edition
45fb68f04c905a27865c40a48705da803fbdc27a
2f3d6b09326dab6a0488c72c96d7368bee28fef4
refs/heads/main
2023-06-05T05:02:54.428716
2021-06-26T15:23:11
2021-06-26T15:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
""" Python 3 Object-Oriented Programming Case Study Chapter 4, Expecting the Unexpected """ import base64 import csv from pathlib import Path from pytest import * import classifier @fixture(scope="module") def app_client(): test_users = [ classifier.User( username='noriko', ...
[ "slott56@gmail.com" ]
slott56@gmail.com
8309d17602e9b9cfb5136fa53a01bbec3edfafc4
b886ca4e9c8e0d179c8034eaaa1e99cf59a31f70
/01_jumptopy/chap02/str_q1.py
dd40f961683105d80fe78a12575409cac984aa65
[]
no_license
seoseungkyo/openBigData
80e43e7b89beba57bd16c040b1602e4789e45675
1da7dfd4ae7118f61440af02519fb94f411115fe
refs/heads/master
2021-09-10T13:49:04.986210
2018-03-27T08:18:27
2018-03-27T08:18:27
125,938,316
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
pin = "881020-1068234" yyyymmdd=pin[:6] num=pin[7:14] print(yyyymmdd) print(num)
[ "sskyo0517@gmail.com" ]
sskyo0517@gmail.com
828706382369f44bfdb5af2eea5bfb46a468be2f
118413c6358a829dd83da0679c8f7d3e5ff762e9
/backend/backend/settings/dev.py
c5e5f7882c5df15cc1fe4e7681eea8e9921d74a2
[]
no_license
jinni-ni/Klaybee
136959f013af44c37675d2a8f07aee9e3a8f6092
98111d85e162dd532f8a3742ee09f6f9357e53c7
refs/heads/master
2023-08-22T21:06:18.871622
2021-10-11T04:32:49
2021-10-11T04:32:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from .common import * DEBUG = True INSTALLED_APPS += [ 'debug_toolbar', ] # Database # https://docs.djangoproject.com/en/3.2/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } MIDDLEWARE = [ 'de...
[ "sjkim910115@gmail.com" ]
sjkim910115@gmail.com
0551c05c3a0fcbffde3afd42eec059f9cc7d51a4
4d675034878c4b6510e1b45b856cc0a71af7f886
/configs/gcnet/mask_rcnn_x101_32x4d_fpn_syncbn-backbone_r16_gcb_c3-c5_1x_coco.py
7fb8e82ece225ab6f88f1f4f83bea56a42cf1a57
[ "Apache-2.0", "BSD-2-Clause-Views", "MIT", "BSD-2-Clause" ]
permissive
shinya7y/UniverseNet
101ebc2ad8f15482ee45ea8d6561aa338a0fa49e
3652b18c7ce68122dae7a32670624727d50e0914
refs/heads/master
2023-07-22T08:25:42.646911
2023-07-08T18:09:34
2023-07-08T18:09:34
263,555,721
407
58
Apache-2.0
2023-01-27T01:13:31
2020-05-13T07:23:43
Python
UTF-8
Python
false
false
376
py
_base_ = '../mask_rcnn/mask_rcnn_x101_32x4d_fpn_1x_coco.py' model = dict( backbone=dict( norm_cfg=dict(type='SyncBN', requires_grad=True), norm_eval=False, plugins=[ dict( cfg=dict(type='ContextBlock', ratio=1. / 16), stages=(False, True, True, Tru...
[ "noreply@github.com" ]
shinya7y.noreply@github.com
adaef7b4c22f7d588cbecc487971f66d2e877e6a
22ac18caaf9b4e2a143e9142bbe0c2a1a69f0233
/plushkin/core/api/urls.py
ab41976f4efeef96d1f67f83af1fa6c0a6b47f1a
[]
no_license
buzzon/plushkin-server
e850df872fa0fc29532dd61b1637b1e5d0be37f7
03602685c631152180b99f337ffad969a82e2d0b
refs/heads/main
2023-05-05T03:25:59.575758
2021-05-14T05:35:14
2021-05-14T05:35:14
302,861,339
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
from django.conf.urls import url from rest_framework.authtoken import views as rest_views from . import views from .views import UserViewSet, BookmarkViewSet, BookmarkLinkViewSet app_name = 'core' urlpatterns = [ url(r'user_registration/$', views.UserCreate.as_view(), name="user_registration"), url(r'user/$',...
[ "buzzondev@gmail.com" ]
buzzondev@gmail.com
1666841f001a283c34cf8f4be614a2ce5db233af
6583b7f11175c40106fb7cc0037578abae125f42
/ucc/gui/controls/bottom_text_ctrl.py
eb4944c37fa38a615ee1bd2c3465346c7c8e9757
[]
no_license
FREDY1969/tampa-bay-python-avr
02f913ee8373bfab4ef88902844476080b560226
e0311815ebf81b5e1b128f621bf1f15b4fa28289
refs/heads/master
2020-04-24T17:45:03.787951
2011-10-23T17:58:09
2011-10-23T17:58:09
40,279,869
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
# bottom_text_ctrl.py r'''Text control for editing word code.''' import wx, wx.py from ucc.gui import registry, debug class BottomTextCtrl(wx.py.editwindow.EditWindow): def __init__(self, *args, **kwargs): super(BottomTextCtrl, self).__init__(*args, **kwargs) self.setDisplayLineNumbers(T...
[ "dangyogi@gmail.com" ]
dangyogi@gmail.com
235ba9837b2f58a3c0bd07de1ae82650697f68b4
e76ed84b9801d070faef03e6feeac8782de8c30d
/testcases/begin_dev/get_access_token_cases.py
c3c1d59d628afaffe8f4c32fe8b223d369b2ee16
[]
no_license
chaoabc/API_CHAO
88fc5620f18d3447d4dbb4d58afdb85361758217
3d301445ef689d368b790f974b1000107ecbf3ca
refs/heads/master
2022-11-24T05:38:39.853381
2020-07-25T14:51:20
2020-07-25T14:51:20
277,857,937
0
0
null
null
null
null
UTF-8
Python
false
false
1,585
py
#!/usr/bin/env python # encoding: utf-8 # @author: miaoxiaochao # @file: get_access_token_cases.py # @time: 2020/7/7 13:41 下午 import requests import unittest from common.localconfig_utils import local_config from common.log_utils import logger class GetAccessTokenCases(unittest.TestCase): def setUp(self) -> None:...
[ "1312998662@qq.com" ]
1312998662@qq.com
1799efdff1eb4bb6b7e8ba832d454375c9017ab7
e40091711a9900350939556374cee5f3e41c2c3c
/tourism/ratting/models.py
129148c4edcd9dd3177d7a74515f01a81254f5d7
[]
no_license
rg3915/drf-tourism
951249f64450b6b710bb971aa52ed4d2efe2a85d
c6648a42eed77ab82cf10af242ffb20690404fc0
refs/heads/main
2023-03-25T21:15:08.185176
2021-03-24T08:49:28
2021-03-24T08:49:28
347,816,562
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
from django.contrib.auth.models import User from django.db import models class Ratting(models.Model): comment = models.CharField('comentário', max_length=100, unique=True) user = models.ForeignKey( User, on_delete=models.CASCADE, verbose_name='usuário', related_name='ratting_us...
[ "regis42santos@gmail.com" ]
regis42santos@gmail.com
30841bd3f6a6a979eeeab80457b83222c00be2d3
3330ed9c8f0aed91638b3a07ad697668346db930
/meiduo_mall/meiduo_mall/apps/payment/views.py
efbe83168b0fcbd31e9b45953a65fa112fb21d9b
[]
no_license
chengong825/meiduo_mall_django
fcee163bb6256672cbc5dcbd649aad2605bfb5e6
e3ca5e48f0c043d3f3f6d24a198ac2812df6d719
refs/heads/master
2020-03-29T09:48:09.189141
2018-09-21T14:33:43
2018-09-21T14:33:43
149,774,584
0
0
null
null
null
null
UTF-8
Python
false
false
3,574
py
import os from alipay import AliPay from django.conf import settings from django.shortcuts import render # Create your views here. from rest_framework import status from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_framework.views import APIView from orders...
[ "252918372@qq.com" ]
252918372@qq.com
beca7f3ac7e3309bc77727b50b4db51149f040ec
9d1833ae35f9f35ecbb665024df93573dc59870d
/Distributed Systems Failure Detection/server.py
1dd4145b2be1c409ca77cc7497f9a1ffe6a384a5
[]
no_license
ishaandatta/All_Projects
2a1788e7c0e9dea7e9775d28ac7cd33d9b7701f2
ff8fd437b60e613407431fbbc32766c4ff748ce5
refs/heads/main
2023-05-05T20:15:27.908781
2021-05-24T11:42:20
2021-05-24T11:42:20
370,076,316
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
import sys import os from threading import Thread from node import Node, Mode node = Node(role='server', mode = Mode.GOSSIP) t1 = Thread(target=node.listener) t2 = Thread(target=node.heartbeater) t3 = Thread(target=node.commander) t1.daemon = True t2.daemon = True t3.daemon = True t1.start() t2.start() t3.start() ...
[ "noreply@github.com" ]
ishaandatta.noreply@github.com
6c3277c63fb51501c6203e331198a172cb4b86fa
7c1a5eb4ab7382d20b56f88da8ddd98e56cd80f3
/pals/loader.py
db399c4c5303d3f93a836cf27806da88b03d4ba4
[ "MIT" ]
permissive
glasgowcompbio/PALS
3680f0e9b42a4566b5a77f796563b9761b3ad431
3996190ed1436d469a4958299f32dc861dfcd3ba
refs/heads/master
2022-08-25T16:53:28.475869
2022-05-02T16:11:31
2022-05-02T16:11:31
208,288,211
2
0
MIT
2022-08-06T06:10:45
2019-09-13T15:03:26
Jupyter Notebook
UTF-8
Python
false
false
21,130
py
import os import zipfile from collections import defaultdict, Counter from io import BytesIO import numpy as np import pandas as pd import requests from loguru import logger from tqdm import tqdm from .common import DATABASE_PIMP_KEGG, load_json, DATA_DIR, GNPS_DOWNLOAD_CYTOSCAPE_DATA_VIEW, \ GNPS_VIEW_ALL_MOTIFS...
[ "joewandy@gmail.com" ]
joewandy@gmail.com
516f5f7f22dbf9ab9646fea57a52c15ec339f6f6
3152ce935d7a1712b596af1979da0b6b655ad790
/chapter05/aiomysql_test.py
f488a16c1a2c28fd6e594d4411107acedfba524c
[]
no_license
tacyi/tornado_overview
7b95743be307270d7b6270a257d22e7fd2d0d08f
499df936df7f50a7639613b088882d0b1eba1566
refs/heads/master
2020-12-09T19:47:23.499461
2019-12-30T05:52:47
2019-12-30T05:52:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
import asyncio import aiomysql import tornado.ioloop async def test_example(): pool = await aiomysql.create_pool(host='cdh3', port=3306, user='sunmengzi', password='sunmengzi', db='data_webserver', charset="utf8") async with pool.acqu...
[ "33619913+YeBax@users.noreply.github.com" ]
33619913+YeBax@users.noreply.github.com
428e40e7b1f7335489c1bf70e37fed876f14c42f
be5564a85d2a5d58b961603e915aac77bf458236
/P1/ex02/main.py
63d793e4e8cc9a83fed6d70447c60df8b5752d8f
[]
no_license
lisasystaliuk/OOP
f41b87ce890e5d5a1b5529e441f989fbd9d5a4c5
76bfb6d2eb0415edf0415ecff49d50ee7e0585c6
refs/heads/master
2021-09-20T02:37:29.947023
2018-08-02T10:36:59
2018-08-02T10:36:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/env python3 from animal import Animal from dog import Dog from cat import Cat def main(): a = Animal() d = Dog() c = Cat() array = ["An Animal", "A Dog", "A Cat"] for i in range(0, len(array)): print("Making " + array[i]) a.speak() d.speak() c.speak() a.sleep() ...
[ "noreply@github.com" ]
lisasystaliuk.noreply@github.com
ffdbe021b61f0b17c5776c8d9ba4abfd981a7053
c18ed49471a64a1043bd74424d997ba2f8fcd164
/Anproject/customer/forms.py
4257597dac8d75ea07f1f72119a5cabc82a2270e
[]
no_license
nkchirpy/amn
e4c2f1574ff1a90ab4030bf618f8b577b83a7625
44624a4bf570ec239a9f6a2bb029f0730f65a290
refs/heads/master
2021-09-02T06:49:54.078214
2017-12-31T06:22:53
2017-12-31T06:22:53
106,140,398
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
from django import forms from .models import Contactform class Contact_form(forms.ModelForm): class Meta: model = Contactform fields = ['name','email_address','organization_name','contact_number','comments'] widgets = { 'name':forms.TextInput(attrs={'class':'form-control is-...
[ "krishsnk.s@gmail.com" ]
krishsnk.s@gmail.com