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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e027a84960e501ac8790ee4f8a6f4d0ab94394ca | 39c578b5d9eb5ce626f541d8a441533e7bafeb2d | /mlsurvey/sl/__init__.py | d0be503a16efc5bd3d1abe0fdcf612a0bebcefc5 | [
"MIT"
] | permissive | jlaumonier/mlsurvey | 09a0fd0ca172f8213c3229e7623306983bd00c58 | 373598d067c7f0930ba13fe8da9756ce26eecbaf | refs/heads/master | 2023-08-14T18:45:03.838227 | 2021-10-15T18:47:43 | 2021-10-15T18:47:43 | 261,498,675 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 92 | py | from . import datasets
from . import models
from . import visualize
from . import workflows
| [
"laumonierjulien@gmail.com"
] | laumonierjulien@gmail.com |
8429ea38ff229320d3168c06b549a2e44701910d | d63c503df093f4a6f2e4f5fa796c4864a4418461 | /efficient_merge.py | 171610e831fbc392955291b3af2fdee8bf1b256c | [] | no_license | 99rishita/Geeksforgeeks | 963e4c9d484cd615e7ffb7f640d712f15cb7ad3e | ece2da9e1a5f39a54de4af4ee13913e67b10745e | refs/heads/master | 2022-12-29T04:28:11.004559 | 2020-10-02T18:24:39 | 2020-10-02T18:24:39 | 277,882,127 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,211 | py | def find_gap(gap):
if gap<=1:
return 0
return (gap // 2) + (gap%2)
def merge_efficient(arr1, arr2):
n = len(arr1)
m = len(arr2)
gap = m+n
find_gap(gap)
while gap > 0:
#comparing the elements in first array
i = 0
while i + gap < n:
if arr1[i] > ar... | [
"pinnintirevati999@gmail.com"
] | pinnintirevati999@gmail.com |
ea5cfd69f4f9bc994ccc06e09877436971614b21 | e2a545f54dbcbd26406e84ce1b3a2881e473ff0f | /libro/Problemas_resueltos/Capitulo4/listas.py | ae1214f3eb85a6a3c81490d289b51a789a64f77e | [] | no_license | danieljobvaladezelguera/CYPDANIELJVE | 736bbec0700d36722de24ccb2272281cfbfa54a4 | ce32a71f6f559749a9e5eb9d95a6cc7099de213f | refs/heads/master | 2021-06-28T21:38:52.079378 | 2021-01-25T22:04:35 | 2021-01-25T22:04:35 | 207,672,145 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 548 | py | #Arreglo de
#Variables a declarar
LLUVIAS_NORTE =[80,60,120,100,70,150,100,47,95,70,100,130]
for indice in range(1,12,1):
print(f" mes { indice +1 } en region norte={ LLUVIAS_NORTE[indice] } ")
print(LLUVIAS_NORTE[4])
sueldos = []
for indice in range(7):
sueldos.append(int(input("Dame el sueldo: ")))
p... | [
"valadezlender@gmail.com"
] | valadezlender@gmail.com |
198e1aa788b3acfd12ea1893817fbfa75a25b31a | c33e7174a79c4d98118bfd2cceff05f21f3838c9 | /students/models.py | c3bdfb238742122f67801201c340c4e38d73bcb3 | [] | no_license | itepliuk/studentsdb | cb7d3a0885b7e5f1ca7cc690563554bac6f1b29c | 87f9ac5c7f0c0e53b136498e4604367cb08c39f9 | refs/heads/master | 2020-03-08T06:20:07.222533 | 2019-02-24T20:27:30 | 2019-02-24T20:27:30 | 127,969,184 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,705 | py | from django.db import models
from django.db.models import Q
from django.db.models.signals import pre_save
from django.dispatch import receiver
from django.core.validators import MaxValueValidator
from django.contrib.auth.models import User
from django.utils.text import slugify
# Create search student manager
class ... | [
"itepliuk@gmail.com"
] | itepliuk@gmail.com |
db3312bd5d33bc08f5a0b1adf886af949c3ba7af | 586383ed657389cc67ca6c822b3ebd7e91e4d5a9 | /app_page_cap_img/migrations/0007_auto_20190605_1741.py | 85e91d1605b03e2e5499b9ac24ff3598c929f434 | [] | no_license | idelfrides/app_capturepage_django | d510e824ca57e598ec7c8bcc2e9e7c7fa04099f6 | 6ad6d87e76deb6075195ee2117c0974a6b480b5f | refs/heads/master | 2022-06-14T17:44:15.945803 | 2022-06-07T20:30:18 | 2022-06-07T20:30:18 | 225,614,573 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 445 | py | # Generated by Django 2.2.2 on 2019-06-05 20:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_page_cap_img', '0006_auto_20190605_1740'),
]
operations = [
migrations.AlterField(
model_name='pagecapimage',
na... | [
"idelfridesjorgepapai@gmail.com"
] | idelfridesjorgepapai@gmail.com |
0d0a75c5b66582039794507e23f6de7d8f58d838 | 4d72f77f488d798aa9a4c21f231f91b8f3019009 | /main.py | 5231121a05946e92b654380b28612bf269d4adf5 | [] | no_license | H1dery/Phoenix_tools | 1f0e192b18f50afd340d80215212e08229f854c3 | 4d5dda09f0a1d363ad0dc6c79db562e38c6a45d3 | refs/heads/master | 2020-04-23T01:43:53.006174 | 2019-02-15T07:50:01 | 2019-02-15T07:50:01 | 170,822,564 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,096 | py | #coding=utf-8
## __author__ = "Fidcer" ##
import Phoenix_scan
import argparse
import re,sys
import socket
import write_html
import Web_Directory
def main():
PortList = [21, 22, 23, 25, 80, 135, 137, 139, 443, 445, 1433, 1502, 3306, 3389, 8080, 9015]
parser = argparse.ArgumentParser()
parser.add_argument('-... | [
"noreply@github.com"
] | H1dery.noreply@github.com |
d08e18378fecc88d481a841cdfef086e6ed3d832 | 141508442608aacea6087a35d00aeb85ce02474f | /upgrade.py | c9958f3e56242edb0df9c81f99de39715f79de9a | [
"MIT"
] | permissive | eoakley/chs | 7e82eabd15a97bf0800ac5b3ffc90a9651ca6c80 | ecfe51bff1c674d397c24a466b9d79f72743706b | refs/heads/master | 2020-06-30T16:21:06.683813 | 2019-08-09T12:59:44 | 2019-08-09T12:59:44 | 200,882,563 | 0 | 0 | MIT | 2019-08-06T15:54:54 | 2019-08-06T15:54:53 | null | UTF-8 | Python | false | false | 1,751 | py | #!/usr/bin/env python
import sys
import os
file_path = os.path.dirname(os.path.abspath(__file__))
file = os.path.join(file_path, 'chs/VERSION')
if len(sys.argv) > 1 and sys.argv[1] == 'major':
opened_file = open(file, 'r')
[major, minor, patch] = opened_file.read().rstrip().split('.')
old_version = '{}.{}.{}'.... | [
"zuber.nicholas@gmail.com"
] | zuber.nicholas@gmail.com |
c7fa2edb51934c7a54bfd3d88041a82f6c413dc6 | d161ff2c791e3a6a0996b6bad453e92b67b95c82 | /setup.py | a2466a813edb26a9febe9305df69df3f3ce07d73 | [] | no_license | brett-smythe/steve_zissou | 316262f941395ad42e54b8d9bdda0ac288892868 | 6223a2f30e3fe6ab023a06649078e809c00f1a73 | refs/heads/master | 2020-12-24T06:54:39.194933 | 2018-02-26T05:04:13 | 2018-02-26T05:04:13 | 59,321,394 | 0 | 0 | null | 2016-11-18T18:21:43 | 2016-05-20T19:36:03 | Python | UTF-8 | Python | false | false | 658 | py | """Setuptools for steve-zissou service"""
from setuptools import setup, find_packages
reqs = []
with open('requirements.txt') as inf:
for line in inf:
line = line.strip()
reqs.append(line)
setup(
name='steve-zissou',
version='0.1.0',
description='Web app for displaying data collected... | [
"brett@debian-laptop"
] | brett@debian-laptop |
058177b7d349b12b84e5d5301c13a103392fba19 | 7cc56fe7ea30d97151662a06221fde22607a96af | /code/models/item.py | e2eaf827479ebdb39af6402a1d9232cbe3d4a4b7 | [
"MIT"
] | permissive | sahinme/python-flaskSQLAlchemy-api | 09f6d68ac13861e129d939795e4aecd29aeff208 | b765845d715a76f5702c1e19bb946704df5796ec | refs/heads/master | 2022-12-05T06:23:54.872370 | 2020-08-22T21:22:16 | 2020-08-22T21:22:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 918 | py | from db import db
class ItemModel(db.Model):
__tablename__ = "items"
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80))
price = db.Column(db.Float(precision=2))
store_id = db.Column(db.Integer, db.ForeignKey('stores.id'))
store = db.relationship('StoreModel')
d... | [
"alisahindev@gmail.com"
] | alisahindev@gmail.com |
7c046af1dfc10062a55c859b7eed0cf62675b5fa | 2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02 | /PyTorch/built-in/cv/detection/ABINet_for_PyTorch/mmocr/datasets/pipelines/transform_wrappers.py | 15dd0e9caa84478e16a5e4736304c51d81814722 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference",
"GPL-1.0-or-later"
] | permissive | Ascend/ModelZoo-PyTorch | 4c89414b9e2582cef9926d4670108a090c839d2d | 92acc188d3a0f634de58463b6676e70df83ef808 | refs/heads/master | 2023-07-19T12:40:00.512853 | 2023-07-17T02:48:18 | 2023-07-17T02:48:18 | 483,502,469 | 23 | 6 | Apache-2.0 | 2022-10-15T09:29:12 | 2022-04-20T04:11:18 | Python | UTF-8 | Python | false | false | 4,022 | py | # Copyright (c) OpenMMLab. All rights reserved.
import inspect
import random
import mmcv
import numpy as np
import torchvision.transforms as torchvision_transforms
from mmcv.utils import build_from_cfg
from mmdet.datasets.builder import PIPELINES
from mmdet.datasets.pipelines import Compose
from PIL import Image
@PI... | [
"chenhao388@huawei.com"
] | chenhao388@huawei.com |
31e7de61859d97826c355ca015623239c96f870b | c14de8b244c2c9404cbed969c31f65a328d83ba3 | /examples/common/python/connectors/interfaces/worker_registry_interface.py | f02b70530836415a19681a673b174733300280ef | [
"CC-BY-4.0",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-public-domain",
"Zlib"
] | permissive | Bavaji9/avalon | 5fd9b246a2f1a96838b96042dae278d5dd4ab250 | 70ee4f75c6a4cc41845692840e4cc74b8dd65652 | refs/heads/master | 2021-01-03T06:40:05.920729 | 2019-12-16T16:57:41 | 2019-12-30T11:21:15 | 239,964,073 | 0 | 0 | Apache-2.0 | 2020-02-12T08:51:31 | 2020-02-12T08:42:06 | C++ | UTF-8 | Python | false | false | 6,521 | py | # Copyright 2019 Intel Corporation
#
# 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 wri... | [
"32893509+danintel@users.noreply.github.com"
] | 32893509+danintel@users.noreply.github.com |
c07305618de87bdc9f232c58a41421805d9bbb91 | 085da9aa977db6553e4df099b87330a2f97f8e33 | /2/Q6/main.py | c512b16f2e5d15a58435f22b093baed5991c0b00 | [] | no_license | AakashSingh01/Data-Analysis | a23ea75a8872b8e51408ac9db8f469a3e4b60d3c | 8d4c4659c67d2c929e3ecd2357961b1050ccdd6b | refs/heads/master | 2021-09-01T12:57:32.833596 | 2017-12-27T04:17:11 | 2017-12-27T04:17:11 | 110,474,078 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 574 | py | def stock(t,share,names,y):
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRegression
import statsmodels.api as sm
ls=[share[i] for i in range (126217) if(names[i]==t)]
#plt.plot(ls)
#plt.show()
model = sm.OLS(y, ls).fit()
print("Predicted value for",t," is :",mod... | [
"noreply@github.com"
] | AakashSingh01.noreply@github.com |
22e55005276482dd950f14ec8102feef648b751a | 99329cfd13e1f9e0f7f04c692f8dabcc7cddb8b6 | /manage.py | e02dabd32718b2adf7b5d1218d1d996383b41f2d | [] | no_license | vasudhavarshney/Cart_API_With_DjangoRestApi | c24633c86cc529103e69beac9e155e4c00cfd481 | 7395c747fe4a7be653f6e07917a0a4296e82126b | refs/heads/master | 2023-04-06T02:44:51.495293 | 2021-04-30T08:28:34 | 2021-04-30T08:28:34 | 363,075,904 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 674 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'restapiwithmongodb.settings')
try:
from django.core.management import execute_from_command_line
... | [
"vasudhavarshney@gmail.com"
] | vasudhavarshney@gmail.com |
cf715fd5b9f678b25d6f85fc8b63ba5a8d66ed4b | 952d50bcc73290edc37d934a5065c8f7e9415a32 | /fibonacci sequence.py | 34bc6cea4ac65e96c00929faf51e0c15091dff00 | [] | no_license | levanin/UCYEAR2 | 6929450e893919790a0a14431e9de72237b026fa | 0a250b886d93c207ed3805f0b497404276cb2f38 | refs/heads/master | 2020-04-26T12:20:26.888922 | 2019-03-24T08:12:56 | 2019-03-24T08:12:56 | 173,546,208 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 76 | py | def fibonacci(n):
if (n = 0 or n = 1):
return n
fibonacci(n) | [
"shailevanin@gmail.com"
] | shailevanin@gmail.com |
7de1429f92673379e835074b60420d575c7e77d4 | ccf14a2b5bdc272be7f0e0622705feaa6f060b9b | /DefHandler.py | e4af0904ad7a9f370d07e1dbd986b346bea9568d | [] | no_license | Magdz/JavaCompiler | 423549ff77e62800fdcc75aff210cafdd8847b8e | a3407b62215c6269e4e11b3f7d958904e710133e | refs/heads/master | 2021-04-15T14:23:45.060346 | 2018-05-15T19:44:46 | 2018-05-15T19:44:46 | 126,528,545 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 633 | py |
class DefHandler(object):
def __init__(self):
self.handlers = {
'SYMBOL': self.handle_symbol,
'ALT': self.handle_alt,
'PLUS': self.handle_plus,
'MINUS': self.handle_minus
}
def handle_symbol(self, token, stack, values):
stack.append(token.value)
def handle_alt(self, token, stack, values):
pass... | [
"magdz_008@yahoo.com"
] | magdz_008@yahoo.com |
dd8a02085f20df07985fdbc86e783d9cd6b3e20e | 75d9c79dfed10968b73936c2b970b4c4a5d69bb1 | /misc/pygments-main/pygments/token.py | e5eadf0d7e1cd6320e65992a9cbc2b2099f307fa | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | korpling/ANNIS | 62e23fbf6ca04049e34a8ef8e7240e41798af7e0 | 5fb9f87382e64b5adc4a3cb8beee1c4da26e1771 | refs/heads/main | 2023-08-27T22:56:46.215800 | 2023-07-26T12:19:16 | 2023-07-26T12:19:16 | 5,449,546 | 53 | 23 | Apache-2.0 | 2023-07-26T12:09:57 | 2012-08-17T08:03:40 | Java | UTF-8 | Python | false | false | 5,772 | py | # -*- coding: utf-8 -*-
"""
pygments.token
~~~~~~~~~~~~~~
Basic token types and the standard tokens.
:copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
class _TokenType(tuple):
parent = None
def split(self):
buf = []
... | [
"thomaskrause@posteo.de"
] | thomaskrause@posteo.de |
4fdabbd008585848fa8cd66d8bf62faf423427b2 | e06ddcd701a05d7e38ab6feff423a2afef0eea73 | /modules/rhymebot.py | 9e5a1d255fb4e3104f4189d1fb8ece0d0fbced57 | [] | no_license | Spacerat/SkypeBot | 6d9f1df89d1019bac718c58784c69447c5b38f45 | 2872f49c6b9251b3fbbe141d796d511def4e671a | refs/heads/master | 2021-01-19T06:34:54.785326 | 2010-08-22T01:24:36 | 2010-08-22T01:24:36 | 598,773 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 985 | py |
import interface
import urllib2
import re
from xml.dom import minidom
from stringsafety import *
from random import randint
def Handle(interface,command,args,messagetype):
"""!rhyme word - Get some words that rhyme with word."""
if args=="": return
url = "http://www.zachblume.com/apis/rhyme.php?format=xml... | [
"spacerat3004@gmail.com"
] | spacerat3004@gmail.com |
e322d3ae9651d7a3eabde842bfa9e617f4a4c320 | 4244b27c3592131a13c48ad63c9bfb6759fca00c | /The-British-and-American-Style-of-Spelling.py | 6c6e0a37ceb526031dfd71f0e1760e922c4c24d9 | [] | no_license | ssantic/HackerRank-RegEx-Applications | d9376d00a29c80d219865cfff68d93a611d4abbc | a9832c52d05d94dcc3097ad8e5c6b533ce751cc0 | refs/heads/master | 2021-01-21T19:47:30.958261 | 2017-05-23T10:04:25 | 2017-05-23T10:04:25 | 92,158,030 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 433 | py | """Parsing words with British or American spelling."""
import re
N = int(raw_input())
sentences = str()
for _ in xrange(N):
sentences += raw_input()
sentences += ' '
T = int(raw_input())
tests = list()
for _ in xrange(T):
tests.append(raw_input())
results = list()
for test in tests:
regex = test[:-2]... | [
"srdjan.santic@gmail.com"
] | srdjan.santic@gmail.com |
5c25c75a91f879cf01c099cea8ee396ae6f10dcb | b6f1370556beaa5d6a6b1f9d2678e876a15ca014 | /yelp.py | f506fb76c7c89dfee266719a9fdfa027d940522e | [] | no_license | joseEnrique/test-API-IDLReasoner | 07bc980f1a746d332ff758c2fadadeb6ec96528c | d2a33b6b43335d438b15c79be3a244ddc164bbfb | refs/heads/main | 2023-07-11T20:58:06.551024 | 2021-08-20T22:32:43 | 2021-08-20T22:32:43 | 398,411,355 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,935 | py | import json
import requests
import asyncio
import csv
import time
from timeit import default_timer
from concurrent.futures import ThreadPoolExecutor
START_TIME = default_timer()
def read_csv():
result = []
with open('test/yelp/invalid.csv') as csv_file:
csv_reader = csv.reader(csv_file, delimiter=',... | [
"joseenriqueruiznavarro@gmail.com"
] | joseenriqueruiznavarro@gmail.com |
63104e86ee47534ac82f693060c513067bf1c179 | 3398f6c384281a6a324aab85e3bc6e6267a35339 | /app/ingredients_detection_v2.py | 6fe540eddd12940c2eaa921660c29f274ef6670d | [] | no_license | ahyz0569/STS | d0b36dfb3c193da091fbdc027b022b2199338dc6 | 605d9325bb9623cee3f8922072a9b6539ab67f95 | refs/heads/master | 2022-12-14T19:47:08.746421 | 2020-05-25T14:50:32 | 2020-05-25T14:50:32 | 241,295,016 | 2 | 3 | null | 2022-12-08T07:27:58 | 2020-02-18T07:07:08 | HTML | UTF-8 | Python | false | false | 1,629 | py | import torch
from torchvision import transforms
from matplotlib import patches
import matplotlib.pyplot as plt
from detecto import core, utils, visualize
from skimage import io
def detect_ingredients(image, boxes, labels=None):
plt.rcParams.update({'font.size': 14})
fig, ax = plt.subplots(figsize=(20, 10))
... | [
"ahyz0569@gmail.com"
] | ahyz0569@gmail.com |
6418bcc040b763bb71aa3a3e9a374d570301ee82 | f082417069cefe75a0861843430f6acd4c1de449 | /webapps/ve_project/src/ve/functions.py | cc703d3452d116e20bebe79dbbeaf2c47ddc13ec | [] | no_license | dobati/veproject_webapps | 8148cb7a6478ec2214b927cfeb5436b34fc8bd8c | 6b9857a38fb1152238194900226ea6b963bc1734 | refs/heads/master | 2020-12-24T15:50:34.332181 | 2016-03-17T10:08:08 | 2016-03-17T10:08:08 | 28,665,887 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,074 | py | # -*- coding: utf-8 -*-
from __future__ import division
import random
import re
import Levenshtein as lev
import aspell
import string
import unicodedata
import distance
# Function help()
# ========================================================================================
def help_words(randomsent, randomsent_... | [
"dolores.batinic@uzh.ch"
] | dolores.batinic@uzh.ch |
67d7397c7e522f6c520bc6bad0edb954381f1e3a | 773c69c39387af8c8e374ce307eb92b850045d15 | /tools/processHelen.py | f1bc7f3e948e3b347f9170978e4419bb809a1151 | [
"MIT"
] | permissive | tayfunates/pix2pix-tensorflow | 5c721e55a9f752f5ac7fa553bc1ec8ec29326536 | c696156636899f7cec1c7c0ad520dcfe9aa5acbc | refs/heads/master | 2020-03-18T01:22:18.915237 | 2018-06-03T11:54:28 | 2018-06-03T11:54:28 | 134,139,317 | 0 | 0 | null | 2018-05-20T10:04:31 | 2018-05-20T10:04:31 | null | UTF-8 | Python | false | false | 9,363 | py | import argparse
import os
import tempfile
import subprocess
import tensorflow as tf
import numpy as np
import tfimage as im
import threading
import time
import multiprocessing
import matplotlib
import scipy.misc as sm
parser = argparse.ArgumentParser()
parser.add_argument("--input_dir", required=True, help="path to fo... | [
"tayfun@caverna.cs.hacettepe.edu.tr"
] | tayfun@caverna.cs.hacettepe.edu.tr |
c8ca518523066602d66a33743dc6fd505d5b7567 | 1f295ce58be3f299f2b66e81b2df2281ff2c37a1 | /project_draft.py | 4c7b388fcd05121a89c4789f6bc2f754eecd8b34 | [] | no_license | LucasSabbatini/aind-p2-game-playing-agent | 883867e873f784f1b75ef0f79f7d5acc7cd196db | 0de3de81742f77deb078771500518537d9299a73 | refs/heads/master | 2021-08-23T21:28:45.558613 | 2017-12-06T16:40:00 | 2017-12-06T16:40:00 | 111,029,508 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,151 | py |
import random
import numpy as np
def custom_score(game, player):
"""Calculate the heuristic value of a game state from the point of view
of the given player.
This should be the best heuristic function for your project submission.
Note: this function should be called from within a Player instance as... | [
"lucassabbatini@gmail.com"
] | lucassabbatini@gmail.com |
b79590ac3e08d5f6a2e861b214934ecac1ae93c7 | 314fbb9641aee064730a1a12f3164ac512a6c27d | /Desktop/Project/todolist/lists/models.py | 0560a18a391791cea070472f7d0608d080a5cd42 | [] | no_license | sarthakprajapati/todolist | 7dfc3f94dc6e812b45b292fbf84946dd505f548f | ed716f0b405abb16dbe5cb73e8b03adbd465ef7a | refs/heads/master | 2021-05-08T15:40:01.795570 | 2018-02-03T19:44:47 | 2018-02-03T19:44:47 | 120,122,925 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 373 | py | from django.db import models
# Create your models here.
class todolist(models.Model):
title = models.CharField(max_length=20)
description = models.CharField(max_length=200)
date = models.DateField(auto_now=False, auto_now_add=False)
active = models.BooleanField(default=True)
def __str__(self):
return ... | [
"sarthakprajapati@live.in"
] | sarthakprajapati@live.in |
615c5d23737fde98c2ed00eb9ee6f0c664ae518f | 9b3293e0f94c717f88f14bf161785685688b7bd1 | /flickr/data.py | f47293653a6a97106e20ba7148cf2c0c2a92cfe5 | [
"MIT"
] | permissive | Deepayan137/ml_ss19_cross-modal | 715c4809a9718b4cf8a9221eea0eb1420bc9f937 | 10159be3fd97730d1b0d7e10aea371215e65aad6 | refs/heads/master | 2020-06-18T13:35:26.317897 | 2019-07-11T06:18:21 | 2019-07-11T06:18:21 | 196,319,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,103 | py | import torch
import torch.utils.data as data
import torchvision.transforms as transforms
import os
import nltk
from PIL import Image
import numpy as np
import json as jsonmod
import pickle
import pdb
class FlickrDataset(data.Dataset):
"""
Dataset loader for Flickr30k and Flickr8k full datasets.
"""
d... | [
"deepayan137@gmail.com"
] | deepayan137@gmail.com |
0e6013ae1d59046d1b969eec8d8a3e912e94342c | 0f276c28a4a66fa715368db2455af5c8caec2823 | /todo/models.py | 30bcccb32587940d53132bd564b8c511cc1f6563 | [] | no_license | ryor40172/todo | 6354d2549ad331c0ac117568d6af3f43e95e3e2f | 135d11f8c036661daaea96cf11319fdf0f4acf84 | refs/heads/master | 2022-07-03T16:31:03.620641 | 2020-05-13T08:15:15 | 2020-05-13T08:15:15 | 263,567,994 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 379 | py | from django.db import models
# Create your models here.
PRIORITY = (('danger','high'),('info','nomal'),('success','low'))
class TodoModels(models.Model):
title = models.CharField(max_length=100)
memo = models.TextField()
priority = models.CharField(
max_length = 50,
choices = PRIORITY
)
duedate = mo... | [
"r.y@yofuneracBookea.elecom"
] | r.y@yofuneracBookea.elecom |
445680537fd1407a06de0e00035762daa2c87efb | 3ce0b93b6f7d94e82e1dfe4498b87680f8f0ed85 | /1977.py | 856c14edca7c46077d50683046bb133847f07977 | [] | no_license | stellaluminary/Baekjoon | 8ff31fb3dc2d4ca55a4da34e4156c595adbead52 | 22ebacf6c80872bd98f610d93fd527b70c3d760e | refs/heads/master | 2022-09-05T02:16:57.112602 | 2022-08-10T13:41:57 | 2022-08-10T13:41:57 | 211,986,841 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 352 | py | """
Method 2
"""
n = int(input())
m = int(input())
t = [i**2 for i in range(101) if n <= i**2 <= m]
print(f'{sum(t)}\n{t[0]}'if t else -1)
"""
Method 1
"""
n = int(input())
m = int(input())
t = [i**2 for i in range(1,101)]
s = []
for i in t:
if n <= i <= m:
s.append(i)
if len(s):
print(sum(s))
p... | [
"43261434+stellaluminary@users.noreply.github.com"
] | 43261434+stellaluminary@users.noreply.github.com |
1edfcedba76e88ee929715b12d2c8848b2dfbf9f | 1f4ee7cfb3ecd5c712f4e59f16b4aa908b54dc49 | /snippets.py | 8154c41760b689b8c5b6767973e7df548773f5aa | [] | no_license | mrush336/Self_Driving_Car_Course | 32f4cf8e1fb26cf667416f7028e8d86ce8c3605d | f74f34964319c4ae5b8f45c1941eb52848665971 | refs/heads/master | 2022-12-21T07:49:52.195042 | 2020-10-05T22:31:36 | 2020-10-05T22:31:36 | 297,202,413 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 106 | py | !git clone https://bitbucket.org/jadslim/german-traffic-signs
!ls german-traffic-sign
%matplotlib inline | [
"mrush336@gmail.com"
] | mrush336@gmail.com |
03c40469acfd2bccb77b80c41b3fef53b4f49765 | 44bb6546b50be63fdde19a717bb35e6d13963061 | /oip-vpc/bin/rst2s5.py | e720d1a932dbe36b9fb9fabf6a8e0e258c3442fa | [] | no_license | psdeepu26/python_test | cc2ac322503a73e1ba974198b9e282e7a5f1b5c6 | ee74f619d8aaba4b4e6d5d48c7274635b0a791ba | refs/heads/master | 2023-05-14T04:30:44.112433 | 2020-07-03T14:11:56 | 2020-07-03T14:11:56 | 276,915,441 | 0 | 0 | null | 2021-06-10T23:07:37 | 2020-07-03T14:12:09 | Python | UTF-8 | Python | false | false | 676 | py | #!/Users/spatrayuni/virutalenvs/python/oip-vpc/bin/python
# $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Chris Liechti <cliechti@gmx.net>
# Copyright: This module has been placed in the public domain.
"""
A minimal front end to the Docutils Publisher, producing HTML slides using
the S5 template system... | [
"psdeepu26@gmail.com"
] | psdeepu26@gmail.com |
bad630554e36736b01efb8bc2574a0ffb943de1e | d45b4db35e5e8baef1aa71bb8ae55236e8e8de67 | /transid2geneid.py | 7046b81434910dcabb244921926ff25d3f634fdd | [] | no_license | davek44/utility | a5af6bfff2cf576671dcdfa7bdfdac97a417b26a | 5a2581078bf9dab78cc182f2917ecb671d04570c | refs/heads/master | 2023-04-30T21:19:40.683342 | 2023-04-20T22:30:48 | 2023-04-20T22:30:48 | 7,212,829 | 18 | 11 | null | null | null | null | UTF-8 | Python | false | false | 1,307 | py | #!/usr/bin/env python
from optparse import OptionParser
import gff
################################################################################
# transid2geneid.py
#
# Given a transcript id, produce a gene id to punch into the browser
################################################################################... | [
"dkelley@fas.harvard.edu"
] | dkelley@fas.harvard.edu |
32faa30396f23e4011a0a610069b60514d8a5177 | 46a5163ef27278091fa5d237757d02e6d537a5a8 | /vis_utils/plot_runs_direct.py | 7ace96d944ef58bd23089038a2819f6ef0a0cdf8 | [
"MIT"
] | permissive | lknak/tigr | 5630f02c24bcb9030bf924a315d5ad0069161ab0 | 614a6435c483a25cb8183c08184d140120053a4f | refs/heads/main | 2023-05-28T02:31:02.966208 | 2021-06-07T10:26:42 | 2021-06-07T10:26:42 | 369,203,165 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 15,382 | py | import sys, os, re, time
import matplotlib.pyplot as plt
import matplotlib
import pandas as pd
import numpy as np
from scipy.interpolate import InterpolatedUnivariateSpline as InterFun
from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
# Define folder path for csvs
FOLDER_PATH... | [
"brainstoorm@web.de"
] | brainstoorm@web.de |
13e5580aff5ed3f900413d87447a30a3ad35e622 | e4f9c74094b5d2263768640e15d36265e905a133 | /catalogue_folder_level.py | fd89b2190ece65cbe1739249ffe9d9993e626e6b | [] | no_license | rothwellstuart/nlp-command-line-tool | a4549af4d8bdcd764a20bfbac4c4d9faa7388a27 | 4821391484dbb9fc9896a1c9c1dd5ac385f5f8d2 | refs/heads/master | 2020-03-29T02:19:23.249589 | 2018-09-19T10:05:53 | 2018-09-19T10:05:53 | 149,430,401 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,004 | py | # # Catalogue_folder_level
#
# Create a high level classification of files by file type, WITHIN A FOLDER
#
# Imports
# def catalogue_folder_level(selected_dir):
import os, sys, magic, time, hashlib, csv, shutil, operator
from os import listdir, environ
from os.path import isfile, join
import pandas as pd
# Initi... | [
"rothwellstuart@hotmail.com"
] | rothwellstuart@hotmail.com |
38ca3a02b5ddb39e04540b8ee04a6af0828c4cbd | 842a047102c81e78c7c9276bb77519218b6c3967 | /app/django-backend/app/spendings/views.py | 4aa7551f3a877c371e165801c3beba89fb3bf7f3 | [] | no_license | dpinedaj/FinanceApp | 18017455d962e0db6acd05f4547c4d76dbe50745 | 12f5e84f4758d59b8916472661ff2411ced40ecc | refs/heads/master | 2023-05-08T06:29:02.896984 | 2021-05-03T01:39:22 | 2021-05-03T01:39:22 | 300,404,921 | 1 | 0 | null | 2021-05-03T01:39:23 | 2020-10-01T19:45:53 | Python | UTF-8 | Python | false | false | 434 | py | from rest_framework import viewsets
from spendings.models import Spends, SpendTypes
from spendings.serializer import SpendsSerializer, SpendTypesSerializer
# Create your views here.
class SpendTypesView(viewsets.ModelViewSet):
queryset = SpendTypes.objects.all()
serializer_class = SpendTypesSerializer
cla... | [
"dpinedaj@unal.edu.co"
] | dpinedaj@unal.edu.co |
b364344e9455d0d80b99465d14a2c0d8abf05236 | 54b09a85d579d2a0d296a825196f2515da64fec1 | /BOJ2884.py | f655909e11caaeff6516f8e4ff9b49d9dcc256af | [] | no_license | winan305/Algorithm-with-Python3 | 2c0f51e03b7207eb7b644cecc44aef489e3e6ee2 | 233b0f5687f4d7b1ec7ec4772771503fa85c27ee | refs/heads/master | 2021-01-22T20:49:09.488640 | 2018-05-16T03:52:27 | 2018-05-16T03:52:27 | 100,776,542 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | # https://www.acmicpc.net/problem/2884
# 알람 시계
# 구현
H, M = map(int, input().split())
M = M - 45
if M < 0 :
M += 60
H -= 1
if H < 0 : H += 24
print(H, M) | [
"winan305"
] | winan305 |
eaa84d083daf2838f8db871cfe6ed73b20709602 | 00c48bd685a3dda5731a9f9ba7b87589048ed71d | /TEAM_HIT_BY_PITCH/teams_hit_by_pitches.py | 26b0c66d1059ac8d36c095e00f30a7e3b58a3bfe | [] | no_license | ebwinters/BaseballAnalysis | 0da56faae45b551be840df7ed6779c515e45fcd4 | 9d0ed4aab54cba8848d85595ec4d77c319c6f02f | refs/heads/master | 2020-03-07T19:23:06.777335 | 2018-04-10T17:56:09 | 2018-04-10T17:56:09 | 127,668,988 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,187 | py | import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
#load in data
teams = "~/Desktop/DataAnalysis_Udemy/BaseballAnalysis/baseballdatabank-master/core/Teams.csv"
teams_df = pd.read_csv(teams)
odds_by_team_id = {}
def get_odds_hit_by_pitch(team_id):
#only get teams with team_id, and drop any co... | [
"ewinters@terpmail.umd.edu"
] | ewinters@terpmail.umd.edu |
ae48474220c3b8e0a410957103a20113cddbb24a | 69a1a36a322cfc393ad40423d782ebe6f7153304 | /analytics/migrations/0002_auto_20190103_0249.py | 07ca1f41e2447340ecbb4343879e6a4cc4e45f49 | [] | no_license | mmaleka/beam-force-calculator | 1690098575daae1a2e6df2b18734530b9aeb2476 | 1e953373270b7288f3a9d0d34971b1c8f68e5eff | refs/heads/master | 2020-04-14T13:49:27.063524 | 2019-01-05T12:11:42 | 2019-01-05T12:11:42 | 163,877,466 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,154 | py | # Generated by Django 2.1.1 on 2019-01-03 00:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('analytics', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='SolutionBeamCount',
fields=[
... | [
"Mpho.Maleka@rheinmetall-denelmunition.com"
] | Mpho.Maleka@rheinmetall-denelmunition.com |
3c2625961aa16d15246b5e222e8ed2673f9004c5 | f08d0b5d0ce94292493111be42eaf6db051c8eb3 | /view/CardEncoder.py | a6c0f5955440aa1bf542bf4cf57eb5961033a426 | [] | no_license | draxlus/CMPT-370_SoftwareDevProject | 999ac7ddd470b40d2df8f338a51f2a661b747922 | f2205456ba5ff3d1cb7d4d65cd65becfabcf8c2c | refs/heads/main | 2023-04-19T07:52:45.986842 | 2021-05-06T19:18:43 | 2021-05-06T19:18:43 | 365,009,563 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 124 | py | import json
from json import JSONEncoder
class CardEncoder(JSONEncoder):
def default(self,o):
return o.__dict__ | [
"siddhantagrawal777@gmail.com"
] | siddhantagrawal777@gmail.com |
6b059ae9f2f5382b3bb9cbb8c0e8698cebbcb437 | a86e67ac95a331e9652c82f8d30e0a3a3968a3ba | /omsaalert/config/email.py | 5f9c023f03b1b0d141d70ddac9deb598972f3205 | [] | no_license | dsoprea/omsa-alert | 9a1511e2d7e3bf90335bfe72bde3ba3bd8103439 | 23aaa939182e1c0e070b430768d9d4b5cf1be4d4 | refs/heads/master | 2021-05-09T13:33:47.916314 | 2019-12-21T17:47:57 | 2019-12-21T17:47:57 | 119,039,198 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 115 | py | DEFAULT_SUBJECT = "OMSA Reported a Problem"
FROM_EMAIL_ADDRESS = "omsaalert@localhost"
SMTP_HOSTNAME = 'localhost'
| [
"doprea@magicleap.com"
] | doprea@magicleap.com |
af46dad9e4c7157da0632a065f8f382db3a588b7 | 607257a034f4d0ce2916c68d9995ee9d2eec20f0 | /Controller/make_db.py | c79fd9e486d77956cab1eef0429a7f1752a66618 | [] | no_license | sean-ocall/phosphorylation | c3d086b6afb152e1b0a73c330ac63b1c90dea7da | e9e3482fb73fc45a60dfaf26bf067ce73975e0d1 | refs/heads/master | 2021-09-15T10:52:45.043572 | 2018-05-31T04:38:36 | 2018-05-31T04:38:36 | 107,934,589 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,867 | py | import sqlite3
conn = sqlite3.connect('../Model/phospho-db.sqlite')
c = conn.cursor()
table_name = 'phosphositetb'
# 0 1 2 3 4 5 6
t_fields = ['residue', 'position', 'uniprotid','genename','function', 'foldchange', 'AA_sequence']
t_field_types ... | [
"sean.ocall@gmail.com"
] | sean.ocall@gmail.com |
392a95a13678b978b2bf26cfa31a3ae43fdcdd15 | 5e517912d4666fc3a2f012fa1f2a7e829f18ad6c | /Exercícios/Conversão-moeda.py | fbb865e76af27c941ed51d4093851d19e65f4df6 | [] | no_license | Marcelo-Carlos/Python | 817a8342191e57abb676dafef8c8798c0364c959 | d3e3c2f96bb9cfad530c67ab65f6e4713f9ca3d1 | refs/heads/master | 2022-09-11T21:20:06.976305 | 2020-05-31T21:33:17 | 2020-05-31T21:33:17 | 268,367,618 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 118 | py | real = float(input('Quanto voce tem R$: '))
dolar = real / 5.27
print('Você pode comprar US$: {:.2f}'.format(dolar))
| [
"Marcelo Carlos"
] | Marcelo Carlos |
5c2a0ecf03bd9fc2fff4b6d350ed3171d1b1c3d3 | 209a7a4023a9a79693ec1f6e8045646496d1ea71 | /COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/_testing.py | 0af5339179bf326f08e63c419731ff513a646c25 | [
"MIT"
] | permissive | anzhao920/MicrosoftProject15_Invictus | 5e2347015411bbffbdf0ceb059df854661fb240c | 15f44eebb09561acbbe7b6730dfadf141e4c166d | refs/heads/main | 2023-04-16T13:24:39.332492 | 2021-04-27T00:47:13 | 2021-04-27T00:47:13 | 361,913,170 | 0 | 0 | MIT | 2021-04-26T22:41:56 | 2021-04-26T22:41:55 | null | UTF-8 | Python | false | false | 99,239 | py | import bz2
from collections import Counter
from contextlib import contextmanager
from datetime import datetime
from functools import wraps
import gzip
import operator
import os
from pathlib import Path
import random
import re
from shutil import rmtree
import string
import tempfile
from typing import IO, A... | [
"ana.kapros@yahoo.ro"
] | ana.kapros@yahoo.ro |
be66006b3dbd21221d545dfca9aca95cd6b65bc0 | 1cf2bce33acd6db5e77e0f1fa2460cebc0addf2a | /Aula 25.09/while_true.py | 05ff114ed225963e817f41c8f06ac2aac49cbb46 | [] | no_license | natibaggi/faculdade-python | 77a341a00ad5713812c977030ce39cea9c8e999a | 95172ff1d6bc48f76ab299890cbddb31ab3c1efa | refs/heads/master | 2023-02-04T16:39:08.652180 | 2020-12-22T21:41:14 | 2020-12-22T21:41:14 | 323,738,749 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 195 | py | numero = input("Digite um número inteiro: ");
tamanho = len(numero);
resultado = [];
while True:
print(tamanho, end="")
tamanho -= 1;
if tamanho == 0:
break
#nao terminei | [
"natibaggi@gmail.com"
] | natibaggi@gmail.com |
4a337e652f79aa204a424d063e472a09f6d4b0f5 | 4876e2a240735a99cbded77d879cd2ba71edf7c6 | /blog/migrations/0001_initial.py | e10fb819982179f744949e3bccf7b23e06da3575 | [] | no_license | denilenko/my-first-blog | 5de7734959f0ff58fdd3daf12fe9f095c5bdaba2 | fb9645287d45d461dfe2b03111fe6150c10bc254 | refs/heads/master | 2021-08-28T16:19:47.335294 | 2017-12-12T18:16:25 | 2017-12-12T18:16:25 | 113,341,235 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,051 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2017-12-06 15:57
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
depe... | [
"denilenko@gmail.com"
] | denilenko@gmail.com |
5e6ea92d7567fc266542f3007289f93977e7a2e2 | c140ad38b1463024e289ceb0d5d6d44a45c91724 | /test/test_slurm_pmi2.py | a06325c6180f3a53cdb57d646e58232fe3b28adb | [
"Apache-2.0"
] | permissive | NVIDIA/hpc-container-maker | 3a333526decbd18352ef8d1fb3bec0033be221e8 | 60fd2a51c171258a6b3f93c2523101cb7018ba1b | refs/heads/master | 2023-08-21T13:32:27.132476 | 2023-06-12T21:12:40 | 2023-06-12T21:12:40 | 126,385,168 | 419 | 88 | Apache-2.0 | 2023-09-11T18:33:26 | 2018-03-22T19:26:41 | Python | UTF-8 | Python | false | false | 3,245 | py | # Copyright (c) 2019, NVIDIA CORPORATION. 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 appli... | [
"noreply@github.com"
] | NVIDIA.noreply@github.com |
20f177d5aac4b209c6517aba1be8ed5c99b59e68 | 70a89bdfcccd48fa1d9862d559f3caeeea0a668e | /tests/integration/boxscore/test_nfl_boxscore.py | 7d73417817c18d43d2e5620b270b7890953df91a | [
"MIT"
] | permissive | JosephDErwin/sportsreference | 2e5e456e0f316594f972e5be30b919ed185676f3 | f026366bec91fdf4bebef48e3a4bfd7c5bfab4bd | refs/heads/master | 2022-11-14T10:25:26.510132 | 2018-12-15T23:54:59 | 2018-12-15T23:54:59 | 278,135,130 | 0 | 0 | MIT | 2020-07-08T16:05:25 | 2020-07-08T16:05:24 | null | UTF-8 | Python | false | false | 26,216 | py | import mock
import os
import pandas as pd
from datetime import datetime
from flexmock import flexmock
from sportsreference import utils
from sportsreference.constants import AWAY
from sportsreference.nfl.constants import BOXSCORE_URL, BOXSCORES_URL
from sportsreference.nfl.boxscore import Boxscore, Boxscores
MONTH = ... | [
"robert.d.clark@hpe.com"
] | robert.d.clark@hpe.com |
ac94fd5eecb7bf3e1c65e43777aab51fbfe786b9 | 3ba0c680f17c921c8826c0c5b8157e0e9e1bceb9 | /pokemon_entities/migrations/0005_pokemon_description.py | c442a830a3b5988f804f7ac6d062b89f6c2c8e5c | [] | no_license | n1k0din/pokemon-map | 302680b21ec1c7df3121da13876162c61d7928d7 | c391e737d8faf25e596f585a3a72a35038106664 | refs/heads/master | 2023-05-07T10:52:50.354599 | 2021-05-15T13:36:45 | 2021-05-15T13:36:45 | 367,273,744 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 408 | py | # Generated by Django 3.1.11 on 2021-05-14 05:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pokemon_entities', '0004_auto_20210514_1057'),
]
operations = [
migrations.AddField(
model_name='pokemon',
name='de... | [
"nik726@gmail.com"
] | nik726@gmail.com |
9993e1cf4b160b12b6a2d804a2c3d24dece21224 | 18fa1b0a78d82ecdeecb3e1955030ba9b2cbe776 | /blog/urls.py | e99883553251e05998eb647b166e3964a2c65598 | [] | no_license | reemrantisi/Blog | 9192736b7e2abcd5ba21c64df8a2b0e01f3578b6 | e88662a20f90e8b277eaee13ae8427df92346a80 | refs/heads/master | 2023-01-13T21:57:23.352399 | 2020-11-08T09:15:19 | 2020-11-08T09:15:19 | 311,018,639 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 249 | py | from . import views
from django.urls import path
urlpatterns = [
path('', views.PostList.as_view(), name='home'),
#path('<slug:title>/', views.post_detail, name='post_detail'),
path('<str:username>', views.home, name='user_posts'),
]
| [
"reem@gmail.com"
] | reem@gmail.com |
2f3a07dd4dc6968861691feb4d8eec611112ac26 | f71d77aaec526cf71ff03b5e8203917de50f0a91 | /Novelsssss/start.py | de014a720bdd03556c732e739b8c612aed8e7408 | [] | no_license | zhangbailong945/pyqt5test | f9e272fb00e53528a045ac374cfb1a188d4d5d48 | 8032d2b44dbe2dcd4d01b802041b2b29265c8409 | refs/heads/master | 2020-04-06T13:47:31.328968 | 2019-07-23T07:31:04 | 2019-07-23T07:31:04 | 157,514,892 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 297 | py | import sys
from PyQt5.QtWidgets import QApplication,QWidget,QVBoxLayout
from Libraries.Views.Ui_FramelessWindow import FramelessWindow
if __name__=='__main__':
app=QApplication(sys.argv)
w=FramelessWindow()
w.resize(950,400)
w.move(20,200)
w.show()
sys.exit(app.exec_()) | [
"1207549344@qq.com"
] | 1207549344@qq.com |
6063be56d0792ceb5dd279fab6f4e16f812946d9 | 2e74c7339c63385172629eaa84680a85a4731ee9 | /como/como/dws/urolithiasis/scale_symp_urolithiasis.py | d46755f1010c3712ebfc43f6d49433e3669012a8 | [] | no_license | zhusui/ihme-modeling | 04545182d0359adacd22984cb11c584c86e889c2 | dfd2fe2a23bd4a0799b49881cb9785f5c0512db3 | refs/heads/master | 2021-01-20T12:30:52.254363 | 2016-10-11T00:33:36 | 2016-10-11T00:33:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,030 | py | import numpy as np
import pandas as pd
import MySQLdb
import sys
sys.path.append('/home/j/WORK/04_epi/02_models/01_code/02_severity/01_code/prod')
import gbd_utils
gbd = gbd_utils.GbdConventions()
# Read dw file
standard_dws = pd.read_csv("/home/j/WORK/04_epi/03_outputs/01_code/02_dw/02_standard/dw.csv")
gen_med_dw =... | [
"nsidles@uw.edu"
] | nsidles@uw.edu |
9cefb9fab54b2c1b00b9ef78bbbf42b5aabce9dd | d4cae0ad3b7dd457e9eeef1714f99c79d3e4f72c | /day25/testting/tcp_client.py | 365a23e15c5d67cc9b44f31a7bc6db5b7b118be7 | [] | no_license | Fixdq/python-learn | 698e823bdba2b705bf04dd81cef0abbb5ab5c0ff | 4c2b2bb75c62321ecbae0e50834c1f10b65f0e7c | refs/heads/master | 2020-03-08T15:56:37.796636 | 2018-06-09T14:42:16 | 2018-06-09T14:42:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 786 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Author : Fixdq
# @File : tcp_client.py
# @Software: PyCharm
import json
from socket import *
import struct
ip_port = ('127.155.101.25', 8090)
client = socket(AF_INET, SOCK_STREAM)
client.connect_ex(ip_port)
while True:
cmd = input('>>>>>:').strip()
client... | [
"fixd.quan@aliyun.com"
] | fixd.quan@aliyun.com |
ba73f0b8bb22bfb6637144bb8ad5c9b9ac380524 | 9d45131eb90eaec3388b53f8e030c5093f794c9f | /com/bridgelabz/quantitymeasurement/Converter.py | 59775beb5b0fd25752aeea86039d4781d707a034 | [] | no_license | birajit95/Quantity_Measurement_TDD | f5bbbf16936e5ff4cc287627d8e1ea3583f3ab44 | 1df67748fc7549740eaeed1a6f6e282a47d48d81 | refs/heads/master | 2023-01-31T14:12:14.550820 | 2020-12-12T05:22:54 | 2020-12-12T05:22:54 | 319,701,228 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 713 | py | from com.bridgelabz.quantitymeasurement.Unit import Length, Volume, Weight, Temperature
class Converter:
BaseUnitDict = {
type(Length.Inch): Length.Inch,
type(Volume.Ml): Volume.Ml,
type(Weight.Gram): Weight.Gram,
type(Temperature.C): Temperature.C
}
@staticmethod
def ... | [
"birajit95@gmail.com"
] | birajit95@gmail.com |
dd8e0689de0a7ce7483d0c413046514e35f5f54a | ace409e56a2a31bc30878f84b28427f0af283bb1 | /polls/tests.py | fc03c76b26226c9642d6a1cea337a9eb30483ea8 | [] | no_license | mikeyshean/django-test | 9867bc47301507486f032e667cd765491c68c348 | 287df0336bba7195ba423f818e24b66d86d824de | refs/heads/master | 2021-01-10T06:35:56.137001 | 2015-10-23T21:26:58 | 2015-10-23T21:26:58 | 44,765,292 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,143 | py | from django.test import TestCase
import datetime
from django.utils import timezone
from polls.models import Question
from django.core.urlresolvers import reverse
def create_question(question_text, days, choice):
time = timezone.now() + datetime.timedelta(days=days)
question = Question.objects.create(question_... | [
"mdshean2@gmail.com"
] | mdshean2@gmail.com |
8b1ce587404581722d8d20cb341ad064b3756a91 | 305913537e02c6fdd577f3537415fd6990980219 | /_xml_to_json.py | 8e99d6cf45042a0bf555da70513e1c82f6e4c05f | [] | no_license | taeyang916/yolov1 | 00e845ce34224cb7fe3bb92fec29dcfb6a4fd736 | 9ef7bb8aaa899440b8a8696f756f0695da52e1f8 | refs/heads/main | 2023-06-04T04:28:08.879085 | 2021-06-20T13:40:05 | 2021-06-20T13:40:05 | 372,874,293 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,223 | py | import json
from itertools import chain
import xmltodict
import os
from xml.etree.ElementTree import parse
# path
dataset_path = '/home/vim/Desktop/tykim/workspace/VOC2012'
IMAGE_FOLDER = 'JPEGImages'
ANNOTATIONS_FOLDER = "Annotations"
json_list = []
ann_root, ann_dir, ann_files = next(os.walk(os.path.join(dataset_pa... | [
"taeyang916@naver.com"
] | taeyang916@naver.com |
a96550ddf975b264a333377b874bb94f4677be26 | d134b17d6b1fbcd6d240d01319377b8f2c5863cb | /python/hosts_file/update_hosts_file.py | 4059123028974d04a71dca6cfb8a2d53151df76f | [
"MIT"
] | permissive | lijie2000/devops_public | 1de9fa87c6e767790a732a4a74e5e91d7df1f7cb | 3efb981d75cf86602457e209ebec1e7f11c29bb9 | refs/heads/master | 2021-01-21T18:34:21.049233 | 2017-05-21T04:14:44 | 2017-05-21T04:14:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,605 | py | # -*- coding: utf-8 -*-
#!/usr/bin/python
##-------------------------------------------------------------------
## @copyright 2017 DennyZhang.com
## Licensed under MIT
## https://raw.githubusercontent.com/DennyZhang/devops_public/master/LICENSE
##
## File : update_hosts_file.py
## Author : Denny <denny@dennyzhang.com... | [
"denny@dennyzhang.com"
] | denny@dennyzhang.com |
e84be353b6b25278129e6289b26839157449bfd4 | 1e10e0cd035418098bdb5c667ffca0fb9fc3e1af | /pages/migrations/0003_auto_20210701_0931.py | 09fe6eec193db2b1c0cc97d9303f61993b78a55a | [] | no_license | rahuljain08/Ecommerce-Website | 98c4ef2c3517a243ad3e1aba41502309ab48df7b | a6978a0a15abeac5aad46dfb0255d7be561fd5c8 | refs/heads/master | 2023-06-24T23:51:45.265591 | 2021-07-22T05:59:58 | 2021-07-22T05:59:58 | 388,085,670 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 377 | py | # Generated by Django 3.1.4 on 2021-07-01 04:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pages', '0002_cart_user'),
]
operations = [
migrations.AlterField(
model_name='order',
name='placed_on',
... | [
"rahuljain8102@gmail.com"
] | rahuljain8102@gmail.com |
097bc0c868a18aad30eac69b86879e4f315ca032 | 7117cab1e015e1f0298aad64535116e57413f13a | /tutorial/datascience/seabornematrix.py | 5ba9b9567a70c98bcd3eb0d35e1a90440f0a9417 | [] | no_license | udeshpa/python | a1d2a0779749abaad6d93ffd58aac6c3f6de035f | d7150bd9d1030f7a02a9b364858fe7565ebfdb24 | refs/heads/main | 2023-03-20T19:32:52.842280 | 2021-03-13T23:36:52 | 2021-03-13T23:36:52 | 347,502,757 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 467 | py | import seaborn as sns
import matplotlib.pyplot as plt
tips = sns.load_dataset('tips')
flights = sns.load_dataset('flights')
print(tips.head())
print(flights.head())
tc= tips.corr()
print(tc)
sns.heatmap(tc, annot=True, cmap='coolwarm')
plt.show()
pt = flights.pivot_table(index='month', columns='year', values='pas... | [
"udeshpa@gmail.com"
] | udeshpa@gmail.com |
212a4c3bbf7f97c5a14636a3ebba1e1888715850 | 90dfb4a7b1fdd8f431305e26d261c1d1df277b19 | /src/RequestHandlerWSGIServerTraceCall.py | d52ad5e85665666c2327299f3e19ac1c2be5f57e | [
"MIT"
] | permissive | AoiKuiyuyou/AoikBottleStudy | 9f589abb6e18ca713dbe6907d1f958d9129756d2 | 7892e9019027f0785998958e9453feffe51e7371 | refs/heads/master | 2020-07-03T16:41:17.953117 | 2016-11-24T03:01:20 | 2016-11-24T03:01:20 | 74,246,032 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,243 | py | # coding: utf-8
from __future__ import absolute_import
# Standard imports
import sys
import logging
# External imports
import aoiktracecall.config
import aoiktracecall.logging
import aoiktracecall.trace
# Traced modules should be imported after `trace_calls_in_specs` is called.
# Set configs
aoiktracecall.config.... | [
"aoi.kuiyuyou@gmail.com"
] | aoi.kuiyuyou@gmail.com |
8b1fc6237f949e3f7e9091a48346d8177862e152 | d9dadaae97e333193c52b0731eb980487e430a44 | /vampires.py | 58fceacc6ba2df6e00e63bb25f4903c3a3856cb9 | [] | no_license | kevinpatell/Object_Oriented_Programming_part2 | c34857e6055eaaf0bdb09aeb04f7fc212f8f0227 | 551cd1e42cbf7b2ee99c791d363b397747dd2473 | refs/heads/master | 2020-05-23T06:55:32.603610 | 2019-05-15T21:12:26 | 2019-05-15T21:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,933 | py | class Vampire:
coven = []
def __init__(self, name, age):
self.name = name
self.age = age
self.in_coffin = True
self.drank_blood_today = False
def __str__(self):
return f"Name of Vampire: {self.name}\nAge: {self.age}\nIn coffin: {self.in_coffin}\nDrank Blood Tod... | [
"mail.kevinpatel@gmail.com"
] | mail.kevinpatel@gmail.com |
6c0839c6066d8b8eafd8876ece1347f4488b2947 | 35b58dedc97622b1973456d907ede6ab86c0d966 | /Test/2019年12月24日/2019年12月24日.py | ad4abe21a8bcaf16d5512d25c100514422f959cd | [] | no_license | GithubLucasSong/PythonProject | 7bb2bcc8af2de725b2ed9cc5bfedfd64a9a56635 | e3602b4cb8af9391c6dbeaebb845829ffb7ab15f | refs/heads/master | 2022-11-23T05:32:44.622532 | 2020-07-24T08:27:12 | 2020-07-24T08:27:12 | 282,165,132 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 197 | py | def xxx(num):
def wrapper(func):
def inner():
for i in range(num):
func()
return inner
return wrapper
@xxx(3)
def func():
print('1')
func() | [
"1433880147@qq.com"
] | 1433880147@qq.com |
f80d70dfcbd1d0f09fa8ffe23895353bf97ff23a | b91588cda1a129f06aa9493ee6d6a70e4f996b7f | /Production/python/Spring15Fastv2/SMS-T1tttt_mGluino-1550to1575_mLSP-500to1175_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_cff.py | bf01b9213d786b2b0783318c6ea58743e54c1d71 | [] | no_license | muzamilahmad/LeptoQuarkTreeMaker | 2371e93589dbe41b02a93a2533cbf5e955aaa0db | 8e7eed0d03c6770a029eafb9b638e82c600a7425 | refs/heads/master | 2021-01-19T01:02:35.749590 | 2018-02-06T17:27:52 | 2018-02-06T17:27:52 | 65,389,201 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,409 | py | import FWCore.ParameterSet.Config as cms
maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
readFiles = cms.untracked.vstring()
secFiles = cms.untracked.vstring()
source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
readFiles.extend( [
'/store/mc/RunIISpring15M... | [
"kpedro88@gmail.com"
] | kpedro88@gmail.com |
413caa82fcdf1cbed4522863899a188b6410a76f | 71f4c9ed644e02466806da202a121bc56244077e | /adventofcode/2021/day13.py | 298d2c12e6b74bf49833b784d29d3b8c329bc83c | [] | no_license | smaaland/python-sandbox | 01c73492904c67f160c943699642e36bafea1641 | e6c97f86294814831df44403ac576d9e2933e632 | refs/heads/master | 2022-12-22T17:13:31.208691 | 2022-12-21T18:14:22 | 2022-12-21T18:14:22 | 75,340,921 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,378 | py | from typing import List
with open('input13.txt', 'r') as f:
lines = [line.rstrip() for line in f]
pattern = lines[:lines.index('')]
instructions = lines[lines.index('')+1:]
def fold(data: List[List[str]], axis: str, value: int) -> List[List[str]]:
if axis == 'y':
for y in range(value+1, len(data)):
... | [
"smaaland86@gmail.com"
] | smaaland86@gmail.com |
7462e551f2da5f26f1cc688dda0a77d433c1fb85 | ba510b58e26cdad3fe1151136e36e70e7d6fa282 | /order/migrations/0004_order_email.py | 58198966b2e0591b12d559b362f33dd7d5cf662a | [] | no_license | nicos199-sudo/kick | ade0562047e30d4d5b086450e0df916b5030012b | da644d656011345e53e9a7fdf408f66aa43865c6 | refs/heads/main | 2023-02-18T21:53:20.361165 | 2021-01-18T15:30:11 | 2021-01-18T15:30:11 | 330,705,935 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 429 | py | # Generated by Django 3.0.7 on 2021-01-18 10:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('order', '0003_auto_20210113_1149'),
]
operations = [
migrations.AddField(
model_name='order',
name='email',
... | [
"geeksolutionhacker@gmail.com"
] | geeksolutionhacker@gmail.com |
25bc799c2f8ab00b632e077060a62ffd91382750 | 91fe96f88a17d373e51654028d8e2cdd99728a21 | /configs/HTC/htc_without_semantic_r50_fpn_1x_coco.py | 27cc3cce36929c8bf9a5bc4a6a26c21a2ab60260 | [
"Apache-2.0"
] | permissive | liusurufeng/NucleiDetSeg | ab8639872ffedd2648e4b38af5528ecc89119cbe | ad4040a359e52c611780b409f84b601bfa9c94e2 | refs/heads/main | 2023-07-26T18:45:22.646575 | 2021-09-01T08:14:57 | 2021-09-01T08:14:57 | 461,822,842 | 1 | 0 | Apache-2.0 | 2022-02-21T11:05:01 | 2022-02-21T11:05:00 | null | UTF-8 | Python | false | false | 7,442 | py | _base_ = [
'../_base_/datasets/coco_instance_kaggle.py',
'../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
]
# model settings
model = dict(
type='HybridTaskCascade',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
... | [
"m18379660828@163.com"
] | m18379660828@163.com |
f642a8d1ab2728c136abc63723350f6c85d11e37 | 184fd6be003329c3b6a3033236869ad501f7a328 | /Занятие4/Лабораторные_задания/task1_5/main.py | 5e0626372abde991ef9997c883bc132e7c47ec43 | [] | no_license | Aleks8830/PythonPY100 | 629a2f6deee2b1faba2a6e019c2aa0d937b72a9e | fa61ad8a583deb8725a716edbafc6d660840bc73 | refs/heads/master | 2023-08-30T00:03:43.823320 | 2021-10-27T18:19:45 | 2021-10-27T18:19:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 259 | py | if __name__ == "__main__":
list_ = [41, -13, 10, -1, 32, -3, -6, 8, 6, 9, 3]
even = 0
odd = 0
for i in list_:
if i %2 ==0:
even += 1
else:
odd+=1
if odd > even:
print("odd")
else:
print("even")
| [
"Sorokin_200683@mai.ru"
] | Sorokin_200683@mai.ru |
3b9971fac9181ca226d9ad1d30f00773e8a81a78 | 1358a2450ec6c499ad1f67b38e42a21278857561 | /home/views.py | 1f3f77b2417ee79c335801301f99e6d940360a22 | [] | no_license | atharvparamane/School_Admission_App_using_Django | 4926c90351558cccd462f8ab13fa1f018c457b06 | 803ea27f699b2b0d5040616960ab18eae4c70713 | refs/heads/master | 2023-05-04T05:43:10.612064 | 2021-05-29T05:39:10 | 2021-05-29T05:39:10 | 371,888,525 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,111 | py | from django.shortcuts import render, HttpResponse
from datetime import datetime
from home.models import Contact
from django.contrib import messages
# Create your views here.
def index(request):
context = {
"variable1":"Harry is great",
"variable2":"Rohan is great"
}
return render(request, ... | [
"atharvparamane111@gmail.com"
] | atharvparamane111@gmail.com |
e9e8f2e5d7dfb09d98e3cd864015ec9c3bd7b0a9 | 272d82bd33b1cfc7139ec0ff511e62cb4a918184 | /NationalDebt/NationalDebt/settings.py | 4c5f001dc5ecfc399f380af7885d742f09874631 | [] | no_license | KyraYang/Scrapy_practices | ea63ecd7fef86e2fb79fac4353bcb94fedbeaaa8 | 5e234289ea35956468a8faf9b2fea7541847f06b | refs/heads/master | 2022-12-29T07:27:34.962005 | 2020-10-14T09:28:10 | 2020-10-14T09:28:10 | 303,099,602 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,138 | py | # -*- coding: utf-8 -*-
# Scrapy settings for NationalDebt project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
# https://doc.scrapy.org/en/latest/topics/settings.html
# https://doc.scrapy.org/en/latest/... | [
"yangziqing@duozhuayu.net"
] | yangziqing@duozhuayu.net |
0f445c5665deabdb6463b07cb613172db70bfaf1 | 09699108d8594f33ddddb5fbcbd169598861d7a4 | /data_processing/mcs/mcs_process.py | 2da7ee1904ad7d8f71faf0131a0cda08b8fd8baa | [] | no_license | aldopareja/easy_attribute_prediction | 78d3ac48c5322874d8a28455ff361c5130d5b6f4 | 278ae05eff89d5cd034b42a85558da528c6cfef8 | refs/heads/main | 2023-01-12T14:39:45.377238 | 2020-11-20T07:06:50 | 2020-11-20T07:06:50 | 311,797,600 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,919 | py | """
This tool processes passive data for eval 3 and dumps it in a valid format to train a derender
"""
import argparse
import os
import random
import shutil
import sys
from itertools import repeat, chain, product
from multiprocessing import Process, Queue
from concurrent.futures.thread import ThreadPoolExecutor
from pa... | [
"“aldopareja@users.noreply.github.com”"
] | “aldopareja@users.noreply.github.com” |
3fae254004b75973b3bb00a76c78aaa37798324a | 0f412ecbbbd5b844430027cd6ac5247fde5798a9 | /setup.py | e76a65865b08adc18e199184f0d29bba18c8265a | [
"BSD-3-Clause"
] | permissive | sfc-gh-mlukiyanov/dask-snowflake | cb46b76fd3d02421d4c42d7018290f4336e65faa | e7977e5a7c73361ab705b9f14eb4a74cb0307a30 | refs/heads/main | 2023-08-18T07:22:02.236593 | 2021-09-14T20:19:32 | 2021-09-14T20:19:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 536 | py | #!/usr/bin/env python
from setuptools import setup
setup(
name="dask-snowflake",
version="0.0.2",
description="Dask + Snowflake intergration",
license="BSD",
maintainer="James Bourbeau",
maintainer_email="james@coiled.io",
packages=["dask_snowflake"],
long_description=open("README.md")... | [
"jrbourbeau@gmail.com"
] | jrbourbeau@gmail.com |
bcf6c256a620b39458993f9696402e613bcb6be2 | 093bcdf9d708087219baa2a82de8406651b7ec48 | /AjitPublicResources/processor/64bit/C_multi_core_multi_thread/cpu/SConstruct | 2a108c0a3a1edac3600f92527fd1051c0ae73aa0 | [] | no_license | Prajwal-Prathiksh/ajit-toolchain | 421b5e725cc64188829c5d0ea4b56c7aa11bcc6e | 230601fe7541611fa3c7ce621231fe1c8d274ba2 | refs/heads/master | 2023-07-14T10:26:01.609494 | 2021-08-18T08:17:22 | 2021-08-18T08:17:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,957 | import os
env = Environment(ENV = {'PATH' : os.environ['PATH']})
COMPILATION_FLAGS = ' -g '
AHIR_RELEASE=os.environ['AHIR_RELEASE']
AHIR_INCLUDE=AHIR_RELEASE+"/include"
env.Append(CPPPATH = './src/:./include:../common/include:')
env.Append(CPPPATH = AHIR_INCLUDE + ":" + "./include:")
AHIR_RELEASE=os.environ['AHIR_R... | [
"madhav@ee.iitb.ac.in"
] | madhav@ee.iitb.ac.in | |
6291466374cdd799e27b4fbccb78fa6b7072e2ab | 8e91748296c72473be2c64d79f0a0022100e3a6e | /ch03/maoyan_top100_movie/cache.py | de46f7637cd866ffe155cc96d5887f0079c67bc6 | [] | no_license | Gordonhan/spider_tutorial | 52d9d1594f220889355add069aa3bcfb1390e670 | 9792fa1036c75311d54df05939ea16a156443ab4 | refs/heads/master | 2021-08-20T09:28:04.190611 | 2017-11-28T20:02:25 | 2017-11-28T20:02:25 | 110,866,990 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 888 | py | # -*- coding:utf-8 -*-
from datetime import datetime, timedelta
import pymongo
import config
class MongoCache(object):
def __init__(self, client=None, expires=timedelta(days=30)):
self.client = client \
or pymongo.MongoClient(host="localhost", port=27017)
self.db = self.cli... | [
"Gordon-Han@hotmail.com"
] | Gordon-Han@hotmail.com |
5fcd974f1afbfb564edbd4444f8c9eb3d986aa36 | d4a61065ba06ccf77873918c3fd79719ae878de7 | /PyBank/main.py | 07c7a6c3cb23439aead9523249541851b63e2770 | [] | no_license | alanacsaposs/python-challenge | e1b287c394c172c37fbaa3526f01864c65d95321 | 8c9dfb9be8a5064c79dcca234ead9697131c74fa | refs/heads/master | 2020-06-06T18:32:27.080193 | 2019-06-23T01:07:25 | 2019-06-23T01:07:25 | 192,823,229 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,129 | py | #imports
import os
import csv
#import csv
budget_csv = os.path.join('..', 'PyBank', 'budget-data.csv')
#create lists for variables
months = []
monthly_change = []
with open(budget_csv, newline="") as csvfile:
# Split the data on commas
budgetfile = csv.reader(csvfile, delimiter=',')
header = next(budgetfile)... | [
"alanacsaposs@gmail.com"
] | alanacsaposs@gmail.com |
b070ef65e1caa4183c3ae26452c35f96a50d9aba | 89d24ad0b40790d501760809e0365e730f6eeb7b | /utf8/utf8.py | c31e493cffe0828afba7c4abbe355ca16a0c63a6 | [] | no_license | ahua/dataset | 00259158c7f29745ccf35d17356b63f8f440c1d0 | 7b3325b6d22a97a30d3fbff261f99a0dbb83ab6e | refs/heads/master | 2020-05-17T05:08:21.840561 | 2013-09-04T15:23:41 | 2013-09-04T15:23:41 | 5,768,195 | 20 | 12 | null | null | null | null | UTF-8 | Python | false | false | 943 | py | #!/usr/bin/env python
import sys
def parse(li):
t = li.rstrip().split()
a = "".join(t[2:5])
b = t[-1]
return a,b
def main(filename):
fp = open(filename, "r")
ls = fp.readlines()
fp.close()
s = []
for l in ls:
if not l.startswith("#"):
a, b = parse(l)
x = int(a, 16)
y = ord(... | [
"yhyan@geek.(none)"
] | yhyan@geek.(none) |
b9fc5615b4b5f96564d265a37ca08ad0e44e8ea3 | 1c26554b4c8b1f341dd7ce244a033cdb336e7be8 | /todoproject/todoapp/migrations/0006_auto_20201009_1900.py | 215f5b3fad1b034a57b9fc10355eaef3d357fc68 | [] | no_license | GeethaRamanathan/To-Do-App | c359ce53d034f22ea39dc75651a9fafb890db614 | 78606a277678c149f9331b920437242990302028 | refs/heads/master | 2022-12-27T13:58:10.932713 | 2020-10-11T07:06:54 | 2020-10-11T07:06:54 | 303,061,057 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 380 | py | # Generated by Django 3.1.2 on 2020-10-09 13:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('todoapp', '0005_auto_20201009_1859'),
]
operations = [
migrations.AlterField(
model_name='todo',
name='is_completed'... | [
"geetharam740@gmail.com"
] | geetharam740@gmail.com |
cdef16b79b22736a1cccc44a94795a5c8c7030d3 | 093b9569be9d1c4e5daf92efbebc38f680917b2d | /.history/base/views_20210829083101.py | f7277fa3afe4a9018d49e030975924059810adec | [] | no_license | Justin-Panagos/todoList | 95b1e97ff71af1b0be58e7f8937d726a687cea4d | 10539219b59fcea00f8b19a406db3d4c3f4d289e | refs/heads/master | 2023-08-04T13:27:13.309769 | 2021-08-29T14:06:43 | 2021-08-29T14:06:43 | 400,827,602 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,276 | py | from django.shortcuts import render
from django.views.generic.list import ListView
from django.views.generic.detail import DetailView
from django.views.generic.edit import CreateView, UpdateView, DeleteView
from django.urls import reverse_lazy
from django.contrib.auth.views import LoginView
from django.contrib.auth.m... | [
"justpanagos@gmail.com"
] | justpanagos@gmail.com |
48ad6ce14387c8aece2769983287047b001a0c5b | d932f40fb253cbe9860b549a7bbd58c1609b4f4f | /app/config/secure.py | 63d6c4b34ae1dd44e77c3bce94a0147d806a0cf5 | [] | no_license | beizhongshashui/flask_restful | 1f8d2832ba763dd4c99a64b29e746bb577633c3f | bc5e26a191cbb12b160a349c25af1785c36560b7 | refs/heads/master | 2021-04-12T14:18:34.548314 | 2020-03-22T09:18:30 | 2020-03-22T09:18:30 | 249,084,083 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 263 | py |
SQLALCHEMY_DATABASE_URI = \
'mysql+cymysql://root:1234qwer@localhost/flask_mooc01'
# 'postgres+psycopg2://postgres:postgres@localhost/ginger'
SECRET_KEY = '\x88D\xf09\x91\x07\x98\x89\x87\x96\xa0A\xc68\xf9\xecJ:U\x17\xc5V\xbe\x8b\xef\xd7\xd8\xd3\xe6\x98*2'
| [
"zhangys19@lenovo.com"
] | zhangys19@lenovo.com |
cd775c47a564fc423c900c16e838af10a7fd9de9 | 2425d9150334d9a9521f73a9d6efe7b8f39f72b0 | /homeassistant/components/zha/core/channels/base.py | 4d1e71e884ea2dac6e15c55ec0f67a36796966ed | [
"Apache-2.0"
] | permissive | krzkowalczyk/home-assistant | d2117cbe461c2b9bce0d1357487ea05c3e4b96ac | 513685bbeacca2c758d3ca33b337da3b7e72dd1d | refs/heads/dev | 2023-02-22T13:32:59.251838 | 2021-04-27T21:34:53 | 2021-04-27T21:34:53 | 232,874,252 | 0 | 0 | Apache-2.0 | 2023-02-22T06:15:56 | 2020-01-09T18:11:47 | Python | UTF-8 | Python | false | false | 14,579 | py | """Base classes for channels."""
from __future__ import annotations
import asyncio
from enum import Enum
from functools import wraps
import logging
from typing import Any
import zigpy.exceptions
from homeassistant.const import ATTR_COMMAND
from homeassistant.core import callback
from homeassistant.helpers.dispatcher... | [
"noreply@github.com"
] | krzkowalczyk.noreply@github.com |
52c49a9b3cb35bdb91d028875d44ae794f0e19a3 | 91ea758a98d27a0387820e66bc44270b430b1980 | /Ex5_Training/training.py | 2047bafe4ff484a42e2133c2d3c258a6e038b1d5 | [] | no_license | OmniXRI/20201024_AIGO_Lab2 | c9c8e2fc6cb8a9e75e5d6c007da0e4a36b0c2495 | 45f6422b0fe02903ed8b3d62992109fcbb2e47ff | refs/heads/main | 2022-12-31T15:35:19.070059 | 2020-10-23T22:53:03 | 2020-10-23T22:53:03 | 306,760,619 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 21,221 | py | # -*- coding: utf-8 -*-
"""training.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/19yxTphDHRHaTkGUckbyrIBj_1EDnjZ0h
從YOLO官網下載YOLOv3的預訓練權重檔
"""
!git clone https://github.com/OmniXRI/OpenVINO_RealSense_HarvestBot.git #取得小蕃茄影像及標註資料集
!ls
"""切換至工具... | [
"noreply@github.com"
] | OmniXRI.noreply@github.com |
562df90b7ca7b36aa10e10f2bf997cb3821343e7 | 717ec032c10a279cc82c37b25b9306f269e7bec3 | /Python/csv/batch.py | c554af8272076ffce208ad0d301b3b2817c50066 | [] | no_license | lceric/study-workspace | a768d8e52e7d328052116931936cf38aa4dea285 | b9764fd6f1e40e38174753ed363b46e15923cead | refs/heads/master | 2021-09-19T13:10:36.558329 | 2018-07-28T02:34:18 | 2018-07-28T02:34:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,258 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
'处理文件'
__author__ = '作者'
from random import sample
import openpyxl
from openpyxl.styles import Font, colors
def batchFormat(num):
for i in range(num):
fn = str(i)+'.xlsx'
wb = openpyxl.load_workbook(fn)
ws = wb.worksheets[0]
for irow... | [
"18709270892@163.com"
] | 18709270892@163.com |
d5fda3ef3b7bc610f10be2f284f0781aeec860c5 | facb8b9155a569b09ba66aefc22564a5bf9cd319 | /wp2/era5_scripts/02_preprocessing/concat82/685-tideGauge.py | ce2afc2ae237798722733401bbef84cc243ac159 | [] | no_license | moinabyssinia/modeling-global-storm-surges | 13e69faa8f45a1244a964c5de4e2a5a6c95b2128 | 6e385b2a5f0867df8ceabd155e17ba876779c1bd | refs/heads/master | 2023-06-09T00:40:39.319465 | 2021-06-25T21:00:44 | 2021-06-25T21:00:44 | 229,080,191 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,482 | py | # -*- coding: utf-8 -*-
"""
Created on Tue May 13 10:02:00 2020
---------------------------------------------------------
This script concatenates yearly predictor files
Browses the predictor folders for the chosen TG
Concatenates the yearly csvs for the chosen predictor
Saves the concatenated csv in a separate dire... | [
"michaelg.tadesse@gmail.com"
] | michaelg.tadesse@gmail.com |
9e169c3b6e4c276cbbf5d9f5e129c8de5b740332 | 58d7ace148c853528fb0b8c0fdb71b74a3d6d7b6 | /Python/Maximum69Number.py | c2f4142fe9f929339a42071eaccb2d8e8076295a | [] | no_license | WinrichSy/LeetCode_Solutions | 4200779aa201e3c8a0d7c977c0a5b911e434d803 | 149b70b8bd7d7eaa67e8345d3dfd659289b75573 | refs/heads/master | 2022-07-16T15:15:22.192519 | 2020-05-22T01:18:06 | 2020-05-22T01:18:06 | 261,314,995 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 329 | py | #Maximum 69 Number
#https://leetcode.com/problems/maximum-69-number/
class Solution:
def maximum69Number (self, num: int) -> int:
str_num = str(num)
if str_num.count('6')==0:
return num
str_num = list(str_num)
str_num[str_num.index('6')]='9'
return int(''.join(s... | [
"winrichsy@gmail.com"
] | winrichsy@gmail.com |
6f68b50c77692e985515c7f3c64945c263e05d27 | fea3593a6cc3c05a865d547e5b2966642157739d | /11/tridy7_Marcela.py | 0e297e125d93c7ef4af8518fe73ba17274487638 | [] | no_license | benkeanna/pyladies | bd9e1f7d62ee1f40fcc14886703c8d7c9e8f8577 | 840cf3fea844dd32ab783b1bdcb91a45a2360492 | refs/heads/master | 2021-10-24T13:55:04.429666 | 2019-03-26T14:40:48 | 2019-03-26T14:40:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 613 | py |
import turtle
class KreslimObecne(turtle.Turtle):
POCET_HRAN = 0
UHEL_OTOCENI = 0
def neco_udelej(self):
for x in range(self.POCET_HRAN):
self.forward(50)
self.left(self.UHEL_OTOCENI)
class KreslimCtverec(KreslimObecne):
POCET_HRAN = 4
UHEL_OTOCENI = 90
class Kre... | [
"haymannovaa@gmail.com"
] | haymannovaa@gmail.com |
bee735e385587ecb19e903b1d6a9a7d3e91d7bc4 | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_136/2601.py | bf1fa19e1e73d54bfd4394cd3e108d3db0f1d5b0 | [] | 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 | 510 | py | from sys import stdin
def printAnswer(caseIndex, answer):
print("Case #", caseIndex+1, ": ", answer, sep='')
T = int(input())
for t in range(T):
(farmCost, farmExtraProd, winCost) = map(float, input().split())
currProd = 2
timeForWin = winCost / currProd
prevTimeForWin = timeForWin
accTime = 0
while timeForW... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
0b51ac3b2723630ba8481f98e3b89c7261cd6ea1 | 68367ae671b414f4fdf427005bfd5083f7ab055c | /embedding_no_cont.py | 01cea2d28f37a2b672ed0e2e6638871ea08c75d6 | [] | no_license | Xinxinatg/embedding_RBP | 6f0527f84b89e6b047f4299e9d417d7b38ec1d84 | bd9a398047fe346f5815a8d51419f0c6d7f781a0 | refs/heads/main | 2023-08-25T18:08:15.943423 | 2021-10-25T02:44:53 | 2021-10-25T02:44:53 | 410,151,825 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,184 | py | import argparse
import pandas as pd
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import torchvision
import torchvision.transforms as transforms
import torch.utils.data as Data
import torch.nn.utils.rnn as rnn_utils
import time
import pickle
im... | [
"noreply@github.com"
] | Xinxinatg.noreply@github.com |
5de61b20f5b4440f894d7ad89f1565d568fde089 | 40dd244441a60370690ca0f8b1d9846812d89c05 | /World 3/Lists/ex089 - Newsletter with List.py | 5e58d31194d0bce378dd4f91357c6fd321699cf8 | [
"MIT"
] | permissive | MiguelChichorro/PythonExercises | 6fe5aab37bc74e914b5742a9648c662ac64cdeb3 | 3b2726e7d9ef92c1eb6b977088692c42a2a7b86e | refs/heads/main | 2023-07-18T04:42:38.879349 | 2021-09-01T16:01:48 | 2021-09-01T16:01:48 | 360,982,518 | 2 | 1 | null | 2021-09-01T15:40:01 | 2021-04-23T19:11:13 | Python | UTF-8 | Python | false | false | 1,648 | py | from time import sleep
colors = {"clean": "\033[m",
"red": "\033[31m",
"green": "\033[32m",
"yellow": "\033[33m",
"blue": "\033[34m",
"purple": "\033[35m",
"cian": "\033[36m"}
ans = 1
while ans == 1:
students = list()
ans2 = 'Y'
while ans2 == 'Y':
... | [
"51164882+MiguelChichorro@users.noreply.github.com"
] | 51164882+MiguelChichorro@users.noreply.github.com |
908f8699daf9af3cbdaa929a7bb26e56fd664b84 | d103b4299b8fd473c7848f40750bbd546a7250cc | /user_db/asgi.py | dd5c5ad7ee9fa9123c7cae0d2ba4a43c36c8a809 | [] | no_license | lpakule/HW_28_04_2021 | 1754c8247e5d1433a65e5d3f5a3738444bec8a91 | d92d403325c11d79299f9e8de570381b1c9456e2 | refs/heads/main | 2023-04-22T02:26:53.798501 | 2021-05-10T18:15:06 | 2021-05-10T18:15:06 | 364,479,520 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 391 | py | """
ASGI config for user_db project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTI... | [
"larisa.pakule@outlook.com"
] | larisa.pakule@outlook.com |
6c1efadbe1d1249e5cec851c3f1722a4c95adb78 | feab8d31e5a41ef8793946d5bf906162c1d1dce8 | /reservation/migrations/0003_alter_reservationmodel_unique_together.py | 8244221f08693fd7cc014a6e035853fb4a785723 | [] | no_license | Mariusz798/warsztatDjango | 1e2da8641440c51d7379ba40253900487a1ed18b | 745560f394481b054917ca0c212100af6c3b3523 | refs/heads/master | 2023-04-15T09:11:18.167648 | 2021-04-17T16:54:38 | 2021-04-17T16:54:38 | 358,530,529 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 364 | py | # Generated by Django 3.2 on 2021-04-17 15:25
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('reservation', '0002_reservationmodel'),
]
operations = [
migrations.AlterUniqueTogether(
name='reservationmodel',
unique_toget... | [
"mariusz042475@gmail.com"
] | mariusz042475@gmail.com |
1a5d071aaa0bdf028f1746c525c3c71b5b6c7ce3 | 5445eced339414f795bedcdf1f801be7c68fbcf1 | /base/driver.py | 1827f7db5fb8b12b1a2bb2d73beec94f0bc76d92 | [] | no_license | risengzr/aolai | 5574ff5833e8e2f5a8c3353bc78bc7811abf9bfe | b8dfed89eb2b1fbb462b9dd40fce64a5cbc4bde2 | refs/heads/master | 2020-04-18T22:00:58.273524 | 2019-01-27T07:26:13 | 2019-01-27T07:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 474 | py | from appium import webdriver
def init_driver():
desired_caps = {}
desired_caps['platformName'] = "Android"
desired_caps['platformVersion'] = "5.1"
desired_caps['deviceName'] = "192.168.56.101:5555"
desired_caps['appPackage'] = "com.yunmall.lc"
desired_caps['appActivity'] = "com.yunmall.ymctoc.... | [
"13844911496@163.com"
] | 13844911496@163.com |
b6f9b16a7681d673cefd4543cbb50a8e33138ed0 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2684/60720/286577.py | b3b51d52b25f409e0c9f8a385adb80eb382dfca4 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 509 | py | size=int(input())
list0=[]
timen=[]
def findt(i,flag):
if flag==1:
return min(timen[i-1][0],timen[i-1][1])+list0[i]
if flag==0:
return timen[i-1][1]
for k in range(size):
timen=[]
n=int(input())
list0=input().split()
list0=[int(list0[i]) for i in range(n)]
timen.append([0,lis... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
a92f1ad232822e9e027286abc9da0dd12c1f3807 | a857d1911a118b8aa62ffeaa8f154c8325cdc939 | /toontown/ai/ToontownAIMsgTypes.py | d2325cc0185c40cb767e4a6c93c0385f73b14b58 | [
"MIT"
] | permissive | DioExtreme/TT-CL-Edition | 761d3463c829ec51f6bd2818a28b667c670c44b6 | 6b85ca8352a57e11f89337e1c381754d45af02ea | refs/heads/main | 2023-06-01T16:37:49.924935 | 2021-06-24T02:25:22 | 2021-06-24T02:25:22 | 379,310,849 | 0 | 0 | MIT | 2021-06-22T15:07:31 | 2021-06-22T15:07:30 | null | UTF-8 | Python | false | false | 572 | py | from otp.ai.AIMsgTypes import *
TTAIMsgName2Id = {'DBSERVER_GET_ESTATE': 1040,
'DBSERVER_GET_ESTATE_RESP': 1041,
'PARTY_MANAGER_UD_TO_ALL_AI': 1042,
'IN_GAME_NEWS_MANAGER_UD_TO_ALL_AI': 1043,
'WHITELIST_MANAGER_UD_TO_ALL_AI': 1044}
TTAIMsgId2Names = invertDictLossless(TTAIMsgName2Id)
if config.GetBool('isclient-che... | [
"devinhall4@gmail.com"
] | devinhall4@gmail.com |
a2ebd938e26e13e0ef5376e03fe25331606a304d | 108f2c23503c82f36d2f16e4f66ead5684a97d8d | /honeyPot/fakeShell/linuxCommand/ls.py | b4e5c96b5b15586f9abfab6d89642654452d5733 | [] | no_license | icysun/honeyPotController | cc540b562bf2e219e8491b18451c9e8aea8c90ff | 37bd04783b6381c31ee1af40e445cf30e6879ed5 | refs/heads/main | 2023-06-14T22:00:05.756017 | 2021-07-09T07:48:07 | 2021-07-09T07:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,255 | py | # -*- coding:utf-8 -*-
# author: dzhhey
response = """Desktop\tDownloads\tMusicptmxtest.c\tPycharmProjects\tTemplatesVideos\tDocument\tkyber\tPictures\tPublic\tsnaptest"""
ls_al = """total 108
drwxr-xr-x 21 dzh dzh 4096 Jul 7 00:45 .
drwxr-xr-x 3 root root 4096 Apr 1 08:50 ..
-rw------- 1 dzh dzh 1583 Jul 7 0... | [
"974341189@qq.com"
] | 974341189@qq.com |
45b5f39432925a3fc5cae9b876aa0db8c91e30a3 | ff4137ddf4f0970fcd5ce4ed65f23a7b4ca37547 | /new.py | 0e53921377c501f0cf3d617131ae59b2266012db | [] | no_license | clivejj/nasa_vs_spacex | b6696b120e2d6fe05dfa8c472199f8d01892984e | 14185c2ec42d34405586d79025c746e6212dc53b | refs/heads/master | 2021-08-11T12:37:16.648212 | 2017-11-13T18:06:16 | 2017-11-13T18:06:16 | 110,191,204 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,700 | py | from flask import Flask, render_template, request
import urllib2
import xml.etree.ElementTree as ET
app=Flask(__name__)
@app.route('/')
def root():
return render_template("submit.html")
@app.route('/results')
def results():
track = request.args["track"]
xml = '''
http://production.shippingapis.com/Shipp... | [
"cjohnston1@stuy.edu"
] | cjohnston1@stuy.edu |
e904ee6a7216c0b2c3ac14bc79bce97f28142967 | a674199c7d5edd80e198933bcfdd5f2b683b8801 | /slackbot_settings.py | c5724030a3aa9a36eff1f10f8fe46efcb53d9a80 | [] | no_license | Dakurtz422/Slack-as-Remote-Desktop | 8f1a8b6e08f21b99fd6fa64eea7de42762c609c2 | b96be50d98c57cb8eff635c404a61ae95803aaa4 | refs/heads/master | 2020-08-02T20:36:01.796987 | 2019-09-28T13:05:32 | 2019-09-28T13:05:32 | 211,499,436 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 296 | py | import os
# Get Slack API_TOKEN from enviroment (or hardcode here)
api_key = os.environ.get('BOT_API')
API_TOKEN = api_key
# Default message when Bot can't find an appropriate answer
DEFAULT_REPLY = "Excuse me"
# Name of a directory where we will store our Bot settings
PLUGINS = ['plugins']
| [
"noreply@github.com"
] | Dakurtz422.noreply@github.com |
25cec13326e3c495322757e51ec6ff994f5c0630 | 573a66e4f4753cc0f145de8d60340b4dd6206607 | /JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/362764/shogun-2.0.0/shogun-2.0.0/examples/undocumented/python_modular/converter_stochasticproximityembedding_modular.py | 7a8f0ad0d582efd44b62703f5ad89146c6ef8102 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | mkaouer/Code-Smells-Detection-in-JavaScript | 3919ec0d445637a7f7c5f570c724082d42248e1b | 7130351703e19347884f95ce6d6ab1fb4f5cfbff | refs/heads/master | 2023-03-09T18:04:26.971934 | 2022-03-23T22:04:28 | 2022-03-23T22:04:28 | 73,915,037 | 8 | 3 | null | 2023-02-28T23:00:07 | 2016-11-16T11:47:44 | null | UTF-8 | Python | false | false | 837 | py | #!/usr/bin/env python
from tools.load import LoadMatrix
lm = LoadMatrix()
data = lm.load_numbers('../data/fm_train_real.dat')
parameter_list = [[data, 12]]
def converter_stochasticproximityembedding_modular (data, k):
from shogun.Features import RealFeatures
from shogun.Converter import StochasticProximityEmbeddin... | [
"mmkaouer@umich.edu"
] | mmkaouer@umich.edu |
d50ea5fe9eaf251c47008c2e2963f6b0cc477a91 | 5f88483bd0ffc6f97e5ed20d6b79eb68f710142e | /Sean_the_sheep_of_the_dead_with_GUI.py | 92e51f5bdc53ef3841ba7eec032174dfec22fd6c | [] | no_license | NathanKhadaroo/Pythonintro | 0053472d18c6ee6efa008331babc4724a04d8fba | 4d59735a9f161f8de0cf91cd075888cdbbc8afd0 | refs/heads/master | 2020-07-27T02:46:14.834831 | 2019-10-24T09:46:59 | 2019-10-24T09:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,335 | py | # -*- coding: utf-8 -*-
"""
Created on Mon Sep 16 14:12:33 2019
@author: gynjkm
"""
#imports required packages
import tkinter as tk
import matplotlib.pyplot as plt
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.animation
import agentframework_zombies
import csv
import random
#Creates a window which all... | [
"55386091+NathanKhadaroo@users.noreply.github.com"
] | 55386091+NathanKhadaroo@users.noreply.github.com |
0493a224edaa31bec7f72ac3170b5d58a7ad04b6 | 4476c376d8e1304ef30f70813db4a04b8f57474b | /Outil Aero/Python27_J_TC/VLM.py | 3f4ab7c532ca49f942443707db07dd089ecbe1ad | [] | no_license | emmanuelbenard/QuentinProject | 05a5d64e049abbec43a00110209527b069d4029c | 9c488678b54bd74b02676bf110cecc28abecd7db | refs/heads/master | 2022-01-12T08:00:43.729908 | 2018-04-08T17:06:27 | 2018-04-08T17:06:27 | 176,025,207 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 176,412 | py | # -*- coding: utf-8 -*-
import math as m
import numpy as np
import utilitaire as u
import Polar as p
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import Flow
def ICMatrix(ac,cla,flow):
""" Prediction of aerodynamic characteristics of the wing
Autor : Quentin borlon
Date :... | [
"Quentin@QuentinBorlon.local"
] | Quentin@QuentinBorlon.local |
4211b1fa093def536158860e2735e6301f133337 | 9abdf71e6fd5e97a317356ce3ce60cca940af8fd | /Problems/Piggy bank/task.py | 0b7075060f3858c6f6853a3f70174adf713fc422 | [] | no_license | Omkar-M/Coffee-Machine | 4184ac289c1bf36e855bb21c4115dbce4e492b6f | a21a0cb43a0ab52669619af88e1e82050029c8b5 | refs/heads/master | 2022-11-25T14:32:47.155087 | 2020-08-01T20:51:54 | 2020-08-01T20:51:54 | 274,185,317 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 562 | py | class PiggyBank:
# create __init__ and add_money methods
def __init__(self, dollars, cents):
self.dollars = dollars
self.cents = cents
def add_money(self, deposit_dollars, deposit_cents):
self.dollars += deposit_dollars
self.cents += deposit_cents
if self.cents > 99:... | [
"62263578+Omkar-M@users.noreply.github.com"
] | 62263578+Omkar-M@users.noreply.github.com |
c258d2b4a615c8ebf5ba30e66090c50c26b84a98 | 523af11028940092341a676270614e0becb53001 | /LongTerm.py | de939fa73ab92c84d68a6c77686504d656cde818 | [] | no_license | Christy42/FUMBBLStats | c54090c53f4f11e472661c548f9bbaaa5eda78c4 | aa4a6c3c16300e1e352311dbabf58195195bb5a5 | refs/heads/master | 2020-03-17T03:54:42.564806 | 2019-11-02T14:52:21 | 2019-11-02T14:52:21 | 133,255,078 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,001 | py | import os
import requests
import yaml
import xml.etree.ElementTree as Et
from DataGrab import team_name
def get_matches(player_folder, team_folder, rerun_folder=None):
b = requests.get("https://fumbbl.com/xml:group?id=3449&op=matches")
text = Et.fromstring(b.text)
performances, team_games = matches_in_di... | [
"mark.christiansen@nuim.ie"
] | mark.christiansen@nuim.ie |
266e73c87f7eebadf9016230fac89ac05d834981 | eac611ff1a3910aae25e06549e965b2743dd5b93 | /Math/Probability.py | 45fe3b4ab45b20abac6a8daab736f42be5b611e2 | [] | no_license | jizhi/jizhipy | 30cb7032fb9ad7ee8e11498d468d2b125ac8cb42 | b49777105a76b5ae03555a9f93f116454c8245a9 | refs/heads/master | 2020-06-05T14:51:51.165710 | 2019-06-18T15:00:49 | 2019-06-18T15:00:49 | 192,464,118 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,678 | py |
class Probability( object ) :
def Bins( self, array, nbins, weight=None, wmax2a=None, nsigma=None ) :
'''
nbins:
(1) ==list/ndarray with .size==3
** nbins, bmin, bmax = bins
nbins: number of bins
bmin, bmax: min and max of bins, NOT use the whole bin
(2) ==int_number:
** Then use weight ... | [
"huang2qizhi@qq.com"
] | huang2qizhi@qq.com |
d308359d2c35c01589212599a5fa4f4cdea19c8c | 909928849a10b26b445d3f32ec157ca33f94b9e4 | /models/__init__.py | 36d0df9f7a23f6a471aeb68ced40035180c3441d | [] | no_license | jorgeviz/rliable | 1f634ab40ab2f933a50b6614465a6d88980957af | 90086f93de9d3d4a7833247e131211b4bcfd61c8 | refs/heads/master | 2023-03-29T05:03:37.927586 | 2021-03-24T18:29:23 | 2021-03-24T18:29:23 | 307,858,823 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 196 | py | from models.base_model import BaseModel
from models.dqn import DQN
from models.count_model import CountModel
models = {
"BaseModel": BaseModel,
"DQN": DQN,
"CountModel": CountModel
}
| [
"javg44@hotmail.com"
] | javg44@hotmail.com |
f7c4f4f2a4201c2c82f769072380cedf2610cee7 | 15996cf938dd4c2e2aabed9b463ffe8cbf286d30 | /decard/generate_targets.py | 5dac7f1e3aa02a3f3d62a37c10f3a6b2d19081f1 | [] | no_license | jgolob/decard | c20f0b06020c1fb5020fb591745f3aa243715b65 | 30f4864177683adc88c741d3728d0bbecf156617 | refs/heads/master | 2021-07-16T22:46:13.532168 | 2020-10-13T17:36:36 | 2020-10-13T17:36:36 | 207,618,572 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,715 | py | #!/usr/bin/env python
"""
This module generates specific targets for desired distribution, and a given set of reference sequences
INPUTS:
# distribution: In CSV format.
Genus, Fraction, STD, Species_n, Species_std, Species_slope, Species_intercept, Species_p
# Genera Directory:
... | [
"j-dev@golob.org"
] | j-dev@golob.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.