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
917dadb212ec658472de836a5b21d4d5c5744946
1cc17b2eb1c885389126299602dbaa3bbd1e6dd7
/liaoxuefeng_python/innerbuilt/do_wearth_parse.py
cc2b69122069756e6f36f542b652328b8a61a467
[]
no_license
shulu/python_note
e611093ff2af321fbc889167424574b214052b44
93b101a1723d2d47b435a25e81e447f0d5d95022
refs/heads/master
2021-01-02T22:47:53.717930
2019-03-26T08:55:48
2019-03-26T08:55:48
99,391,822
1
0
null
null
null
null
UTF-8
Python
false
false
3,138
py
# -*- coding: utf-8 -*- from xml.parsers.expat import ParserCreate import json data = {} textlist = [] class WeatherSaxHandler(object): def start_element(self, name, attr): if not name in data: data[name] = [] data[name].append({'attr' : attr}) def char_data(self, text): te...
[ "qq961085397@163.com" ]
qq961085397@163.com
4c715851b353565af9b991d0e1b8525c5db52d4e
05202494054839e9a1521ad8f085ae5630ea61f4
/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/config.gypi
c61edab5cb853fef095c1b2fbcf9c1cc9fbb2026
[ "Apache-2.0", "MIT" ]
permissive
a1GoXplorer/MySite
3ca97b98fed07a352f8d102942a8fc13fea08507
a8ae3b9f371da4deb6a4eb8c4719eda6bc50501f
refs/heads/master
2021-01-22T01:33:35.708456
2015-07-23T02:02:57
2015-07-23T02:02:57
39,535,304
0
0
null
null
null
null
UTF-8
Python
false
false
3,538
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "mark_daniels1982@hotmail.com" ]
mark_daniels1982@hotmail.com
8e7a86c55d6c00056deac08ea9da15dc0e7d4880
b09fb143298d47b72ebdc41c81ac2b6048321a7b
/snippets/urls.py
938734f3f0766f1a0efc58046c1ead1feb5775e3
[]
no_license
aniket9465/pastebin
87d26b63747a4d5d38bac727a7094f9218228a81
6384c1c31839c4866e5aede95389d308c359495c
refs/heads/master
2020-03-07T00:31:27.297641
2018-03-29T00:21:29
2018-03-29T00:21:29
127,159,577
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.urls import path from snippets import views urlpatterns=[ path('',views.create,name='create'), path('view/<int:key>/',views.view,name='view'), ]
[ "aniket14goyal@gmail.com" ]
aniket14goyal@gmail.com
ea5aa6c50f98a175bed92349bae0a7dfb2f69265
13b70fefe74a4df57c80207a9f5fddb2c2474f1d
/Ui/Ui_FormConfig.py
f8737de39a52a6332ceafb06dfe1692b405643d9
[]
no_license
golden7602/zion
4f8ae947fd754d64de44bb16d9bd2bd7f8c819a5
70a5ba13eb1b504f94fdaceba7cc6d0564618c00
refs/heads/master
2021-07-01T13:46:03.769916
2020-12-01T11:15:01
2020-12-01T11:15:01
196,413,935
0
0
null
null
null
null
UTF-8
Python
false
false
18,713
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'e:\Zion\zion\Ui\FormConfig.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): ...
[ "419331959@qq.com" ]
419331959@qq.com
508d6ae083c9e4dd5e88df2f98ff5ffe1ed2f997
f1790e298bcbf7b26cacd3c27850f243c446b9eb
/courses/pythonBrasil/EstruturaDeDecisao/ex006.py
e023d983077c2e8cfaf09eb5788f0c2eeb6359b5
[]
no_license
misa9999/python
36001a1bf0eb842d00b010b02e05b01aa4dfac57
251c5226db1bfef4a8445b025f232a27a6924930
refs/heads/master
2023-03-04T16:25:48.610233
2021-02-22T21:37:51
2021-02-22T21:37:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
# pede três números e informa o maior deles # pede os números n1 = int(input('n1: ')) n2 = int(input('n2: ')) n3 = int(input('n3: ')) maior = n1 # verifica o maior número if n2 > n1 and n2 > n3: maior = n2 elif n3 > n1 and n3 > n2: maior = n3 else: print('Todos números são iguais') print(...
[ "yuukixasuna00@gmailcom" ]
yuukixasuna00@gmailcom
d84e266712ab016b57c02f337ed36cb13b123d9a
75e16fc6883e3e314b21ccf337beb0320bbcae50
/train.py
2f18cc8ed8e16739d9b6c577004d390b0b4c6768
[]
no_license
mihirp1998/convHypernetComp
a0a9404ab6abf29a56733ea88d45a10f397d551d
6ed0632af965b81ac38cf3ed7bd9215adadb1902
refs/heads/master
2021-08-18T11:11:32.464130
2020-04-24T23:44:15
2020-04-24T23:44:15
169,819,367
0
0
null
2019-02-09T18:08:45
2019-02-09T01:07:13
Jupyter Notebook
UTF-8
Python
false
false
7,212
py
import time import os import argparse import numpy as np import torch import torch.optim as optim import torch.optim.lr_scheduler as LS import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import torch.utils.data as data from torchvision import transforms from torch.nn.parameter i...
[ "mihirp1998.mp@gmail.com" ]
mihirp1998.mp@gmail.com
d4ce1a9bba78c0cd1fde8da0dcbce30e5ef64c78
e0f2992ec02a1cff9acc6c4725370d5b6949321a
/pinoyvibescoin/contrib/seeds/generate-seeds.py
2845d3f1682ffec1b8500ecbf42e045fe50faf85
[ "MIT" ]
permissive
bradtech151929/test
73031b4c923988d5960462a12aac78fda3fbdd01
a582857fcafb826b75eb207f7654e2405cf788f6
refs/heads/main
2023-06-23T04:23:25.394585
2021-07-14T02:39:23
2021-07-14T02:39:23
385,789,678
0
0
null
null
null
null
UTF-8
Python
false
false
4,348
py
#!/usr/bin/env python3 # Copyright (c) 2014-2017 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Script to generate list of seed nodes for chainparams.cpp. This script expects two text files in the dir...
[ "support@bradtech.live" ]
support@bradtech.live
a242affb11032739d86eaec1e797b8b7161fb28d
91910a93eb120a46424119a163eeb646c9b7b948
/test_json.py
540b1d20bcfb9b01e641fe826b5992ae15aae26c
[]
no_license
aoyoo/tornado
2ab0943d929a47fb263307c3d2b1ae56da8e80fc
d2fe7f9090620e56435318ea546fe144d60738d6
refs/heads/master
2021-01-10T20:43:26.982198
2013-09-02T07:23:55
2013-09-02T07:23:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
#!/usr/bin/env python # -*- coding=utf-8 -*- import sys import time import json import string import copy import re #reload(sys) #sys.setdefaultencoding('utf-8') raw_str = """[{"title":"title1", "price":"500"},{"title":"title2", "price":"441"}]""" raw_list = [{"title":"啊啊啊", "price":"500"},{"title":"title2", "price":...
[ "aoyoo.po@gmail.com" ]
aoyoo.po@gmail.com
83552ee7a0c8d3eb64dcc41986b7cd785e9a71cc
979bed6a6f73965b2b3ef441004586a44075cbf7
/hm/migrations/0007_classroomreport_healthinformation_parent.py
ba5849252dc7ebd4a1f4ce448933aca8038492b1
[]
no_license
josephezati/mps
854c650ba9b564c240722d9830ba5735d5077ee2
87af5c8193a4e41dc51ac1bf72775a124beaddc6
refs/heads/master
2021-03-08T03:07:01.446206
2020-03-10T13:21:02
2020-03-10T13:21:02
246,312,666
1
0
null
null
null
null
UTF-8
Python
false
false
3,136
py
# Generated by Django 2.2.6 on 2020-01-07 08:36 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "josephezati@gmail.com" ]
josephezati@gmail.com
04ca532abc1f721a651008e03b2fc480c37452cf
9cd25c62e501741bbf4f982058ac60b8cdf815dc
/_unittests/ut_testing/test_template_dl_torch.py
2ee7a06eb55e118202d4f461b0f1bb82357dabb5
[ "MIT" ]
permissive
sdpython/lightmlrestapi
c60c2960b271e59750ebfe8fafc9c70304f92cbc
def172965eb197d8ab7f812c3f5f5ce129593cef
refs/heads/master
2022-07-09T06:56:31.458790
2022-05-19T23:46:52
2022-05-19T23:46:52
110,975,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
""" @brief test tree node (time=12s) """ import os import unittest import numpy from PIL import Image from pyquickhelper.pycode import get_temp_folder, ExtTestCase from lightmlrestapi.testing.template_dl_torch import restapi_version, restapi_load, restapi_predict def get_torch(): try: import torch #...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
2f55c8537b87cd05e7322df3dd42c98d8395247a
4f0a4bd71954ea50675f9d741cf921244e59354a
/go.py
03b22e08faf1837dad5f6cccf2a713cc159858ce
[]
no_license
woogers/mjgl-tools
bc619b5bef1d757c870c57a781e41acfd9d1ccf1
977ea7bbb82caf0d18c76f595f700070039ad146
refs/heads/main
2023-05-29T05:17:18.419926
2021-06-03T13:18:23
2021-06-03T13:18:23
361,856,965
3
1
null
null
null
null
UTF-8
Python
false
false
5,945
py
# commands: match show, match #, rankings, stats import configparser import datetime import json import shutil import matplotlib.font_manager as mfm import matplotlib.pyplot as plt import pytz import requests from fontTools.ttLib import TTFont def char_in_font(uc_char, font): """See if a given unicode character...
[ "woogers@gmail.com" ]
woogers@gmail.com
20124e1270bd850d805dff7e9a4b3e4ce2eba4a7
f2e33b0d1a4c0976443950b4a88c4b32ee055f04
/DEAP_covariances_regression_eda_mean_var.py
d4ae30c81385a2e7aa3833c8c224962c575fdd5a
[]
no_license
tomdamelio/arousal_decoding
5e0245c71e4f71bdcdd435e75c6a5e73f2e6c490
1bb0b03e826798da983c45615ff2b00e8e8f7146
refs/heads/master
2023-07-25T02:41:55.238214
2021-09-01T06:52:39
2021-09-01T06:52:39
401,931,740
1
0
null
null
null
null
UTF-8
Python
false
false
14,114
py
import os.path as op import os import pandas as pd import numpy as np import matplotlib.pyplot as plt import datetime import mne from mne_bids import BIDSPath from sklearn.linear_model import RidgeCV, GammaRegressor from sklearn.model_selection import ( cross_val_score, ShuffleSplit, KFold, GroupShuffleSplit, ...
[ "tomas.d-amelio@inria.fr" ]
tomas.d-amelio@inria.fr
6a9d31362c7703d086eaf8885a1a7df445238bb2
baf792fe21c7c097469e6a7776b361fde73df14e
/section05-1.py
22956a8cf38c6a095eadd4ed87f6657ea6205e7c
[]
no_license
SeolHuiGwan9478/Web_Crawling
67b7c4ca37c3877f77d04da9f72196dce17d97b9
d1fdcc7684797d5bfba04e4844632091694fb4a6
refs/heads/main
2023-06-30T00:53:54.943666
2021-07-31T10:13:20
2021-07-31T10:13:20
382,503,187
0
0
null
null
null
null
UTF-8
Python
false
false
2,726
py
#Section05-1 #BeautifulSoup #BeautifulSoup 사용 스크랩핑(1) - 기본 사용법 from bs4 import BeautifulSoup html = """ <html> <head> <title>The Doremouse's story</title> </head> <body> <h1>this is h1 area</h1> <h2>this is h2 area</h2> <p class="title"><b>The Dormouse's story</b></p> ...
[ "shg5977@naver.com" ]
shg5977@naver.com
f418da5dea058b1002eb272df3600d07312d7f09
c3fd86805597a0ffccfe986b11eecde30bdc5d72
/pypgtap/core/test_kit/pypgtap_testing.py
acc2d2906cd07088f84a25e2c067f6fd3538474a
[]
no_license
itissid/pypgTAP
d0d61afbee451006cef1a450ddf1709f40b7a0b6
15713c31db44723ee30e8c1af2a76f2b5d35e78c
refs/heads/master
2022-12-06T16:30:54.848933
2022-11-25T17:05:10
2022-11-25T17:05:10
22,315,146
20
1
null
2022-11-25T17:05:11
2014-07-27T16:08:11
Python
UTF-8
Python
false
false
11,517
py
""" This contains a part of the core API that helps in bootstrapping the pypgTAP test harness and executing tests on it. The running state of the harness is not managed by this module. In addition it also contains utilities to execute sql scripts. """ import logging import os import pkg_resources import subprocess impo...
[ "sidharth@knewton.com" ]
sidharth@knewton.com
ad7faa54a46d5965e09d67a6f9c2c498b2bbbec0
fcd965c9333ee328ec51bc41f5bc0300cc06dc33
/DailyCoding/invert_tree.py
9c1f7f53cc075075fb4ac08a3358a5e3da55f484
[]
no_license
henrylin2008/Coding_Problems
699bb345481c14dc3faa8bab439776c7070a1cb0
281067e872f73a27f76ae10ab0f1564916bddd28
refs/heads/master
2023-01-11T11:55:47.936163
2022-12-24T07:50:17
2022-12-24T07:50:17
170,151,972
2
0
null
null
null
null
UTF-8
Python
false
false
813
py
# Daily Coding Problem #83 # Problem # This problem was asked by Google. # # Invert a binary tree. # # For example, given the following tree: # # a # / \ # b c # / \ / # d e f # should become: # # a # / \ # c b # \ / \ # f e d # Solution # Assuming we could invert the current node's left and ri...
[ "henrylin2008@yahoo.com" ]
henrylin2008@yahoo.com
b20ad72d7d3234c25c78fa8f2db9e79cba24aeb3
dd66fa1726f4bae553644672a4bf33d1ef9452a4
/venv/bin/python-config
8a60ef81d5e4adc9658aecd69e37b93715c4f03d
[]
no_license
yanhao-li/Blog
a2453fceddf2c7f486f21b948fcafedae7b9c96c
6c2a96da357ac68fdb984c475dabf19648d98f07
refs/heads/master
2021-05-31T12:52:25.253469
2016-06-05T16:18:16
2016-06-05T16:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,379
#!/Users/Max/Dropbox/Personal/Develop/Lab/PersonalWeb/Blog/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append...
[ "hi@maxlee.im" ]
hi@maxlee.im
48ce48f4d288816ab6af2ac00fce960d7f7e911f
31e571f4b975c5178a7b2e18823c00897ce2bc0b
/music/admin.py
dab285c854228750bac8fa62ea86e770744d943a
[]
no_license
lsj8972/MusicBox
fc46897fcd9698ea5e20743dcc527b8222e73223
f3cf9d2ad85886509eba9583d4442a81da4db3da
refs/heads/master
2023-01-24T09:17:07.353110
2020-11-27T05:30:35
2020-11-27T05:30:35
316,385,857
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from django.contrib import admin from music.models import Music, Artist, Entertainment admin.site.register(Music) admin.site.register(Artist) admin.site.register(Entertainment)
[ "dltmdwornt@naver.com" ]
dltmdwornt@naver.com
7404a3f2cbb5cdc826b84086c3531719beadec9e
75ef065b7d7098018bfa35d60f7813ca796ae158
/NAVIO2/PeoplesRepublic/biases copy-paste.py
1d42b36454e813ec08d5f137ebcf5b71ac5fe030
[]
no_license
kyakid1/MAE5010
5b60b1d3ad748511cb5c0cdbcb975cdb287a9cb8
239314c793764d8dee6f3b827591eb70e1ba1036
refs/heads/master
2020-09-15T07:33:24.909907
2019-11-20T01:13:46
2019-11-20T01:13:46
223,380,928
0
0
null
2019-11-22T10:32:44
2019-11-22T10:32:43
null
UTF-8
Python
false
false
1,509
py
#servo_0, servo_1, servo_2, servo_3, servo_4, servo_5 = range(7, 13) #throttle, aileron, elevator, rudder, none, flaps = range(7, 13) # define indices of cmd for easier access. #psi_c, h_c = range(2) class bias(object): #creates an object that avgs bias for 25 inputs--Christian Coletti def __init__(self): ...
[ "bcwhitecb@gmail.com" ]
bcwhitecb@gmail.com
59125fada11245cb2fd16d583346fea7808880f8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03803/s808013287.py
d06c71951fe118e1fa63c59d59e0f64d918f0c20
[]
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
134
py
a, b = map(int, input().split()) a = a if a > 1 else 14 b = b if b > 1 else 14 print("Alice" if a > b else "Bob" if a < b else "Draw")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
076e9da84a5ca277c5b3c7a7d91b7c7594ad151a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/2720.py
ad1a9ec15bca1a694901004c379c73f110bc065c
[]
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
678
py
def nopalin(li): count = 0 for i in range(li[0], li[1]): if ispalin(str(i)): if ispalin(str(i**2)): count += 1 return count def ispalin(a): return a == a[::-1] infile = open('C-small-attempt0.in', 'r') outfile = open('ansfairsq_small.in', 'w') no = in...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
532ccd9ee7c659589dbdc2903a405f781452eac5
777660665e3c3c8f01615ace0659539963c6f339
/Sublime Text 3/Packages/LaTeXTools/toggle_fwdsync.py
fd2510664f8cb6f1bd57e99d1ebab27db0e51c5e
[]
no_license
schaefer-dev/dotfiles
f85c2ce6e11aaab52ccfdeb545e8e635793d7bc9
185590b05890c690a0421812b0ec67d7e2e8c733
refs/heads/master
2023-05-27T08:57:01.224734
2023-05-21T20:11:04
2023-05-21T20:11:04
37,656,728
2
1
null
null
null
null
UTF-8
Python
false
false
839
py
# ST2/ST3 compat from __future__ import print_function import sublime if sublime.version() < '3000': # we are on ST2 and Python 2.X _ST3 = False else: _ST3 = True import sublime, sublime_plugin # Toggle forward syncing to PDF after compiling class toggle_fwdsyncCommand(sublime_plugin.TextCommand): def...
[ "schaefer.dev@gmail.com" ]
schaefer.dev@gmail.com
3c2ec0c60a20d05ddb15a5a95803d3dabf75ab9c
3f4da796e5273fc15078846ef1eadc1da1889225
/ex14.py
88dfa0a345f84bcabe7322a3a697088029304b9f
[]
no_license
gil-parce/learnPython
e0058f72da2d08f949454ef17361a14cac000be1
48b72a795d2b793ce17da203af9cffc151f6236c
refs/heads/master
2023-01-19T05:57:37.561854
2020-11-17T18:46:14
2020-11-17T18:46:14
313,976,301
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
# Prompting and Passing from sys import argv script, user_name = argv prompt = "Answer me now please " #This variable will be the prompt for our raw_input print "Hi %s, I'm the %s script." % (user_name, script) print "I'd like to ask you a few questions." print "Do you like me %s?" % (user_name) likes = raw_input(pr...
[ "gilselby@gmail.com" ]
gilselby@gmail.com
95656e453a0c0b0fe5ed41a8ff62c64758218a8b
89f91ded95cde5a55b4d5d1459ef0e49dd2ac344
/Análisis estimados iniciales - Montecarlo.py
be051678f27b77282c93101497c2dde74e4f6801
[ "BSD-3-Clause" ]
permissive
Arn960/Regular_Solution_Model
022f4117aefef558d22df87e77dba868f839de88
14ab20951e97a25affc5f0c3f9c8c5a94b8f4614
refs/heads/main
2023-08-02T07:18:50.151785
2021-10-08T00:16:07
2021-10-08T00:16:07
414,789,418
0
0
null
null
null
null
UTF-8
Python
false
false
15,611
py
# -*- coding: utf-8 -*- """**************************************************************************************************************************** Created on Wed Feb 10 18:59:20 2021 @author: damv_ El crudo de Indonesia es el unico que utiliza nC5 como solvente en la prueba de floculacion. Indonesia w = np.arra...
[ "arn.90600@gmail.com" ]
arn.90600@gmail.com
1427b718206e6a7f9871e5fefdc4f16bc57f0dff
d6bcb97570eec91bd0a4ea4bea5b95cfa58b5429
/invoices_sorter/invoices_sorter.py
b15abcba0083960bd6e0fd16efded873db632024
[]
no_license
bartosz-bartosz/work_automation
63f794e8012fd7161643b7ab35dcd0a9573d65d0
8b3d3cfa719cd494b03da3d2552e9ed4e551967a
refs/heads/master
2023-07-19T17:22:46.720568
2021-08-27T12:33:04
2021-08-27T12:33:04
400,500,231
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
'''I have an excel file with two columns ("Billing Document" and " Customer Name"), and folder full of PDF documents containing the billing document number in their filenames. This script compares all these filenames with the excel file and finds the Customer Name corresponding to the PDF. Then it moves the PDF to a ne...
[ "badalecki@gmail.com" ]
badalecki@gmail.com
08133c58c09c445d6a5267a27b83d6146b132d2b
922b900772eec2b34ed8878acb29b60a0f340dd0
/app/forms.py
0c8674d144535b64c9150288b18b8812c3d35380
[ "MIT" ]
permissive
gardoroman/menuscript
8d4a8a01ba612896ea5df489f61ba283af39d6a8
8aedd3fa9f8891a7ffb5eb9507e6cecc1bbadc1b
refs/heads/master
2021-01-19T17:17:14.069405
2017-02-27T19:19:10
2017-02-27T19:19:10
82,433,100
1
0
null
2017-02-27T19:19:10
2017-02-19T03:42:32
Python
UTF-8
Python
false
false
1,301
py
from flask_wtf import FlaskForm from wtforms import StringField, TextAreaField, RadioField from wtforms.validators import DataRequired, Length class StoreForm(FlaskForm): store_name = StringField('store_name', validators=[DataRequired()]) # address = TextAreaField('address', [validators.required(), validators....
[ "gardoroman@gmail.com" ]
gardoroman@gmail.com
79d2ab3c42d1d127d5bd6a2dda721a7b86bae39c
acecde67044b84c9592493b81db727c5325343f9
/restaurant_exercise.py
2a6c6cfbba144930a82259c0d5ffc05eb7510b9c
[]
no_license
StellaMarieL/DataScienceFundamentals
cc8711b06432bf4b1f1a9e2ce2ed3c01e8081007
ece57362d8e2bc63279d37a11b958160cd538488
refs/heads/master
2020-03-29T15:47:54.096760
2018-10-22T11:21:18
2018-10-22T11:21:18
150,081,365
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
from bs4 import BeautifulSoup import pandas as pd with open("thewolfhound.html") as f: page = BeautifulSoup(f, "lxml") #The URL used was https://www.thewolfhound.nl/ page.select("title")[0].get_text() title = page.select("title")[0].get_text() print(title) page.select(".widget-text")[0].get_text() description =...
[ "noreply@github.com" ]
noreply@github.com
277613ceb14da0871595c2b6422d5a4012935a08
04a57a8cd6867741e8343e01a3e2dd184f4481b1
/python/tfSyst.py
1a4733f4312a3f6d17d7fdc304ba6dabbaa4d79d
[]
no_license
mattleblanc/BkgdSysts
f4dad1661f07c56fa08ca8caf047386e33ed1fc2
2ff4429be7b080b2d760208b6ae285d4702c0343
refs/heads/master
2020-04-02T06:05:06.624674
2016-07-29T12:28:43
2016-07-29T12:28:43
63,276,151
1
0
null
null
null
null
UTF-8
Python
false
false
13,301
py
import os import logging import json import math import re import string import glob import ROOT from ROOT import gROOT,gPad,gStyle,TCanvas,TFile,TLine,TLatex,TAxis,TLegend,TPostScript from optparse import OptionParser from math import fabs ROOT.gROOT.SetBatch(True) ROOT.gStyle.SetOptTitle(False) logging.basicConfig(l...
[ "matt.leblanc@cern.ch" ]
matt.leblanc@cern.ch
6b6146c45215396338bd3bb5785fd5f25561bacc
aa957c6ec8e5b19949beb0a521bb77bf40f45f33
/src/modules/postprocess/renderer.py
5fc11dc19d01251cc05b64caa29fc9255fe7dc09
[]
no_license
LifeIsStrange/derendering-text
05c17e42c6ce22ebfe9351624c6974f1c87d07bb
fd105efb538e41a91a1d27658b07e68c981c7297
refs/heads/master
2023-08-22T01:26:16.429344
2021-10-07T11:02:44
2021-10-07T11:02:44
414,710,177
1
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
import numpy as np from typing import Tuple from src.dto.dto_postprocess import VectorData from src.skiaLib import skia_paintor as skp from src.skiaLib import skia_util as sku def get_offset(i, vd) -> Tuple[int, int]: x0, _, _, _ = vd.tb_param[i].box offset_x = int( x0 / max(float(vd.tb_param[i].text_...
[ "shimoda-k@mm.inf.uec.ac.jp" ]
shimoda-k@mm.inf.uec.ac.jp
4e3aa48c6e65837a4e521b92970cb5723002af43
b7a75077547b22f65b2578429ce92be39a2fe9bc
/loader.py
40c64c25d19f5a092177df6df95ed718a567dbae
[]
no_license
t0rr3sp3dr0/IF998-CittaPET-StreamService
bca6f8e4d3b842f8483607857edc9a50b3d1fd81
870d00c0ba6c299a20a471aeb2148f17dfaa1e9f
refs/heads/master
2020-05-24T22:27:07.731034
2019-05-19T23:09:26
2019-05-19T23:09:26
187,497,632
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
import csv from threading import Thread from datetime import datetime from db import BusEvent, UTM, connect def read_file(name): connect() current_file = './data/' + name + '.csv' with open(current_file) as csv_file: csv_reader = csv.reader(csv_file, delimiter=',') line_count = -1 ...
[ "pgrr@cin.ufpe.br" ]
pgrr@cin.ufpe.br
d602ca9e5536cadf5301afd667d2d6e7c265d08a
3d97eb02c03554b1fa9e9778ba575290636fde72
/profiles/models.py
faf04670eb5623138e67c7f0e0c883a9526ca8c9
[]
no_license
Code-Institute-Submissions/gamer-supplies
752cfdfff2b603462012367b63ef7bc70ec03841
efd4b31cb95a087ae064ec79653d3f8d228856e5
refs/heads/main
2023-07-19T07:36:01.966024
2021-08-14T03:00:08
2021-08-14T03:00:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,457
py
# Imports from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from django_countries.fields import CountryField # User profile model class UserProfile(models.Model): user = models.OneToOneField(User, on_delete=...
[ "joey-scott@live.com" ]
joey-scott@live.com
a95fdccca63eabb8357efc31abfedb51d7ac8e83
17cc8bffed3fadb413506f1545c455d7b9406ed6
/parts/zodiac/venusian/tests/fixtures/two/mod2.py
538ca16324ce1614318fbae18501cdb30d38c29a
[]
no_license
stinett/zodiac
f7a4f788942930fa217e7e1c7d525b82a557258f
22b247719694b0f5aa5135b3cb68c1e84aaf7629
refs/heads/master
2020-05-21T01:14:59.949571
2014-01-13T15:53:47
2014-01-13T15:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
/home/stine/myenv/zodiac/eggs/venusian-1.0a8-py2.7.egg/venusian/tests/fixtures/two/mod2.py
[ "stine@funkydesktop.(none)" ]
stine@funkydesktop.(none)
4740f1c48776dc66f80b11287c862d0fcf4766a6
45ca434bdb9e48fdbb2cda0e7fdd9a76474117b0
/aliyun-python-sdk-push/aliyunsdkpush/request/v20150827/QueryPushDataByMessageIdRequest.py
81f214595cd3f2e94b6ea05d93fea2bd6a0a3d30
[ "Apache-2.0" ]
permissive
wanyanzhenjiang/aliyun-openapi-python-sdk
e41e9937ad3f851e5a58f6bea95663e88f7fee13
4a5bf1b35f2395d047ead4444ea46721976bdd24
refs/heads/master
2020-12-30T10:37:55.789911
2017-07-27T06:55:15
2017-07-27T06:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "ling.wu@alibaba-inc.com" ]
ling.wu@alibaba-inc.com
13023ff2a81b93f3e670549f19317f83d8372c59
c3350fa6ea9a522c416e60e648bf6aeb86267f73
/2to3/calculate_3d.py
e0e1a7b615e948714cfde214a5c1f9c7dea6cc51
[]
no_license
Magman11/2to3
459420ad6c88653bd113e0e2aefefe6a9a919e5e
a92fd8b8ece210323e0703d6495e51b8d52a824a
refs/heads/master
2022-06-29T08:15:25.994721
2020-05-12T11:52:00
2020-05-12T11:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,586
py
import numpy as np from scipy.linalg import svd import cv2 from solve_pnp import DLT import pickle import json import math def build_matrix(tracklet_2d, g, P, times): M = [] n = len(times) R = [] start_time = times[0] for i in range(n): frame_num, x, y = tracklet_2d[i] t = (times[i...
[ "2193078662@qq.com" ]
2193078662@qq.com
a15de04300eb2c29a2ad29fed2bd1a9da39ad5d7
62554d5ab2b479f900472358ced074b799f684b4
/blog/urls.py
28ced961d96c675d91187468ca44af32d38e69da
[]
no_license
nimfalyda/my-first-blog
d692de32eb6085cf31d45112fd80ad0e17e40943
9bae26b7f6b2e734c277fb5cd6ce1fe2c21a2059
refs/heads/master
2020-04-01T20:04:33.657621
2018-10-25T15:08:08
2018-10-25T15:08:08
153,587,103
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from django.conf.urls import url from blog import views urlpatterns = [ url(r'^$', views.post_list, name='post_list'), url(r'^post/(?P<pk>\d+)/$', views.post_detail, name='post_detail'), url(r'^post/new/$', views.post_new, name='post_new'), url(r'^post/(?P<pk>\d+)/edit/$', views.post_edit, name='post_e...
[ "krizhanovskaja.lidia@yandex.ru" ]
krizhanovskaja.lidia@yandex.ru
3338d4cfeb1fc3bc8f40cc93c1f094d07f8e0cd2
5767118ec6e6c4350d226cc6714ac5c9e7afb511
/utils/preprocess.py
65641ef555c975e0ffff65ebb8c5f6e7c6e7db5f
[]
no_license
inwaves/ml-training
43aaaa8d2198805c854a265672d2b0a4bf7258cd
0a03e48182f68eea7f6f139ad5380da1dd9292ec
refs/heads/main
2023-01-19T06:34:34.135144
2020-11-29T17:59:02
2020-11-29T17:59:02
304,938,916
1
0
null
null
null
null
UTF-8
Python
false
false
3,545
py
import pandas as pd # data manipulation from sklearn.model_selection import train_test_split def impute_categorical(df, categorical_column1, categorical_column2): """Imputes categorical_column2 using the mode of it corresponding to each value in categorical_column1""" cat_frames = [] for column_value in ...
[ "inwaves@live.com" ]
inwaves@live.com
e306d29dba601cd3ac539c15fa01b2e1fd8a43e9
69469247b374c70f9a9b1dc63951401000f4fab8
/extract_gutenberg_dammit.py
87b43666b28cf7ec13d7f3230bb06e33f5df45cf
[]
no_license
jessicavliu/city-notes
407ebc682e6ef38424adca718fa12bdcbe7eb597
6b901e7dc9113fc8c57492ab3493b402abad59b6
refs/heads/main
2023-03-26T23:32:14.252400
2021-03-13T19:42:56
2021-03-13T19:42:56
347,312,323
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
import gzip, json all_lines = [] for line in gzip.open("gutenberg-poetry-v001.ndjson.gz"): all_lines.append((json.loads(line.strip())['s']))#.encode('utf-8')) for i in range(10): print(all_lines[i]) print("Unprocessed lines:") unprocessed = 0 '''f = open("poetry.txt", "w", encoding="utf-8") for i in range(10):...
[ "msjessicavliu@gmail.com" ]
msjessicavliu@gmail.com
535b83b0f934ececa93c6623cc4f6733b31a8a77
9619658616266c553ee234b9ce12aa39ab8fcba2
/createuser.py
279f32d50c60aa31d9885a5d802a007d9910e93e
[]
no_license
phincylp/mydash
a04cb39db27db099cd148a8799c91f3ac2e9d5a7
82db38fcb266e3f3b7f9822852180f40d6394e71
refs/heads/master
2020-05-23T02:59:13.108934
2017-01-10T11:32:16
2017-01-10T11:32:16
45,746,507
0
0
null
null
null
null
UTF-8
Python
false
false
2,613
py
#!/usr/bin/python from utils import dbactions, template, config import cgi, os import socket import string import random # get data from url and browser formdata = cgi.FieldStorage() dbhost = formdata.getvalue('dbhost') user = formdata.getvalue('user') dbname =formdata.getvalue('selectminor') role = formdata.getvalue...
[ "ppious@linkedin.com" ]
ppious@linkedin.com
ed1160b800c691610916a7e632db8b658681bcc0
f05a759a5789231dd132f0822f457e415a75ca87
/libs/pypower/t/t_qps_pypower.py
7ee56c4c5dfc98cd0826e69f9d873cb193d84e8d
[]
no_license
AdrianBajdiuk/PowerGridResillience
f9cd0987fd4ed964a9b7b81299915467165d0b8e
60fc64b17a89cd3aba0e1ed113647adc7d6aaa1f
refs/heads/master
2021-01-01T05:26:55.162767
2016-11-17T08:07:57
2016-11-17T08:07:57
57,984,761
2
0
null
null
null
null
UTF-8
Python
false
false
6,753
py
# Copyright 1996-2015 PSERC. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. """Tests of C{qps_pypower} QP solvers. """ from numpy import array, zeros, shape, Inf from scipy.sparse import csr_matrix as sparse from pypower.ppoption import ppo...
[ "adrian.bajdiuk@gmail.com" ]
adrian.bajdiuk@gmail.com
2b17cdab4f563615f7fac547cd0bace64dfa5f1c
7caddbbace351050dbd2bf473b021dc8e32d94ae
/marketplace_parser/management/commands/export.py
04c690950cb1ebd40dd3d1e967b57378f6081244
[]
no_license
dharmagetic/atlassian-marketplace-parser
749780bb247dd70e8adb307051bc041ee59ff1c1
f068e1ce9bf7960d111a9c09908dfbb06cb96a4b
refs/heads/master
2020-12-02T16:27:55.752793
2017-07-07T16:31:23
2017-07-07T16:31:23
96,556,188
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
from django.core.management import BaseCommand from marketplace_parser.exporter import export_to_csv class Command(BaseCommand): def handle(self, *args, **options): export_to_csv()
[ "dharmagetic@gmail.com" ]
dharmagetic@gmail.com
270fe9327ff01e8675e00fc0f2740f4587ef2f69
9e2383e20ec6974584ada07b9c04178ec1309c69
/detection/background_sub_mog.py
9c3b6f949b89f5f24c207a695ec79abd7e046645
[]
no_license
weizy2018/moving_object_detection
c15966ac4e79d0eff3edb6e4b9ca008b95267f82
77b41d44aa61c3f2cc422372aa3c407984a89c8c
refs/heads/master
2022-09-25T18:24:21.254287
2020-06-07T07:16:42
2020-06-07T07:16:42
265,260,632
3
0
null
null
null
null
UTF-8
Python
false
false
650
py
import numpy as np import cv2 as cv capture = cv.VideoCapture('/home/weizy/Programs/opencv/opencv-4.1.0/samples/data/vtest.avi') # capture = cv.VideoCapture("/home/weizy/Videos/people.mp4") fgbg = cv.bgsegm.createBackgroundSubtractorMOG() count = 0 while True: ret, frame = capture.read() if not ret: ...
[ "2233467661@qq.com" ]
2233467661@qq.com
92d62ace7714ddef67f936c87933148a421363ee
0d6ed26ac9a6d09536b0d4f65428e893e48cebd8
/main.py
ed9973823eddbaf85a099b2177be9c265dc541ca
[]
no_license
Rubs24/TTT-Python-Advanced
484436b1deb497df61c51847faf3ce77bd036e27
5957851eea218d529d8174ca9a722c7178224c3c
refs/heads/master
2023-08-31T21:30:42.111702
2021-10-27T18:49:31
2021-10-27T18:49:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
from onePlayer import * from twoPlayer import * def choose_game(): game_choice = input("Would you like to play a one or two player game? (1/2): ") valid = False while not valid: if game_choice == "1": valid = True one_player_game() elif game_choice == "2": ...
[ "rubenmendoza@gmail.com" ]
rubenmendoza@gmail.com
26f9a7b7981574936001e8170cdc4ff857f3007e
8b7495b943e11237a1509f3cbbdef848111e06a7
/code/preprocess.py
4349a3b569c1190c3a7ea3b2f26a2f54b5c33d14
[]
no_license
zeusm9/Chinese-Word-Segmentation
04ea48ed04fdb7d66239ff43efffb0705e99da19
f3032210f74b7fd22769293961be74c0f3989471
refs/heads/master
2020-05-24T21:35:25.938398
2019-05-19T19:29:56
2019-05-19T19:29:56
187,478,927
1
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
# Generates a file without white spaces and a file with characters in 'BIES' removing empty lines from the original file def generate_files(input_path, input_name, label_name): input_file = open(input_name, 'w',encoding='utf8') label_file = open(label_name, 'w',encoding='utf8') original_data = open(input_pa...
[ "matteocanavicci@gmail.com" ]
matteocanavicci@gmail.com
7d33906b9b9e31703206b7b5f1c75ce8317c90de
e5b8b003720a68b17b4b6d89dba42c8273aa95f5
/feature_selection_models/fs_MI.py
cdb0671aa1947b4429e8edd653b706be2cc87a7f
[]
no_license
xfysq1/machine-learning-algorithm-library
dd98671ec1efbcc7b40deaba9d55ca5a2bac1ab1
17ef5fa791eaf4a4d90328b7c35068f99e281b71
refs/heads/main
2023-04-18T13:13:21.583024
2021-04-29T13:51:22
2021-04-29T13:51:22
362,391,070
1
0
null
null
null
null
UTF-8
Python
false
false
3,659
py
import math import numpy as np from sklearn import preprocessing from sklearn import metrics import pandas as pd class fs_MI: def __init__(self, z, n_components, preprocess=True): self.z = z self.preprocess = preprocess self.n_components = n_components if self.prepr...
[ "noreply@github.com" ]
noreply@github.com
155f96f27a6d198180e038e369da4cc63d345163
5a6354ebeef52b138f09ac3829b8664f14a46ef1
/cap03/ex03.py
51b02f0112ada4ae3f94bc651ab0f5a3ba002f4e
[]
no_license
dmagdaleno/opencv_examples
be64e48841c84a1aeb3a8532ee567cddfc6d1a5a
d37e7ee6cb6b37843cebe4ed632c00d2b88cb798
refs/heads/master
2020-04-25T06:02:11.145503
2019-03-01T20:47:56
2019-03-01T20:47:56
172,564,543
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
import cv2 capture = cv2.VideoCapture(0) while True: ret, frame = capture.read() cv2.imshow("Frame", frame) if cv2.waitKey(1) & 0xFF == ord("q"): break capture.release() cv2.destroyAllWindows()
[ "diegommagdaleno@gmail.com" ]
diegommagdaleno@gmail.com
5027fa1a8207dd5805fcbe76b11be6861b88b173
e28a68a91e5ce15e0a88682d9231280ab9bb9a9c
/fast_pack_fcr.py
8961ace77a020016a14f26b1f56d9086fde32f4d
[]
no_license
chaoranf/fast_pack_fcr
a87e6e7524219d2f8239b57706f36d65fa822969
21bce58d81ca2caf675a32856ccb45dad2463b10
refs/heads/master
2021-05-14T06:04:14.635574
2018-01-08T09:23:27
2018-01-08T09:23:27
116,233,124
3
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
#!usr/bin/python # coding = utf-8 import os import shutil import sys import zipfile def getChannels(): f = open("./channels", "r+", -1, "utf-8") channel_list = [] for line in f: channel = line.split(" ")[-1] channel = channel.strip('"') channel = channel.rstrip('\n"')...
[ "noreply@github.com" ]
noreply@github.com
7593e3d69947e1c79ab1ac96622bbf72ed0e4f02
b15d2787a1eeb56dfa700480364337216d2b1eb9
/accelbyte_py_sdk/api/seasonpass/models/tier.py
2f85703a05dbe98fe8aaa8b3cba6d42d71842b3a
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
5,204
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: ags_py_codegen # AccelByte Gaming Services Seasonpass Service (1.19.0) # pylint: disable...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
4ba16bfe6846a7b2f9f066a4d5929c56f01f48e1
d9bcbdc5894f3222015069a62e13356ed5f034fd
/blog/models.py
5dd9ef4e2804dd85c2aeefa4cba872457f00c74e
[]
no_license
naeglinghaff/blog-python-django
6edc5ac1bf1167bfa4068d0c176095443936d3f1
9889d10cc810cfc5451061ecf4967e0f8816344d
refs/heads/master
2022-12-14T08:52:24.416297
2021-05-10T06:54:53
2021-05-10T06:54:53
186,142,502
0
0
null
2021-09-22T17:53:13
2019-05-11T14:24:28
Python
UTF-8
Python
false
false
1,129
py
from django.conf import settings from django.db import models from django.utils import timezone from ckeditor.fields import RichTextField class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length=200) text = RichTextField()...
[ "kate.o.haffenden@gmail.com" ]
kate.o.haffenden@gmail.com
ee3b20fc697c3d1f3fbf397a840d3b576efd3513
cf1736096051056434ee38407fd0034d07c49044
/test/testing/test_collect.py
1f2251bbb1659c5134bb79bda56a52b33275875d
[ "MIT" ]
permissive
paskma/py
5a41a50381ef7c35bc77b261941d7a0eff8553a8
92c92afa7096a167eb70ba82a526b879fbd27afd
refs/heads/master
2020-05-20T05:49:17.301451
2013-01-20T16:01:44
2013-01-20T16:01:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,789
py
from __future__ import generators import py from setupdata import setupdatadir from py.__.test.outcome import Skipped, Failed, Passed, Outcome def setup_module(mod): mod.datadir = setupdatadir() mod.tmpdir = py.test.ensuretemp('test_collect') def skipboxed(): if py.test.config.option.boxed: py.t...
[ "paskma@gmail.com" ]
paskma@gmail.com
8968a994c1fe106db75f16913d6a9a08c0008f85
c2f0dbf82cb28670e83fd2f1da1a1741a59554c5
/nonlinear/source/backup/deep_qrc.py
fe7c8e7b28306ec9c7d9e028eca9b0d718867beb
[ "MIT" ]
permissive
ZdM87/higher-order-quantum-reservoir
526b8bf352ca6e07b19b28133b8a6e1af67db2ae
7fc75d03bb5ff2398d245ed7c5d7939fad00ef96
refs/heads/master
2023-08-12T08:18:50.762744
2021-10-07T01:44:48
2021-10-07T01:44:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,629
py
import sys import numpy as np import scipy as sp import utils import qrc from scipy.special import softmax def solfmax_layer(states): states = np.array(states) return softmax(states) def linear_combine(u, states, coeffs): assert(len(coeffs) == len(states)) v = 1 - np.sum(coeffs) assert(v <= 1 and...
[ "k09tranhoan@gmail.com" ]
k09tranhoan@gmail.com
586cefde8d91e3d8c5130ef8970d04a70083ed8d
c3934a1c8db4b9de967804c9bca0475bbd77a04b
/untitled5/paywave/migrations/0013_auto_20190404_1508.py
143b4045257822a3d3eef9579d21fffe77a13f53
[]
no_license
nikhilkularia/paywave
da16ec76b07efd7f0a394221ee764a7ec0323ca5
f570dc0fd52a4c16803b185242b86ed41e45e904
refs/heads/master
2020-05-17T19:06:26.822980
2019-04-28T13:40:36
2019-04-28T13:40:36
183,905,084
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# Generated by Django 2.1.7 on 2019-04-04 09:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paywave', '0012_auto_20190404_1423'), ] operations = [ migrations.AlterField( model_name='mobiles', name='service_ty...
[ "nikhilkularia@gmail.com" ]
nikhilkularia@gmail.com
fbd608fda78efd080fc844d09860e874519dbdae
c5e45dfe84f4318d58ac7cf7ba815ea5db594c12
/w2v_lang_model_2_1.py
a52fdc4b74e7d9853b1b624cba776a81c299d5d1
[]
no_license
swapnilg915/Email_sentence_prediction
13fb1a602e8eed138390f7594fd5c299aec3c55f
8325c5873aeeaaf751e1c7ba871fc956ddddcc41
refs/heads/master
2020-04-14T03:04:28.812763
2019-06-02T18:27:14
2019-06-02T18:27:14
163,599,331
1
0
null
null
null
null
UTF-8
Python
false
false
4,442
py
# -*- coding: utf-8 -*- import pickle, traceback, csv, re, os, json import numpy as np from numpy import array from keras.preprocessing.text import Tokenizer from keras.utils import to_categorical from keras.preprocessing.sequence import pad_sequences from keras.models import Sequential from keras.layers import Dense, ...
[ "swapnilg915@gmail.com" ]
swapnilg915@gmail.com
8dc52b2e15d341887cfcded2544e901cdabe38a1
64c2bb7d4ac99e530ca36e90b49eabe06f448d0c
/python/sentdex/matplotlib/1python_mpl_charts.py
4aa063645eefca96e9c85bd068d46a9756500986
[]
no_license
bhagsukraj/commands
5ea76a5adfcaceb2941d1bea858bf914b9ddbf19
e0799b63f1ead9b74bec38173c108465dc8d0751
refs/heads/master
2021-01-02T22:35:23.226498
2018-05-26T05:41:33
2018-05-26T05:41:33
99,348,724
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
#!python3 from matplotlib import pyplot as plt x=[1,2,3,4] y=[4,5,6,7] x1=[3,2,5,6] y1=[4,7,2,10] x2=[5,4,3,7] y2=[2,9,10,4] print(x) print(y) plt.plot(x,y) plt.plot(x1,y1,linewidth=5,label='x1y1') plt.plot(x2,y2,label='x1y2') plt.title('plot') plt.xlabel('x - axis') plt.ylabel('y - axis') plt.legend() plt.show()...
[ "bhagsukraj@gmail.com" ]
bhagsukraj@gmail.com
4d7d2f04abe4f47b0b6839a749a80b49bbc6d2df
f4130c546c089356ca666cf28a229e133f5a4b1f
/main.py
cd2e1ab090eb7c791933fadfd53dcee7d911abde
[]
no_license
AndreyKlekovkin/SIS_model
6ea838d7f98f168c144a445f6d24cf7e5d70a475
2efd792742fdca36e1806bafa993601483539335
refs/heads/main
2023-01-24T05:00:44.231918
2020-12-07T12:34:09
2020-12-07T12:34:09
316,777,504
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
import EoN import networkx as nx import matplotlib.pyplot as plt # генерируем граф малого мира, с n=100 вершинами, # Каждый узел связан с k=4 ближайшими соседями в кольцевой топологии, # p=0.6 вероятность повторного соединения g=nx.watts_strogatz_graph(n=100, k=4, p=0.6) gamma = 0.2 beta = 3.2 nx_kwargs = {} ...
[ "noreply@github.com" ]
noreply@github.com
6e6fc5b6645be6a06f8ffb7491c3a7af565264ae
2fa222ac451a5ed6bd762d71fd579414fb1c0fb0
/superblock/superblock.py
989d63ab0d872203ec9c2e7108468ae451627d62
[]
no_license
inkoguto/ext2
ff2a9249cd61c7a4423c138f601d25d63c389991
0b3c2d1bd35370d73f51a5300c8fe078d6c0df2c
refs/heads/master
2021-10-22T10:06:14.083308
2021-10-16T17:09:57
2021-10-16T17:09:57
225,201,521
0
0
null
2020-02-08T17:10:41
2019-12-01T17:36:47
Python
UTF-8
Python
false
false
4,572
py
from math import ceil from item.static import Item from factory.filesystem import filesystem_factory class Superblock: EXT2_MAGIC_NUMBER = 0xef53 SUPERBLOCK_SIZE = 1024 BOOT_RECORD = 512 ADDITIONAL_BOOT_RECORED = 512 STRUCTURE = [ Item('s_inodes_count', Item.TYPE_NUMERIC, 0, 4), It...
[ "a.pawcenis@gmail.com" ]
a.pawcenis@gmail.com
2929ae846fc40ff6d48f675acc8da62e79b73e75
d27c8580ae3897899f325d22d4c337adb57a92b4
/web_services/googleapi.py
2d50f24c65b2187e05918f93e37a0580589fd5cf
[]
no_license
johnnymcodes/cs131b_python_programming
a87fa4803670ff9b3f3a9914a4482f4e3f208b9b
a5bfcf8e0629e947084ce23c187fee9bcae22fd0
refs/heads/master
2022-12-28T15:47:52.602455
2020-08-07T20:57:30
2020-08-07T20:57:30
285,878,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
#prompts the user for a serach string, calls the google geocoding API and extracts #infofrmation from the returned JSON import urllib.request, urllib.parse, urllib.error import json serviceurl = 'http://maps.googleapis.com/maps/api/geocode/json?' while True: address = input('Enter location: ') if l...
[ "me@MacBook-Pro.local" ]
me@MacBook-Pro.local
4d77c490369492746ce8abeb9bbded2ad6e3ac96
6a59bceb5cfcce6dbb8e9fc2af41018146bae27e
/scikit/color_quantization.py
ce1d9ca5dc1ae3534ec9d26be3af69126672832a
[]
no_license
hewayGitHub/for_scikit
d92e24ff26454ed07ad9671b9827c98df60f6034
154f8b7c337822f7e18d1aefeecff441337f8bd5
refs/heads/master
2020-05-20T01:38:52.285565
2014-06-16T11:08:50
2014-06-16T11:08:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
#/bin/evn python #-*- coding='utf-8' -*- # Authors: Robert Layton <robertlayton@gmail.com> # Olivier Grisel <olivier.grisel@ensta.org> # Mathieu Blondel <mathieu@mblondel.org> # # License: BSD 3 clause print(__doc__) import numpy as np import pylab as pl from sklearn.cluster import KMeans from sklea...
[ "heway.cn@gmail.com" ]
heway.cn@gmail.com
ce7b88bcc169d7506cdfc7ce433db94ac446e0c6
a0a5c9879e6eb3f599dac46cabf3a0df4ed92a43
/stream.py
ce6b33ec68c2cb444c2ea0f465aeb49ae4acf0f3
[ "MIT" ]
permissive
SyrZifanW/600
cc8e6fe3a2f29dc883b500b99af2b5e6942e5981
6fdc3e5e5ec7133d0ef50af4f29d5cffb0985c67
refs/heads/master
2021-06-20T01:18:39.184410
2020-04-15T20:57:55
2020-04-15T20:57:55
254,494,682
0
3
MIT
2020-04-11T14:32:26
2020-04-09T22:51:12
Python
UTF-8
Python
false
false
16,444
py
import sys import twitter import sqlite3 import time def oauth_login(): CONSUMER_KEY = '' CONSUMER_SECRET = '' OAUTH_TOKEN = '' OAUTH_TOKEN_SECRET = '' auth = twitter.oauth.OAuth(OAUTH_TOKEN, OAUTH_TOKEN_SECRET, CONSUMER_KEY, CONSUMER_SECRET) twitter_api = twitt...
[ "spereshelde@gmail.com" ]
spereshelde@gmail.com
ebb6d4329d0a72b943eceeaa361603e468a00491
2f17d0b69206300e38741285d3101f5e9d5a769a
/04 - 字符串变量/code_challenge_solution.py
3d87170a958ca4c5212cf96e8b81949cd68f384e
[ "MIT" ]
permissive
lingshen09/c9-python-getting-started-zh
2db34457fd6a16faead1b35ca8d37bd9f40bf2da
483d9c13ac085b6342b10223bb81e3e6ab34cc28
refs/heads/master
2020-12-07T10:02:02.195592
2020-01-10T08:56:39
2020-01-10T08:56:39
232,698,988
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
# ask a user to enter their first name and store it in a variable 让用户输入姓并存入变量first_name first_name = input('What is your first name? ') # ask a user to enter their last name and store it in a variable 让用户输入名字并存入变量last_name last_name = input('What is your last name? ') # print their full name 打印出完整姓名 # Make sure you ...
[ "xiaodawei@qeeyou.cn" ]
xiaodawei@qeeyou.cn
f36ba303596cbb747219a2c2e7f7ef047a3de25d
555c6ae723f2466673b7e6aeea11e7071461bfb3
/sakura/common/tools.py
66706081a63c70c046e108faf53597dc919d3359
[]
no_license
riteshms/sakura
788ade92cd0f65fb891a737d0113b807bf955a33
e8d2b4454c26ea80f6275a1bde293db38db73d30
refs/heads/master
2021-07-05T10:58:41.774892
2017-09-20T09:03:15
2017-09-22T14:53:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
import sys, gevent class StdoutProxy(object): def __init__(self, stdout): self.stdout = stdout def write(self, s): self.stdout.write(s) self.stdout.flush() def __getattr__(self, attr): return getattr(self.stdout, attr) def set_unbuffered_stdout(): sys.stdout = StdoutPro...
[ "etienne.duble@imag.fr" ]
etienne.duble@imag.fr
03a7ebb03c05b658a236c3dea48771fc3a2d4243
3d9d87cdb5617694c7307f5af0bd3d885524ad7d
/main.py
9d9ec2130838ccc328009f0fe17e8af79d6d3e89
[]
no_license
nasimnian/ADC-802.11
a5f1f644deace9957931a1e28b2483f2c6a04024
bfb6f44ae7657c9d3064dd2e2e9f448b2a1df0fa
refs/heads/main
2023-03-02T17:47:37.775049
2021-02-07T13:48:17
2021-02-07T13:48:17
336,806,329
0
0
null
2021-02-07T14:26:38
2021-02-07T14:26:37
null
UTF-8
Python
false
false
3,898
py
## Modules import numpy as np import math import matplotlib.pyplot as plt from numpy import fft ## Initialization bpsk_6 = { "rate": 6, "coding rate": 1/2, "Nbpsc": 1, "Ncbps": 48, "Ndbps": 24, "RATE": [1, 1, 0, 1], } bpsk_9 = { "rate": 9, "...
[ "noreply@github.com" ]
noreply@github.com
0ec29911f7cb44e391963134825f3be0ec1676b5
606d7c7b71b39134bea3c979dc5400f75148001a
/basic/wordcount.py
a07418ac22c16b990090405703ded1397b10969e
[ "Apache-2.0" ]
permissive
aditya2kx/GooglePythonExcercises
20ecb8073329108ef0d7a712ab0e053f566bab7c
4ad12bda31fedbd5076b4b5887be49c4aef623e8
refs/heads/master
2021-01-02T08:14:37.045596
2017-08-01T07:27:52
2017-08-01T07:27:52
98,972,227
0
0
null
null
null
null
UTF-8
Python
false
false
2,822
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ """Wordcount exercise Google's Python class The main() below is already defined and comp...
[ "adi2ky@yahoo-inc.com" ]
adi2ky@yahoo-inc.com
25439acf858c1dfe9d9f42de104a9aeb6e09e8b4
ae59ba0b5140e80a4ae3aa89c5dd46a628b19033
/moment_calculation.py
edb76dccd60daf4f2ad82ad92791a2bb0c78eed1
[ "MIT" ]
permissive
Smitheey/robinhoodMarket
4008fc692e3a76b34efc58adb8bda65bef1d26d3
f535f82a7546a354135816eb2f914a9508e05197
refs/heads/master
2022-12-29T01:48:54.202440
2020-10-12T20:58:34
2020-10-12T20:58:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,603
py
''' Util functions to calculate moments through the program ''' from project_parameter import * def get_realized_daily_vol(returns, make_pct=True): ''' :param returns: 1D np array of doubles, corresponding to financial returns :param log_ret: True iif the returns given are log-returns (True by default, sin...
[ "gaby.cazau@gmail.com" ]
gaby.cazau@gmail.com
decd67bc9c7ad4b5e89eb587294568092dcb65ac
0f8b4e30b36dc33ca645f716183a975268d720ac
/polls/urls.py
accb6192be30430adfe0604e9d03c85852e4131d
[ "MIT" ]
permissive
srgautam01/pollalizer
6af0a846f56559026beb883d14542fc82da79cf2
8808907f3f17078233d17d096ce80659fdd8e1be
refs/heads/main
2023-03-28T10:00:38.627063
2021-03-31T18:36:48
2021-03-31T18:36:48
350,174,890
1
0
null
null
null
null
UTF-8
Python
false
false
346
py
from django.urls import path from . import views app_name = 'polls' urlpatterns = [ path('', views.IndexView.as_view(), name='index'), path('<int:pk>/', views.DetailView.as_view(), name='detail'), path('<int:pk>/results/', views.ResultView.as_view(), name='results'), path('<int:question_id>/vote/', vi...
[ "sundar.gautam@selu.edu" ]
sundar.gautam@selu.edu
1349ca196e5a2ff6e0419f003553c46d2bbdae9b
0cd2d7ee58a7c2d25e8b76d131c69108b246dc20
/likelion/settings.py
75ddcc9ca2c8b48ec186b506bdaf3ab883839476
[]
no_license
suzy0125/lastxshell
bb1eb8d9ad839aac066a25086e2110b3b784033e
fe54c2b74fb59b03e672bad8010ab36c6483134f
refs/heads/master
2020-06-17T13:13:05.973513
2019-07-31T04:35:37
2019-07-31T04:35:37
195,935,272
0
0
null
null
null
null
UTF-8
Python
false
false
3,335
py
""" Django settings for likelion 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 ...
[ "xz_xz@hanmail.net" ]
xz_xz@hanmail.net
e9e2ff9a1feac90f1521554b8284b96815b18e34
f6ee5c1fe6fda190c558a1da906fb21cddeff79a
/HandsOn/Aula02/Models/Model.py
704777c07c06e60aad6f53a0ee1e40100e72c389
[]
no_license
SpectronPanic/FourLinux2
2c32f304a18d528297e99108bb7ee0ab9a0d0287
e888be7c5ac968029c73c9dd44ce8342cf543e8d
refs/heads/master
2021-01-20T19:36:32.603860
2016-06-01T00:30:33
2016-06-01T00:30:33
60,132,638
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
#!/usr/bin/python from flask import Flask from flask.ext.mongoengine import MongoEngine from datetime import datetime app = Flask(__name__) app.config["MONGODB_SETTINGS"] = {"db":"dexter-api"} db = MongoEngine(app) class Usuarios(db.Document): nome = db.StringField() email = db.StringField(unique=True) ...
[ "alisson.machado@4linux.com.br" ]
alisson.machado@4linux.com.br
ab33e8f4a3f0597c4a1c685d8a052c7527bf862f
b97427da4c076d0c296a66267066c5a763ea702b
/mods/log.py
80354e5fe3841d604b4ab4ba4feca8f17649234f
[ "MIT" ]
permissive
seyhajin/flux
d31d0edb5160c2bc2044db45d4bb59c6bea407b5
22884cd9a9cab117b0013394ace2a399bd5907f7
refs/heads/main
2023-04-08T23:54:17.355750
2021-04-23T09:27:01
2021-04-23T09:27:01
349,572,671
5
0
null
null
null
null
UTF-8
Python
false
false
2,725
py
"""logging functions""" import sys from mods import util #------------------------------------------------------------------------------ #from datetime import datetime #TODO: add datetime - (datetime.now().strftime('%H:%M:%S')) # log colors BLACK = '\033[30m' RED = '\033[31m' GREEN = '\033[32m' YELLOW = '...
[ "seyhajin@gmail.com" ]
seyhajin@gmail.com
f32d432c18ea133d1a4fcd44d2bbae3ed5a95e43
80a15446dcbcbbe4b4605e536d64ba661be9a099
/app.py
b73a5d74aab484942106c1d4b2a9af186d128099
[]
no_license
betahope/Entrepreneur-Bookshelf
eadab2e785fae9e7f0d516b252e1e0b6633f887b
20941eef4094f12848d3fdb814ec75dee3088f23
refs/heads/master
2023-01-08T08:53:51.411907
2020-11-02T16:01:46
2020-11-02T16:01:46
305,623,360
0
1
null
null
null
null
UTF-8
Python
false
false
7,594
py
# Base of this code was inspired by CI To-Do list Mini-Project (https://github.com/Code-Institute-Solutions/TaskManagerAuth). # Code base was modified and adapted to meet the project's need. import os from flask import Flask, flash, render_template, redirect, request, session, url_for from flask_pymongo import PyMongo...
[ "me@devhope.co" ]
me@devhope.co
d37cca6c091d341668621d986cf845ec599913be
2dbb39316215cf3259fe2c16efa405af0f882117
/Polarization/jpsi/makePolPt.py
cd4f28980c9025fdc57a4b532e506b9bcd267278
[]
no_license
zhlinl/usercode
5b2eac392c947df3cd1ba335337619b86357d481
64a35973567d7ecb2bfbd240f9bcbb9dc897bee6
refs/heads/master
2020-06-02T17:56:26.424790
2013-06-25T12:00:23
2013-06-25T12:00:23
10,526,709
0
1
null
null
null
null
UTF-8
Python
false
false
9,269
py
#!/usr/bin/env python # implementation of the full polarization fit using a RooSimultaneous # should be much more stable than what we had previously # nuisance parameters will be fit without polarization first and # then constrained during polarization fit. import os from optparse import OptionParser import ROOT impo...
[ "" ]
58a5f07540b39ebe0f9262bdb34450227fadb59f
f2d35178a44f56d96b9056f328165d33e7349e75
/project/code/src/posdbos/processor/gyro_processor.py
287fe8515bd53d5d1baa4ef911982a6b9552e3c4
[]
no_license
AlexanderWebber0/current-adas
5cef224577d00439e705d51cd093c3d4e161826f
94f881ce2ed5eeb5a7578c77c0dd475761d5bc55
refs/heads/master
2020-04-24T23:44:49.172937
2017-04-06T18:54:19
2017-04-06T18:54:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 23.01.2017 :author: Paul Pasler :organization: Reutlingen University ''' from posdbos.util.signal_util import SignalUtil from config.config import ConfigProvider class GyroProcessor(object): def __init__(self): self.su = SignalUtil() se...
[ "paul@ppasler.de" ]
paul@ppasler.de
78709c70029ab15aec63d76b6399c97d65281cf3
60cf9330aa2f7d81c4469486ef57159dbe566df9
/loaner/web_app/backend/api/permissions.py
ae1a9b697459c400a662d51f1cba7df01e993c0e
[ "Apache-2.0" ]
permissive
ryangugcloudca/loaner
16e8827f8c3152ecdb2fc14b1d057562e028eb75
91753e47aff26d78978ebe7aca70f4a7cbf6a3d4
refs/heads/master
2022-04-30T22:37:27.123476
2022-03-08T20:19:26
2022-03-08T20:19:26
240,277,380
0
0
Apache-2.0
2020-02-13T14:17:29
2020-02-13T14:17:28
null
UTF-8
Python
false
false
1,253
py
# 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 by applicable law or a...
[ "loaner-devs@google.com" ]
loaner-devs@google.com
412308ef5fdfbe3c97d7a1ae6a9c7348d867ee68
699a8e7c9cf651d61a3b8f47b699d7eeb3441d9f
/api/urls.py
58f1c01ad4acd2999e8ab278f66570c132002b12
[]
no_license
m7mdGNo/onlinechat
ba99d3b83c161b3cbd4d2896d59ed087192aba68
d9c10376dcdd40464ccfa9d7f3cc9222d827f418
refs/heads/main
2023-06-18T04:38:18.082075
2021-07-22T18:27:52
2021-07-22T18:27:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
from django.urls import path from .views import * urlpatterns = [ path('messages/', main, name='older') ]
[ "ahmedahmedyasseryasser@gmail.com" ]
ahmedahmedyasseryasser@gmail.com
9ddee95515d2c6dfb8656282798aa121eb5100be
af62d7e773257ce7c6fb294590c1339e38c134e2
/iampacks/cross/mercadopago/views.py
9d8d80d127df578b3665c28b262e94353ad97708
[]
no_license
sebasgoldberg/iampacks
1e3355fc3a2818766bde0b0614883d1df8a1db76
887acb4ea83ff1c89a5b70383faa1f30a811d7e7
refs/heads/master
2021-01-10T04:09:57.226591
2019-02-14T15:02:16
2019-02-14T15:02:16
52,726,621
3
0
null
null
null
null
UTF-8
Python
false
false
41
py
# coding=utf-8 # Create your views here.
[ "sebas.goldberg@gmail.com" ]
sebas.goldberg@gmail.com
08df54e86dd24b01731777565d90e2478a401f63
b93bc07c6bb70393b8e013070a20a807c6b556b4
/run_benchmarks.py
5638d3b4b7dd61cdc8f301c0b44783d52ae157ff
[ "MIT" ]
permissive
LukasSlouka/TF_XNN
61c7481ebd48c9ea59d9576ad59255fdb6d2a02b
152698a5da5ed6fff9ec4337e8dca4a1a396b458
refs/heads/master
2020-03-17T23:33:06.107938
2018-05-19T13:03:17
2018-05-19T13:03:17
134,050,954
3
0
null
null
null
null
UTF-8
Python
false
false
257
py
from benchmarks.gemm_benchmark import gemm_benchmark if __name__ == '__main__': for batch_size in range(100, 4001, 100): gemm_benchmark(run_tf=True, out_path='logs/bm_xgemm_2', batch_size=batch_size, min=100, max=4001, step=100, iterations=10)
[ "xslouk02@stud.fit.vutbr.cz" ]
xslouk02@stud.fit.vutbr.cz
1e069099d8f5b8c00afc0c0dcaa1de51d0c80883
e9fdf7f854903336041be02b3affb6ce73500d57
/aiotfm/packet.py
7a050a1f91fc3845d6d3702f35007c31bb53c6ad
[ "MIT" ]
permissive
Blank3495/aiotfm
40d6d064a77d5d4dd7885ec1f9bc091102c48804
5bf87713dbb7d880b733ac4388c73545907bd1d8
refs/heads/master
2020-09-21T19:59:26.768407
2019-11-30T21:04:49
2019-11-30T21:04:49
224,909,097
0
0
MIT
2019-11-29T19:07:34
2019-11-29T19:07:33
null
UTF-8
Python
false
false
4,749
py
from aiotfm.errors import PacketError, PacketTooLarge, XXTEAInvalidPacket, XXTEAInvalidKeys class Packet: def __init__(self, buffer=None): if buffer is None: buffer = bytearray() elif not isinstance(buffer, bytearray): buffer = bytearray(buffer) self.buffer = buffer self.pos = 0 self.exported = Fals...
[ "athesdrake@gmail.com" ]
athesdrake@gmail.com
607d1da123c004833b6bb3de8ea05d10bed09217
4cf33ce9959fbb2180305f0f03dfc89db05dc55c
/RockPhysics.py
88046814bd02f92463ed58a5db89c79c5b6107dc
[ "MIT" ]
permissive
profmagmaticyemi/SeReMpy
ab3145b68a92465f2ce45738af4532241c8124e9
743905a148b64b42b3438a193f550356285d9334
refs/heads/main
2023-02-22T13:27:50.182384
2021-01-28T20:38:07
2021-01-28T20:38:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,209
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 17 18:40:50 2020 @author: dariograna """ import numpy as np def BerrymanInclusionModel(Phi, Rho, Kmat, Gmat, Kfl, Ar): # BERRYMAN INCLUSION MODEL implements Berryman's inclusion model for # prolate and oblate spheroids # INPUT Phi = P...
[ "noreply@github.com" ]
noreply@github.com
25c471b5da6a1bc9b5a5b072b018d4fe3b99a274
28408be306353cca67d43c20beb4d5acfe37ea57
/lab2/setup.py
aef15a64b65c398caf3ec059981c2ae0520afe35
[]
no_license
DimaAntoniuk/amazon
84d2fd2fb49c8e630b5af9f908546df8f06cac26
0c844f91500e2660e3f2c271393b8e7fd2ec64e0
refs/heads/main
2023-04-12T15:06:11.708319
2021-04-13T19:09:01
2021-04-13T19:09:01
353,085,213
0
0
null
2021-04-13T19:09:02
2021-03-30T17:27:04
Python
UTF-8
Python
false
false
323
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() def create_app(): app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///database/amazon.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False db.init_app(app) return app app = create_ap...
[ "dimaantoniuk09@gmail.com" ]
dimaantoniuk09@gmail.com
1e9578c1be4629580715ea3f431e6e47e384fbb2
05d052cd8456d99ce267ed446487f96e248f108f
/web_flask/3-python_route.py
892a7514853a4ce0e8529d22bb90d4a3c7bba1a7
[]
no_license
gjdame/AirBnB_clone_v2
c29b5c8f515db61633dec3ea1332ffc7ff9350ba
47afe62fccdf9369edcacf49dc5de5071279ad54
refs/heads/master
2020-03-23T15:21:02.206965
2018-08-15T22:34:31
2018-08-15T22:34:31
141,740,814
0
2
null
2018-07-23T17:00:54
2018-07-20T17:39:23
Python
UTF-8
Python
false
false
553
py
#!/usr/bin/python3 '''crates a flask web application''' from flask import Flask app = Flask(__name__) app.url_map.strict_slashes = False @app.route('/') def hello(): return('Hello HBNB!') @app.route('/hbnb') def hbnb(): return('HBNB') @app.route('/c/<text>') def c_is_fun(text): return('C %s' % text.r...
[ "gregoryjdame@gmail.com" ]
gregoryjdame@gmail.com
37e3e3512a6f1f1287b1a694f08dfe50a02f42c1
6a2dd06b6cbdc9117b58b6db0b491d90ac653f15
/day06.py
2e7658d53f595695e76d5ca2a86dc21b3ae862ab
[]
no_license
sweavo/code-advent-2019
292ad2f11d623c7e7e615988c9949874cdd07239
a8514d6c1263a7b2f94f1b875403d326a3554438
refs/heads/master
2020-09-23T02:36:16.807651
2019-12-19T14:03:59
2019-12-19T14:03:59
225,380,640
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
#!python3 """ Starting at each body that orbits anything, count its direct and indirect orbits. We do this by first extracting the relationship "directly_orbits". Then for each key in that map, we count the steps to get to the COM. Summing the lengths of those paths gives us the answer. Right? """ import...
[ "sweavo@gmail.com" ]
sweavo@gmail.com
47162ebd1af4d95ee0efbbf121ed9bf6ceb3515d
9a63689a52902185bc4ed1da1556244b7c05f3d2
/venv/Scripts/easy_install-3.8-script.py
9f72ffd7041febdb524eb25da96a36210dc2f444
[]
no_license
anabanslo/hw-dictionary
c226789e5361276ba75c959d033bac456b07470d
2a7568c76b6397f7d44ebe040104b16d7cd0aed9
refs/heads/master
2021-02-16T09:12:10.447935
2020-03-04T19:38:36
2020-03-04T19:38:36
244,988,063
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#!C:\Users\Anaba\PycharmProjects\hw-data-dictionery\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-...
[ "anabananaslo@hotmail.com" ]
anabananaslo@hotmail.com
7b74cc681fdd50f712c42f1604cb790300fe0a4d
ef821468b081ef2a0b81bf08596a2c81e1c1ef1a
/PythonWebBasics_Django/petstagram/pets/urls.py
212f52bff8daa5f925d309e180d924a318f1cc1b
[]
no_license
Ivaylo-Atanasov93/The-Learning-Process
71db22cd79f6d961b9852f140f4285ef7820dd80
354844e2c686335345f6a54b3af86b78541ed3f3
refs/heads/master
2023-03-30T20:59:34.304207
2021-03-29T15:23:05
2021-03-29T15:23:05
294,181,544
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from django.urls import path from pets.views import pets_list, show_pet_details, like_pet urlpatterns = [ path('', pets_list, name='list pets'), path('details/<int:pk>/', show_pet_details, name='pet details'), path('like/<int:pk>/', like_pet, name='like pet'), ]
[ "ivailo.atanasov93@gmail.com" ]
ivailo.atanasov93@gmail.com
209b79c613856a3a9efc9586a621842d4e69098e
f28591fab50d9b7a539c66b5a81fc91d1bc2ce64
/py3/def/uint16_bigendian_tobytes.py
718ccd6205a399b3b6fa9f1c5e6402ea7d33c9fa
[]
no_license
tnzw/tnzw.github.io
b8a5fe1f8479736bbf2b3594d511a1282939a3b3
6d95968db793cebcfa77cb49eecd987f821350db
refs/heads/master
2023-04-21T14:22:49.849859
2023-03-31T15:55:01
2023-03-31T15:55:01
176,712,013
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# uint16_bigendian_tobytes.py Version 1.0.0 # Copyright (c) 2020 Tristan Cavelier <t.cavelier@free.fr> # This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it # and/or modify it under the terms of the Do What The Fuck You Want # To Public Lice...
[ "tzw56702@outlook.com" ]
tzw56702@outlook.com
a8de7ce7a52d7cba3bbbfe5d5ff65160a6db1708
81a0c231f9c2e4c1ec974d8136beb5f142c1a19b
/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}-appsrv/db/converters.py
5431c6cb4900c38269442a240e49e0c5379ed079
[ "WTFPL" ]
permissive
todpunk/tnl-cookiecutter-first
d2099a31f695ce3f6951a725abfc00ccf0062a6e
a29d7b17e371091ce639192e93929fbd5dec25a0
refs/heads/master
2021-05-05T07:07:52.918461
2018-02-24T21:01:24
2018-02-24T21:01:24
118,851,571
0
0
null
null
null
null
UTF-8
Python
false
false
6,833
py
# -*- coding: utf-8 -*- """ This file contains utility functions for use in the Pyramid view handling """ from sqlalchemy.ext.declarative import declarative_base def make_set_of_field_names(field_names=None): """ :param field_names: :return: """ if field_names: field_names...
[ "githubpub@todandlorna.com" ]
githubpub@todandlorna.com
b57b34b5ca65e0c6b0145da406936fab562e76bd
0adae024b525ae201f88432d89efdb918e324f44
/main.py
4dbe7db07ce1ad91680f0aa05f59c1205cf225fc
[]
no_license
dosatos/own-uwsgi-framework
233e5d75817bdbfdaf0aee87e9dba0ac31ff0250
5e453099de2219c42137de66a612c24f42309ff3
refs/heads/master
2020-03-26T23:54:05.841635
2018-08-22T00:40:19
2018-08-22T00:40:19
145,576,192
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
from web.server import Server from web.mywsgi import WebApplication from project.urls import url_patterns def main(url_patterns): app = WebApplication(urls=url_patterns) server = Server(app) server.run() if __name__ == "__main__": main(url_patterns)
[ "yb2n17@soton.ac.uk" ]
yb2n17@soton.ac.uk
43d95c71ff802dedced6f59c2a3f74c50149f8eb
b9aab4585a7f5433504e17490c45b37ef98541de
/Environment.py
fc39675f9504751be487df8c33ef58830e41255b
[]
no_license
AbhishekPrabhudesai/RL-Based-Chatbot
8d5f7e18da97633b0e4b3918d5dbdb9589f0c6f2
55c1a14af4e989afcbc9a1163b8814e7089fac0b
refs/heads/master
2020-12-28T10:54:21.672735
2020-02-04T20:16:27
2020-02-04T20:16:27
238,300,030
1
0
null
null
null
null
UTF-8
Python
false
false
4,309
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 3 11:15:45 2019 @author: pagarwal """ import numpy as np import os import pandas as pd import gensim from nltk import word_tokenize # Load pre-trained Word2Vec model created by the create_model class os.chdir("/Users/pagarwal/Downloads/DRL-Chatbo...
[ "abhishek.s.prabhudesai@gmail.com" ]
abhishek.s.prabhudesai@gmail.com
c2108381f0aa3dc54ea2812312d80e98117659a0
5574620c834f96d4baf50d6aa349242dae7c17af
/126.word-ladder-ii.py
1ab52f8b88f5662f72456dcd442d5aab3fe52358
[]
no_license
Ming-H/leetcode
52dceba5f9a605afbdaa65e286a37205873e21bb
057cee4b830603ac12976ed7d5cea8d06a9b46a0
refs/heads/main
2023-09-02T21:30:48.796395
2023-09-01T01:59:48
2023-09-01T01:59:48
489,290,172
1
0
null
null
null
null
UTF-8
Python
false
false
959
py
# # @lc app=leetcode id=126 lang=python3 # # [126] Word Ladder II # import collections import string class Solution: #def findLadders(self, beginWord: str, endWord: str, wordList: List[str]) -> List[List[str]]: def findLadders(self, start, end, dic): dic.add(end) level = {start} parents...
[ "1518246548@qq.com" ]
1518246548@qq.com
9bea5e1eada06fa70192f113563e4516d9e6a21e
dd097c7ae744227b0312d762ee0482a3380ff8c6
/makenei_from_ele_xyz.py
5af3305f3e285e46149ab1da568e6c0ac15fdcba
[]
no_license
moflaher/workspace_python
0d6e98274d923a721db2b345f65c20b02ca59d08
6551e3602ead3373eafce10d11ce7b96bdcb106f
refs/heads/master
2023-03-06T02:15:01.945481
2023-03-01T19:15:51
2023-03-01T19:15:51
20,814,932
3
4
null
null
null
null
UTF-8
Python
false
false
1,260
py
from __future__ import division,print_function import numpy as np import matplotlib as mpl import scipy as sp from datatools import * import matplotlib.tri as mplt import matplotlib.pyplot as plt #from mpl_toolkits.basemap import Basemap import os as os name='kit4' xyz=np.genfromtxt(name + '.xyz') ele=np.genfromtxt...
[ "073208o@acadiau.ca" ]
073208o@acadiau.ca
b0b14da84042b9971c28982f9d77f519829a1047
aa1352a2f32c0c36194d3a6f8e683adba487a3eb
/FiRoom_backend/users/urls.py
461aad0c0a56efdbc04145b7094f3c83cd7a2a12
[]
no_license
Ace-bb/FiRoom_backend
6c98d01c40e8de31ccbe86beaeada6c62516705e
efd4d9c1d7265e42f56638d5374a569a146acc03
refs/heads/main
2023-03-30T15:48:21.376390
2021-03-23T15:53:48
2021-03-23T15:53:48
338,780,869
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from django.urls import path from . import views urlpatterns = [ path('masterIdentify/uploadCertification', views.uploadCertification), ]
[ "13489323285@163.com" ]
13489323285@163.com
5748f6c658af5cec5d0d43f8677000e582b0b680
4628b965ca7eee718b7465ad1daba9041a990dbb
/samimi_selam/sifatlar.py
8d179067975b678b1b8a7ab746b38e253c00fe37
[]
no_license
eneskeles/samimi-selam-python
c7795759357ba7554120a64fa0557ec623ac3d17
bfe2f5634ad54a4c9c5c643b074c7c0704fced9f
refs/heads/main
2023-02-21T23:17:12.276229
2021-01-17T20:57:34
2021-01-17T20:57:34
330,479,481
5
0
null
null
null
null
UTF-8
Python
false
false
187,241
py
TURKISH_ADJECTIVES = [ "100'üncü", "45'lik", "7'nci", "a'zel", "aba", "aba gibi", "abacı", "abadan", "abajurlu", "abajursuz", "abalı", "abanges", "abanoz", "abani", "abapuş", "abartıcı", "abartık", "abartılı", "abartısız", "abartmacı", ...
[ "noreply@github.com" ]
noreply@github.com
4924907b43a6235b4d307800a50c588f9542004a
17d2aa771b44fc45d6d901d0bf1eaf3477fe52ca
/Problem5-Longest Palindromic Substring .py
a745b014d111cd2d5289275217eff148c910619b
[]
no_license
QianchaoLiu/LeetCode
b857dd00386b1263718590aa8ba7d671634570da
24ad958a781e4b000923bd1b448550ed075d1471
refs/heads/master
2020-12-24T16:23:48.060998
2016-12-15T15:43:07
2016-12-15T15:43:07
37,072,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
class Solution: # @param {string} s # @return {string} def longestPalindrome(self, s): if len(s)<=1: return s else: def isPalindrome(st): if len(st)>=2: if st[0]==st[len(st)-1]: return 1*isPalindrome(st[1:len...
[ "liuqianchao@163.com" ]
liuqianchao@163.com
bcdba61080bd76e4b9820530e9c810c32812d9ef
d65c38985f97414d40ba88eb99a2209aa8da2413
/python/简单的语句/import.py
2ba71975f86703aa99f4aadc2477b8734568510f
[]
no_license
martinroad/Notes
ffabeabc0ddb79984981f5a36d2ccbbaea73438c
fb356157fd3f06d31dc482e676b372277f9e03cb
refs/heads/master
2023-04-19T12:56:07.019341
2021-05-10T02:48:36
2021-05-10T02:48:36
356,278,268
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
# import 语句 # import moduled # import module as new_name # from module import function # from module import function as new_name # from module import *
[ "hghai@126.com" ]
hghai@126.com
ec8f89eaa854f2b250ee448172f016ce0aede211
adce83d8c3651b5dbe54262d0dd7c11266b3d592
/tvb_algo/multiscale.py
7429e1228d42987d27496da19e0dd9e55f58888b
[]
no_license
maedoc/tvb-algo
675c9960e64b4522c0274fa07dd456a7fd7996c9
616fe08e18daee2734f7ad0d99a410057916d48e
refs/heads/master
2021-07-06T05:49:21.425533
2020-08-31T13:28:56
2020-08-31T13:28:56
178,886,838
1
0
null
null
null
null
UTF-8
Python
false
false
364
py
import numpy as np def vtx2roi(rmap, vtx): """Map vertex activity to ROIs with sum. """ out = np.zeros((rmap.max() + 1,) + vtx.shape[1:]) np.add.at(out, rmap, vtx) return out def roi2vtx(rmap, reg): """Map ROI activity to vertices. """ # TODO div by vtx count st. vtx2roi(rmap, roi2vt...
[ "marmaduke.woodman@univ-amu.fr" ]
marmaduke.woodman@univ-amu.fr
32d9a4a4d0da479611326ea7acdfa3b28b014e52
bb88b1d6531767c90f3855be28ffd021e89f5e5d
/trashpanda-ds/post_pipeline/view_boxes/view_boxes.py
208a2ac3ae2ecd2c16e6e818948332d1a3813615
[ "MIT" ]
permissive
Tclack88/thetrashpanda
279cb2e1c29c18b2f6decc9c81b6bf913c0d6fa2
0e25db339c10bedf1c5c01940355fe445db62f99
refs/heads/master
2023-02-02T13:55:41.370879
2021-04-28T06:23:40
2021-04-28T06:23:40
247,579,096
0
1
null
2023-01-24T04:24:05
2020-03-16T00:54:28
Jupyter Notebook
UTF-8
Python
false
false
2,876
py
#!/usr/bin/env python3 import cv2 import imghdr import numpy as np import os from PIL import Image, ImageDraw import time # Show boxes def show_boxes(image_file,text_file): """ A tool for visualizing the created bounding boxes NOTE: As written it will only show the first bounding box, if multiple lin...
[ "tclack@aol.com" ]
tclack@aol.com
c0118ad0e0f29fc84614d3d9782b2b74eeeff8b8
7ee1fd7584f8770cd2381d85f797bf85cb9b4b67
/usuarios/applications/users/migrations/0002_auto_20200318_0722.py
a428a6912352c1390b859456cca63c55c637915a
[]
no_license
neunapp/usuariosdj
3171160fdf6898d07d6b353d034c70801e4bc21b
3fe69b7357757baa5d799b614f232d75ed659502
refs/heads/master
2022-12-01T16:51:00.432272
2020-09-17T14:28:21
2020-09-17T14:28:21
237,993,639
4
2
null
2022-11-22T05:17:26
2020-02-03T15:10:33
Python
UTF-8
Python
false
false
550
py
# Generated by Django 3.0.3 on 2020-03-18 07:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='apellidos', fi...
[ "csantacruz1127@gmail.com" ]
csantacruz1127@gmail.com
7e749d9cfdf6b6af07e6c5e6d4938e412ae0aeb3
d26aebefdc6358f63e050f7712589e9fd9f4a258
/cat_api_proj/settings.py
02f54b418b70047175a1723d0eec397f4420c924
[]
no_license
matthewgstillman/Cats_API
e93c7319a26c6bb06ed1be211e8f588edc4dc871
c0918930d663527535e35d02c5c7ac098dbf6aa4
refs/heads/master
2020-03-29T20:47:06.514147
2018-09-25T21:17:48
2018-09-25T21:17:48
150,330,437
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
""" Django settings for cat_api_proj project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import...
[ "matthewgstillman@gmail.com" ]
matthewgstillman@gmail.com
c4006da28b8476755c3f41bf5a0fcdea5757ca98
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/azure-firewall/azext_firewall/vendored_sdks/v2020_07_01/v2020_07_01/aio/operations/_express_route_connections_operations.py
a0bfb04f1caa8c809a50e9e6dd906b6a5def7b1f
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
21,558
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 may ...
[ "noreply@github.com" ]
noreply@github.com
cd132ece0a207de28397b90ab9b66aed61d02342
1f13d652d9b39a120429a09b223d1ceaa7b331a5
/YingXao_Embedded/sensor_dev/DHT22/adafruit_blinka/board/hardkernel/odroidc4.py
27ccae8afc443cfd9cb3dec32cb3d5ba627d59af
[ "MIT" ]
permissive
savage12138/YingXao
18fcb01eb508e60db06bae2a5036cf98169d2dac
66bc13046f86cef3ca8912d28df57f3de5491189
refs/heads/main
2023-04-07T14:51:52.075227
2021-04-10T19:50:00
2021-04-10T19:50:00
356,682,309
1
0
MIT
2021-04-10T20:03:06
2021-04-10T20:03:06
null
UTF-8
Python
false
false
970
py
"""Pin definitions for the Odroid C4.""" from adafruit_blinka.microcontroller.amlogic.s905x3 import pin for it in pin.i2cPorts: globals()["SCL" + str(it[0])] = it[1] globals()["SDA" + str(it[0])] = it[2] SCL = pin.i2cPorts[0][1] SDA = pin.i2cPorts[0][2] SCLK = pin.SPI0_SCLK MOSI = pin.SPI0_MOSI MISO = pin.S...
[ "yida12138@gmail.com" ]
yida12138@gmail.com
403dde571e965f481ee7bab27c365952df1ee720
d4c8111bcd4302f4da035c4f57f6518037cb5c5a
/hq/hquery/sequences.py
18b424f0d6f4d5ea813098ea8f7dcd0f5bfec744
[ "MIT" ]
permissive
rbwinslow/hq
0bffbc56e0edfc33c260bccdeb9ccec685f8bf7a
54ddb5e26d3802ccdeb3bd40d9a814d4758a1553
refs/heads/master
2023-01-08T00:54:29.046943
2022-09-28T21:28:15
2022-09-28T21:28:15
59,501,759
43
1
MIT
2022-12-26T22:34:58
2016-05-23T16:58:39
Python
UTF-8
Python
false
false
1,145
py
from itertools import filterfalse from hq.hquery.evaluation_error import HqueryEvaluationError from hq.hquery.object_type import object_type_name from hq.soup_util import is_any_node def make_node_set(node_set, reverse=False): ids = set() def is_unique_id(node): node_id = id(node) if node_id...
[ "rwinslow@ziprecruiter.com" ]
rwinslow@ziprecruiter.com
9cd767c1ed25c3f65fb035056e76a3eee110f22a
f54686f2c730633ff2d84333d9e706e9ca344b77
/Game Theory/Strategies_pool/per_ddc.py
72e4066e7e1031309ef4af58997b46b7144506a2
[]
no_license
kmoulart/SCI_Game_Theory
74cd973e02552b6cb7dfc78cc747c8edc1821c80
8d8978556cb8b770ef3f3537b5f817380b407259
refs/heads/master
2020-05-03T22:56:27.376189
2014-03-31T13:33:08
2014-03-31T13:33:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
if memory == None: memory = 0 coop = 0 else: if memory == 0 or memory == 1: coop = 0 else: coop = 1 memory = (memory + 1) % 3
[ "kevin@moulart.be" ]
kevin@moulart.be
598093b781f847e1a6804ccb957bcb6ecb8362ef
353e68cfa24cd35d8ba21ddad7fcf6b8ee5173f8
/reconstructImg.py
1ad848eff14df3425e7defe012b825beae19c174
[]
no_license
chetan-tutika/Image-Blending
3d500490e792499bc407fd9a5804565a18ace134
605f1ab0cc401e8e799e5b14476f4df5d836a36d
refs/heads/master
2020-04-01T05:12:43.040544
2018-10-13T17:23:12
2018-10-13T17:23:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,458
py
''' File name: reconstructImg.py Author: Date created: ''' from PIL import Image import matplotlib.pyplot as plt from scipy import signal import numpy as np import matplotlib.pyplot as plt from matplotlib.patches import Polygon from matplotlib.mlab import dist_point_to_segment from matplotlib.path im...
[ "noreply@github.com" ]
noreply@github.com
251b09205b5da76bbeea02956b12072047bd8dc7
56e21c73978ee176b49226a2c982156c4fb9c0c7
/fasta.py
2668b13b7684fd4002fb87556b5c33f608f3c663
[]
no_license
michalfilippi/IntroductionToBioinformatics
8ce4fd9c50caf56f462715fb0a802d6c815646db
57d5d00ffe858f1e16c46e77495f420398b205ad
refs/heads/master
2021-01-11T10:07:07.156059
2016-12-18T15:36:34
2016-12-18T15:36:34
72,772,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
class Reader(): """Simple reader of dna sequences in FASTA format. """ def __init__(self, filename, verbose=False): """ :param filename: location of file with FASTA-formated sequences """ self.ordered_ids = [] self.sequences = dict() if verbose: ...
[ "michal.filippi@gmail.com" ]
michal.filippi@gmail.com