blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
fab358d099bd2c5b476bec041753e306ae2eed79
72d7ab267f044c52979a93b7409a83dcdc0e3e35
/other/ML/3D Hist-KNN.py
a6722be9da482840eef7fe6bad13d8d461f799d0
[ "Apache-2.0" ]
permissive
tpsatish95/image-captioning
f8118d7a5e297fdb25b4607848b35d255a7e5bff
5270e17b89b4b3d4f102a3e507f16a6abf9afaf8
refs/heads/master
2020-06-22T01:29:14.456909
2017-10-12T14:25:13
2017-10-12T14:25:13
74,763,401
0
1
null
null
null
null
UTF-8
Python
false
false
4,250
py
import os """import numpy as np from scipy.misc import imread, imsave, imresize""" from PIL import Image import cv2 import pickle import numpy as np from sklearn.cross_validation import train_test_split import sys from time import time from sklearn.feature_selection import SelectKBest, chi2 from sklearn.neighbors imp...
[ "tpsatish95@gmail.com" ]
tpsatish95@gmail.com
ceae57020d4ad47be2ca699f301689b8e07be026
8bbb2cd199a76de35e383b09702d690a4dea1d9a
/ml/m32_outliers.py
c8c4e2dca877f7934cf57d90a7c31fb102233f20
[]
no_license
wowodo/bit_seoul
008c482b6c0fd8681ad219a7d70c3e752939f156
31363c2558738bb3fb88a06e5d5167a1a32fc2ba
refs/heads/main
2023-02-01T10:26:06.846242
2020-12-18T07:39:34
2020-12-18T07:39:34
311,280,541
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
import numpy as np def outliers(data_out): quartile_1, quartile_3 = np.percentile(data_out, [25, 75]) print("1사분위 : ", quartile_1) #3.25 print("3사분위 : ", quartile_3) # 97.25 iqr = quartile_3 = quartile_1 #94.25 lower_bound = quartile_1 = (iqr * 1.5) upper_bound = quartile_3 + (iqr * 1...
[ "noreply@github.com" ]
wowodo.noreply@github.com
52b15bc0b4f962cb1db4711bd8fe12146c143395
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/toontown/friends/FriendsListPanel.py
165b674ba5e241e78394edd5f059bef9a02ff463
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
33,225
py
from panda3d.core import * from direct.gui.DirectGui import * from direct.fsm import StateData from toontown.toon import ToonAvatarPanel from toontown.friends import ToontownFriendSecret from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from otp.otpbase import OTPGlobals FLPPets = ...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
e064521ebf15dac52a16e0d2873944a8ebf1b519
cae1a61c2eb6701762320b3d5163d6621e02eb46
/248 Page Improved Dijkstra.py
44aa8879b18a98860a599c12c04e2fce4bf1750d
[]
no_license
LeeWoojin-99/Algorithm
b8f08756120378ced1e3214f0647037ae21decc9
680994a761042ed9a307fcad727dc5d1807ef832
refs/heads/main
2023-07-10T06:47:30.089557
2021-08-13T14:48:07
2021-08-13T14:48:07
342,619,904
0
0
null
null
null
null
UTF-8
Python
false
false
3,903
py
''' 248 Page 개선된 다익스트라 알고리즘 improved dijkstra algorithm ''' import heapq import sys input = sys.stdin.readline INF = int(1e9) n, m = map(int, input().split()) #n : 노드의 개수, m : 간선의 개수 #print(n, m) #test start = int(input()) #시작 노드 번호 입력 graph = [[] for i in range(n+1)] #노드의 번호를 인덱스로 하여 바로 리스트에 접근할 수 있도록 하기 위한 n+1 #각 노드...
[ "lwj1316@naver.com" ]
lwj1316@naver.com
ad170245afb2a35dafb0b8dc99269eb1db743c5d
909c6f4c28e2a84d4524c57b237460b999b2c2f4
/labuladong/二叉树/654.最大二叉树.py
2c3dd0960bf76f5e8c919c9ae183e4968544351c
[]
no_license
Ehco1996/leetcode
e25711bef415569aa845c2f4f0c31965fca7e392
e0ad5e52829345dd2ce4bc578295336ca07b2662
refs/heads/master
2021-07-12T08:13:21.533021
2021-03-24T00:47:29
2021-03-24T00:47:29
99,747,114
7
1
null
null
null
null
UTF-8
Python
false
false
940
py
# # @lc app=leetcode.cn id=654 lang=python3 # # [654] 最大二叉树 # # @lc code=start # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def constructMaximumBinaryTree(self, nums): """最...
[ "zh19960202@gmail.com" ]
zh19960202@gmail.com
904dfece0f28a95dcfec99504e80253683af91e3
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/thehive/komand_thehive/actions/get_cases/action.py
fc828efe207bd59de96f02390dc6d34dbdbf09ff
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
779
py
import komand from .schema import GetCasesInput, GetCasesOutput, Component # Custom imports below import requests class GetCases(komand.Action): def __init__(self): super(self.__class__, self).__init__( name='get_cases', description=Component.DESCRIPTION, i...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
2199aa65ce0c5a8f38a850d7028cc4d39db3568b
68747ba592c252c952823ff4973c9508b7c8c5e9
/Unittest/Codec/test_Pd0Codec.py
194832a0fe5289dfc989abce7e3c577d0b6c7999
[]
no_license
ricorx7/rti_python-1
50ce01e7acf60ad6d57c26cfe5d79ecd1fc84563
384edef9c14ae5296d7e123eec473b29905a8a58
refs/heads/master
2023-02-01T04:33:48.585793
2020-12-16T23:25:22
2020-12-16T23:25:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
import pytest from rti_python.Codecs.Pd0Codec import Pd0Codec def pd0_ens_event(sender, ens): print(ens) def test_pd0_decode(): # PD0 File Path file_path = "C:\\RTI_Capture\\Imperal Valley_20170816_094228_0_1.2 MHz 4 beam 20 degree piston_pd0.pd0" pd0 = Pd0Codec() pd0.ensemble_event += pd0_ens_...
[ "rcastelo@rowetechinc.com" ]
rcastelo@rowetechinc.com
fc948e96ff4cbfdc1fbc86c5b776741472212a58
f416ab3adfb5c641dc84022f918df43985c19a09
/problems/code-jam/2021/broken-clock.py
d99d10e924eca2a137dcd6f162ba5e3cef9a6d38
[]
no_license
NicoKNL/coding-problems
a4656e8423e8c7f54be1b9015a9502864f0b13a5
4c8c8d5da3cdf74aefcfad4e82066c4a4beb8c06
refs/heads/master
2023-07-26T02:00:35.834440
2023-07-11T22:47:13
2023-07-11T22:47:13
160,269,601
1
0
null
null
null
null
UTF-8
Python
false
false
521
py
def interpret(t): hours = 0 minutes = (t[1] - t[0]) / 12 / pow(10, 9) / 60 seconds = (t[2] - t[0]) / 720 / pow(10, 9) nanoseconds = (seconds - int(seconds)) * pow(10, 9) return [str(int(x)) for x in [hours, minutes, seconds, nanoseconds]] def solve(): initial_time = [int(x) for x in input...
[ "klaassen.nico@gmail.com" ]
klaassen.nico@gmail.com
6d6ca6dd47cddec7bd892c6a0cdb0bf544679f91
092dd56a1bf9357466c05d0f5aedf240cec1a27b
/pylith/faults/FaultCohesive.py
0692eecade5eec75ed57a14986198bec4b2be735
[ "MIT" ]
permissive
rwalkerlewis/pylith
cef02d5543e99a3e778a1c530967e6b5f1d5dcba
c5f872c6afff004a06311d36ac078133a30abd99
refs/heads/main
2023-08-24T18:27:30.877550
2023-06-21T22:03:01
2023-06-21T22:03:01
154,047,591
0
0
MIT
2018-10-21T20:05:59
2018-10-21T20:05:59
null
UTF-8
Python
false
false
3,494
py
# ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University at Buffalo # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://geodynamics.org). # # Copy...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
f5343f7fa9a73a2dcb764214c5504c84660ff86d
8868d4ba927123ee598e18274c8594df583b7e77
/rchitect/console.py
9500262b8ca20181790419f3acfa42c13c557c51
[ "MIT" ]
permissive
actuarial-tools/rchitect
150aa60bde7e94325b49fe193647a2d5fbe1de16
7e56f507d5ef83e7ef54450668f2a31eb698ea5d
refs/heads/master
2023-01-12T01:54:43.369605
2020-11-19T00:46:17
2020-11-19T00:46:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
from __future__ import unicode_literals from six import StringIO from contextlib import contextmanager output_buffer = StringIO() error_buffer = StringIO() _flushable = True _capture_state = False _callback = None def reg_callback(callback): global _callback _callback = callback def write_console(buf, ot...
[ "randy.cs.lai@gmail.com" ]
randy.cs.lai@gmail.com
57902071ba2b1769980268994f10d8613b03df4e
73a601e61a44e1bbc2d33f88e096560acb2c487b
/loginReg/models.py
91f09c415b80cb14c32e7c704ba1b87ea8e3db3d
[]
no_license
everhartC/CAMPlanner
946fe1a6217e321d25b4e32a3788d68df93066af
2c7e05b98f4f2f07076ed8c39126ef2e3bce5ffe
refs/heads/main
2023-05-07T21:42:45.822721
2021-05-22T19:22:22
2021-05-22T19:22:22
369,889,235
0
1
null
null
null
null
UTF-8
Python
false
false
3,544
py
from django.db import models import re import bcrypt # Create your models here. class UserManager(models.Manager): def validator(self, postData): errors = {} # Checks to see that First and Last name are greater than 2 characters if len(postData['fname']) < 2: errors['fname'] = "...
[ "cameron.r.everhart@gmail.com" ]
cameron.r.everhart@gmail.com
e478b553f8b9ebc1cf0d77118223036888d96065
ea7d2090ba1d66fc5bf91b255742ae07e1f74c3d
/exploit_education/phoenix/challs/stack-four.py
6b9053e6e641e74eac112b69fa95c828edb76ea4
[]
no_license
arty-hlr/CTF-writeups
1a3e29b9a3c3b80e33df0c9489cacd6ec09e46fe
64bcda1d1d8893c2ece308f82348755a2c62ca9e
refs/heads/master
2022-08-04T20:26:07.428393
2022-07-30T11:11:34
2022-07-30T11:11:34
167,851,059
4
3
null
2022-07-30T10:55:11
2019-01-27T19:47:03
Python
UTF-8
Python
false
false
1,357
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from pwn import * exe = context.binary = ELF('stack-four') host = args.HOST or 'localhost' port = int(args.PORT or 2222) user = args.USER or 'user' password = args.PASSWORD or 'user' remote_path = '/opt/phoenix/amd64/stack-four' # Connect to the remote SSH server shell =...
[ "flrn.pjd@protonmail.com" ]
flrn.pjd@protonmail.com
7849235e2487a8f05535a93f0ea27299b67c2e9c
6b14d9a64a578239e5612e6098320b61b45c08d9
/AUG09/11.py
1f5f32a3c1e011f0558184c467e9c3981b20cc84
[ "MIT" ]
permissive
Razdeep/PythonSnippets
498c403140fec33ee2f0dd84801738f1256ee9dd
76f9313894f511c487a99bc38bdf0fe5e594caf5
refs/heads/master
2020-03-26T08:56:23.067022
2018-11-26T05:36:36
2018-11-26T05:36:36
144,726,845
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
# PASSWORD CHECKING WITH A WHILE LOOP i=0 while(True): password=input('Enter password ') if(i>=2): print('Access denied') break i=i+1 if(password=="password"): print('Login successful') break print('Try again')
[ "rrajdeeproychowdhury@gmail.com" ]
rrajdeeproychowdhury@gmail.com
e4a1f4d6cad34255babf94db820ec8408c261cbc
ccf0d01f6f4096c382d2c0a527087e8aa87f21d7
/script/gen_cub_segmentations.py
4ad7e87e03c0716fffcb4114ec64f54d9fee5c12
[]
no_license
jayelm/nldissect-fork
3393931310ac737f169ac3eea2b83531e543742b
691997fffb1c7b9c50b9a75ff6be0cf8fe0ab133
refs/heads/master
2022-04-16T19:24:03.019185
2020-04-03T06:01:38
2020-04-03T06:01:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
""" For each class, load images and save as numpy arrays. """ import numpy as np import os from PIL import Image from tqdm import tqdm import pandas as pd import multiprocessing as mp from scipy.spatial import KDTree PARTS = [ "back", "beak", "belly", "breast", "crown", "forehead", "left ...
[ "6245103+jayelm@users.noreply.github.com" ]
6245103+jayelm@users.noreply.github.com
2febfb0e81caa3376b1bd0906feceebcc9cb5c01
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fc/rtfcfabricpol.py
1029b75135bc3b6a408f8aecf7c772545ad1410f
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,683
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
db1d231501c5860e2521a7ccf6e1d4aee374b1c6
284f4775828d155fd289697f5da52cf138e8c937
/arc081/a.py
c603a03b77485dc183e19a236d20b19c4cb2824f
[]
no_license
aikiyy/AtCoder
f006d9eec4bea0c265b700259fa4a43790f92df0
e4208bcc708c301b088d01528294fe013a475f21
refs/heads/master
2020-06-29T16:57:29.692986
2020-01-20T04:53:08
2020-01-20T04:53:08
200,572,345
0
0
null
2020-01-19T15:36:57
2019-08-05T03:00:55
Python
UTF-8
Python
false
false
271
py
from collections import Counter N = int(input()) A = Counter(list(map(int, input().split()))) ans = [0, 0] for k in sorted(A.keys(), reverse=True): if A[k] >= 2: ans.append(k) if A[k] >= 4: ans.append(k) ans = sorted(ans) print(ans[-1]*ans[-2])
[ "aiki.yougai@gmail.com" ]
aiki.yougai@gmail.com
814ec1b6f291e322a95b5b0b194ad1bc0acf4622
7ce3442d2cf17e0a61544eb85c64213a084e36f1
/web/__version__.py
3792b80455b888e048436ff390de8387031fe62b
[ "MIT" ]
permissive
klookAppTest/atxserver2
e8eaf6fec0755ddb9fe8b0f93302d9fa7a565fd7
e798a3849faccfd22693544b9d77d74582ea9817
refs/heads/master
2020-09-07T19:22:13.432099
2020-01-03T08:32:50
2020-01-03T08:32:50
220,890,036
4
0
MIT
2019-11-11T03:02:50
2019-11-11T03:02:50
null
UTF-8
Python
false
false
155
py
# .... __version__ = "x.x.x??" __title__ = "atxserver2" __url__ = "https://github.com/openatx/atxserver2" __author__ = "codeskyblue" __license__ = "MIT"
[ "codeskyblue@gmail.com" ]
codeskyblue@gmail.com
346acb9d223f0a18da6105e9846ddbf4f970a15e
55f4b7ae0cb97a71fe06e3231bd9f48e5383aa39
/exe10.py
006e9d902e46ae22de5c144ee074addf945dbb1b
[]
no_license
andreplacet/reiforcement-python-tasks-2
fc26d760a3307005d177c27e4e4fe60974b9009c
8aab66cd4e8396e3a603d2d96056bf755399a9aa
refs/heads/master
2022-12-25T12:31:09.457195
2020-10-14T23:32:57
2020-10-14T23:32:57
304,159,647
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# Exercicio 10 horario = str(input('Qual periodo voce estuda?\n[V] - Vespertino\n[O] - Diurno\n[N] - Nohorario\n --> ')).upper() if horario == 'V': print("Boa Tarde") elif horario == 'D': print("Bom dia") elif horario == 'N': print("Boav Noite") else: print("Entrada invalida")
[ "andreplacet@gmail.com" ]
andreplacet@gmail.com
afa5a875ab111a6a1c3cd95e10f3230b6e50e222
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/mixedreality/v20200406preview/list_remote_rendering_account_keys.py
1f6c8edbbb41b6219760781133787dbef4040360
[ "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
3,477
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 __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
1511a1c611073d67ba73c243b6089d5be1feedf9
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/7-augmented-assignment-operator_20200412204641.py
6af40cec87a88e42120700aff22015f1356b3493
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
some_value = 10 some_value = some_value + 2 print(some_value)
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
d59b2b65d8afa4a322997d623693651a14c9bea1
3a9f2b3d79cf214704829427ee280f4b49dca70a
/saigon/rat/RuckusAutoTest/tests/zd/CB_ZD_Create_WireStation.py
cb64d47b8bb2faaddb800f4b004b34e29a09e35b
[]
no_license
jichunwei/MyGitHub-1
ae0c1461fe0a337ef459da7c0d24d4cf8d4a4791
f826fc89a030c6c4e08052d2d43af0b1b4b410e3
refs/heads/master
2021-01-21T10:19:22.900905
2016-08-20T03:34:52
2016-08-20T03:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,896
py
''' Description: Prerequisite (Assumptions about the state of the testbed/DUT): 1. Build under test is loaded on the AP and Zone Director Required components: 'ZoneDirector', 'RuckusAP' Test parameters: Result type: PASS/FAIL Results: PASS: FAIL: Messages: If FAIL the test script ...
[ "tan@xx.com" ]
tan@xx.com
ea623ae1f90a2404bf784f56678702227b1f0e4b
babf1c585aeba48335fa73b6eaa85149308fa72d
/datadrivendota/items/migrations/0001_initial.py
20c42da9f1457da303b1f94c1b3c592f2a2a34fe
[]
no_license
bwarren2/datadrivendota
2656e1fd12870b6a342382a017203da9065af9a9
dae6767974e2c218148181e31d01cf6d9f107a9a
refs/heads/master
2021-06-17T09:48:55.111584
2017-05-22T20:05:33
2017-05-22T20:05:33
10,062,282
0
0
null
null
null
null
UTF-8
Python
false
false
2,231
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Item', fields=[ ('id', models.AutoField(verbose...
[ "bwarren2@gmail.com" ]
bwarren2@gmail.com
37f1829756c9e1c984da334dd55dbfaaeb1d0f86
e0819e32cec26ead2a2942a021929f087e4faea5
/localizacoes/models.py
ca7af90a3843840e3e6b41c76575fcf41e9c9ffe
[]
no_license
lssdeveloper/django-20-restful
a57857bd25af5912a18ca06480eca3c2d8fc6560
4a0f8085dab4daf0a0ce01463a4a464bb71ac6a0
refs/heads/master
2020-03-19T01:58:54.378912
2018-06-07T15:30:27
2018-06-07T15:30:27
135,588,037
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
from django.db import models class Localizacao(models.Model): linha1 = models.CharField(max_length=150) linha2 = models.CharField(max_length=150) cidade = models.CharField(max_length=100) estado = models.CharField(max_length=50) pais = models.CharField(max_length=70) latitude = models.IntegerFi...
[ "leandro.serra.10@gmail.com" ]
leandro.serra.10@gmail.com
683597ac02ab4cdc9ee70024aaf0860e470cfd33
e10b8d0229e9603a295f6d5b9acb3c4df33979db
/导入当日数据.py
e2706e248b098c55568860da3939d5cb21d074f0
[]
no_license
kflyddn/tushare_env
740d394eef5bd8a79be3693406507c8c86b69f12
a40b7f513d94727dc8a7acedbe8b9e6dee97e68b
refs/heads/master
2020-05-07T15:16:25.246110
2019-01-09T16:12:08
2019-01-09T16:12:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,639
py
# -*- coding: utf-8 -*- __author__ = 'SlovEnt' __date__ = '2018/11/4 22:38' from collections import OrderedDict import os import re import time import tushare as ts from multiprocessing import Pool import traceback from chpackage.param_info import get_param_info from chpackage import torndb from exec_class import Tu...
[ "slovent@163.com" ]
slovent@163.com
4159de8c9a69adb72e6fb2939d23b747fdc35013
721406d87f5086cfa0ab8335a936ece839ab2451
/.venv/lib/python3.8/site-packages/azure/functions/kafka.py
de5ba8c684a8934c984f3d27216f47a1f25d237f
[ "MIT" ]
permissive
MarkusMeyer13/graph-teams-presence
661296b763fe9e204fe1e057e8bd6ff215ab3936
c302b79248f31623a1b209e098afc4f85d96228d
refs/heads/main
2023-07-09T03:34:57.344692
2021-07-29T07:16:45
2021-07-29T07:16:45
389,268,821
0
0
MIT
2021-07-29T07:16:46
2021-07-25T05:23:08
Python
UTF-8
Python
false
false
9,531
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import typing import json from typing import Any, List from . import meta from ._kafka import AbstractKafkaEvent class KafkaEvent(AbstractKafkaEvent): """A concrete implementation of Kafka event message...
[ "meyer_markus@gmx.de" ]
meyer_markus@gmx.de
28a2527fba5989fcd30a0b78b7fa13edf0e75830
dcc25b784213b17015d2080a7623c772d474dc22
/reproduce/AlphaFold2-Chinese/tests/st/mindelec/networks/test_parameterization/src/dataset.py
00f41cd06a8d796728fe36a1c882ba6f01e68137
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
mindspore-ai/community
930c9d9fdbead852e3597d522a72fe5b66bfc005
c72ce898482419117550ad16d93b38298f4306a1
refs/heads/master
2023-07-19T19:43:20.785198
2023-07-17T06:51:22
2023-07-17T06:51:22
250,693,100
193
10
Apache-2.0
2022-10-29T10:01:40
2020-03-28T02:00:02
Python
UTF-8
Python
false
false
4,623
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
[ "deanyuton@gmail.com" ]
deanyuton@gmail.com
3dff36d639e98443cf21891db08157963500201f
92065e3b378edc8e0570e4295aca0968de3c852d
/rosalind_rvco.py
8a8390d54b926fb9ba04fb3749c83db7fcf4e109
[]
no_license
sunhuaiyu/rosalind
18dc9fa78aaa84b478b112089a3b94d0f442b1bb
7181cc9215d3ea0b5ad9d0811c00e01fd9f20b1c
refs/heads/master
2020-04-04T17:53:17.437595
2019-04-11T17:03:52
2019-04-11T17:03:52
25,007,403
5
2
null
null
null
null
UTF-8
Python
false
false
305
py
# rosalind_rvco from Bio import SeqIO def revc(s): pairs = { 'A':'T', 'T':'A', 'G':'C', 'C':'G'} return ''.join(list(map(lambda n: pairs[n], s))[::-1]) seq = [str(i.seq) for i in SeqIO.parse(open('rosalind_rvco.txt'), 'fasta')] n = 0 for s in seq: if s == revc(s): n += 1 print(n)
[ "noreply@github.com" ]
sunhuaiyu.noreply@github.com
58460f3f8dd9572b06698205c8db055ccb73e52b
8dde6f201657946ad0cfeacab41831f681e6bc6f
/687. Longest Univalue Path.py
a89b573c15a02de816f71d2da43cbaee7ad2581d
[]
no_license
peraktong/LEETCODE_Jason
c5d4a524ba69b1b089f18ce4a53dc8f50ccbb88c
06961cc468211b9692cd7a889ee38d1cd4e1d11e
refs/heads/master
2022-04-12T11:34:38.738731
2020-04-07T21:17:04
2020-04-07T21:17:04
219,398,022
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def longestUnivaluePath(self, root): """ :type root: TreeNode :rtype: int """ sel...
[ "caojunzhi@caojunzhisMBP3.fios-router.home" ]
caojunzhi@caojunzhisMBP3.fios-router.home
9d88cb09890119637d362d479b1f1d117bf620d8
f68afe06e4bbf3d523584852063e767e53441b2b
/Toontown/toontown/battle/DistributedBattleBldg.py
4b8cbbab35481ee679d626a50f7c08b11f352f49
[]
no_license
DankMickey/Toontown-Offline-Squirting-Flower-Modded-
eb18908e7a35a5f7fc95871814207858b94e2600
384754c6d97950468bb62ddd8961c564097673a9
refs/heads/master
2021-01-19T17:53:36.591832
2017-01-15T02:00:04
2017-01-15T02:00:04
34,639,744
1
1
null
null
null
null
UTF-8
Python
false
false
8,396
py
import random from BattleBase import * import DistributedBattleBase import MovieUtil import SuitBattleGlobals from direct.actor import Actor from direct.directnotify import DirectNotifyGlobal from direct.fsm import State from direct.interval.IntervalGlobal import * from otp.avatar import Emote from otp.nametag import ...
[ "jareddarty96@gmail.com" ]
jareddarty96@gmail.com
54af1f8d18e7e762f8093d4a4031021048cd1941
c0ef6bcdcf50f359d80d9fae5b5fd6a6dfe3d2cc
/class_creation.py
9eb612eb1bdc81fdd9407aef4618b5ae318f2319
[]
no_license
sbhusal123/Python-Data-Structures
f4e63323c70b92de44efb69aff9f5e6ddb9d9a96
0c10d2457f62eafbad0e8e62d5db89f448696123
refs/heads/master
2020-07-30T15:29:33.678565
2020-07-15T07:01:59
2020-07-15T07:01:59
210,276,899
0
2
null
null
null
null
UTF-8
Python
false
false
213
py
class Employee: def __init__(self,name,position): self.name= name self.position = position @classmethod def getName(): return "Hello this is me" e = Employee() e.getName()
[ "=" ]
=
2a548f9fe54b1d29a8006526969089eef81ac61e
57ddfddd1e11db649536a8ed6e19bf5312d82d71
/AtCoder/ABC1/ABC146/ABC146E.py
dda141dd17e6d38f2d0f3547503d1bc45e77ad33
[]
no_license
pgDora56/ProgrammingContest
f9e7f4bb77714dc5088c2287e641c0aa760d0f04
fdf1ac5d1ad655c73208d98712110a3896b1683d
refs/heads/master
2023-08-11T12:10:40.750151
2021-09-23T11:13:27
2021-09-23T11:13:27
139,927,108
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# TLE n, k = map(int, input().split()) a = list(map(int,input().split())) su = [0] cnt = 0 def check(): global k, su, cnt l = len(su) - 1 - k if l < 0: l = 0 for i in range(l, len(su)-1): if (su[len(su)-1] - su[i]) % k == len(su) - 1 - i: cnt += 1 for i in a: su.a...
[ "doradora.prog@gmail.com" ]
doradora.prog@gmail.com
ab7b4010754b17be6275e8af10851215ed79182f
ba8f5d23d9878a25b30a32cf16e8833f93b25853
/source_py2/python_toolbox/persistent/persistent.py
5ba6c599c3a8f65f3fa354a664f961cbf2e0f9f8
[ "MIT" ]
permissive
nastako/python_toolbox
af520cbec1468c8e0aae0b3b1c467ca5623af45b
9713fd728608818630ee409ac6a6fdaf863af31b
refs/heads/master
2020-12-11T09:07:19.681161
2015-01-16T21:26:37
2015-01-16T21:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,071
py
# Copyright 2009-2015 Ram Rachum. # This program is distributed under the MIT license. ''' This module defines the `Persistent` class. See its documentation for more information. Note: This module is still experimental todo: need to raise an exception if we're getting pickled with an old protocol? todo: make it ...
[ "ram@rachum.com" ]
ram@rachum.com
17f6f00ef83734b75807829958310e17d8ff8a45
a2c90d183ac66f39401cd8ece5207c492c811158
/Solving_Problem/daily_222/1115/swea_최소 이동거리.py
0070cbbcaf53157bbaf9945d0140cacd897346e8
[]
no_license
kwoneyng/TIL
0498cfc4dbebbb1f2c193cb7c9459aab7ebad02a
c6fbaa609b2e805f298b17b1f9504fd12cb63e8a
refs/heads/master
2020-06-17T11:53:38.685202
2020-03-18T01:29:36
2020-03-18T01:29:36
195,916,103
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from heapq import heappush, heappopfor t in range(1, int(input())+1): n,su = map(int,input().split()) nxt_ls = [[] for i in range(su)] for i in range(su): s,e,w = map(int,input().split()) heappush(nxt_ls[s], [w,e]) q = [] q.append([0,0]) dist = [9999999999999999999999999999999]*s...
[ "nan308@naver.com" ]
nan308@naver.com
2c9b844d798afba5ee297c2c797fb9f7037434dc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02891/s504739910.py
c916543d98c1b91669ff587ac949029b62e33c33
[]
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
566
py
S = input() K = int(input()) curr = S[0] tmp = "" T = [] for s in S: if s == curr: tmp += s else: T.append(tmp) curr = s tmp = s T.append(tmp) if len(T) == 1: res = (len(S) * K) // 2 print(res) exit(0) res = 0 t_first = T[0] t_last = T[-1] if t_first[0] != t_last[...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0bb6991a43d07a3230c07b302a436bd2730ec30e
68fc6458f39ac43f027e4101c658a135327e6778
/wx/lib/infoframe.py
3250ce6ea4feb7466faa00aa1bbe3f009f801274
[]
no_license
JDOUBLE-U/proteogenomics-mycobacterium
d7827f8db2d802858df21bf1e0eafade037eb929
6979ebb02b8ce6c94a82d148b060b557f9d4b9c4
refs/heads/master
2021-01-19T22:13:48.688024
2015-06-26T14:46:38
2015-06-26T14:46:38
32,217,558
2
0
null
null
null
null
UTF-8
Python
false
false
19,224
py
# 12/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) # # o wxPyInformationalMessagesFrame -> PyInformationalMessagesFrame # o dummy_wxPyInformationalMessagesFrame -> dummy_PyInformationalMessagesFrame # """ infoframe.py Released under wxWindows license etc. This is a fairly rudimentary, but slightly fancier tha wxP...
[ "merks.jeroen@gmail.com" ]
merks.jeroen@gmail.com
dd538f842778120f55b13c7d3cd9f046cdf10cdf
64fe4fcaeb71b5e4d448abed92e03bebd838b1a2
/Models/Utils.py
036a76c46a7cd85427bf52d366a5e26b0e40ed14
[]
no_license
Caster89/Scattering_Analysis
ea2ddbd9311f0beebae6f083a37d843f44d3d00b
2bd14efb2d1bb6c1af5173a8ed98b668dbfc4673
refs/heads/master
2021-01-19T16:04:41.322316
2017-12-17T16:22:46
2017-12-17T16:22:46
88,247,591
0
1
null
null
null
null
UTF-8
Python
false
false
7,405
py
from lmfit import Parameter, Parameters import numpy as np import logging from config import _lmfitParamsOrder logger = logging.getLogger(__name__) def create_parameters(parameter_list): """Create the parameters variable for the lmfit models to use. The information needed is passed as a dictionary (possible O...
[ "=" ]
=
af63362b7399719c268813b02354737a7571da6d
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GL/NV/texture_expand_normal.py
64ac087029cece7005d6942b092e7232ba054100
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
1,288
py
'''OpenGL extension NV.texture_expand_normal This module customises the behaviour of the OpenGL.raw.GL.NV.texture_expand_normal to provide a more Python-friendly API Overview (from the spec) This extension provides a remapping mode where unsigned texture components (in the range [0,1]) can be treated as though ...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
d4f7536fbd947124828af090632b7237506b6c25
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/layout/yaxis/_showticklabels.py
3a2806d4c0b55270d425f50cb460632dec34b8a9
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
438
py
import _plotly_utils.basevalidators class ShowticklabelsValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name="showticklabels", parent_name="layout.yaxis", **kwargs ): super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
957e981d9fcdc89eb3e57f832318a86978dd6f47
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v8/googleads-py/google/ads/googleads/v8/resources/types/merchant_center_link.py
58bcebbee8f43a5c768f0092eaa4b404409a89db
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,221
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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
07ab359927cc468af01c2372bb36338a7b61c280
330ba6024e2728ec2476ce2d9f8e6be20c60ed67
/assignments/hw03/flagged.py
62443f81fedf325ae0ea003fff9b87626bfbb32a
[]
no_license
foureyes/csci-ua.0479-spring2021-001
ec008e797b569476cce7b062f2469d6dea56d670
f7ee0f69c2e9150134f41f39676807e4f776f96e
refs/heads/main
2023-06-27T15:44:38.192216
2021-08-01T17:35:55
2021-08-01T17:35:55
330,051,703
1
1
null
null
null
null
UTF-8
Python
false
false
2,237
py
""" flagged.py - 7 points ===== Create a program that generates a pattern for a flag. * ask the user for a width of the flag * the width should be greater than 0 * if it isn't, ask again until the user enters a valid value * then... ask the user for a character * the character can be any character except e...
[ "jversoza@cs.nyu.edu" ]
jversoza@cs.nyu.edu
dc8476ff65d986fde193dfbc48caa5381ba0aadf
ac7a258cc02677750a4a4821702659504b35fdaf
/aclark/db/migrations/0013_auto_20180623_1950.py
c10ee8e3ea45d8432aea5d284260c1d6a76320c9
[]
no_license
aclark4life/aclark-net-2018
1b3529bd264d2198b15b499c41f4d4a8ad92e420
2ca9cc089790b4b5ba9ac1a696ecc95ce9014ff2
refs/heads/master
2021-08-16T18:29:51.956980
2018-07-28T12:55:05
2018-07-28T12:55:05
132,064,705
0
0
null
2021-06-10T20:16:32
2018-05-04T00:35:21
HTML
UTF-8
Python
false
false
636
py
# Generated by Django 2.0.6 on 2018-06-23 19:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('db', '0012_auto_20180620_1607'), ] operations = [ migrations.RemoveField( model_name='estimate', name='estimate_type...
[ "aclark@aclark.net" ]
aclark@aclark.net
4b6481bc2ebad304c5c615615e6100b4c5def4c9
9d77c2434b0e804af2ecaf4a4ea6d99f6ac6d96d
/models/research/object_detection/core/preprocessor.py
140c62b57e7b8efaecd14fe60d1244d8f47980d5
[ "Apache-2.0", "MIT" ]
permissive
UpCoder/ISBI_LiverLesionDetection
cce7c118601548eef8bfeeedfe4f50d88411a7df
e21ce360e55092a16acc4d147a1418a53545d562
refs/heads/master
2022-12-12T12:57:50.299718
2019-04-03T03:49:43
2019-04-03T03:49:43
179,206,267
8
1
MIT
2022-12-08T16:02:31
2019-04-03T03:49:00
Python
UTF-8
Python
false
false
132,755
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "546043882@qq.com" ]
546043882@qq.com
8fc94208bf996ee7f4c508d44ea42f3dcb3f7b5c
b61dedf12868e2bc511b6693af1985911a13f336
/src/logpipe/tests/unit/kafka/test_consumer.py
be5a6205e84c45084887dc909eb267d9e8246a97
[ "ISC" ]
permissive
vitorcarmovieira/django-logpipe
f9eebb6674b9ba180a63448c9d71ce2e87929f7c
89d0543e341518f9ae49124c354e6a6c2e3f4150
refs/heads/main
2023-03-03T13:18:22.456270
2021-02-13T17:29:32
2021-02-13T17:29:32
326,679,534
1
1
ISC
2021-02-13T17:29:32
2021-01-04T12:39:30
Python
UTF-8
Python
false
false
8,526
py
from django.test import override_settings from unittest.mock import MagicMock, patch from kafka.consumer.fetcher import ConsumerRecord from kafka.structs import TopicPartition from rest_framework.exceptions import ValidationError from logpipe import Consumer from logpipe.exceptions import InvalidMessageError, UnknownMe...
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
968bda4eb87abdc7982118b1dcb7fa3f5527a23a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/118/usersdata/86/25507/submittedfiles/questao2.py
068e51fec3ac5a5e25f01e2fe627d00a7352d9be
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import as numpy qf=int(input('digite o numero de quadrados:')) fita=[] for i in range(1,qf+1,1): fita.append(input('digite se esta colorido:')) cor=[] for i in range(0,len(fita),1):
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
32a38b64672b0ed3e6cf9a9546ccb30c0ae241d7
ac216a2cc36f91625e440247986ead2cd8cce350
/recipes/recipe_modules/support_3pp/api.py
1f4b46b9b509811b218921d9e493bbcf219ac8f6
[ "BSD-3-Clause" ]
permissive
xinghun61/infra
b77cdc566d9a63c5d97f9e30e8d589982b1678ab
b5d4783f99461438ca9e6a477535617fadab6ba3
refs/heads/master
2023-01-12T21:36:49.360274
2019-10-01T18:09:22
2019-10-01T18:09:22
212,168,656
2
1
BSD-3-Clause
2023-01-07T10:18:03
2019-10-01T18:22:44
Python
UTF-8
Python
false
false
24,986
py
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Allows uniform cross-compiliation, version tracking and archival for third-party software packages (libs+tools) for distribution via CIPD. The purpose of...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
2b0ef4d5fc363e2cb90c3c8875af643043f2b40c
7c2702d19a975b5f431cf86adbe6a75d0b0aa6fa
/closest_downstream2.py
3295c986824e49302a03a8616417ec34bb59550c
[ "MIT" ]
permissive
brendane/miscellaneous_bioinfo_scripts
5b2e15a8a7e7eb2b3db17de9e871c41ecea68cb3
91ca3282823495299e4c68aa79bdc1c0225a6d7b
refs/heads/master
2020-03-25T00:50:30.658106
2020-01-13T21:04:02
2020-01-13T21:04:02
143,208,594
0
0
null
null
null
null
UTF-8
Python
false
false
2,639
py
#!/usr/bin/env python2.7 """ Process a bed file from bedtools closest -D to get the nearest downstream feature is within a certain distance and isn't "blocked" by another feature. This version ("2") anticipates an extra column in the bed file. """ import csv import itertools import sys max_dist = int...
[ "epste051@umn.edu" ]
epste051@umn.edu
31b55ee00a55362032585bc01c0a1adc34d3dd27
7b84d055c2e0f247079d7bce08dc16f9681d1f11
/bin/eulb-describe-tags
8eb14ae466e280dfa7b9846160eb58ebd7790f57
[ "BSD-2-Clause" ]
permissive
eucalyptus/euca2ools
a660bbc6ef14b2ce340df7f28b55f758ca81f5d8
6b3f62f2cb1c54f14d3bfa5fd92dab3c0ecafecb
refs/heads/master
2021-03-19T11:36:33.828355
2017-04-26T23:13:12
2017-04-26T23:32:47
1,795,596
38
22
BSD-2-Clause
2018-07-31T12:28:02
2011-05-24T20:37:14
Python
UTF-8
Python
false
false
187
#!/usr/bin/python -tt import euca2ools.commands.elasticloadbalancing.describetags if __name__ == '__main__': euca2ools.commands.elasticloadbalancing.describetags.DescribeTags.run()
[ "gholms@devzero.com" ]
gholms@devzero.com
0a303521e7a5ead6c430a08f075cfe59b68dd9b2
243545e34e6aee1aab4388719c37b4873d3866b7
/gpkg/slim/images_prepare.py
54e724c9c847ce2bfb9b1ea389d8f36b2c93e532
[ "Apache-2.0" ]
permissive
guildai/packages
08ad303fe84a7b5a5136f3bc5ac41f6902ff3c7f
5a149d2f1adaf9e84f5aff73488ab63ee9b2f9cf
refs/heads/master
2023-08-11T15:16:54.498525
2023-07-31T18:59:58
2023-07-31T18:59:58
106,281,587
3
1
null
null
null
null
UTF-8
Python
false
false
6,457
py
# Copyright 2017-2019 TensorHub, 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 in writ...
[ "g@rre.tt" ]
g@rre.tt
65c34c0badfd3dcb00bf22b3cb2e54e3cc3f9a22
6a8406e404519cbb4b36bd1b4f57389bd3155184
/610/610-hashMap.py
25af459fcde82fb1caa213325a70b2f84aa16586
[]
no_license
sjzyjc/lintcode
6ab57105e70c5108ac2403ea14dde1151c30bd96
5ae51281cac99dd995f6ec584ce2c1dd1d580f8e
refs/heads/master
2020-03-26T23:57:44.680981
2019-08-15T22:00:48
2019-08-15T22:00:48
145,581,676
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
class Solution: """ @param nums: an array of Integer @param target: an integer @return: [index1 + 1, index2 + 1] (index1 < index2) """ def twoSum7(self, nums, target): index_map = {} for index,i in enumerate(nums): if i - target in index_map: return ...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
1d1e77afe920c7d8d50c64409e6164b9418d5f46
61b8c22a578534fa3e1cd81130c61191a4eeddd3
/pydrawing/modules/beautifiers/oilpainting/oilpainting.py
7959cdd16280948ca25a6b6cbc47967e57ecfd1a
[ "Apache-2.0" ]
permissive
CharlesPikachu/pydrawing
15f24844ca52a17a24d3ad70406b7ce207e382d2
e980ad9bf4cece42ff40ed2bc7bed7a155eabb8e
refs/heads/master
2023-05-22T17:36:50.806360
2022-08-09T05:31:05
2022-08-09T05:31:05
194,899,961
148
7
null
null
null
null
UTF-8
Python
false
false
3,768
py
''' Function: 照片油画化 Author: Charles 微信公众号: Charles的皮卡丘 ''' import cv2 import random import numpy as np from scipy import ndimage from ..base import BaseBeautifier '''照片油画化''' class OilpaintingBeautifier(BaseBeautifier): def __init__(self, brush_width=5, palette=0, edge_operator='sobel', **kwargs): ...
[ "1159254961@qq.com" ]
1159254961@qq.com
6ae6fed515b789289d2850ef275d4efaddbae469
fc210e56f3d20947f84039a8ef07107bb11e6b5a
/.test/snippet.py
636a094233fc063ecd32e2b7286bc7f2f460b608
[]
no_license
ZhouYzzz/RecurrentTracking
344b5fcb73f04a749f9822ae0b18f8de83ee6308
9dfaf2b383b2a0f67272ec090b2a40bb5d1adee4
refs/heads/master
2021-09-11T20:47:31.566421
2018-04-12T06:50:05
2018-04-12T06:50:05
112,092,396
0
1
null
2018-03-22T11:39:37
2017-11-26T15:07:42
Python
UTF-8
Python
false
false
4,015
py
from typing import Any, Dict, List class Shot(object): def __init__(self, trackid:str, frame:int, bndbox:List[int]): self._trackid = trackid self._frame = frame self._bndbox = bndbox @property def trackid(self): return self._trackid @property def frame(self): return self._frame @propert...
[ "zhouyz9608@gmail.com" ]
zhouyz9608@gmail.com
2bff1434c0862fa3f89143836397cc3d2e159cfd
2ece848b37f7fa6f13ce0e94ddfd0fbd46c72b8f
/backend/utils/config.py
27608f720b2f01348c779e8fe7af37d58e7e3c27
[ "Apache-2.0" ]
permissive
rockeyzhu/eastmoney
1a2d2db18bd658abe8e65875bf863f1cfcefd545
c8aa33a69ebee54c64f22a8edbcf30ed0f29b293
refs/heads/master
2023-03-06T12:20:03.896607
2021-02-20T07:20:53
2021-02-20T07:20:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
import configparser import platform linux_database_config_path = '/config/database.ini' windows_database_config_path = 'D:\\database.ini' def get_db_config(): config = configparser.ConfigParser() config.sections() if 'linux' in platform.system().lower(): config.read(linux_database_config_path) ...
[ "1397991131@qq.com" ]
1397991131@qq.com
72671212a25b94e1c3070a45a05f84c00d782a6e
1f629e009a7b92ef74b4e6f4cb9b05d34c0d6456
/Python PowerPoint Examples/NotesSlidesApiDemo/addNotesSlide.py
1528a55b1c6a357b3feb44fc8751a9d050dab819
[]
no_license
EiceblueCloud/Spire.Cloud.PowerPoint
6c8796f0bfd01b54cbc3a460c065e2ce689201dc
fbb00171b0ab2f9cd109fbb33f25716cc14853cf
refs/heads/master
2022-12-09T05:39:04.046853
2020-08-20T07:15:48
2020-08-20T07:15:48
271,465,842
1
0
null
null
null
null
UTF-8
Python
false
false
556
py
import spirecloudpowerpoint from spirecloudpowerpoint.configuration import * appId = "your id" appKey = "your key" baseUrl = "https://api.e-iceblue.cn" configuration = Configuration(appId, appKey, baseUrl) api = spirecloudpowerpoint.api.notes_slides_api.NotesSlidesApi(configuration) name = "AddNotesSlide.ppt...
[ "noreply@github.com" ]
EiceblueCloud.noreply@github.com
722e0021ec1d60657be6d55d1f31ea6e0d420374
96086ae5e7bfa1e40159f919269a90c83e472326
/opengever/tabbedview/tests/test_base_tabs.py
5eb02d2da593d9f35bdde0e351865ca9d2117522
[]
no_license
lukasgraf/opengever.core
6fc313717fbec3692354e56c2c3293789076a389
a15c4ff8e0d5494906d7de46a43e3427c8d2d49f
refs/heads/master
2020-12-01T11:38:46.721555
2018-06-18T10:13:09
2018-06-18T10:13:09
57,871,187
0
0
null
2016-05-02T06:59:58
2016-05-02T06:59:58
null
UTF-8
Python
false
false
892
py
from opengever.testing import IntegrationTestCase from ftw.testbrowser import browsing from plone import api from opengever.base.interfaces import IReferenceNumberSettings class TestGeverTabMixin(IntegrationTestCase): @browsing def test_reference_number_custom_sort(self, browser): self.login(self.reg...
[ "philippe.gross@4teamwork.ch" ]
philippe.gross@4teamwork.ch
995cadeb1f9fefd5c98fd83b94085bb338d7a420
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03844/s486119750.py
1f6927c797f4f3e33d18b2108135d2eb86e8f080
[]
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
341
py
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque if __name__ == '__main__': a,b, c = map(str ,input().split()) ans = 0 if b == "+": ans = int(a)+int(c) else: ans = int(a)-int...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1844b60384b3732313de790782f715bd7c739511
646cadb1c72ef4a060343baf2fcbe271958b6878
/tigerjython/TJExamples/04-So/So4d_e.py
c966d8f691c52fe33cf2c1b95f2ace947f49437c
[]
no_license
tigerjython/tjinstall
bd75cf8e4ae27b639a13865ef1ec5710391a2938
aab61519b5299c2ab4f423c6fc5d8ea7c7860a99
refs/heads/master
2021-01-17T08:53:50.386905
2018-01-12T06:56:28
2018-01-12T06:56:28
40,659,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
from soundsystem import * from entrydialog import * def onTouched(item): wakeUp() speaker1 = RadioEntry("Frau (Deutsch)") speaker1.setValue(True) speaker2 = RadioEntry("Mann (Deutsch)") speaker3 = RadioEntry("Man (English)") pane1 = EntryPane("Speaker Selection", speaker1, speaker2, speaker3) textEntry = StringEn...
[ "support@tigerjython.com" ]
support@tigerjython.com
603d9ea3599691d5b10fc8f57254da626784186c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2807/60901/257547.py
cdfa9e8ae508af0c04563ac829b9d53898e18c62
[]
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
518
py
def question24(): inf = input().split() caseNum = int(inf[0]) keyNum = int(inf[1]) cases = list(map(int, input().split())) keys = list(map(int, input().split())) evenCase = 0 evenKey = 0 for i in cases: if i % 2 == 0: evenCase += 1 for i in keys: if i % 2 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
61017b92a48a809eeb2a5f40e12f992fbb4c6a89
1ad12a71c3d5d2b3810ce03e8bd138c4ffb66eb8
/xlsxwriter/test/comparison/test_hyperlink48.py
b507ca1d7328302fccdea420681d272decb366bd
[ "BSD-2-Clause-Views" ]
permissive
idreamsfy/XlsxWriter
b52929229b16e2ee1eaca0cda9980a5a0aad5769
129044ed821de67895b4562c6b71f90eba5be6b4
refs/heads/master
2021-01-02T20:39:20.415882
2020-02-07T21:07:55
2020-02-07T21:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2020, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
4c462860d3df77fd544f01cf80b428da102655e7
ddacc08724b4b6c5c7951e2df884bb3f06711c30
/college/migrations/0014_collegebookmark.py
b581871cba5712e65fbbc47730bd09b0fa8536b6
[]
no_license
Manjimadutta/myCollegeAI
51685014e66a41d3c6e0378b518e249e6059777d
d2eb855df218dad9f9f98fe0a5db5a0da11ab2c6
refs/heads/main
2023-07-10T14:47:35.287436
2021-08-08T03:19:10
2021-08-08T03:19:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# Generated by Django 3.1.4 on 2021-05-20 17:46 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ('profiles', '0008_merge_20210504_1106'), ('college', '0013_auto_20210509_1351'), ] operations = ...
[ "sonicxxx7@gmail.com" ]
sonicxxx7@gmail.com
84df0add7e77525e1e3c8044ffb7e82ab5715e61
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backup_engines_operations.py
16559a83943359c9e045faa665368d0019fb716c
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
9,949
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
2c5ee1b24707976568f1bdd8cde9fd0065b91717
cf93be05cb55d09672eb2a8f29be510f29682a0a
/backend/m_11_nov_2020_dev_14959/settings.py
11b165d67729754f6b5faf50aa55641c92abe0e3
[]
no_license
crowdbotics-apps/m-11-nov-2020-dev-14959
ae360767147dab38379e6eaec9bf2a8d251ead5c
3f5ca1e790bbaaef94049eceb3aa7d45413636df
refs/heads/master
2023-01-12T21:45:11.223735
2020-11-11T14:23:35
2020-11-11T14:23:35
311,935,268
0
0
null
null
null
null
UTF-8
Python
false
false
7,042
py
""" Django settings for m_11_nov_2020_dev_14959 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ "...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2804241abbe4c022434758445a07f6b8058a570e
1595b644191c9c18a5503379703347a853b63348
/investpy/funds.py
ee36ec04ac2da47359b8c770c51a22e7b5ec0111
[ "MIT" ]
permissive
ben-haim/investpy
d26c05c3e957d3ba623f408076746edbf5a8107b
7ace4ac7693f505c199074de3333f56e6b89cfef
refs/heads/master
2022-05-30T00:43:00.473082
2019-11-20T15:45:37
2019-11-20T15:45:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,830
py
#!/usr/bin/python3 # Copyright 2018-2019 Alvaro Bartolome @ alvarob96 in GitHub # See LICENSE for details. from datetime import datetime, date import json from random import randint import pandas as pd import pkg_resources import requests import unidecode from lxml.html import fromstring from investpy.utils.user_ag...
[ "alvarob96@usal.es" ]
alvarob96@usal.es
0fef014991b46c7a0c08e2c62276df6716a3e542
728871b962f2a5ec8d8ec7d5b607def074fb8864
/W261/HW1-Questions/mapper.py
d53b4678d83e4636efa39451387ebccf12095477
[]
no_license
leiyang-mids/MIDS
0191ffbaf9f7f6ec0e77522241c3e76d012850f1
918b0d8afc395840626eb31c451ad6c4b2f3bc39
refs/heads/master
2020-05-25T15:46:56.480467
2019-03-28T16:16:17
2019-03-28T16:16:17
35,463,263
1
2
null
null
null
null
UTF-8
Python
false
false
966
py
#!/usr/bin/python import sys import re # let's use two dictionaries to hold the word counts for spam and non-spam n_count, s_count = {}, {} nSpam, nNormal = 0, 0 WORD_RE = re.compile(r"[\w']+") filename = sys.argv[1] #keywords = sys.argv[2].lower() with open (filename, "r") as myfile: for email in myfile.readlines(...
[ "ynglei@gmail.com" ]
ynglei@gmail.com
2a704309f9bd9797b9fef44461151b8ff3071e59
b2ae08ee0ccb9589ee7297387861423710b8de32
/venv/bin/django-admin
4dbb6ae0be2a21d9df45b9d68dd87070edb20b9e
[ "MIT" ]
permissive
BernardMairura/hoodBE
af5ce614ed3b19193ad609ec214cc15739437ecc
1727369283d2b9eec5e191d18b64a4b91728cbad
refs/heads/master
2023-01-27T11:20:58.476448
2020-12-09T10:52:18
2020-12-09T10:52:18
318,553,655
0
0
NOASSERTION
2020-12-09T10:52:19
2020-12-04T15:15:55
Python
UTF-8
Python
false
false
287
#!/home/bernard/MC34/hood/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "bernardmairura@gmail.com" ]
bernardmairura@gmail.com
683bf7756615fabb185ffb057e5a60bff47a1c28
bed559d18b0a9604e6d18879e1f3837d228d1440
/rx/linq/observable/amb.py
881cffbb9ce88da8a3d53ef1d0ef15afb2547052
[ "Apache-2.0" ]
permissive
jesonjn/RxPY
a80b7a8f0a3a8a6ddcb7f3ed678d2f8411cad84e
9dfb62979f2c54b93bbb8c0ee5fa18cfae4d73d0
refs/heads/master
2020-12-29T00:25:17.866220
2014-11-15T10:24:05
2014-11-15T10:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,607
py
from six import add_metaclass from rx import Lock, Observable, AnonymousObservable from rx.disposables import CompositeDisposable, SingleAssignmentDisposable from rx.internal import ExtensionMethod @add_metaclass(ExtensionMethod) class ObservableAmb(Observable): """Uses a meta class to extend Observable with the ...
[ "dag@brattli.net" ]
dag@brattli.net
add157bde41c9a4cbd1338c5b651fff8d021b2b2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02684/s806665429.py
ddb04eef1caf0b6b1a36b814666965d0ab0b518c
[]
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
365
py
n, k = map(int, input().split()) a = list(map(int, input().split())) route = [] town = set() now = 1 while True: now = a[now-1] if now in town: break town.add(now) route.append(now) count = route.index(now) if count >= k: print(route[k-1]) else: route = route[count:] num = (k-coun...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8e8e799a747770ae8ada540b024fdbdb038e1051
9463d85666453fd8e57a0ce9e515e4765ae2b60a
/cwgoogleplay/setup.py
672f884140f3869dc45f98e033e5229b8e134abf
[ "MIT" ]
permissive
trujunzhang/djzhang-targets
dc6c3086553a5450fb239cc1cef5330a51a02e1f
c2e327acde9d51f0455e7243f17d93d74b579501
refs/heads/master
2021-01-09T20:52:31.258826
2016-07-16T13:18:53
2016-07-16T13:18:53
60,747,429
2
1
null
null
null
null
UTF-8
Python
false
false
259
py
# Automatically created by: scrapyd-deploy from setuptools import setup, find_packages setup( name = 'project', version = '1.0', packages = find_packages(), entry_points = {'scrapy': ['settings = cwgoogleplay.settings']}, )
[ "trujunzhang@gmail.com" ]
trujunzhang@gmail.com
6b07649c048def3564d53e8c438bac1c53cb7952
9e5551fb4ba461a7764ab252ac46ebb077ba69eb
/assignment2/cs231n/layers.py
b7023e93437e71d5f3c4612c771b15cbd1c23d9d
[]
no_license
jdc08161063/convolutional-neural-networks
39203b8d07054df118369f5039e91b6299f99ba4
d23a041c022ee036ecc477cfa8ed265d2a1a0e49
refs/heads/master
2021-05-09T11:11:10.537281
2018-01-25T11:34:18
2018-01-25T11:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,136
py
from builtins import range import numpy as np def affine_forward(x, w, b): """ Computes the forward pass for an affine (fully-connected) layer. The input x has shape (N, d_1, ..., d_k) and contains a minibatch of N examples, where each example x[i] has shape (d_1, ..., d_k). We will reshape each ...
[ "le_j6@denison.edu" ]
le_j6@denison.edu
40ed249d3f469f3beaefc411e13cfa0c9b8eb094
069430e576d37cbd01283015c2b642d7365fb40e
/tcex/__metadata__.py
8c87f4485f0e12a77fce22a4631aff2e05c40742
[ "Apache-2.0" ]
permissive
NThreat/tcex
19633d5fb0fe3aaa8802e2c5211bb19725d30011
7c314857311042526e317fc226cb6f7f8b74a36a
refs/heads/master
2023-03-25T20:28:46.687077
2021-03-20T14:38:30
2021-03-20T14:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
"""Package version and other metadata""" __author__ = 'ThreatConnect (support@threatconnect.com)' __author_email__ = 'support@threatconnect.com' __description__ = 'ThreatConnect Exchange App Framework' __license__ = 'Apache License, Version 2' __package_name__ = 'tcex' __url__ = 'https://github.com/ThreatConnect-Inc/tc...
[ "bsummers@threatconnect.com" ]
bsummers@threatconnect.com
fb73cbbd5571a77d41bd9836d7c78ebc57153914
8963feb7f81c45de2ba56d4d6f5fdde1f41d4a33
/im2mesh/r2n2/models/__init__.py
69778d673347eaa716f35e1ac802366db493df62
[ "MIT" ]
permissive
AlexsaseXie/occupancy_networks
ae2fd48d67caf944f244b4baa4045496f3bc7920
972119ae7a7c9f782e1fc1df48a5b85b678edd31
refs/heads/master
2021-07-19T03:11:42.100464
2020-10-30T03:41:05
2020-10-30T03:41:05
225,619,537
3
2
MIT
2019-12-03T12:53:04
2019-12-03T12:53:04
null
UTF-8
Python
false
false
757
py
import torch.nn as nn from im2mesh.r2n2.models.decoder import Decoder # Decoder dictionary decoder_dict = { 'simple': Decoder, } class R2N2(nn.Module): ''' The 3D Recurrent Reconstruction Neural Network (3D-R2N2) model. For details regarding the model, please see https://arxiv.org/abs/1604.00449 ...
[ "lars.mescheder@tuebingen.mpg.de" ]
lars.mescheder@tuebingen.mpg.de
0ccb8ab49fe46166e923d1f523f543d3fe1b98d8
e0ff22c17eaa1e7009089a58575567b0ead63d49
/cnntrain/pylibseg/segtrain.py
aecfec99496f84d0c07e3328c99dd26ccf2892dd
[]
no_license
slehaff/dblive
afcb5297057ad4d78177b886013250d2ed068424
7f7bdf38998bd65d00e5ac7df3ef5289b2781e83
refs/heads/master
2023-05-27T16:38:21.865344
2021-06-07T10:09:28
2021-06-07T10:09:28
303,078,424
0
0
null
null
null
null
UTF-8
Python
false
false
5,087
py
from tensorflow.keras import layers import numpy as np import os import cv2 import pandas as pd import keras_preprocessing import tensorflow.keras from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Conv2D from tensorflow.keras import optimizers from tensorflow.keras.callbacks impo...
[ "samir@lehaff.dk" ]
samir@lehaff.dk
629d202047ac4e24386d711bb511367202eded3f
571d36f865b545c0a72134e586fbcddd6953a68b
/eng/box.py
ececc240ed1b4279d650253024d3d5bb7f9e7674
[]
no_license
andrew-turner/Ditto
a5a79faaf31cc44d08ac5f70fa2ac51e51d1b60f
72841fc503c716ac3b524e42f2311cbd9d18a092
refs/heads/master
2020-12-24T14:19:01.164846
2015-05-20T08:42:26
2015-05-20T08:42:26
35,935,568
0
0
null
null
null
null
UTF-8
Python
false
false
4,184
py
import os import pygame import eng.globs as globs import eng.settings as settings import eng.data as data class Box(pygame.Surface): """ Class to provide sized boxes. Box(size, fn=None) cursor sidecursor """ def __init__(self, size, fn=None): """ Draw the box and load cursor...
[ "andrew.turner@merton.ox.ac.uk" ]
andrew.turner@merton.ox.ac.uk
2c868859f32898ee567d57a11f8465d52defaa9b
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129170414.py
befa878f5cbb7ed857230b4ee11b494b472f60c6
[]
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
13,979
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # 东方财富网 首发申报 import re import pickle from datetime import datetime, timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?'...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
a290e85705ab99d42c9637d0930b248484550781
89979cdf3e7ef2d07ae28ea5027a39561b24404a
/Utils/NLPUtils/classification/models/NaiveBayesClassifiers.py
8ccf5074997faf3749bb70314680a3130fc1deaa
[]
no_license
LautaroEst/BecaNLP
8c273043052910c2567ec95222282fa6d43a6efe
dad43317cd51fa4ec80cbe36ba0ec07b54f0b424
refs/heads/master
2022-11-04T23:45:32.396013
2021-04-29T21:19:10
2021-04-29T21:19:10
220,004,944
4
1
null
2022-10-12T09:38:18
2019-11-06T13:37:21
Jupyter Notebook
UTF-8
Python
false
false
634
py
import numpy as np from sklearn.naive_bayes import MultinomialNB as sklearnMNB, BernoulliNB as sklearnBNB, CategoricalNB as sklearnCNB from .BaseClassifiers import NaiveBayesClassifier class MultinomialNB(NaiveBayesClassifier): def __init__(self,**kwargs): self.classifier = sklearnMNB(**kwargs) class BernoulliN...
[ "lautaro.est@gmail.com" ]
lautaro.est@gmail.com
4ffc57cb887238c331f84dfb5129cbc404e41515
ed44c039862c6bde4c790c29f49d4e1012ae04ff
/sep11/venv/bin/pybabel
156e1d5524373ce023fe6f81f7c95b4464057966
[]
no_license
ravijaya/sep13
983bc2fc62a03c607478400dbdf9f91acc028b5d
fca95700ec9e3b56fc99621396d72ae411b3be92
refs/heads/master
2022-09-19T05:04:29.422670
2019-09-13T13:17:21
2019-09-13T13:17:21
208,267,991
0
0
null
2022-09-13T23:02:52
2019-09-13T13:15:15
Python
UTF-8
Python
false
false
269
#!/home/ravijaya/Trainings/Python-Devops/sep11/venv/bin/python # -*- coding: utf-8 -*- import re import sys from babel.messages.frontend import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ravijaya@localhost.localdomain" ]
ravijaya@localhost.localdomain
9079285a7b32c354584c4103427661fa37cd3144
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pandas-dev_pandas/pandas-master/pandas/tests/test_internals.py
f086935df6dc8bed8c86ae59f237d8aea7f83a57
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
47,892
py
# -*- coding: utf-8 -*- # pylint: disable=W0102 from datetime import datetime, date import pytest import numpy as np import re import itertools from pandas import (Index, MultiIndex, DataFrame, DatetimeIndex, Series, Categorical) from pandas.compat import OrderedDict, lrange from pandas.sparse.ar...
[ "659338505@qq.com" ]
659338505@qq.com
607bed4f5eacf2ae276141645ca6c12778e3438b
d4a89b9113980e7b8225a5cfc197f6742b3e2ffe
/1st year/PF/Lab/Test1/services.py
10a591c73cdb41d7730549538867d4be5613afdf
[]
no_license
Akitektuo/University
26a37d2831c3ed8a42dc27bd8c27778b479367c2
3c94b6aedcf6e69012d8e892d775481965e7551d
refs/heads/master
2023-03-19T22:16:20.529707
2022-05-19T13:33:02
2022-05-19T13:35:03
212,976,476
2
2
null
2023-03-06T16:32:34
2019-10-05T09:46:05
Java
UTF-8
Python
false
false
3,059
py
from flight import * from validator import * def preload_flights(): """ Preloads the flight list with flights Input: - Output: - """ flights = [] flights.append(create_flight("0B3001", 30, "Cluj-Napoca", "Bucharest")) flights.append(create_flight("0B3002", 60, "Cluj-Napoca"...
[ "alexcopindean@yahoo.com" ]
alexcopindean@yahoo.com
360deb7ff01162b82a1d4c36509b278d656f8e59
008843692343506336e8cb7fe487efaf844b3f4d
/architect/inventory/forms.py
6b5f5617a6df1b9c06d680a831d7f88329ff78f5
[]
no_license
epcim/architect-api
1ecde99a60331b7a55d3073086a9aafaf70e57d6
c3188e55a0358d1ccb810f708706f7e58f74078e
refs/heads/master
2021-03-30T21:25:00.603250
2018-03-09T14:38:01
2018-03-09T14:38:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,720
py
import os import re from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Fieldset, Div, Submit, HTML from django import forms from django.urls import reverse from django.conf import settings from django.core import validators from .models import Inventory, Resource class SlugField(forms...
[ "mail@newt.cz" ]
mail@newt.cz
7a36f95bdcb55677ffdc4a8de86278144e830cd9
4ce49f691f8f32b37bbc19059398915f341fe065
/setup.py
984656d532ef56c4a6759e806b6a99127c5e8b5a
[ "MIT" ]
permissive
rjagerman/chainercb
03afddec5f4f9858623084e31e4915718125d87a
72f18146828e7ec3dbaec210ab2f41fe25033e42
refs/heads/master
2021-04-06T05:29:47.671405
2018-11-07T00:38:03
2018-11-07T00:38:03
125,028,563
1
0
null
null
null
null
UTF-8
Python
false
false
678
py
from setuptools import setup setup( name='chainercb', version='0.2.3', description='Neural Contextual Bandits using Chainer', url='https://github.com/rjagerman/chainercb', download_url = 'https://github.com/rjagerman/chainercb/archive/v0.2.3.tar.gz', author='Rolf Jagerman', author_email='rj...
[ "rjagerman@gmail.com" ]
rjagerman@gmail.com
c458ef647a88a0968a664cde49e5b1984cd65e44
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-GameCenter/PyObjCTest/test_gklocalplayer.py
2cb908dba9a7f2babf933d3c24a216a8e9c1251d
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
from PyObjCTools.TestSupport import * import objc import sys if sys.maxsize > 2 ** 32: import GameCenter class TestGKLocalPlayer(TestCase): @expectedFailureIf(os_release().rsplit(".", 1)[0] == "10.9") @min_os_level("10.8") def testMethods10_8(self): self.assertIsInstance(Ga...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
63f775b20515da0b6bf1a3a387735f7bb4a50c4f
8d161515037cd42dcd6404a068620c11b2597ae8
/LeetCode/TopologicalSort/course_schedule_2.py
3f1577ea0da66c1a344af053230500ea313c1199
[]
no_license
YiseBoge/CompetitiveProgramming
433526d18a7bfe754f9e1c8d20b2b234d7b7568c
26b720623bcc1afe054101a13ca37b65ff518ce1
refs/heads/master
2021-12-03T17:52:00.048476
2021-11-23T17:40:14
2021-11-23T17:40:14
225,392,780
1
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
import collections class Solution: def findOrder(self, numCourses: int, prerequisites: list) -> list: results = [] visited = set() graph = {} incomings = [0] * numCourses for i in range(numCourses): graph[i] = [] for el in prerequisites: in...
[ "Ethiopia1!" ]
Ethiopia1!
714657f61ebb00d1e2486853057d73e867e44a9b
9ac205e4d8f111608d1abbcfa78b5b6598c17955
/303.区域和检索-数组不可变.py
62b93782eb46009f74fde34f0f122348a64246e1
[]
no_license
oceanbei333/leetcode
41ff0666da41750f7d3c82db53ec6f7f27125d3e
5d29bcf7ea1a9e489a92bc36d2158456de25829e
refs/heads/main
2023-03-16T18:17:25.232522
2021-02-28T04:56:40
2021-02-28T04:56:40
319,561,951
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
# # @lc app=leetcode.cn id=303 lang=python3 # # [303] 区域和检索 - 数组不可变 # # @lc code=start class NumArray: def __init__(self, nums: List[int]): for index in range(1, len(nums)): nums[index] += nums[index-1] self.nums = nums @functools.lru_cache(None) def sumRange(self, i: int, j:...
[ "root@DESKTOP-2T4F83G.localdomain" ]
root@DESKTOP-2T4F83G.localdomain
0811c571a3808f0d496175d63bdb28a4be42e8fe
8229649a3a8c54a15b623ba44d090e23a8186ca1
/src/accounts/admin.py
6198d2e0249467f2ee62d0556b07a90738303310
[]
no_license
jirayr2609/SportsUnitedBackEnd
5c4292f88a4e1f41df02ff9c8942725318e05cf3
607d2a60471009a314f6e1ab7dfa8d92a7ad1ade
refs/heads/master
2021-05-10T20:03:23.211460
2018-01-13T03:27:17
2018-01-13T03:27:17
118,175,133
0
0
null
2018-01-19T20:29:31
2018-01-19T20:29:31
null
UTF-8
Python
false
false
1,692
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from .models import * # class UserAdmin(BaseUserAdmin): # search_fields = ('email', 'first_name') # ordering = ('email',) # list_display = ('id', 'email', 'first_name') # fieldsets = ( # (None, {'...
[ "e.amespizarro@gmail.com" ]
e.amespizarro@gmail.com
da3c5684a7721cfe8d3fe89486c230fc19623644
9c52998e7d92640b82284e7e85bf69205fc94d73
/SeleniumLearningFiles/SeleniumLearning04/webdriver/Test1/generater.py
da79e98a24909b7d45bd5ede85d260ff7a25f0ba
[]
no_license
github653224/GitProjects_SeleniumLearing
b0c57d27fa48b0cd7475f8d8e8b19c57160e65fc
818b573a3b0f18def98610e59e3c0c6500a675bc
refs/heads/master
2021-07-20T05:54:46.392948
2017-10-27T12:53:41
2017-10-27T12:53:41
107,764,014
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
a=[x*x for x in range(11)] print(a) # 如果列表元素可以按照某种算法推算出来,那我们是否可以在循环的过程中不断推算出后续的元素呢? # 这样就不必创建完整的list,从而节省大量的空间。在Python中,这种一边循环一边计算的机制, # 称为生成器:generator。 要创建一个generator,有很多种方法。第一种方法很简单,只要把一个 # 列表生成式的[]改成(),就创建了一个generator: g=(i*i for i in range(11)) print(next(g)) print(next(g)) print(next(g)) print("================...
[ "944851899@qq.com" ]
944851899@qq.com
87e3126b85b06a59837880826fd87046c6382599
e8bc479b6ab88dff328c4d6ba3b24dec2b14ac27
/nuitka/tools/quality/autoformat/__main__.py
2cc6525631b690fe19e937df750bbca8cdbb7fe2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
Pihu1998/Nuitka
368469700b7c7310a54ab781bb3bf2b768067aff
b84034fbc516afb1d501a9eb84a58552efa247c2
refs/heads/develop
2020-04-28T16:38:00.978801
2019-03-09T16:11:52
2019-03-09T16:11:52
175,418,891
0
0
Apache-2.0
2019-03-13T12:43:16
2019-03-13T12:43:15
null
UTF-8
Python
false
false
2,377
py
#!/usr/bin/env python # Copyright 2019, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this fi...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
b9750053cf0af6fc9fb2076a0a93e7da78b67efc
52f0984561895b48f3e6e40658a6e52c97705715
/python-folder/dictionary-dictionary.py
8fa1c8e1239aa41bc362c920db16c8be9959c7e1
[]
no_license
jsanon01/python
8da2755e7724850875518455c1760bb9f04dd873
edd52214e3578f18b71b0ad944c287411fb23dfb
refs/heads/master
2022-05-20T00:29:10.550169
2022-05-10T01:08:48
2022-05-10T01:08:48
165,682,490
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
""" I want to print a main dictionary and sub-dictionary with keys and values I want to print a dictionary inside main dictionary with keys and values I want to print indexes in a dictionary """ data = { 'teams': 'Red Sox, Bruins, Patriots', 'wins': {'year': 2018, 'score': '36-12'} } print("\nI want to print 'main...
[ "jeansanon180@gmail.com" ]
jeansanon180@gmail.com
e1c4af9241459df5e7bcd59937c031f4fb87f751
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03606/s818080839.py
c288dfefdd86db85a45f087c0e9ec3028334b76d
[]
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
440
py
import bisect,collections,copy,heapq,itertools,math,string import sys def S(): return sys.stdin.readline().rstrip() def M(): return map(int,sys.stdin.readline().rstrip().split()) def I(): return int(sys.stdin.readline().rstrip()) def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) def LS(): return lis...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
46fb2fe5eb4b01bf7de8dc822f00a214fb9979f3
633638a8c901b19d05178a4ebee586cb6e4b6dbf
/src/detectyuri.py
85ad8b72fe0ee66737321625d2b66ab463c60878
[]
no_license
onnga-wasabi/yuri
2961c8f3be33634b08ccb9b082aaa014955c4960
fcc70f4ee49c88e6635f282511cb0ebb47baf8e0
refs/heads/master
2020-03-10T22:58:30.156085
2018-04-21T04:34:49
2018-04-21T04:34:49
129,630,662
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
import numpy as np import cv2 from pathlib import Path import sys def main(): cascade = cv2.CascadeClassifier('models/model.xml') p = Path('../data/' + DNAME) imgs = [fname for fname in p.iterdir() if not fname.name == '.gitkeep'] i = 0 for img in imgs: image = cv2.imread(str(img), 1) ...
[ "yuuto.onnga.23@gmail.com" ]
yuuto.onnga.23@gmail.com
5cc36ee254f667cc6e17186cae8ad3b6b4ac047c
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc017/A/4894508.py
30b6729f41639d9d565b78e85f4361ad994f8744
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
93
py
s = 0 for i in range(3): a, b = map(int, input().split()) s += a * b print(s//10)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
54764fa0fb34992adc11f76791ab7dbcd5e8a90f
4cc97094736f53c005e4da5674e968ad757d6f10
/easy/10_alphabet_soup.py
41c0e31c7cd6d9d452ee4ee1a7c8365dd2e920df
[]
no_license
Gabkings/coderbyte
8bd59a69a9db46b562d5f5c011e5ab70fbb480c9
bdbd0ca0c79f89485b927f40c700e5aedba197d4
refs/heads/master
2023-03-18T04:49:16.797425
2015-11-25T22:51:52
2015-11-25T22:51:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Have the function AlphabetSoup(str) take the str string parameter being passed and return the string with the letters # in alphabetical order (ie. hello becomes ehllo). Assume numbers and punctuation symbols will not be included in the string. def AlphabetSoup(a_string): list_of_chars = [] for char in a_str...
[ "paigebolduc@gmail.com" ]
paigebolduc@gmail.com
5e5d7c3e6155b2c19b3a4d1849738190be2fde9d
e78f76b899117637944f0134a386a6f4443334d0
/sample/9/NotePadAT.py
f2caeb2cd7b5389fa3e22625d6e550be158afc0b
[]
no_license
yama5/pythonLab-v3
b6183eca91fadb7e6d09d886b4c602b1d8c83c75
edf012748e021a14dc93dcd9f474412b7eca0e44
refs/heads/master
2020-04-27T06:01:32.179510
2019-02-19T09:52:34
2019-02-19T09:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
# -*- coding: UTF-8 -*- from datetime import datetime from pywinauto import application from time import sleep #sleep time sleepSec=1 # Win32 API(Default) app = application.Application(backend='win32') app.start('notepad.exe') # Notepad クラス (Notepad のウィンドウ) を探して日時を入力 app.Notepad.Edit.set_edit_text(datetime.now()) ...
[ "to-yuki@jtp.co.jp" ]
to-yuki@jtp.co.jp
f3f518efa443fa90cde3a6be4048a1dd6b85d304
a130fd7c22f60ff70824331c9ad5bc7cb7c1f8bd
/test/test_back_end/test_emitter/test_statements/test_jumps.py
4cefa8f1da5c349f2f053ae68aba10a4356b38dc
[]
no_license
samyvilar/c_compiler
a366421972ac0f9560538531cf965087ffd9bf9c
fde490814ec751aa052ecfdaa3ba1be1c6209db4
refs/heads/master
2020-04-30T00:17:23.463952
2014-02-27T23:13:28
2014-02-27T23:13:28
17,496,354
5
2
null
null
null
null
UTF-8
Python
false
false
3,042
py
__author__ = 'samyvilar' from test.test_back_end.test_emitter.test_statements.test_compound import TestStatements from front_end.parser.ast.expressions import ConstantExpression, IntegerType class TestJump(TestStatements): def test_continue(self): source = """ { int sum = 0, index = 0...
[ "samy.vilar@gmail.com" ]
samy.vilar@gmail.com
2006a9d4b702cc41c5285de2838fd9506e4a8fbd
8ecd1d9d1760acbf1f9b999363a5d150460e1c2a
/E4-9.py
6d2844a811980e233b2f0222db4e702ed356d8c9
[]
no_license
Gary2018X/data_processing_primer
0910c7c37af7ed03546520303c7d1660c62b0254
b0d2cb16b4fcaed08f01accb4695232a33131d28
refs/heads/master
2023-01-14T17:39:48.856606
2020-11-17T03:21:32
2020-11-17T03:21:32
298,432,953
1
0
null
null
null
null
UTF-8
Python
false
false
281
py
# -*- coding: utf-8 -*- # author:Gary import numpy as np # ********numpy二元数组索引参照和切片********# arr = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) print(arr) # (1)取出值为3的元素; print(arr[0, 2]) # (2)取出二元数组[[4,5],[7,8]]; print(arr[1:, 0:2])
[ "56428019+Gary2018X@users.noreply.github.com" ]
56428019+Gary2018X@users.noreply.github.com
2da1934f98b282a1c541e63bf6c90856a5f62161
46c521a85f567c609f8a073cb9569ea59e2a104f
/20_function_28.py
4e8e7f5f2a5cf86daea7531c18a2e89cda32acbe
[]
no_license
Kunal352000/python_adv
c046b6b785b52eaaf8d089988d4dadf0a25fa8cb
d9736b6377ae2d486854f93906a6bf5bc4e45a98
refs/heads/main
2023-07-15T23:48:27.131948
2021-08-21T13:16:42
2021-08-21T13:16:42
398,557,910
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from math import* print(pi) print(sin(90)) print(cos(0)) print(tan(45)) print(ceil(2.1)) print(floor(2.99)) print(2,3) print(gcd(6,12)) print(lcm(6,12)) print(prod([1,2,3,4])) print(sqrt(49)) print(factorial(5)) print(perm(5,2)) print(comb(5,2)) """ output: 3.141592653589793 0.8939966636005579 1.0 1...
[ "noreply@github.com" ]
Kunal352000.noreply@github.com
9108ad430c413db6b6458b729c7530c4146e2eac
64fbb76326f92ecebdd721327129ee7c20d8c6d8
/utils/main.py
0ff63c4d4f0073b632f4928d93627dcd2ca63b85
[]
no_license
shaoqianliang/block_chain
dfcbf098bed45454cf8b43bb9b6e465bcbb65aff
67f2206fb65170dc2fc53d87577e892e2493c9f7
refs/heads/master
2020-03-27T22:51:25.973093
2018-09-04T06:41:07
2018-09-04T06:41:07
147,224,409
0
0
null
null
null
null
UTF-8
Python
false
false
5,230
py
# -*- coding: utf-8 -*- import pandas as pd from auto_trade import models import datetime import requests account = models.Account.objects.values() trade_cal = pd.read_csv('trade_cal.csv')#暂时没数据,交易时间 request = requests.session() class G: pass class Context: def __init__(self, cash, start_date, end_date, stat...
[ "1132424753@qq.com" ]
1132424753@qq.com
8ab09fc660e64a0cd3d79ff8900ecad7c9dcf126
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-dris/huaweicloudsdkdris/v1/dris_client.py
b59e663f3e6d286e20bf7186da9fa5530c1848cc
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
127,908
py
# coding: utf-8 from __future__ import absolute_import import importlib from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest class DrisClient(Client): def __init__(self): super(Dris...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
9ac88ac238eebb51f69cab7b35c71ce3e460fe79
3db2fcd1a34ae7b22225029587369f49424457dd
/tests/DataPreparerTest.py
35dc5a3f4d64057b9016cbefac5442a9f2d13fbe
[]
no_license
pombredanne/realigner
7f0fdfdf42f757fead45cdeb5ea2901c4965e944
b0c32cace20dd720c7609f009d86846d9ecb750f
refs/heads/master
2021-01-18T03:57:30.977009
2014-05-06T09:35:46
2014-05-06T09:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,697
py
__author__ = 'michal' import unittest from classifier_alignment import constants from classifier_alignment.DataPreparer import DataPreparer, IndelDataPreparer from classifier_alignment.DataLoader import DataLoader from alignment import Fasta class DataPreparerTest(unittest.TestCase): def __init__(self, *args): ...
[ "mhozza@gmail.com" ]
mhozza@gmail.com
44411e9b9f7e5b41bed79a8639bfcc52a16e52bb
79041f273c057b2fbb115b35494b13250ac7a42c
/bel/resources/manage.py
d46410a6d919a247ccbf09d0f9715b448b5ab429
[ "Apache-2.0" ]
permissive
belbio/bel
3786b65a10d44735407b0e79c8489bea1df58863
14ff8e543a679e7dfff3f38f31c0f91ffd55e4d8
refs/heads/master
2022-12-08T23:02:28.242510
2020-12-21T16:17:47
2020-12-21T16:17:47
116,027,945
6
2
Apache-2.0
2022-06-01T23:58:52
2018-01-02T15:14:32
Python
UTF-8
Python
false
false
7,083
py
# Standard Library import copy import gzip import json from typing import List # Third Party from loguru import logger # Local import bel.core.mail import bel.core.settings as settings import bel.core.utils import bel.db.arangodb as arangodb import bel.db.elasticsearch as elasticsearch import bel.resources.namespace ...
[ "william.s.hayes@gmail.com" ]
william.s.hayes@gmail.com
079c06a43d4f3e5d049d315a0559e8491d1abd3a
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/ListClusterServiceComponentRequest.py
48714e9a03d978d4a7c3d24a5bb5f7e4f0223c9b
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,710
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
a0693e9c66f9a14fa8bd9eaf0783e7d63d52be58
9501635a28693b0cfd7dd91ecf6004f3517b1aa9
/deploy.py
aef4b16b5bbc4d72b79a6f6d2ef3ccf609c4fa76
[]
no_license
EvolveWork/EvolveWork-hugo
723bf3fd78a352742f9224cc38304ddfd8b74074
69a3a2bd1ec0f15780edc43b2661dd90182152fe
refs/heads/master
2023-07-09T05:24:33.022541
2023-06-21T18:45:05
2023-06-21T18:45:05
144,762,124
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
from pathlib import Path import sys import os import shutil exclude = [ ".git", ".gitkeep", "CNAME", "README.md", ] root_name = Path().cwd().stem.split("-")[0] target = Path.cwd().parent / f"{root_name}.github.io" def unknown(item): print("UNKNOWN ITEM: {}".format(item)) sys.exit(1) for item...
[ "mindviewinc@gmail.com" ]
mindviewinc@gmail.com