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
6154342fc0113cf418bd1a3e0e8675cdd534c392
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/game_control/gamesessioncontroller.py
e6b3b179291e17cb4735b453601156de5c775ed3
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
10,201
py
# 2015.11.18 11:52:23 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/game_control/GameSessionController.py import time import sys import operator import BigWorld import Event import account_shared import constants from helpers import time_utils from debug_utils import LOG_DEBUG from gui.shared impo...
[ "info@webium.sk" ]
info@webium.sk
c7bf4e58772807ff3e06b6ad5060ea8d9f25d687
3d193be5bcbc0823c91fdb2504beef631d6da709
/chrome/chrome.gyp
0b2bfa3f83be50ef99e82c4ff03387e899357d87
[ "BSD-3-Clause" ]
permissive
a402539/highweb-webcl-html5spec
7a4285a729fdf98b5eea7c19a288d26d4759d7cc
644216ea0c2db67af15471b42753d76e35082759
refs/heads/master
2020-03-22T14:01:34.091922
2016-04-26T05:06:00
2016-05-03T12:58:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,874
gyp
# Copyright (c) 2012 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. { 'variables': { 'chromium_code': 1, # Define the common dependencies that contain all the actual # Chromium functionality. This list gets...
[ "kimdh@infrawareglobal.com" ]
kimdh@infrawareglobal.com
c09f7a806b89ae8a840a389d85bc26850aef8f86
849e95a72f4f380d6b31573a0a13e9eccd288838
/legal-api/migrations/versions/94586877d4bc.py
04c88f952e263abfab0972cf8bf10c53c5cf1ef3
[ "Apache-2.0" ]
permissive
bcgov/lear
d9b27e2b44ba607ca13878357a62a0623d54ddee
d90f11a7b14411b02c07fe97d2c1fc31cd4a9b32
refs/heads/main
2023-09-01T11:26:11.058427
2023-08-31T20:25:24
2023-08-31T20:25:24
168,396,249
13
117
Apache-2.0
2023-09-14T20:52:02
2019-01-30T18:49:09
Python
UTF-8
Python
false
false
821
py
"""empty message Revision ID: 94586877d4bc Revises: 9147d4bc9939 Create Date: 2022-02-16 06:07:35 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '94586877d4bc' down_revision = '9147d4bc9939' branch_labels = None depend...
[ "noreply@github.com" ]
bcgov.noreply@github.com
d26084ef48b5903eb14a6ff3773fd372563ad97d
960087b76640a24e6bb5eb8a9a0e5aeb6c68917b
/result/predMultiOD_CopyLastWeek_2103291212_log/Param.py
9bd78ebf230c9483fe0cec99b4523a85365b0962
[]
no_license
346644054/ODCRN
e14d0a1f2e2e4a9cb655cdd914b587beeaff37cf
71c11cb1da156ad0809c4352e578a8b0586fdf83
refs/heads/main
2023-06-19T21:32:22.245910
2021-07-20T02:47:59
2021-07-20T02:47:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
import pandas as pd TIMESTEP_IN, TIMESTEP_OUT = 7, 7 HEIGHT = 47 WIDTH = 47 CHANNEL = 1 BATCHSIZE = 4 SPLIT = 0.2 LEARN = 0.0001 EPOCH = 200 PATIENCE = 10 LOSS = 'mse' OPTIMIZER = 'adam' trainRatio = 0.8 # 80 days for training and validation, 20 days for testing. ODPATH = '/data2/cai/OD/japan/aggregate_prov/results/...
[ "jiangrh@csis.u-tokyo.ac.jp" ]
jiangrh@csis.u-tokyo.ac.jp
e7bcd374d7cca34796861f9920e992d7e5639b91
12abe02e205d3e8dabe78fb5a93ccca89e2c42c4
/otp/otpbase/OTPGlobals.py
f375899c856dc24c933d42bc424d355fbfde69c0
[]
no_license
nate97/toontown-src-py3.0
55092b2973b76e6b6d566887f44c52822684394c
f76c515801ae08c40b264b48365211fd44b137eb
refs/heads/master
2022-07-07T05:23:22.071185
2022-06-22T16:36:10
2022-06-22T16:36:10
187,682,471
15
8
null
null
null
null
UTF-8
Python
false
false
10,439
py
from panda3d.core import * QuietZone = 1 UberZone = 2 WallBitmask = BitMask32(1) FloorBitmask = BitMask32(2) CameraBitmask = BitMask32(4) CameraTransparentBitmask = BitMask32(8) SafetyNetBitmask = BitMask32(512) SafetyGateBitmask = BitMask32(1024) GhostBitmask = BitMask32(2048) PathFindingBitmask = BitMask32.bit(29) Pi...
[ "nathanielfuhr@gmail.com" ]
nathanielfuhr@gmail.com
74ae9dcf574f4c0718a0e5731a53eef15f6de6dd
7a570977ac42ea25c61b812bd9fe3a5ea0a9f33b
/_MOM/import_MOM.py
1f754ea54a2607c45751ee2ec944d259d03f1561
[ "BSD-3-Clause" ]
permissive
YanjiaSun/tapyr
6d6f3859abe5c6cf81e12b2319387d02c0d2749f
c261d3e06db1a4fbe0e6535bd97b0134049b3a79
refs/heads/master
2021-05-17T22:22:31.570349
2020-02-09T09:41:12
2020-02-09T09:41:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,062
py
# -*- coding: utf-8 -*- # Copyright (C) 2009-2016 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # This module is part of the package _MOM. # # This module is licensed under the terms...
[ "tanzer@swing.co.at" ]
tanzer@swing.co.at
ea94aad8e58c0c0be710456cc4153f670fc7cbfc
9e1dceda91ed6ecbdf274e90502a9c9b22a4d9d8
/hdlConvertor/toHdlUtils.py
9f43b1b7cc9b9c3362b00761a4c41b9d7811e0f7
[ "BSD-3-Clause", "GPL-3.0-only", "GPL-1.0-or-later", "MIT" ]
permissive
Pear0/hdlConvertor
17fb6f024a48bab3f4ee3786a305c34cf2a2d133
f6a856d2622cef559e2ef28c96cad88ddb50838f
refs/heads/master
2020-07-15T19:15:58.563202
2019-09-01T05:28:46
2019-09-01T05:28:46
205,631,305
0
0
MIT
2019-09-01T05:00:52
2019-09-01T05:00:52
null
UTF-8
Python
false
false
2,078
py
import sys class Indent(): """ indentation context """ def __init__(self, autoIndentStream): self.s = autoIndentStream self.original_indent = None def __enter__(self): s = self.s self.original_indent = s.indent_str s.indent_cnt += 1 s.indent_str = ...
[ "nic30@seznam.cz" ]
nic30@seznam.cz
7803593d92636c46d6594d84c836d4ee607f6e4d
bd194e09aa30ff4414248ae31007b1f6bb521d24
/django_app/snippets/migrations/0002_auto_20170710_0621.py
103311b799d50491d08abc16db0abec3108d1a86
[]
no_license
YunhoJung/drf_tutorial
bdac5e656e43bfc7c41e06897f10a8d0e3acec6f
dae6ac1420b853236d33badb3cdc92237fcbc5eb
refs/heads/master
2020-12-02T07:47:14.674393
2017-07-10T07:26:32
2017-07-10T07:26:32
96,726,886
0
0
null
null
null
null
UTF-8
Python
false
false
11,846
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-10 06:21 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): dependencies = [ migrations.swappable_depende...
[ "saijdu2198@gmail.com" ]
saijdu2198@gmail.com
aa7e6ad4a7cfe5ec56285de4777d6f82132ae53a
58373aa1768d3632f0bdc9c9d6eb1eeac0d76369
/yamtbx/dataproc/xds/command_line/prepare_xds_runs.py
dd30cc779614fdcebf2a78c47441a33fe2cb9b4b
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
keitaroyam/yamtbx
ee3c6e694f3c81277dfaebf7253b159e1f14b413
11b27aaff4920f554b4db76e80d0d832cd23809c
refs/heads/master
2023-07-26T03:42:05.971228
2023-07-12T21:00:51
2023-07-12T21:00:51
46,595,277
18
11
null
null
null
null
UTF-8
Python
false
false
3,663
py
#!/usr/bin/env yamtbx.python """ (c) RIKEN 2015. All rights reserved. Author: Keitaro Yamashita This software is released under the new BSD License; see LICENSE. """ from __future__ import division from __future__ import print_function from __future__ import unicode_literals """ Find data sets, make directories for X...
[ "keitaroyam@users.noreply.github.com" ]
keitaroyam@users.noreply.github.com
55aff3ccb7d45fd470c4d6068a957299bacfeb71
00cd46c5722fbb4623d8cefc33bbce6e4c6bf970
/Two_Pointers/1132.Valid Triangle Number/Solution.py
e823e0ed65a9eabe3e94ccbd2778ab88ea0a03f3
[ "MIT" ]
permissive
jxhangithub/lintcode
9126d0d951cdc69cd5f061799313f1a96ffe5ab8
afd79d790d0a7495d75e6650f80adaa99bd0ff07
refs/heads/master
2022-04-02T22:02:57.515169
2020-02-26T21:32:02
2020-02-26T21:32:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
class Solution: """ @param nums: the given array @return: the number of triplets chosen from the array that can make triangles """ def triangleNumber(self, nums): # Write your code here if not nums or len(nums) == 0: return 0 nums.sort() ans = 0 ...
[ "32248549+Zhenye-Na@users.noreply.github.com" ]
32248549+Zhenye-Na@users.noreply.github.com
68b00c7ec908c0220975cc655f82a6f48eb38e28
772d1ab6a1814e4b6a408ee39865c664563541a6
/lms_app/lms_view/course_view/urls.py
09fbbb67d382635b62d900b9e6f7a553f164b2ad
[]
no_license
omitogunjesufemi/lms
7deed8bf54799034d6af2b379a0c56801f5645cc
9c8bb88556a3f5598cf555623ef016a74ae3f5c7
refs/heads/master
2023-05-04T12:52:13.862572
2021-05-25T13:48:26
2021-05-25T13:48:26
330,643,258
1
0
null
null
null
null
UTF-8
Python
false
false
586
py
from django.urls import path from lms_app.lms_view.course_view import views urlpatterns = [ path('create', views.register_course, name='create_course'), path('edit/<int:course_id>', views.edit_course, name='edit_course'), path('list', views.list_courses, name='list_courses'), path('api/list', views.lis...
[ "omitogunopeyemi@gmail.com" ]
omitogunopeyemi@gmail.com
e1886c60636f33ba48c098c7155b59ddb7792c32
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/3eb253866c82c1fc7c135dffeafe7a82aafd55ba-<cost_complexity_pruning_path>-bug.py
24f8c8898ca01172c32a13e8bda3a1c0252df014
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
def cost_complexity_pruning_path(self, X, y, sample_weight=None): 'Compute the pruning path during Minimal Cost-Complexity Pruning.\n\n See `ref`:minimal_cost_complexity_pruning` for details on the pruning\n process.\n\n Parameters\n ----------\n X : {array-like, sparse matrix} ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
5196941370e3697463ee0bae9b2d71570e00b60a
01ee34b6d9775f0b23029167223bd05b6c59d41a
/tests/test_models/test_city.py
6c258239bfd5271dba17a604e3f990afcf6c0c43
[]
no_license
juansedev/AirBnB_clone
03bf1d787ea1f36d7781ba3592d14aadba886235
1ffd4e4251e8bbc13d574b63097475fecb786bc3
refs/heads/master
2022-11-15T08:21:19.099092
2020-07-13T16:49:42
2020-07-13T16:49:42
278,485,830
0
2
null
null
null
null
UTF-8
Python
false
false
1,825
py
#!/usr/bin/python3 """ This is a test module for City Class""" from models.city import City from models import city import pep8 import unittest import os class TestCity(unittest.TestCase): """Class for test the City class""" def test_docstring(self): """ Method to test doctring module, class and fu...
[ "elnavarro55@gmail.com" ]
elnavarro55@gmail.com
44f09a07efe93ef55a802d05340487f469040c69
8133f13e08e619207bf0ab3e86967f95caf22e8e
/pricelist_by_customer/models/pricelist_by_customer.py
001c3284495ef4ecdae0fd1df2456836e0108374
[]
no_license
trung8358573/liderit8
f4fcc3cc5d87c347bee4f1e3d9b3a349ad0b0dfa
18d8bb548bd0a913ed2483734d59a9f0f482024d
refs/heads/master
2020-06-07T15:37:01.977870
2019-04-13T10:40:00
2019-04-13T10:40:00
193,049,266
0
1
null
2019-06-21T07:09:08
2019-06-21T07:09:08
null
UTF-8
Python
false
false
3,328
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2012 Hugo Santos (<http://factorlibre.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms of th...
[ "mellanoc@gmail.com" ]
mellanoc@gmail.com
1f6fbab9460099fa101bcf92ace191e114d53dee
dae2deea56610239e84213d4de8ff5b183b6b639
/DeepLearningStudy/deeplearnCode/Day2/test.py
2fca566fe22733b91128a628eef6f483f3725102
[]
no_license
852251748/pytorchStudy
f76fbd0529d1197535b0ffe7a6a75d5a64d755eb
3b865c814bf51a1946d628bb75c7cec10fe12590
refs/heads/master
2022-12-05T18:14:00.549552
2020-09-03T06:27:20
2020-09-03T06:27:20
274,569,603
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from torchvision import datasets, transforms import torch data = datasets.CIFAR10("../../day_02\data", train=True, transform=transforms.ToTensor(), download=False) print(data[0][0].shape)
[ "123456789@qq.com" ]
123456789@qq.com
e1c2a584180aff93c0d54eb997d9f5298d4f9796
423ba09a145b3468a322acf4ddf7d2c2446e227d
/atcoder/abc/abc037_b.py
4ff000b9402d83b50165ec02e0bf627f8235e51f
[]
no_license
hirosuzuki/procon
13d3bc332d6e4368fd54fec742b32b09729658ed
533f40e13456542b202905a61814ad926c3c206e
refs/heads/master
2021-05-12T10:42:51.920561
2020-05-20T15:49:05
2020-05-20T15:49:05
117,356,746
0
0
null
2018-01-29T14:46:28
2018-01-13T15:56:40
Python
UTF-8
Python
false
false
204
py
N, Q = [int(_) for _ in input().split()] LRT = [[int(_) for _ in input().split()] for i in range(Q)] result = [0] * N for l, r, t in LRT: result[l-1:r] = [t] * (r - l + 1) print(*result, sep="\n")
[ "hirosuzuki@users.noreply.github.com" ]
hirosuzuki@users.noreply.github.com
9d4e197144a53717920ef31e8fbfb7c4f2b7daf6
f5c2dd5345b4826e824bad560714cf50ce8d57b7
/actor.py
a062f53ce3b7a8e8cbec9b05493f8d6c925f4007
[]
no_license
cloudaice/gevent-test
4fa06ce963ca15b69eedbf0c60216754a6162d91
dc5070588381f078d677ac402cfea8301dbfbf08
refs/heads/master
2020-06-04T18:44:00.217124
2012-09-13T06:06:37
2012-09-13T06:06:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
import gevent from gevent.queue import Queue from gevent import Greenlet class Pinger(Actor): def receive(self, message): print message pong.inbox.put('ping') gevent.sleep(0) class Ponger(Actor): def receive(self, message): print message ping.inbox.put('pong') g...
[ "cloudaice@163.com" ]
cloudaice@163.com
0a9066c340d550d2cbc48ebb0e441a14a2b2b7cf
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/46/usersdata/87/17428/submittedfiles/funcoes1.py
e027d6d71e1f391c6c2ec2f67d3e4aef6578b7ea
[]
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
1,465
py
# -*- coding: utf-8 -*- from __future__ import division def crescente (lista): cont=0 for i in range (0,len(lista),1): if lista[i]<lista[i+1]: cont=cont+1 return True else: return False def decrescente (lista): cont=0 for i in range (0,len(lista),1): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
29ec250ce6f3401d7aae0c4b42b24b3933654670
23b686feb2d0ab9082a7ce622fc055946ed99c55
/.history/atkd/views_20190409152315.py
ab497963cb95200bcb95867866f3be859cb95fb2
[]
no_license
jasvr/atkd
a18b9840bf9948a7560684cd5eb0d5e22f6c52c7
daf61f7aa11cfc812171298894b1d0019641c4bd
refs/heads/master
2020-05-07T09:35:56.343837
2019-04-12T16:17:09
2019-04-12T16:17:09
180,383,260
1
0
null
null
null
null
UTF-8
Python
false
false
186
py
from django.shortcuts import render from .models import Parent, Student def parent_list(request): parents = Parent.objects.all() return render(request, 'atkd/parent_list.html')
[ "jas.vrgs@gmail.com" ]
jas.vrgs@gmail.com
a2deef2164462b7b4e99186be2c4799799abc83a
e84feabf99ff6e15df9eeee7b7c2595853fe746d
/app/event_handlers/channel_create.py
de5e906cf0cee90439c03f50436ea42b4eae7be3
[]
no_license
Ravillatypov/freeswitch-intergration
f0536b3abf3982cb2051291dbe101d07e59809b8
cac8cc829ca0d5734a5294847bf7587758b45eb1
refs/heads/main
2023-01-23T02:06:53.070823
2020-10-01T17:19:33
2020-10-01T17:19:33
300,362,493
2
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
from datetime import datetime from app.misc.consts import CallType, CallState from app.misc.types import FSEvent from app.models import Call, VATSClient from app.utils.events import is_external, is_internal, phone_number_normalize from app.utils.logging import get_logger logger = get_logger('root') async def channe...
[ "ravillatypov12@gmail.com" ]
ravillatypov12@gmail.com
d7b095878f8817b56c77f1b2a802147c990453d0
bb983b38f9be7b6fd4ab1a651484db37c1aeff39
/0620/test2_AdaBoost.py
cbf7833d213f2459eb7c2d77515beb30a191fe36
[]
no_license
nakanishi-akitaka/python2018_backup
c214df78372cca993d69f8001010ec2f6dcaf1be
45766d3c3777de2a91b3e2cf50c6bfedca8627da
refs/heads/master
2023-02-18T08:04:28.625532
2022-06-07T01:02:53
2022-06-07T01:02:53
201,399,236
5
30
null
2023-02-10T21:06:51
2019-08-09T05:48:22
Jupyter Notebook
UTF-8
Python
false
false
1,259
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 20 14:09:25 2018 @author: Akitaka http://scikit-learn.org/0.18/auto_examples/ensemble/plot_adaboost_regression.html """ print(__doc__) # Author: Noel Dawe <noel.dawe@gmail.com> # # License: BSD 3 clause # importing necessary libraries import numpy as n...
[ "noreply@github.com" ]
nakanishi-akitaka.noreply@github.com
f76ab8cef5d7fefa2ec7f58000951ebfc8506c20
2e852cd19629b6dab2901483ff0a8f61333fc433
/PyqtProject/votegui.py
3bd9ac4a2405df6510fb8e7041f661717516237f
[ "MIT" ]
permissive
pection-zz/Interactionstudent
919adf9f09121bbf4ea25a17a6e5a6c1b10c1636
74291812d3a5455c805b7ccc2d76dad28e6db77f
refs/heads/master
2022-12-24T03:10:19.088273
2020-10-05T17:10:42
2020-10-05T17:10:42
301,482,791
0
1
null
null
null
null
UTF-8
Python
false
false
3,765
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'vote.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _from...
[ "pection.naphat@gmail.com" ]
pection.naphat@gmail.com
56f0c40ec9808ebb880390708200b3dc041c92f5
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4456817.3.spec
abc24c25701dd152b05302175a1e4785128c67bb
[]
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,295
spec
{ "id": "mgm4456817.3", "metadata": { "mgm4456817.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
52221f9170f19d340a0b2971cece605f17e08af8
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/3008.py
d8106026b54dd3c6b61154d666a8b007c8e8071e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
import sys def get_dip_index(num_as_str): old_ch = '-' for index, ch in enumerate(num_as_str): if old_ch != '-' and ch < old_ch: return index old_ch = ch return -1 def largest_tidy(numstr): dip_index = get_dip_index(numstr) if dip_index == -1: # This number is...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
196b59052d52005b541bc266648909301eadb397
b9cd48612d5962f59713d42c0d23e7ebb7b6e40c
/src/fields/__init__.py
5cff120eb85fb342c179d2afb5db20d8cc92117d
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
mbayuyu/python-fields
ee5f402b98cb0beed40e2789042185dbab4c1284
91e13560173abcc42cc1a95cbe2956b307126416
refs/heads/master
2021-05-10T08:56:04.851609
2017-05-17T01:06:53
2017-05-17T01:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,030
py
""" How it works: the library is composed of 2 major parts: * The `sealers`. They return a class that implements a container according the given specification (list of field names and default values). * The `factory`. A metaclass that implements attribute/item access, so you can do ``Fields.a.b.c``. On each getatt...
[ "contact@ionelmc.ro" ]
contact@ionelmc.ro
bf3e5bb85dbecf4943aea56f308b10a18ef9e324
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GLES2/NV/shading_rate_image.py
812b333c0082128279fda4ae793f36715b457d10
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
3,818
py
'''OpenGL extension NV.shading_rate_image This module customises the behaviour of the OpenGL.raw.GLES2.NV.shading_rate_image to provide a more Python-friendly API Overview (from the spec) By default, OpenGL runs a fragment shader once for each pixel covered by a primitive being rasterized. When using multisamp...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
c74e68def49a0597ef607982cbaffeebd2004f21
9f112cd0aeb1447dee06ded576d99b61701cbdc3
/ec-backend/src/chat/migrations/0002_auto_20191220_1629.py
1921b0c80e56f566bfafe6075de93c7db330210b
[]
no_license
ForeverDreamer/embarrassment-cyclopedia
44e13fbd7210ebc634d0fbab321c0f4598072ff3
f69bc88a6a8e734cbb3d37ab173f557708653789
refs/heads/master
2023-01-10T17:20:44.181077
2020-07-15T03:20:27
2020-07-15T03:20:27
206,903,622
0
0
null
2023-01-07T09:30:23
2019-09-07T02:22:09
JavaScript
UTF-8
Python
false
false
947
py
# Generated by Django 2.2.1 on 2019-12-20 08:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('chat', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "499361328@qq.com" ]
499361328@qq.com
fe54ab9b79061a86ee1f93b198bf2cb3177b52df
18a62a42a4b0a3625b8dc6fe0a8665e3170b3a09
/Solution04-09 돈 분류기 만들기.py
bd72bd3eeee3af7ea2d79ff86d233fe45d3792b1
[]
no_license
jiwon010913/PythonPractice_1stGrade
365940d71b729b64f255c7864165fe7f48e6d7d2
f53ec231dc85515d4a9aef23db20a2e72ee8714b
refs/heads/master
2023-04-14T23:17:24.874152
2021-04-29T05:23:14
2021-04-29T05:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
## 변수 선언 부분 money, p50, p10, p5, p1, c500, c100, c50, c10 = 0,0,0,0,0,0,0,0,0 ## 메인(main) 코드 부분 money = int(input("교환할 돈은 얼마?")) p50 = money // 50000; money %= 50000 p10 = money // 10000; money %= 10000 p5 = money // 5000; money %= 5000 p1 = money // 1000; money %= 1000 c500 = money // 500; money %= 500 c100 = money ...
[ "you@example.com" ]
you@example.com
23c6d50e2d0bb6cf3452634e7086ec88d75923df
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/kivy/2015/4/list_ops.py
615eca208353f01dd482304d28cad31ab73bdb80
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
10,441
py
from kivy.adapters.dictadapter import DictAdapter from kivy.properties import NumericProperty, ListProperty, \ BooleanProperty, AliasProperty, ObjectProperty from kivy.uix.boxlayout import BoxLayout from kivy.uix.gridlayout import GridLayout from kivy.uix.listview import ListView, ListItemButton from kivy.uix.l...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
e13571981362bd6656fc8d7b31ee0204371f0712
e5a848b1efa615b1892194e999427ea5b7ac7b84
/journal/forms.py
25bdb55b5d30e66f32187b0be48600b7731d59fc
[]
no_license
oujri/newspaperShare
aeaa0696549c03af2afcef0029c8f26600d15395
2371a664c404a5f44cf181c5e9061f11e2014e43
refs/heads/master
2020-03-13T17:11:47.947593
2018-05-03T23:49:56
2018-05-03T23:49:56
131,212,935
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
from django import forms from .models import Image class ImageUploadForm(forms.ModelForm): class Meta: model = Image fields = ('description', 'image', ) class NewslatterForm(forms.Form): email = forms.EmailField( max_length=40, widget=forms.EmailInput( attrs={ ...
[ "anass.urh@outlook.fr" ]
anass.urh@outlook.fr
7524c08c22e12a89cd9f3ce18878d0e82d4009d2
2c6a8eef4da4aa3ba38fb51580493c7d7ebd1e4f
/reset_database.py
125982142636b26eb15b3502bd7476099ec4a3d4
[]
no_license
yakky/3frameworks-flask
fae27ba14f55a2a51423ec144f5e322148ca60f3
b4f1d9f9affb615ba534ea5c93bb4ae674d41e88
refs/heads/master
2023-05-26T07:06:43.486147
2019-09-28T13:48:18
2019-09-29T01:51:55
211,507,259
0
0
null
2023-05-02T00:40:31
2019-09-28T13:47:37
Python
UTF-8
Python
false
false
197
py
from flask_api.app import app, initialize_app from flask_api.database import db initialize_app(app) with app.app_context(): def reset_database(): db.drop_all() db.create_all()
[ "i.spalletti@nephila.it" ]
i.spalletti@nephila.it
029368156fc69674ecb89029d4d835d468f71fab
02338bb8111fc1aa88e830ac09a11664720eb2d4
/tmp/azure_rm_storageaccount_info.py
482aa1c84dd2544dfb7ab2cf31f37afdef82baa0
[]
no_license
Fred-sun/fred_yaml
a49977b0e8505c7447df23dd80c7fef1be70e6bc
295ca4cd2b59b8d2758f06eb7fd79920327ea524
refs/heads/master
2023-04-28T05:51:56.599488
2023-04-25T13:52:10
2023-04-25T13:52:10
131,376,340
0
1
null
2020-07-06T14:22:46
2018-04-28T05:34:49
TSQL
UTF-8
Python
false
false
74,978
py
#!/usr/bin/python # # Copyright (c) 2020 GuopengLin, (@t-glin) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "xiuxi.sun@qq.com" ]
xiuxi.sun@qq.com
188ad9774a36b4d94b81ef6aa34e808adabddd0e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02913/s710273596.py
9552b5f12ee20b76c342d6e4984ac720ed069419
[]
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
490
py
def z_algorithm(S): l=len(S) A=[0]*n i=1;j=0 while i<l: while(i+j<l and S[j]==S[i+j]): j+=1 A[i]=j if j==0: i+=1 continue k=1 while i+k<l and k+A[k]<j: A[i+k]=A[k] k+=1 i+=k j-=k retur...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9c83f4811c23868f60e9ee449f708fa39b5edde0
2b3ea7bb0df4be7f55d2ac188e23d801e497df8d
/test/test_subscr_workshift_schedule.py
3f8a040c263df3430d544c944b41f1f7a7c2d264
[]
no_license
mikespub/fcsm-eos-api-client
12b663b4e79ac5d86c2162dec168bfa240a85f0c
107a3a7733c55ae6a750e32497268300c6be590e
refs/heads/master
2020-08-01T18:13:17.229375
2019-10-29T14:30:56
2019-10-29T14:30:56
211,071,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
# coding: utf-8 """ Combined FCSM EOS API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.2.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import impo...
[ "github@mikespub.net" ]
github@mikespub.net
f9f2395b413a8c03a7ce58c73f8d273c947bec59
0806560301abb237b1f931764f4322c23beee566
/tests/stores/test_utils.py
62069f735aebdd9a741524036e5238a86c1e033e
[ "BSD-3-Clause" ]
permissive
michaelXDzhang/pulsar
d2f3cf6a2f9c16e320dfbc76df3ac603dff70e37
fee44e871954aa6ca36d00bb5a3739abfdb89b26
refs/heads/master
2020-07-27T23:09:09.801263
2018-01-11T23:14:27
2018-01-11T23:14:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
import re import unittest from pulsar.apps.ds import redis_to_py_pattern class TestUtils(unittest.TestCase): def match(self, c, text): self.assertEqual(c.match(text).group(), text) def not_match(self, c, text): self.assertEqual(c.match(text), None) def test_redis_to_py_pattern(self): ...
[ "luca.sbardella@gmail.com" ]
luca.sbardella@gmail.com
c54ca0a7f2636f7cb628f51ee98c9f752c81eb0b
c5cf1e1b5162686a3ae2c57ab3567a6db4223ff6
/Programas/tool_mes.py
940ff4592670e7e2dbd4ad819cb4adf20d35c8f5
[ "CC0-1.0" ]
permissive
hansenhahn/ace-attorney-4-ptbr
bddced8126ac6c96b8157652fca697b590b8b76f
519b409915b928398bcdd2a4bd983cf6a36ccf25
refs/heads/master
2022-12-24T10:43:08.626058
2020-09-18T21:59:58
2020-09-18T21:59:58
272,094,011
1
0
null
null
null
null
ISO-8859-1
Python
false
false
22,819
py
#!/usr/bin/env python # -*- coding: windows-1252 -*- ''' Created on 17/02/2018 @author: diego.hahn ''' import tempfile import os import sys import struct import array import shutil import datetime import mmap import re import glob from pytable import normal_table from rhCompression import lzss, rle, huffman import ...
[ "hansen.hahn@gmail.com" ]
hansen.hahn@gmail.com
8cd16cd258936e4139eb6a8d6a86138931fe3e0a
1fa6c2650c791e35feaf57b87e832613e98797dd
/LintCode/DFS/Remove Invalid Parentheses.py
f3f27f473f962dd786c98386ed885b55e68a9410
[]
no_license
hz336/Algorithm
415a37313a068478225ca9dd1f6d85656630f09a
0d2d956d498742820ab39e1afe965425bfc8188f
refs/heads/master
2021-06-17T05:24:17.030402
2021-04-18T20:42:37
2021-04-18T20:42:37
194,006,383
1
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
""" Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Notice The input string may contain letters other than the parentheses ( and ). Example "()())()" -> ["()()()", "(())()"] "(a)())()" -> ["(a)()()", "(a())()"] ")(" -> [""] """ cla...
[ "hz336@cornell.edu" ]
hz336@cornell.edu
65a1049e4a4089e1c1d9d45ee50a3ed466799e81
44c372cd25a2496979fa29a1dc9131c54487d945
/data/zh50w/transform_retrieval.py
855776912da46b16227412eafbcd3e091e8023ce
[ "MIT" ]
permissive
zhongerqiandan/OpenDialog
4ff4e65d0ade1efdd3029475634ae1cf38c7bdd3
f478b2a912c8c742da5ced510ac40da59217ddb3
refs/heads/master
2023-01-22T09:07:54.385604
2020-12-04T02:00:17
2020-12-04T02:00:17
318,419,052
0
1
MIT
2020-12-04T05:58:37
2020-12-04T05:58:37
null
UTF-8
Python
false
false
3,743
py
from tqdm import tqdm import json import random import ipdb from itertools import chain from elasticsearch import Elasticsearch import argparse ''' Transform this multi-turn dialog corpus into the same format of the douban300w and E-commerce dataset ''' def parser_args(): parser = argparse.ArgumentParser(descript...
[ "18811371908@163.com" ]
18811371908@163.com
6951584037fe21976eeca59192b993fac6b4b2df
ea18faef9936158ed80b6bd3c3e4721523aad82e
/oo/newDemo01.py
b98a64fee852ff34eab9f249ac14c76e2be7af93
[]
no_license
zidanewenqsh/my_api_02
537dbf63bcd698726bfbc996dae87cb16fa0a63f
23054c852d5bb2b3e17c3a25eba42be9676ce57c
refs/heads/master
2021-06-23T16:02:14.895543
2021-05-16T13:23:08
2021-05-16T13:23:08
224,233,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
# class A: # def __new__(cls): # print("A new") # return object.__new__(cls) # def __init__(self): # print("A init") # def say(self): # print("hello A") class A: def __new__(cls, obj=None): print("A2 new") if obj: return object.__new__(obj) ...
[ "zidanewenqsh@163.com" ]
zidanewenqsh@163.com
1f87bbe6204274d7500fb0f1f3afc43468a5e763
9f4b1884273f995806c1e755665a92b785cc52a8
/onnx/reference/ops/op_det.py
2019b84d9171a68227fc003366845ddae3eb40a3
[ "Apache-2.0" ]
permissive
zhijl/onnx
340f7c5794a9aca96d2a9e76c3336aeebe798776
ac0afea916f989c714692dd8551eff762a639cd5
refs/heads/main
2023-03-31T02:30:50.151799
2023-03-20T23:09:55
2023-03-20T23:09:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
# SPDX-License-Identifier: Apache-2.0 # pylint: disable=W0221 import numpy as np from onnx.reference.op_run import OpRun class Det(OpRun): def _run(self, x): # type: ignore return (np.linalg.det(x),)
[ "noreply@github.com" ]
zhijl.noreply@github.com
595838640287a424ceda770c4aea381499dea762
98429ef8ef7a5b5f027cce1f335f56cea7c60a7c
/scss/tests/test_expression.py
713504232ca1b0074d2cda7a3bf5f0425c8291bd
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sammyrulez/pyScss
b64201d6e4f97a03319d3592c5352f2196e93c63
2eb71a08fbea4143d3da1f00e911ac2ebfa0be4f
refs/heads/master
2020-12-24T10:02:36.701252
2013-08-09T01:56:48
2013-08-09T01:56:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,824
py
from scss.expression import Calculator from scss.rule import Namespace from scss.types import NumberValue from scss.util import to_str import pytest def test_reference_operations(): """Test the example expressions in the reference document: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#operation...
[ "eevee.git@veekun.com" ]
eevee.git@veekun.com
fbcbca7dd1e04402963296ee3a00a39afe7de9a5
efdd433fb2e358bb9ec4cb293db2211f5516a9e4
/.local/share/virtualenvs/faceboop-uoI8J_Cw/bin/django-admin
54393b6dad1c4d33dc16435949ee5a2ba7c2dd6d
[]
no_license
errinmarie/FeedBack
3e5c2e581ee207f486567bd838ac864f2c959f18
c7cf1aefea226b10b4387ded4a0693d786558d14
refs/heads/master
2021-10-01T20:08:53.846515
2018-11-28T02:49:41
2018-11-28T02:49:41
159,429,473
0
0
null
null
null
null
UTF-8
Python
false
false
322
#!/home/errinmixon/.local/share/virtualenvs/faceboop-uoI8J_Cw/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line()...
[ "errinmixon@gmail.com" ]
errinmixon@gmail.com
af38893c6bd8fb1cd788c5f432e7ccccec5db1e5
2958d8a1173e34b56bdbced127b042c8d16c85e3
/ebstall/deployers/ejabberd.py
fc654d805fab0118eaed56dab897e1a2d52bccfd
[ "MIT" ]
permissive
EnigmaBridge/ebstall.py
bdb283017bdeeddfee7d6e5915b196a06231e9fb
3fe7c279adb99d3207f9eda48928ec55d231609c
refs/heads/master
2021-01-18T13:14:38.634854
2018-01-17T18:02:56
2018-01-17T18:02:56
80,742,594
1
1
null
null
null
null
UTF-8
Python
false
false
12,982
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import os import logging import ebstall.errors as errors import os import ebstall.util as util import types import ebstall.osutil as osutil import shutil import time import ruamel.yaml from ruamel.yaml.scalarstring import DoubleQuoted...
[ "dusan.klinec@gmail.com" ]
dusan.klinec@gmail.com
5704a81f9edb153536d28cbf2afcf815638e2092
50a7c55e00b661746fc953ee4940a8f3bf976b18
/uds/echo_client.py
9c347771a0b27df2f7a751db45c1c525b3c13c59
[]
no_license
cponeill/pymotw-practice-examples
a9e049a5aee671c8bfc958c6a5bfcfb764f12444
6e87ca8be925bc103afb7c0f80da8a69f1e80a4c
refs/heads/master
2021-01-13T13:14:39.216035
2017-10-25T14:31:58
2017-10-25T14:31:58
72,708,203
1
0
null
null
null
null
UTF-8
Python
false
false
376
py
# echo_client.py import socket import sys import os # Creat a UDS socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Connect te socket to the port where the server is listening server_addres = './uds_socket' print('connection to {}'.format(server_address)) try: sock.connect(server_address) except ...
[ "caseyoneill78@hotmail.com" ]
caseyoneill78@hotmail.com
a387be729ee535ddecb78c420710bcdaa3345480
c3de772240edf279c4f28c21912784d66ef710e7
/process_dump.py
ccd53b7a18674a0a2255fb2c054c37ef30d8c558
[]
no_license
anandology/webpy.org-migration
f8d1bdae8d00359e7b73c0575516f959cee78933
a5e0ef3c7b4ac5cc7f9e2d12a3df21e5ef3492d5
refs/heads/master
2016-09-06T05:18:25.791668
2011-01-05T07:52:53
2011-01-05T07:52:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,261
py
import os import re import string import sys import datetime import simplejson import web def write(filename, title, body): dirname = os.path.dirname(filename) os.system("mkdir -p %s" % dirname) title = title and title.encode('utf-8') or "" body = body and body.encode('utf-8') f = op...
[ "anandology@gmail.com" ]
anandology@gmail.com
b5a2a4c5a65ca5f8879fdf6cbea0a72ba8292b30
3b8387d770b33850dca55a1f0657167906697b5b
/Unique_Binary_Search_Trees.py
c93994c4b38cdf30886a3723a022e0cf407779c1
[]
no_license
BigZihao/Leetcode
fe2795d5485e4780c1ec79558eaf9017a830a516
95ec42c241a4815a8b35f7a71948f1bc4e58b5b3
refs/heads/master
2021-01-13T00:59:12.489768
2018-06-21T21:50:33
2018-06-21T21:50:33
48,407,360
2
0
null
null
null
null
UTF-8
Python
false
false
635
py
## DP ## f(n) = f(0)*f(n) + f(1)*f(n-1) + .... + f(n-1)*f(1) + f(n)*f(0) ## O(1+2+...+n)=O(n^2) def numTrees(self, n): """ :type n: int :rtype: int """ count = [0] * (n + 1) count[0] = 1 for i in range(1, n + 1): for j in range(0, i): ## how many left node have count[i]+=count[j]*count[(i-1)-j] return ...
[ "zihao.zhang.ustb@gmail.com" ]
zihao.zhang.ustb@gmail.com
0e5bc64fbe4347a99f6c96892b50921af75dc36d
8c5e79da042bccf374e78f8f221bc0fd9ac3de7f
/slowfast/utils/checkpoint.py
c1124874a08c41f11694d7bb4f1e51accfb05fd6
[ "Apache-2.0" ]
permissive
oli4jansen/SlowFast
eab928a1b1a5cd0b92e692f2c5dfbd254f130a63
1937e2a532f26eb1d655ecdfe72e18015fdd70bd
refs/heads/master
2022-11-07T07:11:43.400228
2020-06-30T09:06:18
2020-06-30T09:06:18
276,037,821
0
0
Apache-2.0
2020-06-30T08:11:06
2020-06-30T08:11:05
null
UTF-8
Python
false
false
14,247
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """Functions that handle saving and loading of checkpoints.""" import copy import numpy as np import os import pickle from collections import OrderedDict import torch from fvcore.common.file_io import PathManager import sl...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a358213d11dcbd422914da565ab2f1cc46158b46
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1G81j68rvCSDpGXtrzdSn8ahMuoj2KyPrY.py
34a08b67761423e3b3e69f9d397f0c9a57cc0578
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,134
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1G81j68rvCSDpGXtrzdSn8ahMuoj2KyPrY(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None cls....
[ "mz@baking-bad.org" ]
mz@baking-bad.org
87a23af6d29935a726a9f41a72f1544977d33ecc
53a803d093b9cc2f978810d74d2ac9f597b279f4
/ostap/trees/treereduce.py
f1c0685475e8fb8e92a19bf397bdda7a2411b808
[ "BSD-3-Clause" ]
permissive
OstapHEP/ostap
750b632ec8084673a269af48acd10f834fd7fac8
471784d07c7b794a24e45d794464aab63fc940db
refs/heads/master
2023-09-01T08:51:40.684480
2023-09-01T06:41:19
2023-09-01T06:41:19
81,464,356
20
14
BSD-3-Clause
2022-12-26T11:45:27
2017-02-09T15:26:36
C
UTF-8
Python
false
false
3,877
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================= ## @file ostap/fitting/treereduce.py # Reduction/serialization/deserialization for some Ostap/ROOT classes # @author Vanya BELYAEV Ivan.Belyaev@itep.ru # @date 2011-06-07 # ==============...
[ "ivan.belyaev@cern.ch" ]
ivan.belyaev@cern.ch
3b8a3fbca1ad503fa11e465689809b13d2404933
8e2e28a191fa5ec5a6c070ec7e9ccad98c8b4a0b
/spiderman/qiushibaike.py
a690e2989035113ab1b4a086f8aae133d37d5233
[ "Apache-2.0" ]
permissive
kellanfan/python
4cd61cbc062e2eee3a900fa7447ca5f0b8f1a999
912dc05a3bd0ded9544166a68da23ca0a97b84da
refs/heads/master
2023-04-06T03:04:38.851928
2023-04-01T02:45:56
2023-04-01T02:45:56
65,542,280
3
5
null
null
null
null
UTF-8
Python
false
false
1,968
py
# pylint: disable=no-member # -*- encoding: utf-8 -*- ''' @File : qiushibaike.py @Time : 2020/02/05 15:58:41 @Author : Kellan Fan @Version : 1.0 @Contact : kellanfan1989@gmail.com @Desc : None ''' # here put the import lib import os from lxml import etree from misc import openurl from misc impo...
[ "icyfk1989@163.com" ]
icyfk1989@163.com
eae168dbd2bb8217969b6103546adf23e9838f63
eb40dce4039d528b9cd06dbeda75da09d09d7fc5
/need_install/Django-1.8.17/tests/forms_tests/tests/test_formsets.py
9285a83038829d14dd3721e9b3f3b8679632bbd3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MulticsYin/MulticsSH
39b62189446787c7f0f037b1640c9c780bd1dddd
5837a0bff0e7da0e8535e4e0b31ef6baf24274b4
refs/heads/master
2021-08-28T07:53:51.759679
2017-12-11T15:31:03
2017-12-11T15:31:03
82,428,902
4
2
null
null
null
null
UTF-8
Python
false
false
55,402
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import datetime from django.forms import ( CharField, DateField, FileField, Form, IntegerField, SplitDateTimeField, ValidationError, formsets, ) from django.forms.formsets import BaseFormSet, formset_factory from django.forms.utils import ErrorLi...
[ "multics_luo@163.com" ]
multics_luo@163.com
ea64546865f98a6b3855b07e0919a2950f99fdce
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/channel/channel_metadata/tests/test__put_default_thread_auto_archive_after_into.py
dd543bc67a08471e2485dc8c62e5afdbe5f60314
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
681
py
import vampytest from ..constants import AUTO_ARCHIVE_DEFAULT from ..fields import put_default_thread_auto_archive_after_into def test__put_default_auto_archive_after_into(): """ Tests whether ``put_default_thread_auto_archive_after_into`` is working as intended. """ for input_value, defaults, expect...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
abfe1a8887a9143b044de6e7bd674d3e2a1c381e
350cb6c7c7a7842e80aa06ee32bfffc5bc35ee03
/desktop/gnome/base/gconf/actions.py
202c24ee51a7e4de22bbd02b2ed34c7dfd1dce05
[]
no_license
LimeLinux/Packages-2
f41d11343e8b39274ccd85b9850d0f4e76830031
356975df129f2097f12dbed3bc2604cadb5a6c64
refs/heads/master
2021-04-30T23:25:31.121967
2017-01-21T21:46:54
2017-01-21T21:46:54
79,139,920
0
2
null
2017-01-21T21:46:55
2017-01-16T17:02:37
Python
UTF-8
Python
false
false
1,322
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2 # See the file http://www.gnu.org/copyleft/gpl.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get from pisi.actionsapi import shelltools def setup(): ...
[ "ergunsalman@hotmail.com" ]
ergunsalman@hotmail.com
0890d78cf4895168ecabcd1cd4c585a0d9429f0d
b8bdf7087b3da05f617ce769cb015fd3ac5be8b6
/backend_app/models.py
f2e8ccf3fe00213d8abc620e1d7a2b94e661863b
[]
no_license
nandini8/credible
3b396263d9d17657f152a8cfe6cbdfd1e328e77f
7e5790055b985ab046fec889c808d5743d619d85
refs/heads/master
2021-09-10T19:00:43.646170
2018-03-31T09:34:56
2018-03-31T09:34:56
126,043,842
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
from django.db import models from django.conf import settings from decimal import Decimal # Create your models here. #myFields = ['tweet_id','user_id', 'text', 'external_link', 'shares', 'likes', 'tweet_created_date', 'title', 'content', 'author', 'pub_date'] class InitialData(models.Model): article_id = models.In...
[ "nandini.soni8@gmail.com" ]
nandini.soni8@gmail.com
e93448954b63137dd0a8e7e70afbab900bc4d7aa
35734053c269e11af90c7503ca3bae2d778ca88b
/Exercises/Food.py
5fa9b3fc51daa3cf970de23aa410e0358e7060e9
[]
no_license
powershellfish/python_programming_3e
9159f4e89fb4edd762af001e31ad6d03a29d0952
c8ef62770284f03497dafce844b10de809e94271
refs/heads/master
2022-06-14T23:05:31.262784
2022-05-15T23:55:06
2022-05-15T23:55:06
182,108,723
1
0
null
null
null
null
UTF-8
Python
false
false
254
py
food1 = str(input("What is your favoritest food? ")) food2 = str(input("Ok, now what's your favorite food? ")) print("So you like", food1, "and", food2) drink = str(input("What is your favorite drink? ")) print("Do you seriously like",drink,"?!?!")
[ "47839113+powershellfish@users.noreply.github.com" ]
47839113+powershellfish@users.noreply.github.com
ffc7268fe802970803e566f9b4afa6da2ab5d104
cf5b2850dc9794eb0fc11826da4fd3ea6c22e9b1
/xlsxwriter/test/comparison/test_image30.py
a61895dd8704bac059516d292bbb0276fea37f37
[ "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
865
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
8a19b03a567374dab30fee0a702d05da7f00aa8b
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_008_20180622004513.py
765ca1107d970d73b17beabea5e306535a796f78
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
6,980
py
from random import randint import copy import solveSudoku def giveHint(emptyS, solvedS): for x in range(0, 9): for y in range(0, 9): if emptyS[x][y] == " ": print("x,y =", x, y) print("emptyS[x][y] = ", emptyS[x][y]) print("solvedS[x][y] = ", so...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
a6cfe342347cffdcc3a9767b7711a85c80d77637
7add1f8fc31b09bb79efd2b25cc15e23666c1d1d
/tfx/orchestration/kubeflow/v2/e2e_tests/base_test_case.py
5faeb1e1dab92ba34328e7457c379705fcec88f5
[ "Apache-2.0" ]
permissive
twitter-forks/tfx
b867e9fee9533029ca799c4a4c5d1c5430ba05fe
cb3561224c54a5dad4d5679165d5b3bafc8b451b
refs/heads/master
2021-11-19T18:45:09.157744
2021-10-19T00:02:34
2021-10-19T00:02:34
205,426,993
2
1
Apache-2.0
2021-10-18T21:03:50
2019-08-30T17:21:03
Python
UTF-8
Python
false
false
5,608
py
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
2723c7c567e3d5a6cf34963b653f195bf021791a
89d5dbd7672d9e03e7ca5277a9fd942b2444db86
/start python/04.py
0071a2b0ad30a8d083e32be2ec3f2db44c4dbfd7
[]
no_license
rameshparajuli-github/python-programming
6ff218d4d1cdde73a578e4f2f3ba6241310d6408
5d2638a24e8b50614f2c15f04eb1f00dba0f6175
refs/heads/master
2023-06-17T18:40:47.797595
2021-07-16T14:02:52
2021-07-16T14:02:52
386,656,247
1
0
null
null
null
null
UTF-8
Python
false
false
163
py
# convet the number a=20 print(bin(a)) # import math # #floor le chai eak step decrease garcha # #ceil la chai eak step increase garcha # print(math.ceil(20.2))
[ "susmitscore619@gmail.com" ]
susmitscore619@gmail.com
102658e3b2b40536812aed676016e37a13af51a8
ba07b0cf220f9a6090abec4ce20cac675206e0f5
/organizador/migrations/0004_auto_20181114_1925.py
ad61397a77cd153de34fd21bbed7fe7b90f90ba9
[]
no_license
GustavoOliveira/TrabFinal
dbe1a75e08ce4752bca5c197d2f95bebb3ca66fb
9f03b9052d400b70b5ba86e4784fc9089259a77e
refs/heads/master
2020-04-07T10:02:20.766942
2018-11-23T16:02:25
2018-11-23T16:02:25
158,273,142
1
0
null
null
null
null
UTF-8
Python
false
false
538
py
# Generated by Django 2.1.3 on 2018-11-14 19:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('organizador', '0003_auto_20181114_1924'), ] operations = [ migrations.AlterField( model_name='o...
[ "root@debian" ]
root@debian
d304f6ca214919e4af392f0b200bba0ce01666a8
7fd6a1d53687dc2c58a63d3b2dc6193dfdaa352e
/Two dimensional list/lectures/different printing methods for 2-D list.py
498f39db677b64d454663c99dc59b8a0c79b5b69
[]
no_license
renukamallade10/Python-problems
244ee8f532699d36933464e6216932450bc94be3
e6a46c3d3762d581a0e350663d1fc329b6b4b1d5
refs/heads/master
2023-03-15T12:41:18.990615
2020-03-15T06:26:16
2020-03-15T06:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 9 16:56:47 2020 @author: cheerag.verma """ # can used to print normal list as well as jagged list. li = [[1,2,3],[4,4,],[8,65,5,43,3]] n = 3 for i in li: for j in i: print(j,end=" ") print() # we can use this method we want to...
[ "chiragverma188@gmail.com" ]
chiragverma188@gmail.com
d2c838a0ffe2de28e673099b4bbbc75bf7733850
c1e488789b41a714cdd37525d7e71815753c21d9
/verifyENV/202002/youtube2ios/verify/main.py
5caad8c4cbc5845507774ec46dbfe9a9e9b8e355
[]
no_license
happyhappyhappyhappy/pythoncode
638a0cbeb94ec04829c1c4e216fb200863cd7a4e
247b8346a503cab272043c20e6210ee03cfdd8c4
refs/heads/master
2023-08-31T20:54:06.144750
2023-08-30T08:33:15
2023-08-30T08:33:15
223,697,956
0
0
null
null
null
null
UTF-8
Python
false
false
2,339
py
from pytube import YouTube import my_module import byte2si import url_get import os import glob import time import sys import youtube_dl VIDEO_DIR = os.path.join(os.getcwd(), "DL_videos") OPTS = { "outtmpl": "{VIDEO_DIR}/%(title)s.mp4".format(VIDEO_DIR=VIDEO_DIR), 'ignoreerrors': True } def download(url): ...
[ "ymnkkj@gmail.com" ]
ymnkkj@gmail.com
727a6f2bd4c218f2e671740deb8979ba4bdbdcfc
0049832c5cbee4b96189b88b51653f48decde596
/MODIS/ReprojectionCropping/ReprojectionCropping3.py
6a72b9ddbda8a1b3f6436ca2a553afb00a722b9c
[]
no_license
henockmamo54/ImageFusion
18cf27ec4a066456c0d575696fc986814d10a7e6
07e88b5cb1925f54b3b3659caa2abda2bf4f3a72
refs/heads/master
2023-06-16T12:38:07.352623
2021-07-19T00:52:02
2021-07-19T00:52:02
355,720,494
2
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
# -*- coding: utf-8 -*- """ Created on Wed May 5 16:45:32 2021 @author: Henock """ import os path ="D:/Workplace/githubProjects/ImageFusion/MODIS/ReprojectionCropping/TestData" OBJECT_NAME = "mod07"#"MOD_Grid_BRDF" FIELD_NAME = "Total_Ozone" PIXELSIZE = 1000.0 pathoutput="D:/Workplace/githubProjects/ImageFusion/M...
[ "henockmamo54@gmail.com" ]
henockmamo54@gmail.com
5392d5d5ff3972c12f7b407c813ad44d6b19305a
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_operations.py
578a88cf24efbb3a45b3e45197dbbc804c63bd53
[ "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
6,836
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
217d0969525afe33e7ad2789401813443421cba4
60d5b5b1f1c912d1655de3884efc09dfddd8d132
/sites/hermanmiller/search/views.py
e21099e3c91f6a84f6effdd681f3718a12afbc0f
[]
no_license
alexgula/django_sites
15033c739401f24603e957c5a034d63652f0d21f
038834c0f544d6997613d61d593a7d5abf673c70
refs/heads/master
2016-09-05T11:02:43.838095
2014-07-07T11:36:07
2014-07-07T11:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# coding=utf-8 from django.utils.translation import ugettext_lazy as _ from navigation.views import NavigationTemplateView, HomeNavigationView from navigation.models import StaticNode from haystack.query import SearchQuerySet, EmptySearchQuerySet class SearchView(NavigationTemplateView): template_name = 'search/s...
[ "alexgula@gmail.com" ]
alexgula@gmail.com
b49fb32cd4ebc39580627644ad3521d6e985666b
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_1839.py
0f8f929209573cbf572bc2e9da811e15f3fa5193
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
# django admin.site.name in template SITE_NAME
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
71d5d16e17fe3c2a3c01dc9e8b3f09f0c29d0626
158a327c3cbff52a607d4ec668c658f0d8d8eea8
/Linked_list/92. Reverse Linked List II.py
8568060ec7e6335bcce250a4eaa4b96403296b6f
[]
no_license
smartwell/leet_niuke
f11cbf826f9b2b358b614a63200e93aef47054a2
eb84aaa1248074dceda831f9385d68a24941fa04
refs/heads/master
2020-06-24T16:37:33.073534
2019-07-25T13:19:49
2019-07-25T13:19:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,735
py
from Linked_list import linkedlist_operate #链表题规范化输入输出 class LNode: def __init__(self, x=None): self.val = x self.next = None def reverseBetween(head,m,n): l1 = [] l2 = [] l3 = [] count = 0 while head: count += 1 if m <= count <= n: l2.append(he...
[ "w5802022@gmail.com" ]
w5802022@gmail.com
bf16c86a7e7ea0432ebc3e8ac45cebc5fc612f21
7e39ca6104d055974719e15a076b6777c8c3f56a
/programs/write_wkZip3_ili-viz-pop.py
527028e10a4435b39dd87b033f2255bf957d8e3f
[]
no_license
Qasim-1develop/flu-SDI-dzBurden-drivers
00e61a992e75ea500b9d690ef6f25f77f9638def
c66a556c1d5012af3b69c16ba407b3d444ea23be
refs/heads/master
2022-07-22T16:46:10.612961
2018-09-26T14:45:35
2018-09-26T14:45:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,318
py
#!/usr/bin/python ############################################## ###Python template ###Author: Elizabeth Lee ###Date: 5/21/15 ###Function: Write ILI, visits, and population data for Aim 2.1 to file after manipulation with Pandas. ###Import data: dz_burden/SQL_export/ILIViz_allWeekly_totServ_totAge_allZip.csv; dz_burd...
[ "eclee25@gmail.com" ]
eclee25@gmail.com
d4250a45a45552ca46aa24d19666b6179c4edf5e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_248/ch24_2020_06_21_15_28_50_226480.py
da57f4f2caf762726b6875a715f1dbff2cb6905d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
def calcula_aumento(x): if x>1250: x=x+x*0.1 elif x<=1250: x=x+x*0.15 return x
[ "you@example.com" ]
you@example.com
67b829b894d55da1a26d4bf405feb08ad160ed1e
bd7c0c23b3726aed0b96df8e45059e3b7950ed69
/tests/test_multiline_feature.py
68f0897ccf9add00ea5baa9c8f1ea97be5aef470
[ "MIT", "BSD-3-Clause" ]
permissive
niejn/pyexcel-odsr
1b0ae43a4297feb9fe292fbc14b75a2f9bdc551f
bf8ce199c9b6b00d8555d181f523e93e75a41230
refs/heads/master
2021-05-10T12:05:25.883087
2017-10-23T18:48:05
2017-10-23T18:48:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
import os import pyexcel from nose.tools import eq_ def test_reading_multiline_ods(): testfile = os.path.join("tests", "fixtures", "multilineods.ods") sheet = pyexcel.get_sheet(file_name=testfile, library='pyexcel-odsr') assert sheet[0, 0] == '1\n2\n3\n4' eq_(sheet[1, 0],...
[ "wangc_2011@hotmail.com" ]
wangc_2011@hotmail.com
3c87b53a7e5c8f6a0b8206482f756c520f8fd3c8
82e7b27cc4377def80c2b475645d502e40a0e498
/photographer/migrations/0019_auto_20160213_2139.py
d7fce59da0701eb111f6f618708836b937eb2f9d
[]
no_license
craYBoi/bryte
850698e735a08ea10a08a78dc9e23b7e760c682f
d2b5a74d200ccb06cc3ef4e3180b83cbc338ce3e
refs/heads/master
2022-12-12T08:54:56.863372
2017-06-28T05:03:32
2017-06-28T05:03:32
63,019,677
0
0
null
2022-11-22T01:00:25
2016-07-10T21:44:41
CSS
UTF-8
Python
false
false
489
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-02-13 21:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('photographer', '0018_auto_20160213_2137'), ] operations = [ migrations.Alter...
[ "baoyuyang@Yuyangs-MacBook-Pro.local" ]
baoyuyang@Yuyangs-MacBook-Pro.local
f00c03e062ab836f9eebca79b0201ca3a8e8c410
c8c77f6cc6c032daf179ea2138e4dda5473b426b
/cloudwatch/list_metrics.py
b4e450e76c30027a871579203db421122bc8e825
[]
no_license
arunmastermind/AWS-examples-using-BOTO3
b411a6c96011ab58a66952a53fa2938cb58d5135
e8390094374c10902bab016a21caba75ea179b5a
refs/heads/master
2020-09-30T13:34:33.657621
2019-12-11T12:37:44
2019-12-11T12:37:44
227,297,211
0
2
null
null
null
null
UTF-8
Python
false
false
413
py
import boto3 # Create CloudWatch client cloudwatch = boto3.client('cloudwatch') # List metrics through the pagination interface paginator = cloudwatch.get_paginator('list_metrics') for response in paginator.paginate(Dimensions=[{'Name': 'LogGroupName'}], MetricName='IncomingLogEven...
[ "arunmastermind.sci@gmail.com" ]
arunmastermind.sci@gmail.com
641e81f5d624408211c3d4b4cb5a67e99a2660af
5f327b9e3f5d5714a56ad1a0d46589e0292b2ef0
/command.py
c2d7f4882b3144521fe86ed276d43c56c76d4252
[]
no_license
zerc/YUA-SQL.sublime_plugin
4024f48da8415827f0a8228a636640524a8e39e1
008026ef2d0a222a16636254af500c3dc446d015
refs/heads/master
2021-01-01T18:23:28.017052
2014-01-19T13:56:06
2014-01-19T13:56:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
import sublime import sublime_plugin try: # Sublime 2 from psql import PsqlCommander from patterns import is_table_request, is_columns_request, get_table_name st_version = 2 except (ImportError): # Sublime 3 from .psql import PsqlCommander from .patterns import is_table_request, is_columns_...
[ "zero13cool@yandex.ru" ]
zero13cool@yandex.ru
4d1f8bca95bb22d729f191eb4019edb6d0fecfe9
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/storage/azure-storage-file-share/tests/test_file_api_version.py
83f340068419d6c6f56e3b2e9e1f7f14dbac5c95
[ "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
8,694
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import py...
[ "noreply@github.com" ]
Azure.noreply@github.com
c0a02f2ca3b1398dabc8424934f16f5c39763f09
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/any_pb2.py
6f1adbc27b0b84e5eafbf44ee0a714ba82d3233b
[ "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
true
1,536
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/any.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _messa...
[ "jengelh@inai.de" ]
jengelh@inai.de
05b467c8492617c20ad0c8c933f6019412a9f75c
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/cloudfront_read_1/cache-policy-config_get.py
c179dd175ae3eeca5b3789ba07fb21f932432573
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import execute_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudfront/get-cache-policy-config.html if __...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
c6f48ead36d0d01df5cb8383c0bfa39963dd5b0f
492dcba567cb320b32bd82e39b8271bb302b38d3
/TSIS 6/Lists/7.py
c01deb1ca904f155bb85aa13b5cc8e256da2446f
[]
no_license
DiasDogalakov/PP2_summer2020
13a31b885e45d28429afab2487f4feef89354232
1d2e3ab82b4d09d2e95f7c628ab416bd7e87d234
refs/heads/master
2022-11-16T23:17:27.643066
2020-07-10T17:56:38
2020-07-10T17:56:38
271,045,418
1
0
null
null
null
null
UTF-8
Python
false
false
94
py
fruits = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"] print(fruits[2:5])
[ "noreply@github.com" ]
DiasDogalakov.noreply@github.com
1fedbf59727c6ecfbede763dc5dc8c0f44ef2158
7f8a64d57f65e0e281cd27c0678c5aee9ca41a08
/models/zPrime.py
140d06fdaaae86aca0dc191eb080c245f9eb31c0
[]
no_license
roarem/fys4560_proj2
497a9cd8bb55e157d4e2db459ef7656bdf2f9821
6d41b0895876095107cb8550c03e45d47befe31d
refs/heads/master
2021-01-10T05:17:03.694846
2016-03-10T22:42:30
2016-03-10T22:42:30
52,986,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
inFile = open("lgrng11.mdl",'r') #inFile.readline() #inFile.readline() #inFile.readline() ZpEntries = [] original = [] Z = 'Z' Zp = 'Zp' for i,line in enumerate(inFile): original.append(line) if i>2: if Z in line: Zline = line.split(Z) nZ = len(Zline) if nZ == ...
[ "you@example.com" ]
you@example.com
959e2776217c2f14f81407b828a47d9a5d898c5a
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/tflite/src/tensorflow/python/kernel_tests/array_ops/constant_op_test.py
a580075f3fa3d7d3ff28a73d866cb0265108d611
[ "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
38,451
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "jengelh@inai.de" ]
jengelh@inai.de
7553dc7ab5ebf7d09df70810b54ade0973db0503
f344f0ac68f5bc5e7b45f630e334a3bd72793492
/Mouse_action/Send_keys_context_menu.py
bfcf3439cb6d8887ea0b639394c3bf187f71c498
[]
no_license
Swethahiremath/seleniumpycham
dfa2138e7d951d28b128f2ca108f9d72c98e0a27
73402b0f273d6c9b2199aec084791e6adc9f2107
refs/heads/master
2020-09-28T12:48:39.501194
2019-12-09T04:05:51
2019-12-09T04:05:51
226,781,781
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from time import sleep from selenium.webdriver.common.keys import Keys driver=webdriver.Chrome() driver.maximize_window() driver.implicitly_wait(10) driver.get("https://www.actimind.com") sleep(3) action=ActionChains(driver...
[ "swhirema@oradev.oraclecorp.com" ]
swhirema@oradev.oraclecorp.com
e51aac66ca12fd6a1c35cffa8d33cbbcd90adf34
6edff4145de324006ea76484d1ddeb597e55dd8a
/manage.py
7af17c2e952da4ce46412ec2d19b1a03888e1d61
[]
no_license
htzs12/django_study
0ae443bd5873169263db3b27c3f48dc475e4e20c
4bb40c9345a9195d464d92e844dc08a963fecf61
refs/heads/master
2020-03-31T21:19:34.076507
2019-07-11T00:39:48
2019-07-11T00:39:48
152,576,011
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_study.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django....
[ "www.htzs@qq.com" ]
www.htzs@qq.com
3150246c1b1de8238dd20abfc56348120e25732b
605356250c655a7f98d5f1158e0ffc94175de4f7
/devel/lib/python2.7/dist-packages/pal_navigation_msgs/msg/_POI.py
8ab1dfd6b97d9ef696743db9840b470e721c8b1a
[]
no_license
MatthewCallery/msc-tiago-project
4d3dcf07b7bc6915d2f203bbff46f6c11720ff9f
8c9e987c45d6152192ba36bb27781e961e7900c3
refs/heads/master
2020-11-30T04:17:53.649839
2017-07-11T14:38:47
2017-07-11T14:38:47
96,903,254
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
/home/mc16766/tiago_public_ws/devel/.private/pal_navigation_msgs/lib/python2.7/dist-packages/pal_navigation_msgs/msg/_POI.py
[ "mc16766@it051534" ]
mc16766@it051534
79b6e917fafaa2972bbdeca0a10729152ec79400
3b194686d501a680936173df282536e4d9066812
/balancedparenthes.py
d723f964838bea046edee180a1fb5b99f4da90f0
[]
no_license
Ricky-Hu5918/Python-Lab
1366c1c5d918c961687cf5c39abab686087c8d98
3dc6c743651d8c54ea472a322ad6751639467f6b
refs/heads/master
2021-06-20T17:50:20.590246
2021-06-16T01:24:03
2021-06-16T01:24:03
225,547,782
1
0
null
2019-12-03T09:25:20
2019-12-03T06:30:58
null
UTF-8
Python
false
false
1,530
py
'''''' ''' Given an expression string, write a python program to find whether a given string has balanced parentheses or not. Examples: Input : {[]{()}} Output : Balanced Input : [{}{}(] Output : Unbalanced [{]}-->Unbalanced ''' ''' #使用stack方法: 遍历字符串,如果是左括弧,则append到stack; 如果是右括弧,则检查stack是否为空,若为空则为Unbalanced,或者检查po...
[ "31519963@qq.com" ]
31519963@qq.com
fcfe4a7178d04378dda0455e1b7b82a22aa557e2
b5d0a6254b54c0a778181a67bcda14cc6663e871
/2-resources/_External-learning-resources/02-pyth/PyPattyrn-master/pypattyrn/behavioral/observer.py
1dbeed6dba6ff71299fa633d112303d605135b9c
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
Web-Dev-Collaborative/Lambda-Final-Backup
113e719a76a144b86d06f3a412afe4b02689cad7
e9ab84928faa8364bacd863009ae9aec01ff9d1e
refs/heads/master
2023-06-07T15:34:00.682815
2021-04-17T01:53:14
2021-04-17T01:53:14
358,899,122
0
0
MIT
2023-05-30T04:03:16
2021-04-17T14:24:53
JavaScript
UTF-8
Python
false
false
1,784
py
from abc import ABCMeta, abstractmethod class Observer(object, metaclass=ABCMeta): """ Abstract Observer class as part of the Observer design pattern. - External Usage documentation: U{https://github.com/tylerlaberge/PyPattyrn#observer-pattern} - External Observer Pattern documentation: U{https://en....
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
2c81adc1ae5e55c958977c95e7d0b0279c5646c5
1d6de6b0443521a6439b32c0458ee71d238aba6c
/utils/model_converter/study_deprecation_warning_vgg.py
a4b2b6d64c74dde4a9df08eba21d0f095fd77606
[]
no_license
jamescfli/ReLoc_SRCB_Office
d0c865a54438cce12d1fd2d9f0b2f506e78ffa08
3e7b67dd8ece3fbf580afffd00bd1c9752aa4e1d
refs/heads/master
2021-01-18T17:38:43.064727
2017-05-24T02:01:50
2017-05-24T02:01:50
71,970,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
__author__ = 'bsl' from keras.applications import vgg16 from keras.layers import Input from keras.models import model_from_json img_width = 224 img_height = 224 img_size = (3, img_width, img_height) input_tensor = Input(batch_shape=(None,) + img_size) # model 1 print 'load vgg with imagenet parameters' vgg_imagenet...
[ "jamescfli@yahoo.com" ]
jamescfli@yahoo.com
a4cfa78ad30f3c7e0f431dfef6b484b973f2e740
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_counterclockwise.py
a5f196b28cc85c0389da49ba4d9a11aec186c619
[ "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
445
py
#calss header class _COUNTERCLOCKWISE(): def __init__(self,): self.name = "COUNTERCLOCKWISE" self.definitions = [u'in the opposite direction to the movement of the hands of a clock: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
18843c219b9ebac7874b41e7f6bc754a58c0d574
f159aeec3408fe36a9376c50ebb42a9174d89959
/617.Merge-Two-Binary-Trees.py
4b8c8b9f184962e4033e121a171754a6a9ec4b48
[ "MIT" ]
permissive
mickey0524/leetcode
83b2d11ab226fad5da7198bb37eeedcd8d17635a
fc5b1744af7be93f4dd01d6ad58d2bd12f7ed33f
refs/heads/master
2023-09-04T00:01:13.138858
2023-08-27T07:43:53
2023-08-27T07:43:53
140,945,128
27
9
null
null
null
null
UTF-8
Python
false
false
821
py
# https://leetcode.com/problems/merge-two-binary-trees/ # # algorithms # Easy (69.13%) # Total Accepted: 153,841 # Total Submissions: 222,336 # beats 99.00% of python submissions # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = ...
[ "buptbh@163.com" ]
buptbh@163.com
a6fff664f949abaa7fcf95c966cb822cecf1c850
f541a9287ce89f3ea5158389fca8110277c60eed
/src/job/migrations/0007_auto_20200211_0043.py
d9be44db48aa205beef6c12c412029d6e1b0a977
[]
no_license
coblan/easyjob
b17775c5c7e7850dc41bc0cba996929696bae0ac
6d33b696f1c0a2d6dacaaaecd01921b766a83e29
refs/heads/master
2021-05-19T05:37:20.395502
2020-07-20T07:57:00
2020-07-20T07:57:00
251,550,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,828
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2020-02-11 00:43 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import helpers.director.model_func.cus_fields.cus_picture class Migration(migrations.Migration):...
[ "he_yulin@163.com" ]
he_yulin@163.com
6274cfba639da765961f5830429abb028baeded2
565ae8473c545c43341f5511b9633e97f0e4da8b
/course3_python_advanced/06_File_Handling/HW Files handling/02_line_numbers/line_numbers.py
9db62ca6639501c9e67866a28fb0096d19846b1d
[]
no_license
andriiburka/Web-Development-with-Python
3934c1a3945bd983ab39d38b97f1af16fe784207
b6927653a2c6a9cc10a8768395233e347624c49a
refs/heads/master
2022-11-21T21:42:04.898254
2020-07-29T22:59:56
2020-07-29T22:59:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
result_text = "" with open("text.txt", "r") as file: for idx, line in enumerate(file): length = len([el for el in line if el.isalpha()]) counter = 0 for el in line: if el in "`,.!?\";:-": counter += 1 result_text += f"Line {idx + 1}: {line[:-2]} ({length}...
[ "andriiburka@gmail.com" ]
andriiburka@gmail.com
814e6e9f996f4e28b275af355a4a853e08dd002b
56bf1dbfa5d23257522fb03906e13c597a829ed3
/plugins/SuperHexagonGameAgentPlugin/files/helpers/frame_processing.py
ca263f10e98374df622e9f9f77d0dde285ca7b9e
[ "MIT" ]
permissive
fendaq/SerpentAI
0417777bbc0fccb50df456d0ced1bce839aa3211
e9c147f33a790a9cd3e4ee631ddbf6bbf91c3921
refs/heads/master
2021-07-23T02:04:15.977726
2017-08-26T23:31:59
2017-08-26T23:31:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
import skimage.io import skimage.transform import skimage.exposure import skimage.filters import skimage.measure import skimage.color import skimage.segmentation import numpy as np def image_data_for_screen_region(frame, screen_region): return frame[screen_region[0]:screen_region[2], screen_region[1]:screen_regi...
[ "info@nicholasbrochu.com" ]
info@nicholasbrochu.com
9f82e5c2daa409befc4c7378cbd4d710536ce0df
d1742451b25705fc128acc245524659628ab3e7d
/Codeforces with Python/1180 - A. Alex and a Rhombus.py
c8e2a85659cbd5c661d26bc2f06ac4e4164fd6be
[]
no_license
Shovon588/Programming
ebab793a3c97aedddfcad5ea06e7e22f5c54a86e
e4922c9138998358eed09a1be7598f9b060c685f
refs/heads/master
2022-12-23T18:29:10.141117
2020-10-04T17:29:32
2020-10-04T17:29:32
256,915,133
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
n=int(input()) if n==1:print(1) elif n==2:print(5) else:print((n*n)+4)
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
1884883fdc85954c2c3e9132f1ca3adac80983e8
07c6d3055eda7b1ddb16ce9444166ed311ce3219
/modules/data2xlsx.py
20e4fde615b1eba2cf88c9aefafff4e57f49d552
[]
no_license
IISH/dpe
4df9b0576b5419e543c61ce9ef14380ddc4b5c03
6509b06aa03242f450766d4cb5d8984f14146b11
refs/heads/master
2021-01-10T17:52:54.775316
2016-05-04T09:50:46
2016-05-04T09:50:46
42,994,984
1
0
null
null
null
null
UTF-8
Python
false
false
3,162
py
#!/usr/bin/python import xlsxwriter import xlwt import sys def panel2excel(datadir, filename, header, panelcells): wb = xlwt.Workbook(encoding='utf') f_short_name = "Data" ws = wb.add_sheet(str(f_short_name)) style_string = "font: bold on; borders: bottom medium" style = xlwt.easyxf(style_string)...
[ "4tikhonov@gmail.com" ]
4tikhonov@gmail.com
66685e7117258bcb277360ee6f431c1ac260e30c
cab87d3b32339291209008b204578091840dec44
/scripts/swift_class_audit.py
c4b60aaba2d3bfc9e7a4aa7833c56b1e21ffbeb4
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/autorest.swift
1ae31774e1724b597f486424d7b913c8993df10b
0f7b42ae17d2ceaae65796130a43ee8eccc6d8af
refs/heads/main
2023-08-03T04:39:25.760569
2023-08-01T20:36:11
2023-08-01T20:36:11
106,317,281
6
11
MIT
2023-08-01T20:36:13
2017-10-09T17:59:44
Swift
UTF-8
Python
false
false
1,747
py
import os import json class ItemResult: def __init__(self, name, schema, done): self.name = name self.schema = schema self.done = done def dumper(obj): return obj.__dict__ # find project root folder repo_root = os.path.abspath(os.getcwd()) levels = [] found = False while len(levels) <...
[ "noreply@github.com" ]
Azure.noreply@github.com
fc22c7192ffc16532257c89bea2b165a111fff21
f5e8a25d5585fc7a08a713760485627926a49dd7
/gdplib/kaibel/main_gdp.py
02221ceaf7c1d13179833ec9b139d18cbb9a100f
[ "BSD-3-Clause" ]
permissive
Yunshan-Liu/gdplib
a408921745c4f5797ab9ecfd5e371f6d4cdd3a95
f453abcde1906018635c2245414b707b69fa110c
refs/heads/master
2023-03-06T04:29:29.078550
2021-02-10T04:19:05
2021-02-10T04:19:05
298,096,123
0
0
BSD-3-Clause
2020-09-23T21:15:04
2020-09-23T21:15:03
null
UTF-8
Python
false
false
8,155
py
""" KAIBEL COLUMN: Modeling, Optimization, and Conceptual Design of Multi-product Dividing Wall Columns (written by E. Soraya Rawlings, esoraya@rwlngs.net, in collaboration with Qi Chen) Case study: separation of a mixture of a quaternary ...
[ "bernalde@cmu.edu" ]
bernalde@cmu.edu
16a74abc7a26336340e820d4b168116d7e3650eb
9269192570275f23871c38ffa80b3a8f5f11b04c
/ci_tests/test_data.py
3c5cde94cd8bce4afc15f9b3fecc61099d67f1cd
[ "BSD-3-Clause", "MIT" ]
permissive
nickmvincent/ugc-val-est
03e2099e997ab2f23e1617402e52217db18a6de5
b5cceda14ef5830f1befaddfccfd90a694c9677a
refs/heads/master
2022-12-12T13:44:55.145757
2020-02-15T17:34:42
2020-02-15T17:34:42
97,265,409
2
0
MIT
2022-12-07T23:57:41
2017-07-14T19:12:53
Python
UTF-8
Python
false
false
2,501
py
from nose.tools import * import numpy as np #import causalinference.core.data as d import sys sys.path.append('..') from causalinference.core import data as d def test_preprocess(): Y1 = np.array([[1.2], [3.45], [-6], [78.90]]) D1 = np.array([[0], [1], [0.0], [1]]) X1 = np.array([-1, 3, -5.6, 8.9]) Y_out, D_out,...
[ "nickmvincent@gmail.com" ]
nickmvincent@gmail.com
fc94f6e8ac7bd993cac0171e1c8f74e4d42bc05b
3ad28351d2a072fc42a3d2a8e1c8a4c91750d1d7
/hooks/update.py
749434990c6fca67d72ce931eedf06b48b38ba1b
[]
no_license
jbzdak/git-hooks
370ed0cc22ea6479b26a30a2589d4de37d1faee0
b2773be45c74fa100440bc93ca58859681c67e3f
refs/heads/master
2021-01-10T19:11:06.469209
2014-08-20T19:49:33
2014-08-20T19:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,430
py
#!/usr/bin/env python3 """ Description ----------- Update hook that automatically merges changes inside the repository. It's creation was sparked by `my question on SO <http://stackoverflow.com/q/25207942/7918>`_. Especially by `this answer <http://stackoverflow.com/a/25209198/7918>`_. Logic is as follows: ---------...
[ "jbzdak@gmail.com" ]
jbzdak@gmail.com
8517fbf24f62c684f2e5bcc7575d3c68e4b1b844
ad9bd58a3ec8fa08dfcc994d4101ee815a9f5bc0
/04_django/02_django_crud/articles/models.py
c983621e1f13e36e3f441f25e387d1cb336b722f
[]
no_license
wally-wally/TIL
93fc1d0e3bc7d030341ed54155294c68c48b4c7d
936783bc86f563646c0398c24e2fcaa707f0ed23
refs/heads/master
2023-04-28T08:59:48.235747
2023-04-12T12:06:52
2023-04-12T12:06:52
195,918,111
40
7
null
2020-09-29T16:20:46
2019-07-09T02:31:02
Python
UTF-8
Python
false
false
322
py
from django.db import models # Create your models here. class Article(models.Model): title = models.CharField(max_length=20) content = models.TextField() created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) def __str__(self): return self.tit...
[ "wallys0213@gmail.com" ]
wallys0213@gmail.com
d41b17e99845a30f66edcbb2b28cb81ba320768b
9cdbc9190def43f30b3357c7fccd92bcb0bef6a9
/pysparkexamples/wordcount_sp_test1.py
2eab64bd8a614114529f11dadf5d4749ac3e03d9
[]
no_license
sidaker/dq
2ff8fac0fc4a79d67909fb968f0a7ec8e976630a
fd41d60b6ca658d5f024701ce4a4729d41a24d30
refs/heads/master
2023-05-27T01:31:18.274913
2023-05-10T22:20:16
2023-05-10T22:20:16
225,405,776
0
0
null
2023-05-01T20:38:00
2019-12-02T15:19:30
Jupyter Notebook
UTF-8
Python
false
false
836
py
# This script uses Spark Context. but use spark Session as a best practice. # This script uses RDD's to count number of poccurenaces of each word in a file. # Alternatively you can use SparkSQL and Dataframes to achive same result. from pyspark import SparkContext if __name__ == '__main__': sc = SparkContext("loc...
[ "siddartha.bommireddy@digital.homeoffice.gov.uk" ]
siddartha.bommireddy@digital.homeoffice.gov.uk
55e30c8355947a4f5f2e294e605aa8e75023b75f
18663ba826ca14f6f177928b065787b43cea6609
/Tp4-03.py
5f856ee090d449a01b21e21f0b5b03af29930abc
[]
no_license
cainellicamila/FRRo-Soporte-2018-Grupo4
3033f82246ed19c402dda9c53c51702effb44289
dc73167af4a966608c83e0ecad64542f90163bb4
refs/heads/master
2021-04-12T08:34:55.089189
2018-08-08T12:43:58
2018-08-08T12:43:58
126,391,709
0
0
null
2018-08-08T12:43:59
2018-03-22T20:31:52
Python
UTF-8
Python
false
false
1,059
py
''' Ejercicio Crear un Formulario que usando el control Treeview muestre la una lista con los nombre de Ciudades Argentinas y su código postal (por lo menos 5 ciudades).''' import tkinter as tk from tkinter import * from tkinter import ttk c= tk.Tk() c.treeview = ttk.Treeview() c.treeview.columnconfigure(0...
[ "franmrivera@gmail.com" ]
franmrivera@gmail.com
5c6f31376bf5d30da70d749ca641b5b3ac9f542b
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/recent/GetThisValue.spec
d003dea9d3296152449da4f895132c624e396b1d
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
162
spec
1. Assert: IsPropertyReference(_V_) is *true*. 1. If IsSuperReference(_V_) is *true*, return _V_.[[ThisValue]]; otherwise return _V_.[[Base]].
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com