blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
fb8592e0e861914b0b99b4c905db34c43e5a08c8
e87d0cee1ce41124a808000850d4af5c7cd04f08
/mark/装饰器/sort改进.py
dea985ce7ebbc0745adb39f2a0de44548fd40082
[]
no_license
thinkingjxj/Python
0e8e5f60874c23a30aa8f54412fcf63c453f412a
9e92717b7871083c833612d220d1991d8d906275
refs/heads/master
2021-07-05T23:09:03.610678
2018-12-07T03:39:50
2018-12-07T03:39:50
148,290,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,176
py
lst = [4, 1, 6, 8, 3, 9, 5] def sort(iterable, reverse=False): new = [] for x in iterable: for i, y in enumerate(new): flag = x > y if reverse else x < y if flag: new.insert(i, x) break else: new.append(x) return new prin...
[ "thinkingjxj@users.noreply.github.com" ]
thinkingjxj@users.noreply.github.com
93721cd2e823ee88f70a194edd43ef814f82160b
ee0c8cc7b86d4dc41469aae59e3632102fedfdb1
/mysite/blog/forms.py
a59512aba992f8bfe4189065a04edc6bc5ede81e
[]
no_license
Hamza-abughazaleh/blog-django
1a177aa00d86a34cc49c6ee39f2b068d291a4f12
3a4b43b58beb25054e5798f219d7175629009138
refs/heads/master
2021-07-20T07:00:37.651344
2017-10-25T12:15:58
2017-10-25T12:15:58
108,093,782
0
0
null
2017-10-25T12:19:14
2017-10-24T07:44:17
Python
UTF-8
Python
false
false
690
py
from django import forms from blog.models import Post,Comment class PostForm(forms.ModelForm): class Meta(): model = Post fields = ('author','title','text') widgets = { 'title' : forms.TextInput(attrs={'class':'textinputclass'}), 'text' : forms.Textarea(attrs={'cla...
[ "hamzaabughazaleh23@gmail.com" ]
hamzaabughazaleh23@gmail.com
5d6d354b1359f8d7e8a575a73c06cc26fcfff920
72316a1d1a2e0358486d50aeecbac8219ccdf092
/ietf/utils/aliases.py
edfce0b067795e18127bc2f6ebe1df4accdbbe5b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
algby/ietfdb
363541941bd6e806bed70891bed4c7f47c9f0539
9ff37e43abbecac873c0362b088a6d9c16f6eed2
refs/heads/master
2021-01-16T18:57:50.100055
2014-09-29T21:16:55
2014-09-29T21:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,162
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- Python -*- # # $Id: aliasutil.py $ # # Author: Markus Stenberg <mstenber@cisco.com> # """ Mailing list alias dumping utilities """ from django.conf import settings def rewrite_email_address(email): """ Prettify the email address (and if it's empty, skip it by ...
[ "henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0" ]
henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0
cd3f496c90a66b66218d79e1422aaae354538abc
52e53ee23573b1a50f892089d7418a16bf496422
/ARCADE/airborne/components/interfaces/gps_monitor/gps_monitor
1d899d880a1f89d5d0309d809130b1b1c0cad8e9
[]
no_license
jalishah/airborne
584bbf4a51f6a087a4295991c79702343f364af7
c374b775c608de9bf8f7152aa2c79bc9e1ecec6e
refs/heads/master
2020-04-11T08:03:16.624788
2013-09-17T12:04:47
2013-09-17T12:04:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
#!/usr/bin/env python import sys from gps_data_pb2 import GpsData from scl import generate_map socket = generate_map('gps_test')['gps'] gps_data = GpsData() print 'waiting for gps data' try: while True: str = socket.recv() gps_data.ParseFromString(str) print gps_data except: print 'terminated...
[ "tobias.simon@tu-ilmenau.de" ]
tobias.simon@tu-ilmenau.de
33fdc1a60605a67f79190f363ea143e287eb099a
29a18e048de426ed5cbea063774958680a24d3c8
/acm.py
93aeed49bd2f6a215057bc22d42ab02f60a427ba
[]
no_license
liliahache/kattis
de5d8e3482f6f8691354aa3fa2dc7fb9366b5d54
cd4fb965cbad498ac85c07987aad0db3479e31c4
refs/heads/master
2022-02-01T01:44:52.596099
2018-12-17T23:27:22
2018-12-17T23:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import sys problems = dict() for line in map(str.strip, sys.stdin): if line != '-1': time, letter, result = line.split() if letter not in problems: problems[letter] = {'solved':False, 'time':0} if result == 'wrong' and not problems[letter]['solved']: problems[lett...
[ "pedrotari7@gmail.com" ]
pedrotari7@gmail.com
165419196495735d51fb2e3270b93287e7c575b2
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/eyach.py
075cca99426edd9c899b9e90af8fc1b82212d3fa
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
"""Dataset with 'Eyach virus' sequences. A dataset with 24 'Eyach virus' sequences. The virus is segmented and has 12 segments. Based on their strain and/or isolate, these sequences were able to be grouped into 2 genomes. Many genomes may have fewer than 12 segments. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGR...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
effb18385de7cb5028c07a7bc626515f7186276c
1bf9f6b0ef85b6ccad8cb029703f89039f74cedc
/src/dnc/azext_dnc/manual/tests/latest/preparers.py
53aa6614e7eb6af55ac6829dfef768e3bd1fbe08
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
VSChina/azure-cli-extensions
a1f4bf2ea4dc1b507618617e299263ad45213add
10b7bfef62cb080c74b1d59aadc4286bd9406841
refs/heads/master
2022-11-14T03:40:26.009692
2022-11-09T01:09:53
2022-11-09T01:09:53
199,810,654
4
2
MIT
2020-07-13T05:51:27
2019-07-31T08:10:50
Python
UTF-8
Python
false
false
4,962
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
[ "noreply@github.com" ]
VSChina.noreply@github.com
d21e8fa14b9a62887e0214c8d267414541c86784
cafa52c05f020af31985cfd1b8e2c676ea6e3baa
/lib/Chipseq/croo.py
8bd340dd55c88a7b03738de398e054961eebce23
[ "Apache-2.0" ]
permissive
shengqh/ngsperl
cd83cb158392bd809de5cbbeacbcfec2c6592cf6
9e418f5c4acff6de6f1f5e0f6eac7ead71661dc1
refs/heads/master
2023-07-10T22:51:46.530101
2023-06-30T14:53:50
2023-06-30T14:53:50
13,927,559
10
9
Apache-2.0
2018-09-07T15:52:27
2013-10-28T14:07:29
Perl
UTF-8
Python
false
false
2,231
py
import argparse import glob import logging import os DEBUG=False NotDEBUG=not DEBUG parser = argparse.ArgumentParser(description="Perform croo to retrive wdl result.", formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('-i', '--input', action='st...
[ "shengqh@gmail.com" ]
shengqh@gmail.com
2df691e03048b0c0af2533b7324898f4e1754d64
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03804/s751492495.py
cb9208249e76e540c4b8a33202d935417cb92369
[]
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
309
py
n, m = map(int,input().split()) a = [input() for _ in range(n)] b = [input() for _ in range(m)] for i in range(n - m + 1): for j in range(n - m + 1): for k in range(m): #print(a[i+k][j:j+m], b[k]) if a[i+k][j:j+m] != b[k]: break else: print('Yes') exit() print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
82ba3fd7d3c8dcd9a1e0351bd94c388c06d779c4
876b629258e3752c7986807c48e7cf82c93832f0
/python/mltraining/linear_regression/exponential_regression.py
88c36dd208b692e775136988164f26600818f2d3
[ "MIT" ]
permissive
imjoseangel/100-days-of-code
45f736b0e529f504926faded6b3a18bc05719698
bff90569033e2b02a56e893bd45727125962aeb3
refs/heads/devel
2022-05-02T16:10:59.273585
2022-03-20T12:19:05
2022-03-20T12:19:05
174,882,423
3
4
MIT
2022-03-20T12:19:06
2019-03-10T21:20:43
HTML
UTF-8
Python
false
false
623
py
import matplotlib.pyplot as plt import seaborn as sns import numpy as np from sklearn.datasets import make_regression from sklearn.model_selection import train_test_split # Create a data set for analysis x, y = make_regression(n_samples=500, n_features=1, noise=25, random_state=0) y = np.exp((y + abs(y.min())) / 75) ...
[ "noreply@github.com" ]
imjoseangel.noreply@github.com
75ecc7d1b2fa59f883577bd379697ee9b13b6bd6
ce07ccf78739a768971f393222fdca4a56315241
/employee_management/employee_management/report/wallet_transaction_vivek_report/wallet_transaction_vivek_report.py
f1b2c22ab35a29b5703d75b0d2bdc844066d6ca5
[ "MIT" ]
permissive
Gdinesh03/Frappe
563e0ddbe925be536f65f925787ed321a6098c0d
efd2d1568b6f5b8a4e0ff31e06a415c717a3d32a
refs/heads/master
2023-08-27T19:24:12.024442
2021-09-14T07:04:27
2021-09-14T07:04:27
406,260,373
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# Copyright (c) 2013, Gopi and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(filters=None): columns, data = [], [] if not filters: filters={} columns=get_columns() data=customer_report(filters) return columns, data, None, def get...
[ "vivekananthan112599@gmail.com" ]
vivekananthan112599@gmail.com
8c853fb9a3d4490455aa94d70d2632b9b7e9f71e
536538af28cfe40e10ff1ce469cd0f81e8b3a8fe
/populating_next_right_pointers_in_each_node_II.py
4c6ade6a23ab25051cb6f92917848860ec9d358b
[]
no_license
ShunKaiZhang/LeetCode
7e10bb4927ba8581a3a7dec39171eb821c258c34
ede2a2e19f27ef4adf6e57d6692216b8990cf62b
refs/heads/master
2021-09-01T07:41:03.255469
2017-12-25T19:22:18
2017-12-25T19:22:18
104,136,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
# python3 # Follow up for problem "Populating Next Right Pointers in Each Node". # What if the given tree could be any binary tree? Would your previous solution still work? # Note: # You may only use constant extra space. # For example, # Given the following binary tree, # 1 # / \ # ...
[ "noreply@github.com" ]
ShunKaiZhang.noreply@github.com
7a190e07ebcd6540f99582f00f9779afe5ab9716
ca308829e5e43619a736e98b00ae0297f57e3d5c
/tests/_rooster_tests.py
f6c83d3f756ce7c38854d20e10a9049a43066473
[ "MIT", "BSD-2-Clause" ]
permissive
aa1830/snipe
b4a151cf308004ca31243355a51457ba440360b9
5193ed31b43dc1b6eb5913966b8a7f0b1483642d
refs/heads/master
2020-06-28T01:33:08.758403
2018-04-27T20:14:31
2018-04-27T20:14:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
#!/usr/bin/python3 # -*- encoding: utf-8 -*- # Copyright © 2017 the Snipe contributors # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above...
[ "kcr@1ts.org" ]
kcr@1ts.org
b4e34535beb155e2f12a9bd88cb18922c343dae4
0c1d6b8dff8bedfffa8703015949b6ca6cc83f86
/lib/worklists/operator/CT/v3.0/business/ADSL_2LAN/IPTV_Enable/script.py
239d0f5d606aae2a2351a300200d9ef17e72cb09
[]
no_license
samwei8/TR069
6b87252bd53f23c37186c9433ce4d79507b8c7dd
7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c
refs/heads/master
2021-06-21T11:07:47.345271
2017-08-08T07:14:55
2017-08-08T07:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,245
py
#coding:utf-8 # -----------------------------rpc -------------------------- import os import sys #debug DEBUG_UNIT = False if (DEBUG_UNIT): g_prj_dir = os.path.dirname(__file__) parent1 = os.path.dirname(g_prj_dir) parent2 = os.path.dirname(parent1) parent3 = os.path.dirname(parent2) parent4 = os...
[ "zhaojunhhu@gmail.com" ]
zhaojunhhu@gmail.com
1ed500d2092c41452a46ad59d7b79b34563f3689
72a9d5019a6cc57849463fc315eeb0f70292eac8
/Python-Programming/1- Data_Type/Data_type.py
dbd356e19b44c537485ec8d44ca7bc376d8d3e93
[]
no_license
lydiawawa/Machine-Learning
393ce0713d3fd765c8aa996a1efc9f1290b7ecf1
57389cfa03a3fc80dc30a18091629348f0e17a33
refs/heads/master
2020-03-24T07:53:53.466875
2018-07-22T23:01:42
2018-07-22T23:01:42
142,578,611
1
0
null
2018-07-27T13:08:47
2018-07-27T13:08:47
null
UTF-8
Python
false
false
2,269
py
# %%%%%%%%%%%%% Python %%%%%%%%%%%%%%%%%%%%%%%%%%% # %%%%%%%%%%%%% Authors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Dr. Martin Hagan----->Email: mhagan@okstate.edu # Dr. Amir Jafari------>Email: amir.h.jafari@okstate.edu # %%%%%%%%%%%%% Date: # V1 Jan - 01 - 2017 # V2 Sep - 29 - 2017 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
[ "amir.h.jafari@okstate.edu" ]
amir.h.jafari@okstate.edu
864b47b461ce61716749f79288c2a38ef0d853c7
10b5d73b4d53a15134fff6560156e5195963a25d
/tests/test_plan.py
09726946b398601a6f4a9972341cc496513d28e4
[]
no_license
tonyguesswho/Licencing-System
d7bb859016f59908f55a2443d8ee62b40756c7f1
27c80d29fcdb3b627df33370257b4362607345e8
refs/heads/master
2020-07-04T07:16:00.320238
2019-08-13T18:15:43
2019-08-13T21:47:34
202,199,970
0
0
null
null
null
null
UTF-8
Python
false
false
2,245
py
import unittest from plan import Plan from user import User from subscription import Subscription from app import single_plan, plus_plan from utils.db import database class PlanTest(unittest.TestCase): def setUp(self): self.user = User('Tony', 'Tony@test.com', 'password') self.plan = single_plan ...
[ "anthonyugwu234@gmail.com" ]
anthonyugwu234@gmail.com
d342a41c63df6d4cf2b8f0660392d08df7cea5d1
e7b98d027990b23a522b4811afc79251de5b28b0
/course/w21/2/Ins_Logistic_Regression.py
a16e23d0d7e7deb92ae77f4a5de4a07fd9c71eae
[]
no_license
eufmike/wu_data_bootcamp_code
122594eeb935d10bfdba1dfbc06d5df711328378
b90cc3f10d3fb256a8089609e6182465a01f7f20
refs/heads/master
2021-06-30T12:43:19.047349
2019-04-12T22:01:50
2019-04-12T22:01:50
141,653,570
0
1
null
null
null
null
UTF-8
Python
false
false
2,038
py
#%% [markdown] # # Logistic Regression # # Logistic Regression is a statistical method for predicting binary outcomes from data. # # Examples of this are "yes" vs "no" or "young" vs "old". # # These are categories that translate to probability of being a 0 or a 1 #%% [markdown] # We can calculate logistic regressi...
[ "sc2.shih@gmail.com" ]
sc2.shih@gmail.com
51f16a499c64119c9437564c782451e1ed56a5ae
c4576ed34ad1d9066c6d8dcf9e017ec345f23114
/locallibrary/catalog/migrations/0002_auto_20200117_0649.py
b7c785200143752993586b377dd263b39d7cc473
[]
no_license
aspiringguru/mdnDjangoLibraryDemo
14151d19bfc1240700e2f5b3613974df6b21174b
506038fd64719e5a4a9d174e76af4704e01b380a
refs/heads/master
2020-12-12T22:12:49.601036
2020-01-17T21:43:51
2020-01-17T21:43:51
234,243,169
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
# Generated by Django 2.2.9 on 2020-01-17 06:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('catalog', '0001_initial'), ] operations = [ migrations.CreateModel( name='Language', ...
[ "bmatthewtaylor@gmail.com" ]
bmatthewtaylor@gmail.com
c5d90ac5caf10f631f312dbb6d133c8e922e3634
1cacd866b16cef08a0f369ef0e8caba816291a22
/quick_draw/models/simple_cnn/train.py
3726e2c09c459833d120e333ef6dd2199d81d31c
[]
no_license
apls777/kaggle-quickdraw
e0b9882b30e23711d9fd46699bacdb63afd2673c
982e0af783fc419c04bd12623757b76505bc7491
refs/heads/master
2020-04-10T13:39:56.474975
2018-12-09T15:59:51
2018-12-09T15:59:51
161,056,564
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from quick_draw.models.estimator import train if __name__ == '__main__': train('simple_cnn')
[ "apls777@gmail.com" ]
apls777@gmail.com
6dd18905cfda9e7744fbd346162d19b5c89f6784
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/Google/Drive/Revisions/List.py
f6fef1063fba4694f614cfb1c7d5cdbaa004f587
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
4,623
py
# -*- coding: utf-8 -*- ############################################################################### # # List # Lists a file's revisions. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compli...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com
e74a7f17a1f66d420fd2ded7b814e718433aa36a
a0c10f7e4bd5bed78915722cf1540d01ea05e3d0
/coreapp/models.py
726b73d5b1c76f2f11a6e7b2f4eb2b1a462d08d1
[]
no_license
jod35/MyMDB
54b4f162124350902eb8811aa313181f68085715
df3bde5753356963ad653a721897a5a04e571ed1
refs/heads/master
2020-12-12T23:36:32.363098
2020-01-16T08:14:26
2020-01-16T08:14:26
234,258,304
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
from django.db import models class Movie(models.Model): NOT_RATED=0 RATED_G=1 RATED_PG=2 RATED_R=3 RATINGS=( (NOT_RATED,'NR - Not Rated'), (RATED_G,'G - General Audience'), (RATED_PG,'PG - Parental Guidance'), (NOT_RATED,'R - Restricted'), ) title=mode...
[ "jodestrevin@gmail.com" ]
jodestrevin@gmail.com
34789906fdcd412187d4169895f0e6ad0c4645ff
72bc5502cd7c991075646cae98769fefd5702d50
/protogen/stalk_proto/reporter_pb2.pyi
5cb08a5094c9073f54472f057820b49a9f894ac1
[ "MIT" ]
permissive
peake100/stalkbroker-py
c9a337dcfe088b807b8fffc182e45b31486e2635
95bed6e6d89dc00b183b71d5d3fce7908c554ed9
refs/heads/master
2022-12-10T15:19:22.557382
2020-08-15T00:13:36
2020-08-15T00:13:36
256,074,008
0
0
MIT
2020-05-31T18:18:29
2020-04-16T01:03:23
Python
UTF-8
Python
false
false
156
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.message import Message as google___protobuf___message___Message
[ "b.peake@illuscio.com" ]
b.peake@illuscio.com
1f7154dd1ecd25675b63ec9c863c145945649d93
0581988cad7e0ea62a638d551548e409af1e5dc1
/20200523/TCP_Chat_Room_Windows_UI/Server/ui_server.py
29b4f4beb74d4ae71acc85653073cbc794f2590f
[]
no_license
Aimee888/python-20200513
7c1dff7d7f0fdea08e12735efeb2e889fedeee10
578c388be5582dc7f1556f95168adf0399b7ea1f
refs/heads/master
2023-01-06T10:21:35.014780
2020-11-03T01:07:04
2020-11-03T01:07:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_server.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Main...
[ "961745931@qq.com" ]
961745931@qq.com
6557b4ad2373d14ba3d8ab0ed709e25a1b24e9c1
e309516495825212ca7dbecaac426c9357116554
/dpipe/medim/registration.py
5cbd78675984aaf79e7c044043380077e5c7d213
[ "MIT" ]
permissive
samokhinv/deep_pipe
547731e174a6f08be71a4c59ccef59c46960d8c8
9461b02f5f32c3e9f24490619ebccf417979cffc
refs/heads/master
2022-11-30T03:58:29.955375
2020-08-12T08:05:13
2020-08-12T08:05:13
286,951,953
0
0
MIT
2020-08-12T07:53:04
2020-08-12T07:53:03
null
UTF-8
Python
false
false
1,487
py
from os.path import join as jp import tempfile import numpy as np import nibabel as nib from nipype.interfaces.ants import RegistrationSynQuick def register_images(moving: np.ndarray, fixed: np.ndarray, transform_type: str = 'a', n_threads: int = 1) -> np.ndarray: """ Apply RegistrationSynQuick to the input ...
[ "maxs987@gmail.com" ]
maxs987@gmail.com
7951b499b65677e48fd1f73f9eb7ca4a6279aee6
13d3a44447f6a7d8b0d61c2fb445fa6aa76c2f95
/stackdio/core/notifications/registry.py
5c214313868f3ac2dd0bd6d0bd3121e7bda326b4
[ "Apache-2.0" ]
permissive
stackdio/stackdio
6ba4ad6c2ef10a323cbd955e6d6d5bd7917c17c2
84be621705031d147e104369399b872d5093ef64
refs/heads/master
2021-04-09T16:36:38.220557
2018-08-13T18:25:29
2018-08-13T18:25:29
17,679,603
9
11
Apache-2.0
2020-03-19T17:21:45
2014-03-12T19:02:06
Python
UTF-8
Python
false
false
4,871
py
# -*- coding: utf-8 -*- # Copyright 2017, Digital Reasoning # # 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 applica...
[ "clark.perkins@digitalreasoning.com" ]
clark.perkins@digitalreasoning.com
aea5fc9607f3f9b87efbf7cf19f4f67fee7529db
09db6c4ff70cca176f2fbc667e66266a31fa440e
/apps/projects/admin.py
b3fd575fb9582b782634ff4b82e90089d68cf6a2
[ "MIT" ]
permissive
myhumankit/mytimetracker
e99c006edb06d5b10ce908049ded5bb8d3ffa55c
b9bdf5af2e7f85758d43f37b36c10884f0412d43
refs/heads/master
2023-04-29T23:50:27.606367
2019-11-19T14:51:57
2019-11-19T14:51:57
209,867,791
0
0
MIT
2023-04-21T20:38:20
2019-09-20T19:37:41
Python
UTF-8
Python
false
false
4,008
py
from django.contrib import admin from mptt.admin import DraggableMPTTAdmin from simple_history.admin import SimpleHistoryAdmin from projects.models import Location, Project, Activity, Leave, Resource, Capacity class LocationAdmin(SimpleHistoryAdmin): list_display = ("title", "comment", "id") class LeaveAdmin(Si...
[ "julien@lebunetel.com" ]
julien@lebunetel.com
db6c1fcc7c2e9399cbd6deaa8ee2d112b0cb898c
15afc6a3270d9b42cc84a788853ce46456be01f2
/section_ii/project_b/example/example_15/mpl_squares.py
45bc81e546238abb1e2d8a87e45e48bd12383f85
[]
no_license
xieqing0428/python_helloworld
161c90564638dc49e3a82a00607a762b36a39212
e08f63616aabe609ff1ac53b8e0ab32eaf2a472b
refs/heads/master
2020-04-16T11:01:37.918248
2019-02-14T07:19:09
2019-02-14T07:19:09
165,521,440
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# -*- coding:utf-8 -*- """ @author: Alessa0 @file: example_15.py @time: 2019-01-22 20:48 """ import matplotlib.pyplot as plt input_values = [1, 2, 3, 4, 5] squares = [1, 4, 9, 16, 25] plt.plot(input_values, squares, linewidth=5) # 设置图表标题,并给坐标轴加上标签 plt.title("Square Numbers", fontsize=24) plt.xlabel("Value", fontsi...
[ "849565690@qq.com" ]
849565690@qq.com
825bb8d2372f489f9368507af5f591f69517f001
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2378/60668/302915.py
d3fbbd4909e841f89709063f794ddfe1b79c3b81
[]
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
453
py
def tree_17_local(m,n,s,k): if s=="1 2 8": print(8,end='') elif s=="1 2 13": print(32,end='') elif s=="1 2 5": print(15,end='') elif s=="1 3 3": if k=="1 6 1": print(25,end='') else:print(k) else: print(s) if __name__=='__main__': m,n =...
[ "1069583789@qq.com" ]
1069583789@qq.com
920dfa794e9ee8d916bd99629982e8902848ab1c
bbea9b1f64284c9ca95d9f72f35e06aa39522c67
/Scripts/ANN_AllAnalysis_ClimateModels_v4-RandomNoise-TestingDataSets.py
9b15f07bb925579eb322c14b61bba9952efca5af
[ "MIT" ]
permissive
zmlabe/ModelBiasesANN
1e70c150bd8897fa5fb822daf8ffad0ee581c5f1
cece4a4b01ca1950f73c4d23fb379458778c221e
refs/heads/main
2023-05-23T06:05:23.826345
2022-07-22T18:36:27
2022-07-22T18:36:27
339,145,668
7
0
null
null
null
null
UTF-8
Python
false
false
63,029
py
""" ANN for evaluating model biases, differences, and other thresholds using explainable AI (then tests different data) Reference : Barnes et al. [2020, JAMES] Author : Zachary M. Labe Date : 21 June 2021 Version : 4 - subsamples random weight class (#8), but tries different noise """ ### Import packag...
[ "zmlabe@rams.colostate.edu" ]
zmlabe@rams.colostate.edu
ad14adf6d06a381b56dbed4933f77e2d167fe623
b5e8cb4102965199b0c35c995591a0eca1b589f2
/프로그레머스/Level1/두개 뽑아서더하기.py
a8659d10b25ac3e6895e1be22edec8593c79cf61
[]
no_license
smilejakdu/leetcode_with_silva_mento
36af4d8242e700f8f47567c6fdc8eb116c44c0b1
09a2fe53befe3fa3b23eb7f14059b8d897fd53b5
refs/heads/master
2022-12-20T01:11:27.691518
2020-10-04T15:16:31
2020-10-04T15:16:31
283,961,081
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
''':arg 정수 배열 numbers가 주어집니다. numbers에서 서로 다른 인덱스에 있는 두 개의 수를 뽑아 더해서 만들 수 있는 모든 수를 배열에 오름차순으로 담아 return 하도록 solution 함수를 완성해주세요. numbers의 길이는 2 이상 100 이하입니다. numbers의 모든 수는 0 이상 100 이하입니다. numbers result [2,1,3,4,1] [2,3,4,5,6,7] [5,0,2,7] [2,5,7,9,12] ''' # numbers = [2, 1, 3, 4, 1] numbers = [5, 0, 2, 7] def so...
[ "ash982416@gmail.com" ]
ash982416@gmail.com
8eda5ec5410f3fbd05334a9373b1bcbc7f2371f3
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/payloads/payloads/hostname.py
102ad20b04e92b675013d7442960f156788aea8e
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,225
py
import re from w3af.plugins.attack.payloads.base_payload import Payload from w3af.core.ui.console.tables import table class hostname(Payload): """ This payload shows the server hostname """ def api_read(self): result = {} result['hostname'] = [] values = [] values.app...
[ "everping@outlook.com" ]
everping@outlook.com
9ac0f02a82eef6628f4229af2b726135e8012d50
60b48df762a515a734cfbedd7ca101df43f04824
/python/ray/data/impl/pipeline_executor.py
8fdaed897bb30c088d238f2afa41bdc8ad830696
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
LuBingtan/ray
a02b13c4dceab2b0d54870fd3abae5c11bae916e
298742d7241681ee1f307ec0dd3cd7e9713a3c7d
refs/heads/master
2023-03-05T16:32:35.596725
2022-06-05T23:21:53
2022-06-05T23:21:53
223,334,544
0
1
Apache-2.0
2023-03-04T08:56:53
2019-11-22T06:01:51
Python
UTF-8
Python
false
false
5,793
py
from typing import Any, Callable, List, Optional, TYPE_CHECKING import time import concurrent.futures import logging import ray from ray.data.context import DatasetContext from ray.data.dataset import Dataset, T from ray.data.impl.progress_bar import ProgressBar from ray.data.impl import progress_bar logger = logging...
[ "noreply@github.com" ]
LuBingtan.noreply@github.com
2efa37dc9c262a28dbac42705bb7457067a8f29a
40d978aa02335dd0cbab732dc4c8129aaf8590df
/term_sheet_generator_1173/settings.py
8ae02a9064ae45703b98df27ec4632a848e41df7
[]
no_license
crowdbotics-apps/term-sheet-generator-1173
ab35fa1798295c7d8a1ada395cd875bb9a351b99
86c2995f7dfa1bfbe3f1a90e04f1ea23bbca105c
refs/heads/master
2022-12-09T11:05:41.405844
2019-03-03T23:41:55
2019-03-03T23:41:55
173,643,543
0
0
null
2022-12-08T01:42:56
2019-03-03T23:40:17
Python
UTF-8
Python
false
false
4,612
py
""" Django settings for term_sheet_generator_1173 project. Generated by 'django-admin startproject' using Django 1.11.16. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/setti...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
099c4e2af0ac551a0ae579ae294358ef5b0e82a3
2dc8c387de8bf7a6bd7506bd128b9dfa2bc8a3e2
/0x05-python-exceptions/6-main.py~
df03a1652e5a941660b8acdf869fdf3a7c3c3f5a
[]
no_license
yasmineholb/holbertonschool-higher_level_programming
ab57f9aa718ad8ebeb927a49c007e0232b0125e6
ee66c781e9421a0dbf03795707572d9d1183e42e
refs/heads/master
2020-09-28T19:35:52.740417
2020-06-15T09:45:18
2020-06-15T09:45:18
226,847,521
0
0
null
null
null
null
UTF-8
Python
false
false
154
#!/usr/bin/python3 raise_exception_msg = __import__('6-raise_exception_msg').raise_exception_msg try: raise_exception_msg("C is fun") except NameErr
[ "1055@holbertonschool.com" ]
1055@holbertonschool.com
437ef66dc3ac0f7cf2e9efffac97408be8c83276
35109088e79989e8b0ca9d9ddadad1546eebc8e3
/AB/linux2/day20/code/03_mylist.py
1d6725b8fc9f0dfd48f26baa85172076a58f52d0
[]
no_license
ABCmoxun/AA
d0f8e18186325bfd832b26f3b71027d1dc8255b2
c2c4a5b6683555b5d6200730b789d6e655f64c7f
refs/heads/master
2020-03-25T11:11:54.882204
2020-03-03T05:19:07
2020-03-03T05:19:07
143,722,606
1
0
null
null
null
null
UTF-8
Python
false
false
621
py
# 02_mylist.py # 此示例示意复合赋值算术运算符的重载 class MyList: def __init__(self, iterable): self.data = [x for x in iterable] def __repr__(self): return 'MyList(%r)' % self.data def __add__(self, rhs): print("__add__方法被调用") return MyList(self.data + rhs.data) def __iadd__(self, r...
[ "1945568441@qq.com" ]
1945568441@qq.com
4e0edaf1cd36c0f931aac8d2103253e56aa72e17
52b5773617a1b972a905de4d692540d26ff74926
/.history/binary_20200524142534.py
267e8eb35d054308ed642c67fdebaceeb181260e
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
def solution(N): print(N) maximumCount = 0 number = format(9,"b") print("wow",number) s = [str(i) for i in number] binary = int("".join(s)) intialNumber = None lastNumber = None totalCount = 0 print("binary",number) for i in range(len(str(number...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
78ffed87f713d3a8dc3b7f88d12dd15354d53019
11587d450eb274a4684a393bd1073ea7cf6e28bf
/codingtest/week13/sequential_sum.py
b370fa4b7d8f1ec52c12b19dc448e31e15d193df
[]
no_license
Greek-and-Roman-God/Athena
3b45869806ea06812e3d26661b159294fb49593b
73a3a24df9667402258bff038325fd31cca36cf1
refs/heads/main
2023-05-28T23:04:10.760717
2021-06-13T04:39:31
2021-06-13T04:39:31
308,242,740
0
1
null
null
null
null
UTF-8
Python
false
false
433
py
# 소수의 연속합 n=int(input()) temp=[True]*(n+1) end=round(n**0.5)+1 for i in range(2,end): if temp[i]: for j in range(i+i, n+1, i): temp[j]=False prime=[i for i in range(2, n+1) if temp[i]] cnt=0 for i in range(len(prime)): seq_sum=0 idx=i while seq_sum<=n and idx<=len(prime): if seq_sum==n: ...
[ "yelin1106@naver.com" ]
yelin1106@naver.com
721e9268d352f8c85508d0063c8e61cf288831b9
feda93b7c67b60759bbff2ffd7f7bb2b71ed4bde
/convertToBase7.py
07bdb887ce8e9d15534b6541dbd7db599ef03175
[]
no_license
unsortedtosorted/codeChallenges
fcc8d92cc568922f2eb3b492c530e2e93d0e95ab
de8f9e7a7c45e325ac0de43a4e1f711a7c6a0a0c
refs/heads/master
2020-04-04T14:38:43.538723
2019-03-14T03:24:49
2019-03-14T03:24:49
156,006,456
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
""" 7 : 10 7/7 --> div=1, rem=0 14 : 20 14/7 --> div=2, rem=0 100: 202 100/7 --> div=14, rem=2 14/7 --> div=2 , rem=0 151:304 152/7 --> div=22, rem=4 22 --> div=3, rem=2 """ class Solution(object): def convertToBase7(self, num): """ :type num: int :rtype: str """ if...
[ "noreply@github.com" ]
unsortedtosorted.noreply@github.com
8483392f85338b9ab4a9e0aa3e6925ca401d927a
256fbfbc34952d60ebb1ce5cf92ba107f8d3e905
/backend/agalot_app_23898/urls.py
1479158011d81c28eeb290da27286e3ffb93a350
[]
no_license
crowdbotics-apps/agalot-app-23898
8a337647047d79589bd2533cf13dda168a776f8a
1fd14f5a1dc70a8c436e8a19c45164a3407d4a9d
refs/heads/master
2023-02-17T13:43:56.206704
2021-01-17T17:12:07
2021-01-17T17:12:07
330,443,006
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
"""agalot_app_23898 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f5bf1d970d4fabb61a8831149bb32d29440852eb
a6ae216a1a5ed36562a7c25c63ff83dd7c146f70
/vndk/tools/definition-tool/tests/test_elf_linker.py
dbdd95eef7d8f3979916964688112b3ba8cddb57
[ "Apache-2.0" ]
permissive
cuizaixi/platform_development
32dc08f7e403c82e3c74bfe0d9f0b7564d53047b
68b3022d17d55c3b377a43e8c3023d6139e3ef5d
refs/heads/master
2021-01-24T18:25:37.359722
2017-03-09T07:03:15
2017-03-09T07:03:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,219
py
#!/usr/bin/env python3 from __future__ import print_function import os import sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) import unittest from compat import StringIO from vndk_definition_tool import ELF, ELFLinker, PT_SYSTEM, PT_VENDOR class GraphBuilder(object): _PARTITIO...
[ "loganchien@google.com" ]
loganchien@google.com
df1d048f17f5a566209ef32349cf25f4c9e2f754
be5ea20226c37d81f1ccb2f704d8825d36e88765
/09. Decorators/EXERCISE/07_execution_time.py
46206ea6d73977ddd8aef00da8cdfe89e906e747
[]
no_license
dimDamyanov/PythonOOP
3845e450e5a48fef4f70a186664e07c0cd60e09b
723204f5b7e953874fac9314e48eb1d1628d6ff5
refs/heads/main
2023-04-07T18:00:36.735248
2021-04-19T20:57:14
2021-04-19T20:57:14
341,329,346
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import time def exec_time(func): def wrapper(*args): start = time.time() func(*args) end = time.time() return end - start return wrapper @exec_time def loop(start, end): total = 0 for x in range(start, end): total += x return total print(loop(1, 1000000...
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
162cb9aa4751a361be68509ebfa3fbe28df00f56
dd6b0635021185bf29f20b5b49ab03f93ff841e3
/BH_Mergers.py
24b202c99314f23f6630a06b5e31721bdede2d65
[]
no_license
sbustamante/Spinstractor
27754ee5506b929fb51d6af35852c4780873e960
d546010735fb698963b48b19a2e017060d13ef10
refs/heads/master
2021-01-22T02:05:00.969180
2018-10-30T09:13:39
2018-10-30T09:13:39
92,332,959
0
0
null
null
null
null
UTF-8
Python
false
false
2,537
py
#======================================================================================== # LIBRARIES #======================================================================================== import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np import os import h5py import time p...
[ "macsebas33@gmail.com" ]
macsebas33@gmail.com
861261d5bcc093077a78e927032649deaa9cc080
c89d50f7554f2eb551e5a493b7b9614c478a8ac2
/R/prepare_data.py
9f0a7a147a47fbfe77d3233e002876b1d03693e0
[]
no_license
junnyhe/Code
c741d5f6b559ef0d4fbb37f8b67f5dd59d89b3d4
b698e4831bc240dbc1229c21c71ceb88733aabd2
refs/heads/master
2020-04-11T09:44:22.451742
2015-08-30T02:28:51
2015-08-30T02:28:51
31,276,029
0
0
null
null
null
null
UTF-8
Python
false
false
28,456
py
import csv import gzip # change delimiter to "|" def convert_data(infile_name,outfile_name): # remove space in header, and strange characters in data infile=gzip.open(infile_name,'rb') incsv=csv.reader(infile) outfile=open(outfile_name,'w') outcsv=csv.writer(outfile,delimiter='|') ...
[ "junnyhe@gmail.com" ]
junnyhe@gmail.com
eb05a439ca3e8cb84a9dd47e7476548ed343a980
5db75589901eb5eb991d8efd5aa043fbd475179c
/leetcode/strStr.py
6af411d87627e6fa6c68306c8bebf86d0cfe9c05
[]
no_license
cizixs/playground
b15f503ddb7a406791443768b6325776c9fe6f22
eea3668cc80d7f328359a56144a5344029e83b47
refs/heads/master
2021-01-22T02:53:09.981444
2014-10-26T07:19:17
2014-10-26T07:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
class Solution: # @param haystack, a string # @param needle, a string # @return a string or None def strStr(self, haystack, needle): if len(haystack) < len(needle): return None if needle == "": return haystack result = haystack.find(needle) if resu...
[ "vagrant@precise64.(none)" ]
vagrant@precise64.(none)
ed08064f64c5c4407c7c2f69b59101480452a297
fa795af74cda4d92604fa3332179ba939460a9b5
/JUBioactivities/QSARDB/Zhang_Property_logKMXa_Cuticular_polymer_matrix/__init__.py
adddf136cd274fcf5c3c41ccd4a71b4f7ab2e83c
[]
no_license
JenniferHemmerich/JUBioactivities
7329a89db0e2790aff9bcfe153ab4dcd2c19a489
87054ac135d91e034dcfb6028562b4a7930a3433
refs/heads/master
2020-04-26T03:56:36.177955
2019-03-07T13:08:08
2019-03-07T13:08:08
173,284,341
1
1
null
null
null
null
UTF-8
Python
false
false
940
py
import os.path import pandas as pd from ... import utils import glob __data_src__ = [os.path.join(__path__[0], "compounds/InChI_from_XML.csv")] __data_src__ += list(sorted(glob.glob(os.path.join(__path__[0], "properties/*.txt")))) def read_data(raw=False): dat = pd.read_csv(__data_src__[0], index_col=0) pro...
[ "jennifer.hemmerich@univie.ac.at" ]
jennifer.hemmerich@univie.ac.at
7c94c4246337922503c3c04bb85a88472f19f303
7caa2803db67f5c609865fe0f5c4d24bbbdb4afe
/leetcode/621-task-scheduler/main.py
ce57a5a949b68ada661a286438c646a3b5b02b77
[]
no_license
ataul443/AlgoDaily
106fd9e496ede30bfdf223ce54dcac2b14852815
b8ae4f80cf162681aaff1ff8ed6e1e4d05f2010d
refs/heads/master
2022-11-20T10:47:52.683016
2020-07-16T13:27:55
2020-07-16T13:27:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
import heapq from collections import * """ 1st approach: maxheap - similar to lc358 1. count occurence for each task 2. in each iteration - pop the tasks from maxheap n+1 times - put the tasks back to the queue with decremented count 3. remove trailing '-'(idle) Time O(nlog2...
[ "chan9118kin@gmail.com" ]
chan9118kin@gmail.com
06c0697c042852553ea8f2603afaca223ce2c5c1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_81/311.py
d316cf2c5a48f65d437f14d31ee4f5b5c78d65a5
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
def crash(): assert 1==2 def percentage(arrayWins): wins = arrayWins.count('1') losses = arrayWins.count('0') return float(wins)/(wins+losses) def average(arrayWins): return float(sum(arrayWins))/len(arrayWins) fileLoc = '/Users/alarobric/Downloads/' #fileLoc += 'A-small-attempt...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b02b6f4a8dad54e71517c5a53c23626326299904
1a36f8f77ca3d3093b51932f8df15b3c2fad3ae4
/mlx/filesystem/local_filesystem.py
599111e0fe82594c1cd126f3a05558c81109f986
[ "Apache-2.0" ]
permissive
lewfish/mlx
3c2477aa2fc53f5522e4e70975f0e430090c3024
027decf72bf9d96de3b4de13dcac7b352b07fd63
refs/heads/master
2020-04-20T13:57:36.831202
2019-10-08T00:37:55
2019-10-08T00:37:55
168,884,084
0
0
Apache-2.0
2019-10-08T00:37:56
2019-02-02T22:13:28
Jupyter Notebook
UTF-8
Python
false
false
4,068
py
import os import shutil from datetime import datetime, timezone import glob from mlx.filesystem import (FileSystem, NotReadableError) def make_dir(path, check_empty=False, force_empty=False, use_dirname=False): """Make a local directory. Args: path: path to directory check_empty: if True, ch...
[ "lewfish@gmail.com" ]
lewfish@gmail.com
84d16dc699f540476901eb0935eba31f39b44c87
cace862c1d95f6b85a9750a427063a8b0e5ed49c
/binaryapi/ws/chanels/statement.py
1feab178b3ce9eabd3e3223fa3549dc1c82fe4f4
[]
no_license
HyeongD/binaryapi
65486532389210f1ca83f6f2098276ecf984702b
e8daa229c04de712242e8e9b79be3b774b409e35
refs/heads/master
2023-08-29T13:24:58.364810
2021-10-26T19:00:59
2021-10-26T19:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
"""Module for Binary statement websocket channel.""" from binaryapi.ws.chanels.base import Base from typing import Any, Optional, Union from decimal import Decimal # https://developers.binary.com/api/#statement class Statement(Base): """Class for Binary statement websocket channel.""" name = "statement" ...
[ "mdn522@gmail.com" ]
mdn522@gmail.com
b95757190f75c244f98cde51fd55a1f6010f586e
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/ecf3f471c55ae18f8a0bbf4c7170104a63eeceb8-<solve>-bug.py
e8fa2b2c9ec86842a0502cfe3dd6c00fb1c8305d
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,350
py
def solve(self): '\n Runs the DifferentialEvolutionSolver.\n\n Returns\n -------\n res : OptimizeResult\n The optimization result represented as a ``OptimizeResult`` object.\n Important attributes are: ``x`` the solution array, ``success`` a\n Boolean fla...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
d080d3e8d1b6f4511ea71577ee373dcddf86faf3
559e6745868358da529c2916180edc90b97f852a
/tests/test_connection_serial.py
b455ad3694f789772efba6de4bee9a93bb5f2feb
[ "MIT" ]
permissive
SwiftyMorgan/msl-equipment
712290579e49682337548f8c4294907e9b56d5a3
56bc467e97a2a0a60aa6f031dd30bf1d98ebda5c
refs/heads/master
2020-04-21T14:49:23.902185
2019-01-18T18:43:16
2019-01-18T18:43:16
169,647,690
0
0
MIT
2019-02-07T22:08:37
2019-02-07T21:46:56
Python
UTF-8
Python
false
false
1,958
py
import os import time import threading try: import pty except ImportError: pty = None import pytest from msl.equipment import EquipmentRecord, ConnectionRecord, Backend, MSLConnectionError @pytest.mark.skipif(pty is None, reason='pty is not available') def test_connection_serial_read(): term = b'\r\n'...
[ "joe.borbely@gmail.com" ]
joe.borbely@gmail.com
fd8ba7457853c480f4536bb86ddc6b051a090e0a
779291cb83ec3cab36d8bb66ed46b3afd4907f95
/notebook/2020-02-25_gene_dists.py
fb81557f52dcb9ae4b74edaec0aa9f2c2a93caf2
[]
no_license
Shengqian95/ncbi_remap
ac3258411fda8e9317f3cdf951cc909cc0f1946e
3f2099058bce5d1670a672a69c13efd89d538cd1
refs/heads/master
2023-05-22T06:17:57.900135
2020-11-01T17:16:54
2020-11-01T17:16:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# %% import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from ncbi_remap import plotting # %% plt.style.use(("sra_talk", "sra")) plt.style.use("sra") # %% gene_metadata = ( pd.read_feather( "../../larval_gonad/references/gene_annotation_dmel_r6-26.feather", ...
[ "justin.m.fear@gmail.com" ]
justin.m.fear@gmail.com
f6090b4123803ea0f46d3530ec0f174c8b4fa349
c4e9b3e5686ed8c6e885aa9f6a72a571f4b33db6
/matplotlib_study/multiplot.py
1d61e196cd0bb3e007ee0e6d62a3ce621c044f01
[]
no_license
WhiteCri/learn-advanced-python
c2a081db0f901bb76e470341497014b4384ba803
8111cb12e8b05a9168a0236e05f4a6a1cda255eb
refs/heads/master
2023-04-13T22:55:49.060522
2021-04-28T05:00:49
2021-04-28T05:00:49
345,628,312
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import numpy as np import matplotlib.pyplot as plt x = np.linspace(-3, 3, 30) y = x**2 plt.plot(x, y) plt.show() x = np.linspace(-3, 3, 30) y = x ** 2 plt.plot(x, y, 'r.') plt.show() plt.plot(x, np.sin(x)) plt.plot(x, np.cos(x), 'r-') plt.plot(x, -np.sin(x), 'g--') plt.show()
[ "sjrnfu12@naver.com" ]
sjrnfu12@naver.com
a64f61789af45f794ceb817f356e38ac2bcfa265
12a6f15a0ed1af285459ea61707984c0a4fd368d
/code/python_utilities_py3/irrigation_hash_control_py3.py
24d9d2e7bcde5e8236fe9d6b2f1f0b511c9663d0
[ "MIT" ]
permissive
NanoDataCenter/nano_data_center
66ec84ef8f78a6d35238bd18c71bb774b38b37db
76ad521e1a5139a37df80214af1413d2fd4ade60
refs/heads/master
2022-12-12T13:58:04.761671
2020-09-18T17:33:32
2020-09-18T17:33:32
119,457,568
2
2
MIT
2022-12-06T19:37:49
2018-01-29T23:58:26
C
UTF-8
Python
false
false
8,570
py
import time import redis import json from redis_support_py3.construct_data_handlers_py3 import Generate_Handlers from redis_support_py3.graph_query_support_py3 import Query_Support class Generate_Hash_Control_Handler(): def __init__(self,redis_site_data): qs = Query_Support( redis_server_ip = ...
[ "glenn-edgar@onyxengr.com" ]
glenn-edgar@onyxengr.com
5e6416fa20b7c75266a35c0f033ba4e3ad7dab6e
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/config/urls/admin.py
aef939fc4dc34e06fb39b702a80393a1c2a7734d
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
from django.conf import settings from django.contrib import admin from django.urls import include, path from django.views import defaults as default_views from transit_odp.common.utils.custom_error_handlers import ( page_not_found, permission_denied, ) from transit_odp.common.views import ComingSoonView from t...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
6765e6eccaa7845dd1dfbcce37ca3e18dfc8895e
8f0c5cb4938cffb0fb931c9bed6ce3e74d63e342
/trydjango/settings.py
932475114b7fe2005eb83556f701b6668ca2e373
[]
no_license
Mehedi2885/trydjango2
acce9b3643769759c62fbc6475c6a3e68b162f1f
e1bfe3c14ef2df573d062b60a4a671d74103717b
refs/heads/master
2022-04-22T20:14:59.813475
2020-04-28T20:11:20
2020-04-28T20:11:20
257,658,950
0
0
null
null
null
null
UTF-8
Python
false
false
3,356
py
""" Django settings for trydjango project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "mehedi_45seafarer@yahoo.com" ]
mehedi_45seafarer@yahoo.com
f9fedff9e4d783a6823b9fb25ad4aa897ee8700d
556e88a954cf031460ea7fdf3791eb968ca4fbdd
/fluent_python/chapter_10/ch10_vector_v3.py
6491b78aa2e5ea74affc5864f33b6aa2955b4065
[]
no_license
feng-hui/python_books_examples
c696243fcb8305be495f44d1a88a02e7f906b7bd
e38542db7be927cdaa5d85317a58a13b3a13ae25
refs/heads/master
2022-03-07T00:37:29.311687
2019-09-28T15:15:20
2019-09-28T15:15:20
122,941,867
1
0
null
null
null
null
UTF-8
Python
false
false
2,568
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @time : 2018-11-09 21:44 # @author : feng_hui # @email : capricorn1203@126.com import reprlib from array import array from math import sqrt import numbers class Vector(object): type_code = 'd' shortcut_names = 'xyzt' def __init__(self, components): ...
[ "982698913@qq.com" ]
982698913@qq.com
17ec92e3ac05477b8868ff0e22788a7ce32eae7b
bf683eb4a6080cf67669de90d1afdad53fccb738
/Lib/site-packages/django/contrib/auth/views.py
49fdda6e3b9e67e8b78fa213022329bba45d3e69
[ "MIT" ]
permissive
mspgeek/Client_Portal
cd513308840aa4203554ebc1160f17f0dd4b17cf
0267168bb90e8e9c85aecdd715972b9622b82384
refs/heads/master
2023-03-07T21:33:22.767108
2020-04-08T01:43:19
2020-04-08T01:43:19
253,946,635
6
0
MIT
2022-12-31T07:01:43
2020-04-08T00:43:07
HTML
UTF-8
Python
false
false
22,536
py
import warnings from urllib.parse import urlparse, urlunparse from django.conf import settings # Avoid shadowing the login() and logout() views below. from django.contrib.auth import ( REDIRECT_FIELD_NAME, get_user_model, login as auth_login, logout as auth_logout, update_session_auth_hash, ) from django.contr...
[ "kspooner13@yahoo.com" ]
kspooner13@yahoo.com
b0f80eb2b1f7e213f697b4799f1b0d39d340b773
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/videointelligence/v1p3beta1/videointelligence-v1p3beta1-py/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/transports/__init__.py
a2b915bf9cbce5897c92f4aaabe34406b5a83a45
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
e3d5233ed380d8424d31d8ec58827f40bb02cd72
38d7109b78e0d009759586f49f506ac25eac6c5f
/orca/topology/manager.py
87b235f773094269199a88aef782950de6a366a9
[ "Apache-2.0" ]
permissive
MoonkiHong/orca
19694dfe01a1bfbed9e4911b3c80e66ee78874bc
28267c23eff2886f7b22a539c6e77faa2a2a6223
refs/heads/master
2021-01-14T15:21:15.785498
2020-02-23T12:57:25
2020-02-23T12:57:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
import cotyledon from orca.graph import drivers as graph_drivers from orca.graph.graph import Graph from orca.topology import linker, probe from orca.topology.alerts.elastalert import manager as es from orca.topology.alerts.falco import manager as falco from orca.topology.alerts.prometheus import manager as prom from ...
[ "zurkowski.bartosz@gmail.com" ]
zurkowski.bartosz@gmail.com
275e33e9e41f58b015be34ecee98851acc81ef13
540eca7619a4b91424f1d1f269e9ef2c31e2321b
/test/functional/abandonconflict.py
6919a062c4c70bd4043a8f696a20358c3b68652f
[ "MIT" ]
permissive
Roshanthalal/RECAP-Core
66406b8327ae233dd507b232e049a9acf10539b1
ade84a0a11fe6d3769e7256c8f5117b9480d7e60
refs/heads/master
2022-11-19T10:05:32.551958
2020-07-27T05:03:06
2020-07-27T05:03:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,714
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the abandontransaction RPC. The abandontransaction RPC marks a transaction and all its in-wallet...
[ "shamim.ice.ewu@gmail.com" ]
shamim.ice.ewu@gmail.com
99607a1473dacf9adfb44123dad7e292c20b1475
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21109.py
89613ead4826be15b1709bbf5083157639370ada
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
# Is an infinite for loop bad practice? # Endless loop for p in players: # Do game things...
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
5e06516278e173e3b4afa26269f8a92ff15e0680
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/micronet_challenge/counting.py
fc60cb7e50cb23b0261ed8cfb1c9bd63868554a1
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
16,442
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7f2d1e41aec4d8c1e88832f5a46b4b9cbe6b8fa1
fe683ebe3cbf794dd41121d67bff86278f2721cf
/src/nanocurrency/__init__.py
4ed3cec39a3578103a5ea9c514610109bacfda29
[ "CC0-1.0" ]
permissive
marcosmmb/pynanocurrency
3966ab61dc10c1b892c0fdd3d62c41b7df2a038a
dd1a4f093068447f9f2421b708843df4e6eb17c9
refs/heads/master
2020-04-26T06:44:21.634468
2019-03-02T02:45:49
2019-03-02T02:45:49
173,374,825
1
0
null
2019-03-01T22:11:47
2019-03-01T22:11:47
null
UTF-8
Python
false
false
450
py
""" nanocurrency ~~~~~~~~~~~~ pynanocurrency is a Python library allowing to work with NANO cryptocurrency functions such as block creation and manipulation, account generation and proof-of-work validation and solving """ from .accounts import * from .blocks import * from .exceptions import * from .units import * from...
[ "jannepulk@gmail.com" ]
jannepulk@gmail.com
e8a25edf6cf55a7d26838fd9f347dbeacacfc73f
188fa261446cee9fc1b56029e884c8e74364a7f4
/huseinhouse.com/MBTI-Study/soaning/function.py
c72af9fc818dc9cea5ec2ca6b50fa4a8414cc176
[ "MIT" ]
permissive
huseinzol05/Hackathon-Huseinhouse
026cc1346afb127aa2675be94a818ebf35f72bb5
6796af2fe02f10d7860ac8db27bd24fa27b8bb01
refs/heads/master
2021-06-29T23:04:35.027212
2020-09-07T04:01:49
2020-09-07T04:01:49
147,768,669
3
4
null
null
null
null
UTF-8
Python
false
false
3,469
py
import textract import re import pandas as pd from sklearn.feature_extraction.text import CountVectorizer from sklearn.pipeline import Pipeline from sklearn.linear_model import SGDClassifier from sklearn.preprocessing import LabelEncoder import sklearn.datasets import nltk nltk.data.path.append('/home/husein/nltk_data/...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
b0fb2160ae3308b14f82c19fd930021f3db68660
b8d286c69d89ea42f532c2784ec2aa1633c57d8f
/tests/test_devices/test_snmp_handler_interface.py
18fd9b196f28aff00a5d291019c027a4e5ac06f7
[ "Apache-2.0" ]
permissive
dirkakrid/cloudshell-networking-devices
460f85268998f6403fb1a0567d8303e0e92ace27
6e62b8ab4c1d8dbe8a68d6ff2d34094b3b90a548
refs/heads/master
2021-01-21T19:40:12.388282
2017-05-10T13:20:01
2017-05-10T13:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
import unittest from cloudshell.devices.snmp_handler_interface import SnmpHandlerInterface class TestSnmpHandlerInterface(unittest.TestCase): def setUp(self): class TestedClass(SnmpHandlerInterface): pass self.tested_class = TestedClass def test_get_snmp_service(self): ""...
[ "anton.p@qualisystems.com" ]
anton.p@qualisystems.com
e47193ed11bd9d0fe2046a3291cee676d776ccd3
ac8ffabf4d7339c5466e53dafc3f7e87697f08eb
/python_solutions/1425.constrained-subsequence-sum.py
4038454a87a6aa43af1ce0804ead5dafa93468e9
[]
no_license
h4hany/leetcode
4cbf23ea7c5b5ecfd26aef61bfc109741f881591
9e4f6f1a2830bd9aab1bba374c98f0464825d435
refs/heads/master
2023-01-09T17:39:06.212421
2020-11-12T07:26:39
2020-11-12T07:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
from collections import Counter, defaultdict, OrderedDict, deque from bisect import bisect_left, bisect_right from functools import reduce, lru_cache from typing import List import itertools import math import heapq import string true = True false = False MIN, MAX = -0x3f3f3f3f, 0x3f3f3f3f # # @lc app=leetcode id=1425 ...
[ "ssruoz@gmail.com" ]
ssruoz@gmail.com
af815ff89cb5d9b1273a7cc8d98677c1eba8e801
51a2fb45db6a074c7bd5af32c8ee8471251436f4
/Project/企业微信/PageObject实战/PO/Login_PO.py
9d221d18c4bee9c5f5fe323ce5232fbca8a85d1b
[]
no_license
JiangHuYiXiao/Web-Autotest-Python
c5e2cf61a5a62d132df048d3218dfb973be8784e
65b30360337b56b6ca4eba21f729c922f1665489
refs/heads/master
2021-08-26T07:46:42.957744
2021-08-12T02:24:11
2021-08-12T02:24:11
253,945,694
1
1
null
null
null
null
UTF-8
Python
false
false
704
py
# -*- coding:utf-8 -*- # @Author : 江湖一笑 # @Time : 2021/2/26 16:01 # @Software : Web-Autotest-Python # @Python_verison : 3.7 from selenium.webdriver.remote.webdriver import WebDriver from Project.企业微信.PageObject实战1.PO.Register_PO import Register class Login(): def __init__(self,driver:WebD...
[ "1163270704@qq.com" ]
1163270704@qq.com
896e40d4255f32860379afbe8a7112b45b7b29b6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/tbz5ji3ocwzAeLQNa_11.py
fce155cea3aba702b57ec473a17f33d65c5f76ee
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
""" Given a two-dimensional list of `maze` and a list of `directions`. Your task is to follow the given directions. * If you can reach the endpoint before all your moves have gone, return `"Finish"`. * If you hit any walls or go outside the maze border, return `"Dead"`. * If you find yourself still in the maz...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b66bd06abd3bf875afad489cae81330f335e27e8
cc78de009a8e7805f9f6a852774e0384b11bfdcb
/testcase/api/login/postman_login_post.py
18b31c0cc29699bb94201354eab342239c45f319
[]
no_license
williamzxl/app_test_many_devices
c1806e54c17a84f18a04c3808604633c2deba052
dd5434018fadd11d5462903cafaafbb5b387c24a
refs/heads/master
2020-03-29T21:20:51.239295
2019-03-05T03:13:56
2019-03-05T03:13:56
150,361,766
1
1
null
null
null
null
UTF-8
Python
false
false
731
py
import requests import json url = "https://proxy.langlib.com/accounts/loginByAccount" headers = { 'platform': "Android", 'appkey': "CEE_AA8F55B916AB", 'appversion': "10000005", 'appsecret': "3DB5159C-EB1E-47FE-8584-47115EF5E443", 'app': "cee", 'content-length': "55", 'host': "proxy.langlib...
[ "1053418947@qq.com" ]
1053418947@qq.com
d4656c1a3c9c77ace9534ffe71b6a42d0cfb0ff6
97959e8f049e1877931e85b9965fc48e1d7b7616
/27.py
452de52776bed556ec31c7166f8038ef60774ca9
[]
no_license
mahabaleshwarabairi/mahabaleshwarabairi
403911a7e9a0ec93730845eea6e27ee55363113f
27935ac9165f049c48153455768709e6d8c8a374
refs/heads/master
2023-04-26T08:26:17.574774
2021-06-05T08:36:35
2021-06-05T08:36:35
351,385,527
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 22 11:13:22 2020 @author: Mahabaleshwara.Bairi """ states={ 'TN' : {'capital':'Chenai','language':'Tamil'}, 'KL': {'capital':'trivandarm','language':'Keralla'}, 'KK':{'capital':'BNG','language':'KAN'} } labels ={'capital':'capital...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d25ad941d53fda126c646c173f4cb243d4f51f3b
a123ea0f8d9be8acb48c772646586d6f7e260b99
/workshop/d14/d14/urls.py
2e876e1f7e48501258f60bcfff920b7bb5aae84b
[]
no_license
pjh6315/TIL-C9
8007057cdaa3b9e9c38c3cdcf2b5addc88eefac8
681f9c95665302adb64d02022ede7b94cce5e47e
refs/heads/master
2020-04-17T17:17:55.652973
2019-02-12T08:46:07
2019-02-12T08:46:07
166,777,127
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
"""d14 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "bluetruddnjs1@gmail.com" ]
bluetruddnjs1@gmail.com
e9a1fae3749f53ba0f93c11b8432510a4e7f8af0
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/pandas/tests/util/test_assert_interval_array_equal.py
8a537308063a13fd91d44a09de45484ac058bbb0
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:82edae2255ec8fcb3927eb50fad5b0eda9ea8dbaaa2cb6dc12188b8a9fac142b size 2364
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
d1b92393bf9fbe4433948c91091bb196969f8bc8
8dde6f201657946ad0cfeacab41831f681e6bc6f
/1167. Minimum Cost to Connect Sticks.py
272df4236aaf86c111809a73d668d5d9118eacac
[]
no_license
peraktong/LEETCODE_Jason
c5d4a524ba69b1b089f18ce4a53dc8f50ccbb88c
06961cc468211b9692cd7a889ee38d1cd4e1d11e
refs/heads/master
2022-04-12T11:34:38.738731
2020-04-07T21:17:04
2020-04-07T21:17:04
219,398,022
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import heapq class Solution(object): def connectSticks(self, sticks): """ :type sticks: List[int] :rtype: int """ # always start with lowest since they are added the most ans = 0 heapq.heapify(sticks) while len(sticks) > 1: x, y = heapq.h...
[ "caojunzhi@caojunzhisMBP3.fios-router.home" ]
caojunzhi@caojunzhisMBP3.fios-router.home
02abde4a40072f9b6ee47ca15157b48df39d4a60
25dda94672497e3287a7403e283fb279ad171b79
/practice/정렬/선택 정렬.py
eba9f36bb4a0839f774abd388f00bb2e48c35c01
[]
no_license
woorud/Algorithm
c94b844e8c96a446c5fdee5c0abb159bfee384d7
f5b8e3cf0aea7fc4400e6f5bb0c1531fad93e541
refs/heads/master
2023-02-23T13:53:28.645036
2021-01-29T12:24:23
2021-01-29T12:24:23
230,908,288
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
array = [7, 5, 9, 0, 3, 1, 6, 2, 4, 8] for i in range(len(array)): min_index = i for j in range(i+1, len(array)): if array[min_index] > array[j]: min_index = j array[i], array[min_index] = array[min_index], array[i] print(array)
[ "woorud96@gmail.com" ]
woorud96@gmail.com
854490c2c1af86b3ae92e8bbb3ef416c4db34c91
714ba6b4a821fd33eb3a581701175d1ba986fcaf
/BUILD
b8cb64af035a500d727bd4d6032573912b91e4f8
[ "Apache-2.0" ]
permissive
OldJohn86/power_dist
9c648943f268c23aaa664ef1ea2730c6e9b2a446
f781401e9e8b3e03826feb3902058f022cc1a164
refs/heads/main
2023-04-07T01:24:22.323244
2021-04-10T15:21:23
2021-04-10T15:21:23
329,294,259
0
0
Apache-2.0
2021-01-13T12:01:11
2021-01-13T12:01:11
null
UTF-8
Python
false
false
691
# -*- python -*- # Copyright 2020 Josh Pieper, jjp@pobox.com. # # 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 applic...
[ "jjp@pobox.com" ]
jjp@pobox.com
3f36a70b59cf9d6ad4fd514c74134960e5deec10
b6bcfd935f7876fc65416e7340fda1c9b0516fd7
/pyscf/fci/selected_ci.py
a578f20aea6156c46e77cfd1a9106d8ae2094558
[ "Apache-2.0" ]
permissive
lzypotato/pyscf
62f849b9a3ec8480c3da63a5822ea780608796b2
94c21e2e9745800c7efc7256de0d628fc60afc36
refs/heads/master
2020-09-06T22:45:04.191935
2019-06-18T06:04:48
2019-06-18T06:04:48
220,578,540
1
0
Apache-2.0
2019-11-09T02:13:16
2019-11-09T02:13:15
null
UTF-8
Python
false
false
41,236
py
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. 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 # # U...
[ "warlocat@zju.edu.cn" ]
warlocat@zju.edu.cn
98a5436bba2136ae470959f0588878666f9736e7
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-elb/huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py
ea75a64289e0119f8980032cb31fa3a3892e5e4e
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
5,568
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateListenerQuicConfigOption: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2bf79220a4a605d9b665cad56a6c298e21d55040
98beeffab0570eb7e4bd2785fc195658e18aa6dd
/SRC/common/IO/progressbar_delay.py
cfb2f4c580665e91b96fc9caa3cc476d6de797c5
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
shkeshavarz/OOF2
27f59bb04775b76ad250ecfd76118b3760647bba
0f69f535d040875354cd34e8bbedeae142ff09a3
refs/heads/master
2021-01-15T15:32:10.713469
2016-01-13T14:44:20
2016-01-13T14:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# -*- python -*- # $RCSfile: progressbar_delay.py,v $ # $Revision: 1.22 $ # $Author: langer $ # $Date: 2011/02/01 16:38:56 $ # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibiliti...
[ "lnz5@rosie.nist.gov" ]
lnz5@rosie.nist.gov
698ce85576475ac479f25c8050a6685b8c37d9f0
9f8ce7b4b3fd8b2d0be51e559945feded81fb0b1
/negotiator2/__init__.py
38de5a17832bb501a1dcbfee6bd6900685236cad
[]
no_license
zimeon/negotiator2
bf82d092492d11435a4db9bbf9f65211cd787f74
33dee19cd9fcf5db7cc6872c6608843f3bf1e9c8
refs/heads/master
2021-01-16T23:22:55.504372
2018-02-20T13:52:48
2018-02-20T13:52:48
95,739,871
0
0
null
2017-11-03T20:17:22
2017-06-29T04:53:53
Python
UTF-8
Python
false
false
286
py
"""Imports for negotiator2.""" __version__ = '2.1.1' from .negotiator import AcceptParameters, ContentType, Language, ContentNegotiator from .memento import BadTimeMap, TimeMap, memento_parse_datetime, memento_datetime_string from .util import conneg_on_accept, negotiate_on_datetime
[ "simeon.warner@cornell.edu" ]
simeon.warner@cornell.edu
57b38b59e6438c0800acb06a2fcf6c7d6f16fc8f
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/thehive/komand_thehive/actions/get_case/schema.py
4fd641e02f199012fe05d6e6f2d54aea73510dcd
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
3,744
py
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Retrieve a case by ID" class Input: ID = "id" class Output: CASE = "case" class GetCaseInput(komand.Input): schema = json.loads(""" { "type": "object", "title": "Variables", "proper...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
f5b4ce49234aa51d775d4794255d26f32726d67e
ce5ce3764e75774c0b7eab47893987b9f311b1b9
/.history/moments/models_20210605234329.py
2a69731e929875c9c2fe37b29fe4471a44af790c
[]
no_license
iSecloud/django-wechat
410fb8a23b50dc2343c2f0167bbae560bf6e9694
faaff9bb7f9454a63b2f8411d3577169b470baad
refs/heads/main
2023-05-15T06:53:16.252422
2021-06-07T14:00:35
2021-06-07T14:00:35
374,685,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class WeChatUser(models.Model): user = models.OneToOneField(User, models.CASCADE) motto = models.CharField(max_length=100, null=True, blank=True) pic = models.CharField(max_length=50, null=True, blank...
[ "869820505@qq.com" ]
869820505@qq.com
da954a0ed8caf750124be9eb6582ad919fab6903
258c045a25c2a4d2027c5510272b2e40fb7938ca
/ellipse_polaire.py
680918cb63cc02de291149e3ce3fe6c1e7f16f3c
[ "MIT" ]
permissive
harryturr/electron-charging-rings-detector
5395791aba2ce2264659b49c9ce4ad14c29c896a
7eeefcf2c2be7aba56daf965fe80727887b01eb7
refs/heads/master
2022-07-07T08:27:15.412680
2019-10-29T23:58:57
2019-10-29T23:58:57
218,405,876
0
0
MIT
2022-06-21T23:20:08
2019-10-29T23:54:51
OpenEdge ABL
UTF-8
Python
false
false
3,696
py
from __future__ import division import numpy as np import matplotlib.pyplot as plt import features_automatic_detection nombre_angle = 1000 features_automatic_detection.largeur_max = 256 features_automatic_detection.hauteur_max = 256 def ellipse_conversion(liste): coeff_poly_0 = -4 * liste[1] ** 2 - (l...
[ "griffin.harrisonn@gmail.com" ]
griffin.harrisonn@gmail.com
654e36ee1139fd4e26f34bff8a5ad866723502e8
9e2bd8e828d3aeedc9b5034d847a8e1e3a381cfa
/rltk/io/adapter/__init__.py
75fd0cceb723c9a2948f88da45ca6d33433231d1
[ "MIT" ]
permissive
rpatil524/rltk
0a55c6d5f02ccf2991dc458fb38a0bf4f0caa151
aee10ed5dd561583e60db3373ed82fe1208da1e9
refs/heads/master
2021-11-01T10:41:12.158504
2021-10-06T23:41:52
2021-10-06T23:41:52
183,799,148
0
0
MIT
2021-09-04T03:42:53
2019-04-27T16:53:12
Python
UTF-8
Python
false
false
624
py
from rltk.io.adapter.key_value_adapter import KeyValueAdapter from rltk.io.adapter.memory_key_value_adapter import MemoryKeyValueAdapter from rltk.io.adapter.dbm_key_value_adapter import DbmKeyValueAdapter from rltk.io.adapter.redis_key_value_adapter import RedisKeyValueAdapter from rltk.io.adapter.hbase_key_value_adap...
[ "bigyyx@gmail.com" ]
bigyyx@gmail.com
0e961003dcb191f892a1ebafa66c42a9f3c130d3
78011517bc7fe931f736b81297d0603f7dc01819
/Python/kettle_set_mode.py
bd205cdc3f9d36d16e56196725915e22b9f34f4c
[]
no_license
BorisE/RedmondKettle
47c040f90be4ccf7cee76720d793b4ab908ccfc3
dec016e65a8cd9663719c279ef6bb98fda60f923
refs/heads/master
2021-05-17T18:17:43.429333
2020-04-05T18:08:14
2020-04-05T18:08:14
250,914,477
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
#!/usr/bin/python # coding: utf-8 #from kettle.kettleclass import RedmondKettler #from kettle.logclass import logclass from kettle.logclass import log import sys #Use main wrapper library from kettle_wrappers_lib import * #Private part if __name__ == "__main__": log.debug(f"Arguments count: {len(sys.argv)}") ...
[ "email@example.com" ]
email@example.com
9ca6db7957cc31ae72b2b5347b7994b5447e1f08
1f63dde39fcc5f8be29f2acb947c41f1b6f1683e
/Boss2D/addon/tensorflow-1.2.1_for_boss/tensorflow/python/kernel_tests/rnn_test.py
09160c41e472bbfb860179d0c5268646f827273e
[ "Apache-2.0", "MIT" ]
permissive
koobonil/Boss2D
09ca948823e0df5a5a53b64a10033c4f3665483a
e5eb355b57228a701495f2660f137bd05628c202
refs/heads/master
2022-10-20T09:02:51.341143
2019-07-18T02:13:44
2019-07-18T02:13:44
105,999,368
7
2
MIT
2022-10-04T23:31:12
2017-10-06T11:57:07
C++
UTF-8
Python
false
false
22,334
py
# Copyright 2015 The TensorFlow 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 applica...
[ "slacealic@gmail.com" ]
slacealic@gmail.com
5d8c2d955c93665a6a101d866aabccc05a6eec22
ed9e1b622dad6b559cd0fe6fa23d6a27f857dc7f
/galsim/config/input_powerspectrum.py
c80cacd70793e9d12c16b6aa092dc249e98deb81
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
ajwheeler/GalSim
40d6f8c64789b601ed2547eefed05f1577592613
cf0ef33e5f83da1b13a0617d362d8357056d6f22
refs/heads/master
2021-01-22T06:14:31.486159
2017-04-20T01:20:20
2017-04-20T01:20:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,937
py
# Copyright (c) 2012-2017 by the GalSim developers team on GitHub # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # https://github.com/GalSim-developers/GalSim # # GalSim is free software: redistribution and use in source and binary forms, # with or w...
[ "michael@jarvis.net" ]
michael@jarvis.net
d1a8a52cfbf35438a187599eb96006576f455b17
1f2b05dbe818ff922269717389187e5ced71d198
/blog/feeds.py
1abe7ca5675208ef1cc195782b747a4c6430f792
[ "BSD-2-Clause" ]
permissive
Pythonian/suorganizer
e665b0c642b62172156bbbd6537485d66709c339
c835cf1647b2b980d3eaf744c9dd91f33dec7e33
refs/heads/master
2022-04-24T10:19:09.722026
2020-04-19T09:07:37
2020-04-19T09:07:37
256,956,925
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
from django.contrib.syndication.views import Feed from django.urls import reverse_lazy from django.utils.feedgenerator import ( Atom1Feed, Rss201rev2Feed) from .models import Post class BasePostFeedMixin(): title = "Latest Startup Organizer Blog Posts" link = reverse_lazy('blog_post_list') descriptio...
[ "prontomaster@gmail.com" ]
prontomaster@gmail.com
9c91e73a5440b8c28e4620927f5a5026b41dba99
d49fbd7874b70a93cbc551afed1b87e3e47617a8
/django/example/functions/auth.py
77a3a3bacddb35d18816e9b9d8c1217f663a1b2b
[]
no_license
gitter-badger/tutorials-4
bbdbb673e978118f9fec3212baa13f6f99226be0
3ce1cdb7c6d26f6df4d6bb94e82f83e8cab9389b
refs/heads/master
2020-04-04T20:52:28.181616
2018-10-28T22:05:17
2018-10-28T22:05:17
156,264,177
0
0
null
2018-11-05T18:32:17
2018-11-05T18:32:16
null
UTF-8
Python
false
false
470
py
from attr import attrib, attrs from django.contrib.auth import login, password_validation from django.core.exceptions import ValidationError def validate_password(raw_password): try: password_validation.validate_password(raw_password) except ValidationError as error: return False, error e...
[ "proofit404@gmail.com" ]
proofit404@gmail.com
252dcf468e2f7a8486144abbbbd8991296a8ff2c
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ETFMM_K/YW_ETFMM_SZSJ_403_K.py
3b875095e4f9841ff364c4ae9f79cb0c40b3692f
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
abaf7f138942cdf3f08632884ead902bc339f791
9cc325b00adba5f1b1d8334d98fcca5e0b995d3e
/setup.py
557da98bf3b4a4d3cc652154b1d3263ee63fdf58
[]
no_license
voronind/fuzzy-fabric
63fb87d92c224c2c27f8fc3da00bcd799eac03e4
9afa7426c9ea91be14a706ecbc887432b447615d
refs/heads/master
2021-05-28T00:43:00.968044
2014-08-25T14:35:59
2014-08-25T14:35:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# coding=utf8 from setuptools import setup, find_packages setup( name='fuzzy-fabric', version='0.6.3', author='Dmitry Voronin', author_email='dimka665@gmail.com', url='https://github.com/dimka665/fuzzy-fabric', description='Fuzzy Functions For Fabric', packages=find_packages(), pack...
[ "dimka665@gmail.com" ]
dimka665@gmail.com
6b5cb6b20a8f5f1ca794c0c3f95dd7536d9baba6
d109b64bfa8c80a6ec7d647beeadf9fe1c667fac
/class0925/clist.py
5480aaf0d2d17a6e7ea731723916f1a863406239
[]
no_license
jumbokh/micropython_class
d34dd0a2be39d421d3bbf31dbb7bfd39b5f6ac6f
950be81582dba970e9c982e2e06fa21d9e9a0fdd
refs/heads/master
2022-10-10T22:27:02.759185
2022-10-01T14:44:31
2022-10-01T14:44:31
173,898,623
4
3
null
2020-03-31T09:57:23
2019-03-05T07:40:38
Jupyter Notebook
UTF-8
Python
false
false
349
py
clist=[[0,0,0],[255,255,255],[255,0,0],[0,255,0], [0,0,255],[255,255,0],[0,255,255],[255,0,255], [192,192,192,],[128,128,128],[128,0,0],[128,0,0], [128,128,0],[0,128,128],[0,0,128]] hlist=[[59,96,233],[104,42,67],[213,227,227],[216,18,47], [12,238,108],[255,246,58],[236,184,20],[240,93,197], [16,173,186],[0,222,25...
[ "jumbokh@gmail.com" ]
jumbokh@gmail.com
4a0710140ef441c276e39701404ea8f661acf36a
249298bde8b03da659171947b29b8761b7115201
/pollux/adaptdl/adaptdl/checkpoint.py
ed158092630eecbb9441a42570d4b78a92aa3f4f
[ "Apache-2.0" ]
permissive
gudiandian/ElasticFlow
cd4ce1f97f17cb878aa79865277ab64fa8ba7f89
0ffc17d257f2923de6478c4331ea64d858e7ab53
refs/heads/main
2023-04-18T14:45:49.998762
2023-01-05T13:13:10
2023-01-05T13:13:10
541,545,148
7
2
null
null
null
null
UTF-8
Python
false
false
4,657
py
# Copyright 2020 Petuum, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "gudiandian1998@pku.edu.cn" ]
gudiandian1998@pku.edu.cn
a5ee1872c6c373df25f50d062c448a2600297ef8
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Outside_Air_Flow_Sensor.py
68914369d58d176ddefe3473259f05153cfd0d36
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
485
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Air_Flow_Sensor import Air_Flow_Sensor from brick.brickschema.org.schema._1_0_2.Brick.Outside_Air import Outside_A...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
01c272af2d82ab2ed9b1ab5b5f39606aed3d5c01
42c63d5f9c724c99ba93f77bdead51891fcf8623
/OpenStack-Mitaka-src/python-manilaclient/manilaclient/v2/share_export_locations.py
0d0cb3163ea350a24e7e37fcc6849e45d5fa6087
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
liyongle/openstack-mitaka
115ae819d42ed9bf0922a8c0ab584fa99a3daf92
5ccd31c6c3b9aa68b9db1bdafcf1b029e8e37b33
refs/heads/master
2021-07-13T04:57:53.488114
2019-03-07T13:26:25
2019-03-07T13:26:25
174,311,782
0
1
null
2020-07-24T01:44:47
2019-03-07T09:18:55
Python
UTF-8
Python
false
false
1,883
py
# Copyright 2015 Mirantis inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "yongle.li@gmail.com" ]
yongle.li@gmail.com
85de194799b259a616254f8b20da8a630ac9d0a6
e1eaed6dde62fc54eb317d28dbd18e0740e3e8f3
/official/vision/image_classification/efficientnet/tfhub_export.py
d3518a1304c8c761cfaabdcc96dead70dd9b0097
[ "Apache-2.0" ]
permissive
nlpming/models
cf5008d2e66d2b66b6d61423e214f2f9f9fbe472
3cbf0748529d787dd09fa3ed031e557f0ddfa268
refs/heads/master
2021-12-03T03:29:16.042489
2021-11-23T14:09:10
2021-11-23T14:09:10
206,007,973
0
0
Apache-2.0
2019-09-03T06:47:46
2019-09-03T06:47:46
null
UTF-8
Python
false
false
2,317
py
# Copyright 2021 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
31214babd69af863c6c00e938f64103d02fbd00b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_143/ch20_2020_03_04_19_28_32_953906.py
1c8d2050fbb9fd530886f4bcd029d1f07091e621
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
# Pergunta quantos km km= float(input('quantos km:')) def P(qts_km): if qts_km <= 200: y=qts_km*0.5 return y else: y=200*0.5 + (qts_km-200)*0.45 return y y = P(km) print ('{0:2f} .format(y))
[ "you@example.com" ]
you@example.com
7a6cdd72513023707903c252305e7238ce9bbccf
f9f1f887629855bbf12ecb0b7358fed5946b3caa
/.history/app_blog_forum/views_20201117201247.py
b670732826fc49cafc6e9dd7d657644d12d97833
[]
no_license
hibamohi5/blog_forum
4f687cee3ca6bdb1d0302b3657a77c01945404b3
d6380eb7149355c79276b738da7da94c2ee03570
refs/heads/main
2023-01-14T18:33:53.043754
2020-11-20T01:52:22
2020-11-20T01:52:22
314,417,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages def index(request): return render(request, "index.html") def register_new_user(request): errors = User.objects.user_registration_validator(request.POST) if len(errors) > 0: for key, value in ...
[ "hibamohi5@gmail.com" ]
hibamohi5@gmail.com
ac08592f24581115477dc1e3fe0e6907fc2e9860
2941b312fc83ff08f5b5f362cf700e7ff8352cd3
/kats/tests/models/test_data_validation.py
cf7402fdd68cec674de17cc8bb5223d1b0844e51
[ "MIT" ]
permissive
rbagd/Kats
5e1ac0b288f1250423921f7ada812c1198c55269
4f86a332d0afc790ab1d833fd8ffe6782a8be93b
refs/heads/main
2023-08-21T20:35:42.141281
2021-09-22T09:27:18
2021-09-22T09:27:18
407,527,411
0
0
MIT
2021-09-17T12:11:43
2021-09-17T12:11:42
null
UTF-8
Python
false
false
1,870
py
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import io import os import pkgutil import unittest from unittest import TestCase import pandas as pd from kats.consts import TimeSeriesData fro...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
c466642b454d777e22b14c619db8d707e72673fd
615e3cdc2c136b2f66b5c553d375823d3580fd08
/exercicio/venv/Scripts/easy_install-3.7-script.py
d7f8ad6ddd000dbb1b0c6fc876af7b1dc51e5a7a
[]
no_license
Android-Ale/PracticePython
859a084e224cfb52eed573e38d7d9dc91f405885
cab2ac7593deb22e6bb05a95ecd19a8ea2c96b0a
refs/heads/master
2023-05-06T06:33:36.724569
2021-05-15T00:12:06
2021-05-15T00:12:06
369,307,842
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!C:\Users\Alpha\PycharmProjects\exercicio\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\.p...
[ "alesson9silva@gmail.com" ]
alesson9silva@gmail.com