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
f9c7055b43709d3b9c8e75815970faffbc2bdfd7
e7f7a4688c587978129f6e95a4735ba99b44028e
/python/aocrecs/logic/users.py
30ea6147f129eeaaea8e232983a432bc9d972827
[]
no_license
Jester-5115/aocrecs.com
97eb521e0006a54e25c2984062134140fb680976
d6e60a0211f0d8aa6a81f30f2153da1947da9078
refs/heads/master
2022-06-11T06:42:26.967342
2020-05-06T00:57:04
2020-05-06T00:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,254
py
"""Users.""" import asyncio from aocrecs.cache import cached @cached(warm=True, ttl=86400) async def get_people(database): """Get all people.""" query = """ select people.id, people.name, people.country, count(distinct match_id) as match_count, min(extract(year from matches.pl...
[ "happyleaves.tfr@gmail.com" ]
happyleaves.tfr@gmail.com
133719c18752571f8bdb0264e27fc9d332272cf0
b0eef0efd10556a4b054574fdd2d43124cb0856b
/npbench/benchmarks/polybench/gemm/gemm_dace.py
60a2a8faeadf250f679ec0ac4e94b79a20fadd19
[ "BSD-3-Clause" ]
permissive
learning-chip/npbench
140d38be2095b54393de6e0008264b54b7cf686b
f2f545afe3603d5c8f1771f26d660f25ce4a3cda
refs/heads/main
2023-05-10T09:54:52.719759
2021-05-31T12:09:48
2021-05-31T12:09:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
import numpy as np import dace as dc NI, NJ, NK = (dc.symbol(s, dtype=dc.int64) for s in ('NI', 'NJ', 'NK')) @dc.program def kernel(alpha: dc.float64, beta: dc.float64, C: dc.float64[NI, NJ], A: dc.float64[NI, NK], B: dc.float64[NK, NJ]): C[:] = alpha * A @ B + beta * C
[ "alexandros.ziogas@inf.ethz.ch" ]
alexandros.ziogas@inf.ethz.ch
9ed4a38cd1b16b119a215d4a84dccafd921ba499
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/bpmn/models/timer_event_definition.py
5840f64a909841c9a4b1037fac983ef652b1ef2f
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
341
py
from dataclasses import dataclass from .t_timer_event_definition import TTimerEventDefinition __NAMESPACE__ = "http://www.omg.org/spec/BPMN/20100524/MODEL" @dataclass class TimerEventDefinition(TTimerEventDefinition): class Meta: name = "timerEventDefinition" namespace = "http://www.omg.org/spec/...
[ "chris@komposta.net" ]
chris@komposta.net
993491362cac36aa4d43c4583fbe256a8c1b0a1b
06b06ce31d4369dcb2a998a80fb7e5a3349803ce
/pm4pyws/handlers/xes/process_schema/indbpmn_freq/get_vis.py
4ad8061aed08cc453266324ca1be1ff655f08767
[ "AGPL-3.0-only" ]
permissive
Javert899/pm4py-ws
f3df4dea442ff0e46fc5ee6df427520c580c96b5
78fa062df449d3e5076df87f094f9d5461684f1a
refs/heads/master
2021-07-07T22:59:35.024414
2020-06-02T06:00:57
2020-06-02T06:00:57
175,439,265
0
1
Apache-2.0
2019-03-13T14:39:16
2019-03-13T14:39:16
null
UTF-8
Python
false
false
5,229
py
from pm4py.algo.discovery.inductive.versions.dfg import imdfb as inductive_miner from pm4py.objects.petri.exporter.pnml import export_petri_as_string from pm4py.visualization.common.utils import get_base64_from_gviz, get_base64_from_file from pm4py.visualization.petrinet import factory as pn_vis_factory from pm4py.algo...
[ "a.berti@pads.rwth-aachen.de" ]
a.berti@pads.rwth-aachen.de
741025911f1f089732b7ae56e651f09b18d60dee
0909dd4fd63f093022369948622c2627a5ddc47c
/data/root-.pyload-config/userplugins/hoster/PotloadCom.py
a197a1370e1f3a24cde538a76ef14c790fa660bc
[]
no_license
kurtiss/htpc
3c4f523f0b12e878211d51c1ea63ec1645d4f62c
ef6d859b92dbcace76abef04ef251ee0bf09cf8b
refs/heads/master
2021-01-18T13:46:47.932073
2015-07-01T21:51:18
2015-07-01T21:51:18
34,362,836
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
# -*- coding: utf-8 -*- from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo class PotloadCom(DeadHoster): __name__ = "PotloadCom" __type__ = "hoster" __version__ = "0.02" __pattern__ = r'http://(?:www\.)?potload\.com/\w{12}' __description__ = """Potload.com hoster plugin""...
[ "kurtiss@gmail.com" ]
kurtiss@gmail.com
0a0f62ffcda8415ae96d81cc0d92adf29ef4e134
45df3588d0ec1a2bd7dbe4af104a49aa5775d034
/login/migrations/0006_auto_20150704_0050.py
6f6528eefa50ad415c8b0b0d31a033845f338a3a
[]
no_license
wittawin/DB_Project
043db7eb3d70ef32c9c97d51a242775b3e115f73
1cc1fe84c75906d670f7bb4dd130093bc15035b8
refs/heads/master
2020-04-06T03:43:21.516583
2015-07-13T05:47:09
2015-07-13T05:47:09
37,700,817
0
1
null
2015-06-19T04:06:07
2015-06-19T04:06:06
JavaScript
UTF-8
Python
false
false
1,549
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('login', '0005_auto_20150702_1652'), ] operations = [ migrations.AddField( model_nam...
[ "o_k_t@hotmail.com" ]
o_k_t@hotmail.com
40cf7bfb40a7253320a5af80422f4429a514b686
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211116215520.py
b16070314c076f8f32ae238f6200861adebba00c
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
12,046
py
import data as list_product import random import pandas as pd # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩ...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
d4e6b2b4adda45acf4e45b2520d5c9f3185ba272
a9386fd8a14e66c27b5059f562dc239f2c4b0ff7
/MARC/scripts/identify_main_records.py
9f920cb300e3828fb4c594f1247bf856a943d6e5
[]
no_license
bentley-historical-library/vandura
20f93e2f9cf2370e40537f863da9f2f19db329a0
0fefc0bf92c2487987a9c23e70187718c3b949f0
refs/heads/master
2021-01-17T00:54:08.023435
2016-11-04T20:00:04
2016-11-04T20:00:04
37,206,505
0
18
null
2016-11-04T20:00:05
2015-06-10T15:45:33
Python
UTF-8
Python
false
false
808
py
from vandura.config import marc_dir from lxml import etree import os from os.path import join ns = {'marc': 'http://www.loc.gov/MARC21/slim'} marcxml_dir = join(marc_dir, "marcxml_no_ead_joined") no_main_record = [] for filename in os.listdir(marcxml_dir): print filename tree = etree.parse(join(marcxml_dir, filen...
[ "djpillen@umich.edu" ]
djpillen@umich.edu
0c8dd8ab790b36c62b5231a4281d16558b899c4b
d61d5962b2806a26319d39985f0ee453f320b965
/venv/FOO/lib/python3.3/site-packages/distribute-0.6.28-py3.3.egg/setuptools/command/bdist_egg.py
5653bb6f2c84384e0fbce9e87fc5993f57519152
[]
no_license
darthlukan/pysys
35c97c616bb45536775da74c66bcb74e8238af6a
e8d2dc1572e7f509b676972202e4d5dc0c3a962a
refs/heads/master
2020-04-16T10:43:52.871834
2015-06-17T19:17:34
2015-06-17T19:17:34
2,656,017
3
1
null
null
null
null
UTF-8
Python
false
false
18,598
py
"""setuptools.command.bdist_egg Build .egg distributions""" # This module should be kept compatible with Python 2.3 import sys, os, marshal from setuptools import Command from distutils.dir_util import remove_tree, mkpath try: from distutils.sysconfig import get_python_version, get_python_lib except ImportError: ...
[ "darthlukan@gmail.com" ]
darthlukan@gmail.com
53d329f2547fb0ca91031e8381921444d11ea1ef
4392b40a932619bf8168364cc1df5695069d7de0
/company/migrations/0001_initial.py
388fb36a0a4c18497a7718512fa722d44b12f193
[]
no_license
kashul/python-employee-management
b704aa5276029da55286d9b731d8c306403c77c8
99669c889bfafe1a6aa430e88cc947768a34d0ed
refs/heads/master
2021-01-05T07:53:04.894932
2020-02-16T20:18:24
2020-02-16T20:18:24
240,941,465
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# Generated by Django 2.2.9 on 2020-02-12 08:23 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Company', fields=[ ('id', models.AutoField(...
[ "you@example.com" ]
you@example.com
a4556d8058bb140036b9e3b5e0fcbe01e48868ee
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-eip/setup.py
32b43371f0b7a4cbcb4f14b2c6485d610e25527a
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# coding: utf-8 from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkeip" VERSION = "3.0.39-rc" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" DESCRIPTION = "EIP" this_directory = path.abspath(path.di...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
483fe42f132aa6d928108f3433fc12b490fb879c
84b266bbe18394196ee64cad190b2550189e46a6
/catkin_carto/build/cartographer_ros/catkin_generated/generate_cached_setup.py
cf9094534137c2e280e5272a056ce5509eeffcfd
[]
no_license
Asher-1/Robots
4d3a2f9938720a116a3eb749e36decb878b47aa5
8056144d1a677584b92db084704b32c540dd6ce8
refs/heads/master
2022-03-17T09:10:12.012984
2019-09-30T07:36:37
2019-09-30T07:36:37
209,523,717
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "ludahai19@163.com" ]
ludahai19@163.com
3c3ecd6cf0faf3fc4b6e48066c32bd06f5121123
a802c639bd7af799c6089a6ccda671a7f2436952
/Code/palindromes-and-strings/palindromes.py
04474ab25877392f5242f74190ab17078aaedc4e
[]
no_license
franklin-phan/cs1.3-code
45a2cf045b5c4543def86d71b1cf89a3c8e880b5
793238b42e5164cf35bc4d66d3126e07763f67f5
refs/heads/master
2022-07-18T19:40:57.559754
2020-05-16T15:35:33
2020-05-16T15:35:33
261,888,975
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
#!python import string # Hint: Use these string constants to ignore capitalization and/or punctuation # string.ascii_lowercase is 'abcdefghijklmnopqrstuvwxyz' # string.ascii_uppercase is 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' # string.ascii_letters is ascii_lowercase + ascii_uppercase def is_palindrome(text): """A string ...
[ "franklin.phan123@gmail.com" ]
franklin.phan123@gmail.com
65032a03183b176630e1971383a44e349f51af27
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/sympy_sympy/sympy-master/sympy/printing/jscode.py
30ed1d31eb8912c3436ecc791fef7779f336064b
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
10,902
py
""" Javascript code printer The JavascriptCodePrinter converts single sympy expressions into single Javascript expressions, using the functions defined in the Javascript Math object where possible. """ from __future__ import print_function, division from sympy.core import S from sympy.codegen.ast import Assignment ...
[ "659338505@qq.com" ]
659338505@qq.com
cab64dfea12c82e4e1dee006551d8ca5cd935379
958685165bfeb4122cc3473659a6d0c89c5cae95
/crea8s_document/__openerp__.py
d30ebd982f07258e0590d64507368c1fd10d7b7e
[]
no_license
tringuyen17588/OpenERP-7.0
44efee7735af65d960c5adb4b03a1a329f5c4a57
2486261e4d351d4f444ec31e74c6b0e36ed2fb82
refs/heads/master
2021-01-10T02:45:24.320726
2016-02-19T06:05:21
2016-02-19T06:05:21
52,064,852
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "tri@crea8s.com" ]
tri@crea8s.com
94d7e474c04310786000a77d2378ee88e885d7e7
a30e94ffd1d7ead28155c5ef978592b095edb755
/task2.py
cefb20d110aac7dc2d10a9c2f2a110f460c493ff
[]
no_license
Kanydef/Task-3
0eb625c8510b699527e02e777b0d9a218184b819
305f34d40898b996224395f9d4c7d6334a617662
refs/heads/master
2023-03-07T12:03:21.118878
2021-02-24T17:30:51
2021-02-24T17:30:51
341,980,620
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
def len_of_text(text): return len(text)
[ "you@example.com" ]
you@example.com
e58dc2d0c83ac782f98bdc93e308cfaaf1cf99dc
11e62879d16539494d49a25da66f70c79a390809
/apps_data/courseevent/migrations/0011_auto_20150917_1206.py
d6d5b8ce371ad8f31197ac07af012de3424331f4
[]
no_license
sabinem/mentoki
cdf558912f5811d9c78081a0e37c16d016fcb445
947881b5100d516a36cdff2bb629b2252b313c1b
refs/heads/master
2021-04-30T12:15:14.831327
2018-02-22T12:25:42
2018-02-22T12:25:42
121,265,643
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('courseevent', '0010_auto_20150917_1151'), ] operations = [ migrations.AlterField( model_name='classroommenuitem'...
[ "sabine.maennel@gmail.com" ]
sabine.maennel@gmail.com
536d55634727551f9b11918fe071badd22904a29
6710c52d04e17facbc9fb35a7df313f7a2a7bd53
/1343. Maximum Product of Splitted Binary Tree.py
ff1ec6afa6cdba2b325dc5a13f9fd2aaafb48399
[]
no_license
pwang867/LeetCode-Solutions-Python
535088fbe747a453360457728cc22cf336020bd2
188befbfb7080ba1053ee1f7187b177b64cf42d2
refs/heads/master
2022-11-13T16:20:28.211707
2020-06-28T06:01:14
2020-06-28T06:01:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None # postorder DFS, time/space O(n), space can be reduced to O(1) # if we traverse the tree twice class Solution(object): def maxProduct(self, roo...
[ "wzhou007@ucr.edu" ]
wzhou007@ucr.edu
f98c01a95f2a08c3020f7e5fde118ba80e8c4c0a
0724a1443d36f43d7c65d53b4a382a8b4d4ddbdc
/fastreid/modeling/meta_arch/baseline.py
25002ffa342bf2c90d28939a8d7dcf393e1790de
[]
no_license
zhaoyang10/fast-reid
cb36f8c331f4a1597b59146ca225fa339398ee81
8458bece5e66e5760db10bd79482fd5129080d77
refs/heads/master
2022-09-02T14:10:21.739881
2020-05-23T02:42:31
2020-05-23T02:42:31
266,256,158
2
0
null
2020-05-23T03:33:50
2020-05-23T03:33:49
null
UTF-8
Python
false
false
1,886
py
# encoding: utf-8 """ @author: liaoxingyu @contact: sherlockliao01@gmail.com """ from torch import nn from fastreid.layers import GeneralizedMeanPoolingP from fastreid.modeling.backbones import build_backbone from fastreid.modeling.heads import build_reid_heads from fastreid.modeling.losses import reid_losses from ....
[ "sherlockliao01@gmail.com" ]
sherlockliao01@gmail.com
472635eab099842b2c7971ba98c40498d1c8e55c
771f9e6a6142d7c4a7301ea3f9cfbea3b96fe3e6
/euler6.py
300c7f5468f8812fcdca90d41a4f430e168463b6
[]
no_license
bpachev/proj_euler
6f92a952be37bac148a7e0d5d655673e920d0e86
223946d4ed805fe58bd6a05f403e1d632cb818f4
refs/heads/master
2021-07-01T17:03:37.647324
2021-06-01T04:49:32
2021-06-01T04:49:32
38,787,430
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
import sys n = int(sys.argv[1]) x = (n*(n+1)/2)**2 - (n*(n+1)*(2*n+1))/6 print x
[ "benjaminpachev@gmail.com" ]
benjaminpachev@gmail.com
877fb51692afd6a5356fdea40857e2355e46b8dc
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/pylint/test/functional/member_checks_no_hints.py
ebef4f4473e79dcb11e771aeb7549c085363a5d9
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-pylint-2.3.0-pmz72kdc34fnma6vo5sc2y3c5wp5sjeb/lib/python3.7/site-packages/pylint/test/functional/member_checks_no_hints.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
bea7cc57bbbfcff2a1a64b8322a3ab6f10e6ee2f
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/RPG Quest Generator/World/Types/__init__.py
19ee6e62f5111f3720e456ead6ae4fa5b8560e0c
[]
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
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:860c31adaf073aea021ccfed493a9f4723e137aecec7153d79e47daede57d296 size 603
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
35bff181e53c2792d25843ffc5c9c62a576ce855
7bead245354e233f76fff4608938bf956abb84cf
/test/test_docx_to_jpg_result.py
a930dd574706fee13420d148e2031d88c030addb
[ "Apache-2.0" ]
permissive
Cloudmersive/Cloudmersive.APIClient.Python.Convert
5ba499937b9664f37cb2700509a4ba93952e9d6c
dba2fe7257229ebdacd266531b3724552c651009
refs/heads/master
2021-10-28T23:12:42.698951
2021-10-18T03:44:49
2021-10-18T03:44:49
138,449,321
3
2
null
null
null
null
UTF-8
Python
false
false
973
py
# coding: utf-8 """ convertapi Convert API lets you effortlessly convert file formats and types. # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import cloudmersive_convert_api_...
[ "35204726+Cloudmersive@users.noreply.github.com" ]
35204726+Cloudmersive@users.noreply.github.com
353f1336028ba1040a8d2d9147d2a48c7f9191fa
5774101105b47d78adb7a57eefdfa21502bbd70c
/python 语法基础/d14_tkinter_python图形开发界面库/tkinter/4.Entry输入框控件.py
9bf10d812b0679dcee7e06b82b7d000faf7f46ef
[]
no_license
zhlthunder/python-study
34d928f0ebbdcd5543ae0f41baaea955c92f5c56
0f25dd5105ba46791842d66babbe4c3a64819ee5
refs/heads/master
2023-01-12T18:39:47.184978
2018-10-07T23:48:04
2018-10-07T23:48:04
90,516,611
0
1
null
2022-12-26T19:46:22
2017-05-07T07:39:48
HTML
UTF-8
Python
false
false
695
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #author:zhl """ entry :是输入控件 也可以用于显示简单的文本内容 """ import tkinter win=tkinter.Tk() win.title("zhl") win.geometry("400x400+200+0") entry1=tkinter.Entry(win) entry1.pack() entry2=tkinter.Entry(win,show="*")##show:设置显示的字符,比如用于密码输入用 entry2.pack() ##绑定变量: e=tkinter.Varia...
[ "zhlthunder@163.com" ]
zhlthunder@163.com
588cd35857f3424e2c9372ddb4eeb1294f0837ea
2b682a01d19960e2039e2e064a742289b30da62c
/SConsArguments/__init__.py
3a2ce52979fe633271dce63036a377676cd3d59f
[ "MIT" ]
permissive
mcqueen256/scons-arguments
952a427977c42161802225464e99bfeb4e5e9fd5
f4b783fc79fe3fc16e8d0f58308099a67752d299
refs/heads/master
2021-01-01T16:11:53.403454
2017-02-15T19:46:28
2017-02-15T19:46:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,696
py
"""`SConsArguments` **Intro** This package implements SCons *arguments*. A SCons *argument* is an entity which correlates up to three *endpoints*: - single construction variable in SCons environment (``env['NAME'], env.subst('$NAME')``), - single SCons command-line variable (``scons variable=value`` in command-line)...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
9f4870d0d0b21b619f73baa217ea590c3fd450da
493e117a8366b4cde04d4d9946aa785cc0192ecb
/Student/Collegeinfo/Myproject.py
e3f39ab293925e390dece1f110c1e56418428ba6
[]
no_license
Srinivasareddymediboina/Web-Development-Srinivasa-Reddy-
adf59be95f656fd04823ab44db662c90f6ee22c9
715b58a0453fdd738c24b0045ed873e9254b097e
refs/heads/master
2020-06-22T11:46:08.844365
2019-07-19T13:58:07
2019-07-19T13:58:07
197,709,422
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
from flask import Flask,render_template,url_for,request from flask_sqlalchemy import SQLAlchemy app=Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI']="sqlite:///collegeinfo.db" mydb=SQLAlchemy(app) #database connection class Signup(mydb.Model): id=mydb.Column(mydb.Integer,primary_key=True) s_name=mydb.Column(my...
[ "nivas0803@gmail.com" ]
nivas0803@gmail.com
e8358392affc756e228a44fc5f8e9622e3308900
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_091/ch19_2020_09_09_20_16_20_148677.py
8b1d6477e3882b89861c988bdaf5494780422e46
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
def classifica_triangulo(a,b,c): if a==b==c: return "equilátero" if a!=b!=c: return "escaleno" else: return "isósceles" x=10 y=10 z=10 print(classifica_triangulo(x,y,z)
[ "you@example.com" ]
you@example.com
05e15eaff68be2de7c993cd556581c4ef317d9ab
7d406f258fb0023d8af653c8640925ea16b0d655
/example/commands/ex_commands.py
0eb87bccf3c9be3af867cd143a922d5f12a3bb50
[]
no_license
volitilov/Docker_learn
d0923b8434132203112077de2de9ef1c66972a60
458132701554d2b63513d5840cf0a233314b487c
refs/heads/master
2023-04-16T02:15:06.284505
2023-04-01T05:39:55
2023-04-01T05:39:55
148,593,986
0
0
null
null
null
null
UTF-8
Python
false
false
3,850
py
# ex_commands.py # Примеры консольных комманд для Docker # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: $ sudo chmod ug+s /usr/bin/docker # Убирает постаянные запросы на прова sudo $ docker run -it ubuntu /bin/bash # Флаг -i оставляет STDIN открытым, даже, когда вы не присоединены к #...
[ "volitilov@gmail.com" ]
volitilov@gmail.com
1d815389eb5d5cc4f8dfd679b3ab2b2b281e1ae2
52b5773617a1b972a905de4d692540d26ff74926
/.history/sets_20200609191132.py
95ca5d989d437a421a34401aef5d7ebfbf8f353f
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import json def Strings(str): # dictionary--> key value pairs values = {} newArray = [] keys = [] for i in str: newArray.append(i.split(":")) for j in range(0,len(newArray)): if newArray[j][0] in values: # if newArray[j][0...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
2ff51a591a4dd0ef1dbae1c23f2d680ecd694e88
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/gnome/ui/RestartStyle.py
a71cd108a8b9be92cb98a6eb21bd9b784f5ea662
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
# encoding: utf-8 # module gnome.ui # from /usr/lib64/python2.6/site-packages/gtk-2.0/gnome/ui.so # by generator 1.136 # no doc # imports import gnome.canvas as __gnome_canvas import gobject as __gobject import gobject._gobject as __gobject__gobject import gtk as __gtk class RestartStyle(__gobject.GEnum): # no d...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
5e2106eeff6d1bd89c7cca7cf86ee5f22713f038
8f77a1ae843c3ea650cabcacbc89c142f77feebd
/visualize.py
e0e68450d1c119689cc900081d58c50b112594b9
[]
no_license
bpachev/cs640
57d114c11be89d8e4de31f388dbd3e57f54cb06e
6f4481dbb9b5906cd9ad346ce7711aa7f9deab68
refs/heads/master
2020-08-05T12:12:14.623723
2019-10-14T21:04:37
2019-10-14T21:04:37
212,499,332
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
import numpy as np import argparse as ap import matplotlib.pyplot as plt def ordered_balanced_sample(y, samples_per_class=20): """ y -- a numpy array with k unique values samples_per_class -- an integer specifying how many samples to draw for each unique value Returns: inds -- indices to get the samples in orde...
[ "benjaminpachev@gmail.com" ]
benjaminpachev@gmail.com
4d513a0de2b90b6a4ad593424332864a3b945a96
14484978017d08be00c45acd10c4d10869f31b16
/10-photoresistor/photoresistor.py
ddb63a923b855e8b71cdd31348042bc1bc51546b
[]
permissive
raspberrypi-tw/gpio-game-console
991f1517ae60cf19c0dbce24fa5919ea46776425
5319addec034dae72bf829e5873626b00b69e3d5
refs/heads/master
2021-06-18T11:42:23.674188
2021-03-23T08:38:15
2021-03-23T08:38:15
47,773,598
15
17
BSD-3-Clause
2019-07-01T05:29:10
2015-12-10T16:23:42
Python
UTF-8
Python
false
false
1,248
py
#!/usr/bin/python3 #+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ #|R|a|s|p|b|e|r|r|y|P|i|.|c|o|m|.|t|w| #+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ # # photoresistor.py # Sense the light by photoresistor # # Author : RaspberryPi-spy.co.uk # Date : 06/22/2014 # Origin : http://www.raspberrypi-spy.co.uk/2013/10/analogue-sensors-on...
[ "sosorry@raspberrypi.com.tw" ]
sosorry@raspberrypi.com.tw
12ee5ec32428fcb5d2cd8286d92efb4e5a28ada7
a5747577f1f4b38823f138ec0fbb34a0380cd673
/16/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisST_t-channel_antitop_4f_inclusiveDecays.py
ee7e0b4a08f8c621e19fb53592e5c6b27702b852
[]
no_license
xdlyu/fullRunII_ntuple
346fc1da4cec9da4c404aa1ec0bfdaece6df1526
aa00ca4ce15ae050c3096d7af779de44fc59141e
refs/heads/master
2020-08-03T07:52:29.544528
2020-01-22T14:18:12
2020-01-22T14:18:12
211,673,739
0
3
null
null
null
null
UTF-8
Python
false
false
2,395
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'ST_t-channel_antitop_4f_inclusiveDecays' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Summer16_23Sep2...
[ "XXX@cern.ch" ]
XXX@cern.ch
a8a2b17652d06ce3c5c3f7dcb3f4ccdadcb4f203
32226e72c8cbaa734b2bdee081c2a2d4d0322702
/railrl/torch/vae/dataset/sawyer_door_push_and_reach_data.py
84da7999020d7b64fe0be7e0b8977003e3597c01
[ "MIT" ]
permissive
Asap7772/rail-rl-franka-eval
2b1cbad7adae958b3b53930a837df8a31ab885dc
4bf99072376828193d05b53cf83c7e8f4efbd3ba
refs/heads/master
2022-11-15T07:08:33.416025
2020-07-12T22:05:32
2020-07-12T22:05:32
279,155,722
0
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
import time import numpy as np import os.path as osp import pickle from gym.spaces import Box from multiworld.envs.mujoco.sawyer_xyz.sawyer_door import SawyerDoorPushOpenEnv, SawyerDoorPushOpenEnv, SawyerDoorPushOpenAndReachEnv from multiworld.core.image_env import ImageEnv from railrl.exploration_strategies.base im...
[ "asap7772@berkeley.edu" ]
asap7772@berkeley.edu
507e82f5adc9314085b0165139719ae82759ed26
33e2187c1815b1e1209743f5a4870401d2097d71
/CTCI/Linked Lists/q2.3.py
8437767ca78a47b5f0d14ead1c26ca2024f034c0
[]
no_license
sachinjose/Coding-Prep
8801e969a3608b5e69dc667cba7f3afaf7273e88
95f6bc85e7c38034e358af47ef4c228937cd4629
refs/heads/master
2022-12-26T22:49:48.510197
2020-09-22T07:05:55
2020-09-22T07:05:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
class Node: def __init__(self, item): self.value = item self.next = None def del_mid_node(node): front = node.next node.value = front.value node.next = front.next front.next = None def print_ll(node): i = node while i.next != None : print(i.value) i = i.next return 1 a = Node(1) b = Node(2) c = Node...
[ "sachinjose16@gmail.com" ]
sachinjose16@gmail.com
6fdd64dde6543bb625a445cda0a46e9507f66944
3644ae945f57bfcd2feb7e5039094a7155abac6e
/myenv/bin/easy_install
4cc677cbc30a91799505fa1bdc911333c0958fd8
[]
no_license
guarav00009/tab-inline-use
78212731e5ed69cbbfe60bf8c61d69768deb6f83
60128a12bac6cefd3cc671c0bd6fca548a39b806
refs/heads/master
2020-12-20T05:27:33.389581
2020-01-24T09:41:50
2020-01-24T09:41:50
235,975,164
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/var/www/html/dummy/myenv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gauravp@clavax.com" ]
gauravp@clavax.com
a2dd768f8a186fca693fd3dd4d8504d4e289e3bd
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/change_enterprise_realname_authentication_request.py
ffce54df52b790c9f5b5cf55ebbdeb800872ff27
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ChangeEnterpriseRealnameAuthenticationRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. at...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
d0026f19a145876761727a4f6448e85456207581
4d5aa9cafa363de94fa87211503f4416d8c3904e
/dbaas/physical/admin/replication_topology.py
e1e93b7c50b541953eb5cc34a14ba25c719bd062
[]
permissive
jaeko44/python_dbaas
0c77da58c4e72719126d69535ac7a16e9ef27d34
4fafa4ad70200fec1436c326c751761922ec9fa8
refs/heads/master
2020-12-03T00:18:15.535812
2017-04-20T21:16:50
2017-04-20T21:16:50
96,011,945
0
0
BSD-3-Clause
2020-04-04T05:16:53
2017-07-02T08:46:17
Python
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.contrib import admin class ReplicationTopologyAdmin(admin.ModelAdmin): list_filter = ("has_horizontal_scalability", "engine") search_fields = ("name",) list_display = ("name", "versions", "has_horizontal_scalabili...
[ "mauro_murari@hotmail.com" ]
mauro_murari@hotmail.com
b523666030e030ea978ef346ea49101a187f219c
7c85bf860949ee2c9245530a0c2b40de5b2181f9
/albert_lstm_crf/albert/lcqmc_progressor.py
7af945b348e3b4de4f91545fb4e80ed146465983
[]
no_license
wjunneng/2019-FlyAI-Chinese-Named-Entity-Recognition
6bc081e5d8cc8828af48a3d104240c86a0dcc03c
308aa38673b8d1fc1a7c70f9d2b6599a29abcf4d
refs/heads/master
2022-04-05T03:14:22.749509
2020-01-15T08:29:52
2020-01-15T08:29:52
226,505,227
0
0
null
null
null
null
UTF-8
Python
false
false
7,996
py
import torch import csv from callback.progressbar import ProgressBar from model.tokenization_bert import BertTokenizer from common.tools import logger from torch.utils.data import TensorDataset class InputExample(object): def __init__(self, guid, text_a, text_b=None, label=None): """Constructs a InputExam...
[ "1194348056@qq.com" ]
1194348056@qq.com
832d3933942ae2d8daff1fd7920625da1b66c86c
54f068e9cc75e2f8526b84f5d4692e7132ae4e3b
/utils/metrics.py
29678b7db1c7fb09dcf0cc9b04442db09ca70f41
[]
no_license
ChendongLi/LightGBM-with-Focal-Loss
36f9260a4140a69fc4c6dfe5fb06e77db257e962
edb4fdc003d007c1887482cbf6cd3f0a534a9370
refs/heads/master
2022-03-06T18:24:57.335602
2019-11-09T19:56:45
2019-11-09T19:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
import numpy as np import lightgbm as lgb from sklearn.metrics import f1_score from scipy.misc import derivative def sigmoid(x): return 1./(1. + np.exp(-x)) def best_threshold(y_true, pred_proba, proba_range, verbose=False): """ Function to find the probability threshold that optimises the f1_score Comment: t...
[ "jrzaurin@gmail.com" ]
jrzaurin@gmail.com
0995853d407dcabc204161adc3c4ca37a2636203
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03326/s669032235.py
e2f14f49eb1efa395d9d49db4d17b4b77fa894e9
[]
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
357
py
n,m = map(int, raw_input().split()) r = 0 cakes = [map(int, raw_input().split()) for _ in range(n)] for b in range(8): cakes.sort(key = lambda x: sum([x[i] * (-1 if ((b >> i) & 1) else 1) for i in range(3) ])) s = 0 for i in range(n-1, n - 1 - m, -1): s += sum([cakes[i][j] * (-1 if ((b >> j) & 1) else +1) for j...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
96484682bf491548ed5328bef04648f80baf509c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03503/s669355709.py
49c704585473d519a9db4a93c8490a499f0fba40
[]
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
732
py
N = int(input()) Fs = [] for _ in range(N): Fs.append(list(map(int, input().split()))) Ps = [] for _ in range(N): Ps.append(list(map(int, input().split()))) def calc(isOpen): global ans isAllClose = True for i in range(10): if isOpen[i]: isAllClose = False if isAllClose: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d17c91b48b0b2e8421bab774ed86dd07adb24bef
62a212c3d7936c727e09b48d3c10495ea8db12fe
/src/backend/flask_interface/chapter.py
043ccc6a4e7dd0845ac7e801c52f759896cca129
[]
no_license
antonpaquin/Homulili
080a2398e9ee7f19566be3de8a30903ae03a3b9e
3c56ee5c41d5bf3f86a3325c6117d6795e12cdf2
refs/heads/master
2021-09-06T15:19:53.166674
2018-02-08T00:21:20
2018-02-08T00:21:20
110,213,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
import logging from .common import standard_request logger = logging.getLogger(__name__) def create(manga_id, name, sort_key): return standard_request( model='chapter', method='create', params={ 'manga_id': manga_id, 'name': name, 'sort_key': sort_key,...
[ "antonpaquin@gmail.com" ]
antonpaquin@gmail.com
a9d284d1c29f3355b27a4b6b659c9011c7035a01
0466a5dc950f4e89d8696329b89aa50246c7e7e3
/deepwind-review/fig4_TKE.py
b4f60c186b01b542678dc16c336049133bc6c62c
[]
no_license
HansInM36/ppcode
00bc94e6177b8110681127514517f277d7a7b07a
e5fe9de8ddf2991f2fe95bde38045ee02bbcfe10
refs/heads/master
2023-07-19T03:42:38.667878
2021-09-30T22:59:48
2021-09-30T22:59:48
313,005,222
2
0
null
null
null
null
UTF-8
Python
false
false
3,481
py
import os import sys sys.path.append('/scratch/ppcode/standard') sys.path.append('/scratch/ppcode/standard/palm_std') sys.path.append('/scratch/ppcode/standard/sowfa_std') import imp import palm_data_ext from palm_data_ext import * import sowfa_data_ext_L2 from sowfa_data_ext_L2 import * import numpy as np import matpl...
[ "xni001@gfi3104118.klientdrift.uib.no" ]
xni001@gfi3104118.klientdrift.uib.no
3d61802c5666a8f8f7ba46bfd6447c11fc437c7f
8b5fc00f5ec726a6f7f95806bfef0836341b925c
/posts/views.py
7d0fcca802622e0a1f619d4fcf98a6fdd9b597b1
[]
no_license
TareqMonwer/drf-blog-api
ae09d6dd484600e53ec109aef44203e353bbe5e9
2f5feb5c6540937589865827126052d5e3df2302
refs/heads/master
2022-12-21T03:23:11.252508
2021-06-04T06:50:42
2021-06-04T06:50:42
231,928,429
2
0
null
2022-12-09T05:20:50
2020-01-05T14:20:10
Python
UTF-8
Python
false
false
1,256
py
from django.contrib.auth import get_user_model from rest_framework import generics, permissions from rest_framework import viewsets from .serializers import PostSerializer, UserSerializer from .permissions import IsAuthorOrReadOnly from .models import Post class PostViewsets(viewsets.ModelViewSet): permission_cl...
[ "tareqmonwer137@gmail.com" ]
tareqmonwer137@gmail.com
f4821de951254d90c2a5a3596e891a557b05b01c
d0b4aebfde0c268df3456f4783cb3b8217a5fc4a
/trailingZeros.py
85a8788ba53153aff8aea0c4e8a7d0f7defebc92
[]
no_license
kns94/algorithms_practice
a42adf3c55383df8d41e7862caef7437fd6207ae
6dfdffc075488af717b4e8d486bc3a9222f2721c
refs/heads/master
2020-12-24T10:52:06.448310
2017-01-18T06:31:37
2017-01-18T06:31:37
73,129,504
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
import math class Solution(object): def trailingZeroes(self, n): """ :type n: int :rtype: int """ if n == 0 or n == 1: return 0 count5 = 0 i = 1 while 1: five_power = pow(5,i) if five_power <...
[ "kns971@gmail.com" ]
kns971@gmail.com
4829a2a9fcc7d02ba61654e17872292ce81df8ac
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/aio/_configuration.py
2c331f35d733d1b680d8fd78368d8f4befc0d50c
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
3,324
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
22c6b2d0385de20ddad130b398ff3e6a01df299d
6af96cf3c590a5418e87873e892fe704698c8ef8
/70_defaultdict.py
281ba6267c4a2054f8881edf257e87b39e5ec63f
[]
no_license
vikasjoshis001/Python-Course
f228ed362160831ee00c8498e679186463887982
40efa480b3b39b3abd1b2a0c6bad0af3db2ce205
refs/heads/master
2023-05-03T15:37:20.841229
2021-05-21T14:41:18
2021-05-21T14:41:18
283,190,082
1
0
null
null
null
null
UTF-8
Python
false
false
610
py
from collections import defaultdict integer = input() z = integer.split(" ") numbers = [] for i in range(len(z)): numbers.append(int(z[i])) n = numbers[0] m = numbers[1] val = 0 letters1 = [] letters2 = [] for i in range(n): letter1 = input() letters1.append(letter1) for j in range(m): letter2 = inp...
[ "vikasjoshis001@gmail.com" ]
vikasjoshis001@gmail.com
b977c172e927dece56619620e7c01d1f27f71a5e
80b7f2a10506f70477d8720e229d7530da2eff5d
/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/length_828f03942c0c7f1066634a834f100b60.py
3eb70607e1d1f2a231a564d5640da8ac05fb13b3
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
10,356
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
a64a9b4eb6ae0419fb6af4b76c697c99733b6cf5
51d7e8c09793b50d45731bd5ab9b531b525cf6db
/src/garage/replay_buffer/her_replay_buffer.py
f791f14c354f608206c914eb901b7dbd7924e91a
[ "MIT" ]
permissive
fangqyi/garage
454247849a6a3f547557b3fac3787ba9eeb0391f
ddafba385ef005f46f913ab352f9638760e5b412
refs/heads/master
2023-02-25T00:43:18.903328
2021-01-26T01:52:15
2021-01-26T01:52:15
267,667,220
0
0
MIT
2020-05-28T18:35:08
2020-05-28T18:35:07
null
UTF-8
Python
false
false
7,276
py
"""This module implements a Hindsight Experience Replay (HER). See: https://arxiv.org/abs/1707.01495. """ import inspect import numpy as np from garage.replay_buffer.replay_buffer import ReplayBuffer def make_her_sample(replay_k, reward_fun): """Generate a transition sampler for HER ReplayBuffer. ...
[ "qiaoyi.fang@duke.edu" ]
qiaoyi.fang@duke.edu
6b930c08f6dc07b90cf59fb9cb1ac9a3830f6e29
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/hybrid_parallel_pp_alexnet.py
2b85788ae56c620704877df1e7e4b190686738d1
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
4,361
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
de88cd83e3b8a51b96ce1b2e81d3970b1a7214e0
c4430be891d7dcf2e0239daef571aa11e6b122d9
/first_project/myvenv/Scripts/django-admin.py
971d8096b9930fc04492a4475e82de237994acd8
[]
no_license
dimka1993kh/Dj_HW_1
c7c2965445a3aedc7d8ef0297e021a3c13993f4c
abe871fd416d8756040ba4d0997ed9b912997488
refs/heads/master
2023-04-05T08:08:23.299196
2021-04-04T14:38:32
2021-04-04T14:38:32
354,566,411
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
#!c:\users\khmel\desktop\learn python\django\dj_hw_1\first-project\first_project\myvenv\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: ...
[ "dimka1993kh@gmail.com" ]
dimka1993kh@gmail.com
599ccf4e1f0916c3176b912789efa3f658cbdb4c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4173/codes/1807_2568.py
64b3458d63d7a9e02086d4b85cfdb08b825b6adb
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
123
py
from numpy import* a = int(input()) f = "*" d = "o" g = 0 for i in range(a): b = f*(a-i) +d*g+ (f*(a-i)) g += 2 print(b)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
207f4756d70c535fbb750eda3d45d712a85888c4
61ed20e6b48b6b1eeadb81a54fbb7b41422b0a45
/Paramable.py
db51399142ff44247f5f82fc4d713574d8eafef0
[]
no_license
Sandy4321/CPT-Plus-Python
2d57e16549c4b6c95018985a62242f8291bb6b3b
a9b591850f87265d9914dad01666e400b3c111bd
refs/heads/main
2023-04-26T05:26:45.864688
2021-05-28T08:12:26
2021-05-28T08:12:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
class Paramable(): parameters= {} def __init__(self,Parameters= None): self.parameters= Parameters def setParameters(self,Parameters): self.parameters= Parameters def paramDouble(self,name): value= self.parameters.get(name) return self.parameters.get(name) if value is not None else None de...
[ "noreply@github.com" ]
Sandy4321.noreply@github.com
e65f8759871d46b0463a8e7457ec37b01d0a83f3
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/atcoder/arc/arc041/b.py
f8131fe642418ae62dd1e8cb36ea5b96495ceec6
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
dxy = zip([1, 0, -1, 0], [0, 1, 0, -1]) N, M = map(int, raw_input().split()) b = [map(int, list(raw_input())) for i in xrange(N)] a = [[0] * M for i in xrange(N)] k = 1 for d in xrange(N / 2 + 1): for y in [d, N - 1 - d]: for x in xrange(1, M - 1): if b[y][x] != 0: a[y + k][x] += b[y][x] tmp = b[y][x] ...
[ "roiti46@gmail.com" ]
roiti46@gmail.com
46776886973da6232431438c8a45777e116011fd
ef1d38cfef63f22e149d6c9dd14e98955693c50d
/webhook/protos/pogoprotos/networking/requests/social/register_push_notification_message_pb2.py
1e4e24b2159c6c9ed0aa4e88909c80e38daba977
[]
no_license
Kneckter/WebhookListener
4c186d9012fd6af69453d9d51ae33a38aa19b5fd
ea4ff29b66d6abf21cc1424ed976af76c3da5511
refs/heads/master
2022-10-09T04:26:33.466789
2019-11-24T17:30:59
2019-11-24T17:30:59
193,372,117
2
0
null
2022-09-23T22:26:10
2019-06-23T16:39:34
Python
UTF-8
Python
false
true
7,374
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/networking/requests/social/register_push_notification_message.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import mes...
[ "kasmar@gitlab.com" ]
kasmar@gitlab.com
29625969c4fa8eb1596cd2889429c282fe376910
10929509cef390f1abe152be8e2cfe18e02c0588
/ACFdata/Src/Archive/ACF_LenetwithoutRelu.py
c9e4c33828d0e00bf1ae6bfc6fe7b81efb4f01c3
[]
no_license
Shanlans/Practice
8c0e78cb5f191138ffe3ecd26c3f2ac1b37bf260
0b4cdbfe2bc298f14cbbdd8e5a749e948e8bffe9
refs/heads/master
2020-04-17T20:39:45.585080
2019-01-22T02:55:58
2019-01-22T02:55:58
166,915,576
1
0
null
null
null
null
UTF-8
Python
false
false
12,528
py
# -*- coding: utf-8 -*- # Created by Shanlan Shen on 8/10/2017 import tensorflow as tf from PIL import Image import os import shutil import time import cv2 import scipy.misc import numpy as np import BasicLayerDef as layer import input_data as input_data from scipy.misc import toimage import tensor...
[ "shenshanlan@gmail.com" ]
shenshanlan@gmail.com
349e1fc75603fb2a77c4a4ae73ce7c02cb283bba
fdca7a438cd891ba306c495adfc864155290ef59
/correlation.py
a125394b05dd75db5b34746dae87164f8b445be1
[]
no_license
libowei1213/SportsNews
974487d9f8fccf53058865e01cd2bff9b48e9bb6
b803521a2ca74e4ffe5e5b929ac40df6d34ab808
refs/heads/master
2020-06-10T01:22:37.085751
2016-12-26T05:22:30
2016-12-26T05:22:30
76,117,308
1
0
null
2016-12-10T14:26:29
2016-12-10T14:26:29
null
UTF-8
Python
false
false
618
py
# coding=utf=8 import json from gensim.models import Word2Vec import jieba import pickle import time word2vecModel = Word2Vec.load_word2vec_format("word2vec.model", binary=True) docSimilarDict = pickle.load(open("doc_similar_dict.bin", "rb")) # 最相似的五个词 def getSimilarWords(query): words = [] for word in quer...
[ "libowei123123@qq.com" ]
libowei123123@qq.com
ab6902cfcf050ee28d4ff7c717a5a4ba1e04fc36
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/mdipierro-web2py-book/allPythonContent.py
f5303ac789b75332ceb70ba4cf58b85c58f744d2
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
274,650
py
__FILENAME__ = appadmin # -*- coding: utf-8 -*- # ########################################################## # ## make sure administrator is on localhost # ########################################################### import os import socket import datetime import copy import gluon.contenttype import gluon....
[ "dyangUCI@github.com" ]
dyangUCI@github.com
4ad3f1bfcd9adf71a4b5a303e0b835e5210d386d
10d98fecb882d4c84595364f715f4e8b8309a66f
/schema_guided_dst/baseline/data_utils.py
8bf65e2ee9d492a166e54bdb9a7b59022245151b
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
31,713
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
fba5abb5537747e7cc126ea07b763f6364349fb2
64bf21e9b4ca104557d05dc90a70e9fc3c3544a4
/tests/journal.api/error_notes.py
50feb7eb121fc99ee678a8fa0d7ab561c62092d7
[ "BSD-3-Clause" ]
permissive
pyre/pyre
e6341a96a532dac03f5710a046c3ebbb79c26395
d741c44ffb3e9e1f726bf492202ac8738bb4aa1c
refs/heads/main
2023-08-08T15:20:30.721308
2023-07-20T07:51:29
2023-07-20T07:51:29
59,451,598
27
13
BSD-3-Clause
2023-07-02T07:14:50
2016-05-23T04:17:24
Python
UTF-8
Python
false
false
1,033
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2023 all rights reserved def test(): """ Verify access to the channel metadata """ # access import journal # make a channel channel = journal.error("test.channel") # get ...
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
c0462a4ca8e0ff3c2c98dfe1890f96192888bc97
d15bdaddab59d1cfea76790004cbad3e5f0c2c55
/batkin/build_isolated/turtlebot_rapps/catkin_generated/generate_cached_setup.py
cfb3a54dcdae05fc7b697092f444954b92aa6741
[]
no_license
gychen-n/robot
4265a1ff469d22550b6b537d1c81aa846ee7641a
0663a33aea2c2de9e3ac5863307619091e5b5959
refs/heads/main
2023-04-10T13:32:06.623682
2021-04-16T00:41:04
2021-04-16T00:41:04
358,431,232
0
0
null
null
null
null
UTF-8
Python
false
false
4,315
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "gyc@autolabor-host.autolabor-domain" ]
gyc@autolabor-host.autolabor-domain
39d31965ec76714a376a7a0cbb38aed5333fe64b
114c1f7ceff04e00591f46eeb0a2eb387ac65710
/g4g/ALGO/Searching/Coding_Problems/19_kth_smallest_element_in_row-wise_col-wise_sorted_2D_array.py
d937b87c8f1d5d3cabcec04d1e613b21de61577b
[]
no_license
sauravgsh16/DataStructures_Algorithms
0783a5e6dd00817ac0b6f2b856ad8d82339a767d
d3133f026f972f28bd038fcee9f65784f5d3ea8b
refs/heads/master
2020-04-23T03:00:29.713877
2019-11-25T10:52:33
2019-11-25T10:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,650
py
''' Kth smallest element in a row-wise and column-wise sorted 2D array ''' ''' Algorithm: 1) Build a min heap of elements from first row. A heap entry also stores row number and column number. 2) Do following k times. a) Get minimum element (or root) from min heap. b) Find row number and col...
[ "GhoshSaurav@JohnDeere.com" ]
GhoshSaurav@JohnDeere.com
99a772ef56a0045b29c6d562794d22d2f7a8bfef
b0ea541c0aef0fa8946aef3130490dc4fa068e9b
/ABC_PS1/catkin_ws/build/learning_ros_noetic/Part_4/mobot_mapping/catkin_generated/pkg.installspace.context.pc.py
ed8cd615c7530093768d6061c2a7484ac5d64dde
[]
no_license
ABCaps35/ECSE473_ABC
b66c8288412a34c72c858e16fd2f93540291b8ff
f03b9ec90317dd730aa723cb7fa7254ea03e412f
refs/heads/master
2023-03-09T09:46:47.963268
2021-02-11T03:44:19
2021-02-11T03:44:19
337,913,499
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "mobot_mapping" PROJECT...
[ "acapelli345@gmail.com" ]
acapelli345@gmail.com
83b3ede674e43d3ec88b0c8e25d143815f963c05
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_slaps.py
c2b00dc1a180251eb620011c2de56eb92b11daf6
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#calss header class _SLAPS(): def __init__(self,): self.name = "SLAPS" self.definitions = slap self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['slap']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
edc0b0666f4d7c9b685ef4a501def9c7fb1478b4
253089ef4ee99c50cdaa23fde4d789794789e2e9
/97/holidays.py
74ab4707382349d1194683c15ef69f436f20dcc0
[]
no_license
Zaubeerer/bitesofpy
194b61c5be79c528cce3c14b9e2c5c4c37059259
e5647a8a7a28a212cf822abfb3a8936763cd6b81
refs/heads/master
2021-01-01T15:01:21.088411
2020-11-08T19:56:30
2020-11-08T19:56:30
239,328,990
1
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
from collections import defaultdict import os from urllib.request import urlretrieve from bs4 import BeautifulSoup import re from datetime import datetime # prep data tmp = os.getenv("TMP", "/tmp") page = 'us_holidays.html' holidays_page = os.path.join(tmp, page) urlretrieve( f'https://bites-data...
[ "r.beer@outlook.de" ]
r.beer@outlook.de
d153b13c505232c9e7cad79ccf9c2e66cb7852b9
6a819308924a005aa66475515bd14586b97296ae
/venv/lib/python3.6/site-packages/PIL/ImagePalette.py
f33722f5ac2d67b2c4d3fefb58007d195c3253e7
[]
no_license
AlexandrTyurikov/my_first_Django_project
a2c655dc295d3904c7688b8f36439ae8229d23d1
1a8e4d033c0ff6b1339d78c329f8beca058b019a
refs/heads/master
2020-05-04T13:20:20.100479
2019-05-04T23:41:39
2019-05-04T23:41:39
179,156,468
0
0
null
null
null
null
UTF-8
Python
false
false
6,320
py
# # The Python Imaging Library. # $Id$ # # images palette object # # History: # 1996-03-11 fl Rewritten. # 1997-01-03 fl Up and running. # 1997-08-23 fl Added load hack # 2001-04-16 fl Fixed randint shadow bug in random() # # Copyright (c) 1997-2001 by Secret Labs AB # Copyright (c) 1996-1997 by Fredrik Lundh #...
[ "tyur.sh@gmail.com" ]
tyur.sh@gmail.com
ae482f5f801c9fc7d714c8b1c1d136d4a5ea6ea7
ba095b34fb62cff6f5f6f32dc7036f13b45681a2
/llia/synths/algo/algo_constants.py
95a9f6e36228d341519f6ef51d8d46c1e077f12a
[]
no_license
plewto/Llia
7d3c60bd7355d02e9b00e97c82f24da5fa83b0f4
97f530ff0841b9604f0d9575e7e1f0e3c0660be0
refs/heads/master
2020-05-21T20:39:07.223990
2018-04-30T02:28:55
2018-04-30T02:28:55
63,315,753
17
2
null
2016-08-04T17:10:17
2016-07-14T08:05:33
Python
UTF-8
Python
false
false
1,968
py
# llia.synths.algo.algo_constants CFILL = "black" CFOREGROUND = "white" COUTLINE = "white" MOD_RANGE_COUNT = 6 KEYSCALES = (-18,-12,-9,-6,-3,0,3,6,9,12,18) LFO_RATIOS = ((0.125,"1/8"), (0.250,"1/4"), (0.375,"3/8"), (0.500,"1/2"), (0.625,"5/8"), (0....
[ "plewto@gmail.com" ]
plewto@gmail.com
f51d6f03e2249ff68e86a5c1b53336e2988f0477
3f9511cdf1fc3dc76f1acda62be061f6442a1289
/tests/sparkml/test_imputer.py
9b238cf25b163506d3744f808f38d0d27c16a63e
[ "Apache-2.0" ]
permissive
xadupre/onnxmltools
e0aa5a2731c07a87cf0ec0f7b52507dc8c25e6cf
facefb245d991aa30c49bff7510a803997bc8137
refs/heads/master
2023-08-08T10:43:32.769022
2022-06-20T11:24:03
2022-06-20T11:24:03
331,380,871
0
0
Apache-2.0
2021-01-20T17:30:45
2021-01-20T17:30:44
null
UTF-8
Python
false
false
3,912
py
# SPDX-License-Identifier: Apache-2.0 import sys import unittest import numpy from pyspark.ml.feature import Imputer from onnx.defs import onnx_opset_version from onnxconverter_common.onnx_ex import DEFAULT_OPSET_NUMBER from onnxmltools import convert_sparkml from onnxmltools.convert.common.data_types import FloatTens...
[ "noreply@github.com" ]
xadupre.noreply@github.com
61fd36e2270c1aa85f01ad2f827292a06b68e384
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_overs.py
ce1fa766d347ed234f486bbfb1bcc49794d6c8dd
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from xai.brain.wordbase.nouns._over import _OVER #calss header class _OVERS(_OVER, ): def __init__(self,): _OVER.__init__(self) self.name = "OVERS" self.specie = 'nouns' self.basic = "over" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8f4d202437faa4e43520033760111cb066a89fb0
49122876b08f17e2f6a2a1efe41f0e2fc3623db6
/publication/migrations/0001_initial.py
7dbdcb207aa0e5c90b8e0fcc58da4dedc0f0cf92
[]
no_license
Ansagan-Kabdolla/vestnik
bb2010daa22155953501fc5405ac9cdd36c5b68c
40155e92e91d5c56c9018f51e277e7c64c95c134
refs/heads/master
2022-04-26T09:21:34.656317
2020-04-29T10:44:44
2020-04-29T10:44:44
259,898,209
0
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
# Generated by Django 2.2.4 on 2020-04-10 11:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Predmeti', fields=[ ...
[ "ansagankabdolla4@gmail.com" ]
ansagankabdolla4@gmail.com
fe0dee7118ce7fdfd87aaf3117f961056f616985
bf0e884ed3c9b57d0bc022c45b4bd50f7f5ba34a
/tomheon/day19/day19-1.py
33e533ec6d1b5d1deebfdbd7cbb3db6ce9861bea
[ "MIT" ]
permissive
sean-hart/advent2020
8db117f3e778ec8044e97ce8a0d17edeb6351415
1174afcedf9a8db5134803869e63ea182637fc29
refs/heads/main
2023-02-07T15:52:57.956987
2020-12-27T00:42:55
2020-12-27T00:42:55
317,643,649
0
8
MIT
2020-12-27T00:42:56
2020-12-01T19:17:17
Python
UTF-8
Python
false
false
2,481
py
import sys from itertools import takewhile, dropwhile def make_atom_checker(rule_text): atom = rule_text.strip('"') def _check_atom(message): nonlocal atom if message.startswith(atom): return True, message[len(atom):] else: return False, message return _ch...
[ "tomheon@gmail.com" ]
tomheon@gmail.com
6a74b019629064bc3870806038bd746ab965c5b1
ad69290bc5210424259ac0481aff95896ad92433
/dalet/addresses.py
607c611a12803171dbcf2d2f7afa368974f9870d
[ "MIT" ]
permissive
reuf/dalet
9ade431ffb49e0db01d98553be3afd653b9e2a5c
3af0c266cdd9b390da9c2a828d5b0cde1ee2b8b8
refs/heads/master
2021-06-18T17:26:53.656073
2017-05-28T18:23:38
2017-05-28T18:23:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
import re import countrynames from normality import stringify from normality.cleaning import remove_control_chars, collapse_spaces LINE_BREAKS = re.compile(r'(\r\n|\n|<BR/>|\t|ESQ\.,|ESQ,|;)') REMOVE = re.compile(r'(ATTENTION|ATTN|C/O|UNDELIVERABLE DOMESTIC ADDRESS)') COMMATA = re.compile(r'(,\s?[,\.])') def clean_a...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
c85d7cd9365249c757dcb0502bd5334fa989d9f7
1121c346e6ef7e3e59f0b372424d9c78c3ecebf1
/repository.py
2d7a9d5a0cd0e76afa5058197f6a30c3168965dd
[]
no_license
xueyuanl/pyt
321c8b1112ad9ee20bb8362fff13e598f300e8b4
3d1ca47b16ebb072ac4564a450934386e92852f2
refs/heads/master
2021-01-01T10:43:28.267669
2020-02-09T04:07:37
2020-02-09T04:07:37
239,243,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,706
py
import argparse import collections import configparser import hashlib import os import re import sys import zlib class GitRepository(object): """A git repository""" worktree = None gitdir = None conf = None def __init__(self, path, force=False): self.worktree = path self.gitdir ...
[ "15186846+xueyuanl@users.noreply.github.com" ]
15186846+xueyuanl@users.noreply.github.com
41ace3de1f5e247e9a7099f5a77e3381aca8dbd4
50db4dc1c6dd3014c15f6359f52b3673687833d6
/models/generate_nonlinearmodels.py
9e3162f4dae47ef7c44a387861eab5533022a25a
[]
no_license
zuowanbushiwo/systemidentifier
754618990f32bc38a437793b30e0087664bb3763
41ba79cddeb8f76ffed1d3435d629e014f7d04c5
refs/heads/master
2023-03-23T07:24:22.949150
2016-09-22T13:19:01
2016-09-22T13:19:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,044
py
import sumpf import nlsp class HammersteinGroupModel(object): """ A class to construct a Hammerstein Group Model. """ AFTERNONLINEARBLOCK = 1 AFTERLINEARBLOCK = 2 def __init__(self, input_signal=None, nonlinear_functions=None, filter_impulseresponses=None, aliasing_compensati...
[ "logeshthamil@gmail.com" ]
logeshthamil@gmail.com
3b6881e7df189cf51aa028d4693e8f04399096ab
582ffc028085cacb1d69315889e611fb31a23f98
/ch5-blog-app/blog/migrations/0001_initial.py
3567050eba1387160f830e3b68f3f643499ea4b8
[ "MIT" ]
permissive
balazskiss1985/djangoforbeginners
af04e0d441414e777b952325fdf62339e1b4c2c8
827b1b11592e851a6c4948d849ae8815f9c138c7
refs/heads/master
2022-12-05T13:48:01.648379
2020-08-24T14:09:02
2020-08-24T14:09:02
289,945,354
0
0
MIT
2020-08-24T14:07:22
2020-08-24T14:07:21
null
UTF-8
Python
false
false
786
py
# Generated by Django 3.1rc1 on 2020-07-22 17:09 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "will@wsvincent.com" ]
will@wsvincent.com
2cf275cca9a55fcce0e3b89acf707b082409bf94
7fa06a5089a9b5a10553d457501abbaa0a7f1112
/opencv/pro4_Detect_face_and_eyes/face_and_eye_detection.py
de47c4a64a40009cd07e1c4b0b8e6587cafcf91f
[]
no_license
dbetm/processing-images
15e0687b8688328c98af2979b36e7ebd595141ef
53dcf5431d47cf19d84c086e61a99df9a35c69fe
refs/heads/master
2020-04-18T00:18:23.077066
2019-11-27T05:14:12
2019-11-27T05:14:12
167,071,638
1
0
null
null
null
null
UTF-8
Python
false
false
963
py
import numpy as np import cv2 # Cargar el clasificador en cascada face_classifier = cv2.CascadeClassifier("../Haarcascades/haarcascade_frontalface_default.xml") eye_classifier = cv2.CascadeClassifier("../Haarcascades/haarcascade_eye.xml") # Cargamos la imagen y la convertimos # a escala de grises img = cv2.imread("ob...
[ "davbetm@gmail.com" ]
davbetm@gmail.com
f96e024db9c5b10be18599484feec775f26283c2
1f8464d34c5fec12449133ebd7c18bc8629b1e18
/infer.py
4d5dac2a62e68c15dff0ead583c74d8c94d23dd4
[]
no_license
markflies777/retinanet-digit-detector
4eff6f1591e5adfaac115aca2c2a12b5d7735f6c
6aadef08bfc29297479dce182ca2d4b553eddea7
refs/heads/master
2022-01-13T02:17:31.861004
2019-05-13T12:15:24
2019-05-13T12:15:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
# -*- coding: utf-8 -*- from keras_retinanet import models from keras_retinanet.utils.image import read_image_bgr, preprocess_image, resize_image import matplotlib.pyplot as plt import cv2 import os import numpy as np import time from retina.utils import visualize_boxes MODEL_PATH = 'snapshots/resnet50...
[ "penny4860@gmail.com" ]
penny4860@gmail.com
8f756e3bb14502ea7e325811d0c6fd2120a152ac
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2673/60585/281192.py
0974fa348779c9a871dc14eaae1e67868df5eecf
[]
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
237
py
t=eval(input()) for _ in range(t): n=bin(eval(input())).replace('0b','') res=n[0] for i in range(1,len(n)): if res[-1]==n[i]: res+='0' else: res+='1' print(int(res,2))
[ "1069583789@qq.com" ]
1069583789@qq.com
bf65e117900e20d5e6f3d1d8fa220ae79b2e3121
c77b2f06a971d5e77a3dc71e972ef27fc85475a5
/algo_ds/_general/merge_sort.py
64cb2a65de1663f9525ecdc465874a585bde22de
[]
no_license
thefr33radical/codeblue
f25520ea85110ed09b09ae38e7db92bab8285b2f
86bf4a4ba693b1797564dca66b645487973dafa4
refs/heads/master
2022-08-01T19:05:09.486567
2022-07-18T22:56:05
2022-07-18T22:56:05
110,525,490
3
6
null
null
null
null
UTF-8
Python
false
false
988
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Oct 12 20:13:25 2017 @author: gowtham """ def sorter(arr,low,mid,high): start1=low start2=mid+1 temp=[] start1=int(start1) start2=int(start2) while(start1<=mid and start2<=high): if(arr[start1]<arr[start2]): ...
[ "imperial.gauntlet@gmail.com" ]
imperial.gauntlet@gmail.com
fc3350506279dd9c1c2a5b781c39c33bb77c568b
a6678062b0cd9f2477e9e25d03f7a83f91ce994e
/upk/apk.py
378107a37b43996269a9fc7970cdbe772aa0c035
[ "MIT" ]
permissive
Cologler/upk-python
d0e2068984254ffbe4f35512751d63be3ad522e9
f20f4ff3167d7a5a089523154b0b8f47973ea311
refs/heads/main
2023-04-17T06:34:59.427532
2021-04-29T15:54:36
2021-04-29T15:54:36
314,580,019
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- # # Copyright (c) 2020~2999 - Cologler <skyoflw@gmail.com> # ---------- # # ---------- from typing import TypedDict, Optional from logging import Logger import zipfile import xml.etree.ElementTree as et from .androidManifestDecompress import read class _PackageInfo(TypedDict): package: Op...
[ "skyoflw@gmail.com" ]
skyoflw@gmail.com
38573492b46389b756279bc94787a0408c6ec72b
2ccb99e0b35b58622c5a0be2a698ebda3ab29dec
/testing/web-platform/tests/XMLHttpRequest/resources/chunked.py
7adabbfd7f471a7491508f613868300836ae74fc
[ "LicenseRef-scancode-w3c-03-bsd-license", "BSD-3-Clause" ]
permissive
roytam1/palemoon27
f436d4a3688fd14ea5423cbcaf16c4539b88781f
685d46ffdaee14705ea40e7ac57c4c11e8f31cd0
refs/heads/master
2023-08-20T10:11:13.367377
2023-08-17T07:28:43
2023-08-17T07:28:43
142,234,965
61
16
NOASSERTION
2022-03-30T07:54:03
2018-07-25T02:10:02
null
UTF-8
Python
false
false
666
py
def main(request, response): chunks = ["First chunk\r\n", "Second chunk\r\n", "Yet another (third) chunk\r\n", "Yet another (fourth) chunk\r\n", ] response.headers.set("Transfer-Encoding", "chunked"); response.headers.set("Trailer", "X-Test-Me"); r...
[ "roytam@gmail.com" ]
roytam@gmail.com
ed4b009dca4014b02c967094d6632e645622c5d6
f64d8201c2e55d7631d0a03a7a51d146c7d5c761
/00Python代码/flask_learn/20g_demo/utils.py
f6b41e014ff1ddfbb5427b0bc39e0615117f3ce2
[]
no_license
wh-orange/CodeRecord
cd14b5ccc1760a3d71762fef596ba9ab8dac8b8c
0e67d1dafcb2feaf90ffb55964af7a9be050e0ee
refs/heads/master
2022-01-18T10:26:27.993210
2019-08-04T17:38:35
2019-08-04T17:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
#encoding: utf-8 from flask import g def login_log(): print u'当前登录用户是:%s' % g.username def login_ip_log(ip): pass
[ "ljressrg@gmail.com" ]
ljressrg@gmail.com
6b3067f48101cec3d7d205b4a8a24c5bf2432457
05b7569b3999b3871fa1c72bdff172accfe7a48c
/nacao/PreProcess.py
d19da833d48f720edb7aa83198cd4b9293bef261
[]
no_license
nanqianbeiquan/keras
d997cf2188ccb0e8e73143c26a7283ebd1275c42
576a32b4ccc75fc723a5f8662de1460a26b43822
refs/heads/master
2021-05-07T03:07:38.841726
2017-11-15T02:24:33
2017-11-15T02:24:33
109,337,972
0
0
null
null
null
null
UTF-8
Python
false
false
7,051
py
# -*- coding: utf-8 -*- import numpy as np import cv2 import os import random import time class PreProcess(object): def ConvertToGray(self,Image,filename): GrayImage = cv2.cvtColor(Image,cv2.COLOR_BGR2GRAY) return GrayImage def ConvertToBpp(self,GrayImage,filename): App,Bpp =...
[ "18801791073@163.com" ]
18801791073@163.com
e03823bb1b0db26108a8bda4155029fbfe027a13
0ba4cb23671ef141b530b42892c3904bf035c26b
/examples/mybot.py
66279362900805dd4beafa9b42e9a2d4288654a8
[]
no_license
Mika64/irc3
02b52904b008ee6076fc1fc564e0e7b2e3385777
f21e2e2ac482e9a30b81f89d27367a49121a790b
refs/heads/master
2021-01-15T09:08:43.126775
2014-05-01T14:53:07
2014-05-01T14:53:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
# -*- coding: utf-8 -*- import logging.config from irc3.plugins.command import command import logging import irc3 @irc3.plugin class MyPlugin: """A plugin is a class which take the IrcBot as argument """ def __init__(self, bot): self.bot = bot self.log = self.bot.log @irc3.event(irc3...
[ "gael@gawel.org" ]
gael@gawel.org
6fe6f2b7352f3fc6f5888617910a5fc2aa936cb3
2276e1797b87b59e4b46af7cbcb84e920f5f9a92
/Python/Best Time to Buy and Sell Stock II.py
8cd02052d473ccf42a41121ad0539327088ee6f4
[]
no_license
ZhengyangXu/LintCode-1
dd2d6b16969ed4a39944e4f678249f2e67f20e0a
bd56ae69b4fa6a742406ec3202148b39b8f4c035
refs/heads/master
2020-03-18T04:44:31.094572
2016-01-10T00:20:44
2016-01-10T00:20:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
""" Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). However, you may not engage in multiple transactions at the same ...
[ "anthonyjin0619@gmail.com" ]
anthonyjin0619@gmail.com
8c7cbee9d2cc83756d0ac306ffcc3fc0f20ffb50
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/comtypes/test/test_createwrappers.py
e0dafe908c7b84e4ef0a488ed37fe7d3931eec0f
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
4,063
py
from __future__ import print_function import glob import os import unittest import warnings import comtypes.client import comtypes.client._generate import comtypes.typeinfo def setUpModule(): raise unittest.SkipTest("I have no idea what to do with this. It programmatically creates " ...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
ca078658112b8f49322be175767767b2c2e644c1
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/n14.py
dda4f425ca523a25582510ef2c480711e09fbf6e
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9d568ee0da0b7d38e5e42f909ce7e3d97e831202
c085578abc19db18ee0766e1f9598d79a3acdbe1
/290-Word-Pattern/solution.py
d8cff43f74d5110e9f754da90d549719e16ebaca
[ "MIT" ]
permissive
Tanych/CodeTracking
efb6245edc036d7edf85e960972c34d03b8c707a
86f1cb98de801f58c39d9a48ce9de12df7303d20
refs/heads/master
2020-05-21T17:40:10.105759
2016-10-09T18:20:42
2016-10-09T18:20:42
60,616,356
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
class Solution(object): def wordPattern(self, pattern, strs): """ :type pattern: str :type str: strs :rtype: bool """ if not pattern and not strs: return True strlist=strs.split(" ") if len(strlist)!=len(pattern): r...
[ "ychtan@email.gwu.edu" ]
ychtan@email.gwu.edu
11caa4d42c734d8c3a4f79a5af69e9e8bfef024c
7882860350c714e6c08368288dab721288b8d9db
/1일차/for(9번문제).py
e480f0cd6dd980f03e75a5161a7f9cd507a5ccb1
[]
no_license
park-seonju/Algorithm
682fca984813a54b92a3f2ab174e4f05a95921a8
30e5bcb756e9388693624e8880e57bc92bfda969
refs/heads/master
2023-08-11T18:23:49.644259
2021-09-27T10:07:49
2021-09-27T10:07:49
388,741,922
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
num = 8 while num > 0: num -= 1 if num % 2 == 0: continue print("{:^7}".format("*"*num))
[ "cucu9823@naver.com" ]
cucu9823@naver.com
a643e7b0f7385c7628d0d02dc81cde3902e637f6
1c91439673c898c2219ee63750ea05ff847faee1
/tools/deployment/pytorch2torchscript.py
f261b7c952602bc3c48f6f0cfaa8465bfccdb901
[ "Apache-2.0" ]
permissive
ChenhongyiYang/GPViT
d7ba7f00d5139a989a999664ab0874c5c9d53d4d
2b8882b2da41d4e175fe49a33fcefad1423216f4
refs/heads/main
2023-06-08T00:10:07.319078
2023-05-26T15:52:54
2023-05-26T15:52:54
577,075,781
78
2
null
null
null
null
UTF-8
Python
false
false
4,364
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import os import os.path as osp from functools import partial import mmcv import numpy as np import torch from mmcv.runner import load_checkpoint from torch import nn from mmcls.models import build_classifier torch.manual_seed(3) def _demo_mm_inputs(i...
[ "chenhongyiyang@Chenhongyis-MacBook-Pro.local" ]
chenhongyiyang@Chenhongyis-MacBook-Pro.local
4e26b65bf4b0d1429e7f5b31c70652efb3ce0222
3e00e7fa0e2d41911fe91d858e0a9d2d0c1367c3
/excercises/Closures and Decorators/Decorators 2 Name Directory.py
4a868d9bed83072b64d4024cf67d5523db44cc90
[]
no_license
Marius-Juston/Python-Hackerrank
544867b4e85da2b40016b6e6d1ae403f991a554d
ad623d0dd21a89c64dc870b3d19332df390c436e
refs/heads/master
2021-06-27T00:13:04.832916
2020-09-26T05:44:24
2020-09-26T05:44:24
150,328,239
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
def person_lister(f): def inner(people: list): people.sort(key=lambda x: int(x[2])) return (f(p) for p in people) return inner @person_lister def name_format(person): return ("Mr. " if person[3] == "M" else "Ms. ") + person[0] + " " + person[1] if __name__ == '__main__': people = [...
[ "Marius.juston@hotmail.fr" ]
Marius.juston@hotmail.fr
ee343f08234ead3a6d75d6b2c4124b64188600ee
1a5a9bfa6ee62c328fc6ab828ad743c555b0f23a
/catagory/JianzhiOffer/stage-08/0362-sliding-window-maximum.py
d4b60de378c963f1dbb38c482851fa989e3160f8
[]
no_license
zzy1120716/my-nine-chapter
04b3e4d43a0d8086e5c958b81a3dc4356622d65f
c7bf3eed366b91d6bdebb79d0f11680cf7c18344
refs/heads/master
2020-03-30T03:07:14.748145
2019-05-15T13:07:44
2019-05-15T13:07:44
150,670,072
0
1
null
null
null
null
UTF-8
Python
false
false
1,455
py
""" 362. 滑动窗口的最大值 中文English 给出一个可能包含重复的整数数组,和一个大小为 k 的滑动窗口, 从左到右在数组中滑动这个窗口,找到数组中每个窗口内的最大值。 样例 给出数组 [1,2,7,7,8], 滑动窗口大小为 k = 3. 返回 [7,7,8]. 解释: 最开始,窗口的状态如下: [|1, 2 ,7| ,7 , 8], 最大值为 7; 然后窗口向右移动一位: [1, |2, 7, 7|, 8], 最大值为 7; 最后窗口再向右移动一位: [1, 2, |7, 7, 8|], 最大值为 8. 挑战 O(n)时间,O(k)的额外空间 """ from collections import ...
[ "zzy1120716@126.com" ]
zzy1120716@126.com
5c2137118e2d3db848089eca0a8e88e7e212ae0c
8d9318a33afc2c3b5ca8ac99fce0d8544478c94a
/Books/Casandra DB/opscenter-5.1.0/lib/py-osx/2.7/amd64/twisted/spread/util.py
c23d22ca8f0b3c5e62d12bb3b8513a3f68d887ae
[]
no_license
tushar239/git-large-repo
e30aa7b1894454bf00546312a3fb595f6dad0ed6
9ee51112596e5fc3a7ab2ea97a86ec6adc677162
refs/heads/master
2021-01-12T13:48:43.280111
2016-11-01T22:14:51
2016-11-01T22:14:51
69,609,373
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
../../../../../py-unpure/twisted/spread/util.py
[ "tushar239@gmail.com" ]
tushar239@gmail.com
bc0eded4ab8b63a7876ed549115535c50a2aa105
383fe2d9b3d2c6adf315ae547226a57f2a8921f1
/trunk/Communities/content/dc.py
f5b7377a099d5ec3ee705e81e992f2f2d0b52cbe
[]
no_license
BGCX261/zmetadata-svn-to-git
b03602998893dbcfe18581539735d32a17d24da7
1270067f91c4c61423042bad15086e2240bcdb4c
refs/heads/master
2021-03-12T20:10:53.933178
2015-08-25T15:21:09
2015-08-25T15:21:09
41,587,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
# -*- coding: utf-8 -*- # # File: dc.py # # Copyright (c) 2009 by [] # Generator: ArchGenXML Version 2.3 # http://plone.org/products/archgenxml # # GNU General Public License (GPL) # __author__ = """unknown <unknown>""" __docformat__ = 'plaintext' from AccessControl import ClassSecurityInfo from Products.A...
[ "you@example.com" ]
you@example.com
1444aa825e32179614189c689696bc11a5dd6ef3
3b9d763180410bf0abf5b9c37391a64319efe839
/toontown/coghq/CashbotMintLavaRoomFoyer_Action00.py
d64f18cef53a6cc4ab3181758e21a4c3930593ea
[]
no_license
qphoton/Reverse_Engineering_Project_ToonTown
442f15d484324be749f6f0e5e4e74fc6436e4e30
11468ab449060169191366bc14ff8113ee3beffb
refs/heads/master
2021-05-08T00:07:09.720166
2017-10-21T02:37:22
2017-10-21T02:37:22
107,617,661
0
1
null
null
null
null
UTF-8
Python
false
false
7,306
py
# File: C (Python 2.4) from toontown.coghq.SpecImports import * GlobalEntities = { 1000: { 'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPlaneDistance': 1500, 'modelFilename': 'phase_10/models/cashbotHQ...
[ "Infinitywilee@rocketmail.com" ]
Infinitywilee@rocketmail.com
197fcceffaa5b82ddd7b54391447a2a72d81ed69
7bc54bae28eec4b735c05ac7bc40b1a8711bb381
/src/trainer_v2/custom_loop/demo/demo.py
20066d8f5c923610ff3b9c75a1dfac1c5d125122
[]
no_license
clover3/Chair
755efd4abbd5f3f2fb59e9b1bc6e7bc070b8d05e
a2102ebf826a58efbc479181f1ebb5de21d1e49f
refs/heads/master
2023-07-20T17:29:42.414170
2023-07-18T21:12:46
2023-07-18T21:12:46
157,024,916
0
0
null
2023-02-16T05:20:37
2018-11-10T21:55:29
Python
UTF-8
Python
false
false
2,906
py
import os import sys import numpy as np from data_generator.tokenizer_wo_tf import get_tokenizer, pretty_tokens from trainer_v2.custom_loop.modeling_common.tf_helper import distribute_dataset from trainer_v2.custom_loop.neural_network_def.siamese import ModelConfig200_200 from trainer_v2.custom_loop.train_loop_helper...
[ "lesterny@gmail.com" ]
lesterny@gmail.com
e4afb41c850bac58d430fb37f453c60e4809f062
470f77500d68bf9a6fc1af6a509ec6df27a59702
/src/pybnb/priority_queue.py
ab6d69e027ce92c9ea0d6d7638185a56af8b0f5d
[ "MIT" ]
permissive
fagan2888/pybnb
be08a61242a11df0423048553c03620e79fc1cf1
d7595131c756b4276a4cf5a4ec9aaf038c0aa83e
refs/heads/master
2022-03-25T06:05:21.021739
2019-12-29T04:20:31
2019-12-29T04:20:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,706
py
""" A collection of priority queue implementations that can be used by the dispatcher. Copyright by Gabriel A. Hackebeil (gabe.hackebeil@gmail.com). """ from typing import Type, Dict, Any import random import collections import heapq import math from pybnb.common import minimize, maximize, inf from sortedcontainers ...
[ "gabe.hackebeil@gmail.com" ]
gabe.hackebeil@gmail.com
a0098ea35dbf50e22b2b040f4aa15ea92bda8a4c
e9f2d427b3c74c68b97321768e7d03949e7de62a
/codeforces/20.01.14.B.py
20f870c0a858f34ff147dda9be63b15e83719a03
[]
no_license
mark-ni/competitive-programming
ab84f0af5831b76bdb7f36c3ddd6f89b4be34fee
efe74f111f71a2a1293a46f65a5eef1298046c1a
refs/heads/master
2023-03-20T00:02:32.030442
2021-03-09T01:09:59
2021-03-09T01:09:59
345,829,800
1
0
null
null
null
null
UTF-8
Python
false
false
119
py
import math for _ in range(int(input())): A,B=map(int,input().split(' ')) print(math.floor(math.log10(B+1))*A)
[ "markni10423@gmail.com" ]
markni10423@gmail.com
5e430023a77a7b01f693a1109ec471faaa60eb9c
084a13b6524e21914826e842eeefefd09570a970
/experiments/atari_easy/space_invaders/models/dqn_baseline/src/model.py
4a031ef63acf4fda3d6e37fc7cea3c4ff9e410bb
[ "MIT" ]
permissive
michalnand/reinforcement_learning
28aa0e2c92b6112cf366eff0e0d6a78b9a56e94f
01635014a37a4c871766b4cdd2caaa26a0c2d8cc
refs/heads/main
2023-06-01T10:27:36.601631
2023-02-12T19:46:01
2023-02-12T19:46:01
217,841,101
3
0
null
null
null
null
UTF-8
Python
false
false
5,771
py
import torch import torch.nn as nn class NoisyLinear(torch.nn.Module): def __init__(self, in_features, out_features, sigma = 1.0): super(NoisyLinear, self).__init__() self.out_features = out_features self.in_features = in_features self.sigma = sigma s...
[ "michal.nand@gmail.com" ]
michal.nand@gmail.com