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
cd2467a1fdcd3909917783859542b8cf97f59f5b
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/vm/VmSwitch.py
bcea418e58ba6b99d43c18c8a4e4364eee01b6ce
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
5,917
py
"""This module contains the general information for VmSwitch ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class VmSwitchConsts(): ADMIN_STATE_DISABLE = "disable" ADMIN_STATE_ENABLE = "enabl...
[ "test@cisco.com" ]
test@cisco.com
f4f38c9c5d24372ddfff33125b42134aab81c2e2
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/QcswPnY2cAbrfwuWE_0.py
7ec3b3b0c8567e7f036275c1cc969cd1b5fc4448
[]
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
638
py
""" Create a function that filters out factorials from a list. A factorial is a number that can be represented in the following manner: n! = n * (n-1) * (n-2) * ... * 3 * 2 * 1 Recursively, this can be represented as: n! = n * (n-1)! ### Examples filter_factorials([1, 2, 3, 4, 5, 6, 7]) ➞ [1, 2, 6] ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
97e6d00f92412bbd534ab4503951218c1842d523
908b5e9f5246309b45cf14ea0f7f2cc39c3853f1
/build/vrpn_client_ros/catkin_generated/pkg.installspace.context.pc.py
cab6a546b2ff257f05d4079c96aedd1f54e26bd6
[]
no_license
crvogt/vicon_ws
4a2cc0aa2d1403edcf9240b545a77ca9c1e038e8
ab474b7eb127c12aefdde1d2055cc4cdce0db952
refs/heads/master
2021-07-15T11:43:31.987944
2018-03-05T17:35:25
2018-03-05T17:35:25
95,583,464
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/carson/vicon_ws/install/include;/opt/ros/indigo/include".split(';') if "/home/carson/vicon_ws/install/include;/opt/ros/indigo/include" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;tf2_ro...
[ "crvogt26@gmail.com" ]
crvogt26@gmail.com
fe420ba34f5b3c6a319b46161e88ec9faaf9962f
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/scattergeo/marker/_colorscale.py
0d3a158256a6b78a1a74b5260a7e1f03ecdff770
[ "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
512
py
import _plotly_utils.basevalidators class ColorscaleValidator(_plotly_utils.basevalidators.ColorscaleValidator): def __init__( self, plotly_name='colorscale', parent_name='scattergeo.marker', **kwargs ): super(ColorscaleValidator, self).__init__( plotly_nam...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
14a3817962cd3561dba203d203fc978f818f205a
e8ae11e5017507da59e2e92d423b6a1994490de4
/env/lib/python2.7/site-packages/azure/mgmt/commerce/models/usage_management_client_enums.py
d21d71ad515dbba392389fc344bfc79a31bdc8fe
[]
no_license
teopeurt/ansible-ubuntu-server
613d00cea28bc6531acf4a39aeeb9cd0baa2a391
b5b6127d2ee9723c5088443efe2ffb8ae30cfea7
refs/heads/master
2021-06-28T12:49:50.935753
2017-07-31T17:34:33
2017-07-31T17:34:33
98,912,808
0
1
null
2020-07-24T00:05:31
2017-07-31T17:32:56
Makefile
UTF-8
Python
false
false
1,056
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 co...
[ "me@teopeurt.com" ]
me@teopeurt.com
d6d7c0f0a9eaba7901aa642d5230cb6d2c6d8f1f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2692/59018/260917.py
470f6781ca1279f4085c9ea366a973489def6d5f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
561
py
def shipWithinDays(self, weights): n=len(weights) left=max(weights) right=sum(weights) res=left while left<=right: mid=(left+right)//2 count=0 su=0 for i in range(n): su+=weights[i] if su>mid: count+=1 su=weights...
[ "1069583789@qq.com" ]
1069583789@qq.com
fbc807e7929bbfec16ca58eddeea72496a47c500
542808066eb1d9ef9d3d0bb3f24e8390c3f73694
/lib/googlecloudsdk/third_party/apis/resourceviews/v1beta1/resourceviews_v1beta1_client.py
cb53fb5958a84fa74f961f8539bd2f32c0e0f2ed
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
drincruz/google-cloud-sdk
b5611ed60a4a1e6d3177a2961c76de9de22b2176
f67580f778aea376c90a250745c5e0f85634a8fd
refs/heads/master
2021-01-10T12:22:23.292064
2015-12-16T06:59:29
2015-12-16T06:59:29
48,093,093
0
1
null
null
null
null
UTF-8
Python
false
false
18,642
py
"""Generated client library for resourceviews version v1beta1.""" # NOTE: This file is autogenerated and should not be edited by hand. from googlecloudsdk.third_party.apitools.base.py import base_api from googlecloudsdk.third_party.apis.resourceviews.v1beta1 import resourceviews_v1beta1_messages as messages class Re...
[ "drincruz@gmail.com" ]
drincruz@gmail.com
7087294a553afa1827fbbbeb4e45da8aad0c0e73
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/G/gallagher/national_charities_1.py
082757a5bce2d3be2fc77da41446581313c21c7d
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,106
py
import scraperwiki from scrapemark import scrape import urllib import urllib2 import simplejson state_urls = ["http://www.nonprofitlist.org/cgi-bin/id/city.cgi?city=&state=Alabama" ,"http://www.nonprofitlist.org/cgi-bin/id/city.cgi?city=&state=Alaska" ,"http://www.nonprofitlist.org/cgi-bin/id/city.cgi?city=&st...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
1e2ecbb223cef7769987b8657dce0290f53d0d56
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/small-scale-multiobj/pod150_milp/connections/runsimu3_connections.py
04598461721bb936e4e2ec41fdd27a4e6aa999ee
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize connections """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch4_decomposition import Arch4_decompose from arch1 import ModelSDM_arch1 f...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
59cccb9b036905a4dcb9b90f777018c6b23081c2
0bde5f7f09aa537ed1f4828d4e5ebee66475918f
/h2o-py/tests/testdir_apis/H2O_Module/pyunit_h2oshow_progress.py
9ff815774d5e57e9adbef2bcf8bb26e912fabca7
[ "Apache-2.0" ]
permissive
Winfredemalx54/h2o-3
d69f1c07e1f5d2540cb0ce5e6073415fa0780d32
dfb163c82ff3bfa6f88cdf02465a9bb4c8189cb7
refs/heads/master
2022-12-14T08:59:04.109986
2020-09-23T08:36:59
2020-09-23T08:36:59
297,947,978
2
0
Apache-2.0
2020-09-23T11:28:54
2020-09-23T11:28:54
null
UTF-8
Python
false
false
1,905
py
from __future__ import print_function import sys sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o try: from StringIO import StringIO # for python 3 except ImportError: from io import StringIO # for python 2 from h2o.estimators.glm import H2OGeneralizedLinearEstimator from h2o.u...
[ "noreply@github.com" ]
Winfredemalx54.noreply@github.com
ec91569702a15fcfcce3a0a53e0befcdb08371a1
7e54d5449b511d06158cfc0e2c928b8656e15ac7
/sortedm2m_tests/models.py
aeb5846d6754d17787b4d7b7a34694466e9107dd
[ "BSD-3-Clause" ]
permissive
jonny5532/django-sortedm2m
1f326271ef665c4c26f1f5b631bb9f0b70daf853
bff0707efcc3257e47355cb2e77ab1abe3c48320
refs/heads/master
2021-01-15T18:45:55.789077
2012-01-19T10:50:15
2012-01-19T10:50:15
2,563,529
1
1
null
null
null
null
UTF-8
Python
false
false
726
py
# -*- coding: utf-8 -*- from django.db import models from sortedm2m.fields import SortedManyToManyField class Shelf(models.Model): books = SortedManyToManyField('Book', related_name='shelves') class Book(models.Model): name = models.CharField(max_length=50) def __unicode__(self): return self.na...
[ "gregor@muellegger.de" ]
gregor@muellegger.de
e90723be4777e7cd41a8cd6bd27535a5ca0d13b8
70cdf0741a22c678401a306229003bf036ffe5a6
/ocbind/bgp/global_/config/__init__.py
648d1de9718f18a67c4e2c82ee85c12f2674283d
[]
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
53,498
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
b249087047ebb31723edc290464c8960c892c52c
4138be36f76f33815360ca74a3c80dd1b99bee19
/tests/m2m_and_gfk_through/models.py
867abb221851ea093a1ffe67f725cc6ad1db04ec
[ "MIT" ]
permissive
mikewolfd/django-gm2m
e385385b56fb2faa2277e270884f65f60e62ab0c
a8cecc4d6d56c83e8d9c623888f5d07cb6ad8771
refs/heads/master
2021-08-22T23:32:17.459805
2017-07-19T02:11:21
2017-07-19T02:11:21
112,767,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
""" Test case for issue #5 Django 1.8 migration problems with combined M2M and GM2M relations """ from django.db import models from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey import gm2m class GM2MLinks(models.Model): cla...
[ "thomas@ksytek.com" ]
thomas@ksytek.com
397ea1f63ccc85b05f6d84497893b4ac7c16d5bd
4fc1c45a7e570cc1204d4b5f21150f0771d34ea5
/tools/benchmark/statistics.py
46ee420c2e156cd62301b2d0da0e667f9a4ca590
[]
no_license
CN1Ember/feathernet_mine
77d29576e4ecb4f85626b94e6ff5884216af3098
ac0351f59a1ed30abecd1088a46c7af01afa29d5
refs/heads/main
2023-05-28T17:19:06.624448
2021-06-17T04:39:09
2021-06-17T04:39:09
374,603,757
1
0
null
null
null
null
UTF-8
Python
false
false
2,962
py
import torch import torch.nn as nn from collections import OrderedDict from .model_hook import ModelHook from .stat_tree import StatTree, StatNode from .reporter import report_format def get_parent_node(root_node, stat_node_name): assert isinstance(root_node, StatNode) node = root_node name...
[ "chenguo@gpu017.scut-smil.cn" ]
chenguo@gpu017.scut-smil.cn
657299928bba96983fc8b5a5e462eea61359d6db
f4dd8aa4e5476ffde24e27273dd47913c7f9177a
/Dlv2_safe2/tests/parser/26-Hanoi-Tower.asp.test.py
3ef549c01be148d1405e32e3ec93f938ad439a0b
[ "Apache-2.0" ]
permissive
dave90/Dlv_safe2
e56071ec1b07c45defda571cb721852e2391abfb
f127f413e3f35d599554e64aaa918bc1629985bc
refs/heads/master
2020-05-30T10:44:13.473537
2015-07-12T12:35:22
2015-07-12T12:35:22
38,256,201
0
0
null
null
null
null
UTF-8
Python
false
false
4,009
py
input = """ % The meaning of the time predicate is self-evident. As for the disk % predicate, there are k disks 1,2,...,k. Disks 1, 2, 3, 4 denote pegs. % Disks 5, ... are "movable". The larger the number of the disk, % the "smaller" it is. % % The program uses additional predicates: % on(T,N,M), which is true iff at...
[ "davide@davide-All-Series" ]
davide@davide-All-Series
286a85a4bf2a2e961e3da5764726f6960e7aef3c
f8ad6963bfc851657ea50c6a036cfad29cdd7f60
/Books/GodOfPython/P12_File/direct/num3.py
bb276e2864e6fd000091dd1be4546d3379e9146b
[]
no_license
foru120/PythonRepository
e1ab0265c0f50ef2e9acdf7447237c913560692b
db6b6be0f9fb91b0a81a3b6a2ec5631daab10f98
refs/heads/master
2021-01-01T06:53:11.728109
2019-04-25T13:52:50
2019-04-25T13:52:50
97,541,222
4
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
f = open('D:/02.Python/ch12/direct/num2.txt', 'r+') item_list = [] for line in f: item_list.append(line.strip().split('|')) while True: print('-------------------------------------') print('-- 01. 전체 물품 출력(a) ------------') print('-- 02. 기존 물품 수량 변경(b) -------') print('-- 03. 새로운 물품 등록(c) --------...
[ "broodsky1122@hanmail.net" ]
broodsky1122@hanmail.net
5625743a10abd9a450aa29c2c7e133553ec1874d
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/_External-learning-resources/02-pyth/transitions-master/transitions/extensions/markup.py
86a08305acdd5b8854ef26cfc5097c6eca8a3ddc
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
9,152
py
from six import string_types, iteritems from functools import partial import itertools import importlib from ..core import Machine, Enum import numbers class MarkupMachine(Machine): # Special attributes such as NestedState._name/_parent or Transition._condition are handled differently state_attributes = [ ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
0539f68bfceaf9bc8ba55c42d82bfb718fbf5247
8578dca588f39923b6ca3af5419cc58d627cefd8
/牛客企业真题/网易/网易2019实习生招聘编程题集合/牛牛找工作.py
744ea44f8e482d9fb7720b8c2636fce0023b61e2
[]
no_license
huhudaya/leetcode-
abc6eca463fc3ce0776218147c4bbed54e92f11f
cff397cb5202277a1ae85135e91051603debde09
refs/heads/master
2021-07-26T01:00:02.690250
2020-12-25T14:21:14
2020-12-25T14:21:14
233,403,333
1
0
null
null
null
null
UTF-8
Python
false
false
9,604
py
''' 为了找到自己满意的工作,牛牛收集了每种工作的难度和报酬。牛牛选工作的标准是在难度不超过自身能力值的情况下,牛牛选择报酬最高的工作。在牛牛选定了自己的工作后,牛牛的小伙伴们来找牛牛帮忙选工作,牛牛依然使用自己的标准来帮助小伙伴们。牛牛的小伙伴太多了,于是他只好把这个任务交给了你。 输入描述: 每个输入包含一个测试用例。 每个测试用例的第一行包含两个正整数,分别表示工作的数量N(N<=100000)和小伙伴的数量M(M<=100000)。 接下来的N行每行包含两个正整数,分别表示该项工作的难度Di(Di<=1000000000)和报酬Pi(Pi<=1000000000)。 接下来的一行包含M个正整数,分别表示M个小伙伴的能力值...
[ "457775600@qq.com" ]
457775600@qq.com
679c01dbd43a59d383ce9f52f744523310bd916a
9ac405635f3ac9332e02d0c7803df757417b7fee
/cotizaciones_componentes/migrations/0021_auto_20200215_1600.py
4b5458c6c75c7a29b644a6d2623a316422029522
[]
no_license
odecsarrollo/07_intranet_proyectos
80af5de8da5faeb40807dd7df3a4f55f432ff4c0
524aeebb140bda9b1bf7a09b60e54a02f56fec9f
refs/heads/master
2023-01-08T04:59:57.617626
2020-09-25T18:01:09
2020-09-25T18:01:09
187,250,667
0
0
null
2022-12-30T09:36:37
2019-05-17T16:41:35
JavaScript
UTF-8
Python
false
false
438
py
# Generated by Django 2.2.6 on 2020-02-15 21:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cotizaciones_componentes', '0020_auto_20200215_0953'), ] operations = [ migrations.AlterField( model_name='itemcotizacioncompone...
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
45f139875b7ada90c52391a4a0b587f14a01e96d
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4148/codes/1723_2506.py
4c9fd872f99d5b04e510eba1c69d4e217871649e
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
255
py
q = int(input("quant.: ")) pc = int(input("percentual: ")) qvc = int(input("quant. de venda: ")) ano = 0 cap = 12000 while(q>0 and q<cap): q = q + (q*(pc/100))-qvc ano = ano +1 if (q<0): print("EXTINCAO") if(q>cap): print("LIMITE") print(ano)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
1fd9fbd4ecbd63f40d60da6eeaad2a451a719921
e2e39726195c7bc075b9bd56e757acd136527d5c
/typings/vtkmodules/vtkCommonExecutionModel/vtkMultiTimeStepAlgorithm.pyi
b8f276a14fcdccf562f6efabb3c16449399f1ca2
[ "BSD-3-Clause" ]
permissive
gen4438/vtk-python-stubs
a652272183d2d1ee48d4639e86bcffc1ac454af0
c9abd76362adf387af64ce5ddbd04c5d3bebe9da
refs/heads/main
2023-04-04T02:13:15.459241
2021-04-15T10:47:28
2021-04-15T10:53:59
358,224,363
1
0
null
null
null
null
UTF-8
Python
false
false
4,031
pyi
""" This type stub file was generated by pyright. """ from .vtkAlgorithm import vtkAlgorithm class vtkMultiTimeStepAlgorithm(vtkAlgorithm): """ vtkMultiTimeStepAlgorithm - Superclass for algorithms that would like to make multiple time requests Superclass: vtkAlgorithm This class ca...
[ "g1e2n04@gmail.com" ]
g1e2n04@gmail.com
762bbef5680c83f8136ec7bbc152abafe40ac2e2
59f64b5cf799e31c97b11828dba4787afb8f3f17
/hail/python/hailtop/aiocloud/aioazure/client/network_client.py
495771bb1ead6b26ad134d1796f132e647ffc634
[ "MIT" ]
permissive
hail-is/hail
2089e6f3b38548f13fa5c2a8ab67f5cfdd67b4f1
07a483ae0f46c66f3ed6fd265b48f48c06298f98
refs/heads/main
2023-09-01T15:03:01.450365
2023-09-01T02:46:35
2023-09-01T02:46:35
45,069,467
913
262
MIT
2023-09-14T21:53:32
2015-10-27T20:55:42
Python
UTF-8
Python
false
false
1,333
py
from typing import Optional import aiohttp from ..session import AzureSession from .base_client import AzureBaseClient class AzureNetworkClient(AzureBaseClient): def __init__(self, subscription_id, resource_group_name, session: Optional[AzureSession] = None, **kwargs): if 'params' not in kwargs: ...
[ "noreply@github.com" ]
hail-is.noreply@github.com
820951c82f77cecf7f891cf5a2edb0f60f69491b
3e3bf98840d133e56f0d0eb16ba85678ddd6ca45
/.history/iss_20200102123332.py
97d3addabc223e3f815e8f462e6cae4fabebbc2d
[]
no_license
Imraj423/backend-iss-location-assessment
a05d3cc229a5fc4857483ae466348c1f8c23c234
b0565c089a445ccffcb8d0aab3c0be3bb0c1d5b8
refs/heads/master
2020-12-03T17:04:58.512124
2020-06-24T16:02:02
2020-06-24T16:02:02
231,400,854
0
0
null
2020-06-24T16:02:04
2020-01-02T14:43:44
null
UTF-8
Python
false
false
672
py
import requests import turtle screen = turtle.Screen() screen.bgpic("map.gif") screen.screensize(800, 600) screen.setup(720, 360) screen.setworldcoordinates(-180, -90, 180, 90) image = "iss.gif" screen.addshape(image) raf = turtle.Turtle() raf.shape(image) raf.setheading(45) raf.penup() screen.exitonclick() def m...
[ "dahqniss@gmail.com" ]
dahqniss@gmail.com
49ef9ae27e9207fdae7537265f3119a3db58a5c0
ba744a96d4c8fbcbaa15bcdbc5c3efe3860578b7
/apps/user_operation/migrations/0002_auto_20190613_1536.py
64a928bf44052bc84aab7e8ccb0cd5c3952c3bca
[]
no_license
zhangliang852469/Mx_shop_afterend
d84107887936baf122ed489de766f5d22958865b
9d04de806d6ec87778f2ebe002459ee6a854915e
refs/heads/master
2022-12-17T21:03:21.315285
2019-06-18T09:49:51
2019-06-18T09:49:51
192,023,209
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2019-06-13 07:36 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('user_o...
[ "710567585@qq.com" ]
710567585@qq.com
a8045b4b3a67464f1ef11694c333a468a7a44896
f608dbe94b6e05f63d9bfa030c8ca87725957b93
/core/src/world/actions/inventory/inventory.py
4568dbfe32d9d472cb85f44fb7376773d9b41eda
[]
no_license
ProjectMHQ/projectm
3336c82cbd1e330e065cb178d476c72d552fbfaf
adcb42722354ea4929300e9a4597e734b431c6e5
refs/heads/master
2023-04-22T18:41:48.091889
2021-01-30T11:28:28
2021-01-30T11:28:28
216,660,020
0
0
null
2021-05-06T20:33:28
2019-10-21T20:32:21
Python
UTF-8
Python
false
false
774
py
from core.src.world.actions.inventory.inventory_messages import InventoryMessages from core.src.world.components.inventory import InventoryComponent from core.src.world.components.position import PositionComponent from core.src.world.domain.entity import Entity from core.src.world.utils.entity_utils import load_compone...
[ "guido.dassori@gmail.com" ]
guido.dassori@gmail.com
f4977cc67d8e72649ab03139364065bcecbaaccb
0ff2c6b1def739e687e7acd809567558bcecd660
/data_fix/darknet_to_coco.py
9d159c339a04d09f2adea4326c18abbc528c4ffd
[]
no_license
koalakid1/YOLOPose
5e7b7cc8df343ad655d070831f0fd6aa1eb45685
0da31dfc3bcb216b19746af1e00e3a61b9671517
refs/heads/master
2022-04-24T10:04:35.758904
2020-04-19T11:45:33
2020-04-19T11:45:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,778
py
import os import sys import numpy as np import pandas as pd def dark_to_coco(text_dir, output_dir, output_name, img_dir): sys.stdout = open(os.path.join(output_dir, output_name),"w") for root, dir, files in os.walk(text_dir): idx = 0 for f in [f for f in files if os.path.splitext(f)[-1] == ".t...
[ "comojin1994@gmail.com" ]
comojin1994@gmail.com
6939337d81863f52f0ca5d5db23d4e1d9a6fa3ac
3b0ff2529391981d234cc0a194503a1651231908
/python/ccxt/pro/deribit.py
30cd31b639b24c9d887aa3b096838c10dd31b581
[ "MIT" ]
permissive
dinamic/ccxt
bba8989a4f165251d97202dfd082fe16a3e22704
f870edc2eea3cb20e18cf49831b372ce3e7aeb3c
refs/heads/master
2023-05-10T21:20:37.543926
2023-05-04T08:55:59
2023-05-04T08:55:59
164,325,829
2
0
MIT
2019-04-18T14:33:49
2019-01-06T16:39:26
JavaScript
UTF-8
Python
false
false
33,925
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp import has...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
1e593b825cab0a60fb5bff2f8ead37386a8a901b
031b7927274f55e60d9ab004ce8ea39f34abbbca
/tensorflow_probability/python/bijectors/generalized_pareto.py
6f4910589e1871a72124a32ef446fd0d61d187fe
[ "Apache-2.0" ]
permissive
brianwa84/probability
8d87c96d7b8b1a885a7a7377a13978bd13ffa9c3
6f8e78d859ac41170be5147c8c7bde54cc5aa83e
refs/heads/master
2021-06-19T08:58:40.276319
2021-05-14T21:43:14
2021-05-14T21:44:53
146,023,828
0
0
Apache-2.0
2019-06-06T15:18:43
2018-08-24T18:00:25
Jupyter Notebook
UTF-8
Python
false
false
5,582
py
# Copyright 2019 The TensorFlow Probability 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 applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
19b6ed2b84c9efa20a3e5b0ba417374644185cee
8668830f34ce260565217ea3b49e090778780b44
/sms_gateway/tests/test_task_text_blast_coupon.py
e16bbece6a9871e7570065ff5e98477f81d5e0d4
[]
no_license
wcirillo/ten
72baf94da958b2ee6f34940c1fc3116660436762
a780ccdc3350d4b5c7990c65d1af8d71060c62cc
refs/heads/master
2016-09-06T13:39:03.966370
2015-07-02T12:37:36
2015-07-02T12:37:36
15,700,975
0
0
null
null
null
null
UTF-8
Python
false
false
3,517
py
""" Tests of sms_gateway app tasks. """ from django.conf import settings from coupon.models import Action, Coupon, CouponAction, SubscriberAction from sms_gateway.tasks import text_blast_coupon from sms_gateway.tests.sms_gateway_test_case import SMSGatewayTestCase settings.CELERY_ALWAYS_EAGER = True class TestTextBl...
[ "williamcirillo@gmail.com" ]
williamcirillo@gmail.com
cb9b49a0b772a122167aec5fb2589f2787bb37db
e27f9f1f8bef8b1f4676df84ee3e753974d21a1c
/tests/ignite/handlers/test_lr_finder.py
61726a9193063b693d63c665108578d4ab4c7dd8
[ "BSD-3-Clause" ]
permissive
pytorch/ignite
8fb275638e94e702762eec932b21dc8df7a54cb0
34a707e53785cf8a524589f33a570a7516fe064e
refs/heads/master
2023-09-02T00:27:22.485479
2023-08-31T15:10:14
2023-08-31T15:10:14
111,835,796
4,613
788
BSD-3-Clause
2023-09-13T07:46:41
2017-11-23T17:31:21
Python
UTF-8
Python
false
false
25,422
py
import copy import os from pathlib import Path from unittest.mock import MagicMock import matplotlib import pytest import torch import torch.nn.functional as F from torch import nn from torch.optim import SGD import ignite.distributed as idist from ignite.contrib.handlers import FastaiLRFinder from ignite.engine impo...
[ "noreply@github.com" ]
pytorch.noreply@github.com
78cdac41765e901ac43ff0a7a706f6cdf8a14db2
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v5/proto/services/keyword_plan_ad_group_service_pb2.py
901820cb46b24fd64b06a8624f8446136d512d1b
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
22,048
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v5/proto/services/keyword_plan_ad_group_service.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflec...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
dbf5708023c1cd6e9fa27007bec608a1b0a11915
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/nsx/manager/csr/csr_facade.py
c748ebec7776c2f888198da7e0fcf182ec60e611
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
import vmware.common.base_facade as base_facade import vmware.common.constants as constants import vmware.common.global_config as global_config import vmware.nsx.manager.csr.api.csr_api_client as csr_api_client import vmware.nsx.manager.csr.cli.csr_cli_client as csr_cli_client import vmware.nsx.manager.csr.csr as csr ...
[ "bpei@vmware.com" ]
bpei@vmware.com
d794b2638f627cae92847c422f07455bd2e63473
93cc2b7590433228444a56daf9f6e0991728867e
/backend/courses/serializer.py
b9ecbba5790f4e7f95d7d8826b694ffda60a7f9d
[]
no_license
MisterLenivec/rating_app
b50fb5353634914a914ddf36831d0fa086d04530
65111424159fd730a89678386d9e422fddcdcde8
refs/heads/master
2022-12-07T07:25:23.748013
2020-08-30T12:04:06
2020-08-30T12:04:06
290,445,260
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from rest_framework.serializers import ModelSerializer from .models import Courses class CourseSerializer(ModelSerializer): """Добавление курсов""" class Meta: model = Courses fields = ['id', 'name', 'url', 'rating']
[ "wormsom@gmail.com" ]
wormsom@gmail.com
766f30af828e5f9361d2718239e0366426beed40
46a4ee07809d71700bd72c2fe1b5e3c46568f1b0
/backend/manage.py
b19ffd4d0d26352e86a016f331dd4a194ecce5c4
[]
no_license
crowdbotics-apps/audiofocus-5111
9e4e396b36b1bc47e8a39f4f8732406dbc489cdf
815801afc917801d859d50f2986e8535d61e5cfa
refs/heads/master
2022-12-12T06:03:47.893639
2019-06-24T19:23:51
2019-06-24T19:23:51
193,565,731
0
0
null
2022-12-09T07:34:41
2019-06-24T19:23:29
Python
UTF-8
Python
false
false
635
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'audiofocus_5111.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
98802694fabaaad3e27a3a6069d9a7d0df30f372
0c52fefc231db4ace1c483b8a6cfd6f716072c2a
/users/migrations/0003_auto_20200903_1234.py
d2b97f81a0a76faec3e8dfff719d00301bb5ca64
[]
no_license
BrianC68/fam-recipes
4161849133fe47bcd589b110e24e3e7e75c80527
413a943710ae338c922185aaca0aa46307a3ac18
refs/heads/master
2022-12-24T01:50:28.304372
2020-10-01T14:17:35
2020-10-01T14:17:35
295,018,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
# Generated by Django 3.0.8 on 2020-09-03 17:34 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20200903_1232'), ] operations = [ migrations.AlterField( model_name='customu...
[ "brianc@wi.rr.com" ]
brianc@wi.rr.com
e161d289aef29076b02deb3c136d91069320e6ad
c6a0862b687ff93cb593ba5a35008ebc701fdaa4
/does_number_look_big.py
6a2b5305ff4313ed2c34272b28a76c594be54af4
[]
no_license
tytechortz/codewars
77deb327cd9d9e8602228ccb246c93a5cec82fe7
8517c38e174fac0a8a81a0939f51a6d83ca0e355
refs/heads/master
2020-06-03T03:49:31.686202
2019-08-26T20:39:50
2019-08-26T20:39:50
191,425,465
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
def narcissistic( value ): digits = [int(x) for x in str(value)] length = len(digits) if sum(i**length for i in digits) == value: return True else: return False narcissistic(153)
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
67bcf6ef75c8622c725316804886b1e3b0041970
3ee2b69a81c9193dd34fdf9c587469adb52c7a6e
/contrib/oscoap-plugtest/plugtest-server
c0e380e0e35530809d366bd407d1d8e0c16e723b
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pruckebusch/aiocoap
cd2ef6da4f1925e8a477baa95cfcb5173465ed21
021915635d912137a1d05ec37486ed4432e0f52d
refs/heads/master
2021-01-22T20:18:18.465840
2017-12-20T14:45:41
2017-12-20T14:45:41
85,305,911
0
0
null
2017-03-17T11:46:17
2017-03-17T11:46:17
null
UTF-8
Python
false
false
7,454
#!/usr/bin/env python3 # This file is part of the Python aiocoap library project. # # Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>, # 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at> # # aiocoap is free software, this file is published under the MIT license as # de...
[ "chrysn@fsfe.org" ]
chrysn@fsfe.org
f456161888d1aada746c90888e1e578f7e93d9b4
fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a
/.history/6_1_20210201203845.py
ed5f98f17b9eaa43f22ca8a496997543f53e6c0b
[]
no_license
wh-debug/python
5a78a2227874ebc400d075197de0adab9f55d187
1467eeda670f170e6e2d7c0a0550f713f1ee9d75
refs/heads/master
2023-03-12T22:08:12.608882
2021-02-17T09:49:52
2021-02-17T09:49:52
334,032,494
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
''' Author: Daylight Date: 2021-02-01 20:18:57 LastEditTime: 2021-02-01 20:38:45 LastEditors: Please set LastEditors Description: Practice for dictionaries in python FilePath: \python\6_1.py ''' #todo 字典(简单的字典) alien_0 = {'color': 'green', 'point': 5} #! 保存两个键值 alien_1 = {'colors': 'red'} #! 最简单的字典 print...
[ "1813763848@qq.com" ]
1813763848@qq.com
ad4694defb2d1595a05f17b2c1b017829fcb623f
70b339d0b2638a7914d0d56c5edf8a2637c9f4b0
/Facebook-printMergedTwoBST.py
88d3a8456edc9ece29bc9e44b1cb5338bfaad7e6
[]
no_license
pflun/advancedAlgorithms
9991da7514024e18ba08de8688966b9220e12571
5520dbcd26999b98e1229bf03c2f62dd690a2ddc
refs/heads/master
2023-02-19T12:05:26.902535
2023-02-14T06:08:54
2023-02-14T06:08:54
189,055,701
4
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
# -*- coding: utf-8 -*- # https://www.geeksforgeeks.org/merge-two-bsts-with-limited-extra-space/ # Given two Binary Search Trees(BST), print the elements of both BSTs in sorted # form. The expected time complexity is O(m+n) where m is the number of nodes in # first tree and n is the number of nodes in second tree. Maxi...
[ "zgao@gwu.edu" ]
zgao@gwu.edu
3dad4b86386b9c1520d030bd4c33a8aa31878d9e
32a30dd45236c7c01c971ac128875076305b2a59
/Interpolation/Composite Variabler.py
7417f8b9086db1a68f8f2d8a69352f31416ad707
[ "Apache-2.0" ]
permissive
Mrmohanak/Glyphs-Scripts
5acb7147e0ca84a1ed15bbfb3e8b1a5fa2b6bd7d
1293e5649d2f061b044826316b9982420f41ccc5
refs/heads/master
2022-11-09T10:28:07.686709
2020-06-19T19:11:52
2020-06-19T19:11:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,293
py
#MenuTitle: Composite Variabler # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals __doc__=""" Reduplicates Brace and Bracket layers of components in the composites in which they are used. Makes brace and bracket layers work in the composites. """ import vanilla class CompoundVa...
[ "res@glyphsapp.com" ]
res@glyphsapp.com
962b85fe59681509f7a23e5cb92b8b9d64a6ab91
118d13a5569092e1742151bcee449a8ed1dff164
/ms_graph/drive_items.py
343881b983143609331aebb13cc6076d71c1aaa8
[ "MIT" ]
permissive
tarikap/ms-graph-python-client
08cc9da20e49ba74ded2b6cd8afcdf2574c5e609
64a2df6f6c1bfcd89a78a500fb4bd04b560a5232
refs/heads/master
2023-02-09T18:22:46.394673
2020-12-06T11:15:53
2020-12-06T11:15:53
319,012,621
0
0
null
2020-12-06T11:05:30
2020-12-06T11:05:30
null
UTF-8
Python
false
false
8,887
py
from typing import Dict from ms_graph.session import GraphSession class DriveItems(): """ ## Overview: ---- The driveItem resource represents a file, folder, or other item stored in a drive. All file system objects in OneDrive and SharePoint are returned as driveItem resources. """ ...
[ "alexreed1192@gmail.com" ]
alexreed1192@gmail.com
59549cf9b5090c462054501984f18528b5eeecb8
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2563/60771/286481.py
6440860658ef460e394d3ddb3ec560656c52722f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
258
py
#08 s = eval(input()) if s == "1000000000000000000": print("999999999999999999") exit(0) ones = ["1","11","111","1111","11111"] for i in range(2,11): for item in ones: if int(s) == int(item,i): print(i) exit(0)
[ "1069583789@qq.com" ]
1069583789@qq.com
d22116543afbd061fe73aff46c090483128e53a9
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq220.py
ec7bc93bbdf4174fbf1914c1bd69aa6b569cdc19
[ "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
1,696
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=9 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
9e08d4193970889aeba26408618a9dbea26434fb
7869d3413fd13a98fd9bc53186418be4885b773a
/function/dataprocess.py
0751d8cfb887d9adc24ec779d792d1e32ffde976
[]
no_license
abandonsea/RSSAN-Hyperspectral-Image
ca5e4fdebc20a5583b0af193798dc8e7d8a1b353
a6b9552dc52cfbb81f3060689bd23b86613c93a5
refs/heads/main
2023-07-11T07:45:32.902912
2021-08-19T07:42:04
2021-08-19T07:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,836
py
import os import sys import torch.utils.data import scipy.io as sio from sklearn.model_selection import train_test_split import numpy as np import torch from HSI_torch import CommonDataset def normalize(data): """ normalize the HSI data """ data = data.astype(np.float) for i in range(...
[ "noreply@github.com" ]
abandonsea.noreply@github.com
11e929075f1dc33ce20b126bede66b9911fa154b
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5686275109552128_1/Python/LooneyLarry/solution.py
48f0fd31d05cb88218678b13fa6205aae48076c4
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
4,246
py
# Google Code Jam 2015 Qualifying B. # Moving half of stack isn't optimal, right? # Start: 9, make 4,5, total cost: 6 # make 3,3,3, total cost: 5 # Right, halving isn't optimal. # Can't improve on 3. # 1: 1 # 2: 2 # 3: 3 # 4: 3 # 5: 4 # 6: 1 + C(3) = 4 # 7?: 1 + C(4) = 4<= No, we can't split the 3 and the 4...
[ "root@debian" ]
root@debian
77c43b89e4d98e184496a139bfe0ee501aac3077
4da462f01398e57f07532d09becbcb737278be6b
/tape/disasm/disasm.py
f1c16dedb37c92e200cfe9e509160dcdabef7389
[ "BSD-2-Clause" ]
permissive
meawoppl/purgatory
d740bc30e547b6d8ef1e00353747ffae6701881f
58abd57f7bf26457798f1d518c321ee52396fb3d
refs/heads/master
2021-01-13T01:31:20.943177
2015-07-26T21:09:42
2015-07-26T21:09:42
37,833,544
3
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
from __future__ import print_function # test1.py from capstone import Cs, CS_ARCH_X86, CS_MODE_64, CS_MODE_32 CODE = b"\x8d\x44\x38\x02" md = Cs(CS_ARCH_X86, CS_MODE_32) md.detail = True for i in md.disasm(CODE, 0): # print(dir(i)) print("0x%x:\t%s\t%s" % (i.address, i.mnemonic, i.op_str)) if len(i.regs...
[ "meawoppl@gmail.com" ]
meawoppl@gmail.com
e36693a654a9877c1004ae2e498dcd3df1c01fe5
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.0_rd=0.5_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=61/sched.py
0f9be34a7f8ee395e190f23b91fd7672f0ff05c2
[]
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
202
py
-X FMLP -Q 0 -L 4 71 250 -X FMLP -Q 0 -L 4 67 200 -X FMLP -Q 1 -L 3 58 300 -X FMLP -Q 1 -L 3 51 300 -X FMLP -Q 2 -L 2 42 300 -X FMLP -Q 3 -L 2 35 200 34 125 32 400 28 150 15 175 9 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
82110d933bc0ba23a080ecb46d59338023c167d3
0f214f060611489bd8c17b44a227c8b5497727f9
/eola/chapter8.py
9bf99bdfc32e5c89e059973bff8f1d637fc01a36
[]
no_license
adamchandra/manim
ee6ed53ef9e9295446a5424c1dcdc45a8bada061
382fc41d375804bb7280d37c40c1ce11ff6f3777
refs/heads/master
2021-01-17T20:31:39.677177
2016-08-29T01:26:08
2016-08-29T01:26:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
47,368
py
from mobject.tex_mobject import TexMobject from mobject import Mobject from mobject.image_mobject import ImageMobject from mobject.vectorized_mobject import VMobject from animation.animation import Animation from animation.transform import * from animation.simple_animations import * from topics.geometry import * from ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
5659fac1f5b514ddd3691759dde6533c4cbf6b48
4eaab9327d25f851f9e9b2cf4e9687d5e16833f7
/problems/add_binary/solution.py
af644f463bbed2e7d591ff215c7088ac01b99e58
[]
no_license
kadhirash/leetcode
42e372d5e77d7b3281e287189dcc1cd7ba820bc0
72aea7d43471e529ee757ff912b0267ca0ce015d
refs/heads/master
2023-01-21T19:05:15.123012
2020-11-28T13:53:11
2020-11-28T13:53:11
250,115,603
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
class Solution: def addBinary(self, a: str, b: str) -> str: # 0 + 0 --> 0 # 0 + 1 --> 1 # 1 + 0 --> 0 # 1 + 1 --> 0, carry 1 # Loop through a # Loop through b # 4 if statements x,y = int(a,2), int(b,2) # answer, carry, respec...
[ "kadhirash@gmail.com" ]
kadhirash@gmail.com
f0c4e0c75d7e48d3ec360646e4ee4bd809feb185
d3fa8ded9d393ba9b03388ba7f05fc559cf31d1e
/Codes/monitor/checks/collector.py
b60006b4fa96e0546faabe7a8cb8eae0b2dd640f
[]
no_license
lengxu/YouYun
e20c4d8f553ccb245e96de177a67f776666e986f
b0ad8fd0b0e70dd2445cecb9ae7b00f7e0a20815
refs/heads/master
2020-09-13T22:30:49.642980
2017-11-27T03:13:34
2017-11-27T03:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,843
py
import collections import logging import pprint import socket import sys import time import checks.system.unix as u import checks.system.win32 as w32 import modules from checks import AGENT_METRICS_CHECK_NAME, AgentCheck, create_service_check from checks.check_status import ( CheckStatus, CollectorStatus, ...
[ "smartbrandnew@163.com" ]
smartbrandnew@163.com
3f9551a286e4524b521bcb829455d5be05fab4f4
de81be0bc3e2770ed68db2e4c116140cf2a42da3
/10.Loop/2.py
1014cf65e468817146f44c6cce592c3bcda8063a
[]
no_license
alstn2468/python-study-opentutorials
f2d993a3094fa2d6603fb748a3b77c89b24ab013
28eabcb00c449c5409dbfbf559f2c0d4a5142c8a
refs/heads/master
2021-10-08T13:08:50.541828
2018-03-24T14:08:40
2018-03-24T14:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
while True: print("Hello world") print("After while")
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
8a91de2422a05acc4045bbd892ae5854e9bf2d7d
4e1d7747a1c916a20546a307603a2191119b7895
/网络/osi七层协议.py
ead6b1583455774578ed093917ad631329fd6b4d
[]
no_license
zhio/python_notebook
3cd85850cd4cc67f81cc97726e78ccd3b96ce152
9a3640062002c3d0775be2f7d0342bcbed7de757
refs/heads/main
2023-06-22T01:25:28.451707
2021-07-22T08:30:49
2021-07-22T08:30:49
388,369,285
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
""" 1.应用层:HTTP 2.表现层 3.会话层 4.传输层:TCP,UDP 5.网络层:IP,ARP 6.数据链路层 7.物理层 """
[ "chenjb04@163.com" ]
chenjb04@163.com
f0811e61669d74bf1815b34a8639d8024adcf499
b7fccda9944b25c5c9b5a91253eac24e1c4c9b23
/tests/settings.py
4003a9bf4dae22e89994804f2dcb8b53953c8fb0
[ "BSD-3-Clause" ]
permissive
ouhouhsami/django-geoads
96f47fd17496a13d611b6ed2462f32dfa81c4401
bec8f9ce8b8744775aee26b14a884598a599d9af
refs/heads/master
2021-01-01T16:51:23.715917
2013-11-16T23:13:52
2013-11-16T23:13:52
4,099,272
3
1
null
null
null
null
UTF-8
Python
false
false
4,638
py
# Django settings for localized_classified_ads project. import os import sys DEBUG = True TEMPLATE_DEBUG = DEBUG GEOADS_ASYNC = False #EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend' EMAIL_FILE_PATH = 'tmp/email-messages/' SITE_RO...
[ "samuel.goldszmidt@gmail.com" ]
samuel.goldszmidt@gmail.com
2b01732f00eccf85447635c842aeea87107b29a2
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/dask-0.8.1-py27_0/lib/python2.7/site-packages/dask/diagnostics/progress.py
42babc30a3fe0b3d4de1caae9af138a8e30b9c1a
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
4,169
py
from __future__ import absolute_import, division, print_function import sys import threading import time from timeit import default_timer from ..callbacks import Callback from ..utils import ignoring def format_time(t): """Format seconds into a human readable form. >>> format_time(10.4) '10.4s' >>>...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
69f8539cd9c2a5ff7d1f58e302cc31eda63563b1
73b8aba05ee1424f38a8598a9f1305185588075f
/0x0B-python-input_output/9-student.py
47edce80a94d4ef2c2595c7c27eabbf247e1dbce
[]
no_license
nicolasportela/holbertonschool-higher_level_programming
0d176c0e56f4f703c1e9a98b430fc6120f22f675
e1537b81f21118456e5cfa0e4ed89520b232adb6
refs/heads/master
2023-04-20T21:30:22.693434
2021-05-13T01:47:30
2021-05-13T01:47:30
319,397,633
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
#!/usr/bin/python3 """this module writes a class named Student""" class Student: """class creation""" def __init__(self, first_name, last_name, age): """instantiation""" self.first_name = first_name self.last_name = last_name self.age = age def to_json(self): """...
[ "2103@holbertonschool.com" ]
2103@holbertonschool.com
6d9800cf9a9495c4a42c8fe5a5a58a07ce058822
13b14c9c75143bf2eda87cb4a41006a52dd6f02b
/AOJ/ITP1_3_B/ITP1_3_B.py
93ea6cff7ce0266ca8344cacfb468e3abaddbee7
[]
no_license
yutaka-watanobe/problem-solving
2c311ac856c79c20aef631938140118eb3bc3835
f0b92125494fbd3c8d203989ec9fef53f52ad4b4
refs/heads/master
2021-06-03T12:58:39.881107
2020-12-16T14:34:16
2020-12-16T14:34:16
94,963,754
0
1
null
null
null
null
UTF-8
Python
false
false
104
py
i = 1 while True: x = int(input()) if x == 0: break print(f"Case {i}: {x}") i += 1
[ "y.watanobe@gmail.com" ]
y.watanobe@gmail.com
7245421fc62c4bc78c583bb78c878771fd612113
2626f6e6803c8c4341d01f57228a0fe117e3680b
/students/alexLaws/lesson06/Calculator/unit-test.py
4aabc968ccbaa596943a18f7b0d8b90f8d88ec8d
[]
no_license
kmsnyde/SP_Online_Course2_2018
9e59362da253cdec558e1c2f39221c174d6216f3
7fe8635b47d4792a8575e589797260ad0a2b027e
refs/heads/master
2020-03-19T17:15:03.945523
2018-09-05T22:28:55
2018-09-05T22:28:55
136,750,231
0
0
null
2018-06-09T19:01:52
2018-06-09T19:01:51
null
UTF-8
Python
false
false
2,831
py
from unittest import TestCase from unittest.mock import MagicMock from calculator.adder import Adder from calculator.subtracter import Subtracter from calculator.multiplier import Multiplier from calculator.divider import Divider from calculator.calculator import Calculator from calculator.exceptions import In...
[ "kmsnyder2@verizon.net" ]
kmsnyder2@verizon.net
e3402ab9f154e153963567c7195d6764d66c8b2b
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_6377668744314880_0/Python/hero777/15_3_1s.py
6a14e7f31677be4fe6912de46c33060887d121b9
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
962
py
f = open('a.txt','r') f0 = open('output.txt','w') a0 = [int(x) for x in f.readline().split()] for index in range (0,a0[0]): x, = [int(x) for x in f.readline().split()] f0.write('Case #') f0.write(str(index+1)) f0.write(': ') f0.write('\n') x1 = [1]*x y1 = [1]*x for index2 in range (0,x): x1[index2], y1[index2...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
78136ab0a5146745ae8d5ba53635c748b109beda
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00002/s705893489.py
07943c2872474d02f692c0b66ec4f7740cc08380
[]
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
138
py
while 1: try: a,b = map(int, raw_input().split()) n = a+b print len(str(n)) except EOFError: break
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cefd0697efe5cc2ff06a3562f310f1133c9a5da1
a9e81c87022fdde86d47a4ec1e74791da8aa0e30
/python-learning/libraries/pyqt5/base/animation/qeasingcurve-demo.py
13c911e44108f0f823b9d5eab00fd31546f00ef0
[ "Apache-2.0" ]
permissive
ymli1997/deeplearning-notes
c5c6926431b7efc1c6823d85e3eb470f3c986494
f2317d80cd998305814f988e5000241797205b63
refs/heads/master
2020-07-29T11:15:43.689307
2018-05-05T10:58:18
2018-05-05T10:58:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
# -*- coding: utf-8 -*- ''' 属性控件 ''' from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * import sys class Form(QMainWindow): def __init__(self,parent=None): super().__init__(parent) centerWidget = QWidget() layout = QHBoxLayout() # 添加控件代码 ...
[ "kkoolerter@gmail.com" ]
kkoolerter@gmail.com
508ba6f49b063a1b8f7951ed21108506687749d2
b8e9dd6fd8f8b691cba5a3af2388467bcf6c90bb
/samples/openapi3/client/petstore/python-experimental/petstore_api/model/class_model.pyi
c26397416a52ea3ee2cb8504d252698b9b42857c
[ "Apache-2.0" ]
permissive
FallenRiteMonk/openapi-generator
f8b98940219eecf14dc76dced4b0fbd394522aa3
b6576d11733ecad6fa4a0a616e1a06d502a771b7
refs/heads/master
2023-03-16T05:23:36.501909
2022-09-02T01:46:56
2022-09-02T01:46:56
164,609,299
0
0
Apache-2.0
2019-01-08T09:08:56
2019-01-08T09:08:56
null
UTF-8
Python
false
false
2,550
pyi
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "noreply@github.com" ]
FallenRiteMonk.noreply@github.com
b3979984927341a8b493352e08d0e64e426032ae
6ce856e7693c003a85f0e23a239907a87ecb7c89
/cms/coltrane/models.py
1b0f837e8209bb9eb3d22d369e6e0b5301f4886f
[]
no_license
wherby/DJango
4776f0b92b69124be2d213f640fc12e5409f0ee2
2545fe7b908e5ef4f6aef2ecca78da77f4d7ccd0
refs/heads/master
2018-12-28T13:45:58.851730
2014-06-28T18:40:01
2014-06-28T18:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,484
py
import datetime from django.db import models from django.contrib.auth.models import User from tagging.fields import TagField from markdown import markdown class Category(models.Model): title = models.CharField(max_length=250,help_text='Maximum 250 characters.') slug = models.SlugField(unique=True,help_text="S...
[ "187225577@qq.com" ]
187225577@qq.com
1e29a61d5f946cf138297066af08bcfa6884588c
5e51625b5885f23a10213b373d46900eefd3312c
/torch_sparse/__init__.py
a4b3a38565aca774eb9ed9c0d1e43047d7d096d2
[ "MIT" ]
permissive
ducptruong/pytorch_sparse
a84c7c8892dfce8a1c7e0048d1a83bea314bd1c1
46dac04fd29a9585ed67afe28eaa4c667eabf9e3
refs/heads/master
2023-02-19T06:17:50.252560
2021-01-19T11:21:52
2021-01-19T11:21:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
import importlib import os.path as osp import torch __version__ = '0.6.8' for library in [ '_version', '_convert', '_diag', '_spmm', '_spspmm', '_metis', '_rw', '_saint', '_sample', '_relabel' ]: torch.ops.load_library(importlib.machinery.PathFinder().find_spec( library, [osp.dirname(__fi...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
42e36441f9c8ab50c600301228606c0c46780f54
60e7738d90ea7151a790a73285382b0c77799262
/p3/Lib/site-packages/tensorflow/contrib/tpu/profiler/tpu_profiler_pb2.py
bd58b52866b4ab67c06b167cf58b54e6297c13c3
[ "MIT" ]
permissive
fpark7/Native2Native
251b3c08af16bbbc4d077840f66aea7acdacc002
1bc3390770ddafbba2e2779ba91998643df6d9ec
refs/heads/master
2021-04-18T21:27:41.378371
2018-03-27T02:47:51
2018-03-27T02:47:51
126,620,375
1
2
MIT
2021-03-19T22:50:00
2018-03-24T16:52:28
Python
UTF-8
Python
false
true
10,839
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: tensorflow/contrib/tpu/profiler/tpu_profiler.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google...
[ "felix.park03@gmail.com" ]
felix.park03@gmail.com
3c6d3a7309e480edacabe02dab04a8023d9c7a66
2979f5687b5d34b4885f41062b9b901eee217771
/meiduo_mall/wc.py
0dd52ff1ef1cfb39d00f4f75909f501865f38886
[]
no_license
PierreCastor18/meiduo_mall
d9aa15fa4ec0957f079763a7eb7d2bea5c6aa765
8de99e6d232f24cdc8be947ccda8ed536597ec94
refs/heads/master
2020-04-17T03:08:30.405499
2019-02-25T07:27:11
2019-02-25T07:27:11
166,168,502
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# _*_ coding: utf-8 _*_ __author__ = '其实很简单' __date__ = '19-1-29 下午8:53' # 类装饰器 class logger(object): def __init__(self, func): self.func = func def __call__(self, *args, **kwargs): print('[INFO]: the function {func}() is running...'.format(func=self.func.__name__)) return self.func(*...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
8ac7a93c8efec3f919c47f1252986d33592d05af
a8769709aeb7299fa3757f0e7bba5c617eb8cfe3
/lesson-3/k8s/lib/python2.7/site-packages/kubernetes/client/models/v1_volume_node_affinity.py
1679a08b6ffd499a1bbd967aeb3fa5ae2910d3e8
[ "Apache-2.0" ]
permissive
simox-83/workshop-k8s
2ac5e8b282bb7c3337acc726a7d972717bf649cc
04cb18e8b5925a3cfd84ca316952a6cb64960b31
refs/heads/master
2020-03-31T20:52:21.421995
2018-10-11T14:43:08
2018-10-11T14:43:08
152,558,678
0
0
Apache-2.0
2018-10-11T08:37:20
2018-10-11T08:37:20
null
UTF-8
Python
false
false
3,247
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.11.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "simone.dandreta@concur.com" ]
simone.dandreta@concur.com
44924e9a5021295d2b49049fca70b2b8f8d2d91a
a0529a92f73c951bacfe69cc058c53394a9685d4
/bingads/v12/bulk/entities/ad_extensions/bulk_action_ad_extensions.py
2f884206ed01e4fa360a57370ec5cf9ec8ceac4a
[ "MIT" ]
permissive
joseftf/BingAds-Python-SDK
06eda7d23e3141c9fcaee39a3424cf8317d472ed
205ebf9bdd9701d5d05c5f9ac59702083754f553
refs/heads/master
2020-04-29T16:41:06.392989
2019-02-17T23:16:17
2019-02-17T23:16:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,825
py
from bingads.v12.internal.bulk.mappings import _SimpleBulkMapping from bingads.v12.internal.bulk.string_table import _StringTable from bingads.service_client import _CAMPAIGN_OBJECT_FACTORY_V12 from .common import _BulkAdExtensionBase from .common import _BulkAdGroupAdExtensionAssociation from .common import _BulkCamp...
[ "qitia@microsoft.com" ]
qitia@microsoft.com
33be986bba891a0a1751bb25973dd5564f906a7a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2850/60691/295113.py
2dc388fb247c3a9fc4edd3c03a2977e028026556
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
873
py
def countone(l): count = 0 for i in range(len(l)): if l[i] == 1: count += 1 return count def convert(l, start, k): for i in range(start, start+k): if l[i] == 0: l[i] = 1 else: l[i] = 0 return countone(l) def reverse(s, k): num = [] ...
[ "1069583789@qq.com" ]
1069583789@qq.com
1f2a9f12b8e5de8db05890b9ce735d679dd4f163
52b5773617a1b972a905de4d692540d26ff74926
/.history/binaryTree2_20200617161514.py
bafbac4ed0817fa72ac432e3542d2c469ac9291f
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
# Create a node and assign a value to the node # A tree node contains data then pointer to left child and pointer to right child class Node: def __init__(self,data): # designate one node as root self.data = data # then the two others as child nodes self.left = None self....
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
6938bb062f1e075b98f9af371123bfd4137ec234
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2021_06_01_preview/aio/_configuration.py
da6ab06618bea61e3ca4a9404926ddd3eacad877
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
3,336
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" ]
catchsrinivas.noreply@github.com
c6386ec80ef31a7ea69b2b6b7ac82d1d28f0976f
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_prefixes_operations.py
9ea8a2ed3ce9e6c19bf905dc237500891e5a53ed
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
27,401
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" ]
catchsrinivas.noreply@github.com
07fadb59835412186c216ed94671aaf72d7c9b8e
e8b291e05b200832b2f3e1a94ab66c225883cc98
/authentication/serializers.py
f791f7b68bca3c452d3326955e4c4c4f61d04c45
[]
no_license
Ramesh7128/emailwatch
ffaa22cd712dede2b68b10c3cfd58675a2c9e379
bf150d1587c7874019f753da5d19dfd2636fb540
refs/heads/master
2023-01-09T10:23:15.354834
2019-04-24T11:40:40
2019-04-24T11:40:40
180,546,082
0
0
null
2023-01-04T15:08:03
2019-04-10T09:16:03
JavaScript
UTF-8
Python
false
false
3,505
py
from rest_framework import serializers from authentication.models import User from django.contrib.auth import authenticate class SocialRegisterationLoginSerializer(serializers.Serializer): """ Seraializer for reqisteration/login a new user. """ access_token = serializers.CharField( allow_blan...
[ "ramesh7128@gmail.com" ]
ramesh7128@gmail.com
6838f5d83e2e305daf8e7e1d283c3de9d6b2e773
69698589b1962608cb0fa6099aeafd8eb263ddc4
/降维/PCA降维/利用PCA对半导体制造数据降维.py
955d949e1f9fee3aaf7eb119ffd801bcb70b0f37
[]
no_license
haibiyu/Machine-Learning-Action
de7e18aeb31c48340566d1ab4550d4864094b409
3ff16b6881393c1230f5c06dba632651e5d444e0
refs/heads/master
2022-07-01T13:47:15.923282
2020-05-11T09:49:44
2020-05-11T09:49:44
259,905,572
0
0
null
null
null
null
UTF-8
Python
false
false
3,464
py
# !/usr/bin/env python # -*-coding:utf-8 -*- """ # File : 利用PCA对半导体制造数据降维.py # Time :2020/3/14 21:45 # Author :haibiyu # version :python 3.6 # Description: """ import numpy as np import matplotlib.pyplot as plt import matplotlib matplotlib.rcParams['font.sans-serif'] = [u'SimHei'] matplotlib.rc...
[ "haibiyu@163.com" ]
haibiyu@163.com
45911d2107f8a058ae9e21da641dce20f9ebbfc4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03478/s738324430.py
8d0f54df40a8cd3400f6e4a4451aea2c0ae3acda
[]
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
264
py
def calc_sum_digits(n): sumdigit = 0 while n > 0: sumdigit += n % 10 n //= 10 return sumdigit N, A, B = map(int, input().split()) result = 0 for n in range(1, N+1): if A <= calc_sum_digits(n) <= B: result += n print(result)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6c9ffa106c3d482bebc5f45b5ab810671a452d45
70fec09ceb625608d561937955c285c0c39f6d95
/tomodachi/helpers/logging.py
6f70f688795efb29e251f11cf8b1df6ce6a5f8f4
[ "MIT" ]
permissive
kalaspuff/tomodachi
b285e2c73696d14e3c84a479745e00824fba7190
deca849ec2b4cdc3d27f06e9ce0056fac0146a1a
refs/heads/master
2023-08-31T00:32:12.042486
2023-08-21T13:02:24
2023-08-21T13:02:24
62,165,703
191
28
MIT
2023-09-11T23:32:51
2016-06-28T18:43:51
Python
UTF-8
Python
false
false
1,787
py
from typing import Any from tomodachi import context, logging def log(service: Any, *args: Any, **kwargs: Any) -> None: name: str = context("service.logger") or "" level = None message = None if len(args) == 1: message = args[0] if len(args) == 2: if type(args[0]) is int: ...
[ "hello@carloscar.com" ]
hello@carloscar.com
efc6859534ba9f8e3297cf25b6bbc2abcabe1ed2
3c59b7bde01cfbc1fbd170883393e8ebf7a0a92f
/프로그래머스/최댓값과 최솟값.py
8196eba33a44dc86ee4bf59bb4683942a9de6c80
[]
no_license
gf234/python_problem_solving
93ae00d940091131d8f8b06e478e385e4c2a4503
4c95751f5a687215c14bf61c37e6dc2e7e752342
refs/heads/main
2023-05-10T07:28:12.351006
2021-06-14T04:59:33
2021-06-14T04:59:33
314,479,583
1
0
null
null
null
null
UTF-8
Python
false
false
115
py
def solution(s): nums = list(map(int, s.split())) nums.sort() return str(nums[0]) + ' ' + str(nums[-1])
[ "gf265@naver.com" ]
gf265@naver.com
2d3beeff7f88a9ebdfa69239ba98dea009416491
49c174fa2363461bbefd07af08f2d62b2d12b591
/robots/LoCoBot/locobot_calibration/scripts/artag_camera.py
84c6517cf003f248e2a81c48df3d658a9cf2e2d7
[ "MIT" ]
permissive
Improbable-AI/pyrobot
452f68ca503fb4aff247d6166cff8914471fa9d8
326b49057421ae7d5feefdca93b580846aaef730
refs/heads/master
2022-07-07T20:58:23.358744
2022-04-01T22:02:39
2022-04-01T22:02:39
221,547,610
1
2
MIT
2022-04-04T20:24:45
2019-11-13T20:41:11
Python
UTF-8
Python
false
false
895
py
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import threading import rospy import copy from ar_track_alvar_msgs.msg import AlvarMarkers ROSTOPIC_AR_POSE_MARKER = '/ar_pose_marker' class...
[ "kalyan051993@gmail.com" ]
kalyan051993@gmail.com
29c085f9787e37d6f79717df659b17a72d8ec18d
13b5372316dd8a47c7dfe9abf43839f4bc61ba9d
/mysite/settings.py
ec1a2a6092dbf30e5285c63b399ab1e61cf1bc62
[]
no_license
YaCpotato/Django-RFID-register-API
6b7db5a07ca0ac182645ac47436aed37006e7ac3
a36e680ccdf8f80d5d9c21c5ab6d5cae0547c74a
refs/heads/master
2020-08-05T18:00:56.197117
2019-10-07T16:34:04
2019-10-07T16:34:04
212,646,277
0
0
null
null
null
null
UTF-8
Python
false
false
3,221
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "yasshisshy@gmail.com" ]
yasshisshy@gmail.com
1703fd234063fecf90463ba8e557062e7b98db89
a560ad8d5f523b720b47f0be27c2fdba232a3a4b
/src/configuration/config_p.py
f44293b7d749ac53b0ed151d187db84a655dd68f
[ "MIT" ]
permissive
vollov/py-lab
a27cb422e5a4ac44d4364c89e98202207cd2a1d5
0a1a3c93c5decaa5246fab981bcc2563cc42c6d0
refs/heads/master
2021-06-01T13:25:51.829046
2021-01-23T16:39:08
2021-01-23T16:39:08
33,277,424
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
import ConfigParser,ast,os class configp(): def __init__(self): current_directory = os.path.dirname(os.path.abspath(__file__)) self._config_file_path = os.path.join(current_directory, 'conf.ini') self.config = ConfigParser.ConfigParser() self.config.read(self._config_file_path) ...
[ "dike.zhang@gmail.com" ]
dike.zhang@gmail.com
9db0cafb8a56ca93e6c9a4097abf460afe3f71e3
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/authorization/v20150701/_inputs.py
3caabfd0cd01b9038f1146d2ea779d3cf6007169
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
3,337
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
92248a35db9e68515e4e085e21c1b7010262f4c0
7daab7f2e91d62ba0383fa050f3dea1dc9752975
/iniciante/1066_pares_impares_positivos_e_negativos.py
8b84148a9a7da0955c6dade7d456691e2be198db
[]
no_license
luandadantas/URI-Python
97ccdaa3835b2d2fa403f148969ca7e893d3f119
2cb67f39725b20e6fcbbeaf27d04c4ba05dba665
refs/heads/master
2022-12-04T02:51:14.374361
2020-08-14T17:59:58
2020-08-14T17:59:58
255,736,816
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
valor1 = int(input()) valor2 = int(input()) valor3 = int(input()) valor4 = int(input()) valor5 = int(input()) positivos = 0 negativos = 0 pares = 0 impares = 0 for valor in [valor1, valor2, valor3, valor4, valor5]: if valor > 0: positivos += 1 if valor < 0: negativos += 1 if valor % 2 == 0...
[ "ludanttas@gmail.com" ]
ludanttas@gmail.com
862d8a3ca39f798075f14ad549a35b883b69cf4e
fd1a6a8c27f3f7d91a1fa4a4914181f8ae0fd795
/易中标js破解(中低)/yibiaoparse.py
4b09382fa0e618bbb5b3f816d47e55860309f0a7
[]
no_license
heyanglin/js-
078fdaa7892dbe8a94d2965e3fd700c205e7a8ee
8c0b36b2df9c942f0c590c21e6696ab75de2a3a0
refs/heads/master
2020-07-05T14:24:56.565195
2019-12-19T04:26:51
2019-12-19T04:26:51
202,672,163
3
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # author:Administrator # datetime:2019/6/19 10:57 # software: PyCharm import execjs import requests import json import os,io os.environ["EXECJS_RUNTIME"] = "Node" #生成js运行文件 with open('2.js','r') as f: jss = f.read() # print(jss) fun = execjs.compile(jss) page= """{"typ...
[ "someone@someplace.com" ]
someone@someplace.com
903350f5c6ddd7650a4bd924a792990d0418aa25
7c06ff01f631cac78aa7c47f2af8237d140eab72
/maa/atlas/export_predictor_website.py
1324995579209c7185c1d193b17d4575ecfc0531
[ "MIT" ]
permissive
iosonofabio/maa
563df2e61ee23b128e20c60740761a0a75706ea4
072892e1cb7b8e48e9ffc335d57d508bf1362f7e
refs/heads/master
2020-03-30T15:06:15.457548
2018-10-02T23:51:27
2018-10-02T23:51:27
151,348,294
0
0
null
null
null
null
UTF-8
Python
false
false
12,780
py
# vim: fdm=indent ''' author: Fabio Zanini date: 22/11/17 content: Merge scattering and antibody-based predictors. ''' # Modules import os import sys import argparse import yaml import numpy as np import pandas as pd from scipy.stats import spearmanr from sklearn.externals import joblib import json import...
[ "fabio.zanini@fastmail.fm" ]
fabio.zanini@fastmail.fm
3a8a6742d44c4a2169d12e211ea01c4f92cca229
b805f0f0eed9c93ff564a719cb18de438a8572ee
/src/products/admin.py
f9f9c6aaa871a922d2ae3b74863216b0c40574a6
[ "MIT" ]
permissive
pratikbarjatya/ecommerce
1a3caae355d4dd06b4044fcce2d3fb48eae76034
e18ba50c33c4b8f96c57785027f30b396104c47c
refs/heads/master
2021-01-20T01:43:50.564162
2015-10-25T17:31:28
2015-10-25T17:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from django.contrib import admin # Register your models here. from .models import Product,Variation,ProductImage,Category,ProductFeatured class ProductImageInline(admin.TabularInline): model=ProductImage extra=0 class VariationInline(admin.TabularInline): model=Variation extra=0 class ProductAdmin(admin.ModelA...
[ "abhijit.bangera@hotmail.com" ]
abhijit.bangera@hotmail.com
54b743456bd539834a2e5a137f35074640f31bd5
65a32b8a8a97c126843d2cfe79c43193ac2abc23
/chapter3/list_split_exp.py
97e41a94feed3cc9fc786adf2cf57f9a28e98b3b
[]
no_license
zhuyuedlut/advanced_programming
9af2d6144e247168e492ddfb9af5d4a5667227c4
a6e0456dd0b216b96829b5c3cef11df706525867
refs/heads/master
2023-03-19T09:21:31.234000
2020-10-09T13:09:38
2020-10-09T13:09:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
num_list = [1, 3, 5, 7, 9] head, *rest = num_list print(f'head is:{head}, rest list is:{rest}')
[ "root@lyzdeMacBook.local" ]
root@lyzdeMacBook.local
769e7d2055b1f12f280a29e7ebdd5b927ab628f7
99ed69aafb483b126f13fb8f0f5b31ad42e9829d
/pictures/urls.py
19bb0699b4eb77e54dc18cb184126955f3e0af81
[ "MIT" ]
permissive
Jackson-coder-arch/Instagram-pics
3aba5da42a7cf8486651f91410364d1eafbcb722
9b4332d9f3144c4f655a0bf1313f0c4ef9481c4f
refs/heads/master
2023-03-28T12:17:24.767827
2021-04-03T23:15:18
2021-04-03T23:15:18
351,892,988
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.urls import path,re_path from . import views urlpatterns = [ path('',views.home, name = 'home'), path('NewPost/',views.NewPost, name ='NewPost'), path('profile/',views.profile,name ='profile') ]
[ "jacksonikonya@gmail.com" ]
jacksonikonya@gmail.com
205155f6e5a48bf727a20d8fc592fec3365e0554
3be42b83a15d022f5863c96ec26e21bac0f7c27e
/spinoffs/oryx/oryx/experimental/__init__.py
2364b4ee11a23f4fefa3f7fd65193a83401b1011
[ "Apache-2.0" ]
permissive
ogrisel/probability
846f5c13cddee5cf167b215e651b7479003f15d2
8f67456798615f9bf60ced2ce6db5d3dba3515fe
refs/heads/master
2022-11-09T10:53:23.000918
2020-07-01T23:16:03
2020-07-01T23:17:25
276,580,359
2
1
Apache-2.0
2020-07-02T07:37:58
2020-07-02T07:37:57
null
UTF-8
Python
false
false
852
py
# Copyright 2020 The TensorFlow Probability 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 applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
4fa176b40ebe223d94a0b8fd292d2a84b55ae1d8
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/grr/grr/core/grr_response_core/lib/parsers/cron_file_parser_test.py
f2c76e65b62e96e7ef20d6f26c6135a88e905aed
[ "Apache-2.0", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
1,306
py
#!/usr/bin/env python """Tests for grr.parsers.cron_file_parser.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals import os from absl import app from grr_response_core.lib.parsers import cron_file_parser from grr_response_core.lib.rdfvalues import pat...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
6eb47e6751955fabbe37ab1d26ad336f8bf3ec86
97def1949bca845f40a2fb99fe7496e698f51764
/examples/doc/samples/comparisons/cutstock/cutstock_lpsolve.py
a0a1c6de6dfd1616b7b64c59d7e7a5bf8f49ec6f
[ "BSD-3-Clause" ]
permissive
flexciton/pyomo
e009e5d300d27d943408a1ee5e0e1770d772a7fe
817bebc9c10f527263b2b8402fb1c038f1b37cf1
refs/heads/master
2023-03-03T08:56:22.922613
2022-01-18T15:22:57
2022-01-18T15:22:57
241,679,253
1
1
NOASSERTION
2022-04-11T16:48:48
2020-02-19T17:24:37
Python
UTF-8
Python
false
false
2,072
py
from lpsolve55 import * from cutstock_util import* # Reading in Data using the cutstock_util cutcount = getCutCount() patcount = getPatCount() Cuts = getCuts() Patterns = getPatterns() PriceSheet = getPriceSheetData() SheetsAvail = getSheetsAvail() CutDemand = getCutDemand() CutsInPattern = getCutsInPattern() ########...
[ "jsiirola@users.noreply.github.com" ]
jsiirola@users.noreply.github.com
f4f8430fa2204442f6554319fdea560177296146
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Skimage_numpy/source/scipy/stats/_binned_statistic.py
d64c7bb3204ffb6013ae91c4e0a4c4e35a6a648f
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
25,272
py
from __future__ import division, print_function, absolute_import import warnings import numpy as np from scipy._lib.six import callable, xrange from collections import namedtuple __all__ = ['binned_statistic', 'binned_statistic_2d', 'binned_statistic_dd'] BinnedStatisticResult = namedtuple('B...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
0d3c21ced8d3db5eb9c906ef396294c167eaaf60
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2022_04_30_preview/models/_models_py3.py
00a1e91a26c71ae9cd2636d7d9e0f6bdfffab148
[ "LicenseRef-scancode-generic-cla", "MIT", "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
185,659
py
# coding=utf-8 # pylint: disable=too-many-lines # -------------------------------------------------------------------------- # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
73f4edde57e72fa7e63e4a92f229752ca1fc8510
2ebdbbf06978fd60f47933cfffd37a5a5460ee31
/Sect-A/source/sect07_class/s722_init_class.py
a5713295190ad89f453cb5131794fdb540b71b11
[]
no_license
lukejskim/sba19-seoulit
f55dd6279d44a7a235a9fa6c008c7f65045c9d0c
7652c2b718cb8f7efaeca7c2bdf7a5e699bccbce
refs/heads/master
2020-07-02T22:21:20.393202
2019-09-19T03:03:48
2019-09-19T03:03:48
201,684,313
1
0
null
null
null
null
UTF-8
Python
false
false
364
py
# 클래스 초기화 함수, __init__() 재정의 class MyClass: def __init__(self, name): # 초기화 함수 재정의 self.name = name def sayHello(self): hello = "Hello, " + self.name + "\t It's Good day !" print(hello) # 객체 생성, 인스턴스화 # myClass = MyClass() myClass = MyClass('채영') myClass.sayHello()
[ "bluenine52@gmail.com" ]
bluenine52@gmail.com
e1c8c6814ceb6e0868c93e4d592affaaddbf37ca
648861586610635c3ce32241384d3056d311ac2e
/imagepy/core/app/imagej.py
39cc75c0d84cbc431f3e8190c658bd7ca9dc1e34
[ "BSD-2-Clause" ]
permissive
bigleftgo/imagepy
80e55386a8f93324d48ccfe5a95d92229af72cbd
a3a30205ba99eb27884cea0ae4d54b60d4efa829
refs/heads/master
2020-09-01T15:21:42.080485
2020-06-25T01:35:55
2020-06-25T01:35:55
218,992,134
1
0
NOASSERTION
2019-11-01T13:38:19
2019-11-01T13:38:19
null
UTF-8
Python
false
false
20,147
py
import wx, os, sys import time, threading sys.path.append('../../../') import wx.lib.agw.aui as aui from sciwx.widgets import MenuBar, ToolBar, ChoiceBook, ParaDialog, WorkFlowPanel from sciwx.canvas import CanvasFrame from sciwx.widgets import ProgressBar from sciwx.grid import GridFrame from sciwx.mesh import Canvas3...
[ "imagepy@sina.com" ]
imagepy@sina.com
0be0ac7c19336cdca2defea65d64f98699597172
d5cc0c9f8d94e9d020b3e50c0a125d2041dd3baa
/AttendifySite(Flask)/env/lib/python3.6/site-packages/turicreate/data_structures/sarray_builder.py
001e211365f0220b1925c0e5a6334dd1fb301ca3
[ "MIT" ]
permissive
arnavgup/Attendify_iOS
be896579de4560cff36a4b163384d0eeabbb7dd9
c2efc3273a7b99c09d918567718ac87d7f0179d8
refs/heads/master
2022-10-31T13:16:11.081902
2018-12-09T00:11:42
2018-12-09T00:11:42
158,432,022
3
2
MIT
2022-10-10T10:53:53
2018-11-20T18:10:16
Swift
UTF-8
Python
false
false
4,372
py
# -*- coding: utf-8 -*- # Copyright © 2017 Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can # be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause ''' An interface for creating an SArray over time. ''' from __future__ import print_...
[ "gyao@andrew.cmu.edu" ]
gyao@andrew.cmu.edu
bbe13c6fc51db82a0f3ec393b683be87f37be48d
e217f190b316071ca83892c9e25385d69f5bb22f
/pytext/config/serialize.py
7dedb7a3f92de998db748a2ab23a4ffd2a0615f2
[ "BSD-3-Clause" ]
permissive
VonRosenchild/pytext
49bb2ef3fce3f23ac66b7dd061f133fd4f49e618
97f0d503a354a536bbd9ef8913bed5155d3801de
refs/heads/master
2020-06-29T09:30:14.583895
2019-08-03T01:09:20
2019-08-03T01:12:29
200,499,490
1
1
NOASSERTION
2019-08-04T13:58:53
2019-08-04T13:58:52
null
UTF-8
Python
false
false
9,106
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from enum import Enum from typing import Dict, List, Tuple, Union from .component import Registry from .config_adapter import upgrade_to_latest from .pytext_config import PyTextConfig class ConfigParseError(Exception): ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a7906bf87088132f1a08cef90dff1ea329cfa1ed
c849b2d67cb4906d8ba8ea45aa7fce2170bbb46f
/sources/Tosafot Yom Tov/tosafot_yom_tov_on_tahorot.py
c8e933c838128950a497e2bc67e91ec41efe6186
[]
no_license
BenjaminKozuch/Sefaria-Data
8d7452ab7efc95f09ca44e658ee8df1ab2ca84a3
f154d79ed20f907aff8880c684536c22f970a8a5
refs/heads/master
2020-05-29T11:04:35.975262
2016-04-05T03:00:26
2016-04-05T03:00:26
54,200,952
0
0
null
2016-03-18T12:53:54
2016-03-18T12:53:54
null
UTF-8
Python
false
false
1,840
py
# -*- coding: utf-8 -*- import urllib import urllib2 from urllib2 import URLError, HTTPError import json import pdb import os import sys p = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, p) os.environ['DJANGO_SETTINGS_MODULE'] = "sefaria.settings" from local_settings import * sys.path...
[ "skaplan@brandeis.edu" ]
skaplan@brandeis.edu
3927ef4df50ddce90f329d071647ae915d3e27ae
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2017/07/millennial-vote-20170731/graphic_config.py
94b1323068174ac14ed698e7140ffa728e464d7e
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '17ZezeFdg7cYvdo04pV89-AcyMkSSsM_V27_4R2ykne4' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
ea9de5a0f9467ec173e776c67c0e3726fbc4e972
725ce8167897de0ffd42b97b7aefff43686b0d33
/barbados/caches/tablescan.py
cf8c65e77e36b7438733656b6ae9e607decfbee9
[]
no_license
vinceblake/barbados
a510424f82d77066b9b6fa0e1d4641cbbeb5f138
28b6c691e5c8150f51b8ee57a99239232b1417ef
refs/heads/master
2023-02-15T07:54:47.381960
2021-01-13T02:51:49
2021-01-13T02:51:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
import json from barbados.caches import Caches from barbados.caches.base import CacheBase from barbados.services.registry import Registry from barbados.services.cache import Cache from barbados.serializers import ObjectSerializer from barbados.models.cocktailmodel import CocktailModel from barbados.models.inventorymod...
[ "grant@grantcohoe.com" ]
grant@grantcohoe.com
d12fe4bd8d208fa142710b1ec665c2531c3f9215
8d67a78a26b455aaeb3bfa5e38de8460e2719437
/keras/autoencoder/pt4/conv_2.py
d61f122987aa83364e72106a0fd73e26a0bd7a60
[]
no_license
crvogt/functions_test
bfb5ebf87c86f61f31ad1a9e8fb8c0333385c582
bce390a68c6caa91d29a23f97edd2ae547d385bc
refs/heads/master
2023-03-11T10:21:10.013486
2023-02-18T05:44:21
2023-02-18T05:44:21
27,519,512
0
0
null
null
null
null
UTF-8
Python
false
false
8,649
py
''' fit_generator ultimately calls train_on_batch which allows for x to be a dictionary. Also, it could be a list, in which casex is expected to map 1:1 to the inputs defined in Model(input=[in1, ...], ...) Note that x could also be a list (one input array per input). Both are allowed. ''' import keras from kera...
[ "crvogt26@gmail.com" ]
crvogt26@gmail.com
2aef79885420e7847ba448d8f8a082511c15a162
4c852fab792606580acb3f3a61b7f86ae25930b0
/Python/MIT-CompThinking/MITx600.1x/ProblemSets/theof/printing out all available letters.py
dd1d06b519f64693fb90a40e66cecf0d0e339e61
[]
no_license
hmchen47/Programming
a9767a78a35c0844a1366391f48b205ff1588591
9637e586eee5c3c751c96bfc5bc1d098ea5b331c
refs/heads/master
2022-05-01T01:57:46.573136
2021-08-09T04:29:40
2021-08-09T04:29:40
118,053,509
2
1
null
2021-09-20T19:54:02
2018-01-19T00:06:04
Python
UTF-8
Python
false
false
650
py
#!/usr/bin/env python # _*_ coding = UTF-8 _*_ def getAvailableLetters(lettersGuessed): ''' lettersGuessed: list, what letters have been guessed so far returns: string, comprised of letters that represents what letters have not yet been guessed. ''' # FILL IN YOUR CODE HERE... L2 = [] ...
[ "h.m.chen@ieee.org" ]
h.m.chen@ieee.org