blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ebb92d7727331db9899f944ce8fcec0036c38394
311d37405915af4372ca19c62a654311afdb9b12
/kindle.py
7ab3c64f47302d2ea8fcbf55c28ff2305a28b027
[]
no_license
ypcat/selection2kindle
a4f76c902bbb5c73c32d24cb6960de0aedc92140
f696587c495eab09aa2330841b1636fce3c5900b
refs/heads/master
2016-08-05T15:04:20.836976
2012-02-08T08:47:32
2012-02-08T08:47:32
3,385,051
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
#!/usr/bin/python """ Dependency: web.py, mod_wsgi for apache(optional) Add to /etc/apache2/httpd.conf: WSGIScriptAlias /kindle /home/kindle/cgi-bin/kindle.py AddType text/html .py <Directory "/home/kindle/cgi-bin"> Order deny,allow Allow from all </Directory> LimitRequestLine 327...
[ "ypcat@eumacro.csie.org" ]
ypcat@eumacro.csie.org
0c360ddba429c34b90b83b657b50a0750baf65d9
dc7a4fec5373cf28a88dff2f194c54cabc28e6ed
/inheritance/exo1.py
dfd7edffb3781b9537b86f3d83408bd8aae0bb3b
[]
no_license
debolina-paul/opp
dba3e20cffb5f3481b043c696833bbfc915ca565
ff96c5d13019b38556199cace083675e04ebfc51
refs/heads/main
2023-02-28T07:11:48.941094
2021-01-22T11:26:22
2021-01-22T11:26:22
331,924,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
class formulaire : def __init__(self, nom, prenom, naissance): self.nom = nom.upper() self.prenom = prenom.upper() na = str(naissance) if na.isnumeric(): self.naissance = int(na) else: self.naissance = 1900 def age(self): return 202...
[ "noreply@github.com" ]
debolina-paul.noreply@github.com
12ab92fe92f04ccc4d6b478dc5aed20344aadfb4
724adbdf27a6c200a7f76530ac8dccace04aaf1e
/demo/day03/dict_demo.py
be812b3b927fbe53b9058aa870c20622a428f1d8
[]
no_license
qianxun123/gy-1908
5d65b82c3d08515feafc42be65bfb2773f1134c5
f4f1aaafe5950322056efdeb090052dd54db9314
refs/heads/master
2020-07-22T12:50:26.992634
2019-09-09T02:52:54
2019-09-09T02:52:54
207,207,313
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #__title__ = '' #__author__ = 'cuicl' #__mtime__ = '2019/9/6' '''21 key:value key唯一 ''' # 增 # 初次创建 a = {} a1 = {'name':'小七','sex':'女'} # 新增一对数据 a1['age']= 21 a1['high'] = 170 print(a1) # 删 # 删除key print(a1.pop('high')) print(a1) del a1['sex'] print(a1) print('---------...
[ "you@1570104760@qq.com" ]
you@1570104760@qq.com
e1dee49a14067807a2a659197ce76a63a98252dd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/40/usersdata/68/19112/submittedfiles/funcoes.py
ba6a46880a5b2a250478615ce64169b4cf2b8ded
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
# -*- coding: utf-8 -*- from __future__ import division #Fatorial def fatorial (m): m_fat=1 for i in range (2,m+1,1): m_fat=m_fat * i return m_fat #Pi def calculaPi (m): soma_pi=0 j=2 for i in range (0,m,1): if i%2==0: soma_pi=soma_pi+(4/(j*(j+1)*(j+2))) else...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6f62c412dffa6b2e43cbfa7cfab27d02a7ab7447
8a1bd59c154219d1659b94ec0bcf993ee881f9ad
/eyes/ml/lf.py
adcf4b3618dbff423c6aef124835ef77e97cb884
[ "MIT" ]
permissive
r05323028/eyes
f4bb109088389cef397f2eecc3abca2fd3a59e31
4af213fe760516b1daac608758742862ed848d7f
refs/heads/main
2023-05-22T13:37:23.194703
2022-08-06T04:52:19
2022-08-06T04:52:19
392,558,472
74
11
MIT
2021-11-20T13:58:39
2021-08-04T05:17:30
Python
UTF-8
Python
false
false
1,853
py
'''Eyes label functions module ''' import logging from collections import defaultdict from typing import Dict, List from rich.logging import RichHandler from skweak.base import CombinedAnnotator from skweak.gazetteers import GazetteerAnnotator, Trie from sqlalchemy.orm import Session from eyes.data import Entity from...
[ "r05323028@ntu.edu.tw" ]
r05323028@ntu.edu.tw
85a03948d73fb6da7bb5971e4656c447cd98e5a5
0d8c7561415aaf9a0ba5e5b71c6063f05bb57144
/test/RealtimeIdentification.py
135abd0e31976dedbf0beb20777d7983e2fdbba7
[ "MIT" ]
permissive
lee2015new/MTCNN-Tensorflow
36d1bfb03aa66723eb65cc30daa6196b5cfdebff
7ccc6fc55f3109343788750769fe1625c19dbd82
refs/heads/master
2020-04-14T16:28:05.254739
2019-01-11T02:34:47
2019-01-11T02:34:47
163,952,552
0
0
null
2019-01-03T09:36:36
2019-01-03T09:36:36
null
UTF-8
Python
false
false
11,598
py
import sys sys.path.append("../") import tensorflow as tf import numpy as np import argparse import facenet import os import sys import math import pickle from scipy import misc from Detection.MtcnnDetector import MtcnnDetector from Detection.detector import Detector from Detection.fcn_detector import FcnDetector from ...
[ "liwei63@jd.com" ]
liwei63@jd.com
b2aeacc112522eb206951a21001e6b857999839f
14e6c111673bb2c61f8096ee26d7dd5ed74b1d0d
/django_pages/context.py
8027d9a2d965c95eef8438eb4e13a94f14c747e8
[ "BSD-3-Clause" ]
permissive
lunemec/django-pages
bdd17f11c3772185e4011e31e4879396b80a930d
caed40f9275919b81417924550e7bcfdc7c5ffbf
refs/heads/master
2020-07-02T00:41:25.893107
2018-11-11T13:00:30
2018-11-11T13:00:30
11,526,719
3
2
null
null
null
null
UTF-8
Python
false
false
988
py
# -*- encoding: utf-8 -*- from .language import get_language, get_languages from .menu import get_main_menuitems, has_other_menu, get_other_menuitems from .metadata import get_metadata from .pages import get_index_page from .site import get_site, get_scripts def pages(request): """ Context processor that add...
[ "lu.nemec@gmail.com" ]
lu.nemec@gmail.com
53a9adc8d8f8b4ad2a95b1dc722a4068ce17fa88
eb739d9c55e974e9288dcdc9248f3dac63180363
/SPM.py
34285d5f46a9184282da0d6ea5a4a669e76b478a
[]
no_license
ThisIsBen/LASS-Sequential-Pattern-Mining-for-Consequent-Pattern
957e8187f87667cf59376d2341af35fb3e286936
2e7bdc0493ee8a7c10f02581efd58b8e5f622a56
refs/heads/master
2021-01-21T17:14:06.286386
2017-06-21T14:59:21
2017-06-21T14:59:21
91,944,267
1
1
null
null
null
null
UTF-8
Python
false
false
13,449
py
#!/usr/bin/python3 ''' _msg_monitors = """ air monitors in Tainan City: (id) airbox 74DA38AF489E 74DA38AF487A 74DA38AF4842 74DA38AF482E 74DA38AF4812 74DA38AF479A 74DA3895E068 74DA3895E04C 74DA3895DFF6 74DA3895C39E ...
[ "noreply@github.com" ]
ThisIsBen.noreply@github.com
2546e39b763ccbbb1261c64dc52b2e08d7bbb98a
2d34a6033884b22e41588c82ebe657546aef07c7
/project/blog/models.py
bd36137f7fcbaa6e71aa0e0c0466252f28047d4d
[]
no_license
alifanov/jbm_boilerplate
73c6c5f394f20a851e860328847d2ac45a174d6f
7012885dbf1455c2ca2abf849bd36685c4a58286
refs/heads/master
2020-04-03T16:18:35.760013
2018-11-21T09:48:11
2018-11-21T09:48:11
155,399,665
1
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
from django.db import models from django.dispatch import receiver from channels.layers import get_channel_layer from asgiref.sync import async_to_sync class TimeItem(models.Model): created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) class Meta: a...
[ "lifanov.a.v@gmail.com" ]
lifanov.a.v@gmail.com
082ca97e0e3d3db0369d19d460798b5ad7554925
377518a1e9b4736009dbc997b9c2ebddc0a146bb
/jz30.py
9f91886f95ae722faa9316aa3a46c8834adaab7d
[]
no_license
Steven5678231/JianzhiOffer
b4575b4048386fca479a5fc74275ac8c35e384c0
5434d263d270a0ee108eb2447f2876e5af07067a
refs/heads/main
2023-03-16T10:32:02.321803
2021-03-12T11:27:32
2021-03-12T11:27:32
329,522,891
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# -*- coding:utf-8 -*- class Solution: def FindGreatestSumOfSubArray(self, array): # write code here f = [0]*len(array) if len(array) < 1: return 0 if len(array) < 2: return array[0] f = [i for i in array] for i in range(1, len(array)): ...
[ "53145087+Steven5678231@users.noreply.github.com" ]
53145087+Steven5678231@users.noreply.github.com
d2807766442c8de2ee23a2b0a79a5f75b3617f38
c98b383eeef0e7c12504270fe92071569fec9736
/testMe/testone/tests.py
24714ddf88517e0cfc1a201200d9e36cd5ef85fd
[ "MIT" ]
permissive
MyHiHi/test
088048117346b81f7c51fadc00cce4d3f21496ac
0cedfbbfad53021569faef933b9fdff20e897617
refs/heads/master
2020-03-09T02:10:03.949154
2019-06-12T09:44:42
2019-06-12T09:44:42
128,533,935
2
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
from django.test import TestCase import requests def get_json(url): headers = { "Host": "www.lagou.com", "Connection": "keep-alive", "Origin": "https://www.lagou.com", "X-Anit-Forge-Code": "0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gec...
[ "909535692@qq.com" ]
909535692@qq.com
62fb5c6f1c5adc71fa63161b1e1b3f9277fbc5be
8c1213dec0be90a1ef3e46f767f626acb22be4b8
/appointments/apps/appointments/migrations/0001_initial.py
f509655e0d76e3902bf7632a2d72815446d72f49
[]
no_license
ccunnin8/django
6d43de7e151f85469f31a0e5da6dc02dfd5101fd
11f8afb0a787789a24746acf5f1bfe0f4c24e99a
refs/heads/master
2022-12-12T11:22:04.415053
2018-11-13T19:31:00
2018-11-13T19:31:00
124,255,284
0
0
null
2022-12-08T00:45:36
2018-03-07T15:24:56
Python
UTF-8
Python
false
false
989
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-04-18 14:57 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('users', '0001_initial'), ] opera...
[ "coreyjjc@me.com" ]
coreyjjc@me.com
a5730a06cdd677e469370c44373f06213a0c3202
1498b25e58c9b8b2d397c092fd6771c88e08b586
/doc/source/conf.py
dfdc1e8be76270718e6eb214792ba30d2c153c56
[ "Apache-2.0" ]
permissive
eriknyquist/bfi
10351af5c19d0a8510afda5d84448ea9c46da0c4
7f0f8c6451f7afb3d1b7d02a597f7ae17f5f85d9
refs/heads/master
2022-07-06T20:02:25.699654
2022-06-05T23:33:01
2022-06-05T23:40:10
91,935,827
7
2
null
null
null
null
UTF-8
Python
false
false
4,800
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "eknyquist@gmail.com" ]
eknyquist@gmail.com
912ecec536756f81e62fe149ad3c824a907c5faa
d6bb1e0dd2f10d2370d0ed90a78700f3b271fbfd
/job_match/admin.py
6e4c4fd39a7444f90560a5c69e82309c82f073db
[]
no_license
xuefeng-huang/jobMatch
80ad4294f6ae5e98ccf17cd126997660b8fef140
21546d58611d2a8f8c063dd6ea0cee4b911699de
refs/heads/master
2021-01-01T05:05:12.001507
2016-04-26T09:33:03
2016-04-26T09:33:03
57,006,495
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.contrib import admin from models import Writer, Publication admin.site.register([Writer, Publication])
[ "timhxf@gmail.com" ]
timhxf@gmail.com
b727cabcd9bd3806c071a7cd260842269b8aba0a
fa7e75212e9f536eed7a78237a5fa9a4021a206b
/MASIR/python/masir/utils/webprivacy_gather.py
1cc02f6f1aa6fb7dd5e9c09160e708d3db64575e
[]
no_license
kod3r/SMQTK
3d40730c956220a3d9bb02aef65edc8493bbf527
c128e8ca38c679ee37901551f4cc021cc43d00e6
refs/heads/master
2020-12-03T09:12:41.163643
2015-10-19T14:56:55
2015-10-19T14:56:55
44,916,678
1
0
null
2015-10-25T15:47:35
2015-10-25T15:47:35
null
UTF-8
Python
false
false
2,728
py
# coding=utf-8 import bson import datetime import logging import os import urllib2 from masir.utils.SimpleBoundingBox import SimpleBoundingBox def wp_gather_image_and_info(output_dir, db_collection, region_bbox): """ Gather the imagery and metadata (as BSON) from the webprivacy database to an output dir...
[ "paul.tunison@kitware.com" ]
paul.tunison@kitware.com
e18e58f2087dcdc2ec2b67d90bf03e1694885de1
b5b24b9861f7baf90aae4ef6ae21bf03cbc7939b
/Practice_4Aug2021/application.py
9d0b36c9cc5d988d80e766b2ee1dc840dab16927
[]
no_license
KashifaSk/PracticePy
cc52330e73b84e0bcbdc58a0326a7c7ccfbd5fa3
cafff1fc65ee42f1796c3e7969732d3b87ab67c4
refs/heads/master
2023-07-26T14:29:44.197787
2021-09-09T07:40:12
2021-09-09T07:40:12
403,882,005
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from time import sleep def is_windows(): sleep(5) print('Windows') return True def get_op_sys(): return 'Windows' if is_windows()==True else 'Linux'
[ "kashifa.nibras@gmail.com" ]
kashifa.nibras@gmail.com
3c2e2d353cbbce71f6839c272c8aec8f4b16215a
76e931912629c37beedf7c9b112b53e7de5babd7
/3-mouth04/day03/mysite3/bookstore/migrations/0002_auto_20210110_1743.py
6150a4cd907207df18066c991e6c09691c209a1c
[ "Apache-2.0" ]
permissive
gary-gggggg/gary
c59ac21d8e065f296ff986d11a0e4cbf186a1bc4
d8ba30ea4bc2b662a2d6a87d247f813e5680d63e
refs/heads/main
2023-02-23T06:54:34.500683
2021-02-01T10:17:02
2021-02-01T10:17:02
334,905,744
4
0
null
null
null
null
UTF-8
Python
false
false
623
py
# Generated by Django 2.2.12 on 2021-01-10 09:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookstore', '0001_initial'), ] operations = [ migrations.AddField( model_name='book', name='market_price', ...
[ "673248932@qq.com" ]
673248932@qq.com
6ce5eedbdd0cb60b66ae4011faba33a1379dd73b
4284cfe70bc0df802c7e06a9fb592d1a56cca2e4
/examples/test_client2/test.py
2f53827d6dce26261e3518631d1ee6f10f62ac63
[ "MIT" ]
permissive
hblumberg/khan-api
691c627b56792df8adc39abd7c1b9244de952930
d4ec48a4a6591ec824d154ceada8849a13810254
refs/heads/master
2020-12-24T14:27:38.196519
2015-07-22T21:25:38
2015-07-22T21:35:53
41,285,727
0
0
null
2015-08-24T06:17:38
2015-08-24T06:17:38
null
UTF-8
Python
false
false
3,508
py
""" An interactive script for testing Khan Academy API Authentication. This is an example of how to use the /api/auth2 authentication flow. See https://github.com/Khan/khan-api/wiki/Khan-Academy-API-Authentication for documentation. """ import cgi import rauth import SimpleHTTPServer import SocketServer import time...
[ "hannah@khanacademy.org" ]
hannah@khanacademy.org
30efcb5485a81d526beb7605a8cdb628f3ab83b3
258345561053d794fd738b932b8a468df9f50bab
/commands/refresh.py
b05414e851ae0f171302e2d4de18621e50d0e254
[]
no_license
jdpls/Servrhe
f3dd12e18b85017763b5242629f67e51d9235f20
6b3d89b9a24cf5adc21e4b4bdda0d9104af78aff
refs/heads/master
2021-01-18T11:08:30.939035
2013-05-04T06:21:40
2013-05-04T06:21:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from twisted.internet.defer import inlineCallbacks config = { "access": "admin", "help": ".refresh || .refresh || Refresh show cache", "reversible": False } @inlineCallbacks def command(self, user, channel, msg): yield self.factory.refresh_shows() self.msg(channel, "Show cache refreshed")
[ "Fugiman47@gmail.com" ]
Fugiman47@gmail.com
29711e2ace3a3bf801b4f0e03b5df8214040ff3c
e40569a0d54a5db9d4430edc76e5f478d30d501b
/gopher-tomcat-deployer.py
c99ddcc83473c9998c9441a7c954bb9c1b724781
[ "MIT" ]
permissive
pimps/gopher-tomcat-deployer
426f17fc2470a9361a25e0f734b405c4c0cd438d
12cd5b27e083fde6cc7ac8c1787b1aa976361923
refs/heads/master
2020-04-05T15:47:47.558448
2018-11-12T15:48:31
2018-11-12T15:48:31
156,984,743
42
5
null
null
null
null
UTF-8
Python
false
false
6,668
py
import zipfile import binascii import sys import getopt import urllib import re import base64 import argparse def get_args(): parser = argparse.ArgumentParser( prog="gopher-tomcat-deployer.py", formatter_class=lambda prog: argparse.HelpFormatter(prog,max_help_position=50), ...
[ "noreply@github.com" ]
pimps.noreply@github.com
3f38d9382cfa771c514b6b1a59373c7bb1dfc641
383543e2ab7ef8d110546fcc497a6c6949a08b61
/publishing_client1.py
0a3da9564da2652daab2d8de6ae9ec3b924f52c5
[]
no_license
ParulPreetKaur/MQTT_12-10-2020
affc43cdebfa1ce66de438912791619c3a83333c
1b314d4280ba66195716e63b39411c12c2348c01
refs/heads/master
2023-01-16T01:41:57.483270
2020-11-20T07:03:56
2020-11-20T07:03:56
303,302,609
0
0
null
null
null
null
UTF-8
Python
false
false
12,968
py
import time import paho.mqtt.client as mqtt import urllib.parse import requests from config import api_key import json import math import csv import random cname="client1" connection_status_topic="sensor/connected/"+cname def on_disconnect(client, userdata, flags, rc=0): m="DisConnected flags"+"result code "+str...
[ "kaurparulpreet@gmail.com" ]
kaurparulpreet@gmail.com
8ef952e0b3847c9270fb1dcc56b38268dfd1280e
a90f26442d2707e2bdb90d91b137824a466b87e0
/plot_resamples.py
0116cf4e0eb99f21fe15d3bad86d6c6cc8bff249
[]
no_license
Lathomas42/OverlapCalculations
bf51537df4f237d0f2ddc8fc826fedb024c9b9bf
c355decb8fd751737f4b12d1d00eb804c7a2d990
refs/heads/master
2021-01-25T03:54:31.801351
2015-07-17T18:08:11
2015-07-17T18:08:11
39,266,920
0
2
null
null
null
null
UTF-8
Python
false
false
689
py
import catmaid from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt c=catmaid.connection.Connection('http://catmaid.hms.harvard.edu','thomas.lo','asdfjkl;',9) src = catmaid.get_source(c) n1 = src.get_neuron(325123) o_g = n1.dgraph n_g = catmaid.algorithms.morphology.resample_edge...
[ "Thomas.lo@husky.neu.edu" ]
Thomas.lo@husky.neu.edu
e666530807ec60e590f8437da2423d0f1a6a50ef
e56d636d961284c6982532ff5e4ae6d091d6f33d
/plot_mutRASprediction.py
2705a3670813d86126bdc414c86c0334e04f0060
[]
no_license
labsyspharm/marm2-supplement
df2d39bb7f1969745f6776cd62046c83878ad091
7e977899045e3c82199c827a37d79797f4fcf1a9
refs/heads/main
2023-04-14T03:24:37.055075
2022-08-10T11:03:22
2022-08-10T11:03:22
406,040,505
4
1
null
null
null
null
UTF-8
Python
false
false
7,321
py
import sys import os import pandas as pd import matplotlib.pyplot as plt from MARM.estimation import get_model, RAFI, MEKI, PANRAFI from MARM.analysis import ( read_settings, get_obs_df, read_all_analysis_dataframes, write_timestamp, get_analysis_results_file, N_RUNS, average_over_par_index ) from MARM.pat...
[ "fabian@schaluck.com" ]
fabian@schaluck.com
c26f312e05872575fc4b383606975ab2c824e7c8
789562a599eb2150c916ac8acce0b65ce536cd98
/djangoprojects/djangoprojects/firstProject/quoteApp/views.py
1da5abec5fdfc32852e2717e3c4a6055bf43e398
[ "MIT" ]
permissive
PacktPublishing/Django-for-Python-Developers
d00ff469eea7a606cdb551305bd2c9db163c23cf
3befe80d97c77fa8671d39418db7829befff4ad9
refs/heads/master
2022-11-06T21:28:08.795743
2022-10-28T09:00:44
2022-10-28T09:00:44
229,254,516
4
8
null
null
null
null
UTF-8
Python
false
false
200
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def displayQuote(request): return HttpResponse("The best investment we can make is in ourself")
[ "7393253-PactkKavya@users.noreply.gitlab.com" ]
7393253-PactkKavya@users.noreply.gitlab.com
0f31be0044104b62a563cf35bef77f66ef440d66
9ba93228edcf6f73defcd17b58029c041c74fa2c
/server/pythonCode/getKOSSPI200.py
d8cbd1e3b73fb6e1cf03a64d963db0ee08d87ab4
[]
no_license
majiajue/StockPredict_With_News
5f47ccdeebf65bed7854c27208307ca53d8e4b6d
c2b654d79f50b7d0ef7c50030793cbd25a072162
refs/heads/main
2023-04-03T01:57:51.956432
2021-04-09T14:10:37
2021-04-09T14:10:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
from bs4 import BeautifulSoup import requests import pandas as pd def crawling_kospi(): codes = [] names = [] frame = pd.DataFrame() for i in range(1, 21): temp = pd.DataFrame() url = ("https://finance.naver.com/sise/entryJongmok.nhn?&page={}".format(i)) source = requests.get(ur...
[ "ehdrjs5161@gmail.com" ]
ehdrjs5161@gmail.com
d348aca8174320a1d59058b5bb76e9b425f38c2d
eed93ecbb01acb180085bed4960a4b2fd4a2322d
/wishbook/models.py
372decb65cb08595289fd1a8658a2716acd51846
[]
no_license
srakrn/happyearthday
beb8a52cdc73a19b48143e43154feaacf4ac174a
0da2fd4ac31db1a7df13f12c78c65db641d13794
refs/heads/master
2022-05-17T19:33:00.219871
2021-06-10T10:24:22
2021-06-10T10:24:22
254,112,489
0
1
null
2022-04-22T23:22:12
2020-04-08T14:33:55
Python
UTF-8
Python
false
false
560
py
from django import forms from django.db import models # Create your models here. class Wish(models.Model): wish_text = models.CharField(verbose_name="ข้อความอวยพร", max_length=240) wish_owner = models.CharField(verbose_name="ชื่อผู้อวยพร", max_length=50) shown = models.BooleanField(default=True) crea...
[ "tanersirakorn@gmail.com" ]
tanersirakorn@gmail.com
6d5d099a2907453a5c13a6219c0d42b982c456a3
480e33f95eec2e471c563d4c0661784c92396368
/CondTools/Ecal/python/copyTrivial_orcoff_LaserOnly.py
f1755f2e56183685dce9bf8a0127949e8bcbb272
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
2,360
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi") process.EcalTrivialConditionRetriever.laserAPDPNTime1 = cms.untracked.string('0') process.EcalTrivialConditionRetriever.laserAPDPNTime2 = cms.untracked.string('1')...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
eecdec9c1181e7404b931906cb527d898a6186d9
d0d24fc8fb994e2f43964c6e3c606aad4cd5b84b
/Visualize_Predictions.py
51a844f6a63b95b2bf2ef8939b9b67032ee31be1
[]
no_license
madhavabhyankar/Interest_Rate_Prediction
641b8784b7c4f187f044f0a4687dd0c1218f0189
7339e0ff8e21173ff906b97e835d6691ae13de03
refs/heads/main
2023-04-10T21:57:57.318726
2021-04-24T15:24:44
2021-04-24T15:24:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,216
py
# Visualize prediction data # # # This uses 'plotly' and 'chart studios' to create interactive graphs of the interest rate predictions # import datetime import numpy as np import pandas as pd import matplotlib.pyplot as plt import chart_studio # Username and api keys need to be obtained from Plotly by registe...
[ "noreply@github.com" ]
madhavabhyankar.noreply@github.com
a8143116430fbfe2b31f1a548577aa67668ca369
aa89cefc5e11a31e6da44964c3b902e4eccd1ef5
/config.py
6f43cb58e1fe342d3e9b2f0595879c1c7611b789
[]
no_license
GradientFox/Hacaton
37acc5011d460d4bd6c8a9accc61bec87ea457c0
75846cea94c1049ce67738f257216ddc5bd93403
refs/heads/main
2023-01-11T14:35:43.399439
2020-11-14T13:42:15
2020-11-14T13:42:15
312,565,875
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
host="192.168.0.109" port = "5000"
[ "nikitaa.zuev@gmail.com" ]
nikitaa.zuev@gmail.com
4b3e7420b8de3dc371cd9ed030985a187e3e539a
7b301070921fef44f24aebe22b5a894de02049f6
/movie/movie/settings.py
c51832c94ef469a1d754103357dd535b6fa4c946
[]
no_license
elliottgates/4900_assignment3
05fd80c74c6b32225873798b462d802079123fae
d3fd6ab24c8b4fceba916f1a2b5779d50f237503
refs/heads/main
2023-08-26T09:00:09.488996
2021-11-02T20:55:23
2021-11-02T20:55:23
423,996,329
0
0
null
null
null
null
UTF-8
Python
false
false
4,283
py
""" Django settings for movie project. Generated by 'django-admin startproject' using Django 3.2.9. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib i...
[ "elliottgates@unomaha.edu" ]
elliottgates@unomaha.edu
8f452a5b889844be254092881d4a66f1858cb6a7
ebf4fd9e560fdd3b9b1acd4cdceabd19c70e57a7
/turq.py
3caf78e311a17ba14abd777c4c08b7b0a50fb270
[ "ISC" ]
permissive
pombredanne/turq
a4e7eaab4bb261ec793f4774b1a518becb0d170e
93cf2992da738b065292afec0444b298529e8db9
refs/heads/master
2021-01-15T13:37:06.931538
2015-07-21T21:08:29
2015-07-21T21:08:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,247
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __version__ = '0.2.0' import BaseHTTPServer from cStringIO import StringIO from datetime import datetime, timedelta import email.message import gzip import httplib import json from optparse import OptionParser import os.path import random import re import socket import st...
[ "vfaronov@gmail.com" ]
vfaronov@gmail.com
4ab8d72cd44be52d94d38853b759cf9746751e60
d2510c23f64904b778edec87519cfd957afe56a2
/full-adder.py
2a8c412636b576966f10e9f6a0c32750967f6461
[]
no_license
richardmunyao/ieeextreme_code
e9382f93ae2819a76573090bbb3beb4a846dd69b
5abbf003f6b987dad9193509331fcf8795fd50b6
refs/heads/master
2021-01-17T22:04:43.949540
2017-03-07T11:00:50
2017-03-07T11:00:50
84,187,702
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
#! /usr/bin/env python3 in_line1 = input() line1 = [f for f in in_line1.split()] base=int(line1[0]) if base < 2 or base > 62: exit() symbols=list(line1[1]) mapper={} for x in range(base): mapper[(symbols[x])]=x zero = [key for key, value in mapper.items() if value == 0][0] in_param1 = input() param1=in_...
[ "noreply@github.com" ]
richardmunyao.noreply@github.com
5d3b47feb61b8e9837181a37c3af70573ce5b221
1a9891bcb79c25790814479cef3b49a82cb125ac
/engine/tv/qqtv.py
ddf899427d1fbba247dbc07931aa9c6c4f671b56
[]
no_license
ifnfn/haha_video
be1e40f08123c6296929e2c04627fae6649b4544
5dc9d22900028a5f25b97e804f0abbeb8f19e125
refs/heads/master
2020-09-11T10:37:24.070263
2019-11-16T02:45:05
2019-11-16T02:45:05
222,035,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
#! /usr/bin/python3 # -*- coding: utf-8 -*- import re from kola import LivetvMenu from .common import PRIOR_QQ from .livetvdb import LivetvParser # 腾讯直播电视 class ParserQQLivetv(LivetvParser): def __init__(self): super().__init__() self.tvName = '腾讯' self.order = PRIOR_QQ self.cm...
[ "zhuzhg@nationalchip.com" ]
zhuzhg@nationalchip.com
e679c52587c5f67250e75ee998333ae0c999846a
689b759ff9d9a2908d68687a8ee45e7776ae1632
/2장/02-3/02-3-6.py
3e2f155aa8393c971a522a181d3ca4d6cd666f75
[]
no_license
s-rang2/python_gongbu
30d39d65a8022ec4362092f5af979483f1324106
69f93f350754bd68061ad3e9daceaff1bc9909fb
refs/heads/master
2020-04-02T18:19:36.483087
2019-01-20T04:57:43
2019-01-20T04:57:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
a=[1,2,3,4,5] a.remove(2) a.remove(4) print(a)
[ "cbedp4109@gmail.com" ]
cbedp4109@gmail.com
264baf255b2bca5e93b98c68c556e34e01f32929
8d41c6194cf695ee9e582eb1fd43daa33df93e6d
/venv/bin/flask
b1828b3543794f119c91580473ac0b4602086f78
[]
no_license
SalsaFuego/epimetheus
72a0d92300f26c1feb837b0c187357507b53fb19
4ecd0725e385fbcd69839c4df14990354dd57108
refs/heads/master
2020-04-12T00:51:21.624362
2018-12-20T23:51:16
2018-12-20T23:51:16
162,214,161
0
0
null
2018-12-20T16:46:08
2018-12-18T01:46:52
HTML
UTF-8
Python
false
false
242
#!/Users/NicChappell/epimetheus/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nwc@nicchappell.com" ]
nwc@nicchappell.com
f78d359661a080bf1f544e74b3a9708e24195ac3
97c3687c6f05a21ab0db2cdd6ef4424f13e34eec
/app_factory.py
0217e49c72b84d17763782e45552831542d83aa6
[ "MIT" ]
permissive
stevenaubertin/wol-honeycomb
d37cca425969efa7cd39024978ff0770ee34579f
65fb3dfaaf4e314b88f0c560bf7d91188f54725b
refs/heads/master
2020-12-25T18:32:50.037620
2017-06-10T20:37:29
2017-06-10T20:37:29
93,962,840
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from flask import Flask import logging from logging.handlers import RotatingFileHandler def create_app(name, config='config.ProductionConfig'): app = Flask(name) app.config.from_object(config) handler = RotatingFileHandler( app.config['LOG_FILENAME']...
[ "stevenaubertin@gmail.com" ]
stevenaubertin@gmail.com
657f8312b0572117067a0aee26093d99e6af83d1
ab92f78bf19c5a85bbf4e1b96a88b51e35be8f61
/新增資料夾/ulcargui.py
526daaf860025195e16ba61600576d836f58e6b3
[]
no_license
tobyhsu73/ulcar
c58bdac06adce3fffc6f5dcd0782d4e0f91a47b4
7033d86a85c810b4c523e799799ee5e9c14eb0b6
refs/heads/main
2023-07-01T14:28:39.335080
2021-08-01T08:01:50
2021-08-01T08:01:50
368,727,269
0
0
null
null
null
null
UTF-8
Python
false
false
32,011
py
import tkinter as tk from PIL import Image, ImageTk import tkinter.font as tkFont import time import numpy as np import paho.mqtt.client as mqtt #import the client1 import math import givedataul broker_address="broker.emqx.io" r=0 def on_message(client, userdata, message): global r global datam datam=...
[ "73582590+tobyhsu73@users.noreply.github.com" ]
73582590+tobyhsu73@users.noreply.github.com
991c7a23307169b6224e9045e9ca151f59f9718f
6faaeee8cf9a533867917f9657399639fb587615
/__init__.py
daca6ffb405b6961d931705af801777e8418494c
[]
no_license
dimespi/graphanalysis
2e98f4cb9544afac60de3f697153b44b67730d04
b93ae4c114add1fa2a49f23276ea31ee895ce66c
refs/heads/master
2020-04-17T03:48:14.450071
2019-01-17T12:28:59
2019-01-17T12:28:59
166,201,007
0
1
null
null
null
null
UTF-8
Python
false
false
1,630
py
# -*- coding: utf-8 -*- """ /*************************************************************************** GraphAnalysis A QGIS plugin This plugin lets you visualize and manipulate spatial graphs. Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ...
[ "noreply@github.com" ]
dimespi.noreply@github.com
b86f4f23f1d96b44ef062edd59adb901d53cf7c7
3d7039903da398ae128e43c7d8c9662fda77fbdf
/database/面试/juejin_446.py
ada41a6791b155b757cb4bc67b7cc653b73bf8d7
[]
no_license
ChenYongChang1/spider_study
a9aa22e6ed986193bf546bb567712876c7be5e15
fe5fbc1a5562ff19c70351303997d3df3af690db
refs/heads/master
2023-08-05T10:43:11.019178
2021-09-18T01:30:22
2021-09-18T01:30:22
406,727,214
0
0
null
null
null
null
UTF-8
Python
false
false
70,312
py
{"err_no": 0, "err_msg": "success", "data": [{"article_id": "6844904081828347912", "article_info": {"article_id": "6844904081828347912", "user_id": "1556564164489389", "category_id": "6809637767543259144", "tag_ids": [6809640402103042061, 6809640404791590919], "visible_level": 0, "link_url": "https://juejin.im/post/684...
[ "www.1759633997@qq.com" ]
www.1759633997@qq.com
5d7b54b62751145244a47fbd41fedc6932cbf752
6f3433ee263e9a7e6d6915ca0fb9ae5c5850a303
/students/K33422/Yanov Filipp/lab_2/djangoProject_lab2/hotel/urls.py
7c251da59b4d499e9e15f71633ccccd2a9c15ea2
[ "MIT" ]
permissive
dEbAR38/ITMO_ICT_WebDevelopment_2020-2021
8a2a1abe6cd7f3bb0c0b1774cad1765d377f52c7
208cbc6d2b6d40c3043d35ce773a3433b377f671
refs/heads/master
2023-04-03T10:09:38.427787
2021-04-09T10:42:27
2021-04-09T10:42:27
296,327,161
0
0
MIT
2020-09-17T12:59:46
2020-09-17T12:59:45
null
UTF-8
Python
false
false
898
py
from .views import * from django.urls import path from . import views urlpatterns = [ path('', HomePageView.as_view(), name='home'), path('hotels/', ListHotels.as_view(), name='hotels'), path('hotels/<int:pk>/', ListHotelRooms.as_view()), path('rooms/<int:pk>/book', CreateBooking.as_view(), name='booki...
[ "yanovfilipp@mail.ru" ]
yanovfilipp@mail.ru
5b7b8e26737c91e22d22f1d31866a41d07b52e92
4c0ed006fe9c585a61a7e959e05f5cf0fd96716b
/Python scripts/Libraries/n-d-graphics.py
8a074b0e75e9e405fb071a7bebd9440e760c77fd
[]
no_license
Lasagnenator/Random-Projects
0ba77de5735ac7731ca8462b0211560b9700caae
2ceb0c8bb525d0d3a084f94bd1c1dcbe7c0ee3df
refs/heads/master
2020-04-05T04:05:14.733290
2019-03-29T12:13:17
2019-03-29T12:13:17
156,533,803
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
#n-dimensional projection class DimensionError(ValueError):pass class Point(object): def __init__(self, coordinates): self.dimensions = len(coordinates) self.coordinates = coordinate def project(self, plane, focal_point): """plane is a list of coordinates (reverse) specifying ...
[ "noreply@github.com" ]
Lasagnenator.noreply@github.com
1254aaaf11edbd151907c206bb40553b2f5e2e10
e727ad3ed8ee68ea52ab616af99b7981ab151238
/depuracao.py
be2c42db3fb270c1c33bcaf1379392e559eb29b0
[ "MIT" ]
permissive
cicerohr/Curso_Python_Excript
c13727a0e6155ce0c4d2aad50a2a6fff4398d0c5
971e87e6cc88e39a0c4bb4d034c87c36f9e0a9a5
refs/heads/master
2020-03-30T05:14:57.531811
2018-09-28T20:04:30
2018-09-28T20:04:30
150,789,078
0
0
null
2018-09-28T20:04:31
2018-09-28T20:02:05
Python
UTF-8
Python
false
false
766
py
# depuracao.py criado por Cicero em 2018-09-27. Projeto Curso_Python_Excript. # # Como depurar códigos Python com o uso da IDE PyCharm # # clicando em Run > Debug... ou pressionando as teclas ALT + SHIFT +F9 aparecerá o console do Debug. # você deve criar um breakpoint clicando no lado esquerdo da linha do código que ...
[ "4173604+cicerohr@users.noreply.github.com" ]
4173604+cicerohr@users.noreply.github.com
f799a2eed66cae0b8e16a8d2d860d186b2d5139d
1359e2e752609704141268390b73d9a52c2bd578
/ncdg.py
353a39a92f70e302492b783b803400aec0dd30f6
[]
no_license
arjunsawhney1/search-relevance
f8ae1c0496f7c2252e93709c1d8b3c207c460498
4a61efd1d9f647aa5197c6c6daf0ec3c2a06b3dd
refs/heads/main
2023-08-02T05:18:05.337816
2021-10-04T22:05:10
2021-10-04T22:05:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
# Copyright 2016 Krysta M Bouzek # # 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...
[ "arjunsawhney7@gmail.com" ]
arjunsawhney7@gmail.com
9e4d54094f0b63c44a9a3c5b8af7e1685eb1304d
c69d005833b4fe813d481ffeca6c3f8c6280c5bd
/src/02_hyp_test_ate.py
9d78457f6ccdbfb1839ce41af6029a27edc35a4e
[]
no_license
terebn/causalML
3579604e6424f54591d4249365da704ada403a44
ca530eada257f166085f659b1eb009e175830725
refs/heads/main
2023-03-11T17:14:13.357256
2021-02-22T18:57:05
2021-02-22T18:57:05
338,124,592
3
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
import pandas as pd import numpy as np import pyarrow.parquet as pq # For hypothesis testing and power analysis from statsmodels.stats.proportion import proportions_ztest from statsmodels.stats.proportion import power_proportions_2indep # For data prepping and OLS model from sklearn.preprocessing import StandardScale...
[ "teresabono.t@gmail.com" ]
teresabono.t@gmail.com
825e7a1384caaa635209d8fbde10c2ebc6fb3172
12485bb945ab8af6ff6a5f3d9d4c542a7bcf95f8
/server/src/uds/core/util/decorators.py
1996f00746c892461214b269ffa03dfe7a9366ad
[]
no_license
morfeuj/openuds
6ef0c4bed624def0090efa6abdd2600b9be81a8b
26e429019e5fe5b01ee1a476c879d8f8333b0ab0
refs/heads/master
2020-12-15T15:11:33.598430
2020-01-20T16:42:33
2020-01-20T16:42:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,264
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012-2019 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright noti...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
df4f036ab9a22fff1d464c23724ebb8d7307f354
c4d5e141fb2c68af90ea25ef5b78dcfa24e09471
/apps/Login/views.py
a105fd43dd17c7e7976eb96876e282120357f097
[]
no_license
Jiaqi0109/SimpleLogin
a2534b1a23600a404ca654222d29fad4057623cc
e5418616b747c5a81c06f4ae20d197d893bf0b33
refs/heads/master
2021-08-29T08:07:40.521291
2017-12-13T14:06:30
2017-12-13T14:06:30
114,128,319
0
0
null
null
null
null
UTF-8
Python
false
false
1,739
py
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render from django.urls import reverse from .models import User # Create your views here. def to_sign_in(req): try: username = req.COOKIES.get('username') password = req.COOKIES.get('password') if Us...
[ "jiaqi0109@gmail.com" ]
jiaqi0109@gmail.com
1f0fd884caa02d3685d91a38f543a61d4f4c35fd
312a8fde11293cb142334a3860966ec1f75ac401
/timesketch/lib/analyzers/contrib/__init__.py
7c0d5d88fdd9c75789919c74eb42737eae4341a4
[ "Apache-2.0" ]
permissive
google/timesketch
f0fd09062a8a24bac581d2d4286d095d667d2f10
24f471b58ca4a87cb053961b5f05c07a544ca7b8
refs/heads/master
2023-08-31T21:48:19.602686
2023-08-31T11:24:17
2023-08-31T11:24:17
21,009,909
2,263
647
Apache-2.0
2023-09-14T14:08:07
2014-06-19T17:49:45
Python
UTF-8
Python
false
false
813
py
# Copyright 2022 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "noreply@github.com" ]
google.noreply@github.com
4e80ccd3f2e43b289698ef14d9347915c77924e7
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/list_set_element_oob_1-71.py
58d3ed793879d1cc0c90830a3833ad543f01587e
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
x:[int] = None x = [1, 2, 3] x[-1] = 4 print(x[0]) print(x[$Literal]) print(x[2])
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
33aa22b635e3ed93e5fbee8b9e166783f7c91832
30b24d11cd6bcf4174a0c76cf9d25609a4b90e8e
/PyEZBackup/pyezbackup.py
36bcd431af1d5b9b09594fb0ccbdfc74a8b6d727
[ "MIT" ]
permissive
hillt03/Miscellaneous
7215a0b3ab1e67b0ccbaeaa86f67f131f45978c8
06191417d4baedf1e4bcfceebcfe004508321583
refs/heads/master
2020-06-27T11:25:02.499711
2019-08-26T00:19:31
2019-08-26T00:19:31
199,940,503
0
0
null
null
null
null
UTF-8
Python
false
false
6,865
py
import os from distutils.dir_util import copy_tree from distutils.file_util import copy_file import argparse import sys class PyEZBackup: def __init__(self, filepath_file, excluded_filepath_file, backup_location): self.filepath_list = [] # Stores filepaths that will be backed up self.excluded_file...
[ "hillt03@yahoo.com" ]
hillt03@yahoo.com
04959b4fd2655f4d0f02b2f525f1eb7047ba3c7a
ed354ee7ba689132b679c332296baf14d8948b31
/src/server/handlers/signing_handlers.py
15fedd60e58708bd6777fb988b550c94ff0a92f5
[ "MIT" ]
permissive
shkimturf/Tornado-MongoDB-WAS
a5c3a946c33ce78314047c1c9c3c4922b7eb375b
bf4cf316dc12678b9780e374001d405935cbdbd5
refs/heads/master
2020-04-02T03:51:47.861750
2016-06-21T15:43:15
2016-06-21T15:43:15
61,644,319
0
0
null
null
null
null
UTF-8
Python
false
false
2,988
py
# -*- coding: utf-8 -*- ''' Created on 2016. 5. 26. @author: Sunhong Kim ''' from server.handlers import CommonHandler, authenticated_api from app.error import HDError from models.account.user import HDUser from models.account.session import HDSession from models.orm import HDORMObject import tornado, utils, pymong...
[ "shkim@Sunhong-ui-iMac.local" ]
shkim@Sunhong-ui-iMac.local
2bf4a34ee6c5e22fa115f07b6ba6032a56a9596c
422d27bc3341f0a6c769d7c36e80fd901df13a42
/hw1/PS1.py
abe028bc30060c2d39536e5b274259328ec1c1d5
[]
no_license
HERMANNITY/EECS349
fbae72ce1a7ee540468b97e3855d01ea7d94cb55
0459d29eeaecba9d8861624162d34e003e8aaddd
refs/heads/master
2021-01-17T14:28:39.674564
2016-06-12T15:00:02
2016-06-12T15:00:02
57,409,687
0
1
null
null
null
null
UTF-8
Python
false
false
1,759
py
# DOCUMENTATION # ===================================== # Class node attributes: # ---------------------------- # children - dictionary containing the children where the key is child number (1,...,k) and the value is the actual node object # if node has no children, self.children = None # value - value at the node # # ...
[ "junhanliu2015@u.northwestern.edu" ]
junhanliu2015@u.northwestern.edu
1e80f6951a25549153d9d87ae4a733d66b65e4e4
ff40ecf6619813dd47237313a8b633c922294bdd
/manage.py
e84b83ae19332b5456bc2c149a91280fc20e1d2d
[]
no_license
kothawleprem/animatorr
f3e1cd4d159711daa1ca0d97aac8d76e4af10c18
172d1a3ad5cb7929f23fb674c94e0f0f6ca6af59
refs/heads/master
2022-12-16T22:39:51.648225
2020-09-10T13:49:25
2020-09-10T13:49:25
294,408,934
0
1
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'shubham.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "kothawleprem@gmail.com" ]
kothawleprem@gmail.com
ffdb5cf5ae2e069f74f6f3c50dfdac09e7a98e29
c00dbed90fc8f2bc4e62476888d6987069ffbe0e
/AnalysisDAFM/program/src/main.py
71bdf4febf6983bd3d61c3137a74b0b622118425
[]
no_license
LiangZhang2017/WorkflowComponents
2cc5fdd2818ac869b37d9eac0a6956696a4f4cc9
76da41721691a8f097d7a4ab2e75499c236d597e
refs/heads/master
2021-04-15T20:29:40.078283
2020-02-14T21:52:39
2020-02-14T21:52:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,092
py
""" Datasets :- Geometry 1) /home/anant/datasets/Geometry96-97.txt (5,105) CognitiveTutor: /research/datasets/cognitive_tutor_2007_2009_kddcup 1) algebra_2006_2007_train.txt (2,270,385) (1,808,571) (856, 549821, 6592) 2) algebra_2008_2009_train.txt (8,918,055) (4,419,705) (2105, 288169, 6650) 3) bridge_to_alg...
[ "mkomisin@cmu.edu" ]
mkomisin@cmu.edu
a9fbf13bfa8cd5e3bfda872b864aed92b33a0ab3
5797077e8936b99d683b18e68d567b3567f62f56
/temperature_highs_lows.py
be6d8f0237e815da8a6858eea69747822fb3e9cb
[]
no_license
RichardlauCx/Data_visualization
2f423efdb27143479eb0af7f72bf79a84396f474
005efe49273d398c799581a70326c3d90b91251d
refs/heads/master
2020-10-02T07:53:49.504020
2019-12-17T08:19:58
2019-12-17T08:19:58
227,734,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
# -*- coding: utf-8 -*- # @ Date : 2019/5/20 13:14 # @ Author : Richard_lau # @ file : Richard.py # @ IDE : PyCharm import csv from datetime import datetime from matplotlib import pyplot as plt filename = 'sitka_weather_12-2019.csv' # 因为是同级下的,所以不需要强调路径 title = "Daily high and low temperatures - 2019, CA"...
[ "2409608770@qq.com" ]
2409608770@qq.com
66d1a32aa11da971f2a961e98e1743fea90cea13
28e1b715f9a44ffa562bf37b1fecba8076454779
/flaskr/cart/mycart.py
9cc60116517acbaf44eb6f15b87f9d7f33e68fbb
[]
no_license
rewantsoni/Shopping-cart-project
ddae823a506b955090c8187da4633540c0382c86
eb01d16bed69eca987ae7bff98f45be9d6bfcb31
refs/heads/master
2020-06-11T19:13:30.983646
2019-06-27T08:57:24
2019-06-27T08:57:24
194,057,927
1
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from flask import ( Blueprint, redirect, render_template, request, url_for ) from werkzeug.exceptions import abort from flaskr.auth.auth import login_required import flaskr.database.db_product as db_product import flaskr.database.db_incart as db_incart bp = Blueprint('mycart', __name__,url_prefix='/cart/') @bp.r...
[ "rewant.soni@gmail.com" ]
rewant.soni@gmail.com
f7cf8641579473899307e315b2b85ea54c945eb9
49d6e96ab5d158e33cfc9eafb35d57059508b6d2
/7 kyu/dryingPotatoes.py
2aa399186da0186301989983d44281c0b0b5d882
[]
no_license
adonai-luque/CodewarsPython
ed1018edca20dfc2abffaa14247ee1aec7a0eb10
9bcd82b99f7ebe1a57017f0cc52cbaf1c1deac98
refs/heads/master
2020-12-14T07:50:37.586563
2020-10-18T06:39:30
2020-10-18T06:39:30
234,679,492
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
def potatoes(p0, w0, p1): return int((100-p0)*w0/(100-p1))
[ "akluqueprieto@gmail.com" ]
akluqueprieto@gmail.com
827d7dcfdff880bea8dd3c1755559f5cce156bbf
f1c4a66d133b684ea3e4d3238ef28df4fb546109
/script_test/pytest_order_001.py
4f985193860294d6fd33550822e4f9da4bd0b375
[]
no_license
chenzx7/Test
70adb7a897781a8e5a457033806967542b772411
a58bb69d8f17830c3adefc7d2a2bbea1f9d7c03b
refs/heads/master
2020-12-05T20:56:20.191174
2020-01-13T04:11:29
2020-01-13T04:11:29
232,245,084
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import pytest class Test_fix(): def setup_class(self): print("开始测试了") def teardown_class(self): print("结束测试了") @pytest.mark.run(order=2) def test_001(self): assert False @pytest.mark.run(order=1) def test_002(self): assert False
[ "chenzx&@lenovo.com" ]
chenzx&@lenovo.com
089b3dc51883bc6020b2d41d2fe3b9964a395b42
3f8ba416f22630792a8eb4535b8a0e40a2b40b7f
/app.py
5cfffdfc2352a3a69cc296ad95bf163e1349e9b5
[]
no_license
RAWAT7200/OpenCv-StaleApple
1de0f5464cb533d45a0888ece0ec6546f315546a
ad3f5b73b0b23f5efe1738c7f21b3b70e06f4d54
refs/heads/master
2020-06-05T01:55:52.039501
2019-06-17T04:05:55
2019-06-17T04:05:55
192,272,788
0
0
null
null
null
null
UTF-8
Python
false
false
4,731
py
import numpy as np import cv2 from matplotlib import pyplot as plt """ p=cv2.imread("apple.jpeg",0) cv2.imshow("Testing_image",p) cv2.waitKey(0) cv2.destroyAllWindows() cv2.imwrite("apple_copy.png",p) img=cv2.imread("apple.jpeg",0) plt.imshow(img,cmap="gray",interpolation='bicubic') plt.xticks([]), plt.yticks([]) plt....
[ "surajrawat@Surajs-MacBook-Pro.local" ]
surajrawat@Surajs-MacBook-Pro.local
d079d7bcd8883b887160231a73ba76987a8b2c0c
2c8326c907ade14c14b759e494fb928ddce6c49c
/Topcoder/SRM702/500.py
78dfc317a5e11857bba2d2a54a876e6789a533ad
[]
no_license
thrabchak/programming-competitions
5d61b71416286fc92818a6816834b64120fae7cb
884db29dd4ca0485d5f30a065ff4e59b8d46b9d6
refs/heads/master
2021-01-23T14:51:19.405720
2016-12-23T06:44:28
2016-12-23T06:44:28
26,175,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
class GridSort(object): def sort(self, n, m, grid): print("n:" + str(n)) print("m:" + str(m)) possible = "Possible" impossible = "Impossible" if n == 1 or m == 1: return possible pattern = [] for i in range(n): if i == 0: ...
[ "thrabchak@gmail.com" ]
thrabchak@gmail.com
98ae6996aa0b587767198da68169589e426738f7
0be27c0a583d3a8edd5d136c091e74a3df51b526
/reverse_each_word_except_first_and_last.py
27fcc10079794e2ac868b8e8a9287aad8791a631
[]
no_license
ssangitha/guvicode
3d38942f5d5e27a7978e070e14be07a5269b01fe
ea960fb056cfe577eec81e83841929e41a31f72e
refs/heads/master
2020-04-15T05:01:00.226391
2019-09-06T10:08:23
2019-09-06T10:08:23
164,405,935
0
2
null
null
null
null
UTF-8
Python
false
false
171
py
s=input() l=list(s.split(" ")) a=[l[0]] for i in range(1,len(l)): if i==len(l)-1: a.append(l[-1]) else: c=l[i] b=c[::-1] a.append(b) print(" ".join(a)) #reverse
[ "noreply@github.com" ]
ssangitha.noreply@github.com
178f94e8e5286eb5012579f4c8562e0b113ac483
5a1cb546cb5132cc98e8a08acc6233540bc2dd34
/forms.py
2ea5dd93c573fdf1bc0e5fea25e98bbc4f5492d8
[]
no_license
RitikaSingh02/ChitChat
75cf19e00ce6c12a35cc081e55c4e0b378ee3347
9575daf0e61ba2f20797dfadf6ba246470dafbe0
refs/heads/master
2023-05-23T21:21:25.138134
2021-06-20T19:00:43
2021-06-20T19:00:43
378,376,078
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField from wtforms.validators import InputRequired, Length, EqualTo, ValidationError from models import User def invalid_credentials(form, field): """ Username and password checker """ password = field.data username = form.usernam...
[ "ritika2002singh@gmail.com" ]
ritika2002singh@gmail.com
b2b62d43c7c7065f95afab12cff117983fdacf95
600af04c7b0b1b2782d83fae3042412eefa97e3e
/utilities/string_similarity.py
75796bff89f0869a316917cfa38038e8a2ffa9cc
[]
no_license
isislab-unisa/syntactical-errors-detection
16611eb9945333fb75d3fde1ff2bef1497e71268
469d8ecdac3356ba209ca23215383b06e6d3cb63
refs/heads/master
2020-05-27T21:58:51.351348
2019-09-30T07:15:03
2019-09-30T07:15:03
188,802,131
3
0
null
null
null
null
UTF-8
Python
false
false
3,545
py
from fuzzywuzzy import fuzz as fw import pyxdameraulevenshtein as lev import numpy as np import time as t PESO_PARTIAL_RATIO = 1.2 HIGH_LEV_DIFFERENCE = 20 LOW_LEV_DIFFERENCE = 5 HIGH_AVERAGE_FUZZY = 95 LOW_AVERAGE_FUZZY = 85 HIGH_SUBSTRING_FUZZY = 95 LOW_SUBSTRING_FUZZY = 85 LEV_TOLLERANCE = 1 def single_fuzzmatch(w...
[ "l.postiglione4@studenti.unisa.it" ]
l.postiglione4@studenti.unisa.it
322baf04dd404de77dd228acd8ae60da89af00cf
d897ed7c89846ecd73f429f9b608a309528ffcfe
/acc_reg/apps.py
231995adad522f5e4cb65b3eda7fa1dd9d0aee95
[]
no_license
0dejia/django_learn
1d35b9ed4c1d176aac5ed9859ecb51ad4abfe1fa
acc9cb138ef0fa92161f0c63e61f256dea617828
refs/heads/master
2021-01-19T12:56:18.088901
2017-05-19T09:40:04
2017-05-19T09:40:04
88,058,563
1
0
null
null
null
null
UTF-8
Python
false
false
153
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class AccRegConfig(AppConfig): name = 'acc_reg'
[ "569982600@qq.com" ]
569982600@qq.com
36ef3b542c880047fbdb9d98cad3d34c6585f40c
9a376696ca28b861c9e436326eeef4b5532d808c
/downloads/code/mysqrt.py
141ec94f25c09049212969ca4a9796c5393462cb
[]
no_license
junilyd/junilyd.github.io
7ecf68c82b7530f86327597052f1aedaf0b046b1
2a9e63fd7b13c0f9b7d8d17fdc4768fcf189bc22
refs/heads/master
2021-05-16T02:56:07.710860
2018-04-20T20:08:58
2018-04-20T20:08:58
22,765,794
1
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
''' Module for approximating the square root Input x: The number for which the square root is approximated. output s: The requested square root. ''' def newton(x,debug=False): '''newton(x)''' from numpy import nan x = float(x) if x==0.: return 0. elif x<0.: pri...
[ "junilyd@gmail.com" ]
junilyd@gmail.com
abe8566f63107cd5f40e1645166a83765b1cfed1
f6b1db8c0503a292f6a1da31800269e0bb5f39bd
/web_flask/5-number_template.py
431a96556f0e1ae94db91f4d1e262f0713d039f8
[]
no_license
arleybri18/AirBnB_clone_v2
142883fde2629c7eb75dddc8e4375a9ca1714555
111cabf15cadba09f018b2fe359eec68495035dc
refs/heads/master
2020-07-07T03:44:31.456739
2019-09-09T15:16:55
2019-09-09T15:16:55
203,235,771
0
0
null
2019-08-19T19:21:54
2019-08-19T19:21:54
null
UTF-8
Python
false
false
1,069
py
#!/usr/bin/python3 """ Import flask class """ from flask import Flask, render_template app = Flask(__name__) @app.route('/') def hello(): """ Function to handle request """ return 'Hello HBNB!' @app.route('/hbnb') def hello_hbnb(): """ Function to handle request to path /hbnb """ return 'HBNB' @ap...
[ "arleybri18@gmail.com" ]
arleybri18@gmail.com
21963a1e2a7d2fc0acf399e9525a4d5c4cf1a910
d24d29d84aeb0f820febaf554adb337d5f966d03
/gmr_optimization.py
683a4a086c3ff6ce05b3ab7e0abccc067e60e1e4
[]
no_license
GanKunlu/youbot_myo_control
f7d0daa0844e3feeb34ddeac93094b939d290567
2f9cb247ae034defb35c264d0eac4d42613940fc
refs/heads/master
2021-01-25T01:21:36.394797
2018-05-26T02:36:36
2018-05-26T02:36:36
94,749,221
2
1
null
null
null
null
GB18030
Python
false
false
4,979
py
# -*- coding: gbk -*- import os import numpy as np import matplotlib.pyplot as plt from matplotlib.font_manager import * import seaborn as sns from sklearn.utils import check_random_state from gmr import GMM, plot_error_ellipses class gmr_from_file(object): def __init__(self,n_components,file_name): self.r...
[ "noreply@github.com" ]
GanKunlu.noreply@github.com
39af42d635ccc1f91a80e522b9a0754dc5d4b216
f789a3b83af9830d28a3fc3cc5184be513caea74
/tests/unit/test_middleware.py
5ee1d91efcfa4516fbaabc162635690dfd9546a4
[ "Apache-2.0" ]
permissive
anuo007/turnstile
22701d4b8e1bd83af9dc4df38bf828bc8ff6f055
8fe9a359b45e505d3192ab193ecf9be177ab1a17
refs/heads/master
2021-01-22T00:24:37.821758
2013-09-20T23:21:02
2013-09-20T23:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,594
py
# Copyright 2013 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 app...
[ "kevin.mitchell@rackspace.com" ]
kevin.mitchell@rackspace.com
d16a62c88c77fdb893b4269bd3894ff2bf460ba0
02255565aff9ea18a4d566955cc53ca06090efa4
/python_django.py
cf4625e4823034de98520ac80998d9c35978e234
[]
no_license
BrainiacRawkib/Practical-Python-for-Begineers
20a8a3697812bed78646c6af54a6dc195694109a
cb29ea1a38339fcf2fac005feb92b5a72ae98387
refs/heads/master
2020-12-01T09:10:06.802758
2019-12-28T15:27:40
2019-12-28T15:27:40
230,598,655
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
from django.db import models class Student(models.Model): FRESHMAN = 'FR' SOPHOMORE = 'SO' JUNIOR = 'JR' SENIOR = 'SR' YEAR_IN_SCHOOL_CHOICES = ( (FRESHMAN, 'Freshman'), (SOPHOMORE, 'Sophomore'), (JUNIOR, 'Junior'), (SENIOR, 'Senior'), ) year_in_school = mod...
[ "brainiacrawkib@gmail.com" ]
brainiacrawkib@gmail.com
4468667cd87bc324979f230416324bd0f7e954f9
428f27110d0af6d9d30c17b379c0a0b6da4cf7a5
/PyCharm/aws/boto_s3.py
c5d6925a4676f444ce457f3d3e8ceaf799f47f1b
[]
no_license
rjilani/python
e3b3e3c4129c9b61e775f4b13f4cfa43fec5d436
d2da224215c30fbec146028bd9e0c939a0f318d4
refs/heads/master
2021-06-27T12:20:43.569368
2017-09-13T22:53:44
2017-09-13T22:53:44
102,174,348
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
__author__ = 'rjilani' from boto.s3.connection import S3Connection conn = S3Connection('accesskey', 'secretkey') print (conn) bucket = conn.get_bucket('rashidwordpresscode') print(bucket) for key in bucket.list(): print key.name.encode('utf-8')
[ "rashidjilani@gmail.com" ]
rashidjilani@gmail.com
51cfca10de1022638fa0016c4de8a193272f8fab
50fba01e7c5a0cdb4771a61c3f325a5a318c6138
/ojbk/xtp_api_data_type.py
6475332b5eefd9930a5ddd0e63724faa872345be
[]
no_license
10pem/xtp_win32
dd6d73256f466b1c08a047cafd59a0b7db5ba8c7
886312ec99e856ae679b6b479c11e4ee5eec9e5f
refs/heads/master
2020-03-17T20:49:10.809357
2018-05-22T06:32:39
2018-05-22T06:32:39
133,929,846
3
0
null
null
null
null
UTF-8
Python
false
false
6,256
py
#encoding: UTF-8 typedefDict = {} #///////////////////////////////////////////////////////////////////////// #///@author 中泰证券股份有限公司 #///@file xtp_api_data_type.h #///@brief 定义兼容数据基本类型 #///////////////////////////////////////////////////////////////////////// #/// 存放版本号的字符串长度 XTP_VERSION_LEN = 16 #/// 版本号类型 typedefDict[...
[ "mr.xu.china1995@gmail.com" ]
mr.xu.china1995@gmail.com
736e3c73364bb68691205bce0d3d43310bb53493
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/azuredata/v20200908preview/sql_managed_instance.py
8824bb87b76c7f442079127163d4a2a50cf216fa
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
8,761
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
test-wiz-sec.noreply@github.com
cd70e6adc8fa214a010f29508ce6e51e6c2e4b7d
60d5a3bc9b7d3776cb256f5e845137eb89d4d5ae
/04_TextRCNN/p71_TextRCNN_train.py
4679346971a78bf58ef51844cc4f4d8694c71df8
[]
no_license
hanghang2333/scoreclassify
4eacddd507cdc9b446f307f3993f8c47dbdb9f30
ee422470f4eb4184ed73f55bff9e49c3751f4547
refs/heads/master
2021-05-11T05:00:33.105091
2018-01-22T11:55:22
2018-01-22T11:55:22
117,951,807
0
0
null
null
null
null
UTF-8
Python
false
false
8,276
py
#process--->1.load data(X:list of lint,y:int). 2.create session. 3.feed data. 4.training (5.validation) ,(6.prediction) import sys import h5py import shelve import tensorflow as tf import numpy as np from p71_TextRCNN_mode2 import TextRCNN import os #import word2vec import pickle #configuration FLAGS=tf.app.flags.FLAG...
[ "lihang@BJ101310-1.local" ]
lihang@BJ101310-1.local
7ddbd53246a76a75ab59a084952c7bcf676d9df6
769843f3cb57b9a0e1c68d02637b881bd43a103b
/nanodet/model/arch/gfl.py
b39eb616f9a7f0d17203d726452db6c449690856
[]
no_license
CaptainEven/MyNanoDet
9de3165ff14140eeabb362e793d8903f93cfdf77
9f5e5835bff8854d8d8c0041a7b3288ab017d7b6
refs/heads/master
2023-02-11T13:12:59.651520
2021-01-06T06:52:11
2021-01-06T06:52:11
319,273,525
3
0
null
null
null
null
UTF-8
Python
false
false
524
py
from .one_stage import OneStage class GFL(OneStage): def __init__(self, backbone_cfg, fpn_cfg, head_cfg, ): """ :param backbone_cfg: :param fpn_cfg: :param head_cfg: """ super(GFL, self).__init__(backbone_cfg, ...
[ "765305261@qq.com" ]
765305261@qq.com
86764acc99dcc48179a7a458f23c95bdadd32dd6
39c3337c0ca292b01b141631d9940bf1651092d1
/class_0423/testcase/test_audit.py
a9600c431ec6e3bc889691262b869760c0d98d3e
[]
no_license
cxx839113797/future
e9c08aea4d7d47d5a7249ce259272353c08c7707
57dd94bc5bb45585fdbba9845749ed6d31f4fa4f
refs/heads/master
2020-05-21T03:41:55.935305
2019-05-30T15:29:20
2019-05-30T15:29:20
185,895,705
0
0
null
null
null
null
UTF-8
Python
false
false
2,655
py
# -*- coding:utf-8 -*- # @Time : 2019/4/18 22:56 # @Author: xiaoxiao # @File : audit_testcase.py from class_0423.common.http_requests import http_requests from class_0423.common.do_excel import do_excel from class_0423.common.constants import excel_name,audit_sheet from class_0423.common.log_config import log_config...
[ "839113797@qq.com" ]
839113797@qq.com
9b5400594feb8e59f74ff77b5d4d354aedbe877b
af67cec55867e4210966a31239dfcdb9005688f9
/MachineLearning/TensorFlow/1.x/first_steps_with_tensor_flow.py
10b7eea26c57e3be5f39a050555bcc8a5c5fe26d
[]
no_license
wkown/py3x
b4cf57a70ebcec093e404aafee5c1982a02c1863
ed259993900f914bc6fb9c529f1e25eadf0c7afc
refs/heads/master
2022-02-21T19:33:02.495986
2022-01-27T05:23:42
2022-01-27T05:23:42
128,619,048
0
0
null
null
null
null
UTF-8
Python
false
false
9,153
py
from __future__ import print_function import math import math from matplotlib import cm from matplotlib import gridspec from matplotlib import pyplot as plt import numpy as np import pandas as pd from sklearn import metrics import tensorflow as tf from tensorflow.python.data import Dataset tf.logging.set_verbosity(t...
[ "walkskyer@qq.com" ]
walkskyer@qq.com
e799c29040b6a64ef2371bd0690e442f18989bf9
fbc0ea4b34064dc2eebccd9d0a933e83ad4eb54d
/__config__/asgi.py
03b3776279258ecbc968ad21e4792b7b1b542f60
[ "MIT" ]
permissive
Farzan-Manzer/DjangoURLShortener
de70c3d543abcea039b60cd3e94dba7e3a9d4b54
dad9a372a5b007b212d0ff229912ebf3beecb413
refs/heads/main
2023-01-01T02:26:40.234223
2020-10-26T19:26:56
2020-10-26T19:26:56
307,476,706
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for __config__ project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "farzan.manzer@gmail.com" ]
farzan.manzer@gmail.com
4699ac187da996ef09de31aa7def4cdc34852f34
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/help.py
0fc91d3eca0088a241bd20d9a83259c5cb961425
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
1,379
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
e96ca41fabd2c6294f007cf0300c22dc047cb099
3ed2d6b8ab7faf14c49df7f3cbfceeca68dfdaaf
/ZXHS.py
09254ba0a169320541c330737af6fbcbcb1fbc3f
[]
no_license
917qko/suai
1d05dc3607997ad461059e3f663e046e73ecd9d1
33e01fddbe207508d5b29c68f7d6634e0610a7f7
refs/heads/main
2023-01-03T12:47:30.891213
2020-10-29T05:25:19
2020-10-29T05:25:19
302,836,434
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
import numpy as np import matplotlib.pyplot as plt import math x=np.arange(-20,3*np.pi,0.02) y=np.sin(x+math.pi) plt.xlabel(' t') plt.ylabel('x(t)=Asin(ωt+φ)') plt.plot(x,y) plt.show()
[ "1021501028@qq.com" ]
1021501028@qq.com
fb0f510a230c8e4d22fc6ee00f0fbecd9f2018ed
42a8ae48593dabb08414911c0bda44723c6e88ae
/minissl/test/testSslClient.py
e94cc2bf77d02cde79079fdcd2b109b64e6a6487
[ "MIT" ]
permissive
vsaw/miniSSL
3c39fe34dcc55152bd5eec08e5cb08ee94ab8667
47671bb1cf4d558c340947c2a38d2c4fefd80643
refs/heads/master
2020-12-24T11:45:49.640830
2014-07-30T20:56:56
2014-07-30T20:56:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,750
py
import unittest from minissl.SslClient import SslClient from MockConnection import MockConnection import pickle import minissl.keyutils as keyutils import minissl.Utils as Utils import PemSamples from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA from Crypto.Signature import PKCS1_PSS from Crypto.Has...
[ "valentin@sawadski.eu" ]
valentin@sawadski.eu
2cd796b59550f61935898c8a1415341ff5e3af3e
6e0b6cfc79d27c505e9234bfee9b664a87bd0d9b
/Entity/Station.py
7f3aff143e9e2292db0e4010671b35e7aa3ee4e7
[]
no_license
sdgdsffdsfff/Subway-Line-Query-System
919b515cabb49638c35828d36f4b7dfcdff53d80
12c14d2277a19a6e83e835531a3ae21da27df23e
refs/heads/master
2020-12-25T16:47:19.531158
2014-12-20T05:30:00
2014-12-20T05:30:00
41,783,453
10
0
null
2015-09-02T06:12:25
2015-09-02T06:12:25
null
UTF-8
Python
false
false
492
py
#-*- encoding=utf-8 -*- class Station(object): """docstring for Station""" def __init__(self, station_name): super(Station, self).__init__() self.station_name = station_name self.neibor_stations={} self.change=False def addNeibor(self, station_name, timecost): self.neibor_stations[station_name]=timecost ...
[ "leechan8@outlook.com" ]
leechan8@outlook.com
8442183c9909a042b13be80ea1fe9cd51b162c5e
fb64776f71eb2a469395a39c3ff33635eb388357
/apps/accounts/tests/unit/services/test_session_service.py
18ae5c6a9b811a936437f0a623fdd3f5404cbe91
[ "MIT" ]
permissive
jimialex/django-wise
ec79d21c428fd1eea953362890051d2120e19f9e
3fdc01eabdff459b31e016f9f6d1cafc19c5a292
refs/heads/master
2023-04-30T20:59:51.625190
2021-05-10T06:55:40
2021-05-10T06:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,101
py
# -*- coding: utf-8 -*- import json import pytest import requests_mock from doubles import allow from google.oauth2 import id_token from rest_framework import status from apps.accounts.models import User from apps.accounts.api.error_codes import AccountsErrorCodes from apps.contrib.api.exceptions.base import APIBase...
[ "vicobits@gmail.com" ]
vicobits@gmail.com
3dc0d127c7709ce03fc04642998516ad047e4916
e3696f52d24abae3005b21a63a9472aad5c6217d
/coding/cibilsystem/cibilenv/Scripts/django-admin.py
358de2da738f3989b5c61325687bf66f5deb8bc4
[]
no_license
sarath704/cibilscore
67f78465b16d7d8239d9e51ed9b818bf06a6fe45
704cc4de8854cd10240b86f8726ed2c0502be590
refs/heads/master
2020-05-04T07:13:42.594115
2019-02-09T11:26:37
2019-02-09T11:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
#!e:\python projects\cibilsystem\cibilenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "raju.veeravalli707@gmail.com" ]
raju.veeravalli707@gmail.com
4f9e1e2181fbf0b20612f9831d5c15029f1efb5f
01c159ccce4d94b10dd3c0206640732a3eac7324
/data/migrations/0007_project_rating.py
1cc9bd3a0331f36c478c2c30fe8786ed06455ce3
[ "MIT" ]
permissive
mishraanuruddh/reimaginegiving
0c2f0f22f665d227885ba88e07a2a145887bf013
aa43ff598d934efb858f8e5930848458db66a9ad
refs/heads/master
2021-06-14T06:57:28.722420
2017-04-29T17:36:53
2017-04-29T17:36:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-03-05 06:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data', '0006_remove_project_project_page_title'), ] operations = [ migratio...
[ "arjun_mehra97@ymail.com" ]
arjun_mehra97@ymail.com
79a6513c58b37e6cc289f19efd03541fc61b660f
7d789a8dd56bf03566372246799741174c410b6f
/backend/mtc_etedjmodel/mt_connect_app_dj/urls.py
6698e28a3540cf71135e88b653b844cb9640659c
[]
no_license
cecilio-diaz/EcoTecno
2a95e925e8046da37ba0fd9a06390430a955e1c6
e264ad6345d9972605c7a59d7a926385fe5339e6
refs/heads/master
2023-01-28T14:38:24.308444
2019-11-07T00:51:10
2019-11-07T00:51:10
219,706,855
0
0
null
2023-01-05T00:39:03
2019-11-05T09:30:39
Python
UTF-8
Python
false
false
1,477
py
from django.contrib import admin from django.urls import path from django.conf import settings from django.conf.urls import url, include from django.views.static import serve from .views import hello_world from .views import insert_buf...
[ "cecilio-diaz@sisamex.com.mx" ]
cecilio-diaz@sisamex.com.mx
db47d5fc38a06024d4c392f065371e46135a7707
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03608/s871426346.py
ab335095f513950ba52948b0a955d92571997d3a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from scipy.sparse.csgraph import floyd_warshall import numpy as np from itertools import permutations, combinations n,m,R = map(int,input().split()) r=list(map(int,input().split())) for i in range(R): r[i]-=1 d = np.zeros((n,n)) # 入力 for i in range(m): a,b,c = map(int,input().split()) a,b = a-1, b-1 d[...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f48b73913e1767668e60f230c19d0b2d1fe1c2d4
f6f4217fca2da1417a662b5a4b30c317da6fc470
/Features/nlp_utils.py
37cd76afa244cb67a541a7709f68025c25a8299d
[]
no_license
optimus1009/search_result_relevance
8ecf418afc5748f5d4aac3897d17b6ead40adf41
6d6f4e8feb2659853b5d5a92679abe59b53c6642
refs/heads/master
2020-12-25T14:58:43.265054
2016-09-07T02:05:29
2016-09-07T02:05:29
66,049,337
0
0
null
null
null
null
UTF-8
Python
false
false
7,074
py
""" __file__ nlp_utils.py __description__ This file provides functions to perform NLP task, e.g., TF-IDF and POS tagging. __author__ xionglin <optimus1009@163.com> """ import re import sys import nltk from bs4 import BeautifulSoup from replacer import CsvWordReplacer from nltk import pos_tag from sk...
[ "optimus1009@163.com" ]
optimus1009@163.com
b46a6eb03e822010c6bb93ab50e69fc55c1c12ff
bae6c6ebe42ad5b5b7ea2785338e07100a4c2ac3
/main.py
2fc2472635accb97a948d32028ac3beb9c35604e
[]
no_license
duracell80/PirateAudio-MPD
c16ef10be62506d02c039a99d6c4cf19605cd2ef
c995fa0faa95bc0dcfe907cca54eb970879387b0
refs/heads/master
2023-03-24T14:16:47.555153
2021-03-20T02:16:48
2021-03-20T02:16:48
336,626,177
1
0
null
null
null
null
UTF-8
Python
false
false
14,806
py
import signal, os, re, sys, time, subprocess, socket import RPi.GPIO as GPIO import ST7789 from PIL import Image from PIL import ImageDraw from PIL import ImageFont from socket import error as socket_error from mpd import MPDClient, MPDError, CommandError, ConnectionError from time import gmtime, strftime global cl...
[ "lee.jordan@gmail.com" ]
lee.jordan@gmail.com
2e6032e6effc17cd80cd8fbe3e46895505c2b794
b966dc4a0d27cc9fcfa7ec461689ec77e2c199fc
/venv/Scripts/pip-script.py
929ce31ad4e6bb6486fab087a23f10c27546125a
[]
no_license
andnana/py01
476b85ed3d356848502db627f709785e97cde520
4952c905aa7acf9d41e0c4b9418164ddb39a02e8
refs/heads/master
2020-03-08T14:34:19.482717
2018-04-05T10:14:14
2018-04-05T10:14:14
128,189,575
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
#!C:\Users\Administrator\PycharmProjects\test01\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "wangrenjiewang@163.com" ]
wangrenjiewang@163.com
9c62a9df13f4837fc66ddc024d3b4389174a9e3c
a3ea6bccb2746b20e24e89101a45d9f2249ba0af
/week 1/Informatics/l2.py
99ade8f23e403f7ee117811b003ac902f61465c4
[]
no_license
dinaramairambaeva/PP2_2021
c7dde0e6ed272b42bfe66d5d9cf5272e14c50a5f
50966eb933d1e9f8d1bb97fa0c6d9c60c200b855
refs/heads/main
2023-03-13T10:49:31.483358
2021-03-05T16:49:13
2021-03-05T16:49:13
333,098,524
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
a = int(input()) b = int(input()) l = int(input()) n = int(input()) print(2*b*(n-1)+a*(2*n-1)+l*2)
[ "d_mairambaeva@kbtu.kz" ]
d_mairambaeva@kbtu.kz
c3a3b6b8be0edf1d57d02e254b3bf80db9828a1a
bcd2300c6e5aec95525c177900819c013299fad5
/tests/system/providers/google/cloud/gcs/example_sheets.py
415c50725dd5a2bd454a1c1992e475bb87e01e7c
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
baidoosik/airflow
7fd7bdba465f58edcf04a697ac9d62d6d0ee89de
876536ea3c45d5f15fcfbe81eda3ee01a101faa3
refs/heads/master
2022-09-09T08:13:15.543533
2022-08-25T22:31:18
2022-08-25T22:31:18
264,684,619
0
0
Apache-2.0
2020-05-17T14:23:47
2020-05-17T14:23:47
null
UTF-8
Python
false
false
3,886
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
baidoosik.noreply@github.com
f0758fe73bfc5cf5d91b864e429f0fb02bacd71e
9ba54a7ef6aee51c77d05bb253b41b110ad819c6
/FantasyProject/manage.py
1d0701ee48de35136366671b450209fc177ec9bc
[]
no_license
joelstennett81/New_Project_Files
6514628598225e4431fd8d66e98e03a4de0d3d86
9e63a8caceee96149b1c9c0e66a9e3f082f106ad
refs/heads/master
2021-01-07T19:57:34.416483
2020-02-20T05:52:13
2020-02-20T05:52:13
241,803,785
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'FantasyProject.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "ubuntu@ip-172-31-35-63.ec2.internal" ]
ubuntu@ip-172-31-35-63.ec2.internal
56d9545172d93dc81f00b75c4467ced42d10d46d
5e0de59693445ef463e8c6a8c05876aa9d975e9a
/student/views.py
cbd41d5ec89b0e3f8c2689c6ddd658b403c5ec6b
[]
no_license
ZhonggenLi/Student-Management-Web-
e511691f4d625e80b5f4460dce7c13788faffd14
f5a5c30d171a182abe660bccd2c407d3f6ccf7b4
refs/heads/master
2022-12-02T08:05:43.493136
2020-08-09T02:00:19
2020-08-09T02:00:19
285,771,013
0
3
null
null
null
null
UTF-8
Python
false
false
4,785
py
from django.shortcuts import render from django.http import HttpResponse from django.db import models from student.models import Student from django.views.decorators.csrf import csrf_exempt from django.shortcuts import redirect # Create your views here. @csrf_exempt def insert(request): if request.POST: ...
[ "you@example.com" ]
you@example.com
9599446b7a46ce576e02dd3b7250b832bc3efd1e
98fa860a876699a7ac3cbfd74d7a5d9973dc0799
/streaming/app.py
73a3bbdd44e85af117e0b7cc37b66deed037b190
[]
no_license
aiden-dai/ai-spark-kafka
a9c6f36cab1c3a61d3607ebad4a87d4be3e5f9cf
d86a7b341a49ba4df1cd180ad59ea11b37e0d4bf
refs/heads/master
2022-04-08T02:57:23.728500
2020-03-18T07:33:31
2020-03-18T07:33:31
242,065,770
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
'''Use Spark StructedStream to consume kafka topics''' from pyspark.sql import SparkSession from pyspark.sql.functions import from_json from pyspark.sql.types import StructType def main(): servers = '192.168.56.107:9092' topics = 'user_log' spark = SparkSession\ .builder\ .appName("strea...
[ "aiden.dai@gmail.com" ]
aiden.dai@gmail.com
498ed27a9d8171778e2ae36e5ff7f8de388df68d
bce20d1a0716ac4734e066205f77f785cda819e6
/app.py
8c74ffae0da886bc16c2773024349888499b8e1f
[]
no_license
Nithin1375/Hashed-Linker-Dev
8a4b5b20e31e6254ba9d42a7991663dbfff7defe
790347338489a76511f4e908dcc7e0ab69ccf375
refs/heads/master
2023-08-25T13:02:44.144182
2021-10-21T08:51:05
2021-10-21T08:51:05
418,923,616
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello, World!" if __name__ == '__main__': app.run(host='0.0.0.0') print("Hai, Hello")
[ "noreply@github.com" ]
Nithin1375.noreply@github.com
7ec277e496452fcc0a0a111409d59a4edc9000d2
4b246820b6e22898a0a8b5d0a64f6e0f6e61faca
/administrator/templatetags/__init__.py
ba1c2d09f7d2b3e446d3a05f6a035bf413fed6a1
[]
no_license
top1st/Django-Site-Sample
77458b9515ef4d3a3f10e1d995a87b83a9d90f36
068e55a4627dad16d17057d059f81cb5ad9c7ccf
refs/heads/master
2022-12-11T05:02:36.448161
2021-03-19T17:43:23
2021-03-19T17:43:23
227,167,627
0
1
null
2022-11-22T07:37:51
2019-12-10T16:33:51
HTML
UTF-8
Python
false
false
30
py
__author__ = 'shayansalehian'
[ "riguang102@gmail.com" ]
riguang102@gmail.com
2c5e7974069afe82223007f602552e7aa63c0b86
f810836bea801f2fa85418ac7f5f5ffb0f3e0bda
/abc/abc107/B - Grid Compression.py
81b610852a92bc42137f84cad2c058bfd44c6c07
[]
no_license
cocoinit23/atcoder
0afac334233e5f8c75d447f6adf0ddf3942c3b2c
39f6f6f4cc893e794d99c514f2e5adc9009ee8ca
refs/heads/master
2022-08-29T06:01:22.443764
2022-07-29T07:20:05
2022-07-29T07:20:05
226,030,199
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
h, w = map(int, input().split()) grid = [] for i in range(h): temp = list(input()) if set(temp) != {'.'}: grid.append(temp) transpose = [list(x) for x in zip(*grid)] ans = [] for l in transpose: if set(l) != {'.'}: ans.append(l) ans = [list(x) for x in zip(*ans)] for l in ans: print(...
[ "cocoinit23@gmail.com" ]
cocoinit23@gmail.com
23d42de74d03b489f2e51fe784d08a6877779f89
6b7c93ee4dc224e3041cd3df8e1d8ab128144cb8
/dodo.py
27adb2c078501374359755278adfcebcf6302b9e
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
philip-luk-tangent-anim/doit-py
df915b88d7d3e9964f2d1463d3255ae9c415f2da
500731ce25e89f327d190b7b8b3fc02bbd71c0f1
refs/heads/master
2022-09-08T08:44:06.172002
2020-05-24T12:35:05
2020-05-24T12:35:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
import glob import subprocess from doitpy.pyflakes import Pyflakes from doitpy.coverage import PythonPackage, Coverage from doitpy.package import Package from doitpy import docs DOIT_CONFIG = {'default_tasks': ['pyflakes', 'test']} def task_pyflakes(): flakes = Pyflakes() yield flakes.tasks('*.py') yie...
[ "schettino72@gmail.com" ]
schettino72@gmail.com
b98590e375b6fc48f66d64b21aa03c098ed29e85
c9d3b03512dc3b2d268d0e99560889226322487c
/ggH01j/cut_hww_7TeV/mH125bkg/shape.py
0fd39b064743c2b4a2496e9d1923046b12560d07
[]
no_license
latinos/DatacardsConfigurations
57f9d8707b3987de0491c66aa9533f9447cfb043
25827f8f8284d50d680ce1527e3b8c17c27d7c4a
refs/heads/master
2021-01-22T03:05:27.692914
2015-04-13T08:22:02
2015-04-13T08:22:02
14,419,053
0
1
null
null
null
null
UTF-8
Python
false
false
1,174
py
lumi=4.94 chans=['of_0j','of_1j', 'sf_0j', 'sf_1j'] # set of mc samples: 0j1j, vbf mcset='0j1j-mH125' dataset='Data2011' variable='mll' # remember, y:x selection='hww2011' # TTree::Draw style as in h(nx,xmin,xmax, ny,ymin,ymax) # shape range. can be an # - hard-coded label # - a tuple (nx,xmin,xmax) # - 2d tuple (nx...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
d0de368b90bd108a93e42c7d184c161cef3dbc9c
5062f93386cbb25b9dcd077f8d03a5a5ed4b0819
/software/transformers/tests/test_tokenization_transfo_xl.py
1688a9f3a6a658666a00298fe66fab8b546038a6
[ "MIT", "Apache-2.0" ]
permissive
Elbria/xling-SemDiv
16fd386d25b96107dff2835dd9123d6554a20861
4f4f3b1bd1f0aa84164708ccdf49fa11049565dc
refs/heads/master
2023-02-20T03:19:24.075389
2020-12-07T19:00:30
2020-12-07T19:00:30
298,674,813
7
3
MIT
2023-02-10T20:01:52
2020-09-25T20:38:34
Python
UTF-8
Python
false
false
4,215
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "elmpriakou@gmail.com" ]
elmpriakou@gmail.com
3a2c6507f4c805423f50e8689b45a9aa9f1b7965
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4342/codes/1764_1577.py
7620b15a0235fac3283e2333810c92277d214f4a
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
183
py
from numpy import * acel=array(eval(input("aceleracao:"))) vo=array(eval(input("velocidade inicial:"))) N=int(input("numero positivo?")) i=0 t=0 s=(((acel)*(t**2))/2)+ (vo*t) while()
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br