blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
26a913ad3667d31c973daeb7828df81b0f4ab511
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/134.py
085bae10457bf1468888eded9f5f112884ecf5f6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
import numpy as np def mainFunc(S, K): ret = 0 for i in range(len(S)-K+1): if S[i]=="-": ret+=1 for j in range(K): if S[i+j]=='-': S[i+j]='+' else: S[i+j]='-' for i in range(K): if S[len(S)-1-i]=='-': return "IMPOSSIBLE" return str(ret) T = int(raw_input()) for t in range(T): P = raw_input()....
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d02b5cece1e22ad4c0e30550c5b6be1109c96b75
ad921d190cba89b9ad3d169941727cfb497192e2
/core/translation.py
6c1e0ca8f9efd0245c6c108e300ba22dc0cab659
[]
no_license
Rahmet97/3d-models.uz
c8f955d7e0af8ca6ff00f147bd5ef6c9133226e4
17fb9545475a416607c18e00388f8605ad623f5f
refs/heads/master
2023-07-07T19:11:04.621195
2021-07-29T10:49:38
2021-07-29T10:49:38
361,868,437
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from modeltranslation.translator import register, TranslationOptions from .models import AboutUs, PortFolio, VideoModel @register(AboutUs) class AboutUsTranslationOptions(TranslationOptions): fields = ('title', 'description') @register(PortFolio) class PortFolioTranslationOptions(TranslationOptions): fields...
[ "ruslanovrahmet@gmail.com" ]
ruslanovrahmet@gmail.com
fc3ef945c17fc0a2cc07ebc2bd0847622a35d8e1
778a420262c8d1547cbcbbe3143cd73a94d9cff6
/test/test_common.py
bea1a3d8c600fa0d2718f9889976a7f6782f3467
[ "Apache-2.0" ]
permissive
ddierkes/bdbag
a59ef7c4a7207dd9a90374a021c682b0b4642c54
bc35ddcb544f7fa923d4649835ad99a15a778bce
refs/heads/master
2020-03-17T22:06:22.942490
2018-05-03T11:05:57
2018-05-03T11:05:57
133,989,136
0
0
null
2018-05-18T18:14:03
2018-05-18T18:14:03
null
UTF-8
Python
false
false
4,281
py
import os import gc import sys import shutil import tempfile import unittest class BaseTest(unittest.TestCase): def setUp(self): if sys.version_info < (3,): self.assertRaisesRegex = self.assertRaisesRegexp self.tmpdir = tempfile.mkdtemp(prefix="bdbag_test_") shutil.copytree(...
[ "mikedarcy@users.noreply.github.com" ]
mikedarcy@users.noreply.github.com
a9bdc6370afce4392ddb6dbf4ed0060b72a82fdb
a974bbcbe9398887c99b92e8b5df63e029fe7769
/code/normal_map_EXEC.py
027c0ee7a0a3470d9bf5a71762566cb34ada1945
[ "BSD-3-Clause" ]
permissive
eckerr/python_image_manipulation
9c21f8d57879b288f7e9f7ad34fb926e1ba8a86b
a0aacf7311e1ee7435df154962e634f061311209
refs/heads/master
2022-07-14T01:24:34.198184
2020-03-01T03:49:43
2020-03-01T03:49:43
167,699,657
0
0
null
2022-06-21T22:05:46
2019-01-26T14:46:05
Python
UTF-8
Python
false
false
3,315
py
""" Threaded version Created by Ed on 2/20/2019 """ import sys import sqlite3 from time import sleep from pprint import pprint from my_opencv import MyCVImage, MyCVHist # from file_open_dialog import Ui_Dialog from PyQt5 import QtSql from PyQt5 import QtCore, QtWidgets from PyQt5.QtCore import pyqtSignal, QThread ...
[ "edkerr@comcast.net" ]
edkerr@comcast.net
e0222454928efa8bc1dbb30a24c6055737fc0f20
9a7550dc49afa11b1bb900b8e22752cfb9e941ed
/oauth/urls.py
92ffdbb5ec9cbb586ee9683ea9d549b451ee25c1
[]
no_license
SunmoonSan/MapleBlog
862c4e3631a07ab4e6edb1fd934a4f4768ddd1f3
bc61d42f3927016f7e9e7fb86534639c70cb6479
refs/heads/master
2020-03-22T08:46:52.563003
2018-07-05T03:29:48
2018-07-05T03:29:48
139,790,441
1
0
null
null
null
null
UTF-8
Python
false
false
897
py
"""sunmoon URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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...
[ "18814184179@163.com" ]
18814184179@163.com
00e1e467d9dad44b21c2c6db5640d597ab6ad8f2
4f45359b3b6826b98d17e62dcba260f91daa09d1
/eventor/examples/run_types.py
2097d5379f72695d467ada85eadffe8ace620cd9
[ "MIT", "BSD-2-Clause" ]
permissive
Acrisel/eventor
55ccd84a379259aea53c295c267732ca765f316b
8e27e8c5b8e605b055e9e7ead5854850785f8597
refs/heads/master
2020-06-22T07:22:31.293697
2018-02-18T18:49:34
2018-02-18T18:49:34
74,599,685
4
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
''' Created on Sep 8, 2017 @author: arnon ''' import collections from acrilib import Mediator from acris import virtual_resource_pool as rp import os import logging class StepResource(rp.Resource): pass class Container(object): class IterGen(object): def __init__(self, level): self.level ...
[ "arnon@acrisel.com" ]
arnon@acrisel.com
cd4d183ad4e4c95ed4724893de2871e7b5527640
f26ea24cebb60b8b6176ee4d3ecbec477be9b7c6
/native_tags/contrib/mapreduce.py
50346ee6e3655e78113e5d8117322daf7447de1a
[ "BSD-3-Clause" ]
permissive
lukaszb/django-native-tags
994fcc0e382ebfd8dfed868a4caeeb33aa78aee5
e1987497b652b1939d152cbc6bc281daf727b34c
refs/heads/master
2021-01-09T06:13:18.485447
2010-05-04T20:08:15
2010-05-04T20:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,172
py
from native_tags.decorators import function def get_func(func_name, op=True): import operator from native_tags.registry import register try: return register['function'][func_name] except KeyError: pass if func_name in __builtins__: return __builtins__[func_name] elif has...
[ "justquick@gmail.com" ]
justquick@gmail.com
6ad635c7c78f425b27b69715dd2d48e1a0c105ed
2d87d46441ec22a44181acab68b4f08a18644ccc
/accounts/models.py
68b317c28f64631f7374b0ffbeb227dab19bfda9
[]
no_license
omarBnZaky/social-django
67e6a6b1cf304bb50c1bc39af27010b735549436
e45a83b360e37f3970cbe4ccfa3984637c3821f6
refs/heads/master
2020-09-22T03:30:18.744069
2019-12-02T10:58:41
2019-12-02T10:58:41
225,032,665
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from django.db import models from django.contrib import auth # Create your models here. class User(auth.models.User,auth.models.PermissionsMixin): def __str__(self): return "@{}".format(self.username)
[ "omarbnzaky@gmail.com" ]
omarbnzaky@gmail.com
f9923bc3c5cc59cf94f88a72612fd73c7c3f4963
0cd9245e531389be7b9bcd0513af8f0c920a4455
/9.6.py
072222820395e3cef8472afdc024a1b220246c2c
[]
no_license
lzyrapx/Think-Python
34abde3026011529cbec32bb2f7a6a7aa75eaa59
b395d62c3116f4bba479287d22ef1964dab70c6f
refs/heads/master
2021-08-23T07:28:04.973879
2017-12-04T04:29:43
2017-12-04T04:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
#coding:utf-8 """ 写一个名字叫is_abecedarian的函数,如果单词中所有字母都是按照字母表顺序出现就返回真 (重叠字母也是允许的)。有多少这样的单词? """ def is_abecedarian(word): index = 0 Length = len(word)-1 for i in range(Length): if ord(word[index]) <= ord(word[index+1]): index += 1 else: return False ...
[ "noreply@github.com" ]
noreply@github.com
8d8872b3116faa51b32de5035dc16fd6fc755f64
02cb5674a3b90ce13a9c617f88f6d47c2a27d396
/simple_server.py
4e1c79d6cfac732240071ad6824845f61549b88a
[]
no_license
tch1001/First-GCI-Task
f9de1997c5fb6f5ee222fa7a4448ef3a997d1e1c
9a2572bef769d13f2f56f958f55663bf8051290a
refs/heads/master
2021-05-14T16:13:40.568117
2018-01-02T13:06:42
2018-01-02T13:06:42
116,015,786
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
from http.server import HTTPServer, BaseHTTPRequestHandler import json import sqlite3 import string import random # response_dict = { # "business": "Pizza Hut", # "founded": 2010, # Bogus date # "locations": [ # "Pasir Ris", # "Tampines", # "Bishan", # "Toa Payoh", # "Orchard" # ...and everywhere else # ] # }...
[ "tanchienhao@gmail.com" ]
tanchienhao@gmail.com
3c92228e0ccb19dd99d8f02f5c1d0b4f4605312b
745e25309d7f0ec93e1a7a94ebf3573247dc21d5
/app_eagle_customize/__manifest__.py
d594d1ba0d5647fbadc5e74c24d64054a3cc21b8
[]
no_license
dionisiotorres/customs
e7c00bc9cd92e9e8662c24918a0a9731ea1b749b
320ee8a57838d0c1e7b7d63b5664a9ae7ba306a5
refs/heads/master
2022-12-01T21:32:53.041422
2020-04-03T14:31:53
2020-04-03T14:31:53
288,824,903
0
0
null
null
null
null
UTF-8
Python
false
false
4,471
py
# -*- coding: utf-8 -*- # Created on 2018-11-26 # author: 广州尚鹏,https://www.sunpop.cn # email: 300883@qq.com # resource of Sunpop # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # Eagle12在线用户手册(长期更新) # https://www.sunpop.cn/documentation/user/12.0/en/index.html # Eagle12在线开发者手册(长期更新) # https://www.sun...
[ "dmashraf@gmail.com" ]
dmashraf@gmail.com
ed4064c3c203bfed3f1990bc58f5c661e2c41d3c
5bf856f28e037262b1ed6ed86cb25be393ed6c56
/django_video_frame/core.py
ffc70646589bf7d41e7dc033971450adae715204
[]
no_license
jakt/django_video_frame
c35b0baf32a403f5bc962b8a7fdbb65ae218762c
c89d8d9ad253edc4ec71655a8428fe4f78a1ad53
refs/heads/master
2021-01-12T13:56:32.182241
2016-09-22T14:06:31
2016-09-22T14:06:31
68,926,789
2
1
null
2016-09-22T14:06:31
2016-09-22T14:00:18
null
UTF-8
Python
false
false
1,671
py
import os import uuid from moviepy.editor import VideoFileClip from django.core.files import File class FrameCreator(): """video_field - django file field with video file """ def __init__(self, video_field): self.video_field = video_field def get_frame(self, video_frame_time='00:00:00'): ...
[ "vladimir.gosha.mail@gmail.com" ]
vladimir.gosha.mail@gmail.com
69c10516b76febdff600c3fb916e1eb234a9137e
969df8dfe85c2efa619ffe56e3f7fc1d786c9e87
/mysite/urls.py
640ac7f3c10a896c9d316e20d1d3b11fcadb4306
[]
no_license
neelkalwar/Text-Manipulation
f228973a144f0463c83f0d6117d8d17ec56505f4
6e2d7eb359970f2c62b70fb023b665036235492a
refs/heads/master
2023-07-12T19:04:43.371677
2021-08-25T12:19:36
2021-08-25T12:19:36
399,800,827
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('admin/', admin.site.urls), path('', views.index ,name='index'), path('analyze', views.analyze ,name='analyze') ]
[ "kalwarn8@gmail.com" ]
kalwarn8@gmail.com
444a22a79ea2834fc4b7b25e5a0a38e4505be7a7
8fb749ccfb4c53cc897cea17a13f7164ce4d4310
/tests/test_ward_night.py
9e4d35b283813d3c0e3a4d7a3cca2015eb9781bc
[ "MIT", "BSD-3-Clause" ]
permissive
bergren2/documenters-aggregator
2d60bde5cf487ff930525a5c7dacfcf149706b43
ae4e68988e17857a0c70ab7ae8594c7716c2e3bb
refs/heads/master
2021-01-15T17:15:10.910946
2017-11-23T02:45:15
2017-11-23T02:45:15
99,740,513
0
0
null
2017-08-08T22:13:12
2017-08-08T22:13:12
null
UTF-8
Python
false
false
4,711
py
import pytest from datetime import date from tests.utils import file_response from documenters_aggregator.spiders.ward_night import WardNightSpider, Calendar from textwrap import dedent test_response = file_response('files/ward_night.json') spider = WardNightSpider(start_date=date(2017, 11, 1)) parsed_items = [item f...
[ "jim@autonomousmachine.com" ]
jim@autonomousmachine.com
f7ad37c473eb788222d0d0e5934e021dc5afeffc
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Release/lib/python2.7/site-packages/twisted/lore/_version.py
c81adaac2b5e3ff5d0fc8545fdf68c50dfda705d
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
271
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. # This is an auto-generated file. Do not edit it. """ Provides Twisted version information. """ from twisted.python import versions version = versions.Version('twisted.lore', 14, 0, 0)
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
92d4c4a7b0af2d27c109eea4c7c10b509cf8602a
81860df5b2705eec5d704bcf257f1eb4a2c350c5
/InterviewPrep/Isomorphic.py
8d2b0385086617dc53dc59a8de6ed9df6a7d6e2a
[]
no_license
cquinone/Practice
07f90b874572aab8cf1d0ad4a0c58fc3b02de6b8
5c1c230778788eed7beb80c9b416484fe1c76473
refs/heads/master
2021-06-23T18:36:34.745930
2017-09-07T21:59:49
2017-09-07T21:59:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
from collections import defaultdict """ http://www.programcreek.com/2014/05/leetcode-isomorphic-strings-java/ """ def isomorphic(str1,str2): visited = [False]*256 log = defaultdict(str) if (len(str1)!=len(str2)): return False for i in range(0,len(str1)): if (visited[ord(str1[i])] == Fal...
[ "noreply@github.com" ]
noreply@github.com
8dbdb812badb9cbca4f2a3443f3d51e69aa253ef
70b82cf7cb8ca912cb809c5f8e9fff9e80bdc50c
/Homework.py
7e9aefaa82395c2a738c3993ce677201bced781a
[]
no_license
SergeyKot987/python_basic_course
d585c7069c93bffb012acb5c42fdc0a9ba61ab59
a27727d470dd352706df23d2d08bf52cfba8409d
refs/heads/master
2021-04-15T16:25:53.550550
2018-04-24T15:33:47
2018-04-24T15:33:47
126,369,457
0
0
null
2018-04-24T15:33:48
2018-03-22T17:09:27
Python
UTF-8
Python
false
false
74
py
age = 22 year = 2018 - 22 print(f"What year were tou born?\n {year}" )
[ "noreply@github.com" ]
noreply@github.com
63a6bbe59c77994bb404b62295889f7269ee3032
dad751d6b5a9822fb276c3cc40e48f2f42246974
/analysis/old_pklplot.py
f21186ee5f9f60b217b858919a40d548bd9ca34a
[]
no_license
jrhaberstroh/gromacs-scripts
ac7be85492d59a243bae5f9ee44e29df166747a6
f077c25ec34b08b57074012c969793dcfc585734
refs/heads/master
2021-05-28T05:56:26.035787
2014-07-15T17:57:47
2014-07-15T17:57:47
9,708,331
14
4
null
null
null
null
UTF-8
Python
false
false
1,828
py
#!/usr/bin/env python2.7 import argparse import cPickle import pylab as plt import numpy as np def plotCt(yplot, args): plt.xlabel(args.xlabel) plt.ylabel(args.ylabel) plt.title(args.title) xaxis=[] yaxis=[] try: xaxis= np.array(xrange(0, args.tf)) * args.xrescale yaxis= yplot[0:args.tf] except: xaxis= ...
[ "jhaberstroh@berkeley.edu" ]
jhaberstroh@berkeley.edu
566b4cf0a9f132484571e22ebd61a17b564f150a
a263ed3297c1e547ec94aa94300b068b2552868b
/hw1/test_parallel_loader_normal.py
b8070241167595fdcb9529747f2ca2ddda9b0692
[]
no_license
zawecha1/MLDS2017
fb30e5b826c6730db1a95b7f12b583ad2d050670
5c04f2a009e0d7cfa72b655e4c05a83c766e3515
refs/heads/master
2020-04-28T02:54:57.366197
2017-06-15T15:52:18
2017-06-15T15:52:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
import json import time import random import numpy as np import tensorflow as tf import word2vec from parallel_loader import ParallelLoader sentences = json.load(open('./data/data.json')) subset = word2vec.load_indexed_model('./data/subset.bin') SENTENCE_LEN = 5 BATCH_SIZE = 10 def loader_func(): ss = random.sam...
[ "patrickchen1994@gmail.com" ]
patrickchen1994@gmail.com
05de15cee0ffdb94dd433a229026c5ed75f678f8
daa1c5798e14292ca20eabd7fb8a2e9c9e762557
/upload_folder.py
3a99b6454dfaa3fbfc2759f40f17057c8e3e44da
[]
no_license
siliconcortex/curiousweb
9f1811b2c605f3484c40cc0fc465e74047e9a6ec
def40532bbedee8a6484e29edb4861bf3072101b
refs/heads/master
2023-05-07T12:55:31.696105
2020-08-18T07:30:50
2020-08-18T07:30:50
258,177,983
0
0
null
null
null
null
UTF-8
Python
false
false
4,178
py
# -*- coding: utf-8 -*- """ Upload folder to Google Drive """ # Enable Python3 compatibility from __future__ import (unicode_literals, absolute_import, print_function, division) # Import Google libraries from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from pydriv...
[ "lesliecaminade@gmail.com" ]
lesliecaminade@gmail.com
4d2bd9a8cef8321d578738595e232f4f292f6873
bf4e36be8829db33db7cb2a4122c7d22957d69a4
/admiral/envs/predator_prey/predator_prey.py
834d28c5a594f178d84497c8614c7fb1d7ce1afb
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
hybug/Admiral
fc4afe6c619a035a0c018ce03d2b013645f4d99c
1635ea773fa2c1f96d82aaf58b232c42cf3f5626
refs/heads/main
2023-02-10T23:54:36.609831
2020-12-14T23:42:55
2020-12-14T23:42:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,264
py
from abc import ABC, abstractmethod from gym.spaces import Box, Discrete, Dict import numpy as np from admiral.envs import Agent from admiral.envs import AgentBasedSimulation class PredatorPreyAgent(Agent, ABC): """ In addition to their own agent-type-specific parameters, every Agent in the Predator Pre...
[ "rusu1@llnl.gov" ]
rusu1@llnl.gov
1c7e8b0102abc3a1e40770fadb96ab7cb19a0aa4
53a21a59acdbeb42be8806600592bacf07beb044
/notebooks/CNN_MM/Code-metamap/launcher.py
6857c89db9e77e8a24db40d73abbd68e119484c2
[]
no_license
razanmasood/Anorexia_Topical_Trends_in_Self_declared_Reddit_Users
42a7b0625c32ba5547cfd10088a3dd3c6fcf9cf2
ef58c56890c7285c2e2b7eabca3f1a9ba2d1b067
refs/heads/master
2022-08-19T02:46:14.410290
2020-05-26T20:00:50
2020-05-26T20:00:50
267,137,218
0
0
null
null
null
null
UTF-8
Python
false
false
5,002
py
import json from pymetamap import MetaMap, ConceptMMI import os import csv from tokenizer import tokenizer import re from nltk.tokenize import sent_tokenize import numpy as np def sent2bioes(sent, annotations): words, s = [], "O" splitters = "\n \t\r" word, i = "", 0 o = -1 for ch in sent: ...
[ "razan.masood@uni-due.de" ]
razan.masood@uni-due.de
7e44debbb15267ca368c195c909880609a255521
6141527b03c7e1bd8d9bee08e2d8e9aec2fb546b
/bot.py
0d1d59f9b88ce0970c4bc26ff8951155f4ae716a
[]
no_license
stevemclaugh/defineplz
f110a9d71b852de174dc99fc579977e20a200ac5
2e6c21937772835cd129d611764ae5dd2723c5b5
refs/heads/master
2021-01-15T16:09:59.657832
2017-08-10T00:26:34
2017-08-10T00:26:34
99,708,542
0
0
null
null
null
null
UTF-8
Python
false
false
6,952
py
from twython import Twython from textblob import TextBlob import urllib.request import time import datetime import random import string import os from pprint import pprint APP_KEY = "yYX1PmePymDUOleMXDkO0G6qt" APP_SECRET = "" OAUTH_TOKEN = "894946933449555968-h2hTsuaqlGUigG8n47QOTcK2YsVwhwa" OAUTH_TOKEN_SECRET = "" t...
[ "stephen.mclaughlin@utexas.edu" ]
stephen.mclaughlin@utexas.edu
808cf496a8bf650c2d81d9c2043e69ea1f1164d0
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/legacy_test/test_dataset_cifar.py
1fca233d3be786b2a42f7dea6aed8dae58d6c25b
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
4,284
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" ]
noreply@github.com
9b32ca83be3ff0001699e986eb494e64aa5b12d3
e365d3eef46e4db8fc3e9a08d96eecf6be79fbfa
/CellFabric/Cell_Fabric_FinFET__Mock/gen_lef.py
7ee690db7c657bbd1171d20f1ad2a4b1ea69c029
[ "BSD-3-Clause" ]
permissive
tonmoydhar/ALIGN-public
c1d624148ade27c793f93b5529f0556b88f1a28f
3ff9a64fad48927945ad1aa6a554929147d53833
refs/heads/master
2020-07-19T14:27:08.468815
2019-09-03T22:21:37
2019-09-03T22:21:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,728
py
import json from collections import OrderedDict def json_lef(input_json,out_lef,cell_pin): macro_name = out_lef + '.lef' def s( x): return "%.4f" % (x/10000.0) #### Start: This part converting all negative coordinates into positive with open( input_json, "rt") as fp: j = json.load(fp, object_pairs_ho...
[ "aksharma@umn.edu" ]
aksharma@umn.edu
2ee7ff91d4da418ab6677d1c46ad52640be5379a
6984724d0466d477635b23d073affa9b00f01f67
/Tasks/Putsilouski_Tasks/CW/4/CW4.py
d90d6f00de36f59db429ea944294dca6e6c443c0
[]
no_license
RomanPutsilouski/M-PT1-37-21
202414fac782e6c68f741e55f9b7697f0c974f45
ceef9b4e6bcff2a9033615ec761f0e2e73c9467e
refs/heads/main
2023-05-30T21:10:22.404817
2021-06-30T00:26:29
2021-06-30T00:26:29
348,462,785
1
0
null
2021-06-05T15:44:27
2021-03-16T19:06:57
Python
UTF-8
Python
false
false
397
py
# x = {1, "test:", False, "dsafadfdsfa"} # print(x) # x = set([1,4,2,5,1,24,1,]) # x.add("test") # print(x) # x.update([2,3,5,6,1^4,5]) # print(x) # print(x.pop()) # print(x.remove(2)) # print(x.discard("False")) # # x={1} # y ={1,2,3} # print(x.issubset(y)) # _____________________________________________________ х = ...
[ "putsilouskiroman@gmail.com" ]
putsilouskiroman@gmail.com
af4c8a21a408518e7f8730b582610adddbea2a0e
fe6b6234376633e5e283ea5fe08182ad2054bdfc
/boto.py
45f3df69fa6ddf8c35b59d233b164a09860a50cf
[]
no_license
da-cipher/ChatBot
c7fec4bfd26bb264d4c03bd92ba425a44adc5dbd
79bb344c7589579e628efc019daa64c69b61024c
refs/heads/master
2020-06-23T14:39:04.791620
2018-01-20T14:34:02
2018-01-20T14:34:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,209
py
""" This is the template server side for ChatBot """ from bottle import route, run, template, static_file, request, response import json, random, datetime, weather info = { "counter" : 0 } @route('/', method='GET') def index(): date_last_visited = request.get_cookie("last_visited") if date_last_visited: ...
[ "michelelang3@gmail.com" ]
michelelang3@gmail.com
a108c73292745efbb8c63a7021a928c423ba5f28
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/3242.py
f20b77deb7902b6a054756552bf203772edf07d0
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
#!/usr/bin/python def solve_n(case, C, F, X): t = 0.0 # Time stamp cc = 0.0 # Number of cookies cookie_rate = 2.0 solved = False while not solved: time_to_next_event = C / cookie_rate ## Will I solve in this round time_to_solve = t + (X - cc) / cookie_rate if cc + co...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
9b71bfc82bf69157a0a2f7f8ecb174d1811970bd
f5d4863b6a62ef19ffc98e4f94f6ade1bc8810d3
/Hash Table/274_H-Index.py
76ba54016e28d234d66981f9499e284a2c30bef6
[]
no_license
xiaomojie/LeetCode
138808eb83938f9bd3c2e8a755d908509dff0fd3
eedf73b5f167025a97f0905d3718b6eab2ee3e09
refs/heads/master
2021-06-12T09:26:01.257348
2019-10-23T10:41:06
2019-10-23T10:41:06
76,184,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
""" Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. According to the definition of h-index on Wikipedia: "A scientist has index h if h of his/her N papers have at least h citations each, and the other N − h papers have no more...
[ "519399762@qq.com" ]
519399762@qq.com
b270e0997d1a0890099ab916b7ac8762bc7f9c20
3fa27b3ad1c1ca90f2bcf311d89fe8c2ca241cb4
/Stores/migrations/0002_auto_20201004_2348.py
9df9d2685983fb78f3531d6d90e5557aaf8fa728
[]
no_license
emperorDuke/django-backend-for-ecommerce
717e15d7be899abcd5a4b7a7d2203c612f001aeb
83c1ca4d016d876a5c8711ac5cdc448d5a4a533d
refs/heads/master
2023-02-10T08:57:17.852721
2021-01-02T15:49:07
2021-01-02T15:49:07
271,039,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
# Generated by Django 2.2.7 on 2020-10-04 22:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('Users', '0001_initial'), ('Stores', '0001_initial'), mi...
[ "effiomduke@gmail.com" ]
effiomduke@gmail.com
12046705509ad99445df20fdea4f2ca037b1d0b7
0976c55799d146e797239810d38003f7485da67a
/lastweekend_photos/lastweekend_photos/urls.py
a301e2df695464e56dcf9dd733fe2474c1dca53d
[ "MIT" ]
permissive
OmidFarvid/lastweekend-photos
9dd5568e5522165899725f46e0f1063944558399
f7f433843a14ca846bd7a9a8707ca1bf1c04d7da
refs/heads/master
2020-05-19T13:13:19.421430
2019-05-21T22:53:46
2019-05-21T22:53:46
185,033,760
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
"""lastweekend_photos URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "pprolancer@gmail.com" ]
pprolancer@gmail.com
cf0672b04e3ad7d5240dff6351e4a75134aff575
a66460a46611483dfbdc94c7996893f427e60d97
/ansible/my_env/lib/python2.7/site-packages/ansible/modules/cloud/amazon/aws_direct_connect_connection.py
40aede0d048137aeaccca9bd1a9ea0bc41ad91cc
[ "MIT" ]
permissive
otus-devops-2019-02/yyashkin_infra
06b57807dde26f94f501828c07503d6bf1d70816
0cd0c003884155ac922e3e301305ac202de7028c
refs/heads/master
2020-04-29T02:42:22.056724
2019-05-15T16:24:35
2019-05-15T16:24:35
175,780,718
0
0
MIT
2019-05-15T16:24:36
2019-03-15T08:37:35
HCL
UTF-8
Python
false
false
12,050
py
#!/usr/bin/python # Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} DOCUMENTATION = """ --- module...
[ "theyashkins@gmail.com" ]
theyashkins@gmail.com
a40f198db43f3d074882ddcc0a948778b54b510c
a5c7e51fd50f9239f5d37f9018793bb9949e3e28
/DL_assignment_3/deeplearning_library_v1/superlearn_setup.py
4d35331b3fdfbab35b808862df20356917b489f2
[]
no_license
adai2017/dlhomework
2da897427cb1538ff280672cbb86c01819272673
312e89fc3b38f4d8d2d7f5a07fff9e3dcefb746d
refs/heads/master
2021-09-10T06:45:29.373481
2018-03-21T19:45:48
2018-03-21T19:45:48
118,677,967
0
0
null
null
null
null
UTF-8
Python
false
false
3,982
py
import autograd.numpy as np from . import optimizers from . import cost_functions from . import normalizers from . import multilayer_perceptron from . import history_plotters class Setup: def __init__(self,x,y,**kwargs): # link in data self.x = x self.y = y # make containe...
[ "AndrewDai2017@u.northwestern.edu" ]
AndrewDai2017@u.northwestern.edu
0d359a2e00eb5d6cabe8eac0fed6ab8775f3db21
62debdafe7dd9d6a8fdada45612cc9bd88b1050e
/pinnwand/handler/website.py
7c2bbd1b185acffe771bf25f27f3257273d57647
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
7e4/pinnwand
3bdea72f065e309a5eec8849e984aa97ce802a9d
6e2537f9c351efe22560207cea2be9d4a3bcbfce
refs/heads/master
2023-03-31T13:48:31.588728
2021-04-02T18:33:39
2021-04-02T18:33:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,882
py
import logging import binascii import io import zipfile from typing import Any from datetime import datetime import docutils.core import tornado.web from pinnwand import database, path, utility, error, configuration log = logging.getLogger(__name__) class Base(tornado.web.RequestHandler): """Base page for all...
[ "cmdr@supakeen.com" ]
cmdr@supakeen.com
8ae50cd6b83ea1fc1e05b6127155a800c38eb5e1
a3f1e80179c23d9202d72b75dd37a49b44785f45
/api/client/swagger_client/models/api_model_script.py
a86fc78a1cbbdf8bc28909ede0b049bcda2e34cf
[ "Apache-2.0" ]
permissive
pvaneck/mlx
b1e82fae5ac8aaa1dddac23aaa38c46f6e6cfc27
6edaa0bd77787c56b737322a0c875ae30de6cd49
refs/heads/main
2023-05-14T06:08:38.404133
2021-05-04T01:41:11
2021-05-04T01:41:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,189
py
# Copyright 2021 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
[ "82406273+mlx-bot@users.noreply.github.com" ]
82406273+mlx-bot@users.noreply.github.com
31e605c8b99832192a7c48800c14f2d562136138
e05fcade5001ecf510bde850942a549a54fa6f30
/mylogs/migrations/0010_auto_20210615_1557.py
368f261852a4d685a6e7b65c15f9cd0fbbb0679e
[]
no_license
bananaderevo/django2
a3319f860a7cdebe3be0f0225ca0659d2e040bf5
252ff7adcea7b7d374a15f4371507f3621d4fb41
refs/heads/main
2023-06-04T04:59:14.755200
2021-06-18T10:12:33
2021-06-18T10:12:33
370,753,639
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# Generated by Django 3.2.3 on 2021-06-15 15:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mylogs', '0009_auto_20210615_1550'), ] operations = [ migrations.AlterField( model_name='logs', name='method', ...
[ "vladikarshinov55@gmail.com" ]
vladikarshinov55@gmail.com
7c432b6ff53b6f2d2ff8f063dc48ade3a4c92cd1
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_Administrator/test_c139330.py
0952f34469d1beb7cbb7b7a29b6cc088aec4bbac
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_sys import * from page_obj.scg.scg_def import * from page_obj.scg.scg_button import * from page_obj.scg.scg_def_log import * from page_obj.common.rail impo...
[ "15501866985@163.com" ]
15501866985@163.com
eb52d07948feadf7615c9b71eac9205e7966ed09
14f6997309a8d1e36569a34ebb5a1d8376e198d6
/app/app/settings.py
9ef075bdd1214e4e820f31a27ee4090fe2cc4a99
[ "MIT" ]
permissive
edwinlileo/recipe-app-api
4ec1b23a3a91c2564cbab38d5e8f3c80d32dbd47
22416c385232385c9a79d1303354441d9b49c449
refs/heads/master
2022-04-20T00:04:10.918695
2020-04-18T07:56:24
2020-04-18T07:56:24
256,306,479
0
0
null
null
null
null
UTF-8
Python
false
false
3,414
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 2.1.15. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
[ "edwin.lileo@icloud.com" ]
edwin.lileo@icloud.com
0ecda92524e177c17b017f5e4f5f063b918a215c
5c1c8fbf500ac2f303c059367367290ab257cc41
/Datasets/calcMADE.py
a6e1c765136a1bb8019a6e2df0a4e1b6dd3a1ba7
[]
no_license
felipegb94/NeuralWaveToF
77f44b838ecce1c8f5b564fff81ad075e1d69de5
a135b51abc573b5661c2d4385cb7ca9bdf2bd303
refs/heads/master
2021-08-23T17:21:27.833244
2017-12-05T21:29:48
2017-12-05T21:29:48
86,650,064
1
0
null
2017-12-05T21:25:56
2017-03-30T02:29:22
Python
UTF-8
Python
false
false
1,899
py
import numpy as np import math # This script calculates the mean absolute difference error between the calculated depth and true depth # Parameters to calculate the frequency and depth ranges speedOfLight = 2.998e+11 # millimeters per second dMax = 10000 # max depth in millimeter dSampleMod = 1 # sampling rate in dep...
[ "fgutierrez3@wisc.edu" ]
fgutierrez3@wisc.edu
77a18bf8239b47b8f953066ffb358acd3967a8d0
129e65b23a172ea686f220868c923eb4b08493c7
/game/PyGame/Others/memorypuzzle_buggy4.py
0d3542bc9379b6b5f7d4f9b764be8fc0b21c0128
[]
no_license
urstkj/Python
8dcf434858f9eb171204e064237bb10d76fe7f16
5a41df7c57c1975e0d335f59b528e28ba63cab85
refs/heads/master
2023-01-01T14:15:42.833144
2020-10-12T15:00:55
2020-10-12T15:00:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,234
py
#!/usr/local/bin/python #-*- coding: utf-8 -*- # This version of the game has a bug in it. See if you can figure out how to fix it. # http://inventwithpython.com/pygame/buggy # Bug Description: Icons don't show up # Memory Puzzle # By Al Sweigart al@inventwithpython.com # http://inventwithpython.com/pygame # Released...
[ "ricol@opensimsim.com" ]
ricol@opensimsim.com
73cf3c5dd2f5930911a1ecc59bef4a8326f4dc85
89486783eb8b8f2474896407d948d159dec05f86
/deflation_shell/process_data/data_paint.py
ff4e3a7ee0adcc702619262669951c703afcd184
[]
no_license
Cuiyus/Experiment-Scripts
f2c5ec24b088a4b9a4354495f7197ffedb42c379
bb09b3d64d33648741aa24ed2c9a642812c37fa1
refs/heads/master
2020-09-06T23:51:59.298887
2019-12-03T14:48:21
2019-12-03T14:48:21
220,594,252
0
0
null
null
null
null
UTF-8
Python
false
false
2,731
py
import xlrd import matplotlib.pyplot as plt import numpy as np from matplotlib.pyplot import MultipleLocator print("输出redis -c 为30的图表") for i in range(1,4): data_solo = xlrd.open_workbook("C:\\Users\\12093\\Desktop\\Deflation\\2\\solo_redis\\solo_redis_30_%d.xls" % i) data_colo = xlrd.open_workbook("C:\\Users\\...
[ "1209322594@qq.com" ]
1209322594@qq.com
e13b84b29a8d28f05463a7eab4ee596dc1714cae
5b7af6548668085da9a6ab86f564538ee73c4865
/build/scripts/slave/recipe_modules/luci_config/example.py
ddbd1f0ab8890cf00a7b52766c5d291be3d044b2
[ "BSD-3-Clause" ]
permissive
elastos/Elastos.APP.Android.ShiJiuTV
463a986450a915f7b3066e6a03aca903cf56f69b
f77189a2b8df86028adc68105988710d16ce012b
refs/heads/master
2023-03-18T03:11:58.337349
2018-03-12T08:50:57
2018-03-13T11:10:27
124,007,751
0
1
null
2022-10-03T03:30:29
2018-03-06T02:21:25
null
UTF-8
Python
false
false
1,504
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from recipe_engine.recipe_api import Property DEPS = [ 'luci_config', 'recipe_engine/properties', 'recipe_engine/step' ] PROPERTIES = { 'auth_token...
[ "xiaokun.mengxk@qcast.cn" ]
xiaokun.mengxk@qcast.cn
f69258418ed759b266fce1318fb479a5065405c1
4efc1d60ef7f3e827aabdcdb9b6a6f8deb0a3679
/HMM/global_var.py
02704a2b068516aefa2aba8e669338ab6a8023ce
[]
no_license
dercaft/input
30adf41c45caaeddc3eb9db2c43f5280d86cee5f
b43eda920f0aa32a4c1fbacf1c9480ee9a227134
refs/heads/master
2023-04-01T02:15:32.966262
2021-04-04T02:09:25
2021-04-04T02:09:25
325,534,238
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
import pickle from . import Trie_init from .GLOBAL import * # CONFIG_PATH="input/HMM/log" def init(): global w_count,w2p,w2w,potential_w,p_count,p2w,trie,p2w_extend '''''' with open(CONFIG_PATH+"w2w",'rb') as file: w2w=pickle.load(file) # Numrial, Need to update with open(CONFIG_PATH+"w2p",'rb'...
[ "wuyuhang2073@gmail.com" ]
wuyuhang2073@gmail.com
f7901408a5b82425d8cbda72c633cc7e01887165
ff326f228dc0b44d681714d8c3ba00e5f7da888b
/exemplos/exemplo6.py
a45538e7d58c975964311b0c61c79ee3a50ca5b4
[]
no_license
danielaLopes/SSOF_Project06
5c1f0927dd6b1c1caca99bf1beb1e420ee133687
dd7735326020a4171b761b81d0b39d4287fcc840
refs/heads/master
2022-03-23T18:19:21.135799
2019-12-04T19:06:58
2019-12-04T19:06:58
221,670,972
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
FUNCAO(OBJECTO.ATRIBUTO(VARIAVEL))
[ "kevin-batistac@hotmail.com" ]
kevin-batistac@hotmail.com
fc28ed8f4facbaccd5cc5e51818b7b8af618bc45
cedfdd1398b947b15eccf4473e9bbaddccb878d7
/SDK/openstack/tests/unit/cloud/test_flavors.py
6f44544b37e1975cbe596bede8bcf381013844f4
[]
no_license
Doctor-DC/CMP-Recycle
36fb1fdcf7c3a396bfef89d03948bd0ce626b053
e3e6421f0b5dc28a075bc5bf91be9a45bcbe97c6
refs/heads/dev
2022-12-15T06:28:12.695868
2019-02-26T06:22:21
2019-02-26T06:22:21
142,127,512
0
0
null
2022-12-08T02:29:44
2018-07-24T08:18:46
Python
UTF-8
Python
false
false
11,881
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "8920622362@qq.com" ]
8920622362@qq.com
d330833cb9b420e93029ecd1df3e12af203a3a9d
ee05d803ee01c939d7324db8e8ff2b8990877d69
/e_单词规律/290.py
f5edbac5e8f0297cffaf85541074befd5136adb1
[]
no_license
Nostalogicwh/Leetcode
7660153ffe56b1a348d2bb145bbd77c9c46a5525
5004d6b7157dc6a21666c7f79a38e95fa0ca092f
refs/heads/master
2023-02-26T10:23:26.575572
2021-02-01T09:05:04
2021-02-01T09:05:04
295,983,019
2
0
null
null
null
null
UTF-8
Python
false
false
498
py
class Solution: def wordPattern(self, pattern: str, s: str) -> bool: t = s.split() if len(pattern) != len(t): return False dct = {} for i in range(len(pattern)): if pattern[i] not in dct: if t[i] in dct.values(): return Fals...
[ "apocalypsewh@163.com" ]
apocalypsewh@163.com
e9fac787cd491026568ab5aa63c583c3cc349c1c
78ea634c53a3b52cbc379b5509d99f6729e1644b
/user/forms.py
04c395cf518eb98c1946fa41c4eb578ee10656ab
[]
no_license
TapanManu/Todo-Backend
56a2999a8139a967e1f59d346d22b902f5ed151a
4ed02cbbf2c843fc248edb4a4027e3491fa800c9
refs/heads/master
2022-03-30T10:21:49.165029
2020-02-02T18:45:39
2020-02-02T18:45:39
226,716,615
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
from django import forms from .models import UserProfile from django.contrib.auth.models import User class UserForm(forms.ModelForm): username=forms.CharField(label=("Username"),widget=forms.TextInput( attrs={'placeholder': ('Username'), ...
[ "you@example.com" ]
you@example.com
8230dc2a57f309ae6fab75d29b13dfd5b5c7ce6c
56733bb8c0cbc6df7dd158a5bbd52bfeab00b54c
/3b_baseline_model.py
1985c5a77ca8bb2f9f45614f0909fb076e81d782
[]
no_license
briangriner/ImageCaptioningGeneratorTuning
87fcf3d822b55926742f654bf6e7388438882c98
5a77c3a968d52f0d648dce03f1c98304bb77d848
refs/heads/master
2020-03-27T12:19:35.000961
2018-08-30T19:47:31
2018-08-30T19:47:31
146,539,859
0
0
null
null
null
null
UTF-8
Python
false
false
10,066
py
# baseline model - load, fit, evaluate, test & predict #from os import listdir from numpy import array from numpy import argmax from pandas import DataFrame from nltk.translate.bleu_score import corpus_bleu from pickle import load from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import...
[ "noreply@github.com" ]
noreply@github.com
7495c265ee636029badd517124e4688fa9eeac6d
3e94a711f8bc0d5a8a6d70fda5013310b14f9975
/mysite/settings.py
64b6bd0f8a84b4b4578b6149152368040274aabe
[]
no_license
vikku1998/my_first_blog
2353a0c344378a8e9b62e4b91c39aed7b1c060a0
7cde3d30c46b2e391fac557a243c4b9a7ac81190
refs/heads/master
2020-05-05T01:14:40.503379
2019-04-05T00:27:34
2019-04-05T00:27:34
179,597,160
2
1
null
null
null
null
UTF-8
Python
false
false
3,098
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "vikasguptapaliya@gmail.com" ]
vikasguptapaliya@gmail.com
67c2f2bad890218501268f30b6a3bdd17150a434
b4814899ae86babf5da388ee9302cfe85980d782
/v6monitor/v6monitor/urls.py
1a07bb38aba0bc39f7527e93870c7ff8c1ffefdc
[]
no_license
zhangyuqin/v6web
0f75a7d3549b6a51c9c0ede3e23e68b1dd458e31
07bd8509499bd41d9fe76e13d4fdaa506b8e8697
refs/heads/master
2020-03-23T14:39:23.304602
2018-07-20T09:57:03
2018-07-20T09:57:03
141,690,916
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""v6monitor 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-...
[ "zhangyuqin891218@gmail.com" ]
zhangyuqin891218@gmail.com
3b6229a76d65e8f3ab1edf32738982eb515931f5
f8218e385b9de301c04682c56a682bde537ec9e9
/backend/app.py
db965222943a76f9cd3f912a3760e7386d00a9f2
[]
no_license
theshinymew/FetchIt
acd7ca3034ab86ae318271ab40b516b56284c029
a61e598771636fca3b8bf2acc7afce2305054a6d
refs/heads/master
2023-02-02T01:22:08.176327
2020-12-19T03:59:43
2020-12-19T03:59:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,472
py
from flask import Flask, render_template, request, redirect, jsonify, abort from flask.json import jsonify import requests import json import os import random import boto3 import subprocess from discord_webhook import DiscordWebhook, DiscordEmbed import docker import dockerhub_login import datetime import discord_key a...
[ "thequake@live.com" ]
thequake@live.com
6036931b2e8435d827efe1fce114159d192716b5
6bdd0093bff4978245c97baf0e332f534a76984c
/adam/BlackJack/src/blackjack.py
6ece23fd7806326ce52f2fc5c8a9224ae1401aaa
[]
no_license
Rivia-Team/Python-Coding-Projects
c224971677572bf23e4200587c61278d9c7ae383
dd6f128891830370c897e6f3c1084c602dc0efab
refs/heads/master
2022-09-29T05:25:46.252152
2020-06-03T22:35:09
2020-06-03T22:35:09
264,022,581
1
1
null
2020-05-28T14:07:19
2020-05-14T20:52:26
Python
UTF-8
Python
false
false
7,665
py
""" TASK 18 task 18 - Write a program that plays the game BlackJack with a user. For this exercise you can use procedural or OOP programming styles. Research the rules of BlackJack to ensure your game is authentic. Completed: AP - """ import random class Deck: """ Provides a Class for holding a s...
[ "adaphel@amazon.com" ]
adaphel@amazon.com
b4430a14219c8600437fd78e79b8a92262a17cba
bb4c4adcd13f3d9496d03b47d091aaaba03b4559
/memory.py
9b9fa9fae55801d73766bac08f6ea390ae20524e
[]
no_license
PhamLeQuangNhat/Multimedia
7d4236046e5fbe4acf9433fc9837bc8630f98b85
56ea242d3945b6d93af6d29fa7d1019ce976ea50
refs/heads/master
2022-12-01T20:17:47.580905
2020-08-14T05:24:04
2020-08-14T05:24:04
287,418,097
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
import os textPaths = os.listdir("Data") memory_path = 'memory.txt' for textPath in textPaths: textPath = 'Data/' + textPath Size = os.stat(textPath).st_size with open(memory_path,'a+') as f: f.write(str(Size)+'\n')
[ "18520120@gm.uit.edu.vn" ]
18520120@gm.uit.edu.vn
b008183fe006f0aca84bf0d893aaa5f6ffd24f12
31b7b658ecdf447f0ea73d97ff95725d9fdb2934
/mapper.py
43929bcff92769eccd4c6fd54ed7d3d755d4c94a
[]
no_license
fkoto/getInfo
ce65796e44ea5e7c56b00618812c92b63712e85c
18acf96d4ad6532da5de3982da1642c56a619c4d
refs/heads/master
2021-09-27T03:25:31.364048
2018-11-05T22:41:51
2018-11-05T22:41:51
110,876,809
0
1
null
null
null
null
UTF-8
Python
false
false
7,852
py
class Mapper: def __init__(self, mode, printer): self.mode = mode self.printer = printer def doMappingNode(self, cluster, numOfProcs, ppr): res = [] while True: for nod in cluster.createNodeGenerator(): if nod.exhausted: continue ...
[ "foivos.kot@gmail.com" ]
foivos.kot@gmail.com
2109b2bc169fb2b076bbf069f2ef187f1e7baab8
df328969e8d61a02603374c0cb3450556a51c184
/tests/runtests.py
f0f367a3d3e63c7eff09f034e8fdb67b71a9796e
[ "BSD-2-Clause" ]
permissive
samuderapase/django-comments-xtd
c5dd8641e8ca6933a124ae91377f003dd1dfc7a6
5ac29f5269c18acb1709a35b30de3decff7a59fe
refs/heads/master
2020-12-24T23:49:33.382692
2012-10-17T20:07:09
2012-10-17T20:07:09
6,543,617
1
0
null
null
null
null
UTF-8
Python
false
false
610
py
import os import sys def setup_django_settings(): os.chdir(os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.getcwd()) os.environ["DJANGO_SETTINGS_MODULE"] = "tests.settings" def run_tests(): if not os.environ.get("DJANGO_SETTINGS_MODULE", False): setup_django_settings() ...
[ "danirus@eml.cc" ]
danirus@eml.cc
33b2a2aa18bbbee935cc31f74c837b3e844a3389
3dae98811207c6ec0a9c9bab76d1bf03e53be700
/invent/migrations/0009_auto__add_field_inventoryitem_sold__add_field_inventoryitem_collected.py
28fc084b01809ea7f5aec56c9252890090c7dc5e
[]
no_license
ICMedia/basement
fed8d5fab7fa053c9ae4c6f2697ec00c032d8e19
2e4c405e94ac04b49f9b590551bb9328ba5ab369
refs/heads/master
2020-12-24T15:04:38.290033
2014-11-08T17:03:09
2014-11-08T17:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,283
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 field 'InventoryItem.sold' db.add_column(u'invent_inventoryitem'...
[ "nippoo@nippoo.net" ]
nippoo@nippoo.net
acaa11ed7021123ca2389248a8415e8030132c0e
4f70c8ce38ef2b0a44658a5f987c1984a15ffa63
/scripts/env/customstockenvpred.py
522de77c459543bc646fc0ff1ff73ba5d8bfcf0c
[ "MIT" ]
permissive
vr100/rl-trading
3bc271b3a172e95aa328a4e2fc3876af72177e28
0e3383e383bdfd46c40df65f3c709ba88169153c
refs/heads/main
2023-03-18T14:33:57.441008
2021-02-24T11:41:49
2021-02-24T11:41:49
331,263,244
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
from .customstockenv import CustomStockEnv import joblib from utils import regression, scaler, ensemble_regression import pandas as pd class CustomStockEnvPred(CustomStockEnv): def __init__(self, data, config): super(CustomStockEnvPred, self).__init__(data, config) self.prediction = True self.model = joblib.lo...
[ "vr100@users.noreply.github.com" ]
vr100@users.noreply.github.com
3fe8ff036537802b80f2cee94e06d125a52afddf
78b4dcc55305724ff5df13bc7ccc72593a17eff3
/main.py
581670c5a234bf854c4cfa0074f404b9994d73f2
[]
no_license
CHEESESAMURAI/First
9433de6f3aeb72fa86526e139870f5c6bd1a56c6
871efd591a87b4fad6f2156bc57cf4302caee440
refs/heads/main
2023-04-26T18:24:06.230047
2021-05-13T18:56:02
2021-05-13T18:56:02
367,145,501
1
1
null
2022-11-23T09:09:03
2021-05-13T18:52:51
Python
UTF-8
Python
false
false
7,238
py
import telebot import config import keyboards as kb bot = telebot.TeleBot(config.BOT_TIKEN) a = ['Легко знакомишься с людьми', 'Охотоно и подолгу могу что-нибудь мастерить', 'Люблю ходить в музеи, театры', 'Охотно и постоянно ухаживаю за расстениями,животным', 'Охотно и подолгу могу что-нибудь вычислять...
[ "noreply@github.com" ]
noreply@github.com
c5d1bf9a7413640bee136b5ce74807c4f2af6539
bd8970a094bbe01c9497db089e42e3b0bd15a8c2
/ATAmentee/views.py
1e5b82c75c20813af02475a9e660f584194d7396
[]
no_license
FahmiSyahrulah/pythonanywhere
224a6a3dfb51c648d1e8206cfd24473214f3f0e1
c1cb3e97ef29bce77cca02ad4153b62e406bfdbb
refs/heads/master
2020-04-22T13:54:23.646744
2019-02-13T12:36:55
2019-02-13T12:36:55
170,425,556
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from django.shortcuts import render from .models import Mentee def mentee(request): mentee = Mentee.objects.all() return render(request, 'mentee.html', {'mentees' : mentee}) # Create your views here.
[ "fahmi@alphatech.id" ]
fahmi@alphatech.id
807577bc161b60b2a712520fa1a53290c5709240
326aa0683023218a6e66e21e96d3b988c3fb082c
/workshops/demo15.py
84c61eba9b18cb05560e550564de736f3b47f124
[]
no_license
codemobiles/cm_python_programming
4d96ebbf082725cf6fbe6a39bf42c20e3dea29d7
986d9a8df98cacd1af201d1d3b5a06f6d130c4eb
refs/heads/master
2023-04-07T01:48:28.320093
2021-04-15T05:50:40
2021-04-15T05:50:40
348,199,470
4
0
null
null
null
null
UTF-8
Python
false
false
337
py
# condition if-else data = 1 if data > 3 and data < 5: print("data {}".format(data)) print("data {}".format(data)) print("data {}".format(data)) elif data > 4: print("data > 4 : {}".format(data)) else: print("else data is not > 3") if True: print("a is greater than b") print("Yes") if False ...
[ "chaiyasit.t@gmail.com" ]
chaiyasit.t@gmail.com
a03333e6e8f47eb862a71ef3bd1126e24efd69b5
fa0b0ae3fa60b9ee449ee834176f0eeb2a79fc7e
/django_exercise/wsgi.py
682142ea466b2aa8056c77399a8701152592ef5c
[]
no_license
billjyc/girls_django
ef06564a0ead23aec80a795b0d9b7d9d7ad80339
83b7fef7069a1247fa3a362af6709fbb7a7e64a7
refs/heads/master
2023-09-04T01:32:34.232738
2023-08-31T08:51:53
2023-08-31T08:51:53
107,850,642
2
0
null
2020-09-10T23:58:59
2017-10-22T08:50:48
Python
UTF-8
Python
false
false
408
py
""" WSGI config for django_exercise 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "793746995@qq.com" ]
793746995@qq.com
6cc0888367830a4c28c45168a7f59365643f8178
c72ed9436a6bda257da55ab4a3c5507794dbe57d
/python/hardway/ex20.py
a0d12eafde84bbffc1f80695fa48cd6e8c9d53ef
[ "Apache-2.0" ]
permissive
petervdb/eLearning
c1a5fce2e948f753506f57b6f761d9de3801bde8
81d4039a33e92beb30b6a17eb53024bb259417af
refs/heads/master
2023-07-06T21:40:00.087573
2023-06-29T09:43:18
2023-06-29T09:43:18
24,708,248
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
from sys import argv # variable script is the name of the script script, input_file = argv def print_all(f): print f.read() def rewind(f): # Go to byte 0 or to the beginning of the file f.seek(0) def print_a_line(line_count, f): print line_count, f.readline() # open the file current_file = open(input_file) p...
[ "petervanden@gmail.com" ]
petervanden@gmail.com
c314f2578271d907f2e52586c12ce854f9ad05c1
82fcf7f77d949fce7f1b5f582b0ab28780b4f00f
/psana_mad_scripts/bsub_vid_maker_apr1st.py
82e545841367bd561b08cc65b4663f3cceec2dbb
[]
no_license
dermen/cxid9114_gain
7c74cc218d21eab65bac37757a55f214b57eca12
275679cbe037e1015e7b3fbf0a601aeb591adef6
refs/heads/master
2020-04-11T05:46:41.889879
2019-10-25T22:27:54
2019-10-25T22:27:54
161,559,469
0
0
null
2019-01-22T23:58:20
2018-12-12T23:53:23
Python
UTF-8
Python
false
false
520
py
import sys import glob import subprocess import os rank = int(sys.argv[1]) n_jobs = int(sys.argv[2]) call = int(sys.argv[3]) tag = "_betelgeuse" run_num = 63 all_shot_idx = [int(f.split("_")[1]) for f in glob.glob("results/run63/dump*feb8th.pkl")] for i, shot_idx in enumerate(all_shot_idx): if i % n_jobs != ran...
[ "dermen@lbl.gov" ]
dermen@lbl.gov
4ec08c0d0272f0782639280da6d3436c5ae2f0cd
df2923e0eb688253e551933ca60da359b86aeb7e
/1. Fundamentals/2_ Hash function, Binary tree.py
17f1a97d0c0ef37fadc30891ca1b40854ea9955a
[]
no_license
AdarshRazor/DataScience_Roadmap
349f77cbf767a0886ea9f97e3145742ce346be71
46c8ec5d215a8ecca998c4c0cf73ba870a9e9cc4
refs/heads/main
2023-03-03T15:41:47.046170
2021-02-06T11:41:38
2021-02-06T11:41:38
336,523,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,968
py
'''Function to display hashtable''' def display_hash(hashTable): for i in range(len(hashTable)): print(i, end = " ") for j in hashTable[i]: print("-->", end = " ") print(j, end = " ") print() # Creating Hashtable as # a nested list. HashTable = [[] for _ in range(10)] # Hashing Funct...
[ "adarshanshu7@gmail.com" ]
adarshanshu7@gmail.com
1b002ff27e79f71f469b0ebe1a940084049bd552
52c8d7594de49e3ba47573c50c95bd112c3c8828
/cycles.py
67f8843f2dd44172c7166fbadb936912a45fed0f
[]
no_license
vitroid/LiqChemSummerSchool2014
bcf592be419bccb6e972c11ffff95a7eff355213
23a29acbc13548c702518448f52f0f8336b167e2
refs/heads/master
2021-06-03T10:29:56.428479
2021-02-15T05:34:56
2021-02-15T05:34:56
21,470,973
0
0
null
null
null
null
UTF-8
Python
false
false
3,020
py
#!/usr/bin/env python # coding: utf-8 ############# functions ############################################### #cycles def all_cycles(graph, maxc=6): #local functions def self_avoiding_cycle(graph,vertex_list): #迷走して経路長が長くなりすぎた時は if len(vertex_list) == maxc+1: #あきらめる。(結果なし) ...
[ "vitroid@gmail.com" ]
vitroid@gmail.com
df2939149dae9249395389f61cbe8542413d6f56
02f37410dfd48c7895ce7d1a47f99eb4087ad1f9
/temp.py
75ac00cb6157d138ac0fc393da4a5e0d4d253fc4
[]
no_license
tjczcs/Python-
e58987e0f0b74e773639752ff851e30ef6c82bc2
b842e82d7733da3e96b461ab2447b1e506e260c8
refs/heads/master
2020-03-25T04:19:26.129139
2018-08-06T01:51:42
2018-08-06T01:51:42
143,388,984
1
0
null
null
null
null
UTF-8
Python
false
false
5,591
py
# -*-coding:utf-8-*- import cv2 import numpy import time # 视频图像管理类 class CaptureManager(object): # 类变量前加 _ 代表将变量设置保护变量,只有类对象和子类才能访问 # 类变量前加 __ 代表将变量设置私有变量,只有类对象才能访问 def __init__(self, capture, previewWindowManager=None, shouldMirrorPreview=False): self.previewWindowManager = previewWindowManager ...
[ "tjczcs@gmail.com" ]
tjczcs@gmail.com
e062c0a4d1a6c48d574c1f5205d0a19e1c11e9be
6fff0893ef43f1018d65f2e8e1bf27d9f8accf5b
/pw_package/py/pw_package/package_manager.py
1254121126b21ce292b55127abe72651f6f4487a
[ "Apache-2.0" ]
permissive
isabella232/pigweed
eeb68a4eda6f0a9b5ef0b8145d0204bc9f85bfdc
53c2f3e2569d7e582d3dd3056ceb9b2c3b8197b2
refs/heads/main
2023-06-03T10:32:29.498066
2021-06-17T06:38:15
2021-06-17T20:44:55
378,165,913
0
0
Apache-2.0
2021-06-18T13:54:37
2021-06-18T13:53:40
null
UTF-8
Python
false
false
6,156
py
# Copyright 2020 The Pigweed Authors # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com
30d63cd15b1bc72f4765ecb46b30382c5c8a4899
7989dc9785cff40f1ceb227fdf7349bd4a12a5a7
/api/migrations/0004_auto_20150311_1753.py
d0824d8f7a018b7d92d281dece61d8a88ac4ee79
[]
no_license
shwetareddy/portfolio-performance
81b49e7b3f11866bffbca11490a787bfd18ef316
70b964c1ad4fc8e1df66b9faf11623ec480911a0
refs/heads/master
2020-06-01T01:14:32.168176
2015-03-12T17:01:57
2015-03-12T17:01:57
32,024,118
0
1
null
null
null
null
UTF-8
Python
false
false
357
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('api', '0003_auto_20150311_1713'), ] operations = [ migrations.RenameModel( old_name='Portfolio', new...
[ "sreddy@fool.com" ]
sreddy@fool.com
665c0fbc085f5915e5aefd81391b134168c285aa
687f2bdfc428ef6fba89e3ed279f1c82a0b49aee
/STT_Providres/IBM_STT_Batch.py
2b60047798dbfa912b8d1dca6ee40e6605517d73
[]
no_license
Mozartt/Mozartt
31b8d717f57a597bb402d5dcfae8c0dab39aa3c4
468fbe5f67646f0fbceb381c1c9cac5bbc43a0ea
refs/heads/master
2023-06-21T12:36:56.669003
2021-08-03T08:28:28
2021-08-03T08:28:28
370,615,451
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
from ibm_watson import SpeechToTextV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator import json # the path of the audio file audio_file_path = 'C:/Users/Amit/Dropbox/Amit_and_Pini/ASR/ASR_DOCS/test_audio.wav' # import the credentials from the json file with open('C:/Users/Amit/Documents/ASR_keys/IBM...
[ "gil.tsdk@gmail.com" ]
gil.tsdk@gmail.com
2f0e3e3307bcefb29b7540d2e93132e224097d80
dc67c92b30951166395efae182f3c2efdebdb289
/Tic Tac Toe/boardgames/manage.py
db2471770ac49c4bb3ad84bfad18a15fa7a6ded6
[]
no_license
Ashwaray/Games
9ff2503293ac3e904d3b20bbf54dba529c983c5c
e13603d8f154dc32c06dc97804d49ed8a68a9186
refs/heads/master
2023-02-22T09:19:33.342055
2023-02-05T14:35:26
2023-02-05T14:35:26
27,881,769
10
14
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", "boardgames.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "ashwarayraj@gmail.com" ]
ashwarayraj@gmail.com
cacf8e4d243c0ae83e170bf70a7cc676385aa66c
7ff4d25abbafb2cb377c2f60d4b1fecc5a3821f8
/auth.py
f0120c0c667083921f9ac4f2d1d8479b9f439c5a
[]
no_license
PolyakovDmitry546/Automata-web
19de2a97249af88de036d1ad884507506ad7af99
0f8156b3975632a16908fc86c10705c2688a007d
refs/heads/main
2023-06-10T06:22:26.751062
2021-06-25T16:18:55
2021-06-25T16:18:55
380,290,348
0
0
null
null
null
null
UTF-8
Python
false
false
2,250
py
from flask import Blueprint, render_template, flash, redirect, url_for, request from werkzeug.security import check_password_hash, generate_password_hash from flask_login import login_user, logout_user, login_required from models import User from forms import LoginForm, RegisterFrom from app import db auth = Blueprin...
[ "polyakov1803@gmail.com" ]
polyakov1803@gmail.com
f0e7c0414602a99eb49b99e2deeb7a13c9cef635
1b2a1f807b98034567e936b9b5c76c2fc89b908a
/adj_stf/experimental/classification/multi_label_classification_model.py
6cb7fefe4e9aa02a3c55a5373d8693d745ffdb73
[]
no_license
Adreambottle/Transformer2GP
48c955d8eb155caef4c24a3c03ee3aa9ab0bd3da
5ba1a5005c2ad21066304cdeb1d7c2587c8191da
refs/heads/main
2023-07-07T14:17:51.673437
2021-08-17T14:14:56
2021-08-17T14:14:56
397,279,894
0
0
null
null
null
null
UTF-8
Python
false
false
6,051
py
from multiprocessing import cpu_count import torch from adj_tf import ( WEIGHTS_NAME, AlbertConfig, AlbertTokenizer, BertConfig, BertTokenizer, DistilBertConfig, DistilBertTokenizer, RobertaConfig, RobertaTokenizer, XLMConfig, XLMTokenizer, XLNetConfig, XLNetTokenize...
[ "adreambottle@outlook.com" ]
adreambottle@outlook.com
28ac891f4dc97de93c283c2b0f47b0e0c4e66cb8
508d4568ca9b880068b400c14db0eb411d9d7369
/simple eliza problem.py
d7c224f7c28d745b45bbf736df81f93060f7f328
[]
no_license
aniqabushra/empolyeesalary
e06908c717f57fb006681453b845a73909e7a13d
f50ae92289164f0d55efb07fa2cf31bb011a9d60
refs/heads/master
2020-12-23T21:34:45.439895
2020-01-30T19:15:58
2020-01-30T19:15:58
237,281,533
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
#!/usr/bin/env python # coding: utf-8 # In[2]: message='Good Day' message+=""" Please enter your problem, or enter i am feeling great or Q TO QUIT """ answer= True while not answer=='I am feeling great' and not answer=='Q'and not answer=='q': answer=input(message.upper()) print(answer.upper()) if answer...
[ "noreply@github.com" ]
noreply@github.com
3542fdbcb6b62b7845c262e95eebf59deaed34a4
c6b98c88fc553e709f2fb6fa88c7893c21f47f30
/Exareme-Docker/src/exareme/exareme-tools/madis/src/functionslocal/vtable/filtertable.py
8aefd5f11bf77565f20cc917c11cc39025808ec6
[ "MIT", "Zlib", "LicenseRef-scancode-free-unknown" ]
permissive
LSmyrnaios/exareme
f8a7db17a20958c53bebc25a8e1b4eab96a7570e
9b2b9360f0564d08fc76a56a7a750e2d1074ed4f
refs/heads/master
2022-12-01T07:34:13.667213
2020-11-03T11:32:09
2020-11-03T11:32:09
159,374,117
0
0
MIT
2018-11-27T17:30:47
2018-11-27T17:30:47
null
UTF-8
Python
false
false
3,582
py
import setpath import functions import json registered=True # Filters the input table using the filters argument # For example # lala table : # [1|1[2|tear-prod-rate[3|normal[4|? # --- [0|Column names --- # [1|no [2|colname [3|val [4|nextnode # var 'filters' from select tabletojson(colname,val, "colname,val") from lal...
[ "ezacharia@di.uoa.gr" ]
ezacharia@di.uoa.gr
9fa46651bb8f0be979859066c9049ba3d8a34579
67a65d28662aef0627628fd083e5049074c200c8
/object oriented programming/Employee salary calculator.py
142cf3f9968222fd1a139e2342fcb2941d6ad22e
[]
no_license
techadddict/Python-programmingRG
036e8e5b56e21006a2bca2a5bc7951768a0eba82
dc9c561a655bde232b68de5fb8bfd82230ed49ee
refs/heads/master
2021-01-23T22:30:50.231232
2018-04-20T21:39:21
2018-04-20T21:39:21
102,937,901
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
class Employee: def __init__(self): self._salaryPerHour=0 self._weeklyWorkHours=0 def setSalaryPerHour(self,salary): if(salary > 0): self._salaryPerHour = self._salaryPerHour + salary return True return False def setWeeklyWor...
[ "noreply@github.com" ]
noreply@github.com
350c923c201ad34d0dd0434bf9b4cd5dbae11642
2b0191be789f2ef141062e27f2141b716f5ad5c9
/env/bin/pyjson5
204a342fddaa030b41fe77373e5bda19b9f0ff91
[]
no_license
Team-Dynamic-Niobium/parkinsons
ad8ffd7f2de3fe16c95c429110a6c819b1dd8f0f
d3dfef74da6f9a537b26f5655460179c83bb0dbb
refs/heads/master
2022-10-15T15:51:49.510006
2019-07-17T22:36:34
2019-07-17T22:36:34
196,574,603
0
1
null
2022-10-09T01:03:03
2019-07-12T12:21:02
Jupyter Notebook
UTF-8
Python
false
false
273
#!/Users/michaelsprintson/Documents/GitHub/parkinsonsplayground/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from json5.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ms148@rice.edu" ]
ms148@rice.edu
3772042c0b4673ba18792c1a92a50fa02b13da8c
cc2f2695aed74c038f1203bb4715f4f5afb7095b
/my-django/covidmap/Mapcovid/models.py
603c3b8149c8f3b27b21c567641cc3d377990a02
[]
no_license
LeTuyen-Kami/Django-project
e263c2eb12fb0cad547400bd514f947b951eb4db
5c6e26904998c6ac926b9aaa88fa658bbceb32ce
refs/heads/main
2023-09-05T14:57:08.960834
2021-11-21T10:33:11
2021-11-21T10:33:11
426,536,684
0
0
null
null
null
null
UTF-8
Python
false
false
2,839
py
from django.db import models from datetime import date # Create your models here. class Locations(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=100) code = models.IntegerField(default=0) death = models.IntegerField(default=0) cases = models.IntegerField...
[ "82325497+LeTuyen-Kami@users.noreply.github.com" ]
82325497+LeTuyen-Kami@users.noreply.github.com
6a6db5bece9c1fe854fa2c2c0cd5cb50ecfd16a3
8f162949a6f805fc66cf36bfc4c26506ba65340f
/quote_game_CSV_scrape.py
4216ba7c2159e00de062aabefea446070a64af72
[]
no_license
IterationJN9/Quote-Game-Scraping-Project
904bbbcf4cc9d9125b0a8c3a44e9d78f7b35781b
747f0b8f609ea54bc297f4c5102541fa834322d5
refs/heads/main
2023-06-12T04:03:42.123706
2021-07-04T00:36:38
2021-07-04T00:36:38
382,733,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
# This program grabs data on every quote from the website http://quotes.toscrape.com/ and creates a guessing game. # The player has four guesses to determine who said the quote. # After every incorrect guess, the player receives a hint about the author. import requests from bs4 import BeautifulSoup from time imp...
[ "noreply@github.com" ]
noreply@github.com
54c9a65d15786c181c4f835eedac784926e7b84a
ce745254ee1c55f06c90b2c0739a4db29efa9913
/src/test/python/cpython-3f944f44ee41/Lib/warnings.py
a427e3510ecaaa6dadeb2a4e957bb6d4880576c7
[ "MIT" ]
permissive
bkiers/python3-parser
5deb0c681e42b07d459758d864fd0689bf26dbad
5a7e097f2dba8d38fa41ebfc95c8bdf4da3042dd
refs/heads/master
2022-10-31T22:02:07.484767
2021-11-17T09:31:49
2021-11-17T09:31:49
20,738,250
39
25
MIT
2022-12-13T08:42:28
2014-06-11T19:34:28
Python
UTF-8
Python
false
false
13,725
py
"""Python part of the warnings subsystem.""" import sys __all__ = ["warn", "showwarning", "formatwarning", "filterwarnings", "resetwarnings", "catch_warnings"] def showwarning(message, category, filename, lineno, file=None, line=None): """Hook to write a warning to a file; replace if you like.""" ...
[ "bkiers@gmail.com" ]
bkiers@gmail.com
0220e4324e593765de6581687f97872b9f27d187
42bdc0a13d05ff64ff1963eea52a4fb26a498618
/scripts/education/bluetooth/rfcomm-server-sdp.py
9cff3409deca81db2d5fa5378fe46761d00fa7ca
[]
no_license
AndrewGrankin/public-python-ev3-git
999df2f3380af91545145ca695f485f6b001a513
6fc9c6c1733eb8a6256b726019fbccca33ead6af
refs/heads/main
2023-08-24T20:49:00.313436
2021-11-05T21:38:57
2021-11-05T21:38:57
351,517,922
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
#!/usr/bin/python3 from bluetooth import * #from ev3dev2.sound import Sound #speaker = Sound() server_socket = BluetoothSocket( RFCOMM ) server_socket.bind(("",PORT_ANY)) server_socket.listen(1) port = server_socket.getsockname()[1] print(server_socket.getsockname()) print("Listening on port:", port) uuid = "ffff" ...
[ "andreygrankin@gmail.com" ]
andreygrankin@gmail.com
28b1c77ecff929be307f8f20e939b604c222d23f
3819fb04de99d68faee220a4d0dfddef2621cee4
/Code/Codeforces/315A.py
16183046b52145a7322fe2c07e624482cbeadf54
[]
no_license
aroslhy/acm
4a41e46099e2dbcf596c04e5f351f51465967598
26d1784e65d7513bc58549cf6d1b3926adc538ff
refs/heads/master
2021-01-22T06:54:26.587202
2015-07-20T11:11:53
2015-07-20T11:11:53
5,214,096
1
0
null
null
null
null
UTF-8
Python
false
false
139
py
N = input() a, b = zip(*[map(int, raw_input().split()) for i in xrange(N)]) print len([i for i in xrange(N) if a[i] not in b[:i]+b[i+1:]])
[ "aroslhy@gmail.com" ]
aroslhy@gmail.com
1657f47f0d775612c12560663e94a60de071eab1
7d096568677660790479d87c22b47aae838ef96b
/stubs-legacy/System/Diagnostics/__init___parts/DebuggerBrowsableState.py
43d462d3dfbd7bf6c6f0f09f2a3384a2c0254e67
[ "MIT" ]
permissive
NISystemsEngineering/rfmx-pythonnet
30adbdd5660b0d755957f35b68a4c2f60065800c
cd4f90a88a37ed043df880972cb55dfe18883bb7
refs/heads/master
2023-02-04T00:39:41.107043
2023-02-01T21:58:50
2023-02-01T21:58:50
191,603,578
7
5
MIT
2023-02-01T21:58:52
2019-06-12T16:02:32
Python
UTF-8
Python
false
false
999
py
class DebuggerBrowsableState(Enum,IComparable,IFormattable,IConvertible): """ Provides display instructions for the debugger. enum DebuggerBrowsableState,values: Collapsed (2),Never (0),RootHidden (3) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """...
[ "sean.moore@ni.com" ]
sean.moore@ni.com
4bb5fe491298503041491de635624ead25c64fe4
55fb8b448831a0aee6b7f5ff050616da3eee9f8d
/network/AI_net.py
110b24c5fd1cf3bd76cffdc1aacbb1cd8d08ede8
[]
no_license
xsir317/Renju-AI
0f502ab9bab278e0601377004513c8596a465223
92350f0a99a9adcfb4617ebc872c9120a3f02569
refs/heads/master
2021-05-31T17:42:44.153725
2016-06-29T13:12:45
2016-06-29T13:12:45
114,357,155
0
1
null
2017-12-15T10:12:54
2017-12-15T10:12:54
null
UTF-8
Python
false
false
13,424
py
#!/usr/bin/python # -*- coding: utf-8 -*- # author: <yao62995@gmail.com> import os import re import simplejson as json import tensorflow as tf TOWER_NAME = "tower" def weight_variable(shape, stddev=1.0, name=None): initial = tf.truncated_normal(shape, stddev=stddev) return tf.Variable(initial, name=name) ...
[ "yao62995@gmail.com" ]
yao62995@gmail.com
176946ec4f99ab6eea1b770a09a582e57ac29f27
0e57fc12387e055428245ab7cd55646e58c89b41
/web_project/urls.py
58ae8a802b4415e40c5ccde0598b72972398491c
[]
no_license
Igor-Savchenko/hello-django
de8b93380f540fc17ec00654980c5ca4086f6520
db85a9c4d15796fa71b06227e6af8ae2ea7e0684
refs/heads/master
2021-06-11T23:34:38.721222
2019-04-17T06:52:37
2019-04-17T06:52:37
181,812,460
0
0
null
2021-06-10T21:22:19
2019-04-17T03:44:10
Python
UTF-8
Python
false
false
914
py
"""web_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "savchenko.igor@gmail.com" ]
savchenko.igor@gmail.com
587300ad805ea0dc3e53c6f2b15f2d3e10d21ab2
47f592a261814079e0a32765b9c1a9e2139677d4
/SConstruct
ee455a79f40f6175308efd2f5995e76e1090313c
[]
no_license
ctalbert/pow-wow
75a6bd83c6fcea79c4abed10dffa36364cbde601
fb9e48a633a121bb08284ce1821eb6fb48e2a2ea
refs/heads/master
2020-12-25T02:01:05.999815
2011-04-14T07:28:31
2011-04-14T07:28:31
1,601,731
0
1
null
null
null
null
UTF-8
Python
false
false
2,083
import sys import os # TODO: I'm quite certain the Configuration settings can handle this, but # I can't seem to make it work, so punting for now... def is_mac(): if sys.platform == 'darwin': return True return False def is_linux(): if sys.platform == 'linux2': return True return Fals...
[ "ctalbert@mozilla.com" ]
ctalbert@mozilla.com
4101a414bc81a6855c23bcb597e440b747bd1411
fa64d67d9a0eef7c25010942b46a504955e902ab
/oldboy/day3/day3_zuoye/backgroud/__init__.py
2bc47e6890ff75b795a56b1180626e243b1a7938
[]
no_license
eehello/learn_python
b22989c005715c236e212f3796eda5c6ab16232a
172056f050bc61747b26b5973f5982ce1291918c
refs/heads/master
2021-01-18T22:05:14.190746
2019-07-17T07:24:12
2019-07-17T07:24:12
42,077,078
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
#!/usr/bin/env python # coding=utf-8 ''' # @Created on : 2016/04/17 11:39 # @Author : ldf (ldf@eehello.com) # @Link : http://www.eehello.com # @Version : # 本程序在python2.7下测试通过 '''
[ "ldf3699@qq.com" ]
ldf3699@qq.com
da2d02b896509df95c30e65c5bf1e3d25ed7b51d
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/watttime/config_flow.py
4f4206da6ec6ff93b3340a48f97d4137be234a68
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
8,742
py
"""Config flow for WattTime integration.""" from __future__ import annotations from collections.abc import Mapping from typing import TYPE_CHECKING, Any from aiowatttime import Client from aiowatttime.errors import CoordinatesNotFoundError, InvalidCredentialsError import voluptuous as vol from homeassistant import c...
[ "noreply@github.com" ]
noreply@github.com
53ac1fa969c7ae89fdc5b25d04b9d4a2285eb25f
c5720e05c11f5dd40805f4fdacc1101f56952cf9
/test/cythoncompile.py
f3ffbce56c20df7d0049f65ea8465e42b82c7ee9
[ "MIT" ]
permissive
minhtuan221/cython-npm
cacd20492e5170e3369047ecd8d2942d8c734160
ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c
refs/heads/master
2021-06-05T18:12:44.957501
2021-04-29T02:28:23
2021-04-29T02:28:23
123,369,725
6
1
null
null
null
null
UTF-8
Python
false
false
6,132
py
import subprocess as cmd import os import sys from importlib import reload def hello(): print('import successfully') def write_setup_file(listfile: list): if not os.path.exists('build'): os.makedirs('build') onefile = open('build/setup.py', "w") onefile.write('from distutils.core import setu...
[ "ntuan221@gmail.com" ]
ntuan221@gmail.com
e37361d90c5b971bc11ccefd99bfcf9e7985d8db
2c7acdc47880bcb9b4862dd5ec621a5ffcd2c25f
/ProblemSet6/ps6.py
976b01c0947266034090cb8a4124f49eaef3ddbb
[]
no_license
draconar/MITx-600x
023b772b76fcac67e8064d97a62f8d3dab1eb86d
d37422bd2c955f6d3920bad85faf61ab3accde53
refs/heads/master
2020-12-11T09:22:23.367333
2013-07-03T09:27:44
2013-07-03T09:27:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,881
py
# 6.00x Problem Set 6 # RSS Feed Filter import feedparser import string import time from project_util import translate_html from Tkinter import * #----------------------------------------------------------------------- # # Problem Set 6 #====================== # Code for retrieving and parsing RSS feeds # Do not ch...
[ "oleksii.savochkin@globallogic.com" ]
oleksii.savochkin@globallogic.com
be37c8273bdbe38abf2738a8a9cba388af53ba3d
c62e8909e7223a93ebab218588f766e290ead07c
/math_clases.py
04de90122c700441cbd56da9a23f24dc1193bd06
[]
no_license
T0biasLJ/Mis_practicas
1692594aa8bc52d7ca10c9a9d1135292e82aa3fe
a6b2dbd78bab46945f18521c64e78622689d8e18
refs/heads/main
2023-01-10T21:48:12.645128
2020-11-04T00:17:54
2020-11-04T00:17:54
303,260,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
import math class Operacion: def __init__(self,numero): self.__numero=numero def floor(self): a=math.floor(self.__numero) return f"{a}" def ceil(self): b=math.ceil(self.__numero) return f"{b}" def raiz(self): c=math.sqrt(self.__numero) ...
[ "luisjair1394@gmail.com" ]
luisjair1394@gmail.com
ba1dcb17a6e7d524f9f07edc2b67b588720faaad
c25a17f0f82c2eebca55bbe180f4c2ccbbf00292
/01_Jump_to_python/Chap06/6장_practice/practice4_메모장.py
786b7b2f7c82951b7ad1f09ccb24176b86c390b9
[]
no_license
superbeom97/jumpjump
a0a4da6f0df0483ef0cef9833b5fe0402ec63c9c
fc45efce2a2b00c614aa5aa54b36be1572ed40ce
refs/heads/master
2021-09-15T09:35:16.903857
2018-05-30T00:00:59
2018-05-30T00:00:59
111,883,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
import sys args = sys.argv args_one = args[1] args_two = args[2:] if args_one == "-a": try: f = open("memo.txt", 'r') f = open("memo.txt", 'a') f.write(" ".join(args_two)) f.write("\n") f.close() except: number = int(input("memo.txt 파일이 없습니다. 아래 중 선택하세요\n1. mem...
[ "beom9790@naver.com" ]
beom9790@naver.com
07b293d229357fb7a30af429f26cc27c3258bcc2
a7fd2ed77661ed0e32d75678bdfbb448a4b1a38d
/ABC/ABC169/E.py
83299df85f453d27cbba2a130895d08c020b6e77
[]
no_license
Rikuo-git/AtCoder
218a976a96f961371f4c1f4a8bf0e4ef7a78e09c
e7fe5db837acba11aed890181d429517c0f4bedc
refs/heads/master
2023-03-03T10:07:09.825074
2021-02-15T11:37:10
2021-02-15T11:37:10
266,530,674
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
# my solution import numpy as np (n,),*l = [[*map(int,i.split())]for i in open(0)] a,b = np.median(l,axis=0) if n%2>0: print(int(b-a+1)) else: print(int(b*2-a*2)+1) # 奇数の時は中央値の間、偶数の時は中央値の間かける2倍 # shortest fsdshn 数学的にやっていることは同じ n,*l=map(int,open(0).read().split()) m,M=sorted(l[::2]),sorted(l[1::2]) d=n//2 print...
[ "rikuo.takahashi@keio.jp" ]
rikuo.takahashi@keio.jp
33e0b4d5228e326d0aedb905b12119ac34a50959
c7f6551c38a505d3cc05906ba07aba01fd854e3c
/videorequest/urls.py
4fb2dbf777c3b3223deed420a52efedea9243d4f
[]
no_license
ash264/Video_Request
35565a94842b14e8a604470922f91198a2f39c89
ba7d13a8e02108aaf7bc60caed30e72e03349aae
refs/heads/master
2020-04-30T11:08:28.376415
2019-03-20T18:31:36
2019-03-20T18:31:36
176,794,313
1
0
null
null
null
null
UTF-8
Python
false
false
157
py
from django.urls import path from . import views urlpatterns = [ path('',views.index,name='index' ), path('vrform/',views.vrform,name='vrform' ), ]
[ "ashishsharma8445@gmail.com" ]
ashishsharma8445@gmail.com
e67af2421558b2a196f0c5584ac66fb0e1dd4252
8f0fc0f4ac44e85e87ade78ac3f8d3b1996587e5
/Model_1.py
ae103fcd74ce05a1803a2d225dbbde006b88ee19
[]
no_license
Data-drone/Kaggle_Allstate
91bc9d2400866f58813f4ba6f04009647d90fd0a
70b7f63eefea55ec9f0c8da6217b7f9ee8f12e76
refs/heads/master
2021-06-30T09:57:59.864482
2017-09-21T17:48:43
2017-09-21T17:48:43
74,899,326
0
0
null
null
null
null
UTF-8
Python
false
false
3,111
py
# -*- coding: utf-8 -*- """ Created on Tue Nov 29 23:23:27 2016 @author: Brian """ """ Build model 1 script """ import os import pandas as pd import numpy as np """ feat table_1 """ #### standard functions def Find_Low_Var(frame): sizes = [] low_var_col = [] for column in frame: data_sets = fram...
[ "bpl.law@gmail.com" ]
bpl.law@gmail.com
84a794a292b2406e19b1ccb185eeb074c0012457
fcc1904070a6dd362d78bfa990237b346761b92d
/classifier/evaluation.py
a0fbd54bc4e872166bd73577b453e03ea311a83b
[]
no_license
VivekVinushanth/H1N1Prediction
46c69e51c2641aa37543de51d8152e8564e114f1
34b30c94000b2c1e4dd94c370221291aa783a377
refs/heads/master
2022-11-08T17:24:16.158111
2020-06-17T02:41:32
2020-06-17T02:41:32
259,828,755
0
1
null
2020-05-26T11:07:17
2020-04-29T05:01:13
Python
UTF-8
Python
false
false
3,620
py
"""Class to compare performance with different classifiers""" import sys from matplotlib import pyplot from numpy import sort from sklearn.feature_selection import SelectFromModel from xgboost import plot_importance sys.path.append('../../') # sys.path.append('/content/Modified-Geometric-Smote/') import numpy as np i...
[ "cvivekvinushanth@gmail.com" ]
cvivekvinushanth@gmail.com
809f4d6ccf437d7238587f4e5b97d6647aa4658c
020a43e781c19f0e6177c0b1be2a4ad75fb9bfbf
/wce_triage/bin/fanout_copy.py
e7ea4771895bd222f221c8b6bdf34986c32451cd
[ "MIT" ]
permissive
ntai/wce-triage-v2
f2a29a93656647eb21c166d260daf3cd8560864e
108802602ab8495b388fc2c8a395608233e19eed
refs/heads/master
2023-08-02T16:25:29.311539
2023-04-08T03:11:38
2023-04-08T03:11:38
187,088,190
3
2
MIT
2023-07-20T15:04:06
2019-05-16T19:20:48
Python
UTF-8
Python
false
false
11,098
py
#!/usr/bin/python3 import io import os, sys, datetime, json, traceback, signal, stat import threading from ..lib.util import init_triage_logger from ..lib.timeutil import in_seconds from ..ops.run_state import RunState, RUN_STATE import queue import time import multiprocessing as mp import typing start_time = datetime...
[ "ntai@cleanwinner.com" ]
ntai@cleanwinner.com
5ece09a66651f14e112290e2171b899807864bf6
9a15949a43a7be898e59b8b10abedd579689eb5e
/tests/test_flatten_dict.py
00b559ac428300d48aa5da8ae1f34b763a3a34ce
[ "MIT" ]
permissive
Yursksf1/flatten_dict
8c9bde931bd3d6b94fa13bb4afaf1db04c82382f
320c5f0928de79c1be1aa1d34a9669e8c8ef69cd
refs/heads/master
2021-04-06T13:38:52.393538
2018-03-10T17:29:21
2018-03-10T17:29:21
124,680,150
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `flatten_dict` package.""" import pytest from click.testing import CliRunner from flatten_dict import flatten_dict from flatten_dict import cli @pytest.fixture def response(): """Sample pytest fixture. See more at: http://doc.pytest.org/en/latest...
[ "yurs.ksf1@gmail.com" ]
yurs.ksf1@gmail.com
72fc1a317ee3b707d2fef08890547c6b90581c43
2a4e7362819b725cb905c171f0bd69e922f2f71a
/python-venv/bin/rst2pseudoxml.py
8c85e1a688a7e630f5b8bcf434873de264b40aa4
[]
no_license
adityagc/CS-109-Data-science
e1aac95c5216d28fce42ca35efa4c115c5bf56b6
359e200f6ef3d5232608306c4b30841727514a00
refs/heads/master
2022-11-15T20:57:51.662164
2018-07-15T15:52:50
2018-07-15T15:52:50
135,188,380
0
2
null
2022-11-03T16:22:52
2018-05-28T17:04:33
Python
UTF-8
Python
false
false
651
py
#!/home/adityagc/Desktop/CS-109-Data-science/python-venv/bin/python2 # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing pseudo-XML. """ try...
[ "adityagc@gmail.com" ]
adityagc@gmail.com
0542dc916639c2fb025ff5eb44279db0e818d2b5
90800bf5a7f29a358e3346149402c55022d14445
/NmapScan1-test.py
41f3b2a22979eabb47540ff99f264b9f10230863
[]
no_license
ZhaoxuepengS/NmapScanner
7ebc35cd0151213313cae5a721ad86057a463494
b77ace39f326733a4655e19c4474a24beebb98a5
refs/heads/master
2021-07-24T18:18:40.607003
2017-11-01T11:45:19
2017-11-01T11:45:19
109,124,564
0
0
null
null
null
null
UTF-8
Python
false
false
9,078
py
#-*- coding:utf-8 -*- __author__ = 'Zhaoxuepeng' import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.application import MIMEApplication from email.header import Header from logging.handlers import RotatingFileHandler import nmap import time import xlsxwrit...
[ "495149700@qq.com" ]
495149700@qq.com
ad0646d8b6725f5fb875510a1944d2a4c900e23d
c89e59b4d018e8a2d7dc0dbc3bb7a3768024f849
/before2021/python/문제풀이/day5/3_숫자카운팅.py
a21ba81101844a7fb5f88a171cfd12bc1c5fbafa
[]
no_license
leeiopd/algorithm
ff32103a43e467a5a091257cc07cf35365ecbf91
e41647d3918c3099110d97f455c5ebf9a38d571e
refs/heads/master
2023-03-08T23:46:34.919991
2023-02-22T09:39:46
2023-02-22T09:39:46
166,131,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
import sys sys.stdin = open("3_input.txt") ''' 첫째 줄에 N 이 입력된다. (1≤N≤200,000) 둘째 줄에 배열에 저장 되어있는 N개의 숫자가 순서대로 공백으로 구분되어 입력된다. 셋째 줄에 M 이 입력된다. (1≤M≤200,000) 넷째 줄에 M개의 탐색할 숫자가 순서대로 공백으로 구분되어 입력된다. (이 숫자는 정렬 되어있지 않다) 입력 넷째 줄에서 주어진 탐색할 숫자의 배열 내 저장된 개수를 차례대로 출력한다. ''' N = int(input()) arr = list(map(int, in...
[ "leeiopd@hanmail.net" ]
leeiopd@hanmail.net