blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
43f4c52fd42c9bc9c7c4b78c33def1efaf6c1845
4ccff489fccbeb033a9f2dad46d8fdd88f19f77b
/cn_tests/calendars/test_szsh_calendar.py
bd621c63d67cafcab5b0d49fa9a125d746bc7b42
[ "Apache-2.0" ]
permissive
hebpmo/zipline
67094c237ae9830ab69f9a209929c7430bd4d4c5
396469b29e7e0daea4fe1e8a1c18f6c7eeb92780
refs/heads/master
2020-04-07T03:32:54.494193
2018-01-08T17:13:39
2018-01-08T17:13:39
158,020,235
0
1
Apache-2.0
2018-11-17T20:04:50
2018-11-17T20:04:50
null
UTF-8
Python
false
false
21,620
py
import unittest import os import pandas as pd import numpy as np from pandas.util.testing import assert_index_equal from parameterized import parameterized from zipline.predicates import assert_equal from zipline.utils.calendars.exchange_calendar_szsh import SZSHExchangeCalendar import cn_tests GAPS_BETWEEN_SESSIONS ...
[ "liu.dengfeng@hotmail.com" ]
liu.dengfeng@hotmail.com
bfa821e97e78f4b36482e3e7f8e07c8a5c0aa1f4
e08838e0101c142685cfcdae9e74f6972b084789
/url_allow_lister/application.py
87bc658b1b645504b70d71c24ed69255316a2a3a
[]
no_license
prabhat14176/CICD-test
7e2e97a2ec0f886da43c549d86cbd89251dd4b22
840e37e27bb0d24fbfb598afe4fc32a863b01705
refs/heads/main
2022-12-19T19:08:05.442233
2020-10-12T11:30:00
2020-10-12T11:30:00
303,362,928
0
0
null
2020-10-12T11:30:02
2020-10-12T10:57:22
Python
UTF-8
Python
false
false
3,779
py
import yaml import os import glob import json import datetime CWD_PATH = os.path.dirname(os.path.realpath(__file__)) CONF_PATH = os.path.join(CWD_PATH, '../config/') DATETIME_FORMAT = '%Y-%m-%dT%H:%M:%S' NOWTIME = datetime.datetime.now() RUNTIME_AS_STRING = NOWTIME.strftime(DATETIME_FORMAT) def load_yaml_config(con...
[ "noreply@github.com" ]
noreply@github.com
414cc945c689da8fa4dd40fa1fcd8d9c41032710
b5b6ace81a17ed63608e8570c475027d66997f79
/Esercizi_Brizioli/Es7.02/Monte_Carlo_NVT/Start_prog.py
8cd1aa46d56e8733dde5f23b1531bd5b496b228d
[]
no_license
BrizioliMatteo/LSN_exercise
9d6530bad90f77da7d1a4628aeed66d1fe2f41d4
45c19a5a0b66b62bfacceffed88cd9126defd026
refs/heads/master
2020-06-22T06:51:33.171357
2019-07-18T21:55:29
2019-07-18T21:55:29
197,662,416
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
import matplotlib import matplotlib.pyplot as plt import numpy as np import math from scipy.optimize import curve_fit import subprocess from shutil import * from glob import glob Tem=[0.8,1.1,1.2] rho=[1.1,0.8,0.05] cut_off=[2.2,2.5,5.] delta=[0.12,0.2,5.] with open('input.dat', 'r') as file: data = file.readlines...
[ "matteo.brizioli@gmail.com" ]
matteo.brizioli@gmail.com
c28fc765f9d7635585ebbd080f8961d4bc1dbc96
96d8cf1ee8835fc1909e35de462e810019f49997
/04_ssl_mm_v13/ssl_mm_v11_cifar10/config.py
f3452e618ac6161a1b34345785f2c0feb20a2798
[]
no_license
tnguyen9210/semi-supervised-learning-robustness-pytorch
d57913b7d3a71249f791563a1f232f25a4a6960b
1d51c77dfa9c6d80cc188227ddf9506b18545a4b
refs/heads/master
2022-10-19T04:57:25.733110
2020-06-05T08:51:37
2020-06-05T08:51:37
258,005,596
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
import argparse def parse_args(): parser = argparse.ArgumentParser() # General parser.add_argument('--seed', type=int, default=0) parser.add_argument('--device', type=str, default="cuda:0") parser.add_argument('--data_dir', type=str, default="../../data/cifar10_v13") parser.add_argument('...
[ "tnguyen9210@gmail.com" ]
tnguyen9210@gmail.com
511e9060c7d3e7c4c0091d6a267df626ceea2f43
e95c551ef54745552ad6fd0ade5de14fe70c081a
/stone/stone_log_utls.py
2b7d8149fdf21b5bdb640c36de993c40eb77f3f5
[]
no_license
stone20170821/stone
d196d482130e31edd14af08fe9dfb5b97e1a2b48
ed8fa3326a0ab172b8fa8e3f0cdd81bd7f31130f
refs/heads/master
2021-01-20T10:29:06.302047
2019-07-22T14:19:21
2019-07-22T14:19:21
101,635,329
2
0
null
null
null
null
UTF-8
Python
false
false
100
py
import logging info_logger = logging.getLogger('info') report_logger = logging.getLogger('report')
[ "woogux@126.com" ]
woogux@126.com
3c187259e439be08762bde0c0a5f2af0b8c42e44
7734095146264ace0415f8b255a07b3e12ab0172
/questions/build.py
2e38a2525a4270f03a06e938423c306fd0ec9720
[]
no_license
PerceptumNL/cb-energietransitie
7ac762fdfcee96f15c9aa3b725fbb537774b498c
912d8e2cc227cdbaea7abf71e0e0af0976ad3328
refs/heads/master
2021-01-16T18:02:45.507431
2013-08-21T16:35:37
2013-08-21T16:35:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
import os directory="./build" if not os.path.exists(directory): os.makedirs(directory) filenames = ['js_vendor/jquery-ui-1.10.3.custom.min.js', 'js_vendor/traits-0.4.mini.js', 'lib/custom_activity_loader.js', 'lib/ddq.js', 'lib/mcq.js', 'lib/tfq.js'] with open('build/questionary.js', 'w') as outfile: for fna...
[ "sergio@perceptum.nl" ]
sergio@perceptum.nl
206e98cf74a0cc37cb60e816cab3cf0bb4e08614
d2fb9166f0c8a40261715b9a06bb7a7c77fce46c
/apps/supplementary_applications/migrations/0023_auto_20191218_2043.py
a48604edcbb8e71dc67f46377a80b369c885734f
[]
no_license
surya20r/UNote
a5d205050bedb87e7011fe679f844943e39576bb
5d034b1dcb3a6bdf307f18eb769b8dcfc5ca5448
refs/heads/master
2023-08-08T03:52:33.155638
2020-01-15T06:00:59
2020-01-15T06:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
# Generated by Django 2.2.4 on 2019-12-18 20:43 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('supplementary_applications', '0022_auto_20191218_1623'), ] operations = [ migrations.AlterField( ...
[ "anish.mahto99@gmail.com" ]
anish.mahto99@gmail.com
34a1c0235615920c69d66c20f7774fba3f391aa2
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/quickFixes/PyPandasSeriesToListQuickFixTest/dataframeGetitem.py
ee17a810d951dd9ec0fdaef3088c7dab1cfb67d5
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
351
py
import pandas as pd # DataFrame columns case df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]}) list(df[['a', 'b']].values) bb = ["a", "b", "c"] list(df[bb].values) # with errors list(df.<error descr="Name expected">[</error>'a'].values) <warning descr="Method Series.to_list() is recommended">list<c...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
6d11fd956434d519b5a5372dabe17f786e73b2ac
d2fcdd28d21ca69464a78719a2ecb679d264c2d4
/12_strings/longest_word.py
cd734f3339e5957b0ab91b68a07332d1a4493304
[]
permissive
boswellgathu/py_learn
2ce471d2ce8098b79fe8ae369c2e30e61953883f
1555c7f0f37108571b9235683fee901eded48f57
refs/heads/master
2022-01-21T19:26:17.599857
2022-01-17T19:16:44
2022-01-17T19:16:44
181,168,148
0
3
MIT
2019-09-17T17:16:53
2019-04-13T12:31:27
Python
UTF-8
Python
false
false
297
py
# Program to display the longest word in a given sentence # The sentence should be given as an input from the key board by the user # If there are two words of equal length, it displays the first longest word # for more info on this quiz, go to this url: http://www.programmr.com/longest-word-3
[ "boswell.gathu@andela.com" ]
boswell.gathu@andela.com
0f805ed12ba74d2e6e9ac11f49ad6e0e15c6e302
79a7f267341c389a41200e2c08e1525d650b8d68
/choice_field/migrations/0002_auto_20190305_1147.py
0732b0ce88bff53e432bf833392c894533391bb8
[]
no_license
d051a/django_optgroup
9156019c01f12c4a0cc869adf1635d378af4bda8
d5baf08ee4e90d5e0267776a4d53a3f40f221f65
refs/heads/master
2020-04-27T01:22:03.977799
2019-03-05T14:50:27
2019-03-05T14:50:27
173,962,970
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
# Generated by Django 2.1.7 on 2019-03-05 08:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('choice_field', '0001_initial'), ] operations = [ migrations.AlterField( model_name='categories'...
[ "akargavin@gmail.com" ]
akargavin@gmail.com
6d26f6360d5a50ad9aebd66ed3c2d6d6785ecc65
4cb4b9bbe6ab5de69a42678f2f06fcd9dacc877f
/tests/unit_tests/test_ef_utils.py
ae078c23edf62b0c59c7c8ab9182c3b916aaeed4
[ "Apache-2.0" ]
permissive
vgaidarji/ef-open
1515368997e1c12dcfdd20e36c0086e9dd48259b
e1b4527a7c98caa1ecfab01a5cf0b293ca7495b5
refs/heads/master
2020-06-11T08:31:38.944537
2019-06-19T10:34:28
2019-06-19T10:34:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,306
py
""" Copyright 2016-2017 Ellation, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
[ "noreply@github.com" ]
noreply@github.com
cf639a724588384b8978abe482aac9ccb94cb3f7
63b369bbed088c59d668dccc93a7b9dec9d3111c
/framingham_predict.py
3c416c98a090a3365171de964fffb57be51a595c
[]
no_license
letthedataconfess/Implementation-of-Chat-Bot-for-Landmark-Detection-using-Deep-Learning
7a9fa625b96f42e188ad043a9f72ba2ebd1b2479
8faf990cd544859c78b95284a41baadc60a5c828
refs/heads/main
2023-04-25T21:21:25.116575
2021-05-02T06:11:02
2021-05-02T06:11:02
363,579,711
1
0
null
null
null
null
UTF-8
Python
false
false
546
py
import pandas as pd import pickle filename = 'notebook/finalized_model.sav' loaded_model = pickle.load(open(filename, 'rb')) def model_prediction(data): # data = { # 'male': 1, # 'age': 39, # 'cigsPerDay': 19, # 'BPMeds': 0, # 'prevalentStroke': 0, # 'prevalen...
[ "noreply@github.com" ]
noreply@github.com
a6380c2890db603777bb098d01ff5f745c4f1ef5
f885108bc57bb52e9e5f421cfeb7906d73d57f03
/hh.ru.py
84e1c6a49aff94e481ff7c67e599e5cf07a56e20
[]
no_license
digkill/hh_parser
319a84f01aa73c622c7f58e703a83d016c881a63
50fc60d523a84c8a1589b6c7c849a48889590464
refs/heads/master
2022-07-23T02:50:09.098921
2019-11-06T20:16:53
2019-11-06T20:16:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,548
py
import requests from bs4 import BeautifulSoup as bs import csv headers = {'accept': '*/*', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36'} baseUrl = 'https://hh.ru/search/vacancy?area=1search_period=3&text=php&page=0' def...
[ "vitaliy@edifanov.com" ]
vitaliy@edifanov.com
d39108fb43a28ba0ebb985c8d44a6adb62666aec
de1acbfb99e203994043c6ea4d2a75382ba92406
/old/info.py
25a86ba3d6099ab4d2f5ef98448d6b5cbf19587a
[]
no_license
PlanteVodu/system
30ce7e5b5c9e710211d080217f6ae1f1852abaf2
c809cc8ad58de0e504339ee5ce7e0610b74e2783
refs/heads/master
2021-06-14T06:16:44.528778
2017-05-21T21:34:19
2017-05-21T21:34:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
import psutil print (" ") print ("Informations sur les utilisateurs : ") users = psutil.users() print ("Nombre d'utilisateur connecte (peut etre plusieurs fois le meme) : ") print len(users) #nombre d'utilisateur nbusers = len(users) length = len(users) taille = 0 while taille < length: if taille < length: print(u...
[ "fildas.pa3@gmail.com" ]
fildas.pa3@gmail.com
d6cf2cbb46a9f8b93b4b792e77f994a9fe9413c1
53b522367c4e3416142afacac580058d32581d8e
/test1/test1/courses/migrations/0002_task_taskstatus.py
da03402bb4f16a584e5434324ce26a8057d1ea7a
[]
no_license
Poreykin/test_project
52131345979f621aca1a722f5646593be42c96df
cd8005e523cd9dbfe31c6042abff7edbae370f75
refs/heads/master
2020-03-21T07:00:35.616514
2018-07-04T08:51:04
2018-07-04T08:51:04
138,254,796
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Generated by Django 2.0.6 on 2018-06-29 13:53 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_fsm class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('course...
[ "zhenyaporeykin@yandex.ru" ]
zhenyaporeykin@yandex.ru
ca6b3166f393338dabec04bc58f53131b6d65b8a
177b66facda74108e693d0fe4e0be1cd8b3adc79
/cell/test data.py
f552320e7e0631afc676614ecd295e8330064807
[]
no_license
leizeling/my_learn
04c0266adc319f5679c6db17ad4681a448def5eb
3be0446d1a9e2d301d58f455261763231f1aa7d6
refs/heads/master
2020-03-19T04:12:32.196213
2018-06-07T14:51:39
2018-06-07T14:51:39
135,805,333
0
0
null
null
null
null
UTF-8
Python
false
false
3,938
py
# _*_ conding:utf-8 _*_ from __future__ import print_function import os import numpy as np from skimage.io import imsave, imread data_path = '/home/momoh/mabocombinedimgs22/' image_rows = 420 image_cols = 580 def create_test_data2(): train_data_path = os.path.join(data_path, 'test') images = os.listdir(tra...
[ "1072113944@qq.comm" ]
1072113944@qq.comm
d8dafe62404a5753d70525f7fc485e3cb449e5e6
a2ae4a37ed2a0cb4e9afabe0782142e66ec47226
/tutorial_snippets/snippets/migrations/0001_initial.py
27627537b3e69f8e0c3b5515aa0153624a5ff3d8
[]
no_license
deltadada/REST_snippets2
548343e4488385b916cc06a61203c85b66595806
95f4a24bb0af5a7f695739ac3cdc6996fd79d0e6
refs/heads/master
2020-05-29T21:29:23.265548
2015-02-13T18:38:28
2015-02-13T18:38:28
30,764,039
0
0
null
null
null
null
UTF-8
Python
false
false
10,262
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Snippet', fields=[ ('id', models.AutoField(verb...
[ "markowitzjj@mail.nlm.nih.gov" ]
markowitzjj@mail.nlm.nih.gov
baa05ca51f5bbccbe658dac624ebc2f430ff06de
3506f231e00d6a5c9eb9c944d11afec23d530e6a
/nestedLoopBreakException.py
aa3db356b2c2b575c95fc38aa4d40f47073d7314
[]
no_license
HafizulHaque/Python-Practice-
336ba21da5a2fcc6961db5169b44a94da720bb27
c9474b51488786fc97769d3411ae23dc404445df
refs/heads/main
2023-01-29T14:25:05.119818
2020-12-10T16:13:39
2020-12-10T16:13:39
320,323,681
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
import random class foundException(Exception): pass table = ['car', 'house', 'horse'] target = 7 try: for recNo, record in enumerate(table): for rowNo, row in enumerate(record): for index, item in enumerate(row): item = random.randint(1, 10) if item == target: raise foundException() ...
[ "hafizulhaque.cse.cuet@gmail.com" ]
hafizulhaque.cse.cuet@gmail.com
1044eab6cb08b310b8e4e0dcf36cd2297ac2e587
597516230cbc04313d4f1e5b61f148a78fd0fcef
/backend/controller/twitter.py
e48ab5de84cf33aa4f754d04e2950482bbe089c5
[]
no_license
amni/SMSmart
b102be1b622bd395f7796e7e091b6b0721e92ea1
2e1e59d442df7dd0bda42026db13193dfd357b70
refs/heads/master
2022-07-23T19:46:08.025445
2015-04-14T20:17:23
2015-04-14T20:17:23
24,907,923
1
0
null
2022-07-06T19:21:38
2014-10-07T19:33:32
Python
UTF-8
Python
false
false
1,061
py
from base import Base import api.wrapper.twitter_wrapper as twitter_wrapper class Twitter(Base): def default(self, user, **kwargs): return self.feed(user, **kwargs) def feed(self, user, **kwargs): key = kwargs["key"] results = twitter_wrapper.get_twitter_feed(user) if self.is_e...
[ "jmw86@duke.edu" ]
jmw86@duke.edu
d03be730f5152cae90fc5e3ab74bc02abd2f401f
df7343ebf94cd9b5215f474e56221a4198724652
/461. Hamming Distance.py
c8704a05dd41926e88dc493b1d89880c5dd4a98b
[]
no_license
eric-zhu94/leetcode
642dcaf96d7f80de89d86b87e6b743c8cd08d979
229f62316fd512efc7fee87911028808a59c6ed0
refs/heads/master
2023-04-29T03:41:57.997695
2021-05-17T12:07:02
2021-05-17T12:07:02
250,923,198
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
class Solution: def hammingDistance(self, x: int, y: int) -> int: xbit = [] ybit = [] ans = 0 while x > 0: bit = x % 2 x //= 2 xbit.append(bit) while y > 0: bit = y % 2 y //= 2 ybit.append(bit) if...
[ "noreply@github.com" ]
noreply@github.com
067cbea37ee1b8d8d6927902bac7648fa994edc4
6ea7158f4985f47528d86a456fd2928aecfe009b
/ptlflow/models/gma/extractor.py
93d9831147cd93e6be289503ef9cb82213101f9a
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "CC-BY-NC-SA-4.0" ]
permissive
hmorimitsu/ptlflow
e318f23ac93eb115e249be212c7353ed51b1396f
d6582a0fd386517fdefbe2c347cef53150b5b1da
refs/heads/main
2023-05-14T07:04:29.196743
2023-05-06T08:36:33
2023-05-06T08:36:33
375,416,785
140
14
Apache-2.0
2023-05-06T08:36:34
2021-06-09T16:12:33
Python
UTF-8
Python
false
false
6,419
py
import torch import torch.nn as nn import torch.nn.functional as F class ResidualBlock(nn.Module): def __init__(self, in_planes, planes, norm_fn='group', stride=1): super(ResidualBlock, self).__init__() self.conv1 = nn.Conv2d(in_planes, planes, kernel_size=3, padding=1, stride=stride) sel...
[ "henriquem87@gmail.com" ]
henriquem87@gmail.com
04db9c3fbe3b7089250387b79ad864a22bb84d5f
040a3c03b7927a862d05ea948147d862a24a6b0b
/tools/releasetools/common.py
7ff17f4e0768039edfe1cb33fde9214ef3b33e39
[]
no_license
xiangxin19960319/Patch_MIUIV5
3db0bbb3be4e3f2f130a8afaa82d42f607115708
e177617ae419721d154fee59e2b169c4dd4de291
refs/heads/master
2021-01-01T15:51:26.548456
2013-10-28T13:49:29
2013-10-28T13:49:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,918
py
# Copyright (C) 2008 The Android Open Source Project # # 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 ...
[ "xiangxin19960319@gmail.com" ]
xiangxin19960319@gmail.com
628e37506fd7dd536c95a26577af0d10853652c7
3ea3e6a6b76cf6fa5438559fc26b5bf48143ca14
/src/bayes/kuwoData.py
ec779ef49048d42cf9adb1c2e7e3759dbed7b76d
[]
no_license
Lhfcws/ai_hw
2e0e51e883e0c0e7c715efe26f4b8a628725a14c
326d4153285ae52bd5128ee218bc159c6aaf69c0
refs/heads/master
2021-01-25T05:57:53.536876
2013-06-05T03:48:12
2013-06-05T03:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
#encoding=utf8 import kuworank def main(): f = open("names.txt", 'r') lines = f.readlines() for line in lines: kuworank.main(line.strip())
[ "lhfcws@163.com" ]
lhfcws@163.com
dd79dec37c06033bdff6d7411c8f6c3d09d8f37d
ffef4697f09fb321a04f2b3aad98b688f4669fb5
/tests/mindspore_test_framework/utils/block_util.py
9d75ae0888ac00f966c55f42d14cc03bdb2d3a8c
[ "Apache-2.0", "AGPL-3.0-only", "BSD-3-Clause-Open-MPI", "MPL-1.1", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "MPL-2.0", "LGPL-2.1-only", "GPL-2.0-only", "Libpng", "BSL-1.0", "MIT", "MPL-2.0-no-copyleft-exception", "IJG", "Z...
permissive
Ewenwan/mindspore
02a0f1fd660fa5fec819024f6feffe300af38c9c
4575fc3ae8e967252d679542719b66e49eaee42b
refs/heads/master
2021-05-19T03:38:27.923178
2020-03-31T05:49:10
2020-03-31T05:49:10
251,512,047
1
0
Apache-2.0
2020-03-31T05:48:21
2020-03-31T05:48:20
null
UTF-8
Python
false
false
13,610
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "leon.wanghui@huawei.com" ]
leon.wanghui@huawei.com
a88db205f4e1b8864028cbe217a561a695c73966
c625157aa5f39541dc5dd86977c0eb2299db1780
/modules/attention.py
f24e47ab7d7c18c863746e232e6a71111954171e
[]
no_license
Shikhar-S/TreeCodeGen
e56eb8ec13e42fbae642f880388dd985e7fc531e
572aa96fabb98d62335bc43084acafbe4bd93fe5
refs/heads/main
2023-08-31T12:52:24.776300
2021-09-28T18:14:05
2021-09-28T18:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,166
py
import torch from torch import nn from torch.nn import Parameter import torch.nn.functional as F from fairseq import utils import os import functools from fairseq.models import transformer from fairseq.modules.multihead_attention import * from .nstack_merge_tree_attention import * class MergeStackNodesOnAffinityValu...
[ "your_email@gmail.com" ]
your_email@gmail.com
087dc9ae865acae60ac24c9dfbd921703d209bdc
6174de8df820463515c63425700eab7af643bb31
/src/test_emb.py
eda27ed664cdbaef38b2a7a846cf3cb434713eec
[]
no_license
danielzgsilva/CL-MOT
1cd9b5f2f06454dd7c35a3e2906ad2883ea83495
3b5b812788a34728d7b7484b10ae9434313380fe
refs/heads/master
2022-12-05T18:45:36.805047
2020-08-27T22:01:34
2020-08-27T22:01:34
272,636,268
6
2
null
null
null
null
UTF-8
Python
false
false
3,882
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import _init_paths import argparse import torch import json import time import os import cv2 import math from sklearn import metrics from scipy import interpolate import numpy as np from torchvision.transforms...
[ "danielzgsilva@knights.ucf.edu" ]
danielzgsilva@knights.ucf.edu
42f172ddfbeb2d319d3b10f3ea25bfb756ff58bc
7601a6be6e581053820bc3fffd6864e19b1ef680
/test/toy/toyAllProducts.py
28c2b3825019b74bfb425ed150dea5046c1b1fd2
[]
no_license
LucyBean/Part-III
0a89a96f355be6b4af44753d74c9569293e772fc
cb753a01c6720269fb636725ce2a97c8d143c183
refs/heads/master
2020-08-01T22:38:58.500258
2017-02-23T14:32:36
2017-02-23T14:32:36
73,567,415
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
''' Created on Nov 15, 2016 @author: Lucy ''' import cobra from src import models, display startID = "G6P" cobraModel = cobra.io.load_json_model("toyModel.json") products = models.findProducts(cobraModel, startID) title = "Possible products for starting metabolite " + startID display.displayAll(map_json="toyMo...
[ "howobscene@msn.com" ]
howobscene@msn.com
abb9e9b977d438880483eb8a4abc7725dabe5e60
96c37b9aa0493a30789dc6363fb1ddb61245dc90
/Python/Python Fundamental/Python_Basic_Assignments&Exercises/letters_count_1.py
8e225d48eeb802678b768765905959fabd6767f7
[]
no_license
ssezerer/Data-Science
24891ca14581d2b374fbd291ac92d88d6f672468
315d2de0b6b6e8b92da2561a4fe8c582cae2476d
refs/heads/master
2023-01-08T19:28:57.204923
2020-11-05T17:55:40
2020-11-05T17:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
sentence = input("enter a sentence to count the each character separatly : ").strip().lower() letters = {} for i in sentence: count = 0 for j in sentence: if i == j: count += 1 letters[i] = count print(letters)
[ "stbob131219@gmail.com" ]
stbob131219@gmail.com
905281bdc94851dca0f3c0d7b7818fabc49cc65c
5168e682acfe5b2501c3919038df6320dd1c4bf4
/main/cnki/CNKISpider.py
0fbb28bc5aa89734f1e90e2448208c9d5a382491
[]
no_license
JoeyLee6/PaperCrawler
540ce049919af6615fad14fe852a7b52eb2ff80e
05fcc151f87e70a1d4a692bd2c1aa705aed1431d
refs/heads/master
2020-04-11T04:31:15.563668
2018-10-07T10:45:51
2018-10-07T10:45:51
161,514,553
1
0
null
2018-12-12T16:22:15
2018-12-12T16:22:15
null
UTF-8
Python
false
false
6,026
py
""" Crawl the article links of specified articles """ from selenium import webdriver from time import sleep from selenium.webdriver.support.ui import Select from selenium.webdriver.common.keys import Keys import xlrd import traceback import selenium.webdriver.support.ui as ui # set urls path = '' # set Firefox Prefe...
[ "361914599@qq.com" ]
361914599@qq.com
383b5d0f0074a747db4569fd076744c2879966a0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/394/usersdata/313/74777/submittedfiles/ex11.py
eaab70ccdbf4c3cc2b52bc2a69482ed98b67762c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
# -*- coding: utf-8 -*- n1=12 dias n2=6 meses n3=1980 ano n4=20 dias n5=12 meses n6=1989 ano
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f160cd861be4861d18ff058c4fe05ae1b02b5b5b
69e318f2b60175108bc74ee669bfe16287a71cb6
/plugins/modules/fortios_log_null_device_filter.py
298792656963599543d5265bb94c284a6f6c4b5c
[]
no_license
chillancezen/ansible-galaxy-fortios-collection
5268a5fd97fb4594772349b8d89cb818ec54b3bd
66a331cd4493d1b0f49798d5c2cd6ef5aeba84d3
refs/heads/master
2022-04-09T19:20:59.073193
2020-03-26T07:17:09
2020-03-26T07:17:09
250,185,374
0
0
null
2020-03-26T07:06:16
2020-03-26T07:06:16
null
UTF-8
Python
false
false
13,861
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Lic...
[ "fshen01@fortinet.com" ]
fshen01@fortinet.com
2747983057867ca48f64796098f4a6e65983e0aa
d806dd4a6791382813d2136283a602207fb4b43c
/sirius/blueprints/api/remote_service/tambov/app.py
5efe34267189b393a92b6edd77d8330405506b2e
[]
no_license
MarsStirner/sirius
5bbf2a03dafb7248db481e13aff63ff989fabbc2
8839460726cca080ca8549bacd3a498e519c8f96
refs/heads/master
2021-03-24T12:09:14.673193
2017-06-06T16:28:53
2017-06-06T16:28:53
96,042,947
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
#! coding:utf-8 """ @author: BARS Group @date: 23.09.2016 """ from .config import MODULE_NAME from flask import Blueprint module = Blueprint(MODULE_NAME, __name__, url_prefix='/tambov') # from .passive import *
[ "paschenko@bars-open.ru" ]
paschenko@bars-open.ru
4e416317c779c66b72f5c3b58b7cca1acb9169fb
493d86071bb96ef33a38623a144fe55e49a0aa44
/tests/data/opta/parsers/test_f24_xml.py
164f11e85251874a9bbfcbbe789a8f4c74475ead
[ "MIT" ]
permissive
ML-KULeuven/socceraction
3b8d2411333114436239850d02278785ea0ed83b
1261a31cf99d0c9a819b67f568549aa47df83f08
refs/heads/master
2023-08-31T02:25:42.349813
2023-08-30T08:53:01
2023-08-30T08:53:01
194,881,505
517
131
MIT
2023-09-14T09:46:42
2019-07-02T14:38:30
Python
UTF-8
Python
false
false
2,016
py
import os from datetime import datetime import pandas as pd from pytest import fixture from socceraction.data.opta import OptaEventSchema, OptaGameSchema from socceraction.data.opta.parsers import F24XMLParser @fixture() def f24xml_parser() -> F24XMLParser: path = os.path.join( os.path.dirname(__file__)...
[ "noreply@github.com" ]
noreply@github.com
74b9ea78cc7c3d88f53a193a888c6214c5fd749b
e90d11ddb12a4c62c22e3fd45205d88f70d62e57
/python/minicms/minicms/urls.py
a9309543af4492b7fc4a0976cea155ef9ba6c65b
[]
no_license
dyhbrewer/Web-Front-End
27c5a912555e4ec91f5626dc400fa92d8352f455
439cc7207e0994577ebd0a0de1e9bda89effa9bb
refs/heads/master
2021-01-17T23:04:33.802049
2016-11-18T11:41:11
2016-11-18T11:41:11
47,461,655
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
"""minicms URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "xdxuhehui@126.com" ]
xdxuhehui@126.com
5c1601ae7873d6e366b47a5e47920cd78a86bed8
5e4bf6922224fb846d3aa7c60d1f52410b355e69
/src/jbdl/experimental/ode/solve_ivp.py
7e454f5bdeaf42711efff046ed56b1f2c080b014
[ "MIT", "BSD-3-Clause", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Wangxinhui-bot/jbdl
1748b78dbbb62854cf66dd6b2020c9d1f2ed0ee5
4541fcbec9156c8a3dc496058230fdf2a3fa1bdf
refs/heads/master
2023-08-13T17:39:23.901552
2021-09-07T03:09:42
2021-09-07T03:09:42
400,973,793
0
0
MIT
2021-09-07T03:16:16
2021-08-29T06:59:21
C++
UTF-8
Python
false
false
4,304
py
from functools import partial from numpy import diff from jax.api import jacfwd import jax.numpy as jnp from jax._src.util import safe_map, safe_zip from jax.flatten_util import ravel_pytree from jax import linear_util as lu import jax from jax import lax from jax import device_put map = safe_map zip = safe_zip de...
[ "wx_08f71fc664674d5899780f8a0dbad524@git.code.tencent.com" ]
wx_08f71fc664674d5899780f8a0dbad524@git.code.tencent.com
e0c6c65c9c61e0723e6c013997c2a939ae967972
bb8ecdd004b6da4b9429b220eaae0d0893d53eab
/16.py
536daca6c4a6bd16dc0d16e29926e4bc1b31d608
[ "MIT" ]
permissive
hendrikjeb/Euler
43603fc9b9aa0a449dc23412500e8f06dafaf8ae
a9e62babcec4e4faef15b8e2d3db86790c9d59b8
refs/heads/master
2021-01-21T13:57:51.452668
2016-05-11T22:08:04
2016-05-11T22:17:15
47,711,276
1
0
null
null
null
null
UTF-8
Python
false
false
312
py
# -*- coding: utf-8 -*- """ Problem 16: Power digit sum 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^1000? """ from time import time start = time() som = 0 for l in str(2**1000)[:]: som += int(l) print som print 'Tijd: ', time() - start
[ "hendrikjeb@example.org" ]
hendrikjeb@example.org
bdce4da9f34c04c3473350ce8923ddf0eaa42313
b8d9bba87ffb1c6945fb1c9268a986587e672785
/Madu_Ionascu/temp_reed.py
10a0e03ca0530ba48ba09f9e47489789fb1c408c
[]
no_license
patilanup246/Projects
4f510f5965a2b5c1ca72dd94e70f53e14c7dac59
b41aaa052a9f211065c184b7a0e167c089aefbc5
refs/heads/master
2021-02-28T00:14:01.330374
2018-09-01T12:26:29
2018-09-01T12:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
''' Created on Jul 4, 2018 @author: talib ''' import xmltodict, requests, json all_urls = [] urls = [ 'https://www.reed.co.uk/sitemaps/livejobs/sitemap_livejobs_0000.xml', 'https://www.reed.co.uk/sitemaps/livejobs/sitemap_livejobs_0001.xml', 'https://www.reed.co.uk/sitemaps/livejobs/sitemap_livejobs_...
[ "tasneemrangwala@users.noreply.github.com" ]
tasneemrangwala@users.noreply.github.com
63745902cac53664d3f9579ce008dd6fc0d34866
1bb42bac177fb4e979faa441363c27cb636a43aa
/optimization/trainer_test.py
3c9f7d0c623a496f1af9e0bdc4328d5c49ef83d1
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
google-research/federated
a6040e80fa0fbf533e0d665c66a9bc549d208b3d
329e60fa56b87f691303638ceb9dfa1fc5083953
refs/heads/master
2023-08-28T13:10:10.885505
2023-08-22T23:06:08
2023-08-22T23:06:40
295,559,343
595
187
Apache-2.0
2022-05-12T08:42:53
2020-09-14T23:09:07
Python
UTF-8
Python
false
false
1,750
py
# Copyright 2022, Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
c9b7f903cf66a083d05e34ebc1900c3906a73400
9c50f57a9cb32b44e86a0cdcbf61ead34754b085
/杂物间/PycharmProjects/面向对象基础/bc_08_案例.py
a4de3dd88e831cda6088324ea0cfb9c0c0d834f7
[]
no_license
a1403893559/rg201python
c3f115011981393c86a0150e5281096651712ad4
448f04c86e4c7fd30e3a2a4f9121b934ae1d49be
refs/heads/master
2020-03-15T23:32:17.723403
2018-03-18T12:59:43
2018-03-18T12:59:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
class Person: """人类""" def __init__(self, name, weight): # slef.属性 = 形参 self.name = name self.weight = weight def __str__(self): # __str__方法必须返回一个字符串 return "我的名字叫%s 体重 %.2f 公斤 " % (self.name, self.weight) def run(self): """跑步""" print("%s 爱跑步,跑...
[ "wengwenyu@aliyun.com" ]
wengwenyu@aliyun.com
aad5c7153fd5f602d162e83a68ede6eb5da0384b
5e879d89660128bb216c1fdc5ecec71da7336deb
/datacol/User/forms.py
53a263d3d8acf26351b32340f12be1f8dd3cf301
[]
no_license
iradualbert/webproject1
cdf79691cf7aec8078e52f6b9a5bacf7792e5367
537dcaf8cc1cabef20660580e9ce782356d29ed6
refs/heads/master
2022-04-14T23:00:01.135449
2020-04-14T19:57:39
2020-04-14T19:57:39
255,711,367
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import Profile class UserRegisterForm(UserCreationForm): email = forms.EmailField() class Meta: model = User fields = ['username', 'email', 'password1', 'pas...
[ "albert.iradukunda@yahoo.com" ]
albert.iradukunda@yahoo.com
6153a79357e0dffa210f061affb00b6aae893ad8
ac63a6f41b924f8f395188267b5cfc8c516386b3
/tests/test_django_snack.py
086625fae5c55e560b1d860d34baca147b6e5946
[]
no_license
josephlee3454/django-snack
44996677557633254225449f7f5c973c0b86e629
ed8518b293d4d0b41d57c12ba1815932a512fc73
refs/heads/master
2022-12-06T18:34:01.717675
2020-08-22T21:54:05
2020-08-22T21:54:05
289,598,485
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django_snack import __version__ def test_version(): assert __version__ == '0.1.0'
[ "joseph.lee3454@gmail.com" ]
joseph.lee3454@gmail.com
2bf0fba743e8bb81966420b6f4c2a40df67ac04e
be03d4ac87a05cd501470bc809e18c39a04528c3
/exercicios-com-arquivos/2/percentual.py
bb9e0bceb288014a8fcb215e55d63fbb195c0598
[]
no_license
fplucas/exercicios-python
831c11ac961fc5317c93e50e4ae0896c95ea12fe
d493d2f48c54f93789b513c04af7aba43b477816
refs/heads/master
2021-01-21T04:48:02.709921
2016-06-29T13:08:34
2016-06-29T13:08:34
52,295,341
1
1
null
null
null
null
UTF-8
Python
false
false
107
py
def calcula_percentual(quantidade, total): percentual = quantidade * 100 / total return percentual
[ "me@fplucas.com" ]
me@fplucas.com
6e1af1e92961bc6cf4364d8727c6e9e240433d9a
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/DLINK-3100-MNGINF-MIB.py
9ae0c56579fbb5e55d9b95037bfb35f2681f9fa8
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
9,474
py
# # PySNMP MIB module DLINK-3100-MNGINF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DLINK-3100-MNGINF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:33:45 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
ead04a2a42bdbffba3bfaee11b0f9d7d6ac00ca6
ca0d8dac1ea6ba0829b1aa34dc9c8a26d873c077
/Past_drafts/12_Apr/AI_algos.py
d75105c16880cf295816a7769e239b3d54b220f0
[]
no_license
VaingloryStuff/Seraphim
4fd0e0f5e7f844b63f35ada3c83e4c1d87d24eab
46d50e822f0de90340dd8687949f17c067a65f7e
refs/heads/master
2020-03-12T17:09:56.751014
2018-04-14T19:26:34
2018-04-14T19:26:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,762
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 20 00:01:38 2018 @author: phypoh """ #Testing import requests import json from API import hero_list, hero_range, API_rates #, pickrates, banrates from API import pull_hero """ Choose your AI algorithm here. """ def AI_pick(A_side, B_side, A_ban,...
[ "phypoh@gmail.com" ]
phypoh@gmail.com
8057922896ba62113bb7718b354c4fce609d57ce
86d499787fb35024db798b0c1dbfa7a6936854e9
/py_tools/example/ponyorm-note/models/__init__.py
fe38a70001e0fa5da787546b5d97a2cebcd440b8
[]
no_license
Tomtao626/python-note
afd1c82b74e2d3a488b65742547f75b49a11616e
e498e1e7398ff66a757e161a8b8c32c34c38e561
refs/heads/main
2023-04-28T08:47:54.525440
2023-04-21T17:27:25
2023-04-21T17:27:25
552,830,730
0
1
null
null
null
null
UTF-8
Python
false
false
370
py
#!/usr/bin/env python # -*- coding:utf-8 _*- """ @author:tom_tao626 @license: Apache Licence @file: __init__.py.py @time: 2020/12/11 @contact: tp320670258@gmail.com @site: xxxx.gggg.net @software: PyCharm """ # 对于关联关系,它自动帮你生成外键,以及关联表。如果你没指定主键字段,它会生成一个默认的自增主键字段。
[ "tp320670258@gmail.com" ]
tp320670258@gmail.com
eeb0ed0008cb292742e6a12415b22d3c0fbc1e16
3e9c6efc9553be4103237e92e4fd6e7c3461d804
/di_exercise/Week5/Day4/main.py
ae3fd71d67ecabafcf91a2f9c9dcb9e78381fe72
[]
no_license
sergedemanou/di_exercise
f8c52c61289a507f30597ff424eda3db35b2c5e0
892230603f62157cb291b5f7a1089105d606c6f3
refs/heads/master
2023-01-23T13:49:48.816992
2020-11-29T18:11:58
2020-11-29T18:11:58
307,177,591
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
n = 'the' p= "man" # print(f"{n} {p}") def assemble (*args): return " ".join(args) assemble(n,p) a= assemble(n,p) print(a)
[ "57003109+sergedemanou@users.noreply.github.com" ]
57003109+sergedemanou@users.noreply.github.com
d8819574c33e0ef019312df87234140daa4dc115
c78a53c42fe1168a0833311c42942a679ed7de3f
/utils/NYCCitiBikeParser.py
7eb6a375a78aff2b08c359681a134a815d0a6eb5
[]
no_license
github4ry/citibike-stats
bb00785c52b3b83aab57020355cd4dd73a113b34
b67f7fdb279c0c762eda36d1e9c217e32123d4d6
refs/heads/master
2020-05-20T18:48:28.587420
2015-08-30T02:29:17
2015-08-30T02:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,998
py
import pytz import datetime import mechanize import cookielib from bs4 import BeautifulSoup ### from .NYCCitiBikeParserExceptions import NYCCitiBikeLoginError class NYCCitiBikeParser: ### ### Constants ### # Time Zone nyc_tz = pytz.timezone("America/New_York") # urls login_url = 'https:/...
[ "admtal@gmail.com" ]
admtal@gmail.com
46046df20b6051e55e61120498642b3a02c738e9
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtLocation/QPlaceSearchSuggestionReply.py
a7fd9df4cbf12d58e513742da7326324ba55a59a
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
# encoding: utf-8 # module PyQt5.QtLocation # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtLocation.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip from .QPlaceReply import QPlaceReply class QPlaceSearchSuggestionReply(QPl...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
688428a912948c978a6a7c244775d14661a4e372
abab7fae9325546abb5ca96b37caf44c0447d212
/pop.py
eb26f79509cd67777a401431b2b52a3a36951104
[]
no_license
jungyeji/SmartBilliard
476b04616d3507592dd300137eafae89aa45dab7
3f6474d68776712b6c1fac90cb5af2badce820bb
refs/heads/master
2022-04-15T23:40:52.472538
2020-04-15T12:31:10
2020-04-15T12:31:10
255,907,593
1
0
null
null
null
null
UTF-8
Python
false
false
981
py
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QMessageBox from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel import sys def main(): app = QApplication(sys.argv) win = QMainWindow() win.setGeometry(200,200,300,300) win.setWindowTitle("My first window!") lab...
[ "jyj661897@gmail.com" ]
jyj661897@gmail.com
47bf33f0d3773066f9e623491531b3c163a378d5
0cba968f1b6b089099e0104d3e7091e2b290ba27
/quiz/quiz_brain.py
dd228e2cc30dbbe6d8f516152922add6ed579a44
[]
no_license
aegglin/python-challenges
4573f2190f6022751b00d2687fffc628f254fddc
378ea8e882a05e951590eb076e98f66e7648b553
refs/heads/main
2023-04-23T15:03:59.506086
2021-05-15T02:31:15
2021-05-15T02:31:15
361,576,178
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
class QuizBrain: def __init__(self, questions_list): self.question_number = 0 self.questions_list = questions_list self.score = 0 def next_question(self): curr_q = self.questions_list[self.question_number] self.question_number += 1 user_response = input(f'{self.q...
[ "noreply@github.com" ]
noreply@github.com
5a0f5992806f51d54c979a39bcd16aeed59b88b3
5fbc600720389ee2ef507bdc1f6db351e21fa39b
/manage.py
0f2ab16e9445b684598e5fe12cdd9079b8d9c54e
[]
no_license
thepaygap/TheExpatWomanHackathonOct18
9a373bba6f82a5fb692279172b620015086ad78c
64c837bee27e3362224433b6921576244f157dc5
refs/heads/master
2020-04-26T09:09:39.862161
2018-10-21T01:37:47
2018-10-21T01:37:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'zerobiasapp.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "gtrotter@bulogics.com" ]
gtrotter@bulogics.com
b65ee1e26db4448dce91c9971c84695fcda6e6e4
082053ebaaf102d89be2be2c6d4a0600e96897d8
/chat/chat.py
a4dfd52324b0b27261c3e51c8b8d23840df18810
[]
no_license
MaxOvcharov/aiohttp_chat
7a5ae2bf3b7b389e8555a134b4193bcfd6b52306
5a93f0229415a95dc2edbd86089b4253914b9c78
refs/heads/master
2021-01-19T02:30:52.940731
2017-08-14T19:51:56
2017-08-14T19:51:56
87,286,281
3
0
null
null
null
null
UTF-8
Python
false
false
5,595
py
import aiofiles import base64 import gzip import hashlib import socketio from small_talk import run_small_talk from settings import logger # from server_message import get_server_message # setup application and extensions sio = socketio.AsyncServer(async_mode='aiohttp', logger=True, ...
[ "ovcharovmax@yandex.ru" ]
ovcharovmax@yandex.ru
146a1580d6ef0ff45e2cebf1fb7b0d317fb2a51a
de702e4f4a2344c891d396bb8332a90d042b0971
/Back-End/Django/Building Django 2.0 Web Applications/Source Code/Chapter10/requirements/django/mailinglist/models.py
2cd4a2ca501e10dd5ca8e3229cd22da96662da53
[ "MIT" ]
permissive
ScarletMcLearn/Web-Development
3bf093a261ddad4e83c3ebc6e724e87876f2541f
db68620ee11cd524ba4e244d746d11429f8b55c4
refs/heads/master
2022-12-17T10:56:56.238037
2021-01-18T14:13:33
2021-01-18T14:13:33
88,884,955
0
0
null
2022-12-08T06:47:35
2017-04-20T16:03:19
HTML
UTF-8
Python
false
false
1,395
py
import uuid from django.conf import settings from django.db import models from django.urls import reverse class MailingList(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) name = models.CharField(max_length=140) owner = models.ForeignKey(to=settings.AUTH_USER_MO...
[ "noreply@github.com" ]
noreply@github.com
931a34a44a8f10b9c5a55ade334c3d37134756c6
f5a3bda601a11827c489a393466f749ba01ef4f4
/tensorflow/word2vec.py
72a41eeb14f57944694acd140db6d1a8b1b20863
[]
no_license
iefnxtdm/Algorithm
2507a04b10a1035278a03762207f84007ad38aa4
600d5c54882587a3e6cfdc7828d94e30bdc7a646
refs/heads/master
2023-04-04T03:50:54.313795
2023-03-22T00:49:29
2023-03-22T00:49:29
243,040,108
0
0
null
2020-02-25T15:54:06
2020-02-25T15:54:05
null
UTF-8
Python
false
false
11,272
py
''' dataset: http://mattmahoney.net/dc/textdata from wikipedia ''' import tensorflow as tf import numpy as np import connections import math import zipfile import os import pickle as pkl # constant FILE_NAME = "D:/kaggle/rnn/enwiki8.zip" BATCH_SIZE = 128 EMBEDDING_SIZE = 128 NUM_SKIPS = 2 SKIP_WINDOW = 1 # how many ...
[ "sunstrikes@outlook.com" ]
sunstrikes@outlook.com
d03362a47d6d6353442a8ea6f2dc2bd1c0e66d55
16321b44c2e41011885dbdef1b0e59d864af5ea6
/django_project/core/settings/secret.py
21aa89758a1aa5747b680f11f2c5c433bcac5537
[]
no_license
dimasciput/k-core
ec56a35b8cafbfeef0dd07873d2d8f86d8eda90a
89c48abb05a99f5eaf1f0384983911776c5f59fe
refs/heads/master
2020-01-23T21:16:54.726880
2016-11-24T06:50:10
2016-11-24T06:50:10
74,568,202
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
SECRET_KEY = u'p$))kf5wvh5@6a%sr1pgy2ef+^pm%w2=8nu%@7j$21irf#$))r' # From https://disqus.com/api/applications/4529806/ COMMENTS_DISQUS_API_PUBLIC_KEY = u'sWCDf4qw6mZ5tYkM8CU7A5kqlxM74Ajaw5gilX64nPprp2q6yHJSUn5oUcrbMKCK' COMMENTS_DISQUS_API_SECRET_KEY = u'io50zkLU88M0PLscytLHtjDv4lwv0YjmRGQgNkumtdcC39jzTDQy8W8kj3EybLqf'...
[ "dimas.ciputra@gmail.com" ]
dimas.ciputra@gmail.com
dc10c7493c13150a07c5ac0c4635bf390286908a
e3cf0d111d70452c0b638305602ff86d20e1a5e3
/main/config.py
cffd399fa8aba8d0d235714f36bd4b460cd9d435
[]
no_license
arvind-pythonian/SpeechtoTextApp
76466984f33da1b4f0604030fba46fe91965f79d
db38a6b9eb8d6edb77b8c4cf29932b228f144162
refs/heads/main
2023-02-20T12:13:10.834894
2021-01-24T17:25:02
2021-01-24T17:25:02
332,506,840
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
import os class Config: SECRET_KEY = os.getenv('SECRET_KEY', '6575fae36288be6d1bad40b99808e37f') DEBUG = False class DevelopmentConfig(Config): DEBUG = True AUDIO_FILE_PATH = "../static/audio.wav" DB_URI = 'mongodb://localhost:27017/FirstSource' alias = "FirstSource" config_by_name = dict(...
[ "noreply@github.com" ]
noreply@github.com
3cb40052d5b48db7bd7a224e0951dd39fbf7a57f
e60551fa813ba03251c56d2cb32e05ccaa94e41a
/serviceapp/migrations/0003_auto_20191206_1909.py
cdf6b502ae1cc05b2f4ab172313100aab8a8008a
[]
no_license
OsotskiyD/Project
db9377b34fc3a82773d05087eae9cf5b6fb652b0
649c5462bb39036e7c388bf3a6bb3702b0977127
refs/heads/master
2023-04-30T23:12:54.421809
2020-02-25T18:19:54
2020-02-25T18:19:54
227,897,882
0
0
null
2023-04-21T20:42:21
2019-12-13T18:18:14
PowerShell
UTF-8
Python
false
false
1,212
py
# Generated by Django 2.2.7 on 2019-12-06 17:09 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ('serviceapp', '0002_qrcode_image'), ] operations = [ migrations.AddField( model_name...
[ "osdim345@gmail.com" ]
osdim345@gmail.com
7b266728414365e08539d698f1fec57f669a141d
8ebfd417afb3f00cb15e93f9da18a2894a606e35
/venv/bin/pip3.5
f5b99ed53805e12a0079a5f70d18146040f8222f
[]
no_license
LovePug-XC/vcstest
ebcbd6dc49317efa07a42cadc62db86c36df7f6e
d9dbba538089a2efae84205bc5024e372454d3e4
refs/heads/master
2023-03-12T19:25:52.037494
2021-02-24T11:50:32
2021-02-24T11:50:32
341,768,920
0
0
null
null
null
null
UTF-8
Python
false
false
407
5
#!/home/ubuntu/PycharmProjects/vcstest/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.5' __requires__ = 'pip==19.0.3' 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]) ...
[ "xc5712365@hotmail.com" ]
xc5712365@hotmail.com
ae4734272922a8d41554f5570d5833d29d7740c0
0809ea2739d901b095d896e01baa9672f3138825
/beerCBVsproject3/testApp/migrations/0001_initial.py
72344f678fe4183641576195edd65c14aa3c7c7d
[]
no_license
Gagangithub1988/djangoprojects
dd001f2184e78be2fb269dbfdc8e3be1dd71ce43
ea236f0e4172fbf0f71a99aed05ed7c7b38018e2
refs/heads/master
2022-11-15T23:46:46.134247
2020-07-15T06:37:51
2020-07-15T06:37:51
273,479,403
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
# Generated by Django 3.0.5 on 2020-04-24 18:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Beer', fields=[ ('id', models.AutoField(aut...
[ "djangopython1988@gmail.com" ]
djangopython1988@gmail.com
96550c1517a3e04a198172ba3e279731c9a7336f
644e757c9f552e90de39117b64a761a4b1606def
/rowcolremove.py
d201f4c6bfc3502b7fe21791170aac64f16eeed8
[ "MIT" ]
permissive
dnaneet/numcode
f25462ec19d937da0a9660790530290f31c3664c
7ec9345f65367a2690f4b9815d476e241edc2d52
refs/heads/master
2021-07-08T08:22:39.548533
2021-04-30T19:45:33
2021-04-30T19:45:33
80,352,271
0
0
null
2018-11-14T15:59:32
2017-01-29T15:01:24
Mathematica
UTF-8
Python
false
false
1,635
py
#Code to remove Multiple rows and columns from a numpy array import numpy as np from scipy.linalg import eigh import math from matplotlib import pyplot as plt import time import os os.system('clear') #Clear screen on linux. For Win, use os.system('cls') ## FUNCTION DECLARATION ## #SpringElementStiffness: takes lin...
[ "noreply@github.com" ]
noreply@github.com
b073ca66bee01aa9bba4709f2992bb837691dcb3
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/1059. All Paths from Source Lead to Destination.py
de52e533f8f61637d3245529f60d19e4f36de64a
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
class Solution: def leadsToDestination(self, n: int, edges: List[List[int]], source: int, destination: int) -> bool: graph = {} for a, b in edges: graph.setdefault(a, []) graph[a].append(b) if destination in graph: return False def dfs(a,visited):...
[ "19241008o" ]
19241008o
90abff95e3e909577912bafd39f808f9f8820ae7
17697a5d83991139de35524dc5369a67ebc48335
/left_view.py
4d50efb7fc33ccd8e1d3816a643b0c3c1db009f5
[]
no_license
troj4n/Trees
3f4c1f0b62fd79225fdf596f01adfd8695a73954
dbd5fbefb4a4b799b042fd8cdc0f613e86367397
refs/heads/master
2020-06-04T05:31:40.173514
2019-06-21T09:55:35
2019-06-21T09:55:35
191,889,687
0
0
null
2019-06-14T09:52:48
2019-06-14T06:41:10
Python
UTF-8
Python
false
false
809
py
# coding: utf-8 # Your code here! from collections import deque #initialise node class Node: def __init__(self,data): self.data=data self.left=None self.right=None self.hd=None def leftviewUtil(root,level,max_level): if root==None: return if max_level[0]<level: ...
[ "noreply@github.com" ]
noreply@github.com
a5a5ef88e3d6424a908136cfda1a14f892001be4
eafdedf7cfe4eff27ecf3e1a8ba466bc8a9802cd
/2021/problems/p4_2.py
325d86f6b1cb708c7de5dd138f78c85c7220f437
[]
no_license
mboylevt/adventofcode
4a75481554c0adf68be0bf5c80ff9b3e7f24a84b
6b1424856b72d8b18df154221d0b7c34e9ad0100
refs/heads/master
2022-12-24T12:20:09.630414
2022-12-20T14:06:15
2022-12-20T14:06:15
161,535,497
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
# input = open('../data/p5_test_data.txt', 'r') input = open('../data/p4_data.txt', 'r') # def parse_input(lines): numbers = [int(x) for x in lines[0].split(',')] card_input = lines[1:] parsed_cards = [] for card in card_input: parsed_card = [] rows = card.split('\n') for row i...
[ "matt.boyle@datadoghq.com" ]
matt.boyle@datadoghq.com
3684647e85d7029518b741f0f32f038ab315ca66
aa32e247ee53706de91bf0c3aa98cc7af5c07c48
/LQ/NTupleAnalyzer/ExtraScripts/GetNumberGen.py
93b421a2f09346c855547906d240d3a6e5d99e16
[]
no_license
darinbaumgartel/usercode
ddff50ce21fc3a40519da1883e337dd41e2ef07c
730dff45371d6695446146b454d7b82ae7c49e53
refs/heads/master
2021-01-02T23:07:15.163446
2013-10-15T15:49:08
2013-10-15T15:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,759
py
# Register your signal/BG types (these should also be directory names in your data directory) below, SignalType=[ 'LQToCMu_MuNuJJFilter_M_200', 'LQToCMu_MuNuJJFilter_M_225', 'LQToCMu_MuNuJJFilter_M_250', 'LQToCMu_MuNuJJFilter_M_280', 'LQToCMu_MuNuJJFilter_M_300', 'LQToCMu_MuNuJJFilter_M_320', 'LQToCMu_MuNuJJFilter_M_34...
[ "" ]
2ac05eb7b392163cce2a2c6d6ec70bb06ab9522c
314cf05e7acdfb2b83bf4a56de4ee65310bd28f2
/tests/outcomes/plot/hist/universal_tests/data_simple/pandas_column_string_plot_kind.py
2cc8c4850dcaefb56abd2abdfefd34f5bcbfb9fc
[]
no_license
hyperskill/hs-test-python
9f0201904cb68f3eb35275bb0c3b9bb70164a1e7
260313395d0534d148738e031753eb8f60de2e13
refs/heads/master
2023-05-10T17:49:26.400853
2023-04-26T11:49:52
2023-04-26T11:49:52
214,279,373
20
7
null
2023-04-26T11:49:53
2019-10-10T20:28:03
Python
UTF-8
Python
false
false
342
py
def plot(): try: import pandas as pd import numpy as np import matplotlib.pyplot as plt except ModuleNotFoundError: return df = pd.DataFrame(np.array([[1, 2], [2, 3], [3, 4], [4, 5], [5, 6]]), columns=['one', 'two']) df['one'].plot(kind='hist') ...
[ "aaaaaa2493@yandex.ru" ]
aaaaaa2493@yandex.ru
7a739e3752e95e948a98508bea948d514e69019d
00be19c8a76ebf622849153e01f632feee0119de
/w01/python/d03/ex03/advancedSolution.py
eb8147f03cdd9e0fa700219d3e9a8e2b552a7f9d
[]
no_license
NoahCardoza/july-programming-class
7f32717e114ff8747bb8fc05d99b506260352301
4853bd733524656737dfbca348dd572ce543c1ca
refs/heads/master
2020-03-22T06:22:30.457378
2018-07-16T00:19:24
2018-07-16T00:19:24
139,629,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,876
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import string as String from random import randint import sys import time def ascii_animition(ascii): numbers = "123456789" for i in ascii: ii = randint(0 , 10) sys.stdout.write(start + i + "\r") def encode(string): ascii_converted = [] as...
[ "noahcardoza@gmail.com" ]
noahcardoza@gmail.com
a4286e0f231b0aa4c205015f14184c9f6d79eaa0
9af938200576978207e1ac1cce35c258c48d1c8c
/Uncommitted Move up/test cases/Tofindhomeandmoveuplocation.py
cebc9de9549aefd003714d22f0118524ea36536a
[]
no_license
hxhhoney/Move-up-Model
ef3ebb22baf4dad61e3f61d73d2f0d1956609238
e4adff221acf73fc6b3e11ab2544af0479117796
refs/heads/master
2021-01-20T19:15:44.753088
2016-07-11T06:33:27
2016-07-11T06:33:27
63,041,905
0
0
null
null
null
null
UTF-8
Python
false
false
6,363
py
import os from os import listdir from os.path import isfile,join import os.path print "Let's begin" #(1)input path: os.path.abspath('Incident_Zone.txt') path=os.path.abspath('Data')+'\\' path1=os.path.abspath('Data\\Reco Logs')+'\\' path2=os.path.abspath('Data\\tracking')+'\\' #(2)class definition and ini...
[ "hxhhoney@gmail.com" ]
hxhhoney@gmail.com
9456192ec098923d15a8d3488c7e0a16124be1d2
d93d4f6aafc3f1ed4231d383fa68d9a98abe2721
/example/typefit_hn/models.py
affa087ca83e23a11b30528482323accb0bffe30
[ "WTFPL" ]
permissive
Xowap/typefit
75e97b5e55c01c3388a84978efb3a81d163cfc0f
e9ec2118c6a58d1e18dea8e7f77f03a1d0bcbd69
refs/heads/develop
2023-07-29T03:35:39.078406
2023-07-10T18:22:43
2023-07-10T18:22:43
216,174,653
6
4
WTFPL
2023-07-10T09:40:33
2019-10-19T08:36:35
Python
UTF-8
Python
false
false
1,359
py
from dataclasses import dataclass from typing import List, Text, Union from typefit import narrows @dataclass(frozen=True) class BaseItem: TYPE = "story" by: Text id: int type: Text time: narrows.TimeStamp def __post_init__(self): if self.type != self.TYPE: raise ValueEr...
[ "remy.sanchez@hyperthese.net" ]
remy.sanchez@hyperthese.net
e9f0ec2e8adee34fb51b985daa99fbd627f6bce7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2147/60653/284902.py
05e3a00b7c93ddf20d935b8f8c775eb59f891b1e
[]
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
3,915
py
a, b, c, d, e= map(int, input().split(' ')) if a == 100 and b == 109 and c == 79 and d == 7 and e == 5: print(27) print(52) print(80) print(50) print(40) print(37) print(27) print(60) print(60) print(55) print(55) print(25) print(40) print(80) print(52) pr...
[ "1069583789@qq.com" ]
1069583789@qq.com
f8e46515cb64e49cfff81f3359376afc25aed844
5ce4674eff447a80164540bdcbe7e3a694c94e2a
/db.py
0b504b5e26a7ae0a66d80188114a15ba98ae6fe2
[]
no_license
Team-GreenNarae/Vegan-projecct
4f5ca6f808da129ab2bfc5f70fe94e5f1515eaf5
fc1b7f635ed825b3f2cdba4e68dea64bdf1d7dc1
refs/heads/master
2023-07-24T14:51:41.429135
2021-08-27T02:12:17
2021-08-27T02:12:17
399,812,484
0
0
null
null
null
null
UTF-8
Python
false
false
3,303
py
import sqlite3 import pandas as pd from numpy import dot from numpy.linalg import norm import numpy as np import os #디렉토리 from scipy import stats from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics.pairwise import linear_kernel def cos_sim(A, B): return dot(A, B)/(norm(A)*norm(B))...
[ "tony7943@naver.com" ]
tony7943@naver.com
f81125fc63ddbb2ad0664256811f1098fe2af2ec
bb1e0e89fcf1f1ffb61214ddf262ba327dd10757
/plotly_study/graph_objs/parcats/line/colorbar/__init__.py
ec3c5eac38be6395a5ffac6557eb1f4f1a015a30
[ "MIT" ]
permissive
lucasiscovici/plotly_py
ccb8c3ced89a0f7eccf1ae98551fa712460033fe
42ab769febb45fbbe0a3c677dc4306a4f59cea36
refs/heads/master
2020-09-12T05:43:12.363609
2019-12-02T15:13:13
2019-12-02T15:13:13
222,328,180
0
0
null
null
null
null
UTF-8
Python
false
false
25,140
py
from plotly_study.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Title(_BaseTraceHierarchyType): # font # ---- @property def font(self): """ Sets this color bar's title font. Note that the title's font used to be set by the no...
[ "you@example.com" ]
you@example.com
1b4aa7f01f4fbebc7753c4779b569bc5d7f01c8e
403d1ecf149e080d1d6b90047f60a8d2a4fe4042
/workspace/discovery_iam/centralrepo/cloudletcatalog/iam_proxy.py
e8e0231ee7fa83e69ddf1e367b4aad2eab6de6f6
[]
no_license
xbrlware/flaskApp
95ae540c853987731bac11fdcc6bdcef793e43c0
7fcaf701cf9a6ca1207dc31623e966f9cca81f51
refs/heads/master
2021-01-24T01:51:59.958564
2017-09-07T08:54:50
2017-09-07T08:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,768
py
import requests import json import httplib from logger import LOG_INFO, LOG_WARN, LOG_CRIT, LOG_DEBUG, LOG_ERR from iam_proxy_common import SingletonMetaClass, ERROR_CODE, REQUEST_STATUS import global_config # from iam_proxy_common import SingletonMetaClass, ERROR_CODE, REQUEST_STATUS # import global_config class O...
[ "Ajay.Rathour@thesmartcube.net" ]
Ajay.Rathour@thesmartcube.net
1ab108ce91dc4bb2e4fca8ffa23954e1f02ac0a8
4bbe68dae101976088962a13bd8f547b6731ba99
/chargebee/models/__init__.py
7f11884173ac95d1939d8d79c1f4841113428e6b
[ "MIT" ]
permissive
CBitLabs/chargebee-python
1c08dfe26a3f76feb816d27c8c7558ff9dbbb3be
3f93545f94b83bccb59274a61ea2416231c739ff
refs/heads/master
2021-07-14T19:57:06.730943
2021-01-15T14:48:51
2021-01-15T14:48:51
69,417,279
0
0
MIT
2021-01-15T14:48:52
2016-09-28T02:24:23
Python
UTF-8
Python
false
false
1,938
py
from chargebee.models.addon import Addon from chargebee.models.address import Address from chargebee.models.card import Card from chargebee.models.coupon import Coupon from chargebee.models.coupon_code import CouponCode from chargebee.models.coupon_set import CouponSet from chargebee.models.customer import Customer fro...
[ "goutham@chargebee.com" ]
goutham@chargebee.com
d78e9caf936a897080e27fa893980c29c39c9ba0
60eb98538025c61cf94a91f6c96f9ee81dcd3fdf
/monai/handlers/utils.py
4ebaca22105c34065240fe055d9ccd7373d93806
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
gagandaroach/MONAI
167e7746995d4b6136731881e22ad4df333b16a9
79b83d9fac41efae9b90ed2f9ad078d6d664bf64
refs/heads/master
2023-06-02T19:54:47.737846
2021-06-24T18:34:02
2021-06-24T18:34:02
270,741,899
0
0
Apache-2.0
2020-06-08T16:29:32
2020-06-08T16:29:31
null
UTF-8
Python
false
false
10,847
py
# Copyright 2020 - 2021 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wri...
[ "noreply@github.com" ]
noreply@github.com
a93d68f6e91c72c84c5825dc28f7c693c1fc473f
d5c8978aad0848a9266985e640a82c784863a949
/cek-relay.py
78f50bd1fb3fe83e5eb1d0c8c545dbe0a64e49a6
[]
no_license
FosterG4/iotset
2f8351a1ea60707ea6977fd181af9dfdaf14902e
8e6bd1643be2486d35a4d4c062a26bfccbf709da
refs/heads/main
2023-02-15T04:21:29.381740
2021-01-06T08:16:25
2021-01-06T08:16:25
327,211,816
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) # Relay 1 GPIO.setup(23, GPIO.OUT) # Relay 2 GPIO.setup(27, GPIO.OUT) try: while True: GPIO.output(23, GPIO.HIGH) print('Relay 1 ON') time.sleep(1) GPIO.output(27, GPIO.HIGH) print('Relay 2 ON') time.sleep(...
[ "whoami@localhost.localdomain" ]
whoami@localhost.localdomain
2bbaa89d402a6eb65963ac684ec165e5c51cde99
092056c026f3ef162c31bca004a596bbe78948e9
/w261/wk5/mrjob_hw53_1.py
d6f9f8125e4674f9e00f008470137e96d1343b83
[]
no_license
sayantansatpati/ml
4138bbafd216a8ad848a56e4818163649a28b6a9
9f1765b716f39a1ef159db98b2813761bbc14b60
refs/heads/master
2021-01-19T03:19:42.734130
2019-03-12T15:44:15
2019-03-12T15:44:15
36,243,314
4
0
null
null
null
null
UTF-8
Python
false
false
828
py
from mrjob.job import MRJob from mrjob.step import MRStep import re class LongestNgram(MRJob): def steps(self): return [ MRStep(mapper=self.mapper_ngrams_len, reducer=self.reducer_ngrams_len), MRStep(reducer=self.reducer_find_max_ngram) ] def mapper...
[ "sayantan.satpati.sfbay@gmail.com" ]
sayantan.satpati.sfbay@gmail.com
614a6e94fb44b460385d3767eb2b2f5d5f9c8ddb
2df54e0fafa673a7f45993aa77ce146f4d02f6a8
/tests/test_obca.py
a5e04bc44401d3851701cb59e0eb944e0a9d52fa
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lixianqiang/PythonRobotics
f91b29b8f901fb3daf96eb1c91ef95221cc292c6
54b04bc7c26ba3e9c4f26c8c68d2bee717769beb
refs/heads/master
2023-08-31T14:14:18.098447
2023-08-25T06:17:44
2023-08-25T06:17:44
211,365,102
0
1
NOASSERTION
2023-08-23T09:27:10
2019-09-27T16:59:33
Python
UTF-8
Python
false
false
1,791
py
import unittest import numpy as np from OBCA import obca from pypoman import compute_polytope_halfspaces class Test_GetHyperPlaneParam_Function(unittest.TestCase): def test_outside_of_obstacle(self): obj = [(-1, 2), (0, 3), (3, 2), (1, 0), (-1, 2)] A, b = obca.GetHyperPlaneParam(obj) x = ...
[ "lxq243808918@gmail.com" ]
lxq243808918@gmail.com
88f3b669420e09a471b30e12dd045dece53ef2e2
46cab0e50e9c78f93d136fafb3e395e38b81c19a
/fluxrss.py
87a67daf0d0d53062442b6c18a66af0ea645b139
[]
no_license
sofiane-mokhtari/challengeHEC-COS_first_step
5ad9757ffa0b17ba9d61ca302961c68b07bc7718
c911a6114cf708009d906ad62c996d452f91059e
refs/heads/master
2020-04-15T17:33:46.843007
2019-01-19T10:32:39
2019-01-19T10:32:39
164,876,127
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
import requests, re def get_txt_from_site(): tout = [] response = requests.get('https://www.journaldumali.com/feed/') for txt in re.findall("(<p>)(.+)(<\/p>)", response.text): tout.append(txt[1]) return (tout) r = requests.get("https://restcountries.eu/rest/v2/all") print(r.json())
[ "35307774+sofiane-mokhtari@users.noreply.github.com" ]
35307774+sofiane-mokhtari@users.noreply.github.com
24623f2753dd30b76f425e415fe43d28c3f58ed0
eafa0672ca99a9856c388cb291cd41f309822da2
/robot-server/robot_server/service/models/json_api/errors.py
424a3c42eaed98e67c8aa2926819c8e7171ec7a2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
chiloux/opentrons
3441c9d8a4acd682afe5590826f70282d16978b9
8556e87ebfeb318b2c3c52fbeb4a4ad98d4c826e
refs/heads/master
2022-06-02T14:00:49.272754
2020-04-23T17:57:38
2020-04-23T17:57:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,533
py
from typing import Optional, List, Dict from pydantic import BaseModel, Field from .resource_links import ResourceLinks class ErrorSource(BaseModel): pointer: Optional[str] = \ Field(None, description="a JSON Pointer [RFC6901] to the associated" " entity in the req...
[ "noreply@github.com" ]
noreply@github.com
4e62912b28acbf7548da094e1bc6414ad0494487
c5e78779565139c59372a7a121c80c05d295faa6
/(speech)CNN_degradation_detector.py
cc479590ffec0b926aa92a14022c5d45591d944f
[]
no_license
yukisan0718/CNN_degradation_detector
6047d1b5b055817ebac59ec4f156f959508d9d93
88db77a5504f59fadacdd5a03e42978942fe8686
refs/heads/master
2022-09-24T21:29:17.549071
2020-06-05T04:55:32
2020-06-05T04:55:32
269,533,994
1
0
null
null
null
null
UTF-8
Python
false
false
25,602
py
#!/usr/bin/env python # coding: utf-8 import soundfile as sf import matplotlib.pyplot as plt import numpy as np from scipy import signal as sg import os import sys import time import glob import gc import h5py import math import random from tensorflow import config from tensorflow.keras import backend from tensorflow....
[ "yuki-saishu1013@outlook.jp" ]
yuki-saishu1013@outlook.jp
ba3735ce85ff98c1207cea5f7fb64581dc6899ad
a86877bb3c786dc7b3f0ae7042002bddc34b55e2
/validator_balance.py
c1b2c04729e27fa8fd1725c9149f18b51bc476b4
[]
no_license
Toruitas/validator_balance
6ead03d848001a5bfce99cbe37e46f61ba7b2e72
f9a7fa9d3c4b96f39cbfeb87026d1d17f918379b
refs/heads/main
2023-04-03T00:03:38.125098
2021-04-05T06:55:12
2021-04-05T06:55:12
320,023,532
0
0
null
null
null
null
UTF-8
Python
false
false
9,000
py
import os import requests import time import math import pathlib from datetime import datetime, date, timezone from signal import signal, SIGINT from sys import exit import pandas as pd from coinbase.wallet.client import Client def handler(signal_received, frame): # Handle any cleanup here print('SIGINT or CT...
[ "Toruitas@gmail.com" ]
Toruitas@gmail.com
2678d77fed1226a6cd4934656ab9ca6859e5298c
4c7f9f8048af21d19a7fead24649e34e6351a585
/Trees/0437E-Trees_PathSum3.py
691f966ecc3d8cc9b98c4f02abb1ae1ce3cd3b8a
[]
no_license
prashuym/IKPrograms
f374e0cf36d48a2af0ad0bed62d18ed40a3a0e3b
9f041c71a0e16a4e573cd631a133fa828882cac2
refs/heads/master
2023-05-04T03:34:30.711315
2021-05-16T20:01:43
2021-05-16T20:01:43
367,973,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
""" 437. Path Sum III https://leetcode.com/problems/path-sum-iii/ You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need to start or end at the root or a leaf, but it must go downwards (traveling only from parent nodes to chil...
[ "prashanth.ym@gmail.com" ]
prashanth.ym@gmail.com
825f86ddf91c727bd5b1653cd7c3ca38f4092a48
4ca98884a7f50fba5a52faecaa078887fd0f7027
/main.py
31272f4af8ebdd1c1ce4b990f9b8fb5dbb0ecdd7
[]
no_license
Shoulders93/robots_vs_dinos_proj
7443c2d7aaf6eedea786ce33a7cbd6d0078916cc
dba4f9662502b2e4dd14557bdea2d5f3984267d2
refs/heads/main
2023-07-02T10:22:08.462903
2021-08-11T21:08:23
2021-08-11T21:08:23
394,742,106
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
# MAIN: Controller/Initator of Application # Author: Kory Attleson # Create Date: August 10, 2021 # Imports: from battlefield import Battlefield # ** Instantiation of Objects battle_one = Battlefield() index = 0 while (index <= 2 ): battle_one.battle_round(index) index += 1
[ "kory.attleson@gmail.com" ]
kory.attleson@gmail.com
0a67f22bf611349ea64dd4a19978048e26fc6ecd
bc295af499fcd312bdc4f2b1b5a9795297e356ee
/Tools/ProjectTemplate/gen_project.py
1fabcdd3c5a55f716ddef80187ffab51dd6a2de7
[ "MIT" ]
permissive
r-koubou/KSPCompiler
744756060b5dd0b71c09109647d2e1301b2f3d62
bc1956c98d84e0e36830b1aa0f910fcf86b2e044
refs/heads/develop
2022-10-09T03:57:46.240107
2022-09-30T21:00:04
2022-09-30T21:00:04
327,079,773
0
1
MIT
2022-09-30T21:00:05
2021-01-05T18:05:16
C#
UTF-8
Python
false
false
2,205
py
import os import sys import re AUTHOR = 'R-Koubou' PROJECT_NAME_PREFIX = 'KSPCompiler.' TARGET_LANGVERSION = '10' TARGET_FRAMEWORK = 'netstandard2.1' REPO_URL = 'https://github.com/r-koubou/KSPCompiler' PROJECT_TYPE_MODULE = 'module' PROJECT_T...
[ "dev.r.koubou@gmail.com" ]
dev.r.koubou@gmail.com
7ec60c9aaf44e817a790fadc0527baa4d6712d68
377dc973a58d30154cf485de141223d7ca5424dd
/havok_classes/hclBoneSpaceMeshMeshDeformPOperator.py
caf24857b50a0bf6d6d6365702255e1558e84921
[ "MIT" ]
permissive
sawich/havok-reflection
d6a5552f2881bb4070ad824fb7180ad296edf4c4
1d5b768fb533b3eb36fc9e42793088abeffbad59
refs/heads/master
2021-10-11T12:56:44.506674
2019-01-25T22:37:31
2019-01-25T22:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
from .hclBoneSpaceMeshMeshDeformOperator import hclBoneSpaceMeshMeshDeformOperator from typing import List from .common import get_array from .hclBoneSpaceDeformerLocalBlockP import hclBoneSpaceDeformerLocalBlockP from .hclBoneSpaceDeformerLocalBlockUnpackedP import hclBoneSpaceDeformerLocalBlockUnpackedP class hclBo...
[ "kevin@turtlerockweb.com" ]
kevin@turtlerockweb.com
b493f45018a023f4c471707e7d525822ac064772
16d98f5cc4c82e94b1dbb7fb8a7cc79b97d8490e
/try.py
8e86562a1022deea1a5c8a401ea843f463e59e83
[]
no_license
VitalyLub/WhatsApp
b67f670d123bf9683023a31c2868edf696831c60
1de7874aece1f062f47c171c07f4cb36b66c2126
refs/heads/master
2020-03-31T05:17:55.428803
2019-07-15T13:40:18
2019-07-15T13:40:18
151,940,561
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from time import sleep import urllib.request chromedriver = "C:\\Users\\DELL\\Desktop\\chromedriver_new.exe" driver = webdriver.Chrome(chromedriver) print(1) sleep(2) driver.get("https://www.ynet.co.il/") print(2) sleep(2) driver.execute_s...
[ "vitlub@gmail.com" ]
vitlub@gmail.com
6068a2355da2e16dda6e8c8ff1e8707c9f2103dc
5d8f77c5bc7e48287b0f1a85ec6c907cc559b51d
/examples/test_remap.py
d4cae9fc7af73e1510339fa38c4bd3d33f7af8da
[ "BSD-3-Clause" ]
permissive
Keck-FOBOS/enyo
7be008a58a930fd468b4a42eadb9fe1b6fe87238
82dd4324083d456c78bcbafdd081bee53f0c7ba9
refs/heads/master
2021-06-06T15:35:50.362217
2020-05-07T18:39:49
2020-05-07T18:39:49
142,364,108
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
import numpy from matplotlib import pyplot from enyo.etc import spectrographs tmtb = spectrographs.TMTWFOSBlueOpticalModel() test_img = numpy.zeros((100,50), dtype=float) wave0 = 3110. pixelscale = 0.05153458543289052 dispscale = 15 #0.1995 test_img[20,:] = 1 test_img[60,:] = 1 test_img[:,10] = 1 test_img[:,30] = 1...
[ "kbwestfall@gmail.com" ]
kbwestfall@gmail.com
0053a3e99d0f634ff943c57913d718871bd4c2db
62b17976af83cb1d50ea68c628b2bc9cadc03e01
/Python Program/Python progamming 56.py
36693ca35c5f006f3c2d2bedcb20cd73ad821f5e
[]
no_license
CDinuwan/Python
16a7efa0c6c697ff3ae21ca28c9ba8e602e626f9
5777b7e4c9e32cd3fe3fd6e145644b2e7bab4b8a
refs/heads/master
2020-09-27T17:07:07.045210
2020-01-02T21:05:55
2020-01-02T21:05:55
226,565,691
4
0
null
null
null
null
UTF-8
Python
false
false
363
py
from threading import * from time import sleep class Hello(Thread): def run(self): for i in range(5): print("Hello") sleep(1) class Hi(Thread): def run(self): for i in range(5): print("Hi") sleep(1) t1=Hello() sleep(0.2) t2=Hi() t1.start() t2...
[ "noreply@github.com" ]
noreply@github.com
066aca54dc4e77f1df2ebfed38e74746bed83ef5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/MNePwAcuoKG9Cza8G_9.py
ca7802d54b45b17f9c0920804d670942c9f44253
[]
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,065
py
""" Create a function that builds a staircase given the height and the type of building block. ### Examples build_staircase(3, "#") ➞ [ ["#", "_", "_"], ["#", "#", "_"], ["#", "#", "#"] ] build_staircase(4, "#") ➞ [ ["#", "_", "_", "_"], ["#", "#", "_", "_"], ["...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3a67dfbb83beaadc84afff4128c56fbf545219a6
3970706a16be81a63b2476222c1b061da9f11b70
/estimator/trainer/model.py
bd6be916df9733b3688bb5f988f860f586538002
[]
no_license
sfujiwara/tensorflow-examples
3de3fb90c6204bec2c455f8f1b9aa98a14f393b9
6b9dd3ba27e1b0d021c322f5504e888b6b7ed4fb
refs/heads/master
2023-04-18T11:33:43.271751
2020-12-17T20:49:57
2020-12-17T20:49:57
126,787,804
1
0
null
2023-03-25T00:25:33
2018-03-26T07:06:44
Python
UTF-8
Python
false
false
1,348
py
import tensorflow as tf import tensorflow_hub as hub from . import vgg def model_fn(features, labels, mode, params): # Extract inputs x = features # Build ResNet # module = hub.Module( # 'https://tfhub.dev/google/imagenet/resnet_v2_50/feature_vector/1', # trainable=True, # ta...
[ "shuhei.fujiwara@gmail.com" ]
shuhei.fujiwara@gmail.com
061b1affaf6cf7ed68f4aac28a116e5504741a63
73dc835b32320a9b77de94233d61b6dd63626a0d
/AnnScratch/Optimization_derivatives.py
2a7c0dfd24f2ce57672f3daa30ce071d9ede680a
[]
no_license
Yamassindir/DLScratch
2b5105b8945e276451667ad580604c5feb9c2b07
1ca9de3cc973da6cb94f2a53e187396f6fdb8ae6
refs/heads/main
2023-09-04T12:42:30.005495
2021-10-24T11:41:25
2021-10-24T11:41:25
420,666,459
1
0
null
null
null
null
UTF-8
Python
false
false
2,415
py
import numpy as np import nnfs from nnfs.datasets import spiral_data import matplotlib.pyplot as plt nnfs.init() #Mean Absolute Error #One-hot coding classes: 5 label: 3 One-hot Vector : [0,0,0,1,0] => dim 5 and 1 in position 3 #target class e.g : 0 - dog 1 - cat 2 - human then: class_target[dog,cat,cat] => [0,1,1] ...
[ "elayadiyassir@gmail.com" ]
elayadiyassir@gmail.com
f5e0aeb169439c5f1239907db60154effacdcfcf
0b83ee211ed07f8bc71c30526e9a753509455c0f
/PSI_3/zad5.py
da29ddcbe6c3d8511b7f0474f49dcddd5fd1034e
[]
no_license
bopopescu/PSI
725ba600507efa0237bed5c254d6663a2ca51379
842e4562c62aee2adbd460f30c72e8e8062d0d2b
refs/heads/master
2022-11-20T08:30:22.950258
2020-01-27T20:26:18
2020-01-27T20:26:18
281,215,924
0
0
null
2020-07-20T20:11:58
2020-07-20T20:11:57
null
UTF-8
Python
false
false
402
py
# Stwórz klasę Calculator, która będzie posiadać funkcje add, difference, multiply, divide. class Calculator: def __init__(self, a, b): self.a = a self.b = b def add(self): return self.a +self.b def difference(self): return self.a - self.b def multiply(self): ...
[ "mateusz.suchodolski@op.pl" ]
mateusz.suchodolski@op.pl
06420430580006854788cf4a3ce0ea532bcc0bc0
09f349ef909cfebeceb53b7fe19c42d1921a0336
/dayoweek.py
9d8c71c9c445205e03d5bcb177ba4b7b05c41709
[]
no_license
Ktoh20/CS550
400812a5d179d0ff6d76318c47c5be54efdbf206
394a26ce9dd553de98725646109e15c131d71514
refs/heads/master
2020-03-28T06:16:57.388267
2019-01-17T15:05:23
2019-01-17T15:05:23
147,824,781
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
m = int(input("month:")) d = int(input("day:")) y = int(input("year:")) yo = y - (14 - m) / 12 x = yo + (yo / 4) - (yo / 100) + (yo / 400) mo = m + 12 * ((14-m) / 2) - 2 do = ((d + x + (31 * mo) / 12) % 7)//1 if do == 0: print("Sunday") if do == 1: print("Monday") if do == 2: print("Tuesday") if do == 3: print("...
[ "kyn@Kyns-MacBook-Pro.local" ]
kyn@Kyns-MacBook-Pro.local
d4cc56e909f5dd97a9a4bdffe759695a086e3c64
ce5c8734d0a1d9514b2060fad1415ff2de08f39d
/swapping.py
1e0b279aa423b056bd6de24329bd188e31612aae
[]
no_license
adarshranjan97/basic-c-programs-
2cb45118933651bb84173570751d7654ab2f1950
086228c14a608663a8552265c842794e524c95c2
refs/heads/master
2020-12-11T09:39:39.559913
2020-02-09T13:44:49
2020-02-09T13:44:49
233,811,337
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
x = input('Enter value of x: ') y = input('Enter value of y: ') temp = x x = y y = temp print('The value of x after swapping: {}'.format(x)) print('The value of y after swapping: {}'.format(y))
[ "adarshranjan97@gmail.com" ]
adarshranjan97@gmail.com
0650ddd5b53ae894b14710e57667b03be6394595
45b2841f0897ed8f4b6a9212d114f4b3fcbd9ccb
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
3eb7e2a2aa46223038b55076f7aab60fe2818aa8
[ "MIT" ]
permissive
Marina294/React-redux-lab
60a73c23d6adfa32dae682831c91bae15e54479f
ae47235ecc55687a09c18cdd168211dfe5f109fe
refs/heads/main
2023-03-21T00:43:42.234350
2021-03-16T03:59:58
2021-03-16T03:59:58
347,878,561
0
0
null
null
null
null
UTF-8
Python
false
false
5,705
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "69162947+Marina294@users.noreply.github.com" ]
69162947+Marina294@users.noreply.github.com
4a21cfe915d4331d57e62f089173967a54428c0d
4999cd60fc1f798ffbd52520949db001f2e2303f
/13_jinja2/task_13_1.py
3b587286020a872754b92f6813d31b7cd0f56a6c
[]
no_license
AntonGorynya/PyNeng
d22b3052c5b719b09899d7fd8d37a82ac25208a6
3b48f962bdfccd5093351003b220595f80bfb3ae
refs/heads/master
2021-01-19T11:11:55.235126
2017-08-09T16:07:08
2017-08-09T16:07:08
87,942,049
1
0
null
null
null
null
UTF-8
Python
false
false
461
py
#! /usr/bin/python3 # -*- coding: utf-8 -*- from jinja2 import Environment, FileSystemLoader import importlib import yaml import sys #importlib.reload(sys) #sys.setdefaultencoding('utf-8') TEMPLATE_DIR, template = sys.argv[1].split('/') VARS_FILE = sys.argv[2] env = Environment(loader = FileSystemLoader(TEMPLATE_DI...
[ "antongorynya1@gmail.com" ]
antongorynya1@gmail.com
cce8ac41c03f69087d7d505aa9aed578f35c342c
c825435a97fc241cfdd9293ee997affbf4119cb3
/visualizer/0007_auto_20160419_0857.py
4af623a32ce7e528563b4e8b4a91c85cbc7efec6
[]
no_license
mousahakim/agviewer
4d1897a639b1dba8fa760f99fe9090901b6b3097
a9daf0cde4d9e85c9315b46e725fa3d721e01e69
refs/heads/master
2021-06-04T00:28:24.290084
2018-11-07T07:07:44
2018-11-07T07:07:44
106,172,707
1
0
null
2017-10-08T12:51:49
2017-10-08T11:57:00
JavaScript
UTF-8
Python
false
false
646
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('visualizer', '0006_auto_20160419_0855'), ] operations = [ migrations.AlterField( ...
[ "ubuntu@ip-172-31-45-143.us-west-2.compute.internal" ]
ubuntu@ip-172-31-45-143.us-west-2.compute.internal
f4f528b083b136208c8546a7389e46a52d973736
503d0beaa32bd9857cf4a3462b7b7a681b09037c
/library/bigip_iapp_template.py
ca029990e4e76e3065fb8401ce8f3326584e82c8
[ "Apache-2.0", "GPL-3.0-or-later", "LicenseRef-scancode-unknown", "GPL-3.0-only" ]
permissive
jmcalalang/Ansible_Meetups
8e22f747a3f0d3dd3d988a8eb09543324d8f0959
61aef7bace967f8917fd1967ba1387e58b4c980e
refs/heads/master
2021-01-19T16:08:53.691831
2018-08-03T16:34:52
2018-08-03T16:34:52
100,988,119
5
14
Apache-2.0
2018-02-20T04:50:27
2017-08-21T20:04:12
Python
UTF-8
Python
false
false
16,094
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2016 F5 Networks Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # ...
[ "jon.calalang@gmail.com" ]
jon.calalang@gmail.com
3511790acca16e8cc73a8ff397d295a53cd4b859
b961f30a5da2df0e9d95f30437bd907a7f61dd1c
/graph.py
7c24c8c9ab3957b8d87942ee2da9d3e5a4bdd1ee
[]
no_license
MariBit/IADS
c6beb1dcf0988fb6ca22eb52e4456becf0ad9008
20dc451fa49cc2f967f81e0ab49a601d1c7fd61c
refs/heads/master
2022-09-30T13:57:14.236448
2020-06-07T13:19:38
2020-06-07T13:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,489
py
import math import sys # helper function: calculate euclidean distance between points p and q def euclid(p, q): x = p[0] - q[0] y = p[1] - q[1] return math.sqrt(x * x + y * y) class Graph: # parse two kinds of graphs based on the value of n # n= -1 case: read points in the Euclidean plane -> Eucl...
[ "noreply@github.com" ]
noreply@github.com
27a9b38fa69c18095d013a8153b8a12d533a2341
18b3ad3b0e1f7f10969738251e1201d01dfbc6bf
/Public/2.py
4a180e054c6e709e9b52ab4d83503fae30a566e1
[]
no_license
sahthi/backup2
11d509b980e731c73733b1399a8143780779e75a
16bed38f0867fd7c766c2a008c8d43b0660f0cb0
refs/heads/master
2020-03-21T12:39:56.890129
2018-07-09T08:12:46
2018-07-09T08:12:46
138,565,151
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def Ab(a,b): try: c=((a+b)/(a-b)) except ZeroDivisionError: print "a/b result in 0" else: print c Ab(2,3) Ab(3,3)
[ "siddamsetty.sahithi@votarytech.com" ]
siddamsetty.sahithi@votarytech.com