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 220
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 257
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fed2ff0bff98961ef7a53472b2ccc62403a7594b | 34f5db6ceda8719b22e45feba790ab97574fef39 | /书评主题分析/lianxi.py | 8bcc0ff94fb1e54d8a8e1f534dfa5b2947a335e3 | [] | no_license | Limjumy/sanguozhi-python | 15c4783e9477bc5ee20ca816d6d4a8083e851aaf | 2995e9c8851420338ad2ab6b48266216b157dddc | refs/heads/master | 2020-12-02T05:24:59.365261 | 2017-07-11T14:28:36 | 2017-07-11T14:28:36 | 96,902,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 222 | py | #!/usr/bin/python
# encoding:utf-8
list=[[]]
filename = "E:\\python_project\\爬虫\\长评论\\1025998.txt"
fopen = open(filename, 'r') # r 代表read
for eachLine in fopen:
list[-1].append(eachLine) # 返回列表
| [
"ju@lingju.ac.cn"
] | ju@lingju.ac.cn |
82f8969ed3e1b7093084a9af42e14ad369a4af19 | 6809cda579a7c1c88872f566d65f665c2dff20bb | /research-v10/verify-kb-2.py | e729c90888e8431c8193a7409ef0df0f2a33dcfb | [] | no_license | hellojixian/stock-dummy | edb3e7447e26ec3e0481c938fcf8f72063d6c850 | 06b352ba3d78ac419e7672b0e6ec630f6f461ae8 | refs/heads/master | 2020-06-15T09:11:33.401689 | 2019-11-05T15:46:43 | 2019-11-05T15:46:43 | 195,256,649 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,992 | py | #!/usr/bin/env python3
import datetime
import pandas as pd
import math, sys, os
from lib.jqdata import *
from lib.func import *
filename = 'data/dataset-labeled-min.csv'
np.random.seed(0)
dataset = pd.read_csv(filename,index_col=0)
trading_dates = dataset['security'].groupby(dataset.index).count().index.tolist()
prin... | [
"hellojixian@gmail.com"
] | hellojixian@gmail.com |
23b612e9499c69a6a90e61eb101c7b66f1b8f63d | 627bb6e86d174e1929439cb8326862cdf261201b | /node-1-srte-bsid-90001-to-node-4.py | c803851e231f71a6af8b264f79a35c83dba4a889 | [] | no_license | chrissembiring/sr-bootcamp | 2e7b24c4222b1cfef85a2e6b19a520e7ff0bfe9d | dfc198fadf1b0e1bb99089ee25feec35a3b056a0 | refs/heads/master | 2021-10-21T22:33:30.838919 | 2019-03-07T01:00:19 | 2019-03-07T01:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 912 | py | import getpass
import sys
import telnetlib
HOST = "198.18.1.41"
user = raw_input("Enter your telnet username: ")
password = getpass.getpass()
tn = telnetlib.Telnet(HOST)
tn.read_until("Username: ")
tn.write(user + "\n")
if password:
tn.read_until("Password: ")
tn.write(password + "\n")
tn.wr... | [
"noreply@github.com"
] | chrissembiring.noreply@github.com |
b1e1f5704c991a7ae0995afbf5c7841193d0579b | 104252de9f8ac93aa4c052a955773cfadd55d481 | /PYTHON_PART_TWO/Part6_Modules_and_Packages/Part6_module_third_C_way_my.py | 60d4cc80716d44d96cdd3e7b39c43cbc37da5bcc | [] | no_license | TomaszPrysak/Full_Stack_Developer_PYTHON_PART | a03bf808f5012736dc46810cc049615d52b08622 | 31cf0888cdfd285b4d29416683aa7243a9778fdd | refs/heads/master | 2022-06-18T01:18:12.753292 | 2022-05-29T11:11:20 | 2022-05-29T11:11:20 | 166,885,054 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 696 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Plik funkcji, klas bądź innych obiektów jako moduł bądź pakiet z którego będziemy importować całą zawartośc bądź poszczególne funkcje, klasy bądź inne obiekty.
def trzeciSposobIC(): # funkcja zdefiniowania w pliku będącym modułem importowanym, funkcja ta będzie wykonywa... | [
"prysak.tomasz@gmail.com"
] | prysak.tomasz@gmail.com |
7942307b39359f8d6f113c7197dbd8984a6e6eab | a4ea525e226d6c401fdb87a6e9adfdc5d07e6020 | /src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/service_endpoint/policy/_list.py | 89e3a49e6bdaa393add44d973ce1ee228c59f2ef | [
"MIT",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MPL-2.0",
"LGPL-2.1-only",
"Apache-2.0",
"LGPL-2.1-or-later",
"BSD-2-Clause"
] | permissive | Azure/azure-cli | 13340eeca2e288e66e84d393fa1c8a93d46c8686 | a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca | refs/heads/dev | 2023-08-17T06:25:37.431463 | 2023-08-17T06:00:10 | 2023-08-17T06:00:10 | 51,040,886 | 4,018 | 3,310 | MIT | 2023-09-14T11:11:05 | 2016-02-04T00:21:51 | Python | UTF-8 | Python | false | false | 102,260 | py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------... | [
"noreply@github.com"
] | Azure.noreply@github.com |
466c8bce8b26bf008d0bbd460978c463b959cc2e | d7dad757bd7e0d8447fe2e9d5b7efc1ace39385a | /Rod/handmodelling_ciss17/skeleton/SkeletonPolar.py | e4163320b29411b156293bbdfa203d4183546b31 | [] | no_license | eth-ait/ComputationalInteraction17 | cc28e523fd672f2851451ac3d80d5f44b28d6252 | eb34454007b8eefc1992cb1a2d94d6623e5863eb | refs/heads/master | 2021-12-14T18:34:52.388135 | 2017-06-16T14:45:56 | 2017-06-16T14:45:56 | 91,554,497 | 25 | 18 | null | null | null | null | UTF-8 | Python | false | false | 2,721 | py | import numpy as np
import Skeleton
class SkeletonPolar(Skeleton.Skeleton):
class SkeletonNode:
def __init__(self, label, v1, v2, v3, isOrigin):
self.v1 = v1
self.v2 = v2
self.v3 = v3
self.label = label
self.isOrigin = isOrigin
... | [
"seon.wook@swook.net"
] | seon.wook@swook.net |
0ad9c543040c66b73a4c0063a4834e93bf347cb7 | 19bcb4784f2ddda66d5ccf9eb268c45baf1f122c | /python/nn/results/get_results_aggr.py | 21dc15f59a6a51107391466207eeb449a8b19102 | [
"MIT"
] | permissive | PeterJackNaylor/AutomaticWSI | bb76f9983479b1a1a6d7ad089eb9bb098da91136 | a26f3d8efff005dcf2d1a14705785579ce5484c8 | refs/heads/master | 2023-09-04T09:12:48.946814 | 2023-08-30T09:24:17 | 2023-08-30T09:24:17 | 226,664,370 | 1 | 1 | MIT | 2020-03-19T10:49:47 | 2019-12-08T12:30:52 | Python | UTF-8 | Python | false | false | 1,695 | py |
import os
from glob import glob
import pandas as pd
def get_options():
import argparse
parser = argparse.ArgumentParser(
description='takes a folder with ')
parser.add_argument('--path', required=True,
metavar="str", type=str,
help='folder where the... | [
"peter.naylor@mines-paristech.fr"
] | peter.naylor@mines-paristech.fr |
d52160813890769641b5c2e79dc927b2df2bd54d | 4366b6223a4d54a3a85c9d3689fb223d157b4220 | /models/mv2_cpm.py | a6b043d14986ed85b879f44c36ac8e4f074ac930 | [
"Apache-2.0"
] | permissive | BetaPundit/tf2-mobile-pose-estimation | 9dc41f343d2bbdf45522b363509a331ec208498c | e60f877f6a8e292e9587a3074010e5c274787318 | refs/heads/master | 2022-11-24T03:47:51.329925 | 2020-08-06T13:48:10 | 2020-08-06T13:48:10 | 285,281,864 | 1 | 0 | Apache-2.0 | 2020-08-05T12:29:51 | 2020-08-05T12:29:50 | null | UTF-8 | Python | false | false | 9,200 | py | # Copyright 2019 Doyoung Gwak (tucan.dev@gmail.com)
# 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 ... | [
"tucan.dev@gmail.com"
] | tucan.dev@gmail.com |
17fef6c5d241acb0b7bb102fad34566c88da3eff | ce5ce3764e75774c0b7eab47893987b9f311b1b9 | /.history/moments/views_20210527215915.py | aeb3ce256b14aff202e4f75fe445d9d3152b2c1b | [] | no_license | iSecloud/django-wechat | 410fb8a23b50dc2343c2f0167bbae560bf6e9694 | faaff9bb7f9454a63b2f8411d3577169b470baad | refs/heads/main | 2023-05-15T06:53:16.252422 | 2021-06-07T14:00:35 | 2021-06-07T14:00:35 | 374,685,069 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 129 | py | from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, 'homepage.html') | [
"869820505@qq.com"
] | 869820505@qq.com |
a161fd86ce0916197d8943f40b551acd0ba600bc | 50f0d33b12778f911fe16a4e18d0659936b9086b | /0x05-python-exceptions/4-list_division.py | e67e5211367f6871f31a26fa72ddb8ede0d0caa0 | [] | no_license | monicajoa/holbertonschool-higher_level_programming | 4f4eaa7aa2cad1642e7aed54663cb30eb92e1b4f | 451d20174144ad96fa726a4389c7aae72abf2495 | refs/heads/master | 2022-12-18T00:35:00.682624 | 2020-09-25T05:14:57 | 2020-09-25T05:14:57 | 259,479,680 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 533 | py | #!/usr/bin/python3
def list_division(my_list_1, my_list_2, list_length):
list_new = []
result = 0
for i in range(list_length):
try:
result = my_list_1[i] / my_list_2[i]
except ZeroDivisionError:
result = 0
print("division by 0")
except IndexError:
... | [
"mnortiz.ortiz@gmail.com"
] | mnortiz.ortiz@gmail.com |
9ae75ffc5555390fa040f606e7a4f857ff2fd1fd | bff7a1feb29c339ae93ae56865928f8b53e16c41 | /spotify-playlist-generator.py | fca5248f25c07db041605fab030c8c25845fe0e5 | [] | no_license | imanishbarnwal/mlh-local-hack-day | c8c036582b9e09b0e69c07302b38594161cf2301 | 606a9b578ed0d768c78c0220b1c05e2bf2e18d0b | refs/heads/main | 2023-02-19T16:51:49.824763 | 2021-01-18T07:01:37 | 2021-01-18T07:01:37 | 328,614,282 | 2 | 2 | null | 2021-01-13T05:25:13 | 2021-01-11T09:37:21 | Jupyter Notebook | UTF-8 | Python | false | false | 4,237 | py | import base64
import datetime
from urllib.parse import urlencode
import requests
class SpotifyAPI(object):
access_token = None
access_token_expires = datetime.datetime.now()
access_token_did_expire = True
client_id = None
client_secret = None
token_url = "https://accounts.spotify.com/api/token... | [
"noreply@github.com"
] | imanishbarnwal.noreply@github.com |
e866fc987d259075f3a82088c41e177dd80b1e7a | c5e3c87b73a3d8473eb1f184f7f85cbda9281a94 | /Client/runner.py | aaad71c2c21616a751be16f3c3a2b8335f416c0a | [] | no_license | itaybou/SHA1-Cracker-Server-Client-Python3 | 8c752db249baa546104648d4fa6dae472c60c279 | 47c48a64f2e81105f48ec6ca94a7ff1ff409dc53 | refs/heads/master | 2020-12-07T07:28:37.552890 | 2020-01-08T22:26:44 | 2020-01-08T22:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 219 | py | import udp_client as client
def main():
udp_client = client.UDPClient()
udp_client.start()
return
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
print("Exited")
| [
"noreply@github.com"
] | itaybou.noreply@github.com |
930242a46d4d476e465877f556f7744c09983f6b | bc1746f9e0ee46a40a8620420155a92cfc613a6d | /django_pythonic_menu/menu.py | 4fa8e62d5c6d59c509d8ba2449d2ae03abbb83f9 | [
"MIT"
] | permissive | YuriMalinov/django-pythonic-menu | 2861c5c448f290fa6d692cb6b7c0330159b8ad29 | 3b82a1bd60f32eee8e5c57fb2c71321ed0b9cda8 | refs/heads/master | 2021-01-17T17:14:47.160297 | 2016-11-13T15:17:09 | 2016-11-13T15:17:09 | 62,589,078 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,966 | py | import re
from collections import OrderedDict
from importlib import import_module
import six
from django.core.urlresolvers import reverse
from django.utils.six import wraps
class MenuItem:
_counter = 0
def __init__(self, route=None, visibility=None, title=None, **kwargs):
self.title = title
... | [
"yurik.m@gmail.com"
] | yurik.m@gmail.com |
c3535fbb041dc439a9b9f5b1c995eecdee0e1942 | bc82de9237a6aa28fd7623a27b35c02ae8416702 | /allennlp/semparse/type_declarations/type_declaration.py | 47683656260ae90fc79dfd7e462348f8ee762724 | [
"Apache-2.0"
] | permissive | Snnzhao/GrailQA | 78190a8a5bae934c07f4035786f658ef4764c510 | e89e66380402e51bac56f59c7d24d4400bcd11b6 | refs/heads/main | 2023-04-26T19:49:21.683922 | 2021-04-11T09:40:34 | 2021-04-11T09:40:34 | 370,937,323 | 1 | 0 | Apache-2.0 | 2021-05-26T07:00:21 | 2021-05-26T07:00:20 | null | UTF-8 | Python | false | false | 36,337 | py | """
This module defines some classes that are generally useful for defining a type system for a new
domain. We inherit the type logic in ``nltk.sem.logic`` and add some functionality on top of it
here. There are two main improvements:
1) Firstly, we allow defining multiple basic types with their own names (see ``NamedB... | [
"gu.826@cse-cnc196739s.coeit.osu.edu"
] | gu.826@cse-cnc196739s.coeit.osu.edu |
544802223d9e7154436d2675abc13fe6d6e844ec | fbeecc935e05bcd47fc23f96a3bc8fc94f676f6c | /webGatherer/yahoo/wc.py | ffdc0f2eaea589aefcaa7fe127d14ea6a3d55899 | [] | no_license | eox03y/works | 097b98241dc07843870cbab9b7fc3d640e6a6627 | 8bedbb7eedb57f91cde068454116d3aae1b71f8e | refs/heads/master | 2021-01-24T05:16:27.770666 | 2013-08-24T06:29:28 | 2013-08-24T06:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 162 | py | if __name__ == "__main__":
import sys
if len(sys.argv) < 2:
sys.exit()
f = open(sys.argv[1])
cnt = 0
for line in f:
cnt += 1
print "%d lines" % (cnt)
| [
"handol@gmail.com"
] | handol@gmail.com |
a95b8d425b5111a57fc1dd383f4c49c52955e818 | 91b32d0bbc563055751185221ef5f62a894944fa | /main.py | 129c12381a9ffe445aa865f192c3f7644fb201c9 | [] | no_license | frugs/allin-bnetprofile | 122a5bf87007d3b693a19c855a71f8aaedd8569e | 4563a582deb0f00df91ed96b15674653fe23ceb5 | refs/heads/master | 2020-03-29T23:22:38.065581 | 2018-09-26T18:08:48 | 2018-09-26T18:08:48 | 150,469,593 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 198 | py | from werkzeug.serving import run_simple
from bnetprofile import app
def main():
run_simple("localhost", 5001, app, threaded=True, ssl_context='adhoc')
if __name__ == "__main__":
main()
| [
"hugowainwright@fb.com"
] | hugowainwright@fb.com |
ec8c9468d457da5877f08cb25edc9fc0c224c492 | b8ceebeebfeed12b653e1b4d526e85973faecbb5 | /scheduler/factories.py | 893e9c1891f514133481027f2526eea7065cba97 | [
"MIT"
] | permissive | a3r0d7n4m1k/YACS | 2678589c4a07eb9f17d80e60d543226ab570428d | 6bdb2299905f6321be5de788f16a9464a70a4206 | refs/heads/master | 2020-06-23T12:40:39.823658 | 2015-11-09T01:26:17 | 2015-11-09T01:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 196 | py | import factory
from scheduler import models
class SavedSelectionFactory(factory.Factory):
FACTORY_FOR = models.SavedSelection
internal_section_ids = []
internal_blocked_times = []
| [
"jeff@jeffhui.net"
] | jeff@jeffhui.net |
b0db839d40c84990671e88503e7afe1b8d93b056 | d3022ceb672f2ef0d2985fbb31f2f086aef4d40f | /Principal.py | 2589448f2f1fcfd2236624337292088eba6bc226 | [] | no_license | BorjaMSLS/PFCRepo | 434b53a59239651113898e37022216e02ce4ae01 | 6d9b68847100dfe35d7f967580e36cacab43a953 | refs/heads/master | 2020-06-03T13:48:00.748486 | 2017-06-12T20:04:34 | 2017-06-12T20:04:34 | 94,132,813 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 392 | py | import sys, os
def main(argv=None):
fname = "Orden.txt"
try:
if os.path.isfile(os.path.join(os.getcwd(),fname)):
print "fichero existe. Vamos a parsear"
else:
print "fichero noexiste"
sys.exit()
except Exception, e:
print "An exceptio... | [
"borjams85@gmail.com"
] | borjams85@gmail.com |
d888ad9e63f68a9365129a57f809de089621a5e0 | 63aec28ae387493c049978a429b837f3d835e711 | /learn_python_asyncio/coroutines/example09.py | 24cee8a3263927285bd4888e296462d02aa15559 | [
"MIT"
] | permissive | erictapia/devstacklab | 83c538813c3d0c18509eba98601536b3d8c465ea | 2997a620c3f4d29c3a526d561ec0cfb4ba0cd6b4 | refs/heads/master | 2023-04-14T22:13:15.722186 | 2021-04-26T15:28:45 | 2021-04-26T15:28:45 | 335,650,864 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,202 | py | import asyncio
import time
from typing import Callable, Coroutine
import httpx
addr = "https://langa.pl/crawl"
todo = set()
# Removed recursive call and instead creates a task
async def crawl2(prefix: str, url: str = "") -> None:
url = url or prefix
client = httpx.AsyncClient()
try:
response ... | [
"erictapia1@gmail.com"
] | erictapia1@gmail.com |
16dac5684e2692e62c1899cf8f289c0eefbf87d6 | a707cedea077872dbf5af48c1a5b1886e667732f | /src/wn-geoip/src/urllib3/contrib/socks.py | 8219ff104c80d8e5bb7e7c6e51a5dc6a10cf691f | [
"CC-BY-4.0"
] | permissive | osg-cat/virtual-school-2021 | 373850043c10f66f002df1e241110f3a5b2c91e2 | 403450fd6668aae609e4b85a4814a4f7f94677b3 | refs/heads/main | 2023-07-11T13:52:53.609399 | 2021-08-13T17:11:54 | 2021-08-13T17:11:54 | 357,324,855 | 0 | 0 | CC-BY-4.0 | 2021-04-12T20:06:17 | 2021-04-12T20:06:16 | null | UTF-8 | Python | false | false | 7,028 | py | # -*- coding: utf-8 -*-
"""
This module contains provisional support for SOCKS proxies from within
urllib3. This module supports SOCKS4, SOCKS4A (an extension of SOCKS4), and
SOCKS5. To enable its functionality, either install PySocks or install this
module with the ``socks`` extra.
The SOCKS implementation supports t... | [
"clock@wisc.edu"
] | clock@wisc.edu |
6458e807ae35ddfbbbd23abd2b56fca869e9cf33 | 04aefaaaefde30ba596fe69ae6391fd2635de994 | /CaC Python/EjerciciosPy1/Ej3.py | 06eeb5be5e90ff23d9baa3e08a736cc35a867f4d | [] | no_license | 35sebastian/Proyecto_Python_1 | 6a7256bdda5e8df2c78a4cf5bc08c6d211c5deae | 07cc7ec5d08eb5064b8ab084cec4121575d0ddab | refs/heads/master | 2023-02-07T13:27:38.962597 | 2023-01-29T13:02:53 | 2023-01-29T13:02:53 | 242,755,132 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 119 | py | nombre = input("Ingrese su nombre: ")
edad = int(input("Ingrese su edad: "))
print("Nombre: ", nombre,"\nEdad: ", edad) | [
"vegaa.sebastian@gmail.com"
] | vegaa.sebastian@gmail.com |
7415de76e89f8f4dfe95d6ebb44104381c925582 | 6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386 | /google/ads/googleads/v8/googleads-py/google/ads/googleads/v8/enums/types/operating_system_version_operator_type.py | 9b61e85a5eec3edf7a897381b9d6f3c4f647b52d | [
"Apache-2.0"
] | permissive | oltoco/googleapis-gen | bf40cfad61b4217aca07068bd4922a86e3bbd2d5 | 00ca50bdde80906d6f62314ef4f7630b8cdb6e15 | refs/heads/master | 2023-07-17T22:11:47.848185 | 2021-08-29T20:39:47 | 2021-08-29T20:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,213 | 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... | [
"bazel-bot-development[bot]@users.noreply.github.com"
] | bazel-bot-development[bot]@users.noreply.github.com |
aa8a4755acbc4c4f51caf1502ace59a767713b17 | 4c5f84772962f0c9c89b990df9e1933f7ff8d406 | /prospb/urls.py | 98621bd76cf441fb249aa4a11805297c5d143aa2 | [] | no_license | lucazartu/prospb | 0fe2804da812371006256b4c4c7dd4671536b39c | 645c30fe23643ec598047678535871e2e5d327a8 | refs/heads/master | 2020-07-20T18:56:25.244621 | 2016-08-22T22:52:35 | 2016-08-22T22:52:35 | 66,313,724 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 933 | py | """prospb URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-bas... | [
"laqcs@cin.ufpe.br"
] | laqcs@cin.ufpe.br |
4f8360cb9656c65b9ab0af1060d4f523bca4959f | 6a95b330e1beec08b917ff45eccfd6be3fd4629f | /kubernetes/client/models/v1_namespace_status.py | 523e7e43d3f44960d90c934e8371361de7fc1cc0 | [
"Apache-2.0"
] | permissive | TokkoLabs/client-python | f4a83d6540e64861b59e322c951380a670578d7f | f1ad9c6889105d8510472606c98f8d3807f82020 | refs/heads/master | 2023-07-14T01:36:46.152341 | 2017-12-21T21:32:11 | 2017-12-21T21:32:11 | 115,042,671 | 0 | 0 | Apache-2.0 | 2021-08-06T03:29:17 | 2017-12-21T20:05:15 | Python | UTF-8 | Python | false | false | 3,306 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.8.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
... | [
"mehdy@google.com"
] | mehdy@google.com |
32b8393a60a17cb8d5d3a614d581aae9fcb466f1 | a7f16c95f973905e880ad4dc277fbba890486654 | /wildlifecompliance/migrations/0283_auto_20190814_1036.py | dcfe076119285e3560ffaf749bd7547dd1ce0fd5 | [
"Apache-2.0"
] | permissive | dbca-wa/wildlifecompliance | 9e98e9c093aeb25dbb7ff8d107be47e29bcd05e1 | cb12ad9ea1171f10b5297cdb7e1eb6ea484e633d | refs/heads/master | 2023-08-08T14:37:05.824428 | 2023-07-31T02:57:23 | 2023-07-31T02:57:23 | 232,276,030 | 1 | 17 | NOASSERTION | 2023-07-31T02:57:24 | 2020-01-07T08:12:53 | Python | UTF-8 | Python | false | false | 772 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2019-08-14 02:36
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('wildlifecompliance', '0282_auto_20190813_1820'),
]
... | [
"brendan.blackford@dbca.wa.gov.au"
] | brendan.blackford@dbca.wa.gov.au |
7ac63f93b0f13c2433e4559bcd2a6ac18cc46ebd | f22b9fbf2daf735390d46e60246335ded34306ee | /Getting started With Python 3._/poss2.py | fb4245063aff4e2745e418c031614fafc75ae835 | [] | no_license | gfobiyatechnical/2k19-With-Python- | 38497aa7bf111baec696817274e60c670df21868 | c2310d0b918525d48b84e77ec5b31d16fa95e213 | refs/heads/master | 2020-04-15T03:10:51.102486 | 2019-04-29T07:48:56 | 2019-04-29T07:48:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 59 | py | name = input("enter your name")
print(name + str(sharma))
| [
"noreply@github.com"
] | gfobiyatechnical.noreply@github.com |
0b29e0bdb53c18affd0a1891b1bdceb44d34336b | 1139234b2bb7f868c15310719125e693cfcde718 | /cricket_portal/cricket_portal/urls.py | 60c91c224c76b57fd914eeb5c7ac3e31c563ed19 | [] | no_license | pfirefly/cricket-portal | 6d7ff31deb00dcf47b84757e6339a26d4b15e087 | b52238fdcc05fe37ddfa4f921998542544d31f9e | refs/heads/master | 2020-04-23T11:10:19.891578 | 2019-02-17T13:57:22 | 2019-02-17T13:57:22 | 171,127,214 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 956 | py | """cricket_portal URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
C... | [
"noreply@github.com"
] | pfirefly.noreply@github.com |
b771ea29dec1c4fcd94859238ac6f6fb1411b4ff | b6b866f60297eef3d9fc67dbb547502d5603e896 | /lab/StructuredCode/ids/IO.py | 8bc7d4bb1df0e541c72305d1c4eef363f1efd366 | [] | no_license | RKDSOne/ids | a4ffa823fb7ffa795127cfff4402cbd6a3c4b32f | f509d75c3ced1b3d2bfe306358787f9e748c3e91 | refs/heads/master | 2021-06-01T02:21:18.024383 | 2016-06-29T02:24:30 | 2016-06-29T02:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,636 | py | import json
import numpy as np
import pandas as pd
import os
class DataReader:
"""A cache for reading data"""
def __init__(s, confpath="conf.json"):
s.conf = json.load(open(confpath))
def read(s, dataset, sep_label=True):
def filepath(dname):
if dname.find('-') != -1:
... | [
"tianfu.d.he@gmail.com"
] | tianfu.d.he@gmail.com |
af9a0a783f94d08519d1f0e3125f060e8ec4cb96 | 8761902ce8b75afcf116c84615216fab4e009f5d | /setup.py | 658c8e26333eeffd1e44427b3e7a8d2364e1ef90 | [] | no_license | phanhongan/scheduler | 5796978d17761d87bbce635b077c5a6bca4c0b83 | f2f23ea6bb4ebdda3458e6c4b1718411a4dd9af4 | refs/heads/master | 2020-03-18T21:21:59.551883 | 2018-05-29T10:04:46 | 2018-05-29T10:04:46 | 135,276,794 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 375 | py | from setuptools import setup
setup(name='scheduler',
version='0.1',
description='Scheduler with timezone support',
url='http://github.com/phanhongan/scheduler',
author='Phan Hong An',
license='MIT',
packages=['scheduler'],
keywords=[
'scheduler', 'schedule', 'schedul... | [
"phanhongan@gmail.com"
] | phanhongan@gmail.com |
7e7f5a718ac8033167bc5a225a645a38c8c3650a | e5dd21ac1305257fe163995f951cbbfbf3051fd7 | /Cracking_the_Coding_Interview/8-6.py | c8c86de2f9e0015f6f18220cf9120789b84d7d12 | [] | no_license | QI1002/exampool | d3d3cdad040e4a861b934122ef12e059f7d6cd01 | 08800f78482f9fd9d6641c3eabc5880e69782f42 | refs/heads/master | 2021-01-02T09:35:15.283632 | 2020-10-13T14:54:25 | 2020-10-13T14:54:25 | 99,178,691 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 552 | py |
def paintBox(point, box):
x = point[0]
y = point[1]
if (x < 0 or x >= len(box[0])):
return
if (y < 0 or y >= len(box)):
return
if (box[y][x] == 1):
return
box[y][x] = 1
paintBox((x-1,y), box)
paintBox((x+1,y... | [
"alanchang544@gmail.com"
] | alanchang544@gmail.com |
6f51f3f9e059212cd21614b13cb96e4fca3ba3ce | 135ccc63bf78ba89f3bab1373414b8be66b5218d | /utdallasiia/wsgi.py | 0e31743ee5952db87c5477d92fdc49e225841e7d | [] | no_license | oddrationale/utdallasiia.com | 0b58d9ead02e50fa8899b4b045585557c67f34b7 | 9ce35fbdb4fee39b72ccc9daa528f5bff25df418 | refs/heads/master | 2016-09-05T20:44:33.843578 | 2013-05-03T17:48:53 | 2013-05-03T17:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,144 | py | """
WSGI config for utdallasiia 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_APPLICATIO... | [
"oddrationale@gmail.com"
] | oddrationale@gmail.com |
5b1037113dd6a8d2a100c6474c1598111cef66cd | be8c339e7ea80aaf5e28c31d7fbcc42e160dc2dd | /examples/lotka-volterra.py | 1b5afdfd88ade35c955ef60f2fd2730bd38e7cd3 | [] | no_license | carterian8/timediffeq | aea765fab8458fc65e4b77bf253a39fab53f56cb | de72ed5c3031a56b5c2f04436958217080b0c18b | refs/heads/master | 2020-05-18T15:46:59.345102 | 2019-05-13T01:57:45 | 2019-05-13T01:57:45 | 184,507,792 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,683 | py | import numpy as np
import numpy.random as npr
import matplotlib.pyplot as plt
from scipy import integrate
import tensorflow as tf
import timediffeq
def lotka_volterra(X, t=0, a = 1., b = 0.1, c = 1.5, d = 0.75):
""" Return the growth rate of fox and rabbit populations. """
return np.array([a*X[0] - b*X[0]*X... | [
"carterian8@gmail.com"
] | carterian8@gmail.com |
983c6da847e1914aa65d3aba6a6534f774a4e39f | 615855e8218fa182cd8f14480695de51c3eb0cb4 | /ga/app/knapsackproblem/deapCustomize/algorithms.py | 348ca66dafe1803d6ec1157480f9b9ca9d7d28a2 | [] | no_license | sandy230207/GA-for-Knapsack-Problem | 586b6a8391bb8bbb520e960e4efadc1de8eafd7f | 31ff14be848a405faf63a6c12b88809f886b0924 | refs/heads/master | 2022-10-20T01:55:37.404787 | 2020-01-07T16:56:44 | 2020-01-07T16:56:44 | 232,328,678 | 0 | 1 | null | 2022-10-01T09:08:53 | 2020-01-07T13:18:48 | Python | UTF-8 | Python | false | false | 23,153 | py | # This file is part of DEAP.
#
# DEAP is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# DEAP is distributed ... | [
"sandy230207@gmail.com"
] | sandy230207@gmail.com |
37dccfd79428f9a1109efb012e45f8792f7bc5f1 | 441a3063db206ce6dc5691d3722cfa2e7f498b35 | /panel/api/user/urls.py | fece51a925f601e2564100329aa08ce90eee80e1 | [
"MIT"
] | permissive | rrosajp/vigilio | 5014b7e07f6c2f0a886596e27a8758a55075b6b6 | d21bf4f9d39e5dcde5d7c21476d8650e914c3c66 | refs/heads/master | 2023-04-23T19:12:06.413788 | 2021-05-04T12:54:57 | 2021-05-04T12:54:57 | 352,330,016 | 1 | 0 | MIT | 2021-05-04T17:55:58 | 2021-03-28T12:59:37 | Python | UTF-8 | Python | false | false | 193 | py | from django.urls import path
from . import views
urlpatterns = [
path(
"change-password",
views.ChangePasswordEndpoint.as_view(),
name="change_password",
),
]
| [
"zortoporto@gmail.com"
] | zortoporto@gmail.com |
1d49ed1332e56d7a4116b959a1697f345d699931 | 31704accb3f1d49fbe3092c35ea054fa6c0bdf37 | /Models/Baselines/baselines.py | be4fd70b9c22b786da492e1aa6a93712a433fe1e | [] | no_license | tommasoc80/germeval-rug | eaf21e6882b419e2ef5222c50b7e049b827ff15c | 125ff4eb4f421fbd7b5e6ab1d91eac36d61fd2b0 | refs/heads/master | 2020-03-27T03:13:00.904594 | 2018-10-11T14:14:15 | 2018-10-11T14:14:15 | 145,846,700 | 1 | 1 | null | 2018-10-11T14:14:16 | 2018-08-23T11:52:28 | Python | UTF-8 | Python | false | false | 3,463 | py | '''
Baseline systems for Germeval 2018 Shared Task
1) Most freq. class
2) Tfidf-weighted (word) unigram + linear SVM
Input corpus file as command-line argument
'''
import argparse
import statistics as stats
from sklearn.dummy import DummyClassifier
from sklearn.feature_extraction.text import CountVectorizer, TfidfVec... | [
"xiaoyubai2002@yahoo.de"
] | xiaoyubai2002@yahoo.de |
897cf0c437285e8773f49a6e7cb7f12530950287 | 491f9ca49bbb275c99248134c604da9fb43ee9fe | /MD_analysis/process_radius_of_gyration.py | 2d4077af75475dccee4e3c7ab1dad1d1e233f511 | [] | no_license | KineOdegardHanssen/PhD-subprojects | 9ef0facf7da4b2a80b4bea9c890aa04f0ddcfd1a | c275539689b53b94cbb85c0fdb3cea5885fc40e9 | refs/heads/Windows | 2023-06-08T13:32:15.179813 | 2023-06-05T08:40:10 | 2023-06-05T08:40:10 | 195,783,664 | 2 | 0 | null | 2020-08-18T14:42:21 | 2019-07-08T09:49:14 | Python | UTF-8 | Python | false | false | 6,058 | py | import matplotlib.pyplot as plt # To plot
from scipy.optimize import curve_fit
import numpy as np
import random
import math
import time
start_time = time.process_time()
M = 9
N = 101
kangle = 20
kbond = 200
Kangle = kangle
Kbond = kbond
#factors = [0.1... | [
"noreply@github.com"
] | KineOdegardHanssen.noreply@github.com |
f7c7c421831b9eeb7c1aeb2c8bd83ab719ec2177 | 7c0fa2655c7a6010e5d8b797273a8bc6b88ef1de | /apps/goods/urls.py | 5daca772e8c367b7ae30f74a8dadce6decbfa481 | [] | no_license | chenxiaoyu2/OrderMall | 54ee02e40dff9fafcf96e6742e2158537f004f18 | e7a2595c1074d545f1f17016f71312f5da03c2cc | refs/heads/master | 2022-12-11T14:41:12.834239 | 2019-04-16T12:03:17 | 2019-04-16T12:03:17 | 179,245,447 | 2 | 0 | null | 2022-12-08T04:59:26 | 2019-04-03T08:29:31 | HTML | UTF-8 | Python | false | false | 388 | py | from django.conf.urls import url
from apps.goods.views import IndexView, DetailView, ListView
urlpatterns = [
url(r'^index$', IndexView.as_view(), name='index'), # 首页
url(r'^goods/(?P<goods_id>\d+)$', DetailView.as_view(), name='detail'), # 详情页
url(r'^list/(?P<type_id>\d+)/(?P<page... | [
"1480456073@qq.com"
] | 1480456073@qq.com |
3433c235216a86e3fa5e9cfba839c2bfad220340 | 5bf4dddf4ec67115a604b42bb43691bcb8853106 | /tga/ugc/management/commands/bot.py | 21a945ab3f41fcd0156dacc5f097bc9bd88a6601 | [] | no_license | xislam/bot-werca | e6f4f829442c01700b0f44142749192dd6232bf6 | d826944460c1449e425f54373fe90927d575d832 | refs/heads/main | 2023-01-05T10:55:58.667394 | 2020-10-06T14:14:55 | 2020-10-06T14:14:55 | 301,629,851 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,653 | py | from abc import ABC
from aiogram.utils import executor
from django.core.management.base import BaseCommand
from ugc.management.commands.text import text1, text2, text3, text5, text7, text6, text8, text9, text10, text11, \
text12, text13, text14, \
text15, text16, text17, text18, text19, text20, text21, text2... | [
"nurdinovislam4@gmail.com"
] | nurdinovislam4@gmail.com |
9f9a31f2fd7bdf297ce237c0e0bd5ca5475fafae | 60ff143cf313c0d134a17f1a20847d201caa28dc | /use_dictionary_to_count_word.py | 4762da5f7a3b4079b2d7deb8cfe27eb91629bb8e | [] | no_license | jensonhupython/reviews-analytics | db5afd829b70aed6fc68697f28bf3fd39da66ef6 | b0a933f316bba82205994740ab58fffd01f57446 | refs/heads/master | 2023-05-24T14:15:32.835160 | 2021-06-20T14:57:44 | 2021-06-20T14:57:44 | 295,876,039 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,324 | py | # 利用 dictionary 做一個功能
# 功能: 可以計數某個字出現在整個留言中, 可以讓使用者輸入
import time
data = []
count = 0
with open('reviews.txt', 'r') as f:
for line in f:
data.append(line)
count += 1
if count % 1000 == 0:
print(len(data))
#print('檔案讀取完畢, 總共有', len(data), '筆資料')
print(data[0])
start_time = time.... | [
"jenson7899@gmail.com"
] | jenson7899@gmail.com |
2bdca8a8bf20ae934daa0612cf186baca66bacb7 | c37e6d0770c31a78f315bd4a46c96158ccc13485 | /IDE/AsmIDE/migrations/0010_alter_tests_starting_time.py | 1ddd6c8774b2e16f7f2c9990f9a48f9dc32845f5 | [] | no_license | Scorpion197/8086-IDE | 22f8b3ae0831bc5ecd8ff5643564eb8b970855cc | 165eb2f9ff60ae17f61c077a637a0c123f52e718 | refs/heads/main | 2023-05-21T00:09:53.426535 | 2021-06-15T01:42:54 | 2021-06-15T01:42:54 | 355,016,027 | 2 | 0 | null | 2021-04-24T20:14:04 | 2021-04-06T01:03:57 | JavaScript | UTF-8 | Python | false | false | 509 | py | # Generated by Django 3.2 on 2021-04-24 01:07
import datetime
from django.db import migrations, models
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('AsmIDE', '0009_alter_tests_starting_time'),
]
operations = [
migrations.AlterField(
... | [
"doudou.gaw@gmail.com"
] | doudou.gaw@gmail.com |
d558ad7aff4e520653b7da7b5f2cf5eb3c8f7089 | f98c12b0fa1449ede5c53d4fa11ad14274a0390c | /homework_2/question4.py | c13cc75d006a8ab6e27e77a78128073a81805b12 | [] | no_license | doodles526/CS344 | 49cc20551c89a948336eb15a87208dc58b5df8ce | 02f2b37bbcc7d42d70a611b1e74557c566c2f6f6 | refs/heads/master | 2021-01-19T18:29:49.880665 | 2014-09-01T06:45:49 | 2014-09-01T06:45:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,753 | py | # Josh Deare
# dearej@onid.orst.edu
# CS311-400
# Homework 2
import math
import sys
COMPOSITE = 3
def primes_to_n(scan_to):
"""
Returns number of primes and list of primes between 0 and scan_to
Return value is a tuple, as (num_primes, primes[])
"""
# initialize the lists
num_list = [None... | [
"dearej@onid.orst.edu"
] | dearej@onid.orst.edu |
3fb98eb68b61ad9968065ebf555fe75c62f98c16 | bdc6edf8d54623f0afe6d1fe6770ef7bd029d315 | /karatsuba_log int multi.py | 5f11af077cdfccaaf5782b4405900f82c669ae8f | [] | no_license | KeyurAsodariya111/Python | 8a79124677b37cfc89d0b8d25b87275d13efd2f3 | a795014f82995d9b5f07d37ba3c9d45b541199b4 | refs/heads/main | 2023-05-31T16:32:13.846214 | 2021-07-10T08:39:23 | 2021-07-10T08:39:23 | 384,649,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 589 | py | # -*- coding: utf-8 -*-
"""
Created on Mon May 3 10:09:13 2021
@author: Keyur Asodariya
Time com:- O(n^1.585)
"""
X=int(input("Enter number 1 :"))
Y=int(input("Enter number 2 :"))
def karatsuba(X,Y):
#base condition
if X<10 or Y<10:
return X*Y
m=max(len(str(X)),len(str(Y)))
... | [
"noreply@github.com"
] | KeyurAsodariya111.noreply@github.com |
290cccac3244c8f49b7fe30dc928990ec75a0610 | b7ba02a29b10c449a8e405063c5eede32c36f0c8 | /doc/conf.py | 31ed7b46162d1b1b5bd2fbd7c00247768fd3b1bc | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Paebbels/pyHTTPRequestRouter | 96e32756ef4ef0e538f8990cef99719eac5dad0d | 10592ecdd9fd57bc04d218a7cdbb050d7ae38cc5 | refs/heads/master | 2021-06-22T14:25:37.250642 | 2020-01-02T00:57:08 | 2020-01-02T00:57:08 | 214,282,531 | 0 | 0 | NOASSERTION | 2021-04-28T22:09:05 | 2019-10-10T20:46:33 | Python | UTF-8 | Python | false | false | 4,408 | 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... | [
"Patrick.Lehmann@plc2.de"
] | Patrick.Lehmann@plc2.de |
fbe5bcce893c65d0de9fbe54faebde4410ae5695 | 5ac726f23d0490d3d43819578cca590b62d0ff02 | /wise_intern/Interviews/admin.py | 259b7df34ca5d091e9f4021328f27e7c247f6b8f | [] | no_license | youssriaboelseod/Software-HumanResources | 52ab324bf43479d8bea20690f71690615c68ef25 | 821fdf195915af3f6b6ec16ef2fb6d9f70d986f7 | refs/heads/master | 2022-12-28T01:29:52.310176 | 2020-10-10T05:05:22 | 2020-10-10T05:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 124 | py | from django.contrib import admin
from .models import Interview
# Register your models here.
admin.site.register(Interview) | [
"bhatnagar.aman1998@gmail.com"
] | bhatnagar.aman1998@gmail.com |
0ffe4bc3ddbf2d4c37f626ced16302e1c0753d97 | d00aec723a30e5dff05218fceeecf14e986131c3 | /src/bot/output/offense_output.py | 8f2eba13f3997491bc5eb7754f846c9d1efeb96c | [
"MIT"
] | permissive | xKynn/discord-pob | 422e2c1f42035ba292ee303cf9957f48fd47adfb | 8c1175974fa69de4a4a143487dab3ca94ce8ceed | refs/heads/master | 2020-03-25T04:19:50.908268 | 2018-07-14T09:54:09 | 2018-07-14T09:54:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,948 | py | from src.bot.consts.thresholds import OutputThresholds
from src.bot.util import build_checker
from src.models import Skill
def calc_max(comparison_dps: []):
"""
Get the max value out of all values in the list when they are set.
:param comparison_dps:
:return:
"""
max = 0
for dps in compari... | [
"fabian.widmann@uni-ulm.de"
] | fabian.widmann@uni-ulm.de |
ebfaa95f77f169b9ea0772633ca3dcff5322622b | 82f9100372c224f9e23acb38082d05c41f5cee66 | /front_end/chq_form.py | 81d1c1939610896c91ed0fded8104e6901e4c65b | [] | no_license | johnstembridge/DT | 207ed86ebc87e89fea84637cb0321d8beb78bd58 | 4516725d41728f7f27a1f06211eba980830c77ee | refs/heads/master | 2023-06-22T12:16:52.765924 | 2023-06-14T13:26:27 | 2023-06-14T13:26:27 | 187,260,532 | 0 | 0 | null | 2023-02-15T21:24:26 | 2019-05-17T18:02:28 | Python | UTF-8 | Python | false | false | 832 | py | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField
from front_end.form_helpers import ReadOnlyWidget
from back_end.interface import get_member
class RenewalChequeForm(FlaskForm):
dt_number = StringField(label='DT number')
amount = StringField(label='Renewal amount')
description ... | [
"john.stembridge@gmail.com"
] | john.stembridge@gmail.com |
6ba2eaaf0441bd9cbe54bd95bd0f0810f655a902 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02999/s283934284.py | 6cd487c30f50e638f9be2239e26427ad2bcd0a27 | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 85 | py | x,a = list(map(int,input().strip().split()))
s = (0)
if x >= a:
s = (10)
print(s) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
2f03740dce263ba7d322d9175165a19213c55b8e | e5859e6766bc9a76e84312adad7c10d575e735c9 | /SOURCE/Current-Development-Code/swift/swift/oracle_plus/utility.py | 4afc222fbdfa28a77d2e6ebdcb6714b1bcc67c3f | [
"Apache-2.0"
] | permissive | gayana06/Thesis | 8e142d8c6697c18c5c5f99a27fafbc6dfd2b0f96 | e287fdf6b963e113c23e09fc6564e64aa9dad45a | refs/heads/master | 2021-01-10T11:21:17.700390 | 2015-05-23T21:38:34 | 2015-05-23T21:38:34 | 36,142,371 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,769 | py | __author__ = 'Gayana'
from datetime import datetime
from swift.oracle_plus.config import is_adaptive_mode,log_path,PERFORMANCE_PATH,QUORUM_MAP_PATH,CASE_ID,PROCESSED_LOG_PATH,SENT_LOG_PATH,ENABLE_LOGS
def Is_Adaptive_Mode():
return is_adaptive_mode
def get_current_datetime():
return str(datetime.now())
def... | [
"gayanachandrasekara@gmail.com"
] | gayanachandrasekara@gmail.com |
5ce998a8d321fbb8c92ffc3515a595137019c013 | 222d525f50f0c955ba6e8af0b41a9bd9c04d99a9 | /venv/Lib/site-packages/pandas/_version.py | 560c9c69332156b1bd4362ce45c1cffa515f362a | [] | no_license | Sakthi-zebra/Rest_RCI | 943c4652a239808b71d0d2ba5c28acca7435cf68 | 9a716860986a3d1fafee70f0c6339810fce152f2 | refs/heads/master | 2021-01-05T16:44:41.126142 | 2020-02-17T10:22:16 | 2020-02-17T10:22:16 | 241,074,751 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 545 | py | # This file was generated by 'versioneer.py' (0.15) from
# revision-control system data, or from the parent directory name of an
# unpacked source archive. Distribution tarballs contain a pre-generated copy
# of this file.
from warnings import catch_warnings
with catch_warnings(record=True):
import json
import sy... | [
"sm1279@zebra.com"
] | sm1279@zebra.com |
1f2b03d1b4506d5cf644d64178ff55f7ec29716a | 97e1c6bf888cf701dd64b03b7667ff96e1ca9d46 | /Docker-Django/app/env/lib/python3.8/site-packages/ode_composer/dictionary_builder.py | 00441add9ede35f9373f45e95539b8e611716942 | [] | no_license | samumartinf/docker-django-ode | 4bd8093926e69fb33fe8b8a59e00216baf0478fd | 3dd4ee2a23c0cccadf3c355788b8ecc1c8145412 | refs/heads/main | 2023-01-22T10:16:17.124097 | 2020-12-03T20:59:44 | 2020-12-03T20:59:44 | 314,359,337 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,555 | py | import numpy as np
from typing import List, Dict
from .util import MultiVariableFunction
from itertools import combinations_with_replacement
from sympy import latex
class DictionaryBuilder(object):
def __init__(self, dict_fcns: List[str]):
self.dict_fcns: List[MultiVariableFunction] = list()
self.... | [
"samumartinfrias@gmail.com"
] | samumartinfrias@gmail.com |
2b6fd7d1a8889319ee9306ac006162dc199fd10e | aae970b6020f1ae416d3b1c8ad581027c1389d2c | /venv/Scripts/easy_install-3.7-script.py | 62f792f8fa9e0418d04dba7e62fdf69a75208c29 | [] | no_license | saffist3r/DecryptXOR | 3f5b5a37c3f84cf44fea87e3b19688680dfcc8a1 | e417acfd3d8eec42bb0c5ba1feb1b879a9dc6558 | refs/heads/master | 2022-11-20T13:45:06.369448 | 2020-07-26T17:32:11 | 2020-07-26T17:32:11 | 282,700,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 473 | py | #!"C:\Users\Safwen Ladhari\PycharmProjects\PythonTests\venv\Scripts\python.exe"
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7'
__requires__ = 'setuptools==40.8.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(... | [
"axelsaff@gmail.com"
] | axelsaff@gmail.com |
efddcc33bba411d8e270ab601367317c336c97a1 | 3e0a928b4e92ddd51421970de0bab7e787780e24 | /assignments/assignment3/number1.py | 785851163c4b6449eca436a87b6ff613344953ff | [] | no_license | mjohn239/530-390-13 | cc7ac27a7d449954cf8739de21fc23c0daddf894 | 78171c55fbc5092556fa7af3918bd9b222d80572 | refs/heads/master | 2021-01-18T17:14:39.108564 | 2016-01-22T04:15:53 | 2016-01-22T04:15:53 | 49,161,182 | 0 | 0 | null | 2016-01-06T20:58:30 | 2016-01-06T20:58:30 | null | UTF-8 | Python | false | false | 1,261 | py | #!/usr/bin/env python
import numpy as np
import random
import time
# selection sort
def selectionsort(A, n):
for i in range(n):
m = A[i]
mj = i
for j in range(i,n):
if A[j] < m:
m = A[j]
mj = j
A[mj] = A[i]
A[i] = m
# merge sort (entry point)
def mergesort(A,n):
if n > 1... | [
"mjohn239@jhu.edu"
] | mjohn239@jhu.edu |
41e2743e524fdd8b6b96c7526e848d2add4d2802 | 854181e839968c7e9fbc350a880b0c9d1f70dc3a | /search_online.py | 0a2b569e865e2d8782c1a0bed052f5bc2c00c789 | [] | no_license | JiangChSo/2020-Huya-Program-Technical-Challenge | 479f3dec0020e412c088ae322cfe0359cec3db5f | 4b99ac05c405c10b924e429cde631d94a2f0debe | refs/heads/master | 2023-05-23T23:27:15.454882 | 2021-06-13T03:17:28 | 2021-06-13T03:17:28 | 287,489,597 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,762 | py | import requests
from bs4 import BeautifulSoup
import random
import time
import csv
import jieba.analyse
import jieba
import pypinyin
# 不带声调的(style=pypinyin.NORMAL)
def pinyin(word):
s = ''
for i in pypinyin.pinyin(word, style=pypinyin.NORMAL):
s += ''.join(i)
return s
list_content = []
list_t = []... | [
"954237332@qq.com"
] | 954237332@qq.com |
8c1958a090bf6f112c785c4943e5b48ff31e4d78 | e278302c3faf1ef0686de771313e1a16256791ff | /csdn_blog_data/x.py | 19e0d1c92320434369e63498b95bd092c3c184a6 | [] | no_license | rflin/python-spider | 45ea56b70251589daf157ad3f37b2485150f6321 | 61aa27423e457340169ed337cc47777131f1300f | refs/heads/master | 2021-09-04T16:19:19.785711 | 2018-01-20T07:46:52 | 2018-01-20T07:46:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,134 | py | import urllib.request
import re,os
import time
import matplotlib.pyplot as plt
name = 'gl486546'
CSDN_blog_url = 'http://blog.csdn.net/' + name
def get_maxlistNum():
rps = urllib.request.urlopen(CSDN_blog_url)
html = rps.read().decode('utf-8')
x = re.findall(r'/article/list/([0-9]+)">尾页</a>',html)
if x:
retur... | [
"noreply@github.com"
] | rflin.noreply@github.com |
1cae0928c21b5d35d8bbd79dddccb421f2bc0d15 | 58d8b2b9a1ece8cc06a2997f731a17f22edacbf0 | /cipher/plugins/hearing/routes.py | ce25307ce4abb5ebe981279cecefcdb2f641aba0 | [] | no_license | valorun/CIPHER | 2c67a7b6eee1f8a593c07cb594dd922f805a468e | e7d1aef66470477d5788c2dc11c7370284a6bdf4 | refs/heads/master | 2023-07-24T04:05:54.000846 | 2022-07-24T09:36:37 | 2022-07-24T09:36:37 | 137,410,300 | 0 | 0 | null | 2023-07-18T21:53:21 | 2018-06-14T21:15:53 | Python | UTF-8 | Python | false | false | 2,705 | py | import json
import re
import threading
from flask import Flask, session, request, jsonify
from . import hearing
from .model import Intent, chat_queue
from cipher.model import Sequence, db, resources
from cipher.security import login_required
from cipher.core.actions import CUSTOM_ACTIONS
@hearing.route('/hearing')
@lo... | [
"ronan@collier-famille.fr"
] | ronan@collier-famille.fr |
062f297cae347ab07eaa95341a3d6d4e5870644e | 161e7693f8e0dccdaff940fc5b3fcde3b2a54b7c | /lesson5_inheritance.py | 988de798d20db2f1a884dca8ce585e96d5d92f4c | [] | no_license | tanweer123/Python | 4d759e8b07057fe2248d087c822e88a874238d05 | af7d736484dccb3a72f17cbb56e6da87a78ba3e2 | refs/heads/master | 2020-04-16T19:59:09.910136 | 2019-03-10T11:20:35 | 2019-03-10T11:20:35 | 165,881,809 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 471 | py | class Parent:
def __init__(self):
print("This is parent class")
def parentfunc(self):
print("This is parent method")
def func(self):
print("calling from parent class")
p = Parent()
class Child(Parent):
def __init__(self):
print("This is child class")
def child... | [
"alam.tanweer153@gmail.com"
] | alam.tanweer153@gmail.com |
57c06678cfe9cd58a767af3192995b70794be68a | 63ddf960d66b380933b9294c7993d3bfba158b5d | /flask_website/__init__.py | b0394be6e60d9c69c0194d5f1a70ee23dd5decaf | [] | no_license | ujansen/Flask-Blog | 1b1a0e8c5588b8bfaa90c812d1501d75474b1cc7 | 7389416e714790b32289766aa776516017b29109 | refs/heads/main | 2023-01-11T17:29:34.793206 | 2020-11-18T13:13:11 | 2020-11-18T13:13:11 | 313,937,983 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 861 | py | from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_bcrypt import Bcrypt
from flask_login import LoginManager
from flask_mail import Mail
from flask_website.config import Config
db = SQLAlchemy()
bcrypt = Bcrypt()
login_manager = LoginManager()
login_manager.login_view = 'users.login'
... | [
"noreply@github.com"
] | ujansen.noreply@github.com |
f101d81ec1eb6d47cd3d9ad9f6b421ad77b7f6ee | 7195f0cc2615c094d1a9c187a67948dfb2bbff25 | /accounts/urls.py | 23fa5bf31a145f3988094db9c90fdf78e848c77b | [] | no_license | dhirajkumar2020/makemytrip | 7ceae2c60175efc5e78d4ffe309d71eeeb36e31a | 7ef571b65117a57215d2d30d9f9c13420fa185e0 | refs/heads/master | 2020-09-17T00:09:04.716126 | 2019-11-26T08:08:31 | 2019-11-26T08:08:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 248 | py | from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [
path("register", views.register,name="register"),
path("login", views.login,name="login"),
path("logout", views.logout,name="logout"),
]
| [
"dhiraj.kumar@nescode.com"
] | dhiraj.kumar@nescode.com |
af952cafe9b7c8cd011f7a54506bc85501ad2fe1 | 933bf4d1915983ec36589a75635ecbf5b153a943 | /Chapter 03/FileCode.py | b1717c5c10884b47cb7587622b2e0fa8fbb7b4a7 | [
"MIT"
] | permissive | smartdong/PythonPractise | f3ccaf709dbf0f7c93710842e6d494563fdac558 | e1fe421b24d7ec8b26d5e34f70f2692ce825e967 | refs/heads/master | 2021-01-18T22:13:06.703189 | 2016-11-12T02:54:22 | 2016-11-12T02:54:22 | 69,237,115 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 901 | py | #file = open("data2.text", "w")
#file.write("Hello Python\n")
#file.write("This is a line\n")
#file.close()
#
#text_lines = [
# "Chapter 3\n",
# "Sample text data file\n",
# "This is the third line of text\n",
# "The fourth line looks like this\n",
# "Edit the file with any text editor\n" ]
#
#file = open("data.txt", "... | [
"yangxudongsmart@gmail.com"
] | yangxudongsmart@gmail.com |
bca46c19a4f931e51af14f0a270d2dabae403505 | 1f24127dd3647976bc713efa68cdfcacdb8f84d1 | /products.py | 9146a23f0558d92338cc8845681f31f0c2a00643 | [] | no_license | rexlinster/PYLN | f38a792eb82ddfb76a1003c58327f6ea4d8056b6 | cb74507eed0277fdd91a45d1d5cd24530c4c5f26 | refs/heads/main | 2023-03-01T08:29:04.358222 | 2021-02-09T07:15:21 | 2021-02-09T07:15:21 | 325,210,200 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 415 | py | products = []
product = ''
while product != 'q' :
product = input("你要買啥? ")
if product == "q" :
break
price = float(input("價格是? "))
amount = float(input("數量是? "))
total = str(price * amount)
products.append([product,total])
with open("product.csv","w") as f :
f.write('產品,價格\n')
... | [
"rexlinster@gmail.com"
] | rexlinster@gmail.com |
61d46884b1498f13a9058ea7eb7389bdad18882e | 0626d664ac306066b3f97914a407cdc618afcce7 | /Setup.py | 1b1932c39f2727c7f08c8ddbd1c5672b81d6ff5c | [
"MIT"
] | permissive | kobejn/Roland-GP-8 | 5b9e5e6c5c2868db11bd1354c6381128da91c929 | 558d1cb547b99b44beb517371f1fc171017e1b31 | refs/heads/main | 2023-09-04T23:26:56.069456 | 2021-10-18T13:45:58 | 2021-10-18T13:45:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 363 | py | #!/usr/bin/env python
from distutils.core import setup
setup(name='Roland-Gp-8',
version='1.0',
description='Library for inspecting and modifying Roland Gp-8 sysex dump format.',
author='F.G. Robertson',
author_email='me@grantrobertson.com',
url='https://www.github.com/grobertson/Roland-GP... | [
"me@grantrobertson.com"
] | me@grantrobertson.com |
c72280c1eeaae1f109b80dd090e27597795b4d21 | 8b4fa99b046341d13c1522853fe7a4961043b2b4 | /nutr/migrations/0008_auto_20170603_2037.py | b5d1bf2559667dc720700c6858374a1813100d3e | [] | no_license | mesas998/epa7658577 | 228c3229ab0900942c7b36f47409c159b4017bd8 | 6e3ede9866e8ece5cc9972b73b9e17163c09ef48 | refs/heads/master | 2021-01-25T07:48:43.715268 | 2017-06-12T16:48:18 | 2017-06-12T16:48:18 | 93,660,299 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 688 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-06-03 20:37
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('nutr', '0007_auto_20170603_2023'),
]
operations = ... | [
"michael.sweeney303@gmail.com"
] | michael.sweeney303@gmail.com |
22788a768aeb91f8b074cef2f964bf056ddc7185 | b27d0135accc27594a7f60efc824960fd53a8fe1 | /check-application.py | 26db8f9b732b2ee2ac4bd28ac40d669a33d9141f | [] | no_license | hendrasaputra8/belajar-py | 61dd89842d24ec955e6b4be86793d36392c289a9 | 1cac8e82a579acdec55fa015df7eefcde6563c0c | refs/heads/master | 2020-04-15T09:44:04.636663 | 2019-01-21T04:37:28 | 2019-01-21T04:37:28 | 164,563,009 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | import subprocess
rc = subprocess.call(['which', 'htop'])
if rc == 0:
print 'htop installed!'
else:
print 'htop missing in path!'
subprocess.call('/root/scripts/install.sh') # --> path bash bisa taro dimana pun
| [
"hendrasaputra@hendrasaputra.local"
] | hendrasaputra@hendrasaputra.local |
ca6d3a98f3998152b7b9dda41f3a1cd0d6f4985b | cab2cae48f1dee4a9b8c6b3cdb2d5406ebc5e72f | /dbConfig.py | 92fef633530172299a0a6f48fc0668d49ddf4111 | [] | no_license | CMUChimpsLab/python_static_analyzer | 4961fcb92150bbe390b7aca4ace8a2dc4e9df7b7 | 7c562f62a39a3392814467f8d7d20bee6ea5883b | refs/heads/master | 2021-01-20T13:48:58.447211 | 2018-06-12T14:52:07 | 2018-06-12T14:52:07 | 15,215,146 | 6 | 0 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | #Do not commit login info to github !!
#There is security risk to leak the ip address of our mongodb server
HOSTNAME = "xxx.xxx.xxx.xxx"
USERNAME = "xxxxx"
PASSWORD = "xxxxxxxxx"
| [
"lsupperx@gmail.com"
] | lsupperx@gmail.com |
99510d519de2a5ec319d4e7e6655ff6fd749a0c3 | 9b6f26c9ce7771bdfd23e02850824ba0d609e0d1 | /src/deprecated/restore_relative_word_freq.py | 13056f409b303ec34705009bbdaa5d461eb59ed9 | [] | no_license | ReinaKousaka/core | adb182daf04399e946551422ccf1b91d97352b26 | 33a3fa38ad4dcdd54ff583da15dcd67c99ad9701 | refs/heads/master | 2023-04-14T02:39:42.038400 | 2021-04-27T13:54:35 | 2021-04-27T13:54:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,200 | py | import os
from twitterDownloader import TwitterTweetDownloader, TwitterFriendsDownloader
import pymongo
import datetime
from word_frequency import WordFrequency, daterange
from pymongo import MongoClient
from collections import Counter
ds_location = 'mongodb://localhost:27017'
word_frequency = WordFrequency(os.getcw... | [
"kailong.huang@mail.utoronto.ca"
] | kailong.huang@mail.utoronto.ca |
6cdd33b225194a437ad5ed9ae0a18e40503fdc34 | f98e5eae4a8edea219949e58b94f41e20ca93cae | /schools/cert_issuer/models.py | 13dbb60b8ca4be33c5d64f82abea11ac94b12393 | [] | no_license | BlockCerts-Swust/block_certs_back_end | ec6117060a83f7f9eea0c5f8506bda9d89c27b53 | 7c518666c497cf885ab7eaa18ef387dd166692c4 | refs/heads/master | 2022-12-22T07:16:23.434977 | 2020-05-29T05:32:16 | 2020-05-29T05:32:16 | 244,879,049 | 1 | 0 | null | 2022-12-08T04:00:51 | 2020-03-04T11:06:33 | Python | UTF-8 | Python | false | false | 2,658 | py | from abc import abstractmethod
from schools.cert_issuer.config import ESTIMATE_NUM_INPUTS
class BatchHandler(object):
def __init__(self, secret_manager, certificate_handler, merkle_tree):
self.certificate_handler = certificate_handler
self.secret_manager = secret_manager
self.merkle_tree =... | [
"2482003411@qq.com"
] | 2482003411@qq.com |
36fbcc1dbeea8d7452334d443e9dcc52f980366a | bf0d62460cbfb9291dffda76825ec06bfdbe8c98 | /higher_moments/test_update.py | 50d0312f13a0d76e26c31a5a14cd7c85496b2a17 | [] | no_license | contagon/deepfilters | 5cdabc9f7cddbb5f8750553d0040701b6e78b14a | 97be59d0896d7dfa0a618f9649ae634b455d3e63 | refs/heads/master | 2023-02-19T02:10:07.519107 | 2021-01-12T02:09:54 | 2021-01-12T02:09:54 | 307,907,212 | 1 | 0 | null | 2020-12-16T19:35:26 | 2020-10-28T04:34:17 | Python | UTF-8 | Python | false | false | 1,296 | py | import torch
import numpy as np
import matplotlib.pyplot as plt
from scipy.io import loadmat
from networks import *
import sys
# load data
n = 9400
data = OdometryData("exact_data_4.pkl", split=8000)
all = slice(None,None)
# make models
n_m = 3+6+10+15
pnn = Network(n_m, n_m-3, 64, 12, *data.train_predict(all)).cuda... | [
"contagon6@gmail.com"
] | contagon6@gmail.com |
7132a6efe79998e97391fede2615e22427a1242a | 5ffed81ced523b6e417b4e48d20380b6f16f8f42 | /pre_exam/vacantion.py | 10a4829eea56d31166c28138daf1f4126ed1418f | [] | no_license | Nikoletazl/Basics-Python | 0f3f095bd51f9546c681e3cdd268232de88749ab | 17aef1b95814f13a02053681aae3e617e56f2fe6 | refs/heads/main | 2023-08-14T15:48:48.450249 | 2021-10-08T15:02:35 | 2021-10-08T15:02:35 | 415,027,622 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 372 | py | count_people = int(input())
count_nights = int(input())
count_cards = int(input())
count_tickets = int(input())
sum_one_person = count_nights * 20
sum_cards = count_cards * 1.60
tickets = count_tickets * 6
total_sum_one = sum_one_person + sum_cards + tickets
group_sum = total_sum_one * count_people
end_sum = g... | [
"noreply@github.com"
] | Nikoletazl.noreply@github.com |
7b80af63ba4e31916ceecbe57cc05ff3750f51ae | 85bc90e520580d2e4c186f910fc3e0396ee934f7 | /schedule/models.py | d9b47093d0a456ece85a67412d2b60bfd0a392a7 | [] | no_license | ulchm/picks_server | c6abb32220ee18bb1d72398680139b354a092042 | 1f87296538d69b51f2bef75f009e35363d04a5b8 | refs/heads/master | 2021-01-10T02:02:12.993034 | 2016-01-03T14:31:47 | 2016-01-03T14:31:47 | 48,917,543 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,367 | py | from django.db import models
class League(models.Model):
name = models.CharField(max_length=255)
short_name = models.CharField(max_length=10)
is_active=models.BooleanField(default=True)
def __unicode__(self):
return self.name
class Season(models.Model):
name = models.CharField(max_lengt... | [
"mike@norcode.com"
] | mike@norcode.com |
e6fc546651d2205d4808a4a327045054eda8451d | 7db0883137d119565540f2d071638c4016f39213 | /Note/Project_Play/BaiduBaike/SpiderMan.py | eb7543c12a969940ffb61d81059fa69f378fe5f0 | [] | no_license | PhilHuang-d/python--- | cf22a4cc00d4beaaf75ef7ca87a4c5d31a9d5efe | 152c18f51838ce652b79a0cd24765b1a1c237eee | refs/heads/master | 2021-09-13T05:32:53.754865 | 2018-04-25T13:36:40 | 2018-04-25T13:36:40 | 108,812,447 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,344 | py | #coding:utf-8
import DataOutput
import HTMLDownloader
import URLManger
import HtmlParser
class SpiderMan(object):
def __init__(self):
self.manager = URLManger.UrlManager()
self.downloader = HTMLDownloader.HtmlDownloader()
self.parser = HtmlParser.HhmlParser()
self.output = DataOutp... | [
"32259595+PhilHuang-d@users.noreply.github.com"
] | 32259595+PhilHuang-d@users.noreply.github.com |
9652f01eca6829045b4e09504f32936418c55ce6 | 51a80d87fd9f009d8b97573288d6ebd0b420b995 | /blahblah/scribble.py | a02548edc7528ac110dd0856d04c0b764824e178 | [] | no_license | kim-ellen821/mycoding | 02858509c9bf0892d81d73f01e838c762644c3cf | 20c03c529d07f0a776fd909a60cabaca3a8fcc34 | refs/heads/master | 2023-08-15T08:06:50.872463 | 2021-04-01T09:19:43 | 2021-10-13T13:02:25 | 353,621,725 | 0 | 0 | null | 2021-04-01T09:19:44 | 2021-04-01T08:00:52 | Python | UTF-8 | Python | false | false | 1,099 | py | # #2
# h ,w = 4, 4
# blocks = [[0,0], [3,1], [1,0], [0,0], [2,2], [2,3], [3,1]]
# map = [0] * 100001
# answer = []
# def solution(h, w, blocks):
# check = dict()
# for i in range(len(blocks)):
# s = str(blocks[i][0]) + str(blocks[i][1])
# print(s)
# if s not in check:
# map[... | [
"ellenkim821@gmail.com"
] | ellenkim821@gmail.com |
dd8a77fd38ee84af2b84e6bcf6ee5c31652a8548 | 1aec7f1ff9b25bb5e0065bdef34b6773acb1c15a | /PMS/asgi.py | dc743121b9e31e71ee9e7fe7925752145430aefe | [] | no_license | macjade/pms | 35b53cbdcd7e809fad334675ff3b6a8d52108b65 | 7dd46a60d53209ba0ecf73f3b5d3231beaa8639e | refs/heads/master | 2023-07-18T07:51:41.633869 | 2021-08-07T19:23:55 | 2021-08-07T19:23:55 | 393,447,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 383 | py | """
ASGI config for PMS project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_... | [
"jamesdaniel00700@gmail.com"
] | jamesdaniel00700@gmail.com |
4ab2d1b2588ed24e75a8fd18060032ba278250ad | bd792a49f21d901f14165993d45e114e4df60340 | /venv/bin/futurize | 2a1ba3df470dca8741f0b0ce6790bd1dcee24bdc | [] | no_license | Cynthrial/Serial-read | 82d0883ad4de01fe48e58523d2d0f4bcf97b3835 | eb706094b95b09cfc8870bff0f6385d04d807996 | refs/heads/master | 2020-04-13T13:37:32.380790 | 2018-12-27T02:35:04 | 2018-12-27T02:35:04 | 163,236,705 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 417 | #!/root/PycharmProjects/Serial_read/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.17.1','console_scripts','futurize'
__requires__ = 'future==0.17.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])... | [
"root@localhost.localdomain"
] | root@localhost.localdomain | |
c8e16252fb1427ba3ea9dd2778e24d30b756a85c | 738806f165e448b6ca0b7f6324da60a5bceea294 | /pset6.2/caesar.py | 3560e5f8c277a213b3af61e3a4df072c7137d89f | [] | no_license | rajdeep-biswas/allofc50-iguess | fa704968f21c79e5d0e7163a924090954f47e6d2 | 0285fdf59a82348895246dcd37e607634d7281a6 | refs/heads/master | 2022-12-13T02:05:04.720441 | 2020-09-07T14:39:35 | 2020-09-07T14:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | from sys import argv
if len(argv) != 2:
exit("invalid input")
key = int(argv[1])
arr = input("plaintext: ")
print("ciphertext: ", end="")
for i in range(len(arr)):
if ord(arr[i]) >= ord('a') and ord(arr[i]) <= ord('z'):
print(chr(97 + ((ord(arr[i]) - 97 + key) % 26)), end="");
elif ord(arr[i]) >=... | [
"rajdeep.biswas@sap.com"
] | rajdeep.biswas@sap.com |
916ef8e5c0cb8e838afb8b7fd007599ff40dee2b | 8b0593977cf5162ec511229199f9cd024e874f46 | /mysite/settings.py | b738ff7cd86bd272d53d2c1fa3bc0c8cc4085a92 | [] | no_license | anaismarquina/my-first-blog | 292eae55709031850657a49c550b949fc522f523 | 0c6c3b6f92635343b0e3dbd00c397946191bf2fd | refs/heads/master | 2020-04-08T12:50:09.599853 | 2018-12-01T22:45:17 | 2018-12-01T22:45:17 | 139,491,878 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,217 | py | """
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 1.11.16.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import os... | [
"anaismarquinar@gmail.com"
] | anaismarquinar@gmail.com |
ae9733baa5acdbba8e89173c3ab1ad64124800fc | 5213322410b843325d2e50576d397695b2aea2f7 | /proxy/pay.py | 4bceec220a74add591984a66d1c4f8a5dd6b2d0b | [] | no_license | cash2one/Python-In-Action | 854be36627031cc4da3b65e37c7f0e52069af2e0 | bbf5cb090e07e22245089ed3df1284e13c11115a | refs/heads/master | 2020-03-10T21:26:46.534010 | 2018-01-19T13:51:57 | 2018-01-19T13:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 565 | py | import requests
import pymongo
import time
client = pymongo.MongoClient('localhost', 27017)
proxy = client['proxy']
pay = proxy['pay']
while True:
time.sleep(0.5)
wb_date = requests.get('http://api.ip.data5u.com/dynamic/get.html?order=59f3d1290512f231f0acd124242fe932&sep=2')
pay.insert_one({'ip': wb_date.t... | [
"2808581543@qq.com"
] | 2808581543@qq.com |
289cae1e6468e6b0e277c0821edbf38c7de80a92 | 5fa9678b4c37847352ae43af107653ca39d4e2d5 | /chodzenie.py | 1ccb7675db14370dd8c31d0c6c8d9db75410a33d | [] | no_license | wunderbarDeveloper/Gierka | 68e39671cae80261c36ba922bb30ac91cef303de | dbd711566d165300b84d4036478ee0aeb9e4afab | refs/heads/master | 2020-04-29T18:26:07.418685 | 2019-06-16T20:05:10 | 2019-06-16T20:05:10 | 176,324,049 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,231 | py | import os
import pygame
pygame.init()
SIZE = WIDTH, HEIGHT = 600, 600
BACKGROUND_COLOR = pygame.Color('blue')
FPS = 60
screen = pygame.display.set_mode(SIZE)
clock = pygame.time.Clock()
def load_images(path):
images = []
for file_name in os.listdir(path):
image = pygame.image.load(path + os.sep + fi... | [
"Lukasso2015@gmail.com"
] | Lukasso2015@gmail.com |
03aad395ebb9bef895b83c7e331bb6ec2a9c6a54 | 7393f7e49aa65e4aa8dd0efb1d4fa82aa706fa0e | /environment.py | 766826e4095e1a6462d779d868b0ad6fb0f62e80 | [] | no_license | hrabit64/Maze_DQN_reinforce_learning | 0759086d679981a5c8560458657465cf83146d00 | b816916a9fbb8403802f8111c2574c2f8bb84f87 | refs/heads/master | 2023-06-24T05:42:18.342534 | 2021-07-19T08:04:44 | 2021-07-19T08:04:44 | 387,384,113 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,947 | py | import tkinter as tk
import numpy as np
import time
import pyautogui
from PIL import Image
class Env(tk.Tk):
def __init__(self, render_speed=0,width = 10,height = 10):
super(Env, self).__init__()
self.render_speed = render_speed
self.epi = 0
self.steps = 1
self.width = wid... | [
"hzser123@gmail.com"
] | hzser123@gmail.com |
28d939d002a35bc02c16215e3fe153a32445d91b | 8726a58628e1d6c8e6e8cba0bb67de80bad72a51 | /wizard/create_data_template.py | 5cfc1efe6cda7e3d4c77f4974c579767e7e5f7b0 | [] | no_license | cgsoftware/jasper_reports | 54a612a44cd94963794b16ab4266026b233b8ba4 | 207bdea1b8738dff88260f4ea76da8b627e05375 | refs/heads/master | 2021-01-10T19:33:22.921656 | 2011-09-06T15:10:39 | 2011-09-06T15:10:39 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | Python | false | false | 5,766 | py | # encoding: iso-8859-15
from xml.dom.minidom import getDOMImplementation
import wizard
import pooler
import base64
import osv
import string
from tools.translate import _
view_form_start = """<?xml version="1.0"?>
<form string="Create Data Template">
<group colspan="2">
<field name="model"/>
<field name="depth... | [
"g.dalo@cgsoftware.it"
] | g.dalo@cgsoftware.it |
0afd72284979030a577a6afb50f3516967bc088b | 7e8ea701c075f06025fcdf2df39a7ac81e2d35f6 | /consulting/models/inventory.py | d5316ce419257e89e0670fa0d21212a5383cad55 | [] | no_license | goryfigment/consulting | 945dde852624f855d8bc5a4098182cb6eca3a043 | d084b205ea1d0bc184e3f49dc2abab245964e9a7 | refs/heads/master | 2021-06-23T06:13:24.454143 | 2019-12-12T01:35:27 | 2019-12-12T01:35:27 | 225,676,883 | 0 | 0 | null | 2021-06-10T22:21:21 | 2019-12-03T17:21:13 | CSS | UTF-8 | Python | false | false | 7,075 | py | # This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey has `on_delete` set to the desired behavior.
# * Remove `managed = False` lines if ... | [
"goryfigment@gmail.com"
] | goryfigment@gmail.com |
3d6e47d4efb78b657a60852b6505cf0266099e8e | 1369e6a623b0c8d2fcd9ced21756ea0b79373adf | /blog/admin.py | 703ff05eedd523f7a1feac63c1dab7edd8d5227e | [] | no_license | sunshane6726/Practice-App | ed3be2b85272bb3a1d701c9a9b902130c411220a | a6f0763d643be2dbb33f400a0b3f356b6c63f5eb | refs/heads/master | 2023-04-27T01:34:30.809318 | 2019-07-05T12:04:32 | 2019-07-05T12:04:32 | 193,915,683 | 0 | 0 | null | 2022-04-22T21:40:15 | 2019-06-26T13:59:31 | JavaScript | UTF-8 | Python | false | false | 171 | py | from django.contrib import admin
from .models import Blog
# Register your models here.
admin.site.register(Blog)
# 실제로 내가 작성을 해봐야 실력이 는다. | [
"sunshane6726@gmail.com"
] | sunshane6726@gmail.com |
ae562bd8e340a7cb6fbd929fb318d10161565a0f | bbc2c112c910ff670842f3e911c816bace918a99 | /BookFormProject/BookFormProject/settings.py | 0b20d6039b3745b618837e33b7e0f8db89e7c831 | [] | no_license | dhanyamc97/django_Projects | d73367ce49fdc47205b13b9d85ed4e743f93f7f4 | 78211043bdca92e2f47c25b8a8675b92732d2ae7 | refs/heads/main | 2023-01-09T20:51:09.066316 | 2020-11-08T17:16:30 | 2020-11-08T17:16:30 | 311,112,068 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,165 | py | """
Django settings for BookFormProject project.
Generated by 'django-admin startproject' using Django 3.1.2.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from... | [
"dhanyamc97@gmail.com"
] | dhanyamc97@gmail.com |
72e353a6734d1e9117e2b2a4dba5f5cb7d955d5b | 73081ee1fdf0dad38ae98afa8bb74a31a594a436 | /observer_hub/video.py | d4b03715223f5caf9865acd53326bfccaf31daf6 | [
"Apache-2.0"
] | permissive | carrier-io/observer-hub | 8b5328e9a3795e020589bc845247b95201a5212e | a79daf743d1279da29e8fb0688895ad63d0f10f3 | refs/heads/master | 2023-07-19T00:36:21.061184 | 2021-09-09T15:19:25 | 2021-09-09T15:19:25 | 285,288,482 | 0 | 0 | Apache-2.0 | 2021-02-19T08:33:37 | 2020-08-05T12:57:43 | Python | UTF-8 | Python | false | false | 1,221 | py | import json
import os
import subprocess
import tempfile
from time import time
from requests import get
from observer_hub.constants import VIDEO_PATH
from observer_hub.util import logger
def start_video_recording(video_host):
start_time = time()
start_recording(video_host)
current_time = time() - start_t... | [
"semen4ik20@gmail.com"
] | semen4ik20@gmail.com |
958e6cc962347253a2d2217e8fb7795f660d2001 | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /Mkt3yqQMsw9e3Jmjq_4.py | 02def150323524f87c2640e1f03e1201eb361dcd | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,137 | py | """
Write a function which, given a permutation of `[0, 1, ..., n-1]` ( `n>0`)
represented by a shuffled list, returns the permutation in _disjoint cycle
form_ as a set of tuples.
A **permutation** is a particular (re)ordering of a set of objects. For
example, `[1,3,0,4]` is a permutation on the 4 objects `[0,1,2,3... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
60b566ffa37d4b8a664568c5090b7a037600e88b | 32c31618ed94d78a3654ddd267632691784663c5 | /fedlab_benchmarks/fedavg/scale/mnist-cnn/mnist_partition.py | a1510a6de907316bb55d38c8f49201faea366612 | [
"Apache-2.0"
] | permissive | roy-ch/FedLab-benchmarks | 2a1f5833b8a519dda76e5f75f9214f02bd556d7a | 725f6453c114a12741b6e7277e96788949576ea6 | refs/heads/master | 2023-08-25T18:42:52.165193 | 2021-10-11T08:31:45 | 2021-10-11T08:31:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 474 | py | from fedlab.utils.functional import save_dict
from fedlab.utils.dataset.slicing import noniid_slicing, random_slicing
import torchvision
root = '../../../../datasets/data/mnist/'
trainset = torchvision.datasets.MNIST(root=root, train=True, download=True)
data_indices = noniid_slicing(trainset, num_clients=100, num_s... | [
"928255708@qq.com"
] | 928255708@qq.com |
5606b5c260655962cf20f5832309e6fa1fba193e | 077beb02d73045eb97261a1c5e7021bfe709e55c | /tests/new_item/test_invalid_new_item_class.py | 0412c3d225cd16df9a5cc57f7d49be2a1a918cd8 | [
"MIT"
] | permissive | zcutlip/pyonepassword | a91d8491d807c2cede2c483a66872b7913ad3aac | 3ced5acf3667f1af73cad26ae0ef31e8c4b19585 | refs/heads/main | 2023-09-04T03:16:49.170698 | 2023-06-26T19:51:32 | 2023-06-26T19:51:32 | 201,505,055 | 48 | 13 | MIT | 2023-09-05T01:44:18 | 2019-08-09T16:29:56 | Python | UTF-8 | Python | false | false | 619 | py | import pytest
from pyonepassword.api.exceptions import OPInvalidItemException
from pyonepassword.op_items._new_item import OPNewItemMixin
class OPInvalidLoginItemTemplate(OPNewItemMixin):
def __init__(self, title: str, fields=[], sections=[], extra_data={}):
super().__init__(title, fields, sections, extr... | [
"uid000@gmail.com"
] | uid000@gmail.com |
ed6631bc58999a9ae4ed3f03dec516046371b6bd | 1dbe05265fd89f5983eafd74681cb4d80540b02d | /Gps_poller.py | 6ee68900b12b9ec47bc77131b513a636a47adec7 | [] | no_license | GwilymNewton/MoonPi | 2d15576a2ee4b50d25a546f68064185ffe86ddb7 | c038829a63384e707b5ca98d94cc6d232fd46b8e | refs/heads/master | 2020-04-11T07:53:30.543672 | 2015-03-06T20:36:17 | 2015-03-06T20:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,150 | py | #! /usr/bin/python
# Author: Gwilym Newton
from gps import **
import time
import threading
class GpsPoller(threading.Thread):
gpsd = None #seting the global variable
polling_time = 5
def __init__(self):
threading.Thread.__init__(self)
global gpsd #bring it in scope
gpsd = gps(mode=WATCH_ENABLE) #... | [
"gwilym.newton@dur.ac.uk"
] | gwilym.newton@dur.ac.uk |
b2f8b6a8be09dcc36a04d64d3071afeccb3142cd | e683d9ec39667ee5a935551ec086ed5afd48f962 | /mapper.py | 90d9f7e375808e3fae8bd7cfe526e0a192905552 | [
"MIT"
] | permissive | tompollard/dorian | 08b3890acde74dfa226da8cea9a4870265cd12b4 | e9b7276c8a59ba596278a5379f69dc8ce027f3bc | refs/heads/master | 2020-12-24T14:37:05.419666 | 2015-03-24T19:09:50 | 2015-03-24T19:09:50 | 32,338,882 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 247 | py | #!/usr/bin/env python
import sys
import re
def mapper(stream):
pattern = re.compile('[a-zA-Z][a-zA-Z0-9]*')
for line in stream:
for word in pattern.findall(line):
print word.lower() + '\t' + '1'
mapper(sys.stdin) | [
"tom.pollard.11@ucl.ac.uk"
] | tom.pollard.11@ucl.ac.uk |
ab7703e60847420b5edf20bb002a401ece929af8 | 1db25f324f7b247724a0ec9348cb4f0bd250f2ed | /draw_img.py | e1c8675603a77812b39dc7b726367a9c944a4b5f | [
"MIT"
] | permissive | Animmus/GGanalysis | 135a0381e35437f3f6fb0be2b7330ad35a7668b1 | 68fa70d56e3d5247098c2248b193ff78a9071746 | refs/heads/main | 2023-07-05T07:56:53.937318 | 2021-08-21T14:58:04 | 2021-08-21T14:58:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,831 | py | from GGanalysislib.UpItem.Up5starCharacter import Up5starCharacter
import GGanalysislib
import matplotlib.cm as cm
import numpy as np
# matplot colormap https://matplotlib.org/stable/tutorials/colors/colormaps.html
img_dpi = 300
save_img = 1
show_img = 0
en_switch = 0
a = GGanalysislib.DrawTransCDF()
text_model = "... | [
"onebst@foxmail.com"
] | onebst@foxmail.com |
9c151b3a6ea5ad2faf547932fcbb58f8c96ed5ea | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Control/GaudiSequencer/share/test_athretrysequencer.py | 019c631baffe73d52c8ae1a6ebcba84383c65e5e | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,634 | py | ###############################################################
#
# Job options file
#
#==============================================================
import AthenaCommon.Constants as Lvl
from AthenaCommon.AppMgr import theApp
from AthenaCommon.AppMgr import ServiceMgr as svcMgr
# get a handle on the job main sequenc... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
aebf3cbd105f56502484732cbb959833a049352b | 6bce631b869a8717eed29eae186688a7fdb7f5c8 | /venv/Lib/site-packages/test/test_stock_price.py | 4ce7f9435eb697392c8e98c7711ab22e0976e446 | [] | no_license | singhd3101/CS5100-Stock-Market-Prediction | 6d43bd39633dd80bb1141dc550302874a5bc0939 | 2804a6270a05155e168d0f2518bcd97f1c9bcb3e | refs/heads/master | 2020-11-26T03:56:02.613630 | 2019-12-19T02:22:13 | 2019-12-19T02:22:13 | 228,958,401 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,286 | py | # coding: utf-8
"""
Intrinio API
Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API ... | [
"singh3101div@gmail.com"
] | singh3101div@gmail.com |
0f79b5f6017b14b689d663720b17fdf8884f29e5 | a43d1f047c40f29b9fd52ec7ee9f81bd6a6846e3 | /10 Fancy Quotes.py | 5d5295a9bcfbdb011c3120c1057fbd1d31ae1a84 | [] | no_license | RakhshandaMujib/CodeChef-Problems | 00f6d19e7622fe655d783087cb21bbd327763e7b | abe8fac0fc76eeea8a95bc63eb34f6b6ce306704 | refs/heads/master | 2021-06-23T03:49:36.085943 | 2021-06-14T10:42:06 | 2021-06-14T10:42:06 | 201,504,672 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | T = int(input())
for _ in range(T):
s = input()
if s == s.lower() or s == ' ':
if 'not' in list(s.split()):
print('Real Fancy')
else:
print('regularly fancy') | [
"noreply@github.com"
] | RakhshandaMujib.noreply@github.com |
ce1bfba60b3901fe4e19a9f0980780963272f3b5 | 893c0b6d790ac90467528849e303978d21b58590 | /box/migrations/0002_remove_feedback_level.py | 96f19f5a1b8a386da20eb20498247de771dbb119 | [] | no_license | thevyom1/Human-Resource-Management-software | 553e0a89b507407bdd2636d939b2857e41d17c35 | 4b634fa6b59f2f1de186d7b1d90de03feed452ea | refs/heads/master | 2021-01-17T18:06:41.004474 | 2016-07-04T07:19:43 | 2016-07-04T07:19:43 | 62,538,692 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 378 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-06-28 17:26
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('box', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_na... | [
"aggarwalvyom@gmail.com"
] | aggarwalvyom@gmail.com |
25d2fda834a74a7a0bfd09c7a9cb27683426f5a3 | 898fd947dad817d2d70d2390108b9a8d9fcac818 | /api/bls_data.py | ded1aee2b5a9e925f98b4ac6073bce7f32278775 | [] | no_license | N-ickMorris/Stock-Market-Portfolio | 8860085a32e14b43107118309b7c061c449508c5 | 20f804845eb7608b40ae26326b6edc1fcfc4811f | refs/heads/master | 2020-04-06T10:38:20.532899 | 2019-08-14T02:38:47 | 2019-08-14T02:38:47 | 157,386,687 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,241 | py | # This file is a simple wrapper to execute code provided entirely by Brian Dew
# the original code is here: https://github.com/bdecon/econ_data/blob/master/APIs/BLS.ipynb
# data management modules
import pandas as pd
import requests
import json
# a function for collecting unemployement data from the Bureau of... | [
"noreply@github.com"
] | N-ickMorris.noreply@github.com |
aeec4d590db8b63bc37b31a37eb3508e70cfbbd7 | 6de609b27ba697e01d96475ceebd781f7e007026 | /real_vDjBook/bin/pilfile.py | aa7877828caa081050982eaf5129dda1575303d9 | [] | no_license | raksuns/python_django | e284df049d86574bbf91c3894a61acc550101b9e | 22ce23263f950159c6cf0987c4321c40859f480d | refs/heads/master | 2021-01-12T11:27:40.528274 | 2016-11-28T10:57:25 | 2016-11-28T10:57:25 | 72,931,594 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,689 | py | #!/home/shkim/pyDjango/vDjBook/bin/python
#
# The Python Imaging Library.
# $Id$
#
# a utility to identify image files
#
# this script identifies image files, extracting size and
# pixel mode information for known file formats. Note that
# you don't need the PIL C extension to use this module.
#
# History:
# 0.0 1995-... | [
"raksuns@gmail.com"
] | raksuns@gmail.com |
147317683cc08fca306d68aa4d573fceacbb5a7b | f51c0d7c19936997076fb94c6b39b6dfbc2c7578 | /basic_states/gesture_states/src/gesture_states/search_wave_sm.py | 7c1be08aac6619c6e5c3c87e80716f31f5a66e7b | [] | no_license | changlongzj/robocup2014 | 16dd0bf82adc87bd3d64df443cbab8ad839505c0 | 505f84b60fa685619cb711a778c2514fe440feec | refs/heads/master | 2021-01-18T08:38:39.329312 | 2014-06-06T14:44:37 | 2014-06-06T14:44:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,116 | py | #! /usr/bin/env python
"""
Created on 28/05/14
@author: Chang Long Zhu Jin
@mail: changlongzj@gmail.com
"""
import rospy
import smach
import tf
import tf.transformations as TT
from std_msgs.msg import Header
from geometry_msgs.msg import PoseStamped, Pose, PointStamped, Point, Quaternion
from util_states.topic_reader... | [
"sam.pfeiffer@pal-robotics.com"
] | sam.pfeiffer@pal-robotics.com |
9650486d3c6c5ba56d45045f7903fdcfc4194666 | caaf7723580684886559dedba9a0cfa19036243d | /led_stepper_scan.py | cc1a7797598b5c6cf966e7d924197614e5a642c4 | [] | no_license | mike-fang/led_micro | 27214b5d9e67abd3dbc85c2962be13bb82c83723 | c08105b1cd84836fed2dea11074e1d47d13f099a | refs/heads/master | 2022-11-28T10:46:09.647242 | 2020-08-02T19:44:22 | 2020-08-02T19:44:22 | 275,946,959 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 268 | py | from capture_msi import init_rb
from stepper_control import Stepper
from elp_usb_cam import ELP_Camera
import numpy as np
import time
rb = init_rb()
led_ch = {
'g' : 1,
'b' : 2,
'w' : 5,
'r' : 6,
'o' : 7
}
state = np.ones(8)
rb.set_state(state)
| [
"1michaelfang@gmail.com"
] | 1michaelfang@gmail.com |
860b6bc003f95d019e3d704ddab6810b18da8cad | e04acd829e46389392daccc11cbee68255f9af5e | /practice/ex40.py | 9e4e6e35e6be7b0ea83c5979fc2dff13fd69009c | [] | no_license | mahaocheng/pythonhardway | 9b210c1870e3a67e8ab246b6e6dcb744c66a0444 | f61735ba67b10e54cfc460bb7eb2a88e66001912 | refs/heads/master | 2021-01-11T17:59:05.230962 | 2017-04-11T10:21:27 | 2017-04-11T10:21:27 | 79,890,725 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 446 | py | class Song(object):
def __init__(self, lyrics):
self.lyrics = lyrics
def sing_me_a_song(self):
for ma in self.lyrics:
print ma
happy_bday = Song(["Happy birthday to you",
"I don't want to get sued",
"So i'll stop right there"])
bulls_on_parade = Song(["They rally around the fa... | [
"mahaocheng1985@126.com"
] | mahaocheng1985@126.com |
d9ace0f42c9f2412ddfb11101c3b003020c12154 | 60d6b8501d0be546437b26a6ee1f9fab97ec3897 | /platypush/plugins/bluetooth/_model/_classes/_device/__init__.py | 3e568b84dc311d22699142a42b7c2ca993e4c511 | [
"MIT"
] | permissive | BlackLight/platypush | 68284a85b2f9eef303d26b04530f075927b5834a | 446bc2f67493d3554c5422242ff91d5b5c76d78a | refs/heads/master | 2023-08-31T21:01:53.519960 | 2023-08-29T22:05:38 | 2023-08-29T22:05:38 | 109,421,017 | 265 | 25 | MIT | 2023-09-01T23:15:49 | 2017-11-03T16:56:24 | Python | UTF-8 | Python | false | false | 138 | py | from ._major import MajorDeviceClass
from ._minor import MinorDeviceClass
__all__ = [
"MajorDeviceClass",
"MinorDeviceClass",
]
| [
"fabio@manganiello.tech"
] | fabio@manganiello.tech |
1e2657793c46ff5d10baa5dde973f110c7e4b49e | 7b9a792ab61f1308577b0abf38283908ae65ca92 | /config.py | 3e0cf778b1427b4d92af6607c46b8bdabad77d89 | [
"MIT"
] | permissive | amoslgl96/micro_app | ae8543f02d8cd7e80a9a4df9ac8f150a4b088e4e | f300011fe964d6c9f49da24e5e212f546972529e | refs/heads/master | 2021-05-05T16:36:09.714685 | 2018-01-13T18:27:09 | 2018-01-13T18:27:09 | 117,356,918 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,418 | py | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
SQLALCHEMY_TRACK_MODIFICATIONS = False
MAIL_SERVER = 'smtp.googlemail.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
... | [
"baolgl96@gmail.com"
] | baolgl96@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.