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
6321a92b239f65d266baddd409d0323cffabd579
89b6997b24e404c176358073626a8bfad7bcdb8e
/.history/courses/models_20210412233123.py
f22ac53d1746d99cb174542b2a8b300401606f5f
[]
no_license
mohamedhawas123/Education-platform-django
513e64ac112880385402ce609077796578b4e9ee
7b83e66bba66b8b2b1a007f5818a534653e6abfb
refs/heads/main
2023-07-18T16:19:52.177886
2021-09-24T12:04:09
2021-09-24T12:04:09
352,306,462
1
0
null
null
null
null
UTF-8
Python
false
false
2,324
py
from django.db import models from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey from .fields import OrderField class Subject(models.Model): title = models.CharField(max_length=200) slug = model...
[ "mohamedhawas123@gmail.com" ]
mohamedhawas123@gmail.com
b8f3ca1ba85090585d03615a4e4cb1e7fa58e0d2
87b13f38cc8b865acf76e692a930e43683753418
/list/prog3.py
e62f3d375ec24145c17fc3b2e51b75bdb5c3ed6c
[]
no_license
Sandeep-2511/Python-Practise
016b68592937b137d30cc1855f9798b933a94ff5
8b875183b6e295795a8ce8c80cb1e84661c3e9ae
refs/heads/master
2022-01-29T21:50:05.931622
2019-07-15T08:29:12
2019-07-15T08:29:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
a=[1,2,3,4,5,6,7,8,9] print(a) a.append(0) print(a) a.insert(3,5) print(a)
[ "potdukhesandeep7@gmail.com" ]
potdukhesandeep7@gmail.com
7872929cfbde81dd0d2e6306e71245e055ce886e
d1c661981c1b4a4f544e4afe4a769c9a7cb014fa
/prb-005.py
15feb6573ef65c6a5ec614ed81d12ef69196cb26
[]
no_license
vsuh/eiler.py
e231dcc51a8cf70479a4c8d0dd7da1b1a8d74479
34840f922f48eb743a019836807132d40a0a3d98
refs/heads/master
2020-05-20T07:00:42.513156
2019-05-20T06:25:40
2019-05-20T06:25:40
185,441,835
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
# VSCraft ''' задача: https://projecteuler.net/problem=5 перевод: http://euler.jakumo.org/problems/view/5.html 2520 - самое маленькое число, которое делится без остатка на все числа от 1 до 10. Какое самое маленькое число делится нацело на все числа от 1 до 20? ''' # solved 07.05.2019 15:32 (232792560) for i in rang...
[ "sukhikh@moscollector.ru" ]
sukhikh@moscollector.ru
c9788b267999cf0193e34feb9f9479d146db440f
b5979e038aa08124bd436f451c808690e7ab8834
/holamundo.py
7f642c131ab6719d26f10954c4aeced9f2b62eec
[]
no_license
alexandrajimenezc/pythonrepaso
191486ff3b31e76e2546e215dd0f4e8dda3ebabb
b1f7fe57cca3ad1cec5c8cb1b30a220cb2a96470
refs/heads/master
2022-07-30T12:39:04.459780
2020-05-26T11:58:23
2020-05-26T11:58:23
267,030,814
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
print('hola mundo con jose y marle') print("hola mundo con jose y marle") print(100 + 70) #son nros 'hola me llamo alexandra 18-01-1994' print('hola me llamo alexandra 18-01-1994') print(5654) print('5654') print(2000+5000) print(type(5654)) #integer print(type('5654')) #string print(type(5 + 15.2)) #marle es may...
[ "artesalexj@gmail.com" ]
artesalexj@gmail.com
6a20e5f8abbe7f63a1bdaa934e00d7d7693ebcfb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03014/s911800035.py
b678df13f7f47ee72f75b442123a31cda6f77d04
[]
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
1,186
py
h, w = map(int, input().split()) s = [list(input()) for _ in range(h)] u_light = [[0]*w for _ in range(h)] #上をてらせる数 d_light = [[0]*w for _ in range(h)] #下 l_light = [[0]*w for _ in range(h)] #左 r_light = [[0]*w for _ in range(h)] #右 def count_light(i, j): if s[i][j] == '.': return 1 else: retur...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
20992508982f1c306ae4612ed1751a1a497b6692
680d8f8009635a6e1b30e6cfac4ff2140fc8d539
/blockchain.py
f117b253dc361c6737661c67e90edaf22d105c28
[]
no_license
koukoudo/NMBlockchain
912672b4683095f427883ddb3176d000c57c1a8f
3850f4d778221a185ea9a5efd34c803b3775dc7b
refs/heads/master
2023-04-03T14:06:50.050967
2021-03-30T13:22:50
2021-03-30T13:22:50
311,763,247
0
0
null
null
null
null
UTF-8
Python
false
false
5,547
py
import time import hashlib import urllib.parse from urllib.parse import urlparse import json import random class Block: def __init__(self, index, timestamp, transactions, previous_hash, nonce=0): self.index = index self.timestamp = timestamp self.transactions = transactions ...
[ "noreply@github.com" ]
koukoudo.noreply@github.com
e8544684fabdd241c121afa87187603468af938e
3dfc8a03bb7b7efc8c2d71ee5e7776f880366e85
/shor/shnor.py
1524039b6f63380480b9c01d02a15a915e82dee7
[]
no_license
gendsbk/Labs2
98b7426470bc4c3a577130764b9b9766597512d3
76e1948eaba414af3887b001f08f6edf440f7baa
refs/heads/master
2021-01-22T06:03:27.658068
2015-02-01T15:21:20
2015-02-01T15:21:20
27,713,275
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
#!/usr/bin/python # -*- coding: utf-8 -*- import bint import sys import random def evklid(a, b): if a == bint.bint(0): return 0, 1, b if b == bint.bint(0): return 1, 0, a px = bint.bint(0) ppx = bint.bint(1) py = bint.bint(1) ppy = bint.bint(0) while b > bint.bint(0): q = a / b a, b = b, a % b...
[ "schastemet@mail.ru" ]
schastemet@mail.ru
e35eab04b4ce20dd8da6bb6a25d0598607247c43
2a0e6a7c7a71d254b6132d23c13681cd4dd6c15a
/main.py
56eb5ca02cc7530c5418b3211cf8420a1667c912
[]
no_license
BarneyLu/blog-with-users-end-github
a5a9c1e623e3401a662fa6f91891dff650ced0e4
03db879ea8580e1588732a5ed3d42d26d9d463b7
refs/heads/master
2023-08-29T21:16:46.057979
2021-10-18T07:54:07
2021-10-18T07:54:07
416,209,488
0
0
null
null
null
null
UTF-8
Python
false
false
9,058
py
from flask import Flask, render_template, redirect, url_for, flash, abort from flask_bootstrap import Bootstrap from flask_ckeditor import CKEditor from datetime import date from werkzeug.security import generate_password_hash, check_password_hash from flask_sqlalchemy import SQLAlchemy from sqlalchemy.orm import relat...
[ "asebarneylu@gmail.com" ]
asebarneylu@gmail.com
5d2d8a99ce51656c2de49abdff3ce2e9b74c6fa7
c12fa4da989b3d833fbe2ef26a5fd543c2d66d0b
/graph_plots.py
23f262440bff2878bd291f8ce52cccac93f813f6
[]
no_license
nhuthanh2610/DataStreams
183b01efb8263039de1b0282d2510f864a05e190
7312937edc4db5f18f2ef245eb8807d66a2ca083
refs/heads/master
2020-06-20T13:15:55.580866
2016-12-06T04:13:44
2016-12-06T04:13:44
74,862,683
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
import cPickle as pickle from q4_code_questions import load_variable,save_variable import matplotlib.pyplot as plt import numpy as np def plot_error_hist(exact_freq,error,n_hashes,n_buckets): plt.hist(np.log10(error),np.sqrt(len(error)),'b.') plt.title('n_hashes = ' + str(n_hashes) + ', n_buckets = 3*10^' ...
[ "nhuthanh2610@gmail.com" ]
nhuthanh2610@gmail.com
6a10fdec032287788f43ac694db394d334627b95
cd8f7ecd20c58ce1ae0fe3840f7c7ee961aa5819
/Find Duplicate File in System.py
ac5ae45decb6dd46daedbe7378173039d67c8773
[ "Apache-2.0" ]
permissive
sugia/leetcode
9b0f2a3521b088f8f7e5633c2c6c17c76d33dcaf
6facec2a54d1d9f133f420c9bce1d1043f57ebc6
refs/heads/master
2021-06-05T07:20:04.099488
2021-02-24T07:24:50
2021-02-24T07:24:50
29,124,136
1
0
null
null
null
null
UTF-8
Python
false
false
2,859
py
''' Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of duplicate files in the file system in terms of their paths. A group of duplicate files consists of at least two files that have exactly the same content. A single dire...
[ "noreply@github.com" ]
sugia.noreply@github.com
89a0785d067ba85fdb5f0718923cb544b67b8140
00b1fe62aff1bbad885a1b13354239b07925c5c1
/catalyst_rl/rl/scripts/load_db.py
e27de3d61db62001fe0d5978f118d899921047fa
[ "Apache-2.0" ]
permissive
catalyst-team/catalyst-rl
a78675c477bef478d73cd1e7101be6dbb7b586aa
75ffa808e2bbb9071a169a1a9c813deb6a69a797
refs/heads/master
2021-09-22T08:36:12.161991
2021-09-13T05:59:12
2021-09-13T05:59:12
247,928,934
50
8
null
null
null
null
UTF-8
Python
false
false
1,791
py
#!/usr/bin/env python # usage: # catalyst_rl-rl load-db --db=redis --in-pkl ./my_db_0.pkl ./my_db_1.pkl import argparse import pickle import numpy as np from tqdm import tqdm from catalyst_rl import utils from catalyst_rl.rl.db import MongoDB, RedisDB def build_args(parser): parser.add_argument("--host", type=...
[ "scitator@gmail.com" ]
scitator@gmail.com
a9e81cf666f862a936932691eb91b60940bcab8b
5874a063e615e8d74000b3e8b827674d1d28f58d
/lesson-one/sentence_generator.py
4861e43e8a43654039b201981814789e845c1684
[]
no_license
colaghost/ai-nlp
ee9961dd992131df2f01362fef05abe576d2cbb6
19350be77edbe2c695d5dcbd786a25a4c174cfdf
refs/heads/master
2020-04-05T00:29:44.719977
2019-02-09T14:02:17
2019-02-09T14:02:17
156,399,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
#coding:utf8 import random simple_grammar = """ sentence => noun_phrase verb_phrase noun_phrase => Article Adjs noun Adjs => null | Adj Adjs verb_phrase => verb noun_phrase Article => 一个 | 这个 | Adj noun => 女人| 篮球|桌子|小猫 verb => 看着 | 坐在| 听着 | 看见 Adj => 蓝色的| 好看的 | 小小的 """ def GenGrammarSymbolTable(grammar): symbol_...
[ "colaghostno.1@gmail.com" ]
colaghostno.1@gmail.com
be241ba060b511089e7364993d57f36288bcc7ff
fb39cb876ef866dcc876645d0218742bad64dfb4
/pages/views.py
acc10313856a12951f448e96a4021b435eca2510
[]
no_license
SergioChairez/pages-app
a94283628c46ea9861e7c357cab037fd775f14f5
240d6be274e6a3b479a25282df3e0f1d327809b2
refs/heads/main
2023-03-20T21:01:36.758547
2021-03-16T07:46:03
2021-03-16T07:46:03
345,947,421
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
# pages/views.py from django.views.generic import TemplateView class HomePageView(TemplateView): template_name = 'home.html' class AcercadePageView(TemplateView): template_name = 'acercade.html'
[ "chairez1934@gmail.com" ]
chairez1934@gmail.com
cbf8f20c899dacdae30660a48ae14d72862fe8d5
405297a2eaf9c50066c9426579ba4edd7c89cb45
/write_article/views.py
af970262cd2ee2d599de4cbe8d14471358f6cc26
[]
no_license
adobecs5/first_django_board
c4aa9fa9d69f89bb9169fa7d4df06897e13ad514
d68fb7ba402ae82c68f948676921d7f5a726237f
refs/heads/master
2016-08-12T07:41:08.439701
2016-01-20T11:58:18
2016-01-20T11:58:18
49,820,119
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from django.shortcuts import render from list_posts.models import Post from django.http import HttpResponseRedirect as HRR from pprint import pprint def basic_view(request): return render(request, "write_article.html") def handle_article(request): if request.method == "POST": pprint(vars(request)) ...
[ "adobecs5.kaist@gmail.com" ]
adobecs5.kaist@gmail.com
f29b950b524eaa47635daa485d8672eb911a9b7d
dc30e8bb53dbc244b8096523928ee9a0d4e875c0
/etabotsite/etabotapp/django_tasks.py
489b38578a706d87c07bbedda7c6195876904f68
[ "Apache-2.0" ]
permissive
ShanshanHe/pmp
a393ed8c90ed599138e33ba08bfdf26ed8a78220
ea39b13b2eabe77cc67c67563c8c57cefb4cf329
refs/heads/master
2023-03-17T21:26:19.413086
2019-10-16T12:33:09
2019-10-16T12:33:09
129,642,869
3
9
Apache-2.0
2022-06-21T21:21:23
2018-04-15T19:22:49
Python
UTF-8
Python
false
false
2,242
py
from datetime import datetime from celery import shared_task from celery import Celery from .models import Project, TMS import TMSlib.TMS as TMSlib import eta_tasks as et import logging # BROKER_URL = getattr(settings, "BROKER_URL", None) # celery = Celery('tasks', broker=BROKER_URL) @shared_task def estimate_all...
[ "alexander.radnaev@gmail.com" ]
alexander.radnaev@gmail.com
21dd4ab7cf1b6b6388979cb664f61fbe10bb4e4f
b8c5586bd47a3504012a12dc7eefcaec1e553874
/images/hearts-1338692163.py
674f1a9b2f94b547f1729f22accc98ce2d1e4d91
[]
no_license
lolwat999/Image-code-Project
66f65c2c62eeb00a47b96de6f6a483f1854a78b8
6c4468ed96c3b855c675c0a3957e911ff7d2a843
refs/heads/master
2021-01-18T04:03:31.033108
2012-06-03T05:25:44
2012-06-03T05:25:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
def getPixel( x,y ): xm = x*2 - 1 ym = y * 2 - 1 xm *= 8 ym *= -10 x2 = xm**2 y2 = (ym - (2 * (abs(xm) + x2 - 6)) / (3 * (abs(x) + x2 + 2)))**2 g = 0 b = 0 r = 255- (x2 + y2)*10 return r%256,g%256,b%256
[ "brenton.a.milne@gmail.com" ]
brenton.a.milne@gmail.com
2192542daa7db256e391f937f6fb5e46b53a97eb
d71fac1a3dab9abf51e0528e65d1981f855c52e4
/admin/documentation/Python/NumPy_v1.19/qthelp_generator.py
dcd64a291fad191fafc547d9f91a5bcd70543df4
[ "CC0-1.0" ]
permissive
KDE/cantor
d9fa87ab3017bb3cc9ca5cfd568d3c5cfd1b6428
82bc4916e3c2a08205aaa6b3f7b60f4216d9fe18
refs/heads/master
2023-08-31T09:26:43.793469
2023-08-29T01:40:35
2023-08-29T01:40:35
42,720,167
51
12
NOASSERTION
2020-03-21T21:57:13
2015-09-18T12:18:18
Jupyter Notebook
UTF-8
Python
false
false
4,930
py
# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it...
[ "aryan100jangid@gmail.com" ]
aryan100jangid@gmail.com
4092c818c7d35c0d2df1c02d413357967feac052
0ec1562f6817616328635226283e14f19b44eb95
/app/forms.py
a4611b7e50dc68450f58bc0c4a1f4abd9c835e40
[]
no_license
jackfreilich/jack-s-microblog
9da12125a2c621f3f60f19cf048e481580052371
3d007a602076e7098850763d0d650836ccdab3ef
refs/heads/master
2020-06-09T06:26:37.635866
2019-06-23T20:11:49
2019-06-23T20:11:49
193,390,483
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, TextAreaField, SubmitField from wtforms.validators import ValidationError, DataRequired, Email, EqualTo, Length from app.models import User class LoginForm(FlaskForm): username = StringField('Username', valid...
[ "jfreilich@Jacks-MacBook-Pro-4.local" ]
jfreilich@Jacks-MacBook-Pro-4.local
ae840fe20c619f8d2961c0f81ef2c28c2d18b336
96400564402484baff113d048c201da7144c1548
/vgg16.py
0bd3984b982556cb3299fae3c58d4935f5dc63b6
[]
no_license
JontyYang/pyStudy
fc536988a66c69d333c044aeac004ee0332252df
e1dba720b6ccfb9bd1cf49dd636d314dd97126a7
refs/heads/master
2023-02-22T20:16:47.490847
2021-01-23T02:40:25
2021-01-23T02:40:25
332,105,229
1
0
null
null
null
null
UTF-8
Python
false
false
415
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import requests import cv2 import torch from torch import nn import torch.nn.functional as F from torchvision import models from torchvision import transforms from PIL import Image # 导入预训练的Vgg16网络 vgg16 = models.vgg16(pretrained=True) # 读取一张图像,并对其进...
[ "1624635413@qq.com" ]
1624635413@qq.com
a5ea4d3ac6c27618d48a4e9573b5cf881dbed320
9bcb054fa53e1ff749f2ba06c7477b60c0a1dccf
/vehicle.py
8e666d58d870afe88ae7b9adf58274bdc75250e8
[]
no_license
thatscoding/Hacktoberfest-2023
e67594420d39340095dde77e02bcf20353a5f645
40cfc950487e040b192a304a9d387dda2988845b
refs/heads/main
2023-08-28T07:28:41.110272
2021-10-30T11:48:00
2021-10-30T11:48:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
class Vehicle: #define class def __init__(self, number_of_wheels, type_of_tank, seating_capacity, maximum_velocity): #constructor self._number_of_wheels = number_of_wheels self.type_of_tank = type_of_tank self.seating_capacity = seating_capacity self.maximum_velocity = maximum_v...
[ "noreply@github.com" ]
thatscoding.noreply@github.com
8eda686d17e766c928f529e53f7e401855efade9
7dc5c8a3c2b7b54d50a229f02b95b39ff92c14cb
/fast_config.py
7e419f793a6274071555288082c631e872a796e0
[ "BSD-3-Clause" ]
permissive
playHing/ctrl-gen
be61c6099dbbd893c82642aa3c71c6ab7f5f97cd
705a40c9f0cb4590b0b55960a849b3a921252a66
refs/heads/master
2020-04-14T20:28:51.035720
2019-01-19T06:42:17
2019-01-19T06:42:17
164,095,264
3
0
null
null
null
null
UTF-8
Python
false
false
777
py
class FastConfig: def __init__(self, emb_dim, h_dim, z_dim, c_dim, n_vocab, unk_idx, pad_idx, start_idx, eos_idx, max_sent_len=15, word_dropout_prob=0.3, pre_trained_embeddings=None, freeze_embeddings=False, gpu=False): self.emb_dim = emb_dim self....
[ "wyhing548@gmail.com" ]
wyhing548@gmail.com
a887c48538b070bc949cb678b712fd5ea562c029
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201029145758.py
3227cd805384affb4014e12555cfee402b57bfa8
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,497
py
from django import forms from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock from wagtail.contrib.table_block.blocks import TableBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
0c85cf23abb1d04fd0e059f646b0947f308e3492
b1a6c44495c3a0cf8ac3f6df52d5a984cdb7b471
/cocotbext/pcie/core/caps/pcie.py
6bfd9e4f79d19070b5c39f930008bccafb060fa1
[ "MIT" ]
permissive
psumesh/cocotbext-pcie
a678384b2bdbb1d2d79d12b639e78b1b3dba2c0d
17d98d16da10e5839cf6826c08fc80971fd50298
refs/heads/master
2023-08-15T02:53:44.731590
2021-09-26T10:58:42
2021-09-26T10:58:42
358,151,301
0
0
MIT
2021-04-16T16:36:25
2021-04-15T06:27:52
null
UTF-8
Python
false
false
32,943
py
""" Copyright (c) 2021 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
db568f0d0ba67031f458fe449c4802b018a9c04e
974c54018773ef7c971e7ad2c80304fe07ce765c
/build/robot_localization/catkin_generated/pkg.develspace.context.pc.py
d2597ccb5f54c46a5e1f22e44fc105b5897e3e80
[]
no_license
lucasmarbatista/Husky_ROS
efd0c51cf79aa7dbc74b7313946685cfb4e47a3e
003821a45579f89b1595b1c99b6fc9e7b5613d19
refs/heads/master
2020-04-05T05:08:57.105904
2018-11-30T13:00:15
2018-11-30T13:00:15
156,582,909
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/lucasbatista/catkin_test/devel/include;/home/lucasbatista/catkin_test/src/robot_localization/include;/usr/include/eigen3".split(';') if "/home/lucasbatista/catkin_test/devel/include;/home/lucasba...
[ "lucasmarbatista@gmail.com" ]
lucasmarbatista@gmail.com
a2e180959faad219b2828611ca3414bdb2f4c8d7
4fb1e370b7466f9e5244be16e1d34a578592cf68
/tests/scratch-code/nb-model-lemma-incorrect.py
23a6dec84aef08f3617963aa0d13df809c3d5f7a
[ "Unlicense" ]
permissive
malakhovks/nb-terms
36800d2549b6ee0ffc48acfe55be085f9ea71e73
c59018c5d605d849e9a8b55f2995584d72ecf9ea
refs/heads/master
2023-06-08T00:54:10.642806
2020-06-29T19:20:35
2020-06-29T19:20:35
263,589,508
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import spacy # load SnowballStemmer stemmer from nltk from nltk.stem.snowball import SnowballStemmer # Load globally english SnowballStemmer NORWEGIAN_STEMMER = SnowballStemmer("norwegian") nlp = spacy.load("nb_core_news_sm") doc = nlp("Formuesskatten er en skatt som utlignes på grunnlag av nettoformuen din.") # doc1 ...
[ "malakhovks@nas.gov.ua" ]
malakhovks@nas.gov.ua
1078df62d155c3b588af48e3053a8fc2d2f2228f
b91bc02a5650597b8c217750c4fef238cb2b3363
/test/test_stream_result_of_etcdserverpb_snapshot_response.py
b2f65e30d999ddab6a6d2c6d0fdf6b610fc7528a
[]
no_license
NimbleBoxAI/etcd-client-python
6d578fd5c588e7b691e6a41a45cb5f93afab279b
4d67692b0d75e4b14747f34f3d13998529216a3f
refs/heads/master
2023-07-13T19:04:36.118319
2021-08-21T15:29:11
2021-08-21T15:29:11
390,751,648
1
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
# coding: utf-8 """ api/etcdserverpb/rpc.proto No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: version not set Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import a...
[ "cshubhamrao@gmail.com" ]
cshubhamrao@gmail.com
b18a2b8e878ac6dab0ef153d54eb8846e3615e8d
1424812c4f211d3d5e356e8b3889a689162062f3
/arcade/python/62_check_participants.py
f8957ee5841a7be2c906e5af02edf03edd07382b
[]
no_license
nazomeku/codefights
cb7d3c40be0809695ec524a87c88dbebcf5b47bc
b23f6816f9b5b0720feac1c49c31163923e0a554
refs/heads/master
2021-01-22T12:49:35.905165
2017-11-21T19:03:37
2017-11-21T19:03:37
102,357,617
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
"""Given the list of participants, your task is to return the list of games for which too few people signed up.""" def check_participants(participants): return [a for a, b in enumerate(participants) if a > b]
[ "cols.nazo@gmail.com" ]
cols.nazo@gmail.com
544db4f17ad75b9e1af8ced5dc1375a46ecdb184
dc16aae01ffb886f785c3b03a61475dd705ece87
/contrib/spendfrom/spendfrom.py
29a3ee46872ab233ce82fc7c191e247b2a2b9396
[ "MIT" ]
permissive
forkee/gaon
ef02153a96acc702dee7873f34cb0adc29506b16
93f94f7d268c0f9abd0b7ef82791945349fcb40c
refs/heads/master
2021-04-12T11:09:46.870852
2018-02-22T18:05:44
2018-02-22T18:05:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,948
py
#!/usr/bin/env python # # Use the raw transactions API to spend gaons received on particular addresses, # and send any change back to that same address. # # Example usage: # spendfrom.py # Lists available funds # spendfrom.py --from=ADDRESS --to=ADDRESS --amount=11.00 # # Assumes it will talk to a gaond or Gaon-Qt r...
[ "gaoncoin@gmail.com" ]
gaoncoin@gmail.com
0d4d88928e4aea7417c6c0e383bd5d4e3d6f9e87
b8bc28f132dc090d810f514ba27a76f51afacc0d
/meraki functions ques/inner function ques/q1.py
1d78936fe643560fbc0fb168589cfcf26623387c
[]
no_license
Anshikaverma24/meraki-function-questions
e5855b1df51d30ccda78d9edae892c8e4c67b319
d97c5abfdf3f1288334817701f0ae9fa0c662bd7
refs/heads/main
2023-08-17T01:08:53.220055
2021-10-08T09:18:05
2021-10-08T09:18:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# Question 1 # eligible_for_vote name ka function likho jo ki user ko bataye ki vo (he/she) # vote de sakta hai ya nahi. ( Consider minimum age of voting to be 18. ) # Example:- Agar user input me 18 se kam deta hai to “not eligible “ # print kare aur agar user 18 ya 18 se jyaada input kare to “you are eligible” pr...
[ "noreply@github.com" ]
Anshikaverma24.noreply@github.com
3c5e37ad68b14f786bcb851d9cefb82615aaa74c
ecf53ca75324e9a293c2aecd46b27888ec541bf7
/test/test_inline_response20029_message.py
e0bf0b56f7bf28a586d7807e6995840aff7d2e04
[ "MIT" ]
permissive
RiskAmerica/api-client-python
9bcede4cac091ca42b7c534555c63223fb1c315f
468c554a0440bef5086828631e25d99d41e28571
refs/heads/main
2023-07-07T14:02:25.601988
2021-08-20T19:33:36
2021-08-20T19:33:36
329,913,363
0
1
MIT
2021-08-20T19:33:37
2021-01-15T13:01:30
Python
UTF-8
Python
false
false
1,996
py
# coding: utf-8 """ APIs RISKAMERICA A continuación les presentamos la documentación las **APIs** **de** **RiskAmerica**, el cual es un servicio pagado ofrecido por RiskAmerica que se contrata por separado a nuestras otras ofertas de software. Algunas consideraciones que debe tener al momento de usar las API...
[ "p.guzman.salas@gmail.com" ]
p.guzman.salas@gmail.com
a75e694a550a267a68e836d58a9fc35da2060429
1912d8551c1d6e6a71aa991e180e124e776b909e
/Easy/1790. Check if One String Swap Can Make Strings Equal.py
48a5c9b9396a0f23b749d986293d4a0e8c11e4b7
[]
no_license
ishan190425/LeetCodeIshanR
1473fb3c5719e487aee03f2fccf18e4827e73e93
d9ae2781a2ed0a4c2bf2d254089b6cfa7e7b4562
refs/heads/main
2023-06-10T22:41:25.709844
2021-07-05T02:46:19
2021-07-05T02:46:19
350,840,413
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
class Solution: def areAlmostEqual(self, s1: str, s2: str) -> bool: ind = [] for i in range(len(s1)): if s1[i] != s2[i]: ind.append(i) if len(ind) > 2 : ## need to swap more than one time return False if len(ind) == 0: ...
[ "noreply@github.com" ]
ishan190425.noreply@github.com
6c6a42fa3986a8b39b8537437c0b24934789edd1
7c1037806263ad35caaeb92da29159c411b62882
/xp-calculator.py
4d459485277254701a279e71e28174df18e38941
[ "Apache-2.0" ]
permissive
Krimax0/xp-calculator
477c9c882143e53ec56348621b284ce17154d5ed
a94d4ad3cffbaf682817564a046391a68da14453
refs/heads/main
2023-02-10T12:34:41.042872
2021-01-12T16:15:13
2021-01-12T16:15:13
329,041,565
2
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
f = open('text.txt', 'w') language = int(input("Eng-1, Rus-2:")) if language == 2: exp = int(input("Начальное кол-во XP:")) Levels = int(input("Кол-во уровней:")) dsa = int(input("Режим(0-С показателем уровня, 1-Без показателя):")) textlevel = " - уровень:" else: exp = int(input("Initial quantity XP:")) Levels ...
[ "noreply@github.com" ]
Krimax0.noreply@github.com
b380a27a06ec8692b35f0b91a016c7c304b88d40
3725d30b943302269d592e219befc0ee6e2bdbd2
/newspaper/version.py
8165971c72708172cb11d0f334f7399a386880a7
[ "Apache-2.0", "MIT" ]
permissive
leezqcst/newspaper
b0cb828da7d80317840d7f750c4beefc49b5b09a
87d69e7c7420f90edfb735665d4e183e4575a9ba
refs/heads/master
2021-01-25T09:26:03.446919
2017-06-07T07:14:19
2017-06-07T07:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
# -*- coding: utf-8 -*- """ To change the version of entire package, just edit this one location. """ __title__ = 'newspaper' __author__ = 'Lucas Ou-Yang' __license__ = 'MIT' __copyright__ = 'Copyright 2014, Lucas Ou-Yang' version_info = (0, 2, 0) __version__ = ".".join(map(str, version_info))
[ "lucasyangpersonal@gmail.com" ]
lucasyangpersonal@gmail.com
9c815cabe77e23e9be83080f49ab89d662239654
f7c8e09495e83392ef7eb2c5350956ffd66fcde1
/web/equisight/__init__.py
bc31ffeb10ad5faf341ec619571a9af234cd8aa5
[]
no_license
Besler/I4H-Equisight
6047fe5244a4a04f25ff8fe1ffc9c2976a2ab8cc
2a41b58692203a983b32b681c91d31b0dc9f15d8
refs/heads/master
2020-04-08T03:27:42.561578
2018-11-25T20:29:46
2018-11-25T20:29:46
158,976,667
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
from .equisight import app
[ "babesler@ucalgary.ca" ]
babesler@ucalgary.ca
640953c1ccf6250f36738f2bd64157482193f652
45050b0a72db4a7121900f75f7e23acb72be5e73
/management/manage.py
35fbebda6adbb79be26ba059b54067b5e0391c1b
[]
no_license
folse/MongoWine
2b102fc006dea8388896abbd2912550fe682c97f
d9878cf3ab800c6cb42af434d9a59498de2998b8
refs/heads/master
2021-01-12T13:40:37.420358
2016-10-29T15:45:42
2016-10-29T15:45:42
69,217,222
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
#!/usr/bin/env python import os from wine import app from wine.models import User from flask_script import Manager, Server, Shell from werkzeug.security import generate_password_hash manager = Manager(app) manager.add_command("run", Server(host="0.0.0.0", port=80, use_debugger=True)) @manager.option('-u', '--name', d...
[ "folsee@gmail.com" ]
folsee@gmail.com
74bd64671b35ac5628a47b451c89308827aa3fd5
81103d849988bcfcc68e26f2779a06fe2e046d6d
/learn_python/时间.py
8f778cfc6650fa726c5d5fb4ae6722d050a94c4b
[]
no_license
zzwshow/python
426845c5c4cb4e7a4db7e72c6a3359836c7cab8a
0b28d7e4f33f331a02985a21efed19e9619aabd1
refs/heads/master
2021-01-15T21:30:50.226102
2018-03-16T10:02:38
2018-03-16T10:02:38
99,870,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
#coding=utf-8 import time print(time.time()) #返回当前系统时间戳 print(time.strftime('%Y-%m-%d-%H:%M:%S')) #返回自定义格式时间字符串 print(time.ctime()) #输出字符串格式时间:Sun Aug 14 16:04:02 2016 ,当前系统时间 print(time.ctime(time.time()-86640)) #---------------------------------------------------- import datetime print(datetime.date.today()) #获...
[ "wei3511@126.com" ]
wei3511@126.com
fce324c6496b5a5fd24b5262554147cad286f36a
3efe2059de4c7efd1f58a385656d19098b7efd63
/deepiu/tools/ensemble-inference-v2.py
436205085a0efdf481c2d9609e180ad472bc2c8b
[]
no_license
yangyaoyunshu/image-caption-ai-challenger2017
5d2e82b2f8d70ac6d4eb7a0e70f6b406e551189b
7f2c556587ea1e5c4583fe3b12b8d40c5a2aa2cc
refs/heads/master
2021-08-31T22:48:55.886186
2017-12-23T07:27:04
2017-12-23T07:27:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,927
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file ensemble-inference-v2.py # \author chenghuige # \date 2017-10-21 14:56:40.017795 # \Description This is time cosuming 1hour and 12 mintues, and not...
[ "29109317@qq.com" ]
29109317@qq.com
51a5626eab03a761b954145f5a4fd05fa7263418
1cad4c67b5dc7c2737f57d174a01e5b20cc14d48
/score.py
e562864bc0c52eb82958ab1def6aac0ce765376a
[]
no_license
naveenkaushik2504/mlops_azure
921abf9348463751e60531d5acc73722d5bec1a2
6a3872e265f797a217dc4af93e6c3c379bf91941
refs/heads/main
2023-07-17T22:32:34.765083
2021-09-02T04:02:42
2021-09-02T04:02:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,541
py
# imports up here can be used to import pandas as pd import json import datetime import os import joblib import argparse from azureml.core import Workspace, Datastore, Run, Dataset, Model from azureml.core.authentication import ServicePrincipalAuthentication from utils import get_run_config, set_run_config parser = ...
[ "noreply@github.com" ]
naveenkaushik2504.noreply@github.com
60607269149bb7b05e8525dcb734eb5b71346bb1
de6d98d3ab5904bacc0e367371fedaca6b5fb49a
/simulation/filters/iir_filter.py
7ba96bd166a9df6bcb046f33600113139592d2a6
[ "MIT" ]
permissive
ZiGaMi/StewardPlatformEvaluation
68b22eaa351976951203cdf04b3eae8523813bbe
9995507ec70156ec950fc79a388cfcd08ab7e65a
refs/heads/main
2023-02-25T09:20:58.939157
2021-02-03T18:35:29
2021-02-03T18:35:29
329,382,432
0
0
null
null
null
null
UTF-8
Python
false
false
5,173
py
# =============================================================================== # @file: iir_filter.py # @note: This script is evaluation of IIR filter algorithm # @author: Ziga Miklosic # @date: 06.01.2021 # @brief: Evaluation of IIR filter design. # =====================================================...
[ "ziga.miklosic@gmail.com" ]
ziga.miklosic@gmail.com
8ab8e5f98c41b9fb41c80d47225b946e72e9c11b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startPyquil365.py
7bd3571d7cf4002ea5c98aabb057ee26101e6441
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,533
py
# qubit number=2 # total number=67 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
2f3661bcd3e8e368c24e6fe59b25d648193f022c
7af9d70e230e7f8e47834506140f36c98a0ba02f
/__init__.py
4eb2d785b13cb4d3fbc679dfb3d1047083ceca47
[]
no_license
MarcTheSpark/marqt
e90ca0f6cd13c760937eba2624d9becf35ddfed8
0ff89d8822b6b2b906d948d735c025f70ee7b589
refs/heads/master
2021-04-28T13:14:51.594449
2018-02-19T17:55:19
2018-02-19T17:55:19
122,099,594
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
__author__ = 'mpevans'
[ "marc.p.evans@gmail.com" ]
marc.p.evans@gmail.com
e618a7e49c3c9bc4aff546f16d7fce83f46161f3
a25d87599b598a6b2939b495f5b07a53808b9d8e
/双指针/three_sum.py
db4953fffbd14f8399c031161f4db34e41aee1c7
[]
no_license
turbobin/LeetCode
ef0c8e3a130da28bf889cf43314b4eee8d7f3579
46dd37f7c2e73cd5ea4aa5b485ee84a1fe76de73
refs/heads/main
2023-02-07T23:38:23.978561
2021-01-03T10:35:31
2021-01-03T10:35:31
307,217,757
4
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
# -*- coding: utf-8 -*- """ 15. 三数之和 给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c , 使得 a + b + c = 0 ?请你找出所有满足条件且不重复的三元组。 注意:答案中不可以包含重复的三元组。(链接:https://leetcode-cn.com/problems/3sum) """ class Solution: def three_sum(self, nums): nums = sorted(nums) n = len(nums) result = [] for i i...
[ "turbobin.cao@gmail.com" ]
turbobin.cao@gmail.com
8aff246bd7dd09558f4bb6becdae7f01d5fbfee1
f9e38d859bdbfa62292cc88e93cf966f52bbdc2c
/main7.py
c71c0aebde90ff02a42e3021c9fc0a7585ae3748
[]
no_license
mmaglanq/test2
119508dd3286bcf0291b11d4b6fd2228027faf5f
3d6289997da9f10411adbc86b91326c101eace38
refs/heads/master
2021-01-20T12:58:12.286832
2017-05-06T08:41:25
2017-05-06T08:41:25
90,433,819
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
import pexpect child = pexpect.spawn("telnet 54.250.134.6 32773") child.sendline("\n\n") child.expect(">") child.sendline("enable") child.expect("#") child.sendline("config t") child.expect("#") child.sendline("hostname Router1") child.expect("#") child.sendline("end") child.expect("#")
[ "jonel.mawirat@bugomi.com" ]
jonel.mawirat@bugomi.com
7312f6cf58e998f437b6c78d7899d2052673a83c
1b4b65f6223d54f44315c816d11546291c0b6840
/Database/ETL_SwSh_Series.py
49cc2dbd2893399d45a003dbdaf7a700ff9c714a
[]
no_license
benaziziasmae/squirtle_squad
c7f563d7e6e0f435b753f38820eec832e53baa30
2684ae16fd9f37f2639e52121d58313aca396554
refs/heads/main
2023-06-12T05:29:03.657750
2021-07-02T19:24:33
2021-07-02T19:24:33
366,905,848
4
5
null
2021-07-02T19:24:36
2021-05-13T02:00:56
Jupyter Notebook
UTF-8
Python
false
false
3,514
py
# import dependencies import pandas as pd import requests import datetime import sys import os sys.path.append(".") from config import tcgapikey, SQLALCHEMY_DATABASE_URI from sqlalchemy import create_engine, dialects from re import search # Initial API call & get request url = 'https://api.pokemontcg.io/v2/cards?q=set...
[ "ian.fan13@gmail.com" ]
ian.fan13@gmail.com
a84f4bd68c4feec5edc682ef5b42af7769dd6c8e
feb8fc09243d0dfdc0f5df8afcc3989e9590ae00
/practice_scripts/math_and_numbers.py
a9d54148361f5dd7e16cec3d6fca967ee81e12fb
[]
no_license
tabeals/casino
584c8f88e1051f805a0dc0d459b49ff0e5acb70b
d2adc470efc7bc377b2e4eb0876aba694b52e590
refs/heads/master
2020-07-12T11:37:16.222671
2019-11-19T20:36:14
2019-11-19T20:36:14
204,809,736
1
0
null
null
null
null
UTF-8
Python
false
false
537
py
#! ~/.virtualenvs/ecgps/bin/python #any time that yo uwould like to do math you can do it in the interactive mode of the python shell #by typing python and just writing out math equations python will act a a calculator for you #python rounds floating point numbers so if you want the math equations that work with floa...
[ "thomas.beals@greenphire.com" ]
thomas.beals@greenphire.com
14a5e926462e9e5f247aaccdde310403ad9d7673
b4214ee88bfd3161df3ca5fe24c447ad2224f872
/AES_encoder/aes_encoder/flow/script/filelist.py
b734214a0961ab03f99dc042ebe6da17e3d5ea8e
[]
no_license
Anizetho/Flow-conception
6281ba2eb636e0cff8ea57e0a35a811914977740
1b42f0f1cd81f71262fe20caa2b7123a377e841f
refs/heads/master
2020-04-08T19:17:04.768711
2018-12-12T10:18:03
2018-12-12T10:18:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
import os prj_dir = os.environ['PRJ_ROOT'] file_dlist = open("dirlist.txt","r") file_flist = open("filelist.txt","w") for line in file_dlist: path = prj_dir + "/" + line.replace('\n',''); print(path) for elem in os.listdir(path): full_path = path + "/" + elem if not (os.path.isdir(full_path)): ...
[ "thomas.anizet@hotmail.com" ]
thomas.anizet@hotmail.com
24d0293db4c4da28e8dcbdb081b1ca13f6d8bde4
55e28e35db5bf6a844df3fb47080500b115a893e
/day6/test/fan2.py
d15faad00febdceb92f9769a970ee29416ca85f6
[]
no_license
pylarva/Python
5743ffa4a69db42b642d51b62f9e9b69ddbc1a72
71b484950e6dbdcf708726a68a3386d0d6ddc07f
refs/heads/master
2020-04-19T09:11:11.195393
2017-11-16T07:32:59
2017-11-16T07:32:59
67,507,687
1
0
null
null
null
null
UTF-8
Python
false
false
447
py
# !/usr/bin/env python # -*- coding:utf-8 -*- # Author:lichengbing # import fan1 # # user_input = input('输入编号:') # if hasattr(fan1, user_input): # func = getattr(fan1, user_input) # func() # else: # print('no module...') user_input = input('请输入URL:') k, v = user_input.split('/') obj = __import__('lib.' + ...
[ "1326126359@qq.com" ]
1326126359@qq.com
4b64e334ec6098e943ae82960173c1f721806d30
f9fb57a94f61fe000085b06eb6049168952efe9e
/API-valorImovel/web.py
ffe121a3de26e3a9019b360a481f4cf0e0280ab4
[]
no_license
rafaelct/imobpy
ea5a569ab06018cb9bb1ea4a29ffac456b1590c2
d8a8ee851f1bc5c01fca8abcb169f7ff9f77c04b
refs/heads/main
2023-06-02T18:02:01.700832
2021-06-18T22:25:20
2021-06-18T22:25:20
376,086,824
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from flask import Flask, jsonify, request from controllers.ValorImovelController import ValorImovelController import os app = Flask(__name__) @app.route("/valorimovel", methods=['GET']) def epValorGET(): valorImovelController = ValorImovelController() try: return valorImovelController.methodGet(requ...
[ "rafa@rafael.cteixeira.nom.br" ]
rafa@rafael.cteixeira.nom.br
96bdd87b9aeea99dcc2b5b22002ba5e48f88519a
70e0c9cc78d8e1883a7b2f10be206193bf674811
/node_modules/dtrace-provider/build/config.gypi
83ca67d3e0144a44342e972861bcfdfc6a5f4b34
[ "BSD-2-Clause", "MIT" ]
permissive
niyonx/ghost-blog
c90873e3856ce13af837fecba2e5bcfac2702e1e
e01da1d32c03700d12359e7fcfdd636f45a3fa21
refs/heads/master
2022-12-24T00:36:54.379510
2020-09-12T17:40:06
2020-09-12T17:40:06
294,878,083
1
0
null
null
null
null
UTF-8
Python
false
false
2,845
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "debug_ngh...
[ "kenkenysy@gmail.com" ]
kenkenysy@gmail.com
0506fa6a486ad43932a07600c4d00d1ddc5a40b9
7bd9be7f25be80791f9220b62025f06170273293
/end-plugins/pycerebro/examples/create_tasks.py
ed3f5c9a50d7b348f9c12a77fad2a31adcebc5f9
[]
no_license
cerebrohq/cerebro-plugins
ab46b4844adcb12c51d14e21f2c0d8b758b0bb57
e2e0f97b548ef22957e13d614200027ba89215e0
refs/heads/master
2021-11-12T16:25:48.228521
2021-10-22T11:25:58
2021-10-22T11:25:58
143,178,631
5
3
null
null
null
null
UTF-8
Python
false
false
14,092
py
# -*- coding: utf-8 -*- """ Примеры создания задач. Этот модуль демонстритует, как можно устанавливать соединение с базой данных, создавать задачи и связывать их между собой без использования графического интерфейса Cerebro. Также в модуле продемонстрировано создание сообшений и прикладывание к ним файлов. Модуль исп...
[ "41910371+cerebroSupport@users.noreply.github.com" ]
41910371+cerebroSupport@users.noreply.github.com
635ee85a769a42b4134901dfa869be204eaf3850
b2fafe86e7df13d324ba1afb915a61699667c28c
/data_preprocessing1.py
9d4a2690b53011ccbd8a58f32eb1bd2a39cfd93f
[ "MIT" ]
permissive
skygxsky/yolov5_slider
ce2d09029ff387b9bc1f06daa3d801c519960e55
06648864c8e10cbd9dc78d5c111580d200d0642a
refs/heads/main
2023-05-30T09:33:14.705584
2021-06-11T06:27:58
2021-06-11T06:27:58
375,924,728
2
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
import os import random import argparse parser = argparse.ArgumentParser() parser.add_argument('--xml_path', default='my_trains/Annotations', type=str, help='input xml label path') parser.add_argument('--txt_path', default='my_trains/labels', type=str, help='output txt label path') opt = parser.parse_args() trainval_...
[ "1814618295@qq.com" ]
1814618295@qq.com
a3f050568b35e8be3ac8a3be6c54bc944ea3bdaf
83e436d062adf45591b737b804de76d849446130
/factories/DataFrameFactory.py
025de3606bb7a229e798a0478710dea46bb9df5d
[]
no_license
MateuszChmielewski99/CollardRecommendation
423783a316a8fcea063038f096af3b3ad0e2d1d5
46ea6cb384976176bd34f625f9806c857ac64bf5
refs/heads/main
2023-02-17T18:32:15.959255
2021-01-18T23:21:00
2021-01-18T23:21:00
330,805,681
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
from dataframe import df from columns import genres_columns class DataFrameFactory: def create_data_frames_array(self, first: bool, second: bool, third: bool): if not first and not second and not third: return [df.copy()] if first and not second and not third: return self...
[ "chmielewski079@gmail.com" ]
chmielewski079@gmail.com
5817c79a09e5e569d6a193b8a3db4da14d3e95a8
1cf5c517ae4ad13bfeeb8bb5e1a471cca73ac114
/goods/migrations/0001_initial.py
13e3b25f36d2132be84e5e5d886dc4a94da4c7f0
[]
no_license
ITLZJ/netshop
4b60c8cd25b59d707ec3da89e67187a805b7d510
9fa53ac8689f8f5f75ff575a435ec65f0f78d74f
refs/heads/master
2023-03-18T11:01:08.140482
2021-03-09T09:31:06
2021-03-09T09:31:06
345,952,299
0
0
null
null
null
null
UTF-8
Python
false
false
3,233
py
# Generated by Django 3.0.10 on 2021-03-09 05:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "1132677988@qq.com" ]
1132677988@qq.com
3c21849b572848e17c219d6d9115dda9eaf3d56e
d66818f4b951943553826a5f64413e90120e1fae
/hackerrank/Algorithms/Cut the Tree/test.py
71dbf8141286bc70cf3538beaf3323dcc9737296
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
796
py
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.cutTheTree( [100, 200, 100, 500, 100, 600], [ [1, 2], [2, 3], [2, 5], [4, 5], [5, 6], ...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
fb209165b29b3cd9a1cb5aab568c36acf85440a6
0017ce82303cde1c27e48d41af7860efa8c079eb
/python_boilerplate/tests/test_os_utils.py
8fea3f3399204a333984705b65d13a90d41aa187
[ "MIT" ]
permissive
lincoln-harris/python_boilerplate
b50c40700f7081563350fd6f33c8fd5fa972959a
79cb48219f5a1ac822cd3c9ffa0c97b6342b1ac5
refs/heads/master
2020-05-04T18:52:14.644826
2019-04-03T21:00:34
2019-04-03T21:00:34
179,369,797
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
""" test_os_utils.py Tests for operating system utilities """ import os import pytest # Fixtures are functions-turned-variables that can be used across multiple # tests. conftest.py contains fixtures that can be used by any test file @pytest.fixture def folder(): return "test-folder" def test_sanitize_path()...
[ "lincoln.harris@czbiohub.org" ]
lincoln.harris@czbiohub.org
df046cea96dc9c637451a57cb013fb2cc7882f94
99f9b3c8358a8ef26eb3f0a60bc2d4e5e5845733
/build.py
777a99d51b639e708eb652836acbb4fcdf3b270e
[ "MIT" ]
permissive
darkliang/blog
2708cc6017b8fb37260ec360c92dc48d1d64e337
84ab91a2845a04ab244733c4a43ab447feccaa74
refs/heads/master
2023-07-22T00:26:07.776440
2023-07-18T13:42:10
2023-07-18T13:42:10
341,156,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# -*- coding: utf-8 -*- """Maverick Author: AlanDecode | 熊猫小A Link: https://www.imalan.cn GitHub: https://github.com/AlanDecode """ from Maverick.Utils import print_color, Color from Maverick.Builder import Builder from Maverick.Config import g_conf import os import sys import getopt def main(argv): try: ...
[ "11710911@mail.sustech.edu.cn" ]
11710911@mail.sustech.edu.cn
10f9fb4ce08fadc4c883812b498268f782833828
05fa76ed23fa9d2e103f9f38a15861225c12efab
/venv/bin/django-admin
6517175006f8e56cddc0d1498b29ef886b9127e7
[]
no_license
nancykhullar08/todo
219568bafa9e667193f0645dfb3284a1d210aa5e
cc1f33948d345aa740320687bae86249004333c9
refs/heads/master
2020-06-26T12:28:03.972429
2019-08-02T09:49:04
2019-08-02T09:49:04
199,629,523
0
0
null
2019-08-02T09:49:05
2019-07-30T10:26:18
Python
UTF-8
Python
false
false
283
#!/home/nancy/Todo/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "nancy.khullar@mobicules.com" ]
nancy.khullar@mobicules.com
19280aa9b5205cfb4b3e115b73029117af55a39a
f524c132340474bf80784095321753e083a2563a
/GearBot/Util/GearbotLogging.py
231080a511b781af383ff0de23f0818d6375e2c1
[ "MIT" ]
permissive
JohnyTheCarrot/GearBot
51bf4f1e641908725ab70ccc766e861b7ec0af23
8a32bfc79f997a154c9abccbf6742a79fc5257b0
refs/heads/master
2020-04-10T17:03:22.403295
2018-12-10T08:14:05
2018-12-10T08:14:05
161,163,866
0
0
MIT
2018-12-10T11:24:11
2018-12-10T11:24:11
null
UTF-8
Python
false
false
8,957
py
import asyncio import logging import os import sys import traceback from datetime import datetime from logging.handlers import TimedRotatingFileHandler import discord from discord.ext import commands from Util import Configuration, GlobalHandlers, Utils, Translator, Emoji LOGGER = logging.getLogger('gearbot') DISCOR...
[ "aenterprise2@gmail.com" ]
aenterprise2@gmail.com
0fef9a8eeb0b4196f5724b5962260fecb67d80db
99055f0b6dcb72f847f34330bd5fdb5f02817b42
/deepsight/train.py
597a8dd179d07d40a1e78a86b2c48e3114a34c0e
[ "MIT" ]
permissive
aitrek/deepsight
50cad1da47350a2b5759fb4f1cbd3b95992ee485
ab78c8a6dcaa183c0d6a6e8f591460d88a85e4e6
refs/heads/master
2020-07-09T07:04:27.999358
2019-11-28T03:27:31
2019-11-28T03:27:31
203,911,601
1
0
null
null
null
null
UTF-8
Python
false
false
861
py
"""Class to train model""" import toml from torch.utils.tensorboard import SummaryWriter class Train: def __init__(self, log_dir): self._writer = SummaryWriter(log_dir) def run(self, net, criterion, train_loader, test_loader): raise NotImplementedError class DynamicTrain(Train): """ ...
[ "aitrek.zh@gmail.com" ]
aitrek.zh@gmail.com
71a5a6949a9e38fd6f0986a717811663d5af6685
ae85a80cf17b0a80ad2bde3522ea8874e278e590
/speed typing.py
46a4c47ca453e834e0f0d3c592aa755353119676
[]
no_license
Akaash-Agarwal/Typing-Speed-Tester
301d0540a0c26e606accdd58126f01c11755ceb9
6c0e2e141c953ba6e1bd4cdc19b372de9a0a8faf
refs/heads/main
2023-07-11T00:16:48.570419
2021-08-20T21:02:08
2021-08-20T21:02:08
398,398,692
0
0
null
null
null
null
UTF-8
Python
false
false
5,910
py
import pygame from pygame.locals import * import sys import time import random # 950 x 500 class Game: def __init__(self): self.w=750 self.h=500 self.reset=True self.active = False self.input_text='' self.word = '' self.time_star...
[ "noreply@github.com" ]
Akaash-Agarwal.noreply@github.com
4ec1580124da712dd704951e37c5972e118899c2
29739eeb360199971aa501706bf7d3ad09c7c412
/app.py
677eb0979f656c373e57874e932845ec2d5ecda9
[]
no_license
Artro01/practica
bf826d87a6ca7c7d7ba83c717f90b5866e53a4b5
551d84ec3249fd47705af4c89262db397e702a3f
refs/heads/master
2021-04-28T20:32:18.840052
2018-02-18T07:11:53
2018-02-18T07:11:53
121,928,019
0
0
null
null
null
null
UTF-8
Python
false
false
3,318
py
# Author : Salvador Hernandez Mendoza # Email : salvadorhm@gmail.com # Twitter: @salvadorhm import web import config #activate ssl certificate ssl = False urls = ( '/', 'application.controllers.main.index.Index', '/login', 'application.controllers.main.login.Login', '/logout', 'application.controllers.m...
[ "00123654@red.unid.mx" ]
00123654@red.unid.mx
e86b1a037156de6e9531075c180fe24c799646cb
67ac37ae591e2d57230728de67f503757f99bb4b
/backend/rapid_search/views.py
0fb23e952cafb4308b8e6d75d79f8262ac25e2a6
[]
no_license
ratroot92/eagle-eye-reactjs
4f422fd612662f8e4ea02e866915cfcc81ecb788
a2fd3aadb911c9226f377294c0724a12ab050712
refs/heads/main
2023-05-06T07:18:50.070420
2021-05-31T22:44:57
2021-05-31T22:44:57
363,510,623
0
0
null
null
null
null
UTF-8
Python
false
false
11,549
py
from django.shortcuts import render from django.http import JsonResponse from django.http import HttpResponse import geopy from geopy import Nominatim import json import twint import nest_asyncio import asyncio from django.views.decorators.csrf import csrf_exempt # Create your views here. @csrf_exempt def Twitter_Rapid...
[ "maliksblr92@gmail.com" ]
maliksblr92@gmail.com
55776e8e0524d577530666bd7da773280267d159
d92f5c072babb1ea2f0ecdd35c633f5253d2074d
/main.py
58a4391b5328cecdba5c1967e159238ca0764184
[]
no_license
treb214/trbvc
899bed850a5c5d5e4b4fcc35096e8d75ea2fddf7
c141a9c27cb2ef77b00f354acf94f91e9758fa74
refs/heads/master
2020-05-15T17:09:47.806638
2019-04-27T11:56:27
2019-04-27T11:56:27
182,401,317
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello Valeriya!" if __name__ == '__main__': app.run(host='0.0.0.0', debug=True)
[ "noreply@github.com" ]
treb214.noreply@github.com
7014883ea18df58db09ad7585e7ba9077592e201
c1c6ba125527a140dff6c418b79cd9b3729437e1
/profileapp/models.py
e49d9b68d8dcfa5d61e3a2537bf2f72c458ead0e
[]
no_license
Uh-hub/git_4ban_1
268efaccb9b49d836c6b910f560a790ba77b5948
a5684e8a50552b305c957e941b4eda10bf82198d
refs/heads/master
2023-08-15T13:43:44.105291
2021-09-29T11:13:08
2021-09-29T11:13:08
382,210,558
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django.contrib.auth.models import User from django.db import models # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, related_name='profile') image = models.ImageField(upload_to='profile/', null=True) ni...
[ "tabacal3590@gmail.com" ]
tabacal3590@gmail.com
b47869a08569b3ca28532266056d8d21a75f48ba
8131e58b4db00725452a544adb2b71dfe7810e45
/src/tournamentRunner.py
55d5fba6aea17763c500cd5d534426508cacb31a
[]
no_license
prlombaard/tournamentRunner
6f756f46c52bd56b44acb4774af319513fbbbefa
f169d40e7ebc0d498de25c3e84027bfac83ebc9c
refs/heads/master
2016-09-05T22:50:52.009015
2015-04-17T09:02:53
2015-04-17T09:02:53
34,038,338
0
0
null
null
null
null
UTF-8
Python
false
false
11,760
py
import os from os.path import join, getsize import itertools import subprocess import json import sys import collections import time pipe_r, pipe_w = os.pipe() def roundRobin(): """ Runs SpaceInvadersDuel """ def calculateStats(tournament_times): print "Gathering stats" stats = [] # walk th...
[ "prlombaard@gmail.com" ]
prlombaard@gmail.com
c843c8f5ac94babd9d6dda5862e4393a08c25abd
b0a1884cd6c40362085dc08c7a091ed7cf1ece7f
/eelbrain/tests/test_mne.py
06e2009c988be2ab9c2632f8d57ae4e63439b6be
[]
no_license
LauraGwilliams/Eelbrain
4f37dbcc314063e92425dadf9b1f9f2aeea69a9c
d04fa2e7108c5f683fc145fc44a794d39928f2cb
refs/heads/master
2021-01-18T16:00:36.727474
2015-10-23T13:38:17
2015-10-23T13:43:17
34,459,099
0
0
null
2015-04-23T13:51:09
2015-04-23T13:51:09
null
UTF-8
Python
false
false
7,674
py
"""Test mne interaction""" from itertools import izip import os from nose.tools import eq_, ok_, assert_less_equal, assert_not_equal, assert_in import numpy as np from numpy.testing import assert_array_equal, assert_allclose import mne from eelbrain import datasets, load, testnd, morph_source_space, Factor from eelb...
[ "christianmbrodbeck@gmail.com" ]
christianmbrodbeck@gmail.com
cbb187e7d59019198c646d702aff8fbadc4169a3
fa89010f366aa33967c12636bf6cfae6105a9ee5
/ex7/nation_mood.py
cee5016c3dfd5694fae9bb9cc3434bbd28db8739
[]
no_license
borgr/intro2cs
4db1985b789d0938d7c9cecddbe5a302f284bd95
9030d9831a168d9636093bd5211926666298d80f
refs/heads/master
2020-05-29T19:35:20.829664
2016-10-22T06:07:22
2016-10-22T06:07:22
15,959,512
0
0
null
null
null
null
UTF-8
Python
false
false
2,976
py
############################################################# # FILE : nation_mood.py # WRITER : Leshem Choshen + borgr + 305385338 # EXERCISE : intro2cs ex7 200132014 # DESCRIPTION:nation wide tweet functions ############################################################# from data import load_tweets from geo import us_...
[ "noreply@github.com" ]
borgr.noreply@github.com
a962ff1bdbf5794c6ccf3662675aacd15b94ab20
de4c5ecaf541d67e7cbf02837d93cf303d23b5da
/tests/app/views/home_tests.py
457f11123076d3a77c42d472cd58e5fe3b42dc01
[ "Apache-2.0" ]
permissive
shadowmint/py-test-watcher
d140064cafeb0b2efce8a403a3abd63322f812d0
36d33206b104c81e2d6acebdbed2dddee71fe2a7
refs/heads/master
2021-01-19T14:07:13.441335
2013-07-01T06:07:56
2013-07-01T06:07:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
# Copyright 2013 Douglas Linder # 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 agreed to in writing...
[ "linderd@iinet.net.au" ]
linderd@iinet.net.au
576a5caebe9274dbe6a976f5be2cda765413cea2
0faf534ebb6db6f32279e5bee25b968bd425ce3a
/tests/extension/thread_/stream_sink_fifo/test_thread_stream_sink_fifo.py
2fbe7fdf2573c48b8a204e9797df3ef6b7351a35
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PyHDI/veriloggen
e8647cb2d40737d84e31d6b89c5799bab9cbd583
f2b1b9567150af097eed1b5e79ba2b412854ef43
refs/heads/develop
2023-08-09T10:02:35.626403
2023-08-09T00:50:14
2023-08-09T00:50:14
37,813,184
282
60
Apache-2.0
2023-07-20T03:03:29
2015-06-21T15:05:30
Python
UTF-8
Python
false
false
547
py
from __future__ import absolute_import from __future__ import print_function import os import veriloggen import thread_stream_sink_fifo def test(request): veriloggen.reset() simtype = request.config.getoption('--sim') rslt = thread_stream_sink_fifo.run(filename=None, simtype=simtype, ...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
be41226a5a51288ece78ea6a8101e94652515a8a
74b812828a80190636523cbad4f3a6fc239484ba
/openff/bespokefit/executor/services/optimizer/app.py
cb29e0c1ed66c8e77bb693ced204a9a750190e59
[ "MIT" ]
permissive
openforcefield/openff-bespokefit
ef438ddc9a072a280e155d1e2d097068a369f73f
97262756c5c014e9bd5f799d64755b7f73a6160e
refs/heads/main
2023-08-17T07:09:11.715404
2023-08-04T09:43:57
2023-08-04T09:43:57
241,694,600
29
4
MIT
2023-09-08T06:14:39
2020-02-19T18:31:38
Python
UTF-8
Python
false
false
1,559
py
import json from fastapi import APIRouter from qcelemental.util import serialize from openff.bespokefit.executor.services import current_settings from openff.bespokefit.executor.services.optimizer import worker from openff.bespokefit.executor.services.optimizer.models import ( OptimizerGETResponse, OptimizerP...
[ "noreply@github.com" ]
openforcefield.noreply@github.com
699cc070311cdbe28faab2769294208a1fb3e22e
cb40f68976757e192036c3687ac72a6f293efebd
/Speech Model/Parselmouth_Results/Results/MLP/RAVDESS/Clean/MLP_Parselmouth_RAVDESS_Clean.py
1ef7c5ec0af899e0e9edcb4ec097a7fe6613fff2
[]
no_license
RezwanM/ASDEmotionRecognition
dbcad337c0d453df2995cb1951ef8beb5e28e75d
9b622fbf3f36adb100a5583e57bffc261734fe98
refs/heads/master
2023-04-05T14:11:36.933481
2021-04-02T16:30:23
2021-04-02T16:30:23
237,095,646
2
2
null
null
null
null
UTF-8
Python
false
false
7,620
py
#************************************************************************************ # Rezwan Matin # Thesis B # Filename: MLP_Parselmouth_RAVDESS_Clean.py # Date: 10/24/20 # # Features: # 36 features - Functionals on Pitch (f0), Loudness(Intensity), MFCC, formants, formants BW, HNR, Jitter, and Shimmer. # #*...
[ "noreply@github.com" ]
RezwanM.noreply@github.com
380219750084da66170b23b9a2f2df84c9de32f6
43dedd3a34ef44351e997d061478990c70940d9a
/manage.py
0f9cf6e82432e18f92d56b8fbc0db1411d14ee85
[]
no_license
calcbbs/Django_crud-operations
2375e6918c99a39a715796b4966888f43d3efc47
7c8cfe6a31a060b04d3407b314e03b9ce3026ae8
refs/heads/master
2022-11-06T16:37:28.481120
2020-06-25T06:05:11
2020-06-25T06:05:11
274,841,058
1
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "logicpro.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "madhupython2255@gmail.com" ]
madhupython2255@gmail.com
2af87ae83c59320be212bf31dbd897909cd778c8
682cf06747f15c449c916650f0cc00994b68fb46
/get_3prime_UTRs.py
2d54cdc6cbbcb2a4eca65b3763fdf73ffb1f6629
[]
no_license
JahazielGuzman/differential-expression-of-mosquito-genes
50644dc76ae20d6642e166b0e1bf82b1ee45510c
ea93b13d3c18ce4380cdfd55707f9d5322c3d564
refs/heads/master
2021-01-14T13:27:01.827641
2015-08-12T04:37:34
2015-08-12T04:37:34
24,608,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# this script will open the noriboaegypti.gff3 annotation file, it will find sequences which are # labeled as three_prime_utr and will obtain an identifier, the chromosome, and the starting and ending # chromosomal coordinates for each these sequences and will # output it into the file 3_prime_utr_list.txt import csv ...
[ "ja.xi.es@hotmail.com" ]
ja.xi.es@hotmail.com
f81a3b9aa0d08ebcc9c61c9d2ebb3edf275c0928
81f24c378cc9aa0cddd90c28a22034988de9b9dd
/spartan/model/eaglemine/run_waterleveltree.py
2f36579dc169f88ad8d7234293b0d27603662bde
[ "BSD-3-Clause" ]
permissive
GitYangshanglin/spartan2
2f852639f7bc7477666fcb6231ea3df84204ec8d
0b30fa342299199b5df65655a712d3591bfa10e8
refs/heads/master
2023-06-03T08:36:29.122157
2021-06-23T10:02:29
2021-06-23T10:02:29
293,672,841
0
2
BSD-3-Clause
2020-09-08T01:47:02
2020-09-08T01:47:01
null
UTF-8
Python
false
false
2,172
py
#!/usr/bin/python2.7 # -*- coding=utf-8 -*- ################################################################## # WaterLevelTree Test # Goal: Test script for WaterLevelTree algorithm # Author: wenchieh # # Project: eaglemine # waterleveltree.py # Version: # Date: November 29 2017 # Main Contact...
[ "wenchiehfeng.us@gmail.com" ]
wenchiehfeng.us@gmail.com
152fe7cb69fa2f01590149d95dc4b52c08b9ff09
f9fbecc97515f10baaea7010c19e1012b621320e
/preprocess.py
6809c11af1e09f1f2b3d240fa33999f5cabd77f9
[]
no_license
Canis-Ignem/text_generation_chat_bot
cf2d4ed8790317ec0c9ae800697e4205b940fab4
6a10906cffaf7ed329761badc4f097febd4e13c7
refs/heads/main
2023-07-18T22:35:26.855957
2021-09-06T18:08:42
2021-09-06T18:08:42
402,919,303
0
0
null
null
null
null
UTF-8
Python
false
false
2,705
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import csv import re import os import codecs from io import open # Splits each line of the file into a dictionary of fields def loadLines(fileName, fields): lines =...
[ "jonperezetxebarria@gmail.com" ]
jonperezetxebarria@gmail.com
13343e0d8b4bd5bc569c3960c4d726551725a409
022ca78fa4a05384f2a8fdcbbef5c12c88af22fe
/retinaReduction2.py
d8d78df35836bb3a895d9112241f85f63baaf46f
[]
no_license
LuisSustaita/NeuronasLocas
763a0a324dea348e7432561e781983542818854c
b7f60d461eff01b742d199a76b5317270ef23b9e
refs/heads/master
2020-03-19T12:52:21.953931
2018-08-24T19:18:49
2018-08-24T19:18:49
136,546,204
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
''' Vista del DVS con filtro de ruido Modificar en el main para: mostrar un archivo grabado (RetinaRecord) grabar un archivo nuevo y mostrarlo en pantalla (Retina) SE MODIFICO PARA REDIMENSIONAR LA VISTA DEL DVS DE UN ARCHIVO YA GRABADO SIN REDIMENSIONAR EN EL MAIN DEBE PONER EL NOMBRE DEL ARCHIVO QUE SE VA A LEER, SE...
[ "ld.delacruzsustaita@ugto.mx" ]
ld.delacruzsustaita@ugto.mx
76eb8ab4db188cd464763f02327f4729a56fa0c4
20058c68d244a650230c73e40ca3734516b17a79
/zuoye1.py
2267c81cee2ade397e86a7db54bb7a62b18af742
[]
no_license
trafficker/8
c116cdcd8db49216393d8ca055894437259b2257
0f34915f8993969769d707832bb900d3b607d6ad
refs/heads/master
2021-05-04T13:52:40.048158
2018-02-05T15:22:20
2018-02-05T15:22:20
120,324,470
0
0
null
null
null
null
UTF-8
Python
false
false
5,629
py
import numpy as np #import matplotlib.pyplot as plt def readData(): """ Read data from txt file. Return: X1, y1, X2, y2, X3, y3: X is list with shape [50, 4], y is list with shape [50,] """ X1 = [] y1 = [] X2 = [] y2 = [] X3 = [] y3 = [] ...
[ "136528864@qq.com" ]
136528864@qq.com
2fc98b738bd56aa8aff7591590b98098af6a04b0
37b014820aef8b83e3eca3f102b3d04ef504066e
/readcsv/settings.py
65777c4908e4034159ad3c696a1251fa850b447a
[]
no_license
juniorcarvalho/readcsv
d8ae35efe65c90363920a1049c17554b0757fe15
0a20ad4f96929b9f5bab703f2c47f6c0ff345bc3
refs/heads/master
2022-05-25T08:00:16.372555
2021-04-08T20:38:00
2021-04-08T20:38:00
208,878,426
1
0
null
2022-04-22T22:17:01
2019-09-16T19:14:28
Python
UTF-8
Python
false
false
5,052
py
""" Django settings for readcsv project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os fr...
[ "joseadolfojr@gmail.com" ]
joseadolfojr@gmail.com
a3cc5a2cf9f1da539e1611c79cd5455d02395395
05a701a04e77b391f2bdc17b21560731b18fdd63
/first_project/test.py
b6427e9e3d863d8ae90b2e6b2959e76d04e74526
[]
no_license
gregor-d/python_kurs
50627836977c03a05578a43ac3dd00a5ae25ac50
7060eb3de624932044a372ea8e2f3cb9e4f42355
refs/heads/main
2023-03-29T03:05:26.114577
2021-04-09T15:26:41
2021-04-09T15:26:41
355,952,792
0
0
null
null
null
null
UTF-8
Python
false
false
5,039
py
import numpy as np np.random.seed(45) fString = open("diagnosis.data","r") fFloat = open("diagnosis.csv","w") for line in fString: line = line.replace(",", ".") line = line.replace("\t", ",") line = line.replace("yes", "1") line = line.replace("no", "0") line = line.replace("\r\n", "\n") fFlo...
[ "didenko_g@gmx.de" ]
didenko_g@gmx.de
8d00f818311ffe523055ea0f3e27476309954987
2eee482984e958eb3e25a176123e6444021f18d7
/Lectures/Lecture Code/week2/iterators.py
7749df62735576a2938af7c4878b3d8d4c12954a
[]
no_license
JamesJ7lx/COMP1531
aa1873a86f3e464c826489b3a71785c62aeedb2a
e99eb59844317830806dbb14922a216b9bbb5952
refs/heads/master
2022-11-17T01:04:19.925095
2020-07-17T15:11:35
2020-07-17T15:11:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
animals = ["dog", "cat", "chicken", "sheep"] animal_iterator = iter(animals) class Squares: def __init__(self): self.i = 0 def __iter__(self): return self def __next__(self): self.i += 1 if (self.i > 200): raise StopIteration return self.i*self.i squa...
[ "noreply@github.com" ]
JamesJ7lx.noreply@github.com
b365e14451153a32b788ea21316db61b97698dc1
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-3648.py
43de1a025a9b7634670b7fa09e1476f970e269f3
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,754
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
85a6a96b56a13deb719f4974f8dfc0bab69fc2c7
cb61e82f62bde4d6a2d6f245d0393cd5b1cd02e6
/mysql_connect.py
3cac923612a5fabebd4890b56cb90fd1fce2894b
[]
no_license
Vivvianne/Json-Decoding
3b0d0f265e6d5829e51cd5c6d9ef6481a0475e8a
499d6e99f5511031d502fc56543ca084f2b36077
refs/heads/master
2020-08-08T04:32:39.739844
2019-10-17T14:39:01
2019-10-17T14:39:01
213,714,291
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# Import pymysql module import pymysql # Connect to the database connection = pymysql.connect(host='localhost', user='root', password='her1234', db='interview', charset='utf8mb4', ...
[ "ndiahav@gmail.com" ]
ndiahav@gmail.com
84ce9b9537a18d7d6b4343f82c335f4d7c2876c5
fb9270eefb2f81dfb090c8109d32670ae1f0ca61
/yeminwu2_PE10.py
db6cdd58c7b6fb4e073da637f62d622b5b771f06
[]
no_license
Zoeoez/452
0df075fd106d0e610347127c82b108e9d05b9201
3575871ea3bf69ebe6dd670e64d30f14185cc289
refs/heads/master
2021-02-04T05:08:35.240127
2020-02-27T21:38:25
2020-02-27T21:38:25
243,622,146
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
#PE10 count=0 length=0 phrase=input("Please enter the phrase you want to get the average length:",) words=phrase.split() for one_word_str in words: count=count+1 length=length+len(one_word_str) print(length/count) # To calculate the average word length in a sentence entered by the user, I need count as count #...
[ "zoe@ZoedeMacBook-Pro.local" ]
zoe@ZoedeMacBook-Pro.local
bfa35f94f75b35d4f6888f6f02b54d6012a6f1c0
db9f1f51d224064916bbdc2c135079fa2eebb12e
/2_1_1.py
3325b146d25fd7fbfbe8c214ae04ad3d70f96cc5
[]
no_license
joyce0917/Fundamentals-of-Programming
999516ee911607b4d6a71c11491f11517a5ecbef
a47cf953e2743d873fab2ab829790b53a7e14e3c
refs/heads/main
2023-04-14T21:28:36.696222
2021-04-20T02:57:12
2021-04-20T02:57:12
359,665,027
0
0
null
null
null
null
UTF-8
Python
false
false
6,598
py
# Joyce Moon (seojinm) section B import string import random # Write the function patternedMessage(message, pattern) # that takes two strings, a message and a pattern, and # returns a string produced by replacing the non-whitespace # characters in the pattern with the non-whitespace # characters in the message. ...
[ "noreply@github.com" ]
joyce0917.noreply@github.com
10196359aaf3e9ce8390a8bcf0b81c84b671067b
4993456c4a48ed035a36b4533d632a582d1cedf1
/patterns/prototype.py
d5c41fdc4045b89fb76f052da43c8c628c0857f1
[ "MIT" ]
permissive
raldenprog/python_tricks
f2683c169499bea82fb5a1dfe730a94022b7c472
b30be8672d1a47ed5bfddf2deccd9b28d68e445d
refs/heads/main
2023-02-16T03:28:26.009158
2021-01-01T10:56:40
2021-01-01T10:56:40
314,006,560
1
0
null
null
null
null
UTF-8
Python
false
false
5,933
py
""" https://refactoring.guru/ru/design-patterns/prototype Прототип — это порождающий паттерн проектирования, который позволяет копировать объекты, не вдаваясь в подробности их реализации. """ import copy class SelfReferencingEntity: def __init__(self): self.parent = None def set_parent(self, parent):...
[ "raldenprog@mail.ru" ]
raldenprog@mail.ru
ad4e649b239537eddb6800ce370c12e1249de392
1d08d78e4118a7d843c16fbb5391586167419e50
/RNA_secondary_structure_prediction/app/rna_takefuji.py
342fedfb3c57ad4d3b143b56820ba21949e00142
[ "MIT" ]
permissive
Debapriya-Tula/RNA_sequence
0863a1e28384b6495a3ddc1e591e8f4d708ffced
392948606e97990440e036753c9cfd61bdfdeb60
refs/heads/master
2021-07-13T10:11:32.365152
2020-06-21T15:53:44
2020-06-21T15:53:44
164,237,197
0
0
null
null
null
null
UTF-8
Python
false
false
12,058
py
# Importing necesary modules import numpy as np import pandas as pd import networkx as nx #import networkx.algorithms.approximation as nxaa import matplotlib.pyplot as plt import igraph as ig import io, base64 def takefuji(seq, bases, keep_seq): # Defining weights of base-pairs for use in tables main_dict = {'GU':...
[ "tdebapriya@gmail.com" ]
tdebapriya@gmail.com
cbd55ab8d75ea16cc6b47917fdb3d4bd5b865eac
a3a3e1298db9555eda37f8da0c74a437d897cb1f
/compiled/Python3/Euler_Problem-030.py
a12edacad0729aad1effb41722fb40fbead3d74c
[ "MIT" ]
permissive
LStepanek/Project-Euler_Befunge
58f52254ee039ef6a5204fc65e62426c5e9d473a
f35fb2adecd737e410dee7b89b456cd61b25ce78
refs/heads/master
2021-01-01T17:51:52.413415
2017-05-03T17:23:01
2017-05-03T17:26:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,953
py
#!/usr/bin/env python3 # transpiled with BefunCompile v1.1.0 (c) 2015 def td(a,b): return ((0)if(b==0)else(a//b)) def tm(a,b): return ((0)if(b==0)else(a%b)) s=[] def sp(): global s if (len(s) == 0): return 0 return s.pop() def sa(v): global s s.append(v) def sr(): global s i...
[ "mailport@mikescher.de" ]
mailport@mikescher.de
36dfb1049c2f28afc3e8f8fd55309711d38cbd7d
f8380b0738edd88172f1947c7b9dd430cfad503a
/interpret_tree.py
44783bb48344414677d8ffd8cd73d2df775f6714
[]
no_license
gsterner/interpreter
4f516c70d0b29b916ff3d22e8f86f0c75f3bd65c
5a697e912d1425163c34e0f622d7f75826af798d
refs/heads/master
2016-09-06T15:46:33.125940
2013-01-19T21:03:28
2013-01-19T21:03:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
''' Created on 27 nov 2012 @author: gustaf from pythonds.basic.stack import Stack from pythonds.trees.binaryTree import BinaryTree def buildParseTree(fpexp): fplist = fpexp.split() pStack = Stack() eTree = BinaryTree('') pStack.push(eTree) currentTree = eTree for i in fplist: ...
[ "gsterner@gmail.com" ]
gsterner@gmail.com
93c4dbef73a2b04aade727f2926bba0bbb3dcb35
f5836b93e45a0f93094110a499f0aa304c47673b
/authors/apps/profiles/tests/test_validation.py
d77d3d7738040b7a78068665988f3710497c6b73
[ "BSD-3-Clause" ]
permissive
andela/ah-olympians
54a999a26a5ca2fb318cbabeaf31cf53adb28357
f00edb358f42751cdf9405de5f29e2b21dacb7d5
refs/heads/develop
2022-12-10T12:12:04.661270
2019-04-26T15:17:53
2019-04-26T15:17:53
170,839,139
2
2
BSD-3-Clause
2022-12-08T01:42:08
2019-02-15T09:36:35
Python
UTF-8
Python
false
false
1,091
py
from rest_framework.test import APITestCase from rest_framework.exceptions import APIException from ..custom_validations import validate_avatar as vd class ValidationTest(APITestCase): """ Class to test custom validations.""" def setUp (self): """ Sample avatars """ self.avatar_1 = "test.pdf" self.avata...
[ "kelvin.chirchir@andela.com" ]
kelvin.chirchir@andela.com
a9a0e75f2b2347fe435878abddab2d2463af98ff
5b7af7b52867cb486b1cab100a351dc9acd63283
/bin/lib/bdebld/meta/repocontext.py
7ba6fe57a3a97861bc80174f78d1b26054dd90fc
[ "Apache-2.0", "MIT" ]
permissive
RMGiroux/bde-tools
bb347805c1f83b9108d69ecfd864eeea221d666e
7dc88b2b87d9331d988aad71c42905b923db584d
refs/heads/master
2021-01-18T13:32:42.288327
2015-03-24T19:25:31
2015-03-24T19:25:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
"""Aggregate Repository structure and metadata """ class RepoContext(object): """This class represents the structure of a repository. Attributes: package_groups (dict of str to PackageGroup): Map of names to package groups. packages (dict of str to Package): Map of names to packag...
[ "che24@bloomberg.net" ]
che24@bloomberg.net
d5cc2e960fa20a62afd08cea843d499c874eb6ff
67325192c1e528a39d457f11e61b480d68826708
/mods/mcpython/entity/__init__.py
fcc545f71f824192400ba7b8553e05f7da608cb7
[ "MIT" ]
permissive
vashistaarav1611/mcpython-a-minecraft-clone-in-python
5851b377b54fd2b28c106112c7b18f397b71ab50
c16cd66f319efdeec4130e1a43f5a857caf1ea13
refs/heads/master
2023-02-01T22:48:51.787106
2020-12-21T15:02:25
2020-12-21T15:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
from .entity import * from .player import * from .boxmodel import *
[ "baulukas1301@googlemail.com" ]
baulukas1301@googlemail.com
67e330728fcb7259c8d090a6fb63f1aaac133448
6a92f679a25ef52cfa11003109b6b2272ac6ddff
/tests/test_models/test_base_model.py
88223cb2a68bc56a8fd64b4adea88f69ecf889c2
[]
no_license
joancruzz/AirBnB_clone
e90773fc0b74744ddf8cc9ab085e6a713a6bf144
5b91ac84ceabbad35088e8e19d4ad78c22d346a0
refs/heads/master
2020-09-05T11:28:46.615524
2019-11-26T06:47:41
2019-11-26T06:47:41
220,089,775
0
1
null
2019-11-12T22:11:24
2019-11-06T21:05:15
Python
UTF-8
Python
false
false
5,997
py
#!/usr/bin/python3 """ unittest for base_model class """ from models import storage from models.base_model import BaseModel from models.engine.file_storage import FileStorage from datetime import datetime import json import os import re import time import unittest import uuid class TestBaseModel(unittest.TestCase): ...
[ "slopez0286@gmail.com" ]
slopez0286@gmail.com
5f5504b38995c0e6751dc7ffaa5e5c4794b32fd7
83744d85443b2f9c6c0d6cbf830b928a357277e4
/flash.py
24028c3637c10062e3d8d95ca3f1c8f22b847593
[]
no_license
NisargDesai99/AI-Pacman-CTF-Project
05d8635463cb92af2a3f8e3d8d425d7fcb770e31
73e40db733e6a153ed33a14d86d96086b93ff00d
refs/heads/master
2021-05-19T19:26:15.646934
2021-03-28T02:53:21
2021-03-28T02:53:21
252,082,613
1
1
null
null
null
null
UTF-8
Python
false
false
24,566
py
# myTeam.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # At...
[ "nisarg.desai599@gmail.com" ]
nisarg.desai599@gmail.com
246d97bade2ab51e6464b7d6c0953dd755320b50
16bccf6024279e3083f9a81a032ddce121949ef0
/polls/urls.py
a68c0da2c0925f0fbd0b13abe8a566b1977f82dd
[ "Apache-2.0" ]
permissive
chaser8/chaser
28c30ca108b26824050ca4e517970a078b031711
2155db09d21ad2022ddee3e52f1ef4b08952c94f
refs/heads/master
2022-10-20T11:17:15.361195
2020-06-12T06:56:21
2020-06-12T06:56:21
271,102,700
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # @Time : 2020/6/11 3:08 下午 # @Author : yangzb # @Site : https://www.yangzb.com # @File : urls.py # @Software: PyCharm from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), ]
[ "chaser8@163.com" ]
chaser8@163.com
7e413d6c2870d2ffa819a01088c9166d9622f9c8
57371e95899998a01af55ca800495ca5bb841076
/bookstore2/celery.py
616602a3b5ea6b69fee79cacf59bc265f7510b4f
[]
no_license
mosutw/bookstore
cd2796e6f9ab7961fa862ec3215e809208ab1fb2
abb19c14a3f69deffab60e0bc7038e29360b1367
refs/heads/master
2020-03-31T12:30:11.230932
2018-08-07T15:08:37
2018-08-07T15:08:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
from __future__ import absolute_import,unicode_literals import os import django from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE','bookstore2.settings') #设置配置文件 django.setup() app = Celery('bookstore2',broker='redis://127.0.0.1:6379/6') app.config_from_object('django.conf:settings',namespace='CE...
[ "aiyingfeng110@qq.com" ]
aiyingfeng110@qq.com
c1701f3d76d8c99043349152a1e0332b6b094ee6
e0c2225a247899f4012724bf201998ce00b4d2c4
/create_screen.py
121ee684e083a10c4311d590931672dcdf2bb721
[]
no_license
ghager93/kivy_explorer
5de5f944abe585380c0eb5f0219ba05f60eeacdc
3047635081bbcb8f6606bbeb116abd3bad95f7fb
refs/heads/master
2023-08-27T13:02:00.812136
2021-11-05T11:58:59
2021-11-05T11:58:59
418,762,446
0
0
null
null
null
null
UTF-8
Python
false
false
3,021
py
import os from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.filechooser import FileChooserListView from kivy.uix.popup import Popup from kivy.uix.stacklayout import StackLayout from kivy.uix.screenmanager import Screen from kivy.lang import Builder from selectablelist import SelectableL...
[ "ghager93@gmail.com" ]
ghager93@gmail.com
683bb3c9c9d92c4fb805072ec4354c12f0c1d2d6
85dd4dbe8ca874dbad08e9456b8ed2ba0bc54079
/dataCalculator/migrations/0001_initial.py
35118e57f831d218e5d16ad16d9fb8107026d7c5
[]
no_license
htkz/design-engine-frontend
530e6f4338bd4587aaa58d59578fdd5e598e1fae
f973f71663bccbd733738aafbf00fdc8d5dd92b3
refs/heads/master
2021-08-15T11:35:07.003640
2017-11-17T19:31:13
2017-11-17T19:31:13
111,142,784
0
0
null
null
null
null
UTF-8
Python
false
false
4,666
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-11-16 19:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DataSt...
[ "htkzmo@gmail.com" ]
htkzmo@gmail.com
51885bc42db050c15e09bef44b3e7a721049c255
69af8511431f477cf57074dde1e9213dca36e921
/Python Class QUIZ.py
83af5033a9833d49699b25913792b7f7a060880f
[]
no_license
ccallen001/Playing-w-Python
4a04621aad8a76c9b627cdce0b1e3f79c2280fbe
4bfcaa3cd9a4eed32095e1909e24aad95a387321
refs/heads/master
2021-01-21T16:15:42.993959
2017-09-04T18:29:18
2017-09-04T18:29:18
95,404,054
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
import random from urllib import urlopen import sys WORD_URL = "http://learncodethehardway.org/words.txt" WORDS = [] PHRASES = { "class %%%(%%%):": "Make a class named %%% that is-a %%%.", "class %%%(object):\n\tdef __init__(self, ***)": "class %%% has-a __init__ that takes self and *** par...
[ "callen@smarterhq.com" ]
callen@smarterhq.com
95526bd8dcbd54db8aa5efb39e9f8d9a31fa5f1f
f2e5a8626405d5b946eaed8d54e522c23fbad75a
/daemon/thunder.py
7175dbad654bf62c528407f0da5684474ae795c6
[ "MIT" ]
permissive
wjianwei126/51pp
e00d523805badf47c2316323fb7bfb6437b791a5
bf48059190f6da7be3526541603a0aaad58187ea
refs/heads/master
2021-01-18T11:17:07.807012
2014-08-05T05:19:18
2014-08-05T05:19:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
#encoding: utf-8 #infohash组成磁力链接到迅雷种子库下载种子(thunder.py) import socket from time import time import requests from bencode import bdecode from torrent import * import sys class thunder(object): def __init__(self, store=None): self.cache = {} self.store = store def download(self,...
[ "2731560337@qq.com" ]
2731560337@qq.com
b2ccc54baa8f5810be524d0f142b9b43562381c9
a8592d34f144b71794ebf30f1c2a1b5faf0b053c
/Praktikum2023/Modul_08/codes/diffusion_02.py
c407706419324a395034cba60ab038151f2df39b
[]
no_license
f-fathurrahman/ffr-MetodeNumerik
ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327
e3a9da224c0fd5b32e671708e890018a3c4104c4
refs/heads/master
2023-07-19T22:29:38.810143
2023-07-07T10:02:34
2023-07-07T10:02:34
107,272,110
2
2
null
null
null
null
UTF-8
Python
false
false
1,735
py
# Explicit method (forward Euler) for diffusion equation # Using two vectors for current and future time import numpy as np import matplotlib.pyplot as plt # Global variables !!! L = 1.5 Tfinal = 1.0 α = 0.1 DO_PLOT = True # Manufactured solution def u_exact(t, x): return 5*x*t*(L-x) def initial_cond(x): r...
[ "fadjar.fathurrahman@gmail.com" ]
fadjar.fathurrahman@gmail.com