blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
b85a9449dcba5e43a9e775aaff8bc04adbccb40d
67fbc7e92049d81993fbd6011e37bb9de24027c7
/ej8/src/consts.py
c0a739efc1be6bc98ede53d611a2a6882ee8e6e8
[]
no_license
guillermoap/aa-pract6
3102f182cb02e0ef0ea7580f12c906f024759542
0a70826f37b41a4d5862c2f78adee3b3d1a79a2c
refs/heads/master
2020-05-27T05:45:03.791965
2019-06-08T22:58:02
2019-06-08T22:58:02
188,506,629
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
BOARD_WIDTH = 25 BOARD_HEIGHT = 17 INVALID_SPACE = -1 EMPTY_SPACE = 0 RED = 1 GREEN = 4 LEFT = (0, -2) RIGHT = (0, 2) UP_RIGHT = (1, 1) UP_LEFT = (1, -1) DOWN_RIGHT = (-1, 1) DOWN_LEFT = (-1, -1) MOVES = [ LEFT, RIGHT, UP_RIGHT, UP_LEFT, DOWN_LEFT, DOWN_RIGHT ] MAX_PLAYS = 3000 MAX_MATCHES = 10 WIN = 1 TIE = 0 LOS...
[ "mauricio.irace@pyxis.com.uy" ]
mauricio.irace@pyxis.com.uy
0d66bfb2e2f61e6192594453d928317bed7f64d2
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/MAzBohC2PxchT3wqK_13.py
a37c09d7d848225a334c7b4bb512adb1efefa6cd
[]
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
360
py
def shadow_sentence(a, b): alist, blist = a.split(' '), b.split(' ') if len(alist) != len(blist): return False j = -1 for word in alist: j += 1 if len(word) != len(blist[j]): return False i = -1 for word in blist: i += 1 for letter in word: if letter in alist[i]: ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
8b3cc35a16fbeebfb02fb67969fc212e5feaaa93
9fc1079a9f679f21c860f4103df2a7f77c451010
/my_project/lib/python2.7/types.py
12aba1aca776e320fe0773084ec82329695d554a
[]
no_license
ramcharangalla/studiegenie
4f7182096d37150b5da32475978b95f5e95c61ca
483df650cc4a2dc3864ce7f4993680780127f253
refs/heads/master
2020-04-07T09:49:06.995233
2018-11-29T08:32:31
2018-11-29T08:32:31
158,266,164
0
0
null
2018-11-29T01:11:16
2018-11-19T17:37:49
Python
UTF-8
Python
false
false
46
py
/Users/Charan/anaconda2/lib/python2.7/types.py
[ "gallaramcharan@gmail.com" ]
gallaramcharan@gmail.com
01eb27b1efe1e94dc35839dd99988ef3512c19f4
6584124fee86f79ce0c9402194d961395583d6c3
/blog/migrations/0005_userprofile.py
741df13e8b0ed00bd33880271c9c54062c148c8f
[]
no_license
janusnic/webman
fdcffb7ed2f36d0951fd18bbaa55d0626cd271e1
2e5eaadec64314fddc19f27d9313317f7a236b9e
refs/heads/master
2018-12-28T18:21:00.291717
2015-06-05T11:49:00
2015-06-05T11:49:00
35,676,834
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blog', '0004_auto_20150522_1108'), ] ...
[ "janusnic@gmail.com" ]
janusnic@gmail.com
3232566169f973d936ec35d9dd66eb7a04b3b426
8560680ec56764b93e57b54f603207e94091ee55
/Hackference/Hunger_Management/urls.py
ed64bccd7326de6915fa03310bf1f60e9a04520f
[]
no_license
devikasugathan/Hackferance
f6e13488697f8505a4617dcee05125cc335234dc
1a72daf1a6837ab650cab9a1503c901d7e69871b
refs/heads/master
2020-04-11T05:00:26.462724
2018-12-13T14:23:32
2018-12-13T14:23:32
161,534,831
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.conf.urls import url from django.urls import path, include from . import views from django.views.generic.base import TemplateView urlpatterns = [ url(r'^signup/$', views.signup, name='signup'), url(r'^activate/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', vi...
[ "ivvraghavendra1999@gmail.com" ]
ivvraghavendra1999@gmail.com
5c4ddecc079d9e18ad7419ae2086e5021ac6f8e2
fdc7d1ca6d83735f241dfa173b0012a3866ad39e
/barra.py
d515e91e977ab033d5f88bda3bca7995bce0cd20
[]
no_license
Mohamedtareque/joac-python
33b61ff7c3183c2226ce3939b215d95903482fcc
cf0d2829f344bc5f1392d657b5e48924e015d715
refs/heads/master
2020-04-06T04:48:00.311967
2013-03-01T20:29:54
2013-03-01T20:29:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
import time n = 0 dec = False while True: # print " "*n +"^fg(#FF0000)Hola Mundo^c(%d)" %(n*n) print "mama ^ib(1)^p(10)^fg(#aecf96)^c(10)^p(-15)^fg(grey40)^co(20-%d)" %n n += 3 if n == 360: n = 0 time.sleep(0.5)
[ "joac@gcoop.coop" ]
joac@gcoop.coop
21f960441b8bc9a04eb717d0e9816bcb473adeea
6a8daf093b1f2da1eff86f889184b5c4fe7c8412
/Filters/RoadFilter_WGAN.py
b929975857928dba638346e68b76e1d1dc92adbf
[ "MIT" ]
permissive
PreslavKisyov/RoadFilter
90ab36ec595c21d67f27bc7e41a6f11781c6f24c
a814f61ebf4ebf852d2233aee79d3127a8360d8b
refs/heads/main
2023-07-13T02:16:07.681348
2021-08-22T14:28:59
2021-08-22T14:28:59
366,338,191
0
0
null
null
null
null
UTF-8
Python
false
false
24,055
py
import keras import numpy as np from PIL import Image import cv2.cv2 as cv2 import A_star as star import utilityFunctions as uf from itertools import combinations """ This class creates and processes the Road Network Image. A WGAN Generates a road image and then it is adapted to the selected terrain using ...
[ "preslavkisyov98@gmail.com" ]
preslavkisyov98@gmail.com
e9438a6805885c511dd1e083ebf82a4d655f36f7
bdb97c54781664620e18077c14c1b879c987ddcd
/src/ned.py
b6af0698b28a071bfafaaacfc734edf022c3c253
[]
no_license
b07902067/Usage-and-some-experiment-of-Omnet-Nesting-
551d3389551d9c8ccf118b40fb3e9cd03dae6bb1
f5d54e76a5cd4739fd4fc3cd8975c8494c830acb
refs/heads/main
2023-08-15T14:35:13.742073
2021-10-02T05:27:10
2021-10-02T05:27:10
407,749,467
0
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
from topology import * from util import * import sys ned_head = "package nesting.simulations;\nimport ned.DatarateChannel;\nimport nesting.node.ethernet.VlanEtherHostQ;\nimport nesting.node.ethernet.VlanEtherHostSched;\nimport nesting.node.ethernet.VlanEtherSwitchPreemptable;" def make_ned(T, network_name, out_f): ...
[ "b07902067@ntu.edu.tw" ]
b07902067@ntu.edu.tw
efb302e6899348b8a39d8588818d325e6a0f9ada
1d1a21b37e1591c5b825299de338d18917715fec
/Mathematics/Data science/Mathmatics/02/Exercise_2_4_5.py
4c1094e1a0624eace4209363bf4bc2727406716d
[]
no_license
brunoleej/study_git
46279c3521f090ebf63ee0e1852aa0b6bed11b01
0c5c9e490140144caf1149e2e1d9fe5f68cf6294
refs/heads/main
2023-08-19T01:07:42.236110
2021-08-29T16:20:59
2021-08-29T16:20:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
# 보스턴 집값 문제는 미국 보스턴내 각 지역(town)의 주택 가격을 그 지역의 범죄율이나 공기 오염도 등의 특징 # 을 사용하여 예측하는 문제다. Scikit-Learn 패키지에서 임포트할 수 있다. 보스턴 집값 문제를 선형 예측모형 # Ax = b_hat로 풀었을 때의 가중치 벡터 를 구하라. 행렬과 벡터 데이터는 다음과 같이 얻을 수 있다. 여기에서는 # 문제를 간단하게 하기 위해 입력 데이터를 범죄율(CRIM), 공기 오염도(NOX), 방의 개수(RM), 오래된 정도 # (AGE)의 4종류로 제한했고 데이터도 4개만 사용했다 import numpy ...
[ "jk04059@naver.com" ]
jk04059@naver.com
94a9e541b2fa2135a91a001dba9d02732f78755a
63ef5054927443d020cfff3db0a86211b4ebe7f7
/copy_paster/board.py
ca5861b66c9cf74b3628ecf766dc805b1a5092e8
[]
no_license
JemitDave/Automation_scripts
d34b5e207a2142475a8beb82455917bcc9d9f672
b5ee9dd4755ba6ca8c76d1bfb8f7aab249c31973
refs/heads/master
2022-10-09T23:41:56.637300
2020-06-09T10:31:05
2020-06-09T10:31:05
269,611,351
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
from pynput.keyboard import Key, Listener '''<qwwsxfdxdcs < ī ''' def on_press(key): if key==Key.ctrl_l: print('ctrl is pressed') #enter screenchot Code elif key==Key.tab: print('tab is pressed') #copy paste code else:pass # print('{0} pressed'....
[ "jemitdave@gmail.com" ]
jemitdave@gmail.com
3c47e45da6cd34f39675fdab3e6faf464b0c474b
10800834f081b59bb35f0205788c6a9a794ce3f9
/zhihuuser/zhihuuser/pipelines.py
0447149ee141cda07337dd49a1ec5f3ec0185e1c
[]
no_license
snackdeng/python-crawler
58574fe98cf36f8a2697d32bd8bfda06e6068be8
81337d8b42ab5b37e992f20a41cbd541171dcf83
refs/heads/master
2022-12-09T14:26:33.566593
2020-09-18T08:11:40
2020-09-18T08:11:40
284,236,477
2
1
null
null
null
null
UTF-8
Python
false
false
302
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html class ZhihuuserPipeline(object): def process_item(self, item, spider): return item
[ "noreply@github.com" ]
noreply@github.com
93dab5e033bf2be71722860d57e80346b770aa7b
3b1daac7c1f72b985da899770d98e5f0e8fb835c
/Configurations/VBS/2017CR_v7/variables.py
695bd91e5fdd8c45254bfdcdab37fb9d9235b46a
[]
no_license
freejiebao/PlotsConfigurations
7e10aa45aa3bf742f30d1e21dc565d59d2a025d8
cdfd3aff38d1ece9599a699997753bc8ba01b9b1
refs/heads/master
2020-06-18T19:22:00.561542
2019-09-02T12:52:28
2019-09-02T12:52:28
186,931,874
0
0
null
2019-05-16T01:58:07
2019-05-16T01:58:07
null
UTF-8
Python
false
false
5,363
py
# variables #variables = {} #'fold' : # 0 = not fold (default), 1 = fold underflowbin, 2 = fold overflow bin, 3 = fold underflow and overflow # variables['events'] = { 'name': '1', # 'range' : (1,0,2), # 'xaxis' : 'events', # 'fold' : 3 # } variables['nJet'] = { 'name': 'nJet', 'range...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
29972e6e177514dbea16cb61205578ba3cf7944b
aa9044b8cdcd1659e185b3351fa277b4ac32caf7
/api/migrations/0003_auto_20161211_1835.py
605a1be9fefd653a49aa68411ea37feb4625ce5a
[ "MIT" ]
permissive
ericpinet/MarkupEasy
4b289501b1070e23c3e29b90af6234b164ec7a48
09d17404e69587373436afbf60bbf0d1013b992b
refs/heads/master
2021-01-12T12:15:47.766376
2018-05-25T13:03:23
2018-05-25T13:03:23
72,394,785
1
0
MIT
2018-05-25T13:03:24
2016-10-31T03:14:15
JavaScript
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-12-11 18:35 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0002_auto_20161120_2042'), ] operations = [ migrations.RemoveField( ...
[ "pineri01@gmail.com" ]
pineri01@gmail.com
9c33c8ae778388e7fc2f54a5ecae6a2b4374b342
2892731203f7b59faa8f5182b756c0b3575e796f
/cma/droneinfo.py
d6b9218e794c97fb383e45b94cab59d6b0ad28a1
[]
no_license
assimilation/assimilation-official
1024b92badcbaf6b7c42f01f52e71c926a4b65f8
9ac993317c6501cb1e1cf09025f43dbe1d015035
refs/heads/rel_2_dev
2023-05-10T20:12:33.935123
2022-12-08T16:21:22
2022-12-08T16:21:22
42,373,046
52
17
null
2023-08-16T12:43:49
2015-09-12T21:04:36
Python
UTF-8
Python
false
false
23,416
py
#!/usr/bin/env python # vim: smartindent tabstop=4 shiftwidth=4 expandtab number colorcolumn=100 # # This file is part of the Assimilation Project. # # Copyright (C) 2011, 2012 - Alan Robertson <alanr@unix.sh> # # The Assimilation software is free software: you can redistribute it and/or modify # it under the terms o...
[ "alanr@unix.sh" ]
alanr@unix.sh
52fdef2d1b401d6fbf97cf036746c5cdbac652d8
7a8663a0d5a75baba2174dccb0045b51e1ed2056
/run.py
c1f0fa13ae82ed7c8df3dd2c5294c911bce184e5
[]
no_license
davebland/ci-flask-website
5ae7e08f12e6674024d35e29d27a3537427adec8
72d58706b4fbbf28c7cdc48799a1fbc4892018cc
refs/heads/master
2021-06-16T03:30:50.654798
2019-07-17T17:57:21
2019-07-17T17:57:21
197,021,511
0
0
null
2021-06-10T21:42:10
2019-07-15T15:07:00
JavaScript
UTF-8
Python
false
false
1,273
py
import os import json from flask import Flask, render_template, request, flash app = Flask(__name__) app.secret_key = "my_test_key" @app.route("/") def index(): return render_template("index.html", page_title="Home") @app.route("/about") def about(): data = [] with open("data/company.json","r") as js...
[ "ubuntu@ip-172-31-23-141.eu-west-1.compute.internal" ]
ubuntu@ip-172-31-23-141.eu-west-1.compute.internal
d5cf9442ea2191db9198f0cef63ea002f7fa5b79
b3513e040a2687a59ae18c3db0db3127c307c04b
/overlap_matching_v3.py
3c5f5cb5a2b68a83530a8a8b1f3ea6fd24576190
[]
no_license
jbartz/KELT_catalog_repo
ec1cb29a29ee5eeb5eac4f95a785a3848203f1f4
510e16d861f024e5668119c82e198de1d1e28594
refs/heads/master
2021-01-18T14:05:38.607109
2014-07-23T16:46:19
2014-07-23T16:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,961
py
#!/usr/bin/python import os,sys import numpy as np import time import matplotlib.pyplot as plt from math import * from os import listdir from os.path import isfile, join from subprocess import call #treat id labels as strings, but specify their size as the largest id #in northern fields, only expect adjac...
[ "jml612@gmail.com" ]
jml612@gmail.com
f4915b84fd21a6254b6431e90f134ce840d92905
d2dfd6cdbb935b64f77b32496533b019c0fde9af
/training.py
8e420b01934843e47a7992eb891fda72b9eeccf4
[]
no_license
Ricardicus/qlearn
5d051a11c77de4a92e09b24454a7d0b2db8dc71e
a9c999c1d9a8dba9f31581f1c511edbd4cdf10de
refs/heads/master
2021-01-12T05:37:42.892111
2016-12-23T12:09:11
2016-12-23T12:09:11
77,151,371
0
1
null
null
null
null
UTF-8
Python
false
false
5,707
py
from util import * from random import uniform, randint dimension = 10 update_time = 5 rewards = {'apple': 1.0, 'death': -100.0, 'default': -0.01} Q_vals = {} ### parameters ### # bellman coefficient gamma = 0.9 # learning rate alpha = 0.80 # greedyness epsilon = 0.001 episode_count = 1 episode_score = 0 store_every...
[ "rickard_hallerback@hotmail.com" ]
rickard_hallerback@hotmail.com
d654571b75c42601d497f2010175e9d03db70f79
a9f38bb28ff9bd04b151d86c653cde9f46768c7c
/easy/guessNumberHigherLower.py
3d9a440d88b43dfb848527e6505af7060a690b0d
[]
no_license
Xynoclafe/leetcode
02388516b10b8ee6bec6ee1b91ab5681c3254d33
4a80f02683e7fc14cb49c07170651ea3eeb280ac
refs/heads/master
2020-12-01T21:05:44.656581
2020-02-02T09:05:32
2020-02-02T09:05:32
230,770,600
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# The guess API is already defined for you. # @return -1 if my number is lower, 1 if my number is higher, otherwise return 0 # def guess(num: int) -> int: class Solution: def guessNumber(self, n: int) -> int: def binSearch(start, end): if start == end: start ...
[ "gokulprem.94@gmail.com" ]
gokulprem.94@gmail.com
d247dd62af5574d3992537c6c76a62e2c664d13e
e4609b577b402c92a943215ff29bca30157264d0
/widgets/charset_display.py
b6cbbf039628c251c6242822ce04725d3b5c3c26
[]
no_license
mlambir/c64editor
6472bc20d440593dad0740fbe55e997dba2a60a0
cde82538d451d8a2610a3a1d4944b4c11942ef22
refs/heads/master
2020-03-19T02:50:02.780945
2018-06-02T02:31:07
2018-06-02T02:31:07
135,665,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
import numpy from kivy.properties import StringProperty, NumericProperty from kivy.uix.gridlayout import GridLayout from widgets.char_display import CharDisplay class CharsetDisplay(GridLayout): charset = StringProperty('') fg_color = NumericProperty(0) bg_color = NumericProperty(0) def __init__(sel...
[ "mlambir@fiqus.com" ]
mlambir@fiqus.com
d8577e261b7ebe5587cb76a006b27c70d766bb1a
62aa1701c9300c39ae55fde80857cfc0ed435ef4
/homework3/models/__init__.py
432f5a9236f186ef0e26a1d32793290df095e7f7
[]
no_license
shaj/otus.python.base
a0c2d9a81a1be1ddebc9af976e96b35028e21f4d
95a27bd4d27048736a117319719194339ec2f395
refs/heads/main
2023-04-10T07:10:21.419777
2021-03-30T14:55:05
2021-03-30T14:55:05
318,856,583
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from .base import Base, Session, DB_DSN, db from .user import User from .post import Post from .comment import Comment from .todo import Todo from .photo import Photo from .album import Album __all__ = [ "Base", "DB_DSN", "db", "Session", "User", "Todo", "Post", "Comment", "Album", ...
[ "kolobrod2002@yandex.ru" ]
kolobrod2002@yandex.ru
29bc8f763d05f89cac084a1f5a9875a7726536f1
654730516142b43e7b19f2fc1116559398090367
/main.py
0a0d59325336b59b1e36f0ccf072be03b01d5efa
[]
no_license
ibykovsky/findMin
c28d62681ff5c00fb251cad517b8388991e9f6ac
3f53601f2a5f8eff573b4bd9a284b907ce45f049
refs/heads/master
2023-07-13T22:55:21.464220
2021-08-24T14:41:30
2021-08-24T14:41:30
399,018,566
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
from math import sin from time import sleep # This is a sample Python script. # Press Ctrl+F5 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug you...
[ "ibykovsky@yandex.ru" ]
ibykovsky@yandex.ru
263593084810f01979ec9fe7bc488df7d06878cc
4b6cadbd775604b0f9080cd5569355352fdc5b26
/epifpm/zfm20.py
0b87275df883fcdde165f7aae634874cc49a4617
[ "MIT" ]
permissive
Epi10/epifpm
3a45a868c861ee090cb51fa34dce4beeee534f43
3714f9c0ac2a16378d36b70104131d2d6347a454
refs/heads/master
2020-05-18T15:54:54.477804
2015-12-18T14:26:21
2015-12-18T14:26:21
40,840,260
1
0
null
null
null
null
UTF-8
Python
false
false
8,279
py
__author__ = 'aleivag' import logging import serial from cStringIO import StringIO HEADER = [0xEF, 0x01] PACKAGE_HANDSHAKE = 0x17 #: To greet (and posible ping) the fingerprint PACKAGE_EMPTY = 0x0d PACKAGE_GETIMAGE = 0x01 PACKAGE_IMAGE2TZ = 0x02 PACKAGE_REGMODEL = 0x05 PACKAGE_RANDOM = 0x14 PACKAGE_STORE = 0x06 PACK...
[ "aleivag@gmail.com" ]
aleivag@gmail.com
39d733a4728b22b3c24809699489e960b1cd04f0
46cbedd79e09cbc813b858f855dd4712e63d6cae
/app/apiviews.py
08cb05e926c3cdd9470877ae29ec73999e545619
[ "MIT" ]
permissive
ZandTree/bloggy
d8844a743f82a0854df042e3387cb8fb8c79320b
532efecb66ffdcaa61efa2aa19cf25e2bd534f59
refs/heads/master
2020-08-02T18:48:03.881998
2019-05-23T12:57:46
2019-05-23T12:57:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,249
py
from django.core.exceptions import ObjectDoesNotExist from django.db.models import Q from django.shortcuts import get_object_or_404 from django.utils import timezone from rest_framework import status, viewsets from rest_framework.decorators import action from rest_framework.exceptions import ValidationError from rest_f...
[ "MakuZo90@gmail.com" ]
MakuZo90@gmail.com
f711a1201562b3798dc9f064116fff6d11313bc0
0295f421e6e8fa20431b58254c6c442d481909af
/main_app/migrations/0002_auto_20200103_1932.py
b043ea9417357e8abecf1bdd7c79b843bbcba128
[]
no_license
luish1012/Project-3-Assessment
b459d7ad21cbf9e169948e13cc7993800be53a1e
02f893cb3dbbe4e5fc26efed94cb4afc7c44c6e9
refs/heads/master
2020-12-04T17:13:12.603996
2020-01-04T18:24:14
2020-01-04T18:24:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 3.0.1 on 2020-01-03 19:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0001_initial'), ] operations = [ migrations.AlterField( model_name='item', name='description', ...
[ "marcoarteaga26@gmail.com" ]
marcoarteaga26@gmail.com
abc6033c2e6d934210b40a79a22887cc8eabc140
9e447f76058f3c4470f822388c3210f6292db44c
/gentNiews.py
c50c42d126172cf5ead1bd985d4fd90f6a824f4d
[]
no_license
ArneDeV/PythonScripts
8920d57c55306768a3890ddb941fae13f7d20940
d47d03ffb711e1bb53da7255f03631798feb4bac
refs/heads/master
2023-01-21T12:18:09.334716
2023-01-12T19:30:43
2023-01-12T19:30:43
281,193,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
import bs4 as bs import urllib.request import schedule import time from datetime import datetime URL = 'https://www.voetbalkrant.com' source = urllib.request.urlopen('https://www.voetbalkrant.com/').read() soup = bs.BeautifulSoup(source, 'lxml') artikels = soup.find('div', id="more_news") gent_artikels = {} def art...
[ "arne.de.veyder@telenet.be" ]
arne.de.veyder@telenet.be
d8e584e0ecf6bb9ddcb5ee69f56b8a8b8d4d7b67
367ecb02d7300d9c704620accc9ce0bcec679e0c
/Valute/Valute/urls.py
ebdfb6a88f4dd16c7958f36b09a09de5bba0bae1
[]
no_license
Dmitriy-11/---
103d942224e1d256a3192c4458d8e1620f98283c
4c4993f25bccaf4aeb54eed36af5f2806f2fc78f
refs/heads/master
2023-03-21T12:18:49.210007
2021-03-09T17:45:37
2021-03-09T17:45:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
"""Valute URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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-based ...
[ "pestrov.dmitrij@yandex.ru" ]
pestrov.dmitrij@yandex.ru
48e041f6ec0490dda24a909975088a5c3df5fbe9
cab3bea646fc60d4226b161568c8e7bf66edcd61
/bidirectional_list.py
750c031a2b623c12da9b9f6ea1f5b2862f100622
[]
no_license
frolkin28/linked_lists
6f615378becfd3ddd452cb93527d4454f7df51ba
742a81c71782665aae264c9befe4a3a19f51d8e1
refs/heads/master
2021-01-07T22:02:50.906859
2020-02-25T19:56:28
2020-02-25T19:56:28
241,832,692
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
from linked_list import List class Node: def __init__(self, value, next=None, prev=None): self.value = value self.next = next self.prev = prev def __eq__(self, other): return self.value == other.value def __ne__(self, other): return not self.value == other.value ...
[ "frolkin2801@gmail.com" ]
frolkin2801@gmail.com
f66deabdce6d3147a46d26b87dda3dc397346f83
f8ba335ff73e0a79257f0e018e24f0bd6676e611
/02/solution.py
5c9c2effc67a6e124abc8e947a92329e6b88d71e
[ "MIT" ]
permissive
sjking/aoc2020
4ce4412d0cb70a5478b13010b39759fba90befb6
c8b802291ed7865c632f22ff52748b1502e5c136
refs/heads/main
2023-02-14T04:53:14.229083
2020-12-30T07:42:32
2020-12-30T07:42:32
317,753,673
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
valid = 0 def is_valid(lo, hi, ch, pwd): cnt = 0 for c in pwd: if c == ch: cnt += 1 return lo <= cnt <= hi def is_valid_2(lo, hi, ch, pwd): return (pwd[lo-1] == ch and pwd[hi-1] != ch) or (pwd[lo-1] != ch and pwd[hi-1] == ch) with open('input', 'r') as f: for line in f: ...
[ "noReply@steveking.site" ]
noReply@steveking.site
1ae3b4e990d7f32a6c6565f8bd27caab86566e6b
8b9b09aa738c9a68ddf69eae64af28fc463bdb39
/tutorial/tutorial/items.py
42d6bf8c853f36e2ecaef14834fe8066daa9e329
[]
no_license
duoduo369/spiders
337ceb67e822eaed2cc7de91d9c7c4042fa5dc24
1f06333ea34993a2c7d65a8d04f0ec01c2d42875
refs/heads/master
2021-01-19T10:02:51.941631
2014-03-18T12:09:14
2014-03-18T12:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html from scrapy.item import Item, Field from scrapy.contrib.djangoitem import DjangoItem from douban.models import Book class DmozItem(Item): title = Field() link =...
[ "yangyang@admaster.com.cn" ]
yangyang@admaster.com.cn
164b25b05085c828e869ca41bbabfa5671265b28
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118153116.py
17842057b52a9388e5ecd34d985ca161511000dd
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
301,331
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
4655a05a2e59738d661f9702526dbfdea1f20f57
ce083128fa87ca86c65059893aa8882d088461f5
/python/flask-webservices-labs/graphene/graphene/types/mutation.py
fe15f6a2daa5be2a7b09b6fd4419a7e2f2e88fd1
[ "MIT" ]
permissive
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
2,892
py
from collections import OrderedDict from ..utils.get_unbound_function import get_unbound_function from ..utils.props import props from .field import Field from .objecttype import ObjectType, ObjectTypeOptions from .utils import yank_fields_from_attrs from ..utils.deprecated import warn_deprecation # For static type ...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
b0547da90c0b97d968d6b770cf775f8e1fda9969
c20b571c7a5bc0dfbab1db3d42539c327b6bc335
/python3源码/Test25.py
8f5ec1b6154e63ac484e9d6b81969d58c93cfb01
[]
no_license
TaoistZhang/aimed-at-offer
55d7a9eb09573ccc7ef6b8d751a1d9bf9279c357
3038c8eaeb521892ea9d04f72f05b31d125b8186
refs/heads/master
2021-10-26T03:20:22.904376
2019-04-10T07:56:29
2019-04-10T07:56:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
# -*- coding:utf-8 -*- # 剑指offer-题25:二叉树中和为某一值的路径 # 输入一颗二叉树和一个整数,打印出二叉树中结点值的和为输入整数的所有路径。路径定 # 义为从树的根结点开始往下一直到叶结点所经过的结点形成一条路径。 class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # 返回二维列表,内部每个列表表示找到的路径 def FindPath(self, root, e...
[ "454592297@qq.com" ]
454592297@qq.com
064ea35b9500dd3698d390637eb2185728749c11
c492b6f6dd52ad17867713a6a35298916c8dcfe6
/Lab_6/graph_AL.py
762bb988c5c4040b53f8607bcd5b1a4ffb932ce5
[]
no_license
iarivas/CS2302
544e7a332c00d8dc8d2a2180270e0a82a5a5300a
9f1c511b57edeef021888a96431cf5897ce1e2d9
refs/heads/master
2020-07-22T02:09:33.795729
2019-12-14T03:48:35
2019-12-14T03:48:35
207,042,593
0
0
null
null
null
null
UTF-8
Python
false
false
5,421
py
import numpy as np import matplotlib.pyplot as plt import math from scipy.interpolate import interp1d import graph_AM as gAM import graph_EL as gEL class Edge: def __init__(self, dest, weight=1): self.dest = dest self.weight = weight class Graph: # Constructor def __i...
[ "noreply@github.com" ]
noreply@github.com
e1c2bc490c75b452877f8a4120dffebbb6fdc933
b5b6cbb6d515b1247a095e29375ec0fdc60fd581
/prep_images.py
0459645a6aec86507e10a1bc5acecda049064ed5
[]
no_license
acisneros-intern/DECO-Scripts
f82134616e29eadfad068b128c642f2a90a4227e
4c47c5c2e1e265c08af0d1846ec8bc3c698522ed
refs/heads/master
2021-01-20T20:14:24.028489
2016-08-01T17:11:23
2016-08-01T17:11:23
63,608,866
0
0
null
null
null
null
UTF-8
Python
false
false
4,954
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import math import os try: from PIL import Image import numpy as np import sys except ImportError,e: print "plotID.py requires PIL for image processing; You can install PIL with 'pip install PIL --user'" print e quit() ONE_EIGHTY_OVER_P...
[ "cisnerosa2000@gmail.com" ]
cisnerosa2000@gmail.com
fc768d86e67ffc89d1d24ffed58e0444d7d7b40f
01fc3bd7098dd265a78dcf23c08f427a59581dd3
/src/prosestats/stats.py
4988679a238bb6f0a0baadab6ab16ec4a26ccb0c
[]
no_license
rosspeckomplekt/textual-analogy-parsing
68ba0a6e259d26059552eb8a5082c38890a43a32
d60bdfd1d7c69bb28a16ee69c99a4f9c53044c1e
refs/heads/master
2020-12-09T10:21:30.208376
2018-12-06T16:57:45
2018-12-06T16:57:45
233,275,236
1
0
null
2020-01-11T18:06:47
2020-01-11T18:06:46
null
UTF-8
Python
false
false
12,237
py
from collections import defaultdict, Counter import numpy as np import scipy.stats as scstats def invert_dict(data): ret = defaultdict(dict) for m, dct in data.items(): for n, v in dct.items(): ret[n][m] = v return ret def flatten_dict(data): ret = {} for k, vs in data.items():...
[ "arunchaganty@gmail.com" ]
arunchaganty@gmail.com
b8496eb601d1410da36c19c8c2d3e91c50929aa0
0e10ddf7a6addf11602013c9919b064de91d74ff
/braitenberg_love.py
e16448df60c98ca0cae21209467f297d2d859411
[]
no_license
JulienAndres/L3_3I025_Projet2
a450df4d88662c28ffb36b8e84fb2a2b9171aa93
3e08789bb407cf67abb1d233ad830aa7ac7b6fe3
refs/heads/master
2021-01-22T08:39:24.198858
2017-05-27T23:57:16
2017-05-27T23:57:16
92,628,343
0
1
null
null
null
null
UTF-8
Python
false
false
9,099
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # multirobot.py # Contact (ce fichier uniquement): nicolas.bredeche(at)upmc.fr # # Description: # Template pour simulation mono- et multi-robots type khepera/e-puck/thymio # Ce code utilise pySpriteWorld, développé par Yann Chevaleyre (U. Paris 13) # # Dépendances: ...
[ "julienandres06@gmail.com" ]
julienandres06@gmail.com
8e48cdc36af358ce63b9cee3a6d9027cf929722e
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/deviceupdate/azure-iot-deviceupdate/setup.py
3b4d52e9e304da8944d2b8b5c37ac85830a070fd
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
2,815
py
#!/usr/bin/env python #------------------------------------------------------------------------- # 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" ]
noreply@github.com
71005eb5e40000b0a87144dcba860b1dc4522d1d
232c017298cf5687c802fe6d57c6b53cbc507b0b
/Ranker/run_multiple_choice_custom.py
c635a15ffa9d2348fce8e4b6f79e2ae9ddfdd47a
[]
no_license
dongfang91/Generate-and-Rank-ConNorm
55954ad9fe17f4d1d3fd5cd9788835d5cf40f454
2c26211125454439389e98aeb5c344a88c79d2ff
refs/heads/master
2023-03-08T22:20:00.110971
2021-02-22T17:07:51
2021-02-22T17:07:51
257,353,866
27
4
null
null
null
null
UTF-8
Python
false
false
10,423
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a cop...
[ "xudffaint@gmail.com" ]
xudffaint@gmail.com
a8972a430ffb07204980882f80982295def04f91
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02690/s260373583.py
683e4c44817819625608097b879fb92b1bb0fe95
[]
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
181
py
def get(n): for i in range(-1000,1001): for j in range(-1000,1001): if(i**5-j**5==n): print(i,j) return n=int(input()) get(n)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1b1bd7d6aa1f441bdeaafa9620bf191652f717af
55d2c05f1eff505485b90a6d327ef0a12b9644a0
/lab5/.venv/bin/pip3.5
cf84dd4f7e4bda790e7d35be9d9f889527b33d9b
[]
no_license
TonyYuhuiJiang/ECE361
d35ccb643277a06148bb60c185d225a2528ca200
7290d68fbbadc229c4db5a5b8719137101a417d6
refs/heads/master
2022-04-23T09:16:36.734265
2020-04-27T03:32:20
2020-04-27T03:32:20
259,188,998
0
0
null
null
null
null
UTF-8
Python
false
false
243
5
#!/home/ubuntu/lab5/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yuhui.jiang@mail.utoronto.ca" ]
yuhui.jiang@mail.utoronto.ca
bf903b573e0cfb74678bfe23f802357bcf78522b
2b963beeffb8c826c13d9e757f01b36b7aa8625f
/data/manuscripts/greek_WH_UBS4_parsed.py
4de63dd4fde924a8294210ac4a9ee5e9fe386901
[]
no_license
bydesign/openscriptures
68e01f20fa5a127e11a4cc8f57f7cbdf37057a05
a6decbc19425a42338a6c5706750a00fd363f590
refs/heads/master
2021-01-18T07:44:25.069480
2009-12-21T02:28:44
2009-12-21T02:28:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,833
py
#!/usr/bin/env python # encoding: utf-8 msID = 2 varMsID = 3 import sys, os, re, unicodedata, difflib, zipfile, StringIO from datetime import date from django.core.management import setup_environ from django.utils.encoding import smart_str, smart_unicode sys.path.append(os.path.join(os.path.dirname(os.path....
[ "jleineweber@gmail.com" ]
jleineweber@gmail.com
3218938f4ff24c3363c12fa9d7ea10d14f347fda
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/VBSjjlnu/Full2018v6s5/conf_tests_HEM/nuisances.py
974c0373478496cf6e80d8576ac4c314386b397e
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
15,703
py
# # nuisances # #FIXME: TO BE UPDATED FOR 2018! # # name of samples here must match keys in samples.py mc =["DY", "top", "VV", "VVV", "VBF-V", "top", "VBS", "Wjets_LO", "Wjets_njetsLO"] # phase_spaces_boost = [] # phase_spaces_res = [] # for d in ["all","high","low", "all_lowvtx", "all_loweta", "all_higheta"]: # ...
[ "davide.valsecchi@cern.ch" ]
davide.valsecchi@cern.ch
ee3ab7b304dcfd2627a23109f9e5a4af1e9cf3b9
02b6f852787c0f169c298090e412de84d9fffdfa
/src/dsrlib/ui/configuration.py
1f6bd8871dcf3223bf9723382947e5adbfa4f922
[ "MIT" ]
permissive
ca4ti/dsremap
f5ffa0d5f15e37af23ec5bd2c326a0dfa5e6f99c
ad0929adfe5fa8499515b3a6a80e94dfd8c1c0bc
refs/heads/master
2023-04-02T10:02:02.147173
2021-04-11T11:16:59
2021-04-11T11:16:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,439
py
#!/usr/bin/env python3 import os import shutil from PyQt5 import QtCore, QtGui, QtWidgets from dsrlib.domain import ConfigurationMixin, commands from dsrlib.meta import Meta from .actions import ActionWidgetBuilder from .mixins import MainWindowMixin from .utils import LayoutBuilder from .uicommands import AddActio...
[ "jerome@jeromelaheurte.net" ]
jerome@jeromelaheurte.net
b39d9af6975ebd68c2462a2f7225507c19658b53
908990c2121a9b14e4358cb5c5f98b980bc7b743
/binreconfiguration/item/__init__.py
44fc9b3d50d01aeeec69af8d1d2fd0316f5512b1
[ "MIT" ]
permissive
vialette/binreconfiguration
78ac21e9e37175b6947666169a91a6af0158e474
57cc024fdcf9b083a830270176ade185b65a85d0
refs/heads/master
2020-12-19T19:00:50.342707
2016-07-29T20:59:11
2016-07-29T20:59:11
31,128,571
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
from .item import Item from .items import Items
[ "vialette@gmail.com" ]
vialette@gmail.com
2091be8a347d0729d9fad89614085cf924e9e4dc
922d1a3cf985ce1dd1fa6134a7a2c6a47f65a3d5
/src/sqlite_class.py
aa3d016ac656f3d5006ddf599be71bb67fb508ef
[]
no_license
marzig76/bitspread
b2e599c116a0225355d9727d3d386fb6b9eb0f20
f6fa7501d46b6410d1395d8f3f8da33354be12ff
refs/heads/master
2020-12-24T13:17:30.920793
2015-10-06T01:24:49
2015-10-06T01:24:49
40,491,580
1
0
null
null
null
null
UTF-8
Python
false
false
1,895
py
import sqlite3 import collections class ratedata: conn = "" c = "" # initialize the database connection def __init__(self): self.conn = sqlite3.connect('../db/rates.db') self.c = self.conn.cursor() # inserts a rate with the current timestamp def rateinsert(self, pair, rate): ...
[ "marzig76@gmail.com" ]
marzig76@gmail.com
b6e18fb848dd511799b8a86d1bf3eb79f3e9b704
ab72baa32f46806f7eaa5139e11c1fefb75e504c
/S7-1200pi/S71200.py
730a575b204a43fdc20107f61310ba501f7f9d35
[]
no_license
Tambralinga/raspberrypi
34308df22d76bf433e8bae7002581e0b065387b6
50f02834761064e89e3131993e5d2762dd4c4f97
refs/heads/master
2020-12-30T19:11:40.653863
2015-04-26T02:16:24
2015-04-26T02:16:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,739
py
from time import sleep import snap7 from snap7.util import * import struct class output(object): bool=1 int=2 real=3 word=4 dword=5 class S71200(): def __init__(self,ip,debug=False): self.debug = debug self.plc = snap7.client.Client() self.plc.connect(ip,0,1) self.ip = ip def getMem(self,mem,returnByte...
[ "nextabyte@gmail.com" ]
nextabyte@gmail.com
92e70f3375c49b5f0f371ed4cc14858df4e12007
2c4763aa544344a3a615f9a65d1ded7d0f59ae50
/waflib/Node.py
3024f5f7b3370c9e79f3ce9efc8e4d02de3fe9ca
[]
no_license
afeldman/waf
572bf95d6b11571bbb2941ba0fe463402b1e39f3
4c489b38fe1520ec1bc0fa7e1521f7129c20f8b6
refs/heads/master
2021-05-09T18:18:16.598191
2019-03-05T06:33:42
2019-03-05T06:33:42
58,713,085
0
0
null
2016-05-13T07:34:33
2016-05-13T07:34:33
null
UTF-8
Python
false
false
26,479
py
#!/usr/bin/env python # encoding: utf-8 # Thomas Nagy, 2005-2018 (ita) """ Node: filesystem structure #. Each file/folder is represented by exactly one node. #. Some potential class properties are stored on :py:class:`waflib.Build.BuildContext` : nodes to depend on, etc. Unused class members can increas...
[ "anton.feldmann@outlook.de" ]
anton.feldmann@outlook.de
6d9657f418a5c867591bbfaa573fbadb4ca75a42
f28224ebcca66c4e8e0e31ae6135863e9d2e7f00
/15.3-sum.py
f2a6ecbff6f5e2bce949f47e3351e8de04e26b87
[]
no_license
fkljboy/my-leetcode
8df5df625be2c3559ad4376d731ea0e6b25cb3c8
f5d05b437b9938f82e85d19a08b16779bd790c4f
refs/heads/master
2021-04-02T11:09:25.022762
2020-03-18T15:31:18
2020-03-18T15:31:18
248,268,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
# # @lc app=leetcode id=15 lang=python3 # # [15] 3Sum # # @lc code=start class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: nums.sort() res, k = [], 0 for k in range(len(nums) - 2): if nums[k] > 0: break # 1. because of j > i > k. if k > 0 and nu...
[ "851923289@qq.com" ]
851923289@qq.com
eebd17850d9af74e3791099693378022287e89b0
027a3e90eed1da5df95bc3472fb42c5c3ac5edd7
/fall/portal.py
6292dca534f687e791d45945fd9d9fe12e65e638
[]
no_license
TeamAwesomeTOJam/fall
c3d979af736998406fc28cd1758d8aabf9ac3ec9
1516787e2c5f9c67d870b4f74ba0ae7b3289b253
refs/heads/master
2023-01-23T17:56:32.908399
2022-12-25T03:37:02
2022-12-25T03:37:02
34,182,357
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
import pygame from pygame.locals import * import pymunk from .settings import * class Portal(object): def __init__(self, position): self.position = position self._init_pymunk() def _init_pymunk(self): self.body = pymunk.Body(body_type=pymunk.Body.STATIC) self.body.positi...
[ "jonathan@jdoda.ca" ]
jonathan@jdoda.ca
8e52e5124bb4d7475be9e1aba419b63c10e1da71
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/105/usersdata/188/50874/submittedfiles/av1_3.py
0328c1b58fec2bb6085db012bf78c1af432e4c52
[]
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 -*- import math N1=int(input('Digite o valor do número 1:')) N2=int(input('Digite o valor do número 2:')) N3=int(input('Digite o valor do número 3:')) n=1 b=0 while n>0: if(n%a)==0 and (n%b)==0 and (n%c)==0: b=b+n break else: n=n+1 print ('b')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
85310ee2436c773f327232a271c59d1b109e970d
be0d6486b466fb552d4f448d9d3f9d9f14c94c90
/apps/organization/migrations/0006_teacher_age.py
62db67a0c0f696e14701f2cdb3099fbe169f2bd5
[]
no_license
crawlerwolf/mxonline
1331f446702fcb2cb4da41d7a62bee484b2f7fa5
4ae4318b46e34604354789d9c4b269e94bd16f00
refs/heads/master
2022-03-12T07:19:44.262623
2022-03-04T07:35:48
2022-03-04T07:35:48
196,338,773
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# Generated by Django 2.0 on 2019-06-24 17:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organization', '0005_teacher_image'), ] operations = [ migrations.AddField( model_name='teacher', name='age', ...
[ "154080724@qq.com" ]
154080724@qq.com
7ac2dd42e28125077ec9c6e7c210f9a7f1c139f9
fda8a4bdc4f69bdfc064ebeb6ca3b18209dd6240
/floworld/data/tool/latestgen
5cd443d9648df2f234ca93221fb5d121caef8162
[]
no_license
gzlixiaochao/world
0703c25dca53767731a2326965ad3d65f93b46d8
e6146c288068917aecc6f4935afda902f1b2a5ee
refs/heads/master
2021-01-15T08:59:44.493453
2012-11-18T08:49:37
2012-11-18T08:49:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
877
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import re import urllib2 results = [] weibo = urllib2.urlopen("http://t.qq.com/huajie_mobile/mine") html = weibo.read() weibo.close() titles = re.findall('<div class="msgCnt">(.*?)<\/div>',html,re.I) for title in titles: results.append("{\"...
[ "jayfeng@jayfeng-ubuntu.(none)" ]
jayfeng@jayfeng-ubuntu.(none)
583f6ed0d8c5e3fb6fa51c092b5ad40be07ad49d
ec67c26c8411926afcfe7785a8b1b01a2696a4c3
/src/server.py
2f1257f92913e9a66bc57a840accd4206252518b
[ "MIT" ]
permissive
ianphil/BasicPyDevEnv
bc448935269ad66d63fe1b47603172dfe1e9b2f9
a7a4e5566f3a89a184a24a4a6346352b7b1c4e83
refs/heads/master
2020-09-02T13:17:06.979068
2019-11-05T20:43:45
2019-11-05T20:43:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
#!/usr/bin/env python name='Ian' print(f'Hello {name}')
[ "ian.philpot@microsoft.com" ]
ian.philpot@microsoft.com
9c70f2977027209074ec9416df02fa63c9d58dfd
8f16d76421c6ad3816da983de5dab79c81d55eb4
/DataAnalysis/ARIMA.py
db9df7158e44b415bd81998cf6a794e0a6145335
[]
no_license
IcamStrasbourgEurope/ProjetIoT
87066e4703faa72edbc9854bfad4ab29d4a4dc4b
1a4edff6d962a5bca10dd8f0c295faca7fe96643
refs/heads/main
2023-08-29T15:48:46.630280
2021-10-18T08:25:14
2021-10-18T08:25:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
# -*- coding: utf-8 -*- # line plot of time series from pandas import Series from matplotlib import pyplot from statsmodels.tsa.arima_model import ARIMA import numpy # Shows data on a chart def showDatas(dataset): # load dataset series = Series.from_csv(dataset, header=0) # display first few rows prin...
[ "noreply@github.com" ]
noreply@github.com
8e381188c01196c1bf3dfa781be56dd54f903631
79a72e268139e3a858acaf43357c631c1e657e3b
/tests/conftest.py
51194732b143a6175d61f9f83a752cf97f40fb82
[]
no_license
sakharovmaksim/performance-sla-metrics-tests-engine
e1958acba0737f22a83f9320672f5ad0ac21b916
be785a480648698b7114fe042b4d4da157e3a2a8
refs/heads/master
2023-02-01T03:37:40.431294
2020-12-14T11:19:58
2020-12-14T11:19:58
290,176,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,461
py
import pytest from _pytest.fixtures import FixtureRequest from core import env from core.helpers.test_result_data import TestResultData @pytest.hookimpl(tryfirst=True, hookwrapper=True) def pytest_runtest_makereport(item, call): outcome = yield rep = outcome.get_result() # Hack https://docs.pytest.org/e...
[ "msakharov@zoon.ru" ]
msakharov@zoon.ru
b1c04562cbcc6a038d058a44d1b883787dd62d0d
06068a92983d0b4a79b6cfb604fd5fc225d18a33
/scripts/colors.py
edecbcd5f25f0472baf1175157e5f5e6c1e438ee
[]
no_license
krfl/dotfiles
1dc42fc987a256a5fe7b804194248f8bebfcd5c3
0ee932cc3eed22b0cb7d3be576ca13020a9c193e
refs/heads/master
2023-08-17T22:12:31.631201
2023-08-15T09:00:28
2023-08-15T09:00:28
163,996,021
2
0
null
null
null
null
UTF-8
Python
false
false
188
py
import sys for i in range(0, 16): for j in range(0, 16): code = str(i * 16 + j) sys.stdout.write(u"\u001b[48;5;" + code + "m " + code.ljust(4)) print(u"\u001b[0m")
[ "kr.fl@outlook.com" ]
kr.fl@outlook.com
0c5b75952bd055ee2807574adfbafd0a1718e38e
ab670d6e59ebd4a0c23fa867fb77866d223163da
/Python/Problem243.py
4e68455830c3935144068fae503f0d467fa66e99
[]
no_license
JeromeLefebvre/ProjectEuler
18799e85947e378e18839704c349ba770af4a128
3f16e5f231e341a471ffde8b0529407090920b56
refs/heads/master
2020-07-05T02:42:44.844607
2014-07-26T01:04:38
2014-07-26T01:04:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
''' Problem 243 A positive fraction whose numerator is less than its denominator is called a proper fraction. For any denominator, d, there will be d−1 proper fractions; for example, with d = 12: 1/12 , 2/12 , 3/12 , 4/12 , 5/12 , 6/12 , 7/12 , 8/12 , 9/12 , 10/12 , 11/12 . We shall call a fraction that cannot be c...
[ "jerome.p.lefebvre@gmail.com" ]
jerome.p.lefebvre@gmail.com
1195b634fdacf15f93931254dfdc60eb03d3e39e
dba919fcbcec45ddd79d56fbf8c4daa244527559
/2020/Genders/nisha_scripts/test/setvariables.py
088f7fe4a9859afdbc1c779378db57a70130b904
[ "MIT" ]
permissive
LLNL/HPCCEA
3dc9d8b95c35721cfc8c28ff6a8db48b75c5db04
938da4f3e2d60ea8ad5cc515308bfd1e7225112c
refs/heads/master
2023-08-28T19:05:45.193502
2022-08-19T21:17:05
2022-08-19T21:17:05
184,619,652
16
30
MIT
2022-08-19T21:17:06
2019-05-02T17:03:26
Python
UTF-8
Python
false
false
489
py
# Test setting environment variables in python # UPDATE ----------- # ERROR: doesn't work the same as exporting the variables in bash - create a driver script instead + debug import os os.environ['PYTHONPATH'] = '/usr/local/lib64/python3.6/site-packages' os.environ['LD_LIBRARY_PATH'] = '/usr/local/lib' print(os.envir...
[ "nishap1225@gmail.com" ]
nishap1225@gmail.com
e8e1925708c0164676bbd31c49e957d88755a8d4
35e9662055b20a811f8d0177ee285faa6ec87cf8
/python/grpc_protos/textmining/textminingservice_pb2_grpc.py
04ec019a49e3947659dad93f6d76c1ab854c777f
[]
no_license
blakenerdway/textmining
35088fd84d2100cbf588692348eb45d3b891a7ca
2fd16db9c805742b98add919a9932af7e13fe38d
refs/heads/master
2020-04-02T18:12:31.886687
2018-12-13T18:33:15
2018-12-13T18:33:15
154,690,799
0
0
null
null
null
null
UTF-8
Python
false
false
2,295
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from . import request_pb2 as request__pb2 from . import textsummary_pb2 as textsummary__pb2 from . import topicmining_pb2 as topicmining__pb2 class TextMiningStub(object): """The service definition """ def __init__(self, channel...
[ "bordway@ihmc.us" ]
bordway@ihmc.us
a518b587bddb375c937acbbeac0c899400d706d2
34e1e4d955e7a4689309ce8dcd503181ae1bd2c8
/src/DNN_3layer_train_model.py
c4d43d2f7ede47041f9a1beb16130b673d7d8836
[]
no_license
Vibek/Anomanly_detection_packages
817540e8b347cae615a3545a3d1c77b2be7d8cc8
a9df3a8d33377f0082e2df5f34fa1d10c9d40992
refs/heads/master
2020-12-06T22:57:08.038025
2020-07-04T07:47:43
2020-07-04T07:47:43
232,574,348
1
0
null
null
null
null
UTF-8
Python
false
false
6,843
py
from __future__ import print_function from datetime import datetime import pandas as pd import numpy as np import io import itertools import pickle import shutil import time import matplotlib.pyplot as plt from IPython.display import clear_output from sklearn.model_selection import train_test_split from sklearn.metri...
[ "vibek4989@gmail.com" ]
vibek4989@gmail.com
6be766d1b4041955df7bb8efb22ff6e7e6d54821
6a9f1ef2aeeafa46a771dc942822a74149afd6e8
/Array/two-sum-ii-input-array-is-sorted.py
b2690c3426a01d5564d63c4f2234b94047848e37
[]
no_license
kuz0/LeetCode
1ba22c1d2a3dff34f694dea6bb5fa891d5459d59
43a017e00cb0846b0493e083406014dae087f518
refs/heads/master
2021-01-24T12:14:52.536597
2018-04-16T08:30:22
2018-04-16T08:30:22
123,125,584
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
class Solution: def twoSum(self, numbers, target): """ :type numbers: List[int] :type target: int :rtype: List[int] """ left, right = 1, len(numbers) while left < right: two_sum = numbers[left - 1] + numbers[right - 1] if two_sum == tar...
[ "kuz0@outlook.com" ]
kuz0@outlook.com
3c0702ec4a5003244e3b954e3d649b8f4dc6bbb3
c569134861900551d036bc469fb8463e20dc54ac
/main.py
ff4abe108cf18596747a845ed39b8efa8a454073
[]
no_license
Wizard-Fingers/try2
1d77839e8df6f05ef2fd1140d78295a33399675b
3daa773bef26fd799f9157399206c9d047978662
refs/heads/master
2023-08-19T03:49:46.463217
2021-09-23T16:09:05
2021-09-23T16:09:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
# This is a sample Python script. def print_hi(name): # Use a breakpoint in the code line below to debug your script. print("Hello", name) # Press to toggle the breakpoint. # Press the green button in the gutter to run the script. if __name__ == '__main__': print_hi('PyCharm') # See PyCharm help at h...
[ "joyofcoding4all@gmail.com" ]
joyofcoding4all@gmail.com
aa224609e56626ea877f8b8b5b446b09c04ba066
08d6f25c664669b36d6e03250f1e96ad6872f589
/services/api/src/documents/serializers.py
5e0d00c17a38cf80d991e14e2dac8d4809dd876f
[]
no_license
JeffreyMFarley/malta
4692446852ac373d4c15ec4b4300d9b6e31ee930
52c033c0c17bc2f714f263d9a207d4fd0447e60e
refs/heads/main
2023-06-21T04:27:55.222652
2021-07-16T13:46:20
2021-07-16T13:46:20
386,630,302
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from rest_framework import serializers from .models import Document class DocumentSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Document fields = ['id', 'title', 'raw', 'url'] extra_kwargs = { 'url': {'view_name': 'document-detail'}, }
[ "jeffrey.m.farley@gmail.com" ]
jeffrey.m.farley@gmail.com
92fcdeca91eaee9bd82dc56ca775883e1a752c96
6cf9dc76a91237e1cb284cc63d0bef0e2f9d75a8
/src/custom.py
a9ddae74252e8a36eb6b9fe3b4661daaac71d5b0
[]
no_license
lepisma/audi
e3cc11dbea9a31a4bc776d3cd456a7f74b554f4b
a9b8be06f2f183d2f592db399a824ac8ae7890a0
refs/heads/master
2016-09-05T21:24:41.626558
2014-12-16T21:02:24
2014-12-16T21:02:24
27,975,943
0
1
null
2014-12-16T19:45:06
2014-12-13T22:34:16
Python
UTF-8
Python
false
false
2,769
py
""" Custom cnversion of data to music """ import numpy as np import pyaudio def modulate(data): """ Modulates the data given to be transferred via audi. Modulation works as described below - Change each uint8 element (byte) in the given array to binary representation - Form a wave byte by...
[ "abhinav.tushar.vs@gmail.com" ]
abhinav.tushar.vs@gmail.com
376d81f18957b729df1c5d3158ad6a37aa802021
a183a600e666b11331d9bd18bcfe1193ea328f23
/pdt/core/migrations/0032_case_revision.py
ff8909b6297a1b81d520bff33753bd05266aae58
[ "MIT" ]
permissive
AbdulRahmanAlHamali/pdt
abebc9cae04f4afa1fc31b87cbf4b981affdca62
5c32aab78e48b5249fd458d9c837596a75698968
refs/heads/master
2020-05-15T07:51:09.877614
2015-12-01T18:22:56
2015-12-01T18:22:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('core', '0031_auto_20150618_1116'), ] operations = [ migrations.AddField( model_name='case', name='re...
[ "bubenkoff@gmail.com" ]
bubenkoff@gmail.com
06711799efc8419d428058ea3f7582f7a48c0a3e
284713c5e6ad6681d2c6c379efc96e5c42833321
/DB_SQLITE/04_sql_injection.py
ba90ecf3dcc02dcf9e5f32d856ff698089f5add3
[]
no_license
alexeysorok/Udemy_Python_2019_YouRa
ddfa1f620dcac44cc53958bb88169845072db38e
8ebd8483f7927892b346af209b4325c9ae0c7dab
refs/heads/master
2020-09-27T03:24:08.997040
2019-12-07T19:04:17
2019-12-07T19:04:17
226,417,119
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
import sqlite3 conn = sqlite3.connect('users.db') # cursor.execute('CREATE TABLE users (user_name TEXT,' # 'user_password TEXT)') users = [ ('jack123', 'asdasdasd'), ('kasdsa', 'asdsadasd'), ('Bio', 'asdasda') ] # insert_query = "INSERT INTO users VALUES (?, ?);" user_name = input('...
[ "alexe@W10SSD" ]
alexe@W10SSD
522047d834980f56f0fe77576f61a6b45afc28e9
4aa7bf21bc6793393e63735d805e56ab53d2e89d
/Fashion.py~
284eb1312b9874af3abeeac533ae662897dd6fde
[]
no_license
chy/SPOJ-Problem-Solutions
493250112101f175c7265cd4d1e64e097be5ca50
196f6435e5ef97d062d0b837cc3769b554b448ae
refs/heads/master
2021-01-23T14:52:08.234172
2012-10-02T04:04:48
2012-10-02T04:04:48
6,039,923
1
0
null
null
null
null
UTF-8
Python
false
false
654
#SPOJ FASHION : http://www.spoj.pl/problems/FASHION/. Christa Wimberley def MMDS(men, women): men.sort() men = men[::-1] women.sort() women = women[::-1] s = 0 #sum m = len(men) #length of shorter list so it'll still work with uneven lists if len(women) < len(men): m = len(women) for i in range(0, m): s +=...
[ "sylvantier@gmail.com" ]
sylvantier@gmail.com
2af42a2b6608396255e292e61e930cbde59accca
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/third_party/kubernetes/client/apis/autoscaling_v2beta1_api.py
dded44c74978be142fca5084827f341ddb1b8418
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
95,742
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.14.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os imp...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
7b3a712859fc7662ee93e36826fd4fc434b815dc
aad0b20eb2d9e7b5d76e7cdebd9c17232db290aa
/setup.py
c55165d7248459b5478fe52f50919af6a2f57dee
[ "MIT" ]
permissive
antianna/test
5e025ff2b00eefc510d511f0d3b7e9079cfd28bf
1eb137d68a706275179b2c42a9900163d70480f9
refs/heads/master
2021-06-17T06:39:01.468968
2021-03-06T13:24:28
2021-03-06T13:24:28
174,735,848
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='I am testing the template', author='anna', license='MIT', )
[ "anna.antoniou@gmail.com" ]
anna.antoniou@gmail.com
e5315f8b7c310518d01996764c66eafb2677554c
ba13167f5610fbe108663f0029531401c49714c6
/.ycm_extra_conf.py
1f96b2fb314a3bdaec298dfc4fff4538e751419a
[]
no_license
captainsmiley/esp_com
f2727fc00dc59c863be63b5a2890507f9911ec5f
2dd0fb16075a13ca44083e7164651ca986b455a2
refs/heads/master
2020-06-30T01:51:11.710770
2017-05-25T18:34:41
2017-05-25T18:34:41
74,398,672
0
0
null
null
null
null
UTF-8
Python
false
false
6,157
py
""" YouCompleteMe extra configuration for Platformio based projects. Based on the `.ycm_extra_conf.py` by @ladislas in his Bare-Arduino-Project. Anthony Ford <github.com/ajford> """ import os import ycm_core import logging # Logger for additional logging. # To enable debug logging, add `let g:ycm_server_log_level =...
[ "tg.tobias@gmail.com" ]
tg.tobias@gmail.com
ff2e3f190b0dfc55dacf523353dd603176cd4917
01b3c5fccd0a49fc0ae104b5eb0e948f0a9281c3
/env/lib/python3.6/abc.py
0f8531aaa7cc6af1ab6756aa76a10816ebe010cf
[]
no_license
YaraA/dlc-task
f14c87e73a52ed2b6ba22fcf203daeda993148f8
456956179fde621f9f4d09dc8449424673cc6100
refs/heads/master
2020-03-23T23:25:09.372466
2018-07-25T01:54:29
2018-07-25T01:54:29
142,233,065
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
/Users/Yarayehia/anaconda3/lib/python3.6/abc.py
[ "yaraasy@gmail.com" ]
yaraasy@gmail.com
75e7b42363cb042feea0f589acb029e4fe18e94b
520230d05bd159fcc47bc173c8fbec607a6476db
/myPython/习题课练习/logging/logging01.py
d75b3926d553e3d9bf3dc4ddd0e73942f7bee0b6
[]
no_license
duanzhijianpanxia/myPython
c9a2f01c9861b16925cf5e86d713e35f4334cad3
b5fb32e7660a813a3f34ed870e9e8ab5df7e33f4
refs/heads/master
2020-05-13T21:19:47.325682
2019-06-27T09:28:08
2019-06-27T09:28:08
181,662,204
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
import logging logging.debug("This is a debug") logging.info("This is a info") logging.warning("This is a warning") logging.error("This is a error") logging.critical("This is a critical")
[ "45039007+duanzhijianpanxia@users.noreply.github.com" ]
45039007+duanzhijianpanxia@users.noreply.github.com
c7ef589bf879fb64a6c1ba7225ee9fec2cfe12bb
ccd30f827fb3bd4231c59d05e6d61c5963019291
/Practice/LeetCode/EverydayPrac/3.py
603f49bc17eca59b1792306e56056465b5c878af
[]
no_license
anthony20102101/Python_practice
d6709e7768baebaa248612e0795dd3e3fa0ae6ba
56bb1335c86feafe2d3d82efe68b207c6aa32129
refs/heads/master
2023-06-10T18:49:11.619624
2021-06-27T15:36:10
2021-06-27T15:36:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
# 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。 # # 在杨辉三角中,每个数是它左上方和右上方的数的和。 # # 示例: # 输入: 3 # 输出: [1,3,3,1] # 进阶: # 你可以优化你的算法到 O(k) 空间复杂度吗? # 优化: # 注意到对第 i+1 行的计算仅用到了第 i 行的数据,因此可以使用滚动数组的思想优化空间复杂度。 # 利用上述公式我们可以在线性时间计算出第 n 行的所有组合数。 # # 复杂度分析 # # 时间复杂度:O(rowIndex)。 # # 空间复杂度:O(1)。不考虑返回值的空间占用。
[ "492193947@qq.com" ]
492193947@qq.com
04003011021ed9b70a92bbdc33e87c7af6f9ad9e
6fa0c051f742c3f9c99ee2800cd132db5ffb28c7
/src/account/migrations/0008_auto_20200806_2318.py
03591749cf0b1a71c7d4f20b7e81927a0e349322
[]
no_license
MCN10/NXTLVL
9c37bf5782bfd8f24d0fb0431cb5885c585369b0
76d8818b7961e4f0362e0d5f41f48f53ce1bfdc5
refs/heads/main
2023-06-02T13:51:34.432668
2021-06-02T14:19:21
2021-06-02T14:19:21
328,625,042
1
0
null
2021-06-16T10:16:17
2021-01-11T10:19:44
Python
UTF-8
Python
false
false
611
py
# Generated by Django 3.0.8 on 2020-08-06 23:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0007_account_is_axisstaff'), ] operations = [ migrations.AlterField( model_name='account', name='phone', ...
[ "mcn10.foxx@gmail.com" ]
mcn10.foxx@gmail.com
f2d9eaf8a235500ef2b96da940bfa065479d2e95
e4f81fda493e48b5a65912fa1ac28d0c505eeb11
/backend/views/customerdetail.py
b62307d0d8aba8216ca217a9688085c881e8ec77
[]
no_license
shtsai/xigua_shopping
b60417b8a1c31eea56fe12537c35c53f7274b01b
bd60d862234497d675de0dfb17aad71a2d81a2c8
refs/heads/master
2021-09-07T10:49:50.344561
2018-02-21T20:48:06
2018-02-21T20:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse from django.views import generic from django.db import connection from django.contrib.auth.decorators import login_required from backend.models import Customer, Order, Product, Inventory from .util import * def customerdetail(...
[ "st3127@nyu.edu" ]
st3127@nyu.edu
038ce77a7609a8d5994d211f43224d6dc39aa18e
7ba57aa7922e6e91ff5e271ca76fde9a9774e5e1
/min_max_division.py
b10d27e26ca76fa4766fb564ea91eac2a141382f
[]
no_license
yama2908/Codility
a6083428ea4ca02507946c21a28efb8df4b07901
21df43d177992795201fd1de8b0472909a7391e0
refs/heads/master
2021-05-21T10:14:47.319880
2020-04-03T15:43:05
2020-04-03T15:43:05
252,650,623
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
# you can write to stdout for debugging purposes, e.g. # print("this is a debug message") def solution(K, M, A): # write your code in Python 3.6 blocksNeeded = 0 lower, upper = max(A), sum(A) ans = 0 if K == 1: return upper if K >= len(A): return lower while lower <= up...
[ "noreply@github.com" ]
noreply@github.com
3adfa4770faeaadd94adabd51231577e49815129
c54a4cc4d084e4778907f61fa22e320b53d4983a
/deep_head_pose/test_on_video_retina.py
a140a75845b76ca3d23fd00b2ebafd26ddb24a78
[]
no_license
ToeiKanta/head-pose-module
755525076a945d778c9f37de7e3d6fad1ad8fe17
e6b31a316fdae33d19b9ceb9d433241c8ffce8e6
refs/heads/master
2023-03-20T09:35:30.963397
2021-03-11T10:02:32
2021-03-11T10:02:32
312,546,067
0
0
null
null
null
null
UTF-8
Python
false
false
7,093
py
import sys, os, argparse import numpy as np import cv2 import matplotlib.pyplot as plt import torch import torch.nn as nn from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import transforms import torch.backends.cudnn as cudnn import torchvision import torch.nn.functional as...
[ "41673034+ToeiKanta@users.noreply.github.com" ]
41673034+ToeiKanta@users.noreply.github.com
cbb0002323e43dc7093ab60b67d77db7c93c8b17
41ff6e7b7261db5e277c4bbcc7af9e7f18d15331
/cnn_model.py
7fb85f3b9818eaa98d175ba1e6adf22e2d181121
[]
no_license
jakeywu/tf_classification
d4a1b9da5d444fe904639477c91b1d80f866b3d7
d9076971dca4085593d80f97aa5aca06be8236df
refs/heads/master
2020-03-25T17:50:26.197284
2018-08-28T05:52:30
2018-08-28T05:52:30
143,998,652
8
1
null
null
null
null
UTF-8
Python
false
false
5,777
py
import tensorflow as tf from data_utils import PrepareClassifyData class CnnModel(object): def __init__(self, conf): self._config = conf self._init_placeholder() self._embedding_layers() self._inference() self._build_train_op() self.sess = tf.Session() self....
[ "wanjie.wu@socialcredits.cn" ]
wanjie.wu@socialcredits.cn
6c8ded239c4ef4b19711c36be8c3a7ac710c6069
dc19f6df97aea3d11f07c60d2263ee768ed5bf92
/Algorithmic Toolbox/Algorithmic Toolbox Week 3/dot_product.py
5ad26b88044cfe6e6b774022677d75e8363deb20
[]
no_license
Minjaben/Algorithmic_Toolbox
2b702d8db73a1e7275a1e2eaf7efaacea21b76ff
9a9d2011769bed92c35d04a795dddedb1f981b66
refs/heads/master
2020-04-12T15:00:14.801940
2019-01-07T04:07:55
2019-01-07T04:07:55
162,567,972
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
#Uses python3 import sys def max_dot_product(a, b): #write your code here res = 0 for i in range(len(a)): res += a[i] * b[i] return res def sortdata(a,b): # In this function we need to sort the revenue per click (a[i]) in descending order, # then sort the amount paid per click (b...
[ "minjaben@gmail.com" ]
minjaben@gmail.com
ed5253e35e270b6375dce2c71f542db9f45bf3b7
930f7f2b96104606884cea146f1b0579edb17b21
/testTF.py
80cfa6066327273ea4d18fc90f950388c6213539
[]
no_license
reinisirmejs/LVGMC
c6fac1b3493c1f936301ddad0484902a5f182012
a81ed7ae7e76f538bdcdcbdadba088467e5880f3
refs/heads/master
2020-07-24T21:50:27.976238
2019-09-17T10:48:16
2019-09-17T10:48:16
208,058,660
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
import tensorflow as tf mnist = tf.keras.datasets.mnist (x_train, y_train),(x_test, y_test) = mnist.load_data() #print(x_train[0]) #print(y_train[0]) x_train = tf.keras.utils.normalize(x_train, axis=1) x_test = tf.keras.utils.normalize(x_test, axis=1) model = tf.keras.models.Sequential() model.add(tf.keras.layers.Fla...
[ "reinisirmejs@gmail.com" ]
reinisirmejs@gmail.com
387590d8abe835d5a0a36446f5760f666e277312
7bf2b8ddc0281a3b72e6d265fc29a3f410cd5b99
/Verification/__init__.py
de0afee8ee0cc2ad0a04c8778053485c233cf7dc
[]
no_license
Asuri-Team/CtfToolKit
9f4a5700a9748feed341db223bf26cab67089298
c6cf3d9afd249eba03b3654a53ae9d05b0108739
refs/heads/master
2020-05-20T06:26:40.768980
2015-06-11T01:51:41
2015-06-11T01:51:41
37,233,366
1
0
null
null
null
null
UTF-8
Python
false
false
894
py
import Image import ImageEnhance import ImageFilter import sys from pytesser import * # 二值化 threshold = 140 table = [] for i in range(256): if i < threshold: table.append(0) else: table.append(1) #由于都是数字 #对于识别成字母的 采用该表进行修正 rep={'O':'0', 'I':'1','L':'1', 'Z':'2', 'S':'8' }; def...
[ "cuihao5135@gmail.com" ]
cuihao5135@gmail.com
5629d477d8fa2067198e65ffdfb9c0886d901cde
4ef12058ec6bd844002607f4d5d313d10ef0d885
/bot/language/BotLocalizer.py
5dc27eb3bcc2261b03d4eb6f46cfc84c30193134
[ "BSD-3-Clause" ]
permissive
TheLegendofPiratesOnline/discord-bot
a6949510bd9573d5511d762ad261b8e3be7d2cb2
e8582e84ff9f745b05c2e257a21e5cc9f78087ad
refs/heads/stable
2022-12-05T01:34:53.809933
2022-11-25T11:33:31
2022-11-25T11:33:31
116,735,857
7
9
BSD-3-Clause
2022-11-25T11:33:33
2018-01-08T22:30:32
Python
UTF-8
Python
false
false
1,122
py
# Filename: BotLocalizer.py # Author: mfwass # Date: January 8th, 2017 # # The Legend of Pirates Online Software # Copyright (c) The Legend of Pirates Online. All rights reserved. # # All use of this software is subject to the terms of the revised BSD # license. You should have received a copy of this license along # ...
[ "michael@mfwass.com" ]
michael@mfwass.com
0f5d730440ef71b975b089ab342a71ad7cea9813
7a8f6f7a032e026007228b6223763ff046fc457a
/NeoBoot/files/tools.py
899a7da5b76023ee09619d9bc1c7b2c53d51c798
[]
no_license
VARAVAN1/neoboot
189fb8c5fa6bca1d52dd07e5143fb86d1cc2bced
b316149f7ade85491d3f719cdd3fec8eae4a07aa
refs/heads/master
2021-08-08T22:37:01.083721
2017-11-11T13:44:35
2017-11-11T13:44:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,196
py
#!/usr/bin/python # -*- coding: utf-8 -*- from __init__ import _ import codecs from enigma import getDesktop from Components.ActionMap import ActionMap from Components.Label import Label from Components.ScrollLabel import ScrollLabel from Components.Pixmap import Pixmap from Components.Sources.List import List from Com...
[ "noreply@github.com" ]
noreply@github.com
932c777e82f9b34d9552ecd5044100328cbcb95c
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/class스타크래프트프로젝트전반전_20200709105346.py
18786ac5676fbf66cb3c84a0ce24b862c00e37aa
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
4,135
py
# 일반 유닛 class Unit: def __init__(self, name, hp, speed): self.name = name self.hp = hp self.speed = speed print("{0} 유닛이 생성되었습니다.".format(name)) def move(self, location): print("[지상 유닛 이동]") print("{0} : {1} 방향으로 이동합니다. [속도 {2}]" .format(self.name, ...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
3d0e54171f99c5973fdb441873c4d1302c56d070
86d499787fb35024db798b0c1dbfa7a6936854e9
/py_tools/example/TV.py
4ec42492467c2b2392e40b3209a8fa35afb1b711
[]
no_license
Tomtao626/python-note
afd1c82b74e2d3a488b65742547f75b49a11616e
e498e1e7398ff66a757e161a8b8c32c34c38e561
refs/heads/main
2023-04-28T08:47:54.525440
2023-04-21T17:27:25
2023-04-21T17:27:25
552,830,730
0
1
null
null
null
null
UTF-8
Python
false
false
1,095
py
class TV: def __init__(self): self.channel = 1 # Default channel is 1 self.volumeLevel = 1 # Default volume level is 1 self.on = False # By default TV is off def turnOn(self): self.on = True def turnOff(self): self.on = False def getChannel(self): re...
[ "gogs@fake.local" ]
gogs@fake.local
a79551a549cf4662d75e6a1db282c47be5aa9948
5c4c5b070bcf809e1a3850bbec69ca2e9bb5a519
/Exercises/Flask_Restfull_SQL/Flask_Restfull_SQL/Code/item.py
7d53ef8eef8f1d71bcc53832a922a65ce1ed59ca
[]
no_license
gerardoalfredo2/Rest_Api_Flask-and-Python
98560e19d5547b2d1c9f2b256f666a57b8d16735
1e7a87a545998485b1d74f1e85c6e7811f052e52
refs/heads/master
2022-10-14T07:19:47.969633
2018-02-20T22:02:54
2018-02-20T22:02:54
104,912,478
0
1
null
2022-10-05T20:04:20
2017-09-26T16:47:39
Python
UTF-8
Python
false
false
3,086
py
import sqlite3 from flask_restful import Resource, reqparse from flask_jwt import jwt_required class Item(Resource): parser = reqparse.RequestParser() parser.add_argument('price', type=float, required=True, help= "This field cannot be left blank!") @jwt_required() def get(self,name): # ...
[ "gerardoalfredo2@gmail.com" ]
gerardoalfredo2@gmail.com
64d3820a24b6583218f8be48ea9a7f5c8b94859c
9d69a062aa2928d37d629b8cd145f6fd7b88f886
/src/user/migrations/0001_initial.py
092c833c399d9586fce9937c9be6d799c28e904e
[]
no_license
flous/Lycee_website
9756545ee30525c262b454de7bbb2e370a4ff591
99a62c6cd8522ed3f970a98d1342e4a4c0cc45c9
refs/heads/master
2022-12-20T00:53:13.436662
2020-10-05T19:38:16
2020-10-05T19:38:16
263,046,049
3
0
null
null
null
null
UTF-8
Python
false
false
777
py
# Generated by Django 3.0.6 on 2020-05-15 10:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "tebritebri2@gmail.com" ]
tebritebri2@gmail.com
c5ad576cf8c85785dcbdd15d2a35fb33c5ac752e
b63d17e840d251f9c8fee3d336a38b8a8d13caa6
/KDC-Simulator/kdc.py
6732aefc1b1fa80cb9e91bfae8838cb00edb7bd8
[ "MIT" ]
permissive
pablo-grande/Aula
587f6e12bf5032d0207b6af1b91449cf9dda1009
9c560fb76e94bf846120ec202c6e14e651a53844
refs/heads/master
2022-05-01T05:54:53.327704
2018-05-31T10:46:04
2018-05-31T10:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
from node import Node from aes import * class KDC(Node): def connect(self, transmitter, encrypted_message): """ Given two nodes and a session key establish a connection from transmitter to receiver using session_key The node identity to send the message comes encrypted with ...
[ "pablo.riutort@gmail.com" ]
pablo.riutort@gmail.com
dd256bbf0eafa840962acd7ca0126fd0a34cc89f
de3aa32acb4d1c819d2a07239b34dcc745c255e4
/datadotworld/client/_swagger/models/catalog_table_hydration_dto.py
696b3eb2ea7624244da55bbde68c50736f319b68
[ "Apache-2.0" ]
permissive
datadotworld/data.world-py
8d3ccbdc3c68687528ffe3d2f9c42a6765ef9a4b
4f946160f374a9f717ab955d578c1737cae15218
refs/heads/main
2023-05-27T11:19:34.463247
2023-05-11T20:18:21
2023-05-11T20:18:21
79,499,370
103
30
Apache-2.0
2023-05-11T20:18:23
2017-01-19T21:57:19
Python
UTF-8
Python
false
false
13,442
py
# coding: utf-8 """ data.world API # data.world in a nutshell data.world is a productive, secure platform for modern data teamwork. We bring together your data practitioners, subject matter experts, and other stakeholders by removing costly barriers to data discovery, comprehension, integration, and sharing...
[ "noreply@github.com" ]
noreply@github.com
76f34a5779885c8d75a5dffba7c7debce3ab6a8d
6d3d82bf628a1fd8b06dbe2ddf87c711e9d3737c
/LPTHW/ex40.py
b29480d6a04a49f3725c7a1e2904132cafc9a5fc
[ "CC0-1.0" ]
permissive
YYMaker/PythonStarter
d04458106b09809d4e336b4f7379f9af54f83c88
49f7af6c5f4acf50be5d761f372ecdff8993aff9
refs/heads/master
2021-01-19T06:50:16.951018
2016-08-04T05:46:50
2016-08-04T05:46:50
63,845,621
1
0
null
null
null
null
UTF-8
Python
false
false
57
py
import mystuff mystuff.apple() print mystuff.tangerine
[ "Y2Maker@gmail.com" ]
Y2Maker@gmail.com
c3c2826ebeb9ef75dc2b4c0a2add019a8c94cf32
27b3d59c7a37eaba49300fab3161667f2edc3ea3
/CodingBat/Python/Logic-1/love6.py
9d9db15446eaa765f03e370dfb2cd879a2c41d77
[]
no_license
robgoyal/CodeChallenges
934cf03640e9a8041caa21857b8b77cabd10863d
5f56f6cc20237ac5858fd40134b6e535a9173a0a
refs/heads/master
2021-01-15T15:27:38.285553
2016-08-30T04:42:33
2016-08-30T04:42:33
61,139,779
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
#!/usr/bin/env/python # love6.py # Code written by Robin Goyal # Created on 18-08-2016 # Last updated on 18-08-2016 def love6(a, b): if (a == 6 or b == 6 or abs(a-b) == 6 or (a+b) == 6): return True else: return False
[ "robin_goyal@hotmail.com" ]
robin_goyal@hotmail.com
5f68deec102991311b8e484b3a064bf6c0f04eaf
1d0ab3c9937981b2ba6a3d37bab3bdb0a6d75c23
/strategy_mining/model_tuner.py
84c1c452abee887b4f192776485165f607bc44de
[]
no_license
darwinbeing/pytrade-1
178bbe903cd13a6f1ed9ed09a09782b450d44bb7
ca071cdeb967884fa1dc189ba9c97f307ecf2142
refs/heads/master
2021-01-22T06:54:14.554163
2016-05-12T04:05:25
2016-05-12T04:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,259
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> import os,sys,json,datetime import numpy as np import math from math import log from sklearn import metrics,preprocessing,cross_validation from sklearn.feature_extraction.text import TfidfVectorizer import sklearn.linear...
[ "binred@outlook.com" ]
binred@outlook.com
2f517832d9c2beb436bf2a961ecad76ecd39ab83
4dcef270075f6b44dd8d78a23a9e8dbe5f983a6b
/tests/test_action_helper.py
5eb239cd48c593117ba31d6c117ba2c2efc626c3
[]
no_license
relusek/mgw
61f3828388fe0c4c45054be32aa8b8e2d12d2c36
544b7a34d5d5051084901e3156946ab86e836aea
refs/heads/master
2021-01-18T02:25:47.254169
2015-10-29T19:17:27
2015-10-29T19:17:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import copy import os import sys import pytest # NOTE(prmtl): hack to allow imports of mgw.py # it should be replaced by a real life file but do we # really care about it? :) parent_dir = os.path.dirname(os.path.dirname(__file__)) sys.path.insert(0, parent_dir) import mgw default_action = { 'check_if_armed': { ...
[ "sebastian@kalinowski.eu" ]
sebastian@kalinowski.eu
25edd4be4fa0f232885138e0d5422bc1afc6fdda
8218eb20ad0edd1d60774f389a3118f4970315b1
/src/hierarchical_properties/clustering.py
c0f9346e7ad9048a9a749417ef1e8b15a419a184
[]
no_license
mona251/Intriguing-Properties-of-Contrastive-Losses
febb8a183ece5d3fbea7370a1a45e34b01f85344
6417de9841563c59552cd315755994ae5f26d9fb
refs/heads/main
2023-09-01T08:51:25.003914
2023-08-23T13:11:22
2023-08-23T13:11:22
557,820,273
3
0
null
null
null
null
UTF-8
Python
false
false
11,785
py
import cv2 as cv import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans, AgglomerativeClustering, BisectingKMeans from src.data_generation.utils import downsample_img, normalize_img def get_colors_of_clusters(n_clusters: int) -> np.ndarray: """ Gets the colors of each cluster f...
[ "lucamarini1998@gmail.com" ]
lucamarini1998@gmail.com
78dc61a748d062cdedaa16780063622eb8362252
287f9c6ffab205f0a290f774bff22e7bb8d1f5ac
/src/leap/bitmask_core/dispatcher.py
46b1948dae34769d384b6aa853686a8f5fd813ad
[]
no_license
kalikaneko/bitmask_core
1b85cfa09c071cc9cf53712bd86d72df42bddfe8
07736dbd52901298daf95116671b5b519af92e07
refs/heads/master
2020-12-24T16:25:03.188723
2016-03-04T04:33:35
2016-03-04T04:40:56
46,516,008
1
1
null
2016-02-16T20:07:20
2015-11-19T19:42:43
Python
UTF-8
Python
false
false
5,847
py
# -*- coding: utf-8 -*- # dispatcher.py # Copyright (C) 2016 LEAP # # 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. # # ...
[ "kali@leap.se" ]
kali@leap.se
cde9e8c41184ee204fbf4f603084f018c667ea9d
4cb81903c4d07cd85d9bb8d37eab8ab399a6e276
/Array Sequences/Practice Problems/uniquechar.py
ac9f2e97f4e67e22a89c814f8168cfb1ea4cb2ad
[]
no_license
JitenKumar/Python-for-Algorithms--Data-Structures
0011881c8c8558a2e21430afc1aa7d9232392b2c
7ee8a3ef287761b00be1907c5bbad35e75c5bfd6
refs/heads/master
2020-03-18T22:02:47.673814
2018-08-05T06:07:17
2018-08-05T06:07:17
135,320,756
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
''' Unique Characters in String Problem Given a string,determine if it is compreised of all unique characters. For example, the string 'abcde' has all unique characters and should return True. The string 'aabcde' contains duplicate characters and should return false. ''' # solution def unique_char(string): s = s...
[ "jitenderpalsra@gmail.com" ]
jitenderpalsra@gmail.com
33faf8462155b38ddd9b1154f5c8297b73e1268e
3eef49038fef01fa210e00fff1159f8177d94e76
/dev-docker/07-email-sender-service/backend/routes.py
095b9df3c598b9c9faf413a57213f7b72c415418
[]
no_license
rscabral/docker-studies
511f1e406021343a25d055bb40e7854b5a4d4094
a355fba93956570fd28f0fc38da3ee2c67c7f835
refs/heads/main
2023-01-19T17:17:45.240492
2020-11-20T20:00:34
2020-11-20T20:00:34
303,534,542
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from flask import Blueprint, request, jsonify from sender import Sender blueprint = Blueprint('sender', __name__) @blueprint.route('/', methods=['POST']) def sendMessage(): sender = Sender() subject = request.form['subject'] message = request.form['message'] returnedMessage = sender.sendMessage(subject=subj...
[ "rafaelsantanacabral@gmail.coma" ]
rafaelsantanacabral@gmail.coma
01090ae466a7c03d9bc40715347e6a87454698fb
c87fb70617fe1f045d53ae4a360b1cc3d4074494
/junk-monitoring/monitor.py
13cb2abbcae87812f2317ee0a2b0f2fcd51ff26b
[]
no_license
yulyugin/helpers
eddcb6068606b41de78afcd2962da00766149df5
34a39950ef1f420c43e07aff96a6e4353a13aa98
refs/heads/main
2023-01-13T14:52:55.910061
2023-01-11T22:02:48
2023-01-11T22:02:48
212,777,181
0
0
null
null
null
null
UTF-8
Python
false
false
3,640
py
#!/usr/bin/env python3 import urllib.request import ssl from html.parser import HTMLParser import time import copy import argparse import threading class Item(): def __init__(self): self.url = None self.title = None def to_string(self): return f'{self.title} ({self.url})' def __r...
[ "yulyugin@gmail.com" ]
yulyugin@gmail.com
91f62217c7ebbd46b2d45992db0ba07ce6eb95da
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_197/ch36_2020_04_13_17_07_50_283710.py
6a077ebde6ef2622e4e4f67db4cfcdf80a8088b7
[]
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
111
py
def fatorial(n): resultado=1 m=1 while m<=n: resultado*=m m+=1 return resultado
[ "you@example.com" ]
you@example.com
6369983875524c118b7a4e2947ee83f556288f6c
2f9358bc68d82ef090521dd6ff91e6593108e23a
/Python/Code/20.py
36b6ccee16551b51fe626f08b6e036415f7cbeeb
[]
no_license
RithvikBhat/sangamOne-Python
c10c62ef9725227134b5a4b6b6b58821d5cbd24f
f857bae79611a0ff87eb1721e1ca0e60cee85d0e
refs/heads/main
2023-08-18T15:55:22.283271
2021-10-03T07:49:22
2021-10-03T07:49:22
412,962,267
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
import calendar as cal print(cal.calendar(2021))
[ "noreply@github.com" ]
noreply@github.com