blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
7ae4c1888b01980193aa49fb4a43d3018126d1dd
0f60645e9939fa0653f0c7e15002881489b757df
/urls.py
9345225fbaadd9558ca114b5be52a3e628b2936c
[]
no_license
0sn/nameremoved
bbae43091ca4459d6dd8219b1e0837b8feaf58f7
879a5644a7cd2ee74f9b3b8a42d9ae649eb43804
refs/heads/master
2020-06-04T15:13:29.521645
2011-05-13T04:48:03
2011-05-13T04:48:03
118,075
2
1
null
null
null
null
UTF-8
Python
false
false
3,036
py
from django.conf.urls.defaults import * from django.conf import settings from django.http import HttpResponsePermanentRedirect, HttpResponseGone, HttpResponse from nr_comics.feeds import LatestEntries from sitemap import sitemap from django.contrib import admin admin.autodiscover() from nr_linkmanager.context import ...
[ "github@nickwolfe.ca" ]
github@nickwolfe.ca
4886fa758195ab52c63d607d1fea0b3841c51fbc
ced95de5c2498b9fe12aab6b35afd2f41f7e01ec
/components/dialog-acts/src/textability/dialog_acts/nlp/negations.py
a6ee05c4f4f496fff007bcf63ac0e9d8e220087b
[]
no_license
schutza/textability-nlp
f76a32fb0895a79239334aa931d56bb7a90a90c3
75f0d7144e5c2eb3e26fa41d925bf10f59df548a
refs/heads/master
2021-03-10T04:46:18.084928
2020-03-10T23:23:47
2020-03-10T23:23:47
246,420,256
0
0
null
2020-08-30T10:50:02
2020-03-10T22:20:41
Python
UTF-8
Python
false
false
1,702
py
from spacy.matcher import Matcher from spacy.matcher import PhraseMatcher from textability.dialog_acts.base_detectors import DialogActDetector from textability.dialog_acts.nlp.language_processor import NLP negation_outright_pattern = [ {"LOWER": {"IN": ["no", "nah", "nay", "ney", "nope", "never", "incorrect"]}} ...
[ "alexander.schutz@textability.com" ]
alexander.schutz@textability.com
917d05bbe6e04eb8e4e580a3bfbc314c8747db4b
fb1a11419934d0c91dcf59a961a8cba207b1224f
/entorno1/bin/easy_install-2.7
9cac5a60cf6034e04ad4d48689c7f95b02ec079d
[]
no_license
danodine/Clase_6
e9028893be3d4e3ed7b6dbf1f0c8471047e8b009
5274fc437ef92485fa1daabc197bb3f091b871fa
refs/heads/master
2020-12-24T06:16:51.859681
2016-11-11T15:31:38
2016-11-11T15:31:38
73,481,953
0
0
null
null
null
null
UTF-8
Python
false
false
260
7
#!/home/salae/misentornos/entorno1/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "davidnodine@gmail.com" ]
davidnodine@gmail.com
d99e95002c2eb33b94698179ff532f256977809a
b7681e5cb6b5b919aa8fe2fb21e3cf267eeca840
/A3/constants.py
d7850fc17f95a113ae8242925f7de179178c232c
[]
no_license
chloe-glave/comp1510-assignments
4ea568e91f440ff326488ee0fe72652ae628c74e
928605581914d20c71c7219a556d1c9a9ab05e1d
refs/heads/master
2022-04-02T22:34:11.996495
2019-12-07T02:47:27
2019-12-07T02:47:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,913
py
""" File containing all constants in the SUD. Room descriptions credit: Matthew Sernett, wizards.com """ # monster info to pull from MONSTER_TYPES = ['dragon', 'goblin', 'ghost', 'slime', 'vampire', 'gelatinous cube', 'slaad', 'zombie', 'banshee'] MONSTER_DESCRIPTIONS = ['horrible', 'dark', 'terrifying', 'deadly', 'p...
[ "cragzu@gmail.com" ]
cragzu@gmail.com
642970365fed7bfc8cbf093fa7c039f2dabdf121
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_4_2/xenosoz.here/B.py
f9e220dfa29b3b7d75a9504d7711ce8867464aa9
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,203
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Google Code Jam: Round 2 2016 # Problem B. Red Tape Committee # # by xenosoz on May 28, 2016. # from collections import defaultdict def combine_prob(_A, _B): X = defaultdict(float) A = _A[1] B = _B[1] M = 0 for a, pa in A.items(): for ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
2806759db5d7067e3121d5daa205116da8119514
c910ba6315f9a92f7810f4df718b31bf41049286
/binLabels/qrprint.py
5819d375e4f15ed581a7759cf51a6cb12cdbbf20
[]
no_license
robzach/partsPages
e4c1b851ca0a83f2f9fc73fd83b308e9f89ebe2c
7c710eea2b2c5541aed5111582d42775eee5644a
refs/heads/master
2021-01-01T06:51:59.590032
2017-10-06T16:09:23
2017-10-06T16:09:23
97,533,919
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
import pyqrcode import pypng text = pyqrcode.create('example') print(text.text()) print('\n') print(text.terminal()) ##print(text.terminal(module_color='red', background='yellow')) ##print(text.terminal(module_color=5, background=123, quiet_zone=1))
[ "bobby.zacharias@gmail.com" ]
bobby.zacharias@gmail.com
0fa7779d3cfa1ede6127305e69fd4edf9722c05a
bc137234505aa010cd4bd666358ee45a73a4e448
/manage.py
a6a3fdf19660f41e013d568aa5ead8f366de71e0
[]
no_license
szk128/sjtusite1
6b1891d133566242f8398e5168a3c0569004879a
84a2da9598c995ba4eca857097be78a68783f8f4
refs/heads/master
2022-06-22T15:03:11.546402
2020-05-11T02:44:11
2020-05-11T02:44:11
262,926,355
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
#!/usr/bin/env python """ Command-line utility for administrative tasks. # For more information about this file, visit # https://docs.djangoproject.com/en/2.1/ref/django-admin/ """ import os import sys if __name__ == '__main__': os.environ.setdefault( 'DJANGO_SETTINGS_MODULE', 'sjtusite1.settings...
[ "1360059346@qq.com" ]
1360059346@qq.com
44badcc169b52b983e5ac2197685ea49cf114a73
d37ba86275573dfcb8aded9f98041a6bc159436a
/manage.py
7316da0ee3334f8af921b35080af72aa1c9b6c31
[]
no_license
AnotherGuyver/SVGTutorien
5fbcf8cc1e163a17b66356f07861f0dfd9be63de
3e2c18b4def9413f78c24cda430cf8fa6b5b19a5
refs/heads/master
2020-12-06T19:17:06.381715
2013-11-13T13:28:29
2013-11-13T13:28:29
14,364,459
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "SVGTuts.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "neptunslawa@googlemail.com" ]
neptunslawa@googlemail.com
df57a79e6d386f716fd8c2b2ab84072da2757d6b
3d0645021735b8cbd5f8ad680dea14305cc538bc
/leveltwo/database/init/insert_levels.py
0df752c48427bc0799fa72e1383346532f384abe
[ "MIT" ]
permissive
LilianBoulard/LevelTwo
2d858616392f058ca6e7be2131bab8f5437d21eb
23013a53100875d77dfae99494d2ef415d12b0df
refs/heads/main
2023-05-03T23:51:42.944850
2021-05-27T22:51:21
2021-05-27T22:51:21
350,278,019
1
0
MIT
2021-04-06T08:34:20
2021-03-22T09:12:16
Python
UTF-8
Python
false
false
237
py
""" Inserts an example level into the database. """ from .default_levels import all_levels def insert_levels(db) -> None: with db.init_session() as session: for level in all_levels: session.add(level.to_dbo())
[ "lilian@boulard.fr" ]
lilian@boulard.fr
e9ac33b4e7ffb25caa4573bac8232f73c0cdafe0
33665bd85fe8b14aac8effc6a37044b7ebd015ec
/keywordextract.py
eedb4ff07b21d2e01fab502cd0c2c2687f220fb3
[]
no_license
pigliangliang/nlp_coding
90e898994fa9fd439841fecd8653024a7bfe1036
3c7028569efd03d3d0d8c9b7da72d41aa2577423
refs/heads/master
2020-03-22T15:07:12.919961
2018-09-05T02:47:15
2018-09-05T02:47:15
140,230,177
1
0
null
null
null
null
UTF-8
Python
false
false
9,637
py
#author_by zhuxiaoliang #2018-07-18 下午4:35 import math import jieba import jieba.posseg as psg from gensim import corpora, models from jieba import analyse import functools # 停用词表加载方法 def get_stopword_list(): # 停用词表存储路径,每一行为一个词,按行读取进行加载 # 进行编码转换确保匹配准确率 stop_word_path = 'data/stopword' stopword_list ...
[ "836904717@qq.com" ]
836904717@qq.com
d823a78a75fcad633609e97c3ad3610c05e553e5
e2543581bb705e2f56dd7e0910fa8dc2a9eabae2
/utils.py
800b23385d79e13c0a335a3f45d762505d1928de
[]
no_license
rodo/calorine
41bd00b8604eb16e764246a4d7f29fdf26c49161
4919242b0f2442007b50d1ef602a2df6d414a6c6
refs/heads/master
2021-01-19T07:57:16.804274
2015-01-12T21:09:52
2015-01-12T21:09:52
7,069,027
1
0
null
2012-12-18T14:59:06
2012-12-08T15:46:59
Python
UTF-8
Python
false
false
2,538
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012 Rodolphe Quiédeville <rodolphe@quiedeville.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
[ "rodolphe@quiedeville.org" ]
rodolphe@quiedeville.org
b5ef6871304dd2f465b2110219d0e8e378f85877
f15df8f7ebdb77ca4ad2525e51b3259195bdf01b
/econ/common_services/models.py
23d1dbf31aa9d72ea10f7455f09bc25ec2f9cfb0
[]
no_license
naveenmotpuse/knanalytics
474d74ed4699655a3801f4254a307cf86dfe36ff
e355927950545c810aa3eab35309d7c41f1ccf65
refs/heads/master
2020-03-28T17:00:11.683442
2018-09-26T06:22:15
2018-09-26T06:22:15
148,749,278
0
0
null
null
null
null
UTF-8
Python
false
false
14,519
py
''' Created on 15-Apr-2016 @author: naveen@knowdl.com ''' #from _mysql import NULL #import new ''' Updated on 06-Feb-2017 @author: naveen@knowdl.com Note: Updated to track Qualsim attempt data. ''' from django.utils.deconstruct import deconstructible import requests import json from django.conf import settings from dj...
[ "naveen@knowdl.com" ]
naveen@knowdl.com
6e6cfff84023a4412c770e4d621a3b6c7283cbba
936e02343adc37c59a777f29dcbb2efe525d79c7
/알고리즘/스택, 큐/BOJ괄호9012.py
f0fd346c17d9ea947abb94f3743884e039020515
[]
no_license
hyun98/python
7bc818cd4dfacc4d7ca58d133b16728a9d6a91c2
1e92c3c9281db957d61207d885ddae81987e8492
refs/heads/master
2023-03-21T14:58:44.959682
2021-03-06T11:54:15
2021-03-06T11:54:15
344,914,818
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
def check(g): if len(g)%2 == 1: print("NO") return 0 else: if g[0] == ")" or ")" not in g: print("NO") return 0 else: g = g.split("()") g = "".join(g) if len(g) == 0: print("YES") return 0...
[ "hyun0404woo@gmail.com" ]
hyun0404woo@gmail.com
5868e39552c16ffa26487d3e1937eaa8079ba5da
54f3dbf30921f5d0078db8132811400993627fb7
/tgif/submissions/time_limit_exceeded/tgif-simulate-py3.py
b8f41ce1479b7bb5a0fd685d3c343d9b0f0fb2dc
[]
no_license
thorehusfeldt/will-code-for-drinks-F2019
9deef8efd5d79e228788624397f98e3746aa6d7b
c454ff4ab22d4e1b79d2025d73f26223fd56e8b5
refs/heads/master
2020-08-06T22:04:42.018855
2019-12-01T20:21:54
2019-12-01T20:21:54
213,172,740
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#!/usr/bin/python3 # TLE by failing to increase month in simulation M = [ 'JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC' ] L = [ 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ] D = [ 'FRI' , 'SAT', 'SUN', 'MON', 'TUE', 'WED', 'THU' ] line = input().split() today_d = int(l...
[ "thore.husfeldt@gmail.com" ]
thore.husfeldt@gmail.com
53620fddadab6a487c0d0375226ce24552b81916
ff179669ea4174c9a295d3c00860507f17288e6f
/app.py
169f2228c8554b2b291f0f003fa924deb4dcf2c8
[]
no_license
cdelfau/login_app
2918bfa47fa4b50f09b82f999a0ade924df33877
1f3db8da5aa652faa90464b03656a3d785f92def
refs/heads/master
2020-05-29T09:16:33.922452
2016-10-06T16:53:41
2016-10-06T16:53:41
69,494,829
0
0
null
null
null
null
UTF-8
Python
false
false
2,582
py
'''Chloe Delfau SoftDev1 pd 8 HW 04 -- Into a Zone of Danger 2016-10-04''' #all of the necessary imports from flask import Flask, render_template, request, redirect, url_for import hashlib import csv #create the flask app app = Flask(__name__) data = dict() #home route @app.route("/") def home(): readFile() ...
[ "cdelfau@stuy.edu" ]
cdelfau@stuy.edu
7fe1642c6b608add3b737b97d6c11a34bfc1dd33
548c26cc8e68c3116cecaf7e5cd9aadca7608318
/users/migrations/0055_auto__add_profileremap.py
bd6c68731fe779e656ef9aa51dddb228ade65deb
[]
no_license
Morphnus-IT-Solutions/riba
b69ecebf110b91b699947b904873e9870385e481
90ff42dfe9c693265998d3182b0d672667de5123
refs/heads/master
2021-01-13T02:18:42.248642
2012-09-06T18:20:26
2012-09-06T18:20:26
4,067,896
0
1
null
null
null
null
UTF-8
Python
false
false
24,876
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'ProfileRemap' db.create_table('users_profileremap', ( ('id', self.gf('django.d...
[ "dalal.saumil@gmail.com" ]
dalal.saumil@gmail.com
b51b918ccd2af4eb40c1c21f2b6ec04489ddf5bb
3c8bc614c9f09db5efce54af3cbcaf78e0f48b54
/0x01-python-if_else_loops_functions/8-uppercase.py
5d019f17c68fc69029ea1eb34fa15ee5e1d724e3
[]
no_license
davidknoppers/holbertonschool-higher_level_programming
7848d301c4bf5c1fa285314392adfb577d6d082f
beaf6e5ece426c2086f34763e50c3ce0f56923ac
refs/heads/master
2021-04-29T10:10:27.071278
2017-05-03T02:46:44
2017-05-03T02:46:44
77,847,936
1
0
null
null
null
null
UTF-8
Python
false
false
198
py
#!/usr/bin/python3 def uppercase(str): for char in str: if 97 <= ord(char) <= 122: char = chr(ord(char) - 32) print("{}".format(char), end="") print("".format())
[ "david.knoppers@holbertonschool.com" ]
david.knoppers@holbertonschool.com
6f1cccb96642b850eb3cc83009fc1cb0e4e36c9b
57091f10b6a322a3c539dd24f0e9d00b32401281
/bin/rac.py
09c3f964ddb9c7092c6a824b11526d332723528d
[]
no_license
taqiu/accounting
547f0913a9f5e4101b2252c6dffdcda85039c439
dbb04e13edc7b12ad7d1770cb68d0a6577a36376
refs/heads/master
2021-01-22T09:04:23.156327
2014-05-02T00:51:13
2014-05-02T00:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
#! /usr/bin/python ######################################### # # Request Account Create # ######################################### import argparse from amie.accounting import process_rac if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("--packet_rec_id", required=...
[ "taqiu@indiana.edu" ]
taqiu@indiana.edu
b2841814c9b48d48bd5e6f83e79c09e3da9ec6ca
bbc39f22380a3bc6f043575a2e82f6226114cde3
/Fetch.py
4ccc90d2db7a7f656a744c5f68a8fed4d2b596a4
[]
no_license
lkeab/TensorflowLearning
41b2c398dbb31d9b9d1f68f803d70302456710e8
10966895ea75cd535a0bf4afa7f3b315034af688
refs/heads/master
2021-06-15T23:47:35.048270
2017-04-28T15:57:18
2017-04-28T15:57:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
import tensorflow as tf input1 = tf.constant(3.0) input2 = tf.constant(2.0) input3 = tf.constant(5.0) intermed = tf.add(input2, input3) mul = tf.multiply(input1, intermed) with tf.Session() as sess: result = sess.run([mul, intermed]) print (result) # 输出: # [array([ 21.], dtype=float32), array([ 7.], dtype=float3...
[ "kelei@kelei-MacBook-Pro.local" ]
kelei@kelei-MacBook-Pro.local
da52bea8aec81d030e60989ed400f41ae565ab4e
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/AvatarInputHandler/AimingSystems/magnetic_aim.py
e98baddd2fcd5c83008ec64dec6e1581580a0d82
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
4,511
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/AvatarInputHandler/AimingSystems/magnetic_aim.py from collections import namedtuple from itertools import chain import math import BigWorld from Math import Vector3, Matrix import math_utils class MagneticAimSettings(object): M...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
a74f8e12e408316a956d67875682a887f06f6857
b403c7fe56209472855dff451f0b6283d5471008
/Supplemental_Material/PythonProjects/13. PYGAME/Pygames/beep.py
42146572cce333a753c6e70e94d4ea0706a3a94b
[]
no_license
Sandbox4KidsTM/Python_Basics
842bde52796896e913fdb5cc349034c52092555f
68c95547ec1567958fc8069e6a4bb119e436211a
refs/heads/master
2020-03-23T01:06:29.363196
2018-08-10T04:32:58
2018-08-10T04:32:58
140,901,128
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
import pygame import time pygame.init() soundObj = pygame.mixer.Sound('beep1.ogg') beep2 = pygame.mixer.Sound('beep2.ogg') DISPLAYSURF = pygame.display.set_mode((400, 300), 0, 32) pygame.display.set_caption('Animation') time.sleep(5) i = 0 while i < 5: soundObj.play() time.sleep(1.5) # ...
[ "mitchslabrenz@gmail.com" ]
mitchslabrenz@gmail.com
1eee9e934a9cde950b55b870575bbfa1fae421f8
ce9cc55a0df31f5a50ea941c20070d6bc629bf2b
/artificial NN/ANN.py
9a1294b55be7d19fdf43f86d230e641bed27fc5b
[]
no_license
Prathmesh311/Machine-Learning
46fcff88ea9214cab9c7f931ff420eeae379adf7
bc75704b221bcd717fec1f4d839449c6d12d7acf
refs/heads/master
2022-10-23T03:37:59.058901
2020-06-19T16:04:08
2020-06-19T16:04:08
266,613,962
2
0
null
null
null
null
UTF-8
Python
false
false
2,137
py
# -*- coding: utf-8 -*- """ Created on Tue May 5 12:13:29 2020 @author: Psbho """ #import libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd #importing dataset dataset= pd.read_csv("Churn_Modelling.csv") x= dataset.iloc[:, 3:13].values y= dataset.iloc[:, 13].values #E...
[ "noreply@github.com" ]
Prathmesh311.noreply@github.com
d6457e1f59aa2e7f58e030cdc15209bc2e73432b
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/Recursion, Backtracking and Dynamic Programming in Python/Section 3 Search Algorithms/LinearSearch.py
9c9fe6d57bb2d080e174b09a72e7864fd9de6359
[]
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
489
py
___ linear_search(container, item # the running time of this algorithms is O(N) # USE LINEAR SEARCH IF THE DATA STRUCTURE IS UNORDERED !!! ___ index __ ra__(le_(container)): __ container[index] __ item: # if we find the item: we return the index of that item r_ index ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
9da3dc63c4160bddf0412161e64b56f96fa24a61
b66e26e274fbbd6b88c7a34f357a278983a8165c
/July_04_SelfNote_RandomDataGenerationExercise.py
e5917f89680dd5668d8e781bcad230cb9932c72b
[]
no_license
shubhs15/python_practise_files
5c90f316622670e366652be83e06895ae77bac9d
40b74dcfae641c218951136ceca91c66a34eba7b
refs/heads/master
2023-01-07T22:36:28.156789
2020-11-07T10:58:46
2020-11-07T10:58:46
282,397,406
0
0
null
null
null
null
UTF-8
Python
false
false
4,276
py
# -*- coding: utf-8 -*- """ Created on Sat Jul 4 15:56:59 2020 @author: shubhs """ # Python random Data generation Exercise # Question 1: # Generate 3 random integers between 100 and 999 which is divisible by 5 import random print("Generating 3 random integer number between 100 and 999 divisible by 5...
[ "noreply@github.com" ]
shubhs15.noreply@github.com
16c23d2345c5255cce4a8dd667ccae1d48a43dd6
2ffc81240edc918734d7de8f714fc3b0952a1641
/src/openprocurement/api/tests/chronograph.py
b3f0f69ac25ec9cb8093ba5ad7dd73b3d0d4dec9
[ "Apache-2.0" ]
permissive
VolVoz/openprocurement.api
4d0289260a630499991411eb0002fc90c760f0bf
9b3cbcaa39c900b67c928e1cb3099f4e9b9c2dca
refs/heads/master
2021-01-16T17:42:15.902838
2016-06-07T10:07:18
2016-06-07T10:07:18
50,173,269
1
0
null
2016-01-22T10:03:06
2016-01-22T10:03:06
null
UTF-8
Python
false
false
22,757
py
# -*- coding: utf-8 -*- import unittest from datetime import datetime, timedelta from openprocurement.api.models import get_now from openprocurement.api.tests.base import BaseTenderWebTest, test_lots, test_bids, test_organization class TenderSwitchTenderingResourceTest(BaseTenderWebTest): def test_switch_to_tend...
[ "krzroman@gmail.com" ]
krzroman@gmail.com
8b532e6ce010f813501d899e1d31df5b9d3f6088
c6fa02c9a344fa00ef2c84acd92c6b486d91112f
/testwikipedia.py
b1d3444f3e1122d2be88cd784bc275e6602950fc
[]
no_license
akpamaboris/Projet-5---Grandpy-Bot
3c5d43a2f92965c96652e7eef2894e9dac35b0fa
131dc42300dca3e3558f7faa707b08e79e451894
refs/heads/main
2023-03-02T13:12:01.232394
2021-02-09T09:16:57
2021-02-09T09:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import wikipedia #ask what the user want searchRequest = input("type what you want") #display the result of the original search print(wikipedia.summary(searchRequest, sentences= 5)) #display some suggestion searchResult = wikipedia.search(str(searchRequest),results=10,suggestion=True) print(searchResult)
[ "zeliwipin@gmail.com" ]
zeliwipin@gmail.com
3448dac14a3b727d73daa977c7f47b07628d492b
4316e03d2238e35a83b5d9c30f7bd4fff1fd75c7
/utrader/strategy/firstTrader.py
e785bd07730282b2a87362c9b466c6096b3849aa
[ "MIT" ]
permissive
ongbe/pymisc
bde92c85dc2042095967346f997e0c100454bcdf
cab57edbbd63b7808a634a9be9f6f7b299e77a0b
refs/heads/master
2021-01-22T10:18:34.644743
2015-01-16T02:24:04
2015-01-16T02:24:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,906
py
# -*- coding: utf-8 -*- import datetime, time, csv, os import numpy as np from utils.db import SqliteDB from utils.rwlogging import log from utils.rwlogging import strategyLogger as logs from utils.rwlogging import balLogger as logb from trader import Trader from indicator import ma, macd, bolling, rsi, kdj from strate...
[ "rolandwz@live.cn" ]
rolandwz@live.cn
7ff75df2b1c5c0598e410fe69b426aac9c93a5e6
40a98f04cba8a8cebda553d5a4bde3ceb95fce3c
/HW2-1 Mathieu equation, discrete variable representation, Matrix - QR algorithm/HW2-1(4).py
385c4250da053a8d1d225a827ade942e0cfd29cf
[]
no_license
Kevinwty0107/Computational-Physics
027551fdb72056ce1459c9af0c4eb21d02321ecb
7ac7f5f17aa8bf71df4c1e38164ceaa932a980d2
refs/heads/master
2020-06-18T07:41:43.525185
2019-07-10T14:22:39
2019-07-10T14:22:39
196,199,186
0
0
null
null
null
null
UTF-8
Python
false
false
7,321
py
#!/usr/bin/python # -*- coding: UTF-8 -*- import math import cmath import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter from pylab import * # 导入pylab,构建类似于MATLAB的环境,用于画图 temp = input("请输入M...
[ "noreply@github.com" ]
Kevinwty0107.noreply@github.com
f5bfde126a6a29df67ecd1d7a45fad17ddaf16e7
2e7d48b0364e7c3ec50e2f01f4523092547f0b8c
/employee/settings.py
a6b423bd2a286935b9d13f937589944d29ef4088
[]
no_license
Keval-panchal/employee-management
338cdc4904dceafbe5ee071d00b928422621f28f
cb3de71c40f146049dd6a6b8e2b32112d80426f0
refs/heads/master
2023-02-25T10:20:42.527422
2021-02-04T11:46:50
2021-02-04T11:46:50
335,952,295
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
""" Django settings for employee project. Generated by 'django-admin startproject' using Django 3.1.3. 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 pathli...
[ "kevalpan16.com" ]
kevalpan16.com
fa8ea96429fc4b294c397204d76fff3738c33ffb
39230d5ba9ded4155f362c83c472b6b1015ef4db
/movies_django/settings.py
a96d26c841525f1466c8ad51766e07a5eb9c037f
[]
no_license
arjunrawal07/Movie-Plots
b86613b69372acc06601d41ae7610860f2ebca81
074828d6d1feb85342fc2eff0fd6d0fb15d74348
refs/heads/master
2023-01-08T00:40:23.180199
2020-11-10T19:10:43
2020-11-10T19:10:43
311,683,042
0
0
null
null
null
null
UTF-8
Python
false
false
3,219
py
""" Django settings for movies_django project. Generated by 'django-admin startproject' using Django 3.1.3. 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 p...
[ "arjunrawal07@gmail.com" ]
arjunrawal07@gmail.com
66f644a91d7add2131a05963c6eb5dac0ff9b621
1d583fb6fb8a6661f368cc25c528d87a7536bfa0
/settings.py
ef84ec02f9f8e8a1b38e750bdf8459d953e142ad
[ "Apache-2.0" ]
permissive
gtxll8/Project-P4-Conference-Organization-App
43cd550a0330653e0dde37e9e632f02c2ebddf8b
23ad8773aebcf3ba6bacc4a634a6739ddc89b3a9
refs/heads/master
2020-04-05T22:54:00.339481
2015-09-17T09:28:42
2015-09-17T09:28:42
35,813,384
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
#!/usr/bin/env python """settings.py Udacity conference server-side Python App Engine app user settings $Id$ created/forked from conference.py by wesc on 2014 may 24 """ # Replace the following lines with client IDs obtained from the APIs # Console or Cloud Console. # Replace the following lines with client IDs o...
[ "george@chessborg.com" ]
george@chessborg.com
4e3f41a323d30710143803f160a04747c356ac10
469b6c6e2b65778765b29d155396b080f3ee29b6
/qscli/symbol.py
22cd5c814333c4677e06482dc4bbd36210ab15aa
[]
no_license
lexBuright/qscli
2ef8d5c40c4f08142c3ea08c456adcb1e8f4ea48
cb88a6a6abd64b5740d8dd62bd1da834172c36ab
refs/heads/master
2020-12-02T01:04:15.291557
2016-12-08T12:13:26
2016-12-08T12:13:26
67,081,486
3
0
null
null
null
null
UTF-8
Python
false
false
304
py
class Symbol(object): def __init__(self, name): self._name = name def __repr__(self): return 'Symbol({!r})'.format(self._name) def __eq__(self, other): if isinstance(other, Symbol): return self._name == other._name else: return False
[ "lex.buright@gmail.com" ]
lex.buright@gmail.com
e3705b6e3e6596ddd767432482b987a329d5b992
8c8ee70cd4fa1bf99180b5690ad56d806a3a96aa
/auth-service/app/core/startup_message.py
06290494a487e698f38a8828429312fb66a03cf6
[]
no_license
dharm1k987/canvote
705751e5e995992621b6201672315793a84757b7
92f6ff55a8bf87342b66dfe9ff7467377e17bdba
refs/heads/master
2023-03-11T06:32:35.797158
2021-02-20T18:56:59
2021-02-20T18:56:59
289,162,232
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
import logging def log(): logging.info( "\n ____ __ __ _ \n" "/ ___|__ _ _ _\ \ / /__ | |_ ___ \n" "| | / _` | '_ \ \ / / _ \| __/ _ \ \n" "| |__| (_| | | | \ V / (_) | || __/\n" " \____\__,_|_| |_|\_/ \___/ \__\___|\n" "Dharmik Shah; Alvin...
[ "alvin.tang@mail.utoronto.ca" ]
alvin.tang@mail.utoronto.ca
bc735b594f08d9cb31e34ac012ba93917a178661
993c29f923427c109660d3bdf468dbc093138b0d
/home/models.py
77098972f9d0d35f00e1710a76ed0764a029a521
[]
no_license
kavyak19inapp/BLOG
1b7911bfd3cb52843a485d811efc774eb413b08a
6c0dd6c914f92e653ee8e24941335be8686c999b
refs/heads/master
2020-03-25T01:30:53.656432
2018-08-02T04:19:07
2018-08-02T04:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User class Post(models.Model): title=models.CharField(max_length=500) user=models.ForeignKey(User) date=models.DateTimeField(auto_now=True) text=models.TextField(null=Tru...
[ "kavya.k@inapp.com" ]
kavya.k@inapp.com
42326f79d5563207aaa63ef2efacb5a69da5ad3f
ddf19cdb482804479d5591f579251a7554514114
/contactproject/contactapp/migrations/0001_initial.py
5b208dae2ce665f2e41a79c58d23ee446c666506
[]
no_license
RAM1119/FEED-BACK-FORM
435d5c95c29bc2f7f9b6676b9fc9f28351cb8131
3cd00d4f07c9aadf3d1f517d3e2397024c5e76f4
refs/heads/main
2023-06-26T18:00:27.928839
2021-07-24T07:57:18
2021-07-24T07:57:18
389,033,415
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
# Generated by Django 3.0.8 on 2021-06-15 06:07 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', models.AutoField(...
[ "66633022+RAM1119@users.noreply.github.com" ]
66633022+RAM1119@users.noreply.github.com
6278bc47adfd78ab192a9368c3a4bd8619e60f7b
6d8565e2412125db2ab4c458e74826558ec36aab
/Old Data Filling Scripts/First_Mission_Scripts.py
a0b167925b780448be482a524167c9c679e1c72d
[]
no_license
Matt88Ac/Hilbert-Huang-Transform-Super-Resolution
61fced1012d1105b02c8dbb78a0059baec9a7287
c03ab4598c044ae893c9d88e03cf75f8d947cd12
refs/heads/master
2023-01-04T20:12:06.347773
2020-11-10T14:24:40
2020-11-10T14:24:40
286,526,251
0
1
null
null
null
null
UTF-8
Python
false
false
7,525
py
from Develop.EMD2D import EMD2D import numpy as np import pandas as pd # from matplotlib.pyplot import imshow, imread import cv2 import os import platform from PIL.Image import fromarray # import time class Run: def __init__(self, csv_name: str): self.table = pd.read_csv(csv_name) # self.table = ...
[ "Matt8ac@gmail.com" ]
Matt8ac@gmail.com
808a63ee09068286a0356c2c688589f9f0f8c100
0ce9a72c7d66b71f95ce34ac9103b11026a14e4e
/brisk/src/util.py
ae08b60db6ce08bfb862743c2c9b99371e3ece46
[]
no_license
yanqingda/web-crawlers
9eebafdb55cd9d968f8b33d2f835ad905c300cd0
0b4b04e5b432f2bbfd930b11cb71f0e144ad9cfe
refs/heads/master
2020-09-25T13:57:51.417822
2019-09-23T09:02:07
2019-09-23T09:02:07
226,018,013
0
0
null
2019-12-05T04:45:34
2019-12-05T04:45:34
null
UTF-8
Python
false
false
4,035
py
import abc import logging import os import random import threading from configparser import ConfigParser import bs4 import redis import requests from requests.models import Response from src.constant import ua class Logger(): _instance_lock = threading.Lock() def __new__(cls, *args, **kwargs): if no...
[ "96486d9b@gmail.com" ]
96486d9b@gmail.com
79c72c07ad565a711f39bbc2ccd572d86aab50e6
3929e04d4f075a22fd12817366046ab8db5cf5f8
/km-52/Mitrokhin_Oleksii/project/Code/source/dao/user_stuff.py
0184719ec801e05d2e15cdceec568c46eb67f7ee
[]
no_license
oMitrokhin/dbisworkshops
29c2dd3cd102bf36d5cf886f969885a4619885ba
9e780aadaa462b76102ff0a2c68394aa40afdec5
refs/heads/master
2020-04-05T19:14:55.030318
2019-01-23T05:52:15
2019-01-23T05:52:15
157,125,628
0
0
null
2018-11-11T22:04:36
2018-11-11T22:04:36
null
UTF-8
Python
false
false
5,853
py
import cx_Oracle from source.dao.connect_info import * from datetime import date, datetime def getUserIndex(user_email): connection = cx_Oracle.connect(username, password, databaseName) cursor = connection.cursor() cursor.execute('select * from "User"') result = cursor.fetchall() index_m =...
[ "noreply@github.com" ]
oMitrokhin.noreply@github.com
52f9db58c0d8c17852b4481883512118c48a03cb
24b1fa231f4e89f1a588c09ebee6fe4da6915c53
/Python/ComplexNumbers.py
8fc7cf399e2d2410ccb14b48589942a35939b65c
[]
no_license
cyrt63/demos
a429214154cf0e51b58710f67670e1d902bfcac6
a4b54b862dba4ad33a707511896324829f4cc7b1
refs/heads/master
2020-04-08T13:51:40.823058
2015-04-21T14:01:41
2015-04-21T14:01:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from cmath import * z = complex(11.0, 7.0) w = complex(5, 3) print z.real print z.imag print "----------" print z print str(z) print repr(z) print "----------" print z + w print z - w print z * w print z / w print "----------" print z == z print z != z print z == w print z != w print "----------" print phase(complex(...
[ "geometryzen@gmail.com" ]
geometryzen@gmail.com
a5e0a9363d93f8f79bc98a1cb66fb9397826adc5
e693f5662dfca3d66297f9633ade77b6f4165319
/balance_keeper/withdraw_all.py
9be1a8c1a5129eb34d5f08cb044d245b896261d8
[]
no_license
AlexChien/operation_tools
8c502b54472f86d063adfcaf18f3c524092be732
e3d137ba7c5c7122a42237f820b58d90181ac139
refs/heads/master
2021-01-18T12:01:10.444027
2015-01-13T16:56:46
2015-01-13T16:56:46
27,987,778
0
1
null
null
null
null
UTF-8
Python
false
false
1,963
py
#!/usr/bin/env python # coding=utf8 # withdraw all delegate pay to the account specified in the config import requests import sys import os import json import getpass import time import datetime from pprint import pprint BTS_PRECISION = 100000 config_data = open('config.json') config = json.load(config_data) config...
[ "alex.chien@koocaa.com" ]
alex.chien@koocaa.com
3f9b3067b2302ff609c39947cbfd6ebfa43915a4
bfc7f86ed56ad6398e177b1411256cfb4cc1b172
/models.py
a87493b10e430bf2c8fe9acbff759e0b22c070cd
[]
no_license
nnkkmto/product-based-neural-networks-tf2
7043db4378bf3472b492018919aeb98d8617cd7c
5ea500529d981ea7e7d84d46b1db92c922ed8505
refs/heads/master
2022-12-24T10:11:07.790384
2020-09-24T12:52:13
2020-09-24T12:52:13
298,277,658
1
0
null
null
null
null
UTF-8
Python
false
false
5,952
py
""" ちょっと論文と相違あるが、 https://github.com/Atomu2014/product-nets をベースに実装する """ import itertools from collections import OrderedDict import tensorflow as tf class EmbeddingLayer(tf.keras.layers.Layer): def __init__(self, features_info, emb_dim, name_prefix=''): """ sequence対応のembedding layer """...
[ "rbnok.lec@gmail.com" ]
rbnok.lec@gmail.com
02207e34859396112b0390e2fa0cd14679d35a75
4cc17852dfa61c508cccc50325bea34f02fbe711
/spotbox/spotboxplayback.py
fb7a9f2dae53183f971a9fe156948ab0ae57c060
[]
no_license
kzsu/spotbox
a408a2d192ba05c5f2b3ee760e482e4ee079cf5d
a888c3a957f25e1576ac46a0243e361d10a615e9
refs/heads/master
2021-01-21T19:27:26.280329
2019-04-17T04:55:40
2019-04-17T04:55:40
18,824,477
0
0
null
2019-04-17T04:55:42
2014-04-16T02:46:08
Python
UTF-8
Python
false
false
3,097
py
#!/usr/bin/python """SPOTBOX media playback backend""" # Note-- non-iTunes mode is not yet fully implemented. class Playback: """A playback object, allows for audio files to be loaded, played back, and stopped whilst playing. """ def __init__(self): pass def initialize_one_player(self, ...
[ "bufordsharkley@gmail.com" ]
bufordsharkley@gmail.com
4cc4ac19939b02652c2a1adf8f6b0f1df2edc107
09edc17c381061e2725f3b4bd67cfb7e546e0918
/Zylabs10-19.py
c11415c497acc80d4fb338b6ce14f6724bff00a4
[]
no_license
AMOviedo15/Homework3
ab34d35131e85d0a51c5d1dbe254b9c0cc3a903e
c1977af43fd33fdc72223124b2087c982e01f5a5
refs/heads/main
2023-03-29T02:30:23.170717
2021-03-31T02:00:22
2021-03-31T02:00:22
352,417,735
0
0
null
null
null
null
UTF-8
Python
false
false
5,568
py
# Aaron Oviedo 1990958 class ItemToPurchase: def __init__(self, item_name = "none", item_price = 0, item_quantity = 0, item_description = "none"): self.item_name = item_name self.item_price = item_price self.item_quantity = item_quantity self.item_description = item_description ...
[ "noreply@github.com" ]
AMOviedo15.noreply@github.com
50d9481dbc0429d159fb1ee590a9643f6adb4098
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/vb25/plugins/SettingsDMCSampler.py
5efb838f6b0f38ed09b7546196157f7e15f47e50
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,919
py
''' V-Ray/Blender http://vray.cgdo.ru Author: Andrey M. Izrantsev (aka bdancer) E-Mail: izrantsev@cgdo.ru This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Li...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
2386c917a9a025f2355f298daccaee6c493f51b8
000c243b4c30bd089867f73ca1bcfede1c3ef801
/catkin_ws/src/mobile_mini/nodes/odom_node.py
f8573100b78c49d0563828fdf837aa651876695d
[]
no_license
dangkhoa1210/SLAM-AND-NAVIGATION-FOR-MOBILE-ROBOT-OUTDOOR-INDOOR-
b4d9bf2757d839d9766d512c2272731300320925
7273ea9e966353440d3993dcba112bc0a2262b98
refs/heads/master
2023-07-15T14:07:17.123812
2021-09-02T10:12:30
2021-09-02T10:12:30
402,361,868
0
0
null
null
null
null
UTF-8
Python
false
false
2,943
py
#!/usr/bin/env python import math from math import sin, cos, pi import rospy import tf from nav_msgs.msg import Odometry from std_msgs.msg import Float32 from geometry_msgs.msg import Point, Pose, Quaternion, Twist, Vector3, Vector3Stamped class Odom: def __init__(self): rospy.init_node('odometry') ...
[ "dangkhoaphamdang1210@gmail.com" ]
dangkhoaphamdang1210@gmail.com
ab55dfbe379ee0110feb62dc7fbdb9dca0599ae0
5d65b2a333e540ce56beef40f9bc1cb3eb47acc4
/lab5/lab5_c_1.py
37f627074803d841bfaba7c10576ab5ccb828638
[]
no_license
gsrinivasaragavan/Frosh_year
92acd0198916c3b992292118643e2c4a1dceac51
0c66c320426701724838b1635b0e8a12a381be2e
refs/heads/master
2021-05-02T08:41:28.185717
2018-02-09T05:22:09
2018-02-09T05:22:09
120,812,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
from tkinter import * import random # Graphics commands. # Event handlers. def key_handler(event): '''Handle key presses.''' global randcol key = event.keysym if key == 'x': circles.remove(o) elif key == 'c': randcol = random_color() def button_handler(event): '''Handle left m...
[ "noreply@github.com" ]
gsrinivasaragavan.noreply@github.com
21ea83c155990c96c2221f51b606827f36853cca
0779b779ad4146086dfa05a0834161859cda3412
/chessfftomo_process_changes.py
02a83c1646a39d760a0010b0074ea4cfbfc1f6d5
[]
no_license
mskoly/nsls2-xf-utils
4adb755862943c1cd7ad00fd862890f8f5a505e8
aa9c4c7021d0361687991e642d67e2c262832996
refs/heads/master
2021-06-15T15:34:52.457459
2017-03-22T12:11:31
2017-03-22T12:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,060
py
import tifffile import matplotlib.pyplot as plt import os import numpy as np from scipy.ndimage.interpolation import shift import tomopy import scipy.ndimage import skimage.measure import cv2 def chess_fileio_proj(datapath, prefix, fnumstart, fnumend, imgsize = [2048, 2048], prin...
[ "gwilliams@bnl.gov" ]
gwilliams@bnl.gov
bc902c545cc284279a0d4febb73e91c0e6ea1c96
03f89bd5b468c2d7b55109b2b0cf895e504d5a2c
/vehiculos/urls.py
0ed703c03839b4ef3d85afb8437a32c10f2e33ad
[]
no_license
juanse021/CRUD-Django
be3bf3b0f4cd76b94001e7abb6e5636485631753
ab539c5c764376ee47ae49002c1904bc1ff80406
refs/heads/master
2020-04-01T22:19:47.669123
2018-10-29T21:03:27
2018-10-29T21:03:27
153,702,334
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.urls import path from . import views app_name = "vehiculos" urlpatterns = [ path('', views.IndexVehiculo.as_view(), name='index-vehiculo'), path('editar/<int:pk>/', views.ModificarVehiculo.as_view(), name="editar-vehiculo"), path('eliminar/<int:pk>/', views.EliminarVehiculo.as_view(), name="el...
[ "juanse032194@hotmail.com" ]
juanse032194@hotmail.com
07eaa71415a1a424745e8bb3b8715c3faa56c03c
c1b05f9d1d142684e85e4f68873882004f64e46a
/parser.py
001576ea1c1f23425a52b8552f142d563223e4d6
[]
no_license
pablopgus/GoogleHash2018
3a89f426b74342511c894308f683cd48b799c6a8
f88dc5ba17bfccd8d5111f4dde430bad436bd022
refs/heads/master
2021-01-25T12:14:09.195099
2018-03-01T20:19:21
2018-03-01T20:19:21
123,460,743
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
import problem import ride
[ "pablopg@us.es" ]
pablopg@us.es
2b2dab1db3a1529bd37c531880c4c62094e555df
0545ffca7c830950b0ff1d7f5f5c4557377dc97d
/PYTHON/crud-intro/crud/urls.py
8d6b1654f4940168ade84306b4793d444013f72f
[]
no_license
snb5412/TIL
cb7b9cd4ed1ef60983fcc4981593afbfdc8c85b4
8f320ee1533347e541489d14e8ede6998c31631a
refs/heads/master
2020-05-26T21:37:47.077307
2019-06-18T04:14:51
2019-06-18T04:14:51
188,382,788
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""crud URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "snb5412@naver.com" ]
snb5412@naver.com
fd0ebb7e1af5468798010ada34fdf844a3079daa
cfe889896d8ab67abdb8bd072caab6e4d424dd1c
/tools/stm32writer/stm32writer.py
72783c9749003f1e72ca38b55d2b400ea62209cb
[]
no_license
tokuhira/my-first-stm32
a72d386d790c9f3413bb0b78f664b755abb44075
6fc4ba59af6e31ca478f2123393467ad501ee16d
refs/heads/master
2021-09-03T09:48:08.469740
2018-01-08T05:21:53
2018-01-08T05:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,121
py
#!/usr/bin/python # coding=utf-8 import sys, optparse, datetime import stm32_serial, stm32_cmd, stm32_data, stm32_prm import time def print_time(t): seconds = t.days * 3600 * 24 + t.seconds + t.microseconds * 1.E-6 print " time: %.3f s" % seconds try: # バージョン情報 version = "20171231py" print "stm32writer (...
[ "fukuno@TPC0165.local" ]
fukuno@TPC0165.local
09b41fe1713c499a3707221a8f4147fc00b88691
9990c9561b72398d9f6a2cb29b7ee63a68cf9607
/.history/higherarchy/urls_20200305145619.py
dded658b6051e4927f3520e6e40e3aa5c48988c8
[]
no_license
Imraj423/HierarchyD
46c78ea3be6836039ce357b06a3a3e32140d1868
f175f57bc0afd3f8366bec9d03c964d228877c4a
refs/heads/master
2021-02-19T01:43:25.018148
2020-03-05T20:50:20
2020-03-05T20:50:20
245,262,927
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
"""higherarchy URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "dahqniss@gmail.com" ]
dahqniss@gmail.com
cc58a0b6338f4dfdb20fded6efa4f8e0c8a200b6
2c7ac4b8924e14e3a2b6ceb8b0ebcee42a9e11c2
/moderngl-first/21_basic_colors_and_texture.py
0dc8d45601dc654c030e09742e67ceee7af89014
[]
no_license
curtkim/python-first
68c8b6559f01effcc3e31d723738ca08ad35a8c6
37dc399200940a40a489fa46375b186bb85aea8f
refs/heads/master
2023-05-25T05:56:57.910113
2023-05-21T13:48:15
2023-05-21T13:48:15
175,553,035
3
0
null
2022-12-30T21:33:45
2019-03-14T05:17:32
Jupyter Notebook
UTF-8
Python
false
false
3,619
py
''' Renders a floating, oscillating, 3d islans with lights ''' import numpy as np from pyrr import Matrix44 import moderngl from ported._example import Example vertex_shader = ''' #version 330 uniform mat4 Mvp; in vec3 in_position; in vec3 in_normal; in vec2 in_texcoord_0; out ve...
[ "iamteri@gmail.com" ]
iamteri@gmail.com
9abcce63356d59e66361230494b2b23d14306055
edcd74f8f65119bdbe737360c2ca33b4a6da160a
/python/problem-tree/construct_binary_tree_from_preorder_and_postorder_traversal.py
76aaec59ae60e971b3783fc4617a300b0e2335a2
[]
no_license
hyunjun/practice
72e83de6a1d5e04ddcd16526f16110ea2dd00373
5376dd48b1cefb4faba9d2ef6a8a497b6b1d6c67
refs/heads/master
2023-08-31T07:00:37.320351
2023-08-17T07:29:24
2023-08-17T07:29:24
2,704,126
3
2
null
2022-12-14T20:25:07
2011-11-03T18:28:44
Python
UTF-8
Python
false
false
1,396
py
# https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal from TreeNode import TreeNode from typing import List class Solution: # runtime; 44ms, 96.25% # memory; 12.8MB, 100.00% def constructFromPrePost(self, pre: List[int], post: List[int]) -> TreeNode: i...
[ "hyunjun.chung@agoda.com" ]
hyunjun.chung@agoda.com
06222960a80ce7b75c855ff580d8c7f29a6fe26e
522d1d73ce4fbcf120346353cd0fc891d335aab0
/jupyter_notebook/Constant strain triangle FEM.py
ccedd24750f1391a4b128cc517b63fdd79b296b5
[]
no_license
YuanzhongLi/ryouiki_project
253ee7c1474929b5928e3047030bc5892358e36f
88e4ca1154d18edbbe30df90fe5bef6d1182a1d9
refs/heads/master
2022-11-30T00:05:13.546978
2019-05-30T14:05:58
2019-05-30T14:05:58
185,770,812
0
0
null
2022-11-22T03:52:55
2019-05-09T09:41:35
Jupyter Notebook
UTF-8
Python
false
false
6,804
py
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.3 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- import numpy as np import panda...
[ "liyuanzhongutokyos1@gmail.com" ]
liyuanzhongutokyos1@gmail.com
f3f8702eff0c3a6aa0948c50adf4412c1c23fde0
da961430b06561ade3bd52ac3a51306f0b9c38c1
/weatherManager.py
0d46e79d4d8e48fd7877057c784b8a061e6bb5bb
[]
no_license
diegomtzg/MirrorX
b26bb96e37419df827341f702fe1314a5cc854a4
1bbf2283b50232ba07652ed252363efe0ad6f058
refs/heads/master
2021-05-12T03:00:00.175011
2021-02-24T02:07:59
2021-02-24T02:07:59
117,604,099
0
2
null
null
null
null
UTF-8
Python
false
false
5,828
py
import requests import json import smartMirrorManager from PyQt5.QtWidgets import QWidget, QLabel, QVBoxLayout, QHBoxLayout from PyQt5.QtGui import * from PyQt5.QtCore import * import cv2 weather_api_token = '9435a4c25a087440d56cc46775e1eb0d' icon_lookup = { 'clear-day': "assets/Sun.png", # clear sky day 'wi...
[ "diegomtzg96@gmail.com" ]
diegomtzg96@gmail.com
11522354a2bbbd3a1bbc767b1e20a0c49805ff61
cabf0d5e3a975856372e524ca36c5d86ef03693e
/bandits/uniform.py
5643655303f787791760b54aeec601c3943dde59
[ "MIT" ]
permissive
XiaoMutt/ucbc
37d418b7e27872128cba569539e728d3793df712
f8aeb65dc5a11ecd82fd969d120f3a848d61c064
refs/heads/main
2023-04-02T20:10:48.079061
2021-03-27T18:57:57
2021-03-27T18:57:57
342,926,612
0
0
null
2021-03-26T06:38:10
2021-02-27T18:18:28
Python
UTF-8
Python
false
false
442
py
from .basis import Bandit import numpy as np class UniformBandit(Bandit): def __init__(self, thetas): self.thetas = thetas self.means = [sum(theta) / 2 for theta in self.thetas] self._narms = len(self.thetas) self._qstar = max(self.means) def reward(self, action): retu...
[ "4534614+XiaoMutt@users.noreply.github.com" ]
4534614+XiaoMutt@users.noreply.github.com
e75a79d3dc9901ae6c20f864ed8084b64d6b70ec
bdc50b6a605b7547ebb5ac943a74ed32f5e072db
/tvshows/models.py
1b78d77a2b174ae04372ddcdb8021945c5f5e56e
[]
no_license
oliwiajakobsche/TVShowsWatchlist
344e93f833e6979736991d150e13cbe769ef4700
55fd6d4b7fbe70b3d937ca91a8a3bc9f3e795a70
refs/heads/main
2023-03-16T10:09:15.678132
2021-03-02T08:02:18
2021-03-02T08:02:18
343,084,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
from django.db import models from django.urls import reverse class TvShow(models.Model): title = models.CharField(max_length=100) genre = models.CharField(max_length=100) poster = models.CharField(max_length=1000) description = models.CharField(max_length=2500) productionCountry = models.CharField(...
[ "liqhta@gmail.com" ]
liqhta@gmail.com
07a24f1729d4a2432a856375330304ab95d63532
80301f1cffc5afce13256e2ecab6323c5df00194
/en.sc/py/T3118.py
3fdd76440f95aa378f5b9d1f5c80e21089975bce
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
24,466
py
from ED6SCScenarioHelper import * def main(): SetCodePage("ms932") # 蔡斯 CreateScenaFile( FileName = 'T3118 ._SN', MapName = 'Zeiss', Location = 'T3118.x', MapIndex = 1, MapDefaultBGM = "ed60013", Flags ...
[ "zj.yang@qq.com" ]
zj.yang@qq.com
27b370638101e981b31018588db62b2ab0f4b00e
ecad2803537295a24fe8274f99dfb85ead3a7191
/debian/python-nova/usr/lib/python2.7/dist-packages/nova/console/rpcapi.py
68d2a9caed42d286fb0d97ff1c12b0a077894ce8
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
permissive
bopopescu/stacklab-nova
98400585ec3b4e3e94269dcb41578fffe7e2c8c1
4ab1698659b663ef222255610d1a5c042706dd65
refs/heads/master
2022-11-20T12:07:18.250829
2012-12-13T04:43:00
2012-12-13T04:43:00
282,166,345
0
0
Apache-2.0
2020-07-24T08:31:57
2020-07-24T08:31:56
null
UTF-8
Python
false
false
52
py
../../../../../share/pyshared/nova/console/rpcapi.py
[ "yuanotes@gmail.com" ]
yuanotes@gmail.com
5d445ef9a92772fcdbfe91bec49281ac6d79d587
61d3d9791a6365d5b9b4f1bbbbed3f7aa7474dec
/day6/part1.py
433c318c4d451891925fd288d918438d2679bcb4
[]
no_license
aezick/adventofcode2018
45067234b34499a3fe4d43d6c038e1a7cdd981ce
62b030628a51d21502e7c3d1935edce918434ae7
refs/heads/master
2020-04-09T16:59:20.539655
2019-01-13T20:40:49
2019-01-13T20:40:49
160,468,035
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
import sys from string import ascii_lowercase import itertools # from https://stackoverflow.com/a/29351603/2521402 def iter_all_strings(): for size in itertools.count(1): for s in itertools.product(ascii_lowercase, repeat=size): yield "".join(s) def get_xy(loc_str): x,y = loc_str.strip().split(",") y = y.stri...
[ "aezick@umich.edu" ]
aezick@umich.edu
0f59ff4bae4e87d53ecbc7d9321cb49e072f21bc
51a065360b8b2f4a8cde43842a357b729ce6931a
/computer/roadLine_main.py
cdc86a2b3620244f9fc989312dab770727ae14ef
[]
no_license
muratory/perception
8fd95c1a865c5f2317c61110906856fd1eaa9f2d
23b03a3d33d526318e85748d978c48782298fd4f
refs/heads/master
2021-05-15T22:39:28.659715
2018-06-17T16:43:44
2018-06-17T16:43:44
106,734,394
0
0
null
null
null
null
UTF-8
Python
false
false
16,382
py
import cv2 import numpy as np import threading import Queue import time from scipy import stats from RoadLaneDetection.road_lane_detector import PID_process from roadLineDetectionModel import LineDetectionModel #libraries from deep drive from commonDeepDriveDefine import * from commonDeepDriveTools import * from Key...
[ "pierre.muratory@gmail.com" ]
pierre.muratory@gmail.com
fd50dc99e889727458cb06d43d27cffc4a7f7eea
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02957/s350657390.py
f4234eb1e4a776337083c3a01b5e677877675e22
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
a, b = map(int, input().split()) if (a + b) % 2 == 0: print(int((a + b) / 2)) else: print('IMPOSSIBLE')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6656b3302df4f76204c5bf1b99e54910109616bf
3cda2dc11e1b7b96641f61a77b3afde4b93ac43f
/test/algo/nas/oneshot/test_supermodules.py
adced554c2d8fce7979ba530084a26eaf6441a89
[ "MIT" ]
permissive
Eurus-Holmes/nni
6da51c352e721f0241c7fd26fa70a8d7c99ef537
b84d25bec15ece54bf1703b1acb15d9f8919f656
refs/heads/master
2023-08-23T10:45:54.879054
2023-08-07T02:39:54
2023-08-07T02:39:54
163,079,164
3
2
MIT
2023-08-07T12:35:54
2018-12-25T12:04:16
Python
UTF-8
Python
false
false
28,697
py
import pytest import numpy as np import torch import torch.nn as nn import nni from nni.mutable import MutableList, frozen from nni.nas.nn.pytorch import LayerChoice, ModelSpace, Cell, MutableConv2d, MutableBatchNorm2d, MutableLayerNorm, MutableLinear, MutableMultiheadAttention from nni.nas.oneshot.pytorch.differenti...
[ "noreply@github.com" ]
Eurus-Holmes.noreply@github.com
5c914f4e2ba72ae4caca56ff63339c0e19d94c73
4fbc38e98155271715af079619e0bed99c94a4a7
/tasks.py
855b83a923d235c899a83737a23a4e581c99743e
[ "MIT" ]
permissive
alexwall1/souocr
f6c3f04beb1ae74ceb4dd91700168fe227a7e0f2
1be89e0128ee88df70dcb0ee4c1b9875c9c066c5
refs/heads/master
2020-03-21T05:32:54.635280
2018-07-18T05:59:11
2018-07-18T05:59:11
138,165,780
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
# coding=utf-8 from db import init_db from processing import preprocess_pdf, match_patter_in_pdf, generate_images_from_pdf, ocr_images, create_xlsx from flask_mail import Message from app import app, mail from celery import Celery def make_celery(app): celery = Celery(app.import_name, backend=...
[ "wall.alexander@gmail.com" ]
wall.alexander@gmail.com
e5ad0cf35b8e6f7ada167ad241b0c009ca450d51
65c42b99dc30a14f4e69107ceac469040360262b
/kattis/froggie.py
f71c36be82b0defaf47286168a7b92a28aedc7e5
[]
no_license
jeffriesd/competitive-programming
4bee021ce6c33863160abb75613f92bf3db96d80
4381f49fa96fcc029ed5af417660ffc57366edd5
refs/heads/master
2023-08-11T03:50:35.510865
2021-09-20T00:16:35
2021-09-20T00:16:35
404,136,105
0
0
null
null
null
null
UTF-8
Python
false
false
4,378
py
# problem: https://open.kattis.com/problems/froggie SAFE = 0 CAR = 1 HIT = 2 class Lane(object): def __init__(self, width, offset, interval, speed, direction): self.lane = [0] * width self.width = width self.offset = offset self.interval = interval self.speed = speed self.direction = directi...
[ "danjeffries96@github.com" ]
danjeffries96@github.com
1b92f16bfc8e23a009a4585ed7666b003279827e
d597f0ae563840819dc8e91a15af7970cd26bf34
/ch1-straightline/straightline_prog.py
7580d0c1433f1e6677aa0f3ec57124d97d94607c
[]
no_license
mgasner/compilers
d8fdaa07cfddbdfbadfe8416cf277ef131fcae77
7cf2034fb311d6e69051e3a13c30403f3a7af527
refs/heads/master
2016-09-06T04:54:20.448847
2011-09-12T15:39:37
2011-09-12T15:39:37
2,370,178
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from straightline_ast import * from straightline_interp import * # a := 5 + 3; # b := (print(a, a - 1), 10 * a); # print(b); prog = CompoundStm(AssignStm("a", OpExp(NumExp(5), OpExp.Plus, NumExp(3))), CompoundStm(AssignStm("b", EseqExp(PrintStm(PairExpList(IdExp("a"), LastExpList(OpExp(IdExp("a"), OpExp.Minus, NumExp...
[ "max@naviasystems.com" ]
max@naviasystems.com
e9adaec2a1a45e9847c2b9f5915e8a03220872e7
ace860f60e380d47ad40ad9e21192cb069853bd8
/DjangoWebProject3/app/tests.py
844ba9b1e8a6d95c8211cb12ed29a58726692bfc
[]
no_license
wilsonmwiti/djangoXumpesa
9b28b3063490dd536867e517ee546436cc72b0f5
1e74fb6c7e79504831a1ce8a568375b1ab5d0a56
refs/heads/master
2023-03-15T15:13:46.567278
2020-09-08T11:44:03
2020-09-08T11:44:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from django.test import TestCase # Create your tests here. from django.db import models class UserInfo(models.Model): full_name = models.CharField(max_length=120, blank=True, null=True) email = models.EmailField() phone_no = models.CharField(max_length=14) timestamp = models.DateTimeField(auto_now_add...
[ "lewicpro@gmail.com" ]
lewicpro@gmail.com
05305e4124e3a937e6a0aa02bb0d251fc129ad9f
510bf23603569b8934ad03b3f94bb3764d40b5ad
/python/tagger.py
e550549a85ea2ed94faaa66d09a0e9e8b8c8ebea
[]
no_license
adambro52/projects
b036cfa7732a2ed90ed8bddfd4b7e19974594be2
2384a0a31a5007bc246afd2fb695b9c54be251b6
refs/heads/master
2020-05-04T11:14:04.123688
2019-05-24T04:06:30
2019-05-24T04:06:30
179,104,037
0
0
null
null
null
null
UTF-8
Python
false
false
3,015
py
import nltk, re from nltk.tag.brill import Template, Pos, Word from nltk.corpus import brown # Training and testing data: data = brown.tagged_sents(categories=['news', 'editorial']) train_data = [] test_data = [] for i, sent in enumerate(data): if i % 10 > 0: train_data.append(sent) else: test...
[ "noreply@github.com" ]
adambro52.noreply@github.com
2a606b13ecc95df1c9b75fb44178d4e46ce24fca
39a1540e602e316d7cbc0d85665490ae44c5f91b
/recommend/recommend.py
4ce7d52d53815ec2c01dc8e68dbbbd2cfc8a151f
[]
no_license
gmg0829/pythonLearninng
d60d2b828021dc3c8cd759b49691d6e1b27af9c5
fa4f98678878bbe3fa1c2d7d688871949194971e
refs/heads/master
2020-03-28T07:28:23.090774
2019-06-27T07:58:43
2019-06-27T07:58:43
147,903,689
0
0
null
null
null
null
UTF-8
Python
false
false
3,786
py
# 构造一份打分数据集,可以去movielens下载真实的数据做实验 users = {"小明": {"中国合伙人": 5.0, "太平轮": 3.0, "荒野猎人": 4.5, "老炮儿": 5.0, "我的少女时代": 3.0, "肖洛特烦恼": 4.5, "火星救援": 5.0}, "小红": {"小时代4": 4.0, "荒野猎人": 3.0, "我的少女时代": 5.0, "肖洛特烦恼": 5.0, "火星救援": 3.0, "后会无期": 3.0}, "小阳": {"小时代4": 2.0, "中国合伙人": 5.0, "我的少女时代": 3.0, "老炮儿": 5.0, "肖洛特烦恼"...
[ "minggang0829@gmail.com" ]
minggang0829@gmail.com
efc550766d2f85d636167c06605c01fa750912d7
5c34a86394aa1acc7d3749fdf573864b7f0a0b0e
/Patterns/2_1_Factory.py
3125ad419fec7bb9b92ab1d401287a0b5b579c09
[]
no_license
anuragbisht12/Object-Oriented-Design
0e7bbfec6768274e9a89e97613c386014adace9e
673b14271373b2af50baba44015f62f938b88235
refs/heads/master
2022-11-15T21:14:05.822629
2020-07-10T18:31:01
2020-07-10T18:31:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
# Advantages loose coupling # debugging modifcation is easier from abc import ABCMeta,abstractmethod class Animal(metaclass=ABCMeta): @abstractmethod def do_say(self): pass class Dog(Animal): def do_say(self): print("Bhow") class Cat(Animal): def do_say(self): print("Meow") #...
[ "anuragbisht12@gmail.com" ]
anuragbisht12@gmail.com
c66ff98294745a6e4ff0c9969ddbb0a46ddd5b7d
a4c187b20bd8086357272207272cba67f8c94e5b
/Applications/flask_website/main_website.py
ab3cde4157f52999a189fdde49ed56fcd46a0317
[]
no_license
robdale110/PythonCourse
a687216c8e7a1ff01dbd819e5839b5e4df0742d0
df2db16ced3ee4300987d3f62b9f38e771ced788
refs/heads/master
2020-04-15T00:12:47.525889
2017-05-19T12:51:04
2017-05-19T12:51:04
83,202,712
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
""" A Website """ from flask import Flask, render_template app = Flask(__name__) @app.route("/") def home(): return render_template("home.html") @app.route("/about/") def about(): return render_template("about.html") if __name__ == '__main__': app.run(debug=True)
[ "rob@robdale.me.uk" ]
rob@robdale.me.uk
e2919e6bd61973c23957b075902f53293404f478
9c0a2147c5d5438fb851d5db765d658861b2b1a9
/Weather/Weather.py
279ba55fc51a995bb9203f0e8b28f1e49296c6c4
[]
no_license
SviatikKh/Python
280e53af3bca0082a525122919e51d0c430ba34d
e3ce8aae1f7436bf9f5a690c832c50b14a39d247
refs/heads/master
2021-01-01T22:20:34.588843
2020-05-01T19:10:30
2020-05-01T19:10:30
239,367,854
0
0
null
null
null
null
UTF-8
Python
false
false
6,493
py
import os #клас одноразової реєстрації метеорологічних показників class MetHour: #Конструктор класу MetHour def __init__(self): self.temp = 0 #температура повітря self.press = 0 #атмосферний тиск self.humid = 0 #вологість повітря self.precip = 0 ...
[ "48651894+SviatikKh@users.noreply.github.com" ]
48651894+SviatikKh@users.noreply.github.com
20fd760807bbdf261bf2f9e8a228adfe5f009701
ac55f4bb4beb49f1ae6a1f0741f6b076cf39ea62
/multimedia.py
4e80344312b6920d13bceae8bff261623d4851a3
[]
no_license
ccpabonu/ReproductorMulti
44dd76d9f8b56b474cd6f98d6355c53c867d4f61
badaae8273498f2ebf179ec51afa8246d1664117
refs/heads/main
2023-03-21T04:01:57.124344
2021-03-12T01:40:52
2021-03-12T01:40:52
346,897,621
1
0
null
null
null
null
UTF-8
Python
false
false
27,286
py
import data.main as main #Importa todas las funciones y clases creadas en el archivo main.py import os "--------------------------------------------------------------------------------------------------------------------------------------------------------------...
[ "ccpabonu@unal.edu.co" ]
ccpabonu@unal.edu.co
8bb7883c390b5da7949d4597cd2a21c3eaba4a97
566f939e79ad4b55f6af2d216a4e7456cb427bca
/src/auto_register.py
c764bf34a7f000e143579ee63a86b26f818c97ff
[]
no_license
kenkioko/UDA_REGISTRY
d55bba46ba05846f9d653ab15dfca5d556a13130
45430bdebf4b239220dfc79de816c10d54143561
refs/heads/main
2023-04-30T08:59:00.886545
2021-05-16T20:38:06
2021-05-16T20:38:06
366,666,874
0
0
null
null
null
null
UTF-8
Python
false
false
2,498
py
import sys, time from src.csv_std.read import ReadCSV from src.csv_std.write import WriteCSV from src.request.register import Register from src.random.random_details import RandomMembers class AutoRegister: random_values = None skip = False input_file = None output_file = 'output_files/South C Members...
[ "kmkioko@gmail.com" ]
kmkioko@gmail.com
46bcaa0577681801f0e6d6c7405d4a6153fcd0f6
fdfb52b582d6d18963790a3e7bba0addecdee1cf
/snakegame.py
561b93390e27faa3f81fd7e42f36cc6161ff869d
[]
no_license
animeshsrivastava24/PythonScriptsForBeginners
bdf75fd871e282d973e3762abb7fb71d7a0b0170
19ad16b357403840ee7de0fab74a6039754bd149
refs/heads/master
2023-01-30T08:07:09.680960
2020-10-23T01:08:44
2020-10-23T01:08:44
300,156,826
14
23
null
2020-12-09T18:00:14
2020-10-01T05:30:37
Jupyter Notebook
UTF-8
Python
false
false
3,469
py
import pygame import time import random pygame.init() white = (255, 255, 255) yellow = (255, 255, 102) black = (0, 0, 0) red = (213, 50, 80) green = (0, 255, 0) blue = (50, 153, 213) dis_width = 600 dis_height = 400 dis = pygame.display.set_mode((dis_width, dis_height)) pygame.display.set_caption('Snake Game') ...
[ "zaireneann740@gmail.com" ]
zaireneann740@gmail.com
68f641c2cfef118e547fa4cd9a42dec6d4ca387a
ec1f0946f00840ca0bc8e708e94e730a1af5ffc5
/econ_indicator/models.py
778aa5c27e2296e694913cf726bb17737e46aef5
[]
no_license
jineshpaloor/Economic-Indicator
7a27c26b83018d49c4d2e774d66d0f1f35502c4d
fd05ea0eb44b11558c257d83f288c501d8ad65af
refs/heads/master
2020-04-06T04:00:34.581537
2012-11-08T20:43:41
2012-11-08T20:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
from django.db import models class EconomicIndicator(models.Model): Periods = ( ('yearly', 'Yearly'), ('quarterly', 'Quarterly'), ('monthly', 'Monthly'), ('weekly', 'Weekly'), ('biweekly', 'BiWeekly'), ('daily', 'Daily'...
[ "jineshpaloor@gmail.com" ]
jineshpaloor@gmail.com
873c11839f67f65389a683fca96939f3635e339e
0874abd0a592c952a7aad6f4642776168312aee6
/08-字典/04-改.py
50b13bfa6bbb04ef269cf75172a9449fe5d70b62
[]
no_license
EndIFbiu/python-study
075742d3923adad8061b5f720cabd4a33d3eb0a2
62a64a587077ef5f2dcd8a119ba56d3709073bf6
refs/heads/master
2023-02-10T08:14:08.144442
2020-12-27T12:23:14
2020-12-27T12:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
dict1 = {'name': 'tom', 'age': 20, 'gender': '男'} dict1['name'] = 'lily' print(dict1) # {'name': 'lily', 'age': 20, 'gender': '男'}
[ "270017772@qq.com" ]
270017772@qq.com
0ebbb1881fcb3109da74ad01e14f1f874de28ac0
c589d79394d3c010a3bf58eefb89e05b2dff3809
/scripts/stitch_ilastik_output.py
131e297d71fd8a10594167c231f1e6ade34e822f
[]
no_license
awedwards/bidc
94514f72b0f784fecf0f42d1f98102ce399d4fa3
fb3f16c3f82ad59eaf651b1af5919bf42683eb2e
refs/heads/master
2021-10-07T22:53:08.386219
2021-09-30T23:09:51
2021-09-30T23:09:51
172,561,313
0
0
null
null
null
null
UTF-8
Python
false
false
6,876
py
import os, sys import h5py import numpy as np import pandas as pd def stitch(dir_, filename='', output_file_base=""): files = os.listdir(dir_) pixel_map_files = [x for x in files if ("pixel" in x)] object_map_files = [x for x in files if ("Object" in x)] if len(pixel_map_files) > 0: do_pi...
[ "edwardsa@janelia.hhmi.org" ]
edwardsa@janelia.hhmi.org
f9c366cb6661374e0faacd2a30747609a9745b24
bb10214f18c3d8bfa5a5b38dfa010e565d248fbe
/impares.py
e5ebe79b57ca1356a7a034f366eead5933032c1e
[]
no_license
samanta-antonio/python_basics
5651e4b076aabee01ed0d2ecd12411f4d6906e40
d139a19a1febf00d8450193ad0d4c6fba2f09572
refs/heads/master
2023-04-20T06:19:50.981350
2021-05-04T23:31:16
2021-05-04T23:31:16
364,412,485
1
0
null
null
null
null
UTF-8
Python
false
false
291
py
#Receba um número inteiro positivo na entrada e imprima os n n primeiros números ímpares naturais. n = int(input("Digite o valor de n: ")) i = 1 contador = 1 if n == 0: print(i) else: while contador <= n: print(i) i = i+2 contador = contador + 1
[ "samantantonio@outlook.com" ]
samantantonio@outlook.com
7470c799cd2717e35010688327af5806f5713a5c
fed837fd141882bef3e7597a2ec92102e0a5adfc
/tests/tests_payment.py
7587e095028e7c037414676a4b1de13b81fd2b78
[]
no_license
junyuanxue/till_tech_test_python
55a0692cceaaae9bf3f73ee10fe1f7219c6e632c
99ac90cadb7226e499320191f7bdbe3e3eb74662
refs/heads/master
2021-01-12T19:24:28.588086
2016-05-23T19:57:38
2016-05-23T19:57:38
59,299,361
1
0
null
null
null
null
UTF-8
Python
false
false
510
py
import unittest from unittest.mock import MagicMock from app.payment import Payment class PaymentTestCase(unittest.TestCase): def setUp(self): self.order = MagicMock() self.payment = Payment(self.order) self.payment.pay(15) def test_pay_and_show_paid_amount(self): self.assertE...
[ "junyuanxue.is@gmail.com" ]
junyuanxue.is@gmail.com
c2e1b815accd196ae0e558abdb02f1f8af0d0ce5
2dd894afaecfe61feab44b139a040d3535357443
/lab3_sorting_analysis/lab3.py
e3c3bf015b623f03d8056525ef0c5e9e46b15290
[]
no_license
drakesong/algorithm_analysis
0c4675bb901da6894874df6c21fb155da179ac52
6e648830d93a599cd9f008bb9b5424bfe975c282
refs/heads/master
2021-04-03T09:27:11.702210
2018-03-12T05:55:51
2018-03-12T05:55:51
124,837,380
1
0
null
null
null
null
UTF-8
Python
false
false
4,529
py
# CS 317 Algorithm Anaylsis Lab 3 # Drake Song # Python 3.6 # All of the following sorting algorithms have been copied from CodeCodex with # some adjustments to make sure the program runs smoothly as a whole. import numpy as np import timeit import csv def bubblesort(input_list): lst = input_list[:] swapped =...
[ "drakesong216@gmail.com" ]
drakesong216@gmail.com
eb853cf090f273cd03482c3f9b264451ad4cd807
21696d3fdf99945efddfb16abfbe397d812e5263
/tests/PyPI-pytest/run_all.py
7fbd3f3263e73b4270389c15c3168bb2d73bc427
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
cuulee/Nuitka
3a24518308a09ad0d5e4f762444f991a08cb6828
8e2357ee8e9a93d835e98d5a88ca0181cc34dabc
refs/heads/master
2022-11-10T03:20:53.685313
2020-06-06T08:02:00
2020-06-06T08:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,533
py
#!/usr/bin/env python # Copyright 2020, Tommy Li, mailto:<tommyli3318@gmail.com> # # Python test originally created or extracted from other peoples work. The # parts from me are licensed as below. It is at least Free Software where # it's copied from other people. In these cases, that will normally be #...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
687f8708d600726685a989d8b1fda1b775002b0d
b1edcbadbffdeeaa0cb4a8536235413eeb1bfa47
/prime_sieve.py
1b85d8c5b5ecc03fc3104fb4a865c92bbc552beb
[]
no_license
sangazh/pythonds
5c883e3c27767e65647ca4df4b6ea7af119ee77c
1e7cbb11fc7e6ca9b432aba6a047dc3a35fe7b87
refs/heads/master
2020-07-14T03:50:43.658698
2017-09-05T07:49:40
2017-09-05T07:51:14
94,296,440
0
0
null
null
null
null
UTF-8
Python
false
false
2,044
py
input="""4 20 """ data = input.split() N = data.pop(0) def trial_division(n): if n < 2: return [] prime_factors = [] sieve = prime_sieve(n) for p in sieve: if p * p > n: break while n % p == 0: prime_factors.append(p) n //= p...
[ "zhangshan574@pingan.com.cn" ]
zhangshan574@pingan.com.cn
9d6179a77178aca3a8cdbdcc523d44497b168416
637a586746f6082c0f9bbc14580c392846ced059
/blog/admin.py
e6b9e4fdd99f38e5e0e67b70cb48041872620b38
[]
no_license
ZucchiniZe/genius
e7b1f3e950fec9e7945e14ccf8bf644f23c584bb
4631e2986505ab6ac6192c40ac6fe36e595a6152
refs/heads/master
2021-01-01T04:44:12.699055
2016-06-02T17:14:35
2016-06-02T17:14:35
59,334,963
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.contrib import admin from .models import Post class PostAdmin(admin.ModelAdmin): list_display = ('title', 'author', 'pub_date') admin.site.register(Post, PostAdmin)
[ "me@alexb.io" ]
me@alexb.io
e20607e7a54ed7e62c1d072206a5705632f3c2ae
d1cbae2014aa4b3d2643df12b047ef2572c6fd31
/softqlearning/policies/nn_policy.py
ffaec9f1991c61c0df723157d3e02498a9185209
[]
no_license
DaomingLyu/softqlearning
d102921f17039ae009fc988fe46d98c53582d35c
aca29d2aee66c44ee052a298f049a22fa14792a5
refs/heads/master
2021-07-20T17:21:52.505369
2017-10-29T19:37:30
2017-10-29T19:37:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,899
py
import tensorflow as tf from rllab.misc.overrides import overrides from rllab.policies.base import Policy from rllab.core.serializable import Serializable class NNPolicy(Policy, Serializable): """ NeuralNetwork wrapper that implements the rllab Policy interface. """ def __init__(self, env_spec, obs_pl, action...
[ "haarnoja@berkeley.edu" ]
haarnoja@berkeley.edu
138d1d06c40cb5d586879d84a2f0c29bb44699fc
2f44b715e473fab30d413987b228406e370903b0
/utils/other_utils.py
f5cb01b2cf0694e294b2a77513d0fc28ad3da765
[]
no_license
morduspordus/Gauss
b98f58c51fb2cc5676515a6698dfdeb2dfc0fc47
9c485fb8694170baed9d760b0c3a3ce67d8d4b9f
refs/heads/master
2023-02-19T13:05:08.178408
2021-01-12T01:50:36
2021-01-12T01:50:36
319,195,321
0
0
null
null
null
null
UTF-8
Python
false
false
6,581
py
import sys from utils.file_utils import FileWrite import os import random import numpy as np import torch class Logger(object): def __init__(self,file_name): self.terminal = sys.stdout self.log = open(file_name, "w",1) def write(self, message): self.terminal.write(message) se...
[ "kira14allon14" ]
kira14allon14
9d4dac40c4b17e570a2ca7b01e4d657925f34c0d
39b46908c644092202261589e0a571b5e46cfc64
/stockpractice/main.py
c50f605e68fd2422beb9ec2d550764d9e3a36943
[]
no_license
rhkdrod12/python_practice
7d66f31d5a3e0c707722f5434275e3fe4f5c0df2
40709ae98afd3d81c7a1353e887926f54524ba60
refs/heads/master
2023-02-17T06:48:56.897390
2021-01-06T07:24:07
2021-01-06T07:24:07
327,233,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
import os import time import fitz import requests # # doc = fitz.open("./test.pdf") # # print(len(doc) ) # page = doc.loadPage(0) # text = page.getText() # # print(text) # # total_text ="" # # for i in doc: # total_text = total_text+i.getText() # # file = open("./total_text.txt",'wb') # file.write(total_text.enco...
[ "rhkdrod12@gmail.com" ]
rhkdrod12@gmail.com
df0187d579f668c038a8699defe70436d549b641
545ed7962aaa0999585ab3004dcb8849832db7bb
/lib/tokenization/bert_finetune_tokenization.py
ee51d5d7a8982ad77c56803a99e529793fe445e7
[]
no_license
empty2enrich/QANet
7593f94e426419d6034ef33f03359e3944e758d9
d94550ce95c15af81dac1661d1aaa505bcd872d7
refs/heads/master
2023-02-27T15:40:43.070036
2021-02-09T07:42:51
2021-02-09T07:42:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,013
py
# -*- coding: utf-8 -*- # Copyright 2019 Huairuo.ai. # Author: Lin Li (li.lin@huairuo.ai) # # cython: language_level=3 # import collections import re import unicodedata import six import tensorflow as tf def load_vocab(vocab_file): """Loads a vocabulary file into a dictionary.""" vocab = collections.OrderedDict(...
[ "li.lin@huairuo.ai" ]
li.lin@huairuo.ai
a01098d3dbf5ee37122139e3341bac107cf7f612
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/c43.py
34d1e9279b6f0f045156e977f84d5cbd62ef33f1
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
87376efbe2418c17219977963bfaa8733fe5bd4e
f28a2348e07e7ca2ff065d73ed90262977080c4e
/zava-py/docs/source/_code/animation-demo.py
8f4967bf3e1b051df4d9316d1a081f7d0666bbc6
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
oneoffcoder/zava
18aa531e44643141a4095661358401f885bf3a06
95eba827a4422ab260a127794b33b2813746a634
refs/heads/main
2023-02-02T22:06:16.117497
2020-12-20T03:27:28
2020-12-20T03:27:28
320,114,529
8
1
null
null
null
null
UTF-8
Python
false
false
1,972
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib import animation from zava.core import GrandTour from zava.plot import SinglePlotter, MultiPlotter # 1. create or get your data columns = ['v0', 'v1', 'v2', 'v3'] M1 = np.array([ [1, 1, 1, 1], [2, 2, 2, 1], [3, 3, 3, 3...
[ "vangjee@gmail.com" ]
vangjee@gmail.com
6e3177191a4c67ffa80a3bfa59dd3232067b3abc
fc804267cfd53ef0f91cb799a1d13d97c2a72f06
/PacMan/Main.py
9de28437b0560872a05c6d151fd1428efeef6375
[]
no_license
Valentin2508247/pacman
b082ee262c7ff9ea1bdd7155ba369e081bb44015
33fa6c26ab38934ca955c105fe99fb7df18f795a
refs/heads/master
2020-08-16T16:23:48.294489
2019-10-16T11:03:55
2019-10-16T11:03:55
215,523,386
0
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
import pygame import sys import Map import Packman import GameObject import Blinky import Game WIDTH = 800 HEIGHT = 600 TILE_SIZE = 16 KEY_UP = pygame.K_w KEY_DOWN = pygame.K_s KEY_LEFT = pygame.K_a KEY_RIGHT = pygame.K_d user = None def main(): if True: game = Game.Game() game.main_menu() ...
[ "Valentin2508247@mail.ru" ]
Valentin2508247@mail.ru
339aa95ff2ec61542229fc440a57b8e800234f8d
e98fb92c8a7515cfb6a29a42858f311bbdcbec80
/scripts/play_cv_video.py
47d7a22fd9c207172cafb32006aa2d8e2d6c05ae
[]
no_license
rtarun/kojaks-1
27f6474e361faecdf82c62394b252b60a95eef90
133bae2136d650acbef02818641a5feba0332ef0
refs/heads/master
2021-01-02T23:17:16.314474
2017-06-01T06:52:55
2017-06-01T06:52:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
#!/usr/bin/env python import roslib roslib.load_manifest('kojaks') import sys import rospy import cv2 from std_msgs.msg import String from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError # Tracklet generation import generate_tracklet class PlayCvVideo: def __init__(self): self.bridge...
[ "ry2277@columbia.edu" ]
ry2277@columbia.edu
5e9a62071712485457c057213fd73ab8ddbee3d6
29e06be5515737c8452ac2b7e415765c38410ccb
/quicker.py
ad8e5053b52c2fc21aacd0cbf819b0040401a56c
[]
no_license
liaokongVFX/quicker
73dbd68414ceac0a7f4649608aef83989e89653a
fabb28881cf02f06b6f26c863a0c420a3372d555
refs/heads/main
2023-03-03T14:13:33.496222
2021-02-17T11:12:35
2021-02-17T11:12:35
332,411,019
5
0
null
null
null
null
UTF-8
Python
false
false
10,989
py
# -*- coding: utf-8 -*- # Time : 2021/2/8 20:32 # Author : LiaoKong import os import time from PySide2.QtWidgets import * from PySide2.QtCore import * from notification import NotificationWindow from core.plugin_register import PluginRegister from core.action_register import ActionRegister from timing_tasks_manag...
[ "568250549@qq.com" ]
568250549@qq.com
96ca71b3d149e7149dca50481675f72cddda958b
5945accf9fec028cc9e76cd54e94e09cbd0843eb
/LearnRegexPyQt5.py
0fc452239a83aead1626d304c30fe0d515f7288f
[]
no_license
kanishksharan12/Regex
d1fe4064b76658979648d8e24a26da8e8b9ae21e
fea900f27b6169434839bfef0b289d67ea04d596
refs/heads/master
2021-07-21T17:31:50.417777
2017-11-01T07:42:06
2017-11-01T07:42:06
109,101,877
0
0
null
null
null
null
UTF-8
Python
false
false
5,046
py
# Python Regular Expressions - GUI Interactive Tool # Kanishk Sharan # # Compatible with 3.x version of python import sys from PyQt5 import QtGui, QtWidgets #modified from PyQt4 to PyQt5 for anaconda 3.5 distr import re import time class LearnRegex(QtWidgets.QWidget): def __init__(self)...
[ "noreply@github.com" ]
kanishksharan12.noreply@github.com
b2b4708016f292f7bfcecce49e0442265d4acb2f
c7eacd8ecb635968106cb240f24613d80526565f
/handlers/private/admin/command/__init__.py
b6fae0778024336206bbe322043de236c47f1e13
[]
no_license
ExissBrr/Telegram-Bot-Template
fa256b17225a0dcc39028e51b4cc8a0bf933b8a8
04f18d435445c44d050f0d4558f13e931ab56375
refs/heads/main
2023-04-25T09:31:30.127825
2021-05-16T23:05:55
2021-05-16T23:05:55
367,700,530
0
0
null
2021-05-15T18:10:44
2021-05-15T18:10:43
null
UTF-8
Python
false
false
113
py
from .start import dp from .help import dp from .bun_user import dp from .unbun_user import dp __all__ = ["dp"]
[ "veenrokdalv@protonmail.com" ]
veenrokdalv@protonmail.com
9d2ef47b6d41b7f98bf0166663ae827e6347e044
e4c4b05954f62fce107e481996e79a73b4fb5803
/cogs/monitors/report.py
2ce9da981f1a2099cfae280fcc91551199be219d
[ "MIT" ]
permissive
Ultra03/BottyMcBotface
ccf937cd801bb2327ea59f53c8148cb7e0e3721d
40226c1bdf2d05ff7835101f7a8a389828ec70b0
refs/heads/main
2023-02-07T21:52:55.762158
2021-01-03T12:04:19
2021-01-03T12:04:19
320,394,415
0
0
null
2020-12-10T21:28:58
2020-12-10T21:28:57
null
UTF-8
Python
false
false
3,814
py
import asyncio import datetime import discord import humanize async def report(bot, msg, user, invite=None): role = msg.guild.get_role(bot.settings.guild().role_moderator) channel = msg.guild.get_channel(bot.settings.guild().channel_reports) ping_string = "" for member in role.members: offli...
[ "aamir@farooq.xyz" ]
aamir@farooq.xyz
4f5a1beca47a75f17a20f109d21e1142eb62ad90
fd5b8f4f5beb741068170c1051a71281e1f4bb28
/backend/api/models.py
48f061ba420947d3037923d8aeeeb2ae61a43920
[]
no_license
Mariownyou/cars
96561579e79a73f08aa4ad015b2942fed4b9ce0c
dce57144826b811ae3cc1b4d2fca90fb9f774251
refs/heads/main
2023-01-09T06:08:13.004456
2020-11-09T16:58:06
2020-11-09T16:58:06
310,782,607
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
from django.db import models from imagekit.models import ProcessedImageField from imagekit.processors import ResizeToFit, Adjust, ResizeToFill # Create your models here. class Car(models.Model): brand = models.CharField('Марка машины', max_length=100) rare = models.IntegerField('Редкость') visited = model...
[ "39639000+Mariownyou@users.noreply.github.com" ]
39639000+Mariownyou@users.noreply.github.com
67b628785333591fbbb2ac27b60e0acc856b3968
f3f2fe9c80ab171433d6941bdf6e271fdabcec6a
/apps/asset/migrations/0001_initial.py
a4140a445bb586445dd8dfd6f8e57b58f4f51ee7
[]
no_license
cgbts88/MisRest
8afaee95994f1dfcd2c65e4f4aede1c5b14c173f
a74673653d1fe026e05c72a08088c160a777ffce
refs/heads/master
2023-03-20T00:15:02.645154
2021-03-11T00:02:11
2021-03-11T00:02:11
334,912,474
0
0
null
null
null
null
UTF-8
Python
false
false
8,679
py
# Generated by Django 2.1 on 2021-01-20 08:05 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), ('users'...
[ "857635@qq.com" ]
857635@qq.com
93d732d3e628258bea1873e3bda00b91179d8e53
4449034f7631783e02d526dcc0af59093d572b11
/lab17-palindrome-anagram.py
5f7aea1b14b87ada431cbce8bcc673cd142f2a5d
[]
no_license
brukeg/pcg_python
d3aea9495fefc0807a4c09f4b44b27397d28fd70
dd12d08a62e95d235c7371e0963899dcd5cf2568
refs/heads/master
2021-06-23T05:48:21.230036
2019-05-25T00:37:30
2019-05-25T00:37:30
168,283,313
1
0
null
2021-06-10T21:22:20
2019-01-30T05:12:29
Python
UTF-8
Python
false
false
944
py
""" A palindrome is a word that's the same forwards or backwards. Two words are anagrams of eachother if the letters of one can be rearranged to fit the other. Write a palindrome and anagram checker. """ def check_palindrome(word): reverse = '' word = input("Enter a word: ").strip().lower() # a for loop for reve...
[ "bruke@spreadlabel.com" ]
bruke@spreadlabel.com