blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
70aa5a4a1494fbd51725b7d6beb2d6cd3a1feca9
2215163696e362260a90bc3c011fcdb540d8d226
/forge/kubernetes.py
f41d5e42400661c61b1d7dae93395a0911ebfb6b
[ "Apache-2.0" ]
permissive
aj0415/cforge
47cf97d006d3a8b6ae438b1e9739c594c1fbfb8a
a99c6333ffa6b7686c8eb622cbf45a742b002716
refs/heads/master
2020-03-13T00:20:51.455760
2018-04-27T20:12:40
2018-04-27T20:12:40
130,884,693
0
0
null
null
null
null
UTF-8
Python
false
false
8,751
py
# Copyright 2017 datawire. 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 agr...
[ "rhs@alum.mit.edu" ]
rhs@alum.mit.edu
34564a13b96000487c238dec5f0118ba86484ba6
e0894836cfab027db025c196ca080c41a7a34c82
/06-ManageCategories/01-display_categories/app.py
d43bcb708d77992819c8f1be421cbf161f6c1f69
[]
no_license
CEsarABC/TaskManager
20aa562788e989d42fc7c86ac4999f2cf3c6b320
6dce93f39ec3abcc954765421be1c4acb506ce88
refs/heads/master
2020-04-18T07:11:06.276403
2019-01-24T10:53:20
2019-01-24T10:53:20
167,351,677
0
0
null
2019-01-24T10:49:03
2019-01-24T10:49:03
null
UTF-8
Python
false
false
1,988
py
import os from flask import Flask, render_template, redirect, request, url_for from flask_pymongo import PyMongo from bson.objectid import ObjectId app = Flask(__name__) app.config["MONGO_DBNAME"] = 'task_manager' app.config["MONGO_URI"] = 'mongodb://admin:admin@ds123926.mlab.com:23926/task_manager' mongo = PyMongo(...
[ "aaron@codeinstitute.net" ]
aaron@codeinstitute.net
a97850d1284b098f214f926a81f3bea53e750ccd
213427b33e6ee3766c85269de46b14fe7e1395c7
/project1-svm-kfold.py
d890e5f1a2c69a60f698cd91091d98fbf289c7e4
[]
no_license
samanthafung/MSBD6000B-Project1
2c0028f8531ba85715f526becd3466fe704f7997
1fb5942b73670ddf798c732b7d628209a64e5346
refs/heads/master
2021-08-19T09:35:47.581417
2017-11-25T16:15:41
2017-11-25T16:15:41
110,936,885
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
import csv import numpy as np import pandas as pd from sklearn.linear_model import LinearRegression from sklearn import svm from sklearn.model_selection import train_test_split from matplotlib import pyplot as plt from sklearn.metrics import mean_squared_error from sklearn.model_selection import KFold from sklearn.cros...
[ "samanthafung@users.noreply.github.com" ]
samanthafung@users.noreply.github.com
7e3ac0d50e30a3331716b2f5f8a2dcee85379e27
c3cc89227b5a98825ab9777eff21a677c1356a33
/myvenv/bin/pilprint.py
a12e8ea096e81065a800215185f5bfab59b2b4c1
[]
no_license
michelejolie/djangogirls
44235cbb926a0997719bf96ed2493cbdb7e59e2c
7c75714add3d97c8cedf878b6ea45094a4444751
refs/heads/master
2021-08-07T07:32:10.434237
2017-11-07T20:26:57
2017-11-07T20:26:57
109,886,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,631
py
#!/Users/michelejolie/djangogirls/myvenv/bin/python3 # # The Python Imaging Library. # $Id$ # # print image files to postscript printer # # History: # 0.1 1996-04-20 fl Created # 0.2 1996-10-04 fl Use draft mode when converting. # 0.3 2003-05-06 fl Fixed a typo or two. # from __future__ import print_functi...
[ "Michele.Jolie@outlook.com" ]
Michele.Jolie@outlook.com
ef07b5aa404c70cfcf44089a893e251228f9d1a7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02790/s844160864.py
72f2331d3fcb8e205405d05f9b9e2f5a8234122e
[]
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
110
py
a,b = input().split() if a > b: tmp = a a = b b = tmp for i in range(int(b)): print(a,end='')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ea375182f311ca35c536c85c5a190c1cdc8d77dd
366bd24f64da56d130450d0d0d1b8fd6468ccd38
/new_parent/new_parent/urls.py
779f92e5342911e1c09579092d38ad50c86fa45e
[]
no_license
jimturbo24/Final-project
a7920b85c073347458ec15b1e4a9a20a9402529b
a2054997d7e61a860b2615ba2793c873319fdcba
refs/heads/master
2021-01-20T22:05:11.405047
2016-06-30T20:55:01
2016-06-30T20:55:01
60,581,756
0
1
null
2016-06-30T18:26:58
2016-06-07T04:18:45
Python
UTF-8
Python
false
false
1,350
py
"""new_parent URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "jim.trbovich@gmail.com" ]
jim.trbovich@gmail.com
ba028abb1cb891764527347b72fa3f4b9cbcb13d
495a67b88f6a6f73dcdc3f40699e47ac1e4bfef1
/bianyi/cifa.py
f2dc61402a35b9e07b2d92549626081d90aed939
[]
no_license
yyl2016000/somePy
7712e5ddfd95798daab2b964d6460a6630fca46f
c2913d31a3c822795278e63582643a5ed86b4dff
refs/heads/master
2020-04-14T11:33:36.311647
2019-06-18T09:52:20
2019-06-18T09:52:20
163,817,220
0
0
null
null
null
null
UTF-8
Python
false
false
14,977
py
class DFA: file_obj = '' # 文件 line_number = 0 # 行号 state = 0 # 状态 ResWord = ['int', 'if', 'then', 'else', 'end', 'while', 'do', 'begin', 'read', 'write', 'for'] error_message = [] # 保存错误信息,存储元组,元组第一个参数是行号,第二个参数是错误字符 annotate_message = [] # 注释信息,存储元组,元组第一个参数是行号,第二个参数是注释 char_message = [...
[ "yyl2016000@outlook.com" ]
yyl2016000@outlook.com
3de09a189d046ed966e59e925ea52a9bcfce44a8
f1ecd7f7ed02463037e65cf19c14f24d90550cad
/src/timeout.py
2df6056638683361b41b0b15011c23173e0519fa
[]
no_license
aristosathens/Personal_Website_v2
0f78228b6a38ffa15ca3e318cc2fc88ce4038613
845a49fee4e6d250d8ba162ff639cd5a9eb7bf9d
refs/heads/master
2020-04-21T23:45:10.913291
2019-02-12T22:14:29
2019-02-12T22:14:29
169,956,371
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
# Aristos Athens ''' Keep track of timeouts. ''' from timeit import default_timer as timer class _request: ''' Store data for a single requests. ''' def __init__(self, duration): self._start = timer() self._duration = duration def timed_out(self): if timer() - sel...
[ "aristos.a.athens@gmail.com" ]
aristos.a.athens@gmail.com
2fe3b7ba0ae73d2293b55d43329d63326fa0fc91
f2af245b9ee3132307e16d021e40f47f39112b86
/iot-device/apps/labs/module03/TempActuatorEmulator.py
36dcccd400a5d95baccef06f8d131c7e417bb4e6
[]
no_license
Lyu-Tianyi/ioT_Device
c58391512f08040cbe4f0a6b3ad7af3c7f8b2f6d
96e470bb0f6116931ce180118461fed04be51045
refs/heads/master
2020-03-31T04:03:20.786329
2018-10-14T03:27:30
2018-10-14T03:27:30
151,889,183
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
''' Created on Oct 12, 2018 @author: l0t0y ''' from threading import Thread from labs.common.ActuatorData import ActuatorData from labs.module03.SenseHatLedActivator import SenseHatLedActivator class TempActuatorEmulator(Thread): senseHatLed = 0 actuatorData = 0 message = 0 def __...
[ "775008056@qq.com" ]
775008056@qq.com
57dd24a5dcd9a1553f89b2ebb9b6dc79f80a1970
2db10d83e7e88986b5a5e3d1c541664ca34ec873
/PhojectPhoneBook2/asgi.py
90fd8272161742e2187b863d2e94722ba5f60402
[]
no_license
agel122/PhoneRecords
f397d79f2fa11471116f622a761035741cdeb0c6
991779e6ed5238189b435b516b12e2f4e98e4265
refs/heads/master
2023-05-17T09:37:26.887406
2021-06-05T15:49:33
2021-06-05T15:49:33
374,155,143
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" ASGI config for PhojectPhoneBook2 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "agel122@yandex.ru" ]
agel122@yandex.ru
0703488991ac5e75625add04de29d70905f58b4c
f32ad5a2499a0efe693326465a6b21a7d9da85bf
/models/models.py
dbff065fff2afa89fcc08e61635e328a0cd51e22
[]
no_license
KyleGoyette/RecAttModels
1740ab4c153576b73e9c0a58708f92d1389d62f7
6753915a9ee36a8682d82bd524389e7b515a4b5b
refs/heads/master
2023-01-05T17:34:43.962909
2020-10-23T22:36:16
2020-10-23T22:36:16
263,702,474
3
0
null
null
null
null
UTF-8
Python
false
false
5,193
py
import torch import torch.nn as nn from common import onehot import numpy as np from common import modrelu from models.SAB import SAB_LSTM def henaff_init(n): # Initialization of skew-symmetric matrix s = np.random.uniform(-np.pi, 0., size=int(np.floor(n / 2.))) return create_diag(s, n) def create_diag(s...
[ "kdgoyette@gmail.com" ]
kdgoyette@gmail.com
43dfe41c7a9ede6402da361fa1d8e2b3832b0060
34992e5eb6e3fe59315e6aa3c3d563a1a322951c
/backend/settings.py
4150143162f72ced579ddb25faaf2681a2b74e4e
[]
no_license
momoru-kun/2skin
c997887c4e8556fae1dfbdbf4d84c8f6ae7fb2ea
7844016c2ab671224993f606c6760233670df2a2
refs/heads/main
2023-05-21T15:47:42.428970
2021-05-28T08:52:06
2021-05-28T08:52:06
375,754,366
0
0
null
null
null
null
UTF-8
Python
false
false
3,585
py
from pathlib import Path import os import dj_database_url # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ # SECURI...
[ "a.lenec@spb.mcart.ru" ]
a.lenec@spb.mcart.ru
2fa95f3d87458cb92d6b4546775e64a12b256d66
d00c57a9e06edf8fc71e983323c94fb32ccc96b9
/example/config.py
930b8fc9f726a076550ef9aa3c30a300b2289886
[ "MIT" ]
permissive
fuhrysteve/CeleryStore
7eb635feeb99011e3b8f2c9ce49482503e683617
8056f1688dc37b69449ab62c368a8840befbed97
refs/heads/master
2021-01-10T11:09:35.473322
2016-03-18T20:37:25
2016-03-18T20:37:25
49,743,011
4
0
null
null
null
null
UTF-8
Python
false
false
98
py
CELERYSTORE_PERIODIC_TASK='example.PeriodicTask' CELERYSTORE_TASK_SCHEDULE='example.TaskSchedule'
[ "sfuhry@onshift.com" ]
sfuhry@onshift.com
4d7c496c0335c2540f4283dec0568d5f1e8a82ce
30b12cbd39d3fb58f571a781932f47b7e7f6dfd5
/blackjack_Kim_Bae.py
0c2b75f50bc57fab1b07b32902a83a2e2bb6719a
[]
no_license
better331132/hello
350c22f6679a58a52045b4a21be19dd82a453a6f
674adfabdb680352193c13a1cdbfc49c65201db6
refs/heads/master
2020-04-04T23:15:40.960580
2019-05-03T04:15:19
2019-05-03T04:15:19
156,352,406
0
0
null
null
null
null
UTF-8
Python
false
false
5,274
py
import random while True: card_flow = [] class Deck: def __init__(self): self.cards = [] self.cardsort = ['Clover','Diamond','Heart','Spade'] self.cardnum = ['2','3','4','5','6','7','8','9','10','J','Q','K','A'] for s in self.card...
[ "better3311@naver.com" ]
better3311@naver.com
c6dd4164010bf14715f7a9bc80246bcfef471f71
4a94f2706f771c138aa1ff39f6b32b0f44833a05
/app/migrations/0004_rename_customers_intents_customer.py
db5726d3640758e4bf3ba82c8fbb28cb7915bf3b
[]
no_license
devakashdeep/Python-Chatbot
2d1fcf6d658b4b2972ec6590114484792fc74d04
586380f675b627526b065ffc1dd59ee95775afa6
refs/heads/main
2023-07-14T17:39:12.759029
2021-09-01T04:15:55
2021-09-01T04:15:55
396,881,095
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# Generated by Django 3.2.6 on 2021-08-12 16:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0003_intents'), ] operations = [ migrations.RenameField( model_name='intents', old_name='customers', new_...
[ "akashdeepcse@gmail.com" ]
akashdeepcse@gmail.com
4ec72811ea7425106d35174c2bc747889228fba8
a8927a1401ce7a5746a2060b986f1eb7a7b1b73f
/tools/tldr_page_to_manpage.py
7af5a4afaf6d69476c083ec32ede4b0e61eb404f
[ "MIT" ]
permissive
JIghtuse/manpages-tldr
4ef20b4c1ba8a1a5f009d31a081bac653c1320b2
7b42251985ba657e2e1e8f1a88b53a28c24d92ce
refs/heads/master
2021-06-10T03:45:31.323510
2021-02-20T15:42:23
2021-02-20T15:42:23
16,452,028
30
5
null
2014-02-02T19:40:41
2014-02-02T09:19:48
null
UTF-8
Python
false
false
2,238
py
#!/usr/bin/python3 import argparse import datetime import os from subprocess import Popen, PIPE def process_file(tldr_filename, manpage_filename): tldr_dir, tldr_file = os.path.split(tldr_filename) with open(tldr_filename) as inp: data = inp.readlines() # Extracting program name _, ...
[ "egorov@linux.com" ]
egorov@linux.com
ad3ab8ec94fc33394ee395a6014948e253884173
db026545778405bbe7cd03381165a1a040d01e9e
/2018/day03/first.py
ca8364a509249bb7fdd123046148dec02fba3a19
[]
no_license
xhan91/advent-of-code
abe838a7a6624a8601a673c1266adcb15d035489
fd3f28d1100b3cc4f844feda645301af68468372
refs/heads/master
2022-12-07T14:24:30.439896
2022-12-05T05:33:34
2022-12-05T05:33:34
75,370,099
1
0
null
null
null
null
UTF-8
Python
false
false
582
py
input_array = [] r_map = {} with open('input.txt', 'r') as input: for line in input: input_array.append(line.strip()) def calculate(s, r_map): tmp = s.split('@')[1].strip() tmp = tmp.split(': ') x, y = map(int, tmp[0].split(',')) w, h = map(int, tmp[1].split('x')) for ww in range(w): for hh in ran...
[ "xhan91ca@gmail.com" ]
xhan91ca@gmail.com
2fbc0e396b034ccaa5f71e62fe16d04e00216887
22a00f94b0320bccb940dd7d2d35ff2915cd4049
/bookstore_project/urls.py
beff9f56d312138b2c0385c50308a0e53b33c3a8
[ "Apache-2.0" ]
permissive
mohammadasim/online-bookstore
e74fdadb9a49353814880cde5ede05b7048dabaa
83fba7cb8b2450c4966d21ef7e17953550724f3e
refs/heads/master
2022-12-07T19:02:38.568376
2020-04-09T16:06:28
2020-04-09T16:06:28
243,928,820
1
0
Apache-2.0
2022-11-22T05:23:51
2020-02-29T08:03:55
Python
UTF-8
Python
false
false
1,623
py
"""bookstore_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "asimayub81@gmail.com" ]
asimayub81@gmail.com
fc24e8f54a87d71b888a9f8123a6c0152935470e
19a5630c377a2427470d93e46035c4ccb9e10c5f
/map_3.py
1625124fcebd23437d9a3bd743231a0da0a158da
[]
no_license
Dvaraz/pythonProject
ee87f5ffb584c7d22962a99619b21532245005c1
b9d369c623009ba5f3575a117e6fcfc8fae9a633
refs/heads/master
2023-04-29T12:46:24.075175
2021-05-13T13:52:03
2021-05-13T13:52:03
358,351,676
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from itertools import repeat def round_2(x): return round(x, 2) if __name__ == '__main__': my_floats = [ 4.356345, 6.0934, 3.245235, 9.77545, 2.164234234, 8.884234235, 4.595235346645 ] print(list(map(round, my_floats, [2] * len(my_floats)))) ...
[ "withoutme1988@gmail.com" ]
withoutme1988@gmail.com
6a64a8d6ec5c67c04c6cde22588fc91bd230a42e
acbdba550f77407fc7b1bade4f27788afedf1f24
/tests.py
82ad2952758fe749996879c0bcba66e92ef1a45d
[]
no_license
josteink/tsviz
7290c27c8e7ba78a9ea82a36c4722cec67af3258
b8d49640b4e90a3d14b5e32206ab05255a07a85c
refs/heads/master
2023-01-29T00:41:43.213240
2023-01-13T13:18:41
2023-01-13T13:18:41
154,780,388
2
1
null
2020-12-09T18:36:44
2018-10-26T05:10:07
Python
UTF-8
Python
false
false
6,860
py
import unittest import tsviz import re class Tests(unittest.TestCase): def test_parse_module_import_regexp(self): decl = "import { class } from \"./File\";" m = tsviz.module_import_declaration.match(decl) self.assertNotEqual(None, m) [filename] = m.groups() self.assertEqua...
[ "jostein@kjonigsen.net" ]
jostein@kjonigsen.net
7949f940ff3f2c0cb89432711a8a9dc60ab168fb
5311e49962913e73a802cabd3fb32e3f2a58579e
/config.py
2b390e7e41d9323d9de1627a1cb50595a184f0c8
[ "Unlicense" ]
permissive
LimeThaw/TweetSentiment
4e4608ed475763a028ab3965636c473106c95b89
57688a2b5c3fd6189447d4b6fe0830f278145196
refs/heads/main
2023-06-17T11:30:30.300502
2021-07-23T10:19:31
2021-07-23T10:19:31
383,451,656
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
_dict_mult = 32 DICT_SIZE = 2048*_dict_mult EMBED_DIM = 16 LATENT_DIM = 32 BATCH_SIZE = 512 NUM_EPOCHS = 16 def get_embed_dict_name(): return "embed_"+str(_dict_mult)+"_"+str(EMBED_DIM)+".dict"
[ "laudit@student.ethz.ch" ]
laudit@student.ethz.ch
afde146aa9ee1b9e20a0a626accf7c3bfa4aa5fe
fe7c897aa034d73281224e38dc5fdbe7a360d8e0
/cs459_2/week06_orm/myproject/myapp/models.py
6d3b19cb8cdabc0780e4700d8975fcff2d759301
[ "BSD-3-Clause" ]
permissive
wasit7/2020
487592fa3b8d0351dfcf432207bfce8ded0db996
5fe6d41c1a5957bf240f9094d9b7c0f108835142
refs/heads/master
2023-05-15T00:47:52.309036
2021-04-30T04:46:08
2021-04-30T04:46:08
235,760,846
0
3
BSD-3-Clause
2022-06-22T01:39:10
2020-01-23T09:19:44
Jupyter Notebook
UTF-8
Python
false
false
997
py
from django.db import models # Create your models here. class Bike(models.Model): start=models.DateField(auto_now=False, auto_now_add=True) type=models.CharField(max_length=10) price=models.DecimalField( max_digits=8, decimal_places=2) def __str__(self): return "bike_%s %s"%(self.id, self.type...
[ "wasit7@gmail.com" ]
wasit7@gmail.com
57a01d21806f733c3b88833bc264d3d8c36f4d37
2aab2fdf78bda63ce6fedc9b178412dfbc69600a
/finance/migrations/0003_auto_20201112_1207.py
83a11723943172d56e07dcc015f1ff1427c660a9
[]
no_license
biobam-creative/school_management_system
aa929fc22d9b07bd00f871ae7501dac92261bfa0
11c65a06c32b07e64080d80a9b8f08461cc0ca32
refs/heads/master
2023-01-11T03:35:51.039719
2020-11-14T09:24:39
2020-11-14T09:24:39
304,311,252
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
# Generated by Django 3.1.2 on 2020-11-12 11:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('registration', '0004_term_school_fee'), ('finance', '0002_auto_20201112_2359'), ] operations = [ mi...
[ "eminentia.ea@gmail.com" ]
eminentia.ea@gmail.com
61d2e7a48c7da7254694bab7f217ea1627b12718
edc1c404069441a8cb67ca90bf78985d24e7262d
/video/admin.py
36763879e0898a78fe5cf5e4c8d7bbde9064aaf0
[]
no_license
jsparmani/AndromediaProductionsRemake
98b6ac26a2080b7c1cc654ed4636089e816b9ef5
10ee43dd6785c458100bdb41702927744551fd0d
refs/heads/master
2022-02-20T20:11:01.095443
2019-10-06T18:52:26
2019-10-06T18:52:26
212,735,018
0
0
null
null
null
null
UTF-8
Python
false
false
4,208
py
from django.contrib import admin from . import models from apiclient.discovery import build from django.contrib import messages api_key = "AIzaSyDahUDOnXFAW0jlIC-gIc1cKt_tLlOXzf4" class PlaylistAdmin(admin.ModelAdmin): fieldsets = ( (None, { "fields": ( 'name', 'playlist_id' ...
[ "jsparmani@gmail.com" ]
jsparmani@gmail.com
6af0cc08e64ed0eb3f8c846ce47fb9a0ef2a1b68
d5c8002669df3c6f135baee5094a6e62725081d1
/reptile/supervised_reptile/train.py
4c5e21421bb18d6b7cf622e1565ca564ae595aaf
[ "MIT" ]
permissive
mkhodak/FMRL
e12e0d799a05b8b55c20306c3ebdcac96db2f751
137922e24cd106b6bed7415d9da7ce51d3890ef0
refs/heads/master
2020-04-15T00:29:30.268674
2020-03-22T06:55:13
2020-03-22T06:55:13
164,242,078
4
2
null
null
null
null
UTF-8
Python
false
false
3,371
py
""" Training helpers for supervised meta-learning. """ import os import time import tensorflow as tf from .reptile import Reptile from .variables import weight_decay from .eval import evaluate # pylint: disable=R0913,R0914 def train(sess, model, train_set, test_set, save_dir,...
[ "khodak@cmu.edu" ]
khodak@cmu.edu
6b4fd80eafa068e59280dc3f25395d62363e080e
7bbad6159250d2a6845dc4a95f5f226bec14c458
/inventory/power/rights.py
ca47bbd142edda266ff9f3aa981c8dc6ed5a26d8
[]
no_license
ai-being/ofs
ffd43b4f57398101859bbcee2edfc2c379099e49
cfc279b8b8691b0b8f18a89ed56205429d34f12f
refs/heads/master
2022-12-06T10:27:13.430180
2020-08-20T12:42:02
2020-08-20T12:42:02
281,403,087
0
0
null
null
null
null
UTF-8
Python
false
false
1,752
py
# SWAMI KARUPPASWAMI THUNNAI import jwt import hashlib import datetime dates=datetime.datetime.now() date=dates.date() from database.get_connection import get_connection from flask import render_template, request, redirect, url_for, flash,session salt='jeeva$kani*vichu&69' salt=hashlib.sha512(salt.encode("utf-8")).he...
[ "68508268+ai-being@users.noreply.github.com" ]
68508268+ai-being@users.noreply.github.com
57dbde9dc8ad0c6e3250b9e330788f193600672a
228ebc9fb20f25dd3ed2a6959aac41fd31314e64
/google/cloud/aiplatform/v1/schema/predict/params_v1/types/video_classification.py
a08b0246147c3590b599a7ad05b42db219fc4820
[ "Apache-2.0" ]
permissive
orionnye/python-aiplatform
746e3df0c75025582af38223829faeb2656dc653
e3ea683bf754832340853a15bdb0a0662500a70f
refs/heads/main
2023-08-03T06:14:50.689185
2021-09-24T03:24:14
2021-09-24T03:24:14
410,091,957
1
0
Apache-2.0
2021-09-24T20:21:01
2021-09-24T20:21:00
null
UTF-8
Python
false
false
3,332
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
1e4fb0973f00c5999dce0a596bf47a49ae819834
c76dddf3a5ac9ed3a41fea351ff8c67d3062cfb9
/dashboard_app/models.py
a2c04b498864fb459574b02bb965d93be0dfe6eb
[]
no_license
JpBongiovanni/user_dashboard_3
25bd300a64bcbb55780f060bec254568071d50ca
2444162d1f7c696037bbe8505ea4cac26f7073e8
refs/heads/main
2023-02-03T18:26:57.430070
2020-12-21T21:59:32
2020-12-21T21:59:32
323,338,298
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
from django.db import models import re import bcrypt EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') class UserManager(models.Manager): def validate(self, form): errors = {} if len(form['first_name']) < 2: errors['first_name'] = 'First Name must be at least 2 ...
[ "jpbongiovanni@gmail.com" ]
jpbongiovanni@gmail.com
ad3f02552cb32fec4a851ed69631289e4ebca8ec
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/insights/v20201005preview/_inputs.py
21a144300587977774437a23d377b3d7e412df76
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
14,537
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, overload from ... import _utilities fro...
[ "noreply@github.com" ]
noreply@github.com
0710cbc64d9864fa23aa651690a978c75ce6a6a5
d0c7f7e2d1dda15fe23aeb5f82072ddeed91f12a
/NumbaCuda/Test.py
34a64595f608b49be6f1cc3df67057b6a93e6294
[]
no_license
jonasjuenemann/Bachelorarbeit
630cd71e556d739cfc224dfb1299f43a7eb0fe4d
fe51d7ab5ec494a252f3fe77b13878d7f00da226
refs/heads/main
2023-03-21T09:21:44.109229
2021-03-18T15:10:57
2021-03-18T15:10:57
310,050,210
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
from time import time from numba import cuda import numpy as np @cuda.jit def increment_by_one(an_array): # Thread id in a 1D block tx = cuda.threadIdx.x # Block id in a 1D grid ty = cuda.blockIdx.x # Block width, i.e. number of threads per block bw = cuda.blockDim.x # Compute flattened i...
[ "jonas.juenemann@gmx.de" ]
jonas.juenemann@gmx.de
15049870394647d8ef8a7d4c4005b9d4d0951701
8dd42b666ee15f857a3e8a59690b9b2cce7586f6
/algorithms/__init__.py
85a76ea929c7e1de8c5515124ddb342a1d5a1ebc
[]
no_license
cjgiridhar/tips_tricks
a77beef9ce324224c59682432e38517da2a22713
e80cd0bcc79015af56a78484eaaec18521d06f50
refs/heads/master
2020-06-03T23:33:27.308270
2015-07-24T06:27:56
2015-07-24T06:27:56
39,615,573
4
3
null
null
null
null
UTF-8
Python
false
false
25
py
__author__ = 'cgiridhar'
[ "cjgiridhar@example.com" ]
cjgiridhar@example.com
77455691a116df7a97fb3c60162a302cf25cdbcd
7bb9bd2bdadef1590b2ef7ff309e08abf454e49d
/Curso em Vídeo/4-DataNascimento.py
8a9ea4b93b275e7badf7c86dd7569ae1d8b7eeea
[]
no_license
ALREstevam/Curso-de-Python-e-Programacao-com-Python
afdf12717a710f20d4513d5df375ba63ba1e1c19
af6227376736e63810e5979be54eb1c433d669ac
refs/heads/master
2021-09-07T12:11:17.158298
2018-02-22T17:47:19
2018-02-22T17:47:19
87,453,286
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#Entrada e saídade dados dia = input('Dia: ') mes = input('Mes: ') ano = input('Ano: ') print('Você nasceu no dia',dia,'de',mes,'de',ano,'Não é?')
[ "a166348@g.unicamp.com" ]
a166348@g.unicamp.com
4531ecda5ac8793440c85f9c82a7aa2a764b31bb
2e2d71eb76a2360bdfad32c6f043108269b753c6
/app/models.py
6518b79d8a9934f834c0b550c2ebb1647514c0c8
[]
no_license
MoXoCo/one
9e82af23ed42847989c2981f5dd5c13c7443cad4
18000d5a946ebbd9938c0384de7b8129dd441b72
refs/heads/master
2021-01-20T19:00:48.863853
2016-07-28T03:49:53
2016-07-28T03:49:53
63,661,251
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
from . import db from mylog import time_print import random class Post(db.Model): __tablename__ = 'posts' id = db.Column(db.Integer, primary_key=True) url_num = db.Column(db.Integer) title = db.Column(db.String(10)) img = db.Column(db.String(64)) content = db.Column(db.String()) timestamp ...
[ "mengxucong@yahoo.com" ]
mengxucong@yahoo.com
3dcd089d6a30ae78f2869354ef2c95deab75e4d4
ec0ea8854d9a04967fe8d7794454f76946a8252e
/migrations/versions/7c6b878897a6_initial_migration.py
23dc013e61e45de6239e827e0dd76e12b45470bf
[]
no_license
alinzel/Blog_flask
3ae3f4d6e8bfd48e67ffddf2040c37f86d8756f7
47f50cb409f78d5a45144a8f2d134982dc03e383
refs/heads/master
2020-03-07T22:38:11.537557
2018-04-02T13:30:55
2018-04-02T13:30:55
127,759,441
1
0
null
null
null
null
UTF-8
Python
false
false
905
py
"""initial migration Revision ID: 7c6b878897a6 Revises: Create Date: 2018-03-16 03:39:18.455855 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7c6b878897a6' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto ...
[ "944951481@qq.com" ]
944951481@qq.com
2d868583f63376842e1cd553b872f76f6f8c7f87
06e5f427067574b5be79e8a0a260db8ee3b5f744
/tests/testpadpt.py
bfcf914003a82983e73fa645d57d3c953567ce0a
[ "MIT" ]
permissive
wotsushi/padpt
655e5b94f749f5dc3db0311fa92e642897c650cc
177328d9d18d5b68615b96b5fe6c562bac01df2e
refs/heads/master
2021-01-12T16:52:38.059089
2016-11-12T14:53:27
2016-11-12T14:53:27
71,460,807
0
0
null
null
null
null
UTF-8
Python
false
false
6,381
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import os import io import shutil import warnings import unittest import urllib.error from unittest.mock import patch from PIL import Image from padpt import padpt class TestPadPT(unittest.TestCase): def setUp(self): if os.path.exists('tests/tm...
[ "wotsushi@gmail.com" ]
wotsushi@gmail.com
9625fedf9f7cbf9145837f97b9b0160e874f2324
00443f71e4bf97d91751c1c3d4dc60abe3936f85
/Kivy_List_View_ListAdapter/studentdb.py
2025e2e00122eeac20af47567885d0198bef6d8e
[]
no_license
mikaeloLombard/Python-Labs
f43d1c47adbb1775e619fef4f82a5adf7be0607d
5475c412fc2683986aff7710fe63afb343539e46
refs/heads/master
2021-08-22T23:42:35.978258
2017-12-01T18:18:20
2017-12-01T18:18:20
103,810,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.properties import ObjectProperty from kivy.uix.listview import ListItemButton class StudentListButton (ListItemButton): pass class StudentDB (BoxLayout): first_name_text_input = ObjectProperty() last_name_text_input ...
[ "noreply@github.com" ]
noreply@github.com
352732936770d6462601d1391dbdc1eb30c7b3be
03e42691246559f849849057cdd6e91b2147409d
/vggnet.py
be7131ad9bfd341471228057e22ca7e009024b95
[]
no_license
idhant96/image-classifier
10530459c6add35dc21a9ebcf4bb81ac833b4d3c
478624987c1326bd91fb4aad867bbf73c6be6d67
refs/heads/master
2020-03-11T05:00:13.484141
2018-04-17T20:26:20
2018-04-17T20:26:20
129,790,671
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
from keras.models import Sequential from keras.layers.normalization import BatchNormalization from keras.layers.convolutional import Conv2D from keras.layers.convolutional import MaxPooling2D from keras.layers.core import Activation from keras.layers.core import Flatten from keras.layers.core import Dropout from keras....
[ "idhant123@gmail.com" ]
idhant123@gmail.com
19166651f38a32aeff63e9ade2eaa4f38ec3c683
439cd655eb772b725d30fd70676008fb80f9d9f4
/run_driller.py
35cbe4ad087fef2163d4619612638ce62231686b
[]
no_license
gal0is/cgc-test
d885ecf8fb514b89ae0245d6c831e1d5e52ed98e
0c7b2e946fca4b7e542d715d1892a17c7b244cdf
refs/heads/master
2020-07-05T13:23:32.467612
2019-08-18T15:29:25
2019-08-18T15:29:25
202,659,161
0
0
null
null
null
null
UTF-8
Python
false
false
2,474
py
#!/usr/bin/env python import errno import os import os.path import sys import time from driller import Driller import logging logging.getLogger().setLevel('DEBUG') def save_input(content, dest_dir, count): """Saves a new input to a file where AFL can find it. File will be named id:XXXXXX,driller (where XXX...
[ "zhipeng.job@hotmail.com" ]
zhipeng.job@hotmail.com
1fe9f9a0217b1401f51ae683b9f9c20f050be87d
fe9c6ec40d7ec7f31ac0072083a3443415e5ff68
/View/tables.py
ea46f00c03024012201168b739ba1a8b82d1102b
[]
no_license
Dsalce/TFM
2233d31de609aeb7143ade07148d801f8730714e
e5b83fb8b98e9de7d109baa7cd71b7a7042a1631
refs/heads/master
2018-10-06T02:29:31.159252
2018-09-02T19:10:32
2018-09-02T19:10:32
120,086,841
0
0
null
null
null
null
UTF-8
Python
false
false
6,602
py
"""Table of the Main Mainwindow""" from PyQt5.QtWidgets import QMainWindow, QApplication, QWidget, QAction, QTableWidget,QTableWidgetItem,QVBoxLayout,QMenu,QCheckBox,QWidgetAction,QDialogButtonBox,QScrollBar,QPushButton from PyQt5.QtGui import QIcon from PyQt5.QtCore import pyqtSlot,Qt,QPoint from PyQt5.QtGui import...
[ "dsalce92@gmail.com" ]
dsalce92@gmail.com
56d70eb0357685630e14c4a8a7d62ccd25e9d9bd
84078d857f71c12f27e129a8b28fa2eed50af126
/core/migrations/0005_item_content.py
25f824fdec58585c7c3405c52f61b4703c079561
[]
no_license
mandech-n/niche
a3f6532d9a99b042dfa2699ded7150679832acb1
70c43807b920aa1b3ea69eb5edea5e4b7a31a7dd
refs/heads/master
2023-01-23T08:27:13.390899
2020-11-23T11:16:08
2020-11-23T11:16:08
277,471,587
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# Generated by Django 3.1.2 on 2020-11-03 18:57 import ckeditor_uploader.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0004_remove_item_slug'), ] operations = [ migrations.AddField( model_name='item', ...
[ "noreply@github.com" ]
noreply@github.com
b98bef79c647ca1444eaeb49d1ff5e3b7d110594
6591721fcf9c95ba8fa579de9b73cfbecfaf04a7
/main.py
ed573e431da8fd4201ce2285add960fbc7ce3ab2
[]
no_license
FreedomTrail/TensorRT_ROS_TX2
0d5581094d3d3a251ae3c5f68983e390e6361402
b3a9307ca27667b206a49bc235be24ec4f6aca91
refs/heads/master
2020-09-14T11:39:56.720648
2020-07-16T02:00:42
2020-07-16T02:00:42
223,118,618
0
1
null
null
null
null
UTF-8
Python
false
false
3,157
py
import os import sys import cv2 import time import ctypes import numpy as np import pycuda.autoinit import pycuda.driver as cuda import coco import uff import tensorrt as trt import graphsurgeon as gs import common #from config import model_ssd_inception_v2_coco_2017_11_17 as model #from config import model_ssd_mobi...
[ "zryang_ok@163.com" ]
zryang_ok@163.com
dae3eb32ca4d2ebbaaf7162e74135de0adc35570
a1308f3ffbd73a020685f02ad7674f2111c36db8
/ftpserver/Server/core/ftpserver.py
e5f4238ae0a46974f9709351b18de3a36c7f3f9d
[]
no_license
hardy9sap/ftpserver
9011d134fcea4e70c383ad324807dade347ce54d
7f45f4076b9c70a2cc8fea6cefdd7f784c5a07e8
refs/heads/master
2022-12-26T21:07:29.052262
2020-02-27T13:16:26
2020-02-27T13:16:26
243,519,097
1
0
null
2022-12-08T01:51:19
2020-02-27T12:54:31
Python
UTF-8
Python
false
false
25,758
py
"""FTP Server端 """ from .parseini import CONCURRENCY from .parseini import SHARES_PATH from .parseini import FILESTATUS from .parseini import HOME_PATH from .parseini import ACCOUNT from .parseini import INIPATH # from threading import Thread import configparser import subprocess import contextlib import traceback imp...
[ "hardy9sap@163.com" ]
hardy9sap@163.com
3843cc9353c9488b2266f1de2b6f751192ebf63e
b5d3962153c6227cdf908273cdc4d479b4983ae1
/downloader_telekrytyka.py
20885824255ffbf2f3bce1f0d0702c304d3d5606
[ "Apache-2.0" ]
permissive
vlddev/news_downloader
c7cfffb0eeee5c688cc843558a30e3decb4f5b41
c1ed17a5c9771b00ae96055100fb1d3709040bd2
refs/heads/master
2022-05-11T20:20:16.591936
2022-05-06T15:25:47
2022-05-06T15:25:47
135,279,353
0
0
null
null
null
null
UTF-8
Python
false
false
16,423
py
import sys, traceback import datetime import subprocess import json import logging import re from bs4 import BeautifulSoup import stats import downloader_common class Article(object): def __init__(self, url, j): self.url = '' if url is not None: self.url = url self.dtStr = '' val = j[0] if...
[ "volodymyr.vlad@isys.de" ]
volodymyr.vlad@isys.de
63b1abf5bb225bb744665385b1829202b82b71b6
747ca7191e8c701ba72ee56c45ac88265359382b
/CompareTwoTreeWithDifferentCut.py
17cfc11d26ba90f8e9b28d7805e4680c1dc3ad73
[]
no_license
ram1123/TreePlotter
d2eb8ad08e7a840646850c64503d7d907d02cf18
354efc9d3a75284b4a7fdec9a418d54073b59539
refs/heads/TreeDrawMethod
2023-03-13T02:02:42.132580
2016-11-29T18:35:44
2016-11-29T18:35:44
40,403,513
1
1
null
2016-08-01T00:14:01
2015-08-08T13:21:42
C
UTF-8
Python
false
false
2,978
py
import re import sys import os import ROOT from ROOT import TFile, TH1F, TObject, TLatex ROOT.gROOT.SetBatch(True) # This will prevent histogram to show ROOT.gStyle.SetOptStat(0) ROOT.gStyle.SetOptFit(0) Path1 = "/home/ramkrishna/cernbox/aQGC_Studies/SecondStep_Ntuples/WW_Sample_NoVBFjetSelection_13Sept2016/output/...
[ "ramkrishna.sharma71@gmail.com" ]
ramkrishna.sharma71@gmail.com
61d833fce1a3c15f045e9012f95e49069ff4f39a
85eb115ef76e9cd6b50deeee2264255d82422a4d
/Homework1/cornellchain/blockchain/chain.py
1e9eeb9b5aa31aacdfd8ea04b5aa60aa51ebdf40
[]
no_license
sspark0122/Blockchains-and-Cryptocurrencies
fa996ef0e67adfba1fe26f55fced4644a0ce22e1
7d4690edffd45f80be00c2f3b009409eaece3175
refs/heads/master
2020-04-27T10:59:45.909317
2019-03-27T18:06:18
2019-03-27T18:06:18
174,278,840
0
0
null
null
null
null
UTF-8
Python
false
false
6,461
py
import os import config import blockchain from blockchain.util import encode_as_str import transaction, persistent class Blockchain(persistent.Persistent): def __init__(self): """ Create a new Blockchain object; we store 1 globally in the database. Attributes: chain (:obj:`dict` of (i...
[ "sung@Sungs-MacBook-Pro.local" ]
sung@Sungs-MacBook-Pro.local
26615f81ac62f5a366eb180e2387cd59a5592dc4
aa1091e553227fb23f58bfbcb9ece7e347eae833
/人工神经网络/hw4/attack.py
b4fa7dd58e8555ab730790ea63919b12c5b10116
[]
no_license
wmhst7/UndergradProjects
fc84d8fb79329993a2db8b040ffe088d9d7a0cd2
637f801c2323e2b1fe80fffc89f791571aa8090b
refs/heads/master
2022-10-10T19:38:40.948661
2020-06-12T06:53:07
2020-06-12T06:53:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,740
py
import numpy as np import tensorflow as tf from common import config mean, std = config.mean, config.std class Attack(): def __init__(self, model, batchsize, alpha, beta, gamma, CW_kappa, use_cross_entropy_loss, **kwargs): self.batchsize = batchsize self.model = model # pretrained vgg model use...
[ "zx1239856@gmail.com" ]
zx1239856@gmail.com
b705ddebcad0c0865238b457be053e216c227801
9a2f317b097d9e134bc34eb7d30a05388f53fd73
/from_satya_mallick.py
ca876b989cad983732800bdd6786e15d0670fb3d
[ "MIT" ]
permissive
peterdobbs77/objectTracking_py
7faa3913bc237e43249954a53b0184873667ef60
536d313e29624a378b39cb15f5ad7aa0ee86919a
refs/heads/master
2021-07-23T17:18:45.901804
2020-05-10T19:30:46
2020-05-10T19:30:46
163,464,682
0
0
null
null
null
null
UTF-8
Python
false
false
3,020
py
import cv2 import sys (major_ver, minor_ver, subminor_ver) = (cv2.__version__).split('.') if __name__ == '__main__': # Set up tracker. # Instead of MIL, you can also use tracker_types = ['BOOSTING', 'MIL', 'KCF', 'TLD', 'MEDIANFLOW', 'GOTURN', 'MOSSE', 'CSRT'] tracker_type = tra...
[ "dobbsp8@gmail.com" ]
dobbsp8@gmail.com
e37e591a40605391e98e275ba910759c8959f6ba
423d205ac73a009776b4f826ee56b4cf79d4d8fe
/apps/ops/tasks.py
32900c5c7e976f52422f1a251fc2d9eeaac326ec
[]
no_license
jackyops/hfops
531fe8998de57b0be481198b5f1cd4ea2afceb32
f1a4b3fe0ee6a7ea78366d80c1e6049070245dd3
refs/heads/master
2021-08-19T08:38:01.587270
2017-11-25T14:51:09
2017-11-25T14:51:09
108,856,735
0
0
null
null
null
null
UTF-8
Python
false
false
5,292
py
#!/usr/bin/env python # _#_ coding:utf-8 _*_ from celery import task from utils import base from ops.models import (Log_Assets,Log_Ansible_Model,Project_Order, Log_Ansible_Playbook,Log_Cron_Config, Log_Project_Config,Global_Config,Email_Config) from django....
[ "jackyops@163.com" ]
jackyops@163.com
9ac3d242361b974588e1943381d778b5824cee1b
60335f784680ecb729bf48c86a16508b66179281
/createcode.py
c879598ea35417f9ae0ed8819705b4c9f4e2573d
[]
no_license
zwade/Hackathon
83e9921c0570b633ab22ae4ffdc088f5a7b78c8a
2dbd92f086d69ec8eafddf3efaa48d063819639d
refs/heads/master
2021-01-10T18:07:12.792148
2013-07-22T20:24:32
2013-07-22T20:24:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
def createcrap(string): stri = "" for i in string: stri += chr(ord(i)+3) print("\"\".join([chr(ord(i)-3) for i in \"",stri,"\"])",sep="") def main(): from sys import argv crap = argv[1] or "hello" createcrap(argv[1]) main()
[ "zacharywade@gmail.com" ]
zacharywade@gmail.com
1e33b6aca992623524e5f519287fa8957bd79e15
f818b8fa098a88f7c0dc9516ef384603ee52c58c
/docker_code/stack_segmentation/training.py
a482a8ddcefb2a1a9c26a92dcef44970733e5386
[]
no_license
eph2795/segmentation_pipelines
1c268090557ec36c86963b38ca508fd2845b2b1b
dba5d00f70936eea605ef4045ebe11f26ff74406
refs/heads/master
2022-12-12T22:24:29.533708
2020-02-23T17:34:14
2020-02-23T17:34:14
241,601,812
0
0
null
2022-12-08T03:38:52
2020-02-19T11:12:08
Python
UTF-8
Python
false
false
5,460
py
from collections import defaultdict from tqdm import tqdm import numpy as np import torch from torch.optim import SGD, Adam, AdamW, RMSprop from torch.optim.lr_scheduler import ReduceLROnPlateau import segmentation_models_pytorch as smp from .stack import Stack from .unet import UNet from .early_stopping import Ear...
[ "elavrukhin@ozon.ru" ]
elavrukhin@ozon.ru
13ac729ae6b5ba84461ce7ee1ba4727d2d10efda
405df9af9bcece684ec520e44ffe162accca1baa
/testfunctions.py
694b3aecf557e56298ffd3c3b391f83a01dc59d9
[]
no_license
agustintorres/tichu-perceptron
ec284b3c53af316bb9ae0d21c3e6537a830b3ffc
5f3f8c2701a9895a47845b50bc3c3f272db178c9
refs/heads/master
2021-01-10T14:56:06.873131
2016-04-01T03:02:41
2016-04-01T03:02:41
55,194,907
2
1
null
null
null
null
UTF-8
Python
false
false
1,790
py
from student import * hand = [1,0,0,0,2,1,1,3,1,1,1,0,2,3,2,1,1] print "hand: " + str(hand) print "firstFeatureFunction: " + str( firstFeatureFunction(hand) ) print "numberOfCards: " + str(numberOfCards(hand) ) print "numberOfEachHighCard: " + str(numberOfEachHighCard(hand) ) print "numberOfHighCards: " + str(number...
[ "agustintorres@gmail.com" ]
agustintorres@gmail.com
0dc38b5ce96f3cedb10b11870c56bae3bfdd6c0b
af93904a99f956634b5d254cc90787e8966ea548
/Chat.py
75e72d19cd1e094f8d7821eeb8f8ca01e758fdcc
[]
no_license
jasonxi89/WechatBot
e120abbe98eb353c2d3a2381b5a2b79cc471c335
067fa352e3f04fbc8d77aac5d59dd151bedb124c
refs/heads/master
2020-04-12T18:42:34.013100
2019-01-13T23:27:33
2019-01-13T23:27:33
162,688,065
0
0
null
null
null
null
UTF-8
Python
false
false
3,619
py
import itchat import pymysql import re def sqlQuery(query): conn = pymysql.connect(host='192.168.31.168', port=3307, user='test', password='123456', db='test', use_unicode=True) cursor = conn.cursor() cursor.execute(query) values = cursor.fetchall() conn.close() ret...
[ "jasonxi89@gmail.com" ]
jasonxi89@gmail.com
9a47313b1510bcfddeeca1fb41bc3c0b99a35eda
04803c70bb97012b7d500a177ac0240fb2ddbe38
/blend4_pdep/pdep/network137_5.py
3bb47eb03df3725a21b1fbbb866e1271d6159d61
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
288,786
py
species( label = 'C7H8(690)(689)', structure = SMILES('C=C1C=CC=CC1'), E0 = (169.147,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2950,3100,1380,975,1025,1650,2750,2830,2910,2990,3070,3150,900,940,980,1020,1060,1100,300,800,800,800,800,800,800,800,800,800,800,1600,1600,1600,1600,1600,16...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
f9844ec0882e76f90abffc2b3a67e1fcc71a68ed
e457ec8103562439d153403ad9106d42664976af
/set3/Code11.py
1fa4995d3c116856249400276c054458a73fcb6c
[]
no_license
ishaniMadhuwanthi/Python-Codes
548a5206bdcd50013abc91b3a0560f442bc910a7
8959b85bfa80a38f6111945e815499e39590233f
refs/heads/master
2022-08-12T03:59:05.770534
2022-07-26T04:55:18
2022-07-26T04:55:18
226,508,882
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
import random print("Generating 3 random integer number between 100 and 999 divisible by 5") for num in range(3): print(random.randrange(100, 999, 5), end=', ')
[ "noreply@github.com" ]
noreply@github.com
dde73476fdc175081bcd43328db97d6fbf9d4426
e9ccd3ad6552d721482742d12bb3fd71e080d865
/crawl_news_mongo/spiders/norkhothom.py
bf06ae18258bac968ef5c30cb4a1fbae9902923a
[]
no_license
hoangduyphuc9x/KhmerNews
9013d5d9a67bd2f547f5722c470eac9f3e27b1be
7d55bdfe3c727d8ff60bed86ed5d4a017f20b9ce
refs/heads/master
2022-12-11T14:55:44.514532
2019-08-22T09:54:36
2019-08-22T09:54:36
196,173,710
0
0
null
2022-12-10T22:49:27
2019-07-10T09:17:07
Python
UTF-8
Python
false
false
3,399
py
import scrapy from ..items import NewsItem from datetime import datetime import pytz from ..config import categoryProcess, convert_month_to_int, DebugMode from pymongo import MongoClient client = MongoClient('localhost', 27017) if DebugMode(): db = client.TESTDB col = db["Norkhothom"] else: db = client.O...
[ "hoangduyphuc9x@gmail.com" ]
hoangduyphuc9x@gmail.com
2737e918bb8c6228f8cb593064a7d4916e16c3a4
9a94211ee6eb5aa44b2ed0858430a074197a1c76
/slitherpygame.py
80e4ca5e39a74a87bc814aa5cc15b4e645737cf1
[]
no_license
Akashdeepsingh98/Workshop-pygame-snake
46a8311a1c9cf79688c7e8cc0ae2fa2b3c7e53f7
ab366f15be8a9195ad0ff5ffee83815e5cfb824b
refs/heads/master
2021-05-01T11:25:20.388038
2018-03-11T05:03:22
2018-03-11T05:03:22
121,120,065
0
0
null
null
null
null
UTF-8
Python
false
false
7,659
py
import pygame import random pygame.init() white = (255, 255, 255) black = (0, 0, 0) red = (255, 0, 0) green = (0, 155, 0) display_width = 800 display_height = 600 gameDisplay = pygame.display.set_mode((display_width, display_height)) pygame.display.set_caption('Slither') head = pygame.image.load('sna...
[ "noreply@github.com" ]
noreply@github.com
52f6e4838038f1d570395eb4a2e3eb970945bc52
77dadd97530d348ca030b38a724c1e06675b97e7
/spam_classifier.py
5733e6b221e9cadfa68b9a18f8740f0ee25c9214
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Kiyo5hi/Chinese-Spam-Classifier
df081db9cafe8183419aa1c065c1811dcd658c82
07b6849456a62b1aa36394330136118c71259a4e
refs/heads/main
2023-03-25T14:36:01.677481
2021-03-26T10:10:59
2021-03-26T10:10:59
311,594,449
4
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
from sklearn.feature_extraction.text import TfidfTransformer from sklearn.feature_extraction.text import CountVectorizer from sklearn.model_selection import train_test_split from sklearn.naive_bayes import MultinomialNB from sklearn import metrics import jieba import os import re from joblib import dump, load class Sp...
[ "i@k1yoshi.com" ]
i@k1yoshi.com
b2663b1e9eea9620ae0937879b90f528fc8f426b
ca0030ad2adc678ebb92d5b48161163fa1fec352
/asyn06/协程实现asyn03.py
e837738af68a3b0cbcf7c2429f4d255e3d8c1941
[]
no_license
fxywky/tornadoProject
713edfbc6ebb5b2b05e2774511141c0cdfc7dc89
cf0a3922c2a5670d812a6ae353f875d96f657bf8
refs/heads/master
2020-12-06T15:12:29.589769
2020-05-11T12:49:09
2020-05-11T12:49:09
232,493,775
1
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ import time import threading # 我理解的next()就是往下走。当yield的时候,就是卡在那里,next的时候,就会运行yield后面的程序 def genCoroutine(func): def wrapper(*args, **kwargs): gen0 = func(*args, **kwargs) # reqA 的生成器 gen1 = next(gen0) # longIO的生成器 def run(g): ...
[ "1024956214@qq.com" ]
1024956214@qq.com
3b0cb6bf6324296f08c74e0e0da7621c7fddbbad
9ec6d7f7c98159c3c98fa8b107eb2e221d7dd37b
/graph_lm/models/__init__.py
06c429f9750262ec8ed2e9f0657b799250503bf7
[]
no_license
bstriner/graph-lm
8f4d8df4ba5595e616e1fbe78da92acf0eac4403
bc31caa1fed7d87bb57f0754fab1e1f96e410dbf
refs/heads/master
2020-04-24T18:33:40.416780
2019-05-10T18:40:05
2019-05-10T18:40:05
172,183,417
0
0
null
2019-04-08T13:59:52
2019-02-23T07:07:24
Python
UTF-8
Python
false
false
61
py
AAE_RE = 'aae' VAE = 'vae' AAE_STOCH = 'aae_stoch' AE = 'ae'
[ "bstriner@gmail.com" ]
bstriner@gmail.com
89b6ebe9e6d0a67626bb5ba1b9278aa3ebafa35c
fd65851c7977176cfa69056ea5d63ca529e74271
/samples/core/loop_parameter/loop_parameter_test.py
11e2c9b0b63d408a08a93b63129a7a7b21c9e116
[ "Apache-2.0", "BSD-3-Clause", "MIT", "BSD-2-Clause" ]
permissive
NikeNano/pipelines
dad9f45267a7f4c495a30880dd6fe1570f26fa64
73804f8928ce671839d34800627b6d3ea9f820a7
refs/heads/master
2022-01-29T21:24:43.693120
2021-11-20T18:18:35
2021-11-20T18:18:35
221,051,451
1
1
Apache-2.0
2021-04-23T20:07:11
2019-11-11T19:11:29
Python
UTF-8
Python
false
false
951
py
# Copyright 2021 The Kubeflow 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 applicable law or agreed to in...
[ "noreply@github.com" ]
noreply@github.com
a1d53557bdf059b665d288399ca8406aac341ddf
bcae5b5da1f7ad38d33123dec4be34c89e219e18
/env/bin/iptest
fe270435a1f015c1415d599aa0079ff5972655e1
[]
no_license
peuic/crawlertest
c9a97f9613de087ddab5fe8296f908de8a02ae45
9004391a326842e6be244e5982358e3cde5e1421
refs/heads/master
2022-12-10T20:46:26.263706
2018-08-01T18:23:25
2018-08-01T18:23:25
138,191,603
1
1
null
2022-07-06T19:50:20
2018-06-21T15:50:39
HTML
UTF-8
Python
false
false
280
#!/Users/peuic/Documents/Projetos/crawlertest/env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from IPython.testing.iptestcontroller import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "peuic@MacBook-Air-de-Romulo.local" ]
peuic@MacBook-Air-de-Romulo.local
ee319cd6d901830a3b33ecf66eb0941f348ecb2e
e0527bce5c53a196752d3a16adf50cb60754de5f
/02-Workshop/Workshop-Questions/6_pollock.py
b27d6fead14feaff42588a9ffef6d02b37a30352
[]
no_license
ARWA-ALraddadi/python-tutorial-for-beginners
ddeb657f419fbc176bea273bc9fb6b88d1894191
21cedfc47871ca4d25c2382464c60ab0a2121205
refs/heads/master
2023-06-30T20:24:30.688800
2021-08-08T08:22:29
2021-08-08T08:22:29
193,094,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
## Jackson Pollock's Final Masterpiece ## ## 20th century "artists" such as Jackson Pollock achieved fame ## by stumbling drunkenly around a canvas on the floor ## dribbling paint out of tins. (We're not being rude - he openly ## admitted to being drunk when creating his paintings.) However, ## today we can...
[ "noreply@github.com" ]
noreply@github.com
7d69efce311174755631fa5cd76a2301e8f6b9b1
3e9eb3fbbcbd1f6254b451a50190f7eb79fdffcb
/python/web_request.py
b3a03964b2655d2f4ab5e56093192c4ce3925c9e
[]
no_license
punisherbash/scripts
408b504551294d2292be382de01b5e40c31036fd
0efaecce6a8cb7342058586aecb3bed9e2fee281
refs/heads/master
2023-03-01T23:53:15.541965
2021-02-09T01:43:42
2021-02-09T01:43:42
262,920,694
3
1
null
null
null
null
UTF-8
Python
false
false
289
py
#!/usr/bin/python3 ####################################### # punisherbash # ####################################### import requests site = requests.get('http://businesscorp.com.br/') status = site.status_code if( status == 200): print('Page Ok') else: print('Page not Found')
[ "zozielc@hotmail.com" ]
zozielc@hotmail.com
5bc1b9c932355a1fa5a5500db6aa6d0f9ca3cc41
ee82d5f781f9b2ad8d710e8b4ca723dd8b51fe22
/cryptomate/strategy/persistence/__init__.py
9205cb8a22c040162889979211d4230bff71b273
[ "MIT" ]
permissive
solid-abstractions/cryptomate
32538e9a65305cf1865452d29242a0b45e3a68ba
49b4fea8f2f0f1ad61309a44167d1732ef2af0e4
refs/heads/master
2020-03-29T15:53:08.362898
2018-10-30T17:08:33
2018-10-30T17:15:04
150,085,416
1
0
null
null
null
null
UTF-8
Python
false
false
85
py
from cryptomate.strategy.persistence.base import Persister __all__ = ('Persister',)
[ "julien@etherdream.org" ]
julien@etherdream.org
73bb462ab5a083f962e51d1215edd7734ab66a48
2479d1ad23378a5f5fe9c54dda1f89dbd42f21e2
/preprocessing_pipeline/pipeline.py
be2f837efacedf41c64504da771e67d19e2415a1
[ "MIT" ]
permissive
sandhyavasthi/topic-modeling-textPrep
000a4c82539c293ad3cc627bbba3a1e49ad283e7
8138040308f33785cc5baa5f5982c2543e26ae0f
refs/heads/main
2023-06-07T04:32:20.354164
2021-07-07T19:09:00
2021-07-07T19:09:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,234
py
import math from .part_of_speech import PartOfSpeech from .remove_punctuation import RemovePunctuation from .remove_stopwords import RemoveStopWords from .remove_urls import RemoveUrls from .synonyms import Synonyms from .lemmatize import Lemmatize from .stem import Stem from .short_word import RemoveShortWords # from ...
[ "rchurch4@bu.edu" ]
rchurch4@bu.edu
b2a3106a379c22fe0e7d4e763e29f6abfdc97c43
641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2
/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py
d6184838495e80aa3d5676b5ce34964c83c10ace
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
massnetwork/mass-browser
7de0dfc541cbac00ffa7308541394bac1e945b76
67526da9358734698c067b7775be491423884339
refs/heads/master
2022-12-07T09:01:31.027715
2017-01-19T14:29:18
2017-01-19T14:29:18
73,799,690
4
4
BSD-3-Clause
2022-11-26T11:53:23
2016-11-15T09:49:29
null
UTF-8
Python
false
false
12,119
py
# Copyright (c) 2012 Google Inc. 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 # notice, this list of conditions and the ...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
bd43c74dbedfffa5f78047b657c12b942d4ddcc1
616ab64f86468877832bbbe82895bf3c02a47266
/jewels_and_stones.py
140518e3e213c1765e51a40383ce5da604464ea4
[]
no_license
sapurvaa/LeetCode-Challenges
57f339627f8c9485e0da9bbadb7bc7d508636793
53030bcc8b00c120ef97d9d7188d7ec2dfe947ad
refs/heads/master
2022-07-08T04:22:46.651694
2020-05-12T14:16:25
2020-05-12T14:16:25
262,454,028
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
''' Problem: You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the stones you have are also jewels. The letters in J are guaranteed distinct, and all characters in J and S are ...
[ "sapurvaa@yahoo.in" ]
sapurvaa@yahoo.in
d66a3005c423dd2c9ca316b67c11a1b9299da949
3777658387aa9e78d7c04202d7fd47d59b9e1271
/datavisualization/candlestick.py
a58d3bacc7e90462ace43536b3decbf25c7a586e
[]
no_license
jocoder22/PythonDataScience
709363ada65b6db61ee73c27d8be60587a74f072
c5a9af42e41a52a7484db0732ac93b5945ade8bb
refs/heads/master
2022-11-08T17:21:08.548942
2022-10-27T03:21:53
2022-10-27T03:21:53
148,178,242
4
0
null
null
null
null
UTF-8
Python
false
false
6,956
py
#!/usr/bin/env python import numpy as np import pandas as pd import matplotlib.ticker as mticker import mplfinance as mpf import yfinance as yf import matplotlib.pyplot as plt import matplotlib.dates as mpdates import finplot as fplt import pandas_datareader as pdr from datetime import datetime, date # aapl = yf.downl...
[ "okigbookey@gmail.com" ]
okigbookey@gmail.com
72a08f9fcd290ea481f8bc985b1f603da9486c0d
d9afc55da8da26ecf5d520316114ca26610e5a27
/SUMOPython/venv/Scripts/easy_install-3.7-script.py
10916974561f945427761501f7222e4156f21804
[]
no_license
helenzuo/SUMO
64e48786eb689d0b973cf7100dad23875abd9eca
3c21b308e9944d6298e08db850a2dfa1dbe8253f
refs/heads/master
2023-01-04T20:27:53.504433
2020-11-04T06:48:28
2020-11-04T06:48:28
305,910,080
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
#!"D:\SUMO\Melbourne 2\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "hzuo5@student.monash.edu" ]
hzuo5@student.monash.edu
6301e5ce5711488ed50bb66343401def93e6eb09
d7320f2f599d1d81e14aec5f62e9d48ee4fddfa2
/backend/mobile_23_dec_dev_17193/settings.py
de579c228368f904f01a84b5395bb4ed2917c868
[]
no_license
crowdbotics-apps/mobile-23-dec-dev-17193
be7f357b35147a9b4264f3b93482b18975e034ce
632ed98d9fa87fab09c91f41eea01b001fb40dae
refs/heads/master
2023-02-04T23:41:19.953146
2020-12-23T13:37:07
2020-12-23T13:37:07
323,806,565
0
0
null
null
null
null
UTF-8
Python
false
false
7,057
py
""" Django settings for mobile_23_dec_dev_17193 project. Generated by 'django-admin startproject' using Django 2.2.2. 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/ "...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
627e4eae998210c50d39487331d14e0501358df4
ac63c3bd8ac1785b930ecb934ffa32ac902c23b1
/tests/test_unicode.py
d97dfb778ff8b165478865ad5f6d463dee11cc42
[ "BSD-3-Clause" ]
permissive
orome/crypto-enigma-py
875700558f144a508f442ad397de6778147f8e6b
c68ecdd1c4edff26b563d77d86df801e4f1f6943
refs/heads/develop
2021-07-17T03:44:49.378118
2019-04-25T19:57:58
2019-04-25T19:57:58
45,213,252
7
6
BSD-3-Clause
2021-03-03T15:56:28
2015-10-29T22:01:50
Python
UTF-8
Python
false
false
2,064
py
#!/usr/bin/env python # encoding: utf8 from __future__ import (absolute_import, print_function, division, unicode_literals) ''' Simple test file for debugging and testing at the shell. To use simply python test.py or ./test.py or run 'test' in PyCharm. ''' import pytest from crypto_enigma.mach...
[ "royl@aldaron.com" ]
royl@aldaron.com
d5da2c9ad8f1d9c5a08dac576a17d6a5a39515e4
44c091c9bebc5e0e4f6907de9b73fc2b5550852b
/assignment9.py
994a408696b548bfd1828f2ef486a5e76c1ca635
[]
no_license
canlasd/Python-Projects
f9a66d8cd80b65c64806915064d5efe14754f5f6
0047b8a2556b4d8818a502fc1afc526d2d37ec5a
refs/heads/master
2020-06-03T11:24:42.205807
2014-06-18T17:48:45
2014-06-18T17:48:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
records={} records2={} import shelve records=shelve.open('C:/Python Projects/records.txt', 'c') # input the student string value. Note only input was used student=input("Please enter student's name (or -999 to quit): ") while (student!='-999'): # input the grade. Note eval is added before input to store ...
[ "canlasd@aol.com" ]
canlasd@aol.com
3b2bfe90e1713e4a3c44becca9465e02d8b99ecc
53ccc4f5198d10102c8032e83f9af25244b179cf
/SoftUni Lessons/Python Development/Python Fundamentals September 2019/Problems And Files/05 EX. B. SYNTAX, CONDITIONAL STATE. AND LOOPS - Дата 20-ти септември, 1430 - 1730/More Exercises/02. Find The Capitals.py
7eeea2620bed701edeaa70159043400ad4480ba4
[]
no_license
SimeonTsvetanov/Coding-Lessons
aad32e0b4cc6f5f43206cd4a937fec5ebea64f2d
8f70e54b5f95911d0bdbfda7d03940cb824dcd68
refs/heads/master
2023-06-09T21:29:17.790775
2023-05-24T22:58:48
2023-05-24T22:58:48
221,786,441
13
6
null
null
null
null
UTF-8
Python
false
false
920
py
""" Basic Syntax, Conditional Statements and Loops - Exercise Check your code: https://judge.softuni.bg/Contests/Practice/Index/1720#1 Video: https://www.youtube.com/watch?time_continue=4&v=7sHE4HEUqi8 SUPyF2 Basic Exercise More - 02. Find The Capitals Problem: Write a program that takes a single string and p...
[ "noreply@github.com" ]
noreply@github.com
cf4865556db57055bd35680fe369d939ae17c4d7
ba3abf9616a1d22a1ba550d61242a775cbb7632b
/test/gw/plot_test.py
e85aac75a6582834c504e66ab66aa7a90077a484
[ "MIT" ]
permissive
Samanwaya1301/bilby
f44a745760c2555f95812e891d85895c00697209
205dd291895c4df0c5d079a9c2d72ed740f571e8
refs/heads/master
2023-07-27T09:59:37.456811
2021-09-09T11:10:39
2021-09-09T11:10:39
274,110,092
0
0
MIT
2020-10-02T16:34:42
2020-06-22T10:43:24
null
UTF-8
Python
false
false
5,429
py
import os import shutil import unittest import pandas as pd import bilby class TestCBCResult(unittest.TestCase): def setUp(self): bilby.utils.command_line_args.bilby_test_mode = False priors = bilby.gw.prior.BBHPriorDict() priors["geocent_time"] = 2 injection_parameters = priors....
[ "gregory.ashton@ligo.org" ]
gregory.ashton@ligo.org
b1bfdd9e06cafe1576d94ddaaaa7e98f366dc729
325159494f96f31d31036cdb69dc727593a3e7cd
/tests/python_client/testcases/test_utility_20.py
8a2899c6d514d6e21d634cee1ffded867147625f
[ "Apache-2.0" ]
permissive
James-ge/milvus
6bc7026710fbfa0de34fcb259d1f328eeca4aaee
08a31010e9c5336f20219678ca5e7f046fcc1318
refs/heads/master
2023-07-19T05:49:37.453084
2021-08-31T04:07:58
2021-08-31T04:07:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,383
py
import pytest from base.client_base import TestcaseBase from base.utility_wrapper import ApiUtilityWrapper from utils.util_log import test_log as log from common import common_func as cf from common import common_type as ct from common.common_type import CaseLabel, CheckTasks prefix = "utility" default_schema = cf.gen...
[ "noreply@github.com" ]
noreply@github.com
5453e2ba929e2cb73c12c01cdc7a59b0ab31978c
b23f0a74a20b52f0638527521c859135b13b7058
/tensorflow/contrib/tensor_forest/python/ops/gen_model_ops.py
db8104dbfe52f24fb7c2cbb2b66b9e6db3ce2810
[]
no_license
BIT-Brain-Lab/Brain-Sort
bd9550b10b1f7d5f45a4a9d6f7c6b25aed4e1d32
002e8b51014fcdfecd65fa620e9a0ad3fd4184fd
refs/heads/master
2020-03-29T13:40:19.809280
2018-09-23T13:15:27
2018-09-23T13:15:27
149,975,794
3
0
null
null
null
null
UTF-8
Python
false
false
32,071
py
"""Python wrappers around TensorFlow ops. This file is MACHINE GENERATED! Do not edit. """ import collections as _collections import six as _six from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow from tensorflow.python.eager import context as _context from tensorflow.python.eager import core as _c...
[ "18811379768@163.com" ]
18811379768@163.com
81756459f0ba47567d1ae4bb6d2685bd6b2753dd
021f2e8de734b362d86262acf1fff60f31405c03
/meiduo/meiduo/apps/goods/utils.py
53b61a03939ca1f2c25eee66003d54aef497b6f3
[]
no_license
Jackvie/Meiduo
99f733cb37ea8fd6b08641acc823a08fe3b60ec8
52c9cb4ed594b1458c2ed36490fb7c5cd0151be6
refs/heads/master
2022-02-03T17:09:28.287022
2019-06-09T07:03:45
2019-06-09T07:03:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from goods.models import GoodsCategory def get_breadcrumb(category): """ 获取面包屑导航 :param category: 商品类别 :return: 面包屑导航字典 """ # category 应该是3级数据对象 breadcrumb = dict( cat1=category.parent.parent, cat2=category.parent, cat3=category ) return breadcrumb
[ "15938721922@163.com" ]
15938721922@163.com
ce8a24220000f3436702c3832cb3362f2b4f0143
8453523b5101d7289cb5fcd3de6f9dff313e925c
/utils/cfgtool/cfg/extract/cfg/CfgExtractor.py
1f114bc1e2f3187f13715d269d068bc15b3ba810
[ "Apache-2.0" ]
permissive
mytoys/open-register-design-tool
127ff0f474f385deba06cadcfbf40c6330ea1f91
5d6dea268f77546a9a786a16603f50e974d87050
refs/heads/master
2020-06-04T15:18:29.442355
2019-12-02T09:20:09
2019-12-02T09:20:09
192,078,457
1
0
Apache-2.0
2019-06-15T12:54:52
2019-06-15T12:54:52
null
UTF-8
Python
false
false
795
py
#!/usr/bin/python3 ''' cg file parse to cfg model TODO... - handle parse of ned forms @author: snellenbach ''' #import sys from antlr4 import * # installed via pip3 install antlr4-python3-runtime from ConfigLexer import ConfigLexer from ConfigParser import ConfigParser from cfg.extract.cfg.CfgModelBuilder import CfgM...
[ "snellenbach@yahoo.com" ]
snellenbach@yahoo.com
1ec9ba794ac9baee1df67a506f295e337a25d7fb
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/ESAWnF3ySrFusHhYF_17.py
e5d41b17cbf9e0e12f8f85c729de22a0dd160c66
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
def edit_words(lst): return [ ''.join(add_hyphen(words)[::-1].upper()) for words in lst ] ​ def add_hyphen(string): half = len(string) // 2 return string[:half] + '-' + string[half:]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4fd0d9a749c683d9f495f9a55e64c15641a7c56f
7766246d18c1ebb1ece1cbeacad8cdf0f550b455
/items/spear.py
0e1c6eec03da7f21387100b2a379492a2a920991
[]
no_license
Tairesh/telegram-rpg
f4c372709960c0901755566ab0927862ea66df8a
280f440306eab5d9dc2435dbb83768cf20fc553d
refs/heads/master
2020-09-25T17:21:30.127889
2017-01-20T11:55:29
2017-01-20T11:55:29
67,795,201
1
0
null
null
null
null
UTF-8
Python
false
false
347
py
from consts import * name = 'Копьё' isWeapon = True attackMethods = ( ATTACK_SLASH, ) def getAttackMethodSkills(self, method): if method == ATTACK_SLASH: return ('spear', 'fight') else: return () def getDamage(self, user, method): if method == ATTACK_SLASH: return 3 elif method == ATTACK_THROW: return ...
[ "tairesh.rus@gmail.com" ]
tairesh.rus@gmail.com
9b29b97d740d3bc7b5632ea840ff4a3b6129faf8
821a1afa1182e94d5dc2a9f157323f984aa357a0
/test/main.py
ed4c68c6143bce1b336917bdf9caf40db3c49cc9
[]
no_license
JiaoPaner/detector-onnx-linux
b98325f683814eb4d558517958a7a7b3b6997d9e
892b20eb3b7296a99d4d9bccee323e9f9cce7024
refs/heads/master
2023-03-04T17:08:04.448550
2021-02-02T15:20:17
2021-02-02T15:20:17
298,494,785
2
1
null
null
null
null
UTF-8
Python
false
false
2,549
py
import cv2 import ctypes import base64 from PIL import Image from io import BytesIO import json # frame2base64 may has a error,is waiting to test def frame2base64(frame): img = Image.fromarray(frame) # 将每一帧转为Image output_buffer = BytesIO() # 创建一个BytesIO img.save(output_buffer, format='JPEG') # 写入output...
[ "jiaopaner@qq.com" ]
jiaopaner@qq.com
44100cd8a56941562abc28b6cc540426d38ee2b7
7faec297f7dc533e883ba10e930a8b322db0069c
/src/mercury/log_service/service.py
4f552ac953476dd9df5ca6d0987ad9a435bde444
[ "Apache-2.0" ]
permissive
SovietPanda/mercury
50c8bc1411a15a2c4d6f1d0373c072f034895192
3a6a16e5b176246f1df077df46249463e20736f2
refs/heads/master
2020-03-27T00:19:27.909490
2018-08-10T15:36:40
2018-08-10T15:36:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,947
py
import logging import time from mercury.common.configuration import MercuryConfiguration from mercury.common.exceptions import MercuryClientException from mercury.common.mongo import get_collection, get_connection from mercury.common.transport import SimpleRouterReqService LOG = logging.getLogger(__name__) MERCURY_L...
[ "jared.rodriguez@rackspace.com" ]
jared.rodriguez@rackspace.com
f687ff7c7c299afcc80daf17f334f6524c99faf4
d6a2d13d5a62c19b4072f26c649aacc8bc0d3309
/pages/urls.py
7f7d702a5aca4d0be76f883c50c64cab14328662
[]
no_license
rifqirosyidi/django-polls
d4894add29063136592f0a788c043f687f416237
deeb46483344543163bb469d9df9642757025f83
refs/heads/master
2023-04-29T09:13:31.524308
2021-04-12T09:42:23
2021-04-12T09:42:23
210,758,484
1
0
null
2023-04-21T20:37:50
2019-09-25T04:55:44
Python
UTF-8
Python
false
false
127
py
from django.urls import path from . import views app_name = 'pages' urlpatterns = [ path('', views.index, name='index') ]
[ "rief.rosyidi@gmail.com" ]
rief.rosyidi@gmail.com
af8d67927a2e594c57650db3ab9f5c49323d2cc9
25321dc0a877b58bec114b05e943ccf1c98ca5a0
/simplesocial/accounts/migrations/0001_initial.py
eabbeb4da6ac039f1fa7fb389cbe835ce048450b
[]
no_license
manthakamesh/Social-media-clone
dd58d56e6bcf4e7ee501a22ffb0572db465f058c
fc02c8fad8c0f59bf2f32c4b3b741cbbddee3440
refs/heads/master
2020-05-22T16:36:57.777178
2019-05-13T14:22:52
2019-05-13T14:22:52
184,466,128
0
0
null
2019-05-04T13:27:03
2019-05-01T18:58:49
Python
UTF-8
Python
false
false
981
py
# Generated by Django 2.1.2 on 2019-04-11 17:56 from django.conf import settings import django.contrib.auth.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max...
[ "kamesh.mantha@adp.com" ]
kamesh.mantha@adp.com
47cf462efc28a2d3cf998b03dac3d81ebc268a70
20b9e875d2701ad198635c495625b49530338b46
/tzgx_tzxw/tzgx_tzxw/items.py
7e80ad77f4311a154dd8ed56a02f7c78d8381e56
[]
no_license
leading/crawler-scrapy
816339483447fb9c59db4327e5e65e83bde383fb
06b37be4ce34252c4f3f23b22d9b3634cac57fad
refs/heads/master
2023-01-03T17:48:34.233613
2020-11-03T14:01:49
2020-11-03T14:01:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import re from urllib import parse from scrapy.item import Field import scrapy from scrapy.loader.processors import TakeFirst, MapCompose, Join class tzgx_tzxwItem(sc...
[ "sn_baby@qq.com" ]
sn_baby@qq.com
032808fd2ce559a1b61dc2cc01b468e8909a1d8e
47855ed6dacc1236becfe6023ed931edcebe8ec8
/CONFIG.py
639a7ad63e6a80982b5623464c9aa734f48f1db2
[]
no_license
carlosguerrero/cuttriga
1d50b347f9bded7e2b3c1799f7fbea65eb484228
6564ce55db1610f9279c9114ca7ecd237b8968b0
refs/heads/master
2020-04-01T09:25:40.355377
2018-10-15T07:58:15
2018-10-15T07:58:15
153,074,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Feb 16 10:56:02 2017 @author: carlos """ import copy import random as random from datetime import datetime class CONFIG: def __init__(self): self.topologyFile = 'topologyMatrices.dat' #nombre donde se guardan los dato...
[ "carlos@MacBook-Pro-de-Carlos.local" ]
carlos@MacBook-Pro-de-Carlos.local
e0f59fc7f281bcaee1065d1bbff4cca605524180
c53efb55eab40508a20fd70f2e52caaf7516cbb3
/py/demo_cogs2.py
b99435427978f1fdf9ddfba4e6356c592bbfd795
[]
no_license
hackxxnotecardnpl/HACKXX_Webapp
95cc8fc049a9eebd1c34aa15a4295a252dba4094
390159f950592193b7a89175f5e4678e397b5da7
refs/heads/master
2020-05-05T09:22:25.016085
2019-05-10T13:09:11
2019-05-10T13:09:11
179,901,375
2
0
null
2019-04-07T01:16:11
2019-04-07T00:29:27
HTML
UTF-8
Python
false
false
2,616
py
# tester import nltk import re from nltk.corpus import stopwords import math import nltk.data import wikipedia from nltk.corpus import wordnet def readWord(content): wordList = [] wordList = content.split('\n') return wordList def generate(path,fileName): file = open(path, 'r') content = file.read()...
[ "noreply@github.com" ]
noreply@github.com
6dcb5e5776852d70f9652f57bdcec71f620bea21
3b106a84dc5ed201e4521deb2684ea27cea6d853
/my_pychram/tree/4문제/venv/Scripts/pip-script.py
ddb9595f45f2197552c284cb37b9281d65f5a3a9
[]
no_license
ksinuk/python_open
1a1acac542c0a38270b177ec65092309a0599222
f2132f7478bfeee6c54ac3897030a1c11366997c
refs/heads/master
2020-07-24T15:41:53.368439
2019-09-14T08:32:52
2019-09-14T08:32:52
207,972,800
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
433
py
#!C:\Users\student\Desktop\python\my_pychram\tree\4¹®Á¦\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "ghttttgu@naver.com" ]
ghttttgu@naver.com
2988d840d388a7d7334866e8b7c7d4aaeda68a47
e01a7055ae90caaef793104de037ba66ef5443c4
/meiduo_mall/meiduo_mall/apps/users/views.py
26b828b029074f57e063c00af246bcb302283fd6
[]
no_license
Huang-OO/meiduo_project
dbfb149b1e1ab87a96e258001a0d3a285bd2a697
19ede61587ddbf1c9270ac80001cb789eacd136a
refs/heads/master
2022-11-30T15:55:14.831127
2020-07-24T14:00:33
2020-07-24T14:00:33
273,105,403
0
0
null
null
null
null
UTF-8
Python
false
false
20,485
py
from django.shortcuts import render from django.views import View from carts.utils import merge_carts_cookie_to_redis from goods.models import SKU from .models import User, Address from django.http import JsonResponse from django_redis import get_redis_connection from django.contrib.auth import login, authenticate, lo...
[ "huangoo1024.163.com" ]
huangoo1024.163.com
748f32a58eceb72f9e74aa36266bff7459967152
9047cbf319d9214f1e8bc42518315c8b36478e02
/alien.py
420b91a328dbfc2975a63e6a7f9b07e3d13fe26b
[]
no_license
dfeinzimer/Alien_Invasion
a3191995af220b2055ffe2149cccd021c45f514e
d26f97af3c922070f90c9bd534aebff8b3de3fa1
refs/heads/master
2021-09-23T10:53:33.300023
2018-09-21T16:12:58
2018-09-21T16:12:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
import pygame from pygame.sprite import Sprite class Alien(Sprite): """A class to represent a single alien in the fleet.""" def __init__(self, ai_settings, screen): """Initialize the alien and set its starting position.""" super(Alien, self).__init__() self.screen = screen self...
[ "dfeinzimer@gmail.com" ]
dfeinzimer@gmail.com
f7ddab6f960fd5eb09ce9089ca8d7e640ced9c54
ec02467b0821fa66fe2992a8cf2643f0c68d42d9
/ass5.py
e8e7a550a88e20d115b8af1aa14fb7886db6a98e
[]
no_license
rohinikavitake/py_pretice
97eb9338d8cc674d743cffc2a427d6716a0f0915
a1951ff9dcafd1bb6b257c16515fd5f9107f5452
refs/heads/master
2020-11-26T23:48:29.301803
2019-12-17T07:39:18
2019-12-17T07:39:18
227,981,231
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
friends=["sneha","rohoni","shivani","vishal","sweety"] friends.append("jimmy") print(friends) friends.insert(1,"swati") print(friends) friends.remove("sweety") print(friends) friends.clear() print(friends) friends=["sneha","rohoni","shivani","vishal","sweety"] friends.sort() print(friends) friends=["sneha","rohoni","sh...
[ "rkdeveloper1989@gmail.com" ]
rkdeveloper1989@gmail.com
04ab52160a08de1490f991d8175d0bc2ae66e7c6
3403759d99624c9ae15020ea5ae9491aed2822fe
/logger.py
8977ab51ff013ee2c27b080826bfd70eb86cb714
[]
no_license
AndZhi/APIStackExchange
1cdeda61cd9bb1a73627e6cedba4dae542826939
e3d85cd1da8a444337dc9ad4ad97321802bc4e0a
refs/heads/main
2023-07-11T15:31:50.396704
2021-08-20T10:47:38
2021-08-20T10:47:38
391,128,718
0
0
null
2021-08-20T10:48:28
2021-07-30T16:29:36
Python
UTF-8
Python
false
false
5,749
py
""" Файл с функциями для логирования. """ import logging as logging import os import structlog import sys from logging.handlers import TimedRotatingFileHandler from structlog import processors import config_manager _service_name = 'API_Stack_Exchange' def _get_filename(filename): # Получаем директорию, где рас...
[ "Andrew-wow@yandex.ru" ]
Andrew-wow@yandex.ru
eb2b8b94905b12e4518e44ed2ecaef71a40f83d8
2d22c7c83dfbafbc00ae0505d9fcfefd0986eeda
/Blogs/urls.py
fa14edc908879f8563f330b79886c411ecbd5cce
[]
no_license
Rudolf866/Django_Tytorial
a6f10bd6310b79c3dc9c32459570a2293fa8d5d5
9c8ccf17befb4632c98d9781d5c5cc19d3cc5c99
refs/heads/master
2023-02-18T05:57:37.027501
2021-01-24T13:22:44
2021-01-24T13:22:44
329,737,747
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
from django.conf import settings from django.conf.urls.static import static from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.urls import path, include from Blogs import views app_name = "blogs" urlpatterns = [ path('', views.post_list, name='post_list'), path('tag/<slug:tag_slu...
[ "kovalevskiy2017@outlook.com" ]
kovalevskiy2017@outlook.com
3656aa256343b6291c4101a4db770d311f15e264
aee145f5aa7384859692e2eb18eb68060d51a16b
/urls.py
94fd1934b8d2099ec03f12d676ca5a8bd8c5b224
[]
no_license
tiredofnick/wedding_site
767bb22502a5a6a170130a34a9f0f469b0b317a5
52cb066f79b13d663a8e7e62db957ead55e02013
refs/heads/master
2016-09-06T01:51:37.389973
2011-02-11T18:09:54
2011-02-11T18:09:54
1,289,463
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^rsvp/', include('rsvp.urls')), (r'^admin/', include(admin.site.urls)), )
[ "nick.bonadies@gmail.com" ]
nick.bonadies@gmail.com
75e42a0895c53a0b10443d6cd9750d95a81fa9e5
cb7ae10692a3692cad7d500cddadfbf7ea4f4a1a
/python/Tesla/singleStage.py
0c898ccdd688639667772fa42ac09ee506e64562
[]
no_license
UCSD-SEELab/ContextEngine27
c715b32ab08a94224b289a7e00d8d51d6cfc9e84
754458c919d96a338d010a6eab31bcb93ee73e09
refs/heads/master
2021-06-16T07:16:31.951345
2017-04-27T19:52:07
2017-04-27T19:52:07
62,247,545
1
0
null
null
null
null
UTF-8
Python
false
false
18,612
py
import numpy as np import os.path import pickle import math from Tesla import Tesla # Tesla training objects kitchOut2Trainer = Tesla(order=2,numInputs=1); kitchOut3Trainer = Tesla(order=2,numInputs=1); kitchOut4Trainer = Tesla(order=2,numInputs=1); microwaveTrainer = Tesla(order=2,numInputs=1); oven01Trainer = Tesl...
[ "jugador87@gmail.com" ]
jugador87@gmail.com
be5aa5c050082e2c6f1a3fbcb6de611b920e9f3a
db54163bb2ece7c961e62618002b1cca7816f299
/seafile/seahub_settings.py
a9c30bbbc0cd20b213ce9870f0ee5cb8646b2cb9
[ "CC0-1.0" ]
permissive
jradxl/seafile-config
c679001314a04db2fdc13e42368e56ffd0a8c01e
e5a20a13b0abb6ceba03d9e6257094b8c186f99d
refs/heads/master
2021-05-24T12:43:47.678480
2020-04-06T22:15:13
2020-04-06T22:15:13
253,567,641
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
# -*- coding: utf-8 -*- SECRET_KEY = "secret key" #When False the files are served via a Nginx location clause SERVE_STATIC = False #Hard coded in clients #The subdomain "www" is the master domain. #The site root does 301 to www, which does not work here! FILE_SERVER_ROOT = 'https://www.XXXXX.dyndns.org/sfa/seafhttp'...
[ "jradley@xcase1.jradxl3.dyndns.org" ]
jradley@xcase1.jradxl3.dyndns.org
bd7c6c72cce3c5ccd8121b728272ee2ab6cea1aa
cfab317a6abeb828b651935737304c3fd5fe5eff
/src/visualization/statistics.py
22a3a3ed893283b7d567f9bca11cf9c46f3ddb3b
[]
no_license
ga65duy/Topic-Modeling
2ea98133dd53ef6a0222e85f0923d0e7c1575894
34cdff618595bdb495d0cd7b23e543e089ea0c41
refs/heads/master
2020-12-06T23:35:14.763363
2020-01-09T00:09:46
2020-01-09T00:09:46
232,579,685
0
0
null
null
null
null
UTF-8
Python
false
false
8,662
py
import json import os import src.data.data_loader as dl import pandas as pd import matplotlib.pyplot as plt from src.definitions import DATA_DIR import numpy as np def _source_relevance_statistics(lang, type): if lang == 'german': sources = dl.german_types[type] else: sources = dl.english_type...
[ "maria.potzner@tum.de" ]
maria.potzner@tum.de
b22bad1f316cf9be4b336e3be7ae6a5195e9b75b
9f613058d2df67f22b2e82a5b85da8a94b589766
/substitutions/data/3/html2json.py
5be4b191af00bb2cdbb006cd9b9046f710b02e0a
[ "MIT" ]
permissive
peterwwillis/notablogofrecipes
85aba0d52d554ee1cdb10265703de1afc8be3ddf
799cbd2f06ae878ec84543f0e2181073410fe58e
refs/heads/master
2020-04-18T10:25:02.023619
2019-01-29T09:24:54
2019-01-29T09:24:54
167,466,942
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
#!/usr/bin/env python3 from bs4 import BeautifulSoup import json, sys import unicodedata def debugunicode(s): #r2e = row2.encode('utf-8') #r2en = unicodedata.normalize('NFKD', r2e.decode('utf-8', 'ignore')) #r2en = unicodedata.normalize('NFKD', row[2]) #print("row2: %s -> %s -> %s" % ( row2, r2e, r2en ...
[ "peterwwillis@gmail.com" ]
peterwwillis@gmail.com
ef5846c17626f8661bc8939b16710bf0b4dbc461
e8bf00dba3e81081adb37f53a0192bb0ea2ca309
/domains/explore/problems/training/problem107_EE.py
c88780c7450b5b528861aa509adde0683f99158f
[ "BSD-3-Clause" ]
permissive
patras91/rae_release
1e6585ee34fe7dbb117b084df982ca8a8aed6795
0e5faffb7eb732fdb8e3bbf2c6d2f2cbd520aa30
refs/heads/master
2023-07-13T20:09:41.762982
2021-08-11T17:02:58
2021-08-11T17:02:58
394,797,515
2
1
null
null
null
null
UTF-8
Python
false
false
1,826
py
__author__ = 'patras' from domain_exploreEnv import * from timer import DURATION from state import state, rv DURATION.TIME = { 'survey': 5, 'monitor': 5, 'screen': 5, 'sample': 5, 'process': 5, 'fly': 3, 'deposit': 1, 'transferData': 1, 'take': 2, 'put': 2, 'move': 10, '...
[ "patras@umd.edu" ]
patras@umd.edu
7781ecc296df81052241d659b46eacbafd2217d6
23f6dbacd9b98fdfd08a6f358b876d3d371fc8f6
/rootfs/usr/share/pyshared/checkbox/message.py
f81e761880abaeabd4e31698b0696aeda026851d
[]
no_license
xinligg/trainmonitor
07ed0fa99e54e2857b49ad3435546d13cc0eb17a
938a8d8f56dc267fceeb65ef7b867f1cac343923
refs/heads/master
2021-09-24T15:52:43.195053
2018-10-11T07:12:25
2018-10-11T07:12:25
116,164,395
0
0
null
null
null
null
UTF-8
Python
false
false
10,966
py
# # This file is part of Checkbox. # # Copyright 2008 Canonical Ltd. # # Checkbox is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # C...
[ "root@xinli.xinli" ]
root@xinli.xinli