blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
fc8513bcd2fc4bdbe5be8bd006d2a3eb9c1d4e7a
ee408614842a6d4dbb5b82e9c4561cf34eec71c9
/src/aircraft/__init__.py
e80708e9c427c76ecbd82fe6a61277c47d8a652d
[ "Apache-2.0" ]
permissive
relaxdiego/aircraft
ef0dd47d530f4abb4a4726111cc8f0d93f4b922a
ce9a6724fe33be38777991fbb1cd731e197fa468
refs/heads/main
2023-03-08T00:06:52.774568
2021-02-02T05:37:06
2021-02-02T05:37:06
290,408,644
10
1
NOASSERTION
2021-01-14T06:23:11
2020-08-26T05:56:16
HTML
UTF-8
Python
false
false
74
py
from pathlib import Path aircraft_dir = (Path(__file__) / '..').resolve()
[ "mmaglana@gmail.com" ]
mmaglana@gmail.com
d0aba133c2bad3cd37020cc5b219aec9266f66cb
6ad1893219a9d1d5c27169e6f91f5d31fee5ffc3
/mask/core/models.py
92159117d8653537f1b965ebdfa1e21162911b92
[]
no_license
kim-sardine/masksk
9435eb2c8043d46848f0385493d84eab1c850e08
fe3778416c0ce299599afd55dcc7c6446f0097f2
refs/heads/master
2021-01-25T23:53:41.425450
2020-03-06T14:52:21
2020-03-06T14:52:21
243,231,751
1
1
null
null
null
null
UTF-8
Python
false
false
222
py
from django.db import models class TimeStampedModel(models.Model): created_at = models.DateTimeField(auto_now_add=True) modified_at = models.DateTimeField(auto_now=True) class Meta: abstract = True
[ "kim.sardine@gmail.com" ]
kim.sardine@gmail.com
cafd5c16c162c4179abc6b57d73f99a8146788c0
c3e9af62e1ec41be65bd71de9bb5ee92d6610898
/site/frontend/views.py
af6759377d7e7db636ebed013e81188ce1366eba
[]
no_license
harendranathvegi9/WordAPI
304e3a52104ff836058fee7a8b457e72e99c71b0
afc07e070a3a88e064254c1382cc4a024518aa23
refs/heads/master
2020-05-25T03:56:40.087883
2012-07-30T14:10:02
2012-07-30T14:10:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,997
py
# Create your views here. from django.conf import settings from django.shortcuts import render_to_response from django.template import RequestContext from django.http import HttpResponseRedirect, HttpResponse from django.core.context_processors import csrf from frontend.forms import TagCloudForm, NewTopicForm import ur...
[ "jessy.cowansharp@gmail.com" ]
jessy.cowansharp@gmail.com
0734c7bf945a8af047b52bf4b0fbcfbccc3966d2
764832026510a666640e44d7245d623dca6fe615
/rtxs/test/test07.py
f8bccfa490b238585f981e0e1ceab9d5d9625ed1
[]
no_license
MrWJB/rtxs
58f2ec1f4918de19b046b2e994f2bd4ad68ac669
2f584566de9a5ddccbfaaeef7756ced4ecb2055a
refs/heads/master
2020-05-18T06:32:09.946064
2019-04-30T09:55:57
2019-04-30T09:55:57
184,236,330
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import types def fn(): print('fn函数 ....') if type(fn) == types.FunctionType: print('fn') if type(lambda x: x) == types.LambdaType: print('lambada') if True == isinstance([1, 2, 3, 4], (list, tuple)): print('true') d = dir(str) print(d) class MyOb...
[ "w1812121918@163.com" ]
w1812121918@163.com
15fd25a26fa289a42f588796f119d5c6787fa715
66e1a91de27cc744f8ca304a896020c141fe53b1
/ANALISIS_02_NOLASCO_VICTOR.py
96e6cac70ee08a2397c8b5e32943e16287944de3
[]
no_license
IvanNolasco/Emtech-DataScience
c1400a6c05f9b4292e94378fb7a9cc46fd1cee67
f5e1312ac83bb6c5c160161999523efb8b97723f
refs/heads/master
2022-12-16T12:25:46.269555
2020-09-28T05:24:04
2020-09-28T05:24:04
291,800,565
0
0
null
null
null
null
UTF-8
Python
false
false
4,871
py
# -*- coding: utf-8 -*- """ Created on Sat Sep 22 16:14:48 2020 @author: navi_ """ import csv """ read the registers from a csv file and save them in a list """ def get_registers(name): registers_list = [] csv_file = open(name, "r") registers = csv.reader(csv_file) for r in registers: ...
[ "noreply@github.com" ]
IvanNolasco.noreply@github.com
c6523cd948841c1d4cbe410e816285be9a41f696
fc90d2109094b025fc4432a1a0e4c5de35e61fbe
/blob.py
d1752bb280ed31112a9c7bc9587ccc157888eb67
[ "MIT" ]
permissive
mostafa-elhaiany/blobVolleyBallAi
969980b975f4be9fb7743dbe058a96c2c933816f
c25e6c042d262c7f6c48b8078a4f85b1f482a83c
refs/heads/master
2022-03-25T14:45:59.999535
2020-01-01T19:14:07
2020-01-01T19:14:07
231,140,026
0
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
import pygame import os BLOB_HEIGHT=100 BLOB_WIDTH=50 JUMP_HEIGHT=-12 BLOB_IMAGE = pygame.transform.scale( pygame.image.load( os.path.join( "imgs","blob.png" ) ), (BLOB_WIDTH,BLOB_HEIGHT) ) class Blob: def __init__(self,x,y): #the starting position of the bird self.x=x self.y=y se...
[ "mostafa_elhaiany@outlook.com" ]
mostafa_elhaiany@outlook.com
aa0e8b53bbfaa216e2bdbc1df1f0c69d6a3aa1b3
19d3e4e4293a72c09fb1cbcbe0c0d3738ec731d2
/seatsys/urls.py
e7b7731954d7d43d0050f70334783f7c40849954
[]
no_license
short-warm-tree/seatsys-web
84c868759e0b754c68a5e364c2e8617c7c2a5336
fdbc17c452abf547a8b20721d11663dc05a60db6
refs/heads/master
2021-08-19T21:44:55.582863
2017-11-27T10:39:44
2017-11-27T10:39:44
112,183,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
"""seatsys URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "1316808049@qq.com" ]
1316808049@qq.com
26d7d23d53d2a17339b7e69475a2df1e7e8c3e51
ec996a704d2a5d2d61f85139363673fc15cd0e60
/supervised_learning/tree_based_algos/tree_components/Attribute_Selector.py
07a31835248bf8e457655c3faad81ae2563c1c45
[]
no_license
fahimajabeen/machine_learning_algos
a5fab9504c2d11990021b0b87550bec294e6da53
9d7a2a0dafd4af901f1dcab1c56126aae4b2cc94
refs/heads/master
2020-09-12T06:01:22.107702
2017-03-30T09:31:35
2017-03-30T09:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,836
py
import numpy as np # SELECTORS class AttributeSelector: def __init__(self, attribute_selection_type="standard decision tree"): switcher = {"standard decision tree": decision_tree_selection, "subset decision": subset_selection_log2, "extremely random": extremely_random_selection, "random embedding": random_embedd...
[ "thadler@students.uni-mainz.de" ]
thadler@students.uni-mainz.de
c3ca578b0418e93c329ce76005072d20951ec379
204556c62e5cbe24372e9b0b9aef2c7ae6e4134b
/scripts/selenium-scripts/plugins/tablepress/import-tablepress-table.py
c8a3fa9327b99456e5fe84a24a89c086502dbc40
[]
no_license
Sher-Chowdhury/wordpress-codingbee
0f8cb0be25a2fecc64ef1fb5894dbaa52448c9a1
ab43c3c17f180c0359f555b3effd7ff2d9c7efea
refs/heads/master
2020-06-11T13:33:18.199925
2018-05-31T07:58:20
2018-05-31T07:58:20
75,656,023
1
2
null
null
null
null
UTF-8
Python
false
false
7,382
py
#! /usr/bin/env python3.6 # Script for codingbee upload a file (for tablepress) # 2017 July 03; # import-tablepress-table.py is dependend on selenium # pip3.6 install -U selenium # headless starting of program with xvfb-run python3.6 import-tablepress-table.py s ${wp_web_admin_username} ${wp_web_admin_user_password} ${...
[ "sher.chowdhury@gmail.com" ]
sher.chowdhury@gmail.com
d7a833d3cfc9b1389683b76c5f0ef9a016938987
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2017/09/wisc-gerrymandering-20170929/graphic_config.py
cb18764b6b447f7d4bc8090dc4075e9d99f838a3
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1F_HDqo1D2EwXiUx95wG4QPRAvhm3P76OP6aXyv8NYgY' USE_ASSETS = True # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
52ee52ca04897359b7e695a86c8052f993618c0d
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/messenger/proto/xmpp/jid.py
e203d8aed0708dffb0f2472e615a03256d991a33
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,022
py
# 2017.02.03 21:53:47 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/xmpp/jid.py import random import types import time from string import Template from ConnectionManager import connectionManager from ids_generators import SequenceIDGenerator from messenger import g_settings from messen...
[ "info@webium.sk" ]
info@webium.sk
bdf1aa3b5a08707dd5e6d26b04804af8a7f953ac
13e3a551b55a22c2f13578c991a266e744614c8f
/creditcalc.py
ad2dc30ca18cefd0b4c98f2e8f07b2f3011e69fc
[]
no_license
maahad767/LoanCalculatorJBA
03f84e3dca6c79e5565d16523a2c7f7fd743b0f5
a994ce4c889728a00bea9b5dd052b9942e251e41
refs/heads/main
2023-02-24T18:59:23.181599
2021-01-27T18:43:16
2021-01-27T18:43:16
333,525,803
0
0
null
null
null
null
UTF-8
Python
false
false
4,053
py
import math import argparse import sys def main(): parser = argparse.ArgumentParser() parser.add_argument("--type") parser.add_argument("--principal", type=int) parser.add_argument("--periods", type=int) parser.add_argument("--payment", type=int) parser.add_argument("--interest", type=float) ...
[ "maahad.767@gmail.com" ]
maahad.767@gmail.com
01e921e2f4bd8406bf223bcca01a9839984e5d37
35a3d1f85528092cc946582d16cbf46771f23fde
/app/views/home.py
0b145e55fa6c5ace58f9b358123a2eaeb3a2d4cb
[]
no_license
pharaoh1/project1_flask_AlgoSocial
d3127839486bd430cdaa357064dccc319dd8f73d
3d94d4a2bf97359758669a672e78ee61632ed5b7
refs/heads/master
2020-06-27T04:06:48.333370
2019-07-29T20:53:51
2019-07-29T20:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from flask import Blueprint, render_template home = Blueprint('home', __name__) @home.route('/') def home_page(): return render_template('home/index.html')
[ "odjaidri@gmail.com" ]
odjaidri@gmail.com
b86fd844493d0d98dd29f77bf980cdfea5869665
2b1411922cecd6e411f30ee9c53dce33c662b48c
/kookey/keyword_util/__init__.py
d0ab7b61df4e064505725798e9fe62304286ed40
[ "MIT" ]
permissive
dandyhug/kookey
86600cc4fbb133942957f31a049d355a2d80faa5
58ffb67e6d984e3067689277631be072beb8deb9
refs/heads/main
2023-02-27T15:54:33.970263
2021-02-05T04:54:49
2021-02-05T04:54:49
323,339,382
0
0
MIT
2020-12-21T13:08:38
2020-12-21T13:08:38
null
UTF-8
Python
false
false
136
py
#-*-coding:utf-8-*- from . import extracting from . import transform_data __all__ = [ 'extracting', 'transform_data' ]
[ "noreply@github.com" ]
dandyhug.noreply@github.com
5e2ecfb2d21e750bc72677ecf08441cef04b3493
a8540bde8540fb9e9059c1b8d9de3da150defb9b
/Greedy_Algorithms/week4/pa4.py
cb864f621b956688d8a6a4f420c05e5d1704818c
[]
no_license
yis11178/algorithm_specialization
87b9fcee4f592531c75e6715340a012f1f163fe0
d8919188c7e683a1917e593c3fd500ed94baddcc
refs/heads/main
2023-03-04T00:01:42.591514
2021-02-19T16:04:41
2021-02-19T16:04:41
306,656,373
3
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
import sys filename = sys.argv[1] item = [] value = {} lines = open(filename, 'r').readlines() total_weight, node_num = lines.pop(0).strip().split(' ') total_weight = int(total_weight) node_num = int(node_num) for line in lines: v, w = line.strip().split(' ') item += [[int(v), int(w)]] item = sorted(item, ke...
[ "song1178@outlook.com" ]
song1178@outlook.com
2a8c76867ed5f1f13d3c54432057daffe8a90d51
b858eb6e2a67f6c013e21a2a8a256a04775cc474
/LittleStation/LittleStation/urls.py
abf0836f48258ec0a541473c6905a7a46c720666
[]
no_license
windangle/xiaoyaoyu_test
5bc72a50fcefdc8f0d8e19b647bff037d69673e0
c53ee3e016ed8eea9782fc0173a4750604f83514
refs/heads/master
2020-04-14T07:49:52.882686
2019-06-22T15:49:23
2019-06-22T15:49:23
163,723,243
1
0
null
null
null
null
UTF-8
Python
false
false
755
py
"""LittleStation URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "green8237@sina.com" ]
green8237@sina.com
8e4103342cd535ca9b1f3df2e9e860b300062f5e
1a9c82a2d0f5e0f9b3bbc7fb81827745649d9286
/.pake/pkgdir/files/opt/nplayer/gen_freq.py
791255244173e2083f01c2de5a3d407279b2042d
[ "Unlicense" ]
permissive
kodo-pp/nplayer
7f5c9db84769c470c07525d0def95bee0c048001
ce0bfd44eca569f159b01e849ccf1f62e8a46cc9
refs/heads/master
2020-04-03T04:20:39.115155
2018-10-27T21:29:14
2018-10-27T21:33:06
155,011,263
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!/usr/bin/env python3 import sys def gen_freq(freq: float, duration: int): tmp = 0.0 pri = chr(32) sec = chr(126) for i in range(duration): if (tmp >= freq): tmp -= freq pri, sec = sec, pri tmp += 1.0 print(pri, end='') sys.stdout.flush() if __name...
[ "korzun.sas@mail.ru" ]
korzun.sas@mail.ru
9db96c6dbb62656d25dbde9c5f8ba667c8585fa8
3817a595bdf246996c1f3846860cea9a9154f1cc
/AltviaDogs/apps.py
6e7c68cfaf6935515b6abbaa873e7c0dd3d098b0
[]
no_license
shedwyn/AltviaDogs
99e83f217d891c5060d0b9a8f0997ea4ea2c5dc2
150078897d38c84ac3c492635ea777476e84b0d9
refs/heads/master
2021-01-24T00:32:32.176410
2018-08-24T20:01:47
2018-08-24T20:01:47
122,768,745
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
""" Designed and built by Erin 'Ernie' L. Fough. June 2018 (start) contact: shedwyn@gmail.com want to know when this was last updated? See README.md. """ from django.apps import AppConfig class AltviaDogsConfig(AppConfig): """Establish Link to Dog Manager (AltviaDogs) Application.""" name = 'AltviaDogs'
[ "shedwyn@gmail.com" ]
shedwyn@gmail.com
48afa2ed7bfc32040267b178f1deefe509eece2c
776125e755de00eecd90b9813022ae8491a75711
/artemis/experiments/experiments.py
bf0aa78fb62b8b59d5e1bcba51955aa1c79562b7
[ "BSD-2-Clause-Views" ]
permissive
nalyat/artemis
04c6d4b77e143f8f439dd4aefb519d9a1c5011e0
ad2871fae7d986bf10580eec27aee5b7315adad5
refs/heads/master
2022-04-10T04:45:28.753251
2019-04-17T03:18:57
2019-04-17T03:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,710
py
import atexit import inspect from collections import OrderedDict from contextlib import contextmanager from functools import partial from six import string_types from artemis.experiments.experiment_record import ExpStatusOptions, experiment_id_to_record_ids, load_experiment_record, \ get_all_record_ids, clear_expe...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
3237ab6423425e826e4c0dce1b58b0903429e23e
79b186222cc8ee6442522f4c5c3ebba4b835f4b4
/seqlib/sequence/wig_to_bed.py
965d72de0e1dba110e2f1c6073ead5c8b3fac72b
[]
no_license
sudmantlab/seqlib
2b669df20a862d84e348d6fea7a128ef64729d64
071a72f27cd0c160618404850f23b8666a8d74e2
refs/heads/master
2022-06-27T01:02:36.381101
2022-06-16T19:14:15
2022-06-16T19:14:15
148,357,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
import pdb #from bx.arrays.wiggle import WiggleReader #from bx import wiggle from bx.arrays import wiggle import gzip from fastahack import FastaHack import numpy as np import argparse #help(wig) class np_wiggle(object): def __init__(self, path, contig_len, gzipped=True): assert gzipped==True sel...
[ "psudmant@mit.edu" ]
psudmant@mit.edu
76dbaf4b89ba0644af07d6d0fb1df5416f4fe855
16631cf7cd4a70f2cd2750851649d3eff5e17724
/2015/day19/part1.py
20687aa134135898c045654106d8f4e7b87ac77d
[]
no_license
kynax/AdventOfCode
1dd609a3308d733f2dd7d4ea00508d2da73180b9
36a339241dd7a31ebe08a73e5efa599e5faeea1a
refs/heads/master
2022-12-21T13:32:52.591068
2022-12-16T22:41:30
2022-12-16T22:41:30
48,439,585
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import sys mol = 'CRnSiRnCaPTiMgYCaPTiRnFArSiThFArCaSiThSiThPBCaCaSiRnSiRnTiTiMgArPBCaPMgYPTiRnFArFArCaSiRnBPMgArPRnCaPTiRnFArCaSiThCaCaFArPBCaCaPTiTiRnFArCaSiRnSiAlYSiThRnFArArCaSiRnBFArCaCaSiRnSiThCaCaCaFYCaPTiBCaSiThCaSiThPMgArSiRnCaPBFYCaCaFArCaCaCaCaSiThCaSiRnPRnFArPBSiThPRnFArSiRnMgArCaFYFArCaSiRnSiAlArTiTiTiTiT...
[ "guilemay@gmail.com" ]
guilemay@gmail.com
bb0d79f69470ef24542249f66cf746e3291c6036
388fbc6aefc3e775d4ff62608b13bd7f39d5bfbb
/portfolio/views.py
22412c667c49ef470a26c405875ec0d6e6b3ba64
[]
no_license
Emceelamb/my-first-blog
a009e50b4522b97a2503713daddd76b861414dba
4ebeb5d680151d48d78a2916643ecc4742e316db
refs/heads/master
2021-01-10T17:13:07.402026
2017-06-08T18:06:32
2017-06-08T18:06:32
45,756,836
1
0
null
null
null
null
UTF-8
Python
false
false
4,386
py
from django.shortcuts import get_object_or_404, render from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.views import generic from django.utils import timezone from django.views.generic.detail import SingleObjectMixin ...
[ "marktranquilizerlam@gmail.com" ]
marktranquilizerlam@gmail.com
e9a0598050774aa2f0b9ca43558b64ba9e73826a
1aed86e8fa97b41b067f56d7f3da77530ccf4a30
/1. Fundamentals/Working_with_files/HowToReadAFile.py
d93910a22e85543c64adb4ebd5ef7c4b1b7e047d
[]
no_license
srinath-insiders/LC_Code
4cfb3d7cca03b011158c9eb32a84da8b1d60688f
ed629a3d0fac2b09df8a0e034b342db53b63aad9
refs/heads/master
2023-01-31T16:13:48.746691
2020-12-09T12:35:16
2020-12-09T12:35:16
269,814,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
handle = open(r"Working_with_files/test.txt", "r") # r specifies raw string handle = open("Working_with_files/test.txt") print('-------------------------------------------------------------------') print("Working_with_files/test.txt") # Working_with_files est.txt print('----------------------------------------...
[ "srinathrupa786@gmail.com" ]
srinathrupa786@gmail.com
3052ff6c5bebe06e20897ccb95c84816133356ad
786f83a53119bd54a5a70315288aa0c3d50da4f7
/targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_FUTURE_SEQUANA_PSA/prebuilt/export_binaries.py
054df24bc9e7adf800d69da8dd964c6a3f9f556f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
amitemkumar/mbedos_stm32f427vi
89c4e671ba71e8715939ccd4248d71c8c13cb332
c955e8b6e8b6c275ed55eda5893d9351d87b977b
refs/heads/mcu_427vi
2021-06-13T19:53:04.734969
2019-02-16T08:34:56
2019-02-16T08:34:56
171,031,088
1
2
Apache-2.0
2021-03-25T22:27:45
2019-02-16T17:28:15
C++
UTF-8
Python
false
false
1,423
py
# Copyright (c) 2017-2018 ARM Limited # # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
[ "anna.bridge@arm.com" ]
anna.bridge@arm.com
05840aa4bb5f46beffbb3ee38181d0853211e849
192694b81f47a73179d95576f30d61e245b98d37
/config.py
b41115adb98f5f1d3092bef70e248669408bc1eb
[ "MIT" ]
permissive
bgildson/evolux-challenge
316a3bcc796b0e2d15a3a0009549d0c87b19af60
77a41a987e3277221f650c9f1392aa240263a1fa
refs/heads/master
2022-12-07T23:32:51.718295
2020-08-27T13:39:11
2020-08-27T13:39:11
289,128,008
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
# -*- coding: utf-8 -*- import os class BaseConfig: DEBUG = False TESTING = False PROJECT_ROOT = os.path.abspath('.') SQLALCHEMY_DATABASE_URI = f'sqlite:///{os.path.join(PROJECT_ROOT, "db.sqlite")}' SQLALCHEMY_TRACK_MODIFICATIONS = False JWT_SECRET_KEY = os.urandom(32) JWT_IDENTITY_CLA...
[ "gildson13@hotmail.com" ]
gildson13@hotmail.com
40cd0133fffda179ad8ef75bd6a9a56ec432149a
ef281dbbb9a3fc50963fe8866b3dcb4a7fb367dc
/mavsdk/camera/__init__.py
e1235c57aec4ce565e05d69a914c901432a24826
[ "BSD-3-Clause" ]
permissive
appetito/MAVSDK-Python
eb1750c72ff51fde495b87284d7eba81a5c58981
3a44abce658c1df29bc41cb6b6c1ba523de6c606
refs/heads/master
2022-08-04T06:08:48.910589
2020-06-04T14:47:26
2020-06-04T14:47:26
269,318,265
0
0
BSD-3-Clause
2020-06-04T09:37:25
2020-06-04T09:37:25
null
UTF-8
Python
false
false
22
py
from .camera import *
[ "jonas.vautherin@gmail.com" ]
jonas.vautherin@gmail.com
28b51909fce616098f023543421f4ca330fda67a
592f614e193de6336819186e79ab61e2f7a5895f
/whp-novel/ScrapyNovel/whpScrapyMySql/xiaoshuo/xiaoshuo/pipelines.py
2b3572fadd0ecdb1f17763bee58184aa86f455cf
[]
no_license
15906626697/jinyongwang
85873860479dc9275e9bd09110b2f98abb8d1a0a
04c7914d13f3576bd95e870ca4c474e89fdaa9ea
refs/heads/master
2022-12-05T17:19:56.860690
2020-08-19T10:16:10
2020-08-19T10:16:10
291,937,506
0
0
null
null
null
null
UTF-8
Python
false
false
2,200
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import os import pymysql class XiaoshuoPipeline(object): # def process_item(self, item, spider): # # /home/taren...
[ "wanghaiping11111@126.com" ]
wanghaiping11111@126.com
15f8cd0d04070fe3d412a6539a5235a6a8ef6c98
da19363deecd93a73246aaea877ee6607daa6897
/xlsxwriter/test/worksheet/test_write_filter.py
bfe6d60fc98f85a51ac98245e67242f2736abce1
[]
no_license
UNPSJB/FarmaciaCrisol
119d2d22417c503d906409a47b9d5abfca1fc119
b2b1223c067a8f8f19019237cbf0e36a27a118a6
refs/heads/master
2021-01-15T22:29:11.943996
2016-02-05T14:30:28
2016-02-05T14:30:28
22,967,417
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...worksheet import Worksheet class TestWriteFilter(unittest.TestCase): ...
[ "lealuque.tw@gmail.com" ]
lealuque.tw@gmail.com
1c35de4f84d46d2c3defc2f8ec85426949e56c02
97e60d0ca572d0dc3fc80f8719cd57a707ab6069
/bias_account_report_v6/__openerp__.py
6349817b455c8fc304e48597e462c7badb0b10a8
[]
no_license
josepato/bias_trunk_v6
0c7c86493c88f015c049a139360478cabec7f698
b6ab6fc2ff3dc832f26effdba421bcc76d5cabac
refs/heads/master
2020-06-12T14:18:31.101513
2016-12-15T22:55:54
2016-12-15T22:55:54
75,803,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "josepato@hotmail.com" ]
josepato@hotmail.com
23bcdebc6312f35fb67216dff2380ccbe74890ab
68215f224dd76f8bf299c66c80cb4a0de1a05a20
/PythonTutorial/Advance/MetaClass/meta_class_example2.py
2e013f02ffac5c75fa0acaf6a410b099a0bd7425
[]
no_license
jhappye/Python-Study
3935e1d9ffead3afb1b39823a4114006094a6542
40a421980e9f56a97f6f7b9eb00bbf983ee12c5b
refs/heads/master
2023-08-30T17:36:26.313896
2021-11-16T09:53:39
2021-11-16T09:53:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# 常规方法创建 class Foo: pass # 常规方法创建 class Bar(Foo): attr = 100 x = Foo() print(x) # 动态创建,和上面等价 Bar = type('Bar', (Foo,), dict(attr=100)) x = Bar() print(x) print(type(x))
[ "516495459@qq.com" ]
516495459@qq.com
bb3101910dfcdb1c756c445f8336abcf701cb084
efb17a1babad43e01d03b8dd0dd90cfbcb96d36c
/user/migrations/0001_initial.py
5830200e29933994a37d6aaf6789dc90cbdf6233
[]
no_license
MagePY27/P27N41-LiJunjiang
b8a5ba3121333d9302d456049a32803027d5e390
83349c530ed6f5f1f157e296cb1ef45117336dd9
refs/heads/master
2021-05-21T07:50:59.639311
2020-04-08T07:11:31
2020-04-08T07:11:31
252,608,301
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
# Generated by Django 2.2 on 2020-04-02 09:39 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_...
[ "junjiang.li@vixtel.com" ]
junjiang.li@vixtel.com
e6d1d298f86003e0b62acb46993c5fb904431d27
a3ca54d68c6eb0d5e08cfd823e8e30897292871b
/tf_expression_name_coordination.py
6bf6b94cb1c3ad797bb9b0beb64889802742d284
[]
no_license
amitkgupta/tensorflow_lstm_rnn_example
9d010eafff22b49a626de13c19f5f048f83748ab
839aa71932fb3390d776430c346bcc49f166666b
refs/heads/master
2020-06-18T04:59:05.631192
2016-11-28T11:51:52
2016-11-28T11:51:52
74,947,891
2
2
null
null
null
null
UTF-8
Python
false
false
178
py
X_PLACEHOLDER_NAME = 'X' Y_PLACEHOLDER_NAME = 'y' ACCURACY_OPERATION_NAME = 'accuracy' PREDICTIONS_OPERATION_NAME = 'predictions' def feed_dict_key(name): return name + ':0'
[ "amitkgupta84@gmail.com" ]
amitkgupta84@gmail.com
fd3e9301c5ba2e5da7aa4a3b358ef5e67dbbfbf7
de7e98db5632e21c34cf75773b08f2877978f40b
/01-03/mywork/mywork/settings.py
9073de9ab9574a31f15cb496f851fa0394db7031
[]
no_license
rihid/praxis-rizal
28e510bbfcbbb1bddb3e7ee7d302d592f72269e9
ff18b002b9b71d1e4501e75aa391113f37630ee9
refs/heads/master
2023-08-12T04:34:17.883153
2021-10-15T10:15:31
2021-10-15T10:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,266
py
""" Django settings for mywork project. Generated by 'django-admin startproject' using Django 3.2.8. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "rizalhidayat006@gmail.com" ]
rizalhidayat006@gmail.com
da4b6c3b4e522faf2c72103355f486dea027b1dd
fab6bf541bde802dc88be1676a75924a823ed141
/free_business/business_app/views.py
de00d3583a18750e0557076fdce2346ed16213f6
[]
no_license
prasadch123/remote_repo5
46f9719c10c0405d186a00efbbe1cd5e7b155757
b173ce3a638f1c7848d7fab307b69eae44ada1f7
refs/heads/master
2023-08-30T00:26:26.790101
2021-10-25T05:54:58
2021-10-25T05:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from django.shortcuts import render def home(request): return render(request,'index.html') def about(request): return render(request,'about.html') def services(request): return render(request,'services.html') def projects(request): return render(request,'project.html') def blog(request): return...
[ "sureshchilakala907@gmail.com" ]
sureshchilakala907@gmail.com
07e8af6fb34efbf28fd13da8b7998358fa68674c
f9c2e53c48839fe5583f6da48e800eba793f83c8
/custom_components/hacs/repositories/integration.py
8470873279f13b52e25cd0fb77a631d30b168ab2
[]
no_license
Bobo2012/homeassistant-config
d6a5ebdd8de978d14a5d060ad77975280efdf95e
ee2567182e3ef250ee2a2e1a403fbc6f27057861
refs/heads/master
2020-08-21T20:04:53.531610
2019-10-18T22:59:54
2019-10-18T22:59:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,501
py
"""Class for integrations in HACS.""" import json from aiogithubapi import AIOGitHubException from homeassistant.loader import async_get_custom_components from .repository import HacsRepository, register_repository_class @register_repository_class class HacsIntegration(HacsRepository): """Integrations in HACS."""...
[ "arsaboo@gmx.com" ]
arsaboo@gmx.com
163515d89cdeeaefc6e9aa387cc60867d816a32d
d21ea40e0153efc39d991860d714536d15e4cede
/Assignments/Assignment.6/6.string_methods.py
15910f42317a12e3ad44bc9b3e8b3ed1ef6a3900
[]
no_license
diljasigurdar/dilja
2f7cbe721b7c5eec1ff6a9e6bec5ad351c940d93
ad7e935516ac941136cfb55c281515efb1331e99
refs/heads/master
2020-07-19T23:26:19.703603
2019-12-02T14:40:45
2019-12-02T14:40:45
206,531,030
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
name = input("Input a name: ") first, second = name.split(", ") firstUpper = first[0].upper() firstFinal = firstUpper + first[1:] second = second.upper() second = second[0] transformed = second + ". " + firstFinal print(transformed) #Given a name in the format #lastname, firstname #where there is exactly one co...
[ "diljas19@ru.is" ]
diljas19@ru.is
3b61c48280d79f38e5f0bebf600bbc6fb0bd10a8
01245f879c22722773c9671f7d67fb29509570a8
/sorting/mergeSort.py
59b0855acef483a2cc2711eb6531d8b714b1c28a
[]
no_license
vishnu1729/Data-Structures-and-Algorithms
9a64b746c305e5467e82277806539fd14c06b26c
884bdb80b7da0aba16e7b976b4255c31e2baec74
refs/heads/master
2021-01-17T20:25:23.928216
2016-08-12T17:23:22
2016-08-12T17:23:22
65,432,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
"""function definitions to perform merge sort on the given list. The merge function takes care of the actual sorting and merges the sublists. The mergeSort function takes care of the recursion mechanism used to sort the left and right halves of the given list""" """Author: Vishnu Muralidharan""" # function to ...
[ "noreply@github.com" ]
vishnu1729.noreply@github.com
149488d35576cf1a5937c6f95ae55ab3c88828d9
837d683ccf6aa08b0ad6d95f6af47fcc12b72da3
/pedersen_vss.py
586d0dff4ce73808e4596e669d77272e83f15f10
[]
no_license
froyobin/secretsharing
deef2cdb9be72ff51be339bfaae4822e351b8cf1
737f2aa074e0cb6f082916bd11afc658732777e1
refs/heads/master
2021-01-11T21:32:12.720629
2017-01-20T00:46:31
2017-01-20T00:46:31
78,798,569
2
0
null
null
null
null
UTF-8
Python
false
false
4,479
py
import argparse import shamir_secret_sharing from Crypto.Util import number #To make it simple, we give the f(X)=5+3x+8x^2 as params. It is easy to do # the test and write the code. p = int( "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF...
[ "froyo.bin@gmail.com" ]
froyo.bin@gmail.com
76a14a2500ada13704b7d69ed40d39c206497011
680db028bdfd570688e66009dd41a424b2395a6e
/Camelcase.py
51a76dd0a42b6afcae6e169004a153a3dac0257b
[]
no_license
vitcmaestro/player
46fcf3138a7ba98a3aadae60aebdd68efdd16c55
8b9b132ec5f3dfe22521daf6122431451db8d880
refs/heads/master
2020-04-15T16:43:53.944347
2019-01-20T05:00:31
2019-01-20T05:00:31
164,848,284
1
1
null
null
null
null
UTF-8
Python
false
false
205
py
str1 = input("") str2 ="" for i in range(len(str1)): if(i==0): str2 +=str1[i].upper() elif(str1[i-1].isspace()): str2 +=str1[i].upper() else: str2 +=str1[i] print(str2)
[ "noreply@github.com" ]
vitcmaestro.noreply@github.com
9eecf950e32834e1d489a7a26e3425a16a63882c
2d6e7d8be67b742c0f490e463fd003000a296cac
/084_LargestRectangleInHistogram.py
813b7481125fde7c16caf1542c7ae19d63de4274
[]
no_license
youthpasses/leetcode_python
67cf2ac431d2b4f5a76c244fd9d1d53249df052e
adf10610f62a8ccf3325da0be7bb678679c17341
refs/heads/master
2020-05-21T20:48:16.085775
2017-03-07T03:14:38
2017-03-07T03:14:38
60,440,146
4
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
# coding:utf-8 # @sinner # 16/11/12 ''' 84. Largest Rectangle in Histogram QuestionEditorial Solution My Submissions Total Accepted: 74768 Total Submissions: 294616 Difficulty: Hard Contributors: Admin Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the a...
[ "543496951@qq.com" ]
543496951@qq.com
eb3029183deb1f924976b6ac129e719ff9f517b5
b7735c91df8f2dcf98c4ee8ff493d9ccded9eed0
/tests/testEvaluation.py
5114b13859f9591b17277886e82820494862c015
[ "MIT" ]
permissive
innovimax/PPP-CAS
c943cf77d03ef10e9b8a8e9592de02f4c4fc8e5a
2211f523841cb3f5f215bbd3cb9a8d728433377a
refs/heads/master
2021-01-17T20:34:45.393081
2015-06-07T23:18:16
2015-06-07T23:18:16
34,901,307
1
0
null
2015-06-07T23:18:16
2015-05-01T12:11:46
Python
UTF-8
Python
false
false
11,865
py
from ppp_cas.evaluator import evaluate from unittest import TestCase from sympy import latex class TestEvaluation(TestCase): def procedure(self, testCases): for (expr, res) in testCases: string, latex = evaluate(expr) self.assertEqual(latex, res) def testNumeric(self): ...
[ "marc.chevalier@ens-lyon.org" ]
marc.chevalier@ens-lyon.org
32e1da53f66f709ec826c5e6e98b69f964055011
644bcdabf35261e07c2abed75986d70f736cb414
/python-project/Defis/Euler_44_Test.py
059d736f3c4546ec361ff33f1fc9b32183c5bd48
[]
no_license
matcianfa/playground-X1rXTswJ
f967ab2c2cf3905becafb6d77e89a31414d014de
67859b496e407200afb2b1d2b32bba5ed0fcc3f0
refs/heads/master
2023-04-03T11:56:15.878757
2023-03-24T15:52:37
2023-03-24T15:52:37
122,226,979
5
20
null
null
null
null
UTF-8
Python
false
false
1,110
py
#Ne pas oublier de changer le module à importer module="Defis/Euler_44" import sys import io #On récupère les données de l'utilisateur sauvegarde_stdout=sys.stdout sys.stdout=io.StringIO() from Euler_44 import * count1 = sys.stdout.getvalue()[:-1] sys.stdout=sauvegarde_stdout from ma_bao import * #La réponse reponse...
[ "noreply@github.com" ]
matcianfa.noreply@github.com
1035cd4f79e839abd430b08c4521f85a763a89dc
606b41b4b828f2626f1665caf627fe69b96cf35c
/DialogWindow.py
e8d0a195fbd6d0724ec6b084855c35a40cf60708
[]
no_license
BigPigMoon/PiGRogue
18dd2ae965b4c6d79b19f9fe375cb32b3ec32044
9886df943ab409c3597dacfa5f26138a848bcad4
refs/heads/main
2023-01-01T12:36:02.580023
2020-10-25T14:12:12
2020-10-25T14:12:12
307,113,507
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from bearlibterminal import terminal class Dialog: def __init__(self, w, h): self.width = w self.height = h self.x = (100 - self.width) // 2 self.y = (50 - self.height) // 2 self.cursor = 0 self.max_cursor = 0 self.var_bool = False def draw(self): ...
[ "matvey.novikov02@gmail.com" ]
matvey.novikov02@gmail.com
8294fce530b848259f949592831c9de1c760dbad
14a913fce4b538b22f28409645cd6abe3455808f
/bigquery/cloud-client/natality_tutorial.py
5bfa8f1d27a9736075f271b77657e9342df6d688
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
iamLoi/Python-Random-Number-Generator
8da7dbd37cb13a01232c8ed49b9df35a99c63d73
7579e8b15130802aaf519979e475c6c75c403eda
refs/heads/master
2022-08-29T19:05:32.649931
2019-09-14T14:48:58
2019-09-14T14:48:58
208,454,877
2
1
Apache-2.0
2022-08-05T21:57:49
2019-09-14T14:51:05
Python
UTF-8
Python
false
false
2,926
py
#!/usr/bin/env python # Copyright 2018 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
[ "noreply@github.com" ]
iamLoi.noreply@github.com
fcdd844f805ea4a7bd79824935397e4ae355b4f3
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4052/354004052.py
c318eb1028c5e6c2d9a7772e6ec4c9f7cf7069da
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
453
py
from bots.botsconfig import * from records004052 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'AY', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'M10', MIN: 1, MAX: 1}, {ID: 'P4', MIN: 1, MAX: 20, LEVEL...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
9d88765ea7eec330cbc2de9f26a15007a06feb09
847019d811589241868766d0de68a20243783b03
/preprocess-test.py
e038b66f220683fb6eff57dd3616b4966055b302
[]
no_license
Nisarg6892/Handwritten-Image-Classification
0197c95e94aeacff2fa9a7f15fb801d383e70ab9
0898ac794b701c1fe44bee0285a1d405ad1bf4d7
refs/heads/master
2021-01-13T15:05:31.437367
2016-12-12T23:30:35
2016-12-12T23:30:35
76,304,554
0
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
import glob import random import numpy as np from scipy import ndimage from scipy import misc image_list = glob.glob("images/*.png") image_list.sort() total_images = len(image_list) # im_w = 3300 # im_h = 2548 im_w_resized = 128 im_h_resized = 128 print (total_images) def gen_pair_tensors(img1, img2): pair_tens...
[ "shah.nisarg6892@gmail.com" ]
shah.nisarg6892@gmail.com
1d3f54ac977af008d09cdee85fe12fe6c6d4e882
2d2719793ba074a489085f36bd34d2ca35585c9b
/screen goes black.py
1538a21fed6f5903ff38a372f62cbffda059fc51
[]
no_license
samjjc/blinkSaver
6c27b5dd7f131a9727f3c8fe21c632a76e730fd6
8d0484de1737142580eb3cc82c7e39ff262e67ae
refs/heads/master
2021-09-15T20:17:27.399481
2018-03-12T03:46:26
2018-03-12T03:46:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
import sys def blackscreen(): #Create function that will turn off screen input() if sys.platform.startswith('win'): #If system is Windows #imports from windows import win32gui import win32con from os import getpid, system from threading import Timer def force_...
[ "hoangxuanbui6572@gmail.com" ]
hoangxuanbui6572@gmail.com
4c93f47cd69318effc5cf74239c4b736aa398aa8
ca5bb7322d0286bb748f19b9d1b33102294ba664
/Javbus/Javbus/spiders/kyj344.py
8e89b45e539199ba581123338e388a315a482999
[]
no_license
yy0827-mengjiang/Javbus-Crawler
cd6d6c2a69c722a109813eb505bf90f4975a2281
3c8c2e571cfa1ca6e2cb8e45b93874a1ed92e78e
refs/heads/master
2020-04-16T17:12:56.132234
2019-01-10T16:18:34
2019-01-10T16:18:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,648
py
# -*- coding: utf-8 -*- import json import time import scrapy from scrapy.http import Request """ 快妖精App的视频以及视频信息抓取 """ class Kyj344SpiderItem(scrapy.Item): #视频id id = scrapy.Field() #标题 title = scrapy.Field() #封面 thumb = scrapy.Field() #视频 video = scrapy.Field() #喜欢 likes = s...
[ "ailoli2333@ll.edu.pl" ]
ailoli2333@ll.edu.pl
1d64d31f87fa693a3ba3032bee37ccf79b2bcf2e
a4fc636285a430295e14e383689d0bc43c908b23
/2019_08_Advanced/20190901_socket/2文件上传/客户端/客户端.py
b36e362d89401df9dc3b0021381f57a3bd77d8a1
[]
no_license
DenzelLee/python2019
649ac58f92ed99a7dd33f75d8f621ccca2b6aa59
1f62e0588bee6cd78ce394de0390845b40525903
refs/heads/master
2020-07-22T16:26:26.521032
2020-02-20T03:51:41
2020-02-20T03:51:41
207,260,219
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
# -*- coding: utf-8 -*- # __author__:lenovo # 2019/8/30 # 建立连接 import os, socket sk = socket.socket() sk.connect(("127.0.0.1", 13001)) # 定义文件格式 def post_file(sk_obj, file_path): """ 上传文件 :param sk_obj: socket 对象,有对象才可以发送和接受信息 :param file_path: 文件的路径 :return: """ # 发送文件大小 file_siz...
[ "270981551@qq.com" ]
270981551@qq.com
d95810328bbed890c7daf776a9675beedc3d8cd2
473568bf080e3637ee118b374f77e9f561286c6c
/SudoPlacementCourse/LeadersInAnArray.py
b2b997ace46a797ad0dd241ff7cd5667a35adba3
[]
no_license
VineetPrasadVerma/GeeksForGeeks
c2f7fc94b0a07ba146025ca8a786581dbf7154c8
fdb4e4a7e742c4d67015977e3fbd5d35b213534f
refs/heads/master
2020-06-02T11:23:11.421399
2020-01-07T16:51:18
2020-01-07T16:51:18
191,138,925
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
# n = int(input()) # # for k in range(n): # final_ans_list = [] # size_of_array = int(input()) # list_of_elements = input() # # int_list_of_elements = [int(i) for i in list_of_elements.split()] # # for i in range(len(int_list_of_elements)): # if i == len(int_list_of_elements) - 1: # ...
[ "vineetpd1996@gmail.com" ]
vineetpd1996@gmail.com
70cc80794d8d3cce57b85276aab3e6bcf025ae17
6cd5df1463a5a16308116668b4c01b344c67ccb8
/Homework_2.py
63ea08b195b35b3d0dfb28468a4b99f7f8c96496
[ "MIT" ]
permissive
andrewgakh/Lesson2
0f66ce619358748b90fefa0330cb80f170e4e1d4
41066ef24c1f3c2f915e5314980764a8555b4001
refs/heads/master
2021-05-19T06:57:59.581765
2020-03-31T12:56:02
2020-03-31T12:56:02
251,575,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,414
py
# Задача 1 # Вывести на экран циклом пять строк из нулей, причем каждая строка должна быть пронумерована. # for i in range(1,6): # print(i, '00000') # ********************************************************************************************** # Задача 2 # Пользователь в цикле вводит 10 цифр. Найти количество в...
[ "andreyg44@gmail.com" ]
andreyg44@gmail.com
4f101f2b48c6fb38fde432a8c8773d7fe7f0b72c
db0d5970cf10febfb1028393567143aedabdceb8
/capstone/capstoneapi/migrations/0001_initial.py
5964f14e0ae03f567e0704544208ea24b2a7fde8
[]
no_license
FORDBA/Final-Capstone-Server
b192dc63577128d1e4ad04f9e452b86833432164
9ac3745986dc3498aaab344d68cd647fa8205421
refs/heads/main
2023-02-15T21:43:32.037440
2021-01-08T19:24:09
2021-01-08T19:24:09
321,428,632
0
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
# Generated by Django 3.1.4 on 2021-01-08 18:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "bfordcpa@gmail.com" ]
bfordcpa@gmail.com
0618850a5db7746378ebd7c6d18fc84b9305a5e3
05324b134108e0e0fde392e0ae0fc22bfa1fb75f
/df_user/islogin.py
d2149c4633a4871adc7f90b232f8ccc8e25afcec
[]
no_license
2339379789/zhang_ttshop
2c8d546b9ed3710fd1f48d6075ea01955247d34f
44f9eb998182f4aa027d5d313b4957410b54a39d
refs/heads/master
2020-03-06T15:40:54.261769
2018-03-27T09:23:52
2018-03-27T09:23:52
126,960,140
2
1
null
null
null
null
UTF-8
Python
false
false
387
py
from django.http import HttpResponseRedirect def islogin(func): def login_fun(request, *args, **kwargs): if request.session.get('user_id'): return func(request, *args, **kwargs) else: red = HttpResponseRedirect('/user/login') red.set_cookie('url', reque...
[ "2339379789@qq.com.com" ]
2339379789@qq.com.com
11621d00b4d604049ce1d4b556534676a14e2c4b
b37a2b86cb49684ef77ec5a729de6e5a96bf2baa
/api.py
4acd175792d8cdba36fe11b0b1cb2e91cbe85d08
[]
no_license
dibyanshu12/face-recognition
a259960063f270756dfee0adc5aa5ef57d83c38d
1e3cfac3cd1593db13c0cf28c4684c227e7b0baf
refs/heads/main
2023-04-25T02:14:28.219110
2021-05-16T19:11:25
2021-05-16T19:11:25
367,952,289
0
0
null
null
null
null
UTF-8
Python
false
false
4,161
py
# -*- coding: utf-8 -*- """ Created on Sun May 16 23:16:14 2021 @author: dibya """ from flask import Flask, jsonify, request from flask_restful import Api, Resource from pymongo import MongoClient import bcrypt import numpy import tensorflow as tf import requests import subprocess import json import p...
[ "noreply@github.com" ]
dibyanshu12.noreply@github.com
c3b06571705e3d42ea421dbcc6cb94538267f247
078533ce919371451564646e3c311c8dd6fca7ea
/app/settings/prod.py
1425b25dbaa062e89c3c39a5947da1224923cd03
[]
no_license
cr8ivecodesmith/djdraft
cf5415a967dc7fc6f4f8d191def9c2b687c0d744
364ded3ea43acc874de367cd679c4bddfb64d837
refs/heads/master
2020-04-05T23:07:20.690873
2016-10-06T05:11:29
2016-10-06T05:11:29
23,010,461
2
1
null
2016-10-03T13:42:04
2014-08-16T04:17:23
Python
UTF-8
Python
false
false
1,558
py
from .base import * DEBUG = False ALLOWED_HOSTS = [ '{{ project_name }}.dev', ] ###### APP CONFIGURATION # See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps INSTALLED_APPS += [ ] ###### DATABASE CONFIGURATION # https://docs.djangoproject.com/en/dev/ref/settings/#databases DATABASES = {...
[ "matt@lebrun.org" ]
matt@lebrun.org
585c1f38e68fa896e9f1b91523d7cde15f833d05
544fe02a27cc4d987724b1bf45c2ba2994676521
/Q6.3_brain_teasers.py
c42fb93923fdbb832381c85a4fbe252f28b128c3
[ "Unlicense" ]
permissive
latika18/learning
1e7a6dbdea399b845970317dc62089911a13df1c
a57c9aacc0157bf7c318f46c1e7c4971d1d55aea
refs/heads/master
2021-06-16T19:20:28.146547
2019-09-03T06:43:28
2019-09-03T06:43:28
115,537,386
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#You have a five quart jug and a three quart jug, and an unlimited supply of water (but no measuring cups). How would you come up with exactly four quarts of water? #NOTE: The jugs are oddly shaped, such that filling up exactly ‘half’ of the jug would be impossible. _ ___________________________________________________...
[ "noreply@github.com" ]
latika18.noreply@github.com
786a044d698977dfd45eb5ab5cd4ec03824e21fa
b28a3771aad83f46184902e3b9ef47273b18b84a
/elejul.py
067788cdede3ad003c4dde4f84181e4ccc7b6cbe
[]
no_license
swathinukala/pythoncodes
6ce63e7aadc304df31fe82178acdbd80302bb5b4
a71481d6e78d3f3710e91bbd52710bd8e50a7f05
refs/heads/master
2020-03-22T23:12:12.490520
2018-07-13T04:09:52
2018-07-13T04:09:52
140,795,447
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# Python Directory # import os # from os import * # mkdir('DummyDir') # mkdir('E:\\pythonkak\\DummyDir\\InDir') # rename('DummyDir','MyDir') # rmdir('MyDir') # chdir() # print(getcwd()) import csv from csv import * def writing(data,fileobj): csv_writer=writer(fileobj,delimiter=',') print(csv_writer) for i in dat...
[ "swathi.6584@gmail.com" ]
swathi.6584@gmail.com
6bf70e1bf011fa7a4aa4350fb88c201b9efe06c8
dc5a2f10d312069c2895053ca4a546c5010069a2
/Assignment2f.py
8a075e96204add9382e84188a7ba6010ee95eb45
[]
no_license
VijayYada/Assignment2
14deaa21f38243764196f38c3fb91260efdd329e
1ac89e2810843a08690bea2c733318f811978f94
refs/heads/master
2020-03-20T02:25:32.981722
2018-06-12T18:31:26
2018-06-12T18:31:26
137,112,519
0
2
null
2018-10-31T18:06:40
2018-06-12T18:30:55
Python
UTF-8
Python
false
false
70
py
name=("Tonny Strak") salary=int (1000000) print("%s,%d"%(name,salary))
[ "rishabhr605@gmail.com" ]
rishabhr605@gmail.com
6fc66953a4af207b919666545abe34b892f3e3e0
8d2b93b1ecbe90cd2b848442ca0f8d6268f102b4
/weather.py
dbf50dea8809b3bf75bf01e6680dc01ae653ed24
[]
no_license
WenQiangW/Weather
1d3efb535a5e04160b02bea2cc5e6a84b93313fe
cacedf9e239a97ad8ecc296b7bb614136700cacf
refs/heads/master
2021-01-01T15:26:13.849381
2017-07-18T15:42:54
2017-07-18T15:42:54
97,616,218
2
1
null
null
null
null
UTF-8
Python
false
false
4,215
py
from PyQt5.QtWidgets import * from PyQt5.QtCore import * from weather_ui import Ui_MainWindow import sys,time import urllib.request import gzip import json class mywindow(QMainWindow,Ui_MainWindow): def __init__(self): super(mywindow,self).__init__() self.setupUi(self) sel...
[ "wenqiang1208@126.com" ]
wenqiang1208@126.com
5a2b2ec5508970f8dfe45e339cc965b96a058dd1
50ace7c481762a690feee64bdd29f44f663c12da
/recipeBuilder/recipeBuilderApp/forms.py
92a330c93821bf3c04cec736641d25e370762731
[ "MIT" ]
permissive
Clemson-Software-Engineering/Recipe-Builder
5e883a936fdab5d13eee9b349c3eef6241f9a9cd
74577a3728a73885af60bd5a2d0a8697cb383b0a
refs/heads/main
2023-04-14T08:22:10.211535
2021-04-20T02:31:42
2021-04-20T02:31:42
331,667,839
0
0
null
2021-02-02T01:13:39
2021-01-21T15:21:02
null
UTF-8
Python
false
false
236
py
# forms.py from django.forms import modelformset_factory from .models import Ingredient, Recipe, UserSettings # A regular form, not a formset RecipeFormSet = modelformset_factory( Recipe, fields=("name", "ingredients"), extra= 1 )
[ "dcathapermal39@gmail.com" ]
dcathapermal39@gmail.com
92424c76b578d96e49388d373e478cf886d9d185
1e54cf3206e44fa4a49ab6701a4adc016f445036
/intake_notebook/notebook.py
7611848917cf970531ab359a2380ec3e0be2eb54
[]
no_license
uk-gov-mirror/informatics-lab.intake-notebook
36d6b0a86a42ee941c7701866e92af53ed202197
737045d83bd9d81e8b287a0f1086d7a99667a269
refs/heads/master
2022-03-23T20:41:36.784183
2019-12-04T16:35:38
2019-12-04T16:35:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
from papermill import iorw from papermill.iorw import load_notebook_node, write_ipynb, get_pretty_path, local_file_io_cwd import copy import nbformat import ast import json from papermill.iorw import load_notebook_node from collections import ChainMap from makefun import create_function import types from uuid impor...
[ "mor582@csiro.au" ]
mor582@csiro.au
5b003f23c1b35a2c73797215c600c719c0507525
25b1485e00f96de90253655dcad9edbf729c7f57
/emilabrahamdotcom/urls.py
e4334a50fd8116249297dec95de4fb2900e8c5ae
[]
no_license
emilabraham/emilabrahamdotcom
91eb89fbd673a4cdc3c180166d89694499bafe6e
0c79f7766049080d130731f13bc152b2225863c9
refs/heads/master
2021-01-10T20:51:29.161247
2014-04-14T17:29:23
2014-04-14T17:29:23
16,820,470
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
from django.conf.urls import patterns, include, url from django.conf import settings from django.conf.urls.static import static from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'emilabr...
[ "honestemu@workhorse.resnet.neu.edu" ]
honestemu@workhorse.resnet.neu.edu
88ce9e52637ad879196406540c97898debdc5127
0d1e284900c6a934883dc739ff6ec5a038362b52
/lesson6/mul_satus.py
374ab16a6f6408f7bd063d830cd2f7da83394a60
[]
no_license
Devin1016/Python3_learn
50bf913274887be1553158bc662db1a3c547c077
137094ca98e85da5c8642e9d9f4b13ed0a3be327
refs/heads/master
2020-03-16T02:53:34.799671
2018-05-22T07:56:04
2018-05-22T07:56:04
132,475,212
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
class Animal: def eat(self): print('animal吃饭') class Dog(Animal): def eat(self): print('dog吃饭') class Cat(Animal): def eat(self): print('cat吃饭') def show_eat(obj): obj.eat() wangcai = Dog() show_eat(wangcai) tom = Cat() show_eat(tom)
[ "frisell@vip.qq.com" ]
frisell@vip.qq.com
9a6b2c6928a16aabd37ec60009debf3929fa70cc
7c161cb836be36593c89a4dc4bceaed9830ded24
/kierros02/2.2 Onko tylsää virhetarkastelu.py
f515113e1b9d021474a1a51c35162629a41b4900
[]
no_license
laurila2/tie-02101-ohjelmointi-1
7cb8f191c3e5a15109dd2802daaeb5596bee9ab0
7a97b224566dd275615e859d8e526e00aafdfda9
refs/heads/main
2023-07-20T05:28:25.236029
2021-07-19T15:18:25
2021-07-19T15:18:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
found = False while not found: d1 = input('Please answer with Yes or No.\n') if d1.lower() in ('yes', 'no'): found = False else: print("Mmmm") print("Good, let's begin.")
[ "santeri.laurila@tuni.fi" ]
santeri.laurila@tuni.fi
0af0e6aeb4bf93bb5c2c00acba6daf1feb4788c2
0566cf76b456518875edecece15e763a36a4795f
/scrapers/tv_showsonline_com.py
6208f8a041fec633df9bb9e2989a3db26e001ce2
[]
no_license
theclonedude/Scraping_BeautifulSoup_phantomjs
684b1f7a993e0d2555daa7a5455cf19bd29b0b1b
faf653feae46c21a72d13b2123cdebdb2f7c05d8
refs/heads/master
2023-03-16T19:36:14.867361
2018-06-14T14:21:02
2018-06-14T14:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
from sandcrawler.scraper import ScraperBase from sandcrawler.scraper import SimpleScraperBase class TvShowsOnline(SimpleScraperBase): BASE_URL = 'http://www.7stream.pro/' OTHER_URLS = ['http://tv-showsonline.com', ] def setup(self): self.register_scraper_type(ScraperBase.SCRAPER_TYPE_OSP) ...
[ "stryokka@gmail.com" ]
stryokka@gmail.com
3972d6d7840538ecae880e9e1fda6b25c54b8bb0
db12b990924703cd74748d8585cd9c11fafa6746
/h2o-py/tests/testdir_apis/H2O_Module/pyunit_h2oas_list.py
3e7ec87a09dad726385a034be07e5ed147db3d49
[ "Apache-2.0" ]
permissive
h2oai/h2o-3
919019a8f297eec676011a9cfd2cc2d97891ce14
d817ab90c8c47f6787604a0b9639b66234158228
refs/heads/master
2023-08-17T18:50:17.732191
2023-08-17T16:44:42
2023-08-17T16:44:42
17,371,412
6,872
2,345
Apache-2.0
2023-09-14T18:05:40
2014-03-03T16:08:07
Jupyter Notebook
UTF-8
Python
false
false
727
py
import sys sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o from h2o.utils.typechecks import assert_is_type def h2oas_list(): """ Python API test: h2o.as_list(data, use_pandas=True, header=True) Copied from pyunit_frame_as_list.py """ iris = h2o.import_file(path=pyunit_utils...
[ "noreply@github.com" ]
h2oai.noreply@github.com
f8c111790eeefdd36e601c1c61f5fd1f0a9123c5
161fa261303342543f22a9dfe007ce0dab662606
/build/navigation/move_base/catkin_generated/pkg.develspace.context.pc.py
c3b777b442116201dba58b31123991e303c500de
[]
no_license
HaoYejia/MyCar
81fac51ccecfcd5b86dbabbc63d33053c1632618
b7b20e6cafeb6a7312e876ff9ad59f72118e364e
refs/heads/master
2020-06-24T01:11:36.119110
2019-07-25T10:02:12
2019-07-25T10:02:12
198,803,669
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/tianbot/tianbot_ws/devel/include".split(';') if "/home/tianbot/tianbot_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "dynamic_reconfigure;geometry_msgs;move_base_msgs;nav_msgs;roscpp"....
[ "haoyejia@outlook.com" ]
haoyejia@outlook.com
6c917b754065175b7d636faebe063cfe3303aaea
3a34bdc6357ed214a094616cbc1a1d7fb261558c
/fashionai/ipynb/Hansoluo/ssd_fashion_crop/ssd_utils.py
56f36b37a064bea0243d7c22a8418ff9d93d8c83
[]
no_license
quuhua911/AiCompetitions
9c198f056940f7d5474e8dc5227e3a7b8fa42086
8ffa49f9fd803c51de933dd87ca434860479ef5c
refs/heads/master
2020-05-24T08:30:23.105733
2018-12-04T13:06:06
2018-12-04T13:06:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,538
py
"""Some utils for SSD.""" import numpy as np import tensorflow as tf class BBoxUtility(object): """Utility class to do some stuff with bounding boxes and priors. # Arguments num_classes: Number of classes including background. priors: Priors and variances, numpy tensor of shape (num_priors, ...
[ "yzhjsw520@gmail.com" ]
yzhjsw520@gmail.com
618a4e2853e81450bfcb9a86a09ddda21551527e
441edaba5de550f619f8824dfbb9c810c148f25b
/scmapp/apps.py
0b9d09d8f1544a77678efb97f4a5213b942686dd
[]
no_license
afna34/Build-from-home
d9ff13c20e8c32d2b0bab09480a5bcd00860e956
00b009db2ff44906e3a6714d1358516383a518f2
refs/heads/master
2023-05-10T04:30:48.587921
2021-05-26T09:14:54
2021-05-26T09:14:54
367,935,966
2
2
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class ScmappConfig(AppConfig): name = 'scmapp'
[ "khadeejaminha2002@gmail.com" ]
khadeejaminha2002@gmail.com
8fc5714e3bfbcae42b26834c59820779965d48e7
668a438a8a2c776da4fdcd94aa21049a40ec2a5b
/zinstance/bin/postrelease
589f132bf222c3844e39288579b401681a89e417
[]
no_license
nilbacardit26/plone_prova
d1bc2767e854e4d84fb3a67b0074a93b601e6552
a90ae42820092cdbdf11b06dc4c4d59f5ce27ae1
refs/heads/master
2020-06-10T17:38:23.256021
2016-12-10T20:05:30
2016-12-10T20:05:30
75,927,006
0
0
null
null
null
null
UTF-8
Python
false
false
918
#!/home/nil/plone_prova/zinstance/bin/python2.7 import sys sys.path[0:0] = [ '/home/nil/plone_prova/buildout-cache/eggs/zest.releaser-6.6.4-py2.7.egg', '/home/nil/plone_prova/buildout-cache/eggs/zest.pocompile-1.4-py2.7.egg', '/home/nil/plone_prova/buildout-cache/eggs/python_gettext-3.0-py2.7.egg', '/home/nil/...
[ "n.bacardit@iskra.cat" ]
n.bacardit@iskra.cat
e2e7d5b9b92f7a0b1b6801b43db9c95bca9229f0
1d159ff6d4d72b1a2399916ec1e28ef885b59323
/solutions/module_3/01_guess_my_number.py
4b9c9b119b0c1c64362318c3850d074b0c21f484
[]
no_license
Zerl1990/python_essentials
4e329b6e36b36ff340d505b26608d2b244ad2d09
ce257c25072debed9717960591e39c586edd7110
refs/heads/master
2023-02-28T17:42:17.465769
2021-02-02T23:39:41
2021-02-02T23:39:41
297,385,479
0
1
null
null
null
null
UTF-8
Python
false
false
884
py
import random print(( "+=========================================+\n" "| Guess my number! |\n" "| Please, select a numbers between [0-100]|\n" "| Let's start you have 10 opportunities |\n" "+=========================================+\n" )) my_number = random.randint(0, 100...
[ "luis.m.rivas@oracle.com" ]
luis.m.rivas@oracle.com
7f284a6ba903225c6ca426be8bc3c1b5a94fbdcf
69b8fb9728e47948250973328b40ec1e7798a012
/fu/single/test/PhiRTL_test.py
e3261ecb15904f54b88baf7df74a85af7a2f3831
[ "BSD-3-Clause" ]
permissive
zhang-xun/OpenCGRA
d6b824f506695109facc1f03cc8cdfb1eff1a52b
8a00db3b51994e5706c6129c02fbdbe2a974ad9b
refs/heads/master
2022-12-03T22:59:14.480555
2020-08-25T00:41:02
2020-08-25T00:41:02
292,053,726
3
1
null
2020-09-01T16:44:02
2020-09-01T16:44:01
null
UTF-8
Python
false
false
2,897
py
""" ========================================================================== PhiRTL_test.py ========================================================================== Test cases for functional unit Phi. Author : Cheng Tan Date : November 27, 2019 """ from pymtl3 import * from pymtl3.stdlib....
[ "tancheng1990@gmail.com" ]
tancheng1990@gmail.com
b9720250993fe5fd5941bb120072aec0ddec2e1b
52802cd3c6744f8162e7f3a053a5e6d6c5a6e9e9
/forum/migrations/0008_delete_answer.py
dc86d19af9d1d13979a78bb8ef5564a4016d4b96
[]
no_license
marcos-P-R/web_forum_django
22d273a378a000adec72ded277827965cdf0f40f
541d9881c36e2a94e6d2e600430dc05662b969e4
refs/heads/main
2023-04-01T21:12:08.561232
2021-04-12T22:42:46
2021-04-12T22:42:46
356,742,210
0
0
null
2021-04-12T23:24:04
2021-04-11T01:50:23
Python
UTF-8
Python
false
false
279
py
# Generated by Django 3.2 on 2021-04-12 18:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('forum', '0007_answer'), ] operations = [ migrations.DeleteModel( name='Answer', ), ]
[ "marcos.p.mcruz@outlook.com" ]
marcos.p.mcruz@outlook.com
ff44d5d6e8557668d19ff1114b8ff88d52bf0cdb
6f45d929ce0aa0749c38ded68bfe3fbae79a37b7
/indentity.py
3b9ffa2c5918fb226b9392ccaaa6c6869612363c
[]
no_license
saquibfortuity/python_github
4c8975209e97e3b55afb4bdfdce11f0ad6cdadce
883c54b69ac265628daf3a5862e05ec6f9b0dac6
refs/heads/master
2023-04-17T02:14:40.998650
2020-12-07T20:45:08
2020-12-07T20:45:08
308,374,078
0
1
null
2021-04-30T20:24:23
2020-10-29T15:41:26
Python
UTF-8
Python
false
false
124
py
x = 10 y = 20 print(x is y) list1 = [10, 20, 30] list2 = [10, 20, 30] x = list1 print(x is list1) print(list1 is list2)
[ "saquibfortuitycorps@gmail.com" ]
saquibfortuitycorps@gmail.com
291d1999c28d03d41238113d8fc8be14dd5c62de
988a7505b7a976df6d5cbdeba1571bf8dcea1b69
/main.py
19aa5e1fa8898ce3d0c3ef8b2585dc48bc52d5e0
[]
no_license
aaronchall/arandabot
9b879be78c0689c3fa0fcecb026c5337b38491ac
4c595fb678113b64dab6c47081a5095d7ff8972c
refs/heads/master
2020-12-03T10:38:58.168537
2015-05-03T20:13:37
2015-05-03T20:13:37
34,998,941
0
0
null
2015-05-03T20:03:50
2015-05-03T20:03:50
null
UTF-8
Python
false
false
849
py
''' Created on 17 Mar 2015 @author: Damian Shaw [@notatallshaw] I would like to thank Aaron C Hall [@aaronchall] for fixing a very difficult to spot bug in calling the oauth modules that was stopping me from publishing ''' import arandabot import botsettings import time def main(): settings = botsettings.botse...
[ "damian.peter.shaw@gmail.com" ]
damian.peter.shaw@gmail.com
208faa3eca1c5f3283ff673fdf3772c5ee49cd88
016a3829d0996497ed1001e684d0d8311a466af1
/ROS/cpr_mover_ws/build/catkin_generated/order_packages.py
0e2bbe9681b100d5b2c15f803fb5ea18a70cc5a3
[]
no_license
robotArmProject/robotarm
a572fae93e0c1b2167d0bb6e00db98301bb79ac7
6e2f5549d8b01e2376d77c70f184bdfe1a301c96
refs/heads/master
2020-04-11T21:15:42.713963
2019-01-10T13:14:50
2019-01-10T13:14:50
162,099,937
1
0
null
null
null
null
UTF-8
Python
false
false
426
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/bobo/cpr_mover_ws/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/bobo/robot_pkg/devel;/home/bobo/catkin_ws/devel;/opt/ros/kine...
[ "johhki-4@student.ltu.se" ]
johhki-4@student.ltu.se
67ef90d72d34c5d2b83548c47e8342452a2fbd61
7a80c75041aa5d801b1f9a715d8a29c6dbdc101d
/restaurants.py
f9085387cdec5350d564b44b8a316f00f78f6100
[]
no_license
ggacusan10/finalTamuHack
54f5a42feea30eb511fc95eeabdd65c3769d83e4
29bee031a6eea519c7d7b7320d4dfe5f3b948a1e
refs/heads/master
2020-03-11T09:54:06.157721
2018-04-17T15:36:36
2018-04-17T15:36:36
129,926,026
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
import csv import random class restaurantData(): def __init__(self): self.city = [] self.restaurantName = [] self.outputRestaurants = [] with open("r.csv") as csvDataFile: csvReader = csv.reader(csvDataFile) for row in csvReader: se...
[ "noreply@github.com" ]
ggacusan10.noreply@github.com
f90c1c3ca57fdac5172a246df5732586c02d0583
d847738241d3f6accd94e6109053d8279bcc4580
/blog/models.py
4b90ea5e27f3323332cc5867f04c062675691de1
[]
no_license
MirasK/AdAstraX
cdea8a549843434ca258fe644d0cf2dc3b24b883
0488da031ad683c3e680c66314915613c531ed14
refs/heads/master
2023-01-02T00:13:52.126979
2020-10-07T10:57:07
2020-10-07T10:57:07
293,473,397
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse class Post(models.Model): content = models.TextField(max_length=1000) date_posted = models.DateTimeField(default=timezone.now) author = models.ForeignKey(User, on_dele...
[ "mirkrokok0@gmail.com" ]
mirkrokok0@gmail.com
133dcd4af2c3acaabfea4e7b5618fd6b6ee5b9af
b78ba543e1ad1cc39bf0349e6fd99df0448cb1c3
/poo_avancada/multipla.py
128719d25a7500849acb823f4fee749285153bc6
[]
no_license
Possebas/Python3
b78d27ae9287e185a91fa7d511cb20a06cfa0f28
9ec9ac0d88c797c9f7e3f506d695e6f83f4d172a
refs/heads/master
2022-12-15T17:02:49.517727
2020-01-06T22:07:33
2020-01-06T22:07:33
232,193,131
0
0
null
2022-04-22T22:56:43
2020-01-06T22:00:19
Python
UTF-8
Python
false
false
787
py
#!python class Animal: @property def capacidades(self): return ('dormir', 'comer', 'beber') class Homem(Animal): @property def capacidades(self): return super().capacidades + ('amar', 'falar', 'estudar') class Aranha(Animal): @property def capacidades(self): return su...
[ "gustavo.possebon@acad.pucrs.br" ]
gustavo.possebon@acad.pucrs.br
16d806ed7bb7721136f1534dbe98b1aaa13ec985
b15c47a45207e854fb002d69f7e33f8943a5e2b3
/cluster/preprocess/pre_node_merge_text2seq.py
c25a02debf845bcb7cf7835b41e46d424efd847a
[ "Apache-2.0" ]
permissive
yurimkoo/tensormsa
e1af71c00a6b2ec3b3ed35d5adad7bafc34c6fbe
6ad2fbc7384e4dbe7e3e63bdb44c8ce0387f4b7f
refs/heads/master
2021-07-22T13:41:45.110348
2017-11-02T07:13:31
2017-11-02T07:13:31
109,469,204
1
0
null
2017-11-04T05:19:51
2017-11-04T05:19:50
null
UTF-8
Python
false
false
2,165
py
from cluster.preprocess.pre_node import PreProcessNode from master.workflow.preprocess.workflow_pre_merge import WorkFlowPreMerge as WFPreMerge class PreNodeMergeText2Seq(PreProcessNode): """ """ def run(self, conf_data): return True def _init_node_parm(self, key): """ :ret...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
a5c869904b387c9cd1683326f0988cd0ea2fc5cb
fd8c1b6e7ddbb9ba784056b24370a8c87690d597
/ex19.py
797ba569fdf3efaf354258199432357ce9c2d8dd
[]
no_license
andrv11/mappe
801362f6a1469ccc69e149a29b24b3c2c06acf6a
6e2569ffc1a766ec20d98c258f9fb6c369ae0af4
refs/heads/master
2021-01-02T09:38:55.535503
2013-11-29T11:14:57
2013-11-29T11:14:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
def cheese_and_crackers(cheese_count, boxes_of_crackers): print "You have %d cheeses!" % cheese_count print "You have %d boxes of crackers!" % boxes_of_crackers print "Man that's enough for a party!" print "Get a blanket.\n" print "We can just give the funcion numbers directly:...
[ "andreas_Vangstad@hotmail.com" ]
andreas_Vangstad@hotmail.com
c79d336c33025ee87041b0924dfe4af9287a02f3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03087/s875530520.py
c6f926255e87de91fe2fee869e4c531b1ffd87e1
[]
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
313
py
N, Q = map(int, input().split()) S = str(input()) li = [] cnt = 0 for i in range(N-1): if S[i]=='A' and S[i+1]=='C': cnt += 1 li.append(cnt) else: li.append(cnt) for i in range(Q): l, r = map(int, input().split()) if l > 1: ans = li[r-2] - li[l-2] else: ans = li[r-2] print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
343ba4734ba6ab5cea95195a3dc1e26ef1287308
07748bbd47ffd6790b95a4de08e3458ae4513609
/2016-12-02/workshop_08.py
06d5081e3b28513c75392415bfde4e286b71059a
[]
no_license
CarloLoffredo/ggpl
14639236222ed4b8374aeabf78556996a223dab2
c200d73f4e760f1b98cce7473f411be6a9b372f9
refs/heads/master
2021-05-04T09:04:21.844786
2017-01-13T08:44:46
2017-01-13T08:44:46
70,397,684
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
import csv import sys from pyplasm import * lines = [] line = [] A = [] B = [] f = open('theFinal.lines', 'rt') try: reader = csv.reader(f) for row in reader: for a in row: line.append(float(a)) lines.append(line) line = [] finally: f.close() scene = CUBOID([0.0001,0....
[ "carlettof@yahoo.it" ]
carlettof@yahoo.it
964309d35484479200e5d5e41a9147920efa0336
87e89fbc0b19b88d09cfc51b220c14ad6f2a61c2
/PCA-metric-inverted-file.py
8db4cc644c306a24a6617aaea76aaad1f6155635
[]
no_license
pranav-data/pca-metric-inverted-file
e7d463db612338119b50c6669d2179988aa76e8d
e33e167dfb14e1fe219b928c81c334c97b10c62f
refs/heads/master
2020-11-30T06:59:37.439528
2019-12-30T18:28:14
2019-12-30T18:28:14
230,340,483
0
0
null
null
null
null
UTF-8
Python
false
false
12,708
py
# %% codecell - Implementing PCA algorithm along the Principal component with highest explained variance #Nomenclature: object = row in dataset, reference = subset of objects to aid in querying from sklearn.decomposition import PCA import pandas as pd import numpy as np import random #Importing all objects as a Data...
[ "pranavkumar.iitm@gmail.com" ]
pranavkumar.iitm@gmail.com
ae3450610d3f4a3c4469aa2562e125c8a4c0108f
475e2fe71fecddfdc9e4610603b2d94005038e94
/Facebook/moveZeroes.py
f41fef3843fc872dc295c4699bbbe39783028f77
[]
no_license
sidhumeher/PyPractice
770473c699aab9e25ad1f8b7b7cd8ad05991d254
2938c14c2e285af8f02e2cfc7b400ee4f8d4bfe0
refs/heads/master
2021-06-28T20:44:50.328453
2020-12-15T00:51:39
2020-12-15T00:51:39
204,987,730
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
''' Created on Oct 8, 2020 @author: sidteegela ''' ''' Input: [0,1,0,3,12] Output: [1,3,12,0,0] Input: [0,0] Output: [0,0] ''' ''' A two-pointer approach could be helpful here. The idea would be to have one pointer for iterating the array and another pointer that just works on the non-zero elements of the array. ...
[ "sidhumeher@yahoo.co.in" ]
sidhumeher@yahoo.co.in
29a58c721ddca6fa8e48a59150ed2cfadac404b7
67af12743c42a8c63d7945665a2257aad9c6770a
/Practice/ridge_practice7.py
7fd7ce6f9037756ea5e696dbc4e7e87d6b09f89d
[]
no_license
JeremyNixon/algorithms
a24734f7788e35703ede19e509283486f56cd305
4345d44da0ccd929b09388d7e59200c4b697bab4
refs/heads/master
2021-01-21T11:45:06.053233
2016-03-19T15:43:42
2016-03-19T15:43:42
29,284,917
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
import numpy as np import pandas as pd file = "/Users/jeremynixon/Dropbox/python/Ultimate Frisbee/Indoor.csv" dataset = pd.read_csv(file) for_cluster = dataset[['Games','Goals','Assists','Ds','Turns','Drops']] for_cluster = np.array(for_cluster) def ridge_regression(x_train, y_train, lam): x_train = np.array(x_train...
[ "jnixon2@gmail.com" ]
jnixon2@gmail.com
4ae12ef960e4ef38070c413ed3f34ffc7f0246fc
96966e7b464bace59156af16a5696db5046f71c5
/emd_test.py
e2a05a694a8eb737c37f9a7ae453cf78cb8bf80a
[ "MIT" ]
permissive
narroyo1/sffnn
8b67e32fcbc6b1ee5549b4e1c8d23c4d8cdffeaa
a3d7d8dd7eec76c0dca3aa57e18844b30b75b3b1
refs/heads/master
2023-02-21T23:59:02.694591
2021-01-28T07:07:44
2021-01-28T07:07:44
281,561,876
5
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
""" This module contains class EMDTest. """ # pylint: disable=no-member import numpy as np import torch from scipy.optimize import linear_sum_assignment from scipy.spatial.distance import cdist from utils import to_tensor # The number of points in X to test for goal 1. EMD_TEST_POINTS = 50 # This constant specifi...
[ "nicolas.arroyo.duran@gmail.com" ]
nicolas.arroyo.duran@gmail.com
cc9defcc4d87c051ceb16afb8890e28ee99c6f64
ba1c248965d2ab0233c7143a684f23735a2d3f8a
/ispermutation_me.py
6c7ef1d51c6577592bfea21d38e388f5cce33def
[]
no_license
felicia9820/coding-interview-practice
717e2911cc57662ff2306f18bc87c70336e4c064
13e1166e3b22b6f4bae2db94909aa36a68694f11
refs/heads/main
2023-07-11T18:41:13.645721
2021-08-19T11:55:57
2021-08-19T11:55:57
397,925,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
from collections import Counter def ispermutation_set(str1, str2): if len(str1) != len(str2): return print(False) return print(set(str1) == set(str2)) def ispermutation_dictionary(str1, str2): if len(str1) != len(str2): return print(False) char_dict = {} for i in str1: ...
[ "feliciaroman2@gmail.com" ]
feliciaroman2@gmail.com
05775d40a355affc0d469888ee93da9447189954
c11675e62d0e7848b94e7f16cfec6d6dd8284dd8
/jtyd_spider_run.sh
6b63683cc85262a904e63e695d3919a2893bb70e
[ "MIT" ]
permissive
mylove1/jtyd_python_spider
2545e0847d85208b4db9e00539616e89416434e2
fb51263bd4698110c7c024ae7dc072ae17b4c499
refs/heads/master
2021-01-23T08:49:22.765310
2017-08-27T03:27:47
2017-08-27T03:27:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
sh
#!/usr/bin/python3.5 gunicorn -b :5000 -w 1 -t 120 jtyd_spider_run:app >> service.log 2>&1 & ps x | grep jtyd_spider_run | grep -v grep | cut -c 1-5 | xargs kill -9 nohup python -m celery worker -l INFO -c 5 -A apps.celery_init.celery -B & ps x | grep celery | grep -v grep | cut -c 1-5 | xargs kill -9 # 创建虚拟环境 vir...
[ "yaowu@pinkuaixian.com" ]
yaowu@pinkuaixian.com
2ae73fa529d6a5d8123828c55ea1d50f63660ebd
4a43cded9d76bd05ca87f037de19ff921a60e151
/13day/07-线程多任务.py
4669c5331f43b6623bc152dc6442a8ad57e8eec5
[]
no_license
lishuang1994/-1807
f7d54c3c93d41539747fc77529d56e73a931676f
23ee6d351a2797d3f5ba7907954d1a93d2745c10
refs/heads/master
2020-03-25T10:09:39.333264
2018-08-22T10:53:49
2018-08-22T10:53:49
143,685,206
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
import time from threading import Thread def saysorry(): print("亲爱的,跪安了") time.sleep(1) for i in range(5): #t = Threadinng(target=saysorry) #t.start() saysorry()
[ "840948928@qq.com" ]
840948928@qq.com
16d9d89ebcca3b9cacc288bb52734eaa661b3b36
00505eb872afdba28dfeed28cb18d66945cb884b
/recipes/migrations/0009_auto_20210116_0147.py
46748c242114d610b1ce47ca724fe109ad564ce4
[]
no_license
zmilens/IP_Recipe2
1f7e917e5424acdd5b84fd1230a4b5b283fea4b4
347ddf05ecf669ee558210ba9c6127977b34b5f7
refs/heads/main
2023-06-17T01:03:47.299523
2021-07-10T19:24:12
2021-07-10T19:24:12
330,760,635
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# Generated by Django 3.1.5 on 2021-01-15 22:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipes', '0008_author_level'), ] operations = [ migrations.AlterField( model_name='author', name='level', ...
[ "milenabariat@mail.ru" ]
milenabariat@mail.ru
56e7a6002a1b13179f7eeff237b55cbc56349463
ca2b93910a308b92712cd81ac12e7345ddb7c9d1
/r_venv/bin/chardetect
a7917fbfdbafa7afbe83d9a730a5833521b87b66
[]
no_license
KeksikProg/rrs_site
e90eb146573b4dfc8a3a7d082febb43e4f904e9e
41fcbbc052b89bf5d16604b5b6a6dc14ab74ad69
refs/heads/master
2023-06-27T03:59:36.984418
2021-01-02T21:31:40
2021-01-02T21:31:40
315,104,198
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/home/maxek/python/rrs_site/r_venv/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "fvvfvfvf.vfvfvfv@yandex.ru" ]
fvvfvfvf.vfvfvfv@yandex.ru
7ab04b9912bfcb7f3c4c7260ea3b26981e932f71
41960a07a8118cf99236972c1e94a36ef00c55c9
/fitbit/migrations/0001_initial.py
915c804a5900fdee34108fe73e35d0b7e5fb9dec
[ "MIT" ]
permissive
wahello/jvb
7288f3fc8099dbbdfa5cdac86b251d4d739f4dca
c87fdf49ae040668323d1a034aa407cfe23c4a1d
refs/heads/bug/aa_ranges/chart2
2022-11-29T12:58:37.561674
2019-06-17T10:50:17
2019-06-17T10:50:17
211,479,327
0
1
MIT
2022-11-19T02:54:15
2019-09-28T09:52:28
null
UTF-8
Python
false
false
943
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-03-09 06:37 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "dileepk@s7inc.co" ]
dileepk@s7inc.co
7dfd576a456d42e9a4d3c529f7a602b71519c6c3
8d5b75f128b4e8446576edd4a343d6ef7aa28fd8
/paper_scripts/annotate_variants/pam_pos_hg19.py
1362878d4659383b5266245d681a2e4763d2b768
[ "MIT" ]
permissive
allgenesconsidered/ExcisionFinder
878d071b40799e63bd24aee47520885bc49f6b71
a0b3cc5fc8d7302a746f00b8ef59d42f02ed7be5
refs/heads/master
2021-09-13T15:53:40.314930
2018-04-24T01:12:35
2018-04-24T01:12:35
120,040,975
0
0
null
2018-02-06T17:12:22
2018-02-02T23:07:01
Jupyter Notebook
UTF-8
Python
false
false
1,151
py
# get PAM positions for each chromosome in hg19 import crisprtools import numpy as np import sys from pyfaidx import Fasta # keep track of chromosome since this will be run with bash script chrom = sys.argv[1] # get access to hg19 hg19 = Fasta('/pollard/home/kathleen/ref_dat/ref_genomes/grch37/grch37.fa',as_raw=Tr...
[ "keoughkath@gmail.com" ]
keoughkath@gmail.com
e99d21889825736ba32a12fdaa4a2fadfcee31e4
50d8f7a805546edd768a245a544d3a362b674a73
/09.text_recognition/text_shot.py
bc5a4b3c11fcb2a89660d47d59deec9537044196
[ "MIT" ]
permissive
Taishuaibo/pycv-training
0d3f812a7e57acc8496ced9ada5879ee9f8a33f5
a9ad8755c82bff62e907099ebac7587422b28ccd
refs/heads/main
2023-05-05T15:51:19.394705
2021-05-30T01:08:17
2021-05-30T01:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,728
py
# 此项目在开源项目上进行开发 # 原项目地址:https://github.com/ianzhao05/textshot # 使用EAST深度学习模型执行文本检测 # USAGE # python text_shot.py [-s 1] [-p 0.05] import io import sys import cv2 import numpy as np import argparse from imutils.object_detection import non_max_suppression import pyperclip import pytesseract from PIL import Image fr...
[ "coscyber@gmail.com" ]
coscyber@gmail.com
5053884460dc3aec3edf0411afdf51a5668c1caf
78b0c3d09778938e24082e715ce7375f67fe402e
/F21/dheeraj-thikkamaneni/codeReview.py
cb5325f5cf88dc72283d6b76030f1e2a3b737637
[]
no_license
GadeManasa/5030
8fbefd3ce3df9ef8b5b073994d5cb1d75e6b6c76
2e44c0ffbb6c00ee1760c09a0a48d24a7712ac61
refs/heads/master
2023-08-25T17:17:07.314180
2021-11-01T18:37:04
2021-11-01T18:37:04
412,723,793
0
0
null
2021-10-06T16:31:22
2021-10-02T07:28:36
null
UTF-8
Python
false
false
3,854
py
class convertLowerCase(): def lc(self, text): # methid that converts languages without any special cases return text.lower() def tr(self, text): # for turkish lowercase = "" turkish_dict = {'I':'ı', 'İ':'i'} for word in text: if word == 'I' or word =...
[ "noreply@github.com" ]
GadeManasa.noreply@github.com
4ccde3cf7c1504688638936d937c4a501fab3cf0
9733a04a573641a1fbfb91c6d64a842121d4a2a9
/search_unit_tests.py
ee5a90ea944cb7c269b3ea35e884e2c020bf6e93
[]
no_license
harsha-mandadi/map_search_AI
a4ea2d41669bbbf6434c6405d00e59193fc1d2d1
4908f637ce9f9c956c0b8c8f0c5f496e2f9b8bb9
refs/heads/master
2021-02-17T20:43:40.070711
2020-03-05T09:59:21
2020-03-05T09:59:21
245,126,769
0
0
null
null
null
null
UTF-8
Python
false
false
17,056
py
# coding=utf-8 import itertools import pickle import random import unittest import networkx from explorable_graph import ExplorableGraph from submission import a_star, bidirectional_a_star, \ bidirectional_ucs, breadth_first_search, euclidean_dist_heuristic, \ null_heuristic, haversine_dist_heuristic, tridire...
[ "noreply@github.com" ]
harsha-mandadi.noreply@github.com
78ceb669efd476b37e638363e08047a53d19a248
2ef73026be3e830d4d272c67dc09977383b17a31
/new_python/kmltools.py
9c31df4146b23662cadd6a31cfe76ceff807764b
[ "BSD-3-Clause" ]
permissive
rjleveque/new_features_for_v5.7.0
8af89593879eb56cfb097773de59f6ca01d8afdd
b939d18c3e6ff58b7f3a1b96ce4f553a3babbda9
refs/heads/master
2020-12-09T01:46:22.336135
2020-01-26T00:21:06
2020-01-26T00:21:06
233,155,725
0
0
null
2020-01-11T00:57:09
2020-01-11T00:57:08
null
UTF-8
Python
false
false
38,490
py
r""" kmltools module: $CLAW/geoclaw/src/python/geoclaw/kmltools.py Tools to make kml files to overlay on Google Earth. Note that color is in KML format, BGR with 2 hex digits for each, e.g. FF0000 is blue, 00FF00 is green, 0000FF is red, 00FF00 is yellow. Actually it's an 8 hex digit number, where the first two d...
[ "rjl@uw.edu" ]
rjl@uw.edu
75b2f382a7fb433e24909b932aa1d7c2c84c9a31
6ccecd76bc526c35dd45c90aaf36746d563d4acf
/main.py
c6baebdc09ccf96933975b7f43a58f22f38ec8e5
[]
no_license
Foliik/PsswdLckr
0fc261a8f4a7a8816fbcb520e8c915cfbb45db6a
faff6748dded78272de9156db3d683ffa15ab9cd
refs/heads/master
2020-12-05T14:30:31.591772
2020-01-22T15:51:22
2020-01-22T15:51:22
232,139,565
0
0
null
null
null
null
UTF-8
Python
false
false
5,330
py
#!/bin/python3 """ Script para almacenar cuentas. Opcion de copiar nombre de cuenta y clave al clipboard. TODO: crear una GUI. """ import os import sys import pyperclip as pc from cryptography.fernet import Fernet from getpass import getpass def opcion1(key): os.system("clear") flag = False psFlag = Fa...
[ "noreply@github.com" ]
Foliik.noreply@github.com
08d79dfe171d9a2e3ee2b01224f7e1f98113933d
5af55c55703e234def16e40b9a7714091d8c1ea9
/app/email.py
ef0984613e2c7f429bb841825a458687802c0e0a
[ "MIT" ]
permissive
mukjos30/Blog_Project
dc7b935e7b3b94c7c188dbfc56403f8a30d6c2a7
22ec4eb6ce3f16e173e94c1412142c3e3f7d4013
refs/heads/master
2020-08-04T06:23:52.789816
2019-10-03T17:08:34
2019-10-03T17:08:34
212,037,013
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
from . import mail from flask_mail import Message from flask import render_template def create_mail(subject,template,to,**kwargs): message = Message(subject,sender="mukjos30@gmail.com",recipients = [to]) message.body = render_template(template + ".txt", **kwargs) mail.send(message)
[ "mukjos30@gmail.com" ]
mukjos30@gmail.com