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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38c2bb45e74f0784bbc9558b5007e2f167e34598 | 6f984aeb6184828ed2dde2ad5eca838548f28fc6 | /chapter-1/WeightedQuickUnionUF.py | 6930a43dbc9833f08e33fdcbc29bf9149ab10c2d | [] | no_license | shortdistance/algorithms | 5013493f870257cb7b9b743a15160d79831b117e | 69bae724b8eecd50f1efc019ad905e0cae496c6d | refs/heads/master | 2021-01-20T01:33:30.122508 | 2016-09-29T03:18:03 | 2016-09-29T03:18:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,845 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Weighted quick-union.
Rather than arbitrarily connecting the second tree to thefirst for union() in
the quick-union algorithm, we keep track of the size ofeach tree and always
connect the smaller tree to the larger.
加权快速连通。
与其在 union() 中随意将一棵树连接到另一棵树,我们现在会记录每一棵树的大小并总是
将较小的树... | [
"stevenyuysy@gmail.com"
] | stevenyuysy@gmail.com |
8bb5caf667c7890e21dab3281688508aae204174 | 4992a176c6b6c8673d394b2cc4a7ff386911c3a7 | /config.py | 27c09f0a050614a79bd3cf80a4314c3b23af36d8 | [
"MIT"
] | permissive | leeyegy/pytorch-deeplab-xception | 7afcc0d80b4c55ba57fb8c69eb735847b5f8832f | 16ef5d6aee03c859fb1422e22a1237384f599a39 | refs/heads/master | 2022-11-17T17:17:19.258188 | 2020-07-22T11:55:27 | 2020-07-22T11:55:27 | 260,111,806 | 0 | 0 | MIT | 2020-04-30T04:17:32 | 2020-04-30T04:17:32 | null | UTF-8 | Python | false | false | 4,880 | py | import argparse
import torch
parser = argparse.ArgumentParser(description="PyTorch DeeplabV3Plus Training")
parser.add_argument('--backbone', type=str, default='resnet',
choices=['resnet', 'xception', 'drn', 'mobilenet'],
help='backbone name (default: resnet)')
parser.ad... | [
"leeyegy@gmail.com"
] | leeyegy@gmail.com |
5f1221ab597a6d42074e6bd8b37d2b3dd65d5255 | e591159d284a7936c0e0a907f78bee26a738ed97 | /app.py | 6511601531835720146def1c5e106540a07145b7 | [] | no_license | mmagliar/RU-Bootcamp-Portfolio | 6dc72e905b96f92426ad61107179028da116f0de | 2d3c3ad32bd28b932eb163f54dd692321243e102 | refs/heads/master | 2023-05-11T19:17:14.827848 | 2019-08-06T23:49:38 | 2019-08-06T23:49:38 | 200,939,023 | 0 | 0 | null | 2023-05-01T20:35:57 | 2019-08-06T23:45:14 | HTML | UTF-8 | Python | false | false | 3,157 | py | from flask import Flask, render_template, request
import os, pickle
app = Flask(__name__)
# Define routes
@app.route("/", methods=['GET','POST'])
def home():
if request.method == 'POST':
atmResult = {}
stmResult = {}
utmResult = {}
userHouse = request.form.to_dict(flat=False)
... | [
"mmagliar@its.jnj.com"
] | mmagliar@its.jnj.com |
3367b91254064e1d9ff55c69a353df7322f5c35b | c67f1d100cc7c90ace6c4198e7d396c94d7a3715 | /poolExtractor.py | afae7ae1861085512a1ca152bc1f8ab8e63ef16c | [] | no_license | PresentJay/Keycloak-Json-beautifier | 38bd707807d8793b39b98cc3fffefbc368baa80b | 9b62878d113f7eef16fa4e85ff09c1333b2f97a1 | refs/heads/master | 2023-04-18T01:56:09.433999 | 2021-05-10T09:09:37 | 2021-05-10T09:09:37 | 365,981,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,274 | py | import json
def pool_extract(data, root='start', depth=0):
trial = 0
if root == 'start':
print('\npool method')
else:
print(f'\t(from {root} . . .)')
for key, value in data.items():
if value is None:
continue
trial = trial + 1
for i in range(dept... | [
"presentj94@gmail.com"
] | presentj94@gmail.com |
3b5bde336ae6ac771ed88f6b907461d6a04c985e | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/model_control/detailed/transf_None/model_control_one_enabled_None_PolyTrend_Seasonal_Minute_SVR.py | b94b04b02eb82af2145a135b891dcbecd553efe3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 158 | py | import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod
testmod.build_model( ['None'] , ['PolyTrend'] , ['Seasonal_Minute'] , ['SVR'] ); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
f9d277721b730c465688cc7ca2efe3a9e9e13b7d | 1fec7bb530f57c2ec6da171da4cb1cbe65129c25 | /blog/admin.py | f3a3951e278c8554ddd4a602643d552f051ffbab | [] | no_license | JiphoTheJuppis/DjangoBlog | 99664b07f44ee2be2200e31d497715d39226eb39 | 699ba45b51196f4b8723eed58a4ec81410eada85 | refs/heads/main | 2023-03-03T00:53:19.319459 | 2021-02-04T11:19:12 | 2021-02-04T11:19:12 | 315,292,670 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 680 | py | from django.contrib import admin
from .models import Post, Comment
class PostAdmin(admin.ModelAdmin):
list_display = ('title', 'slug', 'status', 'created_on')
list_filter = ('status', 'created_on')
search_fields = ['title', 'content']
prepopulated_fields = {'slug': ('title',)}
@admin.register(Commen... | [
"jphuhti90@gmail.com"
] | jphuhti90@gmail.com |
1fbd226afe501f4c6f6b2bbffc7d4456866a723a | 53f35793bf1b7145559ba6bee1a2759b9f2219d4 | /jump7.py | a222246a78ffc5b73a51388509aa94ae8ea492e6 | [] | no_license | 707916150/test | 212ca871962ca78908e9503b0d0cb10a3356b23e | f1626f70d861fe3bcb9d899d785b780f22f87fe3 | refs/heads/master | 2022-06-21T02:16:41.552349 | 2020-05-14T15:59:39 | 2020-05-14T15:59:39 | 263,955,631 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 89 | py | for i in range(1,101):
if i%7==0 or i%10==7 or i // 10==7:
continue
else:
print(i)
| [
"707916150@qq.com"
] | 707916150@qq.com |
8a1b547562771e53e5dff0bff248f9dba5126cbb | 9ff53d4f5290141d3b7b3a59f6c6e9e124bcb86d | /venv/Lib/site-packages/openpyxl/utils/datetime.py | 1f5b9210c3e3ebb59307407c941baa33e4c7f51f | [
"MIT"
] | permissive | CoGhent/fetchfilesizes | a064077f06aeae403bf3a2e5d75caa15b2432307 | 1e28ec97dd22743028dac538a7fc1e064e394f67 | refs/heads/master | 2023-07-10T13:37:17.152540 | 2021-08-11T13:12:22 | 2021-08-11T13:12:22 | 381,747,277 | 0 | 2 | MIT | 2021-08-06T14:48:39 | 2021-06-30T15:23:45 | Python | UTF-8 | Python | false | false | 4,750 | py | from __future__ import division
# Copyright (c) 2010-2021 openpyxl
"""Manage Excel date weirdness."""
# Python stdlib imports
import datetime
from datetime import timedelta, timezone
from math import isnan
import re
# constants
MAC_EPOCH = datetime.datetime(1904, 1, 1)
WINDOWS_EPOCH = datetime.datetime(1899, 12, 30... | [
"Flore.Verkest@stad.gent"
] | Flore.Verkest@stad.gent |
7454e57e3dd163ffa813ae98831621c6c1289672 | 1ca25c63956602043241460b3b829194995e9c63 | /app/__init__.py | 51719d2b17ad42c91b00c14f5e64922e69999532 | [] | no_license | ziedbouf/flask-prometheus-demo | 0599e237552eb5ee691ec1a01c35389061195581 | e5f75d3963aaac03f5367d3641caf83ae73243b5 | refs/heads/master | 2022-09-23T16:23:15.013402 | 2021-07-27T10:15:56 | 2021-07-27T10:15:56 | 211,046,807 | 0 | 0 | null | 2022-09-16T18:10:05 | 2019-09-26T09:05:16 | Python | UTF-8 | Python | false | false | 1,248 | py | import os
from flask import Blueprint, Response,request
from prometheus_client import CONTENT_TYPE_LATEST, generate_latest
from flask_restplus import Api, Namespace, Resource
from .main.controller.user_controller import api as user_ns
from .main.controller.auth_controller import api as auth_ns
from prometheus_flask_ex... | [
"zied.boufaden@gmail.com"
] | zied.boufaden@gmail.com |
bcea3e3314d20a833c24b4fe9a78f25f69dcf8b0 | 13625dd7375297b066ccd69d6c229e9a1535c9b2 | /wallet/migrations/0009_wallet_wallet_id.py | d1274ff1a241f1b550183569dc0ab85b98cc4095 | [] | no_license | rajman01/investfy | 9d5fa3ed7593ec13db575016fc839664630318af | a4c8bf16ba7a1ce38d1370e4779284a4d6426733 | refs/heads/main | 2023-09-01T19:10:18.411861 | 2023-08-28T02:30:23 | 2023-08-28T02:30:23 | 320,408,218 | 0 | 1 | null | 2023-08-28T02:30:24 | 2020-12-10T22:46:03 | null | UTF-8 | Python | false | false | 409 | py | # Generated by Django 3.1.3 on 2020-12-20 22:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wallet', '0008_savingtransaction'),
]
operations = [
migrations.AddField(
model_name='wallet',
name='wallet_id',
... | [
"alameenraji31@gmail.com"
] | alameenraji31@gmail.com |
de8b97999e49669b086bc22d87616886b45d84b4 | f29c56cb709fa26b38499ff85890efa3fe936d51 | /while_odd_till_Half_n_iteration.py | bf18f3b3b65fd5e991894058263ca0405495a787 | [] | no_license | manishrana93/python_trg | ea016bb7bb80bc81b79ce158b0b9d801372fd279 | 50e9ad86e32ad2e7ffb4334eef4b4f3997f6376c | refs/heads/main | 2023-04-06T03:11:26.711133 | 2021-04-15T09:55:04 | 2021-04-15T09:55:04 | 355,856,539 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 95 | py | n = int(input("Enter n:"))
i = 1
while (i<=n//2+1):
if (i%2==1):
print(i)
i=i+1 | [
"manish93.rana@gmail.com"
] | manish93.rana@gmail.com |
2509732464947c4b57444b200c29aff64163c048 | 16e22166b88bcc8f73b1774ad491f559c459e2df | /tictactoe.py | f44747a4ead4cf46f09e81527bb6ead23b68a486 | [] | no_license | NovusPrograms/JetBrains_Academy_Projects | 5d1d43d913b05aff08ddcf34f4e1c5749e96613b | 203e6d197f98dc24ec8578dfb3699498eec9230d | refs/heads/master | 2022-12-03T07:07:47.977809 | 2020-08-22T18:38:28 | 2020-08-22T18:38:28 | 270,965,389 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,005 | py | def make_matrix(game_status):
matrix = [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
for i in range(3):
for j in range(3):
matrix[i][j] = game_status[j + 3 * i]
return matrix
def is_player_win(matrix, player):
if matrix[0][0] == matrix[1][1] == matrix[2][2] == player:
return ... | [
"noreply@github.com"
] | NovusPrograms.noreply@github.com |
38a3f4b2c4b561700debcdf5586644b18dfdd979 | 36ed9da3183235d4f36aecac2482d4a8f55ca779 | /RS07/word2vec/RS07-word-similarity.py | 491f676fc234ad5a6f21a6896e8fbb9267737077 | [] | no_license | 1011365119/RS | ee32b1ad6d1d861da18f173f076206a945fc376b | 02bece1e0ba3cf6683e3c246d2b86e2710158684 | refs/heads/master | 2023-08-17T20:12:13.464973 | 2021-10-19T15:24:48 | 2021-10-19T15:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,199 | py | # !/usr/bin/env python
# !/usr/bin/env python
# -*- coding=utf-8 -*-
# Content:将Word转换成Vec,然后计算相似度
# Author: HuiHui
# Date: 2020-03-11
# Reference:
from gensim.models import word2vec
import multiprocessing
# 如果目录中有多个文件,可以使用PathLineSentences
segment_folder = './segment'
sentences = word2vec.PathLineSe... | [
"1010959447@qq.com"
] | 1010959447@qq.com |
c9c52670e588b6040e0ad0e2d454dca327951fff | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/catapult/dashboard/dashboard/email_summary.py | 99e3b5f74e2c2f9789f30bf88f13b61a838e1759 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | Python | false | false | 3,883 | py | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Send alert summary emails to sheriffs on duty."""
import datetime
import sys
from google.appengine.api import mail
from dashboard import email_template... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
f2981de7c07d5ac5a75773d97d61156c5735f892 | f6474a92c287861424ba6238a6198fbef809e7b7 | /setup.py | ba5744ac15622402ba4e229a184b32fa4f9641c1 | [] | no_license | madumalt/ANN-Coursework-Assignments | 8b6b2988bb6ffd7129a7e75dbc01e03e166d26b6 | db44a741b1cff136867a1cc277e7a274cd107930 | refs/heads/master | 2020-04-03T01:46:01.012400 | 2018-10-27T07:46:10 | 2018-10-27T07:46:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 331 | py | from setuptools import setup, find_packages
setup(
name='ANN',
version='0.0.1',
packages=find_packages(),
license='MIT',
author='thilinamad',
author_email='madumalt@gamil.com',
description='Project for ANN module',
install_requires=['pandas', 'scikit-learn', 'keras', 'numpy'],
zip_s... | [
"madumalt@gmail.com"
] | madumalt@gmail.com |
694389398a01fbe59f5d0186f59a8ad0de06dba7 | a8c5b3de3022ea85f7ab51a4509ce04c0d261c20 | /parte_2/Context/create_order_context.py | 205ffadeed79349c202b6974d2befca95f58a010 | [
"MIT"
] | permissive | jonasrla/desafio_youse | 6ef00baf67a8fa0374bcdafa0ebe25898f469a18 | a9f858e6af4dc26e9d6068f5028bd6cecd334955 | refs/heads/master | 2022-12-12T13:50:14.070039 | 2020-09-09T02:32:09 | 2020-09-09T02:32:09 | 293,125,817 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,265 | py | from pyspark.sql.functions import from_unixtime
from .base_context import BaseContext
class CreateOrderContext(BaseContext):
def __init__(self, file_path):
self.app_name = 'Process Create Order'
super().__init__(file_path)
def process(self):
df_client, df_order = self.transformation()... | [
"jonasrla@gmail.com"
] | jonasrla@gmail.com |
de43989cb4a518d5a147cb7095d5c6ecece9e584 | 5a664d498959af3eab9c1af43010d5fdf9c239da | /tests/distributions/test_util.py | 4820c9da0284358c03cfd59f2a3b8da93a3b3966 | [
"MIT"
] | permissive | darthsuogles/pyro | 4d6aaab2ad3cd7b0f7f8e0095a1b344c249543be | d1e6ba143314924aa949bdd6b72b3d62be0e6476 | refs/heads/dev | 2021-08-23T07:45:55.122199 | 2017-12-02T00:23:55 | 2017-12-02T00:23:55 | 109,544,037 | 0 | 0 | null | 2017-11-05T01:52:45 | 2017-11-05T01:52:45 | null | UTF-8 | Python | false | false | 1,644 | py | from __future__ import absolute_import, division, print_function
import numpy as np
import pytest
from pyro.distributions.util import broadcast_shape
@pytest.mark.parametrize('shapes', [
([],),
([1],),
([2],),
([], []),
([], [1]),
([], [2]),
([1], []),
([2], []),
([1], [2]),
... | [
"prad.neeraj@gmail.com"
] | prad.neeraj@gmail.com |
413c5bf1cb3c7eac25145c4e05e6234c9a517689 | 0fc5294a60e11c8d6a0f2d6253c7d03cec7bb338 | /solutions/797. All Paths From Source to Target.py | f0a239554b3d645d53678023c5bbec9e07ca75f9 | [] | no_license | NiteshTyagi/leetcode | 4011f37adbd9e430f23b7796ba8d8aa488153706 | dddb90daafcd7f4623873d5d84dfd97925c0230f | refs/heads/main | 2023-04-23T23:50:04.722456 | 2021-05-05T06:58:47 | 2021-05-05T06:58:47 | 328,474,411 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,039 | py | class Solution:
def allPathsSourceTarget(self, graph: List[List[int]]) -> List[List[int]]:
final_result = []
size = len(graph)
for i in graph[0]:
path = [0,i]
adj_list = [[path.copy(),j] for j in graph[i]]
if not adj_list:
final_result.appe... | [
"33661780+NiteshTyagi@users.noreply.github.com"
] | 33661780+NiteshTyagi@users.noreply.github.com |
51eef664fbd5b709cc22d3cc459e2e826fd595bf | d780df6e068ab8a0f8007acb68bc88554a9d5b50 | /python/g1/files/g1/files/caches.py | 1e1355d45030ee4adb108363b45437543610b5cb | [
"MIT"
] | permissive | clchiou/garage | ed3d314ceea487b46568c14b51e96b990a50ed6f | 1d72863d3a5f5d620b170f4dd36f605e6b72054f | refs/heads/master | 2023-08-27T13:57:14.498182 | 2023-08-15T07:09:57 | 2023-08-15T19:53:52 | 32,647,497 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,817 | py | __all__ = [
'Cache',
'NULL_CACHE',
]
import collections
import contextlib
import dataclasses
import hashlib
import io
import logging
import os
import random
import shutil
import tempfile
import threading
from pathlib import Path
import g1.files
from g1.bases import collections as g1_collections
from g1.bases ... | [
"clchiou@gmail.com"
] | clchiou@gmail.com |
f47925b66babaa146db08d50993839a647c96fa6 | 24bfc47c6c76e80efe6f7c781a63e75dbb69f899 | /ilexiusapp/models.py | c619771ecab23ada79d5742038b600e33c584722 | [] | no_license | kovacevicu/IlexiusCodingTask | 4166216d71a6d961321e0d04ab39739cb2210ce6 | a1d0cd358a8ca704fc17daf4612576c94ae3b8ce | refs/heads/master | 2023-02-07T08:44:07.967850 | 2020-12-24T13:57:58 | 2020-12-24T13:57:58 | 324,168,772 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 291 | py | from django.db import models
from django.contrib.auth.models import User
class UserProfile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
employee_id = models.CharField(max_length=254, blank=True)
login_count = models.PositiveIntegerField(default=0)
| [
"uroos97@gmail.com"
] | uroos97@gmail.com |
045ba6a4c5578c176807f829f312e53c55451857 | 17ad8b4629460b7bed78ff923b0c8261320c21e0 | /simplesocial/groups/migrations/0001_initial.py | 2b5c6d0b6f18838cde385f9ccde7bcfe591bf975 | [] | no_license | afeets/django_blog_project | 7276f792e6f2cec20907db4a028346a00dfa02f8 | 600c1532f3966877d7769e2d645cbf545747da2a | refs/heads/master | 2022-04-25T21:34:00.983933 | 2020-05-02T10:44:23 | 2020-05-02T10:44:23 | 260,115,182 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,759 | py | # Generated by Django 3.0.3 on 2020-05-02 09:29
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | [
"andyfeetenby@gmail.com"
] | andyfeetenby@gmail.com |
30da94580b92fbb6f0e740efe9ac24a4335a9ada | 4a46adddbd8ff04e8f62fbaf73553e40456aa699 | /python_src/stackframe.py | 1bd7617ef40f73f6b1aa66b6b82c7dc1e92c72f3 | [] | no_license | kmerrill27/thesis | 0994d2795b06576fefe1103971222c5c4e982712 | 55ef3f0dcf53a8feab32bde4068ba6f0bbac2e1a | refs/heads/master | 2021-01-15T19:28:23.726591 | 2014-04-01T02:07:18 | 2014-04-01T02:07:18 | 17,692,748 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 7,309 | py | from arch import *
from defs import *
from widgetwrapper import *
class StackFrame:
""" Representation of a stack frame """
def __init__(self, title, architecture, frame_ptr, stack_ptr, bottom, line, assembly):
self.title = title # Function name
self.architecture = architecture
self.frame_ptr = frame_ptr
se... | [
"kmerrill27@gmail.com"
] | kmerrill27@gmail.com |
5738b6662c0ed99be5f2c01311a8d7ff2c983902 | 6e19e67ef89ee76f3df848110f82e1c8d02a5569 | /apps/receitas/migrations/0005_auto_20210103_1251.py | 7265c45430055899ae6e2cae067f85444da82e20 | [] | no_license | Joaopedromata/django-receitas-alura | 3dce526adafb949bedf7c837b76a5b6dc534ba4b | 3dcb978bce5096f183adc0ece6800d16dae1f91a | refs/heads/master | 2023-02-13T02:46:15.347589 | 2021-01-04T01:15:53 | 2021-01-04T01:15:53 | 326,529,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 583 | py | # Generated by Django 3.1.4 on 2021-01-03 15:51
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('receitas', '0004_receita... | [
"joaopmata182@gmail.com"
] | joaopmata182@gmail.com |
30fb735a9eb6e13b3bea34b9baf2934a4a85bd8f | 56e33c6d5560fa6cb34133f4c1f9e6beff9b6d98 | /tongueTwisters.py | 4373eacd934d2c7c1abe47105d90c98e22d53a5a | [] | no_license | arellaEG/FF_task | b92d81b878142affc95a0bb1603dc18cdf0fb4b2 | a8bf8563b44425a36d038cb450ec85bfa8b44d22 | refs/heads/master | 2020-03-29T07:59:36.600197 | 2019-04-10T18:30:01 | 2019-04-10T18:30:01 | 149,689,313 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,177 | py | ###################################
########fill in subject ID #######
subject =''
###################################
###################################
# presents four word from TT trial, one under the other, for participants to read
# little blue dot on the left serves as pacer - marking which word should
# be s... | [
"noreply@github.com"
] | arellaEG.noreply@github.com |
f63ee1caa12511f2fa9f55c8264c8e31a31988b8 | a66faa3e7b981b9126557c4b5994fbd9d76777c6 | /Example Savings Accounts in Bank.py | 55b9d4524dabfd9d803c35bf0d2a3970aacea3db | [] | no_license | trongdeptrai21/b-i-t-p-chapter-9 | bfc8b053396c09064fa87be5de9186f1df8b4304 | 40fc194bd26af3921883577776feb79ab519fa2d | refs/heads/main | 2023-08-29T21:35:33.427437 | 2021-11-02T11:43:45 | 2021-11-02T11:43:45 | 423,042,090 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,233 | py | """
Author: Le Trong
Date: 30/10/21
File: savingsaccount.py
This module defines the SavingsAccount class.
"""
class SavingsAccount(object):
"""This class represents a savings account
with the owner's name, PIN, and balance."""
RATE = 0.02 # Single rate for all accounts
def __init__(s... | [
"noreply@github.com"
] | trongdeptrai21.noreply@github.com |
4afe586e461a753dc3699f4cf8b1439afc93c45f | ef74152018a5d0e16c8f30c53b64ed809f4e8113 | /pygame_ping_pong.py | 219641a49685275002186178f4113a2bfff3706a | [] | no_license | abelyakoff/python-ping-pong | 43effef6fb3b91b95d991698b0e89783d0d7e7eb | 93cb668c92ae36eca1ddd6907599bca4d1c069b5 | refs/heads/main | 2023-04-06T05:18:32.256730 | 2021-04-12T09:05:32 | 2021-04-12T09:05:32 | 357,127,184 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,426 | py | # Ping-Pong
# By Alexander Belyakov, alexander.belyakov@gmail.com
import pygame, random, sys
from pygame.locals import *
FPS = 30
WINDOWWIDTH = 640
WINDOWHEIGHT = 480
PADDLEWIDTH = 10
PADDLEHEIGHT = 60
BALLSIZE = 10
MISSILESIZE = 10
NETHEIGHT = WINDOWHEIGHT
NETWIDTH = 10
PADDLESPEED = 5
MISSILESPEED = 10
VICTORYGOAL... | [
"agnostyx@mail.ru"
] | agnostyx@mail.ru |
20f7641bd7b51f3a84fc5532be73c1e339797206 | f39528e9bad8cfa78b38fcbb7a5b430ac0c7a942 | /Heavy_Neutrino/test2/HeavyNeutrino_trilepton_M-1_V-0.212367605816_e_massiveAndCKM_LO.py | 997415941cd6fce0c48dc4a8fc8f8f7aeb7fd610 | [] | no_license | isildakbora/EXO-MC-REQUESTS | c0e3eb3a49b516476d37aa464c47304df14bed1e | 8771e32bbec079de787f7e5f11407e9e7ebe35d8 | refs/heads/master | 2021-04-12T11:11:03.982564 | 2019-04-29T15:12:34 | 2019-04-29T15:12:34 | 126,622,752 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,334 | py | import FWCore.ParameterSet.Config as cms
externalLHEProducer = cms.EDProducer("ExternalLHEProducer",
args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/slc6_amd64_gcc481/13TeV/madgraph/V5_2.4.2/exo_heavyNeutrino/displaced_2017/v1/HeavyNeutrino_trilepton_M-1_V-0.212367605816_e_massiveAndCKM_LO_slc6_amd... | [
"bora.isildak@cern.ch"
] | bora.isildak@cern.ch |
5327b337520db1598892321e98f500d4cb28f8a7 | 46880f89491164035a3c236e714e0d14ab76dd10 | /sendingemail.py | e71739ec5bffa15286729680a28330a01eca5da2 | [] | no_license | Namansaraswat7/Raspberry-pi-projects | 6a16f2586b937fed3f17cb3e46d4d996132ca9a0 | 881510a72c5ae40757385be70418ed247503e33f | refs/heads/master | 2020-03-20T04:26:48.778931 | 2018-06-13T11:05:42 | 2018-06-13T11:05:42 | 137,183,045 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 264 | py | import smtplib
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login("yr email id", "yr password")
msg = "hello user ,this mail send to you using python!"
server.sendmail("sender email id", "receiver email id",msg)
server.quit()
| [
"noreply@github.com"
] | Namansaraswat7.noreply@github.com |
28aec89ef145bd2b44e42597ab1610f90746b67a | 90cef34f7f3159fe9a547ceaac6f13a2f9442df7 | /dockPlat/Platform/admin.py | dbc427f1b5d4ec4a570c382870a95ee4fb3c34df | [] | no_license | gunkiratk/SA-Docker | bf76540b5dc9b9ea6bea45b49754dab5eb450706 | 650c2100dc4c5d8e015b803cece8b31c62f4a6d9 | refs/heads/master | 2021-06-12T10:47:33.462938 | 2016-11-28T18:58:05 | 2016-11-28T18:58:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 95 | py | from django.contrib import admin
from .models import Container
admin.site.register(Container) | [
"kushagra15049@iiitd.ac.in"
] | kushagra15049@iiitd.ac.in |
c894c3fd43449cd06c5cd1e09b145d312fcf2112 | 2b030cb44b0537b1b34de6951656d612edb4a22c | /site_packages/BNL/c4.py | f1053e0f2cfac5a437cbed907d359b2c25ca3b24 | [
"BSD-3-Clause"
] | permissive | alhajri/FUDGE | 2c389912addc28ddde51cf7ba455164e47574c89 | 9566131c37b45fc37f5f8ad07903264864575b6e | refs/heads/master | 2021-08-31T20:39:25.834146 | 2017-12-22T19:50:56 | 2017-12-22T19:50:56 | 115,145,816 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 29,906 | py | from collections import namedtuple
import unittest, copy
# ------------------------------------------------
# Simple C4 containers
# ------------------------------------------------
C4Point = namedtuple( 'C4Point', 'projectile target targetMetastableState MF MT productMetastableState status cmFlag energy dEnergy da... | [
"alhajri@eofe7.cm.cluster"
] | alhajri@eofe7.cm.cluster |
8fa5b2def82417e05b7c1c0b0f5562e8fedaa21c | ba0f0c869b5d60242b07796659f355e869eb36c1 | /makename.py | 968ec129e183897a32b7a5e46e94c1038ba95d90 | [] | no_license | btubbs/benadryl-cuttlefish | 2dfef3a6f207710896d3d01ca7166b7fac5e3da6 | e5abaa38fa50e7a595d7a3bd99149bfafec93124 | refs/heads/master | 2020-06-23T09:42:51.902536 | 2016-11-24T16:42:08 | 2016-11-24T16:42:08 | 74,656,623 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 512 | py | import random
import sys
seed = sys.argv[1] if len(sys.argv) > 1 else ''
with open('BENEDICT.txt') as f:
if seed:
lines = f.readlines()
benedict = lines[hash(seed) % len(lines)].strip()
else:
benedict = random.choice(f.readlines()).strip()
with open('CUMBERBATCH.txt') as f:
if see... | [
"brent.tubbs@gmail.com"
] | brent.tubbs@gmail.com |
9f613532098036136a4e75d1586b8c91b7da8229 | c40b6d7ad46246a06d2491afdb469fbb2426dcfe | /read_frames_slow.py | a0e2a3e45c496e89367cb24bae1010f0ebc42ed7 | [] | no_license | JasperEbus/ODK_Test_omgeving | 3885146577858b806fe7e195352cfb55151f1eb4 | 2ec35ed7a3243b27e0743b952d5bf164d00ec55c | refs/heads/master | 2023-05-31T17:05:23.508656 | 2021-06-10T10:09:19 | 2021-06-10T10:09:19 | 347,057,063 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,716 | py | ###############################################################
'''test scipts for reading frames of a video on a slow rate '''
###############################################################
# USAGE
# python read_frames_slow.py --video videos/jurassic_park_intro.mp4
# import the necessary packages
from imutils.vide... | [
"j.j.h.ebus@gmail.com"
] | j.j.h.ebus@gmail.com |
ab20f84ddbdde43c14c5377af45410a454eee913 | 288e92cf5e69bac400e4d779d7a2a6c21c5b3453 | /richard_blog/apps.py | da03d9ce02c5fcd6caa36e39ffbaebbc890d4587 | [] | no_license | richawadaskar/Django_girls_tutorial | 72516ba6e553f4f95c57dc380566c635f6a64eee | d3ae3cb17739546c7e69e7eccdb9e0999f9fe671 | refs/heads/master | 2021-01-21T08:08:18.379400 | 2017-08-31T03:42:43 | 2017-08-31T03:42:43 | 101,953,881 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 98 | py | from django.apps import AppConfig
class RichardBlogConfig(AppConfig):
name = 'richard_blog'
| [
"rwadaskar@169-231-167-118.wireless.ucsb.edu"
] | rwadaskar@169-231-167-118.wireless.ucsb.edu |
a80455e02b47895202544e7370c65e58233944db | b29ab41dbe3762b45a12ac476889928c2de57add | /backend/testing_app_19538/settings.py | 013f8fa61b96c558a3c80ea4d34846e2d3b22f7c | [] | no_license | crowdbotics-apps/testing-app-19538 | 9c57756e41dbc313055ceb3b92ee2af84081055e | 91c476cadbd5683f3fa04555fd8432f7e6ab2c13 | refs/heads/master | 2022-12-04T01:27:32.450055 | 2020-08-13T15:22:04 | 2020-08-13T15:22:04 | 287,311,186 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,907 | py | """
Django settings for testing_app_19538 project.
Generated by 'django-admin startproject' using Django 2.2.2.
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/
"""
im... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
2b740de3bd87db1cfd3c33d62bbe98e82f1dc858 | 9d0945e72217094b054349282f9e0a020a2213eb | /src/study/powerset.py | 6fe0c936d8dc74a74674df1e484c4597a54c5aad | [] | no_license | dineshbalachandran/mypython | c66e68b25f450907f78518ee9ebf2cafbeece7c4 | b8304b2b8f7fc6644706656643233dbfed9003f5 | refs/heads/master | 2022-08-10T22:56:31.422465 | 2022-07-30T11:40:03 | 2022-07-30T11:40:03 | 100,846,910 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 733 | py | '''
Created on 22 Apr. 2018
@author: DINESHKB
'''
def getBinaryRep(n, numdigits):
result = ''
while n > 0:
result = str(n%2) + result
n = n//2
if len(result) > numdigits:
raise ValueError('not enough digits')
for _ in range(numdigits - len(result)):
result... | [
"'dinesh_k_b@hotmail.com'"
] | 'dinesh_k_b@hotmail.com' |
5bb89e6cf29ba3714ec5f135922c7450189edc0b | aea5a2b175f89ccf7b09caff723ed38d12ab1bb0 | /apps/courses/migrations/0004_course_category.py | 12ce432a34dd642fc0c1adf99ebb6d84fe9a31e2 | [] | no_license | ridcyq1739/mxonline | d02de07bfb86d3395dd544e19d9d3f92df3c477a | 7b45d0a3eefbdcd27897cae741cef89334911857 | refs/heads/master | 2020-03-24T04:04:26.260838 | 2018-07-27T17:14:53 | 2018-07-27T17:14:53 | 142,443,240 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 526 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2018-07-08 20:52
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('courses', '0003_course_course_org'),
]
operations = [
migrations.AddField(
... | [
"ridcyq@gmail.com"
] | ridcyq@gmail.com |
2767712dda6453a0acfda995d59c03411567e10d | 85c72fb410f302142b96ff741ce6d5dd8a6ed718 | /unify_data.py | b1fb0b10117cd4c345f3c633fd7b13d05413e492 | [] | no_license | gangeshwark/CommonSense_QA | f73b1dea1ec7402c22382a5074c7f3ef2579e47d | 17089a78bcc4ffa3f3b6a59a35eabe369dc64502 | refs/heads/master | 2021-03-19T15:25:05.830346 | 2017-11-20T23:55:03 | 2017-11-20T23:55:19 | 110,533,914 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,943 | py | from pprint import pprint
import pandas as pd
import os
import xml.etree.ElementTree
import io, json
base_data_path = 'KB/'
all_scripts = {}
def get_omcs_data():
for subdir, dirs, files in os.walk(base_data_path + 'OMCS/'):
for file in sorted(files):
scripts = []
file_path = subd... | [
"gangeshwark@gmail.com"
] | gangeshwark@gmail.com |
fd58354bcbd87a70f351f1e926c41ae90a926fbc | 99291222b1b54a17a10c1662f428648349bb15b3 | /python_modules/libraries/dagster-pandas/dagster_pandas_tests/test_constraints.py | 1d8fe541bab87d529d1e473fec358ecb0d4130eb | [
"Apache-2.0"
] | permissive | rberrelleza/dagster | ee3c9c80f092b6d817e8bd546eb0d3c5852c0de3 | 7ad30528a4a92945967d68e59e27727a1e839c2b | refs/heads/master | 2022-12-03T11:12:32.585772 | 2020-08-07T23:25:30 | 2020-08-07T23:25:30 | 286,546,665 | 1 | 1 | Apache-2.0 | 2020-08-10T18:09:13 | 2020-08-10T18:09:12 | null | UTF-8 | Python | false | false | 7,861 | py | import pytest
from dagster_pandas.constraints import (
CategoricalColumnConstraint,
ColumnDTypeInSetConstraint,
ConstraintViolationException,
InRangeColumnConstraint,
MaxValueColumnConstraint,
MinValueColumnConstraint,
NonNullableColumnConstraint,
RowCountConstraint,
StrictColumnsCon... | [
"abhi@elementl.com"
] | abhi@elementl.com |
f5f14f69f6f2cdd141085563ff8a700ff0c2c75a | 0581673ff3fcf6f31e5939fb97eaa9055fe66678 | /main/urls.py | e63885cee1f3ffa433fd8acdee23aa317a9c6eac | [] | no_license | Arhan99/TYK_TYK | d17f7936509dfbe22188bd4b16173a0e17e4838d | 724cfcca0493ebfc4ba1fbc1d300955980a950e9 | refs/heads/master | 2023-04-09T16:16:18.839896 | 2021-04-21T06:52:19 | 2021-04-21T06:52:19 | 360,060,540 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 741 | py | # -*- coding: utf-8 -*-
from django.conf.urls import url
from django.contrib import admin
from django.urls import path, include
from main.views import index, filter_search, filter_search_busines, all_busines, likes, likes_busines, all_filter_search, statistics
urlpatterns = [
path('', index, name='index'),
p... | [
"82928812+Arhan99@users.noreply.github.com"
] | 82928812+Arhan99@users.noreply.github.com |
617614a4bc84ee6c6eff40b83f98bbafd2677a8d | 42d5a0bb4fc9205c87b9c38db0a33eaf32de5288 | /ballotbuilder/bin/easy_install | ba0c29e4bd37d2fc5b35e16de683aea035cfc649 | [
"BSD-2-Clause"
] | permissive | walke469/spartahack-17 | d522ae3c0689a7420a7dae05e67fbefefbed2918 | 646ebfad8d4f0a8170af9a5fa5b9d3578b0f2f1c | refs/heads/master | 2021-01-11T16:47:42.517999 | 2017-01-22T13:58:08 | 2017-01-22T13:58:08 | 79,672,326 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 249 | #!/srv/ballotbuilder/bin/python3.5
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"ubuntu@ip-172-26-9-129.ec2.internal"
] | ubuntu@ip-172-26-9-129.ec2.internal | |
196f594cdf93c99c3e6f58b29bd47b6f682769ff | ec0f61837133b22aac328d5f4a7cd28063ffd997 | /blogs/blogs/urls.py | 8720f951230d17f1f16de4120bdb10b4fe936e35 | [] | no_license | ashishpokhrel123/TechBlogs | 9e76e2efc6eecf825ce5e575eb3d802376f20f19 | 5fb726ac018255e4d1bba5e29ee464ae310557fe | refs/heads/main | 2023-02-23T10:41:48.543708 | 2021-01-23T15:20:23 | 2021-01-23T15:20:23 | 332,236,509 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 747 | py | """blogs URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based v... | [
"aashishpokhrel146@gmail.com"
] | aashishpokhrel146@gmail.com |
36c02ba4c1f74ed2e06006d957ec2c4f77222217 | 82b946da326148a3c1c1f687f96c0da165bb2c15 | /sdk/python/pulumi_azure_native/devices/v20210303preview/get_certificate.py | 11a256c611dd26a54b2a548c6357eefae477a010 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | morrell/pulumi-azure-native | 3916e978382366607f3df0a669f24cb16293ff5e | cd3ba4b9cb08c5e1df7674c1c71695b80e443f08 | refs/heads/master | 2023-06-20T19:37:05.414924 | 2021-07-19T20:57:53 | 2021-07-19T20:57:53 | 387,815,163 | 0 | 0 | Apache-2.0 | 2021-07-20T14:18:29 | 2021-07-20T14:18:28 | null | UTF-8 | Python | false | false | 3,803 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"noreply@github.com"
] | morrell.noreply@github.com |
b4a5eefb8d0a74ba831efebc744256bb401f047d | b1da40a1faf67c503b1415ff0086e302fd5212be | /.env/Scripts/runxlrd.py | 160ff96f69c70a3d7f1d7478f72d75db84006768 | [] | no_license | HelderMenegatti/Blog_wagtail | dc611de7a0117d97f247df7a7d529fd9139f12fb | 26842790fd1c6b2d02fc9dc87638f3dce3d98353 | refs/heads/master | 2023-06-05T10:00:43.724221 | 2021-06-28T20:16:10 | 2021-06-28T20:16:10 | 380,579,360 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,113 | py | #!c:\users\ramon\desktop\blog_wagtail\.env\scripts\python.exe
# Copyright (c) 2005-2012 Stephen John Machin, Lingfo Pty Ltd
# This script is part of the xlrd package, which is released under a
# BSD-style licence.
from __future__ import print_function
cmd_doc = """
Commands:
2rows Print the contents of fir... | [
"heldermenegatti720@gmail.com"
] | heldermenegatti720@gmail.com |
e99cd18876c90e06aa848b966591b485b703cea3 | 88a32ab161fcd3473a87b1a921e2475620d71ee5 | /multihashtags.py | 2d217e17d03a232b839d1feeba8bf3c0b62dbd14 | [] | no_license | maczokni/halloweenMCR | b152b2e61c5c21a34214a51387526fdc5cd83b18 | 0b647d0a1e90232b6ae5547d65c594ffb1325e3e | refs/heads/master | 2020-08-30T07:58:39.631008 | 2019-11-06T11:40:58 | 2019-11-06T11:40:58 | 218,311,590 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,737 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Oct 26 08:45:24 2019
@author: reka
"""
from instaloader import Instaloader
def download_posts_with_multiple_hashtags(instaloader, hashtags, max_per_hashtag):
posts = []
print("Getting posts with hashtag {}".format(hashtags[0]))
for count,... | [
"maczokni@gmail.com"
] | maczokni@gmail.com |
dc6f95fed9fae0c16bb591d70b845ffbd27a1d28 | bc97ac7fd050af7e29123c85ccb1d40e44ed8788 | /venv/Scripts/pip3.7-script.py | 191104a62fd174eb4b971b71bf9ecf599e5679aa | [] | no_license | zhaisa/mydjangop1 | 9eb4c8185fe0499a6276d97a99843e5eca757d1c | d894b65129fe1336ec400dcc60b06ecaa5c24861 | refs/heads/master | 2020-04-15T03:24:41.152479 | 2019-01-20T16:16:06 | 2019-01-20T16:16:06 | 164,347,635 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 417 | py | #!C:\Users\95\PycharmProjects\mydjangop1\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7'
__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.arg... | [
"zhaisa21@163.com"
] | zhaisa21@163.com |
091bc22980d0b8341128b4835a7ee5c94c79e71d | e8f99a162207cba82d4e0f969d7bcdb2b9d8b522 | /wireless_parse/udp_trans_demo/udp_receiver_v5.py | 214e9d1353b50d8ee559e3f3305ca0306e139e1b | [] | no_license | TesterCC/Python3Scripts | edb5446278ebf13edb64336001081941ca27d67d | 58be67e1ffc74ef50289a885aa4ad05f58e2c383 | refs/heads/master | 2023-08-30T21:16:38.328045 | 2023-08-17T11:23:08 | 2023-08-17T11:23:08 | 93,401,996 | 6 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,919 | py | # -*- coding=utf-8 -*-
import socket
import sys
import threading
import time
from Crypto.Cipher import AES
# v5: support AES Cipher
def _unpad(data):
# decrypt use
padding_len = data[-1]
return data[:-padding_len]
def aes_decrypt(key, encrypted_data):
aes = AES.new(key, AES.MODE_ECB)
decrypted_d... | [
"testerlyx@foxmail.com"
] | testerlyx@foxmail.com |
911742be4879768d802cb3f2496a4b5561f2d7e9 | 0050a676c34974cbc90c8c2049f67918b951db98 | /brute_MD5.py | 005c9ae0f0d5b377fecdc0085218fb2649f2f249 | [] | no_license | Bhavya251/MD5-Brute-Force | c912fc2ec98bd6c660ed7e56a6d08e06ce7117b1 | 4e664c55716838fde616be342d30b270eb17d371 | refs/heads/main | 2023-04-15T07:54:32.601631 | 2021-04-29T23:53:36 | 2021-04-29T23:53:36 | 362,976,806 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 714 | py | import string
import random
import time
import MD5
charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()+_'
hash24 = '4adc03f09184857ee1370f4001219d45'
string=''
FILE = open("wordlist.txt","w")
print ("[+] Start Time: ", time.strftime('%H:%M:%S'))
print ("\nLoading ... "... | [
"noreply@github.com"
] | Bhavya251.noreply@github.com |
ecf12a040456d55ad2e860fc7d0f051ef5e3d5bc | d40daca7858c4ca7f30f59700c58f670c431b3ae | /Tasks/Day-5/task-1.py | fb78e48ba09779a23c17d143a4a1c250102313c1 | [] | no_license | Bibinbiju9873/Internship-AkashTechnoLabs | df5d7ffbf2955798712e41722658e0593d039bdf | 30840729c00a3970da55e12fe873ebe4da8bd372 | refs/heads/main | 2023-05-28T17:16:34.160995 | 2021-06-12T03:53:21 | 2021-06-12T03:53:21 | 370,796,277 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 287 | py | class cal1:
def setdata(self, a, b, c):
self.a = a
self.b = b
self.c = c
def display(self):
ans1 = self.a + self.b + self.c
print("{}+{}+{}={}".format(self.a, self.b, self.c, ans1))
obj1 = cal1()
obj1.setdata(10, 20, 30)
obj1.display()
| [
"bibinbiju70000@gmail.com"
] | bibinbiju70000@gmail.com |
475b33491bc296d09f617226da842f375640c5b0 | 4914e1e18cabd3db104386b13a48e3371f6c4d25 | /tov/Lambda_varying_n1_n2.py | d248379178f8c757acf90ea12e4d134dd80bebb9 | [] | no_license | sotzee/ns | 592b21c013657ca202ab1138d92c32960d7e2170 | 70faa8e97560ec4072e5f0f697e3f2471f1303f7 | refs/heads/master | 2021-06-19T15:51:03.271980 | 2019-06-10T14:16:21 | 2019-06-10T14:16:21 | 115,557,527 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,805 | py | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Fri Jul 27 14:34:31 2018
@author: sotzee
"""
from eos_class import EOS_BPSwithPoly,EOS_PiecewisePoly,EOS_BPS
import numpy as np
from tov_f import MassRadius
from Find_OfMass import Properity_ofmass
from FindMaxmass import Maxmass
import scipy.optimize as o... | [
"tianqi.zhao@stonybrook.edu"
] | tianqi.zhao@stonybrook.edu |
dc2a0f1c550c97f969d894be1f332fe010d3868b | e0e497aed225a9a758dfff214b0b866b3c5778d5 | /hw_colors.py | 9a9b22b972845918f95df401a1b927059132d5b6 | [
"Apache-2.0"
] | permissive | rjalmo/cs224u | 344cd83ec87a8d285c540142fa20b8811bf44c3f | 2ebebe15c7656f0d2fcf988a5b8c4fef5f6bb42d | refs/heads/master | 2022-09-10T10:53:02.267896 | 2020-05-23T10:45:31 | 2020-05-23T10:45:31 | 256,973,984 | 0 | 0 | null | 2020-04-19T10:43:02 | 2020-04-19T10:43:01 | null | UTF-8 | Python | false | false | 21,879 | py | #!/usr/bin/env python
# coding: utf-8
# # Homework and bake-off: pragmatic color descriptions
# In[246]:
__author__ = "Christopher Potts"
__version__ = "CS224u, Stanford, Spring 2020"
# ## Contents
#
# 1. [Overview](#Overview)
# 1. [Set-up](#Set-up)
# 1. [All two-word examples as a dev corpus](#All-two-word-exam... | [
"rjalmo@github.com"
] | rjalmo@github.com |
df5f1e52dda77005e950ebab2b576331300d4ee1 | 15204477d3f85ad9177d6eecaf409b507a5fffd3 | /Lesson_3/HW_3_2.py | 0e98fbf4c21de2446ba45cdddb2e7a3b8e8fb024 | [] | no_license | Seila2009/Basic_Python | cef77c9a5db3d68edb2980fcd486bfebd407f6c8 | a8b422fbadc209bb2114be1e1ee813d0da39158a | refs/heads/main | 2023-02-12T20:53:43.677056 | 2021-01-10T16:51:33 | 2021-01-10T16:51:33 | 310,787,485 | 0 | 0 | null | 2021-01-10T16:51:35 | 2020-11-07T07:02:10 | Python | UTF-8 | Python | false | false | 714 | py | def pers_data(name="", last_name="", year="", city="", email="", tel_num=""):
return f"Привет, меня зовут - {name} {last_name}. Я родилась в {year} в городе {city}. " \
f"Мои контактные данные: email - {email}, телефон - {tel_num}."
print(pers_data(name=input('Введите имя: '),
last_name=... | [
"Seila2009@yandex.ru"
] | Seila2009@yandex.ru |
849a2fdf44397c065660f4aade3876157bc151b9 | 9c9131970bcbf9b14a53c8638ade0f624d6bf687 | /backend/games/common/models/game.py | 4e056d394697c39b9ffe1f45aa16457c21ace926 | [] | no_license | PraderioM/GamePlatform | 969e803f9ad264e24b3d6ebceb5f142a69479333 | 36e206c76c27d70cff14b9819d3b8a9040d21904 | refs/heads/master | 2023-01-11T15:48:29.944509 | 2022-12-26T14:32:10 | 2022-12-26T14:32:10 | 251,726,441 | 0 | 0 | null | 2022-12-26T14:33:54 | 2020-03-31T20:41:45 | Python | UTF-8 | Python | false | false | 4,849 | py | import abc
import asyncpg
import json
from random import shuffle
from typing import Dict, List, Optional
from .game_component import GameComponent
from .play import Play
from .player import Player
class Game(GameComponent):
def __init__(self, current_player_index: int,
play_list: List[Play], pla... | [
"PraderioM@Gmail.com"
] | PraderioM@Gmail.com |
16ce80485888de8ab4bfab31f0e1396dae14d95a | ca27d0a1fbb1e5b5df7676a56e0117a19a40ac1c | /LargestValues/MaxPriorityQueue.py | 5d3c8f6ea27371dbb409c8542af9290280027f7b | [] | no_license | azh4r/online-sorting-algorithms | eb65d3accd8ba7c83670f9553923e0ea02b60cc6 | 94000f42a653d062cfd329075e1539a391936521 | refs/heads/main | 2023-03-19T07:38:27.882121 | 2021-03-09T17:23:59 | 2021-03-09T17:23:59 | 324,482,162 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 538 | py | from queue import PriorityQueue
# by default python PriorityQueue is a Min PriorityQueue, this will reverse the priority to
# make it into a max priority queue
class MaxPriorityQueue(PriorityQueue):
def __init__(self):
PriorityQueue.__init__(self)
self.reverse = -1
def push(self, priority, d... | [
"azhar.basit@gmail.com"
] | azhar.basit@gmail.com |
38427ed51e281e7e2e2de65afd012da08f83da0f | 16c94af48a05294b99ab6496199c28d64973b4af | /romeo_sorter.py | 11fb5b27afa2dbe910b5d7c6e9a2beadcca94507 | [] | no_license | anajaved/coursera_intro_to_programming | 317c6ea4707c62871e562f9bef534f3ff9c26fb6 | f34463040198c5ad0d055e6407cad470234a5038 | refs/heads/master | 2020-04-05T18:32:09.023987 | 2016-11-01T18:01:51 | 2016-11-01T18:01:51 | 66,982,554 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 335 | py |
fname = raw_input("Enter file name: ")
fh = open(fname)
lst = list()
#remove white space, split, and add to list
for line in fh:
short=line.rstrip()
clean=short.split()
lst.append(clean)
list=lst[1]+lst[0]+lst[2]+lst[3]
for each in list:
while list.count(each)>1:
list.remove(each)
list.sor... | [
"noreply@github.com"
] | anajaved.noreply@github.com |
d805bbc6775ceadfc642833a71503d7bb0c33f4e | e423810d41f73681e8b5ea8926762277c8fe2d78 | /Session01_IntroductionToPython/src/m6_your_turtles.py | 39aee8aee5816a68d01b466f1324579711bcc553 | [] | no_license | wykkevin/CSSE120 | 5d74745d4475a532e7bee808c58198076c71d301 | 7dfeff647a130c7132af3e5ffeda67d97ee9b8a8 | refs/heads/master | 2021-09-15T09:35:24.642099 | 2018-05-30T01:24:12 | 2018-05-30T01:24:12 | 135,370,833 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,386 | py | """
Demonstrates using OBJECTS via Turtle Graphics.
It is the same m3_turtles.py except that it organizes
the code into FUNCTIONS and then defines ADDITIONAL functions.
Concepts include:
-- CONSTRUCT an INSTANCE of a CLASS (we call such instances OBJECTS).
-- Make an object ** DO ** something by using a ME... | [
"wykwykwykwykkevin@gmail.com"
] | wykwykwykwykkevin@gmail.com |
a4fba525c51a91a7c8a9596094346db99f968dd5 | 33c9916a0997ef39255240163db5ea2bc67bd2c9 | /sellibrary/dexter/golden_spotter_exercise.py | d64c31ff10eef8c94a12b013d58ad6e8387139a7 | [] | no_license | dwanev/SEL | 5f1252b564ef5c282ccac01d6b1191296b424af9 | 1d9d68d463c7d916367c9a5eb724e06eb31eafdb | refs/heads/master | 2021-09-21T02:10:19.201202 | 2018-08-19T12:01:34 | 2018-08-19T12:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,070 | py | import json
import logging
import sys
import time
from general.golden_spotter import GoldenSpotter
from sel.dexter_dataset import DatasetDexter
class DexterThroughGolden:
# set up logging
handler = logging.StreamHandler()
handler.setFormatter(logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(m... | [
"dwanev@gmail.com"
] | dwanev@gmail.com |
900dac4c07936cc4d452d57b86ca471e5d448a88 | 8311a0bcf3f2126d622f928483ce2ea9d6a7cb0d | /Code/Daniel/django/lab01-polls/polls/migrations/0001_initial.py | 9620f4191550d063054a416f5fcc5fe1e0b4d0be | [] | no_license | guam68/class_iguana | 857247dca0ff732d11f7fb0d3dc761ec83846c94 | e4359d32dfe60423a643c21df5636669016ad2c0 | refs/heads/master | 2020-05-01T06:33:22.611127 | 2019-03-13T23:07:41 | 2019-03-13T23:07:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,165 | py | # Generated by Django 2.1.5 on 2019-02-05 19:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Choice',
fields=[
... | [
"guam_68@hotmail.com"
] | guam_68@hotmail.com |
69c23fe32660671649ed6c602c18af63ca869641 | 2541462164bb147212aa3ff813889ab608a82323 | /snt/blog/urls.py | 8f41432e4b1a86ec7ca96872834532ea76809973 | [] | no_license | vaidehi29/miniproject4 | 3f564b79aedc5bce1530802de94833f93637d275 | ab1ad2c0a4ad509732663d40eeacd8b726481211 | refs/heads/main | 2023-05-02T11:46:42.699329 | 2021-05-16T18:02:11 | 2021-05-16T18:02:11 | 367,949,678 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 113 | py | from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="ShopHome")
]
| [
"vaidehisonavane2436@gmail.com"
] | vaidehisonavane2436@gmail.com |
54e633d69fc0ea052139c4ecce2b71ac5fbbb8d5 | af4246ff49076ee85ceaac1de47d69a38f95a93a | /training/src/hydrophobicity.py | 035122987cd28228a885a874302e2476f59e216e | [] | no_license | Jong-hun-Park/deeplearning-proteomics | 6d3a559d3a26b75da8ba26d2ed55c282c74d6bce | 00ddf2df67b23a07d886cdf27fd638debc7af94d | refs/heads/master | 2020-06-17T19:27:14.763863 | 2017-01-13T12:28:44 | 2017-01-13T12:28:44 | 74,976,904 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 582 | py | '''
Created on 2016. 11. 30.
@author: JONGHUN
'''
import hydrophobicity_table
def get_sum_hydf(peptide, ion_type, ion_index):
sum_hydf = 0
if ion_type == 'b':
for i in range(ion_index):
sum_hydf += hydrophobicity_table.get_aa_hydph(peptide[i])
else:
for i in range(ion_inde... | [
"zorba.heron@gmail.com"
] | zorba.heron@gmail.com |
82b43643d7116b7a35974c68b9b6c72e9996791a | 92c586573ff7db754aa390ca6c028aec0c39aa0d | /crm/library/helpers/permissions.py | 698aa59b4bb73e37c273168d14d63a6ea0e14229 | [] | no_license | vovapasko/crm | b7784ac7f1984a26a955b178ebefea0c03c9ad6a | bab909324aa2e4c1c8fff72093d3fcf44aaf4963 | refs/heads/master | 2023-02-10T10:39:40.789246 | 2020-11-20T18:30:01 | 2020-11-20T18:30:01 | 326,683,996 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,598 | py | from typing import Union, Tuple, Any, List
from ..constants.permissions import GROUPS_FOR_CASCADE
from django.contrib.auth.models import Group
from ...models import User
from ..constants import SUPERUSER, MANAGER, ADMIN, GUEST
def groups_cascade_down(group: Group) -> List[str]:
"""
for given group returns li... | [
"vovapasko1699@gmail.com"
] | vovapasko1699@gmail.com |
198a082b16a44e06a1f5342860a421931875bee7 | d24f81b52917a7b0629fe615149ef4ac8a0bd049 | /backend/feed/api/service.py | f71344b937b3519f87921c8cdbe194d1f6648e61 | [] | no_license | ScrollPage/Test-Chat | f533c8d1112a4bc639d9659a126b9a9f886f68b2 | 3911b7555ca684b3eb31e9857d007fda3b6c7cd3 | refs/heads/master | 2023-01-03T13:37:44.600044 | 2020-10-30T08:43:27 | 2020-10-30T08:43:27 | 288,795,592 | 0 | 0 | null | 2020-08-24T13:35:51 | 2020-08-19T17:31:59 | JavaScript | UTF-8 | Python | false | false | 2,369 | py | from rest_framework.viewsets import GenericViewSet, ModelViewSet
from rest_framework import mixins, serializers
from rest_framework.response import Response
from django.shortcuts import get_object_or_404
from django.db.models import Count, Q, Min, Subquery, OuterRef
from backend.service import (
PermissionMixin,
... | [
"54814200+reqww@users.noreply.github.com"
] | 54814200+reqww@users.noreply.github.com |
ac17b65b72c91dfb20148b42a77c6ac661042fe7 | cf8e2c80bf3f5d13d1cb4f567a81c8fba1e5fba9 | /load_images.py | 6bbd5650581091fcd233676fd209022bfe834717 | [] | no_license | poleha/travnik | 52b34b7911794a65cb1e74762e5333073ed4e2d9 | 8a449644c5201b1c5b9dd5cf137d0fc8c616dd62 | refs/heads/master | 2022-12-04T03:55:13.972057 | 2017-08-05T15:21:58 | 2017-08-05T15:21:58 | 48,569,404 | 0 | 0 | null | 2022-11-22T00:59:02 | 2015-12-25T06:28:49 | JavaScript | UTF-8 | Python | false | false | 997 | py | import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "travnik.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
from main import models
from django.conf import settings
from django.core.files.storage imp... | [
"pass1191"
] | pass1191 |
fbaec0902ace41c2165e09ca0cbdb3ef76f31d08 | 2ad58ae25da89057b421321c606252c716c39b5d | /Finding_a_Spliced_Motif/Finding_a_Spliced_Motif.py | 07805ba7799074d2ec0ec9ffa934cb03f7fa93e3 | [] | no_license | phondanai/rosalind | 04f0748d581037be906ebb87246d09649e338c48 | e60e5e512196228abf6c79d7380ac0edd993bfc0 | refs/heads/master | 2020-03-21T07:22:58.532855 | 2018-06-29T10:10:28 | 2018-06-29T10:10:28 | 138,277,042 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 896 | py | from typing import List
def extract_fasta(fasta_file: str) -> List:
results = []
with open(fasta_file, 'r') as f:
tmp_str = ''
start = True
for line in f:
if not line.startswith('>'):
tmp_str += line.rstrip()
elif start:
start =... | [
"phondanai@gmail.com"
] | phondanai@gmail.com |
588969f1d268d3f3f6167822cfd89430accf0539 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2139/60581/296948.py | 1bb9649d9c7efd690ee0c582f77669d2d86f648b | [] | 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 | 3,331 | py | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <queue>
#include <vector>
#include <map>
using namespace std;
#define reg register
inline int read() {
int res = 0;char ch=getchar();bool fu=0;
while(!isdigit(ch))fu|=(ch=='-'),ch=getchar();
while(isdigit(ch)) res=(res<<3... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
13766e68563f5b4ef2362c9b836a089ffaa0f61d | 71b19989fc37003954a9e3dda748370a6f98aff4 | /database_construction/insert_transcripts.py | d7d1cffd54053ecd31f936b3cb78e80469835bfa | [] | no_license | philloidin/CRISPR_MultiTargeter | 241232408e411442de1a2e59e8dad10a0cb72623 | 96115212d3f20e0e231d2739fc5ad7c95c45e300 | refs/heads/master | 2021-05-28T01:35:54.061336 | 2015-01-08T18:28:51 | 2015-01-08T18:28:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,324 | py | # The purpose of this script is to insert the data into the tables
# of genomes database
import os
import sqlite3 as db
# obtain all the files from a directory matching a certain naming scheme
# assign these filenames to the corresponding variables
for file in os.listdir("."):
################################
# Ins... | [
"s.prykhozhij@gmail.com"
] | s.prykhozhij@gmail.com |
0b62293ce1d11f795ccecf9fc2fc4b648b6ecc11 | bf985435618bbf978e89c990c4b1464ec32fe044 | /mastermix.py | b6fa2dbfba7ebc9a8c64b06cd702b59894722b5d | [] | no_license | derrik-gratz/PCR-mastermix-calculator | 5a293701efccd7e148e666ddaff0a33a7a37909d | 719ae7756400b01797a0725109f5c1a14a35519a | refs/heads/master | 2023-01-10T22:44:46.666103 | 2020-10-28T00:13:17 | 2020-10-28T00:13:17 | 191,266,793 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,340 | py | #!/usr/bin/env python
import csv
import sys
import os
from openpyxl import load_workbook, Workbook
from shutil import move
from numpy import arange
import datetime
from time import sleep
assaylist = []
samples = {}
def main():
print('Make sure the target directory will not change while the program is running (e... | [
"noreply@github.com"
] | derrik-gratz.noreply@github.com |
dccc6514a00d19f0633bc043036a303b14288fad | aebbf31274e4b9bc52b1f1049e177d3806229c17 | /aliyun-python-sdk-ecs/aliyunsdkecs/request/v20140526/DeleteFleetRequest.py | 6c58da55554050add0a8ba96159a2f6c858e3cc6 | [
"Apache-2.0"
] | permissive | nikita-barkovsky/aliyun-openapi-python-sdk | bc76310a114cadd9d72a0966d4f76491f4071f9d | 5f4f8e164f9cd2143d3b4bb0b57bfb8a938fe094 | refs/heads/master | 2020-07-19T19:46:22.048026 | 2019-09-05T06:17:44 | 2019-09-05T06:17:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,408 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may ... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
02e0823c0eca2063c6f3bc6be1ae785f62ad507a | 8cd6b3a2a4b3ba25d65d803fbb702ea8dc12d458 | /app/api/handler/home.py | 21dc0d90eeb91b01d95702128c845972d5c51917 | [] | no_license | casimiror/cuboid-challenge-python | 51bd5e500fc8fcd29fb2c4cdfe2778cea405232e | 676133d997c16bad1dbac2dc50466f0a57efac49 | refs/heads/master | 2023-09-01T22:20:54.750701 | 2021-11-10T22:28:43 | 2021-11-10T22:28:43 | 426,737,835 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 170 | py | from http import HTTPStatus
from flask import Blueprint
home_api = Blueprint("home_api", __name__)
@home_api.route("/")
def run():
return "Cuboids", HTTPStatus.OK
| [
"casimiro@cliengo.com"
] | casimiro@cliengo.com |
0e40d4109c2d4f7bf260081a9d8fba002899e8c5 | 17bf30cd975af30f7a7d4864e89e087ec3d8f701 | /hivemind/modules/api/models/payment.py | 276df76011cc5661e4f76f5bee808e67552d1908 | [] | no_license | jaystaks/HiveMind | 421134e98b37c156f6e513727caaddbb28c921b4 | 8db41ad743375399d01ea4870e9f6bc2adaa54c0 | refs/heads/master | 2020-04-04T04:51:51.552659 | 2018-10-30T11:09:53 | 2018-10-30T11:09:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 890 | py | """
Payment Model for API Module
"""
from django.db import models
from .base_model import BaseModel
from .profile import Profile
class Payment(BaseModel):
"""
Payment Model
"""
owner = models.ForeignKey(
Profile, on_delete=models.SET_DEFAULT, default=None, null=True)
payment_ref = models.... | [
"davisraymondmuro@outlook.com"
] | davisraymondmuro@outlook.com |
906f0580c258ee404255342093afeaeb509b5c16 | 6d411dc42fd3bbc5d0438fddde92447877449f44 | /override.py | c7b3f1ae24e840ed503742d82d004ac45da2aafa | [] | no_license | Jnosuke/pythonFile | d09eb5a5da7b0f924c348a2beaca22b4fb48c199 | c228f6f6e2f7ece6bfa5e3abc53f0505d2ff822f | refs/heads/master | 2022-11-16T04:53:18.117810 | 2020-07-11T05:06:34 | 2020-07-11T05:18:37 | 278,789,999 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 282 | py | class Greet():
def hell(self):
print("やあ!")
def bye(self):
print("さようなら")
class Greet2(Greet):
def hello(self, name = None):
if name :
print(name + "さん、こんにちは")
else:
super.hello()
| [
"saikoro.nosuke@gmail.com"
] | saikoro.nosuke@gmail.com |
4054def62ff0cca0a741f0a331f0c9d13e154ec8 | 1c65c0c7620c50e98f3a9b83e6ec121d2c0037f9 | /statistics_feeder.py | 21f28073fcb51746a60b766dad75a028bb0c6aa2 | [] | no_license | SLAC/slac_utils | a03bccb1c4fa221e96ec868b6af46a69538f4930 | 923d092891b067fd48d28d91db6a32f9e7757d9e | refs/heads/master | 2023-04-14T03:25:14.184558 | 2023-03-31T20:53:19 | 2023-03-31T20:53:19 | 31,451,941 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 12,145 | py | from slac_utils.time import now, datetime_to_epoch, sleep
import datetime
from slac_utils.queues import PyAmqpLibQueue
from slac_utils.hashing import ConsistentHashRing
from collections import deque
import gc
from struct import pack
from pickle import dumps
import socket
import logging
class StatisticsMixin( obje... | [
"yee379@gmail.com"
] | yee379@gmail.com |
7da2ba571206feffcfcfe76ceadbd73c59c86999 | 92b31640f0572b3f7cdb3ae237bddb13318b300b | /meiduo_mall/celery_tasks/sms/yuntongxun/ccp_sms.py | f663d92eb9f19a2276a64aedff2c49b22f14fa0e | [] | no_license | Hillary886/meiduo_mall-project | 940f18b76ec0b0c03601c26e4a2c491115124b47 | 8a4019182ce8f64f3263b4baa43883c0fca60fdd | refs/heads/master | 2023-07-08T01:50:14.282813 | 2021-08-06T15:10:47 | 2021-08-06T15:10:47 | 383,808,134 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,830 | py | # -*- coding:utf-8 -*-
import ssl
ssl._create_default_https_context =ssl._create_stdlib_context # 解决Mac开发环境下,网络错误的问题
from celery_tasks.sms.yuntongxun.CCPRestSDK import REST
# 说明:主账号,登陆云通讯网站后,可在"控制台-应用"中看到开发者主账号ACCOUNT SID
_accountSid = '8aaf07087955b4b50179949dde1b1764'
# 说明:主账号Token,登陆云通讯网站后,可在控制台-应用中看到开发者主账号AUTH ... | [
"zhangxu201709@163.com"
] | zhangxu201709@163.com |
e03c92ed9a61266c0dcc029b0dd784a2ab585796 | c372880122512bcc897dac4932982a8face60363 | /farsante/dask_generators.py | c1d79025fddbfa8ebe8e5671d2504de3d9e0c509 | [] | no_license | bishwajitdey/farsante | a5023705cb227f1e0cc5b1ddc9b02143859335c4 | e94d6b4305fb684da5eb234846888d30511603f9 | refs/heads/master | 2023-03-23T20:10:52.503013 | 2020-08-23T15:55:43 | 2020-08-23T15:55:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 353 | py | from farsante.pandas_generators import *
import dask.dataframe as dd
def quick_dask_df(cols, num_rows, npartitions=1):
df = quick_pandas_df(cols, num_rows)
return dd.from_pandas(df, npartitions=npartitions)
def dask_df(funs, num_rows, npartitions=1):
df = pandas_df(funs, num_rows)
return dd.from_pand... | [
"matthewkevinpowers@gmail.com"
] | matthewkevinpowers@gmail.com |
b4c3705c29a3cafac85fe5090c3e0a119c6fd42a | b8770ccd24aa8b5d53bec3a1b11aa43a2b00de0f | /assignment4 | f613f706a3f3ba3bc38fcb4d9be877579f05c38e | [] | no_license | thomas1115/computer-physics-yoonjongseok | 7bbf78f80329a0402f26093217221a0b43c5fad4 | f572d3ae7169e684a26ce4e2dd3bfc39e52b6089 | refs/heads/main | 2023-04-21T23:12:19.552672 | 2021-05-10T12:53:29 | 2021-05-10T12:53:29 | 345,236,548 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,142 | #!/usr/bin/env python
# coding: utf-8
# In[13]:
import numpy as np
import math
import scipy as sp
import time
import matplotlib.pyplot as plt
from scipy.linalg import lu,lu_factor, lu_solve
def LUdecomp(a):
n = len(a)
for k in range(0,n-1):
for i in range(k+1,n):
if a[i,k] != 0.0:
... | [
"noreply@github.com"
] | thomas1115.noreply@github.com | |
9ca07dd3eb6987b07746338f6a11f29b8695ed31 | 70164edd34216338b162616ef496d55af98a6f39 | /nostclient/commands/configure.py | 62034f796bc8f4ce1ab6492cca9d5eebde4496f1 | [] | no_license | Nexenta/python-nostclient | 48f23fa33d2b91d26b635f5886d69ddd4514b905 | d65c5e31749fd28b817aad4e6f50e5afe5e2bf92 | refs/heads/master | 2016-09-06T19:11:11.276520 | 2013-02-26T12:28:36 | 2013-02-26T12:28:36 | 6,267,159 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,604 | py | # Copyright 2012 Nexenta Systems Inc.
from __future__ import with_statement
import os
import sys
from nostclient.common.config import Config
from nostclient.common.utils import is_true, renamer, validate_path
from nostclient.common.exceptions import ValidationError, OptionError
from nostclient.common.validators impor... | [
"vito.ordaz@gmail.com"
] | vito.ordaz@gmail.com |
2ef32e227da259422bf598a45417ac09a69f99b6 | 110261034f716194118e6c1561dec424f0704ca9 | /bin/femur | cbe08a567d2bb0f1de38540bf959dfa874614b3d | [] | no_license | recordsonribs/femur | db452835ce82462f245dbc63762786708b0dcd3f | 2911b884316c2caa502a38692fe41c48fe5d46aa | refs/heads/master | 2021-01-01T05:33:45.710245 | 2016-01-02T23:00:16 | 2016-01-02T23:00:16 | 24,003,167 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 86 | #!/usr/bin/env python
from femur.main import main
if __name__ == "__main__":
main()
| [
"alex@recordsonribs.com"
] | alex@recordsonribs.com | |
5031f715f67890e35e6ed14eec1e76f9f3209fa3 | e98a2c73b2052e6aeafa5c1297cd5a238aa8e8ae | /tceh_lesson16/lesson16_app/apps.py | e315804c3e2b26d15de0e994d4f91e9851471cd2 | [] | no_license | dkorney/tceh_homeworks | 2af30efc90f865cec04ea41cfb5f44be771524de | 8358294e2672ba415de02eed9bc51ef40bfa819f | refs/heads/master | 2021-06-12T20:46:07.022979 | 2017-03-30T07:41:07 | 2017-03-30T07:41:07 | 80,547,101 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 98 | py | from django.apps import AppConfig
class Lesson16AppConfig(AppConfig):
name = 'lesson16_app'
| [
"dmitry.korneychuk@gmail.com"
] | dmitry.korneychuk@gmail.com |
26b17c8da6ad395e7b19e0b8a32e91aff2370408 | 76c197aecb5de3314e9a90864e5f534ac1e89003 | /examples/schedulers/asyncio_.py | 88d9a822330f6a1cb41018065261ade8c22f516a | [
"MIT"
] | permissive | shipmints/apscheduler | a46a3825025e0008c27bb138fc0336e444bc1729 | 0f096f63732a608c43df1ea05393308d04d7c455 | refs/heads/master | 2020-08-14T13:04:18.419142 | 2019-10-17T16:45:31 | 2019-10-17T16:45:31 | 215,172,072 | 0 | 0 | NOASSERTION | 2019-10-15T00:44:16 | 2019-10-15T00:44:15 | null | UTF-8 | Python | false | false | 776 | py | """
Demonstrates how to use the asyncio compatible scheduler to schedule a job that executes on 3
second intervals.
"""
from datetime import datetime
import os
from apscheduler.schedulers.asyncio import AsyncIOScheduler
try:
import asyncio
except ImportError:
import trollius as asyncio
def tick():
prin... | [
"alex.gronholm@nextday.fi"
] | alex.gronholm@nextday.fi |
c83a126fcf82805e353bec8a36aaa4ac53092571 | f078a969c6c92dbd4644a55609c3969255de1c7a | /qtoolkit/data_structures/quantum_circuit/quantum_circuit.py | 8ff67be84d9fcd15146add087969fc8f612e50cc | [
"BSD-3-Clause",
"CECILL-B",
"MIT",
"LicenseRef-scancode-cecill-b-en"
] | permissive | nelimee/qtoolkit | 2d2919a163677128acbfbd84b36bb61367732a6e | 1e99bd7d3a143a327c3bb92595ea88ec12dbdb89 | refs/heads/master | 2020-04-01T09:15:09.134161 | 2018-11-27T13:57:52 | 2018-11-27T13:57:52 | 153,067,146 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 21,657 | py | # ======================================================================
# Copyright CERFACS (October 2018)
# Contributor: Adrien Suau (adrien.suau@cerfacs.fr)
#
# This software is governed by the CeCILL-B license under French law and
# abiding by the rules of distribution of free software. You can use,
# modify an... | [
"adrien.suau@cerfacs.fr"
] | adrien.suau@cerfacs.fr |
5823d7d7033516b476ed84db307da0fc0abd03c5 | 0868d7c74bd4a0877bc6b862e7a159ebf0c42f1c | /funcao_n_quadrado.py | 3468fb1cb20cab95675e6ee5087b9a5917a30574 | [
"MIT"
] | permissive | rafaelblira/python-progressivo | af7a901fc324362de1f74cd5399be5f711fb4e3f | fdd6ccf10d351d04158e03ff74dd99b431d94303 | refs/heads/master | 2022-10-14T07:40:33.900740 | 2020-06-11T14:22:54 | 2020-06-11T14:22:54 | 263,900,836 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 235 | py | #crie uma função que recebe um número e exiba seu quadrado.
def quadrado(n):
quad = n ** 2
print('Quadrado de {} é: {}'.format(n, quad))
numero = int(input('Digite um númeor para saber o seu quadrado: '))
quadrado(numero) | [
"rafaelblira@yahoo.com.br"
] | rafaelblira@yahoo.com.br |
5d3d6caff5ed5760a0ebb8e8b347d689ca73f304 | 7f3cbde8b31cc7ef064b303de54807f59ea0d3c8 | /Algorithms/Warmup/solve_me_first.py | be7d9e33f573da43e5a6b9ce7256bebaf4731ddf | [] | no_license | Marlysson/HackerRank | 7f9ea6a04cd7b97ba5c43c5e321b219511a64106 | 98e65be30d8e6f70ca75676441dc9b1fd7fcac1b | refs/heads/master | 2020-04-06T04:28:43.522255 | 2016-10-07T04:18:06 | 2016-10-07T04:18:06 | 55,646,873 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 293 | py | # -*- cofing:utf-8 -*-
# Challenge : https://www.hackerrank.com/challenges/solve-me-first
def solveMeFirst(a,b):
tipos = (int,float)
if all( [isinstance(a,tipos) , isinstance(b,tipos)] ):
return a+b
else:
raise ValueError("Ha valores incorretos")
res = solveMeFirst(1,3)
print(res) | [
"marlysson5@gmail.com"
] | marlysson5@gmail.com |
a17c68c81482a954d2d326a14b0ca8afe7a1d3bf | 9f525781555887c9528f83a97322bcd775162c3e | /Draw circle on Mouse clicks.py | 53d96f5ca62ce7ca5cc96ebb05270b7bc2890f53 | [] | no_license | desairahulinrd000/OpenCV | 0d0e19077aba9a2050b751ca64511efa19de2f74 | 4cf2bb820b789d314e34f5d7871a6f818a2d708f | refs/heads/master | 2022-08-20T09:26:28.177278 | 2020-05-29T13:45:20 | 2020-05-29T13:45:20 | 265,911,130 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 830 | py | import cv2
import numpy as np
# Create a black image and a window
windowName = 'Drawing'
img = np.zeros((512, 512, 3), np.uint8)
cv2.namedWindow(windowName)
# mouse callback function
def draw_circle(event, x, y, flags, param):
if event == cv2.EVENT_LBUTTONDBLCLK:
cv2.circle(img, (x, y), 40, (0,... | [
"noreply@github.com"
] | desairahulinrd000.noreply@github.com |
b36c74ebc90e94b6c5b8e4696e8c3c466af4f025 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03327/s531970976.py | af05a6588e968b8a60610e4ea7216c99a751bad7 | [] | 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 | 154 | py | #099A
#1.入力をちゃんと受け取ること
x=input()
i=int(x)
#2.結果を出力する
if i<1000 :
print('ABC')
elif i<=1998:
print('ABD') | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
0b88fa7df258e0b1cb5daa7d89442a7886d490b0 | 10733187b81975377d37e3a414cd66f0be3be1ef | /cms/admin.py | f15a7b9ddcdba845bf124a6a3c605a6931b12c40 | [] | no_license | podnachitana/landing | 58ea6aff6f4cd0b20f77659a96ee0bdca3352545 | 074d7c3f8e568f3f70e55564bda706d79837df66 | refs/heads/master | 2023-06-24T21:07:33.313094 | 2021-07-23T21:59:58 | 2021-07-23T21:59:58 | 387,613,669 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 656 | py | from django.contrib import admin
from django.utils.safestring import mark_safe
from cms.models import CmsSlider
class CmsAdmin(admin.ModelAdmin):
list_display = ('cms_title', 'cms_css', 'get_img')
list_display_links = ('cms_title',)
list_editable = ('cms_css',)
fields = ('cms_title', 'cms_css', 'cms_... | [
"zlayatanyaa@yandex.ru"
] | zlayatanyaa@yandex.ru |
2c24363060a7968ed3b518dcb2d567e499fe6a10 | 52307b41989b553051fe5d352998e46fca7b12a7 | /api/serializers.py | d5b1291d6c4e08b5525de54c5b98b35ff99f7ea0 | [] | no_license | dangerousmonk/yamdb_final | 93e68728db7e176e2c1873a2676fe556e5ff5721 | acb6c26654ced865c5b058b3577cd82346c1843c | refs/heads/master | 2023-07-09T18:27:47.427920 | 2021-08-22T17:03:01 | 2021-08-22T17:03:01 | 379,703,162 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,429 | py | from django.contrib.auth import get_user_model
from rest_framework import serializers
from .models import Category, Comment, Genre, Review, Title
User = get_user_model()
class CategorySerializer(serializers.ModelSerializer):
class Meta:
model = Category
fields = ['name', 'slug']
class GenreSer... | [
"dangerousmonk@yandex.ru"
] | dangerousmonk@yandex.ru |
e65862fecbe2af3df27ffe46a85392bb2c47e41b | aaa4eb09ebb66b51f471ebceb39c2a8e7a22e50a | /Lista 09/exercício 01.py | 6cf8306d62a0b717e4f61f0d98c65df539a25d8b | [
"MIT"
] | permissive | Brenda-Werneck/Listas-CCF110 | c0a079df9c26ec8bfe194072847b86b294a19d4a | 271b0930e6cce1aaa279f81378205c5b2d3fa0b6 | refs/heads/main | 2023-09-03T09:59:05.351611 | 2021-10-17T00:49:03 | 2021-10-17T00:49:03 | 411,115,920 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 425 | py | #Crie um algoritmo que leia os elementos de uma matriz inteira 10 x 10 e escreva todos os elementos, exceto os elementos da diagonal principal.
matriz = [[0 for i in range(10)] for j in range(10)]
for i in range(10):
for j in range(10):
matriz[i][j] = int(input(f"Digite o valor para o índice ({i + 1}, {j +... | [
"89711195+Brenda-Werneck@users.noreply.github.com"
] | 89711195+Brenda-Werneck@users.noreply.github.com |
5d4e823654d5532193ebea170301f710d793fe76 | c81677a3d76953cc65e958bbb585f410cfdba36e | /csvs | ee4bc3af47669ab59488ff51342526e2ae00364d | [
"MIT"
] | permissive | a-e/csvsee | 4e3fd0a7fd74f4033cb974b713ff5dad9509b674 | 9960a2722be0dc961ab6d822407933e7c19ec531 | refs/heads/master | 2021-01-19T21:51:48.565578 | 2012-07-23T16:13:46 | 2012-07-23T16:13:46 | 2,497,642 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 12,328 | #! /usr/bin/env python
__doc__ = """csvs: Frontend for CSVSee
Usage::
csvs [command] [options]
Command may be::
filter
graph
grep
grinder
info
Run ``csvs [command]`` with no further arguments to get help.
"""
usage = __doc__
"""
Ideas
-----
Manipulation of .csv files, especially large on... | [
"wapcaplet88@gmail.com"
] | wapcaplet88@gmail.com | |
55a74f5fb140c6e32234bf3cea3002577990709b | 59f7791ea6d2cc9e200ef2addd84621c8f457cef | /fkumi/COSC1336 - Programming Fundamentals I/Programming Examples/Chapter 5 - Functions/Chapter 3 - Source Code/retirement.py | fc1105eebddeea93906b89ed5dd5ef744d47305b | [] | no_license | suarezluis/DB_ClassRepo | 6c1a753726f75a7b86074930897c4dca9db6ced6 | 3e680b27a0180607c3f8bcc008aa72893b608106 | refs/heads/master | 2020-07-28T13:24:09.531985 | 2019-12-12T01:23:11 | 2019-12-12T01:23:11 | 209,422,073 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 952 | py | # The following is used as a global constant to represent
# the contribution rate.
CONTRIBUTION_RATE = 0.05
def main():
gross_pay = float(input('Enter the gross pay: '))
bonus = float(input('Enter the amount of bonuses: '))
show_pay_contrib(gross_pay)
show_bonus_contrib(bonus)
# The show_pay_contrib f... | [
"8792613"
] | 8792613 |
a5f6d26fc1bc6236673643badeb26a02c0d91751 | 9fa0fdd378fc2750a517a6059d903f8b7c0196c0 | /userbot/plugins/inviteall.py | dfdfea5ab55b662567c96aecaaef5f5570d361ec | [
"MIT"
] | permissive | MrActive/GujjuBot | e205dd8fa08c30c206c25b21024076c113b41653 | 30388aec3d2ad125cd4129b2b5f01a35a6b4d4b1 | refs/heads/master | 2023-04-05T08:37:30.423757 | 2021-04-23T04:09:31 | 2021-04-23T04:09:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,966 | py | from telethon.errors import (
ChannelInvalidError,
ChannelPrivateError,
ChannelPublicGroupNaError,
)
from telethon.tl import functions
from telethon.tl.functions.channels import GetFullChannelRequest
from telethon.tl.functions.messages import GetFullChatRequest
from userbot import *
from userbo... | [
"noreply@github.com"
] | MrActive.noreply@github.com |
035608dc157e69fcf2296e173c32828af4537f8b | 6e68584f2819351abe628b659c01184f51fec976 | /Centre_College/CSC_117/CSC_117_Python_Files/form.py | a06885e220a2f72a9945f583716eb540c481c1ab | [] | no_license | DanSGraham/code | 0a16a2bfe51cebb62819cd510c7717ae24b12d1b | fc54b6d50360ae12f207385b5d25adf72bfa8121 | refs/heads/master | 2020-03-29T21:09:18.974467 | 2017-06-14T04:04:48 | 2017-06-14T04:04:48 | 36,774,542 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 270 | py | #!/usr/bin/python
print "Content-type: text/html\n"
import cgi
import cgitb; cgitb.enable() #helps w/ debugging
form = cgi.FieldStorage()
print "<OL>"
for element in form.keys():
print "<LI>" + element + "=" + str(form.getlist(element)) + "</LI>"
print "</OL>"
| [
"dan.s.graham@gmail.com"
] | dan.s.graham@gmail.com |
2a8140a13fc4fc9a76df6bc671252a972d6f76ee | 07c4798e133b3190c7a4351d6b40fdd2f0a40756 | /Challenge_019.py | 75a010264e7dc0727e98482473e45c3c2b6ee846 | [] | no_license | hardhary/PythonByExample | 95f05ded7ea96e824cd0ee453ead97004d069dcd | 15c2c496060b6058fe604f3f0389976ffe9293a2 | refs/heads/master | 2023-03-06T19:05:21.018556 | 2021-02-06T19:55:15 | 2021-02-06T19:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 516 | py | # 019 Ask the user to enter 1, 2 or 3. If they enter a 1, display the message “Thank you”, if they enter a 2, display “Well done”, if they enter a 3, display “Correct”.
# If they enter anything else, display “Error message”.
def enternumber():
number = int(input("Enter a number 1, 2 or 3: "))
if number == 1:
... | [
"brain@villorddozasmbp.attlocal.net"
] | brain@villorddozasmbp.attlocal.net |
03fda28d315454a90ef2015ea553d725ae633957 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_246/ch168_2020_06_21_21_55_19_103833.py | 0fcd377deab8aba74d445f29d9bac6a57a4950c1 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 265 | py | def login_disponivel(nome, lista):
if nome in lista:
i=1
login =str(i)join.nome[len(nome)+1]
while login in lista:
i+=1
login = str(i)join.nome[len(nome)+1]
else:
login = nome
return login | [
"you@example.com"
] | you@example.com |
832673c8ebb766cb37ab04d94ec053f6ba356842 | c0c4fe8f9aff2e7684fcaf10329f963873753b2a | /src/biotite/sequence/alphabet.py | 90f246dabb05b57661b14007e7ad49eb3b56da95 | [
"BSD-3-Clause"
] | permissive | thomasnevolianis/biotite | 85e1b9d6a1fbb5d9f81501a8ebc617bc26388ab9 | 916371eb602cfcacb2d5356659298ef38fa01fcc | refs/heads/master | 2022-11-30T19:40:53.017368 | 2020-08-04T07:00:59 | 2020-08-04T07:00:59 | 285,375,415 | 0 | 0 | BSD-3-Clause | 2020-08-05T18:41:48 | 2020-08-05T18:41:47 | null | UTF-8 | Python | false | false | 16,309 | py | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
__name__ = "biotite.sequence"
__author__ = "Patrick Kunzmann"
__all__ = ["Alphabet", "LetterAlphabet", "AlphabetMapper", "AlphabetError"]
import copy
from numbers ... | [
"patrick.kunzm@gmail.com"
] | patrick.kunzm@gmail.com |
5a8f1beee8e1464524dd3fe03ee4b58d19ae0e88 | f4916957a4fd3165fb91369635f437b8b542e930 | /importer.py | 51f370b379004032ac8a94878ef56e84cc527253 | [] | no_license | jcongithub/oldmando | ae0bc296db9523060c4814354898cb5245d4a1ba | 37d109c2238f111f0a148a60be03bb12bf2e6070 | refs/heads/master | 2021-06-14T18:00:27.760743 | 2021-02-06T13:18:33 | 2021-02-06T13:18:33 | 56,347,831 | 0 | 0 | null | 2021-02-06T13:18:34 | 2016-04-15T20:27:25 | Python | UTF-8 | Python | false | false | 1,210 | py | import os
from stock import *
import sys
from os.path import isfile, join
from datetime import datetime
from datetime import date
import time
import dao
def strfftime(s, f1, f2):
return time.strftime(f2, time.strptime(s, f1))
def import_all_prices():
for stock in Stock.list():
ticker = stock['ticker... | [
"jc100102@gmail.com"
] | jc100102@gmail.com |
f299b233b68ede04a2e0da4d1289b98b42b3455d | d3efc82dfa61fb82e47c82d52c838b38b076084c | /Autocase_Result/KCB_YCHF/KCB_YCHF_MM/OMS_SHOffer/YCHF_KCBYCHF_OMS_SHOffer_119.py | 58eddaab5403d714716228dbb7cb1f33cb41d752 | [] | no_license | nantongzyg/xtp_test | 58ce9f328f62a3ea5904e6ed907a169ef2df9258 | ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f | refs/heads/master | 2022-11-30T08:57:45.345460 | 2020-07-30T01:43:30 | 2020-07-30T01:43:30 | 280,388,441 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,567 | py | #!/usr/bin/python
# -*- encoding: utf-8 -*-
import sys
sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api")
from xtp_test_case import *
sys.path.append("/home/yhl2/workspace/xtp_test//service")
from ServiceConfig import *
from ARmainservice import *
from QueryStkPriceQty import *
from log import *
sys.path.append... | [
"418033945@qq.com"
] | 418033945@qq.com |
ad171f7120c9bab591359ee02d1c9584203a680a | b04318d794d1e77362b4a7b35fa2e8c7764aa60f | /test/core/protocol/connection/test_wss_core.py | bbe7244fb9de44ec3bca35f7822dab1ad4c81e36 | [
"Apache-2.0"
] | permissive | aws/aws-iot-device-sdk-python | c4a5d99ecdf483d67b3704f58cb7238bc1959238 | f78e330bfc4f007be5ecbd269b2429718e9b25e2 | refs/heads/master | 2023-08-01T16:42:57.576372 | 2023-07-20T21:17:22 | 2023-07-20T21:17:22 | 60,723,336 | 761 | 498 | Apache-2.0 | 2023-07-20T21:17:24 | 2016-06-08T19:06:12 | Python | UTF-8 | Python | false | false | 13,172 | py | from test.sdk_mock.mockSecuredWebsocketCore import mockSecuredWebsocketCoreNoRealHandshake
from test.sdk_mock.mockSecuredWebsocketCore import MockSecuredWebSocketCoreNoSocketIO
from test.sdk_mock.mockSecuredWebsocketCore import MockSecuredWebSocketCoreWithRealHandshake
from test.sdk_mock.mockSSLSocket import mockSSLSoc... | [
"bretambrose@gmail.com"
] | bretambrose@gmail.com |
57ccd580e954028d3885004fc6b730237e1067ec | 969993314e660796aa8063af79d14b4600b1e20d | /eMail.py | 2a471b773c5624123f890ceffc8a58d20da609f4 | [
"MIT"
] | permissive | fizxmike/qualApp | 3be99213d05992f8db10ebb822b0c10acf30a2ac | 5e4c2fe0afdf9c1232c9b249773ee6f8f0927d6d | refs/heads/master | 2021-01-01T06:00:19.908687 | 2014-07-01T22:08:40 | 2014-07-01T22:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 137 | py | EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'qualapp@cart.ucsd.edu'
EMAIL_HOST_PASSWORD = ''
| [
"michael@Dubuntu.(none)"
] | michael@Dubuntu.(none) |
fd5722882d2f08ef73a644e947fe0684bbd17301 | 6052b1d422ebcbfc0f169ec613b1f71da976bdb8 | /Character_Builder/migrations/0002_character_race.py | 7d69f316f7671c5f8b80396a11d79c635adb042a | [] | no_license | NickJacksonDev/DnD-Manager | e777951268ca5f7a9a62dd9410446c5ee092158c | 36f416e56770a2a8c60e93652c084e32f96f86fa | refs/heads/master | 2020-04-21T04:14:34.279087 | 2019-04-08T16:45:44 | 2019-04-08T16:45:44 | 169,307,667 | 1 | 0 | null | 2019-04-08T16:45:45 | 2019-02-05T20:28:12 | Python | UTF-8 | Python | false | false | 587 | py | # Generated by Django 2.1.7 on 2019-04-08 02:08
import Character_Builder.models
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('Character_Builder', '0001_initial'),
]
operations = [
migrations.AddField(
... | [
"34148647+DelgadoJosh@users.noreply.github.com"
] | 34148647+DelgadoJosh@users.noreply.github.com |
7b095086d4b76d1d8805eb23c5ec0a44ea477a7d | ea49dd7d31d2e0b65ce6aadf1274f3bb70abfaf9 | /problems/0038_Count_and_Say/39_2nian.py | 22f97ff32c00a6c181b30d8c2a7cc50d5bd7beb3 | [] | no_license | yychuyu/LeetCode | 907a3d7d67ada9714e86103ac96422381e75d683 | 48384483a55e120caf5d8d353e9aa287fce3cf4a | refs/heads/master | 2020-03-30T15:02:12.492378 | 2019-06-19T01:52:45 | 2019-06-19T01:52:45 | 151,345,944 | 134 | 331 | null | 2019-08-01T02:56:10 | 2018-10-03T01:26:28 | C++ | UTF-8 | Python | false | false | 566 | py | class Solution(object):
def countAndSay(self, n):
"""
:type n: int
:rtype: str
"""
phrase = "1"
for i in range(n-1):
phrase = self.count(phrase)
return phrase
def count(self,phrase):
count=0
result=""
curr =... | [
"457649408@qq.com"
] | 457649408@qq.com |
10ad04ad666ded682fd737b546dfa941204358d6 | e438eedbb4aae62544f0a0de46b1bdff801147d1 | /signature/recognition.py | 34943680d4022a028a6939e3df8301a7770aecaa | [] | no_license | colombmo/pattern-recognition | 013bb35d016b3bb5c7ed41810c32c0aac9e0b4b2 | 3b40e92aa1fe6e1971e3a53bc8993bf532f67fc9 | refs/heads/master | 2021-01-23T06:10:23.790752 | 2017-05-29T11:17:20 | 2017-05-29T11:17:20 | 86,341,944 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,481 | py | import numpy as np
from scipy.spatial.distance import euclidean
from fastdtw import fastdtw
import datetime
import os
# Read feature vectors from .txt
features = {}
enrollment = {}
previous = {}
# Get name of signatures files
with open("users.txt", "r") as myfile:
lines = myfile.readlines()
# Loading enrollment ... | [
"egzon.syka@students.unibe.ch"
] | egzon.syka@students.unibe.ch |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.