blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 281 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 6 116 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 313
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 18.2k 668M ⌀ | star_events_count int64 0 102k | fork_events_count int64 0 38.2k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 107
values | src_encoding stringclasses 20
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 4 6.02M | extension stringclasses 78
values | content stringlengths 2 6.02M | authors listlengths 1 1 | author stringlengths 0 175 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
108d56c42cdcdff2bb22d0a2c1745b9e0b733b3e | 043e3251af764c7ba59c4051771d8639feae9e74 | /main.spec | a16b40327b1b019228eb4f9310333d051802266f | [] | no_license | Kamaliddin-creator/StopWatch | 15af6344315c6d9c71339199626939df100b7dc1 | a15657ad7ed87e3a0c0a9467f3d0c7d9cfa16b31 | refs/heads/master | 2022-12-14T16:15:56.058936 | 2020-08-28T11:06:55 | 2020-08-28T11:06:55 | 291,024,443 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 885 | spec | # -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['main.py'],
pathex=['E:\\Projects\\QRCODE'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_pr... | [
"ulbarsovk@gmail.com"
] | ulbarsovk@gmail.com |
7f847a8a75b0bd5215fc381713b860453fc20803 | d05a59feee839a4af352b7ed2fd6cf10a288a3cb | /xlsxwriter/test/comparison/test_chart_format24.py | 017038f19ec35b57c30a8bd3b6c3821087c59443 | [
"BSD-2-Clause-Views"
] | permissive | elessarelfstone/XlsxWriter | 0d958afd593643f990373bd4d8a32bafc0966534 | bb7b7881c7a93c89d6eaac25f12dda08d58d3046 | refs/heads/master | 2020-09-24T06:17:20.840848 | 2019-11-24T23:43:01 | 2019-11-24T23:43:01 | 225,685,272 | 1 | 0 | NOASSERTION | 2019-12-03T18:09:06 | 2019-12-03T18:09:05 | null | UTF-8 | Python | false | false | 1,555 | py | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org
#
from ..excel_comparsion_test import ExcelComparisonTest
from ...workbook import Workbook
class TestCompareXLSXFiles(ExcelComparisonTest):
"""... | [
"jmcnamara@cpan.org"
] | jmcnamara@cpan.org |
fbf46144c391400ca7481f5095e9f3585102ebd0 | 1e0e14eb136340e4a5a64156f468aa0630f3047e | /02_Stack/02_reverse_string.py | 77f1118ceb7ac590f66192e9a3d36006d43529ae | [] | no_license | SaurabhJumnalkar/DS-and-Algo-Learning-Resource | b91b8ffef0834269645358b7f471ac6bc59ebc94 | 74f06b5c56c72ca184371e4a595a820d1f079d9a | refs/heads/master | 2023-03-07T22:40:37.151914 | 2021-02-23T17:50:53 | 2021-02-23T17:50:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,793 | py | '''
Contributed by Jiganesh Patil
The one liner to reverse a string is "string"[::-1]
Commonly Asked Interview Question "How to reverse a string Using Stack"
Stack is a Data-structure which follows Last In First Out or LIFO :)
Assume a box and Cahracters A B C and D all on the Floor, Taking element one by one you p... | [
"57866448+AtharvaMahamuni@users.noreply.github.com"
] | 57866448+AtharvaMahamuni@users.noreply.github.com |
54477822fde35af97a3ad17269c805114594b875 | b6c6dd8dd263c6cc0091e01ec93a03ba2efbf590 | /python27/template.py | 1facc82140e7d9a57268585e972c71e3f7a8470a | [] | no_license | kargee2000/ModellingTool_Python | eb7d56e3db18fc44e44191022785c92100254528 | 23a645d26567413131024b44d385843aadc1d3da | refs/heads/master | 2021-01-23T11:59:36.133369 | 2016-06-25T08:52:36 | 2016-06-25T08:52:36 | 61,935,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,472 | py | s1 = """<html>
<head>
<meta charset="UTF-8">
<title>Model Builder - Main Page</title>
<style>
@import url(http://fonts.googleapis.com/css?family=Exo:100,200,400);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:700,400,300);
body{
margin: 0;
padding: 0;
background: #fff;
position: absolute;
... | [
"kargee_2000@yahoo.com"
] | kargee_2000@yahoo.com |
5948942590110adf43f925fd248d417aae92946d | ea88fac1da1b02e77180c2e20e1fd49b919eecf5 | /installer/core/providers/aws/boto3/rds.py | 30e547edc215610260da165de7c20d672e56f79c | [
"Apache-2.0"
] | permissive | jacob-kinzer/pacbot | 7eeb667505e0ddfd333f6e423b51b8199b481692 | d78605e9e3fd8c34435636495cd6d51c677754e3 | refs/heads/master | 2020-04-23T21:46:42.251948 | 2019-02-06T20:47:08 | 2019-02-06T20:47:08 | 171,480,569 | 0 | 0 | null | 2019-02-19T13:41:01 | 2019-02-19T13:41:00 | null | UTF-8 | Python | false | false | 1,610 | py | import boto3
def get_rds_client(access_key, secret_key, region):
return boto3.client(
'rds',
region_name=region,
aws_access_key_id=access_key,
aws_secret_access_key=secret_key)
def check_rds_instance_exists(instance_identifier, access_key, secret_key, region):
client = get_rd... | [
"sanjnur@gmail.com"
] | sanjnur@gmail.com |
4ce0b2ca8a93f6dcd82b7696fe37429e6c022807 | 15f846899c56506960ec23b579ad1486bb97fe8e | /爬虫类/ip地址查询/ip地址查询.py | 381c844e20b4cc4eaf9c79e14313eb75a48d7611 | [
"MIT"
] | permissive | fengtony686/Gedgat | 28a410920e79212080e012517c70de41308a80f4 | c5c81388a806d97d116532ff6cc9ecbd89fad514 | refs/heads/master | 2021-02-09T16:58:04.909047 | 2020-08-24T04:16:54 | 2020-08-24T04:16:54 | 244,304,566 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,892 | py | import requests
from bs4 import BeautifulSoup
from openpyxl import Workbook
import time
SLEEP_TIME = 60 # IP检测间隔时间为60秒
CHART_NAME = r'ip地址统计表' # 表格的名称
NUMBER_OF_IP = 50 # 获取IP的数量
wb = Workbook()
sheet = wb.active
sheet.title = CHART_NAME
def get_html(url):
text = requests.get(url, headers={'User-Agent':'... | [
"fengtony686@gmail.com"
] | fengtony686@gmail.com |
bbdab31d2d1f4947820c9b24c6c5bdd0970759c3 | 3ba361a591e6ed3b58340cb188aa6af5499e6802 | /payment/migrations/0004_order_user_profile.py | b9c7a0b725c907e862c4ce98b6cafe1490a8963a | [] | no_license | Code-Institute-Submissions/melody-market | f7c091708c601d0ca28ae3f49e186994dfaef111 | aae8aaee477d572cd09d01cea12ae23847a3a034 | refs/heads/master | 2023-01-02T09:59:10.492452 | 2020-10-01T02:50:02 | 2020-10-01T02:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 565 | py | # Generated by Django 3.1.1 on 2020-09-27 02:57
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('profiles', '0001_initial'),
('payment', '0003_auto_20200927_0228'),
]
operations = [
migrations.Add... | [
"emil1811@gmail.com"
] | emil1811@gmail.com |
39aeea1353ae0e5ff5ecf5b8b0b635a8cf533ed7 | f250ad0cffc0b7f209174ba64aa86060a60118b2 | /introduction/write_a_model_as_a_chain.py | 027c7f7be5819f6feedd601eb0491713e0e3f93b | [] | no_license | kenta-s/chainer_tutorial | 9da2f961b115e175fb0128085cb1b35ae6ad437f | a24b0172287def1cb7750115298c16c15dd29c07 | refs/heads/master | 2020-12-02T10:03:30.428314 | 2017-07-09T14:11:15 | 2017-07-09T14:11:15 | 96,684,311 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 621 | py | import numpy as np
import chainer
from chainer import cuda, Function, gradient_check, report, training, utils, Variable
from chainer import datasets, iterators, optimizers, serializers
from chainer import Link, Chain, ChainList
import chainer.functions as F
import chainer.links as L
from chainer.training import extensi... | [
"knt01222@gmail.com"
] | knt01222@gmail.com |
ec9733d55c01eb7e99f50e9f9fa51fd0cb38aaf4 | 6662aa37e6a5df5ef72359f5e52ba74a77ef00b6 | /sensors/gps_2.py | 886adcf175323e317a3326910e154dad195e52be | [] | no_license | rice-eclipse/RTR-PocketBeagle | b3f4a7536a28d5e412e7184dc8399558264f0e78 | 11939281355204c08f32da316ee35061def254f0 | refs/heads/master | 2023-01-01T18:28:53.201874 | 2020-10-24T18:48:15 | 2020-10-24T18:48:15 | 295,223,021 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,667 | py | # Simple GPS module demonstration.
# Will print NMEA sentences received from the GPS, great for testing connection
# Uses the GPS to send some commands, then reads directly from the GPS
import time
import board
#import busio
import adafruit_gps
import digitalio
# Create a serial connection for the GPS connection using... | [
"debian@beaglebone.localdomain"
] | debian@beaglebone.localdomain |
57fe34ad1b3644de1f0c0b4b71a7477a44bfcef3 | cd807fc35ca7e887e0e61fa60d24753fb210f7e9 | /other/convert_csv_riddle.py | f68172a6d7f9ebd391e05be0eb4eaea67958d98b | [] | no_license | barfsma/newcoref | 52959c59ecaec6c102534844ffa067cbd7e9e489 | 309f9ecad1be208649cd499051395a0465506098 | refs/heads/master | 2020-06-01T02:35:45.032927 | 2019-06-06T16:26:25 | 2019-06-06T16:26:25 | 190,600,273 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 25,871 | py | """
Edited version of coref.py
Writes the features for pleonastic pronouns to a csv
"""
import io
import os
import re
import sys
import tempfile
import functools
import subprocess
from collections import defaultdict
from itertools import islice
from bisect import bisect
from getopt import gnu_getopt
... | [
"bertelt.braaksma@gmail.com"
] | bertelt.braaksma@gmail.com |
e5715062db6a8e7bb894b4f5bd2d275d98e604be | 0fb505765604b586c3a46e608fc23930f8501db5 | /venv/lib/python2.7/site-packages/django/contrib/messages/apps.py | 1a9189383ef26083e87cbc3f46cf61eaad518797 | [
"MIT"
] | permissive | domenicosolazzo/practice-django | b05edecc302d97c97b7ce1de809ea46d59e2f0e6 | 44e74c973384c38bd71e7c8a1aacd1e10d6a6893 | refs/heads/master | 2021-08-19T15:36:22.732954 | 2015-01-22T18:42:14 | 2015-01-22T18:42:14 | 25,118,384 | 0 | 0 | MIT | 2021-06-10T19:50:51 | 2014-10-12T12:08:47 | Python | UTF-8 | Python | false | false | 196 | py | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class MessagesConfig(AppConfig):
name = 'django.contrib.messages'
verbose_name = _("Messages")
| [
"solazzo.domenico@gmail.com"
] | solazzo.domenico@gmail.com |
851f549d4eba7ad074d27bf16f0508df77b8494d | f25bea795eb58589b31bcb73ed9cd667b4443da4 | /unittests/models/test_LSTM.py | 4d8dc63cd0f760246aad62ebef7acdc07eac1131 | [
"Apache-2.0"
] | permissive | haohy/deepts_torch | 1e945693cee6aeb1b41a055d9bc1830e0a26a2a6 | 166cb0ac2ea1d89d1196a33f40caf89c3f2c23c5 | refs/heads/master | 2023-08-11T18:18:39.853836 | 2021-10-04T13:40:37 | 2021-10-04T13:40:37 | 344,708,685 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,858 | py | import pytest
import os, sys
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(1, os.getcwd())
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import tensorflow as tf
from deepts.models import LSTM
from deepts.estimator import LSTMEstimator
from deepts.data import DeeptsData
from deepts.metrics import MASE
from unit... | [
"haohy6@163.com"
] | haohy6@163.com |
0382e5186f5be2f338903d1f73d61706d6c1748f | d5214b1331c9dae59d95ba5b3aa3e9f449ad6695 | /quintagroup.seoptimizer/tags/4.0.5/quintagroup/seoptimizer/tests/testCanonicalURL.py | 77d42192d752ab25fe7804d1cac1cf632a7a209e | [] | no_license | kroman0/products | 1661ee25a224c4b5f172f98110944f56136c77cf | f359bb64db22f468db5d1e411638790e94d535a2 | refs/heads/master | 2021-01-10T07:58:04.579234 | 2014-06-11T12:05:56 | 2014-06-11T12:05:56 | 52,677,831 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,956 | py | from quintagroup.canonicalpath.interfaces import ICanonicalLink
from quintagroup.seoptimizer.tests.base import FunctionalTestCase
from Products.PloneTestCase.PloneTestCase import portal_owner, \
default_password
import re
from Products.CMFCore.utils import getToolByName
class TestCanonicalURL(FunctionalTestCase):... | [
"vmaksymiv@users.noreply.github.com"
] | vmaksymiv@users.noreply.github.com |
eed0c20c431c455eef807d466860bcb2c6efb484 | 41c830ef97809c6b696c02948c99a6c0ef06ac1b | /midterm/midterm/book/models.py | d3357abbb7f68b1accd5c81b3ae11831fa8fc2ac | [] | no_license | sidakinaddd/BFDjango | b3523fec9d7ad0064848c9d4817c803e57d186e6 | 331f3e9df1af9927f9d6bc5d693619f256f28d24 | refs/heads/master | 2020-12-11T11:19:15.780295 | 2020-04-19T21:54:46 | 2020-04-19T21:54:46 | 233,829,497 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 796 | py | from django.db import models
import datetime
# Create your models here.
class BookJournalBase(models.Model):
name = models.CharField(max_length=200)
price = models.FloatField(default=0)
description = models.TextField()
created_date = models.DateTimeField(default=datetime.datetime.now)
class Meta:
... | [
"sidakinaddd@gmail.com"
] | sidakinaddd@gmail.com |
a7c351ea8b394fcbd317d950061768321073109d | bb2a1f1e7757c5f3419d89703f1ff4af0e9b1211 | /services/urls.py | 0c5d25e36737907429f321617966709c7e4949d4 | [] | no_license | Code-Institute-Submissions/Freelance-Services | 785786f71ccf65e7c1a9b840aa3857ec2ab7018c | 43f0030a6597e89a5d48bb3a5185666de0b06a88 | refs/heads/master | 2021-05-17T16:52:50.771174 | 2020-03-28T13:02:12 | 2020-03-28T13:02:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 149 | py | from django.urls import path, re_path, include
from .views import all_services
urlpatterns = [
path('services', all_services, name='services')
] | [
"ecundick@outlook.com"
] | ecundick@outlook.com |
d635389b50b65b5803ed35e92003d0aa8cc9ca28 | faba2e715f8c83234ad50c37ebb2e67636795ecb | /cursoemvideo/desafio2.py | 94001bd0e3a27c0b9ce053788cbbf88276615bc2 | [] | no_license | Jacksonnascimento/EstudoPython | 1fc58cbc3b11811d3d1272ff1a5b89e69c9e3099 | 4376d2fb2c25c4ab1d7335daf4f20a05578d0d4c | refs/heads/master | 2020-12-21T00:20:29.281212 | 2020-01-26T04:19:59 | 2020-01-26T04:19:59 | 236,252,454 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 144 | py | # -*- coding: utf-8 -*-
dia = input("Dia: ")
mes = input("Mês: ")
ano = input("Ano: ")
print("Você nasceu no dia", dia, "de", mes, "de", ano) | [
"jacksonnascimento84@hotmail.com"
] | jacksonnascimento84@hotmail.com |
338f8f74aa2422c54f439219dc21937dc46b8c1f | 34c70098d004e723fc6ede1676cb686c185b5918 | /venv/bin/django-admin.py | 6832a3fe6b33d6a4608161625c12dd4351b0ba11 | [] | no_license | tarcysyo/articles.free_project | d5df4ce953988cba29fb9e53d64e9ce3cf59a642 | 37a19310d86061e473200414047e4d802740f766 | refs/heads/master | 2022-07-02T13:16:06.983511 | 2020-05-14T23:11:52 | 2020-05-14T23:11:52 | 259,548,038 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 164 | py | #!/home/dev/PycharmProjects/articles.free/venv/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| [
"tarcisius3@yahoo.com.br"
] | tarcisius3@yahoo.com.br |
78dadd128cbf86fcce10358d8b05ee78ddb6cd7d | 6ee3a63f2982a91410c47997fdf42e5459f721ac | /app.py | b0a1642e93f131cbac698bf97467335bccb353a3 | [] | no_license | vagelim/estore | 883cf102b68c92e46b94ef09f02268d5313fda72 | 65281bf1e7f32439cf007698e48741474bfee35b | refs/heads/master | 2021-01-10T01:19:17.287620 | 2012-12-18T09:25:15 | 2012-12-18T09:25:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,432 | py | #!/bin/env python
from flask import Flask, session, redirect, url_for, escape, request
from flask import render_template, url_for
import os
from login import valid_login, logmein, create_login, valid_username, saltPassword
import msg as msg
app = Flask(__name__)
@app.route('/')
def index():
if 'username' in sessi... | [
"vagelim@gmail.com"
] | vagelim@gmail.com |
6d8866884850d93c892bbce33ccc18f615ed4467 | 2392831da8a9f42a1c003f9c5c709af60097619f | /manage.py | f64b0f3360eee2a31a52f17d8185566133b98e28 | [] | no_license | pausmarius/db_file_storage_demo | 501fca68d958a79f6234712afdd257ec33f5010a | bf2210f53a516f5af3ef0d09a32e28efd248c9aa | refs/heads/master | 2016-09-01T17:26:21.241912 | 2013-03-25T03:10:17 | 2013-03-25T03:10:17 | 13,021,212 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 263 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "db_file_storage_demo.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"victor_o_silva@hotmail.com"
] | victor_o_silva@hotmail.com |
79d04d46eb9a94b6d23858dfb0758f47064b3936 | 6d0bee79d319ea24ef29fbbc940159209402726a | /lab4/lay.py | 85051bf1427730e833379c88be65ea5fac578068 | [
"MIT"
] | permissive | zzc-tongji/gwu-csci-6554-computer-graphic-2 | f037dbb27c0cb7423149ab945b2580ad60930ac2 | dfbb16369878802f57a4c280e71cfd3ac28b41e7 | refs/heads/master | 2020-05-21T05:10:28.240828 | 2019-05-10T03:53:33 | 2019-05-10T03:53:33 | 185,885,499 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,042 | py | import numpy as np
import os
class Lay(object):
def __init__(self):
self.__m = self.m_world = None
self.__r = self.m_world = None
self.__s = self.m_world = None
self.m_world = None
self.m_world_inv = None
self.is_ready = False
def set(self, move=np.eye(4), rota... | [
"zzc-tongji@users.noreply.github.com"
] | zzc-tongji@users.noreply.github.com |
317316afc2eda10a2c3dfedce7768855c411e93a | 6aa36fee3f4fcc9ac8f5509e51ea6bd8fc05b39b | /virtualenv-flask/lib/python2.7/site-packages/cybox/helper.py | f65d1b9819c9e719d461e09d6c1d1c63d37795f0 | [] | no_license | syn-ack-zack/msg-stix-parser | 8c46c4d897d579162f224360a077ac42f28ffe89 | 1edb7c3b6d60f76f24b91830a1ae7076d46ede14 | refs/heads/master | 2021-03-27T15:01:07.344754 | 2016-09-30T16:43:22 | 2016-09-30T16:43:22 | 69,684,161 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,178 | py | #!/usr/bin/env python
# Copyright (c) 2013, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.
'''
CybOX Common Indicator API
An api for creating observables for common indicators:
ipv4 addresses, domain names, file hashes, and urls.
'''
import sys
import uuid
from cybox.core import ... | [
"nagaich@localhost.localdomain"
] | nagaich@localhost.localdomain |
d2c259f4c791b27708cdc4496151cd77b169c2a2 | 82b946da326148a3c1c1f687f96c0da165bb2c15 | /sdk/python/pulumi_azure_native/network/v20210201/get_virtual_network_tap.py | 974801dd5908402ca2d9bf972ee8e210857e8afc | [
"BSD-3-Clause",
"Apache-2.0"
] | 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 | 8,952 | 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"
] | noreply@github.com |
017701278f26ce1ca00afb391acc74d5c49ffbc8 | 73e7094fdbbd021aaaf19a6006416e96ad7b8a23 | /test/test_tasks/_mocks.py | 435de5c845dba8d81ed96916d671afaccbd85656 | [
"MIT"
] | permissive | abantos/bolt | b795993444ec00b411f4fc839e171c7798cd2012 | 8f945962ec8e0648fc9a6d330abc4063605ce800 | refs/heads/master | 2023-08-17T11:23:53.197679 | 2023-08-13T17:58:32 | 2023-08-13T17:58:32 | 50,967,722 | 17 | 6 | MIT | 2023-08-13T17:58:33 | 2016-02-03T02:24:09 | Python | UTF-8 | Python | false | false | 150 | py | """
"""
import bolt._btregistry as btr
class TaskRegistryDouble(btr.TaskRegistry):
def contains(self, name):
return name in self._tasks
| [
"isaac_rodriguez@live.com"
] | isaac_rodriguez@live.com |
0a6eb04b778d0956d8126582943281f26326180d | 703824b75675dfd369f182dd525794e00b7a70eb | /code/cnn_transfer/main.py | fcff084625f676ba08f5299752fbfa184ec7b4aa | [] | no_license | preke/atec_zhiyuan | a4af4009e90586812c0f283cc91601c9fec2b02d | 2e2d9fd0b30f704f6791f9909196e990861ab818 | refs/heads/master | 2022-10-05T04:51:23.993107 | 2018-07-24T14:49:04 | 2018-07-24T14:49:04 | 131,551,554 | 0 | 1 | null | 2022-09-30T01:38:16 | 2018-04-30T03:21:52 | Python | UTF-8 | Python | false | false | 4,511 | py | # coding = utf-8
import pandas as pd
import numpy as np
import torch
import torchtext.data as data
import torchtext.datasets as datasets
import argparse
from load_data import load_quora, load_glove_as_dict
import mydatasets
import os
import datetime
import traceback
import model
from train import train, test
glove_pa... | [
"geek00021@gmail.com"
] | geek00021@gmail.com |
0c319a3201803cbe704aae75db8ba174adf5fba7 | 4d0cd5845f4a7b84f66dafb1f3fcf1b445501a7c | /Sphinx-docs/conf.py | d8cfaa5262a28b5b157d89590c1fa1e998d95211 | [
"Apache-2.0"
] | permissive | HenryKobin/PyOpenFisheries | 6f7828f0598d8c2e4bc4c4f6309cd2027f2aea40 | 9bc015615975f25695f3448babb3679aee294840 | refs/heads/main | 2023-03-21T02:46:30.371322 | 2021-03-13T18:46:44 | 2021-03-13T18:46:44 | 346,599,445 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,513 | py | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If ex... | [
"henry@verdant.ai"
] | henry@verdant.ai |
929c23a9620adf2f1c003ec9135e45ad81261b01 | 010c5fbc97731286be00028ff33fc981d943bca3 | /primal/src/system/bin-data/lift_over.py | a2fcb668400bd441d0a7b9f2cd1b78e1afe870a1 | [] | no_license | orenlivne/ober | 6ce41e0f75d3a8baebc53e28d7f6ae4aeb645f30 | 810b16b2611f32c191182042240851152784edea | refs/heads/master | 2021-01-23T13:48:49.172653 | 2014-04-03T13:57:44 | 2014-04-03T13:57:44 | 6,902,212 | 7 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,139 | py | #!/usr/bin/env python
'''
============================================================
Convert coordinates read from stdin from one human genome
build to another.
Usage: lift_over.py <from-build> <to-build>
stdin line format: chrom bp_in_from_build
stdout line format: bp_in_to_build, or '-' if not found
Created on F... | [
"oren.livne@gmail.com"
] | oren.livne@gmail.com |
7197e5b320ce581df451038b10cf2e2ca4b3c204 | e28009b0a4584e8d128ed6fbd4ba84a1db11d1b9 | /824.Goat Latin/824.Goat Latin.py | 9a074961d672b68bff7b9d3ae8faee89d99a8b11 | [] | no_license | jerrylance/LeetCode | 509d16e4285296167feb51a80d6c382b3833405e | 06ed3e9b27a3f1c0c517710d57fbbd794fd83e45 | refs/heads/master | 2020-12-02T23:10:27.382142 | 2020-08-02T02:03:54 | 2020-08-02T02:03:54 | 231,141,551 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 906 | py | # LeetCode Solution
# Zeyu Liu
# 2019.6.12
# 824.Goat Latin
from typing import List
# method 1 straight forward
class Solution:
def toGoatLatin(self, S: str) -> str:
vowel = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U']
res = []
S = S.split()
for i,v in enumerate(S)... | [
"noreply@github.com"
] | noreply@github.com |
0c61a60e0f89114383c74f25387ee9880daa581e | a212743226afdda85f9b468bb16f3195b38248f1 | /main.py | 36aed4c37234792f16edf16bc98308e7f0e80375 | [] | no_license | evrythng/evrythng-pycom | 24a6597d8c88ead7e7ab387fd28962fd6571e554 | 4a54e591d7281812690ac5f150d8c853ae185229 | refs/heads/master | 2021-03-24T12:44:42.449779 | 2018-04-24T14:21:33 | 2018-04-24T14:21:33 | 99,595,447 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,216 | py | import gc
import config
import provision
import ota_upgrade
from reset import ResetButton
ResetButton('P14')
provision.check_and_start_provisioning_mode()
try:
config.read_configs()
except config.InvalidWifiConfigException:
print('reading wifi config failed, starting provisioning mode')
provision.start_p... | [
"ruslan.filipenko@evrythng.com"
] | ruslan.filipenko@evrythng.com |
0955c0d21f9a00b48526ba7a9c1c612b49f3afa2 | a0eea3e416a050168aba0876c33a8fddf310868a | /src/eavatar.x.hub/eavatar/hub/avatar.py | db30881d9fe987bf3e1717de9e5f9638a4226eeb | [] | no_license | eavatar/exchange-hub | a0dee945da6922408773a8d5bd1b9029fcf55dd6 | c78cdc6aa357442001c76c0daaca3597cd8b4adf | refs/heads/master | 2021-01-13T14:28:29.968008 | 2015-03-05T13:47:18 | 2015-03-05T13:47:18 | 30,749,051 | 0 | 0 | null | 2015-03-05T13:47:19 | 2015-02-13T09:16:04 | Python | UTF-8 | Python | false | false | 3,307 | py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
"""
Avatar-specific functionality.
"""
import json
import time
import logging
import falcon
from datetime import datetime, timedelta
from cqlengine import columns
from cqlengine.models import Model
from eavatar.... | [
"sam@eavatar.com"
] | sam@eavatar.com |
438e607948d00b3900f47cf005863f158779a909 | 39ccbe53b5c0943511042fd2ca2c9f5047b9b3f8 | /venv/bin/pylint | 306457137b11434e1d32f8563eb04c50bc4ea105 | [] | no_license | vscalcione/jarvis-ai-assistant-python | cf7cc2e744b8b427d99c12ced0621c8a6b2254e0 | f0e7f4c274f682030731796db297f710e1609034 | refs/heads/master | 2022-12-25T18:08:30.203637 | 2020-09-10T21:48:49 | 2020-09-10T21:48:49 | 294,526,330 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 269 | #!/home/vincenzo/Scrivania/jarvis-ai-assistant-python/venv/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pylint import run_pylint
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run_pylint())
| [
"vincenzo99.scalcione@gmail.com"
] | vincenzo99.scalcione@gmail.com | |
ae6fdee578f7095c81e40cf81131713565d755fa | afef14251dde93419eb736347690cf381c711246 | /mainpro_FER.py | 220f0a56f2984db60e8a7022cda13412e96730ee | [
"MIT"
] | permissive | LiangJunYu88/Facial-Expression-Recognition-darknet | 627ad4c84ab27d2a3a5232a55d82cf636dc0a6b3 | 95ff7a594cb7dfaf39bed5d963082b26513cead7 | refs/heads/main | 2023-01-14T05:46:37.254557 | 2020-11-16T03:14:07 | 2020-11-16T03:14:07 | 313,173,916 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,617 | py | '''Train Fer2013 with PyTorch.'''
# 10 crop for data enhancement
from __future__ import print_function
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import torchvision
import transforms as transforms
import numpy as np
im... | [
"noreply@github.com"
] | noreply@github.com |
49c215e019e5fd138edb162a4c33354a00e18d1f | 78cad944dd460c13ed5af1e20361cf76ebc1e444 | /run_train.py | 1cd4a0018ae8c8c4efd90a1139c17eeee4c621b0 | [] | no_license | habbes/chest-xrays | 270cf0a6d60738fcc0e461747249526afb635390 | 0c7a1d965572dda5831e0ab389423ec49d37d97e | refs/heads/master | 2022-02-04T18:51:46.684821 | 2019-04-29T10:04:04 | 2019-04-29T10:04:04 | 191,459,366 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,648 | py | import argparse
from trainer import Trainer, plot_roc_auc
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Run CheXpert classifier")
parser.add_argument("--max_train_samples", type=int, default=None, metavar="s",
help="Max number of training samples to use for training. (defaul... | [
"hello@habbes.xyz"
] | hello@habbes.xyz |
f3dd5b4353dff6f6cef8c9eb4092d47fdf047aaa | 80b545522375b2b8bbfdff0f540b1172e53b140c | /djecommerce/settings/development.py | 3911c6f54c156da5237c8b83486eff63c55810d2 | [] | no_license | DuncanMoyo/django-ecommerce-website | 18e1e8dcf358de6758ad7974a703145ed5cab4db | 21783c3d4159adffabbfc522099cf9c55346bed8 | refs/heads/master | 2022-12-11T15:14:51.039929 | 2019-08-31T20:48:59 | 2019-08-31T20:48:59 | 196,033,607 | 0 | 0 | null | 2022-12-08T05:51:59 | 2019-07-09T15:14:11 | JavaScript | UTF-8 | Python | false | false | 1,244 | py | from .base import *
DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1']
INSTALLED_APPS += [
'debug_toolbar'
]
MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware',]
# DEBUG TOOLBAR SETTINGS
DEBUG_TOOLBAR_PANELS = [
'debug_toolbar.panels.versions.VersionsPanel',
'debug_toolbar.panels.timer.TimerPanel... | [
"duncanfmoyo@gmail.com"
] | duncanfmoyo@gmail.com |
96f1f6047a66b82a31b47ebd574b3742357a87f4 | 09bfb243b9db82db446cd1387ce540cfeee444a0 | /tests/test_torrent.py | d06d444e2bf6ad949c7de306aa28a782b8423eef | [] | no_license | aychedee/munchbot | 03c2c3e48c3a510d2718d5a2d4412c6cac291c74 | e0ff8f5464e0b1d04b7cf25fa7408c607bcf93a5 | refs/heads/master | 2020-11-30T14:41:15.393941 | 2016-09-28T21:51:43 | 2016-09-28T21:51:43 | 67,580,252 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 342 | py | from datetime import datetime
from torrent import Torrent
def test_torrent(monkeypatch):
t = Torrent(
{
'pub_date': 'Thu, 08 Sep 2016 18:49:44 +0000',
'title': 'The.Movie.Title.2016'
}
)
assert t.published == datetime(2016, 9, 8, 18, 49, 44)
assert t.name == '... | [
"hansel@interpretthis.org"
] | hansel@interpretthis.org |
9c713d72a9813f1aefbf253e855da6c053e9eb72 | 975b2d421d3661e6770b601929d5f11d981d8985 | /msgraph/generated/groups/item/team/all_channels/all_channels_request_builder.py | e2efd1a34cce3210e12ce678f69df66739e99fd4 | [
"MIT"
] | permissive | microsoftgraph/msgraph-sdk-python | a7c551b85daadeebf76ec4ae12668664ea639b42 | 27de7ccbe688d7614b2f6bde0fdbcda4bc5cc949 | refs/heads/main | 2023-09-03T21:45:27.989672 | 2023-08-31T06:22:18 | 2023-08-31T06:22:18 | 534,665,999 | 135 | 18 | MIT | 2023-09-14T11:04:11 | 2022-09-09T14:00:17 | Python | UTF-8 | Python | false | false | 7,225 | py | from __future__ import annotations
from dataclasses import dataclass, field
from kiota_abstractions.base_request_builder import BaseRequestBuilder
from kiota_abstractions.get_path_parameters import get_path_parameters
from kiota_abstractions.method import Method
from kiota_abstractions.request_adapter import RequestAda... | [
"GraphTooling@service.microsoft.com"
] | GraphTooling@service.microsoft.com |
f920d5fcbde1c77236980b70ade0abfcf145c98c | 48f75473c8a4e478c9dbfa3155997fcdab2927e2 | /gerador.py | b015dde81f4fc273916dbd61fd290a719f8b470e | [] | no_license | dqrtec/grafo | 16428d9fe06605f37f7ce63dc2fe7f37741d1de1 | 5a15dac6a157d85fa57e8b82fd67bbc08f7d60d9 | refs/heads/master | 2020-04-21T16:55:01.688877 | 2020-01-11T14:53:03 | 2020-01-11T14:53:03 | 169,718,306 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,570 | py | import pygame
import sys
import random
import threading
import time
class Vertice:
def __init__(self,TelaInicial,cor_vertice,x,y):
self.TelaInicial = TelaInicial
self.x = x
self.y = y
self.retangulo = pygame.draw.circle(TelaInicial,cor_vertice, (x,y) ,20)
self.label = str(random.randint(0,10))
... | [
"noreply@github.com"
] | noreply@github.com |
414bc115ae17b2308119de2eb29319cb4b453588 | 8e6005ff82a6b37b8c4e2a2fed5791323837d316 | /HighMassAnalysis/Analysis/vbf_muTau_LS.py | 3d44fab3699a7b0094d4520d2f6e8f035c7b18ee | [] | no_license | CMSRA2Tau/gurrola-sl5-on-sl6 | 633050a5ec5fd1a81a15c2e1dcf6b4952b718a9e | f56a99cd7121bcbdf301c2bea9fe397a6b9ef6a1 | refs/heads/master | 2020-04-15T06:13:09.462508 | 2014-12-17T17:57:01 | 2014-12-17T17:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 76,430 | py |
import FWCore.ParameterSet.Config as cms
import copy
process = cms.Process('HiMassTau')
process.load('Configuration.StandardSequences.Services_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
process.GlobalTag.globaltag = 'START53_V7F::All'
process.load('JetMETCorrections.Config... | [
"andrew.m.melo@vanderbilt.edu"
] | andrew.m.melo@vanderbilt.edu |
4c3c8cb6b46694f50d71676f5fd63585875e471c | 123e6f6709a7d7f64b03ad27dfa691f32b75e190 | /project1env/bin/django-admin | 3162188192d035abf62b1bf987ca98eddc643875 | [] | no_license | Socialclimber/Django-Blog-App | 14e03d0dcdd279ffbb77e3ef69e093d0bcf4ffca | 0134319e7d4f668a4582e54819bc9352fbb484c2 | refs/heads/master | 2022-10-13T16:40:52.551609 | 2020-06-12T14:39:54 | 2020-06-12T14:39:54 | 271,816,153 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 299 | #!/home/socialclimber/project1/project1env/bin/python2
# -*- coding: utf-8 -*-
import re
import sys
from django.core.management import execute_from_command_line
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(execute_from_command_line())
| [
"newtnnkeng@gmail.com"
] | newtnnkeng@gmail.com | |
833506d21cba7a3850705dbc90ef35a286a633d6 | 666e4cdc8de96bacfa57fbed3eaa033a901f8469 | /states.py | 6c0272a39535f2a82351ec0c617a771691a9eaf5 | [] | no_license | Pluser761/LocaledBot | fa58e657dc7cc98923dbe5850920445099d0a0f5 | d93b447704ffbb247b0678ce1d4ca6f82f6fba21 | refs/heads/master | 2023-03-16T19:09:45.041592 | 2021-02-07T15:28:55 | 2021-02-07T15:28:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 339 | py | from aiogram.dispatcher.filters.state import StatesGroup, State
class NewTicket(StatesGroup):
wf_body = State()
wf_price = State()
wf_aff = State()
class NewOffer(StatesGroup):
wf_body = State()
wf_price = State()
wf_aff = State()
class NewPayment(StatesGroup):
wf_start = State()
w... | [
"danchik761@yandex.ru"
] | danchik761@yandex.ru |
691d6cbe2f9a10ae712c4829e33e1f99b6e87147 | f1e7f6c34316828eb541d76e160c43e2e61743c8 | /ate/main.py | 7b19cea3a56cefb0c8e9b9d5baa47c7a1d9d312e | [
"MIT"
] | permissive | luochun3731/ApiTestEngine | 216fc95b8e1d5423cc24083ffac22d119f4a789e | b75e17e7c7a73047660fe13accab4653aa0fa5fb | refs/heads/master | 2021-01-01T15:47:26.516079 | 2017-07-18T04:24:51 | 2017-07-18T04:24:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,597 | py | import os
import argparse
import logging
import unittest
import HtmlTestRunner
from ate import runner, utils
class ApiTestCase(unittest.TestCase):
""" create a testcase.
"""
def __init__(self, test_runner, testcase):
super(ApiTestCase, self).__init__()
self.test_runner = test_runner
... | [
"mail@debugtalk.com"
] | mail@debugtalk.com |
4defe82f22c6b83db3cff78f6e922aefcdaf6ec9 | f569978afb27e72bf6a88438aa622b8c50cbc61b | /douyin_open/VideoListVideoList/models/inline_response200_data.py | 84ccfc29afdb3da81d954674bb7beb2eca74eec5 | [] | no_license | strangebank/swagger-petstore-perl | 4834409d6225b8a09b8195128d74a9b10ef1484a | 49dfc229e2e897cdb15cbf969121713162154f28 | refs/heads/master | 2023-01-05T10:21:33.518937 | 2020-11-05T04:33:16 | 2020-11-05T04:33:16 | 310,189,316 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,561 | py | # coding: utf-8
"""
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class InlineRe... | [
"strangebank@gmail.com"
] | strangebank@gmail.com |
ba56fea319f4e6895c86c188e6df0a8c65d0b7bf | 73cc0ca8c734b373d7f9baadaa0a5ebf8e7d33fb | /lib/python/fadelisk/render_context.py | 5efda6e5ae6cc1dc494d325941ea566f04ad6b40 | [] | no_license | gvsurenderreddy/fadelisk | 82b5c4429f8561524c5669890aad586691481963 | 71e3c594eaf972e3f5e9d46b5d442432951c0185 | refs/heads/master | 2021-01-17T21:10:03.406073 | 2016-01-18T01:15:40 | 2016-01-18T01:15:40 | 57,140,577 | 1 | 0 | null | 2016-04-26T15:38:46 | 2016-04-26T15:38:46 | null | UTF-8 | Python | false | false | 2,300 | py |
from copy import deepcopy
request_data_reset_values = {
#-- For delivering media of other types, like image/png. Just
# pack up your data payload and request.setHeader your
# content type.
'payload': None,
#-- Forms require unique field IDs. This will be incremented by
# templates which... | [
"patrick@appliedneural.net"
] | patrick@appliedneural.net |
ee9e080a0278125ac685f274c9e7bfa9b2320af7 | f586585d847b79484dbed566c8260d01739c990f | /report/migrations/0017_auto_20210105_0505.py | e5bd26d766282826d6d80cff53c11816aa198153 | [] | no_license | abhiravi44/taskmanager | e6f2e858efe4ba052284a38132a4721d88bf966a | 5e229bae26a95f6df521e063504bb47a4011c67a | refs/heads/master | 2023-04-17T00:56:29.838110 | 2021-05-03T16:51:25 | 2021-05-03T16:51:25 | 363,999,055 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 479 | py | # Generated by Django 2.2 on 2021-01-05 05:05
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('report', '0016_auto_20210104_1132'),
]
operations = [
migrations.AlterField(
model_name='task',
... | [
"raviabhishek445@gmail.com"
] | raviabhishek445@gmail.com |
4c1841a5ce45f5369e5ae3aceef7a2b1bc32ad8c | 5dc3bd27c18bf41864a0271e94e9a6aaa281382c | /prepy/__init__.py | 6563930797d41682f349937d046d02ce7d6a8576 | [
"CC0-1.0",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | infobaleen/prepy | a6e4ab600c3eb4782d1f35ff8f5a0182bff7092b | ae070370fcafcf624cae87877b1b9a62f7ef7068 | refs/heads/master | 2020-07-01T19:08:14.268051 | 2019-08-09T11:04:48 | 2019-08-09T11:04:48 | 201,266,466 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,844 | py | import glob
import csv
import sqlite3
# Create table and insert data from N CSV files
def csv_to_table(database: str, table: str, pattern: str, filters, delimiter: str = ','):
# Connect to sqlite
conn = sqlite3.connect(database)
c = conn.cursor()
# Create list of files from pattern
files = glob.g... | [
""
] | |
77f7cab7767036f059441baad4a49347f11b0708 | 6b01557b6b545e2472b2e5770c93354b76545bf7 | /app_api/app_api/wsgi.py | 713bce821197a8eac5be23c74f032a0f1cfdfe22 | [] | no_license | FitCoderOfficial/BCM_API | 6c255e2560964b90004c01cdd0b88a9b07c83019 | 0cec4151a06180ebb545b2da709930d077dc6594 | refs/heads/master | 2023-07-28T17:20:03.585669 | 2021-09-06T10:19:53 | 2021-09-06T10:19:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 391 | py | """
WSGI config for app_api project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTI... | [
"toqur1219@naver.com"
] | toqur1219@naver.com |
1cabddff41d82605b70a8ee0fbeb315c3408ff74 | a4b52aa71d0ec285249f8f0f45051297250bb7a5 | /configuration/views.py | 59d8ca6daa0c16530766cb79638961b0bd53467b | [] | no_license | pavlovdo/orbit | 626aa41d22cfe7186562ef58c4ae10a50c0d2d34 | 2758df1d52532f57aab13d7f811cf5cb578569eb | refs/heads/master | 2021-01-10T21:33:58.490465 | 2015-05-21T16:00:36 | 2015-05-21T16:00:36 | 35,954,715 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 204 | py | from django.shortcuts import render
# Create your views here.
from django.shortcuts import render_to_response
def index(request):
args = {}
return render_to_response('configuration.html', args) | [
"pavlovdo@gmail.com"
] | pavlovdo@gmail.com |
03204f5e7cae6d5c5e0995c12be83705512c5ae9 | d1a7e7c10f2f4e8765143832dda503cfd8470459 | /Load_data.py | 24bb145dbaf3882c7f6fbd4e99ef49c6a20be30e | [] | no_license | seifeldingamal/Explore-US-Bikeshare-Data | caa3398315f8ea4c88f538bf14d7495420be38e2 | b43f67e8ffb8d8a8e2b26df658f352d74627fc77 | refs/heads/main | 2023-03-14T23:25:25.488479 | 2021-03-18T19:31:52 | 2021-03-18T19:31:52 | 349,195,217 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,558 | py | import pandas as pd
CITY_DATA = { 'chicago': 'chicago.csv',
'new york city': 'new_york_city.csv',
'washington': 'washington.csv' }
def load_data(city, month, day):
"""
Loads data for the specified city and filters by month and day if applicable.
Args:
(str) city - name... | [
"69943178+seifeldingamal@users.noreply.github.com"
] | 69943178+seifeldingamal@users.noreply.github.com |
4ac2d30029f1696f61dc06f4ed732f1df62f1975 | 5ce393ca7d50b35c41f65188dfe8423646b2fcbc | /flask_with_spark/utilities/decorators.py | eef1b78e8690d55b6feb452f294174d73054c5b1 | [
"MIT"
] | permissive | todhm/have_you_read_this_book | 0c7894319705ed4f047a6b936ab80ea239e5509c | 905cb1934bafc987b76b6e57dbc63285f491ac88 | refs/heads/master | 2022-11-24T07:36:12.514646 | 2018-08-07T05:00:33 | 2018-08-07T05:00:33 | 141,091,550 | 2 | 0 | MIT | 2022-11-11T07:26:01 | 2018-07-16T05:42:52 | JavaScript | UTF-8 | Python | false | false | 750 | py | from functools import wraps
from flask import session,request,redirect,url_for, abort
def login_required(f):
@wraps(f)
def decorated_function(*args,**kwargs):
if session.get('email') is None:
return redirect(url_for('user_app.login',next=request.url))
if session.get('userIntId') is... | [
"todhm@nate.com"
] | todhm@nate.com |
70141887bb0e0c852255ad1ce9359dbad564f6f4 | 5d1e737816e53cdb0056031f49267467b0a8de77 | /visualize_cspace_and_workspace.py | aa42f09da550cf0bb13d9c643deee5e32f830a16 | [] | no_license | aorthey/configuration-space-visualizer | ab4fe297b586d0e7acb2bc58c14b09253da47fec | e839cc839be37de98c6f34ff5ca6347173fc8e45 | refs/heads/master | 2020-06-01T09:56:01.209503 | 2020-04-28T10:43:27 | 2020-04-28T10:43:27 | 190,740,072 | 2 | 3 | null | 2019-07-25T11:20:53 | 2019-06-07T12:30:03 | Python | UTF-8 | Python | false | false | 2,745 | py | import sys
import numpy as np
from src.cspace_visualizer import *
import os
if not os.path.exists("images"):
os.makedirs("images")
from worlds import manipulator_2dof as World
from matplotlib.ticker import MaxNLocator
world = World.Manipulator2dof()
worldName = world.getName()
N = 200
c1 = (0.9,0.9,0.9)
c2 = (0.7,0... | [
"andreas.orthey@gmx.de"
] | andreas.orthey@gmx.de |
9780903f6247bd0b16c522e1cc1d44c1dcfc887a | f96e93a7fbc3d92c9bae8db0909e2a75155592b6 | /src/cornerstone/browser/metaconfigure.py | 2e32c8a6b4935d1e2abf2634b1f182ffe64325d6 | [] | no_license | bluedynamics/cornerstone.browser | 48a4f4d3cd2f04e8075e9a274427966ef51a022b | 25f07e82aba3607d678f09617c7c3c0b27b56064 | refs/heads/master | 2020-04-28T01:03:23.259418 | 2013-10-31T12:19:31 | 2013-10-31T12:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 879 | py | #
# Copyright 2008, Blue Dynamics Alliance, Austria - http://bluedynamics.com
#
# GNU General Public Licence Version 2 or later
__author__ = """Robert Niederreiter <rnix@squarewave.at>"""
__docformat__ = 'plaintext'
from zope.configuration.exceptions import ConfigurationError
try:
from zope.component.zcml import... | [
"rnix@db7f04ef-aaf3-0310-a811-c281ed44c4ad"
] | rnix@db7f04ef-aaf3-0310-a811-c281ed44c4ad |
19caf4e3b0c382dcc3f2aebed048a91f49dbefec | 9c918f601cec1ec935f074b97349a8d54ac88e73 | /tests/test_module.py | cf773198e508c6ee2544a751d3ed3072b58daf9a | [
"Apache-2.0"
] | permissive | mollstam/skal | a9e5f5af219a84c4d71c5bf21b77245362c92aed | af2ce460d9addd07ad2459125511308cfa7cdb44 | refs/heads/master | 2020-03-27T21:51:56.496563 | 2013-09-13T15:19:31 | 2013-09-13T15:19:31 | 147,181,795 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,341 | py | # Copyright (c) 2012-2013 - Max Persson <max@looplab.se>
#
# 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 l... | [
"max@maxpersson.com"
] | max@maxpersson.com |
e9c06b8662fb0c3d0b6b248349afc524e29378f8 | 5bb8e06b559e3bb95beb975dc5a3449aeb87c05b | /widgets/ErrorMsg.py | bc5591b70598a9c80810968a1a6b268ae3d7f0d5 | [] | no_license | kNalj/PumpAlertScript | 54d6d97cfea199e9238d05d83e8c25cd25230f01 | f3ea8d12ab7668949ce6b9dd53061685e3815ef6 | refs/heads/master | 2021-03-04T02:31:01.146342 | 2020-10-30T12:58:27 | 2020-10-30T12:58:27 | 246,004,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 664 | py | from PyQt5.QtWidgets import QMessageBox
from PyQt5.QtGui import QIcon
def show_error_message(title, message):
"""
Function for displaying warnings/errors. Opens a QMessageBox and displays title + msg.
:param title: Title of the displayed warning window
:type title: str
:param message: Message sho... | [
"drmishello69@gmail.com"
] | drmishello69@gmail.com |
ea51347114708d50caee96c5591c9ffac938a7c5 | f86490b83b14d3679a0eccb944716967f76e137f | /Django/00_django_intro/config/urls.py | 3d1809824ed3904485ecc7ec506f573b4ce696e6 | [] | no_license | Sunaaaa/TIL | 63ba35b2995ac25d57c340f329b37079f21276a7 | 86b1d1881fff74f0d63976278213b65d4380e6c0 | refs/heads/master | 2022-12-06T07:02:36.748105 | 2020-02-18T14:29:03 | 2020-02-18T14:29:03 | 216,502,919 | 3 | 3 | null | 2022-12-04T18:30:28 | 2019-10-21T07:21:36 | Python | UTF-8 | Python | false | false | 1,411 | py | """config URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/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 ... | [
"glglthssla@naver.com"
] | glglthssla@naver.com |
86f9132a3225247b4116ceb10c7af75770db93d4 | 65fdde7255ed9d4915cf20c78c5f439eceb964a9 | /src/rshanker779_common/mixins/equals_mixin.py | 416ffcd2dc29cbfd8d40b96da8d08dd43239b80c | [] | no_license | rshanker779/rshanker779_common | 8c11c9122b4ed2dd10458eb5d3d00faa4f5087b6 | 2b9a9e00fb1cb115e811a0bf78c8f45907d55f20 | refs/heads/master | 2023-08-09T02:52:17.447394 | 2023-01-22T22:47:40 | 2023-01-22T22:47:40 | 198,701,218 | 0 | 0 | null | 2023-07-25T21:07:30 | 2019-07-24T19:54:36 | Python | UTF-8 | Python | false | false | 677 | py | class EqualsMixin:
def __hash__(self):
return hash(tuple(sorted(self.__immutable_repr(self.__dict__))))
def __immutable_repr(self, value):
if isinstance(value, list):
return tuple(self.__immutable_repr(i) for i in value)
if isinstance(value, dict):
return tuple(
... | [
"rshanker779@gmail.com"
] | rshanker779@gmail.com |
21cbcf00987e38a1ea4202f7556c2d1aea1874f6 | 3150df0dcb0452c8af800b80802df391af769fdd | /w.py | d05f5cf2be22ef86a35b110340a89d2c9a3e5e94 | [] | no_license | waqas777/x | 10584da8828f93dc0b6e24149d4d631d5bd97bf9 | 4a3fc6a724a3005277c9ebeeb6936683d20dc970 | refs/heads/main | 2023-04-26T06:10:10.422882 | 2021-05-28T06:23:38 | 2021-05-28T06:23:38 | 371,600,866 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 27,040 | py | # Decompiled By Ubaid Ullah
# Github : https://github.com/ubaid78
# uncompyle6 version 3.7.4
# Python bytecode 2.7
# Decompiled from: Python 2.7.18 (default, Mar 20 2021, 14:58:25)
# [GCC 4.2.1 Compatible Android (6454773 based on r365631c2) Clang 9.0.8 (https:/
# Embedded file name: aso
import os, sys, time, d... | [
"noreply@github.com"
] | noreply@github.com |
1a84fa7ebbf8e5359265b272c5b4ad4671e887cd | 424f75c04d9a51804f17702668d2e0210f95c158 | /create_charts.py | 9a9ede2ba6d7c8c3de6581906e6a73103fbbb6f7 | [] | no_license | PGatak/daily_sale_development_investments | 4baa8848df1535e4bcb30b0b2131b98eabae9aa6 | c4e7604ce78af0584f7616d017c4d3dbc239e24e | refs/heads/master | 2022-12-15T13:05:12.396054 | 2020-09-12T14:49:56 | 2020-09-12T14:49:56 | 265,050,722 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 876 | py | import config
import json
import matplotlib.pyplot as plt
import os
DATA_DIR = os.path.expanduser(
"~/projects/flask_my_page/static/scraping-data/"
"daily_sale_development_investments/"
)
os.makedirs(DATA_DIR, exist_ok=True)
def bar_chart(identifier, data):
dates = data.keys()
hits = data.values()
... | [
"pozycjonowanieadsum@gmail.com"
] | pozycjonowanieadsum@gmail.com |
f0849b82eb903b5a1afbb646ee5ed81eee9ee32d | 9bdc32fbfb3bc72acf00ffbb1a0e78c7a2861d03 | /Data/calibration_figures.py | 3f4db534aad21483ee398c824a400397b2020bef | [] | no_license | nikolayvidenov/Cryostat | fa07b82502b95c854e447e7b857a6df983acaac7 | bab1898df18ffbe338d04002795274f5993f3c62 | refs/heads/master | 2021-06-01T16:20:02.660528 | 2019-04-14T06:54:50 | 2020-12-19T04:00:14 | 143,775,731 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,280 | py | # coding: utf-8
import numpy as np
import matplotlib.pyplot as plt
from astropy.io import ascii
from astropy.table import Table
from calibration import *
def medfilt(A, n):
temp = []
for i in range(n, len(A) - n, 1):
temp.append( np.median(A[i -n//2:i+n//2]) )
return temp
def avgfilt(A, n):
t... | [
"nnvideno@uwaterloo.ca"
] | nnvideno@uwaterloo.ca |
9469fdf78aa758aaf9bd25b1267c9999b99e7314 | 3ae62b5125826c779c9724e0c307f4c668229847 | /hw4/3.py | 80ebd7048db2e0ffdb2a580ff900a6ed26e3b18c | [] | no_license | IsanovRu/rusl_python | 6dc75f01dcb6d1a6254256c4581b12748dacd3fc | 726d9ad594706cfc57bd41bb50c4aa46f27e35df | refs/heads/hw | 2023-07-05T19:38:48.208831 | 2021-02-16T15:53:36 | 2021-02-16T15:53:36 | 336,825,429 | 0 | 0 | null | 2021-08-23T15:56:41 | 2021-02-07T15:52:09 | Python | UTF-8 | Python | false | false | 529 | py | # Для чисел в пределах от 20 до 240 найти числа,
# кратные 20 или 21. Необходимо решить задание в одну строку.
# Подсказка: использовать функцию range() и генератор.
# nums = list(range(20, 241))
print([n for n in range(20, 240+1, 20)]) # это без фильтра
print([n for n in range(20, 240+1, 21)])
print([n for n in range... | [
"to@ufasg.com"
] | to@ufasg.com |
2b62c3766c2235eea7d1cc72dbbc535fd04ac0e3 | a9277bd29872bda3fe43d4e1f82f36ec5ec76aeb | /frags_cnt.py | 49c4e2b19a4b120bac31c1307a09542d6cb24ff6 | [] | no_license | bdnguye2/Python_scripts | 286ce74858b988995f081d78d1400bf50cccb1bc | 2d24a1ddc59f5616785ca333d68f8d840c0924c4 | refs/heads/master | 2020-04-21T16:31:01.848112 | 2019-02-09T06:30:03 | 2019-02-09T06:30:03 | 169,704,179 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 865 | py | #!/usr/bin/python3
#
# This script reads in csv file (user input) and
# computes the total charge of fragments from
# Mulliken population analysis of the supermolecules.
# The csv file must be formatted with the following
# columns: Supermolecule, and Monomer A.
# In addition, the supermolecule coordinates must
# ha... | [
"noreply@github.com"
] | noreply@github.com |
92d2540caa11631b2211b05ce1cd8a3ec146552b | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_currycombs.py | 697fc9498aafda38d96c4b64c23d5633a1a39751 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 234 | py |
#calss header
class _CURRYCOMBS():
def __init__(self,):
self.name = "CURRYCOMBS"
self.definitions = currycomb
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['currycomb']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
fe20d63ed464d52be4c392c85b79691c834a06bf | a7d733676ffda8d99ee710402808d131cd325b92 | /pwiki/server.py | 1d8838a957074ce6e57ff124b556fc14c36a1920 | [
"MIT"
] | permissive | lethosor/df-pwiki | 76bbd93d89b8456d8dfb860090a7194b7a770803 | 543fd54948cf81d69e5db438843c17d7ea11f54b | refs/heads/master | 2016-09-06T01:04:57.705268 | 2015-03-24T01:27:46 | 2015-03-24T01:27:46 | 32,763,895 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 656 | py | import bottle
from bottle import route
import pwiki.parser
db = None
parser = None
@route('/page/<page>')
def callback(page):
if page not in db.pages:
bottle.abort(404, 'Page not found')
page = db.pages[page]
yield '<html><head><title>%s</title></head><body>' % page.title
try:
yield p... | [
"lethosor@gmail.com"
] | lethosor@gmail.com |
b1d35b14319ee88f737697a4ff38b5548b64a8e8 | cd4bbecc3f713b0c25508d0c5674d9e103db5df4 | /toontown/fishing/DistributedFishingTarget.py | 69a3ef13a7dc66adb05d96a2986dc55852deddf6 | [] | no_license | peppythegod/ToontownOnline | dce0351cfa1ad8c476e035aa3947fdf53de916a6 | 2e5a106f3027714d301f284721382cb956cd87a0 | refs/heads/master | 2020-04-20T05:05:22.934339 | 2020-01-02T18:05:28 | 2020-01-02T18:05:28 | 168,646,608 | 11 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,803 | py | from pandac.PandaModules import *
from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import *
from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedNode
from direct.fsm import ClassicFSM
from direct.fsm import State
from direct.directutil import Mopath... | [
"47166977+peppythegod@users.noreply.github.com"
] | 47166977+peppythegod@users.noreply.github.com |
b27cdc9a53d788dc1800537e6d801e46ceb22de9 | 75541a9025e842fe22cb4787e2a7ac19e89306b1 | /tests/__init__.py | 005c43e2afb454ea18c38a4dcd1ce2362cdd485d | [] | no_license | exchangeproject/exchange | 87513a2d0de184a101022266e80ef25f34e2cca2 | 8882df133a78703273eb0c33e0a6341d423f3d9b | refs/heads/develop | 2022-12-10T07:08:52.863991 | 2018-11-21T18:28:41 | 2018-11-21T18:28:41 | 115,700,796 | 0 | 2 | null | 2022-12-08T01:00:39 | 2017-12-29T07:53:59 | Python | UTF-8 | Python | false | false | 6,040 | py |
"""Default test suite for the Skycoin Lykke integration.
"""
import docker, docker.errors
import logging
import os.path
import time
import uuid
import socket, errno
from tempfile import gettempdir
service_prefix = 'lykke_sky'
services_started = dict()
logging.basicConfig()
log = logging.getLogger(service_prefix)
T... | [
"olemis+work@gmail.com"
] | olemis+work@gmail.com |
37d88adfe025994e16d3c1f2033a40f0bc78f9fc | a5fd058d5706a93ea6ce57058df8ba5ed8f31676 | /microblog/migrations/versions/c738f8dfb7b6_list_table.py | 9618218fb9c83258457fc6b8a445977f9802fe97 | [] | no_license | Pasmuth/posh-db | 402794f5d4ca532070e6488c6ae95fbb13804e37 | b68d7b7a8f5a3866b296fa981368c435cd742c32 | refs/heads/master | 2020-09-30T09:40:54.908861 | 2019-12-13T06:14:22 | 2019-12-13T06:14:22 | 227,262,333 | 0 | 0 | null | 2020-02-03T04:36:44 | 2019-12-11T02:49:45 | Python | UTF-8 | Python | false | false | 1,075 | py | """List Table
Revision ID: c738f8dfb7b6
Revises: 86f6ed7be4cd
Create Date: 2019-12-11 11:08:57.667433
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c738f8dfb7b6'
down_revision = '86f6ed7be4cd'
branch_labels = None
depends_on = None
def upgrade():
# ###... | [
"pasmuth@thehrdc.org"
] | pasmuth@thehrdc.org |
6e6d6fc7c11408fd0c294107c911b0e13f96e24d | 1920233d0918397cfdcdfaf1e1313320ebc99416 | /PFCsocket.py | 99ff32307bf5710a4c528b114fc4a896f5e8f169 | [] | no_license | SergeTryhub/Owl-of-Awesomness | e7b7b52d496de422d1b6d49d2f95ac89a7c49f5f | ab3370971f8448a1d07b1fa8f4a16fe2bd33a754 | refs/heads/master | 2021-04-27T18:04:06.267589 | 2018-05-05T12:45:07 | 2018-05-05T12:45:07 | 122,331,999 | 0 | 0 | null | 2018-03-06T10:15:17 | 2018-02-21T12:12:50 | C++ | UTF-8 | Python | false | false | 2,084 | py | #!/usr/bin/python
###########
# PFC OCt 2016 basic Owl controller using IP sockets at address 10.0.0.10:12345
# socket code from https://docs.python.org/2/howto/sockets.html
###################
import socket
import sys # for stderr printing
#set the socket comms up, use TCP as it is error correcting end to end... | [
"noreply@github.com"
] | noreply@github.com |
6322b97f4179a2d015542d1d341895f8f47e28f9 | 42b237f0be3c2050b022b27a41510f0c8eae0702 | /common/views.py | fd2e4e3347b3c410acd6741445b9e32ffb2af6c5 | [] | no_license | jun1116/mysite | a3ab24440ae8acee912fd8cf97d1909a25d5973d | d24b6406d9589c7a9c9c404d71b8a05a4a64e810 | refs/heads/master | 2023-06-05T10:17:23.113461 | 2021-06-24T05:52:00 | 2021-06-24T05:52:00 | 378,664,003 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 676 | py | from django.shortcuts import render, redirect
from django.contrib.auth import authenticate, login
from common.forms import UserForm
# Create your views here.
def signup(request):
# Create User
if request.method=="POST":
form = UserForm(request.POST)
if form.is_valid():
form.save()
... | [
"jun1057@ajou.ac.kr"
] | jun1057@ajou.ac.kr |
a87207e9eff593413fc1fe99434da4f68da15b15 | 025abc9e70eb347e688a90bdf3030db120e8824b | /python_script/test_rolling_sphere.py | c4f43ab61ff56c9f2f8b47da5e867ab321a5335b | [
"BSD-3-Clause"
] | permissive | listenzcc/3D_model_matlab | 6953a2ebbb55373a749aebc5101166e327c45cb5 | 2dcaf50a51cf02591737aaa6b4924ed3848f1840 | refs/heads/master | 2020-04-24T02:34:58.093612 | 2019-05-28T04:05:29 | 2019-05-28T04:05:29 | 171,641,961 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,090 | py | # code: utf-8
from mpl_toolkits.mplot3d import proj3d
from matplotlib import animation
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.set_aspect("equal")
# draw sphere
def init():
u, v = np.mgrid[0:2*np.pi:20j, 0:np.pi:10j]
x = np.cos(u)*np.sin(v)
... | [
"listenzcc@mail.bnu.edu.cn"
] | listenzcc@mail.bnu.edu.cn |
8cdfd19fa3367f059b6cb99a71e70b0a91d15753 | 2d3679c19079979480cf374466781130f638bbf7 | /PathInNumericTable.py | b6dd9878e133448861a69a1d520318796a518279 | [] | no_license | nguyenanhthu2510/Dynamic-Programming | 649811c80e4a4292d57fea673788034b72b5bb77 | 6f26971b80deae86f1d83f008cc6b3724ee76e9b | refs/heads/main | 2023-05-05T08:04:32.435771 | 2021-06-02T03:51:20 | 2021-06-02T03:51:20 | 373,030,843 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,053 | py | def show(c):
for i in range(len(c)):
for j in range(len(c[i])):
print(c[i][j], end='\t')
print()
def path(a):
c = [[0 for i in range(len(a[0]) + 1)] for i in range(len(a) + 1)]
for i in range(1, len(c)):
for j in range(1, len(c[0])):
if i + 1 == len(c):
... | [
"thunat2510@gmail.com"
] | thunat2510@gmail.com |
3a618f1d143fc9cb5efe34453719dbdb058ffd3d | 5c0d84570e443d36f233c81ebabccc570572d14a | /component.py | aea684bdb2ca9373620c4d3be5e1ee3be85f72f4 | [] | no_license | RafeOsborne/4005-group | a24f9d84908ae92e3e3fab684866f862d3fe2fde | 53ca9cfbd2c5c04603028469a5a040abbbdc610c | refs/heads/main | 2023-04-07T01:54:11.679410 | 2021-04-10T18:19:47 | 2021-04-10T18:19:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 470 | py | from constants import *
import numpy as np
class component():
def __init__(self, name, i):
self.name = name
if self.name == COMPONENT1:
self.inspectionTime = np.loadtxt('./dat/servinsp1.dat')[i]
elif self.name == COMPONENT2:
self.inspectionTime = np.loadtxt('./dat/servinsp22.dat')[i]
else:
self.inspe... | [
"rafe.osborne@gmail.com"
] | rafe.osborne@gmail.com |
f064a7e6a09a8181c698703b8a964957bcf9ab3a | 5d9bab690aab86ba8d8e9ee315e68e6028fe8048 | /flumine/execution/betfairexecution.py | f3da633c30a1edbd5dbfdb73c982c771be4162f4 | [
"MIT"
] | permissive | chrlanct/flumine | 888b2e83a26930c7d1f17b7815fddccd036fc276 | 3728274bce91cf3d56f42da67b43d116bc2f860e | refs/heads/master | 2022-12-23T09:41:21.744645 | 2020-09-21T09:07:34 | 2020-09-21T09:07:34 | 297,768,368 | 0 | 0 | null | 2020-09-22T20:47:18 | 2020-09-22T20:47:17 | null | UTF-8 | Python | false | false | 9,802 | py | import logging
import requests
from typing import Callable
from betfairlightweight import BetfairError
from .baseexecution import BaseExecution
from ..clients.clients import ExchangeType
from ..order.orderpackage import BaseOrderPackage, OrderPackageType
from ..exceptions import OrderExecutionError
logger = logging.g... | [
"paulingliam@gmail.com"
] | paulingliam@gmail.com |
b5f9054f7881428f25a5846250af44d9057ae642 | f21e92f94394cd6656c2d154db66d0cd91bf1496 | /privatepayam/form.py | 348c5f07ff681cc336217bf3c506c5005b6dffde | [] | no_license | sadegh17/butcamp | 2bd85054a9042b72c8e19e91942b8b1dfc14cb98 | ad4c6cdd5d0ba49431f139c13f8dd0ee8a8549d6 | refs/heads/master | 2020-03-23T16:11:55.356450 | 2018-07-21T09:35:17 | 2018-07-21T09:35:17 | 141,536,598 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 160 | py | from django import forms
from .models import Private
class SendPV(forms.ModelForm):
class Meta :
model =Private
fields = ['matn']
| [
"noreply@github.com"
] | noreply@github.com |
5815383a908cdb10de7a0c7ef0fa94c97ed1d952 | cf915a5e9e618eff9543c18a60c5d1874f2622c7 | /hw1/hw1.py | 59a06079992d041d386bc2623e1d9b083cead2a4 | [] | no_license | AdaHsieh/ML2017FALL | 4d8e9123d22425e2b0a7e843e58f42f7e9ab6ee3 | cb2edc2834a75346a8254d204d085d71efd8aa7b | refs/heads/master | 2021-04-15T08:27:19.146842 | 2018-03-22T12:14:56 | 2018-03-22T12:14:56 | 126,311,169 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,124 | py | import csv
import numpy as np
from numpy.linalg import inv
import random
import math
import sys
def main(*args):
w = np.load('model.npy')
Inputfile = args[0][1]
#Inputfile = 'data/test.csv'
test_x = []
n_row = 0
text = open(Inputfile ,"r")
row = csv.reader(text , delimiter= ",")... | [
"noreply@github.com"
] | noreply@github.com |
8e31a9a6fd2538bd820feb8e540042b27b8e6229 | 45363132ff21040b1ce73cdd4acb807f2b2968fe | /pyMyth.py | 45c3faaf9d233f3c26e9e4c670963032ee684c13 | [] | no_license | dvrhax/pyMyth | 2f0c355c9c42f38ef3f313ec5dd7ce20780fb50e | 6117faf343ee51533dca32ee860564cb1da6fd4d | refs/heads/master | 2016-09-06T21:33:17.216907 | 2015-01-18T06:22:46 | 2015-01-18T06:22:46 | 29,417,468 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,556 | py | #!/usr/bin/env python3
import sys, re
import datetime as dt
import requests
import subprocess
import stdmod3
import pytz
def sortFunc():
pass
class pyMyth:
def __init__(self, host, port=6544):
self.baseAddr = 'http://{}:{}/'.format(host, port)
self.headers = {'Accept':'application/json'}
... | [
"dvrhax@yahoo.com"
] | dvrhax@yahoo.com |
9ce4d92feab6456f6c792e0e10a03d9a1500c891 | 165cf91fdf72bdb1f40b03c49873eddf9b4d6260 | /src/py_proj/cloud/model/model_cam.py | aca5f710664e180aae7ad2facd30ed8e82490c6b | [] | no_license | 340StarObserver/yapi_cam | 4c143337990f25fce1d95cf75acb5b2c23559176 | 740ead65492dec8b91443c2a1ae440bdd2e69087 | refs/heads/master | 2021-04-29T20:24:25.190981 | 2018-05-16T11:06:50 | 2018-05-16T11:06:50 | 121,596,446 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 957 | py | # -*- coding: utf-8 -*-
from cloud.conf.config import CONF_SWOOLE
def camRequestData(reqData, isAuth, funcResource, funcCondition):
""" 构造鉴权协议入参 """
paramDict = reqData["params"]
camResource = []
camCondition = []
if funcResource:
exec funcResource
if funcCondition:
exec fu... | [
"lvyang@ippclub.org"
] | lvyang@ippclub.org |
e8550a3ace6d782c6de00290f0d90926283b4d5a | 646f43eda31e8cda5718e91c7c11625cd4e73841 | /tests/module/module_io_test.py | 5ddf24ffe11b13b5bf7cf8f6e1a8f2364d85b6eb | [
"Apache-2.0"
] | permissive | py-graphit/py-graphit | 3ea5883302e8cac31d12ef6270dbb6a6ca6ce5e4 | 533ef47e279fc07d9a88f86cc9d19f09d56176f9 | refs/heads/master | 2020-04-09T05:07:05.797210 | 2019-12-11T09:31:26 | 2019-12-11T09:31:26 | 160,051,903 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,479 | py | # -*- coding: utf-8 -*-
"""
file: module_io_test.py
Unit tests for import and export of graph data formats
"""
import os
import unittest
from tests.module.unittest_baseclass import UnittestPythonCompatibility
from graphit import Graph, GraphAxis
from graphit.graph_py2to3 import PY_STRING
from graphit.graph_helpers... | [
"marcvdijk@gmail.com"
] | marcvdijk@gmail.com |
4dddb6d747894a6c42e8524319b1c8f457264694 | 0efc831eafc9740233006f6b7eed5fe43a613968 | /src/part2/c134.py | 291851b869627dec9fbf396bee99843d23be01a4 | [] | no_license | zhangdianlei/LeetCode_python | 86faf418d480b8dcd09dfd91f43795c7b9ad8958 | a92728a0e106a0b1532fef9c35776d196d4f2727 | refs/heads/master | 2021-07-24T11:29:51.416165 | 2019-01-09T08:21:20 | 2019-01-09T08:21:20 | 148,602,573 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 812 | py | # encoding: utf-8
"""
@author: Dianlei Zhang
@contact: dianlei.zhang@qq.com
@time: 2018/12/18 5:20 PM
"""
def canCompleteCircuit(gas, cost):
"""
:type gas: List[int]
:type cost: List[int]
:rtype: int
"""
tank_margin, start, min_tank_margin = 0, 0, float('inf')
# 油箱余量,开始油站,油箱最小余量(最小余量之后那一个即... | [
"dianlei.zhang@gmail.com"
] | dianlei.zhang@gmail.com |
81218cbe35e6ef4a09627951ac0eab617bd94d2c | fa0c53ac2a91409eaf0fc7c082a40caae3ffa0d8 | /com/lc/python_1_100_Days_Demo/Day01-15/Day09/code/employee.py | ac82d97c526cf06934a23fa8d2368df0c8c0cd8a | [] | no_license | ahviplc/pythonLCDemo | aba6d8deb1e766841461bd772560d1d50450057b | 22f149600dcfd4d769e9f74f1f12e3c3564e88c2 | refs/heads/master | 2023-07-24T01:41:59.791913 | 2023-07-07T02:32:45 | 2023-07-07T02:32:45 | 135,969,516 | 7 | 2 | null | 2023-02-02T03:24:14 | 2018-06-04T04:12:49 | Python | UTF-8 | Python | false | false | 1,824 | py | """
抽象类 / 方法重写 / 多态
实现一个工资结算系统 公司有三种类型的员工
- 部门经理固定月薪12000元/月
- 程序员按本月工作小时数每小时100元
- 销售员1500元/月的底薪加上本月销售额5%的提成
输入员工的信息 输出每位员工的月薪信息
Version: 0.1
Author: LC
DateTime:2018年9月18日13:55:50
一加壹博客最Top-一起共创1+1>2的力量!~LC
LC博客url: http://oneplusone.top/index.html
"""
from abc import ABCMeta, abstractmethod
class Employee(o... | [
"ahlc@sina.cn"
] | ahlc@sina.cn |
3eb0059440e55929683569010648a2bfee9d1a04 | 9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56 | /google/ads/googleads/v9/services/services/campaign_criterion_simulation_service/transports/base.py | aa5d97f44787ec6884d649ce8947e8a4c96799a0 | [
"Apache-2.0"
] | permissive | GerhardusM/google-ads-python | 73b275a06e5401e6b951a6cd99af98c247e34aa3 | 676ac5fcb5bec0d9b5897f4c950049dac5647555 | refs/heads/master | 2022-07-06T19:05:50.932553 | 2022-06-17T20:41:17 | 2022-06-17T20:41:17 | 207,535,443 | 0 | 0 | Apache-2.0 | 2019-09-10T10:58:55 | 2019-09-10T10:58:55 | null | UTF-8 | Python | false | false | 4,107 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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... | [
"noreply@github.com"
] | noreply@github.com |
1294f93531bf1dc81f51b9bbde19055403917fd1 | dbcfba979717be7bdce332bbe7717bf948cbcea2 | /Lab_4/i-ty_co_do_wielkosci_element_rand(O(n)).py | 1dcff46e8c1ac1b90512fa3dafd5c1cd75da1b8a | [] | no_license | kfaracik/ASD | d897e6f77f462b670046194b6f9ff58e1a17f682 | 3342d6981fac358d53d5e1e09fd1ab6df74d8bb2 | refs/heads/master | 2023-03-26T02:52:01.296440 | 2021-03-26T20:38:37 | 2021-03-26T20:38:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 957 | py | import random
def partition(t, l, r):
pivot = t[r]
i = l - 1
for j in range(l, r):
if t[j] <= pivot: # <= - rising sorted; => - descending sorted
i +=1
t[i], t[j] = t[j], t[i]
t[i+1], t[r] = t[r], t[i+1]
return i+1
def randPartition(t, l, r):
... | [
"noreply@github.com"
] | noreply@github.com |
70ffe5314419bb5044b3a9f8f244447a6aad5a93 | c1267fbec95318184e7388cddf9b7085f797d514 | /2023/05 May/db05232023.py | 5dc2d55800b8a6bd5a3a2bcf895e58b5ac20691d | [
"MIT"
] | permissive | vishrutkmr7/DailyPracticeProblemsDIP | 1aedfd2e173847bf22989a6b0ec550acebb2bd86 | 2c365f633a1e1bee281fbdc314969f03b17ac9ec | refs/heads/master | 2023-05-31T23:49:52.135349 | 2023-05-28T09:32:12 | 2023-05-28T09:32:12 | 199,596,248 | 10 | 4 | MIT | 2022-11-02T21:31:59 | 2019-07-30T07:12:46 | Python | UTF-8 | Python | false | false | 1,310 | py | """
You are on the command line of a computer in the root directory and given a list of commands to run.
The commands consist of three possible operations, ../ which brings you to the parent directory (or
nowhere if you’re already in the root directory), ./ which keeps you in the current directory, and
directory_name/ ... | [
"vishrutkmr7@gmail.com"
] | vishrutkmr7@gmail.com |
40d4434de0dd83b9a99bfa1bd4e71ecd14239759 | 333c1fea7be5950f77abc39211ff7f119b853e1e | /MachineLearningWithPython/7_PrincipalComponentAnalysis/PCA.py | af68d166f9d2649072eadd84decbbdfebf2d0d31 | [] | no_license | aliyevorkhan/MachineLearningPractices | 9d8303362ac983de0f0f880bfcac4040958ead97 | 16259cd278275a37e7f9b3c271353282d8bc5af1 | refs/heads/master | 2020-07-06T22:15:33.497310 | 2020-04-01T16:09:42 | 2020-04-01T16:09:42 | 203,154,746 | 11 | 1 | null | null | null | null | UTF-8 | Python | false | false | 577 | py | import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns; sns.set()
from sklearn.decomposition import PCA
from sklearn.datasets import load_digits
digits = load_digits()
digits.data.shape
pca = PCA(2) # project from 64 to 2 dimensions
projected = pca.fit_transform(digits.data)
print(digits.data.shape)... | [
"338396@ogr.ktu.edu.tr"
] | 338396@ogr.ktu.edu.tr |
1c614e997603a99039fb9ad2a40ee61fb00faf78 | ca6c04031b9373dd8890fad7a740e042c6231b83 | /animations/well/main.py | 3485a139714ecb7070d687d438d9a754ea7e43f1 | [] | no_license | nhandler/chroma-scripts | 4a9e3345a9190bab37225989733c160534bbf2a6 | 0c0f7cf8ceb55af7f8b174a5b98097a54ec16cfb | refs/heads/master | 2021-01-24T02:06:08.129870 | 2012-03-29T03:29:37 | 2012-03-29T03:29:37 | 3,862,288 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,746 | py | import sys
sys.path.append("./osc")
from oscapi import ColorsOut
import random
import math
import time
from animations import FadeAnimation
import operator
#author: Harsh Singh
red = (1023.0,0.0,0.0)
yello = (1023.0,1023.0,0)
bgColor=(0.0,0.0,0.0)
layout = [[bgColor for col in range(4)] for row in range(4)]
out = Fa... | [
"hisingh1@gmail.com"
] | hisingh1@gmail.com |
d2776ddda54b7a435acf0d5b576eba7a4982794c | edb91f9e6ec5fcd39fb219f61f764ace7e3f5195 | /crawler.py | b5dba0e659326582a5257bb3b233039321aa51c5 | [] | no_license | ybshubham/YouTube-Scrapper | fcbe347df56a7c66440f03f22cd793265f8425f7 | 45443c249493345613903a1b47b6960e8232fd8c | refs/heads/master | 2020-03-23T23:54:17.299076 | 2018-07-25T07:20:22 | 2018-07-25T07:20:22 | 142,262,603 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,228 | py | import urllib
import MySQLdb
from bs4 import BeautifulSoup
import requests
import string
db = MySQLdb.connect(host="localhost",user="root",passwd="",db="onenightshot",use_unicode=True, charset="utf8")
cur = db.cursor()
v_id=list()
quries=[]
query=raw_input("enter searc topic")
base = 'https://www.youtube.com/results?s... | [
"noreply@github.com"
] | noreply@github.com |
162157f616389d708f798bf551c92746257f29c4 | ebc19a4182c58cac1a7f99d183c7216bcad3b9ac | /uygulama04.py | 3b507e5925676524e001ec4228e4a77a74049af5 | [
"MIT"
] | permissive | nihatciftci/BBY162 | 3a2b349f5630f7207580948a98d37205066893dd | b381cc5f7f1591beaac276b4ce6f271529a85ead | refs/heads/master | 2020-05-02T13:41:17.564266 | 2019-05-01T19:19:00 | 2019-05-01T19:19:00 | 177,990,393 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 840 | py | #soru1
metin = ("Açık bilim, araştırma çıktılarına ve süreçlerine herkesin serbestçe erişmesini, bunların ortak kullanımını, dağıtımını ve üretimini kolaylaştıran bilim uygulamasıdır.")
slices = metin[:20]
print(slices)
#soru2
liste = ["Açık Bilim", "Açık Erişim", "Açık Lisans", "Açık Eğitim", "Açık Veri", "Açık Kültü... | [
"noreply@github.com"
] | noreply@github.com |
59894893ec30284626d50a26774deafe6c380bdd | 22c7a7e4c3f506b1ea2c5085da9b07a08d904c7f | /trips/models.py | 84fc0bc20b7e4416465cf6f6acf0ac428d885f29 | [] | no_license | nabucosound/canubring | 4ff41b28e8b92ffdb55299ac4c42537753574950 | 618f5b7a2b92967ad4e37f53773591b9d4eb6068 | refs/heads/master | 2021-01-22T13:58:08.550128 | 2013-07-17T19:34:13 | 2013-07-17T19:34:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,983 | py | from django.db import models
from django.contrib.auth.models import User
from cities_light.models import Country, City
class Trip(models.Model):
TRAVELLING_BY_CHOICES = (
(1, 'Plane'),
(2, 'Bus'),
(3, 'Car'),
(4, 'Train'),
)
user = models.ForeignKey(User)
travelling_by ... | [
"hector@nomadblue.com"
] | hector@nomadblue.com |
5b4a89bb56ac2e2708a558047a41d6d779d4c21a | 239c6d88b4eda5da8ce3c494d896045bc006b8e3 | /haversine.py | b775fdb9fedeccf624d5ae8f5ed59a16d1f7b533 | [] | no_license | SaberPhung/Pi4-GetWeatherINFO | ae222b16ab3818d00d6ba7579338f57ddd3f161f | 8d0ead1f3327aa5f439c7d90e23c58deee258dd7 | refs/heads/master | 2023-04-12T07:32:27.645313 | 2021-05-05T19:50:32 | 2021-05-05T19:50:32 | 364,688,061 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 374 | py | from math import radians, cos, sin, asin, sqrt
def haversine(lon1, lat1, lon2, lat2):
#convert degrees to radians
lon1 = radians(lon1)
lat1 = radians(lat1)
lon2 = radians(lon2)
lat2 = radians(lat2)
#haversine formula
dlon = lon2-lon1
dlat = lat2-lat1
a = sin(dlat/2)**2 + cos(lat1) * cos(lat2) * sin(dlon/2)**2
... | [
"giao.pnq92@gmail.com"
] | giao.pnq92@gmail.com |
b0b0f2739ca965c635b18a5027894999d2f8ca3c | ddaef23fe2e8da8153d69c5fc95421cc70f0d76c | /hc/api/decorators.py | bff56dda347bd98b691fd63c97deb7217b1f5210 | [
"BSD-3-Clause"
] | permissive | PagerTree/healthchecks | ee706b7b86a96c86d00428bdae96f4711e03bbde | ae53aaaa3a9f3e420858f9b877dd5047fae689ee | refs/heads/master | 2023-01-10T00:14:15.735248 | 2022-12-20T14:23:33 | 2022-12-20T14:23:33 | 114,281,135 | 0 | 1 | null | 2017-12-14T18:03:00 | 2017-12-14T18:03:00 | null | UTF-8 | Python | false | false | 3,708 | py | from __future__ import annotations
import json
from functools import wraps
from django.db.models import Q
from django.http import HttpResponse, JsonResponse
from hc.accounts.models import Project
from hc.lib.jsonschema import ValidationError, validate
def error(msg, status=400):
return JsonResponse({"error": m... | [
"cuu508@gmail.com"
] | cuu508@gmail.com |
29922bc33b6c89fc40112d18ddfad5c53622011d | 16270d37d819a35777ab6d6a6430cd63551917f1 | /handlers/newpost.py | 7299307b23a91c08ba2ee439648df4749e4e1c09 | [] | no_license | SteadBytes/multi-user-blog | de28673155b81bd22e6cb57825670beca9ffdcf0 | a3269a949753c72fad0915a1a6feafe50d75c4e3 | refs/heads/master | 2021-06-22T13:42:58.381491 | 2017-06-28T15:22:14 | 2017-06-28T15:22:14 | 89,211,765 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,182 | py | from handlers.blog import BlogHandler
from models.blogpost import BlogPost
from helpers import *
class NewPostHandler(BlogHandler):
"""Handler for '/blog/newpost'.
"""
def render_new_post(self, subject="", content="", error=""):
self.render("new_post.html.j2", subject=subject,
... | [
"="
] | = |
8ca313a6343af6f39fca663bf4e7b08003d71448 | 98c6ea9c884152e8340605a706efefbea6170be5 | /examples/data/Assignment_2/klmale001/question2.py | 74abd3ce5a120172d6cab928acbe28d3e19dd740 | [] | no_license | MrHamdulay/csc3-capstone | 479d659e1dcd28040e83ebd9e3374d0ccc0c6817 | 6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2 | refs/heads/master | 2021-03-12T21:55:57.781339 | 2014-09-22T02:22:22 | 2014-09-22T02:22:22 | 22,372,174 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,046 | py | print('Welcome to the 30 Second Rule Expert')
print('------------------------------------')
print('Answer the following questions by selecting from among the options.')
if input('Did anyone see you? (yes/no)\n')=="yes":
if input('Was it a boss/lover/parent? (yes/no)\n')=='yes':
if input('Was it expensi... | [
"jarr2000@gmail.com"
] | jarr2000@gmail.com |
a219fdc4a6518b0f9cabb779efc16e5ea13fa09f | 44c55e2f0462cb1e05a4eb2610f65e6506a3592e | /lib/splitter.py | 5eaff8d84973d235a6e33726a73f10b46300ba0c | [
"Apache-2.0"
] | permissive | broadinstitute/split_merge_pl | 7ee994155fb86b623dc1fbfce83adefb473782f5 | 6aecc53009ed32962d1d2c838ee9d9f35e58cd00 | refs/heads/master | 2020-06-20T23:07:14.564853 | 2019-07-16T23:28:42 | 2019-07-16T23:28:42 | 197,282,121 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,610 | py | import os
import yaml
import os.path
import ntpath
class Splitter:
def __init__(self, confd, ldict_file = None):
self.confd = confd
self.ldict_file = ldict_file
def get_split_command(self, lprefix):
confd = self.confd
Read_pairing = confd.Read_pairing_val.upper()
if Rea... | [
"nirmalya@broadinstitute.org"
] | nirmalya@broadinstitute.org |
ed1723e76ebebc01612fa2014a26f3e3d74da674 | b667dc58dc2f054268cba46052ae7b6904e70475 | /NewGUI.2.0.py | 9ad191f053d57ca427b9524fe2d522604bc20bdd | [] | no_license | MertUzeken/AnimeListManager | a01982d1202c6d49d10486a8598601d32160afae | 776e18901300f9aecc2e989335f5828f6ad1662e | refs/heads/master | 2022-12-05T23:11:29.928390 | 2020-09-02T16:40:18 | 2020-09-02T16:40:18 | 290,900,238 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,309 | py | # -*- coding: utf-8 -*-
# Author: Mert Uzeken
# Project Name: Anime List Manager
# Form implementation generated from reading ui file 'form.ui'
# Created by: PyQt5 UI code generator 5.13.2
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import QObject, pyqtSignal
from pop_loader import Loader
import os
c... | [
"mertuzeken@gmail.com"
] | mertuzeken@gmail.com |
e7bbb84346282ec9bc9ca797c0f1cc263a6e46f0 | e985db53a52b119e2c5352663bbee5258679ca7f | /manage.py | d0375f21d62dff8bad040d78c26699cb10ecc527 | [] | no_license | andmichalski/pig_apps | 763099906051269e3dfb654ce8aa9bff0abb8fa6 | ead12ee3ba869e095a6f738fa6c2bb8ed764d937 | refs/heads/master | 2020-03-17T10:20:33.707276 | 2018-05-21T14:47:36 | 2018-05-21T14:47:36 | 133,508,955 | 0 | 0 | null | 2018-05-21T14:47:37 | 2018-05-15T11:52:13 | Python | UTF-8 | Python | false | false | 806 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pig_apps.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the... | [
"amich@PGI.LOCAL"
] | amich@PGI.LOCAL |
0b8d0459e119ef9c1a883d86bb05e946ecebc777 | 0ce18c2f6db632a016e5eb070024662fad5b79e5 | /sshbrute.py | 535a1c099b1f382f466206a22a4a8a23a9c94d96 | [] | no_license | gotr00t0day/SSHbrute | fb320f039c6af31c22d7ed2b62d729ef5bf4beec | 0dbe06c3e0dc5ddf73ba4c41cb5b7b5ef63cba75 | refs/heads/master | 2020-05-15T01:11:33.030071 | 2019-06-05T22:01:15 | 2019-06-05T22:01:15 | 182,024,650 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,244 | py | #!/usr/bin/python3
import paramiko, time, threading, socket, sys
import warnings
# termporary fix for paramiko crypto warnings
warnings.filterwarnings(action='ignore',module='.*paramiko.*')
#... | [
"noreply@github.com"
] | noreply@github.com |
4f531645d7a4cba97eb51cd0a69edb942d7d08f9 | 1eab574606dffb14a63195de994ee7c2355989b1 | /ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pppoxrange_rwb2ludc9yyw5nzs9wchbvefjhbmdl.py | eeb6bd5a63619fdcf2aee82bef8f279788621efa | [
"MIT"
] | permissive | steiler/ixnetwork_restpy | 56b3f08726301e9938aaea26f6dcd20ebf53c806 | dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9 | refs/heads/master | 2020-09-04T12:10:18.387184 | 2019-11-05T11:29:43 | 2019-11-05T11:29:43 | 219,728,796 | 0 | 0 | null | 2019-11-05T11:28:29 | 2019-11-05T11:28:26 | null | UTF-8 | Python | false | false | 37,686 | py | # MIT LICENSE
#
# Copyright 1997 - 2019 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | [
"srvc_cm_packages@keysight.com"
] | srvc_cm_packages@keysight.com |
214ec0ce5a965fd72d9dc42c4deda14eeb35bc25 | ec102c5ad8c257559cf6b089f847bdd55268096f | /settings.py | d80367dfd79601abf6c6a55bcd870dc6008f293a | [] | no_license | luckypur/Simple-ATM-design | d511ef78bee16777d794151248b7c9598dab09ba | 1442307baa107be6feb956c096a31a5a4e3b1228 | refs/heads/master | 2021-01-11T20:55:40.840015 | 2017-01-17T10:05:44 | 2017-01-17T10:05:44 | 79,213,437 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 175 | py | import os
TRANSACTION_CHARGE = os.environ.get('TRANSACTION_CHARGE', 5)
CURRENCY_DENOMINATIONS = (1000, 500, 100)
MINIMUM_WITHDRAWAL = os.environ.get('MINIMUM_WITHDRAWAL', 5)
| [
"satyajeet@codemymobile.com"
] | satyajeet@codemymobile.com |
8411ea5325ec1c6599f365027428583c052c0df6 | b04eb12cd2601e4f29e94e4b9abdb71b5901d137 | /hackmelists/lists/models.py | 2dec7b983e96381987effdbd23cdd19dd4cc6d74 | [] | no_license | iahs/263-final | 307152c2e89e5184c9f9e7fe5966a019d872c1ee | acffd95aa83aadd70e4887279d5d7ec9fd4a2f49 | refs/heads/master | 2021-01-22T06:32:27.386287 | 2015-11-30T08:07:25 | 2015-11-30T08:07:25 | 46,801,446 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 195 | py | from __future__ import unicode_literals
from django.db import models
class ListItem(models.Model):
text = models.CharField(max_length=256)
def __unicode(self):
return self.text
| [
"tlively123@gmail.com"
] | tlively123@gmail.com |
c61d915283343ebb1e858e6103518f4ea7bb6059 | 9013917be2ee8a1d6a90f1e21583cda6b4acbeb9 | /bean/dataset_diff_creator.py | 0b3c04c1f64d528aada71d2dcc1b96b4790e9259 | [
"BSD-3-Clause"
] | permissive | CASL/VERAview | 3837f9c05f27faa043a25ea5d262029f5cafa95b | 89b18f239ca5228185b80d5392068981d7733d3b | refs/heads/master | 2021-08-28T00:05:02.340897 | 2021-08-16T21:20:55 | 2021-08-16T21:20:55 | 76,088,592 | 8 | 3 | null | null | null | null | UTF-8 | Python | false | false | 28,160 | py | #!/usr/bin/env python
# $Id$
#------------------------------------------------------------------------
# NAME: dataset_diff_creator.py -
# HISTORY: -
# 2019-01-25 leerw@ornl.gov -
# Mimic'ing the layout of DataSetCreatorBean.
# 2017-07-21 leerw@ornl.gov -
# Fixing _OnCharHook for Linux.
# 2... | [
"leerw@ornl.gov"
] | leerw@ornl.gov |
a5911ccfb35e51051246e197db71d55138d3c634 | 6df062cecf36b3e0ae46a84e28b3af50f179c442 | /autouri/metadata.py | e5ab73e28370c1cdcc262b3ccad79285964efd3d | [
"MIT"
] | permissive | ENCODE-DCC/autouri | 81b8b0807c05f17c125fe90f125f516a5a1fcec7 | 73d97ac2ee98bd153abe2f34cbdd89bf3c7aea24 | refs/heads/master | 2023-05-12T06:11:00.576561 | 2023-05-04T17:33:52 | 2023-05-04T17:33:52 | 222,572,865 | 0 | 1 | MIT | 2023-05-04T17:33:53 | 2019-11-19T00:33:18 | Python | UTF-8 | Python | false | false | 1,380 | py | """URIMetadata and helper functions for metadata
"""
import warnings
from base64 import b64decode
from binascii import hexlify
from collections import namedtuple
from datetime import datetime, timezone
from dateparser import parse as dateparser_parse
from dateutil.parser import parse as dateutil_parse
URIMetadata = n... | [
"leepc12@gmail.com"
] | leepc12@gmail.com |
bceef0b93c3691d490c863dae8725908c66c9136 | 92a6b3dfbaa5ee932b7ecebcb5dad66c878163d5 | /机器学习的代码/hello_world_linear_model.py | c4455c7476f4610d89a4df7aabe14b25e497a6d2 | [] | no_license | Color4/2017_code_updata_to_use | c99e9cf409904531813e69e5106b4650a1863979 | a531d2b61d6984b4101af68bf1e54783d5e0843b | refs/heads/master | 2020-03-31T20:14:34.366303 | 2018-10-08T04:58:10 | 2018-10-08T04:58:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,835 | py | import tensorflow as tf
import numpy
import matplotlib.pyplot as plt
rng = numpy.random
# Parameters
learning_rate = 0.01
training_epochs = 2000
display_step = 50
# Training Data
train_X = numpy.asarray([3.3,4.4,5.5,6.71,6.93,4.168,9.779,6.182,7.59,2.167,7.042,10.791,5.313,7.997,5.654,9.27,3.1])
train_Y = numpy.asa... | [
"zhangp@origimed.com"
] | zhangp@origimed.com |
e805a50fc6309fe3089de30f22b7e37ff688649e | 3754c3977b3792241d086fd19915b717db9c6902 | /blog/myBlog/urls.py | c9707af08bb66a3bc348c6f6246e73c2b297f471 | [] | no_license | SebastianFGarcia/BlogDjango | 379715f1cbdf56ca02a75ddd2cf88da5e450ba3d | c25885de6e9867001838860ae3718f392e4da5f2 | refs/heads/master | 2022-12-07T01:57:26.474158 | 2020-09-02T20:41:22 | 2020-09-02T20:41:22 | 285,439,111 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 930 | py | from django.urls import path
from .views import *
urlpatterns = [
path('', HomeView.as_view(), name = "home"),
path('post/<int:pk>', DetallePublicacion.as_view(), name = 'detalle-publicacion'),
path('create/', CrearPublicacion.as_view(), name = 'crear_publicacion'),
path('post/edit/<int:pk>',ActualizarPublicacion.... | [
"sefegade@gmail.com"
] | sefegade@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.