blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
6e766d1791c25108dbb653d7258644de85a8c46a
40b3028706b79b2c12603ec3d8c3731186ff054c
/template/project/views/__init__.py
8ab71c6bb2795bf48c9ecf78989f3384a105c55c
[]
no_license
avara1986/python-ms
565c3ddac46eaf8be2a7e7094b73122aebd5911b
788943686c69ead7029253ff20d74b64fa122628
refs/heads/master
2021-09-10T10:11:05.703836
2018-03-24T14:07:42
2018-03-24T14:07:42
121,014,766
1
0
null
null
null
null
UTF-8
Python
false
false
227
py
# coding=utf-8 from __future__ import unicode_literals, print_function, absolute_import, division from flask import Blueprint views_bp = Blueprint('views', __name__, static_url_path='/static') from project.views import views
[ "a.vara.1986@gmail.com" ]
a.vara.1986@gmail.com
133dd666a8084cf7b442838d7798f039cbb32c14
ff66dfb302dfdc5a519787cea8ad0ccfc2264334
/python/ex2_logistic_regression/log_reg_funcs/map_feature.py
e18a6bc7d0f8ee1195718d8e67bf4de005bbca2a
[ "MIT" ]
permissive
ashu-vyas-github/AndrewNg_MachineLearning_Coursera
1c2d50e6a44e8e673203bf06a3f0165cac0a240e
1be5124b07df61f7295dd1c5151b86b061bf50fc
refs/heads/main
2023-07-11T14:30:52.057125
2021-08-17T06:04:30
2021-08-17T06:04:30
388,360,602
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
import numpy def map_feature(X1, X2, num_examples, degree=6): """ Feature mapping function to polynomial features. Maps the features to quadratic features. Returns a new df with more features, comprising of x1, x2, x1^2, x2^2, x1*x2, x1*x2^2, etc... Args: X1, X2: vectors of original fe...
[ "ashutoshavyas@gmail.com" ]
ashutoshavyas@gmail.com
0a65abe66e6a1fdb564042336f4b90993b9c6ce4
4deda1b482534cbd8e9a8f638b8e89651251e62e
/2_Training/src/keras_yolo3/kmeans.py
ff6af5da5aca2c882996ae6045ec7d82841e91cb
[]
no_license
SIlvaMFPedro/train-your-own-yolo
4cd92af5542a81caa6ce607bf6e487fc0aa43ef0
f872f514dbc553ce7732b98c6d0f1b1134fa539e
refs/heads/master
2022-12-30T11:26:59.462514
2020-10-09T13:32:17
2020-10-09T13:32:17
295,769,074
1
0
null
null
null
null
UTF-8
Python
false
false
3,751
py
# ----------------------------- # USAGE # ----------------------------- # python kmeans.py # ----------------------------- # IMPORTS # ----------------------------- # Import the necessary packages import numpy as np # ----------------------------- # YOLO KMEANS # ----------------------------- class YOLO_Kmean...
[ "silva.mfpedro@gmail.com" ]
silva.mfpedro@gmail.com
94d9193a284802436208775ba4c528db0580ef80
5eef5390146a6a1a8502ffbeba5b3bc211060bf2
/0x0F-python-object_relational_mapping/10-model_state_my_get.py
aac6c0c0c3b83628cc89f650ee0f63df3cfdddd8
[]
no_license
sebastiancalleu/holbertonschool-higher_level_programming
581b68fea5c5ea469a8abfddae9890cc8c9387e3
06b7a7f6481d01f37f0fa0a66073881cda76016f
refs/heads/master
2023-04-22T15:22:18.981649
2021-05-13T04:18:16
2021-05-13T04:18:16
319,347,075
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
#!/usr/bin/python3 ''' Select data from states table and return the first row the print the state id of that first element the element to search is given by the user. ''' import sys from model_state import Base, State from sqlalchemy import (create_engine) from sqlalchemy.orm import Session if __name__ == "__main__"...
[ "sebastian.calleu@gmail.com" ]
sebastian.calleu@gmail.com
c267b35781314c7896acf033300f5734509d3201
8205fe05169b8fd478f4f5e6b8d190e0378148b2
/automationFramework/test_end2end.py
2f79fbc24b084f97ee6b524e3d849ce565cc64df
[]
no_license
akashgkrishnan/test_automate
04de6f0f3b3ee3ab92675897451ae53d44a37322
0e89e5759edeb6866be252d2d3c742ded0c81c3e
refs/heads/master
2022-07-09T00:46:22.665077
2020-05-12T10:32:36
2020-05-12T10:32:36
263,295,779
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
from time import sleep from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait import pytest from automationFramework.utilities.BaseClass import BaseClass #@pytest.mark.usefixtures('setup') class TestOne(BaseClass):...
[ "krishnanag1996@gmail.com" ]
krishnanag1996@gmail.com
8e7d2f3abd934396afb8202bf74aac908df7bd2c
e6fac8e0289d9f82369d2eb8e22bc175c6f51b3b
/Interview Practice/sumOfTwo/sumOfTwo.py
5b51c64a9afc26f2a8ec4511ba4c2170686d43a6
[]
no_license
Zahidsqldba07/CodeFights-9
f361c15d24f96afa26de08af273a7f8f507ced4a
6c5d152b1ad35cf178dd74acbc44ceb5fdcdf139
refs/heads/master
2023-03-18T23:52:43.274786
2017-05-12T07:28:08
2017-05-12T07:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
def sumOfTwo(a, b, v): # Convert a and b to sets for O(1) average case in-operations. a = set(a) b = set(b) # For each number in a, is the difference `in` b? for number in a: if v - number in b: return True # There were no pairs that added up to v. return False
[ "hallosputnik@gmail.com" ]
hallosputnik@gmail.com
73e9f458e6dc0153719f1d6fd927b85b27897c0b
854bf3649552aeda06573b7e7fea38e3a14332a1
/thirdapp/wsgi.py
f6a77b8f75dcf0c9a423740289619093f9b83bfe
[]
no_license
mehulchopradev/charles-django-thirdapp
a90d88034c4233f175d3828f81811105f9eaeb56
ea2ea37830393a0fbf437cb517129c13fddf696c
refs/heads/master
2020-04-03T16:48:37.782132
2018-10-30T16:30:07
2018-10-30T16:30:07
155,420,092
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for thirdapp 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "mehul.chopra.dev@gmail.com" ]
mehul.chopra.dev@gmail.com
a7c6bd2c553b9c2bcf8071d69e20e4e1e3f77a55
f1df5173f34465c416904c0e119393cbfd9be32d
/app/tasks.py
dd250e279b00490c803a25392897587b83f1a8d8
[]
no_license
zhangwei1989/microblog
e7765c0aa3f1218292334744f1a22963ecbd4216
7f8e8ac74e8114d687d25d1f0c89e49717ff8efd
refs/heads/master
2022-12-10T14:17:58.795978
2019-04-03T08:59:02
2019-04-03T08:59:02
176,434,070
0
0
null
2022-11-22T03:45:13
2019-03-19T05:50:48
JavaScript
UTF-8
Python
false
false
1,718
py
import sys import time import json from rq import get_current_job from app import create_app, db from app.models import Task, User, Post from flask import render_template from app.email import send_email app = create_app() app.app_context().push() def _set_task_progress(progress): job = get_current_job() if...
[ "zhangwei19890518@gmail.com" ]
zhangwei19890518@gmail.com
54b10beeee3ef88100dbb01782ff9c9e1bb1a0f8
05217f20200f03ff18f522c79377426373f7cf9f
/flaskproject/blueprintproject - 副本/blueprintproject/user/__init__.py
34a3fc3a61d8eed522a78a215f35604749d59be5
[]
no_license
njw-666/1118Django
d381b90f1148f9ae8eb6baa00b4600e01b9512a5
c3cae1f832114e79b73ec11b39130eee2ea1655c
refs/heads/master
2022-11-20T07:52:55.846013
2020-03-23T08:29:07
2020-03-23T08:29:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
## 子应用的初始化文件 from flask import Blueprint from flask_restful import Api user_bl = Blueprint("user",__name__) api=Api(user_bl) # from user.views import * from .models import * from blueprintproject.user.views import * ## 收集路由 api.add_resource(Demo,"/demo/")
[ "str_wjp@126.com" ]
str_wjp@126.com
af5fc97d37e7ae14f03fe6da6e8adbca257be03a
5a61eb222fda029d2b0a8169d6508bf8b3222d57
/opinion_dynamics/opinion_dynamics_on_hete_social_distance_network.py
4c2450705ea23194e50fbbcbb9f34c845d45c062
[]
no_license
Dcomplexity/research
f7b5ed539ce63b16026bddad0d08b3d23c3aa2a8
7e487f765b7eee796464b6a1dc90baa5d3e5d5db
refs/heads/master
2022-04-16T19:02:38.634091
2020-04-13T02:31:28
2020-04-13T02:31:28
199,882,553
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd import seaborn as sns import networkx as nx import random from network_build import * def get_network(mul_dimen, degree, group_size, group_base, group_length, alpha, beta): G = generate_hete_network_connected(mul_dimen, degree, group_size, gro...
[ "cdengcnc@sjtu.edu.cn" ]
cdengcnc@sjtu.edu.cn
df5a6b91b902fa050e18a252084453dd0d8a2d3d
509b8316075f18612f5600993ccefbfe14527a35
/src/_spacefligth/pipeline_registry.py
a674db6c272aee3dfe2557249f4228fec54e26d8
[]
no_license
Princekrampah/SpaceFlightKedro
44a2eb14a5e6356f136fa45dd0c9496a514aa5d7
deab13030e4181fae33ce452a96403f549974750
refs/heads/master
2023-05-05T00:08:53.814882
2021-05-30T14:38:14
2021-05-30T14:38:14
372,237,715
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from typing import Dict from kedro.pipeline import Pipeline from _spacefligth.pipelines import data_processing as dp from _spacefligth.pipelines import data_science as ds def register_pipelines() -> Dict[str, Pipeline]: """Register the project's pipeline. Returns: A mapping from a pipeline name to ...
[ "jsksprince@gmail.com" ]
jsksprince@gmail.com
cc1354efb7277cd1d71af9e0579c730536239931
14856ffe01c711af7a41af0b1abf0378ba4ffde6
/Python/Django/group_project/apps/travel/models.py
34f47a390411072fa349b8cca78f69d1ffdf6d69
[]
no_license
sharonanchel/coding-dojo
9a8db24eec17b0ae0c220592e6864510297371c3
d6c4a7efd0804353b27a49e16255984c4f4b7f2a
refs/heads/master
2021-05-05T18:17:48.101853
2017-06-23T23:53:51
2017-06-23T23:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. class Tourist (models.Model): first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) memberID = models.IntegerField() destination_id = models.ForeignKey('Dest...
[ "jao.colin@gmail.com" ]
jao.colin@gmail.com
f1ee89673ec345caeddc3233b30a649d55c62bf4
d3e252c5c8a507b14aad3fba419c2c4535c49e27
/migrations/versions/afe21b1fbed1_comment.py
0b9201337663f2125c37b02f1562fefd02d97b10
[]
no_license
MutuaFranklin/Watchlist
2076dadc02eaa0599aec89393dc2c9721e1fdc5b
73b033342fb58da9aa7d3911e38beb93e557aa47
refs/heads/main
2023-07-22T13:08:39.947380
2021-08-23T11:45:22
2021-08-23T11:45:22
392,306,227
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
"""Comment Revision ID: afe21b1fbed1 Revises: 24b376f6e5fa Create Date: 2021-08-12 13:29:58.852546 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'afe21b1fbed1' down_revision = '24b376f6e5fa' branch_labels = None depends_on = None def upgrade(): # ### co...
[ "franklin.mutua@student.moringaschool.com" ]
franklin.mutua@student.moringaschool.com
d6c07151daabf0c745ea0b53d3309a2a5408d995
a4681043cb56a9ab45be32a62fa9700b391f087f
/19-Beautiful_Soup/10_of_11_Reading_Text.py
9948d5ba655ac865cc685313ffa24266d7551eda
[]
no_license
MarceloDL-A/Python
b16b221ae4355b6323092d069bf83d1d142b9975
c091446ae0089f03ffbdc47b3a6901f4fa2a25fb
refs/heads/main
2023-01-01T02:29:31.591861
2020-10-27T19:04:11
2020-10-27T19:04:11
301,565,957
0
0
null
2020-10-27T19:04:12
2020-10-05T23:41:30
Python
MacCentralEurope
Python
false
false
2,953
py
""" WEB SCRAPING WITH BEAUTIFUL SOUP Reading Text When we use BeautifulSoup to select HTML elements, we often want to grab the text inside of the element, so that we can analyze it. We can use .get_text() to retrieve the text inside of whatever tag we want to call it on. <h1 class="results">Search Results for: <span c...
[ "marcelo.delmondes.lima@usp.br" ]
marcelo.delmondes.lima@usp.br
8f11c565a577e78d997f30bb8cfbc51293c2337a
d4280eca1a9badb0a4ad2aa22598616eedece373
/PyQt/PyQt5 tutorial/Dialogs/inputdialog.py
be359884367273f401bca2ba1344afedd634941e
[]
no_license
Little-Captain/py
77ec12bb2aaafe9f709a70831266335b03f63663
74ba3c3449e7b234a77500a17433e141e68169f7
refs/heads/master
2021-06-09T11:33:23.205388
2019-11-22T01:17:44
2019-11-22T01:17:44
131,844,918
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
from PyQt5.QtWidgets import (QWidget, QPushButton, QLineEdit, QInputDialog, QApplication) import sys class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.btn = QPushButton('Dialog', self) self.btn.mov...
[ "littlecaptain@foxmail.com" ]
littlecaptain@foxmail.com
b2c37f8ae5e7c59302df4e81734325b8f55263af
430b9e03e36e355bba475df49505011f99fa0819
/keji/lesson03_data_type_list (2)/demo7_tuple.py
4d383d19df25b0628d127fe4cd18ac2cd5616b1a
[]
no_license
gaoyang1224/mysite
b43e5d5e378b810b94dd60ffcac1c992173cc11a
72150c67b9590b0498241a1eacb2669a836520ff
refs/heads/master
2023-05-01T21:42:40.096287
2021-05-20T14:40:30
2021-05-20T14:40:30
368,254,604
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
# 元组是用 () 表示 a = (1,2) print(a) print(type(a)) print(len(a)) # 元组如果是空的 a = () print(a) print(type(a)) print(len(a)) # 如果表示 1 个元素的元组: # TODO: 一定要在元素后加一个 , 不然的话,元组不生效 a = ("星河",1,2,3) print(a) print(type(a)) print(len(a)) # 元组不可变类型,只能查 print(a[0]) print(a[1:3]) print(a.index("星河")) # 字典 # 集合 # 数据运算, + - 比较 and not...
[ "15195989321@163.com" ]
15195989321@163.com
67cf26c42ec0530cc7f8e5bf1cb724eba7d8bf9d
049ca48d22011604f4c7594c42467e0a6d95d7f5
/tests/python3/kyu_5/test_convert_string_to_camel_case.py
b35988f80a839c8e29b752a13eb589d947b8f400
[]
no_license
wangerde/codewars
3ffdf560f0fd2333ab2711d20e2f2b32588fd9fd
bcfd15aba49f87c0a64cf840e96df06ef5ec9162
refs/heads/master
2021-01-23T05:35:29.217960
2017-01-15T18:23:30
2017-01-15T18:23:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
# pylint: disable=missing-docstring """Convert string to camel case""" import pytest from python3.kyu_5.convert_string_to_camel_case import to_camel_case EXAMPLES = ( ('text', 'expected'), [ ('', ''), ('the_stealth_warrior', 'theStealthWarrior'), ('The-Stealth-Warrior', 'TheStealthW...
[ "karateev.pavel@ya.ru" ]
karateev.pavel@ya.ru
a474200d782ba6c520d3792b044a9ebced08b3a5
293a1d4ce3e3ec034fd4d662cb8dcc8c58b512e4
/tools/scripts/prepare_submission.py
516857ea830e2fac07e9523eb3457e5ab7411d2c
[]
no_license
czhiming/POSTECH
87475137674dbce3d6add290ef455ca253d7c423
7e0436fe74e55ce0ec4875bc8d70964f85d64209
refs/heads/master
2021-09-02T12:11:17.001027
2018-01-02T13:51:11
2018-01-02T13:51:11
116,019,207
1
3
null
null
null
null
UTF-8
Python
false
false
303
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys if len(sys.argv) < 2: print "usage: {} method-name < input.txt > output.txt".format(sys.argv[0]) exit(1) method = sys.argv[1] for idx, line in enumerate(sys.stdin): print "{}\t{}\t{}".format(method, idx+1, line.strip())
[ "qqchenzhiming@jxnu.edu.cn" ]
qqchenzhiming@jxnu.edu.cn
4f7db53b849c5840d0ae7303bb14c6f8fdf62404
55ac013ac7fc80d878fb47def8d6218c2fe2d391
/backend/home/management/commands/load_initial_data.py
f71a44de842eb711d2760b024594c8fce1b4e607
[]
no_license
crowdbotics-apps/romano-at-law-3401
98f2845d138b9589b89b660a580beaad23050c25
ae58daf3da747a5b19af96a7186a09424c1800c8
refs/heads/master
2022-12-13T14:02:46.247773
2019-05-15T17:32:08
2019-05-15T17:32:08
186,874,268
0
0
null
2022-12-06T16:01:29
2019-05-15T17:32:03
JavaScript
UTF-8
Python
false
false
739
py
from django.core.management import BaseCommand from home.models import CustomText, HomePage def load_initial_data(): homepage_body = """ <h1 class="display-4 text-center">romano_at_law_3401</h1> <p class="lead"> This is the sample application created and deployed from the crowdbotics...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b61316b862a7647911f05d2eea8e9e749f65e77d
1eaaeee197d0809f354b8dfe669ecc2fe8424757
/11_PaginationDRF/PaginationDRF/settings.py
c7083642ab915643a3596995ebe25064b54bcf3f
[ "MIT" ]
permissive
jhleed/LikeLion_Django_Study_Summary
4ec3ae9b05b24eca370075c613c70211da957c1c
c788182af5bcfd16bdd4b57235a48659758e494b
refs/heads/master
2022-03-27T16:53:42.886054
2019-12-07T03:49:33
2019-12-07T03:49:33
265,724,111
1
0
MIT
2020-05-21T01:22:33
2020-05-21T01:22:33
null
UTF-8
Python
false
false
3,292
py
""" Django settings for PaginationDRF project. Generated by 'django-admin startproject' using Django 2.1.8. 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...
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
93216cfecb0a8cd165fb8267341028ee1f87dba0
a4c04117685c3d28dd60bdfc45654cb2c935f746
/template_match_vswir2dimac.py
a6bc5dfce49cf4c30f862b2f2b88c960f7ebc8cb
[]
no_license
DKnapp64/General_Python_Codes
1ca40779bb381d526d61c5d5fedcc76ae797c590
8d4669c82c17455640a0a3123f92760cd65cc26a
refs/heads/main
2023-02-28T05:55:46.018482
2021-02-01T21:55:16
2021-02-01T21:55:16
335,077,354
1
0
null
null
null
null
UTF-8
Python
false
false
8,162
py
#!/bin/env python2 import cv2 from PIL import Image import numpy as np import gdal, gdalconst import os, sys import time import random ## import pdb def main(in1, in2, scorethresh, rmsethresh, outf): scorethresh = float(scorethresh) rmsethresh = float(rmsethresh) ## reasonable values for Score threshold = 7000...
[ "dknapp4@asu.edu" ]
dknapp4@asu.edu
ad40ce01d4d7c2bc546c2517391733816774e136
ab98aaf1b40a5f2a7ab3c4937f7918421e24ea08
/awacs/ssmmessages.py
2908a3e3203504588532e773c47c2d57b51cfca3
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bruvio/awacs
6e7b7f2b5feddf792d983fc187a6460c7125ed1f
9b9140a645219a4a9f606f97f19893d69bdc8494
refs/heads/master
2023-02-23T11:41:24.862343
2021-02-01T05:23:11
2021-02-01T05:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. from aws import Action as BaseAction from aws import BaseARN service_name = 'Amazon Session Manager Message Gateway Service' prefix = 'ssmmessages' class Action(BaseAction): def __init__(self, acti...
[ "mark@peek.org" ]
mark@peek.org
526e46e5dd05ee4442f1b022940b7ec2f78eb4b8
a566cb316ab93aeadd366b148f5110c327c7eb2b
/chp3/ex4.py
8c89bcf4faccc137baf37af597a0523e2359341d
[]
no_license
piochelepiotr/crackingTheCode
4aeaffd2c46b2761b2f9642107292d0932731489
163ff60f723869a7096b330965d90dc1443d7199
refs/heads/master
2021-06-20T21:30:56.033989
2021-01-13T08:44:57
2021-01-13T08:44:57
172,414,034
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
import stack class MyQueue: def __init__(self): self.in_stack = stack.Stack() self.out_stack = stack.Stack() def push(self, x): self.in_stack.push(x) def pull(self): if self.out_stack.size() == 0: if self.in_stack.size() == 0: raise Exception("e...
[ "piotr.wolski@telecom-paristech.fr" ]
piotr.wolski@telecom-paristech.fr
0a83cf1bd9b3cc886f61571f18089d7a006463de
55173732ce1f2537a4fd8a6137b2a813f594b250
/azure-mgmt-scheduler/azure/mgmt/scheduler/models/oauth_authentication.py
1b85128c1419f34d634eedd5dbcb6e5d491038fb
[ "Apache-2.0" ]
permissive
dipple/azure-sdk-for-python
ea6e93b84bfa8f2c3e642aecdeab9329658bd27d
9d746cb673c39bee8bd3010738c37f26ba6603a4
refs/heads/master
2020-02-26T15:32:39.178116
2016-03-01T19:25:05
2016-03-01T19:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,987
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. 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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
4637bc96cd5dc021a8983c88d76563d4cd4c56df
eb7bf9ee76f3b38ef11b09440934b36a64639396
/castero/episode.py
059bc84c4f1c53ec2168dd6c531b551f326f1ad2
[ "MIT" ]
permissive
Dramicas/castero
9cea0dc5d5de949f7df76308ce221a28cbf8bba8
9d7edb39ab21c9bd8e6b94e134ef336358f74222
refs/heads/master
2020-03-16T16:06:59.623720
2018-05-06T19:20:57
2018-05-06T19:20:57
132,773,066
1
0
null
2018-05-09T14:58:16
2018-05-09T14:58:15
null
UTF-8
Python
false
false
7,435
py
import os import threading from castero import helpers from castero.datafile import DataFile class Episode: """The Episode class. This class represents a single episode from a podcast feed. """ def __init__(self, feed, title=None, description=None, link=None, pubdate=None, copyright=...
[ "jake@faltro.com" ]
jake@faltro.com
93519bcda9ed48a7c96840b95c632bd619fda9f9
b01429f27f8d7f4db7e3eba0abbb6be1ea67e2fa
/imageimage1.2/propriete/propriete_vivant_air.py
e31973f542422c9ebc8de6f4de654e9f0b8becc5
[]
no_license
pastrouveedespeudo/ste-fois-c-la-bonne
3dce8cdfc6b5523d9651e8ec9a143b7ab7789d21
9872c35423870c9854ee0bda120cca0c832c1fc9
refs/heads/master
2020-04-20T22:08:34.295196
2019-02-17T17:18:36
2019-02-17T17:18:36
169,129,734
0
0
null
null
null
null
UTF-8
Python
false
false
2,621
py
class vivant: def vivant(self): self.vivant_air = ["chat", "chien", "chien", "chat", "chien", "chat", "chien", "chat", "chien", "chien", "chien", "chat", ...
[ "noreply@github.com" ]
pastrouveedespeudo.noreply@github.com
df181d1dd23af220e91c7c1f1f8ad80dce1f7d23
bc167f434158921bcf2c678155c5cdfec1c9b0c9
/PI_code/simulator/behaviourGeneration/group/behav478.py
1899e1d5fda53dc78b027212ecc6502b202141a0
[]
no_license
s0217391/DifferentProjects
6450efc89c64ecd21b86c705737e89e5c69433a6
7f4da153660817b6cbf72d2e823aa29c0c2f95a9
refs/heads/master
2021-01-17T02:58:46.219240
2015-05-26T22:45:46
2015-05-26T22:45:46
34,995,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
#!/usr/bin/python import sys def compute(prey, otherHunter, dist): temp0 = -1 * prey[0] if otherHunter[1] != 0: temp1 = prey[1] / otherHunter[1] else: temp1 = otherHunter[1] temp1 = prey[0] + prey[1] temp1 = -1 * otherHunter[1] temp1 = dist - temp0 temp0 = min( otherHunter[1] , prey[0] ) temp1 = max( temp0...
[ "i7674211@bournemouth.ac.uk" ]
i7674211@bournemouth.ac.uk
cb015a533d9e178936ea1c750e1174ccc0214944
8808906b8562b679540e9fe51f8f034e36e8a977
/adler/tensorflow/losses.py
370651b2f1392cd2d7036490a484791831a909b9
[ "MIT" ]
permissive
adler-j/adler
2bd0a969f8d31505d99bd4853f57f74d1984dc17
f5fb62c41d50f270eafdd53e93c1763c99a1d902
refs/heads/master
2021-01-20T08:15:39.645701
2019-11-28T21:41:18
2019-11-28T21:41:18
90,125,611
8
5
MIT
2019-11-28T21:41:19
2017-05-03T08:22:49
Python
UTF-8
Python
false
false
2,598
py
import demandimport with demandimport.enabled(): import tensorflow as tf import numpy as np __all__ = ('log10', 'psnr', 'ssim') def log10(x): numerator = tf.log(x) denominator = tf.log(tf.constant(10, dtype=numerator.dtype)) return numerator / denominator def psnr(x_result, x_true, name='psnr'): ...
[ "jonasadl@kth.se" ]
jonasadl@kth.se
ab02fa783977bd1142c4ca52d2fd181959bacfa1
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5708921029263360_0/Python/ziyan/c.py
c250248466e97f63f5bb90fb5797cc1624f5e7b5
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
940
py
#!/usr/bin/env python import os import sys import collections def solve(J, P, S, K): sols = [] jppairs = collections.defaultdict(int) pspairs = collections.defaultdict(int) jspairs = collections.defaultdict(int) for j in range(J): for p in range(P): for s in range(S): ...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
808d8073572cc25e44a844f47b654d2ebf298a8b
13724823af94e5e5351ffa42ca896397f12f1f05
/install/lamachine/bin/foliamerge
b6f61bf89f1f7cbb27cd35578c4d359457e6c0df
[]
no_license
AymanYac/Neonec-Deep-Classsifier
21e00cb0c5561f4ac22968f748ada0aa299e0a94
a7978f434cc09d9e00a7df5d391bae77daf17637
refs/heads/master
2022-06-08T12:44:10.203386
2018-07-06T15:28:00
2018-07-06T15:28:00
139,996,406
1
0
null
null
null
null
UTF-8
Python
false
false
283
#!/mnt/c/Users/yacay/Downloads/LaMachine-master/install/lamachine/bin/python3 # -*- coding: utf-8 -*- import re import sys from foliatools.foliamerge import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "root@Razer-Stealth.localdomain" ]
root@Razer-Stealth.localdomain
d2983122fb0009d363cf14e6c7be027b5fbdd062
54791fd57ecc9a4fe7c5164dfa6eb79c8df48ee1
/tmpdoc/experiment/python_demos/work/selenium_demo/selenium_execjs.py
7fa71e1eb47fced1401baba2eaf6c2b033cffe73
[]
no_license
cherry-wb/quietheart
8dfc91f88046bd1b40240e2f6121043977ab78b4
715ed73c990da2b4634313c93910769a59ce51f4
refs/heads/master
2021-01-18T00:04:39.802220
2014-08-21T07:39:21
2014-08-21T07:39:21
23,286,239
1
3
null
2019-03-11T09:32:21
2014-08-24T16:37:05
null
UTF-8
Python
false
false
792
py
#!/usr/bin/python from selenium import webdriver #url = "http://10.126.1.29/wirelesssetup_radiosetup.html" #url = "http://10.126.1.29/advancedsetup_lanipdhcpsettings.html" #url = "http://10.126.1.29/wirelesssetup_basicsettings.html" #url = "http://10.126.1.29/wirelesssetup_radiosetup.html" #url = "http://10.126.1.29/w...
[ "quietheart@quietheart-ThinkPad-E420.(none)" ]
quietheart@quietheart-ThinkPad-E420.(none)
5fd135d961041599ba6517fc3bc51b6192575f70
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/command_lib/dialogflow/intents/hooks.py
35fab4c997e2bc806e20eb418ea5a0a03f27c244
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
1,402
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. 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 requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
77e7aabcbc9de1998068a6633dc55119edcbc6db
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf.0/gsn-edf_ut=3.5_rd=1_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=0/params.py
d4f81c06a2325c865d4af4a06346ec07d1c9ec8f
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
{'cpus': 4, 'duration': 30, 'final_util': '3.721167', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 0, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
081d2606bb85413135f9cf37448d40647dde1cbe
3199331cede4a22b782f945c6a71150a10c61afc
/20210523LangReview/Python/review04/04-generator/gen02.py
2624c1c06a7d841915f7e0b8c362406a78e431e6
[]
no_license
AuroraBoreas/language-review
6957a3cde2ef1b6b996716addaee077e70351de8
2cb0c491db7d179c283dba205b4d124a8b9a52a3
refs/heads/main
2023-08-19T23:14:24.981111
2021-10-11T12:01:47
2021-10-11T12:01:47
343,345,371
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
"#Python is a protocol orientated lang; every top-level function or syntax has a corresponding dunder method implemented;" import time class Compute: def __init__(self, last: int): self.last = last self.first = 0 def __iter__(self): return self def __next__(...
[ "noreply@github.com" ]
AuroraBoreas.noreply@github.com
47c0ab6d57f95d8b1d7819eb25b2c4be405b67ef
cc64b1b5deb4530a5bd3eaabd98ebd4daa2deea1
/Aulas/Exercícios-Mundo3/Aula016/Ex072.py
6a361ae1465ad181cd99a5831421f1306f1a034c
[ "MIT" ]
permissive
Sofista23/Aula1_Python
239b9920353138ff99d99dd0af66a4788f1cbb22
129132d977058ac6f23cc95c7bb8b55d8a1bb429
refs/heads/main
2023-09-01T23:55:20.529528
2021-10-13T23:19:33
2021-10-13T23:19:33
416,924,760
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
t=("zero","um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze","doze","treze","quatorze","quinze","dezesseis","dezessete","dezoito","dezenove20","vinte") while True: esc=int(input("Digite um número de 0 a 20:")) if 0<=esc<=20: print(f"Você digitou o valor {t[esc]}.") esc2=in...
[ "81760467+Sofista23@users.noreply.github.com" ]
81760467+Sofista23@users.noreply.github.com
874e34415a4f5d7c2ddb22a3966ca448f742d45b
2635d6f24df87d0813e9dd8d3853fb9632d39686
/setup.py
f8c12f6adcb5876d7aa8340adab284698b3abf79
[ "MIT" ]
permissive
tolulomo/materialsmine
cc921464aefa0f47fc6ac9f85a8bd65a67c0f3bb
8ac7d942b89492c8750bc5cb95951e2ab9694ae4
refs/heads/master
2022-11-18T08:10:51.631100
2020-07-15T17:30:13
2020-07-15T17:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
#!/usr/bin/env python from distutils.core import setup setup(name='Nanomine', version='0.1', description='Nanomine project configuration file', author='rui', packages=[ # 'pymongo' ], )
[ "mccusker@gmail.com" ]
mccusker@gmail.com
3afab3079ec8742ba54e9a0b1a48976d2ad481f3
a0b7a7104ca701e8b08d590660ee92b325fd17e9
/jeri/core/models/fields/__init__.py
72fba11357e8171207a8f80cb4e8eae570e9bd62
[ "BSD-3-Clause" ]
permissive
fmorgner/jeri
fecd4df05b62ee00a248005f3cbf1c313eb6d35d
5b33411c0e25375e3e5928fc044581a24c56f3ad
refs/heads/master
2021-01-01T16:46:52.786518
2017-07-22T17:49:18
2017-07-22T17:49:18
97,918,102
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from jeri.core.models.fields.value import StringField # NOQA from jeri.core.models.fields.related import ( # NOQA OneToOneField, OneToManyField )
[ "felix.morgner@gmail.com" ]
felix.morgner@gmail.com
6eecbdfe33a0d7bf82903ca4bfd6b8c3a3c79f4f
5de5ae0adb6fb1e73c2e897fbc13b6abf53c559b
/Applications/Logic_Puzzles/pipe.py
c2c73d8342e179dfbc8a640d20a4512ce7d4a0d0
[]
no_license
Trietptm-on-Coding-Algorithms/Learning-Z3
af935450226ee3299e10361f21a567945aa0fd5c
c5ef7faca49aa164556b3c7e9ccfb4709027cf74
refs/heads/master
2020-05-13T18:34:38.105308
2017-12-23T11:08:43
2017-12-23T11:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,250
py
from z3 import * # Solving Puzzle # Pipe puzzle is a puzzle where we are given a sets of randomly configured pipe # The goal is to configure the pipes to make a close loop where the water can # flow only inside the pipe. # Imagine the field is a matrix with certain row and columns. # Each cell can be connected with o...
[ "me@xathrya.id" ]
me@xathrya.id
1d026ecec5a670431b899914e47b7896880ac674
5de0c0e76bdde469156d057007a5008a63a0d66b
/openeeg/proto.py
2fa2ae2d0a6741714a867192b9b835eb0801cace
[]
no_license
mattharkness/sixthdev
6bcfd1c490efafb114dc5f014c6e5f1d91d56b4d
a7df929147d82d225606c216f69c48d898e19ebe
refs/heads/master
2023-06-08T05:57:38.928657
2021-06-15T16:53:15
2021-06-15T16:53:15
338,441,562
0
0
null
null
null
null
UTF-8
Python
false
false
5,255
py
#!/usr/bin/python2.2 # # openEEG software prototype # by michal wallace (sabren@manifestation.com) # # python prototype of a mind-mirror style biofeedback machine # Basically, this is just a spectral analysis program. # # This version still only graphs fake data, but adds windowing # to clean up some of the noise. The ...
[ "sabren" ]
sabren
31ee594e35458cdcaaa3616917d92259bf6f73d3
ea1a86f636db98d111360cc2d6988dc449f21ca7
/backend-code/website/serializers.py
fee383d25ce736bf463db816d659a7dfe387e5e7
[]
no_license
riaaniru2613/iste.nitk.ac.in-1
76434cd2a019b14e29dba138618975d8dd14c6a0
573001912bac0c53a7118c35be6358aeb0f96b1d
refs/heads/master
2023-07-07T11:45:07.357822
2021-08-05T16:28:08
2021-08-05T16:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
from rest_framework import serializers class DynamicFieldsModelSerializer(serializers.ModelSerializer): def __init__(self, *args, **kwargs): fields = kwargs.pop('fields', None) super(DynamicFieldsModelSerializer, self).__init__(*args, **kwargs) if fields is not None: allowed =...
[ "amodhshenoy@gmail.com" ]
amodhshenoy@gmail.com
f49bf0a3be14a5038d8868cbf934a3c39958629e
e585c222ecc8fa95b7c47a80cb0efb2be578b01e
/base/views.py
29d2118ea0ffa9a512d9af9fa9e223dade01b788
[]
no_license
49527/miniprogram_backend
e0c13075e6af8eb1ce040c345ec7bbd448ddd58e
105e8d85c71dfb2c7ecaf64f35c48ac3dedc9a4d
refs/heads/master
2020-04-09T02:08:02.166013
2018-12-11T14:48:00
2018-12-11T14:48:00
159,929,690
0
0
null
2018-12-01T09:38:22
2018-12-01T09:38:22
null
UTF-8
Python
false
false
3,824
py
import urllib import json import logging from rest_framework.response import Response from rest_framework.parsers import JSONParser from rest_framework.exceptions import MethodNotAllowed from django.http.response import HttpResponseNotAllowed from django.conf import settings from django.http.response import HttpRespons...
[ "fhy14@mails.tsinghua.edu.cn" ]
fhy14@mails.tsinghua.edu.cn
0b1b38916d41392f1d08f3a10dbb7bce96a9e49a
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20171227/example_httplib2/01get.py
8a8bd52dd952e4265c41b351d1c6da01239cdbc7
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
218
py
import httplib2 import urllib.parse as parselib http = httplib2.Http() qs = parselib.urlencode({"name": "foo"}) response, body = http.request(f"http://localhost:44444/?{qs}", method="GET") print(body.decode("utf-8"))
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
30a08c0dd0df890fdfc29c1163cc085d343e74f9
63c261c8bfd7c15f6cdb4a08ea2354a6cd2b7761
/acaizerograu/acaizerograu/outros/migrations/0015_acaienergy_img.py
2facb02213763ea87b8e37caec314dce25edb154
[]
no_license
filhosdaputa/AcaiZero
93295498d95bcc13d020f2255e6b87a12cff04bf
99a775f823d98a0b7b10e685936f1c12ccd1a70a
refs/heads/master
2022-10-29T05:31:10.512990
2017-08-11T13:49:06
2017-08-11T13:49:06
149,019,853
0
1
null
2022-10-18T00:41:16
2018-09-16T17:38:48
JavaScript
UTF-8
Python
false
false
492
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-24 22:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('outros', '0014_acaicreme_img'), ] operations = [ migrations.AddField( ...
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
27a385f5bed81772f708b3340dd406c08d200b27
6732dce33ccc8d3912c7dd9bb5a029988586a649
/tests/all_tests_cached.py
0515e76f07896484a441f62a9a98df0cd0eb011e
[ "Apache-2.0" ]
permissive
hamada2029/gdata-python3
8a0d3cb53b707b7ad2f826a486df254c813e7463
c1028f6567b480908b90848523bebaf78e6b49f7
refs/heads/master
2021-01-22T12:53:28.196826
2014-11-30T07:05:30
2014-11-30T07:05:30
46,613,040
1
0
null
2015-11-21T11:44:20
2015-11-21T11:44:19
null
UTF-8
Python
false
false
1,088
py
#!/usr/bin/python3 # # Copyright (C) 2009 Google 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 ap...
[ "jvarshney20@gmail.com" ]
jvarshney20@gmail.com
ed1d23fc1f6ecda72389cdaea307ea28a1e07b23
83b242997a1560214285fd38ab4d39a0b1210ddc
/opencv/SimpleBlobDetector.py
3b471d90063328e07509532a210cbe45856f5a4b
[]
no_license
ivartz/vid2fft
0a25d853e178b43fd0a5f765934887963f5c37f9
1b6ec82de04f86819ab4c1056d4f9d9bde1ed9c8
refs/heads/master
2020-08-07T21:44:28.745553
2019-10-08T09:18:41
2019-10-08T09:18:41
213,594,969
0
0
null
null
null
null
UTF-8
Python
false
false
6,154
py
#/****************************************************************************** # # Copyright (c) 2018 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free ...
[ "djloek@gmail.com" ]
djloek@gmail.com
c0b3d26047b039b6f39ae57cad8047f7af89eb6c
9356f0b10133ed0671cd5414de81cadc97e0097d
/stravalib/tests/functional/test_client_write.py
41d66e97f4b86e2f9b467b01faca0e83f12fb383
[ "Apache-2.0" ]
permissive
peter-kolenic/stravalib
850800ce716243a8498d2f6c4a9078bb29737dee
571adc063179d0ef1519a468fcf2cfd9852b9874
refs/heads/master
2021-01-18T17:19:28.938813
2015-05-23T21:30:54
2015-05-23T21:30:54
36,108,269
1
1
null
2015-05-23T05:27:57
2015-05-23T05:27:56
null
UTF-8
Python
false
false
3,326
py
from __future__ import absolute_import, unicode_literals from datetime import datetime, timedelta from io import BytesIO from stravalib import model, exc, attributes, unithelper as uh from stravalib.client import Client from stravalib.tests.functional import FunctionalTestBase class ClientWriteTest(FunctionalTestBase...
[ "hans@xmpl.org" ]
hans@xmpl.org
1b46a272a3f67f353f53056f13e3223b617f355c
303a4d41da8f2cd2000630ff30424d2875490e67
/190329multitimetest/gendat.py
7704c283a733f1501c221aafe5d58fcc19b0e6d5
[]
no_license
noobermin/sharks
beb1d3d6a593e8d62f3d7416697d4de1fe9558b1
af87113781eb67af45a9c2f79b73b1512ae0a1fa
refs/heads/master
2022-05-10T11:55:17.200591
2021-09-30T14:27:22
2021-09-30T14:27:22
19,997,024
0
2
null
2016-05-20T19:27:49
2014-05-20T20:49:16
Common Lisp
UTF-8
Python
false
false
5,587
py
#!/usr/bin/env python ''' Generate a dat file. ''' from io import BytesIO; #we python3 now import re; import numpy as np; from pys import test,parse_numtuple,sd,take,mk_getkw; mt = lambda t,m=1e-4: tuple([i*m for i in t]); c = 299792458 c_cgs=c*100; e0 = 8.8541878176e-12 datdefaults = { 'expf': 1.5, 't...
[ "ngirmang.1@osu.edu" ]
ngirmang.1@osu.edu
324e053537ed14e06f80510fe149a26724df36b1
5c254373f6725107931b68704436c2dbcd39d877
/ute/probabilistic_utils/mallow.py
a9193339cded704e6b8f18ef329bbb1af5c8466e
[ "MIT" ]
permissive
JunLi-Galios/unsup_temp_embed_alternating
22330346094720ecba2e5af305febe586566b92f
1b054fd82aadcfe1aa219be17beb77c89efd974e
refs/heads/master
2023-03-21T04:06:16.044321
2021-03-20T06:06:06
2021-03-20T06:06:06
322,737,110
0
0
null
null
null
null
UTF-8
Python
false
false
3,099
py
#!/usr/bin/env python """Implementation of the Generalized Mallow Model. It's used for modeling temporal relations within video collection of one complex activity. """ __author__ = 'Anna Kukleva' __date__ = 'August 2018' import numpy as np class Mallow(object): """The Generalized Mallows Model""" def __in...
[ "kuklevaanna@gmail.com" ]
kuklevaanna@gmail.com
3f6f20932447ab92f92ee5991e43992a14450eca
8baec0fc6e2e2e4b46e7880df9dbaa313c01272f
/data/cn_few_fusion_dataset.py
f4be2acb0d640f67343116793852b0c2840a0172
[ "BSD-2-Clause" ]
permissive
hologerry/BicycleGAN
6ce4884fdaf8d4c5231dae537b3f0f552856add9
64671c38058744d49e988980770d11b72466c59b
refs/heads/master
2021-06-26T07:33:16.941169
2019-08-20T12:38:44
2019-08-20T12:38:44
149,060,743
0
0
NOASSERTION
2019-03-13T05:07:19
2018-09-17T02:56:34
Python
UTF-8
Python
false
false
4,109
py
import os import random from PIL import Image, ImageFilter from data.base_dataset import BaseDataset, transform_few_with_label from data.image_folder import make_dataset class CnFewFusionDataset(BaseDataset): @staticmethod def modify_commandline_options(parser, is_train): return parser def rrep...
[ "hologerry@gmail.com" ]
hologerry@gmail.com
6a833dc13c4576d7d6ac68aa2ac28032e4b16eb8
edbf8601ae771031ad8ab27b19c2bf450ca7df76
/45-Jump-Game-II/JumpGameII.py3
68cb781b045a49898b021dd462bc34abdeadfb91
[]
no_license
gxwangdi/Leetcode
ec619fba272a29ebf8b8c7f0038aefd747ccf44a
29c4c703d18c6ff2e16b9f912210399be427c1e8
refs/heads/master
2022-07-02T22:08:32.556252
2022-06-21T16:58:28
2022-06-21T16:58:28
54,813,467
3
2
null
2022-06-21T16:58:29
2016-03-27T05:02:36
Java
UTF-8
Python
false
false
581
py3
class Solution: def jump(self, nums: List[int]) -> int: if nums == None or len(nums) == 0 : return -1 size = len(nums) if size == 1 : return 0 dp = [sys.maxsize]*size dp[0] = 0 cur = 1 for i in range(size) : far = i + nums[...
[ "gxwangdi@gmail.com" ]
gxwangdi@gmail.com
25aadc99c54d46377158797eb238e1e889e95e9b
d9d6250eb862e4b4cace91f5d7ab82bc70ea689c
/src/comment/migrations/0001_initial.py
4b471ce54e4a68c5da6989acac2be0b2de8ce46f
[]
no_license
belal-bh/CLIC_PUST
f6ae867115899733722d356b1f27a1bc78eee89f
59c251e621ac2f6460bd4faa31aad5e569a060c2
refs/heads/master
2022-04-08T13:05:06.795597
2020-03-15T10:12:45
2020-03-15T10:12:45
212,201,928
0
1
null
null
null
null
UTF-8
Python
false
false
1,577
py
# Generated by Django 2.2.1 on 2019-10-10 07:10 import account.helpers from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('contenttypes', '0002_remove_content_type_name'),...
[ "bh.pro.pust@gmail.com" ]
bh.pro.pust@gmail.com
01aeafb98ed6d93725ba3ab260a74eaa6daeeb51
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/20dd5e82-5cc5-11e4-af55-00155d01fe08.py
a599a33e0e06904fc5484a89cf9782cb80531146
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
#!/usr/bin/python ################################################################################ # 20dd5e82-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
abce8b6224be5ad4780574b9df6386674fd23647
227ecf8b7967cfcf3bb0822d268941c04a05bd20
/matrix_comp_approx_colored.py
dda878aef7ff1809716989e29e163264cbf6539a
[]
no_license
johnjasa/derivative_comparisons
1a8f3dba62dd9e081537cb6ecf4a1df93192893b
d50a1f86042841b37804fbb3abbc600f3870cce5
refs/heads/master
2021-05-18T17:54:42.906729
2020-04-06T17:45:13
2020-04-06T17:45:13
251,347,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
import numpy as np import openmdao.api as om class MatrixComp(om.ExplicitComponent): def initialize(self): self.options.declare('num_inputs', default=2) self.options.declare('num_outputs', default=5) self.options.declare('bandwidth', default=2) self.options.declare('...
[ "johnjasa11@gmail.com" ]
johnjasa11@gmail.com
f66590ed24326e5a66bd05a44b6fe1bd619b3f61
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano1227.py
942da9b5fe104de59a0e5faf6af34254b248e801
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
5023035cb29590f585108c7aee78dc4373800804
c6053ad14e9a9161128ab43ced5604d801ba616d
/Lemon/Python_Base/Lesson10_object_20181117/homework_02.py
c3bfb59c5135b0b7432c470d7a36aa6518d3cc6c
[]
no_license
HesterXu/Home
0f6bdace39f15e8be26031f88248f2febf33954d
ef8fa0becb687b7b6f73a7167bdde562b8c539be
refs/heads/master
2020-04-04T00:56:35.183580
2018-12-25T02:48:51
2018-12-25T02:49:05
155,662,403
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# -*- coding: utf-8 -*- # @Time : 2018/11/17/13:35 # @Author : Hester Xu # Email : xuruizhu@yeah.net # @File : homework_02.py # @Software : PyCharm ''' 2:定义一个学生类。 1)有下面的类属性: 1 姓名 2 年龄 3 成绩(语文,数学,英语)[每课成绩的类型为整数] ,均放在初始化函数里面。 2)类方法: a)获取学生的姓名:get_name() 返回类型:str b)获取学生的年龄:get_age() 返回类型:int c) 返回3门科目中最高的分数。...
[ "xuruizhu@yeah.net" ]
xuruizhu@yeah.net
6ed3e6a009cf9820d10c5b2bcec7966bc71920da
9f2c8c6b9c7caac464193fa9a995dc7244f3aac5
/Exercicios Curso Em Video Mundo 2/ex038.py
bc7fb3f83e250eb62ce07ca8dab2bccf6cde09df
[ "MIT" ]
permissive
JorgeTranin/Python_Curso_Em_Video
a5c1a119e30aa08663d5b3e3d86625fb852ccbe8
be74c9301aafc055bdf883be649cb8b7716617e3
refs/heads/master
2021-06-13T23:29:36.184378
2020-04-10T00:49:25
2020-04-10T00:49:25
254,464,568
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
n1 = int(input('Digite um numero! ')) n2 = int(input('Digite outro numero! ')) if n1 > n2: print('Entre {} e {} O primeiro valor é maior'.format(n1, n2)) elif n2 > n1: print('Entre {} e {} O segundo valor é maior.'.format(n1, n2)) elif n1 == n2: print('Os dois valores são iguais.')
[ "antoniotraninjorge@gmail.com" ]
antoniotraninjorge@gmail.com
fc50e5a2055a8a78a3042ca9d49a37270c2e9c4b
108034973f9046a7603d5fe3f26c59b20a7e68da
/lab/lab13/tests/schedule.py
4247e34134bdaacf49dedc64c9d011381688e8f3
[]
no_license
paulhzq/cs61a
b1b1387cefbaaf1823c02d535891db7d085f3b04
9eee13df9ad113591dc55d106561951cea34abc5
refs/heads/master
2020-05-23T08:16:14.193086
2017-01-15T02:06:18
2017-01-15T02:06:18
70,255,875
8
8
null
null
null
null
UTF-8
Python
false
false
487
py
test = { 'name': 'schedule', 'points': 0, 'suites': [ { 'cases': [ { 'code': r""" sqlite> SELECT * FROM schedule; SFO, SLC, PDX|176 SFO, LAX, PDX|186 SFO, PDX|192 """, 'hidden': False, 'locked': False } ...
[ "paul_hzq@hotmail.com" ]
paul_hzq@hotmail.com
676e220636adf6125be74d69a020cc4d43e83248
556417a05b437c111290287df47a39f15fb28f4b
/apps/payement/forms.py
bc9b95551bc0609de4ac2cd8b711096f021e1781
[]
no_license
root92/test-erp
74626f7b0ce423e9451dd0cc9371ed644a9b8af9
ef108353b5a886822574bded7f2f0b323c483c37
refs/heads/master
2020-04-21T20:53:04.401368
2018-01-30T16:10:15
2018-01-30T16:10:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
from django import forms from .models import Payement, Fees class PayementForm(forms.ModelForm): class Meta: model = Payement fields =['fees', 'student', 'amount'] labels = { 'student': 'Elève', 'fees': 'frais', 'amount': 'Montant' } wi...
[ "souleymanemoudou@gmail.com" ]
souleymanemoudou@gmail.com
9b4423958aa920b68ecdc3b7b0b67fddf60b8c27
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ABC/abc101-abc150/abc142/a.py
5e40cee36eb2e3dbbc38c7b5b5e18aa6317544d4
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
165
py
# -*- coding: utf-8 -*- def main(): from math import ceil n = int(input()) print(ceil(n / 2) / n) if __name__ == '__main__': main()
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
6808d2b19dcde91927041394b1afc5ea14c5e750
a1a43879a2da109d9fe8d9a75f4fda73f0d7166b
/api/tests_v2/compare.py
867fb572fcc46f017e8682e5674ec51fc82d49ca
[]
no_license
PaddlePaddle/benchmark
a3ed62841598d079529c7440367385fc883835aa
f0e0a303e9af29abb2e86e8918c102b152a37883
refs/heads/master
2023-09-01T13:11:09.892877
2023-08-21T09:32:49
2023-08-21T09:32:49
173,032,424
78
352
null
2023-09-14T05:13:08
2019-02-28T03:14:16
Python
UTF-8
Python
false
false
1,874
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
5ff1f136a4a394975d0d1989cb5cf7d296f32655
3bf0bdebf785063ce1a721d4a83750ba0b5033df
/src/sentry/web/frontend/remove_project.py
985d0a3a4168278f42470b58ee4dbe6b15abec9a
[ "BSD-2-Clause" ]
permissive
TaurusTiger/sentry
cf932d3fbac81673157ef5f483bbb3daf6a664f3
dca33172b70d0cf79a56f751543eea364ce92ee6
refs/heads/master
2021-01-21T19:13:43.098303
2015-10-10T00:41:24
2015-10-10T00:41:24
43,991,907
1
0
null
2015-10-10T03:19:34
2015-10-10T03:19:33
null
UTF-8
Python
false
false
1,884
py
from __future__ import absolute_import from django import forms from django.contrib import messages from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from django.utils.translation import ugettext_lazy as _ from sentry.api import client from sentry.models import OrganizationMemb...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
66317284cc07a9785b1fa7a0ff525d864ac27676
e51b99514bd9b12c7cde4128549aa0206e0391f3
/24 swapPairs.py
c571fe8d4ecf91d4d33a5163b3d27c4323825f6d
[]
no_license
ABenxj/leetcode
5f65d2a90f79a32c8d9387bb6c4a655061d004cd
f2c162654a83c51495ebd161f42a1d0b69caf72d
refs/heads/main
2023-05-14T11:55:28.180609
2021-06-08T01:11:54
2021-06-08T01:11:54
347,963,922
1
0
null
null
null
null
UTF-8
Python
false
false
911
py
#!/usr/bin/env pyhton # -*- coding: utf-8 -*- # # Copyright (c) 2021 , Inc. All Rights Reserved # """ Authors: jufei Date: 2021/4/7 4:19 PM """ # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def swapPairs(self, head...
[ "jufei@wecash.net" ]
jufei@wecash.net
90501e32e6ea9c14c125b254dcf091e8d125b049
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/coghq/CashbotMintLavaRoomFoyer_Battle00.py
060df18a0bba15f595366b19d1077ab11dca586c
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
3,269
py
# 2013.08.22 22:18:15 Pacific Daylight Time # Embedded file name: toontown.coghq.CashbotMintLavaRoomFoyer_Battle00 from toontown.coghq.SpecImports import * GlobalEntities = {1000: {'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPlaneDi...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
5b01280a33dbeeca6cee9f2a38e5def7526cefc2
3b53aa80a584416a9c8e0de4efb8ef682012bf9e
/0x11-python-network_1/10-my_github.py
11ea426758188bcc5229f9716f56b1d970c29f2a
[]
no_license
Diegokernel/holbertonschool-higher_level_programming
c273c140b1761046f1a7db80a135d87115c34a9b
7ebd07e947d6c9a9173699d117741eae38dfcdbe
refs/heads/master
2020-05-18T01:31:17.582237
2019-10-04T04:13:23
2019-10-04T04:13:23
184,092,625
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
#!/usr/bin/python3 """takes your Github credentials (username and password) and uses the Github API to display your id""" import requests import sys if __name__ == "__main__": page = "https://api.github.com/user" q = (sys.argv[1], sys.argv[2]) req = requests.get(page, auth=q) print(req.json().get("id")...
[ "777@holbertonschool.com" ]
777@holbertonschool.com
bd0f4f29e65e2be6d51c4e9d8be129c9ac840a5b
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Withings/Measure/GetActivityMetrics.py
9847037ed05b8219cb3ec705519d9d2a852c6162
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,651
py
# -*- coding: utf-8 -*- ############################################################################### # # GetActivityMetrics # Retrieves activity metrics for the specified user. # # Python version 2.6 # ############################################################################### from temboo.core.choreography imp...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
95f26936b10e68352c2da05ab0c55e794949d63f
1624fd1db522c3d8b7533418cec09793ca6f80a3
/setup.py
2dc7d322bcf4973fbaedb0117b1d89744453ce88
[ "MIT" ]
permissive
yuwin/UnbalancedDataset
7c3444f1f3b82a0c0b941c514096c39a330eb4e7
e97ea2f23e9c06d44c6cbc14145db87f104f61a7
refs/heads/master
2021-01-18T13:04:18.082366
2016-06-27T23:51:38
2016-06-27T23:51:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
#! /usr/bin/env python """Toolbox for imbalanced dataset in machine learning.""" import sys import os import codecs from setuptools import setup, find_packages def load_version(): """Executes imblearn/version.py in a globals dictionary and return it. """ # load all vars into globals, otherwise #...
[ "glemaitre@visor.udg.edu" ]
glemaitre@visor.udg.edu
76ebde0afed83ac4627c0e5b5ade1bb9588d1735
47f4e3aabb6dcb0f9a48c8a5634eac1523b71b2c
/edit_being/qyaddons/ct_pos_ticket/__manifest__.py
75d13c59ac772e7fda752e19009424c2c23dd1b7
[]
no_license
marvin981973/odoo-2
485b7815b639da17400f38ab2200fb6956486451
f45a562b1bd962697f096e7f7bc57b131b3e11f3
refs/heads/master
2020-06-26T06:22:16.520775
2018-03-11T13:26:04
2018-03-11T13:26:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# -*- coding: utf-8 -*- { 'name': 'POS小票', 'summary': '修改打印小票格式', 'description': """ 修改POS内部连接小票打印机打印出来的内容格式 """, 'category': 'other', 'version': '1.0', 'author': '今晨科技|企通软件', 'website': 'http://www.168nz.cn/', 'depends': ['base', 'web','point_of_sale'], 'data': [...
[ "guwenfengvip@163.com" ]
guwenfengvip@163.com
30e40d8e872dd61da615410d1d1d9f51cb8e0986
29fb2eb3b9bb21b529e814da53518fab2958693a
/bayesian_treatment/10_table_Electron_table_Comparison.py
a2d7ec3151e13a8c90fa98b2d96e424c973e65e7
[]
no_license
Vital-Fernandez/thesis_pipeline
acca734b1a2ce11b0bee5bd41fab534022ea295e
1253e2ed94e0f502a16cae6b88f84b633d0f16c2
refs/heads/master
2022-05-31T10:15:47.241645
2021-05-18T17:43:44
2021-05-18T17:43:44
90,319,650
0
0
null
null
null
null
UTF-8
Python
false
false
7,892
py
from dazer_methods import Dazer from lib.CodeTools.sigfig import round_sig from uncertainties import unumpy from collections import OrderedDict from pylatex import Package, NoEscape from numpy import isnan from pandas import isnull import pandas as pd import numpy as np import uncertainties as un from uncertainties.uma...
[ "vital.fernandez@gmail.com" ]
vital.fernandez@gmail.com
d543b03fd232f81b04d4ea29f1993ad04ba26c94
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/automation/v20180115/outputs.py
0a8b07f580f75db3fc25b8e64b9658b630192036
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
62b22fda6d4ef03350bbf3914df64d4c0dc25f95
03d68ceacf35455d5cd692411940400bcf7d8541
/tools/coded/ipconvert.py
8c7976dcd974585fe6525b7feb923f28afa0f24c
[]
no_license
j4ckzh0u/ctf-tools-1
569822fe102e54084ff26916760205598ab9db3f
119a5b4b73a032d49740ab371055e9f2400cb79a
refs/heads/master
2021-05-24T12:49:44.102597
2020-03-31T06:48:27
2020-03-31T06:48:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
#coding=utf-8 #version 1.2 import sys def tab_to_8(binip): if len(binip)>8: raise Exception('lenth error') return '0'*(8-len(binip))+binip def dot_to_bin(ip): ip=str(ip) if ip.count('.')!=3: return False ip=ip.split('.') return ''.join([tab_to_8(str(bin(int(i,base=10)))[2:]) f...
[ "yun1067530461@gmail.com" ]
yun1067530461@gmail.com
6d82dde142112a41c6c2e0432c936797e40d7fb7
79e19819aec49b500825f82a7de149eb6a0ba81d
/leetcode/104.py
d15b1378939a65e4139d4810208f43daccfa2bcb
[]
no_license
seoyeonhwng/algorithm
635e5dc4a2e9e1c50dc0c75d9a2a334110bb8e26
90406ee75de69996e666ea505ff5d9045c2ad941
refs/heads/master
2023-05-03T16:51:48.454619
2021-05-26T00:54:40
2021-05-26T00:54:40
297,548,218
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def maxDepth(self, root: TreeNode) -> int: if not root: return 0 queue...
[ "seoyeon@nowbusking.com" ]
seoyeon@nowbusking.com
0e2b20cc7003718d91f5888ba076de4eff653767
b76c08a4c33245a737fa0e139d212bb424017cd1
/src/cybersource/tests/test_models.py
0de6ae3f4b7ba8af4a49ab21716ba81bce88f55b
[ "ISC" ]
permissive
thelabnyc/django-oscar-cybersource
5b09845121ef1c074335c01e86c649c36e4e51e4
95b33362adf8ba0217ac73c6f816b544c9faa18d
refs/heads/master
2023-03-15T15:25:55.388795
2023-03-14T16:00:07
2023-03-14T16:00:07
58,149,620
4
3
ISC
2023-02-07T22:17:15
2016-05-05T17:45:52
Python
UTF-8
Python
false
false
3,376
py
from django.test import TestCase from ..models import CyberSourceReply, PaymentToken, SecureAcceptanceProfile from .factories import build_accepted_token_reply_data class PaymentTokenTest(TestCase): def test_log_data_parsing(self): data = build_accepted_token_reply_data("S123456789", "") log = Cyb...
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
9bd9fd8e914cfb6c6e9206d96e6448f17e74db1a
dfb4cb8d916b62d7272ca353302d1ad95e4d7244
/qa/rpc-tests/forknotify.py
cb1481fcf20133fcbce7f26965cb5cf73b0cf0e7
[ "MIT" ]
permissive
mirzaei-ce/core-shahbit
d166ab47067bf66c3015c3da49ff31cd29f843db
57ad738667b3d458c92d94aee713c184d911c537
refs/heads/master
2021-07-21T11:09:22.493418
2017-10-25T13:50:55
2017-10-25T13:50:55
108,276,937
0
0
null
null
null
null
UTF-8
Python
false
false
2,086
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test -alertnotify # from test_framework.test_framework import ShahbitTestFramework from test_framew...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
495615fd0a075747a90732de5998be193f2a7a0a
4081698d691baafc58343c72a721622cec251f67
/tools/testing/cross_language/util/cli_daead.py
d1bc265be0234911d65cf6485037529b47aeb990
[ "Apache-2.0" ]
permissive
thalescpl-io/tink
5ac62a54b73414402f6b600cff0fd21a4f999137
0d1769b28cabe2a60daca9b8da0bd14def54bc21
refs/heads/master
2021-03-10T03:27:58.161079
2020-05-15T23:45:42
2020-05-15T23:45:42
246,412,910
0
0
Apache-2.0
2020-03-10T21:33:19
2020-03-10T21:33:18
null
UTF-8
Python
false
false
3,134
py
# 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, software # distributed under t...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
21e7f14bf83ed3670db484b437bab5433bc03ac0
2901c198fd36f16e59e22e37d748497bdc51246e
/firstproject/clients/migrations/0008_client_client_id.py
405e84e77e18398b1f41294fbdefe19d60698974
[]
no_license
Sarathsathyan/FREELANCING-
b81803340983e4396ee1be032d75367ce416ea79
bb800f900757ffb757ddb95e2c3c5924785f3386
refs/heads/master
2020-05-27T11:47:54.465644
2019-08-22T17:40:47
2019-08-22T17:40:47
188,605,193
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# Generated by Django 2.2.1 on 2019-07-06 05:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('clients', '0007_auto_20190706_0513'), ] operations = [ migrations.AddField( model_name='client', name='client_id', ...
[ "sarathsathyan98@gmail.com" ]
sarathsathyan98@gmail.com
2ff9e5a093af8bb5e1ef34ea5c281a6cdf3c10be
7debcea5a702835479a3639e5deed7ed3f277d65
/텍스트마이닝 - 네이버 영화 리뷰 크롤링.py
b7567a8752a29953d33e33ae10b7f85119214f35
[]
no_license
swj8905/Intermediate_Course_0918
902db757e130332c7f3d64aa1007a1d0c8a62508
e2199888d84006934001e1863ce4ec10819fc7f2
refs/heads/master
2023-08-11T04:40:45.978468
2021-09-26T03:47:17
2021-09-26T03:47:17
407,747,437
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
from bs4 import BeautifulSoup import urllib.request as req page_num = 1 while True: code = req.urlopen("https://movie.naver.com/movie/bi/mi/pointWriteFormList.nhn?code=204496&type=after&isActualPointWriteExecute=false&isMileageSubscriptionAlready=false&isMileageSubscriptionReject=false&page={}".format(page_num)) ...
[ "swj8905@naver.com" ]
swj8905@naver.com
174e32b528f75a1f2e37b3ade6a4145d9a082f66
705649d075e112e5546c5d01bf0ae45122c251ea
/account/admin.py
ecb8ced5f615b776cab362d94afa4ab3e2ee07e4
[]
no_license
liuyuhang791034063/LaoLiu_blog
ffbb81f72ed86803bbebfbae9397aaefdff4d0cc
b9352d1ea84533aa948b342c39e512f134df7acd
refs/heads/master
2020-03-13T20:40:41.224540
2018-05-23T05:44:45
2018-05-23T05:44:45
131,279,834
0
1
null
null
null
null
UTF-8
Python
false
false
479
py
from django.contrib import admin from .models import UserProfile,UserInfo class UserProfileAdmin(admin.ModelAdmin): list_display = ('user','birth','phone') list_filter = ("phone",) admin.site.register(UserProfile, UserProfileAdmin) class UserInfoAdmin(admin.ModelAdmin): list_display = ('user','...
[ "liuyuhang791034063@qq.com" ]
liuyuhang791034063@qq.com
a1fbde175cd3d2f6a0772b2147af4995a3d118cc
c31e69b763e1b52d3cefa4f5a49432ae966f22d0
/day31/07_漏斗图.py
5f9a116ddb867d090212802276bb1f64595e7a71
[]
no_license
lvah/201901python
cbda174a3c97bc5a2f732c8e16fc7cf8451522d2
7bffe04a846f2df6344141f576820730a7bbfa6a
refs/heads/master
2022-12-13T09:49:29.631719
2019-04-06T09:48:33
2019-04-06T09:48:33
165,477,671
3
0
null
2022-12-08T04:57:01
2019-01-13T07:23:44
HTML
UTF-8
Python
false
false
326
py
""" 文件名: $NAME.py 日期: 22 作者: lvah 联系: xc_guofan@qq.com 代码描述: """ # Funnel from pyecharts import Funnel x_movies_name = ["猩球崛起", "敦刻尔克", "蜘蛛侠", "战狼2"] y_16 = [20, 40, 60, 80] funnel = Funnel("xxxx") funnel.add("电影信息", x_movies_name, y_16) funnel.render()
[ "976131979@qq.com" ]
976131979@qq.com
be8fee0b6bd84369dcb6184b9d336616c62b9c1e
52381a4fc02e90ce1fcfffd8d9876d9e8f44c248
/core/domain/improvements_domain.py
25ef52e9fe1a9039bf11be65260e769fa9f4e94e
[ "Apache-2.0" ]
permissive
ankita240796/oppia
18aa1609a0f237ce76142b2a0d3169e830e5bcdd
ba4f072e494fd59df53fecc37e67cea7f9727234
refs/heads/develop
2022-07-11T01:11:53.136252
2022-06-30T08:55:49
2022-06-30T08:55:49
160,626,761
0
0
Apache-2.0
2020-04-28T16:12:26
2018-12-06T06:02:18
Python
UTF-8
Python
false
false
7,962
py
# coding: utf-8 # # Copyright 2020 The Oppia 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 requi...
[ "noreply@github.com" ]
ankita240796.noreply@github.com
f5f81681f36f3471f4d27bbec8fce45ee8f30473
8157b3619467c8928f2c2d1669d115a00a4e1edc
/bert/optimization.py
4b75429eaaf8be262b562847068edea6ec84d245
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
soft-pure-empty/GEC-reaching-human-level
0e332849d45533de99ab8b991e25379c0b9c7cc2
2cd542b4fbbb40f426ae6e4625142de17f385744
refs/heads/master
2022-10-27T17:19:02.645578
2019-03-06T13:06:40
2019-03-06T13:06:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,261
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "334973834@qq.com" ]
334973834@qq.com
1b87df6e5c9001abd520146c6fc11f2b78351d09
f124a2bc35fa348d5f5b637eae2a736d67470c76
/tf-hub2/vector_calcu.py
f04be4c7015163255248a369b1555c7e845c8767
[ "Apache-2.0" ]
permissive
arfu2016/DuReader
fd173c0eb90abedad0ca65bd9b847ccd58bf567a
66934852c508bff5540596aa71d5ce40c828b37d
refs/heads/master
2021-04-06T05:45:13.002887
2018-09-06T03:58:26
2018-09-06T03:58:26
124,838,393
0
0
Apache-2.0
2018-03-12T05:35:13
2018-03-12T05:35:13
null
UTF-8
Python
false
false
5,454
py
""" @Project : DuReader @Module : vector_calcu.py @Author : Deco [deco@cubee.com] @Created : 5/15/18 10:44 AM @Desc : """ """ Created on Sun Aug 20 14:40:29 2017 @author: zimuliu """ from functools import reduce from math import acos, pi import numpy as np class Vector: def __init__(self, coord...
[ "deco@cubee.com" ]
deco@cubee.com
08c7a0d5de9c427ddea43392421159401108dedc
7704dfa69e81c8a2f22b4bdd2b41a1bdad86ac4a
/fuel_upgrade_system/fuel_upgrade/fuel_upgrade/tests/test_cli.py
b6d10faf846aeb2ea48f87e1d6b2f5b8c52536fa
[ "Apache-2.0" ]
permissive
andrei4ka/fuel-web-redhat
8614af4567d2617a8420869c068d6b1f33ddf30c
01609fcbbae5cefcd015b6d7a0dbb181e9011c14
refs/heads/master
2022-10-16T01:53:59.889901
2015-01-23T11:00:22
2015-01-23T11:00:22
29,728,913
0
0
Apache-2.0
2022-09-16T17:48:26
2015-01-23T10:56:45
Python
UTF-8
Python
false
false
2,251
py
# -*- coding: utf-8 -*- # Copyright 2014 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 requi...
[ "akirilochkin@mirantis.com" ]
akirilochkin@mirantis.com
7890a12e113f4a009322f64939ac986783a5565f
372b1321c545757308aa1ef93a3584d5674af40b
/2017/07/solver.py
13c3dd9fa254b6922c9fe0e5e47fa2453220fdac
[]
no_license
verdouxscience/advent-of-code
a10b129959a75c4821af1b831f88b89e71857bae
1f993f1104c818a8a0a459357c1be9a78bd33198
refs/heads/main
2023-04-09T10:20:44.307794
2021-04-05T01:55:18
2021-04-05T01:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
from aoc_parser import Parser from aoc_board import Grid, Point, Graph FILE_NAME = 'data' class Node: def __init__(self, value): value = value.split() self.id = value[0] self.weight = int(value[1][1:-1]) def __eq__(self, o): return str(self) == str(o) def __hash__(self...
[ "suslikovvd@gmail.com" ]
suslikovvd@gmail.com
c47a2131c66e6a0693914c73f4f493137080963c
aaa6354278eb889264e8cb2ee5877cd8f79d4c04
/torchwisdom/core/progress.py
667f9142230617d462920c94bed175de1b0f41fa
[ "MIT" ]
permissive
nunenuh/torchwisdom
88682ff71a87ebe7c01fbc149b9040e9a26fde89
0a0e5dda84d59243a084b053d98f2eabd76474f5
refs/heads/master
2020-04-27T09:11:33.078513
2019-05-12T13:33:48
2019-05-12T13:33:48
174,204,225
8
4
MIT
2020-03-08T22:44:04
2019-03-06T19:06:45
Python
UTF-8
Python
false
false
3,712
py
from fastprogress import master_bar from fastprogress.fastprogress import isnotebook from torchwisdom.core.callback import Callback from typing import * from torchwisdom.core.statemgr import StateManager from datetime import timedelta # __all__ = [] class ProgressTable(object): def __init__(self): pass ...
[ "nunenuh@gmail.com" ]
nunenuh@gmail.com
bbd0c5e6dfe3b1dd6ce23e3e5ea09fe588e6ecdc
987a68b9c196f39ba1810a2261cd4a08c35416a3
/BinarySearch/374-guess-number-higher-or-lower.py
719ded9d3727476c6b598a21120e1847f0b62c51
[]
no_license
xizhang77/LeetCode
c26e4699fbe1f2d2c4706b2e5ee82131be066ee5
ce68f5af57f772185211f4e81952d0345a6d23cb
refs/heads/master
2021-06-05T15:33:22.318833
2019-11-19T06:53:24
2019-11-19T06:53:24
135,076,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
# -*- coding: utf-8 -*- ''' We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wrong, I'll tell you whether the number is higher or lower. You call a pre-defined API guess(int num) which returns 3 possible results (-1, 1,...
[ "xizhang1@cs.stonybrook.edu" ]
xizhang1@cs.stonybrook.edu
459c64a151d5f14c2571ae8ddcda8396b1a73dee
2c4648efe8c7e408b8c3a649b2eed8bb846446ec
/codewars/Python/8 kyu/BinToDecimal/bin_to_decimal_test.py
0aae2d128c84e951df54be278457b2b6b1a82121
[]
no_license
Adasumizox/ProgrammingChallenges
9d79bd1b0ce4794b576124f9874aabb86d5c0713
3630fcde088d7991e344eb1b84805e9e756aa1a2
refs/heads/master
2021-07-16T08:16:57.538577
2020-07-19T19:58:28
2020-07-19T19:58:28
190,159,085
1
0
null
null
null
null
UTF-8
Python
false
false
599
py
from bin_to_decimal import bin_to_decimal import unittest class TestBinToDecimal(unittest.TestCase): def test(self): tests = ( ("1", 1), ("0", 0), ("1001001", 73), ) for t in tests: inp, exp = t self.assertEqual(bin_to_decim...
[ "darkdan099@gmail.com" ]
darkdan099@gmail.com
3ef84fc59f17834ac7d0fd369bd367bc09009366
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_knighted.py
53b6a3c8b9792513c95ece677355011f50817313
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from xai.brain.wordbase.nouns._knight import _KNIGHT #calss header class _KNIGHTED(_KNIGHT, ): def __init__(self,): _KNIGHT.__init__(self) self.name = "KNIGHTED" self.specie = 'nouns' self.basic = "knight" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9134c21c482197da0d0d50f272fc04d4bc7d382b
9b9b6a7aa1de1092a8480771f2b08ffa0972218d
/python/sklearn/linear-regression/workload-analysis/faster-rcnn/lr/lr.py
90e61bda1999d1313da975be3ec8679947fef79f
[ "WTFPL" ]
permissive
lijiansong/lang
c42ca757306b38f37a26fef841b2460f05a13af6
27ffecd9afe67ddac003fc4d6333e06e2cc20434
refs/heads/master
2023-02-25T17:36:01.221720
2023-02-14T14:10:29
2023-02-14T14:10:29
149,586,739
1
1
null
null
null
null
UTF-8
Python
false
false
3,826
py
from sklearn import linear_model def get_data(file_name): file_reader = open(file_name, 'r') x_list = [] y_list = [] try: text_lines = file_reader.readlines() print(type(text_lines)) data_parallel_min = model_parallel_min = thread_num_min = fifo_size_min = end2end_fps_min = 1000...
[ "lijiansong@ict.ac.cn" ]
lijiansong@ict.ac.cn
fd8d9edccb5cf431782d7a3b811a8be8d97b3cab
b182a3407b56c14b830b6ff3a543ba29d5996f84
/beartype_test/a00_unit/a00_util/test_utilclass.py
243c41c5a70f9dcddf4f9dced5d7a6262195fa2d
[ "MIT" ]
permissive
yamgent/beartype
9d1899a6e6dacd1dd74652a81a2c1f275b1fd775
afaaa0d8c25f8e5c06dd093982787b794ee48f2d
refs/heads/main
2023-03-19T18:27:44.326772
2021-03-08T06:20:57
2021-03-08T06:26:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
#!/usr/bin/env python3 # --------------------( LICENSE )-------------------- # Copyright (c) 2014-2021 Beartype authors. # See "LICENSE" for further details. ''' **Beartype class utility unit tests.** This submodule unit tests the public API of the private :mod:`beartype._util.cls.utilclstes...
[ "leycec@gmail.com" ]
leycec@gmail.com
5904499d418489afdf5bcc82482c93dea481d2b4
7d9d3d5ce2ac19221163d54a94c025993db0af4f
/autotest/gcore/asyncreader.py
e5cdc8c94fae9dfcb59bfb31d900631c01c51494
[ "MIT" ]
permissive
dcgull/gdal
5408adad77d001db32173bba547b447220b5e9a2
a5e2a7b54db955bd061ebfc6d69aa2dd752b120c
refs/heads/master
2020-04-03T13:30:40.013172
2013-10-11T12:07:57
2013-10-11T12:07:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,186
py
#!/usr/bin/env python ############################################################################### # $Id: asyncreader.py 22782 2011-07-23 19:20:29Z warmerdam $ # # Project: GDAL/OGR Test Suite # Purpose: Test AsyncReader interface # Author: Even Rouault <even dot rouault at mines dash paris dot org> # #########...
[ "gerard.choinka@ambrosys.de" ]
gerard.choinka@ambrosys.de
e8fb239b281d1398883df79eb69f5d7664a1a78c
92fb3d19b329434fe577fb5b8cc2e3302700d427
/midterm/task1/forms.py
8521fa2035b958a521928a7a1a41bbea07a0bf2b
[]
no_license
aigerimzh/BFDjango
6a2635db8a1017b64c304193277d3030b3daf196
99f81274abdf0afcd9925cf2af057e616c433448
refs/heads/master
2020-03-28T22:45:13.782301
2018-11-22T17:10:54
2018-11-22T17:10:54
146,699,388
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from django import forms from .models import Restaurant class RestaurantForm(forms.ModelForm): class Meta: model = Restaurant fields = ["r_name", "tel", "city"]
[ "ajgerimzumabaeva10@gmail.com" ]
ajgerimzumabaeva10@gmail.com
71af7fe8f846df967083da104419347fd6448bda
39f879ced0dbcbb92e7a12d8b09f4fa0aea4f925
/pajbot/models/kvi.py
499ba8d96ff3d9277996298df2f262fdc3e390c5
[ "MIT" ]
permissive
coral/pajbot
f205b750d77cf06c75229aee93a5879abe4a10de
682580f2a43a19a907cba231290b6d59157e123c
refs/heads/master
2021-01-14T08:30:17.534620
2016-03-24T22:15:24
2016-03-24T22:15:24
54,676,838
0
0
null
2016-03-24T21:58:09
2016-03-24T21:58:08
null
UTF-8
Python
false
false
1,383
py
import logging from collections import UserDict from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import String from pajbot.managers import Base from pajbot.managers import DBManager log = logging.getLogger('pajbot') class KVIData(Base): __tablename__ = 'tb_idata' id = Column(St...
[ "pajlada@bithack.se" ]
pajlada@bithack.se
83ba5b3175e103d12d140d6720c3c1c842808d87
9f9f4280a02f451776ea08365a3f119448025c25
/plans/hsppw/qcut_hsp-s_002_pwcc_logit_hs.py
389812e7751f3c4e9cb7cdc5e3736e373e543373
[ "BSD-2-Clause" ]
permissive
dbis-uibk/hit-prediction-code
6b7effb2313d2499f49b2b14dd95ae7545299291
c95be2cdedfcd5d5c27d0186f4c801d9be475389
refs/heads/master
2023-02-04T16:07:24.118915
2022-09-22T12:49:50
2022-09-22T12:49:50
226,829,436
2
2
null
null
null
null
UTF-8
Python
false
false
2,074
py
"""Plan using all features.""" import os.path from dbispipeline.evaluators import CvEpochEvaluator from sklearn.linear_model import LogisticRegression from sklearn.pipeline import Pipeline from sklearn.preprocessing import MinMaxScaler import hit_prediction_code.common as common from hit_prediction_code.dataloaders i...
[ "mikevo-uibk@famv.net" ]
mikevo-uibk@famv.net
b3272192375b1b837f1071863e9a82efcad1198e
0e59533f5ed141fd0d286dbdaebdbeba14ee576e
/Scripts/viewer.py
a70503d56ef444a57b0e4632c6e962bf3e714e87
[]
no_license
LizinczykKarolina/DjangoBussiness
cab793ee73435143abf3293b12371ac81805e3fc
b1d89109533c3f1f6b004b2ec259ea9ec13185bc
refs/heads/master
2021-09-25T17:59:09.380062
2018-10-24T21:52:34
2018-10-24T21:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
#!c:\pycharmprojects\djangoprojects\djangobussiness\scripts\python.exe # # The Python Imaging Library # $Id$ # from __future__ import print_function import sys if sys.version_info[0] > 2: import tkinter else: import Tkinter as tkinter from PIL import Image, ImageTk # # an image viewer class UI(tkinter.La...
[ "wieczorek.karolina1@o2.pl" ]
wieczorek.karolina1@o2.pl
bd689d04a2bef94ca53dd98eaece7d358b901fcb
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/unsupervised analysis/VIP/pcatv_components_analysis_VIP.py
661f315760166011bf65da58fca12157fcc75feb
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
6,856
py
import os import numpy as np import matplotlib.pyplot as plt import nibabel as nib import pandas as pd import nibabel as nib import json from nilearn import plotting from nilearn import image from scipy.stats.stats import pearsonr ############################################################################### # SCZ ...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
32c1fd44ad91e650d9dd909d4c6ffd0db4a42814
288bbf5b6bf4c8471896533dc4c0538f1733c3a4
/web_flask/1-hbnb_route.py
1f5e59d54c15956153ef5b59f68cb0d58f6ad668
[]
no_license
lemejiamo/AirBnB_clone_v2
e75e61551763ed9677981b66d15667bdfe288dfc
9a72db6fe2f100c1974fb0ebe0e3a8b5fb140d65
refs/heads/master
2023-07-19T03:17:10.412000
2021-09-21T23:46:58
2021-09-21T23:46:58
393,437,169
0
1
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/python3 """ initilice basic flask server """ from flask import Flask app = Flask(__name__) @app.route('/', strict_slashes=False) def index(): """ route to root """ return 'Hello HBNB!' @app.route('/hbnb', strict_slashes=False) def hbnb(): """route to hbnb""" return 'HBNB' if __name__ =...
[ "luismejia69@gmail.com" ]
luismejia69@gmail.com
b25c921d84ede98178527e22823a6081472ab0f5
409c4d0dce72de987dff7c76857499fba8f8b7a0
/popmail.py
9735a642e45baeca25654101668a883343048f32
[]
no_license
crystaleone/test
b4fece7fbc4e8ddd6186ea13245c62970c6d7038
4af3964bf6a657e888c7850f07a031440ba29e7a
refs/heads/master
2021-01-18T19:17:36.924170
2017-09-19T03:37:01
2017-09-19T03:37:01
86,895,858
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
import poplib, getpass, sys, mailconfig mailserver = mailconfig.popservername mailuser = mailconfig.popusername mailpasswd = getpass.getpass('Password for %s?' % mailserver) print('Connection...') server = poplib.POP3(mailserver) server.user(mailuser) server.pass_(mailpasswd) try: print(server.getwelcom()) msgCoun...
[ "403868144@qq.com" ]
403868144@qq.com
4305a78a71ad47ae984d4d566913ad9b7caf9f6f
6336828aeab3ea2ba3e1cf9452a8a3f3a084b327
/django_react_users_tutorial/virtual-env/bin/pip3
90eaf20b91fc5bd44e053571f6f42364ee896361
[]
no_license
kalereshma96/DjangoNewRepository
85f2eaed6b689be273af48d328c0a388244bbe2b
37fd232c2ac91eb6940300f20118f93d17926f9a
refs/heads/master
2020-04-12T18:12:15.698279
2019-01-21T13:46:37
2019-01-21T13:46:37
162,672,682
0
0
null
null
null
null
UTF-8
Python
false
false
449
#!/home/admin1/PycharmProjects/mynewpythonproject/django_react_users_tutorial/virtual-env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-s...
[ "kalereshma96@gmail.com" ]
kalereshma96@gmail.com
ffcf2b18e3380c3824334a82b20ab916324a1565
b68d4e7826c29a22b002ff9c10583faeb7a10455
/pikry-3.4.1/bin/pilfont.py
bd6e47c8c714d7f812e439293df8a80bde33f003
[]
no_license
mikanyman/.pyenv_versions-legacy
ec392821290bd38873b25824c4261b15dc1a5067
5a42c7c21e800610f4f5f322d73d1dbd62a081b9
refs/heads/master
2022-10-13T10:22:13.956161
2017-01-31T20:10:04
2017-01-31T20:10:04
80,555,789
0
1
null
2022-09-30T13:39:01
2017-01-31T19:49:56
Python
UTF-8
Python
false
false
1,059
py
#!/home/mnyman/.pyenv/versions/pikry-3.4.1/bin/python3.4 # # The Python Imaging Library # $Id$ # # PIL raster font compiler # # history: # 1997-08-25 fl created # 2002-03-10 fl use "from PIL import" # from __future__ import print_function VERSION = "0.4" import glob, sys # drivers from PIL import BdfFontFile fr...
[ "mika.nyman@synapse-computing.com" ]
mika.nyman@synapse-computing.com
4782ed428274689a290b12241878031341eba26d
52b5773617a1b972a905de4d692540d26ff74926
/.history/minCost_20200826171103.py
dfc9066a4786aa0d420bc1121c66f4347f61d3bd
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
def minCost(days,costs): # brute force approach # find if numbers are consecutive # if they are past 7 then means we do a 30 day pass # once they stop being consecutive means to opt for something different # like [1,4,6,7,8,20] ways = [0] * days[len(days)-1] newDays = set(days) ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com