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
d5dd56a68ce66bf5a90c6a088734b7314a052b9a
5786d339acf7c7bb578c569eb8f257b5b1b4c393
/code/torch/models/pfreezing/args.py
0cd2249eb6016d6bf114ffd3bb95c200681e83f9
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
afogarty85/BERTVision
fe65b5b9a43d7ac1a6c7e5618138e5d1ca3b7710
3e94122d60ad5e9911ea49adbdffb4e3ebc66f08
refs/heads/master
2023-04-11T04:33:39.559446
2021-04-27T19:37:15
2021-04-27T19:37:15
362,228,809
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
import os, sys sys.path.append("C:\\BERTVision\\code\\torch") import torch import models.args def get_args(): # retreive the general models.args and attach them here parser = models.args.get_args() # set some task specific args parser.add_argument('--model', type=str, ...
[ "apf2bb@virginia.edu" ]
apf2bb@virginia.edu
a64d29dd9bc1758aa12c482836558f36caa6d738
7d6f2bd14823b3bc4e6143a9385b3c5d590f7ead
/qa/pull-tester/tests_config.py
f6888b709c45e4c97ef99c9f78a1eedb65dfd4fd
[ "MIT" ]
permissive
AmirAbrams/uniqredit
9b6b2f4872398c8d384394ccb65c7dfff6bdbeeb
de763bccb482f71d5d69755caf65652e3dbd907d
refs/heads/master
2021-01-21T09:39:17.642223
2016-07-26T07:18:42
2016-07-26T07:18:42
65,700,650
0
0
null
2016-08-15T04:48:19
2016-08-15T03:10:00
C++
UTF-8
Python
false
false
431
py
#!/usr/bin/env python3 # Copyright (c) 2013-2016 The Uniqredit Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. SRCDIR="/home/minato/uniqredit" BUILDDIR="/home/minato/uniqredit" EXEEXT="" # These will turn into com...
[ "bitcreditscc@gmail.com" ]
bitcreditscc@gmail.com
d712d5e72fd8bc200f8343491edb19f221fccdfb
9f6dac6c9c53f4e1a05aff73da76499178bacd44
/demographic_data_analyzer.py
433bc19cf41291895866574e7e5499d71c4e59fa
[]
no_license
staceyland/demographic-data-analyzer
fff2278b79e1f07d8ca1f5349fd83199038ee953
5dbe30d4c7b972625c870163fda49fd0b22f4444
refs/heads/main
2023-07-05T18:01:02.881512
2021-08-31T04:51:52
2021-08-31T04:51:52
401,576,187
0
0
null
null
null
null
UTF-8
Python
false
false
3,803
py
import pandas as pd def calculate_demographic_data(print_data=True): # Read data from file df = pd.read_csv("adult.data.csv") # How many of each race are represented in this dataset? This should be a Pandas series with race names as the index labels. race_count = df['race'].value_counts() # What...
[ "noreply@github.com" ]
staceyland.noreply@github.com
28e11970a757421df8a3c2d034a2856bde5b414f
93582aa46c835b66a2117bf24178fd80236af89d
/setup.py
e2eaee39d2b4d1cd674afe84307252167e1f9eba
[]
no_license
collective/collective.leadmedia
0fbe4e03421fcec6f026a80de80c4af28d2f218e
5fb3749861fd21859ae84686dc29f877859de45b
refs/heads/master
2023-08-24T01:19:19.470625
2019-07-23T13:30:53
2019-07-23T13:30:53
26,549,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
from setuptools import setup, find_packages import os version = '0.1' setup(name='collective.leadmedia', version=version, description="Adds a slideshow to any dexterity folderish type.", long_description=open("README.rst").read(), classifiers=[ "Framework :: Plone", "Programmin...
[ "andreslb1@gmail.com" ]
andreslb1@gmail.com
326168d8de06212813ef98b555650a25305f7aab
fff561e0e4f351d85d038cf87569c23280622157
/cmsplugin_cascade/generic/cms_plugins.py
3eaaf072f99d2b3a564045fc617a550d4bb910eb
[ "MIT" ]
permissive
schacki/djangocms-cascade
9d3e9176e54c7cca619fdc6917c38b1588bc7c88
2809f701a1cfa17a53539fac4d9dadaa5ebe40b7
refs/heads/master
2021-01-20T22:02:42.959467
2015-12-23T19:31:07
2015-12-23T19:31:07
42,931,185
0
0
null
2015-09-22T12:02:53
2015-09-22T12:02:52
null
UTF-8
Python
false
false
1,881
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.forms import widgets from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from cms.plugin_pool import plugin_pool from cmsplugin_cascade.fields import PartialFormField from cmsplugin_cascade.plugin_b...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
0f60ebe14d9d2799e58cc2c5c412340c48ead03d
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/seqex/bundle_to_seqex_test.runfiles/pypi__nose_1_3_7/nose/case.py
cd5661e50fd58f7d63994967189c34fdb7209d2c
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
115
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__nose_1_3_7/nose/case.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
a12197afa53535d77f1899ed8fde7ad5811dbb49
a01c0fcae93c2e37bd8d11fd8b6f987fb0642753
/0221/D2/2007. ํŒจํ„ด ๋งˆ๋””์˜ ๊ธธ์ด.py
2280f3715cb8b8ce388c8c8bf4343d68a4f8f060
[]
no_license
nocturne9no1/prepare-cote
5619c3d186530c558231ce45a9142400894e356f
d95e31a14c0753baa607ef667e1b3e13d8fadbca
refs/heads/master
2023-03-12T04:37:04.696446
2021-02-21T14:29:33
2021-02-21T14:29:33
335,323,149
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
# ๋ฌธ์ž์—ด ๊ธธ์ด 30 # ์ตœ๋Œ€ ๊ธธ์ด 10 for tc in range(1, int(input())+1): arr = list(input()) # print(arr) banbok_len = 1 b = 1 banbok = [] stop = False while True: for i in range(b): banbok.append(arr[i]) for i in range(b): if banbok[i] != arr[b+i]: ...
[ "nocturne9no1@gmail.com" ]
nocturne9no1@gmail.com
282108c32f9aeea25e523e99267b87f63f7f8b16
06849a53382339044b32d877bcd24c48fb1cea29
/ไฝœไธš20170926C.py
0a4ca1f9f8ecbcea058c5fe543a34f639ab25367
[]
no_license
971226654/python
0a5f7fd0a0d8eacb255072add52961c20fcfb983
ebd2b6f1c7499ded1e78e80e5cfbc1a81a4e10ee
refs/heads/master
2021-08-16T13:46:18.558259
2017-11-20T00:53:26
2017-11-20T00:53:26
111,345,144
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
a = float(input()) b = 100/661.47*a c = 100/784.45*a print("่ฝฌๆขไธบ็พŽๅ…ƒ๏ผš{:.2f}ๅ…ƒ".format(b)) print("่ฝฌๆขไธบๆฌงๅ…ƒ๏ผš{:.2f}ๅ…ƒ".format(c))
[ "971226654@qq.com" ]
971226654@qq.com
9f7fedda697e0d2e9744c1be8b113f750066e6bf
8e5f20dfc569852b0228c7fad5dc6e07071ba8da
/ะั‚ั€ะธะฑัƒั‚ั‹ ะธ ะผะตั‚ะพะดั‹/ะ›ะฐะฑะพั€ะฐั‚ะพั€ะฝั‹ะต ะทะฐะดะฐะฝะธั/task2_LinkedList__setitem__/main.py
c707cb7486e2326328ecabcc8e05e62bf829b3ce
[]
no_license
Tatyana312/PythonPY200
5ff28b0496147b61510cb4afa33f08a1b0a8046f
baf4e6c1157f5c73bd67d343d334ecb59ed291a0
refs/heads/master
2023-09-04T11:37:15.722008
2021-09-30T18:24:38
2021-09-30T18:24:38
402,518,900
0
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
from typing import Iterable, Optional, Any from node import Node class LinkedList: def __init__(self, data: Iterable = None): """ะšะพะฝัั‚ั€ัƒะบั‚ะพั€ ัะฒัะทะฝะพะณะพ ัะฟะธัะบะฐ""" self.len = 0 self.head: Optional[Node] = None if data is not None: for value in data: self.a...
[ "avrorik5@yandex.ru" ]
avrorik5@yandex.ru
96eba1f27866edfaed208bbc5b525ee4e2b9da42
9a51a707e7a562d3898e85dd002a0ee484df8f8d
/template/include/litw-dump2csv.py
e47dc79ab2c6aa18f581635b75fdaa35dd2bfec3
[]
no_license
nigini/LITW_RuralComputing
4c955788ac146e613d1493b6f5be816732813b33
f40a34b80e46435ded6cdcbcec091b44ce13b0c3
refs/heads/master
2023-01-24T09:19:52.712230
2020-11-17T00:28:57
2020-11-17T00:28:57
276,216,094
1
2
null
null
null
null
UTF-8
Python
false
false
3,176
py
import csv import json from pandas.io.json import json_normalize import argparse import warnings warnings.filterwarnings("ignore", message="numpy.dtype size changed") def clean_json_data(json_db_entry): clean_json = json_db_entry clean_json = clean_json.replace('\\\\','\\') return clean_json def rea...
[ "nigini@gmail.com" ]
nigini@gmail.com
8530fbd9d063ff0ac162ee77b6fdab28ec983282
b3deaac42f88b5b03c6589f3f083acb57e233981
/tictactoe.py
29476fe22d27988283df10eaba5ec8a30846cc8e
[]
no_license
ShllokRawat/Misc
be719276f1c831cecb00df358409e42aea1c1a3f
b9dc821a9e5ba4a57cb7c11beec501d8ca413ccb
refs/heads/main
2023-06-14T01:21:46.278459
2021-07-08T14:38:46
2021-07-08T14:38:46
384,153,551
0
0
null
null
null
null
UTF-8
Python
false
false
4,327
py
import random import copy board = [['-','-','-'],['-','-','-'],['-','-','-']] ''' - - - - - - - - - ''' name1 = "" name2 = "" gametype = "" player1 = ["", ""] player2 = ["", ""] def game(): global gametype if gametype == "": gametype = input("Do you want to play against the computer (Y/N)") counter = 0 glob...
[ "noreply@github.com" ]
ShllokRawat.noreply@github.com
ae4a5e36e26dd8270667a942b13d62f5bdf35802
4ff323ddab2923e04388445ac875b0c1d5dbfb87
/fastrates/tests.py
5784390e31ae70a9872eabf41ca29544bd46b2fd
[ "MIT" ]
permissive
MelihCelik00/fastrates
8af0536263b89a267b9e5d5d9fa7f452ffbf39cc
c7e2caaf19a435d4e6bac9088f378fef8b938003
refs/heads/master
2022-11-10T19:49:25.031081
2020-07-04T09:44:28
2020-07-04T09:44:28
277,082,224
1
0
MIT
2020-07-04T09:49:47
2020-07-04T09:49:47
null
UTF-8
Python
false
false
5,004
py
from fastapi.testclient import TestClient from main import app client = TestClient(app) def test_main_home(): response = client.get("/") assert response.status_code == 200 def test_latest(): response = client.get("/latest") assert response.status_code == 200 def test_latest(): response = cli...
[ "yagizcanilbey1903@gmail.com" ]
yagizcanilbey1903@gmail.com
311b3d5d01adbf281ec2f810b8579072154079d4
a32c2ee4e6b2b1c6f8db02320c4bd50b17940af5
/modules/YiXinNotSlot/YiXinRegister3.8/YiXinRegister.py
d216ecbed0ac33026d944068a185a506a142af16
[]
no_license
wszg5/studyGit
93d670884d4cba7445c4df3a5def8085e5bf9ac0
bebfc90bc38689990c2ddf52e5a2f7a02649ea00
refs/heads/master
2020-04-05T02:55:17.367722
2018-11-07T06:01:03
2018-11-07T06:01:03
156,494,390
2
2
null
null
null
null
UTF-8
Python
false
false
9,553
py
# coding:utf-8 import colorsys import os import random import string from PIL import Image from imageCode import imageCode from slot import Slot from smsCode import smsCode from uiautomator import Device from Repo import * from zservice import ZDevice class YiXinRegister: def __init__(self): self.repo =...
[ "you@example.com" ]
you@example.com
798774b735a933fcd930f04736d0b1ee75b00dce
cfc7cdc4beb91f8d60087bf329b63be40322a2e6
/PythonLessons spring 2021/Week2/task3.py
f33f1b29d368f1f8c6022ddd76b182ca01c3ff04
[]
no_license
Kostimo/IT2SCHOOL
0b2ea3a67055757cac1b0df4951469f615cb8cef
1e1e534731537104639bc1898f30e544108592d3
refs/heads/master
2023-03-27T09:57:45.464318
2021-03-22T15:22:43
2021-03-22T15:22:43
347,176,059
0
1
null
null
null
null
UTF-8
Python
false
false
59
py
A = [4, 8, 2, 4, 4, 6, 8, 2, 4, 2] B = set(A) print(len(B))
[ "kostyamoroz50@gmail.com" ]
kostyamoroz50@gmail.com
69caa4044054308bacd7f6d1b9489fc13d6ef90e
e7a1138cc3b55d20a99540091affb71e68a58e68
/extension/path.py
a98690f48007c7eb83a3e5116328e35ac02df1a9
[ "MIT" ]
permissive
ianpreston/oh-my-py
30d707459a054b4d67aa4b90db25574f1886eb2a
17e37974c203cb28aa2de340c6ac66143c16bd4e
refs/heads/master
2020-05-14T14:41:50.441114
2014-09-28T22:53:30
2014-09-28T22:53:30
21,529,236
3
0
null
null
null
null
UTF-8
Python
false
false
692
py
import os import os.path import sys def parse_path(src=None, sep=None): if src is None: src = os.environ['PATH'] if sep is None: sep = ':' paths = src.split(sep) paths = [r.strip() for r in paths if r.strip()] return paths def initialize_path(): # Get existing $PATH, if set ...
[ "ian@ian-preston.com" ]
ian@ian-preston.com
a14d5cd44970e0246f08fd6d8f986f474f932f6d
f1998758024f38d957c107cce69af79377f77d75
/game_functions.py
7e3a1aa8b06bb5c551ed0dccde984f17a5094079
[]
no_license
Selasi3/python-alien-invasion
2e88f85e4eb2332c8ec46df7ff8fbbdb6a29eff0
ec35610e3111fee8abb54edb85beb409f1faafc0
refs/heads/master
2020-07-24T23:00:15.617039
2019-09-12T15:09:31
2019-09-12T15:09:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,394
py
import sys from time import sleep import pygame from bullet import Bullet from alien import Alien def check_keydown_events(event, ai_settings, screen, ship, bullets): """Respond to keypresses.""" if event.key == pygame.K_RIGHT: ship.moving_right = True elif event.key == pygame.K_LEFT: ship...
[ "selasiayittah3@gmail.com" ]
selasiayittah3@gmail.com
c434fba3c625036fd8b41f266e171b8f5064b297
0b07363704d2716ae556061f8e8df277b410fe5e
/fairseq/lmoutschedule/noiselinearschesule.py
c57df9d2d847958e2a3d15fbc981bae8d3b11edf
[ "BSD-3-Clause" ]
permissive
QPanAI/FM-SCA
b2ee4c3529497020d6dbc4abdaf61dc1ecec9f9d
94bbcf2f9396b5e2d755d346427b5d94b95dd959
refs/heads/master
2022-03-03T18:19:32.117572
2019-10-28T10:19:32
2019-10-28T10:19:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
from torch import nn import numpy as np from fairseq import utils from . import register_lmoutschedule @register_lmoutschedule('noiselinear') class NoiseLinearLmOutSchedule(object): def __init__(self, args, encoder): warmup_init_tradeoff = args.tradeoff warmup_end_tradeoff = args.tradeoff ...
[ "1462540095@qq.com" ]
1462540095@qq.com
ae1e00e901dc13fc95045952bdaf3260dcd7229b
d348d72ea5fd31efbee1033a3c0b2af393e6b778
/Chapter_10_RP/Exceptions.py
d7d3c93c76f4331ce6e0e93e48e091334137cdc4
[]
no_license
Remi67/Python_crash_course
d0a1c1c72e09927b5b9e9ccc12a3af9874c8535f
8ce848aa587c533863e1c84c2293a007d1b9339b
refs/heads/master
2022-09-23T05:32:43.057188
2020-06-02T17:02:49
2020-06-02T17:02:49
268,809,303
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# Date: 26-May-2020 # Chapter 10, Exceptions section of the book 'Python crash course' second edition written by Eric MATTHES print("Give me two numbers, and I'll divide them.") print("Enter 'q' to quit.") while True: first_number = input("\nFirst number: ") if first_number == 'q': break second_nu...
[ "repaul.rp@gmail.com" ]
repaul.rp@gmail.com
4885af77b093c461ba60b7083d05670bccd37183
67dde96764db112b0d84af97a7638d6558485692
/libs/data/utils.py
44941b9f3ed796be8cea17d1dd0b72e870b2ea40
[ "MIT" ]
permissive
nicolasigor/sleep-stage
049d8501eb915515b8c2daf27a9107ed9b9f9509
57606d1ae72c22f91bfc81df325ca8c21f0b8a5d
refs/heads/master
2020-07-03T21:29:04.825152
2020-05-18T18:00:41
2020-05-18T18:00:41
202,055,957
0
0
null
null
null
null
UTF-8
Python
false
false
7,155
py
"""utils.py: Module for general data eeg data operations.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import math import os import numpy as np from scipy.interpolate import interp1d from scipy.signal import resample_poly, butter, filtfilt, firwin, l...
[ "nicolasigor.tapia@gmail.com" ]
nicolasigor.tapia@gmail.com
d1961e74a2e79af96908d797e62f8c02b98f3feb
6e68ef0a53ce48da79b4906d85fc9785deee4ca5
/Reverse/urls.py
393afb2306b734c2dd1c0ad59846b0a9bf76a76c
[]
no_license
shubhamkharose/CODEDAEMON
e3ed8050b5c43ec146c6d253d06121fc37cdb2d4
6df7af35c51f5f54b2e2167e3d64d163c9a688f9
refs/heads/master
2021-04-06T00:58:01.515828
2018-03-15T11:04:31
2018-03-15T11:04:31
125,353,062
1
4
null
2019-10-28T04:03:58
2018-03-15T10:48:53
JavaScript
UTF-8
Python
false
false
930
py
"""website URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "vvt5676@gmail.com" ]
vvt5676@gmail.com
8b49f0303eb63447307ce0a09911b9db97d5bb4b
2cf28f4992ce99513a95ab6fff35fa1d25f5f1fa
/App/mapfiles.py
2a0184ee047300b099f2a6eb4ebfdb21fdd98d55
[]
no_license
snehesht/GitIgnoreApi
3e490d0dbb7f3ec888c4dcbc47d07d3f4481979e
2bcd2e1cc30a37f0e7de7f2d5ea31b5fb2d2572b
refs/heads/master
2021-01-01T05:05:42.799266
2016-05-27T07:11:37
2016-05-27T07:11:37
59,783,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
import os import re # Global Config DATA_DIR = "gitignore" FILE_DOT_GITIGNORE_REGEX = "^.*\.gitignore$" """ Class to access data """ class DataStore(object): """docstring for DataStore""" def __init__(self): super(DataStore, self).__init__() self.data = {} self.load_files() """ Load files from data_dir wit...
[ "mail@snehesh.me" ]
mail@snehesh.me
67175736189e77eb4d95c43ea91bc66748416e04
8a55b9000920b75f937073c043249090c13b04b1
/mlcomp/utils/config.py
b036f3030ec955ff17b4b4b841ebe710cec54587
[ "MIT" ]
permissive
jingmouren/mlcomp
209f43296325387447549d1d206ffaeab5739d8e
3fd251429be3892903ab6b3361bcd69c6ea9eeff
refs/heads/master
2020-07-10T04:31:26.928425
2019-08-22T10:07:07
2019-08-22T10:07:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
from collections import defaultdict from typing import List import os import json import albumentations as A from mlcomp import DATA_FOLDER from mlcomp.utils.io import yaml_load from mlcomp.utils.misc import dict_flatten, dict_unflatten class Config(dict): @property def data_folder(self): return os....
[ "lightsanweb@yandex.ru" ]
lightsanweb@yandex.ru
b75bd97af0d87c71caf404ca4aed646d76e18dca
2ef27655cd1deb9de4074249e559269abd334fa1
/6 kyu/Decipher Student Messages.py
cbe021ef697c6a0afe2e18953a1c584352271249
[]
no_license
sieczkah/Codewars_KATA
c7606b9a88693e2550af0ef55808f34c00e77b73
68d5d4a133a015e49bcdbff29ee45e3baefcd652
refs/heads/main
2023-05-06T03:59:01.403765
2021-05-24T19:36:34
2021-05-24T19:36:34
334,698,441
1
0
null
null
null
null
UTF-8
Python
false
false
354
py
"""https://www.codewars.com/kata/5a1a144f8ba914bbe800003f/train/python""" def decipher_message(message): lng = int(len(message) ** 0.5) # the coding square is always perfect so we need to know the lenght words = [message[i::lng] for i in range(lng)] # in 5x5 we take every 5th letter in 6x6 we take every 6...
[ "huberts94@gmail.com" ]
huberts94@gmail.com
8d1442359d544abbbf4aa502b5471a2cf2dcfd37
f1de34627d3ad20a9f128fcbfa57933631d1a779
/compressor/topk.py
ed41493ac8af212cc6de7f95540c80bef3a7e3a9
[]
no_license
ducviet00/DDL-Compression-Benchmark
59d8e7c9ba001c5944a771d49e12f77fc54a7a41
867a1d902652b598f2cf9e99a483bb0d86eaf1e0
refs/heads/main
2023-08-14T21:53:23.154087
2021-10-07T05:58:25
2021-10-07T05:58:25
340,362,400
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import torch import numpy as np import time import math from horovod.torch.mpi_ops import rank class TopKCompressor(): """ Sparse Communication for Distributed Gradient Descent, Alham Fikri Aji et al., 2017 """ residuals = None name = 'topk' @staticmethod def compress(tensor, name=None...
[ "acc13085dy@g0301.abci.local" ]
acc13085dy@g0301.abci.local
a27689c8daded8fd56ec85aa46fb1ca90090cb4d
8cfe17ff768050f385fea6194a0efbe2ae7fbae2
/watch.py
8ae13c92c4dd0fe249af13031c205e68f5b0feff
[]
no_license
utopfish/zhiwang_spider
c73a4846e241b38f15aeea52d096d9a74f127662
80eebf3947d3ee7c00c3cb0e1b9406aa054f17ce
refs/heads/master
2020-08-03T14:16:05.628021
2019-10-16T12:36:37
2019-10-16T12:36:37
211,782,092
0
1
null
2019-10-10T05:46:49
2019-09-30T05:29:59
Python
UTF-8
Python
false
false
862
py
# -*- coding=utf-8 -*- #@author:liuAmon #@contact:utopfish@163.com #@file:watch.py #@time: 2019/10/16 19:15 import os import time import subprocess from config import cf def restart_process(process_name): red = subprocess.Popen('tasklist', stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) tasklist_st...
[ "utopfish@163.com" ]
utopfish@163.com
b7444d0126de1f93525cc42cc2acb4ee3834d27a
f433796623ecbfab87e33af22588b30c9ecf6bae
/src/rex.py
408527864c9415c04639eb04e71b7b699ac4ebca
[]
no_license
Snake4life/bot
3ca2d253a58c875b16776d43b96e19a95b28946b
243949f858fc2c69f7ac78aa990aa983bc228d64
refs/heads/master
2021-09-01T00:44:35.371461
2017-12-23T22:33:23
2017-12-23T22:33:23
115,833,472
0
1
null
2017-12-31T00:35:03
2017-12-31T00:35:02
null
UTF-8
Python
false
false
2,068
py
#!/usr/bin/python """ the rex package is a bittrex exchange adapter. """ import bittrex from operator import itemgetter from helpers import find from config import env Rex = bittrex.Bittrex(api_key="", api_secret="") # blacklist is where coins who have too much non crypto currency meaning go. sorry :( blacklist = ["G...
[ "au.witherow@gmail.com" ]
au.witherow@gmail.com
1c8c4210566ae5cbe696295f4518604afcffb009
ee9a916c6f92ae9150a19500201b1e96ce131cfd
/blog/blogs/models.py
315c05dc21c29b089f3da407d189797cd60a2136
[]
no_license
annaFalse/falsy_project
8cb5f61b5005b7b76b9779173bcda35b86c882e0
e1622ae830feeb93ffbed23fe9c6ca580db63d52
refs/heads/master
2020-07-14T11:14:54.690886
2016-08-23T22:39:56
2016-08-23T22:39:56
66,401,941
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
from django.db import models class Blogs(models.Model): blog_name= models.CharField(max_length=200) blog_date= models.DateTimeField('date published') blog_text= models.CharField(max_length=4000) def __str__(self): return self.blog_name class Meta: ordering = ('blog_name',) class ...
[ "anna.latysheva13@gmail.com" ]
anna.latysheva13@gmail.com
8671442e02edca3e4f06a90d331ab36482f9e09c
c5229c07c3917def7d4736f66284f5747702143e
/impossible_creatures/api/views/gameplay.py
5a5965fd69390639da1797cc970926945687b7a2
[]
no_license
Balthazar-Perrin/impossible_creatures
7197237421057c53d4da3470fe441e15a7164b42
9af78a95b6d88b6650d984e075ede419b2a2effb
refs/heads/master
2023-04-20T07:11:06.739294
2020-10-13T13:44:51
2020-10-13T13:44:51
366,512,072
0
0
null
null
null
null
UTF-8
Python
false
false
5,106
py
from rest_framework import viewsets from ..serializers import UserSerializer, SpeciesSerializer, AnimalSerializer, TransactionSerializer from ..models import User, Species, Animal, Transaction from rest_framework.parsers import JSONParser from django.http import HttpResponse from django.core.exceptions import ObjectDo...
[ "chou_c@etna-alternance.net" ]
chou_c@etna-alternance.net
b6de1b390044bb2cb3f192890dfbe90b5ed0158d
7bb5ed00771dc28670301d1637fa6f8a1d6a8ecc
/deprecated/migrations/versions/3f0e2e913bf5_.py
6dcdc17ab8f80f37dd073e3bf961234c7a450990
[ "MIT" ]
permissive
andypoorman/honbot-server
60bce3d3cf752848039ffec670fca2d130aebc4f
271594f5ea011a9f2f0762c3bfcca7e33a7b8b3a
refs/heads/master
2021-01-15T09:32:43.646270
2015-07-17T03:50:25
2015-07-17T03:50:25
39,233,626
0
0
null
2015-07-17T03:46:39
2015-07-17T03:46:39
null
UTF-8
Python
false
false
506
py
"""empty message Revision ID: 3f0e2e913bf5 Revises: 544fa414515c Create Date: 2015-04-12 16:18:11.397154 """ # revision identifiers, used by Alembic. revision = '3f0e2e913bf5' down_revision = '544fa414515c' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
[ "scttcper@gmail.com" ]
scttcper@gmail.com
164de9d1ead4a87cda123b834cceb0a1e399ec7b
c8efdfc8ae26226ea2273d6d2bb875c3d32f0d6d
/PyQtArduinoSerialDemo/ArduinoSerial_PyQt_Demo_BindingUI_TRYING.py
8f8b6b2dbf1564cdb4407e7359ac252e90fa2e30
[ "MIT" ]
permissive
zqy950124/ArduinoPython
945aee8fbfcf2d84ace8c77beef09eebdd57c279
60b4f073d1150af648114ab9fe5bda04bf20e9bd
refs/heads/dev
2021-01-14T10:48:11.739157
2016-03-16T09:25:25
2016-03-16T09:25:25
54,184,697
1
0
null
2016-03-18T08:09:46
2016-03-18T08:09:46
null
UTF-8
Python
false
false
1,533
py
# -*- coding: utf-8 -*- """ http://stackoverflow.com/questions/1904351/python-observer-pattern-examples-tips binding-a-pyqt-pyside-widget-to-a-local-variable-in-python http://stackoverflow.com/questions/21992849/binding-a-pyqt-pyside-widget-to-a-local-variable-in-python# """ import functools def e...
[ "hydro@Hydro" ]
hydro@Hydro
0bde0292dcb9081f83d3a8ec338a6a3656271aed
669910b7e04eed4bb0a7f175415dcc870cc864f5
/bot/twttrbot/management/commands/like_tweet.py
d2e20977488efd66d9a44a00a5b4b3db91eea63b
[ "MIT" ]
permissive
frederikblais/Djanger
b9b72c201204d07f4521d76d31e9fa396e4a8ca1
1231c0572cecb9645c25523c1219acd6295c45be
refs/heads/main
2023-08-23T07:10:54.994820
2021-10-26T16:20:02
2021-10-26T16:20:02
409,977,801
1
0
MIT
2021-10-05T15:31:02
2021-09-24T13:41:37
CSS
UTF-8
Python
false
false
1,938
py
from tweepy import api from tweepy.streaming import StreamListener from twttrbot.models import TweetLookUpBadWord, TweetLookUpWord, TweetLookUpCoordinates from django.core.management.base import BaseCommand from twttrbot.utils import get_auth_api import tweepy class MyStreamListner(tweepy.StreamListener): def __i...
[ "frederik.blais22@gmail.com" ]
frederik.blais22@gmail.com
f6a16e80cbc7755ea169fd92bc4e1faa9c3b2856
6aff55d0d6c140770b5fe9d8d9e7b785b9b303a4
/src/testes_inic1-2.py
dde6f1d4cafd07affd811a78149a6d472dcc3f3a
[]
no_license
cariodaporr/devops-aula07
f0a2ed6337be3dcc8c852389283007e9e0def73f
1cc80aed9494cdeee63e1759f3504daef042622b
refs/heads/master
2020-03-29T19:08:08.833849
2018-09-28T12:52:16
2018-09-28T12:52:16
149,825,588
0
0
null
2018-09-22T00:44:23
2018-09-21T22:39:11
null
UTF-8
Python
false
false
417
py
import jogovelha import sys erroInicializar = False jogovelha.inicializar() jogo = jogovelha.tabuleiro() if len(jogo) != 3: erroInicializar = True else: for linha in jogo: if len(linha) != 3: erroInicializar = True else: for elemento in linha: if elemento != '.': erroInicializa...
[ "noreply@github.com" ]
cariodaporr.noreply@github.com
959ee0746b95977a7b889b6b12e476719844568f
7516dfcd3d2e012d98fa3aec45aafe0e2c64ffe1
/py/utest/utest_fsoci.py
d3c0f7ac8809b0c7282c29600f364a91671f08a5
[]
no_license
ReiMatsuzaki/naewdy2
64e1c06a7eca228811c83e49eed57c9502ba1c2e
10f0110417b6d2699a688c64cdf39df0ef6d06c2
refs/heads/master
2021-03-16T10:12:02.856923
2018-03-15T03:30:00
2018-03-15T03:30:00
115,374,229
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
import unittest from numpy import sqrt from naewdy2.fsoci import * class TestFsoci(unittest.TestCase): def test_sign_ai(self): self.assertAlmostEqual(0, sign_ai([1,2,3], 4)) self.assertAlmostEqual(1, sign_ai([1,2,3], 3)) self.assertAlmostEqual(-1, sign_ai([1,2,3], 2)) self.assertAlm...
[ "matsuzaki.rei@gmail.com" ]
matsuzaki.rei@gmail.com
3f9f318ca5771f723ad8e961f4dca57707bd4ba7
1c0ec1e6e8cf526ada26b23de181dc0a7a942c23
/code/utils/tests/test_vol_std.py
5236002231fba569f02806bf4e78d793f4655ed9
[]
no_license
berkeley-stat159/project-zeta
239b6f4548cf662d352c5361f92870aed45a78a5
7c35423fbc1407751e1aea6aac99d5d02a82dfdc
refs/heads/master
2021-01-10T14:07:05.705790
2015-12-17T18:42:28
2015-12-17T18:42:28
43,347,788
0
19
null
2015-12-13T21:31:31
2015-09-29T05:52:04
Jupyter Notebook
UTF-8
Python
false
false
655
py
""" Tests for vol_std function in diagnostics module Run with: nosetests test_vol_std.py """ import numpy as np from .. import diagnostics from numpy.testing import assert_almost_equal, assert_array_equal def test_vol_std(): # We make a fake 4D image shape_3d = (2, 3, 4) V = np.prod(shape_3d) T ...
[ "tcchenbtx@gmail.com" ]
tcchenbtx@gmail.com
c6887a8ffe4aaa0df0666ed9ab5b8c601c225868
941ace80571b53f53ab4e1f44d7b3ee9300e6a84
/chapter02/lxml_example.py
3bf1a23c01ccdd4989a11da724357915b61829e3
[ "MIT" ]
permissive
qigezai/python-scrap
81d3855caba095cab36f204a6b74c55f43cb7f15
3a9ad37a94008a8071b84e64d90c46f59580cca0
refs/heads/master
2021-10-10T06:26:18.023662
2019-01-07T14:46:19
2019-01-07T14:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
#!/usr/bin/python2.7 # -*- coding:utf-8 -*- # Author: NetworkRanger # Date: 2019/1/5 ไธ‹ๅˆ4:50 import urllib2 import lxml.html def scrape(html): tree = lxml.html.fromstring(html) td = tree.cssselect('tr#places_neighbours__row > td.w2p_fw')[0] area = td.text_content() return area if __name__ == '__main...
[ "17346503142@163.com" ]
17346503142@163.com
10c3a4d5e3d2f35da492858f8236fd8081029116
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/R/robertionita/bookyfy.py
9069f400e7f3e52096364d8732181bcdb8bb1ad9
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
# bestsellers from the kindle book store import scraperwiki import lxml.html import time import re for x in range(1,6): html = scraperwiki.scrape("http://www.amazon.com/Best-Sellers-Kindle-Store-eBooks/zgbs/digital-text/154606011/ref=zg_bs_154606011_pg_" + str(x) + "?_encoding=UTF8&pg=" + str(x)) r...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
dbddf5f34bf33ff7cb4facd928b2c338fa2e36bc
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j20204+0704/sdB_GALEX_J20204+0704_lc.py
9e2b035b6d7b472d8473d414942cee17af805004
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[305.1135,7.070683], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_GALEX_J20204+0704 /sdB_GALEX_J20204+0704_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) ...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
340bb41906ca49e24132a54983fe02c5301b97dd
cb06f12739986599739eaa6b7f4c711d1a596540
/bureau/middlewares.py
9fe5230968f94662338de3e2a4fb6a469370fccc
[]
no_license
rusrom/scrapy_5_spiders_in_1_project
741d1e4bb5b8c9ba8f5e7bc8a7c1ecf572a55ad7
b831e36017a8c66a75cbce6f65a31cdcb35752f3
refs/heads/master
2020-04-10T18:01:48.197440
2018-12-10T18:22:25
2018-12-10T18:22:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class BureauSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy a...
[ "rusrom@gmail.com" ]
rusrom@gmail.com
09df6e58f039ee59279116190dc1f7b1dd20fdb3
6fa9b02729c8e9dac82d541ab2e88b9ba2f1d747
/climate-app.py
b1463b57488617f7518dabaa52b716d7c6a80245
[]
no_license
jferna73/sql-alc-2nd-attempt
df14573caa45c75bc1e92c48b90224298ab9e328
ef9f9497b0659f8e669c7dd02d2470100ede261d
refs/heads/master
2022-06-08T13:08:34.075385
2020-04-29T22:15:41
2020-04-29T22:15:41
260,057,438
0
0
null
null
null
null
UTF-8
Python
false
false
4,800
py
import numpy as np import pandas as pd import datetime as dt import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func from flask import Flask, jsonify engine = create_engine("sqlite:///Resources/hawaii.sqlite", connect_args={'check_...
[ "noreply@github.com" ]
jferna73.noreply@github.com
db44601c88fb69a19fbad8e5a78f33fb3e10f72e
b4e9730a19748e8da7c1e2fa90052a5aedbc468b
/data_manager.py
6bbe7911134f2d3861d00a803243fd22382bd7e5
[]
no_license
matebalogh11/Application_process_sql_basic
bd086c04a79cc607f89629a99053ca284fa6ec75
2163df8fdf07e0b39454ad247e3885b1e066145e
refs/heads/master
2020-12-30T11:58:48.806222
2017-06-08T09:04:21
2017-06-08T09:04:21
91,439,511
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
import psycopg2 from login import DB, USER, HOST, PW # This module is for import only! def data_handler(SQL): """Connect to the selected database and gather the requested data""" try: connection_str = "dbname='{}' user='{}' host='{}' password='{}'".format(DB, USER, HOST, PW) conn = psycopg2....
[ "bmate11@bmate11" ]
bmate11@bmate11
ebbfb22b0502c984209cde687a2b0e7a7740642b
3c3e9d6134182174102e6675394bd7cdc0192f21
/venv/bin/django-admin.py
56155bbce94deabdd81af4847a6988c8b1f013a4
[]
no_license
fersoftware/django_resumido
20ea406e248cc9180148abd6e59de56ebd73e8aa
04f3f95201ffce604128d4eda0c9d72243badfce
refs/heads/main
2023-08-24T02:43:47.310209
2021-10-19T18:29:34
2021-10-19T18:29:34
419,040,695
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
#!/home/br1005/Projetos/django/teste/venv/bin/python # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was deprec...
[ "fersoftware@gmail.com" ]
fersoftware@gmail.com
1bd69b21cade9d9e9b971691a362536e462ed666
096548fef4583fa9749679f7d8e32b7768b6d7d1
/homeassistant/components/advantage_air/__init__.py
cd676728e0db25ef1c719fbc8a9a9389044cc5a6
[ "Apache-2.0" ]
permissive
Cadair/home-assistant
7361b38807d54439c4d21cc57a674ea320b820d5
30b454ddb7b2c88b2ec26cb305b3ebcba71c0e4f
refs/heads/dev
2023-01-19T16:58:25.604819
2020-10-17T07:40:43
2020-10-17T07:40:43
79,675,590
0
0
Apache-2.0
2023-01-13T06:03:41
2017-01-21T22:01:19
Python
UTF-8
Python
false
false
3,195
py
"""Advantage Air climate integration.""" from datetime import timedelta import logging from advantage_air import ApiError, advantage_air from homeassistant.const import CONF_IP_ADDRESS, CONF_PORT from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers.aiohttp_client import async_get_clien...
[ "noreply@github.com" ]
Cadair.noreply@github.com
d68194f84de7e3fd692b64e496acb70bb4ef8fc7
0aa50fb70906599514f237dbe050045ede4daaaf
/scripts/deploy.py
9f65c73f971a1f86af281587b9974edf86ac0c84
[]
no_license
I-M-F/crowdfund_brownie
2e9ddae4cc2748968204f6849e281b73582e1998
64f3a83b0d32af31c6b1afcbf100a527151cdf15
refs/heads/main
2023-08-05T02:08:09.135895
2021-09-25T12:45:22
2021-09-25T12:45:22
410,263,999
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
from brownie import FundMe, MockV3Aggregator, network, config from scripts.helpful_scripts import deploy_mock, get_account, LOCAL_BLOCKCHAIN_ENV def deploy_fund_me(): account = get_account() #pass the price feed address to our contract # if we are on persistent network like rinkeby, use the associate...
[ "matimu.f.ignatius@gmail.com" ]
matimu.f.ignatius@gmail.com
808ee195b759a16cb41071c38fd23df333d355a7
c25b4125b76654452fc2d5cc2f0f7a47643df177
/setup.py
bfee8ef032e3226e132a395cb98d6a4c1d1398ae
[ "MIT" ]
permissive
dfjsdkfj/grparks
416b7fdd68a533573c5f4bb53dd7bf748a80c221
365717804fafb27c6e3d65322b6fd6b2a9315aa7
refs/heads/master
2020-12-24T09:02:01.982187
2016-02-02T20:40:06
2016-02-02T20:40:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
#!/usr/bin/env python """ Setup script for ParkFinder. """ import setuptools from parks import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() setup...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
b05928c46dc64a0fb59f4a4f646790f737b40525
12abb1f44d47289b9f847b691be62d2c5c09b77b
/devel_cb/lib/python2.7/dist-packages/rosserial_msgs/srv/__init__.py
ebb897a688b185e7414ecbb5c49f40b98d74a7aa
[]
no_license
riplaboratory/kanaloaWS
51b0195f2ab34de7303d38fa8a7a6365d65c7ad2
a1049be4c9c6455ea631a031b4723abcfc13cbdd
refs/heads/master
2020-04-01T19:44:18.672147
2018-10-18T08:30:00
2018-10-18T08:30:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
/home/rip-acer-vn7-591g-1/catkin_ws/devel_cb/.private/rosserial_msgs/lib/python2.7/dist-packages/rosserial_msgs/srv/__init__.py
[ "brennanyama@gmail.com" ]
brennanyama@gmail.com
55d4161efc17fe8eaad018ce8a5260fe47830af7
7e18e7f54d344e6d785f3021f4c046b53088159f
/src/routers/hero.py
c037a80b7d7711f562cc23a049604d62741753b9
[]
no_license
raedinurdiansyah/bmg-mini-project
8242c9961c400b3104598fbe40978c263c8c592a
550b6b971c90c38c03b0368da71ba4d9abb12e9f
refs/heads/main
2023-07-30T21:23:09.089243
2021-09-20T16:33:22
2021-09-20T16:33:22
408,513,527
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
from http import HTTPStatus from flask import Blueprint, request from src.schemas.hero import GetHeroSchema from src.services.hero import HeroServices from src.utils.handle_response import handle_response hero_blueprint = Blueprint("hero", __name__, url_prefix="/v1/hero") @hero_blueprint.route("", methods=("GET",)...
[ "raedi.nurdiansyah@akseleran.com" ]
raedi.nurdiansyah@akseleran.com
436421afd17bad489bf8d340575d1e1779242c48
01926e4c73945049861b385b9330058187857941
/data.py
0ba0c68dfcfdd2d43e6687fe9fe1258a377966c6
[]
no_license
HassanHeydariNasab/poento
96f0aa16c2473e31ab1d8ab566c944dee169fa52
67660dbf6938dbd94bdbee6f5611c476ec93e735
refs/heads/master
2020-04-15T18:14:04.179739
2019-01-18T18:13:01
2019-01-18T18:13:01
164,906,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
COUNTRIES = [ '', 'AF', 'AX', 'AL', 'DZ', 'AS', 'AD', 'AO', 'AI', 'AQ', 'AG', 'AR', 'AM', 'AW', 'AU', 'AT', 'AZ', 'BS', 'BH', 'BD', 'BB', 'BY', 'BE', 'BZ', 'BJ', 'BM', 'BT', 'BO', 'BQ', 'BA', 'BW', 'BV', 'BR', 'IO', 'BN', 'BG', 'BF', 'BI', 'KH', 'CM', 'CA', 'CV', 'KY', 'CF', 'TD', 'CL', 'CN', 'CX', 'CC'...
[ "hsn6@tuta.io" ]
hsn6@tuta.io
5a4be4a8726e17d57be2935c9640826a09185a18
82bc0412fb50bbb49a1565d19f11d6045d52e0e9
/rr.py
2efde733adde356be5f960f1a357a53417b0fe09
[]
no_license
garrett-partenza-us/cpu-simulator
8c35d36f38d71030cd0d225d87ba89264e799d00
cbc094ef1bb8defb44b1da54feff25587093a574
refs/heads/main
2023-01-22T09:47:45.408236
2020-12-06T02:10:17
2020-12-06T02:10:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
#SRTN simulator def RR(data): #set needed variables, where data is the original data source and copy is a deep copy of data data, time, results = data, 0, [] #loop until all processes are complete while True: #create ready queue ready = list(x[0] for x in data if x[1]<=time) #if ...
[ "gparre1@students.towson.edu" ]
gparre1@students.towson.edu
0f9135810627817d11f44817e880b6272d23f56a
3b50605ffe45c412ee33de1ad0cadce2c5a25ca2
/python/paddle/fluid/tests/unittests/test_parallel_executor_inference_feed_partial_data.py
bd5b2c77983b93933e91520ae3ae0520e160ed9f
[ "Apache-2.0" ]
permissive
Superjomn/Paddle
f5f4072cf75ac9ecb0ff528876ee264b14bbf8d1
7a0b0dab8e58b6a3b28b3b82c43d55c9bd3d4188
refs/heads/develop
2023-02-04T20:27:54.244843
2023-01-26T15:31:14
2023-01-26T15:31:14
66,896,049
4
1
Apache-2.0
2023-04-14T02:29:52
2016-08-30T01:45:54
C++
UTF-8
Python
false
false
8,965
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
Superjomn.noreply@github.com
ba2090eb36670814f7650ef6ffa2e6fb27f37fb5
692654b45228d813c8dc4c9ade0a6836cd2e7f17
/other_tools/check_token.py
2904c24fc086dd871cd4ade0faf53c78feebc2da
[]
no_license
sunary/nlp
dd67dce0a2001670efe0e1dc5f5ef7b014845982
a9fa796118d51dd80cc9525d50247632caa00b7f
refs/heads/master
2021-01-22T10:02:44.975681
2017-05-20T08:43:23
2017-05-20T08:43:23
43,935,102
3
3
null
null
null
null
UTF-8
Python
false
false
2,720
py
__author__ = 'sunary' class CheckToken(): def __init__(self): self.checker_token = [] self.black_token = [] def set_checker(self, checker): self.checker_token = checker def add_token(self, token): ''' add token to the sorted list of token Args: ...
[ "v2nhat@gmail.com" ]
v2nhat@gmail.com
cc33910210b5a0f0c332798673e332c4b8cb7eb7
f8aa7306eeea9d2eafc400392acbdff931306e57
/tests/test_cli.py
abf9c2f77d6c6a7a256664301c1113bc18566435
[ "Apache-2.0" ]
permissive
b-jazz/warehouse
929d1a0e7b4de3fd0596ff8334bda31ab5856bdc
8c5414d709c6fd04c1b013ded680057a7def0833
refs/heads/master
2020-12-26T00:34:54.053900
2014-03-08T20:30:25
2014-03-08T20:30:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
# Copyright 2013 Donald Stufft # # 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, so...
[ "donald@stufft.io" ]
donald@stufft.io
1a7ede2cf172f006375cf5698b2cd7246823fe4b
06db739facf8fe08f8e0359741021a24e273e7d4
/venv/Scripts/pip3.7-script.py
ce5591223e151add3cbd0019b47b8a041d6464e1
[]
no_license
bopopescu/pythonfiles
dbade5a89ad84aaa570a8dade95b32e049540dd9
8cd71dda63280aa25b7d4656440ad5fe0c099c67
refs/heads/master
2022-11-26T12:21:23.179307
2019-08-12T05:58:39
2019-08-12T05:58:39
281,740,945
0
0
null
2020-07-22T17:25:25
2020-07-22T17:25:25
null
UTF-8
Python
false
false
414
py
#!C:\Users\Genx\PycharmProjects\CETPA\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' 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...
[ "vaibhavvyas32@gmail.com" ]
vaibhavvyas32@gmail.com
07be8ddb466dafa20a12db5953a268be1080fd5d
bd50354627904aed138b5ccfcb8129fabaf0ef4b
/cython (2)/setup.py
4439b2caa8c819dd119533376dc375bee49dd11a
[]
no_license
TheAeryan/PTC
7bb2986b2cebde3be896cab732a880745c3da63d
f5c2332c576f2faf3594d51310d93b6ee1e05b8b
refs/heads/master
2022-11-24T22:44:43.389809
2020-08-04T11:32:26
2020-08-04T11:32:26
220,327,724
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Dec 4 12:10:11 2019 @author: jose """ from distutils.core import setup from Cython.Build import cythonize setup( ext_modules=cythonize("ejemplosCython.pyx"), )
[ "carlosmarista@gmail.com" ]
carlosmarista@gmail.com
991478e17f1dbe92609293f4de8459c0aeeb116d
5166ddcedb2de91dfafd8bc033edd8e702560114
/testing_new_wav.py
2a884810ef4b75a62869fada85e79f6cfd5a9c1f
[]
no_license
arr0056/Music-Genre-Classification-and-Recognition
b34016befdbbcc8cbc904fddca1834abcdda8610
80f4fe1410157c3164d4bf43598c51fba2d3ec88
refs/heads/main
2023-04-16T19:48:49.353643
2021-04-24T05:56:30
2021-04-24T05:56:30
353,123,455
0
0
null
null
null
null
UTF-8
Python
false
false
3,105
py
from python_speech_features import mfcc from tempfile import TemporaryFile import scipy.io.wavfile as wav import numpy as np import os import pickle import random import operator import math from collections import defaultdict def distance(instance1 , instance2 , k): distance = 0 mm1 = instance1...
[ "noreply@github.com" ]
arr0056.noreply@github.com
b5bb00b62ffdd87f97a11ce0449cc13d354d4a8c
4cea92930f06b1ce2543b73fec00cdf3d54fe738
/venv/Lib/site-packages/wrap_py/settings.py
efa59a765df0f1e380325a4c51e05f5ee609a4f3
[]
no_license
Anna-Tushminskaya/Anna
6fcf02a9f0f78fb67085ba8fb943d24b4f61d7f4
3b8b7332a102fcbb3cb50d44a8ff115aa7e37b77
refs/heads/main
2023-08-28T22:09:17.021518
2021-10-22T08:18:05
2021-10-22T08:18:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import os, sys TRANSL_DOMAIN = "wrap_py" PACK_SOURCE_FOLDER = os.path.split(__file__)[0] TRANSLATIONS_FOLDER = os.path.join(PACK_SOURCE_FOLDER, "transl", "compiled") RESOURCE_FOLDER = os.path.join(PACK_SOURCE_FOLDER, "res") ICON_FILE = os.path.join(RESOURCE_FOLDER, "icon.png")
[ "anna.t.nvkz@gmail.com" ]
anna.t.nvkz@gmail.com
93250100f4dea25b292e8471b70ae83b71cce42f
e582d60b7996faf7b87c6d857613e63581d415b9
/elliot/recommender/visual_recommenders/VNPR/visual_neural_personalized_ranking_model.py
858a318f1ec3594cc6a9eef6e489659da71b7b15
[]
no_license
Abdel57Grota/Reenvisioning-the-comparison-between-Neural-Collaborative-Filtering-and-Matrix-Factorization
d6e51c32094550789673846acdf9891557b790c1
2a2b0148e881cf8ba45c48ad9d42f52421585284
refs/heads/main
2023-09-03T09:47:41.894117
2021-11-09T09:17:35
2021-11-09T09:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,024
py
""" Module description: """ __version__ = '0.1' __author__ = 'Vito Walter Anelli, Claudio Pomo, Daniele Malitesta, Felice Antonio Merra' __email__ = 'vitowalter.anelli@poliba.it, claudio.pomo@poliba.it, daniele.malitesta@poliba.it, felice.merra@poliba.it' import os import numpy as np import tensorflow as tf from te...
[ "claudio.pomo@poliba.it" ]
claudio.pomo@poliba.it
1c02cfffb3421857d71cc9ec45294cfeeeea32bb
21436aa94247388e910d43a7f682548971599711
/src/main.py
7da951e0ffc01e50654daadd639c1a9a7f70df1c
[]
no_license
qenndrimkrasniqi/VirtualLibrary
8b3f9a943bcb6b40c6bc893fb0739b76850c6976
39f749f21fe36e274e42f942426d81dd765ed753
refs/heads/main
2023-06-04T12:47:16.064842
2021-06-21T18:46:27
2021-06-21T18:46:27
377,547,635
0
0
null
2021-06-21T18:46:27
2021-06-16T15:43:30
Python
UTF-8
Python
false
false
787
py
import os from gui import create_window, populate_table, destroy_table_body from models import Library, Librarian source_path = '../Data/Hivzi Sylejmani - Prishtinรซ' basename = os.path.basename(source_path) name, location = basename.split('-') library = Library(source_path, name.strip(), location.strip()) libraria...
[ "84874190+ritabreznica@users.noreply.github.com" ]
84874190+ritabreznica@users.noreply.github.com
fec0fcb625457516ed993ecaffadefeebb4b6a1a
9a10893b4b0b5dc8ca528baf4dd6e994c2729ad5
/guess_game.py
e973e87490f0d12e7fbdac3a44f28f38309750ab
[]
no_license
pramathesh18/school-projects
756e1fb4da947e08e8ff0bc56523cabddfdc701b
6a5181373fc08288ec0927fe306697571c482403
refs/heads/master
2023-04-23T03:09:50.970857
2021-05-06T15:21:00
2021-05-06T15:21:00
325,188,317
1
0
null
null
null
null
UTF-8
Python
false
false
602
py
from random import randint as ran n = ran(20,50) #print (n) print("Game starts now. \nYou have to guess the correct no. \nYou"" have only 9 chances") for i in range (9): a = int ( input ('enter the no._\n')) if a==n: print('your guess is right \n you have taken', (i+1), 'guesse to win \ncongrats') break el...
[ "pramathesh18@gmail.com" ]
pramathesh18@gmail.com
5cdf01aef834430786ada1bf4a8559f5091d842e
2cc8463ef8a1933bdf9691c053ce8cf3138b28f8
/topicMining/things/demo_1.py
43add7c2b7104f6f1dbf5131ae4a2673fb4ff2d4
[]
no_license
JackiyWu/textMining
042c25ffd26b0d793b5b4b2a08a655cab014cb43
7932f3d2f208d5f28248bbae9c3e460a50dffa47
refs/heads/master
2023-03-29T22:00:13.609926
2021-03-26T04:48:59
2021-03-26T04:48:59
351,449,271
0
0
null
null
null
null
UTF-8
Python
false
false
2,153
py
import math import random import numpy as np class CONFIG: n_us = 4999 n_s1 =1 n_s2 = 0 n_t = 0 us_to_s1 = 0.00000371 s1_to_s2 = 0.00005 s1_to_t = 0.00009 s2_to_t = 0.000003 C = 0.7 iters = [3000,6999,9856,13331,16989,19536,23698,26985,29631,33654.36985,39632.43756,46956,49632,5...
[ "wujie_dlut@163.com" ]
wujie_dlut@163.com
cc0b257ba2ef769ff59ee246c8b245375a07630f
0af72e808835b371232e7560ff960aa318d89d81
/contest/models.py
ecc611c005c7bee8187a86d7ff7506f4d90e1955
[]
no_license
robgrigor/cybersports
d3715f93fcc53259e03392931ada758cd1259fcb
6d31f74d1e08115729c0716d52c8e69251ba056e
refs/heads/master
2020-07-19T02:02:44.134255
2019-09-04T15:49:19
2019-09-04T15:49:19
206,356,365
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse class Tournament(models.Model): host = models.ForeignKey(User, on_delete=models.CASCADE, default='GevorgArtenyan') name = models.CharField(max_length=250, default='') ...
[ "robgrigo@yandex.ru" ]
robgrigo@yandex.ru
a0e4d0fc0edadaf6b668bd6570f6c2ba34a2fc9e
a09740e643d6277ada23c82d8e87853a1cd1a9e5
/Z_ALL_FILE/Py/omdf5.py
b033ff3d43a5953248d534cd87fd3b5182354496
[ "Apache-2.0" ]
permissive
FuckBrains/omEngin
c5fb011887c8b272f9951df3880a879456f202e8
b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195
refs/heads/main
2023-03-20T18:27:53.409976
2021-03-14T15:50:11
2021-03-14T15:50:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
import pandas as pd dates=['April-10', 'April-11', 'April-12', 'April-13','April-14','April-16'] income1=[10,20,10,15,10,12] income2=[20,30,10,5,40,13] df=pd.DataFrame({"Date":dates, "Income_1":income1, "Income_2":income2}) print(df.apply(lambda row: "Total income in "+ row["Date"]+...
[ "omi.kabirr@gmail.com" ]
omi.kabirr@gmail.com
f87c09f8764e7c0c3547b5eeb145d9a9c2d6fcc6
3240ad763edfd513ca0d9f2033bc17011e38d8ba
/src/mercury-common/tests/unit/task_managers/base/test_worker.py
494ca7ba27141a0f57d1fa810271e5916bf3d363
[ "Apache-2.0" ]
permissive
BenjamenMeyer/mercury
d2a732f38665985054f1c3a4fd47330e381a3d8c
95d82ea4a005740153379bb08eb6d84d72cab251
refs/heads/master
2021-09-02T12:57:12.515104
2017-11-22T17:58:38
2017-11-22T17:58:38
109,020,280
0
0
null
2017-10-31T16:07:13
2017-10-31T16:07:13
null
UTF-8
Python
false
false
2,633
py
# Copyright 2017 Rackspace # 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 applic...
[ "albousque@gmail.com" ]
albousque@gmail.com
cb784c7ad511f446b3e53fb1d2f40c12dc522ecb
113d30a345d035c980246d6cd04b761d297b846e
/src/model/bsln_kde.py
e366b2784acbf1c4112e1a71844e11e5d734da7c
[]
no_license
JHWu92/public-safety-baltimore
4855da004c5ff70b378371f31645f0e3fa22d5de
11b77125d70e151aa1feede1240a30e0d0f46a7a
refs/heads/master
2021-04-27T12:09:27.285644
2019-02-04T14:36:43
2019-02-04T14:36:43
122,574,332
0
0
null
null
null
null
UTF-8
Python
false
false
3,886
py
# Author: Jiahui Wu <jeffwu@terpmail.umd.edu> import datetime import geopandas as gp import numpy as np import pandas as pd from pyproj import Proj, transform from sklearn.model_selection import GridSearchCV from sklearn.neighbors import KernelDensity from src import constants as C class KDE: def __str__(self...
[ "jhwu92@gmail.com" ]
jhwu92@gmail.com
9831ad1bea0a96e5597c17006078cb51597ae0b6
aa77d94f9c8959d58d1619d7f13b12e0c2176418
/UGATIT_inference.py
1ca24f595c8cc13bbbe5020f2530ebd836f0a063
[]
no_license
ginjake/image_converter
323fffad18a576ca39eb5d9b47093b058c7d1acf
6b352017c75af6c88cd67cc8b3a05f23e9700043
refs/heads/main
2023-01-23T15:11:04.528098
2020-12-01T12:26:22
2020-12-01T12:26:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
#encoding:utf-8 from module.importer import * from module.dataloader import * from module.generator import * #ๅญฆ็ฟ’ๆธˆใฟใƒขใƒ‡ใƒซใฎ่ชญใฟ่พผใฟ generator = Generator() generator.load_state_dict(torch.load('./trained_model/generator_A2B_trained_model_cpu.pth')) #ๆŽจ่ซ–ใƒขใƒผใƒ‰ใซๅˆ‡ใ‚Šๆ›ฟใˆ generator.eval() #ๅค‰ๆ›ๅฏพ่ฑกใจใชใ‚‹็”ปๅƒใฎ่ชญใฟ่พผใฟ path_list = make_datapath_list('....
[ "gravity@kuf.biglobe.ne.jp" ]
gravity@kuf.biglobe.ne.jp
68cc890b4bfdc1ac245f6d2ace4cb88f55e11803
8f5a570db4c1534a72389eed13b9cc94cf4e18df
/back_end/apiData/ripRecipes.py
d3872293f0ff7f43cc1c13ce3e7854242240925c
[]
no_license
ArnabSagar/recipe-express
e87fb6114f9ba338a538e22c36f1e1a225044850
c94c67bb206a12cd52874a6549cd6cf9f19d3fc1
refs/heads/master
2022-04-03T00:21:10.638783
2020-02-16T15:28:39
2020-02-16T15:28:39
240,648,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
# Rip a bunch of recipes from Edamame API to use import requests import json import pprint import time # base parameters BASE_URL = "https://api.edamam.com/search" APP_ID = "e8650a6b" APP_KEY = "3cf3080f0b821238dfb1cd90a2346546" # get the keywords to use in api calls keywordsFile = open("keywordsToRip.txt", 'r') keyw...
[ "anderm28@mcmaster.ca" ]
anderm28@mcmaster.ca
2068d1710140295cd665f7971b3655a7f2367e15
f0592d39eaf5f8bcbe46c4b16f6fa631be48887f
/tests/contrib/autoguide/test_hessian.py
f26a124db03826f7d6b1f111d1e4ca602e1d5ab1
[ "MIT" ]
permissive
wsgharvey/pyro
0bfc762a20c4bcbbe30e61adbcc2c33e32effdb5
5c3ef54050d9ad566e5965174d4ad51bd37e55dd
refs/heads/dev
2021-05-06T18:57:58.458691
2018-10-10T01:48:52
2018-10-10T01:48:52
111,995,379
0
0
null
2017-11-25T10:33:12
2017-11-25T10:33:12
null
UTF-8
Python
false
false
827
py
from __future__ import absolute_import, division, print_function import torch import pyro.distributions as dist from pyro.contrib.autoguide import _hessian from tests.common import assert_equal def test_mvn(): tmp = torch.randn(3, 10) cov = torch.matmul(tmp, tmp.t()) mvn = dist.MultivariateNormal(cov.ne...
[ "fritz.obermeyer@gmail.com" ]
fritz.obermeyer@gmail.com
ce5e4735d303172cc390876e1fc7f4ec5ac23b22
023fb57c4d822fb30cf7c54fc5643c42d8b80d0a
/EC2may/urls.py
29b1a59b2bae1315ea1df34d408900ee5f24b3f8
[]
no_license
localnewtonsoft/mayproj
15bd504826df535735f665e8383c4f9b6e6baf20
2f7fd8a21d37693c8f419aa85e62ce7e7b68e659
refs/heads/master
2023-08-17T19:53:13.020928
2020-05-13T07:28:44
2020-05-13T07:28:44
263,543,554
0
0
null
2021-09-22T19:00:29
2020-05-13T06:23:37
JavaScript
UTF-8
Python
false
false
826
py
"""EC2may URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "prabhashswain15@gmail.com" ]
prabhashswain15@gmail.com
ec1a5b541e8647256089a98a71b1385d482516f3
9cc12acd5581a4abc786b3d8a0c993586e3bc428
/chatter/ui/MainWindow.py
99708c48ad8a84eba4f17a74ba6943ec57bd8455
[]
no_license
tisaconundrum2/Aivery
d022b0c787630bc10b86473d8d9a9787b980c21e
5ae658987ee4af6a41979bc818e09211db75315c
refs/heads/master
2021-07-02T05:19:20.758160
2017-09-22T15:33:16
2017-09-22T15:33:16
104,304,897
1
0
null
null
null
null
UTF-8
Python
false
false
5,800
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:\Users\tisaconundrum\Documents\GitHub\Aivery\ui\MainWindow.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): ...
[ "ngf4@nau.edu" ]
ngf4@nau.edu
61a8535384775f8ced5087297d3e3c4ac4284c95
d581f118d331b6f3846650f0ae4ae4b96c5a4aff
/web/login.py
e0e6d1ba5422805909d60a8763071f98235d7bd9
[]
no_license
Liangjianghao/learnPython
f5b0306e6873cf9fd2dd79577a6af82aa2e0a864
86c8780e204ff085293d432ea952fae3b162ce20
refs/heads/master
2021-09-01T12:54:39.361906
2017-12-27T03:49:31
2017-12-27T03:49:31
110,513,483
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
# -- coding: UTF-8 -- import time import sys import requests import os import os.path import chargeAlert from selenium import webdriver from selenium.webdriver.common.keys import Keys from PIL import Image,ImageEnhance import pytesseract import getstring import sys reload(sys) sys.setdefaultencoding('utf8') def getC...
[ "l@liangjianghaodeMacBook-Pro.local" ]
l@liangjianghaodeMacBook-Pro.local
cb6ca8478194f822e8d744c64355272bed12b941
22243831ccc94ff871720eb0f1a1f4ddeff8c393
/valid.py
df1b7191a8aae5f5c532053c50313d2e3ae647da
[]
no_license
woozi1122/pytorch-yolov
63db0c34cee46ec6ee0d30997e9d7ade65df36b1
313dd25c297554d114d28727298ffe1386fd4a0a
refs/heads/master
2023-09-05T21:38:12.921171
2021-11-24T08:12:35
2021-11-24T08:12:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,107
py
import sys sys.path.append("./util") import numpy as np from torch import nn import torch from util.const import CONST from torch.utils.data import DataLoader from tqdm import tqdm from util.dataload import YOLODataSet, yolo_dataset_collate from terminaltables import AsciiTable from util.model import MyYOLO, getWeight,...
[ "799034552@qq.com" ]
799034552@qq.com
9a1ca3c509638d78a79fcd61b074c55fb44366ad
9a324e30036e9dde5760fa3c38bb06e889a97de7
/test-product-test.py
d8437b442c3a3dd6bb56931b9b4eaeddf1e221c8
[]
no_license
limingzhizhong2018/jiankong1
77ca55f32cf1c64e0acfde0128be1110223134aa
1654ef9cc54de83582dddd270c6b052d140f0ba0
refs/heads/master
2020-03-16T13:54:32.462165
2018-05-16T14:34:59
2018-05-16T14:34:59
132,702,587
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
product_list = [('iphone', 5000), ('MacBook', 12000)] print(product_list) salary = input("In put your salary:") if salary.isdigit(): salary = int(salary) while True: for index, item in enumerate(product_list): print(index, item) user_choice = input("what is your shopping:") i...
[ "limingzhizhong2018@gmail.com" ]
limingzhizhong2018@gmail.com
31922d28c6739a750d43018da21479a3ecfee609
0cc1dcfd5db2533e182f233a16cfacc0423b9e0d
/parserepo.py
d9aeb8df0cf25c9b62624ffff9890b3d41ff73e3
[]
no_license
omaidf/Github-Searcher
105148fe9d594874f87aec40ccf4c53742be15f8
82bfbb7ce20ce0efd8670a2abfd77ab877fb1497
refs/heads/master
2020-12-19T05:58:02.164418
2020-01-22T18:39:49
2020-01-22T18:39:49
235,640,133
0
1
null
null
null
null
UTF-8
Python
false
false
4,056
py
import requests import json import colorama import qprompt from colorama import Fore, Back, Style from jira import JIRA import getpass from github import Github import os import pyminizip import sys resulttext = [] total_count = 0 def searchterm(term,searchrepo): global total_count url = "https://gith...
[ "omaid@faizyar.com" ]
omaid@faizyar.com
c757c0ad4d66c3d6117981c5779b09e5a59d6751
88fd4a9ea39b19476a20575376a65643e763713c
/examples/Types.py
4f9e1e7f56c18b9fb8b44caee914cce42be17826
[]
no_license
ericsu921/Python
9bb7b01edfc34e1928686e413b2a01b7aaa7dc35
74617291f2120bcb947a4933c4267c47b9a45699
refs/heads/master
2016-09-08T02:02:59.866817
2015-03-30T07:58:09
2015-03-30T07:58:09
33,110,089
0
0
null
null
null
null
UTF-8
Python
false
false
9,451
py
#!/usr/bin/env python3 # -------- # Types.py # -------- import sys from types import FunctionType print("Types.py") assert type(type) is type assert issubclass(type, type) # every class is a subclass of itself, another curiosity of the function issubclass() assert issubclass(type, object) # every ...
[ "ericsu921@gmail.com" ]
ericsu921@gmail.com
c48c17fe8c408e0c7accacd946f053e7c3b55ab5
61d09942ab4aeefa2cd9d6afb2dc5ab7e8c47e07
/osmosis_aws_driver/__init__.py
62329507dca1e2397b92b9929ec8d733ce422a41
[ "Apache-2.0" ]
permissive
frankenstien-831/osmosis-aws-driver
4e375a0f7213d5ea9f187aaed1095e5301dd63ac
24c029d5e58334c2010e163e51e8767bbae85568
refs/heads/master
2021-02-05T16:22:31.569140
2019-04-02T12:27:04
2019-04-02T12:27:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# Copyright 2018 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 __author__ = """OceanProtocol""" __version__ = '0.0.2'
[ "enrique@oceanprotocol.com" ]
enrique@oceanprotocol.com
4785017c39dd0a0b8c0de104d8060f349a553bb0
355ba182e360df464293d7365beb548504993bc3
/Instacart.py
b79985c7efabfec6cdf8190a66b8527791e9138d
[]
no_license
isabr/instacart
64bfae96cf47a194c5a09cb50a69254667e431b6
1fcd6dc07723f56cc228b07ff9d9945fbb2d0ca0
refs/heads/master
2021-01-01T15:57:29.118789
2017-07-21T17:57:28
2017-07-21T17:57:28
97,742,765
0
0
null
null
null
null
UTF-8
Python
false
false
4,467
py
# coding: utf-8 # # Initial Setup # In[1]: # Import from pandas import DataFrame, Series import pandas as pd import numpy as np from sklearn.cluster import KMeans import matplotlib.pylab as plt import random from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer from sklearn.decomposition im...
[ "deamorim.isadora@gmail.com" ]
deamorim.isadora@gmail.com
745e078af6fac62e8b7d0448a12d31bb21a01a17
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/testenv/dayNight.py
195043c0675c5a8b4e4d78951c90f5ecf6c3de4e
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
8,266
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * dayMusic = loader.loadMusic("phase_4/audio/bgm/TC_nbrhood.mid") # dayMusic = loader.loadMusic("phase_8/audio/bgm/TB_nbrhood.mid") # base.cr.playGame.hood.loader.snow.cleanup() nightMusic = loader.loadMusic("phase_8/audio/bgm/DL_nbrhood.mid"...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
ac2f5ecf9b74b78a7017664f93a377a00d39e0a9
df09d02691822e52d0f9dcca15e60bb39cd95ad4
/lab_student_draft/labs/migrations/0006_share_groups_picked.py
a85d31bfda70ab89b963415124d428732406e9a0
[ "BSD-3-Clause" ]
permissive
jericksanjuan/lab-student-draft
8d36b1e753d87ee9530123c9e31f6bbbfaeb78df
90b1a224ac8ea30f0654e8b8dbac0015f09179ff
refs/heads/master
2021-01-15T18:46:38.407035
2014-12-12T08:20:45
2014-12-12T08:20:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('labs', '0005_lab_active'), ] operations = [ migrations.AddField( model_name='share', name='groups_pi...
[ "jerick@icannhas.com" ]
jerick@icannhas.com
8b186d80975da42b065d8a2e3e2efbe315c611b0
3f48802d71eed41bbc88473344b4f1d14331876b
/backend/fureon/models/base.py
c3586c7c69a90d42a519b9c1e69f59c25d0d44ef
[ "Apache-2.0" ]
permissive
nattofriends/fureon
e27526571baa71355d208e21be4b30cc6596b307
5e9b5099bace5ba55d9a8e19ea3b392d131da5cf
refs/heads/master
2020-05-30T06:55:35.691548
2015-05-11T05:57:04
2015-05-11T05:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class ModelManager(object): def __init__(self, session): self._session = session def format_list_to_numbered_dict(self, input_list, start_count=0): numbered_dict = {} entry_count = start_count f...
[ "andytran2@gmail.com" ]
andytran2@gmail.com
999aa35a45dee89653b8d7612146e2ab02bc0866
ae48812c80218e25282f9e02d165ad06b05e6b6b
/inventory/migrations/0007_auto_20161024_1108.py
aa4f619d8655b2ec19f15ee03f2777c1d8c1b81e
[]
no_license
muryannye/unionminiproj
023a08ac2281bb605e8fe4d65948db889ab76125
746d1f817d7290ecdf13e6333cc7213d7eb362b7
refs/heads/master
2021-05-03T22:46:41.924331
2016-10-24T19:22:50
2016-10-24T19:22:50
71,668,180
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.dev20161021125907 on 2016-10-24 15:08 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0006_auto_20161023_2325'), ] operations = [ mi...
[ "Mary@jumping-jack-139.dynamic2.rpi.edu" ]
Mary@jumping-jack-139.dynamic2.rpi.edu
8d01aff709fff005c6f78d6d965d431c7761e2bb
bf1bcf0e29b3b9d7f63ddde35148f0a581ed127a
/get_emrald.py
e36fe7700f0c257448669ee503e4ca899e2bdaa7
[ "Apache-2.0" ]
permissive
gurgeh/silly-chess
7a7cd978b316b6f91a1bc79379b2fe8365dfaadb
6c2ff766e10184a9b475681bb9945d9bc8f9aa89
refs/heads/master
2021-01-20T16:17:32.050220
2018-01-24T10:30:10
2018-01-24T10:30:10
61,201,074
1
0
null
null
null
null
UTF-8
Python
false
false
813
py
import re import random import pickle import progressbar import requests URL = "http://chess.emrald.net/psolution.php?Pos=" def get_pos(i): h = requests.get(URL + str(i)) try: xs = re.findall("text/javascript'>([^<]+)<", h.text) except Exception as e: print('Error %s (%d)' % (e, i)) ...
[ "david@fendrich.se" ]
david@fendrich.se
81fb67bfbbafced31af6e9a8ec85def9ce72c428
4b8b0be0588f9e5249729f165b72a6b38324837d
/glycresoft_ms2_classification/prediction_tools/__init__.py
52e2cd4a029490a37c2b53ed85f7619bf145d4ca
[]
no_license
GlycReSoft2/embed_tandem_ms_classifier
5e2f569f2b74f2f14f1c1c0cede32de99c150890
0495f2234562a9c5dd02d545800c077df2305387
refs/heads/master
2020-06-02T09:32:55.457664
2015-06-20T21:30:19
2015-06-20T21:30:19
22,615,207
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
try: from data_processing import prepare_model_file from data_processing import save_model_file from data_processing import call_by_coverage from data_processing import determine_ambiguity from data_processing import PredictionResults from data_processing import convert_csv_to_nested from c...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
f575df6d1062f7cc47d9813b8c01948dc2bbc341
03bf031efc1f171f0bb3cf8a565d7199ff073f96
/apps/authentication/migrations/0026_auto_20171108_1027.py
9424d221e915e1e5808704ce9bb7901f9db440bd
[ "MIT" ]
permissive
emilps/onlineweb4
a213175678ac76b1fbede9b0897c538c435a97e2
6f4aca2a4522698366ecdc6ab63c807ce5df2a96
refs/heads/develop
2020-03-30T01:11:46.941170
2019-05-10T19:49:21
2019-05-10T19:49:21
150,564,330
0
0
MIT
2019-05-10T19:49:22
2018-09-27T09:43:32
Python
UTF-8
Python
false
false
769
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-11-08 09:27 from __future__ import unicode_literals import django.contrib.auth.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('authentication', '0025_auto_20170529_1823'), ] ...
[ "torjusti@gmail.com" ]
torjusti@gmail.com
ddced0b87ea73e64b7de8ea9ac382288195ea604
5269aeb867df39b74b2649d409ad7167074203d4
/python_learning/overloading_iter_next_multy.py
c44a5dfe281e425763f354c0ebb7c4b4d5627ed0
[ "MIT" ]
permissive
KonstantinKlepikov/all-python-ml-learning
fa3afd27b8314d51cce4a3b174071c5fe9421643
a8a41347b548828bb8531ccdab89c622a0be20e1
refs/heads/master
2023-02-26T15:11:38.929089
2021-01-29T01:38:43
2021-01-29T01:38:43
273,067,713
0
1
null
null
null
null
UTF-8
Python
false
false
928
py
# example of overloading __iter__ and __next__ - multy iteration class SkipObject: """Return nefw iterator every time for each __iter__() call """ def __init__(self, wrapped): self.wrapped = wrapped def __iter__(self): return SkipIterator(self.wrapped) class SkipIterator: """Multip...
[ "oformleno@gmail.com" ]
oformleno@gmail.com
f6f79189fdc7c65f337f59dbd02701294a93b9cd
ad2f2877a4f24f5b78db756e4ea513134bc014db
/introduction_to_data_science_BY_BU/03-134142-041/Lab4/Lab4.py
35e3238d0853681307e6bd4f830acaf982621fda
[]
no_license
mhamzaaziz1/DataScience
50e2f89d612d274000086ff49e2cdcd0c3a443fc
3421321863e9d6070728899dec62791b55f0a174
refs/heads/master
2020-03-19T06:41:58.550082
2018-06-04T15:57:38
2018-06-04T15:57:38
136,046,908
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
#LAB 4 task 1: count = 0 num = 1 sum = 0 while num != 0: num=int(input("enter the number:")) count += 1 sum = sum + num if count !=0: print ("sum of values are:",sum) count -= 1 print("Avg:",sum/count) else: print(count) #LAb 4 task 2: val1 = int(inpu...
[ "noreply@github.com" ]
mhamzaaziz1.noreply@github.com
01a21f3d5eee9b1e8695214f846777b5355c4e67
02fa055429a5533b6ccad5e0948931bb53d585ad
/tests/test_expand_config_path.py
71c0543f5f4cab3838eec900eae63e37fdcdd845
[ "MIT" ]
permissive
TrendingTechnology/proxmox-pci-switcher
a7d3935131550c9b7095ab26ce8fd6aa9e35d46a
595f72419bdbc26da1d0cdb07f039cf79eeff086
refs/heads/master
2023-07-13T21:12:15.841631
2021-08-06T22:47:48
2021-08-06T22:47:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
import unittest from unittest.mock import patch from proxmox_pci_switcher import expand_config_path from pathlib import Path class TestExpandConfigPath(unittest.TestCase): @patch("proxmox_pci_switcher.os.name", "posix") def test_expand_config_path_default_linux(self): _home = Path.home() se...
[ "rosiney.gp@gmail.com" ]
rosiney.gp@gmail.com
97e70d31f12cf6c8e32134cc2ea0a2382e412be0
70acf904d89a49d557abb4c460a7aafc08a18c45
/Questi/urls.py
151d882e669c870dda6927b1dd88b446445418e0
[]
no_license
1r00t/WebPyProject
7e65177369b9e8ca000bb13abff4990015e65e5f
8f821854c27b5bca147623f532b2ce052205b900
refs/heads/master
2020-09-26T22:06:33.449397
2020-01-17T20:47:45
2020-01-17T20:47:45
226,352,976
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
"""Questi URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "root.1drone@gmail.com" ]
root.1drone@gmail.com
8d2f9bfb463b00cdbbda6c59a9f73a137d4bf980
49f0d7d5a9c3fa30e568b544adbee2fd05a37e84
/dynamic_programming.py
989fa0c0185083a9415b72ec9bf78e8827c99130
[]
no_license
dannylicn/codetest
c5c6976fa8fe7f3ca456e005eeb034b38e571ff7
bce5ee848f8fa9cd1164e82746510c090ce07bb3
refs/heads/master
2020-09-11T01:39:47.890845
2019-11-20T15:56:23
2019-11-20T15:56:23
221,898,066
0
0
null
null
null
null
UTF-8
Python
false
false
9,416
py
# !usr/bin/python3 """ Different graph algorithms implementation Arash Tehrani """ class DynamicProgramming(object): def __init__(self): pass def longest_increasing_subsequence(self, arr): """ longest increasing subsequence inputs: - arr: list, input array ...
[ "danny.li@samsung.com" ]
danny.li@samsung.com
b85a73a1586c716e42c86755109e4360e6d2a396
b6068ad0383967f40cf338b6005d728edb1b647f
/DeepQNet/RL_brain.py
1135e8eef781148a2f60be8b5d72d07114b31255
[]
no_license
WOW5678/ReinforcementLearning
8d0962232e7f4d9ea88e990f9bca98dad86f0ef0
5a8e1624fbecc5d39ca17ab2613a6555fe3d937f
refs/heads/master
2020-03-30T07:32:02.576419
2019-11-22T03:27:03
2019-11-22T03:27:03
150,946,581
3
2
null
null
null
null
UTF-8
Python
false
false
9,352
py
# -*- coding:utf-8 -*- ''' Create time: 2018/11/11 16:50 @Author: ๅคงไธซๅคด ''' """ This part of code is the DQN brain, which is a brain of the agent. All decisions are made in here. Using Tensorflow to build the neural network. View more on my tutorial page: https://morvanzhou.github.io/tutorials/ Using: Tensor...
[ "noreply@github.com" ]
WOW5678.noreply@github.com
49a442b058c1eb081db28a321b0d5020c9dec449
a622e8b295d799b7b9125e2b15243b8bdae1dc09
/1908/190826/๋ฏธ๋กœ๋ฌธ์ œ/๋ฏธ๋กœ๋ฌธ์ œ.py
58c26cc2d9d42d035507cc03d22855d8235c45a4
[]
no_license
otterji/algorithms
3a36c04bacc22c46f1ee220b3b129cda876db797
ebd0ade0cd1de8e489d015aa0b2833afeab3898e
refs/heads/master
2020-11-26T02:48:13.299848
2020-04-11T12:09:41
2020-04-11T12:09:41
228,942,526
0
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
# ์‹œ์ž‘์ ๊ณผ ๋์ ์˜ ์œ„์น˜๊ฐ€ ํ•ญ์ƒ 1ํ–‰์€ ์•„๋‹˜. ์ค‘๊ฐ„์ผ์ˆ˜๋„ ์žˆ์Œ. ์ œ์ผ ๋จผ์ € ์‹œ์ž‘์  ์œ„์น˜ ์ฐพ๊ธฐ # DFS๋กœ ํ’€์–ด๋„๋จ # ๋ฐฑํŠธ๋ž˜ํ‚น์œผ๋กœ ํ’€์–ด๋„๋จ # ๋„์ฐฉํ•  ์ˆ˜ ์žˆ๋Š”์ง€ ์—ฌ๋ถ€ ์ฐพ๊ธฐ import sys sys.stdin = open("input.txt", "r") T = int(input()) for tc in range(1, T+1): N = int(input()) miro = [list(map(int,input())) for _ in range(N)] for i in range(N): for j in range(N): ...
[ "rkdudwl@naver.com" ]
rkdudwl@naver.com
f89174dbeba42fbd85b9c3ae35f812440de2c6f7
ea1c39e7244f85f563eec0f5824763c300dfa800
/GUI
e54530e7d76872e438bb279f5cfead69e861edd3
[]
no_license
maciosz/adpb
95bbd635694b3ad887658a19eddce66ae209b556
b6187bf62c9bf54ecb313e1382af6e10e42ccb93
refs/heads/master
2021-01-21T23:44:30.665159
2015-02-10T11:21:18
2015-02-10T11:21:18
29,132,572
0
0
null
null
null
null
UTF-8
Python
false
false
7,109
#!/usr/bin/python import EpickiKonwerter import pops import sys import os from Tkinter import * from tkFileDialog import * if __name__ == "__main__": class layout: def __init__(self, parent): # Choose Input format section. self.frmIform = Frame(parent, bd=5) self.frmIform.pa...
[ "gromadka.agnieszka@gmail.com" ]
gromadka.agnieszka@gmail.com
0d1d77565dbedf75b5e67c8b721c6224a6f868f2
2a0bb7788a24fbdf35505ef58df781a7b5d0825b
/test_lesson_6.py
85f78eeb9db99f7912398da26ae6fa4fbd35f22d
[ "MIT" ]
permissive
Nadezda-26-S/myfirstone
5c476c83f4a280b150e71b961ad936a06ddebd7d
455802b5ee5acea8979ef2b5d387b952e5ff18d9
refs/heads/master
2020-11-27T21:57:24.164290
2020-02-02T15:37:56
2020-02-02T15:37:56
229,616,907
0
0
MIT
2020-01-10T17:27:39
2019-12-22T19:07:10
Python
UTF-8
Python
false
false
1,124
py
# --------ะขะ•ะกะขะ˜ะ ะžะ’ะะะ˜ะ• ะคะฃะะšะฆะ˜ะ™-------- # ะฟั€ะพะฒะตั€ะบะฐ ะฝะฐ ะฟั€ะพัั‚ะพั‚ัƒ def is_prime(n): i = 2 while n > i: if n % i == 0: break i += 1 return i == n print(is_prime(43)) def test_1_is_prime(): assert is_prime(7) == True def test_2_is_prime(): assert is_prime(344) == False # ะฒั‹...
[ "hope_air@mail.ru" ]
hope_air@mail.ru
7697cfa699f4e95fc9116e3ca315a9a2de1ee232
2b3523f8586aeca4a09eae7899e927f6f10bd4f5
/tf_utils.py
ad564fca1f45b603d41319ca47171b9199e296d8
[]
no_license
Modorn/radar_image_propagation
2ad146302a371c51bdf251d15fbca3527c66108f
e21215e0c6c63768c0036197b91dd15eb51bbc7d
refs/heads/master
2020-06-02T01:48:56.153632
2019-03-29T07:44:48
2019-03-29T07:44:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,151
py
import numpy as np import tensorflow as tf import config as c def conv2d(input, name, kshape, strides=(1, 1, 1, 1), dtype=np.float32, padding="SAME"): with tf.name_scope(name): W = tf.get_variable(name='w_'+name, shape=kshape, initializer=tf.contrib...
[ "645992705xpf@gmail.com" ]
645992705xpf@gmail.com
a73a787c2c5060a2c6363b579bc0de40d965b0d2
974370079c37335258b97a6fbe901b58d86ea7e7
/Stacks/Basic/Stack_ADT.py
f70e7b74483a9e2f3ba43d15a68b2e6f01e5866a
[]
no_license
Tejasj77/Data-Structures-and-Algorithms
5f3279a80bb66613fa6c8701912d0b4eaa25b527
ae8aa8ce10a0140c5301e1dfaae1539e42a6f94c
refs/heads/main
2023-01-30T23:54:13.153228
2020-12-15T07:08:30
2020-12-15T07:08:30
321,554,228
0
0
null
2020-12-15T07:08:31
2020-12-15T04:38:16
null
UTF-8
Python
false
false
773
py
class Stack: def __init__(self): self.data = [] def push(self,element): self.data.append(element) def pop(self): if self.isEmpty(): return "Stack is empty" else: detach = self.data[len(self.data)-1] self.data = self.data[0:len(self.data)-1]...
[ "tejasjoshitj@gmail.com" ]
tejasjoshitj@gmail.com
18345cb6c3eca2784bdae0c2c3c727e84b69ce15
119779982b417ae21f8084795eca2abec0d364c2
/Movie_list/modules/movie.py
569e43d7437b4134166ab9af0b1b02ca44dc671d
[]
no_license
phucnguyenw/Nguye-P
d9ca8db2a4f4d217a22986489d7d41976f464f7c
cd84decf3ea46831019c32511ac9c6e7de29bda6
refs/heads/master
2020-03-22T05:59:10.678775
2018-08-08T15:19:57
2018-08-08T15:19:57
139,604,388
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from mongoengine import Document, StringField class Movie(Document): title = StringField(max_length=200) image_url = StringField() link = StringField()
[ "kjngsorpo@gmail.com" ]
kjngsorpo@gmail.com
f4ca3e63858078e3b47b64c2df54622b403949c4
b6f64d50ce3011c17b6a9b1515780ab0f1945e2a
/testCases/test_searchProductByProductName.py
8dd218634cda80e638dfd5a555c44e7d389448b7
[]
no_license
amirhach84/nopcommerceApp
1a61dfc070f602e2b4bff50343233b2ae528c59d
b4827dadb07eb42bde2fcd7e5ce8351927b292a3
refs/heads/master
2023-05-31T21:06:54.626004
2021-06-27T10:31:25
2021-06-27T10:31:25
376,508,022
0
0
null
null
null
null
UTF-8
Python
false
false
3,007
py
import time import pytest from pageObjects.LoginPage import LoginPage from pageObjects.AddcustomerPage import AddCustomer from pageObjects.SearchCustomerPage import SearchCustomer from pageObjects.SearchProductPage import SearchProduct from pageObjects.AddproductPage import AddProduct from utilities.readProperties impo...
[ "amirhach@gmail.com" ]
amirhach@gmail.com
4786776afaaecc13021d610b55fe630db7212388
974929774f35b13e2a3778ac298339aad3a849c1
/decorator/decorator.py
595077f628538bb2e8ae7764796e1d16410d5fdb
[]
no_license
b7wch/python-learning-code-2
793f083ee82c926f0347f53f655aa59128aef407
392baefe4f0923d5c545ffe29b288e70e442e3b7
refs/heads/master
2023-07-20T11:30:33.671233
2018-07-06T10:40:21
2018-07-06T10:40:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
#!/usr/bin/python # -*- coding:utf-8 -*- # 2017/12/20 def wraper(func): def _wraper(): print('in wraper') func() print('in wraper') return _wraper def wraper1(level): print(level) def _wraper(func): def _wraper1(*args, **kwargs): print(1) prin...
[ "yangnianqiu@gmail.com" ]
yangnianqiu@gmail.com
805609f55b0761eb67b8fbbc752ae17f249eed7e
bff91925bd4f99e9495160eefcfbe620b5f673ff
/app.py
f4b865313f35a1d3c98593423b7fad095f151e9e
[]
no_license
mindcompass/telegram_chatbot
15cc27956cee3cd7d202c4a13de286fa677f7d13
bb692919c0066bb282bd488f2ad3dcc742df090e
refs/heads/master
2020-11-26T23:58:56.314107
2019-12-20T09:46:17
2019-12-20T09:46:17
229,172,734
0
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
from flask import Flask, render_template, request from decouple import config from bs4 import BeautifulSoup import random import requests app = Flask(__name__) token =config('TELEGRAM_BOT_TOKEN') chat_id = config('CHAT_ID') url = "https://api.telegram.org/bot" #๋ณด์ด์ง€ ์•Š๋Š” ํŒŒ์ผ์„ ๋งŒ๋“ค๋ฉด ๋‹ค๋ฅธ ํŒŒ์ผ์— ์žˆ๋Š” ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š”๊ฑด๊ฐ€? @app.route('/...
[ "kangkang119@naver.com" ]
kangkang119@naver.com
c4a70cad2f51b03286087f4519056953d18d15a0
7cac72b9a88ef964d6ce6536195fd323ed079e51
/annogesiclib/rbs_overlap.py
6ad3e55d536b2af6a697d6b73759252a2541eb51
[ "LicenseRef-scancode-unknown-license-reference", "ISC", "BSD-2-Clause" ]
permissive
felixgrunberger/ANNOgesic
f853c7845b36a0e3966c6871105519ffb3fb4b53
0d67609b63d5d79fc0f57151f79b1a5265c38373
refs/heads/master
2021-05-04T22:08:28.872924
2018-02-02T15:00:04
2018-02-02T15:00:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
import os import csv import shutil from annogesiclib.gff3 import Gff3Parser from annogesiclib.helper import Helper def read_gff(gff_file, type_): cdss = [] g_h = open(gff_file) for entry in Gff3Parser().entries(g_h): if (Helper().feature_without_notgene(entry)): if (type_ == "riboswitc...
[ "sung-huan.yu@uni-wuerzburg.de" ]
sung-huan.yu@uni-wuerzburg.de
b28ff83cdbc7d6c9d586d10b424d05227594e0bb
48ce447f2a3b5201e36d190818a4c70163a0ce16
/RotateLeftInt.py
78545338a71c756dad8792445c982dfc0f69e5c4
[]
no_license
arpita-ak/APS-2020
89d2e2c3601959372eb9f9a982776f0d2c86f55b
b7fe75225d77fcf36b472d177b44af59704024cc
refs/heads/master
2022-04-24T04:39:46.903613
2020-04-27T21:33:41
2020-04-27T21:33:41
236,293,501
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
""" Left rotate the array of intergers """ def leftrotate(N,arr): temp=arr[0] for i in range(N-1): arr[i]=arr[i+1] arr[N-1]=temp a=[1,2,3,4,5,6] N=6 leftrotate(N,a) print(a) """ Left rotate for the strings """ def leftrotate(k): k=k[1:]+k[0] return k n='ABCD...
[ "noreply@github.com" ]
arpita-ak.noreply@github.com
7ca887133d33000f514b699d46925d3b00acac17
762742b3c5cb5706e93e12dbdc3f8c46fc65f0db
/Packs/OpenPhish/Integrations/OpenPhish_v2/OpenPhish_v2_test.py
7ceb301f00593b3b7e14527d6a35493b28e8f30c
[ "MIT" ]
permissive
EmersonElectricCo/content
018f95f7fe7de13819e093a3661587a18407e348
82c82bbee7d428f0b14991a88c67672e2c02f5af
refs/heads/master
2021-06-17T04:54:22.938033
2021-05-06T16:39:59
2021-05-06T16:39:59
161,693,191
2
0
MIT
2018-12-18T15:16:49
2018-12-13T20:47:26
Python
UTF-8
Python
false
false
10,139
py
from datetime import datetime import pytest import OpenPhish_v2 import demistomock as demisto from OpenPhish_v2 import ( Client, _is_reload_needed, remove_backslash, reload_command, status_command, url_command, ) from freezegun import freeze_time from test_data.api_raw import RAW_DATA MOCK_URL ...
[ "noreply@github.com" ]
EmersonElectricCo.noreply@github.com