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
42a62da8e1d51a7a3b3e573cdd0c1b6b3f423315
80afa26ba73b53f38e3fc21bf395030762fe8981
/576. Out of Boundary Paths.py
5481266d25818462836a2c72949c9f604ad39dc5
[]
no_license
iamshivamgoswami/Random-DSA-Questions
45b402063dbd2e31da2eee7590b6991aa624637d
e36250d08cf0de59cd0a59b4f3293e55793b1a6f
refs/heads/main
2023-07-15T15:48:36.363321
2021-08-26T03:40:47
2021-08-26T03:40:47
392,702,686
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
class Solution: def findPaths(self, m: int, n: int, maxMove: int, i: int, j: int) -> int: d = {} def dfs(N, i, j): if (i, j, N) in d: return d[(i, j, N)] if i == m or i < 0 or j == n or j < 0: return 1 if N == 0: ...
[ "shivamgoswami12@gmail.com" ]
shivamgoswami12@gmail.com
0e65583a2f3733544f9d2a193e93f68be851c9df
4b2c5fe21ffcc35837bba06d2c3b43c5116f74bd
/Blackjack.py
8d5c04a77bb98a1ca5b4be7994bed8812a47cdf5
[]
no_license
joydas65/Codeforces-Problems
8870cbbf1db9fa12b961cee7aaef60960af714ae
eb0f5877d0fede95af18694278029add7385973d
refs/heads/master
2023-06-23T07:16:49.151676
2023-06-17T07:28:24
2023-06-17T07:28:24
184,123,514
5
1
null
2020-11-28T07:28:03
2019-04-29T18:33:23
Python
UTF-8
Python
false
false
150
py
n = int(input()) if n <= 10 or n > 21: print(0) elif (n >= 11 and n <= 19) or n == 21: print(4) else: print(15)
[ "noreply@github.com" ]
joydas65.noreply@github.com
60b4b7f8ae3624a487bdf78b9ff1449db7aa2e84
9fdff458f1e20321aaa70d4669eeacb9423c9f36
/multi/train/train_sources_weights_loop.py
c928b2c8a1b372db96c7899e0a3cd85c0df91aa4
[]
no_license
leemengwei/GNRX
11639716f220f4721e521998ff282ee40ca50275
80c5b78826187a519588af3d8c71fb40ba7b94fe
refs/heads/main
2023-04-01T00:34:12.638628
2021-03-29T05:02:03
2021-03-29T05:02:03
352,524,033
0
0
null
null
null
null
UTF-8
Python
false
false
23,721
py
# python train_sources_weights_loop.py -A import config import datetime import pandas as pd import numpy as np import os,sys import matplotlib.pyplot as plt import shutil import argparse from xgboost.sklearn import XGBRegressor from sklearn.linear_model import LinearRegression, LassoCV, Ridge, Lasso from sklearn.neur...
[ "1099366685@qq.com" ]
1099366685@qq.com
4a3bb92e0a9b95c1fc10eb9db2fd34e8f5cdcb8d
1669bf106be7e4e88ad957aa1f0a708a49f9ef87
/first_website/setup.py
d87bfe260f13a957af9d07c566ab6284fad70c61
[]
no_license
genzj/python-fundamentals-course
280166037bb6ff25e2400fa3b281de153824c622
31218a42c609d923b3ae0c7d785b9dc02c0d9a6e
refs/heads/master
2023-01-09T22:13:04.040355
2021-03-20T02:33:18
2021-03-20T02:33:18
218,776,587
2
2
null
2022-12-26T20:59:32
2019-10-31T13:47:43
Python
UTF-8
Python
false
false
1,512
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ ] setup_requirements = [ ] test_re...
[ "zj0512@gmail.com" ]
zj0512@gmail.com
93af8f67f99cacadec773970d6e4593f6c1b339e
dd098f8a93f787e38676283679bb39a290ba28b4
/samples/openapi3/client/3_0_3_unit_test/python-experimental/test/test_paths/test_response_body_post_maxlength_validation_response_body_for_content_types/test_post.py
b5ee61f9396dd84fdab727dd1f5cee04e4b0aa0f
[ "Apache-2.0" ]
permissive
InfoSec812/openapi-generator
727c0235d3bad9b85ac12068808f844287af6003
e0c72702c3d5dae2a627a2926f0cddeedca61e32
refs/heads/master
2022-10-22T00:31:33.318867
2022-08-20T14:10:31
2022-08-20T14:10:31
152,479,633
1
0
Apache-2.0
2023-09-04T23:34:09
2018-10-10T19:38:43
Java
UTF-8
Python
false
false
7,073
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ import unittest from unittest.mock import patch import urllib3 import unit_test_api from unit_test_api.paths.response_body_post_maxlength_validation_response_body_for_content_types import post # noqa: E501 from unit_test_api import configur...
[ "noreply@github.com" ]
InfoSec812.noreply@github.com
38801dbfe2808511d05323af89e49be9254d06bd
40b5c4a77be465b47fe6fd7ff408db957261cc7f
/python-spake2-0.7/setup.py
c6365b7a7fcc9b95f11fa6dfb09513fabbc2ab8f
[ "MIT" ]
permissive
warner/spake2-interop-server
7c1f0502a93615d2e2b5b7a323731a7e20040f86
b3f2ae42971e4217d9f503bb672b2d9288225acc
refs/heads/master
2021-01-25T11:27:45.696023
2017-06-10T22:15:15
2017-06-10T22:15:15
93,924,508
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
"A server that performs SPAKE2 operations, for interoperability testing." # Install this, then run "twist spake2_interop" and hit http://HOST:8705/ from setuptools import setup import versioneer setup( name="spake2-interop-python-spake2-0.7", version=versioneer.get_version(), author="Brian Warner", a...
[ "warner@lothar.com" ]
warner@lothar.com
9fa28da8427b89b3d954bdd756fd2ebcba4686a1
83048ab1abb6941ed0b19fb5e5ff4a9d14b48e8c
/CODEFORCES/two_teams.py
7d256d350d953f576fe903bf8811b7a18f57716a
[]
no_license
harshitalpha/Algorithms
ebad07cc77516ab5c35ae414462d10a38d5ef97e
2f7dcf4c3bb4390267231c7c96f7e76399c0166e
refs/heads/master
2021-07-14T17:34:02.546583
2020-06-25T06:38:39
2020-06-25T06:38:39
178,813,562
2
0
null
null
null
null
UTF-8
Python
false
false
693
py
t = int(input()) while(t): t = t - 1 n = int(input()) a = [int(s) for s in input().split()] d = {} for i in a: try: d[i] += 1 except KeyError: d[i] = 1 max_size = d[a[0]] ele_in_sec_arr = a[0] for i in d.keys(): if d[i] > max_size: ...
[ "harshitsinghal1103@gmail.com" ]
harshitsinghal1103@gmail.com
b67ec65da5b89ee26ecfac71462afdedf4ad07d3
a72f39b82966cd6e2a3673851433ce7db550429a
/configs/_base_/models/lxmert/lxmert_vqa_config.py
781219951d7cd25d348c58e16f382837a1dcbeaf
[ "Apache-2.0" ]
permissive
linxi1158/iMIX
85841d6b95e1d99ed421a1ac3667658e49cae6fc
af87a17275f02c94932bb2e29f132a84db812002
refs/heads/master
2023-06-09T23:37:46.534031
2021-06-30T12:09:42
2021-06-30T12:09:42
381,608,650
0
0
Apache-2.0
2021-06-30T07:08:40
2021-06-30T07:08:39
null
UTF-8
Python
false
false
1,753
py
# model settings model = dict( type='LXMERT', params=dict( random_initialize=False, num_labels=3129, # BertConfig vocab_size=30522, hidden_size=768, num_hidden_layers=12, num_attention_heads=12, intermediate_size=3072, hidden_act='gelu', ...
[ "hsslab.inspur@gmail.com" ]
hsslab.inspur@gmail.com
8626edcebc5d57619798aec921223388d499ef0b
f77327128a8da9702ae3443e2171bc7485ceb915
/cadence/items.py
08b1b50b16175e30c34717833ce6af94ae712ed4
[]
no_license
SimeonYS/cadence
0eeba6a54c03ffb2d55466f9d8de6f1b1662002f
cdaef13c85a03e031a0050c89c17249cd7d83125
refs/heads/main
2023-03-31T08:24:41.408507
2021-03-31T10:14:01
2021-03-31T10:14:01
353,312,955
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
import scrapy class CadenceItem(scrapy.Item): title = scrapy.Field() content = scrapy.Field() date = scrapy.Field() link = scrapy.Field()
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
17602e35cc61bc0f7fc211873d8f4e8f3498781a
4ca44b7bdb470fcbbd60c2868706dbd42b1984c9
/20.12.14/BOJ_20056.py
d156e0cef3cfd5583ae7fcf2a95e7de4fd8f8efa
[]
no_license
titiman1013/Algorithm
3b3d14b3e2f0cbc4859029eb73ad959ec8778629
8a67e36931c42422779a4c90859b665ee468255b
refs/heads/master
2023-06-29T17:04:40.015311
2021-07-06T01:37:29
2021-07-06T01:37:29
242,510,483
2
0
null
null
null
null
UTF-8
Python
false
false
3,827
py
import sys; sys.stdin = open('text1.txt', 'r') # solve test1 # dx = [-1, -1, 0, 1, 1, 1, 0, -1] # dy = [0, 1, 1, 1, 0, -1, -1, -1] # def move_fireball(x, y, m, s, d): # for _ in range(s): # nx = x + dx[d] # ny = y + dy[d] # if 0 <= nx < N and 0 <= ny < N: # x, y = nx, ny # ...
[ "hyunsukr1013@gmail.com" ]
hyunsukr1013@gmail.com
16f4f84a799fbad2d4951affd28a3893ee356839
a667b52cb8d2ec857c55d33f04fc0e81d36dc681
/options/data/mc/pipipi0_DecProdCut_PHSP_2012_MC_2012_Beam4000GeV-2012-MagUp-Nu2.5-Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco14a_Stripping20r0p2NoPrescalingFlagged_27163403_ALLSTREAMS.DST.py
befddb5e34f37022361b1b2ddd67efe8ea3fa6bd
[]
no_license
wenyanyin/CP_violation_simulation
639d73333a3795654275cb43cc7dad7c742d1be1
7b93b2fe1050fb30d0b809b758cd5a3b2824b875
refs/heads/master
2022-04-29T14:19:23.744004
2022-04-01T13:05:18
2022-04-01T13:05:18
168,570,282
0
0
null
null
null
null
UTF-8
Python
false
false
3,745
py
# lb-run LHCbDirac/prod dirac-bookkeeping-get-files -B /MC/2012/Beam4000GeV-2012-MagUp-Nu2.5-Pythia8/Sim08e/Digi13/Trig0x409f0045/Reco14a/Stripping20r0p2NoPrescalingFlagged/27163403/ALLSTREAMS.DST from Gaudi.Configuration import * from GaudiConf import IOHelper IOHelper('ROOT').inputFiles( ['LFN:/lhcb/MC/2012/ALLSTREA...
[ "Michael.Alexander@glasgow.ac.uk" ]
Michael.Alexander@glasgow.ac.uk
f6aff156beb68f479d76392ed5097e84546ed4e6
764a157c1ef369664144a112f390165809c37861
/apps/app/views.py
75a6c7124d899b9dae8673fed292fa32dbe61aff
[]
no_license
Maliaotw/gogoweb
b044678b0a34c2748267c8f8ac1f6af91d42bcd0
aad84f11163e62716a239972436eb92e7cc601d0
refs/heads/main
2023-07-07T19:46:37.470811
2021-08-31T15:01:58
2021-08-31T15:01:58
341,254,107
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from django.shortcuts import render from apps.app import models from apps.app import serializers from rest_framework import viewsets from rest_framework.pagination import LimitOffsetPagination from rest_framework.views import APIView, Response from rest_framework import status # Create your views here. class TaskMode...
[ "MaliaoTW@gmail.com" ]
MaliaoTW@gmail.com
50482a45f14d167f9dd6e9fc7d00d93c3fcaad60
5b93930ce8280b3cbc7d6b955df0bfc5504ee99c
/nodes/Geron17Hands/B_PartI/H_Chapter8/C_PCA/D_UsingScikitLearn/index.py
f3808ea9cd7e1c90a935491935c7d8dd01be2ef0
[]
no_license
nimra/module_gen
8749c8d29beb700cac57132232861eba4eb82331
2e0a4452548af4fefd4cb30ab9d08d7662122cf4
refs/heads/master
2022-03-04T09:35:12.443651
2019-10-26T04:40:49
2019-10-26T04:40:49
213,980,247
0
1
null
null
null
null
UTF-8
Python
false
false
3,414
py
# Lawrence McAfee # ~~~~~~~~ import ~~~~~~~~ from modules.node.HierNode import HierNode from modules.node.LeafNode import LeafNode from modules.node.Stage import Stage from modules.node.block.CodeBlock import CodeBlock as cbk from modules.node.block.HierBlock import HierBlock as hbk from modules.node.block.ImageBlock ...
[ "lawrence.mcafee@gmail.com" ]
lawrence.mcafee@gmail.com
cb50337db2d8006a698aab101b52e25241b61b67
292437b85108504a7ca91571f26a639a313501b6
/venv2/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/token.py
6a5d15b281e8931b3199251c3a6ea2c8f77eef3e
[]
no_license
heekof/monitoring-agent
c86bebcf77091490df7a6b8c881b85fdb2b9e4eb
b1c079efdf2dabe854f2aa3d96f36d2ec7021070
refs/heads/master
2021-01-15T15:39:01.512801
2016-08-31T20:53:38
2016-08-31T20:53:38
58,620,098
1
0
null
null
null
null
UTF-8
Python
false
false
1,656
py
# 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 writing, software # distributed under t...
[ "bendriss-jaafar@live.fr" ]
bendriss-jaafar@live.fr
867b3f98c1c1451d19180642f61929115b3606d1
d4f4bff5d4412abbb73ce534fae0c87ea9a62362
/model/boarding2/unassigned_integration_settings.py
fdc774918694894dc6fb81064c5daafc67d14b5a
[]
no_license
icorso/wn_api
4f023905bcf83fd19eb7826191a6fcf66345e38f
b7e558b30d57b62ed3333cbfb7a9359bf954e320
refs/heads/master
2023-05-25T11:05:02.203211
2021-05-22T15:10:57
2021-05-22T15:10:57
366,672,359
1
0
null
null
null
null
UTF-8
Python
false
false
10,171
py
# coding: utf-8 from model.serializable import SwaggerSerializable class UnassignedIntegrationSettings(SwaggerSerializable): swagger_types = { 'enable_background_validation': 'bool', 'background_validation_url': 'str', 'receipt_page_url': 'str', 'enable_additional_field_xml_respon...
[ "icorso@yandex.ru" ]
icorso@yandex.ru
64a694d6c95f4ea237880b1e4abbce5a36e03343
a8b37bd399dd0bad27d3abd386ace85a6b70ef28
/airbyte-integrations/connectors/destination-weaviate/destination_weaviate/client.py
3ba83b2a4a53a92af1f8413bd85c69ca41b056c9
[ "MIT", "LicenseRef-scancode-free-unknown", "Elastic-2.0" ]
permissive
thomas-vl/airbyte
5da2ba9d189ba0b202feb952cadfb550c5050871
258a8eb683634a9f9b7821c9a92d1b70c5389a10
refs/heads/master
2023-09-01T17:49:23.761569
2023-08-25T13:13:11
2023-08-25T13:13:11
327,604,451
1
0
MIT
2021-01-07T12:24:20
2021-01-07T12:24:19
null
UTF-8
Python
false
false
6,094
py
# # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # import json import logging import time import uuid from dataclasses import dataclass from typing import Any, List, Mapping, MutableMapping import weaviate from .utils import generate_id, parse_id_schema, parse_vectors, stream_to_class_name @dataclass cla...
[ "noreply@github.com" ]
thomas-vl.noreply@github.com
3e95f067fba14f5bd1ebdb04147f9f4ed532c262
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/60d6f99657e4479ab9beda33d53f774e.py
3a8da1104c746329450661a00dc2b7bf64a87b09
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
227
py
#test def hey(string): if string.isupper(): return 'Whoa, chill out!' elif len(string) > 0 and string[-1] == '?': return 'Sure.' elif len(string.strip()) == 0: return 'Fine. Be that way!' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
80f8c431d1b474ac08e8b673e9393bc4a84c4003
fed18966525169edf96e6178e36c6fb5ab5bfe5c
/easyTools/print_zh.py
d75657157b6f737a0b168fdf91a3fe9c5d45d5e0
[]
no_license
huashuolee/borqs_stress
cef50c37b0dc0abdfcecd4f5de90925a61e53e88
e3375b1032ec5a0dc625dc04c4924192ffc90f26
refs/heads/master
2021-01-19T01:37:11.626225
2019-07-12T13:21:25
2019-07-12T13:21:25
11,167,198
0
1
null
null
null
null
UTF-8
Python
false
false
62
py
import os import sys print sys.argv[1] os.mkdir(sys.argv[1])
[ "huashuolee@gmail.com" ]
huashuolee@gmail.com
bf64c9862aa6fd295ce0cc911835562fde0bac8f
55fc41d645e2f2cb4e94eaeb01c21a8f36b522e3
/data_processing/split_dataset.py
b6b410c63593ed0c4727101c19b45e3069e4d2bb
[]
no_license
andreiqv/pytorch_scale_classifier
6c4515127ee9ad182242cc429326ed99984c2398
9448690ab0a2c5e9ec4c235ff85360be22572949
refs/heads/master
2020-04-04T17:34:27.169290
2018-11-08T09:24:35
2018-11-08T09:24:35
156,126,083
0
0
null
null
null
null
UTF-8
Python
false
false
2,137
py
import os import sys import random if os.path.exists('.local'): src_dir = '/w/WORK/ineru/06_scales/_dataset/copy/' dst_dir = '/w/WORK/ineru/06_scales/_dataset/splited/' else: src_dir = '/home/andrei/Data/Datasets/Scales/classifier_dataset_181018/' dst_dir = '/home/andrei/Data/Datasets/Scales/splited/' parts = ['t...
[ "phxv@mail.ru" ]
phxv@mail.ru
455d14cf9f53cdf563bf65094e78b103076f2743
7922714a4fd81acd2dac3875d2dd75a2bf24ef5e
/handlers/inlines/search.py
57caa66a47de26c22dcbb842b488ae9e5bcde09f
[ "MIT" ]
permissive
hexatester/ut-telegram-bot
32bf9a20ffaf82a5b6f1420d6bb041249ff93d6c
20f6f063726913cb6d21e42538103e3498b929a7
refs/heads/master
2023-01-20T06:50:30.941786
2020-11-18T08:31:03
2020-11-18T08:31:03
290,542,370
0
0
MIT
2020-09-16T03:09:47
2020-08-26T16:02:02
Python
UTF-8
Python
false
false
1,141
py
from telegram import Update, InlineQuery, InlineQueryResult from telegram.ext import CallbackContext from typing import List from core.utils.inline_query import article from libs.rss.rss import Rss from libs.search.search import Search RSS = Rss() SEARCH = Search() EMPTY = article( title="❌ Tidak ada hasil", d...
[ "revolusi147id@gmail.com" ]
revolusi147id@gmail.com
8f8c577a98fec3fb5d6a1d25c2d0f8350c64abb4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2311/60829/306892.py
9a645be64e8410c702a8a8169df2d59fed3ed6d4
[]
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
358
py
def dl(x): res="" for i in range(len(x)): if not x[len(x)-1-i]==" ": break res=x[0:i+1] return res a=[] b=[int(x) for x in dl(input()).split(" ")] c=[int(x) for x in dl(input()).split(" ")] a.append(b) a.append(c) aa=[[[10], [8]]] bb=["0 4 0 20 0 12 0 "] for i in range(len(aa)): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
c7f523807f996cae2f07692c4918cebcb18a824f
b37fdefb01d7b93a4f56a7c7cc60f9f78549de4c
/DI_Bootcamp/Week_9/Day_1/Exercise_XP/film_project_root/account_app/views.py
15d82374b6660e2d3071afe8839fff8d9102006d
[]
no_license
AchimGoral/DI_Bootcamp
e7b13d7397ab5c9e5ad8041430c8bfbafec13c88
9345731503e2bb298bd3a579ffad590350f13df5
refs/heads/main
2023-04-18T20:06:45.631067
2021-05-01T08:08:45
2021-05-01T08:08:45
328,769,128
0
1
null
2021-01-27T14:30:09
2021-01-11T19:24:48
HTML
UTF-8
Python
false
false
2,040
py
from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth.models import User from django.contrib import messages from .models import * from .forms import * def sign_up(request): if request.method == 'POST': form = RegistrationForm(req...
[ "achimgoral.il@gmail.com" ]
achimgoral.il@gmail.com
4f445597c5ac30039c0f3c3333dae8b68184c0c5
9c862bb7f9ac093a9bcf17d9060389dbbb8b655b
/examples/instrumentation/19_show_window_tree.py
3f1c33ed09182131494b8863549ee7626b2aad1c
[]
no_license
fabioz/winappdbg
24917ce29a90a08e890e8cd7d44feaad22daf0c4
1603870dc3fa3d2984ef23b6d77e400fb0a21b99
refs/heads/master
2023-08-02T07:40:10.496090
2020-04-22T15:18:42
2020-04-22T15:18:42
23,669,656
2
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
#!~/.wine/drive_c/Python25/python.exe # -*- coding: utf-8 -*- # Copyright (c) 2009-2014, Mario Vilas # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source c...
[ "mvilas@gmail.com" ]
mvilas@gmail.com
dfd2e20af52b997ca2c30f3e5abe74095b8ad76b
e5d5fa28999bcc6c642bb42dda93afd38e272b81
/UVA/531 - Compromise/generate.py
6dee0d625c29b89113c0412c8f3c2aec4602f471
[]
no_license
chiahsun/problem_solving
cd3105969983d16d3d5d416d4a0d5797d4b58e91
559fafa92dd5516058bdcea82a438eadf5aa1ede
refs/heads/master
2023-02-05T06:11:27.536617
2023-01-26T10:51:23
2023-01-26T10:51:23
30,732,382
3
0
null
null
null
null
UTF-8
Python
false
false
221
py
import random; import string; random.seed(0); def generate_seq(n_char = 100): for _ in range(n_char): print(random.choice(string.ascii_lowercase), end=' '); print('\n#'); generate_seq(); generate_seq();
[ "chiahsun0814@gmail.com" ]
chiahsun0814@gmail.com
98ecdbfc8fd401271a92625f86f3b760770d1b20
5066d38ad1a808fb6e849780f259c29e58495af0
/ville.py
dc13449cdfb6980690cda49e09caa4ac2a19f1a4
[]
no_license
Khopa/pyglet-taxi
301b1075f695727f6b598fe9dd08b6e08455433f
6d94ec9ff2c53a24089cd7f008d8a7bf8bfb8b72
refs/heads/master
2016-08-12T19:24:27.208530
2016-02-07T13:59:01
2016-02-07T13:59:01
51,248,853
1
0
null
null
null
null
ISO-8859-1
Python
false
false
8,884
py
# -*- coding: cp1252 -*- import pyglet from pyglet.gl import * from config import * import random from pieton import * from client import * import charge_ville import time import primitives as prims import display_list as disp ville = charge_ville.MATRICE_VILLE class Ville: """ Classe pour representer la V...
[ "clemguip@gmail.com" ]
clemguip@gmail.com
1e4d8f144546bb2e1eeb8157dd23da79dbb06467
897cb969990a5ae319547fd572a262d58a1e33a8
/JEC_Plotter/python/utilities/plot/flavor_fractions.py
a1986ca608672c79d5104191d741376aa0415eaf
[]
no_license
KIT-CMS/Excalibur
cc5a028bf6ad29a636536c3dfc0ebdc0eacfbbb7
8c27e2fdd7b7d5a0439f6e63be2299b16f5291c0
refs/heads/master
2023-07-24T05:28:08.156998
2023-07-17T15:29:15
2023-07-17T15:29:15
29,307,758
1
5
null
2023-05-24T11:41:22
2015-01-15T16:59:28
Python
UTF-8
Python
false
false
8,593
py
from copy import deepcopy from ...core import ( PlotHistograms1D, PlotHistograms1DFractions, PlotHistograms2D, CutSet ) __all__ = ["plot_flavors", "plot_flavor_fractions"] _flavor_fraction_cuts_parton_matching = dict( u={ 'cut': CutSet(name='u', weights=["abs(matche...
[ "daniel.savoiu@cern.ch" ]
daniel.savoiu@cern.ch
d1eac20d6ecb9450cba8f91e1a7e1d4e1e5741a0
a8933adda6b90ca158096009165bf27b74a2733d
/auroracallback/index.py
8e612d31c3268553e12c1b19be4ad251306e88d6
[]
no_license
knighton/aurora-callback
6c40db9c271b782ca8c14119b8937e3656980a36
26efc9069fcd5d48ae55bca3b06e3adf3927164e
refs/heads/master
2020-12-18T11:53:16.516590
2020-01-21T15:05:41
2020-01-21T15:05:41
235,369,780
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
_INDEX = """ <!DOCTYPE HTML> <head> <style type="text/css"> html, body, #image { width: 100%; height: 100%; } body { background: radial-gradient( circle at center, #000 0%, #002 50%, #004 65%, #408 75%, #824 85%, #f40 90%, #fb0 95%, w...
[ "iamknighton@gmail.com" ]
iamknighton@gmail.com
06240216f9210c8e6d145968274d7682c2efaa25
5364927a0f594958ef226cd8b42120e96a970beb
/detectors/countauditor.py
2ba6d830b4429d9f01dfd0aa9dab54dc2415fc0b
[]
no_license
psf/bpo-tracker-cpython
883dd13f557179ee2f16e38d4f38e53c7f257a4a
1a94f0977ca025d2baf45ef712ef87f394a59b25
refs/heads/master
2023-06-11T23:59:46.300683
2023-04-25T12:18:00
2023-04-25T12:18:00
276,213,165
24
10
null
2023-04-11T14:16:30
2020-06-30T21:32:40
Python
UTF-8
Python
false
false
507
py
def count_nosy_msg(db, cl, nodeid, newvalues): ''' Update the counts of messages and nosy users on issue edit''' if 'nosy' in newvalues: newvalues['nosy_count'] = len(set(newvalues['nosy'])) if 'messages' in newvalues: newvalues['message_count'] = len(set(newvalues['messages'])) def i...
[ "devnull@localhost" ]
devnull@localhost
00678ab8ff79facecf814370e31c6cd5fe27add6
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/encodings/latin_1.py
dc74012c5ec50ada8637c3b65596d11567dc8a16
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:b75503e532a27c636477396c855209ff5f3036536d2a4bede0a576c89382b60c size 1264
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
d9ed45e757f36c4737c4f53b459548e973a94c38
042b3e6553dbd61b204bdbad25e05aaeba79dde8
/tests/ope/test_fqe.py
2a871634bfc6235fdfc70ba63e851fba1934a267
[ "MIT" ]
permissive
jkbjh/d3rlpy
822e51e1c5b4ef37795aa2be089ff5a7ff18af07
43f0ba7e420aba077d85c897a38207f0b3ca6d17
refs/heads/master
2023-03-20T06:36:55.424681
2021-03-17T14:17:40
2021-03-17T14:17:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,859
py
import pytest import numpy as np from unittest.mock import Mock from d3rlpy.ope.fqe import FQE, DiscreteFQE from d3rlpy.algos import DDPG, DQN from tests.base_test import base_tester from tests.algos.algo_test import algo_update_tester from tests.algos.algo_test import DummyImpl def ope_tester(ope, observation_shape...
[ "takuma.seno@gmail.com" ]
takuma.seno@gmail.com
1f45f423f9b9c7a6771aa411b46fc92b4c8473ea
c4520d8327124e78a892ef5a75a38669f8cd7d92
/venv/bin/pip3.6
5de7730cde95e1872365e26e4f9afc03673e919d
[]
no_license
arsh9806/GW2019PA1
81d62d3d33cfe3bd9e23aff909dd529b91c17035
c3d12aed77d2810117ce741c48208edc2b6a1f34
refs/heads/master
2020-05-31T09:18:13.112929
2019-06-04T06:51:12
2019-06-04T06:51:12
190,209,074
2
0
null
2019-06-04T13:38:46
2019-06-04T13:38:46
null
UTF-8
Python
false
false
412
6
#!/Users/ishantkumar/PycharmProjects/GW2019PA1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]...
[ "er.ishant@gmail.com" ]
er.ishant@gmail.com
05a8f71fc5e7b421ee098845806cc55f6460df06
9e204a5b1c5ff4ea3b115ff0559b5af803ab4d15
/086 Scramble String.py
24fb5940b4e91bad75604cd71f6ca376a0c51d99
[ "MIT" ]
permissive
Aminaba123/LeetCode
178ed1be0733cc7390f30e676eb47cc7f900c5b2
cbbd4a67ab342ada2421e13f82d660b1d47d4d20
refs/heads/master
2020-04-20T10:40:00.424279
2019-01-31T08:13:58
2019-01-31T08:13:58
168,795,374
1
0
MIT
2019-02-02T04:50:31
2019-02-02T04:50:30
null
UTF-8
Python
false
false
2,347
py
""" Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible representation of s1 = "great": great / \ gr eat / \ / \ g r e at / \ a t To scramble the string, we may choose any ...
[ "zhangdanyangg@gmail.com" ]
zhangdanyangg@gmail.com
c37b5e7c091393c55c01af84e23f3f883de3ea13
7ae9081aff882476ad0caa687ca41796e2035f85
/planout/apps/accounts/migrations/0005_auto_20150301_1811.py
176b7b2a6ed4e66694227f5ede41151cde8c9ee6
[]
no_license
siolag161/planout
eb6b8720dfe0334d379c1040d607bb459a8e695a
f967db9636618906345132d006c2f9a597025a0f
refs/heads/master
2020-04-14T13:17:26.011810
2015-03-21T11:53:48
2015-03-21T11:53:48
32,376,449
1
0
null
null
null
null
UTF-8
Python
false
false
842
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone import core.fields class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_basicuser_description'), ] operations = [ migrations.AddFie...
[ "thanh.phan@outlook.com" ]
thanh.phan@outlook.com
0ceccfc0f20161b467e5f633c3340f79cb489e0b
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/kubernetesconfiguration/v20210301/source_control_configuration.py
dde54f5999b02095632c8983dd8935df94af9835
[ "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
28,142
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
deec298358d4449942d8f95f300d77c1da85a33b
1a3d6caf89e5b51a33627458ae7c0bbb00efdc1d
/src/gluonts/torch/model/deep_npts/__init__.py
e664774be4903e7274f0dcb979a150dd03d6169c
[ "Apache-2.0" ]
permissive
zoolhasson/gluon-ts
e9ff8e4ead4d040d9f8fa8e9db5f07473cb396ed
3dfc0af66b68e3971032a6bd0f75cd216988acd6
refs/heads/master
2023-01-25T01:52:57.126499
2023-01-13T17:50:38
2023-01-13T17:50:38
241,743,126
0
1
Apache-2.0
2020-08-06T16:53:11
2020-02-19T22:45:54
Python
UTF-8
Python
false
false
911
py
# Copyright 2018 Amazon.com, Inc. or its affiliates. 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. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license...
[ "noreply@github.com" ]
zoolhasson.noreply@github.com
32ed9575258f7991c5a3e8769bf12f728676802c
dcc193058602f3cdd5ad9ab1cf8ae24d5ffbae28
/king_phisher/job.py
ede8906855f3f766dab2c8194a79a268602183ea
[ "BSD-3-Clause" ]
permissive
udibott/king-phisher
0ce6dd7636476fcd7c4e2d16fee58a6f910390cb
a61998daa70d07db6da9c23bac54032c5561c20e
refs/heads/master
2021-01-16T00:31:34.477399
2015-02-19T21:12:28
2015-02-19T21:12:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,103
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # king_phisher/job.py # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
9f827b5cd072b3c5a7b8abb08cbeb1c57976822f
b3ac12dfbb8fa74500b406a0907337011d4aac72
/goldcoin/cmds/units.py
f39f52b9ed6ece8e4515e68efda51a35c69354ac
[ "Apache-2.0" ]
permissive
chia-os/goldcoin-blockchain
ab62add5396b7734c11d3c37c41776994489d5e7
5c294688dbbe995ae1d4422803f6fcf3e1cc6077
refs/heads/main
2023-08-11T23:58:53.617051
2021-09-12T15:33:26
2021-09-12T15:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
from typing import Dict # The rest of the codebase uses mojos everywhere. # Only use these units for user facing interfaces. units: Dict[str, int] = { "goldcoin": 10 ** 12, # 1 goldcoin (ozt) is 1,000,000,000,000 mojo (1 trillion) "mojo:": 1, "colouredcoin": 10 ** 3, # 1 coloured coin is 1000 colouredcoi...
[ "faurepierre78@yahoo.com" ]
faurepierre78@yahoo.com
605166acc000057f4f8e1a72739b30cd9d77d644
17fe4529fd2772b7d046f039bde140768634d028
/misc/samples/unittest_sample_fixture.py
ec183aa51203926248509bf02996e096d24dc86e
[]
no_license
namesuqi/tapir
b9c21f30bf781eec314f0ae4f57c232f167e4734
a5d4e9bb45d8cbf7e41d42d9006b43b753f3ecf1
refs/heads/master
2020-03-07T04:16:45.213561
2018-03-29T08:34:46
2018-03-29T08:34:46
127,261,810
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
# coding=utf-8 # author: zengyuetian import unittest def setUpModule(): print("setUpModule >>>") def tearDownModule(): print("tearDownModule >>>") class Test1(unittest.TestCase): @classmethod def setUpClass(cls): print("setUpClass for Test1 >>") @classmethod def tearDownClass(cls)...
[ "suqi_name@163.com" ]
suqi_name@163.com
79d06d973f4350530acd4a498fc14d7d9edb3e00
124b35ccbae76ba33b9044071a056b9109752283
/Understanding_Concepts/viz/IntegratedGradientsTF/integrated_gradients_tf.py
d6198201ac70bf6560adfe7d8e5fd6aa4984b345
[]
no_license
anilmaddu/Daily-Neural-Network-Practice-2
94bc78fe4a5a429f5ba911bae5f231f3d8246f61
748de55c1a17eae9f65d7ea08d6b2b3fc156b212
refs/heads/master
2023-03-08T22:04:45.535964
2019-03-15T23:10:35
2019-03-15T23:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,654
py
################################################################# # Implementation of Integrated Gradients function in Tensorflow # # Naozumi Hiranuma (hiranumn@cs.washington.edu) # ################################################################# import tensorflow as tf import numpy as np # INPUT: te...
[ "jae.duk.seo@ryerson.ca" ]
jae.duk.seo@ryerson.ca
e5f8dd86564f6f2ac9a03aeef761b298c102eb92
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/gH3QMvF3czMDjENkk_9.py
19552a338cba87d2d304d1d2bbfb9850243e1af0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
""" Create a function that takes a list and string. The function should remove the letters in the string from the list, and return the list. ### Examples remove_letters(["s", "t", "r", "i", "n", "g", "w"], "string") ➞ ["w"] remove_letters(["b", "b", "l", "l", "g", "n", "o", "a", "w"], "balloon") ➞ ["b...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4728042cbeb6201f811568fdf61bb553ebc3dfae
bd19334c4698932a708afce4bcc208c7d9a3616b
/Q41.py
8f99ea1ed698ca838b80d8808108f180dd96c636
[]
no_license
Timothy-py/100-PythonChallenges
b9607cfc5fd27992321d6638a046f2f335f6e05d
f64a1b923a555268f4db38af04dcd354885aa231
refs/heads/master
2023-05-31T09:48:31.130970
2023-05-23T22:45:04
2023-05-23T22:45:04
208,028,848
2
1
null
2023-05-23T22:39:06
2019-09-12T10:50:43
Python
UTF-8
Python
false
false
82
py
# Pleas raise a RuntimeError exception. raise RuntimeError("something is fishy")
[ "adeyeyetimothy33@gmail.com" ]
adeyeyetimothy33@gmail.com
26f18c303e12dd1ea296568f3185d5b1df7582fe
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/op_cmp_int-106.py
89011902bfe43fdb6bd7bee90efed2d33564d626
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
x:int = 42 y:int = 7 print(x == y) print(x != y) print(x < y) print(x <= y) print(x > y) print(x >= y) $Var(x == x) print(x != x) print(x < x) print(x <= x) print(x > x) print(x >= x)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
cc9411b7251704073d70f510559e49b20473e415
4e30d990963870478ed248567e432795f519e1cc
/tests/models/validators/v3_1_patch_1/jsd_df4fb303a3e5661ba12058f18b225af.py
f31472450dc722d87e16a1a2c2c919e92e4c5463
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
8,158
py
# -*- coding: utf-8 -*- """Identity Services Engine getNetworkAccessConditions data model. Copyright (c) 2021 Cisco and/or its affiliates. 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 ...
[ "bvargas@altus.cr" ]
bvargas@altus.cr
df9e1ed2fbda2454efd1784b026e5a2e8aa25d2a
66d339399671f9520e88d79b7118b6670f6a40a2
/CheckWeb/Checkapp/apps.py
4ee45b7130ebc5a7e7d5ea707111249ce199c855
[ "MIT" ]
permissive
Tarpelite/OJ_research
038ba1b3a5d8add01642cddd45b59722144ac110
5c23591a50e755dac800dfaedb561290ce35fc5b
refs/heads/master
2020-06-07T10:52:17.059468
2019-06-21T10:47:56
2019-06-21T10:47:56
193,003,111
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.apps import AppConfig class CheckappConfig(AppConfig): name = 'Checkapp'
[ "tarpelite_chan@foxmail.com" ]
tarpelite_chan@foxmail.com
6076c919a7fc64e1832cdfff14fd936313f6f605
3fd7adb56bf78d2a5c71a216d0ac8bc53485b034
/tensorflow_data/position_ctrl_action5r3_rel/conf.py
968527a0c3070d794fdb27d5931531bfada19c90
[]
no_license
anair13/lsdc
6d1675e493f183f467cab0bfe9b79a4f70231e4e
7760636bea24ca0231b4f99e3b5e8290c89b9ff5
refs/heads/master
2021-01-19T08:02:15.613362
2017-05-12T17:13:54
2017-05-12T17:13:54
87,596,344
0
0
null
2017-04-08T00:18:55
2017-04-08T00:18:55
null
UTF-8
Python
false
false
1,872
py
import os current_dir = os.path.dirname(os.path.realpath(__file__)) # tf record data location: DATA_DIR = '/'.join(str.split(current_dir, '/')[:-2]) + '/pushing_data/position_control_a5r3rel/train' # local output directory OUT_DIR = current_dir + '/modeldata' from video_prediction.prediction_model_downsized_lesslaye...
[ "frederik.ebert@mytum.de" ]
frederik.ebert@mytum.de
75ccc26a4c4472390ed15c91ff1250d21f8742ba
9bb521d515a2401b69df797efed11b04e04401a7
/tests/runtests-herd.py
6b8ab527d581912293ea513b8d1152d11ea11811
[ "BSD-3-Clause" ]
permissive
risent/django-redis
be512f1bf6c51b8e238e2fa8b1eec5073c03916e
46bfd076c197846035e3f31348748d464ace74d0
refs/heads/master
2021-01-14T14:10:59.664982
2015-06-11T20:15:28
2015-06-11T20:15:28
37,450,021
0
0
null
2015-06-15T07:25:20
2015-06-15T07:25:20
null
UTF-8
Python
false
false
311
py
# -*- coding: utf-8 -*- import os, sys sys.path.insert(0, '..') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_sqlite_herd") if __name__ == "__main__": from django.core.management import execute_from_command_line args = sys.argv args.insert(1, "test") execute_from_command_line(args)
[ "niwi@niwi.be" ]
niwi@niwi.be
98a5ba2fce68657fdaed702892ee3ed449bf727e
3e862ce90e7f17c1f1c586aad20bda6c4fc6cbd4
/home/management/commands/load_initial_data.py
19443015cfb4110723cc564ebfbfb35c06d46937
[]
no_license
crowdbotics-users/kailashacrowdboticscom-kai-638
621fc891f449a843e0334f4443462f78d1a1d5b6
e3753824bbd240c64eeadde9671438cc77a8dc0b
refs/heads/master
2020-04-09T19:42:14.674638
2018-12-05T17:00:39
2018-12-05T17:00:39
160,551,011
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
from django.core.management import BaseCommand from home.models import CustomText, HomePage def load_initial_data(): homepage_body = """ <h1 class="display-4 text-center">image-to-text-converter-211</h1> <p class="lead"> This is the sample application created and deployed from the cr...
[ "sp.gharti@gmail.com" ]
sp.gharti@gmail.com
bc898e40424cb1cafb5b4b23ba444477869ae983
5c1531b47fb4dc4d7e5998d44f7200bf1786b12b
/__UNSORTED/130_surrounded_regions/surrounded_regions_TLE.py
3c923ea0a7709fbedcb124df62b7253ab7f96642
[]
no_license
Web-Dev-Collaborative/Leetcode-JS-PY-MD
d1f560051aad1896a80eccdd4b4fbb389e7033e3
675b94fa5da8d40f0ea79efe6d3ef1393221425f
refs/heads/master
2023-09-01T22:30:32.313793
2021-10-26T02:17:03
2021-10-26T02:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
class Solution: # @param {character[][]} board # @return {void} Do not return anything, modify board in-place instead. def solve(self, board): if not board: return lx = len(board) ly = len(board[0]) for x in range(lx): for y in range(ly): ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
8e204756e205394482650c812c5b994b021ff48c
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007.2/programming/libs/geoip/actions.py
8ea47d4a7aaa461b4099e2a3b64026df8fc2b019
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2006,2007 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "GeoIP-%...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
564d007f30314f626af2a6f9ebbfe6aa75131c69
1c4a19c0d1953280f79193f30ad8c4759e3aff58
/ansys/dpf/core/operators/math/conjugate.py
ddeae28fea91fca0f6c68e3c561790131c01251f
[ "MIT" ]
permissive
hoangxuyenle/DPF-Core
d02c843b678560f12715ea90dc8c9764b3bffc99
a404dd290c7b3ee75463b2487cafb8bf48468691
refs/heads/master
2023-06-15T15:27:02.597938
2021-06-22T15:19:04
2021-06-22T15:19:04
381,611,135
0
0
MIT
2021-06-30T07:18:30
2021-06-30T07:18:30
null
UTF-8
Python
false
false
4,859
py
""" conjugate ========= """ from ansys.dpf.core.dpf_operator import Operator from ansys.dpf.core.inputs import Input, _Inputs from ansys.dpf.core.outputs import Output, _Outputs, _modify_output_spec_with_one_type from ansys.dpf.core.operators.specification import PinSpecification, Specification """Operators from Ans.D...
[ "lea.paradis@ansys.com" ]
lea.paradis@ansys.com
76223c165e5e9ac07147392a1c676096c926a704
9f1039075cc611198a988034429afed6ec6d7408
/tensorflow-stubs/python/debug/cli/ui_factory.pyi
b43ca70100629b7c956effd95df1bc66726070c7
[]
no_license
matangover/tensorflow-stubs
9422fbb1cb3a3638958d621461291c315f9c6ec2
664bd995ef24f05ba2b3867d979d23ee845cb652
refs/heads/master
2020-05-23T12:03:40.996675
2019-05-15T06:21:43
2019-05-15T06:21:43
186,748,093
0
0
null
null
null
null
UTF-8
Python
false
false
352
pyi
# Stubs for tensorflow.python.debug.cli.ui_factory (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any as Any, Optional as Optional SUPPORTED_UI_TYPES: Any def get_ui(ui_type: Any, on_ui_exit: Optional[Any] = ..., available_ui_types: Optional[Any] = ..., co...
[ "matangover@gmail.com" ]
matangover@gmail.com
a3102fcc5d0e0bfb6ee0b1bf3111b652fc63dcb7
07fa9a51d737d0a1fbe217b1a6a956abbef4ef87
/pytorchvideo/layers/accelerator/mobile_cpu/conv_helper.py
9d9d7c228c92e93dca3ca889ed62c9c8350ab955
[ "Apache-2.0" ]
permissive
xchani/pytorchvideo
2b6decf3a1076b9256745f0ae81d86e2f43e14a7
16f2abf2f8aa174915316007622bbb260215dee8
refs/heads/main
2023-08-27T16:36:23.346066
2021-11-11T11:40:56
2021-11-11T11:40:56
414,095,913
0
0
Apache-2.0
2021-10-06T06:32:33
2021-10-06T06:32:32
null
UTF-8
Python
false
false
21,774
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """ This file contains helper classes for building conv3d efficient blocks. The helper classes are intended to be instantiated inside efficient block, not to be used by user to build network. """ from copy import deepcopy from typing import Tuple...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
3f45a0ead1cf4666a92a4e6dc6450c3ac923cd4a
e5efada3529d94875455c4230c8dabe27fb72a89
/apps/api/migrations/0015_auto_20230210_1801.py
aa364ba5d0abda9b62dcdf65fd85023772bbf6fc
[]
no_license
alexmon1989/uma
d8c321fb0ec9b1a9039b1c83aeaaff774f657416
5dea579d634eeb1c8103c21157299b33ca5590f0
refs/heads/master
2023-08-03T04:31:13.598577
2023-07-22T18:17:13
2023-07-22T18:17:13
154,835,498
0
0
null
2023-03-02T11:20:54
2018-10-26T13:02:12
Nunjucks
UTF-8
Python
false
false
411
py
# Generated by Django 3.2.12 on 2023-02-10 18:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0014_auto_20211213_1900'), ] operations = [ migrations.AddField( model_name='opendata', name='files_path', ...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
a220aea2b5c78023a22076d9c19a6dd6523da5d2
30d1902232eb9ddb84fdf5404a3a1dfd6232406a
/wxpython/project/panels/WorkExperience.py
17bf63ac737356239469250d54b41bd0999928ea
[]
no_license
sxnys/mypython
c3a768b054077ed97ff1e2fac31cb93f0765deb3
de48cd883ad2de3320cb0c6b46b451ebb2311ac7
refs/heads/master
2022-11-07T15:11:48.936412
2019-04-14T12:04:30
2019-04-14T12:04:30
119,686,106
0
1
null
2022-10-31T05:13:00
2018-01-31T12:46:06
Python
UTF-8
Python
false
false
791
py
# -*- coding: utf-8 __author__ = 'Sxn' __date__ = '2017/5/22 19:09' from . import StudyExperience from extra import JsonIO class TabPanel(StudyExperience.TabPanel): def __init__(self, parent): StudyExperience.TabPanel.__init__(self, parent, tabName=u'工作经历', instructText=u'含学术兼职情况', numLimit=10, editInfo=[...
[ "1119112647@qq.com" ]
1119112647@qq.com
5e65254844f16b658ad6828501d1c3536c170e7f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/230/28042/submittedfiles/swamee.py
88094a850a0912518cfb951ac45f0e9faca901c7
[]
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
493
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI f = float(input('Digite o valor de f: ')) L = float(input('Digite o valor de L: ')) Q = float(input('Digite o valor de Q: ')) DeltaH = float(input('Digite o valor de DeltaH: ')) v = float(input('Digite o valor de v: ')) g = 9.81 E = 0.000002 D = ((8*f*L*(Q**2)...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2d1ff66d90a2adb3e0779f18b5a50d2212b45545
13f5984be7be77852e4de29ab98d5494a7fc6767
/LeetCode/binary_serach_tree.py
ac894fb9c1a5994df4054cf4407beae85859a72b
[]
no_license
YuanXianguo/Python-Interview-Master
4252514763fc3f563d9b94e751aa873de1719f91
2f73786e8c51dbd248341559de171e18f67f9bf2
refs/heads/master
2020-11-26T18:14:50.190812
2019-12-20T02:18:03
2019-12-20T02:18:03
229,169,825
0
0
null
null
null
null
UTF-8
Python
false
false
3,513
py
from tree import Tree class Node(object): """结点""" def __init__(self, val=None): self.val = val self.left = None self.right = None class BinarySearchTree(Tree): """二叉搜索树""" def __init__(self, node=None): super().__init__(node) def insert(self, val): """二叉...
[ "736913978@qq.com" ]
736913978@qq.com
05f2f300257d5ca6375765b26379c1ae5bcd4984
3ec9d3aa7e59475683dba30a87ca68242a7ec181
/cn/edgedetection/03Sample.py
843592f93fc567466fb142220d9454d1c28724ac
[ "Apache-2.0" ]
permissive
Jasonandy/Python-X
58bf36499572cdfb7d7bf80c6a3cd0c818f62c1e
2f02b9a17bd5495dd1f8746b191f11ec2d7bccbe
refs/heads/master
2021-06-16T17:07:29.277404
2021-03-07T14:17:05
2021-03-07T14:17:05
175,353,402
0
2
null
null
null
null
UTF-8
Python
false
false
2,419
py
""" 边缘检测示列 https://blog.csdn.net/HuangZhang_123/article/details/80511270 """ import cv2 import numpy as np def show_image(image_path): """ show_image 展示 :param image_path: :return: """ img = cv2.pyrDown(cv2.imread(image_path, cv2.IMREAD_UNCHANGED)) # threshold 函数对图像进行二化值处理,由于处理后图像对原图像有所变化,...
[ "jasonandy@hotmail.com" ]
jasonandy@hotmail.com
c9c1b551a250613ffb85b581a47121c5e9319dc2
855c7f84876f66fe48fa3cfebcb2d96cb809ccce
/manage.py
642ca99f5fc4b37a16fb35199b75f179159c8063
[]
no_license
chifeng111/Appointment
1a9fd11755a03112fa995ef4736761d9ee4c4b93
233c65a51fe4b346ddd2e4dc22adb7d233bd0faf
refs/heads/master
2020-06-20T00:08:56.139597
2016-12-06T15:30:44
2016-12-06T15:30:44
74,894,926
2
1
null
null
null
null
UTF-8
Python
false
false
809
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Appointment.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that ...
[ "liaozhenhua1129@gmail.com" ]
liaozhenhua1129@gmail.com
13e9b3fafe2f0f5e0947fec71bd1d9c4f1fd6730
2a171178942a19afe9891c2425dce208ae04348b
/kubernetes/client/models/v1_job_list.py
4c27f86f781c5f929aaeab8ca1386fdec70302fc
[ "Apache-2.0" ]
permissive
ouccema/client-python
ac3f1dee1c5ad8d82f15aeecb87a2f5f219ca4f4
d7f33ec53e302e66674df581904a3c5b1fcf3945
refs/heads/master
2021-01-12T03:17:54.274888
2017-01-03T22:13:14
2017-01-03T22:13:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,395
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.0-snapshot Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Li...
[ "mehdy@google.com" ]
mehdy@google.com
51e410a7583b82d254106376c125b43aa5f99007
ed7e61c8eef7fb2213adeb67557d605470c17fb3
/ML/confusion-matrix/split_two.py
b3bc65d93e39225a414ead9d46ec4d8d6b6fd697
[]
no_license
MartinThoma/algorithms
535840224323822f2ea6b7dd6f82a0fdd22a0ff9
a251e9599b685dbf89c891f02d20fefd8538ead5
refs/heads/master
2023-02-23T17:58:10.913634
2023-02-21T05:58:59
2023-02-21T05:58:59
4,939,076
241
126
null
2023-02-16T05:16:23
2012-07-07T16:07:23
Python
UTF-8
Python
false
false
6,693
py
#!/usr/bin/env python """Split the classes into two equal-sized groups to maximize accuracy.""" import json import os import random import numpy as np random.seed(0) import logging import sys from visualize import apply_permutation, plot_cm, read_symbols, swap, swap_1d logging.basicConfig(format='%(asctime)s %(le...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
f5435f602b8973519150389a75dd7328fe65e570
c0f808504dd3d7fd27c39f1503fbc14c1d37bf9f
/sources/scipy-scipy-414c1ab/scipy/sparse/linalg/dsolve/umfpack/tests/try_umfpack.py
6f7cd7acdb421fa1497d93d5b68da26ef2943b61
[]
no_license
georgiee/lip-sync-lpc
7662102d4715e4985c693b316a02d11026ffb117
e931cc14fe4e741edabd12471713bf84d53a4250
refs/heads/master
2018-09-16T08:47:26.368491
2018-06-05T17:01:08
2018-06-05T17:01:08
5,779,592
17
4
null
null
null
null
UTF-8
Python
false
false
6,310
py
#!/usr/bin/env python # Created by: Robert Cimrman, 05.12.2005 """Benchamrks for umfpack module""" from optparse import OptionParser import time import urllib import gzip import numpy as np import scipy.sparse as sp import scipy.sparse.linalg.dsolve.umfpack as um import scipy.linalg as nla defaultURL = 'http://www...
[ "georgios@kaleadis.de" ]
georgios@kaleadis.de
fc25356354bc680cf49d82450ed1864df13bc7cb
18ccaa1160f49f0d91f1d9dc376f860aed8a9c2a
/tracpro/groups/tests/test_middleware.py
170e207ec77587705841395a880fa174d72a1d05
[ "BSD-3-Clause" ]
permissive
caktus/tracpro
bb6033b170b7a77cf9ac76b1be2779b71afa80e0
368f43e666d3c718843dffe934ba35ca859ebaf7
refs/heads/develop
2020-12-24T22:06:21.341755
2016-01-22T13:16:29
2016-01-22T13:16:29
50,186,576
0
0
null
2016-01-22T14:38:29
2016-01-22T14:38:28
null
UTF-8
Python
false
false
8,083
py
from django.contrib.auth.models import AnonymousUser from django.test import RequestFactory from tracpro.test import factories from tracpro.test.cases import TracProTest from ..middleware import UserRegionsMiddleware from ..models import Region class TestUserRegionsMiddleware(TracProTest): def setUp(self): ...
[ "rebecca@caktusgroup.com" ]
rebecca@caktusgroup.com
7e60a4df9930178e0ae0a8e732141a2219d3acd4
a0cbbc57dd1b583ab66ce37ad8c6970e74a600ba
/raylab/policy/modules/model/stochastic/single.py
0aa460ac8354ed4246fca21f0ef0ac8245a399ee
[ "MIT" ]
permissive
GapData/raylab
ccf6c39ea20d5568561207d92a4b9097657fb909
c5e862334dc1f29a09b42286ddcc40e72c6eb3a2
refs/heads/master
2022-12-19T07:09:45.799180
2020-09-29T17:09:54
2020-09-29T17:09:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,157
py
"""NN modules for stochastic dynamics estimation.""" from dataclasses import dataclass from typing import List from typing import Tuple import torch import torch.nn as nn from gym.spaces import Box from torch import Tensor import raylab.torch.nn as nnx import raylab.torch.nn.distributions as ptd from raylab.policy.mo...
[ "angelolovatto@gmail.com" ]
angelolovatto@gmail.com
59128387488db0592ddb5fef863061a8952d1da3
929cdbe211fbf254e1ec8122f9b48fa32520232c
/analysisflow.py
0f35da16f85c1ab0b53e1d567b3def8ec7103f46
[]
no_license
arizzi/nail
c8edec306628cecd269ad9d4241100afdbf6a7fc
a5ba9aed1bcc266cd9d9a36167ce66e51d851e8f
refs/heads/master
2023-05-11T15:55:34.038861
2023-05-05T12:56:42
2023-05-05T12:56:42
162,547,201
3
1
null
2023-02-22T15:40:31
2018-12-20T08:09:10
Python
UTF-8
Python
false
false
3,501
py
from .nail import * flow.SetAlias("n(.*)", "\\1.size()", defaultPersitency=True) flow.SetAlias( "(.*)_p4", "{TLorentzVector ret; ret.SetPtEtaPhiM(\\1_pt,\\1_eta,\\1_phi,\\1_mass); return ret;}", defaultPersistency=False) # SubCikkectuib actuib" flow.SetAlias("SelectedMuon_(.*)([\.*\])", "Muon_\1[SelectedMuon[\2]]")...
[ "andrea.rizzi@cern.ch" ]
andrea.rizzi@cern.ch
aeacb4306279e72cab7c8fd20e25ca480c58c205
4d0266a4554a93bba316f70548c2f4916834b1a8
/partitioned code/dhrec/autohistoryinfer.py
8a9be06ba94e2dcf00b756ec20eed03174e536cf
[]
no_license
seferlab/DHREC
864c2c2d4076f8de85697b097a90e2ce549db1cd
b8a9f5274321e14ecc486f4cad02417dbc5658ce
refs/heads/master
2022-12-27T16:14:54.145795
2020-09-29T12:25:27
2020-09-29T12:25:27
299,609,232
0
0
null
2020-09-29T12:23:25
2020-09-29T12:23:24
null
UTF-8
Python
false
false
21,522
py
import networkx as nx import sys sys.path.append("./lib") import os import gzip import cPickle import random import myutilities as myutil import itertools from InputOutput import InputOutput from Trace import Trace from Pbs import Pbs import HistoryInferRunner import HistOtherAlgos def genOtherConfigFile(configfile,gr...
[ "70752445+seferlab@users.noreply.github.com" ]
70752445+seferlab@users.noreply.github.com
c43f3fc077de3a17d699c5cb4c8416a0f23c88d5
315450354c6ddeda9269ffa4c96750783963d629
/CMSSW_7_0_4/src/TotemDQMLite/GUI/scripts/.svn/text-base/reco_template_T1_cfg.py.svn-base
f60ffa0be9c54729e058dea21046f4747c66c5f4
[]
no_license
elizamelo/CMSTOTEMSim
e5928d49edb32cbfeae0aedfcf7bd3131211627e
b415e0ff0dad101be5e5de1def59c5894d7ca3e8
refs/heads/master
2021-05-01T01:31:38.139992
2017-09-12T17:07:12
2017-09-12T17:07:12
76,041,270
0
2
null
null
null
null
UTF-8
Python
false
false
2,233
import FWCore.ParameterSet.Config as cms process = cms.Process("recoT1") # Specify the maximum events to simulate process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) ) # Configure if you want to detail or simple log information. # LoggerMax -- detail log info output including: errors.log, w...
[ "eliza@cern.ch" ]
eliza@cern.ch
b4e990d93bfd4a2916201a75c53557884579150a
f62fd455e593a7ad203a5c268e23129473d968b6
/python-watcherclient-1.0.0/watcherclient/osc/plugin.py
5885de3b4873319fa9e70d64baded41315c15e6c
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
1,854
py
# 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 writing, software # distrib...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
b13aec275da4151009697accac9711e4949a705d
76f549c062600a0c713315a9a7361ebb111178f8
/Taller/Preguntas/PrimeraPregunta.py
329f447c04d5a3317beecceb811b7df4bb35473d
[]
no_license
jorszs/AI
f612f26537fc3563dd2837c8f67801f091f7e3a0
05a839e6e115e7c6c9378e84d5ac7f50afe2870d
refs/heads/master
2020-03-11T17:57:32.555978
2018-06-07T01:48:36
2018-06-07T01:48:36
130,162,558
0
1
null
null
null
null
UTF-8
Python
false
false
1,335
py
import urllib3 def getNameNodes(): i = 0 res = {} archivo = open('links.csv', 'rt') for linea in archivo: k = linea.replace(' ', '') k = k.replace('\n', '') if i > 0: j = k.split('.') if j[0] in res: res[j[0]].append(k) ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f514f0c972565ebfc8022902b1abcc0fa242ca14
9d07335de5a17453bf8ae290d70993d7b20dddcd
/.history/dice_20210223203524.py
a9e39059915547dad83aa8fbce4c3cc0fedfd011
[]
no_license
wh-debug/Matplotlib
8d12291cd4135b3b42c185e6700f22c627ddb046
b4f5bf63d977620f799d953c67b262c75344a1cb
refs/heads/master
2023-03-14T10:09:33.602492
2021-02-23T13:51:21
2021-02-23T13:51:21
340,374,612
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
''' Author: your name Date: 2021-02-23 20:07:30 LastEditTime: 2021-02-23 20:35:24 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \Matplotlib\dice.py ''' from make_plotly import Die import matplotlib.pyplot as plt x_values = [1, 2, 3, 4, 5, 6] y_values = [] die = Die() #todo 创建一个空列表结...
[ "1813763848@qq.com" ]
1813763848@qq.com
3b9283807f9a633e9ca03ea36b3db90607bb9388
5063587053951fc1dc558c657d06e0b99187baf5
/electrumx/server/controller.py
6c449b6927f07497c4a7bd4b643a57b2177d5729
[ "MIT" ]
permissive
Japangeek/electrumx
04cbd7f793afe9fa2dff8adad8e7900f4a80b279
a4ea34c6fb9bc887afb19779bde107d97006d8b7
refs/heads/master
2020-05-15T11:46:52.339001
2019-04-18T13:29:37
2019-04-18T13:29:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,092
py
# Copyright (c) 2016-2018, Neil Booth # # All rights reserved. # # See the file "LICENCE" for information about the copyright # and warranty status of this software. from asyncio import Event from aiorpcx import _version as aiorpcx_version, TaskGroup import electrumx from electrumx.lib.server_base import ServerBase ...
[ "kyuupichan@gmail.com" ]
kyuupichan@gmail.com
6c201191527104f2d328b58b2ba84caec9c846d3
a5ea93395d8d762caefd129648b2e954754afb00
/examples/6_p_scale_test_Yokoo_Pt.py
fc618a74a4e14089082439c5476fe6df9f86e0e2
[ "Apache-2.0" ]
permissive
SHDShim/pytheos
4295e233dd089d0c9c66218a127d3f099f1d36df
bb86e0ff345efcffb04f08182c09b06b3c54930e
refs/heads/master
2023-03-16T23:23:56.840071
2023-03-11T03:13:23
2023-03-11T03:13:23
93,273,486
7
6
Apache-2.0
2019-11-18T13:11:46
2017-06-03T20:54:46
Python
UTF-8
Python
false
false
1,369
py
# coding: utf-8 # In[1]: get_ipython().run_line_magic('cat', '0Source_Citation.txt') # In[2]: get_ipython().run_line_magic('matplotlib', 'inline') # %matplotlib notebook # for interactive # For high dpi displays. # In[3]: get_ipython().run_line_magic('config', "InlineBackend.figure_format = 'retina'") # ...
[ "SHDShim@gmail.com" ]
SHDShim@gmail.com
8aad654f743a97284e6607a741abc184b41bf200
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20181014/example_pycomment/pycomment.py
4604d5e1df1248b710f77c3ea0471b933a54d818
[]
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
6,165
py
import sys import contextlib from io import StringIO from lib2to3 import pytree from lib2to3 import pygram from lib2to3.pgen2 import driver from lib2to3.pgen2 import token from lib2to3.pgen2.parse import ParseError from lib2to3.fixer_util import Assign, Name, Newline # utf8 's PUA(https://en.wikipedia.org/wiki/Private...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
221ab1ad77324845627959d14968b0eed0e8e187
f66016b962e105898ea14982e229bd44f66f32a2
/settings.py
c142f11377dc1d70c39b3451e46f9a4f2ab30a36
[ "MIT" ]
permissive
DerThorsten/pc
d3ceace388dd3460c0133e97b7fba0fde8d1e811
41d7474ceff8de7b95be5d4fbc42a40e89799e34
refs/heads/master
2021-01-12T10:41:47.797694
2016-11-10T21:59:35
2016-11-10T21:59:35
72,621,794
0
0
null
null
null
null
UTF-8
Python
false
false
4,216
py
from collections import OrderedDict import h5py from features import registerdFeatureOperators class Settings(object): def __init__(self, settingsDict, predictionSettingsDict=None): self.settingsDict = settingsDict self.featureBlockShape = tuple(self.settingsDict["setup"]["blockShape"]) ...
[ "thorsten.beier@iwr.uni-heidelberg.de" ]
thorsten.beier@iwr.uni-heidelberg.de
c31a0e73d6e975d7fadf3b697bac94aa6dd6b066
3c06dc187183b5f78dbe24d38f7a3556b7cc9975
/Python/LC51_NQueens.py
24f5ce90b79b47c78b3abc2259af3dc85e7f029c
[]
no_license
wondershow/CodingTraining
071812ffd34850ce0417b95a91ac39a983fca92d
0250c3764b6e68dfe339afe8ee047e16c45db4e0
refs/heads/master
2021-07-02T22:18:46.774286
2021-06-30T14:08:54
2021-06-30T14:08:54
77,458,117
0
1
null
null
null
null
UTF-8
Python
false
false
1,110
py
class Solution: def solveNQueens(self, n: int) -> List[List[str]]: def generate_board(pos, n): res = [] for i in range(n): line = ["."] * n line[pos[i]] = "Q" res.append("".join(line)) return res cols, diagn...
[ "noreply@github.com" ]
wondershow.noreply@github.com
a726fded486bd2431700f554247ec143c4470120
947fa6a4a6155ffce0038b11f4d743603418ad68
/.c9/metadata/environment/fb_post_learning/fb_post_v2/tests/storages/test_is_reply.py
6f54509d512ad6b525aa649971f404875a96935a
[]
no_license
bharathi151/bharathi_diyyala
bd75e10639d7d22b332d5ce677e7799402dc4984
99f8657d010c790a0e4e4c9d6b57f81814784eb0
refs/heads/master
2022-11-21T12:43:48.401239
2020-07-23T09:05:52
2020-07-23T09:05:52
281,903,260
0
0
null
null
null
null
UTF-8
Python
false
false
27,064
py
{"changed":true,"filter":false,"title":"test_is_reply.py","tooltip":"/fb_post_learning/fb_post_v2/tests/storages/test_is_reply.py","value":"import pytest\nfrom fb_post_v2.storages.comment_storage_implementation import StorageImplementation\n\n\n@pytest.mark.django_db\ndef test_is_reply_given_invalid_details_returns_fla...
[ "bharathi151273@gmail.com" ]
bharathi151273@gmail.com
87f86ee5f18ff897da50586e96692fc1a9d89d64
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03371/s901597766.py
123ae25fb816ba52b35bc7528454231feb8593bf
[]
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
532
py
A, B, C, X, Y = map(int, input().split()) cntA = 0 cntB = 0 cntC = 0 value = 0 if 2*C<=A+B: #Cで買いそろえた方が安いので #(max(X, Y)-abs(X-Y))*2枚は買うことになる Cmaisu = (max(X, Y)-abs(X-Y))*2 value += C * Cmaisu if (2*C<=A and X>Y) or (2*C<=B and X<Y): #abs(X-Y)枚についても2Cが安けりゃCで買う value += C * abs(X-Y) *...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f6b658b1ddac70cd71d916a2ed089c862e530a4e
f8666599b83d34c861651861cc7db5b3c434fc87
/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_templateitemname.py
3aca0890a4cb67b0ff4f477575d146dfbe41dbf8
[ "MIT" ]
permissive
mode/plotly.py
8b66806e88c9f1820d478bab726f0bea81884432
c5a9ac386a40df2816e6c13264dadf14299401e4
refs/heads/master
2022-08-26T00:07:35.376636
2018-09-26T19:08:54
2018-09-26T19:19:31
60,372,968
1
1
MIT
2019-11-13T23:03:22
2016-06-03T19:34:55
Python
UTF-8
Python
false
false
545
py
import _plotly_utils.basevalidators class TemplateitemnameValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name='templateitemname', parent_name='scatterpolargl.marker.colorbar.tickformatstop', **kwargs ): super(TemplateitemnameValidat...
[ "noreply@github.com" ]
mode.noreply@github.com
bf825d15878d7b99d77904e32eb9daf305bfa790
4eaa1b9b08914e0a2cc9276363e489ccef19d3a2
/ch3/guest_list.py
3a09e97b39d325d4f92b191d3cabd2777d74e4f8
[]
no_license
melihcanyardi/Python-Crash-Course-2e-Part-I
69b3b5b3f63cdbd7be6fabd6d4f2ddfd9a3434a3
0c9b250f512985c04b2c0397f3afaa8bf3a57f17
refs/heads/main
2023-03-12T21:43:14.012537
2021-03-03T19:23:41
2021-03-03T19:23:41
344,236,741
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
guest_list = ['Ali', 'Ayşe', 'Mehmet', 'Ahmet'] message = f"Hey {guest_list[0]}, would you like to join me for the dinner?" print(message) message = f"Hey {guest_list[1]}, would you like to join me for the dinner?" print(message) message = f"Hey {guest_list[2]}, would you like to join me for the dinner?" print(messag...
[ "melihcanyardi@hotmail.com" ]
melihcanyardi@hotmail.com
4696d4803fcbd9b7f1fa002caeed6d15ed478d7e
4d0f3e2d7455f80caea978e4e70621d50c6c7561
/Threading/Lock.py
efce0601f22fa1de07581c3637eba0dc6384a431
[]
no_license
mhdr/PythonSamples
66940ee2353872d2947c459e3865be42140329c6
1a9dccc05962033ea02b081a39cd67c1e7b29d0c
refs/heads/master
2020-04-14T01:10:13.033940
2016-05-28T15:33:52
2016-05-28T15:33:52
30,691,539
1
0
null
null
null
null
UTF-8
Python
false
false
164
py
import threading from threading import Lock def print_multi(): lock=Lock() lock.acquire() print("Hello World") lock.release() print_multi()
[ "ramzani.mahmood@gmail.com" ]
ramzani.mahmood@gmail.com
4733bae1eb944dc330c20c4483dd7b1171de45b2
99833651e4a6a0bc1221d577d9fc43b8568abedd
/nltk_contrib/hadoop/tf_idf/tf_map.py
25f49052f7b5472b8a00478c177aac8e3dd514cd
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
nltk/nltk_contrib
689e2683aa01b120c7473b9a4fc50bc49f014390
95d1806e2f4e89e960b76a685b1fba2eaa7d5142
refs/heads/master
2023-07-31T13:32:47.358897
2022-11-21T18:49:33
2022-11-21T18:49:33
2,530,774
145
127
NOASSERTION
2022-11-21T18:49:34
2011-10-07T05:59:13
Python
UTF-8
Python
false
false
692
py
from hadooplib.mapper import MapperBase class TFMapper(MapperBase): """ get the filename (one filename per line), open the file and count the term frequency. """ def map(self, key, value): """ output (word filename, 1) for every word in files @param key: None @par...
[ "stevenbird1@gmail.com" ]
stevenbird1@gmail.com
d68dd9aee38f272a57637402ae90918c73bc1986
641df38bb75077cd8da28b69e38b84af293b5db7
/docassemble_base/setup.py
73a6d2bf9b44a96183a19d6f23282978224b061d
[ "MIT" ]
permissive
bgordo3/docassemble
f19e01f2daf41eb05e2c19b5d4278bdc0d6d3ea5
3ce22e22e818598badc2242038f4e4abc4ee9fde
refs/heads/master
2020-12-26T01:03:14.840009
2016-05-15T13:50:35
2016-05-15T13:50:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,809
py
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages from fnmatch import fnmatchcase from distutils.util import convert_path standard_exclude = ('*.py', '*.pyc', '*~', '.*', '*.bak', '*.swp*') standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*....
[ "jpyle@philalegal.org" ]
jpyle@philalegal.org
47821cfbba0dbe4c3efe3982af6bf0e12bc36614
8e7a2b9efbc0d25111f01f4cddb781961032685a
/python-1025/python/a_socket/3_ssh/cli.py
a8eb9d81fb94a0cd363d5f6691ffd91955caf960
[]
no_license
Dituohgasirre/python
e044aa2e1fb2233b6ccd59701b834ab01e4e24c2
05f036d2723f75cd89e4412aaed7ee0ba5d3a502
refs/heads/master
2023-06-03T13:50:18.641433
2021-06-17T10:23:40
2021-06-17T10:23:40
366,942,423
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
#!/usr/bin/env python3 import socket from pargs import parse from net import Packet if __name__ == "__main__": def main(): args, opt = parse(['s|srv|1', 'p|port|1']) srvIp = opt['srv'] if 'srv' in opt else "3.3.3.3" port = int(opt['port']) if 'port' in opt else 9000 sd = socket....
[ "linfeiji4729289@126.com" ]
linfeiji4729289@126.com
51e0e2a1659f95d3b8414243848b7426d1ff7812
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startCirq58.py
a2b36467a64bf7e0413c3647fae2acfbe412bd39
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=3 # total number=12 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
aa886a213c5f135a412aba43490ad62764c40613
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2017_02_24_HCF_pearson/get_linkage_alt.py
81760c80d5b2307eb97b7f5b1d063001511737ce
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,035
py
import numpy as np import functions as rr import reg_functions as rf from constants import const from scipy.stats import pearsonr import h5py import time from sklearn.preprocessing import PolynomialFeatures def analysis(X, response_tot, groups, iscal): RpredCV = rf.cv(X[iscal, :], response_tot[iscal], groups[isc...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
cfcf4c4c948d02a6254d41f9f56773077bb97583
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/201/47100/submittedfiles/testes.py
ffc9bae8827fb40a5106a1cf09f62f630d98ad23
[]
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
288
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO r=float(input('Quanto ganha por hora:')) h=float(input('Horas trabalhadas no mês:')) t=r*t print('%.2f' %t) inss=0.08: i=inss*t print('Desconto do INSS:' '%.2f' %i) sind=0.05: j=sind*t print('Desconto do sindicato:' '%.2f' %j)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c2db9fed8d3d7953430514b58aa47a57e52a59f2
6acea1c5206052393beb5cba132f40e55b637c11
/doc_curation/scraping/misc_sites/iitk.py
6df37d4e6779f4afcd0c5073d46022a249314662
[ "MIT" ]
permissive
sanskrit-coders/doc_curation
a44afacf68d1711bcebd02c97b30a42b6d82bccc
db330393d3df052c008811f4b442421900e5fa84
refs/heads/master
2023-08-27T09:41:22.784001
2023-08-11T05:40:46
2023-08-11T05:40:46
157,027,340
8
4
MIT
2022-12-08T08:26:49
2018-11-10T22:32:26
Python
UTF-8
Python
false
false
880
py
import logging import regex from doc_curation.scraping.html_scraper import souper from indic_transliteration import sanscript def dump_item(item_url, outfile_path, title_maker): logging.info(item_url) def html_fixer(soup): souper.tag_replacer(soup=soup, css_selector="table", tag_name="div") souper.eleme...
[ "vishvas.vasuki@gmail.com" ]
vishvas.vasuki@gmail.com
ccaa8331ba45c7e092821f902d34302c3be64a4b
af4abf0a22db1cebae466c56b45da2f36f02f323
/storage/team10/lib/Hash.py
c028a52b082c52b9030bc406caef42c3faf20994
[ "MIT" ]
permissive
joorgej/tytus
0c29408c09a021781bd3087f419420a62194d726
004efe1d73b58b4b8168f32e01b17d7d8a333a69
refs/heads/main
2023-02-17T14:00:00.571200
2021-01-09T00:48:47
2021-01-09T00:48:47
322,429,634
3
0
MIT
2021-01-09T00:40:50
2020-12-17T22:40:05
Python
UTF-8
Python
false
false
12,784
py
from Node import Node from graphviz import Digraph class TablaHash: def __init__(self, size, name, nCols): self.id = 0 self.Size = size-1 self.name = name self.contadorNodo = 0 self.nCols = nCols self.genericId = -1 self.pk = None self.values = [None]...
[ "noreply@github.com" ]
joorgej.noreply@github.com
f72b255f1a70060f3fae7db94812b435d5bb8b2d
818e5e78f84596a7c086b218fd4aa9e8ea912afe
/hackatons/materials/algo/source/T5_LinearStructure/P2_Queue/counter_game_deq.py
d78087eb4b0f2a733e40cb405b86b2885f5e47e4
[]
no_license
davendiy/forpythonanywhere
44fbc63651309598b58391667f0fead40e8fad91
1b9292ca33b06b17cd516e4e9913479edb6d35cd
refs/heads/master
2020-08-10T04:24:02.665635
2019-10-25T07:05:46
2019-10-25T07:05:46
214,255,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
#Лічилка з використанням деку from source.T5_LinearStructure.P2_Queue.counter_game import Player from source.T5_LinearStructure.P2_Queue.Deque import Deque def count_counter(): """ Функція розв'язує задачу "лічилка" """ d = Deque() # створити дек d n = int(input('Кількість ...
[ "davendiy@gmail.com" ]
davendiy@gmail.com
8333137c128e54828c5eee264b4aee1b358fa310
f0a1a85e8cae69144ce304d4c91b53b8f8cf5116
/mysite/blog/models.py
6bc8deb3e116bb18d028e1c31219e4e91c1c6bb9
[ "MIT" ]
permissive
ohduran-attempts/by-example
0a96b59cf41e3c955e8e744b0604c909168fd998
a56385c169d426090970f3f481d15fec50a9c603
refs/heads/master
2020-04-22T16:41:53.512719
2019-02-15T07:32:51
2019-02-15T07:32:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
from common.models import TimeStamped from django.conf import settings from django.db import models from django.urls import reverse_lazy from django.utils import timezone from taggit.managers import TaggableManager class PublishedManager(models.Manager): def get_queryset(self): return super().get_queryse...
[ "alvaro.duranb@gmail.com" ]
alvaro.duranb@gmail.com
a25581851ebc08774e92788b3f4f132d9410d65a
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/SSD_for_PyTorch/configs/regnet/mask_rcnn_regnetx-8GF_fpn_1x_coco.py
21f9a34973365b59715f06155431771e0ff8f61e
[ "Apache-2.0", "GPL-1.0-or-later", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,112
py
# Copyright 2022 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...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
bffe3775877350a0d53f049549cc6499bd1d2cee
36901e58fbdeabc7380ae2c0278010b2c51fe54d
/gatheros_subscription/urls/me.py
4823370a6d4c79d1b4002d326f190346c0136ed1
[]
no_license
hugoseabra/congressy
e7c43408cea86ce56e3138d8ee9231d838228959
ac1e9b941f1fac8b7a13dee8a41982716095d3db
refs/heads/master
2023-07-07T04:44:26.424590
2021-08-11T15:47:02
2021-08-11T15:47:02
395,027,819
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from django.conf.urls import include, url from gatheros_subscription import views urls = [ url( r'^subscriptions/$', views.MySubscriptionsListView.as_view(), name='my-subscriptions' ), ] urlpatterns_me = [url(r'^me/', include(urls))]
[ "hugoseabra19@gmail.com" ]
hugoseabra19@gmail.com
070fc92166fd5c5e64836d1cf9676f441f1cdd5c
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_6404600001200128_1/Python/ihadanny/r1_p1.py
f67fc6f333dd5df96ae47855e77a0df26307669e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
412
py
from sys import stdin import re import operator import bisect import sys import random cases = int(stdin.next().strip()) for case in range(1, cases+1): N = int(stdin.next().strip()) M = map(int, stdin.next().split()) drops = [max(i-j,0) for i, j in zip(M[:-1], M[1:])] max_eaten = [min(max(d...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
81370fb27ca8ee771d8333b297381817241fd383
9193e2743434893c76e45b85a6a2ebcef71e8e2d
/ch03/ans27.py
7e4795a48c12edf941443c284fa07ea89d030dc3
[]
no_license
kyodocn/nlp100v2020
d4f06a0eb089d7f056aa00817f79199fb4edfed2
99c66511352092a0f4c5028b1f440e09d6401331
refs/heads/master
2022-04-15T02:43:12.003780
2020-04-13T18:41:15
2020-04-13T18:41:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import re import pandas as pd df = pd.read_json('ch03/jawiki-country.json.gz', lines=True) ukText = df.query('title=="イギリス"')['text'].values ls, fg = [], False template = '基礎情報' p1 = re.compile('\{\{' + template) p2 = re.compile('\}\}') p3 = re.compile('\|') p4 = re.compile('<ref(\s|>).+?(</ref>|$)') for l in ukText[...
[ "upura0@gmail.com" ]
upura0@gmail.com
a2111854ac54c26359b72bf65a3d4e34aa50b31e
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/EYojuPCtvSzF2chkZ_1.py
d247c0967894694c7c4e84c2701804484f99a9dd
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
""" Create a function that returns the selected **filename** from a path. Include the **extension** in your answer. ### Examples get_filename("C:/Projects/pil_tests/ascii/edabit.txt") ➞ "edabit.txt" get_filename("C:/Users/johnsmith/Music/Beethoven_5.mp3") ➞ "Beethoven_5.mp3" get_filename("ffp...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
fde97c8249d30b9f96310f9a0f91c45db0dcdc11
4fe971fdd0fb1d87b2bfaa5fe4b249b121501836
/vignewton/managers/admin/images.py
a76a68be13c22e69ecf041c2f50c32321f7ec221
[ "Unlicense" ]
permissive
umeboshi2/vignewton
709c3395b74951385d1d3f9a932e4e6a6c1e0350
bf55f90a25ae616e003ff0f71643dbe5084e924f
refs/heads/master
2021-01-20T13:47:26.052679
2013-10-25T18:36:29
2013-10-25T18:36:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
from cStringIO import StringIO from datetime import datetime import transaction from PIL import Image from vignewton.models.sitecontent import SiteImage class ImageManager(object): def __init__(self, session): self.session = session self.thumbnail_size = 128, 128 def images_qu...
[ "joseph.rawson.works@littledebian.org" ]
joseph.rawson.works@littledebian.org
9f77e916c511b53114f58ea7fa8a56b79e0034a7
7a8bb4c1de15f987e3231590eae74c051bf33726
/SJVA_Scanner_KoreaTV_Download.py
6a40cfa985904b82d46ef3644e0cc39210ea8b19
[]
no_license
sunyruru/SJVA-Scanners
cbe6efa56be4c74a96059a91b32b60ff2ba4f3b6
5028c8c4aa58d4514f77ab46f3155f288c64b6f5
refs/heads/master
2020-04-21T13:40:04.306951
2019-01-28T08:21:35
2019-01-28T08:21:35
169,606,889
2
0
null
2019-02-07T16:53:39
2019-02-07T16:53:39
null
UTF-8
Python
false
false
3,916
py
# -*- coding: UTF-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') import re, os, os.path import Media, VideoFiles, Stack, Utils import time, json, traceback, io episode_regexps = [ r'(?P<show>.*?)[\s\.]E?(?P<ep>\d{1,2})[\-\~]E?\d{1,2}', #합본 걸리게 r'(?P<show>.*?)[eE](?P<ep>[0-9]{1,4})' ] date_rege...
[ "cybersol@naver.com" ]
cybersol@naver.com
9e0ed93c65839146d4639537314916ed89f2de42
cdd5c3238ba9feba53f95a04c247a846b15ecd09
/code/client/munkilib/updatecheck/unused_software.py
6c770cb491ffacf602e09ea131244321d63ffc2c
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
munki/munki
13d786513f8fd5dba6f533bfbea76d28c4836d8e
d3c9eb4ffccd280fe3e4bbce9544171cb6c2cc80
refs/heads/main
2023-08-27T23:19:04.095339
2023-08-01T23:44:10
2023-08-01T23:44:10
24,219,473
2,890
474
NOASSERTION
2023-08-22T15:15:44
2014-09-19T06:51:32
Python
UTF-8
Python
false
false
5,577
py
# encoding: utf-8 # # Copyright 2017-2023 Greg Neagle. # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "gregneagle@mac.com" ]
gregneagle@mac.com
7942255ce3e00ae3769a7cdbbb8edc73fc986e87
6b1cac18b81a4704c310fb30a30e2906c6137511
/onepanman_api/views/api/notice.py
26a0a1f3a0327c3e7ae9f34146fc170cb14d8ea3
[ "MIT" ]
permissive
Capstone-onepanman/api-server
973c73a4472637e5863d65ae90ec53db83aeedf7
1a5174fbc441d2718f3963863590f634ba2014e1
refs/heads/master
2022-12-09T22:43:23.720837
2020-03-20T00:43:21
2020-03-20T00:43:21
234,227,137
0
0
MIT
2022-12-08T02:37:19
2020-01-16T03:29:36
Python
UTF-8
Python
false
false
247
py
from rest_framework import viewsets from onepanman_api.models import Notice from onepanman_api.serializers.notice import NoticeSerializer class NoticeViewSet(viewsets.ModelViewSet): queryset = Notice serializer_class = NoticeSerializer
[ "dngusdnd@gmail.com" ]
dngusdnd@gmail.com
87be5e5ab69a0137437df7340bd28ac0c71105e1
88994e2e840a70ec702cee09e1a13813aa6f800c
/cg/constants/backup.py
16d3c41653d24f57dbede48641c08572ba634d6f
[]
no_license
Clinical-Genomics/cg
1e9eb0852f742d555a48e8696914ebe177f7d436
d2ec6d25b577dd6938bbf92317aeff1d6b3c5b08
refs/heads/master
2023-09-01T02:04:04.229120
2023-08-31T13:50:31
2023-08-31T13:50:31
82,567,026
19
8
null
2023-09-14T15:24:13
2017-02-20T14:29:43
Python
UTF-8
Python
false
false
35
py
MAX_PROCESSING_FLOW_CELLS: int = 1
[ "noreply@github.com" ]
Clinical-Genomics.noreply@github.com
dd17276b517f0934344b4de656f26eca45e56c03
df9b342f71cee4306c52ee5e29d105f8712d7439
/BOJ/하노이탑/다른사람.py
b447ae5dea94644e425cae796590c5652794ad21
[]
no_license
qkreltms/problem-solvings
a3fbd93d5664830761c70ef6a476e94ada399af0
cade3fc738c0b7b40ae4bf0385fdd552313ad5a1
refs/heads/master
2023-07-19T08:17:48.580833
2021-08-31T08:45:57
2021-08-31T08:45:57
136,621,853
2
0
null
null
null
null
UTF-8
Python
false
false
187
py
def f(n, a, b, c): if(n == 1): print(a, c, sep = " ") else: f(n-1, a, c, b) f(1, a, b, c) f(n-1, b, a, c) n = int(input()) print(2**n-1) if(n <= 20): f(n, 1, 2, 3)
[ "junghooncentralpark@gmail.com" ]
junghooncentralpark@gmail.com