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
9c6ef8691cdda5261004db97d123c8fd97da3029
a7d29f8360514fe68547e3ed13bad58b43c105f0
/one-hot.py
89d5c301ef16bffc88b0367316e2fa464f5e372a
[]
no_license
Mia103/Fully-Connected-mnist
14df74c7b74d7b7b56c2bd93abd28cc9be381906
da4c4a692ab0c0e72f407a68055ca101f7fc8d2a
refs/heads/master
2023-01-09T14:18:06.308430
2020-11-15T01:41:15
2020-11-15T01:41:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
import numpy as np import torch def one_hot(w, h, arr): z = np.zeros([w, h]) # 四行七列 # print(z) for i in range(w): # 4 j = int(arr[i]) # 拿到数组里面的数字 # print(j) z[i][j] = 1 return z if __name__ == '__main__': arr = np.array([2, 5, 6, 5]) a = one_hot(len(arr), max(arr...
[ "1073811240@qq.com" ]
1073811240@qq.com
5f4d1f771eaf6dc71c4f886d200ecb5ef9096b9e
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scatter/_textposition.py
8ee29c8e4137d7c8706e52b098a7bd4f8eb59573
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
890
py
import _plotly_utils.basevalidators class TextpositionValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__(self, plotly_name="textposition", parent_name="scatter", **kwargs): super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=pare...
[ "noreply@github.com" ]
hugovk.noreply@github.com
5e526c19a2192909ac2ae479920408d744f7bb02
3aadebd3baddebc0df9f4c7cf9721818166bbc04
/proveedor/__init__.py
d0b2e53346eca442497225547d14cc6a1fb485cb
[]
no_license
juliocesar-io/login-OAuth2-flask
6a92052d29f18d3aa6ca42c492716fb4df8f5e59
bc85c19bf228ee7d0a6680d63884dde979fcd46e
refs/heads/master
2021-01-18T23:58:15.840358
2017-04-14T21:37:31
2017-04-14T21:37:31
87,135,795
4
6
null
null
null
null
UTF-8
Python
false
false
197
py
from .base import OAuth2Login from .google import GoogleLogin from .linkedin import LinkedInLogin from .facebook import FacebookLogin """ Con esto se exponen las clases del paquete proveedor. """
[ "julioc255io@gmail.com" ]
julioc255io@gmail.com
a19efc12f2b26183596277954c49bdb286c422c1
1dbc955c3d717476fa75a48cc87a05e2eceb0002
/easy/1496.path-crossing.py
caab12e19a9ba1cdbb0bc7240aa4fdd0cd23a95f
[]
no_license
gregorysimpson13/leetcode
e68eaee2ba38a1edff119eda1ccdeacc0c400d26
ae88b9f9979a5643497cb2dfeb90d19a1bcdb137
refs/heads/master
2023-03-31T23:58:58.940234
2021-04-11T14:37:31
2021-04-11T14:37:31
258,632,884
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# # @lc app=leetcode id=1496 lang=python3 # # [1496] Path Crossing # # @lc code=start class Solution: def isPathCrossing(self, path: str) -> bool: visited = set([(0,0)]) current_y, current_x = 0, 0 for direction in path: if direction == 'N': current_y = current_y + 1 ...
[ "gregorysimpson13@gmail.com" ]
gregorysimpson13@gmail.com
ef4866b671c5abaf670f4d8934cd6dc92ed482c6
f14b3e3d136de68eb769757c4f82e470a672127d
/src/python/jump_game_55_1.py
ba23a1e9cf5b218b2cff4bd0989a0d600ef50a2a
[]
no_license
1321915717/leetcode
ef7499c5ee220173345877fa9a171c8ea2cc2598
6783fa588f7b4899651e00c9775202c5693fdae3
refs/heads/master
2020-12-06T22:08:54.710546
2020-01-08T11:52:22
2020-01-08T11:52:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
# encoding='utf-8' ''' author:zhangyu date:2019.8.29 description:找出是否能跳出这个数组 ''' def get_judge_jump_arr(arr): distance = 0 length = len(arr) for index in range(1, length + 1): distance = max(distance, arr[index - 1]) if distance == 0 and index < len(arr): return False...
[ "zhangyu_xtb@geekplus.cc" ]
zhangyu_xtb@geekplus.cc
e09297bfb84f1e599108f74c4333a6a708d055ed
f5e7c491a198fc71118b4e7e0c99eb919d6c492f
/peerdid/core/did_doc_types.py
52006e7936a81a7b8717dae7acbda757f169c4c2
[ "Apache-2.0" ]
permissive
ashcherbakov/peer-did-python
594b34f00097463d18bc5751fabf65c9eb6a56aa
3d29c6a7935c0398fd0f9e353a614bc83dc514a0
refs/heads/main
2023-08-25T13:01:59.936285
2021-10-12T05:46:08
2021-10-12T05:46:08
411,213,977
0
0
Apache-2.0
2021-09-28T09:18:37
2021-09-28T09:18:36
null
UTF-8
Python
false
false
7,500
py
from enum import Enum from typing import List, Optional, Dict, Union, Tuple from peerdid.core.jwk_okp import get_verification_method_type from peerdid.errors import MalformedPeerDIDDocError from peerdid.types import ( VerificationMethodType, VerificationMethodTypeAuthentication, VerificationMethodTypeAgree...
[ "alexander.sherbakov@dsr-corporation.com" ]
alexander.sherbakov@dsr-corporation.com
ee73c7051bb04e3a09c11866e543f46b8db546dd
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/pandas/tests/io/excel/test_writers.py
c69876c6a3956f46ff2363373d4bb5b65c6129cf
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
48,292
py
from datetime import ( date, datetime, timedelta, ) from functools import partial from io import BytesIO import os import re import numpy as np import pytest import pandas.util._test_decorators as td import pandas as pd from pandas import ( DataFrame, Index, MultiIndex, get_option, se...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
aa329e73efcc73125c68dfeeb5dafe488fc417d8
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib1/grid_definition_90_def.py
86d09993933caf1e0656c097a6e64e5563028c9a
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
5,436
py
import pyeccodes.accessors as _ def load(h): h.add(_.Constant('gridDefinitionTemplateNumber', 90)) h.add(_.Unsigned('Nx', 2)) h.alias('numberOfPointsAlongXAxis', 'Nx') h.alias('Ni', 'Nx') h.alias('geography.Nx', 'Nx') h.add(_.Unsigned('Ny', 2)) h.alias('numberOfPointsAlongYAxis', 'Ny') ...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
2abd41b40062ac00b63d1dcb19b2f981a5887c28
604acbc1259d06cd36a1a6ab21223979035b3fd0
/common/views.py
1553a71cfecae4dd097c959fa13be2227cdd47d9
[]
no_license
gadjimuradov/getbike
8a531d0f24cb2c629f479a4354b3fffe1eb78072
12e354f8239f0d1a191091179e4f679e176e9a75
refs/heads/master
2021-01-19T11:26:14.019350
2017-12-12T19:56:28
2017-12-12T19:56:28
87,967,778
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
from django.shortcuts import render from django.views.generic import TemplateView from common.models import Page class OfertaView(TemplateView): template_name = 'static_page.html' def get_context_data(self, **kwargs): page = Page.objects.filter(slug='oferta').first() content = page.content ...
[ "dagdahzub@mail.ru" ]
dagdahzub@mail.ru
9583217d566ed08801e53febc90d806ded2e3711
5d622c4b5df54f880f9476931ffb697afc63a9e2
/build/code/runtime/exceptions/app/__init__.py
a71290fe93dd3d44e1576d8d2c2e7fe43a34f481
[]
no_license
anirudh458/final-lab-test
96d27219387c91f7f7fd346899324dd672eb21cb
e9aab1cd5c82993941d605cfa4a045a8db01036f
refs/heads/master
2021-06-16T19:06:41.569044
2017-05-31T19:22:59
2017-05-31T19:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
print "app_exception package"
[ "ravulaanirudh7@gmail.com" ]
ravulaanirudh7@gmail.com
555cd63b61d05816f0a15eae49cbba049649348b
4c5fae196d1d20fa5f23f3c2e271dfd02b2b8157
/Week_5/linear_regression.py
33dc15a81513855640ce362b21c5fe3d69754bc6
[]
no_license
tucpy/python_for_research_edXcourse
8436a6f2174aaeb6afcc90fc6a275633bf517227
67a0070014741765e68f9cf03c55b5a14ae5f64b
refs/heads/master
2020-04-01T16:47:54.355596
2019-01-14T08:18:04
2019-01-14T08:18:04
153,398,830
0
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
''' 1.1 Introduction to Statistical Learning Learn the differences between supervised and unsupervised learning Supervised Learning: (2 sets of data) inputs -> outputs Unsupervised Learning: inputs only Learn to distinguish regression (continuous outputs) and classification (categorical outputs) Learn about the loss fu...
[ "phtu05@gmail.com" ]
phtu05@gmail.com
741c54cbedb2dbcf80234aa3aff47dc4d328a972
fc9d76669caa494950376dc7449393946b150be3
/version4/q_table.py
e7b69968a965934dde2c2c84d1dbc181390aca0e
[]
no_license
ronvree/easy21RL
5e71db38b272892bd5bd4ddbe833361b25ee29bb
3516cb9851f144d47eb7608e3488838ec2872c17
refs/heads/master
2020-03-15T11:39:23.737528
2018-06-12T13:27:33
2018-06-12T13:27:33
132,125,135
0
0
null
null
null
null
UTF-8
Python
false
false
4,808
py
import collections from version4.core import Observation, Action, DiscreteEnvironment from version4.q_estimator import QEstimator class QTable(collections.MutableMapping, QEstimator): """ Q Table implementation """ def __init__(self, observation_space=Observation, action_space=Action, *args, **k...
[ "ronvbree@gmail.com" ]
ronvbree@gmail.com
c1a15665d0f323fcddfcb546c8b8319fe74a69bb
c471e8d4d5cf59a68ccfbe79037cb256505b5502
/venv/lib/python3.8/site-packages/async_upnp_client/exceptions.py
6144620139c9bee4769a572f3d1bbc7cd79a1174
[ "Apache-2.0" ]
permissive
vsevolodpohvalenko/home-assistant
b7fc37537929cc2c9989df357a8b76eb4de849e3
4ae19b7d5d843c65ba700922c1814755257eb4e0
refs/heads/master
2023-07-16T08:05:07.126996
2021-08-30T11:52:35
2021-08-30T11:52:35
401,318,509
0
0
null
null
null
null
UTF-8
Python
false
false
2,496
py
# -*- coding: utf-8 -*- """Exceptions raised by async_upnp_client.""" import asyncio from typing import Any, Optional from xml.etree import ElementTree as ET import aiohttp # pylint: disable=too-many-ancestors class UpnpError(Exception): """UpnpError.""" class UpnpContentError(UpnpError): """Content of U...
[ "vsevolod.pohvalenko@gmail.com" ]
vsevolod.pohvalenko@gmail.com
6fe504cb05353a3e5517e01576fdf3a57f6a4db5
0ffc525a9e5a96a3d1ea8875ef5e2224bce70f68
/rtasr.py
34cad98b6d7a448072324407772069410428b2de
[]
no_license
changmeng72/iflytekasr
90e5e5d8a7dacc89ed36ad60965fe03de2348dc2
366ede9f19a8061f0ab9f776eccb96dd017f80a3
refs/heads/master
2022-12-24T01:20:00.554712
2020-09-26T11:18:26
2020-09-26T11:18:26
297,508,910
0
0
null
null
null
null
UTF-8
Python
false
false
4,725
py
# -*- encoding:utf-8 -*- import sys import hashlib from hashlib import sha1 import hmac import base64 from socket import * import json, time, threading from websocket import create_connection import websocket from urllib.parse import quote import logging from audioInf import audioInf import datetime ...
[ "noreply@github.com" ]
changmeng72.noreply@github.com
60f92678edfa9597c6d3e6d434c641d66875506e
f33b30743110532ddae286ba1b34993e61669ab7
/算法学习/排序/插入排序.py
f00e5265b3985fc3f59308a77a9eac55dbb1bc3d
[]
no_license
c940606/leetcode
fe9dcee7a5daa4d52999d5f53253dd6dd33c348b
631df2ce6892a6fbb3e435f57e90d85f8200d125
refs/heads/master
2021-07-10T14:01:26.164966
2020-08-16T10:46:16
2020-08-16T10:46:16
186,588,449
3
0
null
null
null
null
UTF-8
Python
false
false
276
py
def insertion_sort(nums): n = len(nums) for i in range(1, n): while i > 0 and nums[i - 1] > nums[i]: nums[i - 1], nums[i] = nums[i], nums[i - 1] i -= 1 return nums print(insertion_sort([4, 5, 2, 3, 2, 1])) print(insertion_sort([]))
[ "762307667@qq.com" ]
762307667@qq.com
6a5fa361ab70549503365b41470c719553fd1a6f
3b9bf497cd29cea9c24462e0411fa8adbfa6ba60
/leetcode/Problems/47--Permutations-II-Medium.py
6a00475a17b2bdc6c7d93d91a283a96b09c68be6
[]
no_license
niteesh2268/coding-prepation
918823cb7f4965bec096ec476c639a06a9dd9692
19be0766f6b9c298fb32754f66416f79567843c1
refs/heads/master
2023-01-02T05:30:59.662890
2020-10-17T13:12:34
2020-10-17T13:12:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
class Solution: def __init__(self): self.result = set() def genPerm(self, nums, pos): if pos == len(nums): self.result.add(tuple(nums)) return for i in range(pos, len(nums)): nums[i], nums[pos] = nums[pos], nums[i] self.genPerm(nums, pos+1)...
[ "akulajayaprakash@gmail.com" ]
akulajayaprakash@gmail.com
3a16d58249149c893116b2ad87f301e89fc381ee
bdad7109f7dc9c8f13c01ab5667b05b869f69942
/convolutional-modern/batch-norm.py
e97996b440bedb5e888e9e7da6b57223c80dead2
[ "Apache-2.0" ]
permissive
xuhuasheng/Dive2DeepLearning-pytorch
eb92bd734b631cf2293d4f48f602ee0d31c5cc9f
b8e6bb175081037baf0342df66cb7ed7eae504aa
refs/heads/main
2023-07-24T00:22:24.373275
2021-08-23T09:40:03
2021-08-23T09:40:03
386,465,538
0
0
null
null
null
null
UTF-8
Python
false
false
3,512
py
import torch from torch import nn from d2l import torch as d2l class BatchNorm(nn.Module): def __init__(self, num_features, num_dims): """ num_features: nums of outputs for fc nums of output channels for convolution num_dims: 2 for fc, 4 for conv ...
[ "xu_watson@163.com" ]
xu_watson@163.com
02abde93d993371abf0fde246d649ca1d4dc1783
8c556462da27b4291cd7b1fd64dc5b366edea118
/test_user_model.py
95df3996fea41f33ab54398974b0be3d7cf7bcf2
[]
no_license
grusbarsky/Warbler
acfe3db055838c34e53e7938e7a9ed7762521739
a870439b30241188fe472ff7c2e56b9dfb780737
refs/heads/master
2023-06-01T09:15:05.044304
2021-07-06T12:11:53
2021-07-06T12:11:53
383,455,190
0
0
null
null
null
null
UTF-8
Python
false
false
4,534
py
"""User model tests.""" # run these tests like: # python -m unittest test_user_model.py import os from unittest import TestCase from sqlalchemy import exc from models import db, User, Message, Follows # BEFORE we import our app, let's set an environmental variable # to use a different database for tests (we need t...
[ "gretarusbarsky@gmail.com" ]
gretarusbarsky@gmail.com
c1019ce129d1fbefb5f5f5306c902a07f9e68418
7699cd22ca370c89fb949eca80c587c0c3a9f8d5
/clients/opening_quote/order.py
31e3d652b4606bf3882429c9d385a147378a8f15
[]
no_license
ccliuyang/trader
8bc2d5f144784c9deca92908c209dc9dd69da4f2
f7975352bd6c2f34e164a87b03c0cc5e02b48752
refs/heads/master
2023-02-10T07:44:24.498417
2021-01-12T02:06:08
2021-01-12T02:06:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,619
py
_orders = {} _bills = [] success_count = 0 fail_count = 0 CUT_RATE = 0.99 def add_bill(code, tick, order, reason): global success_count, fail_count if order['bought'] < tick['bid_price']: success_count += 1 else: fail_count += 1 profit = "{0:.2f}".format((tick['bid_price'] * 0.99...
[ "nnnlife@gmail.com" ]
nnnlife@gmail.com
05fc5a4fb73db5fa38a7c6b8932a491202fd6e61
47ef6997d03f4d5c921c83cc09aef1dfc6828e2c
/zeus/datasets/transforms/Sharpness.py
35d24976224e2d776d65277e7a5d04823ef35661
[ "MIT" ]
permissive
huawei-noah/xingtian
620c9f245183d636e0a65659fd99a984397ecbd4
e4ef3a1c92d19d1d08c3ef0e2156b6fecefdbe04
refs/heads/master
2023-09-03T01:10:21.768245
2022-03-21T03:39:39
2022-03-21T03:39:39
287,759,621
308
91
MIT
2023-09-12T11:33:22
2020-08-15T14:13:06
Python
UTF-8
Python
false
false
1,391
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "hustqj@126.com" ]
hustqj@126.com
6c39cf27b1a8bfefeeb548aa5526b99c3ee7d9f1
f569978afb27e72bf6a88438aa622b8c50cbc61b
/douyin_open/ToutiaoVideoDataVideoData/models/extra_body.py
bff66208825eef8a467d4080c68bf9feae92a7c5
[]
no_license
strangebank/swagger-petstore-perl
4834409d6225b8a09b8195128d74a9b10ef1484a
49dfc229e2e897cdb15cbf969121713162154f28
refs/heads/master
2023-01-05T10:21:33.518937
2020-11-05T04:33:16
2020-11-05T04:33:16
310,189,316
1
0
null
null
null
null
UTF-8
Python
false
false
3,674
py
# coding: utf-8 """ 通过头条视频id批量获取已分享视频数据信息 # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class ExtraBody(object): """NOTE: This class is auto generated by the swagger code generat...
[ "strangebank@gmail.com" ]
strangebank@gmail.com
e5652a18f6d27d113ab1dafdbac24086d99752c6
437fc395ce1081e8497f13bd753427c9b307623d
/django-verdant/rca/migrations/0214_auto__add_field_staffpage_staff_location.py
56369f5c2cfc509f39f6facf12d7c2f0847c0cee
[]
no_license
asselapathirana/verdant-rca
8c64cfbfaae666909132607c631fdd348367847a
fa820a71d387af2c1d2df41a83bbc157baeb4e05
refs/heads/master
2021-01-24T20:40:54.981839
2015-06-27T10:18:08
2015-06-27T10:18:08
38,152,892
0
0
null
2015-06-27T08:21:30
2015-06-27T08:21:30
null
UTF-8
Python
false
false
178,742
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'StaffPage.staff_location' db.add_column(u'rca_staffpage',...
[ "karl@torchbox.com" ]
karl@torchbox.com
db5e9086494ab34a8d02c3c416a00e10b122bd82
2a1b8a671aceda6bc446f8ce26400aa84fa444a6
/Packs/CommonScripts/Scripts/Ping/Ping_test.py
599c1405e6bfba6b7971974ac003a51fcead211e
[ "MIT" ]
permissive
demisto/content
6d4722d46f0ff0beea2748e9f7de585bf91a78b4
890def5a0e0ae8d6eaa538148249ddbc851dbb6b
refs/heads/master
2023-09-04T00:02:25.618032
2023-09-03T21:56:22
2023-09-03T21:56:22
60,525,392
1,023
1,921
MIT
2023-09-14T20:55:24
2016-06-06T12:17:02
Python
UTF-8
Python
false
false
1,433
py
import demistomock as demisto from CommonServerPython import entryTypes from Ping import main import re import pytest # To run the tests in an editor see: test_data/ping RETURN_ERROR_TARGET = 'Ping.return_error' @pytest.mark.parametrize('address', ['google.com', '8.8.8.8']) def test_ping(mocker, address): mocke...
[ "noreply@github.com" ]
demisto.noreply@github.com
7e56175706f4b603833e39f34ff40de4aee7f059
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/googlecloudsdk/command_lib/iam/flags.py
3cd3dccb6ce54eecacc55da9edcd427ea59eaffc
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
1,421
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
d58e7eade35dd16b7bd606261d7c6c06e342fca0
22db0ed6804720893e0b4010eeb95ab0abfa2566
/offset.py
10612f8baf75f83760c8bc7588559a6711746f62
[]
no_license
bryant1410/Burrito-Bot
b029987dccdabef4286bd6a6e7f0746c8d13f2ca
5a40dc45cf7e2a54f70ec8f1cbad7e1128655dc8
refs/heads/master
2021-01-19T20:12:11.153369
2017-04-17T09:35:47
2017-04-17T09:35:47
88,493,721
1
0
null
2017-04-17T09:35:48
2017-04-17T09:35:48
null
UTF-8
Python
false
false
275
py
import json def load_from_json(): with open('offsets.json', 'rb') as f: return json.load(f) def save_to_json(offsets): with open('offsets.json', 'wb') as f: f.write(json.dumps(offsets)) __offsets = load_from_json() x = __offsets[0] y = __offsets[1]
[ "audionautic@gmail.com" ]
audionautic@gmail.com
6b09b17790cca59f69dd57a5332b014c42a5e4fe
da80e98242b29927dd5c0f4b30c187e353209d52
/14-web-development-with-flask/your-first-flask-app/venv/bin/pip
9a090622c0d48d63991ae7c7bacc843f6ff31d9d
[]
no_license
ricardofelixmont/python-course-udemy
83d9de182c40db0db8dde9b0265332806990e8d4
07903489c54693cacf861679af80dcf630f12d0b
refs/heads/master
2021-06-15T21:57:24.105215
2019-10-05T21:29:16
2019-10-05T21:29:16
163,214,014
0
0
null
2021-03-20T00:35:57
2018-12-26T20:09:02
Python
UTF-8
Python
false
false
460
#!/home/semantix/workspace/python-course-udemy/14-web-development-with-flask/your-first-flask-app/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = ...
[ "ricardofelix_mont@outlook.com" ]
ricardofelix_mont@outlook.com
41475aa70814d6da1722f4c2bf2cf1ecd8ef1642
eb54a89743222bc7d72cf7530e745b8986cad441
/programmers/level2/42842.py
abf7ceaed07b526d8f429c10ce60d821f42dc46d
[]
no_license
ugaemi/algorithm
db341809e2497b36e82fc09939ae8e3f1ca7d880
e4f57f01d21f822eb8da5ba5bfc04c29b9ddce78
refs/heads/master
2023-01-10T05:16:55.167675
2023-01-04T13:12:20
2023-01-04T13:12:20
200,671,606
3
10
null
2022-02-27T12:52:31
2019-08-05T14:28:56
Python
UTF-8
Python
false
false
618
py
import math import unittest from typing import List def carpet(brown: int, yellow: int) -> List[int]: for yellow_w in range(int(math.sqrt(yellow)), yellow + 1): yellow_h = int(yellow / yellow_w) if yellow_h > yellow_w: continue if brown == (yellow_w + 2) * (yellow_h + 2) - yell...
[ "u.gaemi@gmail.com" ]
u.gaemi@gmail.com
79bb4d5ca2bf9e1f7caca90417fe1a49a1728fab
c5744c2fda48ae6a79c155c641fe98021a0cb7f3
/PyQtExamples/examples/richtext/textedit/textedit_rc.py
85159a4cc17c147b809b8a65d9bd473cf83e03f9
[]
no_license
skinkie/Scripts
e0fd3d3f767612ade111f28bc7af3e1b25fc2947
80a1ba71ddf9a0c5ff33866832cb5c42aca0c0b1
refs/heads/master
2021-05-31T16:57:21.100919
2016-05-23T09:58:59
2016-05-23T09:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
237,726
py
# -*- coding: utf-8 -*- # Resource object code # # Created: Wed May 15 17:46:46 2013 # by: The Resource Compiler for PyQtExamples (Qt v5.0.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x0a\x15\ \x00\ \x00\x38\x1d\x78\x9c\xdd\x5b\x5b\x73\xdb\...
[ "death_finger@sina.com" ]
death_finger@sina.com
7250bbb2571a13209ae86a6f2277998d990ccc28
3a28b1a12d0710c06f6360381ad8be6cf3707907
/modular_model/ModularTask/VLEThermo.py
06a4074d5c361688b927b366ecdd991cbe0886a3
[]
no_license
WheatZhang/DynamicModelling
6ce1d71d3b55176fd4d77a6aedbaf87e25ce4d02
ea099245135fe73e8c9590502b9c8b87768cb165
refs/heads/master
2020-06-15T14:12:50.373047
2019-07-05T01:37:06
2019-07-05T01:37:06
195,319,788
4
0
null
null
null
null
UTF-8
Python
false
false
10,179
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import ModularTask.CstmThermo import ModularTask.Thermodynamics import os class SimpleFittingComposition(ModularTask.Thermodynamics.CompositionThermo): def __init__(self, task): super().__init__(task) self.attributes['NumOfComponent']=2 self.attri...
[ "1052632241@qq.com" ]
1052632241@qq.com
cb8e7c621659995a81fe4667c2caeb997e986a8c
614cad3588af9c0e51e0bb98963075e3195e92f5
/common/debugger.py
b86a1fa6a82e27f150fc7e9720de6886702aff50
[]
no_license
dragonlong/haoi-pose
2810dae7f9afd0a26b3d0a5962fd9ae8a5abac58
43388efd911feecde588b27a753de353b8e28265
refs/heads/master
2023-07-01T14:18:29.029484
2021-08-10T10:57:42
2021-08-10T10:57:42
294,602,794
0
0
null
null
null
null
UTF-8
Python
false
false
7,531
py
import numpy as np import os from os import makedirs, remove from os.path import exists, join import numpy as np from numpy.linalg import matrix_rank, inv from plyfile import PlyData, PlyElement COLOR_MAP_RGB = [[0, 0, 0], [0, 0, 255], [245, 150, 100], [245, 230, 100], ...
[ "lxiaol9@vt.edu" ]
lxiaol9@vt.edu
79f04428f310e8d0470df301f786b9f97a3a5910
a82aa8430e32eaf62df0f44b20afb0e7d50c3d7b
/manage.py
dcdd78fb8f8f669f2d5904eb4abc0b46e4925a1a
[ "MIT" ]
permissive
morynicz/ippon_back
314daac99f79247b749dc46d59a645a6eb840263
dce901bfc649c6f8efbbf0907654e0860606b3e3
refs/heads/master
2022-12-20T23:33:10.898738
2021-10-17T09:25:39
2021-10-17T09:25:39
124,851,931
0
2
MIT
2022-12-08T12:37:26
2018-03-12T07:43:17
Python
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ippon_back.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "morynicz@gmail.com" ]
morynicz@gmail.com
9647c1a17e6b3420e7b322cab597777af58d7f71
bf99b1b14e9ca1ad40645a7423f23ef32f4a62e6
/AtCoder/abc/093c_2.py
fe665d6c11a8db43c136992536a8379b7560f763
[]
no_license
y-oksaku/Competitive-Programming
3f9c1953956d1d1dfbf46d5a87b56550ff3ab3db
a3ff52f538329bed034d3008e051f30442aaadae
refs/heads/master
2021-06-11T16:14:12.635947
2021-05-04T08:18:35
2021-05-04T08:18:35
188,639,647
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
A, B, C = map(int, input().split()) A, B, C = sorted((A, B, C)) ans = 0 if sum([C % 2 == a % 2 for a in (A, B, C)]) == 2: ans += 1 if A % 2 == C % 2: A += 1 else: B += 1 C += 1 ans += sum([C - a for a in (A, B, C)]) // 2 print(ans)
[ "y.oksaku@stu.kanazawa-u.ac.jp" ]
y.oksaku@stu.kanazawa-u.ac.jp
c949b9dc3bfacb4a60bed2d15f5748db5680996c
85dd15ba1da5e8b75b44b4b0678cbbfc291e2df4
/fcn/models/fcn8s.py
f405cc6eea4109254724ec588c826785be800dd0
[ "MIT" ]
permissive
chhxiaoke/fcn-1
0751559d2074832a9e45fbd2a80ccdf793282a0f
2af88ca590630a6265bcb465d0a69d357e29441e
refs/heads/master
2020-08-02T02:23:09.085559
2016-10-29T12:36:21
2016-10-29T12:36:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,925
py
import chainer from chainer import cuda import chainer.functions as F import chainer.links as L from chainer import Variable import numpy as np class FCN8s(chainer.Chain): """Full Convolutional Network 8s""" def __init__(self, n_class=21): self.n_class = n_class super(FCN8s, self).__init__( ...
[ "www.kentaro.wada@gmail.com" ]
www.kentaro.wada@gmail.com
beee16a0b2722335a0a9647b887eb3bbceb42aee
f74ecd9c3578fd4d220ad5cbd110cd146dd825a6
/BDonor/asgi.py
3513c2250ebbc8edd86c3060fb337721e53745e1
[]
no_license
NumanIbnMazid/bdonor
d83ba2fc382cc4c2d254d5f5fe6b27e8a6d8a42c
a81d465dbe314df5e3d043f7f1b32a56ddb3da79
refs/heads/master
2022-12-11T19:47:31.300217
2019-12-01T01:17:56
2019-12-01T01:17:56
187,063,232
1
0
null
2022-12-08T05:23:12
2019-05-16T16:21:32
JavaScript
UTF-8
Python
false
false
300
py
import os import django from channels.routing import get_default_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BDonor.settings.development') # os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BDonor.settings.pythonanywhere') django.setup() application = get_default_application()
[ "numanibnmazid@gmail.com" ]
numanibnmazid@gmail.com
5beae24beec764ba590513c7e50a704dab10c722
a407a2dc20f4a3d1bad8582f09b69e52c34004bf
/gd.py
af0977dda6308c91cf2269f5910343378a7587b5
[]
no_license
vpavlenko/misc
d77e963c453d727201ee12c28eddfae203382db9
3c7b6d7b3ce9c226aa42647a57f8367dd144053b
refs/heads/master
2020-12-24T16:35:47.810551
2017-09-23T16:37:13
2017-09-23T16:37:13
9,734,161
7
1
null
null
null
null
UTF-8
Python
false
false
1,002
py
#!/usr/bin/python3 # Howto: # $ sudo apt-get install graphviz # $ sudo apt-get install python3 # $ cat > mygraph # 3 4 # 1 2 # 1 3 # 1 4 # 2 4 # $ gd mygraph from sys import argv, exit from os import execv if len(argv) < 2: print('Usage: gd FILENAME') exit(1) fin = open(argv[1], 'r').readlines() fout = open...
[ "cxielamiko@gmail.com" ]
cxielamiko@gmail.com
a1a3277cfe5ad2e1ab1b62adce20701663f5758c
72d010d00355fc977a291c29eb18aeb385b8a9b0
/Axiom_DirectLink/__init__.py
da478b5738e64e69972ce14956c0ae1a2dff9aaf
[]
no_license
maratbakirov/AbletonLive10_MIDIRemoteScripts
bf0749c5c4cce8e83b23f14f671e52752702539d
ed1174d9959b20ed05fb099f0461bbc006bfbb79
refs/heads/master
2021-06-16T19:58:34.038163
2021-05-09T11:46:46
2021-05-09T11:46:46
203,174,328
0
0
null
2019-08-19T13:04:23
2019-08-19T13:04:22
null
UTF-8
Python
false
false
807
py
# Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Axiom_DirectLink/__init__.py # Compiled at: 2018-04-23 20:27:04 from __future__ import absolute_import, print_function, unicode_literals from .Axiom_DirectLink import Axiom_DirectLink def create_instance...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
ad4deda152fac0359eb4a3e103bf326a8c6e662c
aa3cc5cddf07721962cdd92611daa0198ecc32ea
/nerds/output/brat.py
4382c46496073abcd8df0c5d95922dd1345d4011
[]
no_license
druv022/Disease-Normalization-with-Graph-Embeddings
486a7c59d94ff502145796c1921611b937a4006a
c816ba37815d06bea394a99614e07baa3ebed5f2
refs/heads/master
2023-02-26T12:55:18.927522
2023-02-14T02:36:15
2023-02-14T02:36:15
242,658,320
3
1
null
null
null
null
UTF-8
Python
false
false
5,796
py
import codecs from pathlib import Path from nerds.output.base import DataOutput from nerds.util.logging import log_progress, get_logger log = get_logger() class BratOutput(DataOutput): """ Writes data from produced annotation files to a specified folder. Attributes: path_to_folder (str): The pa...
[ "c.thorne.1@elsevier.com" ]
c.thorne.1@elsevier.com
08f23de167190cc7439597585b8e7c65ee308fc0
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/GFocalV2/configs/gcnet/cascade_mask_rcnn_x101_32x4d_fpn_syncbn-backbone_1x_coco.py
b49c44c12c0fda7cff05e3b1a5cf37002590bc7e
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
764
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
8ebe1ab5df850a37754b47c51e4ae5ac3cd1c835
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/jyGco3e82sNfYKvCj_12.py
35665607e5d64f22119eb985af3da2e1d208a13f
[]
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
380
py
""" Create a function that takes an integer `n` and reverses it. ### Examples rev(5121) ➞ "1215" rev(69) ➞ "96" rev(-122157) ➞ "751221" ### Notes * This challenge is about using two operators that are related to division. * If the number is negative, treat it like it's positive. """ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5b0190228d1757b74550666c64e53ec2a4d333a9
a8592d34f144b71794ebf30f1c2a1b5faf0b053c
/quarto_docs/PDE_parabolic/ex_diffu_2d_adi_v2.py
51ac303c58316a5d6fad84b41879f8785ecd7d5f
[]
no_license
f-fathurrahman/ffr-MetodeNumerik
ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327
e3a9da224c0fd5b32e671708e890018a3c4104c4
refs/heads/master
2023-07-19T22:29:38.810143
2023-07-07T10:02:34
2023-07-07T10:02:34
107,272,110
2
2
null
null
null
null
UTF-8
Python
false
false
3,099
py
import numpy as np α = 1.0 def u_exact(x, y, t): return np.exp(-t)*np.exp(-x**2 - y**2) def f_source(x, y, t): return (4*x**2 + 4*y**2 - 1)*np.exp(-t)*np.cos(2*x*y) def initial_cond(x,y): return u_exact(x,y,0) def bx0(y, t, x0): return u_exact(x0, y, t) def bxf(y, t, xf): return u_exact(xf, y,...
[ "fadjar.fathurrahman@gmail.com" ]
fadjar.fathurrahman@gmail.com
067f999aa67ffbcf728d07a354394eb30c117f33
1fdcc5064ac76c4c73e0797c2121811039ea23ab
/answers/AkhandAgrawal/Conditionals/question 3.py
ff00a801e8829640eea84a6c649983af75dfeb66
[]
no_license
Codechef-SRM-NCR-Chapter/Code-Genesis
0904c3e26955674310b47b0f1aecbca3a28e8e81
443caa730c2df256b82ad70cabf930cf0c11a0e9
refs/heads/master
2023-06-15T23:12:59.346453
2021-07-05T13:02:48
2021-07-05T13:02:48
378,526,769
3
65
null
2021-07-15T10:22:22
2021-06-20T00:11:01
C++
UTF-8
Python
false
false
514
py
customerID = input("Input Customer ID: ") name = input("Input the name of the customer: ") waterAmount = int(input("Input the litres consumed by the customer: ")) if waterAmount <= 199: charge = 3 elif waterAmount > 200 and waterAmount < 400: charge = 3.35 elif waterAmount >= 400 and waterAmount < 600: ...
[ "noreply@github.com" ]
Codechef-SRM-NCR-Chapter.noreply@github.com
b485c6e7518843ce972f082a671272389483ab25
2b44cbc9ec1daf218d9e9154f30d633430122416
/setup.py
dc5a70466dfb2a25d4958555e5a118331f97e9e8
[ "BSD-3-Clause" ]
permissive
jamespjh/greetings
3862a06dec10921170b87832afc38a7fb0aad40a
a173eae2e9a38f53c61f02ea8d03948ffa34b6ff
refs/heads/master
2020-05-19T08:03:09.683211
2015-11-19T12:43:02
2015-11-19T12:43:02
25,568,001
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
### "Whole" from setuptools import setup, find_packages setup( name = "Greetings", version = "0.1", packages = find_packages(exclude=['*test']), scripts = ['scripts/greet'], install_requires = ['argparse'] )
[ "jamespjh@gmail.com" ]
jamespjh@gmail.com
0028b64889d58737cd31972f406109e71731519b
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow_estimator/python/estimator/tpu/_tpu_estimator_embedding.py
cd4b2467f7b6209a74dfa90a36a1c2ec0606c691
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:4209287802749343c73462490ffe388f832d5ab344359598159b8d0cdbbb7a75 size 17294
[ "github@cuba12345" ]
github@cuba12345
cb82525a6f616d741d41e07ceddbdb94722fc277
2fb0af0a30e3133ef4c5e649acd3f9911430062c
/src/toontown/battle/BattleBase.py
6dab8527a35c8dd7f9175809a3ebd5cba3ea58a8
[]
no_license
Teku16/Toontown-Crystal-Master
4c01c0515f34a0e133441d2d1e9f9156ac267696
77a9345d52caa350ee0b1c7ad2b7461a3d6ed830
refs/heads/master
2020-05-20T06:02:58.106504
2015-07-25T07:23:59
2015-07-25T07:23:59
41,053,558
0
1
null
2015-08-19T18:51:11
2015-08-19T18:51:11
null
UTF-8
Python
false
false
8,501
py
from pandac.PandaModules import * from toontown.toonbase.ToontownBattleGlobals import * from direct.task.Timer import * import math from direct.directnotify import DirectNotifyGlobal from toontown.toon import NPCToons from toontown.toonbase import TTLocalizer TOON_ID_COL = 0 TOON_TRACK_COL = 1 TOON_LVL_COL = 2 TOON_TGT...
[ "vincentandrea15k@gmail.com" ]
vincentandrea15k@gmail.com
130d166b538f60ec4987e941ce56fad0e56588f6
9d1238fb0e4a395d49a7b8ff745f21476c9d9c00
/framework/Tests/PAS/PAS/GeneralSecrets/SecretsV2Folders/UpdateFolder/API/test_edit_folder_permission_to_rename_folder.py
c104c0e18ec1af8416a8fcb0dbdb7ee56cbc54cd
[]
no_license
jaspalsingh92/TestAutomation-1
a48ee1d3b73386f1bf8f53328a5b55444238e054
e631c67255b10f150e0012991fb1474ede904417
refs/heads/master
2023-04-18T14:52:08.836221
2021-04-07T12:01:07
2021-04-07T12:01:07
357,175,690
0
0
null
null
null
null
UTF-8
Python
false
false
3,345
py
import logging import pytest from Shared.API.secret import give_user_permissions_to_folder, update_folder, get_folder from Utils.guid import guid logger = logging.getLogger('test') @pytest.mark.api @pytest.mark.pas @pytest.mark.pasapi @pytest.mark.bhavna def test_edit_folder_permission_to_rename_folder(core_session,...
[ "singh.jaspal92@gmail.com" ]
singh.jaspal92@gmail.com
11d04acd6edf6d3fd236b90caad668adefd68a80
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-scsp/aliyunsdkscsp/request/v20200702/UpdateTicketRequest.py
a32236dfc221e45370fbe1700d937cc9f32b64d8
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,186
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
699788beb9512a7838118f730f8238d4bc98dd85
df35bc7a412d982a8c3a1d10465ae65d5267e906
/PyOpenWorm/mapper.py
24541bd07b0e8a16ba686864a4feb13eac4c5851
[ "MIT" ]
permissive
EST09/PyOpenWorm
ba8ac8d680dab5aa98a09f828bd025d07aa218fe
12320bf76aff4a38c84860aaf4bee6e713a614b3
refs/heads/dev
2020-07-25T02:39:48.728277
2019-09-12T20:18:26
2019-09-12T20:18:26
202,120,635
0
0
MIT
2019-08-13T12:55:52
2019-08-13T10:29:25
Python
UTF-8
Python
false
false
7,721
py
from __future__ import print_function import importlib as IM import logging import rdflib as R import yarom from .configure import Configureable from .module_recorder import ModuleRecordListener from itertools import count from six import with_metaclass from yarom.mapperUtils import parents_str from yarom.utils import ...
[ "watts.mark2015@gmail.com" ]
watts.mark2015@gmail.com
0f6852393a4618cb708320acea9b8b2d47c838d2
9e9b72331704f28d965ffd47fd2e00238ec10e1c
/lets_ride/views/ride_request/request_response_mocks.py
ed8cd56e85849d33c206d0715ac55863fac1e44a
[]
no_license
gundetisagar/lets_ride
eb1cbf9c03a3f20a4aaf6fedcb357e310cc62fc8
80274d09ad1750f093527ed6831e524006a981f2
refs/heads/master
2022-11-27T23:50:44.467648
2020-08-08T05:10:32
2020-08-08T05:10:32
280,617,719
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
REQUEST_BODY_JSON = """ { "from_place": "string", "to_place": "string", "date_time": "2099-12-31 00:00:00", "flexible_timings": true, "start_date_time": "2099-12-31 00:00:00", "end_date_time": "2099-12-31 00:00:00", "no_of_seats": 1, "luggage_quantity": 1 } """ RESPONSE_400_JSON = ""...
[ "sagergundeti@gmail.com" ]
sagergundeti@gmail.com
28335def9dddd6f12a9313e914442ac33d75d096
b9138dc41934a7fb69f7e651d1231713d75bcd7f
/Kafka/consumer.py
b18ce6a41535a961c3dffe74533edc228153a6e5
[]
no_license
sankar-vs/Databricks
0c8442329bc7e89e70825809f9861002f2622a27
70b7e58731f3ca56ca4e344817d849914ea653e8
refs/heads/master
2023-06-03T09:44:42.194889
2021-06-25T02:30:25
2021-06-25T02:30:25
370,633,859
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
''' @Author: Sankar @Date: 2021-06-22 09:06:25 @Last Modified by: Sankar @Last Modified time: 2021-06-25 12:35:49 @Title : Kafka Consumer ''' from kafka import KafkaConsumer consumer = KafkaConsumer('demo',bootstrap_servers=['localhost:9092'], api_version=(0,10,1)) for msg in consumer: print (msg.value)
[ "vs.sankar95@gmail.com" ]
vs.sankar95@gmail.com
fc10130b37996ab585e35edacd91f597a1185616
824a16811d5c46532756c4dc7888a0564322aa38
/galsim/config/stamp_ring.py
07578c6ae9099a56c6876d3753cd1f2d8ebdd82d
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
mmarseille/GalSim
1ed6401e2d8eba2a0f5e9e7c0636c018176c7ad0
57a922cc8dc03d1988ab5a5546d6d0698c9bd21c
refs/heads/master
2021-05-02T13:18:34.742968
2018-01-05T02:57:47
2018-01-05T02:57:47
120,756,497
0
0
null
2018-02-08T12:07:09
2018-02-08T12:07:09
null
UTF-8
Python
false
false
7,665
py
# Copyright (c) 2012-2017 by the GalSim developers team on GitHub # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # https://github.com/GalSim-developers/GalSim # # GalSim is free software: redistribution and use in source and binary forms, # with or w...
[ "michael@jarvis.net" ]
michael@jarvis.net
90c1da867831344a5345911db34a226f6eb529d3
50176ff45671d159196ec35459feeda71d6a9f8e
/codes/chapter-04/eg_4-13.py
33d9d3b3169076ceb1faec8405ab04dc3fc1b509
[]
no_license
ahddredlover/python_book
e7fe19c4b851906232022ca6838e4f45b8eb1a67
b997c838fb9db128a9c57f713bf48e86a8f18075
refs/heads/main
2023-08-25T05:44:53.112903
2021-10-02T13:35:20
2021-10-02T13:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
def say(greeting='Hello', *describe): print(type(describe)) print(f'{greeting} {" and ".join(describe)} Python!') if __name__ == "__main__": say('Hello', 'beautiful', 'powerful', 'easy')
[ "liuchen.chn@hotmail.com" ]
liuchen.chn@hotmail.com
3ef8254a640cef727f90f58eb91d9a2d6c76febe
8bbeb7b5721a9dbf40caa47a96e6961ceabb0128
/python/561.Array Partition I(数组拆分 I).py
7c2cc23c5afa2f8d2044c2433726f484db68fac5
[ "MIT" ]
permissive
lishulongVI/leetcode
bb5b75642f69dfaec0c2ee3e06369c715125b1ba
6731e128be0fd3c0bdfe885c1a409ac54b929597
refs/heads/master
2020-03-23T22:17:40.335970
2018-07-23T14:46:06
2018-07-23T14:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
""" <p> Given an array of <b>2n</b> integers, your task is to group these integers into <b>n</b> pairs of integer, say (a<sub>1</sub>, b<sub>1</sub>), (a<sub>2</sub>, b<sub>2</sub>), ..., (a<sub>n</sub>, b<sub>n</sub>) which makes sum of min(a<sub>i</sub>, b<sub>i</sub>) for all i from 1 to n as large as possible. </p>...
[ "lishulong@wecash.net" ]
lishulong@wecash.net
a6d48a3aa44cb7efe37eb64e7c335424b3701212
c315a08fc6c5f34c08e64a129f28b221d6b8992b
/Backend/SocialAppBackend/BackendApps/migrations/0007_delete_usermodel.py
77c65133bad24e7e24cca497fc3dfcace06ea143
[]
no_license
Mrsth/SocialWebApp
33881006ad72b6efbcc0e02bef98504fb411472a
ae09b1992b8997827c4f5e71d3b36ca383a2d27a
refs/heads/main
2023-04-01T09:05:11.048785
2021-04-08T05:08:36
2021-04-08T05:08:36
355,770,341
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# Generated by Django 3.1.5 on 2021-04-04 10:32 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('BackendApps', '0006_auto_20210402_1050'), ] operations = [ migrations.DeleteModel( name='UserModel', ), ]
[ "mrsth1234@gmail.com" ]
mrsth1234@gmail.com
cde0f31e79e787f8dafe981ae61f660cc6dbe47e
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/oathkeeper/python/ory_oathkeeper_client/models/judge_internal_server_error.py
1ec74547ebb8814f5cf8276fde72898e67e132fe
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
3,596
py
# coding: utf-8 """ ORY Oathkeeper ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies. # noqa: E501 The version of the OpenAPI document: v0.0.0-alpha.37 Contact: hi@ory.am Genera...
[ "noreply@github.com" ]
simoneromano96.noreply@github.com
0dd12f344f5549c0dfb714676fb852bf267bb3c2
4d523d4d9d1fdd643bb42403ffc4cab67ee260ca
/test/quantization/pt2e/test_quantize_pt2e.py
d4770c1d0e0ad302149864412362ce34f7c570e7
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
kiszk/pytorch
6061cd5afc053e2f5c2bfe0d251f3b2d4527cef0
62c53aabdb0d2630c87141f21072a79aa69aee5c
refs/heads/main
2023-05-26T12:07:52.086928
2023-05-08T15:21:16
2023-05-08T15:21:16
231,248,506
0
0
NOASSERTION
2020-01-01T18:12:00
2020-01-01T18:11:59
null
UTF-8
Python
false
false
31,210
py
# Owner(s): ["oncall: quantization"] import copy import operator import unittest from typing import Any, List, Tuple import torch import torch._dynamo as torchdynamo from torch.ao.ns.fx.utils import compute_sqnr from torch.ao.quantization import ( FusedMovingAvgObsFakeQuantize, observer, MovingAverageMinMa...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
1ecc85fc9182dc1e284e5436e98dfeac3145792e
f7d343efc7b48818cac4cf9b98423b77345a0067
/training/fileInput.py
bc06cf8967d406bcab6edb3e5452245f7e0eb86c
[]
no_license
vijaymaddukuri/python_repo
70e0e24d0554c9fac50c5bdd85da3e15c6f64e65
93dd6d14ae4b0856aa7c6f059904cc1f13800e5f
refs/heads/master
2023-06-06T02:55:10.393125
2021-06-25T16:41:52
2021-06-25T16:41:52
151,547,280
0
1
null
null
null
null
UTF-8
Python
false
false
184
py
from fileinput import input, filename, filelineno for line in input([r'C:\Users\madduv\Desktop\resourceOperations.txt']): print('{}:{}:{}'.format(filename(), filelineno(), line))
[ "Vijay.Maddukuri@virtustream.com" ]
Vijay.Maddukuri@virtustream.com
6c497d351a56987dac02230f44d796a9ca3a82d7
7b10d01a7a72d774d642638d906039ac36a366cf
/src/models/test_code.py
23177f1abfc9f2b0a34421bdce6db8b20065bb76
[ "MIT" ]
permissive
elkingtowa/caya
2e01df70f944f92cd25dda2b89590f4b4f2875c9
4ca1e3f7dae278fe0084473c9d130f50e725c478
refs/heads/master
2021-01-23T02:34:45.119315
2014-08-24T20:15:32
2014-08-24T20:15:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
from django.db import models from django.core.validators import RegexValidator from caya.models import BaseUUIDModel from caya.choices import UNITS, ABS_CALC class TestCode(BaseUUIDModel): code = models.CharField( verbose_name = "Test Code", max_length=15, unique=True, validator...
[ "elkingtonx@gmail.com" ]
elkingtonx@gmail.com
ffa912608997b6709a1990365af745c97ca4abd6
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/googlecloudsdk/command_lib/emulators/broker.py
1f5ea7b01179ceed570d9015c703be719da0e151
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
13,786
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
356d8858a033df4c607e9ec9da79d7d20f5bac14
ea192ee7471122a48ebb824d6373085f4a82ac2a
/app.py
f282cd16b5ec4ad0a00c8c6ae6f7a101abb79964
[]
no_license
benjaminhuanghuang/flask-sqlalchemy-rest-ut
3e22fa956fa35884de495bd9499719c9709f235d
d5547ea68889526f9b3014dfd294cba6559a0e52
refs/heads/master
2021-01-21T04:25:33.624184
2017-09-06T06:07:17
2017-09-06T06:07:17
101,911,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
from flask import Flask from flask_jwt import JWT from flask_restful import Api # from security import authenticate, identity from resources.user import UserRegister from resources.item import Item from resources.items import ItemList from resources.store import Store, StoreList def create_app(**config_overrides): ...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
01abdec04279651fbc5b9e2f0ef9bdab5fecfeb0
9131de27761a54b96b91922d70b643e6ddfb1aa3
/msg_mail/mysite/chat/migrations/0001_initial.py
4ae8f197d167a0d205d70730928b4644496b2e8e
[]
no_license
nk900600/Python
88e7bf83e2507379f7ad48e129e7ec2be81e6343
dbb59ffcf51e6f984af3ccd742567b46e68d1dbf
refs/heads/master
2020-09-21T02:30:21.743868
2019-09-26T09:33:15
2019-09-26T09:33:15
211,259,864
0
0
null
2019-09-27T07:20:14
2019-09-27T07:20:14
null
UTF-8
Python
false
false
1,717
py
# Generated by Django 2.2.5 on 2019-09-22 10:15 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "vishnu23kumar@gmail.com" ]
vishnu23kumar@gmail.com
5382aba1ffa9cd517e76cb8bf14de2f79e00f528
feb35f45e015befe9f2a35348be3809e0d30229d
/Image/cumulative_cost_mapping.py
bcff15ecc54e1cd066ea18e00fbf58787b45b791
[ "MIT" ]
permissive
csaybar/qgis-earthengine-examples
9d65bb31f74921c78edc576973a2021f3b4bb79a
ba8942683834d2847ff3246bdd1859b36e50fe44
refs/heads/master
2020-12-30T05:51:36.960385
2020-03-21T15:52:38
2020-03-21T15:52:38
238,882,033
4
0
MIT
2020-02-07T09:04:57
2020-02-07T09:04:56
null
UTF-8
Python
false
false
1,325
py
import ee from ee_plugin import Map # A rectangle representing Bangui, Central African Republic. geometry = ee.Geometry.Rectangle([18.5229, 4.3491, 18.5833, 4.4066]) # Create a source image where the geometry is 1, everything else is 0. sources = ee.Image().toByte().paint(geometry, 1) # Mask the sources image with...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
76457a2b52e29d841596e253cb8e3c6bd2a09e62
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/prb_control/entities/base/legacy/actions_validator.py
a39802f642120566060905661f394d40a9bd2016
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,011
py
# 2017.05.04 15:21:57 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/prb_control/entities/base/legacy/actions_validator.py from PlayerEvents import g_playerEvents from gui.prb_control.entities.base.actions_validator import BaseActionsValidator, ActionsValidatorComposite from gui.prb_control.items i...
[ "info@webium.sk" ]
info@webium.sk
3154fbea1e02752c8eb5163c1219f240b8aea5a5
b024ef402db128aacaa0686cbc8dc69215625aae
/abstract_models.py
716629c30171b3427fb6974d3b25b8a77b96d32a
[ "MIT" ]
permissive
vitorfs/html-builder
8b828ff803e7f0203f36a09f6b9ef2e08839f7c3
3b4d48d6b276e33433a51b0b4f56572583b4ede4
refs/heads/master
2020-04-14T10:54:35.298566
2014-02-25T00:04:45
2014-02-25T00:04:45
17,153,042
1
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
from utils import extract_attrs, pretty_name class AbstractTag(object): def __str__(self): return '<{0}{1}>{2}</{3}>'.format( self._tag_name, extract_attrs(self._join_attrs()), self._text, self._tag_name ) def __init__(self, text=''): ...
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
508d87ce6f30260703ce9007aeaa866d218441cb
bcfbb49b054380db6e7aeadc2d4e62292b5307f9
/singh/ch2_4_basis_and_spanning_set/ex2_17_spanning_set2.py
50f18f524dbd8677d28f1b6ab5fd054c03b8d6e3
[]
no_license
hiddenwaffle/Ax-equals-b
de82d43248962ae072fd8b8a0c9eab37b52fd472
e5f4e4ac5b928440ee557eff9cf4d4683b8f7e56
refs/heads/main
2023-04-15T11:24:51.010982
2021-04-28T18:31:00
2021-04-28T18:31:00
322,965,263
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
import numpy as np from sympy import * from util.graph import Graph a, b = symbols('a b') print('i') m = Matrix([ [1, -1, a], [2, 1, b] ]) m, _ = m.rref() k = m.row(0)[2] c = m.row(1)[2] print('k and c, respectively:') pprint([k, c]) print('ii') u = Matrix([1, 2]).T # first column of the original matrix v =...
[ "hiddenwaffle@users.noreply.github.com" ]
hiddenwaffle@users.noreply.github.com
716c930f1a17bb1b2eaa80014c5ecaaac2baa1d2
5e7c68095e43c274c4e9ff87831024d1e96d9856
/gestao_clientes/settings.py
402ec26e56473288d4db8b44444b569fb886d188
[]
no_license
lucas-sigma/django-gestao_clientes
e3b75007b3b9f37c0c27d9cc0f3e678270c486d5
f599208c64a03d05d6a00e96e9967ab4fa645567
refs/heads/master
2020-04-18T03:46:36.039074
2019-01-27T19:25:51
2019-01-27T19:25:51
167,212,742
1
1
null
null
null
null
UTF-8
Python
false
false
3,191
py
import os from decouple import config from dj_database_url import parse as dburl # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproje...
[ "lucasn.sigma@gmail.com" ]
lucasn.sigma@gmail.com
6da402c3b799e7cd742ddf08844ee2ae0016f270
e712f9d9aedb769f9e43824addda19798951b620
/source/webapp/models.py
81b2d6f0a1b2fe421613df5783450e48c06849b1
[]
no_license
alisher1989/alishers_reviewer
11db61995db95b9829b1485812086f93565be2c8
690f93a0399c762e44ab25e3f73141ab0746d950
refs/heads/master
2023-05-02T13:14:07.580486
2019-11-16T16:57:08
2019-11-16T16:57:08
222,076,298
0
0
null
2023-04-21T20:40:34
2019-11-16T09:30:40
Python
UTF-8
Python
false
false
1,794
py
from django.conf import settings from django.db import models CATEGORY_CHOICES = ( ('other', 'Другое'), ('food', 'Еда'), ('clothes', 'Одежда'), ('household', 'Товары для дома'), ) class Product(models.Model): name = models.CharField(max_length=200, verbose_name='Товар', null=False, blank=False) ...
[ "shera.rashiduulu@gmail.com" ]
shera.rashiduulu@gmail.com
7dce41d90b64fe790eef8fe7a0848ce2fe4d19d5
d6135170e6156a12d4f64cff0373ee0b00ca644b
/tensorflow/contrib/data/python/ops/sliding.py
b3c2c984a9d9920cd1501bd1612757b23e92b7de
[ "Apache-2.0" ]
permissive
eladeban/tensorflow
12499b0972b8aafde277b61da7bbdb1c59aa1d2a
0d4485677356a761f21ad7223759cd89bcc9034c
refs/heads/master
2020-06-04T03:28:24.373618
2019-06-13T22:37:52
2019-06-13T22:49:52
191,843,388
4
1
Apache-2.0
2019-06-13T22:54:36
2019-06-13T22:54:36
null
UTF-8
Python
false
false
4,968
py
# Copyright 2018 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
acf6ed6b42a56aa581b514e12bf54b5bea480bc9
6c4486ab599fd5dea9006e41cdb89db54b47b77c
/tests/products/REGRESSION_LEXR_TENANT_Create_Policy.py
56860dbf1f30c1b4bdb90a750a8bfb43dac7e9e7
[]
no_license
kenito2050/Python-Page-Object-Framework-Example
28ba61cdc1498374be4fc088a1348e0acb754dc2
2a3a3e6c74dc7ec7c9acce41030e9487925b9b0c
refs/heads/master
2020-04-02T15:52:24.286208
2018-10-25T01:46:24
2018-10-25T01:46:24
154,587,117
0
0
null
null
null
null
UTF-8
Python
false
false
16,254
py
import csv import datetime import os import time import unittest from urllib.parse import urlparse, parse_qs from xml.etree import ElementTree as ET import xlrd from faker import address from faker import company from faker import name from selenium import webdriver from pages.producer_center.client_contact_page impo...
[ "kvillarruel@nasinsurance.com" ]
kvillarruel@nasinsurance.com
dd057e9c195334b621998bbdc9b5d663c038f7d5
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/Scaleform/locale/AOGAS.py
9c9d6422057759f28a1a1f43b2047e3e16b9ad71
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
769
py
# 2017.02.03 21:51:26 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/locale/AOGAS.py """ This file was generated using the wgpygen. Please, don't edit this file manually. """ class AOGAS(object): NOTIFICATION_TITLE = '#AOGAS:NOTIFICATION/TITLE' NOTIFICATION_CLOSE = '#AOGAS:NOTIFI...
[ "info@webium.sk" ]
info@webium.sk
90f92704480766471b8b2be4230904411b414eed
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/uK4Dw7Pise5uCfKqo_23.py
210af81239dc3e9a470c603b9b74b8548bd0248a
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
class Book: #Write your attributes and methods here def __init__(self, book): book = book.split(' - ') self.title = book[0] self.author = book[1] def get_title(self): return 'Title: {}'.format(self.title) def get_author(self): return 'Author: {}'.format(self.author) ​ #Instantiate your Book...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7a50a564565a2a7d5068c02347c66e7dc7738c59
84856442c382b0b670246636d378beb095effa0a
/dev_cloud/cc1/src/ec2/__init__.py
d7b34c663e5ab87bf3191c006b40ae1f452e8b32
[ "Apache-2.0", "LicenseRef-scancode-philippe-de-muyter" ]
permissive
Dev-Cloud-Platform/Dev-Cloud
f50cc3292245156c4cf55942e4426fda22443fd6
b2fb9f4318aeb6dde1e8babca32da527943f1fb4
refs/heads/master
2020-12-29T02:43:14.022401
2017-05-05T07:18:21
2017-05-05T07:18:21
28,969,864
1
1
null
2015-01-14T16:46:57
2015-01-08T14:36:52
Python
UTF-8
Python
false
false
1,044
py
# -*- coding: utf-8 -*- # @COPYRIGHT_begin # # Copyright [2010-2014] Institute of Nuclear Physics PAN, Krakow, Poland # # 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.apac...
[ "michal.szczygiel@wp.pl" ]
michal.szczygiel@wp.pl
b9562b00f81e02452aeaa947e6a21fc7162c1ac6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2589/60619/259573.py
5169f9bc2b4e4c70011b8297f3eea142b15fc2de
[]
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
238
py
def find(index): if index == 0: return 2 elif index == 1: return 1 else: return find(index-2) + find(index-1) t = int(input()) for ind in range(t): n = int(input()) print(find(n) % 1000000007)
[ "1069583789@qq.com" ]
1069583789@qq.com
e723d29b263a3437a596193bdc1236d07ffac182
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feed_ingestion.py
a68fcd299fc351d5b6c81fcc3883f30082a4c430
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
2,310
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. # ----------------------------------------------------------------------...
[ "noreply@github.com" ]
scbedd.noreply@github.com
0bf62299e1f060b73373c0179d756e345effdcf4
ed065106ab2652c1f8f99571f8a0f5f98af51795
/cffconvert/behavior_1_0_x/schemaorg/author.py
beb4963d73e321aa65cd8e4460a2d5503e8bd362
[ "Apache-2.0" ]
permissive
ivotron/cff-converter-python
af392a9b29c75b365c3079315eb6f5e9c099dda7
ee9584a4cf9ce3adffafa567a8c965ea8f64fde8
refs/heads/main
2023-08-04T01:29:01.022602
2021-09-10T07:06:09
2021-09-10T07:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
from cffconvert.behavior_shared.schemaorg.author import SchemaorgAuthorShared as Shared class SchemaorgAuthor(Shared): def __init__(self, author): super().__init__(author) def as_dict(self): state = [ ('G', self._exists_nonempty('given-names')), ('F', self._exists_non...
[ "j.spaaks@esciencecenter.nl" ]
j.spaaks@esciencecenter.nl
cb1d01208e9755653ae2930d9eb74900499a77d7
6ff69f4b3db527d2d5dfc26699b8cc7bb3e4bf89
/g2.py
c52818284699886cf2f9f02b014339a3c63c93d5
[]
no_license
jb-liran/Python-Day3
9e21d529cccbad8358ed7ef4ebc4041519b60754
a3205fb5bc03bef357fa88610d16e5b977c03e88
refs/heads/master
2020-03-15T20:20:36.616974
2018-05-06T13:31:58
2018-05-06T13:31:58
132,330,480
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
# -*- coding: utf-8 -*- """ Created on Sun May 6 15:44:17 2018 @author: jbt """ def withgen(num): i=0; while True: i+=1 yield i s=withgen(10); print (s) for i in s: print(i)
[ "you@example.com" ]
you@example.com
33d6a6d178b0f1e58662ee5c152226bd6a68aab9
2ec46dfdf8f60ae4a162a8bb68d4351b730888d6
/aapp/migrations/0011_auto_20190125_0554.py
8092963ae8df725b0f7ba9459230ee2c25054c1a
[]
no_license
noodlesen/atlas
c6824e2aafa7d739c8844feb4688b49d366a082e
9952584266536b3ddc20dbbd1d20832a75de34ce
refs/heads/master
2020-07-26T19:46:10.410787
2019-12-04T11:41:34
2019-12-04T11:41:34
126,502,854
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
# Generated by Django 2.0.10 on 2019-01-25 05:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('aapp', '0010_auto_20190125_0431'), ] operations = [ migrations.CreateModel( name='RawScan', fields=[ ...
[ "k.lapshov@gmail.com" ]
k.lapshov@gmail.com
0c7c4b193d7e092ed5e67e83c97b49ba56b59282
9ffc6e405342af6e6997900e5698524da7e6fa28
/dump.py
d3abc9cf4972bc56ec048793a5959078a5b632ea
[]
no_license
awhitbeck/LDMX_TS
bbe59afaf8f1db09e76b90d2accba99ffa565ce5
9992f604f16fc84f0552e060cad369de517f7302
refs/heads/master
2023-03-31T05:11:53.604589
2021-03-30T05:10:21
2021-03-30T05:10:21
273,034,503
0
2
null
2021-03-30T05:10:22
2020-06-17T17:09:45
Python
UTF-8
Python
false
false
1,295
py
from ts_digi_container import * import ROOT as r ## initialize container cont = ts_digi_container('/home/whitbeck/raid/LDMX/v2.2.1/one_electron_tracks.root','LDMX_Events') cont.get_digi_collection('trigScintDigisTag_reco') cont.get_digi_collection('trigScintDigisUp_reco') cont.get_digi_collection('trigScintDigisDn_rec...
[ "whitbeck.andrew@gmail.com" ]
whitbeck.andrew@gmail.com
dd2880eab2b0837fb86eddd4eba6067a8bab7b3e
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/job_scrapers/plugins/com/taleo/oxy.py
c4e9cc8c100636dcb29e7756a007f233fb46162f
[]
no_license
thayton/neekanee
0890dd5e5cf5bf855d4867ae02de6554291dc349
f2b2a13e584469d982f7cc20b49a9b19fed8942d
refs/heads/master
2021-03-27T11:10:07.633264
2018-07-13T14:19:30
2018-07-13T14:19:30
11,584,212
2
0
null
null
null
null
UTF-8
Python
false
false
564
py
from neekanee.jobscrapers.taleo.taleo2 import TaleoJobScraper COMPANY = { 'name': 'Occidental Petroleum Corporation (Oxy)', 'hq': 'Los Angeles, CA', 'home_page_url': 'http://www.oxy.com', 'jobs_page_url': 'https://oxy.taleo.net/careersection/2/jobsearch.ftl?lang=en', 'empcnt': [10001] } class Ox...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
257b9d59043a0c90608cc33f8f693824d59ca10d
aaddc9b334b4d265d61cd97464d9ff73f32d9bec
/3_DRF_API/api/migrations/0001_initial.py
e6cf5952371871aed633be589fa1949c95d062f5
[]
no_license
DharmendraB/DRF-Django-RestFramework-API
f3549955e53d43f7dad2a78468ad0792ebfb70d5
4f12ab84ca5f69cf2bb8e392b5490247d5f00e0e
refs/heads/main
2023-05-30T20:59:46.635078
2021-06-11T04:32:52
2021-06-11T04:32:52
375,905,264
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# Generated by Django 3.1.5 on 2021-05-14 04:51 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "ghldharmendra@gmail.com" ]
ghldharmendra@gmail.com
38d3c8da23512206bde53afdaad90c4c267e8f64
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/HC-PerfHist-TC-MIB.py
3cff8d0b6affbe4d3b375ac91b1d59aaf0f4b4c0
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
10,467
py
# # PySNMP MIB module HC-PerfHist-TC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HC-PerfHist-TC-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:13:52 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
65326e44aa1d07800e093388909a94a975e9178d
fa1aa08d57dc45e5095593b78d0f2b75243bc936
/wonderment/fall2015eval/migrations/0001_initial.py
897368258158683839c7f081020fdcf22f449b81
[]
no_license
carljm/Wonderment
8c8d7e3fa6dd853aa150ae3f5addc430ee2070ee
7418864b7beaf73a9e1c0557b50904cf9a29d667
refs/heads/master
2021-04-24T15:32:21.634279
2019-01-14T04:33:19
2019-01-14T04:33:19
23,745,985
1
1
null
null
null
null
UTF-8
Python
false
false
9,049
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import ( migrations, models, ) import wonderment.fall2015eval.models import wonderment.fields class Migration(migrations.Migration): dependencies = [ ('wonderment', '0036_auto_20150816_2327'), ] operations =...
[ "carl@oddbird.net" ]
carl@oddbird.net
1413253062323e8bb1efe709deebd7c9086d266c
3cdbe5f5810a035ae168f8ff01c39f58c571e428
/golf/.~c9_invoke_ZuR6y.py
6bb27d4bb4e820966699517c7fc71ba7dec0e40b
[ "MIT" ]
permissive
kenrumer/scorekeeper
ebd6467e2ecde3da96bb08ef77a56f967cbde00e
c7f22676e84dfdf6ca3361c6ff56719f68fce31f
refs/heads/master
2021-01-22T05:01:11.370869
2018-01-12T07:13:20
2018-01-12T07:13:20
102,276,714
0
0
null
null
null
null
UTF-8
Python
false
false
4,576
py
from abc import ABCMeta, abstractmethod from .models import Player, Club, Tee, Round, Score from django.utils import timezone """ Base class for loading players from a plugin. The plugin class name and filename are in the Club table TODO: Activate, Inactivate, Delete """ class PlayerBase(object): __metacl...
[ "kenrumer@gmail.com" ]
kenrumer@gmail.com
beb3bb92c83c8fb88143af44b8be8c4d03272e59
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-7644.py
65659c694f5311c5913f821b294729a373bd060b
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,291
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
f67bff92d11eb29a72abcb46f60f5bc970b1f9cb
819b582117494ee9baa582649c357f48583f6dcf
/PlayStore/playapp/tests/test_views.py
8e610c7111c671cd01c84807bac1167c9fd48aab
[]
no_license
denyssmak/PlayStoreDjango
c2e739c2d26276e8a063c75001a5fa183eac981d
d25c1147dd07a6bb5243655b23fc81a9c0cf4923
refs/heads/master
2023-05-06T10:14:29.621000
2021-05-19T14:08:54
2021-05-19T14:08:54
360,862,684
3
1
null
null
null
null
UTF-8
Python
false
false
3,868
py
from django.test import TestCase from django.utils import timezone from playapp.models import MyUser, Play, Comment, Rating, Profile from django.urls import reverse from django.contrib.auth.forms import AuthenticationForm from playapp.forms import CustomUserCreationForm class UserLoginViewTest(TestCase): def setU...
[ "you@example.com" ]
you@example.com
86f7cc2a9419328d85d920e1c4e4cae0b3c74ceb
8edd63a42469bf09fcad1c1070995ceda6e49646
/env/lib/python2.7/site-packages/observations/r/bundestag2005.py
2dfa51815bf7b077651e22867b775ddc8748cbdb
[]
no_license
silky/bell-ppls
fa0b5418f40dab59de48b7220ff30caba5945b56
369e7602c810b694a70ac1e875017480c8910ac8
refs/heads/master
2020-04-06T08:40:28.588492
2018-11-01T06:51:33
2018-11-01T06:51:33
157,312,221
1
0
null
2018-11-13T03:04:18
2018-11-13T03:04:18
null
UTF-8
Python
false
false
2,140
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def bundestag2005(path): """Votes in German Bundestag Election 2005 Nu...
[ "akobeid.1@gmail.com" ]
akobeid.1@gmail.com
4a6c6cc42f72c21fb55975bea13c9b2ae2cf3e9a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03041/s998441894.py
5742a73783a0abb75ed70c4196156cc079ca1535
[]
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
223
py
# -*- coding: utf-8 -*- def main(): N, K = map(int, input().split()) S = input() ans = list(S) ans[K - 1] = S[K - 1].lower() ans = ''.join(ans) print(ans) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b553a88d1dffc7d6c4acfac9cce72299bb11260f
d505f9c86625ace82603a010d6eba078e4d77581
/jackpoint/jack/views.py
2741ea9ea054c4bab6e0ad08e6b404c3178eea36
[]
no_license
bussiere/jackpoint
b8407066105fa393037de1d0e4193eea3b283006
efdfe78f048d5a3fc39131351f9e5164e2fae71a
refs/heads/master
2020-05-30T10:00:20.064338
2013-01-08T15:48:32
2013-01-08T15:48:32
2,615,944
3
1
null
null
null
null
UTF-8
Python
false
false
965
py
# Create your views here. from django.shortcuts import render_to_response from django.template import RequestContext from django.contrib.auth.decorators import login_required from skill.models import Skill from carac.models import Carac from item.models import Item from jack.models import UserProfile from carac.forms i...
[ "bussiere@gmail.com" ]
bussiere@gmail.com
328892fa88d10f6f1628ca41f99ce3dad81e596c
89a3339841eb48b29eee585c54c704c496811b6c
/backend/config.py
243b13eb149771a18084524d6089fb288f21f0d9
[]
no_license
Varikap/website
6b649cab550ae2ac1288ffcc338367fe921aa522
2f0d7a59a51d968d6e08e91a5863535c7f059cbe
refs/heads/master
2020-03-26T06:25:47.589512
2018-08-20T16:19:57
2018-08-20T16:19:57
144,604,775
0
0
null
2018-08-13T16:19:15
2018-08-13T16:19:15
null
UTF-8
Python
false
false
828
py
from datetime import timedelta import os PROJECT_APP_PATH = os.path.dirname(os.path.abspath(__file__)) class Config: DEBUG = False SECURITY_PASSWORD_SALT = 'tilda' SECRET_KEY = 'iQfPvB6sZaNHqVFI5CJa9rM1xOEVHKIM0LwifT04yLsPlZhSSvaDuZXOgJFSpJVq' SECURITY_TRACKABLE = False JWT_EXPIRATION_DELTA = ti...
[ "meka@tilda.center" ]
meka@tilda.center
dfca7e7204e372b33d59ffc41776c4c2dad49b46
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_02_02_preview/operations/__init__.py
02682f76ce58bced0277c8b4fc185b2fb6e154d5
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
1,694
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" ]
test-repo-billy.noreply@github.com
d01fb0c15256ea0c39b99bdcb0e1c961a02441d0
5b7758ddb46a674316f634d768b1e9b22ee15a16
/SMPyBandits/Policies/ExploreThenCommit.py
4c46fbd8fdc8bbd6bb251be2933c6762cbf35439
[ "MIT" ]
permissive
LeeChang-Soo/SMPyBandits
64687d0f9702ca181b89cb2aa54eead5fa88bd0c
1ffb24bec311433f5b088de59b30cfaaa983391a
refs/heads/master
2020-03-14T14:03:42.716771
2018-04-30T17:44:04
2018-04-30T17:44:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,240
py
# -*- coding: utf-8 -*- """ Different variants of the Explore-Then-Commit policy. - Reference: https://en.wikipedia.org/wiki/Multi-armed_bandit#Semi-uniform_strategies - And [Kaufmann & Moy, 2017, ICC](http://icc2017.ieee-icc.org/program/tutorials#TT01), E.Kaufmann's slides at IEEE ICC 2017 - See also: https://github....
[ "lbesson@ens-cachan.fr" ]
lbesson@ens-cachan.fr
b9364d92e0e29ce80bbf07ddac34c4badd6baaaf
f491bdff51c50bf3779fb3a5eab9fd22cb2f63c7
/Machine Learning/Assignment 1 - Neural Networks/Code/framework.py
442b6aaf1cccfd8b476a9844d877cbda05a10a5b
[]
no_license
Ufukdogann/University-Projects-Assignments
f235f0fa85f194883f8c7a3813417bf9a94acbe5
6718b52a4adad706f3272e82b83fe38086f8ab0d
refs/heads/master
2022-11-11T13:17:37.943850
2020-07-03T22:25:50
2020-07-03T22:25:50
276,975,969
0
0
null
null
null
null
UTF-8
Python
false
false
19,362
py
#!/usr/bin/env python3 ## You will have to implement a very primitive machine learning framework. The skeleton is given, you have to fill the ## blocks marked by "## Implement". The goal is to give you a little insight how machine learning frameworks work, ## while practicing the most important details from the class....
[ "134679852Ufuk*" ]
134679852Ufuk*
c977a71d283fb9f2acc4be54eb4979f7145b2348
d18226f1ffaf1adf5be667b7cf49fd51744ffd55
/14-class/exam5.py
880bb14c4af4ec0af734555cfd15779396aa2bd1
[]
no_license
JiyeonChoi97/Python_prac
7a72e2e4f8329e647466a0fd6953c7dafbe1d410
797ae9ced9d8fd22b145a9a8b652e69b0e995f55
refs/heads/master
2021-05-26T04:24:42.589629
2020-04-20T06:49:58
2020-04-20T06:49:58
254,051,972
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
'''멤버함수 사용하기''' # 메소드1 : 인스턴스 메소드 class Calc: def plus(self, x, y): print('메소드 plus() 호출') return x + y def minus(self, x, y): return x - y def multiply(self, x, y): return x * y def divide(self, x, y): return x / y def f(...
[ "noreply@github.com" ]
JiyeonChoi97.noreply@github.com
734c79dd138378583563db06767d1d8140f3aec0
12258001571bd504223fbf4587870960fa93a46d
/mud/mptt/managers.py
9cf6b39488789fbcb3ba052e29337f40d203eac7
[]
no_license
Nik0las1984/mud-obj
0bd71e71855a9b0f0d3244dec2c877bd212cdbd2
5d74280724ff6c6ac1b2d3a7c86b382e512ecf4d
refs/heads/master
2023-01-07T04:12:33.472377
2019-10-11T09:10:14
2019-10-11T09:10:14
69,223,190
2
0
null
2022-12-26T20:15:20
2016-09-26T07:11:49
Python
UTF-8
Python
false
false
49,791
py
""" A custom manager for working with trees of objects. """ from __future__ import unicode_literals import functools import contextlib from itertools import groupby from django.db import models, connections, router from django.db.models import F, ManyToManyField, Max, Q from django.utils.translation import ugettext as...
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
4a90c9271fc95852e084feaaa6b0d288909ab319
0e0b9f4f106b687b8fae54857d8764a5d940fbb1
/synaptor/__init__.py
7d01cc831a0374b3bcc5a2a9549c23456babbb49
[ "MIT" ]
permissive
alexshevelkin/Synaptor
6931c4e3bf7f1edbdfbad1eac4ec6578f538c453
76084be169746ae3b7f6bb291b1b6b11d5dae39f
refs/heads/master
2023-06-26T22:52:14.851558
2021-07-28T20:18:10
2021-07-28T20:18:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from . import types from .types import bbox from .types.bbox import BBox3d, chunk_bboxes from . import seg_utils from .seg_utils import filter_segs_by_size, centers_of_mass, bounding_boxes from . import proc from .proc.seg import connected_components, dilated_components from .proc.edge import infer_edges from .proc.e...
[ "nturner.stanford@gmail.com" ]
nturner.stanford@gmail.com
0bc81fe604de032f054232d29df4d187bb64bb4b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4146/codes/1593_2908.py
c3541c80f467917c8f6684edc11566de6d87185a
[]
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
196
py
a = int(input("Digite o valor de a: ")) b = int(input("Digite o valor de b: ")) c = int(input("Digite o valor de c: ")) formula = (a**2 + b**2 + c**2)/(a + b + c) print(round(formula, 7))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
1cf2398fb7c162cb273eb8b20cd1c07e8a8a7839
1ccb464a188d351cfd29467ba6179cb94b7aa1b8
/courseSchedule.py
6caa36de46d342370ff728fd4a345a63e987d029
[]
no_license
ashishsirohi/LeetCode
98a586f8aa9eaff0d95356e43641ddfe0edaf6ce
906b0daa37c34af35ee2d2d999ef79f292d0a153
refs/heads/master
2021-09-12T06:56:11.137189
2018-04-15T04:01:04
2018-04-15T04:01:04
98,089,501
0
0
null
null
null
null
UTF-8
Python
false
false
22,940
py
class Solution(object): def canFinish(self, numCourses, prerequisites): """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: bool """ def dfsRecursive(graph, i, currVisited): if i in graph.keys(): visited.append(i) ...
[ "ashishsirohi@live.com" ]
ashishsirohi@live.com
88a475eab21d8ed9f4da8c90df1d1530f0ae892d
2b3b881ff00a1ce333fb70fd670ac810243b12bd
/loader/__init__.py
bd92de52a6f371a8be93b5b7ab7b0fb7e5611946
[]
no_license
ChristianSiBy/nlp-engine
db11176812047c62b45adaec62209db72bb8d46b
74ffac91f12587bfac99309751072d02dbeac710
refs/heads/master
2020-04-05T05:05:19.494921
2018-11-07T12:54:26
2018-11-07T13:03:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
from loader.config import Credential from loader.sql import fetch_columns
[ "theo.leffyr@gmail.com" ]
theo.leffyr@gmail.com
6ed8a941ea0258b451a69b40eeb70a4cb10a9604
d2fdd6b10b0467913971d1408a9a4053f0be9ffb
/datahub/company/migrations/0070_make_registered_address_county_not_null.py
675e9dc10c92e3258a2fdb9a6c311c4d36359745
[]
no_license
jakub-kozlowski/data-hub-leeloo
fc5ecebb5e4d885c824fc7c85acad8837fcc5c76
7f033fcbcfb2f7c1c0e10bec51620742d3d929df
refs/heads/master
2020-05-18T13:29:14.145251
2019-04-30T12:12:50
2019-04-30T12:12:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# Generated by Django 2.2 on 2019-04-16 13:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0069_make_registered_address_2_not_null'), ] operations = [ migrations.AlterField( model_name='company', na...
[ "info@marcofucci.com" ]
info@marcofucci.com
f443c938dd528b600c84be2ce29fd7b8105378f3
2af94f8a7609d47fdcea28a2132c4f8bacb103e3
/src/devices/transport_fleet.py
4f3f4578907959ba16dd5de03ba242bed28a609b
[]
no_license
bernhara/DigiGateway4Raph
685527723f0b306f387233c78d27fe9d78717c38
f36ba29ef883d70f94b8609ff734b5dcde786c66
refs/heads/master
2020-07-05T19:56:27.027547
2019-08-19T06:10:46
2019-08-19T06:10:46
202,756,662
0
0
null
null
null
null
UTF-8
Python
false
false
12,600
py
############################################################################ # # # Copyright (c)2008-2013, Digi International (Digi). All Rights Reserved. # # # # Permis...
[ "ORBA6563@S-ORBA65630.rd.francetelecom.fr" ]
ORBA6563@S-ORBA65630.rd.francetelecom.fr
229487b07d12adf52673cfb8a2c0158edc0c6b67
b304a47e862eee982193f183d4dde270099ea651
/libs/module89.py
3c45db3b9fbc7e596206ecea9df17fb5c9dfb18d
[]
no_license
and3rson/osx-coverage-testcase
507c2cbd7927bcc519c14be48b6f28bedd7d0af0
245ef0cd0c19938cdcd43135985b03e87d40d6e2
refs/heads/master
2021-01-13T09:43:50.232051
2016-10-06T09:13:39
2016-10-06T09:13:39
70,139,028
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
def method89(): return 'bar'
[ "anderson@Andrews-iMac.local" ]
anderson@Andrews-iMac.local