blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
a405ebdaf151815421973fc29267f7ecb8c69c51
eff07616592da4936181481ef8484fee8c9a830d
/py3/test/testTo.py
7193c718c99fff5bf03e60178717ecf01d90e265
[ "MIT" ]
permissive
odys-z/antson
4f88fd21d3be9f0c95d9e270b48eec714422380e
ea7a48c798368b7fca0d149da128ce7bd0104057
refs/heads/master
2023-08-31T01:56:20.840748
2023-08-28T08:50:29
2023-08-28T08:50:29
195,413,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,337
py
# Window - Preferences - PyDev - Interpreters - Python Interpreter - Forced builtins - new... - antlr4 # https://stackoverflow.com/questions/2112715/how-do-i-fix-pydev-undefined-variable-from-import-errors from antlr4 import * #@UnusedWildImport from ansonpy.JSONLexer import JSONLexer from ansonpy.JSONListener import...
[ "odysseusj@163.com" ]
odysseusj@163.com
9a39d882a01d8cd912ccf297c1610bc2b80a3b66
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/5644d97cc5014e18b14799feeb9b354d528a6489-<test_aspnetcore_event>-bug.py
343976a929e99453e22ab3f735587322c8dd2e86
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
def test_aspnetcore_event(self): event = self.create_sample_event(default='aspnetcore', platform='csharp') self.browser.get('/{}/{}/issues/{}/'.format(self.org.slug, self.project.slug, event.group.id)) self.browser.wait_until('.entries') self.browser.wait_until('[data-test-id="loaded-device-name"]') ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
0f806fb6e3b9e7374d3d0c53e8ae2ccaa24d7c6f
a0cb629823711385a4cadfac4cda2de90830d9dc
/openapi_server/test/test_txs_controller.py
a77d688e0b763c2ebfb95c2d618763441990d96f
[ "MIT" ]
permissive
bitWeaver-arch/graphsense-REST
e26ababfbe68b26e1f87cdad4f58bfc2a75a0873
2e4a9c20835e54d971e3fc3aae5780bc87d48647
refs/heads/master
2023-05-30T16:17:16.465692
2021-06-02T10:00:07
2021-06-02T10:00:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
# coding: utf-8 from __future__ import absolute_import import unittest from flask import json from six import BytesIO from openapi_server.models.tx import Tx # noqa: E501 from openapi_server.models.txs import Txs # noqa: E501 from openapi_server.test import BaseTestCase import gsrest.test.txs_service as test_servi...
[ "git@myrho.net" ]
git@myrho.net
bd984754df3f6288f2c7ba4d974e91c1041ed534
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GLES2/IMG/bindless_texture.py
253285f3b20ff993b344e3e978c6d9a3d2d644f0
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
'''OpenGL extension IMG.bindless_texture This module customises the behaviour of the OpenGL.raw.GLES2.IMG.bindless_texture to provide a more Python-friendly API Overview (from the spec) This extension allows OpenGL ES applications to access texture objects in shaders without first binding each texture to one of...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
e2248d771e62fe601569d09081ec41ee554cc90c
61043ea8982fb62552c2c7312c47c9c29878e8ac
/packages/awrams/calibration/objectives/general.py
609c76d6754d07d730b0fa571a835cf3bc589800
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-generic-cla", "BSD-3-Clause" ]
permissive
jeff-cloud/awra_cms
01e131eaaa84dbb2427b5fcdd6795fdf02f24a8d
bbbb85ad8864e2c835926439acc1e6dabb137a97
refs/heads/master
2022-12-09T16:23:51.019304
2019-11-26T00:17:03
2019-11-26T00:17:03
292,319,017
0
0
NOASSERTION
2020-09-02T15:17:26
2020-09-02T15:17:25
null
UTF-8
Python
false
false
2,245
py
from awrams.utils.ts import processing import numpy as np class Bias: ''' Precomputed relative bias evaluator ''' def __init__(self,obs): self.obs_sum = np.sum(obs) def __call__(self,modelled): mod_t = np.sum(modelled) return (mod_t - self.obs_sum) / self.obs_sum class NSE: ''' Precomputed NSE evaluator...
[ "david.shipman@bom.gov.au" ]
david.shipman@bom.gov.au
90a8699c2db7a5a2f2daa1598d448732325ccc38
8fcc27160f8700be46296568260fa0017a0b3004
/client/zaction.py
e24c8fe214d984424d6abc0ac3e81a443c432f2b
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
746
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\common\modules\nice\client\_nastyspace\zaction.py from carbon.common.script.zaction.zactionCommon import ActionComponent from carbon.common.script.zaction.zactionCommon import AddPropertyForCurrentPythonProc from carbon.common.sc...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
dc38a0f1e13d8ad65230517790b06c898564bc65
bdba52c756cc09f192b720ea318510c265665dcd
/swagger_client/models/post_universe_ids_faction.py
8316a8d1396c483058e243350626d0cb523f0128
[ "MIT" ]
permissive
rseichter/bootini-star
6b38195890f383615cc2b422c365ac28c5b87292
a80258f01a05e4df38748b8cb47dfadabd42c20d
refs/heads/master
2020-03-14T03:17:11.385048
2018-06-28T17:23:23
2018-06-28T17:23:23
131,416,504
0
0
MIT
2018-05-01T14:26:04
2018-04-28T14:28:46
Python
UTF-8
Python
false
false
3,613
py
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online # noqa: E501 OpenAPI spec version: 0.8.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class PostUniverseIdsFaction(object): """NOTE: This class i...
[ "github@seichter.de" ]
github@seichter.de
e8d3542f8bf262eaf19fc4e7584287bf136229d2
71722fd9ab8e300198f6c1891c9604b969d3cc24
/devilry/devilry_admin/views/assignment/students/replace_groups.py
6aecc63f1cf11f0acf54cc06c660ee62af5ed65a
[]
no_license
henrist/devilry-django
2eec5a90efb13dbcb5bd38934334ff9ad6966e3c
79678ff9e3bcedef4e4cd0d3ddd1397f6d9c6da2
refs/heads/master
2021-07-08T19:56:50.171064
2017-07-02T11:25:04
2017-07-02T11:25:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,521
py
from django.contrib import messages from django.shortcuts import redirect from django.utils import timezone from django.utils.translation import pgettext_lazy from django_cradmin import crapp from devilry.devilry_admin.views.assignment.students import create_groups class RequireUnpublishedAssignmentMixin(object): ...
[ "post@espenak.net" ]
post@espenak.net
8afc080ac470f898178e7e3e3a7d4ece9e06dcf9
5ae01ab82fcdedbdd70707b825313c40fb373fa3
/scripts/charonInterpreter/parsers/charonBlockParserSolverBlock.py
1a1efc2c7413e421b3f67e8e2956b22f2d74d898
[]
no_license
worthenmanufacturing/tcad-charon
efc19f770252656ecf0850e7bc4e78fa4d62cf9e
37f103306952a08d0e769767fe9391716246a83d
refs/heads/main
2023-08-23T02:39:38.472864
2021-10-29T20:15:15
2021-10-29T20:15:15
488,068,897
0
0
null
2022-05-03T03:44:45
2022-05-03T03:44:45
null
UTF-8
Python
false
false
1,896
py
class charonBlockParserSolverBlock: "SolverBlock parser" def __init__(self): # Register the parsing keys self.parsingBlockKey = "start solver block" self.parserBlockName = "SolverBlock" # Register the block arguments self.blockArgument = [] self.blockArgumentIn...
[ "juan@tcad.com" ]
juan@tcad.com
8adfed7e4a8db8dafb621399820d8ca0b5d66d68
ee0e6880ef9223d0ff30a14b4c5412aac1abb522
/train.py
f931f4cb90f3030b35c5b42c9026c59b5058c7a7
[]
no_license
KUR-creative/glcic-keras
6328f12c9b2153cad7664a1a80dc384d1a59ad58
7a4c32204a8042435a27cf66a93a4e0e68baa5b0
refs/heads/master
2023-03-22T20:37:36.218460
2023-03-09T00:28:11
2023-03-09T00:28:11
133,694,230
0
0
null
null
null
null
UTF-8
Python
false
false
5,433
py
from model import init_models, BATCH_SIZE, IMG_SHAPE, LD_CROP_SIZE, HOLE_MAX_LEN, HOLE_MIN_LEN from data_generator import gen_batch from utils import ElapsedTimer from tqdm import tqdm import numpy as np import os, h5py def trainC(Cmodel, batch,epoch): origins, complnet_inputs, holed_origins, masks, _ = batch ...
[ "rhdnfka94@gmail.com" ]
rhdnfka94@gmail.com
bdf3efe7ec985518460d35b266a335e8957a7e1e
96e1f3a60142c96e1d675b5209975ef03cca7c11
/pyxll_notebook/client/kernel_manager.py
ef7d2c2d3e10d49d244c517a036233dc7c40376d
[ "MIT" ]
permissive
pyxll/remote-notebook
a1b9abc7c6c59a8d6eed0c88471b9f498f4b74af
321c3fd6978a7e6a7c8500cb7d6d1727d21ecbee
refs/heads/master
2023-04-11T07:51:38.377539
2021-03-09T09:52:49
2021-03-09T09:52:49
212,401,956
3
0
null
null
null
null
UTF-8
Python
false
false
3,805
py
""" KernelManager class for starting and stopping the remote kernels for each notebook in the configuration. """ from pyxll import get_config from .kernel import Kernel from . import authenticators import asyncio import aiohttp class KernelManager: _instance = None def __init__(self, cfg): notebooks ...
[ "tony@pyxll.com" ]
tony@pyxll.com
67ed2698a0f9a21002893bd8b85b80de047238fb
e6f1137903b9658e5e3c1ee51201a931894303b9
/applications/tf-record/dense/sequence_test.py
9b090ee0c3b8e6e7f6fac800c4008f72e6fba3a0
[]
no_license
fword/hasky
8ed69ef85bb34823d9ade27bb3b19aac02872440
d3c680ffa04f7487b931a5575977798157b42b7e
refs/heads/master
2021-01-23T01:18:49.275631
2017-03-18T13:01:27
2017-03-18T13:01:27
85,898,744
1
1
null
2017-03-23T02:39:06
2017-03-23T02:39:06
null
UTF-8
Python
false
false
2,570
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file sequence_test.py # \author chenghuige # \date 2016-09-11 14:15:27.011704 # \Description # ==========================================================...
[ "29109317@qq.com" ]
29109317@qq.com
303df02a5609e5705c9b2121b4b728171648d4e3
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/06ce100b7d6448aa8e881328e94b2c1c.py
9c5f4aa42a8cb1ac2c299bcf31b4bc3123f25a03
[]
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
242
py
def hey(question): if question is None or len(question.strip()) == 0: return 'Fine. Be that way!' elif question.isupper(): return 'Whoa, chill out!' elif question.endswith('?'): return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
18839a3f217676df88d43467038eb3b50f751841
d2144b0a45b4ff3e7c78356dcbe5c187b3eddf1f
/98-tf.nn.softmax_cross_entropy_with_logits的用法.py
38afad50b92420bf6a4d11edf9e0c9521d38ea45
[]
no_license
CWSchen/tensorflow
45d5996370b9584fa02bdd9a0705b6c6579b324a
301e169b007ccac265a99b37f5fd097c5db1d423
refs/heads/master
2020-03-21T12:29:42.157422
2018-08-15T01:21:29
2018-08-15T01:21:29
138,555,214
3
0
null
null
null
null
UTF-8
Python
false
false
3,353
py
import tensorflow as tf ''' https://www.cnblogs.com/welhzh/p/6595032.html 在计算loss时,最常见的一句话就是tf.nn.softmax_cross_entropy_with_logits,那么它到底是怎么做的呢? 首先明确一点,loss是代价值/损失函数,也就是我们要最小化的值 tf.nn.softmax_cross_entropy_with_logits(logits, labels, name=None) 除去name参数用以指定该操作的name,与方法有关的一共两个参数: 第一个参数logits:就是神经网络最后一层的输出, 如果有batch的话...
[ "1044502604@qq.com" ]
1044502604@qq.com
7583c6c02987d0e74625a18522664638166ac587
d40ee63566975dd11ae6ba6ea1c2889680c47c90
/workspace/ros/aerostack_catkin_ws/devel/lib/python2.7/dist-packages/aerostack_msgs/msg/_Float32Stamped.py
f1ad145f219f6b4e9a9759a9d7230b0498a17d67
[]
no_license
la16k/TFG_Laura
45e9df0f60ef94572260f14346c47969ab2c73b3
f5e0661aa7ccd200ba056a40beb9e687f5f0d06e
refs/heads/master
2022-12-27T02:49:05.549777
2020-10-05T10:48:57
2020-10-05T10:48:57
301,374,417
0
0
null
null
null
null
UTF-8
Python
false
false
6,305
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from aerostack_msgs/Float32Stamped.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg class Float32Stamped(genpy.Message): _md5sum = "4bea522f9243fd34e...
[ "kunito.laura.ac@gmail.com" ]
kunito.laura.ac@gmail.com
31c0c081fd9bd73d793db937ad8b4ec196d97758
bb71e927dc2429abf551b44874ee990cb3a93f7a
/applications/same-stats-different-graphs/app_before.py
264f02f22958265df75b634535fbdffe1561dadb
[]
no_license
khuyentran1401/Data-science
c37021349bb407ed50d891dab780463e0b243de5
be59f5959be9f5944e12260fbb4548c85ef6aabe
refs/heads/master
2023-08-31T13:46:58.212459
2023-08-09T15:46:11
2023-08-09T15:46:11
280,508,180
3,809
943
null
2023-05-23T02:38:37
2020-07-17T19:25:27
Jupyter Notebook
UTF-8
Python
false
false
1,137
py
from pywebio.input import * from pywebio.output import * from pywebio import pin from pywebio import start_server from utils import IMAGE_TO_LINK def app(): put_markdown("# Can Dinosaur and Circle Have the Same Statistics?") put_text("If 2 datasets have the same statistics, they should be similar right?" ...
[ "khuyentran1476@gmail.com" ]
khuyentran1476@gmail.com
b3c1a0c4089ce1684898724d0931c11c5f3f1fb4
7ba4c0df9c8694e53eb1afcbe17d33cb41cabafa
/core/brain/show/traffic/reaction.py
c6b81c3f05be5bf03dc02af0cfb1bc45d5d335bf
[ "MIT" ]
permissive
vsilent/smarty-bot
bb2fd95d0f246b205016681a3db1db9406302fff
1ff9b8a1be40ccc89e9239d3c336cadd1f33abf7
refs/heads/master
2023-08-17T05:55:09.880015
2023-05-02T07:31:13
2023-05-02T07:31:13
7,682,559
1
1
MIT
2023-08-03T23:07:26
2013-01-18T07:42:34
Python
UTF-8
Python
false
false
3,842
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Example # ============================================================================= # # # You can access main configuration module or better create your own in the # config module: # # from core.config.settings import DEMO_MUSIC_DIR # # # Simple command example...
[ "jabberroid@gmail.com" ]
jabberroid@gmail.com
8abc5e49376cf0d846251599631e3062a749e0c3
578db86c51d44ebddd0dc7b1738985b3dc69eb74
/corehq/util/metrics/tests/test_utils.py
e66445b3e8034d0868804c51ec1e4c3cb80f4b34
[ "BSD-3-Clause" ]
permissive
dimagi/commcare-hq
a43c7dd32b5f89c89fd5aa1b1359ab7301f4ff6b
e7391ddae1af1dbf118211ecb52c83fc508aa656
refs/heads/master
2023-08-16T22:38:27.853437
2023-08-16T19:07:19
2023-08-16T19:07:19
247,278
499
203
BSD-3-Clause
2023-09-14T19:03:24
2009-07-09T17:00:07
Python
UTF-8
Python
false
false
1,919
py
from datetime import timedelta from django.test import SimpleTestCase from testil import eq from corehq.util.metrics import make_buckets_from_timedeltas, DAY_SCALE_TIME_BUCKETS, bucket_value from corehq.util.metrics.utils import sanitize_url, get_url_group from corehq.util.test_utils import generate_cases def test_...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
f189cffb60f3fded40f02e86a1807b620bcc37db
a5c416002e1b14413871b7a9bf7056df6d46ee50
/polls/views.py
45d20d779a3b0fc3725dce793ee8746d1e07713b
[]
no_license
WellingtonIdeao/polls-app
4d650cfc0cd315a320f208a045c84de58ac35940
ed7186c92d820bac2c4f53a4089f2357f4212a13
refs/heads/master
2023-05-02T22:42:48.015176
2021-05-14T17:38:26
2021-05-14T17:38:26
357,293,149
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
from django.shortcuts import render, get_object_or_404 from django.template import loader from django.http import Http404, HttpResponse, HttpResponseRedirect from .models import Question, Choice from django.urls import reverse from django.views import generic from django.utils import timezone # Create your views here. ...
[ "wellington.ideao@gmail.com" ]
wellington.ideao@gmail.com
0fe0188e2c4639b5de57a61cbd6219a0225cc427
fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a
/.history/8_2_20210209125714.py
6e6f07083080f09e752da62f20145fb7f433906f
[]
no_license
wh-debug/python
5a78a2227874ebc400d075197de0adab9f55d187
1467eeda670f170e6e2d7c0a0550f713f1ee9d75
refs/heads/master
2023-03-12T22:08:12.608882
2021-02-17T09:49:52
2021-02-17T09:49:52
334,032,494
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
''' Author: your name Date: 2021-02-09 12:44:50 LastEditTime: 2021-02-09 12:56:10 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \python\8_2.py ''' '''位置实参,也就是C中的实参和形参。且调用时应该对应相应的参数''' def describe_pet(animal_type, pet_name): print(f"I have a {animal_type}.") print(f"My {animal...
[ "1813763848@qq.com" ]
1813763848@qq.com
0b54b91b3eba061d9549be7f037c43da0291f38a
6c500c6f356c4eedb508e88c6ccae3e1746e985c
/mdcom/MHLogin/analytics/tests.py
9f3991e6fed615b2c9044a6ddb39442fe96bca12
[]
no_license
DongHuaLu/mdcom
c83e5f3f5595072b5575637140fc550680fada0e
d0be90d610879bde0004baceac969cb02fc67d1c
refs/heads/master
2020-12-10T02:56:10.574054
2016-09-06T14:10:57
2016-09-06T14:10:57
35,287,408
0
2
null
2020-07-25T21:42:07
2015-05-08T15:39:12
Python
UTF-8
Python
false
false
7,875
py
import urlparse from django.utils import unittest from django.test.client import Client from django.conf import settings from django.core.urlresolvers import reverse from MHLogin.utils.mh_logging import get_standard_logger from MHLogin.MHLUsers.models import MHLUser, Salesperson, Administrator, Provider, Physician...
[ "ctl70000@163.com" ]
ctl70000@163.com
8f62e1594940b04015a1753ce4d3af19a85b2083
58aedaa8ec1288dd5f8e9e328b71b9e02402e291
/test/util.py
641d16e7fc8ceaac211ca5ab42e3ae1c45a9dcfa
[]
no_license
Spencerx/datahub-deprecated
d9cb448441ded82a7587549ab75d87f2305bdfa8
633484931b3b51dcceb1662fdbdc5f1124ea6d7c
refs/heads/master
2020-12-30T19:10:56.219967
2011-08-21T18:26:48
2011-08-21T18:26:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
from datahub import core from datahub import web JSON = 'application/json' FIXTURE_USER = {'name': 'fixture', 'full_name': 'Fixture', 'email': 'fixture@datahub.net', 'password': 'password', 'password_confirm': 'password'} AUTHZ = FIXTURE_USER['name'] + ...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
50fb4193a756cd46833db581d719aae0d7fe7d7f
4eef999a5ffc3c499d63fafb0f673f62628480fd
/conference/views/admin.py
fd914d3ae6e6c423cdfeab3246d398c31abcc292
[]
no_license
lvjindi/RISE_CH
6d8308e2a178e8ceee5a0b56b7227a37d163c72e
039518bc3d01bab9586f37b4b40188b526e61f52
refs/heads/master
2020-04-15T20:33:32.367008
2019-09-03T06:51:23
2019-09-03T06:51:23
164,982,568
0
0
null
null
null
null
UTF-8
Python
false
false
4,189
py
from django.shortcuts import render from account.decorators import super_admin_required, login_required from conference.models import Conference from conference.serializers import CreateConferenceSerializer, ConferenceSerializer from news.models import News from news.serializers import CreateNewsSerializer from utils....
[ "793098580@qq.com" ]
793098580@qq.com
7b8b5427264946dd371e7724635d54f6c2ae63a4
c0239d75a8199ec84ad683f945c21785c1b59386
/dingtalk/api/rest/OapiTdpTaskBasicCreateRequest.py
6ea8af653f6125955ee94518148130d1861736cf
[]
no_license
luss613/oauth_dingtalk
9f253a75ce914c577dbabfb84e97fd883e80e04b
1e2554642d2b16c642a031670d08efa4a74e8252
refs/heads/master
2023-04-23T01:16:33.450821
2020-06-18T08:22:57
2020-06-18T08:22:57
264,966,287
1
1
null
2020-06-18T08:31:24
2020-05-18T14:33:25
Python
UTF-8
Python
false
false
396
py
''' Created by auto_sdk on 2020.04.23 ''' from dingtalk.api.base import RestApi class OapiTdpTaskBasicCreateRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.microapp_agent_id = None self.operator_userid = None self.task = None def getHttpMethod(self): return 'POST'...
[ "paul.lu@belstar.com.cn" ]
paul.lu@belstar.com.cn
00cf90c00b9af7391d3126acf47e47463d4f1bde
a00fcfa8158316fceff0dc9b5d936bba96cca4c3
/smodels/test/runCompleteTestSuite.py
6a1d4c156a828135ae1e796a5570dcb014c5b462
[]
no_license
andlessa/stopsEFT
414fac7493c385c5b6d9fda2f17f9ef4658d7884
9fae9ef9c96432fecadd7abbb3578b154edc9282
refs/heads/master
2020-06-15T06:59:20.544277
2019-11-12T19:48:55
2019-11-12T19:48:55
195,229,257
0
0
null
null
null
null
UTF-8
Python
false
false
3,451
py
#!/usr/bin/env python3 """ .. module:: runCompleteTestSuite :synopsis: Runs all test suites. .. moduleauthor:: Wolfgang Magerl <wolfgang.magerl@gmail.com> .. moduleauthor:: Wolfgang Waltenberger <wolfgang.waltenberger@gmail.com> """ from __future__ import print_function import sys sys.path.insert(0,"../...
[ "lessa.a.p@gmail.com" ]
lessa.a.p@gmail.com
dba421d968a60c214dedda8652f38a6c317ec2b1
814a3954540c13777bce9839214a9fe5804acda3
/app/auth/views.py
8104649432b9112ae5e32b689b05b94acf1acb22
[ "MIT" ]
permissive
cynthiaoduol/Pitch
7d0d78714d3991f7e7703473029e3e734d2360ab
aa3b5bb642ab436e10badb5a40b92bfc57145dc5
refs/heads/master
2022-10-01T17:11:55.302424
2019-10-27T15:46:27
2019-10-27T15:46:27
216,023,063
0
0
MIT
2022-09-16T18:11:53
2019-10-18T12:50:26
Python
UTF-8
Python
false
false
1,728
py
from flask import render_template, redirect, url_for, flash, request from flask_login import login_user, logout_user, login_required,current_user from . import auth from ..models import User from .forms import LoginForm, RegistrationForm from .. import db from ..email import mail_message import os @auth.route('/login...
[ "cynthiaobu940@gmail.com" ]
cynthiaobu940@gmail.com
092f2e20482d8f30865360dce86f25b19e1ad2b5
17926b196d9db43816453d16f3da84de6664f2fd
/919_Complete_Binary_Tree_Inserter.py
6a512b5362e4330582f688b9aec1b0652b17017e
[]
no_license
luchang59/leetcode
66690a3c9b28a5201a7be8cd0134142b48418adb
feab001b9291f6e57c44eeb0b625fdaa145d19b4
refs/heads/master
2020-05-28T06:57:20.667138
2019-09-20T18:18:11
2019-09-20T18:18:11
188,914,681
0
0
null
2019-05-27T22:17:44
2019-05-27T22:08:54
null
UTF-8
Python
false
false
1,614
py
# Definition for a binary tree node. import collections class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class CBTInserter(object): def __init__(self, root): """ :type root: TreeNode """ # It actually didn't...
[ "luchang1991@gmail.com" ]
luchang1991@gmail.com
ff2de00c2ddab3bc3fb91bd78701d7d98efddc70
b2578c3043020e04351007e5e27f63f007a4c14b
/learntools/core/problem_factories.py
47b29a1504a099d2cd5e212dbc0a255dc54ce368
[ "Apache-2.0" ]
permissive
kylehiroyasu/learntools
b49e853a2268391df2693d969f92a9c8a08efc7f
fdef51d9abbfadf57195ddb5b918077f8f93a14f
refs/heads/master
2020-03-29T14:09:17.789742
2018-09-20T21:42:24
2018-09-20T21:42:24
150,001,698
1
0
Apache-2.0
2018-09-23T16:13:04
2018-09-23T16:13:04
null
UTF-8
Python
false
false
734
py
from learntools.core.problem import * class ProblemSeed: def __init__(self, name, solution, hint, parent=Problem): self.name = name self.solution = solution self.hint = hint self.parent = parent def with_expected(self, **kwargs): varnames, expected_vals = zip(*kwarg...
[ "colin.morris2@gmail.com" ]
colin.morris2@gmail.com
43253a9876800ea6d7eb279d4f1b732b12b5c3f4
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/Scripts/Archives/misc/rangeutils.py
75e0cf459a026c33cea4ced80d168d2572141aad
[ "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
Python
false
false
4,057
py
#!/usr/bin/python import os import re RED=chr(27) + '[1;31m' #BRIGHTRED=chr(27) + '[1;31m' GREEN=chr(27) + '[1;32m' BLUE=chr(27) + '[1;34m' CLEAR=chr(27) + '[00m' def format_sub_range(items): last,start=None,None subranges=[] for i in items: if last != i-1: if start!=None: subranges.a...
[ "quhang@stanford.edu" ]
quhang@stanford.edu
ba577c34f2b165f4db045175baa0e17dc8e5adf1
987a68b9c196f39ba1810a2261cd4a08c35416a3
/Tree/99-recover-binary-search-tree.py
9b26c28d451dc8ee7162e9efa2fd3ff40f4ede2d
[]
no_license
xizhang77/LeetCode
c26e4699fbe1f2d2c4706b2e5ee82131be066ee5
ce68f5af57f772185211f4e81952d0345a6d23cb
refs/heads/master
2021-06-05T15:33:22.318833
2019-11-19T06:53:24
2019-11-19T06:53:24
135,076,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
# -*- coding: utf-8 -*- ''' Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Input: [1,3,null,null,2] 1 / 3 \ 2 Output: [3,1,null,null,2] 3 / 1 \ 2 Example 2: Input: [3,1,4,null,null,2] 3 / \ 1 4 / 2 ...
[ "xizhang1@cs.stonybrook.edu" ]
xizhang1@cs.stonybrook.edu
b902e123d8dadd62f0ef0e99bc4ef21e10e33c7f
8db1b9528ace3ce142ea52da1017eb6359f46967
/py1810/hello_mongo_08.py
4528bf4ec6f26d4cf6eafe85dd3927662625a976
[]
no_license
ul8ksgdmy/myPythonlearning
01fbd49d227e2b3095250e7ee40768fa3179f26e
2ad0d3525cd505edba3fd37e21f601a32872259b
refs/heads/master
2020-03-31T14:33:13.448891
2019-01-09T18:13:26
2019-01-09T18:13:26
152,299,859
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
from pymongo import MongoClient import json import sys #접속 실행전 myinfo 경로확인 with open('D:\py\myPythonlearning\py1810\myinfo.json') as f: data = json.load(f) ip = data['ip'] port = data['port'] client = MongoClient(ip, port) db = client.get_database('col1') invents = db.get_collection('inventory') #1 inventory 컬...
[ "clickmy7@gmail.com" ]
clickmy7@gmail.com
5e5556c1afdf945916a1bcfc9098a60a912d2def
ac1fdf53359b53e183fb9b2602328595b07cf427
/ParlAI/parlai/tasks/wikisql/agents.py
b45923a3b9d74a31d3043954e27b7173307ceb9f
[]
no_license
Ufukdogann/MasterThesis
780410c5df85b789136b525bce86ba0831409233
b09ede1e3c88c4ac3047800f5187c671eeda18be
refs/heads/main
2023-01-24T18:09:52.285718
2020-11-27T16:14:29
2020-11-27T16:14:29
312,416,173
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a560c9ee622850d47077d8a77163bf7304566d36e2339937b171db600df69add size 3431
[ "134679852Ufuk*" ]
134679852Ufuk*
deda7a898f16abeda110860060a87c5bda827c36
4285ef0cefc8d80b56e7cea7f15973f04a759390
/2020-02-12/paly.py
02f46b25728e8492f38ea8f1546e6fb9866f393d
[]
no_license
liupengzhouyi/MachineLearning
09d7fb3c8f02e546aa7a5066a225b9830584a12c
f7984eeb203a803d70e2afbfc93a40dcee01a3ae
refs/heads/master
2020-12-04T04:36:44.710637
2020-02-12T15:38:49
2020-02-12T15:38:49
231,614,820
0
0
null
null
null
null
UTF-8
Python
false
false
2,834
py
import torch from torch.autograd import Variable import torchvision import torchvision.transforms as transforms import torch.utils.data as Data import matplotlib.pyplot as plt torch.manual_seed(1) # reproducible # Hyper Parameters EPOCH = 1 # 训练整批数据多少次, 为了节约时间, 我们只训练一次 BATCH_SIZE = 64 TIME_STEP = 28 # rnn 时间步数 / 图...
[ "liupeng.0@outlook.com" ]
liupeng.0@outlook.com
10ddc13d7147f64e784eb03ba0dd3d665378d292
55b08f5ccd29a7dad5faa505debde23da22d2670
/spotty/commands/run.py
39def92d05ca02588ae6140b4525654206a3c8ba
[ "MIT" ]
permissive
NighTurs/spotty
68b0132a346d5954439f4acfb73e24362b265761
51f0c244ff36a12849c2e171bda941768aae003f
refs/heads/master
2022-09-12T11:29:42.690950
2020-06-02T14:36:37
2020-06-02T14:36:37
268,801,855
0
0
MIT
2020-06-02T13:00:02
2020-06-02T13:00:01
null
UTF-8
Python
false
false
3,013
py
from argparse import ArgumentParser, Namespace from spotty.commands.abstract_config_command import AbstractConfigCommand from spotty.commands.writers.abstract_output_writrer import AbstractOutputWriter from spotty.errors.instance_not_running import InstanceNotRunningError from spotty.helpers.run import parse_parameters...
[ "apls777@gmail.com" ]
apls777@gmail.com
5cd3fc9f1bddae7dcff7df1d2bdfe30e2da7c04e
48d4721cdf47e7409ddbee241990fb84dc03d314
/build/lib/webstorageS3/Checksums.py
7824b5e7f4aac90d3e02aec357abda8e1d7e79d1
[ "MIT" ]
permissive
gunny26/webstorageS3
0839eec352ac03bf301eb98641698d29e4a55d1c
df692472574e16f10a9887cb5ada120f7323b177
refs/heads/master
2023-06-10T15:12:04.813968
2023-05-28T15:57:36
2023-05-28T15:57:36
230,425,530
0
0
null
2022-01-22T18:40:25
2019-12-27T10:40:38
Python
UTF-8
Python
false
false
2,439
py
#!/usr/bin/python3 import logging import os import sqlite3 class Checksums: """ storing persistent set in sqlite database """ def __init__(self, filename: str): self._logger = logging.getLogger(self.__class__.__name__) self._checksums = set() self._filename = filename ...
[ "arthur.messner@gmail.com" ]
arthur.messner@gmail.com
0b9785cf1a9526203a48b7e7fe322f8aeb8372ae
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/EMRryzd_1_20190409104146.py
a3b4a7964944b0d10502cc9058bb5417a68ec98c
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,485
py
#-*- coding: UTF-8 -*- #本文件用于提取目标目录中的所有txt,并提取关键词所在行到指定目录,并提取关键词新建文件 import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHR')#txt目录提取 zljhs = [] for emrtxt in emrtxts: f = open(emrtxt,'r',errors="ignore")#中文加入e...
[ "1044801968@qq.com" ]
1044801968@qq.com
d5756d92fd561e13a5f7506d79c6a6fcedc62bbc
7c4878b4881d79dd4daa3291e9c498e0706a7603
/lessons17/HomeWork/task1.py
063c0842f41f0008a42050c56d6ca9483e48263c
[ "MIT" ]
permissive
zainllw0w/skillbox
4cbdbb44762439c1aa1793a07683d7620500ddd7
896287b6f7f5612cf589094131fd1a12b0b192ba
refs/heads/main
2023-04-27T16:07:16.613359
2021-05-20T14:12:11
2021-05-20T14:12:11
329,755,030
0
0
null
2021-05-20T14:06:42
2021-01-14T23:01:15
Python
UTF-8
Python
false
false
239
py
word = input('Введите текст: ') result = [x for x in word if x == 'а' or x == 'у' or x == 'о' or x == 'ы' or x == 'и' or x == 'э' or x == 'я' or x == 'ю' or x == 'е'] print(result) print('Длина: ', len(result))
[ "77465388+zainllw0w@users.noreply.github.com" ]
77465388+zainllw0w@users.noreply.github.com
0f2055274488eeee9d7ebf975912a3f7a8170c42
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/beautiful-arrangement/287085880.py
238a025e3b9a64897a14c2561f29a9d8ba080048
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
586
py
# title: beautiful-arrangement # detail: https://leetcode.com/submissions/detail/287085880/ # datetime: Thu Dec 19 17:28:00 2019 # runtime: 332 ms # memory: 12.6 MB class Solution: def countArrangement(self, N: int) -> int: def arrange(n): if n == 0: return 1 res = 0 for...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
53a98ee9254a3589bcc7032f02a71ad440934e1d
b8630509b97621ddc3bbeaef8d1cd54ff77b3dde
/myvenv/lib/python3.5/site-packages/django/__main__.py
9673b1e31a2f715314ecfa7f1d35458d45d582a5
[]
no_license
ChibaUnppluged/BandMaker-ogi
c4080204d63495fed42e26306663e06df8ffb373
68a4a6eceb3f385b97afe8741fc538216800f893
refs/heads/master
2021-01-01T04:29:28.436614
2017-10-20T16:30:00
2017-10-20T16:30:00
97,184,844
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# coding:utf-8 """ Invokes django-admin when the django module is run as a script. Example: python -m django check """ from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "pochi.0226.ogi@gmail.com" ]
pochi.0226.ogi@gmail.com
fc2d373f1e0d9bb217c0437fd887c6e1f1e1b6d7
241eccf20a5004027467e143bc77f60be2b02a7f
/Python_design_patterns/Ch02/factory_final.py
b64f10b85f23088363d3fefd1463167f80d6c3d7
[]
no_license
ahmadsadeed/linkedIn-courses-exercises
9940c9bbe7b1670174a651b5339a268bb923f827
39b576eaaaa147d2222aafbcedb921a327b107cb
refs/heads/master
2021-04-21T21:33:11.870366
2020-09-22T21:31:41
2020-09-22T21:31:41
249,817,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
""" Factory encapsulates object creation. That is, Factory is an object specializing in creating other objects. The Factory pattern is useful, especially when you're not sure about what type of objects you'll be needing eventually in your system. Another possibility is the situation in which your application needs ...
[ "sadeed.hakimi@yahoo.com" ]
sadeed.hakimi@yahoo.com
4be80e462574b5ba3e91b8e03efc8f888618c297
beb9ac9ed895b375fbea240bf7d56281d6a0a481
/20200806/draw6.py
d16fa6708c8b6a8f076bee740625cb0aa051103a
[]
no_license
MinjeongSuh88/python_workspace
5b0c7e2a7b3543e65df1f07066e4a52f23294ac5
b13afdc8cf4e42496fa2b5c8df3c5effc7f7488d
refs/heads/master
2022-11-30T11:05:52.347243
2020-08-14T09:04:42
2020-08-14T09:04:42
285,185,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
import sys from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import random as r import time import threading class MyWindow(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setWindowTitle('작품') # 창 타이틀 ...
[ "69196506+MinjeongSuh88@users.noreply.github.com" ]
69196506+MinjeongSuh88@users.noreply.github.com
281809a6530a1ff93ef0adb630a04f69874f6366
221d1ad342677d2fac8aa3f8d5c60e059a6316c9
/pm4py/evaluation/__init__.py
3628421aa6ab42dac74cef11f5f92e48c69a8c0c
[]
no_license
niklasadams/explainable_concept_drift_pm
06ff651fbdebece4adf96f94bfb4d1026da14c48
6bf84d727ab0bae76716a04ad28c7de73250c89d
refs/heads/main
2023-08-26T18:21:49.955080
2021-10-29T18:53:48
2021-10-29T18:53:48
314,514,571
4
0
null
null
null
null
UTF-8
Python
false
false
451
py
from pm4py.evaluation import generalization, precision, replay_fitness, simplicity, evaluator, wf_net import pkgutil if pkgutil.find_loader("pyemd"): # import the EMD only if the pyemd package is installed from pm4py.evaluation import earth_mover_distance if pkgutil.find_loader("networkx") and pkgutil.find_lo...
[ "niklas.adams@pads.rwth-aachen.de" ]
niklas.adams@pads.rwth-aachen.de
25b94f68ebf8991eaa6cef806cf597b99aa8e8a2
b79ef6b6f26f8dd6bef901c57653e5bd6726eb03
/static/map/get_geocoder.py
5486996c9504a8a4b5e1f75080a7ce37d86bac6d
[]
no_license
zhengguhui/kyudo_web
bac9b4586ff913b634867068ac93ce2a759e4280
151a7d496222c99d9e3831272faf26031daddeee
refs/heads/master
2021-06-27T07:38:52.206332
2020-11-24T10:30:12
2020-11-24T10:30:12
62,807,865
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from kyudogu import area, shop from pygeocoder import Geocoder import time import json if __name__=="__main__": #print area #print shop for s in shop: print s['name'] print s['address'] geo = Geocoder(api_key="AIzaSyCV2LhPPs_xQ5olb_gmqTq3oYPCXYgTMjQ") g = geo.geo...
[ "root@vultr.guest" ]
root@vultr.guest
8393fc3396eb88cf15aef12e8f577c0d95e0a124
ba2b40a762feb52f6a0a1dc43da96b41112a3bbb
/code/experiment/esc_simpleNetCNN/ex2_1/testScript.py
3634bb1052942cc31e2a94f7ed7014afa0cf57d4
[]
no_license
YuanGongND/DeepVis2
e03a3c8b4231e61c6442314935490d9131b41046
6514f403c0df9dab4fa1c66b3a0a95ea0aea2ec3
refs/heads/master
2021-08-22T23:35:13.949128
2017-12-01T17:26:29
2017-12-01T17:26:29
112,768,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 24 21:56:05 2017 @author: Kyle """ #_, newFolderName, gpuI, thisTask, dataType, modelName, dataset, learningRate import os import shutil from sys import argv _, parentFolderName, gpuIndex = argv thisTask = 'scene' dataType = 'toyWaveform' modelName = 'simpleNetCNN' da...
[ "ygong1@nd.edu" ]
ygong1@nd.edu
444ceb44d7f1a8ef9a2884580123d3fe4839b4cd
868a84e8ecf489ac927c5b0f1637700d90f7a824
/photobooth/display/graphics.py
08359fbf48d3f1e6ddb998157bb6e11f931bb943
[]
no_license
vishnubob/photobooth
4e26f43d86ceada07d06ec19c7ea71c856f0dcea
3f7d588c053f74a7c95dba494adfcd3d1f66ce90
refs/heads/master
2020-05-21T05:18:32.218850
2019-06-30T07:07:00
2019-06-30T07:07:00
185,918,272
2
0
null
null
null
null
UTF-8
Python
false
false
5,517
py
import os import time import random import threading import pygame as pg from pygame.locals import * from .. base import Singleton class EventHandler(object): def fire(self, event): msg = "Unhandled event code: %s" % event.type class TimerHandler(EventHandler): def __init__(self, callback): se...
[ "giles@polymerase.org" ]
giles@polymerase.org
6851ad4a5d3541d77734d58329d7133bda2cac19
0306bea08e9aab18f34a799ce8a73e86921f90f7
/medium/DeepestLeavesSum.py
1ade74280dc36cc6ca9ed1d83ad6176840151a2d
[]
no_license
GeorgianBadita/LeetCode
78686fde88ef65b64f84fb7c2a22ba37ef21b8d9
e3b0571182369c5308e0c29fb87106bb0b0d615a
refs/heads/master
2022-10-21T00:23:26.479943
2022-10-14T20:27:27
2022-10-14T20:27:27
251,733,951
3
0
null
null
null
null
UTF-8
Python
false
false
791
py
# https://leetcode.com/problems/deepest-leaves-sum/ class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def find_max_level(self, root): if not root: return 0 return 1 + max(s...
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
9817ab456d1961ae4e886e4a837bdbaa90878579
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/update_notifier/thirdparty/wxWidgets/docs/doxygen/scripts/write_info_tag.py
31ece8485dcb958b104b375f8e131ae15f9807b1
[ "BSD-3-Clause", "LicenseRef-scancode-other-copyleft", "WxWindows-exception-3.1", "LGPL-2.0-or-later", "GPL-1.0-or-later", "IJG", "GPL-2.0-only", "LGPL-2.0-only" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
Python
false
false
942
py
# # write_info_tag.py # Write a key/value pair to an Info.plist file created by Doxygen # while generating docsets. # # Author: Ian McInerney (https://github.com/imciner2) import sys import plistlib # The first argument is the plist filename without the extension fname = sys.argv[1] + ".plist" # The second argument ...
[ "mathieu.caroff@free.fr" ]
mathieu.caroff@free.fr
6025cb807ad440861282fa12e4c79d4c787498b7
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11114023.py
3b63d86be5829be61cc4c59ec19045b7f1d23acd
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11114023.py generated: Wed, 25 Jan 2017 15:25:27 # # Event Type: 11114023 # # ASCII decay Descriptor: {[[B0]nos -> mu+ mu- (rho0 -> pi+ pi-)]cc, [[B0]os -> mu- mu+ (rho0 -> pi- pi+)]cc} # from Configurables import Generation Generation().EventType = 11...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
6c4e5107e61be4ad13fb2d657b2c358ada403c4a
ec523d48de9c38e0c5d81ac865d43779117650aa
/apps/pupil/views.py
34bbf44220ab5e59d3338bdeab0f6c1751bc325a
[]
no_license
drc-ima/moon-school
b4b82e2c71d14a6b57aa75e36100851015f3696a
94c7675642583ed4b97a4eb716015510fe93ca84
refs/heads/master
2023-03-06T10:22:56.699977
2021-02-11T15:28:16
2021-02-11T15:28:16
334,768,970
1
0
null
null
null
null
UTF-8
Python
false
false
4,407
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect # Create your views here. from apps.pupil.models import Class, Pupil, ClassSubject from apps.school.models import AcademicYear, AcademicTerm, Result, PupilResult, PupilResultSubject, Attendance, \ PupilAttendanc...
[ "emmanuelofosu472@gmail.com" ]
emmanuelofosu472@gmail.com
c5ecb0b6f2471d1ce340fa938b4e4f6df655d91b
c57439f0c98af370ace65f9d55ef5a457bedc531
/ydk/models/wd/Cisco_IOS_XR_wd_cfg.py
36ec7c0d62b6d2f43b236ef88b8ab89fdbffc2d5
[ "Apache-2.0" ]
permissive
myahmao/ydk-py
c932fbd8245e554227cce0fd723d9a22887b0c40
2f367d93f2088d4abdc2f2bb10ca4864952b458a
refs/heads/master
2021-01-14T11:32:29.064494
2016-03-15T22:44:05
2016-03-15T22:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,191
py
""" Cisco_IOS_XR_wd_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR wd package configuration. This module contains definitions for the following management objects\: watchdog\: watchdog This YANG module augments the Cisco\-IOS\-XR\-config\-mda\-cfg Cisco\-IOS\-XR\-config\-mda\-cfg ...
[ "manradha@cisco.com" ]
manradha@cisco.com
42e006389fff8b08ff28973bbffa8caf713652c5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03402/s593504264.py
64942787d3b18bc2ccc81dfb44fa5d990935a6e8
[]
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
4,212
py
#!/usr/bin/env python3 import sys # import time # import math # import numpy as np # import scipy.sparse.csgraph as cs # csgraph_from_dense(ndarray, null_value=inf), bellman_ford(G, return_predecessors=True), dijkstra, floyd_warshall # import random # random, uniform, randint,...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fe352f13127a5fa9edc69ca37d76744a1c6b8048
64f17f99a7d22bfdb0759676fa065cd6d7b00b10
/src/py3or2.py
675f86a6c86985572552ee44ec4ffb6788ab4cdb
[ "MIT" ]
permissive
turtledb/Download
5cbd1207ed67553ae677fe148a5673efbb34117b
7cc431dbde9fb264d54a7c8b0f522db13b02a818
refs/heads/master
2020-12-29T01:12:03.159123
2013-09-23T03:34:57
2013-09-23T03:34:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
# Copyright (C) xgfone 2012 - 2013 # -*- coding: utf-8 -*- import sys if sys.version_info.major < 3: PY3 = False else: PY3 = True
[ "xgfone@126.com" ]
xgfone@126.com
1bf32d81668c3ccd834771f37bf0d8f4d458c27d
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/1500_1999/1759.py
c4dc798a539e1b2211b7557b49d8b3932e234f4e
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
594
py
class Solution: def countHomogenous(self, s: str) -> int: if len(s) == 1: return 1 mod = 10**9+7 left = right = 0 output = 0 while right < len(s): if s[right] != s[left]: length = right-1 - left +1 #previous homogeneous string outpu...
[ "anlrj@qq.com" ]
anlrj@qq.com
01ced5bbdc47c669caac5fa45978facedb486356
3834a683bc7f3eb66615fad8c95d2f9400ca825a
/Arr_wt.py
999ff69b9cb594ea77c03a0c9753f2521062bfa3
[]
no_license
balajimanikandanm/python3
5d0ae2a0fd2e20426ee9ac5dfc8a26eb0117aa29
ed151ee91c935dc7ecb2c0e54c4e7b107a32c5e7
refs/heads/master
2020-05-31T22:37:44.534017
2019-08-14T10:24:00
2019-08-14T10:24:00
190,523,807
0
1
null
null
null
null
UTF-8
Python
false
false
363
py
n1,w1=map(int,input().split()) p1=list(map(int,input().split())) v1=list(map(int,input().split())) r1=[] c1=0 for i in range(n1): x1=v1[i]/p1[i] r1.append(x1) while w1>=0 and len(r1)>0: mindex=r1.index(max(r1)) if w1>=p1[mindex]: c1=c1+v1[mindex] w1=w1-p1[mindex] p1.pop(mindex) v...
[ "noreply@github.com" ]
balajimanikandanm.noreply@github.com
53e5f6f06cc06c95fb9e51740a5135680f7d213c
d8574d8ca5c571fd7ed3b67dac00c55df2ac6580
/data/kitchen/data/wholeWheatGingerSnaps.py
b2a5a6d9f1e01aa2c0d9d1634795f019d01b1191
[]
no_license
h2r/slu_core
19de87e55e84dd4dada65b4d7b65857bdae740e8
e30c0245177e8481397fd4987422e3d35d79ec08
refs/heads/master
2021-07-09T18:19:33.424551
2020-07-06T18:49:18
2020-07-06T18:49:18
143,929,984
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
from kitchen import kitchenState, annotatedRecipe from esdcs.groundings import PhysicalObject # Whole Wheat Ginger Snaps recipeSource= "http://allrecipes.com/recipe/whole-wheat-ginger-snaps/detail.aspx" recipeName = "Whole Wheat Ginger Snaps" ingredientsList = [("1 cup butter or margarine", kitchenState.Ingredient(co...
[ "stefie10@alum.mit.edu" ]
stefie10@alum.mit.edu
a8fdde5b63cffdc5db016f7d8b3eda8602311f6e
235f2010472122f049f0d6c044f5dd574d493c2b
/pyveg/tests/test_combiner_modules.py
0ad5456c34c3112bbdfca1df3fd7dc0365c7bebc
[ "MIT" ]
permissive
chenzheng1996/monitoring-ecosystem-resilience
11aff1aeb6f469be61db397b50ae94e8e8cb7b95
387b038fa8d8ac5f0c4541afa7478db9d18701c5
refs/heads/master
2023-08-11T23:32:22.115685
2021-09-28T09:45:22
2021-09-28T09:45:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
""" Test the module that combines input from different collections e.g. vegetation images and weather, to produce one output json file. """ import os import shutil import json from pyveg.src.combiner_modules import VegAndWeatherJsonCombiner def test_instantiate_combiner(): vwc = VegAndWeatherJsonCombiner() ...
[ "nbarlow@turing.ac.uk" ]
nbarlow@turing.ac.uk
a8988dbaecffa922056c1789d990ab9e21919fbf
1999d5e727a4946309ef263ede9e86403fcbbf73
/seisma/__init__.py
f8a09b54ae8a4ffd1a2f86be80cb0a62588577d2
[]
no_license
seisma-test-analytics/seisma-api
0a54341ea992f339f2c6ddcff07266a579fd1512
b8331afa2f80a3671b09af908f5f52042b1f270f
refs/heads/0.0.x
2022-04-05T17:37:39.268637
2020-02-11T14:00:46
2020-02-11T14:00:46
78,550,354
0
0
null
2020-02-11T14:00:48
2017-01-10T16:11:52
Python
UTF-8
Python
false
false
141
py
# -*- coding: utf-8 -*- import sys if sys.version_info <= (3, 5): raise RuntimeError('Support for 3.5 and greater version of python')
[ "mikhail.trifonov@corp.mail.ru" ]
mikhail.trifonov@corp.mail.ru
6629c7554b8e674ff63ed9d9b0090c9b1686d2fb
fb359d88cea6883a94c30140b9e08e9f1e57a4c7
/testapp/bootstrap.py
41ad037904e70e8e3bfb3a74e873bc6712a40948
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
jlezard/Flask-And-Redis
0edec2acb98c91aa9ad5da04e3e3458a188c9768
96044d801d2a6369019d186a01041a41053d21cd
refs/heads/master
2021-01-15T18:15:05.590794
2012-06-19T11:25:45
2012-06-19T11:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,308
py
#!/usr/bin/env python """ Bootstrap project using virtualenv_ and pip_. This script will create new virtual environment if needed and will install all requirements there. .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _pip: http://pypi.python.org/pypi/pip """ import ConfigParser import copy import os impo...
[ "playpauseandstop@gmail.com" ]
playpauseandstop@gmail.com
2bb883faf97fc7bd3ccae2b0c6763aca845a203e
d60bbc21d0761733970c00dde1625f6bbc6cb4c9
/botlib/__init__.py
ae23076ca6daa43534bb191e5e7ad1fc20c84f4e
[]
no_license
andzi/databot-bots
fe010de52326bfe7b2855856bad678a3718df5d2
1c60c1d31cc419846799f58d705102342c7e461e
refs/heads/master
2021-01-13T13:18:07.945527
2016-11-02T11:44:45
2016-11-02T11:44:45
72,633,696
0
0
null
2016-11-02T11:34:20
2016-11-02T11:34:20
null
UTF-8
Python
false
false
1,579
py
import sys import databot import pathlib import importlib.machinery import pkg_resources as pres def get_bot_module(path): home_path = pres.resource_filename(pres.Requirement.parse('databot-bots'), 'bots') module_path = pathlib.Path(home_path, '%s.py' % path) if module_path.exists(): module_name =...
[ "sirexas@gmail.com" ]
sirexas@gmail.com
25463c33f5108481befd3ade2fef363ffe73cf3a
7d949b9f19e4c5c897b3aef76e604f2c0eee7112
/src-python/saccade_analysis/analysis201009/stats/var_hist.py
09b9a5eb5bb64b818952dcbc4c7eb0fcf2038413
[]
no_license
AndreaCensi/saccade_analysis
d3fad3a1a406b97c4dcf9cdc82b9b2ce1fbf42df
71b87e9225b16317ffa9a581b3c62d8343fe7bfa
refs/heads/master
2016-09-11T06:49:22.254391
2011-12-20T06:39:30
2011-12-20T06:39:30
952,465
1
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
import numpy from reprep import Report from .utils import attach_description description = """ This figure shows the distribution of the values of {var.name}. The interval [{lb:.3f}, {ub:.3f}] is divided in {var.density_bins:d}. """ def sample_var_hist(sample, expdata, configuration, #@UnusedVariable ...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
82208a1ca9310f0991e7230ec95b5076c1be478e
3fc8c5588252ce522d8d0b7fdda398397475abd7
/tests/test_rotor/test_rotor_mechanism.py
5810f7367df99c907f8989a7bd65c3a09d82985c
[ "MIT" ]
permissive
lukeshiner/enigma
242362a37b7c82fabef237af424a5eca7bc6cdc9
51b9dcb9ec8190b780775135dc88b95fbba120fe
refs/heads/master
2023-07-23T12:10:11.397318
2023-07-19T10:34:37
2023-07-19T10:34:37
137,946,565
0
0
MIT
2023-09-11T08:43:50
2018-06-19T21:16:36
Python
UTF-8
Python
false
false
2,828
py
"""Tests for engima's rotor mechanism.""" import string import unittest from enigma import Reflector, Rotor, RotorMechanism class TestRotorMechanism(unittest.TestCase): """Test class for enigma's rotor mechanism.""" def get_rotors(self, settings): """Return rotor set.""" return [Rotor(**set...
[ "luke@lukeshiner.com" ]
luke@lukeshiner.com
69e2b2d926e67ec76f74ff9e6462d857e5b8297d
8b622e36f35527df000a111bf36955a2bc6cd7bb
/src/tweetme/urls.py
11c9e11e505f652fe4a77587de19704b3bbb5c5d
[]
no_license
AhmedBafadal/Twitter-App
c78a045f92948269edda4b0aac65ee458b56d3a4
0e25101c38f2951092aa3ae150318d3c1078fe7d
refs/heads/master
2020-03-25T00:49:28.697046
2018-08-03T16:29:10
2018-08-03T16:29:10
143,201,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
"""tweetme URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "a.m.bafadal@gmail.com" ]
a.m.bafadal@gmail.com
73623a8290d4f23fe758f36589326c8f6b209083
bbd69601912a3361d788efd03a47f9d4e3bac09e
/demo/GenericCheckBox.py
8afa1ac3bf0eaef7e700c42545dc779bf0be5f38
[]
no_license
wxWidgets/Phoenix
56929484460a0399a8f1d9582bc77c20aa14748d
a1184286703cf24c4b88e5bc14cf2979c1b1ea00
refs/heads/master
2023-09-01T07:10:17.437093
2023-08-31T05:38:01
2023-08-31T05:38:01
5,078,061
2,268
677
null
2023-09-09T17:06:59
2012-07-17T06:22:25
Python
UTF-8
Python
false
false
2,029
py
#!/usr/bin/env python import wx import wx.lib.checkbox as CB #---------------------------------------------------------------------- class TestPanel(wx.Panel, CB.DefineNativeCheckBoxBitmapsMixin): def __init__(self, parent, log): wx.Panel.__init__(self, parent, -1) self.log = log # Make ...
[ "robin@alldunn.com" ]
robin@alldunn.com
27e868793db98eef333ee957194365c10f92a86a
8f0b0ec0a0a2db00e2134b62a1515f0777d69060
/scripts/study_case/ID_4/torch_geometric/datasets/bitcoin_otc.py
9cac9650c2ef9f7325312ec171fffdd37d82203a
[ "Apache-2.0", "MIT" ]
permissive
Liang813/GRIST
2add5b4620c3d4207e7661eba20a79cfcb0022b5
544e843c5430abdd58138cdf1c79dcf240168a5f
refs/heads/main
2023-06-09T19:07:03.995094
2021-06-30T05:12:19
2021-06-30T05:12:19
429,016,034
0
0
Apache-2.0
2021-11-17T11:19:48
2021-11-17T11:19:47
null
UTF-8
Python
false
false
3,837
py
import os import datetime import torch from scripts.study_case.ID_4.torch_geometric.data import (InMemoryDataset, Data, download_url, extract_gz) class BitcoinOTC(InMemoryDataset): r"""The Bitcoin-OTC dataset from the `"EvolveGCN: Evolving Graph Convolutional Networks for D...
[ "793679547@qq.com" ]
793679547@qq.com
9956649fc2bc0a6cc026fe3bd808a5b1a8da2e4e
d267ec32822b24092f617e88da919d1709549394
/wproject1m/ecommerce2/TenktoTwentyk/models.py
f78b309280257f8852d46a33c1555ea55c31b2bf
[]
no_license
sam-student/Evaluation
42fcccae54358fbb6a8bef8c5f9d80a7bc075864
3ba7842a15e431d30618c28819ea9b64c618ef2a
refs/heads/master
2020-05-17T04:23:08.997952
2019-04-25T21:05:46
2019-04-25T21:05:46
183,507,753
0
0
null
null
null
null
UTF-8
Python
false
false
4,780
py
import random import os from django.db import models from django.urls import reverse # Create your models here. from django.db.models.signals import pre_save, post_save from ecommerce.utils import unique_slug_generator def get_filename_ext(filename): base_name=os.path.basename(filename) name, ext = os.path.sp...
[ "abc@gmail.com" ]
abc@gmail.com
2ad335d965ff4c2914b730c674f63af56e5b0f11
d2921434222a8df14c5a6bfe428637887f40db00
/code/inference/Object_Detection_Tracking/deep_sort/utils.py
9064a7493f6814a5dc84b4f007afc194e421425e
[ "Apache-2.0" ]
permissive
JunweiLiang/social-distancing-prediction
d8d17fc6d512704e8662cf36e1c5161ca83f11ad
cec744ab2f32e429a016312f5cdce89bff9935f4
refs/heads/master
2023-04-20T23:14:27.731826
2023-04-06T05:05:58
2023-04-06T05:05:58
253,086,544
44
22
Apache-2.0
2020-04-25T13:10:23
2020-04-04T19:50:35
Python
UTF-8
Python
false
false
3,937
py
import numpy as np from deep_sort.detection import Detection from bisect import bisect def create_obj_infos(cur_frame, final_boxes, final_probs, final_labels, box_feats, targetid2class, tracking_objs, min_confidence, min_detection_height, scale, is_coco_model=False, ...
[ "junweil@cs.cmu.edu" ]
junweil@cs.cmu.edu
b05dc270889047f4ca8b6c93a64fa44312707097
1654ad47bd1de7b7fb05360ee6d47d4ebfe39f34
/members/test_models.py
2d74f0e667b8ffb2e647f580c099d22ad8b40533
[ "BSD-3-Clause" ]
permissive
profbiyi/djangoproject.com
c710906be7c3673170614fb189111bde11bd5877
5bc906c7b12d470aa7523d2571c4796abd89ff4c
refs/heads/master
2021-01-11T22:25:41.736810
2016-12-20T17:43:56
2017-01-13T14:08:28
78,961,009
1
0
null
2017-01-14T19:13:21
2017-01-14T19:13:21
null
UTF-8
Python
false
false
3,520
py
from datetime import date, timedelta from django.test import TestCase from members.models import ( GOLD_MEMBERSHIP, PLATINUM_MEMBERSHIP, SILVER_MEMBERSHIP, CorporateMember, IndividualMember, ) class IndividualMemberTests(TestCase): @classmethod def setUpTestData(cls): cls.member = Individua...
[ "timograham@gmail.com" ]
timograham@gmail.com
24f6e018158e90f2c109f768638959edd9a0a6cb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/425/usersdata/348/92052/submittedfiles/dec2bin.py
e404d059cc03a30fd24404f893496bf348e67fee
[]
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
446
py
# -*- coding: utf-8 -*- #contador de digitos def ContaDigitos (n): cont = 1 while (n//10>0): n = n//10 cont += 1 return cont # somar digitos def somardigitos(g): soma = 0 while g is not 0: soma += g%10 g = int(g/10) return soma p = int(input('informe o p: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d71a1ebc17c2d56f748a33eca26b61a4659f11e8
b4a527447b2063333ad28d2fc29d6128de0e75f5
/nevpro_orient_addons/psd_warehouse/__init__.py
3c4e8b24634642b90d878dbfb7b0aba6d4492bff
[]
no_license
shreyaskamath22/sample_code
ab693cc83c86dd696339dc7f03790720d5114435
33d80a2e88ac954f391a80146bdea95b4f3119c8
refs/heads/master
2021-05-12T13:17:38.136713
2018-01-10T10:03:47
2018-01-10T10:03:47
116,930,435
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
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...
[ "gituser123@gmail.com" ]
gituser123@gmail.com
fa01652f7626b82391e281ce015ba9461201d5fc
e28978d62cd1db2ef1c4e8f45a1fa58ceba81714
/upload_cardapio/migrations/0004_auto_20161110_0014.py
a616820b15e1662364b272434fcf37bfa8a6eb6a
[]
no_license
robertocsp/bipy3
749af8e83172bf9afca2724a95660c7869202ce6
6ae18c3bdbebdbe6ffe04ffe9d521f1aa54871e0
refs/heads/master
2020-04-09T13:30:55.799384
2017-03-22T13:17:00
2017-03-22T13:17:00
62,016,005
0
0
null
2016-10-20T13:20:19
2016-06-27T01:10:24
JavaScript
UTF-8
Python
false
false
573
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-11-11 00:22 from __future__ import unicode_literals from django.db import migrations import django.db.models.deletion import utils.bigint class Migration(migrations.Migration): dependencies = [ ('loja', '0008_bigint_20161110_0004'), ] ...
[ "gustavo.guly@gmail.com" ]
gustavo.guly@gmail.com
c0c3bb2377ffb17d151d44f8e2220410d3ca089f
99ddc4733f832dcabb4dad5e190b927ce9e0e629
/result_data/publications_links.py
364d0b517876d8d438320ea4718829a468a12791
[]
no_license
Casyfill/scrapingMID
41f760a560a4cd368784f66c6771d9fec426a2c6
433bcca3c9e4f6effb1851983f1b39c4ca1a2eb4
refs/heads/master
2021-01-20T10:46:06.816792
2015-06-17T15:17:56
2015-06-17T15:17:56
37,602,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ## Philipp Kats (c) June 2015 ## scraping MID : Публикации import requests, scraperwiki #, json, urllib, time,random from datetime import datetime import lxml.html def scrapePageSMI(link, earl): ''' scraping page from MID: answers to SMI; ''' unique_keys =...
[ "casyfill@gmail.com" ]
casyfill@gmail.com
ac7200650548a96aa75c494dea0cd0ff98b1f957
cab7ef4e4e7cac671f141f5f798ff10182bb91a3
/test/cli_test.py
9750307a6679441a631a7cdfc2ac1aa11eef8935
[]
no_license
beesperester/python-scriptable-houdini
be547299232fa47f111727201fc3b66ea4785564
34183bff5cb79b18d4f680341a31ea8796cd4a1d
refs/heads/master
2022-12-08T08:20:18.014984
2020-08-30T19:52:57
2020-08-30T19:52:57
291,506,374
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
import unittest # pydini from pydini.cli import cli class TestCliMethods(unittest.TestCase): def test_cli(self): self.assertTrue(cli("file /Users/bernhardesperester/git/python-scriptable-houdini/examples/example"))
[ "bernhard@esperester.de" ]
bernhard@esperester.de
be4cae57c6d7553aad6194966e21bce7945d3b4a
6e932aa6ec9424ae0238c559112fdd0214c52be6
/ffawp/ch03/7_pandas_excel_column_by_index.py
46091c546d93d0be59c779e56143d2e0a2105ffe
[]
no_license
LingChenBill/python_first_introduce
d1c780dcd3653ef4cda39cc4a0c631a99071f088
32ff4a16fe10505fcb49e4762fc573f5f1c62167
refs/heads/master
2020-07-29T13:03:15.447728
2020-06-09T13:39:07
2020-06-09T13:39:07
209,813,590
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
# Date:2020/5/25 # Author:Lingchen # Mark: 利用pandas来筛选特定的列 # python3 7_pandas_excel_column_by_index.py data/sales_2013.xlsx data/output/7_output_pandas.xlsx import pandas as pd import sys input_file = sys.argv[1] output_file = sys.argv[2] data_frame = pd.read_excel(input_file, sheet_name='january_2013', index_c...
[ "lingchen1316@163.com" ]
lingchen1316@163.com
ae6a32413cd11a7b2c1641750e2e0ab5eaf0098f
4519b4b24f3907da1dde513f72d432fd9b4391f4
/crds/jwst/specs/niriss_amplifier.spec
6ccec0f5c173fcc470d0acdec4afa258d7e69b7b
[ "BSD-2-Clause" ]
permissive
spacetelescope/crds
0bd712b7c7c6864c274987e7ba94a051e19d1e48
08da10721c0e979877dc9579b4092c79f4ceee27
refs/heads/master
2023-07-23T17:07:33.889579
2023-06-29T20:04:56
2023-06-29T20:04:56
52,045,957
9
29
NOASSERTION
2023-09-14T17:42:28
2016-02-18T23:15:38
Python
UTF-8
Python
false
false
512
spec
{ 'derived_from' : 'cloning tool 0.03b (2012-09-11)', 'file_ext' : '.fits', 'filekind' : 'AMPLIFIER', 'filetype' : 'DETECTOR PARAMETERS', 'instrument' : 'NIRISS', 'mapping' : 'REFERENCE', 'name' : 'jwst_niriss_amplifier_0000.rmap', 'observatory' : 'JWST', 'parkey' : (('META.INSTRUMEN...
[ "jmiller@stsci.edu@stsci.edu" ]
jmiller@stsci.edu@stsci.edu
3d9b2d060a77f242efcf80aa17c7928b76186008
518bf342bc4138982af3e2724e75f1d9ca3ba56c
/solutions/2245. Maximum Trailing Zeros in a Cornered Path/2245.py
9c763ab4b9a81598a2bd4acdb95e98b4aed48aa7
[ "MIT" ]
permissive
walkccc/LeetCode
dae85af7cc689882a84ee5011f0a13a19ad97f18
a27be41c174565d365cbfe785f0633f634a01b2a
refs/heads/main
2023-08-28T01:32:43.384999
2023-08-20T19:00:45
2023-08-20T19:00:45
172,231,974
692
302
MIT
2023-08-13T14:48:42
2019-02-23T15:46:23
C++
UTF-8
Python
false
false
2,034
py
class Solution: def maxTrailingZeros(self, grid: List[List[int]]) -> int: m = len(grid) n = len(grid[0]) # leftPrefix2[i][j] := # of 2 in grid[i][0..j] # leftPrefix5[i][j] := # of 5 in grid[i][0..j] # topPrefix2[i][j] := # of 2 in grid[0..i][j] # topPrefix5[i][j] := # of 5 in grid[0..i][j] ...
[ "me@pengyuc.com" ]
me@pengyuc.com
8a52c13095581ba0eee722b2e42eeb95fa47e209
41f7085fffd12bb53222fdba00d033a43b9d7081
/products/admin.py
0f57b3b447ba98103af25b0208b0a22595fdd971
[]
no_license
arifgafizov/online_store
b852e1bd32149268bbed9159f1037561a3d7e9a0
25c32f0ae65469e904509772d414a79a743ae31b
refs/heads/master
2023-08-01T06:28:47.302377
2021-09-18T18:30:28
2021-09-18T18:30:28
345,300,892
1
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.contrib import admin from .models import Product @admin.register(Product) class ProductAdmin(admin.ModelAdmin): list_display = ['id', 'title', 'price', 'is_deleted']
[ "agafizov@gmail.com" ]
agafizov@gmail.com
86bd70e1a02f04d78b2b80ea47b7f1e989034403
52b5773617a1b972a905de4d692540d26ff74926
/.history/binaryTree2_20200617161517.py
f3a4b120336aedbc1fa778594b3da68fe9568879
[]
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
1,018
py
# Create a node and assign a value to the node # A tree node contains data then pointer to left child and pointer to right child class Node: def __init__(self,data): # designate one node as root self.data = data # then the two others as child nodes self.left = None self....
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
006c90cf7df9ec40ff716c95f1414cc597574d4a
e9689e5ba11f19acec215fcdd89a931e0a8a81d4
/erp/productlist/migrations/0031_auto_20170912_0013.py
4c5197ce958c73b9c14fcb62b5cdcad112426e2e
[]
no_license
PythonAlan/foshan
75d670954b3f18d239dcbddd3ed47243778aaeb9
256cfddd1ec47d723dd10c1a0aff0cb82bfcef2c
refs/heads/master
2021-08-27T22:30:46.799845
2017-12-10T15:46:12
2017-12-10T15:46:12
113,762,115
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-09-11 16:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productlist', '0030_auto_20170911_2301'), ] operations = [ migrations.Remov...
[ "371725153@qq.com" ]
371725153@qq.com
b80d738afde2fe45dab32ac015d8f265ad3ccfa2
0a0cf2e17282131b83c5f3d3435e1d081d3b5037
/migrations/versions/0a7626501af1_.py
afc3eeea672afd26e2c06c635e2a320d270e9ce4
[ "MIT" ]
permissive
Anioko/landingpage_cms
cd60bed31e0544604768db92c3b354f6d9897e11
b2d68d28287dd163de7d420b2c20b19050a2326a
refs/heads/master
2023-03-20T07:10:47.734109
2020-09-17T07:52:32
2020-09-17T07:52:32
292,569,342
0
0
MIT
2021-03-20T05:03:31
2020-09-03T12:52:14
JavaScript
UTF-8
Python
false
false
680
py
"""empty message Revision ID: 0a7626501af1 Revises: c60b807c925f Create Date: 2020-09-11 18:09:06.489717 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '0a7626501af1' down_revision = 'c60b807c925f' branch_labels = None depends_on = None def upgrade(): # ...
[ "aniekanokono@gmail.com" ]
aniekanokono@gmail.com
fe2be4bf5bc9911ba5caca98dd735e0bff98f479
642526009a434c2a6e04fe0293279a151b216d0a
/dkube/sdk/internal/dkube_client/models/job_model_parameters_priority.py
7316475303e09acb141fd218235d1971be7f1c38
[]
no_license
mak-454/dkube-sdk
d4b8e7f7b1d8c0b0f64b10940ae42ab9d62f4654
d2ba78a0abbda589efc0dbd957d9a8f6fd227464
refs/heads/master
2022-12-26T03:17:55.627379
2020-05-09T17:29:08
2020-05-09T17:29:08
262,622,772
0
0
null
null
null
null
UTF-8
Python
false
false
3,278
py
# coding: utf-8 """ Dkube api server No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 impor...
[ "ahmed.khan@oneconvergence.com" ]
ahmed.khan@oneconvergence.com
d049c3c74d2100798cda7d028d6b079ab09bfbb4
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/gnome/ui/ClientFlags.py
dc2b27b1eacf58d4d878690ec3b7a3534e2cf74e
[]
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
730
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 ClientFlags(__gobject.GFlags): # no d...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
1ae6cd3692d693cd46ca4890d7b34ff6b0683c0f
fc678a0a5ede80f593a29ea8f43911236ed1b862
/448-FindAllNumbersDisappearedinanArray.py
f73f5870bf962bf167c0b485af3190b4941dc7ea
[]
no_license
dq-code/leetcode
4be0b1b154f8467aa0c07e08b5e0b6bd93863e62
14dcf9029486283b5e4685d95ebfe9979ade03c3
refs/heads/master
2020-12-13T15:57:30.171516
2017-11-07T17:43:19
2017-11-07T17:43:19
35,846,262
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
class Solution(object): def findDisappearedNumbers(self, nums): """ :type nums: List[int] :rtype: List[int] """ if len(nums) == 0: return [] res = [] for item in nums: nums[abs(item) - 1] = - abs(nums[abs(item) - 1]) for i in r...
[ "dengqianwork@gmail.com" ]
dengqianwork@gmail.com
1be4c37c2a99ea4adec64445e7ebee8d5a4b3480
4ca8ed85f527bdb21bad5909c1181a877e4267be
/migrations/pre-srid-change-versions/2a237f9c430f_trail_geom_to_multi.py
eebffb89c1efd13dcb88936db129193ead676c50
[]
no_license
abkfenris/baxter-flask
5401dbf1ea7e2f140d3cf367ce39027ad7cd0f83
bb12ea90857f908cccc302b01572d4a05415551f
refs/heads/master
2021-01-23T11:40:46.925152
2015-03-07T23:18:59
2015-03-07T23:18:59
27,469,198
0
1
null
2019-07-22T18:47:16
2014-12-03T04:28:21
CSS
UTF-8
Python
false
false
805
py
"""trail.geom to multi Revision ID: 2a237f9c430f Revises: 2dec8c5c859d Create Date: 2014-12-03 19:24:46.501525 """ # revision identifiers, used by Alembic. revision = '2a237f9c430f' down_revision = '2dec8c5c859d' from alembic import op import sqlalchemy as sa import geoalchemy2 def upgrade(): ### commands aut...
[ "abk@mac.com" ]
abk@mac.com
aec23938e4512a08fac5a1da29b3208c286b64af
c37b599dc08153dd72436c69933243ce60048391
/homeassistant/components/dynalite/light.py
a5b7139803c174d36bd0fcb0c68d809d8b4b9699
[ "Apache-2.0" ]
permissive
perara/home-assistant
2abb44b88ae248e086c4d4e568d79a993152f1ab
dee557872bfbc759555bd73e006e46f9ecb16063
refs/heads/dev
2020-04-01T19:06:37.239471
2020-03-30T23:06:53
2020-03-30T23:06:53
153,535,277
2
1
Apache-2.0
2018-10-18T23:30:09
2018-10-17T23:14:37
Python
UTF-8
Python
false
false
1,215
py
"""Support for Dynalite channels as lights.""" from homeassistant.components.light import SUPPORT_BRIGHTNESS, Light from .dynalitebase import DynaliteBase, async_setup_entry_base async def async_setup_entry(hass, config_entry, async_add_entities): """Record the async_add_entities function to add them later when ...
[ "noreply@github.com" ]
perara.noreply@github.com
81f8b77a11ef68786112511c0d6bfd66ad71ce07
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/legacy_test/test_einsum_0d_tensor.py
a401b1300bfd6164aa2f0cd6eec16bf15d500dcd
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
5,600
py
# Copyright (c) 2022 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" ]
PaddlePaddle.noreply@github.com
998a9c753ebd475dc1b6e2cc7b84b17f6ad7a63f
dffb316df646b2d1c4739e30f9547a6860867ccf
/leetcode/_076_MinimumWindowSubstring.py
6ed05691b3c6a54cfcf066e9c63f9265e2487277
[]
no_license
scolphew/leetcode_python
50051f78085e3dd13a39e51bf50c40db9abb8295
86352d3f51ab030afdb7b472a80bc8cab7260c08
refs/heads/master
2022-09-13T02:47:05.900375
2022-09-07T06:17:14
2022-09-07T06:17:14
68,989,262
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
class Solution(object): def minWindow(self, s, t): """ 最短匹配字串(无序) :type s: str :type t: str :rtype: str """ from collections import Counter length = len(t) i = l = 0 r = len(s) - 1 chars = Counter(t) for j, c in enumerat...
[ "scolphew@pku.edu.cn" ]
scolphew@pku.edu.cn
04407fe7fe7b1da9c27528714b4b0cb29e591bb6
66e45a2760db8a1fc580689586806c2e3cce0517
/pymontecarlo/formats/hdf5/options/sample/inclusion.py
d1f3a0b6104e8b02cbf194cc9c64a814164eda5f
[]
no_license
arooney/pymontecarlo
4b5b65c88737de6fac867135bc05a175c8114e48
d2abbb3e9d3bb903ffec6dd56472470e15928b46
refs/heads/master
2020-12-02T18:01:42.525323
2017-05-19T16:44:30
2017-05-19T16:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
"""""" # Standard library modules. # Third party modules. # Local modules. from pymontecarlo.formats.hdf5.options.sample.base import SampleHDF5Handler from pymontecarlo.options.sample.inclusion import InclusionSample # Globals and constants variables. class InclusionSampleHDF5Handler(SampleHDF5Handler): ATTR_...
[ "philippe.pinard@gmail.com" ]
philippe.pinard@gmail.com
16ff6ea4934763e46b88417c1101be732e65186d
da330d765af398d2311da9f40b084542ef0601fa
/PIEROALFARO/ejercicio7.py
4881db9997354fa83773147a8fdcec145aeaf95b
[]
no_license
Piero942/TRABAJO5
47d6db57a1b8d9f6bdcabcc8ba0a72856f7107ef
316d876f1f9784398379c51a8fb15d1286e94622
refs/heads/master
2020-09-06T18:26:23.893283
2019-11-08T19:20:38
2019-11-08T19:20:38
220,508,656
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
#Input numero1=float(input("Ingresar el numero1:")) numero2=float(input("Ingresar el numero2:")) #Processing raiz=(numero1*numero2)**(1/2) #verificador raiz_exacta=(raiz==int(raiz)) #Ouput print("###########################################################") print("# Algoritmo para hallar la raiz cuadrada de un produ...
[ "palfaro@unprg.edu.pe" ]
palfaro@unprg.edu.pe
5e648c1406bc63369c7226dc1885659d93d3d136
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/web/get_connection_gateway.py
87b3497031acb7f2160abb330a3dd79088b17089
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
4,640
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 from...
[ "noreply@github.com" ]
morrell.noreply@github.com
26f621a9c761445ee563b7f3a9dc1a9e574bfe6b
df789505c99974c0ba45adc57e52fc7865ff2a28
/day5/xml/xml处理模块.py
6b1965229767f70c1f5aea7a550d731503657531
[]
no_license
zhiwenwei/python
6fc231e47a9fbb555efa287ac121546e07b70f06
76d267e68f762ee9d7706e1800f160929544a0a3
refs/heads/master
2021-01-20T04:21:44.825752
2018-12-19T06:20:10
2018-12-19T06:20:10
89,676,097
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
#coding:utf-8 #Author:Mr Zhi import xml.etree.cElementTree as ET tree = ET.parse('xml_test.xml') #打开xml文件并赋值变量 r = tree.getroot() #getroot用于得到xml文档元素 print(r,r.tag) #遍历xml文档 for child in r: print(child.tag,child.attrib) for i in child: print(i.tag,i.text) #只遍历year节点 for node in r.iter('year'): prin...
[ "ddzhiwenwei@163.com" ]
ddzhiwenwei@163.com
50df1528e3f59cd108f46ff7c6be293e58da3965
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_62/30.py
89032cc6a2cb8909b4d32a9190f3a2e343f5cf2c
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
# -*- coding: utf-8 -*- fname = "A-large" fin = open(fname+".in","r") fout = open(fname+".out","w") def gcj_read(): linestr = fin.readline().strip() linebits = [int(numb) for numb in linestr.split()] if len(linebits) == 1: return linebits[0] else: return linebits numcases = gcj_read() for caseno in ra...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
050a1d1e7db16f4ff227405a5701f54ea2609395
3fc00c49c6b5a5d3edb4f5a97a86ecc8f59a3035
/grais/migrations/0010_auto_20210324_0830.py
0d9f79095ebd65b2e04272b76be9764d84c135d9
[]
no_license
yc-hu/dm_apps
9e640ef08da8ecefcd7008ee2d4f8f268ec9062e
483f855b19876fd60c0017a270df74e076aa0d8b
refs/heads/master
2023-04-07T13:13:55.999058
2021-04-12T10:19:21
2021-04-12T10:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# Generated by Django 3.1.6 on 2021-03-24 11:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('grais', '0009_auto_20210324_0830'), ] operations = [ migrations.RenameField( model_name='incidentalreport', old_name='longit...
[ "davjfish@gmail.com" ]
davjfish@gmail.com
0b7f9448ad198984d5e0f3b0be28d96adcbb2d88
a58a75b2a6185df177e125cac9b5382baa472d73
/Python/Lab30/Lab30_3.py
e8a007f2da8cc17c8bdc1df17e3978dae17ee390
[]
no_license
aska1987/MachineLearning-DeepLearning_SDAcademy
dff4a86927be47aff2900d702f838e3571406379
873fd8967c9fa086e8efb29cfafc14c1911dbb36
refs/heads/master
2021-10-09T04:38:39.508647
2018-12-21T09:17:56
2018-12-21T09:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,513
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 15 12:21:25 2018 삼성전자 주가분석 @author: SDEDU """ import pandas as pd import pandas_datareader.data as web import matplotlib.pyplot as plt import datetime as dt import numpy as np from sklearn.preprocessing import MinMaxScaler import keras from keras.models import Sequential ...
[ "ljg95924@naver.com" ]
ljg95924@naver.com
0bb8a81c53cdbc5c9e9545831de1d9dc510d807d
9a486a87e028303a551fbd0d1e1b6b650387ea14
/propose/server.py
54c36384f75cfeb5af7c313afc26e755514bccf5
[]
no_license
shanlihou/pythonFunc
7b8e7064fddd4522e492c915c086cc6c5abc6eec
646920256551ccd8335446dd4fe11aa4b9916f64
refs/heads/master
2022-08-24T20:33:12.287464
2022-07-21T12:00:10
2022-07-21T12:00:10
24,311,639
3
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
# coding=utf-8 import asyncio from aiohttp import web from aiohttp import web_runner from RPC import RPC import threading async def cmd(request): data = await request.json() RPC().parseCmd(data) return web.json_response({'result': 'success'}) async def init(loop): app = web.Application(loop=loop) ...
[ "shanlihou@gmail.com" ]
shanlihou@gmail.com
c437368336842d4d934a9270c7860c427ac24094
5c0f0dde1a7e473d58b530898183976cae7db329
/Python/project/entities_templates/m14_00_00_00_entities.py
be787fb8ddf19c58cc59297e72f2fd8190b92f3b
[]
no_license
Grimrukh/SoulsModifier
4e8dc162d07cfabf0c6b533c60b5fa0634b9b22a
090a1e44be9d6dc00755b961ed6aba679e34ea93
refs/heads/master
2023-08-16T22:07:34.937988
2021-09-29T23:57:25
2021-09-29T23:57:25
411,862,886
0
0
null
null
null
null
UTF-8
Python
false
false
7,860
py
from soulstruct.games import DARK_SOULS_DSR from soulstruct.game_types import * class Objects(Object): """`Object` entity IDs for MSB and EVS use.""" # noinspection PyMethodParameters def _generate_next_value_(name, _, count, __): return Object.auto_generate(count, DARK_SOULS_DSR, 1400000) o...
[ "swj.mooney@gmail.com" ]
swj.mooney@gmail.com
58c9ed061d5357c515f41e3107e0c6c5b080a1ff
f12d64a7a2481a6abd329131cd5f4a57d3152d64
/hzzg/cfg.py
858e1e740242cafc2b0c52ca3a240777886353d6
[]
no_license
fclm1316/mypy
40cd1c252759503658c23d5a25150cb1d2c4b15e
b932cf211b1ce2888155bfc5ccc07e2f1347ee24
refs/heads/master
2021-12-22T02:44:35.924671
2021-01-05T11:39:06
2021-01-05T11:39:06
124,316,322
1
1
null
null
null
null
UTF-8
Python
false
false
379
py
#!/usr/bin/python3 # coding:utf-8 url = "http://172.1.2.136:10098/b_imageapi/" org = "102335407507" operid = "102101" operpwd = "111111" # 类别 ckrlb = ['02', '03', '18'] # 证件种类 zjzl = ['02001', '02002', '02039'] # 账户 input_id = 100000000 input_str = 'test1' # 文件 file1 = "C:\\1_申请书.pdf" file2 = "C:\\2_营业执照.pdf" file3...
[ "fbfclm@qq.com" ]
fbfclm@qq.com
bc7691b83313ba1f79397d4ddb2398d9d8db7aab
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_049/ch42_2019_09_30_20_07_41_171353.py
6e0f29b3a62b54f1bdda5646e7c3c9dd5ba30882
[]
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
152
py
n=input("Número: ") def quantos_uns(n): i=0 uns=0 while i < len(n): if n[i] == '1': uns+=1 i+=1 return uns
[ "you@example.com" ]
you@example.com
10f6d889c2d1f9267826ff6f284bf9d4b535c98a
a939e018333a9ecd26ddc618f99835b7eb381686
/deploy/vertical_crawler_tvseries_top/le_crawler/core/.svn/text-base/page_writer.py.svn-base
7520a2abc0c881d71620a5a35f06b8609b657513
[]
no_license
cash2one/crawl_youtube
bff5ba254001c2f31f770e55a4aca39bc54e45ee
0dc40186a1d89da2b00f29d4f4edfdc5470eb4fc
refs/heads/master
2021-01-16T22:30:17.800282
2016-02-18T11:50:09
2016-02-18T11:50:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,530
#!/usr/bin/python # # Copyright 2014 LeTV Inc. All Rights Reserved. __author__ = 'guoxiaohe@letv.com' import time import Queue import threading from scrapy import log from scrapy.utils.misc import load_object from scrapy.utils.project import get_project_settings writer_handlers = ''' le_crawler.core.page_writer.Pa...
[ "zjc0516@126.com" ]
zjc0516@126.com
3461dc237908e378f9612bb9081cef3b33719e06
d53a274a61ffe894a6e5648edf86f78145f0af7b
/delogger/handlers/slack.py
2f88be1f628ead8c1cd94d22c49474344c0bad20
[ "MIT" ]
permissive
deresmos/delogger
8611d88714ffffddb5fa9bc12586fffb89fb8c11
c185e4fd844414d561f521103975b95bd31aff43
refs/heads/main
2021-06-02T23:10:02.814473
2020-10-19T13:53:27
2020-10-19T13:53:27
153,235,270
5
0
MIT
2020-10-19T13:53:29
2018-10-16T06:40:46
Python
UTF-8
Python
false
false
4,859
py
import json from logging import CRITICAL from logging import DEBUG from logging import ERROR from logging import Handler from logging import INFO from logging import NOTSET from logging import WARNING from typing import Any from typing import Dict from typing import Optional import urllib.request class SlackHandler(H...
[ "deresmos@gmail.com" ]
deresmos@gmail.com
c5bb446fff6c4db1fcd1ee3197f8abaa77a12f4c
372647ad5f8a40754116c2b79914708e46960aef
/ivi/agilent/agilentDSOX3102A.py
e2d3b3daf9ffb636d1d6f53512ed864f70673330
[ "MIT" ]
permissive
edupo/python-ivi
52392decb01bc89c6e1b42cbcbd1295a131e91f5
8105d8064503725dde781f0378d75db58defaecb
refs/heads/master
2020-03-31T21:06:02.059885
2018-10-04T12:34:38
2018-10-04T12:34:38
152,567,486
0
0
MIT
2018-10-11T09:40:35
2018-10-11T09:40:32
Python
UTF-8
Python
false
false
1,692
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2012-2016 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the...
[ "alex@alexforencich.com" ]
alex@alexforencich.com