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
bdf17335b93f83a0479b58d5e3febbf6c730f2de
d64f62e9eddb4697755789ae8c963eb7b9211b03
/data/plot_minTimeClimb.py
432c12857cc15c98896a01caa66e1db7852da25b
[]
no_license
naylor-b/om_bench
ec5b0115e299aa58dba215320181d8f43a1ed826
0de5a76b5b36706b602850b5103efbb5a6cc330c
refs/heads/master
2020-03-26T12:27:54.776125
2018-08-02T22:19:57
2018-08-02T22:19:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
""" Create plots for the Beam problem benchmarks. """ from __future__ import print_function from om_bench.post import post_process, BenchPost filename = 'minTimeClimb_state_nl_ln_drv.dat' bp = BenchPost('Min Time Climb') bp.flagtxt="Simultaneous Derivatives" bp.title_driver = "Compute Coloring" bp.special_plot_driv...
[ "kenneth.t.moore-1@nasa.gov" ]
kenneth.t.moore-1@nasa.gov
3cc126f4d09c3e5d014906ac2d74eb41584d7851
d7e5d1820bed236dfbc1d12c61ca7c45e6afec6a
/Que.Common.Test/Distributions/ConstantDistributionTests.py
7790dee7144b32296620596714066c7df567673c
[]
no_license
colgategao/Que
94a28c3da6b6f32e8b9074b9b4426037bafb0157
4752bd3505b418598d6d93b93c0d926699d2a8e9
refs/heads/master
2021-01-16T19:59:42.153084
2015-01-30T00:21:46
2015-01-30T00:21:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
import unittest class ConstantDistributionTests(unittest.TestCase): def MinimumParameter(self): self.fail("Not implemented") def MinusParameter(self): self.fail("Not implemented") if __name__ == '__main__': unittest.main()
[ "andy.wanganqi@gmail.com" ]
andy.wanganqi@gmail.com
68804b8d41d37af3f103a453e4453a04f4b2de44
911805e6496e0f529708c07d60062f16967f0046
/main.py
b548d7f3daf46c697bd8fca52f3cdc6dd6ad5ebb
[ "MIT" ]
permissive
esemeniuc/CycleGAN-Music-Style-Transfer
b370c93280ae19a4a92120ac504370a2a6edf2ae
4010fc6311f30e74fb7e73e9d55c23bb8cf71fbf
refs/heads/master
2020-05-01T18:48:30.386247
2019-01-27T19:09:33
2019-01-27T19:09:33
177,632,340
0
0
MIT
2019-03-25T17:22:23
2019-03-25T17:22:23
null
UTF-8
Python
false
false
5,081
py
import argparse import os import tensorflow as tf from model import cyclegan from style_classifier import Classifer tf.set_random_seed(19) os.environ["CUDA_VISIBLE_DEVICES"] = os.environ['SGE_GPU'] parser = argparse.ArgumentParser(description='') parser.add_argument('--dataset_dir', dest='dataset_dir', default='JAZZ2R...
[ "noreply@github.com" ]
esemeniuc.noreply@github.com
2b9beb0be239d6c0985cc1c591ed3da3f23448e8
49bd144b5d0d4e7588cb4ae26f9531fcc8606065
/ion/util/testing_utils.py
45b9ddf18e9281136135bf4a4a8062729e34c918
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
unwin/coi-services
ba80b8cc77189faf6b0faf04787b3567b6458f8f
43246f46a82e597345507afd7dfc7373cb346afa
refs/heads/master
2021-01-21T03:33:15.541500
2014-07-30T18:21:24
2014-07-30T18:21:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,950
py
#!/usr/bin/env python """Utilities for unit and integration testing""" from pyon.core import bootstrap from pyon.ion.resource import get_restype_lcsm from pyon.public import BadRequest, PRED, RT def create_dummy_resources(res_list, assoc_list=None, container=None): """ Creates all resources of res_list. The...
[ "mmeisinger@ucsd.edu" ]
mmeisinger@ucsd.edu
afec1d064271e059113884278dd49ac4092aeb86
f86a3aa610f22b30b13889b002d15301c3759a13
/rami/bin/rami/bin/easy_install
283dd259b20c13c2214a4c2f2cb0317f7d8c6277
[]
no_license
whosawme/Loglist
17f8f4d0c1fcd8f3129545a28657d94eb604c36b
10e859a92d43be84d217498f2978105d473c665a
refs/heads/master
2020-04-02T08:09:44.107213
2018-11-02T04:57:19
2018-11-02T04:57:19
154,231,814
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/Users/brocks/rami/rami/bin/rami/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ramibhj@gmail.com" ]
ramibhj@gmail.com
921cbba76f26fcb27d90366d3081065543164299
d774c7187cba029012873160ba832ebe24c9b7d3
/api/view_basic.py
5d9c51a905d038c7f4a9b49853d269ae681d55a9
[]
no_license
linyup/CrazyTester
cad8cd974314fe969db4a9cb6e9d4c3ee82a6509
ea12fa133aaa84e35bf726633d1f3e2e008c7d26
refs/heads/master
2023-08-24T11:30:36.194364
2021-11-02T07:20:14
2021-11-02T07:20:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,244
py
from django.http import JsonResponse, FileResponse from django.views.decorators.http import require_http_methods from django.forms.models import model_to_dict from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.conf import settings from concurrent.futures im...
[ "547684776@qq.com" ]
547684776@qq.com
7b45039e57dfbcd87822b96699a38579a3b9b079
c4e5cb5d744c5c0fdf031121073c34016f6a9721
/insureAnts/comView/views.py
a4d6f73dfad534fd6f811707f01de5689e13e361
[]
no_license
nfgrawker/Django_project
0d7e819db025e732596a2034d146e2f668931948
fee58cc419e084b7c4769184b03663b9852db1b4
refs/heads/master
2021-06-15T23:55:39.064692
2021-02-21T16:35:52
2021-02-21T16:35:52
155,213,541
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
from django.shortcuts import render from django.http import HttpResponse from .models import Post def home(request): return render(request, "comView/login.html") def about(request): return render(request, "comView/about.html") def index(request): return render(request, "comView/index.html") def tab...
[ "nfgrawker@gmail.com" ]
nfgrawker@gmail.com
ef8f564e90f6902bd7e910905b8b070b870a167f
9a6bbda7b44ef12895058eac593fd13964209acd
/main.py
f9c9d13dfba51be58128bbbed5164838bd4a6f2e
[]
no_license
m358807551/game_tree
b30369ee3c72e7571b79da4aad7a124eca7822ad
fb45614263e8ce1bd05f9a0ef744e90eac38b5f4
refs/heads/master
2021-01-20T08:07:45.590414
2017-05-03T03:17:14
2017-05-03T03:17:14
90,103,182
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# coding=utf-8 from core import GameTree from game import HorseRace from game import ChampionSolo def main1(): game_tree = GameTree(6, HorseRace) print game_tree.best_strategy(), game_tree.root.weight def main2(): game_tree = GameTree(10, ChampionSolo) print game_tree.best_strategy(), game_tree.root...
[ "mayupeng@wanwujieshu.net" ]
mayupeng@wanwujieshu.net
bcee10fcaec210f62e55fa54bd72e2abe27cc9b7
754188242cd651e6398391f0917e0f3212176874
/icheckgames/templatetags/isUserGame.py
8cab96d4ec0fe269bfe5af8a47aa75ec81628da4
[]
no_license
abhidevmumbai/checkit
7d5fee6f96b891f13dc4bd9b4266ef0328a351d5
93677d6556f47285537bbc3fcc93ac4af30cd211
refs/heads/master
2021-01-13T14:38:03.483501
2013-07-10T12:10:16
2013-07-10T12:10:16
9,027,338
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from django import template from icheckgames.models import GameMap register = template.Library() ''' Template tag function to check if the game exists in the user's list ''' @register.simple_tag def isUserGame(user, obj): try: user.gamemap_set.get(game=obj) return 'checked' except: return
[ "abhishekd@snapstick.com" ]
abhishekd@snapstick.com
8b33329ab9ca98f83c03387c11ff53907a43e3bd
6fa6ad60ef3150176b840de908088ccc34221c16
/venv/Scripts/pip3.6-script.py
f72b1df01b56efdf6e110f807e3b049900fcde9d
[]
no_license
ZeddZoo/Jingle
2212c78364b9931830047ae949d8ea8a31a6fdf1
40aff13614e558cbe5e8ff9405fb30c53a94e6ca
refs/heads/master
2020-04-07T14:19:04.654954
2018-12-05T19:52:14
2018-12-05T19:52:14
158,442,298
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!C:\Users\Ziyi\Desktop\TermProject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "44912877+ZeddZoo@users.noreply.github.com" ]
44912877+ZeddZoo@users.noreply.github.com
05b77809f0e545d0f545d863da90e44de51c2c7d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_077/ch4_2020_03_20_12_34_54_305180.py
a7402ae72f0e4cfe2f3c9cb1eb90a66f7458df8c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
def classifica_idade(x): if x<=11: return (crianca) else: if x<=17 x=>12: return (adolescente) else: if x=>18: return(adulto)
[ "you@example.com" ]
you@example.com
7e1b3ac3647139d0f383dedf5b9d049c36240904
6c782576c19f17ece09548004027991faeddd5a4
/apps/order/models.py
e05fe1220b66320d4b25adfb6ee81215187135d5
[]
no_license
zl6892191/daydayflash
f7db20d0d5153e425e03f5c1f3e44c27e4ce170a
a921a0dd1d12e1586ff4ffdc5b485fb830b8980a
refs/heads/master
2020-03-13T13:56:14.660412
2018-04-26T11:53:03
2018-04-26T11:53:03
131,148,328
0
0
null
null
null
null
UTF-8
Python
false
false
2,293
py
from django.db import models from db.base_model import BaseModel # Create your models here. class OrderInfo(BaseModel): '''订单模型类''' PAY_METHODS = { '1': "货到付款", '2': "微信支付", '3': "支付宝", '4': '银联支付' } PAY_METHOD_CHOICES = ( (1, '货到付款'), (2, '微信支付'), ...
[ "258306908@qq.com" ]
258306908@qq.com
96b1b935b4050b4196ba8415dbd5dc3187a6da93
01c0c44238b060aabbb92c51d77d4f8b9db78b20
/core_application/urls.py
564eb03222670908f32ae30ee665f9b5eedf7688
[]
no_license
Manimaran11/Video_Upload
5312b9cc04d81c07c39355202a5328a8ac1586d4
313a3064b25aca296adfa46718b1cb21109c6121
refs/heads/master
2020-07-31T12:45:50.405805
2019-09-30T13:15:58
2019-09-30T13:15:58
210,607,929
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
from django.contrib import admin from django.urls import path from django.conf import settings from django.conf.urls import include, url # For django versions before 2.0 from django.urls import include, path # For django versions from 2.0 and up from video_application.views import HomeView, NewVideo, CommentView, Log...
[ "pmanimaran097@gmail.com" ]
pmanimaran097@gmail.com
bf296306ff4e50b59c299c2b4abdedafb41ee1ac
df46cf831cba3e2b91e794be6e03f0cbd1f2f8af
/p53.py
19085be8d40163444a5cba5fc64cd3578d6ab333
[]
no_license
manjupinky/Phyton
7653022f8a9b64f7213902c34998e7900f529b5e
711bb5f491a904c1e35b4204223a90d8f3c16a6e
refs/heads/master
2020-03-27T10:10:07.963601
2019-01-22T07:58:54
2019-01-22T07:58:54
146,399,913
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
m=int(input("Enter a number:")) tot=0 while(m>0): dig=m%10 tot=tot+dig m=m//10 print("The total sum of digits is:",tot)
[ "noreply@github.com" ]
manjupinky.noreply@github.com
b78d1274026ad79ba65fd9251177d41ebcc34b16
a17b602c8c2ce0405622c57dd47218b17e57718d
/test_class/language_survey.py
4216813046b47700e3f50d81111a63b623419d6a
[]
no_license
rowlingz/Deepen-learning-Python
a5f2fe75b6633c6786912d23d414d303f1d4ade8
9b55b49b468ff412c5d78773a03279bdc77a3874
refs/heads/master
2020-04-29T15:22:30.453074
2019-06-06T06:52:49
2019-06-06T06:52:49
176,226,038
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
# -*- coding:utf-8 -*- from survey import AnonymousSurvey question = "What language did you first learn to speak?" my_survey = AnonymousSurvey(question) my_survey.show_question() print("Enter 'q' at any time to quit.") while True: response = input("Language: ") if response == 'q': break my_survey...
[ "ning_ML@126.com" ]
ning_ML@126.com
e56c8974cdd56cc2d05bc44a6990af0d31922a37
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/safer.py
3bf006cbfcdbaf4af9ac24ab7cd1eaee344e77e6
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
717
py
ii = [('GodwWSL2.py', 1), ('ChanWS.py', 1), ('WilbRLW4.py', 2), ('WilbRLW5.py', 1), ('LeakWTI3.py', 3), ('PeckJNG.py', 1), ('AdamWEP.py', 1), ('WilbRLW2.py', 1), ('ClarGE2.py', 2), ('CarlTFR.py', 3), ('LyttELD.py', 1), ('CookGHP2.py', 1), ('BailJD1.py', 1), ('MarrFDI2.py', 1), ('ClarGE.py', 1), ('LandWPA.py', 1), ('Gil...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
f7377f4dcd188112ba3335f05acbd16f1b028e75
e0d9844e123fa0706388814b9f29758258589487
/torch/fx/__init__.py
299a3d856477f92494579227c14eea4be406decf
[]
no_license
pigpigman8686/seg
b5cf5261a5744e89ed5e5b145f60b0ccc3ba2c0c
61c3816f7ba76243a872fe5c5fc0dede17026987
refs/heads/master
2023-04-10T22:22:35.035542
2021-04-22T06:24:36
2021-04-22T06:24:36
360,398,108
0
0
null
null
null
null
UTF-8
Python
false
false
3,905
py
# type: ignore r''' **This feature is under a Beta release and its API may change.** FX is a toolkit for developers to use to transform ``nn.Module`` instances. FX consists of three main components: a **symbolic tracer,** an **intermediate representation**, and **Python code generation**. A demonstration of the...
[ "952361195@qq.com" ]
952361195@qq.com
9989efaeb2829d5148283f702b03e74ab10e785c
106bd4733eaf07a2cce1142bf04f729a3374e311
/part03/numpy/code/example_4.py
884ab825fcd1b0e1651940d3e98b7da3dddf03e0
[]
no_license
askmr03/nd-AIPython
d2d06e7b07dc2b6683473646ceb465e67b6fc399
a0c2979f66013c93eefe799dd75d0dd9400ec942
refs/heads/master
2021-10-09T08:44:02.525056
2018-12-24T15:42:35
2018-12-24T15:42:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# We create a 3 x 4 ndarray full of zeros. import numpy as np X = np.zeros((3,4)) # We print X print() print('X = \n', X) print() # We print information about X print('X has dimensions:', X.shape) print('X is an object of type:', type(X)) print('The elements in X are of type:', X.dtype) ''' X = [[0. 0. 0. 0.] [0....
[ "1193094618@qq.com" ]
1193094618@qq.com
a79302a9ae686eca28c7323d67f92a5c18171bb8
ffb8e614efd3837b71962c379a0b1b7924aa941d
/mot_imgnet/mot_util.py
f72436dbc783c62e61b1e973ce8049d14bb52c72
[]
no_license
UniLauX/mot_scripts
877fb22c532016821d6d68d3c2ca7058e6a22ba8
4afcdfee4c0630e6d903ae43cdd8345e0ed6d524
refs/heads/master
2021-06-17T21:05:37.903723
2021-01-21T10:40:43
2021-01-21T10:40:43
133,614,351
0
1
null
null
null
null
UTF-8
Python
false
false
3,463
py
import _init_paths from common_lib import create_dir from common_lib import load_txt_to_strarr from common_lib import save_strarr_to_txt from trans_util import rename_copy_images from trans_util import rename_create_ppmimgs import numpy as np import os debug_flag=True def load_seq_names(seqmap_path): str_arr=load...
[ "UniLau13@gmail.com" ]
UniLau13@gmail.com
7898351cdf2db5e3121b0d53f319ab781f7dc22d
1eb837cd5057f729631bf6ff3cf4c54cee8904d5
/course/migrations/0001_initial.py
3e8c0e9a0bc569dcf0b1efe168a42b70db0e8e50
[]
no_license
andaljulistiawan/pi
214781b777bfcac862773e800ec0657ee0db231b
c8b89b2310fc6e6fd2540b8dc1fcfdf0d3fea188
refs/heads/master
2020-05-30T07:15:37.044228
2016-09-26T12:22:25
2016-09-26T12:22:25
69,248,591
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-15 11:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Course'...
[ "andalwebsite@gmail.com" ]
andalwebsite@gmail.com
d8daf90c06bca790d512d11543a0cd73c5952f96
7d768b5be4213c3ac90648d48d1a322fb8c5c433
/python_code/chuanzhi/python_advance/19/python进程之间通讯.py
523cbae8a97e0e9a695fd5c84ecd6168a1d68bde
[]
no_license
googleliyang/gitbook_cz_python
7da5070b09e760d5e099aeae468c08e705b7da78
c82b7d435dc11016e24cde2bdc4a558f507cb668
refs/heads/master
2020-04-02T17:47:58.400424
2018-12-22T09:48:59
2018-12-22T09:48:59
154,672,309
1
0
null
null
null
null
UTF-8
Python
false
false
754
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @File : python进程之间通讯.py # @Author: ly # @Date : 2018/12/8 import multiprocessing import time def get_data(q): """子进程入口""" while True: if q.empty(): print('队列是空的,一会再来看看') time.sleep(5) else: print('获取到的数据是%s...
[ "yang.li.gogle@gmail.com" ]
yang.li.gogle@gmail.com
0834469882e2c001722a709bdbeb7a79016dafe3
a4538c928e32c698aeca27ef0b87e9bca2917eaf
/Hack_A_Roo/Main.py
26ad27ef6512fedadde192f420704cefe6520a9e
[]
no_license
Tvkqd/Hackathon-F19-IBM2-ConfigPrediction
90be47c77e4f1dbc84f8e29d4f8a491d190ed6db
a45e1d2b0464e96974f018a6374cd51e9738dd89
refs/heads/master
2020-09-06T11:09:47.121512
2019-11-11T01:15:39
2019-11-11T01:15:39
220,408,193
0
0
null
null
null
null
UTF-8
Python
false
false
4,504
py
import dash import dash_core_components as dcc import dash_html_components as html import os from dash.dependencies import Input, Output import Read_input as grph import plotly.graph_objs as go import pandas as pd import csv stylesheets = ['style.css'] py_read_input = __import__('Read_input') m...
[ "noreply@github.com" ]
Tvkqd.noreply@github.com
0652c6246afc94cc1e497a05839624bc3ae6d545
56fcab9393f0ec379e2abb00d2d8eda36f64e823
/uintah/kokkos_src_original/.svn/pristine/06/0652c6246afc94cc1e497a05839624bc3ae6d545.svn-base
b03266be673a189a9145f3f4ad00ba5776bedd11
[ "CC-BY-4.0", "MIT" ]
permissive
damu1000/hypre_ep
4a13a5545ac90b231ca9e0f29f23f041f344afb9
a6701de3d455fa4ee95ac7d79608bffa3eb115ee
refs/heads/master
2023-04-11T11:38:21.157249
2021-08-16T21:50:44
2021-08-16T21:50:44
41,874,948
2
1
null
null
null
null
UTF-8
Python
false
false
28,277
# -*- python -*- # ex: set syntax=python: # This is a sample buildmaster config file. It must be installed as # 'master.cfg' in your buildmaster's base directory (although the filename # can be changed with the --basedir option to 'mktap buildbot master'). # It has one job: define a dictionary named BuildmasterConfig...
[ "damodars@sci.utah.edu" ]
damodars@sci.utah.edu
0424f15c39322d5a2be3e56ef253864e1b0daebc
ba7feebada17c625167e6c76486abfee6485a4e5
/updateDB.py
c89629fc9bce493ecd8a377d261b573d37aaa2af
[]
no_license
MetalChief/PySqlite
6b7889474b59f1d56839e2913c0d1303900bb8dc
7658709e0ebeccc7bb5c8af8edabad7778303e50
refs/heads/master
2020-12-24T18:51:29.326384
2016-04-11T17:55:57
2016-04-11T17:55:57
55,994,735
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
import sqlite3 conn = sqlite3.connect('test.db') print("Opened database successfully") conn.execute("UPDATE COMPANY set SALARY = 25000.00 where ID=1") conn.commit print("Total number of rows updated :", conn.total_changes) cursor = conn.execute("SELECT id, name, address, salary from COMPANY") for row in cursor: ...
[ "robert.parrish@emc.com" ]
robert.parrish@emc.com
c1d6a62788febfe17ebcb9c3c93d8704bf333be0
89b7eb25e742af4457e73fc9d3e04a111d701032
/wals_ml_engine/trainer/wals.py
ef0d5ec156ed4bc9859f8f55619896cc6bd95524
[]
no_license
jkaartoluoma/recommender
43fff3c87ca4eb1c74ef2a6f3c5ddc0495917232
270208c2ee0bc12f6c7f3dccccfc17b6b26ee669
refs/heads/master
2020-04-21T18:13:41.362431
2018-12-11T05:45:39
2018-12-11T05:45:39
169,761,537
1
0
null
null
null
null
UTF-8
Python
false
false
4,791
py
# Copyright 2017 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...
[ "toni.linnusmaki@power.fi" ]
toni.linnusmaki@power.fi
687d0f7a3232b834f7ae60720c06910ae23fd499
14c99d4ab2307b863053f0125be7a5efe6d79247
/check_new_version.py
60c3f6d0b0232d8ea7207a45187d30b551ac4753
[ "LicenseRef-scancode-other-permissive" ]
permissive
rpmfusion/lpf-spotify-client
841c9c9ccfd1067fb082caa47d140a6770294b3c
c32c9fe09fc201ba9acaae04074ea66d0aa037cb
refs/heads/master
2023-06-26T03:02:58.172016
2023-06-20T10:59:38
2023-06-20T10:59:38
44,868,080
32
15
NOASSERTION
2023-06-20T12:36:33
2015-10-24T13:45:48
Python
UTF-8
Python
false
false
3,470
py
#!/usr/bin/python3 """ Warning not complete """ import requests import re import os import subprocess def runme(cmd, env, cwd='.'): """Simple function to run a command and return 0 for success, 1 for failure. cmd is a list of the command and arguments, action is a name for the action (for logging)...
[ "sergio@serjux.com" ]
sergio@serjux.com
477669cb5cb0efaf66edaa6ff6aca74521337e3c
2505145013cc68207006e45ee9f630f0ac17f86c
/打卡/water_catch/Largest_Rectangle_in_Histogram.py
0e597db9c6945e7dd324bcb84206cde601961316
[]
no_license
pppppwj/leetcode
5fb52b278e31780c4ebb05b00ac5a0e01afd97a0
dfefac07a6180a5464723e0a7130b75f17dba7ab
refs/heads/master
2022-11-22T14:04:15.179261
2020-07-23T14:01:27
2020-07-23T14:01:27
275,056,263
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
from typing import List class Solution: def largestRectangleArea(self, heights: List[int]) -> int: # build an non-decreasing stack # store index stack = [-1] res = 0 # return value for i in range(len(heights)): while stack[-1] != -1 and heights[i] < heights[sta...
[ "pppppwj424@gmail.com" ]
pppppwj424@gmail.com
bf46c1b0edefb0117ae1d4116bf7907adfc36c0a
fe3265b72e691c6df8ecd936c25b6d48ac33b59a
/tests/components/zwave_js/test_trigger.py
9ba0080667408c3a9c9a78c166227f89fa8e8673
[ "Apache-2.0" ]
permissive
bdraco/home-assistant
dcaf76c0967783a08eec30ce704e5e9603a2f0ca
bfa315be51371a1b63e04342a0b275a57ae148bd
refs/heads/dev
2023-08-16T10:39:15.479821
2023-02-21T22:38:50
2023-02-21T22:38:50
218,684,806
13
7
Apache-2.0
2023-02-21T23:40:57
2019-10-31T04:33:09
Python
UTF-8
Python
false
false
37,326
py
"""The tests for Z-Wave JS automation triggers.""" from unittest.mock import AsyncMock, patch import pytest import voluptuous as vol from zwave_js_server.const import CommandClass from zwave_js_server.event import Event from zwave_js_server.model.node import Node from homeassistant.components import automation from h...
[ "noreply@github.com" ]
bdraco.noreply@github.com
fd32d0105716ddbb54641b5b71847f1a96c4234d
5077bdb6fe6ff5d57033ea860ca0b3fc4b0e9d6d
/textutils/urls.py
c5489c0fb27af07db9850eeafeb427701fea1391
[]
no_license
mahimajain15/DjangoTutorial
c15a1fcf89c03a029c24035edd3a8acec68938b9
289624975fb604f1ecd0cbaf39fbdd98ad976dc8
refs/heads/master
2023-04-07T04:17:20.649577
2021-04-20T08:00:14
2021-04-20T08:00:14
358,892,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
"""textutils URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "mhuj71@gmail.com" ]
mhuj71@gmail.com
7c771cb3bdbe013b24c7b0740b792d74d8cb0291
df8669aa05188a1fef96e62d338ccbc53cbee7ef
/creator_studio/browser.py
4bf4d20ff7794336fc045bad959c2dfae3c61c1f
[ "MIT" ]
permissive
ttcakan/creator-studio-cli
c09671a820900159da7d8c267c0ff30614b76da9
7f41936f7fd4c554fb6980ceb8a71892161be97e
refs/heads/master
2023-04-08T23:17:41.150797
2021-04-25T16:37:52
2021-04-25T16:37:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
# Based on https://github.com/timgrossmann/InstaPy/blob/c3ad0c869bcaa402a738804b9a20f55a82c12edb/instapy/browser.py import os import zipfile from os.path import sep from selenium import webdriver from selenium.webdriver.support import expected_conditions from selenium.webdriver.common.by import By from selenium.webdri...
[ "arielbmx@gmail.com" ]
arielbmx@gmail.com
baf7d0a020964d53a1bf7820b75b47ea6d2a4374
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2192/60749/255887.py
25886eaee6c3c12836597ac57bcd59d71f4b0f4e
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
476
py
n=int(input()) num_array=[] for h in range(n): num_array.append(int(input())) def create_array(n): temp=n res=[] res.append(n) while n>0: n=n-5 res.append(n) while not n==temp: n=n+5 res.append(n) strresult=str(res[0]) for n in range(1,len(res)): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
aa72db0ec08bac80fbbb175811636cc6ec36d50a
02a77a02712e3238b9e50d195071c7f25c59fe45
/utils/dataset/__init__.py
b3f543cceb2bde2881fe9ca264233e81b0339cd0
[]
no_license
grayondream/meachinelearning-note
21baecc830dafd58d604ba8397c7bfb390cdc9b7
76721ac4d7fcbd988322abe3acb00335c6379896
refs/heads/master
2021-01-04T19:10:37.712166
2020-02-29T05:45:51
2020-02-29T05:45:51
240,723,245
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from utils.dataset import mnist_txt
[ "grayondream@outlook.com" ]
grayondream@outlook.com
4f5227625d1d2d45ae9fd7172c7c18d96ab64079
16518c32f44a3cc32014e77876a4f224e6858239
/bullet.py
0a0ddd5c98be3235fc6ffde43d462f8ec117bdc5
[]
no_license
NOVIAS/python_game
d0b40e4844ea94601c3a82e2992c4166a19edc4e
02a227a93b64c9f87ded7398f6d700d9cd006f42
refs/heads/master
2023-08-19T02:25:26.787254
2021-10-10T17:12:43
2021-10-10T17:12:43
415,644,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
# -*- coding: utf-8 -*- import pygame from pygame.sprite import Sprite class Bullet(Sprite): """一个对飞船发射的子弹进行管理的类""" def __init__(self, ai_settings, screen, ship): """在飞船所处的位置创建一个子弹对象""" # 在Python2.7中 super(Bullet, self).__init__() super().__init__() self.screen = screen ...
[ "275411032@qq.com" ]
275411032@qq.com
f4b94f3e9e0062f993da8ec1d1f47416023b7a9d
3bda8ddc752bc853173d34c2f8f6dbef114cb496
/client.py
f752435cb45b2582c6b752b4e8b93d1527570fa0
[]
no_license
DiegoBrando/ParkingTickets
fc026d6d48316a32e22ca621bf563d24341adbb0
4fb7ebe2dc36fd253e6083bbda15c2ebf7160268
refs/heads/master
2020-06-27T10:08:55.392912
2019-08-07T17:07:53
2019-08-07T17:07:53
199,923,240
0
0
null
2019-08-07T17:06:51
2019-07-31T20:19:07
Python
UTF-8
Python
false
false
162
py
import http.client, subprocess c = http.client.HTTPConnection('localhost', 8080) c.request('POST', '/return', '{}') doc = c.getresponse().read() print (doc)
[ "noreply@github.com" ]
DiegoBrando.noreply@github.com
196fae2abddb6f536ddcc1d1432dead22b6d7268
e2dbf4f4101193ce7a3c02d9c02c5518776e73b1
/python_scripts/inputs.py
e8a445e621912541cf4df5b12d1d5b0bd7a67934
[]
no_license
chaitnyap/LearnPython
267319cc5f8e9279bf12d653251bb6c42cb126f5
d5a56c13fc736e031a59f304f81c7d52b46f0a54
refs/heads/master
2021-01-22T01:28:02.466679
2016-03-01T11:51:30
2016-03-01T11:51:30
40,639,073
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
name = raw_input("What's your name? ") print("Nice to meet you " + name + "!") age = input("Your age? ") print("So, you are are already " + str(age) + " years old, " + name + "!")
[ "chaitanya.padmanabha@gmail.com" ]
chaitanya.padmanabha@gmail.com
452a9dd951bab0c8c5ab851f0aa3f710bc70ccba
01df510517e5afad80b788c36203500854adadf9
/post_rec/retrievers/utils.py
4386efa24a2fbe64b0f1171d51609abd01110a93
[ "MIT" ]
permissive
AnonymousAuthor2013/PostRec
903511f16afa0db34ad28e5cd104b52c4f61a656
a1461f716d177e28b96ca29d1398f96b5717c1e1
refs/heads/master
2020-08-16T09:16:54.510718
2019-10-16T07:47:39
2019-10-16T07:47:39
215,484,558
0
0
null
null
null
null
UTF-8
Python
false
false
4,238
py
#!/usr/bin/env python3 # Copyright 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. """Various retriever utilities.""" import regex import unicodedata import numpy as np import scipy.sparse as s...
[ "bird@local.com" ]
bird@local.com
6e33cdf39320e6c2df41154a8f321dce893e11fa
29d7b72e11e5e8050bf743784a3634ea0f080a32
/shop_app/migrations/0014_auto_20210205_0928.py
1f442cdfaacd4de60a190dc91e1aec548a6a0797
[]
no_license
vincenttpham/dekage
8c3633235afee6c207c33d7108b58f3f555d855d
a5e380eb98a983de7317558ecca2aa1d906002da
refs/heads/main
2023-04-21T12:19:03.898801
2021-05-09T00:36:56
2021-05-09T00:36:56
341,022,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
# Generated by Django 2.2 on 2021-02-05 09:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('shop_app', '0013_auto_20210202_0808'), ] operations = [ migrations.RemoveField( model_name='order...
[ "crystalpham@Crystals-MacBook-Pro.local" ]
crystalpham@Crystals-MacBook-Pro.local
77acd000454de9ab3b5c63d587d238b9c83ccf21
8c86ff06a497951d3dce7013d788d6c66d81ab95
/django_bot/wsgi.py
f41944068cdccea5b124907c429a0042e0778c41
[]
no_license
JbFiras/text_to_speech_django
2748277cf970a5b064b838c44bd5778882e2e750
5f9bc481600f0524571fad47247c530e96605157
refs/heads/master
2023-06-03T06:26:27.405605
2021-06-23T17:45:59
2021-06-23T17:45:59
379,662,508
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for django_bot 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefau...
[ "contact@firas-jebari.tn" ]
contact@firas-jebari.tn
31df903c93b46a64456a045d42597dda7821cd78
477c5151e660c48bfe3ccb39d2b3db4f597fece0
/src/audio_all_methods.py
8e706873d43453a4e731ea3797d63424bcfc3a21
[]
no_license
pcatrou/microtonal_analysis
f114c2d1726d04720ac07270c7ba1975955f218a
a49692f87c4f50fd39402b9d88d731a677c5a28d
refs/heads/master
2023-04-05T23:59:36.787254
2021-01-15T21:41:34
2021-01-15T21:41:34
263,392,964
2
0
null
null
null
null
UTF-8
Python
false
false
5,361
py
import numpy as np import Consts def getEnvelope(ampl,timeCoeff): """ Get the amplitude envelope of audio data. the time indent is changed to timeCoeff Parameters: ampl,timeCoeff Returns: filteredEnvelope """ absAmpl = abs(ampl) envelope = np.array([]) #tempEnvelope = ...
[ "pierre.catrou@soprasteria.com" ]
pierre.catrou@soprasteria.com
0398c1d28746bd743831ad38b969e6134ea35f2b
1d63231cf30e8e78c8d2b8251ecd4510d51bd719
/models/Pooling.py
6e4682cd285f079ebe35c263550128d48d3127ac
[]
no_license
yiique/NNSample
f2ab6b5e02f1082e57f75f6abe466aa71e76182c
9be59d06103fab03dca2a7883c3fc00c7389f911
refs/heads/master
2021-01-17T20:02:58.457376
2016-10-27T14:04:43
2016-10-27T14:04:43
68,720,082
0
0
null
2016-10-27T14:04:44
2016-09-20T14:27:37
Python
UTF-8
Python
false
false
544
py
__author__ = 'liushuman' import theano import theano.tensor as T class Pooling(object): def __init__(self): self.funcs = {'max': self._max, 'mean': self._mean} def apply(self, func_input, pooling_type='mean', axis=0): return self.funcs[pooling_type](func_input, axis) ...
[ "liushuman@liushumandeMBP.lan" ]
liushuman@liushumandeMBP.lan
c3434314b45e3c67d995ecb3881a9f05295156d4
1c12c0fe769a6a77e163a67adcb66387e30c048a
/Objects and Classes/03. Catalogue.py
e8a1861af32e4e293430f3a50f4466362f95db82
[]
no_license
dvasilev7/PYTHON-FUNDAMENTALS
cdf352a8a86476be31155cd01c34efb98cfb2107
207e5b395c526a9ab084f49ad54bb538517c2c3f
refs/heads/main
2023-05-30T07:26:47.516972
2021-06-06T23:26:04
2021-06-06T23:26:04
374,481,271
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
class Catalogue: def __init__(self, name): self.name = name self.products = [] def add_product(self, product): self.products.append(product) return self.products def get_by_letter(self, first_letter): letter_product = [product for product in self.produ...
[ "noreply@github.com" ]
dvasilev7.noreply@github.com
3186f56bf069df1eb3a2f3a919312fc39e5d8de3
31e24feab52e96bc3b23c8e56008b6caa7d85d14
/test.py
d0e2b0a7dc14c63aec98a9d30e22283aa04564d4
[ "MIT" ]
permissive
rbentl/codeastro_workshop
d3f9871acafdf94f52ca0d293e18061b36167895
9eddc296870c5d83ced95cc8c5d2a37fdcf7b516
refs/heads/master
2022-11-11T05:13:02.706886
2020-06-26T13:18:21
2020-06-26T13:18:21
274,463,173
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
import numpy as np import matplotlib.pyplot as plt def test_func(x,y): '''plot x versus y arguments: x (int, float, or array) : x value to be plotted y (int, flot, or array) : y value to be plotted returns: plot ''' plt.plot(x,y) plt.show()
[ "kkosmo@hera.astro.ucla.edu" ]
kkosmo@hera.astro.ucla.edu
3b3da3282e3f27fb4816e1c1a632967c66cf953c
f6bb653ea93b5dc1a84902045ff3ce123e25d8e4
/pyJoules/energy_device/__init__.py
0a237375ba4cc978704518ec5cb2de7d87eeed3b
[ "MIT" ]
permissive
danglotb/pyJoules
e6969295566ffe349bb38574a00b743812a19180
33cbce258b89d7cf4dbfc1f944c7ad3fdcd51fe9
refs/heads/master
2022-12-17T05:17:01.196809
2020-07-15T14:26:53
2020-07-15T14:26:53
294,377,549
0
0
null
2020-09-10T10:28:29
2020-09-10T10:28:28
null
UTF-8
Python
false
false
1,324
py
# MIT License # Copyright (c) 2019, INRIA # Copyright (c) 2019, University of Lille # All rights reserved. # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including witho...
[ "arthur.d-azemar@inria.fr" ]
arthur.d-azemar@inria.fr
d0d33c23e9d9c46de7523b766d1dbb15a15e8608
25b3917e9726d099e4b46457c02dd0a74a17e064
/views.py
d04f1f7cc6c89afc92b0557ea3d3a47c613dfbc1
[]
no_license
phzhou/fbpixels
3fdf6401edbd1e176c5a6cd05f4cad1059d73807
76e6b38b0936523da72f8b602627aca9ce8ef3e9
refs/heads/master
2020-04-24T07:36:12.401420
2015-08-21T10:15:23
2015-08-21T10:15:23
41,147,981
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
import os import json from django.shortcuts import render def _load_messages(language): messages = {} message_path = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'static', 'messages', ) with open(os.path.join(message_path, "{}.json".format(language))) as f: ...
[ "phzhou@fb.com" ]
phzhou@fb.com
2a21f263366b6468aa7ef284fc7512d886555783
c1a1feb7751a70b2d6be3329db59553f8eca1d50
/tictactoe.py
0431854e8d6e53f2c6745e1a0ea48256a76dcad5
[]
no_license
mohaned2014/tic-tac-toc-AI
d87f6c71cb9269eeb4f85a54354972318577088e
0b52c92010a2353c1f1cb297369c78dad76dafc1
refs/heads/main
2023-01-21T02:50:39.878136
2020-11-27T16:02:58
2020-11-27T16:02:58
316,543,466
1
0
null
null
null
null
UTF-8
Python
false
false
3,776
py
""" Tic Tac Toe Player """ import math import copy import itertools X = "X" O = "O" EMPTY = None OO = 2 def initial_state(): """ Returns starting state of the board. """ return [[EMPTY, EMPTY, EMPTY], [EMPTY, EMPTY, EMPTY], [EMPTY, EMPTY, EMPTY]] def player(board): """ ...
[ "noreply@github.com" ]
mohaned2014.noreply@github.com
3a613be69385dcd229fc2a155a7e9bda7986a3d5
781b2bb35f11d127b3d88ac98574fc7d6dfc9cd9
/challenges/bitwise_and.py
06508f1002ae93bd4cee3f51e5ff8ebab8012ee5
[]
no_license
ritakalach/30-days-of-code
4cb2632a466035cade1c7a27a671118d0660778e
0c7b664c4b080427bc55f825d50f0db911d37e52
refs/heads/master
2022-11-08T07:19:34.799772
2020-06-22T23:44:45
2020-06-22T23:44:45
266,652,769
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
""" Given set S={1,2,3,...,N}. Find two integers, A and B (where A<B), from set S such that the value of A&B is the maximum possible and also less than a given integer, K. In this case, & represents the bitwise AND operator. """ if __name__ == '__main__': t = int(input()) for t_itr in range(t): nk = ...
[ "noreply@github.com" ]
ritakalach.noreply@github.com
64b06549090a2328b37edbbe08647ddc6732d394
3954123eb61480728b6d1bf08f5a9c427dfb40f5
/models/research/object_detection/Object_detection_mango_video.py
c435737993b66fa8bafcefd9a1b35102a6b8dc37
[]
no_license
marufm1/CSE327_SEC4_PROJECT
2f135c30b49b744cff5c734d1a0200de64177623
7059afa277be122f1cee6436e24c5ecdc0d3b265
refs/heads/master
2020-03-26T17:33:57.235141
2018-09-01T22:22:58
2018-09-01T22:22:58
145,168,366
1
0
null
2018-09-01T22:14:32
2018-08-17T21:32:45
Jupyter Notebook
UTF-8
Python
false
false
2,697
py
######## Video Object Detection Using Tensorflow-trained Classifier ######### #importing necessary packages for video classification import os import cv2 import numpy as np import tensorflow as tf import sys sys.path.append("..") #imported utilities also visualization_utils_db for fruits database from utils import ...
[ "41270492+samdi18@users.noreply.github.com" ]
41270492+samdi18@users.noreply.github.com
1af1c0fc788966de47dd6149a7a646e205c1e8b1
b40941f5fde614077d921c2cefa8449f1263616d
/EJECUTABLEv1.py
101678feaca152732740147589b054feb8fd7924
[]
no_license
santywin/dropoutv4
8729b329ac39b17ab9d83d97883f466d84088b00
7be9231cb93a824c56fb4d0ad67203be57008663
refs/heads/master
2023-07-13T10:52:10.449999
2021-08-30T20:54:27
2021-08-30T20:54:27
401,483,649
0
0
null
null
null
null
UTF-8
Python
false
false
13,717
py
import downDB import get_estudiantes import get_calificaciones import calcVar import final as finalpy #import predRF import pandas as pd import predict import predictEnsemble import stats_pred from sqlalchemy import create_engine #import psycopg2, psycopg2.extras from numpy import inf import numpy as np import features...
[ "santywin@gmail.com" ]
santywin@gmail.com
c38d76a201b1ed71fbbbec2cf297732fed8cabf7
d54c097b370c23855870ce1608c636c3fc972d40
/app.py
b06f2f67cb614addf6686666d292f6dd20e0b4de
[]
no_license
NirmalaYarra/first-test-repo
132331d10d14338a3c83f27ed19cd15a6dd78527
08e1b5e860cc49f16011110ef65def6ad684d60a
refs/heads/master
2022-12-31T04:28:47.847912
2020-10-19T09:04:50
2020-10-19T09:04:50
304,389,798
0
1
null
null
null
null
UTF-8
Python
false
false
803
py
from flask import Flask,request from flask_restful import Resource, Api app = Flask(__name__) api = Api(app) items = [] class Item(Resource): def get(self, name): item = next(filter(lambda x:x[item] == name,items),None) return {"item":item} ,200 if item else 404 def post(self, name): ...
[ "Prettyboy@As-MacBook-Pro.local" ]
Prettyboy@As-MacBook-Pro.local
3361f066f273aebe570ccb9b43cb5ddabf1462e8
0f667da9f75d40bde8f7b214252f593c65d995e8
/models/end_task_base_model.py
d2e1cd6895d37eb62fc338539d84d7d03ff412f0
[ "Apache-2.0" ]
permissive
gabrielsluz/vince
bf57095753a574bd0a517e30960d799892d80ee1
f4e17a2cf70c080a7e01e46d15537e33224c869b
refs/heads/master
2022-12-29T05:02:39.785180
2020-10-14T18:46:51
2020-10-14T18:46:51
296,189,600
0
0
Apache-2.0
2020-09-17T01:43:49
2020-09-17T01:43:44
null
UTF-8
Python
false
false
544
py
import abc from typing import Optional, Dict, Tuple import numpy as np import torch from models.base_model import BaseModel class EndTaskBaseModel(BaseModel, abc.ABC): def loss(self, network_outputs: Optional[Dict]) -> Dict[str, Optional[Tuple[float, torch.Tensor]]]: raise NotImplementedError def g...
[ "xkcd@cs.washington.edu" ]
xkcd@cs.washington.edu
06c2df76eff3179105e706f44548eaad7bca81d2
8b00abf4cc113c291971f55c4d4ba70bbf6bb1aa
/lesson_06/decoTest.py
03021940788ed7171b766814869105f0c836c03e
[]
no_license
leisuchu/python
2a20619afe64afc81c0663ea518747b56beeb659
e2f0acd21482e8d9c87f0ffa7936cc57efc057a9
refs/heads/master
2022-11-27T22:48:36.102571
2020-08-06T13:09:53
2020-08-06T13:09:53
284,967,531
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# 修饰器学习 import time def spendTime(func): def warrer(): start = time.time() func() end = time.time() return end - start return warrer @spendTime def ctForLoop(): ls = []; for i in range(1000000): ls.append(i) @spendTime def newForLoop(): [i for i in rang...
[ "363126838@qq.com" ]
363126838@qq.com
4e46b239e76f67a7f5b3f691893a6d24bf7113d4
9f1ad344da83b4b02a05bc4ba7e163b957191323
/son-fsm-examples/monitoring/test/alert.py
7e0e148b67f10811b4566892bceeaec5baa1b2f3
[ "Apache-2.0" ]
permissive
mehraghdam/son-sm
3340e6c84da0ef157b9db6cd93363765f5a29e0a
f276018856ce9332b2d3530bab6a56989c991028
refs/heads/master
2020-05-25T18:51:42.681954
2017-03-02T15:43:03
2017-03-02T15:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,623
py
""" Copyright (c) 2015 SONATA-NFV 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 agreed to in...
[ "hadi_ksr_2004@yahoo.com" ]
hadi_ksr_2004@yahoo.com
5ad6e2afea33ec765d6f2204acc87b47403a5697
804d501d0e12981dd9531e21f98c4362c88a820f
/SevenWAYS/SevenWAYS/settings.py
92bc20c0729b716e55251af86957713b1a5af8b4
[]
no_license
Farad2020/SevenWAYS
1157c1f3c91803c1fefc4430aa236409e935232d
849681b8a55b71089140bd8cf044c2a2d14a3a40
refs/heads/master
2022-11-21T10:54:42.807414
2020-07-17T23:57:47
2020-07-17T23:57:47
280,533,429
0
0
null
null
null
null
UTF-8
Python
false
false
3,276
py
""" Django settings for SevenWAYS project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "fnirc@mail.ru" ]
fnirc@mail.ru
847a494f7e3525d879724351003eb1bde72ac82d
45e49fe63320b8dc0b1e7f9f82896b2ac4163a95
/test_helpers/tf_test_hit.py
dd8a28ca113a99ed87f4c5bec8853dafd7931b76
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
MyOwnClone/tweak_af
67b6a4a0d0171e1ffa5278fdc853a4410a298f21
d18ced0522a980e52edf65792f897ecc58e7b33d
refs/heads/master
2022-12-15T10:53:54.658058
2020-09-14T19:16:50
2020-09-14T19:16:50
292,057,648
4
0
null
null
null
null
UTF-8
Python
false
false
192
py
from tweak_af import tf def dummy_function(): print("I quit!") return 42 while True: returned_value = tf(lambda: dummy_function()) if returned_value == 42: exit(0)
[ "tomas.vymazal@gmail.com" ]
tomas.vymazal@gmail.com
060350e3a8da78b116c73280d804e9458e73c258
4ca44b7bdb470fcbbd60c2868706dbd42b1984c9
/20.03.29/2016_calendar_5515.py
cad16966dac33cc4e9e100aaa95a513481fde389
[]
no_license
titiman1013/Algorithm
3b3d14b3e2f0cbc4859029eb73ad959ec8778629
8a67e36931c42422779a4c90859b665ee468255b
refs/heads/master
2023-06-29T17:04:40.015311
2021-07-06T01:37:29
2021-07-06T01:37:29
242,510,483
2
0
null
null
null
null
UTF-8
Python
false
false
615
py
import sys; sys.stdin = open('2016_calendar.txt', 'r') for tc in range(1, int(input())+1): m, d = map(int, input().split()) # 1월 1일이 금요일 / 2월을 29일까지 # 월화수목 ... => 0 1 2 3 ... list_31 = [1, 3, 5, 7, 8, 10, 12] list_30 = [4, 6, 9, 11] list_29 = [2] start = 4 # 월 지날때 일수 더해주는 계산 f...
[ "hyunsukr1013@gmail.com" ]
hyunsukr1013@gmail.com
45d19ee45e16fcf2ba6377c39776d4d1745ff31a
171ea5737fa9cb0ef763e0ba20847e1ba61c0199
/assignment2/ie590/layer_utils.py
88538bb217dc260dced7a903168bc2b84b4f8e54
[]
no_license
ShuzhanSun/IE59000_Deep_Learning_In_Machine_Vision
0be6d2eefe3ed203c385b0995cca426b89acb566
ef9c823277c69d4f25487a4db3c48fddd1ec1107
refs/heads/master
2022-12-08T10:31:50.314933
2019-12-16T03:01:35
2019-12-16T03:01:35
209,534,434
0
0
null
2022-11-22T02:41:19
2019-09-19T11:17:18
Jupyter Notebook
UTF-8
Python
false
false
6,487
py
from ie590.layers import * from ie590.fast_layers import * def affine_leaky_relu_forward(x, w, b): """ Convenience layer that perorms an affine transform followed by a Leaky ReLU Inputs: - x: Input to the affine layer - w, b: Weights for the affine layer Returns a tuple of: - out: Output ...
[ "sun630@purdue.edu" ]
sun630@purdue.edu
d04e54f5130361e3fe585a2ba187137808d4ab98
9292ccf53497f168e9e7db404c8ca9bc906f5e95
/Geometry/223_rectangleArea.py
a88e3cd50da3f75aeffa36bb8823589e963a9a41
[]
no_license
ZheyuWalker/Leetcode-in-python
510a25eded77fe2e6d8192b15da9769b445e62f1
d99019d07b2178bb17f0d1f7a6eafc69c2e5cdd9
refs/heads/master
2023-01-23T17:02:09.412318
2023-01-21T14:48:46
2023-01-21T14:48:46
150,246,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
''' Given the coordinates of two rectilinear rectangles in a 2D plane, return the total area covered by the two rectangles. The first rectangle is defined by its bottom-left corner (ax1, ay1) and its top-right corner (ax2, ay2). The second rectangle is defined by its bottom-left corner (bx1, by1) and its top-right co...
[ "zheyu_chaser@foxmail.com" ]
zheyu_chaser@foxmail.com
143612b36b65d1518138ee99aaacbdfe96a36ab9
c1c9d9e52727a3480a4f3255f53920d9c78b68ba
/cis498/mongodb/customers.py
1e7d0ff8af630be1cff20bdc591b6af12eca7347
[]
no_license
carlosmoreno2020/cis498Final
f6ee4afe699adcf3a4fe87fbfbb94b93d5ebcdf9
757802e8e7f8a1b060d7608a65b59fe0ca079202
refs/heads/master
2022-07-14T18:30:15.777912
2020-05-12T00:21:16
2020-05-12T00:21:16
263,181,120
0
0
null
2020-05-12T00:12:11
2020-05-11T23:22:31
null
UTF-8
Python
false
false
1,957
py
from cis498.mongodb.mongoclient import MongoClientHelper class Customers: # Established mongo connection and customers collection def __init__(self): self.mc = MongoClientHelper() self.customers_db = self.mc.db['customers'] def createCustomer(self, form): name = form.cleaned_data...
[ "kridler240@gmail.com" ]
kridler240@gmail.com
303a75cf73d6d544d98ad4d47583f62fd528836d
8fef7e2eced3ac03018d56cb2c2026ef17b98fda
/lab_14_1.py
f23690d52fae5c505e7ccc893fadf23d6a5e3468
[]
no_license
Igor-Polatajko/python-labs
089536edf79a35e29fd613733c052314fb159b09
091b5c5d798414889c1919d6507373d848d57614
refs/heads/master
2020-08-31T22:44:34.529776
2020-01-04T00:25:49
2020-01-04T00:25:49
218,804,180
0
0
null
null
null
null
UTF-8
Python
false
false
8,249
py
#!/usr/bin/env python import sqlite3 ITEM_PRIORITY = {'1': 'HIGH (1)', '2': 'NORMAL (2)', '3': 'LOW (3)'} class ToDoItem: def __init__(self, item_id, title, content, priority, completed): self.item_id = item_id self.title = title self.content = content self.priority = priority ...
[ "igor.bogdanovich39@gmail.com" ]
igor.bogdanovich39@gmail.com
0f525147539707c4ee461b2a614a896a4ab24427
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/beta/schemaextensions_beta/azext_schemaextensions_beta/generated/custom.py
9ed2ef7a2cad12e4916e3c911ac6eb7d1a783fc8
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
4,071
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
c54e85c876571404918d3ee5e9f03ce8a13da536
57a348eb0ebd82a7039a076445f21f10248b7c32
/setup.py
bfa6199c38f86f178bcd93208ee47843a7e4a4ea
[ "Python-2.0" ]
permissive
blamarvt/cerealizer
8f0bd231213717c1aa98b12d1a98dc823c8805ce
75b53623a1537728a31d9595003e7c7e582600f3
refs/heads/master
2021-01-01T03:56:09.337596
2016-05-16T14:35:52
2016-05-16T14:35:52
58,739,253
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
#! /usr/bin/env python # Cerealizer # Copyright (C) 2005-2012 Jean-Baptiste LAMY # # This program is free software. # It is available under the Python licence. import os.path import setuptools import sys setuptools.setup( name = "Cerealizer", version = "0.9.0", license = "Python licence", descriptio...
[ "brian.lamar@omnivore.io" ]
brian.lamar@omnivore.io
0d88c5d4df30bb424004664f1772b2177effb895
8f34c6548eda6f97094036136cedbaafcaf099fc
/src/burks_sim/gaussianMixtures.py
021fb4ad96808f8c32d705aac4a6c50ffd235223
[ "MIT" ]
permissive
sharanjeetsinghmago/online_reward_shaping
f7a4641541fc48ac3442a8ef0dbf35798cdcad09
55ac60f59ea6cc48fc8a788625aa50ff08453c1d
refs/heads/master
2023-08-07T03:10:37.202849
2019-08-22T20:32:06
2019-08-22T20:32:06
193,143,367
0
0
MIT
2023-07-22T08:58:53
2019-06-21T18:27:38
Python
UTF-8
Python
false
false
29,430
py
#!/usr/bin/env python from __future__ import division ''' *********************************************************** File: gaussianMixtures.py Classes: GM,Gaussian Allows for the creation, use, and compression of mixtures of multivariate normals, or Gaussian Mixture Models (GMM). Version 1.3.5: added normalized IS...
[ "matthew.luebbers@colorado.edu" ]
matthew.luebbers@colorado.edu
2b077ef9b1f4711fd171d4573c7c3bee70cb0122
96e03ae90e906e8dea62dd495b2d10679c4a4489
/YelpCamp/manage.py
86cb701f6f0ba88b2c1b743b591b7b64dc237bc9
[]
no_license
ryanMiranda98/YelpCamp
0cbb9776aa6dd28849e1be776b278adcef364d98
f369f41f67a0fbb00fa2d831e1df8ffd7c0530c8
refs/heads/master
2021-02-07T16:31:55.982852
2020-03-03T11:25:17
2020-03-03T11:25:17
244,051,691
0
0
null
null
null
null
UTF-8
Python
false
false
628
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', 'YelpCamp.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "ryanjude.miranda@gmail.com" ]
ryanjude.miranda@gmail.com
6b4cdd9254180d22591588ada9e0d4b49941a84e
acff427a36d6340486ff747ae9e52f05a4b027f2
/main/programming/language/perl/perl-JSON/actions.py
406126c3b23c3ef8a36f701469832a2f10bc1367
[]
no_license
jeremie1112/pisilinux
8f5a03212de0c1b2453132dd879d8c1556bb4ff7
d0643b537d78208174a4eeb5effeb9cb63c2ef4f
refs/heads/master
2020-03-31T10:12:21.253540
2018-10-08T18:53:50
2018-10-08T18:53:50
152,126,584
2
1
null
2018-10-08T18:24:17
2018-10-08T18:24:17
null
UTF-8
Python
false
false
531
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import perlmodules from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSIO...
[ "erkanisik@yahoo.com" ]
erkanisik@yahoo.com
b9c2f137115eb5978937bc2aed8add1ebb519386
e10ff4ab332f88418c8d74c1b9d15130af7662ec
/loginadmin.py
c3f4c8801ccf08543af8fed3c4f2b5eb76e5b972
[]
no_license
Skull1991/Nitesh-Employee
eecb2f41b1888208fd3c48f2541f2cb4f8f6865d
1572be5551146abbe441ed77f5bdc45a3d479330
refs/heads/master
2023-07-14T16:20:46.025271
2021-08-22T11:20:21
2021-08-22T11:20:21
398,762,663
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
from tkinter import * from tkinter import messagebox from PIL import Image,ImageTk import os root=Tk() root.geometry("1366x768+60+10") root.resizable(0, 0) global e1 global e2 def ok(): uname=e1.get() password=e2.get() if(uname==""and password==""): messagebox.showinfo("","Blank Not Allowed") ...
[ "skull.shanto10@gmail.com" ]
skull.shanto10@gmail.com
6d4853e5820ffc6d3d4ed4902424ee265288cdae
ca3d5eeb740b372095d9169591a572d32efd672e
/script/utils.py
e47222fe96eab2ec2399f73a75f12cfe4ae477f5
[]
no_license
JianqiaoAirport/SARN_CTR
514a23b49414cbe049c503adaa3cc7ca143cff38
b3467be05eca4c2374c3f5341a61ed9273babd0a
refs/heads/master
2022-05-30T14:45:33.382155
2020-05-01T06:10:58
2020-05-01T06:10:58
260,198,437
0
0
null
null
null
null
UTF-8
Python
false
false
22,694
py
# -*- coding: UTF-8 -*- import tensorflow as tf from tensorflow.python.ops.rnn_cell import * from tensorflow.python.ops.rnn_cell_impl import _Linear from tensorflow import keras from tensorflow.python.ops import math_ops from tensorflow.python.ops import init_ops from tensorflow.python.ops import array_ops fro...
[ "rommeldhy@163.com" ]
rommeldhy@163.com
b6974055275f4d4c538d2f027d95efb2b3997546
0de9850635f48fd7851340c19e78f5bcebfd917b
/lampara.py
6f954c3f98d74f47fb88ff4a303e06d8bc6a24e9
[]
no_license
tzalejo/pyhton-base
133f94072f8ad9da7f9311e7434a3d5fa08269bf
a463e05b60b79e4c0e2d1c38932a86696fce826d
refs/heads/main
2023-01-14T14:30:08.420197
2020-11-30T04:58:22
2020-11-30T04:58:22
317,115,088
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
class Lampara: def __init__(self): pass
[ "tzalejo@gmail.com" ]
tzalejo@gmail.com
a73e13191382599751df1a91276c5ea0b6aaffb2
0bf59691e4511ebada2efcdb8d0dc8a506c947e5
/binary_inverse.py
6e2c67697704d8bc4cdbab96eb56cf5b02ef547a
[]
no_license
slayer96/binary_inverse
c48130682356ad74ec009bf434645c87eea76ad6
2ad4e54e00dd4b95f3aa06be4903a86adaad86ad
refs/heads/master
2021-01-10T04:13:18.133081
2016-02-01T23:34:27
2016-02-01T23:34:27
50,882,278
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
#binary inverse #python3.4 def O(n): if len(n) == 1 and n[0] == 0: return [0] #n.reverse() dec = 0 index = 0 for i in n: tmp = i * ((-2) ** index) index += 1 dec += tmp #print(dec) dec *= -1 result = [] while dec: tmp = dec % (-2) dec ...
[ "myhailo.mykytyn.96@mail.ru" ]
myhailo.mykytyn.96@mail.ru
33fc505b3949ed8cfde4c4eb3218e19ba7f5cbfd
81277d47f0928be7656500d85f4201f963bb4746
/swapping-nodes-in-a-linked-list/swapping-nodes-in-a-linked-list.py
6b60f459b5b50d8bf0dd2c3cd2224b4f6c7b3f7c
[]
no_license
siva4646/LeetCode_Python
db1d535a174f38b616cddfeeac412c0d02afa372
52bf12095996a9137b1ea213ac43e1fe07806956
refs/heads/main
2023-04-13T22:39:23.474034
2021-04-23T02:12:19
2021-04-23T02:12:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution(object): def swapNodes(self, head, k): slow = fast = head for _ in range(k - 1): fast = fast.next first_no...
[ "sachindevatarhs777@gmail.com" ]
sachindevatarhs777@gmail.com
2e324c7fe29b14a6933e5d4c9b493d4981b2b948
68753b38ec8e4eaaf95eae4202a9a22391080fa3
/learning_templates/basic_app/templatetags/__init__.py
134284b9dc631b704885ca912289581dc1e05bd7
[]
no_license
siddharth288/learning-templates-django
9a35e0b8d102bdb71acfd23cbacd94130b558784
84e082c9ea56fe4a5c81cbd464aa155c40433acd
refs/heads/main
2023-06-20T08:51:33.555131
2021-07-21T12:33:11
2021-07-21T12:33:11
388,111,631
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
# tells python to treat this file as a module so that we can load it in
[ "siddharth@siddharth.com" ]
siddharth@siddharth.com
f89bf721f31caee152bc2e8884cf341032766206
92aad61825bea12ccdfd8d52487b43430d4e5cf3
/CS61002 Labs/lab08.py
453dbc1351867b16f027eea44f4d91dc26a8ae92
[]
no_license
radam0/Python
ec9324a18579a2d4be1bde7011182842dba79abf
bacefceea76f0f4367b1ef18707a65735b5dfb73
refs/heads/master
2022-04-21T23:54:02.173575
2020-04-22T19:34:14
2020-04-22T19:34:14
115,464,632
0
0
null
null
null
null
UTF-8
Python
false
false
4,754
py
#Nikhil Vemula #March 5,2016 #CS61002 ## Matching DNA Program # function for adjusting hypens for given strings def getcurrentstring(firstString,secString): firstlen = len(firstString) seclen = len(secString) if firstlen>seclen: secString = secString.ljust(firstlen,'-') if seclen>firstlen: ...
[ "vemulanikhil23@gmail.com" ]
vemulanikhil23@gmail.com
d42c9a9a74785dff6bb67b8913af62a8e28c8a39
ab8fac28822d61aec0db5391d6608d84e7da4b50
/beyond Python V26/Modules/beyond/Reaper/Settings.py
f7d947af822eff92ae328bf1daedcb552790ab95
[]
no_license
kadirahiska/Reaper
0a054e1b905718541c3f9f38317a3268bf5d8ef5
b43599b8ffffc26e31b52c33e5a25183c1e1bb48
refs/heads/master
2023-03-17T03:12:12.147940
2014-12-23T10:42:18
2014-12-23T10:42:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,848
py
# Step 1 - RemoteControl.py Action and its Cmd ID # ======================================================================= Reaper_RemoteControl_CmdID = 55310 # Will this change? # From Reaper's "Actions/Show Action List…" press "ReaScript: New/load…" # Find and select "...\Modules\beyond\Reaper\RemoteControl.p...
[ "sizeoverload@gmail.com" ]
sizeoverload@gmail.com
57267d1bdde9f9c17bb0ad52191acc03c69df048
29d7af6c713388a43d86e8cfe74e037fc0b6b49d
/marketing/mixins.py
867cc96549925cf6f2423e49d583fabc0123eea4
[]
no_license
austin89213/Ecommerce_Website
e84757529a1a30108d7fc5d603b1e95b1e209b19
4e817b78504ffdc824a666eb1b7c85c2d7e35a13
refs/heads/master
2023-03-25T07:18:19.242432
2021-03-23T17:20:22
2021-03-23T17:20:22
290,863,350
4
1
null
null
null
null
UTF-8
Python
false
false
311
py
from django.utils.decorators import method_decorator from django.views.decorators.csrf import csrf_exempt class CsrfExemptMixin(object): @method_decorator(csrf_exempt) def dispatch(self, request, *args, **kwargs): return super(CsrfExemptMixin, self).dispatch(request, *args, **kwargs)
[ "austin89213@gmail.com" ]
austin89213@gmail.com
9eeb70bab827b9df8c2266cdf85a2546586a3caf
abee6a09225face843aaa5960460aca3d0c20ff6
/sorting_animate.py
24b4b93ad1f37755cc564df49ca9d9a4427e0b09
[]
no_license
ankit-kumar-dwivedi/SortingwithTurtle
ab7596065149be4f64825e4fa53fd82bf1e70d51
120d16d16f26c41164a3ba13290b4b6825ef1a73
refs/heads/master
2020-03-25T07:20:21.671603
2018-08-04T19:02:20
2018-08-04T19:02:20
143,554,898
0
0
null
null
null
null
UTF-8
Python
false
false
4,835
py
"""Just sorting algorithms""" from turtle import * import random class Block(Turtle): def __init__(self, size): self.size = size Turtle.__init__(self, shape="square", visible=False) self.pu() self.shapesize(size * 1.5, 1.5, 2) # square-->rectangle self.fillco...
[ "noreply@github.com" ]
ankit-kumar-dwivedi.noreply@github.com
0fede212f4aa9e77c525520f56685faacd3c8017
b31497e3577a17d46e85b3a78f32dfe82b80638e
/SandBoxies/Sandbox4CorpusTables.py
80992b9863a254f77e3da8519c0c48d57b0f137e
[ "MIT" ]
permissive
dpritsos/DoGSWrapper
ca954531ad241f2cfad442234e85dd929da15b8d
6f20a7dbcd61339f39bf0acf79c9fffbb1679ecc
refs/heads/master
2021-01-17T15:04:09.950521
2020-05-11T10:18:48
2020-05-11T10:18:48
17,569,177
1
0
null
2018-10-20T13:08:32
2014-03-09T17:13:30
Python
UTF-8
Python
false
false
3,057
py
import numpy as np #numpy.linalg for SVD etc. #import numpy.linalg as alg import scipy.spatial.distance as spd import sklearn.decomposition as skd #sklearn.decomposition import tables as tb import time corpus_mtrx_fname = '/home/dimitrios/Synergy-Crawler/Santinis_7-web_genre/Kfolds_Vocs_Inds_4Chars_7Genres/kfold_Co...
[ "dpritsos@extremepro.gr" ]
dpritsos@extremepro.gr
f7c77f7c376b88637a107ea65a74ac4fbd938c63
73e147e1d49656fafba5d4bf84df5ded2c4dca73
/team_9/cocos/samples/tetrico/gamectrl.py
7929fc2bfb930fb43082c83b6f1ecced1246f46f
[ "LGPL-2.1-only", "CC-BY-NC-4.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "CC-BY-NC-SA-2.0", "BSD-3-Clause", "CC-BY-NC-ND-3.0" ]
permissive
Donnyvdm/dojo19
2278747366c57bfc80eb9ee28ca617ec0a79bae3
3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400
refs/heads/master
2020-07-26T12:22:15.882800
2019-09-15T20:34:36
2019-09-15T20:34:36
208,642,183
1
0
BSD-3-Clause
2019-09-15T18:57:53
2019-09-15T18:57:52
null
UTF-8
Python
false
false
2,744
py
from __future__ import division, print_function, unicode_literals # This code is so you can run the samples without installing the package import sys import os sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../..')) # stdlib import copy import random # pyglet related import pyglet from pyglet.window imp...
[ "a.campello@wellcome.ac.uk" ]
a.campello@wellcome.ac.uk
139ba1991dd4c1556129b5267f93f090572a05eb
5ed7f9b222f0af3a5ad0b7ee60c8177d0c539a2b
/src/utils/utils_exception.py
199e4875f121a2e45724141e24725cf9faf0c5a2
[]
no_license
langqy/AutoTestFramework
8a1da890ff5a71e5b397434bb6d654563ef71916
1ea8966de10fb7a3f153a2fc8256b42486d75f66
refs/heads/master
2021-01-12T12:01:58.860191
2016-09-23T09:41:09
2016-09-23T09:41:09
69,223,762
1
1
null
2016-09-26T07:18:54
2016-09-26T07:18:53
null
UTF-8
Python
false
false
2,076
py
# -*- coding: utf-8 -*- from selenium.common.exceptions import WebDriverException from ConfigParser import NoSectionError, NoOptionError class Error(Exception): """Base package Exception.""" pass class FileException(Error): """Base file exception.Thrown when a file is not available. For example: ...
[ "396214358@qq.com" ]
396214358@qq.com
515eff533e37237d92ab920547b3690d551abaa6
0ef4371c87c2196d9c2d2706e51f4b452f6e9d19
/4_Curso/Proyecto_Sistemas_Informáticos/model_exam_2/venv/lib/python3.7/site-packages/pip/_internal/cache.py
8ebecbbd5a62f90273255ac776095519d5fbd40d
[ "Apache-2.0" ]
permissive
AlejandroSantorum/Apuntes_Mat_IngInf
49c41002314216a994aa60db04062e34abc065eb
c047e41d086f3028ec78ac3a663b9848862e52df
refs/heads/master
2023-05-15T03:02:56.882342
2023-04-20T20:19:54
2023-04-20T20:19:54
212,392,195
29
10
Apache-2.0
2023-09-09T13:03:45
2019-10-02T16:44:22
Jupyter Notebook
UTF-8
Python
false
false
8,371
py
"""Cache Management """ # The following comment should be removed at some point in the future. # mypy: strict-optional=False import errno import hashlib import logging import os from pip._vendor.packaging.utils import canonicalize_name from pip._internal.models.link import Link from pip._internal.utils.compat impor...
[ "alejandro.santorum@gmail.com" ]
alejandro.santorum@gmail.com
5e78c2d4c4a562ebf196ffaa7d086e43931cd05b
467a320ff8e80e92d9ad42d514d45858ab4bc8f5
/Archived_Versions/TankDuel.py
397e58d8080e3610f6b839db3d1d44df464f9ba9
[]
no_license
theTrueEnder/TankDuel-for-World-of-Tanks-Blitz
c81cd8015e97095f6c873355726b6371269c8dfb
c9fe1f49949495a592bd09dce8dcd589430e7372
refs/heads/master
2022-12-26T13:46:46.080283
2020-09-19T20:33:15
2020-09-19T20:33:15
296,938,145
1
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
#Copyright 2020, Kai Delsing, all rights reserved ##TO-DO## #classes for each tank (no [2] pointers, etc, tank2.hp) #av vs max/min rolls #shell velocity and distancwe #Name, HP, Damage, Reload, Adrenaline tank1 = ['Obj. 704', 1500, 640, 11.79, False] tank2 = ['T-55A', 1650, 310, 6.32, False] #######################...
[ "Kai" ]
Kai
80b74e908fcaf01359e389423255e9543b69d931
328db27bcee118ea3d841120de56c203fd6ab05f
/coc-stats-gen.py
da54a4aa79188130a3aff0abf818388ac616e776
[ "MIT" ]
permissive
mikeshoe/coc-stats-gen
ec80a0fcdef27d0f8ddc57fc69b626d21b529217
d1f9322a74b73ec0917fb1d9202b84f58c3cfeab
refs/heads/master
2021-01-11T04:16:24.058262
2016-10-21T18:42:25
2016-10-21T18:42:25
71,191,071
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
#! /usr/local/bin/python ''' Created on Oct 17, 2016 @author: mike ''' import xlrd import time import datetime if __name__ == '__main__': MY_DIR = "/Users/mike/Documents/coc/" XL_FILE = "CerebralChaosStats.xlsx" XL_FILE_PATH = MY_DIR + XL_FILE XL_PLAYER_WS = "Player Metrics" XL_WAR_WS = "...
[ "mike@shoesobjects.com" ]
mike@shoesobjects.com
848c3cc97d6fef8cf42b5ffbd94a9cfaf4a08159
4ac8fc7f26ddfeb71078f7fd4cc2a35c601d2d4a
/core/models.py
01e19f5a51ee71626b1d50faec929ff7c141e442
[]
no_license
gillie1022/question-box
7ea1d43f045e7abeb82ad83139d68efaa66fdc9f
12c737f3335a2ed090a1007b91c39c0c529a9b87
refs/heads/main
2022-12-02T05:55:59.598476
2020-06-25T18:14:32
2020-06-25T18:14:32
286,825,766
0
0
null
null
null
null
UTF-8
Python
false
false
1,455
py
from django.db import models from users.models import User from django.db.models import Q from django.contrib.postgres.search import SearchVector class Question(models.Model): user = models.ForeignKey( to=User, on_delete=models.CASCADE, related_name="questions" ) title = models.CharField(max_lengt...
[ "dave.gillie@icloud.com" ]
dave.gillie@icloud.com
5230f72826ff9866fd73f5f90d37d9be2cf58bc2
d4c82eb9ae3037cf8742c3fc8c31cf4a80f5d21c
/examples/Python/examples/Demo/scripts/update.py
5e44d3ab0f01709540f9165030f0f97f90ca127d
[]
no_license
gzhu-team-509/programming-knowledge-base
68132b1a669f208dab94dcf2401ce39d89ebe53b
3f3d026927157b7fdf210da195cb912366975e75
refs/heads/master
2021-05-05T12:17:12.686569
2017-11-04T07:30:28
2017-11-04T07:30:28
104,754,220
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
#! /usr/bin/python2.6 # Update a bunch of files according to a script. # The input file contains lines of the form <filename>:<lineno>:<text>, # meaning that the given line of the given file is to be replaced # by the given text. This is useful for performing global substitutions # on grep output: import os import s...
[ "lightyears1998@hotmail.com" ]
lightyears1998@hotmail.com
4b9dad88c993897ba4aadd6fd538b20926a43b97
a70325c82e2486d67624dea1e053924fb9a5af06
/PiBotXBeeExperiments/ZmqFastSubscriber.py
954f1fd788cf73bef4c27d4ac1c503ace09cd2fc
[ "MIT" ]
permissive
RocketRedNeck/PythonPlayground
88ce1b46c0134ea0d4fac6e5840e1325c44d6d92
a6f002625c9326de6995bc52960f25f78e9b2843
refs/heads/master
2023-05-26T09:42:22.960096
2023-05-15T00:22:47
2023-05-15T00:22:47
63,455,232
1
1
null
null
null
null
UTF-8
Python
false
false
1,369
py
# Standard import time # 3rd Party import zmq # Local import DataModel context = zmq.Context() socket = context.socket(zmq.SUB) socket.connect('tcp://localhost:12345') # In the guide, the subscribers connect to well know addresses (in this we stay local) socket.setsockopt_string(zmq.SUBSCRIBE, '') # If ...
[ "the.rocketredneck@gmail.com" ]
the.rocketredneck@gmail.com
c3977d5efccd68fcd03236ed68cf1a4f3e3d36e6
2fc9c51dbf57f72d7499359795c3f6ab5aada522
/graph/boj2251.py
f9cb04da48dfa586ca3b0c7855631f2c6015c72f
[]
no_license
chankoo/problem-solving
9e45bed20310e5847392c2e9e88c0b7d41b73de6
aae3b469b0644d39f774946798130566a310a20b
refs/heads/master
2020-04-27T11:51:11.214826
2019-10-12T10:26:22
2019-10-12T10:26:22
174,311,189
2
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
# https://www.acmicpc.net/problem/2251 # sol # 물통의 수가 3개 뿐이고 가능한 경우의 수가 많지 않으므로 dfs로 풀었다 # 가능한 물통들의 상태를 status 배열로 만들고 이 배열 자체로 방문체크를 하였다(멤버쉽 연산 이용) # 이때 mutable 타입은 멤버쉽 연산이 가능한 key로 hash될 수 없기에 visited에 넣을땐 tuple로 변환하였다 def pour(_from, _to, status): global V if status[_from] > 0: n_status = [*status]...
[ "ckbaek1125@gmail.com" ]
ckbaek1125@gmail.com
67a462dc96b70a7f72c50eb90bed09125f1e8d8f
274bc4ef4ef5f18d296c94a562b491d2f85f7905
/day58.py
3dbfd1cff6ec5099f15546728fcda7efabb4778c
[]
no_license
BanoutAlketbi/100DaysofCode
e7a20f4981af34be6b0690db75ec418e7ae3aedc
5aaf9f52e5f306030e623a8f3b5e60798d79f60c
refs/heads/master
2020-07-10T05:19:43.602770
2019-11-23T19:35:50
2019-11-23T19:35:50
204,176,402
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
import re str = "The weather is rainy today" x = re.findall("in", str) print(x) y = re.findall("windy", str) print(y) if (y): print("Yes, there is a match") else: print("no match") x = re.search("\s", str) print("the first white-space character is located in postion:", x.start()) y = re.findall("windy", str) pr...
[ "banoot@Banoots-MBP-5.home" ]
banoot@Banoots-MBP-5.home
4c6f9178b232902d6851301a1aefc4b240271b0b
b5c3c06245c91b732b6a1d58220c5946bd4a86a7
/test/char_ngrams_test.py
93ef739f96796eb2524525584797e381ef825e59
[ "MIT" ]
permissive
ritlinguine/linguine-python
aaff5198e7d0820fa513c2bd70bd240eb6d77d5b
5dee96dea64523d673ae1efc88d50e9309f4dd5e
refs/heads/master
2021-08-29T08:49:18.041601
2021-08-16T01:55:05
2021-08-16T01:55:05
90,911,583
1
1
null
2017-05-10T21:53:50
2017-05-10T21:53:50
null
UTF-8
Python
false
false
2,054
py
import unittest from linguine.corpus import Corpus from linguine.ops.char_ngrams import CharNgrams class CharNgramsOpTest(unittest.TestCase): def setUp(self): self.op = CharNgrams() def test_run(self): self.test_data = [Corpus("0", "Test", "The quick brown fox jumped over the lazy dog.\n")]...
[ "aphedges1@gmail.com" ]
aphedges1@gmail.com
1daf7407cdf724ed73ebdce48a67a949af8b1698
c969779819894ad624a53273115a1a482181cb67
/src/models/api/plan_entry.py
68be97173886460c815f14471d7fe2ea11b5f130
[]
no_license
nareshbandi123/sqldm104
c328edb38d42c6f3ed72e056f1f91ac3c5b0edeb
3705fdc43f177ebf5d7a0db687d1cd1d5d45985f
refs/heads/master
2022-01-18T00:16:10.451744
2019-06-19T13:06:39
2019-06-19T13:06:39
192,322,400
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from src.models import api # Fields required for creating an entity have a value of True # Fields that are optional or present only on a newly created # entity are False. PlanEntry = api.create_model_class( "PlanEntry", { "case_ids": False, "suite_id": False, "runs": False, "descrip...
[ "E004415@cigniti.com" ]
E004415@cigniti.com
bbfea187f1197f779a6f46a13d3160c00942ada2
ac45b55915e634815922329195c203b1e810458c
/minionOC169_6.py
659b01807dece629aec12ea54c7963aecb6ffaca
[]
no_license
mj1e16lsst/iridisPeriodicNew
96a8bfef0d09f13e18adb81b89e25ae885e30bd9
dc0214b1e702b454e0cca67d4208b2113e1fbcea
refs/heads/master
2020-03-23T15:01:23.583944
2018-07-23T18:58:59
2018-07-23T18:58:59
141,715,292
0
0
null
null
null
null
UTF-8
Python
false
false
12,177
py
from operator import add #from astropy import units as u #from astropy.coordinates import SkyCoord #from astropy.stats import LombScargle #from gatspy.periodic import LombScargleFast from functools import partial #from gatspy import periodic #import matplotlib.pyplot as plt #from matplotlib.font_manager import FontProp...
[ "mj1e16@soton.ac.uk" ]
mj1e16@soton.ac.uk
75e97332a66f40ccf2aeb33930b33748a7aab86e
23ce866f30ac93e1e47f31a50f94caf6b4cefd5b
/roles_exporter.py
0fedb68bc8e0199c6c75d64fd4368ef12f03ef8a
[]
no_license
nsv777/ranger_automate
ca148ad566541c18144d3411d382e5fda288c209
cd25888fbf5b146b88eb6f82b28ae1aab8382dde
refs/heads/main
2023-03-18T19:21:31.839480
2021-01-14T19:34:23
2021-01-14T19:34:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # This script will import Ranger roles from one cluster to another # # It requires python 2.7 for now, # # Created by Ajinkya Patil # # # # # # # # # # # # # # # # # # # # # ...
[ "noreply@github.com" ]
nsv777.noreply@github.com
d4df30377b84c2a7d24afe5d182fc910ec733e56
4677a6e500c9dba3172492f58b0efac715b7f28e
/ironman_py_scripts15.py
54b84ff8a69c59b5c5de0593e091022f5005ce14
[]
no_license
ironmanscripts/py_scripts
e54e8b0f809ba27d490e5c041423263fdedcb41a
cf6d9fc43545c9d6d7748297d06178850411d5b4
refs/heads/master
2021-07-01T16:27:18.499229
2017-09-18T03:04:36
2017-09-18T03:04:36
103,217,898
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!/bin/bash/python #python escape sequence print "BackSlash \\\"" print "SingleQuote \'" print 'DoubleQuote \"' print "\a" print "\a" print "\\\b" print "\f" print "\n new line"
[ "jnaguboina@gmail.com" ]
jnaguboina@gmail.com
c7a08290ba0875283258f8e558b06287f0e4869e
2ecbe098ce01b889c1373523a5f07e117370206a
/backend/home/management/commands/load_initial_data.py
332d9ce61f3ee997f28e5036a456e35c25a431b7
[]
no_license
crowdbotics-apps/jooo-4480
25ac69547a3d40bafccfcb1fdc6c4c7603671273
d51a7e6764e7f582da65954ce4297cab547e8f35
refs/heads/master
2022-12-13T18:01:32.627608
2019-06-10T11:43:37
2019-06-10T11:43:37
191,157,420
0
0
null
2022-12-09T05:45:38
2019-06-10T11:43:18
Python
UTF-8
Python
false
false
711
py
from django.core.management import BaseCommand from home.models import CustomText, HomePage def load_initial_data(): homepage_body = """ <h1 class="display-4 text-center">jooo</h1> <p class="lead"> This is the sample application created and deployed from the crowdbotics slack app. Yo...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
75db8b2e2ae8a679cfb3ef10c07e051f0c6c30c9
3440109c1b29c780a0a6092dace02f91b358382b
/list.py
2900fdb6b7539712a3bfe34f3d0aba203ee7f5ad
[]
no_license
victor-py/victor
bacb3baf3178fc5f51cbe4cbb538e10970c39627
a9d09624e1845b5ab64d99e24d20f4b7a643725d
refs/heads/master
2022-04-25T04:29:47.610032
2020-04-19T10:10:56
2020-04-19T10:10:56
256,967,691
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
lists = [] print(lists) lists.append(10) lists.append(20) print(lists) tuples = tuple("hello. world!") print(tuples)
[ "noreply@github.com" ]
victor-py.noreply@github.com
450c22b5982c4514c0b654e41f040d0381883252
3bbc83ccd311b690c2fff6b1a1dbd38f4570ee4f
/setup.py
2f7884315b4044deae8123710eb2eddb34e38b14
[]
no_license
hsharma35/bitfusion
25efbb4d52fa216429daaf2a8044c7e9f65ed61a
04ec1c87c91ef4a681858f84f5a7832d5b65e83b
refs/heads/master
2021-07-09T00:43:09.413463
2020-08-06T02:49:34
2020-08-06T02:49:34
153,977,735
74
18
null
null
null
null
UTF-8
Python
false
false
99
py
from distutils.core import setup setup(name='bitfusion', version='1.0.0', packages=['bitfusion'])
[ "hsharma@gatech.edu" ]
hsharma@gatech.edu
d63b2bd9d11950fc74f7c66616a0174c6b2b8c7b
979358a415b173657552890750c867fb75b69cb0
/papeletas.py
f026147bb80547d9c23ded9eafeafda29182527e
[]
no_license
artus-lla/papeletas
1041ab6a9ad855c1fa196d5561bfecbf98f57d92
c69426d10e527e06127a6b6fe777c413aae1d9d3
refs/heads/master
2020-06-06T04:15:48.070179
2013-08-12T03:40:39
2013-08-12T03:40:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,718
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- from gi.repository import Gtk import sqlite3 import src.misutils as misutils import src.bd as bd #global autorizado_para #global motivo #autorizado_para = 'Salir' class VentanaPrincipal: """ Renderiza la ventana principal de la aplicación """ def __init__...
[ "artus.lla@autistici.org" ]
artus.lla@autistici.org
df9761b1d49fd97933e30ada73416e0f3957e0ab
845bd3b74cb2bff98ab42a38f01a9bfcd700d1f8
/virtual/bin/wheel
29b6eaa62bd04f1968011ac216b3bee3330498d4
[]
no_license
stacy867/instagram
e2a32faaaec128eee82bdf987f4bcbe3a23468bf
ed9f9215eb7dd4a2ca6eded2afcea31afb8bef1a
refs/heads/master
2020-08-17T22:46:50.297256
2019-10-22T12:30:07
2019-10-22T12:30:07
215,719,516
1
1
null
null
null
null
UTF-8
Python
false
false
233
#!/home/wecode/insta_app/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "stacymurenzi@gmail.com" ]
stacymurenzi@gmail.com
69c5ee9302b315934ab4ace9758bfd16d0677d35
cfcb36f7479cae08b09c20a7c5d8a67f9ba532b1
/hw2_template_dev.py
d61d06bdfb5262ce9eac9dddf00239fe0852079c
[]
no_license
roseteague/Computational_Methods_HW2
4fd95989941487029964e43ae8253bf44565169a
e6bf765597a8e2342a29b1242bd8586f5b9117c9
refs/heads/master
2020-03-25T04:38:38.192282
2017-11-16T23:37:48
2017-11-16T23:37:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,989
py
""" Rosemary Teague 00828351 Assumes cost.f90 has been compiled with f2py to generate the module, hw2mod.so (filename may also be of form hw2mod.xxx.so where xxx is system-dependent text) using """ import numpy as np import matplotlib.pyplot as plt from matplotlib import colors, ticker, cm import scipy.optimize from h...
[ "rdt13@ic.ac.uk" ]
rdt13@ic.ac.uk
45371882e8a70294d4262634c9fd50c2d4c24f59
5da77c20e1f3cbec5f5f3320549d3982a4722fb9
/baselines/netmf.py
e25cb4344e800f645cf38e1d4d3fe6718fb48e1b
[ "MIT" ]
permissive
samihaija/tf-fsvd
02f6f0237a0e0cfe08f07943909d3ee14f3ea350
677cad8cfa21668369ce39c515874dabfbc021d5
refs/heads/main
2023-03-09T22:22:33.805652
2021-02-23T11:01:41
2021-02-23T11:01:41
339,504,112
16
2
null
null
null
null
UTF-8
Python
false
false
6,247
py
# THIS IS MODIFIED FROM ORIGINAL BY SAMI TO RUN ASYM-PROJ DATASETS # Original: https://github.com/xptree/NetMF/ # encoding: utf-8 # File Name: eigen.py # Author: Jiezhong Qiu # Create Time: 2017/07/13 16:05 # TODO: import time import scipy.io import scipy.sparse as sparse from scipy.sparse import csgraph import n...
[ "samihaija@yahoo.com" ]
samihaija@yahoo.com
ded166bd201ae177beb2bcf2cf992a42f026e48f
4f4ec663b3acfc22ac8ae7336dec18d28a691b9f
/image_Scrap.py
f9e56fe16761c469d84b9ad2fee9b458e5e60dec
[]
no_license
lakshsharma07/Influencer-predictor
ff347f9db87acd1603555a5aba1b88202119397b
e320481ccdebdf0cc31d8eacba7f7069c6eac076
refs/heads/master
2020-03-25T20:30:10.603398
2019-06-26T17:54:29
2019-06-26T17:54:29
144,133,865
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
from bs4 import BeautifulSoup import requests handle = raw_input('Input your account name on Twitter: ') temp = requests.get('https://twitter.com/'+handle) bs = BeautifulSoup(temp.text,'lxml') pic=bs.find_all("img",{"class": "ProfileAvatar-image "}) url=pic[0]['src'] from PIL import Image import requests from io imp...
[ "sharma1997lak@gmail.com" ]
sharma1997lak@gmail.com
26a85bf9be92af4ff2847a5f6ffb6fc857174409
4abbdd9cbe83d28e900e22666a077337e89b741a
/smallspider/spider_28_asyncio.py
e88a8b7960e4a684dae254a69d7c104b4fd5cb85
[]
no_license
Pysuper/small_spider
4f0394a3853d9803d27f9dd86f570398ad9a5af5
33e38424b93bb76b58862d7a9bd82741a680f599
refs/heads/master
2022-12-11T17:14:52.509160
2020-09-24T13:37:34
2020-09-24T13:37:34
184,028,706
2
1
null
2022-07-29T22:36:03
2019-04-29T08:13:46
Python
UTF-8
Python
false
false
2,682
py
# !/usr/bin/env python # -*- coding: utf-8 -*- # Author : Zheng Xingtao # File : spider_28_asyncio # Datetime : 2020/8/21 上午9:19 import asyncio import aiohttp from lxml import etree from pprint import pprint loop = asyncio.get_event_loop() async def get_category(): async with aiohttp.ClientSession() as session:...
[ "zxt@yj0407" ]
zxt@yj0407
bec248fcae9a6598aed74b05d28f8eb2b0b7c95e
6ec4b51f7298b2daf4211518a6146ee4b0746a1c
/products/migrations/0002_auto_20210718_1356.py
fd0dd0b60e25eb0b99901f2e644ee64c426a43f2
[]
no_license
Code-Institute-Submissions/proper_clobber
d2f88a495527ffb28eb999c9380ff2e24567891d
574297bfb669c71f4d2bd16c122ee547f0261c9b
refs/heads/master
2023-08-19T07:32:52.652181
2021-09-18T20:33:20
2021-09-18T20:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# Generated by Django 3.2.4 on 2021-07-18 13:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.RenameField( model_name='product', old_name='has_clothing_size', ...
[ "franky.p@hotmail.co.uk" ]
franky.p@hotmail.co.uk