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
55affa6ed141e902c3a98495c36a4b86168d8cfa
c054034f106dc2fae681cff4d1fcfca1ffbea27c
/ROS/rosserial/install/lib/python2.7/dist-packages/rosserial_msgs/msg/_myTest.py
aa79fd6af0a4008ef8ee3bc38a1080b9adb87c5c
[]
no_license
rvariverpirate/WiFly
8117fec671801bae8204fd7590873e99e97f4e3a
eeb9815de91d86205984e2456aeaa5d430823caa
refs/heads/master
2023-04-28T07:06:10.709854
2021-05-19T03:28:02
2021-05-19T03:28:02
328,256,759
3
0
null
null
null
null
UTF-8
Python
false
false
5,736
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from rosserial_msgs/myTest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class myTest(genpy.Message): _md5sum = "19b7d3627de9a4555d2aaa19dbf70a1d" _type = "rosseria...
[ "cannellajs2@vcu.edu" ]
cannellajs2@vcu.edu
445617559274b877d9caaaded1e30307947b51ec
ac9e79b04eadb95497b99c30444d952e6068f18f
/dockermap/map/policy/__init__.py
45f1833b73ce0c9c2dd07d072c74315426a84c27
[ "MIT" ]
permissive
vijayshan/docker-map
ff58f5c8aba15b8d157478a6614c6d6681de1e61
a222c92947cbc22aef727c12f39fb93b0b192bc7
refs/heads/master
2021-01-17T03:16:31.693681
2015-09-14T08:20:55
2015-09-14T08:20:55
42,375,505
1
0
null
2015-09-12T22:31:07
2015-09-12T22:31:07
null
UTF-8
Python
false
false
204
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from .actions import ACTION_ATTACHED_FLAG, ACTION_DEPENDENCY_FLAG from .simple import SimplePolicy from .resume import ResumeUpdatePolicy
[ "matthias@erll.de" ]
matthias@erll.de
4d3f3def02a2cfd603f45cd0d0fc6c279e282c46
7dc47da21e52d9da6b0b26eeaee4b4953e058c4a
/capture_raw_images_Malaga_yaw90.py
636b8ab3a67d07cce7479d739338c20e137bf684
[]
no_license
saiabinesh/opencv-addons
987718e068aa9c552691149bd39fece5ee1daa32
7d0e32ddd902346251ec03b664026ce75892825f
refs/heads/master
2020-12-01T20:53:07.866719
2019-12-29T15:23:06
2019-12-29T15:23:06
230,766,178
0
0
null
null
null
null
UTF-8
Python
false
false
5,694
py
# In settings.json first activate computer vision mode: # https://github.com/Microsoft/AirSim/blob/master/docs/image_apis.md#computer-vision-mode # Working on the newer environement with new houses, cars and river (extended by Sean). # changed image folder in line 39. Commenting out import setup_path import airsi...
[ "Sai Abinesh@rocsafe4.it.nuigalway.ie" ]
Sai Abinesh@rocsafe4.it.nuigalway.ie
4d18b04e23392f0889611e78983edc29acd208c6
e881b61bf15aa945902055ca5aeae4c261c660fb
/src/fiesta/core/schema.py
935e9b648c955195389f7367d8bcfae35905babc
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lerooze/django-fiesta
10653da761bb6b903a809af5ca353ddd038fa3f9
d521f50bcdd3d40e91f0474ec2fa7e256758e0a5
refs/heads/master
2021-06-28T12:30:58.843384
2019-10-30T23:09:01
2019-10-30T23:09:01
186,468,978
0
0
NOASSERTION
2020-11-18T22:14:08
2019-05-13T17:48:52
Python
UTF-8
Python
false
false
1,308
py
import os.path from lxml import etree from rest_framework.exceptions import ParseError from ..settings import api_settings from .exceptions import NotImplementedError class Schema: def __init__(self, root): self.root = root @property def schema(self): return self.get_schema(self.root) ...
[ "al459@columbia.edu" ]
al459@columbia.edu
23a539d75ebc5301644d07cab9022a2f157fbbf4
4640d218953e7d342c6eb49288e545e247c6183b
/app.py
cf441e203a6d8f3280e91fa9e3c8c0ca44ee19a8
[]
no_license
jeffroche/jamhop
1bba1f9b597ed67d477cb2750ee9c6cb4d5ab172
2bdb956a462f7500fe5bc1511fd2a4e1a20fecb7
refs/heads/master
2021-01-20T12:21:16.241050
2015-09-01T01:55:17
2015-09-01T01:55:17
41,710,848
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
import datetime as dt from flask import Flask, render_template, abort, request, redirect, url_for import lastfm import logging app = Flask(__name__) # Set up logging handler = logging.StreamHandler() log_fmt = logging.Formatter( '%(asctime)s %(levelname)s: %(message)s [in %(pathname)s:%(lineno)d]') handler.setF...
[ "jeff.roche@gmail.com" ]
jeff.roche@gmail.com
a7a8503738839b5d8221d5dd9c72fd2f04c4d38c
7e0f5ac29cea20ad258b9069ef46ee694b1aed61
/pp1/01-02 zad/Types & Variables/26.py
7179b386783374c30abc17058fa1f8e6f1384874
[]
no_license
lukasz009/pp1
33f951bc4cfc7943b0f65a7da99d8f27e193d23d
e6a3e240cc1704fd86508bd9979b0805689cac8b
refs/heads/master
2020-08-20T23:31:32.399572
2019-12-08T18:46:58
2019-12-08T18:46:58
216,077,678
1
0
null
2019-10-18T17:43:34
2019-10-18T17:43:34
null
UTF-8
Python
false
false
828
py
# BMI def oblicz_bmi(waga,wzrost): bmi = waga/(wzrost/100)**2 if bmi < 18.5: return bmi,'niedowaga' elif bmi >= 18.5 and bmi < 25: return bmi,'waga prawidłowa' elif bmi >=25 and bmi < 30: return bmi,'nadwaga' else: return bmi,'otyłość' class LessThanOneError(Excepti...
[ "noreply@github.com" ]
noreply@github.com
8c5e18b01ac0690c7c7bb348b0e0d6c88a0697eb
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4084/codes/1578_1331.py
4c3e362ab144d591bf2ec7a790a959912f033491
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
58
py
g = 3 m = 50 conta = m // g i = m%g print(conta) print(i)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
83d191a418f9d45dec785f304f061904fb28c794
94ea2ed3dbba96ac1edaa5460bda78ed17e0fafa
/Day_9/Day_9.py
600296253840709b6c00597b53f20901f5bed1d9
[]
no_license
bray4168/AoC-2020
576ef4a7fc1656410457f7015ffca243197dcf28
713648df3ee71918e04d33fba11b29f0def55bbe
refs/heads/master
2023-02-01T09:38:24.553618
2020-12-15T05:30:17
2020-12-15T05:30:17
317,672,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
file_array = [] # Read file into lines with open('Day_9/input.txt', 'r') as file: for line in file: file_array.append(line.strip()) preamble_range = 25 invalid_number = 0 def form_sum_array(index): sum_array = [] for each in range(index - preamble_range, index): for number in range(index - preamble_ran...
[ "bray4168@yahoo.com" ]
bray4168@yahoo.com
c43bf63dd431b624bc239ea512a4bc391cfc03e6
34ff5b80155b0d5af4e49fd0ad542c13c6e06e40
/한유경/[21.01.19]1002.py
2b26dc8649a8a85c9d93bd1767da73a87ed8e50f
[]
no_license
4RG0S/2021-Winter-Jookgorithm
6a8d0ef8d320ed2abbd94fe4d03f4fe7f4f69a11
65c39147d6b403a44f2fc67c09c2b38344659b39
refs/heads/main
2023-03-23T05:31:35.672637
2021-03-15T11:24:11
2021-03-15T11:24:11
326,657,590
0
1
null
null
null
null
UTF-8
Python
false
false
715
py
# 터렛 import sys import math input = sys.stdin.readline N = int(input()) for n in range(N): (x1, y1, r1, x2, y2, r2) = list(map(int, input().split(' '))) r = math.sqrt((x1-x2)**2+(y1-y2)**2) # case 0 : find infinity locations if r==0 and r1==r2: print(-1) # case 1 : can't find location ...
[ "ygo65312@naver.com" ]
ygo65312@naver.com
0b4cebed18de8ee30fcdb48f5e451a52446ad676
5b93e6cab9f054dd3bcb33dfe9072b0f20a6e7b8
/train.py
c035a7351c526ae98b5d2ea9e35bee49058e78b9
[]
no_license
SKHHHshike/Mouth_img_seg
38567458fbc5e7f0ed57a6aac4e173fd422adac2
9c94101a9af827c8f64afa8f3dbce195fbcefb90
refs/heads/master
2021-05-24T07:11:32.738875
2020-05-27T03:38:29
2020-05-27T03:38:29
253,447,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
from model import * from model2 import * from data import * from keras.callbacks import ModelCheckpoint from model import unet #os.environ["CUDA_VISIBLE_DEVICES"] = "0" from IntraoralArea_project.data import trainGenerator from IntraoralArea_project.model import get_model n_classes = 2 #设定输入图片的width,height...
[ "471791040@qq.com" ]
471791040@qq.com
f714c1d17e7f59e7bbd574152622c59b0c6c4889
2a84e915ba499e97c6d087305aa928c7602aee76
/LineSketch/LineSketch.py
ffa4032bbac1d72dc701e09deefe78a2de4d4702
[ "MIT" ]
permissive
linny006/Amazing-Python-Scripts
05c5e9a5e694f92da2749be6139f1148404c6f98
d3369b9bba2cf7820513465ee05189573f13bb9d
refs/heads/master
2023-08-28T08:57:30.015410
2021-11-03T16:17:40
2021-11-03T16:17:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
import turtle as t tim = t.Turtle() scr = t.Screen() def move_forward(): tim.forward(10) def move_backward(): tim.backward(10) def clockwise(): tim.setheading(tim.heading() - 10) def anticlockwise(): tim.setheading(tim.heading() + 10) def clear(): tim.clear() tim.penup() tim.home(...
[ "anushka.pathak17@gmail.com" ]
anushka.pathak17@gmail.com
71964f4f03a88c44231adb44e53196613a314941
9b6133ea731aaa6260f4babcc749ce4fa033b85c
/lesson03/hw_3_3.py
5ce8aa423d46a89efe377ed3b3d5f36b699515c2
[]
no_license
Alexkvintin/PyBase08
1585031c80d8430e0fbadf68bfb30ce715b7f72b
f29337065cd7e4e79911d46ab8e8bbd7e2bd2817
refs/heads/master
2020-07-29T20:40:43.076130
2019-10-22T18:23:48
2019-10-22T18:23:48
209,952,032
1
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
def circle(x): y = int(x ** 2) s = 3.14 * y print("площадь круга равна:", s) def triangle(x, y, z): import math p = float((x + y + z) / 2) s = (math.sqrt(p * (p - x) * (p - y) * (p - z))) print("площадь треугольника равна:", s) def rectangle(x, y): s = int(x * y) print("Площадь п...
[ "noreply@github.com" ]
noreply@github.com
e2a9c106808551355d57ac6954bab4a7a5b9a666
440332ab0e7fee9ce1a27a6796629a1fbb0385cf
/Go/tests/test_get_neighbours.py
4f0b0fdbac27504c301e46d0d55f8b0c05f497ab
[]
no_license
SveinungOverland/ZeroGO
f7123419499599e6ff350006e5ad8e9c84809eea
e979026711407ecc480e7d20ee27077bf693c1ea
refs/heads/master
2020-08-15T06:32:34.749694
2019-11-21T18:02:15
2019-11-21T18:02:15
215,293,642
2
0
null
null
null
null
UTF-8
Python
false
false
729
py
from ..go import get_neighbours from .test_find_group import group_in_set import numpy as np def test_get_neighbours(): board = np.array([ [0, 0, 0, 0], [0, 1, 0, 0], [0, 1, 1, 1], [0, 0, 1, 0], ]) group = get_neighbours(board, 2, 2) print(group) assert group_in_se...
[ "andershallemiversen@hotmail.com" ]
andershallemiversen@hotmail.com
c9cf7689a50286a5c1017bfd446fa36d67ab48be
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02663/s577432279.py
fb0a161b678de985a05e44a3e1290554f0f0f831
[]
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
121
py
import sys input=sys.stdin.readline h1,m1,h2,m2,k=map(int,input().split()) h1=h1*60 h2=h2*60 m1+=h1 m2+=h2 print(m2-m1-k)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5d9851eedf62c0ea69485d51ed48d96036158b5a
717d369ce117dc8938a4dee13a62364e13fcd40b
/vodafone_sample_api/vodafone_api/api/resources/user.py
734ec9f8ad43616e56f9d1bda776326827f51e69
[]
no_license
tentengr/sample_app
750b1e615d695c6a01733d1c6bdb3f6e385852fd
994b9787a6b9782d3122942eaf364ae2cffcf877
refs/heads/master
2022-04-02T03:17:28.373935
2020-02-06T01:45:34
2020-02-06T01:45:34
237,822,053
0
0
null
2020-02-06T01:45:36
2020-02-02T19:11:37
Python
UTF-8
Python
false
false
3,942
py
from flask import request from flask_restful import Resource from flask_jwt_extended import jwt_required from vodafone_api.models import User from vodafone_api.extensions import ma, db from vodafone_api.commons.pagination import paginate class UserSchema(ma.ModelSchema): id = ma.Int(dump_only=True) password...
[ "grigorios.markopoulos@underwriteme.co.uk" ]
grigorios.markopoulos@underwriteme.co.uk
a9d382ed0329400bd7906b0287707b561ddd30cc
c38e00c81aad18fb31707f864c1aabe79f6eff4e
/figures/energyCostGraph.py
ad7f35a3a82afa3507a26440381c6e4a807c241a
[]
no_license
SEL-Columbia/lab_measurements
3ef2a62ef45f44650a2de9e7d136b6a89c52c04a
af30ec0bf6b070e3e5ec72ee7a18da995287637a
refs/heads/master
2021-01-01T17:47:58.825081
2012-01-26T23:51:14
2012-01-26T23:51:14
2,440,445
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
from __future__ import division import matplotlib.pyplot as plt def addEntry(key, cost, energy): dict[key] = {} dict[key]['cost'] = cost dict[key]['energy'] = energy dict[key]['cpkWh'] = dict[key]['cost'] / dict[key]['energy'] dict = {} addEntry('Cell Phone Charge', cost = 0.25, energy = 0.005) #add...
[ "no140@columbia.edu" ]
no140@columbia.edu
9c1baafdaefea09ba51c9303e42aa722840cf9de
b2f58607ab7dc003781496d1222b8538de01816a
/opennmt-baseline/utils/loss.py
ce7239450b7fb20352a5d94b4228c81f1683fe03
[]
no_license
Amazing-J/structural-transformer
3ab99a79a52a26ef73b887ce9fcd01ba3aec0c66
daef1f28cce74ecf984603dbfe796c5f71b1b39c
refs/heads/master
2020-07-09T12:59:49.788084
2019-12-25T05:46:41
2019-12-25T05:46:41
203,974,442
79
11
null
null
null
null
UTF-8
Python
false
false
11,249
py
""" This includes: LossComputeBase and the standard NMTLossCompute, and sharded loss compute stuff. """ from __future__ import division import torch import torch.nn as nn import torch.nn.functional as F import onmt import onmt.constants as Constants from utils.misc import use_gpu from utils.statistics i...
[ "zhujie951121@gmail.com" ]
zhujie951121@gmail.com
570d5c279ef4c76aad6ed5844ecc6bea270092c3
c7fb854c1e787adfb066d485a86cb384848c8a89
/app/models/comment.py
e9ac0428df2289dcdb6cb4db5c99cc2ffd2342a1
[]
no_license
longfe1yang/flask_blog
51218bec01bc706a088c6bf6d1000389936670ea
3b54e417878742e886d0c629230d72b4dbd24045
refs/heads/master
2021-06-08T09:15:52.040002
2016-09-04T09:39:22
2016-09-04T09:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
from . import db from . import ReprMixin import time class Comment(db.Model, ReprMixin): __tablename__ = 'comments' id = db.Column(db.Integer, primary_key=True) content = db.Column(db.String()) reply_username = db.Column(db.Integer) tweet_id = db.Column(db.Integer, db.ForeignKey('tweets.id')) ...
[ "yanglongfei71937315@gmail.com" ]
yanglongfei71937315@gmail.com
8a68a48afac4164eb404a1c903aea21610418776
4133ecadccf991de5e2cb2aade0d61dc55cb1b57
/ProTwo/settings.py
b62f137cc9248c0323c4227159a01b214015972e
[]
no_license
EmonZaman/Web-Development
f357035772e41b8f65c9265d70236d3c6b24c173
8a51813469cdef39096e525d9b3b4933570c9bbe
refs/heads/main
2023-06-26T10:04:26.644356
2021-07-29T09:08:13
2021-07-29T09:08:13
381,151,748
0
0
null
null
null
null
UTF-8
Python
false
false
3,380
py
""" Django settings for ProTwo project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "aagontukemon@gmail.com" ]
aagontukemon@gmail.com
1750d92d1dc355447d3f4c59c6a8905eb0f2bb15
23a1faa037ddaf34a7b5db8ae10ff8fa1bb79b94
/TCS_Practice/TCS_CodeVita_Problems/Constellation.py
e77bcc038db671a3100235e6c5e1bd94fd310097
[]
no_license
Pyk017/Competetive-Programming
e57d2fe1e26eeeca49777d79ad0cbac3ab22fe63
aaa689f9e208bc80e05a24b31aa652048858de22
refs/heads/master
2023-04-27T09:37:16.432258
2023-04-22T08:01:18
2023-04-22T08:01:18
231,229,696
2
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
''' Three characters { #, *, . } represents a constellation of stars and galaxies in space. Each galaxy is demarcated by # characters. There can be one or many stars in a given galaxy. Stars can only be in shape of vowels { A, E, I, O, U } . A collection of * in the shape of the vowels is a star. A star is contained in...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
e0401fc292b6f962226021e0e3f636419bf5068e
958b6de6be5fb8bce876373cec29677259c6ceb3
/hypergan/train_hooks/experimental/weight_penalty_train_hook.py
7a672346f3853a2b0d4a457e359240de7e35efd9
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
RandomStudio/HyperGAN
712679b9121ad414d2f91205a82370d54a930120
586cefe69805f5ffa8dcb11aaf346f6b3dcf3ac9
refs/heads/master
2020-06-22T22:43:04.884557
2019-07-23T12:17:58
2019-07-23T12:17:58
198,420,256
0
0
null
2019-07-23T11:52:00
2019-07-23T11:51:59
null
UTF-8
Python
false
false
2,923
py
#From https://gist.github.com/EndingCredits/b5f35e84df10d46cfa716178d9c862a3 from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.ops import control_flow_ops from tensorflow.python.ops import math_ops from tensorflow.python.ops import state...
[ "mikkel@255bits.com" ]
mikkel@255bits.com
a88decbf53c4ea080eaa46061a56e303ee56c2ab
3002a71450c9f26c674f0f3949a7dfb39b95f968
/mysite/myapi/models.py
756e726823521920e527142baaeda13d485360b4
[]
no_license
Gabriel0110/Django-Basic-REST_API
a4d4906aabb6ae095d53f4630746fc1b707f9ad2
2aeb1331ca0a0a0d15b2d8e9075f48d7277ffb79
refs/heads/main
2023-03-28T19:01:44.340793
2021-04-05T12:50:01
2021-04-05T12:50:01
354,688,271
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from django.db import models # Create your models here. class Hero(models.Model): name = models.CharField(max_length=60) alias = models.CharField(max_length=60) def __str__(self): return self.name class Spell(models.Model): name = models.CharField(max_length=60) description = models.TextF...
[ "gabrieltomberlin14@gmail.com" ]
gabrieltomberlin14@gmail.com
f85f6f39aa12d9bd44917d0f830d724ec3d6f956
c42f7f7a8421103cc3ca8ee44673704f7eea22b1
/src/utils/routes.py
01fe170c5eaa9ad4e3f0cf77beb0b1f34279b976
[ "MIT" ]
permissive
styleolder/fp-server
fe585fe73014eb0421b25d5579191d24276df250
ae405e7c37a919bd73be567e3e098e7fe5524097
refs/heads/master
2020-03-21T12:05:36.250998
2018-06-24T13:07:51
2018-06-24T13:07:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
# -*- coding:utf-8 -*- """ http uri 路由装饰器 """ from utils import log as logger class route(object): """ @route('/some/path') class SomeRequestHandler(RequestHandler): pass @route('/some/path', name='other') class SomeOtherRequestHandler(RequestHandler): pass my_routes = route....
[ "valesail7@gmail.com" ]
valesail7@gmail.com
fb49c099273a55d0a4bc9d8f41449699f033d46f
445c652693214fb358ca07b1283a3873c4a7fe69
/potential_energy_build_DNN.py
40c809cfae4a2dc3c24828c6fb5a1c854121a9f7
[]
no_license
syang-lab/Potential-ML
c80d2890c80ac6a1f5dc5fae6253a9a29e6cd009
7cdbc1392ea020db4ad617c9838c3d924416723c
refs/heads/master
2022-11-09T10:55:51.495216
2020-06-22T00:10:08
2020-06-22T00:10:08
273,999,519
1
0
null
null
null
null
UTF-8
Python
false
false
4,832
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Apr 12 14:51:46 2020 @author: shanyang """ # import library import numpy as np from sklearn.model_selection import train_test_split; from tensorflow import keras from keras.models import Sequential from keras.layers import Dense from keras import init...
[ "noreply@github.com" ]
noreply@github.com
eda9a5843285cbebe07129c87ad4d25678886ef8
e7b8c608fbb56417d532972fb24ec7d34f11edff
/hw3_release/utils.py
0ab7856ca8345270f692bdefc93d8a753bb93354
[ "MIT" ]
permissive
rudrakshkapil/CS131
26c03667a7e9aed1f3ecda60a6ff8937e5eafe31
2aa847b6ed181717d5fded343b4c0deb8241c895
refs/heads/main
2023-02-06T17:01:13.827853
2021-01-01T13:53:48
2021-01-01T13:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,838
py
import numpy as np from scipy.ndimage import affine_transform # Functions to convert points to homogeneous coordinates and back pad = lambda x: np.hstack([x, np.ones((x.shape[0], 1))]) unpad = lambda x: x[:,:-1] def plot_matches(ax, image1, image2, keypoints1, keypoints2, matches, keypoints_color='k'...
[ "noreply@github.com" ]
noreply@github.com
413db64783d10d4a0dc8cc64cb9d5212ebd955ff
07e9dad7af5468961af5e24a34aa5544cc777b42
/src/supergrass-reporter.py
a556318e2f5addee73ce03d61aed11e1e37b30f2
[]
no_license
jspc/supergrass
1807691f715d7eb3bddd9d25d6725c1d12122388
1d4fa297655d1c91934a6acae978a762ebc31fe2
refs/heads/master
2021-01-20T18:07:31.154657
2016-08-01T16:42:43
2016-08-01T16:42:43
64,684,276
0
0
null
null
null
null
UTF-8
Python
false
false
4,113
py
from supergrass import app, health import json import time import os class SupergrassReporter(app.App): def report(self): healthchecks = health.HealthChecks() healthchecks.system_code = 393 healthchecks.name = 'Flex' healthchecks.description = 'FT video team workflow and publishing ...
[ "james@zero-internet.org.uk" ]
james@zero-internet.org.uk
46f20c311de9662ae52e0d17c54e38adf2809320
163eae2f1e83140ba8f082909793de9a1212371b
/ileriseviyeprogramlama/karakterfrekansı.py
080518131d29fccfacadc8e79b7f57a04632fdfd
[]
no_license
MusabBayram/Python-Studies
b2ba99487c9509c05c85904cc77d3df35775ea38
e2b388c0d05c30852a80eaac966d5b4a12f6d85f
refs/heads/master
2021-05-17T11:57:36.777335
2020-03-28T10:23:20
2020-03-28T10:23:20
250,763,552
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
dize = "ProgramlamaÖdeviİleriSeviyeVeriYapılarıveObjeleripynb" say = dict() for i in dize: if (i in say): say[i] +=1 else: say[i] = 1 print(say)
[ "Musab.bayram–@hotmail.com" ]
Musab.bayram–@hotmail.com
bb7645b996dd70bb11bceb7fa31190757f205a92
141d1fb160fcfb4294d4b0572216033218da702d
/exec -l /bin/zsh/google-cloud-sdk/lib/surface/composer/environments/run.py
b81165e938f3ff95fea3676709e9be6e342bacc4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
sudocams/tech-club
1f2d74c4aedde18853c2b4b729ff3ca5908e76a5
c8540954b11a6fd838427e959e38965a084b2a4c
refs/heads/master
2021-07-15T03:04:40.397799
2020-12-01T20:05:55
2020-12-01T20:05:55
245,985,795
0
1
null
2021-04-30T21:04:39
2020-03-09T08:51:41
Python
UTF-8
Python
false
false
7,255
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "yogocamlus@gmail.com" ]
yogocamlus@gmail.com
efe6000e08a97a745405e6fd91c9d473d802d800
9b72185bacfeec4c44c85d4ef1b0a23295db2769
/TestInvoice.py
ed05480a51cf5ece2dabac58471bbc66b375650a
[]
no_license
A-ozmez/lab2Part4Group
a69e47747c100313f1d23afce9a9146a632e6ac2
9aae974119313217c40b2b1ea25f78104e7e4b3c
refs/heads/master
2021-04-03T23:50:20.618534
2020-03-19T04:01:30
2020-03-19T04:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
import pytest from Invoice import Invoice @pytest.fixture() def products(): products = {'Pen': {'qnt': 10, 'unit_price': 3.75, 'discount': 5}, 'Notebook': {'qnt': 5, 'unit_price': 7.5, 'discount': 10}} return products @pytest.fixture() def invoice(): invoice = Invoice() r...
[ "noreply@github.com" ]
noreply@github.com
fd5834d71ffff170665dd44f08b74372e8c33d67
85431b353749dd8f6ea308b439b9e5c42b2a7352
/UnicornLog/UnicornLog/asgi.py
1604c11dd14442cce813b200b702b615d37ef0d4
[]
no_license
evansimmons/DjangoUnicorn
d018b229f7468e371a939ffb8fbf6a4afc2f1903
5e5c5fb6401daeabeb12404ebc390248cb29324d
refs/heads/main
2023-06-19T19:36:57.036735
2021-07-14T19:52:38
2021-07-14T19:52:38
381,471,923
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for UnicornLog project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "etscodelancer@gmail.com" ]
etscodelancer@gmail.com
ae587eaf8f61b8ea33ef42bd8a1a5fb0c40cd54e
7866e1a7c043e5d1b539949f1d472c63003eb135
/stringToCamelCase.py
0ff3a534280f7232b2e04112eadf6a29aaae4b72
[]
no_license
sindhujacoder/guvi
ce7362db7d87ad708ae69fcf3316d9c1a43ac002
5500625ed748358da76201645aa2a0780163786a
refs/heads/master
2021-01-19T12:15:42.429802
2016-09-24T10:10:57
2016-09-24T10:10:57
69,040,570
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
testcases = input() while testcases: word = raw_input() word = word.title() print word testcases = testcases - 1
[ "noreply@github.com" ]
noreply@github.com
52d71685ffeb1d6312ac1a58a2bf9d34f0c1a4a3
a90bb6995f15a864708c493ae8539f9c6bb0a1ea
/Zip - V.4.3.1.py
e99f4d551773775b3cf3f25b8fbf5859df2bb3cb
[]
no_license
ComplexChris/VigenereArchive
aac7f9cf06a955f7cf1484db9ea5e7641f4b6edc
1e7b7288e3dff4293b568979396882b81d89f49b
refs/heads/master
2016-09-14T13:16:31.986337
2016-05-12T09:48:42
2016-05-12T09:48:42
57,876,954
0
0
null
null
null
null
UTF-8
Python
false
false
21,605
py
# coding: utf-8 ## Container Archive Encryption Program ## Written and Devoloped by Chris J. Nguyen import os, sys, zipfile, StringIO, string, random, shutil, time __version__ = "4.3.1" __author__ = "Chris J. Nguyen" __date__ = "April 6th, 2016" __copyright__ = "(C) 2016-2018 Chris J. Nguyen. GNU GPL ...
[ "ChrisNguyen180@gmail.com" ]
ChrisNguyen180@gmail.com
8177573260147c1b6a0fc39e0e1977682266b7b6
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/130_Fluent_Python/fp2-utf8/freeinteractive/freeinteractive 103.py
fedc3048dc3417682a8981be5ae2035e8e4eed63
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
>>> b = 6 >>> f1(3) 3 6
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
3e67c476deabc53331ccd7582f0feff94455d632
31741f4807f857675f9304088b689af9b043e7b1
/chp10/django_ecommerce/contact/views.py
8160a48a0c26f4c0a9a9857aa9771927481e3ab1
[]
no_license
ujrc/Realpython_book3
c487ff0569f90b0e21c2c51cf951d6aad4755541
aaff8db074b8dd33d6c7305ac0a94c2ef161c847
refs/heads/master
2021-01-10T02:02:11.247279
2016-01-11T17:06:59
2016-01-11T17:06:59
48,060,189
0
0
null
2015-12-31T16:48:52
2015-12-15T18:03:47
Python
UTF-8
Python
false
false
755
py
from django.http import HttpResponse, HttpResponseRedirect from django.template import RequestContext, loader from .forms import ContactView from django.contrib import messages def contact(request): if request.method == 'POST': form = ContactView(request.POST) if form.is_valid(): our_f...
[ "uwjearc@yahoo.com" ]
uwjearc@yahoo.com
d417b2b14d4f4e28483f2fafa8effd65731f1db4
e38b2cc76373c54a766485c9ca659e6c6e598620
/Tuple_Teerapat.py
3f061bb279ce68485442360e32b60226ba0457c0
[]
no_license
icelake10/-
d660a3cc5c93c880c815f80168dceda1d3f6995f
d089f8f5311232d3b6ac6d0c114ea1620395aa97
refs/heads/master
2020-07-30T08:52:13.986406
2019-09-22T14:41:23
2019-09-22T14:41:23
210,162,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
#!/usr/bin/env python # coding: utf-8 # 1.กำหนดให้ brand_cars = ("Toyota", "Honda", "Benz", "BMW", "Tesla", "Ford", "KIA", "Volvo" ) # # 1.1 ให้เขียนคำสั่งโปรแกรมแสดงตำแหน่งของ Benz, Ford และ Volvo # 1.2 ให้เขียนคำสั่งโปรแกรมแสดงจำนวนข้อมูลทั้งหมดในทูเพิล # 1.3 ให้เขียนคำสั่งโปรแกรมตรวจสอบมียี่ห้อรถ Suzuki, Ferrari, ...
[ "noreply@github.com" ]
noreply@github.com
403e6416ef4d218912c9202b4988ddf498e0997d
594102aed31b51ddc54e429bcde76fd733faf18f
/test_request_teacher/api_page/address_page.py
fb94cb949687c65fb4e714479d7f200157eddc46
[]
no_license
niujiama/LilyGithub
995c81b0b3574e587008b0807ec92e8f3a1106c6
91881dd57a139198c459fc33a41e286cdeaad51f
refs/heads/master
2023-04-19T12:50:36.377748
2020-11-23T10:56:41
2020-11-23T10:56:41
285,243,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
from test_request_teacher.api_page.base_api import BaseApi from test_request_teacher.api_page.wework_utils import WeWorkUtils class AddressPage(BaseApi): """ 通讯录管理,包括增删改查 """ def __init__(self): _corpsecret = "6e-e9pUV0QZnJppDPwzRZA9PCtKb9urb9TWNf-6v5fA" utils = WeWorkUtils() ...
[ "13426251727@163.com" ]
13426251727@163.com
47f0356ebef2eca13e87788037bd242513af73be
cec3584cb40c3f762f8e550231c646efb8905004
/main.py
00436c722fa86f195e4f6332a2413482a410f514
[]
no_license
XXX-CODER/pythondiary-1
a40f22dc10d8ecf119430be39cba31c7e97a0d1e
60e3ca72f047aa78485e8be6e8d7c1db13943627
refs/heads/master
2020-07-06T09:13:37.343064
2019-08-18T06:20:23
2019-08-18T06:20:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
908
py
from flask import Flask, render_template import glob from datetime import datetime import os app = Flask("Elwing") @app.route("/category/<c>") def category(c): fs = glob.glob("articles/" + c + "/*.txt") fill = [] for i, f in enumerate(fs): a = open(f) article = a.read() a.close() fp = f....
[ "noreply@github.com" ]
noreply@github.com
0bc10e89e9c0f58d8de8e45fd99cba81ea6fcae8
94583800a07384bebcde02e147066b0ed8636234
/spider/内蒙贷_完全版1.0.py
08066c0e748411fcfb5e5c5465e249f422a413d7
[]
no_license
jk123415/python_some_js
2f3323143cf932e67411e29aab28cdb2fffd1014
b5bcdda35bf8bf9e11680d55c5efc91bfe802fa4
refs/heads/master
2020-04-24T14:09:07.977279
2019-02-22T06:51:16
2019-02-22T06:51:16
172,010,361
0
0
null
null
null
null
UTF-8
Python
false
false
17,488
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2018-07-10 11:14:08 # @Author : leopython (hailson@sina.com) # @Link : http://www.cnblogs.com/leopython/ # @Version : $Id$ import os import requests import pprint import re import sqlite3 from bs4 import BeautifulSoup import lxml.html import jsonpath # 处理...
[ "289891598@qq.com" ]
289891598@qq.com
9d9c75dc71a08948292a19969a209d9e9e35aaba
04f194dfd80367756cc3971b57b48065b2edbfb3
/topics/number_line.py
37386cf3172b78370d0618372e8485ba120c6294
[]
no_license
arthurtcl/manim
de2bfcf495981fb332e036b63e7c074e0db50624
ad05030641483b7f99b382cf6492bebcd4aa6d18
refs/heads/master
2021-01-17T11:44:48.968626
2017-03-04T01:34:05
2017-03-04T01:34:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,977
py
from helpers import * from mobject import Mobject1D from mobject.vectorized_mobject import VMobject, VGroup from mobject.tex_mobject import TexMobject from topics.geometry import Line, Arrow from scene import Scene class NumberLine(VMobject): CONFIG = { "color" : BLUE, "x_min" : -SPACE_WIDTH, ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
07d6dbce7c8ee75f85135f932a4b99236ba69e9e
52d6cacfc6df5d0f5ed6724bd92ff0239dea682e
/manage.py
6f8028621eaa81b9b5e8bb643876da1cf59929dc
[]
no_license
scyilsamrat/GST-Printing-Billing-webapp
eff26f06169853a48427657d89321b8e691c37cd
8915c41d48996919523edc62da7c9bf1461682dc
refs/heads/master
2022-04-27T22:25:32.167991
2020-04-28T18:17:24
2020-04-28T18:17:24
257,631,308
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): print("Please Wait Scyil pvt Ltd server is starting on /Dettol Software /user 09253 ") print("Please Wait Scyil pvt Ltd server is starting on /Dettol Software /user 09255 ") os.environ.setd...
[ "samratsahil180@gmail.com" ]
samratsahil180@gmail.com
6755be04d36dd75036f3b787a0ebebb8b8d709d7
e41d8daac285e37551e17778fa1d31698d707311
/Project4/etl.py
8eb9b3a90698232a2aed3aa054f58558f6190cdd
[]
no_license
Johannes-Handloser/Data-Engineer-Nanodegree
d0224011b28ce1fdd9d9cc9b037032216cffc39a
5da2123c5b0eff436ff570281be6ed3161d95c2a
refs/heads/master
2022-11-26T19:47:31.795613
2020-08-08T10:34:53
2020-08-08T10:34:53
271,854,680
0
0
null
null
null
null
UTF-8
Python
false
false
4,904
py
import configparser from datetime import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, dayofweek, date_format, monotonically_increasing_id, udf, col, to_date from pyspark.sql.types import TimestampType config = configparser.ConfigP...
[ "johannes.handloser@bmw.de" ]
johannes.handloser@bmw.de
7acc3c35279f863cec0ecbea75665131958ceafb
6007b761a47ca3f437f8bb038714fccb6d3592db
/api/migrations/0003_alter_estudiante_id.py
049b165d2feeefab8d1c100865396b48f0e56aa4
[]
no_license
Mauville/DjangoBoilerplate
165c3ef0386b33ce47b9249a4d8df0059c486e31
89ba241dffd6f8255b7c7806e215de45d1382958
refs/heads/main
2023-05-15T03:19:56.217191
2021-05-31T03:41:14
2021-05-31T03:41:14
368,931,021
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# Generated by Django 3.2 on 2021-04-30 02:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0002_alter_estudiante_id'), ] operations = [ migrations.AlterField( model_name='estudiante', name='id', ...
[ "daniel@semantyk.com" ]
daniel@semantyk.com
32cda06d0f7da3b981aa0d0550102cd54a804c9c
633c3b9827501b8c6512f0cca6c5534506c2b1e8
/main.py
cb4782f9abf5a13b19ccd200b06ec8d8d44fcb6f
[]
no_license
roliver7878/project2
21d56947c920a1556b337b95e08d7f92d8c2b25d
f48d8225225caf00b7c4bd630c91b63d122a4347
refs/heads/master
2022-12-24T15:08:05.518984
2020-10-05T00:10:43
2020-10-05T00:10:43
300,168,246
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
import addressfind import addresstotext import converttoaudio # This is my main method def main(): # here we ask for postalCode from user cepcodevalue = input('Write here your postal code: ') # the function above send the postalcode writed by User # addressfind use a free api for serach the address by...
[ "ubuntu@ip-172-31-4-18.ec2.internal" ]
ubuntu@ip-172-31-4-18.ec2.internal
82d322d9d2a24a4f17977671c69823b4c05dcae3
523f8f5febbbfeb6d42183f2bbeebc36f98eadb5
/207_3.py
a0c0add9e9275d90f0930004027fe8138ec29417
[]
no_license
saleed/LeetCode
655f82fdfcc3000400f49388e97fc0560f356af0
48b43999fb7e2ed82d922e1f64ac76f8fabe4baa
refs/heads/master
2022-06-15T21:54:56.223204
2022-05-09T14:05:50
2022-05-09T14:05:50
209,430,056
2
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
class Solution(object): def canFinish(self, numCourses, prerequisites): """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: bool """ graph={} indegree=[0]*numCourses for i in range(numCourses): graph[i]=[] for pai...
[ "1533441387@qq.com" ]
1533441387@qq.com
550337ec8fec2fdd14b71387c7975aba6339e251
c984113e37ac5ca4e56a89bc6ec4806e0a899d2a
/old/temperatura_precipitacion_acidez_example.py
0dca9e8c3a78a84be828cdde567f014fcfb93d4c
[]
no_license
josprimen/TFG
ba6066cbc8a04bba175cfe72e647826cebe43028
0e5c60189ed2d3d6d01b65825f806f227c598969
refs/heads/master
2020-04-23T21:32:48.166183
2020-02-08T14:34:08
2020-02-08T14:34:08
171,473,477
0
0
null
null
null
null
UTF-8
Python
false
false
7,216
py
import numpy as np import math from pandas import read_csv from datetime import datetime from math import sqrt from numpy import concatenate from matplotlib import pyplot from pandas import DataFrame from pandas import concat from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import LabelEncoder ...
[ "36623141+josprimen@users.noreply.github.com" ]
36623141+josprimen@users.noreply.github.com
0901daeeca261a63c8a9570fd5b8251a328976fe
f5b48cba3562e5efd32f1379fba69fe27c2c54cb
/ex014.py
66a414ae70e9a2f803d2753527c59e9f29815aae
[]
no_license
GGMagenta/exerciciosMundo123
e9596eee260dc7876efad1684ef88b36340b3a4d
3764b706bd5b7d24e270a6c0ea006f2fbf8ebcbb
refs/heads/main
2023-01-30T07:43:21.002259
2020-12-15T15:59:39
2020-12-15T15:59:39
316,284,825
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
#pegue uma temperatura em °C e converta em °F ce = float(input('temperatura em °C ')) fa = (ce * 9/5)+ 32 print('{}°C equivale a {}°F'.format(ce, fa))
[ "noreply@github.com" ]
noreply@github.com
6fbd126342d2762103a2aff7486d0ce1305afb29
28297b7172bad2e427db185d449056340be2a429
/src/join_pairs.py
3bca92e18b11ac0a0c113c6e7492e6e049cf7c5b
[]
no_license
audy/cd-hit-that
6a3480c01c7930751325acbd716202ad514562da
27922835ebace8bcdcf8d7118ec2e05e11e5e9fa
refs/heads/master
2021-01-01T15:31:01.604403
2011-08-02T20:33:47
2011-08-02T20:33:47
1,357,454
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
#!/usr/bin/env python # outputs a FASTQ file but with its filename in the header (sorta) # Also puts paired reads together with their 5' ends touching # This is for clustering # Takes input from STDIN import sys import os from itertools import cycle import string _complement = string.maketrans('GATCRYgatcry','CTAGYR...
[ "harekrishna@gmail.com" ]
harekrishna@gmail.com
337d900284082e21087ff98ddb9d2bb64e6b8248
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_banked.py
08d044b1996c25d485b9094eb3beb1112231d788
[ "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
216
py
#calss header class _BANKED(): def __init__(self,): self.name = "BANKED" self.definitions = bank self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['bank']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
088cc5b497205e602ec432a2cd905342facda67c
afca7ccc222dc73aefed14907b798a68b0e1b03a
/dsutils/plot/_path_utils.py
7165db91f6e0b52ec4d9e239b78da6d6f8f7879d
[]
no_license
kazetof/dsci-utils
c195476753ed2f8b266c3500f14d30d5596ae2da
2f158ac130e816d89f0d3684f5af38598e82d057
refs/heads/master
2020-03-27T17:50:15.146217
2018-09-01T14:47:30
2018-09-01T14:47:30
146,878,106
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
import os def _make_savedir_from_savename(savename: str) -> None: savedir = os.path.dirname(savename) os.makedirs(savedir, exist_ok=True) if __name__ == '__main__': pass
[ "fukasawakaze@gmail.com" ]
fukasawakaze@gmail.com
5f7d5b6011e270fd215d3af403eabbe953cbe368
a9aaa9befdee0aedbffd7e86cced93a3f98ad90a
/blog/migrations/0004_comment.py
2716048249bbe17d0cdca54060b43df26b43a747
[]
no_license
mksime/my-first-blog
bcb22367fd6576bacb6f1031e938de59d130dc87
80fe29d9584c827e0262ca1ae38c8c4f9e0dd867
refs/heads/master
2020-03-17T22:49:21.431028
2018-06-13T13:57:20
2018-06-13T13:57:20
134,019,480
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2018-06-02 02:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('blog', '0003_auto_20180525_143...
[ "marcelo.sime@gmail.com" ]
marcelo.sime@gmail.com
3ff10af42ce6a02892caa8712ebe2280e07e04d3
0d64b67478dd8a3817cb411d5e7b674cbc267917
/app/views/main.py
139bca0a9eeb936f748db6a83446c0bed1e06d41
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Kbman99/Compute-Cross-Product
9a3345c22b681be11296cce7b9f09733a6e193b6
b19f63829d12809acbb42a3041aaa44d6e35bea8
refs/heads/master
2020-03-26T19:09:14.892769
2018-12-30T21:49:59
2018-12-30T21:49:59
145,251,503
0
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
from flask import render_template, Blueprint, jsonify, request from flask_cors import CORS from app.models import ResultList from app.core import db from app.schemas import ValidationSchema, ResultListSchema, AllResultsListSchema from app.toolbox.results import AllResults api = Blueprint('api', __name__, static_fold...
[ "Kylebowman99@gmail.com" ]
Kylebowman99@gmail.com
0b86b5dcd14fc780f3a0c39b0fbadb7e2b44011c
61f3996cc11b6103f248cc0e38ecae7d8b847bbd
/python-libs/behavior.py
e02f1416ffe7b0729165f45b0a3f4b835ded697f
[ "MIT" ]
permissive
massimo-nocentini/competitive-programming
c289625cfc25b4a5b82fc05b1de9aefaa0413b9f
fc54589c765141f0c51c0c5feb750ed72333f42e
refs/heads/master
2021-01-19T02:02:06.402717
2018-06-28T14:14:22
2018-06-28T14:14:22
22,633,722
2
0
null
null
null
null
UTF-8
Python
false
false
974
py
def dispatch(*args, table, default=lambda k, e: k): ''' Dispatch behavior in *even* positions within `args` against mapping `table`. It accepts a variable list of arguments, however of even length, where *hashable* objects in *even* positions are used in the key for dispatching against logic conta...
[ "massimo.nocentini@gmail.com" ]
massimo.nocentini@gmail.com
96f9a31921da3a30bc91014997b41594bbd7ab9d
fa24efc43ab0d8d0e7cf3d538e4733130b760f32
/day_3/day_3_part_2_test.py
2c78e3afe464e48dce0867c35afd9deb6110d61b
[]
no_license
nqeron/advent_of_code_2019
7d2176eafc1f0437a1863192a471d2fbbda735bc
35f7b7f7faa87bc5cdd27cebc9eabec4fd6cd6a0
refs/heads/master
2020-09-30T05:38:37.349274
2019-12-27T18:03:44
2019-12-27T18:03:44
227,217,766
0
0
null
null
null
null
UTF-8
Python
false
false
3,062
py
def produce_points(directions) -> set: points = set() pos = (0, 0) for d in directions: bearing = d[0] dist = int(d[1:]) x_bear = () y_bear = () if bearing == "L": x_bear = range(pos[0]-dist, pos[0]+1) y_bear = (pos[1] for _ in range(dist)) ...
[ "nqeron@gmail.com" ]
nqeron@gmail.com
54d72878eac09a4ed9b40f9ef8fdc315b10a7f4d
99259216f11b15ec60446b4a141b3592a35560ce
/wex-python-api/test/test_json_node.py
c75004f2b70287a8c291d81ea8751f09dcf73ca6
[]
no_license
adam725417/Walsin
296ba868f0837077abff93e4f236c6ee50917c06
7fbefb9bb5064dabccf4a7e2bf49d2a43e0f66e9
refs/heads/master
2020-04-12T14:14:07.607675
2019-03-05T01:54:03
2019-03-05T01:54:03
162,546,202
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
# coding: utf-8 """ WEX REST APIs Authentication methods - Basic Auth - JSON Web Token - [POST /api/v1/usermgmt/login](#!/User/signinUser) - [POST /api/v1/usermgmt/logout](#!/User/doLogout) - Python client sample [Download](/docs/wex-python-api.zip) OpenAPI spec version: 12.0.2.417 Generate...
[ "adamtp_chen@walsin.com" ]
adamtp_chen@walsin.com
dd292841168cd88e929dbb617056733aa1f5364b
4a934b1d646cc6660b1b38ac09fc0cb7b343445c
/Palta/generateTextCollection.py
99af87240e93f99248a0a58f22847b860c8267b6
[]
no_license
chobeat/mapredush
85aece9d4b4e8ebfcba610b1f13ce95358dee9ef
c827e7ecd1076a30ab3cd5395d79bcd155ca2f6b
refs/heads/master
2021-01-19T03:23:21.116562
2014-06-12T18:05:19
2014-06-12T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from faker import * from pymongo import * client=MongoClient() db=client.db tc=db['textCollection3'] f=Faker() l=[f.text(140) for i in range(1000)] for i in range(len(l)): tc.insert({"_id":i,"text":l[i]})
[ "simone.robutti@gmail.com" ]
simone.robutti@gmail.com
9eff05ce12331a82a2df274f4ab930c8296168b5
7ddffbc0b183e880e6f440bad44e49aceddf3b6a
/Alexa/alexaDomain/apps.py
62f7c382fad2088b6b984876b3e61ce90bc0f217
[]
no_license
mabraca/Alexa
bd15e0d044609b80abf43232e2c38b19b956cac3
cc666b729f5e1feb39744b642a35115f4f7d905e
refs/heads/master
2020-04-01T18:31:20.767238
2018-10-22T06:29:40
2018-10-22T06:29:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from django.apps import AppConfig class AlexadomainConfig(AppConfig): name = 'alexaDomain'
[ "mabraca18@gmail.com" ]
mabraca18@gmail.com
6e887cf7d59d6082baba621dd168862f85c5d1b5
d3bee7fead4c206116e855b91c7024222a01208d
/dpAPI/MPGW.py
1da2436a6e6230ad7b95233f2e6ab46f1b716b07
[]
no_license
itayb1/dp-python
d5cbe5bae44f411dc4ee2b86458b1e5c75aab029
2b481640619c2fd8e472e11f9f579d64f2fa7418
refs/heads/master
2020-05-15T16:52:15.975891
2020-05-04T13:19:24
2020-05-04T13:19:24
182,396,451
2
1
null
2020-04-27T12:32:49
2019-04-20T11:16:47
Python
UTF-8
Python
false
false
2,192
py
from .const import API_PATH, MPGW_request_body, policy_attachment_request_body from .base import api_call from copy import deepcopy from .DPEndpoint import DPEndpoint class MPGW(DPEndpoint): def __init__(self, auth, base_url, domain): DPEndpoint.__init__(self, auth=auth, base_url=base_url, domain=domain) ...
[ "itay4445@gmail.com" ]
itay4445@gmail.com
45789a6830e3cc51c628742349487ac491954b52
df82b5aff1985cf89c8a4e08cd9befe28c946b25
/06-Segmentation/Answers/segmentByClustering.py
f39c879499bd3f98741988d498f07c1d78241e23
[]
no_license
steff456/IBIO4680
ca2cee74277fe17321c2229d69cfe99cd317738a
23125aa14d7213231ab9b1b6dcc5fddc0c7b5a1c
refs/heads/master
2021-09-14T07:44:04.872265
2018-05-09T16:46:44
2018-05-09T16:46:44
119,931,948
0
0
null
2018-02-02T04:29:30
2018-02-02T04:29:30
null
UTF-8
Python
false
false
6,250
py
#!/usr/local/bin/python3 #main function performing segmentation def segmentByClustering(rgbImage, featureSpace, clusteringMethod, numberOfClusters): #importing necessary packages and libraries import numpy as np from skimage import io, color import cv2 import matplotlib.pyplot as plt import num...
[ "sergioalgl2@gmail.com" ]
sergioalgl2@gmail.com
67ceb865d11bf7d82086694f8879b057f68bf848
864285315c3a154639355f14ab1ff14633576405
/mapclientplugins/segmentationstep/tools/handlers/abstractselection.py
4315d4f55f509d3c4b410e9a7a07ad7b29f48cb1
[]
no_license
hsorby/segmentationstep
774dc537967c9643bd0094dc4e64eefa472588b0
321505374f9434ac0ae832b0b00398c2d4ac1fbe
refs/heads/main
2021-09-28T09:06:07.197158
2015-08-14T07:59:55
2015-08-14T07:59:55
21,375,254
0
0
null
null
null
null
UTF-8
Python
false
false
5,527
py
''' MAP Client, a program to generate detailed musculoskeletal models for OpenSim. Copyright (C) 2012 University of Auckland This file is part of MAP Client. (http://launchpad.net/mapclient) MAP Client is free software: you can redistribute it and/or modify it under the terms of the GNU General Publi...
[ "h.sorby@auckland.ac.nz" ]
h.sorby@auckland.ac.nz
525be32e2f93e6b78338a34c3165291754017af7
8ad05f071487a25649ed51c42f5eb76ecccffa79
/main.py
5ba9fbd703737330b8ba15b567eecea8b1ff3d48
[]
no_license
combjellly/WaveDash
541595aece0a0e668a538fff346ffcf3631ec863
e388469e1beebb8f1c8608ea85c1b6ecb7bb4ae2
refs/heads/main
2023-02-16T08:49:36.545841
2021-01-16T02:47:54
2021-01-16T02:47:54
328,087,291
0
0
null
null
null
null
UTF-8
Python
false
false
2,793
py
'''wavenum = input("how many voices? ") lenght = input("how long for cycle:seconds ") slowest = input("voice with least ammount of cycles? # of cycles " ) fastest = input("voice with most ammount of cycles? # of cycles " ) ''' import tkinter as tk import pdfileformat as pdff wavenum = 20 length = 20 slowest = 2 fastest...
[ "noreply@github.com" ]
noreply@github.com
4466065ff3a5aad40065cdac02eaf15802721295
de52ebdb1b4ccd54ec75686f9dc0bbf5f0548b1d
/ex_dictionary.py
7da8fa0e9b314983af398f667b9c16942e134fec
[]
no_license
ask4git/BUFS-Post-Processing-Module
12282a088296c9014dbffed2dd413d5b6c54fd3d
5e811b3b7a1e129dc16567d6b1751b9aecaef519
refs/heads/master
2020-05-13T16:33:28.298874
2019-04-22T11:35:53
2019-04-22T11:35:53
181,640,117
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
# -*- coding: utf-8 -*- import pickle class ExDictionary: @staticmethod def make_ex_dictionary(): dictionary = list() with open('.\\res\\exception_expression.txt', 'r', encoding='utf-8-sig') as ex_data_file: for each_line in ex_data_file: try: ...
[ "ask4git@gmail.com" ]
ask4git@gmail.com
f0284d22965f628a9a0b899b316fe6e649b59ee5
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/same_place/own_number/bad_way_or_year/different_week_or_able_work.py
66bfb32cdb2de9f544d9b8a983695a71eb049913
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#! /usr/bin/env python def place(str_arg): find_world_by_case(str_arg) print('point_and_little_problem') def find_world_by_case(str_arg): print(str_arg) if __name__ == '__main__': place('last_day')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
ac4d6e76ee26b19ee2ff04a77b386ed4cf0059c9
f7c1282dd377b95621436587fd2a6cb28a455d74
/om_hr_payroll/__manifest__.py
2c39fcc961672ef5c2c5369414d6b86b5a869f74
[]
no_license
odoomates/odooapps
a22fa15346694563733008c42549ebc0da7fc9f6
459f3b25d31da24043523e72f8be09af9a1e67e9
refs/heads/master
2023-08-11T15:25:28.508718
2022-10-14T07:58:36
2022-10-14T07:58:36
173,598,986
182
306
null
2023-08-10T17:58:46
2019-03-03T16:20:23
Python
UTF-8
Python
false
false
1,550
py
# -*- coding:utf-8 -*- { 'name': 'Odoo 16 HR Payroll', 'category': 'Generic Modules/Human Resources', 'version': '16.0.1.0.0', 'sequence': 1, 'author': 'Odoo Mates, Odoo SA', 'summary': 'Payroll For Odoo 16 Community Edition', 'live_test_url': 'https://www.youtube.com/watch?v=0kaHMTtn7oY', ...
[ "odoomates@gmail.com" ]
odoomates@gmail.com
30f8760515740badc64e653bb429b07937a5b028
00020e9785085a14a3ced97301ec8638e770eca3
/embark/uploader/test_models.py
2ccfd581526c64b8f41b8b317bb67f9214ca2418
[ "MIT" ]
permissive
MaximilianWagner/amos-ss2021-emba-service
cb1114bf65aba9c4ab945f45e54370bef9684d1b
afda9ec5a180c8462a1fed2422df2c0e2b7c2c7a
refs/heads/main
2023-05-28T19:33:06.508271
2021-06-16T10:58:54
2021-06-16T10:58:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
from django.test import TestCase from .models import Firmware class test_models(TestCase): def setUp(self): self.fw_file = None # TODO: add timeout def test_get_flags_all_true(self): """ test get_flags() if all flags set to String/True """ firmwa...
[ "wagnermaximilian@aol.com" ]
wagnermaximilian@aol.com
178960390eb252c06cada38f3ada6b9792f26a8f
c12171e8838f70a02d8ed52bcdb620ffd1864a8d
/uh_paper_analysis.py
1aeb6e9e4ed893d89c15cae3498f6d0870a10273
[]
no_license
berdakh/source-Imaging
02b6ecb226685610b8b4ea924a46f3bef8bee135
9d1ccbec64fc29da587fe126e3af25a885145c56
refs/heads/master
2021-06-12T22:12:03.677295
2021-04-09T06:40:53
2021-04-09T06:40:53
184,751,119
7
0
null
null
null
null
UTF-8
Python
false
false
9,219
py
import numpy as np from numpy.random import randn from scipy import stats as stats import os import mne import matplotlib.pyplot as plt from mne.minimum_norm import (apply_inverse,apply_inverse_epochs,make_inverse_operator) from mne.connectivity import seed_target_indices, spectral_connectivity import glob """ The ...
[ "noreply@github.com" ]
noreply@github.com
1fe26cb3b013a3d92b2e14e647855da39908047c
cf5d54f3808036c2d68508fe7b5f0bbf336ef6a9
/regression/compactiv/src/play.py
944675fe6086b08be7b81484ae666a55f6ad69b5
[]
no_license
pedroceles/maters_db
96eeb05172b4a10ca3f5355d55c835e9b4cb2f13
f33d731685ab194c661088cfb1fb37d69ef084cf
refs/heads/master
2021-01-19T00:28:22.560260
2016-06-21T14:57:49
2016-06-21T14:57:49
61,642,759
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
import os import pandas as pd from imputation.data_treatment import BaseTreatment class CustomTreatment(BaseTreatment): def __init__(self, source_path=None, *args, **kwargs): dir_ = os.path.dirname(__file__) source_path = os.path.join(dir_, '../original/compactiv.dat') super(CustomTreat...
[ "pedro.celes123@gmail.com" ]
pedro.celes123@gmail.com
820340e47e5849f5a80c36ab04b86e1b9e1ccccb
1042cf47b885d08075e9f1bafba202726745d0e4
/pysnips/audio/utils.py
19ae2a2722f3e639c8cdf78d4ea0614ac9c33713
[ "MIT" ]
permissive
phenyque/python-snippets
a7da4d32900cc665dd3e74c5f88fa2b9d3bd8326
b8feecfd87663af13db54784c245b3fba0c93202
refs/heads/master
2022-03-17T19:38:12.421745
2019-12-08T11:02:40
2019-12-08T11:02:40
114,359,224
0
0
null
null
null
null
UTF-8
Python
false
false
2,706
py
""" Helper functions to solve common problems/tasks when messing with audio files """ import numpy as np import soundfile as sf import itertools from collections import OrderedDict __all__ = ['ambisonics_reorder_channels', 'extract_channels_from_wav', 'monofiles_to_multitrack'] FUMA = OrderedD...
[ "jankiene@onlinehome.de" ]
jankiene@onlinehome.de
42a1f97987615325f30edc75f358e38ff7f7ba56
450916eee7580beb928ed8f387db4f0a8c1aa508
/src/amuse/community/petar/__init__.py
4b06f767ad173c110590200c195514cd334c5292
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
amusecode/amuse
42095545893f5a86ea79c2a52ce54d3ce8eb204f
b57c1e2fda1457d5025307be105c2aa59b19b574
refs/heads/main
2023-08-31T04:50:48.880044
2023-08-30T12:00:20
2023-08-30T12:00:20
18,516,331
158
118
Apache-2.0
2023-08-30T12:00:22
2014-04-07T12:35:07
AMPL
UTF-8
Python
false
false
29
py
from .interface import Petar
[ "steven@rieder.nl" ]
steven@rieder.nl
4ffe1c4e6d09d5cf2a2e002c6ba1082879a802a5
84f428469eb718e4c8d3e75f9f61a46662e24a7a
/seahub/api2/endpoints/group_discussions.py
81c5960b9f27f6b761469db7303317e01de4cca0
[ "Apache-2.0" ]
permissive
peckjerry/seahub
52a324a9898dc70082b971ca510c56c8d80ec0fc
49ac5b9ec26844ec7cee26285c7438f894853182
refs/heads/master
2020-12-31T03:17:07.186293
2016-03-15T10:19:12
2016-03-15T10:19:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
import json from django.core.paginator import EmptyPage, InvalidPage from django.http import HttpResponse from django.utils.dateformat import DateFormat from rest_framework import status from rest_framework.authentication import SessionAuthentication from rest_framework.permissions import IsAuthenticated from rest_fr...
[ "xiez1989@gmail.com" ]
xiez1989@gmail.com
79663e1e776c4e22aac164836fee33a006dcd6c3
67c18922f98936713be1b2d173797eaf70570630
/models/library_book.py
39cb0a63f4b49744596fdf16abde087477d0dd6b
[]
no_license
edinsonlenin/my_library
4fd301f83b2bd5d0afc6b3be5d1aca405218c7dd
a6f36baa861ffcfaeab0395db1a059d478ed3f49
refs/heads/main
2023-08-15T23:41:06.310649
2021-10-15T14:31:32
2021-10-15T14:31:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
from odoo import models, fields class LibraryBook(models.Model): _name = 'library.book' name = fields.Char('Title', required=True) date_release = fields.Date('Release Date') author_ids = fields.Many2many( 'res.partner', string='Authors' )
[ "edinsonlen@hotmail.com" ]
edinsonlen@hotmail.com
1ae237d50f3b39abb4962276db742147c966c2c6
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/l3ext/domdef.py
d549d045a6b6b4cb4b650cffb5b307b2cc6edf07
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
11,636
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
20ac3af37c2096403f4ddadec0e36b4260828f98
df59c7216f90b529ab54d0d0ec92d6b268701c36
/tests/dice/operators/test_advantage_operator.py
c03eb749c17181e489b5884e9ddf98df024749c9
[ "MIT" ]
permissive
extesla/dice-python
98ddff658c56f4158e0829fe490f066fb108ba6c
d2ce0c59c5ff985759f18f280a82a8df79772daa
refs/heads/master
2022-06-03T03:12:59.254841
2022-05-30T17:55:27
2022-05-30T17:55:27
52,057,843
0
1
null
2016-10-27T01:22:31
2016-02-19T03:14:00
Python
UTF-8
Python
false
false
2,983
py
# The MIT License (MIT) # # Copyright (c) 2016 Sean Quinn # # 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...
[ "swquinn@gmail.com" ]
swquinn@gmail.com
44f758bb7c8d4183146ac4198ba226b5ea1ab1a6
ea515ab67b832dad3a9b69bef723bd9d918395e7
/03_Implementacao/DataBase/true_or_false_question_while_and_for_cicles/question/version_2/answers_program.py
bce77d50a8726979edc4b446b00a9c0313e7c11d
[]
no_license
projeto-exercicios/Exercicios-Python-de-correccao-automatica
b52be3211e75d97cb55b6cdccdaa1d9f9d84f65b
a7c80ea2bec33296a3c2fbe4901ca509df4b1be6
refs/heads/master
2022-12-13T15:53:59.283232
2020-09-20T21:25:57
2020-09-20T21:25:57
295,470,320
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
answer_1_true = while_cicle(48) answer_2_true = p answer_3_true = print_indexes(69) print(answer_1_true) print(answer_2_true) print(answer_3_true)
[ "ruski@milo.com" ]
ruski@milo.com
08e3afd279cb019ded71e39480f949b6f845e6d0
78eac5efb55400a07d6fc2a2893002e8bc25b54f
/05. The FOR loop.py
f3a1c872f1d11e8a3bd44da169b1f0a725ac98da
[ "MIT" ]
permissive
martaksx/UdemyPythonForDataScience
fc5f76a4faf2fefe7c8a6542a025366609c8f62b
32069ca5fcc3532afbc021ecaf6459a2ec6214af
refs/heads/master
2020-03-27T09:30:17.803314
2018-08-27T21:25:26
2018-08-27T21:25:26
146,346,949
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# coding: utf-8 # In[1]: counter = 1 while counter < 12: print (counter) counter = counter + 1 # --- # In[2]: for i in range(5): print("Hello Python") # --- # In[3]: range(5) # In[4]: list(range(5)) # In[5]: for i in range(7): print("Hello Python: ", i) # In[6]: #Another way my...
[ "noreply@github.com" ]
noreply@github.com
d6c6ae9b0e537df0cfeac2c3f9ea0d72304b2934
7f437365978a3e8701c81dfaa210cfb83666218e
/huffman_compressor.py
d02a66c9052670d1c169d20bb3bfa5e6bde2f14d
[]
no_license
haoccc/JPGCompression
1ba0497c934615d9b949edf93dcef1585fbb9a52
bab4c6c8224dd3379ea4dd9d17e6087e20a41a6b
refs/heads/master
2023-03-16T11:51:09.122860
2020-07-28T03:32:54
2020-07-28T03:32:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,929
py
""" Implementation of archivator using Huffman coding works only with alphanumeric symbols, ASCII 0-255 """ from collections import Counter from queue import PriorityQueue import os class HuffmanNode: def __init__(self, char, freq=0, left=None, right=None): self.char = char self.freq = freq ...
[ "noreply@github.com" ]
noreply@github.com
be64af51a20cd47518f646958ef4f87f88915da1
dbdea54c3fba47939a5f8a2a8135b0f2ade56cf6
/LeetCode/pythonSols/Tree/binarySearchTreeIterator.py
fa1876d0c02a01a5e97fdcedd1087e6ce11ea576
[]
no_license
abhitrip/scratchpad
3bb76686616483f082f9120d1b82175d990a730b
45e6ba66104bb43efcce39adc92a4904f50c605d
refs/heads/master
2021-01-17T19:11:40.366951
2017-03-06T01:52:53
2017-03-06T01:52:53
65,786,746
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
# Definition for a binary tree node # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class BSTIterator(object): def __init__(self, root): """ :type root: TreeNode """ self.stk = [] while roo...
[ "atripath@eng.ucsd.edu" ]
atripath@eng.ucsd.edu
196bd5b3ef54d44d683ca77d74119b504f386560
9481096eb3e6469a2190c94673e95484086e7e6b
/project8.py
558b77e851c891d1f6898c3a7efc86079826f839
[]
no_license
ArthurMelo9/100daysofCode
806113d99e7a4579b620f9462e0dc2d7efa7d039
99440e3777ecb947b9eb8d2de22852bace965b93
refs/heads/master
2023-06-08T02:02:30.950615
2021-06-20T23:16:46
2021-06-20T23:16:46
378,754,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] direction = input("Type 'encode' to encrypt, ty...
[ "arthurneuro7@gmail.com" ]
arthurneuro7@gmail.com
9fc3bf3f4eee04e15d6b0b09d93ef4d0144d9c7b
5f0e9f5a33b1b768f95afe22ab426e185b913c69
/app/migrations/0002_imagen_imagencolor.py
a8ad6b3445442744f9931980a0458b61db390db3
[]
no_license
ericksulca/b-b2RGB
2c59b29ec50b16d288b2cbb83b6d32a375b30fae
927ce588523a6e3c20e94593c3e5eeea98cd4926
refs/heads/main
2023-07-30T16:28:50.165068
2021-09-24T23:22:45
2021-09-24T23:22:45
409,697,208
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# Generated by Django 3.2.7 on 2021-09-24 17:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='imagen', name='imagencolor', fi...
[ "ejyp259@hotmail.com" ]
ejyp259@hotmail.com
08215192ca88cabc81c9fd1342f9dfdf50821767
0ca811fefeba82b2a6ca8f6bf054aa2b7d150e0b
/code.py
db7b4958614cb7f7a439c38a4087df87d20c5550
[]
no_license
PECNAS/Tokanomir
ba8b06c4ba25c2edafcabbe449ab5b24e021d2a4
cd8e7c032b41c0a49660cf17111bcc7cc54010f2
refs/heads/master
2022-05-30T09:25:16.630157
2020-04-28T21:36:15
2020-04-28T21:36:15
259,051,695
2
0
null
null
null
null
UTF-8
Python
false
false
24,066
py
''' Данная программа анализирует ТЕКСТОВУЮ базу данных с больными Больные имеют пять параметров: имя, класс, симптом, наличие прививки и дата поступления Просто гусь +-------------------------------------------------+ | ░░░░░▄▀▀▀▄░░░░░░░░░ | | ▄███▀░◐░░░▌░░░░░░░ | | ░░░░▌░░░░░▐░░░░░░░ | | ░...
[ "busovrm4@gmail.com" ]
busovrm4@gmail.com
daa468830747de562fd243d8d431e43330be2146
823538725626b8b3da48d9407f703f72f8ee591f
/t628nn/implementation/cl_layers/__init__.py
663d55c131bb95b51c6fcb765842323a23edc2a6
[]
no_license
Denise-Li/t628nn
63cd2aac869e48f0fddbbab6ff7f9ce74593d6f4
d8ecd82bc6a42022974f7d5069ab96c8cf00c67a
refs/heads/master
2020-09-05T05:03:11.147912
2019-11-09T22:07:10
2019-11-09T22:07:10
219,990,357
0
0
null
2019-11-07T14:11:56
2019-11-06T12:21:22
null
UTF-8
Python
false
false
143
py
from .MaxPoolLayer import MaxPoolLayer from .ConvolutionalLayer import ConvolutionalLayer from .FullyConnectedLayer import FullyConnectedLayer
[ "2387729l@student.gla.ac.uk" ]
2387729l@student.gla.ac.uk
651744644f01fcbc9afa85b5da4940fa6350128a
de46832c4fdafae716906e6b25bc1121646b7d03
/Python_Code/helloworld.py
7a5e6e25bd55d8de86eca7c087667da1ed7743f0
[]
no_license
Tessu/HarjoitusRep
da63a1db07277eb85054870b5075c7d932d4a133
974427f68cd0ab338741d9edf4bc7d563c81b5b3
refs/heads/master
2020-08-03T16:55:04.150888
2017-04-28T12:25:32
2017-04-28T12:25:32
73,542,162
0
0
null
2016-11-17T10:49:43
2016-11-12T08:54:47
Python
UTF-8
Python
false
false
62
py
print "Hello World!" hello_world = "Hello" print hello_world
[ "henrithessler@gmail.com" ]
henrithessler@gmail.com
8aa4fdca170152b6545b4c99a900518c6cd068a9
b892b3141219973088a9642f830db5284c20471a
/vitaa/solver/__init__.py
613306339f9cf287c9ff2b469fc0f8e0f7dd719c
[]
no_license
Galaxfy/ViTAA
60f43c120db48d2824e7d8dbc3614e2e1c8f0cf2
0bd7638f07131035ba88c7fb7e115feebc57fd2f
refs/heads/master
2023-03-24T08:39:41.482237
2020-08-27T15:18:14
2020-08-27T15:18:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .build import make_optimizer from .build import make_lr_scheduler from .lr_scheduler import LRSchedulerWithWarmup
[ "wangzhewz@buaa.edu.cn" ]
wangzhewz@buaa.edu.cn
33ab37d36bf060e9503eccc0a0f4e85f69338e95
4b27d461266c52e8c8855728b572afa9b6db4be3
/mysite/settings.py
77398e8ce7a9a5829481a4faa4dde3b3e02c2d71
[]
no_license
Netekss/Django-shop-manager
88bfb7e5507b9ca2077abc12c216f2f337966806
b35e6f37d7f9bd699ccb7a27af34e90f6d80860b
refs/heads/master
2023-02-28T01:37:38.754717
2021-01-26T09:45:04
2021-01-26T09:45:04
315,080,285
1
2
null
2021-01-26T09:45:05
2020-11-22T16:22:32
HTML
UTF-8
Python
false
false
3,115
py
""" Django settings for mysite 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 pathlib ...
[ "Jakubnetkowski29@gmail.com" ]
Jakubnetkowski29@gmail.com
58bf69943a02a438a32fc8d8965ddc47fcd1eb4e
ad6ea02c93cea570d9487f1f8b99b00acabe6abb
/docs/architecture/build/architecture_one_shard.py
dc785906ba7cf0367b72e796c5d5494c753bbe98
[]
permissive
talview/jitsi-deployment
47942ca3910cfda236ea0eface49b24496057ade
a2ddd8639bca3e4c812ce283e82551d781952cbe
refs/heads/develop
2023-04-29T03:23:19.251191
2020-06-15T12:29:23
2020-06-15T12:29:23
367,215,735
0
0
MIT
2021-05-14T01:18:38
2021-05-14T01:18:37
null
UTF-8
Python
false
false
2,349
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from diagrams import Diagram, Cluster from diagrams.custom import Custom from diagrams.k8s.clusterconfig import HPA from diagrams.k8s.compute import Deployment, Pod, StatefulSet from diagrams.k8s.network import Ingress, Service globe_img = "resources/globe.png" ...
[ "maximilian.kertel@woodmark.de" ]
maximilian.kertel@woodmark.de
559142186ed45fbbaffffb507ad1b88430ecdd8f
74b1cc170d107dc5fd48a8f01b90931f61c0c58a
/attrib.py
444c1be006c0bb7dd53ef3bb75391d126d6648c6
[]
no_license
narenaryan/Python-GIS
b980a7de044d9c34a2c2946576070ebc073969ac
b45be225a5e25b6fd2a4bb25f7527b3dab8e28c1
refs/heads/master
2020-08-27T05:57:32.362519
2014-12-07T13:28:28
2014-12-07T13:28:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
#Get attributes of a state according to Feature no from proj1 import layer_feature_name,shapefile layer = shapefile.GetLayer(0) maps = layer_feature_name(layer) for i in maps.items(): print 'Feature ',i[0],': ',i[1] choice = int(raw_input("Enter Feature No: ")) print '\nFeature %d has following attributes'%choic...
[ "narenarya@live.com" ]
narenarya@live.com
1171adb7fde817ce921d1b7439dc217dbbc905c3
74992d8406107d0ebae68813660f8082dd50bf21
/users/urls.py
5426c0a8f31b2461d8628e86b8513ee97458fc10
[]
no_license
Ethan009/python-Learning-Log
a36896c9ac66bcbe43e9f1e8d2c88c16853216e4
36e16f75c4990d6df2282d41daa333dd02dc979d
refs/heads/master
2020-04-08T11:18:41.883959
2018-11-27T08:33:20
2018-11-27T08:33:20
159,301,023
1
1
null
2019-01-19T06:10:58
2018-11-27T08:26:09
Python
UTF-8
Python
false
false
309
py
from django.conf.urls import url from django.contrib.auth.views import login from . import views urlpatterns = [ url(r'^login/$',login,{'template_name' : 'users/login.html'} , name='login'), url(r'^logout/$',views.logout_view,name='logout'), url(r'^register/$',views.register,name='register'), ]
[ "ethan.lv@feixitek.com" ]
ethan.lv@feixitek.com
3a327dde0a2902cdb8b0486ca2a1b70db57f920e
05e65c5057cc07a3abbbb4c5fe3bb1b9ee70ea0a
/main.py
f147d00de6cd6a15ed242d659ed9209e624a9ceb
[]
no_license
VProgramMist/sshunter
a216edbbbb7ee957fd580c2f91329b1c933f6879
89a699d4023817f9c2285ff9c5a2717d22a54524
refs/heads/main
2023-05-09T02:24:29.870130
2021-05-22T16:12:39
2021-05-22T16:12:39
369,852,090
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from flask_login import login_required, current_user from flask import Blueprint, render_template, redirect main = Blueprint('main', __name__) @main.route('/') def index(): return redirect('signup') @main.route('/profile') @login_required def profile(): return render_template('auth/profile.ht...
[ "noreply@github.com" ]
noreply@github.com
c4c3379cb706b2d7acd0e06406bc415238457867
8b08da919a615acf07f19ff835952aed6ad3b897
/ml_hw2/bin/f2py
64b827dd5ed4221a4ba4b2ff63e3e678696cd2d8
[]
no_license
shailchokshi1992/NaiveBayes
ade7722050d8b2abb65f87fdcd6e4a174a9708a9
06bf338c64a8d0623a738c9e519f1cce970af31b
refs/heads/master
2022-12-12T07:10:09.915762
2018-02-02T17:49:59
2018-02-02T17:49:59
108,792,943
0
1
null
2022-11-28T07:29:59
2017-10-30T02:39:17
Python
UTF-8
Python
false
false
786
#!/home/shail/Desktop/ML/HW2/ml_hw2/bin/python # See http://cens.ioc.ee/projects/f2py2e/ from __future__ import division, print_function import os import sys for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]: try: i = sys.argv.index("--" + mode) del sys.argv[i] break exc...
[ "chokshishail@gmail.com" ]
chokshishail@gmail.com
9bf8c88b2d724bdddded87831f0850574c0aa119
81f777cd72ce7753d1a292a147c3fce694560524
/fib.py
0fe888e3a6ba8d916b3a177ae96c2c189ce4915c
[]
no_license
ajuse/python3_learn_note
1a9d2e0aaa2b6a9eb4dcc2927bf7b5ee59f50e99
cacc9500699efd45cedf8148f37a5e9d670d8c96
refs/heads/master
2020-04-15T12:33:44.078132
2019-06-10T11:53:33
2019-06-10T11:53:33
164,679,925
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# coding=utf-8 def fib(num): result = [] a, b = 0, 1 while num > 0: result.append(a) a, b = b, a + b num = num - 1 print(result) if __name__ == "__main__": fib(15)
[ "luoyunfu.1218@gmail.com" ]
luoyunfu.1218@gmail.com
5c7e955a24c163cb331b64dfbc66e5db51d8b25a
3b334e9ac96ba3b975f427e84d2f981cacd884ff
/common/menu.py
9fd040c06646885131581851131788ed0df8dec3
[]
no_license
HminiL/flask-madird-titanic-docker
38a4d797501a252dbe1579e9e53e6f70f3ffc0a9
3670792f41427d22f5f2e10e4f7acbe8fa86b845
refs/heads/main
2023-08-11T03:41:33.002213
2021-09-24T03:25:04
2021-09-24T03:25:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
def print_menu(ls): t = '' for i, j in enumerate(ls): t += str(i) + '-' + j + '\t' return int(input(t))
[ "hmin10580@gmail.com" ]
hmin10580@gmail.com
fd0eeacd7c197199c2a694868d6d5ea34ded1d6a
6b5709ef2b69047c4a2e3c58a1fed6845bd67111
/leet_code/10_regular_expression_matching/solutions.py
ba77b7802836c7a4052afbaa4df50df0ac680e23
[]
no_license
aasawaree2/leetcode_python
4fd0184a7469ff598578431a82a493b2aeaa5ab2
28c2b0c824ac1c61c115544c12e796574a9b5c48
refs/heads/master
2020-04-19T17:59:47.281745
2019-07-22T21:15:18
2019-07-22T21:15:18
168,350,517
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
class Solution: pass def main(): s = Solution() if __name__ == '__main__': main()
[ "aasawaree.21090@gmail.com" ]
aasawaree.21090@gmail.com
a5aede7a61d80ba0b1cb090a5132fab906576547
713a2579e8474d181e3c86c79e618accbd8fe75b
/UdemyPythonCertCourse/Machines/vehicle_stuff.py
a2889010325b802adb430f8546bba003bf09d8f4
[]
no_license
shulme801/Python101
a3efd4c8577a35697acd5328fa55528227351bcf
3480773f2ab2d4f944e48bd669be2156890b5e28
refs/heads/master
2023-03-11T20:51:10.745992
2021-02-13T17:08:29
2021-02-13T17:08:29
198,089,908
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
class Vehicle: # this variable should not be changed outside of the class specification. # this is a class attribut vehicle_counter = 0 def __init__ (self, body_type, make): self.vehicle_body = body_type self.vehicle_make = make Vehicle.vehicle_counter += 1 def get_vehicle_...
[ "shulme801@gmail.com" ]
shulme801@gmail.com
fd8fd1f9cb3b2413c38a13369c6f285a47e1db9c
e63b09d912f15d753386426ef1467a665fb84276
/Lab_Asmt_10/Source Code/RetrainInceptionFinalLayer/label_image.py
84ebefc43ceae37ffcb09802c44b0e0a3c0debe5
[]
no_license
Lavakumar90/BigDataApplications
8d7e12c76798d071fbe8ffe56b4530fad522c0de
a884418c223ecfb1940a47d13c66a21aeba11b7b
refs/heads/master
2020-04-05T12:12:37.266566
2017-09-26T01:57:38
2017-09-26T01:57:38
81,053,633
0
0
null
2017-07-28T15:01:49
2017-02-06T06:07:10
null
UTF-8
Python
false
false
1,175
py
import tensorflow as tf, sys #image_path = sys.argv[1] image_path = 'data/car_photos/sports/images (1).jpeg' # image_path = '676728-bigthumbnail.jpg' # Read in the image_data image_data = tf.gfile.FastGFile(image_path, 'rb').read() # Loads label file, strips off carriage return label_lines = [line.rstrip() for line ...
[ "lavasurparaju@gmail.com" ]
lavasurparaju@gmail.com
d22510d282ed3e0b33f8d3e501117b4b8527cca0
91438802ee114b2fb945aae4105a17993dd6953d
/build/learning_ros_noetic/Part_5/ur10_robot/ur_traj_client/catkin_generated/pkg.installspace.context.pc.py
4807c4137df7658f74a42609d61315e95299f603
[]
no_license
AlexLam616/Baxter-robot
3a4cef31fe46da0fdb23c0e3b5808d84b412d037
d10fdcd35f29427ca14bb75f14fa9c64af3b028c
refs/heads/master
2023-05-12T01:25:56.454549
2021-05-25T02:02:09
2021-05-25T02:02:09
367,070,028
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;actionlib;trajectory_msgs;control_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_...
[ "1155135145@link.cuhk.edu.hk" ]
1155135145@link.cuhk.edu.hk
7e11aa95bc1e4a542925e169fb76e98a6c626988
35252c5ccf86022e4b08ea40dee1af2d68149687
/inventory_management/urls.py
776ebbfaf7b08bae038f93eae2074e2d2d44a4dd
[]
no_license
Coderknight439/inventory_management
e44ea1f091c9900c032c0a0df2ede6bf86759893
f990c0af22b213b6517e34ea051c7db408f1c2be
refs/heads/master
2023-07-29T01:49:49.112962
2021-09-17T22:29:41
2021-09-17T22:29:41
406,515,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
"""inventory_managemnt URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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')...
[ "mahadi.hasan@divine-it.net" ]
mahadi.hasan@divine-it.net
e92860ed96f4a2b3dea5c060bfdeb1f66ed08a37
5f1083c23f5163ad274d7690a597cb995ca88ec3
/application/api/stage_regularity_paint_api.py
bb85876bcc779fc2336eced26ebf55b05957e460
[]
no_license
lvwanyou/Wisdom_Mattress
f7af4236a4afe4d42651ae4dc840779a8732fb62
abf92d6ba2791e768d6b59d594c4af652d76fe10
refs/heads/master
2021-09-10T08:35:58.000379
2018-03-23T02:03:42
2018-03-23T02:03:42
116,142,977
1
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
# -*- coding: utf-8 -*- import falcon import json from application.analyser import Analyser from application.analysis.stage_regularity_analyser import StageRegularityAnalyser class StageRegularityPaintApi: def __init__(self, db): self.db = db self.analyser = Analyser(self.db) self.stage_r...
[ "lvwanyou@163.com" ]
lvwanyou@163.com
e7d94e462e7b2e3fde8bb0883b5a7eeb7330bbdd
8ad9c8b4c7c888482c743bf05007a5611c49ad75
/utils/augmentation.py
c2c9d36193dc5626133645f08b1dd064389be03e
[ "MIT" ]
permissive
Papyrus-Analysis/mcrnn-pytorch
9083f13cc94466daadbfbf6bba5ca03a4a059f4b
6624eebe128770df5fa71235fbf0c6677f2d3b51
refs/heads/main
2023-05-24T08:54:38.338493
2021-05-20T20:58:29
2021-05-20T20:58:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,884
py
import cv2 import numpy as np from imgaug import augmenters as iaa from scipy.interpolate import griddata import sys INTERPOLATION = { "linear": cv2.INTER_LINEAR, "cubic": cv2.INTER_CUBIC } class GridDistortion: def __init__(self, prob=0.3): self.prob = prob def __call__(self, img): ...
[ "glmanhtu@gmail.com" ]
glmanhtu@gmail.com
2f819d9b7131ebb5ab3ba5de2b16433c41ef6657
da7a893f0dc9c130b5f8c29d4875e7c5d98ac64f
/code-slides/0019-fib-more-fast-examples.py
8dbdcdff07628e4544477b3860838a7d9f952cf8
[]
no_license
py-yyc/decorators
a489d89869582a9127a5272e9342b8131ad91fe3
bd7c65b78b3f00cf8da216eab945f3ef26c1b2a8
refs/heads/master
2020-06-20T18:29:59.884497
2016-02-23T21:48:09
2016-02-23T21:48:09
52,392,195
1
0
null
null
null
null
UTF-8
Python
false
false
906
py
from __future__ import print_function # noslide ## <h1>how decorators work</h1> from time import time # noslide from contextlib import contextmanager # noslide @contextmanager # noslide def timer(): # noslide s = time() # noslide yield # noslide print("took {:.6f}s".format(time() - s)) # noslide de...
[ "meejah@meejah.ca" ]
meejah@meejah.ca
fef8619855d686a10de3b4cc6d72b631190df666
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/2282.py
f467a7480d13917624dc75ae91326fb1c6115b5b
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
def rec_stall(n): res = [] if n == 1: return stalls[1] if n == 2: return stalls[2] if n == 3: return stalls[3] if n%2 == 0: a = rec_stall(n/2) b = rec_stall(n/2-1) res.extend([[n/2-1,n/2]]) c = [list(x) for x in zip(a,b)] c = [val for sublist in c for val in sublist] res.extend(c) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
4cc34e361b07ef53d5e150374d1db0d50e01b2b9
553eadc801cfc8b3aacd0004be274f871cfd6c2b
/rango/admin.py
b3f1528fbe6ec5db485f83a1b26263ea6f7eace5
[]
no_license
subhro101/tango_with_django_project
1b16551c23e58e6a217a06f0e4b72da568afa1cb
e9c20e3e39d45ea20c47003b7827512a48f55974
refs/heads/master
2023-06-24T11:38:05.351457
2021-07-30T13:06:42
2021-07-30T13:06:42
389,550,619
1
0
null
null
null
null
UTF-8
Python
false
false
397
py
from django.contrib import admin from rango.models import Category, Page from rango.models import UserProfile class PageAdmin(admin.ModelAdmin): list_display = ('title', 'category', 'url') class CategoryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug':('name',)} admin.site.register(Page, PageAdmin) ad...
[ "2601733P@student.gla.ac.uk" ]
2601733P@student.gla.ac.uk