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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f907498ef454193d80fa1dbac7f4ef357cb0485 | f9308d5a8efe2dbb48e9cc87cd06405b60a9dc7b | /samples/python/apidocs/ee_featurecollection_aggregate_total_var.py | 6f681ac3fa4a89f5f1bdf70d9c5cf99b8aef7c56 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | google/earthengine-community | 4e054b421f66f03507d58668084aee981062fc24 | ce931040c518860f8788b4888c0acfdebd2952fc | refs/heads/master | 2023-09-01T14:47:54.812703 | 2023-08-31T23:01:00 | 2023-08-31T23:01:39 | 200,732,820 | 428 | 552 | Apache-2.0 | 2023-09-13T21:46:51 | 2019-08-05T21:42:11 | Jupyter Notebook | UTF-8 | Python | false | false | 1,021 | py | # Copyright 2023 The Google Earth Engine Community Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
e479319f2f40f31a8fdd22b4981b19d8cc53f1f7 | caa7e7d7d60d9f073b67661661ddd898b0bdb506 | /setup.py | 404c0124fe14f511cefcf51ad915fde6f68bf0e2 | [
"MIT"
] | permissive | kanghyojun/s2protocol | aa687ef79c2d8e508fa3a4f9f87adac81c190bac | 6e48a010938aa3adea0c9f7ec6ad9bea7b57540e | refs/heads/master | 2021-10-22T20:10:54.604454 | 2014-02-05T16:46:23 | 2014-02-05T16:46:23 | 16,060,557 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(name='s2protocol',
version='0.0.0',
author='Blizzard',
install_requires=[
'mpyq'
],
packages=find_packages())
| [
"hyojun@admire.kr"
] | hyojun@admire.kr |
6793a7e2ed84de8b67e05f62dbff2c37d60be349 | 6c0beed4cd8719bf48982a853183121cea35cadf | /thread_syn_scanr_final.py | a312b10f43247c3ca188d52d82f490d1d797ed92 | [] | no_license | vicky288/pythonScripts | c90406dd2addc7a72275be0526daae7eba7d8c29 | 2b31c726b5924314b31a37f3a4eb86c132816859 | refs/heads/master | 2021-04-30T16:35:30.739238 | 2017-02-09T00:06:16 | 2017-02-09T00:06:16 | 80,077,402 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,356 | py | #!/usr/bin/env python
import threading
import Queue
import time
from scapy.all import *
class WorkerThread(threading.Thread) :
def __init__(self, queue, tid) :
threading.Thread.__init__(self)
self.queue = queue
self.tid = tid
print "Worker %d Reporting for Service Sir!" %self.tid
def run(self) :
total_p... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
51dd7f85ef5c0d7b69d593c9c71aa7bfd3232709 | 31af83f735a4722ba3b7f6a3864d4b9c5be16d90 | /manage.py | f4c005520e48f7273436e9f6bfd757eda1bcdf32 | [] | no_license | DrewCCannedy/brohaus | 300ba75e42324549d8bbe803338f050f31a5ae38 | 6dea8d22fc27ae2199bedd50211c4a4c49e6e055 | refs/heads/master | 2023-08-31T14:15:22.509059 | 2020-07-01T22:22:23 | 2020-07-01T22:22:23 | 276,479,305 | 0 | 0 | null | 2021-09-22T19:21:04 | 2020-07-01T20:50:44 | Python | UTF-8 | Python | false | false | 648 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'brohaus.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
r... | [
"dakillac@gmail.com"
] | dakillac@gmail.com |
0fd14d1a2133a3e80d9f1f3ab67434b34c00c4e9 | 76eb7570deba15cd8df8ddd96f52e30623c680f0 | /Proj1_v1.py | 0f2f6a2fc69cf613966d0de6b2b8f4c0745e80fa | [] | no_license | tanveerm176/Flask-Knot | 7978277ac042abd1e6dd10de96c193688eea3633 | 0b897dc4906bfabd4c42f638cec88542bfeedb61 | refs/heads/master | 2021-01-24T22:03:07.656733 | 2015-07-20T16:04:15 | 2015-07-20T16:04:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,067 | py | from flask import Flask, render_template, request
from data import sentencegenerator as story
from data import Reader,cipher,markov_v3 as chain
Proj1_v1=Flask(__name__)
@Proj1_v1.route('/')
def root():
return render_template('main.html', title='Main Page')
@Proj1_v1.route('/rotn', methods=["POST","GET"])
def ro... | [
"benjihofing@gmail.com"
] | benjihofing@gmail.com |
39d76bd576224e3946ff7daa7c0eafa7235abd11 | cab7fbf7e7b1df18459ff46b8f5981eff2745104 | /depth_and_motion_learning/transform_utils.py | 08c12d61bc8cbeaae72f4af4ddc62d331e8ef828 | [] | no_license | bolianchen/unsupervised-depth-predictors | d134d791103bc2f8a990c5bc88820b9e1ba65556 | 082103e6caa70f76559f3b38cd9daa30acafa8fe | refs/heads/main | 2023-08-20T08:22:20.341063 | 2021-09-27T09:11:42 | 2021-09-27T09:11:42 | 387,762,636 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 6,454 | py | # coding=utf-8
# Copyright 2021 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | [
"bolianchen@gmail.com"
] | bolianchen@gmail.com |
6e2ca1f18a82a23e4f8e995107279bf2358e4e14 | 04599835d6fd478900b2117689f3168e1ee728bc | /qa/rpc-tests/wallet-dump.py | 5391b421d112f5e233678e2b9b78d2c9061a0ca4 | [
"MIT"
] | permissive | cryptonclub/cryptoncoin | 373371122d5986524831badd595c8d7c9b0c9c6a | 70abd6815e30087b3367dca957be63d8bc7cd2fa | refs/heads/master | 2020-12-14T22:58:26.288976 | 2020-01-19T13:55:47 | 2020-01-19T13:55:47 | 234,900,865 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,243 | py | #!/usr/bin/env python3
# Copyright (c) 2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the dumpwallet RPC."""
from test_framework.test_framework import BitcoinTestFramework
from test_framew... | [
"support@cryptonclub.com"
] | support@cryptonclub.com |
b66a370d3cf4f34e4b12732477ebe0307503fb8e | 2766d1c9d257a68306d03cca5ac2b05ebea92f50 | /CatPic/views.py | ed197d93be594096be3a7e53d21a69aee730cad2 | [] | no_license | DorkMage/CatPic | c11e59079f11838572ebcc6824711fb3889abdae | 69d91b05a1d42b96ad6dab095df5915f0db69481 | refs/heads/main | 2023-01-29T04:19:10.641432 | 2020-12-13T17:08:02 | 2020-12-13T17:08:02 | 317,402,214 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,104 | py | from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
from django.utils.safestring import mark_safe
from .models import Pic
from .models import Filter
from random import randint
import json
def index(request):
clowder = dict()
catpics = Pic.objects.all()
... | [
"kittywright@gmail.com"
] | kittywright@gmail.com |
34c69a2e6e5163f82c16f2066cc150e2915edd2e | 13a416a2694d1f6aa1a68cd47610236bf61cafbc | /CodePractice/Turtle/circleturtle.py | a465b8fe30527faaecef0725052e7c92e49ae8e1 | [] | no_license | Highjune/Python | c637f7d0f9e5d1ac9d6ad87b4e54833b8ff4ae11 | 1be43816d22f5f3b8679cf0cd3939e9d9f54497a | refs/heads/master | 2022-11-24T01:20:54.470172 | 2020-07-27T18:01:47 | 2020-07-27T18:01:47 | 263,271,337 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 170 | py | import turtle as t
t.shape("turtle")
num = int(input('num : '))
go = int((num-1)/2)
for i in range(1,num):
for j in range(1,i):
t.forward(1)
t.right(90)
| [
"highjune37@gmail.com"
] | highjune37@gmail.com |
623020b87f72239243d8c9c47e74679b83117736 | 32d96d224ce074758d0d740e77e97bb30982d4e3 | /test.py | 4c56e3bd72ae85110aa2532e377310cb5a11016c | [] | no_license | Moinahmed7777/Pac_man_Agent | a79c5b6e577f4c2fb61f2756a8d0912eaff0dbc2 | 07a92a16ec9930acfa6fd5f000efeab344945ae0 | refs/heads/master | 2022-11-27T20:52:38.780714 | 2020-08-13T20:34:51 | 2020-08-13T20:34:51 | 287,374,555 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 689 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Jul 15 14:30:29 2020
@author: Necro
"""
X=[(4, 3), 'West', 1, [(5, 3), 'South', 1, [(5, 4), 'South', 1, ((5, 5), None, 0)]]]
#X=[ ((4, 3), 'West', 1), [((5, 3), 'South', 1), [((5, 4), 'South', 1), [((5, 5), None, 0), None]] ] ]
#[(((5, 3), 'South', 1), (((5, 4), 'So... | [
"noreply@github.com"
] | noreply@github.com |
5095b5341c9fb69f1fd83369f1b8a9b3d1c26d60 | 05f9f0434623bcdc8983eec7510a0ebc80a8e86d | /Classes/DiPrime_Class.py | e25ca63ff3d614f32ff8e22d8c80a004b9f1fa0c | [] | no_license | shoryaconsul/DiPriMeFlip_Forest | e55af955906ca66d059eae732990c5c60b3d0b32 | 9f51f0e8e768b07b25b46da2e0bea235e3a03ca4 | refs/heads/main | 2023-02-27T08:37:09.677725 | 2021-02-05T03:16:37 | 2021-02-05T03:16:37 | 330,514,141 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,242 | py | import numpy as np
import numpy.random as rn
import random
from copy import deepcopy
# This file implements the proposed algorithm for classifcation (stores fractions).
# The variables mean refer to fractions in this code.
# %%################################################################
# Querying the value of a... | [
"shoryaconsul@gmail.com"
] | shoryaconsul@gmail.com |
f546e9e52b380e7d078d7a83b9522f48799bf1fb | 6e172edee44d5985d19327cf61865d861395d595 | /2020/11/y2020_d11_p01.py | 14c61f5a7ba331bb0fdd890b3ea3476e58d1cce5 | [] | no_license | rHermes/adventofcode | bbac479ec1c84c55484effa2cd94889d621b3718 | 4cbe7a952678c5f09438702562b7f6f673a1cf83 | refs/heads/master | 2023-01-14T07:05:35.769426 | 2023-01-01T09:53:11 | 2023-01-01T10:13:29 | 225,170,580 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,699 | py | import fileinput
import itertools as it
# Let's build a jump table
def jumptbl(M, ROWS, COLS, x, y):
arounds = []
for dy, dx in [(-1,-1), (-1, 0), (-1, 1), (0,-1), (0, 1), (1,-1), (1,0), (1,1)]:
zx = x + dx
zy = y + dy
idx = zy*COLS + zx
if 0 <= zx < COLS and 0 <= zy < ROWS and ... | [
"teodor@spaeren.no"
] | teodor@spaeren.no |
3924fa132bfe328ae6a8faf35578e47d92f3d63e | 2e5cac4d666bfd926112111060059feda98f5743 | /online.py | d96915e0ad8a8f411dd31069315ef10ac790c2cc | [] | no_license | swifton/Template | 014b471cce502b3f997fc5e6f8b269a0fe40288f | 3eea5e31335163dfda0976e3b2ba9ea2bb8e51df | refs/heads/master | 2021-01-01T05:30:58.946791 | 2018-04-11T06:14:06 | 2018-04-11T06:14:06 | 40,803,098 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,444 | py | import tornado.websocket
import os.path
players = []
update_rate = 60
class Application(tornado.web.Application):
def __init__(self):
handlers = [(r"/", MainHandler),
(r"/socket", SocketHandler),
(r"/lib/(.*)", tornado.web.StaticFileHandler, {'path': "../template/js"})]
settings = ... | [
"anton.swifton@gmail.com"
] | anton.swifton@gmail.com |
94d6e7a4e245070004aceed465e415b48a91fdd8 | 5f7bc18fb99b00e8d47865621c42d19de406ae4f | /page/page_shop_transfer.py | 60030d56af440882b4964de52c648dd2d7e2ee15 | [] | no_license | ZYG-Test/WebTest | 0958652095c59ac73978a8b3efc5ac153e6e050c | e1e6e180561f67e5368a858dff27c3975cb5696e | refs/heads/master | 2022-12-20T08:21:54.969577 | 2020-09-09T09:38:36 | 2020-09-09T09:38:36 | 287,206,592 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,952 | py | import time
import page
from base.base import Base
import faker
f = faker.Faker()
class PageTransfer(Base):
# 点击跨境汇款
def page_click_money_transfer(self):
self.base_click(page.shop_money_transfer)
#收款人
def page_receive(self,name,lastname,account,amount,number):
# 输入收款人姓名
self.... | [
"18142651995@163.com"
] | 18142651995@163.com |
d8ff5b2120acc3d38e45ebe0b0362c23ee03ccad | 6dfdc65b1d633847763fc5012aeb4ca1438fe6ae | /Python and Advanced Analytics/Database/Mongo/product.py | a612bd231d21867bec183f6463c9296e891fa1d1 | [] | no_license | SaurabhRuikar/CdacRepo | 71537432885c83995ea6f2248d2a20ef08b4c9d4 | 12c2a4be8141443e4a567104506a81f115baeab1 | refs/heads/master | 2022-05-26T02:22:02.748779 | 2021-03-03T15:33:13 | 2021-03-03T15:33:13 | 223,311,490 | 0 | 0 | null | 2022-04-12T21:57:09 | 2019-11-22T02:57:34 | HTML | UTF-8 | Python | false | false | 2,092 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Dec 7 16:50:58 2019
@author: student
"""
from pymongo import MongoClient
import sys
client=MongoClient('localhost:27017')
print('connection done')
db=client.Product
def insert():
try:
pid=int(input('Enter Product id : '))
pName... | [
"saurabh2830076@gmail.com"
] | saurabh2830076@gmail.com |
9164e169998f84df100794fc7306eac40e464065 | cd685857125d6649bb226e19bc6de48905457bd1 | /C04Recursion/Creativity/c18.py | c96b0db58152e16942f286b1feb30eff9aa06b8b | [] | no_license | nickramos94/DataStructuresAndAlgorithmsInPython | b37dd22018628125001f2853a8e05812e021db3f | b5d5d322e720d3e2411500257f7befb07b6ee4be | refs/heads/master | 2022-12-17T17:33:14.968439 | 2020-01-14T10:08:59 | 2020-01-14T10:08:59 | 292,007,780 | 0 | 0 | null | 2020-09-01T13:38:24 | 2020-09-01T13:38:23 | null | UTF-8 | Python | false | false | 385 | py | def conson_more(s):
VOWELS = {*"aeiouAEIOU"}
def consonants_minus_vowels(index):
if index == -1:
return 0
count = -1 if s[index] in VOWELS else 1
return count + consonants_minus_vowels(index - 1)
return consonants_minus_vowels(len(s) - 1) > 0
if __name__ == "__main__"... | [
"axel.brisse@gmail.com"
] | axel.brisse@gmail.com |
9c9dd3628ce7fc7213ab36ddaa75d362eea81405 | c6bc84336e5ccb62494a91a7d79fb8998fb6cf66 | /lottery_ndriver.py | dd3751d0bbb8929c70d94ceac0cea7fbfa814171 | [] | no_license | wonjr/python_lottery | a702d0b287c89b9c9844fddb9b519f0f0c952b65 | bf2f689d6bb52d77ca98da37d808eb5ec9a50761 | refs/heads/main | 2023-04-05T13:08:25.629941 | 2021-04-13T10:34:34 | 2021-04-13T10:34:34 | 357,500,721 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,576 | py | import lottery
HEAD_HTML = '''
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --... | [
"noreply@github.com"
] | noreply@github.com |
a0322b2f81ed8ef731da2cc2a758f162c0d92b65 | 9b36652dafb58888b7a584806ee69a33fcb609d5 | /objutils/pickleif.py | fd210c74a9e0aa035425e908bbf6ad39a83c3423 | [] | no_license | pySART/objutils | db33e4576cf68111cb4debbafec06a0204844938 | 5ba4631b2245caae80d4dbe0053db0f2706ba53f | refs/heads/master | 2020-06-29T03:35:24.485977 | 2016-11-21T14:21:56 | 2016-11-21T14:21:56 | 74,451,500 | 5 | 2 | null | 2016-11-22T08:36:10 | 2016-11-22T08:36:10 | null | UTF-8 | Python | false | false | 1,385 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "0.1.0"
__copyright__ = """
pyObjUtils - Object file library for Python.
(C) 2010-2013 by Christoph Schueler <github.com/Christoph2,
cpu12.gems@googlemail.com>
All Rights Reserved
This program is free so... | [
"cpu12.gems@googlemail.com"
] | cpu12.gems@googlemail.com |
a856bc79b318b4773ae61f88951e1698c816a3f8 | 19b93af5cb896d93f5d962cec6b9f177eeff0339 | /zinc-launcher | e90e21f845ca8b3f2f4a5ccb7c3b0b21efa24f3a | [] | no_license | mattn/zinc-launcher | 0acccb454aafbe957d4599ee64891b0a0f7f6359 | c1181cf7313797bf7ccef32aed7cc2f4741d2ad9 | refs/heads/master | 2023-06-27T05:42:18.735780 | 2013-09-16T15:44:06 | 2013-09-16T15:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,604 | #!/usr/bin/python
import gtk
import os
import subprocess
import threading
class zinc_thread(threading.Thread):
def __init__(self, id):
threading.Thread.__init__(self)
self.id = id
def run(self):
os.system("padsp ./zinc " + self.id)
gtk.gdk.threads_init()
win = gtk.Window()
win.set_title("ZiNc Launc... | [
"mattn.jp@gmail.com"
] | mattn.jp@gmail.com | |
2c0f774cf9e57e9947263de535f7d1b98fb4245a | 411e8d3400ec0f3b5b8647a37202a52fa4df2c24 | /wx/wx_views.py | 5430f525f4432f732c822af933ee912134eb0d1c | [] | no_license | skymaxu/abh-tornado | f987fe6b26814d54d8aa220c2b082bfc1f5b2d9e | e1d896d29a6383fc6829235a7e53636fff8a006b | refs/heads/master | 2021-01-17T17:36:42.962059 | 2016-07-06T02:43:17 | 2016-07-06T02:43:17 | 62,541,089 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,497 | py | #!/usr/bin/python
#coding: utf-8
import json
import os
import sys
import time
import traceback
import tornado.ioloop
import tornado.options
import tornado.web
from views import BaseHandler
class MainHandler(BaseHandler):
def get(self):
return self.render('wx/index.html')
# class Log... | [
"xutianhua88@qq.com"
] | xutianhua88@qq.com |
ea787b4ae53065aa2e9d7866bddf6587d52b9eab | a68518f4ae6381ee47628afb0f6c8f3a77ee41a8 | /setup.py | ec9ad8435a7b1f14774a368e082a4ee79803c0c5 | [
"MIT"
] | permissive | theSoenke/pytorch-trainer | d2c26fac6a28bb092bea0237fe671cd83152257e | e2bdd881afcc7619b0abd58006e594dac7daa789 | refs/heads/master | 2020-08-17T05:32:22.853416 | 2019-11-25T22:23:10 | 2019-11-25T22:23:10 | 215,616,393 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 691 | py | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="pytorch-trainer",
version="0.8.1",
description="Lightweight wrapper around PyTorch ",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://git... | [
"soenke.behrendt@gmail.com"
] | soenke.behrendt@gmail.com |
f9e1d014f00ad100e068a2d024c3d380291478c1 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /HBKAGJZ62JkCTgYX3_21.py | 715e80114cfa7428c4cd12fde12de966ea9febf6 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 123 | py |
def last(a, n):
if n == 0:
return []
elif n > len(a):
return "invalid"
elif n <= len(a):
return a[-n:]
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
b7ae2023cd59626ee6d6a26f868b5a4f029c5c81 | a19abd5a7c8d0d963eaf6d86d3118dfb8e54973f | /utils.py | b445fb65836a0b97e46426300eea9a820179797a | [
"MIT"
] | permissive | AK391/vits | 460039c33cba369550487e3e13a88515a7412582 | 1b6db7437cd5224baae9776139f890ca315fad8a | refs/heads/main | 2023-05-26T23:19:52.615763 | 2021-06-14T23:23:56 | 2021-06-14T23:23:56 | 376,908,210 | 1 | 0 | MIT | 2021-06-14T17:42:08 | 2021-06-14T17:42:08 | null | UTF-8 | Python | false | false | 7,396 | py | import os
import glob
import sys
import argparse
import logging
import json
import subprocess
import numpy as np
from scipy.io.wavfile import read
import torch
MATPLOTLIB_FLAG = False
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
logger = logging
def load_checkpoint(checkpoint_path, model, optimizer=N... | [
"jaywalnut310@gmail.com"
] | jaywalnut310@gmail.com |
830a673b50b9c3faacb8e3f2012031d17ab895e6 | daf830ddbe9a17c499c829eab41e9c483f05aadf | /client/views/Register.py | 5ff3f4a3ed1d29c54d3432323d5b612b9d5cd0b6 | [] | no_license | c475/fileshare | c751ea13e5e3636a29869a8a6c689e07b910361a | 32f90b4ee73d308ea0a6e8cc57732c98ed3dbda4 | refs/heads/master | 2021-01-13T14:44:55.518861 | 2016-12-25T06:28:24 | 2016-12-25T06:28:24 | 76,702,143 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 736 | py | from client.models import User
from client.forms import UserCreationForm
from client.mixins import NotLoggedInRequired
from django.views.generic.edit import CreateView
from django.contrib.auth import (
login,
authenticate
)
class Register(NotLoggedInRequired, CreateView):
model = User
template_name = ... | [
"danjamesbond@gmail.com"
] | danjamesbond@gmail.com |
115a66c23ea4661c8cc03e3030a4ed6b60a0b04e | bd521d50f33960207d9ad174099630f9ee47e6f8 | /study/python-basic/tentoone.py | e4f7d1b0301c61ecf0b938b20c2dd1d338de6638 | [] | no_license | GGRMR/python-study | c44660552daec255c1724a12c3c0a1dd301b012c | ba74c982283b98ec6bdb4b0569df75fa8a55094f | refs/heads/master | 2020-05-04T21:05:51.427503 | 2019-05-21T15:05:12 | 2019-05-21T15:05:12 | 179,464,009 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 134 | py | # -*- coding: utf-8 -*-
"""
bubble_list
@author: Park Jieun
"""
for i in range(10,0,-1):
print(i)
| [
"wldmsdl9707@naver.com"
] | wldmsdl9707@naver.com |
82eca83d6d1d1d11af6b32a044d2bb6b30cf6621 | b8fa1144dd2fc3202524ec4aebb480ad75f5c316 | /categories/views.py | 4efdd0a20671b10be6d0451b3803bf641b36eefb | [] | no_license | srijan113/Django-flix | 17f7ca79fbfae023cc17075890164929da60162b | 0eaf7a57357813cc93ea574b590ced0270b5d083 | refs/heads/main | 2023-04-21T11:45:18.362208 | 2021-05-11T16:41:48 | 2021-05-11T16:41:48 | 366,449,836 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,136 | py | from django.http.response import Http404
from django.shortcuts import render
from django.db.models import Count
from django.views import generic
from .models import Category
from playlist.models import Playlist
from playlist.mixins import PlaylistMixin
class CategoryList(generic.ListView):
queryset = Category.obj... | [
"srijan.pokhrel113@gmail.com"
] | srijan.pokhrel113@gmail.com |
246e039f2cc85f5282bfb659128b315d0ff2d1f9 | 4244d1f3dc2acd98cd31b1db03645a233bc57a3b | /myapp/usertypes.py | 4f4b45458f4f1c8279c495a17df9a1a95ec48684 | [] | no_license | ekoputrapratama/plugin-architecture-pyqt5-qwebengine | 371837ad8e32730b7a682359412edd37df366378 | 330d391b232de352d72c1dba86b3a74125b13f8a | refs/heads/master | 2022-11-26T23:50:48.903616 | 2019-11-22T09:54:56 | 2019-11-22T09:54:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | import enum
import typing
from PyQt5.QtCore import QUrl
Url = typing.TypeVar('Url', str, QUrl)
LoadEvent = enum.Enum(
"LoadEvent", ["FINISHED", "STARTED", "BEFORE_LOAD"]
)
| [
"muhammad.sayuti94@gmail.com"
] | muhammad.sayuti94@gmail.com |
f8818640916f448155ad0113d32a8f22b2140525 | 988dfbd1a762e40b9717398f7e8d40e3de962180 | /cdnmanager/cdnmanager/cdn/videorepo/migrations/0002_auto__add_projectpolicy__add_videoproject.py | 7a5104dd75908f0e5a7928252b351ffdffcff092 | [] | no_license | carribeiro/vdeli | cf0e594c408ff913355dbd6ea1397cda48f3e77a | cf27b2d17aac2975e3eb48a17132e8bd22325876 | refs/heads/master | 2021-10-27T22:43:40.348580 | 2011-07-01T11:07:52 | 2011-07-01T11:07:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,082 | py | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ProjectPolicy'
db.create_table('videorepo_projectpolicy', (
('id', self.gf('dj... | [
"unitoff@gmail.com"
] | unitoff@gmail.com |
8eabc5915442c74698de459405acdb8a6cb90fa6 | 18b3ad3b0e1f7f10969738251e1201d01dfbc6bf | /backup_files/practice/rect.py | 00e007de1004f6dc31ae22f14c65ace2161a43fa | [] | no_license | sahthi/backup2 | 11d509b980e731c73733b1399a8143780779e75a | 16bed38f0867fd7c766c2a008c8d43b0660f0cb0 | refs/heads/master | 2020-03-21T12:39:56.890129 | 2018-07-09T08:12:46 | 2018-07-09T08:12:46 | 138,565,151 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 352 | py | #!/usr/bin/python
class rectangle:
def __init__(self,length,breadth):
self.length=length
self.breadth=breadth
def area(self):
return self.breadth*self.length
a=input("enter the length of rectangle:")
b=input("enter the breadth of rectangle:")
obj=rectangle(a,b)
print("area of rectan... | [
"siddamsetty.sahithi@votarytech.com"
] | siddamsetty.sahithi@votarytech.com |
b28fdc07e948fed01cb39d809336fa86c0eb6f57 | 13789dc6b4faa7d708c45564b0ca6a62fe89b87d | /BEAC_ERP/urls.py | b0197cece49216609b13477e9efdbeab2feb1608 | [] | no_license | MbadingaMoudouyi/beac_apc | 343485a9cdddb7a76fa9450bb2dacd6dd5566907 | 6fbd82a62a72449572a6f1f73b19fd4162b2a7b1 | refs/heads/main | 2023-06-28T13:09:44.781339 | 2021-07-27T11:21:58 | 2021-07-27T11:21:58 | 389,919,907 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 798 | py | """BEAC_ERP URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.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-base... | [
"mlionelstephen@gmail.com"
] | mlionelstephen@gmail.com |
1ed418b0c91b56556c45e359d752ea4523d1576b | 97c1558464f6e2c4350c207c9e856dcd76ea05af | /A Star Algorithm/AStarAlgorithm.py | 50eeebcf335bf823433c8e465259841b473857d4 | [] | no_license | harshpatel010202/Path-Finding-Python-Project | 0810dce5e3a44e16be278ef89d51a31299f906ac | c06e39c97647ccaa626c9d2f62a055d90c4a0648 | refs/heads/main | 2023-04-19T10:36:23.482380 | 2021-05-05T03:33:52 | 2021-05-05T03:33:52 | 364,451,485 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,327 | py | from queue import PriorityQueue
import pygame
WIDTH = 1000
WINDOW = pygame.display.set_mode((WIDTH, WIDTH))
pygame.display.set_caption("A* SEARCH ALGORITHM")
RED = (255, 0, 0)
LIME = (0, 255, 0)
YELLOW = (255, 255, 0)
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
GRAY = (128, 128, 128)
NAVY = (0, 0, 128)
class Node:
... | [
"harshpatel@uvic.ca"
] | harshpatel@uvic.ca |
a3d20cd0cb67b56a2cee5a0ae9a699eb96bf1677 | 4f862ab15ad1a5ff562f4e068ac8e8051e5064ee | /training_stuff/cifar10_multi_gpu_train.py | 583e81978bdbe2536fa3a48852d99301db7e793f | [] | no_license | skassam21/CSC411 | cd4a64ed4c9879b85432c33fc293fb44650dca76 | 4bf4685338febabcadbadbef657d1273a0aa2db4 | refs/heads/master | 2020-06-27T10:49:40.620559 | 2016-11-23T22:26:14 | 2016-11-23T22:26:14 | 74,525,062 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,163 | py | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | [
"skassam21@gmail.com"
] | skassam21@gmail.com |
9d5eed9ac51e2c80d2bf186b88f4046d7c5f5a3a | 080c13cd91a073457bd9eddc2a3d13fc2e0e56ae | /MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/lib/io/file_io_test.py | e4767806896723cb6003db317ab58e1c9a241678 | [
"Apache-2.0"
] | permissive | Portfolio-Projects42/UsefulResourceRepo2.0 | 1dccc8961a09347f124d3ed7c27c6d73b9806189 | 75b1e23c757845b5f1894ebe53551a1cf759c6a3 | refs/heads/master | 2023-08-04T12:23:48.862451 | 2021-09-15T12:51:35 | 2021-09-15T12:51:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,674 | py | # This Python file uses the following encoding: utf-8
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.o... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
70252ccd8d751ddb991b9baf48cccda96d0787ae | 00758be070825c33d9178c8a50d1a59ee2c3c790 | /ppci/format/pefile/pefile.py | 9828d6c93963c5f9a97d85c328a03344460d59d7 | [
"BSD-2-Clause"
] | permissive | jsdelivrbot/ppci-mirror | d2a87f21a735a9495ad1130959b599ab317a62f6 | 67195d628275e2332ceaf44c9e13fc58d0877157 | refs/heads/master | 2020-04-10T06:23:38.964744 | 2018-12-07T17:05:05 | 2018-12-07T17:05:05 | 160,853,011 | 0 | 0 | BSD-2-Clause | 2018-12-07T17:07:00 | 2018-12-07T17:07:00 | null | UTF-8 | Python | false | false | 312 | py | from .headers import DosHeader, CoffHeader, PeOptionalHeader64
from .headers import ImageSectionHeader, PeHeader, DataDirectoryHeader
from .headers import ImportDirectoryTable
class PeFile:
""" Pe (exe) file """
def __init__(self):
self.pe_header = PeHeader()
class ExeFile(PeFile):
pass
| [
"windel@windel.nl"
] | windel@windel.nl |
a6ad73f8fa4ad85278553a44d738a6860b414064 | 913ffcf29991e57c504bc639cfabe471dfd41782 | /Tank Game/iniciar_juego.py | 9b0bb5c20e6eb64d3db20df8b75aa549bc3c4941 | [] | no_license | JaimeGo/PyQt-Projects | ef30761c5c2c025b9f98db7ed7e7d66b32d9b535 | c54eeaff69424ab463d64391422005bba3ceabd7 | refs/heads/master | 2020-03-18T13:52:40.067614 | 2018-05-25T07:01:57 | 2018-05-25T07:01:57 | 134,814,650 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 236 | py | from mainwindow import comenzar_main_window
from PyQt4 import uic, QtCore, QtGui
from menu_inicial import MenuInicial
if __name__ == '__main__':
app = QtGui.QApplication([])
form = MenuInicial()
form.show()
app.exec_()
| [
"jgonzalez1@uc.cl"
] | jgonzalez1@uc.cl |
07c1226fe221bea2d784ad146118712a1e324f3f | fd0def9fe74e934e14839f5f733977a096ef318f | /neural_network_example.py | eb0a671c50644f080fcbbdfc95134ddf20cc284b | [] | no_license | MarcoBz/neural_network | 2043801f3ee9725e1325f62e476b267dea5c223b | 29a70864f868cd208e023686e267414723fbb212 | refs/heads/master | 2020-03-25T08:27:18.858311 | 2018-08-05T13:05:08 | 2018-08-05T13:05:08 | 143,613,212 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,449 | py | # -*- coding: utf-8 -*-
"""
Created on Sun Aug 5 14:08:44 2018
@author: WinUser
"""
import numpy
# scipy.special for the sigmoid function expit()# scipy
import scipy.special
# neural network class definition# neura
class neuralNetwork:
# initialise the neural network
def __init_... | [
"noreply@github.com"
] | noreply@github.com |
a4056e610f35a5a1bfbe93990398a2a61a725fde | b7620d0f1a90390224c8ab71774b9c906ab3e8e9 | /aliyun-python-sdk-imm/aliyunsdkimm/request/v20200930/CreateFigureClusteringTaskRequest.py | cfa9780027b8c39cc94abaae16dbba18b98bda90 | [
"Apache-2.0"
] | permissive | YaoYinYing/aliyun-openapi-python-sdk | e9c62940baee1a35b9ec4a9fbd1e4eb0aaf93b2f | e9a93cc94bd8290d1b1a391a9cb0fad2e6c64627 | refs/heads/master | 2022-10-17T16:39:04.515562 | 2022-10-10T15:18:34 | 2022-10-10T15:18:34 | 117,057,304 | 0 | 0 | null | 2018-01-11T06:03:02 | 2018-01-11T06:03:01 | null | UTF-8 | Python | false | false | 2,476 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
56f881b70b7d27484498f6ee6da3d31c88d37dc0 | 25ef3ecf50f3807197eb84ab617ad5051c2edfc6 | /tweets/migrations/0003_friends_current_user.py | 6b1cc18382d94c375bb8b609d87d323236f48b35 | [] | no_license | hamiteksi/TwitterClone | bfa30f309d2514d51983dd328c961d56e664636f | e5b7c59015ca79588d40b16801748f5c765d58c0 | refs/heads/master | 2020-07-01T19:06:45.331751 | 2019-08-08T13:38:23 | 2019-08-08T13:38:23 | 201,266,799 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 605 | py | # Generated by Django 2.2.2 on 2019-08-05 10:11
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('tweets', '0002_friends')... | [
"hamiteksi@outlook.com"
] | hamiteksi@outlook.com |
3e12ff790865811a2ef847850a4264105f4e606d | dfc3d113015ba71756271adf746e4e6976a29ab7 | /apps/aboutus/migrations/0001_initial.py | 86df78ee4264c1b5738200cb632c2454a124e99c | [] | no_license | abinabraham/capitalshipping | 169f9a7be71b53b2fd515906ecfb79a5119bdfb0 | 1ff1950c322ea1221a44e2ce141e1926e6c3169c | refs/heads/main | 2023-05-31T09:57:47.865671 | 2021-06-18T08:02:25 | 2021-06-18T08:02:25 | 378,076,804 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,061 | py | # Generated by Django 3.0.6 on 2020-05-30 11:41
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='AboutIntro',
fields=[
('id', models.AutoFie... | [
"abinabrahamcs@gmail.com"
] | abinabrahamcs@gmail.com |
cdc1db5c843207dd2d1ee052bc775e821e56eb11 | c639e5c7bb55268a13f756b265a67b18e9f27b52 | /blog/migrations/0002_remove_blog_date.py | f2785517b16148b8fed0cdab49f24b555fca54a5 | [] | no_license | LionMillion/django3-person-portfolio | b6b68456dd3c6ec0b426c1dd867d4a1e1847b0e8 | f1ce466b64e8cf50e0f65b5672b310e277aef394 | refs/heads/master | 2022-11-30T10:04:55.632497 | 2020-03-18T18:01:01 | 2020-03-18T18:01:01 | 248,221,469 | 0 | 0 | null | 2022-11-22T05:24:34 | 2020-03-18T12:09:33 | Python | UTF-8 | Python | false | false | 310 | py | # Generated by Django 3.0.4 on 2020-03-17 18:29
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('blog', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='blog',
name='date',
),
]
| [
"lionmilion111@gmail.com"
] | lionmilion111@gmail.com |
4306cf5a501f3de00edb62f24e757973416594b6 | e1794a1da4728bfdedcb84edeb62c5e1362feba4 | /government_covid19/government_covid19/spiders/getLinks_Connecticut.py | 87bc385902e88e1f31f00c9a5203a58a58cdf755 | [] | no_license | djEdwards/Government-Scraper | 5ca871cbf71707cbd497412bee402da8b6b08c42 | 848c2dfaa370f0acf80bd768fc7f530e795ecb15 | refs/heads/master | 2023-02-09T10:47:55.038135 | 2020-11-27T22:56:32 | 2020-11-27T22:56:32 | 327,820,213 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | #################
## Connecticut - GET LINKS - Scraper
## 06/29/20
## DJ Edwards
#################
import scrapy
class getLinks_Connecticut(scrapy.Spider):
name = "CT_links"
start_urls = ['https://portal.ct.gov/Coronavirus/Pages/Governors-Press-Releases'
]
def parse(self, response):
filename =... | [
"DJ@DJ.attlocal.net"
] | DJ@DJ.attlocal.net |
82b9644f113f5b32dff7bbc6ece5ed6b64b7a878 | 503210080fc382f929fd958d97fe56707143faa5 | /DictionaryTagger.py | a1cd639610e258ba816ee3bc376ab1cad517eeb7 | [] | no_license | KaptaanBarbosa/eldorado | dbf63e61cfb7abc5d3461f7141f82423502f170e | b577d9fbcaea6097fb7f3bd384d6c4af8f5cb9fc | refs/heads/master | 2020-05-16T21:50:46.145650 | 2015-04-10T07:05:05 | 2015-04-10T07:05:05 | 32,032,167 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,615 | py | __author__ = 'shrivas'
import yaml
class DictionaryTagger(object):
def __init__(self, dictionary_paths):
files = [open(path, 'r') for path in dictionary_paths]
print(files);
for dict_file in files:
self.dictionaries = yaml.load(dict_file)
# def tag_sentence(self, sentence,... | [
"shri.sid@gmail.com"
] | shri.sid@gmail.com |
08aff1c9deeb30d9b508c41d8160a58e126e8571 | 7f2f46167e5c7362a703203a5c35d03ce7236489 | /dtelbot/oop.py | de0e0370ac35779b8699bf041c5eb182538d19c7 | [] | no_license | dalor/dsr-bot | fb15b97ceb2688f0c4455b1432e064de1d4f7886 | a2889fdc2eba520da9d4f56bc8cdfe1ed1569381 | refs/heads/master | 2020-05-26T17:54:41.270765 | 2019-05-24T08:56:15 | 2019-05-24T08:56:15 | 188,327,528 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,271 | py | from .bot_core import BotCore
class Bot(BotCore):
def __init__(self, token, proxy=None):
super().__init__(token, proxy)
self.oop = True
def message(self, text, path=['text']):
def reg(old):
self.register(['message'], old, text, path)
return old
return reg
def edited_message(se... | [
"dalor@i.ua"
] | dalor@i.ua |
b92f48348a9611da3ff38531ee8b12c81121f7ca | 16e5c3118faf5184a3a5553d576cf5aa86d51cef | /stats-ms/src/measures/light.py | bde2871d0091f570f375c8e31e7ea2d811a5b1cf | [
"ISC"
] | permissive | 7Rocky/IoT_Microservices | a2913372e3413622c6749e33a7404c815fda6e74 | c42de668609965068f8feb87ee80fc618524b679 | refs/heads/master | 2023-03-15T13:18:32.016924 | 2021-06-12T10:02:13 | 2021-06-12T10:02:13 | 236,727,290 | 3 | 0 | ISC | 2023-03-05T01:11:59 | 2020-01-28T12:12:49 | TypeScript | UTF-8 | Python | false | false | 1,289 | py | from statistics import fmean
from src.measures.measure import Measure
class Light(Measure):
def __init__(self, queue_collection, max_items):
super().__init__(queue_collection, max_items)
def calculate_stats(self, data):
dates = [ d.get('date') for d in data ]
digital_values = [ d.get('... | [
"rockygitt@gmail.com"
] | rockygitt@gmail.com |
f3202b4a5d15caf6eee16f017b65661b6f612ab3 | dc30b23b8ae7cfc9c217b9d5704622403a35545a | /transfer_learning.py | 2259c6cb20dbb789c8a014f0b80ae29bf559937b | [] | no_license | AlexTaguchi/transfer-learning-tutorial | ef1ee6fa8ac9a00ffa73556a5f2ee31c86ced78a | 405eab6371649eeac2384d95a945b96c78b45248 | refs/heads/master | 2020-12-21T10:37:01.476687 | 2020-01-27T03:15:53 | 2020-01-27T03:15:53 | 236,404,558 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,002 | py | # Modules
import torch
import torch.nn as nn
import torch.optim as optim
from torch.optim import lr_scheduler
import numpy as np
import torchvision
from torchvision import datasets, models, transforms
import matplotlib.pyplot as plt
import time
import os
import copy
# Parameters
directory = 'data'
epochs = 20
# Norma... | [
"thatflippingfool@gmail.com"
] | thatflippingfool@gmail.com |
9c5292e5596095a44765634c9f056877293f618d | b9a110d34d0de3ef91598c7557d41864de3faedb | /SystemCode/Level_Up_Chatbot/Level_Up_App/careerendpointrules.py | 37da14129b3cc65d0b4626c860c6265b2cd4cc55 | [] | no_license | raymondng76/IRS-CS-2019-07-29-IS1FT-GRP-Team10-Personal-Career-Manager-Software-Agent | d316570e6062e72c306942b19fa77d96406c5fb7 | 3f4dd28906575adc30e25e8a5abef545d27b06fd | refs/heads/master | 2020-06-27T12:11:36.544329 | 2019-08-31T08:24:30 | 2019-08-31T08:24:30 | 199,951,810 | 1 | 2 | null | 2019-08-31T08:24:31 | 2019-08-01T01:10:30 | Python | UTF-8 | Python | false | false | 313 | py | from experta import *
class QuestionaireFact(Fact):
"""Fact input from the questionaire"""
pass
careerendpoint = ''
class CareerEndPointRecommender(KnowledgeEngine):
@Rule()
def recommend(self):
"""Recommend Career End Point"""
global careerendpoint
careerendpoint = ''
| [
"35454616+raymondng76@users.noreply.github.com"
] | 35454616+raymondng76@users.noreply.github.com |
d440eb8ab95e9e6084cfda38196829a2ddf59596 | 4643079e397dff1bfa0e001f9afa00708386da2a | /apps/system/models.py | 50dee401737268ee253bf99b8ceecbe731142cf1 | [] | no_license | 3x7r3m157/python_blackbelt | 7bb27f2bd3e279ece9389a794ba0d5ea97bce974 | fb2a70c3352e2604fe155dab33fc2ab46fea2c64 | refs/heads/master | 2020-03-17T22:13:27.082424 | 2018-05-18T19:09:04 | 2018-05-18T19:09:04 | 133,994,314 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,770 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import bcrypt, re, random
from django.db import models
class UserManager(models.Manager):
def validation(request, postData):
status = { 'valid' : True, 'error': [] }
if not re.match(r'^[a-zA-Z ]+$', postData['name']) or not re.search(r... | [
"austin@hackernest.com"
] | austin@hackernest.com |
10a23acbe5b537f474ea2602ec0dc6108d8992ac | 529e713a78e82de2ae5d44cfb8ef209e0894d72a | /subprocess/popen_pipe.py | 35776238852d3f4187f52a4212983d822d6e614e | [
"MIT"
] | permissive | realpython/materials | cd2f548276be2c82f134ca03eadb1cd279e0f26e | d2d62756d3854f54a12a767f2bf9470486c0ceef | refs/heads/master | 2023-09-05T22:12:29.806738 | 2023-08-31T20:56:28 | 2023-08-31T20:56:28 | 132,374,697 | 4,678 | 6,482 | MIT | 2023-09-12T22:22:06 | 2018-05-06T20:46:18 | HTML | UTF-8 | Python | false | false | 393 | py | """
**Only works on Linux or macOS**
Demonstrates using `subprocess.Popen()` to pipe one command into the other.
"""
import subprocess
ls_process = subprocess.Popen(["ls", "/usr/bin"], stdout=subprocess.PIPE)
grep_process = subprocess.Popen(
["grep", "python"], stdin=ls_process.stdout, stdout=subprocess.PIPE
)
... | [
"iansedano@gmail.com"
] | iansedano@gmail.com |
f982ebb9e9cd158b5998ccb248565e40d9cecb2f | 5ba2e42e54110b985aa4e9e35ad0f74fde750bd2 | /fromsapp/migrations/0006_favorites.py | 609dd28e3e5e678342c01586f8741f92f98c4c19 | [] | no_license | BoulinCamille/afpaProject | 3db33fa17d0a35c9dc05b9f541177471b4a6e75a | 8fbcfdc9e6480836291e189b5257211a18f1db49 | refs/heads/main | 2022-12-28T00:39:56.709098 | 2020-10-13T12:17:59 | 2020-10-13T12:17:59 | 303,692,307 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,205 | py | # Generated by Django 3.0.3 on 2020-05-30 00:53
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('fromsapp', '0005_auto_20... | [
"camille.boulin@outolook.fr"
] | camille.boulin@outolook.fr |
40da64597bcd7c63aa5eb0ecc1d623febf2cbf13 | 5ff2a02cd7de012284e8fbecbab759477fc5af34 | /venv/bin/django-admin | 74aadd3beefb7f044425211421717f75bcb56e66 | [
"MIT"
] | permissive | ezro1245/civilas_web | c34bf1084e414dfd7935f8c761628f305c0d756b | 1195142ab5db94ffd1ad0526c389dcac043331c6 | refs/heads/main | 2023-04-22T07:49:32.464127 | 2021-05-10T06:38:02 | 2021-05-10T06:38:02 | 365,847,523 | 0 | 0 | MIT | 2021-05-10T03:17:11 | 2021-05-09T21:02:29 | Python | UTF-8 | Python | false | false | 307 | #!/Users/ezro/Desktop/repositorios/civilas_web/venv/bin/python
# -*- 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())
| [
"ezrosoftware@gmail.com"
] | ezrosoftware@gmail.com | |
f8a77d8cbbd2ac50088d68d544b1ec1ffc16f9ec | 1db123951c96f41cf8dde9fa0ad0f08dd9790c50 | /books_authors_app/migrations/0001_initial.py | d0b394ab27f6402a272b3853db22d14a6ab18aa4 | [] | no_license | Eliherc1/django-orm-libros | 6fa7cf8e5e6c984ef50fc6d16112864a34bba866 | 69451c22006694d2a2376de3a44a3fd47b036a9e | refs/heads/main | 2023-07-11T04:31:07.320351 | 2021-08-13T03:38:28 | 2021-08-13T03:38:28 | 395,134,169 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,282 | py | # Generated by Django 3.2.3 on 2021-08-11 00:48
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Book',
fields=[
('id', models.BigAutoField(... | [
"elidezx@gmail.com"
] | elidezx@gmail.com |
91cbf485313be09b32b5b61c68eca2dc7f3d26bc | 35e5d3eae65f2c602304cf5a65f4f29be951ab9b | /mysite/firstapp/migrations/0005_blog_post.py | 4860497af483c20d55668d83b96de6f08d34eb4a | [] | no_license | bor1senko/lab3 | 930fadcf51485edd28ad1fdaf6b56699c234bfe9 | 446c83df2f88a6637004549e96e43e050cd254e2 | refs/heads/master | 2021-01-17T10:20:46.086325 | 2016-06-09T20:18:00 | 2016-06-09T20:18:00 | 58,852,360 | 7 | 0 | null | null | null | null | UTF-8 | Python | false | false | 671 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('firstapp', '0004_auto_20160518_0124'),
]
operations = [
migrations.CreateModel(
name='blog_post',
fi... | [
"i.borisenko97@gmail.com"
] | i.borisenko97@gmail.com |
cd7a71b8a3f440db5afe0529105e12055373b712 | a112b605c23bd76056e9d8fb2dc506748dfd7106 | /recruiting_analytics_backend/cohort_management/business/queries/api/torre/candidate/fetch_candidate_information_by_id.py | b214b92b35b995fb20a22f329327f5d6714c31a7 | [] | no_license | jmromeroeci/recruiting-analytics-project | ee41cd418901f5cd09825077e04cf7bf53a82138 | 126b0c3a7a01cc536238ef3bf2b4ff6c613d55ec | refs/heads/main | 2023-02-09T01:45:21.779475 | 2021-01-05T04:46:21 | 2021-01-05T04:46:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,325 | py | from ..torre_query import TorreQuery
from typing import Dict, List
from cohort_management.business.domain.candidate.candidate_information import CandidateInformation, JobInformation, LinkInformation
from cohort_management.business.domain.cohort.cohort_information import OrganizationInformation
class FetchCandidateBy... | [
"jmromeroe@gmail.com"
] | jmromeroe@gmail.com |
0e007e2feb4aaf894b3051e459134496f45c63e5 | e2173ceff2c17a48251755fce244a814fc893d85 | /trading/backtest/__init__.py | 383d2b4b14173b42ac98700c057e25154727d6d8 | [
"MIT"
] | permissive | webclinic017/qfengine | 687a99534f2ab7011c3a643881ae68d98b44eabe | f71c263becb82ee5b7022c17d7983b40d5df31bb | refs/heads/main | 2023-02-27T12:37:39.021657 | 2021-02-08T01:39:47 | 2021-02-08T01:39:47 | 400,952,906 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,997 | py | #--| Pseudos
from qfengine.trading.backtest.backtest import BacktestTradingSession
''' PriceHandler, Strategy, PortfolioHandler, PositionSizer, RiskManager and ExecutionHandler.
The main components are the
They handle portfolio/order management system and
brokerage connection functionality... | [
"35281717+xphysics@users.noreply.github.com"
] | 35281717+xphysics@users.noreply.github.com |
680915b69a019fc0e3af9cad490ccd1a67d7f264 | 4bc29617a307de54a7fe300c8e863f03321bd003 | /lib/python3.8/site-packages/trytond/tests/test_field_one2many.py | eee8fc6605089b9d591beb06b8f0da5ed94aa0eb | [] | no_license | Davidoff2103/tryton-training | f594970e77646f0ffeb42eb4f903252ff0b6c201 | 8d1ec4f2b623f7ca48f38bfda2ac15c01ded35a7 | refs/heads/master | 2023-06-01T11:55:05.400233 | 2021-06-09T10:06:56 | 2021-06-09T10:06:56 | 375,275,666 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,817 | py | # This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import unittest
from trytond.exceptions import UserError
from trytond.pool import Pool
from trytond.tests.test_tryton import activate_module, with_transaction
class CommonTe... | [
"davidoff.d777@gmail.com"
] | davidoff.d777@gmail.com |
208867d87a25d6d9b92890e6301ba8120c5999a2 | 3c6c9373298fca5549d4a753bf7ed3a336d5209d | /src/haptic_device_rotation/src/haptic_device_rotation.py | 88f59fec9e71837053b2f74144a737734a711805 | [] | no_license | JLSchol/omni_marco_gazebo | 70077a4648b186bd09510e29f35664bd28f13fd0 | 050cb6dad674a5ff05b0cd5713d989d0d9bf05ee | refs/heads/master | 2023-01-30T16:13:07.620255 | 2019-12-06T15:39:30 | 2019-12-06T15:39:30 | 211,870,305 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,480 | py | #!/usr/bin/env python
from rospy import init_node, is_shutdown, Rate, loginfo, sleep, get_param
from rospy import ROSInterruptException, Time
#import messages
from geometry_msgs.msg import TransformStamped
from PyKDL import Rotation
# import numpy as np
from tf2_ros import StaticTransformBroadcaster
class ... | [
"jasper.schol@live.nl"
] | jasper.schol@live.nl |
019ceff680a7b5a2b85774d7b7ef83055ad0bb38 | 520ad0df0ad20a764dfc7e5599a23d333d86f5d3 | /day14/main.py | 655eeddd68796139ba7c1c0190b70abd47c7dac5 | [] | no_license | machalvan/advent-of-code-2020 | 9e83743ec52f2ee677a6323b0ca8c03416ef48bb | 34717f2e665c2707e065dc3f980a79cb63ad509d | refs/heads/main | 2023-02-06T11:39:39.802352 | 2020-12-25T06:15:33 | 2020-12-25T06:15:33 | 317,325,530 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,625 | py | def part1(input):
mem = {}
mask = None
for line in input:
words = line.split(" = ")
if words[0] == "mask":
mask = words[1]
continue
adr = words[0][4:-1]
mem[adr] = masked(mask, to_bin(words[1]))
return sum([to_dec(mem[adr]) for ad... | [
"machalvan@hotmail.com"
] | machalvan@hotmail.com |
24397dabfec84500b0351935d23351a69656c0c4 | f5dad47c5f1ec2b89f5e004b3e7075bc33cb8802 | /apps/practice_app/migrations/0001_initial.py | ff2307162a16c911f302854ade3a53c2ffd825b8 | [] | no_license | sai-koushik-macha/Coding-Cubs | e8743b533a4926304c25fe29f853cb90897eec76 | 8df3d2ded2006c8a41a799073ab7bd4d8bee0728 | refs/heads/master | 2023-04-23T01:02:20.141240 | 2021-05-10T10:12:07 | 2021-05-10T10:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,160 | py | # Generated by Django 3.1.5 on 2021-05-09 06:09
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='practice',
fields=[
('id', models.AutoField... | [
"motrurishashank000@gmail.com"
] | motrurishashank000@gmail.com |
bf45662e630c6cef37b042f2b344ba3a85276222 | efa652178d6d4d2d8d216dc82588ae5a7c570c19 | /py/pypg_wal_archive_clean.py | 232073db8297e5b4231838c79aea00e9c2d18ef2 | [] | no_license | juliano777/pypg_tools | 40a1993e2fdd931b4fb73aa704075e295875c5ca | 01765d21b09d95987e7cac47e8fe5212d9dba9f5 | refs/heads/master | 2023-01-24T03:15:39.891276 | 2023-01-21T20:05:58 | 2023-01-21T20:05:58 | 101,754,272 | 1 | 0 | null | 2023-01-21T20:05:59 | 2017-08-29T11:35:45 | Python | UTF-8 | Python | false | false | 4,493 | py | # _*_ coding:utf8 _*_
'''
This software is licensed under the New BSD Licence.
*******************************************************************************
Copyright (c) 2013, Juliano Atanazio - juliano777@gmail.com
All rights reserved.
Redistribution and use in source and binary forms, with or without
modificatio... | [
"juliano777@gmail.com"
] | juliano777@gmail.com |
2b15123cf7f9abeb1a80a12b23ceb0cbb34fd739 | e1167fd508a2bae06463dd83c41dc8be2d2d9e6d | /osx/commandPlug.py | dcc9a7c04aaf120ed9fdc49b717fe3622090daf1 | [] | no_license | babache/FreeScript | 56e9fc3e09d0db05d55e60a151ce5aa1ab2b05da | 159b820d3807e7ffb887310ad8c670fa57bae4b7 | refs/heads/master | 2021-08-31T08:21:04.013987 | 2017-12-20T19:06:35 | 2017-12-20T19:06:35 | 114,917,807 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 709 | py | from pyHS100 import SmartPlug, SmartBulb, Discover
from pprint import pformat as pf
import subprocess
import re
import time
ip = ""
for dev in Discover.discover().values():
ip = re.search(r"\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}", str(dev)).group(0)
exit
if ip == "":
exit
plug = SmartPlug(ip)
output = subprocess.che... | [
"babache@Babache.local"
] | babache@Babache.local |
6d7acb9ce754e362f6171af1764146fff1d16b0b | 16508404abab893e7fb679827eec8e28866f1435 | /blogproject/blog/models.py | 47680a2e423e4caac14598cac62385877b4caeb8 | [] | no_license | yuhuaxianfan/Yuhuaxianfan | 60324571e1ee91d70bf9c4f869d4d4536d2a655c | 29236a28a5d51f5d7862fb2f74e81c3419e96608 | refs/heads/master | 2021-01-21T13:26:15.619934 | 2017-10-20T05:03:29 | 2017-10-20T05:03:29 | 102,122,119 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 832 | py | from django.db import models
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
class Category(models.Model):
name = models.CharField(max_length=100)
def __str__(self):
return self.name
class Tag(models.Model):
name = models.CharField(max_length=100)
def __str__(self):
ret... | [
"447724352@qq.com"
] | 447724352@qq.com |
9180b287d75bebfb527e3af7057b4cb7e090a0c2 | 78d31def976fc38898e37d1429a75978848c288b | /soundhound/B.py | 823f35d9a93e39403b56805053e7d4c76c19a5a8 | [] | no_license | RayNakagami/Atcoder | c04ad749b7cda6a2e96d3dac7e549273f34c8a2d | d8c26140f0e769c018877e7e3e8a1867d96feaf0 | refs/heads/master | 2020-03-31T02:15:24.868098 | 2018-10-06T07:36:28 | 2018-10-06T07:36:28 | 151,815,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 46 | py | S = input()
w = int(input())
print(S[0::w])
| [
"ray.nakagami@gmail.com"
] | ray.nakagami@gmail.com |
79dc973cef96d3e5eef6f7cd3552f8a91bf78cb4 | b71f656374293c5f1238fcb449aa4dde78632861 | /eudplib/utils/blockstru.py | c3e9a5159a3ca9e5b4b729aab409a5ff123314d1 | [
"MIT"
] | permissive | tobeinged/eudplib | ce1cdc15f7ec6af857b4b64b5c826b3dd95d3e48 | 066c0faa200dc19e70cdb6979daf8f008b8ae957 | refs/heads/master | 2023-05-04T08:49:01.180147 | 2019-03-18T14:30:29 | 2019-03-18T14:30:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,549 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Copyright (c) 2014 trgk
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, mo... | [
"phu54321@naver.com"
] | phu54321@naver.com |
e661fdec78b7319ffe2fcad7ed550a0469bf8d6d | 564d6a4d305a8ac6a7e01c761831fb2081c02d0f | /sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interfaces_operations.py | f2a6c07097ef93c19db4a57b35f48ccad53b3847 | [
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later",
"MIT"
] | permissive | paultaiton/azure-sdk-for-python | 69af4d889bac8012b38f5b7e8108707be679b472 | d435a1a25fd6097454b7fdfbbdefd53e05029160 | refs/heads/master | 2023-01-30T16:15:10.647335 | 2020-11-14T01:09:50 | 2020-11-14T01:09:50 | 283,343,691 | 0 | 0 | MIT | 2020-07-28T22:43:43 | 2020-07-28T22:43:43 | null | UTF-8 | Python | false | false | 59,447 | py | # coding=utf-8
# --------------------------------------------------------------------------
# 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 Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | noreply@github.com |
e525e75ccebdd3a3803682e6711866c1e53c3c8c | b69c9571db562908f03ab6e57d3f8d6550bf9fc4 | /main_program.py | f7f323228e0607ece4470e049c4eb46a73cdb12e | [] | no_license | Snow-Crash/pc-host | b7f167727418bc4437d0e26daa6e7c7a1a9ef140 | e4824fde89bdd4ba7b8ee31ce7f6722f04b33cca | refs/heads/master | 2023-02-21T08:35:12.058256 | 2021-01-25T17:11:00 | 2021-01-25T17:11:00 | 192,278,045 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,627 | py | import tkinter
import time
import serial
import numpy as np
from timeit import default_timer as timer
import matplotlib.pyplot as plt
import tkinter as Tk
import numpy as np
import matplotlib.animation as animation
from pyqtgraph.Qt import QtCore, QtGui
#import pyqtgraph.opengl as gl
import pyqtgraph as pg
from PyQt5 i... | [
"hfang02@syr.edu"
] | hfang02@syr.edu |
219941a73b3a3abb917568111dfa3dca7b917452 | 0c67106d19d29092c02cbfc93e33cb077a8e4386 | /machine_translation/nmt_zh/model_helper.py | e83f20932eeac34b26c463ff4bf2be129b34ffa0 | [] | no_license | iamdsyang/chinese_nlp | b026c0b9c84b044638006bfa063b8523fe51aff9 | 22a47ad9e8cfb18593e8a6e089d7a7b5e1b6a838 | refs/heads/master | 2020-05-01T14:52:44.364216 | 2018-07-09T04:04:09 | 2018-07-09T04:04:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,106 | py | import six, os
import collections
import tensorflow as tf
import numpy as np
from utils import iterator_utils
from utils import vocab_utils
from utils import misc_utils as utils
class TrainModel(
collections.namedtuple("TrainModel", ("graph", "model", "iterator"))):
pass
def create_train_model(
model_c... | [
"1181856726@qq.com"
] | 1181856726@qq.com |
6515b896bb03a7ebb2cd72e4073d7b54a04e0c93 | 7e2945510ece2255c4902931edc6c53184043243 | /integrationtest/vm/virtualrouter/ipsec/test_create_ipsec_ike_auth_sha384.py | 13de0821af3cdc9d9d76d5db9742203980a750f7 | [
"Apache-2.0"
] | permissive | mahaibin/zstack-woodpecker | 181410d3ab8aefc5ec98280b1449d3ac84eec4c6 | 7ddd907ae67fa1432ae7c5f2035baabdd960993f | refs/heads/master | 2021-01-23T02:43:55.532559 | 2017-03-23T06:43:09 | 2017-03-23T06:43:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,340 | py | '''
Test IPsec creation when ikeAuthAlgorithm is sha384
@author: Glody
'''
import zstackwoodpecker.test_util as test_util
import zstackwoodpecker.test_lib as test_lib
import zstackwoodpecker.test_state as test_state
import zstackwoodpecker.operations.ipsec_operations as ipsec_ops
import os
test_stub = te... | [
"glody.guo@gmail.com"
] | glody.guo@gmail.com |
374e5e8a8f650eb8fa7df655eaf0a275bdd2792f | 642cf7d391e1767beeba0c836f45b55f27b81867 | /lib/topic_model.py | 66b464ae200eb9274c6f638aaf9e2ebc88600313 | [] | no_license | dataSuckers/Deep-Learning-models | ad664d341807cd4bb242b847e62d3a989c82f91b | 6bac493d424f047121a9e871b707e110e4c45734 | refs/heads/master | 2021-08-30T20:20:10.218440 | 2017-12-19T09:21:24 | 2017-12-19T09:21:24 | 112,164,577 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,283 | py | from textblob import TextBlob
from collections import Counter
import re
from nltk import ngrams
import nltk
from nltk.tokenize import TweetTokenizer
import string
from sklearn.feature_extraction.text import TfidfVectorizer
from nltk.stem.porter import PorterStemmer
from topics_utils import clean_sentence,train_model,te... | [
"noreply@github.com"
] | noreply@github.com |
52a836d0343e1d518ac0e52bf9f10bca23d2531e | 689b4573107af6e6d6d91dba6f81c77ab44f2ee5 | /migrations/0009_auto_20171213_1815.py | e561af149598ef6f5e0fb136f61a7d84ffc8921b | [] | no_license | prajwal041/Provisioning_UI | 3f112da972426cd4d5bd96aa193e3e342159a3f8 | d42eadabaed3252c40314e7e19d0694f2a1cd410 | refs/heads/master | 2020-03-27T13:57:34.243833 | 2018-09-24T19:36:28 | 2018-09-24T19:36:28 | 146,636,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 641 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-12-13 12:45
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0008_auto_20171213_1752'),
]
operations = [
migrations.AddField(
... | [
"prajwal041@gmail.com"
] | prajwal041@gmail.com |
7df4448674925a4f5236bfda93a13a48ff6499c9 | 8cf82dffebc98a4f2166dc306663415c1a485aae | /trainModel_mine.py | 27556cea603ac392fdbb4f23e0e1e5c71a0eefb5 | [] | no_license | GUUUUG/MACS-Net-Overlapping-chromosome-segmentation-based-on-multi-scale-U-shaped-network | e93ae01a026876599251702a29c7f45ecf7b1a4c | bae91433b0e4251c38e196feb8c173f81be68f61 | refs/heads/main | 2023-01-03T23:59:42.957871 | 2020-11-02T13:45:52 | 2020-11-02T13:45:52 | 309,244,647 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,621 | py | import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0" ###
#!/usr/bin/python3.5
# -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
import numpy as np
import utilities
import os
from MACS_Net import MACS_Net
from MACS_Net_1 import MACS_Net_1
from CENet_ceshi import CE... | [
"953704875@qq.com"
] | 953704875@qq.com |
4a567d7a7c4e85a615d24491eb179078e930fe16 | e68598b26d1f8d49adc22bab6f85b5a739ebda2c | /multi_weather/settings.py | be6ef288b9d091068116f6e02c63841c992b6cab | [] | no_license | ZackT403/multi_weather-1 | 5b1a1891c8ac8bd201e6802d666800620d3fb9ab | 6f0191320d52e1ecd5dfb59472e980ddafbd07d8 | refs/heads/master | 2022-09-06T20:55:36.497176 | 2020-06-02T21:57:59 | 2020-06-02T21:57:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,204 | py | """
Django settings for multi_weather project.
Generated by 'django-admin startproject' using Django 3.0.6.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import... | [
"andrew@loenhouse.com"
] | andrew@loenhouse.com |
7abb5c21dc4c445762a6970a1c524ea1b1234e2c | e73cd01c238ae7931093f61ed4a93a5b6268b49c | /venv/bin/easy_install-3.8 | b5ac80b8d46ffc3adc8569a7cdfa427d55aa6592 | [] | no_license | riyadzaigirdar/django-redis | 8532dd6511fe47e04a88bfea66dd5374f7452825 | 0bb75d6e415adac51599d3225af7dc99d4634d9f | refs/heads/master | 2022-12-15T23:12:34.714320 | 2020-09-19T14:55:26 | 2020-09-19T14:55:26 | 296,893,101 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 255 | 8 | #!/home/riyad/Desktop/redis/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"riyadzaigir280@gmail.com"
] | riyadzaigir280@gmail.com |
6b6b8ed46de995cb4125b9f3eae5ad6f987cb563 | 1ff9adfdb9d559e6f81ed9470467bab25e93b5ab | /src/ta_lib/_vendor/tigerml/core/reports/lib.py | e68184e54ad7fe935d6209b79f71931a46f2af5f | [] | no_license | Seemant-tiger/housing-price-prediction | a39dbefcb11bc460edeeee92e6becf77d35ff3a8 | be5d8cca769c7e267cfee1932eb82b70c2855bc1 | refs/heads/main | 2023-06-24T00:25:49.776720 | 2021-07-18T16:44:28 | 2021-07-18T16:44:28 | 387,222,852 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 594 | py | def create_report(
contents, name="", path="", format=".html", split_sheets=True, tiger_template=False
):
if format == ".xlsx":
from .excel import create_excel_report
create_excel_report(contents, name=name, path=path, split_sheets=split_sheets)
elif format == ".pptx":
from .ppt.lib... | [
"seemantsingh1199@gmail.com"
] | seemantsingh1199@gmail.com |
fd4852650ffaaeb54b696523ab7c48faf644901c | 40e593f1872a6ab4ea2e3f1830bd1919fad80422 | /e_commerce_project/cart/views.py | 31a4447a01d731d2e370aaf00749a802cde1a039 | [] | no_license | avodhaR/Ecommerce-app | b1def2391b5082f8ddf94db78a9b6de7508d3f7d | 1f1865ffd41380983231d7ab4b9a15bb9ed9adfb | refs/heads/master | 2023-04-08T03:17:47.375590 | 2021-04-05T06:47:31 | 2021-04-05T06:47:31 | 354,736,037 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,111 | py | from django.shortcuts import render,redirect,get_object_or_404
from e_commerce_app.models import Product
from . models import Cart,CartItem
from django.core.exceptions import ObjectDoesNotExist
def _cart_id(request):
cart=request.session.session_key
if not cart:
cart=request.session.create()
return ... | [
"riyasupri@gmail.com"
] | riyasupri@gmail.com |
7213f10f28062eadf3bbacca50ac7ce3992e7b2e | 854639c9f2ce6a1cf0a412a35a56a93f19f07e63 | /Experimento/gerar_grafico_tempo_execucao_5_subplot.py | 926b46fdf0f14c14769d9832f38bc579274e320b | [
"MIT"
] | permissive | RandelSouza/TCC | 3fd82d94fe88bc00b0d2d6968c0772957ccc4dc7 | aeaee2c26635db26ccc3802720d41d2426a062fa | refs/heads/master | 2020-04-29T20:11:35.723032 | 2020-04-20T02:31:37 | 2020-04-20T02:31:37 | 176,377,555 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,496 | py | # -*- coding:UTF-8-*-
import sys
from glob import glob
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import numpy as np
plt.rcParams.update({'font.size': 25})
plt.rc('legend', fontsize=20)
'''
# Configurações dos Gráficos que podem ser alteradas
SMALL_SIZE = 40
MEDIUM_SIZE ... | [
"randelsouza88@gmail.com"
] | randelsouza88@gmail.com |
7d99e26a6d7d4b0a7f916ad07f46105c644061c7 | ac2f43c8e0d9649a7f063c59b3dffdfed9fd7ed7 | /tests2/common/base_slaac_test.py | 459b17fe8aebffa9efbf641b36e553aada1068c0 | [] | no_license | facebook/openbmc | bef10604ced226288600f55248b7f1be9945aea4 | 32777c66a8410d767eae15baabf71c61a0bef13c | refs/heads/helium | 2023-08-17T03:13:54.729494 | 2023-08-16T23:24:18 | 2023-08-16T23:24:18 | 31,917,712 | 684 | 331 | null | 2023-07-25T21:19:08 | 2015-03-09T19:18:35 | C | UTF-8 | Python | false | false | 2,578 | py | #!/usr/bin/env python3
#
# Copyright 2018-present Facebook. All Rights Reserved.
#
# This program file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
48b50a8ac8d47771a70791145c9359e97e3a9752 | 178b24f3d164eb498c03cf51762bd938ef76afab | /db/model.py | 01bc9065564740e417b4729f28c5cc5511db9291 | [] | no_license | yezixigua/homeTE | 73175339370741b48d00ad83f04e598c3727da11 | 514dbb80ed397cc758bc86ae32d6a4c257a110f7 | refs/heads/master | 2020-04-05T03:34:18.032645 | 2018-11-24T07:10:04 | 2018-11-24T07:10:04 | 156,519,657 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,978 | py | from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
import time
Base = declarative_base()
# 保存ip的对象类型, 映射一个数据表
class Visitor(Base):
__tablename__ = 'Visitor'
id = Column('id', Integ... | [
"541889983@qq.com"
] | 541889983@qq.com |
a1d37c6673b71f08cb910ad6171f14c473dacd2e | d2310dd974620eb5af112d056e4518b086dea07d | /Apps/Inventario/migrations/0032_auto_20191209_1322.py | 251ea7187a36e3fe6ebd47a07e968600f4c6ab2c | [] | no_license | diegoquirozramirez/Inventario | de824fbc06e6b64f9ca87c061fbded2a3c3df020 | f3e6e89e03e633acb5729390b1ef5f59a55bdaf2 | refs/heads/master | 2022-03-25T17:02:37.830179 | 2019-12-16T08:22:57 | 2019-12-16T08:22:57 | 226,250,841 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 405 | py | # Generated by Django 2.0 on 2019-12-09 18:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Inventario', '0031_auto_20191209_1321'),
]
operations = [
migrations.AlterField(
model_name='base0',
name='codigo_inte... | [
"ingquirozramirez@gmail.com"
] | ingquirozramirez@gmail.com |
44b3c3e17a72f62f7418db2902479cb858d1cca6 | c275fc8e52e852a82c240d363fc80d818c938549 | /fastreid/modeling/backbones/resnest.py | 54d052d0d66e2081c3a4416c82bce401e9447f8b | [] | no_license | JinkaiZheng/fast-reid_20200430 | 67c968698e6a1c837e7c1c49f0078afae96152a3 | 6832d28e8ddc9b743d2de2a1a089175b8dd4bfd4 | refs/heads/master | 2022-06-29T09:02:50.443834 | 2020-05-12T12:09:26 | 2020-05-12T12:09:26 | 262,527,154 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 17,224 | py | # encoding: utf-8
# based on:
# https://github.com/zhanghang1989/ResNeSt/blob/master/resnest/torch/resnest.py
"""ResNeSt models"""
import logging
import math
import torch
from torch import nn
from .build import BACKBONE_REGISTRY
from ...layers import SplAtConv2d, IBN, Non_local
_url_format = 'https://hangzh.s3.amaz... | [
"sherlockliao01@gmail.com"
] | sherlockliao01@gmail.com |
afa45ecc7ae9304c49f9038d38efcbbae76a06e2 | 01579f20c71dbf868daac38653947eda5a663081 | /mzitu_spider/mzitu/spiders/mzitu_spider.py | 6492d41782ec9dcbc7075f2cf38ec91a2c2444e4 | [] | no_license | yhxuanmo/meizitu_spider | 652f3b91cadda7cee384e1a4ef6e0aae6fab6a76 | e7ca197827a4f5855c4567839cf8d0606d2bbcfc | refs/heads/master | 2020-03-22T14:19:04.690081 | 2018-07-08T13:28:44 | 2018-07-08T13:28:44 | 140,169,486 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,080 | py | from scrapy.spiders import Spider
from scrapy.selector import Selector
from scrapy import Request
from mzitu.items import ImgBoxItem
class MzituSpiser(Spider):
name = 'mzitu'
start_urls = ['http://www.mzitu.com/',]
def parse(self, response):
sel = Selector(response)
typy_tag = sel.xpat... | [
"yh_xuanmo@163.com"
] | yh_xuanmo@163.com |
b443d6514d029cd986721f382abe20b94dd68d0a | 991223fcbb355ffa278c708a452b8978e987f6dd | /Mega_Man.py | 90d5e6b0902e30ab3dc47c3da6b0a611f276f28e | [] | no_license | jstambaugh/Mega-Man | 2a4be4871c21768f0355874a8b7c0813b87e8ec5 | 6c380327e51605b72b1aca9ec0409cbac16ac795 | refs/heads/master | 2021-10-20T12:22:53.260645 | 2019-02-27T16:03:28 | 2019-02-27T16:03:28 | 172,946,185 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,313 | py | import pygame
import Sprite_Sheet
import Settings
vector = pygame.math.Vector2
class Player(pygame.sprite.Sprite):
def __init__(self,x,y): # The self class used for the player "Mega-Man"
super().__init__()
self.move_x = 5 # The x moving section
self.move_y = 5 # The y moving sectio... | [
"noreply@github.com"
] | noreply@github.com |
ee4cc8f5d99dabc24f70760a8e975fedfe84cf5f | 3cd2ec8afd70235f1271ee483373e0f131f4bf33 | /Datasets/GTOS_mobile_single_size.py | 123fbdfe5e345327fb6254e5a4c6fd1ee027ac86 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | joeyee/Histogram_Layer | 74678772210bdcc27f22c154af24c8dbf3c61d83 | d396fc3e066afded3b208588ffccdeb8d1d52cf5 | refs/heads/master | 2023-03-28T17:00:37.421362 | 2021-04-05T18:01:59 | 2021-04-05T18:01:59 | 398,550,467 | 0 | 0 | MIT | 2021-08-21T12:19:12 | 2021-08-21T12:19:12 | null | UTF-8 | Python | false | false | 3,216 | py | # -*- coding: utf-8 -*-
"""
Created on Mon July 01 16:01:36 2019
GTOS data loader
@author: jpeeples
"""
import os
from PIL import Image
from torch.utils.data import Dataset
import pdb
import torch
class GTOS_mobile_single_data(Dataset):
def __init__(self, texture_dir, train = True,image_size = 256, img_transfor... | [
"jpeeples@ufl.edu"
] | jpeeples@ufl.edu |
fe7dc646e6803d550245c1e42b84b4e935c02343 | 3611ad1133a1d71448f5390bda1dc711ad3f0214 | /Week_0_Search/tictactoe/tictactoe.py | f87331681677a0dc9542509bfdb98bb786e03b37 | [] | no_license | michaeljs-c/CS50-Artificial-Intelligence | 03de8eb05c5bf5367d06e476cfc78874be314f81 | c2218c82394860533645d0464ab796bd44abb92d | refs/heads/master | 2023-03-16T05:16:33.459488 | 2021-03-05T17:37:11 | 2021-03-05T17:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,103 | py | """
Tic Tac Toe Player
"""
import math
import copy
X = "X"
O = "O"
EMPTY = None
def initial_state():
"""
Returns starting state of the board.
"""
return [[EMPTY, EMPTY, EMPTY],
[EMPTY, EMPTY, EMPTY],
[EMPTY, EMPTY, EMPTY]]
def player(board):
"""
Returns player who ha... | [
""
] | |
23e3ad4e01e0f76661ea461347891416a38d216c | a71a756203a07ccaece6db440410493b3b7ff77f | /helios/plugins/builtin/rpc_websocket_proxy_through_ipc_socket/plugin.py | f25a485fbaf58be719639402aa3e72f7562385ca | [
"MIT"
] | permissive | Helios-Protocol/py-helios-node | 73735dc24cd4c816d55649ed2f5df822efabfdce | 691b378938f0a36bf8774dc1ee4e4370b6cf7c63 | refs/heads/master | 2021-08-19T23:05:18.841604 | 2020-01-18T19:38:33 | 2020-01-18T19:38:33 | 134,452,574 | 21 | 10 | MIT | 2019-06-09T04:43:14 | 2018-05-22T17:39:10 | Python | UTF-8 | Python | false | false | 1,344 | py | from argparse import (
ArgumentParser,
_SubParsersAction,
)
from helios.extensibility import (
BaseIsolatedPlugin,
)
from .websocket_proxy_server import Proxy as rpc_websocket_proxy
###
# This one is not used anymore because it is synchronous. There is a new asynchronous one in the json_rpc folder
# This... | [
"admin@hyperevo.com"
] | admin@hyperevo.com |
9d0ceb0a983d177fb194fa88a84647305cb10f4a | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /PE8XQipGLS5bhpLZ5_12.py | 135603cb370bc577f19f614c4e375ea0e5b17c54 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 98 | py |
def check_equals(lst1, lst2):
if lst1[:] == lst2[:]:
return True
else:
return False
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
5c79994e4891957104782181f70c52182e20dc7e | 7f1f51e8c70a6434f209b7dda970a52adff33143 | /renew.py | d5d2defc64ae93ef31f01ef8dac3f2d3a2c28261 | [] | no_license | axel-durham/solar | 534a60e06cac39d7e2c0d305e52542ec3e97a0fc | 1b7c16e93ff7823b1209a7b6308e07462dabb8ab | refs/heads/master | 2020-05-19T05:05:01.200926 | 2019-05-09T18:29:15 | 2019-05-09T18:29:15 | 184,841,482 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,952 | py | import math as m
def TimeMinutesToDecimal(time):
"""
This function converts time from the hours.minutes.seconds format to hours.decimal_minutes
Input time as a string formatted 'hour.minute.second'
"""
time = time.split('.')
time = [int(x) for x in time]
return time[0] + time[1]/60 + time[2]/3600
def TimeDeci... | [
"axel.durham@utexas.edu"
] | axel.durham@utexas.edu |
4f0864a0e24ce619fcf9319fc69630fd9e35a830 | 235f15f47ffa9b0534b0e823d5ac95bafdc9325e | /src/tests/test_delete.py | 427b50dd17652ebac7b8cbde49dcd71ca106eda1 | [] | no_license | gyuseok-dev/fastapi-sample-for-docker-compose | fca891255ffcead969f4af245b35cf03de61ce13 | 40b7e8769cf5c164eddd146eb4584557763784c8 | refs/heads/main | 2023-06-06T04:54:43.087769 | 2021-06-30T14:08:17 | 2021-06-30T14:08:17 | 381,697,715 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 803 | py | from starlette.testclient import TestClient
from src import crud
def test_delete_todo(client: TestClient, monkeypatch):
async def mock_is_todo_exist(id, db):
return True
async def mock_delete_todo(id, db):
return None
monkeypatch.setattr(crud, "delete_todo", mock_delete_todo)
monkey... | [
"gyskjng@gmail.com"
] | gyskjng@gmail.com |
9f8d390f8b93600719eede63855cb61081c13b1c | 89d3d9438ee0dfbfdfa9e32e5bb83f7ac33de820 | /flask_app.py | 5a39354584e396dbd241eec8f586dddf2b55b817 | [] | no_license | Vaibhav148/Quote-Dispensing-Engine | a33226ca869843e12778396612057cb26124999b | cb36885514f3076c9a27207bdc23a0bb466992be | refs/heads/master | 2022-10-10T05:19:14.584571 | 2020-06-14T19:28:40 | 2020-06-14T19:28:40 | 272,264,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,201 | py | from flask import Flask, render_template, request, url_for, Markup
import os
import pandas as pd
import numpy as np
from random import randrange
import nltk
nltk.download('vader_lexicon')
from nltk.sentiment.vader import SentimentIntensityAnalyzer
app = Flask(__name__)
quotes = None
@app.before_request
def prepa... | [
"vaibhavathani2740@gmail.com"
] | vaibhavathani2740@gmail.com |
6d4d1d60f2c789f78d8d5f3257764908e635553d | 809f263b77b525549cd945c39c4c9cf2b8e6a167 | /pqcrypto/sign/sphincs_shake256_192s_simple.py | 6a45aa9c023c21f67bb3b6b83ca198236bb3e8f7 | [
"BSD-3-Clause"
] | permissive | Kayuii/pqcrypto | bdf5014b7590dfe363baedbf47171f4b4cb25349 | dd8c56fd876a397caef06a00d35537a4f9c1db28 | refs/heads/master | 2022-12-14T00:34:36.632689 | 2020-09-08T10:40:26 | 2020-09-08T10:40:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 447 | py | from .._sign.sphincs_shake256_192s_simple import ffi as __ffi, lib as __lib
from .common import _sign_generate_keypair_factory, _sign_sign_factory, _sign_verify_factory
PUBLIC_KEY_SIZE = __lib.CRYPTO_PUBLICKEYBYTES
SECRET_KEY_SIZE = __lib.CRYPTO_SECRETKEYBYTES
SIGNATURE_SIZE = __lib.CRYPTO_BYTES
generate_keypair = _s... | [
"inbox@philonas.net"
] | inbox@philonas.net |
ab4d888257c3c89753a638575b9018d4733a7a00 | 087fdfcd157fa626f63ef22da7813b66531c18e9 | /personality_analysis/vocab/vocab.py | 538bf00325559c827348b3938e404be84db49a56 | [
"MIT"
] | permissive | kayzhou/exp_user_behaviour | 5316c5e04a1c624631219b46fdb32e16a17ef2e2 | 58490763c76880eb84211a86bcadb31b868b5c13 | refs/heads/main | 2023-07-26T00:51:50.486012 | 2021-08-25T02:37:59 | 2021-08-25T02:37:59 | 374,299,484 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 48,603 | py | financial_keywords = ['富有', '富于', '饶富', '超富', '最富', '饶有', '极富', '国最', '最高档', '装富', '贵有', '高富', '财产权', '人财物', '财产权利', '私产', '家庭财产', '个人收入', '巨额财产', '债权人', '私有财产', '共同财产', '合法财产', '家庭收入', '居民家庭', '财产性', '个人财产', '家庭事务', '财政支出', '公共财政', '财权', '地权', '合法权利', '公民权利', '共同利益', '生命安全', '生命权', '财产损失', '谋财害命', '房产信息', '财税', '装穷', ... | [
"zhenkun91@outlook.com"
] | zhenkun91@outlook.com |
21062a70c9c801d0fbd39a73c551d1b344d148ea | 68def49f2d3290c7de76a1f08dc63b7db34b1989 | /kinokorik/main/migrations/0007_comment.py | a4c2906cadd2f9800357182a356c75ed9d2cb3e4 | [] | no_license | amirlanburakhanov/Kinokorik.TV | a7c433d1da63121b6aaf2f68e07d21fecf4b0a3e | db531498ac5445261767905f4229159be04d9efc | refs/heads/master | 2020-09-30T23:35:47.587219 | 2019-12-11T15:51:39 | 2019-12-11T15:51:39 | 227,400,460 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,169 | py | # Generated by Django 2.2.3 on 2019-12-02 07:48
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('main', '0006_auto_20191130_2102'),
]
operations = [
migrations.CreateModel(
name='Comment',
... | [
"amirlanburahanov@gmail.com"
] | amirlanburahanov@gmail.com |
94d06d040b4b2ab63cd972227cd4465457230360 | 9bad373aba508fd5bdccfd81b527cec2415c4c2a | /FallingBody.py | 49ffc5efbaffd4305b3faba7842eddef1a7a85b2 | [] | no_license | JosephEmmanuel/python_files | a305329d8620028ed55bc4d58d56a0ea85d5091b | 55eaeeebc94edcdf8a16486b73c1d542d3408ea5 | refs/heads/master | 2020-05-27T02:22:05.187329 | 2020-04-05T09:15:07 | 2020-04-05T09:15:07 | 188,450,943 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,706 | py | #Falling body simulation
#Author Ronald Jasper
import math
#earth's acceleration due to gravity, a constant in m/(sec square)
g=9.80665
def distanceTraveledWhileFall(t):
#distance traveled by a body while falling for t seconds
#d is in meters, t is in seconds
d=0.5*g*t*t
return(d)
d... | [
"jet.repository8@gmail.com"
] | jet.repository8@gmail.com |
71c778cc56ea5d0a03b400a5fb63405ab5da9707 | 3a17437dce911b74c102756ce27cfade29e2c19b | /clients.py | a495552b38b4fbbad717c4c1f15c1481d152a162 | [] | no_license | hacksnextdoor/mobility | a3c9208f78ef7e14c4cf7f4654c3856054959b2d | dc04e6106c2dee962247da742751e908db18286e | refs/heads/master | 2020-05-14T07:50:01.721978 | 2019-05-10T05:21:53 | 2019-05-10T05:21:53 | 181,713,295 | 1 | 2 | null | 2019-05-10T16:19:13 | 2019-04-16T15:06:59 | Python | UTF-8 | Python | false | false | 664 | py | import requests
def get_all():
return [Jump()]
class BaseBikeClass:
NAME = ''
BASE_URL = ''
METADATA = {}
def all_bikes():
raise NotImplementedError
class Jump(BaseBikeClass):
def __init__(self):
self.NAME = 'jumpbikes'
self.BASE_URL = 'jumpbikes.com/opendata'
self.METADA... | [
"brandonsanchez05@gmail.com"
] | brandonsanchez05@gmail.com |
e59d092404ad3bb41f179eac7e955fc6b6e3d84f | 9b0b9ed1fe86355a8e7f71e9af76e21aa86fb17c | /Venter/forms.py | 69543ee08c5508f893bdbac44f2a8e3d4171b252 | [] | no_license | simranmadhok/Venter_CMS | b453d1f4b74bd4a7cfc72c37a1cebaa52c4ea809 | 05bf5e44ebbfbfe63209b496aa25d12c1b2c65a1 | refs/heads/master | 2020-04-26T04:26:38.414249 | 2019-02-04T06:29:27 | 2019-02-04T06:29:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,823 | py | from django import forms
from django.contrib.auth.models import User
from Backend import settings
from Venter.models import File, Profile
from .validate import csv_file_header_validation
class CSVForm(forms.ModelForm):
"""
ModelForm, used to facilitate CSV file upload.
Meta class------
1) declare... | [
"madhok.simran8@gmail.com"
] | madhok.simran8@gmail.com |
6406b63bcacf384542fd445cf5ca113155b0db63 | 52f558dcd7cbea61e6b370bcf2ec65d3b8990087 | /Observtions/Python/AttachmentVsSlope.py | 2fd544ec9ba84a5ef48f0088d974265f319de0d3 | [] | no_license | gauravcse/Graph-Learning | 0f61abef73c30d6edca3313351e8db20601ea875 | 4098ade242c4b5ba906c335fe66b40174e6ee06f | refs/heads/master | 2021-01-17T19:19:38.978666 | 2016-07-17T17:31:33 | 2016-07-17T17:31:33 | 63,544,016 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 466 | py |
# coding: utf-8
# In[2]:
import networkx as nx
import random
import matplotlib.pyplot as plt
import numpy as np
from sklearn import linear_model
import pandas as pd
get_ipython().magic(u'matplotlib inline')
# In[3]:
data = pd.read_csv("pref_slope.csv")
data = data.as_matrix()
# In[5]:
x,y = data[:,[0]],data[:,... | [
"gauravmitra95@gmail.com"
] | gauravmitra95@gmail.com |
2a488fae216a650166cbcdea5467d76f54a01160 | 1fa678e96bffbb40aaec6eeacdad63d6702768c1 | /part-3 files/generate_input_attributes.py | 646701ff449296096aa6c10987db41a6c158fa05 | [] | no_license | hiteshvaidya/Android-Security | b18f8d7abb94813c88f294d962215c995d7eb8ad | c48eb036c6c0f25978dacc985e68eecee1cf6995 | refs/heads/master | 2020-07-11T15:14:13.896262 | 2019-08-28T00:49:07 | 2019-08-28T00:49:07 | 204,580,179 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,935 | py | """
This program generates dataset for the machine learning model used in this project.
:author: Hitesh Vaidya
"""
import numpy as np
import math
import csv
def generatePrintBinary(n):
# Create an empty queue
from Queue import Queue
q = Queue()
numbers = []
# En... | [
"noreply@github.com"
] | noreply@github.com |
2a7bd36e3bdacdc5463a393dd2219babfd2e80ea | 918b7f10e0f662aa756959fd67204405f14d4e00 | /ddpg/Actor.py | 7a66a045692040f70ee349ec1186670ead21f109 | [
"MIT"
] | permissive | fstonezst/deep-rl | 2b98c78dde3e164792aab068d702169f82457911 | a7091badd36fac8a4b1782cf9110eb14b8addfd4 | refs/heads/master | 2021-09-11T14:30:55.766336 | 2018-01-23T14:41:16 | 2018-01-23T14:41:16 | 108,348,333 | 0 | 0 | null | 2017-12-15T06:11:53 | 2017-10-26T01:56:15 | Python | UTF-8 | Python | false | false | 3,956 | py | import tensorflow as tf
import tflearn
import numpy as np
class ActorNetwork(object):
"""
Input to the network is the state, output is the action
under a deterministic policy.
The output layer activation is a tanh to keep the action
between -action_bound and action_bound
"""
def __init__... | [
"fstone.zh@gmail.com"
] | fstone.zh@gmail.com |
be8baba074bc2b06e054dbc1762b979a90b1f361 | c3a5c2886f47f2d5e6c43a315c4edbd252c7c95d | /archivos.py | 23118e3c9819378191567445fe8f461cdad8d42f | [] | no_license | 0danielfrozo/Clases_Phyton | 1999501cc4f4fdac4b08433bd575dc6a73f04918 | 777e9685d6061d6f073000bbf10183eb840b829f | refs/heads/master | 2020-03-25T18:57:32.364042 | 2018-08-08T19:27:53 | 2018-08-08T19:27:53 | 144,058,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 32 | py | print "mi primer repositorio"
| [
"dg.melo@uniandes.edu.co"
] | dg.melo@uniandes.edu.co |
d88feee59447268d7756cf064e8f61bfb542edd5 | bbc33e3a01f3e14f12956e40eed43fd668bcf349 | /rubiksolver.py | 741267b1c70c9f56070eb6e450e2995a9297f071 | [] | no_license | TristanKalloniatis/Rubiksolver | 4cd576250646d7252b97a8d84ade4bfa3efeed90 | 3c9d7434d5b21ed6490940500736d2f77b10d0f9 | refs/heads/master | 2021-01-10T15:16:20.979526 | 2016-02-03T19:03:39 | 2016-02-03T19:03:39 | 51,023,071 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 22,039 | py | #Documentation for Rubik's solver
#In this file we specify the effect of each face turn on a 3x3x3 cube and give a solving algorithm
#Later will add computer vision functionality to automatically read state of scrambled cube from photos
#Cube representation: we represent the cube by an array cube[6][3][3] where first... | [
"tristankalloniatis@gmail.com"
] | tristankalloniatis@gmail.com |
b24f887ce614c49d40017dfe367f9809d91a2b74 | 1fbf39b1b51f222961dc2d8018adb5c358b26d22 | /main.py | 9aad821534c05359e1a53905963682d4ee477846 | [] | no_license | mtokarev93/Flask | 2b99fa97c7aa54cbfd89a85ad6944a002b96a9e5 | dfdbaf1815b337c283da161ecd0686ceee34d2d9 | refs/heads/main | 2023-06-30T01:54:41.555045 | 2021-08-05T17:34:31 | 2021-08-05T17:34:31 | 393,123,619 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,860 | py | from flask import Flask, render_template, request, redirect
from flask_sqlalchemy import SQLAlchemy
from cloudipsp import Api, Checkout
app = Flask(__name__) #создание объекта на основе класса Flask. Можем отслеживать те функции, которые будут отслеживать переходы на разные URL адреса.
app.config['SQLALCHEMY_DATABASE... | [
"micheal.93@mail.ru"
] | micheal.93@mail.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.