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
29688ecf8b3300c70dbfd3ba0946cd5fffb4b583
843798667698d041a0097cc3d08847a27d9ec08f
/transaction/forms.py
0c8ea7a6761f65784fa2c37bb85381cd3f50a348
[]
no_license
jaredtmartin/jade
d1faa6bd657a3c9ee8726e8178ee53a5687c1e7d
f627d4a3939c50443e7643909b036a9d9e283b9e
refs/heads/master
2021-01-18T14:03:08.906498
2011-05-06T20:07:07
2011-05-06T20:07:07
901,752
0
0
null
null
null
null
UTF-8
Python
false
false
9,952
py
from jade.transaction.models import * from jade.common.widgets import AutoCompleteField from django.utils.safestring import mark_safe from django import forms from jade.common.widgets import CalanderInput from django.utils.html import conditional_escape from django.utils.encoding import StrAndUnicode, smart_unicode, fo...
[ "jaredtmartin@gmail.com" ]
jaredtmartin@gmail.com
d8329d3ce6551bc43f12339119f7cc1a1dc10936
93465443f6cb0bfe98c46efa9ad61383fc183470
/demo/HelloWord.py
6547b68d76cbf8be0825bebd881bba37727a3a7f
[]
no_license
zhangli1229/gy-1906A
3b1352d82a715d83a8fbc15aeb1ae8fb510739ed
54aeb5a3788afce9ecb67fcb84faa86a635c74d0
refs/heads/master
2020-06-22T20:41:08.829994
2019-07-23T09:45:22
2019-07-23T09:45:22
198,394,258
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
a="fjgkfgj" print(type(a))
[ "1208269415@qq.com" ]
1208269415@qq.com
cef9a68afdddd61d9d2c7d5510d7a38174bc8f1c
4b68243d9db908945ee500174a8a12be27d150f9
/pogoprotos/networking/requests/messages/update_fitness_metrics_message_pb2.py
522382d168f4fe3adab53afbb40fe730c7070bd9
[]
no_license
ykram/pogoprotos-py
7285c86498f57dcbbec8e6c947597e82b2518d80
a045b0140740625d9a19ded53ece385a16c4ad4a
refs/heads/master
2020-04-20T10:19:51.628964
2019-02-02T02:58:03
2019-02-02T02:58:03
168,787,721
0
0
null
null
null
null
UTF-8
Python
false
true
2,937
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/networking/requests/messages/update_fitness_metrics_message.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import messa...
[ "mark@noffle.net" ]
mark@noffle.net
91984d48b3742244adf93f8e7500b8c3efa80728
68bbf3faecfdae707909647dce9a1dcffcb3491a
/searchNodeInBST.py
af52f8523b1f404f8de89e507130ec104cd462e8
[]
no_license
Aniket-1/leetcode
d58c4b8e92888d7af000552292477e36c9a503cf
3cb3274888c4f182f44d9eba513f92a669f9d11b
refs/heads/main
2023-03-19T03:34:16.064981
2021-03-05T05:49:34
2021-03-05T05:49:34
334,960,115
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
//You are given the root of a binary search tree (BST) and an integer val. //Find the node in the BST that the node's value equals val and return the subtree rooted with that node. If such a node does not exist, return null. # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=Non...
[ "noreply@github.com" ]
Aniket-1.noreply@github.com
f6a756d8901c7c8cdf61ca05ec0781a2c12777a4
427a148400c529d9bce48933605ded8aa0fbf015
/Buble_Sort.py
2f503758366bba48c6c13388ad92fc2a14618bea
[]
no_license
selimbd91/General_Python
9491838472c28d267f2a026497b5360878b3d22e
0154a86c205a7ddef127e43a8cefe1b66016bcd1
refs/heads/master
2020-12-21T11:35:34.009225
2020-07-21T22:41:49
2020-07-21T22:41:49
236,419,443
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
import random class Sorting: def __init__(self, n): self.lists = [random.randint(1,20) for i in range(n)] print(self.lists) def buble_sort(self): for i in range(len(self.lists)): for j in range(i+1,len(self.lists)): if self.lists[i] > self.list...
[ "noreply@github.com" ]
selimbd91.noreply@github.com
22ffc7c4ae1f6b16b2ece3c70722f0a2d0ec48c5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2480/59018/262642.py
80da0919c460c290863470859367203af1d15933
[]
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
281
py
def even_odd(N,a): b=[] for j in a: if j%2==0: b.append(j) a.pop(j) c=b+a return c T=int(input()) for i in range(T): N=int(input()) info=input().split(' ') a=[int(y) for y in info] print(even_odd(N,a))
[ "1069583789@qq.com" ]
1069583789@qq.com
441d362c54f38d41048090be65997b9096bd1c3e
567c75c7801a475c26b81f94bd7b91986933d99b
/a3/sdp/raw/media.py
eee9efeaad77fae0b6d188487ef07d4bc33269fb
[]
no_license
rcslabs/a3-media-controller
443c79bf0c341c45eeb7734d058de052f8e5d54f
4457fe10a2d432d0e57cc2b3a914d4e4556b9695
refs/heads/master
2021-02-13T08:00:42.996741
2020-03-03T15:54:37
2020-03-03T15:54:37
244,678,550
0
0
null
null
null
null
UTF-8
Python
false
false
3,146
py
#!/usr/bin/env python """ sdp.raw.Media object """ import attribute from entity import MediaDescription, MediaDescriptionProto, ConnectionData from a3.media import MediaType class Media(object): def __init__(self, media_type=MediaType.AUDIO, media_description=None): assert type(media_type) is MediaType ...
[ "yury.krikun@44e08e39-4b91-0410-a4d4-833ecb1b66d7" ]
yury.krikun@44e08e39-4b91-0410-a4d4-833ecb1b66d7
044fd67886bf5e38dd991c48b38f1dc4f3bfd6a5
885569925c4c564b18121c17a85e03419ffbc308
/app.py
73c9aa7f38dc5fa7c33045e29a73bf8bfa579657
[]
no_license
lluidesia/facial-keypoint-detection
711cc9d7a7dd49f74a57779553a27fccc36731f8
d2c042ca3532c646e7d7bc9557907f235e5ab072
refs/heads/master
2020-09-05T11:24:40.404776
2019-11-06T21:36:11
2019-11-06T21:36:11
220,089,464
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
import io import os from flask import Flask, render_template, send_file, request, redirect, url_for from PIL import Image app = Flask(__name__) basedir = os.path.abspath(os.path.dirname(__file__)) app.config.update( UPLOADED_PATH=os.path.join(basedir, 'uploads'), ) @app.route('/', methods=['GET']) def index():...
[ "liudaprysiazhna@gmail.com" ]
liudaprysiazhna@gmail.com
24067e7967bb71a2a6e31c1d0ec61bb2845bfd63
46d68965d76de48d1cee28f6218c9de60526eb83
/scheduler/migrations/0005_auto__add_field_schedule_paused_at.py
e23cc371afc2a2e13ed4a981792f081a6767e89c
[]
no_license
bradmenezes/reminderapp
e6b99dbb0be6df10100223f567376599317fafc6
7b1b57f61fd1df4bc9d6a8d8afb2b28a04d24935
refs/heads/master
2020-05-04T21:11:25.182515
2014-08-23T23:30:42
2014-08-23T23:30:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,170
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Schedule.paused_at' db.add_column(u'scheduler_schedule', ...
[ "bradmenezes10@gmail.com" ]
bradmenezes10@gmail.com
a6ab4f744773dd3b24e1bb3cec4fe14a538e8c0e
5cb6b9b654ced936aa9d7dfc665b83a1fdd19ab6
/pyqt/first.py
81310a8f90620ce0dc80de2b269edbbed409581a
[]
no_license
guoabyss/LearnMore
6ed32006719ed0023d32d91af7254d1ed85457e7
3cc39fedd5cb5cd915721ee313526213c81ced6d
refs/heads/master
2022-10-12T15:56:17.240679
2020-06-14T14:24:19
2020-06-14T14:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
import sys from PyQt5.QtWidgets import QApplication, QWidget if __name__ == "__main__": app = QApplication(sys.argv) # 创建窗口 w = QWidget() w.resize(400, 150) w.move(300, 300) # 设置标题 w.setWindowTitle("第一个GUI") w.show() sys.exit(app.exec_())
[ "836463194@qq.com" ]
836463194@qq.com
ab32585b9e7c9dd55c0620ab746825b726ad0590
885291f5c66f242bb84effc27c400b8a1a5e5284
/diary/management/commands/backup_diary.py
b27fb50578bc733591e384472544174b780f0074
[]
no_license
maataro/django_app
175e6aa153606cae7af79d98e4c43ea16ed0fe08
e3f75ea44856a4aa800f997e5aa8d6d90dac46f3
refs/heads/master
2023-01-05T06:46:55.516279
2020-10-05T17:13:41
2020-10-05T17:13:41
298,172,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
import csv import datetime import os from django.conf import settings from django.core.management.base import BaseCommand from ...models import Diary class Command(BaseCommand): help = "Backup Diary data" def handle(self, *args, **options): # 実行時のYYYYMMDDを取得 date = datetime.date.today().strftime("%Y%m...
[ "masahiro.infinite77@gmail.com" ]
masahiro.infinite77@gmail.com
3acd601e6d39cf8b48f57ba59897836edd48fc79
59812860bc22356059bc5bf59a784c8535978b25
/utils.py
26243da58bf66dabbe19372cb62d5a0fae473788
[]
no_license
Folifolo/backprop
049c1f07b839e0f939903da601c11a31938a8cd5
afe938aac37cf3e86778a33e17469dbf74a7961e
refs/heads/master
2020-08-18T01:18:54.810518
2019-11-10T10:37:05
2019-11-10T10:37:05
215,731,888
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
import numpy as np def relu(X): return X * (X > 0) def reluD(X): return X > 0 #===================== def calculate_E(label, prediction, size): return -np.sum(label * np.log(prediction.T)) / size def calculate_acc(label, prediction): prediction = np.argmax(prediction, axis= 0) label = np.argmax(...
[ "Folifolo@yandex.ru" ]
Folifolo@yandex.ru
af5b1cb49d6bdd5100e5a537254e5e9d02155253
399466b75d2427be9ef5efdb4fe6ed21af438872
/project_4/handlers/json_trans.py
566e9c36271909500c7e7b0e4b7ff5b3dd2f2670
[]
no_license
MessiLeo919/Flowpp
a3a20a1fdad54d9f73916ad4c7cc99e096ad808f
187d8a09e15e7ab2628976ecd73e06339e421f92
refs/heads/master
2020-03-21T14:48:56.801827
2018-06-29T03:20:28
2018-06-29T03:20:28
138,367,301
0
0
null
null
null
null
UTF-8
Python
false
false
4,143
py
import json import os import time def json_transfer(file): try: with open(file,"r") as f: load_dict = json.load(f) #转化为字典 # print(type(load_dict)) #转化为字典 print("加载文件完成...") print('----------------') List_date=[] Li...
[ "690995749@qq.com" ]
690995749@qq.com
ed551b6f6b71ee37ff9df69bd2107696845fb278
d7e68dadcab9933d1ceb89c4ac4d96993721ce07
/PCA/pca.py
cce7c2cc767b931bd8143c336a9cd22b97f0c4d1
[]
no_license
syedroshanzameer/Data-Mining
ff83faaffd07cf8b61783f7e160af06b65be31ae
d5dcdf9b04e76ec6b3d22e3349da933b6bfa8632
refs/heads/master
2021-09-10T16:34:37.349758
2018-03-29T11:24:00
2018-03-29T11:24:00
105,457,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# author : Roshan Zameer Syed # id:99999-2920 # description: Principal Component Analysis of the data set "arrhythmia.data" import pandas as pd import numpy as np from sklearn.preprocessing import Imputer from sklearn.decomposition import PCA data = pd.read_csv('arrhythmia.data', header=None) # Read data from t...
[ "RSyed9564@muleriders.saumag.edu" ]
RSyed9564@muleriders.saumag.edu
c234418751a55af246126450f10af864edf22721
e7aa98a1d9dfb60a38f192c2168734255376197d
/soup_test.py
9327a002d1411d39016e6664d4366c53d1da14e5
[]
no_license
mksvdmtr/python_csv_learning
e22cc97d662bf204fa46fbc325d76e08999aba92
c54739635526c0286c8d1c0ed19f11d8c3b8d7a3
refs/heads/master
2023-05-31T14:25:34.270688
2020-04-29T09:14:07
2020-04-29T09:14:07
259,878,502
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
from bs4 import BeautifulSoup import requests import csv resp = requests.get("http://quotes.toscrape.com/") html_data = BeautifulSoup(resp.text, 'html.parser') quotes = html_data.find_all(class_='quote') with open("quotes.csv", "w") as file: field_names = ['Author', 'Quote', 'Tegs'] writer = csv.DictWriter(f...
[ "mksvdmtr@yandex.ru" ]
mksvdmtr@yandex.ru
fb22d74665a1f8e43b4181a24e234e13bccf6c86
9ecd34e90be231dd368abd1e2b7543f45eca2ad2
/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
d920cef5c455ffef4ea25c9e9fb44568c26761e5
[ "MIT" ]
permissive
pruthvikar/timer
a9339ed0e0e532da366e5433bba33a50453be6cc
d59e65cff1861d93d54d9cea31114e29ce43fc81
refs/heads/master
2020-06-08T04:01:51.862856
2013-04-29T01:23:02
2013-04-29T01:23:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,854
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 42, "host_arch": "x64", "node_install_npm": ...
[ "Pruthvikar@gmail.com" ]
Pruthvikar@gmail.com
0e029895d75465efd99006fba963cce56d4204ed
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pandas-dev_pandas/pandas-master/pandas/tests/test_nanops.py
937c20d009b6bfb2143c62b9aa96a110e0d6c71f
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
43,023
py
# -*- coding: utf-8 -*- from __future__ import division, print_function from functools import partial import warnings import numpy as np from pandas import Series, isnull from pandas.types.common import is_integer_dtype import pandas.core.nanops as nanops import pandas.util.testing as tm use_bn = nanops._USE_BOTTLEN...
[ "659338505@qq.com" ]
659338505@qq.com
092ccc2f819176198bb2b988a4e323d43bc51b42
20c6da49ec4028eba8249be8df6919fc4a920319
/model_style_transfer/project/data_loader/ade_dataset.py
45fb0584d1fd8c9c642df0f7b5670af4df434b7e
[]
no_license
SavaStevanovic/NetMLDemonstrator
01819c73186666989b427429ae6a8422ab9bf164
c1325b1e8706c019178be51455d670cee56e0819
refs/heads/master
2023-08-08T18:39:07.084442
2023-03-26T08:45:03
2023-03-26T08:45:03
252,441,080
0
0
null
2023-06-18T09:48:24
2020-04-02T11:52:20
Python
UTF-8
Python
false
false
658
py
from torch.utils.data import Dataset from PIL import Image import glob import os class ADEChallengeData2016(Dataset): def __init__(self, mode, folder_path): super(ADEChallengeData2016, self).__init__() img_files = glob.glob(os.path.join( '/Data/segmentation', folder_path, 'annotations'...
[ "sava.stevanovic@pmf.edu.rs" ]
sava.stevanovic@pmf.edu.rs
915530cd328d21c79b8adaeb11cafbd1d868abb7
d79aa2d186ed54ef786094bb2608eae911b4527c
/backend/bayfieldopen/bayfieldopen/auth/migrations/0001_initial.py
0f71f7f216a6879502cc03f641ca582050e57286
[]
no_license
JordanRClark/BayfieldOpen
23b6a4cb80a34964d90f8d9d32ac0b01f2e2d4ea
1bdefdaaad5372f92913afafd10c0242f5fb514e
refs/heads/main
2023-03-07T07:00:19.776300
2021-02-15T05:52:13
2021-02-15T05:52:13
338,867,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,873
py
# Generated by Django 3.1.6 on 2021-02-14 23:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "jordan@Jordans-MacBook-Pro.local" ]
jordan@Jordans-MacBook-Pro.local
ac071ec7c195c0c7838f31cdd9f41fe37a46ad9c
a44a9279258ace54be0ea6d410e6ddb5a2d72bcb
/project-addons/custom_reports/models/product.py
719faf154fd24aa8c981b08a03877ad3b5b456aa
[]
no_license
athlontado/PXGO_00064_2014_PHA
346f33185a07c2e1766a7cc79cd300252d9b2480
3086baba490e47a5dcc7942c7c5fee9fc047ddcd
refs/heads/master
2020-04-06T03:56:15.828784
2016-04-18T12:24:53
2016-04-18T12:24:53
59,216,028
0
0
null
2016-05-19T14:50:54
2016-05-19T14:50:54
null
UTF-8
Python
false
false
1,240
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2016 Pharmadus. All Rights Reserved # $Óscar Salvador <oscar.salvador@pharmadus.com>$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the ...
[ "oscar.salvador@pharmadus.com" ]
oscar.salvador@pharmadus.com
66e5e2cd1dd250b00922b3b3211b1c0c1c510d35
53565e19de1d345552f5f469f4e4ea311a421bb8
/app/artist/models/artist.py
de30a6078bcfde1cf589a711184a2c568c8bfd52
[]
no_license
standbyme227/fc-melon
18e17aa8b85906a62e1631e54a70ff85d72ea435
8f0f4d40021f75a025e91fa6aebea143bccb6ce3
refs/heads/master
2021-05-03T18:59:13.495171
2018-03-20T02:32:02
2018-03-20T02:32:02
120,418,135
0
0
null
null
null
null
UTF-8
Python
false
false
4,632
py
from django.conf import settings from django.db import models from django.forms import model_to_dict from django.http import JsonResponse, HttpResponse from .artist_youtube import ArtistYouTube from .managers import ArtistManager __all__ = ( 'Artist', ) class Artist(models.Model): BLOOD_TYPE_A = 'a' BLO...
[ "standbyme227@gmail.com" ]
standbyme227@gmail.com
0f6f4d5d7aeebbacb367b43963db1842478c9ef1
96df532f6bebf067a302ed096ae1d5b47022073a
/test/test_parser_helper.py
fe6a05305c0c0208a934eec7302909698c339599
[]
no_license
datamix-study/notification_bot
bb7907feaf4587d25214edfd4a1e4d21dd87f6aa
109e38b9fff07dc97ab5ad35275ce1c8ed5264fb
refs/heads/master
2020-08-11T23:49:58.094679
2020-03-07T14:40:51
2020-03-07T14:40:51
214,650,735
0
0
null
null
null
null
UTF-8
Python
false
false
145,738
py
DATAMIX_INFORMATION_SOURCE = """ <!DOCTYPE html> <html lang="ja" itemscope itemtype="http://schema.org/WebSite" prefix="og: http://ogp.me/ns#" class="no-js"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial...
[ "ij4nu8d4fw@gmail.com" ]
ij4nu8d4fw@gmail.com
2b2a54641d5f56d801a5a0f1798713935087ef28
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/simtbx/run_tests.py
5c3244e65192c78f2e1b57410133b5e40024a0a5
[ "BSD-3-Clause", "BSD-3-Clause-LBNL" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
468
py
from __future__ import absolute_import, division, print_function from libtbx import test_utils import libtbx.load_env tst_list = ( "$D/nanoBragg/tst_nanoBragg_minimal.py", "$D/nanoBragg/tst_nanoBragg_mosaic.py", "$D/nanoBragg/tst_gaussian_mosaicity.py", ) def run(): build_dir = libtbx.env.under_buil...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
cc4c287a1f334475b6b5e06eaabaf792d66e3b32
2018321e9f9a3edc1d92cf986df1826138fe6b50
/pythonProject/button.py
d283c5fb028e73dba1f8517a1b8edb3a15eb47e9
[]
no_license
thanyi/alien-invasion
7a8ede01e65d8a58accd686bb7219ba58f7e5e0d
de96c3123a74c3009eca43edced6693d97b3c8f0
refs/heads/master
2023-02-11T10:20:33.110836
2021-01-02T11:24:44
2021-01-02T11:24:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
import pygame.font import pygame class Button(): def __init__(self, msg, screen): self.screen = screen self.screen_rect = self.screen.get_rect() #填充图片的大小 self.width , self.height = 150,50 #背景颜色、字体颜色和字体 self.button_color = (0,255,0) self.text_color = (255,255,...
[ "yiceyuan@126.com" ]
yiceyuan@126.com
e262beb5a4a594f5ccd34d82a63f92f441f87e62
786550172250f9f9b14bd923151efc4759349c61
/dlkit/relationship/license.py
6abeebe8829ffb7bb0c4f68c4f65d28aaaa9cab3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mitsei/dlkit-doc
6d88c1686fa9395047b43028b41cd4315c5bacc4
b320d57e91bfb32fd88e1fce01d3ddb5935aa9dd
refs/heads/master
2021-01-14T12:47:42.203154
2015-05-11T02:47:03
2015-05-11T02:47:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
# -*- coding: utf-8 -*- """Relationship Open Service Interface Definitions relationship version 3.0.0 Copyright (c) 2010 Ingenescus. All Rights Reserved. This Work is being provided by the copyright holder(s) subject to the following license. By obtaining, using and/or copying this Work, you agree that you have read,...
[ "birdland@Jeff-PM13.local" ]
birdland@Jeff-PM13.local
69b384952afa18b41fb769869d637c21f4a61bbb
2075052d028ed31a30bdb9acb0a2022c2634f52b
/chat/consumers.py
761dd8369a35c0e33e7d8ef65e1ce163904ade18
[]
no_license
igoo-Y/live_chat_app
b67704caa2e5944b131a4299716e501b555985b5
d65c87a35d3f3a120da35290addb798e412dad72
refs/heads/main
2023-06-30T13:21:49.860265
2021-08-03T09:11:29
2021-08-03T09:11:29
392,256,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import json from channels.generic.websocket import AsyncWebsocketConsumer class ChatConsumer(AsyncWebsocketConsumer): async def connect(self): self.room_name = self.scope["url_route"]["kwargs"]["room_name"] self.room_group_name = "chat_%s" % self.room_name # Join room group await ...
[ "79055280+igoo-Y@users.noreply.github.com" ]
79055280+igoo-Y@users.noreply.github.com
80d457fe0e0df539d494873fa3d8e41ce774ae0b
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1/palemale/a.py
f78d73ef5adea50522114802f390513ce3e2cfff
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
810
py
import os, sys with open(sys.argv[1], 'r') as infile: N = int(infile.readline().strip()) for x in xrange(1, N+1): T = infile.readline().strip() cases = set(list(T)) intT = int(T) current = intT count = 2 stablecount = 0 while len(cases) < 10: ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
c0789528e506bd6d2e3b0093a98b9dc59f8a4f48
2c39c8b1ad251db6c616c14460db7a431c7550da
/09_sql.py
ee88e94738afa3006b6a58d9cd2f131c0f40de53
[]
no_license
tendaitt/sql-with-python
876ca2d1cb24d120835c87fef77ba8252ca4d137
3b499e952f704eb77e8b02f50e7c7ecce791a052
refs/heads/master
2020-08-29T13:14:22.518835
2019-10-31T13:00:17
2019-10-31T13:00:17
218,042,508
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
# JOINing data from multiple tables import sqlite3 with sqlite3.connect("new.db") as connection: c = connection.cursor() c.execute("""SELECT DISTINCT population.city, population.population, regions.region FROM population, regions WHERE population.city = regions.city ORDER by p...
[ "970497+tendaitt@users.noreply.github.com" ]
970497+tendaitt@users.noreply.github.com
0bf9f14a7d8f3b313cb14ebe38a4ae36709d9164
92237641f61e9b35ff6af6294153a75074757bec
/Algorithm/programmers/lv2/lv2_짝지어 제거하기.py
dc49c17ce25e718214f85eb4831fb672b343a239
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
278
py
def solution(s): stack = [] for e in s: if not stack: stack.append(e) else: if stack[-1] == e: stack.pop() else: stack.append(e) if stack: return 0 else: return 1
[ "taepd1@gmail.com" ]
taepd1@gmail.com
12148e25092c6f6329984c046651dba85edfb209
3c2e75d3563053dd186dcff324fd84eba561f2a7
/python/onos/rsm/__init__.py
b94966701cbd5b870c5f829c3de02c8bd040a16c
[ "Apache-2.0" ]
permissive
stjordanis/onos-api
00c2434090b9f51d7eacf00f082abd7f2146c1fc
13fca9dc160a23bc9d89e4ef33ee2da9b2a8ee48
refs/heads/master
2023-09-02T11:07:58.824154
2021-11-01T17:40:27
2021-11-01T17:40:27
null
0
0
null
null
null
null
UTF-8
Python
false
true
10,002
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: onos/rsm/rsm.proto # plugin: python-betterproto from dataclasses import dataclass from typing import Dict, List, Optional import betterproto from betterproto.grpc.grpclib_server import ServiceBase import grpclib class SliceType(betterproto.Enum): ...
[ "noreply@github.com" ]
stjordanis.noreply@github.com
3823340ea644b2feec0858721dad3a7c2d67d330
1b597dd7630f9a3023faf557e383b0fae703e72b
/test_autogalaxy/unit/aggregator/test_aggregator.py
40b7acd97191da8084e06012b80ef34395849c57
[ "MIT" ]
permissive
knut0815/PyAutoGalaxy
96e9dfc558182169c41e19d3297cdf46b42d5f77
cc2bc0db5080a278ba7519f94d2a8b2468141e2d
refs/heads/master
2023-03-05T00:59:51.594715
2021-02-09T18:21:30
2021-02-09T18:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,428
py
from os import path import pytest import autofit as af import autogalaxy as ag from autogalaxy.mock import mock directory = path.dirname(path.realpath(__file__)) @pytest.fixture(name="path") def make_path(): return path.join("{}".format(path.dirname(path.realpath(__file__))), "files") @pytest...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
854209911af300efb0ca7e652dd682ae077fa116
475110b2e65643eb6f1dcdaa5bd4ee8b74f7900d
/backbones/densenet.py
3c278afca1f1509b21b1fcd34b8fd4ccdafe8ee3
[]
no_license
lgzbryant/classification_project
47308d10142c9d871fa8c9a9d45d4f26f5509dce
93856ee9bd11d82d6c0ff7785a3ab435631f039a
refs/heads/master
2020-06-17T07:26:09.304920
2019-07-08T16:04:17
2019-07-08T16:04:17
195,845,254
0
0
null
null
null
null
UTF-8
Python
false
false
9,834
py
import re import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.checkpoint as cp from collections import OrderedDict from .utils import load_state_dict_from_url __all__ = ['DenseNet', 'densenet121', 'densenet169', 'densenet201', 'densenet161'] model_urls = { 'densenet121': 'https:...
[ "noreply@github.com" ]
lgzbryant.noreply@github.com
7ffc3b6f85cff22c0f89b8e8b676438dd3d048fe
1488889766d328b856b8910d7f1a50b52b754774
/firstsite/settings.py
ae74f052934497765e6907a52736af417b6336d6
[]
no_license
vipul-rathod/firstsite
1790cb3f67fb5b690c9cc24161ddb9b13d458718
84c09a3c66b58ff92b8b12d83c49c48d0d9bd82c
refs/heads/master
2021-05-18T22:53:15.355755
2020-03-31T20:47:12
2020-03-31T20:47:12
251,464,363
0
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
""" Django settings for firstsite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "vipsravs787@gmail.com" ]
vipsravs787@gmail.com
66329e2ef7a59a9819fbce4fe1a7b235e7eb2f9b
e90fdf3c083b43ebe5ead840190b81fd923e2798
/Employee.py
122dbf7023239dcd9345a05620e0749701118341
[]
no_license
michaelgagliardi/2019_2020_projects
c643ba68aff6bf634a07c0e8863303eebe6defac
217d32eaaea9a0f3a9bb5ff069f4e21492ec3b64
refs/heads/main
2023-04-03T03:20:19.293052
2021-04-05T21:01:36
2021-04-05T21:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
######### to complete class Employee: def __init__(self,ID="none",name="none",age=0,exp=0,job="none",is_from_MA="none"): self.ID=ID self.name=name self.age=age self.exp=exp self.job=job self.is_from_MA=is_from_MA
[ "noreply@github.com" ]
michaelgagliardi.noreply@github.com
aa41fbd83ac1923d6fda08de4cc8f3ebd55904e0
90390ddcc21d2f2c0dd5ee3c0e7a3d8d61be9638
/wsgi/app/forms.py
4141cbb7183fc430344eb1bf806ca44a244d8598
[ "MIT" ]
permissive
pjamesjoyce/lcoptview_legacy
b27926e31c16f1fca07c6294e66d706fcb600682
e0ebeb155d6f62d8619d33cf48db98bab8b7a4cd
refs/heads/master
2021-07-16T11:38:58.451239
2017-09-26T10:43:50
2017-09-26T10:43:50
107,691,179
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
from flask_wtf import FlaskForm from wtforms import TextField, PasswordField from wtforms.validators import DataRequired class LoginForm(FlaskForm): login_data = TextField('username or email', validators=[DataRequired()]) password = PasswordField('password', validators=[DataRequired()]) class RegistrationFo...
[ "pjamesjoyce@gmail.com" ]
pjamesjoyce@gmail.com
fc08528884d6626eaf34cd5a97c19cbd3a353798
24a9f5f1b8d8b550b9b70f5837e7de94ca76692c
/Lab07.py
2ba74a2602492c526e417c46f3f8c003551fb5f7
[]
no_license
syfiawoo/python-graphics-lab
2548dfe45f9da50fa5f2578bf9489261c89b7681
edd1fec368f28219aca2ebf9f709caaca53270e3
refs/heads/master
2021-01-20T19:00:26.232748
2012-07-03T10:17:08
2012-07-03T10:17:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
from graphics import * #add any functions or classes you might define here # create a window with width = 700 and height = 500 win = GraphWin('Program Name', 700, 500) # add your code below this point win.mainloop()
[ "moi@fiawoo-PC.(none)" ]
moi@fiawoo-PC.(none)
542448cbdd184491b07c34dbda1e18c8b39b173d
8cdd03812d2cfad8fd9f9d5c83b38a59f9c9c8e8
/Code/Backend/Test/stepper2.py
7c6561f3f043ca1ceefb8becef5888d374680e6f
[]
no_license
MaenhoudtTom/project1
46d018ee1a9abd72f90c1f2124ad0a00bb0c46fa
ad050accf62aa629bef1d77922dc2207dd78df01
refs/heads/master
2022-11-07T23:14:31.559237
2020-06-24T07:07:09
2020-06-24T07:07:09
271,761,705
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) control_pins = [12, 16, 20, 21] for pin in control_pins: GPIO.setup(pin, GPIO.OUT) GPIO.output(pin, 0) halfstep_seq = [ [1,0,0,0], [1,1,0,0], [0,1,0,0], [0,1,1,0], [0,0,1,0], [0,0,1,1], [0,0,0,1], [1,0,0,1] ] for i in range(64): for halfst...
[ "55881682+MaenhoudtTom@users.noreply.github.com" ]
55881682+MaenhoudtTom@users.noreply.github.com
67a41c24e4933a1aeb0fd35e31eb01bda1c58d33
d2b0a5d0702162f32fa277103a2962a9b34b3850
/demo/demo_special_purpose_publication_occupancy.py
9fd9fcc768d9047027291e00faf328dd7c0f13c4
[]
no_license
ruoxijia/pad
e0835b5ce39de1ce8c0a85d8387cebfbe0248c79
7a8c4710c82c2f45454458dd992a88ea8fde82b1
refs/heads/master
2021-10-10T17:28:59.560879
2017-11-02T06:28:21
2017-11-02T06:28:21
109,215,905
2
1
null
null
null
null
UTF-8
Python
false
false
3,685
py
from helper import Utilities, PerformanceEvaluation import pandas as pd from metric_learning import Subsampling, MetricLearning from user_feedback import Similarity from scipy.misc import comb """ In the demo, we will showcase an example of special purpose publication. The data user wants the published database to ma...
[ "ruoxijia@berkeley.edu" ]
ruoxijia@berkeley.edu
a8271bda23a6157bb2fe3136fe4736b8542b2437
1bc350d7a026763ace5d007958e093cf2eeada93
/cos_distance.py
66dcb2fa6cd48fde2a06f125d88c7a26f2718323
[]
no_license
yuridadt/recommender_systems_lab
2d6abb32e4f7cdd46816fbfcac97903a3b02a9f8
15025a1949748a65ef4eb1836dbdd643aebec805
refs/heads/master
2020-12-09T17:40:23.484989
2020-01-16T20:34:15
2020-01-16T20:34:15
233,372,324
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
#Рассчитываем косинусное расстояние для кр #https://habr.com/ru/post/150399/ import csv import math #обходим tuple unpacking in python 3 def star(f): return lambda args: f(*args) def ReadFile (filename = "cos.csv"): f = open (filename) r = csv.reader (f) mentions = dict() for line in r: us...
[ "48838615+yuridadt@users.noreply.github.com" ]
48838615+yuridadt@users.noreply.github.com
5ed6d98894bbff63047d401e8e20a8797425bf11
3ff5361ce05978b675483092ad33a14d7ed52c6f
/pipeline/bootstrap_pk.py
f4556387a6f7dd2c25b344d825adb017b8c0d11d
[]
no_license
bayu-wilson/lyb_pk2
9091010eeb1f9fd8325aad70cd259d3cb37d547b
33520f5db248886be24950af0da23a20cbacdb95
refs/heads/master
2022-11-27T20:40:13.137323
2020-07-02T03:24:59
2020-07-02T03:24:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,492
py
#!/usr/bin/env python import numpy as np import inis import pandas as pd import options as opt from QuasarSpectrum import QuasarSpectrum from scipy.interpolate import griddata tag = inis.tag cat_name = inis.cat_name rescale_flux = inis.rescale_flux QuasarSpectrum.load_cat(cat_name) nqso = QuasarSpectrum.nqso print...
[ "bwilson3853@gmail.com" ]
bwilson3853@gmail.com
63acff57f79dae33fea912cb9cec6449292df6f5
b3717c1c9eb195c0d6205a653f97cb719118c166
/blog/models.py
744ae9bd29bad66ab8edd786bab55a1069e098a9
[]
no_license
Harithmech/my-first-blog
c551323a295da0682e56067af900731e1af43fd6
bccf0a258ba1e361fa8c5ec5f00c5cc9b9498bbe
refs/heads/master
2023-02-28T16:01:50.138599
2021-02-11T11:45:21
2021-02-11T11:45:21
266,046,977
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
from django.db import models # Create your models here. from django.conf import settings from django.utils import timezone class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created...
[ "harithmech@gmail.com" ]
harithmech@gmail.com
9ca2e633e67d0d45a394bc37f48e58a9aa50e852
72fc93362a930d2ef8c951c6c53f9862abf60b03
/captain_console/user/migrations/0002_auto_20200509_1717.py
6e4cd570b49e6b936f684c1885309a9879b319d7
[]
no_license
valdisbaerings/VN_2
434a08ad1cac0ba2fb45dc0d5707cc62cc117771
52ab14980e6e2c39d9007f3e9cefe276d5aebbb6
refs/heads/master
2022-06-20T04:51:58.070386
2020-05-14T16:40:50
2020-05-14T16:40:50
262,390,195
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# Generated by Django 3.0.6 on 2020-05-09 17:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0001_initial'), ] operations = [ migrations.AlterField( model_name='profile', name='profile_image', ...
[ "saralindsveins@gmail.com" ]
saralindsveins@gmail.com
c7538c4194854b3c7982b74de054fe7f78f8728e
1d70ee049c5198b75567e0000c45ef879f6d39be
/JobMatchPonos/server/modules/cv/cv_api.py
25e0c70dc1df46469890788a794b2b58526bf6f8
[]
no_license
alexawl/Job-Match-Ponos-Back
95f28185f71c38733973bc6d730947455c2e6c93
c48b4bfddfbf2f4f5aa95409fd2c6ee4f469d9dd
refs/heads/master
2022-09-30T15:07:19.875016
2020-02-01T06:50:34
2020-02-01T06:50:34
237,575,072
0
0
null
2021-05-06T20:07:41
2020-02-01T06:49:35
Python
UTF-8
Python
false
false
463
py
from flask_restful import Resource from flask import request, session from mongoengine import NotUniqueError import json from mongoengine import connect from jobmatcher.server.authentication.authentication import require_authentication from jobmatcher.server.authentication.web_token import generate_access_token from ...
[ "alexawl@bellsouth.net" ]
alexawl@bellsouth.net
24fb58232485d43c8a84ef050f7eb2521e36f3dc
811ecc8def16dc1bdb8f5a5c2c9e1d01b3f9c319
/chat_bot/handlers/simple_qa.py
54c7f4b080136b0e97702dec899b7b12a668befc
[]
no_license
jiaojianglong/MyBot
7dd00959d6cf54d728b213b77084ce375b731ad3
9781b183cf168832b3c962d420e7f0a63287c4db
refs/heads/master
2020-06-13T22:34:15.829604
2020-03-29T01:31:24
2020-03-29T01:31:24
194,809,661
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/2/22 # @Author : JiaoJianglong from handlers.base.basehandler import QABaseHandler from models.es.rg_search_question import RGSearchQuestion from models.es.rg_question_answer import RGQuestionAnswer class SimpleQAHandler(QABaseHandler): ...
[ "447151999@qq.com" ]
447151999@qq.com
766305b90df2cd606aef9971c1c2f21fb0412565
fc557979eb04d242f892303dde54b47616a2f74b
/blogProject/website/models.py
1af510c90ecfbd423549a1ee5b579993d5366434
[]
no_license
supr-pr/blogProject
99ad3ee03b004c56bc44551847bf3e123ab6a7cf
b77775f05f8b0929f854794ca2a0c68f089bc7b8
refs/heads/master
2021-01-02T09:19:02.479888
2017-08-21T10:11:23
2017-08-21T10:11:23
99,191,378
0
0
null
null
null
null
UTF-8
Python
false
false
2,830
py
from django.db import models from django.forms import ModelForm from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType # from comments.models import Comment # @property # def commens(self): # qs = Comment.objects....
[ "supr.pr@gmail.com" ]
supr.pr@gmail.com
cfd05d15243758d9c263176fe03fefdad10205cd
e7287d286d127311118d2689bd97b513b95ae046
/ext/exmpSorted.py
d5da2e587885bca0af4ae73ba5e6eae3ed0a88ce
[]
no_license
Reihan-amn/DiseaseClassificationProlem_Kaggle
3da32457d45165d2cb6549054b72203604e12481
9f1407e33a910a37af3eced2c5ddebdf4d3f7530
refs/heads/master
2021-05-11T00:49:05.955718
2018-01-21T07:14:18
2018-01-21T07:14:18
118,311,674
1
1
null
null
null
null
UTF-8
Python
false
false
515
py
from ext import exmpDataFact Bclass = exmpDataFact.getDataMatrixFromCSV("./DeathRecords.csv") print('type: ', type(Bclass),' shape: ',Bclass.shape) ''''first row deleted ''' # columns_name = np.array(data2DMat[0]) # features_label = np.delete(columns_name, [0,24], axis = None) # data2DMat = np.delete(data2DM...
[ "reihan@Reihanehs-MacBook-Pro.local" ]
reihan@Reihanehs-MacBook-Pro.local
4eba43e78eb66a2ee052c5643ef10dcfafa48917
f299be6bd4ce2d34b3ddf625ecc44a9d99ce9bb7
/etc/docker/dev/Other-certs/test-create-rules-pau.py
2c74ee483cf7fed6431c058b6f05049b0c511100
[ "Apache-2.0" ]
permissive
pic-es/rucio
8a4688e26dd45062ff45ddc29dffa96ea2d7562f
f91ae9e79be62890d975a333b7976c89f7fed735
refs/heads/master
2022-12-30T13:34:01.663270
2020-09-04T13:31:24
2020-09-04T13:31:24
281,892,842
1
0
Apache-2.0
2020-07-23T08:16:19
2020-07-23T08:16:18
null
UTF-8
Python
false
false
31,015
py
#!/usr/bin/env python # coding: utf-8 # In[1]: from __future__ import absolute_import, division, print_function __author__ = "Agustin Bruzzese" __copyright__ = "Copyright (C) 2020 Agustin Bruzzese" __revision__ = "$Id$" __version__ = "0.2" import sys sys.path.append("/usr/lib64/python3.6/site-packages/") import ...
[ "bruzzese.agustin@gmail.com" ]
bruzzese.agustin@gmail.com
b708ef0ba29cc97092ba45507823ff4dd82a5350
97062249c6eb04069c6fb01e71d06bc334c828e1
/desktop/core/ext-py/Django-1.6.10/tests/decorators/tests.py
05016be231c1703dbabc6a7a8f688f91e33ceaf2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
Albertsss/hue
1c8b31c64cc420a029f5b5b80712fb3d0c6cbd6e
454d320dd09b6f7946f3cc05bc97c3e2ca6cd485
refs/heads/master
2021-07-08T17:21:13.237871
2018-05-30T06:03:21
2018-05-30T06:03:21
135,386,450
0
1
Apache-2.0
2020-07-25T13:36:58
2018-05-30T04:06:18
Python
UTF-8
Python
false
false
8,243
py
from functools import wraps from django.contrib.admin.views.decorators import staff_member_required from django.contrib.auth.decorators import login_required, permission_required, user_passes_test from django.http import HttpResponse, HttpRequest, HttpResponseNotAllowed from django.middleware.clickjacking import XFram...
[ "540227148@qq.com" ]
540227148@qq.com
239859618e261ad2335982654069188d008796f4
34a4a61dfc837bd0e55f985869c32baef2b9b867
/Shelter.back/domain/enums.py
27561a99064728b3fa4fa6991b66a3793c826c2f
[]
no_license
BlueInt32/shelter
5934984b6a256659ec4a20f80926488c5687083c
fc8c238a501c608ae38e2dd01724c7b91ff77a1a
refs/heads/master
2023-01-13T00:31:24.370302
2020-05-26T05:22:12
2020-05-26T05:22:12
225,805,189
0
0
null
2023-01-05T03:45:58
2019-12-04T07:24:39
Vue
UTF-8
Python
false
false
83
py
from enum import Enum class PersistanceType(Enum): CREATE = 1, UPDATE = 2
[ "simon.budin@gmail.com" ]
simon.budin@gmail.com
a13c30cb58afafc6423d27afc1fc0999a91c663c
54fdc31183763afafe5c07de6cb4ed4167fbf2f2
/projet_logiciel/main_fin_p3c1.py
6bef301691d6719391cf4b517283db923e506f13
[]
no_license
Patrick-Wampe/Debugging-avec-Python
e089130352c02ae78d04fe4ee4f8286d5eabce9f
fd9d36b45e063b25a694e0974f6051c26ae2ee94
refs/heads/main
2023-05-14T14:18:03.832620
2021-06-10T10:35:20
2021-06-10T10:35:20
374,808,357
0
0
null
null
null
null
UTF-8
Python
false
false
5,179
py
# -*- coding: utf8 -*- from random import randint import datetime print("Bienvenue dans le jeu Pierre Feuille Ciseaux") nom = "debogeur" annee_actuelle = datetime.datetime.now().strftime("%Y") annee_de_naissance = 2000 print(f"Bonjour {nom}, nous sommes en {annee_actuelle}, du coup tu as {int(annee_actu...
[ "noreply@github.com" ]
Patrick-Wampe.noreply@github.com
5db6fa1f99c5b7ac65079c7fd585ce8c7915f235
817085c4009e48db05e4a30815fdd92ee27513f9
/venv/Scripts/pip-script.py
87639661c7805bc7bbf60fa04e4b53e33d5922f8
[]
no_license
bluesnie/novel
7e3a2f403def8fe3e1d9c8c1ba4e2a80344c39e0
c11076ca61c619a2b7c1423d742d3f4c63dc1fed
refs/heads/master
2020-04-24T02:07:07.516575
2019-02-20T07:44:19
2019-02-20T07:44:19
171,486,867
1
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!C:\Users\lenovo\PycharmProjects\novel\venv\Scripts\python.exe # 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)?$', '', sys.argv[0]...
[ "l" ]
l
282283fc9217210a557858c3ef384120074f0fe2
5424af93e136131ec74efdb307181d3f0c173a02
/test/test2.py
7139c731fc4268a201b8ee4a5f6f45cc90c43d76
[]
no_license
koy1619/python_test
8e70021a73d53d9192f6ace2ec346e5e3a92919f
c2315ccb2e66a111ed66b28bb19c7abafaa5c8b7
refs/heads/master
2021-01-15T21:50:20.460932
2014-06-23T07:37:31
2014-06-23T07:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
#!/usr/bin/env python #-*- coding:utf-8 -*- #5-5 取余。取一个任意小于1 美元的金额,然后计算可以换成最少多少枚硬币。硬币有1 #美分,5 美分,10 美分,25 美分四种。1 美元等于100 美分。举例来说,0.76 美元换算结果 #应该是 3 枚25 美分,1 枚1 美分。类似76 枚1 美分,2 枚25 美分+2 枚10 美分+1 枚5 美分+1 #枚1 美分这样的结果都是不符合要求的。 money = raw_input('输入任意小于1 美元的金额:') print money,'美元换算结果' money = float(money) money *= 100 money ...
[ "maxiaolei007@sina.com" ]
maxiaolei007@sina.com
c4281a41c161ba65c8915083ae81b981745630ca
9775ab319e5c1f2270a132b0244f0847db42589b
/nilai/migrations/0008_auto_20210117_1010.py
d2abe2075f8f24b61525b7b5c136dcc1bf54b97d
[]
no_license
nabaman/SPK-SAW
9aa8dfaf1bf5162bae1dc5c97e2b3e033a08294b
5c0b8d491f23939615aa968cd52f081072fe2230
refs/heads/master
2023-02-18T17:38:21.028901
2021-01-22T15:37:06
2021-01-22T15:37:06
331,987,703
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# Generated by Django 3.1.5 on 2021-01-17 10:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nilai', '0007_auto_20210117_1004'), ] operations = [ migrations.RemoveField( model_name='data_krips', name='kriteria...
[ "naba.alvian@gmail.com" ]
naba.alvian@gmail.com
a11962ae95b28d1923e23d0a5c514d53c454524e
7889f7f0532db6a7f81e6f8630e399c90438b2b9
/3.7.1/_downloads/a54f19823bde998a456571636498aa98/auto_subplots_adjust.py
bd6326b8291f4b1a16db182e1f642d2279a8f0b0
[]
no_license
matplotlib/matplotlib.github.com
ef5d23a5bf77cb5af675f1a8273d641e410b2560
2a60d39490941a524e5385670d488c86083a032c
refs/heads/main
2023-08-16T18:46:58.934777
2023-08-10T05:07:57
2023-08-10T05:08:30
1,385,150
25
59
null
2023-08-30T15:59:50
2011-02-19T03:27:35
null
UTF-8
Python
false
false
3,366
py
""" =============================================== Programmatically controlling subplot adjustment =============================================== .. note:: This example is primarily intended to show some advanced concepts in Matplotlib. If you are only looking for having enough space for your labels, i...
[ "quantum.analyst@gmail.com" ]
quantum.analyst@gmail.com
d5aadd00bb09ce66112973792bc22e130386a94a
b21c237d6cbd8dcea90fa18154cc3b9e11508129
/main.py
c6e6b8969d727e1b239b8a924268cb8d729c773f
[]
no_license
topoko123/fastapi-get-post-patch-put-del-basic
4ad72de27b18e3deb3a5e107b826742057d30a13
fe8165c714fc0e48bdd4c2b4dd5b5b74d8e1aab8
refs/heads/main
2023-05-08T16:32:00.387261
2021-05-30T11:26:34
2021-05-30T11:26:34
372,191,718
1
0
null
null
null
null
UTF-8
Python
false
false
2,518
py
from fastapi import FastAPI from pydantic import BaseModel #Import BaseModel for receive from typing import List, Optional import uvicorn class Item(BaseModel): name : Optional[str] = None description: Optional[str] = None price : Optional[float] = None class Address(BaseMo...
[ "m131.mdsoft@gmail.com" ]
m131.mdsoft@gmail.com
2fc6d94c3b2b11ba86ebe114e83a451f636f25c9
18df22a18f34b4e3066e797f024fb2e475408847
/praca_z_danymi.py
527424c0273538f106cccc209a5f923f8c55814d
[]
no_license
Karolinak246/Programing-in-Python
8841d10495d661ad3708a1ba07cfe92c1c93a87d
47093309b5cee0424552cb5fee0272cf78758e8c
refs/heads/main
2023-01-31T20:09:50.361568
2020-12-15T23:02:25
2020-12-15T23:02:25
321,491,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
################################ # 7.12.2020 # Kopczak Karolina # Programowanie w jezyku Python # Zadania: PRACA Z DANYMI ################################ #!/usr/bin/env python3 path = "/home/pi/Documents/Python" from xml.dom import minidom import xml.dom.minidom import os import numpy as np import pandas as pd impor...
[ "noreply@github.com" ]
Karolinak246.noreply@github.com
b28bbc203b60e128307f6f9d8d309793f3dc1e1a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/yXZhG7zq6dWhWhirt_24.py
1b4a59876a63f5dfdb4b9e7de1d41c308c735314
[]
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
215
py
def is_prime(n): if (n==1): return False for i in range(2,round(n**(0.5))+1): if i!=n and (n%i)==0: return False return True def filter_primes(num): return [n for n in num if is_prime(n)]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ca4715ede55c40f5896201b4076cd2db446a2b25
33f87a7b8bf317894bff46d1f57dce5aea363b77
/Unit_3/Prog_10.py
a827d6fbf1eaabadf8c7d56ec8cfd2b16f0d7647
[]
no_license
beulah444/Dr.AIT_Python_Course_2015
dd7f31659591225393bb81a4918d9a7df09e5f27
9fe4dd1fe0cbc093795901f8f272afe25adccef4
refs/heads/master
2021-01-22T17:28:51.383517
2016-06-10T19:37:57
2016-06-10T19:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
__author__ = 'Dr.S.Gowrishankar' class ListSum: def __init__(self, listArg): self.listArg = listArg def __init__(self, listArg): self.listArg = listArg def ComputeSum(self): print sum(self.listArg) #a =[1,2,3,4,5] #ls = ListSum(a) #no need to write these two lines ls = Li...
[ "learndatasciencewithr@gmail.com" ]
learndatasciencewithr@gmail.com
bbda84923f2c455dc60051aa1e126bf4dd187233
4a88ec266b64521fcaef88d92cb2b57776d3192b
/powerUsageNotification/powerUsageNotification.py
132c11551e75d59adb52856ce265d156f20d6af7
[ "MIT" ]
permissive
johntdyer/appdaemon-scripts
4e5ea345d27d54d8133be212e5f7af57b8dfd57f
ce7e32a919be5a835d0bdf95e6650ff34b699220
refs/heads/master
2020-03-31T18:01:49.517418
2018-10-07T14:06:38
2018-10-07T14:06:38
152,443,705
1
0
null
2018-10-10T15:10:00
2018-10-10T15:09:59
null
UTF-8
Python
false
false
4,100
py
import appdaemon.plugins.hass.hassapi as hass import globals # # App which notifies you when a power usage sensor indicated a device is on/off # # # Args: # # app_switch: on/off switch for this app. example: input_boolean.turn_fan_on_when_hot # sensor: power sensor. example: sensor.dishwasher_power_usage # notify_name:...
[ "k.eifinger@googlemail.com" ]
k.eifinger@googlemail.com
ae0aef6a83feebd6e73b83650c28cc5c4c536818
ce3cbf8ed094808408634f6e9257bb575f65e654
/principal/forms.py
9f7048e6ed1cb70adc34136e3bc8e162d7d7a137
[]
no_license
iosamuel/meetup
165e6e4bf83c843507c45cb1ad78709d787c711a
af7a746dee0344ca41eae3b64571a7fa3ca6a39c
refs/heads/master
2016-09-06T08:52:28.898449
2013-06-01T15:56:29
2013-06-01T15:56:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from django import forms from .models import * class EventosForm(forms.ModelForm): class Meta: model = Eventos # widgets = { # 'nombre': forms.InputText(attrs={'class':'inputB inputA'}) # } # <input class="inputA inputB"> class UsuariosForm(forms.ModelForm): class Meta: model = Usuarios exclude = ('e...
[ "samuelb1311@gmail.com" ]
samuelb1311@gmail.com
db0098a5052813ec73014ee3786d77074ce4c3cf
a0727e9880bd4cbd575b1ead8404fac2a076ae7e
/src/tests/api/test_rol.py
1c6f99376508b971e3ca4eab9191f0341534da56
[ "MIT" ]
permissive
Haythem122/fastapi-docker
57620631e18310df8aa2e8a27909249ffc52bf22
90b84161599fa23225649aef8a0532a571d350fe
refs/heads/master
2023-08-12T10:58:43.601587
2021-09-20T23:11:47
2021-09-20T23:11:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
def test_create_role(client, super_user_token): data = { 'name': 'new_role' } response = client.post( '/api/v1/role', json=data, headers={ 'token': super_user_token } ) assert response.status_code == 201, response.text response_json = response.json() expe...
[ "jeremysilvasilva@gmail.com" ]
jeremysilvasilva@gmail.com
f617f398edfe0e8e5b141797e5bcd020e521010e
925c667f928d8a08a22cbb6c0bffbd5264a4db85
/primerProyectoDjango/firtPro/firtPro/asgi.py
e210908218fc3e14599a75b10486c36247c84939
[]
no_license
jesusManuelJuarez/jesusManuelJuarez
62dd5770791e8c08942fe753a1cead687db3ab7a
c74ed3734ccd2a4e4ee8c5672cccd2102b54d5af
refs/heads/master
2022-04-11T12:23:59.928223
2020-04-02T22:32:43
2020-04-02T22:32:43
250,353,532
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for firtPro project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault(...
[ "noreply@github.com" ]
jesusManuelJuarez.noreply@github.com
d0089bd15b2c1ffac1e167de02e3ee215da07c7b
74698be74d244ebbabcb0b3cf17ebed26adfa37c
/orbit/utils/epoch_helper.py
6eb110768887e95055c34f7fc3857f08a6b9c276
[ "Apache-2.0" ]
permissive
lfads/models
aa75616fee2476641aa98ca1cbdce7e5d27a9aff
fd700f0cb2e104544c445d9fbf3991d8388ff18a
refs/heads/master
2021-01-25T13:50:55.423010
2021-01-05T18:27:01
2021-01-05T18:27:01
123,619,512
16
9
Apache-2.0
2021-01-05T18:27:02
2018-03-02T19:07:50
Python
UTF-8
Python
false
false
2,136
py
# Copyright 2020 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
de440b2a397df3a824c6c85058fa980aa28a0340
52083499c5661e9034758135bf1ee2e625a9d2fb
/src/surround_view_sim/build/catkin_generated/generate_cached_setup.py
ca755387a7ec711615f8b35eb5609d860ad867bb
[]
no_license
pennluo/SurroundView_Simulation
12d186545a5b53a32c47e8cfb1f1bfd3cc1f946f
ae7d98caf9c89325bcf776f119e9fd655cac8ebb
refs/heads/master
2022-09-30T12:05:24.610092
2019-04-14T15:59:55
2019-04-14T15:59:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "luopengchn@gmail.com" ]
luopengchn@gmail.com
f2542cb91db283b5aae1bcebc74918ad123999bd
a78aff707dbaf053c78ead5f4631fc3ba0f0611b
/Code/data.py
eb210da3c8715ef8d4061df88a1b36dd87efea14
[]
no_license
GitteVW/Multi-Instance-Experiments
b6ac3eed60df3ee8938dc3f96696c0924f3d98bb
47de57f56c4b407765d9355dd97a4f27d2f0ba07
refs/heads/master
2020-05-16T21:27:36.589189
2015-01-26T21:16:29
2015-01-26T21:16:29
28,873,499
6
3
null
null
null
null
UTF-8
Python
false
false
2,689
py
''' Datasets and algorithms ''' labels_sival=['ajaxorange','apple','banana','bluescrunge','dirtyworkgloves','juliespot','checkeredscarf','wd40can','candlewithholder','glazedwoodpot','cokecan','smileyfacedoll','dataminingbook','rapbook','feltflowerrug','translucentbowl','greenteabox','cardboardbox','dirtyrunningshoe','...
[ "gitte.vanwinckelen@gmail.com" ]
gitte.vanwinckelen@gmail.com
5bf1f054acecf712806195e5754388d8d6ab6e98
2cabf2ef7640f6203ce6c95ee638793c806c2354
/venv/Scripts/pip3-script.py
ed3e0c46993f2f30d9fd3af434f3e4ea7ba7c22b
[]
no_license
nunodores/suziapp
4288347e4436981704fa80ae1416a2a486919fe7
43e33369ed64e0fe8eec6e94cc29809fa75dcb65
refs/heads/master
2021-07-20T08:34:26.340345
2018-12-01T22:28:58
2018-12-01T22:28:58
159,992,433
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!"C:\Users\Nuno Dorres\PycharmProjects\Test\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __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....
[ "41326@etu.he2b.be" ]
41326@etu.he2b.be
b155ef0630a0290fc9d2d59511401268ad789fe4
ec3ec2e292da450b095c8a4963a8aeb222d141bf
/model/DAO/ClienteDAO.py
4349684129a4f5fa88ae857c388fd1c13621fc68
[]
no_license
ojuliomiguel/Gerenciador-de-Fiados
b3aa97d8b65e595445f2598fc9e1bae1df289430
da239a8de12d30bf5cd284322086fdffcfc9f851
refs/heads/master
2021-10-28T00:38:53.399247
2019-04-20T17:02:04
2019-04-20T17:02:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
import sqlite3 import os from DataBase.ConexaoSQL import ConexaoSQL class ClienteDAO: def buscarCliente(nome): try: con = ConexaoSQL.conexaoBd() cur = con.cursor() query = """ SELECT id, nome FROM clientes WHERE nome = '{}' ...
[ "juliomiguelsouzacosta@gmail.com" ]
juliomiguelsouzacosta@gmail.com
9d3339fbb1dea2a21cc7e3817513b96bac97ad71
b03121e88c7c7b4738d6ab873cf030e7db140e32
/utils/fact_memoization.py
47630368952b26b22dc1746de79f0c20b8aab043
[]
no_license
priestd09/project_euler
0889a2038ee4ff17008169abea73f8a3bc74f713
d6a04fbe42947ef0f9d9e26077c2b9b99069f4d1
refs/heads/master
2021-01-18T19:42:00.135047
2014-05-25T09:39:57
2014-05-25T09:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
#!/usr/bin/env python ''' Created on 17 feb. 2012 @author: Julien Lengrand-Lambert @contact: julien@lengrand.fr ''' import timeit from memoize import memoize from Memoized import Memoized def fact1(value): """ Returns value! """ if value == 0: return 1 return value * fa...
[ "julien@lengrand.fr" ]
julien@lengrand.fr
ba15778cb67c98978cb7fc27b5541dcb2ceeba8a
3e0e9508b3b8d5609392fd64c57491d278c73c89
/venv/bin/gunicorn
c5ff15177c6bba9a6f255f72a472181d98d2c757
[]
no_license
raghav96/DatabaseWebApp
9d59c9866e6977aac0ead06d242e01c5724211d0
a81ba383393c61877ad40acc44cda30ef2d7b19e
refs/heads/master
2021-01-02T08:36:38.272371
2017-08-01T18:21:47
2017-08-01T18:21:47
99,030,674
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/Users/raghav/flask-app/venv/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "raghav96@github.com" ]
raghav96@github.com
b6d15f2f18092727dbf5772e4baf476f305ac60b
5487607b21cf32d2a7664a8d28b5fd68ad434739
/tysdgx_landinspector.py
8415b2e51eb903369edd96af6ffddc5be39afd3d
[]
no_license
Fr0z3nKnights/landcloud
081cfb29f8e2f1b3fb484f37108a86c1855bcb1c
f65b413bd616bc4b9ca641aefc5a1db0cee40cb5
refs/heads/master
2021-04-05T00:03:04.774268
2020-03-23T06:55:19
2020-03-23T06:55:19
248,504,776
0
0
null
null
null
null
UTF-8
Python
false
false
15,168
py
""" @author:Fr0z3n @contact:websec@yeah.net @datetime:2020/3/16 @desc:To get json data from url(https://landcloud.org.cn),and distribute personal task. """ from openpyxl import Workbook from openpyxl import load_workbook import requests import os import datetime import re # 屏蔽SSL报错,要求重新安装requests==2.7.0(version) from ...
[ "webhack007@outlook.com" ]
webhack007@outlook.com
509c23e3bf72658ffd093ae405cf9de4958fb78f
102d09ef1d6effe166ad703ba4472c45dfb03263
/py/Maximum_Depth_of_Binary_Tree.py
199982277744c0985b39cfc2326fc115a739fec4
[]
no_license
bitcsdby/Codes-for-leetcode
5693100d4b66de65d7f135bbdd81b32650aed7d0
9e24e621cfb9e7fd46f9f02dfc40a18a702d4990
refs/heads/master
2016-09-05T08:43:31.656437
2014-08-02T15:14:53
2014-08-02T15:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param root, a tree node # @return an integer def maxDepth(self, root): if root == None: return 0; ...
[ "bitcsdby@gmail.com" ]
bitcsdby@gmail.com
b3a11d9e0e3f539e355dc7095199b687e163277f
4a71f8ee21d03c3308245fad1f81525934bd9a31
/nlu_dir/online/utils/configs.py
f37bcb3ce4a1e823d29eb57bfd0f1bc155f1eb7d
[]
no_license
nwaiting/nlu_context
fe11f13fbf7165cdbc4914a2b92304cbc52eb8e4
da63efa0523d487a3ec59acc5ebfebfb8c1ea84f
refs/heads/master
2020-04-08T11:06:54.460129
2018-11-28T02:08:11
2018-11-28T02:08:11
159,293,764
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
from online.utils.nameutil import FieldClassifyNames as dcname,ContextNames as cname from common.pathutil import PathUtil _pathutil_class=PathUtil() domain2entity2paths_set={dcname.product.value: {cname.domain.value:[_pathutil_class.domain_filepath, ...
[ "zhengyuyu3@jd.com" ]
zhengyuyu3@jd.com
02247885ad972b4756997bffe5c07f2ebd394d4a
908b6ee862375003eac9af6c8ea5b32533be4709
/collective/phantasy/atphantasy/content/phantasyschema.py
1842cf48d3c9871472abac28e8375078dccb4886
[]
no_license
collective/collective.phantasy
c7199995d98be183eb163f5b73c3e89147f2e8a6
86cb66b0905f6bb284cfc03201dd5bbfa8f9010e
refs/heads/master
2023-08-19T13:18:13.507960
2015-01-19T15:32:07
2015-01-19T15:32:07
29,517,296
0
0
null
2015-01-20T07:24:00
2015-01-20T07:24:00
null
UTF-8
Python
false
false
37,998
py
from Products.Archetypes.public import * from collective.phantasy.config import I18N_DOMAIN from Products.SmartColorWidget.Widget import SmartColorWidget from Products.ATContentTypes.configuration import zconf from Products.Archetypes.atapi import AnnotationStorage from Products.validation.config import validation fro...
[ "thomas.desvenain@gmail.com" ]
thomas.desvenain@gmail.com
a842ae5ed2fa9404270a2b872f3c9f04a42ac434
2652fd6261631794535589427a384693365a585e
/trunk/workspace/Squish/src/TestScript/UI/suite_UI_51/tst_UI_51_Pref_BufferAutoView/test.py
e1a9d9fe2212331ae4697f3a3269cdded8842a9c
[]
no_license
ptqatester1/ptqa
88c652380167f64a953bfd7a65041e7d8ac48c90
5b5997ea459e9aac17db8da2041e2af331927104
refs/heads/master
2021-01-21T19:06:49.275364
2017-06-19T03:15:00
2017-06-19T03:15:00
92,115,462
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
from API.Utility.Util import Util from API.Utility import UtilConst from API.MenuBar.Options.Options import Options from API.MenuBar.Options.OptionsConst import OptionsConst from API.MenuBar.Options.Preferences.Miscellaneous.MiscellaneousConst import MiscellaneousConst from API.SimulationPanel.EventList.EventListConst ...
[ "ptqatester1@gmail.com" ]
ptqatester1@gmail.com
c575267f57e1c42a783b5c2275174b4427573cab
9db916f28e718d4684db7e67a05573365a182e0b
/base/migrations/0002_freeresponseanswer_answer.py
c4be8ee654e41e8dfcf550bb36d6976aa5ae5b09
[]
no_license
shobashiva/questionnaire_app
243fee34950141315a9eb05ea4c26b3b677660ed
bd6c1c51215215c531944e99b29363ea87e98b62
refs/heads/master
2021-07-11T03:37:19.980030
2017-10-16T13:02:45
2017-10-16T13:02:45
107,127,788
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0001_initial'), ] operations = [ migrations.AddField( model_name='freeresponseanswer', name=...
[ "shoba@apaxsoftware.com" ]
shoba@apaxsoftware.com
a643d38e90646191463eca1bc229387c66c1a11f
65e0c11d690b32c832b943fb43a4206739ddf733
/bsdradius/trunk/bsdradius/configDefaults.py
244f2e4ef1d3488677ee5ad1c6d9c71ef18e43ac
[ "BSD-3-Clause" ]
permissive
Cloudxtreme/bsdradius
b5100062ed75c3201d179e190fd89770d8934aee
69dba67e27215dce49875e94a7eedbbdf77bc784
refs/heads/master
2021-05-28T16:50:14.711056
2015-04-30T11:54:17
2015-04-30T11:54:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,442
py
## BSDRadius is released under BSD license. ## Copyright (c) 2006, DATA TECH LABS ## 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 c...
[ "valdiic@72071c86-a5be-11dd-a5cd-697bfd0a0cef" ]
valdiic@72071c86-a5be-11dd-a5cd-697bfd0a0cef
98fc62623666acf20345eb356467064870a96c88
a7265d9cff8f2a06257faa4155655524ff6047c0
/utils/findAll_keyNouns.py
6fb229482e25c2d901662b491f039080ed01b2d8
[]
no_license
szr712/pinyin2hanziTest
f285afa7c12e548063f279d523303f43cf81687d
2bd4d197d514b85e43ad525be07a8fc6bef3ad23
refs/heads/master
2023-07-17T18:52:54.519509
2021-08-25T13:03:44
2021-08-25T13:03:44
392,251,488
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
def findAll_keyNouns(pinyin, tones, subpinyin, subtones): """匹配关键词拼音在拼音串中的所有位置 Args: pinyin (str): 被匹配的拼音字符串 tones (list)): 被匹配的拼音串对应的音调 subpinyin (str): 需匹配的关键词拼音串 subtones (list): 需匹配的关键词拼音串对应的音调 Returns: list: 所有匹配结果的起始下标 """ index = [] for i in ran...
[ "zirui990712@163.com" ]
zirui990712@163.com
3a8f47db15b6d38c675be76ddcac8ebc077745ca
d2ad678fd648f516f3eaa4ee8d13825d3e07983d
/src/lib/Server.py
edcc7d53d75b5a62dfbcf0424aaa04936fd657da
[]
no_license
marcusagm/python-socketserver
4affcda01e88b6f298486335f810e2624e25a139
d4e6559716cead5c3f64acdb64f261d9fe8c32e0
refs/heads/master
2022-11-24T20:51:27.213763
2020-08-05T18:57:28
2020-08-05T18:57:28
285,364,884
0
0
null
null
null
null
UTF-8
Python
false
false
4,044
py
import time import queue import errno import socket import select import threading class Server: def __init__(self, address = '127.0.0.1', port = 3000, bufferSize = 8192, timeout = 300): self.address = address self.port = int(port) self.bufferSize = bufferSize self.timeout = timeou...
[ "marcusagmaia@gmail.com" ]
marcusagmaia@gmail.com
0aa81db5fca950f4936b5d5082166f4d30a34ab1
81a9529137c7361189965684764470f8f2d92f38
/yowsup/layers/protocol_chatstate/protocolentities/test_chatstate.py
c7b7c48b966da8e87344b5d15e81017b1b246adb
[ "MIT" ]
permissive
pasinit/yowsup
670cd34e0d4e189394da97120ad2e76e201715fd
894007650bf3d75ef7af4a0e57e84dc7cccc4dfe
refs/heads/master
2021-06-01T17:50:29.866854
2014-12-20T11:29:30
2014-12-20T11:29:30
28,185,000
1
0
null
null
null
null
UTF-8
Python
false
false
440
py
from yowsup.layers.protocol_chatstate.protocolentities.chatstate import ChatstateProtocolEntity from yowsup.structs import ProtocolTreeNode from yowsup.structs.protocolentity import ProtocolEntityTest class ChatstateProtocolEntityTest(ProtocolEntityTest): def setUp(self): self.ProtocolEntity = ChatstatePro...
[ "g@almeida.io" ]
g@almeida.io
81e7392eb7df7d48b1169c1670899bdb02ff1c0b
c35a85e98774d10684fd1ef3a27328d0f005b260
/restapi/tasks.py
6a6cd1e392142d1b0180592001ed1fb212a05a9d
[]
no_license
unichainplatform/unichain-monitor-web
ba110ec2bf7d71b8df952a1ec866ab4a411b295b
97a0f01698102f3b88de60e1dcfb5a7c7731e2f3
refs/heads/master
2023-08-04T04:01:25.853165
2020-03-03T09:58:21
2020-03-03T09:58:21
240,002,198
1
0
null
2023-07-23T05:26:05
2020-02-12T12:00:17
Python
UTF-8
Python
false
false
208
py
from celery import shared_task from fabric.api import execute from restapi.builder import start from time import sleep @shared_task def build(): execute(start) @shared_task def sleepp(): sleep(20)
[ "zequnfeng@gmail.com" ]
zequnfeng@gmail.com
7df058d88c766a9b978227fca727c0f1587d9861
2e1322f72f730fdb019c25eb533424bfb411c7dc
/backend/garpix_page/contexts/default.py
635931bdc671efeb46a46e470ae8ab5dc4d06058
[ "MIT" ]
permissive
tempuku/garpix_page
750d3ef78e1698d93564ae510a9514dfb815853f
d24fa3d8c7b0b4134e66795965596f3cdb61c8db
refs/heads/master
2023-03-17T03:33:07.528207
2021-03-11T15:15:13
2021-03-11T15:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
def context(request, *args, **kwargs): return {}
[ "crusat@yandex.ru" ]
crusat@yandex.ru
95f90ed48904d30f93ba5e9307af06e67327876f
0d39012599f8bf1a43af0cdc9fc6ec0127f69e89
/mini_url/urls.py
98e42ab572d830fdb785098bbd55c71fc9688a12
[]
no_license
Seifeddine-Selmi/django-tuto
0a815fef93367247d508361bf7e8047a9eb5a1c2
3054cc5e4ebeddedb9e80eb89d0fc36827ba9f2e
refs/heads/master
2021-01-14T08:35:48.288865
2017-02-21T17:35:57
2017-02-21T17:35:57
81,965,227
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
#-*- coding: utf-8 -*- from django.conf.urls import url from . import views urlpatterns = [ # Une string vide indique la racine #url(r'^$', views.url_list, name='url_list'), #url(r'^new_url$', views.new_url, name='url_create'), # (?P<code>\w{6}) capturera 6 caractères alphanumériques. url(r'^(?P<c...
[ "selmi.seifeddine19@gmail.com" ]
selmi.seifeddine19@gmail.com
d3341770a701c50c59469677b0108cffaf063137
b6f892264a425278e84a01d12abb0e0082bddb1d
/orders/views.py
ad43e233d08f7352ea3703b89514611153bd17ae
[]
no_license
omar-bendary/Bookstore
5059e264acc16389930cd640773171819fc8853c
714630213bd29fd82ba9b4cf89089ca346c705be
refs/heads/master
2022-12-31T18:14:49.860836
2020-10-25T23:39:17
2020-10-25T23:39:17
294,221,964
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
import stripe from django.views.generic.base import TemplateView from django.conf import settings from django.shortcuts import render stripe.api_key = settings.STRIPE_TEST_SECRET_KEY class OrdersPageView(TemplateView): template_name = 'orders/purchase.html' def get_context_data(self, **kwargs): c...
[ "omarbendary@Omars-MacBook-Pro.local" ]
omarbendary@Omars-MacBook-Pro.local
97381c7e465346939150233934c4f52ea147926a
1c6c127b7f22ad7c19b2cc0f265973711d6e3e01
/bus/migrations/0002_auto_20200227_1737.py
917f3db6cdb94721f19e9baa1456db73cb3805ac
[]
no_license
ramsheedrd/BusRoute
1e0e7f94653c5fe6c6318dfe8079ed6b8f1b4c51
bd61d37d16171777a28797195ff387b3fee57cde
refs/heads/master
2022-04-16T09:44:07.774609
2020-04-05T12:31:21
2020-04-05T12:31:21
253,231,771
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
# Generated by Django 2.0.3 on 2020-02-27 12:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('bus', '0001_initial'), ] operations = [ migrations.CreateModel( name='DistrictModel', ...
[ "ramsheedkc10@gmail.com" ]
ramsheedkc10@gmail.com
e1c496b08d51cf84a89f1bf972424ec6ed19e4fc
371ec3b00088f54ef703899048c308ff81e7b78b
/python基础-06/08-数据读取.py
dbcbfe52ce9a33bd2e44bebd13cb963de1b41121
[]
no_license
zhangninggit/pythonjichu
d1fd428688d05e1f34f565e0bfd530d33f65e7cb
954c935dfcdc8674d488cfa599934bf2e2be79c2
refs/heads/master
2020-04-04T05:19:36.417438
2018-11-02T05:16:43
2018-11-02T05:16:43
155,733,621
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
f = open("xxx.txt","r") co = f.read() print(co) f.close()
[ "zhangning2017@163.com" ]
zhangning2017@163.com
e7a491c97fbec62daeb6c02fbf47d0ade5a13322
9fb90dc8be1b88b3904d863880b35041724cca9b
/src/contrib/multiply.py
9dd28fdcdda22d67a8f009e52922d83804726d55
[ "Apache-2.0" ]
permissive
pombredanne/hub-1
3bf6ea03b11b5c61185ba06b5a58eb203a3d95f3
ba52c85c1cd2974bd4199bf51ce0678c5eff44e1
refs/heads/master
2020-12-14T06:17:03.443350
2013-04-10T20:40:35
2013-04-10T20:40:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
#!/usr/bin/env python from api import task @task def multiply(arg1, arg2): return arg1 * arg2
[ "kris@automationlogic.com" ]
kris@automationlogic.com
ad9a3b50ae05c454484d9697933ee5e00f730b4a
5dd7c4ec44b76180040badc67849ad44f81690f9
/unittests/test_stockitem.py
751eb41a7c209613f1a6e803ac526f15a85a3c77
[]
no_license
myluco/Phoenix
68f9abe15a673fe56da6ef4375849ba6a642622d
2de746beda35b8b5db547658cae1c65cfe164039
refs/heads/master
2021-01-18T15:59:05.001240
2016-12-04T00:08:36
2016-12-04T00:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
import unittest from unittests import wtc import wx #--------------------------------------------------------------------------- class stockitem_Tests(wtc.WidgetTestCase): # TODO: Remove this test and add real ones. def test_stockitem1(self): self.fail("Unit tests for stockitem not implemented yet.")...
[ "robin@alldunn.com" ]
robin@alldunn.com
95e2a602cdea202da5cba6e81d040adac387cb68
ea3048858939a8162f82a1d0b0ec43171530ea8d
/apps/search/models.py
62ec89db3a73a35a853d885c234a3453ffbb6a68
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kknet/NewsBlur
d229b12c39f7ca3eab1e28922171f87ea37b8df1
fa78b434f980d2814dd05fedb70d9e87259ee998
refs/heads/master
2021-01-17T22:36:29.651729
2016-09-20T20:05:25
2016-09-20T20:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,270
py
import re import time import datetime import pymongo import pyes import redis import celery import mongoengine as mongo from django.conf import settings from django.contrib.auth.models import User from apps.search.tasks import IndexSubscriptionsForSearch from apps.search.tasks import IndexSubscriptionsChunkForSearch fr...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
0f14427239d695935ab94dbda667716278b75906
4b3e7fba33d7f93b229d676df9e2c52307e884a1
/velruse/views/facebook.py
94e927f03518a57de014eca52e63d1dee2722b54
[ "MIT" ]
permissive
stoiczek/velruse
5b5e82e098850a0dc99d1d04f201051178f58769
79f219cfd75423cf16b2c327abec303d0edea547
refs/heads/master
2020-12-25T16:13:48.048229
2011-11-09T11:49:12
2011-11-09T11:49:12
2,372,811
0
0
null
null
null
null
UTF-8
Python
false
false
3,074
py
"""Facebook Authentication Views""" import uuid from urlparse import parse_qs from pyramid.httpexceptions import HTTPFound from simplejson import loads import requests from velruse.exceptions import AuthenticationComplete from velruse.exceptions import AuthenticationDenied from velruse.exceptions import CSRFError fr...
[ "ben@groovie.org" ]
ben@groovie.org
b804ac79cb9db91690da307eee3873b42d5a9662
f4830205e1ee5d2adfa1ed3be62deb89413ca34f
/datastructures/tuples/tuple-sort.py
a499ff8c341a1162819eef519abd7de6e72b8065
[]
no_license
sarathcakurathi/pyscripts
362e53a943fa9ff92bac096dea232fc27eed09d1
93f8680fdb5f5ad9b688dd58fb5263132df770f7
refs/heads/master
2020-07-12T00:25:29.978478
2019-08-27T13:12:43
2019-08-27T13:12:43
204,674,615
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
#!/bin/python # Sort list of tuples using second element in tuple input_list = [(5,6), (4,2,3), (1,4)] input_list.sort(key = lambda x: x[1]) print(input_list)
[ "sarath.c.akurathi@gmail.com" ]
sarath.c.akurathi@gmail.com
ec453b7eab4fe6e2560531b8c90b49e805794a0c
f886045c7c8a3d457cf12f6a6df345ccc23ea2e5
/çalışankayıtokuma.py
934aeee9fc3b477d08c281d969731c34ba66fa9d
[]
no_license
alpkaantanis/alp
3041e9917dfe4536ce1f56497c01fcf605944d4b
137e3501da0a5faaa59d5009ef4aa1c7b152fc01
refs/heads/master
2023-04-22T08:27:04.521559
2021-05-17T19:17:03
2021-05-17T19:17:03
368,295,256
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
def main(): calisan_dosyasi=open('calisanlar.txt','r') isim=calisan_dosyasi.readline() while isim !='': sicil=calisan_dosyasi.readline() bolum=calisan_dosyasi.readline() isim=isim.rstrip('\n') sicil=sicil.rstrip('\n') bolum=bolum.rstrip('\n') print('isim:',isi...
[ "alpkaantanis@gmail.com" ]
alpkaantanis@gmail.com
5c88190ae443b4fec8426fb3e97aa3b52ac51b19
3ac7e1ec8c3551b449e10c43c76e44d285462502
/manage.py
24c38809017765d996b7094cdc22bfd076324a4c
[]
no_license
slayyy/render-manager
612ea2c2e611875df7b453a177401ecfeeb9962d
efbcf6f2b30061bfa14bb22994e0029e73691896
refs/heads/master
2022-05-08T23:45:14.461612
2019-10-27T17:19:52
2019-10-27T17:19:52
215,014,775
0
0
null
2022-04-22T22:33:52
2019-10-14T10:31:53
Python
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "render_manager.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "decobert.a78@gmail.com" ]
decobert.a78@gmail.com
d42a3b73ca399156ab41efeaf04eb9a3c00c8126
c2dc0e59980bb9141bc2459cc37cfeacc0d9bb75
/lumicks/pylake/detail/widefield.py
3d0eacab79adf0090e29ee7c4f35ce26afbbfaf5
[ "Apache-2.0" ]
permissive
spangeni/pylake
fc5c69548aaa2f037f2f636dc6a5fb2ea0989132
7764928020264571aa7a0d8c5c9c0cb5d225377f
refs/heads/master
2023-06-16T04:57:40.324040
2021-07-05T16:51:54
2021-07-05T18:48:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,705
py
import numpy as np import re import json import cv2 import tifffile import warnings from copy import copy class TiffFrame: """Thin wrapper around a TIFF frame stack. For camera videos timestamps are stored in the DateTime tag in the format start:end. Parameters ---------- page : tifffile.tifffile...
[ "61475504+rpauszek@users.noreply.github.com" ]
61475504+rpauszek@users.noreply.github.com
2965132d2280007b2cb37deb496ec32835affabc
e510582d3c00442f80d2872d369e16032c7b629f
/5-19(Reward).py
239dc412ef824052d486754549f01e08426d1b78
[]
no_license
JangJur/Python-Practice
044885b5c50d4fe9a4a7b2c05326bef2faa4bba2
3adda0f4a6bc6f730fbb89baa22ad3d8f706dde3
refs/heads/master
2020-04-26T12:38:26.640557
2019-03-07T07:11:58
2019-03-07T07:11:58
173,434,556
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
p_year = 1988 r_year = 2016 b_money = 50000000 a_money = 1100000000 rate = 0.12 i = 1 while i <= (r_year - p_year): b_money *= (1 + rate) i += 1 if b_money > a_money: print("%d원 차이로 동일 아저씨의 말씀이 맞습니다." % (b_money - a_money)) elif b_money < a_money: print("%d원 차이로 미란 아주머니의 말씀이 맞습니다." % (a_money - b_mone...
[ "wkdwndud753@naver.com" ]
wkdwndud753@naver.com
58596698f6381143d4fb47cfddea1dde38e4dc79
d0f28dccc15804d4426bdb79c964fbc69206ec21
/utils/pandas_test.py
72e02ae50ce149d0dcce7a1e69b42df9f99ac909
[]
no_license
INKWWW/python_project
f4170b435a2d08fa931c1ebff4b45bfa172181a6
0e4647d09ec4a7a5ea4d14863c2628402b3830d4
refs/heads/master
2020-04-02T08:29:54.970819
2019-04-13T07:52:54
2019-04-13T07:52:54
154,247,147
5
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
#!/usr/bin/env python # -*- coding: utf-8 -*- '''pandas practice''' import pdb import pandas as pd import numpy as np from sklearn.preprocessing import OneHotEncoder from sklearn.preprocessing import LabelEncoder # s = pd.Series(list('abca')) # print(s) # print(pd.get_dummies(s)) # pdb.set_trace() df = pd.DataFrame...
[ "whmink@foxmail.com" ]
whmink@foxmail.com
2534efd7cf1a472d4c24db7e37fb628ef53a3a0f
9adda6cef38c05c0d6bc4f5d0be25e75500f3406
/ques 2 sol.py
00f2329450eb86ff204e44c7f8653fbee1abdcff
[]
no_license
GLAU-TND/python-programming-assignment4-upadhyay8844
09255dd1ef340f7af3ee57e4eee3c671c010d5c4
bc5c31d40f03cceebb2c842bdd933e0e73a998a1
refs/heads/master
2021-05-19T05:26:14.857261
2020-04-01T11:43:27
2020-04-01T11:43:27
251,547,215
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
def is_dict(var): return str(type(var)) == "<class 'dict'>" def flatten_helper(d, flat_d, path): if not is_dict(d): flat_d[path] = d return for key in d: new_keypath = "{}.{}".format(path, key) if path else key flatten_helper(d[key], flat_d, new_keypath) de...
[ "noreply@github.com" ]
GLAU-TND.noreply@github.com
6c10278bce7d441831f59503418233abcba5dee8
17c14b758959cdceec0dce8f783346fdeee8e111
/chap05_nlp/automl/train.py
bca8b1fd41ce03b243523430bdc8d09621f7daa4
[]
no_license
yurimkoo/tensormsa_jupyter
b0a340119339936d347d12fbd88fb017599a0029
0e75784114ec6dc8ee7eff8094aef9cf37131a5c
refs/heads/master
2021-07-18T12:22:31.396433
2017-10-25T01:42:24
2017-10-25T01:42:24
109,469,220
1
0
null
2017-11-04T05:20:15
2017-11-04T05:20:15
null
UTF-8
Python
false
false
3,650
py
""" Utility used by the Network class to actually train. Based on: https://github.com/fchollet/keras/blob/master/examples/mnist_mlp.py """ from keras.datasets import mnist, cifar10 from keras.models import Sequential from keras.layers import Dense, Dropout from keras.utils.np_utils import to_categorical from keras....
[ "tmddno1@naver.com" ]
tmddno1@naver.com
71e6161a0479a61818760f02db11ace705c0070d
cdf9cad13361d7cb2306dd5ed1adfad227c5a5aa
/services_infrastructure/data-provider/app/extensions/logger.py
c1bbc11ce335878a3909fcbb1eaf849fdf209be6
[]
no_license
MDUYN/reference-architecture-consent-management-in-data-spaces
ab32ec810ba429918f9125d66f323dc4ff5bdad0
6d8f0fd733c88954f7ce9694c2574882d39eb48c
refs/heads/main
2023-01-21T12:32:16.519723
2020-12-02T16:47:32
2020-12-02T16:47:32
315,774,537
1
0
null
null
null
null
UTF-8
Python
false
false
939
py
import logging.config def setup_logging(): logging_config = { 'version': 1, 'disable_existing_loggers': True, 'formatters': { 'standard': { 'format': '%(asctime)s [%(levelname)s] %(name)s: %(message)s' }, }, 'handlers': { ...
[ "marcvanduyn1@gmail.com" ]
marcvanduyn1@gmail.com
1d0f92dbe95dbd0d77497c536f85a8ee3cac119f
7504e3c8400986b8d72227a9ae6d084a2eb9de09
/acs/cli.py
a8ed40bfa7fe927c66f9bba4e722cfba7b0100ea
[ "Apache-2.0" ]
permissive
keikhara/acs-cli
848b288e009591650e726fb7784e3acff5d0fc49
b0d53679f7642c655bfb84ea3e7918b16af7dc25
refs/heads/master
2020-12-11T07:18:57.236131
2016-07-26T05:59:26
2016-07-26T05:59:26
65,325,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
""" acs Usage: acs [--config-file=<file>] [--version] [--help] <command> [<args>...] Options: -h --help Show this help. Commands: service Create and manage Azure Container Service docker Send docker commands to the cluster afs Add the Azure Files Docker volume drive...
[ "ross@gardler.org" ]
ross@gardler.org
3bad8e294dbb199e5e40870811281cceb64d295c
cd1465251c5b4536f8d0c634c0efaff4d628c87c
/Semantic_Analysers/ColourAnalyser.py
cfea4b8096683c0c4cb9bfcef3f1d8532d6f9037
[]
no_license
BennyMurray/Scoop
9794bca1d1d4b159e041a8c482a256de852a9e6d
01f9c31affbb291a5507d86ab88a637a2dafea28
refs/heads/master
2021-03-27T18:54:21.094647
2017-07-16T21:25:24
2017-07-16T21:25:24
77,929,600
2
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
from __future__ import division def analyseColour(word_list): num_set = [0.33, 1.68, 2.2, 2.36, 2.87, 0.29, 0.27, 2.94, 0.81, 0.22, 2.59, 1.06] colour_value_list = [ (1, ["pale"], num_set[0]), (3, ["straw"], num_set[1]), (4, ["yellow"], num_set[2]), (5, ["gold"], num_set[3]...
[ "bjamurray@gmail.com" ]
bjamurray@gmail.com