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
4f13c5d285c91f061fa8460aadb0cd6e1bdff63c
7971b92edf291a48ed578fb8ac85803161762036
/textbook/_build/jupyter_execute/ch_05.py
414064255e710176ea11bc9a4001e1c1eb2f284b
[]
no_license
paulsavala/Introduction-to-Data-Science
b9e84627fb3faf9a2acf519553aa72f35a1e9b7e
677337f9e0aa5aeb4c7de8b83a95449e79c7d746
refs/heads/main
2023-01-15T17:01:49.722008
2020-11-14T15:25:34
2020-11-14T15:25:34
312,834,750
1
0
null
null
null
null
UTF-8
Python
false
false
27,867
py
#!/usr/bin/env python # coding: utf-8 # # Training models # ### Imports # In[ ]: import pandas as pd import numpy as np from matplotlib import pyplot as plt from sklearn.linear_model import LinearRegression # ### Data loading # # We'll start by using the Boston housing dataset again. # In[ ]: df = pd.read_c...
[ "paulsavala@gmail.com" ]
paulsavala@gmail.com
cbbeb20bd3aaffb49646955091a89e5d16fedd2f
c149f1263b41f89eb03201044c16e47476f7e79f
/Rootfs/usr/bin/pildriver.py
89afaca15e58319d9e272337f88ac2c93b3cd9a0
[]
no_license
BasJ93/Zybo_Ubuntu
d596511dd7820aeb545a426e9c395b27b60028f9
2a50f4171a5469e0e96f0c0e75c528af0908758c
refs/heads/master
2022-12-22T00:17:54.522038
2017-02-02T13:15:16
2017-02-02T13:15:16
72,639,835
2
1
null
2022-12-16T08:57:26
2016-11-02T12:54:53
C++
UTF-8
Python
false
false
15,600
py
#! /usr/bin/python """PILdriver, an image-processing calculator using PIL. An instance of class PILDriver is essentially a software stack machine (Polish-notation interpreter) for sequencing PIL image transformations. The state of the instance is the interpreter stack. The only method one will normally invoke after ...
[ "r.halvaei@gmail.com" ]
r.halvaei@gmail.com
0abd0228cbd16d4d2350bd9c779f9884e2e9aa4a
e1bdbd08afec39c1ee56a3885a837ec966543a2d
/Section_07_code/extract_freq_features.py
00d66469084172389834335b106181bd1cd6dc6e
[ "MIT" ]
permissive
PacktPublishing/Python-Machine-Learning-Solutions-V-
507bd8b285f051d2761a5348e4a8c9a50329287a
8bb80a43a7c64032c25c1023faaa29bbfbd39d45
refs/heads/master
2023-02-28T05:19:49.782472
2021-01-20T09:11:09
2021-01-20T09:11:09
188,817,647
0
2
null
null
null
null
UTF-8
Python
false
false
836
py
import numpy as np import matplotlib.pyplot as plt from scipy.io import wavfile from python_speech_features import mfcc, logfbank # Read input sound file sampling_freq, audio = wavfile.read("input_freq.wav") # Extract MFCC and Filter bank features mfcc_features = mfcc(audio, sampling_freq) filterbank_features = logfb...
[ "sonalis@packtpub.com" ]
sonalis@packtpub.com
443bfea7bc2081899d1ca87933fdcd6b88ff3423
d71d30383eddf30df781b5d13aeb311957beda4f
/edure_env/lib/python2.7/site-packages/dropbox/base.py
0ae39821426fa62f4f911888a89eb5b280c68c4b
[]
no_license
priyabrata88/EDURE
34ef0e0bf9f4525a9f4f495ed06d8c127485a547
9733b1b2985a658ce3e31951037a6ed5e47d4cb7
refs/heads/master
2022-12-13T21:01:41.338849
2019-05-14T08:16:59
2019-05-14T08:16:59
186,575,492
0
0
null
2022-12-08T00:48:19
2019-05-14T08:10:29
Python
UTF-8
Python
false
false
164,944
py
# -*- coding: utf-8 -*- # Auto-generated by Stone, do not modify. # flake8: noqa # pylint: skip-file from abc import ABCMeta, abstractmethod import warnings from . import ( async, auth, common, file_properties, file_requests, files, paper, sharing, team, team_common, team_l...
[ "ubuntu@ip-172-31-91-159.ec2.internal" ]
ubuntu@ip-172-31-91-159.ec2.internal
02dd1640ec63d777df0a4a38be03877dc2b326dc
df64b9d1851d3b5770ef4cd726bb6898911d8aff
/protos/final_tree.py
66152b4264328ecb47431aed5f8376566a9027e7
[]
no_license
lampts/kaggle_quora
10bbd5e16f659719bb4eee5bd5adaf2cc9a08737
d35d2619e8f2762cc648eb0829a4c54e698871ea
refs/heads/master
2021-07-11T04:33:46.640082
2017-05-28T08:43:01
2017-05-28T08:43:01
108,620,557
0
1
null
2017-10-28T04:49:50
2017-10-28T04:49:50
null
UTF-8
Python
false
false
4,147
py
from sklearn.model_selection import cross_val_predict from sklearn.tree.tree import DecisionTreeClassifier from sklearn.linear_model import LogisticRegression from lightgbm.sklearn import LGBMClassifier import pandas import pickle import numpy as np from tqdm import tqdm from sklearn.model_selection import GridSearchCV...
[ "you@example.com" ]
you@example.com
c519d75ba0c468f9c100a50c6b1a7cdb34ba4573
f1679e8c872e7e5d12d947a47920d5bad4d3b92a
/paciente/migrations/0002_paciente_imagem.py
7ed0e6a8112b42ff40c7a8f125867af6457ec1e6
[]
no_license
lldenisll/doctor_backend
d03e6090fae704bae9eabd002aefeb63de5a9d78
071911186b1f2940feff7549ca9c49b9f8c7ce22
refs/heads/master
2023-03-27T21:28:49.571818
2021-04-04T22:27:45
2021-04-04T22:27:45
354,152,189
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# Generated by Django 3.1.7 on 2021-04-03 19:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paciente', '0001_initial'), ] operations = [ migrations.AddField( model_name='paciente', name='imagem', ...
[ "namorado@TFGcos-MacBook-Pro.local" ]
namorado@TFGcos-MacBook-Pro.local
e88613a1e28d2556c2ad8050f5e8ab0266b4c4d4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_282/ch23_2020_03_04_22_50_49_571106.py
e8af7c8bab6de99ba6d7382438bd6a574da48447
[]
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
161
py
velocidade = int(input('qual eh a velocidade? ')) if velocidade>80: print('multa de R${0:.2f}'.format((velocidade-80)*5)) else: print('Não foi multado')
[ "you@example.com" ]
you@example.com
931ad54b3f9cc8bcf4700cad46f9d5985056e646
bd435e3ff491d13c3cb1ffcf34771ac1c80f7859
/code/flask/bookshare/app/views.py
a4a2b0f8c1669efd4097e629e116ff3682494636
[]
no_license
luningcowboy/PythonTutorial
8f4b6d16e0fad99a226540a6f12639ccdff402ff
9024efe8ed22aca0a1271a2c1c388d3ffe1e6690
refs/heads/master
2021-06-16T23:03:22.153473
2020-04-09T13:52:12
2020-04-09T13:52:12
187,571,993
0
0
null
2021-03-25T23:02:36
2019-05-20T05:16:13
Python
UTF-8
Python
false
false
2,211
py
from flask import render_template, url_for, redirect from app import app books = [ {'name':'呐喊1','author':'鲁迅1','id':0,'desc':'这是一本关于呐喊的书','contents':['xxxxx','xxxx','xxxx'],'download':['https://www.baidu.com','https://www.baidu.com'],'pic_url':'http://haodoo.net/covers/17Z7.jpg'}, {'name':'呐喊2','autho...
[ "luningcowboy@gmail.com" ]
luningcowboy@gmail.com
0c8df35d0cfa2f012fb8cb0c40d18fabd7622a0c
3c94e96486a7e3616e3656b60abb4a53690fe216
/tools/workspace/libjpeg/repository.bzl
b515b9136476b75092076de7375ec4ddcf61cd12
[]
no_license
doubleyou/bazel_deps
da499f26d357739a4558225fc3e371497565eb37
06b595fd79d1f6dd85a399e61b3f8ae97c859194
refs/heads/master
2022-02-05T15:47:37.630661
2019-03-11T19:40:11
2019-03-11T19:40:11
178,992,654
0
0
null
2019-04-02T03:34:00
2019-04-02T03:34:00
null
UTF-8
Python
false
false
1,067
bzl
# -*- python -*- # Copyright 2018 Josh Pieper, jjp@pobox.com. # # 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 applic...
[ "jjp@pobox.com" ]
jjp@pobox.com
b64950b1af04cca69d274f053c5afa6d6f3e0f6e
8957f0b42ba945399a2eeb71f796c11c9eb35b06
/lib/test/test_array.py
6a4474329970ed63b14d7ca2a2b7e0423d700513
[]
no_license
notro/tmp_CircuitPython_stdlib
4de177cbb45b2209f07171c27f844c7d377dffc9
641727294039a9441c35ba1a1d22de403664b710
refs/heads/master
2020-03-27T18:26:33.544047
2019-02-15T20:49:34
2019-02-15T20:49:34
146,922,496
1
1
null
null
null
null
UTF-8
Python
false
false
48,142
py
"""Test the arraymodule. Roger E. Masse """ import unittest from test import support #import weakref #import pickle #import operator import io #import math import struct import sys #import warnings import array #from array import _array_reconstructor as array_reconstructor try: # Try to determine availability...
[ "noralf@tronnes.org" ]
noralf@tronnes.org
0b099bf370ff65eb2b99e6e3a29c31e8d1e4e3b5
5d1892f6db3c7bba1699455d934b6193840346c6
/swig/swig_example/cppfunctions.py
09785e80b6dd21e7d3ccd60aaa2a23f80b3096e8
[]
no_license
sylvaus/python_bindings
ecd6595324e73ec66753cb5c12d86788b10beaa8
ddf3ed7a59497c2f73fc47dfaa752d629ae98d99
refs/heads/master
2021-03-22T09:07:54.492561
2020-03-14T20:49:41
2020-03-14T20:49:41
247,351,299
0
0
null
null
null
null
UTF-8
Python
false
false
7,024
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.1 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
[ "pierreyves.breches74@gmail.com" ]
pierreyves.breches74@gmail.com
49df7f342de48948163f94f572a958289a1e794f
442fd46c2647d4988d409563d50a841fc1cdf259
/tasks/__init__.py
1412a06ab5b6c8a385eaddc2bf7482c04fd97226
[ "MIT" ]
permissive
pycontw/mail_handler
211278ac64facd106e8a85c40d0b3b3e56ba3603
5181d7ded2a8e43c11798ceb2e77bf87b6218276
refs/heads/master
2022-12-09T15:34:21.031968
2022-04-22T22:53:16
2022-04-22T22:53:16
203,540,182
10
16
MIT
2022-12-09T06:15:13
2019-08-21T08:25:24
Python
UTF-8
Python
false
false
308
py
from invoke import Collection from tasks import doc, env, git, secure, style, test from tasks.build import build_ns ns = Collection() ns.add_collection(env) ns.add_collection(git) ns.add_collection(test) ns.add_collection(style) ns.add_collection(build_ns) ns.add_collection(doc) ns.add_collection(secure)
[ "weilee.rx@gmail.com" ]
weilee.rx@gmail.com
e4656b2fa445618865fe0cc04e2b7a95eaf810e5
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/core/2017/4/unifi.py
42b5070b0461bc90cbbea23482de85c0cd25bb7f
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
3,383
py
""" Support for Unifi WAP controllers. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/device_tracker.unifi/ """ import logging import urllib import voluptuous as vol import homeassistant.helpers.config_validation as cv import homeassistant.loader as loa...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
e549afef111dba3869240fa2b3c410db40d5f07c
e6fea6eb27c169642454674f20e6b2db0dc2f738
/word2vec/get_close_words.py
8cd7902e4b7dc56529a133344553ebabbe2ca9bd
[]
no_license
muntakimrafi/insbcn
1db79e03cf6440f57da90a6e4fa8f047bee63d38
25e1b8394d1727a792591f5fb3f9e309e245cc50
refs/heads/master
2021-03-25T13:45:17.047609
2018-08-03T10:40:12
2018-08-03T10:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
from gensim import models lans = ['en','es','ca'] model_name = 'word2vec_model_instaBarcelona_lan.model' model_path = '../../../datasets/instaBarcelona/models/word2vec/' + model_name models_list = [] print "Loading models ... " for l in lans: models_list.append(models.Word2Vec.load(model_path.replace('lan',l))) ...
[ "raulgombru@gmail.com" ]
raulgombru@gmail.com
ac2872f4a29ec3412b06173421e13d01004ea1da
3536c71ef08e52088a10e1b62e943386e32ccc1e
/docs/conf.py
6feb5b7f670bbd6f19eb7ad996857aa5ed817a20
[ "Apache-2.0" ]
permissive
Aspire1Inspire2/tdameritrade
66698ef9a1444f930bf9a57f29d233d3f1e5215a
00d93ca355b7f4f9a7f5041ea5096e9b6f3bb228
refs/heads/master
2020-05-17T11:30:48.443511
2019-04-03T21:29:42
2019-04-03T21:29:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,287
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # tdameritrade documentation build configuration file, created by # sphinx-quickstart on Fri Jan 12 22:07:11 2018. # # 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...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
5f8e18df7e9043614b5b0ecf4d2dfbb9fdbba54b
a0dda8be5892a390836e19bf04ea1d098e92cf58
/叶常春视频例题/chap07/7-3-1-用while检测列表为空.py
07d112954fbb6a310ba170b0ffbb0422ca5eee39
[]
no_license
wmm98/homework1
d9eb67c7491affd8c7e77458ceadaf0357ea5e6b
cd1f7f78e8dbd03ad72c7a0fdc4a8dc8404f5fe2
refs/heads/master
2020-04-14T19:22:21.733111
2019-01-08T14:09:58
2019-01-08T14:09:58
164,055,018
1
0
null
null
null
null
UTF-8
Python
false
false
722
py
#例7-3-1 用while语句检测列表是否为空 # 首先,创建一个待验证用户列表 # 和一个用于存储已验证用户的空列表 unconfirmed_users = ['alice', 'brian', 'candace'] confirmed_users = [] # 验证每个用户,直到没有未验证用户为止 # 将每个经过验证的列表都移到已验证用户列表中 while unconfirmed_users: #当unconfirmed_users列表不为空,则... current_user = unconfirmed_users.pop() print("正在验证用户: " + current_user.title()...
[ "792545884@qq.com" ]
792545884@qq.com
34d2334c3931b648f94be9e0a25b6ca4b2b4d527
0042c37405a7865c50b7bfa19ca531ec36070318
/20_selenium/test_incontrol/incontrol_picture.py
b06cfca4773c8ba95547cdb313b520192666e3fb
[]
no_license
lu-judong/untitled1
b7d6e1ad86168673283917976ef0f5c2ad97d9e0
aa158e7541bae96332633079d67b5ab19ea29e71
refs/heads/master
2022-05-23T18:55:45.272216
2020-04-28T09:55:38
2020-04-28T09:55:38
257,822,681
0
0
null
null
null
null
UTF-8
Python
false
false
5,831
py
from selenium import webdriver from new_selenium.bin.login import Login from new_selenium.bin.main import Method import time from new_selenium.tech_incontrol.incontrol_config import * from config.config import path_dir from config.log_config import logger class Fault: def log_file_out(self,msg): fo = op...
[ "ljd_python@163.com" ]
ljd_python@163.com
d5acc9da01fcf37cdad10fb33e9391c39115bb87
b68c92fe89b701297f76054b0f284df5466eb698
/Sorting/InsertionSort.py
c42a74592fdfb36e35685e6e8cbc61a47c65daaa
[]
no_license
makrandp/python-practice
32381a8c589f9b499ab6bde8184a847b066112f8
60218fd79248bf8138158811e6e1b03261fb38fa
refs/heads/master
2023-03-27T18:11:56.066535
2021-03-28T04:02:00
2021-03-28T04:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
# Insertion sort is an algorithm that functions by iterating from 0 to n where n is the size of the input dataset # For every iteration of i from 0 to n, we then swap from i to 0 given a situation where the variable is swappable ## Best ## Avrg ## Wrst ## Spce ## ## n # n^2 # n^2 # 1 ## # Insertion sort is...
[ "awalexweber99@gmail.com" ]
awalexweber99@gmail.com
f74f921086196d7e6c01a153fed48f3f0806ffdb
d1ff466d7a230409020ebc88aa2f2ffac8c45c15
/cournot/pages.py
68eecd9c2f47d2ed52156f48cc24aadc29827df9
[ "MIT" ]
permissive
Muhammadahmad06/oTree
224ef99a2ca55c8f2d7e67fec944b8efd0b21884
789fb2c2681aa5fbb8385f2f65a633e02592b225
refs/heads/master
2020-08-25T19:12:36.929702
2019-10-03T09:29:54
2019-10-03T09:29:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
from ._builtin import Page, WaitPage from otree.api import Currency as c, currency_range from .models import Constants class Introduction(Page): pass class Decide(Page): form_model = 'player' form_fields = ['units'] class ResultsWaitPage(WaitPage): body_text = "Waiting for the other participant to...
[ "chris@otree.org" ]
chris@otree.org
2a321a878b13ab2bbf4750762e7d6976c44ab082
98b4aeadab444eaf6f0d5b469c199e6d24a52f7f
/step14/1904-2.py
b257545f762791c40187c81b554b1391356d7d8d
[]
no_license
kwr0113/BOJ_Python
7a9dc050bb3bb42ae2b03671c5d6fa76cc0d6d99
27bafdaafc44115f55f0b058829cb36b8c79469a
refs/heads/master
2023-06-10T23:22:20.639613
2021-06-25T07:25:53
2021-06-25T07:25:53
328,057,859
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
# 1904-2.py n = int(input()) a, b = 1, 2 for _ in range(n-1): a, b = b, (a + b) % 15746 print(a)
[ "kwr0113@gmail.com" ]
kwr0113@gmail.com
cff5b0ce9bad60d2be0a2346e00bfc63ed894ca8
6eea60bcbf206dafc5fe578b996267ce2bc9ae6e
/interviewbit/Magician_and_Chocolates.py
5949fe44831449b74974a2e3381a8c91ec4d1949
[]
no_license
SueAli/cs-problems
491fef79f3e352d7712cd622d3b80ec15d38642b
b321116d135f868d88bd849b5ea7172feb74fb4c
refs/heads/master
2023-08-31T10:46:30.374394
2023-08-24T20:14:04
2023-08-24T20:14:04
95,930,918
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
import heapq import math class Solution: # @param A : integer # @param B : list of integers # @return an integer # Time complexity is O(n) + k * log (n) # Space Complexity if we can not make any changes in the input array, extra space memory of O(n) will be # required to build the heap def n...
[ "souad.hassanien@gmail.com" ]
souad.hassanien@gmail.com
19a0fd4d3939243857e88c8327c49561837841ab
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_textbox29.py
46aabfa9a927938c6129ee8a9c355269cb61109c
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
798
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
bd23ea04dc04e328739dd86a97a65296c5e7aa4e
3d91c09bca4e68bf7a527cb40ed70ac208495b93
/library/templatetags/get_lended.py
dc9e1d23ec96ed29f427b8fd2cf57aa40028802e
[]
no_license
Kaik-a/OCR-Projet13
02e9d8c9228d6d7a09013b4ab2570304c01dfc28
ac339002279397f43316e33a869cce797b5d92b2
refs/heads/main
2023-02-17T09:39:11.184120
2021-01-11T15:50:58
2021-01-11T15:50:58
311,875,691
0
0
null
2021-01-11T15:50:59
2020-11-11T05:51:34
CSS
UTF-8
Python
false
false
590
py
"""Get lended games""" from typing import Union from django import template from django.core.exceptions import ObjectDoesNotExist from library.models import LendedGame register = template.Library() @register.filter(name="get_lended") def get_lended(owned_game_id) -> Union[LendedGame, bool]: """ Get lended ...
[ "mehdi.bichari@outscale.com" ]
mehdi.bichari@outscale.com
a73af9fd8e5bfce2037b80001cd6b910eba5b8f4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03272/s726182121.py
b242fec41d8d3b81d3bed6415bd6e16cc9349c97
[]
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
59
py
n ,i = map(int, input().split()) res = n - i + 1 print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
87a207a046ec88b78484e7b0c816fccf6e4be3bc
ea05a89f4df49323eb630960c31bfbf3eb812e48
/events/migrations/0001_initial.py
7bae2e4599ed9154b47d3475390f388f1749a0db
[]
no_license
psteichen/aperta-cms-lts
3dff06fbf17e4a8c4a124c826b36f083451d613e
cf46e82cd71e7acddb900e558bc155cdd7999d9c
refs/heads/master
2021-01-20T00:08:06.012978
2017-08-11T13:58:10
2017-08-11T13:58:10
89,083,140
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-23 16:28 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import events.models class Migration(migrations.Migration): initial = True dependencies = [ ('locations', '0001_in...
[ "pst@libre.lu" ]
pst@libre.lu
6ccd0fd80e07bc2409e0b4c4d5708a7161fb5fa9
6b1b506139088aa30de9fd65cff9e3b6a3a36874
/sofia_redux/instruments/hawc/steps/__init__.py
dac31389261c9c2edcb7bfdcbb30788994698992
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SOFIA-USRA/sofia_redux
df2e6ad402b50eb014b574ea561734334d70f84d
493700340cd34d5f319af6f3a562a82135bb30dd
refs/heads/main
2023-08-17T11:11:50.559987
2023-08-13T19:52:37
2023-08-13T19:52:37
311,773,000
12
2
null
null
null
null
UTF-8
Python
false
false
3,262
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst __all__ = ['StepBinPixels', 'StepBgSubtract', 'StepCalibrate', 'StepCheckhead', 'StepCombine', 'StepDemodulate', 'StepDmdCut', 'StepDmdPlot', 'StepFlat', 'StepFluxjump', 'StepFocus', 'StepImgMap', 'StepIP', 'StepLabChop', ...
[ "melanie.j.clarke@nasa.gov" ]
melanie.j.clarke@nasa.gov
5aa75852540563db657a5c4fe15b75e585fcdfa2
37dd16e4e48511e5dab789c57d97ab47ccffd561
/src/apps/domain/engagement_assignment/admin.py
b5e547f63e46b70a8c0c61b622b47c81dc3b62fd
[]
no_license
willow/scone-api
c9473a043996639024ae028bb3d7bf420eb3d75b
c786915bc0535cb0ed78726afa4ee3c0772a8c0e
refs/heads/production
2016-09-05T18:43:22.953283
2014-08-18T23:16:47
2014-08-18T23:18:23
18,448,114
1
0
null
2014-08-08T16:40:35
2014-04-04T18:21:18
Python
UTF-8
Python
false
false
769
py
from django.contrib import admin from src.apps.domain.engagement_assignment.models import AssignedProspect class AssignedProspectAdmin(admin.ModelAdmin): actions = None def has_delete_permission(self, request, obj=None): return False def has_add_permission(self, request): return False # Allow view...
[ "scoarescoare@gmail.com" ]
scoarescoare@gmail.com
122fdbad2d4235c0448a9c191ffe41de3a7b7478
fa064f5ef48b29dcf2e90d9e4e30199a32c5e2af
/case/theater/myparser/legacy.py
97480ea593d418b0cf66e9aafc17bc502f89c3bf
[]
no_license
gsrr/Crawler
ed05971bf6be31f6dae32d6e82bbae9cb93a8d02
1e109eeaaf518e699e591fa8e72909e6f965be0c
refs/heads/master
2020-04-07T06:40:08.492069
2017-06-13T03:42:04
2017-06-13T03:42:04
44,025,883
27
5
null
null
null
null
UTF-8
Python
false
false
5,099
py
# -*- coding: utf-8 -*- import mylib import re import urlparse import urllib import parseplatform import copy def getContent(data, item): if item == "price": return data.replace("<span class='ticket_content'></span>", ",").replace("<br />", "\n") return data class Parser: def __init__(self, pa...
[ "jerrycheng1128@gmail.com" ]
jerrycheng1128@gmail.com
b0e8975a3841436d1056fbc76ca39921dc2e3f5b
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/token/Schema+Instance/NISTXML-SV-IV-atomic-token-enumeration-3-2.py
617a90346e1a437b02be47eb86f0aa348ed0dd9c
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
511
py
from output.models.nist_data.atomic.token.schema_instance.nistschema_sv_iv_atomic_token_enumeration_3_xsd.nistschema_sv_iv_atomic_token_enumeration_3 import NistschemaSvIvAtomicTokenEnumeration3 from output.models.nist_data.atomic.token.schema_instance.nistschema_sv_iv_atomic_token_enumeration_3_xsd.nistschema_sv_iv_at...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
d61c6018bc90c2c057e06d9f8d891a4a72b7b642
77f63e447ef93bd77ce4315b6d4220da86abffdf
/setup.py
cf8f789dcd9fdad981b8de82177b1b99dc6dbd2a
[ "WTFPL" ]
permissive
wsxxhx/TorchSUL
8d1625989b5f5ef5aeb879e01019ddf850848961
46ee6aab4367d8a02ddb6de66d24455dbfa465c4
refs/heads/master
2023-05-25T16:52:10.321801
2021-06-12T09:34:56
2021-06-12T09:34:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup_args = dict( name='TorchSUL', version='0.1.26', description='Simple but useful layers for Pytorch', packages=find_packages(), long_description=long_description, long_descripti...
[ "cy960823@outlook.com" ]
cy960823@outlook.com
11abbb227113c1d595e49225fb3b0db9a9fcde37
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/spaCy/2016/12/setup.py
2a1d56a5eb1afee77dd993bc1b23ef7ca3b18273
[ "MIT" ]
permissive
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
8,194
py
#!/usr/bin/env python from __future__ import print_function import io import os import subprocess import sys import contextlib from distutils.command.build_ext import build_ext from distutils.sysconfig import get_python_inc from distutils import ccompiler, msvccompiler try: from setuptools import Extension, setup ...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
f9018da09e837ffe4443e04232a0b7cf548b49d9
472905e7a5f26465af4eee0fcfaa592de52eed17
/server/apps/memories/migrations/0002_auto_20191201_1010.py
824245ab101e92788bc10412075f16655229495e
[]
no_license
backpropogation/memories
7c72bfeca8a4ab07a2c19960c5af91ed4da24304
0da75bcffccbe5d3f4e2d5b30ee3f224f70aa81b
refs/heads/master
2022-12-24T08:27:24.838744
2019-12-01T16:14:04
2019-12-01T16:14:04
225,188,993
0
0
null
2019-12-01T16:06:24
2019-12-01T16:03:37
JavaScript
UTF-8
Python
false
false
756
py
# Generated by Django 2.2.1 on 2019-12-01 10:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('memories', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='memory', options={'ordering': ('-po...
[ "jack.moriarty@mail.ru" ]
jack.moriarty@mail.ru
cca39d38965f0f35ece283739d54c15e3e72d4d9
563274d0bfb720b2d8c4dfe55ce0352928e0fa66
/TestProject/src/sqlalchemy-default/lib/sqlalchemy/dialects/oracle/cx_oracle.py
bee7308005ea28044d35e31dc0bed1e0b5d8adfd
[ "MIT" ]
permissive
wangzhengbo1204/Python
30488455637ad139abc2f173a0a595ecaf28bcdc
63f7488d9df9caf1abec2cab7c59cf5d6358b4d0
refs/heads/master
2020-05-19T19:48:27.092764
2013-05-11T06:49:41
2013-05-11T06:49:41
6,544,357
1
0
null
null
null
null
UTF-8
Python
false
false
31,002
py
# oracle/cx_oracle.py # Copyright (C) 2005-2012 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 """ .. dialect:: oracle+cx_oracle :name: cx-Oracle :dbapi: cx_oracle ...
[ "wangzhengbo1204@gmail.com" ]
wangzhengbo1204@gmail.com
64ba6ec501d975d541fea1dd55faa1b766c24658
6444622ad4a150993955a0c8fe260bae1af7f8ce
/djangoenv/bin/django-admin
b9210326fb809c5ec6c08d9923a99c16f9a46121
[]
no_license
jeremyrich/Lesson_RestAPI_jeremy
ca965ef017c53f919c0bf97a4a23841818e246f9
a44263e45b1cc1ba812059f6984c0f5be25cd234
refs/heads/master
2020-04-25T23:13:47.237188
2019-03-22T09:26:58
2019-03-22T09:26:58
173,138,073
0
0
null
2019-03-22T09:26:59
2019-02-28T15:34:19
Python
UTF-8
Python
false
false
349
#!/home/mymy/Desktop/Python_agility/cours/Hugo/Lessons_RestAPI/Lesson_RestAPI/djangoenv/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(...
[ "jeremyrich@free.fr" ]
jeremyrich@free.fr
2401aaa2a42cd0e7892df3be26c15c536640cfef
ccb81eef3cd4f5562cab89b51695756ab8dbc736
/message_ler_17076/wsgi.py
f1c921791698157a52064050940c5b21f2e0dd40
[]
no_license
crowdbotics-apps/message-ler-17076
4e847a2ccd333b77414bf9b913e7705c203accbb
135b68325e04caf669fd9fe281244c460e71068c
refs/heads/master
2023-05-16T11:16:10.937234
2020-05-16T19:12:53
2020-05-16T19:12:53
264,508,470
0
0
null
2021-06-10T11:01:47
2020-05-16T19:11:07
Python
UTF-8
Python
false
false
411
py
""" WSGI config for message_ler_17076 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
24ce83491fbb7e1866d1b8b4a18150fc82c28ee5
79479634cd8da72fc912b11ec43e237726f7c5e5
/scripts/subreddit_submissions.py
5d74fcf29545b78a2ba70950c7140671f3e4f73d
[ "MIT" ]
permissive
PhantomInsights/subreddit-analyzer
594235169f58d5b2c9de886625464ced5be02790
ba5e6250797515d664d6cfa6df011f8cec1b2729
refs/heads/master
2020-11-25T10:46:13.771188
2020-04-02T12:50:12
2020-04-02T12:50:12
228,625,357
513
47
MIT
2019-12-24T13:35:32
2019-12-17T13:42:42
Python
UTF-8
Python
false
false
2,915
py
""" This script uses the Pushshift API to download posts from the specified subreddits. By default it downloads 10,000 posts starting from the newest one. """ import csv import time from datetime import datetime import requests import tldextract SUBREDDITS = ["mexico"] HEADERS = {"User-Agent": "Submissions Download...
[ "phantom@phantom.im" ]
phantom@phantom.im
1e189ea6efb35bf1d8f0ab74b3f558a83fc5ab98
35b460a5e72e3cb40681861c38dc6d5df1ae9b92
/CodeFights/Arcade/Intro/throughTheFog/circleOfNumbers.py
aef33d190af0cb87515c13db64c6284b45fdb0e4
[]
no_license
robgoyal/CodingChallenges
9c5f3457a213cf54193a78058f74fcf085ef25bc
0aa99d1aa7b566a754471501945de26644558d7c
refs/heads/master
2021-06-23T09:09:17.085873
2019-03-04T04:04:59
2019-03-04T04:04:59
94,391,412
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
# Name: circleOfNumbers.py # Author: Robin Goyal # Last-Modified: July 13, 2017 # Purpose: Given a circular radius n and an input number, # find the number which is opposite the input number def circleOfNumbers(n, firstNumber): return (firstNumber + n / 2) % n
[ "goyal.rob@gmail.com" ]
goyal.rob@gmail.com
2e6d663e1f9f0847d490f1af6ae277c83881bfaa
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/twentemilieu/calendar.py
f4d1e51b171eedd978a3de9419f2265296cd7c7b
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
3,653
py
"""Support for Twente Milieu Calendar.""" from __future__ import annotations from datetime import date, datetime, timedelta from twentemilieu import WasteType from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.config_entries import ConfigEntry from homeassistant.const impo...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
032a5183b2f4f23432281cb1bdb5b8dbd83c594d
0ee329d7c2de6783dccf3a5fa128930a000c672d
/Final_loop_for_X_Test_and_predictions_Soros_167.py
078aa9cbae41c35805972f545b365c4e837638dd
[]
no_license
rsc2143/ViteosModel
2df5788def1a2c9531b050932c94ca04227bdef6
9be8a03fcd3528de1db3d801d11875a60779dd20
refs/heads/master
2023-05-09T03:25:26.818465
2021-06-07T11:31:31
2021-06-07T11:31:31
374,601,477
0
0
null
null
null
null
UTF-8
Python
false
false
87,818
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import numpy as np import pandas as pd from datetime import datetime #from sklearn.metrics import accuracy_score from sklearn.metrics import classification_report from tqdm import tqdm import pickle import os import sys #from sklearn.metrics import confusion_matrix ...
[ "rohitschauhanitbhu@gmail.com" ]
rohitschauhanitbhu@gmail.com
0750081985acee30b91acb274a9231071fbedfeb
d531f502304f4f314a2e5d2e28a98d184b143e42
/elastic/documents.py
498ceec138557a0e21834f5db9bfdec2efd61514
[]
no_license
mikohan/djangoblogtest
6a0d4704fb51a8ca935ea329cb007b7e48fecb54
3af986cd8be3d83ad5b01d2583464e243309dd50
refs/heads/master
2020-06-13T15:39:13.686997
2019-07-02T05:25:06
2019-07-02T05:25:06
194,696,685
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
from django_elasticsearch_dsl import DocType, Index from elastic.models import Post post = Index('posts') @post.doc_type class PostDocument(DocType): class Meta: model = Post fields = [ 'title', 'content', 'timestamp' ]
[ "angara99@gmail.com" ]
angara99@gmail.com
ee3feed5831ec7b466639f24086daaf2f5a0b2b2
c1d4b1ab3d8949a34cdcfa7246a34fc102b5c8d1
/test10_4895_dev_16191/settings.py
33cb45d0fda1393aabf64214773df2aea414397f
[]
no_license
crowdbotics-apps/test10-4895-dev-16191
3b19a305c17f93e398e4a7a4e59bf5defa76d3e7
e796b9cd9bd64e91d436a6dade728e5b426cee04
refs/heads/master
2023-01-21T09:30:23.530979
2020-12-03T10:06:29
2020-12-03T10:06:29
318,150,338
0
0
null
null
null
null
UTF-8
Python
false
false
6,781
py
""" Django settings for test10_4895_dev_16191 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
07124bad1968e93498c2ffb7a7ec6a09847a9663
ba3d65019a8dc88a4da9b14b68e100cb204b8f55
/flask/repository/__init__.py
3d7e8db47ac89b642dd3b39806e0fd6d61cc19c6
[ "MIT" ]
permissive
geovote/geovote-main
b8cb37abd6e9cdeece18f38e05481c5fcda4076f
b848fba73c51c112cdc235f6d5240f5e8706332f
refs/heads/master
2020-04-13T23:35:09.538333
2019-02-08T14:32:00
2019-02-08T14:32:00
163,510,538
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from repository.answers import * from repository.clean import * from repository.questions import *
[ "lawanledoux@gmail.com" ]
lawanledoux@gmail.com
d4f91e5b1100d8cab2d28287ffbeeb2921329d47
70e51fff2290cef405063d1a95ebd230ba0e05b1
/backend/tiny_fog_27865/settings.py
694713fb1f4315f07f1442ed44d027d3c12917f2
[]
no_license
crowdbotics-apps/tiny-fog-27865
ce252260efaeddbb67e4318648eda6201d2a2094
12ebe268be73391399415df8aa95c72fa36a5900
refs/heads/master
2023-05-17T15:14:18.187594
2021-06-09T04:40:08
2021-06-09T04:40:08
375,227,417
0
0
null
null
null
null
UTF-8
Python
false
false
7,108
py
""" Django settings for tiny_fog_27865 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impor...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
09fc57573c94392a2bbb62397eb7ec5dc72fcdd3
04f83aab47940b739f13c1ba102c230372966c43
/EDSHyFT/test/run_8TeV_all_crab.py
5b675b953da5f3e41661d8a07451d4b8827c0046
[]
no_license
PerilousApricot/SUSHyFT-Analyzer
5a11909963d30c8ad7f19f499253a6753e78608a
9f5ba528a96203459c52a0434b32311a16e2ff3b
refs/heads/master
2016-09-15T15:31:30.617286
2016-03-14T20:32:09
2016-03-14T21:02:28
21,915,887
0
0
null
null
null
null
UTF-8
Python
false
false
49,829
py
import subprocess, os, ConfigParser dummy_config_name = 'crab_dummy_anashyft_ele.cfg' dummy_config = ConfigParser.RawConfigParser() dummy_config.read(dummy_config_name) pset = 'edmNtupleMaker.py' working_dir = os.environ['HOME'] + '/nobackup/BPrimeEDM_8TeV/Jan15/' dir_suffix = '_tlbsm_53x_v2' # one pset for all jo...
[ "andrew.m.melo@vanderbilt.edu" ]
andrew.m.melo@vanderbilt.edu
44338e41bb946806695a6fb18d70a1d6fa64fd0e
5e989188eb0cfde46f57e033679bd7817eae6620
/liteeth/phy/common.py
a290dfb1bd84798bfb3c5ab3213b22d8bb6a7865
[ "BSD-2-Clause" ]
permissive
telantan/liteeth
1f85b086a7740013f4adfcecc92644fd147085e3
73bd27b506211f12f8c515ad93a3cc65a3624dc3
refs/heads/master
2020-12-13T16:37:47.229699
2020-01-16T14:29:49
2020-01-16T14:46:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr> # License: BSD from liteeth.common import * from migen.genlib.cdc import MultiReg from migen.fhdl.specials import Tristate class LiteEthPHYHWReset(Module): def __init__(self): self.reset = Signal() # # # ...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
521703d00dde8fdf3755df816b625447ecc002e5
4a0c047f73458d089dc62bc2be7c3bd098a08ee2
/data_structor/datetime_format.py
b7c87e2848cb10ed5974e929f4beb7d26f13f2f4
[]
no_license
sunghyungi/pandas_study
b53e53d88abe733b292c06e2658e2fa21428ffca
b861724995914a4a4644c8b08b3b38070d5abc51
refs/heads/master
2020-11-28T02:05:22.565760
2020-01-08T03:09:37
2020-01-08T03:09:37
229,675,769
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
import pandas as pd df = pd.read_csv('stock-data.csv') pd.set_option('display.max_columns', 15) pd.set_option('display.max_colwidth', 20) pd.set_option('display.unicode.east_asian_width', True) pd.set_option('display.width', 600) print("# 문자열인 날짜 데이터를 판다스 Timestamp로 변환") df['new_Date'] = pd.to_datetime(df['Date']) p...
[ "tjdgusrlek@gmail.com" ]
tjdgusrlek@gmail.com
04f219dbbec76539a6aa9dbf1c473f2c37172866
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/2c284017d48ab0534905f0d287f801db8ba2f673-<fit>-fix.py
351c29c0af4c2a5ffe9fd52cf6053301e08289d7
[]
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
6,290
py
def fit(self, x=None, y=None, batch_size=32, epochs=1, verbose=1, callbacks=None, validation_split=0.0, validation_data=None, shuffle=True, class_weight=None, sample_weight=None, initial_epoch=0, **kwargs): 'Trains the model for a fixed number of epochs (iterations on a dataset).\n\n # Arguments\n ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
63b51da8acb55197f2b5cf0b3f435534ad187add
bf21cd0ef7a94fa106ccd9f91a4bbfdcda7f94ed
/Deep-Learning/scratch/chapter02/ex01.py
2c5dc92731ed2fa6ccaecca539c46eeb6749499f
[]
no_license
juneglee/Deep_Learning
fdf8cae1b962aaa0ce557cb53f78a22b6d5ae1e8
17a448cf6a7c5b61b967dd78af3d328d63378205
refs/heads/master
2023-07-15T03:02:55.739619
2021-08-19T14:04:55
2021-08-19T14:04:55
273,253,872
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# 시그모이드 함수 구현하기 import numpy as np import matplotlib.pylab as plt def sigmoid(x): return 1/(1 + np.exp(-x)) x = np.arange(-5.0, 5.0, 0.1) y = sigmoid(x) plt.plot(x, y) plt.ylim(-0.1, 1.1) plt.show() # 시그모이드 = s자 모양 함수 # 계단형 함수와 시그모이드 함수는 둘다 비선형 함수이다.
[ "klcpop1@gmail.com" ]
klcpop1@gmail.com
555f97472640862d217d8dc672bc2c246ae663fb
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_158/624.py
2a3abc64d2cdf70a551ac5e03e6ac90bbaed9216
[]
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
1,118
py
#!/usr/bin/python import requests, logging, string, sys def createOutput(result): f = open(sys.argv[2], "w") for i in range(0, len(result)): f.write("Case #" + str(i + 1) + ": " + result[i] + "\n") f.close(); return def processResults(X, R, C): volume = R * C if volume % X != 0: return "RICHARD" if X == 1...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
cfd620bb6fbedecd779cce1cc00f2d22eddeb425
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Generators/MadGraphModels/python/models/HeavyHiggsTHDM/__init__.py
948b99c911ee93b63f7295fe1003ccaa5fc58319
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
905
py
import particles import couplings import lorentz import parameters import vertices import coupling_orders import write_param_card import propagators all_particles = particles.all_particles all_vertices = vertices.all_vertices all_couplings = couplings.all_couplings all_lorentz = lorentz.all_lorentz all_parameters = ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
3f6b359aac70741087ee67c3d384da06abd1b2ac
ac45b55915e634815922329195c203b1e810458c
/minionOC1304_9.py
f7041853ece9ca31941c3cde8472cec562bb2397
[]
no_license
mj1e16lsst/iridisPeriodicNew
96a8bfef0d09f13e18adb81b89e25ae885e30bd9
dc0214b1e702b454e0cca67d4208b2113e1fbcea
refs/heads/master
2020-03-23T15:01:23.583944
2018-07-23T18:58:59
2018-07-23T18:58:59
141,715,292
0
0
null
null
null
null
UTF-8
Python
false
false
12,180
py
from operator import add #from astropy import units as u #from astropy.coordinates import SkyCoord #from astropy.stats import LombScargle #from gatspy.periodic import LombScargleFast from functools import partial #from gatspy import periodic #import matplotlib.pyplot as plt #from matplotlib.font_manager import FontProp...
[ "mj1e16@soton.ac.uk" ]
mj1e16@soton.ac.uk
d36ac047086b61bb183185f54828352106cbdb9e
c7a94e7b1956c79f3c390508e60902a6bb56f3c5
/xlsxwriter/core.py
905736f039167206a9cfb1549c151f8e084c2bb7
[ "BSD-2-Clause" ]
permissive
alexander-beedie/XlsxWriter
635b68d98683efb8404d58f5d896f8e6d433e379
03f76666df9ce5ac0ab6bb8ff866d424dc8fea58
refs/heads/main
2023-05-27T15:33:36.911705
2023-05-04T00:00:04
2023-05-04T00:00:04
144,862,072
0
0
null
2018-08-15T14:15:51
2018-08-15T14:15:50
null
UTF-8
Python
false
false
5,656
py
############################################################################### # # Core - A class for writing the Excel XLSX Worksheet file. # # SPDX-License-Identifier: BSD-2-Clause # Copyright 2013-2023, John McNamara, jmcnamara@cpan.org # # Standard packages. from datetime import datetime # Package imports. from ...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
c7f48720bb0d186381903465c450342a3c0e979a
2b82b45edf199488e45cef97571e57dff4a3e824
/programs/spectralnorm/spectralnorm-numba-2.py
e373f4c513a9114fd405c25ea2883f5c37f7a01e
[ "BSD-3-Clause" ]
permissive
abilian/python-benchmarks
cf8b82d97c0836c65ff00337b649a53bc9af965e
37a519a2ee835cf53ca0bb78e7e7c83da69d664e
refs/heads/main
2023-08-05T18:50:53.490042
2021-10-01T10:49:33
2021-10-01T10:49:33
321,367,812
1
0
null
null
null
null
UTF-8
Python
false
false
686
py
# The Computer Language Benchmarks Game # http://benchmarksgame.alioth.debian.org/ # # Contributed by Sebastien Loisel # Fixed by Isaac Gouy # Sped up by Josh Goldfoot # Dirtily sped up by Simon Descarpentries # Sped up with numpy by Kittipong Piyawanno # 2to3 from numba import jit from sys import argv from numpy impor...
[ "sf@fermigier.com" ]
sf@fermigier.com
77066fd264e1194de5a270d36f268632b904b588
8d47d0bdf0f3bcc8c8f82e7624e391ba2353efe1
/hpcloud/networks/workflows.py
79377a368544c19952a6263b5713bcf7887182df
[ "Apache-2.0" ]
permissive
cosgrid001/cosgrid_hh
48328bbfae69f9978b82fe2c94799fbf8bc978b2
9b4dbf3c9c134f0c08c7d0330a3d0e69af12a8f4
refs/heads/master
2020-01-23T21:03:04.242315
2016-12-11T05:39:33
2016-12-11T05:39:33
74,579,908
0
1
null
null
null
null
UTF-8
Python
false
false
16,524
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 NEC Corporation # # 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 #...
[ "jayaprakash.r@cloudenablers.com" ]
jayaprakash.r@cloudenablers.com
7d21255d581e353aca38239ac109c88f33e37acd
13a5a2ab12a65d65a5bbefce5253c21c6bb8e780
/dnainfo/crimemaps/migrations/0024_nycschoolswatertesting.py
8679bb07a5f901d7e3c0d9f930f5754ade2f377c
[]
no_license
NiJeLorg/DNAinfo-CrimeMaps
535b62205fe1eb106d0f610d40f2f2a35e60a09e
63f3f01b83308294a82565f2dc8ef6f3fbcdb721
refs/heads/master
2021-01-23T19:28:12.642479
2017-05-11T06:04:08
2017-05-11T06:04:08
34,847,724
2
0
null
2016-11-25T15:56:14
2015-04-30T10:02:41
JavaScript
UTF-8
Python
false
false
1,689
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('crimemaps', '0023_nyctrainsitstand'), ] operations = [ migrations.CreateModel( name='NYCschoolsWaterTesting', ...
[ "jd@nijel.org" ]
jd@nijel.org
5559ceb97c6a0b3e8d421323d1656c568b83aa72
912c4445e7041869d1c8535a493b78d7ee35424b
/status/tests.py
034f0f6f61543636b32a1de55226078cabb8a2f1
[]
no_license
maltezc/Udemy-DjangoRestAPI
3f243ec97ea5e8e9d6ddc2005986b6a05aa11097
de6f885cf0cddaf22fb6fd72d18fc805b9ce48d2
refs/heads/master
2022-12-14T06:04:43.011691
2018-08-05T01:10:17
2018-08-05T01:10:17
140,590,753
0
0
null
2022-11-22T02:48:04
2018-07-11T14:56:08
Python
UTF-8
Python
false
false
602
py
from django.test import TestCase from django.contrib.auth import get_user_model from status.models import Status User = get_user_model() class StatusTestCase(TestCase): def setUp(self): user = User.objects.create(username='cfe', email='hello@cfe.com') user.set_password("yeahhhcfe") user...
[ "cflux.maltez@live.com" ]
cflux.maltez@live.com
48c68f16180b5d0dff96e2b6800b16dfe4b6f958
ed559cbd80aa290f03ac9f1c8a08258fe051ed29
/model_r.py
1088010db9557932c1f80ff8c9f31c62616bb23f
[]
no_license
nmaypeter/project_nw_190424
70759e441a9f2782d97428cfac10c99bc0c052a2
07adfe85a9389d7a3ea8261ff62b181b2deff2c3
refs/heads/master
2020-05-16T17:24:28.658557
2019-04-29T14:32:24
2019-04-29T14:32:24
183,194,312
0
0
null
null
null
null
UTF-8
Python
false
false
13,541
py
from SeedSelection_Random import * import os if __name__ == '__main__': model_name = 'mr' dataset_seq = [2] prod_seq, prod2_seq = [1, 2], [1, 2, 3] cm_seq = [1, 2] wallet_distribution_seq = [1, 2] total_budget = 10 wpiwp_seq = [bool(1), bool(0)] sample_number = 10 ppp_seq = [1, 2, 3...
[ "37822464+nmaypeter@users.noreply.github.com" ]
37822464+nmaypeter@users.noreply.github.com
a056f5ef70bc84e79e42928a38abb5e4257c531d
efde71fc3e296804a9e5cb6bc2ab48ad575b7faa
/applications/delivery/management/commands/processing_delivery_send_general.py
7cfebbccb447c1218e2618bf9fd5692286ff7bb2
[]
no_license
denispan1993/vitaliy
597cb546c9d1a14d7abc2931eb71fab38b878ec4
764d703ffc285f13a9f05e4c197bc75b495b5ff7
refs/heads/master
2021-04-29T21:54:45.095807
2018-02-10T19:05:23
2018-02-10T19:05:23
121,627,169
0
0
null
null
null
null
UTF-8
Python
false
false
15,632
py
# -*- coding: utf-8 -*- __author__ = 'AlexStarov' from django.core.management.base import BaseCommand class Command(BaseCommand, ): from optparse import make_option option_list = BaseCommand.option_list + ( make_option('--id', '--pk', '--delivery_id', '--delivery_pk', action='stor...
[ "alex.starov@gmail.com" ]
alex.starov@gmail.com
eea3d467d452081cbc8361a71b31783bd7c01f4d
3185bc3bf14cbcd06ff84b90deb56d5dd1557af0
/ptensor/include.py
b23c98b25fe219e46db53a37aac2fb2d22cc8b49
[]
no_license
vegaandagev/fPEPS
49ea1e910a14037b43b20c1be4e78e690aa9983f
bfb06082caae458b1b03e7586219a0f5413b7d14
refs/heads/master
2020-07-06T17:14:24.725570
2018-10-25T21:52:48
2018-10-25T21:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
import autograd np = autograd.numpy npeinsum = autograd.numpy.einsum dataType = np.float_
[ "zhendongli2008@gmail.com" ]
zhendongli2008@gmail.com
564a8dc4667af1a3fb616136ef6739ca876695e8
c9c94fcc33b25ebef73ce7c117ea20721a504701
/tests/spatial_operator/test_rectangle_knn.py
1f9a5b64d1da90b85cfa670891069534998dfa1b
[ "Apache-2.0" ]
permissive
Imbruced/geo_pyspark
46468cc95658fa156144246a45df32116d7ff20e
26da16d48168789c5f2bb75b5fdec1f515bf9cb1
refs/heads/master
2022-12-16T18:56:54.675038
2020-02-24T20:32:38
2020-02-24T20:32:38
204,563,687
8
3
Apache-2.0
2022-12-08T03:32:18
2019-08-26T21:21:00
Python
UTF-8
Python
false
false
2,730
py
import os import pytest from shapely.geometry import Point from geo_pyspark.core.SpatialRDD import RectangleRDD from geo_pyspark.core.enums import IndexType, FileDataSplitter from geo_pyspark.core.geom_types import Envelope from geo_pyspark.core.spatialOperator import KNNQuery from tests.test_base import TestBase fro...
[ "pawel93kocinski@gmail.com" ]
pawel93kocinski@gmail.com
c3b3b50d5ff7c5951e37fa4475abe2824058f619
140303e86eed46c9260da1a536077e884f809668
/phytoplankton_classification/resnet50_class.py
aacf1ae47286d7026a170749343aa47410706e50
[]
no_license
deephdc/phytoplankton-classification-theano
d0d9fae57ac20b2b6c716046e0bdc9e5386741b6
7e1da9a849fe137119182aa52bcd83c6325a3dac
refs/heads/master
2020-03-28T01:25:22.465535
2019-01-09T08:40:25
2019-01-09T08:40:25
147,503,779
1
0
null
null
null
null
UTF-8
Python
false
false
11,660
py
""" Resnet50_class Author: Ignacio Heredia Date: October 2016 Description: Class for training a resnet50 for a new dataset by finetuning the weights already pretrained with ImageNet. """ import time import pickle import json import collections import inspect import os import sys import numpy as np import matplotlib...
[ "lara.cern@gmail.com" ]
lara.cern@gmail.com
0cc4a2fbc3d553407bee5160d9a38847be8d9dd1
f3b233e5053e28fa95c549017bd75a30456eb50c
/bace_input/L3C/3C-7G_MD_NVT_rerun/set_7.py
0f46d20e708063854de9926a0271f971f5bca6db
[]
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
740
py
import os dir = '/mnt/scratch/songlin3/run/bace/L3C/MD_NVT_rerun/ti_one-step/3C_7G/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_7.in' temp_pbs = filesdir + 'temp_7.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] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
e989e386a134506b91ae97587f771f0c11f17115
3fa8eead6e001c4d5a6dc5b1fd4c7b01d7693292
/ros_final_exam/src/path_exam/src/drone_takeoff.py
72614d2c3d72572785aac0f590f96c7dbe3cb835
[]
no_license
MarzanShuvo/Ros_from_the_construct
09261902841cdd832672658947790ec5fbba4cd3
4798234284d9d0bab3751e9d8ac2df95ae34a5bf
refs/heads/master
2023-08-24T17:28:09.182113
2021-10-23T07:57:02
2021-10-23T07:57:02
339,105,075
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
#! /usr/bin/env python import rospy from std_msgs.msg import Empty pub = rospy.Publisher('/drone/takeoff', Empty, queue_size=1) rospy.init_node('taking_off', anonymous=True) i=0 takeoff_msg = Empty() while not (i==3): rospy.loginfo("Taking off....... ") pub.publish(takeoff_msg) rospy.sleep(1) i +=1
[ "marzanalam3@gmail.com" ]
marzanalam3@gmail.com
4fc4e6b6c216cafeb53c0703782cfe3a9f1fdd53
730f89724aca038c15191f01d48e995cb94648bc
/entrances/migrations/0009_auto_20141110_1309.py
17928096718feb7f3db7ab280502d06f3d51621d
[]
no_license
Happyandhappy/django_email
14bc3f63376f2568754292708ec8ca7f2e2cf195
ea858c9fac79112542551b7ba6e899e348f24de3
refs/heads/master
2020-03-22T14:22:08.431334
2018-07-21T13:41:23
2018-07-21T13:41:23
140,174,033
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('entrances', '0008_auto_20141110_1307'), ] operations = [ migrations.AddField( model_name='apartment', ...
[ "greyfrapp@gmail.com" ]
greyfrapp@gmail.com
4ee9e4930ad0c277ac82dc545653ba3ef880b7e6
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/sklearn/metrics/_scorer.py
4bc04f4d204ed29c114a974229d0a44f0ba6f1b8
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:8f37b7f3b8da7123e4a98b2e1da0d724580dcc50f279d05bd2498a751b565c7c size 29542
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
7fe4fa0948b4b59a3b4f406c2ba089c3276a13f0
2e7bcb513d1ae368a7fa42fa41397b1e6f18ed80
/three.py
5d1b5ce84daee8af3f4f71806322b437c073f343
[]
no_license
Anjanaanjujsrr/anju-s-codekata
2826b3508a4e61a4f7d934bfdc7b626fa46b5fa1
f977392dd6c32e8256e2a9bb9ff873a2577e6a4f
refs/heads/master
2020-05-23T01:02:46.231105
2019-05-20T10:32:21
2019-05-20T10:32:21
186,580,774
1
0
null
null
null
null
UTF-8
Python
false
false
72
py
x,y,z=input().split() x=int(x) y=int(y) z=int(z) print(max(x,y,z))
[ "noreply@github.com" ]
Anjanaanjujsrr.noreply@github.com
5078acc63f2d24dd99dc18787c02cd2665fb8670
48894ae68f0234e263d325470178d67ab313c73e
/sa/profiles/Alentis/NetPing/highlight.py
60164c4a96843307785a0cc7612ad8968ecfa497
[ "BSD-3-Clause" ]
permissive
DreamerDDL/noc
7f949f55bb2c02c15ac2cc46bc62d957aee43a86
2ab0ab7718bb7116da2c3953efd466757e11d9ce
refs/heads/master
2021-05-10T18:22:53.678588
2015-06-29T12:28:20
2015-06-29T12:28:20
118,628,133
0
0
null
2018-01-23T15:19:51
2018-01-23T15:19:51
null
UTF-8
Python
false
false
1,558
py
# -*- coding: utf-8 -*- ##---------------------------------------------------------------------- ## Alentis.NetPing highlight lexers ##---------------------------------------------------------------------- ## Copyright (C) 2007-2014 The NOC Project ## See LICENSE for details ##------------------------------------------...
[ "dmitryluhtionov@gmail.com" ]
dmitryluhtionov@gmail.com
eadd7513a637a4fbfe75dbf5f146bd0eb9c4b2a3
e768a26a03283628ceccf98a021e9441101aae0c
/lstail/util/timestamp.py
937ec3dd3a7938b64cdc4058ff09eb367a7a4a9f
[ "MIT" ]
permissive
eht16/lstail
d8a4ecadf41b71c72bcc54ab59ce7229f7060d00
8fb61e9d07b05b27e3d45e988afe0c198010248d
refs/heads/master
2023-01-24T02:11:54.864001
2021-06-24T20:09:07
2021-06-24T20:09:07
231,070,462
6
2
null
null
null
null
UTF-8
Python
false
false
1,881
py
# -*- coding: utf-8 -*- # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. from datetime import datetime, timedelta from lstail.constants import ELASTICSEARCH_TIMESTAMP_FORMATS from lstail.error import InvalidTimeRangeFormatError, InvalidTimestam...
[ "enrico.troeger@uvena.de" ]
enrico.troeger@uvena.de
ded1616469cab5647a546b3d6712f5da6c57babf
0c3db34634cb85e778c95a4b4ff64514eca0477f
/lagtraj_aux/_version.py
3c268f304c8fbc69360ae05202fe04dfffbd8245
[]
no_license
EUREC4A-UK/lagtraj_aux
4efad4c94bcb9a2a367a6794abe0bc96e99a06af
da39ec1f6afa04a5a808130175b595c9bd9d01af
refs/heads/master
2023-03-05T17:06:14.938118
2021-02-09T12:17:51
2021-02-09T14:14:29
337,395,052
0
0
null
null
null
null
UTF-8
Python
false
false
18,685
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains th...
[ "leif@denby.eu" ]
leif@denby.eu
21b40d08fed1635c5fe1d8ce52d30d0da90e50af
786de89be635eb21295070a6a3452f3a7fe6712c
/pyana_examples/tags/V00-00-22/src/myana_epics.py
43a50ac4ee210d95837b5b08f3fe499855f1f31f
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,275
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Pyana user analysis module myana_epics... # #------------------------------------------------------------------------ """User analysis module for pyana framework. This software was d...
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
2493c1cc3a4b0fe3b2854c9e23fc45bfface1968
d50f50f455a2f96e7fbd9fb76fcdcdd71b8cc27c
/Day-23/Day23_Shahazada(ST).py
c48889980ab7f74e9d0a9c64863664893954a65a
[]
no_license
Rushi21-kesh/30DayOfPython
9b2cc734c553b81d98593031a334b9a556640656
d9741081716c3cf67823e2acf37f015b5906b913
refs/heads/main
2023-06-29T13:18:09.635799
2021-07-30T13:33:04
2021-07-30T13:33:04
384,316,331
1
0
null
2021-07-09T04:01:24
2021-07-09T04:01:23
null
UTF-8
Python
false
false
695
py
'''This program rotate list cyclically by user choice''' if __name__ == '__main__': n=int(input("Enter the size of list:- ")) print("Enter element of list") elementList=[] for i in range(n): ele=int(input()) elementList.append(ele) rotatedlist=[] rotateBy=int(input("By ...
[ "noreply@github.com" ]
Rushi21-kesh.noreply@github.com
eca0c55b107bd3d4779cf6d82077c32e6d204a7c
d7d524d1c0ba1cf62cdbc2f9bf5b9c66fa56726b
/47high.py
7e7773c0544de60d34e249dd843254966da9d18b
[]
no_license
ramyasutraye/pythonproject
d997ca5ada024e211b6bf087d0d56684daf9df8b
38975a99eb3ee1ad9e79a9efd538cc992d249fc3
refs/heads/master
2020-04-23T19:30:10.128774
2018-05-25T06:18:53
2018-05-25T06:18:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
n=int(input("enter the number:")) a=[] for i in range(0,n): b=int(input("Enter number:")) a.append(b) a.sort() print(min(a),max(a))
[ "noreply@github.com" ]
ramyasutraye.noreply@github.com
e0a183e93aadcfada6ef5a4998601ae0e7797837
6f9a5717fed38b0a79c399f7e5da55c6a461de6d
/Baekjoon/CardPurchase.py
9a394075fa2e93607643af50ef1def9dbd576b48
[]
no_license
Alfred-Walker/pythonps
d4d3b0f7fe93c138d02651e05ca5165825676a5e
81ef8c712c36aa83d1c53aa50886eb845378d035
refs/heads/master
2022-04-16T21:34:39.316565
2020-04-10T07:50:46
2020-04-10T07:50:46
254,570,527
1
1
null
null
null
null
UTF-8
Python
false
false
2,845
py
# 요즘 민규네 동네에서는 스타트링크에서 만든 PS카드를 모으는 것이 유행이다. # # PS카드는 PS(Problem Solving)분야에서 유명한 사람들의 아이디와 얼굴이 적혀있는 카드이다. # 각각의 카드에는 등급을 나타내는 색이 칠해져 있고, 다음과 같이 8가지가 있다. # # 전설카드 # 레드카드 # 오렌지카드 # 퍼플카드 # 블루카드 # 청록카드 # 그린카드 # 그레이카드 # 카드는 카드팩의 형태로만 구매할 수 있고, 카드팩의 종류는 카드 # 1개가 포함된 카드팩, 카드 2개가 포함된 카드팩, ... 카드 N개가 포함된 카드팩 # 과 같이 총 N가지가 존재...
[ "studio.alfred.walker@gmail.com" ]
studio.alfred.walker@gmail.com
97952047d650f3e84518e6583fe08909eb2da9a6
9ac19e6733e1f91bb9cb0fe47967491a5e856040
/test/test_revoke.py
8c0a82737e93f456dc810b7cc587fccd0bb78a27
[ "MIT" ]
permissive
DS4SD/project-mognet
7898b41046a31b82052b1424e6910cb65b14e5c5
9e415e88404da0a0eab3b379d6cd7b7d15ca71a6
refs/heads/main
2023-05-23T22:02:10.406590
2022-07-13T11:53:28
2022-07-13T11:53:28
474,094,219
5
1
MIT
2022-07-13T11:53:29
2022-03-25T16:55:53
Python
UTF-8
Python
false
false
1,402
py
import asyncio import uuid from mognet.model.result import ResultFailed from mognet.model.result_state import ResultState import pytest from mognet import App, Request, Context, task @pytest.mark.asyncio async def test_revoke(test_app: App): req = Request(name="test.sleep", args=(10,)) await test_app.submit(...
[ "dol@zurich.ibm.com" ]
dol@zurich.ibm.com
9c26d10ade54eaa70dce931bd5513bb7e4b1f601
1b5802806cdf2c3b6f57a7b826c3e064aac51d98
/tensorrt-basic-1.10-3rd-plugin/TensorRT-main/demo/HuggingFace/NNDF/general_utils.py
64717b1eb53c28be3c1809bc124766cc218189cd
[ "MIT", "BSD-3-Clause", "Apache-2.0", "ISC", "BSD-2-Clause" ]
permissive
jinmin527/learning-cuda-trt
def70b3b1b23b421ab7844237ce39ca1f176b297
81438d602344c977ef3cab71bd04995c1834e51c
refs/heads/main
2023-05-23T08:56:09.205628
2022-07-24T02:48:24
2022-07-24T02:48:24
517,213,903
36
18
null
2022-07-24T03:05:05
2022-07-24T03:05:05
null
UTF-8
Python
false
false
6,519
py
# # Copyright (c) 2021, NVIDIA CORPORATION. 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 appl...
[ "dujw@deepblueai.com" ]
dujw@deepblueai.com
a202a75b98c1863c08432cd4589d7efbb80bd7d9
5e95083d63ce1e76385dd34c96c13c7ac382aa28
/Длина последовательности.py
c6500972c5eedee2ad6a125ce06bac0785b77950
[]
no_license
oOoSanyokoOo/Course-Python-Programming-Basics
1ee3bff98259951d87d8656af1519884fb089f41
88a8ada069da45a882942ef83dd3d3bcb9cb3b0d
refs/heads/main
2023-06-14T20:57:25.347205
2021-07-08T07:09:20
2021-07-08T07:09:20
384,029,659
1
0
null
null
null
null
UTF-8
Python
false
false
95
py
i = 0 while True: n = int(input()) if n == 0: break i += 1 print(i)
[ "noreply@github.com" ]
oOoSanyokoOo.noreply@github.com
056c67711ce448d1738be23298e3ca357a3e5980
6800da49fb74cbc0079d3106762122ea102562be
/channel_manager.py
a7711d6079828cd8d5634f7a70a045f8e2856764
[]
no_license
legoktm/adminbots
8f9e03eb2002addf0e0589d627202cd977bafd7e
0b0a913c8b1ad3d92b77d6352660a05af54f5e06
refs/heads/master
2016-09-05T19:17:30.683600
2013-11-21T01:51:20
2013-11-21T01:51:20
10,352,998
1
0
null
null
null
null
UTF-8
Python
false
false
903
py
# -*- coding: utf-8 -*- # (C) Legoktm, 2013 # Licensed under the MIT License # Assists with joining/parting channels import os import yaml from mtirc import hooks filename = os.path.expanduser('~/channels.yml') def get_channel_list(): with open(filename) as f: raw = f.read() data = yaml.load(raw) ...
[ "legoktm@gmail.com" ]
legoktm@gmail.com
da01bc57ce96ce7a637d80966352e5dd5539954c
b2ff7365dda9fa9290c2eae04988e3bda9cae23a
/13_top_k/8.py
74578e1adccfe804dc3394e7b47b49305637cb5f
[]
no_license
terrifyzhao/educative3
cd6ccdb0fc4b9ba7f5058fe2e3d2707f022d8b16
5c7db9ef6cf58ca5e68bb5aec8ed95af1d5c0f47
refs/heads/master
2022-12-26T23:53:30.645339
2020-10-10T00:48:22
2020-10-10T00:48:22
298,991,655
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from heapq import * def find_closest_elements(arr, K, X): result = [] min_heap = [] for i in range(len(arr)): heappush(min_heap, [abs(arr[i] - X), i]) for i in range(K): index = heappop(min_heap)[1] result.append(arr[index]) return result def main(): print("'K' cl...
[ "zjiuzhou@gmail.com" ]
zjiuzhou@gmail.com
aaacb65e368ef4189378c6a8e678963699b64664
8b8351c8d0431a95d2e1ad88a1ef42470ff6f66c
/python/exceptions_hierarchy.py
d02f55310a599e914c6972c208f5bba08b75fd07
[]
no_license
miso-belica/playground
2d771197cca8d8a0031466c97317bfa38bb2faff
6c68f648301801785db8b3b26cb3f31b782389ec
refs/heads/main
2022-11-29T09:17:24.661966
2022-11-23T22:19:50
2022-11-24T07:20:13
30,124,960
14
8
null
2022-11-24T07:20:14
2015-01-31T20:18:53
Python
UTF-8
Python
false
false
386
py
# -*- coding: utf-8 -*- import sys import time if __name__ == "__main__": try: # time.sleep(5) # sys.exit(1) raise ValueError("value") except Exception as e: print("Catched ValueError!", e) try: sys.exit(1) except Exception: print("Catched exit by Excep...
[ "miso.belica@gmail.com" ]
miso.belica@gmail.com
40bb5c70b623f899a77f7317d99cbb2312d64a19
086ece6952b56602c20709bfa219037b0375ab0c
/ENGLISH_DETECTION.py
085150b7a9dbb3fd571fb2f0c15a3e22448c73fd
[]
no_license
pseudo11235813/Random-Python-Ciphers
71aca8561b003ab8818e4d934288aef8d2779e9c
48f04b2e6a32ea67a2bc88d0bb283a51fd5150e5
refs/heads/master
2022-12-20T03:53:04.643760
2020-09-21T19:16:41
2020-09-21T19:16:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,508
py
#Self-dev English Detector module #you need to download an English dictionary Text File to use this module #go to google or any search engine and download an English Dictionary File #a one you can use : #import eng #eng.isEnglish(message) ; will return false or true. #eng.DictLoader() ; will ask you for a the English ...
[ "=" ]
=
ab8c01014610afd428a0eac76f21e2d1ea9158de
8d43e69234f6d7df8ee66ed306d1b3efbea50fe7
/CMGTools/WMass/python/analyzers/WAnalyzer.py
b304278533ff77147d5db4c802d94f69affc189f
[]
no_license
mariadalfonso/cmg-wmass-44X
c484583c5dfa6af61cbb5f52c492644221c7bfd1
5c2051fc062354d26b78a7426f1541d377022ebb
refs/heads/master
2020-12-29T02:06:52.874006
2013-11-05T16:27:21
2013-11-05T16:27:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,424
py
import operator import copy import math from CMGTools.RootTools.fwlite.Analyzer import Analyzer from CMGTools.RootTools.statistics.Counter import Counter, Counters from CMGTools.RootTools.fwlite.AutoHandle import AutoHandle from CMGTools.RootTools.physicsobjects.PhysicsObjects import Muon, Jet, GenParticle from CMGTool...
[ "perrozzi@cern.ch" ]
perrozzi@cern.ch
42db80f31e7be0f63eda0be8f66f974d95ed6f61
dbd23b5c9ead096ea1b4c4ddd2acba3f6b4eb0db
/testing/test_delete_job_when_finished.py
62808bad32277674cc8859516c778e703e7e1ef6
[]
no_license
NGTS/real-time-transmission
b067b9572d02ae99c7cbd6c569c4ac36eb14bc25
f70901dbc9ae59515e7786d5d3a5978c46adc312
refs/heads/master
2020-06-07T16:11:45.860569
2018-02-26T11:15:49
2018-02-26T11:15:49
42,189,235
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
import pytest import pymysql from ngts_transmission.watching import fetch_transmission_jobs @pytest.yield_fixture def cursor(): connection = pymysql.connect(user='ops', db='ngts_ops') cursor = connection.cursor() try: yield cursor finally: connection.rollback() connection.clos...
[ "s.r.walker101@googlemail.com" ]
s.r.walker101@googlemail.com
3a0df4406e2172b099f147aac840fbdf997001a3
620cd7d12a3d241da9fe59f30bbbc97c3ffa61e2
/apptools/apptools-android-tests/apptools/build_path.py
2ceabab85becaf578c47fac647bd2d36b0cc4829
[ "BSD-3-Clause" ]
permissive
playbar/crosswalk-test-suite
e46db96343f4a47f1a19fddaedc519818c10d992
29686407e8b3106cf2b0e87080f927609e745f8e
refs/heads/master
2021-05-29T15:33:01.099059
2015-10-09T06:03:22
2015-10-09T06:03:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,717
py
#!/usr/bin/env python # # Copyright (c) 2015 Intel Corporation. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of works must retain the original copyright notice, this # list of conditions and t...
[ "yunx.liu@intel.com" ]
yunx.liu@intel.com
78e008b4a51cdbbb81dead7bc5945ee98ccad862
bf681fbd7edbf4f8f1e0b20cbd09b362f777c9c3
/matlab/mex_handle_example/stuff.py
55b253d58c48aa9d653944185b73a4b2aea17ae8
[ "BSD-3-Clause" ]
permissive
EricCousineau-TRI/repro
308d4a86f3c7da8be5811db2f3f68d39db60d7ed
9800f45e07f511c9a355ee90333955451b55559a
refs/heads/master
2023-08-31T13:49:23.540640
2023-08-25T19:18:33
2023-08-25T19:18:33
87,116,976
24
13
NOASSERTION
2023-03-25T01:40:55
2017-04-03T20:19:28
Jupyter Notebook
UTF-8
Python
false
false
25
py
def test(x): print x
[ "eric.cousineau@tri.global" ]
eric.cousineau@tri.global
3bfdba7d4e743674ea2486e57020635bd9131403
b529da0623557e3271adbc148617000ca699ac08
/test/test_homepage_section.py
d2c2493adeb13b95ddddecfecc84b1800516f7eb
[ "MIT" ]
permissive
gustavs408650/looker_sdk_30
106dc73ac8949e06c68c6caf544123edabe6c5cc
8b52449f216b2cb3b84f09e2856bcea1ed4a2b0c
refs/heads/master
2020-09-08T16:42:02.224496
2019-11-13T14:59:12
2019-11-13T14:59:12
221,186,703
0
0
MIT
2019-11-12T10:05:51
2019-11-12T10:05:50
null
UTF-8
Python
false
false
2,486
py
# coding: utf-8 """ Looker API 3.0 Reference ### Authorization The Looker API uses Looker **API3** credentials for authorization and access control. Looker admins can create API3 credentials on Looker's **Admin/Users** page. Pass API3 credentials to the **/login** endpoint to obtain a temporary access_token....
[ "looker@MacBook-Pro.local" ]
looker@MacBook-Pro.local
2ba5addce7fd9b7cb325e48d5c45b3ce7fd59344
57fc5d54f5df359c7a53020fb903f36479d3a322
/controllers/.history/supervisor/test_20201127155537.py
e3b792d9d8e09cd6b8a393ddf0de55beb40da8d5
[]
no_license
shenwuyue-xie/webots_testrobots
929369b127258d85e66c5275c9366ce1a0eb17c7
56e476356f3cf666edad6449e2da874bb4fb4da3
refs/heads/master
2023-02-02T11:17:36.017289
2020-12-20T08:22:59
2020-12-20T08:22:59
323,032,362
0
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
import numpy import math import os # def normalize_to_range(value, min, max, newMin, newMax): # value = float(value) # min = float(min) # max = float(max) # newMin = float(newMin) # newMax = float(newMax) # return (newMax - newMin) / (max - min) * (value - max) + newMax # k = normalize_to_r...
[ "1092673859@qq.com" ]
1092673859@qq.com
1d1b31629d7dcfd346475c36ac89b89bf2102260
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_scipy_numpy/source/scipy/signal/ltisys.py
1deabb3a11809ff2e91ff31f7f036a9b73dbc052
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
79,826
py
""" ltisys -- a collection of classes and functions for modeling linear time invariant systems. """ from __future__ import division, print_function, absolute_import # # Author: Travis Oliphant 2001 # # Feb 2010: Warren Weckesser # Rewrote lsim2 and added impulse2. # Aug 2013: Juan Luis Cano # Rewrote abcd_normaliz...
[ "master@MacBook-Pro-admin.local" ]
master@MacBook-Pro-admin.local
4282f0f0a003d44a67bb0595b6cc543a4271a345
4920b6c12dc2427036077d38ed8fa513130418a8
/bipad_api/bipad_api/models/inline_response20053.py
a52d1c5a3839994bdacc9f2ef436923135b09853
[]
no_license
laxmitimalsina/covid_dashboard
d51a43d3ba2ad8a9754f723383f6395c1dccdda5
ccba8a3f5dd6dbd2b28e2479bda6e581eb23805f
refs/heads/master
2023-05-29T15:07:32.524640
2021-05-03T11:15:43
2021-05-03T11:15:43
273,698,762
0
0
null
null
null
null
UTF-8
Python
false
false
5,265
py
# coding: utf-8 """ BIPAD API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six cl...
[ "laxmitimalsina2017@gmail.com" ]
laxmitimalsina2017@gmail.com
d5fef288e77bbef2f70188793ca31f94dd4b090c
d1fb8bb087564052674cb33ac6d75daca4ae586a
/Amazon 11月VO真题/1/1181. Diameter of Binary Tree.py
feaeae0a737d49417a450acd9d2dc1468f37fd6f
[]
no_license
YunsongZhang/lintcode-python
7db4ca48430a05331e17f4b79d05da585b1611ca
ea6a0ff58170499c76e9569074cb77f6bcef447a
refs/heads/master
2020-12-24T03:05:43.487532
2020-01-30T19:58:37
2020-01-30T19:58:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None class Solution: """ @param root: a root of binary tree @return: return a integer """ def __init__(self): self.diameter = 0 def diameterOfBinaryTree(self, root): if not...
[ "haixiang6123@gmail.com" ]
haixiang6123@gmail.com
d355b7ca1605808368bffb45037fb5f9c0de8c1b
31f5c200fbaded1f3670b94042b9c47182a160ca
/ch17/q17.py
9d33c61cbee9a9322dbd698c19e807c63a45bd91
[]
no_license
AeroX2/advent-of-code-2020
d86f15593ceea442515e2853003d3a1ec6527475
e47c02e4d746ac88f105bf5a8c55dcd519f4afe8
refs/heads/main
2023-02-03T02:24:58.494613
2020-12-22T10:15:29
2020-12-22T10:15:29
317,873,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,610
py
import sys data = open(sys.argv[1]).read().strip() data = [list(x) for x in data.split('\n')] print(data) cube = {} for y,v in enumerate(data): h = len(v)//2 for x,v2 in enumerate(v): cube[(x-h,y-h,0)] = v2 print(cube) width = len(data[0]) height = width depth = 0 print('Dimensions') print((width, h...
[ "james@ridey.email" ]
james@ridey.email
aceeca9c2d8787ad6a846e833d5d569f4584213e
4a191e5aecd53c4cea28482a0179539eeb6cd74b
/comments/forms.py
5ba7334316083549b5600318794c46b4b51310b5
[]
no_license
jiangjingwei/blogproject
631a2e8e2f72420cce45ddaf152174852376d831
daf14e88092dc030a3ab0c295ee06fb6b2164372
refs/heads/master
2020-03-14T23:29:08.052253
2018-05-10T11:35:59
2018-05-10T11:35:59
131,846,149
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from django import forms from comments.models import Comments class CommentForm(forms.ModelForm): class Meta: model = Comments fields = ['name', 'email', 'url', 'text']
[ "270159429@qq.com" ]
270159429@qq.com
852adc191b890bbcb734581a6f26bd32495378c8
ec21d4397a1939ac140c22eca12491c258ed6a92
/Zope-2.9/lib/python/Testing/dispatcher.py
a309a4937442b12ebedc1492329a89a0f71071bb
[]
no_license
wpjunior/proled
dc9120eaa6067821c983b67836026602bbb3a211
1c81471295a831b0970085c44e66172a63c3a2b0
refs/heads/master
2016-08-08T11:59:09.748402
2012-04-17T07:37:43
2012-04-17T07:37:43
3,573,786
0
0
null
null
null
null
UTF-8
Python
false
false
5,469
py
############################################################################## # # Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFT...
[ "root@cpro5106.publiccloud.com.br" ]
root@cpro5106.publiccloud.com.br
d624d83e089f1a87248f66a4ca5b174c8b084b89
99a2d82d2a10c0af77731885f80307edcdc48535
/maildir-cat
c6e018e5ef5f707ebd50c8ae0030ce0ce56bf5cd
[ "WTFPL", "LicenseRef-scancode-public-domain" ]
permissive
mk-fg/fgtk
be60c102f6ad6cd0d0e364c3863c36a1902a15a3
90de180b0d4184f3040d85a4ff2ac38319a992af
refs/heads/master
2023-09-06T08:41:33.852815
2023-08-19T07:25:54
2023-08-19T07:25:54
3,831,498
149
46
null
2017-08-15T19:23:59
2012-03-26T09:58:03
Python
UTF-8
Python
false
false
4,883
#!/usr/bin/env python3 import itertools as it, operator as op, functools as ft import mailbox, email, email.header, email.charset, email.errors import os, sys, re, pathlib as pl, collections as cs def bytes_decode(b, enc, errors='strict'): try: return b.decode(enc, errors) except LookupError as err: # Try to han...
[ "mk.fraggod@gmail.com" ]
mk.fraggod@gmail.com
0a22320d5ad8c6a27fe4569472cbc5867d672629
07b249d8b26fc49f1268798b3bd6bdcfd0b86447
/0x07-python-test_driven_development/testmod_.py
49bd0c640293d84da2e7e2965fdca8e0dc1c19a2
[]
no_license
leocjj/holbertonschool-higher_level_programming
544d6c40632fbcf721b1f39d2453ba3d033007d6
50cf2308d2c9eeca8b25c01728815d91e0a9b784
refs/heads/master
2020-09-28T23:21:13.378060
2020-08-30T23:45:11
2020-08-30T23:45:11
226,889,413
0
1
null
null
null
null
UTF-8
Python
false
false
1,398
py
#!/usr/bin/python3 """ This is the "example" module. The example module supplies one function, factorial(). For example, >>> factorial(6) 720 """ def factorial(n): """Return the factorial of n, an exact integer >= 0. >>> [factorial(n) for n in range(6)] [1, 1, 2, 6, 24, 120] >>> factorial(30) 2...
[ "leocj@hotmail.com" ]
leocj@hotmail.com
5b8c78a5752cf5cdaa9f3f64037d7faeab7cad3f
659d41f0c737dffc2a6ebd5e773a6513da32e5ba
/scripts_OLD/PulseSequences/tests/turn_on_auto.py
e2444cebfe26f3413c0cf7aa2ce2c234bd956621
[]
no_license
HaeffnerLab/sqip
b3d4d570becb1022083ea01fea9472115a183ace
5d18f167bd9a5344dcae3c13cc5a84213fb7c199
refs/heads/master
2020-05-21T23:11:10.448549
2019-11-21T02:00:58
2019-11-21T02:00:58
19,164,232
0
0
null
2019-11-04T04:39:37
2014-04-25T23:54:47
Python
UTF-8
Python
false
false
226
py
def main(): import labrad cxn = labrad.connect() cxn.dac_server.reset_queue() cxn.pulser.switch_auto('adv',True) cxn.pulser.switch_auto('rst',True) if __name__ == '__main__': main()
[ "haeffnerlab@gmail.com" ]
haeffnerlab@gmail.com
393d7ea4800d14b27bca6522be3500d2762cfe10
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/Wellfleet-MPLS-MLM-MIB.py
7cc3f54a6e31ffff8938d45ebeffda15c8aaebe6
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
42,622
py
# # PySNMP MIB module Wellfleet-MPLS-MLM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-MPLS-MLM-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:40:59 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
cefeca51da9d665c2fa87a15a7a909aa2b76ceb4
71596c8aec5ea7eb44b0f86736bc5acdccd55ac1
/Graphs/dfs_adv.py
95d92150b5ca2fd58e2045eea1bb44e2b2db9ca6
[]
no_license
karthikeyansa/Data_Structures_python
dbab61f67d1bc33995dd7ff86989aa56b6f11a5c
b64618a4cff2b1d29ce8c129cb1f8ec35dcddf6f
refs/heads/master
2023-01-16T05:21:10.308318
2020-11-22T06:28:08
2020-11-22T06:28:08
264,231,273
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
#undirected_cyclic_graph def dfs(g,s): vis,stack = {s},[] stack.append(s) while stack: u = stack.pop() for u in g[u]: if u not in vis: vis.add(u) stack.append(u) return vis n,m = map(int,input().split()) g = {} for i in range(n): g[i+1] = [] for _ in range(m): x,y = map(int,input().split()) g[x].a...
[ "karthikeyansa39@gmail.com" ]
karthikeyansa39@gmail.com
8a0cae9036743c46a8fba91fa5ef68a7cc72396c
17c371020e9d5f163246092dc2ba405a4ec19900
/posts/migrations/0001_initial.py
ab0b028560dcd5c70b2611f8b510221a5776e1d9
[]
no_license
avs8/My-Blog
2820386c8af8ceba448e45566c0cad01b832a2a6
636a48cf91d55c5688707295b0c0d78b47a17f7d
refs/heads/master
2021-01-10T23:19:32.467922
2016-10-12T18:39:00
2016-10-12T18:39:00
70,621,951
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-10-10 18:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', ...
[ "ajitavsingh_8@yahoo.com" ]
ajitavsingh_8@yahoo.com
b5d2e8ce15ead6d7ef987071845d4c21c1689de8
7a4ed01a40e8d79126b26f5e8fca43c8e61e78fd
/Geeky Shows/Advance Pyhton/203.Passing_Member_Of_One_Class_To_Another_Class[17].py
503cf407b9664e539e7ad2bd8bdf02bdd184c17a
[]
no_license
satyam-seth-learnings/python_learning
5a7f75bb613dcd7fedc31a1567a434039b9417f8
7e76c03e94f5c314dcf1bfae6f26b4a8a6e658da
refs/heads/main
2023-08-25T14:08:11.423875
2021-10-09T13:00:49
2021-10-09T13:00:49
333,840,032
1
0
null
null
null
null
UTF-8
Python
false
false
502
py
# Passing Members Of One Class To Another Class class Student: # Constructor def __init__(self,n,r): self.name=n self.roll=r # Instance Method def disp(self): print('Student Name:',self.name) print('Student Roll:',self.roll) class User: # Static Method @staticmeth...
[ "satyam1998.1998@gmail.com" ]
satyam1998.1998@gmail.com
2cad8786efb1b0659b1f3bf2c217c5e0e997bd99
70c532c46847329d09757455721f4dc15bc16a77
/morsite/settings.py
982da5827335efc59b68cc8dd085fa929c876566
[]
no_license
yaronsamuel-zz/morsite
31a8f8b25c76f33819bc4eb72ad23c1ca258b7f7
4a609bc8cfa49ab8798c1bb87c43cd224a635f1b
refs/heads/master
2023-01-29T13:26:08.915327
2014-04-17T14:20:01
2014-04-17T14:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,551
py
import os # Django settings for morsite project. LOCAL_DIR = r"c:\morsite" IS_LOCAL = os.path.isdir(LOCAL_DIR) if IS_LOCAL: PROJECT_DIR = LOCAL_DIR # BASE_URL = "http://127.0.0.1:8000/" else: PROJECT_DIR = r"/home/ordercak/public_html/sweetsamuel.co.il/" # BASE_URL = "http://www.morsite.ord...
[ "samuel.yaron@gmail.com" ]
samuel.yaron@gmail.com