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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
22751858f26587a040475c2a453193329cb78837
31a7204221570f5157a38b48913f131e310812c6
/Fame/wsgi.py
82d89c03f27bc81006bf904a01ddc2a5bb8aaaa8
[]
no_license
judeyouzhi/livefit
b7573029f644a71b572e1ad383a3ffc5d46b6ea7
a13d5d7dfd510e4384d4e2bb1086b5cb370839b9
refs/heads/master
2021-01-20T11:13:30.849633
2016-12-26T06:39:04
2016-12-26T06:39:04
77,363,530
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for Fame project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS...
[ "judeyou@judeyou-macbookpro.roam.corp.google.com" ]
judeyou@judeyou-macbookpro.roam.corp.google.com
f7aa38867d10a632f17743daa400364c915a957c
758e68638e21cbc763b515d1edb9e428ffd3f64b
/pangolinHustle.py
7083f0ec269de7ecd272c68311f1d1b6ccb6d41c
[]
no_license
aliisakroe/PangolinPygame
9b180b659e366c35e25c270e326012a9d4654e20
ec85bfbe565f20532f628b36cd97318e73747e4c
refs/heads/master
2021-01-10T14:29:55.124761
2016-01-26T17:10:41
2016-01-26T17:10:41
50,433,498
0
0
null
null
null
null
UTF-8
Python
false
false
5,149
py
#Aliisa Roe #Project 1 -- pygame #Oct 5, 2015 """This is a simple game where the user moves a pangolin image with arrow keys to get to the top of the screen without colliding with moving snake sprites--- an experiment with pygame.""" #I used pygame tutorial videos @ Kris Occhipinti #spritesheet from #colorado.edu/S...
[ "aliisakroe@gmail.com" ]
aliisakroe@gmail.com
1d98d5123707340b7b8490ded539ce18888d5e68
cc6476571b5dc2b3ed61d9ae2833ddbe122edbcb
/Ingestion.py
520ed96425d84b6c93c5a2951f84ef58e94a2339
[]
no_license
jackhulbertpdx/GoingPlacesWithPraw
905660f4744ead56e4c53d6b63f0ba232eb74434
8c95b3efa382d126b1571f74918e96ae355cf033
refs/heads/main
2023-04-03T19:40:52.004660
2021-04-07T23:31:24
2021-04-07T23:31:24
348,434,020
0
0
null
null
null
null
UTF-8
Python
false
false
3,588
py
############################################################################################# # Ingestion # by Jack Hulbert # April 2020 ...
[ "noreply@github.com" ]
jackhulbertpdx.noreply@github.com
03e79839472824d49009eb882c9be785ea788325
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/globals/globals.py
d957b41f406b4b6a75b7525b1800f265fe66875b
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
11,362
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, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
6cdaa4435e0e15d1f90e91b2cdd9468848c117bf
9a258d81d612b855e244e4a03594ebe312ff3268
/webapp/tests/test_urls.py
8a82dcab33b5fefed07c162dd7d7b024a90d642f
[ "MIT" ]
permissive
erischon/p10_digitalocean
19fb39f7442e0eec669fbd1ef5b2d49464c37493
a850dfb97470da57117fa1dfc62c4614a602fe40
refs/heads/master
2023-04-27T16:52:04.158502
2021-05-15T22:44:34
2021-05-15T22:44:34
360,518,773
0
1
null
null
null
null
UTF-8
Python
false
false
427
py
from django.test import SimpleTestCase from django.urls import reverse, resolve from webapp.views import home_page, mentions class WebappTestUrls(SimpleTestCase): def test_home_url_is_resolved(self): url = reverse('home') self.assertEqual(resolve(url).func, home_page) def test_mentions_url_...
[ "erischon@gmail.com" ]
erischon@gmail.com
154bc5967613ed4e7873580bb05f5a3989ed423b
06d241ddb5066e65ce3d87d2fd059928d92f57a2
/mim.py
a4fc5f207952729312055dace5b36fe6be4df1cb
[]
no_license
geobreze/networking-lab2
e662e9c097f5628471683844b751b3282d0192df
707289b5e05468ab73c0203591bd79be6d50061c
refs/heads/master
2022-12-28T16:24:50.375281
2020-10-08T21:05:24
2020-10-08T21:05:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
import socket import threading from select import select from common import crypt from common.socket_util import Socket, REFRESH, AES_ENCODED, INPUT_WANTED class MIMServer: def __init__(self, host, port, s_host, s_port, backlog=10): self.sessions = [] self.sock = socket.socket(socket.AF_INET, soc...
[ "uladzislau.valashchuk@ah.nl" ]
uladzislau.valashchuk@ah.nl
4a668cda898e9c471a683852233d9dee97b94e38
697e02fa4c280a9d9581a84c4e2a88e13666f7ce
/Auth/urls.py
b71441188ce1eeda0742fa443e63aa1d62a6c545
[]
no_license
devnikhilmhatre/fynd_task
df588ad208ac1e9e34f94e4fe436ced50f1a9653
4cc79441d7350167c22b1fcd4e0f7c2e1fb22a76
refs/heads/master
2022-05-04T09:08:59.788071
2019-06-08T17:34:04
2019-06-08T17:34:04
190,915,764
0
0
null
2022-04-22T21:40:47
2019-06-08T17:23:08
Python
UTF-8
Python
false
false
161
py
from django.urls import path from .views import SignIn, SignOut urlpatterns = [ path('login/', SignIn.as_view()), path('logout/', SignOut.as_view()) ]
[ "dev,nikhilmhatre@gmail.com" ]
dev,nikhilmhatre@gmail.com
34cd64af2f789023c8c435d22d7308d5972f46d4
9ff5aa15d0fffd991c6640e7e3f2c443424c3a3a
/shunxu_search.py
f23daa56b3bcfdecbb2e89f691ab51e446200dc5
[]
no_license
SongLiu0828/data-structures-algorithms
a40209a4bc7cb1f5fb75268ac36b8105470c91ec
463bc6c174b533e8536e615b7306f3c9b1317799
refs/heads/master
2020-03-24T06:39:22.673529
2018-07-27T06:22:46
2018-07-27T06:22:46
142,536,292
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
def shunxu_search(alist, item): i = 0 found = False while i < len(alist) and not found: if alist[i] == item: found = True else: i += 1 return found alist = [54, 26, 93, 17, 77, 31, 44, 55, 20] print(shunxu_search(alist, 54)) print(shunxu_search(alist, 19))
[ "song@SongdeMacBook-Pro.local" ]
song@SongdeMacBook-Pro.local
72c7e92b479a0a11d374e58e34f3467c43e67821
e8c76797b194bce6702adf9721a96c2b440efd5c
/test/modules/http2/htdocs/cgi/hello.py
20974bfdd3f143dd3a0f49ab33f2b24bfad99305
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain", "Apache-2.0", "LicenseRef-scancode-zeusbench", "BSD-3-Clause", "RSA-MD", "LicenseRef-scancode-rsa-1990", "Beerware", "LicenseRef-scancode-other-permissive", "Spencer-94", "metamail", "LicenseRef-scancode-rsa-...
permissive
apache/httpd
86bfac3d6e2e9b48f5bfca5be7ec616fa9b14e9a
b9e029c8036fd036281ac266010db91aed6079b2
refs/heads/trunk
2023-09-04T07:18:59.681233
2023-08-30T12:56:11
2023-08-30T12:56:11
205,423
3,159
1,329
Apache-2.0
2023-09-11T13:50:41
2009-05-20T02:02:59
C
UTF-8
Python
false
false
825
py
#!/usr/bin/env python3 import os print("Content-Type: application/json") print() print("{") print(" \"https\" : \"%s\"," % (os.getenv('HTTPS', ''))) print(" \"host\" : \"%s\"," % (os.getenv('X_HOST', '') \ if 'X_HOST' in os.environ else os.getenv('SERVER_NAME', ''))) print(" \"server\" : \"%s\"," % (os.getenv(...
[ "icing@apache.org" ]
icing@apache.org
e4fbb87cc08aaac02be49eda20357561270994c1
61863d68d64c9319cd49d280b20d2c2a40957363
/r2lab.inria.fr/users/views.py
b878f3e298472f439face96a6b9b5c151f7c9383
[]
no_license
sfehlandt/r2lab
fd781637d258a7fc40043f4f8cddef9ec672b563
b4f8ddd84327c426b20fe8f772a4e5e47e0cce31
refs/heads/master
2021-01-22T18:46:29.143500
2017-03-08T17:38:29
2017-03-08T17:38:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
from .plcapi_users import UsersProxy
[ "thierry.parmentelat@inria.fr" ]
thierry.parmentelat@inria.fr
5ef22ce22e6cb63932236fbbcfcccd0a28bd676d
7041d7976f8964a0f1a11e1d0046a7857d900c27
/sysdoc/main.py
f492dbe7b10804a6ba69a0f43802544745a2e721
[]
no_license
moniccax/azure_first
a466bb96f3bcc94d6c1856cee66e6883c2be51cc
1a2eb2c190894b03a3d694b1262dbea68170e5e2
refs/heads/master
2022-04-13T21:00:23.938178
2020-02-28T12:06:12
2020-02-28T12:06:12
240,284,516
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
# -*- coding: latin-1 -*- from flask import request, jsonify, render_template, flash, url_for, Blueprint from docx import Document as docxDocument from datetime import timedelta from subprocess import call from utils import * import os import io import zipfile import sys import hashlib import random import ...
[ "monica_emediato@hotmail.com" ]
monica_emediato@hotmail.com
793fabc710ab61e60bc4ad701ef6d70a64ebffcc
5d0f91e3a4c75375a2ba9b12cf3cbd4350c2ccdf
/geopdf/__init__.py
11df3297614cf7a212aab066ac7d3ed89a52d353
[ "MIT" ]
permissive
garnertb/geopdf
8fac6419e62db9d880d48bb4b202cfbf11729629
175073cb44a308513bdb6db32092dd806029afc0
refs/heads/master
2021-01-10T18:50:22.802931
2015-06-09T13:53:43
2015-06-09T13:53:43
29,563,939
1
4
null
null
null
null
UTF-8
Python
false
false
6,121
py
# -*- coding: utf-8 -*- """Adds GeoPDF functionality to ReportLab""" from reportlab.lib.colors import black from reportlab.pdfbase.pdfdoc import PDFArray, PDFDictionary, PDFName, PDFString from reportlab.pdfbase import pdfdoc from reportlab.pdfgen import canvas class GeoPDFBase(object, PDFDictionary): """ Ba...
[ "garnertb@gmail.com" ]
garnertb@gmail.com
64cff1a16079803de459b9aa3b7b4eff8e8cd29b
c8945fe03675fac27fccf95fde3fc102f8dbef1b
/metrics/custom_metric.py
7e87378acd3a2c616bd873a7988db60868c68bbd
[]
no_license
damianmcdonald/gke-metrics-helm
b8cd6c24959087aa9d0264cbe9c65878cbe8117e
86fc74452fa858d1129912bd34cae86b32f4ae68
refs/heads/master
2023-02-24T07:43:52.633272
2021-01-22T11:26:46
2021-01-22T11:26:46
329,100,300
0
0
null
null
null
null
UTF-8
Python
false
false
2,825
py
import os import sys import argparse import datetime import pprint import random import time import googleapiclient.discovery def create_custom_metric(client, project_resource, custom_metric_type, metric_kind, metric_display_name, metric_description): """Create c...
[ "damian.mcdonald1979@gmail.com" ]
damian.mcdonald1979@gmail.com
3a15676d41e89576cf66bdb38fe8953de3db54a0
347ae4f64d15c8af4455185adc0858362862bb3e
/pose_txt_data_merge.py
536eec6fefb2a6b391198c7e2eed79793b289236
[]
no_license
AIHGF/Coding-Recording
f93b291dc78da1a54006b80df9ad58594c082745
60c179365d81af94e412ccd56129aa88c5b2d95f
refs/heads/master
2021-06-07T09:43:39.036211
2016-10-25T01:59:48
2016-10-25T01:59:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' random selecting some images ''' import os import re import shutil import random if __name__ == '__main__': # Read the json data from text file f = open('pose.txt','r') datas = f.readlines() f.close() #print datas f_one = open('one_person.txt','r...
[ "noreply@github.com" ]
AIHGF.noreply@github.com
5aa325b1239d92c5a5dc206f02581984ff7c032f
8e5a146e2b11c0d9e924cc708392d2273fb419de
/I0320011_soal2_tugas2.py
c3ce049567d71103bd7e9cc1b40fb9d7ac96d6d4
[]
no_license
Aratiakiana/Aratia-Kiana-Piandhani_I0320011_Wildan-Rusyadani_Tugas2
9c7ea21f90c7848a921ba590e6ed8d4df8270433
fb40d09638665e93d543e12c2bf38e76d50fa45a
refs/heads/main
2023-03-15T11:29:11.798144
2021-03-11T15:50:08
2021-03-11T15:50:08
346,230,046
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
#Memasukkan data diri nama = "Aratia Kiana Piandhani" namaPanggilan = "Ara" nim = "I0320011" kelas = "A" prodi = "Teknik Industri" angkatan = "2020" universitas = "Universitas Sebelas Maret" jenisKelamin = "Perempuan" agama = "Islam" print("Halo perkenalkan nama saya", str(nama)+",biasa dipanggil", str(namaPanggilan)+"...
[ "aratiakiana.p@gmail.com" ]
aratiakiana.p@gmail.com
92136573be8db1267421978b237419950e01cd8b
2eec69f014b2111680904208e0a9bcb4f1c1e922
/module/bert_optim.py
b15fe5fffb82b4af73a861bf3567c6a7ceab3419
[ "MIT" ]
permissive
UKPLab/mdl-stance-robustness
fc873d2ec95ee02866e03041123d8316bd677411
a8ef3f498e7f238d5224debe9bfce478e480201f
refs/heads/master
2023-07-19T21:51:14.086577
2022-05-17T12:55:18
2022-05-17T12:55:18
229,263,983
37
13
MIT
2023-07-06T21:36:14
2019-12-20T12:48:42
Python
UTF-8
Python
false
false
5,903
py
# Copyright (c) Microsoft. All rights reserved. import math import torch from torch.optim import Optimizer from torch.nn.utils import clip_grad_norm_ from pytorch_pretrained_bert.optimization import warmup_constant, warmup_cosine, warmup_linear def warmup_linear_xdl(x, warmup=0.002): if x < warmup: return ...
[ "schiller@ukp.informatik.tu-darmstadt.de" ]
schiller@ukp.informatik.tu-darmstadt.de
8831c689d0b7f8a70f197c219c2585d1b69ff287
9101cc8041d53ee4493941cecf8c5cbb5d7d4257
/P4HW2_RunningTotal_RiedToneshia.py
38f678f6402c5b660449a83c3acedf7bef3ebaa5
[]
no_license
princess2597/CTI110
6c1943413318aed448a84f951ed274f114ae8960
64016e50f04bf775e9b807b8483f127587754116
refs/heads/master
2021-04-29T23:50:50.255991
2018-05-13T15:44:51
2018-05-13T15:44:51
121,564,314
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
#CTI - 110 #P4HW2: Running Total #Toneshia Ried #March 20, 2018 total = 0 userNumber = float( input("Enter a number? ")) while userNumber > -1: total = total + userNumber userNumber = float(input("Enter a number? ")) print("\nTotal:",total)
[ "noreply@github.com" ]
princess2597.noreply@github.com
aa49a4d64508c9fa62c1e3f29026d15008e407f4
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/lib/surface/app/versions/delete.py
fe4a27d6de672df18ddf9b85bc4ecc86e88036db
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
4,568
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
c281f4e1e98d33496387c7144dae0dd964528490
22c686df4887171b8f3c13ed3e60823fc78bcfd3
/venv/Lib/site-packages/dotenv/parser.py
bd60cab4026488e11ffa624d74cac3513389a21a
[]
no_license
farooqiusman/Discord_bot
5ffb2b5576ebafc6f5418eda28645a4fc128add9
990a305ffcc3359ed2a59d211e32212e1d5447df
refs/heads/master
2023-07-14T07:55:24.780523
2021-09-03T18:06:42
2021-09-03T18:06:42
234,797,260
0
0
null
null
null
null
UTF-8
Python
false
false
6,005
py
import codecs import re from .compat import IS_TYPE_CHECKING, to_text if IS_TYPE_CHECKING: from typing import ( # noqa:F401 IO, Iterator, Match, NamedTuple, Optional, Pattern, Sequence, Text, Tuple ) def make_regex(string, extra_flags=0): # type: (str, int) -> Pattern[Text] return r...
[ "34846941+Chobaka78@users.noreply.github.com" ]
34846941+Chobaka78@users.noreply.github.com
65b580895a9731ed5298866a09c1fbe51152a79f
a131266796fecf211f666d23274f12a20cc1f366
/render.py
2dead4d479662cd0cb0cee984a2ee564d7a79cdd
[]
no_license
Praron/3D-render-learning
d07afc74291f17f011d005f36513749ae8e0d07d
edfae239c165469a3bcfa499a36b7d1c4c31cca4
refs/heads/master
2021-01-20T18:07:50.051555
2016-07-03T23:39:29
2016-07-03T23:39:29
62,517,716
0
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
from PIL import Image from vector import * import re import random from functools import partial filename = 'head.obj' H = 1000 W = 1000 BLACK = (0, 0, 0) WHITE = (255, 255, 255) RED = (255, 0, 0) GREEN = (0, 255, 0) BLUE = (0, 0, 255) def parseVertices(file): file.seek(0) # Get only stirngs with vertices ...
[ "koctr123@mail.ru" ]
koctr123@mail.ru
a9e4612761077a7438abaa3443204f7a17ee97f7
dae1ea21e75f80513594ea1efd887db9b4413ac2
/Spaceship.py
553889eb672925dbbe08a87176079fcd3abafa5f
[]
no_license
Immortalits/Python-OOP
70aeadbd718b2017ca2669250010715ac9d00548
45396c24235b90bb7ec039b702209b24cfc29221
refs/heads/main
2023-08-14T17:10:26.880888
2021-10-10T14:02:23
2021-10-10T14:02:23
410,756,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
class Spaceship: fuel = 400 passengers = ["John", "Steve", "Sam", "Danielle"] Shields = True Speedometer = 0 def listPassengers(self): for passenger in self.passengers: print(f'Passenger: {passenger}') def add_passenger(self, new_passenger): self.passengers.append(n...
[ "zazib03@gmail.com" ]
zazib03@gmail.com
e1ea4c169eac6a692d0243c2fe8e607a7bc281e2
2c74bb301f1ed83b79254944183ac5a18a639fdf
/tests/components/github/test_diagnostics.py
80dfaec24459735e6cd3e4ebee2a1a78979dbbc2
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
2,437
py
"""Test GitHub diagnostics.""" import json from aiogithubapi import GitHubException from aiohttp import ClientSession from homeassistant.components.github.const import CONF_REPOSITORIES, DOMAIN from homeassistant.core import HomeAssistant from .common import setup_github_integration from tests.common import MockCo...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
ed7c9da316d6117584cb538fa5bdb542fb66e51c
7a4ca209d8c2c55ae7a721426be57fcb47bf1247
/Swansong/swansong/au/coreFunctions.py
baa05eb5b17812cd29d20bd736fee906ba95d161
[]
no_license
fuankarion/SwS
1ca8a0c60b7f091621bae601b792a946c14f00cf
9ea4ac5547dc5708a0da2fba4068ce79dbc49301
refs/heads/master
2021-06-18T22:20:08.060272
2017-03-13T23:50:36
2017-03-13T23:50:36
82,957,583
0
0
null
null
null
null
UTF-8
Python
false
false
6,329
py
from pylab import * def trainNetworkBetterTrainDataLogTop2(solver, niter, batchesForTraining, targetLogFile, test_iters, logsPerEpoch, smallSetProportion): train_loss = 0.0 train_accuracy = 0.0 train_accuracyTop3 = 0.0 smallSetIters = int(round(test_iters / smallSetProportion))#test with a small ...
[ "fuankarion@gmail.com" ]
fuankarion@gmail.com
fd287cb7728cad58dbce3d3fc63cf575d98d8dc6
a1a6afe657678e3d08c9e5e06da33c803a3b3ab5
/script.py
969fdcb8c0df82e8e8151fc740238c99b751c600
[ "Unlicense" ]
permissive
mattnewell/karabiner-windows-mode
dbfbe89d79a013a9b12098635502168e70383151
25f43c24219bb89f7018733c93abdb2d7e5dcdde
refs/heads/master
2020-09-05T11:58:13.378450
2019-11-07T12:51:30
2019-11-07T12:51:30
220,096,937
0
0
Unlicense
2019-11-06T21:49:45
2019-11-06T21:49:45
null
UTF-8
Python
false
false
578
py
import json with open("../karabiner-windows-mode/windows_shortcuts.json", "r") as read_file: data = json.load(read_file) for rule in data["rules"]: for manipulator in rule["manipulators"]: if manipulator.get("conditions"): for condition in manipulator["conditions"]: conditi...
[ "matthew.newell@northwesternmutual.com" ]
matthew.newell@northwesternmutual.com
30cc1d1fc50d0f446d0341344fbc5cfd52d78242
9df89a1652d183d8fc654acd728f9a578d6d1912
/cli/psym/graphql/query/customers.py
cc9b41c460503454a4b358260df7649396259444
[ "BSD-3-Clause" ]
permissive
duranrojasm/symphony
b37d54a134e29093edacb80442e204fc71a37fbe
55b3d0c20b669374303bafb10e9c96c734647c9c
refs/heads/main
2023-08-24T02:00:33.433220
2021-10-28T20:35:23
2021-10-28T20:35:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass, field as _field from ...config import custom_scalars, datetime from gql_client.runtime.variables import encode_variables from gql import gql, Client from gql.transport.exceptions import TransportQueryError from fu...
[ "jcaroper@everis.com" ]
jcaroper@everis.com
bc538e6823fea20fa055d230beca6fb129d1ec17
38b6e0c4ba6dce2d87fdf53ca1fc92014f86ae3f
/Parser.py
9fd478a4f52e3f83e2e0c44364eb541c9bdbcc4d
[]
no_license
Arcensoth/MCC
f0068d2cd362658001b38c7b1aaf23a85b203257
357375473761d869d885ba9ea931b60b32f33e8a
refs/heads/master
2020-03-28T11:47:48.259585
2018-08-31T22:09:40
2018-08-31T22:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,961
py
import sublime, re from .Blocks import BLOCKS from .Items import ITEMS from .Data import * from .CommandTree import COMMAND_TREE class Parser: add_regions_flags = sublime.DRAW_NO_OUTLINE regex = { "axes" : re.compile("[xyz]+"), "click_event_action": re.compile("(?:run|suggest)_command|open_url|change_page"), "...
[ "42iscool42@gmail.com" ]
42iscool42@gmail.com
faf45b629da2c9b6f878c086d6691fdf8be9c9f5
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/15/31/5.py
0b76face2b61578a0a63ae7ae2bee12b06fe88cd
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
745
py
import os import sys from collections import defaultdict problem_id = 'A' sys.setrecursionlimit(10**9) input_path = '%s.in' % problem_id output_path = '%s.out' % problem_id def read_line(): line = '' while len(line) == 0: line = input_file.readline().strip() return line def write_line(line): ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
dd36c366f4d20cc72cc9ef6c741e12b99e6c982a
f6150e02de746599964dc3fc4d2bde839f9b6e69
/preprocessing/preprocessing_factory.py
b00081b8ca1685bf0fe88684ecf348f3ef996b31
[]
no_license
margaux-schorn/classification_visages
0be004645ecd942df860eebc43e11fa9c6319933
d6c1d740aa0e74b430bf384f943e33e990a226c1
refs/heads/master
2020-03-08T20:16:15.226824
2018-05-18T09:15:51
2018-05-18T09:15:51
128,377,941
0
0
null
null
null
null
UTF-8
Python
false
false
3,032
py
# Copyright 2016 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 applicable ...
[ "margaux@Margauxs-MacBook-Pro.local" ]
margaux@Margauxs-MacBook-Pro.local
d694c8662397c906eb3675d91e5b303572a9b9ff
e543218db21c0232ab6c688cbbec7d49cf54e1de
/M5HW3_Factorial_lee.py
64031e77807c5cc854c7415d06957b995901d2d1
[]
no_license
jeffnivy/cti110
edb77132f223a903d86ab107c9d9584e144367a3
2e42c9a36cfc594265524825f79e1b4f440466ea
refs/heads/master
2021-01-23T10:37:02.426149
2017-12-11T16:02:08
2017-12-11T16:02:08
102,623,562
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#CTI 110 #M5HW3 Factorial #Jeffrey Lee #17 Oct 2017 #Write a program that asks the user for a nonnegative integer #then uses a loop to calculate the factorial of that number #Display the factorial userInteger = int( input( "Please enter a number: " ) ) while userInteger < 1: userInteger = int( input(...
[ "noreply@github.com" ]
jeffnivy.noreply@github.com
b28c1d72325c7045c6e87f2201c4ee48fe23cab0
cc1e28c1647729b50db74a7acacb537ba8c72255
/main.py
fdd3b53e970bd996939e0f312d80314244990c9a
[]
no_license
myrepositorygithub/GemFarm
9e8e61808348584f3154c374af33df74905c6148
7dd27cbe60f0b29b805acd39d265732a239eed69
refs/heads/master
2020-05-03T03:30:54.795740
2017-08-05T00:32:49
2017-08-05T00:32:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,881
py
import multiprocessing import pyHook import pythoncom from actions import * from time import time import sys,os from sub import * from datetime import date def OnKeyboardEvent(event): global ant,macros millis = int(round(time() * 1000)) #print 'KeyID:', event.KeyID,millis-ant #print '....
[ "thiagoo.cabral@gmail.com" ]
thiagoo.cabral@gmail.com
93c28615161ad665f97e89b09222deb2b306f097
5c46090e9c71be328e0ff01ef8967ca0aef3000b
/0x01-python-if_else_loops_functions/2-print_alphabet.py
d267221c90ebe7cfd6c5f91ad266aab5f609174a
[]
no_license
DiegoRmsR/holbertonschool-higher_level_programming
160f3da74f09701ff1e4fd4ec74f71336800044b
59aaefddf2a4e155e13c603cf81bf9577f774309
refs/heads/master
2020-07-23T00:27:56.986587
2020-02-14T02:53:47
2020-02-14T02:53:47
207,383,431
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
#!/usr/bin/python3 import binascii for alp in range(97, 123): print(end="{:c}".format(alp))
[ "Diegoramos.mt@gmail.com" ]
Diegoramos.mt@gmail.com
02a552e03cd80033dca15ca2ee26e699ec517010
b9ea2504f4b2118f0722d22df29c1ddd7b391e79
/exhaustive_mixed_fixed_data_gaussian_var_impt.py
2cf5a9c1e83a602329faa7da902e4fbeb6cea920
[]
no_license
patrickvossler18/ps_job
ecf181f4ccc1461fd8833fc6ee83074fe507a59e
ba170d1d8883e4abfea7109e20d978f19269cf23
refs/heads/master
2020-04-14T18:41:45.350947
2020-01-29T01:34:48
2020-01-29T01:34:48
164,029,643
0
0
null
null
null
null
UTF-8
Python
false
false
2,986
py
import numpy as np import pandas as pd from DeepKnockoffs import KnockoffMachine from DeepKnockoffs import GaussianKnockoffs import sys sys.path.insert(1, "/home/pvossler/ps_job") # sys.path.append("/home/pvossler/ps_job") import data import parameters from sklearn.covariance import MinCovDet, LedoitWolf import utils i...
[ "patrick.vossler18@gmail.com" ]
patrick.vossler18@gmail.com
fe9b034ff0b1c5cb685a9b5928c8193be3d0bba5
caa8c0915d21ce22358aeadd0af3a71916189fa5
/FlaskORM2/manage.py
e78d9bfaa97d7687bdecfc73860031a6c9d710ef
[ "MIT" ]
permissive
lxdzz/item
49d4d60da8fc7e9d6e365160adb78b6ffd7cf323
1024c53baa51bcdc98ec7a987eb3433fc4478d00
refs/heads/master
2022-12-16T15:02:18.809063
2019-10-08T09:18:28
2019-10-08T09:18:28
213,304,826
0
0
MIT
2019-10-07T06:26:22
2019-10-07T05:48:00
CSS
UTF-8
Python
false
false
292
py
import os from app import models,create from flask_script import Manager from flask_migrate import MigrateCommand,Migrate app=create() manage=Manager(app) migrate=Migrate(app,models) app.secret_key="123456" manage.add_command("db",MigrateCommand) if __name__=="__main__": manage.run()
[ "zdhr@163.com" ]
zdhr@163.com
26e87590c5d6f4db03a3f56df1693c4555695eb6
1c2a0744f5a858894bdefd96687cb64b91fbb7c4
/assignment3/q2_rnn.py
d8c335f2d1fb5167198ea4aacf86296a76feae40
[]
no_license
Kolento93/cs224n
516f5deb56124c91c900dbdf89eb4e5ea75592c4
1c3709ab05022e4547fc0a0280315b83143d98a5
refs/heads/master
2021-08-23T23:44:13.607862
2017-12-07T03:57:33
2017-12-07T03:57:33
112,143,923
0
0
null
null
null
null
UTF-8
Python
false
false
26,759
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Q2: Recurrent neural nets for NER """ from __future__ import absolute_import from __future__ import division import argparse import logging import sys import time from datetime import datetime import tensorflow as tf import numpy as np from util import print_senten...
[ "haorangu93@hotmail.com" ]
haorangu93@hotmail.com
7d0b9e321fad687717ba261f712748cb57d968a3
7848ded2f7b1cf5cc33380d739e0ceee5718ffec
/imrunicorn/activity_log/migrations/0006_auto_20210218_0756.py
73aa939743b218d1fe05de35fdd5684fce3b3c7e
[]
no_license
benspelledabc/djangosite
cbed1a7da3eb6ba6eee05897ec928b350831fc6b
fa8004b20f790f56fc69e9d158128a867be700f3
refs/heads/master
2023-04-17T19:24:48.908640
2021-05-02T19:05:38
2021-05-02T19:05:38
294,891,690
1
1
null
2021-05-02T19:05:38
2020-09-12T07:16:11
Python
UTF-8
Python
false
false
474
py
# Generated by Django 3.0.7 on 2021-02-18 12:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('activity_log', '0005_activity_sfw'), ] operations = [ migrations.AlterModelOptions( name='activityphotovalidation', options=...
[ "admin@benspelledabc.me" ]
admin@benspelledabc.me
308265d321cee40072f7e45374d65e6f3a7d9041
9302e92395e6fe35c00a565eb317d62c15ebaf4b
/converting.py
1f894d79232545e84e21b090989083c5b23c2e32
[]
no_license
kollaa/python-milestone1
053135314921a1f7fd91061483a83a7f101d339a
425ab992c99545708955d3b8eaf745a79f754abf
refs/heads/main
2023-01-02T11:22:47.783068
2020-10-21T04:55:37
2020-10-21T04:55:37
305,290,437
0
0
null
null
null
null
UTF-8
Python
false
false
2,071
py
from docx2pdf import convert from flask import Flask from flask_restful import reqparse, abort, Api, Resource import csv import pandas as pd import json import os import win32com.client import pythoncom from pywintypes import com_error app = Flask(__name__) api = Api(app) class ConvertingDocx(Resource)...
[ "noreply@github.com" ]
kollaa.noreply@github.com
8e56a302ab72b021d83ee70f0ad1e776d0ef9fc3
1956b7c652d8c2e22a9edc22032a1ee5a64b6b7b
/apps/partner/migrations/016_auto__change_data_type__commission_field.py
0a86af3822ac6019bf771eb379a3bc08602d411f
[]
no_license
quantmScubism/django_oscar
939bb5fd0d4caa17747e966a0a847939646808c1
e283abbe89a0ca0488fc6442de0a0eb5b53f0149
refs/heads/master
2020-04-16T02:30:18.269115
2017-06-24T14:41:28
2017-06-24T14:41:28
95,303,096
0
0
null
null
null
null
UTF-8
Python
false
false
17,247
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models from oscar.core.compat import AUTH_USER_MODEL, AUTH_USER_MODEL_NAME class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Stockrecord.commission' ...
[ "012kinglight@gmail.com" ]
012kinglight@gmail.com
88163ffa4c39f9c08b7cefc81c2eb7c2b7c7bed4
f146cef3f2172275c8d7f526dab92951fa50eb2c
/COURSE/group project -week9/backup -backend day3/backend/app/users/views.py
d0da6f0f9c4c96335aafbf7f3314c9c3e1305e26
[]
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
3,413
py
from django.contrib.auth.models import User from rest_framework import filters from rest_framework.generics import RetrieveAPIView, ListCreateAPIView, ListAPIView, UpdateAPIView from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated from app.permissions import IsOwnerOrRead...
[ "rachovsky@gmail.com" ]
rachovsky@gmail.com
92df14d9f3a7a7b18fe39ebd9d18ab9b452e8f22
44032f82bcb767175cf86aeccee623eb6cfbd40e
/server/dvaapp/task_shared.py
8733e35fc2bb8ee34d3eb83854a172bd24e95358
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
veyselkoparal/DeepVideoAnalytics
3628d41f8e06547e177a7badd20b399bd7f9028a
013f7e1efcc11f9ed5762192a91589aa6b4df359
refs/heads/master
2020-03-16T04:22:46.603989
2018-05-07T06:55:47
2018-05-07T06:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,253
py
import os, json, requests, copy, time, subprocess, logging, shutil, zipfile, uuid, calendar, shlex, sys, tempfile, uuid from models import Video, QueryRegion, QueryRegionIndexVector, DVAPQL, Region, Frame, Segment, IndexEntries, TEvent,\ Worker, TrainedModel from django.conf import settings from PIL import Image fr...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
3f5904a0711502f61e084e2adc5e1fa04b34d71b
8bd04db6920bc051aca9bb3c2a5517e730f75aa1
/app/user/views.py
be092b00f5221826a2ea007d86e1b3f22601aefd
[ "MIT" ]
permissive
barlydjaja/recipe-app-api
a44bcb4d148000a9c8c24c3dcaf6816e9b022a3f
ce9607ca3497bbde3b69dd2db4d07b361c6400e8
refs/heads/main
2023-03-24T18:23:46.310726
2021-03-14T04:43:39
2021-03-14T04:43:39
343,402,834
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
from rest_framework import generics, authentication, permissions from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from .serializers import UserSerializer, AuthTokenSerializer class CreateUserView(generics.CreateAPIView): """ Create a new user in the sys...
[ "barlydjaja@gmail.com" ]
barlydjaja@gmail.com
f027e2fef6d80f6cee29c3c460427d5ff4690d31
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_073/ch18_2020_03_09_13_23_07_056737.py
5580c305acffebf7d622cc6890b83f53b3de7ef7
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def verifica_idade(idade): if idade>=21: return 'liberado EUA e BRASILl' if idad>=1 and idade<18: return 'Não está liberado' else: return 'esta liberado BRASIL'
[ "you@example.com" ]
you@example.com
b1163a31c4f06fe80bd4a61d7898539c29b8a4fc
48315e4fd2cdc491ea6d1160331dfd836b410e5c
/testfile.py
0ef295aedf17a6892ff998561e293cbac3a3d7e6
[ "MIT" ]
permissive
jesse-toftum/cash_ml
9561d3c47e88b54fb0312bacf1b650a3b46cd563
316121a41359f8d18358c17f9be2ab90ad69bcb2
refs/heads/master
2021-06-11T06:07:42.256317
2021-02-19T08:16:00
2021-02-19T08:16:00
160,003,235
4
3
MIT
2019-01-10T04:38:10
2018-12-02T01:30:21
Python
UTF-8
Python
false
false
1,172
py
from cash_ml import Predictor from cash_ml.utils import get_boston_dataset from cash_ml.utils_models import load_ml_model # Load data df_train, df_test = get_boston_dataset() # Tell auto_ml which column is 'output' # Also note columns that aren't purely numerical # Examples include ['nlp', 'date', 'categorical', 'ign...
[ "u0803072@utah.edu" ]
u0803072@utah.edu
14652fb38016928ddefc74fa43e0a8c3e8ada405
63b0fed007d152fe5e96640b844081c07ca20a11
/ABC/ABC200~ABC299/ABC245/d2.py
39575b7b194f9b94d10060fb30a0af67e9572081
[]
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
538
py
def polydiv(xs, ys): xn = len(xs) yn = len(ys) zs = xs.copy() qs = [] for _ in range(xn - yn + 1): temp = zs[0] // ys[0] for i in range(yn): zs[i] -= temp * ys[i] qs.append(temp) zs = zs[1:] if qs == []: qs = [0.] return qs n,m=map(int,input().spli...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
1e071d530068f67c936efc3ce7ec63291927d50f
cfae6e3f8e066b30e612895fa7dc8465657d67a8
/scorer.py
ab8977d1a71d43e37f862c8414a2c35db6934aa0
[]
no_license
jabm0010/PLN_pFinal
6d54c96db8727de70d90790cfb454a959fe61ea6
887e2758a28c967e50559885a68dee7bd9dcaad1
refs/heads/master
2020-05-16T12:56:48.552925
2019-05-01T14:35:20
2019-05-01T14:35:20
183,058,237
0
0
null
null
null
null
UTF-8
Python
false
false
2,598
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 23 20:13:57 2019 @author: jabm9 """ # -*- coding: utf-8 -*- """ Author: Salud María Jiménez Zafra Description: Final practice scorer Last modified: April 9, 2019 """ import sys gold_path = 'gold_labels_dev.txt' input_path = 'resultados.txt' confusion_matrix = {} l...
[ "jabm97@gmail.com" ]
jabm97@gmail.com
1ac5c2d34e64826c6b8bdb12f4a443e2c74c4ab7
1e81ae6498fad9321767a0c3bf6a83751a2fb992
/baiTap/bai10.py
de7804eb5690b473f048d1eb73f12f76fe641fb3
[]
no_license
tdhieu756/pythonBasic
4f8305ff81e071d0d4df41adeacfbf7387f3e488
b14756380ff0a9524dc4a38917a7b0430cbc6268
refs/heads/master
2020-05-25T07:06:04.492782
2019-05-21T01:54:59
2019-05-21T01:54:59
187,677,479
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
x = int(input('Nhap X ')) y = int(input('Nhap Y ')) l = [] print(l) for i in range(x): c =[] for j in range(y): #them vao cuoi list c.append(j*i) l.append(c) print(l)
[ "tdhieu756@gmail.com" ]
tdhieu756@gmail.com
ad06790be92022f31a2e460a0c85c51c7118fdbc
94b1c18704937d548d99a5185bf467bef8dc20a9
/list_5/setup.py
62a9a1e45384bc757aa61bd9485d6ec3eeaeb813
[]
no_license
piotrszyma/studies-elliptic-curves
5dcc1ef3749d40b503f953ca19baf55439f073dd
65418742b4961c6b27d864ba3ff5649f4414fdce
refs/heads/master
2022-11-23T11:06:36.547124
2020-07-26T19:57:41
2020-07-26T19:57:41
244,161,697
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
import json import shared import projective import field import affine import jacobi def _read_sage_params_from_file(file_path): with open(file_path) as f: return json.load(f) def _read_sage_params_from_stdin(): return json.loads(input()) def set_curve_params(args): if args.stdin: raw...
[ "thompson2908@gmail.com" ]
thompson2908@gmail.com
8b30590b3b5fb20f27fa5c80c230b6bfbf438e72
ca23ce5afc3d66b89eac610a0d89493a4f6a85f3
/engine.py
1ed3bd077c58ee4df493bc6b907f4051334261c4
[]
no_license
K1ngDedede/Unglaublich
788f87e9cd87ee427c7771cbe5e38ffa7b0742d8
be9352c282eece7910c441cc5145bd834397b9b8
refs/heads/master
2023-02-15T16:15:18.658886
2021-01-10T03:28:55
2021-01-10T03:28:55
271,098,910
1
0
null
null
null
null
UTF-8
Python
false
false
4,668
py
from os import path import pygame as pg import sys from settings import * from sprites import * class Map: def __init__(self, filename, screen): #Matrix of tiles self.nig = [] self.all_sprites = pg.sprite.Group() self.tiles = pg.sprite.Group() self.collidable_tiles = pg.spr...
[ "af.daza@uniandes.edu.co" ]
af.daza@uniandes.edu.co
dccac459597573c89d2f70c7fd8e454001aa54e5
aab8a88302af603fcfb5770d885b674e28edab38
/WebApp/clustering.py
ead5cf91d682ba42cf2db61d938980899a606914
[]
no_license
rmenyhart/AccidentPredictor
ea235834c445b68d5aba31832662c403b5b54450
467984419e8d3c25e1a922e50f8943a6750cc3e4
refs/heads/master
2023-07-17T16:55:36.195579
2021-09-06T17:00:43
2021-09-06T17:00:43
380,519,094
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
from dtos.location import Location from sklearn.metrics.pairwise import haversine_distances from math import radians class Clustering: cluster_centers = [] def load_centers(self, filename): file = open(filename, 'r') for line in file: coords = line.split(',') self.cluster_centers.append(Location(float(coo...
[ "menyhartrobert98@gmail.com" ]
menyhartrobert98@gmail.com
b2b45242b51f0a73e883f1bc773c5c35069ae906
fbfbe314015ae4b6d0cb12039ea24ea07bbb8012
/src/models/blocks/encoder_v1.py
c6f7d9694dbc8580b1fa56c75fe888e7a19a3d18
[ "MIT" ]
permissive
GuoleiSun/composite-tasking
9fefd98e2a512b64d5c5284c0f40c3e5339f9c56
c759a87be783912aae02e0cb9a8d18c52b3c8930
refs/heads/main
2023-05-30T10:09:40.234706
2021-06-17T23:13:06
2021-06-17T23:13:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
import torch import torch.nn as nn import torchvision class EncoderV1(nn.Module): def __init__(self, cfg): super().__init__() # Load and check the model configuration dictionary self.cfg = cfg self._check_cfg() # Create the encoder architecture self._create_encode...
[ "npopovic3794@gmail.com" ]
npopovic3794@gmail.com
ac00c1af94ea642896b57f7c815bbdbb346a67a4
16a8060f641e94a79aad3b70004d54eab812780f
/superlists/settings.py
f0588697223403b0c925f2aa3252647f50712c48
[]
no_license
kayushka/TDD
65214550e7269fb4e2b8c392a2fdf426a37541b9
1340ac83465359a6ada483acd7028bea966a6c45
refs/heads/master
2020-04-26T05:05:12.308644
2019-03-28T11:22:26
2019-03-28T11:22:26
173,322,032
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
""" Django settings for superlists project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os...
[ "machal.kaja@gmail.com" ]
machal.kaja@gmail.com
843d8fb2fb90c80110e6a1f94182e4440e561463
7a07d957316172fe78b341c6f5215df2ccdb24f6
/assignment/EasyAI_all_program.py
c6fbae635760a88672fcd1070d47c597c1a75d57
[]
no_license
chandraprakashh/Python_with_AI
87ff4655c44eef9d0459cf0f2ceedabde88b0f1f
6d76eeea94e0cb7402330a2beea1fc4a7ab73e29
refs/heads/master
2020-07-18T18:18:06.463302
2019-12-11T08:20:12
2019-12-11T08:20:12
206,291,055
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# -*- coding: utf-8 -*- """ Created on Sun Oct 13 22:50:57 2019 @author: user """ # Code => 1 from easyAI import TwoPlayersGame, Human_Player, AI_Player, Negamax class GameOfBones( TwoPlayersGame ): def __init__(self, players): self.players = players self.pile = 20 self...
[ "noreply@github.com" ]
chandraprakashh.noreply@github.com
e564dfeb822503e42485517c3f70e61be60181c9
2398ce6219cc23a937d4fb9d3459f0453357d28d
/cityshaper/movements/gearLash.py
50a38dc854ae87b4a1efac455c864e40d36355fc
[]
no_license
fllctrlz/robot
5c38f5e780fc5e3796f5d710e9c1167a7a5ccdd0
94757e3a0e386088c1ece2edc4855fc84dc0a994
refs/heads/master
2020-09-03T01:40:31.774516
2020-01-10T22:07:37
2020-01-10T22:07:37
219,353,164
1
0
null
null
null
null
UTF-8
Python
false
false
652
py
#!/usr/bin/env python3 from util import robot from time import sleep from util.exitConditions import distance, time, light def run(direction, delay = 0.2, power = 5): '''Moves the motors at a very low power for a short time in order to minimize the slippage of the gears inside the motors of the robot.''' ...
[ "fllctrlzfll@gmail.com" ]
fllctrlzfll@gmail.com
e958f0bfa38607d332190b88a4689f958dc42a09
945f4690cf1c85bae13bea8f361d44514f5fdca0
/Python/1113 - Crescente e Decrescente.py
ab9fca448e657d27622f29bd8eb02a92ea5af5e2
[]
no_license
geo-wurth/URI
e7209c0c2da933d3b565d40f466ad94adb1ebb9f
e0eae49739efb293322247feca426593df2d59ba
refs/heads/master
2020-06-20T09:36:28.505378
2019-12-03T18:46:22
2019-12-03T18:46:22
197,079,734
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
while True: valores = list(map(int, input().split())) x = valores[0] y = valores[1] if x > y: print("Decrescente") elif x < y: print("Crescente") else: break
[ "noreply@github.com" ]
geo-wurth.noreply@github.com
66e8990305011b7f2ab0877a826fec6744e91be4
fc6d3281164303abc89dde8f1554622e233ac906
/programs/migrations/0031_auto_20191206_1459.py
09c40c37210572089bc9e41ae24e842c8b55b250
[]
no_license
UCF/Search-Service-Django
46b65fb2ecfa0721f24e2785991b0976fe0f8353
5f2efbff2aae9579ff1a78216ed948f158daa4e4
refs/heads/master
2023-09-02T07:58:16.658821
2023-08-25T15:17:40
2023-08-25T15:17:40
128,795,665
0
0
null
2023-08-04T15:08:48
2018-04-09T15:44:01
Python
UTF-8
Python
false
false
1,089
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2019-12-06 14:59 from django.db import migrations, models import django.db.models.deletion from programs.models import ProgramOutcomeStat class Migration(migrations.Migration): dependencies = [ ('programs', '0030_auto_20191205_1727'), ] ...
[ "jimbarnesdeveloper@gmail.com" ]
jimbarnesdeveloper@gmail.com
da1d6f488fe1ab0f475cffb11a914492829aeb27
c5bfde6d6bb62b52af236a716b793a87d6c21ec7
/Day_03/Day_03.py
a5b287db9fa4e924906110cba149609ea1187f82
[]
no_license
yorickcleerbout/Advent-Of-Code-2020
f67a3caac64da950f705706639f72ec0b20e3fac
0fcd01b3f34ff39df006f2c523133478337ee2cb
refs/heads/main
2023-02-05T00:50:05.473697
2020-12-25T15:55:47
2020-12-25T15:55:47
317,986,405
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
with open("Day_03/input.txt", 'r') as f: data = f.readlines() def solution(right, down): trees = 0 x_pos = 0 for i in range(0, len(data), down): line = data[i] if line[x_pos % 31] == "#": trees += 1 x_pos += right return trees print("How man...
[ "noreply@github.com" ]
yorickcleerbout.noreply@github.com
428e801f8c2d57a8b868fdb5ecf1b3bd1b3838a2
13a81afcf92ba1e357ab358566328fd46d162033
/c1.py
1355e5fb0dd5808cf711538258121a71fb4ec592
[]
no_license
kiodyd/code_game
0b5f910c9b9157a16075b10b9a731189e395cf1c
c49578ee759d95433efffaf899cf2675e50baa99
refs/heads/master
2020-04-19T05:36:08.557628
2019-01-28T16:33:20
2019-01-28T16:33:20
167,992,822
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# coding: utf-8 # 自分の得意な言語で # Let's チャレンジ!! import re input_lines = input() fault = False if re.match(r'^(?=.*\d)(?=.*[a-zA-Z])[a-zA-Z\d]{6,30}$',input_lines): for i in range(0,len(input_lines)-2): if input_lines[i] == input_lines[i+1] == input_lines[i+2]: fault = True if fault: ...
[ "noreply@github.com" ]
kiodyd.noreply@github.com
57e7ab881b00e6f02b4f292a19abd5fca6d0ffd4
095d6091d9c7621488cebdf5e28e28da92367984
/Basico/servidor/venv/bin/pip2.7
165c0c302dfc0c84fe4717366411a3fc46b212bf
[]
no_license
jAndresMub/pythonBasics
28e126c57c9d499244df3dfe67c5237830b67a49
588376a818bf7f547c1e4a6e602c417f15de8846
refs/heads/master
2023-05-11T11:18:19.549905
2019-08-09T04:23:34
2019-08-09T04:23:34
199,773,717
0
0
null
null
null
null
UTF-8
Python
false
false
268
7
#!/home/andres/Escritorio/cursoPython/Basico/servidor/venv/bin/python2 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jandresmub@gmail.com" ]
jandresmub@gmail.com
7678c21d2e011e118d23455f36514f5d73e162d6
8454441f899c3beb9fcea26cffc2f4c3cf75ff6a
/common/code/snippets/py/flask-get-header.py
a040c637e90ee07be18f7cd6ed97246a58f26c1e
[ "MIT" ]
permissive
nevesnunes/env
4a837e8fcf4a6a597992103e0a0c3d0db93e1c78
f2cd7d884d46275a2fcb206eeeac5a8e176b12af
refs/heads/master
2023-08-22T15:49:35.897161
2023-08-15T13:51:08
2023-08-15T13:51:08
199,400,869
9
6
MIT
2023-06-22T10:59:51
2019-07-29T07:24:47
Python
UTF-8
Python
false
false
630
py
#!/usr/bin/env python3 from flask import Flask, request app = Flask(__name__) @app.route("/") def hello(): return "Hello!" @app.route("/<path:text>", methods=["GET", "POST"]) def echo(text): return f"You said (len = {len(text)}): {bytes(text, 'latin-1')}" @app.after_request def after(response): red_...
[ "9061071+nevesnunes@users.noreply.github.com" ]
9061071+nevesnunes@users.noreply.github.com
2ddaa2d8860b7299c64a636af17c11fbc5ebfa46
c04acaa6ee9c6a7c365e217bc78039fa9c77833e
/cuzquena/urls.py
785b7ed1280475deaaa389f28b11b64b4deafb40
[]
no_license
danielhuamani/django-la-cuzquena
0386800d640b224d94b0fac2d83f999b60d7da85
a6f4aaf44775b27328d073a65f1d0f50eff51fad
refs/heads/master
2020-12-05T04:51:01.077860
2016-09-17T13:56:58
2016-09-17T13:56:58
67,900,351
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
"""cconline URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
0f58171011c50cb9886c0f3b4139b15515c89952
f7669db87becadb8d995250878cab30a98bfd08d
/airhead/config.py
9f5249ab996cf0157949d56da08a651040b0e3b1
[]
no_license
rand338/airhead
62eadfc65b08361226059c592cd3998923f483b3
deb81bcb1bd21ac1a422e6a3be975e1eb4b8d41a
refs/heads/master
2020-03-21T00:24:44.658982
2017-09-16T11:48:30
2017-09-16T11:48:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import os.path from configparser import ConfigParser CONFIG_PATHS = ['.', 'conf/', '~/.config/airhead', '/usr/local/etc/airhead', '/etc/airhead'] def get_config(): for p in CONFIG_PATHS: path = os.path.join(p, 'airhead.ini') if os.path.isfile(path): c = ConfigParser()...
[ "tancredi.orlando@gmail.com" ]
tancredi.orlando@gmail.com
7827a4ff1d73bcdedd452e2b87970b445bb26252
3b3b8f400e1e175cd271169806452bce8017a39f
/lib/python/treadmill_aws/cli/admin/cell.py
9ce5a9950c08c1df864a54705bfe130ebda21e12
[ "Apache-2.0" ]
permissive
drienyov/treadmill-aws
d9c9af84fa12514f24b4bb30864659b8267deb55
a723999e9fa6e9c4b66155cbfca3082be5daff21
refs/heads/master
2020-03-25T00:04:53.359365
2018-07-31T15:16:21
2018-07-31T15:16:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,669
py
"""Admin Cell CLI module """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import logging import time import click import jinja2 from ldap3.core import exceptions as ldap_exceptions import six from treadmill impor...
[ "andreikeis@users.noreply.github.com" ]
andreikeis@users.noreply.github.com
b35f33b1c5fa59c7037eb5ee5244aac3c84b8d05
51972de0831c0a5ff6c91c8db0e2432709faa187
/trial.py
41eb157d0f5c515ea98d9c875b6fca952309f45b
[]
no_license
zdharmawan/anomaly_detection
9372e13c3f4a3e2922dd3037c68fc059b7cc9d6f
eadec8c851f526a9a7cab09bac03898b6dfe2b8b
refs/heads/master
2016-08-04T10:08:30.512526
2015-04-29T14:55:14
2015-04-29T14:55:14
34,800,118
2
1
null
null
null
null
UTF-8
Python
false
false
283
py
__author__ = '310176470' import lsanomaly import numpy as np X_train = np.array([[1.1],[1.3],[1.2],[1.05]]) X_test = np.array([[1.15],[3.6],[1.25]]) anomalymodel = lsanomaly.LSAnomaly() anomalymodel.fit(X_train) anomalymodel.predict(X_test) # anomalymodel.predict_proba(X_test)
[ "zulfikar.dharmawan@philips.com" ]
zulfikar.dharmawan@philips.com
f26e6ea16424c76d1d01b02bc4bee4a3dcb98b47
de7c455d780be5e1d637b1728522e854fbacc99c
/hello.py
467d319cf903ce886d03e11f2349b28b0c4c009e
[]
no_license
aniruddhapalekar/first
68653c1f270de4d26ee8c28e542c3730e80010d3
76da9fe8fb3879ff8855c46f1cf4114ae26d2150
refs/heads/master
2022-11-30T20:16:14.353538
2020-08-07T06:33:03
2020-08-07T06:33:03
285,497,064
0
0
null
2020-08-07T06:33:05
2020-08-06T06:55:48
Python
UTF-8
Python
false
false
47
py
print("hiii") print("hello") print("welcome")
[ "noreply@github.com" ]
aniruddhapalekar.noreply@github.com
79a1e60bd6d16d0e7aa3b8efff8ff7f5719e4c3b
082e6342ca6872420b2960c64cba484f3852351b
/corretora/urls.py
46276954d8b46ce8c61ed5da47ac4880c59dc02c
[ "MIT" ]
permissive
reihtw/stocktracker
54c7c1dc066d73b9b57836d1ac3ea259d8715632
fd83862ce47dae1615c445a1bed1a39d3a769e80
refs/heads/master
2022-11-23T12:25:56.876883
2020-07-25T19:17:55
2020-07-25T19:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from django.urls import path from . import views urlpatterns = [ path('', views.visualizar_corretoras, name='visualizar_corretoras'), path('cadastrar', views.cadastrar_corretora, name='cadastrar_corretora'), path('editar/<str:nome>', views.editar_corretora, name='editar_corretora'), path('atualizar', ...
[ "rodrigolins@protonmail.com" ]
rodrigolins@protonmail.com
973b06f88d37b9f6d8a80cad2fb7b2ef85aa6588
ed89014c39c98e63d92e6d23b955d4f25d06fe9a
/plugin/templates.py
79dd10199a751fb781234745910ae513ec248485
[ "MIT" ]
permissive
Zeroto521/Flow.Launcher.Plugin.HowBigYourNumber
8cff8f84d694e5eee535bc5a36ab7f7055967fcb
b7717e7d7dd52a0daef434c05ba3a81d763a17b1
refs/heads/master
2023-04-15T09:50:12.467069
2021-04-08T13:17:56
2021-04-08T13:17:56
341,119,335
0
0
MIT
2021-04-06T12:14:35
2021-02-22T07:48:38
Python
UTF-8
Python
false
false
249
py
# -*- coding: utf-8 -*- from plugin.settings import ICON_PATH RESULT_TEMPLATE = { 'Title': '', 'SubTitle': '', 'IcoPath': ICON_PATH, } ACTION_TEMPLATE = { 'JsonRPCAction': { 'method': '', 'parameters': '', } }
[ "Zeroto521@gmail.com" ]
Zeroto521@gmail.com
7558ef959f61600b932cafd5903c0c94216c4bc3
daf1df62c33739637c6c120e499d3e87340b243a
/TSClusteringLayer.py
4e8e18ebbbd728fdd665364129dac2e6decbac5c
[]
no_license
joseph8923/DeepTemporalClustering
914ef38231ff15b0df2feac188152e6263f696a3
79eb2c1dcc4ac5d9bc909ed1e449815a27ff2e4d
refs/heads/master
2021-02-14T02:58:56.084772
2019-07-29T15:05:54
2019-07-29T15:05:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,718
py
""" Implementation of the Deep Temporal Clustering model Time Series Clustering layer @author Florent Forest (FlorentF9) """ from keras.engine.topology import Layer, InputSpec import keras.backend as K class TSClusteringLayer(Layer): """ Clustering layer converts input sample (feature) to soft label, i.e. a...
[ "florent.forest9@gmail.com" ]
florent.forest9@gmail.com
8349477f2dc38370be2a6048b4ca40ce366e75e2
f3a4b4c7c39d2ed2959b410367e8abc66493772e
/laplacianFlux/r2_1_0/__init__.py
c64bf8efa3593dcacfa71e4abd9edc4f9e87754b
[]
no_license
asimurzin/laplacianFlux
6800bc5aba29968f7784ce91a5a1503318fad246
83977d5ce967b87ed0203a143d19d88c9a5d7ed7
refs/heads/master
2020-03-29T20:22:44.143734
2012-07-01T19:36:36
2012-07-01T19:36:36
1,613,806
0
0
null
null
null
null
UTF-8
Python
false
false
5,376
py
#!/usr/bin/env python #-------------------------------------------------------------------------------------- ## pythonFlu - Python wrapping for OpenFOAM C++ API ## Copyright (C) 2010- Alexey Petrov ## Copyright (C) 2009-2010 Pebble Bed Modular Reactor (Pty) Limited (PBMR) ## ## This program is free software: you can...
[ "asimurzin@gmail.com" ]
asimurzin@gmail.com
05039b0c5332b0128f70966e5b307b310bc1377b
c36b9b30dc31b0008580f18dd6ec9fa76d92d8eb
/Data_Science_Python/Applied_Text_Mining_in_Python/Assignment4.py
945f8a082cb6422f303bcf37b4214f43e82d013d
[ "MIT" ]
permissive
SebastVR/test
027f81320c309eb6e30c5d7098d95cacf9d755b9
b86bd5457347a200d0920213c6a2eccbc3915696
refs/heads/master
2022-11-08T23:18:57.770282
2020-06-29T22:31:17
2020-06-29T22:31:17
264,340,257
1
0
null
null
null
null
UTF-8
Python
false
false
14,635
py
'''Assignment 4 - Document Similarity & Topic Modelling Part 1 - Document Similarity For the first part of this assignment, you will complete the functions doc_to_synsets and similarity_score which will be used by document_path_similarity to find the path similarity between two documents. The following functions are ...
[ "sebastianvr92@hotmail.com" ]
sebastianvr92@hotmail.com
178ebfab22130821e12bb8c9157a0436f54acf48
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/109/usersdata/172/63370/submittedfiles/av2_p3_civil.py
4c68528d682769ee8dc9310c3e74e069e24ca4aa
[]
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
498
py
# -*- coding: utf-8 -*- import numpy as np def somal(l,i): soma=0 for j in range(0,l.shape[1],1): soma=soma+l[i,j] return (soma) def somac(l,j): soma=0 for i in range(0,l.shape[0],1): soma=soma+l[i,j] return (soma) n=int(input('Tamanho: ')) g=int(input('Pl: ')) h=int(input('Pc: '...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4c3c4653d161070cd11d9e357edc491a3cccf5d3
6149d8235e8017d7ed80ed4c6efad2d6dc872fa6
/core/teacher.py
0a352da3aa9c8ad897ddbeeb1b40fdfa87c0d93e
[]
no_license
MrChenxb/CourseSystems
5d76a2e1439d2a16fdc63565445261df3395fa03
3f94032ea32b1aa1aa3d1781fdc437c51026088c
refs/heads/master
2022-12-26T14:24:36.179881
2020-09-26T14:55:34
2020-09-26T14:55:34
200,806,010
0
0
null
null
null
null
UTF-8
Python
false
false
6,283
py
# coding:utf-8 """ 教师视图 """ from lib import common from interface import common_interface from interface import teacher_interface teacher_info = { 'user': None } # 1.教师登录 def login(): while True: username = input('请输入用户名==>').strip() password = input('请输入密码==>').strip() ...
[ "noreply@github.com" ]
MrChenxb.noreply@github.com
5d745f9fd64c2b44a2dd7a0b7c45e43d247a4cc2
1c0509a06cec726735048f00f63d2529f5e43ce6
/code_supermarkets_france/analysis/analysis_qlmc_prices_2007_2012/stats_des/price_frequencies_by_chain.py
b951142551efcfccf3721c6c7e0bf28f2e1fe55d
[]
no_license
etiennecha/master_code
e99c62e93aa052a66d4cdd3f3e3aa25a3aec4880
48821f6c854a1c6aa05cf81b653b3b757212b6f8
refs/heads/master
2021-01-23T14:35:45.904595
2018-03-11T18:57:38
2018-03-11T18:57:38
16,312,906
2
0
null
null
null
null
UTF-8
Python
false
false
9,391
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import add_to_path from add_to_path import path_data from functions_generic_qlmc import * import numpy as np import pandas as pd import statsmodels.api as sm import statsmodels.formula.api as smf pd.set_option('float_format', '{:,.2f...
[ "echamayou@gmail.com" ]
echamayou@gmail.com
5831ab56e5392aefd10441aafc00ae1ee126998f
0dff864a5ba850fbabde5dba0e84a13babf5681f
/202004/20200407_3.py
e1d7b3a9d6172cb16a68c87eb557b2f34ac748df
[]
no_license
lvwencheng95/PythonProject
3c1d12bd95d55c2c7b9b8d6f6c0f60e5183df3e4
c5ce9a8efb4c8e612c87618fd62a714e73b0997d
refs/heads/master
2020-06-18T08:01:00.471654
2020-04-07T08:22:56
2020-04-07T08:22:56
196,224,528
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
# -*- coding: utf-8 -*- # @Time : 2020/4/7 15:26 # @Author : 52595 # @File : 20200407_3.py # @Python Version : 3.7.4 # @Software: PyCharm from matplotlib import pyplot import matplotlib.pyplot as plt # names = range(8, 21) # names = [str(x) for x in list(names)] names = ['201907', '201908', '201909', '201910', '2019...
[ "525955465@qq.com" ]
525955465@qq.com
2ac2f93f67aa2523a54140f3d629ab0f15276ab4
7df8f84828213b7bdada74f512a123cd08bf4a1c
/gui_basic/12_frame.py
64a28146781c689f3031f5b69a6e7005e01105c9
[]
no_license
Every-J/Python
87fd4eb7aeb0389edbbfa4012c64d248d0aff11c
cfdc591c67764dd128797f9d7ba644b1ea53e1cb
refs/heads/main
2023-08-25T03:50:25.501524
2021-10-27T01:20:07
2021-10-27T01:20:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from tkinter import * root = Tk() root.title("Nado GUI") root.geometry("640x480") # 가로 * 세로 Label(root, text="메뉴를 선택해 주세요").pack(side="top") Button(root, text="주문하기").pack(side="bottom") # 메뉴 프레임 frame_burger = Frame(root, relief="solid", bd=1) frame_burger.pack(side="left", fill="both", expand=True) ...
[ "noreply@github.com" ]
Every-J.noreply@github.com
6c6be5bb613ab1ba748008cf64ecb99a72b2ea86
814fd0bea5bc063a4e34ebdd0a5597c9ff67532b
/build/android/pylib/utils/mock_calls_test.py
1b474afd1ea1707910b1716170ec0f65c1c87e17
[ "BSD-3-Clause" ]
permissive
rzr/chromium-crosswalk
1b22208ff556d69c009ad292bc17dca3fe15c493
d391344809adf7b4f39764ac0e15c378169b805f
refs/heads/master
2021-01-21T09:11:07.316526
2015-02-16T11:52:21
2015-02-16T11:52:21
38,887,985
0
0
NOASSERTION
2019-08-07T21:59:20
2015-07-10T15:35:50
C++
UTF-8
Python
false
false
5,078
py
#!/usr/bin/env python # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Unit tests for the contents of mock_calls.py. """ import logging import os import sys import unittest from pylib import constants...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
6897c6c368b85b0c4c7f74aea9a8d653a4b44983
1895135986a371820c53f75057be6e807a1eb4a4
/com/qa/selenium/Screen.py
53b1303dff26d3ce89cda1abb25af7704e07191d
[]
no_license
zakiya113/Python_Selenium1
f2b81892ca833daf1ce42125fd7ce7cc457a244a
3d19ccab63101dba00b405de02b8e1d682894dbe
refs/heads/master
2020-04-30T06:34:36.535767
2019-03-20T04:55:39
2019-03-20T04:55:39
176,656,049
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from selenium import webdriver driver = webdriver.Chrome("C:\\Users\\minds9\\PycharmProjects\\Python_Selenium\\drivers\\chromedriver.exe") driver.set_page_load_timeout(30) driver.get("http://www.facebook.com") driver.maximize_window() driver.implicitly_wait(20) driver.get_screenshot_as_file(".\\Screenshots\Facebook.p...
[ "zakiya113dodo@gmail.com" ]
zakiya113dodo@gmail.com
2adedf278e328a544301becf3a184d5bb2ccbfa4
8d0651b62a23e110d2e6f27706e965bfe6526629
/email_service/apps/api/urls.py
a88c97b3812bb84b94d273341043a8fa0e5ed1dc
[]
no_license
pavitrabhalla/GoMail
4ae5c850c824910b7fbe99f61e8a2683d90f5fa3
847d1d1859d94c727ecc45e65e71f459a11facec
refs/heads/master
2020-05-16T21:50:13.911849
2014-12-03T20:25:25
2014-12-03T20:25:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
from django.conf.urls import patterns, url, include from tastypie.api import Api from api import resources v1_api = Api(api_name='v1') v1_api.register(resources.EmailResource()) urlpatterns = patterns( '', url(r'', include(v1_api.urls)), )
[ "pavitrabhalla@gmail.com" ]
pavitrabhalla@gmail.com
65cfea757b79f26ab21b2421104ae09aafaad1b2
cc552092965db97a3e8167983e835394c5605290
/models/user.py
d6b15e6b08776aae4713f6f2a6cf898f246cb9c6
[]
no_license
dinkdinkdink/bbs_server
709ec2609a1df6abd39b45bf627cc88557be0895
0e4454a27296e9d4bfbe658c4c0560dfa3b65ab7
refs/heads/master
2020-07-21T08:54:31.965376
2020-03-06T02:17:57
2020-03-06T02:17:57
206,784,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
import hashlib from sqlalchemy import Column, String, Text import config import secret from models.base_model import SQLMixin, db class User(SQLMixin, db.Model): __tablename__ = 'User' """ User 是一个保存用户数据的 model 现在只有两个属性 username 和 password """ username = Column(String(50), nullable=False) ...
[ "361046367@qq.com" ]
361046367@qq.com
4a5f20033b2ce926b8c120facc7b1de246135d9c
c47e274f6af4d08bff65e360fb8a11b163dc34b2
/common/global_constants.py
7e184ce065f2d0ce801d87ae0ab50fb3d1e9079c
[ "BSD-3-Clause" ]
permissive
nozberkaryaindonesia/ReadableWebProxy
6b66994c574dc0a70767397403c04f97bf2d07f0
82d14d8dfb23ef135a16f88274c14c7acc1162a5
refs/heads/master
2022-05-21T20:06:03.707617
2017-09-24T09:54:23
2017-09-24T09:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
GLOBAL_BAD_URLS = [ '//mail.google.com', '/comments/feed/', '/embed?', '/osd.xml', '/page/page/', '/wp-json/', '/wp-login.php', '/xmlrpc.php', '?openidserver=1', 'a.wikia-beacon.com', 'accounts.google.com', 'add.my.yahoo.com', 'addtoany.com', 'b.scorecardresearch.com', 'del...
[ "something@fake-url.com" ]
something@fake-url.com
c704dc8239367ec34f87e6ed7a1b9b4cab9f82cf
99c32a9df1e0e8c980b5235395eb957aaa898270
/insert-sort.py
abaa1e2393793c2acd834e64bfffec992aa297b7
[]
no_license
syswipe/IntroToAlgorithms
3df7b5ba032df461ac01a76956b9c723f7f6dec7
f1465d33d93d82812093218bb28b6d2b5e2df5bc
refs/heads/master
2021-01-10T03:15:20.548139
2016-03-05T12:06:31
2016-03-05T12:06:31
53,199,518
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
import random; import time; A = [random.randint(0,1000) for r in range(5000)] start = time.time() for j in range(1,len(A)): key = A[j] i = j-1 while i >= 0 and A[i] > key: A[i+1] = A[i] i = i-1 A[i+1] = key print(time.time()-start)
[ "Andriy.Tovstik@sibis.com.ua" ]
Andriy.Tovstik@sibis.com.ua
6e0518b445b524e1d5be88b9cea4ee3fc99ba89c
21a351e7c8f63cbe5e4745474973673c3b6fd7de
/vast/environments/battle_rendering.py
9dc4a86fdaedc1985bcba880144fad50ed0c92a0
[ "MIT" ]
permissive
yuanleirl/scalable-marl
f4b0dabb8dd669a3bf5bcd3d3e87878a369b3c0f
4fc89472807c9f96e61a152532fd8f5c0d566a55
refs/heads/main
2023-08-31T05:00:34.642822
2021-10-09T23:51:26
2021-10-09T23:51:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
import pygame WHITE = (255, 255, 255) RED = (255, 0, 0) BLUE = (0, 0, 255) class BattleViewer: def __init__(self, width, height, cell_size=20, fps=30): pygame.init() self.cell_size = cell_size self.width = cell_size*height self.height = cell_size*width self.clock = pygame.t...
[ "thomy.phan@ifi.lmu.de" ]
thomy.phan@ifi.lmu.de
2f2795d2f4ef0b35986e39c56b616b06e48b7a83
ca26f30fd3943571667fe867303257023ae792e5
/backend/config/settings/prod.py
18b38b4c270d57c76a384b7ffd4039885cc2fb5f
[ "MIT" ]
permissive
yegorLitvinov/costcontrol
d6ad2cadf662980feacbb50a9e532b8c73a9198a
f3c9316ea0c9e7f2509087dabdbe7f1cf5fe2d80
refs/heads/master
2021-06-25T07:05:41.866976
2018-11-11T16:36:14
2018-11-11T16:36:14
107,854,768
0
0
MIT
2020-02-11T21:47:00
2017-10-22T10:01:53
Python
UTF-8
Python
false
false
175
py
from .base import * # noqa DEBUG = False ALLOWED_HOSTS = [".tvgun.ga"] REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"] = ( # noqa "rest_framework.renderers.JSONRenderer", )
[ "yegor.litvinov@yandex.ru" ]
yegor.litvinov@yandex.ru
9fb4ff9e6f72ce9f9852a26b33c89042ab274ead
dde44d2988efb4421a0c211a062e9509b2919865
/src/reduce_number_stats.py
d0e1b345134bf376c087d029da0fa7e1bda59cfb
[]
no_license
tylerjwoods/nfl_game_predictor
2c99264c5d2e39c88f74891f4b728661503b9a28
a0c8e34e03ca7ec6199429bb8b7a9f634127b2f5
refs/heads/master
2022-07-29T11:51:05.835676
2020-05-18T22:43:42
2020-05-18T22:43:42
263,088,458
2
0
null
null
null
null
UTF-8
Python
false
false
885
py
import pandas as pd def clean_team_stats(df): ''' inputs ------ df: pandas dataframe returns ------ df: pandas dataframe with cleaned dataset. drops multiple columns from original df ''' # For first analysis, let's drop most of the columns to make our program run faster column...
[ "tyjordan.woods@gmail.com" ]
tyjordan.woods@gmail.com
293a3fd9e19cd4c6af0c68b93b5de2ea6cf5b304
88323de7876b0ae43762213c7e36c21f44830ac9
/LCS.py
5353608ba2cfc53cdb6397910fba17516e282932
[]
no_license
subhashissuara/DPAlgo
c4679c1dca8b4a523f6c8a009433da9d17e72f4f
9807f180d516d79d4c4db387ac8666a484aa5a2f
refs/heads/master
2023-03-02T17:09:23.561000
2021-02-10T22:20:13
2021-02-10T22:20:13
337,867,802
0
0
null
null
null
null
UTF-8
Python
false
false
4,562
py
# ----------------------------------------------------------------------------------------------- # Author: Subhashis Suara # Algorithm: Longest Common Subsequence # Definations: # X - First Sequence # Y - Second Sequence # C[i][j] - Length of LCS between X[i - 1] and Y[j - 1] (i & j start from 1 to m, n inclusiv...
[ "subhashis.suara999@gmail.com" ]
subhashis.suara999@gmail.com
fd33d0164c5d4f66bd0a74c18659b7ff64f0543f
67494b11d3acadcd90dc5d1364fd399ed3d990a7
/ensemble/functions.py
c592408a3c445b717aab1509d8af15e3008df2c3
[]
no_license
filonik/ensemble
83bac3923fe39bd5b7f11f4f31bc07c4567f462f
4ce42a7bccff0c124800f6a9923503c7bef75f39
refs/heads/master
2021-08-16T21:24:40.366517
2017-11-20T10:25:46
2017-11-20T10:25:46
111,370,217
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
import functools as ft import itertools as it def identity(x): return x def constant(x): def _constant(*args, **kwargs): return x return _constant def compose(*args): def _compose(f, g): def __compose(t): return f(g(t)) return __compose return ft.reduce(_compo...
[ "filonik@users.noreply.github.com" ]
filonik@users.noreply.github.com
a43033cd1083b62dfa20f3914123e00835219987
c5a004f26bf249f888be3849114dd35dbd24cb24
/python/evalrescallers/tests/ten_k_validation_data_test.py
c9f2b7b50349d5124180fb1dad48982f96e4202e
[ "MIT" ]
permissive
wangdi2014/tb-amr-benchmarking
f7cf331608cfe7b9cc8995906d991573323dc87a
276f4f7f30639dacc62b3e8e395b2d2ce8675089
refs/heads/master
2022-03-10T00:41:07.364006
2019-11-08T09:37:23
2019-11-08T09:37:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
import os import unittest from evalrescallers import ten_k_validation_data modules_dir = os.path.dirname(os.path.abspath(ten_k_validation_data.__file__)) data_dir = os.path.join(modules_dir, 'tests', 'data', 'ten_k_validation_data') class TestTenKValidationData(unittest.TestCase): def test_load_sample_to_res_f...
[ "martin.g.hunt@gmail.com" ]
martin.g.hunt@gmail.com
af54114818f226f1e71a187fff93ad14de3ecaa2
a1335fdfd7f967ca9df8e2c72780ff617addb9f8
/python_thread.py
c453df499172ac7b3019525422c7c0a7f0064a84
[]
no_license
umtkrl1993/BasicPythonCodes
91618447997d0001ec7a664b6a81fb2e36e0f3b9
f9eca7d748af599de8e6da89918def298f9961bf
refs/heads/master
2020-07-17T11:53:21.666213
2018-11-06T14:35:25
2018-11-06T14:35:25
94,318,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
#!/usr/bin/python import threading import socket import json name_ip_map = {"berke":"192.168.1.108", "umit":"192.168.1.105" } class ClientHandlerThread( threading.Thread ): def __init__( self, conn, addr ): threading.Thread.__init__( self ) self.conn = conn self.addr = addr self.dummy_logger = None de...
[ "noreply@github.com" ]
umtkrl1993.noreply@github.com
de2fbae89697eeae55b1ded2dcb4300e460ce8f6
c657052e2dab3385d5aba26cf9f0ed1f32882aa8
/other/stocks_monitor.py
baee685730f2633078d7f83902f7fbea10f03cb5
[ "MIT" ]
permissive
mmmonk/crap
cb8197cbb5a39f9f532338aee4621a4b4f96bde9
96ba81723f043503e7ed2f96ea727b524d22b83f
refs/heads/master
2021-06-01T13:26:28.405931
2020-06-24T10:05:22
2020-06-24T10:05:22
2,802,903
16
14
null
2015-10-11T06:28:11
2011-11-18T14:02:22
Python
UTF-8
Python
false
false
648
py
#!/usr/bin/env python import urllib import json import sys import os import time if len(sys.argv) > 1: symbol = str(sys.argv[1]) path = "%s/.cache/stock_%s.txt" % (os.getenv('HOME'), symbol) out = "" if os.path.exists(path) and time.time() - os.stat(path).st_mtime < 600: out = open(path).read() else: ...
[ "m.lukaszuk@gmail.com" ]
m.lukaszuk@gmail.com
ed4429de5fa5b3ff588985d9a1e290aecd09db58
94e5a9e157d3520374d95c43fe6fec97f1fc3c9b
/Codeforces/645-2/D.py
1cdb17b8cded5242da9e41bde63c9668ab30c4c2
[ "MIT" ]
permissive
dipta007/Competitive-Programming
0127c550ad523884a84eb3ea333d08de8b4ba528
998d47f08984703c5b415b98365ddbc84ad289c4
refs/heads/master
2021-01-21T14:06:40.082553
2020-07-06T17:40:46
2020-07-06T17:40:46
54,851,014
8
4
null
2020-05-02T13:14:41
2016-03-27T22:30:02
C++
UTF-8
Python
false
false
3,459
py
""" Python 3 compatibility tools. """ from __future__ import division, print_function import itertools import sys import os from io import BytesIO, IOBase if sys.version_info[0] < 3: input = raw_input range = xrange filter = itertools.ifilter map = itertools.imap zip = itertools.izip def is_it_local(): ...
[ "iamdipta@gmail.com" ]
iamdipta@gmail.com
0129e5f8bb4ef9510bef37bfe7c32a58b45a1089
6ec8e4271968cae715babe05029931d2c11df754
/run.py
3381b4ca954744143adb1172231fafc792c96a42
[ "MIT" ]
permissive
lllhhhqqq/SPIRAL-tensorflow
040efe8af0fd3bc4d5f5ce2ed5474e6d732763f5
05ddfdc20c73a61cde46594bd6b7b7a2e255a44b
refs/heads/master
2020-03-08T08:57:45.938448
2018-04-03T15:32:19
2018-04-03T15:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,371
py
# -*- coding: future_fstrings -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import tensorflow as tf from six.moves import shlex_quote import utils as ut def new_cmd(session, name, cmd, load_path, shell): if isinstance(cmd, (...
[ "carpedm20@gmail.com" ]
carpedm20@gmail.com
03e17f9b968c0638c48a848cb9483eabc9e07906
61311217cf5841d02ca8056d8146b51ab9aab8bf
/AStar.py
6dd4e07e48a5e0a6e96f0a72a289b6353b091246
[]
no_license
danksalot/AStarPython
691002b5ae67b04e4b0c3ee438b611819dabf708
edddba6d48f043a111938b3a0cbded51d0f52bb1
refs/heads/master
2021-01-11T16:39:54.077051
2017-01-30T22:23:49
2017-01-30T22:23:49
80,133,042
0
0
null
null
null
null
UTF-8
Python
false
false
3,931
py
import random import sys import os import math class Node: def __init__(self, x, y): self.x = x self.y = y x = 0 y = 0 fScore = 0 gScore = sys.maxint passable = True fromNode = None def findNeighbors(self): neighbors = [] if self.y > 0 and grid[self.x][self.y - 1].passable == True: neighbors.append(...
[ "noreply@github.com" ]
danksalot.noreply@github.com
30b8450ee869f8c36aa9c2ef89e7c2cd52df5a37
cb8fc28d8ffda6700299075c2952ab0c98579a9b
/cogs/meow_chat.py
6cf8b476de60912cfb45a6e32d126cc78a29f3df
[]
no_license
Crafter-san/Apple.Py
855f0f36c798cee74d6aea703e4fd3f0b81d465f
e618fece877197cf3d91ab9eb68705dfcd58e962
refs/heads/master
2023-04-07T10:12:48.312298
2021-03-12T15:36:05
2021-03-12T15:36:05
343,938,993
0
0
null
null
null
null
UTF-8
Python
false
false
2,807
py
import re import discord from discord.ext import commands import voxelbotutils as utils class MeowChat(utils.Cog): VALID_KEYWORDS = ( "mew", "meow", "nya", "uwu", "owo", "x3", ":3", ";3", "rawr", "purr", "murr", "nuz...
[ "Kae@voxelfox.co.uk" ]
Kae@voxelfox.co.uk
eda5336026e3192e31dafdb64dfb2cadae53cd8c
b8b70fec347cb90581999dcbb1c4e0a6aeb6f4b6
/Lotto/game_of_lottery_updated.py
7bca60c0edc71deeb2f4f43bbfe15dd417ddb5b3
[]
no_license
quirkyabhi/WIP
23e3e5901a1b6c35ee80327ae291373e460de717
a80dc4620b6ac20f17017bf9c8c9068f8bcb26af
refs/heads/master
2021-05-19T04:48:19.742125
2020-03-31T13:31:56
2020-03-31T13:31:56
251,535,097
1
0
null
2020-03-31T07:50:06
2020-03-31T07:50:06
null
UTF-8
Python
false
false
2,537
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import random # import import_ipynb import lottery_tickets_updated as lottery_tickets def main(): # all the tickets created in lottery_ticket tickets=lottery_tickets.main() # names of each tickets Ticket_names = ['Ticket1', 'Ticket2', 'Ticket3', 'Tic...
[ "noreply@github.com" ]
quirkyabhi.noreply@github.com
efa421e1a76afe0964e948df99b54226c8ffe9f6
3d63a9af2f1ea9104fb6ee6dcd9dea47534e8d70
/app/__init__.py
5ef198607d7297faf146605489474e14dc1e3343
[]
no_license
Eddychase/PitPitch
eb1491a50aefff40dda53780d461a953c2729561
8989d953a70f33cab9392a0fbbbaff90671f56d2
refs/heads/master
2023-01-31T15:12:51.779157
2020-12-07T18:11:21
2020-12-07T18:11:21
319,123,743
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
from flask import Flask from config import config_options from flask_mail import Mail from flask_login import LoginManager from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from flask_uploads import IMAGES, UploadSet,configure_uploads db = SQLAlchemy() mail = Mail() bootstap = Bo...
[ "eddykanyz.ek@gmail.com" ]
eddykanyz.ek@gmail.com
1694e6abd73228e1e0c3de0f0ef44927d5728da8
328cc491d622267b2fddb613637b8a5f47fcb2f6
/niku/module/trading/models/trading.py
a0083355776b771c429b007158ce8b3215b6a164
[]
no_license
webclinic017/histdata
7ca3c3d891d80c80f23662266cfebe8d7f0a942b
40e4d4a54865563d53b539a47fc5ce940c3cc9e1
refs/heads/master
2021-12-04T22:31:13.014440
2015-05-19T09:48:44
2015-05-19T09:48:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,731
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals import random class TradingManager(object): POSITION_LIMIT = 10 def __init__(self): from apps.parse.views import read_csv self.csv_data = read_csv() self.current_rate = None # 現在の最新...
[ "gumikun@000196-M.local" ]
gumikun@000196-M.local
1d3cd26709b6bfcfdb5df341574e0135c7dc84bc
152640a5ee6811922de6a362f72c8a4284a3ae40
/CipherTools/Cred/__main__.py
5ec0c29ac63f1c03ba15c19356c0ea959ffa823f
[ "MIT" ]
permissive
samsepiol-e/cipher
50874f7fc3687f428de9a5e67d20ba7f75e23f81
b2cf05c90cc5105c2aaf4b7291ae1de2f9cd974a
refs/heads/master
2023-02-28T10:48:51.706857
2021-01-28T06:20:53
2021-01-28T06:20:53
329,190,365
0
0
null
2021-01-19T09:10:10
2021-01-13T04:10:02
Python
UTF-8
Python
false
false
15,075
py
from CipherLib.encryption import * from CipherLib.passgen import * import configparser import tkinter as tk from tkinter import ttk from ttkthemes import ThemedTk, ThemedStyle import tkinter.filedialog as fd import os import pyperclip import re import io class CredGui(): def __init__(self): self.master = ...
[ "0.alicegawa@gmail.com" ]
0.alicegawa@gmail.com
edc72ccfeef18d398c5ad5c13d2f70e6945f8af5
a287edfd5e2b7789f75e6f0c32a9725978d9b12a
/examples/03_smoothingonsurface_rhino/03b_smoothingonsurface_rhino.py
9567907691183a01658ba2c567eb3e6a0ffee04e
[]
no_license
whiskyching/WS_digitalfutures
7a40825b4ea06b6a4aea8c216cb08467befb78ce
9bf1af1955cf9847c7c9ef2226a58fba2601ce9d
refs/heads/master
2022-02-26T16:59:04.969565
2019-10-03T10:05:04
2019-10-03T10:05:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from compas.datastructures import Mesh from compas.geometry import smooth_area import compas_rhino from compas_rhino.helpers import mesh_from_guid from compas_rhino.conduits import LinesConduit from compas_r...
[ "brg@arch.ethz.ch" ]
brg@arch.ethz.ch
d4703473ea1c490b4bf7d4e67561b41c1ba8b7f6
fabbb106c5a2855dc2466550fa41e4ef0262f647
/tests/test_arraystore.py
c38f8722d5d7599f542be1cc7f5e902de7a6aa87
[ "Apache-2.0" ]
permissive
RUrlus/carma
8094f9f468c338369546015c211dd91d44b7e85e
1a984a44e849fa632315d196dd71f8f29e670534
refs/heads/stable
2023-09-01T20:50:35.134191
2023-08-22T07:47:40
2023-08-22T07:47:40
235,867,993
80
31
Apache-2.0
2023-08-22T06:55:36
2020-01-23T19:17:19
C++
UTF-8
Python
false
false
5,160
py
"""Tests for ArrayStore class.""" import pytest import numpy as np import test_carma as carma def test_ArrayStore_get_view(): """Tests for ArrayStore class.get_view().""" sample = np.asarray(np.random.uniform(-1, 1, size=100), order='F') arraystore = carma.dArrayStore(sample, True) arr = arraystore.ge...
[ "RUrlus@users.noreply.github.com" ]
RUrlus@users.noreply.github.com
6b4a2259a9521f7bac941dbd7c5d804a80f437c4
2bf7fdade3ac15135aaa6516fd409a3ddb95a573
/seqparse/files.py
b4bd2f79418a40e05e6b8c7245fe6fe3edd17a62
[ "MIT" ]
permissive
hoafaloaf/seqparse
d90a8aed98bd2f4cb32e5ffd4f757a8f03363bc4
78551b65e0d04b2abe4fce4e7ce78d308c3654e8
refs/heads/master
2022-10-20T08:25:58.523104
2022-09-14T04:20:55
2022-09-14T04:20:55
84,528,131
1
1
MIT
2022-09-14T04:21:55
2017-03-10T06:41:24
Python
UTF-8
Python
false
false
3,956
py
"""Singleton file-related data structures utilized by the Seqparse module.""" from functools import total_ordering import os __all__ = ("File",) ############################################################################### # Class: File @total_ordering class File: """ Simple representation of files on di...
[ "hoafaloaf@gmail.com" ]
hoafaloaf@gmail.com
3d2048c9ebf6fa1a734b247850fc97400c7c5e54
20a6e0291ed4d235879eaafc3daa6b109dc867e0
/214A_SystemOfEquations.py
6687740bd4512108274fc886bf31e53fd69ed53a
[]
no_license
Nisarg6892/CodeForces-Codes
fab41a9e548e9531e2b275117189ec4e5b8db837
a08efc8532575508f626359a0a60d3168f4b088e
refs/heads/master
2021-01-10T15:06:41.501564
2016-01-07T07:51:49
2016-01-07T07:51:49
49,189,538
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
import math string_int = map(int,raw_input().split()) n = string_int[0] m = string_int[1] c = max(n,m) SquareRoot = int(math.sqrt(c)) satisfy = 0 for a in range(0, SquareRoot+1): for b in range(0, SquareRoot+1): if a**2 + b == n and a + b**2 == m : # print a,b satisfy += 1 print satisfy
[ "shah.nisarg6892@gmail.com" ]
shah.nisarg6892@gmail.com
ff1c4d029dd283c6abac27def1e344d19da67be6
c3a814de299cb7fe7e0f194ea0b434285e4d8c89
/untitled0.py
dd7e0ab644983a0ea1c57095ac69b8adac6a81ff
[]
no_license
Gailpig/computationalphysics_N2013301020123
2559e975f29b42b37a2597d4201ffd1ea9302015
db87cb53180a3572cedcf0645cd70b069fd6d4cd
refs/heads/master
2021-01-21T04:32:38.350525
2016-06-21T13:19:52
2016-06-21T13:19:52
52,862,134
4
0
null
null
null
null
UTF-8
Python
false
false
643
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 13 20:22:00 2016 @author: dell1 """ print' ## ### ### ######' print' ## ## ## ## ## ##' print' ## ## ## ## ## ##' print' ## #...
[ "noreply@github.com" ]
Gailpig.noreply@github.com