blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2
values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777
values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149
values | src_encoding stringclasses 26
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.2M | extension stringclasses 188
values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9e75ff06f11474382ba76f34792e4c64d38e09b | 69cbf97bcf4063f9eb0c95a2a807b272b23e6860 | /backend/tasker_business/migrations/0001_initial.py | 860b3c0f13b84c89f0e0923cde0c7d5d3bd2747d | [] | no_license | crowdbotics-apps/babson-laundry-20908 | 8a94054b1d32c218887ed7968a4ea64f421455c6 | 837b9a9229b178528af04eda7ed8393b8a494529 | refs/heads/master | 2022-12-26T06:15:51.567253 | 2020-09-30T23:34:33 | 2020-09-30T23:34:33 | 300,088,386 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,617 | py | # Generated by Django 2.2.16 on 2020-09-30 23:32
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('task_profile', '0001_initial'),
('task_category', '0001_initial'),
]
operations = [
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
fae843cceda2d6b14bc518b0d43eb07748a292c6 | affe6c648b9ce2434919ccbd88d36d969a619f94 | /moya/syntax.py | 41b113562799e558bdc8d58f2acb3d10a88dee74 | [
"BSD-3-Clause"
] | permissive | thiagocalheiros/weasyprint_for_awslambda | 578c4e8c10aef40f82e36f0a9de5ec31032335f8 | 4080c49a3fb5fc94fca75bf38e8b10ee1acfb7ce | refs/heads/master | 2020-03-18T18:19:08.855086 | 2018-05-31T19:32:40 | 2018-05-31T19:32:40 | 135,084,321 | 0 | 0 | null | 2018-05-27T21:52:46 | 2018-05-27T21:52:46 | null | UTF-8 | Python | false | false | 10,661 | py | from __future__ import unicode_literals
from __future__ import print_function
import re
from .tools import timer, remove_padding
from .compat import iteritems, with_metaclass
from .filter import MoyaFilterBase
from .render import HTML
from .compat import text_type
from textwrap import dedent
def _escape_html(text)... | [
"thiagovccalheiros@gmail.com"
] | thiagovccalheiros@gmail.com |
35456a04ea8f78ca9db7444e34d4feedd5f40c3e | 417ab6024a95e97b4d2236c67e28d00e6d1defc0 | /python/fetch/dxg11/video.py | 9466fc10191094b588ddccc963b9fe26be320b6d | [] | no_license | zeus911/myconf | 11139069948f7c46f760ca0a8f1bd84df5ec4275 | 6dc7a6761ab820d6e97a33a55a8963f7835dbf34 | refs/heads/master | 2020-04-18T02:16:09.560219 | 2019-01-22T18:15:08 | 2019-01-22T18:15:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,002 | py | #!/usr/bin python
# -*- coding: utf-8 -*-
from baseparse import *
from urlparse import urlparse
from common import common
from urllib import unquote
import time
from fetch.profile import *
from urllib import unquote
class VideoParse(BaseParse):
def __init__(self):
pass
def run(self):
dbVPN = ... | [
"liguoqing19861028@163.com"
] | liguoqing19861028@163.com |
7abde86a119f419882c9d231c44665c637db6b88 | 40eea049f7e9cef38f30da90b9dd38f840eab240 | /nvij-cliprm-ec362ad713de/cliprm/mobile/migrations/0011_auto__del_field_addedproduct_userid__add_field_addedproduct_user.py | 536a36c73a2d4b7a909732602cf8e1e9d18ff481 | [] | no_license | pratikpoddar/clipr | ddf9a6e6ca9e50e84cd7dcc36ae732876e019da6 | a84a88d8a6eb76836b0bef4b6531919a563b1345 | refs/heads/master | 2021-05-27T21:53:03.844876 | 2014-07-18T10:52:41 | 2014-07-18T10:52:41 | 21,977,252 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 25,408 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Deleting field 'Addedproduct.userid'
db.delete_column(u'addedProduct', 'userid_id')
# Adding fiel... | [
"pratik.phodu@gmail.com"
] | pratik.phodu@gmail.com |
3e1e318420bd273a78ae3e2ebd45be9d2f6f45f8 | 195777db6c7ef2016c09807eb1e6036a1c4c98d3 | /vie-syntax-correcting.py | 0d1503ef12567e580f9804ad1c61330f27142dc0 | [] | no_license | curlyz/py-exercise | e3628b2042e7d7219828340317a83502d42a0567 | 26a6fb08714b716ca2e9d41ecca076e7aabbd7ea | refs/heads/master | 2020-04-21T17:54:07.438498 | 2019-05-09T14:53:40 | 2019-05-09T14:53:40 | 169,750,911 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,187 | py | # Code for correting vietnamese syntax
# Visit https://en.wikipedia.org/wiki/Vietnamese_phonology
"""
ngang "level" A1 mid level ˧ (33) (no mark) ba ('three')
huyền "deep" A2 low falling (breathy) ˨˩ (21) or (31) ` bà ('lady')
sắc "sharp" B1 mid rising, tense ˧˥ (35) ´ bá ('governor')
nặng "heavy" B2 mid falling, ... | [
"noreply@github.com"
] | curlyz.noreply@github.com |
a783f32835472be65aa4be4858f9d27877f8a3d8 | d7796395583ebf8c5b0ac714d874a9b39367a53c | /pytorch_metric_learning/utils/common_functions.py | 8b3f24712c0af0b30049a1a1ec3f6a6f41bad6b0 | [
"MIT"
] | permissive | pgsrv/pytorch-metric-learning | de244e6bed8c4768cae2c3d92a7737a546ccecb7 | 43093bd75988e735446b623a31a5521255cfec1f | refs/heads/master | 2021-04-02T15:45:26.940671 | 2020-03-17T10:56:04 | 2020-03-17T10:56:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,147 | py | import collections
import torch
from torch.autograd import Variable
import numpy as np
import os
import logging
import glob
import scipy.stats
NUMPY_RANDOM = np.random
class Identity(torch.nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
return x
d... | [
"tkm45@cornell.edu"
] | tkm45@cornell.edu |
58da2792c1b942ba3a36c5b97d0c96de9822eebe | 565f95f207f49d987bdc372cd80942be95451731 | /python/soap/google.py | d5ee30f72096404561eba1de595d67841a767c05 | [] | no_license | dustin/snippets | 76724c2131546bddd35a80da16921a44a49e2262 | 5be535890f9e71e298fec601d55c469c542ea330 | refs/heads/master | 2023-08-18T22:01:39.546961 | 2022-12-29T07:39:40 | 2022-12-29T07:39:40 | 18,840 | 18 | 4 | null | 2013-01-06T08:10:39 | 2008-05-22T07:58:19 | C | UTF-8 | Python | false | false | 3,119 | py | #!/usr/bin/env python
# Copyright (c) 2002 Dustin Sallings <dustin@spy.net>
# $Id: google.py,v 1.5 2002/04/16 08:48:39 dustin Exp $
from __future__ import generators
import sys
import SOAPpy
class ResultsNotReady:
"""Exception raised when attempting to use search results
before they're ready."""
pass
c... | [
"dustin@spy.net"
] | dustin@spy.net |
3ae104945fd37440fdcf79bce01e67a121299cb3 | 64b301791f73c37950ade855f43e3c6f98aa7492 | /durgasoft/chapter79/bank.py | 13833df02883d66d1d830dd6ee20d6d88a77884f | [] | no_license | nandansn/pythonlab | cf71dc6f894076d84c0bff3bd25b395fef37dfa2 | b3d6b49614631b621f52789ef20ed9f6d978feb0 | refs/heads/master | 2022-12-27T03:49:08.811610 | 2022-12-15T06:25:53 | 2022-12-15T06:25:53 | 95,769,362 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 360 | py | class BankAccount:
def __init__(self,account_number,balance):
self.__account_number = account_number
self.balance = balance
def display(self):
print(self.__account_number)
b = BankAccount('123456',120000)
print(b.balance)
b.display()
#print(b._BankAccount__account_number)... | [
"nandakumar.rangasamy@oracle.com"
] | nandakumar.rangasamy@oracle.com |
b217883a221863bea0b80267b6cfec9ced72a419 | 74e32ab886d4fc82c6e7425f2eca1e4d50e09f0a | /log/example.py | 9bc1e63aadeaa5345ece05e1a01d0a6da8ca8920 | [] | no_license | sambapython/python22 | 1aff2330fbff4db207d076177867ee145575c143 | cfeb00d748c6768503d678519194a93ecc19a922 | refs/heads/master | 2020-06-27T06:29:29.180429 | 2016-12-31T05:31:52 | 2016-12-31T05:31:52 | 74,537,443 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 501 | py | import logging
import mod1
#logging.info(mod1.fun())
logging.basicConfig(filename='log1.txt',
level=logging.DEBUG, format="%(asctime)s->%(levelname)s->%(message)s")
logging.info(mod1.fun())
logging.info("program started")
a=raw_input("Enter number to divide 100: ")
if not a.isdigit():
logging.warn("{0} is going to cr... | [
"sambapython@gmail.com"
] | sambapython@gmail.com |
9c7f25083771460362a411613772967c9f0bcefd | 98798f6777c959a5fbcf3fe9e2c33a50b60f6df2 | /funciones/llamad_retorn.py | c58d34543b063826dcb10ae5ce586ba35e5c7421 | [] | no_license | EdwinLGV/pythonlessons | 72907d7a36ce817a981c6490904635b1a80fa394 | 46959b9bf738104142850099e7accc59604810f2 | refs/heads/master | 2023-06-13T05:33:16.829682 | 2021-07-05T00:36:32 | 2021-07-05T00:36:32 | 378,508,310 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 166 | py | def funcion():
return("Hola, Mundo")
def saludar(nombre, mensaje = 'Hola'):
print(mensaje, nombre)
print(funcion())
saludar('Edwin')
print(max('Edwin'))
| [
"elguzmanv@gmail.com"
] | elguzmanv@gmail.com |
6369ef4fc8a07b45bd4ec111a2b83a7360b49b71 | 0809673304fe85a163898983c2cb4a0238b2456e | /tmp/ve_asus-rt-n14uhp-mrtg/lib/python3.4/site-packages/django/views/decorators/http.py | bef9ea61a9a9c9f6a335abdcc435646dae5b6f9a | [
"Apache-2.0"
] | permissive | jasonwee/asus-rt-n14uhp-mrtg | 244092292c94ff3382f88f6a385dae2aa6e4b1e1 | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | refs/heads/master | 2022-12-13T18:49:02.908213 | 2018-10-05T02:16:41 | 2018-10-05T02:16:41 | 25,589,776 | 3 | 1 | Apache-2.0 | 2022-11-27T04:03:06 | 2014-10-22T15:42:28 | Python | UTF-8 | Python | false | false | 4,411 | py | """
Decorators for views based on HTTP headers.
"""
import logging
from calendar import timegm
from functools import wraps
from django.http import HttpResponseNotAllowed
from django.middleware.http import ConditionalGetMiddleware
from django.utils.cache import get_conditional_response
from django.utils.decorators imp... | [
"peichieh@gmail.com"
] | peichieh@gmail.com |
bf5dbb2d364e30104fe3f79dd2c7653d34f9794f | ac562c0d008a282bef5ea4705b4fc8c2b8897964 | /Ch10_OO/Inheritance/Solutions/Cat.py | 12eefc6c5888de18ddc3b26f42980d5c95281c79 | [] | no_license | jimmus69/python-projects | ed78a50250356e9366c9d10303facf037a310596 | 9a91fe7f979e6e09dedec7b60595e91ae2d0d321 | refs/heads/master | 2021-01-21T10:52:08.486557 | 2017-05-18T18:51:54 | 2017-05-18T18:51:54 | 91,708,264 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,369 | py | from Animal import Animal
class Cat(Animal):
"""
Cat a subclass of Animal.
"""
number_of_cats = 0
def __init__(self, name, eyecolor):
"""
Creates a cat instance
"""
Animal.__init__(self,name)
self.eyecolor = eyecolor
Cat.number_of_cats = Cat.number_of_cats + 1
def __del__(self):
if Cat:
Cat.n... | [
"noreply@github.com"
] | jimmus69.noreply@github.com |
df26bdcf94752dd4dd5fe01f164e838c90918c43 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02658/s704720676.py | 16cd0a743087d5fd5b49093db02e636b2bb7122a | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 218 | py | n = input()
a = list(map(int,input().split()))
ans = 1
t = False
for i in a:
if i == 0:
ans = 0
t = True
if t != True:
for i in a:
ans *=i
if ans>10**18:
ans = -1
break
print(ans) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
13056ef9fafb710a3d459be9b251046948b2662a | 1caf4418f3549567637f5e9893a445f52a38c6a0 | /CmsAdmin/user_content/app/commands/user_view_story_command.py | 0f98239592478092b66516a45eaae2ae61c711dd | [] | no_license | Final-Game/social_network_backend | c601563e08c0fd7de72a614944f354ef8d2d31d8 | 8111787d1d20eb87733ae360d8baa745a65e2743 | refs/heads/master | 2023-03-04T21:12:43.147084 | 2021-02-23T03:45:22 | 2021-02-23T03:45:22 | 290,542,389 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,675 | py | from user_content.domain.models.story_viewer import StoryViewer
from user_content.app.dtos.react_tory_dto import ReactStoryDto
from django.db import transaction
from core.common.base_api_exception import BaseApiException
from user_content.domain.models.user_story import UserStory
from user_content.domain.models.accoun... | [
"kakavip.198.kaka@gmail.com"
] | kakavip.198.kaka@gmail.com |
bb6a17dbe90652ad2832fb128967de8d2f48404f | 6e601105760f09d3c9f5306e18e4cf085f0bb4a2 | /10000-99999/12100.py | 7efca2e91c9117833b4e6c1a74925cc4ed389f15 | [] | no_license | WSJI0/BOJ | 6412f69fddd46c4bcc96377e2b6e013f3bb1b524 | 160d8c13f72d7da835d938686f433e7b245be682 | refs/heads/master | 2023-07-06T15:35:50.815021 | 2023-07-04T01:39:48 | 2023-07-04T01:39:48 | 199,650,520 | 2 | 0 | null | 2020-04-20T09:03:03 | 2019-07-30T12:48:37 | Python | UTF-8 | Python | false | false | 2,762 | py | '''
12100번
2048 (Easy)
'''
import sys
import copy
from collections import deque
input=sys.stdin.readline
n=int(input())
board=[]
for _ in range(n):
board.append(list(map(int, input().split())))
def move(board, direction):
global n
if direction==1: #우->좌
for i in range(n):
mix=-1
... | [
"lifedev@naver.com"
] | lifedev@naver.com |
e9ed31c55c47e4397d65aa5cfe8d97fcd908e0bd | 9ad5d707fc1b80ba30b4ecef7d0120806b5efb5b | /tileproxy.py | 87b313013ddc5f83f08b6ab572dc7d2215d30ca8 | [
"MIT"
] | permissive | iandees/esri-proxy | 4259a69e26e098cb5f4d2fe9b557ae3488d17e46 | 443b8f665884f99e9c41c31b1373f9d18781482a | refs/heads/master | 2020-04-05T08:29:47.495318 | 2017-09-13T00:39:47 | 2017-09-13T00:39:47 | 81,779,584 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 10,956 | py | from flask_caching import Cache
from flask_migrate import Migrate
from flask_sqlalchemy import SQLAlchemy
from flask_wtf import FlaskForm
from wtforms import SelectField, StringField
from wtforms.validators import DataRequired
from flask import (
Flask,
abort,
flash,
jsonify,
make_response,
redi... | [
"ian.dees@gmail.com"
] | ian.dees@gmail.com |
d2b1701704b0356e06be22a3561a2531670e0c56 | fd879fd9806d8d962170b9df0d30522232ac5bcc | /TP3/EJ3/calculos/contraste_aol.py | 6779a0dc530c36eec78e5dd8068049268e436085 | [] | no_license | newtonis/22.01-Circuit-Theory | 1afe6121d5bf54c8c9288f7659d12e2c49bc2b59 | 4d4de635dde23b0b1c627cbfb725392de95049af | refs/heads/master | 2022-01-10T07:03:16.509783 | 2019-03-09T23:19:09 | 2019-03-09T23:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,590 | py | from transferencias import *
from scipy import signal
import numpy as np
from math import *
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
from random import *
import datacursor_easy
f_range = np.logspace(2, 6, 10000)
w_range = [2 * pi * i for i in f_range]
a0values = np.logspace(4.69, 5.69, 7... | [
"newtonis.penguin@gmail.com"
] | newtonis.penguin@gmail.com |
6529938c9569b1b2615701e7af1db862c9894f63 | d6c2cdb37fc9c268b0eec4a49a028653eb4cf6d3 | /gimmemotifs/motif/_scanning.py | 639037d2e81566e24abb1dffb98e8be5e3c03094 | [
"MIT"
] | permissive | JGASmits/gimmemotifs | 97f4e2d8335eacb29e7d5358553be09e392fcbc7 | 6205d503a74a74bfa83092b6c3fc1c73ea0c8466 | refs/heads/master | 2022-12-25T06:25:32.890566 | 2022-10-12T15:12:31 | 2022-10-12T15:12:31 | 246,852,462 | 0 | 0 | MIT | 2020-03-12T14:17:13 | 2020-03-12T14:17:12 | null | UTF-8 | Python | false | false | 6,587 | py | # Copyright (c) 2009-2021 Simon van Heeringen <simon.vanheeringen@gmail.com>
#
# This module is free software. You can redistribute it and/or modify it under
# the terms of the MIT License, see the file COPYING included with this
# distribution.
"""Scanning functions for Motif class"""
from warnings import warn
from ... | [
"simon.vanheeringen@gmail.com"
] | simon.vanheeringen@gmail.com |
6b621fe4788a5d8facaea6a50ee3acbe59674128 | d326cd8d4ca98e89b32e6a6bf6ecb26310cebdc1 | /BioinformaticsStronghold/pdst/pdst.py | 4e882fb5df954bcb2c46d3c7ec50d7bd90f8c74f | [] | no_license | dswisher/rosalind | d6af5195cdbe03adb5a19ed60fcbf8c05beac784 | 4519740350e47202f7a45ce70e434f7ee15c6afc | refs/heads/master | 2021-08-09T02:58:17.131164 | 2017-11-12T01:26:26 | 2017-11-12T01:26:26 | 100,122,283 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,128 | py |
import sys
def read_fasta(fname):
seqs = []
with open(fname, "r") as ins:
for line in ins:
line = line.strip()
if line[0] == '>':
seqs.append('')
else:
seqs[len(seqs) - 1] += line
return seqs
def print_matrix(m):
for x in x... | [
"big.swish@gmail.com"
] | big.swish@gmail.com |
8f5e48788f72d9f7b4e1a943db4030d8418abab0 | 8b720344247b43205a284b2e8255e8be01c0f0ba | /Toxicity/BERT_trainer.py | a86c9b3a34440b923b19e313cd4f58d05a706310 | [] | no_license | bi3mer/CS6120_NLP_Project | 71022c967f096e9a5ae315f6bdc2edc4b8485a43 | c114701b482b4b04311f0f33fce958ef75e4a5a4 | refs/heads/master | 2022-07-23T04:52:40.030462 | 2019-12-06T23:59:04 | 2019-12-06T23:59:04 | 209,356,586 | 0 | 0 | null | 2022-06-21T23:37:01 | 2019-09-18T16:35:43 | Jupyter Notebook | UTF-8 | Python | false | false | 3,143 | py | #!/usr/bin/env python
# coding: utf-8
# ## Configuration
# #### Model
# model_type = 'bert-base-cased'
model_type = 'bert-base-uncased'
# model_type = 'bert-large-cased'
# model_type = 'bert-large-uncased'
dataset_size = None # set to None for full dataset
min_length = 140
# #### Learning Parameters
epochs =... | [
"colan@comcast.net"
] | colan@comcast.net |
2c465ca80867e2a665948f6d7561f4b93b1f4e41 | dce4a52986ddccea91fbf937bd89e0ae00b9d046 | /jni-build/jni-build/jni/include/tensorflow/contrib/slim/python/slim/data/dataset_data_provider.py | 148b4938551fb396b678cc8cb69e7a430aa8041f | [
"MIT"
] | permissive | Lab603/PicEncyclopedias | 54a641b106b7bb2d2f71b2dacef1e5dbeaf773a6 | 6d39eeb66c63a6f0f7895befc588c9eb1dd105f9 | refs/heads/master | 2022-11-11T13:35:32.781340 | 2018-03-15T05:53:07 | 2018-03-15T05:53:07 | 103,941,664 | 6 | 3 | MIT | 2022-10-28T05:31:37 | 2017-09-18T13:20:47 | C++ | UTF-8 | Python | false | false | 2,988 | py | # Copyright 2016 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 agree... | [
"super_mr.z@hotmail.comm"
] | super_mr.z@hotmail.comm |
52a082520a4a17c1673ceb017cc93fcbd537359a | bd2e45a5e85faf207fe57eaa34ff86d7c6fc3cfa | /sud/services/user_key_store/conf.py | f17290d9c7b554b7391a3b68d7deb6fc006ddd69 | [
"Apache-2.0"
] | permissive | bballamudi/secure-user-data | d307bc3a2f486b198857aaf60dce6d9620a1767e | 69d508a3c0c6254d5a4fa1c41bffe5936c988b8f | refs/heads/master | 2021-04-05T00:22:51.773722 | 2018-05-14T04:05:24 | 2018-05-14T04:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 515 | py | from decouple import config
class ServerConfig:
debug = config('DEBUG', default=False, cast=bool)
host = config('HOST', default='0.0.0.0')
port = config('PORT', default=8001, cast=int)
cert = config('SSL_CERT_FILE', default=None)
key = config('SSL_KEY_FILE', default=None)
dburl = conf... | [
"david.jose.delassus@gmail.com"
] | david.jose.delassus@gmail.com |
1c99329253a6483a3e4f63d191bb2d7e73a8c4f9 | 6c0088366c1a5f92a0842be79952b29577af3a80 | /MyPlayground/nn/Implementations/softmax_activation_.py | 45e8d3fa63a98784b3e19952f0d4ef51784356f3 | [] | no_license | BenjaminLiuPenrose/DLAssignmentSolution | b6ac85c124a9ceda9046ba1063199d3f7275f250 | 0e3b482c6f81b3004f416d19f59184496f379900 | refs/heads/master | 2018-11-26T19:33:13.745106 | 2018-09-05T05:25:37 | 2018-09-05T05:25:37 | 120,590,602 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,417 | py | # -*- coding: utf-8 -*-
#!/usr/bin/env python
'''
Student name: Beier (Benjamin) Liu
Date:
Project Part
Remark:
Python 2.7 is recommended
Before running please install packages *numpy
Using cmd line py -2.7 -m install [package_name]
'''
import os, time, logging
import copy, math
import functools, itertools
import num... | [
"imbenliu@gmail.com"
] | imbenliu@gmail.com |
ffcb8a45fcebb79633873ba927dd1310dfa8f806 | f8cb5c97380e3a6f0bde2442a32f8cb1fcb1ced2 | /pinax/likes/signals.py | c150730bf7d455fae66dce7f09b730044436b5ba | [
"MIT"
] | permissive | pinax/pinax-likes | dd8b3aa6fee316fa1905cbdf0c9fabb4511bf600 | dedbe4b130e58da7a9674e9dbc737a0f67dd89f6 | refs/heads/master | 2023-06-22T15:55:16.823202 | 2021-03-12T23:04:09 | 2021-03-12T23:04:09 | 2,326,967 | 85 | 25 | MIT | 2020-10-11T06:22:39 | 2011-09-05T08:02:36 | Python | UTF-8 | Python | false | false | 176 | py | import django.dispatch
object_liked = django.dispatch.Signal(providing_args=["like", "request"])
object_unliked = django.dispatch.Signal(providing_args=["object", "request"])
| [
"paltman@gmail.com"
] | paltman@gmail.com |
788c12292d907f0e5c8a9762fb1dbb7397bba425 | bfe6c95fa8a2aae3c3998bd59555583fed72900a | /leastInterval.py | aec94f27370304f5cfb236055c20f0a94a651b8c | [] | no_license | zzz136454872/leetcode | f9534016388a1ba010599f4771c08a55748694b2 | b5ea6c21bff317884bdb3d7e873aa159b8c30215 | refs/heads/master | 2023-09-01T17:26:57.624117 | 2023-08-29T03:18:56 | 2023-08-29T03:18:56 | 240,464,565 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,057 | py | from typing import *
class Solution:
def leastInterval(self, tasks: List[str], n: int) -> int:
if len(tasks)==0:
return 0
if n==0:
return len(tasks)
log={}
for l in tasks:
log[l] = log[l]+1 if l in log.keys() else 1
log=sorted(list(log.val... | [
"zzz136454872@163.com"
] | zzz136454872@163.com |
069ae51571412428c9a42976a973c162a0305b78 | 099d2aca419e3c66ca4351379735654d82113720 | /exemplos/par2.py | 12b54dbe6d637788fa5286bce8eff45ba4abe760 | [] | no_license | rg3915/py-net-coders | 2fea07f1954243ce02236125dc0ce74a178969bf | 5b4e8f0eeee6a8787611241a84ac43bc2576b224 | refs/heads/master | 2020-12-05T10:37:31.666953 | 2016-09-12T17:59:42 | 2016-09-12T17:59:42 | 67,733,301 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 333 | py | import unittest
def par(n):
return n % 2 == 0
class EvenNumberTest(unittest.TestCase):
def test_0(self):
self.assertEqual(par(0), True)
def test_1(self):
self.assertEqual(par(1), False)
def test_42(self):
self.assertEqual(par(42), True)
if __name__ == '__main__':
uni... | [
"rg3915@yahoo.com.br"
] | rg3915@yahoo.com.br |
06fac376a3510d541b3049a58e57866542096ab2 | 63c1fab6f81b10488b3416c6f71584d677e47e9b | /test/test_data_transformation_api.py | 4b3f677f9ef7078c56efb51e4433eb6e15e1be5c | [] | no_license | mintproject/model-catalog-python-api-client | b0d1175dbcc4f2705727e79f39a340318d5a4f01 | dc6858033a78ae8401efa6cad8b3e0786cffa0aa | refs/heads/master | 2022-12-12T04:29:07.735034 | 2021-06-03T01:18:52 | 2021-06-03T01:18:52 | 180,677,516 | 0 | 1 | null | 2022-12-08T06:43:28 | 2019-04-10T23:12:34 | Python | UTF-8 | Python | false | false | 1,718 | py | # coding: utf-8
"""
Model Catalog
This is the API of the Software Description Ontology at [https://w3id.org/okn/o/sdm](https://w3id.org/okn/o/sdm) # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
impor... | [
"maxiosorio@gmail.com"
] | maxiosorio@gmail.com |
feac1deab1fb972d61e80408437f31b729bff3ae | 080db1ae362de6823e7c78ab6071c82e347ce967 | /tests/unit/clients/test_log_config.py | 00664a519e393e18e64f95ed0128483262d85c8d | [
"Apache-2.0"
] | permissive | jina-ai/jina | c06898dc31dd3de1f917f30305e9460efedf97c3 | 23c7b8c78fc4ad67d16d83fc0c9f0eae9e935e71 | refs/heads/master | 2023-08-30T23:04:45.267920 | 2023-08-24T13:49:49 | 2023-08-24T13:49:49 | 240,315,046 | 20,687 | 2,460 | Apache-2.0 | 2023-09-14T12:30:45 | 2020-02-13T17:04:44 | Python | UTF-8 | Python | false | false | 847 | py | import os
from jina import Deployment, Flow
cur_dir = os.path.abspath(os.path.dirname(__file__))
def test_log_config_arg():
log_config_file = 'logging.custom.yml'
cli_args = ['--log-config', log_config_file]
from jina.parsers import set_client_cli_parser
args = set_client_cli_parser().parse_args(c... | [
"noreply@github.com"
] | jina-ai.noreply@github.com |
3a8f615f292ed9a775d3d3f7c1eb4e4cffab85f7 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/29/usersdata/98/9679/submittedfiles/atividade.py | 4fb43c91c84ac341b00c11ae14e8d7f1008ce00f | [] | 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 | 225 | py | # -*- coding: utf-8 -*-
from __future__ import division
import math
n=int(input('Digite o valor de n: '))
contador=0
while True:
valor=n/10
contador=contador+1
n=n//10
if n==0:
break
print(contador) | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
f4676d4f21c9e78dba00c5523092defdad59ed98 | c4e1fab2941f3fe51aa5f2400ba695171b436457 | /bsp/stm32/stm32f767-atk-apollo/SConstruct | dd77b5c1d3d8763d578147c3f3233bdab16e056c | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | bevis-wong/rt-thread | af0c541539f6957bf06592855b989f14951191f4 | fe9ee68ea344035853004bbfb92afb7a7b94a10d | refs/heads/master | 2020-04-14T23:27:37.139286 | 2019-03-10T04:25:25 | 2019-03-10T04:25:33 | 164,202,952 | 4 | 0 | Apache-2.0 | 2019-01-05T10:02:40 | 2019-01-05T10:02:40 | null | UTF-8 | Python | false | false | 1,646 | import os
import sys
import rtconfig
if os.getenv('RTT_ROOT'):
RTT_ROOT = os.getenv('RTT_ROOT')
else:
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
try:
from building import *
except:
print('Cannot found RT-Thread root directory, please ... | [
"SummerGift@qq.com"
] | SummerGift@qq.com | |
eec60bb6c0890f3712db6d6d578b2cd3e4646cb8 | c1fa0ae98980deb0ec38535493c6d49e00ef76d6 | /leetcode.com/python/621_Task_Scheduler.py | f8e4f5febd350ceca68f4e92ce60facaf85505b4 | [
"MIT"
] | permissive | vishalkumarmg1/Algorithms | 1d76faef122aa54790a1f63dd76b30b4fab4b9ea | d6a996d583d566cf14d6a4b8abd560221920e3d6 | refs/heads/master | 2020-09-07T20:30:13.496243 | 2019-11-10T21:06:43 | 2019-11-10T21:06:43 | 220,904,826 | 3 | 5 | MIT | 2019-11-11T05:04:07 | 2019-11-11T05:04:07 | null | UTF-8 | Python | false | false | 3,227 | py | from heapq import heappush, heappop
from collections import Counter
# Task Scheduler - https://leetcode.com/problems/task-scheduler/
class Solution:
def inverse(self, num):
return -1 * num
def leastInterval(self, tasks, n):
"""
:type tasks: List[str]
:type n: int
:rty... | [
"partho.biswas@aurea.com"
] | partho.biswas@aurea.com |
47591fd89e9d587f918d4ecf4ee954ff6b727d97 | 3d989666e6ceb2abc9175dcf7b1d0c1f8c76d205 | /py_solution/p66_add_one.py | 843ae2481b3c719c9169c7bbb6d03a90f4979341 | [] | no_license | dengshilong/leetcode | 00ae0898b4645efd1de69a13f2fa92606e899297 | 5ab258f04771db37a3beb3cb0c490a06183f7b51 | refs/heads/master | 2021-01-10T11:58:10.396399 | 2020-04-10T12:10:54 | 2020-04-10T12:10:54 | 47,912,974 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 566 | py | class Solution(object):
def plusOne(self, digits):
"""
:type digits: List[int]
:rtype: List[int]
"""
res = []
remain = 1
for i in range(len(digits) - 1, -1, -1):
t = digits[i] + remain
res.append(t % 10)
remain = int(t / 10)... | [
"dengshilong1988@gmail.com"
] | dengshilong1988@gmail.com |
7077e442e49156f96c9cfb4361b6475f93e3131f | cc64273f3683a9e377eabe00df9ae0e4277f23e0 | /src/ws/server.py | 372fbec84f10a2b6d39210edfa3fa77352e2f686 | [] | no_license | vmgabriel/ws-server-channels | 5a52995a7d46c697845b840953b261856f29eba6 | aff1d7cba6e8360470375955b843760fa11a0240 | refs/heads/master | 2023-08-06T19:42:42.602687 | 2021-10-09T20:59:45 | 2021-10-09T20:59:45 | 415,420,264 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,656 | py | """Server WS"""
# Libraries
import websockets
from typing import List
from datetime import datetime
from .channel import Channel
from . import MessageType
from .utils import convert_message
from .adapter import WSAdapter
class Server:
"""WS server"""
def __init__(self, host, port, emitter: WSAdapter):
... | [
"vmgabriel96@gmail.com"
] | vmgabriel96@gmail.com |
39bc7954456471013cedff7774a649c65ee3358d | c46260c40054c0499e0a6871e4d3fe2d6d8aa9c0 | /DataStruct/QuickSort.py | fe63444ef58a1c3ae5200711d466a74a4e816458 | [] | no_license | iiot-tbb/learngit | 1d6f5c234f1c36016be5489c7ec605f666bbba16 | dfa3106d05bcbb0da39b9bf71f7a0698322130f7 | refs/heads/master | 2020-08-30T01:30:07.632602 | 2019-12-07T13:09:59 | 2019-12-07T13:09:59 | 218,225,081 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 994 | py | #!/usr/bin/env python
# coding=utf-8
def quickSort(alist):
quickSortHelper(alist,0,len(alist)-1)
def quickSortHelper(alist,first, last):
if first < last:
splitpoint = partition(alist,first, last)
quickSortHelper(alist,first,splitpoint-1)
quickSortHelper(alist,splitpoint+1, last)
def ... | [
"247687157@qq.com"
] | 247687157@qq.com |
7e7a1950d12bc189a5e968bb158acc15dadb58bc | fc2b16eca510f80dd311b6f8d972ef65adbf99bd | /backend/msm_mobile_2611_dev_15716/urls.py | 8b3825d6913378a715669f2824b88ec52184fd0e | [] | no_license | crowdbotics-apps/msm-mobile-2611-dev-15716 | a40177fe3251eed9dddeaa29aa9614724081feeb | 922f679348174d217f05118f1610197b7c7d9703 | refs/heads/master | 2023-01-20T10:13:07.610747 | 2020-11-26T02:48:59 | 2020-11-26T02:48:59 | 316,106,534 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,965 | py | """msm_mobile_2611_dev_15716 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
aed7e936fdc40d4eab1dbe22c97e95cd8e3b809f | dbc7780b13392c4d3992322d4ea5f84a12959863 | /glumpy/transforms/trackball.py | 5201cbd2635c2b3f29a77d7648f7388d6e4b26e3 | [] | no_license | rossant/glumpy | 2c6e609030a9cd45ae13ca9f25b7e4137d141590 | c4c07c395929008ed645b0aa4898000fb1d5ec1a | refs/heads/master | 2021-01-21T06:10:01.097677 | 2014-12-29T10:29:03 | 2014-12-29T10:29:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,125 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2014, Nicolas P. Rougier
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
# ----------------------------------------------------------------------------... | [
"Nicolas.Rougier@inria.fr"
] | Nicolas.Rougier@inria.fr |
4d8518b4a5202a50ef9ae86f13ad38181dbfda65 | f8580d2c963b6a3c34e918e0743d0a503a9584bd | /etg/unfinished/datectrl.py | 11a3ffcded70942ab463ca92362c5effa786a665 | [] | no_license | pypy/wxpython-cffi | f59c3faeed26e6a26d0c87f4f659f93e5366af28 | 877b7e6c1b5880517456f1960db370e4bb7f5c90 | refs/heads/master | 2023-07-08T21:13:22.765786 | 2016-12-02T22:10:45 | 2016-12-02T22:10:45 | 397,124,697 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,147 | py | #---------------------------------------------------------------------------
# Name: etg/datectrl.py
# Author: Robin Dunn
#
# Created: 09-Apr-2012
# Copyright: (c) 2013 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------------... | [
"wayedt@gmail.com"
] | wayedt@gmail.com |
272992c516f3c8cf652ab342eef2f74de2b9837f | 842ab2160dc82895bbe71474f4e96fefc8e81890 | /tests/test.py | 48440a52d79408d8ee18de715e3b8541b370d2a6 | [
"MIT"
] | permissive | bfontaine/flatkeys | 111a25f77943f8e81c6dbb020c05cb19eeae119c | 35ab43f1c5d6c7bc8fb2e79855f75660ed20844e | refs/heads/origin/master | 2020-05-15T18:12:32.119503 | 2017-07-30T17:59:37 | 2017-07-30T17:59:37 | 28,595,552 | 2 | 0 | null | 2014-12-31T13:40:40 | 2014-12-29T14:56:08 | Python | UTF-8 | Python | false | false | 613 | py | # -*- coding: UTF-8 -*-
import sys
import platform
if platform.python_version() < '2.7':
import unittest2 as unittest
else:
import unittest
from os.path import dirname
if __name__ == '__main__':
here = dirname(__file__)
sys.path.insert(0, here+'/..')
import flatkeys
class TestflatkeysVersion(unitte... | [
"batifon@yahoo.fr"
] | batifon@yahoo.fr |
1496d4cb416a863bb26522c4942d58044d9f6225 | fa6fa9e154a205d575eda6615e8b62f4cce77a3d | /office365/sharepoint/logger/logExport.py | 7a7b04c90f41a8a96cef9b3c9576d6a185007c85 | [
"MIT"
] | permissive | beliaev-maksim/Office365-REST-Python-Client | 7f94b7b40227de1192bfc0cb325107482caf443c | b2fd54701d83cc91eb5ba3a0ec352a93ded24885 | refs/heads/master | 2023-08-14T20:47:51.972883 | 2021-09-05T12:44:47 | 2021-09-05T12:44:47 | 283,984,055 | 0 | 0 | MIT | 2020-07-31T08:30:48 | 2020-07-31T08:30:48 | null | UTF-8 | Python | false | false | 815 | py | from office365.runtime.client_result import ClientResult
from office365.runtime.queries.service_operation_query import ServiceOperationQuery
from office365.runtime.resource_path import ResourcePath
from office365.sharepoint.base_entity import BaseEntity
class LogExport(BaseEntity):
def __init__(self, context):
... | [
"Ajilon80!"
] | Ajilon80! |
ef59f2b9a90a86941e03db997719ca6c374afa12 | 892ee90a90c5786d4a9231a789664cd0c247acdf | /lessons/regex/test_regex.py | ecbdd78a71729564ccfd27f07e3d58e1f0400d6f | [] | no_license | paulghaddad/design_of_computer_programs_course | 798b2f2578a5828e13c12aa8dd5ab9c84104d0c7 | e21f4f7be2b953ddc72ba9cd256b0d9959ec2566 | refs/heads/master | 2020-03-28T20:55:53.542595 | 2018-12-28T13:15:03 | 2018-12-28T13:15:03 | 149,114,689 | 0 | 0 | null | 2018-11-29T11:54:25 | 2018-09-17T11:26:56 | Python | UTF-8 | Python | false | false | 303 | py | import pytest
from regex import search, match
def test_search():
assert search("baa*!", "Sheep said baaa!") is True
assert search("baa*!", "Sheep said baaa humbug") is False
def test_match():
assert match("baa*!", "Sheep said baaa!") is False
assert match("baa*!", "baaa!") is True
| [
"paulh16@gmail.com"
] | paulh16@gmail.com |
92b03a10d660ee110bf2d13f7a09d150e95e5541 | 40029281c27f748dfdb7e2b2b52186f239caeed8 | /metadataanalysis_client/models/translate_text_request.py | f0ccc84cd5eabd4eff33389bed1942463e841cc8 | [] | no_license | daletcoreil/metadataanalysis-client-python-sdk | d30001c2f91c94f6aca3627735280e641839e4a1 | 9b4b495fe3f5f1d5c7d28e126def9c311c5518e5 | refs/heads/master | 2021-06-20T15:54:36.426663 | 2021-05-04T06:41:55 | 2021-05-04T06:41:55 | 207,790,626 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,263 | py | # coding: utf-8
"""
Dalet Metadata Analysis API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 2.1.0
Contact: cortexsupport@dalet.com
Generated by: https://openapi-generator.tech
"""
i... | [
"daletcoreil@gmail.com"
] | daletcoreil@gmail.com |
304d35a5f94e533c485a98a0106d3d313189f36c | 032a0c939d96d0e5307dbce86e11faf7060f4ed9 | /lte/gateway/python/magma/subscriberdb/client.py | 345156914da04313aa21d871e5d1ebc4c074dccc | [
"BSD-3-Clause"
] | permissive | radha0018/magma | cac9ff3491dd2661e5dc0aa1f9a304a5428e2d2a | 8436966a4bb3cf7fdc3f567704062b6f9568db25 | refs/heads/master | 2023-05-05T08:26:07.132969 | 2021-05-27T18:44:44 | 2021-05-27T18:44:44 | 371,097,174 | 0 | 2 | NOASSERTION | 2021-05-26T16:26:21 | 2021-05-26T16:15:53 | Go | UTF-8 | Python | false | false | 7,695 | py | """
Copyright 2020 The Magma Authors.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES O... | [
"noreply@github.com"
] | radha0018.noreply@github.com |
e20c78750284099370d5df433bfc62e8101cf352 | 8e90afd3f0dc945d9ebd6099a60094807c0067cf | /Kangho/ALGO_FENCE.py | bef7782dbf242406748d7548cddd7ce7333818ef | [] | no_license | Deserve82/KK_Algorithm_Study | ffa109e02f1c9297597c9e07c7c3006628046740 | d3ec01b66d6e3852b7d68adaa8ba87c7e9617e24 | refs/heads/master | 2021-11-10T00:23:30.711422 | 2021-10-23T02:37:04 | 2021-10-23T02:37:04 | 231,358,800 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,250 | py | def dq(left, right):
if left == right:
return sticks[left]
mid = (left + right) // 2
ret = max(dq(left, mid), dq(mid+1, right))
lo, hi = mid, mid+1
height = min(sticks[lo], sticks[hi])
ret = max(ret, height * 2)
while left < lo or hi < right:
if hi < right and (left == lo ... | [
"noreply@github.com"
] | Deserve82.noreply@github.com |
67e573c9e9074cb38b28dfca1387f18ca45ee9d4 | d930697cc16f69187c0918524e655ab8259b9806 | /src/analytics/visualization.py | bb413a0cc494f63211f588f032ab65786082e752 | [] | no_license | tkusmierczyk/badges2 | 7ff6c6edd8f21f90ec2981ede569c4a7c018a765 | 7738483c2a732a062007b14286ca2fce6684965a | refs/heads/master | 2021-09-22T09:51:08.296245 | 2018-09-07T15:59:33 | 2018-09-07T15:59:33 | 111,401,358 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,442 | py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import numpy as np
import matplotlib
from matplotlib import pyplot
import seaborn as sns; sns.set()
import logging
def pyplot_reset():
pyplot.cla()
pyplot.clf()
pyplot.close()
matplotlib.rcParams.update(matplotlib.rcParamsDefault)
matplotlib.rcParams['... | [
"you@example.com"
] | you@example.com |
95343e7d9b7c62ca05a6827196da25207cb4d240 | f16422a1585e10b30d3c491f57292988f8c41ecc | /rvmodel.py | fb8db4082a2acde947892e9018040e764a69ba02 | [] | no_license | r-cloutier/RVStability | 26a37c3d150a779a0b66112a93e986e72a26f71a | 93d52e106f371ac86d05832d6531caf1ffbf84db | refs/heads/master | 2020-03-21T20:54:33.969000 | 2018-07-03T13:25:01 | 2018-07-03T13:25:01 | 139,035,832 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,545 | py | '''
RV models computed with different fitted and fixed parameters.
'''
from imports import *
import rvcurve
# The standard: fit all parameters
def get_rv1(theta, bjd):
P,T0,V,K,h,k=theta
return rvcurve.RV(bjd, theta)
# Fix V
def get_rv2(theta, bjd):
P,T0,K,h,k=theta
theta2=P,T0,0.,K,h,k
return rv... | [
"cloutier@astro.utoronto.ca"
] | cloutier@astro.utoronto.ca |
7268fd6757bf651a793117af68bbd876c33d179d | 2251d71bc3ecb589ce1a8b274a08370c3240bf51 | /0653 Two Sum IV - Input is a BST.py | 493c0755786a7e5ec7a9bdb66e31b9570ae14fe5 | [] | no_license | YuanyuanQiu/LeetCode | 3495a3878edc2028f134bddb5b9ec963069562cb | 6f5d0ef6a353713c0b41fa7ec0fb8c43a7e8dc55 | refs/heads/master | 2022-12-11T04:04:01.686226 | 2022-12-06T18:42:14 | 2022-12-06T18:42:14 | 231,168,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 562 | py | def findTarget(self, root: TreeNode, k: int) -> bool:
# 集合记录寻找目标
d = set()
ans = False
def f(r):
nonlocal ans # 全局变量
# 树不为空且ans为False
if r and not ans:
# 已配对
if r.val in d:
ans = True
return # 中断
... | [
"50243732+YuanyuanQiu@users.noreply.github.com"
] | 50243732+YuanyuanQiu@users.noreply.github.com |
058bce57773cbe810b00372b8d65747d5a7fa838 | d4cc1b7a631f230d77d0a646c602dfbcfa7b3241 | /data_viz_example_two.py | 580605853c73896588eeb29db18c57c765be84d2 | [] | no_license | afcarl/data_analysis_nyu_python_class | 9c7f5e78e902d9aea8f2bad492b83711f01af076 | 15453fe169a1d062f5873b65531652cc8d3ab68b | refs/heads/master | 2020-03-26T02:56:51.009277 | 2017-08-07T23:35:04 | 2017-08-07T23:35:04 | 144,432,254 | 1 | 0 | null | 2018-08-12T02:34:42 | 2018-08-12T02:34:42 | null | UTF-8 | Python | false | false | 256 | py | import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
import seaborn as sns
df = pd.read_csv("ds-all-data.csv")
df["InterestRate"].plot.bar(figsize=(50,10), fontsize=55)
# this is a bad data visualization, please never do this.
plt.show()
| [
"ericschles@gmail.com"
] | ericschles@gmail.com |
09f6c0bd6ee5b91f9d497cf7e884108a4555de15 | 9848a719ddfdd21b5fe1fa2f55da290c0f6952dc | /evaluate-reverse-polish-notation.py | 895b088726fb691153290529c4cba0334b6dd995 | [] | no_license | maomao905/algo | 725f7fe27bb13e08049693765e4814b98fb0065a | 84b35ec9a4e4319b29eb5f0f226543c9f3f47630 | refs/heads/master | 2023-03-13T12:38:55.401373 | 2021-03-25T01:55:48 | 2021-03-25T01:55:48 | 351,278,248 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 916 | py | from typing import List
class Solution:
def evalRPN(self, tokens: List[str]) -> int:
stack = []
N=len(tokens)
for i in range(N):
char = tokens[i]
if char in ('+','-','*','/'):
a = stack.pop()
b = stack.pop()
c = 0
... | [
"maoya.sato@gmail.com"
] | maoya.sato@gmail.com |
7c9c792139059ec2adf97180e59f662128f41fde | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_138/700.py | 20bbb874b863f6c5050c9bdf2a20bd08c6bae0be | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 763 | py | def r():
return map(float, raw_input().split())
def solve():
n = input()
a = r()
b = r()
a.sort()
b.sort()
al, bl = 0, 0
ar, br = len(a) - 1, len(b) - 1
res1 = 0
while al <= ar:
if a[al] < b[bl]:
br -= 1
else:
res1 += 1
bl += 1
... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
c72d953acf80517a17a65384a90c39b567b357a2 | 1b8b3ab0cf2ffc261223dc20d6acc4fc38f26f5e | /rfmix/rfmixAncNormalizeByIDAverageFB/rfmixAncNormalizeByIDAverageFB.py | 6194198de567130a0cab968f6b7f05b0de8ddb7e | [
"MIT"
] | permissive | wavefancy/BIDMC-PYTHON | e20c88cc7b23bad2595bedd986c5b7215d0d0ef3 | 97c7d3e1bec19dd7fea34d4ecebbdf2af2b1faed | refs/heads/master | 2021-04-15T09:51:34.621392 | 2016-07-30T13:05:35 | 2016-07-30T13:05:35 | 52,634,738 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,617 | py | #!/usr/bin/env python
"""
Normalize site observed ancestry by genome-wide average.
2*ID_average - ObservedExpected.
@Author: wavefancy@gmail.com
Usage:
rfmixAncNormalizeByIDAverageFB.py -a IDaverage -i index -n nanc
rfmixAncNormalizeByIDAverageFB.py -h | --help | -v | --version | -f |... | [
"wavefancy@gmail.com"
] | wavefancy@gmail.com |
3f17b0c85914a3cb87e5c31585d38b9fe5243c51 | e0f133b49f9f0f416f14da70a2cadb7011c0cb7b | /new_spider/sx_util/adsl_str_sendpost.py | 2ea8301939320940c1b37658fbc1863e32368396 | [] | no_license | cash2one/python_frame | ac52d052fd3698303f1f4fa022f3b35a56e07533 | 2dbda155780a19cf42d5376104879d0667fbbf75 | refs/heads/master | 2021-06-18T13:28:40.356527 | 2017-06-28T02:51:35 | 2017-06-28T02:51:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,869 | py | # -*- coding:utf-8 -*-
conf_str = """
# -*- coding: utf8 -*-
import urllib2
from redirect import UnRedirectHandler
import urllib
import config
import json
import base64
import os
import sys
import re
reload(sys)
sys.setdefaultencoding('utf8')
import subprocess
import time
class AdslDownLoader(object):
def __init... | [
"1925453680@qq.com"
] | 1925453680@qq.com |
4788ad871ae36f41ad954990c11baa03952c223e | d18d0dd6d6d1eb5ebcb45faa196711c8841d4850 | /菜鸟教程Python3实例/18.py | 077bbade5197f78be840e5460782381f06f355bb | [] | no_license | EruDev/Python-Practice | 011b0e5b17db9852ff8391bc717f59e1fa81596b | 4f243212ed900e14a438f0be55ac6fb65a768de4 | refs/heads/master | 2021-09-05T18:42:08.950348 | 2018-01-30T10:05:17 | 2018-01-30T10:05:17 | 116,343,095 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 509 | py | # 斐波那契数列指的是这样一个数列 0, 1, 1, 2, 3, 5, 8, 13,
# 特别指出:第0项是0,第1项是第一个1。从第三项开始,每一项都等于前两项之和。
def fibo(n):
if n == 0:
return 0
elif n == 1:
return 1
else:
return fibo(n-1) + fibo(n-2)
def print_fibo(scope):
for i in range(scope):
print('%d,' % fibo(i), end='')
if __name__ == '__main__':
while True:
number = i... | [
"1027926875@qq.com"
] | 1027926875@qq.com |
027b47a3b0e7fa352e35dc5a8424590e885bcb45 | adb112e307f153abaa94dda7effdc423fc0ee307 | /arrays/array_data/MeerKAT/mk_MeerKAT_array_configs.py | 15b146ef7084077ab16e80c87273c25e40edfaa0 | [
"MIT"
] | permissive | crpurcell/friendlyVRI | 2ae1898ae950f18c674fad00eca42a6938e529ac | 0399f15a7d9600346b3773076774959d52122d16 | refs/heads/master | 2022-05-31T20:09:40.974220 | 2022-05-19T04:23:00 | 2022-05-19T04:23:00 | 83,502,326 | 45 | 11 | MIT | 2022-01-11T05:01:43 | 2017-03-01T02:30:16 | Python | UTF-8 | Python | false | false | 1,861 | py | #!/usr/bin/env python
telescope = "MeerKAT"
latitude_deg = -30.7131694444444
diameter_m = 12.0
import os
import sys
from util_misc import ascii_dat_read
#-----------------------------------------------------------------------------#
def main():
# Read the pad lookup table
col, dummy = ascii_dat_read("MeerK... | [
"cormac.r.purcell@gmail.com"
] | cormac.r.purcell@gmail.com |
b3ea594e3457770dda905e7eb53dd84104eb980f | f42b7bdd99da1726ad10bf7b0e3a399c6b2ed5b3 | /examples/linkproppred/ppa/node2vec.py | 53d032d9e3b82bc782deceafa03551ba2c98785d | [
"MIT"
] | permissive | fagan2888/ogb | 12bfe37b38d562d64d7ca7af8f46fc1e2f335dea | eaf5a8e8dfb06233eeb21bd29c9ae35f334d2d55 | refs/heads/master | 2021-04-02T14:56:40.214763 | 2020-03-18T04:49:17 | 2020-03-18T04:49:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,357 | py | import argparse
import torch
from torch.utils.data import DataLoader
from torch_geometric.nn import Node2Vec
from ogb.linkproppred.dataset_pyg import PygLinkPropPredDataset
@torch.no_grad()
def save_embedding(model):
model.eval()
device = model.embedding.weight.device
embedding = model(torch.arange(mod... | [
"matthias.fey@tu-dortmund.de"
] | matthias.fey@tu-dortmund.de |
a42fe7bb24f200ea49ea2a61318c473390447878 | 45e376ae66b78b17788b1d3575b334b2cb1d0b1c | /tests/terraform/checks/resource/aws/test_DLMEventsCrossRegionEncryption.py | 792379e31b8c90c503035475303997d51136cd03 | [
"Apache-2.0"
] | permissive | bridgecrewio/checkov | aeb8febed2ed90e61d5755f8f9d80b125362644d | e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d | refs/heads/main | 2023-08-31T06:57:21.990147 | 2023-08-30T23:01:47 | 2023-08-30T23:01:47 | 224,386,599 | 5,929 | 1,056 | Apache-2.0 | 2023-09-14T20:10:23 | 2019-11-27T08:55:14 | Python | UTF-8 | Python | false | false | 1,367 | py | import os
import unittest
from checkov.runner_filter import RunnerFilter
from checkov.terraform.checks.resource.aws.DLMEventsCrossRegionEncryption import check
from checkov.terraform.runner import Runner
class TestDLMEventsCrossRegionEncryption(unittest.TestCase):
def test(self):
runner = Runner()
... | [
"noreply@github.com"
] | bridgecrewio.noreply@github.com |
bfa2a4558e20e0760737dc75204b82841e5a18be | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/BAS-MIB.py | f089cfc59f29e3b4a4a974be040eef424f11b6d4 | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 11,777 | py | #
# PySNMP MIB module BAS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BAS-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:17:25 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
49e973bc8af23acfd54a335b7fad87d0f87d07bf | 588aa970b426072043321b115d1f5d0692c914d2 | /0-jakc/jasper_sale_report/__openerp__.py | 29d74b05e344b442a47d5f61f562655cee0418cd | [] | no_license | wahhid/project0001 | d9f09f7c4baea70845935dbf90facdd6a6ddc3d7 | 2e37065fdd3e24ab0ed54fb4210a545882b8711f | refs/heads/master | 2021-09-07T20:27:56.225604 | 2018-02-28T14:33:28 | 2018-02-28T14:33:34 | 108,944,007 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 456 | py | {
'name' : 'Sale Report',
'version' : '1.0',
'author' : 'Jakc Labs',
'category' : 'Generic Modules/Sale',
'depends' : ['sale'],
'init_xml' : [],
'data' : [
'wizards/sale_report_view.xml',
'views/sale_report_menu.xml',
'reports/report_customer_sale_summary_view.xml',
... | [
"wahhid@gmail.com"
] | wahhid@gmail.com |
878c7fb52333f54e6a4ae0d7d98aef8d8da303f8 | f504253210cec1c4ec6c3ea50a45564db7d6cd7f | /prettyqt/syntaxhighlighters/highlightrule.py | d33d65379f41e0152849c70782ff83b9468285db | [
"MIT"
] | permissive | phil65/PrettyQt | b1150cb4dce982b9b8d62f38f56694959b720a3e | f00500d992d1befb0f2c2ae62fd2a8aafba7fd45 | refs/heads/master | 2023-08-30T21:00:08.905444 | 2023-08-17T12:24:45 | 2023-08-17T12:24:45 | 177,451,205 | 17 | 5 | MIT | 2020-08-15T22:21:18 | 2019-03-24T18:10:21 | Python | UTF-8 | Python | false | false | 1,226 | py | # see https://github.com/ITVRoC/SeekurJr/blob/master/seekur_12.04/packages/
# multimaster_fkie/node_manager_fkie/src/node_manager_fkie/yaml_highlighter.py
from __future__ import annotations
from dataclasses import dataclass, field
import re
from prettyqt import gui
@dataclass
class HighlightRule:
regex: str | ... | [
"philipptemminghoff@googlemail.com"
] | philipptemminghoff@googlemail.com |
ae0dfdd4483fee6867780c25521a65dffc4667c6 | 07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8 | /lib/python3.6/site-packages/matplotlib/tight_bbox.py | edddd001959f0db0331f7a227c2e7fd7090ff793 | [] | no_license | cronos91/ML-exercise | 39c5cd7f94bb90c57450f9a85d40c2f014900ea4 | 3b7afeeb6a7c87384049a9b87cac1fe4c294e415 | refs/heads/master | 2021-05-09T22:02:55.131977 | 2017-12-14T13:50:44 | 2017-12-14T13:50:44 | 118,736,043 | 0 | 0 | null | 2018-01-24T08:30:23 | 2018-01-24T08:30:22 | null | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:ec3f59d918e9003d356e15b86d1ba707ff7e82bb7169dcdf5703bc2fed4e99f1
size 2601
| [
"seokinj@jangseog-in-ui-MacBook-Pro.local"
] | seokinj@jangseog-in-ui-MacBook-Pro.local |
7d711d583279e3665a25648fd6d60045c4a22123 | 48227621efed0f0db56462c605f264e259ecefae | /fluent/fields.py | 34141c16c1e0f0eb855e14fc97606033aceb16ca | [] | no_license | mrfuxi/fluent-2.0 | d30c9006cc4380c91343e05935c7fce18918b2cc | 0601b1d90a4f7e8bf09bbb4567192e723a739ea0 | refs/heads/master | 2021-01-16T20:00:11.856577 | 2016-02-01T13:46:42 | 2016-02-01T13:46:42 | 50,842,269 | 0 | 0 | null | 2016-02-01T13:47:48 | 2016-02-01T13:47:48 | null | UTF-8 | Python | false | false | 9,142 | py | from django.conf import settings
from django.db import models
from django.db import IntegrityError
from .models import MasterTranslation
class TranslatableContent(object):
def __init__(self, text=u"", hint=u"", language_code=None, master_translation_id=None):
if text or hint:
master_translati... | [
"kazade@gmail.com"
] | kazade@gmail.com |
1620b744c28d12898e218dad70fe777c7fbf2bb6 | 3ff9821b1984417a83a75c7d186da9228e13ead9 | /No_0841_Keys and Rooms/keys_and_rooms_by_dfs.py | 5bfd12062761585f1914cdaa584735391f1095cc | [
"MIT"
] | permissive | brianchiang-tw/leetcode | fd4df1917daef403c48cb5a3f5834579526ad0c2 | 6978acfb8cb767002cb953d02be68999845425f3 | refs/heads/master | 2023-06-11T00:44:01.423772 | 2023-06-01T03:52:00 | 2023-06-01T03:52:00 | 222,939,709 | 41 | 12 | null | null | null | null | UTF-8 | Python | false | false | 3,152 | py | '''
Description:
There are N rooms and you start in room 0. Each room has a distinct number in 0, 1, 2, ..., N-1, and each room may have some keys to access the next room.
Formally, each room i has a list of keys rooms[i], and each key rooms[i][j] is an integer in [0, 1, ..., N-1] where N = rooms.length. A key ro... | [
"brianchiang1988@icloud.com"
] | brianchiang1988@icloud.com |
c1851c79185c7f99e18d8c8ffd0259a22b1fd978 | 21f8a6f018748aa714bd63d68944d6474f011781 | /coverage_wss/vrep_ros_interface/devel/lib/python2.7/dist-packages/vrep_common/srv/_simRosGetLastErrors.py | 7e50787698ed4444c043f7bdbc522f586e097308 | [] | no_license | ElliWhite/group_1_coverage | e04dd3d5374cad76b3914bf0dfca719dc934989e | 565c325e4dc4188716f5233b6de05671a3d89b1c | refs/heads/master | 2020-05-27T17:27:37.807828 | 2019-05-29T21:48:43 | 2019-05-29T21:48:43 | 188,720,706 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 7,852 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from vrep_common/simRosGetLastErrorsRequest.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class simRosGetLastErrorsRequest(genpy.Message):
_md5sum = "d41d8cd98f00b204... | [
"elliott.white@students.plymouth.ac.uk"
] | elliott.white@students.plymouth.ac.uk |
c0987075fa1ad5357d9ef1751079728d69dcfdab | 29b6a856a81a47ebab7bfdba7fe8a7b845123c9e | /dingtalk/python/alibabacloud_dingtalk/jzcrm_1_0/client.py | 39c494fb44b6d6507a200c9cb73ecef9c65e5acc | [
"Apache-2.0"
] | permissive | aliyun/dingtalk-sdk | f2362b6963c4dbacd82a83eeebc223c21f143beb | 586874df48466d968adf0441b3086a2841892935 | refs/heads/master | 2023-08-31T08:21:14.042410 | 2023-08-30T08:18:22 | 2023-08-30T08:18:22 | 290,671,707 | 22 | 9 | null | 2021-08-12T09:55:44 | 2020-08-27T04:05:39 | PHP | UTF-8 | Python | false | false | 62,348 | py | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.core import TeaCore
from alibabacloud_gateway_spi.client import Client as SPIClient
from alibabacloud_tea_openapi.client import Client as OpenApiClient
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
6e6c2f08070199dc94fc4be45ac6af99be6e0196 | 727f1bc2205c88577b419cf0036c029b8c6f7766 | /out-bin/py/google/fhir/models/run_locally.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/tools/docs/doc_controls.py | 8cdeecf50f38ff3c5bea763e8364e6f8928eabf7 | [
"Apache-2.0"
] | permissive | rasalt/fhir | 55cf78feed3596a3101b86f9e9bbf6652c6ed4ad | d49883cc4d4986e11ca66058d5a327691e6e048a | refs/heads/master | 2020-04-13T00:16:54.050913 | 2019-01-15T14:22:15 | 2019-01-15T14:22:15 | 160,260,223 | 0 | 0 | Apache-2.0 | 2018-12-03T22:07:01 | 2018-12-03T22:07:01 | null | UTF-8 | Python | false | false | 178 | py | /home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/tools/docs/doc_controls.py | [
"ruchika.kharwar@gmail.com"
] | ruchika.kharwar@gmail.com |
a64140c2f072629cb579b7329ab09fb637e2241d | 1cc66a57fe98b8a151e35ab2b7ad997d49b32ae0 | /v04-oop重构/vs.py | d7f42b5c327670d2279b5d2d54a491392e5badcf | [] | no_license | daiyeyue/HTTP_Project | ea232c3545595eebd2d8d00e4ac82498114f3b58 | aa1c9b1f45fc57898d6512b9ce668d56a26574d5 | refs/heads/master | 2020-12-07T16:40:51.988116 | 2020-03-14T10:16:53 | 2020-03-14T10:16:53 | 232,752,997 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,019 | py | import socket
import threading
'''
步骤 1. 定义两个类
2. 每个类定义构造函数和需要运行的方法
'''
class SocketHandle():
def __init__(self, sock):
self.sock = sock
# 放置Http请求的头部信息
self.headInfo = set() # 创建集合
def startHandler(self):
'''
处理传入请求做两件事情
1. 解析http协议
2. 返回n内容
... | [
"150064328@qq.com"
] | 150064328@qq.com |
c173c50324292b5270f1597bcfe35eb503201454 | bf5b33eaf338a33f44b6d69a40a4e244f473a1a0 | /ENV/bin/tkconch | 1abfac51986e8766bc094509fcf77a5007e17d1a | [] | no_license | luke-zhu/cs1951a-midterm-report | 356ad628cb426622ae87d3f873c7f00cb6106b7a | 19ea744303428ac508b5f1872502120924be0c98 | refs/heads/master | 2021-06-13T19:09:31.007927 | 2017-04-06T20:09:39 | 2017-04-06T20:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 277 | #!/Users/lukezhu/Documents/cs1951a/web-scraping/ENV/bin/python3.6
# -*- coding: utf-8 -*-
import re
import sys
from twisted.conch.scripts.tkconch import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(run())
| [
"luke_zhu@brown.edu"
] | luke_zhu@brown.edu | |
478912c96f049d4e9b63bdb4b4d6a7aee6aee567 | 8fcc27160f8700be46296568260fa0017a0b3004 | /client/cherrypy/lib/jsontools.py | 166daf6baba7ecea15edcdf051433bfd4615f3d8 | [] | no_license | connoryang/dec-eve-serenity | 5d867f4eedfa896a4ef60f92556356cafd632c96 | b670aec7c8b4514fc47cd52e186d7ccf3aabb69e | refs/heads/master | 2021-01-22T06:33:16.303760 | 2016-03-16T15:15:32 | 2016-03-16T15:15:32 | 56,389,750 | 1 | 0 | null | 2016-04-16T15:05:24 | 2016-04-16T15:05:24 | null | UTF-8 | Python | false | false | 2,012 | py | #Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\carbon\common\lib\cherrypy\lib\jsontools.py
import sys
import cherrypy
from cherrypy._cpcompat import basestring, ntou, json, json_encode, json_decode
def json_processor(entity):
if not entity.headers.get(ntou('Content-Length... | [
"masaho.shiro@gmail.com"
] | masaho.shiro@gmail.com |
b9ae8b8b37695f84db8efbfa323ca211222faa43 | 56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e | /CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_258/run_cfg.py | 846b06c0ad681b8a047d60ca3fb904460fd6337b | [] | no_license | rmanzoni/HTT | 18e6b583f04c0a6ca10142d9da3dd4c850cddabc | a03b227073b2d4d8a2abe95367c014694588bf98 | refs/heads/master | 2016-09-06T05:55:52.602604 | 2014-02-20T16:35:34 | 2014-02-20T16:35:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,541 | py | import FWCore.ParameterSet.Config as cms
import os,sys
sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_m... | [
"riccardo.manzoni@cern.ch"
] | riccardo.manzoni@cern.ch |
5c3b9b9d184bf171b3f8a97e9394d0e6b5b0b26f | 0c3f7a1ce6707a3131d3aa5757b51a948e38ceff | /tina/core/material.py | b423fce2869cf12cf611c4b26872ee40ece634b0 | [
"MIT"
] | permissive | 199ChenNuo/taichi_three | ea2863447beaf749eb3066cd59cac5a0e16c6e3d | 540a97781b58adaf462efb5df16f66d6f3a21065 | refs/heads/master | 2023-02-07T19:06:32.867578 | 2020-12-22T02:15:06 | 2020-12-22T02:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,179 | py | from ..common import *
from ..advans import *
@ti.data_oriented
class Node:
arguments = []
defaults = []
def __init__(self, **kwargs):
for dfl, key in zip(self.defaults, self.arguments):
value = kwargs.get(key, None)
if value is None:
if dfl is None:
... | [
"1931127624@qq.com"
] | 1931127624@qq.com |
f51781cc2f2e982d454fb81e5c4db3e6af7bea89 | 427121290bfca2bd080237a2072445397610efb4 | /Analysis/financial/FinancialModel.py | 9d6e4d6be2280ecdb9f7fc7c8f891ad1ec46b741 | [] | no_license | tuulahdus/stockAnalysis | 3ab7b13b9aea9e137ba1c9d0bd0599f79b26fa63 | acad5b5dcb38e1b3e5853f9562789b505f1d7f4b | refs/heads/master | 2021-01-10T22:36:26.355980 | 2016-03-24T01:34:19 | 2016-03-24T01:34:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,282 | py | ID = "id"
DATE = "date"
# BALANCE SHEET FIELDS
CASH_BALANCE = "cash_balance"
SHORT_TERM_INVESTMENTS = "short_term_investments"
ACCOUNTS_RECEIVABLE = "accounts_receivable"
INVENTORY = "inventory"
CURRENT_ASSETS = "current_assets"
PROPERTY_PLANT_EQUIPMENT = "property_plant_equipment"
ACCUMULATED_DEPRECIATION = "accumula... | [
"ecstaticjack@gmail.com"
] | ecstaticjack@gmail.com |
8379ca2b9c728c40ba1bcd31c29ef3c385f16cf1 | aa9297175621fcd499cad5a0373aaad15f33cde8 | /30-days/day_4.py | ac1dcdc08c27de5b860cfbdb6f7cb6283b8961af | [] | no_license | eflipe/python-exercises | a64e88affe8f9deb34e8aa29a23a68c25e7ba08a | b7a429f57a5e4c5dda7c77db5721ca66a401d0a3 | refs/heads/master | 2023-04-26T19:19:28.674350 | 2022-07-19T20:53:09 | 2022-07-19T20:53:09 | 192,589,885 | 0 | 0 | null | 2023-04-21T21:23:14 | 2019-06-18T18:06:14 | HTML | UTF-8 | Python | false | false | 614 | py | my_list = [12, 45, 'pepe', 'miguel', 6]
numbers = []
for num in "10":
print(num)
for num in range(5):
print(num)
user_1 = {
"username": "pepe valor",
"id": 22,
}
user_2 = {
"username": "fulano sinvalor",
"id": 33,
"email": "email@email.com",
}
mis_users = [user_1, user_2]
for user in m... | [
"felipecabaleiro@gmail.com"
] | felipecabaleiro@gmail.com |
ee1015cd16f2860848fe688db98a4dd8e06320e4 | 6569f43b525305a8899b920b8e58aab413feb519 | /Notice/urls.py | 7432c9a4e6ec8eaa43cfdfeffa74b0b36fc97646 | [] | no_license | sontus-tripura-python/tsfbd | daa6b19f2dae8eaf8fd9c5a5c412d7cc9606a381 | 5f851c2616e912d0af1addaaeb8e64167eed9501 | refs/heads/main | 2023-04-25T08:36:59.288577 | 2021-05-07T05:13:28 | 2021-05-07T05:13:28 | 242,639,065 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 77 | py | from django.urls import path
from Notice import views
urlpatterns = [
] | [
"sontustrp.com@gmail.com"
] | sontustrp.com@gmail.com |
1b51dc59aa7e42bd6d3319e54c8932c12446f38d | b8c9dbaf7b6ef717f32838bcc3e7ab9a6c22d98b | /miket_blog/settings.py | 1c3e1010870384ab35a414790a6cefe70bbf8da1 | [] | no_license | machukhinktato/miket_blog | 68d3c390d081fd03f6e743deada21348b35ce15d | 5d87ac81871185c6d1a00b4a32172db4e40df075 | refs/heads/master | 2022-06-21T23:37:19.695877 | 2020-05-07T09:36:39 | 2020-05-07T09:36:39 | 260,226,046 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,209 | py | """
Django settings for miket_blog project.
Generated by 'django-admin startproject' using Django 3.0.3.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import os... | [
"tarabrinmv@gmail.com"
] | tarabrinmv@gmail.com |
069058a9208c3b7be4c1c8393b19d19904bd6982 | 55c250525bd7198ac905b1f2f86d16a44f73e03a | /Python/Scripts/pyinstaller/tests/functional/scripts/pyi_future.py | d29e6f94065446b9a3816fb18d056a296ad6f581 | [] | no_license | NateWeiler/Resources | 213d18ba86f7cc9d845741b8571b9e2c2c6be916 | bd4a8a82a3e83a381c97d19e5df42cbababfc66c | refs/heads/master | 2023-09-03T17:50:31.937137 | 2023-08-28T23:50:57 | 2023-08-28T23:50:57 | 267,368,545 | 2 | 1 | null | 2022-09-08T15:20:18 | 2020-05-27T16:18:17 | null | UTF-8 | Python | false | false | 128 | py | version https://git-lfs.github.com/spec/v1
oid sha256:8153b33ae2d4f491adc24aff3ec98cb6ab8479ccc77ce04d7816de8e9699f1ff
size 886
| [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
472bbff2940dc7570f7b844864f0c0573595d3f6 | 89362bd60333e20a7cfc322751faaea1bb49ae78 | /veeker/testsuite/olsm/test_enterprise_honor.py | 35c64fab913dbbf358282d578422c59e47b007af | [] | no_license | sunyanhui/autotest | 85548bfdd24c4e19466f25ab94318d7e8e52b8b0 | b8acaceddae3491066b1d864ab734a213e8aa1d1 | refs/heads/master | 2016-09-05T09:16:20.776636 | 2015-03-13T07:01:46 | 2015-03-13T07:01:46 | 23,528,191 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,017 | py | #!/usr/bin/python2.7
# -*- coding: utf-8 -*-
from common import config
from testdata.olsm.data_enterprise_honor import *
from action.action_login import Login
from action.enterprise.action_enterprise_honor import EnterpriseHonor
import unittest
import time
class TestEnterpriseHonor(unittest.TestCase):
u'''
测试超... | [
"hgbac@qq.com"
] | hgbac@qq.com |
a6071f0180a53c312bccbd84c6c8ea9c1a481fa9 | 1ae298628d32b74713586351e98d67ed81d38e75 | /BLOGAPP/migrations/0004_auto_20200111_1121.py | f914d82e92ef87bb3a9ff744dcb5e8a60cc123bb | [] | no_license | nixis-institute/newproject | e0a501e59a50e4314eb976fa85ab14ca0c405690 | 79652e0a4274e12411809f9af302c414fb766f79 | refs/heads/master | 2020-12-15T08:35:33.440814 | 2020-01-31T07:08:30 | 2020-01-31T07:08:30 | 235,048,669 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 927 | py | # Generated by Django 2.2 on 2020-01-11 05:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('BLOGAPP', '0003_auto_20200110_1315'),
]
operations = [
migrations.CreateModel(
name='LoginPage',
fields=[
... | [
"rkrjob55@gmail.com"
] | rkrjob55@gmail.com |
0a26f99a90d2c6da33365cb76c70d81742116925 | bd40b576e3c1527826f09286ef6fd186d807c5e5 | /Model/lookalike-model/lookalike_model/pipeline/main_logs.py | b2eeb534db33310c4aede6d06824b3b92fd65165 | [
"Apache-2.0"
] | permissive | jimmylao/blue-marlin | 7b48406a7b5486a97e51b30915e16be836f75eb2 | 0569bf19503286a9ba091e7f07bbbe1b204ae730 | refs/heads/master | 2021-12-03T09:24:41.536640 | 2021-07-21T00:59:06 | 2021-07-21T00:59:06 | 241,382,610 | 1 | 0 | Apache-2.0 | 2020-02-18T14:29:44 | 2020-02-18T14:29:43 | null | UTF-8 | Python | false | false | 6,436 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... | [
"reza_adib@yahoo.com"
] | reza_adib@yahoo.com |
e9909f51e02a6c5607523176e00b6161485e8b89 | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_95/1562.py | f228f2e5731e721c8c80ea50f1da8fd33f4ad76f | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,040 | py | googlerese = {'a':'y','b':'h','c':'e','d':'s','e':'o','f':'c','g':'v','h':'x','i':'d',
'j':'u','k':'i','l':'g','m':'l','n':'b','o':'k','p':'r','q':'z',
'r':'t','s':'n','t':'w','u':'j','v':'p','w':'f','x':'m','y':'a','z':'q'}
test1 = """ejp mysljylc kd kxveddknmc re jsicpdrysi
rbcpc ypc rtcsra dkh wyfrepkym ved... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
bc176d5a03c296ff109304f4035f5b42186087b4 | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /VTK/vtk_7.1.1_x64_Release/lib/python2.7/site-packages/zope/interface/_compat.py | c9c06c8ce3a54a37b004532873f9b5f5fb934712 | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | Python | false | false | 1,930 | py | ##############################################################################
#
# Copyright (c) 2006 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# T... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
8f8c4751d94b3f0f1e5d3ac7abd742a5d78a0a56 | c71e5115b895065d2abe4120799ffc28fa729086 | /procon-archive/atcoder.jp/abc082/abc082_b/Main.py | 7b31b8083add9725cd8e5eaeee0d412d5ebec242 | [] | no_license | ken0105/competitive-programming | eb82f92a7b7ad0db601ea341c1441de6c6165064 | f918f85a0ea6dfbe9cac3ef835f80503bb16a75d | refs/heads/master | 2023-06-05T09:55:25.264731 | 2021-06-29T14:38:20 | 2021-06-29T14:38:20 | 328,328,825 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 174 | py | if __name__ == '__main__':
s = list(input())
t = list(input())
s.sort()
t.sort(reverse=True)
if s < t:
print("Yes")
else:
print("No")
| [
"iwata.kenaaa@gmail.com"
] | iwata.kenaaa@gmail.com |
cd92b849b8c08ff4983fee4263d7f8fc1f859bc5 | 34da8d6387776915be08b91b75369ed3a8628c12 | /alembic/versions/c5bc52d73cec_add_project_table.py | 196d49c9915f68b44a6c6436fac358b8e583f2c8 | [] | no_license | showerbugs/how-was-your-day | 87db05040397d7716ff44efbc03cd750d9a2f7bb | d670e12dec0fd45b94958e2452c532b3bfcada64 | refs/heads/develop | 2021-01-12T14:27:46.852393 | 2017-12-14T04:10:48 | 2017-12-14T04:10:48 | 71,994,381 | 2 | 1 | null | 2017-04-07T11:38:29 | 2016-10-26T10:56:08 | Python | UTF-8 | Python | false | false | 683 | py | """Add project table
Revision ID: c5bc52d73cec
Revises: 917f9e1719dd
Create Date: 2016-11-20 22:10:53.183220
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c5bc52d73cec'
down_revision = '917f9e1719dd'
branch_labels = None
depends_on = None
def upgrade():
... | [
"amazingguni@gmail.com"
] | amazingguni@gmail.com |
20025ee74b45b02a27672f4fe9623f0aea0c797f | 399481e7a513dcb48acef5c838622f0cdb489a13 | /basic/load_opencv.py | b8195aa4f2245ef739e88a2c12c84a9f7d84c7a7 | [] | no_license | jamescfli/OpenCV_test | 37df3212d9f8c6e439365202e01be86d1b465727 | c0cf4b7ad974f4d9eb3591786d76dcb7a5235256 | refs/heads/master | 2021-01-09T06:03:56.761120 | 2017-02-09T03:29:34 | 2017-02-09T03:29:34 | 80,903,663 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 183 | py | import cv2
cv2.startWindowThread()
img = cv2.imread('images/eagle.jpg')
print img.__class__
cv2.namedWindow('opencv')
cv2.imshow('opencv', img)
cv2.waitKey(0)
cv2.destroyAllWindows() | [
"jamescfli@yahoo.com"
] | jamescfli@yahoo.com |
5e53b0fdef6fb156b140b1e7e7151280a8c0772f | c57da088ba85fe9a1d73707797fffb237268717a | /dashboard/apps/hub/migrations/0005_auto__add_volunteer__add_volunteerlog.py | 3484418658e7aef8f4692a55479fd57b8e672cb2 | [
"MIT"
] | permissive | GPHemsley/dashboard | f8cf4163597e8a49dae347a9581448f23b459e0e | 892d68566ac6fafe88b7546d8509619eb8fd6676 | refs/heads/master | 2020-03-27T23:04:20.433348 | 2018-09-04T10:47:26 | 2018-09-04T10:47:26 | 147,287,666 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,674 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Volunteer'
db.create_table('hub_volunteer', (
('id', self.gf('django.db.models.f... | [
"zstumgoren@gmail.com"
] | zstumgoren@gmail.com |
b8b9488ccea684daea19a6ea765c1798a0a24ac4 | c3b739b07214507bf1023b926c19d30784623e98 | /segme/model/tri_trans/__init__.py | f9ed274d5a98d880fdd92cf0b08812b4809bfdaa | [
"MIT"
] | permissive | templeblock/segme | 20a96787500c46483cb7af0db917207fcedafb0b | 8192ed066558c1ea1e7283805b40da4baa5b3827 | refs/heads/master | 2023-08-30T12:31:39.327283 | 2021-11-11T17:08:40 | 2021-11-11T17:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 90 | py | from .model import build_tri_trans_net, TriTransNet
from .loss import tri_trans_net_losses | [
"shkarupa.alex@gmail.com"
] | shkarupa.alex@gmail.com |
3cb2bd5b92f0495660f9648c0d975b45fbfcb276 | 46ac0965941d06fde419a6f216db2a653a245dbd | /sdks/python/appcenter_sdk/models/ResendVerificationRequest.py | 9b59c0a5ec4c2112dd84a972f7b0aeb770221fde | [
"MIT",
"Unlicense"
] | permissive | b3nab/appcenter-sdks | 11f0bab00d020abb30ee951f7656a3d7ed783eac | bcc19c998b5f648a147f0d6a593dd0324e2ab1ea | refs/heads/master | 2022-01-27T15:06:07.202852 | 2019-05-19T00:12:43 | 2019-05-19T00:12:43 | 187,386,747 | 0 | 3 | MIT | 2022-01-22T07:57:59 | 2019-05-18T17:29:21 | Python | UTF-8 | Python | false | false | 3,205 | py | # coding: utf-8
"""
App Center Client
Microsoft Visual Studio App Center API # noqa: E501
OpenAPI spec version: preview
Contact: benedetto.abbenanti@gmail.com
Project Repository: https://github.com/b3nab/appcenter-sdks
"""
import pprint
import re # noqa: F401
import six
class ResendVerifica... | [
"b3nab@users.noreply.github.com"
] | b3nab@users.noreply.github.com |
ec6f5956054f4c073f756eab843a3ea603366e53 | a8637de7c6e38c95cd19b46b45b3e00c42ae8140 | /resources/views.py | 7e8c2e3eda88ec0e673b92c0ff7e09a21e09adc0 | [] | no_license | nishant57/edc | 9c0d3d363882c44bc08dc4da47024e5e83731077 | 5ab9f6dc5d474b5071c7f027cd287c32a9d43501 | refs/heads/master | 2021-01-12T19:31:49.655509 | 2013-02-17T10:00:36 | 2013-02-17T10:00:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,415 | py | # Create your views here.
# Create your views here.
from django.shortcuts import render_to_response, get_object_or_404
from django.http import HttpResponse, HttpResponseRedirect
from django.template import RequestContext
from constants import *
from datetime import datetime
from resources.models import Mentor, MentorMa... | [
"axitkhurana@gmail.com"
] | axitkhurana@gmail.com |
b7753196cdcb0f1f71392262affdadcdf1e7768b | 944401a6292baa2d23b9738898e0b0cb199d0795 | /lib/python2.7/site-packages/mizani/tests/test_bounds.py | 7cfb5d826a97490803b372d2b3cba5d7527f9908 | [
"Python-2.0"
] | permissive | sunnyweilai/Finding-Theme-Color-Palettes | cc84c93ce58abdd1802431c41bd59181d7a4f75b | 4c38b112f5c40b43d6ec126e415b609c7fdc1f39 | refs/heads/master | 2022-12-21T09:41:31.187411 | 2019-04-30T14:50:17 | 2019-04-30T14:50:17 | 184,273,925 | 1 | 0 | null | 2022-12-07T03:46:55 | 2019-04-30T14:09:52 | Python | UTF-8 | Python | false | false | 12,687 | py | from __future__ import division
from datetime import datetime, timedelta
import six
import numpy as np
import numpy.testing as npt
import pandas as pd
import pandas.util.testing as pdt
import pytest
from mizani.bounds import (censor, expand_range, rescale, rescale_max,
rescale_mid, squish_i... | [
"wnn2260@gmail.com"
] | wnn2260@gmail.com |
b0bfbb640eaf2a98114e9cdb585ed182136ae11b | b415735ca475bdfdaf60f48b7b2a8244b8027782 | /dbs/models/Event.py | cbfbf51eaf7407eee45c1ebe817adfa39501243f | [] | no_license | sdgdsffdsfff/icspot_web | 4ac27451d25ab0dd4afec92d11d38c56004967ef | 5b15e96fb86ec76ae3b260756b5a60030e7a1f73 | refs/heads/master | 2020-06-17T11:13:32.965680 | 2019-04-15T18:36:38 | 2019-04-15T18:36:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,486 | py | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Author: pirogue
Purpose: 蜜罐日志表
Site: http://pirogue.org
Created: 2018-02-01 15:07:05
"""
from sqlalchemy import Column, String, Integer, Unicode, TIMESTAMP, Boolean
from sqlalchemy.orm import relationship, backref
import sys
sys.path.append("..")
from dbs.initd... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
a6ff10af33971e19a99654f1b5052265332613b6 | 8fcc27160f8700be46296568260fa0017a0b3004 | /client/eve/client/script/ui/shared/neocom/corporation/corp_ui_sanctionableactions.py | 9eca909eac5191633790c4425742cb42b525628e | [] | no_license | connoryang/dec-eve-serenity | 5d867f4eedfa896a4ef60f92556356cafd632c96 | b670aec7c8b4514fc47cd52e186d7ccf3aabb69e | refs/heads/master | 2021-01-22T06:33:16.303760 | 2016-03-16T15:15:32 | 2016-03-16T15:15:32 | 56,389,750 | 1 | 0 | null | 2016-04-16T15:05:24 | 2016-04-16T15:05:24 | null | UTF-8 | Python | false | false | 18,892 | py | #Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\ui\shared\neocom\corporation\corp_ui_sanctionableactions.py
import sys
import blue
import evetypes
import uiprimitives
import uicontrols
import util
import uix
import listentry
import log
import carbonui.cons... | [
"masaho.shiro@gmail.com"
] | masaho.shiro@gmail.com |
d58b0808ba66983ec4474ef8c4b90460d71ebd56 | cccf8da8d41ae2c14f5f4313c1edcf03a27956bb | /python/python2latex/writeLTXraggedbottom.py | b9d926aa123f293c0befba25bd69957fda9e9b91 | [] | no_license | LucaDiStasio/transpilers | e8f8ac4d99be3b42a050148ca8fbc5d025b83290 | c55d4f5240083ffd512f76cd1d39cff1016909b8 | refs/heads/master | 2021-01-12T01:57:00.540331 | 2017-11-01T13:59:55 | 2017-11-01T13:59:55 | 78,448,378 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,321 | py | # Autogenerated with SMOP
from smop.core import *
#
@function
def writeLTXraggedbottom(filepath=None,args=None,options=None,*args,**kwargs):
varargin = writeLTXraggedbottom.varargin
nargin = writeLTXraggedbottom.nargin
##
#============================================================================... | [
"luca.distasio@gmail.com"
] | luca.distasio@gmail.com |
4782420df72f09641c3317fab8d054154a677b20 | 4c67fd55b14cdc3efc347b16eb9762aa344e2fc2 | /qiime/make_otu_heatmap_html.py | b7070abead359195642644aabe9198d3ab095aa0 | [] | no_license | Ecogenomics/FrankenQIIME | 04f99ea64a70a451e189681468efd059434f4325 | e7660b71d86418e63280901b134dffdb9dabedfe | refs/heads/master | 2021-01-01T06:00:35.566858 | 2012-10-11T03:29:29 | 2012-10-11T03:29:29 | 3,873,805 | 6 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,608 | py | #!/usr/bin/env python
#file make_otu_heatmap_html.py
from __future__ import division
__author__ = "Jesse Stombaugh"
__copyright__ = "Copyright 2011, The QIIME Project"
__credits__ = ["Jesse Stombaugh"] #remember to add yourself
__license__ = "GPL"
__version__ = "1.3.0"
__maintainer__ = "Jesse Stombaugh"
__email__ = ... | [
"a.skarshewski@uq.edu.au"
] | a.skarshewski@uq.edu.au |
6960b32764a0a9f5537db121481b485b0331048a | 6c899087d43bdaff42cddfc889b76171316b3f40 | /scale_mesh.py | 9bb4459c36a9640883a058eb311207f35bcc8c55 | [
"CC0-1.0"
] | permissive | wearebeautiful/wearebeautiful-tools | d31778130374602b624b7b0dbd5119e04ad23dcf | ba93138f94079b89d7f9d89328509e201837bd07 | refs/heads/master | 2021-10-09T07:36:45.692631 | 2021-09-28T20:38:34 | 2021-09-28T20:38:34 | 177,959,609 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 700 | py | #!/usr/bin/env python3
from wearebeautiful.scale import scale_mesh
import click
@click.command()
@click.option('--cleanup', default=False, help='Clean the mesh before scaling')
@click.option('--invert/--no-invert', default=False, help='Flip the normals on the STL file')
@click.argument("len", nargs=1, type=float)
@cl... | [
"rob@musicbrainz.org"
] | rob@musicbrainz.org |
46ebdf637cfb9522b66b4453ab78505b2eeed515 | 8623205b0d2c6c53cd8ccaf00f6c2060153d8d45 | /download_libs.py | 7e11a20eff5a9c32fe1bcb8d88662ced42bfcfa8 | [] | no_license | rogalski/mgr | 6796277a7aafa93e96318fc4f5f97fb36fd5feb1 | fee22e8d90d458f99e23d80d14d5ca4e7fb91f2a | refs/heads/master | 2021-01-19T21:58:08.736272 | 2016-09-28T19:59:45 | 2016-09-28T19:59:45 | 45,495,416 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,577 | py | #!/usr/bin/env python3
import os
import gzip
import shutil
import tarfile
import zipfile
import requests
THIRD_PARTY_DIR = "third_party"
def ensure_dst_dir():
os.makedirs(THIRD_PARTY_DIR, exist_ok=True)
def download_matlab_bgl():
url = "http://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submiss... | [
"rogalski.91@gmail.com"
] | rogalski.91@gmail.com |
979faabf93ccab4152d1914e5e8e98c56eff447e | 49b6acf42df0c39a639477d3851fae4bd90a2e50 | /datecalc/cli.py | 1144ffdea9aa68f451ca5abe6571aff4be711c6c | [
"BSD-2-Clause"
] | permissive | Kwpolska/datecalc | f159e6cd632c21c81aa34b32b55fb5d8a108bbc3 | f9166a7d999db126dced7bf178854e1197a1feb1 | refs/heads/master | 2021-01-17T06:46:23.850749 | 2021-01-01T00:00:00 | 2020-12-31T21:44:17 | 56,449,391 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,498 | py | # -*- encoding: utf-8 -*-
# Date Calculator v0.2.1
# A simple date calculator.
# Copyright © 2016-2021, Chris Warrick.
# See /LICENSE for licensing information.
"""
Date Calculator command-line interface.
:Copyright: © 2016-2021, Chris Warrick.
:License: BSD (see /LICENSE).
"""
import datecalc
import datecalc.utils
... | [
"kwpolska@gmail.com"
] | kwpolska@gmail.com |
7539fafc20c711c087c7aefbdf10e46a9437dc28 | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/artificial/transf_Integration/trend_LinearTrend/cycle_7/ar_12/test_artificial_128_Integration_LinearTrend_7_12_20.py | 089139700fc37ce2bc42e388eaa7c14d25a65cc3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 274 | py | import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 7, transform = "Integration", sigma = 0.0, exog_count = 20, ar_order = 12); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
38d5317bb9d9f922048570af06c3e5b3d0266410 | 1850d2222b504bfa3c2390dc6fc186b3260334d0 | /src/pbhla/AmpliconFinder.py | 21abc7c34a8c3834967a76a232ccfb590a6c98df | [] | no_license | la0hu2006/HlaTools | 2f6964645615c6c35517f064111b362407701dea | 082e45cd1cbdad941f0df59d71a0ca59bfdabf0c | refs/heads/master | 2021-01-18T21:42:31.258878 | 2016-08-29T18:50:11 | 2016-08-29T18:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,355 | py | import logging
from pbhla.io.SamIO import SamReader
BIN_SIZE = 50
class AmpliconFinder( object ):
"""
A class for tabulating subread statistics for a single HLA Locus
"""
def __init__(self, sam_file, output_file, locus_dict):
self.sam_file = sam_file
self.output_file = output_file
... | [
"bbowman@pacificbiosciences.com"
] | bbowman@pacificbiosciences.com |
8bfab66f55d4fd3d2ea05f95616fea1b76787b19 | 8567438779e6af0754620a25d379c348e4cd5a5d | /third_party/WebKit/Source/core/layout/line/DEPS | e8221a6b5d4c23da4f0b11c6010afb2c2addb1e2 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | Python | false | false | 588 | include_rules = [
# Line layout can only use the LineLayout API, not LayoutObject and kids.
"-core/layout",
"+core/layout/api",
"+core/layout/line",
"+platform",
"+wtf",
"!core/layout/BidiRun.h",
"!core/layout/HitTestLocation.h",
"!core/layout/HitTestResult.h",
"!core/layout/Lay... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com | |
efb3a973c2f610a1a371ffc10e0b7c19c824095e | ad26accb1c3c322ee626690b5b64c6345c4c7d17 | /backend/dating/api/v1/viewsets.py | 6111b8acd6a3f2bd7a17e92b8b646f639d6c0af7 | [] | no_license | crowdbotics-apps/fourthnovice-24091 | 93a243018023e4a14f8daf659723eb9753df9db4 | df859ec1c327bbf7fb1d25c572957e38883af20a | refs/heads/master | 2023-03-01T18:57:00.076010 | 2021-01-26T15:58:21 | 2021-01-26T15:58:21 | 333,134,648 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,095 | py | from rest_framework import authentication
from dating.models import Setting, Profile, Inbox, Dislike, Match, UserPhoto, Like
from .serializers import (
SettingSerializer,
ProfileSerializer,
InboxSerializer,
DislikeSerializer,
MatchSerializer,
UserPhotoSerializer,
LikeSerializer,
)
from rest_... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
e1081d949969845e53780e25962feb3f14e28ed1 | b17fda8e3a9f360cbab8e8ed0ecd66b03787250a | /.venv/lib/python2.7/site-packages/ephemeris/common_parser.py | b76680552799ad634f55657ec358870febee2c69 | [
"CC-BY-2.5",
"AFL-2.1",
"AFL-3.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | maumauleon/galaxy-irri-dev | 7a4b824c90474da0a2f3a3b858777c5089b9d5cb | 063bf0dca5d465466aefa77edaf47df12c4ff932 | refs/heads/master | 2022-11-16T03:10:18.067196 | 2017-08-23T03:31:01 | 2017-08-23T03:31:01 | 98,497,124 | 1 | 2 | NOASSERTION | 2022-11-01T17:00:32 | 2017-07-27T05:25:40 | Python | UTF-8 | Python | false | false | 1,027 | py | #!/usr/bin/env python
import argparse
def get_common_args(login_required=True):
parser = argparse.ArgumentParser(add_help=False)
general_group = parser.add_argument_group('Galaxy connection')
general_group.add_argument("-v", "--verbose", help="Increase output verbosity.", action="store_true")
con_g... | [
"v.juanillas@irri.org"
] | v.juanillas@irri.org |
5ee2e1c7b5276db2ac13235c924992e88aee0642 | a6e4a6f0a73d24a6ba957277899adbd9b84bd594 | /sdk/python/pulumi_azure_native/appconfiguration/v20200601/get_configuration_store.py | d0feb9a3dd4fb33de74d73d948038573ba1a0297 | [
"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 | 8,560 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.