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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2a992f5ec919036c7b140d728f04d5c0d6585cb | 252b3451ad9683166937152444fedec8b5da6647 | /py/RepairUserDBPRefs.py | af964a133f91893c3a8aa04693308e54ac11ab7b | [
"MIT"
] | permissive | faithcomesbyhearing/dbp-etl | 993c4c329d8f1950234f02f7fb048ec29b1883da | eb56863415d0d83f7f7928d0fcf927425c039f95 | refs/heads/master | 2023-08-08T15:11:37.815057 | 2023-07-10T16:10:21 | 2023-07-10T16:10:21 | 204,502,403 | 1 | 1 | MIT | 2023-07-24T23:39:37 | 2019-08-26T15:12:47 | Python | UTF-8 | Python | false | false | 2,605 | py | # RepairUserDBPRefs.py
from SQLUtility import *
class RepairUserDBPRefs:
def __init__(self, db):
self.db = db
self.notFound = set()
self.updateRows = []
def repairPlayListItemsFileset(self, dbpName, dbpUserName):
sql = ("SELECT distinct bs.id, bf.book_id FROM %s.bible_filesets bs"
" JOIN %s.bible_fil... | [
"gary@shortsands.com"
] | gary@shortsands.com |
4e5640d32dece435226c3a04629c8428395dfdc8 | 926339e237914fffc4d95c6835a198f5038d2a9d | /python/examples/cam_isi_parallel_yolo.py | 211e34acf19cb9f21d8cbcf11d6e1d9a0dd890f0 | [] | no_license | YuehChuan/Kneron_Computer_Lab | 34cb61523819683ddff2a77de09dee33c006d945 | 2c0e88556615b01b9613f10437bb3cbdd9744c8d | refs/heads/master | 2023-01-05T13:23:03.820594 | 2020-11-06T03:34:20 | 2020-11-06T03:34:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,638 | py | """
This is the example for cam isi yolo.
"""
import ctypes
import sys
import cv2
import time
from common import constants
from python_wrapper import kdp_wrapper
def handle_result(inf_res, r_size, frames):
"""Handle the detected results returned from the model.
Arguments:
inf_res: Inference result dat... | [
"kidd@KIDD_THINKPAD.localdomain"
] | kidd@KIDD_THINKPAD.localdomain |
7302dce4d0794e688f937ea41f240a1aa6136abb | 6527b66fd08d9e7f833973adf421faccd8b765f5 | /yuancloud/addons/hr_payroll/report/report_payslip_details.py | d83a5bdbeb2c165176384bdbb5aa38a033c7ea3f | [] | no_license | cash2one/yuancloud | 9a41933514e57167afb70cb5daba7f352673fb4d | 5a4fd72991c846d5cb7c5082f6bdfef5b2bca572 | refs/heads/master | 2021-06-19T22:11:08.260079 | 2017-06-29T06:26:15 | 2017-06-29T06:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,062 | py | #-*- coding:utf-8 -*-
# Part of YuanCloud. See LICENSE file for full copyright and licensing details.
from yuancloud.osv import osv
from yuancloud.report import report_sxw
class payslip_details_report(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context):
super(payslip_details_report, self).... | [
"liuganghao@lztogether.com"
] | liuganghao@lztogether.com |
3ee922ee2a29350a4af5ef743544db3cde942c9d | 9089e7afd65ba2c6d5607999b7b7c7eacbc59b61 | /python3/aboveaverage.py | 07b5c840c9eb47438c2add8cfe6b55a8bb352e52 | [] | no_license | TheChickenBoy/kattis | 9e9fb88436991db9c2f290064c70881f46a13440 | fdeb99faf5f630607c5179c678b03270869bae75 | refs/heads/master | 2023-03-19T10:18:10.084193 | 2021-03-18T14:53:34 | 2021-03-18T14:53:34 | 217,545,715 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 260 | py | import sys
input()
for l in sys.stdin:
n=0
l = l.split()
l = list(map(int, l))
tot = sum(l[1:l[0]+1])
avg = tot/l[0]
for i in range(1,l[0]+1):
if l[i]>avg:
n+=1
print("%.3f" % ((n/l[0])*100)+'%')
| [
"c16gws@cs.umu.se"
] | c16gws@cs.umu.se |
2bb5e0c565e31cfd2f52b6a0a8799a13ad723fd2 | a5d750f171119b6c40db155be17a79fb743f213d | /init_db.py | a6e10967e1eca58780a07169c53741ad9265e145 | [] | no_license | ValentynZal/Low_Level_Rest_Api | 4525aaab0c69aecaf89495985dbc67e764b9adef | 38a5697a903eadf83cbfcf9494ade20e3956716d | refs/heads/master | 2020-11-30T18:42:30.730894 | 2019-12-27T14:16:08 | 2019-12-27T14:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 500 | py | from pymongo import MongoClient
# client = MongoClient("mongodb://localhost:27017/")
# db = client['database']
# users = db['users']
# install `mongodb`
# > `sudo service mongodb start`
# add path to mongo "connector" to the end of ~/.bashrc
# > `source ~/.bashrc`
client = MongoClient('mongodb+srv://valentyn:val110... | [
"valentin11091994@gmail.com"
] | valentin11091994@gmail.com |
4a4c1b576510a6956a1257700a407e6f513539af | 054ef562d1d785568aaadae9b0d19f095fb23cb4 | /py_file/ch01/pratice1.py | 5f96ba5cff9e9bddf4ed8baaf3497f9d45dd784f | [] | no_license | danial1021/python-study | 4653799f906983e4a5d1158d05dc2c50609bb5f9 | e90b2876d5aa8c14c1875900ae994520373c592b | refs/heads/master | 2022-01-23T02:49:31.000427 | 2019-07-22T14:30:00 | 2019-07-22T14:30:00 | 198,238,898 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 532 | py | # import json
# from urllib.request import urlopen
# url = "https://raw.githubusercontent.com/AstinChoi/introducing - python/master/intro/top_rated.json"
# response = urlopen(url)
# contents = response.read()
# text = contents.decode('utf8')
# data = json.loads(text)
# for video in data['feed']['entry'][0:6]:
# pr... | [
"41097199+danial1021@users.noreply.github.com"
] | 41097199+danial1021@users.noreply.github.com |
c3ac4d7052deeb6a92cc08d8afa96bfe69bad7c5 | 89b3278546cf9e8dd5a6a8b927ca722eb635dc02 | /apps/global_crm/migrations/0004_gcrm_vehicle.py | 556096849f1aa9cbeee1d9b87d8d1dae3fbcf9d1 | [] | no_license | RichardHarleyson/greenhub_actual | 27d2e33f97b70411198cf291239cdf1a97b153a1 | 0d00a23016a44dcf72b902222c225e98c8f933f9 | refs/heads/master | 2020-06-24T17:06:32.307639 | 2019-09-19T07:00:56 | 2019-09-19T07:00:56 | 199,023,995 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,383 | py | # Generated by Django 2.2.3 on 2019-09-13 06:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('global_crm', '0003_gcrm_files'),
]
operations = [
migrations.CreateModel(
name='GCrm_Vehicle',
... | [
"richard.harleyson@gmail.com"
] | richard.harleyson@gmail.com |
abd483a92b46bcc489964117d2d3e22fac094d51 | 554e71d2525122a97529da5241f2655a883217c2 | /progclub/__init__.py | 092a5b28564077275eee818decfa9c6a6fc76a5e | [] | no_license | jstankevicius/progclub | 84c46a957adb46273e2aa9e7b3c520aebed7607d | 04c2507be26ebbc6ef14af2d034968baebec8130 | refs/heads/master | 2023-05-30T15:33:40.040751 | 2020-06-07T22:55:26 | 2020-06-07T22:55:26 | 155,287,633 | 0 | 0 | null | 2023-05-01T20:32:31 | 2018-10-29T22:06:53 | Python | UTF-8 | Python | false | false | 1,589 | py | import os
from flask import Flask
def create_app(test_config=None):
# test_config is an application configuration that makes launching easy. It's populated with values
# that make things convenient, and should never be deployed. We pass it in during testing.
app = Flask(__name__, instance_relative_config... | [
"juuuuuustas@gmail.com"
] | juuuuuustas@gmail.com |
82ac02823b951c6cdf88c7b3a83674150f9977c2 | 1efd2de8bf77ec00eb2fcaf5749278495946d920 | /src/tests/ftest/security/cont_overwrite_acl.py | 786f66c96bf3fd07316c9d50547e79efc4c662b2 | [
"BSD-2-Clause",
"BSD-2-Clause-Patent"
] | permissive | daos-stack/daos | 6f55bf3061fd830d5b8d28506e1295e2d3a27c38 | ed5eed5df43a68571afe123132a743824c02637a | refs/heads/master | 2023-08-31T21:43:37.606145 | 2023-08-31T16:38:00 | 2023-08-31T16:38:00 | 69,390,670 | 631 | 300 | NOASSERTION | 2023-09-14T18:55:15 | 2016-09-27T19:21:29 | C | UTF-8 | Python | false | false | 6,872 | py | """
(C) Copyright 2020-2023 Intel Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
"""
import os
from avocado import fail_on
from cont_security_test_base import ContSecurityTestBase
from security_test_base import create_acl_file
from exception_utils import CommandFailure
class OverwriteContainerACLTes... | [
"noreply@github.com"
] | daos-stack.noreply@github.com |
d1c4c957c81afd15f65046c44005c988470251f5 | 37786f3e0bee213f3fe19e77f6fd4b21fa35caa8 | /mysite/settings.py | c38be37aaff4510073a8308bb732e36d37afd155 | [] | no_license | Danush-TBR/mysite | 753afbae4d1acdf405f532022c8224a2b7a650ee | 69c61bae1ef220b3f4155747818fbb39c0cfffde | refs/heads/master | 2023-05-02T19:06:53.625365 | 2021-06-01T11:40:06 | 2021-06-01T11:40:06 | 372,494,097 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,161 | py | """
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 3.0.2.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import os
# ... | [
""
] | |
5d9f9b56fad107e99ce1f288022325480df0eb8c | efb5f556f7937dd8d1507f4d293f4d541cf0c494 | /test.py | 1f26b376f757d16dca17f6d15f4408419e5b8ea8 | [] | no_license | bomer/friend | 32a45741e15482c7a81367870db74fc96615dfc1 | 13f0aed8c72f3457323bab7cf35d3eebc70634c8 | refs/heads/master | 2021-01-21T14:24:07.392570 | 2017-06-24T10:38:08 | 2017-06-24T10:38:08 | 95,275,545 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 204 | py | #!/usr/bin/python
import requests
import re
url = 'https://www.facebook.com/jimmeyotoole'
idre = re.compile('"entity_id":"([0-9]+)"')
page = requests.get(url)
print(idre.findall(page.content.decode()))
| [
"jimmeyotoole@gmail.com"
] | jimmeyotoole@gmail.com |
b325fdda2434f2dac699faab094d01d09f64c730 | 7cfc2f7776f1fd871a924fd97dc70f846b005ca1 | /chef/api.py | 6f7a9ef9f7aa7cc2a539d991ef04ca4abf3548bc | [] | no_license | cshoe/pychef | 5468860cb14936bcbc3205fed2429ef58854d04c | 1c80c4fe6de5639d4fee39147394a0599d66e20f | refs/heads/master | 2021-01-18T03:01:45.892341 | 2012-03-09T22:51:45 | 2012-03-09T22:51:45 | 3,675,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,081 | py | import copy
import datetime
import itertools
import logging
import os
import re
import socket
import threading
import urllib2
import urlparse
import weakref
from chef.auth import sign_request
from chef.exceptions import ChefServerError
from chef.rsa import Key
from chef.utils import json
from chef.utils.file import wa... | [
"noah@coderanger.net"
] | noah@coderanger.net |
b9a0408e0dabda6b8be355a48c7c23f94cc52019 | 9f0d2e04c0aa7b2874094f449c9b60fd25ba0fba | /oneflow/python/nn/modules/abs.py | 15a3e01f9b3704bef3ada383fd1065945d6e1329 | [
"Apache-2.0"
] | permissive | sunying1985/oneflow | 47dcbfefbb5c3a0aa98c857e80f32a28fe99804f | 19840dad68a8569179946c1065cc138aec05762a | refs/heads/master | 2023-05-07T09:11:14.646646 | 2021-06-03T08:18:20 | 2021-06-03T08:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,675 | py | """
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | [
"noreply@github.com"
] | sunying1985.noreply@github.com |
fb083383c0c94fd158db93ea4b6ff27f779e3749 | 7bb4ed3368e8cad656a44a450c8269151530b9d5 | /profiles/views.py | 1ebf28aa989f0503206e41037b012711758a25f7 | [] | no_license | AmyKeedwell/boutique_ado_v1 | b2582e589bbde9c348f87a29b3dc41e1a57f1984 | aa305cd8ed14acb42586c7b50e98bf070467f47a | refs/heads/master | 2023-03-12T10:35:05.544308 | 2021-02-24T22:26:13 | 2021-02-24T22:26:13 | 333,544,376 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,447 | py | from django.shortcuts import render, get_object_or_404
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from .models import UserProfile
from .forms import UserProfileForm
from checkout.models import Order
@login_required
def profile(request):
""" Display the user's pr... | [
"amii1595@live.co.uk"
] | amii1595@live.co.uk |
0deaced6af485fc7f0776b21c7ae87698979dd38 | 6c137e70bb6b1b618fbbceddaeb74416d387520f | /lantz/lantz/drivers/sutter/__init__.py | f709816f89e0bcceb3dc86f45da921b110797cce | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | zhong-lab/code | fe497c75662f8c3b7ab3c01e7e351bff6d5e8d15 | b810362e06b44387f0768353c602ec5d29b551a2 | refs/heads/master | 2023-01-28T09:46:01.448833 | 2022-06-12T22:53:47 | 2022-06-12T22:53:47 | 184,670,765 | 2 | 7 | BSD-2-Clause | 2022-12-08T21:46:15 | 2019-05-02T23:37:39 | Python | UTF-8 | Python | false | false | 403 | py | # -*- coding: utf-8 -*-
"""
lantz.drivers.sutter
~~~~~~~~~~~~~~~~~~~~
:company: Sutter Instrument.
:description: Biomedical and scientific instrumentation.
:website: http://www.sutter.com/
---
:copyright: 2015 by Lantz Authors, see AUTHORS for more details.
:license: BSD, see LICENSE ... | [
"none"
] | none |
52cd2578eea6bc7e17510763df69c81f4119dc49 | f6e84c31d892479443d4e6aaf23bfab08684be33 | /uva10407.py | 388577120166078717ee9a63a3f6e540ebcb0adb | [] | no_license | engrjislam/uva_python | 92a9cf04aac597083a78f5e8d7ebe31f3229de6a | 00eb4cd514cf26524bcf242e66bfedaee971450e | refs/heads/master | 2021-08-17T07:32:00.015545 | 2017-11-20T23:08:57 | 2017-11-20T23:08:57 | 111,472,624 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | '''
uva: 10407
description: https://uva.onlinejudge.org/external/104/10407.pdf
'''
def prime_factors(n):
i = 2
factors = []
while i * i <= n:
if n % i:
i += 1
else:
n //= i
factors.append(str(i))
if n > 1:
factors.append(str(n))
return fac... | [
"noreply@github.com"
] | engrjislam.noreply@github.com |
a98a0e4a4eaff54681612508e9d55ab2ee5e152f | ea76f885ffa65f2136203bbc31d7b7e7d424df7e | /snakemake/wrappers/.snakemake.y61_7wgk.merge_bams_wrapper.py | 1ebad7c6f176114d26b4fbe750201714d4e748a8 | [
"BSD-2-Clause"
] | permissive | saketkc/EE-546-project | b193e6075641b974bb87f3a08d1ecf56fdd99b2e | fb7eacd90f6c0a2cb3061837ec5427a14f521aa5 | refs/heads/master | 2021-10-21T04:42:44.796718 | 2019-03-03T03:08:15 | 2019-03-03T03:08:15 | 157,302,728 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,792 | py |
######## Snakemake header ########
import sys; sys.path.append("/home/cmb-panasas2/skchoudh/software_frozen/anaconda27/envs/riboraptor/lib/python3.5/site-packages"); import pickle; snakemake = pickle.loads(b'\x80\x03csnakemake.script\nSnakemake\nq\x00)\x81q\x01}q\x02(X\x06\x00\x00\x00outputq\x03csnakemake.io\nOutputFi... | [
"saketkc@gmail.com"
] | saketkc@gmail.com |
4dbc084d2391baf59d7cde123f2e02c50a6245dd | 9fad5a74c85cd84ab32e39fbbeb17201761b36e9 | /example/01自然语言处理库Jieba介绍/03基于TF-IDF算法的关键词抽取.py | 569edcefe094ba8f706cdd3c088b9ef02ebdc056 | [
"Apache-2.0"
] | permissive | hanyanze/FS_AILPA | 4bcd3b75c23e20024c811036f7d4eda870e30d77 | 78cc2f196895972ba1c77f58140e224cdda79ae1 | refs/heads/master | 2022-10-25T20:04:56.129628 | 2020-06-19T08:41:38 | 2020-06-19T08:41:38 | 272,838,399 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 280 | py | import jieba.analyse
file = "ai.txt"
topK = 12
content = open(file, 'rb').read()
tags = jieba.analyse.extract_tags(content, topK=topK)
print(tags)
# withWeight=True:将权重值一起返回
tags = jieba.analyse.extract_tags(content, topK=topK, withWeight=True)
print(tags)
| [
"825537984@qq.com"
] | 825537984@qq.com |
05230055fc67f20dc0ec377ab0ff22129b514146 | 99038ddca74c58511f7ca0c5df42fe7803175d48 | /python/Angle between hour and minute hand.py | 677efb5b7e8cf16efdbc77b1a7027ee41c7c0d2e | [] | no_license | agrawal-prateek/GeeksForGeeks | ba5ecad3244b7ce31e8cf4514d473169569e3188 | 7d62787f8e9b92218608107b947841e5b1c72dd9 | refs/heads/master | 2020-09-23T01:00:50.014385 | 2019-12-08T17:53:14 | 2019-12-08T17:53:14 | 225,360,773 | 6 | 1 | null | null | null | null | UTF-8 | Python | false | false | 948 | py | """
Calculate the angle between hour hand and minute hand.
There can be two angles between hands, we need to print minimum of two. Also, we need to print floor of final result
angle. For example, if the final angle is 10.61, we need to print 10.
Input:
The first line of input contains a single integer T denoting t... | [
"prateekagrawal89760@gmail.com"
] | prateekagrawal89760@gmail.com |
4a0f75b53e79c596a27d59894857f06c5efba9ef | ebb9e1bbec3a33b5ca60c91debde0d4ad31313fc | /agenda/migrations/0010_alocarveiculos.py | 23fdfda4db15e875cb3452c7c96ac619ce696f59 | [] | no_license | KennyaLacerda/hackathon | 2c9a17930d8ed21678439dd94094e720f0f80bd2 | 12ddaeb7f4cb9fff8148cd590f5bca5272d9250b | refs/heads/master | 2020-03-30T05:38:55.823063 | 2018-09-29T20:13:38 | 2018-09-29T20:13:38 | 150,811,476 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 887 | py | # Generated by Django 2.0.5 on 2018-09-29 14:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('agenda', '0009_auto_20180929_1031'),
]
operations = [
migrations.CreateModel(
name='AlocarVeicu... | [
"kennyalacerda7@gmail.com"
] | kennyalacerda7@gmail.com |
a6784b42db1a770abe4cd1adbbd98bbf547484ac | 27bf045d1e09cb7c01aa3d1d7f2ae9cc40638d0b | /RBE/main/admin.py | 76789cb92b02f15c8b88bc1f66c82d8e5e8bf2e1 | [
"Unlicense"
] | permissive | rodgar-nvkz/RBE | bb8f43ed104ca1b3ec4e0ccfc77d96d793dcff30 | 72c7f0074a2cf95b7687bac385431a0980a1cc4a | refs/heads/master | 2020-04-22T17:16:27.810101 | 2013-08-25T04:19:19 | 2013-08-25T04:19:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 181 | py | __author__ = 'rd'
from django.contrib import admin
from RBE.main.models import Post, Comment, Tag
admin.site.register(Tag)
admin.site.register(Post)
admin.site.register(Comment)
| [
"rodgar.nvkz@gmail.com"
] | rodgar.nvkz@gmail.com |
4977570fdaf2585c078ab21fa82c8161cbaa0966 | 8297f75acb278645d40944172f97a8fe5a0c93b2 | /.github/多任务/utils/data_generator.py | 4d303b1b3f7725ced88ad65026cd756fc8eae2ee | [] | no_license | zhuangzhuangliu2345/DCASE_task5 | 506c6dd934c98ee1666ee04f8e64a555d320940c | 8aaa66a523e545b4a16a48bdffc2b54c200c73d2 | refs/heads/master | 2022-10-25T10:29:38.476796 | 2020-06-15T14:48:29 | 2020-06-15T14:48:29 | 272,459,594 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,469 | py | import numpy as np
import h5py
import csv
import time
import logging
import os
import glob
import matplotlib.pyplot as plt
import logging
from utilities import scale
import config
class Base(object):
def __init__(self):
pass
def load_hdf5(self, hdf5_path):
'''Load hdf5 file.
... | [
"noreply@github.com"
] | zhuangzhuangliu2345.noreply@github.com |
381d8016164de334a61bb618bd91fafe9877e24e | a5de1b3e011ef93d297624e2b186f729940e6bf0 | /pages/migrations/0001_initial.py | bc49072a72b8a8383681b18e77c4c2ef3e7f5c03 | [] | no_license | pradeep1841/carzone-gitproject | 6654d1e764c9a5d738d041fc30fa33b43a6ead06 | 84406f9788a5027ace531af57ba9185a1aa9c0f8 | refs/heads/master | 2023-08-15T19:56:04.448615 | 2021-10-16T14:55:35 | 2021-10-16T14:55:35 | 417,097,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 983 | py | # Generated by Django 3.2.5 on 2021-10-16 10:07
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Teams',
fields=[
('id', models.BigAutoField... | [
"pradeep0987.kr@gmail.com"
] | pradeep0987.kr@gmail.com |
e83bf85c244afddcbffdd016450cd21b44cd5649 | 8977cf50896c5a4da46fff2a7ad1d17566f7d868 | /Solutions/problem70.py | 19ab0c2e78b244515d18e678cb31f9f65b77a8e2 | [] | no_license | njenga5/python-problems-and-solutions | 2d45d0252b63948f1052bf4d0fef5ac3b681e7c0 | 4413336c2851f42f35d84103fe10b0c58be476f7 | refs/heads/master | 2023-02-21T06:36:19.014934 | 2021-01-22T14:42:29 | 2021-01-22T14:42:29 | 331,972,084 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | '''
Question 70:
Write assert statements to verify that every number in the list [2,4,6,8] is even.
Hints:
Use "assert expression" to make assertion.
'''
even_nums = [2, 4, 6, 8]
for i in even_nums:
assert(i % 2 == 0)
| [
"joninduati31@gmail.com"
] | joninduati31@gmail.com |
fe0e76eeecca2a5753dd92495ee49dd5b15f970e | 088a1927cd9935aca23bba2a48b3edf181812ce9 | /10.topological_sort/python/main.py | 0e9dbc2f46a4757835b940827bbc069a9029f99a | [] | no_license | litcoderr/AlgorithmArchive | 0aa60a9d4d7549df50e8662cbc69b89e9934caad | ad820808423fcca47d70cda0ddb3436abd638781 | refs/heads/main | 2023-05-06T06:20:54.163634 | 2021-05-29T05:18:22 | 2021-05-29T05:18:22 | 364,423,720 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,332 | py | import argparse
from typing import List
parser = argparse.ArgumentParser()
parser.add_argument("--input_file", type=str)
args = parser.parse_args()
class Node:
def __init__(self, idx):
self.idx = idx
self.in_dim = 0
self.out = []
if __name__ == "__main__":
nodes = []
# initialize... | [
"litcoderr@gmail.com"
] | litcoderr@gmail.com |
21dfea0a3be2fd814fe476fc8aa4942aab81cab0 | f707277b4b9cd9ba9c8aaadf92baee1c3b4bef70 | /venv/bin/easy_install | 1896bb33f637f871aeec26d8edc35caef5e25250 | [] | no_license | mseslami/py_facedetection | e3a8dc8ac26df2c2c7e1d751c18cb20425f610fc | 69c6a7e1e4cab16184fd4b3fba9076b0c9ab4878 | refs/heads/master | 2020-03-29T10:30:13.405801 | 2018-10-27T10:52:13 | 2018-10-27T10:52:13 | 149,808,219 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 284 | #!/home/maryam/PycharmProjects/facedetectionproject/venv/bin/python3
# -*- 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())
| [
"m.eslami46@gmail.com"
] | m.eslami46@gmail.com | |
99faa28d8b599b1accf51cbc1bb5d6340c659602 | ce6703fc254e9a4fca5e5a85a40b9521fc9ef180 | /A/a.py | ab0b6027c817460c5cf2ee7b726674b7c10019fa | [] | no_license | adams-brian/icpc2018 | 154327afdd184895d05c96a682ebabbc7ca29222 | 2b326fb750a84acfb2dd5b4ea37db2795af04022 | refs/heads/master | 2020-04-24T13:44:46.388382 | 2019-02-28T04:33:13 | 2019-02-28T04:33:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,017 | py | import glob, os, time
def solve(filename):
print(filename)
start = time.time()
stationCount = 0
busEvents = []
with open(filename, "r") as file:
for i, line in enumerate(file):
row = line.split(' ')
if i == 0:
stationCount = int(row[1])
elif i > 1:
bus = [i -2, int(row[... | [
"brian.lives.outdoors@gmail.com"
] | brian.lives.outdoors@gmail.com |
faed20c0c949adb7bbe19ac384abbff88c24bbb5 | 0c799e226a5d30d9f94283de25c83b2ab9bcdf2d | /reddit/urls.py | c735827ef500cf755132745f6c14813b1a45d14c | [
"MIT"
] | permissive | RaghuDalal/Django-Reddit-API | fa5c0d1b939e641d17d6d565eae915f766b8acfe | bdaba40f003da59be5ba4cf7ab6d83b6bae7b99b | refs/heads/master | 2022-11-23T13:46:11.906039 | 2020-07-20T08:25:06 | 2020-07-20T08:25:06 | 281,020,668 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 390 | py | from django.contrib import admin
from django.urls import path, include
from posts import views
urlpatterns = [
path('admin/', admin.site.urls),
path('api/posts', views.PostList.as_view()),
path('api/posts/<int:pk>/vote', views.VoteCreate.as_view()),
path('api-auth/', include('rest_framework.urls')),
... | [
"raghvender002@gmail.com"
] | raghvender002@gmail.com |
1d7501c04e7e41331f36b5085202c7c1da7aa91b | 3af0b3d83893e94858e0113decfbdf4a6bf9eeab | /4_Tuples/tuples_basics.py | 14445ce16e0f4b5749c8c9edc9384fb8165d0cb2 | [] | no_license | MarKuchar/intro_to_algorithms | a34668359dc83bce938387fd4a08e6235a310aeb | 48bc8f0ce7a809fd530798e0f0ebc2789f6bf04b | refs/heads/master | 2021-01-06T23:33:36.384334 | 2020-02-11T01:26:21 | 2020-02-11T01:26:21 | 241,514,048 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 970 | py | # Tuples are almost identical to lists
# The only big difference between lists and tuples is that tuples cannot be modified (Immutable)
# You can NOT add(append), changed(replace), or delete "IMMUTABLE LIST"
# elements from the tuple
vowels = ("a", "e", "i", "o", "u") # consonants (b, c, d, ...)
print(vowels[0])
prin... | [
"martin.kuchar@MacBook-Pro.hitronhub.home"
] | martin.kuchar@MacBook-Pro.hitronhub.home |
33d9b8e295d573f6c414da2b3aff9d11ebb3ada6 | 5253e2d58cacc4f4d32748aa3db8757b078e8467 | /www/wsgi.py | d3d721a8d1b1282f35c07439b3cac4c5e715cf26 | [] | no_license | dinopetrone/skills-assessment | 865d6db73521c01733184a3d8ae2220a673b57cf | e9b910668d211fa525169d7637f52ed9b83eb5b2 | refs/heads/master | 2020-04-09T00:30:44.696754 | 2012-08-08T13:07:26 | 2012-08-08T13:07:26 | 5,330,145 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,128 | py | """
WSGI config for www project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` sett... | [
"dinopetrone@gmail.com"
] | dinopetrone@gmail.com |
12aeb18c431ea99533d5b3c5bccaa60d085562dd | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_176/ch49_2019_05_22_00_59_15_784231.py | 6287c21ef8e2f638ee853d9f682aadb6d254c24b | [] | 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 | 131 | py | n = int(input("digite números inteiros positivos"))
lista = []
while n > 0:
lista.append(n)
if n <= 0:
print (lista[:-1])
| [
"you@example.com"
] | you@example.com |
118a6ec75ee5d79d8967f3b128c733cada513d6e | 20f44972c4012d498e97aabb23f57e409867dbae | /Week_01/1_two_sum.py | 05a29fe97daf749ef2af974cdf5322edcc866aa1 | [] | no_license | Moziofmoon/algorithm-python | 246b8e9364ee122e2cc8f241dc3bb9f4ea9e5038 | e04453be648157a4d7dc8e264503d7301a46ef67 | refs/heads/master | 2022-12-07T13:19:23.816305 | 2020-09-04T11:18:39 | 2020-09-04T11:18:39 | 255,344,051 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,040 | py | # 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。
#
# 你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。
#
# 示例:
#
# 给定 nums = [2, 7, 11, 15], target = 9
#
# 因为 nums[0] + nums[1] = 2 + 7 = 9
# 所以返回 [0, 1]
#
# Related Topics 数组 哈希表
from typing import List
class Solution:
def twoSum(self, nums: List[int], t... | [
"yuesf23165498GZP!"
] | yuesf23165498GZP! |
31f11f0509a0c188a835bb0feefd1baf2f8b72d2 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/Unisphere-Data-Fractional-T1-CONF.py | 740a9c14e64b0cef168f696b297277fa62cadab5 | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 3,439 | py | #
# PySNMP MIB module Unisphere-Data-Fractional-T1-CONF (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Unisphere-Data-Fractional-T1-CONF
# Produced by pysmi-0.3.4 at Mon Apr 29 21:24:04 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using P... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
4b0dc3c03e8582628985d5f723c7b8a0ca1da2a9 | 59b34e241e101b282c92add9c7b6a06c2745b79d | /movieRent/startProgram.py | 6afe4cd4323567d80ae23597e17383dc7b8b74f5 | [] | no_license | lakatosandrei/FP | 6effc15995c5eaad41cea5acb782f99024cae6bc | 8157454e964f032aeb374b7b699e4e5c9b7caf76 | refs/heads/master | 2021-01-18T14:05:39.121685 | 2014-11-28T21:21:41 | 2014-11-28T21:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 763 | py | from Repository.clientRepository import clientRepository
from Domain.Validator import clientValidator, movieValidator
from Controller.Controller import clientController, movieController, rentController
from UI.Console import Console
from Repository.movieRepository import movieRepository
from Repository.rentReposit... | [
"alakatos@e1p5.cluj.42.fr"
] | alakatos@e1p5.cluj.42.fr |
bc75e0e8b53d166ef35ad1e672c590b261e0b2be | 12dff81bf8d1c0c33939c6bfff3153391f5f4038 | /sktime/forecasting/compose/__init__.py | faff16bdaf07a320dec9bcc093216a0eb7e21d65 | [
"BSD-3-Clause"
] | permissive | xuyxu/sktime | be5c823036deb342d1cf1c30fe13643391928e54 | 50765a6a5bf3a78096dcca10223b3320cf2aa5f0 | refs/heads/main | 2023-05-08T09:59:24.613214 | 2021-06-04T08:41:26 | 2021-06-04T08:41:26 | 373,827,188 | 1 | 0 | BSD-3-Clause | 2021-06-04T11:59:55 | 2021-06-04T11:59:54 | null | UTF-8 | Python | false | false | 1,773 | py | #!/usr/bin/env python3 -u
# -*- coding: utf-8 -*-
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file)
__author__ = ["Markus Löning"]
__all__ = [
"EnsembleForecaster",
"TransformedTargetForecaster",
"DirectTabularRegressionForecaster",
"DirectTimeSeriesRegressionForecaster",
"Mu... | [
"noreply@github.com"
] | xuyxu.noreply@github.com |
60e6e23108885383dcd50b191fa4248e922bf38e | 40654c67fa5e471050eba41385bc1e660825f91d | /apars/migrations/0003_auto_20200327_0102.py | 716fa0888fb608c55319d6e625cf4c91e52be72e | [] | no_license | PokidovaJulia/Avito_parser | 346ce45e7987c39cf09ab8f65c41c3380afdcfb0 | 8a6b32c35d0c9a0e68d64b8a3bb5933b4635fd60 | refs/heads/master | 2022-04-15T17:13:50.315590 | 2020-04-04T20:11:20 | 2020-04-04T20:11:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 424 | py | # Generated by Django 2.2.4 on 2020-03-26 22:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('apars', '0002_auto_20200327_0028'),
]
operations = [
migrations.AlterField(
model_name='product',
name='currency',
... | [
"pokidova93@bk.ru"
] | pokidova93@bk.ru |
efe60abd98a36cdb0614ab2e9e77ad6f49327781 | 88c4308e708ca4d0906eafef12b12069356bbb19 | /pytest_django/funcargs.py | d7a79141b518dc6ea4651dd0320698c95c37ecd2 | [
"BSD-3-Clause"
] | permissive | johtso/pytest_django | 0167f816d81e5bc8b0d067f2fce6d4b3a55534c3 | cbae5a64741267261a39703a6fce54f56be4efb6 | refs/heads/master | 2021-01-15T22:58:00.043820 | 2012-05-16T07:11:30 | 2012-05-16T07:11:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,241 | py | import copy
import os
from django.conf import settings
from django.contrib.auth.models import User
from django.db import connections
from django.test.client import RequestFactory, Client
try:
from django.test.testcases import LiveServerThread
LIVE_SERVER_SUPPORT = True
except ImportError:
LIVE_SERVER_SUPP... | [
"andreas@pelme.se"
] | andreas@pelme.se |
76ebeb5ca4de657e6a309f8e153f6d65e1abc80f | 5af92dd3504608af59e1dde5de8e4f8f742ef6a4 | /Python/TheOnlineStore.PY | f2c5501773e647b887fed5488565bb9987f8ee90 | [] | no_license | ccpink/Resume-Repository | e1fad1950db757600e9030e94bf1c70680aa7442 | 3270c6d8911345b83fe7ae496fa87929e5effb16 | refs/heads/master | 2021-06-24T05:41:41.964489 | 2021-04-16T07:57:59 | 2021-04-16T07:57:59 | 212,234,321 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,923 | py | #Don't forget to rename this file after copying the template
#for a new program!
"""
Student Name:
Program Title:
Description:
"""
def main(): #<-- Don't change this line!
#Write your code below. It must be indented!
#I need to create variables for total for order, Country and Provinces as we... | [
"noreply@github.com"
] | ccpink.noreply@github.com |
aa04ef433275e7caf4d0845d3d7fc69236b6ad02 | 58af681bc688fc5f9a5582c19f16b2e338d915a9 | /userapp/admin.py | e4552818003917c6bfc1f037c7224541d5fd0670 | [] | no_license | byIlusion/GB_GeekShop | 60cde2cc001032abe29b8cb881a4deb27749df87 | 11acfa71ae59decf536c55ff72cb799fe1585752 | refs/heads/main | 2023-04-07T16:51:38.767740 | 2021-04-07T07:08:42 | 2021-04-07T07:08:42 | 330,924,424 | 0 | 0 | null | 2021-04-07T07:08:42 | 2021-01-19T09:15:47 | CSS | UTF-8 | Python | false | false | 729 | py | from django.contrib import admin
from userapp.models import User
# admin.site.register(User)
@admin.register(User)
class UserAdmin(admin.ModelAdmin):
list_display = ('id', 'username', 'first_name', 'last_name', 'date_joined', 'last_login', 'is_staff',
'is_superuser', 'is_active')
... | [
"by_Ilusion@mail.ru"
] | by_Ilusion@mail.ru |
c791b9edce3e0692bce8c7708e6e86eaf8c17daf | 2bacd64bd2679bbcc19379947a7285e7ecba35c6 | /1-notebook-examples/keras-udemy-course/svm_class/util.py | 04e8003b05e99bcd2186fea5bcceb671635c0246 | [
"MIT"
] | permissive | vicb1/deep-learning | cc6b6d50ae5083c89f22512663d06b777ff8d881 | 23d6ef672ef0b3d13cea6a99984bbc299d620a73 | refs/heads/master | 2022-12-12T15:56:55.565836 | 2020-03-06T01:55:55 | 2020-03-06T01:55:55 | 230,293,726 | 0 | 0 | MIT | 2022-12-08T05:27:43 | 2019-12-26T16:23:18 | Jupyter Notebook | UTF-8 | Python | false | false | 4,450 | py | # https://deeplearningcourses.com/c/support-vector-machines-in-python
# https://www.udemy.com/support-vector-machines-in-python
from __future__ import print_function, division
from builtins import range
# Note: you may need to update your version of future
# sudo pip install -U future
import numpy as np
import pandas ... | [
"vbajenaru@gmail.com"
] | vbajenaru@gmail.com |
d85e4b271e3cd7413f1cccb16badfcd4789785dc | a34afa627a19c4b8247761119af31424afb6950f | /node_modules/midi/build/config.gypi | 4e1f5ccb7eb3a6f01377c959615b546964a0fa09 | [
"Unlicense",
"MIT"
] | permissive | stephenmurray2/kano-theremin | f8b4fd1c1e6feedbef15ca48edd6984010aface2 | 6a5d198ddf2659ce6208b43a173f65a0ee33f8fb | refs/heads/master | 2020-03-13T17:34:04.044349 | 2018-04-26T23:32:35 | 2018-04-26T23:32:35 | 131,219,584 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,335 | gypi | # Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"asan": 0,
"coverage": "false",
"debug_devtools": "node",
"force_dynami... | [
"stephenandrewmurray@gmail.com"
] | stephenandrewmurray@gmail.com |
bea38af7cab7cbe4cdbba7d9b3882797557e1005 | 976fb11b4e6bd0a1ec0bb66052f970dba823b558 | /create_rwht_options/create_rwht_options/create_rwht_options.py | 1732ae516239dbd1500da8baba82789c37cf2b90 | [] | no_license | accastonguay/dynamind_modules | c206b13965f8a78b3ce330de20d154e325463c26 | d7ab0d85571a0418f29d1e8df9db6a694e0edec4 | refs/heads/master | 2020-04-15T15:23:21.998244 | 2018-08-06T02:03:43 | 2018-08-06T02:03:43 | 52,499,444 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 115 | py | """
@author Adam Castonguay <adam.charette.castonguay@monash.edu>
"""
from create_rwht_options import *
| [
"kyrielle53@yahoo.ca"
] | kyrielle53@yahoo.ca |
c57e39808d7c0426819b078e11ed25f61e133f8a | 140c0d57e1b0daf855320681ab32f73b18ae2e1a | /PythonCode/ex2.py | d4b03a88f57cbca91b2a7cc592509f317cf5b767 | [] | no_license | ItManHarry/Python | f457a91624219b920c5477583d2750971a950f23 | d07e10ece76519e424f175fd07f3ba5ac54a0df7 | refs/heads/master | 2023-02-17T12:43:12.775037 | 2023-02-14T01:53:57 | 2023-02-14T01:53:57 | 122,717,872 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 287 | py | #comment , this is so you can read you program later
#Anything after the # is ignored by python
print "I could have code like this." #and the comment after is ignored
#you can also use a comment to "disabled" or comment out a piece of code :
#print "This won't run"
print "This will run" | [
"jack_chengqian@163.com"
] | jack_chengqian@163.com |
89cb3c4b47c6622b7c32df010a025f6394d09fa9 | 9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612 | /19100305/findyourselfloveyourself/d5_exercise_array.py | f19885fe0dec957bac30875e3e8ad24fcc156e0c | [] | no_license | shen-huang/selfteaching-python-camp | e8410bfc06eca24ee2866c5d890fd063e9d4be89 | 459f90c9f09bd3a3df9e776fc64dfd64ac65f976 | refs/heads/master | 2022-05-02T05:39:08.932008 | 2022-03-17T07:56:30 | 2022-03-17T07:56:30 | 201,287,222 | 9 | 6 | null | 2019-08-08T15:34:26 | 2019-08-08T15:34:25 | null | UTF-8 | Python | false | false | 239 | py | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
a=[1,2,3,4,5,6,7,8,9]
a.reverse()
print(a)
b=[str(i)for i in a]
print(b)
c="".join(b)
print(c)
letter=c
letter=letter[2:-1:1]
print(letter)
d=letter
print(d)
d = int(letter)
print(bin(d), oct(d), hex(d))
| [
"48744155+findyourselfloveyourself@users.noreply.github.com"
] | 48744155+findyourselfloveyourself@users.noreply.github.com |
4f63f863fe4ee61773d99af195ac113c5119a300 | 6437af616b0752b24e1b62bc98d302b2e04a7c85 | /pagnition/supplier/www.houzz.co.uk/pagination.py | 2478507174a2e07118bb0eda483547590d10f403 | [] | no_license | kangqiwang/imageWebCrawler | 4c7ebc0c93fd52b27f08a0f79302885d95f53a6e | 76fe21802a5a03638e324e6d18fe5698a69aba70 | refs/heads/master | 2022-05-31T00:51:39.649907 | 2019-08-28T15:06:37 | 2019-08-28T15:06:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 915 | py | import pandas as pd
import numpy as np
import requests
def pagnition():
df=pd.read_csv("pagnition/input/houzz_co.uk.csv",usecols=['Category URL','Product Count'])
tmpList=['url']
for url, count in zip(df['Category URL'],df['Product Count']):
urltmp=''
numbertmp=0
# if "categories... | [
"kang@sourcemogul.com"
] | kang@sourcemogul.com |
9f5875e4b9a79aceced353ef4c7aeb17f642ce8e | 657d549ffa47c4ef599aa5e0f5760af8de77fec4 | /src/model/metrics.py | d77019b7766851c1baa07e13c6c79cfbd9865c45 | [] | no_license | Tung-I/Incremental_Learning | 68357d3db5a646aa6b3df844b85e12fa45e3eb3e | 95602f404ab8dd627c5dd5fcc94a4a071ad330ab | refs/heads/master | 2021-01-14T15:18:21.941132 | 2020-03-30T04:04:13 | 2020-03-30T04:04:13 | 242,659,450 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,589 | py | import torch
import torch.nn as nn
class Accuracy(nn.Module):
"""The accuracy for the classification task.
"""
def __init__(self):
super().__init__()
def forward(self, output, target):
"""
Args:
output (torch.Tensor) (N, C): The model output.
target (to... | [
"dong893610@gmail.com"
] | dong893610@gmail.com |
21791f32c425cacd10fde375a9274782dd3e7f23 | 720e1b08abda01ad9645b043103050643142e519 | /ops/dataset.py | e043f59d96e226d68303ab88e8a07ef416a65a9a | [
"Apache-2.0"
] | permissive | KevinQian97/actionpose-release | 8ba0f4a0c5458bf5b54727522a5c053ba68e841f | 0bf7ae1c30d1b2a1a6a18fc662e22da519d41e0c | refs/heads/main | 2023-04-20T16:18:15.772245 | 2021-05-16T00:30:11 | 2021-05-16T00:30:11 | 367,750,764 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,448 | py | import torch.utils.data as data
from avi_r import AVIReader
from PIL import Image
import os
import torch
import numpy as np
from numpy.random import randint
import cv2
import json
import decord
from decord import VideoReader
from decord import cpu, gpu
import torchvision
import gc
import math
from ops.record import Vid... | [
"kevinqianyijun@gmail.com"
] | kevinqianyijun@gmail.com |
76ccb21b726255190d7d6b15440749c4858d0266 | d65f89ffa07c0d8ae868003dd102a8950a19f1b4 | /Strings/2242.py | c25e43ec95e7bbeacd272d6bb2db466d7b9e3ba9 | [] | no_license | BarthJr/URI-Online-Judge | 5258fc573c593365e2f3e2d998fb806345cf777d | caf0cafe4c0fd8857f81a5dd81252e7ab42fda7e | refs/heads/master | 2020-04-20T20:26:18.901890 | 2019-02-20T22:09:59 | 2019-02-20T22:09:59 | 169,076,767 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 683 | py | # https://www.urionlinejudge.com.br/judge/en/problems/view/2242
def verify_laugh(laugh):
chunks = []
for char in laugh:
if char in 'aeiou':
chunks.append(char)
laugh_without_consonants = ''.join(chunks)
if laugh_without_consonants == ''.join(reversed(laugh_without_consonants)):
... | [
"juniior.barth@gmail.com"
] | juniior.barth@gmail.com |
007fc890d58d95dd64e1189dc62371f0b7d0f23f | c4acd268a81eab784adf8ad61090200e06e9c81c | /agents/dqn_v1/actions/discrete.py | e583fcbb280dae340f25aa6b00261d7582e59a31 | [
"MIT"
] | permissive | pedMatias/matias_hfo | 7100d6d7ce12cb59bf103252054fbe8566d6ca6e | 6d88e1043a1455f5c1f6cc11b9380869772f4176 | refs/heads/master | 2021-03-08T07:36:52.517964 | 2021-01-08T21:17:27 | 2021-01-08T21:17:27 | 246,330,403 | 1 | 1 | MIT | 2021-01-08T21:17:28 | 2020-03-10T14:56:45 | Python | UTF-8 | Python | false | false | 8,269 | py | import random
from hfo import MOVE_TO, DRIBBLE_TO, KICK_TO, NOOP, SHOOT, PASS, MOVE
from agents.base.hfo_attacking_player import HFOAttackingPlayer
from agents.dqn_v1.features.discrete_features import \
DiscFeatures1Teammate
class DiscreteActions:
""" This class uniforms Move and Dribble actions. It allows ... | [
"pedrosantox2@gmail.com"
] | pedrosantox2@gmail.com |
8e63316e92985c4b390459b7b3b79bd847202bb9 | 07273d9d20d1c96940a99d70892f9546679c4430 | /back-end/modelo.py | 5439ec5a065e48e70d51e91db516482f137fe865 | [] | no_license | biiabauer/Av3 | a60fbbb2dce3f648d01fcb373bbf33b6c1993538 | aa22e39c19a7f444acbb6db8726299912e13a505 | refs/heads/master | 2022-12-22T01:37:04.902184 | 2020-09-23T19:36:13 | 2020-09-23T19:36:13 | 298,024,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,582 | py | from config import *
class Livro(db.Model):
# atributos do livro
nome = db.Column(db.String(254), primary_key=True)
autor = db.Column(db.String(254))
ano = db.Column(db.String(254))
# método para expressar o livro em forma de texto
def __str__(self):
return f'''
- Cadei... | [
"biiia.bauer16@gmail.com"
] | biiia.bauer16@gmail.com |
677b3d3e7b112eccf5480e5f571cbf708d0806f0 | 9d67af6c44e74120cabd011a44d75fb2a0e9b671 | /test/validate.py | 4cf7e4460cfac889819c615fd06920b58e025473 | [] | no_license | taiwan-hero/localmeasure-reports | d946591884de804cc9e36cc5b4b1cb268d711ce9 | e7ff2975f5a74787ba54cd35ad0988387004c5b2 | refs/heads/master | 2021-01-25T10:15:48.692713 | 2016-01-02T20:09:12 | 2016-01-02T20:09:12 | 34,374,327 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,453 | py | from pymongo import MongoClient
import pymongo
import argparse
import datetime
import calendar
from bson import ObjectId
DESCRIPTION = 'validates the reports'
args = None
db = None
metrics_db = None
months = ['2014Jun', '2014Jul', '2014Aug', '2014Sep', '2014Oct', '2014Nov', '2014Dec', '2015Jan', '2015Feb', '2015Mar'... | [
"tim@getlocalmeasure.com"
] | tim@getlocalmeasure.com |
8c0f4f5a3feb660a745ddf7a9d1e49e23a35f7fe | e4713c248c857b06a3cb0e9d0d15dd5513b1a8e9 | /phonenumbers/data/region_FO.py | 5c06031d809a3c236e20fd875c24b55bdfcb84b5 | [
"Apache-2.0",
"MIT"
] | permissive | igushev/fase_lib | 8f081e0f6b956b186dc759906b21dc3fc449f045 | 182c626193193b196041b18b9974b5b2cbf15c67 | refs/heads/master | 2023-05-14T14:35:05.727202 | 2022-04-15T23:55:37 | 2022-04-15T23:55:37 | 107,228,694 | 10 | 0 | MIT | 2023-05-01T19:38:09 | 2017-10-17T06:47:07 | Python | UTF-8 | Python | false | false | 1,273 | py | """Auto-generated file, do not edit by hand. FO metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_FO = PhoneMetadata(id='FO', country_code=298, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[2-9]\\d{5}', possible_number_pattern='\... | [
"igushev@gmail.com"
] | igushev@gmail.com |
d065c3b4020660fea2bb8f0b5fbe6f5b277616d3 | e7d6f748c1ff6c77544e544ede904380690be5c0 | /SRCNN for CoLab/tests.py | bfd27203c081daa3bea0f3179d6fb0299c4582f9 | [] | no_license | SirRacha/SRCNN_Satellite | 1550ee873aaa0a4ba549be5f16ef84a2ecff3885 | 0615834e0e07fa85f027f81cf3a9f5540743cca4 | refs/heads/master | 2023-07-29T12:12:40.680674 | 2020-02-12T00:32:54 | 2020-02-12T00:32:54 | 235,240,785 | 3 | 0 | null | 2023-07-06T21:39:38 | 2020-01-21T02:34:36 | Python | UTF-8 | Python | false | false | 5,272 | py | from __future__ import print_function, division
from keras.utils.vis_utils import plot_model
import models
import img_utils
if __name__ == "__main__":
path = r"headline_carspeed.jpg"
val_path = "val_images/"
scale = 2
"""
Plot the models
"""
model = models.ImageSuperResolutionModel(scal... | [
"chrisholland@Chriss-MacBook-Pro.local"
] | chrisholland@Chriss-MacBook-Pro.local |
aedbffcd2437f3fc1881c7e8bda22a1f01b9f8d2 | 6a7c6902c199593dbd3e9febb3767accc749b994 | /core/pytest/test_kek.py | dcff1fda1b6a1c97539121e48928f4e6a2b6069c | [] | no_license | AlexCPU7/inst | 98335cad228389f8c839c98a219aa438ce87fe29 | 3e34bff6dbfe41028f09209f0ced11dace8050a9 | refs/heads/master | 2022-11-24T14:00:04.937285 | 2020-02-27T05:08:41 | 2020-02-27T05:08:41 | 163,030,158 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 72 | py | import pytest
class TestKek:
def test_kek(self):
assert 0
| [
"Ja54So67N"
] | Ja54So67N |
c0abc65a918a5dcc8f92067eb5e744b23f0e514d | d46bb796c04adcbd8a93377c55c41980f12a24cd | /image_classification_program.py | 5104ca0cae6a67900c197f72ea37ce1542c68b01 | [] | no_license | pujith1997/image-clssification | e7483871af691338506acc3f1e7d8ee990a8217b | 7a7788b0fc591b67851578b070e1b276337b98ee | refs/heads/master | 2022-04-26T04:27:23.881045 | 2020-04-30T17:31:18 | 2020-04-30T17:31:18 | 260,274,838 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,743 | py | #!/usr/bin/env python
# coding: utf-8
# In[1]:
# import libraries
import pandas as pd # Import Pandas for data manipulation using dataframes
import numpy as np # Import Numpy for data statistical analysis
# In[2]:
from matplotlib import pyplot as plt
from sklearn.ensemble import RandomForestClassifier
from skl... | [
"noreply@github.com"
] | pujith1997.noreply@github.com |
3928aed4434b497e2f556e81f17a369cb7fd1d55 | 66985fd3b12efa317136d6db5ab29988faa0f539 | /Python3.6/refprop.py | 92c503265e75d30497395246c40595aba56eb946 | [
"MIT"
] | permissive | RaphaelGervaisLavoie/REFPROP-v10-Python-wrapper | cccb7f960b25b74b5f166b437750eaaa2216a11c | 2dd2f5fa95e46c9552f156bd0555e4ab7bdea5cb | refs/heads/master | 2020-03-28T10:56:38.346588 | 2018-09-10T15:11:42 | 2018-09-10T15:11:42 | 148,161,933 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 213,854 | py | #-------------------------------------------------------------------------------
#Name: refprop
#Purpose: Call out fluid properties from REFPROP
#
#Author: Thelen, B.J.
# thelen_ben@yahoo.com
#
#10 september 2018:
#Modified by Raphaël Gervais Lavoie
# ... | [
"noreply@github.com"
] | RaphaelGervaisLavoie.noreply@github.com |
820fcbb59fcb12f681d3af5a64927c5a4fa8d240 | 3e4117cd55b73eaca9833950baf1a5e9c02c7739 | /pythonclubapp/tests.py | f878c081fbae5d4b8a8f03fd904aadcb362c3515 | [] | no_license | ppjjhh0515/ITC-172-Assignment-10 | 72abc315551b0b501d274c3723280638eb73d7d6 | 4ab381e8a4fa08c06dafd42cf625affe0210ad1a | refs/heads/master | 2021-04-24T14:51:49.485990 | 2020-03-26T01:25:51 | 2020-03-26T01:25:51 | 250,131,283 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,122 | py | from django.test import TestCase
from .models import Meeting, MeetingMinutes, Resource, Event
# Create your tests here.
class MeetingTest(TestCase):
def test_string(self):
type=Meeting(meetingtitle='Weekly team meeting')
self.assertEqual(str(type), type.meetingtitle)
def test_table(self):
... | [
"junghopark@Junghoui-MacBookPro.local"
] | junghopark@Junghoui-MacBookPro.local |
636458db00bcc39eb9441aac4a51211715e8b496 | eee10d85c99089a115664d377a4084d2a468355e | /exercises/ex20.py | 8a72cf5adb8d2d0338b9c08922d9890fe94b0dc9 | [] | no_license | girishkumarkh/python-workshop | 3589654ceae0a4cdfece24419526dd439b03cfc7 | bea862670a15ada59713de1b8120b7abde8f1742 | refs/heads/master | 2020-04-10T15:54:47.437850 | 2016-06-13T22:59:20 | 2016-06-13T22:59:20 | 21,092,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 634 | py | # Exercise 20: Functions and Files
from sys import argv
script, input_file = argv
def print_all(f):
print f.read()
def rewind(f):
f.seek(0)
def print_a_line(line_count, f):
print line_count, f.readline()
current_file = open(input_file)
print "First let's print the whole file:\n"
print_all(current_fil... | [
"girishkumarkh@gmail.com"
] | girishkumarkh@gmail.com |
57151cf7756f98812c554aba0234b269823b8459 | 81874a500500652324e8f4997a9420107f9d4d2e | /index_podcast/reports/views.py | 99e78f087bffdd363da1e17f9c1a0b0b057629f7 | [] | no_license | mishabeliy15/startup | 23b10588bc95985b094321bedb1403e69397e1e3 | d34ccc26fe95ab6ee6030a7fa5e1a496be45eb9f | refs/heads/master | 2022-04-27T20:09:53.659394 | 2019-12-27T12:59:41 | 2019-12-27T12:59:41 | 189,312,750 | 0 | 0 | null | 2022-04-22T22:41:25 | 2019-05-29T23:28:00 | HTML | UTF-8 | Python | false | false | 479 | py | from django.views.generic import ListView
from mypodcasts.models import Podcast, Episode
from easy_pdf.views import PDFTemplateResponseMixin
class PodcastHTMLView(ListView):
model = Podcast
template_name = 'reports/podcasts.html'
class EpisodesView(ListView):
model = Podcast
template_name = 'reports... | [
"misha.beliy15@gmail.com"
] | misha.beliy15@gmail.com |
b2e14eec1e0c1bfd6420d5440f10d412656dc152 | ce60a51c868e2073d419d74ac560d9d7c5d6b86b | /socketIO/socketcli3.py | 29161315adab6211a715feb5c7b7e36463925fa2 | [] | no_license | ramanraja/Home4 | af2226bcae69a9482887d13ea25e6927dd934d7e | 473fe422e8442a175bd332fac425162db5e66332 | refs/heads/master | 2023-02-14T17:57:16.769046 | 2021-01-07T18:37:50 | 2021-01-07T18:37:50 | 286,188,654 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,905 | py | # Python socket IO client through Nginx
# Test it with socketser3.py
# https://python-socketio.readthedocs.io/en/latest/client.html
# sync client: pip install "python-socketio[client]"
# Async client: pip install "python-socketio[asyncio_client]"
import sys
import socketio
##from time import ... | [
"noreply@github.com"
] | ramanraja.noreply@github.com |
458e7d62bcf33adbfdaed761fb31e5a463c2ba99 | 2589c8398c107236cdc9ebf38d32da79d62cdf62 | /maturanc/profil/migrations/0002_auto_20170207_1951.py | 4c31201c752aca592f07f197a76a11d08be4f057 | [] | no_license | jrizmal/maturanc | a7baf5fdb218b8b150d77f689a7628082ad8fbea | 17400dc4b2bd3b503827a82fc82ad89dca9bb7ab | refs/heads/master | 2021-01-11T09:09:53.007664 | 2017-02-24T17:23:18 | 2017-02-24T17:23:18 | 77,273,635 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 506 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-02-07 18:51
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('profil', '0001_initial'),
]
operations = [
migrations.RemoveField(
mode... | [
"jrizmal@gmail.com"
] | jrizmal@gmail.com |
b7ff03bfeb0f3c4ee4b5add07364b51fd0e52105 | e14b357df0b8dc66bcc00690406121b57b09df79 | /src/app/model/source_code.py | 52308cd30736f72aae51828331ac072b886e0a07 | [] | no_license | arthur-samarin/SoftwareDesignProject | 102f295627651bdf710ea6ad9ee069057f8ff41f | 9858fcb16d98c2e5950214d3c839c7ae2c2a4912 | refs/heads/master | 2020-04-06T15:33:46.678018 | 2018-12-08T00:39:50 | 2018-12-08T00:39:50 | 157,583,298 | 0 | 0 | null | 2018-12-05T15:48:05 | 2018-11-14T17:08:02 | Python | UTF-8 | Python | false | false | 191 | py | class SourceCode:
def __init__(self, filename: str, code: bytes, language_name: str):
self.filename = filename
self.code = code
self.language_name = language_name
| [
"asamarin97@gmail.com"
] | asamarin97@gmail.com |
6356c3fd54fe41f7cbafe1ee9e95d8bbc6ac1949 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/4/usersdata/106/2074/submittedfiles/swamee.py | 76d128a83e81bb740dd88476ec555cd6abb8854e | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 544 | py | # -*- coding: utf-8 -*-
from __future__ import division
import math
#COMECE SEU CÓDIGO AQUI
#entrada
f = input ('Digite um valor para f: ')
L = input ('Digite um valor para L: ')
Q = input ('Digite um valor para Q: ')
deltaH = input ('Digite um valor para deltaH: ')
v = input ('Digite um valor para v: ')
#processamen... | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
b66800b5d03f8156fa96aa2312351ab92891d789 | 329761e079663d7eb6316d0836db7dc8abb7f756 | /My Script Mods/WickedWhims_Scripts/Scripts/wickedwhims/nudity/nudity_privacy.py | eeab7ec3f19868ba84a78b7b87914d736ac46081 | [] | no_license | ColonolNuttyFork/WickedWhims-lol-update | 6feafede44b18a1c93d806865463300d26031c82 | 5f702be84458ceb233cb60728d439f3ce7c56f12 | refs/heads/master | 2023-03-15T15:55:27.197407 | 2018-06-21T21:26:48 | 2018-06-21T21:26:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,978 | py | from enums.interactions_enum import SimInteraction
from turbolib.events.privacy import PrivacyResult, register_privacy_sim_test_event_method
from turbolib.interaction_util import TurboInteractionUtil
from turbolib.math_util import TurboMathUtil
from turbolib.privacy_util import TurboPrivacyUtil
from turbolib.resource_u... | [
"ColonolNutty@hotmail.com"
] | ColonolNutty@hotmail.com |
94b4bb9304e20d9e75d252235ee0e1115c6fcfe0 | 147fe82a8bfbd07a9f01b7d4bcba910ade1ad249 | /models.py | 4c160ccc1295749b09586b51ae6b563272e010c2 | [] | no_license | m-aravind11/memehub | 4a4376dca83bf4f87e63d7a1e542d1094970fa9c | 936fbbc0b3f90c1ab907899c716bc20262984318 | refs/heads/main | 2023-02-17T13:15:23.799063 | 2021-01-17T18:12:47 | 2021-01-17T18:12:47 | 329,445,905 | 1 | 0 | null | 2021-01-16T15:43:11 | 2021-01-13T22:23:57 | Python | UTF-8 | Python | false | false | 1,097 | py | from flask_sqlalchemy import SQLAlchemy
db=SQLAlchemy()
class MemeTemplate(db.Model):
__tablename__ = "memetemplate"
memeID = db.Column(db.Integer, primary_key=True)
memeTemplateSavePathURI = db.Column(db.String(500))
dialogue_template_name = db.Column(db.String(200))
movieName = db.Column(db.Stri... | [
"maravind2000@gmail.com"
] | maravind2000@gmail.com |
3c029f0bc892281ef80ed0ce9e7f74ec8bfadb64 | 97c9bcfe1ee5e1884c4be5b7f2320118539ef67a | /boj_implementation/G/G4/15685/boj_G4_15685_Heegun.py | 45f1ea82020769a91b3ecc8b03b97bb641ef3f83 | [] | no_license | hhheegunnn/Algorithm_Study | 1c20d9b1632f1a52796d5982bd9d89b6244538cf | a3734776d16bf721b94d6fdb5e00250997d9e8a0 | refs/heads/main | 2023-02-24T22:59:47.089341 | 2021-02-03T07:29:12 | 2021-02-03T07:29:12 | 306,534,653 | 0 | 8 | null | 2021-01-19T03:13:31 | 2020-10-23T05:07:02 | Java | UTF-8 | Python | false | false | 1,641 | py | """https://www.acmicpc.net/problem/15685"""
""" 드래곤 커브 """
# git add boj_implementation/G/G4/15685/boj_G4_15685_Heegun.py
# git commit -m "[김희건] boj 드래곤 커브"
from collections import deque
delta =[(0,1),(-1,0),(0,-1),(1,0)]
find_s = [(0,1),(1,0),(0,-1)]
def draw(x,y,d,g):
d_list = [d]
for _ in range(g):
... | [
"khg878@gmail.com"
] | khg878@gmail.com |
b8574b7ea40fd02f63183a6e0855458821731d6b | d97eae6cccd3cb464cead8bc4fbfa2503e953af2 | /contacts/migrations/0001_initial.py | 517ab601c803e41f9aa6424e5960d97db3e879ab | [] | no_license | badreldenbeko/sharp | 3124d0ec8836d828e929bef1703f165ecd9827f9 | 8375ce1e6e37cb38298db9821391d722ab0ac48c | refs/heads/master | 2022-12-15T15:39:30.520917 | 2018-05-01T16:54:03 | 2018-05-01T16:54:03 | 54,642,355 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,294 | py | # Generated by Django 2.0.3 on 2018-04-21 18:45
from django.db import migrations, models
import sharp.utls
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Contact',
fields=[
('id',... | [
"badrelden@hotmail.com"
] | badrelden@hotmail.com |
cf7e072beb75dd4d3d4cb7156e69de57a8955a2a | 1be1bb6167b298679939d216e10397c94a9a54a2 | /SCE_Tables_15degrees_1Bus_1Opa_1Rpa_4Ipu.py | d153ed43423a46dfbfb1ce02745398b53574fae8 | [] | no_license | Reece821/Reece821 | aaba1b32ee6e6dc7fb2a7df73390cddfb18b6cc9 | 1c2833362f33d4ccb241280e4ff7e598e61ef590 | refs/heads/main | 2023-06-20T02:12:18.238175 | 2021-07-23T15:34:56 | 2021-07-23T15:34:56 | 388,496,125 | 0 | 0 | null | 2021-07-22T15:11:47 | 2021-07-22T14:43:24 | Python | UTF-8 | Python | false | false | 4,544 | py | import sys
import struct
import time
import msfe
######################################################################
def run(scpa, fd):
def Transmit (scpa, fd, mess):
scpa.send(mess)
fd.write(str(mess))
fd.write('Sent request nr %s (exch id=%s)\n' % (send_count, mess.hdr.exch_id))
... | [
"noreply@github.com"
] | Reece821.noreply@github.com |
4b4eac2d7433b10b20bd7d4e0a44fb950d028511 | 6a562077f79213f6b2bb89e92d6a16d931268089 | /frappe/email/doctype/email_queue_recipient/email_queue_recipient.py | 42956a118022fb05aa61d0bd07aa57727245e5d8 | [
"MIT"
] | permissive | libracore/frappe | 74fe917b75aa1cfad38c71519914180d5d5f1366 | 92d94a73a3445a252a2828de0053dcce86a18f17 | refs/heads/v12 | 2023-07-17T04:58:08.622228 | 2023-06-28T17:27:33 | 2023-06-28T17:27:33 | 89,392,790 | 6 | 8 | MIT | 2023-08-29T16:29:03 | 2017-04-25T18:19:40 | Python | UTF-8 | Python | false | false | 275 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class EmailQueueRecipient(Document):
pass
| [
"rmehta@gmail.com"
] | rmehta@gmail.com |
7d41f1a2f4f3e1f9a3b0a893cd8b7b2a12bce6ad | 5ab128e01ea98fc26b4e6e59c63308cadce78608 | /Liquidity/Spread Scrape.py | ec9c38f72c30f7adde8d46ac871ea82d6fd6e2ee | [] | no_license | Tsuna5D/Projects | 64e79e481dfbb34aab696bf394281e248d497054 | b4d44140629eeb32d8ab9a9341c92cb38c9c7aeb | refs/heads/master | 2022-04-20T01:07:27.632247 | 2020-04-17T03:09:19 | 2020-04-17T03:09:19 | 256,352,752 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 875 | py | from selenium import webdriver
from bs4 import BeautifulSoup
import requests
import re
import time
def spread():
url1=requests.get('https://quotes.wsj.com/bond/BX/TMUBMUSD10Y?mod=md_home_overview_quote').text
soup1=BeautifulSoup(url1,'lxml')
yield_rate_10=soup1.find('li',attrs={'class':'crinfo_quote... | [
"noreply@github.com"
] | Tsuna5D.noreply@github.com |
5c63e28f3076414e4c692687f99ac0ebe70b0138 | d97e884adf638cf938884d630717b9ffbcfd6745 | /smapp/smapp/migrations/0001_initial.py | 21da6c397b7fd6b270d2aa87a36d42c111bd7529 | [] | no_license | safemailsaccount/smapp | 5df4c06f23f999b2ffed929996cb862a26f350be | d0d8dd955509a0edd245a531287fcc261649a363 | refs/heads/master | 2023-03-29T07:32:54.789384 | 2021-03-30T18:48:41 | 2021-03-30T18:48:41 | 353,071,731 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 593 | py | # Generated by Django 3.1.7 on 2021-03-17 20:11
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Message',
fields=[
('id', models.AutoField(... | [
"k@safemails.net"
] | k@safemails.net |
fe8d4c3acebcdb5aa7a8f6bcf347d61cba4310f4 | 5b034abe9e20c8017fcb0f406b52d09b41ce9f00 | /pages/modular.py | abecf31cc691f6cf6570f48278634334067328fa | [] | no_license | Mrxiaog3389/ymsp | d1bbe2d746d47ce89757b295c415018ee9b1bb05 | 2e64a361ad5d2d3b34c91dffe15567543655bbfb | refs/heads/master | 2023-03-06T15:09:23.332959 | 2021-02-21T13:22:42 | 2021-02-21T13:22:42 | 329,933,124 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,781 | py | from common.slideVerfication import SlideVerificationCode
from common.Driver import Driver
import time
class testzh(Driver):
def open(self):
self.driver.get("https://qzone.qq.com/")
def login(self):
self.driver.switch_to.frame("login_frame")
self.driver.find_element_by_id("switcher_plo... | [
"18483663883@163.com"
] | 18483663883@163.com |
9f28092981deee83a5167b32972805649befa762 | e75298fd9c6acf4d63c4578715d6fe7cdf546330 | /create_cloud.py | 184d40918c4fc4853288816191c6ed711305e373 | [] | no_license | 5arthak01/RMHS-marathi-wordcloud | 5bb8be63e7a089478c4c934e76c1d8d7c2eb8e39 | f6886c2288a394e31faa84bb492eaeb340ac018e | refs/heads/master | 2023-03-06T22:25:41.658187 | 2021-02-21T08:58:06 | 2021-02-21T08:58:06 | 340,664,126 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,278 | py | import csv
from wordcloud import WordCloud
import matplotlib.pyplot as plt
from cltk.corpus.marathi.alphabet import (
VOWELS,
SEMI_VOWELS,
VELAR_CONSONANTS,
PALATAL_CONSONANTS,
RETROFLEX_CONSONANTS,
DENTAL_CONSONANTS,
LABIAL_CONSONANTS,
ADDITIONAL_CONSONANTS,
FRIACTIVE_CONSONANTS,
... | [
"sarthak.agrawal@research.iiit.ac.in"
] | sarthak.agrawal@research.iiit.ac.in |
56855bc05488a7576e9ddbe9a0e4cc1ae6861d38 | d7645461674e7159362e8cf558655cf31ace8f63 | /TP4/Ejercicio-2/Graficos/Gráficos_sensibilidades.py | 1449636474152fb5a2a7d09089853420a38068e5 | [] | no_license | tlondero/LABO | 845ee7d5a839d62c4f48fe5a414efc358cede8f3 | 30b3e0b34ba0714207d72ee53c8b0f7f665d8b65 | refs/heads/master | 2020-07-02T22:23:26.745748 | 2019-11-19T21:04:36 | 2019-11-19T21:04:36 | 201,685,330 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,452 | py | import numpy as np
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import matplotlib.patches as mpatches
frecuencia_medida=[1.00E+01,
1.50E+01,
2.00E+01,
2.50E+01,
3.00E+01,
3.50E+01,
4.00E+01,
4.50E+01,
5.00E+01,
5.50E+01,
6.00E+01,
6.50E+01,
7.00E+01,
7.50E+01,
8.00E+01,
8.50E+01,
9.00E+01,
9.50E... | [
"gbertachini@itba.edu.ar"
] | gbertachini@itba.edu.ar |
b3c05fdfc6a2576165f4dfc5303f74eb9ccf9879 | 5864e86954a221d52d4fa83a607c71bacf201c5a | /sensorsuite/overlay/spacelocations.py | 1394f5b7959e96607dfc7cc3d2481a418f1a7f1b | [] | no_license | connoryang/1v1dec | e9a2303a01e5a26bf14159112b112be81a6560fd | 404f2cebf13b311e754d45206008918881496370 | refs/heads/master | 2021-05-04T02:34:59.627529 | 2016-10-19T08:56:26 | 2016-10-19T08:56:26 | 71,334,417 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,551 | py | #Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\sensorsuite\overlay\spacelocations.py
import weakref
from utillib import KeyVal
class SpaceLocations:
def __init__(self):
self.locationsBySiteId = {}
self.locationsByBallId = {}
def Clear(self):
... | [
"le02005@163.com"
] | le02005@163.com |
c28782d9cd3ed823786d7aac39ac3747779265e3 | 7af4f4f11126152def21c136603254637f34017d | /.shadow/python/plot_main.py | 3a366614cdaf3305fe4e8ddcdd964a9a1d065e36 | [] | no_license | reotyan/dot_files | 9489fa1c12e19d4349baf1c4a835aa1a8fc8fab9 | f64fc9bbbd42d20fc3a9335605e60b3ae413d9b8 | refs/heads/master | 2021-06-13T21:55:47.914223 | 2017-03-14T13:30:33 | 2017-03-14T13:30:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 723 | py | #!/usr/bin/python3
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import pandas.tseries.offsets as offsets
import matplotlib.finance as mpf
import sys
import threading
from modules.plot_def import *
SPAN_s = 13
SPAN_m = 21
SPAN_l = 13
SPAN_ll = 30
HL_BAND_PERIOD = 5
if len(sys.argv) < 2:
... | [
"reosan@laptop.localdomain"
] | reosan@laptop.localdomain |
72f86c2d2fb7ee29ce2222d99f4735d121c670a5 | 9cfc06cefd959091fee1009898b22f674e038d91 | /best_valid_acc.py | 449862088e0ce917963ee2bd786e03643df0ecee | [
"MIT"
] | permissive | TommyLitlle/OpenNMT-entmax | c4c2f2bdc5818ab12c7398bb56d4bb51fe63d80f | d9d0e7bc8a7da6624e0fe75434f7aa106250254a | refs/heads/master | 2022-01-04T20:20:00.662746 | 2019-03-03T14:50:12 | 2019-03-03T14:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 134 | py | #!/usr/bin/env python
import sys
print(max(float(line.strip().split()[-1]) for line in sys.stdin if 'Validation accuracy' in line))
| [
"bpeters@coli.uni-saarland.de"
] | bpeters@coli.uni-saarland.de |
ca5f5aa08a2c23c38b41e8fa92f081c92eb9468f | 41e9d6edf49701c62471bddf2a5ccd041ec5c31e | /libraries/mathy_python/mathy/agents/zero/config.py | 477e99a507c9cec583f9a4a1b53da533ff6ac7a7 | [
"MIT"
] | permissive | Guillemdb/mathy | b0fc5537aa267c4e9f386d36d3c17ff74fd4d0ab | 06204396ac39445b732c199078076b18fd1bbccc | refs/heads/master | 2021-05-22T18:57:59.097614 | 2020-04-02T19:25:55 | 2020-04-02T19:25:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 891 | py | from ...agents.base_config import BaseConfig
class SelfPlayConfig(BaseConfig):
batch_size = 128
# PyTorch models need padded batches of the max length a sequence might be.
# Mathy expressions can occasionally go over 128 nodes, but I've never made
# an expression more than 256. If we go over this limi... | [
"justin@dujardinconsulting.com"
] | justin@dujardinconsulting.com |
354c6d328e80a9197233d307c408e6d77934fd43 | d69928b40a714527b6fae698ddf77a0d4d1711ca | /manage.py | b1997b630cddae6676f12dae6b45c2c3d5226a5f | [] | no_license | hongsa/flask-restful-skeleton | b1a90e1bfe1aad80ab6606ef017365e17c6f21c9 | e19f4cd6eeadff322a1953f812605999e1dfd17f | refs/heads/master | 2020-12-30T11:59:03.704811 | 2018-08-29T15:41:25 | 2018-08-29T15:41:25 | 91,459,209 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 39 | py | from apps import manager
manager.run() | [
"hsasung@gmail.com"
] | hsasung@gmail.com |
0520927a3d479dd233e099358624f5fa16f6c280 | c577b023ee14e497c8f10130f6acce6430333e28 | /makesense/management/commands/link_2word_terms.py | e0a237b71da3df16b473793ffcfd130d63fd7d6c | [] | no_license | LorenDavie/htms | 05d2a79c60281e124194a61fa2bb01a206de4c71 | d20fa39dc5b5f7cd50c7a4b3a2a4d9c24615e439 | refs/heads/master | 2023-04-22T09:35:57.469544 | 2017-04-01T15:24:45 | 2017-04-01T15:24:45 | 365,309,925 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,739 | py | """
Links 2-word terms into ACE
"""
from makesense.models import Term, Page
from django.core.management.base import BaseCommand
from django.utils.text import slugify
import re
class Command(BaseCommand):
"""
Command class.
"""
def execute(self,*args,**kwargs):
"""
Execute method.
... | [
"code@axilent.com"
] | code@axilent.com |
8921d70c5716ad7c3276206ec45d1d439730d130 | b226ab6d84f76707b961b268e9b0fd9b6309c630 | /image/image-yuv-downsample-luma.py | 46724cbcc5b07126cbb0a8466bcf1fe989686079 | [] | no_license | brycekelleher/pythondev | 5f68aa2ec49f30e1019994db708694702edd157e | a505298d517bb3fe37bb4cfe594662d1cc9f8f50 | refs/heads/master | 2020-09-12T21:32:08.449270 | 2016-09-09T01:48:38 | 2016-09-09T01:48:38 | 67,559,247 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 553 | py | #!/usr/bin/env python
import os, sys
import Image
def split_image(filename):
im = Image.open(filename)
yuv = im.convert("YCbCr")
y, u, v = yuv.split()
# downsample the y component then rescale it to the u and v planes
y = y.resize((y.size[0] / 2, y.size[1] / 2), Image.BICUBIC)
y = y.resize((y.size[0] * 2, y.s... | [
"bryce_kelleher@hotmail.com"
] | bryce_kelleher@hotmail.com |
e9c2bd7d529fc16f37154d73f886b38093c340e7 | 9478a2ab7a96ecc41b5856f4dca97df4638a1904 | /优美的彩虹.py | 4391a75c77cfa768c0f21a9518f8ed27d33561d5 | [] | no_license | hulk17666234872/djm | a85665feaf90ac2e787454574b2b157f0199b9d4 | 76234ed985a96721f19307e21764d5e07a1cc26b | refs/heads/master | 2023-06-09T19:55:28.002513 | 2021-07-01T10:06:56 | 2021-07-01T10:06:56 | 262,927,377 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 257 | py | import turtle
q = turtle.Pen()
turtle.bgcolor("black")
sides = 7
colors =["red","orange","yellow","green","cyan","blue","blue","purple"]
for x in range(360):
q.pencolor(colors[x%sides])
q.forward(x*3/sides+x)
q.left(360/sides+1)
q.width(x*sides/200) | [
"65145999+hulk17666234872@users.noreply.github.com"
] | 65145999+hulk17666234872@users.noreply.github.com |
8db943a4a1c2d29b88b32a953193c3d524724074 | 9c25fc79ad89d2281de39e75c62051cc3c8b6dbe | /CBSE-CS-Practical-File/q15.py | b41a141d3fc3247d3eef28d9e86776c0178b1791 | [] | no_license | devxnsh/Coursework | cab14711d79d41ef21d0f3b71d4eafc59048246c | c67ed1b64b565a57ff2e0ddb2fe51609985892ee | refs/heads/main | 2023-08-24T11:22:12.661877 | 2021-09-07T19:30:02 | 2021-09-07T19:30:02 | 370,786,632 | 0 | 0 | null | 2021-05-25T18:09:48 | 2021-05-25T18:09:48 | null | UTF-8 | Python | false | false | 1,532 | py | def isempty(stk):
if stk==[]:
return True
else:
return False
def push(stk,item):
stk.append(item)
top=len(stk)-1
def pop(stk):
if isempty(stk):
return "UNDERFLOW"
else:
item=stk.pop()
if len(stk)==0:
top=None
else:
... | [
"noreply@github.com"
] | devxnsh.noreply@github.com |
9ec0c3308ffbd7c066ac3e99e27840db3e0a1040 | 90aa8a1bef4af425476fa933bd77415e932dd11c | /mainGui1.py | ad8525501ad4d91a6539d973dda771cbac31c652 | [] | no_license | DJ-Man-2099/Memory-Allocation | 3a29564a915268885a78a75647084f96eafd610e | b03216a5f9f7cea8d49e11c835b9e0cf4f0159fd | refs/heads/master | 2022-09-13T08:24:55.313055 | 2020-06-01T10:50:33 | 2020-06-01T10:50:33 | 261,878,749 | 1 | 4 | null | null | null | null | UTF-8 | Python | false | false | 12,584 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainGui1.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from mem_drawing3 import *
from holes_window import Ui_holes_Form
from segments_window import Ui_segment_Form
... | [
"noreply@github.com"
] | DJ-Man-2099.noreply@github.com |
f858baaa5cc11f3c856dbd213518417ef68e62fc | ab98b3c9f3d9496cd280c7e9c7cf5e6563069ed7 | /Cifar/Cifar_result/worker6/MDC-ASGD_6/average.py | 619d80b1b22817387c4612d2e9c043133888017f | [] | no_license | Tantao122200/DASGD | c3d14c475fccfba9a53a06e4997d723a667f3ed8 | d7ceb7bbd4d015165158be243e592312147377b6 | refs/heads/master | 2021-01-08T04:03:27.586266 | 2020-02-21T05:58:51 | 2020-02-21T05:58:51 | 241,906,787 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,421 | py | import pandas as pd
import numpy as np
import os, shutil
MYCOUNT = 5
import csv
def mypath(path):
if os.path.exists(path):
shutil.rmtree(path)
os.mkdir(path)
def read(in_dir, out_dir):
data = []
for i in range(1, MYCOUNT + 1):
temp_data = pd.read_csv(in_dir + str(i) + ".csv", header... | [
"1169311978@qq.com"
] | 1169311978@qq.com |
a4f008605b6f409bfc30dcd869f51a932a500b00 | 7ac6cbfb7bfc96ed683c40630385afe7ed17e217 | /Time Dimension/TimePolicy_generator.py | 2de47c184ec5af2e5ed6ae2c171887dd545c7160 | [] | no_license | MahdiShahrabi/COVID19-Simulation | 44c281c36871eccb15424240674e7c91c825b84b | c05750a5880d4093907f00659d6be6cbb9c1487d | refs/heads/master | 2022-10-05T13:53:21.227089 | 2020-06-03T16:16:51 | 2020-06-03T16:16:51 | 259,633,668 | 1 | 0 | null | 2020-06-03T12:58:15 | 2020-04-28T12:41:58 | Jupyter Notebook | UTF-8 | Python | false | false | 2,070 | py | import networkx as nx
import random
def chunkIt(seq, num):
avg = len(seq) / float(num)
out = []
last = 0.0
while last < len(seq):
out.append(seq[int(last):int(last + avg)])
last += avg
return out
############################
def TimePolicy_generator(Graph,Maximum_Time=10000,
... | [
"m.m.shahrabi@gmail.com"
] | m.m.shahrabi@gmail.com |
0a31c7fbe65242518acfc8b6b2429742b309fa0a | e29bd9096fb059b42b6dde5255f39d443f69caee | /metapict/debug/mp2tikz.py | df71d3dfe7d261717d6a2d5b77c301581499ba87 | [] | no_license | soegaard/metapict | bfe2ccdea6dbc800a6df042ec00c0c77a4915ed3 | d29c45cf32872f8607fca3c58272749c28fb8751 | refs/heads/master | 2023-02-02T01:57:08.843234 | 2023-01-25T17:06:46 | 2023-01-25T17:06:46 | 16,359,210 | 52 | 12 | null | 2023-01-25T17:06:48 | 2014-01-29T21:11:46 | Racket | UTF-8 | Python | false | false | 16,601 | py | # mp2tikz.py
# (c) 2012 JL Diaz
#
# This module contains classes and functions to implement Jonh Hobby's
# algorithm to find a smooth curve which passes through a serie of given
# points. The algorithm is used in METAFONT and MetaPost, but the source code
# of these programs is hard to read. I tried to implement it in... | [
"jensaxel@soegaard.net"
] | jensaxel@soegaard.net |
6a11aaf1bc257f2f416c231f044632aa65ec9aa7 | 2981d4badf5fe011000ba53721601e8ebca73d62 | /main.py | 7e707080b48efc3463e752f30a4b3b33eace5017 | [] | no_license | rishabh33333/CRD-operations | a298a272137a64c2e774e1b4919fb0d231b5482c | 1d8328c97f15d48d870e401ecdc995df477fdd98 | refs/heads/main | 2023-02-08T12:47:47.289465 | 2021-01-01T08:57:10 | 2021-01-01T08:57:10 | 325,937,859 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,868 | py | import threading
from threading import*
import time
dictionary={}
def create(key,value,t_out=0):
if key in d:
print("Error")
else:
if(key.isalpha()):
if len(dictionary)<(1024*1024*1024) and value<=(16*1024*1024):
if t_out==0:
lst=[value,t_out]
... | [
"noreply@github.com"
] | rishabh33333.noreply@github.com |
adaa3deb4da40a41e388cf7cf2be1f9380c5b2a1 | 042c4a9e4fcc82f2583e2f694ffe87362ff4018a | /rssit/generators/flickr.py | d22b36cbe2baec58484416ae909fbc57c2bed0ca | [
"MIT"
] | permissive | Greenrenge/rssit | afcd4e3961d1a94562060c4088be5dd065564369 | da04ee775fb9cb2e8a34cf8878690dc74ad5e005 | refs/heads/master | 2020-08-27T05:02:58.748837 | 2019-08-21T20:26:43 | 2019-08-21T20:26:43 | 217,251,598 | 1 | 0 | null | 2019-10-24T08:37:45 | 2019-10-24T08:37:44 | null | UTF-8 | Python | false | false | 7,885 | py | # -*- coding: utf-8 -*-
import re
import rssit.util
import datetime
import urllib.parse
from dateutil.tz import *
import sys
import pprint
def get_modelExport(data):
jsondatare = re.search(r"modelExport: *(?P<json>.*?), *\n", str(data))
if jsondatare == None:
return None
jsondata = jsondatare.g... | [
"qsniyg@mail.com"
] | qsniyg@mail.com |
1f14d4d88744b36e960d170bd87c5ffdbc7c4033 | 2e15bd293fa7b341c9359d241dc8654a6d556974 | /test.py | 5a33ad990cd39b197f097502c834393e081ba638 | [] | no_license | LeeJinbeom/studymc | 0c8f563f0cc3e02cc4791728f2c5748160322f34 | 4b89e37aabc4af5196acc5c6d7ce7718cabfa4a5 | refs/heads/master | 2020-06-24T23:13:31.629889 | 2019-07-27T06:49:58 | 2019-07-27T06:49:58 | 199,120,957 | 0 | 0 | null | 2019-07-27T06:40:34 | 2019-07-27T05:34:11 | null | UTF-8 | Python | false | false | 18 | py | 안녕하세요?!
| [
"jinbomang@gmail.com"
] | jinbomang@gmail.com |
40636878bc957e7a001c89e44464577dd0c9069c | 4f6ca4efa79a74853c8ef5d417aef55d0900df82 | /blacksheep/server/errors.py | 0453a1135b5988fe93384208178e203b44d41e8c | [
"MIT"
] | permissive | kun1996/BlackSheep | b9c079e6ee23a1f881c77ad59f1ff3e6f10728f7 | 02303499b55cae835cca7c55c8f5e48eb5beae31 | refs/heads/main | 2023-04-03T13:31:25.194283 | 2021-04-24T07:17:59 | 2021-04-24T07:17:59 | 362,502,399 | 1 | 0 | MIT | 2021-04-28T14:42:04 | 2021-04-28T14:42:03 | null | UTF-8 | Python | false | false | 1,679 | py | import html
import traceback
from blacksheep.contents import HTMLContent
from blacksheep.messages import Request, Response
from blacksheep.server.asgi import get_request_url
from blacksheep.server.resources import get_resource_file_content
def _load_error_page_template() -> str:
error_css = get_resource_file_con... | [
"noreply@github.com"
] | kun1996.noreply@github.com |
5ba6490e8b6c7bbfb345d1c1f2a2e5a6fa6a8975 | 68b27892c5eac64a5c11dd2c091f2c825724465e | /aep/__init__.py | 26f39d63548fa4b6bf0ec8bf47e8c91ec3fb755b | [] | no_license | aoki-marika/aeptools | 170df57004be5a14db5038f46eb26d1251a6888e | d1b0b5b8a0243a7449e067da27e7ecfcbf56d23f | refs/heads/main | 2023-02-06T04:25:25.161128 | 2020-12-19T18:51:37 | 2020-12-19T18:51:39 | 321,742,554 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 102 | py | from .bin import Architecture, BinaryDecoder, BinaryEncoder
from .json import JsonDecoder, JsonEncoder | [
"marika@waifu.club"
] | marika@waifu.club |
fc879af89453fdb1a9365988678c037439c3c6df | bbaf96b7055a9cf9be20f4795200dfe4aa27127f | /employee/migrations/0001_initial.py | d8e1d4c0343de1785a67f2038c2186b1263f8eef | [] | no_license | Ajaychaudhari01/empoloyee-manage-system | d4b3f4cb2681346dcbeb8be031e631e9f8123a8a | af5122cc92ee66a3596f7593c6550cf7f00ba6df | refs/heads/main | 2022-12-28T21:19:06.239651 | 2020-10-14T15:52:45 | 2020-10-14T15:52:45 | 304,061,541 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 928 | py | # Generated by Django 3.0.2 on 2020-01-19 17:08
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),
... | [
"noreply@github.com"
] | Ajaychaudhari01.noreply@github.com |
80dc0d7cb644b7c68b7d08b5079a4f055b44b30c | 162b051018b90c06d8218de502ba95d6952ff3df | /Medidor de Rendimiento/rendimiento.py | 7f94f0878f228d66c746a7f058e50e797dfd1cfa | [] | no_license | VinicioPazmino/MedidorEvaluadorRendimiento | 3f9e065f5c3a47d3b57f05e76e723caa15f56d96 | 7d3b3ec391dd3ef1f076da8c7ff930c8fb70a8a6 | refs/heads/master | 2022-11-18T22:13:36.039217 | 2020-07-20T22:30:55 | 2020-07-20T22:30:55 | 281,238,646 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,377 | py | # Vinicio Pazmiño & Alexander Benalcazar
# 2020/5/27
# vinidavid_17@hotmail.com
# Universidad Autonoma de Madrid
import sys
import os
import psutil
import statistics
from gpuinfo import GPUInfo
import time
from random import *
vram=8088 # MB
file = open("RendimientoAgrupados.txt", "w")
tiempo = int(input("Ingrese ti... | [
"vinidavid_17@hotmail.com"
] | vinidavid_17@hotmail.com |
fb51e844fdd96bd691e03109506a829551947b9a | 8536d38f770900cd01cae2d082634226bd5c1246 | /apps/dogs/migrations/0006_alter_dog_origin.py | 43f3a882d54dd5efd7e2489e80d3d0dca6f868db | [] | no_license | Mutuba/Public_API_data | 6da197e87297bcb5e7956df1efba7f860741d642 | be5ad8e9d3d4bdbbe1000b9f0037c7852ace2bb5 | refs/heads/master | 2023-05-26T19:22:46.859821 | 2021-06-19T12:08:40 | 2021-06-19T12:09:25 | 373,883,565 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 376 | py | # Generated by Django 3.2.4 on 2021-06-03 10:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("dogs", "0005_auto_20210603_1051"),
]
operations = [
migrations.AlterField(
model_name="dog",
name="origin",
... | [
"danielmutubait@gmail.com"
] | danielmutubait@gmail.com |
550963b0476668c3fa07aaabf2e0cb13082c0b40 | b1541fbff1276e557f6b594375cfdfb578ff26a7 | /FuncTokTagCount.py | febf2687b97e9099262cc5b0e17a3b19a362d3dd | [] | no_license | OrangeXenon54/Group-13-Computational-Linguistics-Team-Lab-2019 | 974a281d34bfd2e174f78c1ff0b6d5bb9670edc4 | 4b8ffdde31916b81d1301bec55fdbe0adbceb5c9 | refs/heads/master | 2020-05-09T22:03:16.838841 | 2019-08-02T20:45:04 | 2019-08-02T20:45:04 | 181,457,604 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,733 | py | import re
def TagCandP(TagNum) :
tagN = []
if TagNum == 1 :
for keyT, valT in alltokens.items() :
if len(valT) == 1 :
tokenPOScount = [keyT, valT]
tagN.append(tokenPOScount)
else :
continue
else :
for keyT, ... | [
"noreply@github.com"
] | OrangeXenon54.noreply@github.com |
eec3aeabbd3dd7ca1c053ea0256e669cb5ef1b77 | 5434c1e952766297ac49a9164eb98b6fdb764f1b | /testObj.py | 405f276d15214a6fc0bd0a8597940bdb8647e1d6 | [] | no_license | luohuaizhi/test | 365f97a1f615cebcd7588d3625f2a7a6b95eb898 | 296c983dfb2724b2925f2307d470538216cc50a5 | refs/heads/master | 2021-04-25T20:52:18.538204 | 2018-06-04T08:11:52 | 2018-06-04T08:11:52 | 109,222,335 | 0 | 2 | null | 2018-02-05T07:13:42 | 2017-11-02T05:41:31 | Python | UTF-8 | Python | false | false | 763 | py | # -*- encoding:utf-8-*-
class Obj(object):
def __call__(self, name):
print "__call__ of %s" % name
def __new__(cls, name):
print "__new__"
return super(Obj, cls).__new__(cls)
# def __new__(cls, name, bases, attrs):
# print "__new__"
# return super(Obj, cls).__new_... | [
"luohuaizhi@9ffenqigo.com"
] | luohuaizhi@9ffenqigo.com |
52596f51edd99aee66662e55c745507c75817742 | 8fa6ac43fe6dc73862606907c6b0e37ecda366f1 | /stubs/asn1crypto/algos.py | 917a6303d2953757237514cbf57262fcd2183266 | [
"MIT"
] | permissive | joernheissler/cryptokey | b0999172ada29278e0ac2728c81a10e225664eae | d288a42c2234b7b48de23247a909c8f2d04398dd | refs/heads/master | 2021-05-12T12:29:32.776279 | 2019-11-11T07:27:48 | 2019-11-11T07:27:48 | 117,415,948 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 140 | py | from __future__ import annotations
from .core import Sequence
class DigestInfo(Sequence):
...
class DSASignature(Sequence):
...
| [
"nosuchaddress@joern.heissler.de"
] | nosuchaddress@joern.heissler.de |
fbd33584bdbd458d6858b8e8fc763fe54ff0bc6a | 61eac29f7e6112e3b5a8aaa39bdc440ed4351aea | /src/tests/test_logger.py | da0f9341ecee4af458cb56483959722b3b5f79a3 | [
"HPND",
"MIT",
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | ArisBee/PyBitmessage | cf9285a2e1a7bf97376a5b691d8b34c9702fdb52 | dbfd96315b4f227aa641033ecbfa758f206d88cc | refs/heads/v0.6 | 2023-07-09T19:55:44.755629 | 2021-08-16T19:32:04 | 2021-08-16T19:32:04 | 347,017,788 | 0 | 1 | NOASSERTION | 2021-03-29T13:28:37 | 2021-03-12T09:53:11 | null | UTF-8 | Python | false | false | 1,173 | py | """
Testing the logger configuration
"""
import os
import tempfile
from .test_process import TestProcessProto
class TestLogger(TestProcessProto):
"""A test case for logger configuration"""
pattern = r' <===> '
conf_template = '''
[loggers]
keys=root
[handlers]
keys=default
[formatters]
keys=default
... | [
"4glitch@gmail.com"
] | 4glitch@gmail.com |
bb0fd8139104d65db7a2325b4dcf41355b88aa0f | 103facfefd464cd02c17efe652a0252447365855 | /ex01a.py | ef1173e91ac0079f76fc80ed49d7e37a7253fcbc | [] | no_license | mascarenhasl/pythontest | 390712795e3bf66110ea4e3c6b7b8c2cc0e9fffe | 437891f66dfda61b10b466921852b3dff0edf6b5 | refs/heads/master | 2020-03-24T16:09:29.929540 | 2018-07-30T03:21:05 | 2018-07-30T03:21:05 | 142,814,669 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8 | py | # Ex01a
| [
"madcarenhasl@yahoo.com"
] | madcarenhasl@yahoo.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.