blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
346a1d1871be3ea9c34e4439423a76c4f242e810
669e9241b02bdaa303fbc2fd4023b90d4d179a59
/Randomized Pulled String/challenge3.py
2d68218a4951ecd60943d4a45d32bde6066f8181
[]
no_license
benjaminpotter/HatchProjects
0854cf46ae7c3781468116a5d63b703dd54ae68c
7f6a948d3474c755d071751b725c059e6c7f3553
refs/heads/master
2022-01-28T16:58:03.449073
2019-08-16T13:47:30
2019-08-16T13:47:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def mouseClicked(): background(0) strokeWeight(10) for i in range (0, width) : r = random(0, 255) x = random (0, width) stroke(r, r, r, 100) line(i, 0, x, height)
[ "noreply@github.com" ]
benjaminpotter.noreply@github.com
c18790f1c9ea9c59ebe70356fd6eafa773ba7a3f
32ef8621468095bf9c6dd912767cb97e9863dc25
/algorithms/kaprekar-numbers.py
d4e44e799005d22fc4109908b61ebb0ee1e5e43c
[]
no_license
Seungju182/Hackerrank
286f1666be5797c1d318788753245696ef52decf
264533f97bcc8dc771e4e6cbae1937df8ce6bafa
refs/heads/master
2023-08-17T22:49:58.710410
2021-10-25T09:40:46
2021-10-25T09:40:46
337,652,088
1
0
null
null
null
null
UTF-8
Python
false
false
626
py
#!/bin/python3 import math import os import random import re import sys # # Complete the 'kaprekarNumbers' function below. # # The function accepts following parameters: # 1. INTEGER p # 2. INTEGER q # def kaprekarNumbers(p, q): # Write your code here lst = [] for num in range(p, q+1): squared...
[ "tonysj@snu.ac.kr" ]
tonysj@snu.ac.kr
850ade5eeed22d497b51edf7a8f5ccd3b3049007
61efd764ae4586b6b2ee5e6e2c255079e2b01cfc
/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/metric_specification.py
a86668fcff8d8d4acf56738739afb3ab74282378
[ "MIT" ]
permissive
AutorestCI/azure-sdk-for-python
a3642f53b5bf79d1dbb77851ec56f4cc0c5b3b61
60b0726619ce9d7baca41f6cd38f741d74c4e54a
refs/heads/master
2021-01-21T02:23:59.207091
2018-01-31T21:31:27
2018-01-31T21:31:27
55,251,306
4
3
null
2017-11-13T17:57:46
2016-04-01T17:48:48
Python
UTF-8
Python
false
false
4,163
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
83f325539952c23909157086bbb01b3725047fbd
d60f13e52d385fd7f839ee441d8df05b34f8c75b
/wirecell/test/__main__.py
ebc11006d8d4b16dfbd3ebe5983fdcf478ad5421
[]
no_license
wenqiang-gu/wire-cell-python
07fe7ac420fedf747e97ba424052e85222316234
981541f5618b94d55ee5f07c6eeff6fbbfa5fa93
refs/heads/master
2022-10-02T08:51:27.193403
2022-07-29T16:23:42
2022-07-29T16:23:42
228,528,245
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import math import click from wirecell.util import ario, plottools @click.group("test") @click.pass_context def cli(ctx): ''' Wire Cell Test Commands ''' @cli.command("plot") @click.option("-n", "--name", default="noise", help="The test name") @click.argument("datafile") @click.argument("ou...
[ "brett.viren@gmail.com" ]
brett.viren@gmail.com
29d1ef17c3c791571dbab5483287b705b1f6dd7a
475509f771a82603a20d6c7487d5a6c1eca64918
/venv/bin/normalizer
e84f16f1c3d75e10d6e92bf9baf5fd3fe7e6dfa6
[]
no_license
ulan2005/api
83aee48b97c733b7ebc9c86bbc46c70ad65ccf05
18df714ae70049baa37d234c35c914afc77a0d69
refs/heads/master
2023-08-31T23:05:44.917648
2021-11-13T04:20:42
2021-11-13T04:20:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
#!/home/tenthent/help/api/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from charset_normalizer.cli.normalizer import cli_detect if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(cli_detect())
[ "kayratsagynbekov@gmail.com" ]
kayratsagynbekov@gmail.com
58574ad0dad5911c3bfcbe11a05877544c674def
3f327d2654b85b922909925b9f475315d78f4652
/Backend/lib/python3.6/site-packages/twilio/rest/api/v2010/account/message/media.py
17f63437924a2838c56dc60c9b02c116a651dff3
[ "MIT" ]
permissive
brianwang1217/SelfImprovementWebApp
8db45914027537aee9614f9d218c93cc08dc90f8
7892fc4ee5434307b74b14257b29a5f05a0a0dd7
refs/heads/master
2022-12-13T15:01:08.595735
2018-06-23T04:46:06
2018-06-23T04:46:06
137,548,289
1
1
MIT
2022-05-25T01:28:29
2018-06-16T02:48:52
Python
UTF-8
Python
false
false
14,742
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import serialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import ...
[ "talk2shreyas@gmail.com" ]
talk2shreyas@gmail.com
e077000339f79423ee4da9c789b77491ab87ac5f
fbe3a52d2dd02bec18f7f52b31e357aed192a308
/misc/begin/exercises/def1.py
4cbd865b23fdbc03446b3cc80ad9e332cc9a1e7d
[]
no_license
lherrada/python
8fc5bd5ceb6038479fa6347dd6c0bd6e17f92e98
d8260f35ba91b89590ef8e489188fb80ca1aed4e
refs/heads/master
2022-10-29T06:23:17.297554
2022-09-24T15:45:59
2022-09-24T15:45:59
23,411,904
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
#!/usr/bin/python def general(func,arg): apply(func,(arg,)) def name(x): print "Your name is " + x def age(n): print "Your age is %d" % n print "=" * 30 datain=[(name,"Erikita"),(age,38)] for i,j in datain: apply(i,(j,)) for i,j in datain: i(j) #general(name,"Erikita") #general(age,38) #name("Erika") #x=...
[ "lherrada@lucid64.hsd1.ca.comcast.net" ]
lherrada@lucid64.hsd1.ca.comcast.net
0a030625e9544345a435aa71ebe26d2aeb90f1b0
72013fb45d20d03dc21c743d76724c12386cc88b
/tests/funfhmmer_test.py
98fb677b43d8243fb2d8f51c9a2fc01d0c082ecd
[ "MIT" ]
permissive
shouldsee/cathpy
beefe7319f6272b73d281b39ec049d0a1231fc0e
5f7fa1322434b2d254f0158c5840f029b12dbafe
refs/heads/master
2021-03-14T06:03:14.119801
2020-01-10T21:39:33
2020-01-10T21:39:33
246,743,752
0
0
NOASSERTION
2020-03-12T04:31:08
2020-03-12T04:31:07
null
UTF-8
Python
false
false
2,120
py
import glob import logging import os import re import tempfile from .testutils import TestBase, log_title, log_level from cathpy.core.funfhmmer import Client, ResultResponse import cathpy.core.error as err LOG = logging.getLogger(__name__) class TestFunfhmmer(TestBase): def setUp(self): self.test_data...
[ "ian@sillit.com" ]
ian@sillit.com
2d579021b7824811d1c1632aaf56eda54eeaed4b
1d833572db4b65799c3de4ceebb09740d6306729
/QueueServer.py
5d4e9d3ec2fb1dc016d231d793a7174d890e864c
[]
no_license
Kishi115/Systems-Modelling-and-Simulation
31231b77cff0398de30b3c8fc86add7a550d9ea4
c61bd42983e1266f1eed686b1e12fc4cc42d73d7
refs/heads/master
2020-12-21T00:08:18.667541
2020-01-26T01:04:56
2020-01-26T01:04:56
236,251,251
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
import random from tabulate import tabulate # no. of arrivals n = 100000 # column headers interval = [random.randint(0, 10)] arriveTime = [1] waitTime = [0] timeAtServe = [1] serveTime = [random.randint(1, 5)] departTime = [timeAtServe[0] + serveTime[0]] queueLine = [0] # average wait and departure ti...
[ "noreply@github.com" ]
Kishi115.noreply@github.com
97f518ba5b43b776aa98dea4596d5b0c2fa1cd7b
d530a37faefd35996e9236369c9f473eec029a42
/server.py
c78ca1d5e5fbb51e913ff33482075b9bf7877463
[]
no_license
lildwagz/file-tranfer-server
99ad00f332919fe8fb79275be2736215786b1130
cf84b6534e1a52e7cbc1a2f4bc2d3a18714f7397
refs/heads/master
2020-09-28T02:57:54.229445
2019-12-08T22:49:44
2019-12-08T22:49:44
226,672,535
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
import socket import threading import os def menerima(name, socket): filename = socket.recv(1024) if os.path.isfile(filename): socket.send("EXISTS " + str(os.path.getsize(filename))) userResponse = socket.recv(1024) if userResponse[:2] == 'OK': with open(filename, 'rb') as ...
[ "zamshit123@gmail.com" ]
zamshit123@gmail.com
cc9883e5b55518c5f51112fba077922ad9c5be72
f7600adc88cb08c2fdb067dcdd42f6916aa89a66
/src/Copy of GraphColoringSimulation.py
9403eb756ba3a3f834eea25e664382443779532a
[]
no_license
ofraam/GraphColoringMIPs
0b1003e9d34ffc937cb8d426206a64d4c3275efe
048ca01d66f1b1d4e7e9e2213764f98f81c806f7
refs/heads/master
2021-01-22T01:04:59.570512
2015-08-28T21:35:14
2015-08-28T21:35:14
37,035,554
0
1
null
2015-08-23T16:19:14
2015-06-07T23:01:56
Python
UTF-8
Python
false
false
19,550
py
''' Created on Jun 7, 2015 @author: Ofra ''' import networkx as nx import math import numpy as np import random from GraphProblem import GraphProblem from Agent import Agent import copy from MIP import Mip from Utils import Action from Utils import Result from Utils import Session import csv import Baselines from Base...
[ "oamir@seas.harvard.edu" ]
oamir@seas.harvard.edu
829785859dab7cbc2a6d79cf70e8791449e36fd6
de89ae9de27c88aa2fca96985febb7e4ae6ec702
/lenstronomy/ImSim/Numerics/convolution.py
b28cdd7c11b8104b63f238a2f5552208c241c8d8
[ "MIT" ]
permissive
Jasonpoh/lenstronomy_sims
0a7f9a116f6103f128a46d28be43ac8283cf111d
10715966f2d15018fb4e1bcfe934ffa2c36a3073
refs/heads/master
2020-05-25T16:55:12.772873
2019-05-21T21:29:57
2019-05-21T21:29:57
187,897,527
0
1
null
null
null
null
UTF-8
Python
false
false
7,904
py
import scipy.signal as signal import scipy.ndimage as ndimage import numpy as np import lenstronomy.Util.kernel_util as kernel_util import lenstronomy.Util.util as util import lenstronomy.Util.image_util as image_util class PixelKernelConvolution(object): """ class to compute convolutions for a given pixeliz...
[ "jasonpoh@uchicago.edu" ]
jasonpoh@uchicago.edu
c9ce85723629a707758ea22deedc74f0c563ea12
4b89a7de426fb53b999b5f3834404215a90817df
/pyobjc-framework-GameCenter/setup.py
21ba4c119f399fb8e08f6ccbc52b420a124e686f
[]
no_license
peeyush-tm/pyobjc
a1f3ec167482566ddc7c895cfa2aca436109cf66
da488946f6cc67a83dcc26c04484ca4f10fabc82
refs/heads/master
2021-01-20T19:26:06.015044
2016-05-22T14:53:37
2016-05-22T14:53:37
60,502,688
2
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
''' Wrappers for the "GameCenter" framework on MacOS X. The Address Book is a centralized database for contact and other information for people. Appliations that make use of the GameCenter framework all use the same database. These wrappers don't include documentation, please check Apple's documention for information ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
1c2e4e3b2accda8bfab8fd701fa489bb64d77a17
75132feadcd75b3ac76ca9eca608a59ae5b57e1d
/class_challenge.py
dd216cbaf2c977c8772334ea47665cc3ec072976
[]
no_license
clutchmandd/Python-Projects
bcb4fb1f4f32e7c4a8062ddd94357bd6d96f7fa5
e1ce8ce920547317b8a721e8216a1c67926f4c87
refs/heads/main
2023-08-19T05:44:08.129749
2021-10-08T16:26:20
2021-10-08T16:26:20
400,896,630
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
# Creating a Class using the __init__() function class Person: def __init__(self, fname, lname, age): self.fname = fname self.lname = lname self.age = age def myfunc(self): print('Hello my name is ' + self.fname + ' ' + self.lname + '.') # Creating an instance p1 = Person('Davi...
[ "clutchmandd@gmail.com" ]
clutchmandd@gmail.com
51c1cc328778505cc2c071d613fd39395a4d764e
137e32a95f52169a38fb952ba245faa13040e46c
/mmrx/settings.py
9f495b2e723c135d1fe5ffeb1fffa234ffcddfeb
[ "Apache-2.0" ]
permissive
zszwoaini/ygsc
d5d242bdc0638bdb2f4d3b71df68bc2c40b34888
9edff2b7ebc2d56879de1ab2c7cabbe4744940f2
refs/heads/master
2020-04-25T04:43:16.044920
2019-02-25T15:40:59
2019-02-25T15:40:59
172,520,476
0
0
null
null
null
null
UTF-8
Python
false
false
8,680
py
""" Django settings for mmrx project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os #...
[ "1181233464@qq.com" ]
1181233464@qq.com
90a6fbbade7f6ccd7670bb4ba2455b2457756974
614db3d71137766beea7fbda39693ff8fa625d9a
/source_code/test_my_token.py
18687b7a397e43482241ff655e29550bd130fe11
[]
no_license
DmSide/DmSide-ai_code_analysis_tools
c8c0043d8ac418d732043f0c0d2844762aa08eb8
327ede21d651aada1711d49cf3a55dea98bfc6c9
refs/heads/master
2021-06-26T04:10:50.305101
2019-12-26T08:40:35
2019-12-26T08:40:35
230,227,174
0
0
null
2021-06-10T22:26:27
2019-12-26T08:36:44
Python
UTF-8
Python
false
false
1,913
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from my_token import TokenCode from analyze_tokens_list import statist_research #import mock import unittest from unittest.mock import Mock from unittest.mock import patch #import unittest.mock class TokenCodeTestCase(unittest.TestCase): tk = TokenCode('C:\\User\\...
[ "redhat@zuzex.lan" ]
redhat@zuzex.lan
dadb22dab974adbfc9735fd7fa2a6b6efea0df0a
80fcb4e9c0981007eb6d4ea92a39e194ef38980f
/Proiect/proiect/rents/migrations/0003_auto_20190607_0432.py
e6d07618e1375592690ae0463c27ce944daedf53
[]
no_license
sd-2019-30238/final-project-ppvmarius
17b761ee97dfe40f1ff00b6e1c2cdf034fba772e
df7e59cb785884eb64335a5590f3dba13c1e97ad
refs/heads/master
2020-04-30T21:11:39.848969
2019-06-07T01:43:42
2019-06-07T01:43:42
177,088,096
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-06-07 01:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rents', '0002_auto_20190607_0414'), ] operations = [ migrations.AddField( ...
[ "mpopovici@clj.bitdefender.biz" ]
mpopovici@clj.bitdefender.biz
53092dfd2bd0fa00448c9e96ce8c9b25bf3e34ce
70fec09ceb625608d561937955c285c0c39f6d95
/examples/basic_examples/http_middleware_service.py
c93260f707026e51e7be79c6dc733285377333fb
[ "MIT" ]
permissive
kalaspuff/tomodachi
b285e2c73696d14e3c84a479745e00824fba7190
deca849ec2b4cdc3d27f06e9ce0056fac0146a1a
refs/heads/master
2023-08-31T00:32:12.042486
2023-08-21T13:02:24
2023-08-21T13:02:24
62,165,703
191
28
MIT
2023-09-11T23:32:51
2016-06-28T18:43:51
Python
UTF-8
Python
false
false
1,707
py
import asyncio from typing import Any, Callable, Dict from aiohttp import web import tomodachi from tomodachi import Options, http, http_error async def middleware_function( func: Callable, service: Any, request: web.Request, context: Dict, *args: Any, **kwargs: Any ) -> Any: # Functionality before function...
[ "hello@carloscar.com" ]
hello@carloscar.com
0275ec02c5108085fde4a67dcf25fbc8dba2da0b
40babe7363262beb13d1543ed41dab005b222e71
/radflix/serializers.py
c667898e58e34d09fbd24be8389685b61369eee0
[]
no_license
Jouskar/Django-Backend
bca166c087beb0b7e7662176439aee8bba36490a
bc511be07ba91459079e297c53a16e15c5b8ca31
refs/heads/master
2023-01-06T06:23:50.119400
2020-11-09T09:43:27
2020-11-09T09:43:27
311,287,209
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
from rest_framework import serializers from radflix.models import Movie class MovieSerializer(serializers.ModelSerializer): class Meta: model = Movie fields = ('id', 'show_id', 'type', 'title', 'director', 'c...
[ "61375991+Jouskar@users.noreply.github.com" ]
61375991+Jouskar@users.noreply.github.com
350895baad189850e4420355ab20e78d81a348c4
ece47a6f01011a0eb4dddea49146b8bb726aec1c
/pikarpc/__init__.py
90436be38b5b4fb652fd5f602fb4137f8511ace6
[ "MIT" ]
permissive
valfrom/python_pika_rpc
87b6877110e95936affe4a481eb61756287cf0f0
6de04e4bd47cf2322d8d28938586608a32420fe4
refs/heads/main
2023-08-31T11:14:40.750418
2021-09-29T13:54:48
2021-09-29T13:54:48
408,753,318
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
from .rpc_server import RpcServer from .rpc_client import RpcClient
[ "valfrom@gmail.com" ]
valfrom@gmail.com
ed90a8b72de29d7b10b3c172b2e9a82442d7c296
7b1d3d0fdc5a35680069dec7575f07b28eca27ae
/pandas/io/parsers/c_parser_wrapper.py
a6647df94796149459edf0e6284eefd221393832
[ "BSD-3-Clause" ]
permissive
KalyanGokhale/pandas
0efa05525f153c8bbd7c199d9b247306bea9f1d9
829444a28573399ecaeeefe7255df3a95b285b86
refs/heads/master
2023-05-01T14:04:09.950849
2023-04-24T18:49:47
2023-04-24T18:49:47
132,631,477
0
0
BSD-3-Clause
2018-10-01T17:09:07
2018-05-08T15:48:58
Python
UTF-8
Python
false
false
14,578
py
from __future__ import annotations from collections import defaultdict from typing import ( TYPE_CHECKING, Hashable, Mapping, Sequence, ) import warnings import numpy as np from pandas._libs import ( lib, parsers, ) from pandas.compat._optional import import_optional_dependency from pandas.er...
[ "noreply@github.com" ]
KalyanGokhale.noreply@github.com
d0d32277bf62cb02c65d4a9c171f22a7d3004832
250e7bf41bf700d58a17aa73dc955ca94f4c5e6a
/data/shapes.py
fbc1e89ac27323e073595f1b51a3daa92d2581d0
[]
no_license
darrickyee/as5util
0878526100ba99a8d9469d0377ebefcbe0b80905
990a56599400c4060d08781b84e4656befa88a01
refs/heads/master
2020-04-23T05:42:37.522224
2019-09-09T23:57:18
2019-09-09T23:57:18
170,948,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
CTRL_SHAPES = { 'ik': { 'point': [[0.0, 1.0, 1.0], [0.0, 1.0, -1.0], [0.0, -1.0, -1.0], [0.0, -1.0, 1.0], [0.0, 1.0, 1.0]], 'degree': 1}, 'fk': { 'point': [[0.0, 0.7836, -0.7836], [0.0, 1.1082, -0...
[ "darrickyee@users.noreply.github.com" ]
darrickyee@users.noreply.github.com
3c5efb127360c2ff705a7b4a8c22f76405d13e77
4331e72a851f85ca1a31196d2a6be339ed952330
/user/models.py
66a8b86de99049404ac961129a51e3f3f0438eee
[]
no_license
Manas377/Exam
5b413e882c6b264675e1b2df40b517da28c9333e
d4e6b5f8661fdf5b1f8d74364cc54cd75df67283
refs/heads/master
2022-10-19T10:57:25.996434
2020-06-07T12:19:25
2020-06-07T12:19:25
270,294,854
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
from django.db import models from exam.models import TestSet from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): is_student = models.BooleanField(default=False) is_teacher = models.BooleanField(default=False) class Student(models.Model): user = mo...
[ "manas.kundu@hotmail.com" ]
manas.kundu@hotmail.com
705d988c47eabf08b0d5565e1355f84f7a532a93
0b9cad239e7b944b29fda12e7a14dfbc6d5c8eb5
/example/example.py
ec21d914626cc24283c6273e97da681336f8304f
[ "MIT" ]
permissive
dinhanhx/deep_fried_meme
f7b006534352019ba4ff849c0adf918f0142111f
508eca7e5ad8b84cc2455c28d40135bfc44efc9f
refs/heads/master
2022-12-24T03:16:42.516580
2020-10-11T14:07:26
2020-10-11T14:07:26
268,708,066
2
1
MIT
2020-10-11T14:07:27
2020-06-02T05:21:15
Python
UTF-8
Python
false
false
901
py
from deep_fried_meme import deep_frier print(deep_frier('Hilbert.png', config = None, putout_scheme = ['file', 'proc Hilbert 1', 'jpg'])) # Process an image in machine then export in machine print('===') print(deep_frier('Hilbert.png', config = None, putout_scheme = ['response data'])) # Process an image in machine th...
[ "dinhanhx@gmail.com" ]
dinhanhx@gmail.com
1093db221b2448f0e403511989449cc47907e737
ea6edbfcba1b8d0a892c666575fc7374e3b96229
/SimpleGUICS2Pygame/simplegui_lib_draw.py
7f3a35b889de93c9694f52ee1fa425c3abf33a98
[]
no_license
guohengkai/hw-poc
2a5ae9e244d675f15275210ccaf2a87d5e1d570c
4cc2e530f77a96850811df4cc3a79b52b3c6b48f
refs/heads/master
2021-01-10T10:57:36.293431
2016-01-18T13:30:39
2016-01-18T13:30:39
49,801,389
1
1
null
null
null
null
UTF-8
Python
false
false
5,215
py
# -*- coding: latin-1 -*- """ simplegui_lib_draw (November 8, 2013) Draw functions to help in SimpleGUI of CodeSkulptor. Piece of SimpleGUICS2Pygame. https://bitbucket.org/OPiMedia/simpleguics2pygame GPLv3 --- Copyright (C) 2013 Olivier Pirson http://www.opimedia.be/ """ # # Functions ############ def draw_rect(c...
[ "guohengkaighk@gmail.com" ]
guohengkaighk@gmail.com
625a77678dafad3f72ea2f4629bed9b901e7f7cd
2919484ba494fdb9ce60005392286d293d98c325
/deep_autoviml/models/big_deep.py
14b1e0dc911254d0e247500c32d6d37fae9f5323
[ "Apache-2.0" ]
permissive
Arunava98/deep_autoviml
d6c8d7bb701967d671eae6a8329018e32589d09d
9902bb230f90d9da367445656fcefad2e2d5aea3
refs/heads/master
2023-07-20T03:31:38.705198
2021-08-26T14:19:38
2021-08-26T14:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,506
py
############################################################################################ #Copyright 2021 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 # # https://www.a...
[ "rsesha2001@yahoo.com" ]
rsesha2001@yahoo.com
ac31523ba9787d027e63b488024b15c9e839e46c
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/classes/_point12.py
3f67194c74253a3ea60ca8994c2d9259631a918f
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
from xcp2k.inputsection import InputSection class _point12(InputSection): def __init__(self): InputSection.__init__(self) self.Type = None self.Atoms = [] self.Weights = [] self.Xyz = None self._name = "POINT" self._keywords = {'Xyz': 'XYZ', 'Type': 'TYPE'} ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cf418f87d6d07bed318c588e39c784ffc7a4ca45
fa0947d63c61afbb4df959289c6c753ce46faf5f
/amazonscraper/amazonscraper/items.py
1bf34dcafdf40d408ed7c3eba1d74e3911827047
[]
no_license
HemantJangid/AmazonScraper
02a3d788c07e711890bb77fd310fe837ffae3763
0020f439b9e7b834b26eb53b74c8cb6a6db2ce0e
refs/heads/master
2022-04-18T19:17:24.678040
2020-04-15T06:14:02
2020-04-15T06:14:02
255,822,659
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class AmazonscraperItem(scrapy.Item): # define the fields for your item here like: book_name = scrapy.Field() author = scrapy.Field() ...
[ "jhemant539@gmail.com" ]
jhemant539@gmail.com
28434b2573dce339e33c3e2d2ff0e30e007c76c6
ec5813bf77fb54a12df8078cb5016a6cfb44dad5
/tests/test_functional.py
1533685c0dd11c9d6634616894998dcb450bddb7
[ "MIT" ]
permissive
dslaw/pipeline-profiler
f9e7403e848549ecfb21138c7fef0d8deeca4c45
bc41b1acc77471791cdeb6a042776de2034354d5
refs/heads/master
2020-05-07T05:41:35.567576
2019-04-16T23:26:59
2019-10-08T02:30:54
180,280,588
1
0
null
null
null
null
UTF-8
Python
false
false
3,512
py
from mprof import read_mprofile_file from numpy import ones_like from numpy.testing import assert_allclose, assert_array_equal from sklearn.dummy import DummyClassifier from sklearn.externals import joblib from sklearn.pipeline import make_pipeline from sklearn.preprocessing import StandardScaler from io import BytesIO...
[ "davidsamuellaw@gmail.com" ]
davidsamuellaw@gmail.com
17192d0f6f70f84d16ea22b520827341bd2b3559
ad58fa45fe4092846f293b20ef250fc55ef3bdef
/main.py
e934951023cb53b10e21fa7b1d5f8c58d0ccf113
[]
no_license
tgb20/HAB
2051c36ac40d1aff62a9b52de066131260472334
61b8c1da377d7b2b099b3319ed15a960819a726d
refs/heads/master
2020-03-31T09:30:27.810369
2018-10-22T15:25:32
2018-10-22T15:25:32
152,098,163
0
0
null
null
null
null
UTF-8
Python
false
false
2,515
py
import grovepi as gpi import time from grove_i2c_barometic_sensor_BMP180 import BMP085 from gps import GPS from lcd import LCD from modem import SatModem import csv TEMP_SENSOR = 0 # Port A0 is for the Temperature Sensor SOUND_SENSOR = 2 # Port A2 is for the Sound Sensor bmpSensor = BMP085(0x77, 1) # Register pres...
[ "tgb.bashista@gmail.com" ]
tgb.bashista@gmail.com
58a23a30aaebb6a01ca922fc25c6ac60e9adb546
ca28664343d2a17264e10080937f2e528b55358f
/pc_example.py
faded9ce36ed39c3c92fa435bc687b7493e66303
[]
no_license
js418/visual-analytics-using-ontologies-across-heterogeneous-data
575c029c05872e6bbede89dda25619d191f0b4e7
9c593599c947e43741a557cbdade531106268e49
refs/heads/master
2020-03-19T07:06:12.217291
2018-06-04T22:01:03
2018-06-04T22:01:03
136,082,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
import pandas as pd import numpy as np import ast from bokeh.models import CustomJS, ColumnDataSource,HoverTool,BoxSelectTool,TapTool,Range1d from bokeh.layouts import row, column, widgetbox,layout, Spacer from bokeh.io import show from bokeh.plotting import figure, curdoc from bokeh.models.widgets import TextIn...
[ "noreply@github.com" ]
js418.noreply@github.com
459c72af3cd511acf54b8b60834225780fea43e4
5a79600f6db7a8c65fa3182f822891d7fd68eeda
/tests/test_gpu_openacc.py
e1fc8aa0bbbf714cbefa9cc3d031f4e9e91790f1
[ "MIT" ]
permissive
alisiahkoohi/devito
867fb05c89f24193951835227abdc271f42cc6e2
f535a44dff12de2837eb6e3217a65ffb2d371cb8
refs/heads/master
2023-03-16T05:50:23.610576
2021-05-24T21:49:32
2021-05-24T22:21:40
128,473,180
0
0
MIT
2023-03-02T12:58:21
2018-04-06T21:41:54
Python
UTF-8
Python
false
false
6,509
py
import pytest import numpy as np from conftest import skipif from devito import Grid, Function, TimeFunction, Eq, Operator, norm, solve from devito.data import LEFT from devito.ir.iet import FindNodes, Section, retrieve_iteration_tree from examples.seismic import TimeAxis, RickerSource, Receiver class TestCodeGenera...
[ "f.luporini12@imperial.ac.uk" ]
f.luporini12@imperial.ac.uk
6c050c0d77f4e5d5ec77c6bef6bca2540f25d9b6
461052f4a7197db023ad3deb864bf1784fdd7854
/library/migrations/0003_auto_20200513_1625.py
451151225554e0605b2693ef162763660f71eb46
[ "MIT" ]
permissive
ArRosid/training_drf
1660a08272c09302b39adc8e19e3674a78863685
4369c8113a67bb3f18b6890210902f09d617569f
refs/heads/master
2022-06-20T02:03:49.373355
2020-05-13T16:38:03
2020-05-13T16:38:03
263,639,371
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
# Generated by Django 3.0.6 on 2020-05-13 16:25 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('library', '0002_book_mod...
[ "ahmadrosid30121997@gmail.com" ]
ahmadrosid30121997@gmail.com
6cfcbb1a68c162aaf5754e4f590f3db98c8850b8
ba48780406fd3c04ff7efbd60c8c477a3aaa0f27
/src2/cv1/try_aux_freq.py
f9d89826ad6a3bea6a4fc559e1a63429ef74ce5e
[]
no_license
umpot/quora
635d37f1602981d63cc50b5a8070297dce59c19a
ac10e6cd4e396c8b5958371f8e537e671067fd38
refs/heads/master
2020-12-30T13:46:07.614164
2017-09-18T10:22:07
2017-09-18T10:22:07
91,250,042
3
0
null
null
null
null
UTF-8
Python
false
false
24,817
py
import pandas as pd import numpy as np import seaborn as sns import re import os import sys reload(sys) sys.setdefaultencoding('utf-8') sns.set(color_codes=True) sns.set(style="whitegrid", color_codes=True) pd.set_option('display.max_columns', 500) pd.set_option('display.width', 5000) pd.set_option('display.max_rows',...
[ "dd.petrovskiy@gmail.com" ]
dd.petrovskiy@gmail.com
7e0937d9c87ca2b42dc9634ae22a9863317be59b
844eaa6e8719e7842dfadd40f10dff72b5eedcfd
/guestbook.py
e29508d5cd30a7d26b2e04dab6b75c1c8a413b7e
[ "Unlicense" ]
permissive
saptarshighosh9/online-shooting--game
0546b07e3b780c272dc3093461a661d502b8ad24
bec8bcd2cf27d02b492a9e91bc81aa0096c78c28
refs/heads/master
2016-08-04T21:00:24.299581
2013-08-21T10:56:05
2013-08-21T10:56:05
12,254,939
1
0
null
null
null
null
UTF-8
Python
false
false
2,784
py
import cgi import urllib import os from google.appengine.api import users from google.appengine.ext import ndb import jinja2 import webapp2 JINJA_ENVIRONMENT = jinja2.Environment( loader=jinja2.FileSystemLoader(os.path.dirname(__file__)), extensions=['jinja2.ext.autoescape']) DEFAULT_GUESTBOOK_NAME = 'Scor...
[ "saptarshighosh9@users.noreply.github.com" ]
saptarshighosh9@users.noreply.github.com
d3842f74d7c8f2ac9012928299f1fbc30bb43ef8
13b10d425521c3339d7a6857274aa7be46e40b2a
/src/prct08.py~
ffe69eccc9957385a304084dbb017709bb328e8d
[]
no_license
alu0100830569/prct12
0a96b544bda9e6e0f0a890519d4e9deb5f071c6b
994ffc880026a39ea01e46e390d803027fe1a93c
refs/heads/master
2021-01-20T15:44:33.063898
2014-05-02T09:19:39
2014-05-02T09:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
593
#! /usr/bin/python #!encoding: UTF-8 import moduloerror import sys if((len(sys.argv)==1) or (len(sys.argv)==2)): print("No se han encontrado los valores necesarios, por lo que se procederá a ejucutar con los valores predeterminado:") print("Veces=10 Intervalo=10 Umbral=0.1") veces=10 n=10 umbral=0.1 else...
[ "alu0100830569@ull.edu.es" ]
alu0100830569@ull.edu.es
21a5af9c8fa62de7c1893aa45f03faae75ee32f9
0f07b0f038922eea85686af2ad9885e26894792c
/main.py
52d093eeaee0487889ac033c868e69a98d8b6309
[]
no_license
eddiezzz/MysqlBuilder
24c4f90244e37d3971e7ce88b746035efbc90978
2d843a356fd3c3d8ac96870c34f66907d7f3d9ce
refs/heads/master
2021-05-27T08:38:38.506630
2014-03-04T09:47:46
2014-03-04T09:47:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
#coding: utf8 from db_operator import * from job import * import common class JobFactory: @staticmethod def create(language): if language == 'th': return ThJob() if language == 'br': return BrJob() if language == 'ar': return ArJob() return None def usage(name): print ''' #Brief: %s is used for ...
[ "zcs5612@163.com" ]
zcs5612@163.com
06c65ebb5271abf5a20170924eb6aa109701b957
25e48619b6157be79a0cb3051f7b59af4e7a48bb
/assignment2(part2).py
fbf2a38f76d553b42b9c05e3efdfa47d6a9c84e7
[]
no_license
Nana-Antwi/UVM-CS-21
8fdb2125f01820f063e7a2b3e40c4a0b3bd64c73
535b8e7efb61a0e4071766b4986e5d9b97952456
refs/heads/master
2020-04-17T09:29:27.027534
2019-01-18T19:19:18
2019-01-18T19:19:18
166,459,805
0
0
null
null
null
null
UTF-8
Python
false
false
2,721
py
#Nana Antwi #cs-21 #homework 2 #part 2 #design a program to calculate either profit or loss involved in buying and selling shares #program 1 #when joe purchased the shares #varaible declaration number_shares_purchased = 0.0 cost_per_share = 0.0 stockbroker_commission = 0.0 cost_shares_without_commiss...
[ "noreply@github.com" ]
Nana-Antwi.noreply@github.com
332064ba5922ff92b2319eb3b292136ddec583f8
3fcc7957ed103ead0db8d4e6020c52403559e63b
/1557.py
04bb7afeb9d7032e1dee17c65612b5604da1c506
[]
no_license
gabrielreiss/URI
db3082bd89832bb4f45d2375db376454c2ff8f27
01bc927d1eee8eb16a16de786e981faa494088e8
refs/heads/master
2022-04-22T08:25:28.855996
2020-04-15T14:58:47
2020-04-15T14:58:47
255,950,966
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
cont = False while cont == False: n = int(input()) if n == 0: cont = True else: m = [] w, h = n, n m = [[0 for x in range(w)] for y in range(h)] for i in range(0, n): for j in range(0, n): m[i][j] = 2 ** (i+j) T = len(str...
[ "gabrielreissdecastro@gmail.com" ]
gabrielreissdecastro@gmail.com
0764fd9cfe586798c0d72ae40679aabd7fe72a9e
ecf4d26ece041e4b6e484c9138d8aceff67b7678
/apps/channelsbase_sankey.py
139651ec07a31f5f0cbfab4358b7efbabf9e6833
[]
no_license
EnzoCalogero/dash_plotly_main
203435faea3d6731fa067cafd219f657667d4407
872f8dea9475358df522fc913a7d01696904fd94
refs/heads/master
2022-12-11T12:23:44.881509
2019-10-06T17:04:35
2019-10-06T17:04:35
213,204,436
0
0
null
2022-12-08T02:35:25
2019-10-06T16:37:36
Python
UTF-8
Python
false
false
14,522
py
# -*- coding: utf-8 -*- import base64 import flask import pandas as pd import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go import os from datetime import timedelta from datetime import datetime as dt import datetime from app import app from apps import db_o...
[ "enzus@hotmail.com" ]
enzus@hotmail.com
8a3e3ac21b7f3e615c63070f93750a10b7ead43d
f857334dfbbfebde8e000cbe0b718545f524ea01
/18-database/models.py
0e81e4f2a6c6fcd32f0273c04964502089ad2dff
[]
no_license
Phibi95/PythonBasics
8307f4577fd5f600beb5e019d6cad389ef0ec89f
593bc7d1c16907e5856b6b411a898c844b3dad9b
refs/heads/master
2023-05-27T22:39:29.510986
2020-02-27T18:33:03
2020-02-27T18:33:03
227,671,644
1
1
null
2023-05-01T20:38:22
2019-12-12T18:30:32
Python
UTF-8
Python
false
false
336
py
import os from sqla_wrapper import SQLAlchemy db = SQLAlchemy(os.getenv("DATABASE_URL","sqlite:///localhost.sqlite")) class Entry(db.Model): id = db.Column(db.Integer, primary_key = True) first_name = db.Column(db.String) last_name = db.Column(db.String) email = db.Column(db.String) message = db.C...
[ "philipp.bischof@phb-it.de" ]
philipp.bischof@phb-it.de
09216d4286591f56ae7c01db67922dcae0c20efc
b04039d85bd5d9a06635db6a55873780ef5aa867
/mysite/settings.py
9047674d7b193d745eab56d9e2592908f4d4292d
[]
no_license
Josie28/my-first-blog
c8a0c0768998a8ecbf01e0a9af80fc826224824f
885170d793c6edd9585af7964b54f0ddff628aa5
refs/heads/master
2020-07-29T22:25:27.137985
2019-09-21T15:05:34
2019-09-21T15:05:34
209,984,055
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "Josephine_Baehr@live.de" ]
Josephine_Baehr@live.de
633b26c15c5dc274a4c9596b27023b8e4c850b6a
5bcd476eb9c02c5511c8447b2794f78b7347752a
/Models/R2N2/Local/scripts/extra_VARMAX_evaluate_models.py
9643e289c63e387b7354b8e329ddf2249eb3d786
[]
no_license
MennovDijk/deepcrypto
3877a0cd5206b59bbb0e143f60f18705daf70312
64b6488b13e2c1b32e8c1dd2f282230611ae0683
refs/heads/master
2020-03-27T22:41:30.941613
2018-03-23T04:13:35
2018-03-23T04:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,871
py
__author__ = 'Ian' #using https://gist.github.com/spro/ef26915065225df65c1187562eca7ec4 import os import time import numpy as np import pandas as pd import torch from statsmodels.tsa.api import VAR from torch.autograd import Variable from Data.scripts.data import data from Models.R2N2.Local.scripts.RNN import RNN f...
[ "ianedwardshaw@gmail.com" ]
ianedwardshaw@gmail.com
24d22697d64ee1f29cb1c87424461f1fa75b650b
f6bec8210f9f314bcc8d20b3df34b53ed84be7cc
/core/on_off.py
0d8a977b1e51f5774096297c0e732b697586e4ae
[]
no_license
SamSunshine/PyLogo
bb4e27f0467ed7acdea9e343614c62660f5aed9b
eb3702dd85089db61bae27a7e3af97b69b7725e6
refs/heads/master
2021-01-03T00:48:02.439296
2020-02-11T19:25:29
2020-02-11T19:25:29
239,843,609
0
0
null
2020-02-11T19:13:38
2020-02-11T19:13:38
null
UTF-8
Python
false
false
5,103
py
from pygame.color import Color import core.gui as gui from core.gui import HOR_SEP from core.sim_engine import SimEngine from core.utils import rgb_to_hex from core.world_patch_block import Patch, World import PySimpleGUI as sg from random import randint from typing import Tuple class OnOffPatch(Pa...
[ "noreply@github.com" ]
SamSunshine.noreply@github.com
dd258e1388ef102e9d77f492101ef00bda3bda1f
0dc67428c50acf9dea7c17da9c603169a05e201c
/customer/urls.py
b58afe08ab753951ca3b7f89accd78318da1be54
[]
no_license
sherrywilly/Razorpay
fe9a48ca9a9dd1d7d59ad959535e7ae2e6045305
3fe96ff7d6e988b3c276950e0615c0a4eeb1da8e
refs/heads/master
2023-07-02T11:37:55.951514
2021-07-29T04:36:19
2021-07-29T04:36:19
390,238,480
0
1
null
null
null
null
UTF-8
Python
false
false
978
py
from django.urls import path from .views import completed, create_contacts, create_fund_account, create_payout, index,payment, refund,verifyPayment from .webhooks import VerifyPayHook urlpatterns = [ path('',index,name="index"), path('payment/continue/',payment,name="pay"), path('handlerequest/',verify...
[ "sherrywilson521@gmail.com" ]
sherrywilson521@gmail.com
f101630ef1084e8a5ba07a65d0eadfae679205d2
bc3b842fd9e4e0645dea30cdf3ff8d39e745eb09
/melody/melody_types.py
1e7e16620bd68e9f8912574bdae40d334bb72e56
[]
no_license
rajansaini691/algorithmic_music
66e53b0a35452ac851ecaaf2d10e081a349a1ce9
7a48269d334d89322ec859d218592ee2a6a5e5e8
refs/heads/main
2023-05-09T23:00:42.817117
2021-06-03T20:37:30
2021-06-03T20:37:30
358,388,276
0
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
""" Defines all of a song's layers of abstraction. If this file is unwieldy to go through, please split it up. """ from dataclasses import dataclass import enum from helpers import note_name_to_midi, midi_to_note_name from scale import Scale # The direction the notes in a segment should go class SegmentDirection(enum....
[ "rajansaini@cs.ucsb.edu" ]
rajansaini@cs.ucsb.edu
b38ae686b8f4865aa7ec2f285f0c826c7c8762ef
48c2763ea11e2a7db67acaf46017ca3671e90676
/starnavi/urls.py
a24e230f7d2250c7a0f87026a35bf614a124df8d
[]
no_license
cynicalanlz/django_likes_posts_example
4a384c4136eb0f94cd4769de07f7c9a8a16a933c
6a9cbf281161fb8a5dbe0045992b5c801b748297
refs/heads/master
2020-04-10T14:08:30.581939
2018-12-10T11:11:26
2018-12-10T11:11:26
161,068,887
1
0
null
null
null
null
UTF-8
Python
false
false
1,683
py
"""starnavi 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-b...
[ "adsnsrg@gmail.com" ]
adsnsrg@gmail.com
272b1ec65ca799d870c867984cdca671ec427361
d47bd1b09907f97c1041e5231c65f6d598316c1e
/1.tutorial/1_constant.py
b585e4c7b648ef472825f2ce2e3f1877663d34b6
[]
no_license
krama9181/Hello_tensorflow
b7076d7f817f36ad4a0635dc0dd71b92fed04837
f76d81494cdd7e9dec46c454223a81ee7db4f9e5
refs/heads/master
2021-01-20T03:50:20.892931
2017-04-27T13:11:14
2017-04-27T13:11:14
89,595,346
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
import tensorflow as tf hello = tf.constant("hello, TensorFlow!") sess = tf.Session() print sess.run(hello)
[ "krama9181@gmail.com" ]
krama9181@gmail.com
4fa49507c5bf3cc55bf870e07700ee5abeff3a65
ab51f65e1f4b09eeaf07d63f87b04d7a2ea3433f
/exercise_3_2/app.py
d1ac064bd24df26280eefcf640e6bb24ca0a48a0
[]
no_license
decisionmechanics/3659
9299487a4af2eb9afdb7ea204b3a6fb07f81c0cd
2a6d319716d3292096bbc770d0aba213f22993ae
refs/heads/main
2023-03-21T08:11:30.425419
2021-03-14T15:45:16
2021-03-14T15:45:16
347,678,260
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import time import redis from flask import Flask app = Flask(__name__) def get_hit_count(): cache = redis.Redis(host='redis', port=6379) # Increment the hit count, but allow for timeouts, e.g., on startup (using 5 retries and a timeout) retries = 5 while True: try: return cache.i...
[ "Andrew.Tait@decisionmechanics.com" ]
Andrew.Tait@decisionmechanics.com
acc31c814ea75d936d6f304ff2a25b5a76085f86
78af322dd1e3b29fc627aa6817eed164c2c751c3
/iraclis/_3objects.py
bced125ae65cedf4cb053b948d2b5586a293e3d5
[ "CC-BY-4.0" ]
permissive
nespinoza/Iraclis
8e676ffe16dbda6caf8f32fb7dde464b75540c65
3b5dd8d6bc073f6d2c24ad14341020694255bf65
refs/heads/master
2022-10-18T09:55:32.818159
2020-06-17T19:39:03
2020-06-17T19:39:03
273,058,797
0
0
NOASSERTION
2020-06-17T19:14:20
2020-06-17T19:14:19
null
UTF-8
Python
false
false
9,141
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from ._2variables import * class DataSet: def __init__(self, input_data, direct_image=None): if direct_image is not None: if isinstance(direct_image, str): if os.path...
[ "aggelostsiaras@gmail.com" ]
aggelostsiaras@gmail.com
2e772f55c2c27f68f6544766d08317741c917946
0529196c4d0f8ac25afa8d657413d4fc1e6dd241
/runnie0427/17675/17675.pypy3.py
7063ffb72b39e59872c20046c6617499be8e6fde
[]
no_license
riyuna/boj
af9e1054737816ec64cbef5df4927c749808d04e
06420dd38d4ac8e7faa9e26172b30c9a3d4e7f91
refs/heads/master
2023-03-17T17:47:37.198570
2021-03-09T06:11:41
2021-03-09T06:11:41
345,656,935
0
0
null
null
null
null
UTF-8
Python
false
false
17,372
py
<!DOCTYPE html> <html lang="ko"> <head> <title>Baekjoon Online Judge</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta charset="utf-8"><meta name="author" content="스타트링크 (Startlink)"><meta name="keywords" content="ACM-ICPC, ICPC, 프로그래밍, 온라인 저지, 정보올림피아드, 코딩, 알고리즘, 대회, 올림피아드, 자료구조"><meta...
[ "riyuna0427@gmail.com" ]
riyuna0427@gmail.com
758613f5a6a971ee9c7da88463b1731b29accd18
befab60aa7d857ab4e0dbee3499016c454b0f64f
/xmlExtract.py
bbbddffd09a342d6997e7510636d50e9eddafeda
[]
no_license
naruto0323/smai
260506263f76842f020db4d0446bf0f8625eeed2
824617aaa3205daa55910871a6b9151886102763
refs/heads/master
2021-01-20T12:35:05.186305
2017-05-05T14:21:39
2017-05-05T14:21:39
90,383,758
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
import xml.etree.ElementTree as ET import pickle import sys from nltk.stem.porter import * stemmer = PorterStemmer() reload(sys) sys.setdefaultencoding('utf-8') from nltk.corpus import stopwords tree = ET.parse('subtask1-heterographic-test.xml') root = tree.getroot() sentences = [] words = {} stop = set(stopwords.wor...
[ "ramchandra.0323@gmail.com" ]
ramchandra.0323@gmail.com
428d2e6fe934576ddc2122a77c4ba8567f75dd3e
d57ff04e0e82a9c3a1338a63c523bd085ee5c794
/DecisionTree.py
2aae69047e47254f0f5959f8639765f87e9c1d81
[]
no_license
esong200/QuantumStockTensorFlow
86755fcf764dc60412bff4b08e57eb3a86053f1d
596091e5b8dbb1e3643bc957471de71c960a625c
refs/heads/master
2020-04-24T00:15:31.039348
2019-02-28T20:38:52
2019-02-28T20:38:52
171,561,015
1
0
null
null
null
null
UTF-8
Python
false
false
8,419
py
from sklearn.model_selection import cross_val_score from sklearn.datasets import make_blobs from sklearn.ensemble import RandomForestClassifier from sklearn.tree import ExtraTreeClassifier from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor, ExtraTreeRegressor from sklearn import preprocessing import...
[ "e.song200@gmail.com" ]
e.song200@gmail.com
5b47d1be832090f2f26a57dc68231670db71362b
8add030c13eb431bb71259a92ce99bb1e783665c
/dynamo/tools/dimension_reduction.py
f6373e9ee5b58618f5573a79a2ffd6deb0baaa42
[ "BSD-3-Clause" ]
permissive
pythseq/dynamo-release
4d00f37ef7a721148649fdc66606cef72a9a86a0
1ed7a32b8f88790e4a6f063f9e3bf017c34c1214
refs/heads/master
2020-12-06T16:34:03.661901
2020-01-07T19:05:14
2020-01-07T19:05:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,585
py
from sklearn.decomposition import TruncatedSVD import scipy import warnings from copy import deepcopy from .psl import * def extract_indices_dist_from_graph(graph, n_neighbors): """Extract the matrices for index, distance from the associated kNN sparse graph Arguments --------- graph: sparse matr...
[ "xqiu@tenzing.ucsf.edu" ]
xqiu@tenzing.ucsf.edu
c43a60ed1b624520dfdb98277f2787d7bba25aa9
97d6715e6ca961a1ce98171559057d76ee304a26
/Character-recognition/siamese_with_bg/alexnet.py
b4b2e9f6d6fb97e135d971c9d5a7126feeb3be8c
[]
no_license
abhaydoke09/Siamese-Network-For-Text-Recognition-In-Maps
566d4e8894d98122f7fc1fbfca12f0b8959e7235
d8d7364569e913f8af21577b51cf015a420ba708
refs/heads/master
2021-09-17T22:08:47.356052
2018-07-05T22:29:45
2018-07-05T22:29:45
104,268,509
1
1
null
null
null
null
UTF-8
Python
false
false
7,431
py
"""This is an TensorFLow implementation of AlexNet by Alex Krizhevsky at all. Paper: (http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf) Explanation can be found in my blog post: https://kratzert.github.io/2017/02/24/finetuning-alexnet-with-tensorflow.html """ imp...
[ "abhaydoke09@gmail.com" ]
abhaydoke09@gmail.com
4972b713381119c240516285a229e2e89c1080c3
068e5980d40b4806446d649d5e76fa278314703c
/TheAlgorithms/data_structures/python/linked_list/test.py
61939f7d03b609e9359fee7f4dcf8735ccdb6644
[]
no_license
zonkisa/leezyer
a4807a515a6ddb46b07b130cbbc4be28d3ed0de7
83d453f34734e99fb5c6b559444912b64d6057c7
refs/heads/master
2020-05-15T22:29:38.635712
2019-08-05T14:10:41
2019-08-05T14:10:41
182,528,267
0
0
null
2019-04-21T12:09:51
2019-04-21T12:09:50
null
UTF-8
Python
false
false
526
py
from __future__ import print_function from TheAlgorithms.data_structures.python.linked_list import linked_list from TheAlgorithms.data_structures.python.linked_list import circular_linked_list def testHasCircle(lst): print(lst.has_circular()) def testIsCircle(lst): print(lst.is_circular()) if __name__ == ...
[ "271169495@qq.com" ]
271169495@qq.com
cf5419266d22c7d8979c1cc0e6bef7b74e75950f
4819ed98a31fce25ea53ba8368e817a3c4165768
/Estructuras repetitivas/complementarios/TP7.py
a793c48ca41a2e7591b0f19c278462bd7761ac19
[]
no_license
Lusius045/LucioRP
155e929549cd528e7bc9eda82567555ca1295734
0df07f596887e8743426317cd468aafff4e4a9eb
refs/heads/master
2022-10-10T18:36:12.728135
2022-09-13T14:03:35
2022-09-13T14:03:35
243,602,573
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
print("Ingrese un número:") num = int(input()) const = 0 for i in range(2,num): if num % i == 0: const = const+1 if const == 0: print(num," es un número primo.") else: print(num," no es un número primo.")
[ "noreply@github.com" ]
Lusius045.noreply@github.com
43125388e7f13fb3f397da7be3da1133ae9fbb3d
0b01cb61a4ae4ae236a354cbfa23064e9057e434
/alipay/aop/api/response/KoubeiServindustryPortfolioDataCreateResponse.py
e5a08c2fa59d81fa90b88ce8d9d521a12247d995
[ "Apache-2.0" ]
permissive
hipacloud/alipay-sdk-python-all
e4aec2869bf1ea6f7c6fb97ac7cc724be44ecd13
bdbffbc6d5c7a0a3dd9db69c99443f98aecf907d
refs/heads/master
2022-11-14T11:12:24.441822
2020-07-14T03:12:15
2020-07-14T03:12:15
277,970,730
0
0
Apache-2.0
2020-07-08T02:33:15
2020-07-08T02:33:14
null
UTF-8
Python
false
false
778
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class KoubeiServindustryPortfolioDataCreateResponse(AlipayResponse): def __init__(self): super(KoubeiServindustryPortfolioDataCreateResponse, self).__init__() self._portfol...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
9b7020f61667e3eb17fd3906229ef0227982fd07
42d464ad8cea5b96d7ae8802ca136b4f88e2f3f5
/Analysis/Sync-Model.py
7e8d6c3aeb4c2bbdbb00e631f3dcd7e6394c4e9d
[]
no_license
HannahDeLaet/sync-model
09fc6aafbb7823df198931c7afd8a240ca1debb9
9ef2c160941cb5e0b1cab4838ee32f89c3f6e635
refs/heads/master
2021-05-20T22:31:16.361338
2020-04-02T11:39:28
2020-04-02T11:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,328
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 12 10:38:24 2019 @author: Pieter """ import numpy as np from mne import parallel as par from scipy import signal as sig ################## # Functions # ################## def phase_updating(Neurons=[], Radius=1, Damp=0.3, Coupling=0.3, multip...
[ "rs7115@nyu.edu" ]
rs7115@nyu.edu
621018c2068da4101237b017b6120c6bc57e8dca
22cd4bbf1ef7cd4d9e9ec24d2929691ae2e7b07f
/ansible/roles/vm_set/library/vm_network.py
5fdddb28d83d022c95f3522966cef3b1aaa1640b
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
wadelnn/sonic-mgmt
64c0285ea7225b42899572bb2241bffef0ff0345
a2ab261dbadf1884e081c99b9f3f815a2f3b0844
refs/heads/master
2021-01-22T02:34:25.054685
2017-02-03T22:32:07
2017-02-03T22:32:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,629
py
#!/usr/bin/python import subprocess import re from docker import Client from ansible.module_utils.basic import * DOCUMENTATION = ''' --- module: vm_network_create version_added: "0.1" author: Pavel Shirshov (pavelsh@microsoft.com) short_description: Generate virtual network for a set of VMs description: - With cm...
[ "shuche@microsoft.com" ]
shuche@microsoft.com
d80456331b4a047786914c0b00ae1b4e517dc147
3f06e7ae747e935f7a2d1e1bae27a764c36a77d1
/day23.py
28136ee107dd5557680c2c853d2ec3f553c3faa0
[]
no_license
mn113/adventofcode2016
94465f36c46e9aa21d879d82e043e1db8c55c9da
3a93b23519acbfe326b8bf7c056f1747bbea036a
refs/heads/master
2022-12-11T22:57:21.937221
2022-12-04T16:37:24
2022-12-04T16:37:24
75,545,017
0
0
null
null
null
null
UTF-8
Python
false
false
2,572
py
#! /usr/bin/env python # Find result of long-running instruction set import sys import time def intOrRegisterValue(x): if x in 'abcd': return registers[x] else: return int(x) registers = {x:0 for x in 'abcd'} registers['a'] = 7 # Part 1 registers['a'] = 12 # Part 2 print "Start:" + str(reg...
[ "recyclebing+github@gmail.com" ]
recyclebing+github@gmail.com
bbb0f2c6d950d3c1625b3d04e1d404392e509f42
791eedd78b9fe753f998020efb9ff9d0270cd8d3
/Python/CrashCourse/Chapter9/user.py
1e06650fa786434cd673e06148520e5a3a96bda6
[]
no_license
pavel-prykhodko96/source
6214c212356ffa420bbc489adce104268f5efa12
77219b672bb14df93abd7b8203f486d0620533d8
refs/heads/master
2023-03-07T21:43:17.422232
2023-02-23T12:06:52
2023-02-23T12:06:52
248,736,899
0
0
null
2023-02-23T12:06:54
2020-03-20T11:16:45
C
UTF-8
Python
false
false
1,311
py
class User(): """Stores users information""" def __init__(self, first_name, last_name, **info): self.first_name = first_name self.last_name = last_name self.full_name = first_name + " " + last_name self.info = info self.login_attempts = 0 def describe_user(self): ...
[ "47929311+pavel-prykhodko96@users.noreply.github.com" ]
47929311+pavel-prykhodko96@users.noreply.github.com
100aae853ebdf97fc26c93f4179915db3c17836d
5024b82798ddeeb216b1e67d12a6dba97f886d32
/Basic/ejer01.py
4fd002bfbcd51315de2533a8de587268b52cd562
[]
no_license
Gomez5sh/PyLearn
d85878ef299c556b188d35d53a3396adacd9caa9
869ddb72a2d09ba862dc7b1732c44fd75419bb5e
refs/heads/master
2023-02-18T01:45:10.380095
2020-09-04T05:28:48
2020-09-04T05:28:48
292,753,827
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
# Declaraciones, sentencias y multilinea valor = 10*5 print(valor) valor = 10 * 5 + 7 * 3 \ / 11 * 8 + 34 \ + 12 - 10 * 40 - 25 print(valor)
[ "eagomez2387@gmail.com" ]
eagomez2387@gmail.com
d2f3608b843b0561afcdc922cf838154a72669ae
cf494b5f507d2b887f9a37a679fcbd3facb63243
/pytorch_version/preprocess.py
2a88ef1e07328b3aa34703b1da248759cb6eb2f9
[]
no_license
w904292841/Voiceprint_lock
43828be2388c30a4b2408e4457a9858b6730602e
2fab15d1f7a9c3b9d2dc68bbfa65220df4eafac3
refs/heads/main
2023-02-06T02:06:29.777680
2020-12-25T07:54:07
2020-12-25T07:54:07
323,316,678
0
0
null
null
null
null
UTF-8
Python
false
false
1,811
py
import csv import os import os.path import torch import mfcc_reader father_path = "H:/科研/vox_data/vox1_dev_wav/" sub_path = "" write_path = "H:/科研/vox_data_pre/" all_list = [] class_head = [] file_head = [] file_name = [] def exisit_equal(lis): for i in range(len(lis)-1): if i == lis[-1]: ret...
[ "904292841@qq.com" ]
904292841@qq.com
e39cc095116928a7ff373879228fa4f661896bc3
27fe9c0fb5f5459241d11a205bfa7c887d643db1
/2022/day13a.py
0a55387ebdd83c8981bb04d4d0f43c86e4c44b0a
[]
no_license
johnrozmaryn/adventofcode
21c5fdd8d3a95882ce04103484538a215c49491c
80d67371cfedb71eda0e35cd9130ee25b6c39091
refs/heads/master
2023-01-05T19:21:46.034612
2022-12-27T15:13:14
2022-12-27T15:13:14
225,509,397
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
f = open("day13.in") contents = f.read() pairs = contents.split('\n\n') import ast from functools import cmp_to_key #ahh! cmp is all weird in python 3! #it was handy, because if l == r it's 0, if l>r postive, if l<r negative def compare(l,r): l_int = type(l) == type(1) #see if they're integers r_int = t...
[ "john.rozmaryn@gmail.com" ]
john.rozmaryn@gmail.com
07dcfbdea494e3e6503f63b1498e94bdd1fee207
5f535b35375d68f407ee2f1153b97b686c9a8365
/aircraft_scanning_control/scripts/uav_manual_scanning.py
7cdedf4107cbfaac8750f76c38d30624fcb97902
[ "MIT" ]
permissive
suneric/aircraft_scanning
d32a0ba3e44a0954a1a6a4a283615ca142a4cee8
18c7deb8405eabecab643e7ebbda5f3a61e78393
refs/heads/master
2022-06-04T11:17:27.210208
2022-05-18T22:49:32
2022-05-18T22:49:32
239,586,464
1
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
#!/usr/bin/env python import rospy import numpy as np import transform from uav_controller import uav_cam_controller from sensor.pointcloud import data_capture from sensor.camera import realsense_d435 import os import glob import struct import ctypes if __name__ == '__main__': # clean folder for save point cloud ...
[ "syf_more@163.com" ]
syf_more@163.com
b3d9e3409dc28504183585a91f91ea42ff4e75f9
f111888515eb47dda6316e0163e1711c330bfd81
/programming_technique_examples/main menu with input validation - functions, validation, robust design.py
6cf09e60e6de21e0a7f252ed81f213f0c7f38fc8
[]
no_license
awdimmick/GCSE-CS
eb8e1a3934d3005126970b466b436e34b7c5a54f
fe2f408598574583b893d3dd9ceadc9eff7f0f8c
refs/heads/master
2023-04-28T07:09:47.723563
2023-04-17T07:38:07
2023-04-17T07:38:07
289,747,534
0
0
null
2020-08-23T18:50:01
2020-08-23T18:50:00
null
UTF-8
Python
false
false
4,765
py
""" Menu Helper Function ---------------------- This program demonstrates how you can write a helper function to make it really easy to show consistent main menu screens. Combine this with other helper functions to obtain valid input from the user and you'll be sure to have a robust and efficient program! "...
[ "noreply@github.com" ]
awdimmick.noreply@github.com
0e272ec741ac296e70453d134d506c54d53c8c38
cbd5be8ec36d68dce7ebbfd78277ffe80bf0e50d
/mult13.py
f366f60098c300deb2b74512802ef766f9e5e614
[]
no_license
Gaya3balu0509/program
56afa3451da71d7e434b3a1c10d22cef71e63acb
9b1c5c42b9f57368ecc2ee274e56d2ee094a58c8
refs/heads/master
2020-05-28T03:19:43.368488
2019-08-12T11:35:30
2019-08-12T11:35:30
188,865,443
0
1
null
null
null
null
UTF-8
Python
false
false
75
py
numb1=int(input()) if numb1%13==0: print("yes") else: print("no")
[ "noreply@github.com" ]
Gaya3balu0509.noreply@github.com
874f90cfe5e2c9677d1ea430a98f1b30c398836e
2259cee70a57c00e089d699aea257e6325b1ccfc
/urls.py
2fd17de4a8f4e461f37337a26789d945d521ccdd
[]
no_license
SudhanshuSahil/vsm-django-app
ee62950c7bbf02aecdc8aace5e42890336323ebc
86ddf8f8f47623b2161d3e1febef5e194a77d115
refs/heads/master
2023-03-21T18:28:57.770339
2021-03-03T17:57:08
2021-03-03T17:57:08
344,215,762
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from django.contrib import admin from django.urls import path, include from rest_framework import routers from vsm import views router = routers.DefaultRouter() router.register(r'instruction', views.InstructionViewSet) router.register(r'faq', views.FaqViewSet) router.register(r'profiles', views.VSMProfileViewSet) rout...
[ "sudhanshusahil.19@gmail.com" ]
sudhanshusahil.19@gmail.com
0e36360a91fe459fa173375c9026a8911f50919c
5f0787ed95f3858e3e72e0e19bde89ba9d5faaf2
/pyrapidparser/run/wobj.py
f00f3169a762e20032357326506b05c6b0dd5f99
[]
no_license
jf---/pyrapidparser
1e07826b885ab524310a90c7bef98a83b3a1f644
87f41d2c6a3544cf335bd8088bd33e77f47bd04e
refs/heads/master
2020-01-23T21:04:09.624440
2016-11-23T16:15:26
2016-11-23T16:15:26
74,579,537
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
#this file is an automatic traslation of rapid code import sys sys.path.append('..') import pyrapid from collections import OrderedDict import copy import sys # Line test/wobj_issue.prg:1 ################### Start module ODC #################### pyrapid.Symbols().PushScope('ODC', None) #################################...
[ "jelleferinga@gmail.com" ]
jelleferinga@gmail.com
6132b5f00b82f3de6048da7a2d0eff2d86c1215e
22cb6eb3272649e45424b91c0a52a7b2ed588d79
/Thesis/figures/Kilbinger_banana/plot_first_proposals_2500samples_before_mc_adapt.py
d00bd45b67d72589fe0f708c3d6bb55c1a67749b
[]
no_license
jPhy/master_thesis
63df053af84fbf852720ceb547af31e1119d25d8
e466a2a3363b3dfbd684d24079581048c68ab22b
refs/heads/master
2016-09-05T13:38:55.665091
2015-03-17T17:26:33
2015-03-17T17:26:33
18,561,317
0
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
#! /usr/bin/python import pypmc from pypmc.tools import plot_mixture import numpy as np from matplotlib import pyplot as plt # choose a dimension dim = 20 # load target function from banana_function import LogTarget; log_target = LogTarget(dim) print 'running Markov Chains' # Markov chain prerun --> run 10 Markov ch...
[ "gu92biv@mytum.de" ]
gu92biv@mytum.de
8f3b0581124daddbc9643e5f936c5d6e1a07bd9a
053a340d04b17126fb9ce19d69b098c0c1204417
/yxm/yxm/apps/area/migrations/0001_initial.py
f45404d904a2bc628c6bac9d0f8014b7b70aa7a4
[]
no_license
H-H1/django-mall
2e729a1cbc4c1772f2a9b0b9c139f80d07fd9915
e8e6c7f90cb21ee0f80609997d4e19b13f737ec4
refs/heads/main
2023-06-06T19:41:35.848869
2021-07-13T04:23:16
2021-07-13T04:23:16
385,458,429
2
0
null
null
null
null
UTF-8
Python
false
false
908
py
# Generated by Django 2.2.17 on 2021-05-04 10:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Area', fields=[ ...
[ "2353367985H-H1@users.noreply.github.com" ]
2353367985H-H1@users.noreply.github.com
9147d66431be067846952b62a328897b2aa98c60
56152b48fab2a537442e9302819c14323cde09e3
/htmlDownloader.py
714b20e1b97c4ed3b89b5f230f8c0c29a97f1eac
[]
no_license
opyqp/simpleCrawler
dc002595500c27f3fb6435585192cf4f851742dc
17563cdf2f641c4de89368b2a91064bdadded1f0
refs/heads/master
2020-04-14T22:42:53.929748
2019-01-05T02:41:48
2019-01-05T02:41:48
164,174,768
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#!/usr/bin/env python # coding : utf-8 import requests class htmlDownloader(object): def download(self, url): if url is None: print("the url is None:",url) return None user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' headers = {"User-Agent":user_agent} r = requests.get(url, headers=headers)...
[ "yuanqinpeng@gmail.com" ]
yuanqinpeng@gmail.com
b9e6149164b87a1472585e824d937adcc220d393
c0cb1559188be071f1cd91d0adbad0ca850be0e1
/problème dame dans un échéquier.py
2dd481736794d0a2e70c1647a6960e629ebc9a32
[]
no_license
mines-nancy-tcss5ac-2018/td1-cordel8u
d7299e661082d57ddf9ed2652c6ba345696d6641
a766d874042bae2394aa84fded2ff683647d6ea5
refs/heads/master
2020-03-31T22:59:50.329544
2018-10-11T18:46:45
2018-10-11T18:46:45
152,639,007
0
0
null
null
null
null
ISO-8859-1
Python
false
false
2,590
py
from scipy import * def case_libre(n,L,M): #Prend en argument un tableau M correspondant à l'échéquier #et une liste L correspondant au placement de la nouvelle dame #il ressort un nouveau tableau où il est inscrit les cases #où il est impossible de placer une nouvelle dame S=array(zeros(...
[ "noreply@github.com" ]
mines-nancy-tcss5ac-2018.noreply@github.com
2a2366415fcc370032093aed684574abb337bee2
3b290545c52066c8ff7a2ae6c677c7782bddcb24
/app.py
9c51980e54b9f2aeafb01f95e25fbc68900f450b
[]
no_license
munira4x/ModelDeploy
8beac73b370db7a3f07180ec4e6e7ce26e768af5
781930602ca72c37e9a24c30b48d9267140584a3
refs/heads/main
2023-07-21T07:14:08.225886
2021-08-22T20:06:04
2021-08-22T20:06:04
398,889,985
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from flask import * import pandas as pd app = Flask(__name__) @app.route("/") def hello(): return("index.html") @app.route("/index" , method = ['POST']) def submit(): if request.method == "POST": @app.route("/") def show_tables(): data = pd.read_excel('toy_datadase.csv') data...
[ "noreply@github.com" ]
munira4x.noreply@github.com
8d935ff69d7f2dfcb453d956d57f2d6fcd6f448c
234727cb15c3415e1a090078df6fb8e1092b77bb
/ichecksum.py
fcaeb26f1d65ed48cdc4f1f5679702bdcf89fa39
[]
no_license
berkantbayraktar/ComputerNetworking-RDT
e13d0a6a36e129953274616cde6180d0bad3b6c2
3ec012f48f103a2f23187f41347a428403e09c6c
refs/heads/master
2023-03-25T18:11:39.248224
2018-12-27T11:15:45
2018-12-27T11:15:45
351,861,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
# An Internet checksum algorithm using Python. # This program is licensed under the GPL; see LICENSE for details. # This procedure can be used to calculate the Internet checksum of # some data. It is adapted from RFC 1071: # # ftp://ftp.isi.edu/in-notes/rfc1071.txt # # See also: # # http://www.netfor2.com/ipsum.htm ...
[ "berkantbayraktar06@gmail.com" ]
berkantbayraktar06@gmail.com
c9e386e60c7f223b7ad420acc9e034ad0036f3e4
df2bd677efcb8e1afa14b1c7111dd3fb9923dae6
/app.py
c9474dc4da972b69ad284e918013d1214c5e9960
[]
no_license
Tenoke/tensorflowjs-rps
055872f73b43d54388013fa3b617c502261a30b5
7c675f869cf2e2969d3b6fbd0650b7419f5a68f0
refs/heads/master
2020-03-24T14:58:31.201111
2018-07-30T18:17:44
2018-07-30T18:31:55
142,782,488
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from flask import Flask, render_template, request, Response app = Flask(__name__) @app.route('/rps') def rps(): return render_template('rps.html') @app.route('/save', methods=['POST']) def save(): """ Optional endpoint for saving user games """ data = request.get_data().decode("utf-8") wit...
[ "svilen.todorov@nexiona.com" ]
svilen.todorov@nexiona.com
b2262ac385c5fdf6442a2e8d4893d66427960a22
b54d6a18bc5e86462c1f085386bc48065db5851c
/RandLinkVelDist.py
e43b4b1d5dc7d36505295ad323282e22a34e50c3
[]
no_license
zoshs2/Percolation_Seoul
5b5b8ebabe186fbc9e265fc190c3d0641e196517
69c0aa99d1f7a2fb9259681a1ed63794cbe5ea5c
refs/heads/main
2023-07-28T20:50:13.393765
2021-09-28T13:25:31
2021-09-28T13:25:31
390,687,544
1
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
import os import pandas as pd import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt from datetime import datetime from statsmodels.nonparametric.kernel_regression import KernelReg def RandLinkVelDist(date_dataset, sample=20, reg=False, time_step=5, savefig:'file_name'=False): ''' Display ...
[ "zoshs27@gmail.com" ]
zoshs27@gmail.com
3938108372cd25c831552fd33498eec3bf088db5
e214193fdbc342ce1b84ad4f35bd6d64de7a8767
/bsn/template_app/conifg/default/id.py
363401ba409373ea501487650145067b731965a0
[]
no_license
bsn069/py
78f791dab87c3246a1a173263a703c63c543c8ad
3b6c2070d38f61eb8511495d38b1cec522ad6de7
refs/heads/master
2020-03-10T04:30:00.282303
2018-10-07T15:29:45
2018-10-07T15:29:45
129,193,682
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- from bsn.common import file_import_tree file_import_tree.file_begin(__name__) import os f_strFileName = os.path.split(__file__)[1] f_strFileBaseName = os.path.splitext(f_strFileName)[0] from .config import f_mapConfig f_mapConfig['id'] = 1 file_import_tree.file_end(__n...
[ "513026809@qq.com" ]
513026809@qq.com
f58c308b30604b42295c8c1c08aba4f6488df298
fc0dc72673e8867f71dfd94122fa4bce99ae224d
/udemy/lesson12_data_structures/dict_word_count.py
f8944d7b269fa0f078f10b910f7281e476dc06a9
[]
no_license
rzuniga64/python
2fec4a8a3cb2397849004b46312db885c41321b9
dbdf65d282477803f57c3a35a4d50491f7943805
refs/heads/master
2021-01-17T13:57:51.632635
2017-02-15T05:28:55
2017-02-15T05:28:55
11,941,739
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
sentence = "now is the time for all good people to come" sentence += " to the aid of their party" words = sentence.split(' ') words = sorted(words) print("Sentence in sorted order:\n") print(words) numWords = {} for i in range(0, len(words)): if words[i] in numWords: numWords[words[i]] += 1 else: ...
[ "rzuniga64@gmail.com" ]
rzuniga64@gmail.com
41f0b061faa865135f2f57ad59a1ae0f19e92f19
0b6f7b0c0915f5ac9e18690e28dfa76c331ea55b
/rivet/local/bin/make-plots
e6ccfd4e7b75491f5c776ce8dd6b3a4ac53648b0
[]
no_license
Spudmeister/tuningAna
bb81148187528121a8d027512ac0792a12ee937e
4bdfff74391ba478f0aaecdee78b9c56c929a402
refs/heads/master
2020-05-21T16:43:33.386264
2016-10-28T08:04:48
2016-10-28T08:04:48
65,187,539
0
0
null
null
null
null
UTF-8
Python
false
false
125,706
#! /usr/bin/env python """\ Usage: %prog [options] file.dat [file2.dat ...] TODO * Optimise output for e.g. lots of same-height bins in a row * Add a RatioFullRange directive to show the full range of error bars + MC envelope in the ratio * Tidy LaTeX-writing code -- faster to compile one doc only, then split it? ...
[ "aevans@physics.umn.edu" ]
aevans@physics.umn.edu
aac18132a830b5831635d8398042176d3291a187
970f122ccda9c165910657e8084d78fbc3d7e544
/mlrun/serving/states.py
69f0913c051f6ef24ead47e9f95a18bc6b90dcda
[ "Apache-2.0" ]
permissive
kusumy/mlrun
2a25e88af0dabd05db5e3c3a0fb3787908763291
683e8c514d9c26f3a7e82b1becaf7fbf1006f4f2
refs/heads/master
2023-07-12T10:54:32.549325
2021-08-23T13:58:15
2021-08-23T13:58:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,000
py
# Copyright 2018 Iguazio # # 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, softwa...
[ "noreply@github.com" ]
kusumy.noreply@github.com
7a8025dcb81d5b1fc065dd9d0723bdbbe3e61a4c
1b4dc714cd5f337260747d112cb123e1a54fd5a9
/skeletons/head_remap.py
24559b27db1541b5f387fdc3c109682b515fffb7
[]
no_license
darrickyee/daz
0fab97314c51b4151f1b8d608978f7ef79c78bb3
4a5c559e83aa87c4b048db199d52add2dc58a98d
refs/heads/master
2020-04-21T15:46:07.060350
2019-11-13T02:45:54
2019-11-13T02:45:54
169,679,133
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
HEAD_MAP = {'Neck_M': 'neckLower', 'Head_M': 'head', 'Jaw_M': 'lowerJaw', 'JawEnd_M': 'Chin', 'Tongue1_M': 'tongue01', 'Tongue2_M': 'tongue02', 'Tongue3_M': 'tongue03', 'Tongue4_M': 'tongue04', 'Eye_R': 'rEye', ...
[ "dyee@air.org" ]
dyee@air.org
ca99edf3dd22c0cdb19b5da960df29c915f60306
96ac7dd0b18d61e57f0e51efdabf89e344576b56
/lib/imapwatch/filelikelogger.py
8e93f9f9a6910dd83b2ffd049467a460cd22a605
[]
no_license
kennonb/imapwatch
c87c4cf10a52c850a8e4312e3a86f84c7e8da4d7
04153d50f03fff77eaa726f6b7cd3e55d962e6b3
refs/heads/master
2020-03-16T15:37:55.501312
2018-07-07T00:58:31
2018-07-07T00:58:31
132,752,348
0
0
null
2018-05-09T12:17:29
2018-05-09T12:17:29
null
UTF-8
Python
false
false
593
py
import logging import sys class FileLikeLogger(object): """ Fake file-like stream object that redirects writes to a logger instance. """ def __init__(self, logger, log_level=logging.INFO): self.logger = logger self.log_level = log_level def write(self, buf): for line in buf...
[ "m@mdbraber.com" ]
m@mdbraber.com
739c240b7a18b467eba9b58892e797d8eea4f3cb
5d51470d5c9d7d951170810a7150fbe50ae340db
/print_results_hints.py
d1e1dae1dc0ff135e806190bee56f4298877fb89
[]
no_license
ElenaM10/Udacity-Project1
ff42aede5f2645477dd0a7bda4d5dbab2f247238
61a39b0e4f0d23fb2a0fbc83a4635398d873df02
refs/heads/master
2022-06-05T08:12:01.801874
2020-05-05T12:30:15
2020-05-05T12:30:15
260,978,067
0
0
null
null
null
null
UTF-8
Python
false
false
8,667
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # */AIPND-revision/intropyproject-classify-pet-images/print_results_hints.py # # PROGRAMMER: Elena M # DATE CREATED: 05/03/2020 # REVISED DATE: # PURPOSE: This is a *hints* file to help guide stu...
[ "noreply@github.com" ]
ElenaM10.noreply@github.com
c00366144af3c60cf5607f0d5fc17155c15ffd32
2623a7d5002c78c8dbe571db931394a61b9abca0
/register/pymote_env/Scripts/pilprint.py
6ed994857db0f5bb98a48cebb386be1a122f8cfe
[]
no_license
harshit23897/IIITV-ECAMPUS-FINAL
41cdc4948b09c342afa5a2e2250fec13027bf08b
87df78e5ffb3363d8ce496c6fc5041eb4e2e71e6
refs/heads/master
2021-09-09T01:51:07.458945
2018-03-13T07:47:56
2018-03-13T07:47:56
113,251,472
0
0
null
null
null
null
UTF-8
Python
false
false
2,665
py
#!c:\users\dell-pc\desktop\iiitv-ecampus-master\register\pymote_env\scripts\python.exe # # The Python Imaging Library. # $Id$ # # print image files to postscript printer # # History: # 0.1 1996-04-20 fl Created # 0.2 1996-10-04 fl Use draft mode when converting. # 0.3 2003-05-06 fl Fixed a typo or two. # f...
[ "harshitjain23897@gmail.com" ]
harshitjain23897@gmail.com
0c0ded10cd6bd928c1a0139a00ea914d63bbfe18
e8d7951f1f37c337326166219d9ab67a6103ce8e
/casemgmt_example/auth/__init__.py
f62386ce132b61e3fb95f5b8f323960e237544d0
[ "MIT" ]
permissive
saolsen/oso-casemgmt-django
8eb29431c26086a0dc76cf2056487bab04873d09
05e7e1d54c0ca274341df3fa53c82b9735c377c6
refs/heads/main
2023-03-04T18:24:33.791662
2021-01-27T19:39:18
2021-01-27T19:39:18
339,831,889
0
0
MIT
2021-02-17T19:22:05
2021-02-17T19:22:04
null
UTF-8
Python
false
false
289
py
from django_oso import Oso from . import oso_extensions def register_extensions(): # Register extensions/types into Oso Oso.register_constant(oso_extensions.PermissionHelpers, name="PermissionHelper") Oso.register_class(oso_extensions.PermissionInfo, name="PermissionInfo")
[ "5084545+devmonkey22@users.noreply.github.com" ]
5084545+devmonkey22@users.noreply.github.com
f9647ae5295cd9029bbc3b670e2bb13a08a4ecbb
fbbb58d9d8386c694c2787464bca7753448098d3
/mmdet/models/necks/fpg.py
c8e0d163ccf8cef6211530ba6c1b4d558ff6403f
[ "Apache-2.0" ]
permissive
krishnatejakk/mmdetection
ab61e6280c87e9939f56a1c673b592f2698c25c4
9c6143950d19e0d694c4d14b0ca10e9011e7f404
refs/heads/master
2023-04-08T14:37:28.334393
2021-04-15T03:54:07
2021-04-15T03:54:07
350,409,149
1
0
Apache-2.0
2021-04-02T14:59:35
2021-03-22T16:14:44
Python
UTF-8
Python
false
false
15,923
py
import torch.nn as nn import torch.nn.functional as F from mmcv.cnn import ConvModule, caffe2_xavier_init, constant_init, is_norm from ..builder import NECKS class Transition(nn.Module): """Base class for transition. Args: in_channels (int): Number of input channels. out_channels (int): Numb...
[ "noreply@github.com" ]
krishnatejakk.noreply@github.com
0584d64e008097ac104a0042de0a040dc2de4dd7
fc9e71fda5a6bfd16614705b537f2ebe5d91b16c
/core/src/autogluon/core/utils/loaders/_utils.py
7509eec7a2cb2365f40ce9afe99f8f1765649707
[ "Apache-2.0" ]
permissive
sackoh/autogluon
e8f9d9d7bdedea302cb999aea1a5ef33435a55bb
e9c95345303f930195a74ecd7fcde5c7cace3add
refs/heads/master
2023-07-16T13:42:29.573260
2021-08-24T20:42:52
2021-08-24T20:42:52
295,719,004
0
0
Apache-2.0
2020-09-15T12:20:35
2020-09-15T12:20:34
null
UTF-8
Python
false
false
10,168
py
import zipfile from typing import Optional import os import warnings import tqdm import sys import uuid import logging import hashlib import functools import requests import numpy as np import boto3 S3_PREFIX = 's3://' INT_TYPES = (int, np.uint8, np.int8, np.int32, np.int64) FLOAT_TYPES = (float, np.float16, np.floa...
[ "noreply@github.com" ]
sackoh.noreply@github.com
4d0f962c3d5b7d6166bccada19f8017d05660af3
945c1f0642c7abbeafbf5a103d58a41050173a92
/h5_to_pb.py
b456ea82608d0bf7b74efc4dc3dc5158a09149ba
[]
no_license
Jayanie/Sinhala-Speech-Recognition-Module
e128910d54c92953b1f526a69d69e8f4833cc858
c288752b8f38f11510eb3d6cf2a8bcd313a45a7c
refs/heads/master
2023-06-22T20:28:58.970843
2023-06-19T03:40:03
2023-06-19T03:40:03
246,554,222
1
1
null
null
null
null
UTF-8
Python
false
false
44
py
from keras.models import model_from_config
[ "jayanieb@gmail.com" ]
jayanieb@gmail.com
2b1898bef6d4ef7736e6be2e09c1edf815ece78a
fc3831f9c674fbe6f082be96914f9c7baac1bd6f
/algorithms/find_sums.py
99424243972c0ef9ea17e78046c4a3aafdc761c4
[]
no_license
RhysJMartin/algorithms
872436347d52c6d247ccd40350dfd84c06c2a9cb
b64aa20ce1b3cd63ffbf8a67211762f3556ab5c3
refs/heads/master
2020-03-18T16:05:12.991476
2018-09-29T09:54:44
2018-09-29T09:54:44
134,945,572
0
0
null
2018-09-29T09:54:44
2018-05-26T08:58:44
Python
UTF-8
Python
false
false
780
py
import os from tqdm import tqdm def load_data(file_name): file = os.path.join(os.path.dirname(__file__), '..', 'data', file_name) print('loading file: {}'.format(file)) data_file = open(file, 'rb') data = [] for line in data_file: data.append(int(line)) return data def count_2_sums(d...
[ "rhysjmartin@gmail.com" ]
rhysjmartin@gmail.com
1cbd1b138e8c9056778b071e1abb5923ae0f5581
fe28e7d49df19dfc62c169214c6e9554664f8a76
/day1/calc.py
90a8332fcfcc2561a5431ccf8e9831f54c84cff4
[]
no_license
jackmooooo/Week-3
13b07dbc9c51b569f4cbec2baeb077f23d685fca
37373a59b3248046d72f8256865b9260ea63a795
refs/heads/master
2020-03-24T08:19:50.767394
2018-07-27T15:18:51
2018-07-27T15:18:51
142,592,504
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
import wx import sys, os def add(a, b): return a+b def sub(a, b): return a-b def mult(a, b): c = 0 for i in range(b): if c == 0: c = a else: c = add(c, a) return c def div(a, b): return a/b def pwr(a, b): c = 0 for i in range(b): if c...
[ "stephanielam@comcast.net" ]
stephanielam@comcast.net
22c7dca88ffb0a39939a59965d2870f48a2959c2
bef807fa68ce7b4c77ddf4f4a030f9a5b798e419
/GEN-SIM/configs/BulkGravToWW_narrow_M-3000_13TeV-madgraph-herwigpp.py
3f3ea6ebfefea9d8c1a228279ebfc87446360a65
[]
no_license
clelange/DibosonSignalProductionHerwig
97cf93963eb27f450e9ad95c549622a1b24d2cdd
f1477a61a709f5338d07b3c8a04131a8bc301783
refs/heads/master
2021-01-11T14:19:09.108870
2017-02-08T16:26:21
2017-02-08T16:26:21
81,343,003
0
0
null
null
null
null
UTF-8
Python
false
false
13,886
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: Configuration/GenProduction/python/ThirteenTeV/Grav_Hadronizer_TuneEE5C_13TeV_madgraph_differentPDF_herwigpp_cff.py --filein dbs:/BulkGravT...
[ "clemens.lange@cern.ch" ]
clemens.lange@cern.ch
064076ab815d5e9e1cec65c82a13e5039b2571f3
a5f879e45d54eccee4ef5e5eb229dfeabb7711d4
/otros/imgclas_lo/data_utils.py
8cb1e3b795efad991ae6eebd685fd31085f4337e
[ "Apache-2.0" ]
permissive
lmc00/tfg_en_desarrollo
ae64fc280ca2f957ec54b5c63cf7ea63c43da6f0
30e61f4bb3f060f7468b1bb94930fcbe0d0f92ae
refs/heads/master
2021-03-08T14:51:53.639367
2020-03-10T16:42:07
2020-03-10T16:42:07
246,352,879
0
0
null
null
null
null
UTF-8
Python
false
false
25,977
py
""" Miscellaneous functions manage data. Date: September 2018 Author: Ignacio Heredia Email: iheredia@ifca.unican.es Github: ignacioheredia """ import os import threading from multiprocessing import Pool import queue import subprocess import warnings import base64 import numpy as np import requests from tqdm import ...
[ "lmc00@alumnos.unican.es" ]
lmc00@alumnos.unican.es
f72ac11ac30be910cc63471b926300b8dfc75327
75081787fb06264d4d90b08a18a17bdb9db811e8
/yaql/cli/__init__.py
207fa154d6a98115679be25792cd53808a14d3c4
[ "Apache-2.0" ]
permissive
istalker2/yaql
f39b5e7462544a41a9adcc5f18272ea2bde011bb
0c1d28c2023b506a9c601b42b1dd6b7714dc0b06
refs/heads/master
2021-01-21T16:38:19.408562
2014-01-21T15:55:39
2014-01-21T15:55:39
16,107,265
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
# Copyright (c) 2013 Mirantis, 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...
[ "ativelkov@mirantis.com" ]
ativelkov@mirantis.com
3fd3878a08b3f0b3f00dac287d62c71984f01380
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/application_gateway_available_waf_rule_sets_result_py3.py
1d90cb1f1470bffbefbb643312ec48f97b2613b3
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,104
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
lmazuel.noreply@github.com
c91a7b5364ed05d94b915ad3edca42e51af1ea75
f11600b9a256bf6a2b584d127faddc27a0f0b474
/normal/662.py
df18e5f15146532ef8f12376b46b3043f70c7355
[]
no_license
longhao54/leetcode
9c1f0ce4ca505ec33640dd9b334bae906acd2db5
d156c6a13c89727f80ed6244cae40574395ecf34
refs/heads/master
2022-10-24T07:40:47.242861
2022-10-20T08:50:52
2022-10-20T08:50:52
196,952,603
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
class Solution: def widthOfBinaryTree(self, root: TreeNode) -> int: ans = 1 dp = [(root,1)] while dp: s, m = float('inf'), float('-inf') l = len(dp) for i in range(l): t, i = dp.pop(0) if t.left: dp.appen...
[ "jinlha@jiedaibao.com" ]
jinlha@jiedaibao.com
ffa649ffc9007d2d7beafeb7e371b5ef568458a2
fb8b513842138f2251c18ee751a9341a004b76d2
/solutions/0-20/problem_6_sum_square_difference.py
94543aa1beca134e9dbdfc4d6e42ecc087be0002
[]
no_license
den4kox/project_euler
ad041371711d0880d2742038cc529aa0db4ffdfb
920813e6b9f61cfe27558ef3caffae92555896cc
refs/heads/master
2021-01-01T05:22:14.190063
2016-05-25T12:52:21
2016-05-25T12:52:21
57,980,270
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
"""The sum of the squares of the first ten natural numbers is, 12 + 22 + ... + 102 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + ... + 10)2 = 552 = 3025 Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 − 385 = 2640. F...
[ "den4kox@gmail.com" ]
den4kox@gmail.com
640e21954409059be57ffe645324d501deee5f19
1354fc288e8bb87fad660fce3004b7db471c6a7c
/utils/global_count.py
d3760475a72121a6d5a35f5025631691e34ab3f9
[]
no_license
zhangjunwang/drawing_and_paintings_network_make_photo_retouching_easier
a89cc60aff2dd5d1b377973c48d37cd530625dd7
600a760044d873ab34d3e3e24278c858fa8fe415
refs/heads/master
2020-09-19T03:50:02.291802
2019-10-28T03:04:08
2019-10-28T03:04:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
# -----------------------------------global_count-------------------------------- def _init_train_count(): global EPISODE_COUNT EPISODE_COUNT = 0 def _add_train_count(): global EPISODE_COUNT EPISODE_COUNT = EPISODE_COUNT + 1 return EPISODE_COUNT def _get_train_count(): global EPISODE_COUNT ...
[ "459239181@qq.om" ]
459239181@qq.om
f92cbe0802128443f0b9e5f1da8b25c2405691ea
164e18ee979cc134e31212cb6d5af4f31cb37f60
/Homework_3/I_polyglots/main.py
cd79f2db7804ac6f07b5bb9b61b706b1360bc134
[]
no_license
IlyasDevelopment/Yandex-Algorithm-Training
626649f2bca6392858d9411a1b4ffea1d028a2ba
2a7539dcb58b3c69b804635855997ecd86f0ea0a
refs/heads/main
2023-07-13T21:23:37.501005
2021-08-06T11:04:35
2021-08-06T11:04:35
376,364,497
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
def get_languages(m): languages = set() for i in range(m): languages.add(input()) return languages n = int(input()) all_languages = set() common_languages = set() for i in range(n): m = int(input()) new_languages = get_languages(m) all_languages |= new_languages if i == 0: ...
[ "noreply@github.com" ]
IlyasDevelopment.noreply@github.com