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
885ab0e81a4c8b85a9a027b63a65dd41a961590c
63eae9dff408b3b8e3fa22fcfcbb012b025854bf
/shop/templatetags/app_filters.py
a440fed183a07d8b1b47772206ced7f0bffbd742
[]
no_license
adityasam1994/dlw
2fe88858ea80e1d04cd3c9349ecdbcf41f24bb30
e0bc5a0b8f52e1deaa655d3d95d4860285a059bb
refs/heads/master
2020-08-09T03:40:31.143100
2019-10-16T09:51:16
2019-10-16T10:00:07
213,988,198
0
0
null
null
null
null
UTF-8
Python
false
false
6,382
py
from django import template from django.template.defaultfilters import stringfilter import datetime from django.utils import timezone register = template.Library() @register.filter(name='getimage') @stringfilter def getimage(string): from shop.models import Image im = Image.objects.filter(product_id=int(strin...
[ "adityanath1994@outlook.com" ]
adityanath1994@outlook.com
3a12ef11cb456aa1655cff4b35934ba431905c60
f09e98bf5de6f6c49df2dbeea93bd09f4b3b902f
/google-cloud-sdk/lib/surface/kms/__init__.py
0d7325c69d646db4cfbaff6358f3574909329d0a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Peterfeng100/notepal
75bfaa806e24d85189bd2d09d3cb091944dc97e6
d5ba3fb4a06516fec4a4ae3bd64a9db55f36cfcd
refs/heads/master
2021-07-08T22:57:17.407571
2019-01-22T19:06:01
2019-01-22T19:06:01
166,490,067
4
1
null
2020-07-25T04:37:35
2019-01-19T00:37:04
Python
UTF-8
Python
false
false
1,892
py
# -*- coding: utf-8 -*- # # Copyright 2017 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 requir...
[ "kevinhk.zhang@mail.utoronto.ca" ]
kevinhk.zhang@mail.utoronto.ca
59126b8ece1459e9fd42f05f6d93addec62fcf95
8698757521458c2061494258886e5d3cdfa6ff11
/word_embeddings/test/cross_validation_similarity.py
d138d4f193b83f117eac6f5e0a6ce69b794d605a
[ "MIT" ]
permissive
ricvo/argo
546c91e84d618c4bc1bb79a6bc7cba01dca56d57
a10c33346803239db8a64c104db7f22ec4e05bef
refs/heads/master
2023-02-25T01:45:26.412280
2020-07-05T22:55:35
2020-07-05T22:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,995
py
# export LC_ALL=en_US.UTF-8. import pickle from core.measures import evaluate_similarity_on_reverse_split import numpy as np import pandas as pd import argparse import os def evaluate_cross_sim_and_org(dictionary, dataset, i_split, dataset_split, method, couples_data, ntop=1, cvcorrs={}): p, I_inv, DV, I_norm, I...
[ "volpi@rist.ro" ]
volpi@rist.ro
61ed638564f28791b24b7cd7c21897b32fe62fd0
c93080264201fe6d0c84a79ae435022981d8ccf6
/panoptic/panoptic/doctype/facial_recognition_system/facial_recognition_system.py
85576d855955e672d0df3ef2428a5befc108e3a5
[ "MIT" ]
permissive
wisharya/panoptic
100e733e9aad33d087851fc4ea9bd064e81954f2
7c9a0eeb6bd5d9032087ccb7c805a3e65a357ba8
refs/heads/master
2023-07-09T14:20:45.377441
2021-08-25T06:58:45
2021-08-25T06:58:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Internet Freedom Foundation and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class FacialRecognitionSystem(Document): pass
[ "scm.mymail@gmail.com" ]
scm.mymail@gmail.com
aff2e3d4a8b31eea14b1f27deb841c7f6fd6b5ff
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03139/s434904278.py
34502437335082bac61aadf38d8e30ed218dbb86
[]
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
87
py
n,a,b = map(int,input().split(' ')) print("{0} {1}".format(min(a,b),max(a + b - n,0)))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
71227b941e2809759abccb685f70469423fba4e5
431a1f738b1edfba7dad8d10a6b7520d51d917cb
/Samples/UserSamples/2017/xH_Differential_Reco/xH_NJETS_0_Config.py
4e0a6fdf11273f15866df7c41142cd35efb04132
[]
no_license
aloeliger/DatacardCreator
5ce702e46fbb77e843b44d8fe088c2645a4a8f66
5c7e890276a5be079ed3b677a471c1dcadcba52d
refs/heads/master
2022-02-26T19:52:30.563747
2022-02-16T20:24:48
2022-02-16T20:24:48
215,602,523
0
1
null
null
null
null
UTF-8
Python
false
false
2,623
py
from Samples.SampleDefinition import Sample from Samples.Uncertainties.UserUncertainties.TES import TESUncertainty from Samples.Uncertainties.UserUncertainties.Signal_JES_17 import JES17Uncertainty from Samples.Uncertainties.UserUncertainties.JER import JERUncertainty from Samples.Uncertainties.UserUncertainties.MetRec...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
8564fae4ea4edaef15f390a4f927ccfa825c49e8
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/机器学习(ML)/plot_feature_transformation.py
c4a45b398f7482bac992a174a2f4a2381777a1fa
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
5,090
py
""" =============================================== Feature transformations with ensembles of trees =============================================== Transform your features into a higher dimensional, sparse space. Then train a linear model on these features. First fit an ensemble of trees (totally random trees, a rand...
[ "1129079384@qq.com" ]
1129079384@qq.com
58eb34d13830641c05a389e7f32d562c587efb98
e79fb97c06e3a75bd0cf6135fbbd6c1ac08492cb
/cnn/vgg16net.py
1c14e72e799125617b2cdc37f77caf322527616b
[ "MIT" ]
permissive
nocotan/chainer-examples
b1021e98654a6d377cc4669c7cedd57bca4f692d
d2b736231c6a6c2ba1effa3ddeb90770d7e020d9
refs/heads/master
2021-09-11T12:42:31.612581
2018-04-07T05:40:22
2018-04-07T05:40:22
78,973,921
13
3
null
null
null
null
UTF-8
Python
false
false
2,288
py
# -*- coding: utf-8 -*- import chainer import chainer.functions as F import chainer.links as L class VGG16Net(chainer.Chain): def __init__(self, num_class, train=True): super(VGG16Net, self).__init__() with self.init_scope(): self.conv1=L.Convolution2D(None, 64, 3, stride=1, pad=1) ...
[ "noconoco.lib@gmail.com" ]
noconoco.lib@gmail.com
f3097de81d59a4155e526536d2ae31e634e087bb
ddaa20f2ff0aaed4c6beeba888c4213405fdd586
/pypi_server/timeit.py
fe647520cadd0075e0453b61ab33572b87994218
[ "MIT" ]
permissive
mosquito/pypi-server
689fb84dd0cc56a70c7bfa6157b8defa76d774d8
825571aae6fd17616e404ad8a9b72ef791a4fc46
refs/heads/master
2023-08-17T14:17:50.177008
2021-11-14T17:11:52
2021-11-14T17:11:52
47,583,364
129
58
MIT
2021-11-14T17:11:53
2015-12-07T22:30:53
Python
UTF-8
Python
false
false
899
py
# encoding: utf-8 import logging from functools import wraps from time import time from concurrent.futures import Future log = logging.getLogger(__name__) def timeit(func): def log_result(start_time): log.debug( 'Time of execution function "%s": %0.6f', ".".join(filter( ...
[ "me@mosquito.su" ]
me@mosquito.su
bcc61ff9bf262293e63ef856b9d30ee0a7801739
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/simulation_research/traffic/millvalley_simulation_script.py
09200745ec84f13ebc4cef742e473e76859faf46
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
9,247
py
# coding=utf-8 # Copyright 2022 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
70af007d7f7ce4b7ee0a57b362e9ffa3749b1eb9
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pAFxfge35bT3zj4Bs_24.py
fbbbfecf880247970104edc5a6cad8636470e2df
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
""" Write a function that accepts `base` (decimal), `height` (decimal) and `shape` ("triangle", "parallelogram") as input and calculates the area of that shape. ### Examples area_shape(2, 3, "triangle") ➞ 3 area_shape(8, 6, "parallelogram") ➞ 48 area_shape(2.9, 1.3, "parallelogram") ➞ 3.77 #...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1a2055c82f8b2b3d858e86a5931e89220f739c3f
c3a84a07539c33040376f2c1e140b1a1041f719e
/wagtail-stubs/users/utils.pyi
6e8f3c6034fd36111d79271ece10284a95e4e72c
[]
no_license
tm-kn/tmp-wagtail-stubs
cc1a4434b7142cb91bf42efb7daad006c4a7dbf4
23ac96406610b87b2e7751bc18f0ccd27f17eb44
refs/heads/master
2023-01-20T14:41:33.962460
2020-11-30T23:15:38
2020-11-30T23:15:38
317,332,280
0
0
null
null
null
null
UTF-8
Python
false
false
293
pyi
from typing import Any from wagtail.core.compat import AUTH_USER_APP_LABEL as AUTH_USER_APP_LABEL, AUTH_USER_MODEL_NAME as AUTH_USER_MODEL_NAME delete_user_perm: Any def user_can_delete_user(current_user: Any, user_to_delete: Any): ... def get_gravatar_url(email: Any, size: int = ...): ...
[ "hi@tmkn.org" ]
hi@tmkn.org
e3a39fc46f0ee31bcf4cbf6f4eef75379c9eb87e
8242f7c33e37db242a6a839cccd6a48b79ddbfa9
/erase/main.py
71861978925ebc25fc1531a3c889e94202072e29
[]
no_license
elitan/open-kattis
d2be23868f3be6613bcbf4e9381a30f283199082
7bec84b054c639ed3d534671bfc0f57dee289d27
refs/heads/master
2021-01-17T08:51:46.340776
2016-10-10T19:17:52
2016-10-10T19:17:52
65,326,686
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
import fileinput import sys n = int(raw_input()) # we dont need this one s_1 = map(int, list(raw_input().rstrip())) s_2 = map(int, list(raw_input().rstrip())) zero = (0 + n) % 2 one = (1 + n) % 2 converter = {0: zero, 1: one} c = 0 s_len = len(s_1) while c < s_len: if converter[s_1[c]] != s_2[c]: print...
[ "johan@eliasson.me" ]
johan@eliasson.me
5ecce4c7bc6f82cb036331ca45fb67166154c4e5
bbe53d0171efbc78ca43f409b4a5235df51f36fa
/learning/djangoLearning/django-start/mysite/dev_settings.py
24dea2919335488abf7ac20fb0a273ed26c2b821
[]
no_license
brianwang/gftop
2758ec93e326ba5e801af48f951c73b5761bb25d
12a48eafb5114da325515fce4b97e744638e6faf
refs/heads/master
2021-01-12T08:16:43.816679
2012-12-12T16:25:29
2012-12-12T16:25:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
from os import getcwd MYSITE_BASE_DIR = getcwd() DEBUG = True TEMPLATE_DEBUG = DEBUG SUPER_USER_NAME = 'admin' SUPER_USER_EMAIL = 'admin@test.com' SUPER_USER_PASSWORD = 'admin' SITE_URL = '127.0.0.1:8000' SITE_NAME = 'MySite' DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' o...
[ "gaofeitop@0700f6e2-4af4-11de-a39b-05eb13f3dc65" ]
gaofeitop@0700f6e2-4af4-11de-a39b-05eb13f3dc65
ef5c21aa5d3669148a72593a4b8121792c545794
ca61417d925ce53b83d0767224d58cd3b2da57cc
/detector_api.py
a1487f12909e4d75a8b79e58ae62ed90c5899267
[ "Apache-2.0" ]
permissive
qilei123/mmdetection_rop
423ed5e63a84c8eeba1cb823b14d16ed906289f8
cbdbb2b521c94c2f3eeebb2f2069663199f679bc
refs/heads/master
2020-05-09T23:38:28.969119
2019-08-20T03:21:07
2019-08-20T03:21:07
181,505,837
0
0
null
null
null
null
UTF-8
Python
false
false
9,210
py
# -*- coding:utf-8 -*- import json import argparse import mmcv from mmcv.runner import load_checkpoint from mmdet.models import build_detector from mmdet.apis import inference_detector, show_result, show_single_category_result import cv2 import glob import os import time import matplotlib.pyplot as plt import numpy as...
[ "qileimail123@gmail.com" ]
qileimail123@gmail.com
f6596548b7fa5559711759789d920ec0d921df4d
c30d4f174a28aac495463f44b496811ee0c21265
/python/testData/inspections/PyChainedComparisonsInspectionWithConstantInTheMiddle/test.py
528cf139bbeb40defe6d8ab5676c7da1bb0c5e48
[ "Apache-2.0" ]
permissive
sarvex/intellij-community
cbbf08642231783c5b46ef2d55a29441341a03b3
8b8c21f445550bd72662e159ae715e9d944ba140
refs/heads/master
2023-05-14T14:32:51.014859
2023-05-01T06:59:21
2023-05-01T06:59:21
32,571,446
0
0
Apache-2.0
2023-05-01T06:59:22
2015-03-20T08:16:17
Java
UTF-8
Python
false
false
51
py
# PY-16397 x, y = 2, 3 if x > 0 and y < 0: pass
[ "valentina.kiryushkina@jetbrains.com" ]
valentina.kiryushkina@jetbrains.com
8e9763cb78dec4a5b44a07cf246af0b20cd8087e
cf5b2850dc9794eb0fc11826da4fd3ea6c22e9b1
/xlsxwriter/test/worksheet/test_write_sheet_views2.py
e53240875a8168457b6d934d3a2a907b87e127ae
[ "BSD-2-Clause" ]
permissive
glasah/XlsxWriter
bcf74b43b9c114e45e1a3dd679b5ab49ee20a0ec
1e8aaeb03000dc2f294ccb89b33806ac40dabc13
refs/heads/main
2023-09-05T03:03:53.857387
2021-11-01T07:35:46
2021-11-01T07:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # import unittest from io import StringIO from ...worksheet import Worksheet class TestWriteSheetViews(unit...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
76659e18cdb1432d1c91a30be7eeb85f667e9f96
2befb6f2a5f1fbbd5340093db43a198abdd5f53b
/pythonProject/FBVPermission/FBVPermission/settings.py
a64ea42a4ed445c5878381f3f08aa7ccabac8eb3
[]
no_license
JanardanPandey/RestAPI
1956d3529782d18ef2118961f6286e3213665aad
654933a4d9687076a00c6f4c57fc3dfee1a2c567
refs/heads/master
2023-06-14T07:02:31.702000
2021-07-02T07:50:59
2021-07-02T07:50:59
382,357,537
0
0
null
null
null
null
UTF-8
Python
false
false
3,298
py
""" Django settings for FBVPermission project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from p...
[ "janardanpandey0510@gmail.com" ]
janardanpandey0510@gmail.com
9a12029623af66c700d989ba7253121601a4f6d5
2d27444b26de173ed1b7454f72d102050c7a6b07
/Tuples/tuples04.py
bfb1b4cb89f5c12608af7a77689cf38b9a60a51a
[]
no_license
imrishuroy/Python-Projects
6b93454dcb30c307aece07d611855f8b718fb8e8
f15a0e7da702a30618658ce4f4650807daaae759
refs/heads/master
2023-04-17T04:33:38.889592
2021-05-08T08:35:09
2021-05-08T08:35:09
335,221,000
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
# Tuples and Dictionary d = dict() d['Rishu'] = 91 d['Prince'] = 100 for k , v in d.items(): print(k,v) tups = d.items() print(tups)
[ "rishukumar.prince@gmail.com" ]
rishukumar.prince@gmail.com
618f83793b61456aa8298f3a72b371b921d7f30a
293db74378eb425d54ae2ea4735d442d594cc0b8
/myapp/migrations/0004_auto_20160517_0559.py
665ada23577a4d573d90b4f6498924033b5b5e4e
[]
no_license
ajithkjames/contactsmanager
6c5944ee126411db71bcb43a274a6de92c5c236d
c546e4fd53e835d85f66aef0890f9a46e945d275
refs/heads/master
2020-07-03T00:33:56.353982
2016-11-19T12:48:18
2016-11-19T12:48:18
74,207,861
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-17 05:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0003_members_contact_member'), ] operations = [ migrations.RemoveFi...
[ "you@example.com" ]
you@example.com
ee4d0edf66d7a8c4ddce1c673e56b805bace6794
039c5187dd45b8dd2c960c1570369d6eb11eae83
/soufang/config.py
efd983939f003ba81021d15df92d8a15a3eca8df
[]
no_license
huazhicai/spider
5636951c1e0db4dc7b205cacfe8e881a08ff2015
d72ce471b0388d6d594853120c8e8f93694015a6
refs/heads/master
2021-07-24T23:01:15.124742
2017-11-04T09:05:46
2017-11-04T09:05:46
107,860,473
1
0
null
null
null
null
UTF-8
Python
false
false
7,411
py
# 爬取房天下的楼盘的评论 # 获取城市名称 import re import requests from bs4 import BeautifulSoup def get_city(): url = 'http://www.fang.com/SoufunFamily.htm' html_content = requests.get(url) # <a href="http://gaoling.fang.com/" target="_blank">高陵</a> pattern = re.compile(r'<a href="http://(\w+)\.fang\.com/" target="...
[ "936844218@qq.com" ]
936844218@qq.com
e6cfad498bd1578ed61cc72f6ff9f0afede40cf4
c651ea919f24fcf51cbe27d1c336b9324fda74e6
/crypto/500-john-pollard/solve.py
b84ac8258c6a01329b9083966cb61303ce369c20
[]
no_license
paiv/picoctf2019
31f611b21bcab0d1c84fd3cb246c7dd58f6949df
90b1db56ac8c5b47ec6159d45c8decd6b90d06d5
refs/heads/master
2020-08-11T03:38:55.580861
2019-10-11T20:48:44
2019-10-11T20:48:44
214,483,178
1
0
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/env python from Crypto.PublicKey import RSA from Crypto.Util.number import inverse as modinv def solve(): N = 4966306421059967 P = 73176001 Q = 67867967 E = 65537 assert N == P * Q D = modinv(E, (P - 1) * (Q - 1)) key = RSA.construct((N, E, D, P, Q)) return key.exportKey()....
[ "pavels.code@gmail.com" ]
pavels.code@gmail.com
44e421c442c37ca6f99ea92a51ed39af07a99133
ee7ca0fed1620c3426fdfd22e5a82bba2a515983
/dsn_product_category_etc/__openerp__.py
1f8392a509a4099e8874d1954698391fad0dd020
[]
no_license
disna-sistemas/odoo
318d0e38d9b43bea56978fe85fc72850d597f033
0826091462cc10c9edc3cc29ea59c417f8e66c33
refs/heads/8.0
2022-03-08T19:01:21.162717
2022-02-15T13:06:26
2022-02-15T13:06:26
99,210,381
0
5
null
2019-07-24T08:49:58
2017-08-03T08:36:55
Python
UTF-8
Python
false
false
1,560
py
########################################################################## # Copyright (C) 2014 Victor Martin # # # # This program is free software: you can redistribute it and/or modify # # it under the terms...
[ "sistemas@disna.com" ]
sistemas@disna.com
8b2ab66af68481455a92b01c01544ecda55282c0
a8d4f5601272a7f3ced564ac822745ca460e77d8
/learn_prophet/outlier.py
13adf79c7421a190ce97e45f0dd70ca070938919
[]
no_license
631068264/learn_science
cc2962e54e61e7d2d5a338b19c2046aa92743edf
6bf33da5d40b1d8d72bb63d4a7b11031dd74329b
refs/heads/master
2022-10-08T18:14:08.281828
2022-09-24T13:00:53
2022-09-24T13:00:53
82,647,091
0
0
null
2022-09-09T17:58:48
2017-02-21T06:55:43
Python
UTF-8
Python
false
false
865
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author = 'wyx' @time = 2017/6/22 11:20 @annotation = '' """ import numpy as np import pandas as pd from fbprophet import Prophet from matplotlib import pyplot as plot df = pd.read_csv('example_wp_R_outliers1.csv') df['y'] = np.log(df['y']) print df.head() print df.tai...
[ "l631068264@gmail.com" ]
l631068264@gmail.com
cdc4ca08ae44286d2d239b72735acddccf8aac07
350db570521d3fc43f07df645addb9d6e648c17e
/0338_Counting_Bits/solution_test.py
7724ba269c5cf844f2d1619dfea305095cf3e247
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
360
py
''' 338. Counting Bits Level: Medium https://leetcode.com/problems/counting-bits ''' import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum_tuple(self): self.assertEqual(sum((1, 2, 2)), 6, "Should be 6") if __n...
[ "bhuang@rms.com" ]
bhuang@rms.com
641ddc30ca583d7d31b730a032de503e692c58cd
e580a8ccad49c20a6a8ca924369a7ed7c7b85274
/nbgrader/preprocessors/base.py
5fb73f68151a0649c54a0fc66fc10a07d3fe33bd
[ "BSD-3-Clause" ]
permissive
jdfreder/nbgrader
b06cec1ca7dc7633a36ee18859c9509fafbf63d5
a6773f27ad2be44505071bbfbfacbbbffe1b0d0d
refs/heads/master
2021-01-18T11:53:18.017422
2015-04-09T22:17:56
2015-04-09T22:17:56
32,471,870
1
0
null
2015-03-25T16:08:14
2015-03-18T16:53:33
Python
UTF-8
Python
false
false
376
py
from IPython.nbconvert.preprocessors import Preprocessor from IPython.utils.traitlets import List, Unicode, Bool class NbGraderPreprocessor(Preprocessor): default_language = Unicode('ipython') display_data_priority = List(['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg...
[ "jhamrick@berkeley.edu" ]
jhamrick@berkeley.edu
9599100cda07d29f3eaeb8432bfe6710bb9b354b
a74b980fd95d5d810315f181449fc9d1710e6923
/savecode/threeyears/idownclient/scan/plugin/zgrab2/zgrab2scanner/zgrab2scannerhttp.py
5962809ec41cc9835857020f7ecd4321d0f27b59
[ "Apache-2.0" ]
permissive
cbbbbbbbb/sspywork
b70f5539203b47b21eec2f0514ddca155affc2b8
8f05a6b91fc205960edd57f9076facec04f49a1a
refs/heads/master
2023-03-22T19:45:13.024076
2021-03-08T01:24:21
2021-03-08T01:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,009
py
"""zgrab2 scanner http""" # -*- coding:utf-8 -*- import json import signal import os import traceback import uuid import psutil from datacontract.iscandataset.iscantask import IscanTask from .zgrab2scannerbase import Zgrab2ScannerBase from ..zgrab2parser import Zgrab2ParserHttp, Zgrab2ParserTls from .....clientdataf...
[ "shiyuegege@qq.com" ]
shiyuegege@qq.com
027e34753a5633d392d90e6a3351c2c1ee646140
0fd66a4a28bdc7d967ec18d90eca5cc54b5cbdd4
/middleware/legato/library/plugins/scripts/generator/fontsource.py
85e614f4f6ad2d71a1b35a15aabe28e38d391989
[ "LicenseRef-scancode-unknown-license-reference", "ISC", "LicenseRef-scancode-public-domain" ]
permissive
fb321/gfx
b865539ea6acd9c99d11a3968424ae03b5dea438
e59a8d65ef77d4b017fdc523305d4d29a066d92a
refs/heads/master
2020-06-27T14:20:24.209933
2019-07-31T22:01:05
2019-07-31T22:01:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,638
py
def generateFontSourceFile(font): name = font.getName() antialias = font.getAntialias() height = font.getAdjustedHeight() baseline = font.getBaseline() style = "" if antialias == True: style += "Antialias" if len(style) == 0: style = "Plain" if style.endswith(",") == True: styl...
[ "http://support.microchip.com" ]
http://support.microchip.com
3731094ab99923201e31d46122ad87ceee945bfb
0364bd3bfa82153b5d9e5b92894936390a1972ae
/inqoire/connection/admin.py
a640d1d10332b5e1fddd582bf9658971e0e1ea77
[]
no_license
kraft99/inQoire
8e9a05d8f033c302380ab7dceba48242f2fe57f3
5a88ce2e21cb45ec7b7412010157c716c864d825
refs/heads/master
2020-12-04T16:04:16.549607
2020-03-02T07:16:00
2020-03-02T07:16:00
231,828,965
1
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.contrib import admin from .models import Connection admin.site.register(Connection)
[ "kraft.developer@gmail.com" ]
kraft.developer@gmail.com
198ed41b5675e5534cc3b177590fa2b0b589576d
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/10/usersdata/132/9933/submittedfiles/testes.py
7261bb0dd0a251c9ed449627f60c5cd59e8963a4
[]
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
213
py
# -*- coding: utf-8 -*- from __future__ import division maior=0 dia=1 for i in range(1,31,1): n=input('numero de discos vendidos') if n>maior: maior=n dia=i print(dia) print(maior)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0a30aaf77f75e4687957aa58e4ba2fd7b68f29b2
058d94f394a985627d3953fc06d8581edea886fd
/src/dvtests/__init__.py
3d3d923c67fecaf20093ae106634d6f866795b51
[ "MIT" ]
permissive
gdcc/dataverse_tests
7c3d01158a4ba8f519509b312decaf81dbea5441
d37791f588969973f1bb651e83154247ffdb9d49
refs/heads/master
2023-04-15T08:48:32.037168
2022-07-20T08:18:42
2022-07-20T08:18:42
233,846,862
2
4
MIT
2022-07-20T08:08:31
2020-01-14T13:24:51
Python
UTF-8
Python
false
false
494
py
"""Find out more at https://github.com/AUSSDA/dataverse_tests. Copyright 2022 Stefan Kasberger Licensed under the MIT License. """ from requests.packages import urllib3 urllib3.disable_warnings() # noqa __author__ = "Stefan Kasberger" __email__ = "mail@stefankasberger.at" __copyright__ = "Copyright (c) 2022 Stefan...
[ "mail@stefankasberger.at" ]
mail@stefankasberger.at
98ba95f8dbff24f9396d835c83b3232a91d917cc
83dab2b5adaf537c525a04584e21501871fc8a4e
/model/write_data.py
e0fff521dd14697fc28f71a5ea1191330a5d6955
[]
no_license
Najah-Shanableh/lead-public
7852e2371d186c9e097fde01b3e0d7c1b2fc044e
f538249c43e0444b45b5ef4e58aa46811e825a58
refs/heads/master
2021-05-30T06:47:44.511409
2015-04-21T15:33:08
2015-04-21T15:33:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#!/usr/bin/python import sys import yaml import util import os directory = sys.argv[1] if not os.path.exists(directory): os.makedirs(directory) with open(sys.argv[2]) as f: params = yaml.load(f) params['data']['directory'] = directory engine = util.create_engine() data_name = params['data'].pop('name'...
[ "eric@k2co3.net" ]
eric@k2co3.net
0b5bbe3d5d84622d94ea279b1eb39216ea4a5707
c49a6e67a63a541f8d420e725af155505d1e7f84
/Design/lru-cache*.py
8d4594e47dd5afbac9564423dc042919a58233fb
[]
no_license
wttttt-wang/leetcode_withTopics
b41ed0f8a036fd00f3b457e5b56efe32f872ca13
e2837f3d6c23f012148a2d1f9d0ef6d34d4e6912
refs/heads/master
2021-09-05T05:03:47.519344
2018-01-24T08:28:58
2018-01-24T08:28:58
112,893,345
0
0
null
null
null
null
UTF-8
Python
false
false
1,800
py
""" LRU Cache @ Design: 1. Two hashMap + One linkedList 2. should be careful when dealing with hashMap in case of 'keyError' 3. reminder to update self.tail """ class ListNode(object): def __init__(self, val): self.val, self.next = val, None class LRUCache(object): def __init__(s...
[ "wttttt@Wttttt-de-MacBookPro.local" ]
wttttt@Wttttt-de-MacBookPro.local
90db8927ca3b2e6e98fbb58229d85981f53b2c12
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03583/s935139311.py
7cb09551156a49be9231f099550afb736cbc3172
[]
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
362
py
N = int(input()) flag = 0 for a in range(1,3501): if flag ==1: break for b in range(1,3501): if 4*a*b - a*N - b*N != 0: if a*b*N // (4*a*b - a*N - b* N) > 0 and a*b*N % (4*a*b - a*N - b* N) ==0: c = int(a*b*N / (4*a*b - a*N - b* N)) print(a, b, c) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
720b5a826589b2a2d5604841f4151d6cc8627e71
0c4309d55acb30fb3270400ba9243764193573a0
/parte_2/semana_3/tipo_triangulo.py
41c2700a6416da1c51e7a021d3d6f6a33feaa62f
[]
no_license
mwoitek/python-coursera
8936e39eece19bb40caa1dab98b14529dc836db7
90d5d390868d0d0147d837939ee0fab2450c646c
refs/heads/master
2022-04-25T20:02:45.984640
2020-04-30T01:16:57
2020-04-30T01:16:57
244,276,342
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
class Triangulo: def __init__(self, lado1, lado2, lado3): self.a = lado1 self.b = lado2 self.c = lado3 def perimetro(self): return self.a + self.b + self.c def tipo_lado(self): teste1 = self.a == self.b teste2 = self.a == self.c teste3 = self.b == s...
[ "woitek@usp.br" ]
woitek@usp.br
0bf39985c39b47434a9632b18b956c25b3069897
eb7afa613940f5a3f202352a94dd996edcb6bed5
/boto3_type_annotations/boto3_type_annotations/s3control/__init__.py
4045ce4f030398c8486740f70ed511fb671b3a79
[ "MIT" ]
permissive
alliefitter/boto3_type_annotations
e4da614e27a1d2ad3c9c653c50b8e30108180da5
2a88aa562b1aee6e8a6cc30402980884b3707fbb
refs/heads/master
2020-04-05T22:05:12.689913
2019-11-28T03:32:13
2019-11-28T03:32:13
157,244,330
131
11
MIT
2023-04-21T17:17:03
2018-11-12T16:38:57
Python
UTF-8
Python
false
false
91
py
from boto3_type_annotations.s3control.client import Client __all__ = ( 'Client' )
[ "afitter@cellcontrol.com" ]
afitter@cellcontrol.com
8fe3bd1dd3226d26dac5e8615714e7b61fbb87a2
261fa90a0ab6b844682465356fee1d5f490774d7
/02_matplotlib/06_axis.py
7a085813afb58ff177ab889e8c38e236fd44e6b6
[]
no_license
lofues/Data_Science
85d7fcd6e2e7f3dad6392010b30272bb8ca9d1b3
d91a05325bf597f641d9af1afcf26575489c4960
refs/heads/master
2020-09-03T12:43:01.998302
2019-11-07T09:17:19
2019-11-07T09:17:19
219,464,996
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
import numpy as np import matplotlib.pyplot as mp ax = mp.gca() ax.xaxis.set_major_locator(mp.MultipleLocator(1)) ax.xaxis.set_minor_locator(mp.MultipleLocator(0.1)) # 只查看x轴的1 到 10 mp.xlim(1,10) # 不查看y轴 mp.yticks([]) ax.spines['left'].set_color('none') ax.spines['right'].set_color('none') ax.spines['top'].set_color('n...
[ "junfuwang@163.com" ]
junfuwang@163.com
466f0141c621c5aa74cf85f313b58d9f62a6e995
6ab9a3229719f457e4883f8b9c5f1d4c7b349362
/leetcode/00098_validate_binary_search_tree.py
68b7dceaba479602951e0e5e99a36a25a8abc2fc
[]
no_license
ajmarin/coding
77c91ee760b3af34db7c45c64f90b23f6f5def16
8af901372ade9d3d913f69b1532df36fc9461603
refs/heads/master
2022-01-26T09:54:38.068385
2022-01-09T11:26:30
2022-01-09T11:26:30
2,166,262
33
15
null
null
null
null
UTF-8
Python
false
false
569
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isValidBST(self, root: TreeNode, left: int = None, right: int = None) -> bool: if not root: return True i...
[ "mistermarin@gmail.com" ]
mistermarin@gmail.com
24de50616429b8a6e2fbfb2b1db5e0a18e75c0cd
de7596dc6a55592ca9ce925086e194b81733fd37
/backend/chk_shared_screen1__14206/settings.py
cea2dbec60f4c6dbaa6a2c5133c04f2c01283f2f
[]
no_license
crowdbotics-apps/chk-shared-screen1--14206
666f9eb4a8622062676312d2309e81214275d41d
74e4672c57fa78e90f5ddabef384dfb55e068975
refs/heads/master
2023-01-01T00:13:30.182764
2020-10-29T12:46:23
2020-10-29T12:46:23
308,324,201
0
0
null
null
null
null
UTF-8
Python
false
false
6,125
py
""" Django settings for chk_shared_screen1__14206 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
18665ea34c033295b8e4700a027f68063c854ab4
dc99adb79f15b3889a7ef6139cfe5dfc614889b8
/Aplikace_1_0/Source/libs/datastore/permanent_datastore.py
6935c3ec09a6f86e8c847f2670ed1d8ef4f13de6
[]
no_license
meloun/ew_aplikace
95d1e4063a149a10bb3a96f372691b5110c26b7b
f890c020ad8d3d224f796dab3f1f222c1f6ba0eb
refs/heads/master
2023-04-28T06:43:12.252105
2023-04-18T19:59:36
2023-04-18T19:59:36
2,674,595
0
2
null
null
null
null
UTF-8
Python
false
false
3,752
py
# -*- coding: utf-8 -*- import libs.datastore.datastore as datastore import libs.db.db_json as db_json class PermanentDatastore(datastore.Datastore): def __init__(self, filename, default_data): #create datastore, default dictionary datastore.Datastore.__init__(self, default_d...
[ "lubos.melichar@gmail.com" ]
lubos.melichar@gmail.com
179495f51c0ca3686b172e62eca34a2ff82cb3eb
5883449aa14eb5e8b3fa6ad4d03d1dfacc40ccee
/Amazon_Framework/DentOsTestbedLib/src/dent_os_testbed/lib/iptables/linux/linux_ip_tables_impl.py
48c2c6fbe7b5cc156f72e7c3ec5682b0261dd382
[ "Apache-2.0" ]
permissive
tld3daniel/testing
826183f30d65f696e8476d4a584c4668355e0cb3
e4c8221e18cd94e7424c30e12eb0fb82f7767267
refs/heads/master
2023-09-01T12:39:26.845648
2021-08-11T15:53:16
2021-08-11T15:53:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,339
py
from dent_os_testbed.lib.iptables.linux.linux_ip_tables import LinuxIpTables class LinuxIpTablesImpl(LinuxIpTables): """ iptables [-t table] {-A|-C|-D} chain rule-specification ip6tables [-t table] {-A|-C|-D} chain rule-specification iptables [-t table] -I chain [rulenum] rule-specification iptabl...
[ "muchetan@amazon.com" ]
muchetan@amazon.com
db04e4251289a2b13df6f327d687283cde1e585e
aaa762ce46fa0347cdff67464f56678ea932066d
/AppServer/lib/django-0.96/django/core/mail.py
b9966c2af023eea017e2bf5a0f22fe9c3067243a
[ "Apache-2.0", "LGPL-2.1-or-later", "BSD-3-Clause", "MIT", "GPL-2.0-or-later", "MPL-1.1" ]
permissive
obino/appscale
3c8a9d8b45a6c889f7f44ef307a627c9a79794f8
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
refs/heads/master
2022-10-01T05:23:00.836840
2019-10-15T18:19:38
2019-10-15T18:19:38
16,622,826
1
0
Apache-2.0
2022-09-23T22:56:17
2014-02-07T18:04:12
Python
UTF-8
Python
false
false
4,253
py
# Use this module for e-mailing. from django.conf import settings from email.MIMEText import MIMEText from email.Header import Header from email.Utils import formatdate import smtplib import socket import time import random # Cache the hostname, but do it lazily: socket.getfqdn() can take a couple of # seconds, which...
[ "root@lucid64.hsd1.ca.comcast.net" ]
root@lucid64.hsd1.ca.comcast.net
c6ab6b5a881525b9fd0cbc34430c66323cd4da68
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/hard.py
22f87c30a5d7750ec2b410cb445691e2da331f1d
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
2,797
py
ii = [('BentJDO2.py', 1), ('EmerRN.py', 2), ('LyelCPG2.py', 3), ('MarrFDI.py', 16), ('RogePAV2.py', 32), ('CoolWHM2.py', 9), ('KembFFF.py', 9), ('GodwWSL2.py', 11), ('ChanWS.py', 6), ('RogePAV.py', 41), ('SadlMLP.py', 8), ('FerrSDO3.py', 2), ('WilbRLW.py', 21), ('WilbRLW4.py', 13), ('RennJIT.py', 25), ('ProuWCM.py', 8)...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
6818fa3cae3acad1fdf03d2dc50d5db778b3fdb6
ad10f4d1530fe4ededfbb93ee31042c9e5c24e9a
/Data Structure/dataframe/21_dataframe에 현재 시간 기준 column 추가하기.py
ca7472dc6d67464724dfd8b9ff597bcc767ee050
[]
no_license
WinterBlue16/Function-for-work
0d76ea2c326e547ad0cc3171f4a5a09d02de5a58
38603549b448198c12b48c95147516dbbc3f28f2
refs/heads/master
2022-07-15T20:30:26.178739
2022-07-04T13:42:01
2022-07-04T13:42:01
238,364,618
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
""" dataframe에 현재 시간을 기준으로 한 column을 추가합니다. """ import pandas as pd def add_datetime_col(df): df['created_at'] = pd.to_datetime('now') return df
[ "leekh090163@gmail.com" ]
leekh090163@gmail.com
bbb18f7782294604bc2614f3e8036877cec6f4c2
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq1646.py
a4be0a640c12c3a50a9fd916217514b0b775b2e0
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,350
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=5 # total number=63 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
3c6920fd556e9c8e818a39d2f5644c70aa619222
a8e8ae98c26a54a99ea840a10140e4c5c4080f27
/external/workload-automation/wa/workloads/stress_ng/__init__.py
9cf1a7d70eb25e29226a15e28fdd39399af418d4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only" ]
permissive
ARM-software/lisa
c51ea10d9f1ec1713a365ca0362f176c6a333191
be8427f24d7565c0668cd51ed7ed55867fcec889
refs/heads/main
2023-08-30T20:55:20.646965
2023-08-29T15:15:12
2023-08-29T16:19:20
47,548,304
200
131
Apache-2.0
2023-09-14T11:03:27
2015-12-07T11:32:56
Jupyter Notebook
UTF-8
Python
false
false
5,840
py
# Copyright 2015, 2018 ARM Limited # # 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 ...
[ "douglas.raillard@arm.com" ]
douglas.raillard@arm.com
88b3e6880ce673410ca83591864b5b4b37ea19a7
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/socket/socket_socketpair.py
8ad13087f52f0fcdc2e9f9dab9e50f2b5dca1853
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Parent/child communication through a socket pair. """ #end_pymotw_header import socket import os parent, child = socket.socketpair() pid = os.fork() if pid: print 'in parent, sending message' child.close...
[ "350840291@qq.com" ]
350840291@qq.com
1fff82cd038d8994320954689957150347257e93
48cbea4784808788e1df99662c2e9d305aa27526
/AppImageBuilder/app_dir/builder.py
be9ac9ce6583bcd849094c8efb15c3f995677f82
[ "MIT" ]
permissive
blanksteer/appimage-builder
5bc0aaecf5db89c3f496c2bd7808cfbf9d9a422c
377cb8bba7d7972c0bb695b9c7c13ecdf28a83a3
refs/heads/master
2022-12-24T17:18:10.265744
2020-09-30T18:15:24
2020-09-30T18:15:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,750
py
# Copyright 2020 Alexis Lopez Zubieta # # 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, merge, publi...
[ "contact@azubieta.net" ]
contact@azubieta.net
86f23652ca781acfd6d1f493185c442a6d2bd25b
9ebd37765d98c245f9e90b719b03680bbf2f69e1
/sources/BadParser.py
fa3d4a388a31e1061161f341926078be69666e09
[]
no_license
icYFTL/ShadowServants-Brute-Python
e25964ad1e819f3185a7c55916fcb374153245c0
ee5d0e2fdd6dfdad57bf03e8f99607c25a2bc3c1
refs/heads/master
2020-04-23T17:38:01.912148
2019-03-15T14:07:08
2019-03-15T14:07:08
171,338,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
# Version 1.2 alpha ''' How to use: Example: type_of_proxy = 1 # 1 - http, 2 - https, 3 - socks4, 4 - socks5 proxycount = 5000 # There's a limit. Read https://www.proxy-list.download/ a = BadParser(type_of_proxy,proxycount) data = a.Grab() # data = [1.1.1.1:8000, ...] ''' i...
[ "savap0@yandex.ru" ]
savap0@yandex.ru
a63330c736bf3f049319c6b98f4b620ef70fc6f8
0393de557686f3a7c81d1a60bbfb3895d1e18cb1
/StreamLink/usr/lib/python3.8/site-packages/streamlink/plugins/albavision.py
6ee7957f8ee4687e5df8a97c396b32b3a77bf92b
[]
no_license
yazidzebiri/eePlugins
e91193b419ab34131a952da00e2f8e1b08cad420
36fa3dd9a8d10b4a452a33962add68f1a12d6b58
refs/heads/master
2023-06-17T16:02:37.079183
2021-07-07T12:44:05
2021-07-07T12:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,926
py
""" Support for the live streams on Albavision sites - http://www.tvc.com.ec/envivo - http://www.rts.com.ec/envivo - http://www.elnueve.com.ar/en-vivo - http://www.atv.pe/envivo/ATV - http://www.atv.pe/envivo/ATVMas """ import logging import re import time from streamlink import PluginError from st...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
f370e68f5f151f81a8bdc822000422bb3a00eb2f
20f951bd927e4e5cde8ef7781813fcf0d51cc3ea
/fossir/modules/events/payment/testing/fixtures.py
cd8ec800a3c8878de5cf225e634d8c0ddd435ece
[]
no_license
HodardCodeclub/SoftwareDevelopment
60a0fbab045cb1802925d4dd5012d5b030c272e0
6300f2fae830c0c2c73fe0afd9c684383bce63e5
refs/heads/master
2021-01-20T00:30:02.800383
2018-04-27T09:28:25
2018-04-27T09:28:25
101,277,325
0
2
null
null
null
null
UTF-8
Python
false
false
714
py
import pytest from fossir.modules.events.payment.models.transactions import PaymentTransaction, TransactionStatus @pytest.fixture def create_transaction(): """Returns a callable which lets you create transactions""" def _create_transaction(status, **params): params.setdefault('amount', 10) ...
[ "hodardhazwinayo@gmail.com" ]
hodardhazwinayo@gmail.com
877389eadf5431f86cce9536338e7780b5b6f092
090324db0c04d8c30ad6688547cfea47858bf3af
/tests/test_sokorule.py
d0e02c22a7085d11f93f4eebbaa8548dce508f8b
[]
no_license
fidlej/sokobot
b82c4c36d73e224d0d0e1635021ca04485da589e
d3d04753a5043e6a22dafd132fa633d8bc66b9ea
refs/heads/master
2021-01-21T13:14:29.523501
2011-06-12T07:34:14
2011-06-12T07:34:14
32,650,745
1
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
from nose.tools import assert_equal from soko.struct.rules.sokorule import PushRule, SokobanGoalRule from soko.struct import modeling def test_get_children(): rule = PushRule() s = ( "# #", "#@. #", " $ #", " #", "#####", ) us...
[ "ivo@danihelka.net" ]
ivo@danihelka.net
68d9ab65613c09fa8f9fb2cc9c777da8f5849f98
bea556733142d4a41562f4c9e0d26418780f244e
/tools/cef_parser.py
d624358ad9ecb90298be67f31df591c9d7a548fa
[ "BSD-3-Clause" ]
permissive
EricTop3/cef
fd48f706b27a51951b830a6673be10a9e63030c5
e83d8d6a131ad39b98c97c945ccf77bcd723378f
refs/heads/master
2023-09-04T00:11:52.720554
2021-11-09T19:21:58
2021-11-09T19:21:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
66,664
py
# Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights # reserved. Use of this source code is governed by a BSD-style license that # can be found in the LICENSE file. from __future__ import absolute_import from date_util import * from file_util import * import os import re import shutil import string...
[ "magreenblatt@gmail.com" ]
magreenblatt@gmail.com
e2ec8e1807b2ada32487f68445c59d81a1985ee4
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_update_material_bind_response_wrapper_body.py
0b1aeca6da72b0508699b95f4a1b46ff5039dc1e
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
996
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.materialbindmod.model.material_bind_update_response import MaterialBindUpdateResponse globals()['MaterialBindUpdateResponse'] = MaterialBin...
[ "v_wangzichen02@baidu.com" ]
v_wangzichen02@baidu.com
c94623fa4a303341d2a14bd2502ddbb12809ef67
75fa11b13ddab8fd987428376f5d9c42dff0ba44
/metadata-ingestion/tests/integration/ldap/test_ldap.py
3e76f13fc823d2cba27669df218aeac46589492f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
RyanHolstien/datahub
163d0ff6b4636919ed223ee63a27cba6db2d0156
8cf299aeb43fa95afb22fefbc7728117c727f0b3
refs/heads/master
2023-09-04T10:59:12.931758
2023-08-21T18:33:10
2023-08-21T18:33:10
246,685,891
0
0
Apache-2.0
2021-02-16T23:48:05
2020-03-11T21:43:58
TypeScript
UTF-8
Python
false
false
5,662
py
import time import pytest from datahub.ingestion.run.pipeline import Pipeline from tests.test_helpers import mce_helpers from tests.test_helpers.docker_helpers import wait_for_port @pytest.mark.integration def test_ldap_ingest(docker_compose_runner, pytestconfig, tmp_path, mock_time): test_resources_dir = pytes...
[ "noreply@github.com" ]
RyanHolstien.noreply@github.com
400ac17153480a63df98dda5dac0d88bf318c97e
508321d683975b2339e5292202f3b7a51bfbe22d
/Userset.vim/ftplugin/python/CompletePack/PySide2/QtWidgets/QGraphicsPixmapItem.py
0b913af111c321403b7dbad1da4f899c98fdb78f
[]
no_license
cundesi/vimSetSa
4947d97bcfe89e27fd2727423112bb37aac402e2
0d3f9e5724b471ab21aa1199cc3b4676e30f8aab
refs/heads/master
2020-03-28T05:54:44.721896
2018-08-31T07:23:41
2018-08-31T07:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
# encoding: utf-8 # module PySide2.QtWidgets # from C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\PySide2\QtWidgets.pyd # by generator 1.145 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import PySide2.QtGui as __PySide2_QtGui import Shiboken as __Shiboken from QGraphicsItem ...
[ "noreply@github.com" ]
cundesi.noreply@github.com
23d781e34d8d2f3ae61620fd43b6f47b75e59a5b
5b0ff689a3e14f42bdf688864cae40c931a5f685
/msa/core/armve/tests/test_multi_write.py
b2424dcb0537e0251c93404cf4c3107e15a472cd
[]
no_license
prometheus-ar/vot.ar
cd7012f2792a2504fb7f0ee43796a197fc82bd28
72d8fa1ea08fe417b64340b98dff68df8364afdf
refs/heads/2017-ago-salta
2021-01-02T22:19:41.591077
2017-08-25T11:55:49
2017-08-25T11:55:49
37,735,555
171
110
null
2020-06-30T13:33:49
2015-06-19T17:15:52
JavaScript
UTF-8
Python
false
false
1,712
py
#!/usr/bin/env python # coding: utf-8 from __future__ import division from serial import Serial from msa.core.armve.constants import DEV_PRINTER, CMD_PRINTER_PAPER_START, \ CMD_PRINTER_MOVE, EVT_PRINTER_PAPER_INSERTED, CMD_PRINTER_PRINT, \ CMD_PRINTER_PAPER_REMOVE, DEV_RFID, EVT_RFID_NEW_TAG,\ CMD_PRINTE...
[ "prometheus@olympus.org" ]
prometheus@olympus.org
bbd3db53b09bf960e6e995204e2771897492d6dc
599d569b586cb1414886b1a2454cf3c59c4362bd
/master_classifyNewcase.py
1e11353691c3a1709fc3f692cee4905ea5ed08fd
[]
no_license
cgallego/master
77511ff3330882f0c5456beaedd81468d7a99bb1
2a04d66ac783f5729413aecf9c66037fc8501c78
refs/heads/master
2016-09-07T19:02:40.537285
2014-07-28T16:05:01
2014-07-28T16:05:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,972
py
# -*- coding: utf-8 -*- """ Master python script to run each module in sequence Arguments: ============ sys.argv[1] = input text file with one case per line in the following format: BenignNMaligNAnt StudyNumber DicomExamNumber LesionID StudyDate SeriesID BreastSide PathReportID PathoBreastSide Created on Tu...
[ "admin@webdsdesign.com" ]
admin@webdsdesign.com
ea6e913cfb0bfbdeae407ef6826a14197f46c3c5
805a795ea81ca8b5cee1dec638585011da3aa12f
/MAIN/2.79/python/lib/site-packages/OpenGL/GLES2/EXT/float_blend.py
b15df56ee4bf4fa5dd71042d1b67ad8dbacc6e7d
[ "Apache-2.0" ]
permissive
josipamrsa/Interactive3DAnimation
5b3837382eb0cc2ebdee9ee69adcee632054c00a
a4b7be78514b38fb096ced5601f25486d2a1d3a4
refs/heads/master
2022-10-12T05:48:20.572061
2019-09-26T09:50:49
2019-09-26T09:50:49
210,919,746
0
1
Apache-2.0
2022-10-11T01:53:36
2019-09-25T19:03:51
Python
UTF-8
Python
false
false
750
py
'''OpenGL extension EXT.float_blend This module customises the behaviour of the OpenGL.raw.GLES2.EXT.float_blend to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/EXT/float_blend.txt ''' from OpenGL import platform, constant, arra...
[ "jmrsa21@gmail.com" ]
jmrsa21@gmail.com
72c6b5820ec2373fc5c053015b127eae12ba7b5d
74fb05c7b5eddf2b368e181f38b9423a711bf2e0
/real_python_tutorails/iterators/iterators_example.py
ae43af08beec8d63c2765d453574e4ff98b5c5cb
[]
no_license
musram/python_progs
426dcd4786e89b985e43284ab5a5b1ba79cb285e
ad1f7f2b87568ba653f839fe8fa45e90cbde5a63
refs/heads/master
2022-11-10T09:53:29.993436
2020-06-21T00:21:23
2020-06-21T00:21:23
264,607,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
if __name__ == "__main__": names = ['sai', 'asi', 'isa'] for name in names: print(name) #what actuall happens internally is this: it = names.__iter__() print(next(it)) #similalry f = open('/etc/passwd', 'r') it = f.__iter__() print(next(it)) #writing genera...
[ "musram@gmail.com" ]
musram@gmail.com
dd5fbc68c39d3c24641b9f746e2812d44fa78e62
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/destinationCity/destinationCity.py
1b55d8c23b19986d5f6d1359d7af30216a4080a4
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
510
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/destination-city/ # Author: Miao Zhang # Date: 2021-05-06 class Solution: def destCity(self, paths: List[List[str]]) -> str: ind = collections.defaultdict(int) out = collections.defaultdict(int) for u...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
441e3e75fd6b5ef8cc403e0b4b73843eb432393c
62c6e50d148f1ccd51001abedbfe748fda94427e
/backend/cookieapp/views.py
65b7b4217bfa0991bcd696807104284c0951ead4
[]
no_license
i7-Ryzen/django-jwt-httponly-cookie
be27936d0d7111688a0b2d5811edd891c2b5c925
bb21ae75b05f7b42e98da6a69f9280c51a1171fd
refs/heads/main
2023-05-06T15:30:01.870387
2021-05-24T05:35:10
2021-05-24T05:35:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
from rest_framework_simplejwt.tokens import RefreshToken from django.middleware import csrf from rest_framework.views import APIView from rest_framework.response import Response from django.contrib.auth import authenticate from django.conf import settings from rest_framework import status def get_tokens_for_user(user...
[ "abhishekk580@gmail.com" ]
abhishekk580@gmail.com
46bbf9daf0b61574b23a2631b6a78bc7caa69495
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/documentdb/v20210515/sql_resource_sql_trigger.py
61599bbe3cb634dfa2ed1f8cf1d6c22dcfb144dd
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,020
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, overload from ... import _utilities fro...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
afa792b926c2ea3c9563b1ca60d34e69bc4fc2bc
b2ba78fb1e53f92efdc3b6e0be50c81e5dd036ed
/plot_f/plot_offline_mbl_5M_all.py
ef16bbcfd8943228d88a28c336263fa8c582ed91
[ "MIT" ]
permissive
ShuoZ9379/Integration_SIL_and_MBL
2dcfae10cb5929c4121a3a8bfceebae8c0b6ba08
d7df6501a665d65eb791f7fd9b8e85fd660e6320
refs/heads/master
2020-07-23T20:04:17.304302
2019-09-23T18:58:57
2019-09-23T18:58:57
207,690,584
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
import os, argparse, subprocess import matplotlib.pyplot as plt import numpy as np from baselines.common import plot_util as pu def arg_parser(): return argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) def filt(results,name,name_2=''): ls=[r for r in results if name in r.dirname a...
[ "zhangshuo19930709@gmail.com" ]
zhangshuo19930709@gmail.com
0b459f2956f8b32f62c231644e0df079e662cadd
5a82795c3860745112b7410d9060c5ef671adba0
/leetcode/Network Delay Time.py
0ead9c6fd14d36b87d1e6aaa9d1e5ac0d91d18eb
[]
no_license
ashishvista/geeks
8e09d0f3a422c1c9a1c1b19d879ebafa31b62f44
1677a304fc7857a3054b574e8702491f5ce01a04
refs/heads/master
2023-03-05T12:01:03.911096
2021-02-15T03:00:56
2021-02-15T03:00:56
336,996,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
class Graph: v = None def __init__(self, V): self.V = V self.adj = [[] for i in range(V)] self.weights = {} def addEdge(self, u, v, w): self.adj[u].append(v) self.weights[str(u) + "-" + str(v)] = w class Solution: def networkDelayTime(self, times: List[List[in...
[ "ashish@groomefy.com" ]
ashish@groomefy.com
e04c0bf21ef6ef4a8ce6e6a89f934139e335a5d8
f098c361ee79bb8b7a8402fcf20b37f17fb36983
/Back-End/Python/Basics/Part -1 - Functional/04 - First-Class-Functions/send_email_partial.py
f536c40a3c3798957ca6c45af1bfb96feb7036ee
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
rnsdoodi/Programming-CookBook
4d619537a6875ffbcb42cbdaf01d80db1feba9b4
9bd9c105fdd823aea1c3f391f5018fd1f8f37182
refs/heads/master
2023-09-05T22:09:08.282385
2021-10-31T11:57:40
2021-10-31T11:57:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
from functools import partial def sendmail(to, subject, body): # code to send email print('To:{0}, Subject:{1}, Body:{2}'.format(to, subject, body)) email_admin = 'palin@python.edu' email_devteam = 'idle@python.edu;cleese@python.edu' # Now when we want to send emails we would have to write things like: # Em...
[ "58447627+Koubae@users.noreply.github.com" ]
58447627+Koubae@users.noreply.github.com
300682d48f2cb716193d184532e5d3018b6188db
8e69eee9b474587925e22413717eb82e4b024360
/v2.5.7/toontown/shtiker/HtmlView.py
6f65c5d143302ce38dc6ebb01cf2b6f26205dff4
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
11,473
py
import array, sys from direct.showbase.DirectObject import DirectObject from direct.task.Task import Task from direct.directnotify import DirectNotifyGlobal from panda3d.core import Texture from panda3d.core import CardMaker from panda3d.core import NodePath from panda3d.core import Point3, Vec3, Vec4, VBase4D, Point2 ...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
8864c5625cee7be5cd7ac66b57768f555f562984
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/chrome/browser/resources/PRESUBMIT.py
e7a3e430986f0a2d2062a15497b6b5e3e4784501
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
Python
false
false
5,423
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Presubmit script for files in chrome/browser/resources. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details abou...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
7b0d198edd0ab71fba7c49944e970931a0dbc404
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/F5-BIGIP-APM-MIB.py
f32fb6c2ec66d59f08f2b797478be0cf5a1eb2d9
[ "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
117,788
py
# # PySNMP MIB module F5-BIGIP-APM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/F5-BIGIP-APM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:57:38 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
c709879b1fee60eecdc644534c5f072428a76609
31eaed64b0caeda5c5fe3603609402034e6eb7be
/python_zumbi/py_functions/ler_e_gravar_arquivo_CSV.py
e8d6a926b35a01ceccefbd8155a6cdd818c3a912
[]
no_license
RaphaelfsOliveira/workspace_python
93657b581043176ecffb5783de208c0a00924832
90959697687b9398cc48146461750942802933b3
refs/heads/master
2021-01-11T17:39:49.574875
2017-06-28T20:55:43
2017-06-28T20:55:43
79,814,783
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
import csv arq_name = "test" title = 'perfumes' name_prod = 'perfume-feminino' url_prod = 'http://www.epocacosmeticos.com.br/perfumes/perfume-feminino' rows = ['teste','teste'] def save_urls(arq_name, rows): arq = csv.writer(open(arq_name + '.csv', "w")) arq.writerow(rows) print(rows) #print(arq)
[ "raphaelbrf@gmail.com" ]
raphaelbrf@gmail.com
3be5e6031a6351f732e4aa3e3ecf6dc74d11eb6c
f5c62bab2e95bb2dc6986ba271662ade8cae4da0
/docs/PythonSAI/LineProperties.py
c3e7401f40524540e570646be946433183820cfd
[]
no_license
Has3ong/X3DViewer
d211b159c29523e61158eddc015bb320e4ba7c9d
c629305c24b5c25fd41d3a46816efbf1f74d0092
refs/heads/master
2021-06-25T16:36:46.278469
2021-01-03T11:26:02
2021-01-03T11:26:02
180,564,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
from . import * # LineProperties defines a concrete node interface that extends interface X3DAppearanceChildNode. class CLineProperties(CX3DAppearanceChildNode): m_strNodeName = "LineProperties" def __init__(self): self.m_strNodeName = "LineProperties" self.m_Parent = [None] self.childr...
[ "khsh5592@naver.com" ]
khsh5592@naver.com
4dc0710a308eb43121ff85c314929338cc1ad68d
f98c45d0079479b10c8276693dc31c704ccc087f
/api/apps/goods/models.py
9f7696a669fbacebb0c26a81978d4226843c2828
[ "MIT" ]
permissive
TasHole/tokyo
b78c84d31b5c459a8a508fd671151a825db55835
d4e0b2cce2aae53d93cb2bbbd2ca12ff0aa6a219
refs/heads/master
2020-12-21T13:29:31.626154
2019-10-12T03:03:34
2019-10-12T03:03:34
236,445,029
0
0
null
null
null
null
UTF-8
Python
false
false
5,857
py
from datetime import datetime from django.db import models class GoodsCategory(models.Model): """ 商品カテゴリー """ CATEGORY_TYPE = ( (1, "一級カテゴリー"), (2, "二級カテゴリー"), (3, "三級カテゴリー") ) name = models.CharField(default="", max_length=50, verbose_name="カテゴリー名", help_text="カテゴリー名...
[ "txy1226052@gmail.com" ]
txy1226052@gmail.com
88fd6306ddf23894d2552a4e2bc87e2b89a734df
e489172f6e49e1239db56c047a78a29a6ffc0b36
/via_code_decode/code_category.py
ab1f0d754b5245b8d99d0e949b26421de5effc09
[]
no_license
eksotama/prln-via-custom-addons
f05d0059353ae1de89ccc8d1625a896c0215cfc7
f2b44a8af0e7bee87d52d258fca012bf44ca876f
refs/heads/master
2020-03-25T19:49:08.117628
2015-12-01T07:29:43
2015-12-01T07:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
# -*- encoding: utf-8 -*- ############################################################################## # # Vikasa Infinity Anugrah, PT # Copyright (c) 2011 - 2013 Vikasa Infinity Anugrah <http://www.infi-nity.com> # # This program is free software: you can redistribute it and/or modify # it under the ter...
[ "aero@aero.(none)" ]
aero@aero.(none)
386d526236ceef1e4accd80ace256f69374c7b69
266f073facf1754763af372f3b4433337161f91a
/memegen/domain/template.py
4c61cdbd88b6c6134c5c7f14b2935ed1e4fbc5d5
[ "MIT" ]
permissive
jkloo/memegen
7717104eedc0db1cad15673b426f1ebdb5119445
9360486066b52ede528f0c45671f81ebb168e3b3
refs/heads/master
2020-04-05T18:55:54.182899
2015-06-19T13:47:24
2015-06-19T13:47:24
37,665,345
0
0
null
2015-06-18T14:46:22
2015-06-18T14:46:22
null
UTF-8
Python
false
false
950
py
import os from .text import Text class Template: """Blank image to generate a meme.""" DEFAULTS = ("default.png", "default.jpg") def __init__(self, key, name=None, lines=None, aliases=None, link=None, root=None): self.key = key self.name = name or "" self.lines ...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
b941f4fec6db3324f517391c833d36bd9deb602e
1a114943c92a5db40034470ff31a79bcf8ddfc37
/stdlib_exam/unicodedata-example-1.py
8ab800f4c75d0ac65e9f6fbc5d28206808558553
[]
no_license
renwl/mylinux
1924918599efd6766c266231d66b2a7ed6f6cdd1
0602fc6d2b0d254a8503e57310f848fc3e1a73b4
refs/heads/master
2020-07-10T22:12:03.259349
2017-01-02T12:32:04
2017-01-02T12:32:04
66,467,007
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
396
py
import unicodedata for char in [u"A", u"-", u"1", u"\N{LATIN CAPITAL LETTER O WITH DIAERESIS}"]: print repr(char), print unicodedata.category(char), print repr(unicodedata.decomposition(char)), print unicodedata.decimal(char, None), print unicodedata.numeric(char, None) ## u'A' Lu '' None None ## ...
[ "wenliang.ren@quanray.com" ]
wenliang.ren@quanray.com
b73000ba07270793015730c3be257dec3a98ded0
4bb1a23a62bf6dc83a107d4da8daefd9b383fc99
/work/abc032_c2.py
45cd9b0ea7fccb2e9ffe3042836077ee7d77a58a
[]
no_license
takushi-m/atcoder-work
0aeea397c85173318497e08cb849efd459a9f6b6
f6769f0be9c085bde88129a1e9205fb817bb556a
refs/heads/master
2021-09-24T16:52:58.752112
2021-09-11T14:17:10
2021-09-11T14:17:10
144,509,843
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
n,k = map(int, input().split()) al = [int(input()) for _ in range(n)] if 0 in al: print(n) exit() r = 0 l = 0 m = 1 res = 0 while l<n: while r<n and m*al[r]<=k: m *= al[r] r += 1 res = max(res, r-l) if r==l: r += 1 else: m //= al[l] l += 1 pr...
[ "takushi-m@users.noreply.github.com" ]
takushi-m@users.noreply.github.com
5f2a5eb29af62914d46eb9bdd3a8b12e5253115d
8dd53a5d1820ae5a3efe799381a90c977afd32c4
/contrib/devtools/copyright_header.py
8ffcca9432a127d16002bcc5aa79aef9ddf47f4a
[ "LicenseRef-scancode-public-domain", "MIT" ]
permissive
mulecore/mulecoin
8b654817a1b78c9e98f96bfef5febaca23347f64
e52131742938ae433463f32680837981a5cedc0f
refs/heads/master
2023-03-28T05:37:53.552271
2021-03-27T03:22:13
2021-03-27T03:22:13
351,796,749
0
0
null
null
null
null
UTF-8
Python
false
false
23,084
py
#!/usr/bin/env python3 # Copyright (c) 2016 The Bitcoin Core developers # Copyright (c) 2017-2019 The Raven Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import re import fnmatch import sys import subprocess impo...
[ "root@DESKTOP-AOBIGEQ.localdomain" ]
root@DESKTOP-AOBIGEQ.localdomain
71619690ce1315a1467d2da14697223edb31bfb4
195915dab8406c2e934d0ffa8c500b1317c5e6f1
/bestrestra/settings.py
220f1de76ec4f3342e69561c80dc947ed02197e7
[]
no_license
theparadoxer02/bestrestra
28c2e46ae124a7496d889933daefe3c36dbbe9a2
13dccc988ee78eebc685111cb486a8c1342deb3c
refs/heads/master
2020-12-24T19:51:07.521744
2017-03-26T08:09:18
2017-03-26T08:09:18
86,217,158
0
0
null
null
null
null
UTF-8
Python
false
false
3,586
py
""" Django settings for bestrestra project. Generated by 'django-admin startproject' using Django 1.10.6. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import...
[ "abhimanyu98986@gmail.com" ]
abhimanyu98986@gmail.com
f2759daadeefa6b3f075de304b18660a2ca0c449
5b4c803f68e52849a1c1093aac503efc423ad132
/UnPyc/tests/tests/CFG/2/pass/pass_try+finally_while_.py
258bc6132acf68332fcb6f7045d21347c4336fcd
[]
no_license
Prashant-Jonny/UnPyc
9ce5d63b1e0d2ec19c1faa48d932cc3f71f8599c
4b9d4ab96dfc53a0b4e06972443e1402e9dc034f
refs/heads/master
2021-01-17T12:03:17.314248
2013-02-22T07:22:35
2013-02-22T07:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
while 1: try: pass finally: pass
[ "d.v.kornev@gmail.com" ]
d.v.kornev@gmail.com
53e45f6370195df23f3ec7adf095359fb79e466e
478c4a01990f514813d4dd05faac39d18f0cdc9f
/clang/utils/creduce_crash_testcase.py
7affc59f42ac64f487de68eb42f717b932ee9a5c
[ "Apache-2.0", "LLVM-exception", "NCSA" ]
permissive
capt-hb/llvm-project
6632477ecc28c07244dfe961dd7b25143f84b51f
3214ab1279d10920828877865b3286266600666d
refs/heads/master
2022-10-09T04:24:03.973787
2020-06-08T14:12:29
2020-06-08T14:12:29
212,033,396
0
2
null
2019-10-01T07:08:10
2019-10-01T07:08:09
null
UTF-8
Python
false
false
68,098
py
#!/usr/bin/env python3 # PYTHON_ARGCOMPLETE_OK import argparse import re import os import tempfile import shutil import shlex import subprocess import sys import resource import typing from abc import ABCMeta, abstractmethod from enum import Enum from pathlib import Path lit_path = Path(__file__).parent.parent.parent ...
[ "Alexander.Richardson@cl.cam.ac.uk" ]
Alexander.Richardson@cl.cam.ac.uk
d78b8ac24c093f12b1ac5b5411620c0f589fe4cc
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/fluent_python/attic/strings-bytes/plane_count.py
dac414b93c5d84ddd35ad15b932051af53a9aa7a
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
import sys from unicodedata import name total_count = 0 bmp_count = 0 for i in range(sys.maxunicode): char = chr(i) char_name = name(char, None) if char_name is None: continue total_count += 1 if i <= 0xffff: bmp_count += 1 print(total_count, bmp_count, bmp_count / total_count, bm...
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
065653bd83e3294aa3c38f6cf48f8ece93f51edd
854da1bbabc83d4506febe01932177f54f163399
/extapps/xadmin/plugins/ueditor.py
745f7814a207baf3ee53f697922cb502bb541560
[]
no_license
RainysLiu/XinJuKe
abdefbf67513f5192e5716ebf547e0797a86af6f
9decde1fe5e6020d31e18264795d640c9ff77383
refs/heads/master
2021-07-18T13:59:05.414626
2020-07-01T12:36:22
2020-07-01T12:36:22
188,654,087
3
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
import xadmin from xadmin.views import ( BaseAdminPlugin, CreateAdminView, ModelFormAdminView, UpdateAdminView, ) from DjangoUeditor.models import UEditorField from DjangoUeditor.widgets import UEditorWidget from django.conf import settings class XadminUEditorWidget(UEditorWidget): def __init__(se...
[ "1072799939@qq.com" ]
1072799939@qq.com
3024ec90b32cad54c5e971139ce41b32e6777f5b
5c53ab863965041a45e91b64aedf0dd52118496f
/ocrtoc_motion_planning/scripts/one_shot_grasp_with_object_pose_server.py
4e506662cc6c46eabbb4f6ac9cd096ef73f9423f
[]
no_license
MiaoDragon/ocrtoc_motion_planning
70fe04538600a39b5d321afa1fa9902800721627
c32542c5f37b84c8555b475c0cf07f2fc453ab5e
refs/heads/master
2023-02-27T02:04:39.688302
2021-02-03T22:23:18
2021-02-03T22:23:18
291,616,166
1
0
null
null
null
null
UTF-8
Python
false
false
9,966
py
#!/usr/bin/env python from __future__ import print_function from motion_planning.srv import OneShotGraspPlanWithObjectPose, OneShotGraspPlanWithObjectPoseResponse from motion_planning_functions import one_shot_grasp_with_object_pose from trajectory_msgs.msg import JointTrajectory, JointTrajectoryPoint from control_m...
[ "innocentmyl@gmail.com" ]
innocentmyl@gmail.com
dc51cca1327c27bef64e3434b98898b1bda20d4d
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D03B/CUSEXPD03BUN.py
15e7b3ed5e7dda7f9d69367842f3c0e6d1a041dc
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,519
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD03BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 0, MAX: 5}, {ID: 'LOC', MIN: 0, MAX: 5}, {ID: 'CNT'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
4b7e502e87dd289be7683e1984debce1217b294d
ed6625148299e759f39359db9f932dd391b8e86f
/personal_env/lib/python3.8/site-packages/pylint/checkers/logging.py
b8661fdfccc31adbf385fa3341e90f8938745c63
[ "MIT" ]
permissive
jestinmwilson/personal-website
128c4717b21fa6fff9df8295b1137f32bbe44b55
6e47a7f33ed3b1ca5c1d42c89c5380d22992ed74
refs/heads/main
2023-08-28T11:31:07.916714
2021-10-14T09:41:13
2021-10-14T09:41:13
414,847,553
1
0
null
null
null
null
UTF-8
Python
false
false
16,334
py
# -*- coding: utf-8 -*- # Copyright (c) 2009-2011, 2013-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2009, 2012, 2014 Google, Inc. # Copyright (c) 2012 Mike Bryant <leachim@leachim.info> # Copyright (c) 2014 Brett Cannon <brett@python.org> # Copyright (c) 2014 Arun Persaud <arun@nubati.ne...
[ "noreply@github.com" ]
jestinmwilson.noreply@github.com
f0ac7f36ebe9a2ecc3df8f36c5b37c55347462fa
cec10c52b4f879161928da88ed9294007874f50f
/libs/configs/cfgs_fcos_coco_res50_1x_v3.py
a950340aa0304fd7c7051b6c4b5437e073af1639
[ "MIT" ]
permissive
g-thebest/FCOS_Tensorflow
676ea7ec358de248860238c0c00817dd6176bfb7
b39b621c9a84dcb4baad25637e7758dcd31707f5
refs/heads/master
2021-11-04T21:39:47.093239
2019-04-28T09:25:26
2019-04-28T09:25:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import os import math import tensorflow as tf import numpy as np # ------------------------------------------------ VERSION = 'FCOS_Res50_20190427' NET_NAME = 'resnet50_v1d' # 'resnet_v1_50' ADD_BOX_IN_TENSORBOARD = True # ----...
[ "yangxue@megvii.com" ]
yangxue@megvii.com
addc002a7f3d8d394abb90d6c6298ef91d7d0c55
a075b20c2c7bee1655c30bd5d2c1c3634755bd48
/utils.py
8bb0b9c56833eab7a2fa5d85081e2c4f9b7a83fd
[]
no_license
gitter-badger/style-transfer
96d4b337c662055cb275dadf3846c58ab5227252
e7518d6a718d06c5f537602307ffa37abaa58a15
refs/heads/master
2021-01-20T10:18:32.335649
2017-08-28T06:45:13
2017-08-28T06:45:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,890
py
import scipy.misc, numpy as np, os, sys from shutil import rmtree, move import tensorflow as tf from PIL import Image import glob, random, bcolz from six.moves import urllib as six_urllib try: import urllib2 as urllib except ImportError: import urllib.request as urllib from collections import OrderedDict import...
[ "noreply@github.com" ]
gitter-badger.noreply@github.com
6edf173e645aa482d70942d9c14aeff463c3997c
6a5ce7d885db1baa5a9d43b26f0ae623a5ef0f01
/azure-mgmt-network/azure/mgmt/network/operations/virtual_networks_operations.py
1456322d7c77268112526c588cb0e745cae281e7
[ "Apache-2.0" ]
permissive
JammyBrand82/azure-sdk-for-python
333af194ff9143ec77f49203a5a71f15c399f278
c65e189cd41bd3464556b17bfcdee1303867996c
refs/heads/master
2021-01-17T18:31:10.661151
2016-03-17T21:03:08
2016-03-17T21:03:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,268
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
a039c87a5a88189abe2b4e273680d7baae5b9f8b
17268419060d62dabb6e9b9ca70742f0a5ba1494
/pp/samples/21_add_fiber_array.py
36357d855e4a117e710cb118a97380217da53c98
[ "MIT" ]
permissive
TrendingTechnology/gdsfactory
a19124423b12cbbb4f35b61f33303e9a012f82e5
c968558dba1bae7a0421bdf49dc192068147b776
refs/heads/master
2023-02-22T03:05:16.412440
2021-01-24T03:38:00
2021-01-24T03:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
"""Connecting a component with I/O. """ import pp from pp.samples.big_device import big_device def test_big_device(): component = big_device(N=10) bend_radius = 5.0 c = pp.routing.add_fiber_array( component, bend_radius=bend_radius, fanout_length=50.0 ) return c if __name__ == "__main__...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
8f6eb903f27861c546fd13331fa65729abc6dc37
1c5fdabf183c5eb3a9d6577049e674c3757c00db
/Блэк_Джек_4/Lucky_Jack_4_3.py
88c2918e249e7140b7b03160d396b46a1c59a2c4
[]
no_license
Bhaney44/Blackjack
b997b46bb92fc71f1471cf6d82048df72a32d342
ca64e41af0669f2e364d80a206682481c2951771
refs/heads/master
2022-12-11T06:58:16.716447
2020-09-15T01:03:47
2020-09-15T01:03:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,628
py
#LuckyJack #Copyright Brian S. Haney 2020 #Import Random #Import Prototype GUI and Data Storage Library from tkinter import * from tkinter.messagebox import * import csv #Factor Labels master = Tk() #Dealer #Labels label0 = Label(master, text = 'Dealer', relief = 'groove', width = 20) label1 = Label(master, text = '...
[ "noreply@github.com" ]
Bhaney44.noreply@github.com
ccd137343ed60e23598ec8c8ad814ccd1564fa22
15d5c79bc5094ab25a9d3f286bb99d30b2598cfa
/network/smurfcoin.py
65c6b19e7bba2ca327a36fa4bfa8bfa33e4274ad
[]
no_license
jabef/clove_bounty
1d4f660969e905fc5fc50e10273d2f2d55df0723
b58bc10b46ba983b890d8e599fb548c7aea2695b
refs/heads/master
2021-04-27T21:41:29.952341
2018-02-19T17:14:15
2018-02-19T17:14:15
122,404,779
0
0
null
2018-02-21T23:01:22
2018-02-21T23:01:21
null
UTF-8
Python
false
false
373
py
from clove.network.bitcoin import Bitcoin class SmurfCoin(Bitcoin): """ Class with all the necessary SmurfCoin network information based on https://github.com/smurfscoin/smf/blob/master/src/net.cpp (date of access: 02/18/2018) """ name = 'smurfcoin' symbols = ('SMF', ) seeds...
[ "noreply@github.com" ]
jabef.noreply@github.com
d4760ff4c833f78ede6feab4c7e69ea26fb96a7c
586a67650102938663f79290f02467ad8a683b43
/invoice/views/invoices.py
5042e0fa85e79d4a9192a039b308238a037e447c
[]
no_license
Shokr/yalla_invoice
64956d886a5056455e519f7c1cfaf364138609d3
5a668963f4cb2a42e4111d855543a680ceec90c4
refs/heads/master
2022-10-04T09:50:32.517524
2021-05-03T20:06:42
2021-05-03T20:06:42
241,491,107
1
0
null
2022-09-23T22:36:00
2020-02-18T23:38:39
Python
UTF-8
Python
false
false
4,101
py
from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import login_required, user_passes_test import datetime # Local Applications imports from .....
[ "mohammedshokr2014@gmail.com" ]
mohammedshokr2014@gmail.com
75a6d5e4fa9d09bca96df632809baf921651227a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_arousing.py
40991d3cd0e5d6d4556cec52531935097102e368
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from xai.brain.wordbase.verbs._arouse import _AROUSE #calss header class _AROUSING(_AROUSE, ): def __init__(self,): _AROUSE.__init__(self) self.name = "AROUSING" self.specie = 'verbs' self.basic = "arouse" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
41c70e9309c3776bec2dea935e8102a58ae2d215
cfb4e8721137a096a23d151f2ff27240b218c34c
/mypower/matpower_ported/lib/mpoption_info_fmincon.py
072799309556c4b95076795f10756ceb343dc4ee
[ "Apache-2.0" ]
permissive
suryo12/mypower
eaebe1d13f94c0b947a3c022a98bab936a23f5d3
ee79dfffc057118d25f30ef85a45370dfdbab7d5
refs/heads/master
2022-11-25T16:30:02.643830
2020-08-02T13:16:20
2020-08-02T13:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
def mpoption_info_fmincon(*args,nout=1,oc=None): if oc == None: from ...oc_matpower import oc_matpower oc = oc_matpower() return oc.mpoption_info_fmincon(*args,nout=nout)
[ "muhammadyasirroni@gmail.com" ]
muhammadyasirroni@gmail.com
1b72274245ff18b5551db7c3c249ebc482c5838a
1bdbcc3954ed75574eea1af5bf49f03cce4af198
/class_work_problems/num_to_letter.py
815b33cda3e3d34cf20083c0ba916bd11eead0bc
[]
no_license
skreynolds/uta_cse_1309x
d73bbadb012147e6196e2320d4d635bee81d28f4
40c1221fdcc192fe66c7e60c636b08a8cfbebb2d
refs/heads/master
2020-12-22T20:19:31.977554
2020-01-29T06:50:24
2020-01-29T06:50:24
236,921,284
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# Type your code here n=int(input('please enter an integer between 1 and 9999: ')) units = ['','one','two','three','four','five','six','seven','eight','nine'] teens = ['','eleven','twelve','thirteen','fourteen','fifteen','sixteen', 'seventeen','eighteen','nineteen'] tens = ['','ten','twenty','thirty','forty','fifty','...
[ "shane.k.reynolds@gmail.com" ]
shane.k.reynolds@gmail.com
62e40235228c53143cd46bc282718e6f767e019d
c3dc08fe8319c9d71f10473d80b055ac8132530e
/challenge-107/roger-bell-west/python/ch-1.py
e638dd33c91314e47cd0245efcf95f3d3d7ef792
[]
no_license
southpawgeek/perlweeklychallenge-club
d4b70d9d8e4314c4dfc4cf7a60ddf457bcaa7a1e
63fb76188e132564e50feefd2d9d5b8491568948
refs/heads/master
2023-01-08T19:43:56.982828
2022-12-26T07:13:05
2022-12-26T07:13:05
241,471,631
1
0
null
2020-02-18T21:30:34
2020-02-18T21:30:33
null
UTF-8
Python
false
false
703
py
#! /usr/bin/python3 def sdn(count): r=list() n=10 while len(r) < count: ns=[int(i) for i in "{:d}".format(n)] d=[0]*10 for i in ns: d[i]+=1 sd=True for i in range(len(ns)): if d[i] != ns[i]: sd=False break ...
[ "roger@firedrake.org" ]
roger@firedrake.org
af04626fbf64b19bf1abe99c30b6144727cd2489
51ce07a419abe50f49e7bb6a6c036af291ea2ef5
/3.Algorithm/08. 비트&진수/이진수.py
672c8c01e566a544904cc9057c3b3d923e469569
[]
no_license
salee1023/TIL
c902869e1359246b6dd926166f5ac9209af7b1aa
2905bd331e451673cbbe87a19e658510b4fd47da
refs/heads/master
2023-03-10T09:48:41.377704
2021-02-24T10:47:27
2021-02-24T10:47:27
341,129,838
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
T = int(input()) for tc in range(1, 1+T): N, numbers = input().split() N = int(N) print(f'#{tc} ', end='') for n in range(N): t = format(int(numbers[n], 16), '03b') # if len(t) < 4: # print('0'*(4-len(t)), end='') print(t, end='') print() ''' 3 4 47FE 5 79E12 8 ...
[ "dltmddk1023@gmail.com" ]
dltmddk1023@gmail.com
76e82c15daa30b0a37073c20c9abe4c4c7c2b4dd
9023909d2776e708755f98d5485c4cffb3a56000
/oneflow/compatible_single_client_python/eager/interpreter_callback.py
4295829ee25c69fc8856e2d0462ad1e2a31c31cd
[ "Apache-2.0" ]
permissive
sailfish009/oneflow
f6cf95afe67e284d9f79f1a941e7251dfc58b0f7
4780aae50ab389472bd0b76c4333e7e0a1a56ef7
refs/heads/master
2023-06-24T02:06:40.957297
2021-07-26T09:35:29
2021-07-26T09:35:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,285
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
sailfish009.noreply@github.com
2d169025b193e12aed0d659dc60d693d4ff91353
b156c2f5ee7417dfa1f6cdcf14e9773a25397544
/GeneVisualization/venv2/Lib/site-packages/itk/itkInPlaceImageFilterAPython.py
4faf0e090f3bfd257e6c260302d98225443a6739
[]
no_license
PinarTurkyilmaz/Vis
1115d9426e9c8eeb5d07949241713d6f58a7721b
4dd4426a70c0bd0a6e405ffe923afee29630aa67
refs/heads/master
2022-11-18T13:16:18.668065
2020-07-06T21:04:10
2020-07-06T21:04:10
226,217,392
0
0
null
null
null
null
UTF-8
Python
false
false
377,610
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkI...
[ "pinar.turkyilmaz@estudiant.upc.edu" ]
pinar.turkyilmaz@estudiant.upc.edu
15fb6788ed674d7fe2dfd6fcf2b8be443d9b1ea1
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4458310.3.spec
00ad46b77e340a73163f728374ab21471d1a13f0
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,691
spec
{ "id": "mgm4458310.3", "metadata": { "mgm4458310.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com