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
27fa21ea7e0bbe78d385fe80cfd72c043575d299
d1ecf65f9c57da52b110b97d6bb644ba9a1ab31c
/tensortrade/features/feature_pipeline.py
01a4d65320e3b81e4b6fd51bb4139e29399e74a4
[ "Apache-2.0" ]
permissive
dnaeva/tensortrade
14eee6ec3f82b55ef910966b95916f22cbc55062
9ff7c5b6e5b83236c1caac3a5a2b3cb82f035606
refs/heads/master
2020-09-01T09:33:43.901253
2019-11-01T02:27:34
2019-11-01T02:27:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,876
py
# Copyright 2019 The TensorTrade 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 applicable law or agreed to...
[ "adamjking3@gmail.com" ]
adamjking3@gmail.com
79e84adc6f0caef87bbc63fcfedab87b4219be55
036a41c913b3a4e7ae265e22a672dd89302d3200
/0201-0300/0214/0214_Python_3.py
c234e7befa9d74bb909ff4df5fd1bc0370c0a651
[]
no_license
ChangxingJiang/LeetCode
e76f96ebda68d7ade53575354479cfc33ad4f627
a2209206cdd7229dd33e416f611e71a984a8dd9e
refs/heads/master
2023-04-13T15:23:35.174390
2021-04-24T05:54:14
2021-04-24T05:54:14
272,088,506
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
class Solution: def shortestPalindrome(self, s: str) -> str: s_new = s + "#" + s[::-1] N = len(s_new) table = [0] * N # KMP失败函数 length = 0 # 当前匹配字符串长度 i = 1 # 当前坐标 while i < N: if s_new[length] == s_new[i]: length += 1 t...
[ "1278729001@qq.com" ]
1278729001@qq.com
7d7286ba5bb305b301bc3738a8ef8cb78b2647a2
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/box/hoverlabel/_bgcolor.py
e8da843734733d79c2d52f87c22c080995edfbb0
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
453
py
import _plotly_utils.basevalidators class BgcolorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__(self, plotly_name="bgcolor", parent_name="box.hoverlabel", **kwargs): super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
2e9a98da135180e7b1a5874e6d08f4fb090d9a3e
d3d9de0c44ea2756025498c8cc9b0b2366b412b2
/tweets2text/twitter_api.py
00fe4f330b41be61922e553afe550632ba047fe1
[ "MIT" ]
permissive
realAyinde/tweets-to-text
8ea32b498964bce924bb1946889f5a0ea0e6e784
06294ee4655734108850577774d3caf615f66520
refs/heads/master
2023-05-27T11:10:51.474494
2020-02-25T18:54:10
2020-02-25T18:54:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,234
py
from html import unescape from django.apps import apps from django.conf import settings from TwitterAPI import TwitterAPI class TwitterMixin(object): @property def twitter_api(self): try: self._twitter_api except AttributeError: self._twitter_api = TwitterAPI( ...
[ "gordon.je@gmail.com" ]
gordon.je@gmail.com
8b9223d185c78aeb42ffe1eed3a37933cd864a3d
0789766b3f242835f3c4e03e573f4d2fa3ebbc5a
/instructions/nb301/nb301_scripts/dump_numparam.py
4cc9055ab6d4afb60422f2c605a60eff3892a4a9
[]
no_license
Anonymous-1112/anonymous
05900a2a5feba3a48ad76847a22a8c3a3f35b2e1
d86ec6b35b681c9220150c68bb5eb10af26f5629
refs/heads/master
2023-07-01T19:49:57.400134
2021-08-08T15:29:12
2021-08-08T15:36:56
393,964,141
0
1
null
null
null
null
UTF-8
Python
false
false
3,173
py
#pylint:disable-all import pickle import copy import yaml from collections import OrderedDict from my_nas.utils import count_parameters from my_nas.main import _init_component from my_nas.common import rollout_from_genotype_str from my_nas.weights_manager import BaseWeightsManager from my_nas.btcs.nasbench_301 import N...
[ "anonymous-email@anony.com" ]
anonymous-email@anony.com
3b1e174ae890826e2b3d3b781c0e72e073a1e4e4
4cc285b0c585241ff4404087e6fbb901195639be
/NeuralNetworkNumbers/venv/Lib/site-packages/tensorflow/_api/v2/image/__init__.py
927cd01607e7feb1b0d65d9ce9265d2bdd712a85
[]
no_license
strazhg/NeuralNetworksPython
815542f4ddbb86e918e657f783158f8c078de514
15038e44a5a6c342336c119cdd2abdeffd84b5b1
refs/heads/main
2023-04-16T18:51:29.602644
2021-04-27T14:46:55
2021-04-27T14:46:55
361,944,482
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:ac2fb2a5cfcc506cd336cdfe0a337d09e80d8c316601e9b935ca7e84dbfd5f72 size 9995
[ "golubstrazh@gmail.com" ]
golubstrazh@gmail.com
da5a964300a56dfdfd19772ee14e6a4a253d2ebe
ea01ed735850bf61101b869b1df618d3c09c2aa3
/python基础/第三方模块/pickle模块/example.py
891406d84889649c3115a04be7864db2e95a275d
[]
no_license
liuzhipeng17/python-common
867c49ac08719fabda371765d1f9e42f6dd289b9
fb44da203d4e3a8304d9fe6205e60c71d3a620d8
refs/heads/master
2021-09-27T10:39:45.178135
2018-11-08T01:49:33
2018-11-08T01:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
import pickle # An arbitrary collection of objects supported by pickle. data = { 'a': [1, 2.0, 3, 4+6j], 'b': ("character string", b"byte string"), 'c': {None, True, False} } with open('data.pickle', 'wb') as f: # Pickle the 'data' dictionary using the highest protocol available. pickle.dump(data,...
[ "liucpliu@sina.cn" ]
liucpliu@sina.cn
508a58eb70a8a8d760ff1b50b6ba4888d3ded715
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_2944.py
7f7c168a9484c314d4527b0d39cb24f4020692e3
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
# python: generating a histogram numpy.histogram([1,3,2,3,1,1,1,1,2,3,2,5,6,6],bins=numpy.arange(0,8,1))
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
00f2dba810898b95d100426f232e2d7609fd73af
11b62d07dcfca2e907a580cdca01b96d77da630d
/aoc/2018/aoc13a.py
0c59544ab3f53f759d226dd2e782c4b32fd38498
[]
no_license
csernazs/misc
bb2acb556a1229319cc29d3dce12c76accba6805
99eccdd5fb3b2caa741f0dcfbc4b4fa4001746fd
refs/heads/master
2023-04-03T06:30:16.103369
2023-03-30T22:48:37
2023-03-30T22:48:37
5,007,986
3
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
#!/usr/bin/python3 CART_CELLS = {">": (1, 0), "<": (-1, 0), "v": (0, 1), "^": (0, -1)} class Matrix: def __init__(self, rows): self.data = rows @classmethod def parse(cls, input_text): lines = input_text.splitlines() width = max(map(len, lines)) rows = [] for li...
[ "cserna.zsolt@gmail.com" ]
cserna.zsolt@gmail.com
5cced4cfd79a2cbb14cf91a2401e5508f946e9f5
97319df4efbd371e89273bd2679c7a219b2a069a
/modules/resource.py
f02c6f971cac2703624a0ef45a5778416a080932
[]
no_license
mpaisner/projects
7dd17429d80aa3630cbafd613bbb7d27fe5dfb71
30bdb423077c730184bf81707ad7cb0038288435
refs/heads/master
2021-01-01T17:04:47.703035
2015-03-01T21:58:03
2015-03-01T21:58:03
31,512,295
0
0
null
null
null
null
UTF-8
Python
false
false
3,631
py
import random ''' Docs: ResourceCollector(e.g. Civ city) -> Def: world: must have a method deep_copy, which returns a copy (obviously) collectfunc(self, world) -> resources storefunc(self, resources, world) -> None sideeeffectfunc, modifyfunc same signature as storefunc. Use: Use get() to return resources ...
[ "matthew.paisner@gmail.com" ]
matthew.paisner@gmail.com
df9db4456ba4df52bee897bd1ce68ad04e5eb3b6
c6aa0f87742c7ce1031d96b13124d0b4890b2af6
/posts/forms.py
d9bc439636eb34873d8512fe765b8d9ed235bf55
[]
no_license
parheto10/ufra_site
b37e2a4aa2a1ce954410ffde263b1e2ac2693d9e
ed2fe1a4798058ee5da659a0adb9ca3a7dbc7ce8
refs/heads/master
2020-03-07T00:49:47.257116
2018-03-28T16:19:33
2018-03-28T16:19:33
127,167,021
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
from django import forms from .models import Comment class EmailForm(forms.Form): nom = forms.CharField(max_length=100) email = forms.EmailField() to = forms.EmailField() message = forms.CharField(widget=forms.Textarea, required=False) class CommentForm(forms.ModelForm): class Meta: model...
[ "parheto10@gmail.com" ]
parheto10@gmail.com
2a708b75605508fa269365e984cbfe3f003be234
2b8f1b067a6602a6520e9846a2df8b83a359623a
/programmers/1level/약수의 개수와 덧셈.py
2974f69b064069c148b1e573d3212995dc5b7a58
[]
no_license
ymink716/PS
3f9df821a1d4db110cd9d56b09b4c1d756951dd8
e997ecf5a3bec1d840486b8d90b934ae1cbafe94
refs/heads/master
2023-08-18T18:21:45.416083
2023-08-16T07:26:18
2023-08-16T07:26:18
218,685,650
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
def solution(left, right): answer = 0 for n in range(left, right + 1): count = 0 for i in range(1, n + 1): if n % i == 0: count += 1 if count % 2 == 0: answer += n else: answer -= n return answer # test print(solution(13, ...
[ "ymink716@gmail.com" ]
ymink716@gmail.com
233b516eaeca379883f3f70e96d892010bd5df15
b235e8a20e6bb221ec511c9a7671ff594be5cd90
/client/verta/tests/operations/monitoring/test_summaries.py
8c151fa654bc8d6f15456533abb57af05183735b
[ "Apache-2.0" ]
permissive
NishkarshRaj/modeldb
47c8b190bd6851b113dd1a97bf95c4489e800c40
71a946ce98a81992f8e65fb50d46a072e41403ae
refs/heads/master
2023-04-16T22:55:22.935970
2021-04-30T06:13:24
2021-04-30T06:13:24
363,839,710
0
1
Apache-2.0
2023-09-02T08:46:55
2021-05-03T06:41:04
null
UTF-8
Python
false
false
4,817
py
# -*- coding: utf-8 -*- import datetime from datetime import timedelta import pytest from verta._internal_utils._utils import generate_default_name from verta.operations.monitoring.summaries import ( Summary, SummaryQuery, SummarySample, SummarySampleQuery, ) from verta._internal_utils import time_ut...
[ "noreply@github.com" ]
NishkarshRaj.noreply@github.com
b2b6cd1aebaa192ed9f26cbd13e295a11829a56c
2f7ade102f564759bb55d7dfde2bf25ca78fe574
/Set4/Challenge28/CP4_28.py
826a7047722729b64cfe77cd5e9ff20b79261b3d
[]
no_license
grandfoosier/Cryptopals
6d60948b148ab6edd433fb413e849a4e623ef9e2
a1f79e240ba9264b31569786ba7d05122e313958
refs/heads/master
2020-04-11T02:06:00.700555
2016-12-13T21:02:52
2016-12-13T21:02:52
68,222,057
1
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
from hashlib import sha1 import base64 import array from random import randint ############################################################ # set text class TextFiles(object): def __init__(self): self.ext = ( "How many boards would the Mongols hoard " + "if the Mongol hordes got bored...
[ "noreply@github.com" ]
grandfoosier.noreply@github.com
c2fa43e442f1b4378de788ca7ad23f2e685d0a6f
601ccdd6d14e82ec4a0bd75ae8e3e2d9273ac119
/venv/bin/gunicorn
38a91fc0d1c9d76c566b65a9dccda821d05fd83e
[]
no_license
jasimdipu/carpriceprediction
0d1db236b15e0d03361a36780ab75bff5b78e788
e31cb06b5f1960e13d275c219f797171c7801b4a
refs/heads/main
2023-02-19T01:15:20.544751
2021-01-20T05:38:37
2021-01-20T05:38:37
331,202,321
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/Users/dipu/Desktop/DataScience/carpriceprediction/venv/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "dipu.j247@gmail.com" ]
dipu.j247@gmail.com
2532294e9959bf8c704c8f2e899c509d2697bb50
6b6892f98ebc492faaf915e7ce1c4fec6b274f11
/src/ufu_parser/syntactic_graphs/componets/lista_variaveis/__init__.py
791be0df511d0b54e5adc3d25b86165ae19aa41e
[]
no_license
samuel-cavalcanti/ufu_language_ufu
f0875c3ad198be8140503f9b19498c5f6e6d17cd
685f6ead5076f3ae5f4c347ec4bd62f92e4b2b52
refs/heads/main
2023-08-16T09:25:44.028979
2021-10-25T15:24:19
2021-10-25T15:24:19
405,813,432
1
0
null
null
null
null
UTF-8
Python
false
false
171
py
from .lista_ids import ListaIDs from .mais_de_um_id import MaisDeUmID from .declaracao_de_variavel import DeclaracaoDeVariavel from .lista_variaveis import ListaVariaveis
[ "scavalcanti111@gmail.com" ]
scavalcanti111@gmail.com
23b536c0824e710b04e04f84b6f1a71f33d531aa
733ce69fcc11ea5ceed3783c6aa256f15510fcad
/venv/lib/python3.8/site-packages/sqlalchemy/orm/persistence.py
435d85e601a3c12d09113a4952e1ce4a010f4d60
[]
no_license
ethanbahmanyari0122/scooteq
c7fc25ab6619b43d8dbe5c5e44e9412ebbc700ba
ca5bf60cdacd92f41e318b23766316f4cd4db5fa
refs/heads/master
2023-06-01T23:57:03.671517
2021-06-18T10:35:31
2021-06-18T10:35:31
377,186,463
1
0
null
2021-06-18T08:53:09
2021-06-15T14:12:29
Python
UTF-8
Python
false
false
79,041
py
# orm/persistence.py # Copyright (C) 2005-2021 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """private module containing functions used to emit INSERT, UPDATE and DELETE sta...
[ "70198067+ethanbahmanyari0122@users.noreply.github.com" ]
70198067+ethanbahmanyari0122@users.noreply.github.com
b2e566230629ea3c347311049a52096734c1be63
ee7b38a180d2d342bca2f9ef9bfe0ba7fc993f4c
/src/erpbrasil/__init__.py
839c9d870babe164160d561945e03ea2c45b6ae3
[ "MIT" ]
permissive
erpbrasil/erpbrasil.assinatura
a149344c7ef837d9b3cdb2349eb33c3ecf374026
ed7506260bc56f9c7dfbd41b04cd7d82b046472a
refs/heads/master
2023-07-06T19:37:55.942570
2023-06-23T14:02:07
2023-06-23T14:02:07
197,454,379
25
21
MIT
2023-06-23T14:02:08
2019-07-17T20:00:37
Python
UTF-8
Python
false
false
271
py
# -*- encoding: utf-8 -*- # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages try: __import__("pkg_resources").declare_namespace(__name__) except ImportError: from pkgutil import extend_path __path__ = extend_path(__path__, __name__)
[ "mileo@kmee.com.br" ]
mileo@kmee.com.br
1f9228852e1694d53d9e56baa8be3e3987e32aa4
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/notification/migrations/0058_auto_20190930_1444.py
2cda3399550da59801737afb0a8dc8211f81ef04
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
12,911
py
# Generated by Django 2.0.5 on 2019-09-30 09:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('notification', '0057_merge_20190830_1755'), ] operations = [ migrations.AlterField( model_name='appnotification', na...
[ "navneetsingh@docprime.com" ]
navneetsingh@docprime.com
ce1149fddc42698647531f4a8196c6f788d9ba95
d09c6ff7114f69a9326883c5b9fcc70fa994e8a2
/_pycharm_skeletons/renderdoc/ShaderDebugTrace.py
a02ee2937ad940582e1373dd3e95542b5acad5e2
[ "MIT" ]
permissive
Lex-DRL/renderdoc-py-stubs
3dd32d23c0c8219bb66387e6078244cff453cd83
75d280e4f500ded506f3315a49fc432b37ab4fa6
refs/heads/master
2020-08-22T16:55:39.336657
2019-11-03T01:21:26
2019-11-03T01:21:26
216,441,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,951
py
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum from .SwigPyObject import SwigPyObject class ShaderDebugTrace(SwigPyObject): """ This stores the whole state of a shader's execution from start to fini...
[ "drl.i3x@gmail.com" ]
drl.i3x@gmail.com
d3aaf512c5fd672018711c061433b5a4d1f87044
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_inflationary.py
a42ae93040cde4ce5f65c867e45b426edca30e35
[ "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
409
py
#calss header class _INFLATIONARY(): def __init__(self,): self.name = "INFLATIONARY" self.definitions = [u'causing price increases and inflation: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondata[o...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
23ae85aeef67ab136784ef0ad23abfaab89aeaf4
d3ce58c4576431df14de0990f45cfd574f0aa45f
/.history/riskCalculator/views_20201019213442.py
1c693b47010e20da895afadf5d821b5834e790b3
[]
no_license
rahulsolankib/portfolio
fe93f0e6b0b28990f0b9fad84dbf7c3aa07243c4
281ed429e2590376aee4649b2ea7b3e8facaf6f1
refs/heads/master
2023-01-02T06:55:21.319094
2020-10-26T08:55:22
2020-10-26T08:55:22
305,586,595
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from django.shortcuts import render from .forms import QueForm,RiskForm from .models import RiskModel def questions(request): formRec = QueForm(request.POST or None) context = { 'formRec': formRec } data = {'id' : 1, 'risk_score':20} form = RiskForm(data) if form.is_valid(): f...
[ "rahulsolankib@gmail.com" ]
rahulsolankib@gmail.com
0da90d38b0f51bb7140ee3a43e85abffa4483dae
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_programmable.py
5816c3038e14266ad9928b9337d27a3a50bff255
[ "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
391
py
#calss header class _PROGRAMMABLE(): def __init__(self,): self.name = "PROGRAMMABLE" self.definitions = [u'able to be programmed'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondata[obj2] = {} self.j...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
910d18b10d2bf647fa1aecf6c091076f7e6a3b4e
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/6020/263006020.py
08d772396efe4c02d8a4eb75dc0b5a2a9310f01e
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
758
py
from bots.botsconfig import * from records006020 import recorddefs syntax = { 'version': '00602', 'functionalgroup': 'ME', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'N1', MIN: 1, MAX: 2}, {ID: 'LX', MIN: 1, MAX: 99999, LEVEL: [ {ID: 'N1', MIN...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
f42764c0d5a18f6d7a4e3c8f357df81ec1a1c8ee
08eef4241e62bcff651e3002fc0809fe50aaaee3
/supervised_learning/0x00-binary_classification/17-main.py
ca7aee766255ec1c2f461011229500489bffc0ae
[]
no_license
Gaspela/holbertonschool-machine_learning
c4e470fed0623a5ef1399125b9f17fd4ae5c577b
b0c18df889d8bd0c24d4bdbbd69be06bc5c0a918
refs/heads/master
2023-04-02T00:34:16.350074
2021-04-03T02:27:41
2021-04-03T02:27:41
275,862,706
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
#!/usr/bin/env python3 import numpy as np Deep = __import__('17-deep_neural_network').DeepNeuralNetwork lib_train = np.load('Binary_Train.npz') X_3D, Y = lib_train['X'], lib_train['Y'] X = X_3D.reshape((X_3D.shape[0], -1)).T np.random.seed(0) deep = Deep(X.shape[0], [5, 3, 1]) print(deep.cache) print(deep.weights) ...
[ "samirmillanorozco@hotmail.com" ]
samirmillanorozco@hotmail.com
c7f5a1190396b6025fdfc81e11660a77c230aca1
5306217707f99ff1d082bb974db0ccebf948763f
/ntds/migrations/0017_auto__add_field_ntdreport_number_of_communities_trac__add_field_ntdrep.py
daa7ee8135362ec3a51975201c8f492466f165a8
[]
no_license
sparkplug/rapidsms-ntds
05b64e67d5bcf751029653eb2f2a64e331e9a9c9
8b42c749db4c34e43eb39f3c52d540c84a8b810e
refs/heads/master
2021-01-16T17:45:09.821171
2016-02-15T20:50:26
2016-02-15T20:50:26
25,920,319
0
0
null
null
null
null
UTF-8
Python
false
false
60,592
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'NTDReport.number_of_communities_trac' db.add_column('ntds...
[ "mossplix@gmail.com" ]
mossplix@gmail.com
bf2654327507b6c33b5e476ca146ce4640002b55
8afb89469cdb3db777f918162e19e2276948721c
/flaskblog/posts/forms.py
0b175d1e5b51312a786cd65e987d225db5490b6e
[]
no_license
peninah-njeri/Personal-blog
460b4009f9236ab5cdacd72187089dc7ddf36907
fc61d9737078a750d06bc71630dcbe17b6a54bd4
refs/heads/master
2020-08-28T23:37:10.388346
2019-10-31T10:46:31
2019-10-31T10:46:31
217,683,704
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
from flask_wtf import FlaskForm from wtforms import StringField,SubmitField,TextAreaField from wtforms.validators import DataRequired class PostForm(FlaskForm): title = StringField('Title', validators=[DataRequired()]) content = TextAreaField('Content',validators=[DataRequired()]) submit = SubmitField('Post')
[ "peninahgathuru@gmail.com" ]
peninahgathuru@gmail.com
2d8df97eebe2cf1efcdd04d0bd851e53dcee74c2
9f43962d3d770abaad2a6f6e28933facdd80459a
/student_and_information/student/urls.py
e2e118641a4c3bd8f1a772e9a88b9a38454a192d
[]
no_license
iversongit/20180504
9a8c511d66de2b2777863a314b4bf6f2cef2992e
ecc8886b1aa3fd1b0040b9f2db864a3f0ac2ffea
refs/heads/master
2020-03-15T09:02:25.854116
2018-05-04T10:57:53
2018-05-04T10:57:53
132,065,477
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
from django.conf.urls import url from django.contrib.auth.decorators import login_required from student import views from rest_framework.routers import SimpleRouter router = SimpleRouter() # 定义一个路由 router.register(r'student',views.StudentEdit) # studentEdit -- 类名 urlpatterns = [ url(r'^addstu/',views.addStu,name...
[ "1564329410@qq.com" ]
1564329410@qq.com
27f448669d8ad863418b8844d6ea2eb4c6d837c2
7704dfa69e81c8a2f22b4bdd2b41a1bdad86ac4a
/nailgun/nailgun/test/integration/test_node_nic_assignment.py
c5cbfcf06a6269a4c31fdc346209eacddfd74ebf
[ "Apache-2.0" ]
permissive
andrei4ka/fuel-web-redhat
8614af4567d2617a8420869c068d6b1f33ddf30c
01609fcbbae5cefcd015b6d7a0dbb181e9011c14
refs/heads/master
2022-10-16T01:53:59.889901
2015-01-23T11:00:22
2015-01-23T11:00:22
29,728,913
0
0
Apache-2.0
2022-09-16T17:48:26
2015-01-23T10:56:45
Python
UTF-8
Python
false
false
24,209
py
# -*- coding: utf-8 -*- # Copyright 2013 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "akirilochkin@mirantis.com" ]
akirilochkin@mirantis.com
ad37a736222f7f65bc889bdbf2123b97bdef19e3
eb6b21e677b34536af6217b9db279150e022ae5a
/봄방학/0305_A_2819_격자판의숫자이어붙이기/2819_int_variable.py
b83bfb8ef806489a1614c9c3e6318d0638a09a24
[]
no_license
jhj9109/TIL
78e6c5319e04fc1aebb7cf54d0730cfa54098c0f
84d75b929a506c90d47697a59193fc8ef4576141
refs/heads/master
2023-02-01T23:46:24.059487
2020-12-22T01:47:24
2020-12-22T01:47:24
234,995,689
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
import sys sys.stdin = open ('input2819.txt') '''30분 중복가능 서로다른 7자리수 ''' # u사용 go호출 : 356 / 연산횟수 8019 # 일반 go호출 : 23864 / 연산횟수 211759 def go(r, c, res, n, intv): global cnt cnt += 1 if n == 7: # cnt += 1 if intv not in res: # print(intv) res.append(intv) ...
[ "jhj91_09@naver.com" ]
jhj91_09@naver.com
d2cd7c311a18515ac02f3b5e424edc3997489c85
9ff1ecc89e061992a4960446953cc102c31ff285
/apps/parabola/main.py
8510302dfc486da05f570a21d452d468bd042ab6
[]
no_license
dx-entity/sdn_integration
4d38c77625f4a08651bb42ade78d0224af97513f
3f355a1b79651aed5c0e8c9d9df0a95b6dde4f83
refs/heads/master
2021-01-09T20:08:28.443662
2016-07-22T05:50:35
2016-07-22T05:50:35
63,927,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
import sys import eventlet from mq_adapter.TaskReceiver import TaskReceiver from config_init import GetSingletonConf from LogFormater import get_logger from entity_access.EntityAccess import EntityAccess from global_view.global_statics import GlobalCaseInfo def global_init(): # TODO: check b_access_switch, g...
[ "dengxin@iie.ac.cn" ]
dengxin@iie.ac.cn
8b43917aeddbc3161f5027f25adb36bcebc098ee
a180d8fbbedfd307e92340ffd5d91e4a8bff6e88
/app.py
4ac6e439ad8c83000a6bb7dc617947d4eedf07d3
[]
no_license
jgartsu12/hello-flask
5806a68fd99f2193ad5a460eb34f900e6cc89bc0
19bf57bd7ab6b9cd88da42f4f01d20766df44e4c
refs/heads/master
2021-06-26T11:43:21.738379
2019-11-22T15:56:13
2019-11-22T15:56:13
220,708,039
0
0
null
2021-03-20T02:12:14
2019-11-09T21:47:53
Python
UTF-8
Python
false
false
2,095
py
from flask import Flask, request, jsonify from flask_sqlalchemy import SQLAlchemy from flask_marshmallow import Marshmallow import os app = Flask(__name__) basedir = os.path.abspath(os.path.dirname(__file__)) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(basedir, 'app.sqlite') db = SQLAlchemy(ap...
[ "jgartsu12@gmail.com" ]
jgartsu12@gmail.com
8f4ed3c4e57abcf96eea188dffe6c9697b7ce996
8787b2fbb5017b61dcf6075a5261071b403847bf
/BOJ/BFS(너비 우선 탐색)/구슬 탈출2.py
e563e119982ab7fb06d464a7cfcbba8580657d49
[]
no_license
khw5123/Algorithm
a6fe0009e33289813959553c2366d77c93d7b4b9
323a829f17a10276ab6f1aec719c496a3e76b974
refs/heads/master
2023-01-02T00:12:21.848924
2020-10-23T06:37:41
2020-10-23T06:37:41
282,162,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
from collections import deque def move(x, y, dx, dy): count = 0 while board[x+dx][y+dy] != '#' and board[x][y] != 'O': x += dx y += dy count += 1 return x, y, count def bfs(rx, ry, bx, by): queue = deque() queue.append((rx, ry, bx, by, 1)) visit = [[[[False...
[ "5123khw@hknu.ac.kr" ]
5123khw@hknu.ac.kr
0a64cb69a10d0f89b1b7a182e9d84e19bcd06b61
9ee60431b2ebff4fe45bb3c8fd95b3ceac42bb9c
/numornot.py
3bc4660a423416dc0eba49b2c12e191376cc2b36
[]
no_license
vitcmaestro/codekata
76f55ace31af168a0d368444566c1631b1da341e
fad91f42ddbf367ce89fed2ad5f25bae8cfe36d6
refs/heads/master
2020-04-15T05:00:04.095479
2019-01-15T08:24:13
2019-01-15T08:24:13
164,405,278
0
1
null
null
null
null
UTF-8
Python
false
false
77
py
n = input("") try: s = float(n) print("yes") except: print("No")
[ "noreply@github.com" ]
vitcmaestro.noreply@github.com
7e4ec46da0e6aa5c63c234bef768823ec428a36d
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/ADD/ADDmonoPhoton_MD_4000_d_6_13TeV_pythia8_cfi.py
81db028ae3955c854ccee827cf8b4f110bf86792
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,513
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", maxEventsToPrint = cms.untracked.int32(1), py...
[ "jotadram6@gmail.com" ]
jotadram6@gmail.com
0050527eb102218e796faf123e2abc33b9021fb3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/2/usersdata/101/888/submittedfiles/poligono.py
d2a737fcc13001154fed0b09064cfe851545719d
[]
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
171
py
# -*- coding: utf-8 -*- from __future__ import division n = input ( ' digite o numero de lados do poligono: ' ) nd = ((n*(n-3)/2) print (' o poligono tem %.1f lados' %nd)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a88eb2315aabc5119a7fbd1789e8579e3506a2e5
612325535126eaddebc230d8c27af095c8e5cc2f
/src/build/linux/rewrite_dirs.py
2336ebe8be354452885c20bfbdc1d76990cf5338
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Rewrites paths in -I, -L and other option to be relative to a sysroot.""" import sys import os import optparse REWR...
[ "2100639007@qq.com" ]
2100639007@qq.com
b3c87064f70617861931e59b2c2d0d84071523a6
d4a569dcf616b7f05e53a44803e38196b436b8b9
/Thesis@3.9.1/Lib/site-packages/mypy/typeshed/stdlib/2and3/_warnings.pyi
83d115091a9268853368096938ea8f1b8100e0d5
[ "MIT" ]
permissive
nverbois/TFE21-232
ac3178d24939c872c02a671c0f1d8cc471af516b
7113837b5263b5c508bfc6903cb6982b48aa7ee4
refs/heads/main
2023-06-05T18:50:59.207392
2021-06-25T19:54:40
2021-06-25T19:54:40
337,691,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
pyi
import sys from typing import Any, Dict, List, Optional, Tuple, Type, Union, overload if sys.version_info >= (3, 0): _defaultaction: str _onceregistry: Dict[Any, Any] else: default_action: str once_registry: Dict[Any, Any] filters: List[Tuple[Any, ...]] if sys.version_info >= (3, 6): @overload ...
[ "38432529+nverbois@users.noreply.github.com" ]
38432529+nverbois@users.noreply.github.com
4656d0ce6d0e64237836830fa9d556681d74b05a
22f1c0d8406be377e588ac0eaeea7bd19385156c
/docs/conf.py
a4e22fc75113387d3497648f1056333ecccc3560
[ "BSD-3-Clause", "MIT" ]
permissive
mbehrle/python-zeep
999be22a91f6df04b995b823dc68ae83953fb046
5921b047d4fda2d87d9ab178fd37ef77d70d1a1f
refs/heads/master
2021-01-23T08:04:47.801530
2017-01-31T11:39:47
2017-01-31T11:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,542
py
# -*- coding: utf-8 -*- # # Zeep documentation build configuration file, created by # sphinx-quickstart on Fri Mar 4 16:51:06 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All ...
[ "michael@mvantellingen.nl" ]
michael@mvantellingen.nl
56df20b7399e0ff149bf4d8619e36a5f824069cb
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartC/Py字符串的组合.py
05b01eb5c8e8416869f73b4e3f7e4f40b16a2c77
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
abc 的组合 a b c ab ac bc abc s = input() s = list(s) for i in range(0,len(s)+1): words = [] for j in range(0, len(s)): #for p in range(i,len(s)+1): if(j+i<len(s)+1): t = ''.join(s[j:j+i]) if t not in words: words.append(t) words.sort() print...
[ "2901429479@qq.com" ]
2901429479@qq.com
54e59d3b28933361d3ee8c21f1440f2fdb8dfaed
1570802981f88165bb0b2db6e7999330eedefdab
/KabelParser/kabel.py
22b8b102485bbff19ebe3ddfdb7bd330b12df911
[]
no_license
seantyh/KabelParser
a6b915446c4c6408471e4c8d65f438e54aa5efff
6aaaa01c6d40bd1d280c83c817756321aed17981
refs/heads/master
2021-01-19T14:49:24.163734
2017-08-21T14:57:56
2017-08-21T14:57:56
100,927,463
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import re import io from .kabel_parser import KabelParser def parseFile(fpath): fin = open(fpath, "r", encoding="UTF-8") intext = fin.read() fin.close() return parse(intext) def parse(textStr): in_lines = textStr.split("\n") parser = KabelParser() patBracket = re.compile("\[(.*?)\]") ...
[ "seantyh@gmail.com" ]
seantyh@gmail.com
07d81e1c19a97689fea2e93f9b4062c2dad6af8e
f138be1e8e382c404cfe1ff6a35e90fc77fa9bff
/ABC/python/153/B.py
7ee7e386a7022f49c8eb5cd00313e2e7665dc7f1
[]
no_license
jackfrostwillbeking/atcoder_sample
8547d59ca2f66b34905f292191df6c474010fded
d5b2fe8f628fd56eaf23ee7e92938e8ac1b1fef9
refs/heads/master
2023-07-25T19:16:14.340414
2021-08-26T15:26:08
2021-08-26T15:26:08
273,857,286
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
import sys H,N = map(int,input().split()) array = list(map(int,input().split())) if not ( 1 <= H <= 10**9 and 1 <= N <= 10**5 ): sys.exit() if not ( 1 <= min(array) and max(array) <= 10**4 ): sys.exit() print('Yes') if sum(array) >= H else print('No')
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
1c5d914bbdba6e92c88b205152c8eb5dcc2f232a
eade1861db1968645e0e17dfaa5250a4b8245b98
/mobike/feat8.py
d3a064ec91809704d822884ce7fe9268ffbcf657
[]
no_license
piupiuup/competition
5b5da56fed336e07cf99cef8f5bfe89a8f771900
076c30df3d2647cb3580c543e604375e84590ca7
refs/heads/master
2022-09-30T14:47:01.244084
2020-05-30T12:56:02
2020-05-30T12:56:02
268,074,180
1
0
null
null
null
null
UTF-8
Python
false
false
143,987
py
import os import gc import time import random import pickle import Geohash import datetime import numpy as np import pandas as pd import lightgbm as lgb from datetime import datetime from datetime import timedelta from sklearn.cross_validation import KFold cache_path = 'F:/mobike_cache2/' train_path = r'C:\Users\csw\D...
[ "278044960@qq.com" ]
278044960@qq.com
0e32208b5e7f433ede8cf95a1ba80972e5c7e3b4
bf38ef442455b2b66ad44f3c6d7192f0fa70d4ee
/0x09-Unittests_and_integration_tests/test_utils.py
d9a8684625c38236c2cb6996284759b3b57965f6
[]
no_license
mauricioolarte/holbertonschool-web_back_end
1cb708f7d3d40b74b18191083af058cc109e8c4b
17ae15260719f98c02fab54cfac3d284134be4e4
refs/heads/main
2023-08-22T03:50:52.495218
2021-10-06T02:48:55
2021-10-06T02:48:55
387,625,287
0
0
null
null
null
null
UTF-8
Python
false
false
2,262
py
#!/usr/bin/env python3 """test utils """ from parameterized import parameterized import unittest from unittest.mock import patch from utils import (get_json, memoize, access_nested_map) import requests class TestAccessNestedMap(unittest.TestCase): """ Class for Testing Access Nested Map """ @parameterized.e...
[ "reneolarte@yahoo.com" ]
reneolarte@yahoo.com
5cd0a545f001ca91e9e53e05fcafa044c1144217
e028849c6905bcda94072865ac38a9bafb36c8f2
/tstructure.py
fcda3701c523dea549949eb205407673c38ac32f
[]
no_license
wwwlwscom/homework
1820dc0778d1f749e59f914246642692286e8a5b
1c0894114ed5790bdd867cdc869c81e872f83fe9
refs/heads/master
2016-09-06T17:18:04.512378
2015-09-14T08:52:45
2015-09-14T08:52:45
41,960,762
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
#!/usr/bin/env python from twisted.internet import defer, reactor, protocol from twisted.mail.imap4 import IMAP4Client import sys, email, getpass class IMAPClient(IMAP4Client): def connectionMade(self): IMAPLogic(self) class IMAPFactory(protocol.ClientFactory): protocol = IMAPClient def __init__(self, usernam...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c8062866c5b1a4dc0b0dd4dbdb7a575087503c65
78edc89e61d65fbf9dc5a63dc59fde17e53fe187
/user.py
db74fb73f241e85fd3ad17135936e09d11834b89
[ "MIT" ]
permissive
Limpan/docker-httpd-webdav
1c036ebc05f09f12ac07344ec4c3ec5882ef3bd9
2d2a7da527432df8b0a1c5ac73cfc38a9f5b318d
refs/heads/master
2021-06-18T18:21:09.081822
2020-04-25T12:11:11
2020-04-25T12:59:14
207,154,403
0
0
null
null
null
null
UTF-8
Python
false
false
4,695
py
#!/usr/bin/env python3 import os, sys, logging import arrow, bcrypt, click, json, xkcdpass from xkcdpass import xkcd_password as xkcdpass DEBUG = True if os.environ.get('DEBUG') is not None else False logging.basicConfig(stream=sys.stderr, level=logging.DEBUG if DEBUG else logging.ERROR) logger = logging.getLogger() ...
[ "linus@etnolit.se" ]
linus@etnolit.se
ce7b7eebac6ff457d02530b5f67a3c3fd7102840
fa4e57a7148e6b3f934d4c36de791b8b7ed4124d
/src/belajar file/menulis.py
d79f70e22e3483bd62a417ba079372bd8a5274df
[]
no_license
frestea09/latihan-python-november
4f429adb49e5b8d162f43f45e748570d623deb82
89676345a6d0a1e2e04175aae87c2be936cac14e
refs/heads/master
2020-09-21T15:50:18.150080
2019-11-29T11:43:37
2019-11-29T11:43:37
224,837,567
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from __future__ import print_function def main(): fileSaya = open('data.txt','w+') dataTulis = 'ilman teguh prasetya' fileSaya.write(dataTulis) fileSaya.close() if __name__ == '__main__': main()
[ "ilmanfrasetya@gmail.com" ]
ilmanfrasetya@gmail.com
51bc5a79c3295f681d8979b11d88a959fffe668f
f3b233e5053e28fa95c549017bd75a30456eb50c
/jnk1_input/34/34-59_MD_NVT_rerun/set_1ns_equi_1.py
b5048ad4f961e741135ce910c580da032e612d67
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
import os dir = '/mnt/scratch/songlin3/run/jnkl/L634/MD_NVT_rerun/ti_one-step/34_59/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1.in' temp_pbs = filesdir + 'temp_1ns_equi_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] fo...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
a7da237fe8fd6df0220e0ef2dfabd575d66917fa
f1d06c246b2822d6bcd0df70725f4c9a5dcf8f0b
/SSR订阅内容.py
c02f54c3df380f4677336b7a5e33049406065c66
[]
no_license
sola1121/tools_frequently_use
0e703bb9cc2023d585c81b8ded6eff1476c4062c
1b0faaf8d22f3aa18e65088fdf6e6e51087d0d75
refs/heads/master
2021-06-18T04:24:35.923402
2021-03-12T12:37:02
2021-03-12T12:37:02
188,539,460
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import os import base64 import requests root_dir = os.path.dirname(__file__) res = requests.get("https://raw.githubusercontent.com/AmazingDM/sub/master/ssrshare.com") print(res) ssr_info = base64.b64decode(res.text) with open(os.path.join(root_dir, "SSR订阅内容.txt"), "wb") as file: file.write(ssr_info)
[ "sola1121@foxmail.com" ]
sola1121@foxmail.com
f70000807f31b976542561dc5c226b2bee412299
a58ef55b2bd84ee243aa3f2d98d08726a97bf229
/jinja2_git.py
7f92916cbadde3d8f8b427ef66db9decafe77860
[ "MIT" ]
permissive
mikhail-akimov/jinja2-git
85999db70db2f41ff40397b13f9b3f23c51a27d0
0d17c11d14d8e93f43af88419c510b418d10debe
refs/heads/master
2020-03-30T04:09:53.005461
2018-09-27T12:10:59
2018-09-27T12:10:59
149,763,733
0
0
MIT
2018-09-21T12:58:06
2018-09-21T12:58:06
null
UTF-8
Python
false
false
926
py
# -*- coding: utf-8 -*- import subprocess from jinja2 import nodes from jinja2.ext import Extension class GitExtension(Extension): """This class represents jinja2 extension to render current commit hash.""" tags = {'gitcommit'} def _commit_hash(self, short): params = ['git', 'rev-parse', 'HEAD...
[ "mail@sobolevn.me" ]
mail@sobolevn.me
09f78aa61bde267795cd977cc3f771ea2a54beb5
f90142f9994013ead22e52785a115c66012dc2f8
/manuals/nearest_neighbour/codes/grades.py
27433860d4cc26e231b21e65a070f827398e43de
[]
no_license
gadepall/aiml-archive
8b11f6e5e577b000cc4be9e49f0ba26235971c1b
60505f3cf6afe7b7624a238b052accb8fa139e3f
refs/heads/master
2023-03-05T07:55:33.892559
2020-12-14T04:23:51
2020-12-14T04:23:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
py
import numpy as np import pandas as pd data = pd.read_excel('marks.xlsx') #reading input df1 = data.loc[:,"Total" or "Marks"] #storing marks column x = np.array(df1) N = x.size #Size of Data x = x.reshape(N,1) #Converting to column y = np.zeros((N,1)) ...
[ "gadepall@gmail.com" ]
gadepall@gmail.com
5e47421c20977f1eb164e7e84c8c67cbd65d382f
4a1273f72e7d8a07a3fa67ac9f2709b64ec6bc18
/client/migrations/0012_auto_20160917_0449.py
c9a70fe0c6d2c9ca98ea4545bd52d30061801d33
[]
no_license
WealthCity/django-project
6668b92806d8c61ef9e20bd42daec99993cd25b2
fa31fa82505c3d0fbc54bd8436cfc0e49c896f3e
refs/heads/dev
2021-01-19T14:10:52.115301
2017-04-12T11:23:32
2017-04-12T11:23:32
88,132,284
0
1
null
2017-04-13T06:26:30
2017-04-13T06:26:29
null
UTF-8
Python
false
false
965
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('client', '0011_auto_20160910_1602'), ] operations = [ migrations.AddField( model_name='client', name...
[ "peterroth0612@gmail.com" ]
peterroth0612@gmail.com
eeb8e22a9930666e1ed4a5d16841eaabd64f8201
158c80436eddc5f4e98987badb2c2c330ee4dde7
/Glacier/StackTriage/StackTriage.py
8f7fb532b192df2235a808f1b6ca34d5eb9d07b6
[]
no_license
DRCART03/CodeCombat
3bb84eb90c310c4dbe2adbb302890eb4c2866eec
a9eff4fec5be4dac8914d8b9b1483586b265800b
refs/heads/master
2020-08-04T11:02:56.504091
2019-10-01T14:31:22
2019-10-01T14:31:22
212,115,556
0
0
null
2019-10-01T14:30:37
2019-10-01T14:20:29
null
UTF-8
Python
false
false
1,038
py
# https://codecombat.com/play/level/stack-triage # Sort out and deliver items: # Yak - potion, Yeti - mushroom, Skeleton - lightstone. yetiPos = {"x": 60, "y": 36} yakPos = {"x": 40, "y": 52} skeletonPos = {"x": 58, "y": 56} peasant = hero.findFriends()[0] items = peasant.findItems() for item in items: # Command t...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
9281fb0b7dcff55c9a399976d962c8a8a9cce434
86fb443724338a2cd52a83557835aca56f2cd85d
/test/test_attachments.py
45418300d2e8b7c2796d27522e5b5740485d3e3f
[]
no_license
baris8/EasyBill4
e59141736636602b9cf0ff6ca380f8b0eb47102b
8abad459b6914e3188b43994f52f9ff020484a9f
refs/heads/master
2022-04-24T19:29:34.082363
2020-04-29T13:29:08
2020-04-29T13:29:08
259,932,650
0
0
null
null
null
null
UTF-8
Python
false
false
3,425
py
# coding: utf-8 """ easybill REST API The first version of the easybill REST API. [CHANGELOG](https://api.easybill.de/rest/v1/CHANGELOG.md) ## Authentication You can choose between two available methods: `Basic Auth` or `Bearer Token`. In each HTTP request, one of the following HTTP headers is required: ...
[ "baris.uectas@dvs.ag" ]
baris.uectas@dvs.ag
769de72493704fcd62cd4f4ddb5f6fed3cc05257
c08a6032d5d96f706c49e8299a9e9873db458826
/mydjango/test_ms/test_ms/urls.py
36cb7d1ae3663d8302af22667286791161f34df0
[]
no_license
lj1064201288/wesite
910c0b15e0467cdeecb3ae8e0075be888760688b
e0c40c86aa01879c118cf9bf8c661e3e4ce0b4df
refs/heads/master
2021-04-15T23:47:33.354744
2020-03-26T09:18:03
2020-03-26T09:18:03
249,310,163
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
from django.conf.urls import include, url from django.contrib import admin from test_objects.views import index urlpatterns = [ # Examples: # url(r'^$', 'test_ms.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^$', index), ]
[ "1064201288@qq.com" ]
1064201288@qq.com
bd47b24f19a6ef25d889cc8c0075926f68ef0ca3
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/elasticsan/azure-mgmt-elasticsan/azure/mgmt/elasticsan/aio/operations/_operations.py
0e2ad208e9e4b18b89920bd17d8ff57868e3ba5d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
5,591
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
2764f417b8062849c10d203da23c213783daf926
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/__init___parts/ExportPaperFormat.py
70455dfa3649e8f00f9a8b3dadd06d19cc29e3cd
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,432
py
class ExportPaperFormat(Enum,IComparable,IFormattable,IConvertible): """ Paper formats supported by DWF export enum ExportPaperFormat,values: ANSI_A (1),ANSI_B (2),ANSI_C (3),ANSI_D (4),ANSI_E (5),ARCH_A (15),ARCH_B (16),ARCH_C (17),ARCH_D (18),ARCH_E (19),ARCH_E1 (20),ARCH_E2 (21),ARCH_E3 (22),Default (0),ISO_A...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
1368c43cc0f369de7f27aab9b92e5bfc7c938210
87402fcec35a35a45dc305588323c72fa3d203b0
/tasks/migrations/0014_auto_20200811_1514.py
80708b9ce73adafee4ff97e84cf4ccc2a8816969
[]
no_license
Aviemusca/task-manager-backend
d80fd20a5aa88a31f5096d17c3ee1ebe86832c7e
b0a9052d94138f4e7d2c1be7f7425ee570f9eec4
refs/heads/master
2022-12-20T10:06:16.648889
2020-09-29T10:31:33
2020-09-29T10:31:33
278,863,723
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# Generated by Django 3.0.8 on 2020-08-11 15:14 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0013_task_deadline'), ] operations = [ migrations.AlterField( model_name='task', name='dead...
[ "yvan@metatech.ie" ]
yvan@metatech.ie
f477322e3eb557da99ae50ae49e0fc85edd10385
ec6a6cfc8921cdd0424b64e3ab2e7b3b319b2b43
/identity_manager/__main__.py
a87ca2bcd97276c312ed97275d90e16903f172a5
[ "MIT" ]
permissive
IgorZyktin/Reminiscence
4f2d19d44eace18a38fbf1c322982e158682d071
3d68bdf73ae9fc47c9a69527e3547c0789259ecc
refs/heads/master
2023-02-11T02:15:24.532088
2021-01-09T11:12:05
2021-01-09T11:12:05
298,094,456
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
# -*- coding: utf-8 -*- """Main module. """ if __name__ == '__main__': pass
[ "nicord@yandex.ru" ]
nicord@yandex.ru
ece21adf396525da3baf38abb72b91adcba30ab7
f34adfa3dc6ea5f2df602758f43976de473d6ecc
/ZenPacks/community/SpringBootAdmin/SpringBootAdminComponent.py
280fa687dae75dc577c9a9af6fa30d5f418ad079
[]
no_license
Hemie143/ZenPacks.community.SpringBootAdmin
9f418f083e2a91f7509f8ffe92e437d0ea63c54e
26f4b337ef0a49b645c7436288a7a074262cb640
refs/heads/master
2023-08-18T10:31:10.511483
2021-10-05T08:20:51
2021-10-05T08:20:51
353,626,437
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
from . import schema class SpringBootAdminComponent(schema.SpringBootAdminComponent): status_maps ={ 0: 'UP', 1: 'RESTRICTED', 2: 'Exception', 3: 'OFFLINE', 4: 'DOWN', } def get_status(self): """return stri...
[ "hemie143@gmail.com" ]
hemie143@gmail.com
b537c6d988c800e16d9f93946011994ea1d8fff1
98798f6777c959a5fbcf3fe9e2c33a50b60f6df2
/caden_strings/indices.py
26b698ae7ae2822c1e2d2877b958b3659453d310
[]
no_license
EdwinLGV/pythonlessons
72907d7a36ce817a981c6490904635b1a80fa394
46959b9bf738104142850099e7accc59604810f2
refs/heads/master
2023-06-13T05:33:16.829682
2021-07-05T00:36:32
2021-07-05T00:36:32
378,508,310
1
0
null
null
null
null
UTF-8
Python
false
false
292
py
fruta = 'banana' letra = fruta[1] print(fruta[1]) print(len(fruta)) tamaño = (len(fruta)) ultima = fruta[tamaño-1] print(ultima) indice = 0 while indice < len(fruta): letra = fruta[indice] print(letra) indice = indice + 1 for caracter in fruta: print(caracter)
[ "elguzmanv@gmail.com" ]
elguzmanv@gmail.com
d6fa4a26da0538d831632ac728196d1511e73a9a
9d053229bdd33dd566af6d133728292c54fc67c4
/blogenv/blog_project/blog_project/settings.py
7019df3318a2cddc34650a9472aab422c9fa7508
[]
no_license
Tanzin-Ul-Islam/Django_Blog
8fa448e0ce24ac7da01f696b671bd581a34ccfe9
b97c1787fe1d22860811b9315932041507236ffc
refs/heads/master
2022-11-26T12:14:10.599756
2020-08-10T20:38:43
2020-08-10T20:38:43
286,571,729
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) TEMPLATES_DIR = os.path.join(BASE_DIR, 'templates') MEDIA_DIR = os.path.join(BASE_DIR,'media') STATIC_DIR = os.path.join(BASE_DIR,'static') # Quick-start development...
[ "tanzin.cse@gmail.com" ]
tanzin.cse@gmail.com
0896583c01df2017922cc0541949cae13b350cfb
3bfe35a518869c4354ab1f817fd2060f0446313e
/examples/core_display_erase_shape.py
d29588dcddbdea165f9f59cc8ee3225be64495d4
[]
no_license
tankvn/pythonocc-demos-with-thumb-preview
b16b6d00b6e14bda6e4b765a354691255a7d2d43
36746225ddd8406dcce9b12a9ccd6489aa281694
refs/heads/master
2023-04-26T16:43:30.377812
2021-05-04T06:12:36
2021-05-04T06:12:36
362,368,937
3
0
null
null
null
null
UTF-8
Python
false
false
2,154
py
##Copyright 2021 Thomas Paviot (tpaviot@gmail.com) ## ##This file is part of pythonOCC. ## ##pythonOCC is free software: you can redistribute it and/or modify ##it under the terms of the GNU Lesser General Public License as published by ##the Free Software Foundation, either version 3 of the License, or ##(at your opti...
[ "tpaviot@gmail.com" ]
tpaviot@gmail.com
974098e0b824ec3de74730c33937a4213b0acc89
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/tic-tac-toe-app/tic_tac_toe/__main__.py
32d3984f984dec0b8685bf4f111630bb25138a91
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
2,945
py
import json import os from argparse import ArgumentParser import accelbyte_py_sdk import accelbyte_py_sdk.core import accelbyte_py_sdk.services.auth as auth_service from .app import lambda_handler from .app import BASE_URL_KEY, CLIENT_ID_KEY, CLIENT_SECRET_KEY def parse_args(): parser = ArgumentParser() p...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
f338ff2fd96adbc217b4524f19d107b4b5361d4a
2602266d33073790ac3f3b1ad3c3038922f6d279
/NLP/word embedding comparison/comparison/mr_word2vector/sentence2vector.py
8ba0fb32ca734a6a87e46a914c40f1242a114a82
[]
no_license
cy-2224/AI_first_contact
7f6582a8f4c24acb270858e6cd08874580632bf8
d536b5faa283e7e5f093716a6006fabae943f2e0
refs/heads/master
2022-03-19T20:29:31.487710
2019-11-18T06:00:05
2019-11-18T06:00:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,127
py
import numpy as np import pandas as pd from collections import defaultdict import sys, re import codecs def clean_str(string): """ Tokenization/string cleaning for all datasets """ string = re.sub(r"[^A-Za-z0-9(),!?\'\`]", " ", string) string = re.sub(r"\'s", " \'s", string) string = re.s...
[ "116010062@link.cuhk.edu.cn" ]
116010062@link.cuhk.edu.cn
de106de9284095a1f6a3a889057f81c1b7d4352f
7f06d2daba6dd07d2d5a81e39ba3444988bbfa46
/reporting/urls.py
38edeb68935c1a6b2b0ec8e04bb795f8485f4fbd
[]
no_license
nkushh/psk
b8ac5445d0a1e5f72387e57a8aa766de2ee1ea75
918452bb95386e8809f335c51c0b95b2bfa431f8
refs/heads/master
2023-04-28T19:40:44.890435
2022-04-28T06:32:28
2022-04-28T06:32:28
126,161,849
0
0
null
2023-04-21T22:04:43
2018-03-21T10:26:36
HTML
UTF-8
Python
false
false
1,857
py
from django.urls import path from . import views app_name = "reporting" urlpatterns = [ path('', views.monthly_index, name='monthly_index'), # Annual # Quarterly path('quarterly-reports', views.quarters_index, name="quarters_report"), path('quarterly-issuance', views.quarter_issuance_report, name="quarter_issua...
[ "mugunapiero@gmail.com" ]
mugunapiero@gmail.com
41a4c446ee6b0a40786f9c1fde219c65499c930a
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/samples/generated_samples/aiplatform_generated_aiplatform_v1_model_service_update_model_async.py
efaa389d96c83dc77b0b65931488de41baf6a8e2
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
1,559
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
e5b8bb6e63147fb976d52b4791e1f063a831cdef
1f9671037441e0e50e1f9b337ccfe8f27bb9d9d5
/Trans.py
de42bbd9d74a21da69764c210acae17bb101a3bf
[]
no_license
sugar-activities/4537-activity
8ae130a42438b487b1336162ccebd79c1b33ac53
1ff802c3e0664023b1fed542f837d595096acbfd
refs/heads/master
2021-01-19T23:14:24.164240
2017-04-21T05:22:09
2017-04-21T05:22:09
88,936,608
0
0
null
null
null
null
UTF-8
Python
false
false
7,286
py
#!/usr/bin/python # Trans.py """ Copyright (C) 2011 Peter Hewitt This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any ...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
aacf09647c64fa471c3be14303085bdefe4b5ca9
3649dce8b44c72bbfee56adf4e29ca6c5ba2703a
/code_up1474.py
6c0a45a04c682eb6fd7f00aa35e3cc2eb432d16e
[]
no_license
beOk91/code_up
03c7aca76e955e3a59d797299749e7fc2457f24a
ca1042ce216cc0a80e9b3d3ad363bc29c4ed7690
refs/heads/master
2022-12-06T08:23:00.788315
2020-08-20T11:21:59
2020-08-20T11:21:59
284,844,571
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
num1,num2=map(int,input().split()) number,z=1,0 arr=[[i for i in range(num2)] for i in range(num1)] for i in range(num2-1,-1,-1): if z%2==0: for j in range(num1-1,-1,-1): arr[j][i]=number number+=1 else: for j in range(num1): arr[j][i]=number numbe...
[ "be_ok91@naver.com" ]
be_ok91@naver.com
95bedda2ce55548d68937c62f0007bbb1b126dbb
ec46c70a721f16031a784f54f522656fb43dfc9f
/venv/lib/python3.6/weakref.py
fa5f9d8e3454c37f7004d2832b4d58380d4099ad
[]
no_license
kardelen-karatas/django-importXML
c6a62942b740697d3647ec0bc1ed9c078e751159
b169966627bd54b684aaedd5fd6c0d7be551b973
refs/heads/master
2022-12-10T00:38:40.578278
2020-04-15T10:34:36
2020-04-15T10:34:36
125,032,574
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
/home/kardelen/.pyenv/versions/3.6.3/lib/python3.6/weakref.py
[ "kardelen.karatas@gmail.com" ]
kardelen.karatas@gmail.com
c37de8763734ce8ad7317f9a005baf239bfc82df
ec61dcdd371a7b4b0f5315c6fc2dfb920edd6743
/tcrdist/tests/test_mappers.py
e73de0df45796da87215f023705e855c1b92e40e
[ "MIT" ]
permissive
agartland/tcrdist2
92a9a39f07e5b153afb83b5a784d6cb202816410
77ab0036a3f8f3951093a3bb14741d961ae14eda
refs/heads/API2
2020-06-18T14:00:04.297389
2020-06-17T22:48:24
2020-06-17T22:48:24
196,326,065
0
0
MIT
2019-07-16T00:20:15
2019-07-11T05:33:54
Jupyter Notebook
UTF-8
Python
false
false
814
py
import pytest import pandas as pd from collections import OrderedDict from tcrdist import mappers def test_generic_pandas_mapper(): """ Test that generic pandas mapping selects and renames columns """ df = pd.DataFrame({"a":[1,2],"b":[3,4]}) mapper = OrderedDict([('a', 'ardvark')]) r = mappers....
[ "kmayerb@gmail.com" ]
kmayerb@gmail.com
87a2ea90884c7c0baa7fa607636feac19a12184a
ef674b66a070b51399731e003a63fc9e073f1959
/program2.py
ac1c5ebee320fb7b2a4fa65bacd84e0035e2e758
[]
no_license
huntercollegehighschool/cs9githubandbasicsf21-IzGreenawalt
631def2a29a8bc06219c1160dae49cb4a73662c6
2298a64cfad3ac2a97748b673be8a69deb84b099
refs/heads/main
2023-08-24T19:27:06.022619
2021-11-08T17:47:57
2021-11-08T17:47:57
425,938,012
0
1
null
null
null
null
UTF-8
Python
false
false
539
py
import time print("Hello, you. Let me add two numbers for you.") time.sleep(0.5) num1 = input("Enter a number, then press enter: ") num2 = input("Enter another number, then press enter: ") print("The sum is", num1 + num2) print("Did I add that correctly?") time.sleep(1) print("Oh no, did I mess up? Let me try agai...
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
cb3833af4bd2d90c1d8af699a7a5a3c303866846
b34f07d217cdda9f59e7f58f89dad17fae1ee132
/malaya_speech/train/model/alfastspeech/model.py
667949f5e5b2c8b0c92f7ab55da95355968ecf6b
[ "MIT" ]
permissive
Ariffleng/malaya-speech
965cea504e364c77ca513d43bf340fc122b97672
4343c409340c608a426cc6f0926fbe2c1661783e
refs/heads/master
2023-08-12T23:23:39.983006
2021-10-02T09:14:52
2021-10-02T09:14:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,316
py
# -*- coding: utf-8 -*- # Copyright 2020 The FastSpeech Authors, The HuggingFace Inc. team and Minh Nguyen (@dathudeptrai) # # 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.a...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
30e40e2d6a7636ed9b9c535d364564499b56636d
bac8abe6fa5cf5bf33eaae22a68a514423041d92
/pylbd/cli.py
caedecd67a30f72d986523930c37170453c5689e
[ "MIT" ]
permissive
MacHu-GWU/pylbd-project
1dda3a9d0918be14c5a4485c5c32970878a55ab9
d9be28d1f9f7679237e4d3c86f63ea06f43249dd
refs/heads/master
2020-05-29T09:08:16.863447
2019-05-28T18:54:16
2019-05-28T18:54:16
189,053,020
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
# -*- coding: utf-8 -*- """Console script for pylbd.""" import sys import click @click.command() def main(args=None): """Console script for pylbd.""" click.echo("Replace this message by putting your code into " "pylbd.cli.main") click.echo("See click documentation at http://click.pocoo.org...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
dad4905df70a00aa2ee72201dae35ba57799bfd3
a718de5d51c8d430e791aca6092669c04548fd64
/Python-logical/logical/gambler.py
41b30720951526ac06eb3d48501bb5235acd0172
[]
no_license
santoshikalaskar/Basic_Advance_python_program
d0fef4134ed4b14f84ff05a3b37e1773c111a2d1
84df5c336d5304c3c727102194ba62417640643a
refs/heads/master
2023-01-22T15:06:24.909145
2020-12-02T14:01:29
2020-12-02T14:01:29
314,511,681
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from logical import * class GamblerGame: stake = int(input('Enter stake amount : ')) goal = int(input('Enter goal amount : ')) number_of_time = int(input('Enter how many time you want to bet : ')) gambler = LogicalMethods() #Passing argument for gambler method gambler.gamble(stake,goal,numb...
[ "kalaskars1996@gmail.com" ]
kalaskars1996@gmail.com
ca7810d35dc597d34e2cad6b56b06e63b18173d9
c957b4663cc4cb21e5172f23c6989031be8c3e5b
/python/911. Online Election.py
fedf4d4eeb748ed7df0c65b2ce57bb5adfca108e
[]
no_license
gajanlee/leetcode
e061dc37af0f83bf2bce00c391c0b8a9f3177b22
0d3c8477f05604a059e58a8764ce0d8bd418edde
refs/heads/master
2018-12-26T06:12:24.995542
2018-10-30T05:03:27
2018-10-30T05:03:27
102,965,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
""" In an election, the i-th vote was cast for persons[i] at time times[i]. Now, we would like to implement the following query function: TopVotedCandidate.q(int t) will return the number of the person that was leading the election at time t. Votes cast at time t will count towards our query. In the case of a tie,...
[ "lee_jiazh@163.com" ]
lee_jiazh@163.com
7b4e093a7cfa967fbe34a1be297409adbfdb0427
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2016/01/gop-education-voting-20151223/graphic_config.py
2ea8ab70700965003e5cbc3c2f1cb41830b3ce66
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1bVsH31MjD0epmnNyBcYIAW87mvxbZOSr1NTrifGkQNU' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
932ee4e6270eb5dc7cb4ebb8f663d8aff2fb8b8b
cb36a631d2e42161281db12e80323fbd05276fb3
/src/models/torch_models/embedded_ATAC_models/two_conv_layers/BindSpace_two_conv_orthogonal_penalty.py
72f900f856fb93ed2d478598a41933539ee99dab
[ "MIT" ]
permissive
lzamparo/SeqDemote
7448c99ef605818b3ae2ad0d1d8a40efa5aaecbf
3eaf18e88c9dc6a3d1a69444ecdba9f9b5d9682a
refs/heads/master
2021-03-22T00:46:06.724164
2019-01-16T17:12:51
2019-01-16T17:12:51
59,613,110
1
0
null
null
null
null
UTF-8
Python
false
false
4,760
py
import os import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from load_pytorch import Embedded_k562_ATAC_train_dataset, Embedded_k562_ATAC_validation_dataset from load_pytorch import EmbeddingReshapeTransformer from utils import torch_model_construction_utils as tmu data_path = os....
[ "zamparo@gmail.com" ]
zamparo@gmail.com
cb38076a0dea317ca17bfcdafb48dd9b2b665673
0049d7959ff872e2ddf6ea3ce83b6c26512425a6
/django_demo_applications/djangoprojectsot/filterproject/filterproject/urls.py
8415a79077c81e310023987c2b16f0db9d29fe2d
[]
no_license
srazor09/Django_projects
9806ab25d966af780cdabe652a1792220c7806a8
8d664ba4c9478bd93c8e5bcbcaf594e8ffe6ce93
refs/heads/master
2023-04-18T02:13:15.993393
2021-05-04T20:34:05
2021-05-04T20:34:05
364,379,605
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
"""filterproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='ho...
[ "sourabhaws09@gmail.com" ]
sourabhaws09@gmail.com
7e6780d91b8d905342ecf8bf4f8464925805f4b6
c36679186f669c6e3bd1c106c96d4a17be1f5ab1
/Data Science and Mechine Leraning/30.py
d60d634126ecca6e78f77524dce8494d5963e2d0
[]
no_license
touhiduzzaman-tuhin/python-code-university-life
60a3d671b200a6f5222c6d176c13c5f20f013509
6d2e3d90d430faa5c83fe79e7fb1ebe516994762
refs/heads/master
2023-03-22T15:18:10.636203
2021-03-06T18:52:04
2021-03-06T18:52:04
332,467,190
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
import numpy as np li = np.arange(0, 11) print(li) print("---") print(li - li)
[ "touhiduzzamantuhin95@gmail.com" ]
touhiduzzamantuhin95@gmail.com
2460b4a29621f4c82038f7ea87a49d67c8bd7805
55edaba6a7bc39d2434efe345f434d13f34ddad1
/skidl/libs/maxim_sklib.py
31fc0552fffd6731d9ae4e68d182d7d57ae59031
[ "MIT" ]
permissive
UncleRus/skidl
98b008194e0aa8355d17b8aec705f2fc749062ef
747d9509ee18ddbef163519e569257b793497b94
refs/heads/master
2020-03-22T19:55:34.727377
2018-05-23T21:55:38
2018-05-23T21:55:38
140,560,910
1
0
MIT
2018-07-11T10:38:57
2018-07-11T10:38:57
null
UTF-8
Python
false
false
14,099
py
from skidl import Pin, Part, SchLib, SKIDL, TEMPLATE SKIDL_lib_version = '0.0.1' maxim = SchLib(tool=SKIDL).add_parts(*[ Part(name='DS1267_DIP',dest=TEMPLATE,tool=SKIDL,keywords='Dual Digital Potentiometer Maxim',description='Dual Digital Potentiometer, Serial, 256 Steps, DIP-14',ref_prefix='U',num_units=1,fp...
[ "devb@xess.com" ]
devb@xess.com
fca270dff01469b148577f2d1afa81715201f02d
a25a84a2986ec5d973cfdc4dcbb61947690e081b
/Week6/BerkeleyGridWorld/experiment/expr_launcher_terminal.py
733a364545b91b5f845d5693e32efd86ce552b90
[]
no_license
GuanSuns/TAMER-Summer-2018-Lab
411308616e25978d5f62bab8da19eaaf5b895d97
0a3ce77d2317223e220df5e600cde4cf127e47e6
refs/heads/master
2020-03-19T03:44:34.800093
2018-10-17T07:04:45
2018-10-17T07:04:45
135,757,555
2
1
null
null
null
null
UTF-8
Python
false
false
6,762
py
# expr_runner_terminal.py # # experiment launcher used in terminal (command line) # ----------------------- import os from ..experiment_creater_and_resumer.experiment_creater_and_resumer import ExprCreaterAndResumer from .. import gridworld from ..input import user_input from .. import qValueSaver from .. import plotU...
[ "guansuns@outlook.com" ]
guansuns@outlook.com
b02b1f386ef160287a85883da1d4f475dd663f2b
67ad866e41f0144a4bb9a111cbdeef11b32dc762
/crawler.py
775003678e8ccb14e13a513747ecbbcff04bb030
[]
no_license
aboutmydreams/lib_train_in_server
3ec3482faadedbf3f05508c3f15f5436d3bf3c7d
993c57a600a60a4942f9ca33b21b88106262cc8b
refs/heads/master
2022-06-17T04:14:26.869515
2019-03-28T02:12:36
2019-03-28T02:12:36
178,039,823
1
0
null
null
null
null
UTF-8
Python
false
false
4,742
py
import os,requests,sys,random,time import numpy as np from flask import Flask,redirect,url_for,render_template,request,send_file,send_from_directory from PIL import Image from io import BytesIO from bs4 import BeautifulSoup from array import array from tqdm import tqdm import warnings warnings.filterwarnings("ignore")...
[ "aboutmydreams@163.com" ]
aboutmydreams@163.com
d16f93dfc7df57a73fc5ee910a633e63abfa72fd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/331/usersdata/284/94289/submittedfiles/funcoes1.py
0cbd8ecb961f0ec2a0fb8120180d9d615fa4c969
[]
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
535
py
# -*- coding: utf-8 -*- i=(int(input('digite o numero de elementos: '))) lista=[] lista1=[] lista2=[] lista3=[] a=0 for i in range(1,i+1,1): lista.append(int(input('digite um numero: '))) for i in range(1,i+1,1): if(lista[0]<lista[i+1]): print('c') break def crescente (lista): lista.appe...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a1c53536da19156bacdc05685eed44298035173f
48de92a5b8bae9788895ad10536a969714e455f7
/hieu.py
6f2e5ffc7d8b7ce98e063cd72bd63292ef788aba
[]
no_license
hoanganhnh2009/python-assistant
bffccc3df4f33b30c8715ad527aebd4ec37c470f
962cda8819c8eaa045a2ddeb8f4f525907ecb275
refs/heads/master
2022-11-12T08:15:46.380031
2020-06-23T16:04:24
2020-06-23T16:04:24
274,418,068
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
print("Hieu") you = "hello" if you == "": robot_rain = "I can't hear you, try again" elif you == "hello": robot_rain = "Hello Thanh Tit" else: robot_rain = "I'm fine thankyou, and you?" print(robot_rain)
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
8d48766ea89b0497d01041502b47049537586f4a
cedfdd1398b947b15eccf4473e9bbaddccb878d7
/SDK/openstack/tests/functional/compute/v2/test_image.py
ca9f183c0c9f6e75d761ee482dfd0ca7254dcfe2
[]
no_license
Doctor-DC/CMP-Recycle
36fb1fdcf7c3a396bfef89d03948bd0ce626b053
e3e6421f0b5dc28a075bc5bf91be9a45bcbe97c6
refs/heads/dev
2022-12-15T06:28:12.695868
2019-02-26T06:22:21
2019-02-26T06:22:21
142,127,512
0
0
null
2022-12-08T02:29:44
2018-07-24T08:18:46
Python
UTF-8
Python
false
false
4,170
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "8920622362@qq.com" ]
8920622362@qq.com
fdd02f55163c45eda45786bca8d294f6cba32c4a
4fc73cbe9e79974cde44d674b7c810edc9b07cd2
/Puyopuyo_classgata/venv/bin/pycc
c2528cc9b644e20ca51d0bac305c9842c378efcb
[]
no_license
yuufujikata2/Games
36fbcdfbba976cc6b1850fd5f950bf269f81248d
abc2177023653247ebe1abb9cab172db31d038dc
refs/heads/master
2020-07-30T14:07:54.466545
2019-09-23T03:39:56
2019-09-23T03:39:56
210,257,943
1
0
null
null
null
null
UTF-8
Python
false
false
77
#!/home/fujikata/python5/venv/bin/python3 from numba.pycc import main main()
[ "yuu.1201.soccer.f@gmail.com" ]
yuu.1201.soccer.f@gmail.com
b02bac77486ae1f8fde5bcf99785c7a799ddb1f5
93205f3cad8ba599a5c80a655a712121a9e19f91
/storyboard/db/migration/alembic_migrations/versions/023_story_tags.py
cc6e1b228dc7fa1b6f890f2ef451641ee4e3edd8
[ "Apache-2.0" ]
permissive
yeweiasia/storyboard
0c18abf7c5882662f5f7af82d1f226d9d3eab7a3
2445e3dc904c7c83305a4a6274e6ae35dacb0cfa
refs/heads/master
2020-12-11T05:46:22.045349
2016-05-23T15:36:46
2016-05-23T15:36:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "nkonovalov@mirantis.com" ]
nkonovalov@mirantis.com
c966eaf0a094eca8ee870ef23d793018ece9fd21
9fb86310cd94a7b68d118fbb78c7ce8d8d351eb3
/core/utils/metric_logger.py
df3c943dd4ee92f0ca2a9701ba1d6116712cb766
[ "Apache-2.0" ]
permissive
tiangeluo/Learning-to-Group
9a3f8440d7c069ebff9fd1527f7c956223ab5381
9a048e1bed5e5b299f3e05cb3611f4a101c54d39
refs/heads/master
2022-10-12T06:19:49.417072
2022-09-23T18:12:29
2022-09-23T18:12:29
245,575,488
38
4
null
null
null
null
UTF-8
Python
false
false
3,930
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # Modified by Jiayuan Gu from __future__ import division from collections import defaultdict from collections import deque import numpy as np import torch class AverageMeter(object): """Track a series of values and provide access to smoothed...
[ "tiangelce@gmail.com" ]
tiangelce@gmail.com
46b264e5627f27abee86e582231191edfc199ba4
40c9e27faa6e8b46233b9722ebd8361c38b5d951
/dnanexus/pseudoreplicator/src/pseudoreplicator.py
9f53997e8f5ae048fd82856535d6bd79f65f6084
[ "MIT" ]
permissive
snashraf/chip-seq-pipeline
6a9ba3a4323362b65314f313a2a59a17a980d227
2dd972a7988941de46e9be8923051c76c5eb5d36
refs/heads/master
2021-01-13T08:01:33.835424
2016-10-18T15:46:14
2016-10-18T15:46:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
#!/usr/bin/env python # pseudoreplicator 0.0.1 # Generated by dx-app-wizard. # # Basic execution pattern: Your app will run on a single machine from # beginning to end. # # See https://wiki.dnanexus.com/Developer-Portal for documentation and # tutorials on how to modify this file. # # DNAnexus Python Bindings (dxpy) do...
[ "jseth@stanford.edu" ]
jseth@stanford.edu
a0a91f6a3010ff77af3199e67303f5549c6d161d
254d4a1a7341b28eedc8cf566fd3dc9946da2af8
/Day5/data_structure.py
ffe9041bcf927d458127c632c13044bd93a5d66b
[]
no_license
crakama/Andela-Boot-Camp-Exercices
f4240c66fd4645ecb3d29bbafe59bf028450fc53
e80e45c02d9ccac7ec7b3efc0a9e8d4c8e796fce
refs/heads/master
2021-05-30T11:29:02.729159
2016-02-01T11:32:21
2016-02-01T11:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
#Phone book # (1)use a tuple # 2 (use a dictionary 'dict') #data will be stored as a nested list class PhoneBookList(object): ''' This class employs `list` datastructure in managing Phone contacts. ''' def __init__(self): self.book = [] def add_contact(self, username, phone_number): #record is a tupple ...
[ "crakama89@gmail.com" ]
crakama89@gmail.com
05cbc7d164504ee05007de4747810759c17ac11c
11228a51cf7bfe3cef852efb0de393ae42c768f2
/scripts/fq_compress.py
0ec470c7da8eecf95717f6b7a20e846e82a29815
[ "MIT" ]
permissive
orionzhou/snk
cd36c6ced8fb514101b1de7c70f322e76368e760
5ead8aebf5ed00a2aec15363b8023c9b75b0ed4a
refs/heads/master
2021-07-13T12:08:53.168670
2020-06-01T05:19:46
2020-06-01T05:19:46
133,903,231
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import os.path as op from snakemake import shell input, output, params, threads, wildcards, config = snakemake.input, snakemake.output, snakemake.params, snakemake.threads, snakemake.wildcards, snakemake.config if config['y'][wildcards.yid]['t'][wildcards.sid]['paired']: if input.r1.endswith(".gz"): try: ...
[ "zhoupenggeni@gmail.com" ]
zhoupenggeni@gmail.com
f8184513ae3338d0d45a344fbf91203a4ec4372b
a47f2e427eedd0ca3e28ebce72fd06fecf310fb1
/pytest/GEO/Sample/test_all_with_data.py
0fba04a51b6398865a8f69a11b44b24f76886cf3
[]
no_license
phonybone/trends
68984152cc5aff64fcb0bcbdcc49d08ff28057c0
e89c422ba794716d39f049a06913e107e856e54a
refs/heads/master
2020-12-24T14:55:50.435134
2012-10-11T02:02:50
2012-10-11T02:02:50
3,132,031
0
1
null
null
null
null
UTF-8
Python
false
false
825
py
import unittest, sys, os sys.path.append(os.path.join(os.environ['AUREA_HOME'], 'src')) sys.path.append(os.path.join(os.environ['TRENDS_HOME'], 'pylib')) from warn import * from GEO.Sample import Sample class TestAllWithData(unittest.TestCase): def setUp(self): pass def test_all_with_da...
[ "phonybone@gmail.com" ]
phonybone@gmail.com
15f7fd9deb6b09fff8b1f7ab7365e4473e495df8
4e5ab0df24e5c6951887dfcfc138cfc8ac9d7999
/ethereum2etl/mappers/committee_mapper.py
31b28fc5ba174b0fbb88a734afe6e6cea6c2be13
[ "MIT" ]
permissive
vincijy/ethereum2-etl
112304be8fbf1a4ae301208f84c6e53d14c6242f
d8f5c5bfa7d9645608b0526bcf1b632d2651a262
refs/heads/main
2023-08-25T18:24:42.533742
2021-10-29T16:08:03
2021-10-29T16:08:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,942
py
# MIT License # # Copyright (c) 2020 Evgeny Medvedev, evge.medvedev@gmail.com # # 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 # ...
[ "medvedev1088@gmail.com" ]
medvedev1088@gmail.com
8f98fd7d4e3271e81251f32c4b4fada93edd7d96
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_attr_set_eval_order-215.py
54fc706b1e3cc160ceca3fc6354f11ad3e4be431
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
class A(object): a:int = 42 class B(A): b:bool = True def __init__(self:"B"): print("B") a:A = None b:B = None def get_b() -> B: print("Getting B") return b def get_one() -> int: print("Getting 1") return 1 def get_false() -> bool: print("Getting False") return False a...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b7809df4e41e0acaa1c2a572a2f522173b8e1157
737a6d97d788e7ed2e16ae1ae7a61309d40213cf
/djangoProject/profiles/signals.py
b17e100cc644d1c41eedab6fb7fefe1d1be87b35
[]
no_license
svetoslavastoyanova/wedding_agency_app
5a3e6ebfb95899009db0efbd041394014a65ced6
0c80c73013c1573c3be288abc685a873d17c8017
refs/heads/master
2023-07-12T11:53:31.980564
2021-08-19T12:56:48
2021-08-19T12:56:48
392,791,842
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
from django.contrib.auth import get_user_model from django.db.models.signals import post_save, pre_save from django.dispatch import receiver from djangoProject.profiles.models import Profile UserModel = get_user_model() @receiver(post_save, sender=UserModel) def user_created(sender, instance, created, **kwargs): ...
[ "svetoslava_stoyanova92@abv.bg" ]
svetoslava_stoyanova92@abv.bg
babcec42686ca1d6d1df674f16c4ebaa5d9b22cb
5864e86954a221d52d4fa83a607c71bacf201c5a
/projectdiscovery/client/projects/subcellular/taskimages.py
311fa25d60024902c53a5e6d321c30fbc341b18a
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
25,514
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\projectdiscovery\client\projects\subcellular\taskimages.py import logging import math import os import blue import carbonui.const as uiconst import localization import uicontrols import uiprimitives from carbon.common.script.ut...
[ "le02005@163.com" ]
le02005@163.com
445ac260f42b69389aa3d8ce851627c85150d6c7
b465519f6e402852a9321f4ea45774fef5580a1d
/test_demo/1.py
3ea2f2c29a7fb95306e3ff18e64adbd800d3a1fb
[]
no_license
newcaolaing/web_auto
72ca56d69b807e284eeb045a5f1971b8fffbe89e
319bff5be2101bfbc804e75c80b00e662e2e3415
refs/heads/master
2020-05-02T17:58:23.752341
2020-03-29T08:50:22
2020-03-29T08:50:22
178,114,481
1
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
import unittest import time from base.find_element import analytic_selector from test_case.model.myunit import StartEnd from config.setting import logging, report_path import paramunittest from util.HTMLTestRunner import HTMLTestRunner from util.exl import Excel_Opertion from util.send_email import send_mail A = Exc...
[ "you@example.com" ]
you@example.com
f9e1a0e44fbeae628796f270a66621fef9b42133
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/문제/수업/D-07/괄호검사.py
b4d6981aa58ab1111731caca4a7b574e63b7dacd
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
679
py
''' ()()((())) ((()((((()()((()())((()))))) ''' def push(item): s.append(item) def pop(): if len(s) == 0: print("Stack is empty!") return else: return s.pop(-1) def isEmpty(): if lens(s) == 0: return True else: return False def check_matching(data): for...
[ "chy66822495@gmail.com" ]
chy66822495@gmail.com
602e46c7d50c57f8cccf68cf771aa7addc4ecdd1
5e8d86f6ddfd516b9768e8617ced0baca8112f4c
/core-python/Core_Python/file/FileMethods.py
06af6a48877e9ea6d2d943a52949e9e3e9a994ec
[ "MIT" ]
permissive
bharat-kadchha/tutorials
0a96ce5a3da1a0ceb39a0d464c8f3e2ff397da7c
cd77b0373c270eab923a6db5b9f34c52543b8664
refs/heads/master
2022-12-23T11:49:34.042820
2020-10-06T03:51:20
2020-10-06T03:51:20
272,891,375
1
0
MIT
2020-06-17T06:04:33
2020-06-17T06:04:33
null
UTF-8
Python
false
false
831
py
''' r : It opens the file to read-only. The file pointer exists at the beginning. The file is by default open in this mode if no access mode is passed. ''' ''' w : It opens the file to write only. It overwrites the file if previously exists or creates a new one if no file exists with the same name. The...
[ "deeppatel.dd@gmail.com" ]
deeppatel.dd@gmail.com