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
19078666f52c0a258fbe2e96b9bbd9da7c8386df
65485cb1233e59b21dd5c5349cc88a015ad52661
/ecommerce/store/admin.py
39642d3a049ee140025f0b9107ed07f2c0ab8b88
[]
no_license
danielmichaels/django-projects
966929f889c4e31508b6bbcb728ef02f00549f0b
dc8ca4b9ca788dea6388b434e9d7744e1500128f
refs/heads/master
2022-12-25T18:50:48.192647
2020-10-07T00:45:13
2020-10-07T00:45:13
289,652,384
0
0
null
2020-10-07T00:45:14
2020-08-23T09:13:00
Python
UTF-8
Python
false
false
262
py
from django.contrib import admin from .models import Product, Order, OrderItem, Customer, ShippingAddress admin.site.register(Product) admin.site.register(OrderItem) admin.site.register(Order) admin.site.register(Customer) admin.site.register(ShippingAddress)
[ "dans.address@outlook.com" ]
dans.address@outlook.com
a0b6217aff8ab3fd4a1a3074a6882d2a1be08888
ac235a23f22be0d6f1818bb53902177f9969813a
/benchmarks/base/run.py
e2c0dda98b3f5b281160157a52897c485b5be00c
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
DataDog/dd-trace-py
f09d6d48c4c69aea68f999fc8a458ade5c6150cf
1e3bd6d4edef5cda5a0831a6a7ec8e4046659d17
refs/heads/1.x
2023-09-01T20:25:26.746324
2023-09-01T18:54:37
2023-09-01T18:54:37
61,572,326
461
426
NOASSERTION
2023-09-14T20:38:57
2016-06-20T18:52:23
Python
UTF-8
Python
false
false
993
py
#!/usr/bin/env python3 import os import subprocess import sys import yaml def read_config(path): with open(path, "r") as fp: return yaml.load(fp, Loader=yaml.FullLoader) def run(scenario_py, cname, cvars, output_dir): cmd = [ "python", scenario_py, # necessary to copy PYTHO...
[ "noreply@github.com" ]
DataDog.noreply@github.com
6a872863bf9df20b9bac4c7fe703de788412ad50
7cd6950ab3034cb0cf403ee1b8410bf475360a8d
/cwl_tutorials/common_workflow_language_user_guide/venv/bin/venv/lib/python3.7/sre_compile.py
0943d3b031fe0bb3f5ed669976db6a095d90e07e
[]
no_license
mr-c/george_murray
ef6d5f77a4f4c0b64cbc64534ce23d7546a3cee0
612c68c6b27ed2d8097f1309820ccdbb05530176
refs/heads/master
2022-09-20T11:12:58.582547
2019-08-15T19:32:34
2019-08-15T19:32:34
268,844,811
0
0
null
2020-06-02T15:55:27
2020-06-02T15:55:26
null
UTF-8
Python
false
false
72
py
/Users/George1/Downloads/programs/anaconda3/lib/python3.7/sre_compile.py
[ "george.c.murray@maine.edu" ]
george.c.murray@maine.edu
71ea6cbad24da6e055d2aa9a4b7228bb842df0dd
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v4/services/mobile_app_category_constant_service_client_config.py
1f790391c546b7cd2eddb5721b1b18609c8d5f0c
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
false
837
py
config = { "interfaces": { "google.ads.googleads.v4.services.MobileAppCategoryConstantService": { "retry_codes": { "idempotent": [ "DEADLINE_EXCEEDED", "UNAVAILABLE" ], "non_idempotent": [] }, "retry_params": { "default": { "initial_r...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
9722ea47a8adfd974d8062b96ef8ae7a8bdc811a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/125/usersdata/209/29350/submittedfiles/ap1.py
7ec69941bd321159244fcfa47e54ea52e4520abb
[]
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
120
py
A=float(input('Digite A:')) B=float(input('Digite B:')) C=float(input('Digite C:')) if A>B:print('%F'%A) if A>B:print(B)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
30f1f2705332c4549d124f51b50b3a9a72acb8d7
05c5f5bbc2ddfa850d4ae28148f176c5d63a4a7b
/tbkt/apps/sx_normal/urls.py
db94b6c0aa22cb4c88965821420b3e9b7610328a
[]
no_license
GUAN-YE/hd_api_djs
f7234643c06f47c03c348c7740266d45989c5e77
1f08cbfccc1ae2123d92670c0afed9b59ae645b8
refs/heads/master
2020-03-25T02:32:03.613535
2018-08-02T12:52:45
2018-08-02T12:52:45
143,294,216
1
0
null
null
null
null
UTF-8
Python
false
false
863
py
# coding:utf-8 """ 2017数学常态活动 映射路径 """ from django.conf.urls import url from stu import views as stu_views import views as com_views # 学生 urlpatterns = [ url(r'stu/sign$', stu_views.r_sign), # 签到 url(r'stu/share$', stu_views.r_share), # 分享 ] # 活动公用方法 urlpatterns += [ ...
[ "15670549987@163.com" ]
15670549987@163.com
57d25441e5f38a14e1dfaee462ed68c7a1dd1d4d
af4f53500502faf8e0b3a97cf8f517fec80bdc5c
/tests/test_qaoa.py
dd68208c81ebf47c9dde2d5f3275f38bb3a72e56
[ "Apache-2.0" ]
permissive
quantshah/pennylane
c5590406674384bc6a26bd5dccc6619f9255242d
b904c966d124e66dbf82cc0b42f580db2d9a7cc1
refs/heads/master
2022-11-22T19:41:10.892782
2022-08-15T12:41:48
2022-08-15T12:41:48
355,849,206
0
0
Apache-2.0
2021-04-08T09:48:31
2021-04-08T09:48:31
null
UTF-8
Python
false
false
74,881
py
# Copyright 2018-2020 Xanadu Quantum Technologies 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 required by applicable law or...
[ "noreply@github.com" ]
quantshah.noreply@github.com
78bb32bf7c2e23216cb019c336e44b0b0ba11969
97c37b210fad85895f35b7db183a52cf6c37504f
/webhook.py
1f1c1aaeea9975e4e4de3c8e1b1c17e5a5454547
[]
no_license
polakowo/py-webhook
9762b4c810f6cc81d73e0451f298070354102f5a
ee1c38b0ceccdc056fcf121ca45d5c7949ac7075
refs/heads/master
2021-01-23T23:53:11.194683
2018-02-24T14:10:20
2018-02-24T14:10:20
122,743,148
3
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
#!/usr/bin/env python3 from http.server import BaseHTTPRequestHandler, HTTPServer hostName = "" hostPort = 8555 def execute(): print("Script is being executed") import subprocess subprocess.call(['sh', './script.sh']) class MyServer(BaseHTTPRequestHandler): def do_POST(self): print("Reques...
[ "olegpolakow@gmail.com" ]
olegpolakow@gmail.com
2993e71ab0448d4ec4870ceb291435ef26e334d5
63ace5832d453e325681d02f6496a0999b72edcb
/examples/bip38_ec.py
c454a9f615016da836de3cf8a3ab9a067af476d8
[ "MIT" ]
permissive
ebellocchia/bip_utils
c9ec04c687f4247e57434319e36b2abab78f0b32
d15c75ddd74e4838c396a0d036ef6faf11b06a4b
refs/heads/master
2023-09-01T13:38:55.567370
2023-08-16T17:04:14
2023-08-16T17:04:14
251,130,186
244
88
MIT
2023-08-23T13:46:19
2020-03-29T20:42:48
Python
UTF-8
Python
false
false
2,472
py
"""Example of private key encryption/decryption with EC multiplication using BIP38.""" import binascii from bip_utils import Bip38Decrypter, Bip38EcKeysGenerator, Bip38Encrypter, Bip38PubKeyModes, WifEncoder # BIP38 passphrase passphrase = "DummyPassphrase" # Generate an intermediate passphrase without lot and seq...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
bd9959ca27e75ccb48e9805f865384b753390f96
d35a60fd5242080d87c6408f8f9c2f087c754883
/server/serverWithDraw.py
57c22bdc885c0a16c0880c4ae4dfa2911fc17245
[]
no_license
zhengchengyy/BBDetection
765bfab717760f319568b991fb38ede64e626629
0aa192437dc5cf7526dcceab993a710b712933f7
refs/heads/master
2020-04-01T08:34:45.658324
2019-11-14T12:47:17
2019-11-14T12:47:17
153,037,386
4
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
import pyformulas as pf import threading import socketserver import os import matplotlib.pyplot as plt import numpy as np # configurate the figure import matplotlib as mpl mpl.rc('lines', linewidth=1, color='r', linestyle='-') plt.rcParams['figure.figsize'] = (10.0, 6.0) class PlotThread(threading.Thread): def ...
[ "zhengchengyy@qq.com" ]
zhengchengyy@qq.com
52b05d3878abcb4c78e0e865d6199cb611986340
891127dfec1e5255cd403f4aedbe0ef18b5c8567
/python-notify2/lilac.py
8678e267dc883732492e08565ebc85e226202699
[]
no_license
kktt007/repo
df708b5841474fbbf720994f9278a906a908b63b
fc039d08425081834384f84c8ffe9d3923849165
refs/heads/master
2020-04-03T06:03:10.517303
2018-10-28T11:23:08
2018-10-28T11:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
#!/usr/bin/env python3 # # This file is the most simple lilac.py file, # and it suits for most packages in AUR. # from lilaclib import * build_prefix = 'extra-x86_64' post_build = aur_post_build def pre_build(): aur_pre_build() need_rebuild = False for line in edit_file('PKGBUILD'): # edit PKGB...
[ "farseerfc@gmail.com" ]
farseerfc@gmail.com
ca5216e0c168037fe25b76c19ba7275392c36af3
f41bd639f249ef6029e310bee84c6ef03f5d6f19
/databundles/database/__init__.py
8a086a851a744ff6f4b771d0f9f09df297feec4a
[]
no_license
kball/databundles
5e3d478c1977a0481d77131dd573c8f199e2c95d
142f20705c8be6cb136adef3a94c8fa7b7119b88
refs/heads/master
2021-01-21T03:30:32.822333
2014-01-23T23:57:57
2014-01-23T23:57:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,795
py
""" Copyright (c) 2013 Clarinova. This file is licensed under the terms of the Revised BSD License, included in this distribution as LICENSE.txt """ from __future__ import absolute_import from ..dbexceptions import ConfigurationError from collections import namedtuple def new_database(config, bundle=None, class_=None...
[ "eric@clarinova.com" ]
eric@clarinova.com
eca77010769b565283b9e1d850d441836c5dc8f3
990b92264109dc01dbfddeb6f5e75675037fd829
/app/cito_engine/poller/pluginpoller.py
123be6b2b244c4a01e2c2503321bc5c5146f53f8
[ "Apache-2.0" ]
permissive
CitoEngine/cito_engine
20efa189abab1b684b60b260c1ea9ed16f6ea0f2
95852dd109d86a344726d7b11ed1132d4e48426b
refs/heads/master
2020-05-21T15:04:24.011603
2019-02-08T04:51:42
2019-02-08T04:51:42
17,123,947
9
13
Apache-2.0
2019-02-08T04:51:43
2014-02-24T03:17:04
Python
UTF-8
Python
false
false
3,548
py
# Django settings for cito project. # Copyright (c) 2012-2013 Cyrus Dasadia <cyrus@extremeunix.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 li...
[ "cyrus@extremeunix.com" ]
cyrus@extremeunix.com
0da2a858c8b43266110789edbbd9fbfc44c0485f
0ca9e6a6fa9a05231d2248e9991c50d74173e546
/B0_CNN-RNN-text/predict2.py
d19a91c2ae46186a8cd09254b83dc0537f1e4037
[]
no_license
Timaos123/LogstashAI
8aa07b74c0bfd46ab9bd4ff6b10549057e36c477
0b9ec6a27ebc07584503dc69e29475e98ebc102b
refs/heads/master
2020-04-02T14:34:48.648972
2018-10-24T16:44:41
2018-10-24T16:44:41
154,530,107
4
1
null
null
null
null
UTF-8
Python
false
false
5,365
py
import os import sys import json import shutil import pickle import logging import data_helper import numpy as np import pandas as pd import tensorflow as tf from text_cnn_rnn import TextCNNRNN logging.getLogger().setLevel(logging.INFO) def load_trained_params(trained_dir): params = json.loads(open(trained_dir + 'tr...
[ "noreply@github.com" ]
Timaos123.noreply@github.com
25d5fc581028991eafab2166d9a68b78fd919440
9de28c08400250025f4bdc5676bac3b82f4a404d
/Unified/assignSchema.py
fb2db6eb24f398dbbfc3540c186ddfbc2babaa93
[]
no_license
AndrewLevin/WmAgentScripts
f4b8edb6b668d128e12d55b396c67f9efb727e6f
4eab70df00d7a314a4d7d115e1eb0dbdac823165
refs/heads/master
2020-12-31T03:35:14.564731
2016-12-06T20:37:51
2016-12-06T20:37:51
14,967,465
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
import os import sys from sqlalchemy import Column, ForeignKey, Integer, String, PickleType, Float from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declarative_base() #class McMID(Base): # __tablename__ = 'mcm' # id = Col...
[ "vlimant@cern.ch" ]
vlimant@cern.ch
89d42651a7c265a1445be2fc09631bf0afbe9c41
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02818/s265134890.py
8482530bc7f94733b76388fa8ccee8aa0e5fd826
[]
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
679
py
#!/usr/bin/env python3 # Generated by https://github.com/kyuridenamida/atcoder-tools from typing import * import collections import functools import itertools import math import sys INF = float('inf') def solve(A: int, B: int, K: int): return f'{max(A-K,0)} {max(B-max(0,K-A),0)}' def main(): sys.setrecurs...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9d871e6ca56da43854bf44e0d344e875c0c9981e
2ed4ed28dc150a96954c663f203808ba917712c8
/learning_site/tracks/views.py
e6c04e087c767566263f7b3f4718117d88d2d770
[]
no_license
Mostacosta/Mosta-learning-website
66e813c6fe17b018d750ffa824df751428a20ce8
a70e94649355e07a5d819e75b09100f7dc5ccc59
refs/heads/master
2022-04-01T17:36:23.084318
2020-02-04T08:56:37
2020-02-04T08:56:37
200,877,940
0
0
null
null
null
null
UTF-8
Python
false
false
5,211
py
from django.shortcuts import render from django.http import HttpResponse,JsonResponse from .models import track,course,lesson,exam,exam_result from questions.models import question ,answer from questions.forms import question_form from datetime import datetime import dateutil.parser from django.utils import timezone fr...
[ "mostafaelhassan910@gmail.com" ]
mostafaelhassan910@gmail.com
df3a6464a3e0334638d68082c12f2f987f3ce943
be1b836b022a52204bc862878ba8d7a9200bd59b
/website/unicode/create_json.py
afea12542356f37620cc445dfd70b497d34b720d
[ "MIT" ]
permissive
templateK/write-math
b418e7c40a59ce2e673f5804b1c042acd8eb527b
ece645f70341431ac7ca14740ce26ad8153a3900
refs/heads/master
2021-01-18T21:48:14.725324
2016-05-17T17:57:22
2016-05-17T17:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
#!/usr/bin/env python """ Create a json file which maps unicode decimal codepoints to descriptions. https://github.com/w3c/xml-entities is used for that. """ import json data = {} import xml.etree.ElementTree e = xml.etree.ElementTree.parse('xml-entities/unicode.xml').getroot() for atype in e.findall('charlist'): ...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
f0ed3ca2be636e6ff87f3318f3e243f68762b6f4
4bc24011c65cb5194eb94abfd8d394a6b0dc6a50
/packages/OpenCV/nodes/OpenCV___BilateralFilter0/OpenCV___BilateralFilter0.py
6f78c7fc2a7dc5946060fcc88fa05dad405492c9
[ "MIT" ]
permissive
ManojKumarTiwari/Ryven
6c76ebdf89599bb7c9b4ce020f195eea135d9da1
2b8ef0bdcf05a458a6cf8791cbc2fda6870932f8
refs/heads/master
2022-11-12T00:23:45.303378
2020-07-08T09:32:10
2020-07-08T09:32:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,485
py
from custom_src.NodeInstance import NodeInstance from custom_src.Node import Node from custom_src.retain import m import cv2 # USEFUL # self.input(index) <- access to input data # self.outputs[index].set_val(val) <- set output data port value # self.main_widget <- access to m...
[ "leon.thomm@gmx.de" ]
leon.thomm@gmx.de
0c8e3e9921b7d630d6e0adc83c74f296d3c6d153
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_196/ch63_2020_04_27_14_18_42_371021.py
c92ce60be1971d984d7ff5df1eb20c1502c28393
[]
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
78
py
def nome_usuario(str):#isabellabvo@ a = [::- pos_arroba(str)] return a
[ "you@example.com" ]
you@example.com
49aad707822cea050e45c3f070042ccf5c2f2dba
a8123a86db99b9365b10ba76dd509d58caa7bc10
/python/practice/start_again/2020/11032020/Assesment6.py
c505235f1844afeeb02c99144c972776b142ec93
[]
no_license
smohapatra1/scripting
c0404081da8a10e92e7c7baa8b540acc16540e77
3628c9109204ad98231ae8ee92b6bfa6b27e93cd
refs/heads/master
2023-08-22T20:49:50.156979
2023-08-22T20:43:03
2023-08-22T20:43:03
147,619,016
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
#Use List Comprehension to create a list of the first letters of every word in the string below: st = 'Create a list of the first letters of every word in this string' mylist=[w[0] for w in st.split()] print (mylist)
[ "samarendra.mohapatra121@gmail.com" ]
samarendra.mohapatra121@gmail.com
4e8b7d7b60995bf843c9a4de85b38976e365d990
84a1f9d626828b6ecaee4ef037081f4d8750a990
/编程/4月/4.13/test_survey.py
9c1c877c16243557dde6b28b5c1afc599957f8ed
[]
no_license
dujiaojingyu/Personal-programming-exercises
5a8f001efa038a0cb3b6d0aa10e06ad2f933fe04
72a432c22b52cae3749e2c18cc4244bd5e831f64
refs/heads/master
2020-03-25T17:36:40.734446
2018-10-01T01:47:36
2018-10-01T01:47:36
143,986,099
1
0
null
null
null
null
UTF-8
Python
false
false
1,840
py
__author__ = "Narwhale" # import unittest # from survey import AnonymousSurvey # # class TestAnonymousSurvey(unittest.TestCase): # '''测试survey.py''' # def test_store_single_response(self): # '''测试单个答案会不会妥善储存''' # question = "What langage did you first learn to speak?" # my_survey = Anon...
[ "34296128+dujiaojingyu@users.noreply.github.com" ]
34296128+dujiaojingyu@users.noreply.github.com
9de052555dc7ee6ed65cad5a454df3b5f3f305ae
f7a20374403b55189cc5db6e8fa34d0ba290387c
/modules/incidents/incidents.py
6d49906a1da357b35110f8d5cd751a05e35475d1
[]
no_license
dark-ice/upink_modules
1a7b5a165cc5e05396c62cf33c261b907c23e33c
c497bf87a39796f1df3877542359b1927bec3a76
refs/heads/master
2021-05-01T04:40:16.436666
2014-04-12T15:09:31
2014-04-12T15:09:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,945
py
# -*- encoding: utf-8 -*- from datetime import datetime, timedelta import pytz from openerp import tools from openerp.osv import fields, osv from openerp.osv.orm import Model STATES = ( ('draft', 'Черновик'), ('completion', 'На доработке инициатором'), ('decision', 'Принятие решения'), ('in_pipeline'...
[ "karbanovich.andrey@gmail.com" ]
karbanovich.andrey@gmail.com
c0ca10e6617bcc841033face0deb5832c499e704
3de69270140c915a71611b07f9e5ae7e0ba5d3e6
/hedgehog/__init__.py
af439387011fcc89560aa07bba8500c8a529cdb3
[ "MIT" ]
permissive
dongyu1990/hedgehog
f66380f77751d2dd6dc8d888ed4634d3cc8d9225
98c97d0c70b4aa01b0bfb1115a1dfbe18f976ae9
refs/heads/master
2022-09-15T14:21:15.701239
2020-05-31T13:12:40
2020-05-31T13:12:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
import os from .bayes_net import BayesNet from .examples import load_alarm from .examples import load_asia from .examples import load_grades from .examples import load_sprinkler __all__ = [ 'BayesNet', 'load_alarm', 'load_asia', 'load_grades', 'load_sprinkler' ] def cli_hook(): here = os.pa...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
f2a49225a1fc85adf7640b670ac6c14374ae7785
280342a3961132a6f62507e17cb0dadf3598f2ea
/models/extends_financiera_prestamo_cuota.py
96a9a2953247b4107c7c846ec38bf120d3c9ebfe
[]
no_license
levislibra/financiera_pagos_360
5e8f6f2fe43311ea3b918daff359ec126ecadc0b
4881773281e970ff23c3c9e913ee0a5260e91502
refs/heads/master
2023-07-06T01:09:20.089773
2023-06-21T14:57:10
2023-06-21T14:57:10
205,934,743
0
0
null
null
null
null
UTF-8
Python
false
false
3,869
py
# -*- coding: utf-8 -*- from openerp import models, fields, api, _ from datetime import datetime, timedelta, date PAGOS360_MONTO_MINIMO = 10 class ExtendsFinancieraPrestamoCuota(models.Model): _inherit = 'financiera.prestamo.cuota' _name = 'financiera.prestamo.cuota' pagos_360_generar_pago_voluntario = fields.Bo...
[ "levislibra@hotmail.com" ]
levislibra@hotmail.com
bb73a8d6d66d5da10e7f44de054504874ad8a460
08f484c61bf303ee2ec78aff9960f4812fe1e839
/coldtype/helpers.py
5449040cdd452d951ffbae72f5c94dca7a01bca1
[ "Apache-2.0" ]
permissive
rohernandezz/coldtype
02bee08e021be8dfe45328076c512f06ea8f13ae
724234fce454699a469d17b6c78ae50fa8138169
refs/heads/main
2023-07-27T16:09:10.696755
2021-09-11T21:17:55
2021-09-11T21:17:55
405,537,609
0
0
Apache-2.0
2021-09-12T03:34:29
2021-09-12T03:34:28
null
UTF-8
Python
false
false
2,541
py
from pathlib import Path from defcon import Font as DefconFont from coldtype.text.reader import normalize_font_path, StyledString from coldtype.pens.datpen import DATPens from coldtype.interpolation import norm, interp_dict, lerp, loopidx from random import Random def sibling(root, file): return Path(root).parent...
[ "rob.stenson@gmail.com" ]
rob.stenson@gmail.com
5bdb03989f229d884781faa92039d3ae802ef1cd
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2276/60580/316515.py
8b6451c802044f3f3c441502c4705c5b7a3a4460
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
643
py
def manage(R, C, r0, c0): ans = [[r0, c0]] if R * C == 1: return ans else: for k in range(1, 2 * (R + C), 2): for dr, dc, dk in ((0, 1, k), (1, 0, k), (0, -1, k + 1), (-1, 0, k + 1)): for _ in range(dk): r0 = r0 + dr c0 = c0...
[ "1069583789@qq.com" ]
1069583789@qq.com
6cd50fc250fd30608492a7d43a5d379ded730f9b
ae1e5b78fcbb88225b414fbdaecaa3783ae37fd8
/guillotina_glex/utility.py
2587ed35b06a46f6a203c894d716ceb9f9a15e9e
[]
no_license
vangheem/guillotina_glex
d65d7cfce8702a3b31ca5516f001f9bb89b43707
ef22a7c42191d6a8492e6aceb81273a326eaa6aa
refs/heads/master
2021-01-06T20:35:35.059172
2017-09-05T00:33:22
2017-09-05T00:33:22
99,527,470
0
0
null
null
null
null
UTF-8
Python
false
false
4,911
py
import asyncio import base64 import json import logging import os import aiohttp from guillotina import app_settings, configure from guillotina.async import IAsyncUtility from guillotina.component import getUtility from guillotina_gcloudstorage.interfaces import IGCloudBlobStore from guillotina_gcloudstorage.storage ...
[ "vangheem@gmail.com" ]
vangheem@gmail.com
b6f5cd268a316233e9b02e99e538aac933b2d87b
89a3cb6e0625e7ae8d3d4c12bf5214557d344059
/2-Research_Defense/sample_distribution.py
b70dd6d4e01d8989ed15ce6a6384553f4a8bc803
[]
no_license
tchlux/VarSys
e5adc802bbf8149bd3584d350bb429c24d4cbdd8
313a3029d838520d30ce960fa56a897ba9180037
refs/heads/master
2023-07-20T10:58:34.901566
2020-09-22T15:37:45
2020-09-22T15:37:45
108,617,499
0
0
null
2023-07-06T21:13:39
2017-10-28T03:44:31
null
UTF-8
Python
false
false
2,247
py
import numpy as np from fits import cdf_points, flat_fit, linear_fit, cubic_fit, quintic_fit from util.plot import Plot from random import seed, sample values = list(np.percentile(np.random.normal(size=(100000,)), np.linspace(0,100,1000))) truth = linear_fit(values) true_min_max = (min(valu...
[ "thomas.ch.lux@gmail.com" ]
thomas.ch.lux@gmail.com
1e7d8c52911d6060dd4720aae9d114a1d173594a
3049bc6a1d8ed3b1dfe7280a551bf14cd7df1d98
/thespian/test/testSystemMessages.py
02bc9eaa2c799e5e75d136ac1c33f6e3addaefec
[ "MIT" ]
permissive
liuzhijun/Thespian
a9e159f21af1018fe45cce681390fba4fd28bdae
a536cbeace24ab84659160e2a438ebdd62a891e7
refs/heads/master
2021-01-15T12:41:27.137415
2016-04-08T01:33:27
2016-04-08T01:33:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,343
py
import unittest import logging import time, datetime import thespian.test.helpers from thespian.actors import * from thespian.test import ActorSystemTestCase class EchoActor(Actor): def receiveMessage(self, msg, sender): logging.info('EchoActor got %s (%s) from %s', msg, type(msg), sender) self.se...
[ "kquick@godaddy.com" ]
kquick@godaddy.com
743b5ae680bd84ca58609986ff88af66169e4909
a512b8893b0d2de827d6292e810f3a98b41e132c
/Week8/Day3/Solutions/Python/prog5.py
bdf631feab069e18d120788bb85471ff2fb8701d
[]
no_license
Audarya07/Daily-Flash-Codes
d771079fd0d470e2d3e05679f17f32fb64b4f426
cf96ca2b1676b038e243fac67be778381492ffeb
refs/heads/master
2022-11-06T15:37:47.180729
2020-06-25T16:20:55
2020-06-25T16:20:55
274,960,651
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
print("Point A(x1,y1) = ",end=" ") a = [int(x) for x in input().split()][:2] print("Point B(x2,y2) = ",end=" ") b = [int(x) for x in input().split()][:2] print("Point c(x3,y3) = ",end=" ") c = [int(x) for x in input().split()][:2] distAB = ((b[0]-a[0])**2 + (b[1]-a[1])**2)**0.5 print("Distance AB = ",round(distAB,2)...
[ "audiuttarwar2000@gmail.com" ]
audiuttarwar2000@gmail.com
e4a964c0162eae94bed9279674c41123d3a52262
db217a42aa96688ce2d257820398fcc57bc1f810
/gpscraper/admin.py
81efffeec794a7cb5f214403c71d322afd2b92ba
[]
no_license
ans2human/Google-Play-Store-Scraper
4a3012c5c22feb8dfd92cb9534f6ade400cb096f
ddf576d9c159c98429643e60fb5a642bbe848d49
refs/heads/master
2022-12-10T20:10:01.920280
2018-10-13T06:27:04
2018-10-13T06:27:04
149,260,886
1
1
null
2022-07-06T19:52:11
2018-09-18T09:16:37
Python
UTF-8
Python
false
false
263
py
from django.contrib import admin from gpscraper.models import AppData, AppSearchIndex class AppDataAdmin(admin.ModelAdmin): list_display = ('id', 'name', 'dev_name', 'category') admin.site.register(AppData, AppDataAdmin) admin.site.register(AppSearchIndex)
[ "ans2human@gmail.com" ]
ans2human@gmail.com
3820e7373bc32531be8713da83fd7a55840bcfc7
270363be5ea94d33469fe4271eccb343357d4fa6
/linalg/kahan/sum.py
36c6ae09c06c5cab9877e5ad05b987dbbea1f78c
[]
no_license
tkelestemur/learn-linalg
c487389e9802b0223232bcb8c9ec0003cc7df091
a6e04e903e5c9e00801b56a228c56fd8b8ba8c71
refs/heads/master
2023-03-19T05:53:34.407780
2021-01-02T13:54:40
2021-01-02T14:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,436
py
import numpy as np class KahanSum: """Precise summation of finite-precision floating point numbers [1]. Reduces numerical error by storing a running compensation term that captures lost low-order bits. References: [1]: https://en.wikipedia.org/wiki/Kahan_summation_algorithm """ def __init__(self): ...
[ "kevinarmandzakka@gmail.com" ]
kevinarmandzakka@gmail.com
3538acda3d446425f03488c8e3f2348b3350b383
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/treemap/_visible.py
537d81152ae25e0c4789549c71e0a378ae159bba
[ "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
470
py
import _plotly_utils.basevalidators class VisibleValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__(self, plotly_name="visible", parent_name="treemap", **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
b14782c709a1527188e058d40485c6d3bf1ca83b
d3a0a2cabd572a9e597a399cf6b7012e34a99475
/flask/script-api/flask/lib/python3.6/encodings/punycode.py
d9595a326e7e834b53f7441490b8b947d6828505
[]
no_license
rahulgoyal911/Face-Recogniton-Using-OpenCV-and-Python-on-RaspberryPI
06ed227dc56a0956d668de0d9f78287c75e790f4
1bbdfd45adebda0728831065df0580cd48dedef8
refs/heads/master
2020-05-01T01:18:18.868473
2019-03-24T16:48:21
2019-03-24T16:48:21
177,192,198
0
1
null
null
null
null
UTF-8
Python
false
false
65
py
/home/rahulgoyal911/anaconda3/lib/python3.6/encodings/punycode.py
[ "rahulgoyal0.rg@gmail.com" ]
rahulgoyal0.rg@gmail.com
770716b524c252a1d6bc14e545f41457cd23a5c4
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_security_groups_operations.py
db3954fd59626929afe5810e4fb75799bdf02e6f
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
28,881
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
17a937aeee7d4803c81b66038606d007a43ba375
01c3ff1d74e754e0d4ce0fb7f8a8b329ec3766e1
/python_exercises/19others/pattern5.py
483e78e63f8ebcaf6ba87bcd805f663dff7c4353
[]
no_license
vineel2014/Pythonfiles
5ad0a2b824b5fd18289d21aa8306099aea22c202
0d653cb9659fe750cf676a70035ab67176179905
refs/heads/master
2020-04-28T03:56:22.713558
2019-03-11T08:38:54
2019-03-11T08:38:54
123,681,939
1
0
null
null
null
null
UTF-8
Python
false
false
146
py
def printTri(n): for i in range(1,n+1): print(' '.join(str(i)*i)) n=int(input("enter range to display number triangle")) printTri(n)
[ "vineel2006@gmail.com" ]
vineel2006@gmail.com
01eab334f8dd405e5b1de91172d26a98b76d39ee
a034d4ba39789e4a351112c46dd04a38180cd06c
/appengine/findit/findit_v2/services/test/build_util_test.py
85dd03198119d71eff746fb8c2caeb9a58e5112b
[ "BSD-3-Clause" ]
permissive
asdfghjjklllllaaa/infra
050ad249ab44f264b4e2080aa9537ce74aafb022
8f63af54e46194cd29291813f2790ff6e986804d
refs/heads/master
2023-01-10T21:55:44.811835
2019-07-01T14:03:32
2019-07-01T14:03:32
194,691,941
1
0
BSD-3-Clause
2023-01-07T07:12:37
2019-07-01T14:45:29
Python
UTF-8
Python
false
false
1,905
py
# Copyright 2019 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. import unittest from buildbucket_proto import common_pb2 from buildbucket_proto.build_pb2 import Build from buildbucket_proto.build_pb2 import BuilderID fro...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
c3ff78ade7a48d81ea1bf2007c51af01e08bfb47
92e3a6424326bf0b83e4823c3abc2c9d1190cf5e
/scripts/icehouse/opt/stack/taskflow/taskflow/types/latch.py
0945a286cd816a0b0bdfd456401608455ecb04dd
[ "Apache-2.0" ]
permissive
AnthonyEzeigbo/OpenStackInAction
d6c21cf972ce2b1f58a93a29973534ded965d1ea
ff28cc4ee3c1a8d3bbe477d9d6104d2c6e71bf2e
refs/heads/master
2023-07-28T05:38:06.120723
2020-07-25T15:19:21
2020-07-25T15:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
# -*- coding: utf-8 -*- # Copyright (C) 2014 Yahoo! Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
[ "cody@uky.edu" ]
cody@uky.edu
27e9ed8c37a43ac6f6365ba000efcb25594e79f7
e5e0d729f082999a9bec142611365b00f7bfc684
/tensorflow/python/keras/distribute/keras_correctness_test_base.py
73b899ba3cc9bc01310730fc690ff2d3340a15b0
[ "Apache-2.0" ]
permissive
NVIDIA/tensorflow
ed6294098c7354dfc9f09631fc5ae22dbc278138
7cbba04a2ee16d21309eefad5be6585183a2d5a9
refs/heads/r1.15.5+nv23.03
2023-08-16T22:25:18.037979
2023-08-03T22:09:23
2023-08-03T22:09:23
263,748,045
763
117
Apache-2.0
2023-07-03T15:45:19
2020-05-13T21:34:32
C++
UTF-8
Python
false
false
22,395
py
# Copyright 2018 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
9e823061761c45f40f3539b926ffeadbb214da6c
78ffdf4542ee11265f2190b29cef191814f0b778
/CSDN数据挖掘培训/第二天/projy2/projy2/spiders/start.py
d7a3a28bb9bfdb405346ff6bef9374d005839973
[]
no_license
linhuaxin93/LearnPython
c106d0c226af18d9b5b01ae97170f9cb5ca7e2b1
c3730cdefe9179d5d1a7a46284e3be9747ababec
refs/heads/master
2023-05-06T23:36:23.403410
2020-12-18T00:30:20
2020-12-18T00:30:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
from scrapy import cmdline cmdline.execute(('scrapy crawl csdn'.split()))
[ "fuyu16032001@gmail.com" ]
fuyu16032001@gmail.com
9c6962d424a390c3405c175a8872f70e709b0ce9
260f6aafc0ad0ddaba9d672a07ba3f2dd8822031
/backend/doctor_24708/urls.py
cbd3997267bd3fea03835b10cc434b7fb020de29
[]
no_license
crowdbotics-apps/doctor-24708
9419513611c41e4383a79a97b9e2b96d1f762919
74623cb899ba50ad6957cef018d61a000a2e5efb
refs/heads/master
2023-03-09T08:48:37.840476
2021-02-25T04:21:40
2021-02-25T04:21:40
342,120,747
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
"""doctor_24708 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
740edc262fe586af8dcb9edc097db31e8e27aaf2
eb028591eb2c22f5f00c82f901daa8ea4fd1f378
/minio-test/config.py
6c066d6b4b4cb6ab191848dce2c7002739f305fa
[]
no_license
matancarmeli7/cloudlet
139c469ad778b3683ef0f379eeb66abe549c42ce
b7b57241a1f240b008ab0a9c6aa8aed02fc63b43
refs/heads/master
2022-12-06T19:56:00.873823
2021-01-03T14:30:08
2021-01-03T14:30:08
249,676,523
3
11
null
2022-12-06T17:38:16
2020-03-24T10:21:01
HTML
UTF-8
Python
false
false
82
py
bucket_name = 'mybucket-minio-test' minio_url = 'minio.apps.dev.cloudlet-dev.com'
[ "admin@example.com" ]
admin@example.com
7efc136aaf2ae92ccc81f090ee865dba6abf2231
45ab4c22d918dc4390572f53c267cf60de0d68fb
/src/Analysis/Engine/Impl/Typeshed/third_party/2and3/Crypto/Util/RFC1751.pyi
273204b24babd0a8b0f42f0ad4ca7df967b7998e
[ "MIT", "Apache-2.0" ]
permissive
sourcegraph/python-language-server
580a24fd15fe9d4abeb95e9333d61db1c11a2670
64eae156f14aa14642afcac0e7edaf5d7c6d1a1c
refs/heads/master
2023-04-09T21:17:07.555979
2018-12-06T23:25:05
2018-12-06T23:25:05
155,174,256
2
2
Apache-2.0
2018-10-29T08:06:49
2018-10-29T08:06:49
null
UTF-8
Python
false
false
168
pyi
from typing import Any __revision__ = ... # type: str binary = ... # type: Any def key_to_english(key): ... def english_to_key(s): ... wordlist = ... # type: Any
[ "alsher@microsoft.com" ]
alsher@microsoft.com
810b8e0187dfd900d3aaa49048955829777a39fc
162e2588156cb2c0039c926c5c442363d9f77b00
/tests/integration_tests/data_steward/utils/sandbox_test.py
eb5c79832b115f502c30291f17e07c1d6175b607
[ "MIT" ]
permissive
nishanthpp93/curation
38be687240b52decc25ffb7b655f25e9faa40e47
ac9f38b2f4580ae806121dd929293159132c7d2a
refs/heads/develop
2022-08-08T20:33:53.125216
2021-12-03T21:38:48
2021-12-03T21:38:48
155,608,471
1
0
MIT
2020-10-09T01:14:39
2018-10-31T18:54:34
Python
UTF-8
Python
false
false
2,053
py
# Python imports import os import unittest import app_identity # Project Imports from utils import sandbox from utils.bq import get_client class SandboxTest(unittest.TestCase): @classmethod def setUpClass(cls): print('**************************************************************') print(cls...
[ "noreply@github.com" ]
nishanthpp93.noreply@github.com
0a02e0e66c2bc59500b508dbfc467fcab4c3580d
6febd920ced70cbb19695801a163c437e7be44d4
/leetcode_oj/tree/lowest_common_ancestor.py
36f0233451b0db28999def6a1c089ac431795fcf
[]
no_license
AngryBird3/gotta_code
b0ab47e846b424107dbd3b03e0c0f3afbd239c60
b9975fef5fa4843bf95d067bea6d064723484289
refs/heads/master
2021-01-20T16:47:35.098125
2018-03-24T21:31:01
2018-03-24T21:31:01
53,180,336
1
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
#!/usr/bin/python ''' Find the least common ancestor in binary tree ''' class TreeNode: def __init__(self, val, l = None, r = None): self.val = val self.l = l self.r = r class Solution: def findAncestor(self, tree, node1, node2): if not node1 or not node2: return None node1_path = list() node2_path ...
[ "dhaaraa.darji@gmail.com" ]
dhaaraa.darji@gmail.com
d7d6f389f59d7fc45035df1e7604d1558f038bec
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Clutter/ListModelClass.py
9a7881b11b60fa1641da7dea25a2aa64f7fc3bcc
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,616
py
# encoding: utf-8 # module gi.repository.Clutter # from /usr/lib64/girepository-1.0/Clutter-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes of ...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
ae10124f9637a093727bec5c3a8a47e836fbb458
ad01faab6dd663dc5193eb8383fdc2d24c2df23d
/_psycopg2/main.py
0da670d63333ca337b3b928c0fb107341902ee35
[]
no_license
jurgeon018/snippets
585db91b8120076b37deaa37393b34f7c61fec66
e0ab24a99791c3b25422a3208f02919cf98ca084
refs/heads/master
2023-05-14T12:31:48.139452
2023-01-23T03:33:41
2023-01-23T03:33:41
222,001,233
0
0
null
2023-05-01T22:16:48
2019-11-15T20:51:27
Python
UTF-8
Python
false
false
1,949
py
import psycopg2 import psycopg2.extras import psycopg2.errors conn = psycopg2.connect( database='psycopg2_test_db', user='jurgeon', password='69018', host='127.0.0.1', port=5432, ) cur = conn.cursor(cursor_factory=psycopg2.extras.DictCursor) # cur.execute(''' # create table users (id serial ...
[ "jurgeon018@gmail.com" ]
jurgeon018@gmail.com
daa62f58f170435922812b7e0cd13136bcac3329
b1cf54e4d6f969d9084160fccd20fabc12c361c2
/leetcode/first_bad_version.py
a240686a6a5620942a6e98d87cbde784e6963a9c
[]
no_license
zarkle/code_challenges
88a53477d6f9ee9dd71577678739e745b9e8a694
85b7111263d4125b362184df08e8a2265cf228d5
refs/heads/master
2021-06-10T11:05:03.048703
2020-01-23T06:16:41
2020-01-23T06:16:41
136,668,643
0
1
null
2019-02-07T23:35:59
2018-06-08T21:44:26
JavaScript
UTF-8
Python
false
false
1,159
py
# https://leetcode.com/problems/first-bad-version/ # https://leetcode.com/articles/first-bad-version/ # The isBadVersion API is already defined for you. # @param version, an integer # @return a bool # def isBadVersion(version): class Solution: def firstBadVersion(self, n): """ :type n: int ...
[ "beverly.pham@gmail.com" ]
beverly.pham@gmail.com
8eef03e3062bcf936292ffcfe46b96d9859fc508
6ccb55befcbc69caa351b8337fdd40e55dbb802f
/venv/lib/python3.6/site-packages/praw/models/reddit/widgets.py
ad88158d6b187165598c7fa4f54b8ee1cd43a608
[]
no_license
FiacreT/M-moire
cc0791cbf98bf565ea637e6ec409611bcc596c57
4089755191ffc848614247e98bbb641c1933450d
refs/heads/master
2022-12-12T21:55:23.679854
2019-09-06T23:28:03
2019-09-06T23:28:03
187,702,532
2
2
null
2022-12-08T01:04:58
2019-05-20T19:39:21
Python
UTF-8
Python
false
false
67,584
py
"""Provide classes related to widgets.""" import os.path from json import dumps, JSONEncoder from ...const import API_PATH from ..base import PRAWBase from ..list.base import BaseList class Button(PRAWBase): """Class to represent a single button inside a :class:`.ButtonWidget`. **Typical Attributes** ...
[ "hervesoubgui57@gmail.com" ]
hervesoubgui57@gmail.com
60e99e3c34a04fa47c76b65eeb7e6b16e810f619
9ed385053e7f28bfd0c6f186fc4963faac43eb96
/store/admin.py
242da77e1948b6798d3a5b94197f9a83ae85741d
[]
no_license
Pagante/greatkart-django
ffadfb5d4827220f3df588fb1d21dc28f1359ce0
d4bb679c7fd270435f4ce0cc8854bdb3d2e134dd
refs/heads/main
2023-05-12T01:07:53.092949
2021-05-30T16:34:07
2021-05-30T16:34:07
365,899,060
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
from django.contrib import admin from django.db import models from .models import Product, Variation, reviewRating # Register your models here. class ProductAdmin(admin.ModelAdmin): list_display = ('id', 'product_name','price', 'stock', 'category','modified_date', 'is_available') prepopulated_fields = {'slug':...
[ "55301195+Pagante@users.noreply.github.com" ]
55301195+Pagante@users.noreply.github.com
4095bae2f056ec0ad61e9b477a8afdbf75a69e26
b9e5aebb49734ad47825130529bd64e59f690ecf
/chapter_3/greeting.py
78fd31f144aa4c16e330ae31c4398f6ae86f6131
[]
no_license
mikegirenko/python-learning
dab0f67d990d95035f93720986c84aaf422f7a9f
db9e3f0e3897caf703169d1f14b15a9aa1901161
refs/heads/master
2021-07-09T08:03:40.535653
2020-08-05T00:13:41
2020-08-05T00:13:41
169,983,732
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
my_friends = ['bob', 'dave', 'tom'] print('Hello, my first friend ' + my_friends[0].title()) print('Hello, my second friend ' + my_friends[1].title()) print('Hello, my last friend ' + my_friends[-1].title())
[ "mike.girenko@cybergrx.com" ]
mike.girenko@cybergrx.com
4bb54211b52f574fa2a23278d051229f519fd3cd
5a74a3c8e40b902c8a6702a1ca4183770ba64f69
/onesource/extract_entities.py
bf43c2865d76de6bbebbe6c3fba7028a2c58db52
[]
no_license
markmo/onesource
77e6b9234d2408c4f473823195897f9e0e328486
b3e43dde6b527115035b89cdae0f42f5e4daa441
refs/heads/master
2021-04-03T04:44:11.110450
2019-05-19T06:12:45
2019-05-19T06:12:45
125,161,967
1
0
null
null
null
null
UTF-8
Python
false
false
9,809
py
import csv from datetime import datetime from dateutil.parser import parse from duckling import DucklingWrapper from flair.data import Sentence from flair.models import SequenceTagger from flashtext import KeywordProcessor import json from logging import Logger import os from pathlib import Path from pipeline import Ab...
[ "markmo@me.com" ]
markmo@me.com
2670eb26885abb954a926b8bbdf67cab549a0831
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/74A/cdf_74A.py
e07ce0c876f071bb2b46f0dfd4a3368160518a56
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
899
py
from operator import itemgetter class CodeforcesTask74ASolution: def __init__(self): self.result = '' self.n = 0 self.participants = [] def read_input(self): self.n = int(input()) for x in range(self.n): self.participants.append(input().split(" ")) def...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
aed45e56c7dc367acf8f001535bbe48a7d4e1b21
6841f44b102572978b67af7b9fba9db03f75a6c3
/cravattdb/contrib/residue_number_annotation/__init__.py
d74359f210fd5f30cb7a1134f916ebcb18581c7f
[]
no_license
radusuciu/cravattdb
69fae8c30a94774420024ad4b90c285bc9c2c64c
bc4b2a147a374eed2e9350e824df85ba2108fca9
refs/heads/master
2021-06-06T08:29:41.824284
2016-10-21T21:57:13
2016-10-21T21:57:13
65,228,688
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
"""Blergh.""" from cravattdb.contrib.residue_number_annotation import uniprot from urllib.parse import urlparse from functools import partial import ftplib import pathlib import gzip SWISSPROT_URL = urlparse( 'ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/taxonomic_divisions/uniprot_spr...
[ "radusuciu@gmail.com" ]
radusuciu@gmail.com
7dedc777e0e8c11ea0c28aa6c6a08bd4e0d6cf3f
2bcc421ee345b00cf805c543b37d18b5d019dc04
/adafruit-circuitpython-bundle-6.x-mpy-20201126/examples/bno08x_simpletest.py
7be292ef80153375b4ff5a7b2baf3d3e200f97f0
[]
no_license
saewoonam/sc-current-source-titano
5a1ad46889c1b09c168424901fd71cb4eab5c61b
1c136aa8b61268d9ac0b5a682b30ece70ab87663
refs/heads/main
2023-03-02T22:12:26.685537
2021-02-09T03:28:01
2021-02-09T03:28:01
317,299,900
0
2
null
null
null
null
UTF-8
Python
false
false
1,477
py
# SPDX-FileCopyrightText: 2020 Bryan Siepert, written for Adafruit Industries # # SPDX-License-Identifier: Unlicense import time import board import busio from adafruit_bno08x import ( BNO_REPORT_ACCELEROMETER, BNO_REPORT_GYROSCOPE, BNO_REPORT_MAGNETOMETER, BNO_REPORT_ROTATION_VECTOR, ) from...
[ "nams@nist.gov" ]
nams@nist.gov
95fcf4a17f0202eed8705013ffc615e1f1de0c74
7ef01829aca4b92687780d45745f62ca33480bc1
/selfdrive/debug/dump.py
89dd43fa4ce002a291378926b2c0b45a34ec58a6
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Jamezz/openpilot
25392231ff229dc3dd360fa6bf782326d962496f
5272c6b18e56a7124a56d2c2f6d8a7d7b2d4ac10
refs/heads/volt
2020-03-08T06:59:47.872585
2018-03-27T04:40:15
2018-03-27T04:40:15
127,984,350
0
0
MIT
2018-05-15T15:02:00
2018-04-04T00:25:52
C
UTF-8
Python
false
false
2,576
py
#!/usr/bin/env python import sys import argparse import zmq import json from hexdump import hexdump from threading import Thread from cereal import log import selfdrive.messaging as messaging from selfdrive.services import service_list def run_server(socketio): socketio.run(app, host='0.0.0.0', port=4000) if __nam...
[ "user@comma.ai" ]
user@comma.ai
316e6ad857cdf28a96fb109dab5fd55ee601abab
f20516958c39123f204e2bc442c91df7df1cc34a
/WebMirror/OutputFilters/rss/ParserFuncs_o_u.py
c43a9dddcb91153d5e3e615a7e44a15e4cb188a3
[ "BSD-3-Clause" ]
permissive
bradparks/ReadableWebProxy
3c2732cff64007afa8318b5b159616a529068322
81fbce3083471126942d2e2a298dba9eaf1092b1
refs/heads/master
2020-05-29T11:48:40.189530
2016-08-25T15:17:14
2016-08-25T15:17:14
66,568,996
0
0
null
2016-08-25T15:13:39
2016-08-25T15:13:39
null
UTF-8
Python
false
false
138,569
py
# pylint: disable=C0112,R0911,R0912,W0612 from WebMirror.OutputFilters.util.MessageConstructors import buildReleaseMessage from WebMirror.OutputFilters.util.TitleParsers import extractChapterVol from WebMirror.OutputFilters.util.TitleParsers import extractChapterVolFragment from WebMirror.OutputFilters.util.TitlePar...
[ "something@fake-url.com" ]
something@fake-url.com
2ab6abbd0e1431436acb7dda3b3ede40938d460d
38c10c01007624cd2056884f25e0d6ab85442194
/testing/test_env.py
052df6769b262c442a5b8721ae38c166c659c0b8
[ "BSD-3-Clause" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
Python
false
false
8,248
py
#!/usr/bin/env python # Copyright (c) 2012 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. """Sets environment variables needed to run a chromium unit test.""" import os import stat import subprocess import sys # This is...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
f2cd0ab77cb5f8fa5558cf6172353ec2230c9127
f3d38d0e1d50234ce5f17948361a50090ea8cddf
/CodeUp/Python 기초 100제/6036번 ; 단어 여러 번 출력하기.py
bc0bcc44a3400612fd542a6d58530b3105f25276
[]
no_license
bright-night-sky/algorithm_study
967c512040c183d56c5cd923912a5e8f1c584546
8fd46644129e92137a62db657187b9b707d06985
refs/heads/main
2023-08-01T10:27:33.857897
2021-10-04T14:36:21
2021-10-04T14:36:21
323,322,211
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# https://codeup.kr/problem.php?id=6036 # readline을 사용하기 위해 import합니다. from sys import stdin # 단어와 반복 횟수를 공백으로 구분해 입력합니다. word, repeat_cnt = stdin.readline().split(' ') # 반복 횟수는 정수형으로 변환합니다. repeat_cnt = int(repeat_cnt) # 입력한 단어를 입력한 횟수만큼 반복해 출력합니다. print(word * repeat_cnt)
[ "bright_night_sky@naver.com" ]
bright_night_sky@naver.com
c6e462a6e0fd6dad1a07c73b7443f6fd2dfd4419
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02987/s591389519.py
8762798d4042e04b87616ffd6fa0f37468561ff7
[]
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
209
py
# -*- coding: utf-8 -*- s = input() cnt = {l:0 for l in set(s)} if len(cnt) != 2: print('No') exit(0) for l in s: cnt[l] += 1 if cnt[l] > 2: print('No') exit(0) print('Yes')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5f7afd4b4b67a971d1a07293744294fe27cd11a4
256644d14bd15f8e1a3e92c95b1655fd36681399
/backup/GA_NN/v4/testGA.py
c6a234d32f017184ac400c1068bb0f05643dd4d1
[]
no_license
mfbx9da4/neuron-astrocyte-networks
9d1c0ff45951e45ce1f8297ec62b69ee4159305a
bcf933491bdb70031f8d9c859fc17e0622e5b126
refs/heads/master
2021-01-01T10:13:59.099090
2018-06-03T12:32:13
2018-06-03T12:32:13
12,457,305
1
0
null
null
null
null
UTF-8
Python
false
false
5,124
py
import unittest from GA import createPop, pairPop, NN, rankPop, itemgetter from GA import evolveNewPop, selectTwoIndividuals from pylab import where, array class testcreatePop(unittest.TestCase): def setUp(self): self.pop = createPop() def testType(self): for ind in self.pop: self.assertIsIns...
[ "dalberto.adler@gmail.com" ]
dalberto.adler@gmail.com
06cb9f6621d634240e8d8059be5f33b447dbb0d2
7887a24a4c0eed525a044b785e950d9a71ea7558
/SimG4Core/PrintGeomInfo/test/python/runDDD2026_cfg.py
ab8ed29b51b7e934ab9a57aa86d12a95a6ee501a
[ "Apache-2.0" ]
permissive
CMS-HGCAL/cmssw
1aba653346d5a6a69aa60629b7b0cf81880cef91
03230166537ea0ea9e0c975cf28964ee81d545ae
refs/heads/hgcal-condformat-HGCalNANO-13_2_0_pre2
2023-08-16T21:25:36.872190
2023-08-14T20:05:05
2023-08-15T23:28:48
62,036,013
2
2
Apache-2.0
2023-09-12T13:02:50
2016-06-27T07:48:31
C++
UTF-8
Python
false
false
3,674
py
############################################################################### # Way to use this: # cmsRun runDDD2026_cfg.py geometry=D88 # # Options for geometry D86, D88, D91, D92, D93, D94, D95, D96, D97, D98, D99 # ############################################################################### import FWCore.Pa...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
694642cedfed44db0b0286b0ec4dbb6e4b50e77a
29b58edf26d0e4a965ea758c1f0e6ae51a61d3ed
/Loops/1loops.py
dfc631f39038bed104ec937e38d0060f11e1f85e
[]
no_license
namntran/modern_python3_bootcamp
bfe0fc8b647329f44ad4228d7a12480b9f3821cd
6b273112b4bd324b95d0dc148c46f605c792c167
refs/heads/master
2020-06-16T20:27:41.891467
2020-02-16T04:53:16
2020-02-16T04:53:16
195,694,593
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
# i = 1 # while i < 5: # i += i #increment i by 1 # print(i) # print 1 to 5 # i = 0 # while i <= 5: # i += 1 # print(i) # from random import randint # use randint(a, b) to generate a random number between a and b from random import randint number = 0 #store random number in here, each time through i = 0 ...
[ "namtran78@gmail.com" ]
namtran78@gmail.com
2ce0d6b47e327d9dac0dc05d12e07d920f9cbc62
94df1d5cd401bd035e36cb96d2ceacd09b223ac0
/python_library/graph/dinic.py
256fdc946c39601eaced238f0e62a3606df045f8
[ "MIT" ]
permissive
knuu/contest_library
3b7dce152041009c37caf11a483f9e79e74052ad
0d3bff34df965d00e1e4a0f2e4fbe8e822810fd5
refs/heads/master
2022-11-09T20:44:33.430736
2022-11-05T16:22:21
2022-11-05T16:22:21
180,644,772
4
1
null
null
null
null
UTF-8
Python
false
false
2,090
py
import collections class MaxFlow: """Calculate max flow by Dinic's algorithm complexity: O(EV^2) used in GRL6A(AOJ) """ class Edge: """edge in flow networks""" def __init__(self, to, cap, rev): self.to, self.cap, self.rev = to, cap, rev def __init__(self, V...
[ "premier3next@gmail.com" ]
premier3next@gmail.com
b5f06531dbe3c04664346f6cfd8fbd90c85fa5b5
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/tests/test_continuous_memory_augmented.py
5eb4373d630b344ea3e657bd6e5768e045be776a
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
978
py
import unittest import numpy as np from rlkit.envs.memory.continuous_memory_augmented import ( ContinuousMemoryAugmented, ) from rlkit.envs.memory.one_char_memory import OneCharMemory from rlkit.testing.np_test_case import NPTestCase class TestContinuousMemoryAugmented(NPTestCase): def test_dim_correct(self...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
e721b0da6badeaacbd866a2f0a8a7aaba7ede2c4
773300eda3f26141a8cbf8259688c15978e5fdff
/collect_data/collect_emb_AE.py
8e26b6ed01d859faeec1ac580d59e392170302bb
[]
no_license
ver228/worm-ts-classification
96601c0f579a4d8f110cb6307ff59f8eb7620657
6d4d6b6f04e05a93baea7a5a7550a7a180b60c94
refs/heads/master
2021-10-28T15:28:27.098510
2019-04-24T07:36:35
2019-04-24T07:36:35
179,681,345
0
0
null
null
null
null
UTF-8
Python
false
false
2,077
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue May 15 13:04:37 2018 @author: avelinojaver """ from pathlib import Path import sys src_d = Path(__file__).resolve().parents[1] sys.path.append(str(src_d)) from worm_ts_classification.path import _root_dirs from embeddings_helper import calculate_embed...
[ "ver228@gmail.com" ]
ver228@gmail.com
9d56718b4ded959a49e3dd8e775bd8bfc29122d7
aa1e01857c2e02b711e1b748d79016377bcbf3f6
/6. Chapter Tuples in Python (Immutable)/10_copyingatuples.py
2e7c5c01186c35e359f73a0e0883fc984ccac6fb
[]
no_license
jaishivnani/Python-Practice-Problems
3d6b64aca93d28bc479f21845e878b0cc2b037fb
46d82b276cb46d61cd0acac507cc92b4707e5456
refs/heads/main
2023-01-22T23:06:48.309872
2020-12-05T14:13:26
2020-12-05T14:13:26
303,448,649
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
'''Copying a tuple''' # tuple1 = (11, 22, 33, 44, 55, 66) # # # tuple2 = tuple1[3:-1] # # print(tuple2)
[ "jaishivnani30@gmail.com" ]
jaishivnani30@gmail.com
3f70e4050ad4153565dab180bdd8ab482046c135
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/proc/applicationcpu1h.py
4d97a761604ed5974688854c702e052311e1b6a7
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
11,475
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
35b0d2a44b219d072fe73f45c05ade42fa4faf2c
8d9c17a9773fe9e38ba4d3ff65ab3a71360fbc1f
/ch11/ch11.2/questions.py
b13ecee09a854672c4eefa08c3dec2aea3a5cb95
[]
no_license
kwr0113/Intro_Python
3529bee454950875fb63ceb99e7f402201091ab6
2326d1e2b1f07fac7b3a3054fd13d8ea70d92ba9
refs/heads/master
2023-06-09T08:55:02.502842
2021-06-25T05:56:16
2021-06-25T05:56:16
353,600,158
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from choice import fast, advice print("Let's go to", fast.pick()) print("Should. we take out?", advice.give())
[ "kwr0113@gmail.com" ]
kwr0113@gmail.com
042d8b627f884b675c421f5924b25125dbd9ba28
344e44fd1caa2976daa11429bf57a949e6b824de
/lesson4/Win_Entry.py
51ebb606d841eb9531eb9097072c1f528a2afdec
[]
no_license
vincenttuan/ntnu_python
621bc23c6b7443fde9d9975f6a98226ddec3c42a
e1361518ab69bf8064d38efccb743fcc9b4dd4b5
refs/heads/master
2020-12-15T06:23:27.338319
2020-02-05T07:37:09
2020-02-05T07:37:09
234,856,476
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import random import tkinter from tkinter import messagebox def get(): messagebox.showinfo("Hello Python", entry.get()) def set(): entry.delete(0, tkinter.END) entry.insert(0, str(random.randint(1, 100))) win = tkinter.Tk() entry = tkinter.Entry(win, justify=tkinter.CENTER) entry.config(font=('Arial'...
[ "vincentjava@yahoo.com.tw" ]
vincentjava@yahoo.com.tw
3e58c1bd8bb2ce83eff77c6b6415588b37ace5ee
161dcb4b1f3939231728e91a8129a2571842d23a
/unit_12/mysite/page/views.py
b717f1ce9a72e4c7c54642a51138da7f81962296
[]
no_license
bm1120836/21-python
3162896e1b9e41d57c4249ea5f3bcaf06eef0361
8924f9b53e68b08f9203f48b215ea5b3a420d075
refs/heads/master
2023-05-03T16:11:42.864607
2015-10-01T13:26:29
2015-10-01T13:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from django.shortcuts import render # Create your views here. def index(request): return render(request,'pages/index.html', {}) def about(request): mydict = {'title': 'Over and over I keep going over the world we knew'} return render(request,'pages/about.html', mydict)
[ "janusnic@gmail.com" ]
janusnic@gmail.com
2702973ff7a17bed0d48b32a62ace7da4711edf1
5f957add3e3f7a1885d4f1b106de72e93c8fcb1a
/ExerciciosPython/ex104.py
3553a22823ba1a045866075009e6c26bace8337e
[ "MIT" ]
permissive
mpatrickaires/curso-python
6e32cf785a3bc0076bb3ea24cd6d896604f4e774
aba023648527d53bfe18833b91210a7e528a84d7
refs/heads/main
2022-12-27T00:57:07.467940
2020-10-14T00:48:09
2020-10-14T00:48:09
302,203,176
1
0
null
null
null
null
UTF-8
Python
false
false
317
py
def leiaInt(msg): num = str(input(msg)) while not num.strip('-').isnumeric(): print('\033[1;31mERRO! Digite um número válido.\033[m') num = input(msg) num = int(num) return num # Programa Principal n = leiaInt('Digite um número: ') print(f'Você acabou de digitar o número {n}')
[ "mpatrickaires@gmail.com" ]
mpatrickaires@gmail.com
2064b14b6a814eb78b1b5e02c449821f5678c3f3
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/adamant.py
1fae335b579f8f57ee4132e01c1630fe476896ba
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('adamant', __name__, url_prefix='/adamant') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('repub...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
e9f664051e1cd44334bed76437d2bc6d1b9406fb
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/2c58ac18335d9ccde20b181d76eafa8246a3add2-<get_dict_of_struct>-bug.py
c1b04ce9a26065e77e20d7fb780cf6950f112efa
[]
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
1,532
py
def get_dict_of_struct(connection, vm): '\n Transform SDK Vm Struct type to Python dictionary.\n ' if (vm is None): return dict() vms_service = connection.system_service().vms_service() clusters_service = connection.system_service().clusters_service() vm_service = vms_service.vm_serv...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
ed6013412f56c3d8d36b040db1926b7dbe4df1ac
48a647031af30b93b332001544b258a787542c6f
/venv/chapter_14/class_3.py
2436a321ca8a0127db83bc6d111881405f3e1be4
[]
no_license
Adminsys-debug/xdclass_python
3d3f37f7812336aa79bf9dc0d990658c67156057
c2e82b750c5337045b07c19a0c9ead5c3752b3a7
refs/heads/master
2022-05-20T07:10:33.396655
2020-04-18T05:40:48
2020-04-18T05:40:48
256,659,175
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/3/31 15:34 # @Author : mr.chen # @File : class_3 # @Software: PyCharm # @Email : 794281961@qq.com # 多态特性和构造函数 class Person: # 构造函数 def __init__(self, name, age, height): print("这是一个初始化操作") self.name = name self.age ...
[ "a794281961@126.com" ]
a794281961@126.com
6dfc0b14ac75334fd342c8fa9823d30c170f81a5
30ab9750e6ca334941934d1727c85ad59e6b9c8a
/zentral/contrib/santa/api_urls.py
93f78fcb7f41f3f7a75739e197ec40139f839f52
[ "Apache-2.0" ]
permissive
ankurvaishley/zentral
57e7961db65278a0e614975e484927f0391eeadd
a54769f18305c3fc71bae678ed823524aaa8bb06
refs/heads/main
2023-05-31T02:56:40.309854
2021-07-01T07:51:31
2021-07-01T14:15:34
382,346,360
1
0
Apache-2.0
2021-07-02T12:55:47
2021-07-02T12:55:47
null
UTF-8
Python
false
false
404
py
from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from .api_views import IngestFileInfo, RuleSetUpdate app_name = "santa_api" urlpatterns = [ url('^ingest/fileinfo/$', IngestFileInfo.as_view(), name="ingest_file_info"), url('^rulesets/update/$', RuleSetUpdate.as_vi...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
7981c80ab526d512232ccda263ec7800e95f8da9
d65128e38be0243f279e0d72ef85e7d3c5e116ca
/base/site-packages/django/core/mail/message.py
a3b36df832c89756073b44e96883bb6bf14c4a1b
[ "Apache-2.0" ]
permissive
ZxwZero/fastor
19bfc568f9a68f1447c2e049428330ade02d451d
dd9e299e250362802032d1984801bed249e36d8d
refs/heads/master
2021-06-26T06:40:38.555211
2021-06-09T02:05:38
2021-06-09T02:05:38
229,753,500
1
1
Apache-2.0
2019-12-23T12:59:25
2019-12-23T12:59:24
null
UTF-8
Python
false
false
13,545
py
from __future__ import unicode_literals import mimetypes import os import random import sys import time from email import charset as Charset, encoders as Encoders from email.generator import Generator from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.base import MIMEBa...
[ "edisonlz@163.com" ]
edisonlz@163.com
d55042888f85b776d9c53eb7f35d5f535bf6f671
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_74/268.py
e90272ff021d33b8a2ee2f63dff93259a4e40e74
[]
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
766
py
def f(l): begin={'O':1,'B':1} last=l[0][0] lasttime=0 result=0 for k in l: robot=k[0] if robot==last: lasttime+=1+abs(k[1]-begin[robot]) result+=1+abs(k[1]-begin[robot]) begin[robot]=k[1] else: temp=abs(k[1]-begin[ro...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
51f28b71ea08ed3bbd585cf7d38c3bdd57d362b4
f6f4c87a1f2e750530a7d691da43514d84f99f5c
/hw12/a/q3.py
6a3fdd0a408784e1ef313b123ef255e9c6c38d7a
[]
no_license
sarthak77/Basics-of-ML-AI
e941c6653bca95278cc62ee7ba229e8eaf4e309b
cb2ba9d271da919846211cf8496e29aff6beaa46
refs/heads/master
2020-07-25T10:33:54.420972
2020-01-09T19:25:57
2020-01-09T19:25:57
208,257,383
1
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
import numpy as np import matplotlib.pyplot as plt def read_data(filename): data = [] with open(filename,"r") as f: lines = f.readlines() for line in lines: row = line.split("\t") row = np.array(row).astype('float64') data.append(row) norm_data = [] mean = np.mean(data, axis=0) for row in data: te...
[ "sarthak.singhal@students.iiit.ac.in" ]
sarthak.singhal@students.iiit.ac.in
16689823e89dd4a3b15cad04a6054513fc61b631
9cb0543499fd473a609b6cb19f0db921586f5b48
/lingvo/core/conformer_layer_test.py
b2ded4a207307e78ff392a2aa6065a1f3785bc68
[ "Apache-2.0" ]
permissive
Harshs27/lingvo
bbb852eb3cd69b64813268857d91571241b12a40
bd396e651488b2e2c4a7416be077b4a0226c87c8
refs/heads/master
2022-12-01T05:43:24.300541
2020-08-11T00:16:33
2020-08-11T00:17:08
286,606,464
0
0
null
null
null
null
UTF-8
Python
false
false
2,289
py
# Lint as: python3 # Copyright 2020 The TensorFlow 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 ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
26d874b2ef1277e4f7bbc5a3c0743aa9e19204b1
03a2c1eb549a66cc0cff72857963eccb0a56031d
/acmicpc/3106_error.py
cb083621f22b76ceccfd3a96d9d3a794dbb5ccd7
[]
no_license
nobe0716/problem_solving
c56e24564dbe3a8b7093fb37cd60c9e0b25f8e59
cd43dc1eddb49d6b5965419e36db708c300dadf5
refs/heads/master
2023-01-21T14:05:54.170065
2023-01-15T16:36:30
2023-01-15T16:36:30
80,906,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
class Employee: def __init__(self, _id, _income, _boss): self.id = _id self.income = _income self.boss = _boss class EmployeeGroup: def __init__(self, _income, _employee, _bosses): self.income = _income self.employee = _employee self.bosses = _bosses def raiseI...
[ "sunghyo.jung@navercorp.com" ]
sunghyo.jung@navercorp.com
b0a538508972c28c67ab59ada3be21cef0904ac3
bc65ef147e4724be72475e0caa9bbb2c3e9e8f15
/manila/tests/share/drivers/netapp/dataontap/client/test_client_cmode.py
fc6c504b9190018fd721dd737c5de6b84932cbda
[ "Apache-2.0" ]
permissive
scottwedge/manila-base
d3c8dc8fa40131033ae55b8d874c4c0d18009fbd
dcb972cfad38b2826301b7ca86062689577e32e3
refs/heads/master
2021-03-01T01:55:47.047392
2020-03-08T03:40:00
2020-03-08T03:40:00
245,746,428
0
0
Apache-2.0
2020-03-08T03:37:21
2020-03-08T03:37:21
null
UTF-8
Python
false
false
188,711
py
# Copyright (c) 2014 Alex Meade. All rights reserved. # Copyright (c) 2015 Clinton Knight. All rights reserved. # Copyright (c) 2015 Tom Barron. 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 ob...
[ "wangfeng@nfs.iscas.ac.cn" ]
wangfeng@nfs.iscas.ac.cn
0addb3241276b075663bba6bfbe35a333418cb49
845c9539b880c49b297692ab62e40eb0e25ebeab
/examples/tasks.py
89d493830b8b742e3c0e9eb64e5fcee1c9d009ee
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
mindius/psq
6c1e28e35b84c143b390e9e9204dff24f6ef7133
a182a6b751c29dc93b9a13c340b1deed145e3890
refs/heads/master
2023-03-01T02:42:42.780322
2021-02-09T10:35:13
2021-02-09T10:35:13
336,299,393
1
0
Apache-2.0
2021-02-05T14:45:10
2021-02-05T14:45:10
null
UTF-8
Python
false
false
704
py
# Copyright 2015 Google 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 required by applicable law or agreed to in writing, ...
[ "jon.wayne.parrott@gmail.com" ]
jon.wayne.parrott@gmail.com
c7b4b3fd79a720c7e02837ac27eb2800a44b7f3b
62587160029c7c79b5d11f16e8beae4afa1c4834
/webpages/twittscrapper/twittscrapper/pipelines.py
c40b9ecfb6e783c3a0a00f5bcfd87a2b229e9d0b
[]
no_license
LukaszMalucha/Scrapy-Collection
b11dcf2c09f33d190e506559d978e4f3b77f9f5a
586f23b90aa984c22ea8f84eba664db9649ed780
refs/heads/master
2022-12-14T15:06:00.868322
2021-07-27T12:09:07
2021-07-27T12:09:07
144,448,351
3
0
null
2022-11-22T03:16:19
2018-08-12T07:55:05
Python
UTF-8
Python
false
false
294
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class TwittscrapperPipeline(object): def process_item(self, item, spider): return item
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
855708304e8f445cffbbbc23fa6d1429ec435a31
fc85a54686e13e598541df14c472e8aa744e6713
/tests/modules/extra/redis/mother/redis_domain_event_bus_mother.py
a60fb245abf48a044f881e381f7c89f8d93d7a1d
[ "MIT" ]
permissive
alice-biometrics/petisco
63721751cd43e70825b161a5ece535c80d95b6fa
771ebe5c69dc735b8f373c2e7303d3b4eb655044
refs/heads/main
2023-09-01T03:53:23.642042
2023-08-25T05:38:42
2023-08-25T05:38:42
217,555,512
42
2
MIT
2023-09-12T11:06:43
2019-10-25T14:48:10
Python
UTF-8
Python
false
false
928
py
from redis.client import Redis from petisco.extra.redis import RedisDomainEventBus from tests.modules.base.mothers.message_meta_mother import MessageMetaMother from tests.modules.extra.rabbitmq.mother.defaults import ( DEFAULT_ORGANIZATION, DEFAULT_SERVICE, ) class RedisDomainEventBusMother: @staticmetho...
[ "noreply@github.com" ]
alice-biometrics.noreply@github.com
7cc33ebc7a5a6efaa96b3f5637c6c092cbb63f0e
4e30c855c253cc1d972d29e83edb9d5ef662d30a
/djangox_project/dashboard.py
eb9198581b4738fb580239ff7a68d3b04ec30954
[ "MIT" ]
permissive
rajeshr188/django-onex
8b531fc2f519d004d1da64f87b10ffacbd0f2719
0a190ca9bcf96cf44f7773686205f2c1f83f3769
refs/heads/master
2023-08-21T22:36:43.898564
2023-08-15T12:08:24
2023-08-15T12:08:24
163,012,755
2
0
NOASSERTION
2023-07-22T09:47:28
2018-12-24T17:46:35
Python
UTF-8
Python
false
false
1,948
py
from controlcenter import Dashboard, widgets from django.db.models import Count, Sum from contact.models import Customer from sales.models import Invoice, Month, Receipt class InvList(widgets.ItemList): model = Invoice list_display = ("pk", "customer", "balance") class Invoice_count(widgets.SingleBarChart)...
[ "rajeshrathodh@gmail.com" ]
rajeshrathodh@gmail.com
8541223ee9f41ea6a340339066aea93077edc297
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_163723.59+311304.4/sdB_sdssj_163723.59+311304.4_lc.py
d7551b1104f4f2bde286e2ba13e3fff4fae60a31
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[249.348292,31.217889], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_sdssj_163723.59+311304.4/sdB_sdssj_163723.59+311304.4_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.01038889...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
07ab7a01d4a5fca02f2117dc9fa9530abe06a1bb
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2_neat/16_0_2_sentinel_B.py
a41cfb9d61b9bf2318a0b766282b89ad303786f1
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
833
py
import sys def flip(inStr, end): arr = [x for x in inStr] for x in xrange(end+1): arr[x] = '+' if arr[x] == '-' else '-' return "".join(arr) def processRecord(inStr): n = 0 while '-' in inStr: n = n+1 end = inStr.rfind('-') # start = end # while start >= 1 ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
fdb4b8beb6788367b69cf674f43dbed29e7f26ed
0b5be4b9162c19cf0d98972e52ce80aa8af47f0a
/High_Level_Coding_python3/7/7_3.py
00a2b2d5a943d5ec99617a57f6fa2a786190cb36
[]
no_license
Air-Zhuang/Test35
374c974a2a7693fff21be81278c1bb59a050f7ee
d9f92b7a025c91b7503f02afc896ac769f818a84
refs/heads/master
2021-06-19T12:36:13.383878
2019-09-21T08:02:43
2019-09-21T08:02:43
147,629,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
''' 实现类似with的让对象支持上下文管理 ''' ''' 实现上下文管理协议,需定义实例的__enter__,__exit__ 方法,他们分别在with开始和结束时被调用 ''' from sys import stdin, stdout import getpass import telnetlib from collections import deque class TelnetClient: def __init__(self, host, port=23): self.host = host self.port = port def __enter__(sel...
[ "737248514@qq.com" ]
737248514@qq.com
e13861ef225236bfe4712ae37af04bc652f4bb50
1caa4080e82a6b18f7c2e52fea25b4e66c0b331b
/C3D-tensorflow-master/lstm.py
c46aa01205fcfec6f0b76e847fdc804da1a3c1e3
[]
no_license
xixiareone/ouyangruo
18dd0ae00e54f96ed3f61cd303f486c3c9c84de7
7605dbac97ed7ceeef92c14622aa0d7defb52bee
refs/heads/master
2021-01-21T13:34:33.276346
2019-06-18T07:25:21
2019-06-18T07:25:21
40,350,739
0
0
null
null
null
null
UTF-8
Python
false
false
5,509
py
#!/usr/bin/env python """Evaluates the C3D network""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from datetime import datetime import math import time import tensorflow as tf import numpy as np import c3d_feature import input_data #...
[ "noreply@github.com" ]
xixiareone.noreply@github.com
04f1ca1c36019f37f910e36c383332a9c75eed8c
a22cc323b29f50da397d8363ac2521e3542a0fd7
/dpaycli/witness.py
d1aea67432b47c9dfcfca1603775a20e8c24aa4a
[ "MIT" ]
permissive
dpays/dpay-cli
1a58c7dae45218e3b05b7e17ff5ce03e918d27b9
dfa80898e1faea2cee92ebec6fe04873381bd40f
refs/heads/master
2020-04-01T09:26:43.200933
2018-10-15T08:03:06
2018-10-15T08:03:06
153,075,154
0
0
null
null
null
null
UTF-8
Python
false
false
17,321
py
# This Python file uses the following encoding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from builtins import str import json from dpaycli.instance import shared_dpay_instance from dpaycligraphenebase.py23 ...
[ "jaredricelegal@gmail.com" ]
jaredricelegal@gmail.com
59bdae501fd433ab656acdf1e66228192742d2a8
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/refactoring/inlineFunction/alreadyImported/main.after.py
3e9e96b979cc28cb9af71a1be22c835a9fd5a934
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
56
py
from src import bar x = bar(1) y = bar(2) res = 2 + y
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
f94d8cdd200a2667c1805cec6a55df31c3973965
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayBossFncAntbudgetReturnResponse.py
3836054a78a576ebfb9a36c10cf8e6cab2ecc400
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,229
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.BizActionLogDTO import BizActionLogDTO class AlipayBossFncAntbudgetReturnResponse(AlipayResponse): def __init__(self): super(AlipayBossFncAntbudgetReturn...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
13979bc36eda56037d981c8724576dc7b10b6db5
7bb9bd2bdadef1590b2ef7ff309e08abf454e49d
/Resolução de problemas II/ListasTuplasDeicionários.py
8665bcc291cd1e736c9ae453965659f17ca9745c
[]
no_license
ALREstevam/Curso-de-Python-e-Programacao-com-Python
afdf12717a710f20d4513d5df375ba63ba1e1c19
af6227376736e63810e5979be54eb1c433d669ac
refs/heads/master
2021-09-07T12:11:17.158298
2018-02-22T17:47:19
2018-02-22T17:47:19
87,453,286
0
0
null
null
null
null
UTF-8
Python
false
false
3,982
py
''' Arrays são chamados de sequências Tipos String s = 'texto' Lista São elementos mútáveis Podem ter elementos de diferentes tipos l = ['asa', 1] Tupla t = (1, 2, 3) Tuplas e strings não são mutáveis Mapping (relacionam chave ao valor) Acesso Com números po...
[ "a166348@g.unicamp.com" ]
a166348@g.unicamp.com
150ef124e051307e4b1000fb4c14a1e6dd8b7691
3e44021a7b0c8753e5bb788897358573c21b34db
/apps/users/views.py
c18eb86f906f6002b0f896bae68afd84bb125702
[]
no_license
DrMartiner/food_diary
e3d07c766aa4c65a9f3fcd6861cade9169442380
ed5dca3a418247737c2bddbce16a52157cdb16eb
refs/heads/master
2021-01-01T06:50:34.694745
2013-11-23T09:18:41
2013-11-23T09:18:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
# -*- coding: utf-8 -*- from django.views.generic import TemplateView class MyProfileView(TemplateView): template_name = 'users/my_profile.html'
[ "DrMartiner@GMail.Com" ]
DrMartiner@GMail.Com
85abd7c55bb2a7aeaba405f4803e34ff03e22faf
94012eacfd1661185dc78886b912a540dab8085a
/openssh/cve_2014_1692.py
2be9968388b46486816df43baed506b75c7c25c1
[]
no_license
sshayb/exploit_scripts
41dc72095a27c5eb0f1370014cfb6bbcf8890e82
07755b2c0428187b7cb5f82bca8616735af86b32
refs/heads/master
2023-01-02T00:19:30.048200
2020-10-26T01:29:12
2020-10-26T01:29:12
227,637,487
2
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
# OpenSSH <= 6.6 SFTP misconfiguration exploit for 32/64bit Linux # The original discovery by Jann Horn: http://seclists.org/fulldisclosure/2014/Oct/35 # # Adam Simuntis :: https://twitter.com/adamsimuntis # Mindaugas Slusnys :: https://twitter.com/mislusnys import paramiko import sys import time #from pwn import * #...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
09afd1ec9f2a9c10b008d929da2e7cdaf0b635c1
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/edgelm/examples/wav2vec/unsupervised/data/extracted_features_dataset.py
de470ddc318a5b817f42a7a595ab91eef4ded58e
[ "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
4,314
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging import os import contextlib import numpy as np import torch from fairseq.data import FairseqDataset, data_utils...
[ "tage@sandbox12.t0ekrjpotp2uhbmhwy0wiwkeya.xx.internal.cloudapp.net" ]
tage@sandbox12.t0ekrjpotp2uhbmhwy0wiwkeya.xx.internal.cloudapp.net
d4839e5d1454adf699dbf34d35ca809c5556285a
9d13010b35a14c7c9ba55e704c76777f3f380885
/demo1_sigpro_old.py
3cff8956f97cf7dfd5507344169e3653f5c95022
[]
no_license
trzp/BCIpf
20e5732025bd604c67001c6dc65b479686187646
fc4d1262b3e286bfde046fbfe5f71f73e6fa4395
refs/heads/master
2020-07-26T18:32:04.473503
2020-07-23T14:14:45
2020-07-23T14:14:45
208,733,546
1
3
null
null
null
null
UTF-8
Python
false
false
2,587
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/9/18 9:52 # @Version : 1.0 # @File : demo1_sigpro.py # @Author : Jingsheng Tang # @Version : 1.0 # @Contact : mrtang@nudt.edu.cn mrtang_cs@163.com # @License : (C) All Rights Reserved from sigpro import SigPro from sigpro import DefaultCoder from sc...
[ "mrtang@nudt.edu.cn" ]
mrtang@nudt.edu.cn
bbb0735de098f944fb96c589c586fb888bcbabb4
ba2dbc19e899faaa17b994a1224e455a3de5b9ad
/02 Data Science/1. Collection/1. Format_practice/1. XML/329_3.py
69ae0e4d1d52868338c053f454ecd5cd50dd8f66
[]
no_license
xsky21/bigdata2019
52d3dc9379a05ba794c53a28284de2168d0fc366
19464a6f8862b6e6e3d4e452e0dab85bdd954e40
refs/heads/master
2020-04-21T10:56:34.637812
2019-04-16T04:16:27
2019-04-16T04:16:27
169,503,618
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
from xml.etree.ElementTree import Element,dump,SubElement note = Element('note', date="20120104") #attrib를 써서 속성을 추가하는 것과 같은 결과가 나온다 to = Element('to') #자식 노드 to.text = "Tove" note.append(to) SubElement(note,"from_tag").text="Jani" dump(note)
[ "studerande5@gmail.com" ]
studerande5@gmail.com