blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
2c615eeec86ee49817a3513724374a206511e132
060fbf2a69a90ad92de5fc877521d5ea6b298007
/test/vanilla/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/double_wrapper.py
598e2b460d799b8c9b576803570caa93bfc99961
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
iscai-msft/autorest.python
db47a8f00253148fbc327fe0ae1b0f7921b397c6
a9f38dd762fbc046ce6197bfabea2f56045d2957
refs/heads/master
2021-08-02T13:06:34.768117
2018-11-21T00:29:31
2018-11-21T00:29:31
161,554,205
0
0
MIT
2018-12-12T22:42:14
2018-12-12T22:42:14
null
UTF-8
Python
false
false
1,552
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
iscai-msft.noreply@github.com
c95ffcfc0844e8799a1716f4dee8de9d4fb5917b
eb2c58eaa3d9e44cbba6e67c4c54827a0c00347e
/Cosmo/mcmc_chain/write_para_table.py
bb75fa2dc606c4b9bd28f3e13f338572dc49dbbb
[ "MIT" ]
permissive
lshuns/CosmicShearRB
3f6b608d5db77aec24ba1d78a953b5b97d539ce9
84d682fc09dc8be0e12b82894cfb2c2c272b616b
refs/heads/master
2022-12-28T02:33:05.649083
2020-10-14T12:30:32
2020-10-14T12:30:32
218,310,459
0
0
null
null
null
null
UTF-8
Python
false
false
12,067
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Nov 21 11:19:58 2017 @author: fkoehlin @modified: Shun-Sheng Li """ import os import sys import glob import numpy as np # Bayesian way of defining confidence intervals: # What's the difference to percentiles? def minimum_credible_intervals(values, ce...
[ "1006682997@qq.com" ]
1006682997@qq.com
3034ae32e6ed518b69f539e10f4cf4208942ce29
34b8df07503d669a8123dc9f17bd2e684cc5c299
/scripts/ObjectScattering.py
3ec042d5bb6933d0d261712e93cf17922bbd96a0
[ "MIT" ]
permissive
danOrzc/AssetGallery
e2c91485983a7bf6193d3fa2e22e3d4b7afdb618
adc15becd681399c22f7722ec860fc3f4cbebe98
refs/heads/master
2022-12-01T20:12:37.383482
2020-08-14T20:56:45
2020-08-14T20:56:45
284,359,211
0
0
null
null
null
null
UTF-8
Python
false
false
4,982
py
"""Object Scattering. This module contains generators that create random position with some given parameters. """ from maya import cmds import maya.api.OpenMaya as om import random import math def scatterOnCurve(curve, objectCount=5, **kwargs): """This function creates random positions along a given curve. ...
[ "dan.orzc@gmail.com" ]
dan.orzc@gmail.com
a3f8fc1ff5505eba4bd7a0d5edaf2e5a2abc62f0
81e7aaee6271d67f9f73884d9b234548e752ac13
/checkout/views.py
d3c4bbe4088f5906d2b83bfbb3d763de3ebbd2a3
[]
no_license
steff880/ci-boutique_ado_v1
9fba7c5c3c1ace301c60c8919cb2a94f6d5c33fa
0a94c19ded30fe2c6bbe98eee8d00bbc9d8c22b2
refs/heads/main
2023-08-02T12:11:47.378414
2021-10-10T16:47:21
2021-10-10T16:47:21
399,452,154
0
0
null
null
null
null
UTF-8
Python
false
false
7,007
py
from django.shortcuts import render, redirect, reverse, get_object_or_404, HttpResponse from django.views.decorators.http import require_POST from django.contrib import messages from django.conf import settings from .forms import OrderForm from .models import Order, OrderLineItem from products.models import Product f...
[ "stefan.d.yordanov@gmail.com" ]
stefan.d.yordanov@gmail.com
97c8aa650495f09762264d3246a1009bddb7cccd
f741f7f070d150cffbb63f13666fec5dceb4c7c4
/Графы/Представление графов.py
e97690fd502801d566f1e6957ab68b655d2005ee
[]
no_license
mahhets/algorithms-and-data-structures
7e2359c15a1cfd46200f9f2008a3a4050e2a5f40
d1d198020e9d1f7f5085188678828520e4da36c8
refs/heads/main
2023-05-29T02:38:05.716730
2021-06-10T20:26:34
2021-06-10T20:26:34
367,147,905
0
0
null
null
null
null
UTF-8
Python
false
false
4,188
py
""" 1. Матрица смежности 2. Списки смежности 3. Списки ребер """ # 1.1 Представление простого графа в виде матрицы смежгости """ Вершина графа 0 соеднинена с 1 и 2 Вершина графа 1 соединена с 1, 2, 3 Вершина 2 соединена с 0, 1 Вершина 3 соединена с 1 """ graph = [ [0,1,1,0], # 0 [1,0,1,1], # 1 [1,1,0,0], #...
[ "the_mahh@mail.ru" ]
the_mahh@mail.ru
b2d50324d2c956e535fc4e32778a1f731c8195bf
47b7a1a07f75667dc8a36b5f71b9aa8b8289e8f2
/model/Bayes/bayes_son/util/count_recai_percent.py
d53f24d4ec37d0b340ce603711ee022c96ccc412
[]
no_license
javelir/SearchEngine
dc142cffd822c7aafbdf2b2e107c0cf34cf98c0b
69ed9cdde4f29fb873730fc5ea29cfb4c574ea05
refs/heads/master
2020-07-25T19:01:56.985217
2016-05-27T09:29:49
2016-05-27T09:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
#coding=utf-8 from __future__ import division import os import sys import re reload(sys) sys.setdefaultencoding('utf-8') os.chdir('../data') words = [] dictory = {} word_set = [] new_dict = {} file_read = open('split_recai.txt', 'r') file_write = open('percent_recai.txt', 'w+') for line in file_read.readlines(): ...
[ "studywiller@gmail.com" ]
studywiller@gmail.com
797e2d7a43e4b15dea8e59a7e042f26e1eb14caf
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/LocalData32MsSymbol.pyi
aede84acc0cf9dc7b6e4bd9ac3bccadd11448bf2
[ "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,189
pyi
import ghidra.app.util.bin.format.pdb2.pdbreader import ghidra.app.util.bin.format.pdb2.pdbreader.symbol import java.lang class LocalData32MsSymbol(ghidra.app.util.bin.format.pdb2.pdbreader.symbol.AbstractLocalDataMsSymbol): PDB_ID: int = 4364 def __init__(self, __a0: ghidra.app.util.bin.format.pdb2.pdbrea...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
8edaaeaff5761d5891eaa8985ac25aacf93ad364
5f5d6c8b2470f483033d8b62ac8ab97236b7245b
/migrations/versions/3f2546f228d8_.py
bef59fb45c9031714eefef9bde800d8c075ba990
[]
no_license
da-peng/ApiTestWeb
534d15859df14c87f4ae5e067887e79e3e2324c9
7cd61e06c4c2e7a5e0237451d831a58c825cffc2
refs/heads/master
2020-03-12T14:04:24.083825
2018-01-11T13:04:35
2018-01-11T13:04:35
130,658,193
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
"""empty message Revision ID: 3f2546f228d8 Revises: 5d1fb7a39527 Create Date: 2018-01-11 14:46:27.252525 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3f2546f228d8' down_revision = '5d1fb7a39527' branch_labels = None depends_on = None def upgrade(): # ...
[ "xiaopeng.wu@qlchat.com" ]
xiaopeng.wu@qlchat.com
b1dc65782f757d291f0b3c8796390124c41932ae
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_204/285.py
05697ee8e397c0a3ab1f3fbfedb01bf8d507a112
[]
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
2,058
py
from __future__ import print_function, division from math import ceil, floor import numpy as np # Fernando Gonzalez del Cueto. Code Jam 2017 #infile = 'test2.in' infile = 'B-small-attempt2.in' outfile = infile.replace('.in', '.out') fid = open(infile, 'r') n_cases = int(fid.readline().strip()) f_out ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
6ba7c74d1f0f583ca61f56bca220f835b3f31a46
964475a2cac8640b21d6826123ef3cf7f78d3933
/lca.py
19641e6cbfe07ddf0bb5255c1e9b939a1074f457
[]
no_license
gxyd/competitive-programming
06183ac6fe17e2594cdad4bc05ded99500fa2416
7fc4b4569d21226fd51a85a1637e362339f9aed1
refs/heads/master
2021-01-01T19:57:29.087457
2017-08-15T19:08:38
2017-08-15T19:08:38
98,727,624
2
1
null
null
null
null
UTF-8
Python
false
false
223
py
#!/usr/bin/python3 def lca(root, v1, v2): if root.data < v1 and root.data < v2: return lca(root.right, v1, v2) elif rooot.data > v1 and root.data > v2: return lca(root.left, v1, v2) return root
[ "gauravdhingra.gxyd@gmail.com" ]
gauravdhingra.gxyd@gmail.com
e45a0cbad78f8302bf4f4c0de2c53829f40b4317
db0790c6164a6248ca5d349e66c829ead9304255
/config.py
e03682a5a071d9349522d2afef17f26ab075cf50
[]
no_license
HaToan/Flask---Large-Application-Structure
a7c003151c0dc816e6b9f6dcd860e0d6c9d6a1d0
1312cb5e7d773dd872a6ba74e397a349f9701472
refs/heads/master
2021-01-21T17:37:02.185389
2017-05-21T16:19:47
2017-05-21T16:19:47
91,964,263
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'secret_key' SQLALCHEMY_COMMIT_ON_TEARDOWN = True SQLALCHEMY_TRACK_MODIFICATIONS = True FLASKY_MAIL_SUBJECT_PREFIX = '[Flasky]' FLASky_MAIL_SENDER = 'Flasky Admin <flasky@example....
[ "kma.toanfanta@gmail.com" ]
kma.toanfanta@gmail.com
40f417419f22ec79ca360d5c42f175cfe7e49417
b856f8ace132d7145ea652b6790b17bbcd05b2e5
/lecture_notes/02 abstraction/guesser_inproved.py
1c6e158a5f6f9b85dc8af6aa22312f3703043d1a
[]
no_license
hrystiaaaaaa/introduction-to-it
e2341a752d904f394b537609bd8a6136bb7d0d89
f67e8752115eed04cbaef38fe57835754cb2716c
refs/heads/main
2023-09-05T11:45:44.546346
2021-11-17T11:13:08
2021-11-17T11:13:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
import random def get_int_input(): while True: raw_input = input("Enter number: ") if raw_input.isdigit(): return int(raw_input) else: print(f"Sorry, '{raw_input}' is not a number") def congratulate_user(): print("!!!!!!!!!") print("!You won!") print("...
[ "artem.korotenko@betterme.world" ]
artem.korotenko@betterme.world
727064be03a7e86e4fa580c15109167102e3c132
8ce88df2976d07fd287d1c96771694f4f9fd6c9a
/exe089.py
67fd95b8afc652e4103a90715421919ff7b56c85
[]
no_license
gabialeixo/python-exercises
9974b9b2e15f92c7f58fb32c0cc0abdd5015a34c
f62f7ba49eb77fc16a37058f8974153491b565bb
refs/heads/master
2023-01-24T09:23:12.387968
2020-12-07T17:31:07
2020-12-07T17:31:07
305,712,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
#Crie um programa que leia nome e duas notas de vários alunos e guarde em uma lista composta. No final, mostre um boletim #contendo a média de cada um e permita que o usuário possa mostrar as notas de cada aluno individualmente. print('-' * 30) print('{:^30}'.format(' COLÉGIO TUTTI FRUTTI ')) print('-' * 30) dados = ...
[ "gabealeixo13@gmail.com" ]
gabealeixo13@gmail.com
52d202d6a42b8401a4d91e31858d0e44793d16a5
c25145f9dff4dce51d52ce7062909cb0b70dcf16
/akun/migrations/0001_initial.py
5148f2f04bbfdbe6bfdd1a13787a440637a7c0bf
[]
no_license
munawariz/PIRUS
e79929a2b18ad9c4ea837c323bbf53337d6ea80d
7462501743cf8c859b63f1561291c674604b37dd
refs/heads/master
2022-12-26T13:18:08.893051
2020-09-09T08:18:37
2020-09-09T08:18:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,696
py
# Generated by Django 3.1.1 on 2020-09-07 05:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('rumahsakit', '0001_initial'), ] operations = [ migrati...
[ "ganiyamustaga32@gmail.com" ]
ganiyamustaga32@gmail.com
5f3d27220c537b50b9c139c8dd47915eabbb5f9e
e997c571172eb7a3771699c9644abb5847f9d305
/BA2E.py
ae8dcff113f3b91db6533c22bde9cfc599a875c8
[]
no_license
Mila2305/Bioinformatics-pmfst
cef3d5245457b2c630a9985726ae577441451a6a
27d6fe26b1faeadcda94ae21963ea7f6920eaeeb
refs/heads/main
2023-07-30T08:49:30.029768
2021-09-13T07:35:36
2021-09-13T07:35:36
352,158,129
0
0
null
null
null
null
UTF-8
Python
false
false
2,739
py
def kmer(text, i, k): """substring of text from i-th position for the next k letters""" return text[i:(i+k)] def Lwindows(text,L): """list of all L-windows in text""" windows=list() for i in range (0,len(text)-L+1): windows.append(kmer(text,i,L)) return windows def probability(window,p...
[ "noreply@github.com" ]
Mila2305.noreply@github.com
96be516e779a46c62fb18e74280531fe7f60457d
74d31a65c825469d2d0a1d6e7604455ca2fbf0e2
/src/definitions.py
df356cc9b79737f2dde6c19a214bff0567286993
[ "MIT" ]
permissive
AHCoder/galaxy-integration-ps2
d80116619abc33140d8af5c260ca61ba3d7c263c
2d57a094e4447a2016074a42dd4d7b425985a48a
refs/heads/master
2021-09-27T05:14:12.927921
2021-09-14T18:15:20
2021-09-14T18:15:20
198,490,246
49
9
MIT
2019-11-06T16:11:03
2019-07-23T18:50:57
Python
UTF-8
Python
false
false
313
py
from dataclasses import dataclass @dataclass class PS2Game(): """ PS2Game object. :param id: unique identifier of the game, this will be passed as parameter for methods such as launch_game :param name: name of the game :param path: path to the rom """ id: str name: str path: str
[ "ajnol.hasanic@gmail.com" ]
ajnol.hasanic@gmail.com
e3ba2f5353b2b4b4ee3bb26523007b1f86aebad1
31fc98d10f55fb54a79147c41b9895158a69700e
/matplotlib_file/die_visual.py
35caee26caa1d8c48eef8fd76b0bb36c87bee728
[]
no_license
zhouyangok/pythonLearning
cae45691af248374e486bbc6919294de818da9ac
375106908446ae5d8ac22c98dd230f5b827aa122
refs/heads/master
2021-04-15T04:05:36.839519
2018-03-22T08:44:24
2018-03-22T08:44:24
126,304,251
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from die import Die import pygal die_1 = Die() die_2 = Die() results = [] for roll_num in range(1000): result = die_1.roll()+die_2.roll() results.append(result) #print(results) # 分析结果 frequencies = [] max_result = die_1.num_sides+die_2.num_sides for value in range(1,max_result+1): frequency = results.cou...
[ "526731929@qq.com" ]
526731929@qq.com
e01708431fd65fcc0a4127f59d368aa95e900742
8ef7a012b4be5a475fcaf1a67e18c92b61ad609a
/ProjectOpenCV/Proceso.py
e5c0f3f287368b06765480d13519a5e2a43082bc
[]
no_license
QuantumCode2000/ProyectoFinalPythonOOP-PYDATA
8b212030ce44b4e0101b6b10b8edc887eec2f13d
1d6cc5a6fa5d5239975fcf2df2b6e3741cd1e7de
refs/heads/master
2022-07-17T02:49:32.733751
2020-05-13T03:11:10
2020-05-13T03:11:10
263,512,628
1
0
null
null
null
null
UTF-8
Python
false
false
791
py
import cv2 class Proceso: @staticmethod def leido_de_iamgen(imagen_leida): imagen = cv2.imread(imagen_leida) return imagen @staticmethod def guardar_imagen(imagen, nombre_de_la_imagen_nueva): if(nombre_de_la_imagen_nueva.isalnum()): nombre_de_la_imagen = nombre_de_...
[ "64666591+Dozz2000@users.noreply.github.com" ]
64666591+Dozz2000@users.noreply.github.com
f4de52fc72912e329b602c84aae12ef5fd2e76c4
946a9ccf4adb92c9c694c7c127a6c010a17248ad
/inventory/settings.py
3bb5451cdace3ccad977acde0f097c1d15cdbb00
[]
no_license
king-ellie/django-inventory-app
7cf33e5a85482dd9f3218075b4233fa4cd9f421e
3be5a79b64c64ab6687837d7d31e249cf40456bd
refs/heads/main
2023-07-31T16:32:31.981220
2021-09-07T13:32:45
2021-09-07T13:32:45
403,991,726
0
0
null
null
null
null
UTF-8
Python
false
false
3,409
py
""" Django settings for inventory project. Generated by 'django-admin startproject' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathl...
[ "61605543+king-ellie@users.noreply.github.com" ]
61605543+king-ellie@users.noreply.github.com
f834fcad5971ebffddb726d554e46f5cace2caa6
c88795933123416f6ccf8b063454af70ae47ec23
/manage.py
284383db775fd893ec9920460741c0d71c000076
[]
no_license
Raefat/5dolar-website-meme
77159daa275764c2cdb2682d573c7df5671a4759
6c219d0d639516de77b117bc4a2e244d60814fe0
refs/heads/master
2023-08-09T01:20:18.525176
2020-07-07T20:18:57
2020-07-07T20:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'frst_project.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "raefetex@gmail.com" ]
raefetex@gmail.com
f095f493b8c86691cddc688e4d19ccaf71870c88
c8efab9c9f5cc7d6a16d319f839e14b6e5d40c34
/source/Clarification/Backtracking/52.N皇后2.py
0850985c798d542a6dbf9bbf340bfa76bed00408
[ "MIT" ]
permissive
zhangwang0537/LeetCode-Notebook
73e4a4f2c90738dea4a8b77883b6f2c59e02e9c1
1dbd18114ed688ddeaa3ee83181d373dcc1429e5
refs/heads/master
2022-11-13T21:08:20.343562
2020-04-09T03:11:51
2020-04-09T03:11:51
277,572,643
0
0
MIT
2020-07-06T14:59:57
2020-07-06T14:59:56
null
UTF-8
Python
false
false
1,700
py
# n 皇后问题研究的是如何将 n 个皇后放置在 n×n 的棋盘上,并且使皇后彼此之间不能相互攻击。 # # # # 上图为 8 皇后问题的一种解法。 # # 给定一个整数 n,返回 n 皇后不同的解决方案的数量。 # # 示例: # # 输入: 4 # 输出: 2 # 解释: 4 皇后问题存在如下两个不同的解法。 # [ #  [".Q..",  // 解法 1 #   "...Q", #   "Q...", #   "..Q."], # #  ["..Q.",  // 解法 2 #   "Q...", #   "...Q", #   ".Q.."] # ] class Solu...
[ "mzm@mail.dlut.edu.cn" ]
mzm@mail.dlut.edu.cn
1bccbe2e72188711b68cde5b7e4c2a6c845c91c3
bbca6268e6b30e6945eee5d5d1852e0b164e294a
/tinyos-2.x/apps/LightControl/scripts/k_subset.py
02263c7bed02351c6713bca1820936e5bd83eb8c
[]
no_license
nesl/hotline
6f95415a1b00a21fa4cfe1226590338b6380fe2f
46f71f7b505b3ede668ab74df39e6a1542d5f043
refs/heads/master
2021-01-01T17:33:44.725494
2011-09-21T20:06:33
2011-09-21T20:06:33
12,227,912
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
import sys import random # Adapted from # http://code.activestate.com/recipes/156453-choose-a-random-k-subset-of-12-n/ def ranksb1(n,k): if k > n: raise Exception, "N must be no less than K" if k > n * 2 // 3: pool = range(n) for i in xrange(n-1, n-k-1, -1): j = random.randrange(i+...
[ "rahulb@3d136852-4100-4a3c-8742-798efa9d6f7c" ]
rahulb@3d136852-4100-4a3c-8742-798efa9d6f7c
f4017d322fdadade24c60a26ae72bb14aad8170d
357db88164920a3d0a650d597b8183bfe5a60b1a
/probeplot.py
8e344e00143084c7b05aebd0986e344b041d30aa
[]
no_license
Hasini74/Flush-Reload
d88b024503787b23b9f81fcbebc8626b5880c8f0
116c125c93d24a2f9a46c7574c7e8d8ee76802ad
refs/heads/main
2023-04-22T04:33:52.226341
2021-05-10T20:42:51
2021-05-10T20:42:51
366,164,990
0
1
null
null
null
null
UTF-8
Python
false
false
387
py
from matplotlib import pyplot as plt import seaborn as sns with open('probes.txt') as f: array = [] for val in f.read().split(): if int(val) < 400: array.append(int(val)) plt.figure(figsize=(15, 8)) ax = sns.distplot(array) ax.set_title("Histogram of probe timings (n= {})".format(len(a...
[ "noreply@github.com" ]
Hasini74.noreply@github.com
9d9ed5f5767b7fd951eb6ad1a2a01ca63fc8e5ed
56b63ee537f872af0fc028016d1508b4c1dd5c60
/school/migrations/0267_auto_20210317_1657.py
926120cf7259917f9c79aaa27206e75ae9e960a4
[]
no_license
jacknjillsolutionsrevanth/EMS1
01fc571120f765b0fbfe3aa654b15ff578d6e9b9
db14d8e6c15669b5938aa9276c5e22006218814a
refs/heads/main
2023-08-03T19:40:50.073133
2021-10-01T07:02:37
2021-10-01T07:02:37
410,202,348
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# Generated by Django 3.1.4 on 2021-03-17 11:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('school', '0266_auto_20210315_1612'), ] operations = [ migrations.AddField( model_name='daily_data', name='routename'...
[ "jacknjillsolutions.revanth@gmail.com" ]
jacknjillsolutions.revanth@gmail.com
3c060f1e62118348d6376d5a27dd8b1292ecdeee
37faa935d3af283be72423821a25d17172f2df6a
/lessons/csv/reading_csv.py
c7fae192cbcfc7131cca853fbf0501b66ae81dd6
[]
no_license
rogeriolaguilar/python
2b214fccbb32ca269c745b26fbc082cb20981c23
fef86ca360e5a47fcd86f9ab99c04c58d353705b
refs/heads/master
2020-03-19T11:00:51.367723
2018-09-16T12:56:39
2018-09-16T12:56:39
136,421,396
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
import csv import os FILENAME=os.getcwd()+'/lessons/csv/hightemp.csv' def read_csv(csv_name, keyname): print(csv_name) table = {} with open(csv_name) as csvfile: reader = csv.DictReader(csvfile) for row in reader: table[row[keyname]] = row return table result = read_...
[ "rogerio.l.aguilar@gmail.com" ]
rogerio.l.aguilar@gmail.com
e78baff9bdff094df6a9bde81c9da4513c0aa5b9
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/jyb.py
ca9d3c9ec4d59763f4fd3413bf1ece65baed5ad0
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
230e160aee1fabd4bf85f0361b78a2acea3232e0
f8ff6a467536e37e4331aec6a53ccefccd13d31e
/ServerPython/user.py
e66127470f207c11f8cd4a9ecb00bab171587121
[ "MIT" ]
permissive
zzragida/PythonExamples
0a7971b4b3564eab5ef7a7d045161ac35f627340
ed94ae2773a580a42e158ebdc7321a89ca4e991b
refs/heads/master
2021-01-18T15:06:56.763700
2016-02-16T02:41:59
2016-02-16T02:41:59
50,626,883
0
0
null
null
null
null
UTF-8
Python
false
false
16,685
py
# -*- coding:utf-8 -*- from twisted.python import failure from collections import OrderedDict from logger import logger from hero import Hero from costume import Costume from item import Item from properties import Properties from cache import Cache from protocol import gateway_pb2 import db import random import mat...
[ "zzragida@gmail.com" ]
zzragida@gmail.com
73dbbcaf97f0a2613100f2925da30caaf3381b7c
61bf34554ab8ca7bd11550e45533caf0261152e7
/generic.py
6ee5c450ad801ca64c88c462e6c5c0d90504205e
[]
no_license
drouetd/Scrape-tools
c85cca3d7224cc42630b43e3e8a7243fcf64b364
4105ebcb51df06553b6600f7f988bcb7e89d58a6
refs/heads/master
2021-01-10T12:21:27.315200
2016-04-09T16:04:16
2016-04-09T16:04:16
55,608,885
2
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
#!/usr/bin/env python import sys import csv from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait import parsers def get_html(url=None): """ Returns the raw html for a given url """ driver = webdriver.PhantomJS() driver.get(url) # retrieve the desired page try: WebDriverWa...
[ "drouetd@gmail.com" ]
drouetd@gmail.com
c720729c2e53c7a2d567a492348db29f3707f53d
837d61048ea502e1ab057525ebd4d108ccf8e3d1
/Project/starter.py
ae7a7d9bdf121ad827c2194c28a36ba30f5909ff
[]
no_license
JakubKucecka/VyhladavanieInformacii
7e7d9e5856dbfb4104adc97b5ab2e8cd6b8ee478
a2eaaee47901d70cb1ed34b6f456917dd808ced1
refs/heads/main
2023-01-29T07:09:00.891186
2020-12-08T15:54:16
2020-12-08T15:54:16
300,634,895
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
#!/usr/bin/env python3 import lib.pars as pars import lib.dump as dump import lib.pair as pair import lib.sort as sort import lib.index as index import lib.search as search """ global variables that determine the paths to files """ actors_file = "etc/parse/actors.gz" performances_file = "etc/parse/performances.gz" ot...
[ "jakubkucecka@gmail.com" ]
jakubkucecka@gmail.com
e8bb422108875b71cf15770aa2e5b5baac11064d
53d59691b31efc73b0baa76e0581d66f290c4ef7
/ip_dec_bin_convert.py
47bf11770c55e1a07a88c79e0e5ab7c173128481
[ "Apache-2.0" ]
permissive
shamurti/Python_Class
6dec1495379cdc67eff534396e5e1acc820b881c
e4da52ad0b5061e0fa127a03157be43a08ebe28b
refs/heads/master
2021-01-10T04:19:56.507050
2018-11-19T20:20:10
2018-11-19T20:20:10
49,674,784
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
#!/usr/bin/env python ip = raw_input("\nEnter an IP address in dotted decimal format: ") octets = ip.split(".") print "\nThe octets of the IP address: %s in binary are: \n" % (ip) print "%20s %20s %20s %20s" % ('first_octet','second_octet','third_octet','fourth_octet') print "%20s %20s %20s %20s" % (bin(int(octets...
[ "Oghab@Shahan.local" ]
Oghab@Shahan.local
4bb7d73eb57ca31465156c27a8acb11216bf381b
ce04cdcf2f751fc665ccf3d2a011c6c5c1a4aca2
/Exploitation/Reverse-Engineering/RATs-Backdooring/ShellBot/client/selfUpdate.py
12222067bdfeb97b6acbf48bda9b19f3ca9f9ec9
[ "MIT" ]
permissive
R3dFruitRollUp/TID3xploits
fa2cef2f42553579a3f2d447b1d8ae7776b12dd8
b57d8bae454081a3883a5684679e2a329e72d6e5
refs/heads/master
2021-05-12T01:11:17.315961
2018-01-04T05:03:20
2018-01-04T05:03:20
117,551,951
2
1
null
2018-01-15T13:55:19
2018-01-15T13:55:18
null
UTF-8
Python
false
false
1,340
py
#!/usr/bin/env python3 import os import sys import urllib.request import tempfile import shutil import json def getURL(owner, repo, name): repoUrl = 'https://api.github.com/repos/{{}}/{{}}/releases/latest'\ .format(owner, repo) response = urllib.request.urlopen(repoUrl) json_val = json.loads...
[ "noreply@github.com" ]
R3dFruitRollUp.noreply@github.com
1f6e97b6fae3bcc121943a41542b27b69deeafab
8c77dcc0fd3e497194e572c8641200f08b32dc97
/general/function_factory.py
f2c923b5d537856aae039428a6462973dfd14e56
[ "MIT" ]
permissive
bpuderer/python-snippets
633a1e382f7c9812621d61ec16a15e106d1d5fc8
3277b76b03f3ceb11e4571be4cecae68051aac45
refs/heads/master
2021-12-27T09:19:27.212312
2021-12-22T13:08:56
2021-12-22T13:08:56
46,539,064
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
def raise_to(exp): def raise_to_exp(x): return pow(x, exp) return raise_to_exp cube = raise_to(3) print(cube(4))
[ "bpuderer@yahoo.com" ]
bpuderer@yahoo.com
ec2e424faed3e15c10e4986aea599eb9be839086
e3aa7ed3985d0f6fd6aefccc9605b8c392b3f912
/.ipynb_checkpoints/datasets-checkpoint.py
d7c0683f957b9abe59f9ec8d322c87a5f211f170
[]
no_license
jypark1994/VLRRProject
628455ff9210ffd5b278b7d6886fcfc3c01452fb
38526268f16d01fd84a9542402037d41b8d2c245
refs/heads/master
2022-12-16T23:45:30.979390
2020-08-14T02:46:57
2020-08-14T02:46:57
286,142,163
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
from torch import utils from torchvision import datasets, transforms # args : batch_size, num_workers, down_scale def ILSVRC_Birds(args): transforms_train = transforms.Compose([ transforms.RandomResizedCrop(224), transforms.RandomHorizontalFlip(), transforms.Resize(224//args.down_scale), ...
[ "jy_park@inu.ac.kr" ]
jy_park@inu.ac.kr
4df9ea69048a2ad0b8f86d6c9a2ba6a5b4c33d67
e06f94c1cf7748352516e15a983df38e0693319d
/venv/lib/python3.9/site-packages/web3/pm.py
5257db22bd20bce2db4460aaffcd9d35406a644c
[ "MIT" ]
permissive
Ruben1701/Blockchain-for-Permission-Management
3fcf2c2fad62a1219715cb106ef11aed857d8a71
f063f3da2dc9c12d4c68332e309e402a67fd7a8b
refs/heads/main
2023-06-05T14:41:05.237873
2021-06-26T21:13:38
2021-06-26T21:13:38
347,065,325
0
1
MIT
2021-05-26T11:49:34
2021-03-12T12:51:50
Python
UTF-8
Python
false
false
21,146
py
from abc import ( ABC, abstractmethod, ) import json from pathlib import ( Path, ) from typing import ( Any, Dict, Iterable, NamedTuple, Tuple, Type, TypeVar, Union, cast, ) from eth_typing import ( URI, Address, ChecksumAddress, ContractName, Manifes...
[ "35116541+Ruben170@users.noreply.github.com" ]
35116541+Ruben170@users.noreply.github.com
f60622ab5bd5f34311c951a2a60f776f25a2aa47
33a50bb13812090a36257078522b798762978c66
/top/api/rest/SimbaNonsearchAllplacesGetRequest.py
6f07639d12207a871566ac06ac186d09de431e25
[]
no_license
aa3632840/quanlin
52ac862073608cd5b977769c14a7f6dcfb556678
2890d35fa87367d77e295009f2d911d4b9b56761
refs/heads/master
2021-01-10T22:05:14.076949
2014-10-25T02:28:15
2014-10-25T02:28:15
23,178,087
1
0
null
null
null
null
UTF-8
Python
false
false
300
py
''' Created by auto_sdk on 2014-09-08 16:48:02 ''' from top.api.base import RestApi class SimbaNonsearchAllplacesGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.simba.nonsearch.allplaces.get'
[ "262708239@qq.com" ]
262708239@qq.com
a345c0e0388b1fd434e0a6b9380ebd6b966faf03
4406c089d0afde7ffee340ad002c5786a18131a8
/ubuntu/dup_free_encode/user_db_util.py
8e2daf0be474c8ff021be470d90486f2a64dced4
[]
no_license
Sanctorum003/LotApp
4772420d6ea3a26f43c4ab58b48b088829bd5352
69991cda1223daff642ec2ae6e3c03be66125416
refs/heads/master
2020-03-13T05:02:55.864020
2018-04-25T08:24:14
2018-04-25T08:24:14
130,974,758
0
1
null
null
null
null
UTF-8
Python
false
false
3,700
py
# 对user_info.db 这个数据库的各种操作 import sqlite3 as sq import os import json from ucs_db_util import search_ucs_openId_to_carID import Time_utils as time_tool user_db_name = 'user_info.db' if not os.path.exists(user_db_name) : flag = 0 #not existed else: flag = 1 try: conn = sq.connect(user_db_name) cur = ...
[ "lushuchengsky@126.com" ]
lushuchengsky@126.com
05d8af9bcacd6c3653138d5f6101b153625fb68c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Docs/Controlling the Keyboard and Mouse/typer/docs_src/commands/callback/tutorial001.py
5438b3ead7b25f5be9db58189b57b8e6e3f410a3
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:f0921ed2e19ca15b1c6e7817d91c7dbefd69a5a39c79520e0d5e519b11cdd10c size 756
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
866d720954dc7618d46066cfecbafeaeda55048b
8e9f19bf81adc3954b6c723c6a976335b53533a6
/devtools/gha/get_base_and_image_tags.py
4b301d955c7b22ca7d5541bc1d9fbc5600a46756
[ "MIT" ]
permissive
evalf/nutils
e7f4c3104004fbc14762447c4ff56b60de9dff03
f28fb337839644eaf3285da99e8a89d1256126f5
refs/heads/master
2023-08-16T16:13:36.568328
2023-08-15T12:28:54
2023-08-15T12:29:20
13,886,623
54
30
MIT
2023-09-07T10:32:10
2013-10-26T16:17:57
Python
UTF-8
Python
false
false
776
py
import os import argparse from .. import log from ..container import get_container_tag_from_ref argparse.ArgumentParser().parse_args() if os.environ.get('GITHUB_EVENT_NAME') == 'pull_request': ref = os.environ.get('GITHUB_BASE_REF') if not ref: raise SystemExit('`GITHUB_BASE_REF` environment variable ...
[ "joostvanzwieten@evalf.com" ]
joostvanzwieten@evalf.com
1f81a14852d880d087df7c5068d2148fe40d9429
d2f08121142346a1fe823c4e99bb2f04a74023a8
/interface/views.py
d001443c2f6c0dce56cd580d0a70dc0ab9c190ad
[]
no_license
supertopdev/django-table
4efb59e5ebda7ac13721ad436f651d0b0a70296d
059c768cc1d9ead18f508046cf807d05a2f2ba50
refs/heads/master
2020-06-26T23:25:27.439663
2019-08-02T22:31:50
2019-08-02T22:31:50
199,784,545
0
0
null
null
null
null
UTF-8
Python
false
false
14,755
py
from django.shortcuts import render, HttpResponseRedirect from django.core.paginator import Paginator from django.db.models import Q from .models import Centris from django.http import JsonResponse from functools import reduce from operator import __or__ as OR # Create your views here. def index(request): centri...
[ "supertopdev@gmail.com" ]
supertopdev@gmail.com
c7e52c8a090a63d1d7de0a9993f663e993710bb5
0b350fe4e426bed69a27fdf8802cdd5632ea3077
/WebAnalytics/Growth.py
cff0c3f969950166fa170d56ef9cc62e96bba7dd
[]
no_license
kevinaloys/Kpython
e821cdeffbfcc0fcddfc561cd1aa26e964d154f0
49879ccc3cf3311a06181b0e9afe3afaa0f4c081
refs/heads/master
2021-01-16T19:13:59.426911
2014-12-07T01:36:10
2014-12-07T01:36:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
#coding: utf-8 # Growth # Given two integer numbers d1 and d2 representing the unique visitors on a website on the first and second day since launch # Your task is to # write a function that prints to the standard output (stdout) the word: # "Increase" if the number of unique visitors is higher or at lea...
[ "kevinaloys@rocketmail.com" ]
kevinaloys@rocketmail.com
c10fbf1e704a93a27b39f55a903786ffa970dab7
f9d942b2fed83e9d6c101ebaedc1d4b36dee2754
/logistics/tests/util.py
b392e9568f05b3984dcf23beedbd376f6d40b26b
[]
no_license
unicefuganda/rapidsms-logistics
7cde229ac2619366d253d099c0f222eb96b1468e
7d9609a7b9d6fa3f4502aba52ab56acc23a6e928
refs/heads/master
2020-12-25T05:26:59.459389
2012-12-17T12:00:52
2012-12-17T12:00:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from rapidsms.tests.scripted import TestScript from logistics import loader as logi_loader def load_test_data(): logi_loader.init_reports() logi_loader.init_supply_point_types() logi_loader.init_test_location_and_supplypoints() logi_loader.init_test_product_and_stock()
[ "rluk@dimagi.com" ]
rluk@dimagi.com
1ab83510c1be8eae59245f9899325487caf66b40
335feaa2fed94353cad975b3108fc669c4f39102
/app/config/files/hearing_loss_v2.pyt
8bb78a60a43c38e246a58f041efd94ea0877002a
[ "Apache-2.0" ]
permissive
okriuchykhin/anfisa
461beff3d4657b2895550811b8858ee27390f8de
cda08e649c5a313c7d52f9b4426558c7388a73b0
refs/heads/master
2020-07-30T11:10:47.503800
2019-09-27T04:33:52
2019-09-27T04:33:52
210,208,650
0
0
Apache-2.0
2019-09-22T20:18:27
2019-09-22T20:18:27
null
UTF-8
Python
false
false
1,111
pyt
#Exclude variants not in hearing loss panel if Panels not in {All_Hearing_Loss}: return False #Include Present in HGMD as "DM" if HGMD_Tags in {"DM"}: return True # Exclude common variants AF> 5% if gnomAD_AF >= 0.05: return False #Exclude variants farther then 5pb from intronic/exonic border if (not Re...
[ "michael.bouzinier@kvitneset.com" ]
michael.bouzinier@kvitneset.com
d5f35a2a1fa8e7be68c9d4402074f58c097b436a
a532f7e759ea5a2de40185645857155d8dbca5b3
/data_analysis/analyze_response.py
111cbd8be0766efb6e3ce71d38b57c5c3fbe0aef
[]
no_license
PalaashAgrawal/brainscore_eval
cbf7ef6db53421c612fb0401a905c97ac0ae8bfe
2589b48f95198a827453e699231581f651a17a60
refs/heads/master
2023-08-28T03:00:19.689126
2021-08-04T22:22:45
2021-08-04T22:22:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,997
py
import numpy as np from pathlib import Path import matplotlib.pyplot as plt from scipy.stats import wilcoxon import math import statsmodels.stats.multitest as multitest # Constants defined here: category_mapping = {'House': 10, 'Visage': 20, 'Animal': 30, 'Scene': 40, 'Tool': 50, 'Scramble': 90} comparison_categories...
[ "hermessuen@gmail.com" ]
hermessuen@gmail.com
d3953541a3232bf75dc817c8f0cb769f63101c4e
2e2c9bbfac80d32eed54067e5e27b3a13a5a43b6
/test2.py
7f91d94ee8cb960ae4d3c2f186641463a70b2c86
[]
no_license
andreas-chrysanthou/practicals
783060c2cb0c068370c9e6ca5f46b26b2a3a7d26
90ba01593a0309a179fe9e39c2dada55ec834649
refs/heads/master
2021-06-30T10:58:32.639729
2017-09-13T15:38:08
2017-09-13T15:38:08
103,274,457
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
import numpy as np import matplotlip as plt def initialBell(x): return np. where(x%1.<0.5,np.power(np.sin(2*x*np.pi),2),0) nx=40 c=0.2 x = np.linspace(0.0, 1.0, nx+1) phi = initialBell(x) phiNew= phi.copy() phiOld= phi.copy() for j in xrange(1,nx): phi[j]=phiOld[j]-0.6*c*(phiOld[j+1] - phiOld[j-1]) phi...
[ "eeac@leeds.ac.uk" ]
eeac@leeds.ac.uk
e348f06c33c9ec3c83ccc95715ffab26b936fbaf
ce311b4fcccba0096f08b3988ce303d58ea5cbdd
/Lesson 13.py
5f3225836f519455e707525c86c4ab6323bf874f
[]
no_license
codybaraks/student-data
052b56c4874d85238451c56e44133ed5f0fb7535
1e5aa8b3c1e793ccd4ec901fa662708966b6fa77
refs/heads/master
2020-04-06T09:46:10.523028
2018-11-16T08:41:43
2018-11-16T08:41:43
157,355,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# functions def talk_to_the_parrot(): print("hello world lets learn python") talk_to_the_parrot() def conversation(name,names): print("Keneth is a good guy and he's ok!") print("{} sleeps all day and {} works all day".format(name,names)) conversation("KENNETH", "he") # handling exceptions try...
[ "earvinbaraka@gmail.com" ]
earvinbaraka@gmail.com
1dae13817c7c1db665e73e0220cc2013ab0c0e48
cf24bb1895f96a1bbaef9aa1018e48e1b6d02324
/fink_voevent/vo_writer_lib.py
0f97e85e7f25bb6f19699d7d143511a141d42aa9
[ "Apache-2.0" ]
permissive
astrolabsoftware/fink-voevent
4f5076d60991cdbc64851221dd67113da5e63d5e
b34648bf63b41e8a0e7c78997e2bc53453568f96
refs/heads/master
2021-07-08T17:10:12.483207
2021-03-05T06:42:23
2021-03-05T06:42:23
228,861,915
0
0
Apache-2.0
2021-03-05T06:42:23
2019-12-18T14:52:18
null
UTF-8
Python
false
false
3,621
py
#!/usr/bin/env python # Copyright 2020 AstroLab Software # Author: Julien Peloton # # 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...
[ "peloton@lal.in2p3.fr" ]
peloton@lal.in2p3.fr
7a206297e90170f543a02390c8c15dd7bcfee7f0
ea93731a3b3b6f57df0516d18566629ef9a058d9
/bin/django-admin
1c7acf6e153e29af67fa5a7e971a84f246c60fcd
[]
no_license
jalanning/djangoTutorial
78066ea773212bebfffad0292796e441935b8b1a
3e3efac26432871a82e09ba1a2a92806394592d9
refs/heads/master
2023-08-21T23:39:47.603872
2021-10-17T15:08:46
2021-10-17T15:08:46
417,905,939
0
0
null
null
null
null
UTF-8
Python
false
false
297
#!/Users/jakelanning/Code/tryDjangoEnv/bin/python3.9 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "lanning.jake.w@gmail.com" ]
lanning.jake.w@gmail.com
654e1d8bf235ad286ce0ad5feddb15931f30bf0f
91efc7cd77f7e5066a341b5986b796588803daa5
/python/week3/flights.py
4f8a99657903f94854693b3e155392615fc031e8
[]
no_license
maysasaad/programmeren
c5949947f0faf3f999b188004e1655414d694bf1
148206cab74e64d7d9f1e5465cce56f106c54d39
refs/heads/master
2023-05-05T00:49:28.646189
2014-03-02T15:09:41
2014-03-02T15:09:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
def report_status(scheduled_time, estimated_time): """ (number, number) -> str Return the flight status (on_time, early, deayed) for a flight that was scheduled to arrive at scheduled_time, but is now estimated to arrive at estimated_time Pre-condition: 0.0 <= scheduled_time < 24.0 and 0....
[ "rick.peters@me.com" ]
rick.peters@me.com
e842d47c65b49f7baf66ad14c86f7b7c9b1e413b
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/BitPim/rev3177-3237/right-branch-3237/midifile.py
2c8d9d84bbc3c8f068fe079043d3fd8f31067e0b
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
6,795
py
import common import fileinfo module_debug=False class MIDIEvent(object): META_EVENT=0 SYSEX_EVENT=1 SYSEX1_EVENT=2 MIDI_EVENT=3 LAST_MIDI_EVENT=4 type_str=('Meta', 'SYSEX', 'SYSEX cont', 'MIDI', 'Last MIDI') def __init__(self, file, offset, last_cmd=None): self.__f=file self...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
33490b42c85fee01be3f6432c411c486ae7157e5
aca253ff1a97c96a1a0a9a5802aa623789662bb1
/p034/statue_bar.py
ebd6c7ce45949c996b6d834401e27a09c8df4f7f
[]
no_license
KD-huhu/PyQt5
a6128a34b93f6e2da7216d5818f66dc9614216bc
1c33a6549c2fcf663168256553d8c24e25d9a69c
refs/heads/master
2022-07-03T07:37:29.837547
2020-05-17T14:54:39
2020-05-17T14:54:39
261,768,854
0
1
null
null
null
null
UTF-8
Python
false
false
1,052
py
import sys, math from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class StatusBar(QMainWindow): def __init__(self): super(StatusBar, self).__init__() self.initUI() def initUI(self): self.setWindowTitle("状态栏演示") self.resize(300, 20...
[ "noreply@github.com" ]
KD-huhu.noreply@github.com
2c2eba017b299584cc34574addc7412cb5c9635b
8ed4bf9fbead471c9e5f88e4d18ac432ec3d628b
/hackerrank/algorithm/string/gem_stones.py
e3ff22b12568fff4bf1fd684c35dd47da7151f2d
[]
no_license
hizbul25/programming_problem
9bf26e49ed5bb8c9c829d00e765c9401222fb35c
2acca363704b993ffe5f6c2b00f81a4f4eca7204
refs/heads/master
2021-01-10T22:28:26.105787
2018-01-21T16:45:45
2018-01-21T16:45:45
65,394,734
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
#URL: https://www.hackerrank.com/challenges/gem-stones n = int(input()) all_elem = set(input()) for g in range(n - 1): all_elem &= set(input()) print(len(all_elem))
[ "hizbul.ku@gmail.com" ]
hizbul.ku@gmail.com
91bfd646014d5085f0aa71ff651287ec76a6cad7
d7a526650915d7bf9484a3258bf3f6db7896a97e
/第一天实验/crackRar.py
4a4d773afd96359ae850ca59457bc7dc1390591e
[]
no_license
lletsGoo/1stDay_-
428e8e39106261a466e93e7a65aa588ce9fa9250
091f2f2f5bba70659e2b3ac4e0460945b1498886
refs/heads/master
2021-02-10T01:07:19.439568
2020-03-08T00:38:50
2020-03-08T00:38:50
244,340,780
0
0
null
2020-03-03T02:42:10
2020-03-02T10:17:52
Python
UTF-8
Python
false
false
542
py
from unrar import rarfile rarpath='D:\大四\大四下\网络攻防\于晗\第一天-生成字典压缩包爆破\password.rar' pwdspath='D:\大四\大四下\网络攻防\于晗\第一天-生成字典压缩包爆破\password.txt' pwds=open(pwdspath,'r') rf = rarfile.RarFile(rarpath,'r') print("开始爆破") while not True: for line in pwds.readlines(): pwd = line.strip('\n') try: ...
[ "noreply@github.com" ]
lletsGoo.noreply@github.com
c66cbca886fdbd3d6954818d2e7c22c7085392fc
aeaaed0146ef5044eff97e23d33e45f1da3e8657
/flask_app/models/user.py
0959cd5a1c48781c3a60642db83104de5910306e
[]
no_license
Bchaseley/stellar
eacdda922b2df860c3b0d2692c091365f7c88c76
40b475a86c2d31c3e27c28bf25a3d61afcffb2f4
refs/heads/master
2023-05-10T23:36:40.765167
2021-05-27T00:13:16
2021-05-27T00:13:16
371,162,741
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
from flask_app.config.mysqlconnection import connectToMySQL from flask import flash import re from flask_app import app from flask_bcrypt import Bcrypt bcrypt = Bcrypt(app) EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') class User: def __init__(self,data): self.id = data['id'] ...
[ "bchaseley@gmail.com" ]
bchaseley@gmail.com
9df035da71a8354e73397ed5fd9483a3a837b5d5
62e985b6bc2cd04be506c9f4b586f6a0bd5a8b1c
/docs/_docs
2e46ca4836023863c54a487374eead67897a2d9d
[ "MIT" ]
permissive
delfick/nose-focus
ece09553d26ce4323e449b5e50f98e63a21d1699
89ceae691fabb27c35d4a67f0edf8dec17737f3f
refs/heads/master
2023-07-10T22:44:29.271678
2023-06-23T06:36:00
2023-06-23T06:36:00
20,155,739
0
3
null
2019-11-06T22:59:43
2014-05-25T13:57:39
Python
UTF-8
Python
false
false
512
#!/usr/bin/env python3 from venvstarter import ignite import runpy import os this_dir = os.path.dirname(__file__) nose_focus_version = runpy.run_path( os.path.join(this_dir, "..", "nose_focus", "__init__.py") )["VERSION"] with open(os.path.join(this_dir, "requirements.txt"), "r") as fle: deps = [line.strip(...
[ "stephen@delfick.com" ]
stephen@delfick.com
4818c68b466968e91b3b4627012b7c34057cd693
c3cf5e0dc112b9118eee75264d069c0267a8d810
/utils/no_segment_processer.py
b7ea765b1888edcc097d9a5c3e684dae1a6b0377
[]
no_license
chengtbf/ImageCaption
e8f724f594ef7122940a6dcb3f40c4def67092b1
76c2284d3f05a6c34c16744ac2e1ddc6d0cf83d5
refs/heads/master
2021-04-12T11:27:41.926871
2018-07-02T08:35:30
2018-07-02T08:35:30
126,583,051
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
def copy_value(list): ret = [] for e in list: ret.append(e) return ret in_file = 'D:/train.txt' out_dic_file = 'D:/dictionary.txt' out_vec_file = 'D:/train_vector.txt' sentences = [] content = [] for line in open('D:/train.txt'): line = line.split('\n')[0] if line.isdigit(): if l...
[ "619828575@qq.com" ]
619828575@qq.com
a582fa06697213f927e533229de16f0b7239ace6
099d1dbc4e40260086939a26a8a7e2084879e31c
/truvisory/settings.py
730d4002e67146fea2015edd0c0c3611296d4ec5
[]
no_license
bhavybhatia/truvisory
a198918fa8ccadec87efb200382e7478df8fdeff
089d810a4e2b05d380b1d1a37ba5cc7dce1471fe
refs/heads/master
2020-09-02T04:29:09.867592
2019-11-07T06:36:35
2019-11-07T06:36:35
219,132,029
2
3
null
2019-11-03T00:22:11
2019-11-02T09:33:04
HTML
UTF-8
Python
false
false
3,122
py
""" Django settings for truvisory project. Generated by 'django-admin startproject' using Django 2.2.6. 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/ """ import os ...
[ "bhatia.bhavy@gmail.com" ]
bhatia.bhavy@gmail.com
00c870418471d3cbd644cbea12a5c9bdb8ff5530
f8a114b410803515195a156bc678d76a990d1f83
/config/settings/base.py
58f39d4a9fcd2124f896be5e4d4bfe7177a1ba1d
[ "MIT" ]
permissive
mahidul-islam/chatbot_cookiecutter
86c03941f56e815d4b27fbfec2e7499aa675b065
52c8cdf01147b647e076d5dbe5fa1cc13b0bf1ee
refs/heads/master
2022-12-08T14:20:55.851457
2020-08-28T16:27:54
2020-08-28T16:27:54
291,094,465
1
0
null
null
null
null
UTF-8
Python
false
false
10,971
py
""" Base settings to build other settings files upon. """ from pathlib import Path import environ ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent # chatbot/ APPS_DIR = ROOT_DIR / "chatbot" env = environ.Env() READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False) if READ_DOT_ENV_...
[ "mizihan84@gmail.com" ]
mizihan84@gmail.com
36ccee9e76a6a2b3df09ae15e02a7a5dc345c6ac
2d29a361bf62a8b7e92fc395385f9508641c07ba
/Image_classifier_part2/building_classifier.py
5f66c35588838fd1fed889a3777845e9195baa7c
[]
no_license
dalpengholic/JCB_for_example
4aee5401407e837ff094d1ce2e638fe596583993
fd323ff2e88d904ce98ce75b0f473eed466b4d5e
refs/heads/master
2022-12-06T05:44:22.028163
2020-08-25T19:30:26
2020-08-25T19:30:26
290,304,002
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
class BuildModel: # Set defaults units for each model initial_units = {"vgg16":25088, "vgg13":25088, "densenet121":1024} def __init__(self, architecture=None, learning_rate=None, hidden_units=None): # Object : constructor # Input : architecture of model, learning_Rate, hidden_units ...
[ "dalpengholic@gmail.com" ]
dalpengholic@gmail.com
5f2842d9e47bb5e920657062e1fab24687a4074c
78be79b52eb3398f7966e670c47ff04748769d07
/common/logger.py
71d756fb34bbceef4273196cb918fc435e677e41
[]
no_license
SmeagolYe/api_0828
83b8f39325942d33a1c9cef29622106c42712956
7216f23065218ac112372a35ea53826d9c28921e
refs/heads/master
2022-12-04T09:49:54.391594
2020-08-28T08:18:10
2020-08-28T08:18:10
290,990,731
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import logging from common.dir_config import * def get_logger(name): mylogger = logging.getLogger(name) mylogger.setLevel("DEBUG") fmt = "%(asctime)s - %(name)s - %(levelname)s - %(message)s - [%(filename)s:%(lineno)d]" formatter = logging.Formatter(fmt=fmt) console_handler = logging.StreamHandle...
[ "317324406@qq.com" ]
317324406@qq.com
08c45ae4c8f7af1394713a8d8566cf2fc56c4188
424cb6a75b5a5d32383f2c03916a5799ab8cc728
/Variational-AutoEncoder/utils.py
ce977c59bf70efc356bf8ce918b720f9246ab454
[]
no_license
itsayushthada/CBIVR
eea5cd357ebaef627c3e02c1194cdbf3265a704a
325613459e74e22968376ab6b1a9049687769b32
refs/heads/master
2022-03-25T08:22:23.682241
2019-12-02T18:20:10
2019-12-02T18:20:10
225,437,733
0
0
null
null
null
null
UTF-8
Python
false
false
5,528
py
import tensorflow as tf import keras from keras.layers import Input, Dense, Lambda, InputLayer, Activation, Reshape from keras.layers.normalization import BatchNormalization from keras.layers.convolutional import Conv2D, Deconv2D from keras.models import Model, Sequential from keras import backend as K from keras impor...
[ "noreply@github.com" ]
itsayushthada.noreply@github.com
6d42b2716b1fc97ea8d110a1635b51ce2e6b4156
ec648e1db4bdc0227a11685e5e4adf8ea4902d75
/mysite/urls.py
9b2acaaabd2c637d62ad560d6eed9f5f461e8484
[]
no_license
kujosHeist/django-quiz-template
9da8697d718b6778cb6d5a147b3b02d37bf82b50
a4244413578ce24ce3cda2827930b5c922f2abd9
refs/heads/master
2021-01-23T06:39:46.908611
2017-03-27T23:04:32
2017-03-27T23:04:32
86,386,705
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "shane.carty@hotmail.com" ]
shane.carty@hotmail.com
fcf0dc2303afd6a81cd9c7afcb008b2e92a23305
1222bbd7ab34f0f485362164da70847bc476561f
/term_1/P2-AIND-Isolation-Adam_Liu/tournament_1.py
148cc4e93764e2680760b5ae34914fd3beae4ce1
[]
no_license
adamliuio/aind
1923cac5dcd24e3307c0682c73b746818312ea44
138227f6a6c568c4ddc305f16a6331da80c66c5a
refs/heads/master
2021-09-08T10:17:11.412747
2018-03-06T23:12:01
2018-03-06T23:12:01
118,387,955
1
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
"""Estimate the strength rating of a student defined heuristic by competing against fixed-depth minimax and alpha-beta search agents in a round-robin tournament. NOTE: All agents are constructed from the student CustomPlayer implementation, so any errors present in that class will affect the outcome. The student agent ...
[ "adamkingleo@gmail.com" ]
adamkingleo@gmail.com
3587499fb12823efd46499611f87c6e9a82c2268
9740de6e32e44fe78a812e106833f6c0ca0ce716
/main.py
2d4bb6b6ad9af84ecbd4e72f94de08b6f4268199
[]
no_license
dicksiano/test-autokeras
54c8aaf7c16f688e48ad773ab1bbaff26a93a830
8e00178435458021d44e9030c1f9642dc2ddd491
refs/heads/main
2023-01-21T07:19:10.929788
2020-12-02T04:51:22
2020-12-02T04:51:22
317,753,072
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
from config import Constants from input_reader import read_data from neural_network import NeuralNetwork import pickle import matplotlib.pyplot as plt import pandas as pd import tensorflow as tf from keras.callbacks import ModelCheckpoint from keras import backend as K import itertools import numpy as np import tensor...
[ "noreply@github.com" ]
dicksiano.noreply@github.com
0c24275613565334a00338ba81c47ae3492726bf
af2bcb03b0ca34e376084eb8676666306e2dde99
/ext/testlib/result.py
38b3322ba180f2f2a71959e9377c871927ef0e1b
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
multifacet/ASAP
5c0b26dd2f06cd3c125e809b318c16721720f5e2
68cb32c43e3ebad2a5dfb947ce98442375b235c7
refs/heads/asap
2023-04-11T16:02:42.997035
2021-11-30T15:05:22
2021-11-30T15:05:22
426,381,088
4
2
BSD-3-Clause
2022-12-12T23:33:17
2021-11-09T20:43:59
C++
UTF-8
Python
false
false
9,968
py
# Copyright (c) 2017 Mark D. Hill and David A. Wood # 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 copyright # notice, this list of conditio...
[ "sujay.yadalam@gmail.com" ]
sujay.yadalam@gmail.com
3726d6aaf7a37aacef520c0ce1b2f43ad68700e1
10ad68a2e8e3958106651ff82a0978aabc82d789
/agilicus/v1/namespacegenerator/NamespaceGenerator
d84616ecfc855a934f851950b5e1c47976aeae4a
[ "Apache-2.0" ]
permissive
alimeerutech/kustomize-plugins
c69ef749008c42faded39cc87c304c1400418a30
21ebdbc6cde5e80d956bc32bbd2ac9c4c75a2441
refs/heads/master
2022-03-16T16:15:13.204314
2019-12-11T21:51:27
2019-12-11T21:53:19
256,403,523
1
0
Apache-2.0
2020-04-17T04:45:57
2020-04-17T04:45:56
null
UTF-8
Python
false
false
1,939
#!/usr/bin/env /usr/bin/python3 import pkg_resources pkg_resources.require('PyYAML>=5.1.1') import sys from itertools import tee import yaml import shutil import os import subprocess with open(sys.argv[1], "r") as stream: try: data = yaml.safe_load(stream) except yaml.YAMLError as exc: print(...
[ "don@agilicus.com" ]
don@agilicus.com
d4f3bd04ac6fb7adcb70da526c691f7887aa0573
1f68b01573ad873231958d98a686b7dbbe303279
/searchEngine/App/views.py
5873e1fbb65728c4bee308b466490212fb261257
[]
no_license
mkotha33/MovieSearchEngine-PythonDjango
3a3cb07c1c02a7be9aba1b10dd647b05e2b6729d
485a02b33cdbd3c597ac8395855ec4810fd2cdda
refs/heads/master
2020-04-26T10:03:55.842871
2019-03-02T11:45:32
2019-03-02T11:45:32
173,476,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
from django.shortcuts import render from django.http import HttpResponse from . import FileHandler as fh from . import MyLucene as ML from django.http import HttpResponse, HttpResponseRedirect from django.template import loader # Create your views here. def index(request): '''filepath = "C:/Users/M.S.Shruthi/Deskt...
[ "maahi.kotha@gmail.com" ]
maahi.kotha@gmail.com
70add22be9a70d8ceca4e71014665764dd5f5aff
bc2945c99f828083ca78b3bfcfe220a134fbd8b0
/users/migrations/0010_auto_20200725_1159.py
c0fe7d7e4a714113bfff57bc26a2b57875bf0f3a
[]
no_license
Kyeza/web_system
5bde9231551b7a94b535fe707db99ade351bd4fb
686a701469b13454d39e4f0c6b342b22befdb345
refs/heads/uganda-master
2022-12-14T13:43:17.833502
2020-12-11T07:23:19
2020-12-11T07:23:19
176,704,006
2
1
null
2022-12-08T11:07:51
2019-03-20T09:55:33
Python
UTF-8
Python
false
false
612
py
# Generated by Django 3.0.6 on 2020-07-25 11:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('reports', '0014_auto_20200605_0638'), ('users', '0009_auto_20200721_0727'), ] operations = [ migrat...
[ "kyezaarnold63@gmail.com" ]
kyezaarnold63@gmail.com
eefa361077f4c426bc428b0e32a4e1feaec3b3ae
9f69e893fe2d1af30de77e1b28615ec6023b3b6f
/sorting/heapsort.py
5f303484285aa09670842144e5477528080066e8
[]
no_license
PeppyHare/CtCI
7317465948e171a0656d962e1d1b916bb04989b7
808f0fa96ccbb2be8234b22f38ab63eedda4d0a5
refs/heads/master
2021-01-18T00:08:34.348970
2017-03-14T01:01:09
2017-03-14T01:01:09
84,258,795
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
""" Worst Case: O(n log n) Best Case: O(n log n) Average Case: O(n log n) """ def heapsort(a): result = a heapify(result, len(result)) end = len(result) - 1 while end > 0: result[end], result[0] = result[0], result[end] end -= 1 siftDown(result, 0, end) return result ...
[ "embluhm@us.ibm.com" ]
embluhm@us.ibm.com
64d6e7dc10b061b4daa8d641010581505d2d704a
e8ad4cfd04b0c04a811b2a91e88cb62ff4a95aa8
/20180527_13_參數、解包、變量.py
a08923a6184b3ee99ad9ef18de979b77f584d09b
[]
no_license
sugky7302/Code-for-Learning-Python
3bdc61956e1041a88b6b18c0d08edb1f62ba33c4
129af7bf23f5a0d2676d69693fde29558769bead
refs/heads/master
2021-07-19T15:08:09.800176
2020-04-29T08:04:13
2020-04-29T08:04:13
144,469,408
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from sys import argv script, first, second, third = argv print("The script is called:",script) print("Your first variable is:",first) print("Your sceond variable is:",second) print("Your third variable is:",third)
[ "sugky7302@gmail.com" ]
sugky7302@gmail.com
14ec29e30beb9428142b51e4d0cb06ebde3e6971
a23ec1e8470f87d1b3fa34b01506d6bdd63f6569
/algorithms/282. Expression Add Operators.py
3f93dd1ffb26e5d220725678cb98469a2ceaaf91
[]
no_license
xiaohai0520/Algorithm
ae41d2137e085a30b2ac1034b8ea00e6c9de3ef1
96945ffadd893c1be60c3bde70e1f1cd51edd834
refs/heads/master
2023-04-14T17:41:21.918167
2021-04-20T13:57:09
2021-04-20T13:57:09
156,438,761
2
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
class Solution(object): def addOperators(self, num, target): """ :type num: str :type target: int :rtype: List[str] """ res, self.target = [], target for i in range(1,len(num)+1): if i == 1 or (i > 1 and num[0] != "0"): # prevent "00*" as a number ...
[ "noreply@github.com" ]
xiaohai0520.noreply@github.com
b8269d41dafe82ff2472baf61ce5085139da7f96
2d95354400adba62d25b6e620d0a6b6254a17270
/test_django_APIView/article/migrations/0001_initial.py
2fba0b8d98807877a0c7939aca997091f1ade68f
[]
no_license
vasyanch/pet_drf
b94cc300f3926f7ef38e2501f840ea7b376f3e0a
3142aa774e46d53b4809c24e87e6df7d71491f1a
refs/heads/master
2020-06-08T11:48:49.629280
2019-06-22T12:32:39
2019-06-22T12:32:39
193,223,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
# Generated by Django 2.2.2 on 2019-06-21 08:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', fields=[ ...
[ "vasyanch852@gmail.com" ]
vasyanch852@gmail.com
943bede9e493c57524af600ccc0a7ad2fff6a668
0192e1c614ee2853d1f756f94289dcfcb382bbb0
/the-dynamo-streamer/python/setup.py
a8cf1678b7aa2078e4eb72619b8ed1aea4807d8f
[ "MIT" ]
permissive
cloud-architecture/serverless
fcb4ef093a61d864f4319f5bc0205af4e5390300
d2caa5681f1929523b65b225058229cd298bbc3b
refs/heads/master
2021-04-19T09:52:53.863381
2020-03-22T10:07:16
2020-03-22T10:07:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import setuptools with open("README.md") as fp: long_description = fp.read() setuptools.setup( name="the_dynamo_streamer", version="0.0.1", description="An empty CDK Python app", long_description=long_description, long_description_content_type="text/markdown", author="author", pac...
[ "1432881+nideveloper@users.noreply.github.com" ]
1432881+nideveloper@users.noreply.github.com
b2efbf99e9dd402f90a6e40c9f520aff916354d4
e6c7485943b4caf2de39e038380f922726990376
/Password generator.py
cb4cf93c484116d6a1d993ec866ba7418b5dcb80
[]
no_license
akashaw/first
a42dd61caac1695e014dd6605c8a06a3a8805b2f
eb6c7772e84bf764856c36ead6e8616f69fc95aa
refs/heads/master
2022-10-12T00:36:22.982206
2022-10-05T09:26:06
2022-10-05T09:26:06
236,743,375
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
hi=input() hi=hi.split(',') ans=[] for a in hi: l = a.split(':') string = l[0] length = len(string) code = (l[1]) code = list(code) code.sort() new_code = [] for i in code: if int(i) <= length: new_code.append(i) if len(new_code) == 0: element = 'X' el...
[ "akash98313@gmail.com" ]
akash98313@gmail.com
69bd617e2910c4a557b82e0697e3ca9ceb6b3480
435b0678654de2a0b0b55e25a02b08a79b8a778d
/yaoChun/yaoChun/urls.py
76fc2c1d357ee82daf1d3ce77fe986bc40f38a9a
[]
no_license
yc1220228757/twogit
cacc08f5d7d30dd4310708d083343eacec1045d3
9ad218b6de23430b68c3ce19612b4e6b3f2cfd70
refs/heads/master
2020-04-30T21:25:32.933462
2019-03-22T07:35:51
2019-03-22T07:35:51
177,092,748
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
"""yaoChun URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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...
[ "yc1220228757@163.com" ]
yc1220228757@163.com
3487f385af9cf1c3384d8a9a9c5360459fd67f89
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/ir/test_ir_fc_fuse_pass.py
cb485609b55ec330ad7dff0ed4d10d8a13a8f865
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
1,978
py
# Copyright (c) 2019 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 app...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
c6abbd68abb96d60b47108a11a645b653f08f6d2
edfd9d720e180465b4775d1d9734cc7b38df9c5e
/main.py
4d90c65d3a66de046a69ef96393ae4a47da756b6
[]
no_license
jonnyktran/photo-pixelator
33748e6bbba9c4b987d62116cc5089bb98099c5d
2ae83cd1ff9f3083da2c8598f528553425cdee4b
refs/heads/main
2023-07-18T18:20:07.922311
2021-09-19T08:09:27
2021-09-19T08:09:27
334,803,004
1
0
null
null
null
null
UTF-8
Python
false
false
6,201
py
from PIL import Image import numpy as np from numba import njit RESURRECT64_PALETTE = [(46, 34, 47), # bastille (62, 53, 70), # ship gray (98, 85, 101), # salt box (150, 108, 108), # copper rose (171, 148, 122), # ...
[ "61168867+jonathanktran@users.noreply.github.com" ]
61168867+jonathanktran@users.noreply.github.com
9006554c4b9386b8a668cade0feaf260ec4e07a4
b2ab970816dc7d21ddcd560b90e3096d13307505
/0-100/058.py
bac114c8f2095dac6aa8cfb39796720dbfa8c564
[]
no_license
rillis/ProjectEuler
bbdf79ff8878b30a6d6e69738eedc4e99a6295be
0dc7fda9fe2f0a4fff44c616ac0369884475c00c
refs/heads/master
2023-02-09T12:13:56.329545
2023-01-29T16:25:30
2023-01-29T16:25:30
298,775,288
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
# Time to achieve the answer: 1.5049629s # Notes: Running in PyPy3 # # ProjectEuler # Copyright (c) ProjectEuler - rillis. All rights reserved. # # https://github.com/rillis/ProjectEuler # import math import os import random import re import sys import itertools import timeit def isPrime(n): for x in range(3,in...
[ "rillisnelson@gmail.com" ]
rillisnelson@gmail.com
0d616abe175f91c7287f6507c0c2342cd65f0b59
6b5d8fd840e8821a6fdd16a3d98030fee48a7764
/App/migrations/0015_auto_20190714_1759.py
8d0dd47381548e28e32e6a593b31d8d8d2f232b0
[]
no_license
LGungnir/DjangoZOL
059bc69cfa30ac0e5e532def4ea9cf4adf385e39
e3aa4e2bb74b3ac6ee8d7fc772bacecb9fa4cf67
refs/heads/master
2022-12-22T22:33:31.294869
2019-07-18T08:11:15
2019-07-18T08:11:15
197,489,612
0
0
null
2022-12-08T05:53:52
2019-07-18T01:37:34
HTML
UTF-8
Python
false
false
982
py
# Generated by Django 2.2.3 on 2019-07-14 09:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('App', '0014_ordergoods'), ] operations = [ migrations.CreateModel( name='Receive', ...
[ "cheng_yunbin@sina.com" ]
cheng_yunbin@sina.com
27dd856daa70baf155dfbeae5458fba01503ddc8
a2fcfef1e6e2eda66964e208480bce9e1509c3bd
/my_blog/urls.py
377af2835f18a5e637a33c5404e589e7e3a628a3
[]
no_license
zcqshine/my_blog_by_django
009fd12ee102a7983993d8be8f718a132954a7fc
2a9629383221a4e22ae75193cfa1e0b4527afdcd
refs/heads/master
2016-09-06T10:45:31.911168
2015-01-23T09:45:11
2015-01-23T09:45:11
29,725,086
1
0
null
null
null
null
UTF-8
Python
false
false
429
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'my_blog.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^$','article.views.home'), # url...
[ "zcqshine@gmail.com" ]
zcqshine@gmail.com
7024ae05ff1844eca1d1409094787f626f186dca
98ebce5d5fbf3eb36642b3ffefe51ffcb81e9d5a
/uv/asgi.py
3a64a8aef60b33aa8102ee73af4ce975123cecea
[ "CC0-1.0" ]
permissive
codesankalp/E-commerce-Website
cf5d07587e790761b07e68b47669f7cf1f25269b
9091a7e27a9e63242b9067377a697196879fc707
refs/heads/master
2023-01-19T23:29:51.071061
2020-11-25T07:35:09
2020-11-25T07:35:09
286,974,879
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
""" ASGI config for uv project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_M...
[ "sankalp123427@gmail.com" ]
sankalp123427@gmail.com
b6bc3862aba3cb915a8c9e6f441026fe7f4447a4
f555608150415bd30d452d97621b8675be09046f
/contest/sz.py
5d683085b0daf32062cb5b4ee092d9d498b6ceb9
[]
no_license
luxiao/python
b9fcaf4b003cee7d164ce0829939448fe84bbdf6
8da50c6f14c97f855f53d526c85329c22fab071f
refs/heads/master
2020-12-24T16:34:26.599911
2019-05-14T08:11:12
2019-05-14T08:11:12
18,641,100
4
2
null
null
null
null
UTF-8
Python
false
false
2,809
py
# -*- coding: utf-8 -*- import types opr=('+','-','*','/','(',')') class stack: def __init__(self,srclist=None): self.data=[] self.leng=0 if srclist is not None: self.data=srclist self.leng=len(srclist) def isEmp(self): if self.leng==0: True else: False def pop(self): ...
[ "luxiao1223@gmail.com" ]
luxiao1223@gmail.com
114d19bb3eed178fe475e6e9b4c627a69fd2f3e1
2beaf81f068217ac74ca616ec7a2e24a4c4597d8
/codechef/choprt.py
63538b87704f4a29286a6cfa52948665160f5420
[]
no_license
CodeForFun-r/Competitive-Programming
03b0751e5c00b0c979d413c934a881dde15caedc
c93d6e7f6db964bc9c8b54caab535c2b52d6ffec
refs/heads/master
2022-12-15T11:41:36.352931
2020-09-02T10:52:37
2020-09-02T10:52:37
285,487,701
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
for i in range(int(input())): a, b = map(int, input().split(' ')) if a > b: print('>') elif a < b: print('<') else: print('=')
[ "noreply@github.com" ]
CodeForFun-r.noreply@github.com
8cb2231586c50d4a9c40daaa55cfe424fba86cc0
a994be46a4deef9e7d7aaea32d1714b6d849344c
/data/generate_train.py
5f8d6e9fac76128c688581eef7c112d73005aa43
[]
no_license
lion-ops/slim_yolov3
7abec2242a491c5af754e9a5d4c96cacf4ef74ba
fb4d4327d7bb4433d2e7824d4e83c53ce3403c60
refs/heads/master
2023-07-19T11:22:13.251017
2020-09-01T07:10:44
2020-09-01T07:10:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
import os images_path = os.listdir('images') with open('train.txt', 'w+') as f: for image_path in images_path: if not image_path.startswith('COCO_val2017'): f.write('data/images/'+image_path+'\n')
[ "noreply@github.com" ]
lion-ops.noreply@github.com
577029548b9dd4fdd6fbd9bce95f20f25c58623e
aaf596efff64bf626b9dc2b7279ceb195b2d8eea
/pylearnadvance/thread/demo1.py
e6d05888ab3e54386bba8c79d3cb053a1202c0fb
[]
no_license
gongyangyu/pythonprojects
4a8d48453f606f8ca87d3860f8c98104596e456d
03ffd8932f23bd98538b8e88c9c4567852ec030f
refs/heads/master
2020-07-12T03:43:38.215350
2019-09-16T13:31:26
2019-09-16T13:31:26
204,709,446
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import threading import time def sing(): """唱歌5s""" for i in range(5): print("----------正在唱歌----------") time.sleep(1) def dance(): """跳舞5s""" for i in range(5): print("----------正在跳舞----------") time.sleep(1) def main(): t1=threading.Thread(target=sing) t2=...
[ "1665465903@qq.com" ]
1665465903@qq.com
bf722e10a81a9c4b67683f0102f4ca1a2cf02a31
710e46cdf24c163503d5d9db25ff7b6f428a4e8e
/__init__.py
f717c2f41b445ac739959cc52dd1236f7c7f1769
[]
no_license
lloyd10029523/mapillary
e81ed370337d85706cbdfd7a06671cbe79ec7d80
841173a8240d4a41dbfb03d01ea03eb55e75b1cc
refs/heads/master
2021-01-22T22:02:50.948938
2016-09-22T13:59:20
2016-09-22T13:59:20
92,751,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
# -*- coding: utf-8 -*- """ /*************************************************************************** mapillary A QGIS plugin mapillary ------------------- begin : 2015-01-20 copyright : (C) 2015 by geodrinx ...
[ "geodrinx@gmail.com" ]
geodrinx@gmail.com
699ce16dc10d9a10a12ff340c9bb8f01c5096fbf
0e3992c909ab923bf3897a4568d467bef73c0909
/peacenik-exp-framework/src/option/benchmarks.py
096ad8ccf9c8cdb967857f10d5398ca5130470d9
[]
no_license
PLaSSticity/peacenik-simulators-asplos20
c4c3b5302e3aa6d3063c35ccdc3f95424e477c72
66d187650daf1aedb5c76fefee6d20529a56e27a
refs/heads/master
2020-12-10T19:50:38.369905
2020-02-04T12:25:54
2020-02-04T12:25:54
233,693,358
0
0
null
2020-02-04T12:25:56
2020-01-13T21:05:10
Java
UTF-8
Python
false
false
903
py
class Benchmark: """Wrapper class for allowed benchmarks.""" PARSEC = ["blackscholes", "bodytrack", "canneal", "dedup", "facesim", "ferret", "fluidanimate", "raytrace", "streamcluster", "swaptions", "vips", "x264"] SPLASH2X = ["barnes", "cholesky", "fft", "fmm", "lu_cb", "lu_nc...
[ "ruizhang1217@yahoo.com" ]
ruizhang1217@yahoo.com
c73005c81aaec8e7c0613dea2e18f7b12afbb9dd
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/双指针(two points)/16. 3Sum Closest.py
999c518d3f03cb923594bff7a42b551b460d21fb
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
2,263
py
''' Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. Example: Given array nums = [-1, 2, 1, -4], and target = 1. The sum that is closest t...
[ "1129079384@qq.com" ]
1129079384@qq.com
f1349d5120e8905215322a1cd477100e62f5b62b
1e9838ef39e44060ff7f04d6d830812ce5fed99f
/Python/Kaggle_ETL_Submisson.py
df444ea1dbf4ea48d6a89785c5271704dcc05cae
[]
no_license
Greeshma-Venkatesh/DB225-pantrychef-project
61d6892781e2e2c0b39d4c603b9595a1d6b7fbe9
27099a1b72e974f5e43a6c4ead90b4c9008cdef5
refs/heads/master
2023-08-20T08:55:57.793807
2021-05-13T01:39:46
2021-05-13T01:39:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,192
py
# Property of SJSU Data225 Project Group3 # Version Date Author Desc # 1 04/27/2021 Rishi Srivastava Initial Version # 2 04/30/2021 Payal Added function to load Stats data # 3 05/05/2021 Greeshma,Jyoti Peer Review # ...
[ "rishi.wip@gmail.com" ]
rishi.wip@gmail.com
4ea047de73216b163225392635a3e6088aafa37f
b449d885991fc4d03eed8507d3fd57bd1e5ee144
/question_no_20.py
ced99ce48c1c3a3781cafc2d352775014a8d1536
[]
no_license
vksudin/python-lab
ea8f0ab69b1939396a7a559da64cc8e69391143d
653420600ea85680d651df54b7ddee24ad09a19c
refs/heads/main
2023-03-15T19:25:10.396968
2021-03-06T02:23:58
2021-03-06T02:23:58
344,852,830
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 5 20:48:28 2021 @author: sudin jana """ def anagram(a,b): print(a,b) if len(a)!=len(b): print("Not anagrams") return a=sorted(a) b=sorted(b) for i in range(len(a)): if a[i]!=b[i]: print("Not anagrams"...
[ "noreply@github.com" ]
vksudin.noreply@github.com
5f230592b6eb6fe910fff31b71e67880f9692b82
de72607be743b6c87005bf4e3da54bc80abd6dd5
/MP1/MP1_Unicast.py
3cc404f3bb53e835133f0e961fdda341ec7a0412
[]
no_license
xiashang0624/Distribution_system_MP2
16709699b7146826d9e215cd4dd49555fb177ee2
0caf982a8f2444440b25af1232bafb4976491b31
refs/heads/master
2020-03-07T11:42:16.086436
2018-05-02T21:35:40
2018-05-02T21:35:40
127,461,980
0
1
null
2018-04-25T05:37:51
2018-03-30T18:47:39
Python
UTF-8
Python
false
false
3,112
py
import socket, time, threading from random import randint import pdb # This program is designed to perform unicast with a option to allow delay. # define a function to listen def Listen(server_socket): while True: try: recieve_msg,addr = server_socket.recvfrom(1024) recieve_time =...
[ "xshang3@gelib-4c-41.ews.illinois.edu" ]
xshang3@gelib-4c-41.ews.illinois.edu
244f722f90ec59016d843f887036ec423dc5b19e
80874bb26208b6c82ef558a904f97d45c7e23742
/airflow/airflow/dags/load_dimension_table_subdag.py
4fd72c1c957cfa98c4e6a991e6c25c5d1f83cbef
[]
no_license
Mousumi-Singha/data-pipeline-airflow
2fe8d25c5705e6a23e7887da2a604b7d95b01fd7
43194b47f539ca8ca948f9b1bfcdeff18f630506
refs/heads/master
2023-04-04T11:59:46.633082
2021-03-31T05:01:33
2021-03-31T05:01:33
353,217,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
import logging from airflow import DAG from airflow.operators import LoadDimensionOperator def get_load_dimension_table_subdag( parent_dag_name, task_id, default_args, postgres_conn_id, sql_queries, tables, truncate_flags, *args, **kwargs): ...
[ "mousumisingha90@gmail.com" ]
mousumisingha90@gmail.com
2d7ea85777003a35886a2ed9a54c7eacb02feeac
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kfa.py
fa58bfbad8c36ae3ec8f5d8bfeacb3f8cb899cab
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
7576f8247220729c624ef1a5b86bbe6d99d3a674
64d7e4aa68678467798ff776156e9e571d9c2afc
/mazeGame.py
441b9bc8cd250b6a5a051f2bab7e04303456ea6c
[]
no_license
yozeff/mazeGame
29fd113ae3e30d0d343b355ca6c4c1490d6a8ca7
30a34d99490f3f41e74b28b9924263a43bfa233e
refs/heads/master
2020-05-09T15:06:20.251008
2019-04-13T19:54:38
2019-04-13T19:54:38
181,221,482
0
0
null
null
null
null
UTF-8
Python
false
false
3,282
py
from mazeArray import make_arr from mazeArray import make_maze import pygame import random as r #size of each block SIZE = 10 WALL_COL = (255, 0, 0) PLAYER_COL = (255, 255, 0) END_COL = (255, 0, 255) def game_loop(arr, pi, pj, ei, ej): global blocks blocks = [] #screen size X, Y = SIZE * len(arr...
[ "noreply@github.com" ]
yozeff.noreply@github.com
3e6274f68a32a64cdaad8f145058730bafa63415
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_scipy_numpy/source/numpy/distutils/system_info.py
d7eb49ecd6b2ad37af5555202623dde6a903977b
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
85,533
py
#!/bin/env python """ This file defines a set of system_info classes for getting information about various resources (libraries, library directories, include directories, etc.) in the system. Currently, the following classes are available: atlas_info atlas_threads_info atlas_blas_info atlas_blas_threads_info ...
[ "master@MacBook-Pro-admin.local" ]
master@MacBook-Pro-admin.local
b20a8ceb62e68cea4660e241d323d08b5c8a9a34
b05b89e1f6378905bbb62e2a2bf2d4f8e3187932
/contiguousSubarrayWithMaxSum.py
cca7da339ae673798a2108e9eca5e36101113136
[ "MIT" ]
permissive
anishmo99/Daily-Interview-Pro
c959cd336209132aebad67a409df685e654cfdfc
d8724e8feec558ab1882d22c9ca63b850b767753
refs/heads/master
2023-04-10T08:09:46.089227
2021-04-27T07:27:38
2021-04-27T07:27:38
269,157,996
1
1
MIT
2020-06-08T07:09:19
2020-06-03T17:57:21
C++
UTF-8
Python
false
false
257
py
class Solution: def maxSubArraySum(self, arr: List[int]) -> int: cur_sum,max_sum=arr[0],arr[0] for i in range(1,len(arr)): cur_sum = max(arr[i],arr[i]+cur_sum) max_sum = max(cur_sum,max_sum) return max_sum
[ "ani10sh@gmail.com" ]
ani10sh@gmail.com
19ced467669fb0dacbfd256cd91ac39a5fbd1a6d
78b961adcc7f2cc8c1e95a88a46220c94c1de85d
/esp32-micropython/server/util.py
58909bdeec47caa2dc2af41d5aa22bab04406cf4
[]
no_license
camlee/power-meter
3b685ca7df26c774c8e946271a89b82d75c0b145
4954198e863de30d32af927da2cec6767e3681f9
refs/heads/master
2022-12-24T23:32:20.400866
2021-07-12T21:41:57
2021-07-12T21:41:57
144,101,312
4
1
null
2022-12-10T13:59:48
2018-08-09T04:37:09
Python
UTF-8
Python
false
false
1,330
py
import os import time import machine EPOCH_DELTA = 946684800 # (date(2000, 1, 1) - date(1970, 1, 1)).days * 24*60*60 def set_time_from_epoch(epoch): """ Sets the system time from the provided unix epoch time """ # converting from unix epoch to ours (2000-01-01 00:00:00 UTC): our_epoch_t...
[ "cam.w.lee@gmail.com" ]
cam.w.lee@gmail.com
b032182e1d6228441cafe14eee800546baf0fee8
10a764666e3e520596fb057946d3031070cf5144
/news_list/admin.py
24c10d96a3cf2056722797f1f06279f950738cc1
[]
no_license
HunterOut/News
097c01d7469a442f3965bc66aa6274dc84e85a78
82ce672ee7225db5a4bea35b50978039f1a55a9a
refs/heads/master
2023-08-15T01:59:58.861407
2020-07-07T17:50:44
2020-07-07T17:50:44
268,179,514
0
0
null
2021-09-22T19:07:42
2020-05-30T23:57:54
Python
UTF-8
Python
false
false
554
py
from django.contrib import admin from .models import Post, Comment @admin.register(Post) class PostAdmin(admin.ModelAdmin): list_display = ('title', 'slug', 'author', 'publish', 'status') list_filter = ('status', 'created', 'publish', 'author') search_fields = ('title', 'body') prepopulated_fields = {...
[ "hunter_out@icloud.com" ]
hunter_out@icloud.com
33105419cbada6eb8b54a848f81125e149dbce73
274532350bbdb855d700caae4d7771f07aebd55b
/Python/modules/regular expression/first.py
02eff6b9ce3992458d540957e2aa68a7fe4e0300
[]
no_license
SA253/python-assignment
3ef86b5578e90a44c9762c0750aa9e523c01d33c
7a491557a6d4123778213b2acfd303becec0b297
refs/heads/master
2020-09-21T11:25:09.638484
2019-11-29T04:04:05
2019-11-29T04:04:05
224,191,418
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
import re pattern="zomato" #text="does this text match the pattern?" #ans:none ,not found text="zomatonn" # ans: <re.Match object; span=(0, 6), match='zomato'> , found match print(re.search(pattern,text)) if re.search(pattern,text): print("found match") else: print("not found") ...
[ "noreply@github.com" ]
SA253.noreply@github.com
a84288226cbea66dd69ddc0696fb2f6421d6bdfb
c7071fe677a0cbea69fc2b4d9ad293119511b353
/comment/migrations/0001_initial.py
79034a6fa78c5a2e0454496ea40b61cccccf489c
[]
no_license
jimmyliaoviva/MuseumDjango
3465fb83a88b771456a60e3c29cc6c45916c9450
663573932965cb1f46e42646ad9cfa98c4129a8c
refs/heads/main
2023-02-13T19:08:40.460158
2021-01-09T07:02:17
2021-01-09T07:02:17
306,344,255
0
0
null
2020-11-04T09:35:56
2020-10-22T13:21:44
JavaScript
UTF-8
Python
false
false
933
py
# Generated by Django 3.1.2 on 2020-11-18 01:34 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), ('main...
[ "u0524079@nkfust.edu.tw" ]
u0524079@nkfust.edu.tw
a6eb631441ab06d660845be6883cdca77ab775a3
7ae58b6286dde0e3949cc21125a56333443801b6
/blog/migrations/0001_initial.py
f65c2415be772424b90845c2cfe275ade0f9fece
[]
no_license
divsingh14/portfolio-django
60a68013cd273fb3b88f7009b208d79e51c5fc53
e0fb897981c977af822fd56c5940cb2513419fd4
refs/heads/master
2022-11-13T10:19:17.020592
2020-07-01T15:39:34
2020-07-01T15:39:34
276,386,389
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# Generated by Django 3.0.7 on 2020-06-30 16:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(aut...
[ "divsingh14@yahoo.in" ]
divsingh14@yahoo.in