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
efc7afc0ee9bfd7f2b6a3219c8f25345badca682
37ae9741d39012e517dbbff98669bd4b18149b6c
/machine.py
5371509d6b1dbb05b60c75d487bf52c753005060
[]
no_license
amaterasu1577/vending-machine
f106f793486f6158526af773e6be8041e918276f
ed520d8e1322e11b9fe0630a58468a4d67d504df
refs/heads/master
2020-06-06T01:35:15.278570
2019-06-18T20:44:41
2019-06-18T20:44:41
192,602,761
0
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
""" Implement a vending machine """ from enum import Enum class Slot(): """ Class Slot to implement a slot in vending machine """ def __init__(self, code, name, price): self.code = code self.name = name self.price = price self.quantity = 0 class Coin(Enum): """ Enumeration...
[ "stephane.a.menanteau@socgen.com" ]
stephane.a.menanteau@socgen.com
da808e1db71b784d8abea5fb5736304d99e9c6d7
e7a1d1f501181daadcb9bbf4acffa469a41e1778
/scouts/models.py
825039ef17e6be7bec76a7494b17a874df968e26
[]
no_license
Aziguy/Django_basic
7f94b5586cd5303a2f2ba94d79c2e467bbc87aff
f495a6a41f15241397dcc629c43a99175e6c5470
refs/heads/master
2023-08-18T10:03:14.445030
2021-10-10T10:56:06
2021-10-10T10:56:06
415,558,645
1
0
null
null
null
null
UTF-8
Python
false
false
620
py
from django.db import models # Create your models here. class Employee(models.Model): photo = models.ImageField(blank=False, upload_to='userprofile') first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) id_number = models.CharField(max_length=20, unique=True) email = models.Ema...
[ "monsieur_hernandez@hotmail.com" ]
monsieur_hernandez@hotmail.com
cb22349d4e848f634014ed843624b6925d920894
15b34f197e35b802501fa092ff652b2c3d6076d9
/if-test2/iftest2.py
e67a6821f989a681ce6fc4785b45704d157a874e
[]
no_license
wolf-ja/mycode
e7b7d0d87b911f26fa5060e419d87d9d72b00773
6b6fda3f8db5e6c68b8fe8a7900ccfa9cec19779
refs/heads/main
2023-02-27T18:25:34.220343
2021-02-10T21:50:39
2021-02-10T21:50:39
337,128,847
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
#!/usr/bin/env python3 from ipaddress import ip_address, IPv4Address, IPv6Address ipchk = input('Apply an IP address: ') # this line now prompts the user for input ipchk = ip_address(ipchk) print(ipchk) print(type(ipchk)) if ipchk == '192.168.70.1': # if a match on '192.168.70.1' # indented under if print('Lo...
[ "jasonwolf.wolf@gmail.com" ]
jasonwolf.wolf@gmail.com
b0262c38debe45cff08a45da06eb141b99fed10c
85fdc5d6cd34304fe827a49ed31023ccf094f9cc
/content/views.py
4101cf44f843f85633b7c353fe7cb56eb13c2c4a
[]
no_license
ajoulikelion8/toyproject_1day3ggang
6670bc4df6111a7a191f3209c3acc9e6647de407
7559e00946b5a03768dba6784c38ceb395342ea0
refs/heads/master
2022-11-22T16:14:24.018037
2020-07-12T17:39:54
2020-07-12T17:39:54
271,964,140
0
1
null
null
null
null
UTF-8
Python
false
false
1,495
py
from django.shortcuts import render,redirect,get_object_or_404 from django.utils import timezone from .forms import PostForm,UpdateForm from content.models import Todolist from account.models import User # Create your views here. def mainpage(request): return render(request,'content/mainpage.html') def wholelist(...
[ "rbfl9611@gmail.com" ]
rbfl9611@gmail.com
c770e3b327455e13849eeee61191a2598e34255f
e1a56ac7e85030de9ed440db0d276612fc8ad02e
/wsperf.py
ac4c5131cd39821c4f0630ba1f46a55189edb2fd
[]
no_license
hoangtrucit/wsperf
cfeb9ee794475ecffcf96e9b1929ca69ed2a8942
3d9dd986b1fb7dd0af38540191cc9ea73f119770
refs/heads/master
2021-10-20T19:30:06.236857
2019-03-01T13:52:34
2019-03-01T13:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,838
py
import os, sys, argparse from twisted.internet import reactor from twisted.internet.utils import getProcessOutput, getProcessValue from twisted.internet.defer import DeferredList import analyze if __name__ == '__main__': default_wsperf = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'wsperf') par...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
195ac95f63e61157f163bece66445bf2cac32366
e58ecbf6af1cafbff42e2cc33abcbbf6e4ee7475
/tests/accounting/test_call_fee_scalar.py
a6ed4f4b831b346ef58636e8757486598b762f01
[ "MIT" ]
permissive
celeduc/ethereum-alarm-clock
1edbbe207e0f9a7ea34a792728a2b6dceda455dd
fd202f5e96b753e6ce6bcee9a67363c468c10c7b
refs/heads/master
2020-02-26T17:23:54.054416
2015-11-09T06:11:28
2015-11-09T06:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
test_values = ( (20, ( (4, 145), (8, 138), (12, 129), (16, 117), (20, 100), (24, 83), (28, 71), (32, 62), (36, 55), )), (500, ( (50, 148), (125, 143), (275, 132), (400, 117), (475, 105), (...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
df6eb988e4cdd97624b0cbc2b3fba8c61b9c07d1
b5cc07fcb8e89193c01cd9f8688b8d7b4fa506d7
/transcripcion.py
a9fff7b4d7f1c3ec3065d1a6931a116cb0a51ae5
[]
no_license
saisua/Wordscores
f063cd3c5cd7e1dbfda427a2e4d1fce0eb0dedef
49eb10e2da5ba14f6f52cc381828f730768c3a88
refs/heads/main
2023-02-02T09:19:35.402693
2020-12-18T04:13:11
2020-12-18T04:13:11
322,485,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,786
py
print("Empezando imports (transcripción)...") from argparse import ArgumentParser from pydub import AudioSegment from numpy import array import speech_recognition as sp_recon from speech_recognition import Recognizer from urllib.request import Request import json import sys from io import BytesIO from multiprocessing...
[ "noreply@github.com" ]
noreply@github.com
a0bcf79be4876bd759e9b7a8b1c790f4a0cce311
e84f94069339bcabb26a7fe82365e6822c5cea91
/good/admin.py
4fae9b90d04a25127ef5b4272c341678d3edb389
[]
no_license
GMS34onv/testapp
b66092cc8ec0f3ec10dcccb72ef016467d69e277
a7bbee1148758fca2a699f3f21a8aaa9c41684a5
refs/heads/master
2023-01-08T20:06:17.207749
2020-11-07T12:39:36
2020-11-07T12:39:36
310,841,419
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from django.contrib import admin from .models import Participants admin.site.register(Participants)
[ "zs827348@fg8.so-net.ne.jp" ]
zs827348@fg8.so-net.ne.jp
e45e164e98b1895ddc938a79d25184cb7d64155e
5dec53054c22354e702eb93a5efce219c5251de7
/mypaddle_recongnize_digits.py
70be6ae157090537b2725a195968ad1be2753678
[]
no_license
cawind2/mypaddle
b10d2ea34204382069e572c289a6a90a038b6035
f0408db958654a87a39f01f849abd5e27a468e8c
refs/heads/master
2020-05-07T16:47:58.377619
2019-04-12T03:17:46
2019-04-12T03:17:46
180,698,765
0
0
null
null
null
null
UTF-8
Python
false
false
7,887
py
# -*- coding:utf8 -*- # digits from __future__ import print_function import os from PIL import Image import numpy import paddle import paddle.fluid as fluid BATCH_SIZE = 64 PASS_NUM = 5 def loss_net(hidden, label): prediction = fluid.layers.fc(input=hidden, size=10, act='softmax') loss = fluid.layers.cross_...
[ "konglan@hotmail.com" ]
konglan@hotmail.com
090878f19ffe408b52f9598216f4a2f609c8d58e
e9685369da45e5c502ce5540891e6018eadba252
/backend/server/apps/tasks/api/serializers.py
8f557e1bb12bfa5ff5230105c2b8d8284b099ec9
[ "MIT" ]
permissive
Turi-fly/simple-tasks
9703a2dd405081b129222cf6a325a5b591709d8c
ae759a8100f6604b6d8fc00f19cf3aedbd945f3d
refs/heads/master
2022-04-10T15:26:01.590888
2018-11-14T08:45:46
2018-11-14T08:45:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
from rest_framework import serializers import tasks.models as models import cerberus class TaskSerializer(serializers.ModelSerializer): class Meta: model = models.Task read_only_fields = ('id', 'state', 'result', 'task_id',) fields = ('id', 'state', 'params', 'result', 'task_id') def ...
[ "pplonski86@gmail.com" ]
pplonski86@gmail.com
57696caf005b8a54da7aaaf3df859c70b66f1d82
073f6b363b128179e3b698f7298937890da58d79
/simplegrid.py
9b78ee6c16c85559c1e2a10bea2ec6a753ede5bf
[]
no_license
janagood/My-Advent-of-Code-2020
df84910f88f771a417cda6a0ecde1fb0c3142e87
61630fabd2f38fbc64ab0106429e536d272d136c
refs/heads/main
2023-02-19T02:26:31.092070
2021-01-16T22:09:15
2021-01-16T22:09:15
321,767,195
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
''' simple grid rows/columns of characters ''' class SimpleGrid: def __init__(self, width, height, display=None, BLANK='.'): self.width = width if display != None: # lengths of lines vary self.width = max(len(line) for line in display) self.height = height ...
[ "noreply@github.com" ]
noreply@github.com
3e1776247d845fc32f4cfe242171b4dcbe3a6657
182f8408c5ae6373716717906a6317ae42314497
/Python Scripts/Helper/marker_tracking_opencv.py
465567570aeb9304de20661c47d23d2472db3713
[]
no_license
RaedShabbir/3DPositionalTracking
c0ab9bc65930cf023c5184537f9279f538ccf550
66a77423350c15566451460af8a68df48a6495bc
refs/heads/master
2021-06-12T09:32:54.745728
2021-02-23T18:29:56
2021-02-23T18:29:56
142,172,794
15
4
null
null
null
null
UTF-8
Python
false
false
969
py
import numpy as np import cv2 import cv2.aruco as aruco import sys video = cv2.VideoCapture(0) #Error checking if not video.isOpened(): print ("ERROR: COULD NOT OPEN VIDEO ") sys.exit() aruco_dict = aruco.getPredefinedDictionary(aruco.DICT_4X4_50) while(True): #read frame ok, frame = video.read() ...
[ "raedshabbir@gmail.com" ]
raedshabbir@gmail.com
35ca70a8b5270904c42a2735dff91b71f75adeab
03f97c2af0830e5806b652c059b7a5c838c46e58
/primsmstsub/python/avishek1013.py
1863f10893abac7f032b8b6125b8bd50b5dfc151
[]
no_license
saketrule/hackerrank_top_solutions_dataset
28f2539bfce14b6f7ddf6364c23cd00ca61681eb
12699befcaf1ebd727c66104b1d5715ef58573b3
refs/heads/master
2020-05-22T18:35:48.609982
2017-03-31T14:38:42
2017-03-31T14:38:42
84,714,263
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
import heapq N,M = map(int,raw_input().split()) edges = {} adj = {} for m in range(M): x,y,r = map(int,raw_input().split()) if (edges.has_key((x,y)) and edges[(x,y)] > r) or not edges.has_key((x,y)): edges[(x,y)] = r if (edges.has_key((y,x)) and edges[(y,x)] > r) or not edges.has_key...
[ "anonymoussaketjoshi@gmail.com" ]
anonymoussaketjoshi@gmail.com
74f2bdf58cb20622e1de728a20875fc2c71867af
1323bc9ccc02ccc169e7abb9e36c3238f11e967c
/mysite/blog/models.py
c0c96e4f8842405eb7403f45d0e1f6f4025c809c
[]
no_license
defrank/old-personal-website
1f870a52ce70d1f63fb769c0885ee19c59937341
df063b2bc961daf68dbbd07628071604e7b73d50
refs/heads/master
2021-06-16T03:05:52.033742
2017-04-12T18:50:06
2017-04-12T18:50:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,819
py
# $Id: models.py,v 1.1 2013-06-30 17:08:56-07 dmf - $ # Derek Frank # # NAME # models.py - blog # # DESCRIPTION # Models definition for mysite blog. # from django.db import models from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User f...
[ "derekmfrank@gmail.com" ]
derekmfrank@gmail.com
f68edc296aad188b58a8795023a0db3bed2f7007
2091bc632121d7ea50440eac86147146d673edb6
/search/majority_element2.py
41f5d3eb7217beb02f884bf427129b651746cfea
[]
no_license
teamday/Learning
f6e2fb6553bdf6ba7c492948e771ae4b622e3465
cf99d0e40388183d1b54a0a0f4c1a9f3b92ccb40
refs/heads/master
2022-12-24T19:28:23.768178
2020-10-10T07:35:16
2020-10-10T07:35:16
86,290,359
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
#!/usr/bin/env python class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: List[int] """ if not nums: return [] res1, res2, cnt1, cnt2 = None, None, 0, 0 for n in nums: ...
[ "roman@itech.ua" ]
roman@itech.ua
4cdaf7a82e2c58ba6dd327460842b08cd2a84836
fb63b9a6f0fb2a61718133b6c73cf88d6d86b473
/tests/unit/test_conditions.py
6e54ec94e09d80b3d8b1c82bb90e99a82b98fea8
[ "MIT" ]
permissive
Sazpaimon/bloop
e3f15d55253b077e6bb4764e3a3cf614726f33e9
e5eee6a1c5c46ecbb9a6a3517cca345d756ecc53
refs/heads/master
2021-07-12T12:16:59.748176
2017-09-23T01:33:21
2017-09-23T01:33:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
51,169
py
import logging import operator import pytest from bloop.conditions import ( AndCondition, BaseCondition, BeginsWithCondition, BetweenCondition, ComparisonCondition, ComparisonMixin, Condition, ConditionRenderer, ContainsCondition, InCondition, InvalidCondition, NotCondi...
[ "joe.mcross@gmail.com" ]
joe.mcross@gmail.com
5fad4659f82009f792d6692934e99164917d5c9d
5d7f56534d86e405f47b9b97546950ee9469f68a
/Python/Greedy_1이될때까지.py
05fafb2b784f90cf610f5ba5a289d70ccf0bbbe3
[]
no_license
naminyeop/Algorithm
6a371a2ae8b1dbdfcd7cb04d16d4039004e542ad
0acd5145a606fcb3e54b0e9947ddf55a6951be45
refs/heads/master
2022-05-25T09:20:50.596547
2022-03-15T05:34:30
2022-03-15T05:34:30
77,616,690
1
0
null
null
null
null
UTF-8
Python
false
false
257
py
N,K = list(map(int,input().split())) print(N) # 17 print(K) # 4 num = N count = 0 while num != 1: # print(num) if num % K == 0: num = num / K count = count + 1 else: num = num -1 count = count + 1 print(count)
[ "naminyeop@naver.com" ]
naminyeop@naver.com
e95450b4b2a062095da6f2a52983a8128ebe702a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02640/s043458506.py
aa5a66ce9487ea4e0b7b83b41044d3742b278eb9
[]
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
238
py
# Crane and Turtle X, Y = [int(i) for i in input().split()] for t in range(0, X + 1): legs = 2 * (X + t) if Y == legs: a = 'Yes' break if Y < legs: a = 'No' break else: a = 'No' print(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
16d8e89e918f02b740fb31f6d8b1d19b9d2dfda4
e6e57bf7d4eda37f1188ab72ff249675f40029ee
/cs61a/projects/ants/ants.py
a8a120ed09ea374651365b3c40741aaa2b2431a7
[]
no_license
juanpedrovel/bomboclap
4e186331ef1c26c8522e44c21d6a33358471786b
99db02266c31dd14357ef6a575d35fcf55718617
refs/heads/master
2020-04-19T21:16:38.141830
2019-01-31T00:31:24
2019-01-31T00:31:24
168,436,881
0
0
null
null
null
null
UTF-8
Python
false
false
30,739
py
"""CS 61A presents Ants Vs. SomeBees.""" import random from ucb import main, interact, trace from collections import OrderedDict ################ # Core Classes # ################ class Place(object): """A Place holds insects and has an exit to another Place.""" def __init__(self, name, exit=None): ...
[ "juanpedrovel@gmail.com" ]
juanpedrovel@gmail.com
6c04b90eea1e953de658699112f87c4514392784
c7e2d1d8258de451afae648b4669b6ca23ea233a
/instrument_drivers/EmgWizard/setup.py
1218274fa4da75e50df2040d6d1594c3dcfb6cb5
[]
no_license
PaulKumar33/esc499
7aeb71238d7754e3e70253b5cbc66e39b8d5a420
00b8253794c3c342a57a0a64abf41cac11b8d909
refs/heads/master
2021-04-24T00:49:10.483544
2020-04-15T20:17:08
2020-04-15T20:17:08
250,046,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
#!/usr/bin/python from distutils.core import setup import py2exe manifest = """ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="0.64.1.0" processorArchitecture="x86" name="Controls" type="win32...
[ "paul.kumar@mail.utoronto.ca" ]
paul.kumar@mail.utoronto.ca
db31907a01d52a39d25f3846037ce013121f0968
ea4de36ab7c7eb2c6945a76a213eb5e3d01c17d8
/stockmgmt/form.py
0f49be6ebb2af29c03c8df50bc019495659c6999
[]
no_license
saadchaudharry/inventory_django
3fa0a2df6597bb1f3e1956dfc2f685508ae43838
93fd6acb98062f4202e3c008d59261da94e30eaf
refs/heads/master
2023-03-01T01:01:58.283701
2021-02-08T16:00:48
2021-02-08T16:00:48
337,126,877
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
from django import forms from .models import Stock, StockHistory class StockCreateForm(forms.ModelForm): class Meta: model = Stock fields = ['category', 'item_name', 'quantity'] def clean_category(self): category = self.cleaned_data.get('category') if not category: ...
[ "saadchaudhary646@gmail.com" ]
saadchaudhary646@gmail.com
5f2fbef875601c7ebaef35f393a8bee9bbd99875
06a4fb59f955853781bc9e98098e387a7beadf55
/project/component/reminders.py
edbc5a3a69ad81f0de855c74a1cc57f484a7bb09
[]
no_license
BishtShubham03/RemindTasking
2178cd180da5d0aebff796186ed8429bd3620748
34ebbb4947697b0d28c8614028f84db8fa24d83e
refs/heads/master
2021-04-25T23:23:42.365366
2017-10-17T09:57:41
2017-10-17T09:57:41
107,243,627
0
1
null
2017-10-23T05:18:19
2017-10-17T09:01:18
Python
UTF-8
Python
false
false
1,276
py
from project.component.util import process_reply import time import os import json from time import strftime from datetime import datetime from config import REMINDER_FOLDER def _convert_ampm(quantity): if type(quantity) is str: temp_quant = datetime.strptime(quantity, "%I:%M %p") elif type(quantity)...
[ "shubhambisht03@gmail.com" ]
shubhambisht03@gmail.com
510b351cc1af18f3ed0180c70ef1242ca5bac1d8
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2171/48117/297146.py
bda92c1ed48fa43c5286605774a8b0ab0e50019c
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,525
py
class Node(): def __init__(self, item): self.item = item self.next = None class LinkList(): def __init__(self, node = None): self.head = node def isEmpty(self): return self.head == None def append(self, newItem): newNode = Node(newItem) if self.isEmpty(...
[ "1069583789@qq.com" ]
1069583789@qq.com
21e8e5573f1c6037a1404e7518ad11fd5494c097
b2319c5e14c94edfb5a39e4c490c1ae6183651ed
/deepgoweb/apps/deepgo/migrations/0013_auto_20190902_0904.py
edb4c8e1436fbb064813d7d04f2b93874adbe234
[]
no_license
coolmaksat/deepgoweb
6d67f45059d7bdb4548d50c182a038c6f9c70a31
fd4904b6b18dd2af06e000679f406b7353a3534f
refs/heads/master
2021-06-12T14:42:14.513686
2021-04-17T10:23:39
2021-04-17T10:23:39
161,017,035
0
0
null
2018-12-09T07:49:26
2018-12-09T07:49:26
null
UTF-8
Python
false
false
2,974
py
# Generated by Django 2.2.4 on 2019-09-02 09:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('deepgo', '0012_auto_20190505_0848'), ] operations = [ migrations.CreateModel( name='Taxonomy', ...
[ "coolmaksat@gmail.com" ]
coolmaksat@gmail.com
e7e38176c88a147c9c2da58bb5fa2c210b0c7680
982d2163a9ed2e8494a1bbf533979eaacc850b84
/sentiment_analysis/sentiment.py
275994cc22b4b9c3973a0dba164807e88fab2b3f
[]
no_license
IshadiGamage/ForexForecast
7318d5732789e072e4b87dd5a1ba6ac10e953364
2b4114992fc5b17501e07af4f14899da79a67aca
refs/heads/master
2020-03-20T00:36:08.753149
2018-06-28T04:49:15
2018-06-28T04:49:15
137,049,845
1
0
null
2018-08-03T03:47:58
2018-06-12T09:36:19
Jupyter Notebook
UTF-8
Python
false
false
2,294
py
import nltk.classify.util from nltk.classify import NaiveBayesClassifier from nltk.corpus import names def word_feats(words): return dict([(word, True) for word in words]) def get_words_from_file(path): text_file = open(path, "r") dataset = open(path, "r").read().split('\n') # print(test) # line...
[ "h.n.sampathwith@gmail.com" ]
h.n.sampathwith@gmail.com
ca594cd86cd5ebc0e85ce7bd32c8f43cf4eed9cd
496959f1bd3b8525b356edf1825b719d7b54770d
/tests/tests.py
3e6c2305639608b5502cb774b4bcc23a47aab856
[ "MIT" ]
permissive
akhlul/django-plaintext-password
75c3bae77b176819d561e383efc564a696ff347d
752cf0316cdc45dc9bed5f9107614881d613647f
refs/heads/master
2023-04-12T06:37:06.810214
2021-05-13T08:10:02
2021-05-13T08:10:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
import pytest from django.contrib.auth.hashers import ( check_password, get_hashers_by_algorithm, identify_hasher, make_password, ) from hypothesis import given from hypothesis.strategies import text from plaintext_password import PlaintextPasswordHasher PASSWORD = "password123" @given(text()) def t...
[ "git@theorangeone.net" ]
git@theorangeone.net
59c872b273d740f63d60d20c00f25ec6200c950b
96bf2ec5c1536831b6a3e08675286770d44d858c
/root/os/DSAA/DataStructuresAndAlgorithms/python/recursion_arrangememt_implement.py
7718e364df1f45330957efb06bd7943e4e891a09
[ "MIT" ]
permissive
chyidl/chyidlTutorial
aa15d6c8526e87a34ed63f79bd541d10ee43b820
d7f74280725149be11d818b4fbca6cb23ffa4e25
refs/heads/master
2022-05-11T13:33:47.015661
2022-05-04T13:42:20
2022-05-04T13:42:20
156,686,624
4
3
MIT
2021-04-14T13:58:38
2018-11-08T10:02:35
Python
UTF-8
Python
false
false
1,400
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:encoding=utf-8 # # recursion_arrangememt_implement.py # python # # __________ # / ___ ___ \ # / /  \/  \ \ # \ \___/\___/ /\ # \____\/____/|| # / /\\\\\// # | 🔥 |\\\\\\ # \ \\\\\\ # \______/\\\\ # _||_||_ # # Created by Chyi Yaqing on 03/2...
[ "chyidl.com@gmail.com" ]
chyidl.com@gmail.com
ae9e12ea332f93c1785a40bb98ab1c626d69b741
6108302db96647da5132391bcd17f3188a82c08e
/backjoon/1260.py
824c6eb4fa15b58a2b72e8c5d8180eaa95662f72
[]
no_license
iamyoungjin/algorithms
b5873db95a5022c67be210754c1083ecb3ea6a91
551121ead833f6f29ac2dcb1d3007a9b50c8c365
refs/heads/master
2023-05-06T15:32:15.311206
2021-05-19T10:47:48
2021-05-19T10:47:48
293,109,783
1
0
null
null
null
null
UTF-8
Python
false
false
958
py
#https://www.acmicpc.net/problem/1260 # N : 정점의 개수 # M : 간선의 개수 # V : 탐색을 시작할 정점의 번호 N,M,V=map(int,input().split()) matrix=[[0]*(N+1) for i in range(N+1)] # 4 5 1 -> 5 x 5 matrix (start 0) for i in range(M): a,b = map(int,input().split()) matrix[a][b]=matrix[b][a]=1 # print('matrix changed--->',matri...
[ "nnna08@likelion.org" ]
nnna08@likelion.org
4b702800cbd23351c3aa3180552ec07b6a7a7da6
17e77e661335e91326d72e53bfa068bd5fb79b1a
/_ots/GL3/scripts/windllexport.py
2992cac6e97f66af7ec940c625022761003c953c
[]
no_license
wibus/ExperimentalTheatre
cfd92546aed84138d21ad9845bf4518c828badf8
46c0e83d2319c5731fc7a7dbad6b0efee95d289c
refs/heads/master
2020-04-04T07:41:51.935537
2019-03-19T08:03:57
2019-03-19T08:03:57
7,976,973
0
2
null
null
null
null
UTF-8
Python
false
false
1,283
py
if __name__ == "__main__": import os outfilename = 'gl3w.h.out' infilename = 'gl3w.h' alreadyconfigured = False with open(outfilename, 'w') as out: for line in open(infilename, 'r'): if 'GL3_EXPORT' in line: alreadyconfigured = True ...
[ "william.bussiere@gmail.com" ]
william.bussiere@gmail.com
a4779ef284503e231a27a8925693ca55db0ab77c
99a32aa3b7048d9002c453e9af832802125c0d43
/config.py
d29adfca3cf01b07db2ad21fcea750ac93af6611
[]
no_license
huzaifarasheedmir/flask-backend
dabeb9bc7e1377663e05077d968bf20a31f0b6f6
86d44e7496f9697d782d66a87934c264eb5ff1b1
refs/heads/master
2021-01-18T17:36:11.701002
2018-03-10T17:57:58
2018-03-10T18:04:33
71,997,453
0
1
null
null
null
null
UTF-8
Python
false
false
1,572
py
import os BASE_DIR = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' SSL_DISABLE = False SQLALCHEMY_COMMIT_ON_TEARDOWN = True SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_POOL_RECYCLE = 20 PRESERVE_CO...
[ "huzaifa@wanclouds.net" ]
huzaifa@wanclouds.net
c1395406230bb6f5616f9eabc0e1b9a4999b8e2a
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/wo-.py
bace8c7b0b9cb45c71200a51bd1870340df7d916
[]
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
dea54da218080aeb093fb550b488d32c7e2bd61b
499742cb14fe4567e40019aa7f50896f47e5208b
/Scraped_midi_data/midi_crawl.py
32105da5d071ca63c81ac22d3d2acedbe34fc49d
[]
no_license
FinchMF/Computational-Music-Box
0e7da9bd23ffcf14f06c380106c88f886a7ee8de
57c1b47a07a39bcceb7e86bae39cdc33ddd7bfd3
refs/heads/master
2021-01-05T10:17:26.705502
2020-03-12T22:34:14
2020-03-12T22:34:14
240,987,091
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import requests import re from bs4 import BeautifulSoup import wget class Crawler: link = def __init__(self, composer, link): self.composer = composer self.link = link
[ "matt.fiinch92@gmail.com" ]
matt.fiinch92@gmail.com
c2a4f5d1df47a8bbc2d9299c027cf474b3047220
d436b439b20507d8d15a89925891f9573a29d140
/code/protein/transcell_PCA_default/generate_parallel_command_pro20.py
5fb712d6b0eb7d0f67e55d3e4d7842647ec07a71
[]
no_license
Bin-Chen-Lab/transcell
46f8abd5330a1f1e354e039bd53d85ba93bfc15c
2237672b1b0c6096a1c7d60d652bc3f8f05079f7
refs/heads/master
2023-04-08T15:07:19.270438
2023-03-31T04:27:43
2023-03-31T04:27:43
320,335,150
1
2
null
2023-09-08T08:00:10
2020-12-10T16:56:09
Python
UTF-8
Python
false
false
347
py
import pandas as pd import numpy as np import csv pro_20 = pd.read_csv('/home/ubuntu/chenlab_deeplearning/chenlab_deeplearning_V2/DL_yeh/GeneExp_prediction/output/protein/other_models/LASSO.csv') pro_20 = pro_20['Unnamed: 0'] j = 0 for i in pro_20: print("python pro_kfold_average_ks5000_parallel.py %s > %d.out"...
[ "m793281@gmail.com" ]
m793281@gmail.com
3c91eb2e783415b65421ba84ddc6c8cbb7bfd91b
9f98c8811e9aa992bc3181c8611d72920439a2ee
/CS111/PS1/ps1pr5.py
b6201047345f8737c801034dcd5b141814482212
[]
no_license
vnikov/Fall-2017
7bf0aafa47a3b06b65cbbb089a017a07fe738f58
2198574a526f4cc14f1b911c02f15814a0ee969f
refs/heads/master
2020-05-04T00:31:53.417111
2018-05-23T18:19:17
2018-05-23T18:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
# # ps1pr5.py - Problem Set 1, Problem 5 # # Functions with numeric inputs # # name: Phumin Walaipatchara # email: phuminw@bu.edu # def mirror(s): """ return a mirrored version of s that is twice the length of the original string """ return s + s[-1::-1] def is_mirror(s): """ returns True if s is a mirro...
[ "phuminw@dhcp-wifi-8021x-168-122-214-226.bu.edu" ]
phuminw@dhcp-wifi-8021x-168-122-214-226.bu.edu
0be528bd16f73bebc7d7b2d35ced4d9dc303cb72
25d94c5e2abf1921d9f392c748b942bd0ba4f291
/code/8/main.py
a60cbaea49e97cd51bd5e0c3b9afd11d71d60bc8
[]
no_license
diksha/fss16noobs
2d9d523b7118ed2497d372aac8fa96db3b78726c
8e72f2c27ab211b0422c0594bec20bd7d6a5d910
refs/heads/master
2020-12-03T07:43:15.572583
2016-12-08T06:20:24
2016-12-08T06:20:24
66,399,337
1
1
null
null
null
null
UTF-8
Python
false
false
1,556
py
from nsgaii import NSGAII import dtlz from init import MODEL from hypervolume import * from stats import rdivDemo as stat def print_generation(population, generation_num): print("Generation: {}".format(generation_num)) models1 = [dtlz.dtlz1, dtlz.dtlz3, dtlz.dtlz5, dtlz.dtlz7] print 'NSGAII RUNNIN...
[ "agupta25@ncsu.edu" ]
agupta25@ncsu.edu
1c89fc5d3752c2a7fcee2127200e8e25d044077d
8cd5c8d035b292caacb4d5aeb4bce0ca19ee3061
/DataScience/Python/scripts/temp_script.py
04002e9f9c92412c9ef91111bd7c3092dca4b80e
[]
no_license
toddjm/projects
33be8c753d24a1ba1f719d661fed36d264957c45
709497603a6dcfb43feabfc812b3ad8bb3f183c9
refs/heads/master
2023-02-19T03:13:46.538278
2023-02-07T22:33:00
2023-02-07T22:33:00
47,042,227
1
1
null
2015-12-01T00:01:22
2015-11-28T22:44:22
Python
UTF-8
Python
false
false
400
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ from matplotlib import pyplot as plt import pandas as pd pd.read_csv('/Users/emily/Downloads/Wahoo.csv') pd.read_csv('/Users/emily/Downloads/Wahoo.csv', skiprows=19) wahoo_data = pd.read_csv('/Users/emily/Downloads/Wahoo.csv', skiprows=1...
[ "todd.minehardt@gmail.com" ]
todd.minehardt@gmail.com
742bb40e2ce4ec25a75d16d1778f148017ec516c
a87fa6b99466f74b8c6a00c596055de9a76bcda3
/TorchTuner.py
d303af0a1ba5d49f4ef594c77449a9b88529b508
[]
no_license
sbetageri/TorchTuner
9dd7f6bb695349d633e58369f23aaadcf8876217
a3e832345feb7104a1a47dbbf9f01c452ede4800
refs/heads/master
2020-04-12T20:50:05.328219
2019-02-25T17:43:29
2019-02-25T17:43:29
162,748,069
0
0
null
null
null
null
UTF-8
Python
false
false
13,572
py
import os import json import torch import pprint import numpy as np import torch.nn as nn import matplotlib.pyplot as plt import seaborn as sns from torch.utils.data import DataLoader from copy import deepcopy from tqdm import tqdm class TorchTuner: ## Names for parameters _OPTIM_FUNC = 'optimizer_func' ...
[ "sbetageri111@gmail.com" ]
sbetageri111@gmail.com
45e87ed9a82e88d8e774f45921ed3227fd68165e
4dbd12da17cc45a5482afc8cea02051e798731a9
/courses_project/apps/courses/urls.py
ab576aa8a6f94c45e5f11e2186a1af9f96e0ddaa
[]
no_license
tsicroxe/django_projects
71b9bec6d834f53fde892606799b4bc96ba45a91
c11036c78d120e5ffa51055e2999dbe05b0d36eb
refs/heads/master
2021-01-11T07:03:53.045558
2016-12-07T20:46:05
2016-12-07T20:46:05
71,937,705
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from django.conf.urls import url from . import views from views import index, create, destroy #from django.contrib import admin urlpatterns = [ #url(r'^admin/', admin.site.urls), url(r'^$', views.index, name='index'), url(r'^create$', views.create, name='create'), url(r'^(?P<id>\d+)/destroy$', views.de...
[ "arbanakus@gmail.com" ]
arbanakus@gmail.com
a294a17f9386d4eb97ad9baaf9e5ea92c5597236
03f4a903626bc0ff873f7d8598db53880a943b2e
/tabulations/models.py
e336c495daef34935b879ec7e50bc7032a76eb1d
[]
no_license
capmayer/menyu_project
645b50a9f2bf617b7e8147157c18a2ac50c8f457
d8b91e867546f9b86e683856850da3ee43b52dc8
refs/heads/master
2021-06-11T12:01:51.737442
2017-02-14T02:25:16
2017-02-14T02:25:16
69,711,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
import uuid from django.db import models from django.contrib.auth.models import User from menus.models import Product from seats.models import Seat class Tabulation(models.Model): #cria a comanda ao entrar, mesmo sem ter pedido uuid = models.UUIDField(default=uuid.uuid4, editable=False) establishment = models....
[ "henriqmayer@gmail.com" ]
henriqmayer@gmail.com
5f0d8572f2375ec6cedc737525299a3606379bc2
0d2781f258917f37ace2f6258bad52e8b345d092
/tests/GoogleDrive/test.py
92e4d368ea9afe67bd7a48f1bb55eb952bcc7307
[]
no_license
brenorobazza/rPacks
d8738c77c51e8bf927a7ff3b586f892a8855d8a6
ad30984990b0fd095ad95110b66ce68432bde1c4
refs/heads/master
2023-07-02T04:46:11.406995
2021-07-30T18:24:50
2021-07-30T18:24:50
347,108,416
2
0
null
null
null
null
UTF-8
Python
false
false
202
py
from Drive.GoogleDrive import GoogleAPI def main(): service = GoogleAPI('credentials.json', 'token.pickle') service.download_folder_content('folder_name') if __name__ == '__main__': main()
[ "breno.robazza@hotmail.com" ]
breno.robazza@hotmail.com
d38ee31baa1e219ba3b238f1cc080660f19c9acc
c64bc713f1d3f566e47665c6b4803f176960f7c6
/app/models.py
a57ce3d63f18b75d6f82478223594c613901aa47
[ "MIT" ]
permissive
estherndichu/python_wk2
01115a59590d9a67bc15b5d3d5743c01e821188a
1a76cd5aa1e87b361a049c794202a56dad510924
refs/heads/master
2023-03-13T02:58:05.510615
2021-03-07T08:32:40
2021-03-07T08:32:40
340,323,042
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
class Source: ''' Source class to define Source Objects ''' def __init__(self,id,name,description,url,category,country,language): self.id =id self.name = name self.description = description self.url = url self.category = category self.country = country ...
[ "itskuijenga@gmail.com" ]
itskuijenga@gmail.com
c45354d7a9c4f46d4f14484b4ff0aefa5926ed2d
9d97bbb97860982d4c5be61a64641d3c97028502
/depswarm/_internal/exceptions/genericexceptions.py
976072b08ac56f1ed5d065a5610520153016b559
[ "BSD-3-Clause" ]
permissive
eerotal/depswarm
a4649efd1a0cdee1c8c86b5e6ac9c4e7b00bb61a
dce266310237a7dd424633646189dc760e39411e
refs/heads/master
2023-03-19T13:46:34.924559
2021-03-09T08:17:32
2021-03-09T08:17:32
345,084,502
2
0
null
null
null
null
UTF-8
Python
false
false
255
py
"""Generic exceptions for various cases.""" class UnsupportedVersionException(Exception): """Exception for indicating an unsupported version.""" class MissingDependencyException(Exception): """Exception for indicating a missing dependency."""
[ "eerotal@mbnet.fi" ]
eerotal@mbnet.fi
c6d91a77eb6e1c4c9d2c070e1c106b3f8a4de8ce
6eb521cf6327ff42d2d4a3651447734c6dc62a1b
/pythonic_martini/utils.py
d2c0754bc875f836412c0318a79fa8f5cac8d29c
[]
no_license
minghao2016/pythonic_martini
bf3badfc7eb033b95263dc1523c21fad43171c09
b1510879cff440215c91a14ec31f7d73c253cec8
refs/heads/master
2023-02-28T12:45:35.799180
2021-02-02T23:04:26
2021-02-02T23:04:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
import numpy as np from . import quaternion def actual_atoms_added(filename, keyword): """Count the number of lines with <keyword> in the <filename> - usually gro or pdb file """ num_keyword = 0 with open(filename, 'r') as f: for line in f: if keyword in line: n...
[ "amayank@umich.edu" ]
amayank@umich.edu
c8b3a20fa81bc2a10ac839ee93aa3622a97f9a82
de070f933453e2d15651af1ccc697acf25507bd7
/deid/version.py
785a6ee84d0483f6912ea07c5584e25f6da00280
[ "MIT" ]
permissive
liu3xing3long/deid
cd968b1b5d8e678ad2c41f2b9f1c4572f5f88013
491a8ea301d9d47cd4e62eaab31584c26afcc534
refs/heads/master
2021-05-14T11:33:12.193255
2017-12-22T21:28:32
2017-12-22T21:28:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
''' Copyright (c) 2017 Vanessa Sochat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
5e0cccf3d265b399532d7db63b9810ddd9f4d114
5e5148f2d11b30baea4f58cc0fc060369c65a337
/facebook.py
1b08a0372991f21c8eb7c3eb3a5d94a21760f6b9
[]
no_license
aryan1521/fb
829be83d13847a3d96fbd65774728f39db905c66
6eb25de22ae00e8039d44e6b544f39e2e1339f19
refs/heads/master
2020-03-24T05:14:13.088874
2018-07-26T18:46:07
2018-07-26T18:46:07
142,480,604
0
0
null
null
null
null
UTF-8
Python
false
false
17,758
py
#detect the fake profiles in online social networks using Neural Network importsys importcsv importos importdatetime importmath importnumpyasnp importpandasaspd importmatplotlib.pyplotasplt fromdatetimeimportdatetime importsexmachine.detectorasgender fromsklearn.preprocessingimportImputer fromsklearnimport...
[ "noreply@github.com" ]
noreply@github.com
fe6dd014b931c2fa05012f4752ab16a238f922a9
3455a90e9586cd11c8584bb284ad48d023263c75
/backup_script.py
6b5f4e518b40b31defc70b161ba872cac91ca9c0
[ "MIT" ]
permissive
fefi42/rebel_backup
69656b39d372e5d246aa81029ea2f3817e0ee193
7495e32f868665a91be4383fb5f4f0b9c012f150
refs/heads/master
2020-12-22T14:23:44.251672
2019-12-27T10:12:03
2019-12-27T10:12:03
236,821,783
0
0
MIT
2020-01-28T19:28:48
2020-01-28T19:28:47
null
UTF-8
Python
false
false
786
py
#!/usr/bin/env python3 import os from dotenv import load_dotenv import json from datetime import datetime from rebel_management_utilities import get_all_members from os import path def make_backup(api_key): data = {'members': get_all_members(api_key)} current_date_str = datetime.now().strftime("%d-%m-%Y_%H:%M...
[ "lubbers.sc@gmail.com" ]
lubbers.sc@gmail.com
093ac8ffb84f49d42b53ec3aadd14af6122609d1
18e8e40a161ee7220ccb54e1a496c804355d8001
/backend/app/models/models.py
8d2e875d10217772b89758ed82dd3c1f457bf999
[]
no_license
heidudu/test_docker
1f0fb245bdcfd48c32c78bb90854b7b1fc32238a
6136d320065add19ebf01f8929ed3dc881bfad53
refs/heads/master
2022-12-10T03:41:42.457794
2019-09-22T03:43:19
2019-09-22T03:43:19
176,408,290
0
0
null
2022-12-08T01:42:25
2019-03-19T02:37:35
TSQL
UTF-8
Python
false
false
9,413
py
from app import db import datetime import shortuuid import re # 点赞表 ups = db.Table('ups', db.Column('user_id', db.String(64), db.ForeignKey('user.id'), primary_key=True), db.Column('reply_id', db.String(64), db.ForeignKey('reply.id'), primary_key=True), ) # 收藏表 collects = db.Table('collects', db.Column...
[ "54heidudu@gmail.com" ]
54heidudu@gmail.com
20f88117321e1a091b904143e980357032924fe5
52e542e4e3757ab6a3374cf2f7402501576a327a
/Basic/Diagonal gate.py
82464679d59d0c482d0f421c398ea189d8f8da05
[ "CC0-1.0" ]
permissive
QuForce/Quantum-Computing-UK-Repository
7c7b9b84811b9f385d88136e1c42795c403161de
1a10c1207cb9d6882fe4cd295d52a36373f1fb2f
refs/heads/main
2023-08-05T23:03:40.719601
2021-09-19T11:19:12
2021-09-19T11:19:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
from qiskit import QuantumRegister, ClassicalRegister from qiskit import QuantumCircuit, execute,IBMQ from qiskit.tools.monitor import job_monitor from qiskit.circuit.library import Diagonal import numpy as np pi = np.pi IBMQ.enable_account('ENTER API KEY HERE') provider = IBMQ.get_provider(hub='ibm-q') backend = pr...
[ "ScarboroughTechnologies@users.github.com" ]
ScarboroughTechnologies@users.github.com
62a92212c4991a2ebd127c5af61f91d87f002943
c75c158acf4adfc9abba2b6d5d39273fba270d98
/setup.py
9127e50c9edcf65a6058d78f60541d552bc3ad2d
[]
no_license
Vagrants/blackbird-chrony
bf030939522568e0de2e040af4141e84e65653c5
134490110d1d25f70fbf5dc21e642f4092bf43ac
refs/heads/master
2020-06-06T04:45:54.702619
2015-01-13T07:22:41
2015-01-13T07:22:41
29,177,836
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
#!/usr/bin/env python # -*- codig: utf-8 -*- import os try: from setuptools import setup except ImportError: from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='blackbird-chrony', version='0.1.0', description=( ...
[ "makocchi.ca@gmail.com" ]
makocchi.ca@gmail.com
22b6bfcc234ff82793ffe531306dadb23a566f70
9db0aa95e3c8cf44784c1ba5534b9f30bbedc54e
/chapter2/list&generator.py
908c345829db202fc348167e12c5496eb21aa10d
[]
no_license
wanggis/fluent_python
9395141655638dce406f5a9a4eb3def7d29f5a81
8b73a82f4c6db17088bbf90202bc0216c502fd27
refs/heads/master
2021-01-09T12:51:51.081557
2020-02-22T09:22:15
2020-02-22T09:22:15
242,307,590
0
0
null
null
null
null
UTF-8
Python
false
false
2,243
py
""" 列表推导和生成器表达式 python 也从ABC那里继承了用统一的风格去处理序列数据类型 author:wanggis """ import array # 列表推导是快速构建列表(list)的快捷方式(这是其唯一的作用,原书),而生成器表达式则可以用来创建其他任何类型的序列 # 列表推导的作用是为了让代码变得更加简洁,切记不可以乱用 symbols = "$¥€£¢¤" codes = [] # 传统方法将字符串变成unicode码位的列表 for symbol in symbols: codes.append(ord(symbol)) print("传统方法:", codes) # 利用列表推导的方法进行转...
[ "ws260308526519@163.com" ]
ws260308526519@163.com
7b26852ba9120a2024df011559067008fa6240b1
bb9445cdc8b518d035735375151564c496a1a330
/meta.py
079516c96dce160b0c8b56a017153a523f4fa622
[]
no_license
sundararajan93/regex-examples
ec0ab0b61c0e38ebf012793d579b9084cd79fe23
27ac11c249b6917f35463165ab47dadbd0cf4213
refs/heads/main
2023-06-09T01:43:14.467906
2021-07-01T16:25:49
2021-07-01T16:25:49
382,092,799
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
#!/usr/bin/python3 import re text_pattern = "123asdf45346abc2344ABCaabc." pattern = re.compile(r".") matches = pattern.finditer(text_pattern) print(". - to print all the pattern except newline") for i in matches: print(i.group()) print("To print the actual . you can escape with \\") dot = re.compile(r"\.") find...
[ "geeksundar1993@gmail.com" ]
geeksundar1993@gmail.com
abfe6cbaac9ddeffce0019053b066e6517c9ec1f
4bf3aaf77c309a489100b98a8c03532632df152c
/Python/BOJ/13460.py
b39eb5f4d88753e6b925be54efe84dd74b2b14ff
[]
no_license
murane/PS
7fbfc54d962231949efc67f1a35c4b0119de0780
e938c6c503aeac08bf65e1e66709172b0e5da6ef
refs/heads/master
2023-05-06T22:51:54.105811
2021-05-30T03:34:53
2021-05-30T03:34:53
293,699,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
import sys from collections import deque r=sys.stdin.readline N,M=map(int,r().split()) board=[] D=[(1,0),(-1,0),(0,1),(0,-1)] for _ in range(N): board.append(list(r().strip())) for i in range(N): for j in range(M): if board[i][j]=="R": R=[i,j] board[i][j]="." elif board[i...
[ "murane@naver.com" ]
murane@naver.com
44d232ea537415baef8dba91163e78eed759afb0
d6882f1f09350f7f03a2d615c9c64462a10438c7
/WX_FUNC/models.py
d622d17f1cd1385ab5b4d5ae8cee9a0e3e7b30e0
[]
no_license
yantaobattler/WXGZ
be7ce8d3dfffb1bebf32508b0530284304dc6df2
24e562e9fd6171a8aa75689a0413604626c15963
refs/heads/master
2020-04-26T04:43:05.603952
2019-08-07T11:39:01
2019-08-07T11:39:01
173,307,840
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
from django.db import models # Create your models here. # 微信信息主流水表 class MainTransLog(models.Model): FromUserName = models.CharField(max_length=100) CreateTime = models.CharField(max_length=30) MsgType = models.CharField(max_length=20) MsgId = models.CharField(max_length=70) TransTime = models.Da...
[ "yantao2212@126.com" ]
yantao2212@126.com
f68f7372f7b3e018651f455bc865e5b6a6787a7a
3031baa0c181cd084b7af2337de99188fdea19ab
/build/c4che/chalk_cache.py
b730211da4cbfc8740043c152171b79af69a43be
[]
no_license
oschebell/pebble_watch_hello_world
0105ea483daba9dac0e0e54e67e35a0483f918d5
c12a25bf032753ad9cb17df561e34eceafbac2f5
refs/heads/master
2020-12-08T06:28:19.932540
2016-09-07T13:25:02
2016-09-07T13:25:02
67,608,831
0
0
null
null
null
null
UTF-8
Python
false
false
3,933
py
AR = 'arm-none-eabi-ar' ARFLAGS = 'rcs' AS = 'arm-none-eabi-gcc' BINDIR = '/usr/local/bin' BLOCK_MESSAGE_KEYS = [] BUILD_DIR = 'chalk' BUILD_TYPE = 'rocky' BUNDLE_BIN_DIR = 'chalk' BUNDLE_NAME = 'helloworld.pbw' CC = ['arm-none-eabi-gcc'] CCLNK_SRC_F = [] CCLNK_TGT_F = ['-o'] CC_NAME = 'gcc' CC_SRC_F = [] CC_TGT_F = ['...
[ "oschebell@gmail.com" ]
oschebell@gmail.com
6991f93609414d052bc98ac1958b0e8425140975
22c977bbfaf24d9ed61eb7cc6f2b3b1daeb79513
/users/migrations/0001_initial.py
7c67e4ce8e0c9589d22bda4e36c75bf7e1ac0144
[ "MIT" ]
permissive
qlma/app
68a8a8949bfc36cbc51e430c87b2ce6e83040759
2febd62b45577febf49d738accaa40fc076e38c4
refs/heads/master
2023-04-22T01:57:15.852782
2021-05-17T18:29:56
2021-05-17T18:29:56
271,262,615
1
3
MIT
2021-05-09T21:15:37
2020-06-10T11:48:12
Python
UTF-8
Python
false
false
3,737
py
# Generated by Django 2.2.12 on 2020-05-26 08:20 import os from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion from django.utils import timezone class Migration(migrations.Migration): ini...
[ "jouni.leino@siili.com" ]
jouni.leino@siili.com
bd6d984d5e8b2f93ad6ba4528669a6a099a0321a
8f94a4749e2fb07466dc60bb506d0f77e3d59af1
/Backend/apps/hero/migrations/0004_auto_20190912_0040.py
7e2c69bb9e70bb32ed870b14e828a7d5ebba7019
[]
no_license
tagmetag/YouHero
37cb60f37fa4212ddb0e51fd40bcc6431c2228bd
a8886e070deaf7c28ef4d7c67e8e235db6b30e0a
refs/heads/master
2022-06-19T09:54:44.809803
2019-09-13T06:48:32
2019-09-13T06:48:32
206,221,428
0
0
null
2022-05-25T04:17:39
2019-09-04T03:17:17
Python
UTF-8
Python
false
false
393
py
# Generated by Django 2.2.4 on 2019-09-12 07:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hero', '0003_auto_20190912_0036'), ] operations = [ migrations.RemoveField( model_name='hero', name='type', ), ...
[ "toanlcz@necsv-hcm.com" ]
toanlcz@necsv-hcm.com
4359e97122a31f5b3c7094707f3696ce0e80e163
fff1b6228578ffc34b02c556c4a93f5b712364e9
/twitter_load.py
d80470ce79c3da5a3c9a771fd7e18e966fcfe1f6
[]
no_license
Leobouloc/twitter_analytics
447e3393469896ac626dbdd6cc0d318285679394
a36017fee97d93bb92fb388a5de703c4d0327a91
refs/heads/master
2021-04-26T16:42:54.585244
2016-09-19T00:10:38
2016-09-19T00:10:38
37,005,985
0
0
null
null
null
null
UTF-8
Python
false
false
4,353
py
# -*- coding: utf-8 -*- """ Created on Sat Feb 14 09:56:30 2015 @author: leo """ import pandas as pd import os from os.path import join, exists from os import listdir from time import sleep import twitter from access_keys import key, secret, key_access, secret_access def init_new_table(path, list_text_name): p...
[ "Leo@bouloc.eu" ]
Leo@bouloc.eu
777d0b5264527d6b4ef0bb7494f087c9d16875d8
17f61afad098620e108ebe07094e44165fac55e3
/11_env/Scripts/static-script.py
c4331f1fffbe0c5a9fdeeb8d512e828303ae5632
[]
no_license
LCM233/DjangoProjFirstDemo
d34ff3e69a3f6367040f00fd65d296dd691be5ee
d8faf9c113ab5628ce176d761799c347926a9d36
refs/heads/main
2023-01-05T12:05:04.009096
2020-11-01T06:21:57
2020-11-01T06:21:57
309,035,558
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!d:\learning_log\11_env\scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'static3==0.7.0','console_scripts','static' __requires__ = 'static3==0.7.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.e...
[ "805862573@qq.com" ]
805862573@qq.com
bbeeb11cca17267c9792370c3b4d60f7661610f6
59ac2b3a03e7bbe274b816b720ceab8b45e2c8c1
/Codes/Chapter07/code/spline.py
cf923715e105ca1ef5d116b739cb9c2b5919a407
[]
no_license
ltauxe/Essentials-of-Paleomagnetism
5422317466c63675210f5369da6b6909c1b83a3a
1ae9f73ef3880cbf248343969f54efcdbc746225
refs/heads/master
2022-01-13T15:49:04.277237
2021-12-28T17:41:04
2021-12-28T17:41:04
16,193,127
4
5
null
2015-07-18T10:08:41
2014-01-24T02:47:24
PostScript
UTF-8
Python
false
false
5,284
py
""" Cubic spline approximation class. Last Modified 9/9/97 by Johann Hibschman <johann@physics.berkeley.edu> Updated to numpy 11/16/06 by Lisa Tauxe To create a default ("natural") spline, simply use sp = Spline(x,y). To specify the slope of the function at either of the endpoints, use the "low_slope" and "high_slope...
[ "ltauxe@ucsd.edu" ]
ltauxe@ucsd.edu
4ea909c619f0a0ec9d4cdb49fcf15a6be6954502
32a13b8ad89bfd2cf8c5907361dc21403f53437b
/Expedia_Hotel_Recommendations/Expedia_Validation.py
78a6c476a9b17fe57060d2d68bd491e8067dbf29
[]
no_license
Misfyre/Competitions
674e06ee518cf64d8fdff71a21d4b96d9cc63086
60165279f1dd8768208ba7688a807c1dfe53dbca
refs/heads/master
2021-01-10T22:58:38.508796
2016-10-10T14:37:58
2016-10-10T14:37:58
69,694,987
0
0
null
null
null
null
UTF-8
Python
false
false
16,119
py
import os import pandas as pd from heapq import nlargest from operator import itemgetter import ml_metrics as metrics import numpy as np import math train_path = os.path.expanduser('~/Desktop/Expedia/CV_Splits/split_train.csv') test_path = os.path.expanduser('~/Desktop/Expedia/CV_Splits/split_test.csv') cv_path = os.p...
[ "sarris.nick@verizon.net" ]
sarris.nick@verizon.net
5c167ea06ee00c6c36dc8d37289c5b58cffbe7f8
ba1d012f951b0d96c43805d79195bfa1d9c7892e
/backend/base/views.py
0a8e5a9d6b0084b94b8e9089aa5c0022bb405b54
[]
no_license
ramoncelestino/react-django-blog
89c22bf00b35ae35ca0a1e27e0d74e79a4b3dea3
7820bfb50bb9bdeaa0dce1d95a3b460c3074fae6
refs/heads/main
2023-04-28T01:04:24.984416
2021-05-01T01:26:13
2021-05-01T01:26:13
361,168,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
from django.shortcuts import render from django.http import JsonResponse from rest_framework.decorators import api_view from rest_framework.response import Response from .models import Person, Post from .serializer import PersonSerializer, PostSerializer from rest_framework import status @api_view(['GET']) def getPeo...
[ "ramoncelesteramos@gmail.com" ]
ramoncelesteramos@gmail.com
a7ab00c52a80767aa12f6a9ce3a7834cca71ba6a
026a1329782ff71ae92a6f3d0403dfdefd8fa518
/database/search.py
154a1f7bfbf9e4d1a4e2e29fb95934c48bad2f7b
[]
no_license
pkray91/laravel
ad3e75b406e319e6ee6d04c0a134248d9cb09431
a05015e2c98dc31c533244f618e56fc8a4599eb7
refs/heads/master
2021-02-04T23:36:12.074340
2020-02-28T09:40:43
2020-02-28T09:40:43
243,720,654
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
import mysql.connector con = mysql.connector.connect(host="localhost",user="root",passwd="",database="python_db"); mycur = con.cursor(); query="select * from employee where name like '%a%'"; mycur.execute(query); data = mycur.fetchall(); for x in data: print(x);
[ "pk.ray91@gmail.com" ]
pk.ray91@gmail.com
1afc9dd6c1437c57d0331dddae1fbd27c3586c23
f645f17a1cbf996ca45e7c3c77c0a0c02fd8fc8c
/star.py
36ab633fa60b8801a685fde2bf407ced6507af36
[]
no_license
prophylacticoder/star_project
313b2137013537fec4434d304dc6c49a4d0b0f79
37597067bf43d009ec645eb72e878137eb94ab96
refs/heads/master
2020-12-09T23:13:51.747729
2020-01-12T19:02:52
2020-01-12T19:02:52
233,443,357
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
import sys import pygame import settings import image from pygame.sprite import Group def run_game(): pygame.init() star_settings = settings.Settings() screen = pygame.display.set_mode((star_settings.window_width, star_settings.window_height)) pygame.display.set_capt...
[ "gui.logicalt@gmail.com" ]
gui.logicalt@gmail.com
0d9c8f3dbbc299c369c4ac837ee49b743180106e
084db5e25626908a5352339900f12f0000a25a4a
/crediteuropebank/items.py
9770e32bfb15c3f15bbc7ea5982eda1f5486b696
[]
no_license
hristo-grudev/crediteuropebank
f60a4c444b9aca06b2e44b699c2ce84703a3382d
82646cef961dfb318f33ef6a9dd44801a945494a
refs/heads/main
2023-03-10T08:29:04.156974
2021-02-25T09:30:57
2021-02-25T09:30:57
342,191,469
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
import scrapy class CrediteuropebankItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
0f7551cab7997a659016eb7fa9880927bdea6e9e
5948858f8f82a86ce7102761fc5393223a358c10
/area_tabs.py
51efe1085b37e95c5b50580665f12c6fd8f2701b
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
yshtalen42/simui
2f5349d748006d54eb5398b866a88f39be15b91f
cc6c8fd0d920b17a517e25ffe3b89568a2e30bfe
refs/heads/master
2020-08-08T05:55:12.927864
2019-10-08T02:32:16
2019-10-08T02:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,827
py
import os import json from collections import OrderedDict from utilities import model_list from pydm import Display from pydm.widgets import PyDMEmbeddedDisplay, PyDMTabWidget from qtpy.QtWidgets import QVBoxLayout, QScrollArea, QWidget, QLabel, QApplication from qtpy.QtCore import Slot class AreaTabs(Display): de...
[ "mgibbs@slac.stanford.edu" ]
mgibbs@slac.stanford.edu
0a4e3dfacfddb5d405649e73397541348816d65c
b72f9d9f0769265cdea2b8caff145af9c532ea09
/practice/abc058_b.py
284a2391e2511feb8baa6dffec908c7c9b7fbf63
[]
no_license
ritzcr/AtCoder
3335fefa8fb1989a0f9da80fe6d0902b46aa2d1f
15097b0c2568ace653e5080d789047531e50edde
refs/heads/master
2021-02-12T19:16:41.757421
2020-07-05T06:30:57
2020-07-05T06:30:57
244,620,726
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
O = input() E = input() out = "" for x in range(len(O)): out += O[x] if len(E) > x: out += E[x] print(out)
[ "ritz@freex.ltd" ]
ritz@freex.ltd
577a172932777b1f11fa614417a3865aa6b82962
b7b2c0f5449b8eba2855b255953cffa8a71b6604
/getting_stock_data.py
e512fdad25587930cde204435b0ea393cab09ec1
[]
no_license
SrividyaGanapathi/Greenwich-Stock-Project
42d1da475d83defddb664b41d63697d57d299893
b1c6de5035f425cbdb8b1ca67d5cfd31a78054f8
refs/heads/master
2022-12-14T12:25:05.947019
2020-08-18T23:42:53
2020-08-18T23:42:53
288,576,428
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
# coding: utf-8 # In[1]: import pandas as pd import yfinance as yf # Need to install yfinance first before import will work import datetime import numpy as np # In[2]: datapath = "path_redacted/greenwich_master_backtestsamplepublic.csv" dat = pd.read_csv(datapath, encoding='latin-1') # In[3]: first_job_post...
[ "srividyaganapathi2020@u.northwestern.edu" ]
srividyaganapathi2020@u.northwestern.edu
99bdfe9a366785e4aeec11ab5445ebd4ec604dc1
48d8558cdbf06c4c634dd1e7b4e531f9eb1a9202
/jumeg/gui/wxlib/jumeg_gui_wxlib_experiment_template.py
1b5e6b35bf63698400347fd8dc8c8411c38a6892
[]
permissive
pravsripad/jumeg
f8a0c70c63c57437059465c5a741423f0ed931fb
36b3b4144495819b9282207a74f63dbdb7a32c89
refs/heads/master_dev
2023-05-27T23:35:09.794020
2023-04-14T09:27:27
2023-04-14T09:27:27
18,686,190
0
1
BSD-3-Clause
2023-01-17T11:49:19
2014-04-11T19:31:41
Python
UTF-8
Python
false
false
11,435
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 27 14:14:42 2018 @author: fboers ------------------------------------------------------------------------------- Updates: 2018-08-27.001 new structure, refrac """ import wx from pubsub import pub from jumeg.base.template.jumeg_template_experim...
[ "f.boers@fz-juelich.de" ]
f.boers@fz-juelich.de
98af4b5854ff7b1356d0574d83ba270fced069fc
1e80dc7f4e42fde653a7390a4cde3f2dc82100dd
/model/export_data.py
8fbd2318ceb138625875432c1ecf840166a64649
[]
no_license
junishitsuka/enjo
bee31f27ac5e9a3dae33f4f358eb0b2a8d8dda16
10518215552be011b44daf249ac89978b5c9c166
refs/heads/master
2021-01-25T05:34:38.488267
2015-01-16T07:14:41
2015-01-16T07:14:41
23,534,494
1
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
#! /usr/bin/python # coding: utf-8 import MySQLdb, sys AAS = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'new'] BURST_LIMIT = 5 TOPIC = 'spirits' FEATURE = 11124 # 18 word: 11106 # base line # SQL = 'select b.retweet_count, b.content, a.follower, a.friend, a.favorite, a.entryCount from enjo_basedata as b left join aas...
[ "ishitsuka.jun@gmail.com" ]
ishitsuka.jun@gmail.com
52b1e429db9ff264272850ea168eeb1c2de376d2
a3e926f8547f04184c79bdd28b0f886a77778700
/Lib/fontbakery/reporters/ghmarkdown.py
b7376a00473362e6d22d640af646c8bc5277277e
[ "Apache-2.0" ]
permissive
m4rc1e/fontbakery
0150a17547b53d6dc79e81407b0374950f90cd16
da4c4b69abdd41314f9bdb58d9e47722e0680816
refs/heads/master
2023-08-02T14:18:00.077821
2018-10-17T01:47:51
2018-10-17T03:53:06
67,598,331
0
0
Apache-2.0
2018-10-18T09:34:10
2016-09-07T10:52:14
C
UTF-8
Python
false
false
3,976
py
import os from fontbakery.reporters.serialize import SerializeReporter from fontbakery.checkrunner import Status LOGLEVELS=["ERROR","FAIL","WARN","SKIP","INFO","PASS"] class GHMarkdownReporter(SerializeReporter): def __init__(self, loglevels, **kwd): super(GHMarkdownReporter, self).__init__(**kwd) self.lo...
[ "fsanches@metamaquina.com.br" ]
fsanches@metamaquina.com.br
ec2f7e998921e51d00c9adda6e733edc6486ebca
048505015d37f2c7c91a44d9fbf7162066650c89
/moneta/repository/migrations/0006_auto_20171104_1444.py
b156a8f615f18e9960b4dfec61f10a3504ab927f
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
d9pouces/Moneta
4c8c4943da75e34425d30f76e2768e95a558c391
8ccfbadeedd00e080a0cc17a78ba4c48bced52e9
refs/heads/master
2020-05-22T01:47:32.204364
2019-08-18T14:27:27
2019-08-18T14:27:27
24,261,346
6
5
null
2017-01-29T23:21:53
2014-09-20T11:39:07
Python
UTF-8
Python
false
false
464
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-11-04 13:44 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('repository', '0005_auto_20171104_1300'), ] operations = [ migrations.AlterModelOpti...
[ "github@19pouces.net" ]
github@19pouces.net
5fbf0df80d5fddd5a0c95f9ce559d3bb2dcbacd8
640919b57421463cb0b0c0bd8fa6e9fb1b070276
/all algorithm here/heapsort.py
0a9a6977d743dc4ff4aa21fb7d0e3e5766b71a00
[]
no_license
sazzadahmed/algorithm_implementation
91267879dd45d7ce15bcf231b8eb38acd3e14468
bf34a342092de8f79c0e72f64b00f1089229c597
refs/heads/master
2021-08-26T04:43:00.427634
2017-11-21T16:42:40
2017-11-21T16:42:40
110,460,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
def heapify(arr,i,n): ''' this is simple max heap code :param arr: :param i: :param n: :return: ''' largest=i left=2*i right=2*i+1 if left<n and arr[left]>arr[largest]: largest=left if right<n and arr[right]>arr[largest]: largest=right if i!=largest: ...
[ "sazzadahmed41@gmail.com" ]
sazzadahmed41@gmail.com
8e5407c9b58fcc3babfae6382aca08da2eacb8f3
1b982b7d70e03d3312b3ea6f6b22d44e5c8ecdcc
/m3_3_breakTest_003.py
118f01ee90575fab0882093a2b37ad53087fab9e
[]
no_license
aitiwa/pythonTraining
2cd3d897c607aa0d4469f34226964d821aaecd7a
3dabd06105e34c119816f65fc59e81b3bf347116
refs/heads/master
2020-06-09T00:17:34.803649
2019-07-16T14:57:49
2019-07-16T14:57:49
193,332,850
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
print("caseStudy: 반복문과 Break") print("m3_3_breakTest_003.py") print() print("1. a, i 변수 선언과 초기화") print(' a = 0 ') a = 0 print() print("2. 중첩 for 반복문과 조건문") print(' for i in range(10): ') print(' print("i = ", i) ') print(' for j in range(10): ') print(' a = j ') print(' p...
[ "37678038+aitiwa@users.noreply.github.com" ]
37678038+aitiwa@users.noreply.github.com
ec768edb94d455bc1a76166a4c086a76a8aac1ba
246c8ed0bdfe780668702f6624b5a48a22569faf
/core/core/util/files.py
88f30240348cf5fbec40839f63ff9062ff80cb9b
[ "MIT" ]
permissive
HALOCORE/PapersHelper
7e7e7d9f2fc5dbb76c094c50b1ce50597f843d3e
4f0bc3ce1df084d05c8ef37dda02fa9f78b4ec36
refs/heads/master
2021-09-27T07:57:44.852497
2021-04-11T12:54:47
2021-04-11T12:54:47
232,870,678
0
0
MIT
2021-09-22T18:22:17
2020-01-09T17:52:43
Python
UTF-8
Python
false
false
3,518
py
import os import re from . import pdf from . import tool from . import datart def filetree_get(params=None): filetree = datart.file_tree_cache_read("") return {"filetree": filetree} def filetree_update(params=None): filetree = datart.file_tree_cache_update("") return {"filetree": filetree} def file_s...
[ "bwcs@uchicago.edu" ]
bwcs@uchicago.edu
03bae9b4d97783d87ddf203221a910c2c7ecd05e
ed6294b44f01df941facc45fcf4b7c50e16dd428
/first_app/migrations/0002_auto_20210921_2320.py
0ca1434328f26692a5e0a310364b8761a97c718b
[]
no_license
moh-sagor/Django-2nd-learning
37a0fc0f082306ee6990efb5f1fa366deefd1134
a8839103b6ca1ce5482a046943ef4f2cef86bca6
refs/heads/master
2023-08-23T05:57:15.309679
2021-10-15T16:46:09
2021-10-15T16:46:09
417,570,591
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
# Generated by Django 3.2.7 on 2021-09-21 17:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('first_app', '0001_initial'), ] operations = [ migrations.AddField( model_name='album', ...
[ "sagorhassain4@gmail.com" ]
sagorhassain4@gmail.com
1b8fb8d7b10372b608afaa5f628de8f096425737
f9c2f77fea6ffdf820867f02805c7a037627f235
/PythonBasics/03_Volleyball.py
0f1cb9aab9fd10836c1d9eb2eb0e9fc07e0f77e6
[]
no_license
Nikolov-A/SoftUni
6f253694757f195a5c0df8f24b12dbb4ad4d76c6
351b0b970da84e5d930a235fce76853c4dcaa365
refs/heads/master
2022-01-12T13:57:11.842394
2019-07-07T10:53:48
2019-07-07T10:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from math import floor year = input() holiday = int(input()) weekend = int(input()) games_in_sofia = (48 - weekend) * (3 / 4) games_in_home = weekend games_in_holiday_sofia = holiday * (2 / 3) total_games = games_in_sofia + games_in_home + games_in_holiday_sofia if year == "leap": additional_games = 0.15 * total...
[ "alexander.nikolov092@gmail.com" ]
alexander.nikolov092@gmail.com
5dc989d74aca9e4a4f3ecdab57efbe8cd2f76af1
556cfa6d4ef67abbf3a01a53c5a40a2287524c02
/imageCnnAndPooling.py
b464629cd1ed13046e779edbf69607c27430b8a1
[]
no_license
xiahuadong1981/FingerveinRecognitionModel4
f8c2c13772d788235839a5bc0a11345a3b5e3eab
007ff5a3be514c90d729d50eb9d7648f40a5c0ad
refs/heads/master
2020-08-19T20:33:29.458639
2018-04-12T07:14:19
2018-04-12T07:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,159
py
# mnist cnn 99.2% import tensorflow as tf import os import numpy as np import scipy.io os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' #close the warning # --------------------load data----------------------------------------------------------- # from tensorflow.examples.tutorials.mnist import input_data # mnist = input_dat...
[ "a963778829@outlook.com" ]
a963778829@outlook.com
d1e937b3359d9a3c2805617112c8a151e694b813
dd2ba3c51479ec64683806e020febabfedd463de
/deliverance/nav.py
307a6d8b6a5a6236f3efef104ab56c5b8fcb9f9f
[ "MIT" ]
permissive
chuanzhidong/whole-foods-deliverance
071cb673564bee617b6869e7fc7255bd71965f14
83f64fa76b50ef65fda1d69f3661820dd92d1f3f
refs/heads/master
2022-04-18T05:50:57.977240
2020-04-18T06:59:10
2020-04-18T06:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,266
py
import logging from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from config import BASE_URL, Patterns from deliverance.exceptions import (NavigationException, RouteRedirect, ...
[ "mark@cueradioshow.com" ]
mark@cueradioshow.com
89783e213fd43bb014b05e4057a28b61359b16bc
f24a2574875042ad2f39bfea027098f1bee21050
/Organization/forms.py
d7490521983d4f2a5d0cccaa6446735e5017b103
[]
no_license
shashi634/QuizChamp
9f0190b57add9781389aa9efef82b97ead0b9173
8bb9ed390e4cc0646c4b777e65a01b4825755a46
refs/heads/master
2020-08-28T10:27:09.570442
2019-11-10T10:21:01
2019-11-10T10:21:01
217,673,135
0
0
null
2019-11-02T17:19:34
2019-10-26T07:36:14
JavaScript
UTF-8
Python
false
false
179
py
from django import forms from Organization.models import OrganizationLogo class DocumentForm(forms.Form): docfile = forms.FileField( label='Select a file', )
[ "shankar634@hotmail.com" ]
shankar634@hotmail.com
d193ad5e153534e160e9202d845a191dd8b1645e
06c1f5f2d2c234d90ce4760a54ea05e20fefc68b
/Charper 12 Practice Projects.py
4140131620a7ad57c9d2cecb6924b50e5d18d809
[]
no_license
lampard1990/Ruolin
0a4f622d0743395d85d089729dbbf193a523e600
fd5d18cdb6d9231dff4c7e47a68802647d370c58
refs/heads/master
2020-04-10T17:41:03.981939
2019-12-02T13:22:14
2019-12-02T13:22:14
161,180,977
0
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
#Multiplication Table import openpyxl from openpyxl.styles import Font wb=openpyxl.Workbook() sheet=wb.active bold_font = Font(bold=True) for i in range(1,7): sheet.cell(row=1,column=i+1).value=i sheet.cell(row=1,column=i+1).font=bold_font sheet.cell(row=i+1,column=1).value=i sheet.cell(ro...
[ "noreply@github.com" ]
noreply@github.com
b76bc0fe589088534fb3f9e7a4aa7d763579c8ad
dc197c13b3b5cac8f95a76295214a418d6ed744a
/test.py
d0bdc4acae8704d267d55b97764011d46cdf574e
[]
no_license
nganhkhoa67/python_assistant
309f42c8207ccddbb0a66d80c6313c07263787a4
a002ceafa439b18a8d57f1727d409eee264dff46
refs/heads/master
2023-04-15T11:55:09.211062
2021-05-01T13:29:03
2021-05-01T13:29:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from neuralintents import GenericAssistant from googletrans import Translator translator = Translator() assistant = GenericAssistant('intents.json', model_name="test_model") assistant.train_model() assistant.save_model() done = False while not done: message = input("Enter a message: ") message = translation...
[ "nvkha97@gmail.com" ]
nvkha97@gmail.com
654bde5deddbb976c2e3fe5e7a9a4b33bd606463
e780a5bd72f98ca2513c993d64a85b08578166a6
/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/App/Permission.py
26fc6c96cef75bd35a47508c6bf2a627db0822a3
[]
no_license
vedantc98/Plone-test
023246597ffe848e2a49b9f65742ff49127b190b
9fd520fc78481e2c0b9b7ec427821e7f961c777e
refs/heads/master
2021-03-30T22:14:33.368739
2018-03-11T19:22:58
2018-03-11T19:22:58
124,671,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
############################################################################## # # Copyright (c) 2002 Zope Foundation and Contributors. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED...
[ "vedantc98@gmail.com" ]
vedantc98@gmail.com
66ce4924978a9b83853de0f8c0593d579a84fa2c
f443b315a245c15dfcd9335a799ead18c9732ca3
/deploy.py
83377b84f4a962f0fee732aedfc22dfa02e3840d
[]
no_license
oliverkpan/Iowatch
1cd2d0279a395c0b16f3b410817197840dd4e42b
46f1644913e087b441309072e8c915dcae7a5329
refs/heads/master
2023-01-21T11:00:09.850906
2020-11-27T01:06:33
2020-11-27T01:06:33
286,863,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
import pandas as pd import numpy as np import pickle import streamlit as st from PIL import Image pickle_in = open('/Users/oliverpan/Desktop/catboost_updated3.pkl', 'rb') classifier = pickle.load(pickle_in) def welcome(): return 'welcome all' def prediction(overall_qual, lot_area, garage_yr, garage_car...
[ "noreply@github.com" ]
noreply@github.com
b598b5d2bb70234030c1dea7afad9329793ddf80
d11719360ac70a63524658a90f250b6e3d9b4329
/python_prototype/DFT_Rudimentary.py
7bcc58f51d72cf0430f7ef3ddfc35d97ecf427d0
[]
no_license
thetaprimeio/QHacks2021
52b0c55a7abc857cb943aec4ed775f05de9c4fe5
4d006b6f6d9b83204d4e6c63a7bb6aa424c09de8
refs/heads/master
2023-08-25T10:12:19.585882
2023-08-08T01:15:53
2023-08-08T01:15:53
332,239,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
import math as m import cmath as c import csv # Open data set to match frequency valuations to musical notes # in the Western scale, format into a list file_freq = open("frequency_notes.csv") freq_data = csv.reader(file_freq) freq_list = list(freq_data) # Define the frequencies of the constitutent sinusoids of f(x) #...
[ "18bb6@caslab.queensu.ca" ]
18bb6@caslab.queensu.ca
48c2d5ae87dd342cc79ce18451312b0b3d5d7cba
c72f421c47bd009e2c8fdd0b3e15a5610485d860
/lib/naoqi_proxy_python_classes/ALColorBlobDetection.py
3bc4e75fdeb3aeb678981d2954873e2d0de0bba8
[]
no_license
florianbaer/Gandalf_GateKeeper
d96b438988de8d771cde9575b23ae861f6fe18ae
d547ba95dca3546062fcbb600dacd8c5a49417c7
refs/heads/master
2020-08-05T16:05:49.586915
2019-12-19T18:13:45
2019-12-19T18:13:45
212,606,927
1
0
null
null
null
null
UTF-8
Python
false
false
12,116
py
#!/usr/bin/env python # Class autogenerated from .\alcolorblobdetectionproxy.h # by Sammy Pfeiffer's <Sammy.Pfeiffer at student.uts.edu.au> generator # You need an ALBroker running class ALColorBlobDetection(object): def __init__(self, session): self.session = session self.proxy = None def...
[ "florian.baer@stud.hslu.ch" ]
florian.baer@stud.hslu.ch
c6e0eb509fc5037954b5bb3c03ff4e8a8e1ffd26
d4df04b3cca3a53c18cbe78cb57c6dde61b955e9
/superset/migrations/versions/c501b7c653a3_add_missing_uuid_column.py
786b41a1c72b82bb3339d96a96c4b291a0d50f6b
[ "Apache-2.0", "OFL-1.1" ]
permissive
cruvigeo/incubator-superset
66c940212bcc5c2265b990a9211dc04253693903
523bd8b79cfd48d1cb3a94f89c8095976844ce59
refs/heads/master
2023-03-17T21:28:08.151730
2022-04-25T04:53:52
2022-04-25T04:53:52
249,028,833
0
0
Apache-2.0
2023-03-13T16:05:35
2020-03-21T17:42:12
TypeScript
UTF-8
Python
false
false
3,178
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
d76a4f8ce232044b6af8f621ce7371a61233bd02
8fac45868bb6dfd1410dd3447c28e4f736c0064e
/Task2.py
251a1377b46f172aa573070873ef7885909106b1
[]
no_license
sudheermeka/Unscramble-Computer-Science-Problems
38fc934af6a1c30bce3517ca95788abb8b385a46
8f2edc9ccebc715479172c163bdd69bd4e82947a
refs/heads/master
2022-05-27T20:49:41.423279
2020-04-26T01:50:33
2020-04-26T01:50:33
258,914,244
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
""" Read file into texts and calls. It's ok if you don't understand how to read files """ import csv from datetime import datetime with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) time_spent_map...
[ "sudheer.meka@copart.com" ]
sudheer.meka@copart.com
03f3d7e0dcf79c3d795b7e3443dc1547b2def213
9d428d6ff489bb1bf219962ab80afae387acc631
/0x08-python-more_classes/4-rectangle.py
0acbf02744b5876b3991f614fa6c37247b00aa19
[]
no_license
NikkiE-Dev/holbertonschool-higher_level_programming
3a0ac5d5d3c6aa4eb768612831aaeecd0e870ed0
e7071922552cc8fc286fd0706de99674916b4b3f
refs/heads/main
2023-06-29T09:09:56.896583
2021-07-07T14:09:22
2021-07-07T14:09:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,873
py
#!/usr/bin/python3 """ This module is how to create a simple class.""" class Rectangle: """ This is how you create an empty class.""" def __init__(self, width=0, height=0): """This is how you make a rectange """ if not isinstance(height, int): raise TypeError("height must be an in...
[ "2495@holbertonschool.com" ]
2495@holbertonschool.com
b955d56966ce8448cd5661fb2b6d09d87b3e1b83
d331f2180ec14634374478329970baa6006dfefa
/Day03/list_delete.py
7c297e691954f136c5d368cddc904e8f2c3db825
[]
no_license
SungjinJo/git-python
84d4cd1c185af20900be5cfc6ec93430751c7d89
532364021677145ece07106b60069add6b4b830a
refs/heads/master
2023-07-17T17:08:48.265595
2021-09-05T02:43:39
2021-09-05T02:43:39
399,032,903
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
''' * 리스트 내부 요소 삭제 1. remove(): 삭제할 값을 직접 지정하여 삭제 2. 내장함수 del(): 삭제할 요소의 인덱스를 통해 삭제합니다. 3. clear(): 리스트 내부 요소 전체 삭제 ''' points = [88, 99, 56, 92, 100, 78] points.remove(92) print(points) del(points[2]) print(points) points.clear() print(points) pokemon = ['피카츄', '라이츄', '파이리', '꼬부기', '버터풀'] ''' - 삭제할 이름을 입력받아서 그에 ...
[ "aoem9603@naver.com" ]
aoem9603@naver.com
94e396780751dd22c01ca9f737b59599d35f3801
8dfefed8b288a65134e2f3587e96b6313ba138c2
/Ranges/venv/bin/pip3
b7bc29cf2419535c2f5f7f8bcb83fc98216d429c
[]
no_license
gsvetleen/Python-Basics
b80a04350149e04278d705ba4bc69555965c957d
68dae06c1403d9a2dc82a447f394b82e994d88b2
refs/heads/master
2020-04-29T15:55:28.613717
2019-04-01T09:27:22
2019-04-01T09:27:22
176,243,527
0
0
null
null
null
null
UTF-8
Python
false
false
420
#!/home/svetleen/Documents/PythonLearning/Basics/Ranges/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "gsvetleen@gmail.com" ]
gsvetleen@gmail.com
f8d55dbb4e67431691ffb05b657d57677eeaae24
b24b44b68e625ae955f1182a1b7c6dd663384bb8
/sub_arr_with_equal_0_1.py
beaa40d00dce4d9ac3d4f3825a9c0cba0dbb5ff6
[]
no_license
avinashraghuthu/Arrays
6379bf2e0ee50818859ccaeae5883461b4241e13
e58441560ec0db9ebfa7c49eefe101d0bf48460b
refs/heads/master
2021-10-24T15:32:24.651417
2021-10-18T13:54:25
2021-10-18T13:54:25
129,359,805
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
# https://www.geeksforgeeks.org/largest-subarray-with-equal-number-of-0s-and-1s/ def sub_arr_with_equal_0_1(arr): arr_len = len(arr) sum_map = {} curr_sum = 0 end_index = -1 max_len = 0 for i in range(arr_len): if arr[i] == 0: curr_sum += -1 else: curr_sum += 1 if curr_sum == 0: max_len = i + 1 ...
[ "avinash.raghuthu@gmail.com" ]
avinash.raghuthu@gmail.com
a8e9cdc95648147b293fee0523d23d4854b8e6af
815ae9857d75bb9c44cc746f9ebebd5177203fa4
/facile_backlog/backlog/views.py
f437ae1585481fe1115584a7528aaacc97aaf83b
[]
no_license
dsaradini/facile_backlog
adbc0ec98c35c06ceb07c5f97ab087ed3974763b
1eb53fed41c31da31556c5ec6292815bf4002d6a
refs/heads/master
2021-01-01T05:47:23.398294
2015-11-20T13:10:56
2015-11-20T13:10:56
10,429,872
4
2
null
2015-11-20T13:10:57
2013-06-01T23:23:12
JavaScript
UTF-8
Python
false
false
67,136
py
# -*- coding: utf-8 -*- import urllib from django.conf import settings from django.contrib import messages from django.contrib.auth.decorators import login_required from django.contrib.sites.models import RequestSite from django.core import signing from django.core.mail import send_mail from django.core.urlresolvers ...
[ "david.saradini@me.com" ]
david.saradini@me.com
16174f6a0ceaacfd5739e6f757c7da92e64ce151
ca8d183f5d6f1f260483a3555efd05870fe1d891
/com_blacktensor/cop/cov/status/model/status_tf.py
5e77659c4866db16ffcc2845eb4984f7d7c1aec3
[ "MIT" ]
permissive
Jelly6489/Stock-Proj
b559304f10614122ddaa00e39c821a65faa9f91d
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
refs/heads/main
2023-01-13T17:18:33.729747
2020-11-13T08:19:33
2020-11-13T08:19:33
312,512,688
0
0
MIT
2020-11-13T08:11:04
2020-11-13T08:11:04
null
UTF-8
Python
false
false
37
py
class CovidStatusTf(object): ...
[ "rlaalsrlzld@naver.com" ]
rlaalsrlzld@naver.com
44f0243c3ed35006b5532825bb5bd1f5234dbfe8
272fa0b70f45f7820ff9fb64afcc519799688086
/core/migrations/0001_initial.py
4b7a41e0f12381073ef2068eb8115736abef6ac6
[]
no_license
felipepanegalli/mini-agenda
3a112f20d91213dc80d93ae80db2a0d82d46241d
6a0e75f41c3c60ca65f5a689de21d977fb2cec11
refs/heads/master
2020-07-11T05:26:52.761467
2019-08-27T12:38:45
2019-08-27T12:38:45
204,455,964
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
# Generated by Django 2.2.4 on 2019-08-24 15:45 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Evento', fields=[ ('id', models.AutoField(a...
[ "felipe.panegalli@gmail.com" ]
felipe.panegalli@gmail.com
64a0c196fd8148b2a984ade744da8ceb40baf34d
fc342986f310d764e738796086f14b76dc2aedca
/functional_tests/tests.py
e36140d21b0846e1aff6cabd6b5ae65d39f150b0
[]
no_license
yasminaraujo/tdd-project
2a005f83bffd3883fb43d12cf02503b37b6c943d
8f790e3177b82743d61a7360980770d9466ec7b5
refs/heads/master
2023-07-03T00:56:55.990249
2021-08-09T17:06:02
2021-08-09T17:06:02
392,688,818
0
0
null
null
null
null
UTF-8
Python
false
false
5,635
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import WebDriverException import time import unittest MAX_WAIT = 5 class NewVisitorTest(LiveServerTestCase): def setUp(self): self.browser = webdriver.Firefox() def tearDown(self): ...
[ "yasmin.araujo@take.net" ]
yasmin.araujo@take.net
dfcbd965b15747b838c49c47c157b335cf339ed8
9f0b31287f5be908da6b6b0d06bc1ca55ded9a93
/financeLinearRegressionImportsLibs.py
310d2672e733e797e9f034d608d2ad5f868bac88
[]
no_license
SalehRazian/Past-Project-6-Simple-Machine-Learning-Neural-Network
9b14bae15b6d60eec986250a290fd0324f68aa00
5fc0830f6bc7914acb829b8fd918705736af5ab6
refs/heads/main
2023-05-27T07:57:09.190808
2021-06-08T06:24:37
2021-06-08T06:24:37
374,904,434
0
0
null
null
null
null
UTF-8
Python
false
false
3,329
py
import pandas as pd import quandl, math, datetime import numpy as np from sklearn import preprocessing, svm from sklearn.model_selection import cross_validate from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt from matplotlib import sty...
[ "cipher2633@gmail.com" ]
cipher2633@gmail.com
6681a031c181c0df237e7640a5209cedf397fbb5
12d71cd47a2167d550bab93fa3c11b4da1c5d6a7
/mpp-backend/api/models/quarters/product_quarter_date_model.py
59a954f69355b05a10319b7c0b7f30ce75f25b33
[]
no_license
dieptran43/Medicine-Data-Portal__Data-Reporting-Tool
69596c3a6606111debcc070227f3eadb27c45c7a
2d32bb4a05adaca1235d1bb3d1e6c0fa74cef6b3
refs/heads/master
2023-02-14T01:26:54.494022
2020-12-06T07:14:29
2020-12-06T07:14:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
from django.db import models from rest_framework import serializers from django import forms class ProductQuarterDate(models.Model): class Meta: db_table = "product_quarter_date" product_quarter_date_id = models.AutoField(primary_key=True) product_quarter_id = models.ForeignKey("api.ProductQuarte...
[ "kaushikjadhav01@gmail.com" ]
kaushikjadhav01@gmail.com
134e783822e9a879615d35d2b58613af231d7864
53be839ec30082e9e49e7593ddc5f508466ea413
/ripozo_html/__init__.py
d9e2b84c579175040b813d4681c259d1ba05d50d
[]
no_license
timmartin19/ripozo-html
c0f62fad333f1a25b351eb6f9e4e817f8ebd0542
1455723ac1074c8b8081542df46c1797d0169fc4
refs/heads/master
2021-01-10T02:36:56.984431
2016-01-19T06:09:42
2016-01-19T06:09:42
48,511,770
0
0
null
null
null
null
UTF-8
Python
false
false
6,190
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import os from jinja2 import Environment, FileSystemLoader from ripozo import adapters from ripozo.adapters.base import AdapterBase from ripozo.utilities import titlize_...
[ "tim.martin@vertical-knowledge.com" ]
tim.martin@vertical-knowledge.com
cf9a5277fdc840bee95e3f08258157f74b0eb148
9d31366d2f0df3f89841b2f1759aa4fb6bc06780
/setup.py
189eb6bd193fe29d8e64473523b599c1cba03d03
[ "MIT" ]
permissive
EmilStenstrom/emojizones
96e6f958295a764e8cd06eed59ab2315989bca16
c8a5ef7c5f58ce9beb448ab01c00c5c9d5454e5f
refs/heads/master
2023-08-01T10:36:11.543973
2022-03-07T20:06:16
2022-03-07T20:06:16
245,609,219
4
0
null
null
null
null
UTF-8
Python
false
false
875
py
# -*- coding: utf-8 -*- import os from setuptools import setup VERSION = '0.3.2' setup( name='emojizones', packages=["emojizones"], version=VERSION, description='A helper library to convert dates between timezone using emojiis', long_description=open(os.path.join(os.path.dirname(__file__), 'READM...
[ "em@kth.se" ]
em@kth.se
4a9cd2050ce1ad1ddda5ed230b8ca4bad878934d
9183379a07d1d8936d8205d99ecd0e40269e667a
/sphinx/source/exercises/solution/05_encapsulation/printer.py
414590fa8dc069be2a003ab1ed68e1baaddb3428
[]
no_license
boegeskov/fall2020
477983eb97568e274d3cef9ee22706de172b6046
9e50030e3fa99cc5ddb95ff46f93c1a530d256b1
refs/heads/master
2023-01-23T18:30:19.893424
2020-12-09T07:16:20
2020-12-09T07:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
# printer.py (solution) """ 3. Machine -> printer Create a Machine class that takes care of powering on and off a the machine. Create a printer class that is a subclass of the Machine super class. The printer should be able to print to console. The printer should have a papertray, which sho...
[ "clbo@kea.dk" ]
clbo@kea.dk