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
f624df6313850a796f7225b4f771eb4dfd00c9ce
bf7020781be3a10750ad30d8a44d7fe4dea6a00f
/flatmates_bill/reports.py
46d219c6b86505dd933fe7ba858777b83145f998
[]
no_license
anjali0409/flatmate_bill
e9011bc77ea47cf736d9b74b65e58ce1e24ff7f3
738352d31756e64135d56edd1fe62742cb1bba70
refs/heads/main
2023-03-15T16:39:26.079863
2021-03-11T10:31:20
2021-03-11T10:31:20
346,658,732
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import webbrowser import os from filestack import Client from fpdf import FPDF class PDFReport: """ Creates a pdf file that contains data about the flatmates such as their names, their due amounts and the period of the bill. """ def __init__(self, filename): self.filename = filename def ...
[ "noreply@github.com" ]
noreply@github.com
ded1759e6fee6baec41a25294a53cfaa555dde88
d3fd5ff50c92fe5c6122b501de4790af293c47e3
/guessTheNumberGame.py
76b8f56a7b29758d5c7e43a5dabb8181167465a1
[]
no_license
BorisVV/guessTheNumberGame
451519dbc53f86dced337e81cb9e07b65f4dfc47
76603bcb5d550fae772d66618b2e4b4edf254441
refs/heads/master
2021-05-10T19:08:40.852490
2018-01-19T15:46:55
2018-01-19T15:46:55
118,141,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
''' Computer should think of a random number within a certain range, and challenge the user to guess the number. Provide feedback and hints for the user: such as "too high" or "to low" ''' print("Hello, and welcome!") print("Guess a number between 1 an 20, \nif you guess it right you win \ \nor else you lo...
[ "bcarlof@gmail.com" ]
bcarlof@gmail.com
b6821d81cd0aa4e54d6069877f8cfe767b1503fd
267e655fad9511117a74379a678dfcdcda91cd3c
/python_player/conditions.py
f5d8f19a0ef15038cee82e83595d24f7a6304468
[]
no_license
reashiny/python.
bac42a4650e9d4f03f726bc8d1d1f6ecd33791aa
32ebf390ebeec417ef0dc97ebf3a2f734680fce8
refs/heads/master
2018-11-18T03:18:51.175101
2018-09-03T06:37:13
2018-09-03T06:37:13
107,652,311
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#------------------------------------------------------------------------------- # Name: module2 # Purpose: # # Author: 16cse037 # # Created: 21/10/2017 # Copyright: (c) 16cse037 2017 # Licence: <your licence> #------------------------------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
6864254fc37f5641861955ac895d3e749d3e06c3
c5bbfa5b9dfafa08253196a8a63fb13af5c1ae89
/permute_strings.py
8e492c96e13c8a76264eb291f6139b7afc584859
[]
no_license
Bandydan/Python_scripts
19e107a6cdec3b5cec0aa7f1bad6bcde3324f150
d04c03bbdd25d7b69fccc6e4c3c89ce040fada3f
refs/heads/master
2020-05-22T10:47:56.560549
2017-04-13T16:55:13
2017-04-13T16:55:13
43,440,340
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
import sys def ref_permute(char_set): if 1 == len(char_set): set_copy = char_set.copy() return [set_copy.pop()] else: char_list = [] for char in char_set: set_copy = char_set.copy() set_copy.remove(char) res_list = ref_permute(set_copy) ...
[ "bandydan@gmail.com" ]
bandydan@gmail.com
b3b0def139da51b71e9d0068404d935664278429
090cada9ecc5963dd0e08cb726d8b9f1f96f380b
/config.py
3e66060fcd425a60f431574b59b9ca0e73fb6926
[]
no_license
ztong87/dumpitracegen
83292ccfcf5dbfc6aaea9bf3d832033651db0bce
8906f28d585fc4cebb59556b10f967a0e5f7f837
refs/heads/master
2021-01-23T01:02:06.286553
2020-06-10T21:27:57
2020-06-10T21:27:57
85,866,342
0
1
null
null
null
null
UTF-8
Python
false
false
1,656
py
# Configuration Line Parser # # Takes in a formatted line of the format # rank-start rank-end msg-count msg-type iterations pattern pattern-specific-values # ex: # 0 255 1024 MPI_CHAR 5 rand 1 # # and returns of dictionary of these values: {field : value}, or None if it got ...
[ "jalee@cs.fsu.edu" ]
jalee@cs.fsu.edu
4decdda900f338cc41d00589f575ff63a31f52a2
b8fe118d36146459facc5f86bc02929031b02f36
/python_test/myserver/client.py
d3830f592ecf6865590b162c01bc78ba502b3860
[]
no_license
IDUnderCover/mydocs
b255db97fe53970742bd19d260f027f1b7b355be
d225decf35e3ba0993da1492b90250bc8a66b3cb
refs/heads/master
2020-04-05T14:39:07.389312
2016-12-01T11:46:37
2016-12-01T11:46:37
56,848,930
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
#!/usr/bin/env python import requests import threading thread_num = 1 URL = 'http://127.0.0.1:9999' def handler(): res = requests.get(URL,timeout=1001) print res, threading.current_name() if __name__ == '__main__': threads = [threading.Thread(target=handler) for i in range(thread_num)] print...
[ "469792116@qq.com" ]
469792116@qq.com
27e83ea7ad44899703c2d61c2941e9dcef77cdd2
8e583ac7e8a2047f01fa6e9829f9de36022c3265
/lib/python/gooey/python_bindings/gooey_parser.py
95e2b888765693f41f424ea3c8819bc2d20689f2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jonathanlurie/timelapseComposer
ef25c5623d19024e5f83ad6c236497fdcffca10d
8de9f1ca626419bacb11bf6c563e79d52fb16a8d
refs/heads/master
2021-01-10T09:18:58.517707
2015-05-25T18:58:40
2015-05-25T18:58:40
36,248,988
2
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
from argparse import ArgumentParser class GooeyParser(object): def __init__(self, **kwargs): self.__dict__['parser'] = ArgumentParser(**kwargs) self.widgets = {} @property def _mutually_exclusive_groups(self): return self.parser._mutually_exclusive_groups @property ...
[ "lurie.jo@gmail.com" ]
lurie.jo@gmail.com
0256a0eca60e517b683414c92255b573263909f1
3dd77028315ac0a4f0db3b00da9e57dea5d6cb2c
/structs/njrat_0_11g.py
5e7823d0e110c3d0a243232e02f638c1a0bd64a9
[]
no_license
jack51706/MalCfgParser
d6d1cb90b9506f3178eb09f6fb20fc3aefd499fc
d62d7c38c8e92251ef194aa4988cdc4824a811dd
refs/heads/master
2020-12-23T01:13:32.605179
2019-10-30T02:19:03
2019-10-30T02:19:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version from kaitaistruct import __version__ as ks_version, KaitaiStruct, KaitaiStream, BytesIO if parse_version(ks_version) < parse_version('0.7'): raise Exception("Incompatible Kai...
[ "noreply@github.com" ]
noreply@github.com
2f0cb5ae22296ae62beada0edc54377e0c8de702
f99081c3b626e75e1878055bdcb6120b74cb4cb8
/funny_webs/funny_webs/wsgi.py
0c8e10d4ed324b87505bb0996d756b3a01248aaf
[]
no_license
PanWiking/django_test_funny_images
ca6a8f9c7a05a7ea02d06f6010e8757458eecc5c
6821ece6577835a4f5e755885735cf567f8a1ad5
refs/heads/master
2023-03-25T02:08:50.065872
2021-03-21T21:06:28
2021-03-21T21:06:28
349,994,530
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for funny_webs project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "miodekip@gmail.com" ]
miodekip@gmail.com
3b2916cc4ecd87d0b82c3cea8c4d396371722f22
c325e8d6d62f8dd73433ebd20b046853832b36ca
/adult/svm/data_analysis.py
99f9acf4c2f2f7b44e9a9955b97bb2857a8ae904
[]
no_license
zhouzhaoping/ml-test
624bbf7ac9b965df807f795695b01ccedc37255c
b6c0dc9f5400a25ce2bfd6fac48be1ab256ef86a
refs/heads/master
2021-05-04T00:24:56.675388
2016-12-25T02:00:07
2016-12-25T02:00:07
71,925,187
0
0
null
null
null
null
UTF-8
Python
false
false
2,505
py
# -*-coding:utf-8-*- import csv import operator reader = csv.reader(open('../adult.data', 'r')) name = ["age", "workclass", "fnlwgt", "education", "education-num", "marital-status", "occupation", "relationship", "race", "sex", "capital-gain", "capital-loss", "hours-per-week", "native-country", "income"] missing_...
[ "zhouzhaoping11@gmail.com" ]
zhouzhaoping11@gmail.com
a5820e8c452c3de0ba68a3e56a27d0027879a4f6
50ad3cee73a33164bba332e147b8a0aa1184bca2
/stockrock/users/models.py
6a9374b5aeaddb7a9f3e1e3a2726705a874e4a94
[]
no_license
hmtj99/stockrock
b30e97462d0ee2b1743cf1468bbbe95ad6930da3
185a029c9c902be96e5532eb3eee2f31c47f5dc8
refs/heads/master
2020-06-07T05:00:45.425502
2019-06-23T15:49:45
2019-06-23T15:49:45
192,930,550
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from django.db import models from django.contrib.auth.models import User class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) profile_pic = models.ImageField( default='default.jpg', upload_to='profile_pics') phone_number = models.CharField(max_length=10)...
[ "hmtj99@gmail.com" ]
hmtj99@gmail.com
e70906e7f7bee645da9f252b9e19b38d287fc9cf
937bf4e4e33fb2462861d6dc553103872ddb025d
/API Prototypes (Yelp)/PrototypeAPI (Django)/yelpapi/urls.py
2e35af604698c534515d1f0b03c69588cc5afcb3
[]
no_license
juliusfrost/411-group-project
463be21ff7ca8c8e18ebb1d21372c07db0b02b99
360e85459ac5e99284a2335de8e4487a2514bcfd
refs/heads/master
2020-07-25T11:52:12.603124
2019-12-11T03:49:12
2019-12-11T03:49:12
208,279,968
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from django.urls import path from . import views urlpatterns = [ path('', views.yelpform, name='yelpform'), path('yelpsearch', views.yelpsearch, name='yelpsearch'), ]
[ "cgm343@bu.edu" ]
cgm343@bu.edu
c15d9ff0830769c811fe6f3317056dc349d5162a
33755ca1e8d477164cf63789e8c47e539d5df20d
/M33/old/m01.py
baab761c3a15b16c89a29772907b42533d25d3fb
[]
no_license
milapbr/conversion
7d6d5eccdd3b418f2f5e3830b32e313a71b8b028
34106fb75c92dd9af957b3cd5b4e3df438d71910
refs/heads/master
2020-03-28T07:32:43.981434
2018-09-10T01:07:09
2018-09-10T01:07:09
147,908,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
import Tkinter import ttkcalendar import tkSimpleDialog class CalendarDialog(tkSimpleDialog.Dialog): """Dialog box that displays a calendar and returns the selected date""" def __init__(self, master): self.calendar = ttkcalendar.Calendar(master) self.calendar.pack() #self.result = self...
[ "miguel.almeida@aurea.com" ]
miguel.almeida@aurea.com
1508fa57882b2abe842948d62fac263087bf23ee
719e0d3d413be2f986f2be6511be0e06f0f0dbce
/HJT_pkg/Screen.py
5b0a20236ffd43ab1f3ed4ef0e7ad836676970b3
[]
no_license
rongliangcheng/HexmeetHjtAuto
1cf876a9052d4dcde51195cafa49eb2d8415e125
7fce59e17429f9515a29c373396d79d2c6f8a41a
refs/heads/master
2023-03-18T16:04:35.845087
2021-03-01T06:20:39
2021-03-01T06:20:39
310,243,355
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
from time import sleep from PIL import ImageGrab import allure class CaptureScreen: @staticmethod def capture_screen(pic_name, _bbox=(645, 316, 1918, 1072)): im = ImageGrab.grab(bbox=_bbox) im.save(pic_name, "jpeg") @staticmethod def attach_pic(pic_name, description): with op...
[ "cheng_rongliang@163.com" ]
cheng_rongliang@163.com
aeddcec255b201f81b732a2344a295bd2875552d
432cda3e6ecf0d8f7158f7cd22f5bf6d06030edf
/core/settings.py
bdbad4c423099c833f44f81d802837f26b99313a
[]
no_license
endjack/forms
8f322c48e381bf94331f02e5560576b051535d2c
973081f0fedd2f7cfce1319dd8e2aaf8a5bb4978
refs/heads/master
2023-05-29T02:57:56.771513
2021-06-05T01:40:05
2021-06-05T01:40:05
373,996,826
0
0
null
null
null
null
UTF-8
Python
false
false
3,452
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from pa...
[ "endersonjackson2@gmail.com" ]
endersonjackson2@gmail.com
8022d2dd47bf47ef6904e116c058fc20192aa121
f5ced23208510d76b5df1571b44e344086ca8bef
/Labs/Lab09/tests/q5_3.py
c0b41d9ab402a7f66afce6bce5414d16b051f256
[]
no_license
jemmott/DSC10-Sp20
1c358638cbbe086cc1710c66dd299889d754b4ac
a1c30d7dc318471f1ce17cd613ffc278fe00f1db
refs/heads/master
2021-05-16T18:44:47.022718
2020-06-09T19:52:11
2020-06-09T19:52:11
250,424,744
4
5
null
null
null
null
UTF-8
Python
false
false
470
py
test = { 'name': 'q5_3', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> np.allclose([predict_wait(x) for x in [1.5, 2.5, 3.5, 4.5]], [51.077412999812836, 57.427935787953487, 75.684821525023551, 81.123636593993922]) True """, 'hidden': F...
[ "51950358+jeffrey7377@users.noreply.github.com" ]
51950358+jeffrey7377@users.noreply.github.com
06e6ec8eeae855acf71b78ba670c6f33f3e7d563
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/cfm_c1742b75736db9d1da0fb731317ab337.py
2553211aa330936731e6ce2d5a16da9385c4e481
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
6,156
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
bbe9e69793babd06297a855b489c588a1a8c82cc
a324457fc50961a89dfd635ac9484cfe0b93bab6
/unit.py
87be4207c8e5ba398102e666db2ade876719d930
[]
no_license
Magswitch/Force-Calculator
c9517c8503544746d756a185286c2cf721d7f4f6
1453e5d023480c267daf2703ad3562ff7da4a9ee
refs/heads/master
2021-01-19T04:27:53.897243
2016-06-28T22:50:13
2016-06-28T22:50:13
62,161,197
2
2
null
2020-09-30T15:59:14
2016-06-28T17:30:45
Python
UTF-8
Python
false
false
352
py
import fetchdata class Unit(object): """Describes a magswitch unit. Declared by name to be searched in master excel sheet""" def __init__(self, name): super(Unit, self).__init__() self.name = name self.thicknesses = fetchdata.getUnitData(name, 'thicknesses') self.forces = fetchd...
[ "agentdevr@gmail.com" ]
agentdevr@gmail.com
09c771c2ab1370e70867ef99a606e10be1e0dcff
f9a64adffcfad8c5426910e50128cd34859e2c68
/ex18.py
aa406d67e18f0e9c25d9987fa9111c7ebdf89065
[]
no_license
ambim/Mini-code-snippets
c21df33077466d3a1c57fe65de4d382446f3833b
436bd090a07b0e1a471a3a4d3609ee7f6129ca6b
refs/heads/master
2021-06-10T01:58:17.799534
2017-02-04T18:48:50
2017-02-04T18:48:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# exercise 18 names, variables, code, functions #like scripts with argv def print_two(*args): arg1, arg2 = args print "arg1: %r, arg2: %r" % (arg1, arg2) # the *args is actually pointless, you can do this: def print_two_again(arg1, arg2): print "arg1: %r, arg2: %r" % (arg1, arg2) #this just takes one argu...
[ "noreply@github.com" ]
noreply@github.com
ec87264eb7c8af93292bde7d25694ad80e8cc0bf
0d227917eeef61973842cd9f6c65b07999382be9
/migrations/versions/0b0d9774df6e_.py
30dca55edd28d2a7ea82d7f21cf39c4a80b9cf96
[]
no_license
TrellixVulnTeam/blog-Based-on-FLASK-framework_0KVZ
e30835ab2bca3b1c1a6db35ff68e6a1724f2c28b
62a8362724af580fd9ce21c0a3cb0ca8ac28019d
refs/heads/master
2023-03-20T23:25:54.489817
2018-06-07T09:26:23
2018-06-07T09:26:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
"""empty message Revision ID: 0b0d9774df6e Revises: fdc50e9e2696 Create Date: 2018-05-21 19:52:00.952492 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '0b0d9774df6e' down_revision = 'fdc50e9e2696' branch_labels = None depends_on = None def upgrade(): # ...
[ "694190253@qq.com" ]
694190253@qq.com
f043cc3e3560d0e8825936712be7813d8b901528
dd958496fa6525c072d4d4b70ea1d37728896c80
/practice/learn_json/world_population.py
60ff9cf6501f4ccc8c41581089742c82f780b2a0
[]
no_license
Cheyenne-qm/Collective-Intelligence
839b6ce0b45a1bae843aca5861de5a68a0135e04
aafeb0a6d707dc6a5e373eeedb2a24689adf6450
refs/heads/master
2021-06-07T16:24:41.638825
2016-11-29T03:00:22
2016-11-29T03:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# -*- coding: utf-8 -*- import json import pygal from pygal.style import RotateStyle from country_codes import get_country_code # 将数据加载到一个列表中 filename = 'population_data.json' with open(filename) as f : pop_data = json.load(f) # 创建一个包含人口数量的字典 cc_populations = {} # 打印每个国家2010年人口数量 for pop_dict in pop_data: ...
[ "yinxin0476@vip.qq.comm" ]
yinxin0476@vip.qq.comm
3093186e46c96765d0b51554468a7761c5484e8e
a72e79b8caa43e973e7d7ecb7ffdaba15314bb9f
/server/wtpodcast2/feeds/whatsnew/urls.py
d16a486de32ebec8b741e4bcd3163578dee8596f
[]
no_license
crgwbr/wt-podcast2
2e4be9a0ffa8675d8283f3d0cc16adc799acac68
a2dfb178b5e4c3e9ac5ab9ef7c13669caf50129c
refs/heads/master
2022-12-24T07:42:47.599582
2020-10-08T15:35:52
2020-10-08T15:35:52
266,866,346
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.urls import path from . import views app_name = 'whatsnew' urlpatterns = [ path('feed.rss', views.feed_rss, name='feed_rss'), ]
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
200a8c7843ef0d731ac0fb78cc5fc644a363a50b
cf6f295f90b18ff37cf1e9580b096db3da23220b
/atic/src/keybench/keyphrase_extractor.py
dfba9065dcaaa6ff2c0163228272f1a91a62a23e
[]
no_license
Archer-W/KeyBench
d13df87820c5678c8163a673afae382d0d4094ff
a66cf98b11260d2b74cd990f36f5dcde192b0346
refs/heads/master
2021-01-12T21:07:31.230615
2016-05-12T13:46:52
2016-05-12T13:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,444
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from multiprocessing import Pool from os import listdir from os import path ##### Multi-processing ######################################################### def keyphrase_extraction_pool_worker(arguments): """ Remote keyphrase extraction. it extracts keyphrases for...
[ "adrien.bougouin@gmail.com" ]
adrien.bougouin@gmail.com
5ad6b60eccf109a19093bbe744abbd85d210950a
8be83bb7fb33aec7f43b361854e490ba7a600e06
/falcon_runner/app.py
0158ced6f3394673dd7edbba35722b7273b8f840
[]
no_license
avinetworks/edu-module-switcher
119b636d3fca37eb4141303217dcab8df9782386
7f8a3a54f925987dd7e74bf504b67012a0feef69
refs/heads/master
2020-11-26T13:01:12.782878
2020-10-13T15:44:12
2020-10-13T15:44:12
229,079,140
0
3
null
2020-10-30T07:52:24
2019-12-19T15:07:00
Python
UTF-8
Python
false
false
214
py
import falcon from runner import AnsibleRunner from runner import Index api = application = falcon.API() runner = AnsibleRunner() index = Index() api.add_route('/', index) api.add_route('/runner/{run}', runner)
[ "marunich.s@gmail.com" ]
marunich.s@gmail.com
9518f30afd0866dfa568b4f15f136dbab54fdeb8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02705/s961392013.py
735378c11733dcf7056fec7e375575cc6f489fe0
[]
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
152
py
# mathモジュールをインポート import math r = input().rstrip() r = int(r) # 円周率の近似値 x = math.pi ans = (2 * r) * x print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a2190e26fa997ddb6b13f10b274f5d200b6e3918
de6fb3a55196b6bd36a4fda0e08ad658679fb7a1
/vt_manager/src/python/vt_manager/models/utils/Choices.py
8b045af44501156cda604d3c0cf5c53e35f5078b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
dana-i2cat/felix
4a87af639e4c7db686bfa03f1ae4ce62711615e3
059ed2b3308bda2af5e1942dc9967e6573dd6a53
refs/heads/master
2021-01-02T23:12:43.840754
2016-02-04T10:04:24
2016-02-04T10:04:24
17,132,912
4
4
null
null
null
null
UTF-8
Python
false
false
1,606
py
class VirtTechClass: VIRT_TECH_TYPE_XEN = "xen" VIRT_TECH_CHOICES = ( (VIRT_TECH_TYPE_XEN, 'XEN'), ) @staticmethod def validateVirtTech(value): for tuple in VirtTechClass.VIRT_TECH_CHOICES: if value in tuple: return raise Exception("Virtualization Type not valid") class OSDistClass(): ...
[ "jenkins@integration.localhost" ]
jenkins@integration.localhost
97ba9fb737a29f6ed49f8956b6ff4a2b941ef199
09e45825b9b4c81ad0894d40fb122b081aa5f666
/setup.py
d9f8a2ee1fb6f0f0c4749b71f5628c1667ea51ce
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
krisdigitx/python-vcloud-automation
dc3adbd244238aa997f761cf090f3e7915bfd5b4
7fa290074f9d1d485b6f161ff29e4ab5d52a4f36
refs/heads/master
2020-12-25T19:04:08.558576
2014-10-08T14:51:40
2014-10-08T14:51:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
import os from setuptools import setup # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.di...
[ "k.shekhar@kainos.com" ]
k.shekhar@kainos.com
08961e5249a1e28b3da5710fb97b519591ec4be0
da4cd87a442e48975599b1f44f62b6a939118dae
/project1/module1/gui.py
827e857b89c806a7ab3d0c1948820bb79328262c
[ "MIT" ]
permissive
pmitche/it3105-aiprogramming
1aada25a2951d4e34349db541991a62ad85b3818
79f3b4a5f624d473b461548b263bcf7ecc0846dc
refs/heads/master
2021-01-10T06:21:43.845896
2015-12-11T18:42:14
2015-12-11T18:42:14
46,087,566
3
0
null
null
null
null
UTF-8
Python
false
false
5,937
py
__author__ = 'sondredyvik' from Tkinter import * from tkFileDialog import askopenfilename import astarmod1 import board class astarGui(Frame): def __init__(self, parent, rows, columns, size=10, color1="white", color2="white"): #These are all variables for the gui self.parent = Frame(parent, width...
[ "paulpmit@gmail.com" ]
paulpmit@gmail.com
f7a4a5e6467ee184d150cffb9fae09e625703666
1af44bdcbc3c15d3f6e436a7924dfd45f504ab3a
/01.jump to python/02.Data Science/1. collection/6. App/Scheduler_example.py
25345e1d5cf5e270c0a09dd38d9fcbcdd11abc17
[]
no_license
wql7654/bigdata_exam
f57c8b475690cbc5978009dbf8008bedff602e2a
c07ee711bb84407428ba31165185b9607b6825e8
refs/heads/master
2023-04-07T00:50:59.563714
2021-05-25T02:46:43
2021-05-25T02:46:43
180,915,985
0
0
null
2023-03-25T01:08:09
2019-04-12T02:36:08
Jupyter Notebook
UTF-8
Python
false
false
998
py
import threading import time g_Balcony_windows=False g_AI_Mode=False def updata_scheduler(): global g_Balcony_windows while True: if g_AI_Mode == False: continue else: time.sleep(5) g_Balcony_windows=not g_Balcony_windows t= threading.Thread(...
[ "studerande5@gmail.com" ]
studerande5@gmail.com
2af1ae194b7cb8fd86bbc426d15069d57e75937c
de2a44b26bd343ecc537d3d0011ab873fd5117eb
/vim/pythonx/snippets.py
c09ffa316d21dcd027e23a396967e4e6f6de26e0
[]
no_license
chpatton013/dotfiles
cfb64e4955470765f160e26303a9391e8b84bc82
2a036c572c27aa2bb7cdd9e3c1a7b222f444daee
refs/heads/master
2020-05-21T15:06:29.159549
2019-01-22T20:34:47
2019-01-22T20:34:47
3,784,980
2
0
null
null
null
null
UTF-8
Python
false
false
918
py
def camel_to_snake(camel, title=False): if title: snake = camel[0].upper() else: snake = camel[0].lower() word = False for c in camel[1:]: if c.isupper(): snake += "_" word = True if word: if title: snake += c.upper() ...
[ "chpatton013@gmail.com" ]
chpatton013@gmail.com
5ade91acb843ca3d31249f976f2da9d03fd44867
59ba24a93a8571696b2722c19f503f83fe1674fb
/code/file_test.py
67251ba4930cc9d27980baadbe0187668edcc875
[]
no_license
AbbottHill/pt-test
29da99e0d8026bfe3c581841ac471e9a70d2234b
e0db9949da041a2f6a85cf24a5192e70c6c9115e
refs/heads/master
2023-06-10T02:12:29.719134
2021-06-23T13:08:29
2021-06-23T13:08:29
292,733,645
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
# seek
[ "cdd9527@163.com" ]
cdd9527@163.com
83deacca3aa2a6152a934f75008d9fb2fdd9f942
8fa9dd1e32f8f826d7883974295088e74bd043f0
/Python/Django/Wall_ERD/apps/wall/migrations/0001_initial.py
03c1321d2689691e876818e5442fd4b953c0d6d5
[]
no_license
ILanning/DojoAssignments
1101e282c4aec9b05c5b3aa05337e03e5a7e2e7e
d02e9e3caea540df058a90d1eec04f6aa85af041
refs/heads/master
2021-05-01T02:00:50.789643
2017-04-22T05:00:15
2017-04-22T05:00:15
79,866,547
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-17 20:23 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "ianclanning@gmail.com" ]
ianclanning@gmail.com
2178a4ea44af2c3821111f32193f3b794eda7c55
172e6f207b2b40c3ecf639cae720bb79e84b4b93
/v10.api.py
50ea7b028d17f81b5bc57e438e65991bf0fbb98f
[]
no_license
JuanManuelHuerta/Kaggle-PersonalLending-Model
159376cc3ffc7cee9935f93d3c86aab9822e3d46
c12899372df47a35a0a1698b38dae0d354eaf2f6
refs/heads/master
2021-08-07T22:07:27.052336
2017-11-09T03:05:28
2017-11-09T03:05:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
from urllib2 import Request, urlopen, URLError import json import unicodedata import re from iFly import * import unicodedata import pickle from sklearn import linear_model import operator import sys def my_lower(x): return "_"+x.group(1).lower() def my_number(x): return "_"+x.group(1) request = Request('h...
[ "juanhuerta@Juans-Air.fios-router.home" ]
juanhuerta@Juans-Air.fios-router.home
bf60539ac36e99e1f954c879e4fc07504611471e
241401dfb9da567d517aa8286e0e6abaabd3d656
/Python codes/New Features and PCA Training on all samples/New_DSP_Features/Comparison_Code_new_features.py
5107f869eb20bd89dce51ad7e60f5943fca975e8
[]
no_license
marakhmusic/Making-Sense-of-Sounds-Data-Challenge
5cefc25cdd1012db8eb407a80f33d9c5866a17d2
b6a5043cd64a97ec5736d5fa0418ba1a4e14af95
refs/heads/master
2022-12-27T14:51:43.376501
2020-10-15T13:19:43
2020-10-15T13:19:43
155,295,651
1
1
null
null
null
null
UTF-8
Python
false
false
8,149
py
# SVM from sklearn.svm import SVC from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier from sklearn import metrics from sklearn.model_selection import KFold from sklearn.model_selection import cross_val_score import numpy as np import matplotlib.pyplot as plt from skle...
[ "noreply@github.com" ]
noreply@github.com
4e75a52bbb36cbac6858c29d1ab2d433f1f7071e
169d809f45dedcaa3c7b1b49912d8b025abe18d9
/challenge251_easy.py
5d902f9cf7b2c9832252475e7fc7bf3834a08af4
[]
no_license
bermec/challenges
8a82d1d38d1ed1a0fc3f258443bc0054efc977a6
9fb092f20f12b4eaa808e758f00f482a49346c88
refs/heads/master
2021-10-08T05:05:56.803332
2018-12-08T00:20:20
2018-12-08T00:20:20
109,448,713
0
0
null
null
null
null
UTF-8
Python
false
false
2,253
py
''' Nonograms, also known as Hanjie, Picross or Griddlers, are picture logic puzzles in which cells in a grid must be colored or left blank according to numbers at the side of the grid to reveal a hidden picture. In this puzzle type, the numbers are a form of discrete tomography that measures how many u...
[ "rog@pynguins.com" ]
rog@pynguins.com
0864304fb6f9996499fcb687bf16c415b3d12c7e
938d5d26c0346316a10a74520b7e30b1bb1f6893
/oncopolicy/utils/generic.py
4a1dcb70ea43341de423c68976e0cc57c3119a36
[ "MIT" ]
permissive
yala/Tempo
46fe0da5a6e2e1a8b9bc855851e7ff9a3ab63bd6
bf3e0e78d64869bb2079c582a4a35982f78386ad
refs/heads/main
2023-04-17T07:04:34.697607
2022-01-13T21:03:04
2022-01-13T21:03:04
419,388,269
13
2
null
null
null
null
UTF-8
Python
false
false
3,560
py
import datetime import hashlib import numpy as np from copy import deepcopy import torch import pdb INVALID_DATE_STR = "Date string not valid! Received {}, and got exception {}" ISO_FORMAT = '%Y-%m-%d %H:%M:%S' CGMH_ISO_FORMAT ='%Y%m%d' DAYS_IN_YEAR = 365 DAYS_IN_MO = 30 MAX_MO_TO_CANCER = 1200 MIN_MO_TO_CANCER = 3 MA...
[ "adamyala@csail.mit.edu" ]
adamyala@csail.mit.edu
3faf8999c4a48684f5b87bd63cb330d5aae94f02
3200edb2daa9d3e2054c08c35f12f6b0493beda4
/hw_2/tests/test.py
976ddbd7b86d63a61c86f5f6830f6c193c1acf6d
[]
no_license
AndreySidorchuk/2021-1-MAILRU-SDET-Python-A-Sidorchuk
6df7ac8f41b80b091649ca452e0a36d4114fdd90
86d57cc9290674f28cb9cc8330b887ca5f4b8f52
refs/heads/main
2023-04-29T02:26:38.465389
2021-05-16T23:02:50
2021-05-16T23:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
import allure import pytest import string import random from tests.base import BaseCase from ui.pages.segment_page import SegmentPage from ui.pages.base_page import NoSuchElementException from ui.pages.dashboard_page import DashboardPage from creds.creds import EMAIL, PASSWORD @pytest.fixture def generate_random_nam...
[ "andrew.sidorchuk@mail.ru" ]
andrew.sidorchuk@mail.ru
b0efcc6c28fe14a6699c981336d42a9f3b246232
96664d1f89e184bf447eaf23af078748a0769578
/medium/leis/urls.py
5604665043655ed64dce7ff295bb2bcd1af2237b
[]
no_license
mr2236/read
be4e71775824a0195fd66d64d478d7c3f173023a
36a4bb11398c25b62ffcd84c9ff6b5bf429769c7
refs/heads/master
2022-12-10T01:23:02.428917
2019-01-13T21:33:28
2019-01-13T21:33:28
161,232,425
0
1
null
2022-11-22T03:09:09
2018-12-10T20:26:56
HTML
UTF-8
Python
false
false
577
py
from django.contrib import admin from django.urls import path from medium.leis.views import index, details, marcacao, marcacao_nota, voto urlpatterns = [ path('', index, name ='index'), path('<int:pk>', details, name ='details'), path('marcacao/<int:lei>/<int:artigo>/<int:usuario>/<int:is_marc...
[ "samyr.anrb@gmail.com" ]
samyr.anrb@gmail.com
2863620a689e89cdd2353f5cf0b4e9667cf9703b
b71b75baf612d97960fff1adff8633affb7931a6
/mysite/accounts/forms.py
63f390ac6ea23a91f5510dfed81a6d9d60496c89
[]
no_license
kim-svadoz/django_relation
2b9d325f2d82d7dbaf611a4c60a4d223689416c4
f909f81e81a583ff2ba75c95a477c1650d9266be
refs/heads/master
2022-11-14T01:09:30.319822
2020-06-29T08:15:26
2020-06-29T08:15:26
274,344,321
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django.contrib.auth import get_user_model class CustomUserChangeForm(UserChangeForm): class Meta: model = get_user_model() fields = ['email', 'first_name','last_name'] class CustomUserCreationForm(UserCreationForm): cl...
[ "dhkdghehfdl@gmail.com" ]
dhkdghehfdl@gmail.com
95f6713504bf13a0bf73502b797efe5295597a01
bcb71f3ad0196709d462330a60801d5f8ec92ea6
/backend/blog/models.py
52046c2bc34be06eb996c26a98cfd002333212d7
[ "BSD-3-Clause" ]
permissive
lautarianoo/lautacademy
c7a7e84958fd6209415c16a0957a7e12449a9afc
beec082bdffe8c773fcec51974a687aced278a76
refs/heads/master
2023-05-28T20:22:22.718962
2021-06-11T17:19:32
2021-06-11T17:19:32
364,965,320
2
0
null
null
null
null
UTF-8
Python
false
false
5,201
py
from ckeditor_uploader.fields import RichTextUploadingField from django.db import models from django.contrib.auth.models import User from django.urls import reverse from django.utils import timezone from ckeditor.fields import RichTextField from mptt.models import MPTTModel, TreeForeignKey from django.dispatch import r...
[ "neonchick1" ]
neonchick1
7101a3cc6721e6833e3f1cf3986d267c97f3e3c7
081f7c8f29e6b9beb7c438c004ffcbc7929b01a3
/utils.py
a58072ab6aada71732f1f8218db5e1529b895f86
[]
no_license
glshankar/DSND-ImageClassifier
b566ca1ea2a81927c1fd376fc911a238f7039de7
967ec46c2cfd8a4f78658bbdda965bea6991598c
refs/heads/master
2020-06-01T19:29:08.863306
2019-06-09T00:34:17
2019-06-09T00:34:17
190,900,463
0
0
null
null
null
null
UTF-8
Python
false
false
9,132
py
import torchvision import torchvision.transforms as transforms import torchvision.datasets as datasets import torchvision.models as models import torch import torch.utils.data as data import torch.nn as nn import torch.optim as optim from PIL import Image, ImageOps import matplotlib.pyplot as plt import n...
[ "noreply@github.com" ]
noreply@github.com
13cdda5313868ed14f43036eeee4fa1bc0dba952
f9bed2fc184fa3bdc234a074bf19544a6f2ef5c1
/2016/Systemprogramming/5/reducer.py
60328e30cf6e28a315ced1ac76a62ddd5965e1ab
[]
no_license
hdenni/univ
aa530a91eb3213c5c13d1710aa059471a7f3ac33
860108aa9bba42ff1aa31012dbd398deebbd1e09
refs/heads/master
2020-05-16T23:20:44.778781
2019-04-25T05:42:57
2019-04-25T05:42:57
183,362,217
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
#!/usr/bin/python # -*- coding: utf-8 -*- from sys import stdin, stdout # make dictionary library = {} while True: # read line one by one line = stdin.readline().strip() # if line is empty, it means EOF if line == "": break # cut the string by whitespace words = line.split() # word me...
[ "noreply@github.com" ]
noreply@github.com
9136eb59fa533c5a57bb337ce3e139c8d265a6a3
93991fb102168aad2462e8dabc77e0ecbb2149be
/git1.py
eeae1b150a3e56f2ecb89aeadda4e0f568125390
[]
no_license
venkatr2018/javahelloworld
82b352d63c948f9fd803d8cf0f9d116592fc1d37
6bdecf44236d7f85ca881f26b6cebb2103bacad1
refs/heads/master
2020-11-29T21:09:00.148566
2019-12-27T13:29:18
2019-12-27T13:29:18
230,216,399
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
print("remote commit")
[ "ponnathota.venkat86@gmail.com" ]
ponnathota.venkat86@gmail.com
79a50b733533cd6299691b654d5ce900ae38596f
de4449e4fbd2972a5a7e775e3a3c7a187ef86899
/ubiops/models/pipeline_request_deploment_request.py
4cab9039fd3b21f5a7110af758c322d56e311bb0
[ "Apache-2.0" ]
permissive
egutierrez-ar/client-library-python
03325cc1d4c3e949187889ceb404a08660a7f418
94177e5f175263bce645c15a171e54690b1e254f
refs/heads/master
2023-01-22T23:41:40.274718
2020-11-19T07:34:36
2020-11-19T07:34:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,840
py
# coding: utf-8 """ UbiOps Client Library to interact with the UbiOps API. # noqa: E501 The version of the OpenAPI document: v2.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from ubiops.configuration import Configuration class PipelineReque...
[ "sascha.vanweerdenburg@dutchanalytics.com" ]
sascha.vanweerdenburg@dutchanalytics.com
5ee34883835b53c8fa72327e607649c34ada78ea
6abef345f1b0e30d666e532d46fd6aa6bc030596
/Focus/parse_args.py
df114ba575d8351e13385574f3b920c2aa809c6e
[ "MIT" ]
permissive
DimplesL/OCR
fe5eb3cdd7a90042f2d7020744c8dd42144a3149
506ec018dc67832b41979784bfc847e1c7d73480
refs/heads/master
2022-04-09T23:47:28.650663
2020-02-13T01:49:22
2020-02-13T01:49:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
#!/usr/env/bin python3 import argparse import os def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('--display_step',type=int,default=100,help='display step') parser.add_argument('--eval_step',type=int,default=1000,help='display step') parser.add_argument('--epoch',type=int,defaul...
[ "R06942112@ntu.edu.tw" ]
R06942112@ntu.edu.tw
b7705ef501c5fc6a92cd05f6bf22ac464c0411dd
d96209e276586c043897952f89e7456b31a7597f
/python_program/day05/s01.py
49dde0bf11f688a58882849c02e7b575a7fe74b7
[]
no_license
401897330/python_program
974e156c509c17fddedac8080fabc02603973ae6
16ba8953c41a2c0cffc62ec64794ec19f7c7d900
refs/heads/master
2021-05-15T13:09:39.000855
2017-10-26T13:06:45
2017-10-26T13:06:45
108,516,397
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import os def init(func): def wrapper(*args,**kwargs): res=func(*args,**kwargs) next(res) return res return wapper @init def search(target): while True: search_path=yield g=os.walk(search_path) fo...
[ "fengjianbo@tvmining.com" ]
fengjianbo@tvmining.com
65b5fe40446afa66c5f1c76242d7fcd8b3926bf1
eb023177db6d30a4cda3fd208a8dae50d08711c3
/basics/ch10_files/files/ex_10_4.py
220ebeb21f8be00d01befb961ccf4cac6b488315
[]
no_license
teddy-boy/python_crash_course_exercises
4ad2868adb6e2db57357acfa0103a96f223d8097
8cbfd7f0ee9bb1d1cf2090f3cd7c3118df3d4e4b
refs/heads/master
2020-12-03T18:55:11.992023
2020-05-09T06:18:24
2020-05-09T06:18:24
231,439,199
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
file_name = 'guest_book.txt' with open(file_name, 'a') as file_object: have_name = True while have_name: guest_name = input("Please enter your name: ") if len(guest_name) > 0: file_object.write(guest_name + '\n') else: have_name = False
[ "dzungnguyen.learntocode@gmail.com" ]
dzungnguyen.learntocode@gmail.com
2982b152f2ef0916c17ae223e733483d0f455558
fa9cc9cc469a3f0c5bdc0bc4e562dbbd3ff7e465
/messages/RequestCloudMessage.py
cfd12e7df3126a5a7572dd9613f73bd6e7fc77a3
[ "MIT" ]
permissive
zadjii/nebula
ddd86ea30791b46b2a1aeb000ae5dfea9a496168
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
refs/heads/master
2021-01-24T17:08:30.607634
2018-09-18T00:35:36
2018-09-18T00:35:36
36,847,552
2
1
null
null
null
null
UTF-8
Python
false
false
829
py
# last generated 2016-12-30 19:27:53.981000 from messages import BaseMessage from msg_codes import REQUEST_CLOUD as REQUEST_CLOUD __author__ = 'Mike' class RequestCloudMessage(BaseMessage): def __init__(self, id=None, cloud_uname=None, cname=None, username=None, passw=None): super(RequestCloudMessage, sel...
[ "zadjii@gmail.com" ]
zadjii@gmail.com
0f5e3d996958b41a523b4f0cbd6e4510c523fdf7
67331a9adf792da2c9f6ba2ec6569205cf0ed820
/net_celebA.py
3d2a07eb3e11eeb21bd800efec548f5d0131a9b3
[]
no_license
wrb0312/chainer-vae
d25516db02398c8a725db2130bfd7dc73574df1c
2b9412fd26876d6f04413ba0f3bcdddc4cb6ae35
refs/heads/master
2020-04-11T22:39:09.815938
2018-12-17T14:29:21
2018-12-17T14:29:21
162,143,056
0
0
null
null
null
null
UTF-8
Python
false
false
7,597
py
import chainer import chainer.distributions as D import chainer.functions as F import chainer.links as L from instance_normalization import InstanceNormalization import numpy as np class ResBlock(chainer.Chain): def __init__(self, ch_in, ch_out, initialW): super(ResBlock, self).__init__() with sel...
[ "wrb0312@gmail.com" ]
wrb0312@gmail.com
e40803f4fbb7c66aeab0233f48ae886c1407258d
d15ba031064ef83a0ec10b1559cbccee9a344642
/records/views.py
e2998b1b23272cc09115fd9b0673e57708d60c46
[]
no_license
rich-hart/atlantic-code-test
fe7676e73298cde40485f25ce3f89863c006bf82
87e3e0d430e38e474c16db5fe4212dce55896992
refs/heads/master
2020-04-08T22:01:38.817676
2018-11-30T14:37:02
2018-11-30T14:37:02
159,768,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
import csv import codecs from django.shortcuts import render from rest_framework import viewsets from .models import Document, Customer, Address, Product, Record from .serializers import DocumentSerializer, CustomerSerializer, AddressSerializer, ProductSerializer, RecordSerializer class DocumentViewSet(viewsets.Model...
[ "richhohart@gmail.com" ]
richhohart@gmail.com
e3bfb22658f71b95373fb5ef5e1af974e7905ecd
9d9710cfdfe899f20ec949aede3c7da788653514
/app/stock_scraper.py
107386cc186d774191310ba24b137f92e6d34aa4
[]
no_license
jblizz11/info3180_tutorial
367c2f928ec34a7eb5a39a6a2b064847821a0387
2f6a90bcecfec43bded03eba8a0743e1c2856f25
refs/heads/master
2021-01-10T08:55:56.588443
2016-02-08T16:03:46
2016-02-08T16:03:46
51,306,781
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
import csv import requests URL = "http://www.nasdaq.com/quotes/nasdaq-100-stocks.aspx?render=download" def get_data(): r = requests.get(URL) data = r.text RESULTS = {'children': []} for line in csv.DictReader(data.splitlines(), skipinitialspace=True): RESULTS['children'].append({ ...
[ "omairekid@yahoo.com" ]
omairekid@yahoo.com
67dcd402986248e900295a25a35306dafe50db76
32892657796d64190c3d597135f609e555204d1a
/Convnets/week4_1.py
b4ca9cdf8150d1ce4747101444b5cbc72454cd98
[]
no_license
vbardakos/coursera-tf
cf7a6aec2469d0f029cdf06a688f1347204ec39c
176f41ffcba089790e0b2f1d3cab4cd102048244
refs/heads/master
2022-12-12T04:25:57.566831
2020-09-06T12:44:46
2020-09-06T12:44:46
281,943,843
0
0
null
null
null
null
UTF-8
Python
false
false
2,519
py
import os import zipfile import requests from tensorflow import keras from PIL import UnidentifiedImageError def downloader(url: str, path: str, ignore=False): if os.path.isdir(path): path = os.path.join(path, url.split('/')[-1]) elif not path: path = url.split('/')[-1] if ignore or not o...
[ "gratebill@yahoo.gr" ]
gratebill@yahoo.gr
a28c3ce814b5b12dd2c05e7fd156e0d2bc41aa35
c342ee4382fd036142485b9d7bbed0f26ff6e341
/decor.py
bb97fe933ddf2f363911e7608860b32253ab4441
[]
no_license
harshmathur1990/HMIAnalysis
1bdb028125012ac6f0eb37d55a148e4207c3ee9f
441b43e4a4e01f4d298d2b538826e31a211f5f8f
refs/heads/master
2021-06-19T13:20:09.368774
2021-01-20T13:17:48
2021-01-20T13:17:48
162,729,572
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
# -*- coding: utf-8 -*- import time import sys from functools import wraps def retry(exceptions, tries=4, delay=10, backoff=2): """ Retry calling the decorated function using an exponential backoff. Args: exceptions: The exception to check. may be a tuple of exceptions to check. ...
[ "harshmathur.1990@gmail.com" ]
harshmathur.1990@gmail.com
de2366117fa19b7601ff66ec8e096b371bd033d7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02379/s777602673.py
78b06ae63e611e0c41787c5b51901c304d983aee
[]
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
120
py
import math x1,y1,x2,y2=map(float,input().split()) dx,dy=x2-x1,y2-y1 d=math.sqrt(dx*dx+dy*dy) print("{:.8f}".format(d))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f548415a66284d6df562b04a82c09a348d818378
628cf3d17f7ec83ff82b130d1e3e21d7b93d438c
/functional_tests/test_list_item_validation.py
90fbf142e3ad218087f5d9a67f6abcf45994eeaa
[]
no_license
floor66/superlists
48cfc916f72c251bb1df12d446aeb7dd47d5b76a
e38d7a7f56bbc8d5da48a129e2b4c82b4669898e
refs/heads/master
2021-01-19T08:37:59.591387
2014-01-06T20:48:44
2014-01-06T20:48:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
from .base import FunctionalTest class ItemValidationTest(FunctionalTest): def test_cannot_add_empty_list_item(self): # John goes to the home page and accidentally submits an empty list item. self.browser.get(self.server_url) self.get_item_input_box().send_keys('\n') # Home page refreshes and an error m...
[ "fpjdenhartog@gmail.com" ]
fpjdenhartog@gmail.com
2d40e18dff42b78071acbf9a15a4b2c38e0ebc3d
d0474a6c51643f68fd317d7c8a20161c64f5c9ae
/Task40.py
87ab350eadbef5fde8d94e1fa0cf83f5a35ef6d8
[]
no_license
Emanresu007/python-course
8520e260422003bf3476e7422c6af1b8330e9c8b
7f819101db949a34ec4ecbc56df20a18033320a6
refs/heads/main
2023-08-22T03:48:07.566662
2021-10-23T08:52:52
2021-10-23T08:52:52
415,236,459
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# -*- coding: utf-8 -*- """ Created on Thu Sep 9 12:56:00 2021 @author: Fetibek Aliev """ # input data #S = input() #n = input() #k = input() S = 1000000 n = 12 k = 15 # Preparing Data Sample S = int(S) n = int(n) k = int(k) def dif(S, n, k, t): y = (S/n) + (S - (t-1) * (S/n)) * (k/(1200)) return y list...
[ "feti.aliev@gmail.com" ]
feti.aliev@gmail.com
969bc2105e1b8e1504a545f9f802c249ce7bd0cf
ee23ea38cf2a3408ad01cb88347a8a5223f021c7
/tests/test_lexical_unexpected_char_err.py
c34310b020311509981033d59dfd7439cd8f0e93
[]
no_license
azharjk/recursive-decent-parser-python
ade8e4ac358a1c07c520dd683027621435fe70fa
8c70fe45d71763c3b0e3c89a34802be3007ecf12
refs/heads/master
2023-09-02T09:36:44.710131
2021-10-20T08:34:22
2021-10-20T08:34:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
import pytest from calculator.calculator import Lexer @pytest.mark.parametrize('x,unexpected_char', [ ('a', 'a'), ('ab', 'a'), ('1x', 'x'), ]) def test_lexer_catch_unexpected_char(x, unexpected_char): lex = Lexer(x) with pytest.raises(Exception) as e: lex.parse() assert f'unexpected character: {unexp...
[ "azhr.project@gmail.com" ]
azhr.project@gmail.com
403779bc4e585bffd6a18ffc628e3553b0348d21
b7341fae6c2d0cd157aa128b15093ce876b805ac
/habilidades/migrations/0001_initial.py
3d023e1457990425e1daec7206a9e41abc9dce4d
[]
no_license
NessaPaixao/Project-Hero_Wiki
3ad73554a7c1a7644c87df9e1af9973888f0e1c7
41ad5f04f288fcc9706999754b0e1b60b1a859fc
refs/heads/master
2022-07-15T04:58:43.904515
2019-10-01T17:31:51
2019-10-01T17:31:51
211,387,504
0
0
null
2022-04-22T22:26:42
2019-09-27T19:22:33
Python
UTF-8
Python
false
false
490
py
# Generated by Django 2.2.5 on 2019-09-27 18:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Habilidade', fields=[ ('id', models.AutoFie...
[ "vanessadapaixaobarros1@gmail.com" ]
vanessadapaixaobarros1@gmail.com
905777b65166b8c4c785197ea4fd6422fcc035a9
aa8fd4529f52f0311b398cec8d71783b97acab2a
/examples/kivy/multi_threading/main.py
300affbb58b58c88d7c293e7398ca2d728ac6c12
[]
no_license
QueensGambit/GitHubRepositoryClassifier
0f84e060051d8a16d4f3074f88f078dd5832013c
b11d30049ef14703933cb357a727cf92d838b46b
refs/heads/master
2023-07-20T17:18:03.176514
2022-06-22T14:56:41
2022-06-22T14:56:41
70,482,195
3
1
null
2023-07-06T21:09:48
2016-10-10T11:40:12
Python
UTF-8
Python
false
false
4,065
py
from kivy.app import App from kivy.lang import Builder from kivy.factory import Factory from kivy.animation import Animation from kivy.clock import Clock, mainthread from kivy.uix.gridlayout import GridLayout import threading import time # https://github.com/kivy/kivy/wiki/working-with-python-threads-inside-a-kivy-app...
[ "curry-berry@freenet.de" ]
curry-berry@freenet.de
d4c94fe92d17941badd8ceec535168ec2c320fe2
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/scrapinghub_portia/portia-master/portia_server/portia_orm/tests/test_relationship.py
5167cbf61f361b3da5dede41e29b542d6a11d4f7
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
66,255
py
import mock from .models import (OneToOneModel1, OneToOneModel2, ParentModel, ChildModel, ManyToManyModel1, ManyToManyModel2, PolymorphicParentModel, PolymorphicChildModel1, PolymorphicChildModel2) from .utils import DataStoreTestCase, mock_storage class OneToOneRelationship...
[ "659338505@qq.com" ]
659338505@qq.com
a864d8f1d853f7318dea229643027682624d6e26
340348a5294d40cafee167af89e2d9ad6a09a0c5
/starting_hands.py
90c4b018206207fe74ce5c51f47e086796345d04
[]
no_license
fabiopk/poker-ai
0d8ddadc2e91cab0b20c07dd73929cec101c2afd
919eb6ce45e2001c64e2bb74f0534d039055a0db
refs/heads/main
2023-04-10T20:42:35.134018
2021-04-26T18:49:47
2021-04-26T18:49:47
354,453,488
1
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
hands = ['32o', '52o', '53o', '62o', '42o', '73o', '52s', '72o', '63o', '43o', '64o', '32s', '54o', '72s', '42s', '82o', '85o', '74o', '92o', '74s', '83o', '65o', 'T3o', 'T2o', '53s', '75o', '75s', '64s', '93s', '95s', '63s', 'T3s', '62s', '93o', '94o', 'T2s', '95o', 'J2s', '76o', '22o', '84o', 'J4o', '86s', 'Q2o', '82...
[ "faabiopk@gmail.com" ]
faabiopk@gmail.com
16803e1406506e5d320095d2aa1e95511b041c83
88a63b75d2910b974485df53a1edab7aadfdd170
/python/sets.py
dce5f73a578e4c7a0651d2f1af8e3b848dd95379
[]
no_license
alihaidermalik04/Learning
dc08dd172628faccc276326cc0965dd8ce8e1dab
a86123f7b47a78a857ace3a0e87398dfa1936008
refs/heads/master
2023-05-03T23:29:19.661072
2021-05-27T12:09:16
2021-05-27T12:09:16
369,426,004
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
''' sets in python are similar to sets in maths. These sets are also represented by {} and have uninot and intersection methods. to run this code: $ python3 sets.py ''' set1 = {'apple', 'mango', 'banana'} set2 = {'watermelon', 'cherry', 'mango'} print(f'UNION ----- set1 U set2: {set1.union(set2)}') print(f'INTERSECT...
[ "ahaider@sastaticket.pk" ]
ahaider@sastaticket.pk
68615c0335fc693397ae3712ddd889db8865a5ec
cee65c4806593554662330368c799c14ec943454
/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/project_task.py
f06065a5bf044dac5eb01d8d79ccba2c49e5d1d2
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
azclibot/azure-cli-extensions
d5d1a4ecdfc87fd79f5ad042fb85cdbf881897d2
c230646258d4b56efb7d44eb7a0230f2943da6f6
refs/heads/master
2023-08-28T03:55:02.311902
2019-04-04T16:05:45
2019-04-04T16:05:45
179,548,695
1
1
MIT
2021-07-28T15:26:17
2019-04-04T17:54:39
Python
UTF-8
Python
false
false
1,660
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "wx44@cornell.edu" ]
wx44@cornell.edu
fdd007c0b032c25b1cf46ac0944db9b9217a204f
82c2c272fe07da8afafb1dc4630cae1d48575f23
/aws_reko/apps.py
58e8ecd9ec40e1978d3eb6f2563e2de7a8beda8b
[]
no_license
final-project-fastflix/Fastflix_WPS
d830ea1bd3aae31edd8fcdcb70434d214ba77bd0
1e4296df2f6d41fed8308dcd4d48912bb8cc0e1f
refs/heads/develop
2022-12-13T09:22:37.553487
2019-08-22T06:30:45
2019-08-22T06:30:45
199,455,228
3
2
null
2022-12-08T05:56:42
2019-07-29T13:09:55
JavaScript
UTF-8
Python
false
false
90
py
from django.apps import AppConfig class AwsRekoConfig(AppConfig): name = 'aws_reko'
[ "sug5806@gmail.com" ]
sug5806@gmail.com
0bb22ac66250c441ec7c1efd0a7a65504f6f7543
aee8cd408ae80e2059c84d2f83c7da8ee83990b4
/Problems/0426-Convert Binary Search Tree to Sorted Doubly Linked List.py
00804d32d376d419d9f34898b7e359664b7a8c90
[]
no_license
KirkGuo/LeetCode-Accepted-Code
652a40a88888e8190e5b2912fa04008e82e32080
ca445222ac0c513070123693977d8e1570c077f5
refs/heads/master
2021-06-25T03:47:25.586772
2021-03-09T02:39:20
2021-03-09T02:39:20
208,901,136
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
""" # Definition for a Node. class Node: def __init__(self, val, left=None, right=None): self.val = val self.left = left self.right = right """ class Solution: def treeToDoublyList(self, root: 'Node') -> 'Node': if not root: return None head, tail = self.helpe...
[ "noreply@github.com" ]
noreply@github.com
2ca594af82fefbb5cf7eaf8c9b56b7791deacb98
b521e8390f0f3e3d3433dd2b08ec217d7c9ecf57
/src/CreeDictionary/CreeDictionary/migrations/0001_insert_bibliographic_data.py
b0abdc9123889513225acf2a4489b41eeeba73b6
[ "Apache-2.0" ]
permissive
aarppe/cree-intelligent-dictionary
92fde147eac57c09d7025d9d16a8ea9ebbe46d58
79717a08f95827a024061a5a27000bbd3d684363
refs/heads/main
2023-05-31T06:41:36.625244
2021-06-10T21:41:55
2021-06-10T21:41:55
375,819,783
0
0
Apache-2.0
2021-06-10T20:14:31
2021-06-10T20:14:30
null
UTF-8
Python
false
false
1,776
py
""" Inserts bibliographic information for three Plains Cree dictionary sources: - [CW] Cree : Words - edited by Arok Wolvengrey - [MD] Maskwacîs Dictionary - [AE] Alberta Elders' Cree Dictionary """ from django.db import migrations BIBLIOGRAPHY = { "MD": { "title": "Maskwacîs Dictionary of Cree...
[ "eddieantonio@hey.com" ]
eddieantonio@hey.com
e5c99083e888679c70abb0a62f231e39b7340f2b
385a63d3c9e6f5815979165001f78ec3d7b90cd2
/DrivingTDM_SetupMatlabOOP/headerAndFunctionsMotor/ximc/python-profiles/STANDA/8MT175V-150-VSS42.py
36179aa2493ff6c8567ae576017af21d79a83175
[ "BSD-2-Clause" ]
permissive
Rasedujjaman/matlabOOP
5abb6ec94998fda5e9214ed94cf67a42bf243d4f
e1f025ab9b00a3646719df23852079736d2b5701
refs/heads/main
2023-07-23T21:40:53.905045
2021-08-31T16:12:39
2021-08-31T16:12:39
378,249,559
1
1
null
null
null
null
UTF-8
Python
false
false
22,810
py
def set_profile_8MT175V_150_VSS42(lib, id): worst_result = Result.Ok result = Result.Ok feedback_settings = feedback_settings_t() feedback_settings.IPS = 4000 class FeedbackType_: FEEDBACK_ENCODER_MEDIATED = 6 FEEDBACK_NONE = 5 FEEDBACK_EMF = 4 FEEDBACK_ENCODER = 1 ...
[ "mrased01@gmail.com" ]
mrased01@gmail.com
4c500bda7cd8675d1b45144b2c156f3d0175a9ac
d77e0e6c3d5e8adcb9c9b7c9dfd9d6a51fe241a7
/contiki/sc_ota_update/global_cp.py
7c7083aa52ff1aaf0932ce2ea39ca793dc1eab02
[]
no_license
rmateeq/examples
991553139118c3081840983e2129d55417e2c5d2
f955d47f6d6a8a391808432f69cf018bef91d323
refs/heads/master
2020-05-29T10:16:59.141693
2019-06-12T20:19:05
2019-06-12T20:19:05
189,090,903
0
0
null
2019-05-28T19:31:33
2019-05-28T19:31:32
null
UTF-8
Python
false
false
14,640
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ global_cp.py: Example Contiki global control program Usage: global_cp.py [options] [-q | -v] Options: --logfile name Name of the logfile --config configFile Config file path --nodes nodesFile Config file with node info --measurements measuremen...
[ "peter.ruckebusch@ugent.be" ]
peter.ruckebusch@ugent.be
fe173af070d84e9c1e48b19008e759932f6dcfe1
2f97691c2890ddf61ac9bd9a776082896d0f6fee
/src/ninja_mvp.py
a8b6fab90b69a51509888363f2f2785b265e2e32
[]
no_license
marcogx/strategic-multi-shoot-game
880587009e35b89d24a7e2d18350aa52b49f6b29
49a430ce7a47b71bac355fcfe499f946dd532049
refs/heads/master
2021-01-12T11:12:25.250219
2016-11-04T16:54:37
2016-11-04T16:54:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,307
py
#! /usr/bin/env python """ ninja_mvp.py The main game logic of Ninja MVP, which It's a action-based multi-player shooting game using Leap Motion to track a player's hand movements and gestures for control and adopts a scoring rules using principles of Game Theory. author: Guang XIONG, gx239<at>nyu.edu Ruyu GUAN, rg24...
[ "gx239@nyu.edu" ]
gx239@nyu.edu
6335fe87658f80c0168a9f89bb85da52bc795036
5124b510ccda86086a3a3634dbb143924aa9b79a
/flask_api.py
3fde34f7ee5ab639ffcc0251790a11e186a9c92e
[]
no_license
Rockxy0111/Pro136
eb49cb3cfed41d6eb66724e5c0b833b9a1ca52cb
a5377f401552670800de6bf9f903d72d367b5305
refs/heads/main
2023-09-06T05:19:33.757166
2021-11-03T04:01:05
2021-11-03T04:01:05
423,059,158
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
from flask import Flask, jsonify, request from data import data app = Flask(__name__) @app.route("/") def index(): return jsonify({ "data": data, "status": "success" }), 200 @app.route("/star") def star(): url = request.url url = url.split('/')[2].split('=')[0] url...
[ "noreply@github.com" ]
noreply@github.com
64cd56c426f32cc13c0af298ecb5911bd9d54e84
2af018eceea82494583cc2b1b7629e913070cd6f
/setup.py
20da27d5cba40cf3779281ce64b286b712fe8efc
[ "MIT" ]
permissive
aert/aert-farmerp
f9810e18de9017f5621ee6089313c3a97e9b9697
a26d7232229146157286128db0704b93065edaa8
refs/heads/master
2021-01-18T13:54:38.566543
2014-03-17T20:07:17
2014-03-17T20:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.rst')) as f: CHANGES = f.read() requires_base = [ 'Django==1.5.4', 'django-braces==1.2.2', ...
[ "dev.aert@gmail.com" ]
dev.aert@gmail.com
0ec4892bc4cefec76f96beaaf8980145fa169ca0
fa60a442825642c309eed596ff694d64ff399db7
/PYG02/PYG02-PygameHelloWorld.py
aa24d5d26ef508d9b4a3c4e0aa0f344e51963edf
[]
no_license
ruiqing0706/PygameCourse
a6a06078baf6236107e5635920b731b7e85a1dca
9532a640e45d36eb8a4ecfa112f1dcfa88e3f248
refs/heads/master
2021-08-22T06:09:47.298957
2017-11-29T13:14:12
2017-11-29T13:14:12
112,477,035
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!/usr/bin/python # encoding:utf-8 """ @author:jiruiqing contact:ruiqing0706@163.com @file: PYG02-PygameHelloWorld.py @time: 2017/11/29 20:05 """ import pygame,sys pygame.init() screen = pygame.display.set_mode((600, 400)) pygame.display.set_caption("Pygame游戏之旅") while True: for event in pygame.event.get(): ...
[ "2944925501@qq.com" ]
2944925501@qq.com
308397ed048cf03a190ffa0c99b55d07196a45cf
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_97/591.py
65f897b1fd4fe4677b641f162d03e1a08dcae786
[]
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,640
py
# Recycled Numbers # main code fr = open('C-large.in', 'r') fw = open('C-large.out', 'w') numOfTestCase = int(fr.readline()) for x in range(0,numOfTestCase): result = "" print("========== Test case " + str(x+1) + " ==========") line = fr.readline() line = line.split(" ") A = int(line[0]) B = int(line[1...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2136ceed7ded2995dc97b82ced276854c3146f10
6a044f45cd09695ea6f66f35bb8decf86a84607d
/installer/resources/pacbot_app/alb_https_listener.py
e285a11743e84dfb2706dd3e7435a718e88798c8
[ "Apache-2.0" ]
permissive
ritesh74/pacbot
a07bdf82632342509f05b5c5dbb6eb6aaba40219
4b5361d99e7efbbc5603ec9c6568ba639105c773
refs/heads/master
2021-07-09T15:35:27.342903
2020-09-28T20:36:42
2020-09-28T20:36:42
199,405,428
1
0
Apache-2.0
2019-07-29T07:53:26
2019-07-29T07:53:25
null
UTF-8
Python
false
false
2,414
py
from core.terraform.resources.aws.load_balancer import ALBListenerResource, ALBListenerRuleResource from core.config import Settings from resources.pacbot_app.alb import ApplicationLoadBalancer from resources.pacbot_app import alb_target_groups as tg PATH_PREFIX = '/api/' class PacBotHttpsListener(ALBListenerResour...
[ "sanjnur@gmail.com" ]
sanjnur@gmail.com
67988ddda5a97613eecab1e537f55cb615dcf9a1
cc572211829170d0edf6695d3a2967e91456d652
/02day/11-石头剪刀布.py
9d85a52a9d5ed120e7becfe565f71643435a6acb
[]
no_license
huguowei123/1808
7c3bfe24fda78b3e2f78d9c6e090067c4bcd7ccc
4f7fa5074482be25a6999b577e9c315f7013e29d
refs/heads/master
2020-03-25T10:10:35.599211
2018-09-03T15:21:31
2018-09-03T15:21:31
143,685,853
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
class caiquan(): def cai(self): import random while True: player = int(input("1:石头 2:剪刀 3:布")) pc = random.randint(1,3) if(player == 1 and pc == 2) or (player == 2 and pc == 3) or (player == 3 and pc == 1): print("玩家赢") elif player == pc: print("平") else: print("电脑赢") a = caiquan...
[ "1156800122@qq.com" ]
1156800122@qq.com
25921d6aad0f056eca167521c67ce74a84b4e248
ca20fa4ef4e9e77f3c8734254a689d585f4d2219
/numpy-p/floor_ceil_rint.py
5c92bae86efc653df4f6856b50b14840dc5fdfdc
[]
no_license
rajendrapallala/hackerrank-python-practice
df242c7cd92914473f78581a0e4cdd4c457adb61
86346f06efa1aae4eec72030e6651456141180b3
refs/heads/master
2020-08-16T16:14:55.502136
2019-10-20T19:11:40
2019-10-20T19:11:40
215,522,105
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
import numpy l = list(map(float, input().split())) A = numpy.array(l) numpy.set_printoptions(sign=' ') print( numpy.floor(A)) print( numpy.ceil(A)) print( numpy.rint(A))
[ "34043701+rajendrapallala@users.noreply.github.com" ]
34043701+rajendrapallala@users.noreply.github.com
7f6fdc3893e53fbae95a1a8a18d1df5a36e7a06a
aa9a930725dc94b8594165e9d7bfc1c56cbec701
/mysite/Scripts/mysite/mysite/settings.py
538f0da2eb72ba3bcd77a4f550131f57efefe1a9
[]
no_license
JasperSui/TicTicket-DjangoRestFramework-Ticket-Backend
d7691d598268eb0d41b63598a29e48b3f100e88a
edcebad4bb0bf216e859d98ac83d9a835b5e55dd
refs/heads/master
2022-11-27T13:29:45.306203
2020-01-20T18:46:31
2020-01-20T18:46:31
234,982,973
0
1
null
2022-11-17T00:05:48
2020-01-19T23:23:34
Python
UTF-8
Python
false
false
3,220
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
[ "suiyang03@gmail.com" ]
suiyang03@gmail.com
40fa1d11d80bedb9985a713552073e76c3bdad26
cced294b25fc586b857e197c7d20481b73faf186
/generate_tfrecord.py
d9c38f90ed4e4257f1e3330d7663e005e8862074
[]
no_license
leenremm/object_detection_training
e10614a91b616291ef7e89adafbaae93de18ca07
944f0d8284a115e99a54e2e6983b870048641c79
refs/heads/main
2023-03-13T08:34:12.992480
2021-03-03T12:48:55
2021-03-03T12:48:55
325,237,547
0
0
null
null
null
null
UTF-8
Python
false
false
4,818
py
""" Usage: # Create train data: python generate_tfrecord.py --label=<LABEL> --csv_input=<PATH_TO_ANNOTATIONS_FOLDER>/train_labels.csv --output_path=<PATH_TO_ANNOTATIONS_FOLDER>/train.record <PATH_TO_ANNOTATIONS_FOLDER>/label_map.pbtxt # Create test data: python generate_tfrecord.py --label=<LABEL> --csv_input=<PATH_TO...
[ "leenremm@gmail.com" ]
leenremm@gmail.com
a0b35187cc650dbe184bac1e9ac0a0279ac1d10f
2065504b0cd1951aec8ce9243d9cb3be855807a2
/profiles/urls.py
17a27f9ff8aa25e44bab0a7717c765fcde10b2cb
[]
no_license
Anthony9698/BugTracker
8f9f7e6e9babbcb895f06e2c1da71dce8d49c914
d1a4133e9b90c845aaf19cc98bc2026d874e735a
refs/heads/master
2021-09-25T11:40:34.132232
2020-09-12T09:50:26
2020-09-12T09:50:26
246,219,647
1
0
null
2021-09-22T18:42:31
2020-03-10T05:55:23
JavaScript
UTF-8
Python
false
false
2,992
py
from django.urls import path from django.contrib import admin from django.contrib.auth import views as auth_views from profiles import views urlpatterns = [ path('', views.login_page, name='login'), path('admin/', admin.site.urls), path('admin-user-view/', views.admin_user_view, name="admin_user_view"), ...
[ "anthonyviera4@gmail.com" ]
anthonyviera4@gmail.com
76587af74f94646c2c02584d498defa5d1de6d54
cebe5baa34515c8c02f7f33dbdc7581f98c89497
/config.py
397d8d65ab31a0d62a9b2b1879a7be30a74e12db
[]
no_license
uclanlp/clusters
8f53fcc11a3fcc4250250a9fc11f32902a537bb2
243f6a1b8b0b71a2130290b8e98b4a99e92ca25b
refs/heads/main
2023-03-05T02:17:28.760352
2021-02-15T23:31:10
2021-02-15T23:31:10
308,462,503
6
1
null
null
null
null
UTF-8
Python
false
false
5,997
py
import os import argparse parser = argparse.ArgumentParser() parser.add_argument('--dataset', type=str, default="pang04", help='dataset?') parser.add_argument('--outdir', type=str, default=None, help='output dir?') parser.add_argument( '--utility', type=str, default="submod", help='utility model?') parser.add_argum...
[ "jyzhao@nlp8.cs.ucla.edu" ]
jyzhao@nlp8.cs.ucla.edu
2da1e4acc0b3d5125befa6dc20adc3a671641d10
63e33501e82130efcfdc77ccd5cd85779b06f153
/commentapp/migrations/0001_initial.py
1c320b01485391275caeeb789b0d497296228976
[]
no_license
HeewonKwak/P_D
505171bdd67a6985cc469bd71cf20d215b1956b3
b318dbd2d5b947230ddfc35382326a28714a2eca
refs/heads/master
2023-08-17T16:35:56.415497
2021-09-28T01:37:50
2021-09-28T01:37:50
403,795,119
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
# Generated by Django 3.2.5 on 2021-08-10 00:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('articleapp', '0001_initial'), migrations.swappable_dependency(s...
[ "81952911+HeewonKwak@users.noreply.github.com" ]
81952911+HeewonKwak@users.noreply.github.com
9edb165c569d6cc888053a6659ddeb13b86d2ce4
7017f5f0570a519f7d9757b522082ec596de99d9
/manage.py
62bd8c1d690a6bb13ee280f12b35ce2251a15125
[]
no_license
beautyfoot/OneTenBillion
c54b1b75a17b7cce239558bc3ffdb5878faa2899
49b1cefc7baffb0dc994f6d44a8142cd6f97b3ef
refs/heads/master
2021-07-21T21:51:50.612731
2017-09-27T12:10:05
2017-09-27T12:10:05
104,286,363
0
1
null
null
null
null
UTF-8
Python
false
false
811
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OneTenBillion.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure tha...
[ "30289523+beautyfoot@users.noreply.github.com" ]
30289523+beautyfoot@users.noreply.github.com
f859565e01ba56475581bf091f45d7f8cd53b2bf
f744310142239636c2e26c6178ab6db07a26b2de
/getcategories.py
da9be593858563bcfbd8590a9c21bf04ca8a1a8e
[]
no_license
jovenntann/chatbot
dcba024f02219d919f48544325d81807a41b9285
dc5724670d7b8a055f0283521e86b8cadcb5e25f
refs/heads/master
2022-08-26T02:26:02.197454
2020-03-11T17:46:07
2020-03-11T17:46:07
212,198,692
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
import mysql.connector # conn = mysql.connector.Connect(host='localhost',user='root',password='09106850351',database='servicereferralhub') # cursor = conn.cursor() # sql = "SELECT * FROM srhubapp_messengercategory;" # cursor.execute(sql) # result = cursor.fetchall() # category = [] # for row in result: # print(...
[ "root@servicereferralhub.com" ]
root@servicereferralhub.com
1e669b6532f391fd96c575d498dbd605b4b124e2
85204814e4f7ca5a098dfd89f1369ac2895c7376
/shootweb/migrations/0011_shoot_report_remark.py
c88efe2b5496c46d70ba866e84eed7eb1e834997
[]
no_license
dxysun/shoot
46db07654ed0dc6bc2801f951d8b932cb016bed6
ec3706b0d9a70a936142c059685d7e6eedf8be98
refs/heads/master
2021-06-17T01:43:44.658756
2021-01-19T14:30:39
2021-01-19T14:30:39
148,643,234
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# Generated by Django 2.0.3 on 2018-09-13 12:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shootweb', '0010_auto_20180913_1652'), ] operations = [ migrations.AddField( model_name='shoot_report', name='remark...
[ "1065707370@qq.com" ]
1065707370@qq.com
10b86bfd7a918c132f8c5cc33d92c300665a7bc2
8bea825dd15700da13459b86bc256985003012cc
/_auth/migrations/0001_initial.py
cd8c560114627ed16876c88d5d5c7fda62fc819a
[]
no_license
sugaryoleh/SMS
cf9bd317dc47348c2c9207f34f83d566576c08c6
a5c467bbc365ba25675f1a19145f2935ae3ae05b
refs/heads/master
2023-04-30T14:26:55.541850
2021-05-11T20:32:00
2021-05-11T20:32:00
364,372,715
0
0
null
null
null
null
UTF-8
Python
false
false
3,267
py
# Generated by Django 3.1.7 on 2021-05-04 20:57 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('aut...
[ "suagryoleh@gmail.com" ]
suagryoleh@gmail.com
811a892344c92419be7dc0fac87fea2ce3ec3b2f
1dd77b8f6bbf2177474318cf99adf63161647230
/EQM/Login/migrations/0003_addamc_addemployee_addmachines_changeallocation.py
9e11936f5c7566e57e06413500e237549f31da02
[]
no_license
karthikeyansundaram2/Equipment-Quality-Management
a61b0d9097817e5f87a940bf237f33f81872409c
9c3306994ea902f3e980d84bddb271a3be684943
refs/heads/master
2022-01-27T09:27:52.985362
2019-06-01T16:04:05
2019-06-01T16:04:05
189,751,747
0
0
null
null
null
null
UTF-8
Python
false
false
3,942
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-08-21 13:56 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Login', '0002_auto_20170821_1551'), ] operations = [ migration...
[ "noreply@github.com" ]
noreply@github.com
0cd098a4603b6d2036ad0a6e82a67fad912ae911
bd40df660eda9536089aaf9b75c600f246154c6b
/Day03/Part1/main.py
8063855f356562476415f317d04baa20cf9c4b68
[]
no_license
superjodash/advent2019
0543ac5ed842ce478f4ce44e5f343ab8812d9e15
9675cb4038a08aed4835c78713326929b83374e6
refs/heads/master
2020-12-14T02:56:10.225248
2020-02-12T05:54:39
2020-02-12T05:54:39
234,613,875
0
0
null
null
null
null
UTF-8
Python
false
false
3,591
py
mat = [] dim = 25000 center = [int(dim / 2), int(dim / 2)] file = "Day03/input" def main(): global mat wires = load_file() wnum = 1 mat = [0 for x in range(dim * dim)] for wire in wires: plot(wire, wnum) wnum *= 2 points = mat_filter() closest = get_closest_p...
[ "superjodash@John-Kemps-iMac.local" ]
superjodash@John-Kemps-iMac.local
6452d0589118de8ab593f2aad24a38286548968c
a3e963d6eab6a2ff88f134b490fc6a292c024986
/013.py
90daad496e5d7044b632ffee1140c516d828ead9
[ "Apache-2.0" ]
permissive
xindervella/project-euler
39f78276c40017d116205f55dd30a02b2e29942d
bda0e24e8a249c6f906b1789cd39134121fa91be
refs/heads/master
2021-01-10T01:01:11.907371
2014-09-14T13:28:40
2014-09-14T13:28:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,209
py
#!/usr/bin/env python # -*- coding: utf-8 -*- s = """\ 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 892616706...
[ "xindervella@gmail.com" ]
xindervella@gmail.com
2616590c5eadd354a64b050865b6ff794da49065
50885a8966c8427ce396317429aa120a936c6a52
/python/core/chapter_3/smtp.py
a1d36f98a33b53d7790a07a7b79f2b472a98cb2b
[]
no_license
linuxlsx/dev
16f6d0ad8f31c3be816e0a68aeed0c8753dd76d5
c132b22577158420cbec75ed5f2b9db26b956667
refs/heads/master
2020-04-09T15:30:41.866376
2017-12-26T03:38:28
2017-12-26T03:38:28
6,517,604
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
#-*- coding:utf-8 -*- import smtplib def prompt(prompt): return raw_input(prompt).strip() fromaddr = prompt("From: ") toaddr = prompt("To: ").split() print "Enter message, end with ^Z(windows): " msg = ("From: %s\r\nTo: %s\r\n\r\n" % (fromaddr, ", ".join(toaddr))) while True: try: line = raw_input...
[ "linuxlsx@gmail.com" ]
linuxlsx@gmail.com
8848a2025763c8c406ee3f306ba82e82e8db0a70
bf12e13c0ab5ccf2fc32509b02aaae6b6a2e3327
/examples/hello_rect.py
9f1bcbed6deb09a08632a4cee248572761d502d9
[ "MIT", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
HighCWu/tpythonpp
42b56c9eb3c77192cbda36f0e198707bb858fe38
f1c15e1101993e4c9c7529739823b47759ea13f7
refs/heads/master
2023-06-30T16:17:09.409107
2021-03-19T04:16:12
2021-03-19T04:16:12
391,806,131
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
def test(): print('hello world') r = rect(0,0, 320, 240) print(r) print(r.x) print(r.y) print(r.width) print(r.height) r.x = 2 print(r.x) r.y += 0.1 print(r.y) area = r.get_area() print(area) test()
[ "goatman.py@gmail.com" ]
goatman.py@gmail.com
79e82a9736205ebba06486b564cb8925c6d74af9
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/torch/_utils.py
55f737a5974002ee337bfdaf7d920c2472a0fe84
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:03a04fffa1996df6bcab4d2bf79566d0e6b7d661fe5e37b292b5a766d648edfa size 19786
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
790c843f9ecf6ba2be8f9d8db06c77d6f0aa86a5
52040cacc85b3fe470064093844ae0f36de3f3d3
/src/build_nucleus.py
1e3a9969c504ee1d6a821a6da90c70e862a0209d
[]
no_license
knielbo/dotxin
baa14186ed6780326897aca8ff75c237b4ecfeb3
7b7d5efc7009f33a5cec26e4d8d09296d7263789
refs/heads/master
2020-05-25T16:10:16.829780
2019-05-23T11:57:42
2019-05-23T11:57:42
187,881,414
1
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
import os import pickle from scipy import spatial import numpy as np import pandas as pd from build_dat import build_dat def nmax_idx(l, n=1): """ indices for n largest values """ return sorted(range(len(l)), key=lambda x: l[x])[-n:] def nmin_idx(l, n=1): """ indices for n smallest values """ ...
[ "knielbo@sdu.dk" ]
knielbo@sdu.dk
7ba1d723327bdcf4aef6f5d70f72674ce22431c7
5774101105b47d78adb7a57eefdfa21502bbd70c
/python 语法基础/d14_tkinter_python图形开发界面库/tkinter/3.button控件.py
82895d1a97556d89642d20d2a44eb01bb5377143
[]
no_license
zhlthunder/python-study
34d928f0ebbdcd5543ae0f41baaea955c92f5c56
0f25dd5105ba46791842d66babbe4c3a64819ee5
refs/heads/master
2023-01-12T18:39:47.184978
2018-10-07T23:48:04
2018-10-07T23:48:04
90,516,611
0
1
null
2022-12-26T19:46:22
2017-05-07T07:39:48
HTML
UTF-8
Python
false
false
615
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #author:zhl import tkinter def func(): print("zhl is good man") win=tkinter.Tk() win.title("zhl") win.geometry("400x400+200+0") ##text:定义按钮上显示的命名 ##command 定义点击按钮触发的函数 ##height,width: 设置按钮的宽高 button1=tkinter.Button(win,text="按钮",command=func,width=5,height=5) but...
[ "zhlthunder@163.com" ]
zhlthunder@163.com
6ffb8632509472b652e22b33c30636bcc6acbffb
a509b86c880a325881ce4638d98e0a675b8906e1
/BM.py
a3cbbafc79bc3360f401c8a6769dfc83c69aa33e
[]
no_license
V-Sai-Krishna/CS6370-Natural-Language-Processing
0e132b14fd295f0df71d11d7549715b6362d1ac8
dac215b72c991e64243ade5a847bffc4c8f69c1d
refs/heads/main
2023-08-14T23:52:08.884720
2021-09-11T13:22:34
2021-09-11T13:22:34
404,758,325
0
0
null
null
null
null
UTF-8
Python
false
false
9,881
py
from util import * from Process import Process from okapibm25 import bm from Evaluation import Evaluation class BM(): def __init__(self, args): self.args = args self.evaluator = Evaluation() def evaluateDataset(self,pchoice,bchoice,lsachoice): """ - preprocesses the queries an...
[ "noreply@github.com" ]
noreply@github.com
3537ab717502779be66add592bf5cff21cb46dca
322e3003cc14c9beb7aa47363ca3c2f6038b82d5
/lecture6/pyspark/basics.py
b7cd3c6d03c81beae10b26d0f9da81724997ec3c
[]
no_license
danielvachalek/MLOps
039a393c71a418383ea46338e2d415e7c3936b56
0746e0380b73d93b2f12a22df04a74de7daf18a0
refs/heads/master
2023-02-09T01:21:53.874657
2021-01-02T22:49:32
2021-01-02T22:49:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
# Databricks notebook source # MAGIC %md In Cmd 2, the AWS_ACCESS_KEY and AWS_SECRET_KEY variables are set and kept hidden. # COMMAND ---------- AWS_ACCESS_KEY = "AA" AWS_SECRET_KEY = "BB" # COMMAND ---------- sc._jsc.hadoopConfiguration().set("fs.s3n.awsAccessKeyId", AWS_ACCESS_KEY) sc._jsc.hadoopConfiguration().s...
[ "you@example.com" ]
you@example.com
90f7ab7711d5790e74f9518e25d8c39a79edafd8
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/simulation/server_commands/service_npc_commands.py
07e4d57abbcbb8550b95b267c098277d3e6c293a
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
2,830
py
from date_and_time import create_time_span from sims4.commands import CommandType import services import sims4.commands @sims4.commands.Command('service_npc.request_service', command_type=CommandType.Cheat) def request_service(service_npc_type:str, household_id=None, _connection=None): service_npc_tuning = serv...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
6a39b564fdd1127f5f8abde01880e80631dc68e8
402767378a71fd6b1e6983060efd02f832d5cc46
/Day (26)/Day_26_Demo_NLP.py
d021c6f8fe782d609c50888372e526d8bc4f4cd0
[]
no_license
sjain03/FSDP2019
e5f9e2163bff1c20f3c4ffd8e5f2f1e12b5bf6ad
6a066d21f74889597caa086f1c75dc261a9ba3bf
refs/heads/master
2020-06-16T07:00:52.225651
2019-07-21T11:58:05
2019-07-21T11:58:05
194,473,214
0
0
null
null
null
null
UTF-8
Python
false
false
6,358
py
# -*- coding: utf-8 -*- """ Created on Mon Sep 04 14:53:30 2017 @author: Forsk Technologies """ # Natural Language Processing # Importing the libraries import pandas as pd # Importing the dataset # Ignore double qoutes, use 3 dataset = pd.read_csv('Restaurant_Reviews.tsv', delimiter = '\t') # Cleaning the texts #...
[ "sjain4810@gmail.com" ]
sjain4810@gmail.com
99621e425b88a9345d08e45d8ce2641e8721e0f5
62dbf9059f97970b437ac1b1ffd4cd8bd8de5f61
/views/account/signout.py
e5774ac37d076000b46edcd6f2f4f0892bae93fb
[ "AFL-3.0" ]
permissive
Api2sem2021/5-ADS2020-2-equipe3
7bb1b4348483203c469ea23655ca292d62b19a50
12e3882b6446976aad0ef12cd06ed8c29d87416d
refs/heads/main
2023-08-03T03:26:41.676666
2020-12-16T19:12:02
2020-12-16T19:12:02
406,732,876
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# THIRD PARTY IMPORTS from flask import redirect from flask.helpers import url_for from flask.globals import session # LOCAL IMPORTS from ..utils import MethodViewWrapper from . import signin class Signout(MethodViewWrapper): """Rota para deslogar usuario""" def dispatch_request(self): ...
[ "64911189+maiconandsilva@users.noreply.github.com" ]
64911189+maiconandsilva@users.noreply.github.com
85a7deaf797f205351e96008cd6c01b4cf489ab4
106e00ed76e80436551b8039d5b70ab764213c8f
/read+.py
daefd1ff14e81be00f3dbde1c88df02d0f77892c
[]
no_license
neetukumari4858/file
c4a93cd4099c2ff96c6e922beeecfe3547fd81de
8ce36dfaa2f0bac86f778e08a985bde71640804e
refs/heads/main
2023-08-12T03:58:44.234825
2021-09-20T11:07:36
2021-09-20T11:07:36
408,409,002
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
f=open("read+.txt","r+") data=f.read() f.write("\nlaptop") print(data) f.close()
[ "noreply@github.com" ]
noreply@github.com
dc4b744d60103a0809bc305d89a4ed6f38b7f97e
85d80d7a4afdcc56db4e2ea25307b0ac75616bdf
/arduino_chat.py
0c5dd31d96ceff1646d31d7bcfc08c3643958067
[ "BSD-2-Clause" ]
permissive
lyriarte/polar-scanner
1b48ec2e39ec824eade3adb84b6ab59804d67ff8
53f5c4066f47dc3676d3f088ba82254660c37113
refs/heads/master
2022-03-08T01:01:40.561546
2022-02-26T22:59:18
2022-02-26T22:59:18
102,293,824
6
2
null
null
null
null
UTF-8
Python
false
false
733
py
#!/usr/bin/python import serial, sys if len(sys.argv) < 2: print "Usage:", sys.argv[0], "<device> <speed> [word]*" exit() device = sys.argv[1] speed = 9600 chatscript = [] if len(sys.argv) >= 3 : speed = int(sys.argv[2]) if len(sys.argv) > 3 : chatscript = sys.argv[3:] chatscript.append("") tty = serial.Serial...
[ "lyriarte@gmail.com" ]
lyriarte@gmail.com