blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
7698b9375f450dc9b2276802d116b7060c6bade2
98066411e2f957ce7c8e74abea17db74bc111943
/code/app.py
da8726e12552849b520175d741c2e439462c0c33
[]
no_license
codepatina/incub8-API
975c492d47b0196ffc982f4fa266fe702d7dc1b3
8cf27663a0f29c58a77d44cf1677331e82ed9d33
refs/heads/master
2022-12-14T09:13:54.414077
2020-06-19T23:57:09
2020-06-19T23:57:09
206,235,076
0
0
null
2022-12-08T10:47:22
2019-09-04T05:00:19
Python
UTF-8
Python
false
false
1,758
py
from flask import Flask, jsonify from flask_restful import Api from flask_jwt import JWT from flask_cors import CORS from db import db from ma import ma import os from security import authenticate, identity from resources.user import UserRegister, User, UserList from resources.idea import IdeaCreator, Idea, IdeaList...
[ "jamesjacobthomas7@gmail.com" ]
jamesjacobthomas7@gmail.com
2829c7610b87c98b5841e0a328f53342ce230728
e1e07d1df467c4aa25032c552405b2ec87039c21
/gui.py
8a86e2124248daeb92ce6b36cee90377dcd03367
[]
no_license
Ailsaka/data-site1
0b539396d24d529a8e1c9a1367e676475f06b525
f4408c4745a278df04031eef657b7cd4d89d9c5f
refs/heads/master
2023-08-11T12:42:38.385328
2021-09-18T01:58:08
2021-09-18T01:58:08
407,728,813
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
import tkinter top = tkinter.Tk() top.mainloop()
[ "343795009@qq.com" ]
343795009@qq.com
34ff077858f4ae33064ecedb7125229e30d88e37
2d8ec841d75acb7ca3c3d1117c06d951e9be0169
/test/X13_TestRomantoInteger.py
3d16e1d47bbcdcf1ab7b8cd7deb848d1167d0c76
[]
no_license
mcceTest/leetcode_py
040aee95ed23674b7e2fea899d22945b12f85981
eb25b3e5866b51fbac10d4686966f2c546c4696f
refs/heads/master
2021-06-27T02:04:56.856659
2021-01-08T03:14:56
2021-01-08T03:14:56
205,760,975
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import unittest from X13_RomantoInteger import Solution class TestSum(unittest.TestCase): def test1(self): sol = Solution() self.assertEqual(sol.romanToInt("III"), 3) self.assertEqual(sol.romanToInt("IV"), 4) self.assertEqual(sol.romanToInt("IX"), 9) self.assertEqual(so...
[ "zhuxuyu@gmail.com" ]
zhuxuyu@gmail.com
f3e0683296e93fce2124226a4e3038aa37254127
5c665f7c302eb5743b10cab85a6b62560b9ba23e
/myapp/models.py
7347b5cceb75fbdab1b15524f8cf544b2f0cfc3c
[]
no_license
arabindamahato/Model_project
45c9051582d0f19352002b6b0fbf53987e456bb7
9e59a1095b4a35837985ec464149b7b4b2c98460
refs/heads/master
2020-11-27T20:13:54.117267
2019-12-22T15:20:18
2019-12-22T15:20:18
229,587,595
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from django.db import models from myapp.models import * # Create your models here. class Topic(models.Model): top_name = models.CharField(max_length=120, primary_key=True) def __str__(self): return self.top_name class Webpage(models.Model): top_name = models.ForeignKey(Topic, on_delete=models.C...
[ "abm21719@gmail.com" ]
abm21719@gmail.com
5f077284b9378c25c9b257c5a84f50d6ad901a69
c66b92cf71b02fbc77451172f8f797c26ac0194b
/inventory/inventory/settings.py
9c263a57bc1f4a7c39b5c36fa96dcb6eff81ab6e
[]
no_license
partha-sharothi/inventory
1900da7cf7add259752227d0758d58db7e6eaf6d
ad7f8ad2a835e2e8b81646496c45b82215135285
refs/heads/main
2023-04-01T10:24:32.540999
2021-03-11T12:47:26
2021-03-11T12:47:26
343,077,043
2
1
null
2021-02-28T11:26:07
2021-02-28T10:30:28
null
UTF-8
Python
false
false
3,071
py
""" Django settings for inventory project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "p.sharothi@gmail.com" ]
p.sharothi@gmail.com
8621072d0a559bab0f6b11891c97c6fcc0bbffd3
7f423ef4cce787ca1293a3a6eacb73cd8bb75140
/practical_classes/prat_03/utils.py
97eb220ba4b03ae321d903e5a63f0ef9c3d1b5dd
[]
no_license
EduRibeiro00/CovidForecast-feup-iart
e684e81e1f84b5f86a4b28910138ee5ee929fac3
375eb834e6759024fccedfd38e4ee43796e49e22
refs/heads/master
2022-12-24T02:04:32.163574
2020-10-03T12:18:03
2020-10-03T12:18:03
241,327,765
0
1
null
null
null
null
UTF-8
Python
false
false
751
py
def create_initial_board(): board = [] for i in range(6): # 6 cells of height line = [] for j in range(7): # 7 cells of width line.append(' ') board.append(line) return board def select_move_from_player(state, player_char): while True: valid_input = True ...
[ "eribeiro306@gmail.com" ]
eribeiro306@gmail.com
8c82696cc86a1efb213a7a192a0217afdb093508
c40af6211b7e70621e505f64fb22597a1fc07753
/makahiki/urls.py
844c8e064a7e5039f59774315c449a15635b5579
[ "MIT" ]
permissive
vijayanandau/KnowledgeShare
4ab9dbd34f23125b0bda4af2bad8b7839cf05bce
8b8764231de77cb8ae9ee2f63cc3c81d01af99a2
refs/heads/master
2016-08-04T09:13:09.839416
2013-05-09T04:52:39
2013-05-09T04:52:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,399
py
"""Defines the Main URLS.""" import os from django.conf import settings from django.conf.urls.defaults import url, patterns, include from django.contrib import admin from django.views.generic.simple import direct_to_template from apps.admin.admin import sys_admin_site, challenge_designer_site, \ challenge_manager_...
[ "vijayanand_au@yahoo.com" ]
vijayanand_au@yahoo.com
25d6f18b65829aab1932b3fa647b4706a108e3fe
e9ee8fd7cdb458810a978081024c91d974cd51b4
/hackerrank/prob11.py
e3b20422b18d4a8127667281c45eb8dcc998af84
[]
no_license
chunchuvishnuvardhan/hackerank-challenges-
aee712fafd535dc20b74e59c492b3a8e8098bd7f
11328d066dfc8212f5649ec8dc1f8430e952b27b
refs/heads/main
2023-03-02T15:19:45.209763
2021-02-06T10:02:18
2021-02-06T10:02:18
336,506,489
0
0
null
null
null
null
UTF-8
Python
false
false
1,951
py
def func(temp, l): global m_sum, m if len(l) == 0: if temp > m_sum: m_sum = temp % m return for i in range(len(l[0])): crap = ((temp % m) + ((l[0][i] ** 2) % m)) % m func(crap, l[1:]) k, m = map(int, input().split()) l = [] for _ in range(k): l.append(map(int...
[ "noreply@github.com" ]
noreply@github.com
47aab50071f5fbf7c8baf10497ba93d8d6178a68
228e92f8a3e04ae03c26cd15e98aa545336d4841
/data_analysis_programming/data.py
60f744b185c27d066b6165b8249f30918a14e1cd
[]
no_license
RiyaMokashi/CourseraCapstone
eb04f72ad441db1797158df8411425e226fa1a52
733dfc0eeb68e2d306c117c14ff409ef9c684c55
refs/heads/master
2021-07-20T00:38:37.381212
2020-06-10T03:41:22
2020-06-10T03:41:22
176,571,934
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import xml.etree.cElementTree as ET import pprint import re import codecs import json import audit as street_name_auditor lower = re.compile(r'^([a-z]|_)*$') lower_colon = re.compile(r'^([a-z]|_)*:([a-z]|_)*$') problemchars = re.compile(r'[=\+/&<>;\'"\?%#$@\,\. \t\r\n]') ...
[ "noreply@github.com" ]
noreply@github.com
c6babe31c92579da0bd0978e802bcc919d75cb70
627be1a7560b60ecb548a7b901480ab373090b12
/common/config_http.py
345d92f1fbb133235b66b37a1b44877027098441
[]
no_license
huangcaiyan/ai-api-test
b3e06930ac6bf32070896363ef6c31d853fe7878
3d6bcec4978403a53f0595f80205ac0b6b01119b
refs/heads/master
2020-03-13T21:07:57.780205
2018-05-11T11:10:18
2018-05-11T11:10:18
131,288,892
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from common.common_info import * import requests import logging import json # from base.Log import MyLog as Log class ConfigHttp: def __init__ ( self ): self.url = None self.headers = {} self.params = {} self.data = {} # self.log = Log.get_log () # self.logger = s...
[ "374342187@qq.com" ]
374342187@qq.com
58ce0f362ccab2adca898c40948bd9c6215599a4
5f4c6abc2ef4ab2571a3add8e24627c4f43601c0
/DCGAN/main.py
2d3ff23f16b9ba92476a4ce0558028ed1befbf16
[]
no_license
SmartAI/GAN
34551b5302ab5f2d3e834c3bddac167208105b15
54e95039027a9b142b39f2888dfe69bf88b6cd0c
refs/heads/master
2021-06-12T02:40:59.745229
2017-02-11T13:56:30
2017-02-11T13:56:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,824
py
import os import pprint pp = pprint.PrettyPrinter() import tensorflow as tf from dcgan import DCGAN from train import train import inference flags = tf.app.flags # trainning params flags.DEFINE_integer('epoch', 25, "Number of epochs to train") flags.DEFINE_float('learning_rate', 0.0002, "Learning rate for Adam opti...
[ "leomicv@gmail.com" ]
leomicv@gmail.com
fd2a5e63757b0e5b0629c08709741ba588cd8f8b
1ec5917fc2aa3ba64d3ca4e2e0454ab5e8784642
/plugins/trezor/cmdline.py
44b3c3c850b80c8d7e813d7b24f8b72551dd68d2
[ "MIT" ]
permissive
htcang/CommerciumElectro
19b5e6d072a0091a91f0d5cc51a0c9a8f92adcec
fc432c216a4c0668643cec7f4955f242b36369ec
refs/heads/master
2020-03-22T11:37:00.894969
2018-07-14T16:44:37
2018-07-14T16:44:37
138,405,160
0
0
MIT
2018-06-23T13:54:52
2018-06-23T13:54:51
null
UTF-8
Python
false
false
341
py
from commerciumelectro.plugins import hook from .trezor import TrezorPlugin from ..hw_wallet import CmdLineHandler class Plugin(TrezorPlugin): handler = CmdLineHandler() @hook def init_keystore(self, keystore): if not isinstance(keystore, self.keystore_class): return keystore.ha...
[ "imac@iMacs-iMac.local" ]
imac@iMacs-iMac.local
7f71b8025b0da4af24e6f067a0fed3393f846eb2
af259acdd0acd341370c9d5386c444da6a7a28a6
/Supervised-Learning-with-scikit-learn/04-Preprocessing-and-pipelines/04-Dropping-missing-data.py
438c80f1a8b57e4ed94a02048b0011d9457d637e
[]
no_license
pace-noge/datacamp
fcd544f6478040660f7149b1a37bfd957eef9747
eeffb8af233e7304c0f122a48e6b4f78ee7c650e
refs/heads/master
2020-07-04T12:41:29.635167
2019-09-17T10:11:39
2019-09-17T10:11:39
202,289,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,804
py
""" Dropping missing data The voting dataset from Chapter 1 contained a bunch of missing values that we dealt with for you behind the scenes. Now, it's time for you to take care of these yourself! The unprocessed dataset has been loaded into a DataFrame df. Explore it in the IPython Shell with the .head() method. You...
[ "noreply@github.com" ]
noreply@github.com
6a5009db67a6650b9b7693d632d057ea3dd70bd0
cd70f13d69ef249798a4bee64581125b88663987
/scripts/roscore.py
38ea7b3b8b6f16c7d6401f116512b7304d4a524f
[]
no_license
Trofleb/ROS-Android
04afccd7b34e38b29a8fc8846cae43d4f02d5d11
cc93fef12cc8b26d15153978e9c0cfd1442ceb68
refs/heads/master
2021-01-25T10:50:15.496421
2017-06-11T15:39:53
2017-06-11T15:39:53
93,882,124
0
0
null
null
null
null
UTF-8
Python
false
false
3,254
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # 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...
[ "nicolas.casademont@epfl.ch" ]
nicolas.casademont@epfl.ch
e83bb1733b029cb548d60aede85ca7d9119a0266
7d838dd9394c5d71055fb318bf4ddc0f3f6cfebc
/users/migrations/0001_initial.py
f3bb9443dbb5848b9f0457eb62584831303be7a8
[]
no_license
zack294/django-blog
1f10f2c08a169bed91b6289a116547744dbc5984
88de2d2186bb236c5be49b9d7dd5b66c011d6b0e
refs/heads/master
2022-11-30T22:15:39.718577
2020-08-14T08:21:42
2020-08-14T08:21:42
287,505,138
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# Generated by Django 3.0.6 on 2020-07-30 12:19 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "59382089+zack294@users.noreply.github.com" ]
59382089+zack294@users.noreply.github.com
7cb848a19ea732db2c8ff988e3d899b87c141487
0ad82dcb39e3c35978b7923fffdbefaa0f86a9e2
/a3.py
8f4432666ba02b4d1743cd8cbc72c87a319bad27
[]
no_license
pjc0618/ColorConversion
6641fc614624fd8884a1722fd094a11695060622
760d789301f4da3e3fbffe6ef742795bb1badf3a
refs/heads/main
2023-08-04T07:14:26.923196
2021-09-22T18:52:00
2021-09-22T18:52:00
409,320,642
0
0
null
null
null
null
UTF-8
Python
false
false
8,110
py
""" Functions for Assignment A3 This file contains the functions for the assignment. You should replace the stubs with your own implementations. Phil Cipollina(pjc272) and Luke Marcinkiewicz October 4th, 2017 """ import cornell import math def complement_rgb(rgb): """ Returns: the complement of color rgb....
[ "noreply@github.com" ]
noreply@github.com
1597a6c9fe1277455f4aa1409ffa3eb31778d767
8403aa031ab51ebff345321bba1f16b6f70f4c69
/vk.py
4ab0ba837965815a1869a3e2a92711ba420b9b71
[]
no_license
funkyOne/vk_group_stats
4239a503ef0a496180cd416b4e72372be2b6b8fc
97bc9a921c252575996b671eee2967bc31230c85
refs/heads/master
2020-12-24T13:29:08.297655
2020-03-10T13:38:17
2020-03-10T13:38:17
9,445,945
0
0
null
null
null
null
UTF-8
Python
false
false
6,066
py
# -*- coding: utf-8 -*- import ConfigParser import shelve import sqlite3 as lite import json import pyzmail from datetime import datetime, timedelta from vk_api import ApiClient fileName = 'vk.cfg' # shelve_file = "vk.shelf" # db_name = "vk.db" # api_method_url_base = "https://api.vk.com/method/" # app_id = 336...
[ "oleg.novikdichko@gmail.com" ]
oleg.novikdichko@gmail.com
86483ffded970770240b3c917772fa03d7a4cbf4
a08effe848688ff9e0c234972674ca810eeae0c8
/src/networking/client.py
a1e2220b1ac19839fb5932c38f17d0d85f9049d4
[ "MIT" ]
permissive
Reathe/Qubic
65a9bad9440e16345cb62492b1b7f3fe8dc7f6e1
7ee18eb6cb67ff3637f664dd225273c51ae19847
refs/heads/master
2021-05-21T05:48:30.686200
2021-01-21T11:28:58
2021-01-21T11:28:58
252,571,220
0
0
null
null
null
null
UTF-8
Python
false
false
4,096
py
import socket from typing import Dict, Any, List import jsonpickle from model.qubic import Qubic from networking.rooms import Room class Client: HOST, PORT = "qubicgame.ddns.net", 9999 # HOST, PORT = "localhost", 9999 def __init__(self, name, id=None, *args, **kwargs): super().__init__(*args, **kwargs) self...
[ "bachourian@gmail.com" ]
bachourian@gmail.com
6757338d0b65931a2f906bdc7f2b1f72184ecadb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_schoolteachers.py
a97e1eb48efc47de30e4d91ff8c1c06736a2b31a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#calss header class _SCHOOLTEACHERS(): def __init__(self,): self.name = "SCHOOLTEACHERS" self.definitions = schoolteacher self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['schoolteacher']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2bfb43e857a21235bcc195e7bed4c0f379692a15
1faeafcacf32c3e750bc766eae8ad8598b25e885
/venv/bin/easy_install-3.8
b82ec5078679d7e4b8dacb5225b0369b52fcd212
[]
no_license
noahjillson/Graphing-a-Sinusoidal-Function
0029327eb22a2ca6c024b753d165cc765fa1b80c
806d081beb429255734a12f611cd90e67373cf93
refs/heads/master
2021-01-08T17:01:34.709546
2020-02-21T15:38:38
2020-02-21T15:38:38
242,087,018
0
0
null
null
null
null
UTF-8
Python
false
false
457
8
#!/Users/noahjillson/Desktop/data_analysis_test/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "noahjillson@noahs-mbp.attlocal.net" ]
noahjillson@noahs-mbp.attlocal.net
e2c1cf25c5a96bbea3825bb8afdbd8158e40a8b7
628d00c9b8dcd36861c35895ed9a5d3305facf5a
/tf.py
09116b852fe934f460249df014b7df18a179507a
[]
no_license
skykobe/Reinforcement-learning
6b17cd193d561790b7b52ad0e8a51acec42c665d
49f57a6b66973fe0d1983818d69a9d1652d0fa25
refs/heads/master
2020-04-04T19:22:40.280920
2018-11-06T09:04:59
2018-11-06T09:04:59
156,203,470
3
0
null
null
null
null
UTF-8
Python
false
false
194
py
import tensorflow as tf i1 = tf.placeholder(tf.int32) i2 = tf.placeholder(tf.int32) out = tf.multiply(i1, i2) sess = tf.Session() out = print(sess.run(out, feed_dict={i1: [100], i2: [432]}))
[ "zhuxiaohui@shin-yokohama.local" ]
zhuxiaohui@shin-yokohama.local
e879ce09d32dd3e25d2b5d012e29d601fd22420c
b05646c751f97af09165496febd2a23a0f5e283a
/algorithm/moea.py
57ccc3fcc851f574717e79f232eefd83448b016d
[]
no_license
outofstyle/MOBSA_MRP
d96b1a478426f7606cd604caa48d2c412036f888
97fe2902f00b144fd3b9fce135e0a61d8ebffa1b
refs/heads/master
2021-09-12T07:13:02.370033
2018-04-15T08:07:38
2018-04-15T08:10:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
class MultiObjectiveEvolutionaryAlgorithm(object): def __init__(self, problem): self.problem = problem self.current_population = [] self.external_archive = [] def init_population(self): pass def update_archive(self): pass def run(self): pass def n...
[ "quanwenming@outlook.com" ]
quanwenming@outlook.com
0b503253976c7ea5c0c3f9e0600789d35962bb8c
9f206c2741163881f37a8123d0bedc34359da4ca
/app/models.py
4a54cd395972b3700abed0cdeb0493f2118930a7
[ "MIT" ]
permissive
OsmanMariam/On-the-blog
6eaa41a04b330669fe4535b52668cb9dd227e400
455bdb22d6768ca607afaff3b8587e710738e85d
refs/heads/master
2022-10-17T20:07:15.233294
2019-12-03T08:38:25
2019-12-03T08:38:25
224,815,084
0
0
null
2022-09-16T18:13:55
2019-11-29T08:54:23
Python
UTF-8
Python
false
false
3,290
py
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) # Passes in a user id to this function an...
[ "sufimariam8@gmail.com" ]
sufimariam8@gmail.com
eadff18d5826fe8c172b84e1af89abe6bc1bc53a
9c6dad048e5d2be07e262967c065a152f52c3095
/3-largest-prime-factor.py
927f041ab3409114dd47fb615a8455a6955c8abf
[]
no_license
anandman03/project-euler
9c6ef3de8a2a510820023894b851b7708e1546db
2d26afaf0577976cb83eb16a7d81bed38af9c74a
refs/heads/main
2023-08-18T01:54:37.472484
2021-10-03T06:25:39
2021-10-03T06:25:39
410,455,141
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
def main(): target = 600851475143 limit = 10 ** 6 + 5 sieve = [True for i in range(limit)] sieve[0] = sieve[1] = False for i in range(2, limit): if i * i > limit: break if sieve[i]: for j in range(i * i, limit, i): sieve[j] = False ans = ...
[ "anandmansimar@gmail.com" ]
anandmansimar@gmail.com
33937e6f1596f97dfca590e08588cf3f50c3644c
def311ab3c35db43f832516f4af39c5455ee4eee
/Computational Logic/domain/rapid_conversions.py
8960824cea521b87aabc22c5f9bf9347501b9e96
[]
no_license
VladCincean/homework
598de65fc94ce5f2f0da4afee971041f0986836b
83a1945bef30bd8b353d9c601b55c38bd6cbf404
refs/heads/master
2021-06-18T07:08:18.112450
2017-05-31T17:56:53
2017-05-31T17:56:53
73,409,436
0
0
null
null
null
null
UTF-8
Python
false
false
2,535
py
''' Created on 7 dec. 2015 @author: Vlad Cincean ''' from math import log2 def to_base_2(n, s): ''' Performs a rapid conversion from base p to base 2 Input: n (string) - the number's representation in base s to convert s (integer) - the source base (can be 4, 8 or 16) Output: out (string) -...
[ "cvie1883@scs.ubbcluj.ro" ]
cvie1883@scs.ubbcluj.ro
533164524bd7e942d8f7afa1f3078004c5cea911
b759e0ae4bd2ac72b97e35ceb7036d9b3c3a361a
/i-kijiji/views.py
a0b89a7ceb1f777f23853bdd48c998e9aa7d453b
[]
no_license
Agana/i-Kijiji
9aee7d33bb819fb10e3d5eb640ba84d568e6d538
8a195944579e92a7d44790a42a06fadf3a8f0886
refs/heads/master
2021-01-19T05:50:50.861554
2011-08-02T07:35:41
2011-08-02T07:35:41
2,100,729
0
0
null
null
null
null
UTF-8
Python
false
false
11,897
py
from django.template import Context, loader from django.http import HttpResponse from models import * from django import forms from django.forms import ModelForm from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponseRedirect from django.shortcuts import render_to_response from django....
[ "nsiire@gmail.com" ]
nsiire@gmail.com
c40aad25bea3a654dd4c3fd8365a86a2bb84bb49
81dce1d4687c0591c944037e78a1c119c57868b9
/EPF.py
9baf36a2317b60d9589d2532c0e406e0adab345e
[]
no_license
RichardChangCA/Python-OpenCV-Practice
b7c0ea0abc50446612a7b6716c480b6fddc104c1
3db6323b814bcbcb6c01f14af0cf0c0370855e81
refs/heads/master
2021-07-20T20:48:35.570871
2020-05-24T23:31:01
2020-05-24T23:31:01
172,720,013
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
""" 边缘保留滤波EPF,两点像素很大,就很有可能是边缘,就不要平滑 高斯双边模糊 """ import numpy as np import cv2 as cv def bi_demo(image): dst = cv.bilateralFilter(image, 0, 100, 15) cv.imshow("bi_demo", dst) def shift_demo(image): dst = cv.pyrMeanShiftFiltering(image, 10, 50) cv.imshow("shift_demo", dst) print("---hello...
[ "zlf465074419@gmail.com" ]
zlf465074419@gmail.com
639812435ff737ef572d5857613e1dc73121356a
090aacd45fc1b2c9910a5a2e91aa236e0ae13bce
/storage-clients/model-manager/src/main/resources/z3/allocz3Solver.py
32edc2fe3bdcc5e9adc74859b26e8eba76471c33
[]
no_license
BLasan/k8s-monitoring
03767f709e338feb6215f00abaf278baa2e4f0e3
6f65bcdd40ef2c4cd334949a4be674cfa620aaad
refs/heads/master
2023-03-31T02:56:03.145329
2020-02-12T17:30:22
2020-02-12T17:30:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,699
py
#Sam Bayless, 2017 <https://github.com/sambayless> #License: CC0 and/or MIT from z3 import * import random import json random.seed(0) #create a new Z3 solver instance. #s = Optimize() # Use Optimize() because we are doing optimization below. If not using Z3 for optimization, this should instead be s= Solver() s = So...
[ "adalrsjr1@gmail.com" ]
adalrsjr1@gmail.com
106e3d6aafafc929974d310d2d52e5eb63047a10
2b84f1161c2a75adf14957f4b24f3bf8d7d230e5
/4_Socio_economic/5_Roads.py
f4c53d4ffc1622fc18fc4e5744720b822f44c02c
[]
no_license
SophiePlassin/GeodatabaseRGB
4d24efc7d70db704968e42559a19c1a0aed670ce
d0229e28a9a320d0cf87507778692df982ccff8c
refs/heads/master
2020-11-27T21:56:50.645202
2020-01-08T14:39:34
2020-01-08T14:39:34
229,616,711
0
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
## Name: Roads.py ## Created on: 2019-05-09 ## By: Sophie Plassin ## Description: Preparation of the roads shapefiles for the Rio Grande/Bravo basin (RGB) ## 1. Project the shapefiles to North America Albers Equal Area Conic ## 2. Clip the shapefiles ## ---------------------------------------...
[ "sophie.plassin@ou.edu" ]
sophie.plassin@ou.edu
4645afbd217aaeb12a8d11bbcccd5f7dff4e404f
e6dea1ae250496e489f2bb1ac10a597947adb38f
/semana 1/ejemplos/continue.py
5125b4decaf0ba126782cbc00243b27ba1d5bb1e
[]
no_license
frankvasquez94/curso-python-django
68df07dc0762bdf03c85c3489680385e6212659c
da7bb1172f590ef1ec1040a65c71b8556b24c80c
refs/heads/master
2021-01-18T05:15:12.834162
2016-05-11T19:12:07
2016-05-11T19:12:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
while True: s=input('enter something: ') if s=='quit': break if len(s)<3: print('too small') continue print('it is sufficient length') print('Done')
[ "kevinchristo_garcia@hotmail.com" ]
kevinchristo_garcia@hotmail.com
eda6de58d6e0cf0a1b21783d539bcf06a3737610
13d79af5600aacddb90c0848fe5ce566ec3cba77
/azsentinel/ui/widget/tabs.py
5f1a89e9f4c1ec1390c36cff8e93b652480568cc
[ "MIT" ]
permissive
FrodeHus/azsctl
f6316f3934233f80e35bb73f1e8d2367080ffdb3
bc7486770b707e6e33dfd6f0c9b6382731dd1b57
refs/heads/main
2023-02-22T14:32:32.906115
2021-01-28T06:44:35
2021-01-28T06:44:35
325,632,011
1
0
MIT
2021-01-27T09:44:17
2020-12-30T19:30:11
Python
UTF-8
Python
false
false
1,796
py
import urwid class TabItem: def __init__(self, label, widget): self.label = label self.widget = widget class Tab(urwid.WidgetWrap): def __init__(self, offset, label, attr, onclick): w = urwid.Text(label, align="center") w = urwid.Padding(w, align="center") w = urwid.Att...
[ "noreply@github.com" ]
noreply@github.com
c594fc5656c2269a77d24486c0c09a04bf5a7f2f
650b25db432df4e8b9f6560e23d7c96402eef821
/Scripts/console/edition.py
eb6bf06a3a4728940133dcdbe4d1f9278fbb2314
[ "BSD-2-Clause" ]
permissive
hrbrmstr/graphiti
1bd00870e9f8075fb7dd6b5a119f03326c159612
56d85e5262b76dc6ce4f213a4d80486e015de1b7
refs/heads/master
2023-03-17T20:21:11.832339
2016-11-03T22:17:19
2016-11-03T22:17:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,823
py
import script from script import * class Info(script.Script): def run(self, args): self.console.log("{0} nodes, {1} edges.".format(og.count_nodes(), og.count_edges())) class Load(script.Script): def run(self, args): if len(args) < 2: self.console.log("Usage: {0} <filename>".format(args[0])) return std...
[ "thibault@opendns.com" ]
thibault@opendns.com
85f1ae52a67e4550b2f5f813d49ec399e7cea2dd
a142a6914d5b2e0c1281f76cd1530cce43fdcf79
/example.py
f2cd088420ef57e07756fb820922b3f91c024ef2
[ "BSD-3-Clause" ]
permissive
Sauci/pydbc
b45a930d4ef52dbff18c04248706e38db48fd6c4
da80e0b143f0dbb1ed63ae5d277128c723071454
refs/heads/master
2021-03-14T17:40:46.184649
2020-04-16T12:41:42
2020-04-16T12:41:42
246,780,237
2
2
null
null
null
null
UTF-8
Python
false
false
909
py
from pydbc.parser import DbcParser dbc_data = """ VERSION "my_version" NS_ : BU_EV_REL_ BU_BO_REL_ BO_ 1234 my_message_name: 2 my_transmitter SG_ my_first_signal_name : 56|8@1+ (16,0) [0|4000] "my_first_signal_unit" my_first_signal_transmitter SG_ my_second_signal_name : 48|8@1+ (1,0) [0|250] "my_...
[ "guillaume.sottas@liebherr.com" ]
guillaume.sottas@liebherr.com
197325c25fc711a72451d8bc53cb0a09c5fb9388
be78578cd0a31f524629b2f937e28474309c4493
/app/auth/views.py
98b9605b4a6f40c11ac86443192e654e24507cdf
[]
no_license
sys3948/Tutorial-Flask-ACD
c6111bb46ee2900dad71e36d14fc685d7df2db88
19b1b63054c4fe8a4a074729dad25fd644d4697f
refs/heads/master
2023-07-13T11:41:47.070651
2021-08-18T08:03:00
2021-08-18T08:03:00
379,833,046
0
0
null
null
null
null
UTF-8
Python
false
false
14,565
py
from flask import render_template, redirect, request, url_for, flash, current_app, session from wtforms.validators import Email from . import auth from .forms import LoginForm, RegistrationForm, ChangePasswordForm, PasswordResetForm, PasswordResetRequestForm, ChangeEmailForm from ..email import send_email import pymysq...
[ "sys394880@gmail.com" ]
sys394880@gmail.com
3f7a7cf1b5d55fbc3cfbdca88c06a9518592cfcf
868628e2160223e8d76b2863523d35d4e5d089fb
/simple_calculator/test.py
cd97f3d03e9955b402c03ceb5eb43e6773787a2a
[]
no_license
And24reas/pythonGUI
aaf9b2e93100e756960c13782c5f5c43ebc3fb8d
d4d72a6942fd149531950281027807a0b7831c2a
refs/heads/main
2023-01-30T16:38:52.811998
2020-12-14T15:17:29
2020-12-14T15:17:29
320,246,332
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
import numpy as np import matplotlib.pyplot as plt a = np.array([0,1,2,3,4,5]) b=a[::-1] print (b) plt.plot(b) plt.show()
[ "meinakkount@gmail.com" ]
meinakkount@gmail.com
7d4d4b044a16b0f6c2c8a67d3dfe66cc9b53aae6
ec48aba8de872da53e588c39b0e567f535d55a41
/aiida_cp2k/tests/test_precision.py
e1de692bd4ec901e82dab8c42af6580b11505852
[ "MIT" ]
permissive
dev-zero/aiida-cp2k
4d38dc6e09867d79fbfb21f596ae5aeffc2c49b5
84985c184f9fe0516f84d116a0b24a56cb9c11c7
refs/heads/master
2022-05-01T11:24:54.205029
2019-05-08T08:52:12
2019-05-08T08:52:12
160,215,898
1
0
null
2018-12-03T15:51:24
2018-12-03T15:51:23
null
UTF-8
Python
false
false
2,957
py
# -*- coding: utf-8 -*- ############################################################################### # Copyright (c), The AiiDA-CP2K authors. # # SPDX-License-Identifier: MIT # # AiiDA-CP2K is hosted on GitHub at https://github.com/a...
[ "tiziano.mueller@chem.uzh.ch" ]
tiziano.mueller@chem.uzh.ch
9bba1cc1173df185ad4c40de335d9941e45d914d
31d7e86a9283970b7154cb4e49dae176eea906a9
/deependeliminator/api_routes.py
d79fc6ced77aa47557c6b9b8c70bb520d5c3cbd7
[ "MIT" ]
permissive
brockhaywood/deependeliminator
6bc8a3e2b152aeb766baff9455933990315e60c1
b12a6a1100676269641513dc1fa5ad7164141bcb
refs/heads/master
2022-01-19T07:10:13.874156
2019-09-09T15:59:26
2019-09-09T17:40:14
150,173,719
1
0
MIT
2022-01-06T22:26:49
2018-09-24T21:59:10
JavaScript
UTF-8
Python
false
false
378
py
from application import rebar from deependeliminator.schemas import FantasyTeamListSchema registry = rebar.create_handler_registry(prefix='/api/v1') @registry.handles( rule='/standings', method='GET', marshal_schema=FantasyTeamListSchema() ) def get_standings_json(): from deependeliminator.standings ...
[ "brock.haywood@gmail.com" ]
brock.haywood@gmail.com
544d4e15b6fc21377b2f0f60e4b433e7379e7de5
f020464236bc7b311a6678351e3ba426943f3f0f
/src/tests/storage_test.py
f8540e74294fb226fbaaaed34b7b155ef6737278
[]
no_license
alexeyden/Project-MSF
8e586392397661155f7444dbc5efcad1ffb738b2
c0e457a8eecf244bba2f8d8fbb0f67b67f9b8f28
refs/heads/master
2021-01-17T15:24:39.065138
2016-05-25T14:16:57
2016-05-25T14:16:57
53,959,802
0
1
null
2016-05-12T07:08:42
2016-03-15T16:16:25
Python
UTF-8
Python
false
false
9,522
py
#!/usr/bin/env python3 import unittest import shutil import os from storage.storage import * from storage.exceptions import * from algorithm.algorithm import * class TestStorage(unittest.TestCase): STORAGE = 'storage/' def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) se...
[ "rtgbnm@gmail.com" ]
rtgbnm@gmail.com
531a8eb4bdd352bd9dc24e66f5bf494387cb456f
60c576e4492ddc09a0f541415e7a2330c82e42af
/products/migrations/0004_auto_20180928_1636.py
95fdd5df8f7956a5a6ab9167d43b1bcc0b72a068
[]
no_license
ninja15/ecommerce
3a30dfe9dde73d6900f022f569f43f657a40f65d
ebb9030aa16deb6583d34b682d781375180d7f87
refs/heads/master
2020-04-15T16:46:47.403452
2019-01-09T11:34:15
2019-01-09T11:34:15
148,352,760
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-09-28 16:36 from __future__ import unicode_literals from django.db import migrations, models import products.models class Migration(migrations.Migration): dependencies = [ ('products', '0003_product_image'), ] operations = [ m...
[ "marius.toader15@gmail.com" ]
marius.toader15@gmail.com
d083e6836ba652c863350c9034cdedf9540a9227
d397eaabe93b1a277df573345976858cc1e9cdcf
/code/poisson2d_pulse.py
4435b86f5f384b521ef6f8720fd0261c103839a4
[ "BSD-3-Clause" ]
permissive
linusec/SPINN
a3bb38b7109d6890df7ef4212abf0f0c94821c03
636ae3b30cb23e2ffcf060635e5e8e3f3460108c
refs/heads/main
2023-03-12T20:28:31.608038
2021-02-26T09:12:39
2021-02-26T09:12:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
# Solve Poisson equation in 2D using SPINN # \nabla^2 u(x, y) = f(x,y) on [0,1]x[0,1] # (See pde() method below for exact form of f) # Zero Dirichlet boundary condition on boundary import numpy as np import torch from common import tensor from spinn2d import Plotter2D, SPINN2D, App2D from pde2d_base import RegularPDE...
[ "aparyap@gmail.com" ]
aparyap@gmail.com
ab4ca5a53dc193a94e6590f3b0c1fcdbbb4c9786
b2fc9e6bc140a77c730ca0b13a738e139f214f05
/mbl/net/__init__.py
fa6547be7cdb99ad85c20a97d8c3feb633ead92d
[]
no_license
lachtan/mblib
31febb60855413aeeb70c15a28f7d4f8204a9c03
3378818e74f010c14ffe554cdf79ead3af2dfff7
refs/heads/master
2020-05-17T23:17:41.953208
2011-01-27T20:06:51
2011-01-27T20:06:51
753,444
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from mbl.net._socket import Socket from mbl.net._socket import SocketInputStream from mbl.net._socket import SocketOutputStream from mbl.net._socket import TcpClient from mbl.net._socket import TcpServer
[ "lachtan@fnet.cz" ]
lachtan@fnet.cz
0229b1dbbf5a46f43966e1975c13d1f096d11a2b
a240cd61ce4a7e5ec2d2e19fe4d69c293db61f47
/WebPageToMD/src/DraftMd.py
5dcbc2d0ceefa8fd51749021d049f60119b1f08e
[]
no_license
Joiner12/Python_MS
fe537c74b33ef561d209adb620e73c2b4040f262
c926fca0eb747e1bad5a64fe5c9138d34edbfc07
refs/heads/master
2023-04-06T18:27:34.120553
2021-04-16T09:01:28
2021-04-16T09:01:28
263,056,958
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
# -*- coding:utf-8 -*- import os def splitRelpath(cur_path): cu = cur_path.split('/') def getPageAbsPath(baseurl): cur_url = baseurl if cur_url.startswith(r"file:///"): path_temp = cur_url.replace(r"file:///", "") path_temp = path_temp.split("/") page_abs_path = str() for...
[ "2114768901@qq.com" ]
2114768901@qq.com
f072929c9e3cca901370f4fdc9922a25746a2d37
b6a36fed0a72da4b846fe4302c3b68bd242c9b71
/web_project/users/signals.py
0190bb5d1d403619a94beeb93587732a35969768
[]
no_license
danialmalik/django_blog_app
a2a2318b7ba03b073e7675bfffe1d47086395192
14a3aee07429a75df1f7ac35264ab2d7e6b820da
refs/heads/master
2022-12-08T08:42:30.294316
2020-04-02T06:14:14
2020-04-02T06:14:14
185,347,227
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
from django.db.models.signals import post_save from django.dispatch import receiver from rest_framework.authtoken.models import Token from .models import Profile, User # This code is triggered whenever a new user has been created and saved to the database. @receiver(post_save, sender=User) def create_auth_token(se...
[ "danialmalik321@gmail.com" ]
danialmalik321@gmail.com
94a2a1fa20e97c51852243a2a81a4149bdffabba
fb54704d4a6f9475f42b85d8c470e3425b37dcae
/medium/ex1381.py
3b090451fda3eb43df141d4f0235c64721da852a
[]
no_license
ziyuan-shen/leetcode_algorithm_python_solution
b2784071a94b04e687fd536b57e8d5a9ec1a4c05
920b65db80031fad45d495431eda8d3fb4ef06e5
refs/heads/master
2021-06-27T05:19:47.774044
2021-02-04T09:47:30
2021-02-04T09:47:30
210,991,299
2
0
null
null
null
null
UTF-8
Python
false
false
638
py
class CustomStack: def __init__(self, maxSize: int): self.stack = [] self.maxSize = maxSize def push(self, x: int) -> None: if len(self.stack) < self.maxSize: self.stack.append(x) def pop(self) -> int: if self.stack: return self.stack.pop() ...
[ "ziyuan.shen@duke.edu" ]
ziyuan.shen@duke.edu
8fe85c165c882f31473b97cc238e98b2399d9522
24e7e0dfaaeaca8f911b40fcc2937342a0f278fd
/venv/Lib/site-packages/psutil/tests/test_contracts.py
39a525696000f799dfae0c817aeb45a7e8799281
[ "MIT", "BSD-3-Clause" ]
permissive
BimiLevi/Covid19
90e234c639192d62bb87364ef96d6a46d8268fa0
5f07a9a4609383c02597373d76d6b6485d47936e
refs/heads/master
2023-08-04T13:13:44.480700
2023-08-01T08:36:36
2023-08-01T08:36:36
288,455,446
1
0
MIT
2021-01-22T19:36:26
2020-08-18T12:53:43
HTML
UTF-8
Python
false
false
26,188
py
#!/usr/bin/env python3 # Copyright (c) 2009, Giampaolo Rodola'. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Contracts tests. These tests mainly check API sanity in terms of returned types and APIs availability. Some of these are duplica...
[ "50989568+BimiLevi@users.noreply.github.com" ]
50989568+BimiLevi@users.noreply.github.com
c7b3a8d8d3cae2a525214934241dd1b96853f0b1
e9fcfe65e02655af14c07bbd9af7fb1d81debd44
/cema/agriculture/county/backfill_county_AgWx.py
97d510295bb2d0da3bb256d5decac0043a156517
[]
no_license
jsimkins2/UD_SRS
7884f3abec97b0eb158862e6add0bfd2204c3921
bdaf8fe59de3b20b3bc1027288be7e6b0454b8eb
refs/heads/master
2022-09-09T00:38:01.140012
2022-08-31T00:00:12
2022-08-31T00:00:12
103,303,091
0
0
null
null
null
null
UTF-8
Python
false
false
10,721
py
# deos geopandas to be run at home import os import numpy as np import matplotlib.pyplot as plt import matplotlib.lines as mlines from matplotlib.colors import ListedColormap import geopandas as gpd from scipy.interpolate import griddata import rioxarray import xarray as xr import pyproj from pyproj import Proj import...
[ "jamessimkins5@gmail.com" ]
jamessimkins5@gmail.com
c90c4ba206ae8f738a6b4e434082b9e5301d1d1e
b76ca51657175ad8a3589cc7b10c46f87d490077
/PyRamen.py
13bc579363ff6e9daef50296103b3219f88e15f4
[]
no_license
KPH3802/Python_Ramen
a903ccb81ba47796d629a990ec387e3d73e1de10
0fddc5e0a881cb353c0cef330f8035d6895eafd1
refs/heads/master
2022-12-01T08:05:49.819506
2020-08-06T20:27:47
2020-08-06T20:27:47
284,310,226
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
import csv # Build an empty list to hold menu items menu = [] # Open and read through each line of csv, appending row to menu list with open ("Resources/menu_data.csv") as csvfile: reader = csv.reader(csvfile, delimiter = ',') header = next(reader) for i in reader: menu.append(i) # Build an empty...
[ "kph3802@gmail.com" ]
kph3802@gmail.com
fa6918134f144b570d2dbcdc36fa48e0fdacfa80
2e2b2ad583074e30d898bc4af20a515366b6f915
/api/api/migrations/0001_initial.py
d929ec3345aab18c868ada603c2d8b28d81aa2fc
[ "MIT" ]
permissive
oneillkyle/farm-backend
ce43ddc7681c564f8a068c593525f079913c5b5c
1d335d9c5803259fbcb1253de8f1d414180465ba
refs/heads/master
2021-10-08T11:29:47.959312
2018-05-10T18:26:58
2018-05-10T18:26:58
94,968,259
0
0
null
null
null
null
UTF-8
Python
false
false
11,829
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-30 23:50 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "oneillkyle@gmail.com" ]
oneillkyle@gmail.com
7a4a2074330ac19f9dfb8accf586953accc5e5fa
539b469c80ba0f4498588813fcd6f123022263fe
/mxonline/apps/courses/migrations/0007_auto_20170408_2142.py
8b603cf110f155e61c20e7cc3e3b9db2774518bc
[]
no_license
cucy/mxonline
0052e8abef529c256563e1883ecc2b589d6c1235
3e6a204fd98b88da1896bef48f9b31d160290fdf
refs/heads/master
2021-01-18T17:28:02.636671
2017-09-29T05:24:21
2017-09-29T05:24:21
86,804,047
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.12 on 2017-04-08 21:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0006_auto_20170408_2141'), ] operations = [ migrations.AddField(...
[ "zrd@zrd-2.local" ]
zrd@zrd-2.local
57a5f45f9df83dea5f7c475e73100169c6e3f2ae
7355144a5e406457b375f85077d19c3fb80fb700
/master/main/views.py
fce5056782e946fed2e4237d5693b4075fb50878
[]
no_license
Jonah1309/jonzz
dac41a9596f8655db33177c270b74f9f6bce8452
3dfa0030a2f70a3f2905c0c44179f2a3cf623cf1
refs/heads/master
2022-11-27T18:10:42.147570
2020-08-11T14:51:36
2020-08-11T14:51:36
284,207,862
0
0
null
null
null
null
UTF-8
Python
false
false
5,776
py
from django.shortcuts import render import os import sys from django.shortcuts import render from django.views.decorators.csrf import csrf_protect from django.test import Client from django.http import HttpResponse from django.db import connection from fpdf import FPDF from .models import Cat from .models imp...
[ "noreply@github.com" ]
noreply@github.com
95323488f1a2f39dd31806aae172ae8687c22cab
39fe41a33c00ea6dc8e04c61842c3764fdd07ff1
/py3standardlib/algorithms/contextlib/contextlib_exitstack_pop_all.py
68ab294ea41ed5242c5100523e6e1a684725e4f4
[]
no_license
playbar/pylearn
f9639ffa1848a9db2aba52977de6c7167828b317
8bcd1b5a043cb19cde1631947eb128d9c05c259d
refs/heads/master
2021-06-12T01:51:33.480049
2021-03-31T12:16:14
2021-03-31T12:16:14
147,980,595
1
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
# contextlib_exitstack_pop_all.py import contextlib from contextlib_context_managers import * def variable_stack(contexts): with contextlib.ExitStack() as stack: for c in contexts: stack.enter_context(c) # Return the close() method of a new stack as a clean-up # function. ...
[ "hgl868@126.com" ]
hgl868@126.com
1faece1e7017086da3f95d59deab56c91ab020c5
444a70b81c4846e6921bb4e242d3f11cd485b03b
/etl.py
d17aa293c6fd96fae11b712168272280f08f6538
[]
no_license
NunoVazAfonso/dataeng-spark-emr
3dfcb74a2b5e6eb1376afcb26ce9bb0330ba9cb4
c073098ff2de7e6dc99155f05eaa51fa2d1edaa0
refs/heads/master
2023-03-20T17:37:30.601984
2021-03-08T12:51:28
2021-03-08T12:51:28
343,572,277
0
0
null
null
null
null
UTF-8
Python
false
false
6,216
py
import configparser from datetime import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import udf, col from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format, to_timestamp, to_date config = configparser.ConfigParser() config.read('dl.cfg') os.env...
[ "nunovazafonso@gmail.com" ]
nunovazafonso@gmail.com
55efe697f1d6349c253177d0b7af16e65adad171
aa4fc83fdbd9c59372979dd2d94cc8c687d3b51b
/match_statics/views.py
a87b30cc365a43d9afb8ff226eae109620462e4d
[]
no_license
AbdelhamedAbdin/match
5d597e9f6330a351f67695144f26b4857f8c247a
1ddfb1e50fe11adf0de3d382340d2b02cccae71c
refs/heads/master
2022-11-26T08:58:17.308843
2020-07-29T23:53:49
2020-07-29T23:53:49
283,626,928
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
from django.shortcuts import render, redirect from match.models import Main from .models import Statistics from .forms import StaticForm from django.db.models import F def player_statics(request, pk): form = StaticForm() statics = Statistics.objects.filter(main_id=pk) main_pk = Main.objects.get(pk=pk) ...
[ "medoabdin@gmail.com" ]
medoabdin@gmail.com
37b68d062d53af404f07faf274e26c5996467da9
38762f9381a2a3ba958199e5600bdb77750e5918
/posenet-tf/test_code.py
bf90610c9ee05e2d9b3857dccb2f1890af0d588b
[ "Apache-2.0" ]
permissive
Gymnos-AI/Gymnos-ResearchPaper
d22d39c73a0d0f3db7b6ef31d5e66352cd98cbde
9d20fa2973d9359a52203f245562eea6b4f2bd4b
refs/heads/master
2022-11-26T20:28:14.483491
2020-04-21T21:31:56
2020-04-21T21:31:56
285,942,933
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
import cv2 import numpy as np from skimage import data, img_as_float from skimage import exposure img = cv2.imread("./images/james.png") img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY); # # create a CLAHE object (Arguments are optional). clahe = cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8, 8)) cl1 = clahe.apply(img) #...
[ "jamesperalta35@gmail.com" ]
jamesperalta35@gmail.com
1895e0ad222f761f3640d7dc1d37d0017a9be646
42828075228410756eb580712004ed4dc1d10cce
/NLP for Data Extraction/MGH_hnp_output_symptom.py
55377694b9db3c2e933febe89bdc9f46821b1f8c
[ "Apache-2.0" ]
permissive
sotudian/COVID-19-Predictive-Models
342269308e27889ee24b5433353888fd51407ee3
ce50500cb48cf06dab8541c1b39f4836f9e4c68c
refs/heads/main
2023-09-01T05:57:54.524080
2021-10-21T03:14:29
2021-10-21T03:14:29
419,561,526
0
0
null
null
null
null
UTF-8
Python
false
false
6,664
py
from simple_sentence_segment import sentence_segment from allennlp.predictors.predictor import Predictor import scispacy import spacy import numpy as np from unidecode import unidecode import csv import re import os csv.field_size_limit(1000000000) nlp = spacy.load("en_ner_bc5cdr_md-0.2.4") out = open('hnp_out_sym.cs...
[ "noreply@github.com" ]
noreply@github.com
7f299b8afc5bda2e0208d3c37d8bbe260005312d
878e65a34f6b10ac81759ab87147022360bfd622
/functional_tests/multi_output_group_input_test/make.py
88d20e50a8472006020cd47152b3e8cd4c8ee46a
[]
no_license
SleepingCatGames/csbuild2
5f265aec1a490e32503857bff5d1e139992a1652
c7389961bee3d8e5088c8c3c8c4bb7e273e4ec50
refs/heads/develop
2023-08-31T07:17:55.905512
2023-08-20T21:45:05
2023-08-20T21:45:05
100,565,406
1
1
null
2023-08-20T21:45:06
2017-08-17T05:36:13
Python
UTF-8
Python
false
false
3,077
py
# Copyright (C) 2016 Jaedyn K. Draper # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, di...
[ "jaedyn.git@jaedyn.co" ]
jaedyn.git@jaedyn.co
a6c363f8de0cbe2e52989488be2bcd766f958499
306e86ca21d447961a5020d1433e0fb792e5a02f
/structural_patterns/Singleton.py
34e50f49aebedf6819fbb4a0a2738ed475458de1
[]
no_license
herodionem/design_pattern_notes
ed2ab435dc92b64d89a27ead1d2b0be59c123123
60d03bd305f5ec1039a058bbf46dac8f96196c8f
refs/heads/master
2021-02-14T20:02:51.227111
2020-03-06T05:38:57
2020-03-06T05:38:57
244,830,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
class Borg: _shared_state = {} def __init__(self): self.__dict__ = self._shared_state class Singleton(Borg): def __init__(self, **kwargs): super().__init__() self._shared_state.update(**kwargs) def __str__(self): return str(self._shared_state) x = Singleton(HTTP =...
[ "jonathan@oneclickretail.com" ]
jonathan@oneclickretail.com
009544a9459c4e1fc01041038795557f4004e62c
66e92b3427327aec7f719ad095235de4ade194ac
/app/predictionmodels/prophet_predictor.py
0e6c4bc9db4ee05e919cb2fb8c9b376230ff7788
[]
no_license
filippajak/FoglightPredictions
0c78b537e9c07822cd0b315d816dfae2d747521b
55a1227c6eb730f3405b755aa922d281d058ed54
refs/heads/master
2020-04-30T01:40:52.314433
2019-03-19T15:00:02
2019-03-19T15:00:02
176,535,577
0
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
import pandas as pd from fbprophet import Prophet class ProphetPredictor: def predict(self, paths): ms_column_name = 'ds' dataframe = pd.DataFrame({ms_column_name: []}) for datapath in paths: df = pd.DataFrame(list(datapath.historical_marketshares.items()), columns=['month',...
[ "filip.pajak@qualitytaskforce.com" ]
filip.pajak@qualitytaskforce.com
e613e0c339f93313e6b0a2aea9de0b2455f7d7b3
ef3e77a515cf102d60a353a6ea7124506ed553e0
/data.py
f17bc38f9b862b3aecf6b21324497930b7ee845a
[]
no_license
arpitj07/Flask
df9ec313ecbc13fafe8e005f9f6960d33c7a0361
6ef7009a744bb198d4536d1559f913887de4d223
refs/heads/master
2020-04-17T22:10:11.074964
2019-02-05T06:50:40
2019-02-05T06:50:40
166,983,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,779
py
def Articles(): articles = [{ 'id': 1, 'title': 'Article One', 'body' : 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod \ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo \ consequa...
[ "aj070295@gmail.com" ]
aj070295@gmail.com
cc88ab1445aabd5a7a51b5d3387509e3916cbff2
89f23e1020cc35b9bd5b0a5b61a080075c48d675
/my_app/views.py
e76ca0d728493388b260dcb2f1901c91ed06090d
[]
no_license
Akpozi/first_django_project
682a51fd3bab52eb8ba990a177723203fefedf5a
b56f5f731de21767e546c364c633d83a3afb1c41
refs/heads/master
2022-12-15T03:40:29.903382
2020-03-23T03:52:07
2020-03-23T03:52:07
249,292,825
0
0
null
2022-12-08T03:51:54
2020-03-22T23:34:39
Python
UTF-8
Python
false
false
2,102
py
from django.shortcuts import render from bs4 import BeautifulSoup import requests from requests.compat import quote_plus from . import models BASE_CRAIGSLIST_URL = 'https://helsinki.craigslist.org/search/sss?query={}' BASE_IMAGE_URL = 'https://images.craigslist.org/{}_300x300.jpg' # Create your views here. def home(...
[ "akpo.siemuri@gmail.com" ]
akpo.siemuri@gmail.com
cbe4b5b0a93c62e34a4f64d8d65fcb3619111147
1b5802806cdf2c3b6f57a7b826c3e064aac51d98
/tensorrt-basic-1.10-3rd-plugin/TensorRT-main/tools/Polygraphy/examples/cli/run/05_comparing_with_custom_input_data/data_loader.py
4284ddc1e5d6dbe661a164e636b3c38257bcee12
[ "Apache-2.0", "MIT", "BSD-3-Clause", "ISC", "BSD-2-Clause" ]
permissive
jinmin527/learning-cuda-trt
def70b3b1b23b421ab7844237ce39ca1f176b297
81438d602344c977ef3cab71bd04995c1834e51c
refs/heads/main
2023-05-23T08:56:09.205628
2022-07-24T02:48:24
2022-07-24T02:48:24
517,213,903
36
18
null
2022-07-24T03:05:05
2022-07-24T03:05:05
null
UTF-8
Python
false
false
1,709
py
#!/usr/bin/env python3 # # Copyright (c) 2021, 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 # # ...
[ "dujw@deepblueai.com" ]
dujw@deepblueai.com
14cb6b8144983db1ce9f97bb70363ff979dc3a02
318569bca9bb5ef104efa60faf23a665460526bd
/Email/__init__.py
4a8af3351ef0454089b049fb8c4b4e8098863c62
[]
no_license
gaoziqi/algorithm
0f48c5e4a4ed4991d940824d0d73c90fada1d842
0b832edc6f204985fbb30a5acfc6f3e0714ced6d
refs/heads/master
2021-05-16T17:46:15.488395
2017-09-19T07:26:11
2017-09-19T07:26:11
103,072,566
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
from Email._email import Email
[ "571051761@qq.com" ]
571051761@qq.com
39e77ccbf51258189e72ccc6a097d942c6d1c9d7
1791461e6740f81c2dd6704ae6a899a6707ee6b1
/Other/SCCPC-B.py
133b5b79af2e2401618bd09fe29dd8418f5c71a5
[ "MIT" ]
permissive
HeRaNO/OI-ICPC-Codes
b12569caa94828c4bedda99d88303eb6344f5d6e
4f542bb921914abd4e2ee7e17d8d93c1c91495e4
refs/heads/master
2023-08-06T10:46:32.714133
2023-07-26T08:10:44
2023-07-26T08:10:44
163,658,110
22
6
null
null
null
null
UTF-8
Python
false
false
2,597
py
n = 1 while True: def find_message(s): for i in range(1, len(s) + 1): if s[-i] == ':': return len(s) - i return None try: line = input() print(n) n += 1 # Find and delete message message_start_pos = find_message(line) message, line = line[message_start_pos + 1:], line[: message_start_pos] ...
[ "heran55@126.com" ]
heran55@126.com
fb81b3687432d04bbd58b02c1555e76963320ed2
cbcacc6395582426948df7159cd9fc3f1dcd02a2
/test/stack_test_case.py
82bf75424643294568e0aacbd790ab05a807244c
[]
no_license
alimills/stacks
a8c9cf9b1634cf4c43efcc3ff224cb4b5f100b8f
f8d8b3424dac2cea2fc73fe2ccba7031a8572a98
refs/heads/master
2021-01-19T06:46:05.153156
2011-06-02T01:45:01
2011-06-02T01:45:01
1,829,953
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
import unittest from google.appengine.ext import db from google.appengine.ext import testbed class StackTestCase(unittest.TestCase): def setUp(self): self.testbed = testbed.Testbed() self.testbed.setup_env(app_id = "12345") self.testbed.activate() self.testbed.init_datastore_v3_stub() def tearDow...
[ "lbayes@google.com" ]
lbayes@google.com
1f8829b07125e1234db7be25020b22d9ba7231fb
86758a2c0767c6571cfab3f678c9c23c7491ae45
/ejercicio_libro/login/pag70_ej_1.py
f80538c927fb93fb42289d1f7d15f66cb20d985b
[]
no_license
tucuwar/python
d51383fbdde78074d7c9673653109f1acb4b7661
b60435b21419bd31285d703a565d5294a46ea01b
refs/heads/master
2021-07-12T02:48:45.978793
2019-02-15T13:02:23
2019-02-15T13:02:23
129,744,463
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# -*- coding: utf-8 -*- #Curso Python para Principiantes - Eugenia Bahit # pagina 70 # ejercicio 1 # Crear un módulo para validación de nombres de usuarios. # Dicho módulo, deberá cumplir con los siguientes criterios de aceptación: # El nombre de usuario debe contener un mínimo de 6 caracteres y un máximo de 12 # El...
[ "tucuwar@gmail.com" ]
tucuwar@gmail.com
a9eefa9e0f5919b3abeaf90ec4d77ceb8d553d30
e9a2aebaf84baf158beb156bc90c405a15f5fc9b
/uploader.py
9a36a15c55d44a4998296e3fcaafdee0c7f852e1
[ "Unlicense" ]
permissive
salvadorAnt/esp8266web
3fc93c3bbe83096b44b8471b46517bd20dfa75f6
ecb33f3f4dfba0878baaf60dc898261d78f19e40
refs/heads/master
2023-03-15T15:16:58.971230
2016-07-08T14:51:57
2016-07-08T14:51:57
569,703,261
1
0
Unlicense
2022-11-23T12:31:04
2022-11-23T12:31:03
null
UTF-8
Python
false
false
6,087
py
#-*- coding: utf-8 -*- # # test webfs_upload.py # PV` Created on 26/09/2015. # # Bases: #--------------------------------------------------- # 2006/02 Will Holcomb <wholcomb@gmail.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # Licen...
[ "pvvx@mail.ru" ]
pvvx@mail.ru
a9105c35de4005f9d6ed60f426c89dea109e2f22
e16b5c0b57867f6d60183549b026c7a607578606
/accounts/views.py
b3af1dfb290dfb482be2b1f39fa0498df019fdaf
[]
no_license
Minbyeong/Django_P02
e48a795d707363dfcf7ca16d1502645a909f56af
68fe4e4adad1058fa0bc89538013bf3035627cb6
refs/heads/master
2023-01-30T06:52:12.972791
2020-12-06T11:00:39
2020-12-06T11:00:39
319,011,182
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
from django.shortcuts import render from .forms import RegisterForm # Create your views here. # CRUD Create, Update def register(request): if request.method == "POST": # 회원 가입 데이터 입력 완료 user_form = RegisterForm(request.POST) if user_form.is_valid(): new_user = user_form.save(co...
[ "mandu0955@gmail.com" ]
mandu0955@gmail.com
11916a289073fbbde26be97dd094185aef82f248
62fc02609073c172fe36936cffde67d937f93c1c
/.github/functional-testing/ftlib/executable_test.py
70a445fb9711b6b2e1d37a210d1fd288cb828860
[]
no_license
DudaevAR/engnr-nsu-cpp-2022
44f4dd81b387e558f2775a9c98e6208f1798f798
7ebddaf69c49b5894f4ff6189b31ebec6df17400
refs/heads/main
2023-08-25T14:49:01.277588
2021-10-29T04:22:56
2021-10-29T06:16:20
425,638,561
0
0
null
2021-11-07T23:13:35
2021-11-07T23:13:34
null
UTF-8
Python
false
false
4,731
py
import os import subprocess from typing import Callable, List, Optional class ExecutableTestFailedError(RuntimeError): pass class ExecutableTest: def __init__( self, name: str, executable_path: str, executable_args: List[str] = [], working_dir: str = None, std...
[ "nikita.provotorov.work@gmail.com" ]
nikita.provotorov.work@gmail.com
89b1a60305e5bb3cd02add3b33ad77a51bae4d59
b7ab3435d4ec4802db9859d0b8a26678c0315f34
/naive_bayes.py
6a1eb86976119bc17f2dc1d3c68138b0bec2de0f
[]
no_license
SunShuoyue/Machine-Learning-numpy
757e161a9b2b906b4b0f0f1c7d9fa5ffb8ee6053
08162f343ea0b0189120bb308555f363bc074794
refs/heads/master
2020-08-15T01:34:30.620799
2020-03-05T03:22:29
2020-03-05T03:22:29
215,261,126
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
import numpy as np import pandas as pd import jieba # prepare data df = pd.read_csv('data/data.csv') data = np.array(df) np.random.shuffle(data) test_ratio = 0.2 rows, variables = data[:, :-1].shape X_train = data[:int(rows * (1 - test_ratio)), :variables] y_train = data[:int(rows * (1 - test_ratio)), variables] X_te...
[ "shuoyue.sun13@alumni.xjtlu.edu.cn" ]
shuoyue.sun13@alumni.xjtlu.edu.cn
cc7bd602015e300fbfa15f8be4f4761509447333
1e6339be3e602e967ce407d1900d54a99da995b2
/models/item.py
cb3aacdfd853d4cc648f4650164ca62a1d9295fa
[]
no_license
Bolinooo/stores-rest-api
8e2ecd4588016576e332b8917ded243db2676765
faeb7afc2d48f194d1561e87a2cefc29e720d29f
refs/heads/master
2021-06-28T23:24:31.032662
2017-09-16T11:23:08
2017-09-16T11:23:08
103,740,408
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from db import db class ItemModel(db.Model): __tablename__ = 'items' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(80)) price = db.Column(db.Float(precision=2)) store_id = db.Column(db.Integer, db.ForeignKey('stores.id')) store = db.relationship('StoreModel') ...
[ "0864947@hr.nl" ]
0864947@hr.nl
b917b540fd2bee540dcc58d0a70966a61aea5234
263188a7a2a751a5cac51197a6c141159e7c1a37
/todolist_app/migrations/0002_tasklist_owner.py
ee60c7cf625736952d99ae0225e8d7c62c71328f
[]
no_license
jconner256/taskmate
4093f438873df12fe16dbf268bb85a9df271bb8d
38c8bd07536d0ae2d137dce08421a57886f0a3c4
refs/heads/master
2023-08-21T14:48:42.487848
2020-06-28T21:22:19
2020-06-28T21:22:19
275,656,524
0
0
null
2021-09-22T19:21:09
2020-06-28T19:44:10
Python
UTF-8
Python
false
false
586
py
# Generated by Django 3.0.7 on 2020-06-28 12:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('todolist_app', '0001_ini...
[ "jeremyconner256@gmail.com" ]
jeremyconner256@gmail.com
7c99f6a0279f12f467c7142b67eb53b1227d1a73
fe3adbd584b713a387fb8c9c238991f3d865990f
/users/signals.py
85b09417c55ae7fd2405ffa99db60a1aec306cc8
[]
no_license
radhadman/django_app
ae70e23953f2b3695c56c54cfe1314c233ec4911
52c8188c1cf42e04cef3b6a9b51e11f1947dda63
refs/heads/master
2023-08-14T17:06:43.813643
2021-09-14T21:44:22
2021-09-14T21:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from django.db.models.signals import post_save from django.contrib.auth.models import User from django.dispatch import receiver from .models import Profile @receiver(post_save, sender=User) def save_profile(sender, instance, **kwargs): instance.profile.save()
[ "haddon.sawatzky@student.ufv.ca" ]
haddon.sawatzky@student.ufv.ca
f4b2c710e8a80b823cb7abf0cd54994e1b1abba4
ad8e012d13be8f2e21e9341df5d97b2606c1d1e1
/searchEngine/search_engine.py
793a505b0affaa18f4655cf56189c2bb070e9923
[]
no_license
sky102/WebSearchEngine
a47eef05a90f2eb824da18327011daeaf947cb0c
a86f803b954055371fe47dd1322814e9ffa2b061
refs/heads/main
2023-01-28T04:22:59.837852
2020-11-30T22:21:13
2020-11-30T22:21:13
317,337,324
0
0
null
null
null
null
UTF-8
Python
false
false
12,713
py
import tkinter as tk #from tkinter import ttk import webbrowser import pymongo from pymongo import MongoClient from bs4 import BeautifulSoup from nltk.stem import PorterStemmer from nltk import word_tokenize import re from corpus import Corpus import json from collections import defaultdict import math from sklearn....
[ "skyn@uci.edu" ]
skyn@uci.edu
014a53af66b673ff30e7f16c4b530d0334d76c90
72157f13029fb40f535e3710ce9fcb64f68b32d3
/blog/forms.py
443e76353a84ce2fa9dcc92ba64b79bca22021fc
[]
no_license
adityagoyal222/django-cloneblog
3c006a0ef0c0d39db00b561a305e520f5b8af0f0
3b7c7d7931b96e92d427dd840f97fe30f9aaf39e
refs/heads/master
2022-12-20T09:42:27.985580
2020-10-06T15:52:26
2020-10-06T15:52:26
301,113,022
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from django import forms from blog.models import Post, Comment class PostForm(forms.ModelForm): class Meta(): model = Post fields = ('author', 'title', 'text') widgets = { 'title': forms.TextInput(attrs={'class':'textInputClass'}), 'text': forms.Textarea(attrs...
[ "43295337+adityagoyal222@users.noreply.github.com" ]
43295337+adityagoyal222@users.noreply.github.com
874acc4cd4bb1868affb3ce85b9d933a6ec0eaca
d2f5a055709645321e7b50b8530e3671356bf033
/busboy/experiments/types.py
e58eb01a894b2b26216b3a462a14dd1e62bf377b
[]
no_license
rashmi2k6/busboy
99f627cfea68277d03ee2e550feca2ded19fc5de
46b489b3c04502d6ffa861d05b64e39198988e00
refs/heads/master
2022-04-11T18:23:51.939817
2019-04-01T20:13:16
2019-04-01T20:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,982
py
from __future__ import annotations import concurrent.futures as cf import dataclasses import datetime as dt from dataclasses import dataclass from datetime import datetime from typing import Any, Callable, Dict, Generic, Optional, Set, TypeVar import busboy.apis as api import busboy.constants as c import busboy.datab...
[ "undergroundquizscene@gmail.com" ]
undergroundquizscene@gmail.com
e4ca15c7d6e9970ed011775900e5cda0f08e74ef
1b990e66e1c739e5e56c677298225232d752269a
/utils/preprocessing.py
9e4c66d6636e7219f41abc12d737ed9850b84fef
[ "MIT" ]
permissive
Lleyton-Ariton/super-resolution
468e5479629aa63711ffa2dce51d05d08817ece5
2772cd91e6d369233ee53428c6b0fc6061a3c3b4
refs/heads/main
2023-02-07T18:08:44.534423
2020-12-31T22:40:09
2020-12-31T22:40:09
325,628,859
3
0
null
null
null
null
UTF-8
Python
false
false
948
py
import os import cv2 import torch from torch.utils.data import Dataset from typing import * class ImageDataSet(Dataset): IMAGE_FILES = [ '.png' '.jpg', '.jpeg', ] @classmethod def image_files(cls) -> List[str]: return cls.IMAGE_FILES def __init__(self, train_di...
[ "lleytonariton@MacBookLleyton.local" ]
lleytonariton@MacBookLleyton.local
4e746f96da01b3c31cde8ca5fd5703e427fb4f2d
e2a7f0ac4e5369e7e924029c1650a986716e78fc
/provisioning/ubuntu-trusty/config.py
698b06100dd24a2e25e9602b22025650824fecf2
[ "Unlicense" ]
permissive
reductus/reductus
f89566de60cda387fc20b1aba4210528c3bd535b
07e865a08396b42fa7ae035de97628bc995506bc
refs/heads/main
2023-05-22T15:08:10.730577
2023-05-12T16:08:49
2023-05-12T16:08:49
1,320,973
7
12
Unlicense
2022-09-30T03:23:50
2011-02-02T16:46:54
Python
UTF-8
Python
false
false
863
py
############################################################# # rename or copy this file to config.py if you make changes # ############################################################# # change this to your fully-qualified domain name to run a # remote server. The default value of localhost will # only allow connec...
[ "brian.maranville@nist.gov" ]
brian.maranville@nist.gov
2dcca01ee427cde3db10bb33f229ac89295893b3
ba4e82ac08901ffa3b8ab341eb7f93b1b4212956
/GoF/estruturais/bridge/devices/tv.py
97e8aca95c25c4959b6c90a2187185f57886d08b
[]
no_license
danieladriano/padroes_projeto
a86c744ecdbad5f1234e583036f9d01f4205e4a8
437e67a93c21e91131a514e26778914c5c62c222
refs/heads/main
2023-04-28T13:42:04.651785
2021-05-24T23:37:18
2021-05-24T23:37:18
345,450,751
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
from devices.device_interface import DeviceInterface class Tv(DeviceInterface): _enable = False _volume = 0 def is_enable(self) -> bool: return self._enable def enable(self): self._enable = True def disable(self): self._enable = False def get_volume(self) -> int: ...
[ "daniel.dadriano@gmail.com" ]
daniel.dadriano@gmail.com
bb3be63122e471f50c9f7a6a33ffc59c1d679c8c
815a86b4f5f191ef620d36149255d4e55a2033a6
/bintopcd.py
6c9ff4a396f014c0c9ce5c8e2bcbc767c86ae456
[]
no_license
estelleaaa/bin_to_pcd
9a7085e984f68cc4135c16eec46815f603dc83e5
386e6dd06a9d86a43ad1b737afd4911d714b625d
refs/heads/main
2023-01-24T18:27:12.268131
2020-11-24T06:19:50
2020-11-24T06:19:50
315,270,874
0
0
null
null
null
null
UTF-8
Python
false
false
2,419
py
# 2 methods for converting bin to pcd files import os import os.path import open3d as o3d import struct import numpy as np import sys ''' # method 1 def bin_to_pcd(path): # read files from the path for parents,dirs,files in os.walk(path): for file in files: filepath = os.path.join(parents,...
[ "estelle_day@163.com" ]
estelle_day@163.com
8ccff6248936f865286605b47d7abde532b87485
e42443bc2cad5e8a6eabb7c22a41d54df37e25a6
/PYTHON TKINTER -FREECODE CAMP/08_openfilesbox.py
4e34910dd75a0e96eb2d84f8a516614c79225733
[]
no_license
cedvillalbaag/tkinter
18e6aadd9cbaab2ac955c32233f38749600a2b86
cf3162ba2c982c1247c7825cdd3a86f09ba51d65
refs/heads/main
2023-04-13T00:41:21.939767
2023-04-06T16:24:43
2023-04-06T16:24:43
361,856,938
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
#OPEN FILES DIALOG BOX # Plantilla Basica de Tkinter #Importar librería from tkinter import * from PIL import ImageTk, Image from tkinter import messagebox from tkinter import filedialog root = Tk() root.title("Code") root.iconbitmap('a.ico') #PNG Files "*.png" #all files "*.*" #root.filename = file...
[ "noreply@github.com" ]
noreply@github.com
ded4a6f8270f5167ee4a1f901cc3a54f82a254b7
0fec7986cb02142a29858c54c0c83bbb25c85774
/orttraining/orttraining/test/python/orttraining_test_ortmodule_autograd.py
8b5ed034bbd092ca1cde63e1288387c97082fb93
[ "MIT" ]
permissive
RyanUnderhill/onnxruntime
98f6d182e0833ee156cbf4b6984b927f13171a26
6df4e293ffbb47d739d2dedfbb87fa6234b8c37c
refs/heads/master
2023-08-17T21:25:40.390364
2021-08-30T18:10:00
2021-08-30T22:37:40
401,530,394
0
0
MIT
2021-08-31T02:30:32
2021-08-31T01:02:05
null
UTF-8
Python
false
false
34,591
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # Import external libraries. import onnxruntime import pytest import torch from torch.nn.parameter import Parameter from distutils.version import LooseVersion # Import ORT modules. from _test_helpers import * from onnxruntim...
[ "noreply@github.com" ]
noreply@github.com
e5e3f29cb08bf189ba52f5187375038a2eccff04
f3255cdb954a23169d6a76e5ae64f083a30c2fa6
/pyplot/plot_disk_benchmarks.py
404b5c408bacee19c8c8a480018dd6e3845f9dd2
[]
no_license
dgaer/benchmarks
35d775c0d24da59f533fa9adacfd56c90ed53c2b
b5160b458389d3a984a24cd7950b50a63d3dc4e9
refs/heads/master
2021-01-19T23:41:08.846216
2019-01-08T20:06:01
2019-01-08T20:06:01
89,008,796
0
0
null
null
null
null
UTF-8
Python
false
false
5,689
py
##!/usr/bin/python # ******************************* # ******** Start of File ******** # ******************************* # ----------------------------------------------------------- # Python Script # Operating System(s): RHEL 6, 7 # Python version used: 2.6.x, 2.7.x, numpy, matplotlib # Original Author(s): Douglas.Gae...
[ "Douglas.Gaer@noaa.gov" ]
Douglas.Gaer@noaa.gov
00d013ba9687410318ea2bdddc37aaee330f8bd5
e5c7a2cb734d7b6a9827cea4b3e9e68ad136b85b
/main.py
8c4067b83eb6cb457164fc1b76cd6b9bfb7687d0
[]
no_license
infraredZ/PyQT5
8512d0680ea8c1cf48c12eda6a87016b76f90644
ee79ccc61e1e02b3bfe92b89e5a26fcc5adf6925
refs/heads/master
2020-12-28T04:03:12.836411
2020-02-04T09:26:34
2020-02-04T09:26:34
238,171,432
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from PyQt5.QtWidgets import QApplication import myMainWindow import sys if __name__ == '__main__': app = QApplication(sys.argv) mainwindow = myMainWindow.myMainWindow() mainwindow.show() sys.exit(app.exec_())
[ "15202861280@163.com" ]
15202861280@163.com
21e1b21c1fef83bcf99bbebfc235137963e6ae58
4c97433643879cc2386f5d0c6bf586f35fe3b075
/create_song_text_files/main.py
a9d9fddbd87771b26a542e8cb0ca5c6717095424
[]
no_license
CIPHERGEMS/Phase1
6f1b5d64a90150576aaa44e5c9820e56d989088c
0b477e1fae470a7d053a4650fa1ce967bc629079
refs/heads/main
2023-05-27T03:38:12.698519
2020-11-10T08:59:49
2020-11-10T08:59:49
304,770,473
0
0
null
null
null
null
UTF-8
Python
false
false
3,501
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 10 22:12:19 2020 @author: Dave """ import os import pickle import re import pandas as pd from uuid import getnode as get_mac def load_obj(name ): with open(name, 'rb') as f: return pickle.load(f) def save_obj(obj, name ): with ope...
[ "noreply@github.com" ]
noreply@github.com
f632da1a09f68ac9dc98d92c87a45c3d48be3d42
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_None/trend_PolyTrend/cycle_0/ar_/test_artificial_32_None_PolyTrend_0__20.py
a4acd452378510898a95c0d7c7399843cf84e0e1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
263
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 0, transform = "None", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
8105b5e240ed50ebab8d4237de4287212a077d45
8c55d93116982758740665fdf93a57d7668d62f3
/calls/bin/registry-read.py
077e111f7c9656f2119fe7a8ed3124acc0c3e36b
[]
no_license
Ngahu/Making-web-calls
42971fbb5835a46237854d45702f7feb50dd9314
df7e0d9032db914b73a9f19a73be18453e524f6e
refs/heads/master
2021-07-11T06:20:36.953011
2016-09-22T09:22:24
2016-09-22T09:22:24
68,893,415
0
1
null
2020-07-26T08:34:38
2016-09-22T06:55:32
Python
UTF-8
Python
false
false
4,984
py
#!/SHARED-THINGS/ONGOING/making calls/calls/bin/python # Copyright (c) 2003-2015 CORE Security Technologies) # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # Author: Alberto Solino (@agsolino) # # Descri...
[ "jamaalaraheem@gmail.com" ]
jamaalaraheem@gmail.com
2c5fb9bc6be3248ac3b35d7d12190b2ea8d205a5
b9efe70d12c2cbd55065d02e974f5725534583ee
/old_scripts/show_corpus.py
b687f9489733eacbea05242368defb71cc58c4e7
[]
no_license
diegoami/bankdomain_PY
5089581ea7b7db6233243dff305488ff27dc8e90
83816e1beb96d3e9e0f746bec7f9db9521f32ee7
refs/heads/master
2022-12-17T05:05:13.557911
2020-06-03T22:19:44
2020-06-03T22:19:44
131,530,574
0
0
null
2022-12-08T01:30:27
2018-04-29T21:12:25
HTML
UTF-8
Python
false
false
996
py
import yaml from repository.mongo_ops import copy_into_qa_documents, split_qa_documents_into_questions, print_all_questions, iterate_questions_in_mongo from preprocess.preprocessor import create_corpus, load_corpus, print_corpus from language.custom_lemmas import my_component from textacy.corpus import Corpus import s...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
e5b88d1db6c5e84ccaaeb489af96251143efc9a7
df609b4ab0616e43060b6e60b2871804889f7cd2
/books/views.py
11b18b2b304c84c4dad909f1bf2dd528d56d4e71
[]
no_license
Bruce6110/bookstore_project
7f9135f5d231aa3ddb4f60dc141e81170ec47ca0
1f8f64478a11e1ed63b19c9ce5a47f59089c2265
refs/heads/master
2020-12-20T07:27:19.368330
2020-03-08T17:32:17
2020-03-08T17:32:17
236,001,780
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
from django.contrib.auth.mixins import ( LoginRequiredMixin, PermissionRequiredMixin) from django.shortcuts import render from django.views.generic import ListView, DetailView from .models import Book # Create your views here. class BookListView(LoginRequiredMixin, PermissionRequiredMixin, ListView): model ...
[ "bruce6110@yahoo.com" ]
bruce6110@yahoo.com
001eeb153eb08184386c8e3e4f2a4d9c7f6da5d3
9be1ab6f7cc9e1e8474b7c76ef89284b54782c46
/chapter3_if_loops/exercise1.py
a681e3d606a2dc9be86b07992c25292f6194d43d
[]
no_license
Nateque123/python_tutorials
8d9842d46570e6cecd7aa5419b9f77bc4468d391
83743acf4862155c5837c154d0422f74d0629043
refs/heads/master
2022-11-20T11:39:02.565456
2020-07-24T11:08:34
2020-07-24T11:08:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
# Guess number by taking one number from user without loop. unum = int(input("Enter your number: ")) winning_num = 5 if unum == winning_num: print("You won! Congrats") else: if unum < winning_num: print("Increase number") else: print("Decrease number")
[ "nateque999@gmail.com" ]
nateque999@gmail.com
08da355ed5009788d673daf96c0f5f8075c62524
77ab53380f74c33bb3aacee8effc0e186b63c3d6
/720_longest_word_in_dictionary.py
b1ef8b4f98d24725eeb93e621ed887835df90cb5
[]
no_license
tabletenniser/leetcode
8e3aa1b4df1b79364eb5ca3a97db57e0371250b6
d3ebbfe2e4ab87d5b44bc534984dfa453e34efbd
refs/heads/master
2023-02-23T18:14:31.577455
2023-02-06T07:09:54
2023-02-06T07:09:54
94,496,986
2
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
''' Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one possible answer, return the longest word with the smallest lexicographical order. If there is no answer, return the empty str...
[ "tabletenniser@gmail.com" ]
tabletenniser@gmail.com
dfd501bb33df129a01c969bde6725ef09d1325c5
8c33efc07f6612d16b94112cc1b48e0494ef850d
/lib/test.py
db1bbec354a86a00c0e2ee5fbba1d45344f4f681
[]
no_license
PSanni/Python_Bank_Wrapper
0d4b6a4936ec6c898a125351438e28335f2feb0f
fbeaa1a8e4dae261a34137571dc48df54073085f
refs/heads/master
2021-01-11T09:11:42.571943
2016-12-23T17:25:32
2016-12-23T17:25:32
77,239,774
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from IFSCWrapper import Wrapper from IFSCException import IFSCWrapperException obj=Wrapper() try: obj.init() print(obj.getBankList()) except IFSCWrapperException as es: print(es)
[ "patel.sanni5@gmail.com" ]
patel.sanni5@gmail.com
be8c540a99b53bbefe14a2c997460b36892e6584
994a6ef944617213227a9231d54d1543ba5fd282
/examples/mnist_test2.py
fdcebd3c9ab45ecc848b635ce582a0a77f58a66c
[ "MIT" ]
permissive
dli7319/cmsc498v_convex
7360503536269d580db21ffdbb4ccc1de31d296f
5578b8f07575860a93eb4894ce9f7b224c90cba9
refs/heads/master
2020-04-12T11:57:26.747680
2018-12-19T20:23:08
2018-12-19T20:23:08
162,477,911
0
0
null
null
null
null
UTF-8
Python
false
false
7,276
py
import waitGPU # import setGPU # waitGPU.wait(utilization=50, available_memory=5000, interval=60) # waitGPU.wait(gpu_ids=[0], utilization=20, available_memory=5000, interval=60) import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from torch.autograd import Variable import tor...
[ "dli7319@gmail.com" ]
dli7319@gmail.com
e4974989c28e06102fb2dec94de7078ee824532b
4105c370b01f96689750c19bb76bf9242cfed58e
/map_locations/migrations/0007_auto_20191228_1902.py
6fa525a94523978cefa79bfbd7f87e08c7b5e6c0
[]
no_license
jstir123/TravelSite
531c33e645bda5316ff37ddca6c57f30d45347bf
b2e1422a3f9bf2e926f25e7589bbcd6d3972b5cb
refs/heads/master
2022-04-08T13:39:10.777971
2020-02-02T16:35:07
2020-02-02T16:35:07
237,797,303
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
# Generated by Django 2.2.8 on 2019-12-28 19:02 from django.db import migrations, models import django_countries.fields class Migration(migrations.Migration): dependencies = [ ('map_locations', '0006_auto_20191226_2048'), ] operations = [ migrations.AddField( model_name='tri...
[ "jstir123@gmail.com" ]
jstir123@gmail.com
14130f9213698f332277814fe64761e8dda9cdf0
61276745d10e75c2fa79db890e1d4713623e8fa8
/honeypot_money/honeypot_money/settings.py
1d16597dbb935bdc341aa521aa331ceb3ed3b0d1
[]
no_license
zoek1/honeypot_money
7458787b568424052cbaade0d0bc247b5a056f17
4095df11a02ef1dfc3acebb9740b59e9efab3e79
refs/heads/master
2023-04-17T18:46:45.014291
2021-04-30T06:51:24
2021-04-30T06:51:24
360,924,936
0
0
null
2021-04-23T15:16:04
2021-04-23T15:16:03
null
UTF-8
Python
false
false
4,101
py
""" Django settings for honeypot_money project. Generated by 'django-admin startproject' using Django 3.2. 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/ """ import e...
[ "miguel@gordian.dev" ]
miguel@gordian.dev
328db55556c99db0397b257b2b8409cbd026e942
a3120b88d457e917d647e871d5e1e26bda69b2bc
/코테전문제풀이/11725_트리의부모찾기.py
0f472fc650a16697350aaca347d8975210fa09ce
[]
no_license
MMyungji/algorithm2
91d5c6860f38096e9ed8bfde897760da8295e4d7
d8c4b6dd318a8ac1b25c7ff6e24f1c5181b3a3eb
refs/heads/main
2023-08-15T22:05:43.570267
2021-10-22T11:12:31
2021-10-22T11:12:31
374,083,658
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# 트리를 그래프로 구현 -> 부모노드 찾기(dfs,bfs) # 그래프처럼 순회하지 않고 한방향으로만 내려가므로 visited 리스트 필요없음 import sys input = sys.stdin.readline N = int(input()) graph_tree = [[] for _ in range(N+1)] parents = [[] for _ in range(N+1)] for _ in range(N-1): a,b = map(int,input().split()) graph_tree[a].append(b) graph_tree[b].append(a...
[ "myungji@jeongmyeongjiui-MacBook-Pro-2.local" ]
myungji@jeongmyeongjiui-MacBook-Pro-2.local
4a7b23545013b057482b2759fce65e737b51d55d
2ed68b4945ba3226ffb9cb8666b26ccc319e994e
/student_project/settings.py
0a84e90ecf27089b81b347445888ef21f1eae8bb
[]
no_license
SamuelJa/University_Django_DI
ea03757aeeb5f1ab491d274239879fc0f1046636
44ee471557697d0f6530943894f53bc872617638
refs/heads/master
2020-04-11T08:05:12.315988
2018-12-13T12:02:46
2018-12-13T12:02:46
161,631,494
0
0
null
null
null
null
UTF-8
Python
false
false
3,332
py
""" Django settings for student_project 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/ """ impo...
[ "samos@MacBook-Pro-de-Samuel.local" ]
samos@MacBook-Pro-de-Samuel.local
0841367580c591daa0a371cc7528b12976f2c8e3
e937b9962982aeef2476d8b2362907be787f93b1
/dayByDay/day4/day4.py
6e93d8bf9f824ff5763e4c4a7af0f9aab2463528
[]
no_license
wanglanqing/Python_Project
e3bef6d5794d5181a0b85d09700ae90a3b0779f3
13241cbf22f2e0c7a52ad2b969744ad40dd68085
refs/heads/master
2021-09-08T01:36:14.849587
2018-03-05T10:17:38
2018-03-05T10:17:38
109,321,472
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
''' 输入某年某月某日,判断这一天是这一年的第几天? ''' from day4.day4exception import * class GetDays(object): def __init__(self): self.date_dict = {} def get_date(self,year,month,day): self.year = int(year) self.month = int(month) self.day = int(day) # self.target_year = int(input('请输入指定的年:'...
[ "wanglanqing1122@126.com" ]
wanglanqing1122@126.com
904e8d80323fae614cfb5f3fb04f3f7c5945a920
826f90a6c8aa0806fa28368bc1be382c69e4471e
/learning/old/test3.py
ba59005898516b9d1f962ac3646d1b9bf084cef8
[ "Apache-2.0" ]
permissive
TinaCloud/CS229-project
6153be2e7110eb64789e81ffc2cd20bd78e98579
5c8ac4774ef8441976d3c7f7e8d959830f34092f
refs/heads/master
2021-05-28T15:36:08.764347
2013-12-17T22:54:03
2013-12-17T22:54:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
from __future__ import division import numpy as np from glob import glob import os.path from sklearn.naive_bayes import MultinomialNB from sklearn.linear_model import LogisticRegression from sklearn import cross_validation import sklearn.svm from sklearn.utils import shuffle # Get the secure Jos data jos_sec_set = set...
[ "fcchou@stanford.edu" ]
fcchou@stanford.edu
ae998783f6f09edee5eb0409239e0811735c2f57
141b42d9d72636c869ff2ce7a2a9f7b9b24f508b
/myvenv/Lib/site-packages/phonenumbers/data/region_SJ.py
30448b9dce8f8518c9cc53db0649a80ffccfe27c
[ "BSD-3-Clause" ]
permissive
Fa67/saleor-shop
105e1147e60396ddab6f006337436dcbf18e8fe1
76110349162c54c8bfcae61983bb59ba8fb0f778
refs/heads/master
2021-06-08T23:51:12.251457
2018-07-24T08:14:33
2018-07-24T08:14:33
168,561,915
1
0
BSD-3-Clause
2021-04-18T07:59:12
2019-01-31T17:00:39
Python
UTF-8
Python
false
false
1,464
py
"""Auto-generated file, do not edit by hand. SJ metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_SJ = PhoneMetadata(id='SJ', country_code=47, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='0\\d{4}|[45789]\\d{7}', possible_length=(...
[ "gruzdevasch@gmail.com" ]
gruzdevasch@gmail.com
60746f163888644e6f853c4952f956ee3b25ab2a
4d80c481f6d2271e4143c69cde5306d25ab6d737
/A01/P02/P02E03.py
861cd9c5d490ebe300c9c6b90ecbafdbfc6ceb8f
[]
no_license
snebotcifpfbmoll/DAMProgramacion
c0156099c1eb1a3e40a108b9e3acea13bf438531
6dea9dd76c2e7283369bb6cd945e71e000c436ec
refs/heads/master
2020-08-08T04:35:40.559872
2020-05-07T09:30:34
2020-05-07T09:30:34
213,715,033
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
# P02E03: Serafi Nebot Ginard num = int(input("Escribe un numero: ")) if num % 2 == 0: print("El numero es par.") else: print("El numero no es par")
[ "snebot@gmail.com" ]
snebot@gmail.com