blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 213
values | src_encoding stringclasses 30
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 2 10.3M | extension stringclasses 246
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
486a381f4a95f4908854fd984cc9437683ce2986 | aceb1861d209a7a3f472b30cae00fd6c89197b44 | /scraper.py | 2308986ea1482b52feadab6831131fbf75445011 | [
"Apache-2.0"
] | permissive | harshraj21/web-scraping | 92aa37bf2ae42ea5d12dcf57ed57e916d8c21499 | 98489856be96670398f2d7176bf7d8faef6d104d | refs/heads/main | 2023-06-10T20:32:52.653324 | 2021-07-06T14:37:18 | 2021-07-06T14:37:18 | 383,490,491 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 8,643 | py | from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time
from selenium.webdriver.common.keys import Keys
import re
import logging
from selenium.webdriver.remote.remote_connection import LOGGER
from selenium.webdriver.common.action_chains import ActionChains
import os.path
import ... | [
"noreply@github.com"
] | harshraj21.noreply@github.com |
cfe071eee127e4b4319769723a6e67986f68eb8a | b22bd2a65f660611f770e89a2c06754d4e66cb39 | /config/settings/production.py | 1f4cd7102071792b476690a26701164d968101cb | [
"MIT"
] | permissive | GitDietz/new_bake | 8c97d0df39296f7cff2b5d8ff01a0c2ba944d46f | 773b9f6e43ab59e4b1d6ca7edd9fc004720bcc3f | refs/heads/main | 2023-03-21T09:41:58.496339 | 2021-03-22T10:31:01 | 2021-03-22T10:31:01 | 347,928,624 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,297 | py | from .base import * # noqa
from .base import env
# GENERAL
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
SECRET_KEY = env("DJANGO_SECRET_KEY")
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED... | [
"thierrydna@me.com"
] | thierrydna@me.com |
f34fec3e0f89bb55ab39976a30b08e58e56a5624 | a6886a9fff11caf67ec138a5c5656a774d03b854 | /modules/webserver.py | 8be8ee9267f3f8517825e8621bd38c18d4f7fa15 | [] | no_license | Davymaltz/KathBot3 | 76271684075bb6ef7052ceb36fdda15d8fc90414 | cf57018404fa281e26ad189541e6e30387e9a0ef | refs/heads/master | 2021-01-24T01:28:07.415320 | 2009-08-20T18:11:17 | 2009-08-20T18:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,250 | py | # encoding=utf-8
import BaseHTTPServer
import SocketServer
import threading
import inspect
import os.path
import urllib2
import urlparse
import traceback
import mimetypes
import platform
import socket
from cgi import parse_qs
web_handlers = {}
PORT_NUMBER = 8765
class KBHTTPServer(BaseHTTPServer.HTTPServer, SocketSe... | [
"katharine@kathar.in"
] | katharine@kathar.in |
f57a5ad7165acbedab6675838f899b219c52af2b | cd938719803ac6e5b7adc4240b1995f2d3e457e5 | /payment/migrations/0001_initial.py | 82c1d2b945e626673e8f2901a8ec76db4b576f02 | [] | no_license | ititifad/eduka | 193b35372bc39e1481ab10c79929bb17f7aa4d6b | 01a66b17d68e356abe3ddf26146ef85cf4e67a77 | refs/heads/main | 2023-06-18T11:14:31.580716 | 2021-07-17T06:05:01 | 2021-07-17T06:05:01 | 386,772,304 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 434 | py | # Generated by Django 3.0.14 on 2021-07-16 06:03
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='OnlinePayment',
fields=[
('id', models.Aut... | [
"dex90jay@gmail.com"
] | dex90jay@gmail.com |
ed0470ad27fad5a1c49aeb5ada81f1789298a57b | 632daa93ba8dab725e006d6f73ec3dfadcfc5d25 | /conceptTreesCoganteData/src/nelex/distance_matrices_hamming.py | bcd0afdd71633467ff47733a92f7689e8e184b07 | [] | no_license | marisaKoe/conceptTreesCognateData | 529e547b581b8cfa6ae0d04a8adb812b216749ba | 789979515e5dc32c478cc34a571890c8b7d0b902 | refs/heads/master | 2023-07-17T17:07:25.760479 | 2021-09-07T16:10:50 | 2021-09-07T16:10:50 | 187,266,036 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,768 | py | '''
Created on 12.07.2017
@author: marisakoe
NOTE: this is independent of the other distance measures. This was just for testing
'''
import codecs, itertools, scipy.spatial
from collections import defaultdict
from helper_methods import get_data_nelex, write_dm
def nelex_compute_dm_hamming():
'''
reads the... | [
"marisa@marisa-koe"
] | marisa@marisa-koe |
d6fa72819b42cb6d6b28b3aa70ee781aee56d539 | e93cdd365b302dcbdb0dbef8accbd61473851354 | /core/migrations/0018_field_picture.py | f10c67a1c51ad0c9dc125f0fb51f1423dbc3a9ad | [] | no_license | jonerra/radcliff | 7bfd1004a2e1c789c4894b89df7d6408c5dc5034 | 13957e48a96175f11318187f3e180efa4fba2294 | refs/heads/master | 2021-01-21T13:53:45.409435 | 2016-05-16T23:21:51 | 2016-05-16T23:21:51 | 52,484,880 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 457 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-04-14 15:56
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0017_auto_20160414_1533'),
]
operations = [
migrations.AddField(
... | [
"jonerra23@aim.com"
] | jonerra23@aim.com |
e16b639593a9295ce630ea40da27fb2fd3f3ad35 | a29d7fa5ce20f02a5b2169c8cc23ac0f02d56ef8 | /sin_caur_summu_ver1.py | f5339507bbf47fea6e6793e37d8e9b20171b98e8 | [] | no_license | intsintsints/RTR105 | 1b5ab257771f423d97cf3aa3006ef6a334de14c1 | 7620e6ee043986b9ce2dd2f058cc711846eceb7a | refs/heads/master | 2021-08-05T03:51:47.202237 | 2018-12-30T21:12:55 | 2018-12-30T21:12:55 | 148,168,142 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 726 | py | # -*- coding: utf-8 -*-
from math import *
# (1.) * (2) = (2.) - float * int = float
# (1.) * (2.)= (2.) - float * float = float
# Python 2.x
# x = 1. * input("Lietotāj, lūdzu, ievadi argumentu (x): ")
# Python 2.x
# x = float(raw_input("Lietotāj, lūdzu, ievadi argumentu (x): "))
# Python 3.x
x = float(input("Lietotāj,... | [
"teslak70@gmail.com"
] | teslak70@gmail.com |
20cec9b004845eda5ce3b3ab09b5009185b1dba4 | b97bbf3e4fc6ed7e548b5a928f9e83a6c5de02bb | /utils/dataset_util.py | 55c26d499df8aa698af3455df136d84e638e3fdd | [
"Apache-2.0"
] | permissive | manhitv/MAX-object-detector | d1aea5b78f534eab6046ee6aa294d6039f18723d | 21098efeb7040360c52f33db69de4b283edaea08 | refs/heads/master | 2020-07-14T15:02:47.894645 | 2020-01-30T02:03:15 | 2020-01-30T02:03:15 | 205,339,745 | 1 | 0 | Apache-2.0 | 2020-01-28T22:57:22 | 2019-08-30T08:31:11 | Jupyter Notebook | UTF-8 | Python | false | false | 4,389 | py | # Copyright 2017 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... | [
"manhnh594@gmail.com"
] | manhnh594@gmail.com |
f74a324530db9b61c43467a4a2285391c0a79705 | 558ab51892fb02d052798b8f7d14bc6fd4d8ff31 | /configjson.py | 69ddfbaf6afbf8361cf7d6e2bdd2caaf8bc99bca | [
"MIT"
] | permissive | eruber/config | 7908d569604f7536be6a752424c35bd0eb803cea | 1c3d76083980b9fdb052b8e99a40328d3ff17f44 | refs/heads/master | 2020-12-02T19:49:29.414980 | 2017-07-22T21:29:13 | 2017-07-22T21:29:13 | 96,396,440 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,382 | py | #!/usr/bin/env python
#coding=utf-8
"""
Module configjson
This class sub-classes the abstract base class, **Config**, in the config module
to provide JSON specific configuration read and write methods.
.. moduleauthor:: E.R. Uber <eruber@gmail.com>
"""
#---------------------------------------------------------------... | [
"eruber@gmail.com"
] | eruber@gmail.com |
8707126656c4925ca4d8fbc116ad308a37a5d15e | 964b063c2461aad267ddd991fefaf7ab53b1ca94 | /7-kyu/remove-the-minimum/python/solution.py | 11722bbad1643eb8888c64bafc9b75e0de5391b9 | [] | no_license | lucasbflopes/codewars-solutions | 26c4e2cd1be19db50cc8c1d9fc117c51c82a2259 | 72ef2c02dde7bd0d5a691e04e3b2a383e892f84b | refs/heads/master | 2022-03-14T01:26:41.816498 | 2019-11-23T17:17:19 | 2019-11-23T17:17:19 | 114,834,447 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 267 | py | def remove_smallest(numbers):
if not numbers:
return []
else:
min = numbers[0]
for number in numbers[1:]:
if number < min:
min = number
numbers.remove(min)
return numbers
| [
"LucasBraganca@Lucas-MacBook-Pro.local"
] | LucasBraganca@Lucas-MacBook-Pro.local |
099b14a86ba198f540806d5016f59c4487c06bba | 9c4c0b01952e4c427d18a8313e2fb946a78dace9 | /forcefield.py | 12985961982adeddbc2a4af8e334c8bd370cbc18 | [] | no_license | marlinspike/Captain_Cosmo | 6b3b3e0ebda48d0dc0d447d0a655536192ab86a7 | 00d2a0423ca3ab0e05092b194af55fba6292f22d | refs/heads/master | 2022-04-25T03:43:57.992495 | 2020-05-01T22:43:03 | 2020-05-01T22:43:03 | 259,328,164 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 738 | py | import pygame
import random
import cloud
# Define the enemy object by extending pygame.sprite.Sprite
# The surface you draw on the screen is now an attribute of 'enemy'
class Forcefield(cloud.Cloud):
POWER_UP = 5 # Give Player 5 bonus health points!
def __init__(self, screen_height, screen_width):
... | [
"rcleetus@gmail.com"
] | rcleetus@gmail.com |
59286046da3a22e4b8f901dfac7e4065db049967 | 42a0760a051935b2e765d57c445235221a28f49e | /791_custom_sort_string.py | b4bb0b9295a5d278dee0a6d9d69b7aff5e664df3 | [] | no_license | Th3Lourde/l33tcode | 3bea3a3e7c633a2d5a36f7d76d5d776d275d8ee3 | eb6b11f97a022b66716cb3890cc56c58f62e8aa4 | refs/heads/master | 2022-12-22T19:05:04.384645 | 2022-12-18T19:38:46 | 2022-12-18T19:38:46 | 232,450,369 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,020 | py | '''
S and T are strings that contain lowercase letters.
S is composed of unique chrs.
S is sorted. Sort the characters in T that are in S.
If there are characters in T not in S, they can be
put anywhere in the resulting permutation.
Idea: go through all elements of T, put them in a dictionary.
We will want to keep t... | [
"th3sylvia.lourde@gmail.com"
] | th3sylvia.lourde@gmail.com |
ea94e1d2eacd4b3aa0cc48423aaf881932228f70 | 192c001fa61d30a3d04c4b6e6ec37c680e7f4b5f | /tags/ds002/SimuVis4/test/pendulum.py | 0e7cd620f78f86db396564850f8e1fa9f52150e9 | [] | no_license | BackupTheBerlios/simuvis4-svn | a9ee1d9d3df2ddc319ea33a56b2bed2197b82639 | df38c6205dcd37e005142e70d1cec9b4a541761e | refs/heads/master | 2021-01-22T04:49:19.550943 | 2009-09-12T20:38:51 | 2009-09-12T20:38:51 | 40,748,295 | 0 | 0 | null | null | null | null | ISO-8859-10 | Python | false | false | 5,329 | py | from PyQt4.QtGui import QGraphicsScene, QGraphicsLineItem, QGraphicsTextItem, QGraphicsItem,\
QGraphicsEllipseItem, QPen, QBrush, QColor, QMenu
from PyQt4.QtCore import QRectF, QPointF, QLineF, QTimer, Qt
from math import sin, pi
SimTools = mainWin.plugInManager.getPlugIn('SimTools')
Graphics = mainWin.plugInManag... | [
"jraedler@6b4c185e-cb43-0410-a2ac-e70e11b4cc95"
] | jraedler@6b4c185e-cb43-0410-a2ac-e70e11b4cc95 |
f00e73727670667a1e871603bb509b79a7a90568 | d190750d6cb34e9d86ae96724cf4b56a2f57a74a | /tests/r/test_saving.py | d5ffb1d760e2806452c3283ac3a9f4c3fa58f4c0 | [
"Apache-2.0"
] | permissive | ROAD2018/observations | a119f61a48213d791de0620804adb8d21c2ad9fb | 2c8b1ac31025938cb17762e540f2f592e302d5de | refs/heads/master | 2021-09-24T04:28:02.725245 | 2018-09-16T23:06:30 | 2018-09-16T23:06:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 510 | py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import shutil
import sys
import tempfile
from observations.r.saving import saving
def test_saving():
"""Test module saving.py by downloading
saving.csv and testing shape of
extracted data has 100 row... | [
"dustinviettran@gmail.com"
] | dustinviettran@gmail.com |
5e79356f6411aa050622b5d7ae6599060ea4d4b9 | c4cc5f6669bb9299f8bac8db5d2c4123d343ed0b | /Toolshare_Archive/Toolshare/urls.py | f8e2467f5c1a1d7170aed78b2977ec3149313cd2 | [] | no_license | rahulkshinde/ToolShare-Application | 5c77a4e223bfabe7cf5a8be180b408fe86c9f78e | 2d7ea7b0568cbc30589fe86014b357823e8f58be | refs/heads/master | 2020-05-17T19:15:30.767442 | 2015-03-06T04:47:52 | 2015-03-06T04:47:52 | 31,753,050 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 632 | py | from django.conf.urls import patterns, include, url
from django.contrib import admin
from Toolshare_Module.views import main_page,logout_page
import os.path
site_media = os.path.join(os.path.dirname(__file__),'site_media')
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'Toolshare.views.home', name='home'... | [
"rahulkshinde87@gmail.com"
] | rahulkshinde87@gmail.com |
ffb53cbbaeede0c4c7b2acc9d2712fa7beb0c0f2 | fe87ce15c7ce9445ccd84418836b94c5289f47cc | /project3/util.py | 4e683b6fb7d71b73af8a5bb158cb31df2e5fcbdb | [] | no_license | fragakos/PacMan-Project-AI-Berkeley | d3a0eec2c50f1aad1f924558fa9c794e0562e7f3 | b8a02ecf4c4583929ba6b6ddbf34bdd53d16e154 | refs/heads/main | 2023-05-28T00:07:52.744101 | 2021-06-19T13:06:35 | 2021-06-19T13:06:35 | 378,413,740 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 592 | py | import random
def first(iterable, default=None):
"""Return the first element of an iterable; or default."""
return next(iter(iterable), default)
def count(seq):
"""Count the number of items in sequence that are interpreted as true."""
return sum(map(bool, seq))
def argmin_random_tie(seq, ke... | [
"noreply@github.com"
] | fragakos.noreply@github.com |
ff00d05da25e1446f505c2ed77809db69766487e | 767a1b052d87ae5516ccf8226b1b6f88bef10c51 | /malariatool/dashboard/models/__init__.py | c77dbf2078d7ccd58041fbd9084beec6b54e23eb | [] | no_license | CHAIUganda/MalariaTool | 42947fed9e26a504b1c83b197529f3fb2e7cb387 | 4ed55449b32a427a673909950980b113fd7d4d91 | refs/heads/master | 2021-01-17T00:22:22.853910 | 2017-06-15T06:30:12 | 2017-06-15T06:30:12 | 45,996,827 | 2 | 1 | null | 2016-09-22T05:06:41 | 2015-11-11T17:13:55 | Python | UTF-8 | Python | false | false | 422 | py | from dashboard.models.district import District
from dashboard.models.document import Document
from dashboard.models.implementing_partner import IP
from dashboard.models.meeting import Meeting
from dashboard.models.members import Member
from dashboard.models.tasks import Task
from dashboard.models.user import User
__al... | [
"remosam42@gmail.com"
] | remosam42@gmail.com |
508dbae583648828a64b7eddde7cfceba622905e | c875f7cf8f8db606d8584d340557fe087ac551b8 | /collect_data.py | da2eb47ce8afe9fb3e0b7c4ca6a34cb9205127c6 | [] | no_license | teegreen18/LinuxProject | 5d2ee759fcf4e1cfc1830b5134cc2596dc836488 | a449d54fae5b210ffdfea583f7aabfc68d0328f3 | refs/heads/master | 2021-05-14T01:58:27.295227 | 2018-02-22T01:26:02 | 2018-02-22T01:26:02 | 116,581,544 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,370 | py | import gzip
files = ["Nat1993.gz", "Nat1994.gz", "Nat1995.gz", "Nat1996.gz", "Nat1997.gz", "Nat1998.gz", "Nat1999.gz", "2000", "2001", "2002"]
masterData = {}
usedCodes = []
# open the text file of superbowl winners
textFile = open("superbowl_winner.txt")
# for each line of the winners
for line in textFile:
# ext... | [
"asgreenb@mail.yu.edu"
] | asgreenb@mail.yu.edu |
c3636244af838d5b1667e676da749975190c65a5 | 5067a7c29deb7943e8b74e163b9690314300be1d | /api/resources/patient.py | 720f127c31bcf24f0ab868838bc5e0c5c6cb8acf | [] | no_license | Dimama/nutrition-report-backend | 0aa0f63c0bc37a48c2924dbc726123c33d1635f0 | 7d6be8c33d9b4b26cf4860f7528bc12310d6c6fd | refs/heads/master | 2020-06-14T12:26:13.774142 | 2019-08-24T18:47:39 | 2019-08-24T18:47:39 | 195,003,924 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 773 | py | from http import HTTPStatus
from flask_restful import Resource, reqparse
from flask import current_app, request
class Patient(Resource):
post_parser = reqparse.RequestParser()
post_parser.add_argument("name", type=str, required=True, location="json")
@staticmethod
def get():
patients = curr... | [
"citrus_m@mail.ru"
] | citrus_m@mail.ru |
0c056a6628998a8dee81f09c8ff8bf4f17b95073 | ed1165acc8937976142f00009df5a942c02dbd24 | /database.py | fe32b9a6206e5442caefce688ca62b803109ef8d | [] | no_license | Kha/shaderwall | 1cb116b41c36ef9b20e86bfe2e16aaf4bf24e164 | afac9d484fbee345500167cfc1e2edcf5c752b5c | refs/heads/master | 2021-01-15T12:30:50.704084 | 2014-12-28T21:23:54 | 2014-12-28T21:23:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,015 | py | from sqlalchemy import Column, ForeignKey, Integer, String, Text, DateTime
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
from sqlalchemy import create_engine
import datetime
from config import connection_url
import random
import string
def generate_authcode():
retu... | [
"lukas@schauer.so"
] | lukas@schauer.so |
421e055745647fb0d02f9e3bb4e32b0434a18201 | ebdcffd7f2bc014d07957b4809ca928661e0020b | /Problem 1.py | 24da361db43b171763082a8122d59b13194bb493 | [] | no_license | navyamote/Practical-Optimization | e66af264eefd62aa5ec77f54058ec389b13de3c2 | 7ae4b35e121ca1b2f31e724cf2e3582cbf7acee9 | refs/heads/master | 2020-04-04T05:18:17.109493 | 2018-11-01T16:16:21 | 2018-11-01T16:16:21 | 155,740,972 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,851 | py | import csv
from gurobipy import *
import sqlite3
#%% Load yeast supply and amount per beer type
Supply = {}
with open("Supply.csv", "r") as myCSV:
myReader = csv.reader(myCSV)
for row in myReader:
Supply[row[0]] = (int(row[1]))
#%% load hop supply and amount per beer type
profit = {}
with... | [
"noreply@github.com"
] | navyamote.noreply@github.com |
3bb703089a1858f0cce7eb7aa0cd1867a1c6ad42 | 0ad6516a5f65e6d30c574007bc1efe94b142caa7 | /jobs/admin.py | e026fae2d3a8b46b9b9c8439ad1a9b8af3dd6b0b | [] | no_license | monika-kh/port | e9a4a66e761cd52ccb6c770b28fcf1babe5f9e1d | 078adcede21bbe3f82caeeeee168ccf365e922e0 | refs/heads/master | 2023-04-28T09:41:56.212124 | 2020-03-31T17:37:13 | 2020-03-31T17:37:13 | 251,678,561 | 0 | 0 | null | 2023-04-21T20:53:56 | 2020-03-31T17:23:59 | HTML | UTF-8 | Python | false | false | 149 | py | from django.contrib import admin
# Register your models here.
from .models import Jobs, Apply
admin.site.register(Jobs)
admin.site.register(Apply)
| [
"khasdevmonika@gmail.com"
] | khasdevmonika@gmail.com |
0d97b7a0ec8e8b977b8369a64d5521329bae48f6 | 66c21d53a80f1ef1c53478b2c3aa2dc8ce8aed40 | /MODEL1310110044/model.py | 9e1259aa2a444fd57e70e89a3f234a8528b7fb5c | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | biomodels/MODEL1310110044 | a380b839eeb2c650ef712c65a47b46b77f589a02 | 18ca04fdc1bcae46976eb10e064fc7deed8297a4 | refs/heads/master | 2021-01-10T22:28:05.137897 | 2014-10-16T05:34:05 | 2014-10-16T05:34:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | import os
path = os.path.dirname(os.path.realpath(__file__))
sbmlFilePath = os.path.join(path, 'MODEL1310110044.xml')
with open(sbmlFilePath,'r') as f:
sbmlString = f.read()
def module_exists(module_name):
try:
__import__(module_name)
except ImportError:
return False
else:
ret... | [
"stanleygu@gmail.com"
] | stanleygu@gmail.com |
2160e87b55ae05a8679e74bdf72ae4a4de990797 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_lofts.py | 8a42b14b52f7fdd76fb42f78e75a7c6bdbbbc98f | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 214 | py |
#calss header
class _LOFTS():
def __init__(self,):
self.name = "LOFTS"
self.definitions = loft
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['loft']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
7f03e6648a2276ac0563039f20ed29c3515d2021 | c94f888541c0c430331110818ed7f3d6b27b788a | /ak_320bc483f2434f39a3af9ec9f04d3cc0/python/antchain_sdk_ak_320bc483f2434f39a3af9ec9f04d3cc0/client.py | 924c4fe29cce941b83d6292b00ebd148f377ec46 | [
"Apache-2.0",
"MIT"
] | permissive | alipay/antchain-openapi-prod-sdk | 48534eb78878bd708a0c05f2fe280ba9c41d09ad | 5269b1f55f1fc19cf0584dc3ceea821d3f8f8632 | refs/heads/master | 2023-09-03T07:12:04.166131 | 2023-09-01T08:56:15 | 2023-09-01T08:56:15 | 275,521,177 | 9 | 10 | MIT | 2021-03-25T02:35:20 | 2020-06-28T06:22:14 | PHP | UTF-8 | Python | false | false | 23,502 | py | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
import time
from Tea.exceptions import TeaException, UnretryableException
from Tea.request import TeaRequest
from Tea.core import TeaCore
from antchain_alipay_util.antchain_utils import AntchainUtils
from typing import Dict
from antchain_sd... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
1f1db4f74598d73398d94ebe32bee412abc75d53 | 88016ae7644ce4e9808d08c0af5681eca9f8e361 | /CYC1.2.5-oni$n (1).py | 92688f57b71edab3f4f5c1dacdcff3b97ca609d9 | [] | no_license | Jiss-Joss-42/PYTHON | 3f84d27ceadb49d92060dcb57edbc2a335e3c1d0 | 020a2eb7ee8e4fdfd14e716bcf4e20acfac7cb2b | refs/heads/master | 2023-06-12T20:24:39.350792 | 2021-06-30T10:39:23 | 2021-06-30T10:39:23 | 381,640,210 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 184 | py | name=input('Enter the string:')
char=name[0]
new=''
flag=0
for i in name:
if(i==char and flag>1):
new=new+'$'
else:
new=new+i
flag = flag + 1
print(new) | [
"20mp1702@rit.ac.in"
] | 20mp1702@rit.ac.in |
85ad7ac34743c5b99998dc605e68deb17287a64a | 7b3072ed2ba6295057452e1dc303e7629601b8c1 | /Svalbard/csv/PostExecution.py | 263038f381a69ec01753b8545a38cbca0c190da1 | [] | no_license | gksriharsha/Svalbard | 4cacdc9b08fc7dbe0971048512e37c03758a6d1e | 21d4802fc16ffe547c4864f339350fb3db6b157d | refs/heads/master | 2022-12-14T17:59:34.543425 | 2020-09-17T12:50:28 | 2020-09-17T12:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 887 | py | import pandas
KNN = pandas.read_csv('KNN.csv')
MLP = pandas.read_csv('MLP.csv')
QDA = pandas.read_csv('QDA.csv')
RF = pandas.read_csv('RF.csv')
GNB = pandas.read_csv('GNB.csv')
ABC = pandas.read_csv('ABC.csv')
results = pandas.read_csv('results.csv')
results1 = pandas.merge(KNN,results,on='eID',how='left')
res... | [
"51872746+gksriharsha@users.noreply.github.com"
] | 51872746+gksriharsha@users.noreply.github.com |
5a52c5a7942b88add0682b008aa3ca477303845b | c97623d0ce19b7c25d9751e66f993c969a8f896d | /fdbck_aggr.py | 3238a78219045582588bfa5257b9818d7be91a97 | [] | no_license | gobsyats/ML_Ride_Sharing | 87c957c99b334abc50bddcbe0ecb2e8a8ee5fc48 | a4a1e02eaf72535e5ab8b2e70521cddf985a55c4 | refs/heads/master | 2020-12-13T09:49:33.892821 | 2020-02-15T21:32:05 | 2020-02-15T21:32:05 | 234,377,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,833 | py | from dbconnection import db
import constants
import commons
def feedback_aggr(userQ):
commons.update_feedback_status(userQ)
for i in range(0, len(userQ)):
rate_chat_total = 0
rate_safe_total = 0
rate_punctual_total = 0
rate_friend_total = 0
rate_comfort_total = 0
... | [
"govindyatnalkar.com"
] | govindyatnalkar.com |
ad535eb6f22506b32d9a5e054365c10021aeb1a3 | 351c5eb41e6ec58ae918549d6fb19b10e2349201 | /代理/西刺代理2.py | 5d72b0cdaf57461fe0f0776b6d200450e09bfc5f | [] | no_license | snails-za/Spider | e6440340367f6473262816dad2a6dcd08ca8f459 | a0fd41dae468fc29bb03d300d71c3df6e41449c2 | refs/heads/master | 2020-08-03T02:52:32.820640 | 2019-11-05T09:27:06 | 2019-11-05T09:27:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,134 | py | from bs4 import BeautifulSoup
import csv
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time
class GetIp(object):
def __init__(self, url, path, page):
self.chrome_options = Options()
self.chrome_options.add_argument("--headless")
self... | [
"wangjuchn@outlook.com"
] | wangjuchn@outlook.com |
8c29c649b3978019eeed3be8f5dc569bdb79d861 | b256c0cb9a14569d06c68bc239271b1567186862 | /bitcoin/contrib/devtools/update-translations.py | b70122e267639eeff26e90e58cd8d3c783a9c5a3 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | drive-by-developer/Hello | 997c2554b3f57ea18438b4693e53ef25d54ed8a3 | a624b159aa5fba88b1fe943cb4c49a27b4ad79fc | refs/heads/master | 2020-06-02T18:18:22.695262 | 2019-06-23T22:09:54 | 2019-06-23T22:09:54 | 191,262,746 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,461 | py | #!/usr/bin/env python
# Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Run this script from the root of the repository to update all translations from
transifex.
It will do th... | [
"sokane@bowmain.com"
] | sokane@bowmain.com |
8a7d66dd1a312130871abbbf376b538ce92e6597 | 3f433cc65bea391674d9e7a237af6f46b19eb0b7 | /scripts/01_data_prep.py | 0587b6417d2f14655e5f151ae5812f0dbfe919d5 | [] | no_license | AchimTack/emma_radar | a27aab03d3e60b41b5b5f8437dda4546286d26e1 | 9ae59be28b86de7a926b9b4c76dc7921c128c672 | refs/heads/master | 2020-03-16T22:56:58.008548 | 2018-07-03T20:20:45 | 2018-07-03T20:20:45 | 133,058,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,126 | py | # -*- coding: utf-8 -*-
import cv2
import numpy as np
import os
from subprocess import check_output
from PIL import Image, ImageFilter, ImageEnhance, ImageDraw, ImageOps
def frames_to_video(inputpath,outputpath,fps):
ffmpeg_path = r'E:\Profil\Downloads\ffmpeg\bin\ffmpeg.exe'
cmd = ffmpeg_path +' -ss 00:00:00 -... | [
"achim.tack@gmail.com"
] | achim.tack@gmail.com |
f72c72a26830e7baac65cdabeb0c5fb74d4e1162 | 59faca1d2df8d60c3c012a0e1aef6e9dc0182030 | /product/urls.py | a545333e9857b07e32f2db768951034b7bd9c22f | [] | no_license | pakruslan/e-commerce-heroku- | 4dfbffb1c8f1cc8955c17f182292a593fc4f349f | 89803ceafcb3db6d90f7b06e1cda2bcc6e2102e6 | refs/heads/main | 2023-02-20T10:15:43.909761 | 2021-01-21T14:19:50 | 2021-01-21T14:19:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 887 | py | from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import CategoriesList, ProductViewSet,CommentCreate
router = DefaultRouter()
router.register('', ProductViewSet)
# products = ProductViewSet.as_view({
# 'get': 'list',
# 'put': 'update',
# 'patch': 'partial_... | [
"parkruslanztoh@gmail.com"
] | parkruslanztoh@gmail.com |
3e8087f0c76fb300a58687be1be04060a5486a08 | e66fa131cff76fa3fe70e7b6649fa1332159c781 | /ch10/statisticsModule.py | 457ed3ce44eb38e2f21007c4ca924d22a6b5f722 | [] | no_license | chc1129/python_tutorial | c6d97c6671a7952d8a7b838ccb8aa3c352fa6881 | 2f8b389731bafbda73c766c095d1eaadb0f99a1c | refs/heads/main | 2023-08-24T07:00:43.424652 | 2021-10-28T16:07:57 | 2021-10-28T16:07:57 | 341,532,732 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 160 | py | import statistics
data = [2.74, 1.75, 1.25, 0.25, 0.5, 1.25, 3.5]
print(statistics.mean(data))
print(statistics.median(data))
print(statistics.variance(data))
| [
"chc1129@gmail.com"
] | chc1129@gmail.com |
c4a8cd354d040c15afd379aff695a191ded6cdc5 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/verbs/_redistributing.py | 7376d9ca1ac4caa9854da9d4a805a8cb3a3c1b21 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 282 | py |
from xai.brain.wordbase.verbs._redistribute import _REDISTRIBUTE
#calss header
class _REDISTRIBUTING(_REDISTRIBUTE, ):
def __init__(self,):
_REDISTRIBUTE.__init__(self)
self.name = "REDISTRIBUTING"
self.specie = 'verbs'
self.basic = "redistribute"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
55ae7aff38de7e3610ef93f74dc78f97b36d711b | a32c72919eb833a782bd51f561f35f292b72ac4c | /supertool/src/tests/test_for_funtion_file_finder.py | bea96a5540652105f91c22671b4dfc393fe95d3e | [] | no_license | Goopard/Study-2 | d1d3a82d3859a4a0ce1d977250ce47f9ab3cc853 | 023307a9b7f7f8dbb1589e222e794e128f1f365b | refs/heads/master | 2021-04-12T11:48:26.292012 | 2018-06-29T08:37:43 | 2018-06-29T08:37:43 | 126,812,884 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,497 | py | """
This is a unittest test suite for the function files_finder in the module similar_files_finder.
"""
import unittest
import os
from supertool.similar_files_finder import files_finder
PATH = os.path.abspath(os.path.dirname(__file__))
class PositiveTests(unittest.TestCase):
"""
This test case contains the... | [
"nick.amirkhanov@gmail.com"
] | nick.amirkhanov@gmail.com |
abb1fe78c461abcc5026e2e8f5147c44e493be61 | 7951305b50a17c6c76040f914a1815f381d1ba97 | /tests/test_intelora.py | 0b6379e49c715ddf20b1f80605d0840013d9b9e6 | [
"MIT"
] | permissive | chwalters/core | 47763659dbe267fd5d91f24a93569a99df22e31d | 50812886149f46ea8d1be19f7311490891a8e29f | refs/heads/master | 2021-04-30T13:29:29.815223 | 2018-01-25T19:41:46 | 2018-01-25T19:41:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 101 | py | #!/usr/bin/env python
# coding: utf8
import intelora
if __name__ == '__main__':
intelora.main()
| [
"paulquinit@gmail.com"
] | paulquinit@gmail.com |
2e1950208c396caa783e2086556d24dc0a74730d | 05ba11e9f178328dbb3c304668ab7ab95172ee62 | /core.py | 753a323e88d542f642802647c0f2ed5676a473f7 | [] | no_license | sawyer-c/CSCE470-project | 833340f3f02a78bac449aeffee4a1dd5c52187bc | 2fac23108904c33294de86f8e4b673550d59c67c | refs/heads/master | 2023-01-14T22:13:22.542117 | 2020-11-18T03:33:12 | 2020-11-18T03:33:12 | 300,930,760 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,386 | py | """
VSM is the core query-ranking algorithm for is-that-a-supra
"""
import os
import sys
from collection import Collection
import copy
import json
collect = None
class VSM:
"""
VSM Class
"""
queryWords = []
ds = None
collection_length = 0
Weights = {
"title": 0.8,
"body": 0... | [
"sawyer_cowan818@yahoo.com"
] | sawyer_cowan818@yahoo.com |
119d98cbfe961151ff8f55209511e83d900e5f00 | 781e2692049e87a4256320c76e82a19be257a05d | /all_data/exercism_data/python/point-mutations/80163ab58f714c95a8b2ee96815a1fcb.py | 1d9ab6a4040ca28d3ccf3327a89a15e4fdbfb616 | [] | no_license | itsolutionscorp/AutoStyle-Clustering | 54bde86fe6dbad35b568b38cfcb14c5ffaab51b0 | be0e2f635a7558f56c61bc0b36c6146b01d1e6e6 | refs/heads/master | 2020-12-11T07:27:19.291038 | 2016-03-16T03:18:00 | 2016-03-16T03:18:42 | 59,454,921 | 4 | 0 | null | 2016-05-23T05:40:56 | 2016-05-23T05:40:56 | null | UTF-8 | Python | false | false | 210 | py | class DNA(object):
def __init__(self, strand):
self.strand = strand
def hamming_distance(self, strand):
return len([(x,y) for (x,y) in zip(strand, self.strand) if
x != y])
| [
"rrc@berkeley.edu"
] | rrc@berkeley.edu |
1d701f6ec8a51f9267c104cae206cd63a9a418dd | 308dbe988649bf2bdc21e65ea1546165675bd6f1 | /bin/showstopwatch | c0cb01983c0526161a695ec4ee2dbc648fd5a4b4 | [] | no_license | julie777/user_environment | 0ca424f8bf2bccc16959ef28821b34841232ca6d | 746c4516eaa1b801cb2f052969bc39c0737a460c | refs/heads/master | 2021-01-19T06:53:29.415289 | 2015-12-30T19:26:31 | 2015-12-30T19:26:31 | 42,820,337 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 195 | #!/usr/bin/python
import sys
import pickle
info = pickle.load(open(sys.argv[1]))
bytime = [(t, n) for (n, t) in info.items()]
bytime.sort()
for t, n in bytime:
print '%6.2f %s' % (t, n)
| [
"julie.jones@movenetworks.com"
] | julie.jones@movenetworks.com | |
6619ecbf5ce70002cdfdedb21633647ee067064e | 3d8aae8aa43e0fbd8a8cffc4fa2cd67419059d66 | /module_PyQt/xtest/test_echo_array.py | 33ca00c7a33595dfb60b15d778273c5fa491ec50 | [] | no_license | onitonitonito/k_mooc_reboot | b8273b7e9fa3fc5958bca57c39f2f3a9108964f1 | 68c8c6a94adc99005fb0fc8c38c416f902d37888 | refs/heads/main | 2021-07-21T22:32:26.080330 | 2021-07-04T02:22:08 | 2021-07-04T02:22:08 | 109,581,972 | 0 | 0 | null | 2020-05-05T22:28:26 | 2017-11-05T13:30:03 | Python | UTF-8 | Python | false | false | 945 | py | """
# how to stack echo file
"""
print(__doc__)
import random
import _add_syspath_root
from assets.config import dir_statics
from string import ascii_letters
SYMBOLS = [sym for sym in "!@#$%^&*()_-+=,.?/|;:{}~{}" + ascii_letters]
RANDOM_START = (0, 39)
RANDOM_END = (40, 78)
LINES = 50
REPEAT = 10
FILE_NAME = dir_st... | [
"nitt0x0@gmail.com"
] | nitt0x0@gmail.com |
0fd11a4dfafdc5db0041929e7300c6f3c2bac9da | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /oepiudBYC7PT7TXAM_12.py | b4db6ac9bfd7b1baa70fc45eadc33d11817f752d | [] | 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 | 203 | py |
def parse_roman_numeral(num):
d = {'M':1000,'D':500,'C':100,'L':50,'X':10,'V':5,'I':1}
return sum(d[num[i]] if (i+1 == len(num) or d[num[i]]>=d[num[i+1]]) else -d[num[i]] for i in range(len(num)))
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
bf4d638465250a538af5ac031e32f9596dbd63e1 | 4b773103a5000a0a980739dd65426878c90dc098 | /core/models.py | 9e45dbcac258c6b24c9a9cf4ee079215ea16be1f | [] | no_license | gpchelkin/grading_system | 6ef693a89700fb86ce9567e33f697fb529c34297 | e34f85fd1d9ac6bad892222d68516bbab5d7cf23 | refs/heads/master | 2020-06-15T07:10:27.193190 | 2016-12-20T14:12:32 | 2016-12-20T14:12:32 | 75,315,919 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,319 | py | # coding=utf-8
from django.contrib.auth.base_user import AbstractBaseUser
from django.contrib.auth.models import AbstractUser
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
from curriculum.models import ClassesType
SEMESTER_CHOICES = (
('1', '1'),
('2', '2... | [
"a.s.maratkanov@gmail.com"
] | a.s.maratkanov@gmail.com |
39fa71b52214a84429c1e12d21c534e2b0f13a00 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/102/usersdata/195/49999/submittedfiles/av1_2.py | aa7d3b44f7edf2b0de15cd659ec5a4cc9d377f3f | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | # -*- coding: utf-8 -*-
import math
a=int(input('digite a :'))
b=int(input('digte b:'))
c=int(input('digite c:'))
d=int(input('digite d:'))
if a!=b and a==c and a!=d:
print(V)
else:
print(F)
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
9fc7c0fb661c838d8ed43c5899f833e89753914b | 032c8143b7a7e1d859164aacc81a98a39a2dafbb | /cloudKanal/web/migrations/0011_auto__chg_field_usercredentials_token_kanal__chg_field_usercredentials.py | 7c6cdff257ad7ccff448e331f5b99ea3397c80c2 | [] | no_license | dethos/cloudKanal | 0b6b4d505657f37839ab43e177c5ef851d105353 | 0c1484f8e9e46900433d4a9c3a739e288992d629 | refs/heads/master | 2020-05-20T11:52:26.162914 | 2014-04-13T00:30:29 | 2014-04-13T00:30:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,947 | py | # -*- coding: 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):
# Changing field 'UserCredentials.token_kanal'
db.alter_column('web_usercredentials', 'token_kanal', self.g... | [
"dethos@worknix.(none)"
] | dethos@worknix.(none) |
c4ea0a8154024f7e95ffa9605300406c7e7de34f | e1b8fb9a5500516f28d3d7e9a5f259c49ef35f14 | /top/api/rest/UserGetRequest.py | b3bd7048fb45379401d4afc382aa2472248e42f6 | [] | no_license | htom78/taobao_comet_py | 9224dbca1a413a54bcc5569873e4c7a9fc9ba059 | ad8b2e983a14d3ab7665244449f79dd72f390815 | refs/heads/master | 2020-05-17T10:47:28.369191 | 2013-08-27T08:50:59 | 2013-08-27T08:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 312 | py | '''
Created by auto_sdk on 2013-06-16 16:36:02
'''
from top.api.base import RestApi
class UserGetRequest(RestApi):
def __init__(self,domain='gw.api.taobao.com',port=80):
RestApi.__init__(self,domain, port)
self.fields = None
self.nick = None
def getapiname(self):
return 'taobao.user.get'
| [
"tomhu@ekupeng.com"
] | tomhu@ekupeng.com |
9a8e84ef6d87a09c15df0221f95c9ccc202aa040 | f8a58ae93ff78c59296a136dff721c5ef666790b | /Starting small/Sorting a list using the sort- method.py | 4d32bda30c9c7681623df56368518f88d0b25c23 | [] | no_license | Anthonymcqueen21/Python-Programs | cb116b36e3c774ef51dba7f1fd29561767f89c7f | 127d5cbab4e7a2d0009d65075508cbaf5a6b6dc2 | refs/heads/master | 2021-06-26T18:03:30.212592 | 2017-09-15T19:59:21 | 2017-09-15T19:59:21 | 79,636,950 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 84 | py | cars = ['Ford', 'Subaru', 'Mitsubishi', 'Nissan', 'Pontiac]
cars.sort()
print(cars)
| [
"noreply@github.com"
] | Anthonymcqueen21.noreply@github.com |
3334657705d3e06d721c07f1692f621f47e03800 | e6193d278656d95d3ebd1eb0571b0ec7819e4713 | /venv/Scripts/pip-script.py | 871502d6fb727744287e25e4f55132b247d554a7 | [] | no_license | Mariaviktoria/WEco_Rules | 484c3e2bbb08597e912f0f8ea7169d6ac92bfdee | c4b8d9b2e9733038492bf8e9b47cc31033c8da38 | refs/heads/master | 2020-12-02T23:54:38.562139 | 2019-12-31T23:33:56 | 2019-12-31T23:33:56 | 231,156,409 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 422 | py | #!C:\Users\14152\PycharmProjects\GEco_data_analysis\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip'
__requires__ = 'pip==19.0.3'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',... | [
"mariaviktoria@protonmail.com"
] | mariaviktoria@protonmail.com |
7ab36b46df22d0fe28279e097014d6025494b1ec | fbf54c792a24d2448a63e8ce0882551554f3df2a | /venv/bin/decrypto | fb0bdfe363d374dfd440f83553c9ecabdea069ad | [] | no_license | hishivem/SB | c29a31fb5d000d45777f10439e5db45e2f96b243 | b0ddd4aa03a2cf2dc23590edf1abca49b04bf3ce | refs/heads/master | 2021-07-06T00:22:24.852511 | 2017-09-29T06:49:26 | 2017-09-29T06:49:26 | 105,238,789 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 273 | #!/Users/shivamtiwari/Desktop/projects/web-projects/SB/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from crypto.decryptoapp import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"shivam@bigdrop.io"
] | shivam@bigdrop.io | |
d3e870194e1dcf7d3ff7420e48388f11616454ff | 6b500ff5aaad1219b297feaf911ae0b5eb7b405f | /hello.py | d41d4003759bc47eadd19ed2bf85be6e617bf8db | [] | no_license | logicba/pythonFunction | 7b49171cc03736f65535b48bacb90fc2a93352f0 | 7e3da16d112ca47d576a74bbe51b346b556e75cf | refs/heads/master | 2022-04-16T10:44:29.663257 | 2020-04-14T02:48:35 | 2020-04-14T02:48:35 | 255,491,232 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 438 | py | # buil function without return
def hello(name):
print("Hello %s" %name)
# hello("ddd")
# build function with return value
def areas(width, height):
return width*height
# print(areas(10, 30))
def area_circle(pir = 10):
return pir**2
# print(area_circle(2))
def showinfor(name, salary=0.00, lang="not ... | [
"thanachot.p@attg.co.th"
] | thanachot.p@attg.co.th |
03d09fcae43eb5603464e2b51b3482b57423255c | d7c11c731fd22b68f41d509777c077650748aaed | /simulate_edit_scores.py | bf549df57b52eee78e86c2ed3c564b468f696c70 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | chris-klinger/Rediting | 7dde49c821ac41eab6215715f37cb1f66292e966 | 3887c3107973879c0bbdbaa8a562d1a9e75b76de | refs/heads/master | 2020-12-25T22:06:48.834167 | 2016-11-13T14:47:19 | 2016-11-13T14:47:19 | 26,454,813 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,355 | py | #!/usr/bin/env python
import os
import re
import sys
import argparse
import subprocess
import scipy.stats as st
from rediting.classes import classes
from rediting.util import files, sequence, strings, rmath
parser = argparse.ArgumentParser(
description = """Simulates an equivalent number of edits with similar
... | [
"cklinger@ualberta.ca"
] | cklinger@ualberta.ca |
aa9043d32112f48f44454ef11cc5e8715ec14cc7 | f320d83c1b6f4854cb808a17a2dbb8827051636e | /setfreq/ParaSetTest.py | d9afb304b9f8f27e4bf782ec4f1758761566c8d9 | [] | no_license | JiahuiSun/Digital-Signal-Analyzer-based-on-SDR | f5214f2b2b36d4a24896f7d0c4a712979c236fd0 | 1e57dbb9cfcec7c0cb0a3f2335f3e68ecd2694d6 | refs/heads/master | 2020-04-04T19:50:16.131461 | 2018-11-06T12:51:42 | 2018-11-06T12:51:42 | 156,222,484 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | import ParaSetCliSock
import time
f1 = 1500
f2 = 1600
##while True:
ParaSetCliSock.set_param('rx_freq',f1)
##time.sleep(5)
ParaSetCliSock.set_param('tx_freq',f2)
##time.sleep(5)
| [
"you@example.com"
] | you@example.com |
bc64cafa540afe7d0974313414e6405d4e827997 | b252c9dc69946c153e0b30595675ac1704fac6b3 | /mitsuba/operators/__init__.py | 52be33fb414462dfbcf44f7650cc067a676f3437 | [] | no_license | mcrescas/BlenderExporterM1 | d2a9e86b7f23b72ad1c32187101907acd9e817be | 65c93c42355b1a9af94766d2c256cee486586c97 | refs/heads/master | 2023-01-03T07:51:27.533508 | 2020-10-21T17:44:24 | 2020-10-21T17:44:24 | 306,099,429 | 6 | 1 | null | null | null | null | UTF-8 | Python | false | false | 23,831 | py | # ##### BEGIN GPL LICENSE BLOCK #####
#
# This program 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; either version 2
# of the License, or (at your option) any later version.
#
# This program is distrib... | [
"mcrescas@gmail.com"
] | mcrescas@gmail.com |
841d0623753187762ebd5e0a2f3cad979312f16f | 992816021cb79580e9c739ca2650fe9bc83829bd | /medapp/currency/models.py | 30c3910572447b113b2edda7e7c960c705ad820d | [] | no_license | etiennekruger/medapp-api | 096de56dc523425981b48c6d80930bb3df799639 | af9232f548db28e6716c0a14e38b44dcb9b57690 | refs/heads/master | 2020-04-18T22:58:35.859694 | 2012-07-16T06:17:17 | 2012-07-16T06:17:17 | 5,150,748 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 337 | py | from django.db import models
class Currency(models.Model):
name = models.CharField(max_length=255)
rate = models.FloatField()
updated = models.DateTimeField(auto_now=True)
class Meta:
ordering = ['-updated']
verbose_name_plural = 'Currency'
def __unicode__(self):
return '... | [
"makhonin@steelkiwi.com"
] | makhonin@steelkiwi.com |
21ba385027206fad2d73ea56835fda8d207a2dc7 | 476ed411c7b17cac10d8dedc99fd2c36d14e5702 | /apps/contact/views.py | 947dafbc031411957e3337e741469e3566b6213f | [] | no_license | Vivekpattankude/Project_Jnv | 9c3d2cdc5b4fb91b05556a453e6ebf585618ebf7 | c1cbf2550bf27b95eaffd6bd51cd939e1e0e13f4 | refs/heads/master | 2023-03-03T15:45:34.669087 | 2021-02-17T08:07:41 | 2021-02-17T08:07:41 | 339,646,645 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 401 | py | from rest_framework import generics
from .models import Contact
from .serializers import ContactSerializer
# Create your views here.
class ContactList(generics.ListCreateAPIView):
queryset = Contact.objects.all()
serializer_class = ContactSerializer
class ContactDetail(generics.RetrieveUpdateDestroyAPIView):
... | [
"vivekpattankude@gmail.com"
] | vivekpattankude@gmail.com |
42707950a70d07db29f7eef43d2b80c2f33b1dd0 | d511add59498ec6b99e4bfc9220d7bf4d1d8d2c0 | /speech_emotion_recognition/__init__.py | e5be3980824276f85cf77330a585ceb2d6c86cf1 | [
"MIT"
] | permissive | lalitpagaria/speech-emotion-recognition | 16e42a2941fa8b81f2603c9580b9c8bd2fd415a7 | ae317f8ce12ea85216d073d75ef9112aa7085af0 | refs/heads/main | 2023-05-27T18:20:29.960173 | 2021-06-09T18:36:17 | 2021-06-09T18:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 177 | py | # -*- coding: utf-8 -*-
"""Top-level package for speech_emotion_recognition."""
__author__ = """Lorena Ciutacu"""
__email__ = 'lorena.ciutacu@gmail.com'
__version__ = '0.1.0'
| [
"lorena.ciutacu@gmail.com"
] | lorena.ciutacu@gmail.com |
7d8601eda121d7c6e3d5a5e6b114be4e588a9fe4 | 2d718123228bb5ee314dd865af2e26255afc34ce | /building_user.py | 30ccba71654de63092717030a36d437d0f150409 | [] | no_license | Appleriot/Appleriot | ee3ab34b84d6eab73a168dc913456827f098493f | c4a609aa09ac39b70c6a8d1871f171c73a4f8f79 | refs/heads/main | 2023-04-02T16:34:29.648857 | 2021-04-01T03:15:33 | 2021-04-01T03:15:33 | 349,128,488 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 367 | py | def build_user(first, last, **user_info):
"""Making a dictoary for everyting we know about the user"""
user_info['first_name'] = first
user_info['last_name'] = last
return user_info
user_profile = build_user('jeff', 'steven',
location = 'New York',
... | [
"noreply@github.com"
] | Appleriot.noreply@github.com |
af021dc3b16f238ccfc0695ba36ec85629fede58 | 552f65e2be6b26ee9afcfb1e3082119a9e84613b | /laminar_uecog_viz/plot_trials.py | e0a9a724ad2a418418a41524ea0329b82165925d | [] | no_license | izzy-baldacci/laminar_uecog_viz | 6acbb515193f43362b44d89afe700358d673bc76 | 12805ab504ceed534a096c246c2750542fd9ae1e | refs/heads/main | 2023-08-17T05:24:29.970258 | 2021-09-28T19:55:04 | 2021-09-28T19:55:04 | 372,962,241 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,568 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 17 14:31:36 2021
@author: vanessagutierrez
"""
import numpy as np
import matplotlib.pyplot as plt
from laminar_uecog_viz import utils
def plot_trials(trials_dict, fs, channel, stream, fig = None, ax = None, labels = True):
'''
Plot data t... | [
"vanessagutierrez@Vanessas-MBP-2.attlocal.net"
] | vanessagutierrez@Vanessas-MBP-2.attlocal.net |
9ac7df980aa5f2f9bc537875df269a5a1c0c169b | a6a1ff3efe146a6c2abd7e84f0cba877fb16650a | /app.py | 46356370d1938af6ff9ce74601aecde20497d0be | [] | no_license | spakry/employeePayroll | f589f559c587defccef8bd6ef3ecc9dd3ad27e21 | 0cf81aaac2cf7b8eb14905af856b37a8fc052195 | refs/heads/master | 2022-11-08T09:27:56.937675 | 2020-06-28T21:43:09 | 2020-06-28T21:43:09 | 275,672,824 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,247 | py | from flask import Flask
import sqlite3
import json
from flask import request
from DatabaseRepository import DatabaseRepository
from WorkCalendar import WorkCalendar
from PaymentPeriod import PaymentPeriod
from WorkDay import WorkDay
import io
import csv
from datetime import datetime
app = Flask(__name__)
def store... | [
"40432723+spakry@users.noreply.github.com"
] | 40432723+spakry@users.noreply.github.com |
7546a20356c2789dccaf42259731b41a8703b419 | 34a6d88518edb4eedc3d6cbaae1bca5894be2c6b | /Tester/generateTestCases.py | 81ffcbd076b65709cdb8529aed0defe04dbc47f2 | [] | no_license | DivyanshRoy/CryptographyProject | 60178bbf4fc778df12966f0360c660045840676f | 511b7259975c425a1f03fa5aaa95a43e75e9b706 | refs/heads/master | 2021-06-21T23:30:29.031857 | 2020-04-26T22:16:55 | 2020-04-26T22:16:55 | 254,508,536 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,317 | py | from EllipticCurveArithmetic import EllipticCurveArithmetic
from EllipticCurveCryptography import EllipticCurveCryptography
from Helper import Helper
from Key import Key
from Point import Point
import random
import string
'''
generateReferencePoint: Generate Base point for elliptic curve
Input:-
curvePoints: List o... | [
"noreply@github.com"
] | DivyanshRoy.noreply@github.com |
6a6ff552bf855e00538bea1b05ce78d1dd65218e | 5e779c83b9f83dbff43c74019c5b1be6acd516e5 | /pages/migrations/0003_auto_20180224_0755.py | cd94863a8490c8fc84c7fdbe1b0ad3583d441ecd | [] | no_license | treetrnk/webauthor_django | 5f9ab43b314bd25cc4104f9716e12b9b75277475 | 6352f141bb9af171082d97532a3b32d5820f3e55 | refs/heads/master | 2021-04-29T12:26:44.812170 | 2019-03-29T01:22:09 | 2019-03-29T01:22:09 | 121,729,210 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 375 | py | # Generated by Django 2.0.2 on 2018-02-24 07:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pages', '0002_auto_20180223_1212'),
]
operations = [
migrations.AlterField(
model_name='page',
name='pub_date',
... | [
"nhare330@gmail.com"
] | nhare330@gmail.com |
343a5cf32be317bf0f4477729ccad331859d452b | 337ecb5a9ee4dd749f68e6a4390aa2d45f75fc29 | /src/message/sv_ack.py | 5d39c34a9e385560c603984ca6205404fd5da5b1 | [
"MIT"
] | permissive | the40san/unity_survival_shooter_multi_server_python | 63ced2bddf643b4ec0d8795d73927c8b6ccbb1ff | d20d9aa2204bca70d0787acbfe395277b776e92d | refs/heads/master | 2021-01-19T07:09:44.405314 | 2017-04-10T01:21:39 | 2017-04-10T01:21:39 | 87,527,240 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 474 | py | from message.sv_response_base import SvResponseBase
from server_resource.resource_manager import ResourceManager
import struct
class SvAck(SvResponseBase):
def __init__(self, cl_request):
super(SvAck, self).__init__(cl_request)
self.message_id = 200
def payload(self):
new_message_id = ... | [
"masashi.akisue@aktsk.jp"
] | masashi.akisue@aktsk.jp |
7d46ff4f65c01ff16a50ee846e634582f88c90c5 | bd2332a4c1474978c9a803c828f3f98c56aefbea | /RosalindBioinfoStronghold/TranlateRNAIntoProtein.py | a7a6a42f76ad36b3f08b8fa31aacbfd3b9068ce0 | [] | no_license | mBiocoder/Rosalind-Solutions | 48cba21c72e10e0b9efd2073c35ed470f58ad406 | 04d5dfd1385ca09087352e2e4141ac0a27972698 | refs/heads/main | 2023-07-16T16:13:07.671792 | 2021-08-23T09:40:23 | 2021-08-23T09:40:23 | 394,922,398 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,002 | py | #!/usr/python
import sys
#Variante 1:
with open(sys.argv[1], "r") as f:
mRNA = f.read()
#Variante 2:
#mRNA = input("Enter your mRNA string here: ")
"""
In case -not needed for this exercise though-here is the code to build the anticodon of a given MRNA string
anticodon = ''
for base in mRNA:
... | [
"noreply@github.com"
] | mBiocoder.noreply@github.com |
648b2e6c3dc5712efb98a8d34c48b62e580708ca | d31c124efc456c781d3e5832d8dfcb8efbb5fcbb | /masakariclient/client.py | 586b2f84475981e1dd76c57c96c2c73ce9da18dc | [
"Apache-2.0"
] | permissive | suichangyin/python-masakariclient | e72de83e924ca978aa3df97c93306229a17628b5 | 5514d903242845f4b6cd84653382564ee3a9dc42 | refs/heads/master | 2022-04-18T17:43:27.369556 | 2020-04-20T07:54:35 | 2020-04-20T07:54:35 | 257,209,456 | 0 | 0 | Apache-2.0 | 2020-04-20T07:51:25 | 2020-04-20T07:51:24 | null | UTF-8 | Python | false | false | 989 | py | # Copyright(c) 2016 Nippon Telegraph and Telephone Corporation
#
# 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 applic... | [
"niwa.keiji.z03@as.ntts.co.jp"
] | niwa.keiji.z03@as.ntts.co.jp |
f7879553b2343e52e7de9b9e85892b6ed0d2c3dc | b8d7b895e567910f7bf52dd81e461b0213e198de | /snapupTK.py | 054716d14b290bdddd23d77e942a13324a9b7114 | [] | no_license | Frelofee/wystock | 33069db6d90b7813fa40bc2aaec40643cff54549 | cfd4cc04e5e2fb3eae17c7f15b1c2b900f721796 | refs/heads/master | 2023-05-01T15:29:42.003416 | 2021-05-18T09:49:07 | 2021-05-18T09:49:07 | 344,992,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,473 | py | # 王琰的python编写
# 开发时间:2021/4/12 16:14
import time
from selenium import webdriver
import lxml
import re
driver = "C:/Program Files (x86)/Microsoft/Edge/Application/msedgedriver.exe"
Edge_driver = webdriver.Edge(driver)
url = "https://www.damai.cn/"
Edge_driver.get(url)
# 登入
Login_1 = Edge_driver.find_element_by_class... | [
"631538973@qq.com"
] | 631538973@qq.com |
cebad1c6a0121db1ae0ef8d8ab46cc51667f8fe5 | 717772b5966e69a2e399f0761a4700117e63f220 | /py/prog3-14.py | d241c5652bc509432143d64f7cb94a461b0d31c8 | [] | no_license | ppbook/Introduction_Chapter3 | 148623ad0ad386f6bdf76f8a02ac4e28ee4ecf6b | e49cbf452aecc33da601020f0b25d09f00c31e1a | refs/heads/main | 2023-06-07T09:52:06.827964 | 2021-06-28T10:23:50 | 2021-06-28T10:23:50 | 342,768,883 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,534 | py | # -*- coding: utf-8 -*-
"""prog3-14.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1AfgzyJIlo40t0Ak6PdQAD6uqRRQaWr4P
"""
from google.colab import files
files.upload() # kaggle.jsonをアップロード
!mkdir -p ~/.kaggle
!mv kaggle.json ~/.kaggle/
!chmod 600... | [
"sayonari@gmail.com"
] | sayonari@gmail.com |
0dc26461ca8e3faa6cc601c2dede0311b213a0b3 | ff8c6beadc2e6dc8e0a27d7978d4589044033142 | /mypro/Task_manager/migrations/0007_auto_20180627_1206.py | d7d60257e2c552da7b645a96a588459adc5b8af8 | [] | no_license | parameswaranxyz/Taskmanager | 472f4f96a9b473ceefead7fcba8613e1d6a5afd0 | 94fdcc7a059e1e45c085faab768725e8b1a50a94 | refs/heads/master | 2020-03-21T15:11:58.249279 | 2018-06-29T11:20:00 | 2018-06-29T11:20:00 | 138,699,251 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 518 | py | # Generated by Django 2.0.6 on 2018-06-27 12:06
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('Task_manager', '0006_auto_20180627_1203'),
]
operations = [
migrations.AlterField(
model_name='... | [
"parameswaranxyz@gmail.com"
] | parameswaranxyz@gmail.com |
14508270be8b07d9b3b288f9927ed3de53e03151 | cf89dc96a0d9d961fa79b4816a84ede2985cee52 | /python-docker/flask-app/web/app.py | 475dc9fb22c837a607c938e8aead495c2b679f7b | [] | no_license | roncat/hellodocker | 274517abd8ed6f1be7b8d3477dada10451abadc8 | ebb26347b343b6b0379cc9e299ad9c40bfb1ae06 | refs/heads/master | 2021-01-13T02:55:12.030435 | 2017-03-21T17:56:08 | 2017-03-21T17:56:08 | 77,089,306 | 1 | 0 | null | 2017-03-15T02:47:13 | 2016-12-21T22:02:47 | Java | UTF-8 | Python | false | false | 195 | py | from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello Docker from Python Flask!'
if __name__ == '__main__':
app.run(debug=True,host='0.0.0.0')
| [
"flavioroncat@gmail.com"
] | flavioroncat@gmail.com |
bf9bd6b8d4d81f299167286514c29bd5147950ba | b893e3b045c106f24a6cc340168dabd0bc481743 | /shop/migrations/0004_orders.py | 30fc2fe9f5917eefe133d5b7ed8d322923691fe4 | [
"MIT"
] | permissive | burhankapadia18/BuyAnyThing | cf0709b515961cc1114b1954bee4addac1859e91 | f1fcfd459147652c1ee2e1ce9464984965fb8682 | refs/heads/main | 2023-08-17T05:30:19.123468 | 2021-09-22T09:37:23 | 2021-09-22T09:37:23 | 384,929,266 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 843 | py | # Generated by Django 3.2.4 on 2021-07-02 06:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shop', '0003_contact'),
]
operations = [
migrations.CreateModel(
name='Orders',
fields=[
('order_id'... | [
"www.burhan18@gmail.com"
] | www.burhan18@gmail.com |
6cf93c00ab4fa724d6ba734a936d3ff553a95395 | 6e3f97742562ff3cdf9372f54320c78e5c72fe97 | /apps/partidos/serializers.py | 984cd9ae22ba0f32acb4b3a184c75e363f0e068c | [] | no_license | desarrollosimagos/exit_poll | 6892e9ad504691fa44eb5b599881c7fb044b260d | e4572e2b222cf6b5de8a221ac300ccb0062f8e41 | refs/heads/master | 2021-01-01T16:36:31.726898 | 2017-07-20T18:52:30 | 2017-07-20T18:52:30 | 97,868,339 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 500 | py | from rest_framework import serializers
from .models import Partidos
class PartidosSerializer(serializers.ModelSerializer):
"""
Clase donde llamamos al modelo `Partidos` y serializamos los campos
"""
class Meta:
model = Partidos
fields = ('id', 'n_partidos','siglas','foto_partido','... | [
"ing.omar.orozco@gmail.com"
] | ing.omar.orozco@gmail.com |
0231c1920752d7528c90f7dd27833fa846d8b70e | 87db7092970c6e89474b6c83936d878ad973de2e | /capstone1/app.py | f0f63e5e3634ac9106fb07a375aa717cfbdcceb9 | [] | no_license | smitasasindran/EPAi3 | aee5d830f9598aac79e7bcd9fa89857ef95e4940 | 562ba45fbba63d09c06dceaaa656c6457a8e69f8 | refs/heads/master | 2023-07-16T09:01:00.865994 | 2021-08-21T18:13:00 | 2021-08-21T18:13:00 | 380,411,377 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 497 | py | from flask import Flask
from flask import jsonify
import json
from datetime import datetime
app = Flask(__name__)
@app.route("/")
def root():
print('test')
# return {'statusCode': 200, 'data': "Greetings, Earthlings!"}
return "<title> Smita Sasindran </title> <p>Greetings, Earthlings!</p>"
# @app.route("... | [
"smita.sasindran@glassbeam.com"
] | smita.sasindran@glassbeam.com |
41f54ace33988f97cd6e5b3c7c9897efb3926563 | 944579fcd43497677fd825591d8a9c20cfb4a185 | /anjasite/settings.py | 50fa9ad96d722ce12de73a8b58d3293a55b5d0a9 | [] | no_license | anjatianarado/myblog | cc1130712ceef4e46e18d8117baad8721fe8f148 | 462c9224984a86f0e847f20d57940e64bb245489 | refs/heads/master | 2020-04-11T18:28:02.261313 | 2018-12-16T12:45:01 | 2018-12-16T12:45:01 | 161,999,893 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,225 | py | """
Django settings for anjasite project.
Generated by 'django-admin startproject' using Django 1.11.17.
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 ... | [
"anjatianarado@gmail.com"
] | anjatianarado@gmail.com |
7353cb15ce073419ade56921dc175ee05176cc34 | 888378b21317788fb9498421078e363f8f88ae17 | /Regression.py | 90a20a3536897b4e6bfa10aaedcc172a3d8f31b7 | [] | no_license | SSP20SCM33S/Machine-Learning | 97f0c66bfb6b4eb2f3cbba97dc49b09f66103404 | f6c400dbada216648483b0faea444688e4524a04 | refs/heads/master | 2022-12-27T02:25:45.655082 | 2020-09-27T21:36:23 | 2020-09-27T21:36:23 | 299,122,517 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,655 | py | #!/usr/bin/env python
# coding: utf-8
# In[28]:
import pandas as pd
import numpy as np
import math as mh
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRegression
def plot_data(x, y):
plt.scatter(x, y)
plt.show()
def find_par(x, y):
p0 = 0
p1 = 0
avg_tr_err =... | [
"noreply@github.com"
] | SSP20SCM33S.noreply@github.com |
6ce8e7211c4679b21cf0aa327022f58a3a705be5 | 0cbe142fce9aa0933a0c42d656fdad79d8c6b587 | /funções/unpacking_nomeado.py | 52097b073bd86348dc3fd4fc43b73db0eb6b9fc0 | [] | no_license | JoaoMWatson/udemyPython | ff54b8dd098461a410c6eb362245f1d3596cce37 | 6f13fa8b40e91042913b5859a4e90c8af58d792b | refs/heads/master | 2022-12-11T08:36:53.967599 | 2020-07-07T19:53:47 | 2020-07-07T19:53:47 | 184,157,594 | 1 | 0 | null | 2022-12-08T03:20:54 | 2019-04-29T23:20:17 | Python | UTF-8 | Python | false | false | 369 | py | # **kwargs (argumento nomeados)
# Retorna um dicionario
def resultado_f1(primeiro, segundo, terceiro):
print(f'1) {primeiro}')
print(f'2) {segundo}')
print(f'3) {terceiro}')
if __name__ == "__main__":
podium = {'primeiro': 'L.Hamiltom',
'segundo': 'M. Verstappen',
'te... | [
"joaopedrowatson@hotmail.com"
] | joaopedrowatson@hotmail.com |
3e358ab8e17df990cd6fd7ee571a3cfd0b67833a | 1c8602ea66e5fde414f7054be6b8a7f5aa98a8ef | /rest_api/api/offers.py | 303d2a6cb1e0314847191a960a80be720184d53c | [
"Apache-2.0"
] | permissive | sunilake/sawtooth-marketplace | 1f8896a865fa4ef6c940900f486e26de5264c7b2 | f096e4a385ad2b4f9de000c39413d9d8f834778b | refs/heads/master | 2021-08-29T22:43:58.516099 | 2017-12-14T18:45:49 | 2017-12-14T18:45:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,328 | py | # Copyright 2017 Intel Corporation
#
# 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 agreed to in wri... | [
"dplumb@bitwise.io"
] | dplumb@bitwise.io |
d84c34bf4d3fd0906684953b37dfca5d0bb16e5f | eb9f655206c43c12b497c667ba56a0d358b6bc3a | /python/testData/completion/dictLiteralCompletion/NotEmptyLiteralsInAssignments/main.py | d36bc2b54d3906268fceea50f594afaefc1e9506 | [
"Apache-2.0"
] | permissive | JetBrains/intellij-community | 2ed226e200ecc17c037dcddd4a006de56cd43941 | 05dbd4575d01a213f3f4d69aa4968473f2536142 | refs/heads/master | 2023-09-03T17:06:37.560889 | 2023-09-03T11:51:00 | 2023-09-03T12:12:27 | 2,489,216 | 16,288 | 6,635 | Apache-2.0 | 2023-09-12T07:41:58 | 2011-09-30T13:33:05 | null | UTF-8 | Python | false | false | 109 | py | from typing import TypedDict
class Point(TypedDict):
x: int
y: int
p: Point = {"x": 42, <caret>}
| [
"intellij-monorepo-bot-no-reply@jetbrains.com"
] | intellij-monorepo-bot-no-reply@jetbrains.com |
3fd3cd1078e2a94377336c20f91e1b561b14ca40 | 6ce5bcb64dc0c6ddbc4ce827f4fd7c50514873de | /setup.py | c529c25c0d2c3e3bfbd140af872fb0361810ed02 | [] | no_license | sonechiman/ai-research | d15c9527b96147c9ecf3c0b951f231f284b2b940 | 2fc4b2c6b74d82d4939da8dc688e2834aeb4ab8c | refs/heads/master | 2022-12-11T09:12:57.481632 | 2018-07-10T11:28:38 | 2018-07-10T11:28:38 | 91,662,310 | 0 | 0 | null | 2022-12-07T23:59:50 | 2017-05-18T07:26:05 | Python | UTF-8 | Python | false | false | 102 | py | from setuptools import setup, find_packages
setup(
name="airesearch",
packages=find_packages()
)
| [
"ej.a9p96@gmail.com"
] | ej.a9p96@gmail.com |
699ab4ccd658741ab0ee7d42f5a80900e4a99ca3 | a137466dbaa5d704cd5a15ab9dfd17907b24be04 | /utility/aggregator.py | dd85c5817e5daa2bc1e2d53f3a9685154e121927 | [
"Apache-2.0"
] | permissive | xlnwel/g2rl | 92c15b8b9d0cd75b6d2dc8df20e6717e1a621ff6 | e1261fdd2ce70724a99ddd174616cf013917b241 | refs/heads/master | 2023-08-30T10:29:44.169523 | 2021-11-08T07:50:43 | 2021-11-08T07:50:43 | 422,582,891 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 437 | py | class Aggregator:
"""Allows accumulating values and computing their mean."""
def __init__(self):
self.total = 0
self.last = 0
self.reset()
def reset(self):
self.sum = 0.
self.count = 0
def average(self):
return self.sum / self.count if self.count else 0... | [
"122134545@qq.com"
] | 122134545@qq.com |
4d5ea0573f752d71751f6d8611db7e239774bfc2 | ea5a801283e5c8dd822d755aa8824e9fd17c9ecf | /nomuraholdings/spiders/nomura.py | 9dde6136aea2930291b6ca2abd5eacd2b258ca05 | [] | no_license | daniel-kanchev/nomuraholdings | 3a5c98c2540fac135346267504eedd8bc8375ee1 | 4cf5faeeba53cf1122b1efe7698bac71af21b8fb | refs/heads/main | 2023-03-03T14:54:43.454865 | 2021-02-11T07:33:46 | 2021-02-11T07:33:46 | 337,959,237 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,595 | py | import scrapy
from scrapy.loader import ItemLoader
from itemloaders.processors import TakeFirst
from datetime import datetime
from nomuraholdings.items import Article
class NomuraSpider(scrapy.Spider):
name = 'nomura'
start_urls = ['https://www.nomuraholdings.com/news/nr/index.html']
def parse(self, resp... | [
"daniel.kanchev@adata.pro"
] | daniel.kanchev@adata.pro |
9e409e7964420392a68e1c38a9dd6609f90b2ddc | 1a070da46f6d8d5981ffe31ffb091280e165258d | /libguide_spiders/uiuc_library/pipelines.py | f46aee025afa7ba6786e5fffb41ae96d1db836d0 | [] | no_license | harootune/libguide_tools | 279b804ac296974f3c7da7dd4cd17b8feffc45c1 | 88ec821385f84d077dc14297c8bbe369c51e9a5d | refs/heads/master | 2022-11-11T20:53:07.590319 | 2020-07-05T20:14:58 | 2020-07-05T20:14:58 | 275,459,253 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,964 | py | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html
# stdlib
import csv
import datetime
from pathlib import Path
# third_party
from scrapy.item import Item
from scrapy.exporter... | [
"dhotis2@illinois.edu"
] | dhotis2@illinois.edu |
e434dc28be7568f2e2573449de02634cb9db5c7f | 12bf872537054bbc04c926da56243381948c2a49 | /homework05/research/network.py | bee8893c903422a62d0b6d455900babfdf9abafd | [] | no_license | AntonKapakly/cs102 | 2c187f015fcacf4b00cbbe102608d6ab9ddad72e | efad49812fd039c4ee4dcea03ef5c293e12525cc | refs/heads/master | 2023-06-04T15:35:43.487981 | 2021-06-25T19:52:50 | 2021-06-25T19:52:50 | 300,674,880 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,935 | py | import typing as tp
from collections import defaultdict
import community as community_louvain
import matplotlib.pyplot as plt
import networkx as nx
import pandas as pd
from vkapi.friends import get_friends, get_mutual
def ego_network(
user_id: tp.Optional[int] = None, friends: tp.Optional[tp.List[int]] = None
) ... | [
"kapakly0@gmail.com"
] | kapakly0@gmail.com |
e9475c19dd7b3f8abd944af02227413066365992 | c82c7b04df004c5f0cb371e56ec2a11d632032c1 | /Btreeutils.py | 6d7d94104cb53e5ff85551f0a962aa693568c3af | [] | no_license | krangan2587/algorithms-master | ed560a56a496d6aa838712d411c7e410628b8450 | d6a2ef5ab059fc843e2d35480ffbc6bb3ac57a6f | refs/heads/master | 2021-07-05T12:38:33.617957 | 2021-05-08T16:37:59 | 2021-05-08T16:37:59 | 56,648,763 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,667 | py | import pprint
class Btreeutils(object):
#Binary tree node
class Treenode(object):
def __init__(self, info):
self.data = info
self.left = self.right = None
def create_binary_tree(self,input_array):
node_dict = {}
if len(input_array) == 0:
return No... | [
"kasturiranganp25@gmail.com"
] | kasturiranganp25@gmail.com |
9a0ed4e583cf6f63e2550c716b8fe843cd8d2a03 | c807ab961d0dea5eb3936547e843673247639a07 | /Personel/Akshay/python/Assingment_3/5.Fibo.py | c1e0e835b3f953dfd11396f3704f269525408b70 | [] | no_license | shankar7791/MI-11-DevOps | dbac94ca1fb4627ae44658701bcddcd22c65a3d4 | 63a0a65b05192439575ed2c47a6c3d33c5be87d2 | refs/heads/main | 2023-07-12T20:33:30.121801 | 2021-08-13T03:01:17 | 2021-08-13T03:01:17 | 355,145,424 | 0 | 4 | null | 2021-08-12T19:31:44 | 2021-04-06T10:19:10 | Python | UTF-8 | Python | false | false | 49 | py | x,y=0,1
while y<50:
print(y)
x,y = y,x+y | [
"akshay.patil5596@gmail.com"
] | akshay.patil5596@gmail.com |
22c627fae44f0079e535d66064c91480db572937 | 7bad6ecb04b57f4a692426bb23766cf0b5916d3d | /microdrop/core_plugins/command_plugin/plugin.py | 8fa27ab553a21e769406c2338ae015ca0488a243 | [
"BSD-3-Clause"
] | permissive | cfobel/microdrop | b943bed4a765c5419b6dead8344dbff420af283e | 721f2c9c040406bb3c70a9928923aad10a725b96 | refs/heads/master | 2020-04-15T18:50:20.035858 | 2018-10-23T14:26:58 | 2018-10-23T14:31:04 | 164,927,192 | 0 | 0 | BSD-3-Clause | 2019-01-09T19:47:11 | 2019-01-09T19:47:10 | null | UTF-8 | Python | false | false | 3,735 | py | from multiprocessing import Process
import logging
import sys
from zmq_plugin.plugin import Plugin as ZmqPlugin
from zmq_plugin.schema import decode_content_data
import pandas as pd
from logging_helpers import _L #: .. versionadded:: 2.20
logger = logging.getLogger(__name__)
class CommandZmqPlugin(ZmqPlugin):
... | [
"christian@fobel.net"
] | christian@fobel.net |
12b20499b823e4fb4dcfa22ce16512496eaf85db | a030783fcc76936ba3bef5b72f92986e5f61bded | /web/experiment/forms.py | adb4196fee579a3a248ca22ea092695c1f0d25ae | [] | no_license | teratree/teratree | 34249a6adf6d8063ee0ab8f0cf4d4b3d4372ab88 | fac7bcffe85e123e084711f1c591038c2ab84acc | refs/heads/master | 2022-04-08T18:24:05.523564 | 2020-01-02T17:07:21 | 2020-01-02T17:07:21 | 197,973,929 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,101 | py | from django import forms
from .models import ExperimentPageComment
class CommentForm(forms.ModelForm):
def __init__(self, is_authenticated, *args, **kwargs):
self.is_authenticated = is_authenticated
super().__init__(*args, **kwargs)
def clean(self):
super().clean()
if not sel... | [
""
] | |
77b4d03908ae9c210ed99e9eba9620c2ae85bbd6 | f9b9931d886e575805454667903259723720fb90 | /GDrive.py | d5765e1ed5669e29c26142dffcb5fc48555d5dc5 | [] | no_license | Floreenjons/Secure-Cloud | 1f1ae3403c648403322f40deb4b1533b7a3b68b8 | 6889a49d1b8eb36c80ff5fac69e523f781c0d7a1 | refs/heads/main | 2023-04-30T11:13:05.464167 | 2021-04-23T14:48:38 | 2021-04-23T14:48:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,569 | py | # pylint: disable=unused-variable
import os
import io
import sys
import httplib2
from googleapiclient import discovery
from oauth2client import client
from oauth2client import tools
from oauth2client.file import Storage
from googleapiclient.http import MediaFileUpload, MediaIoBaseDownload
import auth
APPLICATION_NA... | [
"noreply@github.com"
] | Floreenjons.noreply@github.com |
e7235b3fea4323ece24e54402555a1a1790ab388 | 3143dfa73f1fa95735506c8e0a621b6b6265ddc1 | /src/pcc/api/instance/disable_zabbix_monitoring_instance.py | a87fe786a5991162e57e4f75ffa535ecc6b29d22 | [
"Apache-2.0"
] | permissive | sadakei2001/pcc-cli | 67c7f7488cf6ae2d2803f09e76d815c26460f5ea | 1145b32d38718f54fbfcc8e10ba9206c17a53cb7 | refs/heads/master | 2020-06-23T07:58:21.605241 | 2019-07-24T05:59:59 | 2019-07-24T05:59:59 | 198,565,141 | 0 | 0 | Apache-2.0 | 2019-07-24T05:34:57 | 2019-07-24T05:34:56 | null | UTF-8 | Python | false | false | 380 | py | # -*- coding: utf-8 -*-
def command():
return "disable-zabbix-monitoring-instance"
def init_argument(parser):
parser.add_argument("--instance-no", required=True)
def execute(requester, args):
instance_no = args.instance_no
parameters = {}
parameters["InstanceNo"] = instance_no
return reques... | [
"ymstmsys@gmail.com"
] | ymstmsys@gmail.com |
9de3520965d4b30e1783457a740f12ecbc3d893b | d636cd482835e1360eef8a0ca0b11bed9948c4b2 | /venv/bin/easy_install | dc1bb1941e2ca9bd0ceaf5425647e9dc6a969b90 | [
"MIT"
] | permissive | Huanzhuo/Y-Net | 1284ea11521fac9b2fe02d60657e22c74eb83184 | ebc55c9b2ed85e5d37ca03c619f081b8b771b4df | refs/heads/master | 2022-12-15T00:53:33.431722 | 2020-09-24T09:34:11 | 2020-09-24T09:34:11 | 298,227,941 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 275 | #!/Users/yogurts/PycharmProjects/y-net-final/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())
| [
"huanzhuo.wu@tu-dresden.de"
] | huanzhuo.wu@tu-dresden.de | |
31fe694bb7313457f166f98dc09be7c81cf2580d | a78aa2b298c59e24800c1607e4d0cd60e2be8317 | /store_order/order_client.py | d35061d85d39d65e8c8091259c6f8d71f47fd441 | [] | no_license | Y4phets/store_warehouse | 6378c6c8ccdb919e886dc790e66759fce9bcfeb7 | 8fe7b7980a39f6086a16feda40defdf4e3d9ad2c | refs/heads/master | 2023-03-31T10:13:27.118098 | 2021-03-31T11:19:00 | 2021-03-31T11:19:00 | 353,325,394 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,270 | py | import logging
from typing import List
import requests
logger = logging.getLogger(__name__)
API_TIMEOUT_SECONDS = 60
class StoreOrderApiError(Exception):
def __init__(self, msg, response):
super().__init__(msg)
self.msg = msg
self.response = response
class StoreOrderClient:
"""
... | [
"d.lee@cashoff.ru"
] | d.lee@cashoff.ru |
4506438a67a0403f0dbfc593c8410beb5c8794ac | 30c209d2e2ee59f5484197bb5ce8acd48f366a5b | /lib/icons.py | 6a6a4d54995f0b58c0c79df1e6dac2e404ce6940 | [] | no_license | anandu467/json_language_translator | 1907c697d0d93b7167a23f874caaec048a00e18d | 89478f69439ba5d5eb4f1a126dba8d6fa4173a2c | refs/heads/main | 2023-04-15T23:46:23.764526 | 2021-05-02T08:54:26 | 2021-05-02T08:54:26 | 361,663,977 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,951 | py | saveIcon=b'iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAByElEQVQ4jdXSz0/acBjH8f4netSQgIT667JdTZaZHXbQ0+LfMWMksuhEN4UpZZrMgy3REKNRYoiyDrpFajd0BEX6LfUHKCIS6V/w8aShtohczPYk79uTV57DQ1H/1dA+pY/2ya6X3ri4IGQuV4SktiIktWAsqc0Jaq66Fx5xp8uXbn4cYwhohuCVV0CKZBHiowjxUWzyMVxXNF09HgG0P3NSE21nlJFqMHGYxgzLYYbl4OMCRnBaAM0Q0P7Mif2L2mS80... | [
"you@example.com"
] | you@example.com |
4ebc9c4d4571a58e1ad55d53a566eb3eb4145ebe | 4345278aecf350ccfe5c529c63ad534b8ab98e95 | /experiment/smallpesent-4_ssa_trail_4_bits/Calculate_T_variable_a_variable_phi/T_a_phi_with_variable_a_round04_phi_size_2048_with_10000_samples.py | 813effcd2a24be41d020f1b90db1c21069912659 | [] | no_license | mdmohsinalikhan/MastersThesis | fc1caa1565f60a54d1f06edeab0a22331d4e8112 | 5ac4a06b20491c7a7e6dec2dd7113f83550a6724 | refs/heads/master | 2020-12-24T06:24:18.275156 | 2016-11-10T17:02:32 | 2016-11-10T17:02:32 | 73,401,475 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,566 | py | import random
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.mlab as mlab
import math
#with open('T_a_phi_result.txt') as f:
#w, h = [int(x) for x in f.readline().split()] # read first line
#array = []
#for line in f: # read rest of lines
# array.append(int(x) for x in line.spl... | [
"mdmkhan@dhcp-asv-72.helsinki.fi"
] | mdmkhan@dhcp-asv-72.helsinki.fi |
e9bebe261b66cc1350e100373109fbbf1f191795 | 9c40595517d2c3762c027490e15454bfd1625824 | /mysite/settings.py | 5e63bf94341e454381b651b68ef57ad54acd5557 | [] | no_license | bttrfly30/my-first-blog | 7badf5ee572f3864338c887e906ff8847fde73bb | 221e1bb1c7ce9f5486e636d26f5e4825fc911433 | refs/heads/master | 2021-01-01T17:19:09.338594 | 2017-08-26T17:00:59 | 2017-08-26T17:00:59 | 98,046,181 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,209 | py | """
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 1.10.7.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import os
... | [
"bttrfly30@gmail.com"
] | bttrfly30@gmail.com |
908caf5b5b3b475bf2174157c98076216cdcddd8 | cf855f12a3c51cfd8968eb52c871330166e57a59 | /src/const.py | 14330ae5c4978104928a0fc881178c681eb4ac9c | [] | no_license | harshmatic/Agile-Project-Management | a43f30b0473688a107fb6b1e255e73fbf1dba22a | a6594b9272d6fbe0e8b1eae65c4530b335a1d5a5 | refs/heads/master | 2020-12-23T19:53:45.736720 | 2016-06-27T13:27:02 | 2016-06-27T13:27:02 | 56,067,447 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 150 | py | '''
Created on Jun 13, 2016
@author: Atul Sharma
'''
APP_DOMAIN = 'apm-eternus.appspot.com'
OUT_MAIL_ADDRESS = 'support@apm-eternus.appspotmail.com' | [
"aulsharma35@gmail.com"
] | aulsharma35@gmail.com |
6974eab96c3d48c605d8400dafe6b728133607e2 | 99f791d25d28be7e8080d128c71a6901f3c1a7c0 | /Day6_Only_Answers/A3_Q4mix.py | ea2a3f1e5668c9c0dd953b1d49d4b2205911a03a | [] | no_license | desingh9/PythonForBeginnersIntoCoding | 1c0012d7203833ecc9dd0c09336540a7070cd1f6 | 31f86d38428169a28a611497798d5ccfd9e8f21f | refs/heads/master | 2023-02-07T23:56:42.984667 | 2020-12-30T17:59:56 | 2020-12-30T17:59:56 | 280,783,871 | 1 | 0 | null | 2020-08-14T14:03:33 | 2020-07-19T03:26:31 | Python | UTF-8 | Python | false | false | 554 | py | #3) Write a program to find the largest and smallest number in an unsorted integer array?
List = []
val=int(input("Enter Number for elements : "))
for i in range (val):
num=int(input('Enter value of element :'))
List.append(num)
max=List[0]
for i in range(val):
if (List [i])>max:
max= List[i]
min=... | [
"desingh319@gmail.com"
] | desingh319@gmail.com |
849ff1d28dc6222454a0c18ff827813ae7999bcb | baf1a9aecbf06e86b956c17803554f4a8cd61c54 | /rockpile/adapters.py | 4f0e3bac1fcdf80429007d2019cb3b630bf1086c | [] | no_license | rockpile-it/django-rockpile | ccd8e0304b391b8a2cd84692b51f790f348c23de | f63a6cc12e399af470b3bff3855d8bb5960317cf | refs/heads/master | 2021-01-17T05:56:21.139070 | 2013-12-14T12:06:54 | 2013-12-14T12:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,651 | py | '''
Adapters for rockpile
=================================
Support for multiple translation systems
-----------------------------------------
Gettext
++++++++++++++
`gettext` is one of the most common i18n systems used by Django (.po files)
There is a library called `polib` supporting from python 2.4 to python 3.... | [
"dnmellen@gmail.com"
] | dnmellen@gmail.com |
0b5e60213b10694cfbf6c059612258c4dd56014d | dbdea7e0a3587cf6af7942c5593d3eec7e6ce0d0 | /tager6.py | 731d6168629207a2b2f8f89ee5dc6666c449d197 | [] | no_license | autozeztv/to | 920719e77c71de8691035bc4ba64a8e7be50dbd1 | 7accf4217548c0ccbc364d49ac6bc01b2c6797e6 | refs/heads/master | 2020-03-27T06:18:57.723431 | 2018-10-27T21:07:29 | 2018-10-27T21:07:29 | 146,096,536 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 47,828 | py | # -*- coding: utf-8 -*-
from linepy import *
from datetime import datetime
from time import sleep
from bs4 import BeautifulSoup
from humanfriendly import format_timespan, format_size, format_number, format_length
import time, random, sys, json, codecs, threading, glob, re, string, os, requests, subprocess, six, ast, p... | [
"noreply@github.com"
] | autozeztv.noreply@github.com |
2dd0a75d58e6a94b71df2b846fab920956454217 | 746c68835165143ac3649d301b19926598c06ce9 | /py_day_mod/__init__.py | 4756e2ae2017c49feef4da8fa6e9eb58e105ee8f | [] | no_license | nguyenhoangvannha/30-day-of-python | 596994e3f7de283a2ce371dc8166c0135e448037 | e17261c2c8967314d88329f71ab2e3ef0f95ae76 | refs/heads/master | 2021-08-24T04:54:34.533744 | 2017-12-08T03:59:26 | 2017-12-08T03:59:26 | 113,424,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37 | py | #from make_message import MessageUser | [
"nguyenhoangvannha@gmail.com"
] | nguyenhoangvannha@gmail.com |
c94b34d4d6623b867a7cc91d3672366334dd307f | 9cb6a655735b954eac4feeb006b174b8a5d759f4 | /test/test_sighash.py | 1e3dbf744d8ce0de53675357bfa42832889eef0d | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | Conio/pybitcointools | c68639439c5fc84694bb28213cc6d9c21198ad94 | 3025e73092789121ecf5aef4e6815be24f475735 | refs/heads/master | 2021-11-27T07:55:38.707876 | 2021-11-23T10:17:32 | 2021-11-23T10:17:32 | 53,937,108 | 20 | 13 | null | 2017-11-15T01:03:28 | 2016-03-15T10:55:22 | Python | UTF-8 | Python | false | false | 3,375 | py | import unittest
import bitcoin
from bitcoin import *
class TestTransaction(unittest.TestCase):
@classmethod
def setUpClass(cls):
print("Attempting transaction creation")
def test3(self):
print(
deserialize_script('52210248905f94419795ea33cd42474e10bfaddc3ee5f0f0c66ecc29238fea... | [
"guido.dassori@gmail.com"
] | guido.dassori@gmail.com |
2f94117528007e16c5be48c1127ef44989272da4 | d71690a557e51ef3887668dd0ed36c057793baa8 | /tanzhou/apps/users/admin.py | fae17a9e619ea3cd4987f837717dd908ec4d468e | [] | no_license | 617976235/django_tanzhou | 62523fa6e67f9dcd96091c6769498bc8258d613e | 796bd4f9aa4630d6a7d7e957c5383f3e1b15584b | refs/heads/master | 2020-03-15T00:50:11.353692 | 2018-05-28T15:03:09 | 2018-05-28T15:03:09 | 131,879,018 | 0 | 0 | null | 2018-05-28T15:03:10 | 2018-05-02T16:40:08 | CSS | UTF-8 | Python | false | false | 916 | py | from django.contrib import admin
from users.models import UserInfo, EmailVerify, SlideShow
# Register your models here.
@admin.register(UserInfo)
class UserInfoAdmin(admin.ModelAdmin):
list_display = ['username', 'email', 'phone', 'qq', 'nickname', 'birthday', 'gender', 'is_superuser', 'is_active',
... | [
"37777023+617976235@users.noreply.github.com"
] | 37777023+617976235@users.noreply.github.com |
912138a5425f283b9c904c59bd28f4b5a1bd4e26 | c07c392c1158946f38ba9c93fd87f2e966ffa05c | /oc/oc_tune_label_model.py | d6d5e4b7ba2d14560765dfe55539ab9ddde0a38d | [] | no_license | AshRamty/heart_mri | 8106d44214d433df9ce11b630369998a639489d3 | 5c48ceee798477c363cd12523b78a1be3aa8d1b2 | refs/heads/master | 2020-04-19T12:08:02.081868 | 2019-06-27T22:41:18 | 2019-06-27T22:41:18 | 168,185,789 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 6,877 | py | '''
Classifies mitral valve open / close using CNN LSTM in Metal
'''
import sys
import os
sys.path.append('../metal')
sys.path.append('../heart-MRI-pytorch')
sys.path.append('../data')
import numpy as np
import argparse
import torch
import logging
import warnings
import pandas
from glob import glob
from scipy.sparse ... | [
"ashwini.ramty@gmail.com"
] | ashwini.ramty@gmail.com |
6717c5e8394bf8346701fd67ae56099633f0713c | e56214188faae8ebfb36a463e34fc8324935b3c2 | /test/test_hyperflex_hxdp_version_list.py | cc62ffaf9a3db32bf124709634b0401a115e5b90 | [
"Apache-2.0"
] | permissive | CiscoUcs/intersight-python | 866d6c63e0cb8c33440771efd93541d679bb1ecc | a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4 | refs/heads/master | 2021-11-07T12:54:41.888973 | 2021-10-25T16:15:50 | 2021-10-25T16:15:50 | 115,440,875 | 25 | 18 | Apache-2.0 | 2020-03-02T16:19:49 | 2017-12-26T17:14:03 | Python | UTF-8 | Python | false | false | 1,965 | py | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen... | [
"ucs-build@github.com"
] | ucs-build@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.