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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c14936fab65953dbc7436882b80b1d347adc2081 | 62e4a186dc4b6294748ea6f1b6432219b5acf5ad | /backend/home/migrations/0001_load_initial_data.py | 46847f2ef86805729f40bbd28060eabdfb9c3bef | [] | no_license | crowdbotics-apps/tester-app-31668 | 60413ed775d07c8f958bb30e5398b1941722a8bb | d3e5ba380ee2041c07e73b7e8b45dbe3c9955a03 | refs/heads/master | 2023-09-01T07:48:38.823415 | 2021-10-26T02:03:42 | 2021-10-26T02:03:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 538 | py | from django.db import migrations
def create_site(apps, schema_editor):
Site = apps.get_model("sites", "Site")
custom_domain = "tester-app-31668.botics.co"
site_params = {
"name": "Tester App",
}
if custom_domain:
site_params["domain"] = custom_domain
Site.objects.update_or_cr... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
21df8591a5c6f1ead6ded6ad17b51db1a42ef0ca | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-gsn-edf/gsn-edf_ut=2.0_rd=0.8_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=65/params.py | a4991794aa98f582d2bdb2947fdbb119be76f15a | [] | 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 | 254 | py | {'cpus': 4,
'duration': 30,
'final_util': '2.016476',
'max_util': '2.0',
'periods': 'harmonic-2',
'release_master': False,
'res_distr': '0.8',
'res_nmb': '4',
'res_weight': '0.04',
'scheduler': 'GSN-EDF',
'trial': 65,
'utils': 'uni-medium-3'}
| [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
6dd1cc97f758079d3f409b647478f0d62e72da99 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_joey.py | bc33ba9a42bf180b251f994f39bb062ec82865e5 | [
"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 | 292 | py |
#calss header
class _JOEY():
def __init__(self,):
self.name = "JOEY"
self.definitions = [u'a young kangaroo']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie = 'nouns'
def run(self, obj1 = [], obj2 = []):
return self.jsondata
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
0eef22e43e4999b7e13da85bee5a3719f09f6108 | 13f4a06cd439f579e34bf38406a9d5647fe7a0f3 | /nn_ns/Bijection/BijectiveNumeration.py | d21afc99a4a5f19a282db7981ccf2d6d2a195f95 | [] | no_license | edt-yxz-zzd/python3_src | 43d6c2a8ef2a618f750b59e207a2806132076526 | 41f3a506feffb5f33d4559e5b69717d9bb6303c9 | refs/heads/master | 2023-05-12T01:46:28.198286 | 2023-05-01T13:46:32 | 2023-05-01T13:46:32 | 143,530,977 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,325 | py |
'''
https://en.wikipedia.org/wiki/Bijective_numeration
Radix <- PInt
BiDigit = [1..Radix]
# compare Digit = [0..Radix-1]
# little-endian
bidigitsLE2uint :: [BiDigit] -> UInt
bidigitsLE2uint ds = f ds 1 where
f [] weight = 0
f (h:ts) weight = h*weight + f ts (weight*Radix)
bidigitsLE2uint = f where
... | [
"wuming_zher@zoho.com.cn"
] | wuming_zher@zoho.com.cn |
b10b08af4d84840fac55aead8c737624c5df79f2 | 5285d7071a74d8b56ad45a2a5b1f7d49ee672916 | /postexp/module.py | d6ac8cba41b03bee27c3afab06044373853111ca | [] | no_license | krishpranav/postexp | 9d4e1bf3be72ee27418449b4bc824ebdf9be1b44 | 348d7813a44585c9d34dc1d030380af0bd90a8f3 | refs/heads/master | 2023-04-20T04:33:32.173926 | 2021-05-06T05:23:02 | 2021-05-06T05:23:02 | 364,470,232 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 810 | py | #!/usr/bin/env python3
# imports
import os
import pkg_resources
from importlib import import_module
INDEX_FILE = 'modindex.txt'
client_commands = {}
server_commands = {}
def client_handler(cmd):
def decorate(func):
client_commands[cmd] = func
return decorate
def server_handler(cmd):
def deco... | [
"krisna.pranav@gmail.com"
] | krisna.pranav@gmail.com |
85b2e627fa812d32731797a4a20c53bbac3ec85c | d966694f2eb0fe09582716cf6ce60dba6f5370b8 | /B站/twoWEB表单/Flask_WTF_demo2.py | 6d57de3e3a23b889dded1637680484b45e2d9c68 | [] | no_license | lijianmin01/Flask_study | 217f1e9a7cd3511407144b6daa5cf13e962a6307 | 98639f471a88d5349a38564512f35c660057b9de | refs/heads/main | 2023-01-18T16:29:27.143408 | 2020-11-26T10:22:28 | 2020-11-26T10:22:28 | 315,005,372 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 748 | py | from flask import Flask,render_template,request
app = Flask(__name__)
@app.route("/",methods=['POST','GET'])
def index():
message = None
if request.method == 'POST':
username = request.form.get("username")
password = request.form.get("password")
password2 = request.form.get("password2"... | [
"lijianmin01@126.com"
] | lijianmin01@126.com |
2bbc03087bb2db7a50467af5b4a2381fcdc265ce | 093b9569be9d1c4e5daf92efbebc38f680917b2d | /.history/base/views_20210829091127.py | 806d5e71eb0dda642f9ec037408d383e22ca9a91 | [] | no_license | Justin-Panagos/todoList | 95b1e97ff71af1b0be58e7f8937d726a687cea4d | 10539219b59fcea00f8b19a406db3d4c3f4d289e | refs/heads/master | 2023-08-04T13:27:13.309769 | 2021-08-29T14:06:43 | 2021-08-29T14:06:43 | 400,827,602 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,191 | py | from django.shortcuts import render
from django.views.generic.list import ListView
from django.views.generic.detail import DetailView
from django.views.generic.edit import CreateView, UpdateView, DeleteView, FormView
from django.urls import reverse_lazy
from django.contrib.auth.views import LoginView
from django.contr... | [
"justpanagos@gmail.com"
] | justpanagos@gmail.com |
01c5946ab4cfc183f51a78e89ad9061896b00355 | bc531455ed161db04aedfa79f6daae32efefa321 | /benchmarks/datasets/openml_sylvine/info.py | 7f5014ae810696f8e166ade6a72d96e4a26c81ab | [] | no_license | mindsdb/benchmarks | b46f46f59047a2d3f6a0624addb3c281471d6092 | a122a85bb0124da8a469f8ef8baafdf9a70bfb5a | refs/heads/main | 2023-08-30T19:33:17.340246 | 2021-11-01T23:09:54 | 2021-11-01T23:09:54 | 302,911,061 | 5 | 23 | null | 2021-10-30T19:25:48 | 2020-10-10T13:44:16 | Python | UTF-8 | Python | false | false | 467 | py | from benchmarks.helpers.accuracy import balanced_accuracy_score, roc_auc
from benchmarks.datasets.dataset import DatasetInterface
class Dataset(DatasetInterface):
tags = ['classification']
learn_kwargs = {}
num_folds = 5
accuracy_functions = [balanced_accuracy_score, roc_auc]
file = 'data.csv'
... | [
"george@cerebralab.com"
] | george@cerebralab.com |
7943b4734e46916c0cd397e85da35134ba15a568 | d09c6ff7114f69a9326883c5b9fcc70fa994e8a2 | /_pycharm_skeletons/renderdoc/CaptureFile.py | 3d2006b1d1d1ce204a85a1fcb00cf6903d7e20b5 | [
"MIT"
] | permissive | Lex-DRL/renderdoc-py-stubs | 3dd32d23c0c8219bb66387e6078244cff453cd83 | 75d280e4f500ded506f3315a49fc432b37ab4fa6 | refs/heads/master | 2020-08-22T16:55:39.336657 | 2019-11-03T01:21:26 | 2019-11-03T01:21:26 | 216,441,308 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,363 | py | # encoding: utf-8
# module renderdoc
# from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd
# by generator 1.146
# no doc
# imports
import enum as __enum
from .CaptureAccess import CaptureAccess
class CaptureFile(CaptureAccess):
"""
A handle to a capture file. Used for simple cheap processing and meta-da... | [
"drl.i3x@gmail.com"
] | drl.i3x@gmail.com |
670c01987b4fdddd3d153bd5c43d346725bfcaab | 319cd2055b4f69ad2a30c6d1785955bad0706015 | /config/acquisition_samc20.py | 39ce6e21f413369755b3c46f5697d986ae2de66b | [
"LicenseRef-scancode-unknown-license-reference",
"ISC",
"LicenseRef-scancode-public-domain"
] | permissive | fb321/touch | c30f5a0ecef11f74d39392b23627d988c981a54f | d6a11f4ba34c8b08e0a5b624570480a082c7d2b9 | refs/heads/master | 2020-06-27T13:30:13.986106 | 2019-07-18T06:54:30 | 2019-07-18T06:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,997 | py | ################################################################################
#### Global Variables ####
################################################################################
global touchChannelSelf
global touchChannelMutual
ptcPinNode = ATDF.getNode("/avr-tools-device-file/devices/device/peripherals/modu... | [
"http://support.microchip.com"
] | http://support.microchip.com |
f9a367342ececac14729f37a9b60ab04e704c21a | 225a9d69ad0d1c4741afc42e17cb15e188a88959 | /page_counter/wsgi.py | 3473ab2f995ea3fc69f0d6135e0e9fb26e792f02 | [] | no_license | priyankaonly1/Page_Counter_project | 445bbef67739af299273433b3094775fd94a1aef | f2c8b6f24ca0b04fba38dec98329f53ffe7053d6 | refs/heads/main | 2023-06-02T03:50:40.374197 | 2021-06-19T10:45:57 | 2021-06-19T10:45:57 | 378,388,074 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 401 | py | """
WSGI config for page_counter 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/3.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_... | [
"priyankabiswasonly1@gmail.com"
] | priyankabiswasonly1@gmail.com |
1759c3db5b289a6c16e38b0aee69020ea0b3073b | 8a452b71e3942d762fc2e86e49e72eac951b7eba | /leetcode/editor/en/[1827]Minimum Operations to Make the Array Increasing.py | b4069f64857e87c713a853fd9375da69f74b4076 | [] | no_license | tainenko/Leetcode2019 | 7bea3a6545f97c678a176b93d6622f1f87e0f0df | 8595b04cf5a024c2cd8a97f750d890a818568401 | refs/heads/master | 2023-08-02T18:10:59.542292 | 2023-08-02T17:25:49 | 2023-08-02T17:25:49 | 178,761,023 | 5 | 0 | null | 2019-08-27T10:59:12 | 2019-04-01T01:04:21 | JavaScript | UTF-8 | Python | false | false | 1,517 | py | # You are given an integer array nums (0-indexed). In one operation, you can
# choose an element of the array and increment it by 1.
#
#
# For example, if nums = [1,2,3], you can choose to increment nums[1] to make
# nums = [1,3,3].
#
#
# Return the minimum number of operations needed to make nums strictly ... | [
"31752048+tainenko@users.noreply.github.com"
] | 31752048+tainenko@users.noreply.github.com |
c21f8e2373910412ade1c825e69cddf3d7c54944 | c78aee514845f3614da8542139ffc792f00d73e5 | /lender_books/admin.py | b5a548331deb6730fed5f6266b245fd872de9e1a | [] | no_license | MaxMcF/django_lender | e38971fc9443d9b91c91eb6b961fec50ab541a0f | f58b3a0dd4211994ec911f41139016106fdebf61 | refs/heads/django_lender_init | 2020-03-28T21:59:17.793610 | 2018-09-21T00:44:20 | 2018-09-21T00:44:20 | 149,197,075 | 0 | 1 | null | 2018-09-21T00:44:21 | 2018-09-17T22:41:30 | Python | UTF-8 | Python | false | false | 111 | py | from django.contrib import admin
from .views import Book
# Register your models here.
admin.site.register(Book) | [
"mmcfarland522@gmail.com"
] | mmcfarland522@gmail.com |
05f78e87a40055254100ec782728294631795a38 | 649bd422025e421d86025743eac324c9b882a2e8 | /exam/1_three-dimensional_atomic_system/dump/phasetrans/temp146_1000.py | ccb3d7fa6937d4f199901c0d892341e0e1e92ed2 | [] | no_license | scheuclu/atom_class | 36ddee1f6a5995872e858add151c5942c109847c | 0c9a8c63d9b38898c1869fe8983126cef17662cd | refs/heads/master | 2021-01-21T10:52:28.448221 | 2017-03-07T23:04:41 | 2017-03-07T23:04:41 | 83,489,471 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 68,759 | py | ITEM: TIMESTEP
1000
ITEM: NUMBER OF ATOMS
2048
ITEM: BOX BOUNDS pp pp pp
-2.4396873997906852e+00 4.9639687399784862e+01
-2.4396873997906852e+00 4.9639687399784862e+01
-2.4396873997906852e+00 4.9639687399784862e+01
ITEM: ATOMS id type xs ys zs
754 1 0.131543 0.0569661 0.108709
954 1 0.996399 0.00836973 0.165502
1232 1 0... | [
"scheuclu@gmail.com"
] | scheuclu@gmail.com |
459542f9961620ec16485e394cacb1d4532de3fb | 6930e9d3372e83cf43a47ae8ad165f83a218aee2 | /capture/noworkflow/now/models/__init__.py | 92802914a0447e80de232d80944205dcce8db60e | [
"MIT"
] | permissive | hugobowne/noworkflow | 02ab47a8b3377ee56f1e7c4552a8dbcb3d15e5f0 | 333cbe274348428f1a9514fe81406f8416036845 | refs/heads/master | 2021-01-17T20:27:16.524245 | 2015-11-18T23:53:28 | 2015-11-18T23:53:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 469 | py | # Copyright (c) 2015 Universidade Federal Fluminense (UFF)
# Copyright (c) 2015 Polytechnic Institute of New York University.
# This file is part of noWorkflow.
# Please, consult the license terms in the LICENSE file.
from __future__ import (absolute_import, print_function,
division, unicode_li... | [
"joaofelipenp@gmail.com"
] | joaofelipenp@gmail.com |
e12329cc4c890015554cf9c066e17dccb8fc1f21 | 8a269d6e597ce214dc6540230c997c801b5addd0 | /reviews/hw6.from.xbrablik/numeval.py | 705686bfcfde29092b3af1d49a6d077e4bcd74d4 | [] | no_license | oreqizer/pv248 | f9f126d40b4e331989b3b39a8367c826bc77fcd6 | 9550e91c5e3473f39488605298dee52e4240342b | refs/heads/master | 2023-03-01T21:40:02.354436 | 2021-02-08T17:31:15 | 2021-02-08T17:31:15 | 302,929,555 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,347 | py | ## Good order of methods -- starting from 'evaluate', then adjacent methods,
## then classes. It makes it very easy to find the way around the code.
##
## Greate usage of f-strings in you error messages. They are also very
## detailed which would be great in real-world usage if this was a small
## library.
##
## You se... | [
"oreqizer@gmail.com"
] | oreqizer@gmail.com |
6aba572d1cba098d672c298e067d0dfc92d91b91 | d2fc4d45b115fb861097657d00b3c5cb08e8a3ad | /scenarios/customer_create_debit/executable.py | c7e6fcc23d760ad3dc7b1ac2dcbd3e0eb70c15d5 | [] | no_license | jess010/balanced-python | 81b39f0e9d3ce52d60f2453b8c98e77f07ee3acb | b7a6bf0430ad0299d96de15ea97d3d4ccfb4c958 | refs/heads/master | 2020-12-25T16:13:35.626111 | 2013-09-20T00:14:58 | 2013-09-20T00:14:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 177 | py | import balanced
balanced.configure('b5de51921b2d11e389c4026ba7cac9da')
customer = balanced.Customer.find('/v1/customers/AC6M5tIyndBqrv4fEdubPUhg')
customer.debit(amount=5000) | [
"ben@unfiniti.com"
] | ben@unfiniti.com |
9054213d9c841a3b76c2f2119fa94feb4f9e689d | 60530f3e1d22fcb3b51be0b9f482a912c8203bb0 | /Python_Workbook/H01.py | b9b81c4afc7f2d00d7a879db0647b1ec34ce4b0f | [] | no_license | cinxdy/Python_practice | 1afb2aca1c92d16d98459407ae02ca2ed7f7832c | 8a2642b51c6ad73840dae964b1a55cbb53f7b9f7 | refs/heads/master | 2022-05-09T00:10:15.849881 | 2022-04-03T09:38:53 | 2022-04-03T09:38:53 | 180,339,041 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 347 | py | from random import *
count = 0
answer = randint(1,100)
while 1:
number_try = int(input("Try guess number between 1 and 100 "))
count+=1
if number_try > answer : print("answer is smaller number")
elif number_try < answer : print("answer is bigger number")
else :
print("You got it! try count... | [
"cinxdys2@gmail.com"
] | cinxdys2@gmail.com |
f14d86124a58ed2a0ba3b2173fa644ccf6aed101 | ba45840f241a0348d8f11df4bf5e16dee230bda5 | /config/config.py | 88fe4b900e6b8435fdccd2cd0ced9374f2fd1578 | [] | no_license | zhengxiawu/FGIR-GAN | 2d630b4330da535e157f13561160789f2d1183c4 | 2a4e94c1c736d2b20255eda34b801e9fc2be62af | refs/heads/master | 2020-03-07T02:57:37.518206 | 2018-04-04T01:42:32 | 2018-04-04T01:42:32 | 127,222,053 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,417 | py | # --------------------------------------------------------
# MXNet Implementation of pix2pix GAN
# Copyright (c) 2017 UIUC
# Modified by Bowen Cheng
# --------------------------------------------------------
import yaml
import numpy as np
from easydict import EasyDict as edict
config = edict()
config.MXNET_VERSION =... | [
"zhengxiawu@126.com"
] | zhengxiawu@126.com |
bfe93474345ec70c961dbdc527b854fb60902af2 | 084a13b6524e21914826e842eeefefd09570a970 | /experiments/atari_hard/montezuma_revenge/ppo_cnd_110_2.py | 3737607040f72aec5ff14669c39f29ff72e48a5b | [
"MIT"
] | permissive | michalnand/reinforcement_learning | 28aa0e2c92b6112cf366eff0e0d6a78b9a56e94f | 01635014a37a4c871766b4cdd2caaa26a0c2d8cc | refs/heads/main | 2023-06-01T10:27:36.601631 | 2023-02-12T19:46:01 | 2023-02-12T19:46:01 | 217,841,101 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,122 | py | import time
import torch
import RLAgents
import models.ppo_cnd_110_2.src.model_ppo as ModelPPO
import models.ppo_cnd_110_2.src.model_cnd_target as ModelCNDTarget
import models.ppo_cnd_110_2.src.model_cnd as ModelCND
import models.ppo_cnd_110_2.src.config as Config
#torch.cuda.set_device("cuda... | [
"michal.nand@gmail.com"
] | michal.nand@gmail.com |
2cbe46e844394113c5a7b0db976db90e3d92a72b | d12b59b33df5c467abf081d48e043dac70cc5a9c | /ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/capabilities_e34fedc02893b4ebddb7e5f9d242efcc.py | 4d5b4d23c25816f353599659ba9dc980cfeb59ec | [
"MIT"
] | permissive | ajbalogh/ixnetwork_restpy | 59ce20b88c1f99f95a980ff01106bda8f4ad5a0f | 60a107e84fd8c1a32e24500259738e11740069fd | refs/heads/master | 2023-04-02T22:01:51.088515 | 2021-04-09T18:39:28 | 2021-04-09T18:39:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,008 | py | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | [
"andy.balogh@keysight.com"
] | andy.balogh@keysight.com |
a82b1bbd2b03de5d576c5401152707034fefb3a8 | d5214b1331c9dae59d95ba5b3aa3e9f449ad6695 | /qPloneResolveUID/tags/0.2.4/transforms/ruid_to_url.py | b243d8358f79baaeef8a74505a0c1b12a115c326 | [] | no_license | kroman0/products | 1661ee25a224c4b5f172f98110944f56136c77cf | f359bb64db22f468db5d1e411638790e94d535a2 | refs/heads/master | 2021-01-10T07:58:04.579234 | 2014-06-11T12:05:56 | 2014-06-11T12:05:56 | 52,677,831 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,059 | py | # Author: Melnychuk Taras
# Contact: fenix@quintagroup.com
# Date: $Date: 2006-08-11
# Copyright: quintagroup.com
import re
from Products.CMFCore.utils import getToolByName
from Products.PortalTransforms.interfaces import itransform
from Products.qPloneResolveUID.config import *
class ruid_to_url:
"""Transform ... | [
"mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946"
] | mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946 |
51ac6b863cba692cbdc9780978fb8f213b7e3c57 | 3b225bf4895df8b5c02d82b94574ed7985b2c69f | /test_settings.py | 44a7acc2fb39588561c79457caebcf6ed97e4b11 | [] | no_license | yakky/aldryn-faq-1 | 10d8d825447a1ba8d62712fbabe988d3d8203a94 | 3749ad2568432d3e78c0d37627b1bff9f52b69b9 | refs/heads/master | 2021-01-15T14:58:46.492723 | 2015-01-16T10:08:44 | 2015-01-16T10:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 501 | py | # -*- coding: utf-8 -*-
HELPER_SETTINGS = {
'ROOT_URLCONF': 'aldryn_faq.tests.urls',
'TIME_ZONE': 'Europe/Zurich',
'LANGUAGES': (
('en', 'English'),
('de', 'German'),
('fr', 'French'),
),
'INSTALLED_APPS': [
'adminsortable',
'aldryn_faq',
'djangocms_t... | [
"mkoistinen@gmail.com"
] | mkoistinen@gmail.com |
e70eeff6fc0c80017ba79462037859c2fe864842 | df97d5b25d40b54e0714ed9c0a6dd7a579011e2e | /docs/conf.py | 8a742f6849d8b65a35bb000ecc258a60373bc48b | [] | no_license | mikadosoftware/mikadoCMS | 90ac1910b06f32bc3e808d1df656ba38a30e781c | 7bb1ca4f66b74d4529a601540e1bf469f44d3b01 | refs/heads/master | 2021-01-17T00:20:34.489198 | 2018-06-13T15:27:53 | 2018-06-13T15:27:53 | 8,103,422 | 0 | 0 | null | 2013-05-03T23:07:59 | 2013-02-08T23:27:27 | JavaScript | UTF-8 | Python | false | false | 7,983 | py | # -*- coding: utf-8 -*-
#
# mikadoCMS documentation build configuration file, created by
# sphinx-quickstart on Thu Feb 21 18:23:49 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# A... | [
"paul@mikadosoftware.com"
] | paul@mikadosoftware.com |
2965f5264cd0016485601e825d6789dcf00187f9 | 6710c52d04e17facbc9fb35a7df313f7a2a7bd53 | /0319. Bulb Switcher.py | 817afd635d32758fc9c7054706a3bdac532686ba | [] | no_license | pwang867/LeetCode-Solutions-Python | 535088fbe747a453360457728cc22cf336020bd2 | 188befbfb7080ba1053ee1f7187b177b64cf42d2 | refs/heads/master | 2022-11-13T16:20:28.211707 | 2020-06-28T06:01:14 | 2020-06-28T06:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,051 | py | # this question is basicly asking for the count of divisors of a number
# only lighbulbs in m^2 will be on, becuase dividors will always
# appears in a pair except m^2, so only m^2 will have odd numbers of dividors
class Solution(object):
def bulbSwitch(self, n):
"""
:type n: int
:rtype: i... | [
"wzhou007@ucr.edu"
] | wzhou007@ucr.edu |
da368c29fe5f4ac1cb6a72a94ee2a496750a1b3c | 1c8a776b778abc6670f0db4544b76b9d517d9dd7 | /src/erpbrasil/edoc/nfse/__init__.py | 8be26d2c00ff647c53677f72f1e94c131d01b441 | [
"MIT"
] | permissive | insol-tecnologia/erpbrasil.edoc | 6c656677f70d0058ae43271fe67c2459863629cc | 1b0a7c519b42cc938e0e5f3abbf1fbe899010c76 | refs/heads/master | 2022-07-03T17:53:29.345598 | 2020-05-14T14:26:21 | 2020-05-14T14:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 85 | py |
from .nfse import NFSe, ServicoNFSe
from .ginfes import Ginfes
from .dsf import Dsf
| [
"mileo@kmee.com.br"
] | mileo@kmee.com.br |
a8dc55b35485cf3f9cfe48cd3ee22b0edfabc6f9 | 00af09f4ac6f98203910d86c3791c152184ace9a | /node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py | c92bdeb46367498f65acceea97b4d8f948250c88 | [
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause"
] | permissive | orf53975/CarnosOS | 621d641df02d742a2452fde2f28a28c74b32695a | d06849064e4e9f30ef901ad8cf90960e1bec0805 | refs/heads/master | 2023-03-24T08:06:48.274566 | 2017-01-05T16:41:01 | 2017-01-05T16:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,761 | py | <<<<<<< HEAD
<<<<<<< HEAD
#!/usr/bin/env python
# Copyright 2013 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Unit tests for the input.py file."""
import gyp.input
import unittest
import sys
class TestFindCycles(unittest.T... | [
"Weldon@athletech.org"
] | Weldon@athletech.org |
dc73268b30ed69da8d008cedd34a1a6303b4a3b6 | 67bc22c4bb1388994e3c983c9be0d85b6cc80cb2 | /charmcraft/commands/store/__init__.py | c4087cdc5fcf28020a0af3b83ebb7bdcc3759ee8 | [
"Apache-2.0"
] | permissive | msgpo/charmcraft | c35bb3eaf98a9d3e832211d185404256743acd31 | 89adbcb3c059da7c023f789ba8c978494f1d17f9 | refs/heads/master | 2022-11-15T08:39:35.942078 | 2020-07-14T14:20:41 | 2020-07-14T14:20:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,483 | py | # Copyright 2020 Canonical Ltd.
#
# 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, s... | [
"facundo@taniquetil.com.ar"
] | facundo@taniquetil.com.ar |
a62693bd536b3eb67490873a1f580a9c1efd2bcd | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_97/85.py | 8cf79e0f137aeaf913cd1a9586a7cbec25e4ea0e | [] | 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 | 784 | py | #!/usr/bin/python
import os
import sys
fin = sys.stdin
def normalize(x):
s = str(x)
smallest = x
for i in xrange(1, len(s)):
n = int(s[i:] + s[:i])
if n < smallest:
smallest = n
return smallest
def main():
T = int(fin.readline())
for t in xrange(1, T + 1):
... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
e69357a0b01abbd4d042f0fe6c61619e1f299ebc | 58828acea95ec3babcada95a62af385e5e924594 | /tests/test_load.py | 4b5b36b2c319c8fce1920031831f3aab165cb01d | [
"Zlib"
] | permissive | akx/pyalleg | 22eab5f0fe1291bcaf535cb8a264e3e0474d6378 | e14eb4dcf84f2a165fb2556ae40305a279d6e4c4 | refs/heads/master | 2021-01-21T15:22:47.855437 | 2017-06-25T21:55:07 | 2017-06-25T21:55:07 | 95,387,797 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,901 | py | from pyalleg import *
import time,random,math
def rnd(m): return random.randint(0,m)
init()
initGfx(0,640,480)
initKeyboard()
screen=getScreen()
page=Bitmap(640,480)
bitmap=loadBitmap("smiley.bmp")
font1=loadFont("pixelfont.pcx")
font2=loadFont("comic.pcx")
font=getFont()
t=0
sinex=640
# XColor is a class to encapsu... | [
"akx@iki.fi"
] | akx@iki.fi |
4c6724a90a253228261c56b46258222d275e4a7b | 27923f62fa5544c84d3c54c90f325525205381bc | /tests/js/classifier/RandomForestClassifierTest.py | d9ac8eb96bf61721e55f9d9f20fb4b63f2a8c4b8 | [
"MIT"
] | permissive | JasonKessler/sklearn-porter | 8e8eb34931e4c82289b6a08cdd29c1c73f032e1c | eaa094e122812d88b6f674dee9bed3ceb8b36e96 | refs/heads/master | 2020-05-20T18:42:48.472607 | 2017-02-08T22:00:22 | 2017-02-08T22:00:22 | 84,506,202 | 1 | 1 | null | 2017-03-10T01:34:15 | 2017-03-10T01:34:15 | null | UTF-8 | Python | false | false | 551 | py | # -*- coding: utf-8 -*-
import unittest
from sklearn.ensemble import RandomForestClassifier
from sklearn_porter import Porter
from ..JavaScriptTest import JavaScriptTest
class RandomForestClassifierTest(JavaScriptTest, unittest.TestCase):
def setUp(self):
super(RandomForestClassifierTest, self).setUp(... | [
"darius.morawiec@nok.onl"
] | darius.morawiec@nok.onl |
a4b35ff16815f444c21e0e23f3f4ba9385c85baa | 13faa0d553ed6c6a57791db3dfdb2a0580a1695b | /CodeChef/Practice/Easy/CARVANS.py | dac8fc3fca89d8ccbf494609774fa48b766d384c | [] | no_license | kautsiitd/Competitive_Programming | ba968a4764ba7b5f2531d03fb9c53dc1621c2d44 | a0d8ae16646d73c346d9ce334e5b5b09bff67f67 | refs/heads/master | 2021-01-17T13:29:52.407558 | 2017-10-01T09:58:23 | 2017-10-01T09:58:23 | 59,496,650 | 0 | 0 | null | 2017-05-20T17:27:18 | 2016-05-23T15:56:55 | HTML | UTF-8 | Python | false | false | 275 | py | for _ in range(input()):
n = input()
a = map(int, raw_input().split())
answer = 0
maxPossibleSpeed = 100000000000000000000
for i in range(n):
if maxPossibleSpeed > a[i]:
maxPossibleSpeed = a[i]
answer += 1
print answer
| [
"kautsiitd@gmail.com"
] | kautsiitd@gmail.com |
b60fcc555ff549bc2fd84e7d9d52087d866b4e82 | d305e9667f18127e4a1d4d65e5370cf60df30102 | /model_zoo/official/nlp/tinybert/src/assessment_method.py | 748666e3cef397c4be599168e5dd82d4d296ad2f | [
"Apache-2.0",
"MIT",
"Libpng",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.1-only",
"AGPL-3.0-only",
"MPL-2.0-no-copyleft-exception",
"IJG",
"Zlib",
"MPL-1.1",
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI",
"MPL-1.0",
"GPL-2.0-only",
"MPL-2.0",
"BSL-1.0",
"LicenseRef-scancode-unknow... | permissive | imyzx2017/mindspore_pcl | d8e5bd1f80458538d07ef0a8fc447b552bd87420 | f548c9dae106879d1a83377dd06b10d96427fd2d | refs/heads/master | 2023-01-13T22:28:42.064535 | 2020-11-18T11:15:41 | 2020-11-18T11:15:41 | 313,906,414 | 6 | 1 | Apache-2.0 | 2020-11-18T11:25:08 | 2020-11-18T10:57:26 | null | UTF-8 | Python | false | false | 1,900 | py | # Copyright 2020 Huawei Technologies Co., Ltd
#
# 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... | [
"513344092@qq.com"
] | 513344092@qq.com |
248b5ac5c6d190627d78e44150eb5ad826a328a2 | 0db67bff1f2dcdadecf635ae535add91cb54c4f3 | /PythonBasis/week07/task08.py | 12d7899dc36dc321d5e9e2c6401c3c56ac766676 | [] | no_license | pavelbrnv/Coursera | 713fdb79dbf6fbde405fc991bd67db0cab30da00 | cc568f79229147866ff1df8539cf8ea66dc9ccca | refs/heads/master | 2023-03-07T23:21:09.685318 | 2021-02-22T15:08:27 | 2021-02-22T15:08:27 | 336,600,379 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 560 | py | inFile = open('input.txt', 'r', encoding='utf8')
n = int(inFile.readline())
possible_answers = set(range(1, n + 1))
while True:
line = inFile.readline().strip()
if line == 'HELP':
break
values = set(map(int, line.split()))
intersection = possible_answers & values
difference = possible_a... | [
"pbaranov@stc-spb.ru"
] | pbaranov@stc-spb.ru |
026207928ea78a4906fb1156e9dac2a4b63314bf | 4388363ba45b95910c25bae3d9c02ad78f4a75d6 | /python/anaconda/pkgs/bokeh-0.12.5-py27_1/lib/python2.7/site-packages/bokeh/_version.py | 2d9d3c6ac66a462a5e597d7f4a5d0c307e53a471 | [] | no_license | locolucco209/MongoScraper | d494e02531f4f165b1e821633dc9661c579337b5 | 74476c9f00ee43338af696da7e9cd02b273f9005 | refs/heads/master | 2022-11-25T19:09:27.248747 | 2018-07-10T03:54:06 | 2018-07-10T03:54:06 | 137,553,786 | 3 | 1 | null | 2022-11-16T04:32:26 | 2018-06-16T04:49:22 | null | UTF-8 | Python | false | false | 498 | py |
# This file was generated by 'versioneer.py' (0.17) from
# revision-control system data, or from the parent directory name of an
# unpacked source archive. Distribution tarballs contain a pre-generated copy
# of this file.
import json
version_json = '''
{
"date": "2017-04-05T16:01:29-0300",
"dirty": false,
"error... | [
"lukemassetti@WestSide-Luke.local"
] | lukemassetti@WestSide-Luke.local |
90bed141b2022685eebdfa1ee87190b50c968533 | 1125345341e496920b661e612cd67cdb96a1d170 | /createCampaign/parameter_tests/ADVERTISER_CATEGORY/test02_iab1_p.py | 866f0bccd30f505390f45962b5719ae352046ada | [] | no_license | Stephen-Williams/swarm-qa | 0bac526f0ee44b8c3677fb35959e6f7d0e258be2 | 90e36b5eab475788d9ab54051ad9c2736f3633ec | refs/heads/master | 2021-01-01T20:11:51.033059 | 2015-07-08T16:07:06 | 2015-07-08T16:07:06 | 38,764,211 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,698 | py | { 'all' :
{ '0':
{ 'ADOMAIN': 'abc.com',
'ADVERTISER_CATEGORY': 'IAB1',
'APP_FILTER': 'sites',
'CREATIVE_ATTR': '0',
'CREATIVE_BASE_64': 'iVBORw0KGgoAAAANSUhEUgAAAUAAAAAyCAIAAACib5WDAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAD2EAAA9hAag/p2kAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAYHSURBVHhe7Z... | [
"stephen.williams@juicemobile.com"
] | stephen.williams@juicemobile.com |
4ecd192088c42fc33bb532ae1b475001c0d0992b | df2cbe914f463ad050d7ed26194424afbe3a0a52 | /addons/sms/wizard/sms_composer.py | 57b6d27ecf455b7e0e48aeeb660cccefee27162e | [
"Apache-2.0"
] | permissive | SHIVJITH/Odoo_Machine_Test | 019ed339e995be980606a2d87a63312ddc18e706 | 310497a9872db7844b521e6dab5f7a9f61d365a4 | refs/heads/main | 2023-07-16T16:23:14.300656 | 2021-08-29T11:48:36 | 2021-08-29T11:48:36 | 401,010,175 | 0 | 0 | Apache-2.0 | 2021-08-29T10:13:58 | 2021-08-29T10:13:58 | null | UTF-8 | Python | false | false | 19,114 | py | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from ast import literal_eval
from odoo import api, fields, models, _
from odoo.addons.phone_validation.tools import phone_validation
from odoo.exceptions import UserError
from odoo.tools import html2plaintext
class Se... | [
"36736117+SHIVJITH@users.noreply.github.com"
] | 36736117+SHIVJITH@users.noreply.github.com |
8b2ff510d53caf77dc3fc6a53a9d025f256c25b2 | 801b637b846b5ada47c462ad8547d240ceba72b8 | /Linked Lists/Remove Linked List Elements.py | 5fa602316c130cf8f1835f61bcff3fecba943547 | [] | no_license | shlokashah/Coding-Practice | 7834fed4b50b85ddcab420e830ecec89638390a5 | a56e1a4185aba1f32c1169d486b705f28888ca07 | refs/heads/master | 2022-11-20T13:00:54.617380 | 2020-07-21T14:35:40 | 2020-07-21T14:35:40 | 252,912,592 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 506 | py | # Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
def removeElements(self, head: ListNode, val: int) -> ListNode:
temp = ListNode()
temp.next = head
cur = temp
while temp.next:
... | [
"shlokashah0603@gmail.com"
] | shlokashah0603@gmail.com |
1c83408411bb27495158a05efcd8fc60e46696ab | 3395a234e7c80d011607e79c49cd48bf516f256b | /dependencies/jedi/third_party/typeshed/third_party/2and3/mypy_extensions.pyi | 19d99cc9d70ca31f5df8f823fe75a31c3fd78c00 | [
"MIT",
"Apache-2.0"
] | permissive | srusskih/SublimeJEDI | 67329b72e184bc9584843968dcc534a002c797a1 | 95c185d778425c04536d53517b0e3fe6dedf8e59 | refs/heads/master | 2023-08-24T11:30:37.801834 | 2022-08-30T09:04:17 | 2022-08-30T09:04:17 | 6,241,108 | 669 | 125 | MIT | 2022-08-30T09:04:18 | 2012-10-16T08:23:57 | Python | UTF-8 | Python | false | false | 2,051 | pyi | import abc
import sys
from typing import (
Dict, Type, TypeVar, Optional, Union, Any, Generic, Mapping, ItemsView, KeysView, ValuesView,
Callable,
)
_T = TypeVar('_T')
_U = TypeVar('_U')
# Internal mypy fallback type for all typed dicts (does not exist at runtime)
class _TypedDict(Mapping[str, object], metacl... | [
"srusskih@users.noreply.github.com"
] | srusskih@users.noreply.github.com |
afca66273f25c8e08d273045ec0a1a360be666e4 | 00be95b38365bbf024572c4071aa20edc85deddd | /pretraining/models/customnet.py | b9207ef3e74ef8fdcbebd153d37281027ca81beb | [
"MIT"
] | permissive | tikzoxs/EyeKnowYouSSL_SimCLR | 2fbbc00642a4068f74a1db6d82bba160ca738346 | cdb92cf43eff6396fd416b3bba2b5bffcb8072c1 | refs/heads/main | 2023-01-12T19:59:24.706886 | 2020-11-15T04:02:59 | 2020-11-15T04:02:59 | 309,214,933 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,108 | py | import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision.models as models
#create your custom net
class CustomNet(nn.Module):
def __init__(self, out_dim=64):
super(CustomNet, self).__init__()
self.conv1 = nn.Conv2d(1, 16, kernel_size=3, stride=1, padding=1)
se... | [
"shamane@ahlab.org"
] | shamane@ahlab.org |
775417051adf3f95c38846eb3bc4d9c9f4928314 | 951fc0da7384b961726999e5451a10e2783462c4 | /plugin.video.docuhub/default.py | 1c4f51c14b2f8c8f342fd92df7a15869ff1d45a5 | [] | no_license | vphuc81/MyRepository | eaf7b8531b2362f0e0de997a67b889bc114cd7c2 | 9bf8aca6de07fcd91bcec573f438f29e520eb87a | refs/heads/master | 2022-01-02T15:07:35.821826 | 2021-12-24T05:57:58 | 2021-12-24T05:57:58 | 37,680,232 | 6 | 10 | null | null | null | null | UTF-8 | Python | false | false | 25,642 | py | import urllib,urllib2,re,xbmcplugin,xbmcgui,xbmc, xbmcaddon, os, sys
import urlresolver
from metahandler import metahandlers
addon_id = 'plugin.video.docuhub'
#ReddiTube - Blazetamer.
addon = xbmcaddon.Addon ('plugin.video.docuhub')
#URL= 'http://www.xbmchub.com'
#PATHS
addonPath = addon.getAddonInfo('path')
artPa... | [
"vinhphuc_81@yahoo.com"
] | vinhphuc_81@yahoo.com |
db6ac5fe2e00e73bf729e3846e1634923d5a9b37 | 2efe8116a5a60f5f7c46cf1b0ac598be49087942 | /EpsilonWebsite/EpsilonWebsite/wsgi.py | 672d83380fb4b4ce6e03f6b0705b39fb5abb00da | [] | no_license | SothanaV/EIweb | caaf8b9f844ebf28d0a45b7cceaf753277cbe1c7 | cedca00e74151a6ecb78da7b76d8888c9c94424b | refs/heads/master | 2021-09-04T04:19:30.124958 | 2018-01-15T18:32:47 | 2018-01-15T18:32:47 | 104,970,256 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 406 | py | """
WSGI config for EpsilonWebsite project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJAN... | [
"nai6320@gmail.com"
] | nai6320@gmail.com |
da7d289d9a5eb18c06ab6d897553543f1728130c | ad5c6daba04c8e04054085f96d36f5b167a09a37 | /src/lepl/stream/maxdepth.py | b5573f0cf84668787a590009e71e57130452fe94 | [] | no_license | nyimbi/LEPL | f49fee47a3c47d0291d2356e8a1e9b3120e32c05 | 0603505f187acc3c7da2e1a6083833a201f8b061 | refs/heads/master | 2021-04-15T13:40:32.860153 | 2018-03-26T14:00:25 | 2018-03-26T14:00:25 | 126,837,047 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 3,162 | py | # The contents of this file are subject to the Mozilla Public License
# (MPL) Version 1.1 (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.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# ba... | [
"nyimbi@gmail.com"
] | nyimbi@gmail.com |
76376141faf3d7231ac68a1fbea4c36860e31d1a | 4e8a1750e6a9e7368c91bc9296fb1c1ff6b8f3ea | /unit08/exercise0806.py | af1899a476a88ac2dc06154710faf36c99c4c111 | [] | no_license | kevin510610/Book_AGuideToPython_Kaiching-Chang | 961dbd24aa1094664b9a9754f2882d4d7f964289 | 7db7cf8186e02f4210a01fbd4c454f0030b57022 | refs/heads/master | 2023-04-16T04:59:51.598236 | 2021-04-13T03:08:32 | 2021-04-13T03:08:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 218 | py | def factorial(n):
i = 1
p = 1
while i <= n:
p *= i
i += 1
return p
n = int(input("n: "))
print(factorial(n))
# 檔名: exercise0806.py
# 作者: Kaiching Chang
# 時間: July, 2014
| [
"kevin510610@gmail.com"
] | kevin510610@gmail.com |
13541c0430b0d0bec4bee881aaa9ca0e0c84bf9a | 6fcfb638fa725b6d21083ec54e3609fc1b287d9e | /python/XX-net_XX-Net/XX-Net-master/code/default/launcher/web_control.py | 4d28e5e98251a04e9c8b4a0c932feeb80b114c45 | [] | no_license | LiuFang816/SALSTM_py_data | 6db258e51858aeff14af38898fef715b46980ac1 | d494b3041069d377d6a7a9c296a14334f2fa5acc | refs/heads/master | 2022-12-25T06:39:52.222097 | 2019-12-12T08:49:07 | 2019-12-12T08:49:07 | 227,546,525 | 10 | 7 | null | 2022-12-19T02:53:01 | 2019-12-12T07:29:39 | Python | UTF-8 | Python | false | false | 20,275 | py | #!/usr/bin/env python
# coding:utf-8
import os, sys
current_path = os.path.dirname(os.path.abspath(__file__))
if __name__ == "__main__":
python_path = os.path.abspath( os.path.join(current_path, os.pardir, 'python27', '1.0'))
noarch_lib = os.path.abspath( os.path.join(python_path, 'lib', 'noarch'))
sys.pa... | [
"659338505@qq.com"
] | 659338505@qq.com |
0ae6c569d7ba64ecd69d11dfaa0d0a8135004962 | ca23b411c8a046e98f64b81f6cba9e47783d2584 | /factorize_a_city/libs/utils.py | 939a7aaaec7f7ab87928e4d456fe97833be80859 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | pdybczak/google-research | 1fb370a6aa4820a42a5d417a1915687a00613f9c | 0714e9a5a3934d922c0b9dd017943a8e511eb5bc | refs/heads/master | 2023-03-05T23:16:11.246574 | 2021-01-04T11:30:28 | 2021-01-04T11:30:28 | 326,629,357 | 1 | 0 | Apache-2.0 | 2021-02-01T12:39:09 | 2021-01-04T09:17:36 | Jupyter Notebook | UTF-8 | Python | false | false | 3,949 | py | # coding=utf-8
# Copyright 2020 The Google Research 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
9bf9a8fa4b7511ee7ddec1c52b7f7f7cc9c701c9 | fb5d2c4c76b311871b23c1d7266f074d4a709ef6 | /plotting/plot_ideal_dlogp.py | e57cb71de188c520b98ce28fb111ff526349a289 | [
"AFL-3.0"
] | permissive | philbull/RadioFisher | 50be8d49d7bdde2712bd35682a359c43f22e3a28 | fe25f969de9a700c5697168ba9e0d2645c55ed81 | refs/heads/master | 2023-01-20T01:27:39.982180 | 2020-11-24T07:44:51 | 2020-11-24T07:44:51 | 315,553,003 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 3,193 | py | #!/usr/bin/python
"""
Plot fractional constraints on P(k) for Euclid and noise-free versions of
Facility with different amounts of foreground contamination. (Fig. 27)
"""
import numpy as np
import pylab as P
from rfwrapper import rf
import matplotlib.patches
import matplotlib.cm
import os
from radiofisher import eucli... | [
"philbull@gmail.com"
] | philbull@gmail.com |
f0b2ebaf72776e0d44d6bcd2b5874668d37c3582 | 8bd3229c4f07243c5756a029f507235e49221d21 | /Store/src/products/migrations/0007_remove_category_catname2.py | 5b5fc3c56ba8de8ea514074faf7386f03e2a398b | [] | no_license | ammaralazie/Online-store | 4d937cbd022c36f9f671593e9e6122edce262f54 | 51e6a8518ab52ce9e6bb589cce31876c944fc191 | refs/heads/master | 2023-02-12T14:51:55.088522 | 2021-01-09T04:04:14 | 2021-01-09T04:04:14 | 304,319,989 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 331 | py | # Generated by Django 3.1 on 2020-08-24 13:11
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('products', '0006_auto_20200824_1308'),
]
operations = [
migrations.RemoveField(
model_name='category',
name='CATName2',
... | [
"alaziiammar@gmail.com"
] | alaziiammar@gmail.com |
f3523dde04d19cfbb77789c443ba224da4bdcd25 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chromeos/DEPS | 757faf1e910c622d4ec213d9ea619db55cb922fd | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 624 | # Please keep the dependencies here to a minimum. This is intended to be a
# low level Chrome OS system library that may be used by targets that need to
# be kept as small as possible.
include_rules = [
"+components/device_event_log",
"+components/policy/proto",
"+components/pref_registry",
"+components/... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com | |
7ce3edaa3f5528687a51a5632a5bf3a96b5872cf | 5e4d6df8fa464f4270855846bf0708ae24d4a572 | /blabla/0625-0701_Antai_src/src/0626/1003time.py | 54ff79984180c1e77ca402b85bd50491051ff27a | [] | no_license | xy2333/tianchi-CBE | 2455796a7241db65ef42dd4f00c6a13fb462f246 | f169d21290e25ccf65bb7a0040e83cb9ef5f9dc2 | refs/heads/master | 2020-06-12T12:09:59.295929 | 2019-08-05T03:43:18 | 2019-08-05T03:43:18 | 194,294,624 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,526 | py | #encoding=utf-8
# 将train表的数据整理出四个is_morning,afternoon,night,midnight等
t1 = '2018-07-23 17:58:40' # 星期1
t2 = '2018-07-24 17:58:40' # 星期2
t3 = '2018-07-25 17:58:40' # 星期3
t4 = '2018-07-26 17:58:40' # 星期4
t5 = '2018-07-27 10:58:40' # 星期5
t6 = '2018-07-28 17:58:40' # 星期6
t7 = '2018-07-29 17:58:40' # 星期7
t8 = '2018-07-30 ... | [
"2531188679@qq.com"
] | 2531188679@qq.com |
7702163683b044efbe23b7af136f4ad89296307d | fdae0a312a3d6bab4c0da379f8989de87ccc8ce2 | /coding.py | fe00cb44d43a609afa6cfb1197c78b3967131ea7 | [] | no_license | Yeldan/Lab2 | a6d65f85b7d164d5dbcee3a73ffaf5df89caa01e | ef25f83da60c5f35fba7cc7fa99b67635d67234f | refs/heads/master | 2021-01-21T10:13:43.927844 | 2017-05-18T10:56:34 | 2017-05-18T10:56:34 | 91,682,801 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 57 | py | bytes = str.encode('utf-8')
str = bytes.decode('utf-8')
| [
"noreply@github.com"
] | Yeldan.noreply@github.com |
c5529a4177d33ed7a6fe2ab0dbe822d9a27ee8fd | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/contrib/crf/python/ops/crf.py | ed0a049ef812b379f4d8f0e4e48e561debf6a71a | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | Python | false | false | 24,184 | py | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
38f2a3c6453da958082a8415834fed4b4f88c315 | d308fffe3db53b034132fb1ea6242a509f966630 | /pirates/leveleditor/worldData/interior_spanish_office_b.py | f2788bd890ca262be5775b0748f195eac97ad422 | [
"BSD-3-Clause"
] | permissive | rasheelprogrammer/pirates | 83caac204965b77a1b9c630426588faa01a13391 | 6ca1e7d571c670b0d976f65e608235707b5737e3 | refs/heads/master | 2020-03-18T20:03:28.687123 | 2018-05-28T18:05:25 | 2018-05-28T18:05:25 | 135,193,362 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 17,202 | py | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.interior_spanish_office_b
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Obje... | [
"33942724+itsyaboyrocket@users.noreply.github.com"
] | 33942724+itsyaboyrocket@users.noreply.github.com |
64128404526fc7098153d4f5fada2b52e72e6af3 | 2b9397e9e26f7d97ce6983d36c9842ac773b70c6 | /operation/migrations/0071_auto_20190724_1239.py | 45003f13e5b832519139fd299b437ec39213d210 | [] | no_license | eakDev/aip-1 | 288ed7d7b8cf65c74b510f4f4e45292e3342796d | 3db2520e3c246e25e2cfa62e395a3ba6ebe37252 | refs/heads/main | 2023-05-02T08:57:42.449727 | 2021-05-23T10:16:59 | 2021-05-23T10:16:59 | 386,578,482 | 1 | 0 | null | 2021-07-16T09:15:22 | 2021-07-16T09:15:22 | null | UTF-8 | Python | false | false | 2,163 | py | # Generated by Django 2.1.1 on 2019-07-24 04:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('operation', '0070_projectitem_dependency'),
]
operations = [
migrations.RemoveField(
model_name='majorexpense',
name... | [
"clyde.khayad@gmail.com"
] | clyde.khayad@gmail.com |
9eace9f419b1b9ae0cad1b501f2f2357ec18e607 | 81e706b69c789aff05691c41fa79156942927f82 | /site-packages/tensorflow/python/framework/ops.py | 5affbf8b8f32469ada589bc76917838044bd011c | [] | no_license | yoncho/OpenCV-code | f5a1091ef32f3c8c3254ab93e083950b84c4fabd | bda2f793b11462e67c7ab644b342beffb871e3de | refs/heads/master | 2023-03-30T12:01:23.521511 | 2021-04-01T13:45:44 | 2021-04-01T13:45:44 | 291,398,453 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 252,207 | py | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | [
"yoncho@student.42seoul.kr"
] | yoncho@student.42seoul.kr |
3fe4225dde822c52e3ce90dea38a7b7379b58f5c | f82757475ea13965581c2147ff57123b361c5d62 | /gi-stubs/repository/EDataServer/SourceBackend.py | 7ddb94ea9928aaba64a496c76564214d8016cf91 | [] | no_license | ttys3/pygobject-stubs | 9b15d1b473db06f47e5ffba5ad0a31d6d1becb57 | d0e6e93399212aada4386d2ce80344eb9a31db48 | refs/heads/master | 2022-09-23T12:58:44.526554 | 2020-06-06T04:15:00 | 2020-06-06T04:15:00 | 269,693,287 | 8 | 2 | null | 2020-06-05T15:57:54 | 2020-06-05T15:57:54 | null | UTF-8 | Python | false | false | 15,830 | py | # encoding: utf-8
# module gi.repository.EDataServer
# from /usr/lib64/girepository-1.0/EDataServer-1.2.typelib
# by generator 1.147
"""
An object which wraps an introspection typelib.
This wrapping creates a python module like representation of the typelib
using gi repository as a foundation. Accessing attrib... | [
"ttys3@outlook.com"
] | ttys3@outlook.com |
bc4bb2ab64e0a17a47e1b6f43fd2b3437f721193 | 6cbaade56c5db347d1be9a3422a69af52df39b97 | /python_workspace/3_bigdata/02_Standardization_Analysis/03_DB/3db_update_rows.py | 5adb87cf5b4001047ddbf256047752fe4797d8e7 | [] | no_license | baewonje/iot_bigdata_- | b54e3772f64b9695efee8632183590628b679e11 | 2ce1af67d2f05abeb2ecd442b7299f349bdb9753 | refs/heads/master | 2020-09-06T09:53:53.018320 | 2019-12-06T08:19:33 | 2019-12-06T08:19:33 | 220,390,928 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,662 | py | # !/usr/bin/env python3
import csv
import sqlite3
import sys
# path to and name of a CSV input file
input_file = sys.argv[1] #data_for_updating.csv
# Creat an in-memory SQLite3 database
# Create a table called sales with four attributes
con = sqlite3.connect(':memory:')
query = """CREATE TABLE IF NOT EXISTS sales
... | [
"50129576+baewonje@users.noreply.github.com"
] | 50129576+baewonje@users.noreply.github.com |
d2a94da24516c80d5f77b6421de322c3da5d2878 | 5e27c7f5426c169fd348b26e94b65c35f9cdc459 | /hiveguilib/HBlender/NodeItemManager.py | 4b7b29f0dc48b1dc592c47a1c27d9ff0efbb321a | [
"BSD-2-Clause"
] | permissive | agoose77/hivesystem | e2c9c27408233b5794151ca74f541d2e6063d58a | e1f55c5ea530a989477edb896dcd89f3926a31b8 | refs/heads/master | 2020-07-21T23:07:37.178856 | 2014-08-23T02:13:19 | 2014-08-23T02:13:19 | 20,776,359 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,172 | py | import bpy
from . import level
class NodeItem:
"""Operator entry within the Add node menu"""
def __init__(self, manager, key, fullkey):
self.manager = manager
self.key = key
self.fullkey = fullkey
def _active(self, context):
if context.space_data.edit_tree is None:
... | [
"goosey15@gmail.com"
] | goosey15@gmail.com |
a6c8ba694d4221f97b510caa34d07f1f90b4820c | 196137e16065125b854f00509849aaf4bd2d0394 | /account/urls.py | 470f067ac27933fb4a7774b6324375f32870c869 | [] | no_license | ksuvarna85/unicode_quiz | 2f74f20fa5327a43e85a3e20538e9c3620a1e4dc | d45df6be213b44d1704163c7137d96c8695bfced | refs/heads/master | 2022-12-27T06:04:37.912161 | 2020-10-16T05:17:22 | 2020-10-16T05:17:22 | 296,305,870 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,110 | py | from django.contrib import admin
from django.urls import path,include
from account import views
app_name='account'
urlpatterns=[
path('register/',views.student_register,name='student_register'),
path('teacher_register/',views.teacher_register,name='teacher'),
path('login/',views.user_login,name='user_logi... | [
"you@example.com"
] | you@example.com |
6fcf9ce530e29da59a5d08eb43a350cdeae05c2e | cd65ec1046a2f02fdb34257e0244dcde1da5a90a | /lextab.py | b8e4a8bdf58397f527291e24143fc491c32d32df | [] | no_license | pritomrajkhowa/WEB_VfPbP | 8999dfa89723a3e50350259ebc86a1a59020c5ca | 37f6354299bb18c350da8708dd64f43ec172c854 | refs/heads/main | 2022-12-24T21:14:38.477151 | 2020-10-04T04:53:50 | 2020-10-04T04:53:50 | 301,031,804 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,074 | py | # lextab.py. This file automatically created by PLY (version 3.10). Don't edit!
_tabversion = '3.10'
_lextokens = set(('EQ', 'OREQUAL', 'INT_CONST_BIN', 'ELLIPSIS', 'MINUSEQUAL', 'DIVIDE', 'GT', 'ELSE', 'PLUS', 'STATIC', 'WCHAR_CONST', 'CASE', 'CHAR', 'CONTINUE', 'STRUCT', 'RETURN', 'REGISTER', '_BOOL', 'PPPRAGMAS... | [
"pritom.rajkhowa@gmail.com"
] | pritom.rajkhowa@gmail.com |
e59211370261a20210a37aca73990884fc1ae746 | 8606267410dabfeacb4b7ff285a8d2250c139acc | /store/migrations/0001_initial.py | 02752dd9c03ef9ffa7bb9baf7b45f72a0984e8d2 | [] | no_license | Taraltinu/chopping-Site | a5e6f6eeeecb4fef92f90770a3c2493eca0f0bde | 1b722d53de1baaa5780701416f78dab62ef7d057 | refs/heads/master | 2022-12-20T07:06:16.602476 | 2020-10-02T18:07:31 | 2020-10-02T18:07:31 | 300,697,693 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 671 | py | # Generated by Django 3.1.1 on 2020-09-11 10:02
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Produc',
fields=[
('id', models.AutoField(a... | [
"tinu1316@gmail.com"
] | tinu1316@gmail.com |
96a7ae82d67e86eaff22d1a70044f9a415631424 | b126ea44cd0fa28d06d5d41a1d302a0ec718ca75 | /env/bin/wheel | d190a661dc561e88da4641f80fcade79163b4144 | [] | no_license | juned8236/Celery | 475c4c84c5097c08ace9f13e58c7ed567ea6ea58 | 7ce61ccf4ec295c02a96f085b0769628e56bf4b3 | refs/heads/master | 2021-02-03T22:55:08.596841 | 2020-02-28T10:58:40 | 2020-02-28T10:58:40 | 243,565,396 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 255 | #!/home/juned8236/Desktop/reactPractise/celery/env/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from wheel.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"juned8236@gmail.com"
] | juned8236@gmail.com | |
5333cb7e40f6f61d1f108d164fb66a2042e93863 | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/domain/AlipayOpenMiniInnerVersionproportionModifyModel.py | b4cc7d37f14d975472b8a0fb77f70ed09f8bac46 | [
"Apache-2.0"
] | permissive | alipay/alipay-sdk-python-all | 8bd20882852ffeb70a6e929038bf88ff1d1eff1c | 1fad300587c9e7e099747305ba9077d4cd7afde9 | refs/heads/master | 2023-08-27T21:35:01.778771 | 2023-08-23T07:12:26 | 2023-08-23T07:12:26 | 133,338,689 | 247 | 70 | Apache-2.0 | 2023-04-25T04:54:02 | 2018-05-14T09:40:54 | Python | UTF-8 | Python | false | false | 3,311 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class AlipayOpenMiniInnerVersionproportionModifyModel(object):
def __init__(self):
self._app_origin = None
self._bundle_id = None
self._dev_id = None
self._mini_app_id =... | [
"jishupei.jsp@alibaba-inc.com"
] | jishupei.jsp@alibaba-inc.com |
2f8dcf3655a9ae3cdee7dbe1d09991ec55257159 | e3bdb7844f634efd89109079d22cade713c4899d | /openapi_client/models/void_transaction_all_of.py | ce89ea1172ba74575cfc5d49430f63a171e6cf8d | [] | no_license | pc-coholic/Python | 5170c27da09b066c353e09539e404961f7ad50b7 | b7251c31339b579f71fb7ee9db05be51e9e43361 | refs/heads/master | 2023-04-19T02:42:02.914726 | 2021-04-26T16:07:37 | 2021-04-26T16:07:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,420 | py | # coding: utf-8
"""
Payment Gateway API Specification.
The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501
The ve... | [
"emargules@bluepay.com"
] | emargules@bluepay.com |
fbc08241b0dfb136f94f6e6040620b9099350cbd | 1811d37ed6474ab7eaeafff3c82d3bb7c0466e3d | /parts/zodiac/zope/interface/declarations.py | b29efbd9678e5ce7f21d159b9f3635b127f760a8 | [] | no_license | bernatcortina/zodiac | ed384fe96f6739d841a3a777d10bad4b33fd0e78 | aa0ecb2c386fc5b54ff60ba94e0a1bc5a7493f17 | refs/heads/master | 2021-01-18T14:02:44.978553 | 2014-02-07T17:33:27 | 2014-02-07T17:33:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 112 | py | /Users/Bernat/GitHub/zodiac/eggs/zope.interface-4.0.5-py2.7-macosx-10.9-intel.egg/zope/interface/declarations.py | [
"bernatcortina@gmail.com"
] | bernatcortina@gmail.com |
d14efda8cfee2e7edb7d3d875f12d4848bbe9367 | b06978b6020ce3240912ba5c131c4f38a86d7996 | /Pycharm_files/Midterm_Complete/midterm/loopspractice.py | 426dbf5a01a6f3106e0febdb17ac5ac94fd9fff0 | [] | no_license | mn4774jm/PycharmProjects | 95dc8ee6b89a85ba02d4134aa5b5bce11004647b | 886bcf2400abc9a1f797fe98d09241f99fa16322 | refs/heads/master | 2021-08-09T10:20:27.907847 | 2020-09-04T15:21:21 | 2020-09-04T15:21:21 | 219,878,503 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 61 | py | streets = ['Lake', 'Hennipen', 'Lyndale']
print(street)
print | [
"mn4774jm@go.minneapolis.edu"
] | mn4774jm@go.minneapolis.edu |
7fa572d27d6541c78c9f0fa12047679f64d428d0 | 6efb8ca0d1a48edf1335e8fd046ef79072282b9c | /实验/6章/例题/6-10a-to-A.py | f9a13bef6eb3c68edbdf57fa62cbc38546a813f2 | [] | no_license | RedheatWei/python-study | f0c35afd7325982568f554f4eded6a75f9eb8b49 | 3a7dc64028e5246198d7a64c1dc9ee318992020e | refs/heads/master | 2021-01-01T17:13:35.156410 | 2019-07-29T09:18:52 | 2019-07-29T09:18:52 | 98,027,727 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Python | false | false | 168 | py | #!/usr/bin/env python
#_*_ coding:utf-8 _*_
'''
Created on 2015Äê2ÔÂ26ÈÕ
@author: Redheat
'''
str_first = raw_input('Enter a string:')
print str_first.swapcase() | [
"qjyyn@qq.com"
] | qjyyn@qq.com |
e58c92bd32e5a53043d10fe57e30d8a17565d77d | 3f12998434f55b3a5eda3f5e934ea692f73450b6 | /verify_signature.py | f4f55360302712f91059341392a956dc534eaf6d | [
"MIT"
] | permissive | Genxster1998/android_universal | 1ad3dd60233b5993eb05a20f9c832182a8b8f3f1 | 6929fb413b2f9aa789546f0cc9e22e2ab8407634 | refs/heads/master | 2022-02-15T18:57:35.009677 | 2019-08-28T12:23:42 | 2019-08-28T12:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,629 | py | #!/usr/bin/env python3
# Dump Android Verified Boot Signature (c) B.Kerler 2017-2018
import hashlib
import struct
from binascii import hexlify,unhexlify
import sys
import argparse
from Crypto.Util.asn1 import DerSequence
from Crypto.PublicKey import RSA
from root.scripts.Library.avbtool3 import *
from root.scripts.Libr... | [
"info@revskills.de"
] | info@revskills.de |
c91b6d4d976b7babc5a3e71d20631f1d1e590f59 | 7c69c27a1c6ff2a1552900f4c1001281f4447233 | /codechef/cnote.py | 3694d9b77b4c2bf333e653fa8cf7792e0225184b | [] | no_license | Hamiltonxx/pyalgorithms | 894a0228928819601a816c472689ce96a11e1d25 | 92284f6105c5deb7f843ff299ee3ceb6382cf879 | refs/heads/master | 2023-09-04T13:01:46.465661 | 2023-09-02T05:50:23 | 2023-09-02T05:50:23 | 231,999,229 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 283 | py | T = int(input())
for i in range(T):
X,Y,K,N = map(int, input().split())
left = X-Y
flag=0
for j in range(N):
P,C = map(int, input().split())
if left<=P and C<=K and flag==0:
flag=1
print("LuckyChef") if flag else print("UnluckyChef")
| [
"hamiltonhgz@gmail.com"
] | hamiltonhgz@gmail.com |
5e419e8f6008694b7ab2272f54bb1a47a63ce4d4 | b341a8d120737297aa8fd394a23633dac9b5ccda | /accounts/migrations/0002_remove_customuser_department.py | 491606403866741ecec2bdf0b085d4202f9d193b | [] | no_license | Minari766/disney_side_stories | 16d97cb02bf00aa5439d59f753abb9a4706a30aa | aa2d88b1b0fdd87a27f41318bd3ec7352229b6ff | refs/heads/main | 2023-08-15T07:03:16.922579 | 2021-10-03T07:47:22 | 2021-10-03T07:47:22 | 306,496,250 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 327 | py | # Generated by Django 2.2.16 on 2021-01-13 14:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('accounts', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='customuser',
name='department',
),... | [
"mina3.ryu0728@gmail.com"
] | mina3.ryu0728@gmail.com |
3d2140dadd0c275c33161111b9edcf894ae45655 | cb65ef874d2427a1edcb132cda05e5ce2dc1aae4 | /modpy/stats/examples/example_hamiltonian.py | 56885508b9fcac1531048e82e79ab1919926985c | [
"MIT"
] | permissive | FrederikLehn/modpy | 1395c27029f5fbfae2388cbd500b28e67a3cdb9e | 19ab18547e06e93fabfbd7f7b2f0f07ff0e70db3 | refs/heads/main | 2023-07-14T11:58:26.379687 | 2021-07-30T11:04:19 | 2021-07-30T11:04:19 | 390,731,060 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,567 | py | import numpy as np
from numpy.random import Generator, PCG64
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
from matplotlib.patches import Patch
from modpy.stats import hamiltonian_mc
from modpy.stats._core import auto_correlation, auto_correlation_time
from modpy.plot.plot_util import cm_... | [
"noreply@github.com"
] | FrederikLehn.noreply@github.com |
616cc832511e0d987c803eef500c6c3d52031364 | d8b201ba6bf57db0101d88836429bbcb3a10b857 | /Debugging/WordsScore.py | 498ac004178cda6a9c940b240758bb48d0b5f954 | [
"MIT"
] | permissive | MaxCodeXTC/PythonHackerRankSolutions | 32ad41df3fbd33f8651cdc5099c8ec3d37d9bc17 | 987618b61b71fe5e9a40275fb348476657bbea57 | refs/heads/master | 2022-06-28T06:00:19.126751 | 2020-05-07T09:23:37 | 2020-05-07T09:23:37 | 262,471,271 | 1 | 0 | null | 2020-05-09T02:24:11 | 2020-05-09T02:24:10 | null | UTF-8 | Python | false | false | 129 | py | '''
Title : Words Score
Subdomain : Debugging
Domain : Python
Author : codeperfectplus
Created : 17 January 2020
'''
| [
"54245038+perfect104@users.noreply.github.com"
] | 54245038+perfect104@users.noreply.github.com |
c275f43eb61c8eb74f5a97d674bd1f452c0c7b93 | 386a5b505d77c9798aaab78495d0f00c349cf660 | /Prognos Project/Working/Latiket Jaronde Git/DJango examples/DynamicUrls/urlDemo/views.py | bd2b5dba4a0956ad113487a7d28a7ebb91ba1c86 | [] | no_license | namratarane20/MachineLearning | 2da2c87217618d124fd53f607c20641ba44fb0b7 | b561cc74733b655507242cbbf13ea09a2416b9e2 | refs/heads/master | 2023-01-20T18:54:15.662179 | 2020-03-09T14:12:44 | 2020-03-09T14:12:44 | 237,597,461 | 0 | 0 | null | 2023-01-05T12:37:12 | 2020-02-01T10:22:20 | Python | UTF-8 | Python | false | false | 897 | py | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def home(request, name=""):
l = [{'a': 1, 'b': 2, 'c': 3}, {'a': 11, 'b': 22, 'c': 33}, {'a': 111, 'b': 222, 'c': 333}]
if name == "":
data = ['latiket', 'akash', 10, 20]
name = "Dom"
co... | [
"namrata.ashok@impelsys.com"
] | namrata.ashok@impelsys.com |
1758849bf2661b3f1dcfd1af37f68a1e02729240 | d41d18d3ea6edd2ec478b500386375a8693f1392 | /plotly/validators/parcoords/dimension/_templateitemname.py | a6797fb9536cd704210159e36fd5b521aea5421a | [
"MIT"
] | permissive | miladrux/plotly.py | 38921dd6618650d03be9891d6078e771ffccc99a | dbb79e43e2cc6c5762251537d24bad1dab930fff | refs/heads/master | 2020-03-27T01:46:57.497871 | 2018-08-20T22:37:38 | 2018-08-20T22:37:38 | 145,742,203 | 1 | 0 | MIT | 2018-08-22T17:37:07 | 2018-08-22T17:37:07 | null | UTF-8 | Python | false | false | 474 | py | import _plotly_utils.basevalidators
class TemplateitemnameValidator(_plotly_utils.basevalidators.StringValidator):
def __init__(
self,
plotly_name='templateitemname',
parent_name='parcoords.dimension',
**kwargs
):
super(TemplateitemnameValidator, self).__init__(
... | [
"noreply@github.com"
] | miladrux.noreply@github.com |
fc701644c46768b290144139c8e8bd03e9cfb9b7 | a8e132de33ff576205811432052265bfca1a8413 | /unified_social_api/exceptions.py | beace5f272fa3563486ff355401cf417b58f937f | [
"MIT"
] | permissive | kanishkarj/unified-social-api | 4b1f81026d0772a9d399b2db39b0a5924e02946b | 85bfd566d18087d0a526288bd297059b1e3dcb74 | refs/heads/master | 2021-09-04T03:55:02.226635 | 2018-01-15T15:17:16 | 2018-01-15T15:17:16 | 117,405,090 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 104 | py | class UnifiedSocialAPIError(Exception):
pass
class NotFoundError(UnifiedSocialAPIError):
pass
| [
"appukuttancr@gmail.com"
] | appukuttancr@gmail.com |
0f149c6acecb80330e3c79511180324dbce155fb | 2aba62d66c2c622bdc148cef451da76cae5fd76c | /exercise/learn_python_dm2039/ch30/ch30_17.py | b986aa91ea8f242a52bc9f62580e37d7407553c6 | [] | no_license | NTUT-109AB8011/crawler | 6a76de2ab1848ebc8365e071e76c08ca7348be62 | a703ec741b48d3af615a757fed7607b1f8eb66a6 | refs/heads/master | 2023-03-26T22:39:59.527175 | 2021-03-30T03:29:22 | 2021-03-30T03:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 572 | py | # ch30_17.py
import threading
import time
def worker():
print(threading.currentThread().getName(), 'Starting')
time.sleep(3)
print(threading.currentThread().getName(), 'Exiting')
w = threading.Thread(name='worker',target=worker)
w.start()
print('start join')
w.join(1.5) # 等待worker執... | [
"terranandes@gmail.com"
] | terranandes@gmail.com |
93ca2f8487f174dab4e789d314ee88d24e2f3ce9 | 247508a09bbcd08f75de7c85118caf857941f9dd | /python/lvmscp/actor/commands/focus.py | df0a3a6a39a0203eecff28d2afa3789178f3787b | [
"BSD-3-Clause"
] | permissive | sdss/lvmscp | 051b6aad20d2a184ac046be086331fa06f2d3fa2 | f74d83997cbba01a0c5b55615fbe6dbf0572b8c9 | refs/heads/main | 2023-09-02T19:47:20.394310 | 2023-08-31T19:32:15 | 2023-08-31T19:32:15 | 348,923,320 | 2 | 0 | BSD-3-Clause | 2022-04-11T02:59:57 | 2021-03-18T03:03:12 | Python | UTF-8 | Python | false | false | 3,827 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2022-05-14
# @Filename: focus.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
from __future__ import annotations
from typing import TYPE_CHECKING
import click
from archon.actor.co... | [
"gallegoj@uw.edu"
] | gallegoj@uw.edu |
c58b535953582454e0c1d3cc1dbbab28db5bf736 | 4a8c1f7d9935609b780aff95c886ef7781967be0 | /atcoder/AOJ/id1130.py | 4af6ca8e627dfbd5e251b8aee1fa908bddc0e8e3 | [] | no_license | recuraki/PythonJunkTest | d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a | 2556c973d468a6988d307ce85c5f2f8ab15e759a | refs/heads/master | 2023-08-09T17:42:21.875768 | 2023-07-18T23:06:31 | 2023-07-18T23:06:31 | 13,790,016 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,682 | py |
def do():
while True:
from collections import deque
w, h = map(int, input().split())
if w == h == 0: break
maze = []
curh, curw = -1, -1
maze.append("#" * (w+2))
for hh in range(h):
l = list("#" + input() + "#")
if l.count("... | [
"kanai@wide.ad.jp"
] | kanai@wide.ad.jp |
7f31e3454fffeba9d60042466e01d28db7bf7dcd | 7cbcef1abbc76c43e2dd094bfe51f81fba8b0e9a | /03_Computer_Vision_OpenCV/01_Document_Scanner/01_document_scanner.py | c09f13abf132d8705185ace2110593b342c9f948 | [] | no_license | SimonSlominski/Data_Science | 10fd5ca3bba8718b19804200c8f14e241e1e78b2 | 5cab52be83effc9e0b9a86888cedcd836dd00980 | refs/heads/master | 2021-05-17T11:19:11.509588 | 2020-06-15T13:44:47 | 2020-06-15T13:44:47 | 250,752,832 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,914 | py | """
Detection problems may occur if the background of the image is bright
"""
from numpy.linalg import norm
from skimage.filters import threshold_local
import numpy as np
import imutils
import cv2
image = cv2.imread('images/paragon_1.jpg')
# Image size standardization
# Keep a copy of the original image for later tr... | [
"simon.slominski@gmail.com"
] | simon.slominski@gmail.com |
f74cc4930dcd25bf2e86b5bc9d77e8b29a9297ba | d5be74d2de6fa0ded61d6c3ee7c91a403c0f90db | /quantarhei/qm/liouvillespace/rates/foersterrates.py | 36cb1e2bc487d09ec05efb6449d60fc918149f64 | [
"MIT"
] | permissive | tmancal74/quantarhei | 43cf9d4be857b8e6db1274ebb8a384f1545cd9ad | fa3042d809005d47106e53609e6a63aa780c477c | refs/heads/master | 2023-05-11T06:57:36.368595 | 2023-05-02T13:10:18 | 2023-05-02T13:10:18 | 63,804,925 | 20 | 22 | MIT | 2022-12-21T14:10:00 | 2016-07-20T18:30:25 | Python | UTF-8 | Python | false | false | 5,021 | py | # -*- coding: utf-8 -*-
import numpy
import scipy.interpolate as interp
from ...hilbertspace.hamiltonian import Hamiltonian
from ...liouvillespace.systembathinteraction import SystemBathInteraction
from ...corfunctions.correlationfunctions import c2g
class FoersterRateMatrix:
"""Förster relaxation rate matrix
... | [
"tmancal74@gmail.com"
] | tmancal74@gmail.com |
8ed1850e0eac4651d703f9597c4758f2e6abce1e | 4309919e2361b3e6364fac19fed1e5c40bb6a038 | /yowsup_celery/exceptions.py | 8d667832be294372d4000c9d7a62cb8956c25b17 | [
"ISC"
] | permissive | astamiviswakarma/yowsup-celery | 85b0422a393afa2b3aebb94198bc0a4812b237ed | 75f8edf8832ab1c3370e58a049a2e74e1691276e | refs/heads/master | 2021-07-18T14:41:48.695265 | 2019-01-23T19:25:07 | 2019-01-23T19:25:07 | 135,594,100 | 0 | 0 | ISC | 2018-09-13T08:11:39 | 2018-05-31T14:23:57 | Python | UTF-8 | Python | false | false | 710 | py | # -*- coding: utf-8 -*-
class YowsupCeleryError(Exception):
pass
class UnexpectedError(YowsupCeleryError):
""" Raised for unknown or unexpected errors. """
pass
class ConfigurationError(YowsupCeleryError):
"""
Raised when YowsupStack detects and error in configurations
"""
pass
class C... | [
"jlmadurga@gmail.com"
] | jlmadurga@gmail.com |
1717287b96485ca0b2e569fabca1eae0984ef0fa | 647efc6a8ab5511e30cccb1f3f3af697acc83bcc | /queue_sample.py | c94eb18928417f75008174b195a16175af637880 | [] | no_license | syuuhei-yama/python_01 | 5e244160b12e4023637220e0cfa4a1318f70d265 | e94bc7d9c27bc3ae9cc66a7f87e2de13cc5efaae | refs/heads/master | 2022-12-02T20:14:08.550739 | 2020-08-24T08:46:18 | 2020-08-24T08:46:18 | 289,867,426 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 347 | py | #Queue
from queue import Queue
q = Queue(maxsize=3)
print(q.qsize())
print(q.queue)
print(q.empty())
print(q.full())
q.put('A')
q.put('B')
q.put('C')
q.put_nowait('D')
print(q.qsize())
print(q.queue)
print(q.empty())
print(q.full())
#var = q.get()
#print(var)
#print(q.queue)
#var = q.get()
#var = q.get()
#var = q.ge... | [
"syuuhei0615@icloud.com"
] | syuuhei0615@icloud.com |
ccb008ca1217d6ee113dab2c527a5a986495c0e0 | ab4b08284590c3dd2d09f7de2adc35943a3b59f9 | /yqc_huoerguosi_spider/yqc_huoerguosi_spider/settings.py | 6527b1acc25a876e774a16bc5715d8646f22ac3b | [] | no_license | james-hadoop/JamesScrapy | bfe71dc837a2cc61b5eee3b953f8a5b35a40820d | cbf3e230e919da1cfb76ba0d741440206c39e4cf | refs/heads/master | 2020-08-28T23:46:49.816208 | 2020-06-28T23:54:09 | 2020-06-28T23:54:09 | 217,856,936 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,241 | py | # -*- coding: utf-8 -*-
# Scrapy settings for yqc_huoerguosi_spider project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
# https://docs.scrapy.org/en/latest/topics/settings.html
# https://docs.scrapy.org... | [
"james@JamesUbuntu"
] | james@JamesUbuntu |
bdec9615902bc5bbbe3192556bcbc5bf9f5710d7 | 7f763d7c2289e0dcbcc01073f38ea11706736ed7 | /HackerNews/plugin.py | 27d9b8720aec36b4808d78d8e7003e3883d034b8 | [] | no_license | davidsedlar/LemongrabBot | ee3662a506dcbf6c6bfea0decd00044dd0e40ea9 | 37e18bc54554394ea3afa60fa168414e43ce0a99 | refs/heads/master | 2021-01-15T12:42:21.857132 | 2014-12-31T20:42:43 | 2014-12-31T20:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,080 | py | import json
import urllib
import urllib2
import re
import supybot.utils as utils
from supybot.commands import *
import supybot.plugins as plugins
import supybot.ircutils as ircutils
import supybot.callbacks as callbacks
class HackerNews(callbacks.Plugin):
"""Add the help for "@plugin help HackerNews" here
Th... | [
"smithers_mr@yahoo.com"
] | smithers_mr@yahoo.com |
1f4bbcaf1f8e581b86c481a3c4d929a82dbca5c2 | 45abeaad9890863c6d1ad849d7bbc3780d9cefa1 | /levelstates.py | fa8bb2380f8fdbea4236bf6077d6024ade9ad06c | [] | no_license | morganq/picketpuzzle | 2af354a0b1ec2d151713557ade4ff0833b153597 | 84a0185a0a4323b1b53f9eb2f7e97306cf533bd0 | refs/heads/main | 2023-01-20T23:54:40.879072 | 2020-11-27T19:08:36 | 2020-11-27T19:08:36 | 307,177,341 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,923 | py | from states import State
import framesprite
import worker
import game
import text
import csv
import math
import pygame
import sound
from resources import resource_path
def autotile_around(scene, cx, cy):
w = len(scene.tilemap._grid[0])
h = len(scene.tilemap._grid)
for x in range(max(cx - 1,0), min(cx + 2, ... | [
"morganquirk@gmail.com"
] | morganquirk@gmail.com |
39475ae26aaa932b43d254a8b348976f7b7b4d1b | c4a046a62e933d72d3404787429d0840517ae9bd | /sandbox/gkahn/gcg/envs/env_utils.py | 4501126847636df8b691476716de4cc38ea5e34e | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | JasonTOKO/gcg | 6d1cff2307e1bae6790357ea569ed4cca594eb1d | e48c5cf47bfbc879c9477a8c98b3b108d43413af | refs/heads/gcg_release | 2020-04-29T02:30:28.133570 | 2017-12-26T17:06:14 | 2017-12-26T17:06:14 | 175,770,942 | 1 | 0 | NOASSERTION | 2019-03-15T07:32:36 | 2019-03-15T07:32:35 | null | UTF-8 | Python | false | false | 784 | py | from rllab.misc.ext import set_seed
### environments
import gym
from sandbox.rocky.tf.envs.base import TfEnv
from rllab.envs.normalized_env import normalize
def create_env(env_str, is_normalize=True, seed=None):
from rllab.envs.gym_env import GymEnv, FixedIntervalVideoSchedule
from sandbox.gkahn.gcg.envs.rcca... | [
"gkahn13@gmail.com"
] | gkahn13@gmail.com |
0984a460f47fe467dc4b1b0a1b5591fed90dc568 | db7a459e31c0a186dca64a829f93090fa58feab0 | /ai_learning/data_structure/sort05_quick.py | 1d18ed1f5e05491e090069d04ec5228d88187b18 | [] | no_license | ZouJoshua/dl_project | a3e7c9e035c37af698d4ef388fbb8c46174d5de1 | ee7ecedd55ce544b127be8009e026ac2cdc3f71b | refs/heads/master | 2022-12-04T04:21:19.937698 | 2022-01-27T07:33:37 | 2022-01-27T07:33:37 | 175,645,793 | 9 | 3 | null | 2022-11-21T21:30:23 | 2019-03-14T15:07:27 | Python | UTF-8 | Python | false | false | 2,001 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Author : Joshua
@Time : 4/27/20 1:47 PM
@File : sort05_quick.py
@Desc : 快速排序
"""
def quick_sort(alist, l, r):
"""
快速排序算法
平均时间复杂度O(nlogn)
最优时间复杂度(序列是有序的O(n))
最坏时间复杂度O(n^2)
稳定
:param alist:
:param left:
:param right:
... | [
"joshua_zou@163.com"
] | joshua_zou@163.com |
a5a9e4a77f543308bc1b3f321af2c9e0d305c91a | 275bc864a84723d6767207573017c7258d60370c | /Refinement_based_extraction/Training_Functions.py | 61a9c272c05e1b2fde13837fa44901eace8ab83e | [
"MIT"
] | permissive | DES-Lab/Extracting-FSM-From-RNNs | ccfa7286b3894fde9e30405fdd2089c54a0b650a | 761b78aed155827b6bb6479daf17a144e7ec8560 | refs/heads/master | 2023-04-08T04:57:16.214037 | 2022-04-14T15:38:07 | 2022-04-14T15:38:07 | 357,165,036 | 15 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,688 | py | from Refinement_based_extraction.Helper_Functions import n_words_of_length
def make_train_set_for_target(target,alphabet,lengths=None,max_train_samples_per_length=300,search_size_per_length=1000,provided_examples=None):
train_set = {}
if None is provided_examples:
provided_examples = []
if None is ... | [
"edi.muskardin@silicon-austria.com"
] | edi.muskardin@silicon-austria.com |
53655fd4008f110145660387e8700896033eb634 | 08428ba80f90f73bbce19e5bd0f423a1b4d025d7 | /src/project_requests/urls.py | 0dc1335179831f78e8a61384807b73fa52521851 | [] | no_license | marcoverl/openstack-security-integrations | 0d3afe093b361c548b65be9e405e10318d51c7cd | 58c560885b007cf25444e552de17c0d6a5a0e716 | refs/heads/master | 2021-01-16T21:18:56.071490 | 2014-06-17T07:56:48 | 2014-06-17T07:56:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 330 | py | from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url
from openstack_dashboard.dashboards.project.project_requests import views
prefix = 'openstack_dashboard.dashboards.project.project_requests.views'
urlpatterns = patterns(prefix,
url(r'^$', views.RequestView.as_view(), name='... | [
"paolo.andreetto@pd.infn.it"
] | paolo.andreetto@pd.infn.it |
25acdb599ea1581404dd9bbd43b3f18bf10d0365 | 70cdf0741a22c678401a306229003bf036ffe5a6 | /ocbind/network_instances/network_instance/protocols/protocol/bgp/peer_groups/peer_group/afi_safis/afi_safi/ipv6_labeled_unicast/prefix_limit/state/__init__.py | 321149c809a62cbbcdc1f550735a614802d8fbbc | [] | no_license | zsblevins/nanog81-hackathon | 5001e034339d6b0c6452ae2474f06916bcd715cf | 1b64fd207dd69837f947094fbd6d6c1cea3a1070 | refs/heads/main | 2023-03-03T09:39:28.460000 | 2021-02-15T13:41:38 | 2021-02-15T13:41:38 | 336,698,856 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 61,830 | py | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | [
"zblevins@netflix.com"
] | zblevins@netflix.com |
603c1e8258762426c4676d2615db71ac122ca5f1 | 14ed6c8bf8f735bd08e7d9d3a06ab71b06335a82 | /update.py | 1d00a9614c9b3cef7b10fd6b2a83dd90174807ae | [] | no_license | HackLB/garage_sales | 8e9ef258c1fa5ec55e85e3819ce07f0ad077ae48 | 78b865ccbf40471ee45b4925b18da56968ee2f6c | refs/heads/master | 2021-01-11T06:52:43.886156 | 2017-09-03T01:00:07 | 2017-09-03T01:00:07 | 72,356,303 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,596 | py | #!/usr/bin/env python
import os, sys
import requests
from bs4 import BeautifulSoup
from pprint import pprint
import simplejson as json
import hashlib
from geopy.geocoders import Nominatim, GoogleV3
from geopy.exc import GeocoderTimedOut
with open('../secrets.json') as f:
secrets = json.load(f)
geolocator = ... | [
"rogerhoward@mac.com"
] | rogerhoward@mac.com |
93c5bfc63f145f5c6a7b441e8bc989771e798849 | 7136e5242793b620fa12e9bd15bf4d8aeb0bfe7a | /adspygoogle/dfp/zsi/v201010/LineItemCreativeAssociationService_services.py | a543d1f0478ee699edbcb3c5695e3c57cc42665a | [
"Apache-2.0"
] | permissive | hockeyprincess/google-api-dfp-python | 534519695ffd26341204eedda7a8b50648f12ea9 | efa82a8d85cbdc90f030db9d168790c55bd8b12a | refs/heads/master | 2021-01-10T10:01:09.445419 | 2011-04-14T18:25:38 | 2011-04-14T18:25:38 | 52,676,942 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,486 | py | ##################################################
# LineItemCreativeAssociationService_services.py
# generated by ZSI.generate.wsdl2python
##################################################
from LineItemCreativeAssociationService_services_types import *
import urlparse, types
from ZSI.TCcompound import ComplexType... | [
"api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138"
] | api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138 |
dadb74301dd4de7542922d6102444f2aa9f68ad5 | dbeb1e145eba012a200073038d8a8965ae0c6f5d | /Visualize/surface_3d.py | 167ea594250b9f07a7afab12a5d1e0b9efa58eff | [] | no_license | hellJane/Python_DataAnalysis | b7027cb9d8e75a98b5626a58ee85b64f62c54c9c | 966ee5d732e074e9d124333f13d3e3e23ade1edc | refs/heads/master | 2021-05-17T01:57:24.092791 | 2017-12-01T15:32:32 | 2017-12-01T15:32:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,397 | py | import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.ticker import LinearLocator, FormatStrFormatter
'''
这个用的比较多,写一下常用参数的含义:
X, Y, Z: 显然这是数据样本点的参数,这里的格式就需要跟contour()一样了,都是2D的数组,即meshgrid
rstride: 绘制表面的行间距
cstride: 绘制表面的列间距
rcount: 绘制表面的行上限
ccount: 绘制表面的列... | [
"noreply@github.com"
] | hellJane.noreply@github.com |
2ec6b6118058d57111beec5e02205c2fd1ddff50 | 5cc8c3690f2398698d78800734f7d1ba5dc5a515 | /notebooks/loader.py | d2725ef5eb97333649f1520c70fcefb1cbf8eed4 | [
"MIT"
] | permissive | kaiyingshan/ode-solver | 0094f06e1bb9f265517b4befec0c04bd3a9d9407 | 30c6798efe9c35a088b2c6043493470701641042 | refs/heads/master | 2020-04-23T00:39:22.148183 | 2019-05-07T17:35:34 | 2019-05-07T17:35:34 | 170,787,367 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 136 | py | import os
import sys
module_path = os.path.abspath(os.path.join('..'))
if module_path not in sys.path:
sys.path.append(module_path)
| [
"hanzhi713@163.com"
] | hanzhi713@163.com |
6bc942a94a76a3549acab8a58b09d349fd303f10 | 8ae07790f074439a329f55f3ed3408e2ba775a74 | /Desktop/packages/rmutil/UnixDriveDetector.py | 6097e90559c3ec61aeda0a70120d58db5927bc00 | [
"Apache-2.0"
] | permissive | peter9teufel/usb-kiosk | cf06bc7c612b99860f8e1109a293c24e10e7a016 | be931bfe79636e8280748e06d29a4c86af423478 | refs/heads/master | 2020-04-06T04:10:04.711126 | 2015-02-20T11:43:38 | 2015-02-20T11:43:38 | 21,199,497 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,160 | py | import threading, sys, os, time, platform, getpass
import wx
if platform.system() == "Linux":
from wx.lib.pubsub import setupkwargs
from wx.lib.pubsub import pub as Publisher
else:
from wx.lib.pubsub import pub as Publisher
if platform.system() == "Linux":
if 'fedora' in platform.dist():
user =... | [
"peter9teufel@gmail.com"
] | peter9teufel@gmail.com |
9042aa99583f972e7c0f07daa53deb9a89199f8c | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2020_07_01_preview/_policy_client.py | 581050251e24acfacfc172e0aca18058b3633016 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 4,057 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | Azure.noreply@github.com |
18524e6801d0308155e4a34d799b0733c105b938 | b27e5b8760a719d264a0be81d6e7097bd0708963 | /UserDev/EventDisplay/python/pyqtgraph/widgets/TableWidget.py | 9b9dcc49dc3bb07fd742ca831fb9d2ee3ec33a3d | [] | no_license | davidc1/gallery-framework | 8b11540546912bd79e8f35b34faea4470844203a | 27fd97cbc156d76ec682e5a207a14527c7cce957 | refs/heads/master | 2020-03-29T00:05:22.018380 | 2019-07-30T14:35:20 | 2019-07-30T14:35:20 | 149,324,237 | 3 | 1 | null | 2023-08-10T09:01:16 | 2018-09-18T17:06:23 | Python | UTF-8 | Python | false | false | 18,117 | py | # -*- coding: utf-8 -*-
import numpy as np
from ..Qt import QtGui, QtCore
from ..python2_3 import asUnicode, basestring
from .. import metaarray
__all__ = ['TableWidget']
def _defersort(fn):
def defersort(self, *args, **kwds):
# may be called recursively; only the first call needs to block sorting
... | [
"corey.adams@yale.edu"
] | corey.adams@yale.edu |
6757af7cac4bdda23747b34a7f1f13a843f4ffea | 8ce656578e04369cea75c81b529b977fb1d58d94 | /bank_guarantee/migrations/0037_auto_20200221_1322.py | f40f4f6609c6fc8c2adbea5af7ea5f848ca4d2e0 | [] | no_license | JJvzd/django_exp | f9a08c40a6a7535777a8b5005daafe581d8fe1dc | b1df4681e67aad49a1ce6426682df66b81465cb6 | refs/heads/master | 2023-05-31T13:21:24.178394 | 2021-06-22T10:19:43 | 2021-06-22T10:19:43 | 379,227,324 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 457 | py | # Generated by Django 2.1.7 on 2020-02-21 10:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bank_guarantee', '0036_auto_20200131_0005'),
]
operations = [
migrations.AlterField(
model_name='requeststatus',
nam... | [
"javad@MacBook-Pro-Namig.local"
] | javad@MacBook-Pro-Namig.local |
938b1412931f54fefe25078052ee0bc92effebf3 | 9cd180fc7594eb018c41f0bf0b54548741fd33ba | /sdk/python/pulumi_azure_nextgen/storage/v20181101/get_blob_container_immutability_policy.py | ec61eb93d9aab5985bfca2abc2f0d65f0e8c4e2e | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | MisinformedDNA/pulumi-azure-nextgen | c71971359450d03f13a53645171f621e200fe82d | f0022686b655c2b0744a9f47915aadaa183eed3b | refs/heads/master | 2022-12-17T22:27:37.916546 | 2020-09-28T16:03:59 | 2020-09-28T16:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,604 | 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
__a... | [
"public@paulstack.co.uk"
] | public@paulstack.co.uk |
29063ff6540ddec2aa06c9e35f1bc7a3b64d8b2e | 8a3e7b779676e396853dc1fb22525e501050cffb | /geoist/vis/gui.py | 118bd9e8fa0d14501a4eb9f0a7269d00960258ab | [
"MIT"
] | permissive | CHEN-Zhaohui/geoist | 3a8218105b8bd21d23f3e15e3d20397adf8f571d | 06a00db3e0ed3d92abf3e45b7b3bfbef6a858a5b | refs/heads/master | 2021-03-31T19:19:04.472355 | 2020-03-18T03:18:04 | 2020-03-18T03:18:04 | 248,126,521 | 0 | 0 | MIT | 2020-03-18T03:07:54 | 2020-03-18T03:07:53 | null | UTF-8 | Python | false | false | 4,325 | py | # -*- coding: utf-8 -*-
"""
Created on Sat Aug 10 18:25:58 2019
@author: chens
"""
from tkinter import *
import os
#from simpledialog import simpledialog
import gimodule
gimodule.maxwidth = 140
# Since the interface now has to columns of buttons this must be wider
## Constants
programname = "MagTools APIs - Geomag... | [
"chenshi@cea-igp.ac.cn"
] | chenshi@cea-igp.ac.cn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.