blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
882dd051b7a1fff21dee017e84de337271d6bcb6
39329ae5773c9b4c1f9c91eec393507f5e8ae1c0
/server/.history/server_20200307213734.py
40e4aa62a922652973d3ff4b8b8636ddb900856f
[]
no_license
dobreandrei1/legal
083267aae7faa10775e5a634679869fce0ac3136
dd05fad8df599f9fc34f56628ebd8861f7a004b4
refs/heads/master
2021-09-08T20:16:29.926214
2020-03-08T09:24:04
2020-03-08T09:24:04
245,785,262
0
0
null
2021-09-03T00:42:33
2020-03-08T09:22:37
Python
UTF-8
Python
false
false
1,712
py
from pathlib import Path from flask import Flask, render_template, request, send_file, send_from_directory, safe_join, abort, current_app # from werkzeug import secure_filename import pandas as pd import os import time import json from flask_cors import CORS from haikunator import Haikunator import unidecode import PyP...
[ "dobreandrei1@yahoo.com" ]
dobreandrei1@yahoo.com
2624fc2cc2558380db72259518fe7ca467c5f0a4
5fa98b709c68c1f8c8aa8914b9ec790f21c60c98
/tests/test_updates.py
229c23a3f617313abddd80dde8a374f78913e73a
[ "MIT" ]
permissive
Nextpertise/versionalchemy
b0085d1b383e5ff2d13fe0caa6b824f33476de0f
ba14a8f3369db568e7eb300630e96ef8c67b79a5
refs/heads/master
2020-05-15T12:30:19.228686
2019-07-05T08:19:48
2019-07-05T08:19:48
182,266,873
0
1
MIT
2019-04-29T13:37:12
2019-04-19T13:13:32
Python
UTF-8
Python
false
false
5,844
py
import os import sqlalchemy as sa from sqlalchemy.exc import IntegrityError from sqlalchemy.orm import sessionmaker import unittest from tests.models import ( ArchiveTable, Base, UserTable, ) from tests.utils import ( SQLiteTestBase, VaTestHelpers, ) class TestUpdate(SQLiteTestBase): def tes...
[ "akshay@nerdwallet.com" ]
akshay@nerdwallet.com
f340f6fe2ce9cef2755406e2d7327934041ad8c1
6fe477c7b32f0020a5fffe6affbc7546b16ab879
/healthpoints/src/healthpoints/apps/tracks/migrations/0003_auto__add_field_activity_shard_id__add_field_activity_note_id.py
aca19183adb724bd430c79164d590c788b213d1b
[]
no_license
rootart/healthpoints
cb79cc4b8e3ceb9401eb5894518e026673f98545
c33f8e2d0d62e66b3e967f3e464097482abebd91
refs/heads/master
2021-01-01T05:52:06.661165
2014-10-12T05:45:11
2014-10-12T05:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,555
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Activity.shard_id' db.add_column(u'tracks_activity', 'sha...
[ "dijakroot@gmail.com" ]
dijakroot@gmail.com
71c6916798618aaa9ad552378b8683d49506a7c7
ac790944937b6e33f84372ce2d16bde55a84e3b9
/doc_builder/markdown_extractor.py
171481e2747cbeb70475be84151c354673826557
[]
no_license
barriebarnes/markacross
25bcfcddb762e2234d256532d39e043cd32b1c54
ee5cf45fd5880ae160778a05be2a8982740b5df6
refs/heads/master
2020-12-25T14:49:13.892101
2016-07-12T08:18:15
2016-07-12T08:18:15
63,105,594
0
0
null
null
null
null
UTF-8
Python
false
false
6,065
py
import fileinput import re import pprint class MarkdownExtractor(object): """ M<<<<<<<<<<<<<<<<<<<<<<<<< # Class: MarkdownExtractor Extracts all Markdown from a given file >>>>>>>>>>>>>>>>>>>>>>>>>>>>>M """ def __init__(self, container): self.container = container def extract(self, fi...
[ "barrie.barnes@sainsburys.co.uk" ]
barrie.barnes@sainsburys.co.uk
2bc647123df644c429a647698050cb197c682e88
5b5a49643c75aa43d5a876608383bc825ae1e147
/tests/lists/p121_test.py
22041a3cf5ee7085bd6f9c855959da66c5eaec06
[]
no_license
rscai/python99
281d00473c0dc977f58ba7511c5bcb6f38275771
3fa0cb7683ec8223259410fb6ea2967e3d0e6f61
refs/heads/master
2020-04-12T09:08:49.500799
2019-10-06T07:47:17
2019-10-06T07:47:17
162,393,238
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
from python99.lists.p121 import insert_at, insert_at_mutable def test_insert_at(): assert insert_at([1, 2, 3, 4, 5, 6], 2, 'a') == [1, 'a', 2, 3, 4, 5, 6] assert insert_at([1, 2, 3, 4, 5, 6], 1, 'a') == ['a', 1, 2, 3, 4, 5, 6] assert insert_at([1, 2, 3, 4, 5, 6], 7, 'a') == [1, 2, 3, 4, 5, 6, 'a'] def tes...
[ "ray.s.cai@icloud.com" ]
ray.s.cai@icloud.com
924e817f7df665a0dd09849ca931b75d6b22a05f
8bcceea28f4e4345f4a0f99c3761c31abfb7a94e
/Probabilistic_model/trade_dynamics_prob_clean.py
7f4bce4575675e158a27dc8119573112348d2ab9
[]
no_license
jasperverschuur/Food_security_lesotho
c7b1e91da6036c486eb5d1fd88b27f85010ff534
d3992b681809862a518678e611a1cbcaae257737
refs/heads/master
2022-09-08T12:12:30.440836
2020-06-01T19:31:20
2020-06-01T19:31:20
268,612,945
0
0
null
null
null
null
UTF-8
Python
false
false
13,889
py
#!/usr/bin/env python import scipy as sc import pandas as pd import numpy as np import matplotlib.pyplot as plt from scipy import signal import scipy.stats as stats import seaborn as sns from sklearn.preprocessing import PolynomialFeatures from sklearn.linear_model import HuberRegressor,LinearRegression from sklearn...
[ "noreply@github.com" ]
noreply@github.com
d3a11b03a1299ac463f87eea644d12b3ad7ee1da
d29baf1efe018a9f30280cdfb6fabb553ea27b86
/pruebas/pruebas aisladas/pestañas y su ejecucion.py
80210068f93a827fdb363021c4ad02d5e4a5ead7
[]
no_license
ColqueRicardo/v-version
7c3bd074a5ce9e3b774d1cbd95a4059683d7b46e
45fd067443e084f510f69053a70507956edae0a2
refs/heads/master
2023-01-22T22:56:03.732007
2020-12-07T02:41:36
2020-12-07T02:41:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,261
py
from tkinter import * import tkinter as tk from tkinter import ttk from tkinter import messagebox from pynput.mouse import Button as Mouse_button, Controller import xml.etree.ElementTree as ET def archivoxml(): bd = ET.Element("base") ventana = ET.SubElement(bd, "ventana", name="ventana-consultas") vent...
[ "ricardocolquerc@gmail.com" ]
ricardocolquerc@gmail.com
762824112bf390cf4f8ff8ee2d484e6524fbca21
c95f245a5252ec1185e13ef5d37ff599dd451fee
/telethon/network/connection/tcpfull.py
fd9fd1cf58e9bd9932053d283a5d676b226f6cd5
[ "MIT" ]
permissive
perryyo/Telethon
6f95ce09ad86a94c44fe697ba6d49df4914cb321
0046291254f9c96f8824ff7b42fa695fa3f71fc5
refs/heads/master
2020-04-07T17:08:15.994174
2019-02-11T07:13:44
2019-02-11T07:13:44
158,558,142
0
0
MIT
2018-11-21T14:12:22
2018-11-21T14:12:21
null
UTF-8
Python
false
false
1,463
py
import struct from zlib import crc32 from .connection import Connection from ...errors import InvalidChecksumError class ConnectionTcpFull(Connection): """ Default Telegram mode. Sends 12 additional bytes and needs to calculate the CRC value of the packet itself. """ def __init__(self, ip, port, ...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
bf811162014e14e26b71ed53ffec58e618d594a3
2157782cf5875767f8d1fe0bb07243da2e87600d
/send_email/email_helper.py
5012f4ab74d9a69b947ea3e386bf2d903abaa39f
[]
no_license
mouday/SomeCodeForPython
9bc79e40ed9ed851ac11ff6144ea080020e01fcd
ddf6bbd8a5bd78f90437ffa718ab7f17faf3c34b
refs/heads/master
2021-05-09T22:24:47.394175
2018-05-11T15:34:22
2018-05-11T15:34:22
118,750,143
1
1
null
null
null
null
UTF-8
Python
false
false
3,112
py
#email_helper.py ''' 参考:https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000 封装成简单邮件发送模块 ''' from email import encoders from email.header import Header from email.mime.text import MIMEText from email.utils import parseaddr, formataddr im...
[ "1940607002@qq.com" ]
1940607002@qq.com
b5f7d6f9fb35ce51fcbddc2f6bdffd4aaadeda7a
5f59fb34fe9c4bcca96d18a765063fefa4bf8e8d
/lib/eval.py
4499eec599ad5788222d5fd94fcd30d239ca1123
[]
no_license
chrischoy/HighDimConvNets
674ee682aa0c3b37b2e2e0e0b1fc36469b1978d6
bd8f03150b4d639db61109a93c37f3be0dcaec38
refs/heads/master
2023-08-06T22:41:06.052791
2021-09-15T17:23:11
2021-09-15T17:23:21
263,797,270
39
4
null
null
null
null
UTF-8
Python
false
false
2,020
py
import torch import numpy as np def pdist(A, B, dist_type='L2', transposed=False): """ transposed: if True, F0, F1 have D x N. False by default N x D. """ if 'L2' in dist_type: if transposed: D2 = torch.sum((A.unsqueeze(2) - B.unsqueeze(1)).pow(2), 0) else: D2 = torch.sum((A.unsqueeze(1) -...
[ "cchoy@nvidia.com" ]
cchoy@nvidia.com
a2d6c12a2bd7956f2c562f8cfe0e2ac7678d9769
3003a8663135aa10f5a152a8642bc6ab270995b9
/ggCloudSDK/google-cloud-sdk/lib/googlecloudsdk/sql/lib/instances.py
9580cc32edf3f272d2994243b0b16c424ce6e6fb
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/packmybot
1b4d199b36d196e5e769a781b520019bb4d0bdbc
92de1e72cfc51b41447366ffc81a9dcd9a5e7870
refs/heads/master
2022-11-25T23:46:06.946645
2015-10-22T08:22:04
2015-10-22T08:22:04
282,313,675
0
0
null
2020-07-24T20:50:10
2020-07-24T20:50:10
null
UTF-8
Python
false
false
7,040
py
# Copyright 2015 Google Inc. All Rights Reserved. """Common utility functions for sql instances.""" from googlecloudsdk.calliope import exceptions class _BaseInstances(object): """Common utility functions for sql instances.""" @classmethod def _SetBackupConfiguration(cls, sql_messages, settings, args, origin...
[ "cboussicaud@leaseplan.fr" ]
cboussicaud@leaseplan.fr
f3e029ef5acbe8e796a4ba75d99292456d5d7dd7
8832f83436809e8e918e60e5526d95add9fe8dbd
/books_app/migrations/0069_auto_20191002_1610.py
825b2b23a78d57c127bd9697fe680eaecabd9d58
[]
no_license
HCDigitalScholarship/booksofduchesses
e31e56eaba253b92a1362de5918b5b005cb27f3c
3f0e27515963c92a56714c5bada3b6a68a8665df
refs/heads/master
2022-12-09T18:41:20.019687
2021-10-25T14:58:18
2021-10-25T14:58:18
190,254,161
0
3
null
2022-12-08T05:21:54
2019-06-04T18:05:08
Python
UTF-8
Python
false
false
849
py
# Generated by Django 2.2.2 on 2019-10-02 16:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("books_app", "0068_auto_20190930_1758")] operations = [ migrations.AddField( model_name="text", name="estc_link", fiel...
[ "apjanco@gmail.com" ]
apjanco@gmail.com
34d1e03b2cc53375a6a2534a8570f72711e0d8ba
d3b4c1ad4fb521b7d44ec66ab88a6ca075d20533
/q16.py
395bd5fae27c8b3b749f6e4c8de9b99a2264c2ab
[]
no_license
Ayesha116/piaic.assignment
06b57c25f38a0836da5f26c654682c1ca7e4d665
5ef29d394cea55c1d467f45d6b07d611378b419f
refs/heads/master
2020-06-16T07:24:13.153377
2019-07-06T19:42:43
2019-07-06T19:42:43
195,512,041
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
#Write a Python program to compute the distance between the points (x1, y1) and (x2, y2). import math a = int(input("enter co-ordinate of x1: " )) b= int(input("enter co-ordinate of x2: " )) c= int(input("enter co-ordinate of y1: " )) d= int(input("enter co-ordinate of y2: " )) distance = math.sqrt(((b-a)**2)+((d-c)**...
[ "ayeshajawed1168@gmail.com" ]
ayeshajawed1168@gmail.com
7725709e661cfee7b68604a65aeaac90af786093
96818d4bb3803a386026ec59d2e2a653c7dff324
/NIT_Admission_System/src/NIT_Admission_System/urls.py
c1d67ff6bd8fa97fcded86db1f8fa613d434c5f4
[ "MIT" ]
permissive
abhijithanilkumar/NAS
4211405ad619474f4590aaddcffc5206e849ee2f
b8c766201f66696a296b5a76a968214d500254b9
refs/heads/master
2020-04-06T03:53:26.511287
2015-06-16T09:46:15
2015-06-16T09:46:15
32,319,542
1
0
null
null
null
null
UTF-8
Python
false
false
702
py
from django.conf.urls import patterns, include, url from django.contrib import admin from django.conf import settings from django.conf.urls.static import static import profiles.urls import accounts.urls from . import views urlpatterns = patterns( '', url(r'^$', views.HomePage.as_view(), name='home'), url(r...
[ "abhijithanilkumar@live.com" ]
abhijithanilkumar@live.com
2ff3d6352d5241a08ded28a3f45e2e30c903eee7
1841c29ffb26901bc7830b2ce4ea712197f1b740
/models/GraphNN/DTNN.py
e2ad09c182e6617d8bbdf55b57b5fb2b13b136e6
[ "MIT" ]
permissive
chubbymaggie/Deep_Learning_On_Code_With_A_Graph_Vocabulary
756bdd54b17d351d31200cc0ceacf8f639e0c678
29ee2fdffc5bc05582a91025697e256980e75ef2
refs/heads/master
2020-03-28T12:33:33.820671
2018-09-10T22:54:14
2018-09-10T22:54:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,446
py
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. from collections import OrderedDict from mxnet import gluon from models.FITB.FITBModel import FITBModel from models.GraphNN.MPNN import MPNN class DTNN(MPNN): ''' Deep Tensor Neural Network from https://www.nature.com/articles/ncomms1...
[ "mwcvitkovic@gmail.com" ]
mwcvitkovic@gmail.com
25665b81cb5da57ef38a4f8531be6763ea87272c
a7f68cc4500c85d591265d40599c3e12f07e94b9
/day-15/part-1/lucas.py
a7b18833af904608dcfaff011f245116f15088c3
[]
no_license
vidalmaxime/adventofcode-2020
ff9b19e941e579eed0b590b356c0e161210268fe
67ed20552f104067c5cd6664777de56ee293f4c1
refs/heads/master
2023-02-05T09:44:49.234298
2020-12-26T15:41:24
2020-12-26T15:41:24
316,728,993
1
0
null
null
null
null
UTF-8
Python
false
false
676
py
from tool.runners.python import SubmissionPy class LucasSubmission(SubmissionPy): def run(self, s): # :param s: input in string format data = [int(x) for x in s.split(',')] numbers = dict() numbers = {**numbers, **{data[i]: [i + 1] for i in range(len(data))}} last = data[-...
[ "lucas.stoffl@tum.de" ]
lucas.stoffl@tum.de
6034daa88e22d195d322297c1c2d0e5fd897e872
4106239d770367d28424bc48724f176ad73a4bd5
/django_basics/settings.py
88c4326cb4e09d637a52ed455c3657759e3b82d4
[]
no_license
Hyped-247/django_basics
323843aaa27263097a24554bd7ea0d2cd7cf32c4
6d05a27bd954fee4520c2bfb385f6b833b3346ab
refs/heads/master
2020-04-16T12:03:59.719641
2019-01-13T22:55:00
2019-01-13T22:55:00
165,563,679
1
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
""" Django settings for django_basics project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import...
[ "mmahjoub@westmont.edu" ]
mmahjoub@westmont.edu
77026452cda18ad85c5e6d02b5d3099f9aa2fe12
067be5ec092bc7d54d1a7baa7c1400d5aa6df7fc
/Kim2/Ksamplefun.py
ac3924d3e47194466ea574a024a9f3ce7d8ec471
[]
no_license
haru105/Masters-projects
0d7506a21be4f04f0455001e5cb79545aea54667
e1ab384809a4bd4a3de5759047d36d8cf715a171
refs/heads/main
2023-08-26T05:27:13.431747
2021-11-12T13:55:07
2021-11-12T13:55:07
402,170,759
0
0
null
null
null
null
UTF-8
Python
false
false
8,268
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Mar 20 22:55:44 2021 @author: amreethrajan """ import sys import networkx as nx import matplotlib.pyplot as plt import random import networkx.algorithms.graphical as funs import copy import binarySearch as bs class KimG: def __init__(self,n,de...
[ "noreply@github.com" ]
noreply@github.com
3fe25f6ea1a150f843cd43ceb8afa5891519991e
d5c5bd81e8328b544beed20cb308b7e9ba79cac1
/manage.py
f91f5edab547685106f9e0e446d836792c299254
[]
no_license
yazan-alshekha/django-crud
e8ea364bddf86c174d681e07ce4da22d1f4a182d
28b8225fa2dbf2cb85254a1eb5e9ffc69e9c8437
refs/heads/master
2022-12-16T03:59:08.001231
2020-09-25T20:21:24
2020-09-25T20:21:24
297,794,374
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'telecommunications_project.settings') try: from django.core.management import execute_from_command_l...
[ "yazan.alshekha@outlook.com" ]
yazan.alshekha@outlook.com
0cdc5d64c675c8d17b205f04ec8710c1c8b01ace
d8c3981c4be27031f8885e28e242632c5ae34dcb
/k.application.building.blocks/ConfigParser/ConfigParser_read_many.py
59a79b0d621c6de0016644c2241b3984678b6dd5
[]
no_license
capricorntb/Python.Standard.Library.By.Example
94f932b7d0c39ff6c10d772e7a7ea0f26de0bcb2
a64bda2f8fa25cbd96c657cfe180409c2c9ee58d
refs/heads/master
2021-04-28T21:47:17.989555
2016-08-02T14:03:41
2016-08-02T14:03:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Reading a configuration file. """ from ConfigParser import SafeConfigParser import glob parser = SafeConfigParser() candidates = ['does_not_exist.ini', 'also-does-not-exist.ini', 'simple.ini', 'multisection.ini', ] found = parser.read(can...
[ "Adil.Zhu@Qisda.com" ]
Adil.Zhu@Qisda.com
b083a4b112bddf7fa409807323a683b89426fb47
871bd3a9a1cea64b1c61d351dec3e2400a6bc411
/pymetabolism/tests/test_singletonmixin.py
135ad064e0a339b3ca95f8849c9613ad9f1cc74d
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
Midnighter/pymetabolism
16aac5d2ff37b0b62e885439fddc732990e492d4
20773e6b3e722a7c353171211ceedb019b012951
refs/heads/master
2020-04-06T06:52:21.763077
2012-05-29T10:01:41
2012-05-29T10:01:41
1,536,961
3
1
null
null
null
null
UTF-8
Python
false
false
8,550
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ =============== Singleton Tests =============== :Authors: Moritz Emanuel Beber :Date: 2011-08-02 :Copyright: Copyright(c) 2011 Jacobs University of Bremen. All rights reserved. :File: test_singletonmixin.py """ import os import threading import time...
[ "m.beber@jacobs-university.de" ]
m.beber@jacobs-university.de
548341b3609c2e37fb84bdeb89713f9e20cfe4e5
160213f69c7e8e7fe3286a18e5844a043f3316c0
/sirenorder/wsgi.py
261723f33581245f1e7bf1b53b5857064b50727c
[]
no_license
wecode-bootcamp-korea/siren-order-backend
beb355fa911075a1912e6600ecadfed15b79cf0b
7d80994190a8cb3b5b97019f6e5a4e693b442f02
refs/heads/develop
2022-12-10T09:38:54.748469
2019-07-26T07:50:03
2019-07-26T07:50:03
196,929,298
0
4
null
2022-12-08T05:53:04
2019-07-15T05:22:47
Python
UTF-8
Python
false
false
397
py
""" WSGI config for sirenorder project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "fergith@naver.com" ]
fergith@naver.com
5bf1c3fcd512c1e389e2f7280476b3433ecf2119
c1b8ff60ed4d8c70e703f71b7c96a649a75c0cec
/ostPython1/multuple.py
c6e25d4906e5ab8d55c5aa5fce4761928a3d621c
[]
no_license
deepbsd/OST_Python
836d4fae3d98661a60334f66af5ba3255a0cda5c
b32f83aa1b705a5ad384b73c618f04f7d2622753
refs/heads/master
2023-02-14T17:17:28.186060
2023-01-31T02:09:05
2023-01-31T02:09:05
49,534,454
1
2
null
null
null
null
UTF-8
Python
false
false
685
py
#!/usr/bin/env python3 # # # multiple.py # # Lesson 7: String Formatting # # by David S. Jackson # 11/30/2014 # # OST Python1: Beginning Python # for Pat Barton, Instructor # """ takes as data a tuple of two-element tuples, such as ((1,1), 2,2), (12,13), (4,4), (99,98)). This and/o...
[ "deepbsd@yahoo.com" ]
deepbsd@yahoo.com
eca5c7e778194e922ed36993773422734dc629b7
08ed5925fad1951a351e86d357d266434c3e671c
/hostscripts/animations/matrix_animation.py
ff05cae97098218d62cbce372a727d29960c948e
[ "MIT" ]
permissive
icve/liv-Ard
83c5be86d3afb7c1295cd21b1eef5a407a7ff169
6930c523322aeb13c6c80d2c19be7a8a1b2c59c2
refs/heads/master
2021-01-24T08:21:42.157247
2019-08-27T16:35:11
2019-08-27T16:35:11
93,381,863
0
0
null
2017-07-23T07:09:06
2017-06-05T08:23:36
Python
UTF-8
Python
false
false
2,941
py
from time import localtime def _get_ring(side=8, ring=0): seqgen = range(ring, side - ring) coors = [(ring, x) for x in seqgen] +\ [(x, seqgen[-1]) for x in seqgen[1:]] +\ [(seqgen[-1], x) for x in reversed(seqgen[:-1])] +\ [(x, ring) for x in reversed(seqgen[1:-1])] return coors ...
[ "ic.ve.cv@gmail.com" ]
ic.ve.cv@gmail.com
8759703c894c53be16af893e316195c0e1e4b1d2
1e484ace2dbd2883986b6e6eced5fede9fb6f06c
/zh/venv/Scripts/easy_install-script.py
8a69d059d24124a398abc206532e82a0ac31d972
[]
no_license
ZiZiJunWu/python_chinese_word
bb96c8a1e880907e2ce8f1f371f6f9e4984b59b2
7f6784f6fcefb869cf629cfeb8b3f94c31b3d567
refs/heads/master
2020-05-03T02:40:09.706497
2019-03-23T16:56:42
2019-03-23T16:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
#!G:\PycharmProjects\zh\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys....
[ "1280053803@qq.com" ]
1280053803@qq.com
a1963fbee8f38d58fb1e69c02240634325f7240f
a2ffb742fb1396dd14a13aed7e86d05e1a819c1f
/products/migrations/0001_initial.py
0f6ea958ad244bae07b02bb7d65c18e72380f629
[]
no_license
Code-Institute-Submissions/mug_shots
ee46c86d02a1fb7eaf7dfdd84131d266ec28d90d
00918862703253c32ef734c1e9f54d9bfc2c0d34
refs/heads/master
2023-01-06T22:44:09.153923
2020-10-30T23:34:08
2020-10-30T23:34:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
# Generated by Django 3.1.1 on 2020-09-22 18:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "amy.bru39@gmail.com" ]
amy.bru39@gmail.com
123692f1d83c0d850298be8ebd18dc3df003f4e0
fb4b70ad38d0fc810cb9ee034c8fb963c079f64b
/easy/Self_Dividing_Numbers.py
33c51ce1cd72ee84467d7802a1ee8de8713c2bb0
[]
no_license
ChrisLiu95/Leetcode
0e14f0a7b7aa557bb2576589da8e73dbeeae8483
baa3342ebe2600f365b9348455f6342e19866a44
refs/heads/master
2021-07-11T12:01:00.249208
2018-09-26T21:27:42
2018-09-26T21:27:42
117,451,180
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
""" A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0. Also, a self-dividing number is not allowed to contain the digit zero. Given a lower and upper number bound, output a list of every pos...
[ "xiangchong95@gmail.com" ]
xiangchong95@gmail.com
1347ece238e08d92a8903165e9b040ea820981c3
9531e597cd3f865cc6b6f780498a18281c2413f8
/user_notifications/views.py
82f196088698131ef8e60ab25accfb76388764e8
[]
no_license
dpitkevics/DevNet
7133b80ce5d56b9c11aa4c500d530faed7cb13f4
98ebc3916346e6c2bda79711a3896f7c2a8e2ac8
refs/heads/master
2020-04-15T12:04:00.245848
2015-09-14T17:45:39
2015-09-14T17:45:39
41,320,800
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
import json import redis from notifications import notify from django.http import HttpResponse, JsonResponse from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.db.models import Q from django.db.models.signals import post_save from django.dispatch import r...
[ "daniels.pitkevics@gmail.com" ]
daniels.pitkevics@gmail.com
3d8de22492fa0e73db7e2c8f0a596c46fb7797d6
f3366f982ac6d5419cea207d7c123b306f4928bc
/U10-8/U10_8.py
ce1b866309807d3d2b4265acb6ba4950fd3b9e43
[]
no_license
MrWifeRespecter/TECHNOLOGY
7d8199ee348dcaa679910b586e7f7761e764f2b4
0d163d64ae24fdd21ef7db7583753eda689f023c
refs/heads/master
2023-05-12T00:35:21.908681
2021-04-27T10:24:16
2021-04-27T10:24:16
292,079,460
1
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
from math import * from random import * def s(x): #bara för att jag inte orkade skriva försök så mycket. Min kod ser mer fancy ut nu dessutom return(x/försök) def p(x): #Ibland kan den här skicka iväg antingen 59 eller 61 asterisker. Men det händer inte ofta och det är ett så litet problem så jag skiter i det. ...
[ "viggo034@gmail.com" ]
viggo034@gmail.com
f408f0c7692e6b3353b95f90ce51424a9631acfa
617f4b4a7c12e019e31c8a652fbda6044631dde1
/venv/Scripts/pip3.8-script.py
842cd74962252675a3cde8c100d1994327b31ec9
[]
no_license
sharifahmeeed/opencv_4_videoshow
7cbe0a41c4d318ac5f1a1bd61847fb4b8e674eb0
9d2b076de449121cd9adda04920be0e24a35b21b
refs/heads/master
2023-07-17T10:35:28.705475
2021-09-07T05:30:51
2021-09-07T05:30:51
403,853,354
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
#!C:\Users\SharifAhmed\PycharmProjects\opencv_1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "sharifahmeeed@gmail.com" ]
sharifahmeeed@gmail.com
f4cefebba561f7e3df125832dd71bfd53f6a98c2
64a72c2af381fdfb40cef2583d0dfc80566938d3
/baxter-ridgeback-kinetic_ws/devel/lib/python2.7/dist-packages/puma_motor_msgs/msg/_Status.py
504bd856a88b84f3ea3de84393e3e2a8c3928045
[]
no_license
thibs-sigma/ridgeback-baxter
a3daa2b8425a84c3d75acaec134848215be6f11d
0bf8ab0df8807ab886644975d63865e5f163dc5a
refs/heads/master
2020-04-28T16:42:13.902308
2019-03-13T14:47:02
2019-03-13T14:47:02
175,420,996
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
/home/thib/baxter-ridgeback-kinetic_ws/devel/.private/puma_motor_msgs/lib/python2.7/dist-packages/puma_motor_msgs/msg/_Status.py
[ "thib.hilt31@gmail.com" ]
thib.hilt31@gmail.com
c125cd6fc695135e666fa60d10742905db16d06e
a0334ac9bc03d5fde52b668529daf5ea88dd4b7b
/15_DJANGO_three/basicforms/basicapp/forms.py
2bfbe346b09898b044d9cb1973d39df9a46a996b
[]
no_license
m-kashani/Python-and-Django-Full-Stack-Web-Developer-Bootcamp
b9f1cfb2f788d10657d9d4613b3fec6e7a3f19e4
2218801cf6efc731908ea858f05c8b56ec3aa793
refs/heads/master
2020-05-17T17:51:56.580430
2019-04-29T07:27:42
2019-04-29T07:27:42
183,867,578
1
0
null
null
null
null
UTF-8
Python
false
false
509
py
from django import forms from django.core import validators class FormName(forms.Form): name=forms.CharField() email=forms.EmailField() verify_email=forms.EmailField(label='enter email again') text=forms.CharField(widget=forms.Textarea) def clean(self): all_clean_data=super().cle...
[ "noreply@github.com" ]
noreply@github.com
7e408c1b6dd5131c7581e5707518d2f2b4f6ea73
398df168b3a29c137e7e512368fbb352d596bef7
/venv/Scripts/sshtunnel-script.py
92a7373c99059139cb45e4a1227fde7e3b22c0d2
[]
no_license
FerasDaoud94/demo
25bcdda2d1a3e7454fedfd48f05cfcba68479ecd
0bc92e286773a88d3d6531dc07a0b95903617cc4
refs/heads/master
2020-09-07T19:27:03.003102
2019-11-11T03:12:14
2019-11-11T03:12:14
220,891,261
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#!C:\Users\hp\PycharmProjects\TestProj\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'sshtunnel==0.1.5','console_scripts','sshtunnel' __requires__ = 'sshtunnel==0.1.5' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ...
[ "ferasdaoud1994@gmail.com" ]
ferasdaoud1994@gmail.com
4d9685bae094c34f6844353f599ed8a19c912a5c
d305e9667f18127e4a1d4d65e5370cf60df30102
/tests/st/ops/gpu/test_unpack_op.py
9a0d8cfda90f7c500d8e6fae7395c0f17d50f593
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
5,063
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "513344092@qq.com" ]
513344092@qq.com
30cb1bd441c9ba73147ce2a690de1ff07a8ab41d
4144c279f65bf4d0966a3c654f0c1e121339d7c9
/core/components/game/game_key_press.py
852c9129c49adb515f8020c2418d33721bd14df5
[]
no_license
mysty0/pydungeons
06aa42bf534c48b28399f86179218d2fc554d5ea
5183b791a4a57843d1f1720b43f203ddb5e76f6f
refs/heads/master
2022-10-08T22:14:28.600607
2019-10-30T17:05:10
2019-10-30T17:05:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
import pygame from core.game_component import GameComponent from .game_event_manager import GameEventManagerComponent from core.events.key_pressed import KeyPressedEvent class GameKeyPressComponent(GameComponent): def __init__(self): super().__init__() self.exec_priority = 1 def game_tick(sel...
[ "maplegend@mail.ru" ]
maplegend@mail.ru
b2ee8f80c02ee3702fd9e086b4bde77e3d31854d
6790915cb130d2c7e770f2ff3f06aac3147fc16e
/home/migrations/0004_updateme.py
6a8a88eca3b3166c46da1381a167fa1fd93df3b6
[]
no_license
tommyjamess/shopitng
7a56a302a076df3dc54508adff3bde68a6b26f6b
b0ed0dd08df4c1af84094a596a8e7e5c63f9207e
refs/heads/master
2023-07-03T16:25:04.950197
2021-08-25T15:24:32
2021-08-25T15:24:32
390,338,448
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# Generated by Django 3.2.4 on 2021-06-26 07:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0003_auto_20210622_1135'), ] operations = [ migrations.CreateModel( name='UpdateMe', fields=[ ...
[ "meadigun@gmail.com" ]
meadigun@gmail.com
22fc2fece41e824ec59281e1165ad60501b135c6
e466ec58c03eb781890420756719bce659963bd8
/page/__init__.py
a4504d2f88b8c35cd4834aed6cd1fd874c9fbe32
[]
no_license
CuiDan1/day03_project002
0654fe26c164e160d9fe2c08ef73abeb9c8c7afe
4429ee47e826d030816dedb8df027f1d78ca3e8f
refs/heads/master
2020-08-27T03:09:04.783160
2019-10-24T07:48:15
2019-10-24T07:48:15
217,228,634
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
"""爱客登录定位信息""" from selenium.webdriver.common.by import By app_package = "com.vcooline.aike" app_activity = '.umanager.LoginActivity' login_username = By.ID, 'com.vcooline.aike:id/etxt_username' login_password = By.ID, 'com.vcooline.aike:id/etxt_pwd' login_btn = By.ID, 'com.vcooline.aike:id/btn_login'
[ "15003125752@163.com" ]
15003125752@163.com
510328e777222074176c906f8c7df287ecbd3b2a
677dacd01aaa5207f95c3502865fcfc20f37ffb2
/quik-fix.py
79e9d06fea7c5733bb1688534b80709988e082f3
[]
no_license
fehernandez12/QuikFix
4b25f08c1f9f6c7d68a6d87aedcbb465ba282483
7860bbb29b46be326137d5943a9507a0352737c4
refs/heads/master
2020-12-23T07:45:47.957668
2020-01-30T21:56:28
2020-01-30T21:56:28
237,087,965
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
import discord import time import os import sys import json from discord.ext import commands import sqlite3 conn = sqlite3.connect(os.path.join(sys.path[0], 'QuikFix.db')) db_cursor = conn.cursor() bot = commands.Bot('.') @bot.event async def on_ready(): print('Logged in as: ') print(bot.user...
[ "noreply@github.com" ]
noreply@github.com
ef48116a01eb0432df734850331a5bce5d3b179d
4ef34e4e23087c354a169fbf8e5e368ad388fca9
/test.py
6ee49765c5d1752dca427d00a393f151834de9c7
[]
no_license
asawho/makerlab-arcade
6a8ab9851a780ec2db6c0b107e582b12d267df3e
0556ac803b9bc64bb5f6ebef715c3dc25880b5f1
refs/heads/master
2020-09-06T18:43:28.469224
2019-11-08T17:07:59
2019-11-08T17:07:59
220,512,526
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
#!/usr/bin/env python3 from pynput import keyboard def on_press(key): print('Key {} pressed.'.format(key)) def on_release(key): print('Key {} released.'.format(key)) if str(key) == 'Key.esc': print('Exiting...') return False with keyboard.Listener( on_press = on_press, on_release...
[ "asawho@gmail.com" ]
asawho@gmail.com
c54e99a0862974e1abc8b7eaf5a168c002dff248
a5a4cee972e487512275c34f308251e6cc38c2fa
/dev/potential/EamPotential/dev_EamPotential.py
1587069d5e39deda89368cb54c938837b9a44bfc
[ "MIT" ]
permissive
eragasa/pypospack
4f54983b33dcd2dce5b602bc243ea8ef22fee86b
21cdecaf3b05c87acc532d992be2c04d85bfbc22
refs/heads/master
2021-06-16T09:24:11.633693
2019-12-06T16:54:02
2019-12-06T16:54:02
99,282,824
4
1
null
null
null
null
UTF-8
Python
false
false
804
py
import pypospack.potential as potential symbols = ['Ni'] pot = potential.EamPotential(symbols=symbols) print('pot.potential_type == {}'.format(\ pot.potential_type)) print('pot.symbols == {}'.format(\ pot.symbols)) print('pot.param_names == {}'.format(\ pot.param_names)) print('pot.is_charge =...
[ "eragasa@ufl.edu" ]
eragasa@ufl.edu
8ef7930362e2bcc35f6de8fe13f6c54c51214967
dd998c7abbaa1db0af23b2d0f5e5fd6ab9737c20
/apps/operation/apps.py
1a5d95bc9581d0801275317e5e70ba7d07100919
[]
no_license
seymourgao/xuexionline
5364737023e6c81b899ead193c581e9811f5f205
6d9ffaab76582e35be131a5ee281aec2f837cb82
refs/heads/master
2020-04-22T14:10:53.344111
2019-02-13T03:35:43
2019-02-13T03:35:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
#*coding=utf-8 from django.apps import AppConfig class OperationConfig(AppConfig): name = 'operation' verbose_name = "用户操作"
[ "gxlibra@gmail.com" ]
gxlibra@gmail.com
fd91edb1d6fc2d1478993e3ee2f37f4722d90ae6
349e9b785f3d26a994441ca9958be9a6f7db3f1b
/client.py
f2bf4e734fd97f4499d1a6358a582f2bb82257b8
[]
no_license
ivanlukomskiy/MzClient
5b8ea7a8cde80c8a052b3dd23f2cf4e1c71fed97
a610245d7cc89099cd39092e44faf6bfc8b86508
refs/heads/master
2020-04-22T01:58:06.688989
2019-02-10T21:58:01
2019-02-10T21:58:01
170,031,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
import json import time from threading import Thread import urllib3 from inputs import get_gamepad # Controller settings LEFT_THRESHOLD = -3000 RIGHT_THRESHOLD = 3000 LEFT_MAX = -32768 RIGHT_MAX = 32767 INPUT_CODE = 'ABS_RX' # Rest client settings REST_CLIENT_MIN_DELAY = 0.2 API_URI = 'http://localhost:8000' HEADERS...
[ "ilukomskiy@sbdagroup.com" ]
ilukomskiy@sbdagroup.com
7a529d56ccc005bfccfb9d8c19c6f483390fffa9
46bef3a57cb663991387e02f3cc6c0282bd17496
/ie/si23tinyyolov2/tflite/Tensor.py
0cc948eaa14ee73dcd9f9a7202d91d57e2d163ea
[]
no_license
k5iogura/vinosyp
36964f4c51b9d695d46e19d64a49156eaaac0042
1ef35532c6ba392761f73504ed787c074781c400
refs/heads/master
2020-04-08T04:27:57.905968
2019-09-30T07:34:18
2019-09-30T07:34:18
159,017,659
7
1
null
null
null
null
UTF-8
Python
false
false
3,271
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers class Tensor(object): __slots__ = ['_tab'] @classmethod def GetRootAsTensor(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = Tensor() ...
[ "k5i.ogura.v40@gmail.com" ]
k5i.ogura.v40@gmail.com
a4edf3b458e618945adfa9cdeb83ec205d304adf
5d8d0015ecdb52228945d47c3d25a7ac269d2bc6
/flaskr/db.py
ee79c5b1b5cf4cbdc726266c5672f4e0aca29ad4
[ "Zlib" ]
permissive
MergeCommits/354-project-backend
4bb6d0b9232b526ef5ed5fbf73174ea578a1284b
97614a1585b66a5d51f5df8ecd778bf3520b830a
refs/heads/main
2022-11-05T12:13:05.527252
2020-06-23T04:26:37
2020-06-23T04:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from flask import current_app, g from flask.cli import with_appcontext from contextlib import contextmanager from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() def new_session(): if 'db_engine' not in g: ...
[ "guillaume.rochefort.mathieu@gmail.com" ]
guillaume.rochefort.mathieu@gmail.com
c5726f75c757c38f8cbd21289f63e73ea05370c2
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt_PySide_book/004_Main components/001_Inscription/171_setScaledContents - toClass.py
338077f7a2d487be688c7007a97764ffd712864a
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
522
py
from PySide import QtCore, QtGui import sys class SampleWindow(QtGui.QWidget): def __init__(self): super(SampleWindow, self).__init__() window.setWindowTitle("Класс QLabel") window.resize(300, 150) label = QtGui.QLabel() label.setText("Текст надписи") label.setFrameStyle(QtGui.QFrame.Box | QtGui.QFrame.P...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
e56077f2118675fa8d6e93167ead9674cff11524
49ab56af18fd9ae25090e6b07d59cec24da79504
/osa12-11_suoritukset/test/test_koodi.py
f544d81826648a0327b87aa1f9181ac592a77cf5
[]
no_license
TomiSar/ProgrammingMOOC2020
13031c7c27d574a55537c1c24cd5c216521c8f9a
4316b7d38cefa50535cf1ed503260a0d9140f36b
refs/heads/master
2023-02-15T19:33:42.109417
2021-01-16T00:22:50
2021-01-16T00:22:50
322,437,801
0
0
null
null
null
null
UTF-8
Python
false
false
12,494
py
import unittest from unittest.mock import patch from tmc import points, reflect from tmc.utils import load, load_module, reload_module, get_stdout, check_source, sanitize from functools import reduce import os import os.path import textwrap from random import choice, randint from datetime import date, dateti...
[ "tomppa.sarjamo@gmail.com" ]
tomppa.sarjamo@gmail.com
edfc9553907b03130a283867636ecc6b1029c1e4
f08d0b5d0ce94292493111be42eaf6db051c8eb3
/venv/bin/pyreverse
a644b70b622ad524abba1c54062c1c21cab2daca
[]
no_license
draxlus/CMPT-370_SoftwareDevProject
999ac7ddd470b40d2df8f338a51f2a661b747922
f2205456ba5ff3d1cb7d4d65cd65becfabcf8c2c
refs/heads/main
2023-04-19T07:52:45.986842
2021-05-06T19:18:43
2021-05-06T19:18:43
365,009,563
0
0
null
null
null
null
UTF-8
Python
false
false
270
#!/Users/sherozeajmal/Desktop/cmpt370-project/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "siddhantagrawal777@gmail.com" ]
siddhantagrawal777@gmail.com
1b06adbfe627e4844b06a78194d193083b1f3a66
8d336d773169d502724f59ccaf7d767c08f755cf
/Prediction/views.py
48a1528348bb17153c85a5b70a2477ec471c1739
[]
no_license
jawharjoe/Venter_CMS_old
14120b5a2c882f566fa884b6c6d8ee7cb3f297dd
df24d1af3577c25592a8416508c44b5597144283
refs/heads/master
2022-12-12T14:18:08.530860
2018-12-03T05:33:50
2018-12-03T05:33:50
160,137,687
0
1
null
2022-12-08T02:27:44
2018-12-03T05:34:13
JavaScript
UTF-8
Python
false
false
8,161
py
""" Author: Meet Shah, Shivam Sharma This view will render a simple html form if the request is GET. If request is POST then will collect the uploaded csv file and save it in appropriate user account. """ from django.shortcuts import redirect from django.contrib.auth.models import Group from django.shortcuts import r...
[ "jmohd359@gmail.com" ]
jmohd359@gmail.com
f7fb9482be8574be7d00cdcdac9637ddbef5319f
2d49b1be783091c064dfda11f481e9d9bdd45d5b
/not-validated-prototype_lst/scripts/unit-tests/unit-tests.py
74092e4ee32923356f22f5df00244ae6328cf2f4
[]
no_license
xyt556/espa-land-surface-temperature
8d93829fd307eba6aa656be86c244697c9abbea5
4e12f8a967c7c7641bc351cade01694c3c09726f
refs/heads/master
2021-01-21T15:03:49.239107
2017-06-05T16:06:09
2017-06-05T16:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
''' FILE: unit-tests.py PURPOSE: Provides unit testing for this directory. PROJECT: Land Satellites Data Systems Science Research and Development (LSRD) at the USGS EROS LICENSE: NASA Open Source Agreement 1.3 HISTORY: Date Reason ---------------- ------------...
[ "rdilley@usgs.gov" ]
rdilley@usgs.gov
2e6ecb54b480a398f319df68538b50b978a06dc3
f34d3948b707e461151ee33296a61fb23a6d3f44
/month01/day11/day11/day10_exercise/exercise01.py
2661ccd6399fb82f85eed30d55de03d907cdb447
[]
no_license
xiao-a-jian/python-study
f9c4e3ee7a2f9ae83bec6afa7c7b5434e8243ed8
c8e8071277bcea8463bf6f2e8cd9e30ae0f1ddf3
refs/heads/master
2022-06-09T17:44:41.804228
2020-05-05T07:48:07
2020-05-05T07:48:07
256,927,969
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
# 定义函数, 删除列表中相同元素(只保留一个) # list01 = [6, 54, 65, 677, 6, 65, 6, 65] # 更节省内存 # def delete_duplicates(list_target): # for r in range(len(list_target) - 1, 0, -1): # for c in range(r): # if list_target[r] == list_target[c]: # del list_target[r] # break # # # 测试 # lis...
[ "1261247299@qq.com" ]
1261247299@qq.com
a6343b9d83e42c7fc1cccf50d1d7355d6d923be4
f53a990d400ac3838c2dc06ee17c851c8383063e
/pfile/python_client.py
2c52d84d7fa5fb51f1e9c984a73df33a30b19880
[]
no_license
syy1023/c_learning
d9b6e525181bf3d9bbed5c85a11d05e76888fc6c
1af806f5c8bbb9cd750af5a69766d6937d8418b0
refs/heads/master
2021-09-10T07:02:40.378141
2018-03-22T02:32:57
2018-03-22T02:32:57
113,152,846
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
#coding=utf-8 import socket s=socket.socket() host=socket.gethostname() port=4849 s.connect((host, port)) print s.recv(1024) s.close()
[ "2665572581@qq.com" ]
2665572581@qq.com
0f4debbac5c41257777ec1da622fbc2f30e437f7
81b384655e970623333971ed063d85ebfe940ed5
/hallo/modules/furry.py
e0c6e24dcdc8f58336a441e2edb56cbd20652d5e
[]
no_license
wirenic/Hallo
c3c8a3f11dd1f03729385f2761e0a6b216c6e1d2
68595816fd146c4af35e3f1bc91c58cdc6fa741c
refs/heads/master
2023-03-18T06:50:14.111226
2021-02-26T07:59:33
2021-02-26T07:59:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,300
py
from hallo.function import Function from hallo.inc.commons import Commons class E621(Function): """ Returns a random image from e621 """ def __init__(self): """ Constructor """ super().__init__() # Name for use in help listing self.help_name = "e621" ...
[ "joshua@coales.co.uk" ]
joshua@coales.co.uk
53c9aed9f7a93c6fe201f4664a845b48f15db2f9
a81c07a5663d967c432a61d0b4a09de5187be87b
/chrome/installer/mac/signing/pipeline.py
898c0d4542bb3474d654e71a1e4fd5a1355e3897
[ "LGPL-2.0-or-later", "MPL-2.0", "GPL-2.0-only", "BSD-3-Clause" ]
permissive
junxuezheng/chromium
c401dec07f19878501801c9e9205a703e8643031
381ce9d478b684e0df5d149f59350e3bc634dad3
refs/heads/master
2023-02-28T17:07:31.342118
2019-09-03T01:42:42
2019-09-03T01:42:42
205,967,014
2
0
BSD-3-Clause
2019-09-03T01:48:23
2019-09-03T01:48:23
null
UTF-8
Python
false
false
14,899
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ The pipeline module orchestrates the entire signing process, which includes: 1. Customizing build products for release channels. 2. Code signing t...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
7814ae09297328a8ce2e3978ead518dd2fdf7c5a
3873e47ae77036a17d29ac53504a2609acb836eb
/dippy/core/models/message.py
6d3e4d6c50bdbe6ae93b2fc7941106f4cf34d0f6
[ "MIT" ]
permissive
dontbanmeplz/dippy.core
117f1be6edd2988d9d8429a9ded6182205919afb
3811f0aa8bc0ae9f9a25c15c4cc054630b3e9710
refs/heads/main
2023-04-26T17:31:17.543348
2021-05-22T17:17:42
2021-05-22T17:17:42
369,865,912
0
0
MIT
2021-05-22T17:16:57
2021-05-22T17:16:56
null
UTF-8
Python
false
false
2,551
py
from __future__ import annotations from datetime import datetime from dippy.core.enums import ( AllowedMention, InteractionResponseType, MessageActivityType, MessageType, ) from dippy.core.models.attachment import AttachmentModel from dippy.core.models.channel import ChannelMentionModel from dippy.core....
[ "hi@zech.codes" ]
hi@zech.codes
e295a394c5093b40b5ef8d9c312b38e6497a13ba
d30aec224cebbc8a92fb05741e690ef1f75d75e9
/week10/CodingBat/Logic-2/round_sum.py
beb654679a53c72ad783c3a457d69e459bd0cdfe
[]
no_license
bzzitsme/webdev2019
ce050bcff78e3848c0cabebf27df582f299394d0
6671e3c4e5ab4fa6b94fe51dd2974d830d15f543
refs/heads/master
2022-04-30T06:05:31.011700
2022-03-15T07:31:57
2022-03-15T07:45:42
167,218,267
1
0
null
2021-05-09T09:47:58
2019-01-23T16:49:26
HTML
UTF-8
Python
false
false
173
py
def round_sum(a, b, c): return round10(a) + round10(b) + round10(c) def round10(num): r = num % 10 if r >= 5: return num + 10 - r else: return num - r
[ "temirlan.dyussyumbayev" ]
temirlan.dyussyumbayev
38aef9c63c4f0620b06efcb7670a3ffe1b1044a4
a8b0266fabd86ff4c1bc86d99a7b91856634f0ba
/cherrypy/test/test_conn.py
98775a6259afed0d7c52cf36508f5015f2e42776
[]
no_license
c3pb/wallhackctl
5a704bc66a035898ed7d490ad6596257fffdc1e8
86e9ce09b32149566e50d7d1a880e6a7a86e4616
refs/heads/master
2016-09-06T14:57:31.967997
2011-02-16T18:54:36
2011-02-16T18:54:36
1,375,028
0
0
null
null
null
null
UTF-8
Python
false
false
25,607
py
"""Tests for TCP connection handling, including proper and timely close.""" from cherrypy.test import test test.prefer_parent_path() from httplib import HTTPConnection, HTTPSConnection, NotConnected, BadStatusLine import urllib import socket import sys import time timeout = 1 import cherrypy from cher...
[ "matthias@grawinkel.com" ]
matthias@grawinkel.com
731c94417bf0b8c3ef693e98b8c14512e389ed0c
115f11050032c09bd561d8e1121d1be0932542f3
/address_standardizer/settings.py
10438bb00ed9cd974a2df3f66bf4f5ff93595eda
[ "MIT" ]
permissive
bitjockey42/address_standardizer
7c619e567c1ea48d3309a9c62ed9093ffc6a2361
cab196a09664893fb1867a35a9737fdc38771865
refs/heads/master
2023-04-26T12:03:40.555573
2021-05-05T18:47:03
2021-05-05T18:47:03
362,680,117
1
0
null
null
null
null
UTF-8
Python
false
false
114
py
import os HOST = os.getenv("HOST", "0.0.0.0") PORT = os.getenv("PORT", "8080") DEBUG = os.getenv("DEBUG", False)
[ "github@ajulian.me" ]
github@ajulian.me
59fd525d369e613a5aa523d38e228234a238fefc
433947a5e18c57628d86ee9182fdba44f5ee6748
/checkScore.py
0e3565ae233cb85d0f5b392f778df6394d66406f
[ "MIT" ]
permissive
maturban/cs595-f13
e4210eed78a3fbdd30a8d56ae66f417620a82461
ba4f396bfb2412712c9d90d5015f1717e2725477
refs/heads/master
2021-01-16T20:35:55.697415
2013-12-06T05:17:00
2013-12-06T05:17:00
12,801,710
0
2
null
null
null
null
UTF-8
Python
false
false
2,161
py
#!/usr/bin/python # Mohamed Aturban import re import sys import signal import urllib2 from bs4 import BeautifulSoup from time import localtime, strftime, sleep # Ctrl+C handler def signal_handler(signal, frame): print '\n\n See you soon, goodby ... \n' sys.exit(0) signal.signal(signal.SIGINT, signal_handler) # Chec...
[ "maturban@cs.odu.edu" ]
maturban@cs.odu.edu
d29da2fa6b389a1e61c922b0468ca492e288956d
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/securitycenter/v1p1beta1/resources.py
204b6a0c852d1fd7a975618ac6a38fa929b91cb3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
2,453
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. 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 requir...
[ "gcloud@google.com" ]
gcloud@google.com
b0bd240d43ac3b1a59a797702c347075e3592f73
7152b9b0295c6b9961bc875fbc581fc9271b4490
/Day4/wholesale.py
1673dc265d36b4681aec9d8939eb0752e24d396b
[]
no_license
Vinay-1312/Coder-sWeek-ML
f0c95abe5ac198fbbde48851be2f497fd3efea9c
94b82c76a62c4766e2b0760173880a56e7a8999f
refs/heads/master
2022-10-21T09:19:03.629840
2020-06-11T08:57:58
2020-06-11T08:57:58
268,483,932
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 5 12:58:24 2020 @author: dell """ import matplotlib.pyplot as plt import pandas as pd data=pd.read_csv("Wholesale.csv") from sklearn.preprocessing import StandardScaler sc=StandardScaler() data=data.drop(["Channel","Region"],axis=1).values data=sc.fit_trans...
[ "noreply@github.com" ]
noreply@github.com
ff5e90060294b08c257176521da92b63632eebf5
f8f24808ee8317a87669bb27d5e4014afbf1d58f
/BM25/venv/Scripts/rst2html4.py
d4f6f449197853895d9988ab28c5a5fc55386e89
[]
no_license
c-tel/Information-Retrieval
4bef96bc8d7bf28f588d820d258dca4a5e6a25d9
502befe34f58cf6920283bf568f71dc5bab605d8
refs/heads/master
2020-03-18T01:40:58.846629
2018-05-20T13:59:44
2018-05-20T13:59:44
134,154,346
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
#!C:\Users\Админ\PycharmProjects\BM25\venv\Scripts\python.exe # $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing (X)HTML. The output conforms to ...
[ "rorex555@gmail.com" ]
rorex555@gmail.com
fe60ae9957984e07a9ff679fa218dbd4dd291e63
6d1d92d22d94c17645f2accec6361054848f3256
/ipactory/wsgi.py
e161e43e65ea11aa6ebb1d1c604ab35325b0420a
[]
no_license
jg1021/ipac
7c7e440fff610c3f7e752956f2dda4d617358b5e
098211d98a3de1e06a5b5be3a7241e52f16bc96a
refs/heads/master
2022-12-10T14:19:16.455931
2020-09-14T03:40:56
2020-09-14T03:40:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for ipactory project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "0607juny@gmail.com" ]
0607juny@gmail.com
03b65e6c63a0b4d0b29232e8bff50158051677c9
db21dffaa21da3bd953567c2a61aab267468e7f0
/Code Up/[4031] 합과 차.py
cb725139249936b5ca4ee9b79be65923fdc142eb
[]
no_license
BoHye0202/CodingTest
14a51ab3729154fbeae42029e0b32f872def7535
5fae962cdb41935367f17c6317c80ac2fe3cd8b1
refs/heads/main
2023-04-26T03:22:54.044215
2021-05-26T11:29:19
2021-05-26T11:29:19
356,518,878
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
n = int(input()) m = int(input()) print((n+m)//2) print(n-((n+m)//2))
[ "0202cjstk@naver.com" ]
0202cjstk@naver.com
4cd9fac0659f565ca93a4ac5eb56440c5998707d
b77565a023a88480bb3330b18be929a19775f5dc
/정승호/키로거/solution.py
570bd7078f7eb72449816e49fd2e0b55166a2674
[]
no_license
Jeoungseungho/python-coding-study
5af34bff429e24a93f6af4b0473d793ea2b791ee
431e02d12d0834c71f423471701a2182f66a3776
refs/heads/master
2023-08-11T07:38:09.122123
2021-10-06T06:32:44
2021-10-06T06:32:44
283,200,892
20
12
null
2021-10-06T05:22:50
2020-07-28T12:07:21
Python
UTF-8
Python
false
false
591
py
import sys input = sys.stdin.readline N = int(input()) for _ in range(N): pass_word = input().rstrip() left_stack = [] right_stack = [] for word in pass_word: if word == '<': if left_stack: right_stack.append(left_stack.pop()) elif word == '>': ...
[ "platoon07@khu.ac.kr" ]
platoon07@khu.ac.kr
e4deaeba08a07b68f75717301ee3af72f73931c2
3a6f8cd866f8ad9d815152d3422706c2948bfd0e
/MainApp/models.py
c44c49a78d6cdae97e47d0a1b0c999dda6e48e8b
[]
no_license
DmitryCheremisov/My_Django
8365a76aea0b2b1ccde19870f957d3899a6256c9
5c6ce0ffc1dd04b34c73029184e81baf928ada4c
refs/heads/master
2023-01-19T21:10:55.340066
2020-11-26T18:19:37
2020-11-26T18:19:37
316,294,157
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from django.db import models # Create your models here. class Item(models.Model): name = models.CharField(max_length=100) brand = models.CharField(max_length=100) count = models.PositiveIntegerField() color = models.CharField(max_length=30, default=None, blank=True) def __str__(self): return f"...
[ "x-carver@yandex.ru" ]
x-carver@yandex.ru
2ecc7dfe6f8b957a7e99998acd15cba59cc29ea2
9dc32feb50562293a59917c56188e2036b21b341
/sel.py
d99de448d50d0d12268688605d8c663e04d3c1ec
[]
no_license
JJDing-Louis/Chrome-Selenium-Python-
6180dead8eb6d944f5e1d47719cbbe595e30e93c
b379320c7d06579928d57adc1a75624dd5922d9a
refs/heads/master
2022-06-21T02:46:36.409149
2020-05-09T04:15:11
2020-05-09T04:15:16
262,457,194
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from selenium import webdriver browser = webdriver.Chrome() use=input("帳號:") psw=input("密碼") browser.get('https://www.eyny.com/member.php?mod=logging&action=login') a=browser.find_element_by_name('username') a.send_keys(use) a=browser.find_element_by_name('password') a.send_keys(psw) a.submit()
[ "xujpvuxu2332@gmail.com" ]
xujpvuxu2332@gmail.com
96ae58733b73ddbe8b3fe24003c3a503f66c39de
a4d0868cb236d8fc6bbc6cfc5c19c5ba06828120
/main.py
85dd6f8991202e9f97216f2003c533c4d52b9e55
[]
no_license
GunterFritz/cykit
99312fbe7d457842b4c1f47a57c04d026f58e1d9
c331b7c4c5677556e27060d06760d6d842d3ceea
refs/heads/master
2020-05-31T14:40:03.794810
2017-11-30T20:46:18
2017-11-30T20:46:18
94,035,173
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
import sys from gui.draw import MyView from PyQt5.QtWidgets import QApplication if __name__ == '__main__': app = QApplication(sys.argv) view = MyView() view.show() sys.exit(app.exec_())
[ "gunter.fritz@web.de" ]
gunter.fritz@web.de
5e835b0217af9cacfda1300a020affd8d3af6e9d
eebced51fe5452c4bdd3332c4c8c85caa73f753c
/temp.py
9876ec2057147f22db73156f5d516c51ed319e1a
[]
no_license
sobanjawaid26/GFG-algo-ds-practice-with-test-cases
bd0dbc8f6b117ace135799d259d2821e1330d8df
fe5c0355050291fc186df5367d1865c830b57ef8
refs/heads/master
2023-07-12T17:18:11.568612
2021-09-01T15:09:01
2021-09-01T15:09:01
401,565,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,882
py
# Python program for flattening a Linked List class Node(): def __init__(self, data): self.data = data self.right = None self.down = None class LinkedList(): def __init__(self): # head of list self.head = None # Utility function to insert a node at beginning of t...
[ "sobanjawaid26@gmail.com" ]
sobanjawaid26@gmail.com
a07685e2f447328a9c1b2cf82dd3f85c207276ee
cbf31804ad705886979195b36f5c44301ab58785
/middleware.py
8802512e20ff5dd4bb135786e0573e2b63e8f514
[ "MIT" ]
permissive
nxexox/django-get-domain
f9a21fdfb6245bca2e8cb40e16486ee3a4f304be
a3d493f37ad06d0a915ffe359eaebedaee3d096a
refs/heads/master
2020-12-02T06:37:53.591841
2017-07-11T08:02:18
2017-07-11T08:02:18
96,866,560
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
# -*- coding: utf-8 -*- """ Middleware for django.http.request.HttpRequest """ from django.utils.deprecation import MiddlewareMixin from django.urls import reverse_lazy def get_domain(request, reverse_url=None, *args, **kwargs): """ Create domain from django.http.request.HttpRequest. Optional add interna...
[ "nxexox@gmail.com" ]
nxexox@gmail.com
89855498cc5ffedc6599b095d035b074719742e2
0bed1250a4805866f871d037c1bce3e5c8757101
/MATH PROB/factorsum.py
49ad0da6391d712e6d693b28e7c0123975692580
[]
no_license
Srinjana/CC_practice
13018f5fd09f8a058e7b634a8626668a0058929a
01793556c1c73e6c4196a0444e8840b5a0e2ab24
refs/heads/main
2023-08-02T05:42:49.016104
2021-09-20T15:39:24
2021-09-20T15:39:24
358,312,714
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# for a given number from a list of numbers find the factors and add the factors . If the sum of factors is present in the original list, sort the factors in acsending order # and print them. If sum not in the original list, print -1. # Author @Srinjana def findFactorSum(n): factor = [1] for i in range (2 ,n+...
[ "srinjanap.official@gmail.com" ]
srinjanap.official@gmail.com
451aae1af4c66971218e6fb7fdfbf086be63787e
c486035ace9953873d717b1b87f5b7ecf828af7d
/hostapd.py
9be1924f09d824741fdea2b7396e521491e2d805
[]
no_license
nickd0/python-wifi-connect
65256c1402406a0dd809abb4419764be6b3231e9
750661909cca839db959ee17bfc1bb0511b55294
refs/heads/master
2021-04-12T03:00:08.400436
2018-03-14T19:25:05
2018-03-14T19:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
import config import random import time import os import subprocess as sp CONF_FILE = '/tmp/hostapd.conf' process = None MAX_ATTEMPTS = 5 attempts = 0 def start(): global process global attempts if config.hostapd.ssid_randomize: addon = os.environ['RESIN_DEVICE_NAME_AT_INIT'] if 'RESIN_DEVICE_NA...
[ "nick@farmshelf.com" ]
nick@farmshelf.com
219a94a8e0ca3282c8ea199474456ed64cd0b8e2
20594b7389f31d960ba16acfe8c4d4787b6c5e7b
/tf_simple_test/keras_mnist/keras_mnist.py
2cf8dc7ace831e27706286d1ecbb2a816cffe317
[]
no_license
meton-robean/DeepLearning_proj
8dee59c54ab06ad0083b74d2e828f84927437232
87c1e56fa8e8b9782b9a75f83d0530b9739ad0ef
refs/heads/master
2018-10-31T05:10:57.078234
2018-09-16T02:36:55
2018-09-16T02:36:55
117,234,457
2
0
null
null
null
null
UTF-8
Python
false
false
2,681
py
'''Trains a simple convnet on the MNIST dataset. Gets to 99.25% test accuracy after 12 epochs (there is still a lot of margin for parameter tuning). 16 seconds per epoch on a GRID K520 GPU. ''' from __future__ import print_function import keras import os from keras.datasets import mnist from keras.models import Sequ...
[ "meton-robean@qq.com" ]
meton-robean@qq.com
2d0ec65add986b7f658df04cd49b363a813c07f9
e330d9e94780fb83af4d7f0a3bbc7258e921bfdf
/my_app/migrations/0001_initial.py
acecd4a71f7df1d8ce39cb065c9f2a8d48255608
[]
no_license
Kacper-Hernacki/buy-my-stuff
9d96c467b45bdafed50db1a046405938d99e2a10
9ce287bd9752bdf0c5266fbfe81f2762c2b103d9
refs/heads/master
2023-04-24T03:58:25.814950
2020-06-04T12:43:26
2020-06-04T12:43:26
269,356,720
0
0
null
2021-04-20T20:02:50
2020-06-04T12:42:47
Python
UTF-8
Python
false
false
554
py
# Generated by Django 3.0.5 on 2020-05-05 16:57 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Search', fields=[ ('id', models.AutoField(a...
[ "hernackikacper@gmail.com" ]
hernackikacper@gmail.com
3db27f60c4eb7ce5a20739d242ecf35db354cf90
c329057d1561b8ffde0cf26677bb932b4c044826
/py32.py
25f958ea6850f7c2c14aa2456d3b6012da3874a1
[]
no_license
kimotot/pe
b3611662110ca8a07b410a8e3d90c412c9decbd3
8d12cc64b0f9ad5156e2b1aed0245726acb9a404
refs/heads/master
2021-01-19T11:53:17.683814
2017-04-03T05:05:09
2017-04-03T05:05:09
82,271,607
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
# coding:UTF-8 import copy import time def permutations(origin): ''' 与えられたリスト要素の順列を求める関数 引数はリストなど、イテーラブルなもの 戻値は全ての順列を要素としてリストにしたもの 再帰呼び出し関数''' if len(origin) == 0: return [[]] else: ans = [] for index,header in enumerate(origin): new_orign = cop...
[ "god4bid@hear.to" ]
god4bid@hear.to
22851ce7e83e2aef32c5620caf346fae7a63488a
e2f507e0b434120e7f5d4f717540e5df2b1816da
/097-yield-2.py
e7bd0b03ff61e85bbac2470ad044513187273938
[]
no_license
ash/amazing_python3
70984bd32ae325380382b1fe692c4b359ef23395
64c98940f8a8da18a8bf56f65cc8c8e09bd00e0c
refs/heads/master
2021-06-23T14:59:37.005280
2021-01-21T06:56:33
2021-01-21T06:56:33
182,626,874
76
25
null
null
null
null
UTF-8
Python
false
false
330
py
# Using yield def f(): for i in range(100): yield i # not "return" # Why do you need this assignment? g1 = f() # generator object g2 = f() # another generator print(next(g1)) # value from generator 1 print(next(g2)) # from generator 2 print(next(g1)) # again 1 print(next(g2)) # ... print(next(g1)) print(...
[ "andy@shitov.ru" ]
andy@shitov.ru
4c2e0128f87a1e1cd437f60867570b90acb4259e
714a22e87e5ae6a2b670a10437409100015f171b
/meshzoo/__init__.py
2e6201faacd3e0de9e0015493737a24f245fd3a2
[ "MIT" ]
permissive
krober10nd/meshzoo
ce3aa71a8a87a0749df78c6939e7d893a05f91d1
5e8b04d81ee5c23887e3d0244273b3d90b2eba9a
refs/heads/master
2021-02-17T00:04:36.319498
2020-02-24T15:52:48
2020-02-24T15:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from meshzoo.__about__ import __author__, __author_email__, __version__, __website__ from .cube import cube from .helpers import create_edges, plot2d, show2d from .hexagon import hexagon from .moebius import moebius from .rectangle import rectangle from .simple_arrow import simple_arrow from .simple_shell import simpl...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
ddc0b9c1fe3b67c0a5d6fd069262be7facd56757
532c5b6bd09b85e337cf568f6535299a773e15a5
/Livid_DS1_v2/DS1.py
08a31086ecd0094b54e892baf9419f88a5949836
[ "MIT" ]
permissive
thomasf/LiveRemoteScripts
ac796744c9694887f7a3c5ac3570630870c09054
23bb89fc62fce97fc7e46f6a94623ada1f255294
refs/heads/master
2021-01-18T09:27:51.838549
2016-03-14T05:12:08
2016-03-14T05:12:08
24,001,076
0
0
null
null
null
null
UTF-8
Python
false
false
15,395
py
# by amounra 0216 : http://www.aumhaa.com # written against Live 9.6 release on 021516 from __future__ import absolute_import, print_function import Live import math import sys from re import * from itertools import imap, chain, starmap from ableton.v2.base import inject, listens, listens_group from ableton.v2.contro...
[ "aumhaa@gmail.com" ]
aumhaa@gmail.com
a519ff280a0a25e5d2ad8a78358df252d8eb37df
81f171fcf6831a9267072a6348b12c517d9166e1
/Megatron-DeepSpeed/megatron/mpu/tests/test_cross_entropy.py
8155e3645c67aefb416087080b14598e42ff0fe5
[ "Apache-2.0", "MIT" ]
permissive
MikeGu721/EasyLLM
ae8c6e650e6710d8a6556a53485b05d5708e45dc
4f18766e3baed3694d7e887999881a5c6b72a24a
refs/heads/main
2023-07-05T04:32:35.739390
2023-07-04T07:03:22
2023-07-04T07:03:22
625,133,639
47
5
null
null
null
null
UTF-8
Python
false
false
4,074
py
# coding=utf-8 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
[ "437914030@qq.com" ]
437914030@qq.com
a292d226c79e5613f782f0ea465e9a03c06b0e6d
de725b742e69f38318c04cd44ac970e7135857a5
/assets/forms.py
0173d7e2fd8182e88243ee75191332c9c8f1868c
[]
no_license
haochenxiao666/itelftool
e5c0811b48e01d0eeff13d15d33b89960091960a
8558dce6d97e7443c95513aa1389910c3902043f
refs/heads/master
2020-04-14T22:55:46.732111
2018-10-18T09:00:44
2018-10-18T09:00:44
164,183,750
1
0
null
2019-01-05T05:05:32
2019-01-05T05:05:31
null
UTF-8
Python
false
false
4,458
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from django import forms from django.forms.widgets import * from .models import Asset, IDC, HostGroup, Cabinet ''' class AssetForm(forms.ModelForm): class Meta: model = Asset exclude = ("id",) widgets = { 'hostname': TextInput(at...
[ "420521738@qq.com" ]
420521738@qq.com
5fd75c0e6a3071d2c1d75effabeef72c4de692b4
a580e56c8d2c62278549f91b61721169d1f8569c
/dojoc.py
64592ff24fa74f357aa9ce0742887ee9807effd6
[]
no_license
GustavoKatel/dojoc
c96f5e1c3ba02a02f563d765687bada8788faa55
c829091775555c50a90fbc84b9039b0ff101411f
refs/heads/master
2020-04-09T07:45:11.798663
2013-11-21T18:46:25
2013-11-21T18:46:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,397
py
#!/usr/bin/python # Author: Gustavo Brito (GustavoKatel) import sys, os, re, subprocess from dojoc_test import DojoCTest class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' class DojoC: types = { "%s":"char *", "%d":"int", "%...
[ "gustavobs.katel@gmail.com" ]
gustavobs.katel@gmail.com
e1a7eb2527297240c2ea0b1a5148168e97a4f329
0041d087b66a665f3c6a267253729026c068944d
/board/admin.py
2b1d1e75e5009790dfb7c065637ca2db882e8e4c
[]
no_license
Qonrad/tusvri
e0128636de2cca222510c2e5dad5febb45285395
d8feebf71d514f704d36b31db8637a2796ac932a
refs/heads/master
2020-03-13T16:56:06.770463
2018-04-26T20:39:55
2018-04-26T20:39:55
126,738,497
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
from django.contrib import admin # Register your models here. from .models import Position admin.site.register(Position)
[ "Conrad@Conrads-MacBook-Pro.local" ]
Conrad@Conrads-MacBook-Pro.local
3ca015b9c9648f6db4d24057a4221f7acb6609ab
1507348aa7121a1dd8d7af07b9bed6599d493b33
/details.py
e5aa18850df2a6aa790cc8d6fb4feedbf2fad957
[ "MIT" ]
permissive
naresh-bachwani/NITH_RESULTS_Portal
f0cc06e9ab36e5e123db9b73ff27fc36d1021ffe
4748cddcb605ae9820c2a8ca188a7dd5fd029511
refs/heads/master
2020-04-11T19:03:41.136576
2018-12-16T16:41:40
2018-12-16T16:41:40
162,020,672
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
# Import required packages from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.properties import ObjectProperty from kivy.core.window import Window from kivy.uix.listview import ListItemButton # import dbraw file from dbraw import * # type of plot(SGPI OR CGPI) global plot_type plot_type=[] # l...
[ "nbnb76543@gmail.com" ]
nbnb76543@gmail.com
49b38f161f8835d372100339e64dd31ffa5f1974
2754b704fc1eacf70e0d99f301a7ed31e5376b34
/Spoton/search/migrations/0005_auto__add_job.py
80da31315014da5e053095a49c4100211ed98458
[]
no_license
2bethere/SPTest
4e36745232917fe879eb9fe4204f2440941a98b3
0d25e92513c7e40a97e3c0fa55c8a3d46a402e50
refs/heads/master
2021-01-01T05:41:22.103400
2014-08-01T00:09:28
2014-08-01T00:09:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,455
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Job' db.create_table(u'search_job', ( (u'id',...
[ "2bethere@gmail.com" ]
2bethere@gmail.com
6bc9b11127952bf70d28399bc2102d5fabac2edd
38fc847f91a3dba5c407f1779513c7dccf04ab12
/string_dispose_new.py
126c09831b8fd22c8c549592ceb806a0c3fcf471
[]
no_license
shanhx2000/Hack_cur
867173e1550559eacd9755b40a97ab74a31f0a4b
2ceee838022baff84201142620d9f815c7ca1768
refs/heads/master
2020-06-19T10:03:00.430855
2019-07-14T02:57:41
2019-07-14T02:57:41
196,668,960
0
0
null
2019-07-13T17:01:08
2019-07-13T02:26:57
HTML
UTF-8
Python
false
false
2,981
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ #with open (file) as f: # for line in f: # do something... import os import re import nltk from nltk.tokenize import word_tokenize from nltk.stem.wordnet import WordNetLemmatizer dictionary = {} force_stopwords = ['、','(',')',...
[ "coned@outlook.com" ]
coned@outlook.com
b4f738393d2222e9668e9e7f689cb0733806ef01
87dc1f3fc40565138c1e7dc67f1ca7cb84b63464
/03_Hard/10_Knapsack_Problem/Knapsack_Problem.py
4151b0f9027ccdcdfa7f6ccba3270994d39e40ac
[]
no_license
CodeInDna/Algo_with_Python
8424f79fd3051dbc5861ba171ac2b33c76eec8b9
a238e9e51effe76c530a4e0da7df871e45ec268a
refs/heads/master
2021-07-25T08:33:42.475255
2021-07-20T16:53:48
2021-07-20T16:53:48
229,921,183
3
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
# ---------------------------------- PROBLEM 10 (HARD)--------------------------------------# # Knapsack Problem # You are given an array of arrays. Each subarray in this array holds two integer values and # represents an item; the first integer is the item's value, and the second integer is the item's # weight. You...
[ "ykarelia323@gmail.com" ]
ykarelia323@gmail.com
48329fba254e4b07d3988292bb905c7739573dfe
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544841/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_217/run_cfg.py
589bc3616bc9bbb96cd7a0726131bdbacc21691c
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544841/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
fdd456ebce30a832b7ebf9ab1907fccf0c09a7d2
85ba0cb18acc854d08397bb21c9a3fab143cf938
/common/__init__.py
cc96600fdf61e299cea76619a4855af4a4f01477
[]
no_license
WustChuiChui/research
5eb2006a4febfd8db5a470cd64288fdb990bbc6b
69156370cc78d90984b7768f87c83b3486ec86b3
refs/heads/master
2020-04-18T06:42:13.351765
2019-05-30T10:39:52
2019-05-30T10:39:52
167,333,065
17
0
null
null
null
null
UTF-8
Python
false
false
23
py
#form FCLayer import *
[ "wangjia8@xiaomi.com" ]
wangjia8@xiaomi.com
7cf52d60ac8b25592fe1eeea129de67bb092c07b
b894d9056a3679930ad3a09a21984a9586cc6719
/housepwned/pipelines.py
5fed3687a0431a04531b6327f0f4aabcb0de2adb
[]
no_license
benjumanji/housepwned
2d2daa786054531adbe692192c81cad5f4f16be5
887f34875d285aafbfa38594cd5d39a262d8ac0b
refs/heads/master
2020-07-04T05:39:45.878024
2014-07-23T20:51:45
2014-07-23T20:51:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class HousepwnedPipeline(object): def process_item(self, item, spider): return item
[ "edwards.benj@gmail.com" ]
edwards.benj@gmail.com
9ba139bcaa98b5c19be7ed4307c47d44abe13cff
2db1a0038d26ccb6adc572b536cb5cd401fd7498
/tryTen/Lib/site-packages/setuptools/py31compat.py
0f1753a87be81de04522e4b1d674aee34dfb2e8c
[]
no_license
syurk/labpin
e795c557e7d7bcd4ff449cb9a3de32959a8c4968
04070dd5ce6c0a32c9ed03765f4f2e39039db411
refs/heads/master
2022-12-12T02:23:54.975797
2018-11-29T16:03:26
2018-11-29T16:03:26
159,692,630
0
1
null
2022-11-19T12:15:55
2018-11-29T16:04:20
Python
UTF-8
Python
false
false
1,646
py
import sys import unittest __all__ = ['get_config_vars', 'get_path'] try: # Python 2.7 or >=3.2 from sysconfig import get_config_vars, get_path except ImportError: from distutils.sysconfig import get_config_vars, get_python_lib def get_path(name): if name not in ('platlib', 'purelib'): ...
[ "syurk738@students.bju.edu" ]
syurk738@students.bju.edu
65b1a3b59c48e5efeb1e7f5cdd75370358d4b584
aebc347ff9a8ad739111f13aa8d4cf9d48a1e4bd
/data/170818/170818_125942_normal_trap_sweep/0027_normal_trap_sweep_E5071C.py
348f43e7772521a0bba15513497252a31eeb63b7
[]
no_license
geyang/170422_EonHe_M018V6
f01a60d3b8a911ba815a0fcc0bf1b6e2aa8f5f17
ce189e22f99942e46fce84a0dca714888e44bc69
refs/heads/master
2021-06-22T21:01:23.257239
2017-08-25T09:48:17
2017-08-25T09:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,742
py
from data_cache import dataCacheProxy from time import sleep, time, strftime from setup_instruments import fridge, seekat, yoko1, nwa, filament from resonance_fitting import fit_res_gerwin import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import os from shutil import copyfile import quicktimetrac...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
2831bc7d419bce7512e1ece5bc5f1630473b2e42
ec6d2cdd96be805a4a011b14aa042d05bc41eb91
/odd_occurencies_in_array.py
62d362033d16aba361940b20095909bfa8999e2b
[]
no_license
evrenesat/codility_answers
9538121f791f0a2594bacd1c0123f1dbe7831e34
a031e93841d23c47763c24d3efbbf55de14aa799
refs/heads/master
2021-01-17T17:27:49.005627
2016-08-15T07:47:46
2016-08-15T07:47:46
65,673,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
# -*- coding: utf-8 -*- """ A non-empty zero-indexed array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired. For example, in array A such that: A[...
[ "sleytr@gmail.com" ]
sleytr@gmail.com
9f78758a5c032c4e90b6e5b71d8bb083e3f2a227
d6c62ea503b9cd12f94036afd58e40743dabedd9
/relief.py
92b9675987b5ddca4b7a914b45d4006466302c14
[]
no_license
better0123/reliefF-example
d2a9cc63a893d9863e9e4a15b01a4c630f27d584
8ab1df0ba77d4d978a4086d3e9c690d70011dfe6
refs/heads/master
2022-02-19T16:16:37.224842
2019-07-29T10:42:56
2019-07-29T10:42:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
from ReliefF import ReliefF import numpy as np from sklearn import datasets import pandas as pd #example of 2 class problem data = np.array([[9,2,2],[5,1,0],[9,3,2],[8,3,1],[6,0,0]]) target = np.array([0,0,1,1,1]) fs = ReliefF(n_neighbors=1, n_features_to_keep=2) X_train = fs.fit_transform(data, target) pr...
[ "noreply@github.com" ]
noreply@github.com
d991e3d10bdb51337597176552296c3f3c534922
526176649fc3d37c87c06626a2e8fcb1cc840bf0
/workshop/design3.py
11374fab1b3f72e0bb5d5a2356529133a8583d9a
[]
no_license
rames4498/Bootcamps_and_workshops
cd193bb302f4b2ed9037750b07e35f6875415476
402ef143be7a52ae71e08cdf8b7f0ff35d502455
refs/heads/master
2022-09-22T04:49:10.657585
2022-09-13T07:06:36
2022-09-13T07:06:36
239,116,561
9
6
null
null
null
null
UTF-8
Python
false
false
192
py
from turtle import * colors = ['red', 'purple', 'blue', 'green', 'yellow', 'orange'] for x in range(360): pencolor(colors[x % 6]) width(x / 100 + 1) forward(x) left(59)
[ "noreply@github.com" ]
noreply@github.com
1770d51d9366b71a8431fa338d98a9ae24c9472a
45916bcec19f06e952d8dc5b690c5a40ac6d50d3
/faculty/urls.py
e4b0c58a82a5a1029fb087bbd4106669218a2706
[]
no_license
Rohitmotri/jcer-rest-api
7eec30693bc4229bf5f67b7fefa3a6cdf6b86a89
934326ef3cb225953a600eb9544eb0ec3548ab45
refs/heads/main
2023-01-06T01:53:56.860843
2020-10-28T16:02:29
2020-10-28T16:02:29
306,625,925
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from django.urls import path from faculty.controller.controller import (CreateAdminController, GetAdminController, UpdateAdminController, DeleteAdminController) urlpatterns = [ path('cre...
[ "rohitarunmotri@gmail.com" ]
rohitarunmotri@gmail.com
3fb1d9e3ea37cbf120d2ade96202f33e483e029e
c832a78eb1cc4a4c7d5b82d1e3e29af1ceac4091
/venv/bin/pyrsa-sign
eac0d7802ea70c495c657b75b8007ec3bc4080d3
[]
no_license
scottwedge/reporting-system
42b5a48a42251bc290bb474b0bd244ed0ee13ed4
59bb703824ca08dfac1550c1e28fc3bc1028e123
refs/heads/master
2022-12-25T13:21:04.059774
2020-09-24T03:24:39
2020-09-24T03:24:39
298,155,594
0
0
null
2020-09-24T03:07:57
2020-09-24T03:07:56
null
UTF-8
Python
false
false
256
#!/Users/loctek/Downloads/reporting-system-master/venv/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.cli import sign if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(sign())
[ "zh" ]
zh
8131876bb62c14f5294f1792f0da4b600f2e059c
f2983a63e3e402f55c33d8d634453467fff4201b
/src/thomfx/util/graph.py
77555d084b9c2394258164b043574c680738f9f4
[]
no_license
ThomPuiman/thomfx-trader
af748e2334bfaca5ac61eceecfa4503411077a0f
5e22140bc06635f2f9e9e1468af8cbb384d977b8
refs/heads/master
2021-01-22T07:47:24.753830
2017-02-13T17:13:10
2017-02-13T17:13:10
81,850,233
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from abc import ABCMeta, abstractmethod class GraphAbstract: @abstractmethod def retrieve_data(self, instrument): pass # @abstractmethod # def draw(self): pass
[ "TPuiman@vccp.com" ]
TPuiman@vccp.com
70df8c9f735c4c5148e1742989ea63e29fb574e9
32f624b68b1f9251321ddee4d40fc00c834c46fa
/ShortMe/src/shortener/models.py
16e776e6c3d29f0d382fbf58c414c0578c9714b9
[]
no_license
AnkurDahama/ShortMe
8a03c2ab533924d34a59c18235740bd61b8ee53b
165962816452ad8a7b8697157002afff37d5309c
refs/heads/master
2021-01-23T14:06:42.755734
2018-04-11T06:21:38
2018-04-11T06:21:38
93,242,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
from __future__ import unicode_literals from django.db import models # Create your models here. from .utils import code_generator, create_shortcode class ShortMeManager(models.Manager): def all(self, *args, **kwargs): qs_main = super(ShortMeManager, self).all(*args, **kwargs) qs = qs_main.filter(a...
[ "ankur.dahama@student.tut.fi" ]
ankur.dahama@student.tut.fi
357a3f80b42be32bab6b22b6cf20867bf994258b
f26521284741a1f730e2d52de7426807247e08b6
/Python/From comment to code/main.py
2bdaedd8e5de364f363e71f1890a5162d37eb455
[ "MIT" ]
permissive
drtierney/hyperskill-problems
0e6fe8ca418d1af700a5a1b1b2eed1f1f07b8e9e
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
refs/heads/main
2021-10-25T07:02:50.838216
2021-10-16T19:08:49
2021-10-16T19:08:49
253,045,232
5
1
null
null
null
null
UTF-8
Python
false
false
41
py
# prints "ok" without quotes print("ok")
[ "d.r.tierney@hotmail.co.uk" ]
d.r.tierney@hotmail.co.uk
035d6ecea6b4ccc576382efc05661c81a944fa2d
51000f5031cca82d77951bc22f6c6f1813ac2b7c
/notebook/utils.py
b1ae3b6503a0231e329c9a2e01e5c411ff6ec1f9
[ "BSD-3-Clause" ]
permissive
EduServer/jupyter_notebook
c6b77f7d98e5c6f36b4b0ed27dcbce8b04e27d7c
48a229dd3018ec80d82452f542b7e72f948dc6ce
refs/heads/master
2020-04-28T04:29:19.450403
2019-03-12T02:33:45
2019-03-12T02:33:45
174,981,002
0
0
null
null
null
null
UTF-8
Python
false
false
10,420
py
"""Notebook related utilities""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from __future__ import print_function import ctypes import errno import os import stat import sys from distutils.version import LooseVersion try: from inspect import isawaitable ...
[ "1067741@mochiwang.com" ]
1067741@mochiwang.com
4273bdd56e2e81b01ff48d2a502388a369e79b17
e3f7f42caec6b37095d6d2462fb1b0e557d30422
/server/test/test_tasks.py
37ffe2f8c16a1393a94b0c6b10c53d7152a444df
[]
no_license
CUBRID/cubrid-manager-server-9.3.0
8a6a3aa0a096e74110108d67976bb644c2f47ae8
707f164e60b084eee6c72658b8bdb4dd5e6a890e
refs/heads/develop
2021-07-07T10:03:25.331737
2021-04-05T05:00:59
2021-04-05T05:00:59
233,765,494
0
4
null
2021-04-05T05:00:59
2020-01-14T05:43:18
C++
UTF-8
Python
false
false
3,546
py
#! /usr/bin/env python import httplib,urllib import json import struct import os, sys def findport(): cubrid = os.environ.get("CUBRID") conf = cubrid + "/conf/cm_httpd.conf" cwm_find = False; cf = open(conf, "r") for line in cf: idx = line.find("cwm.cubrid.org") if idx > 0: ...
[ "hwnam@cubrid.com" ]
hwnam@cubrid.com