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
61123ed7968e1f5e134e1dee7ad3ea79b0ae86d9
9f2b8cd46160d935a5f82b6e539e35ae7c115042
/mitogen/fork.py
f0c2d7e7c74c6a6222eea0f01b945100b07320d0
[ "BSD-3-Clause" ]
permissive
bbc/mitogen
55223b8df7149ae23d4b8c851f7b22517305c115
c00e48d0d92ec8667b782af14fffe26b899c1044
refs/heads/master
2023-04-13T20:15:07.514849
2019-09-25T12:22:17
2020-05-11T13:54:16
210,834,629
0
1
BSD-3-Clause
2021-02-18T14:54:01
2019-09-25T12:03:22
Python
UTF-8
Python
false
false
8,436
py
# Copyright 2019, David Wilson # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # 2....
[ "dw@botanicus.net" ]
dw@botanicus.net
46d57dcd5a3dd2d3ed7f508c20929ed0f84302ea
1bd61847ecbaa8394776ebf1c8ccc866d38cf01d
/src/gevent/testing/__init__.py
98a66a66d387f0b9959edbab873219288c4c6812
[ "MIT", "Python-2.0" ]
permissive
sergkot2020/gevent
f9fcbc9a277b063ec024df24cf1e0486a62e59ab
b5e9c638d7e1e6bd9b1e354fff1bffbcefdbcecc
refs/heads/master
2022-02-01T14:56:06.596018
2019-04-25T19:34:15
2019-04-25T19:34:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,621
py
# Copyright (c) 2008-2009 AG Projects # Copyright 2018 gevent community # Author: Denis Bilenko # # 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 limita...
[ "jamadden@gmail.com" ]
jamadden@gmail.com
47aa60b97ad0cba1736c9940c0c86d678d43b95d
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/networkx/algorithms/centrality/betweenness_subset.py
3019240aceb4c4b91cdb713ea4e3d3e8b2881440
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
9,608
py
# Copyright (C) 2004-2019 by # Aric Hagberg <hagberg@lanl.gov> # Dan Schult <dschult@colgate.edu> # Pieter Swart <swart@lanl.gov> # All rights reserved. # BSD license. # # Author: Aric Hagberg (hagberg@lanl.gov) """Betweenness centrality measures for subsets of nodes.""" import networkx as nx from ne...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
9921d3365e871fe5795b68e176ff4fa124e9586a
f6290b7b8ffb263b7f0d252a67e2c6320a4c1143
/Array/element_with_leftSmaller_rightGreater.py
c79aa40176f43b75abb61162f592c37ce7d7de69
[]
no_license
datAnir/GeekForGeeks-Problems
b45b0ae80053da8a1b47a2af06e688081574ef80
c71f11d0349ed3850dfaa9c7a078ee70f67e46a1
refs/heads/master
2023-05-29T15:21:59.680793
2020-12-15T04:55:01
2020-12-15T04:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,467
py
''' https://practice.geeksforgeeks.org/problems/unsorted-array/0 Given an unsorted array of size N. Find the first element in array such that all of its left elements are smaller and all right elements to it are greater than it. Note: Left and right side elements can be equal to required element. And extreme elements c...
[ "komalbansal97@gmail.com" ]
komalbansal97@gmail.com
359ae6f1a016aebd6256a4ea3a9b760efbd8ee4a
0487c30d3d2a26ee62eb9e82c1b1e6edb7cb8b36
/tests/platform_tests/link_flap/test_link_flap.py
97062bc66dc6231cbc6a5ba3a328b1db92594d5b
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
gord1306/sonic-mgmt
e4047cbcdb600591816215e765c7f30664cc4543
05094321ed58270ac06d1a0ef575a4ab9ea3ddd6
refs/heads/master
2022-12-17T08:05:58.944208
2022-06-06T02:34:48
2022-06-06T02:34:48
195,778,851
1
0
NOASSERTION
2019-07-08T09:21:07
2019-07-08T09:21:07
null
UTF-8
Python
false
false
4,285
py
""" Tests the link flap in SONiC. """ import logging import pytest import random from tests.platform_tests.link_flap.link_flap_utils import toggle_one_link, check_orch_cpu_utilization from tests.common.platform.device_utils import fanout_switch_port_lookup from tests.common.helpers.assertions import pytest_assert fro...
[ "noreply@github.com" ]
gord1306.noreply@github.com
dd847827652454aacee8c0f58a0ef8bcb3aff680
a8be4698c0a43edc3622837fbe2a98e92680f48a
/SSAFY알고리즘정규시간 Problem Solving/10월 Problem Solving/1002/1808지희의고장난계산기.py
bfc9012338cbb27387fc9f786b5ac10ed2465b92
[]
no_license
blueboy1593/algorithm
fa8064241f7738a12b33544413c299e7c1e1a908
9d6fdd82b711ba16ad613edcc041cbecadd85e2d
refs/heads/master
2021-06-23T22:44:06.120932
2021-02-21T10:44:16
2021-02-21T10:44:16
199,543,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
import sys sys.stdin = open("1808_input.txt", "r") T = int(input()) def make_number(num, cnt): cnt += 1 num_save = num for su in cal_num: num = 10*num_save + su if num <= goal: if DP_list[num] != 0: return DP_list[num] = cnt number.append...
[ "snb0303@naver.com" ]
snb0303@naver.com
a9044163b39517dbd4e6826c4d078add77814b43
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/st8HBr2HMup6mD6z5_23.py
7dc5cc308716352eb521d10d82a066b06e56d350
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
def profit_margin(cost_price, sales_price): return "{:00.1f}%".format((sales_price - cost_price)/sales_price*100)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f373373fa28c72bb281a07d685aaab9ccc377505
52a7b1bb65c7044138cdcbd14f9d1e8f04e52c8a
/users/migrations/0002_auto_20210502_1502.py
32752b25b8d547043fe70bc289f7cf3142d2620f
[]
no_license
rds0751/aboota
74f8ab6d0cf69dcb65b0f805a516c5f94eb8eb35
2bde69c575d3ea9928373085b7fc5e5b02908374
refs/heads/master
2023-05-03T00:54:36.421952
2021-05-22T15:40:48
2021-05-22T15:40:48
363,398,229
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# Generated by Django 2.2.13 on 2021-05-02 15:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='mobile', fiel...
[ "you@example.com" ]
you@example.com
99a3aefd5bdd482ec28d142fc733942e1d628904
0ae2bb21d7ca71a691e33cb044a0964d380adda2
/uber/uber_algo/LC10RegularExpressionMatching2.py
5205e9dc7e8b16a2a360ee64bef12bb586e857a0
[]
no_license
xwang322/Coding-Interview
5d27ec92d6fcbb7b929dd98bb07c968c1e1b2a04
ee5beb79038675ce73c6d147ba9249d9a5ca346a
refs/heads/master
2020-03-10T08:18:34.980557
2018-06-24T03:37:12
2018-06-24T03:37:12
129,282,263
2
6
null
2018-04-19T19:31:24
2018-04-12T16:41:28
Python
UTF-8
Python
false
false
1,904
py
/* * 今天上午刚面的,上来简历聊了5分钟,题就一题 李扣的 第石题,字符匹配。做之前和烙印面试官讨论了一下,做的比较顺利,但是写完代码后 * 因为是dp所以烙印完全不懂,我每行都逐一解释了解释了10分钟最后他表示懂了,所有的test case都是过了, * 他最后结束的时候说出来他想要的答案其实是recursion。刚收到hr邮件说烙印说技术没问题,但是交流很有问题,要求第二个电话面试重点看交流。这就是烙印啊,什么都挑不到刺的时候就拿交流做文章。第二轮如果还是印度人估计结果也一样,dp这种东西如果对方完全不懂电话里不容易解释的。感觉现在的面试因素非常多,真的是不容易啊 **/ class Solution(obje...
[ "noreply@github.com" ]
xwang322.noreply@github.com
1a756ce91f5c6230811163082385e3e480af2e06
a4a754bb5d2b92707c5b0a7a669246079ab73633
/8_kyu/what_is.py
1e8e194499803d2fcee8f36249e2f828d1625f87
[]
no_license
halfendt/Codewars
f6e0d81d9b10eb5bc66615eeae082adb093c09b3
8fe4ce76824beece0168eb39776a2f9e078f0785
refs/heads/master
2023-07-11T13:58:18.069265
2021-08-15T18:40:49
2021-08-15T18:40:49
259,995,259
1
0
null
null
null
null
UTF-8
Python
false
false
263
py
def what_is(x): """ How do I compare numbers? Kata https://www.codewars.com/kata/55d8618adfda93c89600012e """ if x == 42: return 'everything' elif x == 42 * 42: return 'everything squared' else: return 'nothing'
[ "36609861+halfendt@users.noreply.github.com" ]
36609861+halfendt@users.noreply.github.com
f6734e044aee84efb95c26ed091e0a9e9d69b96e
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/E/Emil/spacescrape.py
aaafcbe2711f3b1f8244f0d8fd4b747f8c29653a
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,526
py
#Cant seem to figure out what im doing wrong build this scraper off of Zarino Zappia hyperisland student scraper "https://scraperwiki.com/scrapers/hyper_island_student_profiles/" # # import scraperwiki import requests import lxml.html def scrape_ads(): for i in range(1,10): r = requests.get('http://ai...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
d8df5fdc4ab28682df8c64911a380763eb8c27e3
2656f92d8329bc1b28188802badc7b3a945fa978
/src/platform/coldfusion/fingerprints/CF61.py
45110b4ed05f857c1ab3ddeced6bc60964d73df5
[ "MIT" ]
permissive
koutto/clusterd
81828698574bc7301cd4eb0ad87d3115ddf74612
93db0a50210dcc6147c3122a539104a36e92f02b
refs/heads/master
2020-05-03T17:51:55.430955
2019-03-31T23:20:22
2019-03-31T23:20:22
178,751,876
2
1
MIT
2019-03-31T23:04:14
2019-03-31T23:04:13
null
UTF-8
Python
false
false
187
py
from src.platform.coldfusion.interfaces import AdminInterface class FPrint(AdminInterface): def __init__(self): super(FPrint, self).__init__() self.version = "6.1"
[ "shodivine@gmail.com" ]
shodivine@gmail.com
0f68587322ac1bab9e49397d3202590939a5c33a
b54cd22730d4f79c88a89236cd00ccbb54de5a84
/pyscf/pbc/scf/khf.py
5207d6eb784d8a9b5a88f7ab4f6204903537080f
[ "Apache-2.0" ]
permissive
y-yao/pyscf_arrow
1b0643a5a1d55ad7f3cc1d562363daab6710325d
079088a5d92af1570167004f411207deb104a1bb
refs/heads/master
2020-03-27T17:03:27.130746
2019-07-25T18:41:22
2019-07-25T18:41:22
146,826,265
1
0
null
null
null
null
UTF-8
Python
false
false
24,260
py
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. 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 # # U...
[ "andrewyaoinzz@gmail.com" ]
andrewyaoinzz@gmail.com
3ff95127c22e25708b91f49114442b37354fa34b
657ed6e579679ba82525f9a4b2021b96e8ea2685
/src/domain/issue.py
987346d708e1ee87d97961a9fbc318280addb69f
[ "MIT" ]
permissive
pgecsenyi/jira-report-generator
f2f7c1598ef4e592012f6badab334855383c1a02
48d9c7dc8e8bc5e7e9cc69c0c05a644f320c41d2
refs/heads/master
2022-12-12T18:19:23.829329
2019-09-16T18:38:11
2019-09-16T18:38:11
208,871,013
0
0
MIT
2022-12-08T06:11:01
2019-09-16T18:34:39
Python
UTF-8
Python
false
false
440
py
class Issue: def __init__(self, key, summary, url, time_data): self._key = key self._summary = summary self._url = url self._time_data = time_data @property def key(self): return self._key @property def summary(self): return self._summary @prop...
[ "pgecsenyi@protonmail.com" ]
pgecsenyi@protonmail.com
61acfb88100c03ba2e7bd2dbd695b46df3d4e4ee
9cdfe7992090fb91696eec8d0a8ae15ee12efffe
/dp/prob85.py
c8bd310e57fb75fe8dfd3c382c6c5ae90176db5d
[]
no_license
binchen15/leet-python
e62aab19f0c48fd2f20858a6a0d0508706ae21cc
e00cf94c5b86c8cca27e3bee69ad21e727b7679b
refs/heads/master
2022-09-01T06:56:38.471879
2022-08-28T05:15:42
2022-08-28T05:15:42
243,564,799
1
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
# 85. Maximal Rectangle class Solution(object): def maximalRectangle(self, matrix): """ :type matrix: List[List[str]] :rtype: int """ m = len(matrix) if not m: return 0 n = len(matrix[0]) if not n: return 0 ...
[ "binchen.devops@gmail.com" ]
binchen.devops@gmail.com
ca423a2221899c04d07db89f0d428d2ed0c60766
fc1141aabffe60455898b014fd8b4a2e8307ce85
/chapter6_other_flowables/preformatted_paragraph.py
66bc96289ad24dfb976a98fd125ed48aac64bf70
[]
no_license
Karagul/reportlabbookcode
b5bff1609d62fe2bcfb17bfd7b65777121ac175c
e271348d5562f4842b9d1628ef917539a8ebcd5d
refs/heads/master
2020-09-21T14:58:43.427964
2018-12-19T17:40:46
2018-12-19T17:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
# preformatted_paragraph.py from reportlab.lib.pagesizes import letter from reportlab.platypus import SimpleDocTemplate, Paragraph from reportlab.platypus import Preformatted from reportlab.lib.styles import getSampleStyleSheet def preformatted_paragraph(): doc = SimpleDocTemplate("preformatted_paragraph.pdf", ...
[ "mike@pythonlibrary.org" ]
mike@pythonlibrary.org
735f1cdb82cf0021cd92e7edd13b73b2b9aab014
48a522b031d45193985ba71e313e8560d9b191f1
/programmers/python/최솟값_만들기.py
a05410d4330c44680abcdf51a31bd1a2a893f064
[]
no_license
dydwnsekd/coding_test
beabda0d0aeec3256e513e9e0d23b43debff7fb3
4b2b4878408558239bae7146bb4f37888cd5b556
refs/heads/master
2023-09-04T12:37:03.540461
2023-09-03T15:58:33
2023-09-03T15:58:33
162,253,096
4
1
null
null
null
null
UTF-8
Python
false
false
213
py
# https://programmers.co.kr/learn/courses/30/lessons/12941 def solution(A,B): answer = 0 A.sort() B.sort(reverse=True) for i in range(len(A)): answer += A[i] * B[i] return answer
[ "dydwnsekd123@gmail.com" ]
dydwnsekd123@gmail.com
363abc4b7429936fa87f6e77f0217f5c4ee8c069
9d1701a88644663277342f3a12d9795cd55a259c
/CSC148/test1 review/past test1/winter2014/swap.py
890f0b0ad23947deba362c3189245991f4653e5f
[]
no_license
xxcocoymlxx/Study-Notes
cb05c0e438b0c47b069d6a4c30dd13ab97e4ee6d
c7437d387dc2b9a8039c60d8786373899c2e28bd
refs/heads/master
2023-01-13T06:09:11.005038
2020-05-19T19:37:45
2020-05-19T19:37:45
252,774,764
2
0
null
2022-12-22T15:29:26
2020-04-03T15:44:44
Jupyter Notebook
UTF-8
Python
false
false
542
py
from stack import Stack class StackException(Exception): pass def swap_top(s: Stack) -> None: '''Swap the top two elements of s. If there are fewer than two items on the stack, the stack is unchanged and a StackException is raised. >>> s = Stack() >>> s.push(1) >>> s.push(2) >>> swap_...
[ "coco.yang@mail.utoronto.ca" ]
coco.yang@mail.utoronto.ca
9cc221a21f3e344d6a27b535cc61fff49468ee85
77ab53380f74c33bb3aacee8effc0e186b63c3d6
/5425_max_area.py
60293ac4a351d8aa1d4077b088a3c24c602195f0
[]
no_license
tabletenniser/leetcode
8e3aa1b4df1b79364eb5ca3a97db57e0371250b6
d3ebbfe2e4ab87d5b44bc534984dfa453e34efbd
refs/heads/master
2023-02-23T18:14:31.577455
2023-02-06T07:09:54
2023-02-06T07:09:54
94,496,986
2
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
''' 5425. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts User Accepted:0 User Tried:0 Total Accepted:0 Total Submissions:0 Difficulty:Medium Given a rectangular cake with height h and width w, and two arrays of integers horizontalCuts and verticalCuts where horizontalCuts[i] is the distance from the...
[ "tabletenniser@gmail.com" ]
tabletenniser@gmail.com
720815bcfc208bb72a10ed2e2c9e02dc28cbc1ae
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class198.py
4c19955e9beffcb7eb0a1dda589b73d1091e19a7
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,322
py
# qubit number=3 # total number=9 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collection...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
db562c684f9e79cdfd86e2cf62911028da643d8b
cd14295215c9ab48012e2756c842be682ae3bd38
/med/haodf_doctor/jibing_list_parser.py
ff0e88aced030940b3dfadbb5b5bb31959e4fba9
[]
no_license
vertigo235/crawlers
bbe3667164b4f65474b9e0e14f484c7add9404f9
1911a28803b2e8e1c46061c27c980a985eb703e6
refs/heads/master
2021-09-02T19:57:06.094505
2017-01-23T02:42:24
2017-01-23T02:42:24
115,954,916
0
0
null
2018-01-01T23:12:31
2018-01-01T23:12:31
null
UTF-8
Python
false
false
1,223
py
#!/usr/bin/python # encoding: utf-8 import re import sys import requests from bs4 import BeautifulSoup from med.haodf_doctor import db reload(sys) sys.setdefaultencoding('utf8') class JibingListParser: def __init__(self, url, section): self.url = url self.section = section self.headers...
[ "chxj1992@gmail.com" ]
chxj1992@gmail.com
02436cdd33f146350f128afe1498191a9d91a8ce
5a45df3d23d5fecc169a8395034cca9e0497fa94
/scripts/convert_deps.py
3ff157e0a0d7ba1f23d358b9b7aadeac254ffe84
[ "BSD-3-Clause" ]
permissive
IHackPy/pandas
68fe97d687b2bdbd3ad9fb84872c899593d77997
0a0c1b4a76f718599346e4aa5c9b88140efa7b9c
refs/heads/master
2021-09-24T14:44:01.266388
2018-10-10T16:57:36
2018-10-10T16:57:36
124,025,370
2
0
BSD-3-Clause
2018-10-10T16:57:38
2018-03-06T05:24:36
Python
UTF-8
Python
false
false
978
py
""" Convert the conda environment.yaml to a pip requirements.txt """ import re import yaml exclude = {'python=3'} rename = {'pytables': 'tables'} with open("ci/environment-dev.yaml") as f: dev = yaml.load(f) with open("ci/requirements-optional-conda.txt") as f: optional = [x.strip() for x in f.readlines()] ...
[ "jeff@reback.net" ]
jeff@reback.net
e188defa551848a68633942fcb633f10abfdf761
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/compute/alpha/get_instance.py
46382b4b996b4cc55459891ceeb789214d786550
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
38,618
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
08e4b908921454b1ed2984ed5c4493b374a6b7a3
338dbd8788b019ab88f3c525cddc792dae45036b
/lib/python3.6/site-packages/statsmodels/sandbox/tsa/fftarma.py
54db2ea0486db9b01e3be638e96691bc093c941d
[]
permissive
KshitizSharmaV/Quant_Platform_Python
9b8b8557f13a0dde2a17de0e3352de6fa9b67ce3
d784aa0604d8de5ba5ca0c3a171e3556c0cd6b39
refs/heads/master
2022-12-10T11:37:19.212916
2019-07-09T20:05:39
2019-07-09T20:05:39
196,073,658
1
2
BSD-3-Clause
2022-11-27T18:30:16
2019-07-09T19:48:26
Python
UTF-8
Python
false
false
16,335
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 14 19:53:25 2009 Author: josef-pktd generate arma sample using fft with all the lfilter it looks slow to get the ma representation first apply arma filter (in ar representation) to time series to get white noise but seems slow to be useful for fast estimation for nobs=1...
[ "kshitizsharmav@gmail.com" ]
kshitizsharmav@gmail.com
1fd9cb664f5134da8db15234569fa205c72d68cd
6e43937c521b841595fbe7f59268ffc72dfefa9d
/GSP_WEB/models/Rules_Profile.py
05a544c4b0aea61d71c641a0c7dd1bae6331d794
[]
no_license
MiscCoding/gsp_web
a5e50ce7591157510021cae49c6b2994f4eaabbe
a24e319974021ba668c5f8b4000ce96d81d1483e
refs/heads/master
2020-03-28T15:11:30.301700
2019-08-12T04:47:42
2019-08-12T04:47:42
148,565,440
1
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
import datetime from GSP_WEB import db from GSP_WEB.common.encoder.alchemyEncoder import Serializer from GSP_WEB.models.CommonCode import CommonCode from GSP_WEB.models.Rules_Profile_Group import Rules_Profile_Group class Rules_Profile(db.Model, Serializer): __table_args__ = {"schema": "GSP_WEB"} __tablename...
[ "neogeo-s@hanmail.net" ]
neogeo-s@hanmail.net
5675cb3c40ed91aceaa094e02bd0ce9091b25a2b
3aadc6b71d6ba34b02bf9ec0863e7dbfb9d6b07e
/ThiKetThucHocPhan/On_Thi/OnTrongSlide/Chuong7/7.4.py
8b312abfe740f8e6f980d8edb2b32473f7d45068
[]
no_license
quocnguyen5/Co_So_Lap_Trinh_DUE_MIS3001_46K21.3
cf7131a9bd5eccbbd9fe5731497ad21bf3c3c087
7ab03cbd30c67eb6f50a794975fe32b1e7beb123
refs/heads/main
2023-07-24T03:16:25.320600
2021-08-30T03:43:02
2021-08-30T03:43:02
400,797,629
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
s = input() s = s.split(',') s = list(set(s)) s.sort() print(','.join(s))
[ "quocnguyen5vn@gmail.com" ]
quocnguyen5vn@gmail.com
098a9bcd210e2cd68504ce525cfb2dde7b1c958b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03103/s952732705.py
6cc3a3a2c52754509a032f9bba9419110d4a1551
[]
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
608
py
import sys sys.setrecursionlimit(10 ** 8) ini = lambda: int(sys.stdin.readline()) inm = lambda: map(int, sys.stdin.readline().split()) inl = lambda: list(inm()) ins = lambda: sys.stdin.readline().rstrip() debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw)) N, M = inm() prices = [...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
55425031853ed25baa8a4ce17c10bf59652f7cf1
1fcdccf5d651b60bfe906f2ddafd6745f4e29860
/nufeeb.button/finance/test_paynoteCase.py
7b0d9c5876534caf09256eb3d4ed432dffe7a1bb
[]
no_license
LimXS/workspace
6728d6517a764ef2ac8d47fe784c4dba937a1f1d
9669d653f4a7723947da645de526f4c580ddc88b
refs/heads/master
2021-01-21T06:39:14.126933
2017-04-14T03:24:36
2017-04-14T03:24:36
83,257,374
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
#*-* coding:UTF-8 *-* import time import re import datetime import unittest import xml.dom.minidom import traceback import requests import json from common import browserClass browser=browserClass.browser() class paynoteTest(unittest.TestCase): u'''财务-付款单''' def setUp(self): self.driver=browser.start...
[ "xsx2018@yahoo.com" ]
xsx2018@yahoo.com
084704ff72a4087136cdc26b7ef9452bfde9172a
bfaf64c553eb43684970fb3916eedaafbecf0506
/Player/set10/odd_sum.py
cac3e4392f920356746d1a76fcc65f7a3dfa9430
[]
no_license
santhoshbabu4546/GUVI-9
879e65df0df6fafcc07166b2eaecf676ba9807a2
b9bfa4b0fa768e70c8d3f40b11dd1bcc23692a49
refs/heads/master
2022-01-24T15:22:34.457564
2019-07-21T14:20:35
2019-07-21T14:20:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
a1 = list(map(int,input().split())) x=a1[0] if a1[0]%2 == 0: x=a1[0]+1 a=0 for i in range(x,a1[1],2): a = a+i print(a)
[ "noreply@github.com" ]
santhoshbabu4546.noreply@github.com
34af985ebd1a1b309b782852a6283a23f119881f
21fec19cb8f74885cf8b59e7b07d1cd659735f6c
/chapter_13/downloadflat_modular.py
d503d2092813c06d23edd5a97edb3ee6bca8861d
[ "MIT" ]
permissive
bimri/programming_python
ec77e875b9393179fdfb6cbc792b3babbdf7efbe
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
refs/heads/master
2023-09-02T12:21:11.898011
2021-10-26T22:32:34
2021-10-26T22:32:34
394,783,307
0
0
null
null
null
null
UTF-8
Python
false
false
4,428
py
"Refactoring Uploads and Downloads for Reuse" 'Refactoring with functions' #!/usr/bin/env python """ ############################################################################## use FTP to copy (download) all files from a remote site and directory to a directory on the local machine; this version works the same, but...
[ "bimri@outlook.com" ]
bimri@outlook.com
f36324c40758f9f90f0d236308b012e5b49fca9a
2710355e4f7d3373117b9068c720047820d6f83b
/toucans/settings/storage_backends.py
5f76be51b68a04842864f4dd1a03638691a4fc94
[ "MIT" ]
permissive
davidjrichardson/toucans
a28901b62dbfc4a2c8c4edc425ded0174909be3e
2c6c216a0e8d23a97f55a973bfe01d8f386ed6d1
refs/heads/main
2023-08-24T01:02:10.439566
2023-06-21T19:48:15
2023-06-21T19:48:15
156,083,027
2
0
MIT
2023-07-19T22:59:05
2018-11-04T13:06:53
Python
UTF-8
Python
false
false
487
py
from storages.backends.s3boto3 import S3Boto3Storage from storages.utils import setting class StaticStorage(S3Boto3Storage): location = 'static' default_acl = 'public-read' custom_domain=f'{setting("AWS_S3_CUSTOM_DOMAIN")}/{setting("AWS_STORAGE_BUCKET_NAME")}' class MediaStorage(S3Boto3Storage): loc...
[ "david@tankski.co.uk" ]
david@tankski.co.uk
9c6b47bff504e60100554e078d241329bf2401b9
a3385f7636ceb232e97ae30badee0ba9145138f8
/egs/yomdle_tamil/v1/local/yomdle/normalized_scoring/utils/insert_empty_hyp.py
fa9e51e38fc8e17241088333d35bf49e3a27dd14
[ "Apache-2.0" ]
permissive
samsucik/prosodic-lid-globalphone
b6a6ccdcece11d834fc89abaa51031fc9f9e37e1
ca6a8e855441410ab85326d27b0f0076d48d3f33
refs/heads/master
2022-11-29T09:17:24.753115
2021-02-03T18:17:16
2021-02-03T18:17:16
149,014,872
3
2
Apache-2.0
2022-09-23T22:17:01
2018-09-16T16:38:53
Shell
UTF-8
Python
false
false
947
py
#!/usr/bin/env python3 """ This script adds ids with empty utterance. It is used during scoring in cases where some of the reference ids are missing in the hypothesis. Eg. insert_empty_hyp.py <ids-to-insert> <in-hyp-file> <out-hyp-file> """ import sys from snor import SnorIter if len(sys.argv) != 4: prin...
[ "s1531206@ed.ac.uk" ]
s1531206@ed.ac.uk
59afd2d55b472e87a9346c8c4fa47a53e678e473
bfce2d5ae36e410bfd10fc98c2d6ea594f51cc81
/tests/test_backup.py
b6f0666dfc29ee49429269d56d9f30388e24d0d5
[ "Apache-2.0" ]
permissive
simonw/datasette-backup
1ce4ddba3fd87a03c68064637a72851dba468264
b69eb953c480a0de189cb532aaf699d7cb831f47
refs/heads/main
2022-12-11T14:05:26.501414
2020-09-07T02:26:42
2020-09-07T02:26:42
293,164,447
3
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
from datasette.app import Datasette import pytest import sqlite_utils import sqlite3 import textwrap import httpx @pytest.fixture(scope="session") def ds(tmp_path_factory): db_directory = tmp_path_factory.mktemp("dbs") db_path = db_directory / "test.db" db = sqlite_utils.Database(db_path) db["dogs"].i...
[ "swillison@gmail.com" ]
swillison@gmail.com
c65555664c118f4f7e9c30a944ba6a89687eec69
4ae3b27a1d782ae43bc786c841cafb3ace212d55
/venv/Scripts/easy_install-3.7-script.py
4f1e5d2c2ebc9027f6096ed17ba4cb11650561dc
[]
no_license
bopopescu/Py_projects
c9084efa5aa02fd9ff6ed8ac5c7872fedcf53e32
a2fe4f198e3ca4026cf2e3e429ac09707d5a19de
refs/heads/master
2022-09-29T20:50:57.354678
2020-04-28T05:23:14
2020-04-28T05:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
#!C:\Users\jsun\Documents\Py_projects\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "sunusd@yahoo.com" ]
sunusd@yahoo.com
5408a1ccd1e327fe36da7283fa3e809507856721
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-libdispatch/PyObjCTest/test_base.py
85cf9ec761ff0b1d92241fae7f27b1101baf4aa2
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
190
py
import dispatch from PyObjCTools.TestSupport import TestCase class TestBase(TestCase): def test_constants(self): self.assertFalse(hasattr(dispatch, "DISPATCH_SWIFT3_OVERLAY"))
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
d2fd77c15781a7970da80298e40848fdeb23cdb0
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/urlfiltering/urlfilteringparameter.py
e4193fa98c35cacbbe0bd6c2dd0248e9f302d921
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
8,010
py
# # Copyright (c) 2008-2019 Citrix Systems, 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 l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
08de90ed2af9ceea398e2fbf93aafb1c8362a687
668f65c527a3bba0f32b50a6aede364636a0055a
/rotkehlchen/constants/cryptocompare.py
619a895b945225322167ac7faa40d350fd2ff60d
[ "BSD-3-Clause" ]
permissive
smfang/rotkehlchen
aa8302a3be0beed9e6091837fcbb0c5e57c76290
8d506340dde1fc2e7b3e018952add2f6f25bf8a4
refs/heads/master
2020-07-10T13:18:08.426658
2019-08-24T19:10:53
2019-08-24T19:30:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,323
py
WORLD_TO_CRYPTOCOMPARE = { 'DATAcoin': 'DATA', 'IOTA': 'MIOTA', 'XRB': 'NANO', 'AIR-2': 'AIR*', # In Rotkehlchen Bitswift is BITS-2 but in cryptocompare it's BITSW 'BITS-2': 'BITSW', # In Rotkehlchen BTM is Bitmark and BTM-2 is Bytom but in # Cryptocompare Bytom is BTM and Bitmark is BTM...
[ "lefteris@refu.co" ]
lefteris@refu.co
3dd4a01abcbe1d33242f636f2247ecb542da68d2
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9YmYQTdPSdr8K8Bnz_16.py
5054e98348184561ef5da9cb9fe5f8bc0c129f00
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
def unique_lst(lst): positive_numbers = [] for item in lst: if item > 0 and item not in positive_numbers: positive_numbers.append(item) return list(positive_numbers)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7f6ba4c11f65aa75306fdced215dc9745c1da707
08a68e32dc80f99a37a30ddbbf943337546cc3d5
/.history/count/urls_20200419183106.py
04b192775edb18286c91a040ee26cc5d6439701c
[]
no_license
Space20001/word-count-project
dff1b4b44d2f7230070eef0d95dd968b655d92f7
795b5e8ad5c59109e96bf7a8e9192efaefa7770e
refs/heads/master
2022-04-20T17:54:05.511449
2020-04-20T15:25:46
2020-04-20T15:25:46
257,327,368
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
""" from django.contrib import admin from django.urls import path, include urlpatterns = [ path('', include(count.urls), path('admin/', admin.site.urls),
[ "steve.h@blueyonder.com" ]
steve.h@blueyonder.com
4e38b644b6c4d196dd99a26f13133204bb604aa4
f2ebedd68cca732fba98d0038695972f917b46f5
/ICP6/ICP6_1_LDA_Model.py
f92313b44a088693f37a25a79f7da7f3280ed85b
[]
no_license
sxb42660/CS5560SivaBuddi
15cc5bbea7fef096728c9ca27a8d8163e42950b1
0827b0af67e037524987ac8da639f6252bdb4626
refs/heads/master
2022-07-02T01:55:52.817393
2020-05-11T17:57:27
2020-05-11T17:57:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,791
py
#text processing import re import string import nltk from gensim import corpora, models, similarities from nltk.corpus import stopwords from nltk.stem.porter import PorterStemmer import pandas as pd import numpy as np #read the csv file with amazon reviews reviews_df=pd.read_csv('/home/sivakumar/Desktop...
[ "sivakumar.umkc.fall2019@gmail.com" ]
sivakumar.umkc.fall2019@gmail.com
5659de11284dbf2d180b3df0db9aec4a7e450e55
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/contentstore/course_group_config.py
33ed74f722f264408ee20624f97aa0df6a39c9ca
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
15,182
py
""" Class for manipulating groups configuration on a course object. """ import json import logging from collections import defaultdict from django.utils.translation import ugettext as _ from cms.djangoapps.contentstore.utils import reverse_usage_url from common.djangoapps.util.db import MYSQL_MAX_INT, generate_int_...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
88dee361384ca062336575c3836ef4710e625363
efde08c021b7d90d3470573851c4d4e675afe265
/backend/detector/tests/test_views.py
942cc839305e7c37d0034148497be589151c5fb2
[]
no_license
DragonSavA/Soil-State-Tracker-2
64141afb11dd244b5765f45cb067a4b7138815aa
8cf05286bb324119d511add2bbced5e3d1ea9e77
refs/heads/main
2023-02-23T20:33:22.010674
2021-01-12T14:28:01
2021-01-12T14:28:01
329,017,856
0
0
null
2021-01-12T14:48:05
2021-01-12T14:48:04
null
UTF-8
Python
false
false
1,613
py
from rest_framework import status from rest_framework.authtoken.models import Token from rest_framework.test import APITestCase from django.conf import settings from django.test import override_settings from client.models import Client from group.models import Cluster from detector.models import Detector, DetectorData...
[ "54814200+reqww@users.noreply.github.com" ]
54814200+reqww@users.noreply.github.com
c4cfa8d1f515ccd1db8a8bc200b4be3756aa7ee5
f1738cd603e0b2e31143f4ebf7eba403402aecd6
/ucs/services/univention-samba4/scripts/mount_extfs_with_user_xattr.py
2d16e7e0afec9c4bb662d156572961b9fad2799e
[]
no_license
m-narayan/smart
92f42bf90d7d2b24f61915fac8abab70dd8282bc
1a6765deafd8679079b64dcc35f91933d37cf2dd
refs/heads/master
2016-08-05T17:29:30.847382
2013-01-04T04:50:26
2013-01-04T04:50:26
7,079,786
8
6
null
2015-04-29T08:54:12
2012-12-09T14:56:27
Python
UTF-8
Python
false
false
3,409
py
#!/usr/bin/python2.6 # # Copyright 2011-2012 Univention GmbH # # http://www.univention.de/ # # All rights reserved. # # The source code of this program is made available # under the terms of the GNU Affero General Public License version 3 # (GNU AGPL V3) as published by the Free Software Foundation. # # Binary version...
[ "kartik@debian.org" ]
kartik@debian.org
130a6ac0797c2fcb39322bcead7677bd23919b6f
18fe3f034f203bc8a22d08f15b29297ebcc7dfaf
/example/py/QFT/qft.py
3ebbc269eee255154af2fe6f329ce81fc57cf5c1
[ "Apache-2.0" ]
permissive
katou-boop/qlazy
b8802c48b0cba0ba89cc1e1a69f551e0f4fdcc73
6b62fff65939a589603af7ed8be921c9f1669bb3
refs/heads/master
2023-02-17T12:30:05.419650
2021-01-17T23:20:20
2021-01-17T23:20:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
import numpy as np from pprint import pprint from qlazypy import QState def swap(self,q0,q1): self.cx(q0,q1).cx(q1,q0).cx(q0,q1) return self def qft2(self,q1,q0): self.h(q1).cp(q0,q1,phase=0.5) self.h(q0) self.swap(q0,q1) return self def iqft2(self,q0,q1): self.h(q0) self.cp(q0,q1,...
[ "saminriver33@gmail.com" ]
saminriver33@gmail.com
48c46b8c3bd246ff8dfade058f8405c50c55756f
c795ec7f77219892183a1222fb51b8be2e754944
/multiverse server/multiverse-server/multiverse/config/common/world_mgr.py
6976b6861d72f935a7b2bd64a1922079de12e108
[ "MIT" ]
permissive
radtek/MultiverseClientServer
89d9a6656953417170e1066ff3bd06782305f071
b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379
refs/heads/master
2023-01-19T04:54:26.163862
2020-11-30T04:58:30
2020-11-30T04:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# # The Multiverse Platform is made available under the MIT License. # # Copyright (c) 2012 The Multiverse Foundation # # 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 restrict...
[ "demckay@outlook.com" ]
demckay@outlook.com
103205f28504d218bc32fc2208b56de23c9211c2
dcd49c222f07454dd365d861a87dead23b850a33
/presentation/demo1.py
2caa317785922612af8e8fdca94f13f5b1c5bc33
[]
no_license
sumsted/mempy_20160321
40d7c8e0677ed0fea7f68a0680a2c9b9e090c9a9
5b82c9bbe3f7a4aa8075ffcd60956b95d99009af
refs/heads/master
2021-01-10T03:30:13.467656
2016-03-22T20:41:51
2016-03-22T20:41:51
54,350,637
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
import ast def examine(ast_body, class_name=None): for node in ast_body: if isinstance(node, ast.ClassDef): examine(node.body, node.name) elif isinstance(node, ast.FunctionDef): arguments = [] for i, arg in enumerate(node.args.args): if arg.id !=...
[ "scottumsted@gmail.com" ]
scottumsted@gmail.com
7fc8760bc6854d56b6dcf3df4bd97e8e8cf388b3
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Orgalutran_WC500049543.1.py
8ccad4813de01962249d03398f873386fa412897
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
{'_data': [['Very common', [['General', u'Orgalutran kan orsaka lokala hudreaktioner vid injektionsst\xe4llet (framf\xf6r allt rodnad, med eller utan svullnad). I de kliniska studierna var incidensen, rapporterat av patienterna, en timme efter injektionen, av m\xe5ttlig till sv\xe5r lokal hudr...
[ "daro@daro-ThinkPad-X220.(none)" ]
daro@daro-ThinkPad-X220.(none)
6b07facc356d125a46cf27020753a06cbae87c8c
e744ad7d93455843cca5851af610bbfbc3d47b63
/api/views.py
d71a5acfcaa1df49bc4aca112f41d46a5b68caeb
[]
no_license
danish703/cbvdjango
08a7706791fbca5c8058ed59888318956127786b
584413d40a9891ae12e9bc3213b1c340ad6d0b85
refs/heads/master
2023-01-24T07:02:57.015535
2020-12-05T22:19:44
2020-12-05T22:19:44
316,874,748
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from .serializers import BookSerializer from book.models import Book from django.http import JsonResponse from rest_framework.parsers import JSONParser from rest_framework.decorators import api_view @api_view(['GET','POST']) def booklist(request): if request.method=='GET': bl = Book.objects.all() ...
[ "dipu.danish@outlook.com" ]
dipu.danish@outlook.com
5d7d56fb4d01484cb44b34a1e7babd11278857fd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/167/usersdata/353/68772/submittedfiles/jogoDaVelha.py
c7abcd19afe1a0b57a6d183362bce11d1a514024
[]
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
615
py
# -*- coding: utf-8 -*- import math #ENTRADA x1 = int(input('Digite x1: ')) x2 = int(input('Digite x2: ')) x3 = int(input('Digite x3: ')) x4 = int(input('Digite x4: ')) x5 = int(input('Digite x5: ')) x6 = int(input('Digite x6: ')) x7 = int(input('Digite x7: ')) x8 = int(input('Digite x8: ')) x9 = int(input('Digite x9: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
74f8fe8858f6e1ff173e06a4f45c4b2199918cb6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/62/usersdata/233/31358/submittedfiles/ex1.py
da0cf9c7c68161f7900900d0da6ff776a3d9916a
[]
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
311
py
# -*- coding: utf-8 -*- from __future__ import division a=input(float('Digite a:')) b=input(float('Digite b:')) c=input(float('Digite c:')) Delta=(b**2)-(4*a*c) if Delta>=0: x1=(-b+Delta**(1/2))/(2*a) x2=(-b-Delta**(1/2))/(2*a) print('x1:%.2f'%x1) print('x2:%.2f'%x2) else: print('SRR')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7b48da91b2aeb4b344130b2fc9b3487bb30b87cb
b7483b4bfa9f9feec9d4ec6d96cdabf6b6f0446f
/web_10_jul_dev_7373/urls.py
d389ea52bac75c194054b2040a6e83891c31f38d
[]
no_license
crowdbotics-apps/web-10-jul-dev-7373
7f0ed959b477cf2f29e2de23a4bd3e0342a76c70
91f0fb64618ee52b5a672ceca97f42e793ed7a4b
refs/heads/master
2022-11-18T08:20:37.760939
2020-07-10T11:31:41
2020-07-10T11:31:41
278,540,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
"""web_10_jul_dev_7373 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')...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0557bddbd415ed9c7add2388c3f9cf3ff71f3edd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_04_23_20_09_22_443850.py
7d98a0f91bc968643c0089af48c18487d99171f2
[]
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
135
py
import math def calcula_gaussiana(x, mi, sigma): y = (1/ sigma* (2*math.pi)**0.5) * math.exp((-0.5)*((x-mi)/sigma)**2) return y
[ "you@example.com" ]
you@example.com
2923763dc9a5b4c0162c630a3d00c07e6f97fbef
498474967e1480acf5cc0f25756e1d748c677195
/mmdetection3d/mmdet3d/core/voxel/voxel_generator.py
615b7495584f7e24a7c4ecad6b7002e9ef528466
[ "MIT", "Apache-2.0" ]
permissive
hustvl/MapTR
adc37f78cbae9d8c909dd8648088a4930bf55377
feb0664e64684d3207859279f047fa54a1a806f6
refs/heads/main
2023-08-25T17:44:47.672149
2023-08-14T13:31:17
2023-08-14T13:31:17
518,672,305
643
95
MIT
2023-09-14T03:30:23
2022-07-28T02:20:43
Python
UTF-8
Python
false
false
11,470
py
# Copyright (c) OpenMMLab. All rights reserved. import numba import numpy as np class VoxelGenerator(object): """Voxel generator in numpy implementation. Args: voxel_size (list[float]): Size of a single voxel point_cloud_range (list[float]): Range of points max_num_points (int): Maxim...
[ "cnliao62@gmail.com" ]
cnliao62@gmail.com
abb096ef90bc16ae6e689a662add4b89d5a0eb6c
d3c21f0051e5ca2f45d98381b0372b4cd916b213
/cgi-bin/module/plugins/hoster/HellshareCz.py
0add79ed9ef88640919558cbe79f2285005d4b23
[]
no_license
f3l/shareacc
ca165272f4265180d9178b6a066c69a0b368f8dd
615c71216317f7ac46b5217f5672cad0c71a1e49
refs/heads/master
2020-04-06T06:41:11.278718
2013-02-05T15:15:15
2013-02-05T15:15:15
4,640,503
0
1
null
null
null
null
UTF-8
Python
false
false
5,102
py
# -*- coding: utf-8 -*- """ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in ...
[ "root@server3.kruton.de" ]
root@server3.kruton.de
9e9d6d52dad7d50b577493a4e9f2211b99cd2907
463283665d8509e3834caeb9594c8c434c656580
/backend/metro_go_19413/settings.py
f4a246429304c5a8c170afd586aa8ac185d57d47
[]
no_license
crowdbotics-apps/metro-go-19413
da18250b50c338297d96a2bc738ed46e0edd2c3e
ba167f73af28e2109b042fa936f41d04abdb5663
refs/heads/master
2022-11-27T05:03:57.107712
2020-08-06T01:20:03
2020-08-06T01:20:03
285,441,509
0
0
null
null
null
null
UTF-8
Python
false
false
5,910
py
""" Django settings for metro_go_19413 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
c2eaf6be00624cfb9fb07b5c1768c01b8d63085a
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/losses/losses.py
3194b58efc0d6197a542f514443b69aa30485725
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/losses/losses.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
57eb39120030442c49d75ff10313cc2e7108e3f3
91a1519b82a43f4cd9b1a36cfb19e27f6afcbae3
/src/models/nli.py
3c07c282476e14a9a7b986f257b62d80cdea0161
[]
no_license
stanleysie/usc_dae
b45d2a1d47ec7b50408fc1607348155ee6cd7a1e
9da432971d165b5b2068fa9724a495f88d3ef5f2
refs/heads/master
2023-02-16T11:22:46.398444
2019-02-09T15:57:45
2019-02-09T15:57:45
321,680,275
0
0
null
2020-12-15T13:43:47
2020-12-15T13:43:46
null
UTF-8
Python
false
false
3,992
py
import os import numpy as np import sys import torch import torch.nn import torch.nn.functional as F from torch.autograd import Variable def get_nli_model( nli_code_path, nli_pickle_path, glove_path, word_list, verbose=True): assert os.path.exists(nli_code_path) sys.path += [nli_code_path] if ver...
[ "email@jasonphang.com" ]
email@jasonphang.com
941bd6352a9145867cac9e526b61a89c8c16ed7a
60dc372f5964737b8463db7eda386017098e923d
/assets/pre-commit/setup.py
b6fc2648ccc60273b1f458cd7f0fddf9157666ab
[]
no_license
jambo6/scripts
612e1debc9a4266dc2680b93927a883cf456e4e2
cec34d096da924c39bc6a346e7433691b8288f3a
refs/heads/main
2023-02-27T03:42:37.346527
2021-01-31T18:08:12
2021-01-31T18:08:12
334,722,916
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import setuptools with open("../requirements.txt") as f: required = f.read().splitlines() setuptools.setup( name="sacredex", version="0.0.1", description="Custom functions for working with sacred for ML projects.", url="https://github.com/jambo6/sacredex", author="James Morrill", author_em...
[ "james.morrill.6@gmail.com" ]
james.morrill.6@gmail.com
7810a51ec0777c0f5663369a7489015114f390a0
924750bdb72b9a6746fc807acd0ac665aca54b08
/CH7_User_Input_And_While_Loops/7-5_Movie_Tickets_2.py
e380fe07bd14ca5b96ef8f743ed2a8cdf3538a2b
[]
no_license
jiez1812/Python_Crash_Course
0a8ad80ddaa6bd14f2ca8d26029b9556584d13b5
e460d9ccf9610ea3e306137789e36fc1f2e8a5f9
refs/heads/master
2021-10-27T06:38:47.185228
2019-04-16T17:03:23
2019-04-16T17:03:23
103,537,248
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
prompt = "Please tell us your age for price of ticket." prompt += "\n(Enter 'quit' to exit)\nAge: " active = True while active: ans = input(prompt) if ans == 'quit': active = False print('Thank you for enquiry.\n') elif not ans.isdecimal(): print('Please insert valid input.\n') ...
[ "jieztee@gmail.com" ]
jieztee@gmail.com
19709ed76a6566e830d9d2f769db316d2ce51e0c
0a1f8957a798006deaa53d10d09f733fab1e6b05
/analysis_tools/ExamplePython/output/scripts/python_sample.py
bd91218667520b112670e9a9b42c185513b831ea
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
4,295
py
import glob import logging from optparse import OptionParser import os import sys import json from lxml import etree from collections import Counter # ------------------ setting up logger ------------------------------ # create logger with 'python_sample_analysis_tool' logger = logging.getLogger('python_sam...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
043fa102e3eab792ac475330290ce4b64af9b2b7
f3d75509d63297588227b7652462bb95bfed3c52
/les_9_task_1.py
34108af3cf38d8839641192ae84634ff579a0c09
[]
no_license
snlnrush/python-alg-and-data
220faa912ab1ce7ad53c62aa905d792ef4c5d280
a4a3d20e46dc48bf394733e7cf6dccabdcf9bed4
refs/heads/master
2022-06-17T01:59:26.439289
2020-05-08T10:19:08
2020-05-08T10:19:08
260,943,073
0
0
null
2020-05-07T15:02:13
2020-05-03T14:30:07
Python
UTF-8
Python
false
false
2,627
py
""" 1. Определение количества различных подстрок с использованием хеш-функции. Пусть на вход функции дана строка. Требуется вернуть количество различных подстрок в этой строке. Примечания: * в сумму не включаем пустую строку и строку целиком; * задача считается решённой, если в коде использована функция вычисления хеша...
[ "cross-fire@list.ru" ]
cross-fire@list.ru
5cbaa3a0c17afdda242c582e4d10e2db771fe03d
88f7d5eaeb39a5ee83f90a2f55af2c3eb5135147
/fastai/callback/mixup.py
64ae6656a6d873c6aca2c1097d09c19233777817
[ "Apache-2.0" ]
permissive
abcp4/fastai
7671f488cc6f969a2594e22be94bb6d3d3172504
769ba85d789905d68953daba6c3b52d4e9b2359b
refs/heads/main
2023-02-15T04:47:15.850298
2021-01-02T14:42:32
2021-01-02T14:42:32
321,826,680
0
0
Apache-2.0
2020-12-16T00:46:10
2020-12-16T00:46:09
null
UTF-8
Python
false
false
1,828
py
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/19_callback.mixup.ipynb (unless otherwise specified). __all__ = ['reduce_loss', 'MixUp'] # Cell from ..basics import * from .progress import * from ..vision.core import * from ..vision.models.xresnet import * from torch.distributions.beta import Beta # Cell def reduce...
[ "noreply@github.com" ]
abcp4.noreply@github.com
976bdff97c1361b41eb3808f0f6cb9e95a95cfab
f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b
/controller/src/vnsw/agent/uve/cpuinfo.py
80d92022e419afb85b9029f67a97f308f6fec132
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
pan2za/ctrl
8f808fb4da117fce346ff3d54f80b4e3d6b86b52
1d49df03ec4577b014b7d7ef2557d76e795f6a1c
refs/heads/master
2021-01-22T23:16:48.002959
2015-06-17T06:13:36
2015-06-17T06:13:36
37,454,161
2
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
# # Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. # import os import psutil from vrouter.cpuinfo.ttypes import * class CpuInfoData(object): def __init__(self): self._process = psutil.Process(os.getpid()) self._num_cpu = 0 #end __init__ def _get_num_cpu(self): re...
[ "pan2za@live.com" ]
pan2za@live.com
743856619a6a9fc5acc3233b6ab7ab96997f0904
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/103/usersdata/162/50409/submittedfiles/av1_3.py
5aa313f32026797e5c578a1fe5530ca39d1c1606
[]
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
270
py
# -*- coding: utf-8 -*- import math a=int(input('Digite o primeiro número:')) b=int(input('Digite o segundo número:')) ant=a atual=b cont=1 resto=ant%atual while resto!=0: post=atual atual=resto cont=cont+1 if post%atual==0: print(atual)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
10130ff786d81789a85eb06a31e9cd1149eae79c
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/problem/party/php.py
95b563f2a716c46065800645e6ab63e4b5ad8439
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,092
py
using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Translator.API; namespace CSharp_TranslateSample { public class Program { private const string SubscriptionKey = "efc1a84836c7f3db9a730df44241ab30"; //Enter here the Key from your Microsoft Translator...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
76ed5acab4d05e27f6421542aa707aaf3fd5d882
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt5_From_A-Z/grid_layout_finished.py
85447004de92d82364cad5e37cd54c06fd797271
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,473
py
import sys from PyQt5.QtWidgets import * class DlgMain(QDialog): def __init__(self): super().__init__() self.setWindowTitle("My GUI") ###### Create Widgets self.btn0 = QPushButton("0") self.btn1 = QPushButton("1") self.btn2 = QPushButton("2") self.btn3 = Q...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
4f66a53c65fec5b4196f05e07ca1ccfc1d230bdd
b31eceb853c456a65bf69a2768746e452080e52b
/models.py
6191e81c9607e37c9acb37b4ef1e1cfec22569c2
[]
no_license
100ballovby/RegistrationLoginProject
aa3c4c7e78e9051baa6fe5ee3a7caa582b7cee17
0326e60ef12b454b85ef53db600626d28e620264
refs/heads/master
2023-04-25T03:38:13.488835
2021-05-07T10:49:05
2021-05-07T10:49:05
356,241,390
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from werkzeug.security import generate_password_hash, check_password_hash from app import db from flask_login import UserMixin class User(UserMixin, db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(100), unique=True) password = db.Column(d...
[ "greatraksin@icloud.com" ]
greatraksin@icloud.com
ea5917e4dd2b9701d10da7dc10ae66cfa3d2c422
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/action/extxmlapisubj.py
b10b2e80a6bfe20baebec87a3e59f170decf214a
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
426,565
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
ac2af978c046a708f98bd9a243417cce387b618b
d1187000cb4adf677cb255243b25bd78cbf1dbd1
/bin/netconf.py
ecfd21c256afda2487d8cf38351f00f7783d1c6f
[]
no_license
kgrozis/netconf
f87dadbb3082f69c4bad41f10c64224c135d1958
997be27a6b74f3ded5ec9a57fde2d227d1b67a70
refs/heads/master
2021-01-09T20:26:44.481551
2017-01-03T19:28:40
2017-01-03T19:28:40
60,799,673
1
0
null
null
null
null
UTF-8
Python
false
false
4,416
py
#!/usr/bin/python # coding=utf-8 from ncclient import manager import logging, sys, os from urlparse import parse_qs def nc_connect(host, port, user, password): return manager.connect(host=host, port=port, username=user, password=pass...
[ "kgrozis@mac.com" ]
kgrozis@mac.com
e4ced65cd0540367a5735317dc5822a679047bd0
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/posixpath.pyi
005362b185219d390a5389a06d94acc74b9774b5
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
192
pyi
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-jedi-0.17.0-zugnvpgjfmuk5x4rfhhxlsknl2g226yt/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/posixpath.pyi
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
9e7e5d9e60c715860dca0cb062bd1beb0810e9ae
e7ce273f404f82fd8672c97e50b386509c8f9870
/Web/blog/base/tests/models.py
6730e6c8a65ccd308f2cb035991a5ace35484805
[]
no_license
rzlatkov/Softuni
3edca300f8ecdcfd86e332557712e17552bc91c3
a494e35bff965b2b9dccc90e1381d5a1a23737a1
refs/heads/main
2023-07-02T12:49:59.737043
2021-08-13T20:47:07
2021-08-13T20:47:07
319,088,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
from django.contrib.auth.models import User from django.test import TestCase from base.models import Post, Category, Comment, Profile class TestPostModel(TestCase): def test_post_model(self): user = User.objects.create_user(username='john', password='adidas1234') category = Category.objects.create...
[ "nozzller@gmail.com" ]
nozzller@gmail.com
a47f5b70b9545ca2cf8a5bd1e460b160ec0f7cec
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/25. Introduction to MongoDB in Python/Chapter/03. Get Only What You Need, and Fast/12-Pages of particle-prized people.py
dcb8dae05b4f7a5f7c7953cd5120b3f5217b52e1
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
''' Pages of particle-prized people You and a friend want to set up a website that gives information on Nobel laureates with awards relating to particle phenomena. You want to present these laureates one page at a time, with three laureates per page. You decide to order the laureates chronologically by award year. Wh...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
f5b79e3925b4be962a38cf717bbb9dd8846ce909
945d9e4746b547eea98033d965096d9486e79875
/plotting.py
6805411c34402405cd62f21b97f60a59fdebf428
[]
no_license
VivekVinushanth/flask-website
f0d7d277c51c4500aec6dba4aac119faf9a7a9ab
763f546e0d539d8db63fd328f2674c39a6385bae
refs/heads/master
2022-01-25T20:32:27.371569
2019-05-30T09:48:26
2019-05-30T09:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import pandas as pd from plotnine import * def plot(time_stamps,type): try: # read data data = pd.read_csv("OutputDTM.csv") #time_stamps = ['May'] #type='Month' value=time_stamps[0] if(type=="Month"): nudege_x=[0,0,-0.4,0.5,-0.4,0,0.2,0.7,0.2,0.5,0....
[ "aathmant@gmail.com" ]
aathmant@gmail.com
9e7a337d67a984ae180402e72a49623e4d1bf731
5977adc1f60df46c88f3b33d3d11455577cd4b94
/tsn/model/norm_helper.py
18b5a90f44c7e5e0cbdf910321f72e896ca72a88
[ "Apache-2.0" ]
permissive
ttykelly/TSN
ad551f033912df6c7683865829b5d00a18284018
ec6ad668d20f477df44eab7035e2553d95a835f3
refs/heads/master
2023-03-16T03:03:42.393558
2021-01-26T07:32:26
2021-01-26T07:32:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
# -*- coding: utf-8 -*- """ @date: 2020/9/23 下午2:35 @file: norm_helper.py @author: zj @description: """ import torch.nn as nn from functools import partial from .layers.group_norm_wrapper import GroupNormWrapper def convert_sync_bn(model, process_group): sync_bn_module = nn.SyncBatchNorm.convert_sync_batchnor...
[ "wy163zhuj@163.com" ]
wy163zhuj@163.com
aba46b99d2069ceec20b4492cd753a493b738309
f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41
/test/test_event_custom_field_item.py
dfb969bd33f6b4d981d2ad3cd0c1ee3115ba5a41
[]
no_license
CalPolyResDev/StarRezAPI
012fb8351159f96a81352d6c7bfa36cd2d7df13c
b184e1863c37ff4fcf7a05509ad8ea8ba825b367
refs/heads/master
2021-01-25T10:29:37.966602
2018-03-15T01:01:35
2018-03-15T01:01:35
123,355,501
2
1
null
null
null
null
UTF-8
Python
false
false
1,086
py
# coding: utf-8 """ StarRez API This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501 OpenAPI spec version: 1.0.0 Contact: resdev@calpoly.edu Generated by: https...
[ "fedorareis@gmail.com" ]
fedorareis@gmail.com
f3fd59897c789d4bf7076e6b748acfca3934eeb9
f4f54015298eedfbbdfcaaf5e2a9603112f803a5
/New_morning_batch/mod/prime_no.py~
0dd10feec5df0cc84c4f6361bbeb8d65ad145830
[]
no_license
raviramawat8/Old_Python_Codes
f61e19bff46856fda230a096aa789c7e54bd97ca
f940aed0611b0636e1a1b6826fa009ceb2473c2b
refs/heads/master
2020-03-22T22:54:50.964816
2018-06-16T01:39:43
2018-06-16T01:39:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
"""This module contains a function called prime.prime function takes one argument as a int number and return True if no is prime else return false.""" def prime(num): """It will return True if num is prime else it will return False.""" for var in range(2,num//2): if num % var == 0 : ...
[ "sachinyadav3496@gmail.com" ]
sachinyadav3496@gmail.com
0ab22da9dd4c4bc2c29f7f4a1492d14d628ef17c
152370a70a0e99fe854a31dcde49c3966d53b3b8
/day9/word.py
f916f0014f14544f9a90338f90715ecc2609dae4
[]
no_license
thesharpshooter/codeforce
c6fb93f14faa267d7af2cc61142b89c77d4e150b
e687696cc63245f3d3f399b38edabe8e6fdd25b3
refs/heads/master
2021-01-11T18:03:34.486823
2017-03-23T18:56:12
2017-03-23T18:56:12
79,480,391
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
string = raw_input() lower_count = sum(map(str.islower,string)) upper_count = sum(map(str.isupper,string)) if lower_count < upper_count: print string.upper() else: print string.lower()
[ "prakash9266@gmail.com" ]
prakash9266@gmail.com
372ad8dfd0d414bbd320c485048ab9715efc3aa6
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/examples/plot_changed_only_pprint_parameter.py
241dc3fd25daf68d0d39761e02f80423bf2b706e
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
""" ================================= Compact estimator representations ================================= This example illustrates the use of the print_changed_only global parameter. Setting print_changed_only to True will alterate the representation of estimators to only show the parameters that have been set to non...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
295a9cca139886b043af90fd657bb3e141097b8f
a079853d22a47a8c50bca2654e30c4fef3dd2d34
/e_commerce/manage.py
8340d8a5b960c316386ed57d9dcffad3f409503e
[]
no_license
toticavalcanti/django_ecommerce
04299ac33de804f10270309d738e2c6dff61bf9c
2ee45585d0724174e24ab5f4f52daa3b14fa473b
refs/heads/master
2023-08-19T00:53:56.178570
2023-08-15T00:55:33
2023-08-15T00:55:33
160,266,119
25
11
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'e_commerce.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "toticavalcanti@hotmail.com" ]
toticavalcanti@hotmail.com
6ae8c5d0f194a0fb7363bd2bf0d5f322656edd0d
c2588b904cae9b93b94866c3871baaa93935ea06
/src/deepwalk/__main__.py
b2827ba369d628653f6151a9b72104f149b83134
[]
no_license
Xueping/word2vec
c0a46f7fe73e8cd21595c97d2aa7ccf1d540063b
b3c69889cdaf226d1b94897615d4fcfcb10b3cf2
refs/heads/master
2021-01-10T14:35:18.677983
2016-01-28T23:59:53
2016-01-28T23:59:53
46,965,855
0
0
null
null
null
null
UTF-8
Python
false
false
5,623
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter import logging import random import sys from gensim.models import Word2Vec import graph from skipgram import Skipgram import walks as serialized_walks # p = psutil.Process(os.getpid()) #p.set_cpu_affin...
[ "pengxueping@gmail.com" ]
pengxueping@gmail.com
6e50912db103808c586e8671afb6a75660485c45
01c3ff1d74e754e0d4ce0fb7f8a8b329ec3766e1
/python_exercises/19others/new.py
6dc3659c467f80557bb521229f703b1e4a9bb2ae
[]
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
130
py
from tkinter import * root = Tk() button = Button(root, text="Click here", command=quit) button.pack() root.mainloop()
[ "vineel2006@gmail.com" ]
vineel2006@gmail.com
c9dccbc6f437ccc40accc1a839db9e30904aebea
a9024ba9ef408317a06253af125d34454ac3fac8
/datawandcli/tests/parameters_test.py
7ac0a470046d492a83aeea17297ba1b052a217c4
[]
no_license
ferencberes/datawand-cli
562ac624264d4ec78153bd47e3213946830a2168
26c33ec09f940ee1f94da930957df6c256b550b5
refs/heads/master
2023-01-30T18:20:55.143403
2020-12-14T12:07:07
2020-12-14T12:07:07
254,948,772
0
0
null
null
null
null
UTF-8
Python
false
false
6,675
py
from datawandcli.components.objects import * from datawandcli.parametrization import ConfigGenerator from shutil import rmtree import subprocess, os os.chdir("examples/parameter_handling/") def load_last_line(fp): last_line = "" with open(fp) as f: for line in f: last_line = line.rstrip() ...
[ "ferdzso05@gmail.com" ]
ferdzso05@gmail.com
3d6106bc57b0534b8bbd3a95ab48fe8ff52c3ad0
6bb80d482bfd0cd5feb6f2d37c7235a27b3466d6
/malaya_speech/train/model/tacotron2/attention_wrapper.py
4fb670ad9e5fccd8a3b936fd4e32d819d8c7a927
[ "MIT" ]
permissive
dakmatt/malaya-speech
deadb00e1aa8a03593721c26457f35158e67d96d
957cfb1952760c30d3b4a2a2e60b7f142394cbd3
refs/heads/master
2023-04-03T13:56:53.675046
2021-04-19T03:31:40
2021-04-19T03:31:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,036
py
# Copyright 2017 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...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
e1f9a3992c2edb1d6291407769239ae738d34fa5
9ff04cb71cc95e26e04114291cd34dcd860eb9db
/hotspot-featurextract-service/featureExtract/general_utils.py
c8a5fe9cce065c955a228864af7c7c017e3a944d
[]
no_license
cwgong/hotspot-featurextract-service
323260895d1ac33d7d855402c4d97b9a4433cbec
885bb7d96e2b140e97c774b1ec0cb190feade3ae
refs/heads/master
2022-11-16T14:08:28.635460
2020-07-10T06:00:06
2020-07-10T06:00:06
278,551,253
0
0
null
null
null
null
UTF-8
Python
false
false
4,707
py
# -*- coding: utf-8 -*- import time import sys import logging import numpy as np def get_logger(filename): """Return a logger instance that writes in filename Args: filename: (string) path to log.txt Returns: logger: (instance of logger) """ logger = logging.getLogger('logger')...
[ "1372864243@qq.com" ]
1372864243@qq.com
fef54ef425733f3098eb58e677c3f8d05d05da96
36931f23be2afadaee6a047bb3e86309f64b5e99
/Devs_ActionProp/PropEval/Utils.py
cc1dc5bef0b66e224bd9357b00c43ec1ec39d778
[]
no_license
cvlab-stonybrook/S2N_Release
13cf4df6b2c8ef65bdbf6163266eb5c55080ebe9
bc32142d059add14d550c8980adf3672485d4a98
refs/heads/master
2022-06-26T23:46:40.490222
2018-12-25T13:41:02
2018-12-25T13:41:02
235,153,446
0
0
null
2022-06-22T00:52:01
2020-01-20T17:06:09
Python
UTF-8
Python
false
false
9,130
py
import pickle as pkl import numpy as np def loadTestFPS(): file = '/home/zwei/Dev/NetModules/ActionLocalizationDevs/PropEval/movie_fps.pkl' FPS = pkl.load(open(file)) return FPS def format(X, mthd='c2b'): """Transform between temporal/frame annotations Parameters ---------- X : ndarray...
[ "zijwei@cs.stonybrook.edu" ]
zijwei@cs.stonybrook.edu
751042bdcd64f6d5e3f4936d4f68845dff3c88a5
6c174c0cbff5f3403d8034a13c2b8cefff2dd364
/android_warning/android_warning/apptest/PO/NewsPage.py
de8583b4097b569a72853562881b2a8313ab251d
[]
no_license
xiaominwanglast/uiautomator
0416e217538527c02e544e559b2d996554b10b20
7ce47cda6ac03b7eb707929dd2e0428132ff255f
refs/heads/master
2021-09-12T12:37:54.286397
2018-04-16T10:03:57
2018-04-16T10:03:57
106,253,765
0
0
null
null
null
null
UTF-8
Python
false
false
8,792
py
#coding:utf-8 from BasePage import Base import random from selenium.webdriver.common.by import By import time class News(Base): #底部的新闻按钮 bottom_news_loc = (By.ID,"%s:id/ll_news_bottom"%Base.capabilities['appPackage']) tv_topic_loc = (By.ID,"%s:id/tv_topic"%Base.capabilities['appPackage']) textview...
[ "wangxm@diandainfo.com" ]
wangxm@diandainfo.com
3b7d30c32162ecda06916c6cad1c8db7a6a2fe9c
52bab17c7554fb4e3533d3f5742c1e65e063903a
/sample/add_image.py
018053f58311417fe55cd445a0f61cfa233e44de
[]
no_license
BlueLens/stylelens-index
f67d3e633b9a9909647d895bb12a238a6934b91c
c52cf1e1d26d1197936dff20b05c477f0b315287
refs/heads/master
2021-05-11T00:57:40.789986
2018-01-30T12:52:52
2018-01-30T12:52:52
108,110,962
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
from __future__ import print_function from stylelens_index.index_images import IndexImages from pprint import pprint api_instance = IndexImages() image = {} image['product_id'] = '1234' image['host_code'] = 'HCxxx' image['product_no'] = '1' image['version_id'] = 'test' try: api_response = api_instance.add_image(ima...
[ "master@bluehack.net" ]
master@bluehack.net
2127d383dd409736b632135050dc7a3ae97f37f1
3343e5193e2dd14a3dc2c8c375914b12323dea82
/tests/api/v2_1_1/test_wireless.py
ec2025c26a72bbe3aa62cebff0d6bd8ec6ff4593
[ "MIT" ]
permissive
sandhjos/dnacentersdk
6b483fe61307d4ea377b4bcc343e77aa7994e8bc
9ca1a1923bc714e49e652099e2d60ee121d789e9
refs/heads/master
2023-04-18T17:52:09.350514
2021-05-07T23:41:47
2021-05-07T23:41:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,264
py
# -*- coding: utf-8 -*- """DNACenterAPI wireless API fixtures and tests. Copyright (c) 2019-2020 Cisco and/or its affiliates. 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, ...
[ "jbogarin@altus.cr" ]
jbogarin@altus.cr
eb0c801daa3e7bd7bd7fd61ab0d68e2ae74f4c58
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp210_6000.py
4eb72b96277f23e11b07223f9c7e42df0df956e7
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,770
py
ITEM: TIMESTEP 6000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.6989300572375149e+02 2.1709300572379581e+02 -1.6989300572375149e+02 2.1709300572379581e+02 -1.6989300572375149e+02 2.1709300572379581e+02 ITEM: ATOMS id type xs ys zs 1703 1 0.748226 0.140167 0.0197056 1851 1 0.264509 0.0639932 0.00149502 88 1 ...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
e5477debe5cc5f0dcbcfead3b038e74c8c6f763b
48a36fddd9e7c584a9792533c11601f0e4619885
/torchvision/edgeailite/xnn/quantize/quant_graph_module.py
6916dea1e47a628f31a7df3daac1ff6868903b91
[ "MIT", "BSD-2-Clause-Views", "BSD-3-Clause" ]
permissive
supermy00/edgeai-torchvision
8c152e796590ae5f6ae4f6948cbfb132409506a0
29b02c32b26ea8c0c319a376ab8a9a1b9ada25b5
refs/heads/master
2023-09-02T02:36:47.068701
2021-11-17T10:08:17
2021-11-17T10:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,532
py
################################################################################# # Copyright (c) 2018-2021, Texas Instruments Incorporated - http://www.ti.com # All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditio...
[ "a0393608@udtensorlab5" ]
a0393608@udtensorlab5
8aa62e38ae5fd087238b87db6f0c2c970ece3887
ee15248e4eb2065bc55215e09f66ff35beccba3c
/glance/common/imageutils.py
79a7277084462442c507f2465bbe4de231f1741f
[ "Apache-2.0" ]
permissive
starlingx-staging/stx-glance
7fa03ab352886a7f073f5c913b553daa2786d1f2
11568729648722ffba43be9ce54e25ba02f6d87f
refs/heads/master
2020-03-18T00:55:48.228497
2018-12-20T21:08:34
2019-01-11T15:51:58
134,119,801
0
6
Apache-2.0
2019-01-31T15:48:42
2018-05-20T04:31:18
Python
UTF-8
Python
false
false
6,462
py
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # Copyright (c) 2010 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in complianc...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
42c880b8e430255f66fceafeddf9a5d65ce46b9a
280d2a598944cf24f129b64549777661edc1d2d7
/dezero/layers.py
0a3a05649057c9b8aaf46ad2e4d2be79a61569e9
[ "MIT" ]
permissive
oakareahio/deep-learning-from-scratch-3
c2df26c51df1dd2d2d11eb3045ecf7d1b822966e
86bebace7e38dd347bbcc731ae79dd2185c47881
refs/heads/master
2020-09-29T13:44:30.599616
2019-12-10T05:53:02
2019-12-10T05:53:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,779
py
import numpy as np import dezero.functions as F from dezero import cuda from dezero.core import Parameter from dezero.utils import pair # ============================================================================= # Layer / Model # ============================================================================= class ...
[ "koki0702@gmail.com" ]
koki0702@gmail.com
f6fa437a0527d4837dddc67fc9ebf393f143a073
18f9fe907788db0f3cfb3ef771ec8a0417760ad3
/plot_1d_histo.py
25181f5ca8dae543720128673413f6f7bfc68f4a
[]
no_license
philbull/earlyde
d940847f938d7941884f1274e3f7ee5505878442
0375d2ff4bb7560b982409b722cab5de9cf4fe3e
refs/heads/master
2021-07-07T07:37:07.324831
2020-07-08T08:51:29
2020-07-08T08:51:29
133,869,582
0
0
null
null
null
null
UTF-8
Python
false
false
10,676
py
#!/usr/bin/env python """ Plot 1D histogram for a parameter. """ import numpy as np import pylab as plt import wztanh as model from load_data_files import load_chain from matplotlib import ticker import sys, os import corner # Get arguments if len(sys.argv) != 2: print("Requires one argument: idx") sys.exit(1...
[ "philbull@gmail.com" ]
philbull@gmail.com
660be50c12e8b94200e49c87d72483ce6bec3013
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nncheeri.py
704385d12b88599e9ca96c69f7adf9889375c94c
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
81
py
ii = [('MarrFDI.py', 1), ('RennJIT.py', 1), ('CarlTFR.py', 3), ('BachARE.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
43a9a3fb18a5e1c0e80cfaac3d934c9d51cbad3d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2390/60772/283862.py
e763d1211e36980646b5c862976940eac7df637e
[]
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
450
py
li = input().split() n = int(li[0]) # m = int(li[1]) res = 0 for i in range(1): li = input().split() for ele in li: res += int(ele) res *= n if res == 108: print(6) elif res == 544: print(30) elif res == 2640: print(6) elif res == 30: print(2) elif res == 39: print(6) elif res == 17...
[ "1069583789@qq.com" ]
1069583789@qq.com
39d9a3ba2dec1083cca77f94c63bec0e8cf5fe09
9461195cac30788855359753ac2856d746e81cd6
/apps/registration/views.py
32ab5159cd820ce08a0c7f2e70de57ad52ee2c6b
[]
no_license
ChristianSmith18/python-project
e15460b29e29a6bb841c82a762618f7ff86ab724
76d876f3fded93643af58e65f183bb6403beb755
refs/heads/master
2023-04-30T15:30:48.472909
2021-05-24T17:33:46
2021-05-24T17:33:46
370,433,052
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
from django.shortcuts import render, redirect from django.contrib.auth.models import User, Group from django.contrib.auth.forms import AuthenticationForm from django.contrib import messages from django.urls import reverse_lazy from django.contrib.auth import authenticate from django.http import HttpResponseRedire...
[ "cgr.gonzalezrossier@gmail.com" ]
cgr.gonzalezrossier@gmail.com
d5644b01eb41eb1f84996c03a22e6fda936445c4
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/CreateQualityRelativeNodeRequest.py
0f79c6144126a477724052816e4da9713d9fcb00
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,793
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
9227de497e8e0e1a0d6492dcaf5adf119ebebfe2
d4129d743b958e6ed71af445c0dd7baa7f2ad6e4
/teambeat/views/team_admin_views.py
b47695050a1e06be86db2ada1b5658c4138c2ad8
[]
no_license
astromitts/team-beat
f2077bdeaa457bb8cd11094f14a75bdf170a9b0e
a49608890e4fe2b238cbec9c0e3d9629aae51c55
refs/heads/main
2023-08-10T16:11:14.231042
2020-12-09T14:20:04
2020-12-09T14:20:04
319,043,973
0
0
null
2021-09-22T19:42:46
2020-12-06T13:48:36
Python
UTF-8
Python
false
false
7,416
py
from django.contrib import messages from django.http import HttpResponse, JsonResponse from django.shortcuts import render, redirect from django.template import loader from django.urls import reverse from teambeat.forms import TeamForm, RemoveTeamMemberForm from teambeat.models import ( OrganizationUser, Team,...
[ "morinbe@gmail.com" ]
morinbe@gmail.com
b2d9a32e9c31a3aaa5b5f95897683a2385254f85
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/express-route-cross-connection/azext_expressroutecrossconnection/__init__.py
6345a4b56fa4d0ebde593f3902ee37d856b323f6
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
1,415
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
092766a5a2a3e9cb2b014657922d24f63975ea7c
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/brute_force/백준_1.py
4b3c215c077fffb83517add4353e37b9f65f1ee3
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
360
py
import sys def solve(): global n ans = 0 drainage = '' while True: drainage += '1' target = int(drainage) if n > target: continue if target%n == 0: return print(len(drainage)) while True: n = sys.stdin.readline().strip() if not n: ...
[ "galid1@naver.com" ]
galid1@naver.com