blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
ac0e03c9aabb196bcd25e697acd16276ed0dfb48
4944541b0cd0fa48a01581ffce5e7ce16f5cf8d7
/src/Backend/MbkExam/SimpleExam/views.py
041952f4adbc8875326e27a1df3d2cbda002813f
[]
no_license
aballah-chamakh/the_exam
49a5b5c9d28c61b2283f2d42d2b2fb771dd48bf4
dbbbdc7a955ca61572f26430a7788407eaf0c632
refs/heads/main
2023-03-28T13:19:18.148630
2021-04-03T22:12:51
2021-04-03T22:12:51
354,404,833
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from django.shortcuts import render from rest_framework.decorators import action from rest_framework.response import Response from rest_framework import viewsets,status,generics from .models import SimpleExam from .serializers import SimpleExamSerializer class SimpleExamViewSet(viewsets.ModelViewSet): serializer...
[ "chamakhabdallah8@gmail.com" ]
chamakhabdallah8@gmail.com
0284d92e23809cd7d04fd9c59c3266ec025e9d92
3dc9f2aaea2620d6c382211369548d9b52f4039a
/FaceQuality/qualityface/config.py
f0753116b5bb74da50ad2f23270be1c25b0be2cd
[ "MIT" ]
permissive
banana1024/FaceProjects
6fd4961d73356139c7ebba85428a9c40b02335a8
87ae30191c01eadc3cfa59b751db91f1aa76bc5d
refs/heads/master
2022-09-18T15:40:19.346332
2020-05-29T08:15:17
2020-05-29T08:15:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
import torch import torchvision.transforms as T class Config: # data preprocess test_transform = T.Compose([ T.ToTensor(), T.Normalize(mean=[0.5] * 3, std=[0.5] * 3), ]) # training settings checkpoints = "checkpoints" restore_model = "last.pth" device = 'cuda' if torch...
[ "forrest_zhu@foxmail.com" ]
forrest_zhu@foxmail.com
1cc98c58b0790dbe9fcc7b0cafa6d97fb43db76b
c7a39ecf433a6b954096aed2ef8ef2b3366fab35
/quora_project/questions/api/views.py
686c01b36dd75ef3c615aec616367168208b3896
[ "MIT" ]
permissive
vojta-janousek/Questions-and-Answers-Website
78f28a8f8ad6e66f7f6aca6db733e41eef3c1485
02cfb6274a73f64382e57f3718beb5ee89c2d1ac
refs/heads/master
2020-11-24T16:09:10.519718
2020-04-01T20:58:17
2020-04-01T20:58:17
228,234,952
0
0
MIT
2020-06-07T17:19:59
2019-12-15T18:58:25
Python
UTF-8
Python
false
false
2,803
py
from rest_framework import viewsets, generics, status from rest_framework.exceptions import ValidationError from rest_framework.generics import get_object_or_404 from rest_framework.permissions import IsAuthenticated from rest_framework.views import APIView from rest_framework.response import Response from questions.a...
[ "janousek315@gmail.com" ]
janousek315@gmail.com
682ad7458ee8c3a3b669d39d903e656bb7072887
651a296c8f45b5799781fd78a6b5329effe702a0
/monomial/mono_upto_enum.py
3a359439d6875442b34669e9b22902025af36554
[]
no_license
pdhhiep/Computation_using_Python
095d14370fe1a01a192d7e44fcc81a52655f652b
407ed29fddc267950e9860b8bbd1e038f0387c97
refs/heads/master
2021-05-29T12:35:12.630232
2015-06-27T01:05:17
2015-06-27T01:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,963
py
#!/usr/bin/env python def mono_upto_enum ( m, n ): #*****************************************************************************80 # ## MONO_UPTO_ENUM enumerates monomials in M dimensions of degree up to N. # # Discussion: # # For M = 2, we have the following values: # # N VALUE # # 0 1 # 1 3 # ...
[ "siplukabir@gmail.com" ]
siplukabir@gmail.com
9957e7a14d7db921fad9a4cdccf9aeaacb5ce2e9
559f3dec0964d2e0f86c6c871371fe779cf3726c
/Matting/tools/predict.py
83cff09e4a9dc949138a30d8d2bcd28e38cacff4
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleSeg
319ab26665ea492527a1949671650135123ffc39
2c8c35a8949fef74599f5ec557d340a14415f20d
refs/heads/release/2.8
2023-08-31T09:08:06.724717
2023-08-18T01:59:56
2023-08-18T01:59:56
204,380,779
8,531
1,866
Apache-2.0
2023-09-12T02:30:42
2019-08-26T02:32:22
Python
UTF-8
Python
false
false
3,468
py
# Copyright (c) 2021 PaddlePaddle 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 applic...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
fa28d630bdb2be7b15926769daaf0cf6361c335e
8bf8ab29cb25de00c6a799d1f58610528b810592
/모의 SW 역량테스트/5648. [모의 SW 역량테스트] 원자 소멸 시뮬레이션/참고.py
29928d51765559d7b11a787d3a4eb2fcd27baddb
[]
no_license
mgh3326/sw_expert_academy_algorithm
fa93fb68862cabeba8f9f5fff00a87f26a014afc
97cbd2a1845e42f142d189e9121c3cd5822fc8d8
refs/heads/master
2020-07-03T21:40:29.948233
2019-11-23T07:26:15
2019-11-23T07:26:15
202,058,567
0
0
null
2019-11-30T06:11:34
2019-08-13T03:40:18
Python
UTF-8
Python
false
false
2,743
py
T = int(input()) for tc in range(1, T + 1): N = int(input()) atoms = [list(map(int, input().split())) for _ in range(N)] for atom in atoms: atom[0] *= 2 atom[1] *= 2 energy = 0 candidates = [[0, 0, 0]] for i in range(N - 1): for j in range(i, N): dx = atoms[i]...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
b28477b4e29bb41a9e9b42c78ded882797d1b48b
7ccdcd8e7885603141c55f4c065373417f4aa118
/list_ele.py
db3665532a1696e4d0b1c27fe0e4ee5bad465db8
[]
no_license
Icode4passion/practicepythonprogams
f8330c499c660d4e46ab54d7ed44d62625f250db
8936166d6419df5deef290a5723a30661ea064a2
refs/heads/master
2020-03-19T10:02:13.992465
2018-06-06T14:26:27
2018-06-06T14:26:27
136,337,310
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
#Write a Python program to display the first and last colors from the following list. color_list = ['red','green','white','black'] for color in color_list: print (color)
[ "yogeerama@gmail.com" ]
yogeerama@gmail.com
d95ae65b44a40731a4a2e3009dc55d90af9ea531
58ffe83eb9828668c13242c6f98238f08655f561
/app/notebooks/problang/custom_mlp.py
4ac8b927457fd104f247d84542cc19d8682ce335
[ "Apache-2.0" ]
permissive
DanFu09/esper
f9dcc47cd5677dee8dffb1e066d69332471a0d6c
ccc5547de3637728b8aaab059b6781baebc269ec
refs/heads/master
2020-04-04T21:31:43.549572
2020-01-16T01:14:13
2020-01-16T01:14:13
156,289,533
4
0
Apache-2.0
2018-12-14T03:01:02
2018-11-05T22:05:07
Jupyter Notebook
UTF-8
Python
false
false
6,720
py
from inspect import isclass import torch import torch.nn as nn from pyro.distributions.util import broadcast_shape class Exp(nn.Module): """ a custom module for exponentiation of tensors """ def __init__(self): super(Exp, self).__init__() def forward(self, val): return torch.exp...
[ "wcrichto@cs.stanford.edu" ]
wcrichto@cs.stanford.edu
61fc96cbdbdbae2bdd17f620cf967d0f0f88ef4d
b2545b8c1a7ed01216ae090a634ddf19099f175a
/python/coding-challenges/cc-005-create-phonebook/phone_book_class.py
ffe561d02e48a6472d28362db9e9b284221663c4
[]
no_license
kopuskopecik/my-aws-devops-projects
50f222986150ccd20d724ccaec9ec637aaf08a3c
4a25f8f72c262c933ada26c0ac0476f4ef68fbcf
refs/heads/master
2023-01-10T00:59:39.718578
2020-11-03T14:58:48
2020-11-03T14:58:48
290,531,908
1
0
null
null
null
null
UTF-8
Python
false
false
2,056
py
class PhoneBook: phone_book = {} # class attribute liste = [] demet = () print("Sınıf niteliği") def __init__(self): print("init çalıştı") self.elma = "" self.liste2 = [] self.demet2 = () self.start() def start(self): #self.book = {} ...
[ "kopuskopecik@gmail.com" ]
kopuskopecik@gmail.com
c436b52eec4081f8bf526d9d4795f98aa8cf4ae2
132826d3f9d0a68d70ec9ba411846bbf3695140d
/scripts/sklearn_classifier.py
53ff3015511ebcee5e6fdc9dbd968284bcb8293c
[ "MIT" ]
permissive
deep-spin/spec
c7f9a4eae08ec7d6a422b7d9f21e52980c836312
23db7a559e09ff7f63ede06b04cad226432b90db
refs/heads/master
2023-03-03T22:53:49.647064
2021-02-18T05:01:35
2021-02-18T05:01:35
312,660,674
4
1
null
null
null
null
UTF-8
Python
false
false
4,704
py
import argparse import numpy as np from sklearn.feature_extraction.text import (TfidfVectorizer, CountVectorizer, HashingVectorizer) from sklearn.linear_model import LogisticRegression, SGDClassifier from sklearn.metrics import accuracy_score, matthews_corrcoef, \ preci...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
9db96abccd5b62b41daa94a3a729d2e868c9c8b7
3efca607aefbd6cf558517bae689ccdacb7b383e
/contrib/devtools/symbol-check.py
5fdf31de16afe2e2d14e6880f9d5cb158835dd4b
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
MicroBitcoinOrg/MicroBitcoin
f761b2ff04bdcb650d7c0ddbef431ef95cd69541
0119e8eff44ec4d94313eaa30022a97692b71143
refs/heads/snapshot
2022-12-27T10:04:21.040945
2021-02-09T05:51:45
2021-02-09T05:51:45
132,959,214
21
33
MIT
2020-06-12T04:38:45
2018-05-10T22:07:51
C++
UTF-8
Python
false
false
6,136
py
#!/usr/bin/env python3 # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' A script to check that the (Linux) executables produced by gitian only contain allowed gcc, glibc and libstdc+...
[ "iamstenman@protonmail.com" ]
iamstenman@protonmail.com
947a32e74b228a2939732969ff1b57e7dc5e68cc
364edc98a05ddecf5ad7b7614d2a35a95d19705b
/os_bitcoin/Bithumb_20170412_RESTFulAPI-python3/xcoin_api_client.py
bccc8fe928a3987f5073f8daa14df026d9ad127e
[]
no_license
as950118/outsource
f7f10b5ba62487da8ccddd894aaedc8af48e9d50
05a9f654aa222f4da4ce9c4902dde094c9d158d0
refs/heads/master
2022-12-21T00:18:45.405708
2020-02-03T15:53:16
2020-02-03T15:53:16
193,331,277
0
0
null
2022-12-06T22:38:00
2019-06-23T09:50:33
HTML
UTF-8
Python
false
false
2,400
py
# # XCoin API-call related functions # # @author btckorea # @date 2017-04-12 # # Compatible with python3 version. import sys import time import math import base64 import hmac, hashlib import urllib.parse import pycurl import json import certifi class XCoinAPI: api_url = "https://api.bithumb.com"; api_key = "b023e33...
[ "na_qa@icloud.com" ]
na_qa@icloud.com
9bace68bb00dea446e490b5150b8ea921d0e8499
94a4388cee6dfeaa1674fba20423e8a3f8f6dd42
/backend/users/migrations/0003_user_group.py
33f315c63bb0addf839fdc3d8a692489f8be205a
[]
no_license
crowdbotics-apps/game-mdoe-18873
0dc5c1e1827f382d5a84847697d0b1b05191066d
8bcbe6c9b116fa1294b8104018c9cd36b1536c13
refs/heads/master
2022-11-15T17:29:36.126851
2020-07-13T22:23:28
2020-07-13T22:23:28
279,423,144
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
# Generated by Django 2.2.14 on 2020-07-13 22:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ('users', '0002_auto_20200713_2221'), ] operations = [ migrations.AddField( model_name='user'...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3381f548bbfad75fbeb08e50c0769df83dd078b6
a38b27d0eac787ca453c0ef06f1a819305b2f648
/varappx/main/view_tools/main_views_tools.py
6368bb5d40f33d9ebd93088403443fe118f06682
[ "MIT" ]
permissive
444thLiao/VarappX-flask
9417b84167c31276c9342b23ab56cbcc4b71fa1f
9a59f4eb5897a1ecf90978e9f357954cdd7d410a
refs/heads/master
2021-01-19T05:00:05.575501
2017-05-16T07:04:59
2017-05-16T07:04:59
87,406,853
1
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
# import logging # import re # from varapp.samples.samples_factory import * # # # def samples_selection_from_request(request, db, from_ped=True): # """Parse a GET request to make the samples groups and return a SamplesSelection. # :param from_ped: read groups info based on 'phenotype' attribute in the Samples t...
[ "l0404th@gmail.com" ]
l0404th@gmail.com
b675b567f1ca8b19f71f13a481b2c1f48fed4a7a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02991/s309121406.py
e6af09084c5db2471cde62c6c8b5d88d68d8a2e5
[]
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
627
py
import sys input = sys.stdin.readline N,M = map(int,input().split()) UV = [tuple(map(int,input().split())) for i in range(M)] S,T = map(int,input().split()) S,T = S-1,T-1 es = [[] for _ in range(N*3)] for u,v in UV: u,v = u-1,v-1 es[u].append(v+N) es[u+N].append(v+N+N) es[u+N+N].append(v) from collect...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
deb97f79158dad95e29030e083d12abf5eb6d1d4
1eaf69357dfca66e4dc6651da2b93db8665164f9
/2022/06/test_code.py
11832d889e5e26ee9deaddc92f34934c444b4cd3
[ "MIT" ]
permissive
Akumatic/Advent-of-Code
deb89b9a5302999ffb344766bb3f1b0dd5272445
5377d8d653092246a7a35c7fa2a3e22cc74ebb0b
refs/heads/master
2022-12-21T20:32:05.978675
2022-12-16T14:41:23
2022-12-16T14:41:23
221,700,755
24
13
null
null
null
null
UTF-8
Python
false
false
638
py
# SPDX-License-Identifier: MIT # Copyright (c) 2022 Akumatic from code import part1, part2 def test(): inputs = ["mjqjpqmgbljsphdztnvjfqwrcgsmlb", "bvwbjplbgvbhsrlpgdmjqwftvncz", "nppdvjthqldpwncqszvftbrmjlhg", "nznrnfrfntjfmvfwmzdfjlvtqnbhcprsg", "zcfzfwzzqfrljwzlrfnpqdbhtmscgvjw"] expected_values = [(7...
[ "ugp@hotmail.de" ]
ugp@hotmail.de
0ee4b1f629f10089a33bd6119d6964d0b041ed3d
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-alidns/aliyunsdkalidns/request/v20150109/DescribeDohSubDomainStatisticsSummaryRequest.py
f21d8c0c0b01b28d6156cd3ef3b28b308f708744
[ "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,588
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
8384c58d74daedb0e579241902fe89914974b152
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_shibboleths.py
479b492df20a757071eeea8dcfd92915bc99a468
[ "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
266
py
from xai.brain.wordbase.nouns._shibboleth import _SHIBBOLETH #calss header class _SHIBBOLETHS(_SHIBBOLETH, ): def __init__(self,): _SHIBBOLETH.__init__(self) self.name = "SHIBBOLETHS" self.specie = 'nouns' self.basic = "shibboleth" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a0a636dd1aaf47c3b8b20d61ef35980706c7cc74
39e03684081b27311385a0ab31afcc2e09883e5c
/tools/train_saliency.py
99a78842aca4431f7cdfd83729401f8bcf65db99
[ "MIT", "Python-2.0" ]
permissive
witnessai/MMSceneGraph
8d0b2011a946ddcced95fbe15445b7f4da818509
bc5e0f3385205404c712ae9f702a61a3191da0a1
refs/heads/master
2023-08-12T06:54:00.551237
2021-10-12T03:04:21
2021-10-12T03:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,333
py
from __future__ import division import argparse import copy import os import os.path as osp import time import mmcv import torch from mmcv import Config from mmcv.runner import init_dist from mmdet import __version__ from mmdet.apis import set_random_seed, train_detector from mmdet.datasets import build...
[ "23736866+Kenneth-Wong@users.noreply.github.com" ]
23736866+Kenneth-Wong@users.noreply.github.com
eb6e327944cbc63a28f6744e79a24841cf289c7b
a7ded5d3d19a98e61a44189cffe3703f7938e0db
/xero_python/payrolluk/models/leave_type_object.py
a3951dbe79d8171aed1d4532a1909c00f97b9355
[ "MIT" ]
permissive
liseekeralbert/xero-python
dfd1076344f763d74f81f701e32600cf88bcc7b2
d27ab1894ecd84d2a9af0ca91583593756b21ab3
refs/heads/master
2022-12-16T07:41:14.331308
2020-09-18T17:12:35
2020-09-18T17:12:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,074
py
# coding: utf-8 """ Xero Payroll UK This is the Xero Payroll API for orgs in the UK region. # noqa: E501 OpenAPI spec version: 2.3.0 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_python.models import BaseModel class LeaveTypeObject(...
[ "sid.maestre@gmail.com" ]
sid.maestre@gmail.com
beb0e5f57a3463005136baba1b8c7c3c9e533db5
e9f598d4e2e53bdffd95e2b91726eed156a9bd25
/we_chat_tou.py
50911f89aa338c6ccce63b1f6e0df506ceb609c7
[]
no_license
z991/play_pillow
e2d1b17ccdc7e3b5aacb0d1dc7b04805699942f8
e01f99be129a5790c78700cb09b1fa85825f832a
refs/heads/master
2020-11-27T12:20:51.237125
2019-12-21T14:19:48
2019-12-21T14:19:48
229,437,749
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
import os import math from wxpy import Bot from PIL import Image # 创建头像存放文件夹 def creat_filepath(): # 返回一个表示当前工作目录的unicode字符串。 """ /Users/zhuxuanyu/python_xuexi/pil_play :return: """ avatar_dir = os.getcwd() + "/wechat/" if not os.path.exists(avatar_dir): os.mkdir(avatar_dir) ...
[ "1049939190@qq.com" ]
1049939190@qq.com
7b881d3fd3b5a0506e690102189326ec26164212
46bd3e3ba590785cbffed5f044e69f1f9bafbce5
/env/lib/python3.8/site-packages/pip/_internal/operations/freeze.py
4173161009fc9748ecc149d7cd925afb5657aad9
[]
no_license
adamkluk/casper-getstarted
a6a6263f1547354de0e49ba2f1d57049a5fdec2b
01e846621b33f54ed3ec9b369e9de3872a97780d
refs/heads/master
2023-08-13T11:04:05.778228
2021-09-19T22:56:59
2021-09-19T22:56:59
408,036,193
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:4f22ef5d3e19aa9222f31f17fd34ec80127be881b9e0289d265c4620705b9813 size 10556
[ "a.klukowski@live.com" ]
a.klukowski@live.com
1fe809787c4d22f427ef3c91f31a6d7b5004f8a3
3ca30ff28e4233ff815ebc2525ba6409dbf7ade6
/changelogs/custom/pypi/django.py
a0b30a1bc3ab3f9b485cb6575052bc4a75a497b5
[ "MIT" ]
permissive
hackebrot/changelogs
e29b7ce1b6b799fc1a5f1871e29d7d7ac787ad48
c5bf363a5b7efd2640ba404b217a37661ef220c1
refs/heads/master
2021-01-20T02:07:27.028697
2017-04-25T15:05:19
2017-04-25T15:05:19
89,375,742
1
0
null
2017-04-25T15:18:14
2017-04-25T15:18:14
null
UTF-8
Python
false
false
392
py
def get_head(line, releases, **kwargs): for release in releases: if "Django {} release notes".format(release) in line: return release return False def get_urls(releases, **kwargs): urls = [] for release in releases: urls.append("https://raw.githubusercontent.com/django/djan...
[ "ja.geb@me.com" ]
ja.geb@me.com
fc7a978cdca9b14608013239456e0f1fea702e7b
f57529f95a0fd10676f46063fdcd273fb5a81427
/boj/03001-04000/3181.py
0cf1f7d1f5d5af6ca60a5dd002df336fe82466ba
[]
no_license
hoyasmh/PS
a9b83b0044e483586590c9b7c6bf8a77236b67e7
6bbaa0ce77b2726f6af782af049d73720820f761
refs/heads/master
2023-04-23T10:43:27.349785
2021-05-17T13:43:53
2021-05-17T13:43:53
311,239,034
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
l=['i','pa','te','ni','niti','a','ali','nego','no','ili'] s=input().split() for i in range(len(s)): if i==0 or s[i] not in l: print(s[i][0].upper(),end='')
[ "hoyasmh@gmail.com" ]
hoyasmh@gmail.com
b6e50f0069a0ad20140650a86266d623d882464d
167eb71c690e43e06b943a04a031f9e662ac7521
/acq4/devices/Scanner/scan_program/step.py
78e088f79c49f0e555d3506b82810b3513d8e648
[ "MIT" ]
permissive
histed/acq4
8e0a5dedc74c2ea063477e4b0027fbade3a72e61
ea0242d49245b81ab218d8d3e0187138b136ded5
refs/heads/develop
2021-01-19T23:46:54.999081
2017-03-24T22:48:52
2017-03-24T22:48:52
89,023,143
0
6
null
2017-04-21T20:58:33
2017-04-21T20:58:32
null
UTF-8
Python
false
false
589
py
import numpy as np import acq4.pyqtgraph as pg from .component import ScanProgramComponent #class StepScanComponent(ScanProgramComponent): #""" #Steps the laser once to a specific position. #""" #name = 'step' #def generateVoltageArray(self, arr, startInd, stopInd): #pos = cmd['p...
[ "luke.campagnola@gmail.com" ]
luke.campagnola@gmail.com
eda7057bb4a064142794dc4168db8c4c3d7075ef
18825807a4cf373f00419e46ac70566d17115e9e
/problems/algo/convert_a_number_to_hexadecimal.py
b8d4588cc5bd2a0833c3299792178830a61a9c56
[]
no_license
StefanRankovic/leetcode
51154d7297b4674c62e481c6c13016097207b4d0
bbed81b50acaef025186648c61110dbf65e5f6cb
refs/heads/master
2023-02-20T06:16:02.913457
2021-01-24T09:42:50
2021-01-24T09:42:50
266,200,324
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
class Solution: def toHex(self, num: int) -> str: if num < 0: num += 2 ** 32 elif num == 0: return '0' mapping = { 0:'0', 1:'1', 2:'2', 3:'3', 4:'4', 5:'5', 6:'6', 7:'7', 8:'8', 9:'9', 10:'a', 11:'b', 12:'c', 13:'d', 14:'e', 15:'f' } res = [] while num...
[ "stefan.rankovic.89@gmail.com" ]
stefan.rankovic.89@gmail.com
599d2ccb94c5166eb0e397169f084f8ac3d1816c
0f234d1029e89309994331a68a999e2359bb08b0
/tslearn/neural_network/__init__.py
1eed30502447a5b9d10b18cf9d50d8c3bec683cf
[ "BSD-2-Clause" ]
permissive
tslearn-team/tslearn
8282698361bfb42183466eaaa4c6da1d107e9513
e9b3ecca5f56bc8ffab5a0106e2d41f17ae89109
refs/heads/main
2023-09-01T02:03:19.814166
2023-08-21T13:22:42
2023-08-21T13:22:42
90,264,407
1,687
198
BSD-2-Clause
2023-09-13T20:39:47
2017-05-04T13:08:13
Python
UTF-8
Python
false
false
415
py
""" The :mod:`tslearn.neural_network` module contains multi-layer perceptron models for time series classification and regression. These are straight-forward adaptations of scikit-learn models. """ from .neural_network import TimeSeriesMLPClassifier, TimeSeriesMLPRegressor __author__ = 'Romain Tavenard romain.tavena...
[ "romain.tavenard@univ-rennes2.fr" ]
romain.tavenard@univ-rennes2.fr
e3b7eb1b3827edcba78060e3051438f29d691b58
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02404/s960425293.py
0de2e292bdd90651c2ea9948ed854c3590feb3e8
[]
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
191
py
while 1: (H,W) = [int(i) for i in input().split()] if H==W==0: break print('#'*W) for i in range(H-2): print('#'+'.'*(W-2)+'#') print('#'*W) print('')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
849c162af41131a106cdda454b6af428f8cac483
11aac6edab131293027add959b697127bf3042a4
/isToeplitzMatrix.py
39560dbb5a486627bf54e486fb6cac79f90fe046
[]
no_license
jdanray/leetcode
a76b3436002b31865967b757b73c85992636383b
fd736af3e79899b86dac89d4d925d5bd985944ad
refs/heads/master
2023-08-15T01:20:05.110565
2023-08-14T00:25:58
2023-08-14T00:25:58
148,686,493
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
# https://leetcode.com/problems/toeplitz-matrix/description/ class Solution: def isToeplitzMatrix(self, matrix): for i in range(len(matrix) - 1): for j in range(len(matrix[i]) - 1): if matrix[i][j] != matrix[i + 1][j + 1]: return False return True
[ "jdanray@users.noreply.github.com" ]
jdanray@users.noreply.github.com
da4f9f021fd019d5ef18dbd2e821d201de06d002
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/test/connectivity/acts/framework/acts/controllers/chameleon_controller.py
b9965cf69fdfc8d09502e15d02627a0fdb1751c4
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,175
py
#!/usr/bin/env python3 # # Copyright 2017 - The Android Open Source Project # # 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 # # ...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
20b035cb4df2c7e31ca09b0df3a8484d28292617
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5020/180005020.py
3ebd718b508dadfdbe85804be5bfc4ff1cde6abc
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,675
py
from bots.botsconfig import * from records005020 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'AN', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'RDR', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
a452d8c8be8214679e4821b0ad93f0e586261b5e
c9fe9f52d70ad5308d19664e82081233f1bc6d9a
/app/views.py
4f04a92d6305eafbcd88315cf2b9d14c4a415af4
[]
no_license
arifbd2221/ResumeParser
9f48f97528588cde6fa7b5507d8ac3364a6c016b
4508465e21e9a362018c84ac0370dcd35df98a7f
refs/heads/master
2022-12-10T21:06:50.429742
2020-03-18T18:21:07
2020-03-18T18:21:07
248,309,886
0
0
null
2022-12-08T03:50:02
2020-03-18T18:19:53
Python
UTF-8
Python
false
false
1,578
py
from django.shortcuts import render from .models import Resume, Candidate from django.core.files.storage import default_storage import os from pyresparser import ResumeParser def home(request): top_candidates = dict() candidates = Candidate.objects.all() candidates = list(candidates) candidates.sor...
[ "mohidulhoque216@gmail.com" ]
mohidulhoque216@gmail.com
3fc99cb24ddecebaf07b6bdc249560f5cc586b4c
b9e99a828952ffeab9767e625c0061cb3ea5b670
/Python编程从入门到实践/learning_log/learning_log_2.1_让用户能够输入数据/learning_log/urls.py
1eb20c51f860bd491ba4e3b501449aa4cf335e2c
[]
no_license
ZGA101421/Python3_Project
95d95e23858ef92f6825f018605089c105303ad3
fa30f876fd13890743bc81d1521534c340575132
refs/heads/master
2022-04-03T07:03:46.369710
2019-12-30T15:22:21
2019-12-30T15:22:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
"""learning_log URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "986740304@qq.com" ]
986740304@qq.com
7b5282cb4880ed7331be6c50b7b9bde16fe209cb
b9b06d86d43e738b62ab9289fc13aae4c2b2670b
/nsd1807/devops/day04/smail2.py
51a4e856461309c72f18ac3c1d64e75aafe8f38f
[]
no_license
MrZhangzhg/nsd_2018
31a7a8d54e2cb3ff4f4eb5c736fbd76601718356
458a1fef40c5e15ba7689fcb3a00baf893ac0218
refs/heads/master
2020-04-08T19:08:48.237646
2019-09-08T04:31:07
2019-09-08T04:31:07
159,642,127
5
7
null
2019-01-04T05:33:40
2018-11-29T09:37:27
Python
UTF-8
Python
false
false
904
py
from email.mime.text import MIMEText from email.header import Header from smtplib import SMTP import getpass def send_mail(text, subject, sender, receivers, server, user, passwd, port=25): message = MIMEText(text, 'plain', 'utf8') message['From'] = Header(sender, 'utf8') message['To'] = Header(receivers[0]...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
261e0eb698524a65c64f509f16fc005825678a85
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5709773144064000_1/Python/DayBit/probB.py
89a1ba67f2f5762b9bdf723758fef3336e9985fe
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
663
py
''' Created on 12/04/2014 @author: david ''' fIn=open("B-large.in") T=int(fIn.readline()) P=[] for i in range(T): c,f,x = [float(x) for x in fIn.readline().strip().split()] P.append((c,f,x)) fRes = open("res.txt", "w") case = 0 for c,f,x in P: case += 1 cps=2.0 timetobuy = c/cps bestTim...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
27f71acc6181f6b40de7037f107d718970c210e8
24532cc3eb0e489415a08457b454c454abf66525
/object-maker/copy-dataset-files.py
295761788c3e67586d04717102ac11cacb0d8a08
[]
no_license
glygener/glygen-backend-integration
7a4c8e45dd9af6b0424946fcc7e11e9aef39d9a6
526775496f860680df2dbfdfc42b3ba35c69cfea
refs/heads/master
2022-09-22T03:56:35.116497
2022-09-09T16:56:59
2022-09-09T16:56:59
151,144,635
0
0
null
null
null
null
UTF-8
Python
false
false
2,122
py
#!/usr/bin/python import os,sys import string import csv import json import glob import requests import subprocess import pymongo from optparse import OptionParser import libgly from Bio import SeqIO __version__="1.0" __status__ = "Dev" def get_master_file_list(): file_name_list = [] ds_obj_list = json.lo...
[ "rykahsay@gwu.edu" ]
rykahsay@gwu.edu
ec95968a7b2df86a07137f7e6e672b71302ae50a
7834e55df20cd3b0fb629a137dd2671cf53f484f
/tests/test_encoding.py
8fb4b5e646be000a21d9ac4265648f9e54c2c5af
[ "MIT" ]
permissive
mapbox/mapbox-sdk-py
ca23c0f5cbbadd654b53683ff3f8918f504e0ff6
0329ccb17e7d3f4123da1534417bd21aa31bc2eb
refs/heads/master
2023-06-05T11:46:38.434644
2022-08-01T22:31:37
2022-08-01T22:31:37
39,404,445
335
150
MIT
2020-02-04T16:25:14
2015-07-20T19:34:47
Python
UTF-8
Python
false
false
4,221
py
import pytest import copy import json from mapbox.encoding import (read_points, encode_waypoints, encode_polyline, encode_coordinates_json) gj_point_features = [{ "type": "Feature", "properties": {}, "geometry": { ...
[ "perrygeo@gmail.com" ]
perrygeo@gmail.com
94a7c9bb205a5af9de7c09c8beb9796010b2cc71
b059c2cf1e19932abb179ca3de74ced2759f6754
/S20/day04/03作业.py
89601d4d3d9c179bb55fbfb29fee50ae4e4ba7d1
[]
no_license
Lwk1071373366/zdh
a16e9cad478a64c36227419d324454dfb9c43fd9
d41032b0edd7d96e147573a26d0e70f3d209dd84
refs/heads/master
2020-06-18T02:11:22.740239
2019-07-10T08:55:14
2019-07-10T08:55:14
196,130,277
0
0
null
null
null
null
UTF-8
Python
false
false
8,864
py
# li = ["alex", "WuSir", "ritian", "barry", "wenzhou"]. # a.计算列表的⻓度并输出 # b. 列表中追加元素"seven",并输出添加后的列表 # c. 请在列表的第1个位置插⼊元素"Tony",并输出添加后的列表 # d. 请修改列表第2个位置的元素为"Kelly",并输出修改后的列表 # e. 请将列表l2=[1,"a",3,4,"heart"]的每⼀个元素添加到列表li中,⼀⾏代码实现,不 # 允许循环添加。 # f. 请将字符串s = "qwert"的每⼀个元素添加到列表li中,⼀⾏代码实现,不允许循 # 环添加。 # g. 请删除列表中的元素"ritian",并输出...
[ "1071373366@qq.com" ]
1071373366@qq.com
9d75f4f664eb0f368c443272ef6b096804e26e20
18aee5d93a63eab684fe69e3aa0abd1372dd5d08
/test/legacy_test/test_numel_op.py
5c8c477877c3261829732e495a4f3679b18d2316
[ "Apache-2.0" ]
permissive
Shixiaowei02/Paddle
8d049f4f29e281de2fb1ffcd143997c88078eadb
3d4d995f26c48f7792b325806ec3d110fc59f6fc
refs/heads/develop
2023-06-26T06:25:48.074273
2023-06-14T06:40:21
2023-06-14T06:40:21
174,320,213
2
1
Apache-2.0
2022-12-28T05:14:30
2019-03-07T10:09:34
C++
UTF-8
Python
false
false
4,760
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
Shixiaowei02.noreply@github.com
96c96b1cbf1f744df9693030c13335e0783a3353
1af6958461af6257264ace2a6d13385b47104606
/pyscf/semiempirical/umindo3_grad.py
f9223d6afa0b11f546adc5c837174e722f4b0638
[ "Apache-2.0" ]
permissive
tmash/pyscf
ac9a86c078170044b52be71e5d00fa5f680f55af
89c101c1c963e8247808635c61cd165bffab42d6
refs/heads/master
2020-12-04T04:41:23.456744
2020-01-02T18:05:16
2020-01-02T18:05:16
231,615,690
1
0
Apache-2.0
2020-01-03T15:33:33
2020-01-03T15:33:32
null
UTF-8
Python
false
false
2,099
py
#!/usr/bin/env python import copy import numpy from pyscf import lib from pyscf import gto from pyscf import scf from pyscf.grad import uhf as uhf_grad from pyscf.data.elements import _symbol from pyscf.semiempirical import mopac_param from pyscf.semiempirical import mindo3 from pyscf.semiempirical import rmindo3_grad...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
510ae73b72ae1dfb9680491782b111449bfd44ff
d7b9b490c954c7a9160b69f8ce2c907ef4681ecb
/sponsors/migrations/0006_auto_20201016_1517.py
ff9d137547f788af7cd2e185b1028bb98733f640
[ "Apache-2.0" ]
permissive
python/pythondotorg
00db93a4b1789a4d438806d106d9cee3349ad78c
c4ee749942227ca75c8e670546afe67232d647b2
refs/heads/main
2023-08-28T20:04:24.735314
2023-08-03T19:12:29
2023-08-03T19:12:29
6,127,047
1,131
646
Apache-2.0
2023-08-24T15:57:04
2012-10-08T16:00:15
Python
UTF-8
Python
false
false
2,459
py
# Generated by Django 2.0.13 on 2020-10-16 15:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("sponsors", "0005_auto_20201015_0908"), ] operations = [ migrations.RenameModel( old_name="SponsorshipLevel", new_na...
[ "noreply@github.com" ]
python.noreply@github.com
0510146ef6fac9025dff91e4eeac1220c8281527
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/job_scrapers/plugins/com/link/scotiabank.py
cb1391598e9dac9c05f05ebfd3b07cae11ae06a6
[]
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
1,977
py
import re, urlparse, mechanize from neekanee.jobscrapers.jobscraper import JobScraper from neekanee.htmlparse.soupify import soupify, get_all_text from neekanee_solr.models import * COMPANY = { 'name': 'Scotiabank', 'hq': 'Toronto, Canada', 'home_page_url': 'http://www.scotiabank.com', 'jobs_page_ur...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
21f276b882cd9006b94371de31160164730f6994
99f851bc034bdedd61ff673b4ca1d294e9451d04
/iprPy/records/LAMMPS-potential.py
bbade6130a0a6bfafae083165ae1d8893d518f71
[]
no_license
njisrawi/iprPy
c583ba92b2537ce449c3fb6a832a06036dc1918f
5ce6c14b1cc889069495a2f29db19d5d78e29ede
refs/heads/master
2021-01-20T09:00:24.709510
2017-01-25T20:28:54
2017-01-25T20:28:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
from DataModelDict import DataModelDict as DM import atomman as am import atomman.unitconvert as uc import numpy as np def schema(): dir = os.path.dirname(os.path.abspath(__file__)) return os.path.join(dir, 'record-LAMMPS-potential.xsd') def todict(record): model = DM(record) pot = model['LAMMPS-po...
[ "lucas.hale@nist.gov" ]
lucas.hale@nist.gov
eab0f37861eb12d0b3543cafdd7136150516b581
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2285/60598/260635.py
6ae600bba2a2f7ddba8115e36439a621e275c9fc
[]
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
558
py
times = int(input()) for i in range(times): length = int(input()) nums = list(map(int, input().split(" "))) j = 0 finish = False result = [] while j < length-1: start = j while j < length-1 and nums[j] < nums[j+1]: j += 1 if start != j: result.appe...
[ "1069583789@qq.com" ]
1069583789@qq.com
d3f26c05d3402fa44b20bfa369d5f437432ac93a
ce4a7ef82cf2146647714c7887c581bc0971f83e
/account/migrations/0001_create_sites.py
ceafd6dc51e23aae38c15ae11ea569fd78f6ee07
[]
no_license
fbenke/BeamRemit
d15d8467c17ca15a1afc10c6bc23d756e3b13f75
2b894f56e3b1711334115085b6cd9379bd5bf1aa
refs/heads/master
2021-01-10T12:12:16.289891
2014-12-05T11:36:45
2014-12-05T11:36:45
52,040,642
1
2
null
null
null
null
UTF-8
Python
false
false
1,098
py
from south.v2 import DataMigration from django.conf import settings class Migration(DataMigration): def forwards(self, orm): orm['sites.site'].objects.all().delete() site = orm['sites.site'].objects.create( id=0, domain=settings.ENV_SITE_MAPPING[settings.ENV][settings.SIT...
[ "vagrant@precise64.(none)" ]
vagrant@precise64.(none)
8d48d5283041505a2efe6dd502d7cefd20c39f93
6baf192a289f602407044e3b2100aeffc60e3897
/microblog.py
3d8c0872b222e8d7023fe352aaa3889b9d5f61fd
[]
no_license
HaoREN211/hao_read
798adcb0c6bdd2372b050112e76b858e3a212276
ed126ffb424f4e128be02cbc06807f1e5c863a69
refs/heads/master
2023-05-12T18:20:20.315328
2020-02-03T14:23:43
2020-02-03T14:23:43
236,145,154
0
0
null
2023-05-01T21:20:55
2020-01-25T08:38:31
JavaScript
UTF-8
Python
false
false
1,255
py
# 作者:hao.ren3 # 时间:2019/11/5 14:34 # IDE:PyCharm from flask import send_from_directory from app import create_app, db from app.models.User import User from app.models.Post import Post from os.path import join app = create_app() # 为网站添加图标 def favicon(): return send_from_directory(join(app.root_path, 'static'), ...
[ "renhaojules@163.com" ]
renhaojules@163.com
4f36cb2a52bc750cf728f622b4d832bbc4cfdf9b
70cc96b55c202245691463ee59e42e9801cde858
/python/rtypes/types/subset.py
5638f2520dcf59172857df76e81b5dcdca8f347a
[]
no_license
rezafuru/spacetime
ad1da33fbcf9c358cf1b379507f0178155354f92
3b4b58775d41c75f103278c5e1553e5b36542d72
refs/heads/master
2023-03-08T09:01:48.286203
2019-10-14T18:07:15
2019-10-14T18:07:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from rtypes.attributes import PredicateFunction from rtypes.metadata import SubsetMetadata from rtypes.utils.enums import Rtype def set_metadata(cls, parent): cls.__r_table__ = parent.__r_table__ pred_func = None for attr in dir(cls): if isinstance(getattr(cls, attr), PredicateFunction): ...
[ "ra.rohan@gmail.com" ]
ra.rohan@gmail.com
6e8292163311f9d2d6a1c5cb60d88ddcffd2cf58
015383d460fa4321391d964c4f65c4d0c044dcc1
/.venv/lib/python3.7/site-packages/faker/providers/person/dk_DK/__init__.py
2b739525bda88b354c41c2ee0642b1e1f9a3a170
[ "Unlicense" ]
permissive
kobbyrythm/temperature_stories_django
8f400c8d3c8190b0e83f7bcfece930d696c4afe9
552d39f1f6f3fc1f0a2f7308a7da61bf1b9b3de3
refs/heads/main
2023-07-03T21:28:46.020709
2021-07-20T09:44:29
2021-07-20T09:44:29
468,728,039
3
0
Unlicense
2022-03-11T11:41:47
2022-03-11T11:41:46
null
UTF-8
Python
false
false
7,565
py
from .. import Provider as PersonProvider class Provider(PersonProvider): formats = ( '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}-{{las...
[ "b.scharlau@abdn.ac.uk" ]
b.scharlau@abdn.ac.uk
f8482f84e76853cc7b2a70e7460d1e2cd3e290db
6ac77834909c485686638d27c0bf41e6d1765cf7
/src/database/module_user.py
b042699456da0a2849bcae55811c5f87ed51da84
[]
no_license
YangXinNewlife/gears
4144e451861efb0f3ae1d738eb5fcd6cec46a833
486b1ce5a7b8d8682bb1394be8f5dd6ae0fca837
refs/heads/master
2021-01-20T01:41:30.074696
2017-05-26T08:17:45
2017-05-26T08:17:45
89,316,766
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
#-*- coding:utf-8 -*- __author__ = 'yx' from module_base import * import sys reload(sys) class ModuleUser(ModuleBase): def __init__(self, table="t_user"): self.schema = "ehc" self.table = table self.table_name = "\"%s\".\"%s\"" % (self.schema, self.table) # def __init__(self, table_...
[ "yangxin@zetyun.com" ]
yangxin@zetyun.com
62a3e940766f49a1361fa806c29ca65246258810
a6da9040a6dad7db109cc163b76acd3e6c8be56f
/hafta01/ders06.py
8dfdb173da15c242146905782db437de1c0a0502
[]
no_license
sinanurun/Python_8181
f04677ada7f1f6daadddaaf49211b20e8197ad7f
710b2bc4573d22988376fd3680c5be0dc011f5bc
refs/heads/master
2020-04-27T13:14:14.544839
2019-04-15T04:50:33
2019-04-15T04:50:33
174,362,253
21
10
null
null
null
null
UTF-8
Python
false
false
359
py
# ad = input("adınız nedir") # # if ad == "fatih" or ad == "serhat": # print("bilişmcisin") # else: # print("farklı branştasın") cinsiyet = input("cinsiyet") meslek = input("mesleğiniz") if cinsiyet =="kadın" and meslek =="bilisim": print("8 Mart dünya kadınlar gününüz kutlu olsun") else: print("her g...
[ "sinanurun24@gmail.com" ]
sinanurun24@gmail.com
19842f088f7b8feaf1c34853366f4f1851fb997b
9303910239ca531d512460553e291960f3b0bd1c
/setup.py
866ecd51fea15b427bb5e38717130887e781a264
[ "BSD-3-Clause" ]
permissive
basnijholt/pyfeast
2c81e67b221a2450f514b7da853342d91eae54bd
b6d8832b3a101900ed8b50127c1884ef74b34750
refs/heads/master
2020-03-18T08:06:20.356311
2018-05-23T18:08:54
2018-05-23T18:33:48
134,490,186
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
#!/usr/bin/env python3 import configparser import sys import os.path import numpy from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize from create_cython_files import create_feast_pxd, create_feast_pyx def guess_libraries(): """Return the configuration fo...
[ "basnijholt@gmail.com" ]
basnijholt@gmail.com
710bafb6e75878a0ed6c139caf4c0f43bac256d9
66f4c011237e9fcad12d5f5508589b01a66a2a91
/neural_sp/models/modules/attention.py
23eead75b60255abae0090078e2902d3e3121e7e
[ "Apache-2.0" ]
permissive
nikhil-garg/neural_sp
5004624ed1c23ff1ce5fefba1538e25eabab1e8c
0df9107bf2515f6fba6d2a5910c6878daa06193f
refs/heads/master
2023-01-22T14:44:17.338339
2020-10-31T13:49:50
2020-10-31T13:49:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,022
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2018 Kyoto University (Hirofumi Inaguma) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """Single-head attention layer.""" import numpy as np import torch import torch.nn as nn class AttentionMechanism(nn.Module): """Single-head attention...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
bc728071d8ce05a274be6f3ab7e50341062153cc
a127d0feb3bcf4f2581f385bb24f2b789c771c9c
/2syo/17.py
81b2851a04ffe18296b8930111e36f4c0080e7e3
[]
no_license
NgoVanDau/nlp100knock
01383e4cc5a1470508744668103b9ea1a238b892
3ef63c0d2dfb55c0e6a31aced645f284325a98a5
refs/heads/master
2023-03-22T13:19:23.932429
2018-08-05T05:27:11
2018-08-05T05:27:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
'''indexが入ってしまうので少し意図とずれますが,とりあえず先に進みます''' import pandas as pd # f = open('hightemp.txt', 'r') # lines = f.readlines() # f.close() # hightemp = pd.read_table('input/hightemp.txt') # print(hightemp) cols = ['prefecture','city','degree','date'] hightemp = pd.read_table('input/hightemp.txt', header=None) hightemp.colum...
[ "kota.k.1132.pda@gmail.com" ]
kota.k.1132.pda@gmail.com
5555d92655b3c29e89c2358b93be0e313d1b0343
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03103/s900243702.py
79c2efdabaa3a89657cec5473f6e626b9bfafc0b
[]
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
369
py
n,m = map(int,input().split(" ")) li = [] for i in range(n): a,b = map(int,input().split(" ")) li.append((a,b)) li.sort() result = 0 count = 0 flag = False for i in range(m): for j in range(li[i][1]): result += li[i][0] count += 1 if count == m: flag = True ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9d762fd0e7c422218e547c5cb69f8b1a0f8bdd98
ca1151bb86a2445d74b24e6ec27c353a36cc511e
/setup.py
d932b3a8d81634b19ad4eeaced1b1a66de5c8646
[ "MIT" ]
permissive
williamfzc/stagesep2
6739c8f32a5fb81f4907e92aa953b2b2d437cbdd
20c00187c86e8b807bbb3373f58918a575c2ccc9
refs/heads/master
2020-04-06T22:06:21.683906
2019-08-17T10:07:31
2019-08-17T10:07:31
157,824,967
22
3
MIT
2019-03-13T07:55:29
2018-11-16T06:49:13
Python
UTF-8
Python
false
false
865
py
from setuptools import setup, find_packages setup( name='stagesep2', version='0.2.6', description='Analyse, and convert video into useful data.', author='williamfzc', author_email='fengzc@vip.qq.com', url='https://github.com/williamfzc/stagesep2', packages=find_packages(), license='MIT...
[ "178894043@qq.com" ]
178894043@qq.com
31d37ea5367ad2ba461b4028cc146828551bad82
131ccf66fb787e9b1f0773a25fa518d1f2a3c5d0
/gui_programming/menu_demo.py
4621009871473d50b9017a2adab00a3842a40797
[]
no_license
jocogum10/learning-python-programming
a0ba62abde49fd79762bcb7ba4a94bf8126afa77
035858bd332e3970d95db8bce7b1175e450802db
refs/heads/master
2020-07-07T17:08:00.743196
2019-12-13T05:32:47
2019-12-13T05:32:47
203,416,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,770
py
#!/usr/local/bin/python """ Tk8.0 style main window menus menu/tool bars packed before middle, fill=X (pack first=clip last); adds photo menu entries; see also: add_checkbutton, add_radiobutton """ from tkinter import * from tkinter.messagebox import * class NewMenuDemo(Frame): def __init__(self, parent=None): ...
[ "jocogum10@gmail.com" ]
jocogum10@gmail.com
4ba22a2cd9579de26bad0952e3b979925435e5ce
1763b41a702b8e8b15e3767676fb201de927cca6
/Yelp_CF.py
09913bdba4902eb3c7adf26662e19e3115f1eda4
[]
no_license
chixujohnny/Yelp_project
fe81701d642729cf850c1a4adf5734cc052561d3
844da018885b107246c39c1942cec0575e051b59
refs/heads/master
2021-01-12T06:23:22.318169
2017-05-11T10:42:10
2017-05-11T10:42:10
77,352,226
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# coding: utf-8 ##################### # 基于协同过滤的推荐 # ##################### import json def CF_Data_Preprocess(review_path): # 搞一个 dict # {'user_id':['business_id', 'stars', 'date']} User_Rate_Dict = {} lines = open(review_path) for line in lines: line_json = json.loads(line) ...
[ "1390463349@qq.com" ]
1390463349@qq.com
420b7dde5c7f879259a4d295a2879d5337315c01
38433574de70ccc0472daeabb614b491ac8526c0
/sqlalchemy-stubs/dialects/firebird/fdb.pyi
d4d08d972401a15e71addb27f7142773657389cf
[ "MIT" ]
permissive
Parnassius/sqlalchemy2-stubs
28fd7611a50b60415062fdb6d367da14c9a69462
68f8417888456588714fcced1c6799f3eb00ff2d
refs/heads/main
2023-09-01T18:03:58.568139
2021-10-14T17:54:15
2021-10-14T17:54:15
363,415,451
0
0
MIT
2021-10-14T20:29:03
2021-05-01T13:22:32
Python
UTF-8
Python
false
false
402
pyi
from typing import Any from .kinterbasdb import FBDialect_kinterbasdb as FBDialect_kinterbasdb from ... import util as util class FBDialect_fdb(FBDialect_kinterbasdb): def __init__( self, enable_rowcount: bool = ..., retaining: bool = ..., **kwargs: Any ) -> None: ... @classmethod def dbapi(cl...
[ "mike_mp@zzzcomputing.com" ]
mike_mp@zzzcomputing.com
e5f65f77df2260dd3efa5fb59971d518f10a7410
481641e0179b5d416a7c48481455874767ae2575
/Course Schedule.py
c2898ffbfd7fa05912babe048fa6ac2bbf524b85
[]
no_license
nixonpj/leetcode
776dad03a9de43a8c046b1ea1bbb3dd5e9f256ca
de756337b11e578e25f6d0cc0c70a22ae0b8fdc5
refs/heads/main
2023-05-01T11:38:44.530120
2021-05-17T15:13:16
2021-05-17T15:13:16
304,484,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
""" There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] indicates that you must take course bi first if you want to take course ai. For example, the pair [0, 1], indicates that to take course 0 you ha...
[ "nixon.pj93@gmail.com" ]
nixon.pj93@gmail.com
0b53643e6c106365bda081bdb298e397550c27bd
c40d1eb90464fa61c7c290ccd4f4a6416d7ed2ff
/1094. Car Pooling.py
3cdb8a616a16184f9f22f3d0baaab05d4e69970d
[]
no_license
mh-rahman/Programming-Practice
2bebdd5c68490882efefa9e262d2a90bb0da51fa
e4ceb275a6c9a56999289751f13e74548d9cd185
refs/heads/master
2021-07-26T12:48:43.158183
2020-09-19T22:34:25
2020-09-19T22:34:25
219,614,371
3
1
null
null
null
null
UTF-8
Python
false
false
725
py
class Solution: def carPooling(self, trips: List[List[int]], capacity: int) -> bool: trips.sort(key = lambda x: (x[1],x[2])) passengers, dropHeap = 0, [] heapq.heapify(dropHeap) for nPassengers, startLoc, endLoc in trips: #Drop passengers while dropHeap and dr...
[ "rahmanhaseeb32@gmail.com" ]
rahmanhaseeb32@gmail.com
397ef26f523edeb63c9bc75e90425a4be6ca01c7
149e9e52304a970ffb256f290fce5f614c9e20c4
/Python Programming language/DataCampPractice/Intermediate Python for DS/DictionariesAndPandas/DeP2.py
2c6e6d638adfb8dd2b65d73c8fa29af218c8603c
[]
no_license
Pasquale-Silv/Improving_Python
7451e0c423d73a91fa572d44d3e4133b0b4f5c98
96b605879810a9ab6c6459913bd366b936e603e4
refs/heads/master
2023-06-03T15:00:21.554783
2021-06-22T15:26:28
2021-06-22T15:26:28
351,806,902
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# Definition of dictionary europe = {'spain':'madrid', 'france':'paris', 'germany':'berlin', 'norway':'oslo' } # Add italy to europe europe["italy"] = "rome" # Print out italy in europe print(europe["italy"]) print("italy" in europe) # Add poland to europe europe["poland"] = "warsaw" # Print europe print(europe)
[ "55320885+Pasquale-Silv@users.noreply.github.com" ]
55320885+Pasquale-Silv@users.noreply.github.com
864cfe6ca7cb9e8a0d840fa7b0fd3f5bb4df3542
c7d4b0a7278df76c65108a637be0ee144f3b0edd
/graphite_api/finders/__init__.py
4b4f76a120412c53cbd1f6dfeaef5925ff3e0f34
[ "Apache-2.0" ]
permissive
dkulikovsky/graphite-api
e21f0441319e9a58a6f06bfee8369e8d0f13cab8
f42d14eb2bd8112f12212318f8ca5b6f859b12f0
refs/heads/master
2021-01-23T00:25:39.428369
2015-07-08T23:27:09
2015-07-08T23:27:09
38,269,511
2
1
null
2015-06-29T20:26:27
2015-06-29T20:26:27
null
UTF-8
Python
false
false
1,546
py
import fnmatch import os.path def get_real_metric_path(absolute_path, metric_path): # Support symbolic links (real_metric_path ensures proper cache queries) if os.path.islink(absolute_path): real_fs_path = os.path.realpath(absolute_path) relative_fs_path = metric_path.replace('.', os.sep) ...
[ "brutasse@gmail.com" ]
brutasse@gmail.com
ea400d3b5f0ad457cae4af10cb257e224a88cc0a
9d41f4df737dc2e6fd3fcf4c6f50028fd483cdd0
/python_Django/fc_community/board/migrations/0002_auto_20200430_1106.py
66d148799c461106ca4773eddece35b4ca8a41f6
[]
no_license
Ha-Young/byte_degree_python
33a730f4c1f4a99fea03fb923ad73edee2dd1d48
7fcbfed832dec3d7cb8503b86d9457e1f2ae0ccf
refs/heads/master
2022-11-16T16:54:52.978443
2020-07-04T14:32:16
2020-07-04T14:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Generated by Django 3.0.5 on 2020-04-30 11:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('board', '0001_initial'), ] operations = [ migrations.AlterField( model_name='board', name='registered_dttm', ...
[ "hayeong28@naver.com" ]
hayeong28@naver.com
2fa05b1d216249b5cab111a5a004c50d74328970
cc43149992c5f79718279ee47e5db4617b1b42e9
/pytorch_toolkit/nncf/examples/common/models/classification/squeezenet.py
8bac5c962959fb4ff1fec14ff7328bba41855a48
[ "Apache-2.0" ]
permissive
tongni1975/openvino_training_extensions
174be009bb2fedf6bc774426f340960a90635600
3ff9796a2fc413564726916d5c11b42738bb40ef
refs/heads/develop
2020-06-07T19:06:46.120350
2020-04-17T11:27:08
2020-04-17T11:27:08
193,077,317
0
0
Apache-2.0
2020-04-17T11:47:00
2019-06-21T10:12:20
Python
UTF-8
Python
false
false
5,531
py
""" Copyright (c) 2019 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
[ "48012821+AlexanderDokuchaev@users.noreply.github.com" ]
48012821+AlexanderDokuchaev@users.noreply.github.com
e295f4546f92d704e963f88e2f69e970dcdbf3df
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_gainsay.py
0939ed1baa146c43e3236b450df317cc19978b75
[ "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
325
py
#calss header class _GAINSAY(): def __init__(self,): self.name = "GAINSAY" self.definitions = [u'to refuse to accept something as the truth: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = []): return self.json...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
217e3f356c285d0b8b0da2c8c12ff234b8ca8f10
1064db5dfd154c4bc600e0e03841b0f73f0eefbc
/home/api/v1/urls.py
68d0f35d9043e634ceb843ff272945032f9cd6ae
[]
no_license
crowdbotics-apps/web-29-dev-5196
3303921a0e5c8794e8e67f55c9841f3ec7610c16
7beda8f7d57ce9b9858a46f7e3940d6eed4b5725
refs/heads/master
2023-05-26T23:00:23.271209
2020-05-29T12:47:07
2020-05-29T12:47:07
267,768,914
0
0
null
2021-06-13T04:08:30
2020-05-29T04:59:18
Python
UTF-8
Python
false
false
614
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import CustomTextViewSet, GgfhgfhViewSet, HomePageViewSet from home.api.v1.viewsets import ( SignupViewSet, LoginViewSet, HomePageViewSet, CustomTextViewSet, ) router = DefaultRouter() router.register...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
98661a7646afcda1edc0dedb83f90e8b72a50dc0
650b516b1214c4d44fd6f04941e87e28e9049cde
/addons/plugin.video.fanfilm/resources/lib/libraries/cleandate.py
85151cc3c8bb936f60ac45d4dfad364b8b419655
[]
no_license
MultiWu/build
b85cc45a33b871f4ade58de8457fcd094761f385
f50a64f674b6499668e0a5758fe0879b016f5c38
refs/heads/master
2022-10-31T20:35:53.382826
2019-12-20T22:50:16
2019-12-20T22:50:16
228,462,984
0
3
null
2022-10-07T08:47:18
2019-12-16T19:46:39
Python
UTF-8
Python
false
false
1,884
py
# -*- coding: utf-8 -*- ''' Covenant Add-on This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This prog...
[ "oliwierminota@gmail.com" ]
oliwierminota@gmail.com
8decbdca81e3e4b91373b7e04f95168420879c90
98d9305b1717642bcfb842eecd84d63b6eeaf759
/Funtions/Favorite Book.py
e2892efd0cc0ff10b3dc5face5cc9e96c6f9880e
[]
no_license
er-aditi/Learning-Python
5ceb020f4df8db9e34df78edfaecca3e1854c8a9
297eda435ee2e1cee643f94ea4c5de6a82e3c8a7
refs/heads/master
2020-03-24T17:22:22.129081
2019-06-19T05:47:26
2019-06-19T05:47:26
142,856,993
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
#Parameter def favorite_book(title): print("One of my favorite books is Alice in " + title) #Argument favorite_book("Wonderland")
[ "aditijainnoida85@gmail.com" ]
aditijainnoida85@gmail.com
416be490276271568c133407975891c44a56e873
52b5773617a1b972a905de4d692540d26ff74926
/.history/countingE_20200723125242.py
ee2eed06a056b5d20bc8221422b9c32e3af0b259
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
def counting(arr): # keep count of the occurrences m = max(arr)+1 counts = [0 for i in range(m)] outputs = [0 for i in range(m)] # we keep the record of the occurences of the various numbers for i in range(len(arr)): counts[arr[i]] +=1 # now to get the running sum total = 0 ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
04640dde560910e0832261ea2972e720f222af3c
c0b6f77fce4a35001ac75d9375eac682780c72cd
/experiments/heli/plotting/plot_trajectories.py
5e11cf21d79a94fe0198595dcd8167631e0f9ca0
[ "MIT" ]
permissive
sisl/CEEM
aef7854211887939f582fef9ce4fa9ac23a30567
6154587fe3cdb92e8b7f70eedb1262caa1553cc8
refs/heads/master
2023-07-19T17:56:31.222617
2021-03-16T15:59:43
2021-03-16T15:59:43
266,781,728
6
1
MIT
2023-07-06T21:36:26
2020-05-25T13:07:42
Python
UTF-8
Python
false
false
2,885
py
import matplotlib.pyplot as plt import torch import numpy as np from ceem.data_utils import * from ceem.smoother import EKF import pandas as pd import click import matplotlib matplotlib.rc('text', usetex=True) matplotlib.rcParams['text.latex.preamble'] = [r"\usepackage{amsmath}", r"\usepackage{siunitx}"] ttl = [ '...
[ "kunal.menda@gmail.com" ]
kunal.menda@gmail.com
1096ceab5c58b730c11c204555f2b606334dfd5b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/hzQ6dEJ2GfscAZzND_23.py
6d6b618bba5d6f707d882f094ff6b102bf50e42f
[]
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
713
py
""" Create a function that takes a number as its parameter and returns another function.The returned function must take a list of numbers as its parameter, and return a list of the numbers divided by the number that was passed into the first function. ### Examples first = factory(15) // returns a function ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7791443a22dfd1c3fc5ec4d1ed8346c1da591f42
d6183f3762b0ecc4b580642fac8db9707a94679a
/cluster/server/app/conftest.py
e7f1ec17c423166f5cbe35ce1f1346e698b6f69c
[]
no_license
luke-zhu/blueno
4c5fd8b66df5c75e2d28f0cc9e32b45c75386beb
09fbb603468a4de8567e0fe4debd575da81672b2
refs/heads/master
2022-12-02T10:16:23.693589
2019-05-31T21:16:12
2019-05-31T22:20:12
184,935,571
2
0
null
2022-11-22T03:33:43
2019-05-04T19:20:07
Python
UTF-8
Python
false
false
1,789
py
import datetime import random import string from typing import Tuple import psycopg2 import pytest import testing.postgresql from werkzeug import security from app import env, db @pytest.fixture(scope='session') def test_user() -> Tuple[str, str]: created_at = datetime.datetime.now(datetime.timezone.utc) te...
[ "luke_zhu@brown.edu" ]
luke_zhu@brown.edu
68516eb8465dd0d6a43d17922aeacc2e62549fc3
b3ab2979dd8638b244abdb2dcf8da26d45d7b730
/test/test_update_request_permission_set_request_model.py
1cd01805888beee5d37b87cb5335ebce540773ae
[]
no_license
CU-CommunityApps/ct-cloudcheckr-cmx-client
4b3d9b82c5dfdaf24f8f443526868e971d8d1b15
18ac9fd4d6c4ae799c0d21745eaecd783da68c0c
refs/heads/main
2023-03-03T19:53:57.685925
2021-02-09T13:05:07
2021-02-09T13:05:07
329,308,757
0
1
null
null
null
null
UTF-8
Python
false
false
1,111
py
# coding: utf-8 """ CloudCheckr API CloudCheckr API # noqa: E501 OpenAPI spec version: v1 Contact: support@cloudcheckr.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import cloudcheckr_cmx_client from cloudcheckr...
[ "pea1@cornell.edu" ]
pea1@cornell.edu
7c0c761e0eb874e87225b67b92c6c871ca3ea0aa
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/str_cat-207.py
53a36c0c4f2221975566cc4362fa0f79bd194121
[]
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
283
py
a:str = "Hello" b:str = "World" c:str = "ChocoPy" def cat2(a:str, b:str) -> str: return a + b def cat3(a:str, b:str, c:str) -> str: return a + b + c print(cat2(a, b)) print(cat2("", c)) print(cat3(a, " ", c)) print(len(a)) print(len(cat2(a,a))) print(len(cat2($Exp,"")))
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
44ec356d33a6eeb229f8a08e5c38a02ca2b32098
75a179e8ddba54442697de87a3846f1711a30bae
/custompermission/api/views.py
a22c47ef90caba6c8771d00567decb8b3d0a670d
[]
no_license
amanlalwani007/drftutorial
2b5a5338b3146b1feb88c4d815fbf996dd49cb9d
4f5c651f4dee98a359b7a6e34d0ae9a8f8630e68
refs/heads/master
2023-07-09T01:28:04.921042
2021-08-21T10:59:06
2021-08-21T10:59:06
392,457,445
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
from .models import Student from .serializers import StudentSerializer from rest_framework import viewsets from rest_framework.authentication import SessionAuthentication from rest_framework.permissions import IsAuthenticated, AllowAny, IsAdminUser, IsAuthenticatedOrReadOnly, \ DjangoModelPermissions from .custompe...
[ "amanlalwani0807@gmail.com" ]
amanlalwani0807@gmail.com
567854f29d38416103ec3318189d55778dbeb556
41ede4fd3bfba1bff0166bca7aee80dcf21434c6
/suvari/gtk2chain/gtk2deps/libXinerama/actions.py
c2c1791cced00ef75b6b069b187e330f85971b39
[]
no_license
pisilinux/playground
a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c
e4e12fff8a847ba210befc8db7e2af8556c3adf7
refs/heads/master
2022-08-12T23:03:27.609506
2022-08-11T18:28:19
2022-08-11T18:28:19
8,429,459
16
22
null
2022-08-11T18:28:20
2013-02-26T09:37:11
Python
UTF-8
Python
false
false
501
py
# -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools def setup(): autotools.autoreconf("-vif") autotools.configure("--...
[ "suvarice@gmail.com" ]
suvarice@gmail.com
b5862c54903294ec07c26c54d450861018205faf
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_blitzes.py
605e73b62180965fa4fde07a03eb8b38914f2909
[ "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
233
py
from xai.brain.wordbase.nouns._blitz import _BLITZ #calss header class _BLITZES(_BLITZ, ): def __init__(self,): _BLITZ.__init__(self) self.name = "BLITZES" self.specie = 'nouns' self.basic = "blitz" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7bbe58a925f858deabcb88cfe329c58ff4da3f6d
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/N/narphorium/canadian_charities.py
b127dd024b64b13a4a719a865d73f8ac0e00bf51
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,780
py
import scraperwiki from string import Template import re from math import ceil from BeautifulSoup import BeautifulSoup start_page = scraperwiki.sqlite.get_var("current_page", 1) page = start_page num_pages = 1 max_pages = 500 for p in range(1, max_pages): page = start_page + p if page > num_pages: p...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
eb8e4a117c13531cce84262fa88ef50c79dff1be
ee3d8e233370d5a890ba61b00b768f743c979e67
/baekjoon/1904.py
3e6a0c99876563e3fe760c5e26fcfe350281dd62
[ "MIT" ]
permissive
alinghi/PracticeAlgorithm
50384fd12a29964e5aa704784a8867046693eff2
dea49e17337d9d7711e694059e27ceefb4b9d5d5
refs/heads/master
2023-01-23T06:03:40.314459
2020-12-09T14:20:09
2020-12-09T14:20:09
285,253,698
0
0
null
2020-08-13T05:25:44
2020-08-05T10:19:42
Python
UTF-8
Python
false
false
129
py
N=int(input()) #111 001 100 #001+1 00+00 100+1 11+00 111+1 a,b=0,1 for i in range(N): a,b=b%15746,(a+b)%15746 print(b%15746)
[ "alinghi@kaist.ac.kr" ]
alinghi@kaist.ac.kr
322d29fe0931fd88622b497e37f99ea0d0d93cf8
13ce3959fca0e51d5d17b4bf5b99d55b4a3d8ee0
/setup.py
e84b1d4bdd1371f6a1b0b7bdfbced243bda9212f
[ "MIT" ]
permissive
guadagn0/flavio
2b4d4bb450dfcbd21a92f55c5dfdbf6488cbf331
5a9b64e38b828fcd7907fd6fe7eb79b1dcefd4d3
refs/heads/master
2020-04-05T12:29:25.207810
2019-03-12T22:32:29
2019-03-12T22:32:29
156,872,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
from setuptools import setup, find_packages with open('flavio/_version.py', encoding='utf-8') as f: exec(f.read()) with open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='flavio', version=__version__, author='David M. Straub', author_email='david.straub@tum.de...
[ "david.straub@tum.de" ]
david.straub@tum.de
413bc5ab7c9a5eeea98c1310fcf21c955a3b899d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/qwDPeZeufrHo2ejAY_5.py
dd2776cc8868b371d82d76aca6a7ce2578b301f3
[]
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
577
py
""" Given a _string_ containing an _algebraic equation_ , calculate and **return the value of x**. You'll only be given equations for simple **addition** and **subtraction**. ### Examples eval_algebra("2 + x = 19") ➞ 17 eval_algebra("4 - x = 1") ➞ 3 eval_algebra("23 + 1 = x") ➞ 24 ### Notes ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ca6a14711f5fbc121792986501439f1f313ec357
a4186aadd9de84de34cde0d9bf443f802117260d
/scrapenews/spiders/news24.py
20561989efbb09f476923702ccff8a4ccb499508
[ "MIT" ]
permissive
public-people/scrape-news
bf1bd414d0c94d591aed0c515befaa7a76069093
b057f100e4db567dbadba26e18728d4ff5cd5fb3
refs/heads/master
2023-05-29T13:41:14.181360
2020-04-18T20:52:02
2020-04-18T20:52:02
123,028,777
10
20
MIT
2023-05-22T22:28:35
2018-02-26T20:50:29
Python
UTF-8
Python
false
false
2,256
py
# -*- coding: utf-8 -*- from .sitemap import SitemapSpider from scrapenews.items import ScrapenewsItem from datetime import datetime import pytz SAST = pytz.timezone('Africa/Johannesburg') class News24Spider(SitemapSpider): name = 'news24' allowed_domains = ['www.news24.com'] sitemap_urls = ['https://w...
[ "jbothma@gmail.com" ]
jbothma@gmail.com
050c6d64a7e34ab1e92d1ca8a82c006208da4b2e
32e0dcfe03fc8a54fd218bfb5fe8741a5ea8fc39
/UserCode/jzhang/sbc_run6_mergeall.py
013b5ffbce8389c2ccc782914a093247c85589c1
[ "MIT" ]
permissive
RunzZhang/SBCcode
e480ab85d165b42de060b1778a2e2af38b2f511e
e75b8e751cec5fb2c28950edef0c82f005caedcb
refs/heads/master
2021-09-08T03:41:56.222249
2019-06-17T19:52:32
2019-06-17T19:52:32
192,990,370
0
0
MIT
2019-06-20T21:36:26
2019-06-20T21:36:26
null
UTF-8
Python
false
false
7,163
py
import numpy as np import SBCcode as sbc import os import re from SBCcode.DataHandling.WriteBinary import WriteBinaryNtupleFile as wb # import ipdb modules = [ 'AcousticAnalysis_', 'DytranAnalysis_', 'EventAnalysis_', 'HistoryAnalysis_', 'ImageAnalysis_', 'TimingAnalysis_', 'PMTfastDAQalign...
[ "j.gresl12@gmail.com" ]
j.gresl12@gmail.com
730ad7c52a87d68667cc6d4ef736c84998330595
e17ab8f50b8a1f13b52aa770269eb469c87161b8
/apps/contact/forms.py
61cca7b816d64ca24e3016b278acd325dd385140
[]
no_license
masterfung/bond
6baa84a4322801aeb3f466d8f83e7e18c1d91731
bc283ec1bd7a52f77b6fc788d5e818bd7233fc1d
refs/heads/master
2022-12-09T17:45:47.243471
2015-03-08T19:29:21
2015-03-08T19:29:21
22,904,060
0
0
null
2022-12-07T23:22:59
2014-08-13T05:42:10
Python
UTF-8
Python
false
false
598
py
__author__ = '@masterfung' from captcha.fields import ReCaptchaField # Only import different from yesterday import floppyforms as forms class ContactForm(forms.Form): def __init__(self, *args, **kwargs): super(ContactForm, self).__init__(*args, **kwargs) for field_name, field in self.fields.item...
[ "hungmasterj@gmail.com" ]
hungmasterj@gmail.com
2b80e991998881a815ef8d991d0d1747dd9a3be1
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/apimanagement/azure-mgmt-apimanagement/generated_samples/api_management_list_diagnostics.py
9c7e8d5fde159226518502a2d34c5ee855e982f4
[ "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
1,587
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
63cdacc5b1a7bf38a597105b8ec6af5aa9c3117b
bc441bb06b8948288f110af63feda4e798f30225
/resource_package_tools_sdk/model/ops_automation/job_details_pb2.pyi
3a118c77a835875581e4960eaa7aa1f7fb4251e6
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,971
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.message import ( Message as google___protobuf___message___Message, ) from resource_package_tools_sdk.model.ops_autom...
[ "service@easyops.cn" ]
service@easyops.cn
a04fcffa8e327209c8e04feb7c9e4aec49f1d73b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/fRB5QRYn5WC8jMGTe_10.py
ad1e01971694e69b65bc1bfc1f4ba58bef2fe277
[]
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
721
py
import datetime as dt def time_difference(city_a, timestamp, city_b): gmt = {"Los Angeles": {"h": -8,"m":0}, "New York": {"h":-5,"m":0}, "Caracas": {"h":-4,"m":-30}, "Buenos Aires": {"h":-3,"m":0}, "London": {"h":0,"m":0}, "Rome": {"h":1,"m":0}, "Moscow": {"h":3,"m":0}, "Tehran": {"h":3,"...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7d7d9e3f4ee38535b9909b2b3168a029ffb5622e
e63c1e59b2d1bfb5c03d7bf9178cf3b8302ce551
/uri/uri_python/matematica/p1198.py
26ea0741bc55d2e35e7fe6e038e30ff4b41afddf
[]
no_license
GabrielEstevam/icpc_contest_training
b8d97184ace8a0e13e1c0bf442baa36c853a6837
012796c2ceb901cf7aa25d44a93614696a7d9c58
refs/heads/master
2020-04-24T06:15:16.826669
2019-10-08T23:13:15
2019-10-08T23:13:15
171,758,893
5
0
null
null
null
null
UTF-8
Python
false
false
198
py
import math while True: try: entrada = input().split(" ") A = int(entrada[0]) B = int(entrada[1]) print(int(math.fabs(A-B))) except EOFError: break
[ "gabrielestevam@hotmail.com" ]
gabrielestevam@hotmail.com
60925646feb8473a3fff7eec5ed67860e4efff65
aea8fea216234fd48269e4a1830b345c52d85de2
/fhir/resources/STU3/tests/test_episodeofcare.py
2a6f7c5f3886e9275ff0a301dc3bf923e2cac14a
[ "BSD-3-Clause" ]
permissive
mmabey/fhir.resources
67fce95c6b35bfdc3cbbc8036e02c962a6a7340c
cc73718e9762c04726cd7de240c8f2dd5313cbe1
refs/heads/master
2023-04-12T15:50:30.104992
2020-04-11T17:21:36
2020-04-11T17:21:36
269,712,884
0
0
NOASSERTION
2020-06-05T17:03:04
2020-06-05T17:03:04
null
UTF-8
Python
false
false
4,568
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare Release: STU3 Version: 3.0.2 Revision: 11917 Last updated: 2019-10-24T11:53:00+11:00 """ import io import json import os import unittest import pytest from .. import episodeofcare from ..fhirdate import FHIRDate from .fixtures...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
f383d554c135fc392f72f27540010b2c2a96e753
743da4642ac376e5c4e1a3b63c079533a5e56587
/build/lib.win-amd64-3.6/fairseq/modules/adaptive_softmax.py
1c60d09568cbafd7a449a66bea1936644528f85f
[ "MIT" ]
permissive
tmtmaj/Exploiting-PrLM-for-NLG-tasks
cdae1b6e451b594b11d8ecef3c1cd4e12fe51c9b
e8752593d3ee881cf9c0fb5ed26d26fcb02e6dd5
refs/heads/main
2023-06-16T08:26:32.560746
2021-07-14T17:50:19
2021-07-14T17:50:19
371,899,601
0
0
null
null
null
null
UTF-8
Python
false
false
8,028
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import operator import functools import torch import torch.nn.functional as F from fairseq.modules.quant_noise import quant_noise ...
[ "qkrwjdgur09@naver.com" ]
qkrwjdgur09@naver.com
d17cf53c623fa6d7bd0d5d74da87667c85fca93f
f730a1fc0fe7021d68cec973125d605c10ac7a64
/code/camera.py
b9bfb55be94621c6619c04db7f15b9de8a045fcd
[]
no_license
wwxFromTju/TJU_AR_alpha0.1
47a248b6861dfcdc47a9eefd86250d616a4d71f8
e435424943846a7812e22afb7ca66a5065d70aec
refs/heads/master
2021-04-12T11:29:44.434154
2016-07-27T10:20:59
2016-07-27T10:20:59
64,299,053
2
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python # encoding=utf-8 from scipy import linalg class Camera(object): """ 相机的类 """ def __init__(self, P): """ 初始化相机类 """ self.P = P # 标定矩阵 self.K = None # 旋转矩阵 self.R = None # 平移矩阵 self.t = None # ...
[ "wxwang@tju.edu.cn" ]
wxwang@tju.edu.cn
9eaa19c9d5828a8c9d3014e6f598ade1b040dc26
8be39cae865fa2163c131a34051c4867ad0350a0
/examples/quickhowto2/app/views.py
965acaaf1bbf79ecf7beb5b956b8ac0d380fcf32
[ "BSD-3-Clause" ]
permissive
ben-github/Flask-AppBuilder
fd13f694457ef4fbc8c73f8b0b90083dc5b978bc
e52947f3e4494a84017bf101b19823df91a41448
refs/heads/master
2021-01-17T17:52:19.125926
2015-01-09T18:13:30
2015-01-09T18:13:30
25,661,891
0
1
null
null
null
null
UTF-8
Python
false
false
6,050
py
import calendar from flask import redirect from flask_appbuilder import ModelView, GroupByChartView, aggregate_count, action from flask_appbuilder.models.sqla.interface import SQLAInterface from flask_appbuilder.models.generic.interface import GenericInterface from flask_appbuilder.widgets import FormVerticalWidget, Fo...
[ "danielvazgaspar@gmail.com" ]
danielvazgaspar@gmail.com
6e820d1d5f5954963c01bd964aa9c66f883d00d7
61dcd9b485bc5e6d07c4adf14f138eabaa9a23b5
/evennumberedexercise/Exercise6_24.py
2b58b016281f39f12c87f0eed9c9473c43981ad8
[]
no_license
bong1915016/Introduction-to-Programming-Using-Python
d442d2252d13b731f6cd9c6356032e8b90aba9a1
f23e19963183aba83d96d9d8a9af5690771b62c2
refs/heads/master
2020-09-25T03:09:34.384693
2019-11-28T17:33:28
2019-11-28T17:33:28
225,904,132
1
0
null
2019-12-04T15:56:55
2019-12-04T15:56:54
null
UTF-8
Python
false
false
946
py
def main(): count = 1 i = 2 while count <= 100: # Display each number in five positions if isPrime(i) and isPalindrome(i): print(i, end = " ") if count % 10 == 0: print() count += 1 # Increase count i += 1 def isPrime(...
[ "38396747+timmy61109@users.noreply.github.com" ]
38396747+timmy61109@users.noreply.github.com
25bc3be33edf11b325941a166313b77fcd34b28a
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Machine-Learning-Python/9781118961742_all code files/06/simpleBagging.py
72c83810c832b413e58d7f6b9fbb92e5a85022e9
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
2,973
py
__author__ = 'mike-bowles' import numpy import matplotlib.pyplot as plot from sklearn import tree from sklearn.tree import DecisionTreeRegressor from math import floor import random #Build a simple data set with y = x + random nPoints = 1000 #x values for plotting xPlot = [(float(i)/float(nPoints) - 0...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
b4524a2c6c4dec9afdd81e0de0712e0042927eb8
3950cb348a4a3ff6627d502dbdf4e576575df2fb
/.venv/Lib/site-packages/numba/np/ufunc/sigparse.py
a54df0e25537c1d62b56201d92da6306fa0fa4ba
[]
no_license
Bdye15/Sample_Programs
a90d288c8f5434f46e1d266f005d01159d8f7927
08218b697db91e55e8e0c49664a0b0cb44b4ab93
refs/heads/main
2023-03-02T04:40:57.737097
2021-01-31T03:03:59
2021-01-31T03:03:59
328,053,795
0
0
null
null
null
null
UTF-8
Python
false
false
1,909
py
import tokenize import string def parse_signature(sig): '''Parse generalized ufunc signature. NOTE: ',' (COMMA) is a delimiter; not separator. This means trailing comma is legal. ''' def stripws(s): return ''.join(c for c in s if c not in string.whitespace) def tok...
[ "brady.dye@bison.howard.edu" ]
brady.dye@bison.howard.edu
bc0ad0f7ec39d42a50304cbfb1480cfe527a4b4f
d4df738d2066c5222080e043a95a9b230673af81
/course_512/3.6_API/problem_3.6.4.py
fd758a474fa3c86d4e73a0aa1cafbcef08e81973
[]
no_license
kazamari/Stepik
c2277f86db74b285e742854f1072897f371e87f5
bf0224a4c4e9322e481263f42451cd263b10724c
refs/heads/master
2021-05-04T19:06:02.110827
2018-03-26T09:06:09
2018-03-26T09:06:09
105,513,928
0
0
null
null
null
null
UTF-8
Python
false
false
5,756
py
''' В этой задаче вам необходимо воспользоваться API сайта artsy.net API проекта Artsy предоставляет информацию о некоторых деятелях искусства, их работах, выставках. В рамках данной задачи вам понадобятся сведения о деятелях искусства (назовем их, условно, художники). Вам даны идентификаторы художников в базе Artsy...
[ "maha_on@yahoo.com" ]
maha_on@yahoo.com
c2471403aa320202deac3015c37cb0a0ac6e08a3
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/storage/v20190601/get_private_endpoint_connection.py
198ad11aa90ab756d8d0907c319a4050996605d9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,983
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
b3cbcb1d5bbbf22e60bf51058c034822d2297c4c
f8da830331428a8e1bbeadf23345f79f1750bd98
/msgraph-cli-extensions/beta/search_beta/azext_search_beta/vendored_sdks/search/_configuration.py
76b296b982dacd86747b02dc4fa3d3ca51ea1334
[ "MIT" ]
permissive
ezkemboi/msgraph-cli
e023e1b7589461a738e42cbad691d9a0216b0779
2ceeb27acabf7cfa219c8a20238d8c7411b9e782
refs/heads/main
2023-02-12T13:45:03.402672
2021-01-07T11:33:54
2021-01-07T11:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,605
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
4b2fa6673d63d5e719510a8281c35d5055a55f66
b3d552675b36cb88a1388fcfc531e497ad7cbee9
/qfpython/apps/news/templatetags/news_filters.py
3a666825994e57a123163079c2f8ecd8013170d7
[ "LicenseRef-scancode-mulanpsl-1.0-en", "MulanPSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gaohj/1902_django
3cea1f0935fd983f25c6fd832b103ac5165a2e30
822af7b42120c6edc699bf97c800887ff84f5621
refs/heads/master
2022-12-11T10:02:50.233398
2019-11-26T08:33:38
2019-11-26T08:33:38
209,241,390
2
0
null
2022-12-08T07:28:24
2019-09-18T07:05:48
Python
UTF-8
Python
false
false
957
py
from datetime import datetime from django import template from django.utils.timezone import now as now_func,localtime register = template.Library() @register.filter def time_since(value): if not isinstance(value,datetime): return value now = now_func() timestamp = (now-value).total_seconds() i...
[ "gaohj@163.com" ]
gaohj@163.com
156130cd7d52ce78d3ffe0cfb0f1316f7548cdbf
d125c002a6447c3f14022b786b07712a7f5b4974
/tests/functional/intfunc/math/test_ceil_01.py
97611af9f2cd0d2d47f57bfbf85d1844845159dc
[ "MIT" ]
permissive
FirebirdSQL/firebird-qa
89d5b0035071f9f69d1c869997afff60c005fca9
cae18186f8c31511a7f68248b20f03be2f0b97c6
refs/heads/master
2023-08-03T02:14:36.302876
2023-07-31T23:02:56
2023-07-31T23:02:56
295,681,819
3
2
MIT
2023-06-16T10:05:55
2020-09-15T09:41:22
Python
UTF-8
Python
false
false
707
py
#coding:utf-8 """ ID: intfunc.math.ceil TITLE: CEIL( <number>) DESCRIPTION: Returns a value representing the smallest integer that is greater than or equal to the input argument. FBTEST: functional.intfunc.math.ceil_01 """ import pytest from firebird.qa import * db = db_factory() test_script =...
[ "pcisar@ibphoenix.cz" ]
pcisar@ibphoenix.cz