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
0a1e3abfd59e857fb42ff5d1f3038f30f5e8e26d
3a547785455c4b447de5f43e134aee1f57388a7e
/BAEKJOON/5567.py
eeeec7c0267a14a56e5a053b764e4c47c69fd1da
[]
no_license
Jungwoo-20/Algorithm
bfdbca1b87500e508307a639dc2af5a86258c227
7767bf5b0ce089155809743af0b562b076e75d9b
refs/heads/master
2023-08-17T05:59:25.083859
2021-09-22T03:26:45
2021-09-22T03:26:45
289,666,779
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
import sys from collections import deque n = int(sys.stdin.readline()) m = int(sys.stdin.readline()) lst = [[] for _ in range(n + 1)] for _ in range(m): a, b = map(int, sys.stdin.readline().split()) lst[a].append(b) lst[b].append(a) def bfs(start): queue = deque([start]) visited = [0] * (n + 1) ...
[ "jungwoo7250@naver.com" ]
jungwoo7250@naver.com
d22b264a094956952da43ee6a264ac0181169738
9225346b0aa5eb476c426c1972bc947edd4a3894
/src/icse/ps/rules/condizioni/Not.py
351567042f8c32325e2f2d1003e51e76d855c4ac
[]
no_license
ximarx/icse-ps
990f981dc3c01bab5d558c4e2d477d11881fb1ce
468a9ba295ab658670472a0156772f428d7f3fe4
refs/heads/master
2016-09-09T18:19:51.527581
2012-05-03T09:43:23
2012-05-03T09:43:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
''' Created on 30/mar/2012 @author: Francesco Capozzo ''' from icse.ps.rules.condizioni.Condizione import Condizione from icse.ps.rules.condizioni.And import And class Not(Condizione): ''' Inverte una condizione ''' def __init__(self, subcondizione): ''' Constructor ''' ...
[ "ximarx@gmail.com" ]
ximarx@gmail.com
58226ee2f672d423e39ef0d2a813271823083750
17926b196d9db43816453d16f3da84de6664f2fd
/1_Two_Sum.py
9a5d79cde2ce1d828ec2ff950055b29486bf792c
[]
no_license
luchang59/leetcode
66690a3c9b28a5201a7be8cd0134142b48418adb
feab001b9291f6e57c44eeb0b625fdaa145d19b4
refs/heads/master
2020-05-28T06:57:20.667138
2019-09-20T18:18:11
2019-09-20T18:18:11
188,914,681
0
0
null
2019-05-27T22:17:44
2019-05-27T22:08:54
null
UTF-8
Python
false
false
1,056
py
from typing import List import collections class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: dic = {} for i in range(len(nums)): if target - nums[i] not in dic: dic[nums[i]] = i else: return [i, dic...
[ "luchang1991@gmail.com" ]
luchang1991@gmail.com
de7fdf2d7cc61a922fa06b575124d82c269b6287
e1a7d00dbe27403427078c627ccebe1562a6049d
/mercury/model/common/fsm.py
1a0155c25542a790dad74b4ac8bc8d56439fcc62
[ "Apache-2.0" ]
permissive
greenlsi/mercury_mso_framework
f24fc167230057bb07b7de5dc9fbb10490293fee
cb425605de3341d27ce43fb326b300cb8ac781f6
refs/heads/master
2023-04-28T02:18:16.362823
2023-04-18T12:03:23
2023-04-18T12:03:23
212,610,400
2
1
Apache-2.0
2023-03-02T14:36:56
2019-10-03T15:12:32
Python
UTF-8
Python
false
false
5,976
py
from abc import ABC, abstractmethod from collections import deque from typing import Callable, Dict, List, Optional from xdevs.models import Atomic, Port, T class ExtendedAtomic(Atomic, ABC): def __init__(self, name: Optional[str] = None): super().__init__(name) self._clock = 0 self._messa...
[ "rcardenas.rod@gmail.com" ]
rcardenas.rod@gmail.com
f06a9c3d8b9b1275850336314be678581626bd60
4b86ebac6e2273bec07e8f0f1275a9f4c4700491
/Dynamic Programming/43105_정수 삼각형.py
6c8d4bca6a89b25bea645ac1545bece69a285ac7
[]
no_license
chohan3036/algo_study
999d8a9d44b27100009246dcf913e07f36787295
64abbc8a401f9e555692f01917eb78b0fd37d7fb
refs/heads/master
2023-04-07T06:13:16.059638
2021-04-20T04:32:35
2021-04-20T04:32:35
307,859,670
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
def solution(triangle): for i in range(1, len(triangle)): for j in range(i + 1): if j == 0: triangle[i][j] = triangle[i][j] + triangle[i - 1][j] elif j == i - 1: triangle[i][j] = triangle[i][j] + triangle[i - 1][j - 1] else: ...
[ "chohan3036@gmail.com" ]
chohan3036@gmail.com
d1e91e61a66a6fa45c6faa2a15bf4c66ae800375
042c2dee280af83b280697651b28de966d23ebfe
/l10n_th_account/models/res_company.py
ffbca81426c83c0b9405df98d45fb48ef8c04a9d
[]
no_license
ecosoft-odoo/ecosoft_2017
ec21b405b6a037d5254ffd68682ade6904835a7d
6a170994ff8d3b31bba0b1557fc3231e4a2ecb06
refs/heads/master
2021-01-12T08:41:33.675525
2019-04-02T07:19:01
2019-04-02T08:38:47
76,660,722
4
3
null
2018-02-08T02:00:21
2016-12-16T14:41:06
Python
UTF-8
Python
false
false
868
py
# -*- coding: utf-8 -*- from openerp import fields, models class ResCompany(models.Model): _inherit = 'res.company' retention_on_payment = fields.Boolean( string='Retention on Payment', default=False, ) account_retention_customer = fields.Many2one( 'account.account', s...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
025bda3c26dbe496f7b4c42cf42b912fa0c631b8
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/CJ/16_0_2_AlixMartin_pancakes.py
06dd6255f528a094f4cdae6cf2aa9ca68de46639
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,977
py
FILENAME = 'test.in' OUTPUT = FILENAME.replace('.in', '.out') def main(): with open(OUTPUT, 'w') as g: with open(FILENAME) as input: T = int(input.readline()) for t in range(T): S = input.readline().strip() answer = simple(S) ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
abd79f6d7537535166a68c61f52d6f6e1963e142
37f20f2e3e8b45d490b22935a301ec9da6c76fcc
/All in one driver.py
5efbf1df6c257b1eb51a0daa1d51114e306e33af
[]
no_license
Puneeth456/first_project
d62aac5ad63f240e8a081b46188a6548e5e0d5d2
59494c9f86fd90be54927a3878fffcf7324b7206
refs/heads/master
2020-05-29T09:45:23.591477
2019-06-06T03:11:53
2019-06-06T03:11:53
189,076,564
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from selenium import webdriver browser='chrome' if(browser=='chrome'): driver=webdriver.Chrome(executable_path="C:/Users/Admin/Downloads/chromedriver.exe") elif(browser=='ff'): driver=webdriver.Firefox(executable_path="C:/Users/Admin/Downloads/geckodriver.exe") elif(browser == 'ie'): driver=webdriver.Ie(e...
[ "shivanpuneeth50@gmail.com" ]
shivanpuneeth50@gmail.com
8da5a5af066831f1f3a48b9cb4a96f3a85297b75
2f44cecd8fc447c9e2f2d9f55abdea36ebb40cc5
/50周双周赛/8.py
b3c2d8473d2ae3a7cd706d05403662fa94b0a07e
[]
no_license
yuzumei/leetcode
751a234b429131169e3eaf4594ffeb3b94f6ab34
b6708b03c92ec92e89fc7ecf13f1995dee346657
refs/heads/master
2023-07-28T05:48:53.192948
2021-09-11T06:16:07
2021-09-11T06:16:07
365,780,916
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
class Solution: def maxIceCream(self, costs, coins: int) -> int: costs.sort() cnt,ans=0,0 for cost in costs: if ans+cost>coins: return cnt ans+=cost cnt+=1 return cnt
[ "973802530@qq.com" ]
973802530@qq.com
5f5be176bdfab7b36e8100a6eb5609d71ed5e938
ce0f8956c4c308c67bd700d31fe8d5a17b16ac08
/Python3/src/23 Miscellaneous Topics/GUI Frameworks/kivy/01_first_app.py
ba9d50c70998011ffa2a854199ca7fc8c3f08344
[]
no_license
seddon-software/python3
795ae8d22a172eea074b71d6cd49d79e388d8cc6
d5e6db1509a25c1a3040d5ae82d757539a2ff730
refs/heads/master
2021-07-10T15:48:31.893757
2020-07-16T20:29:22
2020-07-16T20:29:22
175,872,757
0
1
null
null
null
null
UTF-8
Python
false
false
202
py
from kivy.app import App from kivy.uix.label import Label class FirstKivy(App): def build(self): self.title = 'First Kivy App' return Label(text="Hello Kivy!") FirstKivy().run()
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
a981eff220434ea2ab3d67acb6db7a4a3ddc6edc
d02b20f69822ee658940c4a491df96f504fb21eb
/superlists/settings.py
e96582166a0ef91c9adf095db1c7475217be9062
[]
no_license
Octowl/SUPERLISTS
6fa4164e024f4766f651ff78a7656d2084d1a162
79a3abadc310ec15531221659ee2cb4d867a0f7f
refs/heads/master
2021-01-15T17:07:01.043675
2014-12-06T07:46:21
2014-12-06T07:46:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
""" Django settings for superlists project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...)...
[ "alsaff1987@gmail.com" ]
alsaff1987@gmail.com
9bd19dbbed278bb83f903a859edbcd67925d1a49
9d6d13bea940f6bf9f0df182e5fe7d70b7e616bb
/apps/interest_groups/forms.py
4d468d59f8fec631bf630cf2a42da0ef244791b3
[]
no_license
openscriptures/openscriptures_site
006078c33b0ba90828af1bb54caa32ee52383ca5
bb4a7443040482849fc9b1caaacd178b2d99aef1
refs/heads/master
2021-01-09T23:41:49.753193
2009-12-31T17:32:10
2009-12-31T17:32:10
450,212
1
1
null
null
null
null
UTF-8
Python
false
false
1,763
py
from django import forms from django.utils.translation import ugettext_lazy as _ from interest_groups.models import InterestGroup # @@@ we should have auto slugs, even if suggested and overrideable class InterestGroupForm(forms.ModelForm): slug = forms.SlugField(max_length=20, help_text = _("a short...
[ "jtauber@jtauber.com" ]
jtauber@jtauber.com
11db707184923941bad481e3b14aa2b4d1d9dd32
55ef08cfcd1cc7bad7b7478a7e9b30e04759755d
/33.py
65613041feb5f7670dbfd7465a1a607319dab25f
[]
no_license
Thilagaa22/python-codes
135a6365fb02c1b4517c1f9eab9c56b09af4b69f
2f20c1f66ca67bde428d7bbc4a4aefff55f433a4
refs/heads/master
2020-05-05T06:30:40.527575
2019-05-12T17:45:41
2019-05-12T17:45:41
179,791,098
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
a = int() count = 0 for i in a: if (i == ""): count +=1 print(count)
[ "noreply@github.com" ]
Thilagaa22.noreply@github.com
12e842ce36bfda6a716a23b96e56f910e618c29c
0dd504afca2e546dba7fd0f76d360bd92d767001
/WebMateriel/main/admin.py
bee746d383fa48c4e11ddb89b48717fc50b5ad87
[]
no_license
frosqh/WebMateriel
f947a6712d11f0217a28086a7f46de630c42fbd2
25fb40b387895b8e0a3b38851c6fa7fe63a5c987
refs/heads/master
2021-01-15T19:23:05.079075
2017-08-10T12:32:47
2017-08-10T12:32:47
98,521,684
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from django.contrib import admin from .models import Outil admin.site.register(Outil)
[ "frosqh@gmail.com" ]
frosqh@gmail.com
130f493e262be2bd6c8913491045013aa6b244a1
2b6a02a34ee6bf68820ad185245e2609b296e0aa
/951.py
b84531f2e00eaf25a13aa0bb7824cdf75877f7f8
[]
no_license
shants/LeetCodePy
948e505b6fcb0edcb9a1cf63a245b61d448d6e27
2337b5031d4dfe033a471cea8ab4aa5ab66122d0
refs/heads/master
2020-03-28T08:43:04.606044
2019-11-25T05:03:15
2019-11-25T05:03:15
147,984,830
0
1
null
null
null
null
UTF-8
Python
false
false
872
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def flipEquiv(self, root1, root2): """ :type root1: TreeNode :type root2: TreeNode :rtype...
[ "mailtoshants@gmail.com" ]
mailtoshants@gmail.com
57e2f7e18b7f24aaaea5406c741e8bea95ddce56
548f40b26cdda5658f37a37ab7e95a87a2c59646
/py/testdir_single_jvm/test_rf_covtype_fvec.py
652fc7dc434dd845ec4c03db33af06cce84b024a
[ "Apache-2.0" ]
permissive
ccsevers/h2o
f6482c6caae1aa35458392518e9456d973c10eeb
5047b0d9243c1a6f4969212c4fb0be78255a1a23
refs/heads/master
2021-01-21T02:52:50.050237
2013-11-05T20:02:07
2013-11-05T20:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,039
py
import unittest, random, sys, time sys.path.extend(['.','..','py']) import h2o, h2o_cmd, h2o_rf as h2o_rf, h2o_hosts, h2o_import as h2i, h2o_exec, h2o_jobs # we can pass ntree thru kwargs if we don't use the "trees" parameter in runRF # only classes 1-7 in the 55th col # rng DETERMINISTIC is default paramDict = { ...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
ec33ce16b1b22bb8adf88d1d138a8c2a04d4e5f3
62f59fe1e0246b33c84412ee2a60e77938a05a15
/test/base_report_test.py
1cd96d030078c22ef1a06118153eb70d68ea413c
[]
no_license
20113261/platform_service
02676d2654f5c7bde2c7eafdadbf55fe7253a7b0
bc903168bd7cbc499892f24c2b1cc82c38180c01
refs/heads/dev
2022-08-01T02:30:05.004852
2018-04-29T05:39:37
2018-04-29T05:39:37
131,576,306
1
0
null
2022-07-08T19:13:32
2018-04-30T09:14:54
Python
UTF-8
Python
false
false
518
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2017/9/26 上午9:55 # @Author : Hou Rong # @Site : # @File : base_report_test.py # @Software: PyCharm import unittest from proj.my_lib.BaseTask import get_tag, get_source, get_type, get_report_key class TestGetReport(unittest.TestCase): def test_ok(s...
[ "nmghr9@gmail.com" ]
nmghr9@gmail.com
5dc3bedb4d2904778b11918c187a776df451a5e8
14f49f0f8c837b485753b50e60de673086cbb5c2
/manifesta/wsgi.py
12d2fb10897b5abf69bccca29366d619c51dc06b
[]
no_license
fgomesc/manifesta
78e4ac9ffd7b44801ddc00b0972cf076db95f76a
8a3d8b8e756e2fff16f28ae22b58823752074162
refs/heads/master
2023-08-04T15:47:08.055857
2020-07-29T23:53:42
2020-07-29T23:53:42
281,123,092
0
0
null
2021-09-22T19:29:16
2020-07-20T13:25:13
Python
UTF-8
Python
false
false
429
py
""" WSGI config for manifesta 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/3.0/howto/deployment/wsgi/ """ import os from dj_static import Cling from django.core.wsgi import get_wsgi_application os.env...
[ "fgomesc0586@gmail.com" ]
fgomesc0586@gmail.com
32a3e1a588b9d782663d269203b858d5ebbf7e89
4b3adf5a0140c1a3da7f4c806b272d6966879c4a
/app_article/views/api_core/delete_article/delete_article_serializer.py
e35f75b36cd2edb757cd4afc7e73cccb171cac9d
[]
no_license
minhanghuang/blog_code
8076306d67777adf2c248be4b246135eed18817a
9c20667c560520d3de61226f4f2d74140db2131e
refs/heads/master
2022-04-12T03:10:00.519923
2020-04-10T11:00:55
2020-04-10T11:00:55
199,254,782
2
0
null
null
null
null
UTF-8
Python
false
false
693
py
from app.utils.common.serializers.serializer import MySerializerBase from app_article import models class DeleteArticleSerializer(MySerializerBase): """删除博文-序列化""" class Meta: model = models.Article fields = ["state"] extra_kwargs = { 'state': { 'allow_null...
[ "mhesat@outlook.com" ]
mhesat@outlook.com
2fe8a1a7a2a96177662b678271c46e54cdd832a9
d623b8fe1b7e5d49d1c2623fc6ff0356bda50d5d
/homeassistant/components/accuweather/const.py
c1b90de09e73d38610f8047d5563a6cd455e0236
[ "Apache-2.0" ]
permissive
piotr-kubiak/home-assistant
02f1ab8195d9111c6d4c96a55715e67de6b103d9
d32f3e359f1fabe2d79b0e07e375b3723b7cb07c
refs/heads/dev
2023-03-03T11:08:25.871531
2022-08-26T19:41:41
2022-08-26T19:41:41
198,906,482
1
0
Apache-2.0
2023-02-22T06:23:51
2019-07-25T22:00:44
Python
UTF-8
Python
false
false
1,480
py
"""Constants for AccuWeather integration.""" from __future__ import annotations from typing import Final from homeassistant.components.weather import ( ATTR_CONDITION_CLEAR_NIGHT, ATTR_CONDITION_CLOUDY, ATTR_CONDITION_EXCEPTIONAL, ATTR_CONDITION_FOG, ATTR_CONDITION_HAIL, ATTR_CONDITION_LIGHTNI...
[ "noreply@github.com" ]
piotr-kubiak.noreply@github.com
c5517b8077eace5e7a3bfffad365e6e541d699b8
f13f336c42313b9e45a9a497d5737ecff8652731
/Python/232.Implement Queue using Stacks.py
98605923455e54ec86242f261b53ebbd6fb16729
[]
no_license
whguo/LeetCode
9b58bfbad07d9c3bfe8c48c74cd52fa6e019c2be
74cc5aa3743d387213a36c7dcfd37e82ca60473a
refs/heads/master
2020-02-26T16:02:39.172627
2017-07-28T01:59:20
2017-07-28T01:59:20
57,174,439
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
#用栈实现一个队列 class Queue(object): def __init__(self): self.stack = [] def push(self, x): self.stack.append(x) def pop(self): if self.stack!=[]: self.stack.pop(0) def peek(self): if self.stack!=[]: return self.stack[0] def empty(self): ...
[ "490216194@qq.com" ]
490216194@qq.com
653d2fcd8bfdf2c5d21ae13de34b3b47831ec09d
c99c272181eb43df688cc6af10bfb17659014ab9
/01_Python-Basics/Lecture_1/Homework_3.py
0f74896c65abf88e1d151909ff9cf7ae3bfd3fa5
[]
no_license
LachezarKostov/SoftUni
ce89d11a4796c10c8975dc5c090edecac993cb03
47559e9f01f7aabd73d84aa175be37140e2d5621
refs/heads/master
2023-01-29T20:49:57.196136
2020-12-10T12:34:09
2020-12-10T12:34:09
283,491,508
1
0
null
null
null
null
UTF-8
Python
false
false
33
py
print("""1 2 3 4 5 6 7 8 9 10""")
[ "68952160+LachezarKostov@users.noreply.github.com" ]
68952160+LachezarKostov@users.noreply.github.com
cf24c94ce98e3fb1e2c78b92f1d23984944d4d25
a0a4de63985601f0768bf139532aa061f56e309d
/mayolmol/mlmusings/mlio.py
5b6dd5675398faef6c12537b5768382fa72cad92
[]
no_license
fmonta/mayolmol
78ae0ae7d570d40b5b80c47a5424c4d9872406c4
b7e9cd1562ff96cd0a3ff22332a782eef5d1e93b
refs/heads/master
2021-01-17T08:35:50.142659
2011-09-01T10:10:49
2011-09-01T10:10:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,853
py
# -*- coding: utf-8 -*- """ Simple I/O without dependencies to any non-standard package other than numpy. mldata-utils, arff, orange and the like could be useful here. Requires python >= 2.6 """ import os.path as op import shlex import csv import math import numpy as np def generate_names(num, prefix='f-'): ...
[ "sdvillal@gmail.com" ]
sdvillal@gmail.com
842e0cee5dbf5dec8b02e78893ffbcf5473dd865
c80df62eee7b4b23827ca9e128326edbcc21dcee
/Database/SQLAlchemy/SQA project/complex queries.py
ce4caea407c15446341ed8a43d79ebd7e8b3631e
[]
no_license
nagagopi19/Python_learning_curve
ad39a312eca81f341231939673e5195c45d7bd9f
b0487d758f38e97cc0aaea3a81d13474c23a21b5
refs/heads/master
2023-06-01T13:46:15.646609
2021-06-09T09:54:44
2021-06-09T09:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
#%% import datetime as dt from sqlalchemy import and_, or_ from sqlalchemy.orm import sessionmaker from models import Book from crud import engine # creating session factory Session = sessionmaker(bind=engine) # creating session s = Session() #%% # session.query(Model).filter_by() method result = s.query(Book).fi...
[ "kbsawant1005@gmail.com" ]
kbsawant1005@gmail.com
616c381ce50170e76297b8633d7cb098f66fa520
19d7932245b6ef3e62567d747ff690421184fb40
/migrations/versions/81b71df9b10f_add_link_ad.py
7c2b951ff20a652419af6cc481f5ac44123de901
[]
no_license
soasme/hreftoday
ab6c084e9f7f3be80a643f0d7a3125aeb6b812d1
1254474a4eed5303bed5750a60a5e2fa1f02c899
refs/heads/master
2020-04-14T03:13:00.799310
2016-03-03T01:45:45
2016-03-03T01:45:45
50,923,594
1
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
"""add link ad Revision ID: 81b71df9b10f Revises: f687ca65d4ca Create Date: 2016-01-24 20:29:22.163156 """ # revision identifiers, used by Alembic. revision = '81b71df9b10f' down_revision = 'f687ca65d4ca' from alembic import op import sqlalchemy as sa def upgrade(): op.create_table( 'ad', sa.C...
[ "soasme@gmail.com" ]
soasme@gmail.com
68de76730245290214aee7240c2abc7f9362491a
7c688104f1fd816be603257116fb27040c620db3
/ReadNcharsGivenRead4.py
9310b65ff1f0db7fa8913941300a5f43a6843843
[]
no_license
xyzhangaa/ltsolution
5e22c6a12e1ba9f6dea18be69d45c6ac14bc4fe5
9445ba22d5f0c12fd12b17e6791d1b387f1c4082
refs/heads/master
2020-05-21T11:37:58.781437
2015-10-14T14:45:04
2015-10-14T14:45:04
32,817,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
# Time: O(n) # Space: O(1) # # The API: int read4(char *buf) reads 4 characters at a time from a file. # # The return value is the actual number of characters read. For example, it returns 3 if there is only 3 characters left in the file. # # By using the read4 API, implement the function int read(char *buf, int n) ...
[ "xyzpku06@gmail.com" ]
xyzpku06@gmail.com
dfde88d26c3ff53af999314352bbb0632f808e17
548c26cc8e68c3116cecaf7e5cd9aadca7608318
/scripts/sms_resend.py
dd67503272f1c9e60f3ccaeb2106d5cbd5dfa913
[]
no_license
Morphnus-IT-Solutions/riba
b69ecebf110b91b699947b904873e9870385e481
90ff42dfe9c693265998d3182b0d672667de5123
refs/heads/master
2021-01-13T02:18:42.248642
2012-09-06T18:20:26
2012-09-06T18:20:26
4,067,896
0
1
null
null
null
null
UTF-8
Python
false
false
623
py
import os, sys os.environ['DJANGO_SETTINGS_MODULE'] = 'tinla.settings' ROOT_FOLDER = os.path.realpath(os.path.dirname(__file__)) ROOT_FOLDER = ROOT_FOLDER[:ROOT_FOLDER.rindex('/')] if ROOT_FOLDER not in sys.path: sys.path.insert(1, ROOT_FOLDER + '/') # also add the parent folder PARENT_FOLDER = ROOT_FOLDER[:ROO...
[ "saumil.dalal@futuregroup.in" ]
saumil.dalal@futuregroup.in
2e07f4a841def11c82cff1b8d6b202d9074618c4
aed31882cb884ae936d61e2300607e1b91cb19f1
/python/model/assistance/justifications/__init__.py
80ea7f4ab958f8d22ddbfe58374ca9e0afadc43d
[]
no_license
pablodanielrey/angular
a34c48a1d5f929cf9b04defa76af2221b45c8582
75c05dd467ac686dd5e7ea0d8204a9362f49a2b2
refs/heads/master
2020-04-04T01:21:10.081705
2016-10-31T17:27:17
2016-10-31T17:27:17
27,824,636
1
1
null
null
null
null
UTF-8
Python
false
false
166
py
from os.path import dirname, basename, isfile import glob modules = glob.glob(dirname(__file__)+"/*.py") __all__ = [ basename(f)[:-3] for f in modules if isfile(f)]
[ "pablodanielrey@gmail.com" ]
pablodanielrey@gmail.com
fe075d66e8cc2db33d3596c4e60a69db328797b6
0e4860fecfdd34a3255003cc8c8df086c14083dd
/python/practise/带你学Django资料及源码/课堂与博客代码/视图/my_views/myupload/views.py
1dda2f65b925d89d1745e21e58f14b96aade6a80
[]
no_license
anzhihe/learning
503ab9a58f280227011da5eaa4b14b46c678e6f3
66f7f801e1395207778484e1543ea26309d4b354
refs/heads/master
2023-08-08T11:42:11.983677
2023-07-29T09:19:47
2023-07-29T09:19:47
188,768,643
1,443
617
null
2023-08-24T02:10:34
2019-05-27T04:04:10
Python
UTF-8
Python
false
false
1,526
py
from django.shortcuts import render from .models import User from django.http import HttpResponse from django.conf import settings from datetime import datetime import os from django.shortcuts import redirect, reverse import hashlib # Create your views here. def index(request): users = User.objects.all() ...
[ "anzhihe1218@gmail.com" ]
anzhihe1218@gmail.com
59716f28ac8e6b0580911c63e243f8675bbb7531
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/layout/template/data/_mesh3d.py
71757acf2c7fabea81b73278cf7d02f0594b8a0e
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
522
py
import _plotly_utils.basevalidators class Mesh3dsValidator(_plotly_utils.basevalidators.CompoundArrayValidator): def __init__( self, plotly_name='mesh3d', parent_name='layout.template.data', **kwargs ): super(Mesh3dsValidator, self).__init__( plotly_name=pl...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
cc76bf09d2d2503b089d2b6dc2847727a222ced5
681304b7a81cb73fff083d5f7a2c1371ea55678d
/py_ad_2_4.py
23ebd3ef248002d39c3975c3de4a9dd0d52d73e8
[]
no_license
mike-bskim/python_ex
fd62c69626f7d1351da54ff4993bd02a9e693306
4c6917f016584ba00ce70d448aeea0a892e8a8a3
refs/heads/master
2023-05-06T23:52:06.138185
2021-05-20T10:56:26
2021-05-20T10:56:26
367,157,162
1
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
""" Section 2 Parallelism with Multiprocessing - multiprocessing(3) - ProcessPoolExecutor Keyword - ProcessPoolExecutor, as_completed, futures, timeout, dict """ from concurrent.futures import ProcessPoolExecutor, as_completed import urllib.request # 조회 URLS URLS = ['http://www.daum.net/', 'http://www.cnn.c...
[ "mike-bskim@gmail.com" ]
mike-bskim@gmail.com
dc884f6555cf3f5c619047acff6c0b45f7803f48
0eb44ff8658f97d759b42293e53c80097d2fd0e3
/tests/common/test_client.py
b23b7d7afc30105e101d576d30a552c7afe34246
[ "MIT" ]
permissive
faheel/python-socketio
f1deeb9efca11bc0c350cb628c383ca6e743400b
55e3a6cb02471adff9fa6cd45774003f778b6db4
refs/heads/master
2020-05-15T11:33:20.942807
2019-03-27T23:18:10
2019-03-27T23:18:10
182,233,778
0
0
MIT
2019-04-19T08:49:03
2019-04-19T08:49:03
null
UTF-8
Python
false
false
32,262
py
import json import logging import sys import unittest import six if six.PY3: from unittest import mock else: import mock from engineio import exceptions as engineio_exceptions from engineio import packet as engineio_packet if six.PY3: from socketio import asyncio_namespace else: asyncio_namespace = No...
[ "miguel.grinberg@gmail.com" ]
miguel.grinberg@gmail.com
7e0add6bed9016627f48eda5fbf1b95c4aecea04
95a1a62cfb247df0be41f2e9fb3f8355b3a5cf9c
/controllers/index.py
5fd773d4dc42c515a5d83cdc209d80e8ebd04ede
[ "MIT" ]
permissive
yanqingluo/WebFtp
366f73396701f0decc3b034b2197b231736a0cd1
6c1405b502d0723fde23a9107a34808e5df54889
refs/heads/master
2021-06-28T07:11:57.011981
2017-09-12T04:19:42
2017-09-12T04:19:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,970
py
import tornado import tornado.web import os import json from models.webftp_orm import User, Files from config import DOWNLOAD_DIR from controllers.account import BaseHandler class IndexHandler(BaseHandler): @tornado.web.authenticated def get(self): file_list = [] objs = Files.select() f...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
6fbb9abd1cb5c7ca65fae0a7aea5384908f702f5
258b656d1b6864726864f89d4c8dc38fc633a48f
/odoo_addons_others/opyme_banks_cards_payments/models/bank_card_coupon.py
217959d0cd5ea2a6a94f952014a55e4fef10911a
[]
no_license
test-odoorosario/opt
c17e1c1767710ca8e13a799644fb85b07e83639b
77921b4d965f2e4c081d523b373eb306a450a873
refs/heads/master
2022-12-02T04:36:04.685119
2019-07-11T17:17:20
2019-07-11T17:17:20
196,436,293
0
1
null
2022-11-22T00:30:40
2019-07-11T17:13:21
Python
UTF-8
Python
false
false
3,014
py
# coding: utf-8 ############################################################################## # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # Licens...
[ "root@ip-172-31-8-107.sa-east-1.compute.internal" ]
root@ip-172-31-8-107.sa-east-1.compute.internal
40fc2774a3ea2bf6a1d4612ae3844275ea64e634
87c8ce4ef031e94f972a7b9a7c3001cba3426fa2
/Day16/entries/models.py
cd0f6fb8c175a05d534f44c874aed5ca258e6c43
[]
no_license
vinaychintha/Django-Batch-6
ca55da8c26cdf43ecb90db08b6a8225c7e5f2356
fe208a78c1cf8f18a8dae4c0dc09a9f35d99a806
refs/heads/master
2022-12-22T17:35:47.996941
2020-10-07T03:20:00
2020-10-07T03:20:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
from django.db import models # Create your models here. class Entry(models.Model): text=models.TextField() date_text=models.DateTimeField(auto_now_add=True) def __str__(self): return self.date_text
[ "anilpolineni09@gmail.com" ]
anilpolineni09@gmail.com
0adc492894f06f68f07c8b471db6e57e0d2c6726
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/message/message/tests/test__parse_tts.py
e45c9c4e24d093d0bd3d2718e94aaa4aa17570b4
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
366
py
import vampytest from ..fields import parse_tts def test__parse_tts(): """ Tests whether ``parse_tts`` works as intended. """ for input_data, expected_output in ( ({}, False), ({'tts': False}, False), ({'tts': True}, True), ): output = parse_tts(input_data) ...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
e5dd403a1826f57cce0c0b7d87b721d8fb9eeffa
8b9e9de996cedd31561c14238fe655c202692c39
/misc/hackerrank_Crush.py
056c58a969f979566c86a60b953fbb606f816ca6
[]
no_license
monkeylyf/interviewjam
0049bc1d79e6ae88ca6d746b05d07b9e65bc9983
33c623f226981942780751554f0593f2c71cf458
refs/heads/master
2021-07-20T18:25:37.537856
2021-02-19T03:26:16
2021-02-19T03:26:16
6,741,986
59
31
null
null
null
null
UTF-8
Python
false
false
1,383
py
"""hackerrank_Crush https://www.hackerrank.com/contests/w4/challenges/crush """ from collections import namedtuple def to_be_solve(): token = namedtuple('token', ['index', 'type', 'weight'], verbose=False) (N, M) = map(int, raw_input().split()) arr = [] test = [ None ] * (N + 1) for i in xra...
[ "laituan1986@gmail.com" ]
laituan1986@gmail.com
451b9bfeb35a6fb70f5131020f6994ce4ad6ab02
b6559661c06efc7e69096c4fedc08509545c2602
/mtpylon/service_schema/constructors/msgs_state_info.py
218779fc605b4ba25324e63a3effb609a7adf597
[ "MIT" ]
permissive
Zapix/mtpylon
ed29d8c67ab2b6b3fd8c6d84fc129e6e143600ff
b268a4e2d1bc641cace1962ea68de73c1156e44c
refs/heads/dev
2023-06-27T09:13:20.268691
2021-08-05T20:08:18
2021-08-05T20:08:18
306,233,058
9
0
MIT
2021-08-05T20:07:23
2020-10-22T05:34:36
Python
UTF-8
Python
false
false
244
py
# -*- coding: utf-8 -*- from dataclasses import dataclass from mtpylon import long @dataclass class MsgsStateInfo: req_msg_id: long info: bytes class Meta: name = 'msgs_state_info' order = ('req_msg_id', 'info')
[ "zap.aibulatov@gmail.com" ]
zap.aibulatov@gmail.com
c6c7ef4dcc23617042881ebbcca003f7a63b7d69
284f4f56aed56573eb5516aa67c99bf41e595522
/HackerRank/10-days-of-statistics/mean-mediam-mode.py
da1ae9f2533abc3816510658816773a94cacb08a
[]
no_license
rohangoli/PythonAdvanced
537a05eff9ec305a6ec32fa2d0962a64976cd097
6448a5f0d82c7e951b5e476638e15a3c34966cd9
refs/heads/develop
2023-07-20T04:33:50.764104
2023-07-14T04:04:18
2023-07-14T04:04:18
126,811,520
0
0
null
2022-06-10T23:07:10
2018-03-26T10:20:16
Jupyter Notebook
UTF-8
Python
false
false
788
py
# Enter your code here. Read input from STDIN. Print output to STDOUT def mean(val_list,n): return sum(val_list)/n def median(val_list,n): val_list.sort() if(n%2==0): return (val_list[int(n/2)]+val_list[int(n/2 - 1)])/2 else: return val_list[int(n/2)] def mode(val_list,n): val_cou...
[ "rohanr27@gmail.com" ]
rohanr27@gmail.com
e1e0ca35102ade0bd1ff151a023ac3a08a842d78
8a780cb47eac9da046bdb5d6917f97a086887603
/problems/find_in_mountain_array/solution.py
d3a293bc47fe0d9edfd48ff62c8df3700ffbdcec
[]
no_license
dengl11/Leetcode
d16315bc98842922569a5526d71b7fd0609ee9fb
43a5e436b6ec8950c6952554329ae0314430afea
refs/heads/master
2022-12-20T03:15:30.993739
2020-09-05T01:04:08
2020-09-05T01:04:08
279,178,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
# """ # This is MountainArray's API interface. # You should not implement it, or speculate about its implementation # """ #class MountainArray: # def get(self, index: int) -> int: # def length(self) -> int: class Solution: def findInMountainArray(self, target: int, mtn: 'MountainArray') -> int: n = m...
[ "ldeng1314@gmail.com" ]
ldeng1314@gmail.com
196e4de4cf84c930b606a2e71050a14b1abcb16b
b4ca78134c296d8e03c39496bcc57369fd5f619b
/kubehub/proxmox/vmg_create_data_formation.py
d44410e4be02db187f4ff1d9fc3615e79e8abe7f
[]
no_license
dedicatted/kubehub-backend
7f4b57033962f1ef8604a2cee0cf55bebd533ec9
3b944e462f5366b2dbad55063f325e4aa1b19b0e
refs/heads/master
2023-02-05T04:44:50.213133
2020-06-10T15:02:03
2020-06-10T15:02:03
236,169,121
1
1
null
2023-01-24T23:19:38
2020-01-25T12:45:32
Python
UTF-8
Python
false
false
618
py
from ..models.proxmox_cloud_provider import ProxmoxCloudProvider from ..proxmox.get_vmid import get_vmid def vmg_data_formation(data): cloud_provider_instance = ProxmoxCloudProvider.objects.get(pk=data['cloud_provider']) vms = data.get('template_vms') if 'template_vms' in data else data.get('image_vms') v...
[ "noreply@github.com" ]
dedicatted.noreply@github.com
280c0b6bd8a3d98f70fb2513e96d19c79aed9029
bf8d344b17e2ff9b7e38ad9597d5ce0e3d4da062
/dataset/spine_coco/download_spine_coco.py
2b23dd6387b66a9e42f26b59e5fe6fea7bf81d7d
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleDetection
e7e0f40bef75a4e0b6dcbacfafa7eb1969e44961
bd83b98342b0a6bc8d8dcd5936233aeda1e32167
refs/heads/release/2.6
2023-08-31T07:04:15.357051
2023-08-18T02:24:45
2023-08-18T02:24:45
217,475,193
12,523
3,096
Apache-2.0
2023-09-10T10:05:56
2019-10-25T07:21:14
Python
UTF-8
Python
false
false
1,029
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
d14ac4a0ce11da36129bf728fa6c3c436f7506c2
b72d31bcecea1046943c4e5a879af233be2069e8
/src/apps/entrez/settings.py
87d4726322cf66f11ce7c9aa449c93da0e5bcce9
[]
no_license
indexofire/mars
f9b04c5dbc6d4d997314837bcf10953b5b17600a
ba400d19790839a88615df19470a5ea1dfe4cca8
refs/heads/master
2021-01-16T21:00:50.737555
2013-08-20T06:17:24
2013-08-20T06:17:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
# -*- coding: utf-8 -*- from django.conf import settings from django.utils.translation import ugettext_lazy as _ ENTREZ_DEFAULT_CHOICES = ( ("pubmed", "Pubmed"), ("epigenomics", "Epigenomics"), #("pmc", "Pubmed Central"), #("protein", "Protein"), ("nuccore", "Nucleotide"), #("nucgss", ), #...
[ "indexofire@gmail.com" ]
indexofire@gmail.com
407fb454ef0b3ef099fb0bf03f868f9082e836e7
9e0001c88b79f8d4b209ec1a9e22b06e71b91905
/system.d/library/tools_installer/tools_to_install/impacket/examples/mssqlinstance.py
65984d687bb7ccf7ecbdab017a18473203cd7594
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "Apache-1.1", "BSD-2-Clause", "MIT" ]
permissive
drolim/PiBunny
c46f5da995c9d224e5f822963fedd00059eb18d3
1ee5ddb2f1562d6f3ced31261b6b2f63cad26d0f
refs/heads/master
2020-06-16T01:37:52.323000
2019-07-07T17:55:31
2019-07-07T17:55:31
195,445,899
0
0
MIT
2019-07-05T17:27:35
2019-07-05T17:27:34
null
UTF-8
Python
false
false
1,407
py
#!/usr/bin/env python # Copyright (c) 2003-2016 CORE Security Technologies # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # Description: [MC-SQLR] example. Retrieves the instances names from the target h...
[ "tholum@couleetechlink.com" ]
tholum@couleetechlink.com
424a71f57a3fe7aecb12a9b07485fcfc765aff33
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_138/1568.py
1033b30557dfc8d124806753991652ab0dc3d25a
[]
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
812
py
outwr = '' waf = open('war.txt', 'r') conts = waf.read().split('\n') waf.close() def prune(first, second, other = False): first = sorted(first) second = sorted(second) pointsA = len(first) pointsB = 0 print('') for i in first: if second[-1] > i: j = 0 while second[j] <= i: j += 1 ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
79fd5c24fe07a96dcaa52d47c6b3451dfc9aba6c
61c5e09687eec1947171c5c1931839d826bf835d
/csv_to_jsonl.py
c1e51cb4715f59159912a9f2c2a9ff3be99679e8
[]
no_license
messa/tools
7066b54578d939b5a41b4d7b3751aecdafc5e420
8e4abf1dc5489d25b06c11a0315d00ab0269223d
refs/heads/master
2021-12-23T06:49:43.284258
2021-12-14T11:29:15
2021-12-14T11:29:15
2,470,986
0
0
null
null
null
null
UTF-8
Python
false
false
2,296
py
#!/usr/bin/env python3 import argparse import csv import json import logging import os import reprlib import sys logger = logging.getLogger(__name__) _repr_obj = reprlib.Repr() _repr_obj.maxstring = 200 _repr_obj.maxother = 200 smart_repr = _repr_obj.repr def main(): p = argparse.ArgumentParser() p.add_...
[ "petr.messner@gmail.com" ]
petr.messner@gmail.com
d7244c2c7c9a2df49a3035e92a81bc37e2beecb1
39bc44007ad4832f009585227a29676bac3dca03
/.zsh.d/bin/generate_virtualenv_script.py
f27f85df50d54ae8245cc0e481b715bb23b841d7
[]
no_license
toastwaffle/dotfiles
397aee4823fe627ac7e8b942c2151558aae30069
5b24631b6328d8c72ea5903585b7854826b32c1a
refs/heads/master
2023-06-22T08:23:54.728379
2023-06-17T10:25:45
2023-06-17T10:25:45
51,962,713
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
#!/usr/bin/env python3 """Generate a virtualenv script which installs bpython.""" import os import textwrap import virtualenv SCRIPT_NAME = os.path.join(os.path.dirname(__file__), 'make_virtualenv.py') with open(SCRIPT_NAME, 'w') as f: f.write(virtualenv.create_bootstrap_script(textwrap.dedent(""" import...
[ "samuel.littley@toastwaffle.com" ]
samuel.littley@toastwaffle.com
f48fd31c34aa684ffb10b3ccfde19cea3d4f1ba0
ce2b5ca9a6f0d67a8305a7c2ec16974953b48c55
/GR1/formal_Class/json_loginng/module4.py
ad7f808b5598c9db3a1e2ae99a6eb2d3fbdd22f8
[]
no_license
xiaoloinzi/worksplace
43fc36cf9c795e5aedab3d35d4bf7f63fe63eab1
2d7a0a062cf7b60bbc2b40d283f1c427e6c679c9
refs/heads/master
2020-05-30T22:07:17.059307
2019-06-03T10:49:57
2019-06-03T10:49:57
189,986,579
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# encoding=utf-8 import logging logger = logging.getLogger('mudule4') def fuc4(): logger.info('exexute func4 begin') a = 1+2 logger.info('exexute func4 end')
[ "xiaoloinzi@163.com" ]
xiaoloinzi@163.com
714517c9b4004911ad53de4d6e753f7167271988
0ff4f76412bb1989d13c67de2ef945d4e5a206ec
/ques3.py
536beca38b42c4f8c1a1227835ad705b41bc00e1
[]
no_license
GLAU-TND/python-lab-baba5465
eb4b702d968c237287bdf85c8df92e14717b2930
f07b092ed7ed07e93a426611e18b1d01c836a72f
refs/heads/master
2020-09-27T10:49:01.254114
2019-12-07T11:25:55
2019-12-07T11:25:55
226,498,940
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
def errors(): try: a=int(input()) except Exception as e: print(type(e).__name__,e) except KeyboardInterrupt as e: print(type(e).__name__,e) errors()
[ "noreply@github.com" ]
GLAU-TND.noreply@github.com
b533a670357ab8075084d1f36ae37d4b787fb3a6
aa853a9094fff4b6e9b0ddc7469be29ad5f0f811
/poi_logistic/res_company.py
fe5d15d87601e6c965aeedb50ddfad4a4d316def
[]
no_license
blue-connect/illuminati
40a13e1ebeaceee39f17caa360f79e8deeaebf58
6682e60630064641474ddb2d8cbc520e30f64832
refs/heads/master
2022-01-06T00:55:58.465611
2018-11-24T04:30:03
2018-11-24T04:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
############################################################################## # # OpenERP, Open Source Management fSolution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public ...
[ "yori.quisbert@poiesisconsulting.com" ]
yori.quisbert@poiesisconsulting.com
9290ccfedfeab577042b2d67629696c0a202c194
2b398353f5b0529ac666ef180e9dc966474a70c0
/vspk/v5_0/fetchers/nuospfinterfaces_fetcher.py
9020c07b8fa9547eae8e41135bd75ec8d784f948
[ "BSD-3-Clause" ]
permissive
nuagenetworks/vspk-python
e0c4570be81da2a4d8946299cb44eaf9559e0170
9a44d3015aa6424d0154c8c8a42297669cce11f9
refs/heads/master
2023-06-01T01:12:47.011489
2023-05-12T19:48:52
2023-05-12T19:48:52
53,171,411
21
18
BSD-3-Clause
2020-12-16T12:36:58
2016-03-04T23:10:58
Python
UTF-8
Python
false
false
2,142
py
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc, 2017 Nokia # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrigh...
[ "corentin.henry@nokia.com" ]
corentin.henry@nokia.com
2a43ae2250f4c66ba1c0e82059da079b3fb5d5f5
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/tests/kyu_8_tests/test_greek_sort.py
313e81854d6bf965d4c4b5ddd257cec44f4452e4
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import unittest from katas.kyu_8.greek_sort import greek_comparator class GreekComparatorTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(greek_comparator('alpha', 'beta'), -1) def test_equals_2(self): self.assertEqual(greek_comparator('chi', 'chi'), 0) def test_equa...
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
2c6799bbd2ed51361883293f85590e168afa75fc
9f884a3584eef771f8c010e296c5d763098be243
/povary/apps/recipes/migrations/0021_auto__add_recipedescstep__add_unique_recipedescstep_recipe_step_num.py
d8ec126e2bb633de150e53feee052753a50f8556
[ "BSD-3-Clause" ]
permissive
TorinAsakura/cooking
fc8658ce2ac21c2e00dc307399a5fa24971a20c1
cf0c78f613fa9ce0fcd4ec7a397ab880d9dd631a
refs/heads/master
2023-01-24T13:07:38.529811
2020-12-08T22:14:33
2020-12-08T22:14:33
319,773,012
0
0
BSD-3-Clause
2020-12-08T22:14:34
2020-12-08T22:08:34
null
UTF-8
Python
false
false
23,367
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'RecipeDescStep' db.create_table('recipes_recipedescstep', ( ('id', self.gf('djan...
[ "me@torinasakura.name" ]
me@torinasakura.name
cbeac0a24d22d5354c330e609d28162d59e077c4
1b1b5908dce757e9aa638507baa788f0f0e16611
/rango/migrations/0001_initial.py
7acceafc67fd6c34a79edccb9260a71af84967f4
[]
no_license
mish24/Rango
5223f1c43ce74e2f336d95a3f03621b05d5af049
fea0b6364bc265cdc09c75f745dd317fd38c0422
refs/heads/master
2021-04-28T21:34:44.014904
2017-01-04T21:27:26
2017-01-04T21:27:26
77,769,000
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-01 10:31 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "poonammishra24398@gmail.com" ]
poonammishra24398@gmail.com
fd6d00ef6b2c9c3a2fb4de6507162274609776dc
c772a7006b37787a343fa2811da975f5b6c5d5aa
/4-Behavioral Patterns/4-Visitor Pattern/School Example/Python/visitor.py
04c6f1d4920622b5aa66594bb6dece446e2c8f6b
[ "MIT" ]
permissive
Ziang-Lu/Design-Patterns
99bcc16a724a08590de180dfceb78108c14e78ae
7a8167a85456b481aba15d5eee5a64b116b00adc
refs/heads/master
2021-06-10T12:36:09.383930
2021-03-25T07:58:14
2021-03-25T07:58:14
147,261,584
2
1
null
null
null
null
UTF-8
Python
false
false
2,494
py
#!usr/bin/env python3 # -*- coding: utf-8 -*- """ School visitor module. """ __author__ = 'Ziang Lu' import random from abc import ABC, abstractmethod class SchoolVisitor(ABC): """ Abstract SchoolVisitor class that works as "Visitor". This class encapsulates the executing algorithm (operation) on eleme...
[ "ziangl@alumni.cmu.edu" ]
ziangl@alumni.cmu.edu
cb310a0ae03e11712050a96efabc51cdbfcb6d57
8ebc3925894d4f796efb703cdf3254fc56724c3a
/aws-py-django-voting-app/frontend/mysite/polls/admin.py
565e8ecade858b37cbd5a3a37d3f2180ffc11a8a
[ "Apache-2.0" ]
permissive
pulumi/examples
8db27b8847f8c05bcc8d99cdec8eb6c7b7ffa2a3
26ffb4bb327f00457796c96676e7db5e25e2bbd6
refs/heads/master
2023-09-04T04:56:53.098380
2023-08-31T14:33:12
2023-08-31T14:33:12
108,589,232
2,156
974
Apache-2.0
2023-09-13T23:27:18
2017-10-27T19:50:31
TypeScript
UTF-8
Python
false
false
129
py
from django.contrib import admin from .models import Question, Choice admin.site.register(Question) admin.site.register(Choice)
[ "noreply@github.com" ]
pulumi.noreply@github.com
f909e1a0a0948ca9cd2598f159fd95e5f50c2d9b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_offerings.py
d78331dd0e6111f56b47ff395517e5be0ced045b
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from xai.brain.wordbase.nouns._offering import _OFFERING #calss header class _OFFERINGS(_OFFERING, ): def __init__(self,): _OFFERING.__init__(self) self.name = "OFFERINGS" self.specie = 'nouns' self.basic = "offering" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7cacfdf1bc2d1e4aac36d103c19d1ff2cb5beaa0
f81910ec71029697d373f28c8d641e5df8318a1f
/octavia/tests/unit/controller/worker/flows/test_load_balancer_flows.py
951e8b5bb187fc9161ac2487aa97e602486de695
[ "Apache-2.0" ]
permissive
yi-cloud/octavia
b8278366a87f65d21ef5cb4aab1b80f176a34b23
b7f5cfa4c3c454925a90c24984049539228806d7
refs/heads/master
2023-06-18T12:17:45.925077
2021-07-18T03:40:52
2021-07-18T03:40:52
387,082,143
0
0
null
null
null
null
UTF-8
Python
false
false
10,798
py
# Copyright 2015 Hewlett-Packard Development Company, L.P. # # 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...
[ "675046166@qq.com" ]
675046166@qq.com
c9485c0cb76b12cd50978748e61a9e4fbd3a9319
bc836a7979172457a0f79d2739b52d297aceda0a
/aid1807正式班老师课件/Django/Day05-1(DjangoDemon03最终版)/DjangoDemo03/index/views.py
698de457b2637ee95ca3b584c09d581ba14d3ac4
[]
no_license
a3910/aid1807-1
8741ea9ddd84a28ab932a3b3236b793259b49e78
b27e5ea0074f5371c46f948330dc0d98e542dcd9
refs/heads/master
2020-04-06T17:32:25.022357
2018-11-29T12:00:36
2018-11-29T12:00:36
157,663,830
0
0
null
null
null
null
UTF-8
Python
false
false
6,659
py
from django.db.models import Sum, Avg,F,Q from django.db import connection from django.http import HttpResponse from django.shortcuts import render, redirect from django.urls import reverse from .models import * def parent_views(request): return render(request,'01-parent.html') def child_views(request): return r...
[ "1767125741@qq.com" ]
1767125741@qq.com
4022e2efb2301a6c700b1c480be72dab79f6f6d0
0e4a7edf1d614bd7c9d2fe5a5a12aa15b63efd41
/dj11/enroll/models.py
ae9155b9bc1a5b9b9f7d8c4c63f35044f4a31748
[]
no_license
rgrohit80/django_course
74d3543155dd29bfb057c7089ee4be62eccd2534
99a9e8e2905d12aa41914a790f5aac38e25e7aa2
refs/heads/main
2023-01-01T00:27:29.207402
2020-10-23T05:11:02
2020-10-23T05:11:02
306,141,074
0
0
null
2020-10-23T05:11:03
2020-10-21T20:33:28
Python
UTF-8
Python
false
false
227
py
from django.db import models # Create your models here. class Person(models.Model): name = models.CharField(max_length=100) email = models.EmailField(max_length=100) password = models.CharField(max_length=100)
[ "rohit.kumar4@happiestminds.com" ]
rohit.kumar4@happiestminds.com
3bce7ddc48946136c0f0d92e3e65c76407aaf45a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_102/ch41_2019_09_03_22_25_26_779117.py
bc4ff3e7c58a3c90e7f89256b086abbc93e5fcce
[]
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
191
py
senha = True while senha: x = str(input("Tenta acertar minha senha:")) if x == andre : print("desisto") else: print("Você acertou a senha!") senha = False
[ "you@example.com" ]
you@example.com
1fb9f5b36d2382a723880b7e69529dadab864c07
2ebc33d68fd15055198be872a87cb9f1af876970
/blog.py
fd22c6d03c91a4623d657140602b9f9f927b7abb
[]
no_license
MaistrenkoAnton/ATDD
35cf235ac3b32e529095139f5c816084a1a18f5b
e4b572c92c63e51923147f8c8e2f3762c7dd4a61
refs/heads/master
2023-05-10T20:58:13.358738
2019-07-30T09:51:26
2019-07-30T09:51:26
198,853,457
1
0
null
null
null
null
UTF-8
Python
false
false
556
py
from post import Post class Blog: def __init__(self, title, author): self.title = title self.author = author self.posts = [] def __repr__(self): return f'{self.title} by {self.author} ({len(self.posts)} post{"" if len(self.posts) == 1 else "s"})' def create_post(self, tit...
[ "it2015maistrenko@gmail.com" ]
it2015maistrenko@gmail.com
00252d4c1604a177f8925616d8333aa728be0216
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/util/BoundedInputStream.pyi
fc1dcd21e94d5f66df9ff57774072d71ac4b54ad
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,734
pyi
from typing import List import java.io import java.lang class BoundedInputStream(java.io.InputStream): """ InputStream wrapper that limits itself to a portion of the wrapped stream. """ def __init__(self, wrappedInputStream: java.io.InputStream, size: long): """ Creates a new inst...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
50075babd10ab68f6e3906833e2f62ac4f2d54ef
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/ff854d83b6454e27b7022c8a6af57360.py
00731978bc5ac18fa53b532cdaba22535e5b021f
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
205
py
def hey(strng): x = strng if x == '' or x.isspace() == True: return 'Fine. Be that way!' elif x.isupper(): return 'Woah, chill out!' elif x[-1] == '?': return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
16a5b8cbcb5fb8ea71941a723d7de310426d9fa2
851becc0c75a361988fee0d4ba900d40481ca6ef
/alerta_alcohol/config/configuracion_alerta_alcohol.py
4676da81a0a2c402d54995ec3ae786d9fc756b54
[ "MIT" ]
permissive
Nirchains/alerta-alcohol
78b10231d1c97302a60e57defabee57d0f06480b
f6a498285507412fb3d0251d0b8bc4c0203e5f7f
refs/heads/master
2021-07-07T05:52:16.491277
2021-05-17T20:02:26
2021-05-17T20:02:26
237,933,995
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Configuracion Alerta Alcohol"), "icon": "fa fa-group", "items": [ { "type": "doctype", "name": "Proyecto", "description": _("Proyectos"), "onboard": 1, }, { "type": "doct...
[ "nirchains@gmail.com" ]
nirchains@gmail.com
cc005e9590b646276777a921946a6b38835082e0
3242434a38903e8246fd3e4f1fb0a6969ffaff31
/login/urls.py
3015c5efcd9bda6495b06197f27d9bee89f5def3
[]
no_license
minhduc9699/tk-mega_apps
17434ad17b283641f7ea2f2fbec1075af31d4248
3f06bce6f1d74d9d896e7278212490d8c46c83e2
refs/heads/master
2022-12-09T10:59:59.931857
2019-10-27T19:32:39
2019-10-27T19:32:39
160,795,813
0
0
null
2022-12-08T02:48:27
2018-12-07T08:39:17
CSS
UTF-8
Python
false
false
188
py
from django.urls import path from . import views app_name = 'login' urlpatterns = [path('', views.index, name="index"), path('logout', views.logout_view, name='logout')]
[ "minhduc.096.99@gmail.com" ]
minhduc.096.99@gmail.com
d23e73c4ab8b66519cd79c098fc8a8d1ebc17f77
bdbeb8435b05b9d6e6dda9ff3aecd89f89048514
/sxcp/edw_ai/five_rst_table_sqoop.py
b744fedf6a583b4e0cb54f1abe6cb81c25bb02bb
[]
no_license
wugeer/vnote
912cc0c5dfe578b1ac30aff6cb2ef1c7ff8a5089
9636de807931bf14731f2a14973df0f0c0adf3d7
refs/heads/master
2020-03-23T23:19:51.024962
2019-05-01T06:33:54
2019-05-01T06:33:54
142,228,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
import os five_rst_table = ["sqoop --options-file sqoop_option.txt --table rst_product_onsale_history --hive-database rbu_sxcp_edw_ai_dev --delete-target-dir --hive-import --hive-table rst_product_onsale_history --hive-overwrite --null-string '\\\\N' --null-non-string '\\\\N' --hive-drop-import-delims -m 1 -- --sch...
[ "3295468820@qq.com" ]
3295468820@qq.com
9051b14be79513f77bb034711139264d8a4a8f2a
ed90fcbfd1112545fa742e07131159bb3a68246a
/server-auth/ls/google-cloud-sdk/lib/googlecloudsdk/compute/subcommands/https_health_checks/list.py
7357acc07ae45c57b0c93079ab8660cc9912f371
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
wemanuel/smry
2588f2a2a7b7639ebb6f60b9dc2833f1b4dee563
b7f676ab7bd494d71dbb5bda1d6a9094dfaedc0a
refs/heads/master
2021-01-10T21:56:55.226753
2015-08-01T13:37:06
2015-08-01T13:37:06
40,047,329
0
1
Apache-2.0
2020-07-24T18:32:40
2015-08-01T13:26:17
Python
UTF-8
Python
false
false
450
py
# Copyright 2014 Google Inc. All Rights Reserved. """Command for listing HTTPS health checks.""" from googlecloudsdk.compute.lib import base_classes class List(base_classes.GlobalLister): """List HTTPS health checks.""" @property def service(self): return self.compute.httpsHealthChecks @property def r...
[ "wemanuel@symon.eightwoods.private.prv" ]
wemanuel@symon.eightwoods.private.prv
3fc7047326d15ae066dc4013d677e2682a9d689b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02726/s666780055.py
bc9c68b9c2ce5b2ab7bf2939bd5c85726616db5f
[]
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
304
py
n,x,y = map(int,input().split()) ans = [] for i in range(n-1): ans.append(0) for m in range(1,n): for a in range(1,n-m+1): d = abs(m - x)+ abs(m + a - y) +1 if a <= d: ans[a-1] = ans[a-1] + 1 else: ans[d-1] = ans[d-1] + 1 for l in ans: print(l)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1f8620d82c55dc20f18950b53c749cb0e8d5c232
3940b4a507789e1fbbaffeb200149aee215f655a
/lc/review_258.AddDigits.py
d7737bec40e5308c763f985e68197487360e6c9c
[]
no_license
akimi-yano/algorithm-practice
15f52022ec79542d218c6f901a54396a62080445
1abc28919abb55b93d3879860ac9c1297d493d09
refs/heads/master
2023-06-11T13:17:56.971791
2023-06-10T05:17:56
2023-06-10T05:17:56
239,395,822
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# 258. Add Digits # Easy # 1619 # 1457 # Add to List # Share # Given an integer num, repeatedly add all its digits until the result has only one digit, and return it. # Example 1: # Input: num = 38 # Output: 2 # Explanation: The process is # 38 --> 3 + 8 --> 11 # 11 --> 1 + 1 --> 2 # Since 2 has only one digi...
[ "akimi.mimi.yano@gmail.com" ]
akimi.mimi.yano@gmail.com
dbae15d7eec9516086f4808b4a9a384c4144a754
9187131d6a06e4a2cd56a0eb6d20604b38ea2359
/apitest/page/baseTestCase.py
c2fbee4ffbd671a3161e9c4fcfb0d45b6e491cd7
[]
no_license
hikaruwin/hikaru
0dc75843047c01023327854798fbf4999e710f57
1675192d4584609bb1f678c2e5a82c06915ab25e
refs/heads/master
2020-03-27T23:33:14.958007
2018-09-04T10:29:40
2018-09-04T10:29:40
147,327,361
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
# coding: utf-8 from appium import webdriver from selenium import webdriver import unittest import os PATH = lambda p: os.path.join(os.path.dirname(__file__), p) class AppTestCase(unittest.TestCase): def setUp(self): desired_caps = {} desired_caps['platformName'] = 'Android' desired_caps...
[ "your email" ]
your email
f31d62704d24fef65e395a22f01aa29b01d9e87f
ce42f14ac3c22a5530d5616b9af7648cd4095364
/backend/sleep_tracker_24867/settings.py
99602476b270e03924eddd66248137c636acf0c8
[]
no_license
crowdbotics-apps/sleep-tracker-24867
42bc478d79c656c5fdd4a906c335cd0078abf8f1
7453d64af920184dc513b3c8b46e4656ea47fb80
refs/heads/master
2023-03-13T02:16:42.290328
2021-03-05T09:34:25
2021-03-05T09:34:25
344,753,938
0
0
null
null
null
null
UTF-8
Python
false
false
7,123
py
""" Django settings for sleep_tracker_24867 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
697888a566721c534bfa5021722e52ea4d3877e6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/129/usersdata/217/34148/submittedfiles/al7.py
cab5971d1c96eabbb33ee0de083f64f109dba6cb
[]
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
210
py
# -*- coding: utf-8 -*- n=int(input('digite um númeo inteiro:')) soma=0 for i in range(1,n,1): if n%i==0: soma=soma+1 print(i) if soma==n: print(perfeito) else: print(não perfeito)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
38b33f31932b30f28be9239d860d766604f4f295
1d22e0cc8db1ddbdab6c06a049ccc15f35dfff99
/ann_class2/tf_with_save.py
ccf4ed4dd785cd2589331fc291ef65f6bba1c3bb
[]
no_license
JiaxinYu/machine_learning_examples
59f37335407d9b9523a6879602ad3d58eac7da77
db49879ca5efd34e7d2ad6c3ddf1fb4854c24429
refs/heads/master
2020-06-11T07:24:29.871826
2016-11-27T17:54:19
2016-11-27T17:54:19
75,734,758
1
0
null
2016-12-06T13:39:27
2016-12-06T13:39:27
null
UTF-8
Python
false
false
4,015
py
# https://www.udemy.com/data-science-deep-learning-in-theano-tensorflow import json import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from util import get_normalized_data, y2indicator def error_rate(p, t): return np.mean(p != t) class TFLogistic: def __init__(self, savefile, D=None, ...
[ "sublime.balloon@gmail.com" ]
sublime.balloon@gmail.com
7942cd9ce187df4221d9300aa8fd144ceffe43fa
f7274ac5f29265a7eb1d428a89690fdfb7521659
/tasks_app/__init__.py
a369dfc6a6016ac9cc6f9f820c8d7083597ba082
[]
no_license
satish24011993/abc_proj
7da95c327317c045e9e4e9f9fc19fb89e3bde31a
6635ff1a7b0af1f92e02cebfe3557fdf2968cc9d
refs/heads/master
2023-04-02T05:40:34.254798
2021-04-16T12:34:10
2021-04-16T12:34:10
358,545,384
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
default_app_config = 'tasks_app.apps.TasksAppConfig'
[ "satishkurakula073@gmail.com" ]
satishkurakula073@gmail.com
cfe60a4845f80585cf18be4826ab959dae2d9cf5
54a542044219e3f4ee07138e4eaf908dfe2d7ae3
/electric_car.py
5ad9c6920635a7e7534eb3f1c084fc5a307b76fc
[]
no_license
laboyd001/python-crash-course-ch9
1229d897f391d52320b4191a5b999104b1573b89
f8769e61c34334ae9af131ba105bc078aee1acbe
refs/heads/master
2020-04-13T17:46:04.798831
2018-12-28T02:21:37
2018-12-28T02:21:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
#inheritance class Car(): """A simple attempt to represent a car.""" def __init__(self, make, model, year): """Initialize attributes to describe a car.""" self.make = make self.model = model self.year = year #add odometer reading self.odometer_reading...
[ "lesley.a.boyd1@gmail.com" ]
lesley.a.boyd1@gmail.com
479e28111c3f906d0a2272404a4ab828d7152258
368be25e37bafa8cc795f7c9f34e4585e017091f
/.history/app_fav_books/views_20201115141908.py
91ea8a9a5954ff9c5e06254b218904762310ba01
[]
no_license
steven-halla/fav_books_proj
ebcfbfda0e7f3cdc49d592c86c633b1d331da513
512005deb84ac906c9f24d4ab0939bd0db096716
refs/heads/master
2023-03-30T09:37:38.016063
2021-04-02T20:27:22
2021-04-02T20:27:22
354,125,658
0
0
null
null
null
null
UTF-8
Python
false
false
4,442
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages # contains user signup + login form def view_index(request): return render(request, "index.html") # user signup form will post to a url (/register) which maps to this function def register_new_user(request): ...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
d91aa5d5dd507d6411197e3a656058ef693e03f3
aa2157e595b89c3512857e41fee16e8b11d7a657
/Fresher Lavel Logical Programms/program to print the smallest element in an array.py
d80e0666f83efbead94a2f8cb91cc0182075bbf5
[]
no_license
biswaranjanroul/Python-Logical-Programms
efee6276eea3eafab9ee6b6e7e0910b715a504d1
152dcecf2ecae7891a11769f250a4dc8d9d6b15f
refs/heads/master
2022-12-15T07:37:45.978218
2020-09-17T13:24:53
2020-09-17T13:24:53
296,326,250
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
# Initialize array arr = [25, 11, 7, 75, 56]; # Initialize min with the first element of the array. min = arr[0]; # Loop through the array for i in range(0, len(arr)): # Compare elements of array with min if (arr[i] < min): min = arr[i]; print("Smallest element present in given array: " + str(min))
[ "biswaranjanroul2@gmail.com" ]
biswaranjanroul2@gmail.com
2dd1f4731568393c1b69ff8e2a0f30d44e8c63d0
85e27209a7df58f76ab0f9f2ed13b1c6ac31ffc9
/tests/test_pyrobot_noisy_controls.py
eb4a5252a50c48e88fd2fb6c1a1bdb24b3e51e95
[ "CC-BY-4.0", "CC-BY-3.0", "MIT" ]
permissive
facebookresearch/habitat-sim
72a78877c412fef1d42a553f896654c71c54d245
6f46bccc1733f4cec30b89d994ac55df2b46eb4a
refs/heads/main
2023-09-03T00:17:30.809849
2023-08-29T16:06:16
2023-08-29T16:06:16
169,164,539
1,924
432
MIT
2023-09-14T17:12:21
2019-02-04T23:14:28
C++
UTF-8
Python
false
false
4,814
py
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import numpy as np import pytest import quaternion as qt import habitat_sim import habitat_sim.errors import habi...
[ "noreply@github.com" ]
facebookresearch.noreply@github.com
cab872cf4be795a688c578d085d7b8708154997d
3d0ae7c8693463faa11bacad8e6ea9d0d70b9eb1
/nlp/src/orangeUtils.py
ca84e0ce41f2d7a9661975480aac6e258ab1fd19
[]
no_license
stefie10/slu_hri
a76f79094bd1740676fec5d889411ba3b1d9dc26
50753379953e1ff822162eeab094cffe4a30f3e1
refs/heads/master
2022-12-14T01:07:51.522258
2020-08-31T00:50:12
2020-08-31T00:50:12
291,386,375
0
0
null
null
null
null
UTF-8
Python
false
false
5,315
py
import math2d import orngStat import numpy as na import orange import orngTest def accuracy(cm): return float(cm.TP + cm.FP) / (cm.TP + cm.FP + cm.FN + cm.TN) def fScore(cm): try: return orngStat.F1(cm) except ZeroDivisionError: return 0 def crossValidateWithSeparateTrainingAndTesting(tra...
[ "stefie10@alum.mit.edu" ]
stefie10@alum.mit.edu
6ac25f4c86a1639ed8a6a1f642c0e753306257a5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2584/61143/243876.py
436808d5340b9d484370b91f47e32c230db4548f
[]
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
265
py
num = eval(input()) #if num <= 3: # print("True") #elif num == 4: # print("False") #else: # print("True") #两人一回合拿走的石子数量有:2、3、4、5、6 #所以4的倍数的石头会输 if num % 4 == 0: print("False") else: print("True")
[ "1069583789@qq.com" ]
1069583789@qq.com
cbca0caa0917d657a89ce0b994790ffdadea128a
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/MLD-SNOOPING-MIB.py
f57b3b73dc71f3501d4f814167338731e849df98
[ "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
15,683
py
# # PySNMP MIB module MLD-SNOOPING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MLD-SNOOPING-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:03:24 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
9609ceb34ec3f798cd2c4bfb01c883e02ded0dbc
f8798d038e17fbd6432477943a5987b346dbe8b1
/linepy/__init__.py
24fb3115a360deac9fafce7df15b4b493d590bd8
[ "MIT" ]
permissive
inctoolsproject/LINE-PublicBOT
2b0b1dd9d5c577a8e243d40ac0720362097b922a
36fe0b969ebb7056d972952a905cab158523fbf1
refs/heads/main
2023-07-13T00:26:33.820436
2021-08-28T12:54:21
2021-08-28T12:54:21
409,034,579
2
0
MIT
2021-09-22T02:07:05
2021-09-22T02:07:04
null
UTF-8
Python
false
false
443
py
from .client import LINE from .channel import Channel from .oepoll import OEPoll from akad.ttypes import OpType __copyright__ = 'Copyright 2018 by Fadhiil Rachman' __version__ = '3.0.8' __license__ = 'BSD-3-Clause' __author__ = 'Fadhiil Rachman' __author_email__ = 'fadhiilrachman@gmai...
[ "noreply@github.com" ]
inctoolsproject.noreply@github.com
49dda662d2b2867bc0dee985f16cfc4e6aff52f0
ed0dd577f03a804cdc274f6c7558fafaac574dff
/python/journal/devices/NetRenderer.py
6fddef784f282408c3c11d99c3eaf00ed9b93640
[ "Apache-2.0" ]
permissive
leandromoreira/vmaf
fd26e2859136126ecc8e9feeebe38a51d14db3de
a4cf599444701ea168f966162194f608b4e68697
refs/heads/master
2021-01-19T03:43:15.677322
2016-10-08T18:02:22
2016-10-08T18:02:22
70,248,500
3
0
null
2016-10-07T13:21:28
2016-10-07T13:21:27
null
UTF-8
Python
false
false
829
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~~~~~~~~~...
[ "zli@netflix.com" ]
zli@netflix.com
b289c70aa9157d7492b61d4901545848b1e746b6
b1b77bb1ed47586f96d8f2554a65bcbd0c7162cc
/SPOTIFY/python-graphwalker/graphwalker/__init__.py
3a19f2f3573a11a8a88200270a96f50e410eca6a
[ "Apache-2.0" ]
permissive
DanHefrman/stuff
b3624d7089909972ee806211666374a261c02d08
b98a5c80cfe7041d8908dcfd4230cf065c17f3f6
refs/heads/master
2023-07-10T09:47:04.780112
2021-08-13T09:55:17
2021-08-13T09:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
# -*- coding: utf-8 -*- # Copyright (c) 2015 Spotify AB from . import execution from . import halting executor = execution stopcond = halting
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
028f1eea7b538aa426a0e97909a69642e0793aee
eed51de6f1f27979187d4be62a989f74d77a54aa
/py_basic/p25.py
f16a68622e1cc344ad3cfcf461a23767d4839005
[]
no_license
yjw0216/Samsung-MultiCampus-python-edu
2635c0074de6a94975482b57b88f38d98b487784
d8178606305fd9aec54e1b0f9df63a0f012c728c
refs/heads/master
2020-03-22T05:12:23.215529
2018-08-17T02:48:07
2018-08-17T02:48:07
139,549,482
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
# 파일 처리 -> 내장 함수 ''' 파일 오픈 : open(파일명,엑세스 모드 , 버퍼링) 엑세스 모드 : r -> 읽기모드 b -> 바이너리/이진형식으로 ~ w -> 쓰기모드 + -> 반대속성이 추가되는 것을 의미함 r+ -> 읽고 쓰기 a -> 추가 , 덧붙이기 a+ -> 덧붙이고 읽기 ab -> 이진형식 덧붙이기 버퍼링 : 0 : 안함 1 : 라인별 버퍼링 -1(음수) : 버퍼링하는 크기를 시스템 크기에 맞춤 1 이상 : 버퍼링의 크기를 부여함 ''' # 파일I/O (입출력) -> 반드시 사용이 끝나면 닫아야 한다. # 파일이 없으면 만들어서 오픈...
[ "ysw01044@naver.com" ]
ysw01044@naver.com
3b1241341a1440c6bad5798b8cb8c6836551a7af
b905482d35541a2d71cf7c3b6be6d2f03cee8793
/tests/test_app/celery.py
457397e54c97a626ab7948f77c51723a087e4771
[ "BSD-3-Clause" ]
permissive
MyBook/django-atol
46a4253586955860289bfbcb82879b4928e44d8d
f28f6ef574a863b1fb490937a2bf7c8f37e4eb65
refs/heads/master
2022-10-01T16:31:32.089442
2022-08-17T09:13:59
2022-08-17T09:13:59
112,324,567
4
7
BSD-3-Clause
2022-09-13T13:40:06
2017-11-28T11:05:18
Python
UTF-8
Python
false
false
178
py
from celery import Celery from django.conf import settings app = Celery() app.config_from_object('django.conf:settings') app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
[ "andrey.ptitsyn86@gmail.com" ]
andrey.ptitsyn86@gmail.com
8a1688c6d4ee2ef20ab6761fbc161b835c114e84
fae554037a7c68296fc260d296b7ec59a0758c20
/nuitka/tree/ReformulationClasses.py
386bcb1547575c501ec4fdaaed882e89943d06bf
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ExpectationMax/Nuitka-unofficial-igemathome
b5b1de235bfd64f3eeffb11ada83ed42d4523044
d45979add34f05e7ba24e1d44493712860e7227e
refs/heads/master
2021-05-27T17:42:48.543748
2014-08-21T07:42:28
2014-08-21T07:42:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,967
py
# Copyright 2014, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
6d2ce60612b30d08d0324a83ebb120a4ecae645d
d665ecfc1038dbf8a4c835de18e7ef5715fd642e
/testcase/vip1.py
45ff320e2dd40750666f9b875b28c8bf052c18df
[]
no_license
fanzongpeng/vip
ca6b1f21b6bf34cf63d2b2eed914260d5dd84d16
0ad1fe5eed3910a45a4c078e37e9a94ad0a6b0f9
refs/heads/master
2021-05-27T07:49:42.994444
2020-04-14T03:36:07
2020-04-14T03:36:07
254,237,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
py
import pytest import requests from common.func import * import logging logger = logging.getLogger('test') logger.setLevel(logging.DEBUG) # 输出所有大于DEBUG级别的log # 设置日志输出格式 fmt = logging.Formatter('%(filename)-6s: %(levelname)-6s %(asctime)s: %(message)s') stream_hdl = logging.StreamHandler() stream_hdl.setFormatter(fmt) s...
[ "18210023228.com" ]
18210023228.com
aa772bfb791b1624a02b97e22a2b2fe4c8aeb690
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/servicefabric/v20200301/__init__.py
c2e1fb3f41a4343ec6e7e0fefaa8113ce660c7d3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
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! *** # Export this package's modules as members: from ._enums import * from .application import * from .application_type import * from .application_type_ver...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
7e799c766f9278944e915023f8a7e58b1177dece
5e43acab78562442163c2e4e2825a56e95cd0690
/Multiple paragraphs.py
0a8aee72da860f5580accb4bd8a5cffdf473ae52
[]
no_license
ramchinta/Coding
491c0a6314255f3f060c966a9cf12383b10657bb
17ccb63356a524fe57fdf35cc70f21e07e89a843
refs/heads/master
2020-08-02T15:28:25.821142
2019-09-29T23:46:55
2019-09-29T23:46:55
211,409,389
0
0
null
2019-09-29T23:46:56
2019-09-27T22:13:48
Python
UTF-8
Python
false
false
536
py
import sys '''print('enter text:') t =input() #t = sys.stdin.readlines() #n = 20 print(t.replace('Lakshman',' ')) #print (h) #n = (textwrap.fill(t.replace(\n,''),20)) #print(n) a =('First Line \n Second Line \nThird Line') print(a)''' import textwrap #data = 'Lakshman is in Virginia \n Virginia is Awesome \n He went ...
[ "mithrachinta@gmail.com" ]
mithrachinta@gmail.com
89cd58d2f54acf36c90ac15387750dd883f8b233
5d18c63a0bd809e7d94c7fccb240cfb032ddaf62
/cpa/projects/migrations/0002_auto_20170319_1839.py
1445f9b224ddc5edaa63b43f6a5b17b9523fc22d
[]
no_license
dmeehan/cityparksphila
7a158fbff92e91003d91b89cea31d39c0480d4fe
cc39f1b0e1ec4a0e4c641b296f2074e0d65d7c29
refs/heads/master
2021-07-01T04:24:31.591687
2020-11-13T15:25:25
2020-11-13T15:25:25
76,053,618
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-03-19 18:39 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wagtailforms', '0003_capitalizeverbose'), ('wagtailcore', '0032_add_bulk_delete_page_permiss...
[ "dmeehan@gmail.com" ]
dmeehan@gmail.com
d422ca71093977a961e85a4426586ab81e70dfd3
cd4676555fc1066b5a84320ebbb1d4623066380d
/crusoe_act/act-component/rtbh-wrapper/rtbh_wrapper/urls.py
2ef960cfd7e321078e664dcae34856e5da33a8c4
[ "MIT" ]
permissive
wumingruiye/CRUSOE
3ca542fa5362caf404593acfc4b01eb8f9b4d5f4
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
refs/heads/main
2023-07-01T21:40:09.538245
2021-08-05T14:07:03
2021-08-05T14:07:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
"""rtbh_wrapper URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "spaceks@ics.muni.cz" ]
spaceks@ics.muni.cz
016bab8688b63ad1045e30f49ccc3e3ae4767f3c
5d67a8fa4315e321ec51e1759b644994bc083b56
/offers/migrations/0005_request.py
291096c5bc21c6a6fc66783b8dee52f064ef6c7e
[]
no_license
kepas06/AnimalOfferPlace
5bc13b0f17334f584e633a4c9eb54ce4b05fc3e7
a876d4d7833561815de1fe8db526479de4571aee
refs/heads/masterbranch
2022-12-27T10:18:17.741055
2019-07-21T21:01:31
2019-07-21T21:01:31
179,982,364
0
0
null
2022-12-09T19:15:55
2019-04-07T15:04:47
CSS
UTF-8
Python
false
false
827
py
# Generated by Django 2.1.7 on 2019-04-13 12:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('offers', '0004_offer_is_...
[ "lukaszwasyl75@gmail.com" ]
lukaszwasyl75@gmail.com
174b5fddf7e001a040bc3ef3687200fbd6934c0f
1ddbe64e41ba648bb60a8758be6764e19b1c418a
/.svn/pristine/17/174b5fddf7e001a040bc3ef3687200fbd6934c0f.svn-base
913c2cc0d2042f2e1a5b40327953f40417c629e9
[]
no_license
zhaozw/freetime5
9bc3d0671a594822cc82e04b69c8016b7afd0554
99c47ad235583e765c35627ba34d4f496ccccbe4
refs/heads/master
2020-03-08T04:09:15.293616
2020-02-11T06:06:29
2020-02-11T06:06:29
127,913,013
0
0
null
2018-04-03T13:31:36
2018-04-03T13:31:35
null
UTF-8
Python
false
false
12,423
# coding=UTF-8 ''' ''' from unblock.plugins.srvroom.room import TYRoom from unblock.plugins.srvtable.table_observers import TYObservers from unblock.plugins.srvtable.table_playerlist import TYPlayerList from unblock.plugins.srvtable.table_seatlist import TYSeatList from unblock.plugins.srvtable.table_state import TYTab...
[ "tuyoo@tuyoodeMac-mini-8.local" ]
tuyoo@tuyoodeMac-mini-8.local
6df81397d23d5cadbadf3e6a935eb6fe3a3d619f
c3b034abfbc7aadf99dcf022c8d1945aa6cb478a
/blog/admin.py
c0fa0a2ec9cdcbe804cd1facafd0031fcaf42de2
[]
no_license
kaustubh619/selftaught
0078d61cef797aa4bcd7f89f526a16327a514616
dd044cd0bc5226a6b99083145f05a606b97ba3b0
refs/heads/master
2020-06-22T23:57:36.994328
2019-07-23T13:48:09
2019-07-23T13:48:09
198,417,450
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
from django.contrib import admin from .models import Post # Register your models here. class PostAdmin(admin.ModelAdmin): list_display = ['title', 'date'] list_filter = ['date'] search_fields = ['title'] admin.site.register(Post, PostAdmin)
[ "kaustubhkrishna9031@gmail.com" ]
kaustubhkrishna9031@gmail.com
16d5acc1dd4ab2879b3f3c166ce1dcbf931830c5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03502/s688655354.py
e4248315d817f3a26591428f42a358af14b26c1c
[]
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
125
py
n = input() def f(x): return sum(list(map(int, list(n)))) if int(n) % f(n) == 0: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b2053b21b7e7db71c4a254c273f778b77088820c
215fd5c4f9893d9f38e4e48199ea16d7d6ef9430
/8.Data_Structure/8.14_594_strStr_II.py
9ea2678f21c8e8a14f70d97acbacfe657a1f42f7
[]
no_license
fztest/Classified
fd01622c097ca21b2e20285b06997ff0e9792dd1
b046d94657c0d04f3803ca15437dfe9a6f6f3252
refs/heads/master
2020-03-25T06:34:07.885108
2017-05-04T17:22:36
2017-05-04T17:22:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
""" Description _____________ Implement strStr function in O(n + m) time. strStr return the first index of the target string in a source string. The length of the target string is m and the length of the source string is n. If target does not exist in source, just return -1. Example ____________ Given source = abcdef,...
[ "cdzengpeiyun@gmail.com" ]
cdzengpeiyun@gmail.com
6069714d668487461b46ca382750620f2ff187d3
60ce73bf2f86940438e5b7fecaaccad086888dc5
/working_scrapers/Minnesota_lac_qui_parle.py
8618912af1fe870efe4718b3c6aa42ff6a502587
[]
no_license
matthewgomies/jailcrawl
22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d
9a9ca7e1328ae549860ebeea9b149a785f152f39
refs/heads/master
2023-02-16T06:39:42.107493
2021-01-15T16:37:57
2021-01-15T16:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
from urllib.request import urlopen, Request import pandas as pd import os import time import numpy as np from datetime import datetime import datetime as dt import sys from io import StringIO from joblib import Parallel, delayed import requests from jailscrape.common import save_to_s3, get_browser, get_logger, record_e...
[ "jborowitz@gmail.com" ]
jborowitz@gmail.com
0c494dae716b242de74cab419046ae774615f9c0
b8c493664bc94c67c5518543968aacaf98c017d1
/core/urls.py
c637bf2429d5d42487e78e746b847d4af8b4b55b
[]
no_license
WilliamOtieno/AppointmentScheduler
43219c5eb6eabcb18b532ddcc82e77af41fa5a22
ceaa0d67ef577bbfb598a5745cae6e88a9cab0aa
refs/heads/master
2023-05-03T07:50:21.186935
2021-05-12T01:05:03
2021-05-12T01:05:03
366,552,823
2
0
null
null
null
null
UTF-8
Python
false
false
614
py
from django.conf import settings from django.conf.urls.static import static from django.urls import path, include from . import views app_name = "core" urlpatterns = [ path("", views.login, name="login"), path("login", views.login, name="login"), path("dashboard", views.dashboard, name="dashboard"), p...
[ "jimmywilliamotieno@gmail.com" ]
jimmywilliamotieno@gmail.com