blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
09b1c7320e912e5cd1f8112bef7e99ed7bf80eae
73d9e83f8b69ebb42b7e5d7337a2430ac91ef5f9
/.vscode/.ropeproject/config.py
177450ceb807927bd04767e07bbe5b4f17221ffc
[ "MIT" ]
permissive
fredericklussier/ObservablePy
0cb0f96e78772783982e01a39103a5a2b1e97529
fd7926a0568621f80b1d567d18f199976f1fa4e8
refs/heads/master
2021-07-12T03:17:44.556553
2017-10-15T14:02:08
2017-10-15T14:02:08
105,478,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,037
py
# The default ``config.py`` # flake8: noqa def set_prefs(prefs): """This function is called before opening the project""" # Specify which files and folders to ignore in the project. # Changes to ignored resources are not added to the history and # VCSs. Also they are not returned in `Project.get_fil...
[ "frederuck.lussier@hotmail.com" ]
frederuck.lussier@hotmail.com
6c7d0f770e917964381a230c09a5bbbfe23a7ca1
38b1edf9cd5bed092de176e20abf4f3ef882a55f
/pythonWeb/hello.py
9c801af90b119e5aa627ce63eebbd56d0557fc47
[]
no_license
wbird101/pythonWeb
9ff1bc909a661f2e4151e5cb510bafb95af7b022
d3ec6ee006f08eede87be717c93c419afa1aa7b0
refs/heads/master
2023-04-28T20:46:29.592273
2020-03-24T08:17:22
2020-03-24T08:17:22
242,928,855
0
0
null
2023-04-19T19:57:50
2020-02-25T06:38:27
HTML
UTF-8
Python
false
false
148
py
#!C:\Users\wbird\AppData\Local\Programs\Python\Python38-32\python.exe a = 3+4+5 b = a/3 print("content-type: text/html; charset=utf-8\n") print(b);
[ "wbird101@naver.com" ]
wbird101@naver.com
1323a86fac9074908c244e6d9aa7d855ad66e4e0
2aed7196873eb4de0d802b113c47c81bd5171897
/Setup.py
4eb948c706571238a8c305bf9f422e0f82ea2f21
[ "MIT" ]
permissive
Andereoo/PythonMusic
f293584e8072e5c00657d020acfe90b1fed35335
85f33267898c75ae8da5e1ae15cc17f03cdb1896
refs/heads/master
2021-08-11T02:37:34.172947
2020-05-29T12:04:43
2020-05-29T12:04:43
185,779,679
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
from distutils.core import setup setup( name = 'PythonMusic', packages = ['PythonMusic'], version = '0.1', license='MIT', description = 'Small cross-platform music note player for beginners to learn how to manipulate system uses', url = 'https://github.com/Andereoo/PythonMusic', # Provide eithe...
[ "noreply@github.com" ]
noreply@github.com
a1398da5f4f071813ddb206fd3009a0dce4a5b94
cd1c44e043e49ca56fb2365761e22d6451c7408c
/quantum_compiler/test/test_states.py
f2050a4355a25082c4652483c536e6a9dae3bec3
[ "MIT" ]
permissive
Debskij/QuantumCompiler
34c714a0978878566f549976198a4b80d0017805
a1502d6d7ad13eac54e261cd59ecfb43db2cd9a2
refs/heads/main
2023-04-11T21:51:48.928549
2021-05-17T16:48:44
2021-05-17T16:48:44
342,245,887
2
0
MIT
2021-04-18T10:37:49
2021-02-25T13:00:56
Python
UTF-8
Python
false
false
1,833
py
import pytest import numpy as np from itertools import product from .. import states QUBITS = [] for i in range(1, 4): qubits_i = [s for s in product(states.QBIT_MATRICES.keys(), repeat=i)] QUBITS.extend(["|" + "".join(s) + ">" for s in qubits_i]) QUBITS.extend(["-|" + "".join(s) + ">" for s in qubits_i])...
[ "noreply@github.com" ]
noreply@github.com
158d5c9d0f6bc509d228e012cc4f5b4d2a00d293
ac2c0acf96427dd7a33924a6979854fc64ac336d
/Machine Learning Regression/Regression Models/Multiple Linear Regression/multipleLR.py
67590b220142cb1422f5d60cd153ef4ebf32e528
[]
no_license
Ibrahima-koundoul/Machine-Learning---Regression-
55cc82efd0f28b91c7dcb29cebd0df597cadc8ea
094b99f4ac56cf854155c679bf18db32e60574a7
refs/heads/master
2022-11-24T09:15:19.133495
2020-08-03T13:12:53
2020-08-03T13:12:53
282,968,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
# -*- coding: utf-8 -*- """ Created on Sat Jul 18 20:00:06 2020 @author: ibrah """ """MULTIPlE LINEAR REGRESSION""" #first method : ALL IN #importing librairies import numpy as np import matplotlib.pyplot as plt import pandas as pd #importing the data dataset = pd.read_csv('50_Startups.csv') #rear...
[ "noreply@github.com" ]
noreply@github.com
adc2aacdde31ac6439c89caa44af85c00070f315
cd9bd920e9406f6b0e3381fb9b1f9a557378e82b
/unpackers/unpack_cet_mrantifun.py
125a211b1a6411cccb7c8d310098c79e637fcf78
[]
no_license
bludoge305/cetrainer-unpacker
169f42f55420a4cb8e3017c491fb3dac111ad30b
2f9304eeb453f2b505fa1530352fa8e6faa823ff
refs/heads/master
2023-04-16T16:13:32.155385
2018-07-09T04:44:26
2018-07-09T04:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,789
py
import zlib keys = [ b'\x2A\xAD\x2B\x41', # Found in modified CE 6.4 32-bit. b'\x65\x42\x17\x43\x65', # Found in modified CE 6.5 64-bit. b'\x65\x42\x17\x43', ] def round_xor_const(data, ckey): for i in range(0, len(data)): data[i] = data[i] ^ ckey ckey = (ckey + 1) & 0xFF def de...
[ "alexandro@phi.nz" ]
alexandro@phi.nz
d062fc981c72d1a54766a2545197c4549c275055
691b39edb66b8542d0e8fac5b9e7b4638fea92ec
/Screepy/core/scheduler.py
5581c330ddb07b34dba88091306e35a3739424c8
[]
no_license
superfishie/My_Spider_Frame
94c3fd56d2e67a7ff31926a14f289614e56a8877
5526679ba71aa6201d78f6042fbeb84c73c39092
refs/heads/master
2020-03-26T12:04:32.461051
2018-08-15T15:59:15
2018-08-15T15:59:15
144,864,398
0
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
#coding:utf-8 import six from ..utils.log import logger from ..conf.default_settings import * #如果是分布式的角色,那么使用redis数据库的队列 if role == "master" or role == "slave": from ..utils.queue import Queue from ..utils.set import RedisFilterSet as Set elif role == None: try: from queue import Queue except ...
[ "dirk2823@gmail.com" ]
dirk2823@gmail.com
c56f7d1e3e40ed2000ef41d8494f7d4f154ec44c
b9feb8cca351037d2705006f97fe1ec1b5343035
/stringio.py
5483c66bed66d7ab0c2127c514eb6fecd2ab5ca5
[]
no_license
Fifi1996/learn_py
ebadb893eada465d3dceb718e700ce8a0a089822
e4c960e8136011493acaa751ccf468c4dc153b34
refs/heads/master
2021-05-09T22:54:24.011613
2018-02-08T13:08:22
2018-02-08T13:08:22
118,767,279
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
''' StringIO和BytesIO 很多时候数据读写不一定是文件,也可以在内存中读写 StringIO是在内存中读写str ''' from io import StringIO f=StringIO() print(f.write('hello world')) print(f.getvalue()) #getvaule方法用于获取写入后的str #BytesIO用例操作为进制数据 from io import BytesIO f=BytesIO() f.write('中文'.encode('utf-8')) print(f.getvalue())
[ "zhuangfifi@gmail.com" ]
zhuangfifi@gmail.com
202a88655b5c4915d28f86f89d310486eed37aa5
5667b69eee4b384e09625c1c65799a9785336b5b
/ivi/tektronix/tektronixMDO4104.py
4255a76b58b35d946e378bc805e59ee55b55848d
[ "MIT" ]
permissive
Diti24/python-ivi
ffae0aa38e7340fa142929541ded2148f41e8a9a
4bf570eeb370789404d5bae8a439b6bbdb57647e
refs/heads/master
2020-04-08T04:07:06.326253
2019-08-05T16:52:00
2019-08-05T16:52:00
60,081,649
0
1
null
2016-05-31T13:40:19
2016-05-31T10:51:47
Python
UTF-8
Python
false
false
1,640
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2016 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the righ...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
bf179c5f51df77fb91cab4be1d49efb436a6358c
c9dd9e9ed69b04352d44b3b42cbf3355b5213e50
/.ycm_extra_conf.py
54a407228ff1d7e40e98beecb8b49dc5fb8a3136
[]
no_license
gcollura/trakt-scope
dd2d6583ee79783981403014b7ebe6d44fb4973f
3833ffa459177c4fcaff6e2ef79927e225a87585
refs/heads/master
2021-01-01T17:21:06.614047
2014-11-03T21:55:34
2014-11-03T21:55:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
import os import ycm_core # import vim # These are the compilation flags that will be used in case there's no # compilation database set (by default, one is not set). # CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR. flags = [ '-Wall', '-Wextra', '-Werror', # '-Wc++98-compa...
[ "random.cpp@gmail.com" ]
random.cpp@gmail.com
ce020639fb92b282251717447412915f9dd87688
4750fe54a18eac014c58cd581a9994b040e35d66
/test/functional/test_framework/authproxy.py
001e919fb0e6aa15d5e3b476c6850a5de64e1224
[ "MIT" ]
permissive
bitcoin-rush/bitcoinrush
b326b5c6a9efd68fac35d008df5363cf49931090
4329a6a7b9ce7a2188225f4abfc307e68de7dae0
refs/heads/master
2020-06-07T06:02:13.111203
2019-06-21T12:04:04
2019-06-21T12:04:04
192,943,402
0
0
null
null
null
null
UTF-8
Python
false
false
7,758
py
# Copyright (c) 2011 Jeff Garzik # # Previous copyright, from python-jsonrpc/jsonrpc/proxy.py: # # Copyright (c) 2007 Jan-Klaas Kollhof # # This file is part of jsonrpc. # # jsonrpc is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # th...
[ "yasinaktimur@gmail.com" ]
yasinaktimur@gmail.com
f801ca5c8e479a1cd219d0b732ef67309ca350a4
2bcc1e6a07aecb2ffd19a8137622399b274cac83
/Knapsack.py
2f02b7dccaeb29abcb6a344f2ec1a273e748ef57
[]
no_license
joseporras00/MH
77cb4e871f300bc134d1a6cc13ab407d0e3f2386
2fba6f39fd020965f4bc4543a8625347af8a3571
refs/heads/main
2023-04-19T22:01:51.325228
2021-05-06T15:32:34
2021-05-06T15:32:34
346,536,343
0
1
null
2021-04-12T21:47:22
2021-03-11T00:59:22
Python
UTF-8
Python
false
false
3,618
py
import random def evaluarSolucion(solucion, precios, pesos, pesoMax): precio = 0 peso = 0 for i in range(len(solucion)): precio += precios[i]*solucion[i] peso += pesos[i]*solucion[i] if peso > pesoMax: return 0 else: return precio def aplicarOperadore...
[ "noreply@github.com" ]
noreply@github.com
286036647230c1f20766d06e3e4a66ddc5f011b7
2a1f4c4900693c093b2fcf4f84efa60650ef1424
/py/probe/functions/usb.py
01655565f4c286d2a11fe60aa67c5066b1325d29
[ "BSD-3-Clause" ]
permissive
bridder/factory
b925f494303728fa95017d1ba3ff40ac5cf6a2fd
a1b0fccd68987d8cd9c89710adc3c04b868347ec
refs/heads/master
2023-08-10T18:51:08.988858
2021-09-21T03:25:28
2021-09-21T03:25:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# Copyright 2018 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import re from cros.factory.probe.functions import sysfs from cros.factory.probe.lib import cached_probe_function REQUIRED_FIELDS = ['idVendo...
[ "chrome-bot@chromium.org" ]
chrome-bot@chromium.org
898e23723c2158a81d22037201612b16bc551494
ec151ebbf361a2100e8a1aef59e2ac334d3ebc2d
/vocabularies/generate_cci_ttl.py
7aec38302b970dc0b0704656519e34700329f55c
[ "BSD-3-Clause" ]
permissive
cedadev/cci-vocabularies
8df933e5ba464f87c239186b424379da2311bc4d
aec0bc0147b68173575840d6426d06eac04732b4
refs/heads/master
2023-05-25T17:35:28.350876
2023-05-10T16:39:30
2023-05-10T16:39:30
41,043,073
0
3
null
2015-08-28T09:17:10
2015-08-19T15:35:10
null
UTF-8
Python
false
false
1,575
py
from generate_ttl import cci_mapping_cci_cf from generate_ttl import collection from generate_ttl import concept from generate_ttl import mapping from generate_ttl import owl from generate_ttl import scheme from settings import CCI, GCOS, MAPPING_2, MAPPING_BOTH, SKOS def generate(): collection.write_ttl(CCI) ...
[ "antony.wilson@stfc.ac.uk" ]
antony.wilson@stfc.ac.uk
28cc2679b99ce7a792326ea096424c43f2dab59b
5aefdf05cc35d503c38964ffb2937cb31250870f
/interpret.py
4f61c9ff1b06ac95eae4911aa4423933be351eff
[ "MIT" ]
permissive
TiniKhang/cfvg-discordbot
63a7ee1c988c4ce463567f1bbc947783cf3b5c70
e852897ef58e3b663193f935693078c80dbf0e67
refs/heads/master
2021-08-23T16:43:01.104035
2017-12-05T18:40:48
2017-12-05T18:40:48
106,474,812
0
0
null
2017-10-10T21:45:35
2017-10-10T21:45:34
null
UTF-8
Python
false
false
4,329
py
# Parses arithmetic operations with modificaitons: # +,-,*,/,(,) work as they should # & is the AND probability (right associativity) # | is the OR probability (right associativity) # ^ is the XOR probability (right associativity) # sorting: mine. returns list containing level n brackets and indexs # infix2rpn: infix ...
[ "Nanosmasher@users.noreply.github.com" ]
Nanosmasher@users.noreply.github.com
febab4b2955536ed556e53abca2fbc70e4387f08
f0604a3a32177e6baa0fad2c01766c3e99df3fe6
/courator/config.py
91678558386039d8d473ee9a055c685c75b9b02c
[ "MIT" ]
permissive
Courator/courator-backend
354390902ae6bc8faa17e47ef2c3596162423f52
726845a06c1be7693fd107bdf571ea40b7d398ec
refs/heads/master
2021-04-22T02:07:09.563157
2020-05-07T08:09:30
2020-05-07T08:09:30
249,842,057
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
import logging from databases import DatabaseURL from starlette.config import Config from starlette.datastructures import Secret from .logging import setup_logging config = Config(".env") DEBUG = config("DEBUG", cast=bool, default=False) DATABASE_URL: DatabaseURL = config("DB_CONNECTION", cast=DatabaseURL) SECRET_KE...
[ "matthew331199@gmail.com" ]
matthew331199@gmail.com
164872eef582fbbcad1277ca62f135c71bfa40f9
4dc63579783f743006a22a03905adc060b742cbe
/Graph/all_paths_from_source_to_target.py
27631d724825bb2c5bb0a74fda80eea7771778cc
[]
no_license
doguhanyeke/leetcode-sol
37aaad9ea2e4b2870ba10c3ad51bda19cca1e300
dcf22bb4ff3cb0d04536e9a446dd299d3a1ce734
refs/heads/master
2022-04-07T00:39:40.914138
2020-01-07T14:21:16
2020-01-07T14:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
class Solution: def allPathsSourceTarget(self, graph: List[List[int]]) -> List[List[int]]: visited = [] result = [] last_node = len(graph) - 1 def dfs(visited, graph, node, mylist): if node not in visited: mylist.append(node) if node == la...
[ "doguyeke@gmail.com" ]
doguyeke@gmail.com
d6a626ec01fb29ec4cfc69852b98c870eeb3a37b
d2fef7cba1cbcfa0310ff3eed7def672411657a3
/app/server/util/stats.py
27375deee24e0623eb0613c070289628b466ecec
[]
no_license
zsp00/py_echarts
b191f2bab8af278affeeeeb918d0b3171d46e533
3e7d5915818e8b43a1a4e404b586869b762b5dea
refs/heads/master
2022-04-19T19:16:22.513335
2020-03-31T07:25:12
2020-03-31T07:25:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
from flask import current_app from app.server.util.utils import timestamp # We use a list to calculate requests per second request_stats = [] def add_request(): t = timestamp() while len(request_stats) > 0 and request_stats[0] < t - current_app.config['REQUEST_STATS_WINDOW']: del request_stats[0] ...
[ "danqing@taotaosou.com" ]
danqing@taotaosou.com
72f1f59bbbd15bb91ff2e22139d375f363c4fe26
e228abda54dc7ab992ba634997b0d21b7200d091
/runtests.py
9efa69f957de2f6c612397fa92b4ccd7e605a565
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AltSchool/dynamic-rest
3fd2456d72fdf84e75556bc0fea7303e496b7ec7
ed69e5af4ddf153e6eb304b7db80cc6adbf4d654
refs/heads/master
2023-09-06T01:57:47.555537
2023-03-27T16:15:22
2023-03-27T16:15:22
31,736,312
812
131
MIT
2023-05-28T09:15:45
2015-03-05T21:05:17
Python
UTF-8
Python
false
false
3,117
py
#! /usr/bin/env python # Adopted from Django REST Framework: # https://github.com/tomchristie/django-rest-framework/blob/master/runtests.py from __future__ import print_function import os import subprocess import sys import pytest APP_NAME = 'dynamic_rest' TESTS = 'tests' BENCHMARKS = 'benchmarks' PYTEST_ARGS = { ...
[ "alonetiev@gmail.com" ]
alonetiev@gmail.com
3a196c69b9f2abbd039544758aa0e5f4ffeb1fc0
7a1b88d06ea18772b065b43d775cec6dd2acdf80
/1620.py
af8268a37b2479d7b8eb091095dcf56bd0c39388
[]
no_license
skaurl/baekjoon-online-judge
28144cca45168e79b1ae0baa9a351f498f8d19ab
1620d298c2f429e03c5f9387d8aca13763f5c731
refs/heads/master
2023-07-26T10:07:29.724066
2021-09-07T09:21:02
2021-09-07T09:21:02
299,019,978
1
0
null
null
null
null
UTF-8
Python
false
false
326
py
import sys a,b = map(int,sys.stdin.readline().strip().split()) dict_1 = {} dict_2 = {} for i in range(a): name = sys.stdin.readline().strip() dict_1[name] = i+1 dict_2[i+1] = name for i in range(b): x = sys.stdin.readline().strip() try: print(dict_2[int(x)]) except: print(dict...
[ "dr_lunars@naver.com" ]
dr_lunars@naver.com
f020b777a70bdb831c3655afbe4fb727539df1c7
96d31b21fbc196fe83d22ee0fdeb63ba2e58ac4e
/hdf.py
cddbf2eb30743a6d615a5e500d608a8854ec5b2a
[]
no_license
Sandy4321/analysis
7e0a392b9a9ac79fcefc5504e77303d4baa1b93a
ec2751eddbb5dd64c12d4386a86cda4515302419
refs/heads/master
2021-01-21T07:31:25.391005
2013-06-22T13:16:38
2013-06-22T13:16:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,266
py
import h5py import pandas import os def add_col(hdf, name, data, compression = 'lzf'): parts = name.split('/') dirpath = '/'.join(parts[:-1]) if len(dirpath) > 0 and dirpath not in hdf: hdf.create_group(dirpath) hdf.create_dataset(name, data=data, dtype=data.dtype, compression=compression,...
[ "alex.rubinsteyn@gmail.com" ]
alex.rubinsteyn@gmail.com
0f57f25e6830e8a8a6c29f9389d56e4d28244ca4
8240abd177ece3a1cf2d753cc5694c1fec478709
/week1/codeingBat/list-1/11.py
cf2becfbba95f6796832323d11c3203f3efb0f6e
[]
no_license
DastanB/BF-Django
255001185d8a8318bd19b750fe662a7f86b64d92
adcd1d968b94ea5097fd3d03338f031d5497d463
refs/heads/master
2022-10-27T06:44:56.648527
2018-11-24T18:33:35
2018-11-24T18:33:35
147,125,321
1
1
null
2022-10-19T08:22:54
2018-09-02T22:07:22
Python
UTF-8
Python
false
false
52
py
def make_ends(nums): return [nums[0], nums[-1]]
[ "dastan211298@gmail.com" ]
dastan211298@gmail.com
5848d11d226bd0effe320f20817c162d3c3130d1
61c4c6f267dc46dab516ccf36b8b43ca3a60eaae
/tail_recursion.py
079040929210a6e25f9702e60ba44627fe013940
[]
no_license
KaitoMiyazaki/TSP
b057983040303d38afc11e0df111348eb400979d
49a71e9a7156ac208438fd619149064a1401dcf7
refs/heads/main
2023-05-08T04:17:22.061697
2021-06-02T11:00:10
2021-06-02T11:00:10
370,987,683
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from functools import wraps def tail_recursion(func): firstcall = True params = ((), {}) result = func @wraps(func) def wrapper(*args, **kwd): nonlocal firstcall, params, result params = args, kwd if firstcall: firstcall = False try: while result is func: ...
[ "immaginarybears@gmail.com" ]
immaginarybears@gmail.com
1740dbf5afb3cb413127878a490bf8ee8adfd8a6
2e20879bd3aa3783f59e101a35c3429e5dd0576f
/explorations/lm/LM/model.py
cf86b9b684c35956ce7af827eefb32d4d5717201
[ "Apache-2.0" ]
permissive
saikrishnarallabandi/compositionality-expts
7bce38c2bd30c6af05d103449b148e1c640e727b
98da8dff150db2b1d68560dd3f875f57142254e8
refs/heads/master
2020-03-30T06:48:32.166450
2019-04-10T17:27:46
2019-04-10T17:27:46
150,890,286
2
0
Apache-2.0
2018-11-12T22:29:27
2018-09-29T18:04:55
Python
UTF-8
Python
false
false
3,070
py
import torch.nn as nn from torch.autograd import Variable import torch class RNNModel(nn.Module): """Container module with an encoder, a recurrent module, and a decoder.""" def __init__(self, rnn_type, ntoken, ninp, nhid, nlayers, dropout=0.5, tie_weights=False): super(RNNModel, self).__init__() ...
[ "nidhi0613@gamil.com" ]
nidhi0613@gamil.com
e6d66eddf2725012ac51922d9c8b968376d3c84e
6e8a9513d14c931766bbd2a5239a0bc51fbdd3b1
/Day3/car.py
745f22800a349f975f457ecddffa395cdd013aba
[]
no_license
jsonmuchiri/Andela-Boot-Camp
a4436370cc1bb06ada9a09667c7122cd5f5930b8
691f295e9f2d35fb88047ab44f99d05326d488c2
refs/heads/master
2021-01-20T18:02:19.558815
2017-05-11T08:40:50
2017-05-11T08:40:50
90,896,920
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
class Car(object): speed=0 saloon=False def __init__(self,name="General",model="GM",car_type=None): self.name = name self.model = model self.car_type = car_type if (name=='Porshe' or name=='Koenigsegg'): self.num_of_doors=2 else: ...
[ "jsonmuchiriwamuyu" ]
jsonmuchiriwamuyu
06df8306b20a7459428d2bec87c1891edbec67bc
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/1593.py
e3d0777f40977183a794b3eb8007eeb8c64e1509
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
#!/usr/bin/env python mm = {'a': 'y', 'c': 'e', 'b': 'h', 'e': 'o', 'd': 's', 'g': 'v', 'f': 'c', 'i': 'd', 'h': 'x', 'k': 'i', 'j': 'u', 'm': 'l', 'l': 'g', 'o': 'k', 'n': 'b', 'p': 'r', 's': 'n', 'r': 't', 'u': 'j', 't': 'w', 'w': 'f', 'v': 'p', 'y': 'a', 'x': 'm', 'q': 'z','z':'q',' ': ' ','\n': ''} def str_tran(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
30c2b7d452798f36eab2168a3d6f555eb8d88129
ee0ca5220d44df570256c396b7c670ba05c4573d
/musica/migrations/0003_auto_20180407_1358.py
37025e1456616af93a5f05678c51c2b4723a0a12
[]
no_license
Unuaiga/paraulas
ed33a4ba6bc7cb479de7fc142f45ced695911542
2eb45f6ab0fea7d63e3dad0a17c26ae94bdc7899
refs/heads/master
2021-06-05T08:34:54.516182
2018-05-20T12:23:57
2018-05-20T12:23:57
67,051,643
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# Generated by Django 2.0 on 2018-04-07 13:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('musica', '0002_auto_20180407_1354'), ] operations = [ migrations.RemoveField( model_name='groupem...
[ "aure.seguier@wanadoo.fr" ]
aure.seguier@wanadoo.fr
5f11faef54d8860d3c973e2bbdefddaf8ab88618
b970ef1025b654fcaa51afec6dd5931784f9cfdb
/URLScraper.py
71734c42ea1540b78a0289c817014ea4812339cf
[]
no_license
Matt-Payne/Forum-Snipe
df8648b53066c0cb0f93fe9d7153b6d976f14bb2
8d00a22af0a307ebdc47a70b6ea1baa7a0d866c8
refs/heads/main
2023-06-27T17:23:34.015889
2021-07-27T19:10:22
2021-07-27T19:10:22
380,824,421
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
import requests from bs4 import BeautifulSoup as bs s = requests.session() # Parameters: # link = url destination to forum page that is being scraped for information # Class takes link and outputs data into database # Example: temp = ScrappingModule('https://www.net54baseball.com/showthread.php?t=304362') class...
[ "naw3228@gmail.com" ]
naw3228@gmail.com
20857a99fc14b78ec368f43354eb6b68d5aa28c2
7c361707080ff9cd6e7c1fec2ae0f06ddb328bb1
/Project3/Release/transcribe_async_short_file3_44.py
a290a3dd5d981938a326b11bcdcf676679b77585
[]
no_license
RESQ20/EEP_P13_2018
5a7cee989b33249d4c2397572c5f06227a85938f
fbf1ee0a3f50db23b8593ea52ee431496f98e66f
refs/heads/master
2022-12-12T11:56:19.702754
2018-10-11T15:06:22
2018-10-11T15:06:22
138,637,109
0
0
null
2022-09-23T21:58:48
2018-06-25T18:54:07
Python
UTF-8
Python
false
false
4,783
py
#!/usr/bin/env python # Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "noreply@github.com" ]
noreply@github.com
f7b756861161b2a1d93f5522f0606c0fa0e8c1a9
09cd370cdae12eb45090033a00e9aae45ee26638
/STUDY/Graph Theory/18-43 어두운 길.py
ec19f71096e072352c9493057e1ec9be94080fd2
[]
no_license
KWONILCHEOL/Python
ee340f6328945651eb29d2b23c425a92c84a4adb
1ea5f5f74894a5929e0e894c5c12f049b8eb9fb4
refs/heads/main
2023-04-11T09:36:54.874638
2021-04-24T04:29:12
2021-04-24T04:29:12
328,658,511
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
import sys input = sys.stdin.readline def find_parent(parent, x): while parent[x] != x: parent[x], x = parent[parent[x]], parent[x] return x def union_parent(parent, a, b): a = find_parent(parent, a) b = find_parent(parent, b) if a < b: parent[b] = a else: parent[a] = b...
[ "kwon6460@gmail.com" ]
kwon6460@gmail.com
05773caba4dbc1f49c4887eac3585328b4a05f55
1c111dd29fd6429a9565c6e596c1c95096028f59
/API/code/flight_details_api_lambda_deployed.py
fdda5a487be79f4512523b7c240b935c67c47214
[]
no_license
AMCKEN205/traveltek-task
fd9c7820d8d0205fcdda12eb6812d2d5399c5ec1
d7254420bd4cf8a03892edf0d940b716b20fdc53
refs/heads/master
2023-01-19T21:33:34.139163
2020-11-30T13:40:54
2020-11-30T13:40:54
316,823,603
0
0
null
null
null
null
UTF-8
Python
false
false
14,107
py
import os import sys import subprocess import json import datetime import boto3 from typing import Counter import time as time_formatter from xmltodict import parse as xmltodict """ This code is hosted on AWS and is run on API request. """ """ Functional/exposed functions """ def lambda_handler(event, context): ...
[ "AMCKEN205@caledonian.ac.uk" ]
AMCKEN205@caledonian.ac.uk
17e37a8ad51613ef444d2626b00890e753fa8ae1
1bdbf12e6fa1091beeb4ce0d923664e779cda509
/NumPy/Getting_Started.py
6af75b8b95932f5dc297a0092c0db418cb5b32b1
[]
no_license
balajisaikumar2000/Python-Snippets
d61176f3a3752861c5a355c09b27c418727b90fd
b36a642b99cb2517438f773d21654ae4fef2cc05
refs/heads/master
2023-01-24T05:57:03.654796
2020-12-05T13:38:58
2020-12-05T13:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
import numpy as np arr = np.array([1,2,3,4,5]) print(arr) #version: print(np.__version__)
[ "balajisaikumar3@gmail.com" ]
balajisaikumar3@gmail.com
b8544b9bc18e4142f4f936c1f32b747decf7ff90
365581fd6390521c1b4de05aa8bc6dbfafd2a971
/model/UNGlobalAttention.py
4693e11aa81b52f415025309e4a2f4286202fe1d
[]
no_license
ngs00/uattn
366958f47165d731fcb85a53e191e6d9c1a4edf6
db5a43c6263a502e1b63924621145b3dc7f94c33
refs/heads/master
2022-11-19T21:17:45.450388
2020-07-17T08:34:23
2020-07-17T08:34:23
280,369,980
1
1
null
null
null
null
UTF-8
Python
false
false
2,243
py
import torch import torch.nn.functional as F from torch_scatter import scatter_add from torch_scatter import scatter_mean from model.inits import reset class UNGlobalAttention(torch.nn.Module): r"""Global soft attention layer from the `"Gated Graph Sequence Neural Networks" <https://arxiv.org/abs/1511.05493>...
[ "data@krict.re.kr" ]
data@krict.re.kr
8870bd24e5ffe301721b460d9d17fd2f21eb6d2a
904e75e2ceff81c18a432fe1b951b683e859cbed
/views/home.py
00e8a59f5996bfd50c7e509807307c71b893ddd0
[]
no_license
PUYUP/plutoborn
a42c65fa360de41a1236af00b5718948dc1b9940
e6b47b7f183fcff60fa803329e11c2e87de560ef
refs/heads/master
2022-12-05T17:06:10.049472
2020-08-19T09:12:45
2020-08-19T09:12:45
254,116,939
0
0
null
null
null
null
UTF-8
Python
false
false
9,622
py
import datetime from django.conf import settings from django.views import View from django.shortcuts import render, redirect from django.urls import reverse from django.core.exceptions import ValidationError, ObjectDoesNotExist from django.db.models import ( Count, Prefetch, Case, When, Value, BooleanField, Intege...
[ "hellopuyup@gmail.com" ]
hellopuyup@gmail.com
9e01a4d6eb1e13e5b7f3f25631000295e735b101
eed15d1e678507b7f12e06ef8e0f39034f76bd04
/atlas_to_iramuteq/setup.py
317e609abb3fbb03c5015d09213e77fbe104afd2
[]
no_license
vagnerpraia/python_scripts
13751ea34b02089cbc43838c6e33282c56cfe5e4
08904abb9dff4d0a415874ce87f4a93109156de1
refs/heads/master
2021-01-20T04:05:24.561783
2018-11-29T14:21:13
2018-11-29T14:21:13
89,638,522
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
# -*- coding: utf-8 -*- from cx_Freeze import setup, Executable setup( name = "atlas_to_iramuteq", version = "1.0.0", description = ".py to .exe", options = {"build_exe": { 'packages': ["sys", "reader", "sub"], 'include_msvcr': True, }}, executables = [Executable("convert_file....
[ "vagnerpraia@gmail.com" ]
vagnerpraia@gmail.com
94ee0ccc493a2f2645326a7c2f0e39713f65ecbf
7b3ca590177d3bbd0275082058d37f46f70a4f66
/coursesProject/coursesProject/urls.py
302c8623dab48b95f4e416949fe4ead76317bb6b
[]
no_license
firezdog/DjangoExercises
24d5ee8b4f417c6f468cd454858329032172bbe2
ef77dce4058cc5ab4b556f9d06e23d2d0766ac9b
refs/heads/master
2021-04-09T12:59:46.836347
2018-03-22T18:07:15
2018-03-22T18:07:15
125,458,848
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
"""coursesProject 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') C...
[ "firezdog@yahoo.com" ]
firezdog@yahoo.com
68732f8696c5f96563c2aa45186490c0aae4c5eb
edfc3ebade44b94a22353a261ff5acaef6cdf1a0
/bubblesort.py
9b13b1871a85081dedb1c03ec81cb701e8cf869e
[]
no_license
hanswillem/python
6421036b47d186f88f8e19fa51ce51e68ab1bc0d
cbc59da71a12dff02e1864708eb064a3b3a919c4
refs/heads/master
2020-12-25T17:35:47.197854
2018-01-03T10:20:47
2018-01-03T10:20:47
34,634,704
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
def bubbleSort(l): for i in range(len(l)): for j in range(len(l) - 1): a = l[j] b = l[j + 1] if a > b: l[j] = b l[j + 1] = a return l
[ "noreply@github.com" ]
noreply@github.com
2204432bad023bd5771d2336a1f358ae44546f07
5829e948b9c9de8ad557d3c66d5831f845026259
/python/内置函数/test_datetime.py
6ddfc4991c32b4226a270ae0760255af60260202
[]
no_license
774133886/learn
c3e3a2aeff3d8cfc0eeae0073df8fc5e1db85ea3
a70e091ee7c9f41f7a82d4beeab6e33d0b252d6a
refs/heads/master
2020-04-06T17:05:40.639244
2018-11-15T03:28:10
2018-11-15T03:28:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
import re from datetime import datetime, timezone, timedelta def to_timestamp(dt_str, tz_str): retest = re.split('[C:]',tz_str) tz_utc = timezone(timedelta(hours=int(retest[1]))) dt = list(map(int,re.split('[- :]',dt_str))) res = datetime(dt[0], dt[1], dt[2], dt[3], dt[4], dt[5], tzinfo=tz_utc) ...
[ "774133886@qq.com" ]
774133886@qq.com
3bd4cd0a2161d5758acc9cd2f6e6abda0237f7ec
0e0a12814de1622262e25b1542bb74c7e9fdf10d
/server.py
a44b401734f3902f9e03d7b1446f1b831f8313e8
[]
no_license
kevinlidkim/discussion_board
f69ccbb71df4f460bb47ed19b6941f2ea16ad26c
c55cf5dfe64f3ff74cb13d502d5395f6047836f5
refs/heads/master
2021-03-27T14:19:31.028690
2016-12-09T01:32:41
2016-12-09T01:32:41
75,147,074
0
0
null
null
null
null
UTF-8
Python
false
false
13,485
py
#Kevin Li #109307727 #CSE 310 #Discussion Board Server # Import modules from socket import * from threading import * from SocketServer import * import select import sys import json import time user_map = {} group_map = {} help_message = "List of Commands:\n\nlogin userId -- logs you in with specified user id\n\nhelp ...
[ "kevin.li.3@stonybrook.edu" ]
kevin.li.3@stonybrook.edu
87952ccd9a2eb59e81b8c92ef355b23f757f7304
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part004399.py
ecb633d07fd632fb4d5e0042ffa3c812f780ceff
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,364
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
b983f389701acfd5489d3c9da9f71715efa1d26f
fa0cc66c834563c4dbd82670057210a7f0dea1ae
/src/corpus_helper.py
f772482bcbcef685ad60bf56da369ce88a914762
[]
no_license
c3sr/TextStyleTransfer
c814e99c2f384512dd184074f4a9d01483387d80
de31a2fd2419567ccf0a00bcf6943c0a9a37341a
refs/heads/master
2022-11-12T08:02:42.587454
2019-05-27T01:14:33
2019-05-27T01:14:33
277,907,708
1
0
null
null
null
null
UTF-8
Python
false
false
9,354
py
""" corpus_helper 1. prepare corpus to .pkl 2. prepare vocab and embedidng for joint train corpus and transfer train corpus 3. tune embedding """ import pickle import numpy as np from params import * from collections import Counter import itertools import params import argparse import sys import os from gensim.models i...
[ "annfirst1111@gmail.com" ]
annfirst1111@gmail.com
63da4abf9140ef6028f7be93dad6d9462a3652ae
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20200414/codes/output/code081.py
b7717f8dce6a21d9f95ef23b3b3ed26b31bdeef3
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
200
py
import pygal chart = pygal.Line(stroke_style={'width': 5, 'dasharray': '3, 6', 'linecap': 'round', 'linejoin': 'round'}) chart.add('line', [.0002, .0005, .00035]) print(chart.render(is_unicode=True))
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
36d908b85fe76ee7c29e10788d87b2a9f57636a0
792669a3c82e91e3c9476b6a229dc95a82477460
/src/Citi.py
736e0ff551014141cc79756bf75ad25a18da77b1
[]
no_license
janick187/sp-handler
9d4fe75c088a86b392d40b3295295e91a0eeecdf
3434708cbb3494b426ef809f39eea0549264a492
refs/heads/main
2023-03-26T18:03:25.016722
2021-03-24T16:32:58
2021-03-24T16:32:58
344,126,761
0
0
null
null
null
null
UTF-8
Python
false
false
4,561
py
import csv from datetime import date, timedelta from .ApiSheetClient import ApiSheetClient import pandas as pd class CitiBankReader: def __init__(self, DDV_Mapping): self.EUSIPA_Mapping = { "1100 Uncapped Capital Protection": [], "1120 Capped Captial Protected": [], "...
[ "jasp150@hotmail.com" ]
jasp150@hotmail.com
41704a03c9c525e5742496757d48362c163126ef
26ae248d7f1ca16c51c4f34c1f67ef19be162a4e
/targAssign.py
5ac00997505f5b61d411830f332333dfd23ee9a2
[]
no_license
csayres/astro598
0d87373904da8419b90665fb84d747cf49830ef6
676b7ae9ae08fbeca48ded0c6f980892e907972f
refs/heads/master
2020-11-24T05:42:13.775053
2019-12-14T09:22:10
2019-12-14T09:22:10
227,990,176
0
0
null
null
null
null
UTF-8
Python
false
false
5,555
py
import time from multiprocessing import Pool, cpu_count import pickle import numpy import matplotlib.pyplot as plt from keras.models import Sequential, load_model from keras.layers import Dense from kaiju import RobotGrid, utils nHexDia = 7 xCoords, yCoords = utils.hexFromDia(nHexDia) nPositioners = len(xCoords) p...
[ "csayres@uw.edu" ]
csayres@uw.edu
1ce5faacc852cda7c6d90f36840a939909c50292
d691de479ef2f6516a1637d57e95f005a163406c
/Repo_Topic_Searcher.py
a0fec7edf45393b895f4db2aedd400edea515263
[]
no_license
aalrubaye/CodeQuality
b112b5278f2ab8b487a93b7cb1425fae4f3d3c13
caa2dff0ae280d2ac142ff6e61fa6297edff7a17
refs/heads/master
2023-09-01T14:23:28.737934
2021-11-03T11:27:03
2021-11-03T11:27:03
219,238,367
0
0
null
2021-03-13T20:13:20
2019-11-03T01:55:38
Python
UTF-8
Python
false
false
3,790
py
import json import pprint import time import urllib import urllib2 __author__ = 'Abduljaleel Al Rubaye' global api_call privateVar = open("privateVar.txt", 'r').read() client_id = privateVar.split('\n', 1)[0] client_secret = privateVar.split('\n', 1)[1] # fetch how many more calls we have for the hour def git_api_...
[ "aalrubaye2013@my.fit.edu" ]
aalrubaye2013@my.fit.edu
7252e934afab4893635e0084330431856f9fadf9
6bda9185f80072e6c72967673b8537eb7ead21d7
/IssuerGHAction/__init__.py
fd198e6c0e31263ab0ef709f03fb017aa058f6d5
[ "Unlicense" ]
permissive
wanghaisheng/claim-your-ideas
2923292374c388e690aea8bf096cb60254d5413d
ca5e1837b6773734274103d523202902879f64ae
refs/heads/master
2023-03-30T20:37:03.900490
2020-12-15T11:41:54
2021-04-04T21:14:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
#!/usr/bin/env python3 import typing from .utils import ClassDictMeta from .parsers import * from .linter import * from miniGHAPI.GitHubAPI import * from miniGHAPI.GHActionsEnv import *
[ "kolan_n@mail.ru" ]
kolan_n@mail.ru
2b5b147fd0ab404cd378d2b57cda206bc53c6ab4
1c6276c90ab97004e2435a539d011c5b9d08d134
/electrum/simple_config.py
83eec9befca8755f965b89e3090798660e730bf0
[ "MIT" ]
permissive
c4pt000/electrum-ravencoin-lite
020dedec4891293e9439f4692c0e5855466c249d
fe0f139a3708261467beb855700f56b5fbc7c2e9
refs/heads/main
2023-08-24T00:52:51.983733
2021-10-20T13:22:15
2021-10-20T13:22:15
406,919,123
0
1
null
null
null
null
UTF-8
Python
false
false
24,218
py
import json import threading import time import os import stat import ssl from decimal import Decimal from typing import Union, Optional from numbers import Real from copy import deepcopy from aiorpcx import NetAddress from . import util from . import constants from .util import base_units, base_unit_name_to_decimal_...
[ "you@example.com" ]
you@example.com
cbdf9c9684cb9d0972614f8882872b0155c40ce1
2f2d642fce76b94b9fc47a5f1ae9d6520ce3465e
/04.SRResNet/graph.py
9210cc4bee9f2771e9543806ffc82ba7dc3a66f5
[]
no_license
KotoriCANOE/MyTF
2c8b9f5ffb4ff882f254b78229a3ce8899b72b1e
4ad7f828e2946ff1378be773f45a6f1dbe70d646
refs/heads/master
2020-12-03T06:39:42.374436
2020-03-23T08:18:40
2020-03-23T08:18:40
95,713,660
4
0
null
null
null
null
UTF-8
Python
false
false
2,863
py
import os import numpy as np import tensorflow as tf from model import SRmodel # working directory print('Current working directory:\n {}\n'.format(os.getcwd())) # flags FLAGS = tf.app.flags.FLAGS # parameters tf.app.flags.DEFINE_string('postfix', '', """Postfix added to train_dir, te...
[ "sanma.kote@gmail.com" ]
sanma.kote@gmail.com
4736dd9a4f5a29a6be0bc6e57cf07feb4a6695b0
12ffde97db08a1d66fcee416a3aaf4607c153c50
/Longest Word in Dictionary.py
bd510e90e915b34ab63c9707d865e9864914f200
[]
no_license
Tsingzao/MyLeetCode
dc44ae5685bd6c8a62240394e8ae8dbfcec24301
421ea32d9fbe8d85479be6afa34881d1aa218ce3
refs/heads/master
2020-03-07T17:41:35.615720
2018-04-28T07:23:00
2018-04-28T07:23:00
127,617,953
2
0
null
null
null
null
UTF-8
Python
false
false
429
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 25 22:58:29 2018 @author: Tsingzao """ class Solution(object): def longestWord(self, words): """ :type words: List[str] :rtype: str """ ret, res = '', {''} for word in sorted(words): if word[:...
[ "noreply@github.com" ]
noreply@github.com
ee82737fbe0ee93c7e313446136484516ec43735
0cee08f3fe206f91e97f92b61e08d349090a5d50
/0x08-python-more_classes/5-rectangle.py
d7e5323ccbdaa2749f5fe20be532f2050728ac09
[]
no_license
jogden4195/holbertonschool-higher_level_programming
a8af83cf0906d8c82acc003c5f1ec1c2747007d7
e7d2d765a8481668f1023f228a513df812d0593f
refs/heads/master
2021-07-10T13:05:48.533397
2019-02-22T04:01:10
2019-02-22T04:01:10
148,196,642
0
0
null
null
null
null
UTF-8
Python
false
false
2,325
py
#!/usr/bin/python3 class Rectangle: """ Rectangle - Defines a rectangle""" def __init__(self, width=0, height=0): """ __init__ - initializes the rectangle Attributes: width: how wide the rectangle will be height: how tall the rectangle will be """ if typ...
[ "jennogden95@gmail.com" ]
jennogden95@gmail.com
403f0e4f49753a0aec4176cc3333a60bd7a59334
55ab64b67d8abc02907eb43a54ff6c326ded6b72
/scripts/addon_library/local/uvpackmaster3/overlay.py
9f6fb0255008525ae59e25abc9636f43e1684ffc
[ "MIT" ]
permissive
Tilapiatsu/blender-custom_config
2f03b0bb234c3b098d2830732296d199c91147d0
00e14fc190ebff66cf50ff911f25cf5ad3529f8f
refs/heads/master
2023-08-16T14:26:39.990840
2023-08-16T01:32:41
2023-08-16T01:32:41
161,249,779
6
2
MIT
2023-04-12T05:33:59
2018-12-10T23:25:14
Python
UTF-8
Python
false
false
6,194
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "tilapiatsu@hotmail.fr" ]
tilapiatsu@hotmail.fr
f87e6530149284f9b9889c038f839958e2bf75ba
a6bd3cc15e33db9b912ff70ca61439366f0e82e3
/module_name/__init__.py
3dddf8f31f5992599fbc4b01552dcaad1c03a01d
[]
no_license
puentesarrin/testing-travis
164185aaf92c9f84e364d5bab48fbb1b4892af8d
442bc6d2d35a60a39d839028afd4507a604a17c6
refs/heads/master
2016-09-06T05:40:10.659708
2013-02-12T05:26:27
2013-02-12T05:26:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
# -*- coding: utf-8 *-* class MyClassFromModule(object): def run(self): print 'bar'
[ "puentesarrin@gmail.com" ]
puentesarrin@gmail.com
2095c051c2500383cf14a94791a3b307b5a96b93
100f6c788e793fd611f0bb7470004536633b0ec3
/MiningMassiveDatasets/week1/solution/pagerank.py
abab27a99a6741fcfeffe80ac4bb02ad72c9484b
[]
no_license
ayinde07/MiningMassiveDatasets
3f44ba10233ac10f44865890df36de13166ce2ff
4e0d646880eec83f72b554a88f40d8c7fd341511
refs/heads/master
2020-12-03T02:01:39.568315
2015-02-05T14:48:22
2015-02-05T14:48:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
def pagerank(g, beta = 0.85, total = 3., iter = 5): N = len(g) # initial importance value prev = [total / N] * N cur = [0] * N out_degree = [0] * N for i in xrange(N): for j in xrange(N): if g[i][j] > 0: out_degree[j] += 1 print 'initial value of pag...
[ "manuel@blurgroup.com" ]
manuel@blurgroup.com
d5786b98beae5c55f7ec376d12469c5c84c3494d
15a10fc6afad8d0fef1a5f9f2ab67429743a9f25
/2D-Graphics/main.py
2b580da5304bad4768ebd236ccebb2023772128a
[]
no_license
Dekardt/OpengGL-2D-3D-Graphics
e905dae8503576194e1aee1b179b06d84f6d5d7a
e8382af09b9b11f5bfa3cbd268148ec1bd1e95a2
refs/heads/master
2023-04-12T03:22:46.883148
2021-04-24T20:42:03
2021-04-24T20:42:03
357,481,474
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from WindowMaster import WindowMaster if __name__ == "__main__": window = WindowMaster() window.startDrawing()
[ "sasha32083@gmail.com" ]
sasha32083@gmail.com
15661789294cfb80a0a966323296c2bf0e884ce9
f378516ada28357e47ad18c6da8cba23aa3738a7
/main/migrations/0001_initial.py
486fefbb3cf064560468331367f06a2d93ed5438
[]
no_license
janish1999/CompanySite
385c5e6406febe133fcea503124d6e58c933ae37
9bc208d8e3316773b9489ab0529535ce663dcd59
refs/heads/master
2020-06-10T21:59:40.058679
2019-07-01T18:01:50
2019-07-01T18:01:50
193,763,354
0
0
null
null
null
null
UTF-8
Python
false
false
4,329
py
# Generated by Django 2.2.2 on 2019-06-26 22:00 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import main.models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] oper...
[ "JSjanish.1999@gmail.com" ]
JSjanish.1999@gmail.com
6608b3b998332939c1bc00e165667a3d2beaac09
862f3389025650b4ddf46dbb675d380dacc784bf
/proj/proj4/tests/q3eii.py
918bfce3aaf03f209bc660678a6df55f463a3a3a
[]
no_license
argoc/sp21
7db5fbedcd84592bf6f557f7876ba0bdbe6bc552
23d31826e2a3bc4125a1e50125f1b99a8350647f
refs/heads/master
2023-05-02T00:09:33.776158
2021-04-26T02:25:14
2021-04-26T02:25:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
test = { 'name': 'q3eii', 'points': 1, 'suites': [ { 'cases': [{'code': '>>> len(q3eii_str) and ord(q3eii_str[0]) >= 65 and ord(q3eii_str[0]) <= 67\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', ...
[ "noreply@github.com" ]
noreply@github.com
122cd97077f8dcb8c462f18b09a038fa1375cdee
b902d93dd9e8fb41a3263a35be780d58db545876
/Aulas de Python/Módulos Avançados/Counter.py
bb13f2982a5e62b0588084d00702fb1ddc5ed223
[]
no_license
LuiMagno/Aulas-e-Exemplos
b947f45a58180c0803814cf3aec5fc8ab7360d9f
136006a6d79db4139aea4dd14d00d5cb6b3b3ce0
refs/heads/main
2023-01-13T17:03:28.684688
2020-11-16T20:22:49
2020-11-16T20:22:49
313,416,719
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
''' Coleções - Tratamento de Dados ''' from collections import Counter l = [1,2,3,1,2,3,1,2,3,1,2,3,1,2,3] print(Counter(l)) # Aqui criamos um objeto da classe counter que lista o número de vezes que tal elemento apareceu na minha lista print(Counter('asdadsasdasdasdasdasdasdada')) # Contando as vezes que letras apar...
[ "luicosta3@gmail.com" ]
luicosta3@gmail.com
e6fc1fd55f0892a883cfe68d29bd92168ab19101
d3fa3f00f20e82d419e31c731921941adc28f2cc
/Assignment 0/13.py
ee63842c9b914fd844f21598ba87369715c4e477
[]
no_license
shrddha-p-jain/Python
2d9c9073398b82fb38191a797290ef6fcfd3cea7
a8f278b8dac570b245e3b0bc1cee2d0e97b99d40
refs/heads/main
2023-06-20T22:47:15.221921
2021-08-03T04:44:05
2021-08-03T04:44:05
388,009,473
1
0
null
null
null
null
UTF-8
Python
false
false
254
py
s = input("enter a string: ") y = int(input("Position where you want to delete:")) if(y<0): print("Position must be positive") else: output = '' for i in range(len(s)): if(i!=y-1): output+=s[i] print(output)
[ "noreply@github.com" ]
noreply@github.com
45783c990f36da48c4c65a65e3fa08801a2f6114
b23d43ea9ccd45405c46af1cfc4f68ca496a899a
/main-with-repetitions.py
7f3a38ca0e9f357432e048444e09afa2c4bd13e6
[ "MIT" ]
permissive
leonardohcl/Basic-Neural-Network
fb85d881f63c1fd98f12bcd600e9a0586ac7e53f
bf7c9aa708e8fb6c05dcfde4e581ac4b62f5b7c3
refs/heads/master
2022-05-28T13:02:44.325581
2020-05-03T00:24:58
2020-05-03T00:24:58
260,799,344
0
0
null
null
null
null
UTF-8
Python
false
false
10,690
py
# encoding: utf-8 import numpy as np import matplotlib.pyplot as plt import random import wineMethods as wm import irisMethods as im import neuralNetworkMethods as nnm import os def printData(msg, save, file = None): print(msg) if file != None and save: file.write(str(msg) + '\n') dataset = 1 #0 - Iris | 1 - Wi...
[ "leonardohcl@hotmail.com" ]
leonardohcl@hotmail.com
f9c271d68be73c24b5c448ca5f92dc5a1a730a8f
8eef4bf304f6954724ada9b9c21864560e9bce71
/argxtract/core/function_evaluator.py
9e5ed12e7ec68e2e49099a2e873358933120ffa1
[]
no_license
CrackerCat/argXtract
d7de73b7e11686be54565fe4487de22e51f34a19
b101a9b08d442fe4258460afe952054bff25bb78
refs/heads/master
2023-08-14T11:10:39.112148
2021-10-04T11:17:00
2021-10-04T11:17:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,307
py
import os import sys import copy import logging from capstone import * from capstone.arm import * from argxtract.common import paths as common_paths from argxtract.core import utils from argxtract.core import consts from argxtract.core import binary_operations as binops from argxtract.common import objects as common_ob...
[ "project.btle@tutanota.com" ]
project.btle@tutanota.com
d48c291d8c04c22816ced37fbacce16d8f81230b
ad5150b31fb22e888604cdf644af26191b69be9d
/bin/easy_install
31d1494981bbd310157362b513d7aaa7175a22a9
[]
no_license
iansetliff/presto_changeo_ACCRE
6457a5400aba63263fce9223357bd5b41a84dc88
6fbec015860c788bab11a75de3800ad63e85a763
refs/heads/master
2021-01-20T20:41:32.944158
2016-06-22T23:11:29
2016-06-22T23:11:29
61,757,271
0
0
null
null
null
null
UTF-8
Python
false
false
350
#!/gpfs22/home/setlifm/repseqenv/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==22.0.5','console_scripts','easy_install' __requires__ = 'setuptools==22.0.5' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('setuptools==22.0.5', 'console_scri...
[ "ian.setliff@vanderbilt.edu" ]
ian.setliff@vanderbilt.edu
7a08037735251f82bbeb0a141dc986cc6be5b018
db9cc680a60997412eae035b257cc77efbcdcb06
/py3/leetcodeCN/tree/111. Minimum Depth of Binary Tree.py
32a79a0af7a51bccd7310bf7ea62463e9dd2d775
[]
no_license
Azson/machineLearning
9630b62c73b2388a57c630644dae3ffa8e4db236
35662ddf39d322009f074ce8981e5f5d27786819
refs/heads/master
2022-05-06T07:03:23.543355
2021-08-20T14:57:25
2021-08-20T14:57:25
179,935,258
3
3
null
2019-11-04T14:26:51
2019-04-07T08:07:08
Python
UTF-8
Python
false
false
482
py
#!/usr/bin/python # -*- coding: utf-8 -*- def minDepth(root): ls = [root] ans = 0 while len(ls) > 0: ans += 1 la = len(ls) for i in range(la): root = ls[i] if not (root.left and root.right): return ans+1 if root.left: ...
[ "240326315@qq.com" ]
240326315@qq.com
58efa655d1487cd5d3f26dbe92f3eb954bf9e877
ca42e62ce157095ace5fbaec0bf261a4fb13aa6a
/pyenv/lib/python3.6/site-packages/rest_framework/utils/serializer_helpers.py
4734332af888219ce4589dd089dcda9352ed0871
[ "Apache-2.0" ]
permissive
ronald-rgr/ai-chatbot-smartguide
58f1e7c76b00248923f5fe85f87c318b45e38836
c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf
refs/heads/master
2021-04-18T03:15:23.720397
2020-03-23T17:55:47
2020-03-23T17:55:47
249,500,344
0
0
Apache-2.0
2021-04-16T20:45:28
2020-03-23T17:35:37
Python
UTF-8
Python
false
false
4,617
py
from __future__ import unicode_literals import collections from collections import OrderedDict from django.utils.encoding import force_text from rest_framework.compat import unicode_to_repr class ReturnDict(OrderedDict): """ Return object from `serializer.data` for the `Serializer` class. Includes a ba...
[ "ronald.garcia@gmail.com" ]
ronald.garcia@gmail.com
d1fb9079a51fd3225ea3ed2667daf521896532d2
c4b1cb70d52fbf6a89d5ad5e7f93506b6cb1c584
/code string.py
3a8333c0b0078b6c3151de4f0eaa0dd6ee78537a
[]
no_license
AlienaAngel/Python-Courses-Stepic
04dffd536b4a5d30924d857bd62b7560aae71e4d
9d53f645cf5caec68e0a4fc937c9619c2b0e7212
refs/heads/master
2021-01-13T00:49:48.451487
2016-01-07T16:39:17
2016-01-07T16:39:17
48,948,891
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
s = input() c = s[0] sn = '' j = 0 i = 0 while i < len(s): c = s[i] while i<len(s) and s[i] == c: j+=1 i+=1 if j>0: sn =sn+c+str(j) j=0 print(sn)
[ "aliena-angel@yandex.ru" ]
aliena-angel@yandex.ru
6f2a13a6bb00079b173754c05738638fa1d762e7
d1faf905b29ede52c0ddfd99829df4acb50c55a2
/keystoneXXL/manage.py
ccfb5b3da3efae549fcb9eb2c3c7fb5e66f47d2c
[]
no_license
jlpcri/Hack-n-Stash
fe7d9045ef3810862be1325f466a56d9815c9d09
eb1a4005ec0b851a9907a9d0422a0032c127132d
refs/heads/master
2020-03-21T23:13:35.372602
2018-03-14T05:06:34
2018-03-14T05:06:34
139,173,927
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "keystoneXXL.settings.base") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Dja...
[ "caheyden@west.com" ]
caheyden@west.com
7eec55c02088c7bc81532e28d7df7b26ec9ad984
fb1e797601e9bb241c5cb0d4aecd98be33903e5a
/exercism/python/triangle/triangle_test.py
c4b7f7b0d0d0ac58ccfa85c9fad74d2c50dfe6bf
[]
no_license
nilsso/challenge-solutions
8b409b4665c62fdfda863e2706180ac8f2d4409c
5b837cac329a9948c5bc4e57baa7780161ee5f07
refs/heads/master
2021-06-28T22:02:19.462270
2020-08-17T20:52:32
2020-08-17T20:52:32
133,567,250
0
0
null
null
null
null
UTF-8
Python
false
false
2,471
py
import unittest from triangle import Triangle, TriangleError class TriangleTests(unittest.TestCase): def test_equilateral_triangles_have_equal_sides(self): self.assertEqual(Triangle(2, 2, 2).kind(), "equilateral") def test_larger_equilateral_triangles_also_have_equal_sides(self): self.assert...
[ "nilso@enosis.net" ]
nilso@enosis.net
26babeebf5c63a756fb959d76b3fac9a832e74f2
880f19c7b5bd2c7dd06056b01cf3f4612cd57691
/blog/urls.py
e16250063f7f7e70541e6654788cc4ba240dfed5
[]
no_license
mirfinisworking/my_django_blog_website
0a7e03571bd17878234e3d768dab220690522449
d08a5fb9dbae2da4c90073242a8187f9a580e882
refs/heads/master
2021-01-21T11:45:41.941507
2015-04-25T08:27:09
2015-04-25T08:27:09
34,334,278
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.conf.urls import patterns, url from blog import views urlpatterns = patterns('', url(r'^$', views.indexView.as_view(), name='index'), url(r'^(?P<pk>\d+)/$', views.detailView.as_view(), name='detail'), )
[ "mirfinisworking@gmail.com" ]
mirfinisworking@gmail.com
9e484b15c88d0bde693c3cc2535cf40b53bbc640
5a0122509b4e7e15e556460d261d9d8a1cee76ad
/repository/base/docattachments_pb.py
ddad9c7ef5a420750f8e46c2777173bcc3458696
[]
no_license
cash2one/BHWGoogleProject
cec4d5353f6ea83ecec0d0325747bed812283304
18ecee580e284705b642b88c8e9594535993fead
refs/heads/master
2020-12-25T20:42:08.612393
2013-04-13T14:01:37
2013-04-13T14:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,677
py
# This file automatically generated by protocol-compiler from repository/base/docattachments.proto # DO NOT EDIT! from google3.net.proto import ProtocolBuffer import array import thread from google3.net.proto import _net_proto___parse__python __pychecker__ = """maxreturns=0 maxbranches=0 no-callinit ...
[ "nojfouldshere@gmail.com" ]
nojfouldshere@gmail.com
a2a789e029e5d8792565308e1c952af60de654dd
71ecb97986224fdf94411f443d9c5b83ab3e1c0d
/tests/__init__.py
7f8a981475bb307ae7574c1472d13612b17464d1
[ "MIT" ]
permissive
qevo/py_file_helper
8ddabdf66fe49c37fc0e8ba11fbe0541b0e427f5
63162098c089757ffb747eda7d97b680edcff3b0
refs/heads/master
2021-01-03T13:19:45.529732
2015-09-13T16:21:36
2015-09-13T16:21:36
42,400,297
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
"""file_helper tests package Example: Run all tests from parent directory:: python -m tests Run module test:: python -m tests <module> python tests/<module.py> """ from SuiteHandler import SuiteHandler import manage, operation def run(sh, *args): sh.run_suite(*args) sh = Su...
[ "qevo@qevonics.net" ]
qevo@qevonics.net
6581711d6a4c030829ec7b03eb6558cac005f100
6bb4291e34598a83d1cd4631abd04ae00df5290b
/api/test/utils/test_utils.py
9b440e5c4479bc56943a720ec1d824546f1bb28c
[]
no_license
Frost-Lee/order_scheduling
f1f2e69bc142a81869f70697b79cb7f2664d6b2e
825456c1b9a95011fe3530a2fb449dffd40f5246
refs/heads/main
2023-01-12T12:27:45.182521
2020-11-16T06:06:13
2020-11-16T06:06:13
312,620,540
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
import unittest from scheduler.utils import utils class TestUtils(unittest.TestCase): def test_aggregate_tuples(self): with self.assertRaisesRegex(AssertionError, 'index out of range'): utils.aggregate_tuples([('a', 'b', 1)], [2, 3], 0) utils.aggregate_tuples([('a', 'b', 1)], [1, ...
[ "canchen.lee@gmail.com" ]
canchen.lee@gmail.com
347e8d7ed7f00dadf1ee6b570a369e261cf2cc01
5cd3f53ef45dc4b8ca4309d4fbc0995d27e6bfe8
/myapp/EMA.py
a95aece64b45455530f19e64c482dd809eb7638e
[]
no_license
Kober-L/Trading-signals-scanner
307a2b5d3c5d6bb32fe98ec557efb9342f37b900
cad593dacb7aba2c142fcfa1aff07eccaf29049f
refs/heads/main
2023-09-03T21:13:51.068974
2021-10-21T08:29:06
2021-10-21T08:29:06
419,636,444
1
3
null
null
null
null
UTF-8
Python
false
false
189
py
class EMA: def __init__(self, tycker, timeFrame, period): self.tycker = tycker self.timeFrame = timeFrame self.period = period self.sigName = 'EMA'
[ "noreply@github.com" ]
noreply@github.com
febdaae751915967a6fef3b5f718c6b4c230ab89
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/008_graph_algorithms/_exercises/templates/Cracking Coding Interviews - Mastering Algorithms/clone-graph-bfs.py
08c345f3dc7c721c8efea80633a287a2e51fb103
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,084
py
# c_ Node # ___ - val neighbors # ? ? # ? ? # # # Example Input: # # # 1 <---> 2 # # ^ ^ # # | | # # v v # # 4 <---> 3 # # # Example Output: # # # 1 <---> 2 # # ^ ^ # # | | # # v v # # 4 <---> 3 # # ___ clone node # queue _ # LIST # # visited _ # DICT # # ?.ap.. ? # # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f8043ca607bd6c00547faa0eba354f69d2981d17
9353aee50eb11a8f83eb47868d535bbe0fe40789
/run.py
f3e8b149eca90b50b9a63f7e4a7719af12bb2fdb
[ "MIT" ]
permissive
tonyguthiga/password-locker
693101d1fa1c16b451b552113ade94c0fbfcca34
19ccfa70e718d4a44eff24beab027be9df17d6a7
refs/heads/master
2022-11-28T01:43:08.515305
2020-07-24T13:30:48
2020-07-24T13:30:48
275,197,330
0
0
null
null
null
null
UTF-8
Python
false
false
5,380
py
#!/usr/bin/env python3.6 from password_locker import User, Credentials def create_user(user_name,password,email): ''' Function to create a new user ''' new_user = User(user_name,password,email) return new_user def save_users(user): ''' Function to save user ''' user.save_user() ...
[ "toniguthiga93@gmail.com" ]
toniguthiga93@gmail.com
acda8525dbaf54b923de85832d2f5c682c8c4086
dbd8a55f1d75579d12d8ae79cdaa675fa4ba176c
/CS131/hw2/hw2.py
6a08655ea61d65a0b9e23d685d204a26d5518736
[]
no_license
alekplay/schoolwork
22f2ef00b0516e3cce1a828393b530c64661406d
da337642a13792b610c77cfd7095efb2789230f1
refs/heads/master
2021-01-10T18:07:36.241167
2015-12-17T23:02:32
2015-12-17T23:02:32
34,144,523
1
3
null
null
null
null
UTF-8
Python
false
false
2,168
py
""" CS131 - Lapets Homework 2 Aleksander Skjoelsvik Contributors: """ # Task 1 (only 'and', 'not'): def oneA(x, y): return (not(not(x) and (y))) def oneB(x, y): return (not(not(x) and (y))) def oneC(x, y, z): return (not(not(not(x and y)) and not(z))) def oneD(w, x, y, z): return (not(not(x) and not(...
[ "alekplay@hotmail.com" ]
alekplay@hotmail.com
8001a4385902f7ae5dad46ce3fafd436014e4551
b40036c1c2930e2bd06ba4de70200620526eb78a
/情报魔方循环/行业分析/行业关键词排行循环脚本.py
5de8e7e14cf48d9909221a6d791e919451cb829a
[]
no_license
HOWRU1122/qbmf
9725fb789e5cfa0c0b0ec5aecdc0dc18d2386848
53580657193fc0f0d027c35c5e72d3c65f488f9f
refs/heads/master
2023-01-21T22:16:42.266585
2020-12-03T03:04:41
2020-12-03T03:04:41
263,857,558
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
# -*- encoding=utf8 -*- # !/usr/local/bin/python3.7 import os curpath = os.path.dirname(os.path.realpath("__file__")) apath = os.path.join(curpath, "/Users/yaokai/PycharmProjects/qingbaomofang/行业分析/行业关键词排行.py") print(apath) for i in range(1): os.system("python3 %s" % apath)
[ "1782211705@qq.com" ]
1782211705@qq.com
6709ff43c42cdd2f0bc676e5cd0a0bf272b9aae4
0e507b4ae9cf73581709405b8b5db62812938226
/env/lib/python2.7/fnmatch.py
5d187b57aa94cf4ee7285028031043c3ace7874c
[]
no_license
felipe-a-holanda/mm
94c0cfb52b160996a4d127f96f6548d7c425fd45
b7a9a4bdb954fb399dca23e6f0456d399b38524c
refs/heads/master
2022-12-05T07:19:44.881590
2013-09-28T01:13:28
2013-09-28T01:13:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
/home/flp9001/Python27/lib/python2.7/fnmatch.py
[ "flp9001@ras-thaoum.dreamhost.com" ]
flp9001@ras-thaoum.dreamhost.com
9798fc0e0de437cf190caabe7d3c144e896b34fb
4442c170f904b8c2b14be01604f27b19169e44c7
/natal_env/bin/f2py
242bffa76e1a95606226610567680095b466e1ec
[]
no_license
cchrysostomou/capstones
cd6ed514c97d77fa141ff6bc6366e95cd3ad9368
71e0194210361795b0944c428f8e180751226248
refs/heads/master
2020-09-03T07:20:01.393819
2019-11-19T14:49:12
2019-11-19T14:49:12
219,412,090
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/home/costas/Documents/github/capstones/natal_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from numpy.f2py.f2py2e import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "cchrysos1@gmail.com" ]
cchrysos1@gmail.com
d83b9553bf61c110de6e2aeaf48f6823f9479d7f
aa5ed760eaeb1b28f167410a4c9ee3043895fe9b
/configs/vaccum_retinanet.py
e3f8f231bfb4cbce15914952b15fca14db5ddeb7
[]
no_license
aiwithshekhar/gladiators
9d97d2433072e24d11403f95cc3c656c6f4706a3
354cd7feaaa950e57772b219f3cb141fe7e7a679
refs/heads/main
2023-06-16T16:22:07.642942
2021-07-11T12:52:00
2021-07-11T12:52:00
367,311,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
_base_ = [ '../mmdetection/configs/retinanet/retinanet_x101_64x4d_fpn_1x_coco.py', './vaccum_data.py', ] model = dict( pretrained=None, bbox_head=dict( type='RetinaHead', num_classes=4, in_channels=256, stacked_convs=4, feat_channels=256, a...
[ "sharma.shashank509@gmail.com" ]
sharma.shashank509@gmail.com
efe5890a232de5edee92bd9fb96a49a4d64f9a3a
1c699d8a4d399a3b9e3b6f8234130cb39dcbe5f1
/plot_help_slices.py
053f5baf114b766ccff9765b4c5add7dc965f993
[]
no_license
maluethi/laser_plot
393ff2a6c96018e2c3ec13d58ba90d17be9a0eac
835e07eb5085e8f959bc8e8790bb13437534750f
refs/heads/master
2021-07-08T05:25:30.460549
2018-06-01T14:31:21
2018-06-01T14:31:21
96,198,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import numpy as np from itertools import product, combinations def set_axes_equal(ax): '''Make axes of 3D plot have equal scale so that spheres appear as spheres, cubes as cubes, etc.. This is one possible solution to Matplotlib's ax....
[ "matthias.luethi@lhep.unibe.ch" ]
matthias.luethi@lhep.unibe.ch
10c531d351b9f906d127dd6e6aac5760cc250eae
ed61d03bc7e7b0094a208595b249632081da481a
/venv/lib/python2.7/site-packages/werkzeug/security.py
d4475b798a19bc6dce162233f871e0b9d455a8fa
[]
no_license
mananhora/personl-crm
833c0de597fe6a8042bd34996f5603e87f6a6488
b45db6ad7292f62f48d58b94489c734e605c581e
refs/heads/master
2021-03-24T11:28:24.331360
2018-09-09T18:41:40
2019-02-05T22:57:05
119,080,565
2
1
null
2018-08-20T05:58:55
2018-01-26T17:15:22
Python
UTF-8
Python
false
false
9,218
py
# -*- coding: utf-8 -*- """ werkzeug.security ~~~~~~~~~~~~~~~~~ Security related helpers such as secure password hashing tools. :copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ import os import hmac import hashlib import posi...
[ "horamanan@gmail.com" ]
horamanan@gmail.com
d26116c275356ff2aba62408f68241d52f932deb
193b28819f662faa025d79097ce8e7513451e4c9
/liana_extractor/leaf_wood_classifier.py
a72dc29f82eed26ed370e59a35623ba874e757b4
[]
no_license
sruthimoorthy/automated-liana-extraction
6222cae429010712333b396c62181e985774907a
5f57c8bde468d614ee1656b4addbc4d58ef30091
refs/heads/master
2022-12-10T05:24:01.820545
2022-12-07T11:41:59
2022-12-07T11:41:59
148,168,275
4
2
null
null
null
null
UTF-8
Python
false
false
1,049
py
from sklearn.cluster import KMeans import numpy as np def cluster_leaf_vs_wood(train_data, save_file): """ Simple clustering function that seprates leaf and wood into different clusters. If the plot has a lot of lianas it is advised to use classify_lianas function first and pass the non-liana segmente...
[ "noreply@github.com" ]
noreply@github.com
486140921bdefd70a51c334abbc4653f45f45993
7967b7652dcf580d54fa891f560cdc82f1f1ca14
/shell/tinkerforge.header
09cdc5c5ce8dc225a07e272d7c79c5c3a120185a
[]
no_license
chuangke365/tfgenerators
1c3a75b2a463697b54a7e618f36d36593835ba17
05d76d03b3499e0449b5ee65f93eab14186c2153
refs/heads/master
2020-12-29T02:47:11.043814
2015-03-19T16:27:01
2015-03-19T16:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,302
header
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2013-2014 Matthias Bolte <matthias@tinkerforge.com> # # Version <<VERSION>> # # Redistribution and use in source and binary forms of this file, # with or without modification, are permitted. See the Creative # Commons Zero (CC0 1.0) License for more details...
[ "matthias@tinkerforge.com" ]
matthias@tinkerforge.com
ad4c1fe38bf162b20148a4c1acae877ffad0b41e
4491892341ce1d6d5051697e4930c85351ad6bc6
/base/windowUi.py
f5e44e518ba687cffb28265eba2181d8e49c2641
[]
no_license
eknowles/steam-tools
ab14cc16ec7a6ab7bf458a59910fa3efd2791ec5
349daaf04f63104f1eff62fb4fc2fe4b40158eef
refs/heads/master
2016-08-03T19:44:08.029978
2012-04-25T09:14:24
2012-04-25T09:14:24
32,113,580
0
0
null
null
null
null
UTF-8
Python
false
false
69,085
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'scgui.ui' # # Created: Mon Apr 23 11:20:19 2012 # by: PyQt4 UI code generator 4.9 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 excep...
[ "eknowles9@gmail.com@a29f189a-909f-11de-bb70-8db92513eca4" ]
eknowles9@gmail.com@a29f189a-909f-11de-bb70-8db92513eca4
af6be97dc06c7d4f36600210fcf4c4982a063364
f0fdee6a9cc18f0ea67e8b1724c833df55c1170a
/tut06_default_method.py
27424cd2eef2b773c31b5b53bf212f81b56dde32
[]
no_license
SimonTite/skatolo
42bd894b14f3ad72658f876becc9a10906661eb1
566b996aec10520924e66bb67aea78ac346f782e
refs/heads/master
2016-09-10T20:11:46.393589
2009-06-21T00:31:41
2009-06-21T00:31:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
""" Tutorial - The default method Request handler objects can implement a method called "default" that is called when no other suitable method/object could be found. Essentially, if CherryPy2 can't find a matching request handler object for the given request URI, it will use the default method of the object located de...
[ "simon@tite.st" ]
simon@tite.st
0b03ba48ff915e6ecb5ab7af7fa96b1096f42070
29db323a23f05fb47cc8f6c7e6d09e8365fb6e8e
/LearningPrograms/Fibo.py
ba5230845c98324845b9d0717567d0eb5332354f
[]
no_license
ananiastnj/PythonLearnings
608b9a3d29e920b3482411503af8bd9ba1d78e20
6f624d89d65ae56eedfd25f60d94858dd2157ea7
refs/heads/master
2021-05-05T17:19:31.247266
2018-01-14T17:06:09
2018-01-14T17:06:09
117,449,677
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
def fib(n): result=[0] a,b=0,1 while b<n: a,b = b,a+b result.append(a) #print(result) return result
[ "ananiastnj@gmail.com" ]
ananiastnj@gmail.com
a9fea78acae2cdc5be48498245502ea068dd33d3
3df916bacd8ec1b304a998fb5d591e287f6232a5
/Django/Oauth/googleOauth/views.py
46adcf43ba1799854615fc6c568a00430e15f9bc
[ "MIT" ]
permissive
jugaldb/OAuth-Pro
a3905933befe57d4055fe55e6a21b40a84b44376
6f2c6443432e3fd460bda82d1973a43ed0065353
refs/heads/master
2023-01-04T23:41:47.417379
2020-10-23T16:08:14
2020-10-23T16:08:14
300,257,371
0
0
MIT
2020-10-23T16:08:16
2020-10-01T11:38:38
null
UTF-8
Python
false
false
750
py
from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter from dj_rest_auth.models import TokenModel from allauth.socialaccount.providers.o...
[ "hs2002singhal@gmail.com" ]
hs2002singhal@gmail.com
6d59c4e7894cdb1fc192db0a0c66b6af78a408dc
74739783dac9d8c16082db266451059dd0e65b6c
/solarforecastarbiter/io/reference_observations/tests/test_srml.py
47a6cb73875dfb1601dacefc94cde38db0c744ed
[ "MIT" ]
permissive
wholmgren/solarforecastarbiter-core
d39bfd47e3418c807491d0fa069942394c945c81
e692c7e142f24c0253e4288a6ac760e10ba41dbd
refs/heads/master
2022-01-20T18:36:00.022152
2020-10-22T20:39:35
2020-10-22T20:39:35
170,726,940
0
0
MIT
2022-01-11T18:20:05
2019-02-14T17:01:37
Python
UTF-8
Python
false
false
7,954
py
import datetime as dt import pandas as pd import pytest from urllib import error from pandas import Timestamp from pandas.testing import assert_frame_equal from solarforecastarbiter.io.reference_observations import srml from solarforecastarbiter.datamodel import Site test_site_dict = { "elevation": 595.0, "...
[ "noreply@github.com" ]
noreply@github.com
a80777a871d9539635a4e13543e35fe55d86461d
7f9a73533b3678f0e83dc559dee8a37474e2a289
/aws-serverless-for-deep-learning-first-steps-workshop/notebooks/deep-learning-inference/PIL/PixarImagePlugin.py
5ea32ba89be5253e3ad0e8349be1bdcb42bb2494
[ "MIT" ]
permissive
ryfeus/stepfunctions2processing
04a5e83ee9b74e029b79a3f19381ba6d9265fc48
0b74797402d39f4966cab278d9718bfaec3386c2
refs/heads/master
2022-10-08T16:20:55.459175
2022-09-09T05:54:47
2022-09-09T05:54:47
147,448,024
128
34
MIT
2022-01-04T18:56:47
2018-09-05T02:26:31
Python
UTF-8
Python
false
false
1,657
py
# # The Python Imaging Library. # $Id$ # # PIXAR raster support for PIL # # history: # 97-01-29 fl Created # # notes: # This is incomplete; it is based on a few samples created with # Photoshop 2.5 and 3.0, and a summary description provided by # Greg Coats <gcoats@labiris.er.usgs.gov>. Hop...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
076c5361b321dec4c40f27a6bcaae40a5b2d2e57
e811c41caa55559d3b482f26c31fcef02ec66138
/venv/Lib/site-packages/typed_ast/ast27.py
e11ebc20fa0017659085dcd93b58a00a972ffd12
[ "MIT" ]
permissive
1SouravGhosh/POC_REPO
929ea865d60a51597966ffcfc4a7a3a350a00f54
e486d9a1fe0e1215f24bac3aaf97517cda21a066
refs/heads/master
2022-11-01T09:53:56.443500
2019-02-17T16:21:48
2019-02-17T16:21:48
171,133,391
0
1
MIT
2022-10-22T04:17:54
2019-02-17T14:45:39
Python
UTF-8
Python
false
false
12,603
py
# -*- coding: utf-8 -*- """ ast27 ~~~ The `ast27` module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the current grammar looks like and al...
[ "1SouravGhosh@noreply.github.com" ]
1SouravGhosh@noreply.github.com
ea8f72a37588594d3881ecbe62617f136c7c6869
a0c782c69420f513bd2d0c0fcea896f732b05cb2
/account_bank_statement_advanced/res_partner_bank.py
5f1063e39f9b4a98c855f959b4764797ab92eb80
[]
no_license
SVQTQ/noviat-apps
8b5116287681fabcefc5d456786c16c717de54ab
57ec751ccd4a3e32798ec8851c3501e809c09f91
refs/heads/8.0
2020-04-08T19:55:06.699350
2015-07-29T14:34:22
2015-07-29T14:34:22
32,148,042
0
0
null
2015-07-29T14:34:22
2015-03-13T09:45:48
Gettext Catalog
UTF-8
Python
false
false
3,843
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # # Copyright (c) 2014-2015 Noviat nv/sa (www.noviat.com). # # This program is free software: you can redistribute it and/or modify # it under the terms of th...
[ "luc.demeyer@noviat.com" ]
luc.demeyer@noviat.com
35c427b806065c68a15b749c6a55af1b76e72c97
3287d2ead040cc28f4e7d38d7efa1617a8b979f9
/Assignment 2/knn.py
a3e66f69bd9c4299668b65ea19a22ed01cc44e7b
[]
no_license
deckheart/CS4210-Machine-Learning
a61cf6c16ba67939ffa3cd4da5f11965d3a869e5
1d9cbf42401ba87fd9723e1882d82cf87f9022d7
refs/heads/master
2023-04-17T04:33:21.563101
2021-05-08T08:24:29
2021-05-08T08:24:29
340,533,259
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
#------------------------------------------------------------------------- # AUTHOR: Dakota Eckheart # FILENAME: knn.py # SPECIFICATION: Find kth nearest neighbor and output LOO-CV error rate # FOR: CS 4210- Assignment #2 # TIME SPENT: 1 hour #-----------------------------------------------------------*/ #IMPO...
[ "deckheart@cpp.edu" ]
deckheart@cpp.edu
7a37a1e66f37c6bf445d10c10422cecc0c38226f
8d316928128480ec25a25ec58729756ad46f1f2c
/eliza.py
d1f06a514ea25dd08aefeaa60b9909b3f560174f
[]
no_license
stensaethf/Eliza-NLP
58af5d0829e1535a39e6bcc7ab9f09e76a4b79a8
69a32d9ff23c69cbaad18ed621e38694dc4a368b
refs/heads/master
2021-01-10T03:46:00.168182
2015-10-02T02:44:11
2015-10-02T02:44:11
43,532,795
0
0
null
null
null
null
UTF-8
Python
false
false
2,562
py
''' eliza.py Frederik Roenn Stensaeth & Phineas Callahan, 09.20.2015 A simply Python implementation of the famous Eliza program from 1966. Users can talk to Eliza and have Eliza respond. Eliza is only able to respond to certian things defined by the structure of the sentence. Additional responses added by authors: Q:...
[ "stensaethf@carleton.edu" ]
stensaethf@carleton.edu
df0082ad85d9d6628c27af8e0b0155265a5c393c
c2bf22b503e0720fdab6afc5aac956160453c2f3
/Python-print-chessboard/act001.py
6f5667f54cfd4c8626a0ea06af358d04d9b2b53b
[]
no_license
KinPeter/Udemy-and-other-courses
896ae4da90d8cd09554e55e2c3c284ded258f4a5
7a90262fafbebfc8aeffae2ee9f52b49ed0ccc6d
refs/heads/master
2022-08-28T23:29:12.840239
2022-08-10T17:31:53
2022-08-10T17:31:53
184,793,326
1
1
null
2020-03-14T16:04:31
2019-05-03T17:16:38
JavaScript
UTF-8
Python
false
false
483
py
def cls(): """ Clear the lines on the screen """ for ignore in range(100): print() my_str = 'Welcome to act001.py' cls() print(f'type: {type(my_str)}, value: \'{my_str}\', length: {len(my_str)}') for ch in my_str: print(f'char: {ch} - ASCII #: {ord(ch)}') # ord() returns the ascii code for...
[ "kinpeter85@gmail.com" ]
kinpeter85@gmail.com
ad998dd2173188232694daa398548b7d1fc5291c
57143025d7fa1bc3551498627ae09e6ffa02ce49
/analyse/migrations/0008_auto_20200213_1456.py
3b2862c6ec25c6154fded53dd9531c8a59240038
[]
no_license
gigabyte1020/DT11
b7e49761667143ca006b50c9274003b462ecf57e
ac8952bac9aa20303e728ed1255ee385975c03cb
refs/heads/master
2022-10-23T02:23:53.885752
2020-06-12T06:34:52
2020-06-12T06:34:52
271,474,241
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
# Generated by Django 3.0.2 on 2020-02-13 09:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('analyse', '0007_auto_20200213_1320'), ] operations = [ migrations.CreateModel( name='sgts', fields=[ ...
[ "gigabyte1020@gmail.com" ]
gigabyte1020@gmail.com
c53647806aab3ffd8372db581d7ccd3182557884
1165f5d2ba2aef61ee4f9859104edd1973dcf88d
/model/networks.py
03ec5b57bd9be2fb6e665630381d659254049642
[]
no_license
ZhaoyangLi-nju/Segmentation-pspnet
a564f9b862f3985ae8a88d5b25fad17651f9bac4
cd8e595be96757897f219f78ca5c89c3e5894f6d
refs/heads/master
2022-02-19T18:11:02.586074
2019-09-25T11:14:55
2019-09-25T11:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
56,029
py
import torch import torch.nn as nn import torch.nn.functional as F import torchvision.models as models from . import resnet as models from torch.nn import init from torchvision.models.resnet import resnet18 def init_weights(net, init_type='normal', gain=0.02): def init_func(m): classname = m.__class__.__...
[ "noreply@github.com" ]
noreply@github.com
a73d0b3b7097b02603bc76168d834c3f77b1e28e
68f3694291c0c4ce369b8ec742c6f9950818d1de
/utils/enhance.py
7c64ced3cd8efec9796709ba34926101bcba35d5
[]
no_license
HibikiJie/OCR
28b325dc36324f7347d325cdfe7a7b38129df608
7706cebdec9db61d8d3533cb07d13142771f2558
refs/heads/master
2023-03-16T08:27:43.040183
2021-03-09T01:06:37
2021-03-09T01:06:37
345,841,111
1
0
null
null
null
null
UTF-8
Python
false
false
6,505
py
from random import randint import random import numpy import cv2 import math def gauss_blur(image, max_level): """ 高斯模糊 :param image: 图片 :param max_level: 最大模糊等级 :return: """ level = randint(0, max_level) return cv2.blur(image, (level * 2 + 1, level * 2 + 1)) def sp_noise(image, prob...
[ "18908384271@163.com" ]
18908384271@163.com
cbb69a91ee6be1562c57094de5515967c74944d9
123d26781801473dc59d8be847dbac79d4b555df
/configs/swin/mask_rcnn_swin_tiny_patch4_window7_mstrain_480-800_adamw_3x_coco_fashion.py
8c91f897f95d7b08f2b9d121d6a71c791be11601
[ "Apache-2.0" ]
permissive
jireh-father/CBNetV2
c2ed5358a81dde7dff3b50614371afe6045553c0
0b62f8107d72691a02efb7c92fc6dfcf5d0d0262
refs/heads/main
2023-07-17T16:42:55.126767
2021-08-31T10:34:15
2021-08-31T10:34:15
398,468,051
0
0
Apache-2.0
2021-08-21T04:47:14
2021-08-21T04:47:14
null
UTF-8
Python
false
false
3,037
py
_base_ = [ '../_base_/models/mask_rcnn_swin_fpn_fashion.py', '../_base_/datasets/coco_instance_fashion.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( backbone=dict( embed_dim=96, depths=[2, 2, 6, 2], num_heads=[3, 6, 12, 24], wi...
[ "seoilgun@gmail.com" ]
seoilgun@gmail.com
bf71d1dcd4cf76f0820ee3c0061ec57c6f07ff71
4f961f2fab23f91ffa7c5ad12d9503969f0f444d
/curso_1/venv/lib/python3.7/_dummy_thread.py
a538f401b5c14bd5c21db1ea1f6ee9ea49d958ed
[]
no_license
Rafaelcvo/curso_flask
8320b88009b50e29bbd190bcf9f942a9ccc2ba1e
c0dda31263f08aad23fa220b660ffab9e84665c6
refs/heads/master
2022-07-19T03:32:17.861711
2022-07-02T01:25:10
2022-07-02T01:25:10
229,645,256
0
0
null
2021-03-20T02:33:20
2019-12-22T23:38:36
Python
UTF-8
Python
false
false
50
py
/home/not/anaconda3/lib/python3.7/_dummy_thread.py
[ "rafaelmoreiracvo@gmail.com" ]
rafaelmoreiracvo@gmail.com
de85a666b2365cfb428d808476cc837ab987a363
ef2db4bbe7f806d4a566db4dd31279edec79d0d3
/mysite/polls/urls.py
e29dc4aaefbd175cf7a697e037296d3f963440c1
[]
no_license
YangSemo/DjangoFranchise
b08dff2d64d22daa54536c06f1fde8f7494c5e1d
c80fde827ef16440cb789ed85f4d1d3fc4acb428
refs/heads/main
2023-04-25T04:47:33.292459
2021-05-16T13:29:27
2021-05-16T13:29:27
367,887,538
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
from django.urls import path from . import views app_name = 'polls' urlpatterns = [ path('', views.IndexView.as_view(), name='index'), path('<int:pk>/', views.DetailView.as_view(), name='detail'), path('<int:pk>/results', views.ResultsView.as_view(), name='results'), path('<int:question_id>/vote', vi...
[ "tpah20@gmail.com" ]
tpah20@gmail.com
698292faf909a3f5cc847e85238d79d263e72eab
2200291ae0d189330a2e19bbb960f5816a829494
/tdd/bin/pycodestyle
e8b635610f5df6801631090a74c072a68bcc262b
[]
no_license
spyton/TDD
3662ba80cbc13764575c886487d94df47644eadb
e8c3c74e346f20e380e0ad43412cb8fb1150529a
refs/heads/master
2020-03-26T20:12:47.204742
2018-12-17T18:32:50
2018-12-17T18:32:50
145,310,932
0
0
null
null
null
null
UTF-8
Python
false
false
252
#!/Users/yang/Desktop/Devops/Github/TDD/tdd/bin/python # -*- coding: utf-8 -*- import re import sys from pycodestyle import _main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(_main())
[ "shiyangfrance@hotmail.com" ]
shiyangfrance@hotmail.com