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
a00ef8bfae88bf48b77d5252a64432fef1551793
5bf245e55b756ca3e664d857f36db092855c7a98
/externals/pyriemann/utils/base.py
fd883f69f94e6611d19cef41320bb2f1fb565825
[ "BSD-3-Clause" ]
permissive
kingjr/decoding_challenge_cortana_2016_3rd
b264fabbe8fb2f3788d11dc2c4deebcf217a64a5
26c2ebf5200b5a5cd268fa73ac3928d7257d08d3
refs/heads/master
2021-01-20T17:54:12.617430
2016-07-13T22:31:58
2016-07-13T22:31:58
63,120,115
10
2
null
null
null
null
UTF-8
Python
false
false
3,729
py
import numpy import scipy ############################################################### # Basic Functions ############################################################### def sqrtm(Ci): """Return the matrix square root of a covariance matrix defined by : .. math:: \mathbf{C} = \mathbf{V} \left(...
[ "jeanremi.king+github@gmail.com" ]
jeanremi.king+github@gmail.com
f2ce158f2e07d179637d6c3bfff26bcf5693f6fb
66122f35551335b943f0b05a3f912b1a26a3f2ac
/instagram/converters.py
c2c6188cfa44c02a86847db70e72ecdadc2698ee
[]
no_license
noname2048/django-prac-001
33d1a6d35927045a50e588906215b662aa2a3931
fc8f4f07d09167dc9c4882689a6652cb6a915c14
refs/heads/master
2023-03-05T19:56:09.096676
2021-02-05T22:23:49
2021-02-05T22:23:49
336,402,409
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
class YearConverter: regex = r"\d{4}" def to_url(self, value): return str(value) def to_python(self, value): return int(value) class MonthConverter(YearConverter): regex = r"\d{1,2}" class DayConverter(YearConverter): regex = r"[0123]\d"
[ "sungwook.csw@gmail.com" ]
sungwook.csw@gmail.com
32cf0fed67a78f26ecb8015cb0e8533c56baa142
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/tests/unit/modules/storage/netapp/test_netapp_e_facts.py
11842124c3f80a8126ee847983a01d9a73138d0f
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
49,757
py
# (c) 2018, NetApp Inc. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible_collections.notstdlib.moveitallout.plugins.modules.netapp_e_facts import Facts from ansible_collection...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
16ecd84cb8786f5dd79b88a6eb76cf8350e65d82
ddb3656fbacef606ac3cfa53eb74a99be90202cd
/selfdrive/loggerd/SConscript
2adcfb846cf1e5165e1e3dcebb38711ed1f83e7b
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
ErichMoraga/openpilot
f70b353099d3643c9f8d16fb8003811418c95656
2f73be29651e34e62eaf18472f9219cea57c177a
refs/heads/812
2023-08-02T16:58:57.870050
2023-07-20T17:33:41
2023-07-20T17:33:41
140,953,335
58
77
MIT
2023-07-30T15:33:18
2018-07-14T14:41:16
C
UTF-8
Python
false
false
1,021
Import('env', 'arch', 'cereal', 'messaging', 'common', 'visionipc', 'gpucommon') logger_lib = env.Library('logger', ["logger.cc"]) libs = [logger_lib, common, cereal, messaging, visionipc, 'zmq', 'capnp', 'kj', 'z', 'avformat', 'avcodec', 'swscale', 'avutil', 'yuv', 'bz2', 'OpenCL'] src = ['l...
[ "user@comma.ai" ]
user@comma.ai
9985294cca51d98586736c061ab0b82f34b30888
597b82737635e845fd5360e191f323669af1b2ae
/06_python_OOP/mathdojo/mathdojo.py
d24e1146f8aa9f530116fa0d039ad43d28e1f615
[]
no_license
twknab/learning-python
1bd10497fbbe181a26f2070c147cb2fed6955178
75b76b2a607439aa2d8db675738adf8d3b8644df
refs/heads/master
2021-08-08T08:50:04.337490
2017-11-10T00:28:45
2017-11-10T00:28:45
89,213,845
0
1
null
null
null
null
UTF-8
Python
false
false
6,160
py
########## # # MathDojo Assignment - Tim Knab - Sept 2016 # ########## ''' /////////////// // QUESTIONS // /////////////// # QUESTION 1: Any idea why my result() method gives me this error? `TypeError: 'int' object is not callable` # QUESTION 2: Is there any way I could refactor this code? ''' class Math...
[ "natureminded@users.noreply.github.com" ]
natureminded@users.noreply.github.com
4d4230b546411c2dba840e11c1cefd1e62aa800a
bf58599faee5052ad3ca70cf1d7a4b3713efc3cb
/music/models.py
215a164aba1300bf68382fb72aac66eef3ec4200
[]
no_license
surajkumarbhagat71/mymusic
d69f71af93f0c5bb9ad390b438986872ad5aa841
5793cbe91bdcbfb5ee1096a8bb5e8f463b1f14ad
refs/heads/master
2023-03-12T05:18:11.377120
2021-03-04T11:19:12
2021-03-04T11:19:12
344,448,429
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
from django.db import models # Create your models here. class Category(models.Model): cat_id = models.AutoField(primary_key=True) title = models.CharField(max_length=200) def __str__(self): return self.title class Music(models.Model): music_id = models.AutoField(primary_key=True) song_...
[ "surajkumarbhgat71@gmail.com" ]
surajkumarbhgat71@gmail.com
e00893536d8a5ba9999c0791f7b71752f41aa792
0717c8bf08f7be5fc06d4fe839d48ec62593eb7f
/gengue_shop/config/urls.py
273f1abb48b8877d5ce763742980bc6dbf82795e
[]
no_license
gengue/gengue-shop
e3a9ed61762ef6ebfcda330e9e239c57b2faf1f1
49e302b93128d9b23a5c4af2573f065a928f298a
refs/heads/master
2021-01-13T08:22:56.398279
2016-09-27T10:02:45
2016-09-27T10:02:45
69,321,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from django.conf.urls import include, url from django.contrib import admin from django.views import defaults from django.conf import settings from django.conf.urls.static import static from django.views.generic import TemplateView urlpa...
[ "genesisdaft@gmail.com" ]
genesisdaft@gmail.com
507207c4fed3e2faa54b38f283df30ea292fb210
dde47e757247095eca45c9d743a0e1a1530f6ef7
/postgres/python/main.py
2663ed44867d9cfd2006e1a487750bfd48a6c524
[ "CC0-1.0" ]
permissive
dataength/extracting-data-from-various-sources
e7c223ce6add600f6fb8e95d2d8367e57cf4fa53
685286641df5b70dd1fc69f3544e2abbb080d197
refs/heads/main
2023-07-18T00:14:44.267681
2021-09-06T14:44:48
2021-09-06T14:44:48
400,954,067
1
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
import configparser import csv import psycopg2 if __name__ == "__main__": parser = configparser.ConfigParser() parser.read("pipeline.conf") dbname = parser.get("postgres_config", "database") user = parser.get("postgres_config", "username") password = parser.get("postgres_config", "password") ...
[ "zkan.cs@gmail.com" ]
zkan.cs@gmail.com
bfba7d450d7963c5a0859cf771906bf4f3f7dc02
fafe93ffba6185a718b3c8cdfd6cf36a29cf3302
/scripts/logreg_iris_bayes_2d_pymc3.py
83b02ba3c4d85bf85aafa9abe59c5a7aeb58c794
[ "MIT" ]
permissive
uniontm/pyprobml
7a8e2b545c50b8e0e2f9683029450ace6a1d54da
e3db0a9f7718f3f1906924969c78ffb473cb2f0f
refs/heads/master
2023-01-29T02:30:32.305147
2020-12-12T07:29:07
2020-12-12T07:29:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
# Bayesian Binary logistic regression in 2d for iris flwoers # Code is based on # https://github.com/aloctavodia/BAP/blob/master/code/Chp4/04_Generalizing_linear_models.ipynb import pymc3 as pm import numpy as np import pandas as pd import theano.tensor as tt #import seaborn as sns import scipy.stats as stats from s...
[ "murphyk@gmail.com" ]
murphyk@gmail.com
a5ccbf140f0a1bb2be2b02821828bc62380c407d
d9cd12fe7607fe3931fc1a611a3613c9ef7afb42
/manipulation/playing_with_food/scripts/mask_scripts/move_unlabeled_data.py
fec89965824d49547c8f2f5bb455abceae0f2d70
[]
no_license
HARPLab/gastronomy
e4c42626a6883acf5818dcfe97069253ca7fdd12
ad713e4eb15a2d9573622bace528fc86e19a6545
refs/heads/master
2022-04-27T11:31:16.408378
2022-03-17T00:17:34
2022-03-17T00:17:34
166,125,356
6
3
null
null
null
null
UTF-8
Python
false
false
704
py
import glob import subprocess annotation_file_paths = glob.glob('/home/klz/food_training_annotations/*.png') test_image_file_paths = glob.glob('/home/klz/food_test_images/*.png') unlabeled_dir = '/home/klz/unlabeled_food_images/' for file_path in test_image_file_paths: file_name = file_path[file_path.rfind('/')+1...
[ "kevinleezhang@gmail.com" ]
kevinleezhang@gmail.com
358f5ac428b0ffba80271216f482b1df64d4b728
8733bca14c304e71cdaaed2fc94b7538af4cdfd6
/0-makeBashFile.py
e424c39cef7546fa9c3056b521680bbc478fc135
[]
no_license
jameshughes89/intracranialPressureNonlinearModelling
e6138a7a45091600b9f8f6dff5340e32ab76b5ce
d3b64ea96d531e798a32ce92a1d55dff2963138c
refs/heads/master
2021-01-17T20:50:50.721406
2017-08-03T18:34:40
2017-08-03T18:34:40
95,585,439
1
1
null
null
null
null
UTF-8
Python
false
false
1,309
py
################################################ subjects = [3029993, 3033031, 3083337, 3094054, 3096171, 3105502, 3169632, 3262086, 3269261, 3289177, 3367596, 3379471, 3460047, 3463681, 3505904, 3516004, 3555523, 3562822, 3582988, 3599360, 3600995, 3607634, 3623238, 3645431, 3646209, 3662063, 3721988, 3738640, 3779174...
[ "JamesHughes89@Gmail.com" ]
JamesHughes89@Gmail.com
f20de9737cc53d751027d4fd93eaf20130ba4e94
5f57cfb662e7a490235255273114d2eb712a9ce4
/djd-prog2/noite-aula12/plataforma.py
de54f362f7f5c29439695eac72639b25bed64351
[]
no_license
antoniorcn/fatec-2020-2s
762e14acfbf0cb42a2e478662e6cf0001794f72c
4d90cc35d354382ad38c20ce2e32924216d7d747
refs/heads/master
2023-01-27T22:52:29.529360
2020-12-05T13:51:30
2020-12-05T13:51:30
289,972,977
9
7
null
null
null
null
UTF-8
Python
false
false
6,758
py
import pygame pygame.init() GRAVIDADE = 0.0009 matrix = [ "PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP", "P..............................................................................P", "P.......PPPPP....................................................................
[ "antoniorcn@hotmail.com" ]
antoniorcn@hotmail.com
76c022051bda65895bc8a3f75930dc7e7afb7d23
a934a51f68592785a7aed1eeb31e5be45dd087d3
/sample/temp.py
ff8a531cc85ae060d32e8146dc716a0aabb0b79e
[]
no_license
nsshayan/Python
9bf0dcb9a6890419873428a2dde7a802e715be2b
0cf5420eecac3505071326c90b28bd942205ea54
refs/heads/master
2021-06-03T18:41:06.203334
2020-09-28T07:28:48
2020-09-28T07:28:48
35,269,825
1
0
null
null
null
null
UTF-8
Python
false
false
163
py
import matplotlib.pyplot as plt from ImageLibrary import * myFile = pickAFile() img = open('track.png','rb') im = plt.imread(img) plt.show()
[ "nsshayan89@gmail.com" ]
nsshayan89@gmail.com
ad3f9a1599d8f1a3d423dee2d7e1eca8d397e6e7
19bc4d44dc7303e23a6949b1bc7b98b65bcf80e9
/python/Build_a_Machine Learning_Model_with_Python/Supervised_Learning/Support_Vector_Machines/polynomial_kernel.py
f4b9972504b388a5c41c74f9d9f286b6d0543b27
[]
no_license
henry1034/Challenge-Project-of-CodeCademy
c66190ff3a318e22f263fcf78344632773065c24
61ebe84696cec120393acca62b4fce4bdea0fb30
refs/heads/master
2023-07-04T01:04:16.978374
2021-07-29T17:27:56
2021-07-29T17:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
from sklearn.datasets import make_circles from sklearn.svm import SVC from sklearn.model_selection import train_test_split #Makes concentric circles points, labels = make_circles(n_samples=300, factor=.2, noise=.05, random_state = 1) #Makes training set and validation set. training_data, validation_data, training_lab...
[ "noreply@github.com" ]
henry1034.noreply@github.com
68c440e26cbde9b606eb8da55d7e0db50e993e73
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/1491.py
99241b949aa1c7301db3633ec313debf46b4cc82
[]
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
511
py
def get_empty(n, k): if k == 1: if n % 2: ret = (n-1)//2 return ret, ret else: ret = n//2 return ret, ret - 1 else: kn = k//2 if k % 2 and not n % 2: nn = n//2 -1 else: nn = n//2 ret...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
6e6aafe979ba2a043809f53660b2b7ebb727d8c1
de3fe8840a7b3eedf4684cb408c859cb0e7a418b
/vendor/migrations/0002_auto_20210205_0151.py
f21b2eec2c29f6333422682ee9f03ca8271f7463
[]
no_license
jabykuniyil/fadeeto
e849f4d75516488ddd2ca024af784852935b3afd
45910ab16fd53891a618810738e542c2dfc2ff98
refs/heads/main
2023-03-22T05:00:03.269688
2021-03-09T09:36:00
2021-03-09T09:36:00
337,984,125
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.1.5 on 2021-02-04 20:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vendor', '0001_initial'), ] operations = [ migrations.AlterField( model_name='vendor', name='password', ...
[ "mohdjabiran112@gmail.com" ]
mohdjabiran112@gmail.com
a22f37f6e6bfb28265d633ee6df38690b7fb6341
9cf6b67410b243ce087ab4ba7142b4fef7b52be8
/storjnode/version.py
e469d403606ac6bed36bae599fc8984f694b067c
[ "MIT" ]
permissive
biddyweb/storjnode
f6172272651497e346c5ff6f5dd03df8844bcefd
5656d43aab0cff510773f5836740e2e85c992677
refs/heads/master
2020-12-25T10:49:59.352267
2016-01-06T19:40:56
2016-01-06T19:40:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# Store the version here so: # 1) we don't load dependencies by storing it in __init__.py # 2) we can import it in setup.py for the same reason # 3) we can import it into your module module __version__ = '0.0.21'
[ "fabian.barkhau@gmail.com" ]
fabian.barkhau@gmail.com
902c7e62057f193d99297d3f1a8a2de1706d4c2c
b333dc607a2f1556f6a8adb6d16dc88fa8a30c8b
/portal/apps/appconf/__init__.py
eddc0ae413bb8599f355b0509f5fd74eda44b7df
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hernan0216/utopia-cms
6558f8f600620c042dd79c7d2edf18fb77caebb8
48b48ef9acf8e3d0eb7d52601a122a01da82075c
refs/heads/main
2023-02-06T10:31:35.525180
2020-12-15T17:43:28
2020-12-15T17:43:28
321,775,279
1
0
BSD-3-Clause
2020-12-15T19:59:17
2020-12-15T19:59:16
null
UTF-8
Python
false
false
114
py
from __future__ import absolute_import from .base import AppConf # noqa # following PEP 386 __version__ = "0.5"
[ "apacheco@ladiaria.com.uy" ]
apacheco@ladiaria.com.uy
9f4e2099a8b13414d090f12e6d2869d363cc8ccf
84751e3339222e9397c3e7ca697cd37d8d4087ad
/database/memberships.py
9db1514646919b90f0ea4fae4077671e23414e83
[ "MIT" ]
permissive
saaiiravi/membership_and_affiliate_api
92cce6cd01347bfab16c9e22beb9aea2fd14e259
e8cf1df3f061c9745977e207568ffed2abdc70fc
refs/heads/master
2023-08-30T21:48:50.052800
2021-10-13T14:44:58
2021-10-13T14:44:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,330
py
""" **Memberships Module** *Class Definitions for: Memberships, Memberships Plans and Coupons* This classes are related to creating and management of organizational memberships and their membership plans for organizations products or services in order to collect payments from clients """ _...
[ "mobiusndou@gmail.com" ]
mobiusndou@gmail.com
40b1f16c51d1546e25d8e2b445430e57808033bf
901944f407f4a06a4c4027d6139ce21165976857
/RL4/MBRL_v2/make_dataset.py
401e827ed726bdb502226d1e3bf9c17f60d52c87
[]
no_license
chriscremer/Other_Code
a406da1d567d63bf6ef9fd5fbf0a8f177bc60b05
7b394fa87523803b3f4536b316df76cc44f8846e
refs/heads/master
2021-01-17T02:34:56.215047
2020-05-26T13:59:05
2020-05-26T13:59:05
34,680,279
7
4
null
null
null
null
UTF-8
Python
false
false
13,808
py
import os from os.path import expanduser home = expanduser("~") import sys for i in range(len(sys.path)): if 'er/Documents' in sys.path[i]: sys.path.remove(sys.path[i])#[i] break import copy import glob import os import time import gym import numpy as np import torch import torch.nn as nn i...
[ "chris.a.cremer@gmail.com" ]
chris.a.cremer@gmail.com
698b7eedd0547d1ec74c8db3191b4732932135d1
53818da6c5a172fe8241465dcbbd34fba382820d
/PythonProgram/chapter_04/4-11.py
596f6726e73157fc95404388ff187567c82fff8f
[]
no_license
Lethons/PythonExercises
f4fec3bcbfea4c1d8bc29dfed5b770b6241ad93b
81d588ffecf543ec9de8c1209c7b26c3d6a423b3
refs/heads/master
2021-04-15T11:36:08.991028
2018-07-07T09:20:40
2018-07-07T09:20:40
126,686,044
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
pizza_list = ['cheese pizza', 'mushroom pizza', 'pepperoni pizza'] friend_pizzas = pizza_list[:] pizza_list.append('hum pizza') friend_pizzas.append('beef pizza') print("My favorite pizzas are:") for pizza in pizza_list: print(pizza) print("My friend favorite pizzas are:") for pizza in friend_pizzas: print(pizz...
[ "lethons@163.com" ]
lethons@163.com
cb34aac1c82460a3af820d47a1b91b1298097dc9
10dd783f6e2561c5de249f3ce88ba1ad74c54dce
/dothebackup/ui.py
a60b1a58f79c4e0e8fbc33ad9a68aaa8a9bb1648
[]
no_license
Python3pkg/DoTheBackup
8422275dbf1f9525077cc1c6754fe8213bbfdb26
000172c859f80d7ec26f6978088c655c082fc822
refs/heads/master
2021-01-21T17:29:34.613263
2017-05-21T12:59:00
2017-05-21T12:59:00
91,957,271
0
0
null
2017-05-21T12:58:58
2017-05-21T12:58:58
null
UTF-8
Python
false
false
783
py
import click import logging from dothebackup.runner import get_started @click.command() @click.argument('configfile', type=click.File('r')) @click.option( '--name', '-n', help='Run a specific job from the config.' ) @click.option( '--test', '-t', is_flag=True, help='Only prints the created commands that ...
[ "marvin@xsteadfastx.org" ]
marvin@xsteadfastx.org
03db0dab47cb657e1cac588157a91b26c4349f45
8159f9d2f8b89d84567958288eddab5fbb03a741
/schedules/migrations/0014_auto_20160712_1102.py
e52bd17a5b0d119adce24693c94234623048a380
[]
no_license
CasinoSchedule/Schedule-API
d1c9da5c610c99c980d64b24eaf7cfba4d034b30
b8ebf6210d3317d733a80e242cb819ce054961eb
refs/heads/master
2021-01-17T19:18:49.230384
2016-08-17T07:40:36
2016-08-17T07:40:36
61,742,126
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-12 18:02 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('schedules', '0013_callout'), ] ...
[ "aarondscruggs@gmail.com" ]
aarondscruggs@gmail.com
51b6b883c63f6cf8b36f29651906ba369f857be5
27aaadf435779c29012233cb1dacf27bd9dd0d0f
/rtc-white-board-20201214/alibabacloud_rtc_white_board20201214/client.py
5a1a5bc733666c6b13ed651738aa53b64ee4d535
[ "Apache-2.0" ]
permissive
aliyun/alibabacloud-python-sdk
afadedb09db5ba6c2bc6b046732b2a6dc215f004
e02f34e07a7f05e898a492c212598a348d903739
refs/heads/master
2023-08-22T20:26:44.695288
2023-08-22T12:27:39
2023-08-22T12:27:39
288,972,087
43
29
null
2022-09-26T09:21:19
2020-08-20T10:08:11
Python
UTF-8
Python
false
false
34,018
py
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from typing import Dict from Tea.core import TeaCore from alibabacloud_tea_openapi.client import Client as OpenApiClient from alibabacloud_tea_openapi import models as open_api_models from alibabacloud_tea_util.client import Client as UtilCl...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
e43e210e240f77aa197c4eeb477b987aedd210c7
75cda7224d64581120477d894a3684f5c38af58f
/Assesment/model_keras_adaptor.py
226342108efb1ee242e4211e0043ca9d74eebd3c
[]
no_license
Jincheng-Sun/CFSC
99c92a1c82dfda091dc8f53d22766caa26b03ef4
5edf6b9a26c0a2a3cada6c678c55df56fc17cb42
refs/heads/master
2020-04-15T17:48:53.972825
2019-02-09T23:24:07
2019-02-09T23:24:07
164,888,716
0
0
null
null
null
null
UTF-8
Python
false
false
4,935
py
from Assesment.model_adaptor import IModelAdaptor import json from itertools import cycle import matplotlib.pyplot as plt import numpy as np from keras import models from scipy import interp from sklearn.metrics import roc_curve, auc, confusion_matrix, classification_report from sklearn.metrics import accuracy_score fr...
[ "sjc951213@gmail.com" ]
sjc951213@gmail.com
8ee5ae8c26e969ee2e1a8b19f27845b19c6cca17
772fd399a088a0c4bcf453a1a44345744d5f34d6
/15654.py
b1b3457cb926f8985b8dfd7668a3bf823d313281
[]
no_license
hybae430/Baekjoon
91e6b7bd72bac2c5f200d1c1d857c770a0f090aa
a7b6f7fde794d461b0dfad31daa75182b1b110d0
refs/heads/master
2023-01-02T01:08:37.744926
2020-10-24T17:25:12
2020-10-24T17:25:12
304,783,840
1
0
null
null
null
null
UTF-8
Python
false
false
663
py
# N과 M(5) import sys N, M = map(int, sys.stdin.readline().split()) arr = list(map(int, sys.stdin.readline().split())) arr = sorted(arr) visited = [False] * N out = [] # 출력 내용 results = [] def solve(depth, N, M): if depth == M: # 탈출 조건 a = ' '.join(map(str, out)) # list를 str으로 합쳐 출력 results.appe...
[ "violet9643@naver.com" ]
violet9643@naver.com
043961a5fc5c63432f7e8db343ad564b3e4c7f53
b6d935a2b88d989bd7d64f9b3634a4a13611f27f
/apps/mac/mac_gui_client/windows/personal_pkey_dialog.py
f6b0be48639830e396f33e1bf4990391e7fa5a15
[]
no_license
drambol/Mozy-Client-Automation
026c11f2c030254699be643fcd5fa3db41bbb362
520b23b8078e715cc8af9b1de4de0c5723b2547e
refs/heads/master
2021-04-03T06:52:24.500570
2018-03-14T02:22:30
2018-03-14T02:22:30
125,142,868
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
#!/usr/bin/env python # # Copyright (c) DELL EMC, Inc. All rights reserved. # For more information, please see the COPYRIGHT file in the top-level # directory. # # Stewards: Christine Gong from apps.mac.mac_lib.mozy_ui_element import MacMozyUIBase, Element class Personal_Key_Dialog(MacMozyUIBase): """ descr...
[ "ken.xu@emc.com" ]
ken.xu@emc.com
5e4ee197cb5db36a39233cd1ff90653d4efb6aa2
f9369134d8d12e4b542e5529d4283abbda76c07e
/moveElementToEnd.py
074761ff93dead38d485adf8f329057ccd858f78
[]
no_license
yash921/leetcode-questions
10fdaae874075ddb20331ccbf39dd82d10a9bb11
f3fa3d3b5843a21bb86f91711105ae2751373e9c
refs/heads/main
2023-03-27T01:28:13.986142
2021-03-20T06:23:40
2021-03-20T06:23:40
349,645,174
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 19 18:56:30 2020 @author: yash """ #Leetcode Problem - 283. Move Zeroes #Solution - Best Solution def moveElementToEnd(array, toMove): i = 0 j = len(array) - 1 while i < j: while i < j and array[j] == toMove: j -= 1 ...
[ "yashdixit921@gmail.com" ]
yashdixit921@gmail.com
133e836ed67616abfe6f819df78e90013a9d5efa
a1730de4b50c17ecd388a995a1526c2eab80cb7d
/Plugins/Aspose-Cells-Java-for-Jython/asposecells/WorkingWithWorksheets/PageBreakPreview.py
54c97b7f7f01231643ef8ffe14993440c7cde35e
[ "MIT" ]
permissive
aspose-cells/Aspose.Cells-for-Java
2dcba41fc99b0f4b3c089f2ff1a3bcd32591eea1
42d501da827058d07df7399ae104bb2eb88929c3
refs/heads/master
2023-09-04T21:35:15.198721
2023-08-10T09:26:41
2023-08-10T09:26:41
2,849,714
133
89
MIT
2023-03-07T09:39:29
2011-11-25T13:16:33
Java
UTF-8
Python
false
false
816
py
from asposecells import Settings from com.aspose.cells import Workbook class PageBreakPreview: def __init__(self): dataDir = Settings.dataDir + 'WorkingWithWorksheets/PageBreakPreview/' workbook = Workbook(dataDir + "Book1.xls") #Adding a new worksheet to the Wor...
[ "fahadadeel@gmail.com" ]
fahadadeel@gmail.com
bfe2b2d34530a15aef6270d95313ff350a944aab
40bf8016b86d3869dbc694f12f99a8b4103ae41a
/eval_RN.py
2f865c2e589806e8de0bfbc4522ecca63f72e73b
[]
no_license
lwj2018/islr-few-shot
3bc8e71fca3bfa07ec57c01cac095587494a010b
4ff900662ba16b402f6ccda032d022f527873c1a
refs/heads/master
2021-05-26T09:03:05.235782
2020-06-10T06:59:17
2020-06-10T06:59:17
254,068,609
1
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
import os.path as osp import time import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.data import DataLoader from models.gcrHCN import gcrHCN from models.RN import RN from utils.ioUtils import * from utils.trainUtils import train_mn_pn from utils.testUtils import eval...
[ "lwj19970331@gmail.com" ]
lwj19970331@gmail.com
a9f6879e961ee2a0d1db65cebcb7adc0e166edc6
59de7788673ade984b9c9fbc33664a7cbdba67d3
/res_bw/scripts/common/lib/ctypes/test/test_pep3118.py
5afe2b2122014c11d410d2cc3ec0e8efc024f3da
[]
no_license
webiumsk/WOT-0.9.15-CT
3fa24ab37a6c91b7073034afb2f355efa5b7fe36
fbd194fbaa6bdece51c7a68fc35bbb5257948341
refs/heads/master
2020-12-24T21:27:23.175774
2016-05-01T13:47:44
2016-05-01T13:47:44
57,600,180
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,102
py
# 2016.05.01 15:29:11 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/ctypes/test/test_pep3118.py import unittest from ctypes import * import re, sys if sys.byteorder == 'little': THIS_ENDIAN = '<' OTHER_ENDIAN = '>' else: THIS_ENDIAN = '>' OTHER_ENDIAN = '<' def normalize(format): ...
[ "info@webium.sk" ]
info@webium.sk
3d33cd23d617f692c0e6738b5fa9e5359bfcfb06
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/gYearMonth/Schema+Instance/NISTXML-SV-IV-list-gYearMonth-minLength-2-3.py
92652a724c696c659b914e0dc363b3d515eba016
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
566
py
from output.models.nist_data.list_pkg.g_year_month.schema_instance.nistschema_sv_iv_list_g_year_month_min_length_2_xsd.nistschema_sv_iv_list_g_year_month_min_length_2 import NistschemaSvIvListGYearMonthMinLength2 from xsdata.models.datatype import XmlPeriod obj = NistschemaSvIvListGYearMonthMinLength2( value=[ ...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
869e38e808c0f84921ee45980a29775955d95370
e268832c9a5ecd465851347fc870ccf92e073309
/Top_100_Liked_Questions/19._Remove_Nth_Node_From_End_of_List/solution.py
1af0f386b0bda11d3e3f399eea3355ff1dd5d4c6
[]
no_license
hkim150/Leetcode-Problems
a995e74ecca6b34213d9fa34b0d84eea649f57c2
1239b805a819e4512860a6507b332636941ff3e9
refs/heads/master
2020-12-04T08:06:42.981990
2020-10-03T00:20:29
2020-10-03T00:20:29
231,688,355
1
0
null
null
null
null
UTF-8
Python
false
false
727
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: # two pointer with constant gap method dummyHead = ListNode(0, head) ...
[ "hkim150@illinois.edu" ]
hkim150@illinois.edu
17edf84b4b16e50b58e117b406b824c764e68495
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/GL/NV/draw_texture.py
fc22a16082fe34b4f893b9eeee7a1ce5afc71b2e
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
710
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
aeceb71a51613f6ece9eed0c6f44f90b98c55e5e
28a124b6a2f22a53af3b6bb754e77af88b4138e1
/DJANGO/mastertodjangoadmin/app/models.py
7cd756001877ed756628fa46c0b196f2b3e68103
[]
no_license
mebaysan/LearningKitforBeginners-Python
f7c6668a9978b52cad6cc2b969990d7bbfedc376
9e1a47fb14b3d81c5b009b74432902090e213085
refs/heads/master
2022-12-21T03:12:19.892857
2021-06-22T11:58:27
2021-06-22T11:58:27
173,840,726
18
4
null
2022-12-10T03:00:22
2019-03-04T23:56:27
Python
UTF-8
Python
false
false
1,442
py
from django.db import models from djgeojson.fields import PointField # 3rd party kütüphaneler sayesinde gelen field class Category(models.Model): name = models.CharField(max_length=100) is_active = models.BooleanField(default=True) def __str__(self): return self.name class Meta: verbo...
[ "menesbaysan@gmail.com" ]
menesbaysan@gmail.com
9fa32ff17db10f26a2d168b88d2fffbccd52eb2d
48edc9f270ddf29ff88892eb492b5d77456aeef2
/build/fetch_astar/fetch_ros/fetch_moveit_config/catkin_generated/pkg.installspace.context.pc.py
cbc3bce7ad4b4edd1d4e22db1197d3e3623beca4
[]
no_license
abusa1101/path-planner-Fetch-navigation
562fb7301603618cc16ec8b88041885d7b7ce0ef
2ca298e3d1698dd606e9b4296f38fa24725c6f84
refs/heads/main
2023-04-30T13:12:34.021833
2021-05-10T04:54:07
2021-05-10T04:54:07
365,921,196
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "fetch_moveit_config" PROJECT_SPACE_DI...
[ "abusa@umich.edu" ]
abusa@umich.edu
f4088ba3551d75ea8afde8092d05d5c7bfdcb007
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/52/usersdata/78/22518/submittedfiles/matriz1.py
8ce0e1a133dd5e508be6a7692c5ba6bc788ba0c5
[]
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
1,027
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np def menorcoluna(a): for j in range(0,a.shape[1],1): for i in range(0,a.shape[0],1): if a[i,j]==1: return j def maiorcoluna(a): for j in range(0,a.shape[1],1): for i in range(0,a.shape[0],1): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b6a261b0532c85618eb2ff4a0ba451619f4a34c1
444c7275448111a096984d872b7a301520f3643e
/projects/tf_np_thread_matmul.py
2fff992b7b36d9d00ec86cdead546bef9110073b
[]
no_license
chinchangkuo/MLclass
2f16ee0364f3d94aebf89116b4b6ed5279c97319
0d4bb6566e3126aa54b5d8723015d823db453193
refs/heads/master
2021-07-24T10:53:18.708562
2017-11-03T22:46:57
2017-11-03T22:46:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,401
py
import numpy as np from numba import jit import tensorflow as tf import time import sys from threading import Thread from queue import Queue # parameters =================== tot_mat = 500 mat_size = (2000,2000) tot_thread=6 # generator ==================== np.random.seed(1) # numpy ====...
[ "pipidog@gmail.com" ]
pipidog@gmail.com
6188c5949f9c515f96f7774859641126f05757cb
04a77043cebd9415069aad4a6b8e7af077de1168
/2-python_opp/day04/exmple/with.py
f89f92f907c7a4f8b87763e90f2e32a3ed827701
[]
no_license
yangxiangtao/biji
a935fbc4af42c81205900cb95a11e98c16d739de
5c5f46e6c145fc02ea10b7befdc05c489fc3b945
refs/heads/master
2022-11-12T02:25:51.532838
2019-04-02T01:22:12
2019-04-02T01:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# with.py # try: # # f = open('a.txt','rt') # with open('a.txt','rt') as f: # for line in f: # print(line,end='') # except: # print('文件操作失败') class A:#自定义资源管理器 def __init__(self,name): self.name = name def __enter__(self): print("__enter__语句被执行") return...
[ "123@bb.com" ]
123@bb.com
cde15156175b84baf1ccc24fa34003b9f6ed69a6
9e34cadb1a1e9b0a3406ea6f259fed77e1700b17
/src/contacts/migrations/0004_auto__add_field_person_middle_name.py
528be9647b4b068f838972c9627f4ea3a885d3ff
[]
no_license
rcooke/django-contacts
75377f2a03a024999ea240186b3a069a169176b1
6977215a9b7cafe7367d36995cd4de16a8419f1e
refs/heads/master
2021-01-17T22:47:31.093874
2013-07-29T20:21:26
2013-07-29T20:21:26
11,951,318
1
0
null
null
null
null
UTF-8
Python
false
false
14,354
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Person.middle_name' db.add_column('contacts_people', 'middle_name', self.gf('django.db.mod...
[ "me@mylesbraithwaite.com" ]
me@mylesbraithwaite.com
de8d66d2fcb9540b1d956e5885989cd86738e597
50948d4cb10dcb1cc9bc0355918478fb2841322a
/sdk/keyvault/azure-keyvault/tests/test_certificates.py
d656a3cc4b1424071e5af552a6104cde9e4c7acc
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
29,039
py
import time from devtools_testutils import ResourceGroupPreparer from keyvault_preparer import KeyVaultPreparer from keyvault_testcase import KeyvaultTestCase from azure.keyvault import KeyVaultId from azure.keyvault.models import ( SecretProperties, KeyProperties, CertificatePolicy, IssuerParameters, X509Certifica...
[ "sschaab@microsoft.com" ]
sschaab@microsoft.com
e44fa3642e2378079802d6204dbb6928a90949d4
9244eaedc761bd9cc26243f5884fb054c3dbc932
/webdemo/urls.py
44f8923e2a461ddbb9a4e25713d2239c5dedb829
[]
no_license
srikanthpragada/WEBDEMO_PYTHON_11_NOV_2019
51e1705f4ed1fd5754a49a97314deee4ae3ed925
9a9bc763a1af37d3fa5b2f6429b4caa0aed9975a
refs/heads/master
2020-11-25T20:45:39.159377
2019-12-28T14:25:05
2019-12-28T14:25:05
228,838,083
2
0
null
null
null
null
UTF-8
Python
false
false
851
py
"""webdemo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
0b7d955eff5387d84d167123527cbbe0e57a83ec
db818127b373da9d88583e717f184f483a1f844d
/instruction_env/Lib/site-packages/sphinx/ext/apidoc.py
ebbdadbe8a852753164ddfbb62e5c27342a78b6b
[ "MIT" ]
permissive
lfunderburk/Effective-Instructions
4af5a763b5021668abd6d37f1d860eeff07bfee8
ce40f890fb8623ff1ec9c3e9e1190505cbd1e6db
refs/heads/main
2023-04-14T22:43:48.363281
2021-04-26T05:40:19
2021-04-26T05:40:19
331,163,652
0
0
MIT
2021-04-26T05:40:22
2021-01-20T01:58:52
null
UTF-8
Python
false
false
22,000
py
""" sphinx.ext.apidoc ~~~~~~~~~~~~~~~~~ Parses a directory tree looking for Python modules and packages and creates ReST files appropriately to create code documentation with Sphinx. It also creates a modules index (named modules.<suffix>). This is derived from the "sphinx-autopackage" script...
[ "hanh.tong@tap.work" ]
hanh.tong@tap.work
388e6af3c611bdbe8611e947b0c1d86a96e192bb
9bcf722780efec7994bebe2bb476b0784b0a353a
/42-Trapping-Rain-Water/solution.py
93a5bcb964aab8226b7cabe5dd53429e0a95e150
[]
no_license
wenjie1070116/Leetcode
a1429810513276b845bfb36284bd747308c015b3
5f5791b1e7eefa0205cbb6cb8ae2d5320ffcd916
refs/heads/master
2020-04-06T06:50:23.762233
2016-08-19T19:36:15
2016-08-19T19:36:15
58,875,500
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
class Solution(object): def trap(self, height): """ :type height: List[int] :rtype: int """ n = len(height) if height else 0 if n < 2: return 0 Max = 0 for i in xrange(1, n): if height[i] > height[Max]: Max = i left ...
[ "wenjie1070116@gmail.com" ]
wenjie1070116@gmail.com
5b505ab5a0d15d4767b51e051ef36ab6432c708c
7247c340764145b329779fe045546e4fdc0679b5
/blog/models.py
97b5ac22e710ed9e60154bdbc5505ff4dd062224
[]
no_license
abhigyan98/my-first-blog
5df9bb679440b9796aaf5ec552c3372c9950133a
65b5a14a086796ef2dc0eb561440101849f0ab76
refs/heads/master
2021-07-04T11:33:03.509344
2017-09-23T10:52:31
2017-09-23T10:52:31
104,081,232
1
0
null
null
null
null
UTF-8
Python
false
false
529
py
from django.db import models # Create your models here. from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) pub...
[ "you@example.com" ]
you@example.com
2644424641c25bdfca7e16cd598426f2cf2fd931
d52cb4c2e880875944b14da0b8a9542235942ac8
/geeksforgeeks/linked_list/23_Merge_K_sorted_linked_lists_pending.py
8f3568bc35e09245c2d0f0137d6ea44e1204e461
[]
no_license
saparia-data/data_structure
fbd61535b68f92143b2cb2679377c0f56f424670
2e8700cfdaeefe0093e5b4fb2704b1abcd300d02
refs/heads/master
2023-05-08T18:54:52.250941
2021-06-04T05:44:29
2021-06-04T05:44:29
296,071,146
1
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
''' Given K sorted linked lists of different sizes. The task is to merge them in such a way that after merging they will be a single sorted linked list. Input: First line of input contains number of testcases T. For each testcase, first line of input contains number of linked lists N and next line contains data of no...
[ "saparia.ashvin@tavant.com" ]
saparia.ashvin@tavant.com
65b0d2f29c02796c886ccf4f3f1113eb0bb68c3c
6a42be86d02c4fbb28eed462053645ecf89a13b4
/python/leet/784-letter-case-permutation.py
b32d3d561bb39273ef0b7d53fe6421df2f928dad
[]
no_license
d4rkr00t/leet-code
ac9d896ba7bd6abca68ed136972a83a5930b1dbd
d557855bcaa90f066788b7472e0295694f532e24
refs/heads/master
2021-07-18T22:24:38.127291
2020-05-29T03:33:41
2020-05-29T03:33:41
172,479,313
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
# Letter Case Permutation # https://leetcode.com/problems/letter-case-permutation/ # easy # # Time: TBD # Space: TBD # # Solution: # Recursion def letterCasePermutation(S: str) -> [str]: res = [S] def recur(str, pos): res = [] if pos >= len(str): return res res.append(s...
[ "d4rkr00t@gmail.com" ]
d4rkr00t@gmail.com
dd52e9f7af313c6feab5b12c58105a1714296e72
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_punishing.py
fbc2816e8cfd6c1394da00505c49f00324c9bbec
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
#calss header class _PUNISHING(): def __init__(self,): self.name = "PUNISHING" self.definitions = [u'to be damaged because of rough treatment: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.j...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c2860fe5d4aa5449fe4d6aabc449f9c8721bea65
a26a3605f8055a28083107b98800d72bfcc11fd9
/daraz_mobiles/daraz_mobiles/settings.py
cbc7d9847a4a44ee932b8b81f40da3891603faac
[]
no_license
huzaifabaloch/Modern-Web-Scraping
521c3bd9302c3be0743a16cb65a02bf5a6666d9e
021c5f987d7c150118340ccbf986be51ecdca349
refs/heads/master
2020-09-26T23:40:46.306998
2020-06-30T17:10:49
2020-06-30T17:10:49
226,367,502
0
0
null
null
null
null
UTF-8
Python
false
false
3,366
py
# -*- coding: utf-8 -*- # Scrapy settings for daraz_mobiles project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest...
[ "huzbaudi3@gmail.com" ]
huzbaudi3@gmail.com
23cdf9f2ea09ec008053562226fa46639a195232
675810f0f32e37efe193bcf30566dc843d1bd485
/tasks/migrations/0002_task_raw.py
9e5a3d4f78db923d318bdcae38f7a2527f780de3
[ "MIT" ]
permissive
pddg/task_categorizer
abfa15d8354113eab7dea2878ed76de8345c1aea
7716802ae7c50a091d666f45beac59ac3fcb2d03
refs/heads/master
2021-09-23T18:54:45.022341
2020-01-13T15:35:20
2020-01-13T15:35:20
228,353,027
0
0
null
2021-09-22T18:15:35
2019-12-16T09:44:02
JavaScript
UTF-8
Python
false
false
422
py
# Generated by Django 3.0 on 2019-12-17 02:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0001_initial'), ] operations = [ migrations.AddField( model_name='task', name='raw', field=models...
[ "s.kokuryo@gmail.com" ]
s.kokuryo@gmail.com
a31b456d03f69b283d1a84a964651bd6b2e5cc52
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L35/35-31_wat_20Abox/set_1ns_equi_m.py
e576862c994f2e9bea327318a95d90794067cd70
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L35/wat_20Abox/ti_one-step/35_31/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_m.in' temp_pbs = filesdir + 'temp_1ns_equi_m.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
c94b9bcad237044b036ac889725de48440a0c8d1
a25400240482903952042ea7fb93384c0b48ca8d
/debug/checkswap.py
6f625ec890b6e2d320e1edd0479150aee39e92ef
[ "Apache-2.0" ]
permissive
louking/debug
50c84065fc8bbe04005ff740757267171404c0b0
b0033e33c66c4ab50da13253e3f7c2943b52bfb8
refs/heads/master
2021-07-19T13:00:12.017547
2017-10-28T11:19:52
2017-10-28T11:19:52
108,642,517
0
0
null
null
null
null
UTF-8
Python
false
false
8,509
py
# scan checkswap file for interesting statistics # # Copyright 2017 Lou King # # 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...
[ "lking@pobox.com" ]
lking@pobox.com
044aff3f9ea9f8628d00f4ddd3e72485dde276ea
751d837b8a4445877bb2f0d1e97ce41cd39ce1bd
/poj/1942-paths-on-a-grid.py
68c4c5725a550f3fe42e9ef0d4de2fd324ebcf0c
[ "MIT" ]
permissive
qeedquan/challenges
d55146f784a3619caa4541ac6f2b670b0a3dd8ba
56823e77cf502bdea68cce0e1221f5add3d64d6a
refs/heads/master
2023-08-11T20:35:09.726571
2023-08-11T13:02:43
2023-08-11T13:02:43
115,886,967
2
1
null
null
null
null
UTF-8
Python
false
false
1,744
py
#!/usr/bin/env python """ Description Imagine you are attending your math lesson at school. Once again, you are bored because your teacher tells things that you already mastered years ago (this time he's explaining that (a+b)^2=a^2+2ab+b^2). So you decide to waste your time with drawing modern art instead. Fortunat...
[ "qeed.quan@gmail.com" ]
qeed.quan@gmail.com
fe73504c22ba5697a38fc8c7bc37ee4f2737e282
3996539eae965e8e3cf9bd194123989741825525
/RecoBTag/ONNXRuntime/pfDeepDoubleBvLJetTags_cfi.py
6d5927660d79bdc69353daeda4e6d35fd357b012
[]
no_license
cms-sw/cmssw-cfipython
01990ea8fcb97a57f0b0cc44a8bf5cde59af2d98
25ee4c810103c4a507ca1b949109399a23a524c5
refs/heads/CMSSW_11_2_X
2023-09-01T16:56:00.658845
2022-06-20T22:49:19
2022-06-20T22:49:19
136,184,115
1
0
null
2022-10-19T14:04:01
2018-06-05T13:47:28
Python
UTF-8
Python
false
false
527
py
import FWCore.ParameterSet.Config as cms pfDeepDoubleBvLJetTags = cms.EDProducer('DeepDoubleXONNXJetTagsProducer', src = cms.InputTag('pfDeepDoubleXTagInfos'), input_names = cms.vstring( 'input_1', 'input_2', 'input_3' ), output_names = cms.vstring(), version = cms.string('V1'), flavor = cms.st...
[ "cmsbuild@cern.ch" ]
cmsbuild@cern.ch
0f8b81ce84d0f3606e4057b1da7609132d714d9f
64ab5b65afdf8d950c4b56ad2259133b95fc2fec
/zeus/vcs/api.py
48850a82a6d599aedbb6e650a867e744005e0d4c
[ "Apache-2.0" ]
permissive
getsentry/zeus
3e88895443b23278fdb4c25121422ee214630512
6d4a490c19ebe406b551641a022ca08f26c21fcb
refs/heads/master
2023-09-01T14:20:11.396306
2021-04-30T17:08:33
2021-04-30T17:08:33
96,131,433
222
27
Apache-2.0
2022-06-01T03:17:16
2017-07-03T16:39:35
Python
UTF-8
Python
false
false
6,989
py
from aiohttp.web import Response, json_response from functools import wraps from flask import current_app from uuid import UUID import sentry_sdk from zeus import auth from zeus.exceptions import InvalidPublicKey, UnknownRevision from zeus.utils.sentry import span from .utils import get_vcs, save_revision def log_...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
8cc2229a3159de997c5d6a19ca292ad6959f720c
63b0fed007d152fe5e96640b844081c07ca20a11
/ABC/ABC300~ABC399/ABC305/F.py
e17c92734b6143d19005f92fed68997e388d2f9e
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
N, M = map(int, input().split()) leave = set() seen = [False]*(N+1) seen[1] = True now = 1 parent = [-1]*(N+1) while 1: if now == N: print('OK') exit() info = input().split() info = list(map(int, info)) seen[now] = True k = info[0] edge = info[1:] for e in edge: if e ...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
a9d2d5ce2edd5c6e444482df5de13ae780004eaa
5ecfa1bf82a7a9fcb542f5063e0ef1c439e0607d
/chapter_13/mnist_cnn_exp8.py
cc5d8fcd6114f2952ee0a1bc5a13c27d2a4b163b
[ "MIT" ]
permissive
alexiewx/PracticalDeepLearningPython
54256e1e973d30d4290ae9346ee2d314ab6f59c8
7466bac89e6e8e1e491dcacc5172598a05920d79
refs/heads/main
2023-08-30T22:39:04.848840
2021-10-24T17:47:39
2021-10-24T17:47:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
from __future__ import print_function import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten from keras.layers import Conv2D, MaxPooling2D, Activation from keras import backend as K N = 1000 batch_size = 128 num_classes = 10 epochs = 12 # in...
[ "oneelkruns@hotmail.com" ]
oneelkruns@hotmail.com
51acae53ac0c7c5e15b24f1980907bd060823aed
9e30a239886210dc57e6c7cb9a71ad95a840712e
/views/comment_post/tests/snapshots/snap_test_case_01.py
7cb8502bbd908721fe6f4ddcdf5c848b5a61d9c1
[]
no_license
sridhar562345/fb_post_v2
0a26d661a3f335d9a9cf129c24265d7674b3fb22
dfd150ab5521f05291f66944d7a8686a00477547
refs/heads/master
2022-11-08T00:32:35.752419
2020-06-23T15:32:02
2020-06-23T15:32:02
274,440,245
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['TestCase01CommentPostAPITestCase::test_case status'] = 404 snapshots['TestCase01CommentPostAPITestCase::test_case body'] = { 'http_statu...
[ "=" ]
=
8b22166db0872e39df7d5dba16458e4002b8d84b
6acdc11c60e874e85adba173abb90f279049ab89
/pondy.py
401385269e6ba0be34fe34c2f4c6eee38d0d97ba
[]
no_license
bala977/balaji
3ce9123709b1be1a24b8fd2235405e9a9be68382
ba73e7591e7c86daef86081a15a19760dcac16b8
refs/heads/master
2020-06-11T16:58:56.256340
2019-08-05T10:03:27
2019-08-05T10:03:27
194,030,685
0
4
null
null
null
null
UTF-8
Python
false
false
171
py
h5,m15= map(int, input().split()) h25,m25= map(int, input().split()) if(h5>h25): z=h5-h25 y=m15-m25 print(z,y) else: t=h25-h5 s=m25-m15 print(t,s)
[ "noreply@github.com" ]
bala977.noreply@github.com
ece7d5ab080e95964a2f8a6b0e2798bcd5d7434f
4e8876d7b29cf9fb05849da77553b8a7e3783bdc
/src/plugins/processing/algs/gdal/ogr2ogrdissolve.py
e05071790c6fb943ffe5740f55d20abdb9040030
[]
no_license
hydrology-tep/hep-qgis-plugin-lite
48477f504b6fc1a9a9446c7c7f5666f4b2ccfee7
781cbaa1b3e9331de6741dd44a22322048ab176c
refs/heads/master
2021-03-27T17:01:18.284421
2018-06-27T12:09:58
2018-06-27T12:09:58
70,825,462
0
0
null
null
null
null
UTF-8
Python
false
false
6,516
py
# -*- coding: utf-8 -*- """ *************************************************************************** ogr2ogrdissolve.py --------------------- Date : Janaury 2015 Copyright : (C) 2015 by Giovanni Manghi Email : giovanni dot manghi at naturalgis do...
[ "joaa@localhost.localdomain" ]
joaa@localhost.localdomain
8b633ffc9cd12bb1a130b1a0d363f81d9832c30d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03402/s336943732.py
d65fc16bf7aaca585904573ab6290cb183fd8edf
[]
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
611
py
a, b = map(int, input().split()) s = [[0 for _ in range(100)] for _ in range(100)] for i in range(100): for j in range(100): if j == 0: s[i][j] = "." elif j == 99: s[i][j] = "#" else: if i % 2 == 0: s[i][j] = "#" else: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
45ace22ee35073fc8671a45f26452234ac1223e9
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/sql/v20200202preview/database_vulnerability_assessment_rule_baseline.py
1017ca08fcba44390dd82c9354e385571292ab19
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,711
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
6ffd7ab35e636fa58c161ba74c75f280661bc797
8cc72f1e6a0162e37e2a093916b100db5dcf2997
/csf_tz/fleet_management/doctype/trip_location/test_trip_location.py
953718efd337dcec2c2997e9bd47db226fe1cd15
[ "MIT" ]
permissive
questerp/CSF_TZ
c6f9b8fa2022e833ccf4c267c7d088d9647cb6da
38127a5f2d2127b54b29194b2f082f39012d9424
refs/heads/master
2023-07-12T07:05:03.498285
2021-08-20T07:30:35
2021-08-20T07:30:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Bravo Logistics and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest # test_records = frappe.get_test_records('Trip Location') class TestTripLocation(unittest.TestCase): pass
[ "info@aakvatech.com" ]
info@aakvatech.com
f90d0698ea599033fa18b46d3c7bd1d26234948f
60530f3e1d22fcb3b51be0b9f482a912c8203bb0
/Python_Workbook/J02.py
c09ebbf9cf29ef160fc93f2a025cdcc8daa741b5
[]
no_license
cinxdy/Python_practice
1afb2aca1c92d16d98459407ae02ca2ed7f7832c
8a2642b51c6ad73840dae964b1a55cbb53f7b9f7
refs/heads/master
2022-05-09T00:10:15.849881
2022-04-03T09:38:53
2022-04-03T09:38:53
180,339,041
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
def Max(num): max = num[0] for i in range(1,10) : if num[i] > max : max = num[i] return max def Min(num): min = num[0] for i in range(1,10) : if num[i] < min : min = num[i] return min num = [ 0 for i in range(10) ] for i in range(10): num[i] = float(input("%dth number : "%(...
[ "cinxdys2@gmail.com" ]
cinxdys2@gmail.com
4223549d68ae8cad68a90edd74e550be55c7b88c
9848a719ddfdd21b5fe1fa2f55da290c0f6952dc
/largest-divisible-subset.py
bf0c64e0e488e310421fc554211283559853f2dc
[]
no_license
maomao905/algo
725f7fe27bb13e08049693765e4814b98fb0065a
84b35ec9a4e4319b29eb5f0f226543c9f3f47630
refs/heads/master
2023-03-13T12:38:55.401373
2021-03-25T01:55:48
2021-03-25T01:55:48
351,278,248
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
""" DP if nums[i] % max(subset) == 0, news[i] can be included new element is 8 and current subset [2,4] """ from typing import List class Solution: def largestDivisibleSubset(self, nums: List[int]) -> List[int]: nums.sort() N=len(nums) memo = {} ans = [] def helper(i):...
[ "maoya.sato@gmail.com" ]
maoya.sato@gmail.com
7a6f3357e93d9cc31b0a97f48de5d1dfabe726ab
96b6f183cda10aac03f9fb4ffa11cba6445c35aa
/algoriz/urls.py
bbd1acd3ab732407381936fd506ed6ab9659836d
[]
no_license
akshar-raaj/algoriz
3a6ea60b15dc35e848a5534cdd7f6b047fd9a7d3
21e0797a7d19248043c5810fed89ba7c50e551f9
refs/heads/master
2020-04-03T03:38:53.705683
2018-10-27T19:51:31
2018-10-27T19:51:31
154,991,553
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
"""algoriz URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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...
[ "akshar@agiliq.com" ]
akshar@agiliq.com
4b70a4e386052e8fb4e3de8cc02295527911f905
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/201/48822/submittedfiles/testes.py
682bfe9ae486f2b22a92285bae11823daee2ea2e
[]
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
307
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO sm=float(input('Digite um valor:')) if 0<=sm<=500: print('Nunhum crédito') if 500<sm<=1000: i=sm*0.3 print('30% do saldo médio') if 1000<sm<=3000: i=sm*0.4 print('40% do saldo médio') if sm>300: i=sm*0.5 print('50% do saldo médio')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5c9c52e20aa8e0b6f3598d5627925db16b1ea166
8fb70fa7c1a3a9aa6ab10ca040e93c4e67eb3bc2
/{{cookiecutter.project_parent_dir}}/{{cookiecutter.project_slug}}/release.py
9d58d7895b87b6785eab51219c2faa1b7d0534ea
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
mrlesmithjr/cookiecutter-python-project
0f3489aa3ec90e476596f7699b47815c43a38a96
8ea1053376b5fb775f9067ad892a74a53611c227
refs/heads/master
2023-08-08T08:38:53.145127
2023-05-26T05:29:26
2023-05-26T05:29:26
243,688,346
3
0
MIT
2023-07-25T17:18:07
2020-02-28T05:49:27
Python
UTF-8
Python
false
false
211
py
"""{{cookiecutter.project_slug}}/release.py""" # Version tracking for package. __author__ = '{{cookiecutter.author}}' __version__ = '{{cookiecutter.version}}' __package_name__ = '{{cookiecutter.project_slug}}'
[ "mrlesmithjr@gmail.com" ]
mrlesmithjr@gmail.com
30a98ffcfdee42180ae45ef21a65cd9bf4a231a0
559f3dec0964d2e0f86c6c871371fe779cf3726c
/contrib/MedicalSeg/medicalseg/models/vnet.py
b23d64ac88afdb4196651ea124fcf2104795e9bb
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleSeg
319ab26665ea492527a1949671650135123ffc39
2c8c35a8949fef74599f5ec557d340a14415f20d
refs/heads/release/2.8
2023-08-31T09:08:06.724717
2023-08-18T01:59:56
2023-08-18T01:59:56
204,380,779
8,531
1,866
Apache-2.0
2023-09-12T02:30:42
2019-08-26T02:32:22
Python
UTF-8
Python
false
false
14,028
py
# Implementation of this model is borrowed and modified # (from torch to paddle) from here: # https://github.com/black0017/MedicalZooPytorch # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
5b7c23887f0ff2b5d5616bee115e6b147eb0b980
48e08c7d5856c35492500b6b01d3d72a31f58ffc
/Basic DS/Graph.py
8041bd573bd6233ec4e5c96df1717d8ce0903e76
[ "MIT" ]
permissive
MiKueen/Data-Structures-and-Algorithms
8d8730e539e1c112cbd4a51beae9e1c3e2184e63
8788bde5349f326aac0267531f39ac7a2a708ee6
refs/heads/master
2021-07-18T17:16:39.948239
2020-09-13T15:44:37
2020-09-13T15:44:37
212,309,543
0
1
MIT
2019-10-06T16:24:43
2019-10-02T10:19:07
Python
UTF-8
Python
false
false
9,269
py
class Node(object): def __init__(self, value): self.value = value self.edges = [] self.visited = False class Edge(object): def __init__(self, value, node_from, node_to): self.value = value self.node_from = node_from self.node_to = node_to class Graph(object): ...
[ "keshvi2298@gmail.com" ]
keshvi2298@gmail.com
4d7edb66cd8a4d63fc06710cc9a6726d07c19af7
a406a0d9f8d0654e78b98399d0a4a99469abe6e0
/httpd/sock/server.py
5fd3673baba570031cd58845f7c91177beb5c013
[]
no_license
bethewind/pylite
ad4719151490e972beca555426b69da74cd76174
6d4ba6a894ab7d858bb3a15cedbfb956cfbb15db
refs/heads/master
2023-03-31T05:06:13.885429
2021-04-03T07:39:10
2021-04-03T07:39:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import socket import os HOST = "localhost" PORT = 8080 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0) server.bind((HOST, PORT)) server.listen(64) while True: (client, address) = server.accept() data = client.recv(1024) print data client.close()
[ "zhu_guang_wei@qq.com" ]
zhu_guang_wei@qq.com
475e940aa4765508f4d3375009c638344ae52d08
426aed70aa6925105f10c7fcb7b611b277bf8b84
/examples/tensorflow/gcn/train.py
27bce76525b97b63c79bf158845b0991a3398d6c
[ "Apache-2.0" ]
permissive
hengruizhang98/dgl
0ce7201ca7380482440f031cb8ced6ca0e8c8dc1
195f99362d883f8b6d131b70a7868a537e55b786
refs/heads/master
2023-06-10T22:21:45.835646
2021-04-13T12:29:43
2021-04-13T12:29:43
336,804,001
3
0
Apache-2.0
2021-02-07T14:16:20
2021-02-07T14:16:20
null
UTF-8
Python
false
false
5,171
py
import argparse import time import numpy as np import networkx as nx import tensorflow as tf import dgl from dgl.data import register_data_args from dgl.data import CoraGraphDataset, CiteseerGraphDataset, PubmedGraphDataset from gcn import GCN def evaluate(model, features, labels, mask): logits = model(features, ...
[ "noreply@github.com" ]
hengruizhang98.noreply@github.com
5822c84094d8efbf7af75583cf819e876561bdb2
3f53e38076713ab49fd03a54c7c9d3e21de5eb14
/Pyrado/scripts/hyperparam_optimization/hopt_tspred_nf.py
49960023f4aa028340855a5ae176a30a940b4c67
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
arlene-kuehn/SimuRLacra
4510473789d1c8927c8d5969a9606238523d5dd7
15901f70f0538bce19acdda2a0018984f67cc0fe
refs/heads/master
2023-01-28T13:10:05.607575
2020-12-04T14:47:01
2020-12-04T14:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,756
py
# Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and # Technical University of Darmstadt. # 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 ...
[ "fabio.muratore@famura.net" ]
fabio.muratore@famura.net
7226746ffe47220e01904de693cd833cd4c8e01b
6679fd1102802bf190294ef43c434b6047840dc2
/openconfig_bindings/bgp/neighbors/neighbor/afi_safis/afi_safi/l3vpn_ipv4_multicast/__init__.py
c72d56ed731c5f59b1d118341f79f6aea1640c15
[]
no_license
robshakir/pyangbind-openconfig-napalm
d49a26fc7e38bbdb0419c7ad1fbc590b8e4b633e
907979dc14f1578f4bbfb1c1fb80a2facf03773c
refs/heads/master
2023-06-13T17:17:27.612248
2016-05-10T16:46:58
2016-05-10T16:46:58
58,091,515
5
0
null
null
null
null
UTF-8
Python
false
false
5,033
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "rjs@jive.com" ]
rjs@jive.com
78196ea42ee35e1f64b72b15133de559e65d446b
b2a72c68252a80764554ca2ba1e372f82f4fc2ad
/lib/datasets/json_dataset_cityscapes.py
9a591c23222add384c2a5173a6432be0c8fb2a98
[ "MIT" ]
permissive
manmanCover/multi-task-pytorch
f320bfd60dd121b897e6d521944f2fb9d7669b47
7d57645ec8be0ca0c258cfa99fb788e3cd37f106
refs/heads/master
2020-06-03T03:01:40.554172
2019-01-30T16:44:52
2019-01-30T16:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,881
py
# Copyright (c) 2017-present, Facebook, 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...
[ "729622788@qq.com" ]
729622788@qq.com
3b2d0433329ca933c5b320f6819eab651f4b97bb
0682d8202d60779412b0943c247cd7e4f4986024
/tensorflow/python/keras/engine/distributed_training_utils.py
224231278bd2e9af7bf3d970a4fc5541a2b3ae84
[ "Apache-2.0" ]
permissive
VikramTiwari/tensorflow
cc6b77db6d071b1afa283d894b00c3fcdb6ed44d
99e1f661ca724edf7fd679c1a1418535c4e80512
refs/heads/master
2020-04-19T08:41:07.561125
2019-01-29T03:56:57
2019-01-29T03:56:57
168,085,808
0
0
Apache-2.0
2019-01-29T03:55:19
2019-01-29T03:55:18
null
UTF-8
Python
false
false
36,454
py
# Copyright 2018 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
9b28bac42080722c5a67691e653e9e593cef409f
70611d6a16cbb7a90a8e2b9f793e462640cd9ac7
/hsreplaynet/api/urls.py
4e85cca706ebf593f19324600fea52189be00220
[]
no_license
smikula/HSReplay.net
990d2dc12af4053a34024b8b73abf86aa18c884c
384872de472d66425e7f6daed5aff7b421f7c1d0
refs/heads/master
2021-01-22T00:28:51.593392
2016-08-05T18:27:48
2016-08-05T21:13:13
64,862,023
0
0
null
2016-08-03T16:37:03
2016-08-03T16:37:03
null
UTF-8
Python
false
false
685
py
from django.conf.urls import url, include from rest_framework.routers import DefaultRouter from . import views router = DefaultRouter() router.register(r"agents", views.APIKeyViewSet) router.register(r"tokens", views.AuthTokenViewSet) router.register(r"uploads", views.UploadEventViewSet) urlpatterns = [ url(r"^v1/"...
[ "jerome@leclan.ch" ]
jerome@leclan.ch
d1df74ee9bb174c2aa208a15a672156d66257f0f
bb54c1e045db1993de6e7cbaf62a232b8b82d895
/producto_marca_app/serializers/__init__.py
97d62b76f371e0d047e0a29dd36a001bde704adc
[]
no_license
AndresOsorio95/BackendMarca
1037f1db6e4ecb3949df9defeda3c0dc4a1c0cd5
a1bbfcdab70dc7a7ee80c0699c6d80286e93195d
refs/heads/main
2023-06-07T09:02:41.819850
2021-07-02T18:47:05
2021-07-02T18:47:05
382,433,965
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from .producto_marca import ProductoMarcaSerializer, GetShortProductoMarcaSerializer, GetLiteProductoMarcaSerializer, SaveProductoMarcaSerializer
[ "andres.osorio0710@gmail.com" ]
andres.osorio0710@gmail.com
a3bfb487d2244a8dc6e753704b2a7b221257cd51
6bc991e3db089dca9ac7a5716f2114017029c6a3
/sppas/sppas/src/ui/wxgui/cutils/imageutils.py
9230d2615d708e15c5d5c0ee1709b278bb62c1bc
[ "MIT", "GFDL-1.1-or-later", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
mirfan899/MTTS
8b32924754cf399147293d7e314b7fcb134f3f77
3167b65f576abcc27a8767d24c274a04712bd948
refs/heads/master
2020-06-11T20:59:03.788965
2019-10-09T12:34:02
2019-10-09T12:34:02
194,083,206
0
0
MIT
2019-06-27T11:30:30
2019-06-27T11:30:30
null
UTF-8
Python
false
false
9,724
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # --------------------------------------------------------------------------- # ___ __ __ __ ___ # / | \ | \ | \ / Automatic # \__ |__/ |__/ |___| \__ Annotation # \ | | |...
[ "virtuoso.irfan@gmail.com" ]
virtuoso.irfan@gmail.com
87f0c3e780ad11f493a2dbd98d3cfb188a740a74
e8b839063a3455d57a557de8df6442213b3bc724
/spider_op/export_data.py
fdb328cda04bc0da0c6c9d93e7246d8666d7a39c
[]
no_license
logonmy/internet-content-detection
7d52502c58bd2bf448c31cfb61569f59fa3f729c
9470fbf6e856706a202309b2629d511d4b3ac805
refs/heads/master
2020-04-25T08:25:12.726134
2017-10-24T08:11:44
2017-10-24T08:11:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
import sys sys.path.append('../') import init from utils.export_data import ExportData import time def main(): # 导出数据 export_data = ExportData() key_map = { 'id': 'int__id', 'name': 'str_name', 'url': 'str_url', } export_data.export_to_oracle(source_table='op...
[ "boris_liu@foxmail.com" ]
boris_liu@foxmail.com
f85da874f4344823b736f1b8bf2a25914831c972
74482894c61156c13902044b4d39917df8ed9551
/test/test_get_transaction_details_by_transaction_id_response_item_blockchain_specific_bitcoin_script_sig.py
67d0e621a729765dd5603286a4d7c447e89de33a
[ "MIT" ]
permissive
xan187/Crypto_APIs_2.0_SDK_Python
bb8898556ba014cc7a4dd31b10e24bec23b74a19
a56c75df54ef037b39be1315ed6e54de35bed55b
refs/heads/main
2023-06-22T15:45:08.273635
2021-07-21T03:41:05
2021-07-21T03:41:05
387,982,780
1
0
NOASSERTION
2021-07-21T03:35:29
2021-07-21T03:35:29
null
UTF-8
Python
false
false
1,660
py
""" CryptoAPIs Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei...
[ "kristiyan.ivanov@menasoftware.com" ]
kristiyan.ivanov@menasoftware.com
376a7588d160c01c14aa93766aa7ce1e747c9237
5982cd8db693927e83cd99f8ea1acf4fc90b8b9b
/Configurations/ControlRegions/WW/configuration.py
b2c90cbf24575f0c26db684960ee4dcab01c2ffd
[]
no_license
cedricpri/PlotsConfigurations
61fc78ce9f081fd910a25f8101ea8150a7312f25
5cb0a87a17f89ea89003508a87487f91736e06f4
refs/heads/master
2021-01-17T09:46:55.026779
2016-09-01T09:30:09
2016-09-01T09:30:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# example of configuration file tag = 'WW' # used by mkShape to define output directory for root files outputDir = 'rootFile' # file with list of variables variablesFile = 'variables.py' # file with list of cuts cutsFile = 'cuts.py' # file with list of samples samplesFile = 'samples.py' # file with list of sa...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
34c2eb525c534ecc41426972c869ce65172c80f5
f146cef3f2172275c8d7f526dab92951fa50eb2c
/COURSE/droplet_dockerized/app/app.py
91669525a628b44c65ff4eb242ab486e87a9c26a
[]
no_license
mehranj73/Bootcamp
fed04d3858d6d0bc1cdad94e1f05bd4f7a47c0ec
bd575cd02329ad1ce21b05350380dfbf17cbdd89
refs/heads/master
2023-02-09T06:50:00.590751
2019-08-22T18:56:02
2019-08-22T18:56:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
import random import string from flask import Flask from flask_migrate import Migrate from models import TodoItem from database import db from models.todo_list import TodoList from urls import todo_list_api, todo_items_api, tags_api app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://postgres...
[ "rachovsky@gmail.com" ]
rachovsky@gmail.com
fd20de92110798456b496ff74784f90b35d95924
51108a50ffb48ad154f587c230045bb783f22240
/scenes/charactercreation/classes.py
3e28a94348c252931ab823d41920b3e5cff71e8e
[ "MIT" ]
permissive
ChrisLR/BasicDungeonRL
c90bd0866c457557cccbad24e14689d5d6db7b00
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
refs/heads/master
2021-06-15T13:56:53.888646
2019-08-05T16:33:57
2019-08-05T16:33:57
104,269,987
3
0
MIT
2019-08-05T16:28:23
2017-09-20T21:35:19
Python
UTF-8
Python
false
false
3,998
py
from functools import partial from clubsandwich.ui import ( ButtonView, LayoutOptions, WindowView, ) from bflib.characters import classes from core.ui import CoreUIScene from core.ui.views import SelectableButtonView, KeyAssignedListView class ClassSelection(CoreUIScene): _inactive_fg = '#ffffff' ...
[ "arzhul@gmail.com" ]
arzhul@gmail.com
1f5821cd314860df4a3cb02399b2340e755a03e5
85a32fc66050b5590f6a54774bbb4b88291894ab
/python/itertools/permutations/python3.py
a9d005dc7b81e2d9585a0eaa8792fe34ed5b9d48
[]
no_license
charlesartbr/hackerrank-python
59a01330a3a6c2a3889e725d4a29a45d3483fb01
bbe7c6e2bfed38132f511881487cda3d5977c89d
refs/heads/master
2022-04-29T07:40:20.244416
2022-03-19T14:26:33
2022-03-19T14:26:33
188,117,284
46
37
null
2022-03-19T14:26:34
2019-05-22T21:38:18
Python
UTF-8
Python
false
false
126
py
from itertools import permutations s, k = input().split() [print(''.join(p)) for p in sorted(list(permutations(s, int(k))))]
[ "e-mail@charles.art.br" ]
e-mail@charles.art.br
438662e66c5f78328f0a94658cca17439926ea98
00a9295409b78a53ce790f7ab44931939f42c0e0
/FPGA/apio/iCEBreaker/FIR_Filter/sympy/venv/lib/python3.8/site-packages/numpy/random/tests/test_randomstate.py
edd7811bf5c707e58a6b0facfc1dbaaaeacbb746
[ "BSD-3-Clause", "GPL-3.0-or-later", "GCC-exception-3.1", "BSD-3-Clause-Open-MPI", "GPL-3.0-only", "Apache-2.0" ]
permissive
klei22/Tech-OnBoarding-Class
c21f0762d2d640d5e9cb124659cded5c865b32d4
960e962322c37be9117e0523641f8b582a2beceb
refs/heads/master
2022-11-10T13:17:39.128342
2022-10-25T08:59:48
2022-10-25T08:59:48
172,292,871
2
3
Apache-2.0
2019-05-19T00:26:32
2019-02-24T03:50:35
C
UTF-8
Python
false
false
79,448
py
import hashlib import pickle import sys import warnings import numpy as np import pytest from numpy.testing import ( assert_, assert_raises, assert_equal, assert_warns, assert_no_warnings, assert_array_equal, assert_array_almost_equal, suppress_warnings ) from numpy.random import MT199...
[ "kaunalei@gmail.com" ]
kaunalei@gmail.com
a51a4c660a1f8d9db639e0df7bcb0da70a8a992b
090b8ab6d3e6c4b48bd697520e6538f22e3c3791
/tests/api/test_fulfillment.py
80d16e65a16a03d191b2bf9872d94af5415b85a0
[ "BSD-3-Clause" ]
permissive
pilotbe2man/saleor
4e887f7bde83e4f1cddf93d3b6c52736a07e2164
c14de2dbe00b4df90c6385feb75d0a4c862e2b0d
refs/heads/master
2022-12-24T14:55:31.031047
2018-09-30T15:05:46
2018-09-30T15:05:46
150,977,187
2
2
BSD-3-Clause
2022-12-08T02:51:42
2018-09-30T15:01:59
Python
UTF-8
Python
false
false
6,530
py
import json import graphene import pytest from django.shortcuts import reverse from tests.utils import get_graphql_content from saleor.order import OrderEvents, OrderEventsEmails from saleor.order.models import FulfillmentStatus CREATE_FULFILLMENT_QUERY = """ mutation fulfillOrder( $order: ID, $lines: [F...
[ "be2man@hotmail.com" ]
be2man@hotmail.com
afafb068fb3aa5bbc36eb2de4a49e6c1bb037399
8f100cb7e5d6b2024e923f8a220c96f703c7172b
/costar_task_plan/python/costar_task_plan/needle_master/actor.py
ad7f71ce157e480b395dfa83a96afd211ab600a5
[ "Apache-2.0" ]
permissive
lk-greenbird/costar_plan
c862eab2e5ca34bd93f5364d4baab7138d897194
be5c12f9d0e9d7078e6a5c283d3be059e7f3d040
refs/heads/master
2022-02-09T17:45:46.403376
2019-07-23T14:41:43
2019-07-23T14:41:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
from costar_task_plan.abstract import * import numpy as np ''' Tracks the player's progress in the game so far ''' class NeedleState(AbstractState): vec = np.array([0,0,0]) def __init__(self,env,vec): self.vec = vec self.gates = [False]*len(env.gates()) def x(self): return self.vec[0] def y(self...
[ "cpaxton3@jhu.edu" ]
cpaxton3@jhu.edu
cc774a408abbf63e6a8833e7858c849afc24dca0
c0c8aeb5aaf08925d8c9e1d660b02c89cbc7ad71
/Algorithms/Medium/24. Swap Nodes in Pairs/answer.py
354a795b327966313009d7e0ef475a157a9d5bbf
[ "Apache-2.0" ]
permissive
kenwoov/PlayLeetCode
b2fdc43d799c37683a9efdc31c4df159cf553bf5
4012a2f0a099a502df1e5df2e39faa75fe6463e8
refs/heads/master
2022-12-17T05:54:22.775972
2020-09-26T14:08:43
2020-09-26T14:08:43
214,839,611
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
from typing import List class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def swapPairs(self, head: ListNode) -> ListNode: if not head: return head f, s = head, head.next while f and s: f.val, s....
[ "kenwoov@outlook.com" ]
kenwoov@outlook.com
9882a1b32a942b7a58f9e0c732eb0408a1c786c2
0d55bde6f4784f6dea9e8e6945d05bbf627e1e7d
/Packs/MicrosoftGraphDeviceManagement/Integrations/MicrosoftGraphDeviceManagement/MicrosoftGraphDeviceManagement.py
7c1066108869ac2de513b635108f582a1df3a7a7
[ "MIT" ]
permissive
crestdatasystems/content
d7040415431b5d06d1569433a49869afcb0292bd
5f0f00840c39f028dca8377551bbd725d8ee8a2d
refs/heads/master
2023-08-16T19:35:38.150912
2023-07-11T05:59:59
2023-07-11T05:59:59
280,669,011
2
1
MIT
2023-03-10T16:00:35
2020-07-18T14:06:44
Python
UTF-8
Python
false
false
26,008
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 ''' IMPORTS ''' import json from typing import Any, Tuple import urllib3 # Disable insecure warnings urllib3.disable_warnings() ''' GLOBAL VARS ''' SPECIAL_HEADERS: dict = { 'id': 'ID', 'userId': 'User ID', 'osV...
[ "noreply@github.com" ]
crestdatasystems.noreply@github.com
1578efffce1ae8b4120cee9ef4aa1cd3987c9bfd
f66a33f8cdd8286320da730be67c89ee00d83d8d
/configs/example/gpufs/hip_samples.py
0d9263e128ec6ceb7672a44eae5ad9ba3af16173
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
H2020-COSSIM/cgem5
0d5812632757e6146f7852c9bf4abe4e9628296a
1222cc0c5618875e048f288e998187c236508a64
refs/heads/main
2023-05-13T14:08:01.665322
2023-05-08T08:39:50
2023-05-08T08:39:50
468,039,890
3
2
BSD-3-Clause
2022-10-12T14:29:33
2022-03-09T18:05:40
C++
UTF-8
Python
false
false
4,533
py
# Copyright (c) 2022 Advanced Micro Devices, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of condi...
[ "ntampouratzis@isc.tuc.gr" ]
ntampouratzis@isc.tuc.gr
65e2d344b93c069bb60333e213b3e3bd14565b4a
53c3462ff265b6273f4a4fa17f6d59688f69def0
/LeetCode/324_wiggleSort.py
e86a744f77eee84b07f5235ccb95dd355f0bf033
[]
no_license
17764591637/jianzhi_offer
b76e69a3ecb2174676da2c8d8d3372a3fc27b5c4
27e420ee302d5ab6512ecfdb8d469b043fb7102d
refs/heads/master
2023-08-03T01:32:51.588472
2019-10-13T07:56:21
2019-10-13T07:56:21
197,692,548
2
0
null
null
null
null
UTF-8
Python
false
false
796
py
''' 给定一个无序的数组 nums,将它重新排列成 nums[0] < nums[1] > nums[2] < nums[3]... 的顺序。 示例 1: 输入: nums = [1, 5, 1, 1, 6, 4] 输出: 一个可能的答案是 [1, 4, 1, 5, 1, 6] 示例 2: 输入: nums = [1, 3, 2, 2, 3, 1] 输出: 一个可能的答案是 [2, 3, 1, 3, 1, 2] 说明: 你可以假设所有输入都会得到有效的结果。 进阶: 你能用 O(n) 时间复杂度和 / 或原地 O(1) 额外空间来实现吗? ''' class Solution: def wiggleSort(se...
[ "17764591637@163.com" ]
17764591637@163.com
8f99c87c8520ee7d0904b829801d8c7d1845d76f
a34507bee8dc5502c663a71f3e98257f8ff0334d
/16_剑指offer二刷/剑指offer一刷/87-把字符串转换成整数.py
018a73950b5c1d5f63234a69ce5c3ccd7bf7800c
[]
no_license
michelleweii/Leetcode
85b7876a3e283f3982dd86de01ccc5470e63388f
0c09b5a018e7334bd49dd251834fc8e547084cc1
refs/heads/master
2022-05-17T07:28:23.684720
2022-04-28T12:40:48
2022-04-28T12:40:48
149,776,312
3
2
null
null
null
null
UTF-8
Python
false
false
618
py
# -*- coding:utf-8 -*- class Solution: def StrToInt(self, s): if not s:return 0 k = 0 while k<len(s) and s[k]==' ':k+=1 num = 0 is_minus = False if s[k] == '+': k += 1 elif s[k] == '-': k += 1 is_minus = True while k<len(s) and ...
[ "641052383@qq.com" ]
641052383@qq.com
5fdcb080a670356754eee3611bfbfaab6a522cad
aba442afba026d2130c4aeca863308ca26e7e472
/examples/automm/kaggle_california_house_price/example_kaggle_house.py
5f54890884e727b375ee4c87f933584d56b7bdcf
[ "Apache-2.0" ]
permissive
stjordanis/autogluon
c8fd03a9bf7624911b13e90239e9260dd8885ddf
6af92e149491f6e5062495d87306b3625d12d992
refs/heads/master
2023-08-21T15:16:53.202431
2023-08-11T20:15:31
2023-08-11T20:15:31
228,360,888
0
0
Apache-2.0
2019-12-16T10:25:32
2019-12-16T10:25:30
null
UTF-8
Python
false
false
6,122
py
import pandas as pd import numpy as np import argparse import os import random from autogluon.tabular import TabularPredictor from autogluon.multimodal import MultiModalPredictor import torch as th def get_parser(): parser = argparse.ArgumentParser( description='The Basic Example of AutoGluon for House Pr...
[ "noreply@github.com" ]
stjordanis.noreply@github.com
203e8570b936c449cca86810439450d45acefc74
b9878c92b857f73ff0452fc51c822cfc9fa4dc1c
/watson_machine_learning_client/libs/repo/mlrepositoryartifact/spark_pipeline_model_loader.py
53c00b96dbea8146a7aa24d18af94fae8a1a36cd
[]
no_license
DavidCastilloAlvarado/WMLC_mod
35f5d84990c59b623bfdd27369fe7461c500e0a5
f2673b9c77bd93c0e017831ee4994f6d9789d9a1
refs/heads/master
2022-12-08T02:54:31.000267
2020-09-02T15:49:21
2020-09-02T15:49:21
292,322,284
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
################################################################################ # # Licensed Materials - Property of IBM # (C) Copyright IBM Corp. 2017 # US Government Users Restricted Rights - Use, duplication disclosure restricted # by GSA ADP Schedule Contract with IBM Corp. # ######################################...
[ "dcastilloa@uni.pe" ]
dcastilloa@uni.pe
e9d2d7c26fbea1f0ac4aeee2bb001a51e4ec71bb
6d0961eb42567764d84d59f11c2ef5819668f007
/lib/implements/flask_app.py
401d72615b1b54103d7a2ccf6bf02490781ce35d
[ "MIT" ]
permissive
iswenhao/Panda-Sandbox
c454177ae6b6cbaf1196db8230d6080bdac46e8a
a04069d404cb4326ff459e703f14625dc45759ed
refs/heads/master
2020-09-07T20:43:01.849284
2019-06-20T15:10:51
2019-06-20T15:10:51
220,908,393
2
0
MIT
2019-11-11T05:33:51
2019-11-11T05:33:51
null
UTF-8
Python
false
false
502
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ================================================== # @Time : 2019-06-20 14:40 # @Author : ryuchen # @File : flask_app.py # @Desc : # ================================================== from apps.apis.router import app from lib.base.Application import Application class F...
[ "chenhao@geyecloud.com" ]
chenhao@geyecloud.com
f26f231c03bade4de4b004f8de3d53aed8f984ba
f30154601c37eaee19fd7c490c7f5fbe72f0f635
/PacketHookModify/mitm/packet_monitor.py
0a47b22fb805fc050fb62738cf40fb7a37c9fc64
[]
no_license
pondelion/Security
2606c33a2c75c0461f0d591cac13c44fe172ce3a
2bc2bef32db059df43002a63f362da803b7f3351
refs/heads/master
2023-03-08T23:43:35.057248
2022-08-14T20:35:11
2022-08-14T20:35:11
158,054,912
3
0
null
2023-03-07T13:50:21
2018-11-18T06:02:29
Smali
UTF-8
Python
false
false
543
py
import os import sys from scapy.all import * from netfilterqueue import NetfilterQueue TARGET_SERVER_IP = '192.168.111.2' TARGTE_CLIENT_IP = '192.168.111.10' TARGET_PORT = 5000 def packet_callback(packet): print(packet) packet.show() try: raw = packet[Raw] print(f'raw : {raw}') p...
[ "programming.deve@gmail.com" ]
programming.deve@gmail.com
5a5c662e1159cc9d8af65bb6e9ffde15d6b0c756
01733042e84a768b77f64ec24118d0242b2f13b8
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/egress_4e89b8b21cee661a60b28490fafa26ba.py
fcd59fd60500aa044e3f2acddd560b3f9f0e819e
[ "MIT" ]
permissive
slieberth/ixnetwork_restpy
e95673905854bc57e56177911cb3853c7e4c5e26
23eeb24b21568a23d3f31bbd72814ff55eb1af44
refs/heads/master
2023-01-04T06:57:17.513612
2020-10-16T22:30:55
2020-10-16T22:30:55
311,959,027
0
0
NOASSERTION
2020-11-11T12:15:34
2020-11-11T12:06:00
null
UTF-8
Python
false
false
10,721
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
e71e02cc15d149ab3f7fc57097d7e5aa4c0225fa
dc6287440e136f76d4b6308e410ebf101ed9e2a9
/ElectionPortal/settings_config.sample.py
cd04284a5a4503543441a6aab0a371a43faaf714
[]
no_license
DheerendraRathor/ElectionPortal
479df5f2663fbae85a5d0b24753f46aeda5c7867
f163ebd9087fe8db0272acc39b1186a3f7022cae
refs/heads/master
2021-01-19T15:06:15.142481
2017-07-18T08:55:21
2017-07-18T08:55:21
50,679,575
2
2
null
2017-07-18T08:55:21
2016-01-29T17:44:13
Python
UTF-8
Python
false
false
808
py
# SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '<SECRET KEY>' DEBUG = False ALLOWED_HOSTS = ['*'] # Voter Key Length VOTER_KEY_LENGTH = 6 # Email server settings EMAIL_HOST = "smtp-auth.iitb.ac.in" EMAIL_PORT = 25 EMAIL_HOST_USER = "" EMAIL_HOST_PASSWORD = "" # Email Id which wil...
[ "dheeru.rathor14@gmail.com" ]
dheeru.rathor14@gmail.com
f14f31ed93fd06c1d5cf979951f569f8d6423c34
ab84edd7474704e14d8003587300d0b3ed39e16b
/9999_some_tiny_program/VideoProgram/api_main.py
5efac5d918da1fdfc09922d518785720431ed8de
[]
no_license
huntercode1905/silenter_read_story
81d5600c9e2fa6d5f9f132ee296122bd50bc6b8e
eb14f37a40eac584d1a9fe287509a2f3c78210fd
refs/heads/master
2023-08-18T02:04:38.888136
2020-10-23T08:29:35
2020-10-23T08:29:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,614
py
from flask import Flask, jsonify, request from config import SQLALCHEMY_DATABASE_URI from flask_sqlalchemy import SQLAlchemy import pymysql import requests import json app = Flask(__name__) app.config['JSON_AS_ASCII'] = False # app.config.from_object(config) app.config['SQLALCHEMY_DATABASE_URI'] = SQLALCHEMY_DATABAS...
[ "silenterofsea@gmail.com" ]
silenterofsea@gmail.com