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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c85a50a5aa40d7a5fff6322568792ac5f65f8a3 | 48b1feba376f24ca2e52ba0172a89cb69af852af | /hello.py | c49c730400d61888ec2cbc389dedb4fb0981c71e | [] | no_license | priyankasathiyaseelan/priyaa | 0bb205fd2e210ecd95557b51e1a70577a7c76f62 | 588d7fc47051b6a6f33238e629b5fcb988f41d77 | refs/heads/master | 2020-07-02T03:21:27.289532 | 2019-08-19T06:03:02 | 2019-08-19T06:03:02 | 201,400,250 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 57 | py | n=int(input(" "))
for i in range(n):
print ("Hello")
| [
"noreply@github.com"
] | priyankasathiyaseelan.noreply@github.com |
1ecd30e9c26252e69351525d93da360caa3eaf0b | 533e773696d8cc09680eaf4c0ae6bc7cc6e7eb08 | /store/models.py | 0627c046cfad1c100c5a8998bf78991d1c120f92 | [] | no_license | pdave1573/Eshop | 2885cce3d0f157d4e9e35ee2cc911d97cbbab0ed | 788a3aab039adfcb2bdb0f9683435f382993e2e1 | refs/heads/master | 2020-04-06T03:59:49.769858 | 2017-02-24T19:40:40 | 2017-02-24T19:40:40 | 83,078,084 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 467 | py | from __future__ import unicode_literals
from django.db import models
from django.utils import timezone
# Create your models here.
class Book(models.Model):
title = models.CharField(max_length=200)
author = models.CharField(max_length=200)
description = models.TextField()
publish_date = models.DateFiel... | [
"pdave1573@gmail.com"
] | pdave1573@gmail.com |
6b88975e6ef58157f6152dccba99b16643749118 | f49fbc09fce8c8a9e425ecca3695549330ad5ca0 | /vampire/praha_vfn.py | 9599e51f7bb55d01656f00d2294ea51505bf251f | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | honzasp/vampire | 716f42c205c91b9bee86c94addf8646d1a95fe75 | 752b9dea10626fd3f85d9139aff846e00ce7108c | refs/heads/master | 2021-12-14T13:53:34.295885 | 2021-01-07T23:26:32 | 2021-01-10T07:32:51 | 248,964,139 | 0 | 0 | Unlicense | 2021-12-13T20:35:13 | 2020-03-21T11:41:51 | Python | UTF-8 | Python | false | false | 907 | py | import re
from .helpers import get_html, inner_text, BLOOD_TEXT_TO_TYPE
UUID = "d052dc10eb314a96399c574fce480165"
SHORT_ID = "praha_vfn"
URL = "https://www.vfn.cz/pacienti/kliniky-ustavy/" \
"fakultni-transfuzni-oddeleni/aktualni-potreba-krve/"
NAME = "Všeobecná fakultní nemocnice v Praze"
COLOR_RE = re.compile(r... | [
"patek.mail@gmail.com"
] | patek.mail@gmail.com |
112d2d8320692eba6ef70e6342254ab8abb37bd3 | 875921eb2b486923cfef0c2af249e8f456bdf0c9 | /config.py | 71df786a370703f818458fa7a87ac6837cb8727c | [
"Apache-2.0"
] | permissive | baozixifan/ASRFrame | c0d3d477409b0e262fbf760860c6c7b6ddd59caf | 307596dc729f7611b270b9f6d279fefa05ef488d | refs/heads/master | 2020-06-23T07:06:07.973172 | 2019-07-18T16:26:07 | 2019-07-18T16:26:07 | 198,550,805 | 1 | 0 | null | 2019-07-24T03:23:48 | 2019-07-24T03:23:47 | null | UTF-8 | Python | false | false | 1,964 | py | import platform
import os
project_path = os.path.split(os.path.realpath(__file__))[0] #
thu_datapath = None # 目录下应该有data/ dev/ 等目录
z200_datapath = None # 目录下应该有一大堆G../格式的目录
aishell_datapath = None # 目录下应有wav/和transcript/两个目录
prime_datapath = None # 目录下应有一个json文件和一个目录
stcmd_datapath = None # 目录下应该直接是音频文件
wiki_datapat... | [
"sailist@outlook.com"
] | sailist@outlook.com |
e877c55d2fc6c8d1ea93f772e9162375f77c38a6 | cd51ffd9715d8d5ad991db4b2d1e9da76310c0bc | /main.py | 74e0331027d03fd436dc8d48332c43726d89941f | [] | no_license | CLeDoPbIT/dl_rr_pipeline | 6235ce8e6771189aae634fad053aa709455ca540 | afba7682a0af5206a65f00e4d69aa48b05ba871d | refs/heads/master | 2023-04-04T17:42:33.055980 | 2020-04-09T20:48:33 | 2020-04-09T20:48:33 | 254,188,649 | 0 | 0 | null | 2023-03-25T00:38:49 | 2020-04-08T20:04:17 | Python | UTF-8 | Python | false | false | 2,218 | py | import importlib
import traceback
import time
import utils.mainUtils as mainUtils
import utils.misc
PROCESSOR_REGISTRY_CONFIG = "./processorRegistry.json"
CONSTANS = "./constants.json"
def run(processor_registry_config_path, constants_path):
"""
Main manager of processors. Run all processors from processorRe... | [
"Evgeny.Burashnikov@harman.com"
] | Evgeny.Burashnikov@harman.com |
b30388f626ab8501ab13c025023c2cf4d5f0ef61 | 0a0b31bed500d0714daf997b2d57b1eca4160672 | /2.py | 791fa0fc73a941e5e876687f63bb7847fa4fb74b | [] | no_license | jiapinjiea/test_project | 4ed191fc54f47624bbb6a799813c3828251ffc59 | 171a818ce99d354de4805ed24dfc4d4f20013f0b | refs/heads/master | 2020-05-02T01:51:41.003430 | 2019-03-26T03:48:29 | 2019-03-26T03:48:29 | 177,693,284 | 0 | 1 | null | 2019-03-26T03:48:30 | 2019-03-26T01:35:30 | Python | UTF-8 | Python | false | false | 41 | py | #!/usr/bin/python
print ("hello pyhhon")
| [
"xiaoqicn@163.com"
] | xiaoqicn@163.com |
9840214308b8f845fa25516ca9daa12b472d91d5 | 944ea7e9f80ff61c3d317d7c17f96d2e59c9b03e | /src/Main/FJSP_FolderReader_Model_Data_Process_CPE.py | de4f6d67b59e22e50642f737b0d5446b8d96715c | [] | no_license | bholland/NLP_Platform_Installer | 17995e03d27f6b15557a11159ce73a8010141eb0 | a24ece0076913b91725a0988e9b23367ce865bfc | refs/heads/master | 2020-06-22T04:43:53.569668 | 2019-08-01T21:15:53 | 2019-08-01T21:15:53 | 197,636,114 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,428 | py | from string import Template
from pathlib import Path
FJSP_FolderReader_Model_Data_Process_CPE = """<?xml version="1.0" encoding="UTF-8"?>
<collectionReaderDescription xmlns="http://uima.apache.org/resourceSpecifier">
<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
<implementationName>collec... | [
"ben_holland@abtassoc.com"
] | ben_holland@abtassoc.com |
3c53e42d5a2371b1683e62b91621f013f2474ebd | 7e50b94379132a4156fd693bc73d640ff6752ed9 | /tests/conftest.py | 6981e1f250018bce62a66937c9462a5ed171ebab | [
"MIT"
] | permissive | Pylons/plaster_pastedeploy | 145ac4c5310babf78ea7a0f7ad0639cc1b3f8a33 | c0a146cdfac61781057ecaaa1b7938ef53dae9af | refs/heads/main | 2023-06-12T04:08:37.382145 | 2023-01-03T02:44:28 | 2023-01-03T02:44:28 | 60,292,293 | 7 | 8 | MIT | 2023-09-09T04:19:56 | 2016-06-02T19:40:32 | Python | UTF-8 | Python | false | false | 515 | py | import os.path
import sys
import pkg_resources
import pytest
@pytest.fixture(scope="session")
def fake_packages():
# we'd like to keep this scope more focused but it's proven really
# difficult to fully monkeypatch pkg_resources and so for now we just
# install the packages for the duration of the test s... | [
"michael@merickel.org"
] | michael@merickel.org |
cab6ce569e9667c2e8b5c3775c3cb0b9822e8160 | 530e37341af91071ffde01f6f84d39ec039272eb | /fetch.py | cf90eed1fcfb38c6900f528048bdad4a0bf9f79c | [
"MIT"
] | permissive | pauloadaoag/MMDA | da29e7187fd2406e005b9e5babfa881b577abd4d | 5fd69badb2a95d63c57a0eaf9748fc7052e7bbfe | refs/heads/master | 2020-05-29T12:45:24.530782 | 2015-06-28T07:22:09 | 2015-06-28T07:22:09 | 35,107,812 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,087 | py | #!/usr/bin/python
import json
import urllib2
import time
import collections
import ConfigParser
import MySQLdb as db
import os
config = ConfigParser.RawConfigParser()
config_filename = os.path.join(os.path.dirname(__file__), 'config.cfg')
config.read(config_filename)
db_host = config.get('mysql', 'host')
db_user = c... | [
"paulo.adaoag@gmail.com"
] | paulo.adaoag@gmail.com |
977922ac36268edcaa041e79fd97eed215a5b6ac | 179577ecdd7fda84ad970b3aad573a575fef56bc | /exercicios/ex034.py | cc2175d2d31399159743980d7251f1a8965d04fb | [] | no_license | Elvis-Lopes/Curso-em-video-Python | 6c12fa17a5c38c722a7c8e9677f6d9596bc5653c | 65f093975af9bd59c8aaa37606ba648b7ba1e1c4 | refs/heads/master | 2021-02-11T12:15:13.580496 | 2020-05-05T21:55:06 | 2020-05-05T21:55:06 | 244,490,886 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 218 | py | sal = float(input('Insira o salário: '))
aumento = float()
if sal > 1250:
aumento = (sal*15)/100
sal = sal + aumento
else:
aumento = (sal*10)/100
sal = sal + aumento
print(f'Novo salario R${sal:.2f}')
| [
"elvislopes1996@hotmail.com"
] | elvislopes1996@hotmail.com |
d97e382378d958796ce6131eaafaefa48e402bd5 | 8bb206d294da3f88cb928ea7b48cba1f13135566 | /SkilledIndia/contractor/migrations/0001_initial.py | 1fe7e724b162dfbfdcade31d05d1c4ab104f2c41 | [] | no_license | aadhityasw/Skilled-India | af3f4117e983938eda2e56a28f0362843d07be7a | 374ee40f308e0db91e56456cc5e8610b78f06ef8 | refs/heads/master | 2020-08-28T19:14:24.045836 | 2020-04-01T10:44:15 | 2020-04-01T10:44:15 | 217,796,096 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 754 | py | # Generated by Django 2.2.1 on 2019-09-20 06:48
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('project', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='C... | [
""
] | |
95538e7aef91f2c0da0aabdfe2f36a93b27b9b60 | d363f11d8e5e640b365648ad544b540eb4386394 | /backend/src/people/migrations/0001_initial.py | f73b798f2fead2cc464cf61f0d237de000090661 | [] | no_license | mlytvynchuk/djreact | 0c2bd4c5bfb9fc0b1004d87121ef75b22931c878 | 0c52b08b7b31ed584e2326f2de96507df3cf1fd0 | refs/heads/master | 2020-05-05T11:50:59.016886 | 2019-04-07T18:32:51 | 2019-04-07T18:32:51 | 180,006,075 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,125 | py | # Generated by Django 2.2 on 2019-04-06 08:39
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Group',
fields=[
('id', models.AutoField(auto... | [
"lytvynchuk.maksym@gmail.com"
] | lytvynchuk.maksym@gmail.com |
ee53ecbdab905a3659c81e6f7d19a1e23fa95ec1 | 332e2c7016bffd65ce8eda9573fcc5d56f8d73cf | /02_monoplex_centralities.py | e144dd376e2321daa74b7026f44ad2f3acb21589 | [] | no_license | shizelong1985/Financial_Contagion_Network | 291a28b2ea8ae0455ab4cea84d6d7e1721dc81cc | c45674cb36667351c75402a5ee853233f3db775e | refs/heads/master | 2023-03-17T06:30:05.758133 | 2020-12-01T20:21:04 | 2020-12-01T20:21:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,158 | py | import sys
import os
lib_path = './lib'
sys.path.insert(0, lib_path) ## add lib path to sys path
import igraph
import random
import copy
import scipy.stats
import pandas as pd
import numpy as np
from matplotlib import pylab as plt
from scipy.sparse import linalg as LA
import MultiContagion as mc
year = 2016
impo... | [
"huangchengyu16@gmail.com"
] | huangchengyu16@gmail.com |
789d37118fd4b3fcb65325a1552969fa73b32b45 | 964408953a7caf5f3f76f3e2f8539617ad2cdb1c | /config.py | ceff9672ffe611a83b45ef26ca3cdb1489a77b6c | [] | no_license | HS-1/udacityProj3Web | e94b0c994c9de0c46a9ef08f50a36c6dcad1e79f | 194610ef097d6ad092e34efec9b2ec16bdaeebfd | refs/heads/main | 2023-06-13T07:32:27.517521 | 2021-07-03T10:55:14 | 2021-07-03T10:55:14 | 381,586,152 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,128 | py | import os
app_dir = os.path.abspath(os.path.dirname(__file__))
class BaseConfig:
DEBUG = True
POSTGRES_URL="hsproj3dbserver.postgres.database.azure.com" #TODO: Update value
POSTGRES_USER="serverAdmin@hsproj3dbserver" #TODO: Update value
POSTGRES_PW="P@ssword" #TODO: Update value
POSTGRES_DB="te... | [
"noreply@github.com"
] | HS-1.noreply@github.com |
9052e9c000aab8464d1413ee60c176a0ab427812 | ebcdf39bef475466bb929c522d0fe68094208e90 | /hocphan/admin.py | 8bb81dae881119a495612b15f30f7f3f133eb25e | [] | no_license | chanhkg345/doan2 | d98b95b174c844f69c295771e2ce65ad54674295 | 79e30f057faf3225775ef09bb538abf603431868 | refs/heads/master | 2023-06-03T15:23:38.329309 | 2021-06-24T13:29:51 | 2021-06-24T13:29:51 | 379,941,482 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 244 | py | from django.contrib import admin
from .models import hocky
from .models import hocphan
from .models import thamgiahocphan
# Register your models here.
admin.site.register(hocky)
admin.site.register(hocphan)
admin.site.register(thamgiahocphan)
| [
"oscartran2000@gmail.com"
] | oscartran2000@gmail.com |
8cae790bc88676a3b4ec3c1aef59e1a0ab4e5ecb | 50cf7a64b16ae511b4ce331d7f58f76117daedf4 | /codigos/machineLearning/KNNpandas.py | fd00598be189c7babae07e355e519441cd6edbc8 | [] | no_license | rachelreuters/cursoMachineLearningPython | 9870c9e8535b016bd7d2ad5ab82ec8495e0c6233 | 521b67e8c7c95209385ee8f96681421781ba4787 | refs/heads/master | 2021-06-21T22:31:05.203473 | 2017-07-16T20:38:25 | 2017-07-16T20:38:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 581 | py | import pandas as pd
import numpy as np
from sklearn.neighbors import KNeighborsClassifier
train= pd.read_csv('train.csv')
test = pd.read_csv('test.csv')
cols = ['shoe size','height']
cols2 = ['class']
x_train = train.as_matrix(cols)
y_train = train.as_matrix(cols2)
x_test = test.as_matrix(cols)
y_test = test.as_matri... | [
"belchel@hotmail.com"
] | belchel@hotmail.com |
911067f08b17feb6bdfe3f68e6a758165fe00ec3 | 92126b8dcdf8b305abfbf31f3d2a7d8b8ae0daa5 | /nn_transfer/test/architectures/simplenet.py | 1444a04c10707c0ed285d321eea0be05fbf06368 | [
"MIT"
] | permissive | dantodor/nn-transfer | 52f943d71aa915b2c3c31ada39d551b8775e82d2 | 306f548ebb92ff6824c030352e5fe79fed8d1f55 | refs/heads/master | 2021-06-28T06:04:15.400892 | 2017-09-18T04:32:20 | 2017-09-18T04:32:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,119 | py | import torch.nn as nn
import torch.nn.functional as F
import keras
from keras import backend as K
from keras.models import Sequential
from keras.layers import Dense, Flatten
from keras.layers import Conv2D, MaxPooling2D
K.set_image_data_format('channels_first')
class SimpleNetPytorch(nn.Module):
def __init__(se... | [
"me@guido.io"
] | me@guido.io |
14c29cd5be9f391d57dffd9b957cf499b483dfd1 | 41a240365e242785bbdeaac9a75da03c8e200016 | /python_tools/src/multi.py | 3f48734103453be360770a1cbd1d3f858a05878d | [] | no_license | DHolmanCoding/python-tools | cff1e7bb9f16df803aa157c11944dc5dbfd4f839 | a65da40d801094ecfbe83b47e5e4fb1d1c16eba7 | refs/heads/master | 2023-01-23T02:44:48.509882 | 2020-12-13T00:19:43 | 2020-12-13T00:19:43 | 314,902,941 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 503 | py | import os
from multiprocessing.pool import ThreadPool
from multiprocessing.pool import Pool as ProcessPool
from enum import Enum
class MultiType(Enum):
threading = ThreadPool
processing = ProcessPool
def multiplex(function, data, multi_type: MultiType):
num_cpus = os.cpu_count()
with multi_type.val... | [
"DouglasHolman9@gmail.com"
] | DouglasHolman9@gmail.com |
a73f8302a9249594d2ed5b77f6688c6768dc5b63 | 6a2b0db7d6c4ecef8434f3b35fcaef71eeb0d896 | /VENV/py3_venv/lib/python3.6/site-packages/pyntc/templates/__init__.py | f9a12282a24b39159158a59ac474ea95c08b289c | [] | no_license | pseudonode/nornircourse | 9bf890ecfadd1a08691f113e0cd2acadd4b9bffa | 1ad0372f9673de784233937cc15779bc2391e267 | refs/heads/master | 2022-11-09T20:18:22.714703 | 2019-10-04T08:06:42 | 2019-10-04T08:06:42 | 211,856,983 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 926 | py | import os
import textfsm
TEMPLATE_PATH_ENV_VAR = "NTC_TEMPLATES"
def get_structured_data(template_name, rawtxt):
"""Returns structured data given raw text using
TextFSM templates
"""
template_file = get_template(template_name)
with open(template_file) as template:
fsm = textfsm.TextFSM(te... | [
"andre@recursivenet.com"
] | andre@recursivenet.com |
b86779e76407172f1c69c9bf41d4f6dd127dd9c5 | e4166b4467af98fa940d09be3a43c36b5702dd6f | /Train.py | c150bb020bc1a262fda3531c7aa0b902ba7fbcf6 | [] | no_license | parvathy22/Traffic-Sign-Detection | ead0621bfdb11a4061267177ca08491928c31151 | 8074c737ea61bb34d2fc916088ee107fe6ba1ea7 | refs/heads/main | 2023-06-02T12:35:27.700061 | 2021-06-26T07:04:49 | 2021-06-26T07:04:49 | 380,433,971 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,098 | py | from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Conv2D
from tensorflow.keras.layers import MaxPooling2D
from tensorflow.keras.layers import Activation
from tensorflow.keras.layers import Flatten
from tensorflow.keras.layers import Dense
from tensorflow.keras.layers import Dropo... | [
"noreply@github.com"
] | parvathy22.noreply@github.com |
c8b9cc3afa07f5a836da6e16b24aa34987c51fca | 3ea2ea9923ff838add0048f57e3609d48403421c | /code-imports-status.py | 4c457081f6726eb925407e1a276de068bbaa16fe | [] | no_license | ajkavanagh/release-tools | 9a85c2042de01bde13a27f2e0069622d2fd51378 | e7aa78af8f66868f85e5f331516b6fc0bad0f51f | refs/heads/master | 2023-05-11T00:55:27.644836 | 2022-10-18T12:42:24 | 2022-10-18T12:42:24 | 220,310,845 | 0 | 0 | null | 2022-02-24T22:12:41 | 2019-11-07T19:13:51 | Shell | UTF-8 | Python | false | false | 5,740 | py | #!/usr/bin/env python3
import argparse
import os
import glob
import sys
import git
import humanize
import yaml
from datetime import datetime, timedelta
from zoneinfo import ZoneInfo
from launchpadlib.launchpad import Launchpad
__author__ = "Felipe Reyes <felipe.reyes@canonical.com>"
__copyright__ = "Copyright 2022... | [
"felipe.reyes@canonical.com"
] | felipe.reyes@canonical.com |
9a0760a05815cba73bcdc18ed1a4efc2c7ce1927 | b4155a5883522546d1bb50ac6f7af3e81f674d4c | /recaman.py | e922f827e6c93d3e6f310f6f94bc2c8202f04443 | [] | no_license | isennkubilay/iterators | 07f71c26b747e2f4e53afc2d2e09727e4afbe96b | 4114197277b181d3edad08507f2cedceb8ed2956 | refs/heads/master | 2023-02-19T08:31:28.462595 | 2021-01-11T10:47:35 | 2021-01-11T10:47:35 | 328,461,735 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 259 | py | from itertools import count
def recaman():
"""Generate Recaman's sequence
"""
seen = set()
a = 0
for n in count(1):
yield a
seen.add(a)
c = a - n
if c < 0 or c in seen:
c = a + n
a = c | [
"isen.kubilay@gmail.com"
] | isen.kubilay@gmail.com |
b4d24569e6cdaf40b25de41df54651caa9e68e90 | 69b66781ed31d316df76a7cc2e9a3bf2d5bf6aee | /filed_payments-main/application/services/payment/external.py | b7bd380f8a26ad6a777900a78eb326319f0daf2f | [] | no_license | Kiran2814/Filed_Payments | df27d7c2faa36b6c210d00b00ea3b8f7b327c8d6 | 594c45176ae136d6f93554c30ebeffea14eda6ee | refs/heads/master | 2023-03-04T16:43:04.483375 | 2021-02-03T05:10:22 | 2021-02-03T05:10:22 | 335,382,794 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,060 | py | from application.services.payment import Card
class BasePaymentGateway:
def __init__(self, repeat=0):
self.repeat = repeat
self.gateway = None
def __repr__(self):
return "<{}>".format("BasePaymentGateway")
def connect(self, gateway=None, details=None):
if gateway != None:
if self.authenticate(detai... | [
"rajputkiran1410@gmail.com"
] | rajputkiran1410@gmail.com |
ecdf91c2095e7d8ddff72afdfa9208fa7c93d5cd | 911728d1099740b7a6236db4f99df18a11f17fbe | /manage.py | 03a6362786e5c53e0b4c07ea678bce5d396feb9c | [] | no_license | A-deLuna/proyectopa | 2871f7bd9870e5ddc7c84f66cc32810701a3cff4 | 48b11ce37c114a2359635745d213addc3950175c | refs/heads/master | 2021-01-18T02:40:21.496850 | 2015-11-18T04:13:48 | 2015-11-18T04:13:48 | 46,501,565 | 1 | 0 | null | 2015-11-19T15:33:57 | 2015-11-19T15:33:56 | null | UTF-8 | Python | false | false | 253 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "proyectopa.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"alonsowilhelmy@hotmail.com"
] | alonsowilhelmy@hotmail.com |
1571db30fcb1897a7c23bbc6da84249efffefe12 | 13cf11440998376d3b52a49f1e4fb8936c360ac4 | /chainer_chemistry/saliency/visualizer/table_visualizer.py | 4e27c19c5a807d63f9d5844832ecaecdfb772adc | [
"MIT"
] | permissive | k-ishiguro/chainer-chemistry | 87e3db724de0e99042d9585cd4bd5fff38169339 | aec33496def16e76bdfbefa508ba01ab9f79a592 | refs/heads/master | 2021-07-06T22:58:20.127907 | 2019-02-04T02:51:34 | 2019-02-04T02:51:34 | 169,345,375 | 1 | 1 | MIT | 2020-07-30T06:04:13 | 2019-02-06T02:27:39 | Python | UTF-8 | Python | false | false | 3,289 | py | import numpy
import matplotlib.pyplot as plt
from chainer_chemistry.saliency.visualizer.base_visualizer import BaseVisualizer # NOQA
from chainer_chemistry.saliency.visualizer.visualizer_utils import abs_max_scaler # NOQA
class TableVisualizer(BaseVisualizer):
"""Saliency visualizer for table data"""
def... | [
"acc1ssnn9terias@gmail.com"
] | acc1ssnn9terias@gmail.com |
ab49e989f2bae37ff7ec31c1ea2d57c21e95e39a | e9bcabc640d02dcd5d46f0ecccdd6c62a822ff2f | /Day_96_100/Day-99.py | fd108addde3ae80e96082a9477d6847612ae167f | [
"MIT"
] | permissive | analuisadev/100-Days-Of-Code | 8ef87aca0a3d21a88f23f3e9951ede8d2a2e7a25 | b1dafabc335cd2c3c9b1cecd50597b42d8959d4a | refs/heads/main | 2023-03-24T14:38:43.127753 | 2021-03-16T17:36:13 | 2021-03-16T17:36:13 | 316,727,335 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,836 | py | """"
Parte 5: Criando Colisões
"""
#Importações necessárias para a criação da janela
import pygame
from pygame.locals import *
from sys import exit
from random import randint
#Inicialização das váriaveis e funções do pygame
pygame.init()
#Criação da tela
width = 640
height = 480
x = width/2
y = height/2
#Criando ... | [
"71856519+analuisadev@users.noreply.github.com"
] | 71856519+analuisadev@users.noreply.github.com |
a40183d91dc5ab741e0f4a91dfb2c05c5b73b66f | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02628/s785161467.py | 3f9c154f8635eed3d0cb56f4538868a10a28d93d | [] | 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 | 64 | py | n,k,*p=map(int,open(0).read().split());print(sum(sorted(p)[:k])) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
7b36da46e9525ecd5334eed1e12a60755f7ecced | 3691f0b571612fd550095af0d7c93f22d5a8061c | /ERP/ERP/urls.py | c6682a389f1e01fb60f097995d0cfef7300d1560 | [] | no_license | sambapython/db16 | 29db8c6be5a3628cd3063cc0d8e092ae8ea69d60 | 98d751ffc7277bb4e28f90b7cb470d667ab47593 | refs/heads/master | 2021-02-11T22:02:34.251113 | 2020-03-03T03:43:29 | 2020-03-03T03:43:29 | 244,532,780 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 931 | py | """ERP URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based vie... | [
"sambapython@gmail.com"
] | sambapython@gmail.com |
3eb6d193517b5ddaa0e343c16513ad7fff94180c | 216ee8ab7ca468638aa2dc6ccb7f89ea76dd0b35 | /Project/Solutions/b_print_to_csv/scraper.py | 53d02a6e14c5fe2a789323404aefe9f094fd9c4d | [] | no_license | satishkbe/python-level-2 | 7b44d0f676bc830f0a94f823aeb6e0f628215628 | 834411f74d54019b9675a87004fd39072dc5fba0 | refs/heads/master | 2023-03-13T20:32:17.993938 | 2021-03-16T00:19:07 | 2021-03-16T00:19:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,099 | py | import csv
import requests
from bs4 import BeautifulSoup
URL = "https://en.wikipedia.org/wiki/Member_states_of_the_United_Nations"
# Todo: Update with your info
name = None
email = None
assert name and email
headers = {'User-Agent': f'{name} ({email})'}
response = requests.get(URL, headers=headers)
assert respons... | [
"ariannedee@gmail.com"
] | ariannedee@gmail.com |
04994d6cae6c4f70af3f4f30afa2278ef9092dfa | b38d648c04d766bc87b650aae9ec63b0c55e523b | /chapter2/k_bandit.py | 33ac126a53bda17dd28c6f2bb4c77205d11a06fc | [] | no_license | MLasserre/reinforcement-learning | 6346ccf39fb39d69b295246abcb1f3659ed310b9 | 4817c3c0ee1e0bcc43cc0e66d8e1601b4b5ae963 | refs/heads/master | 2022-12-17T06:04:09.550224 | 2020-09-25T14:09:22 | 2020-09-25T14:09:22 | 291,924,568 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,719 | py | import numpy as np
import matplotlib as mpl
import matplotlib.ticker as mtick
import matplotlib.pyplot as plt
mpl.rc('text', usetex=True)
mpl.rc('font', family='serif')
# Functions initializing the true action values
def normal_initialization(k, mu=0., sigma=1.):
return np.random.normal(mu, sigma, size=k)
def con... | [
"marvin.lasserre@lip6.fr"
] | marvin.lasserre@lip6.fr |
1fcd20eceee08a20fa3e8e20698adae133f508da | 86cd22354f2431087c9b3ff06188f071afb3eb72 | /71.Simplify Path.py | e9e05e520df721762f6fc00d81f8232f8e74ae22 | [] | no_license | tlxxzj/leetcode | 0c072a74d7e61ef4700388122f2270e46c4ac22e | 06dbf4f5b505a6a41e0d93367eedd231b611a84b | refs/heads/master | 2023-08-31T11:04:34.585532 | 2023-08-31T08:25:51 | 2023-08-31T08:25:51 | 94,386,828 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 380 | py | class Solution(object):
def simplifyPath(self, path):
"""
:type path: str
:rtype: str
"""
ret = []
for i in path.split('/'):
if i == '' or i == '.': continue
if i == '..':
if len(ret)>0: ret.pop()
else:
... | [
"tlxxzj@163.com"
] | tlxxzj@163.com |
a68b946bee03f149a3cf844c5ea961d9f4502911 | 6c0389947b6a6c69254955f3646bca8c2882ad41 | /app/static/lib/clasificador.py | 7e161b706e11519ca8248acece71cfd74f514cb1 | [] | no_license | Redoxfox/mysite | e9380e23164e170609decf14549f0c8e67e3d36b | 318684e538227286680edcd05935258d7e70de11 | refs/heads/master | 2022-06-28T12:44:41.560625 | 2022-06-06T04:26:44 | 2022-06-06T04:26:44 | 190,919,199 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,520 | py | def clasificar(liga, id_eq1, id_eq2):
import decimal
import pymysql.cursors
#from Ligas.lib.Bbinaria import binaria
#from Ligas.lib.Oquicksort import quicksort
from Bbinaria import binaria
from Oquicksort import quicksort
# Connect to the database
connection = pymysql.connect(host='local... | [
"cmtrfenix@gmail.com"
] | cmtrfenix@gmail.com |
c9b5f52e264f390c417cae5e4792a29258632755 | 14ecd6759326918a9875372244d3a340a8d7adb5 | /lib/liba/__init__.py | db7e4b0f994814c0aef317c213a4b11cc6b86ea3 | [] | no_license | tkhr-ssk/SamplePythonProject | 65cf264c158d4705e5afc9c6acd45d16f4858334 | a833946ed52a85b20812130351d5076073b6a8f0 | refs/heads/master | 2022-04-22T21:08:40.348668 | 2020-04-15T16:37:13 | 2020-04-15T16:37:13 | 255,956,301 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20 | py | from .liba import *
| [
"tkhr.ssk@gmail.com"
] | tkhr.ssk@gmail.com |
cd6c93b19fecb396cb0458d2561de26a3b8b110a | f40ad51a600e64f12710fc4847c356a35cd0a3d2 | /S08/oop/geometry.py | 69181f8bd1a3113ef4a969527338183d111a722a | [] | no_license | pymft/py-mft1 | 0aa1b854ea80e17e18c0eacc6f4dc7428a71af39 | f4657fe17e56b6f54bdc8b1076edfc388b85cb05 | refs/heads/master | 2020-05-09T09:32:59.020361 | 2019-07-05T13:59:19 | 2019-07-05T13:59:19 | 181,006,072 | 1 | 5 | null | 2019-05-03T20:06:03 | 2019-04-12T12:42:38 | Python | UTF-8 | Python | false | false | 940 | py | import math
class Parallelogram:
def __init__(self, a, b, angle):
print("paralleogram", self.__class__)
self.a = a
self.b = b
self.angle = angle
@property
def area(self):
return self.a * self.b * math.sin(math.radians(self.angle))
@property
def perimeter(se... | [
"naeini.v@gmail.com"
] | naeini.v@gmail.com |
b26f46287c34e1c977675f1a1da4680ab338880a | d578dc0955028ee86656f06423ceaa4a50c5ba92 | /Final Project/Centroid.py | 6915378daa05fc205509cf703953b537c1f5ae35 | [] | no_license | ohsuz/CSI4106-Repository | 1b17482d9215c0dcfff60edb90494833d11e069a | d81c5a2600b7c8bf67dd02fbd30138a7f8245e47 | refs/heads/master | 2023-06-11T10:29:33.009843 | 2021-06-26T18:02:50 | 2021-06-26T18:02:50 | 230,781,524 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,509 | py | #!/usr/bin/env python
# coding: utf-8
# In[33]:
#import packages
import glob
import os
import imutils
import cv2
#read the images from the folder
images = [cv2.imread(file) for file in glob.glob("C:/Users/cjtol/CSI4106/Pocket/*.png")]
#covert image to grayscale
gray = cv2.cvtColor(image, cv2.COLOR_... | [
"gl_gd@naver.com"
] | gl_gd@naver.com |
56e49ec8b756e2762d4f46ee992731ee54be86f1 | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_116/379.py | 45af30e36a16a8b8f0a6a9536d9e5d1ddb753e2b | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,246 | py | def hasLine(squares, symbol):
for i in range(4):
if squares[i][0] == squares[i][1] == squares[i][2] == squares[i][3] == symbol:
return True
for i in range(4):
if squares[0][i] == squares[1][i] == squares[2][i] == squares[3][i] == symbol:
return True
if squares[0][0] == squares[1][1] == squares[2][2]... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
75ca027e72150e7fcc19ed4fba648acdc5b2451e | f74f645082e7211ea2b84cd5f9e33b1f30ec0372 | /Adafruit_I2C.py | c797bbdb693e10284fade282e46aa86e1f4bf272 | [] | no_license | Dbroqua/Adafruit_CharLCDPlate | c859b52ff958cf2fab8d2fcc2744bb76c2953d3f | 69c2c2a568df3dd84a4ebe9cd180ff90785ad127 | refs/heads/master | 2016-09-06T13:49:20.994566 | 2013-09-23T11:20:56 | 2013-09-23T11:20:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,581 | py | #!/usr/bin/python
import smbus
# ===========================================================================
# Adafruit_I2C Class
# ===========================================================================
class Adafruit_I2C :
@staticmethod
def getPiRevision():
"Gets the version number of the Raspberry Pi... | [
"damien.broqua@gmail.com"
] | damien.broqua@gmail.com |
b5d478ae0c2d08d401203a1943d48fbf5d4a2357 | 7e46b27029a2ef5c04dca00d1f631c16f59d03e0 | /class_tree/class_tree/wsgi.py | 3e2d7d6351c027444cb013150d1bb137e7e13dd5 | [] | no_license | MCGallaspy/class_tree_proof | 4141454e0154985548fc63297a11a930953176b8 | eef71e950e2a7663ccc0924acd8f0cf288b90fec | refs/heads/master | 2021-01-10T17:00:53.345047 | 2016-02-03T22:37:25 | 2016-02-03T22:37:25 | 50,004,234 | 0 | 1 | null | 2021-10-11T22:55:40 | 2016-01-20T04:26:08 | Python | UTF-8 | Python | false | false | 397 | py | """
WSGI config for class_tree project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SE... | [
"gallaspy.michael@gmail.com"
] | gallaspy.michael@gmail.com |
b8b6bb828f4ec50c41c2757085e46ecb0e773461 | 38a4b0b758125419b21ea417530bd418c5eeb0d1 | /Homework/Barker HW4-1.py | 3d991d85ddc48a0a9878c15ab1eb43b045ae8463 | [] | no_license | acbarker19/PHY299-Class-Assignments | 4c12146bf83ac3737748dc25587a720ac2a61da8 | d17d445e70c8228c247f92c772bb69471e69024f | refs/heads/master | 2021-07-03T04:32:57.555060 | 2021-05-18T01:59:59 | 2021-05-18T01:59:59 | 236,010,951 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 261 | py | # HW 4-1
# Alec Barker
import math
# Q2.5.2
a = 1
b = math.sqrt(2)
while a != b:
stored_a = a
stored_b = b
a = 0.5 * (stored_a + stored_b)
b = math.sqrt(stored_a * stored_b)
print(a, b)
G = 1 / a
print("Gauss's Constant: ", a) | [
"acbarker19@gmail.com"
] | acbarker19@gmail.com |
af23bfe2581b749cad1c35dc75d23d8ece968b41 | e756bfb5290cd336d20f0cf0cde04eec2a35caae | /src/actions/custom/utils/pick_card.py | 9847ba74cd50d6deef5415fb9cb4dde04b52eee6 | [
"MIT"
] | permissive | StetHD/Lonabot | ff1b9113f1e8d6618a271a17752e86679e0c6274 | 615ce2c176607d6da71c84d38644d8aaaf0d3a0b | refs/heads/master | 2021-01-22T10:40:55.989293 | 2016-08-24T10:17:29 | 2016-08-24T10:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,101 | py | from actions.action_base import ActionBase
from random import choice, randint
class PickCardAction(ActionBase):
def __init__(self):
super().__init__(name="PICK A CARD FROM THE DECK",
keywords=['pick a card (INT)',
'pick (INT) cards?'])
def a... | [
"totufals@hotmail.com"
] | totufals@hotmail.com |
874f4efd56ce1004c56e15fdb3c4e2f34e10535b | 6bd89a5be0e2052d987894c9c490b0cf4a483313 | /Server/classLibrary/CreditDataClass.py | 716a45acddca1cd2980ff0588883938a207f6840 | [] | no_license | a0935210570602/credit_card_analize_project | c3a833174a13d5653d326e3158e5b9d580cfe255 | 46b8d14c0f92c3e289e16e04baab1a03bd461077 | refs/heads/master | 2023-01-24T06:00:22.205642 | 2020-11-16T07:28:18 | 2020-11-16T07:28:18 | 286,956,997 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,991 | py | class CreditData():
def __init__(self, datalist):
self.datalist = datalist
self.resultlist = []
self.result = []
self.flag = list(range(0,self.datalist.count()))
for count in range (0,self.datalist.count()):
self.resultlist.append({})
for key in self.d... | [
"t106820003@ntut.edu.tw"
] | t106820003@ntut.edu.tw |
fd7326df55080e803d9ef5dcf9ef75f5bfd70c6c | 2c872fedcdc12c89742d10c2f1c821eed0470726 | /pbase/day12/code/text2.py | 416a82954f3664da8fa1e1eb23e2cb329b0f8028 | [] | no_license | zuigehulu/AID1811 | 581c3c7a37df9fa928bc632e4891fc9bafe69201 | 10cab0869875290646a9e5d815ff159d0116990e | refs/heads/master | 2020-04-19T16:33:04.174841 | 2019-01-30T07:58:24 | 2019-01-30T07:58:24 | 168,307,918 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 479 | py | # 编写函数fun 基功能是计算下列多项式的和
# Sn = 1 + 1/1! + 1/2! + 1/3! + .... + 1/n!
# (建议用数学模块中的factorial)
# 求当n得20时 Sn的值
# 即:
# print(fun(20)) # 2.718281828...
import math
# def sumfun(n):
# Sn = 1
# for x in range(1,n+1):
# Sn += 1/math.factorial(x)
# return Sn
# print(sumfun(20))
def ... | [
"442315617@qq.com"
] | 442315617@qq.com |
4d2d3bc59a972fe23893c7a994e048f6ef031328 | e1591e08d14518483aad7058003a8b56f144e4fe | /route.py | 24138f21cd1f31bffcfff06d147324bb4160fd18 | [
"Apache-2.0"
] | permissive | ZhouRR/Baibumblebee | 672db67c705e92c237ff319c2ab3bc6368b7b6ed | 3100b9c2dc8cc4674ed1975bcda096f2f5d99033 | refs/heads/master | 2022-11-14T18:05:14.566928 | 2020-07-08T08:21:03 | 2020-07-08T08:21:03 | 277,741,367 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 979 | py | import os
from fastapi import FastAPI
import urls
from models.models import *
from views import media_view, headline_view, contents_view
app = FastAPI()
@app.get(urls.MEDIAS)
async def get_medias():
return media_view.get_medias()
@app.post(urls.MEDIAS)
async def post_medias(media: Media):
return media_vi... | [
"zhourr@ohs-sys.com"
] | zhourr@ohs-sys.com |
3103c090ae865762051578e4e5a1c6dd75ac7c27 | 4f96a22dc45d85047b36b270142a375c3e485587 | /flossColor.py | 3d2485e8b54d0b3da94f28de002764645b9b91a2 | [] | no_license | rickbanghart/PythonDev | 2e530f8f4ac8950422b103a5daf05079c1f1b936 | a81b6288d41348f7c4c6b0277fe39a48e82a229d | refs/heads/master | 2021-01-11T14:54:51.140472 | 2017-01-30T01:02:24 | 2017-01-30T01:02:24 | 80,249,762 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,212 | py | import mysql.connector
import csv
from Tkinter import Tk, Frame, BOTH
class Example(Frame):
def __init__(self, parent):
Frame.__init__(self, parent, background="white")
self.parent = parent
self.initUI()
def initUI(self):
self.parent.title("Si... | [
"banghart@msu.edu"
] | banghart@msu.edu |
6cdda0b14cf4b2da2cea3b94f55cf433cdb26ca6 | bdc68211250e7945bb6705f65c6ab3a3246fb2b6 | /src/util/tree/sequence_tokenize.py | 471e40aa03260adee5c2307c0e9fc3ea67cfe88f | [] | no_license | dannykh/PCFG_mmn13_openu | 83aba350c6e23c1fc8eb1d898abe22e39f447a84 | d5d02666807fed3c71718f0833ad3769d31c8231 | refs/heads/master | 2020-06-16T18:56:18.717872 | 2019-07-09T22:27:58 | 2019-07-09T22:35:01 | 195,670,311 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 621 | py | def consume_tag(sequence, pos):
tag = ''
while sequence[pos] != ' ' and sequence[pos] != ')' and pos < len(sequence):
tag += sequence[pos]
pos += 1
return tag, pos
def tokenize(sequence):
''' tokenizes the bracketed notation '''
tokens = []
pos = 0
while pos < len(sequenc... | [
"danny.kh93@gmail.com"
] | danny.kh93@gmail.com |
92ec5116f94e22513a33ddba3fce5e3a11905699 | 52ceddf5260bb96bbf34c1057c7973cfc1a265d9 | /auctions/migrations/0002_auctionlistings.py | 8d5cec639a04af032dccc704592dee2024d34e55 | [] | no_license | soumyadeepm04/Project2 | 607ba4601abd7487c779d4187950ef581c4832f7 | 8ab40befc12555470ba0255f86b75c76672e7ba8 | refs/heads/master | 2023-06-01T05:37:27.855994 | 2021-06-17T20:08:44 | 2021-06-17T20:08:44 | 377,622,452 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 704 | py | # Generated by Django 3.2.3 on 2021-06-12 02:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('auctions', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='AuctionListings',
fields=[
... | [
"bmahapatra@c02xk3umjgh5.myfiosgateway.com"
] | bmahapatra@c02xk3umjgh5.myfiosgateway.com |
e1797abbb517a5b0d9e49e93536eb28f286dff74 | a214e706c875e0af7221c0c9ae193d9d93ee20a7 | /merge_pedmap.py | a521b00da550343f20052204c786390bad354afb | [] | no_license | inambioinfo/bioinformatics_scripts | fa2292e91ad4134204a09ace27c8a91ae70fa34c | 3a23611f382b7f3dd60e5e2abe841b84408c0d44 | refs/heads/master | 2020-03-20T21:17:10.163061 | 2017-03-28T23:41:39 | 2017-03-28T23:41:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,809 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from optparse import OptionParser
import os
__author__ = "Raony Guimarães"
__copyright__ = "Copyright 2012, Filter Analysis"
__credits__ = ["Raony Guimarães"]
__license__ = "GPL"
__version__ = "1.0.1"
__maintainer__ = "Raony Guimarães"
__email__ = "raonyguimaraes@gmail.co... | [
"raonyguimaraes@gmail.com"
] | raonyguimaraes@gmail.com |
836236628e6676f74198897e9bb09b26ef6e8926 | 37b0de1e37bc313ad5c4735d288f0f2ccc6bca88 | /tests/test_paired.py | 9cf3c361cabf9ee88f9f5d935c87a3044e68aeb9 | [
"MIT"
] | permissive | kingdynasty/cutadapt | a65b46eb192fbff00ab404324d5960f1ab22cb79 | 49aa33ac46c5183a39acddbe85d58103ff7eecb8 | refs/heads/master | 2020-03-28T14:04:13.798989 | 2018-09-10T09:21:48 | 2018-09-10T09:21:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,702 | py | import os.path
import shutil
import tempfile
from itertools import product
import pytest
from cutadapt.__main__ import main
from utils import run, assert_files_equal, datapath, cutpath, redirect_stderr, temporary_path
@pytest.fixture(params=[1, 2])
def cores(request):
return request.param
def run_paired(params, ... | [
"marcel.martin@scilifelab.se"
] | marcel.martin@scilifelab.se |
572b84a3f569162ee860e6f7b20ac524c04a19b9 | 6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5 | /katas/kyu_7/linked_lists_get_nth_node.py | 1f2b39f86f418fb40df8cc42b845bc21a735c961 | [
"MIT"
] | permissive | mveselov/CodeWars | e4259194bfa018299906f42cd02b8ef4e5ab6caa | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | refs/heads/master | 2021-06-09T04:17:10.053324 | 2017-01-08T06:36:17 | 2017-01-08T06:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 311 | py | class Node(object):
def __init__(self, data):
self.data = data
self.next = None
def get_nth(node, index):
current = node
dex = -1
while current is not None:
dex += 1
if dex == index:
return current
current = current.next
raise Exception
| [
"the-zebulan@users.noreply.github.com"
] | the-zebulan@users.noreply.github.com |
dd713f3a180a0c82f82e9b6a9e9358a8c8649ab4 | f4d78406cda8cb7e8232873dfd4d735763a36f07 | /result/migrations/0004_auto_20170331_2017.py | 5ac9fa86e89e90bb810b3663b4339951b7cc5e5d | [] | no_license | pratulyab/ipu-results-bot | 722b646a098f95e21bb12a47bcaff69d7e8a034a | aa000f28cad79ad49d14547203877247fae7327d | refs/heads/master | 2022-07-13T18:03:39.107959 | 2019-06-24T20:45:56 | 2019-06-24T20:45:56 | 193,555,061 | 0 | 0 | null | 2022-06-21T22:12:19 | 2019-06-24T18:05:45 | Python | UTF-8 | Python | false | false | 550 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2017-03-31 14:47
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('result', '0003_auto_20170331_1806'),
]
operations = [
migrations.RemoveField(... | [
"pratulyabubna@outlook.com"
] | pratulyabubna@outlook.com |
5858ee9c33f1c567825190fe61a5f7264ab65ba8 | e9853ad41b738c2704287740ade0936c86438366 | /garden.py | 0601a998016e508ab9aef969f09f9b0878e1821c | [] | no_license | pierre-geeraert/Leek-Wars | 37d2ca5d995e4e94d79c32f4f69e81d1716e0c58 | d54fbbd460a658216c7de98033bef80f9d519929 | refs/heads/master | 2021-01-13T01:21:10.893041 | 2019-08-09T08:23:49 | 2019-08-09T08:23:49 | 81,462,434 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,775 | py | from random import randint
from pipenv.utils import requests
import globalVar
from function_essential import request_api
import function_essential
import json
source_api_address=function_essential.source_api_address+"garden/"
def getGardenForLeek(leek_id):
try:
data_out_GetGardenForLeek = request_api(so... | [
"pi@pi.fr"
] | pi@pi.fr |
bc326f5540687fa91d3de9c892b798f6da959d3e | 2bd804f1e6bf3fe60fc62064a2896fd05b6d2428 | /main.py | cf303f65a9ef98d3c5d8ea496531b0e243d6a356 | [] | no_license | phamtony/rain-alert | 1a891577ef0f57342ad74e338ff84df0d94916e0 | d77bbec6c63b8369028464f5a0bf004110cd1c5f | refs/heads/master | 2023-04-13T22:46:59.857008 | 2021-04-21T01:02:50 | 2021-04-21T01:02:50 | 352,727,538 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,001 | py | import requests
import os
from twilio.rest import Client
url = "https://api.openweathermap.org/data/2.5/onecall"
api = os.environ.get("OWM_API_KEY")
account_sid = os.environ.get("account_sid")
auth_token= os.environ.get("auth_token")
lat = 30.332184
long = -81.655647
parameters = {
"lat": lat,
"lon": long,
... | [
"tony.p@lashowroom.com"
] | tony.p@lashowroom.com |
e5f5323c7212d7287df0abcdd4111a39a6b78ce2 | 65747551b8fab58fce7c10355b1117f992d5ba38 | /project/submissions/avneesh/dwa_notebook.py | 3a1fc90d2c8dcffeeba30e292dc228234c12f2dd | [
"MIT"
] | permissive | naveenmoto/lablet102 | 4f88c95a93de22880afda3381466506a585a7b1a | 24de9daa4ae75cbde93567a3239ede43c735cf03 | refs/heads/main | 2023-06-29T05:24:18.215235 | 2021-08-02T03:33:54 | 2021-08-02T03:33:54 | 380,767,879 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,070 | py | """
Testing DWA
Current Notes:
Forget the map for a while
"""
# %% Import everything
# Libraries
from grid_loader import Grid
from astar_path import AStar
from simulator import Lidar
from dwa import DWA
# Modules
import numpy as np
from matplotlib import pyplot as plt
# %% Global variables
V_MAX = 1... | [
"naveen@atimotors.com"
] | naveen@atimotors.com |
5a991fed1d4a0e7596274c8eb7335d9e09592e6a | 8f5f0c3ef83fdd482387973149738f6178477a42 | /medium/trees/next_right_pointer.py | e1eb4ce5802ddc9adc9779869feb56faa06352f2 | [] | no_license | nicokuzak/leetcode | 79a5771ad83786cc7dbfd790f8fffcf1ce58794e | 39b0235dc429a97a7cba0689d44641a6af6d7a32 | refs/heads/main | 2023-04-06T21:02:09.553185 | 2021-04-14T22:21:20 | 2021-04-14T22:21:20 | 336,847,511 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,414 | py | """You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following definition:
struct Node {
int val;
Node *left;
Node *right;
Node *next;
}
Populate each next pointer to point to its next right node. If there is no next right nod... | [
"nicokuzak95@gmail.com"
] | nicokuzak95@gmail.com |
5b21a4c2067e74e7ff233876453a7bbb84d6ebc6 | 3bc4b502fdb5ffecdbecc9239a0c25746dc31022 | /Ch06/p157.py | 9df9fb2464141935daf597c1cf1f74a731857083 | [] | no_license | pkc-3/python | 68da873bbe7ad9a3e0db4e22ddaa412a9377720f | d8410d897c3784c6017f7edc215ce8763e557518 | refs/heads/master | 2023-05-31T06:40:30.279748 | 2021-06-10T09:00:09 | 2021-06-10T09:00:09 | 361,634,592 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 465 | py | #self 명령어 예
class multiply3:
#멤버 변수 없음
#생성자 없음
#동적 멤버변수 생성/초기화
def data(self,x,y):
self.x = x
self.y = y
#곱셈 연산
def mul(self):
result = self.x * self.y
self.display(result) #메서드 호출
#결과 출력
def display(self, result):
print("곱셈 = %d" % (result))
... | [
"pkc_3@naver.com"
] | pkc_3@naver.com |
a950a7a778b32ddbcd98fa1c1ccb038943d402eb | 499df219e4698a9f7c1f507fb197bcd9c1d70750 | /wiki_data_extraction.py | 8d919722ae1a62071fffab44ca02ae4054c17f6c | [] | no_license | relwell/nlp-rest-client | 020c2e75f8ca0c475d0edf9611f1a9a77bfa244e | 3f8e8e6dd9db31d8c1f97737fcdffe4cc494e6ec | refs/heads/master | 2020-04-12T21:02:58.160323 | 2013-10-03T18:26:33 | 2013-10-03T18:26:33 | 12,444,248 | 0 | 0 | null | 2013-09-23T16:41:59 | 2013-08-28T20:49:19 | Python | UTF-8 | Python | false | false | 1,170 | py | import requests
import json
import traceback
import sys
from boto import connect_s3
from boto.s3.prefix import Prefix
from multiprocessing import Pool
from nlp_client.services import TopEntitiesService, EntityDocumentCountsService, TopHeadsService
from nlp_client.caching import useCaching
useCaching(writeOnly=True)
d... | [
"robert@wikia-inc.com"
] | robert@wikia-inc.com |
1ad1cdf4c211d1ad2cfc0e6db523776b6a91d5d7 | 711756b796d68035dc6a39060515200d1d37a274 | /output_cog_tags/initial_859.py | a64a24fccf2efc8b865aa813310e625203f34f62 | [] | no_license | batxes/exocyst_scripts | 8b109c279c93dd68c1d55ed64ad3cca93e3c95ca | a6c487d5053b9b67db22c59865e4ef2417e53030 | refs/heads/master | 2020-06-16T20:16:24.840725 | 2016-11-30T16:23:16 | 2016-11-30T16:23:16 | 75,075,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,330 | py | import _surface
import chimera
try:
import chimera.runCommand
except:
pass
from VolumePath import markerset as ms
try:
from VolumePath import Marker_Set, Link
new_marker_set=Marker_Set
except:
from VolumePath import volume_path_dialog
d= volume_path_dialog(True)
new_marker_set= d.new_marker_set
marker_set... | [
"batxes@gmail.com"
] | batxes@gmail.com |
9dd49b3cf82fa3b52f4bc3b9c1514bcf1c23dca0 | 63ba933a294865f65409635f62e0f1d59f725f37 | /src/trees/isBalanced.py | 7ecb0495d36c1aecf3938a94d2007c4730bf1f19 | [
"CC0-1.0"
] | permissive | way2arun/datastructures_algorithms | fc4302bdbb923ef8912a4acf75a286f2b695de2a | 4ea4c1579c28308455be4dfa02bd45ebd88b2d0a | refs/heads/master | 2021-12-07T04:34:35.732026 | 2021-09-30T12:11:32 | 2021-09-30T12:11:32 | 203,658,808 | 1 | 0 | null | 2020-08-08T15:55:09 | 2019-08-21T20:23:46 | Python | UTF-8 | Python | false | false | 1,995 | py | """
Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as:
a binary tree in which the left and right subtrees of every node differ in height by no more than 1.
Example 1:
Input: root = [3,9,20,null,null,15,7]
Output: true
Exam... | [
"way2aru@yahoo.com"
] | way2aru@yahoo.com |
4e8a6e2e759799da23d684e7ed113a3372cb6320 | a41d781cad9af29a07da3cd4713bde2160da8f0f | /imgs2LMDB.py | 494c01826a983c0cf19659b0d9960d71392af20d | [
"MIT"
] | permissive | johnnylili/AdvancedEAST-PyTorch | cee11bea353071806c21d62315747981893b9c35 | a835c8cedce4ada1bc9580754245183d9f4aaa17 | refs/heads/master | 2022-12-04T08:51:57.823992 | 2020-08-22T18:38:29 | 2020-08-22T18:38:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,173 | py | """ a modified version of CRNN torch repository https://github.com/bgshih/crnn/blob/master/tool/create_dataset.py """
# import fire
import os
import lmdb
import cv2
# import imageio
import cfg
from PIL import Image, ImageDraw
from tqdm import tqdm
import numpy as np
from preprocess import preprocess
fr... | [
"noreply@github.com"
] | johnnylili.noreply@github.com |
0b3788d4fbdbbf609b1d07cec5135630f51a7c4b | ed7b5c24d9a13d0c717fd6f6293f3464f43d7cbf | /demo/sjh_web/demo55.py | 0dd3351eafd4b929e7b8c9d051f64ed3d14dee2a | [] | no_license | befallenStar/python | ccb93d456dc161a8087a78220a7aaab21320ab8b | e44ce8c11b820f03fe2d60dfa84053d8cc356c80 | refs/heads/master | 2022-12-07T18:34:03.091146 | 2020-08-20T02:33:56 | 2020-08-20T02:33:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,659 | py | # -*- encoding: utf-8 -*-
import urllib3
pcUserAgent = {
'IE-agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windwos NT 6.1; Trident/5.0;',
'firefox-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0',
'chrome-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/5... | [
"sy5622_5@126.com"
] | sy5622_5@126.com |
d47b760098656ec22905595db57af143f04c9a99 | b5cf99c4ed0ff18e351394ae85a91068a74dcc16 | /libdemo/bs_demo.py | 445ff43c30b45cdfd2a3a0e39920958a494e0f96 | [] | no_license | srikanthpragada/DEMO_PYTHON_19_NOV_2019 | 8966d218af8531c8e77accf7e2740094e2c1902f | ac50fdbb7de94d671e0ab5274d6aadd133b70899 | refs/heads/master | 2020-09-14T08:19:55.453868 | 2019-12-23T03:00:07 | 2019-12-23T03:00:07 | 223,076,035 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 204 | py | from bs4 import BeautifulSoup
st = "<html><body><h1>Title1</h1><h2>Title2.1</h2><h2>Title2.2</h2></body></html>"
bs = BeautifulSoup(st, 'html.parser')
for tag in bs.find_all("h2"):
print(tag.text)
| [
"srikanthpragada@gmail.com"
] | srikanthpragada@gmail.com |
daf42c575a75cfd7aa10ea738eb758756f91f28a | 2b9c398f8d39e41da3f8e3356b2ad3d2ea5cb995 | /firestorage.py | eae4c03ba72ea1d06f21504ea49a0ce9943fa71b | [] | no_license | drDrozio/Firebase | 770152ff158535a6641a1065699463f49983092f | 618e98df1ebf5a774a2feccc4cbdd93402d47514 | refs/heads/master | 2022-12-01T10:39:48.558406 | 2020-08-12T15:24:48 | 2020-08-12T15:24:48 | 287,045,205 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 680 | py | import pyrebase
config={
"apiKey": "AIzaSyCJ_p-TCd7a16e5MiCSg0vcDPWGRjTAMbk",
"authDomain": "fire-8a42b.firebaseapp.com",
"databaseURL": "https://fire-8a42b.firebaseio.com",
"projectId": "fire-8a42b",
"storageBucket": "fire-8a42b.appspot.com",
"messagingSenderId": "218150852345",
"appId": "1:2... | [
"ishanss2018@gmail.com"
] | ishanss2018@gmail.com |
d7f63dcc0bc4be0be92e1b193db9abad6b55f611 | c9500ad778b8521aaa85cb7fe3239989efaa4799 | /plugins/microsoft_intune/icon_microsoft_intune/actions/get_managed_apps/schema.py | 950f7ebf08d7248b32cb5c69cb6007c0c35c5b04 | [
"MIT"
] | permissive | rapid7/insightconnect-plugins | 5a6465e720f114d71b1a82fe14e42e94db104a0b | 718d15ca36c57231bb89df0aebc53d0210db400c | refs/heads/master | 2023-09-01T09:21:27.143980 | 2023-08-31T10:25:36 | 2023-08-31T10:25:36 | 190,435,635 | 61 | 60 | MIT | 2023-09-14T08:47:37 | 2019-06-05T17:05:12 | Python | UTF-8 | Python | false | false | 4,712 | py | # GENERATED BY KOMAND SDK - DO NOT EDIT
import insightconnect_plugin_runtime
import json
class Component:
DESCRIPTION = "Returns InTune manageable apps"
class Input:
APP = "app"
class Output:
MANAGED_APPS = "managed_apps"
class GetManagedAppsInput(insightconnect_plugin_runtime.Input):
sc... | [
"noreply@github.com"
] | rapid7.noreply@github.com |
00b5dccb42c8858ab9d32c59a2d6849cdaa5680c | 7d68be5c777a34d7d0a8e6182f1954629fbbfe88 | /Search_Stock_loop.py | 34a694239c8e000f45047e7e2daf3c78267ad899 | [] | no_license | guifacury/Check_Stock | 979b14e33d627250c3493da0212650c45a573c45 | d2345a4f8d9120f9d0e28418fcf870d1e69a47a7 | refs/heads/master | 2022-12-12T12:37:33.261098 | 2020-09-18T14:39:25 | 2020-09-18T14:39:25 | 296,637,679 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,758 | py | # --------------------------------
# --------------------------------
# MEU DISCORD É [ facury#0262 ]
# --------------------------------
# --------------------------------
import selenium # CASO VOCÊ NUNCA TENHA INSTALADO O SELENIUM, ESCREVA NO CMD DO WINDOWS ---> pip install selenium
from time import... | [
"noreply@github.com"
] | guifacury.noreply@github.com |
d09cbbe00b827f394ca2273cd1219aa9bad0fd43 | 9c7091f82a5108261cbc3e5209f0e6df42f55530 | /node/src/fuzzers/peach_fuzzbang.py | 3a1d9883ba450b54c00eee87fd997b6a106f6edc | [
"MIT"
] | permissive | hatRiot/PeachOrchard | 881b24bdf8ceb5c1e23c989fdb612f8b70dfd192 | cd11ab0ccbcce2349408d5c2e4b651eb99a4e9c1 | refs/heads/master | 2021-06-18T03:27:03.835834 | 2019-09-23T19:24:02 | 2019-09-23T19:24:02 | 23,305,215 | 46 | 26 | MIT | 2021-06-10T19:48:39 | 2014-08-25T07:12:20 | Python | UTF-8 | Python | false | false | 3,101 | py | from src.core.log import *
from src.core import config
from src.core import utility
from src.core.fuzzer import Fuzzer
from re import findall
import os
class peach_fuzzbang(Fuzzer):
""" Class implements the interface for the Peach fuzzer. This has
been tested with FuzzBang as well as regular ol' Peach.
"... | [
"shodivine@gmail.com"
] | shodivine@gmail.com |
64728e5c76187cf4177e6d19c48c73b797430c05 | d94b6845aeeb412aac6850b70e22628bc84d1d6d | /perso_arabic_norm/describe_splits.py | 70788b7f48dbdc399d1fcc680fe3b99a08017009 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | ishine/google-research | 541aea114a68ced68736340e037fc0f8257d1ea2 | c1ae273841592fce4c993bf35cdd0a6424e73da4 | refs/heads/master | 2023-06-08T23:02:25.502203 | 2023-05-31T01:00:56 | 2023-05-31T01:06:45 | 242,478,569 | 0 | 0 | Apache-2.0 | 2020-06-23T01:55:11 | 2020-02-23T07:59:42 | Jupyter Notebook | UTF-8 | Python | false | false | 2,067 | py | # coding=utf-8
# Copyright 2023 The Google Research Authors.
#
# 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
468476f6db7243c6bbaa9620e0a6d5e4ea3e22ff | 110c5310346e0db4ea399c6a553d75fe3fbf5bcd | /test/sagemaker_tests/tensorflow/tensorflow1_training/resources/gpu_device_placement.py | 11bbcdff72b00abf1b5610d0b709da216dae7a9a | [
"Apache-2.0"
] | permissive | Huahan98/deep-learning-containers | dc5f3391f4099326c8402832f87cc3c4bda86cc8 | 1510b917ebfb24a3bfb744e4590d46ba78657392 | refs/heads/master | 2023-09-03T13:29:32.142167 | 2021-11-10T17:42:43 | 2021-11-10T17:42:43 | 285,139,382 | 1 | 0 | Apache-2.0 | 2020-08-05T00:57:54 | 2020-08-05T00:57:53 | null | UTF-8 | Python | false | false | 1,031 | py | # Copyright 2018 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "l... | [
"saravsak@amazon.com"
] | saravsak@amazon.com |
682ff3d690856f794b02b0de622319a91a49cbda | db373aaec7f164138bafb97eb6798ac23ed6db3a | /src/env/lib/python3.6/sre_constants.py | 3e09693e04ab823b242d8416c00275a4c2123435 | [] | no_license | justinkwan20/fora | a0b2f4d2a383cba1797980cf1e1cf6846bbc895b | 427b24ebef978bb103de6df50c71fe01c8723cc7 | refs/heads/master | 2020-03-13T10:11:35.321752 | 2018-04-22T15:59:35 | 2018-04-22T15:59:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 53 | py | /home/iceman/anaconda3/lib/python3.6/sre_constants.py | [
"wpine215@gmail.com"
] | wpine215@gmail.com |
bda313940f2dc1b4bee68c1e809d1c719d15b34b | b74cc40a3a3bfa57437e2038db4e35942e0a2b48 | /ProjectEuler/Python/p21.py | c5780d3870f64497a4923886f26515e873016516 | [] | no_license | projectPythonator/portfolio | 4a79492c1e8237b7aa0fc427ac3085941b9115c8 | 5d96c7f7c07e06e1653c25e818e0e299aaf6efb0 | refs/heads/master | 2022-03-07T06:32:15.416337 | 2022-02-22T22:15:36 | 2022-02-22T22:15:36 | 149,538,944 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,306 | py |
#author agis daniels
#Evaluate the sum of all the amicable numbers under 10000.
from math import sqrt
def sum1(n):
return 1 + sum([i for i in range(2, n-1) if 0 == n%i])
def sum2(n):
if 0 == n:
return 0
ans = step = 1
f = 2
lim = int(sqrt(n))
if lim*lim == n:
ans += lim
lim -= 1
if 0 != n%2... | [
"noreply@github.com"
] | projectPythonator.noreply@github.com |
a0ead35d36d493c9845a43942f9861d6ba38d077 | 5ed2eb094c75da388af64247f77203d1fd825476 | /visualizacionProba.py | 37f847c81b0b7e106c50414096db4a9511447019 | [] | no_license | aitorgolla10/textmining | acee8a4c3359270c40f8354d61f276acf642875b | 9a31a53e8751697864a1ead38218b873e6f4108e | refs/heads/master | 2022-11-05T08:16:09.630957 | 2019-11-17T22:38:14 | 2019-11-17T22:38:14 | 215,301,062 | 1 | 2 | null | 2022-10-10T06:44:55 | 2019-10-15T13:06:06 | Python | UTF-8 | Python | false | false | 96 | py | from visualizacion import Visualizacion as visualizar
visualizar.visualizarClusters(visualizar) | [
"agomez257@ikasle.ehu.eus"
] | agomez257@ikasle.ehu.eus |
1658bbbafd6efc967d6e327b77a54890a2404475 | 322ee1bc4b175f1655176785867cd752dc764bdc | /custom_button.py | 70ea35e27e623a4f3d36e700bd1fefd1e9e4685c | [] | no_license | zawhtetlinn/Calculator_test | 2e32bb65be7889615eecca9d462e28b55efe5120 | b92bba5fcadae9f0ca226c8af2c32601ec95a163 | refs/heads/main | 2023-07-11T10:39:54.533208 | 2021-08-14T13:19:48 | 2021-08-14T13:19:48 | 396,013,781 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,754 | py | import tkinter
import sys
class TkinterCustomButton(tkinter.Frame):
""" tkinter custom button with border, rounded corners and hover effect
Arguments: master= where to place button
bg_color= background color, None is standard,
fg_color= foreground color, blue is st... | [
"zawhtetz691@gmail.com"
] | zawhtetz691@gmail.com |
6c4072c302692caf0fc1eefcb3cc828a7315e998 | e56214188faae8ebfb36a463e34fc8324935b3c2 | /intersight/models/hyperflex_server_model_all_of.py | 00b213f2b14b684bad926afd34710dd805f3dc75 | [
"Apache-2.0"
] | permissive | CiscoUcs/intersight-python | 866d6c63e0cb8c33440771efd93541d679bb1ecc | a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4 | refs/heads/master | 2021-11-07T12:54:41.888973 | 2021-10-25T16:15:50 | 2021-10-25T16:15:50 | 115,440,875 | 25 | 18 | Apache-2.0 | 2020-03-02T16:19:49 | 2017-12-26T17:14:03 | Python | UTF-8 | Python | false | false | 5,600 | py | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen... | [
"ucs-build@github.com"
] | ucs-build@github.com |
844f97b190cde2823b75910dc0064c3c08c8298b | cf6e1c6c27d269793e57119e1f86fec8533042f0 | /Day4/hemant_q1.py | 49895b2672d9529ea7247a990f4b22f0cd29f539 | [] | no_license | rashidkhalid1212/Blend_with_python | 621fea1668ded0d006649d97c5578bdbe902d79c | 0a829dbdf12fc8d3801fc3327bd23a275c9b32b6 | refs/heads/main | 2023-07-02T06:14:01.045457 | 2020-11-04T06:36:34 | 2020-11-04T06:36:34 | 308,340,768 | 0 | 0 | null | 2020-10-29T13:42:13 | 2020-10-29T13:42:12 | null | UTF-8 | Python | false | false | 359 | py | a=float(input("Enter 1st Number: "))
b=float(input("Enter 2nd number: "))
c=input("What type calculations you want to do?\n1. Type 'm' for Multiply\n2. Type 'd' for division\n3. Type 'a' for addition\n4. Type 's' for substraction. ")
if(c=='m'):
print(a*b)
elif(c=='d'):
print(a/b)
elif(c=='a'):
print(a+b)
elif(c... | [
"ksingh1617@gmail.com"
] | ksingh1617@gmail.com |
24543972bc718a9ecee4d5687413361c96bdff0e | de5d5e533a8340011a93b7aad3a4584b1398d509 | /webmus/cms/helpers.py | 92c8b441a5ce5581185573216971e0d760d71df9 | [] | no_license | jonrscott/webmus | 1fd856eb67e9335116b415237ae32f7e34cbea0c | cdd3850deee7382af396f67bfbaa8e2fe20569cb | refs/heads/master | 2021-06-06T13:58:52.323965 | 2021-04-13T13:25:03 | 2021-04-13T13:25:03 | 11,060,987 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,065 | py | from bs4 import BeautifulSoup
from bs4.element import NavigableString
from django.urls import reverse
def _wrap_things(soup, start, end, number):
assert(start.parent == end.parent)
wrapper = soup.new_tag(
'div', **{'class': ['section'], 'id': 'section%d' % number})
content = soup.new_tag(
... | [
"jon@jonscott.co.uk"
] | jon@jonscott.co.uk |
9c833ca200046fae0f5390f5be87fd27f4d4812c | 1d22fade6916bdff3a5843a94cfcd0bf988947cd | /String/Longest Common Prefix.py | 5d94158496887607df2d5744afa541c5ad24127a | [] | no_license | Anishukla/InterviewBit | aafc75b1f0d8277b89eeeed21272a298dfdd0898 | 5a8d8a8f7b70ef64032ce237e8ff4db106d9738f | refs/heads/master | 2022-11-12T03:13:15.258421 | 2020-07-02T06:42:30 | 2020-07-02T06:42:30 | 263,426,661 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 619 | py | class Solution:
# @param A : list of strings
# @return a strings
def longestCommonPrefix(self, A):
if len(A) == 0:
return ''
first_letter = A[0]
longest_prefix = ''
for letter in range(1, len(first_letter)+1):
prefix = first_letter[0:letter]
... | [
"shuklaneesh@gmail.com"
] | shuklaneesh@gmail.com |
28433f824005544abf60673f5477c97075e02b7a | e2e1e2c27f9a9c13e7492fca93080ea093af7ae5 | /COMP309/a4/Submission/part3/LinearRegression/src/simple_linear_regression.py | 1f21dfbd940de5bc03e7fb0645ba5a97bd368ff4 | [] | no_license | David-B-91/uni | 30ebd03ab065ef96b5cc5033bcac1cbb7a46cab9 | 341c1d5b85f30bdfdfd977627f16aa862a48e923 | refs/heads/master | 2022-03-21T17:01:18.540959 | 2019-11-21T06:33:05 | 2019-11-21T06:33:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,706 | py | # -*- coding: utf-8 -*-
"""
This is an example to perform simple linear regression algorithm on the dataset (weight and height),
where x = weight and y = height.
"""
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import datetime
import random
from sklearn.linear_model import LinearRegression
... | [
"43230632+ImaDaveDave@users.noreply.github.com"
] | 43230632+ImaDaveDave@users.noreply.github.com |
a66628917e9d57bacaf3bbfd12e66540e5012968 | 5eb685241d6ad86848b56fcefb525a24acdd77d6 | /controllers/__init__.py | 71c1f604183bb0ebfc5b05480a246d5baa56714c | [] | no_license | kForth/SubsystemAccelerationSimulator | d95fe96f159eb752751cbd956f905afe154358f9 | fb35b44f9e1262dad412519907204ec1bbfda838 | refs/heads/master | 2021-05-06T19:58:00.584809 | 2018-02-16T00:01:25 | 2018-02-16T00:01:25 | 112,236,409 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 97 | py | from controllers.bang_bang import BangBangController
from controllers.pidf import PidfController
| [
"kgoforth1503@gmail.com"
] | kgoforth1503@gmail.com |
fc3b24f8e844f358d301887f327d6eefee482f83 | 438bd0cbd5a7e2a42c27564f0a45d78471d355ef | /Testing.py | ec1ed9769da0ceb97c0bdb19366b8844c0cd0d24 | [
"MIT"
] | permissive | Choco31415/DFTileConverter | bbfb92bc591ab1d726591c3e57784a0557fa6c8b | a228a558ac3c8dd1b60e48d549ad63fa47e39ac9 | refs/heads/master | 2020-03-25T07:54:47.120068 | 2018-08-06T17:59:53 | 2018-08-06T17:59:53 | 143,587,858 | 4 | 0 | MIT | 2018-08-06T03:54:48 | 2018-08-05T06:05:30 | Python | UTF-8 | Python | false | false | 3,585 | py | """
Need testing.
"""
# Handle imports
import unittest
from LoadTilesets import image_to_array, get_tileset_by_id, get_id_of_tileset, get_tileset
from Convert import detect_tileset, check_tileset_all_offsets, get_tile_ids
import numpy as np
import json
import os
# Define constants
test_screenshots = [os.path.join("re... | [
"parke.26@osu.edu"
] | parke.26@osu.edu |
ee7369e682c31cf9d17610f4c1b6a6cddd40b41f | 98ebd5d42c9badf37b377e83740317ab21d1b99a | /jogoForca.py | 94b9832da6c4597f3c1bbe5a2d19a77a61f82452 | [] | no_license | paola-rodrigues/JogoAdivinhacao | d21e4738a40219336c6af4c8461851e6d3291fb8 | b2a83f7d78f974cbe823ac2e5a0e42b64c0c0413 | refs/heads/main | 2023-08-17T04:14:43.556448 | 2021-10-01T12:47:56 | 2021-10-01T12:47:56 | 409,313,190 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,119 | py | import random
def imprime_mensagem_abertura():
print("**********************************")
print("****Bem-Vindo no jogo de Forca****!")
print("**********************************")
def carrega_palavra_secreta():
arquivo = open("palavras.txt", "r")
palavras = []
for linha in arquivo:
li... | [
"paola.n.rodrigues@gmail.com"
] | paola.n.rodrigues@gmail.com |
ad55a036719eab54161bb16e9344fa465842a9b0 | 003ffcf8144565404636f3d74590a8d6b10a90a4 | /620-not-boring-movies/620-not-boring-movies.py | 649086294562ebc1cd5148e624db643e5a39e3ab | [] | no_license | congve1/leetcode | fb31edf93049e21210d73f7b3e7b9b82057e1d7a | ce1e802b5052da2cdb919d6d7e39eed860e0b61b | refs/heads/master | 2020-05-13T19:19:58.835432 | 2019-05-06T00:44:07 | 2019-05-06T00:44:07 | 181,652,371 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 154 | py | # Write your MySQL query statement below
select id,movie,description,rating
from cinema
where description != 'boring' and id%2 = 1
order by rating DESC
| [
"congve1@live.com"
] | congve1@live.com |
3f3687f5bc5b251a3f3dfd1ab222f022f96e1572 | f4f4ed24cda0a6febac02c93e023084056235830 | /week13/onlineshop/onlineshop/settings.py | 7df3ac64996c4d3f5fc64b5e01a0a29743b1c95d | [] | no_license | madinamantay/BFDjango | 36163f2f5bf53e6a2ed7a244402c14d9bc5746eb | a364a5a16ecad65f09de4af20bdee0791d4a212f | refs/heads/master | 2022-06-14T09:30:06.630511 | 2020-04-27T03:26:51 | 2020-04-27T03:26:51 | 237,785,225 | 0 | 0 | null | 2022-05-25T03:19:28 | 2020-02-02T14:41:51 | Python | UTF-8 | Python | false | false | 5,628 | py | """
Django settings for onlineshop project.
Generated by 'django-admin startproject' using Django 2.2.10.
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/
"""... | [
"madinamantay@gmail.com"
] | madinamantay@gmail.com |
cdb8d762485a925f85def4f00a98dd3df6ff07fb | 92b3b091ee21d7310cf0e6569ac9b1fe057efe22 | /see_tunning.py | 333314be28bf943e882c3fb882d3c482f7d6183b | [] | no_license | chenhao1umbc/WSCDL | 3c33476328f708c16fb3596dc4adda3703cd0121 | 7f3847b2ca932289126bab5af8454eef7239f048 | refs/heads/master | 2021-06-13T13:57:48.912084 | 2021-04-07T21:14:08 | 2021-04-07T21:14:08 | 186,867,233 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,087 | py | """This is the main file to run Weakly supervised supervised dictionary learning
The default data type is torch.tensor with precision float32
"""
#%%
from utils2 import *
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
opts = OPT(C=10, K0=1, K=2)
opts.init, opts.shuffle, opts.show_details = 'rand', False, True
opts.Dh, opts.D... | [
"chenhao1@umbc.edu"
] | chenhao1@umbc.edu |
3b0c1f82cde68be68ba4467960932a855a2a113c | cd4791edf703ee7cec983c2039570b2627529144 | /fall/15_login/app.py | 7c4c9c942ee562f1881cab8116b7f6217b8f8e1d | [] | no_license | bmoses00/SoftDev | 939c92b4ca0b9638e9dce7b7729fe880695e54c2 | b457e7e1a2ca2ff1a6198fad6246ec8f7188abe6 | refs/heads/master | 2020-07-23T12:55:02.251968 | 2020-04-20T22:04:05 | 2020-04-20T22:04:05 | 207,563,231 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,320 | py | # Brian Moses
# SoftDev pd 2
# k#16: Oh yes, perhaps I do
# 10/3/19
from flask import Flask, render_template, request, session, redirect, url_for, flash
import os
app = Flask(__name__)
@app.route('/')
def main():
print ('-------------------------------------------')
# print(login)
# print("---------------... | [
"bmoses00@stuy.edu"
] | bmoses00@stuy.edu |
11d67fff98cefb075e7dbd155b00d6bef217ab3f | dd1ee9195c4d7b3a09fe31c7d26a31e26a4e2725 | /laplacianFilter.py | 2e0da5d737c0351dcd2caf9bbdaf2ee0f135995f | [
"MIT"
] | permissive | krishna1401/Digital-Image-Processing | 0245175411c90055c2e5ce1b3cc221227c606cba | 47a4da4bef9d08708ac84174b0fcd0ced6a8b5e2 | refs/heads/master | 2020-07-10T06:20:16.361033 | 2019-11-06T18:32:37 | 2019-11-06T18:32:37 | 204,191,421 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,112 | py | #Perform Laplacian Filtering on a Image
import cv2
def laplacianFilteredImage(image, mask):
#Objective: Create Filtered Image by Laplacian Filter
#Input: Original Image & Laplacian Filter Mask
#Output: Resultant Image
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) #Converting Image to Gray Scale... | [
"krishna.dduc@gmail.com"
] | krishna.dduc@gmail.com |
1f041b1eff52d1d5f5e2b5a9f2ff0bb67bfcb298 | db58eeac603cf4f5ef5a50b7a07ff466a8627ad5 | /our_story/app_chat/views.py | 4b3fbe7bea7f16305660bd73f2775963a87d9600 | [] | no_license | moning02004/mybook | 4ba0f26870a4e4289452f98bbfef9d85b15610ec | fc8d35862e90af2fe8f34a76d56cda8ad7b2b485 | refs/heads/master | 2020-06-25T18:39:02.856696 | 2020-01-25T23:55:41 | 2020-01-25T23:55:41 | 187,236,130 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,929 | py | from operator import itemgetter
from django.contrib.auth.models import User
from django.db.models import Q, Sum
from django.http import HttpRequest, JsonResponse, Http404
from django.shortcuts import render, redirect
from .models import MessageBox
def index(request):
assert isinstance(request, HttpRequest)
... | [
"moning02004@naver.com"
] | moning02004@naver.com |
b4ed9c7379c08e759c855bff60427fc27ad90ca0 | e1ec811a380d624b3c3c95c88f6369248862ca52 | /matplotlib/Zadanie9.py | 2aab46e9021017e92557088607c0a3aaab3c79e8 | [] | no_license | michalj11121/Wd-155280 | ac53e138de089d9a53fc287582052ccd9ed224a2 | 7eee6bf2334c39ddf0eb93a555df40f1c241ea1a | refs/heads/master | 2022-08-21T16:27:27.506633 | 2020-05-31T17:43:01 | 2020-05-31T17:43:01 | 245,125,036 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 859 | py | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df= pd.read_csv("zamowienia.csv",header=0,delimiter=";")
group=df.groupby(['Sprzedawca']).agg({"idZamowienia":['count']})
sprzedawca=group.index.values
zamowienia=[group.values[y][0] for y in range(len(group.values))]
Explode=[0 for i in ... | [
"noreply@github.com"
] | michalj11121.noreply@github.com |
5a7260bc899debcc1c45d30948eebd5d78510a4b | da91c0cc53de46f170cc219553cfa785f3bb8868 | /search/management/commands/init_db.py | 9ffe38cc0ac6e0bcb3ef3f45010a27fc401adcfb | [] | no_license | naomie-co/OC_P11 | acded3f746d4db2a8b2d0fa647a55b9c0656cac8 | 0bf2a64a1bfcf9eac19a5a96618124fa897b4ec4 | refs/heads/main | 2022-12-28T21:49:26.879014 | 2020-10-14T15:32:44 | 2020-10-14T15:32:44 | 301,518,171 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,864 | py | """Script to initialize the platform database from the OpenFoodFacts API"""
import requests
from django.core.management.base import BaseCommand
from search.models import categorie, op_food, substitute
from search.const import CATEGORIES
class Command(BaseCommand):
"""This class aims to interact with the Openfoo... | [
"naomie.colombo@gmail.com"
] | naomie.colombo@gmail.com |
e7f98660ed5a6c6d386e1f664e87461a5ba04dc1 | 93e65e85fade65db1705bf0f8958c2d1acc01bb2 | /dataset/lsun/data.py | 3c80c655391d48bce9839bd85d549c4910cc6bb6 | [] | no_license | SunJiamei/GANExercise | 530b9db7175c6bc18367abf63fd0a42c73674883 | cfc3ce66d204a03d7d60b5bd038a0fc3cd8f82b9 | refs/heads/master | 2023-04-09T05:02:52.238289 | 2021-04-21T03:26:58 | 2021-04-21T03:26:58 | 346,563,923 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,610 | py | from __future__ import print_function
import argparse
import cv2
import lmdb
import numpy
import os
from os.path import exists, join
__author__ = 'Fisher Yu'
__email__ = 'fy@cs.princeton.edu'
__license__ = 'MIT'
def view(db_path):
print('Viewing', db_path)
print('Press ESC to exist or SPACE to advance.')
... | [
"sunjiamei.hit@gmail.com"
] | sunjiamei.hit@gmail.com |
b4cc44a8dc286587afe58cb6e7afd5a3a49ca17c | ff156385bfe5af19409baede4584035b7ab8e3b2 | /bookshelf/bookshelf_app/models.py | 73149245134db338e66982bef20cbb4ff3e0e50e | [] | no_license | Synnysyn/bookshelf | 0f998e65a7a2faad813a67e44602b26e0b1207fb | dba55a6cd6a4ea7a8f0939f883fdca29f875fba0 | refs/heads/main | 2023-04-17T21:24:25.578910 | 2021-05-10T12:14:41 | 2021-05-10T12:14:41 | 364,503,338 | 0 | 0 | null | 2021-05-10T12:14:42 | 2021-05-05T08:03:49 | null | UTF-8 | Python | false | false | 454 | py | from django.db import models
class Book(models.Model):
"""
- title - CharField
- author - CharField
- description - TextField
- added - DateTimeField (auto)
"""
title = models.CharField(max_length=64)
author = models.CharField(max_length=64)
description = models.TextField(max_leng... | [
"69205616+Synnysyn@users.noreply.github.com"
] | 69205616+Synnysyn@users.noreply.github.com |
31929afdce7a96d43eb4dceed437583f24eb902f | d5adb3d18fe551f9b021457057cf86bdef71343d | /giant/defy_advanced/year_2018.py | d29d5828bbb771af06e1e3b33e43ea251d3496f3 | [] | no_license | smopucilowski/bikegeo | 52996a085de032c0c0c9bccc26687c4ea8c4e259 | ca46743aec622ae443a6a9f674c9801c363bb783 | refs/heads/master | 2021-06-15T19:46:40.826331 | 2019-06-25T16:56:07 | 2019-09-05T06:27:23 | 107,863,308 | 9 | 2 | null | 2019-09-05T06:27:25 | 2017-10-22T12:20:43 | Python | UTF-8 | Python | false | false | 1,273 | py | sizes = ( 'xs', 's', 'm', 'ml', 'l', 'xl')
geometry = {
'seat tube length': (410, 445, 480, 515, 535, 565),
'seat tube angle': (74.5, 74, 73.5, 73, 73, 72.5),
'top tube length': (510, 530, 545, 560, 575, 595),
'head ... | [
"smopucilowski@gmail.com"
] | smopucilowski@gmail.com |
e5b83f893b2e670a76c3e80afe4f2b7a7c9ecff8 | 3637fe729395dac153f7abc3024dcc69e17f4e81 | /reference/ucmdb/discovery/nnmi_api.py | 5f1ad3f66d69e9c7f50fca6f28d7628e45ce3907 | [] | no_license | madmonkyang/cda-record | daced6846c2456f20dddce7f9720602d1583a02a | c431e809e8d0f82e1bca7e3429dd0245560b5680 | refs/heads/master | 2023-06-15T08:16:46.230569 | 2021-07-15T16:27:36 | 2021-07-15T16:27:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 59,922 | py | #!/usr/bin/env python
# coding: utf8
import re
import logger
import types
import time
import os
import ip_addr
import itertools
import nnmi_filters
import java.net
from java.lang import System, String
from com.hp.ucmdb.discovery.library.clients.recorder import ExecutionRecorderManager
import com.hp.ov.nms.sdk
fro... | [
"silentbalanceyh@126.com"
] | silentbalanceyh@126.com |
e7b44d764adac0f9bb1fcfc066db793aee0cbfb8 | 7fd67691f37471363ab2bc6c08e9d7697af3509e | /reverse_and_reverse.py | 38e90f618d86b13ece86d1a9dd230dd0a1fa93c6 | [] | no_license | dishiao/leetCode | c992a6a220ec73b907a709220a785645b1513407 | fa31c8a5ac9940e9e4e03f63520d8f16dcd5f81f | refs/heads/master | 2020-05-16T08:16:45.793223 | 2019-10-21T02:47:00 | 2019-10-21T02:47:00 | 182,903,641 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 453 | py | class Solution:
def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:
listA = []
for a in A:
#水平翻转
a = a[::-1]
#反转图片
listB = []
for b in a:
if b == 1:
b=0
elif b == 0:
... | [
"729268381@qq.com"
] | 729268381@qq.com |
39f447838bd22667f92f23482d571f4de05c5fa3 | e414ec62afaa75d187d68831df6c91919c5bad56 | /build/husky/husky_gazebo/catkin_generated/pkg.installspace.context.pc.py | 832143068bb9ca382fe6603616802306cfed0de1 | [] | no_license | mark2n/tianbao-robtech | 1458a9aca3d20adb0f62e92de271d7aa968be7da | 771cd5ad9194d30fa358e65d3609ede3b643d332 | refs/heads/master | 2021-01-19T22:07:45.969245 | 2017-05-26T09:09:38 | 2017-05-26T09:09:38 | 83,771,271 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 382 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "husky_gazebo"
PROJECT_SPACE_DIR = "/h... | [
"tianbao.zhang@yahoo.com"
] | tianbao.zhang@yahoo.com |
5a783ed4e3f6c0a37f168ca46e333d7a5b023fac | 180201955dc2a1902f17e4e38715f2e8e78fd703 | /venv/Scripts/pip-script.py | bd6c4e62d876474585c9e4df096fbec258773e9c | [] | no_license | psruti/flask_song_catalogue | 23ccad69059a99251270004469e35ab851d44e7e | dcce6ea28870d4df059717296b2829f2920837cc | refs/heads/master | 2021-06-27T12:40:44.030859 | 2019-10-30T16:27:59 | 2019-10-30T16:27:59 | 218,568,615 | 0 | 0 | null | 2021-03-20T02:05:05 | 2019-10-30T16:09:01 | Python | UTF-8 | Python | false | false | 416 | py | #!C:\Users\sruti\PycharmProjects\book_catalog\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip'
__requires__ = 'pip==10.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a... | [
"peri.sruti@gmail.com"
] | peri.sruti@gmail.com |
0acc93ad642a017f32f09919b908407abe44852a | 6629d7831ced862ca7c513cbc46ca334ce649918 | /Finance/forms.py | 8f707e6cc0883ef580e5070811fda0a97653956c | [] | no_license | HunterProgram22/KudelaCorp | 33db17091698d4d934ce7f58f0dc430bf203699f | ca6481309f5e0a530057065b7c23a960cdb10593 | refs/heads/master | 2022-12-13T19:56:02.533181 | 2019-11-25T19:43:27 | 2019-11-25T19:43:27 | 133,077,035 | 0 | 0 | null | 2022-12-03T05:42:24 | 2018-05-11T18:50:09 | HTML | UTF-8 | Python | false | false | 2,606 | py | from django import forms
from .models import MonthBal, MonthInc, TaxReturn
class MonthBalForm(forms.ModelForm):
class Meta:
model = MonthBal
fields = ('date', 'huntington_check', 'fifththird_check', 'huntington_save',
'fifththird_save', 'capone_save', 'amex_save', 'robinhood_inv... | [
"HunterProgram22@github.com"
] | HunterProgram22@github.com |
2ea442f87bc48f849933829bc5a2f5a2e0326669 | 9782f131643a9301eec546ad7281592614417b05 | /vfeedbacknet/vfeedbacknet_simple_eccv_model1.py | 711625ecf75b45a5abcf3eab2438ed80f546003f | [] | no_license | StanfordVisionSystems/vfeedbacknet | 9d5bddb74a37c1fe8f01dddf2a48ca66151bbbf9 | 55865f595ac60891c594b225baf39c0ac5609800 | refs/heads/master | 2021-01-20T06:29:35.038083 | 2018-03-12T17:42:13 | 2018-03-12T17:42:13 | 89,887,050 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 40,169 | py | import numpy as np
import tensorflow as tf
import logging
from vfeedbacknet.vfeedbacknet_convLSTM import ConvLSTMCell
from vfeedbacknet.vfeedbacknet_utilities import ModelLogger
from vfeedbacknet.vfeedbacknet_base import VFeedbackNetBase
#from vfeedbacknet.vfeedbacknet_fb_base1 import Model as VFeedbackNetFBBase
cla... | [
"emmons.john@gmail.com"
] | emmons.john@gmail.com |
656400a9a3c0238586b3bc67900a8c9c266c3cfb | 5891051796778cfb44a255248ce38789bfef9e70 | /DjangoLearn/bgfaith/urls.py | 2fae220197d9f146c5fbb61d9e5154182b10d282 | [] | no_license | Faithlmy/Python_base | cc546a5d86b123e102a69df1227cde9b6e567493 | 5a43557e6375dc9dbe5f6701d7c10e549873a5ab | refs/heads/master | 2021-01-01T17:07:04.097978 | 2018-03-31T16:44:01 | 2018-03-31T16:44:01 | 98,000,621 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 856 | py | """bgfaith URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-bas... | [
"lmengyy@126.com"
] | lmengyy@126.com |
4fbda2699b9145b694ef3f7a10590380ae779cad | f3b233e5053e28fa95c549017bd75a30456eb50c | /mcl1_input/L54/54-23_MD_NVT_rerun/set_4.py | 5cd6d8796cee46fdf49e2b9f80b0d39eff8896aa | [] | no_license | AnguseZhang/Input_TI | ddf2ed40ff1c0aa24eea3275b83d4d405b50b820 | 50ada0833890be9e261c967d00948f998313cb60 | refs/heads/master | 2021-05-25T15:02:38.858785 | 2020-02-18T16:57:04 | 2020-02-18T16:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 740 | py | import os
dir = '/mnt/scratch/songlin3/run/mcl1/L54/MD_NVT_rerun/ti_one-step/54_23/'
filesdir = dir + 'files/'
temp_prodin = filesdir + 'temp_prod_4.in'
temp_pbs = filesdir + 'temp_4.pbs'
lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078]
for j in lam... | [
"songlin3@msu.edu"
] | songlin3@msu.edu |
854a9ef00d9b3d18ea058a44ef58c188666c6094 | 9e110e4ab763ad3f93fa531949fc9696885f8f2c | /interface_graphique.py | 4276599d24630505ae7607b9dbc44cdb1a204e94 | [] | no_license | psychoumayma/calcul_mental | 72a714159a96997ba2f492e7b58eaf38a24b6412 | f72b022614282fb8cfc315877e970847ec3d47ff | refs/heads/master | 2021-01-25T04:26:47.877248 | 2017-06-05T21:21:48 | 2017-06-05T21:21:48 | 93,444,302 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,440 | py | from tkinter import*
from random import randint
from random import choice
import jeu
fenetre = Tk()
FRAME=Frame(fenetre, width=100, height =50).place(x=700,y=400)
LABEL=Label(FRAME, text='', font = 'Papyrus 20 bold', fg="blue")
BRAVO=Label(FRAME, text='', font = 'Papyrus 20 bold', fg="green")
DOMMAGE=Label(... | [
"oumaymadraoui@MacBook-Air-de-Oumayma.local"
] | oumaymadraoui@MacBook-Air-de-Oumayma.local |
3c1d722e1c738d4f343a7ee14495e90cd1acee39 | 453507707e8beb5d06a1338ac126ca7ef7f9cf35 | /dns_resolver/my_dns_script.py | 1675e619bfba992f635488142a76d0cadaab92af | [] | no_license | singhshivam55/Projects | 4406a51c0d7d1ce3c8fb84a637d8657460c1eaa1 | 252ff70a8abb58191307e8c2a7e9aa13562309b3 | refs/heads/main | 2023-01-07T22:44:17.297302 | 2020-11-10T09:42:35 | 2020-11-10T09:42:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,403 | py | import json
import dns.resolver
class Dns_resolver:
def __init__(self):
pass
def get_records(self, domain):
record_types = [
'A',
'AAAA',
'ALIAS',
'NS',
'CNAME',
'SOA',
'MX',
'TXT',
'... | [
"tshubham97@users.noreply.github.com"
] | tshubham97@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.