blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
142d88ef89ad094b3a40b182b505dcf5443b83c0
b9b5035d8dbad615d2c4fc9c158ca08d0f78a48b
/analysis.py
f1aec58c541a6a68d27bd0046bdba8c1a506ef36
[]
no_license
Shyzay/Algorithms-and-Data-Structures
4ab1806c6a1b9eb402a663e39d0e058af1fecd03
d5d54690496030d2bf9ae3bfdba44f2adae80afb
refs/heads/basic_data_structures
2020-03-27T19:43:36.784114
2018-09-01T18:33:42
2018-09-01T18:33:42
147,008,053
0
1
null
2018-09-14T13:45:35
2018-09-01T15:04:06
Python
UTF-8
Python
false
false
295
py
# -*- coding: utf-8 -*- """ Created on Sat Sep 1 15:54:53 2018 @author: KELS """ # O(nlogn) def analysis(): random_list = [3,0,7, 4] #list input random_list.sort() #Sort the list print(random_list[0]) #the minimum will be at the first index after the sort analysis()
[ "chukwuemekadanchuku@gmail.com" ]
chukwuemekadanchuku@gmail.com
367e18616152ae54831e9ce196990bc1f4cb2a43
ec0137c20121884917c60dac94792360ab7aa9a5
/sql-quiz/quiz.py
9419bf33a3dfbf33ec48d25d97c63e5eebcd1350
[]
no_license
anjelicasilva/hackbright-lab-exercises
6dbfe10939c63e9fb3f1dcd638305061bfe4bded
021807e832a05a74607bcd0ca34ac2d29096a753
refs/heads/master
2022-12-11T00:51:12.458239
2019-11-22T23:42:27
2019-11-22T23:42:27
222,184,490
1
0
null
2022-12-08T02:36:16
2019-11-17T02:03:57
TSQL
UTF-8
Python
false
false
16,133
py
"""An interactive, REPL-style quizzer for SQL problems.""" # Author: Joel Burton <joel@hackbrightacademy.com>, based on earlier work by # Christian Fernandez. from __future__ import print_function import os import pickle import datetime import psycopg2 import hashlib import logging import readline log = logging.g...
[ "anjelicacsilva@gmail.com" ]
anjelicacsilva@gmail.com
305404f8ab4c09bc9106fed4a41e86550e0a0785
a5964e6aaa6ce85d0d02b4a602779529f78eb829
/web/greenskiosk/shopping/migrations/0001_initial.py
b3b8d15ad96a1dedabde2b89cac9c89ef30376f8
[]
no_license
Lily-Mbugua/group
0b6a462bc8db8f0d3343579a17551dce84f8035b
8dbf350857d20a47200aa5f64a785bef8d98c73f
refs/heads/master
2022-12-26T22:58:25.333494
2020-10-01T11:39:16
2020-10-01T11:39:16
300,247,639
0
0
null
null
null
null
UTF-8
Python
false
false
2,237
py
# Generated by Django 3.1.1 on 2020-09-24 07:06 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('catalogue', '0001_initial'), ('customers', '0001_initial'), ] operations = [ mi...
[ "wanjerimbugua07@gmail.com" ]
wanjerimbugua07@gmail.com
d3611c79ce17bccbd521fc4e41fd2942960664d4
d990980c902fb0336ad94f862548d35535b8adee
/domain/subject.py
d2a9d54187495d0d3c20e7b4599927479c89bd8c
[]
no_license
qi4589746/FaceAttendanceSystem
e1634fc8f6649ca871c56a34bd00b128a54f8f40
f19da6cd7a4f1aba364cbcf38d911acab6c5aed3
refs/heads/master
2022-12-30T02:53:22.076905
2019-03-13T09:46:34
2019-03-13T09:46:34
305,625,405
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
class Subject: def __init__(self, id: str, name: str, createTime: int, updateTime: int): self.updateTime = updateTime self.createTime = createTime self.name = name self.id = id
[ "t256413@gmail.com" ]
t256413@gmail.com
4723657bf7951cdf1ed463860ddaf8014ca0851f
66a88d500abf6d4fc2674c927993a608f09e02d8
/delete_mail.py
14c6bd5a477b2c80022d0d1667b925faa343a8bb
[]
no_license
hogwartsdeveloper/stepic_auto_test_Python_selenium
b755e05dbfa67072fbc904d70dfeb0fcbdb1ca49
f49ad484d09063765a362d890369fb924a22aa77
refs/heads/main
2023-02-14T21:49:34.461650
2021-01-13T09:39:59
2021-01-13T09:39:59
328,563,085
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.chrome.options import Options import option = Options() option.add_argument("--user-data-dir=C:/Us...
[ "jannuraidynuly@gmail.com" ]
jannuraidynuly@gmail.com
90706fcf26eb7cfab7c2bab41589e627cef714a1
bd494038f932c714fbb243837ee8584bd8da399f
/myproject/rent/forms.py
4aa803b092de7746d651e2ddc014cb5dd25a8448
[]
no_license
chawalya/HW459_1
c2cedb30b0b3e7d64eae39ef2b5ff0fb01923ec9
a19c420ddb4ab43995c87b29ae81ac854f1539e7
refs/heads/master
2021-01-24T20:13:17.431633
2018-02-28T07:21:45
2018-02-28T07:21:45
123,245,775
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
from django import forms from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit from django.contrib.admin import widgets import datetime from .models import Car,Rent,Person class CarForm(ModelForm): class Meta: model = Car exclude=[] def __int__(sel...
[ "chawalyaa@gmail.com" ]
chawalyaa@gmail.com
3d357e6bd94564dc803059577ed56fe78c0c5615
74db139df457fcc6c32464c08b1d7110c9a9ac3b
/venv/Scripts/rst2xetex.py
ddbfc2ddd7664e8c40256db6ca5e40ee479a1576
[]
no_license
45tooclose/python-new
cef3cf71c68d5195f5fb45d6918726a6bc050a7a
98f3514aa9d7c4664459699d824c2086586abe1e
refs/heads/master
2021-07-06T20:48:11.948302
2018-06-01T12:45:19
2018-06-01T12:45:19
136,414,887
2
5
null
2020-07-23T01:49:19
2018-06-07T03:07:07
Python
UTF-8
Python
false
false
925
py
#!C:\Users\Kamil\PycharmProjects\python-bootcamp\venv\Scripts\python.exe # $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $ # Author: Guenter Milde # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Lua/XeLaTeX code. """ try: import loca...
[ "kamil.sobczak6@gmail.com" ]
kamil.sobczak6@gmail.com
5ac6bb85df26912fe0149e5095f2645030e3bea8
0de1cae227921e23bade3e21b020331c068ed79d
/practice8.py
23f73827f32f4ac8db3cfddaebeb259398f6a0b6
[]
no_license
Lyzzp/practice
31746dd20295682e44dc3c0479de71c226642355
420077771fe5f99857738dbce976b5092ca72c08
refs/heads/master
2023-03-26T06:49:46.793144
2021-03-29T00:32:57
2021-03-29T00:32:57
351,705,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
# coding=UTF-8 """ @Time:2021/3/25 14:27 @Author:Administrator @Project:pythonProject1 @Name:practice8+ """ # 有一个已经排好序的数组,现在输出一个数,要求按原来的规律将它插入数组中。 # a = [1, 4, 6, 9, 13, 16, 19, 28, 40, 100, 0] # print 'original list is:' # for i in range(len(a)): # print a[i] # number = int(raw_input('insert a new number:\n')) # ...
[ "1244654868@qq.com" ]
1244654868@qq.com
799a2a0bb4222d36f68fa3247969c278ff5189b9
6b0310f9ea343b2ca492eaebba1f01fa2b930c44
/Tesla Stock Price.py
372f0127e5e7899ab641fe7ca95b13acf3cd8faf
[]
no_license
yagyaton/API-Projects
4e83f8492fb52450245253cbd87d9718e366cba7
c0759750ce8a0f1d5be73ebbb76630d743e7b5e6
refs/heads/master
2023-07-13T16:01:21.605644
2021-08-21T18:39:12
2021-08-21T18:39:12
398,313,961
0
0
null
null
null
null
UTF-8
Python
false
false
4,399
py
import requests from twilio.rest import Client THRESHPRECENTAGE=2 STOCK = "TSLA" COMPANY_NAME = "Tesla Inc" ALPHA_API_KEY=alpha_api_key FUNCTION="TIME_SERIES_DAILY" NEWS_API_KEY=my_api_key account_sid=my_sid auth_token=my_auth_token ## STEP 1: Use https://www.alphavantage.co # When STOCK price increase/decreases by 5...
[ "noreply@github.com" ]
yagyaton.noreply@github.com
84eef6cc65ec245e27db562aaabcc91b480142bb
bd72c02af0bbd8e3fc0d0b131e3fb9a2aaa93e75
/Hash Table/logger_rate_limiter.py
2d6dcba5dcff6b6585ced12fe6631fc0e2af2b74
[]
no_license
harvi7/Leetcode-Problems-Python
d3a5e8898aceb11abc4cae12e1da50061c1d352c
73adc00f6853e821592c68f5dddf0a823cce5d87
refs/heads/master
2023-05-11T09:03:03.181590
2023-04-29T22:03:41
2023-04-29T22:03:41
222,657,838
1
0
null
null
null
null
UTF-8
Python
false
false
636
py
class Logger: def __init__(self): """ Initialize your data structure here. """ self._msg_dict = {} def shouldPrintMessage(self, timestamp: int, message: str) -> bool: """ Returns true if the message should be printed in the given timestamp, otherwise returns fal...
[ "iamharshvirani7@gmail.com" ]
iamharshvirani7@gmail.com
377e0a1762965418f5d2a4d4871feeed710a71e8
565f95f207f49d987bdc372cd80942be95451731
/python/misc/hlgrep
d76c0a07ff98af04d294df10bef1e8a2e4b4256a
[]
no_license
dustin/snippets
76724c2131546bddd35a80da16921a44a49e2262
5be535890f9e71e298fec601d55c469c542ea330
refs/heads/master
2023-08-18T22:01:39.546961
2022-12-29T07:39:40
2022-12-29T07:39:40
18,840
18
4
null
2013-01-06T08:10:39
2008-05-22T07:58:19
C
UTF-8
Python
false
false
306
#!/usr/bin/env python import sys import posix import re smso=posix.popen("tput smso").read() rmso=posix.popen("tput rmso").read() expression=re.compile("(" + sys.argv[1] + ")") l=sys.stdin.readline() while l != '': s=expression.sub(smso + '\\1' + rmso, l) sys.stdout.write(s) l=sys.stdin.readline()
[ "dustin@spy.net" ]
dustin@spy.net
c107cc01614fcfa3b7bbbb7b5e613c0536701ff1
319b6071c2931500de7061e991c6a7667477a138
/Machine Learning/Super-Mario/mario.py
4cb0b24eeefa9a2a2e32a6262507c501e48a644b
[]
no_license
deepshikhadk1234/Snippets
71d7301ca5fb054a8bd22608024f58c40e33d6e2
1649cfacc450c67a40ac1b68c765ccb00c123a2a
refs/heads/master
2023-08-27T01:55:38.474154
2021-10-12T09:09:46
2021-10-12T09:09:46
414,146,345
0
1
null
2021-10-09T07:10:42
2021-10-06T09:22:06
Jupyter Notebook
UTF-8
Python
false
false
8,119
py
import torch from torch import nn from torchvision import transforms as T from PIL import Image import numpy as np from pathlib import Path from collections import deque import random, datetime, os, copy #matplotlib imports import matplotlib.pyplot as plt import matplotlib.animation as animation #gym imports import ...
[ "shivanshuman021@gmail.com" ]
shivanshuman021@gmail.com
15e3c7db846499b785bfb918f0dfec6bcc4444cc
0ee6b1c26fbb10d230719ca03908a7a128c83463
/tdmt/utils.py
f5b046b8e720f27efa74666402a2ead705783483
[]
no_license
noferai/gazprom_hack
b29c0b53eadf07fe574719720c2dffb96226ecee
6d81b560e0df06c122b108d9f4af675352cb257e
refs/heads/master
2023-01-12T13:27:15.116716
2020-10-18T08:50:38
2020-10-18T08:50:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
from urllib.parse import unquote_plus, parse_qsl, urlencode, urlparse, urlunparse def get_clean_next_url(request, fallback_url): next_url = request.GET.get("next") if next_url is None: return fallback_url unquoted_url = unquote_plus(next_url) scheme, netloc, path, params, query, fragment = ur...
[ "azovsky777@gmail.com" ]
azovsky777@gmail.com
b4eb385678815595baaab25c1335efeaeccbc26b
b5b888fd9cfa17c9a3ef6526cd9ffc476f939da4
/poker3/card.py
226bb5746cab0660b5db284d4baa5d847cee358b
[]
no_license
javatican/migulu_python
77fd65754d30da699f35f800cbd5de8e73e35c64
f1adecf02f7beed8313fb72bf786d292fc733d34
refs/heads/master
2020-12-30T14:33:40.239905
2017-05-27T02:52:37
2017-05-27T02:52:37
91,322,110
0
0
null
null
null
null
UTF-8
Python
false
false
2,091
py
class Card: IMAGE_SIZE=(2179,1216) CARD_WIDTH=IMAGE_SIZE[0]/13 CARD_HEIGHT=IMAGE_SIZE[1]/5 cards = None @classmethod def create_cards(cls): if Card.cards == None: Card.cards=[] card=Card(0, 0, 0) Card.cards.append(card) id=1 for...
[ "ryan.nieh@gmail.com" ]
ryan.nieh@gmail.com
70a1baaa3281364acc80c862139540c66915ff93
9030ce268efdd03f62fb1a9c9f6a7ced726e4e42
/migrations/versions/31c6e29748eb_.py
c3cefade9ed2b8e84d5c7874bcafe2465455f193
[]
no_license
rleschuk/tvservice-server
cccdc3002d408d5f3e6293f3669ec55e0a710fec
792ecf201cc2e5709dc7539fd341a7f9c15ac9c4
refs/heads/master
2022-12-12T23:22:27.051892
2018-05-07T06:41:52
2018-05-07T06:41:52
131,415,810
0
0
null
2022-12-08T00:56:52
2018-04-28T14:19:45
Python
UTF-8
Python
false
false
968
py
"""empty message Revision ID: 31c6e29748eb Revises: 5a16c2d4cef1 Create Date: 2018-04-22 04:53:41.421145 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '31c6e29748eb' down_revision = '5a16c2d4cef1' branch_labels = None depends_on = None def upgrade(): # ...
[ "r.leschuk@gmail.com" ]
r.leschuk@gmail.com
780aa0acafef5342d1200eb4af3069a60183016e
44693097d051939b3b8f731d97292e7000b10744
/common/main.py
f7923a105f83cbc683d67ad3227940c1b420bc4d
[]
no_license
Vacteria/vpmlib
34b25e0da60304ef392c989965a8d2d92fe850f6
482f3942c999566907ce3fc19f017d795b40f48c
refs/heads/master
2020-06-08T17:50:04.696677
2012-11-12T22:51:01
2012-11-12T22:51:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # main.py # # Copyright 2012 Miguel Angel Reynoso Reyes <miguel@vacteria.org> # # 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 ve...
[ "tallerlinux@gmail.com" ]
tallerlinux@gmail.com
a35928309c1fa5bf69a6928dedc88f21e8e1bf73
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/examples/chartsheet.py
3edbd9dbfe920d08f7d3e6d4ecf08d471cba16e0
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,774
py
####################################################################### # # An example of creating an Excel chart in a chartsheet with Python # and XlsxWriter. # # Copyright 2013-2019, John McNamara, jmcnamara@cpan.org # import xlsxwriter workbook = xlsxwriter.Workbook('chartsheet.xlsx') # Add a worksheet to hold the...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
436e02aa0565561984a172d513c8601de9a8915d
31d35db3d1cf374f67f7acacbc4e35a2d91cd751
/Intermediate_Topics/modules_and_testing.py
2cc6c51eb3d429255f3ea3e0ab3181da91ce191e
[]
no_license
BlueSquare23/Learning_Python
0d3ab25247055cea3017947e699029689d1146df
1d571318533d97da8ed1551d744239856e231bcf
refs/heads/master
2021-07-15T16:14:59.359645
2021-07-06T05:20:57
2021-07-06T05:20:57
175,972,200
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
#!/usr/bin/python3 #Modules and Testing #Section 7.4 #See string_functions.py script which works in conjunction with this one. import string_functions print(__name__) str = "123456" print(string_functions.first_half(str)) print(string_functions.last_half(str))
[ "johnlradford23@gmail.com" ]
johnlradford23@gmail.com
f485b1fe84144a2e6e02f8c6db683e8241399c64
831fe3255ab2dd7abb9fc79a21756012d57cb863
/projects/nerf/nerf/raymarcher.py
3be73d32299a15739202136510193efb2809c1ef
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
ksengin/pytorch3d
3e84365ed2499c11ef5a443c4ab28bda85e71f7e
1fffa20541c9fa3248e02473bee294724922d989
refs/heads/master
2021-05-16T21:24:36.150263
2021-03-19T07:07:23
2021-03-19T07:07:23
250,474,512
0
0
NOASSERTION
2020-03-27T08:00:17
2020-03-27T08:00:17
null
UTF-8
Python
false
false
2,796
py
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import torch from pytorch3d.renderer import EmissionAbsorptionRaymarcher from pytorch3d.renderer.implicit.raymarching import ( _check_density_bounds, _check_raymarcher_inputs, _shifted_cumprod, ) class EmissionAbsorptionNeRFRaymarcher...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b0990cdf0e99c2b2a487505ba308a69b702245e5
83ad58baf732e0d37f0e0f678112d61c5de4bb70
/preprocess_data.py
b336d6660c40fa87bb5754dcd869883eb0e269cd
[]
no_license
Rudra9335/Amazon-Helpfulness-Rating
9c85edb9eea2562e5d59d02842145bfc1b799d49
88876e45e70131f23f33d7ea81c9b32567ef9570
refs/heads/master
2021-01-21T19:13:14.825581
2017-05-23T04:28:10
2017-05-23T04:28:10
92,129,052
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
__author__ = 'Abhishek' import gzip import json def readGz(f): for l in gzip.open(f): yield eval(l) data = [] with open('processed_data.json', 'w') as outfile: for l in readGz("train.json.gz"): data.append(l) if(l['helpful']['outOf'] > 10): json.dump(l, outfile) outf...
[ "noreply@github.com" ]
Rudra9335.noreply@github.com
295aab0f16ff27ff19e76c106508bfd801852f4d
f820881f55456ee884c039cd565a463f7c4347bb
/lyfeshoppe/blueprints/user/views.py
468bddaaf7beaf802dde201aa607dee13c8db163
[]
no_license
himudianda/lyfeshoppe
1842e9e722331eb9e049ffa7b1fdabc781d28f01
5e149f7a970252d37e5a1c4f68da5ecf2ced0d26
refs/heads/master
2021-01-18T16:32:10.766663
2017-05-13T05:35:19
2017-05-13T05:35:19
46,232,764
0
0
null
null
null
null
UTF-8
Python
false
false
7,097
py
from flask import Blueprint, redirect, request, flash, url_for, render_template from flask_login import login_required, login_user, current_user, logout_user from flask_babel import gettext as _ from lyfeshoppe.lib.safe_next_url import safe_next_url from lyfeshoppe.lib.role_redirects import get_dashboard_url from lyfe...
[ "harshit.imudianda@gmail.com" ]
harshit.imudianda@gmail.com
2acd9d7dea7e1fa0cacc060cc757bb60e46e4906
55ab48d4b82a2f4e39475f1db9adb9dca6421dfb
/tcp_check/tests/common.py
2a9c94922b97d3876217ec8e64869c7e53f99507
[]
permissive
brentm5/integrations-core
a1e0ec5014273368946b79ac9aa5d4e101fd5411
5cac8788c95d8820435ef9c5d32d6a5463cf491d
refs/heads/master
2020-04-19T21:51:19.225718
2019-04-08T14:08:32
2019-04-08T14:08:32
168,453,264
0
0
BSD-3-Clause
2019-01-31T03:01:28
2019-01-31T03:01:26
null
UTF-8
Python
false
false
397
py
# (C) Datadog, Inc. 2019 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) CHECK_NAME = "tcp_check" INSTANCE = { 'host': 'datadoghq.com', 'port': 80, 'timeout': 1.5, 'name': 'UpService', 'tags': ["foo:bar"] } INSTANCE_KO = { 'host': '127.0.0.1', 'port': 6553...
[ "noreply@github.com" ]
brentm5.noreply@github.com
ada1ac04d0162f1f086d1ebfc1bb718c67f74aee
2a34a824e1a2d3bac7b99edcf19926a477a157a0
/src/cr/vision/core/colors.py
2865015e52642389b5b3c74caf559bef6dda8111
[ "Apache-2.0" ]
permissive
carnotresearch/cr-vision
a7cb07157dbf470ed3fe560ef85d6e5194c660ae
317fbf70c558e8f9563c3d0ba3bebbc5f84af622
refs/heads/master
2023-04-10T22:34:34.833043
2021-04-25T13:32:14
2021-04-25T13:32:14
142,256,002
2
0
null
null
null
null
UTF-8
Python
false
false
4,002
py
''' List of common colors in b g r format ''' ALICEBLUE = (255, 248, 240) ANTIQUEWHITE = (215, 235, 250) AQUA = (255, 255, 0) AQUAMARINE = (212, 255, 127) AZURE = (255, 255, 240) BEIGE = (220, 245, 245) BISQUE = (196, 228, 255) BLACK = (0, 0, 0) BLANCHEDALMOND = (205, 235, 255) BLUE = (255, 0, 0) BLUEVIOLET = (226, 43...
[ "shailesh@indigits.com" ]
shailesh@indigits.com
83ef5f92fe38434ba6cab8b23f51c000ed6735e5
fb4a589b87fde22d43fe4345794c00bbc3785085
/resources/oci-lib/lib/python3.6/site-packages/services/events/src/oci_cli_events/generated/events_cli.py
2f9059015121b13e588187ead12c46120419a5ed
[]
no_license
dickiesanders/oci-cli-action
a29ccf353a09cb110a38dc9c7f9ea76260c62a48
ef409321a0b9bdbce37e0e39cfe0e6499ccffe1f
refs/heads/master
2022-12-18T02:52:07.786446
2020-09-19T09:44:02
2020-09-19T09:44:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,182
py
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
[ "bytesbay@icloud.com" ]
bytesbay@icloud.com
ada619c2bad165990d8bef1eedae3e7ff7d01b30
815f9282cfd5ab1224f05ec4e35227842d88e852
/datasets/Greek_National_Exams/generate_preferences.py
796a86ae50bc63fef84c3416748915e429d8d468
[ "MIT" ]
permissive
ntzia/stable-marriage
03c10342128ff3a7102c763474d488e7051527a0
80116a3a2aaa45689b404c9e684ea57c99bc5902
refs/heads/master
2023-08-22T18:19:51.922748
2021-10-14T15:45:38
2021-10-14T15:45:38
115,878,468
1
2
null
null
null
null
UTF-8
Python
false
false
5,838
py
#!/usr/bin/env python import sys import os import numpy as np from random import randint from random import shuffle import operator import math if len(sys.argv) != 7: print "Usage: " + sys.argv[0] + " percentUsed studentOutFile schoolOutFile schoolClusters (-succinct | -complete) (-diverse | -skewed)" sys.exit(1) ...
[ "ntziavelis@gmail.com" ]
ntziavelis@gmail.com
2915daa920a718772f982608d13e1abbe0e0de8f
96e76bcb634e0e48bcf3ae352eb235ed9bc32b36
/app/migrations/0020_news_date_and_time.py
abf6be4f45c0a5659dc925a56654a48eab0b5a70
[]
no_license
Ectroverse/EctroverseDjango
cef8a8a2149271c0995f1b60676f636e5dfc23ec
a3dad97b4e7a89694248c21df75ebdcc37e975f0
refs/heads/master
2023-04-18T21:12:20.062646
2021-04-28T11:06:01
2021-04-28T11:06:01
291,338,914
1
3
null
2021-01-23T14:32:21
2020-08-29T19:50:33
Python
UTF-8
Python
false
false
409
py
# Generated by Django 3.1 on 2021-01-24 16:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0019_auto_20210124_1638'), ] operations = [ migrations.AddField( model_name='news', name='date_and_time', ...
[ "vsavko@gmail.com" ]
vsavko@gmail.com
6c58b0de7a6aaa29da887706c57a87152a52622a
7208db50a22368c335e7d7d8b37a3fedb09c60e5
/cairis/gui/ResponsesDialog.py
462cb9196456757bb3e23ec2869fb3380d5121b9
[ "Apache-2.0" ]
permissive
nebloc/cairis
41c7f20af56c46bddcb3927dc4aa410f6477e6ed
1277a148a270d5471b59fc238aa6590bc1d3044e
refs/heads/master
2020-03-24T03:51:11.908096
2018-07-27T16:07:36
2018-07-27T16:07:36
142,434,768
0
0
Apache-2.0
2018-07-26T11:58:24
2018-07-26T11:58:24
null
UTF-8
Python
false
false
4,350
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...
[ "shamal.faily@googlemail.com" ]
shamal.faily@googlemail.com
a76a3b3ce620e6eb8d85c04965a0fff691246222
64d7db567d7dbd8609719bc0c52377a45d27e6a2
/hello_world.py
c9c8ff9358835a799a327d8077ffa5a09c926a82
[ "MIT" ]
permissive
irot94/profiles-rest-api
d885dfb1d533e1149aa542fde01c1cd55db203cc
907bd4ffdb63e3d03899cbbfd69bd0373a331232
refs/heads/main
2023-03-27T00:23:09.320095
2021-03-23T11:30:16
2021-03-23T11:30:16
350,365,413
0
0
null
null
null
null
UTF-8
Python
false
false
18
py
print('Siemanko')
[ "irtarasek@gmail.com" ]
irtarasek@gmail.com
4ad0c640a13b187afed279bd9c4aa6634b7e0d9c
e05818a27aa9ad9db170ed2430ef15eafd6473d7
/screens/HelpScreen.py
551ce1387edb387034ced4ef4c932046821ec8a8
[]
no_license
matdoess/photobox
1241df3a800b4f1bbeb35c2a4240d322560ff100
b5d664dcddf6917ea5d84c7f7e43e68494d98e83
refs/heads/master
2021-05-16T05:47:31.788273
2018-07-23T15:52:36
2018-07-23T15:52:36
103,319,164
1
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
from kivy.uix.screenmanager import Screen from Camera import Camera from TelegramBot import TelegramBot from datetime import datetime import threading import settings class HelpScreen(Screen): def on_pre_enter(self): self.ids.HelpImageId.source = settings.myList['config']['images']['help_person'] ...
[ "johannes.lerch@buttinette.de" ]
johannes.lerch@buttinette.de
cfcea90004d80936f1157e825bf22cbb2c43710c
5dc4d2592f4ed00d15f1b9f0ff5e7868346094d7
/Customer_Churn_Modelling.py
26f43ed82b47c32b8f4970cf8e0aa1ba2022e667
[]
no_license
chopradeepanshu/EY-ML
32d639515d6a60c81113ec599722ea4c7bc83177
3ba59f652a2315b1988af51e7c87d04e53dda94d
refs/heads/master
2020-04-15T22:21:57.282198
2019-01-10T14:06:44
2019-01-10T14:06:44
165,070,294
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
# Logistic Regression # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataframe = pd.read_csv('C:\\Deeps\\Machine Learning Projects\\Use Case\\Churn Modelling\\Data\\ChurnModelling.csv') list(dataframe) # EDA dataframe.dtypes da...
[ "noreply@github.com" ]
chopradeepanshu.noreply@github.com
053f1ccda4e39457dc790683227d0bc1b6d7da4d
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/list_jobs_resp_job_list.py
45bcf3b71b8ca926bfc21443a9d3494688005247
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
11,035
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListJobsRespJobList: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribut...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
6bcc322d94ee9d15d455bcac104c4d0c5451ce35
97bd05421e9e73bd99c83fc4a4d8c660557aba30
/async/async.py
c09c7f276a88ce171efd8afd6267fb83ebdf8acd
[]
no_license
frank-26/python-demos
1594ad2987c3500e86c5e9e60c4ae80f89155f14
e0a4c58b48ee4f91aa02ea558d451137f947210a
refs/heads/master
2020-09-14T13:32:49.448840
2019-11-21T12:47:19
2019-11-21T12:47:19
223,141,669
1
0
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/env python3 # async.py import asyncio async def count(): print("One") await asyncio.sleep(1) print("Two") async def main(): await asyncio.gather(count(), count(), count()) asyncio.run(main())
[ "franklyan24@gmail.com" ]
franklyan24@gmail.com
3d9cb190898bb0de72ad98aa055083f485cc3c08
f07392633118f7f6aff0a5a9b2a5c9eaab1a0299
/Examples/packaging/Capitalize/capitalize/capital_mod.py
2b4d8147fce933a404c366dee5112a3e807866e5
[]
no_license
UWPCE-PythonCert/Py300
afc4abca736cfea031292db6bed996465f37604f
7f93d20ae66ba9a56c4dcc0c1fdafcf79db15349
refs/heads/master
2020-05-26T13:43:38.098926
2018-03-05T07:11:48
2018-03-05T07:11:48
85,002,542
4
7
null
null
null
null
UTF-8
Python
false
false
1,092
py
#!/usr/bin/env python """ A really simple module, just to demonstrate packaging """ def capitalize_line(instr): """ capitalizes the input string :param instr: the string to capitalize it should be a single line. :type instr: string :returns: a capitalized version of instr """ return " ...
[ "PythonCHB@gmail.com" ]
PythonCHB@gmail.com
654f29881325caa2103913571852440c305a2bae
e893f9d8ff335a6c8b427920f2b2a2e7cea8ae74
/simulador1.py
6973e686e65e5e4bde35a459c828cdcd3ee7354d
[]
no_license
manuLgMad/naiveEpidemicSimulation
00fa1737e4c04249805e8d226114aec91d5c05bd
6318bda8c9b06f5200164ffc21e30d4ed2bc82fe
refs/heads/master
2022-04-21T08:23:03.986789
2020-03-25T19:09:24
2020-03-25T19:09:24
249,178,415
0
0
null
null
null
null
UTF-8
Python
false
false
7,035
py
#https://medium.com/tomas-pueyo/coronavirus-por-qu%C3%A9-debemos-actuar-ya-93079c61e200 #de la anterior url saco algunos datos #por ejemplo lo que tardas en morir 17 días #también un 1% de mortalidad #https://www.lavanguardia.com/ciencia/20200227/473801277042/coronavirus-covid-19-muertos-enfermedades.html #set ...
[ "noreply@github.com" ]
manuLgMad.noreply@github.com
086e7cd5094e3ff935e8b9311c8664873ac1cfc8
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/l3/start_20200620180546.py
304413c0994d4341aa3bde6dc27f92c38feb6864
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
10
py
import dis
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
b80da2eee1ac7b4335967099b21a56b7277e7ca6
5f9842af23ce264b00c23120a484910278ad6270
/server/scripts/migrate.py
4b9411dd6f19515be6d245edf645bf65aaafb916
[]
no_license
tykva43/address_book
010635172a658d2843091828a63f783056dc5db1
17c189f6fe32966342423c489be63f7362b73622
refs/heads/master
2023-08-23T18:50:39.894980
2021-10-11T05:50:57
2021-10-11T05:50:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
import os url = os.environ.get('DATABASE_URL') os.system('yoyo apply --database {} ./migrations'.format(url))
[ "krikunova.olga@mail.ru" ]
krikunova.olga@mail.ru
9f8a6b37d2e71ec51c2dc85dc85fa193e285f3d0
c7b059c99056edb98f8564824fae63d198a1fa16
/pythonProject/final/source_files/server.py
47ab596adf468b826a94b30c1a2b990848d37d42
[ "MIT" ]
permissive
shannonchoang/CS131-Fall-2018
1b34f0d4a60b61328d92c848bccefed84028901e
b4f6f88a062f2a19252fe158c129d5789ec8935f
refs/heads/master
2020-07-07T08:32:52.671849
2019-08-22T02:26:46
2019-08-22T02:26:46
203,304,815
0
0
null
null
null
null
UTF-8
Python
false
false
10,492
py
#remember to use Python 3.7.2 #Assigned Ports: 11995-11999 #Use servers: 06,07,09,10 #FINAL VERSION as of 11:09 PM api_url = "https://maps.googleapis.com/maps/api/place/nearbysearch/json?" import aiohttp import asyncio import time import sys import json import re serverIDs = ["Goloman", "Hands", "Holiday", ...
[ "shannonhoang0@gmail.com" ]
shannonhoang0@gmail.com
093145c8b65bf2b5841737540a0b4b14abe41f1d
af220e52cfc1f41e9a9fab4de5608e86d4787a62
/Convolution on Images.py
3e693ac162721d412326ed4d6c94c31661ecccc2
[]
no_license
besthvr12/CNN-and-ANN
4344b56de21419cb36662d0be1b1f2a4ce619452
e6a37dd331bb8cd1a1fef626d80ab6ae99211318
refs/heads/master
2022-04-06T14:34:23.924693
2020-02-24T17:50:55
2020-02-24T17:50:55
228,059,847
0
0
null
null
null
null
UTF-8
Python
false
false
3,162
py
# import the necessary packages from skimage.exposure import rescale_intensity import numpy as np import argparse import cv2 def convolve(image, K): # grab the spatial dimensions of the image and kernel (iH, iW) = image.shape[:2] (kH, kW) = K.shape[:2] # allocate memory for the output image, taking car...
[ "noreply@github.com" ]
besthvr12.noreply@github.com
4b9647c17ca63115c2dc89a0306b51de27c9b14f
e04d62d1d68225bd8d7076cce54250943dc54206
/main.py
bcbb4a0e36fa224e1dbb96575d743263d87b3c4f
[]
no_license
alfonsocanor/TMS_2018
3611f280917f8f939b3a754b87099138f9e8dd16
7a38fe13fbe1ab7c9c54bb97eb0bbccc8e401c89
refs/heads/master
2021-05-13T23:38:43.494629
2018-01-13T14:44:59
2018-01-13T14:44:59
116,522,309
1
0
null
null
null
null
UTF-8
Python
false
false
6,139
py
import googlemaps import geocoder from geopy.distance import vincenty from urllib.request import urlopen import json import os import csv import math import time ''' gmaps = googlemaps.Client(key='AIzaSyBMwXuzxKO2EY2eoNX163Iojydhmi39i1U') #From googlaMaps API #print(dir(gmaps)) gi = gmaps.distance_matrix('pasaje santa...
[ "lalfonsocanor@gmail.com" ]
lalfonsocanor@gmail.com
5480e781b5a2d14825bed9572318338becf10151
c3cac318adc945bc47f7a7a541306ac45a4f3c91
/KAP3/maxmin_list.py
6d1b788f7f8d5eef715952e401c2823ed5c2e69c
[]
no_license
jonmagnus/INF1900
96684391be4a72978068e3d87935425bf5c58430
05caece230fa4c74e3a89fda903df93456d0526c
refs/heads/master
2020-04-02T11:04:40.158157
2018-11-09T10:53:00
2018-11-09T10:53:00
154,369,857
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from random import randint def max_(a): max_elem = a[0] for elem in a[1:]: if (max_elem < elem): max_elem = elem return max_elem def min_(a): min_elem = a[0] for elem in a[1:]: if (min_elem > elem): min_elem = elem return min_elem a = [randint(-10,10) for i in range(10)] print a print 'The largest element...
[ "jonmagnusr@gmail.com" ]
jonmagnusr@gmail.com
f4223bac982ea9725777698c0b2089aa663912ac
4a597819ab90544ef33b43b84dd6b1b0c8500baa
/07_SyntaxPro/hm_08_IterAndUniterable.py
e48d5a8d2773e09229cc13757ad49d46204a02b8
[]
no_license
frankzhuzi/ithm_py_hmwrk
dff1b91e8f5d371684b3b337871356101bd2f139
1bb52b63b93c33cac81eacb8146769bb7b0cd31e
refs/heads/master
2020-09-07T22:11:44.497289
2019-11-11T09:32:44
2019-11-11T09:32:44
220,927,031
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
def demo(num): print("Value in the function") num = 100 print(num) print("Done...") gl_num = 99 demo(gl_num) print(gl_num)
[ "noreply@github.com" ]
frankzhuzi.noreply@github.com
728812d091d1626b414cdbe9bc793cdbe2b508fe
b71817da629e0ba8858179def4b98e684ec75568
/Python/2019-7-30-小甲鱼-7.py
c3fded6734334f4aa0bc1ac8b1b0ced29d9ce5f6
[]
no_license
haole1683/Python_learning
b09a5d7c7aae5e735426c716071d80e4adf715d4
327b9ddec58159ebdea65b1078145bc6696b2705
refs/heads/master
2020-07-13T08:29:24.229540
2019-08-29T00:20:52
2019-08-29T00:20:52
205,045,156
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> (3 < 4) and (4 < 5) True >>> -3 ** 2 -9 >>> ##注意上面的运算符优先级 >>> ## **优先级高于 -优先级 >>> >>> (-3) ** 2 9 >>> ##加上括号则优先级先算括号里的 >>> ##同理 >>>...
[ "noreply@github.com" ]
haole1683.noreply@github.com
6f9b939f82691663c13f89083b151c6d02316bcf
0833e4118476eb142b6f2fdc5da7b326c28216d2
/proj1/api/http_server.py
8eee92e9de93371db3a4ddd51866b380e103a3b1
[ "Apache-2.0" ]
permissive
unazed/small-HTTP-server
ca232077639e7f52ba997f154d89148785ea3c7f
023fe32ec0c3068ff9f156e1e66ee8d16e03a13b
refs/heads/master
2021-05-25T21:11:26.741153
2020-04-14T18:01:54
2020-04-14T18:01:54
253,920,906
2
0
null
null
null
null
UTF-8
Python
false
false
6,674
py
from .socket_server import SocketServer from sys import _getframe as _gf from urllib.parse import urlparse, unquote import threading import socket import os HTTP_VERSION = "HTTP/1.1" SUPPORTED_METHODS = ("GET", "POST") SUPPORTED_HEADERS = ("host",) ERROR_PAGES = { 400: "400.html", 404: "404.html", ...
[ "leethax0r.coder@gmail.com" ]
leethax0r.coder@gmail.com
7bd3e5c0e488bb3cd1a5ff231d0d875413fcfb7d
a7fd50490c8fed88cb6ae21f68eee325eed32184
/wsgi.py
6d09d011de12af8041a30792531f81275d698b58
[]
no_license
winnate/Flask-Project
ef1a00614c6c25c4a6c119733e538af74ac9c1cc
607d92e626a6c88f132ee4b56f461a384e05738b
refs/heads/master
2020-06-09T08:34:47.947055
2016-12-09T15:52:30
2016-12-09T15:52:30
76,049,067
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
from helloWorld import app if __name__ == "__main__": app.run()
[ "main@vps99610.vps.ovh.ca" ]
main@vps99610.vps.ovh.ca
6dce8ab5aa0b8bd0c0ee86d7753accc09fc9c3a9
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/groups/migrations/0024_auto__add_field_grouprule_account__add_field_group_account.py
6efb4463b3442d5bbdba8fed2d4d0f47a61bb622
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
6,761
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): depends_on = ( ("accounts", "0004_create_old_data_account"), ) def forwards(self, orm): # Adding field 'GroupRule.accou...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
4476c578877edb97bf48979ff7959da92847869d
c508d75aa25e235a55a0602d93af6d2e12cc8571
/PNGUpdate.py
3c2f93d0e7b717207d80c395a97642a2499affde
[]
no_license
imnewbe/Python
7870407e653cb5d377d63172afdf2aebb2300130
781e9c0366bdea821eb6e518f24ebfa657481d6b
refs/heads/master
2021-09-13T20:41:25.913209
2018-05-04T03:19:53
2018-05-04T03:19:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,079
py
#encoding:utf-8 from struct import * from zlib import * import stat import sys import os import argparse class PNGproccess(): def __init__(self,filepath): self.filepath=filepath def getFile(self): _dir=[] pngs=[] path=self.filepath files= os.listdir(str(path)) for...
[ "yckyos261@gmail.com" ]
yckyos261@gmail.com
ce06337232aea0d020c597bf68c7e23c8dfbacb3
73333d3a7bb3be8ca6eb12a80aba7d4f0dbcff99
/content/migrations/0001_initial.py
818018818fbb62f6d7beebeb584e61ca14a40a84
[]
no_license
kleine-alberta/yamdb_final
d251b0d86408cb38a2b7807fc0cc33817fe531bd
2b0eb72c4ecafee5e066e5f452290b7524e9344d
refs/heads/master
2023-03-11T08:12:25.001102
2021-02-27T23:26:34
2021-02-27T23:26:34
340,613,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
# Generated by Django 3.0.5 on 2020-11-14 15:45 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Categories', fields=[ ...
[ "jemand@MacBook-Pro-Jemand.local" ]
jemand@MacBook-Pro-Jemand.local
133eb8ff9bdd88c775a362eb91c937e712aea0bb
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/workloads/setup.py
4eb445f63f094bb7c215e4c40b08e0266e1db3d9
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
1,704
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
842ea8d847ca0d8514eb8efc7bf05841e0aa0d31
e04d7dedd28e6ae77fdead98cc870e8969e4e7fc
/venv/bin/easy_install-3.6
0884f63c734475a699effa551be434a39db10d2c
[]
no_license
damodharn/Python_Week3
eb9670707ffcf07feb2596431eb747ab90ea0c89
3a47a6f464fb066a00f7277de4ca9d9c37850da9
refs/heads/master
2020-06-29T21:53:42.311181
2019-08-13T13:29:17
2019-08-13T13:29:17
200,634,151
0
0
null
null
null
null
UTF-8
Python
false
false
446
6
#!/home/admin1/PycharmProjects/week3/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$',...
[ "damodharn21@gmail.com" ]
damodharn21@gmail.com
0b7dfd99cdf13d9ecafbc21d8fc4f34870cc081b
e1d6de1fb5ce02907df8fa4d4e17e61d98e8727d
/crawlers/urllib2s/urllib2_posts.py
e58f5ccf7fb07608478bd5d3e0cbb37eff0ded44
[]
no_license
neuroph12/nlpy
3f3d1a8653a832d6230cb565428ee0c77ef7451d
095976d144dacf07414bf7ee42b811eaa67326c1
refs/heads/master
2020-09-16T08:24:37.381353
2016-09-10T19:24:05
2016-09-10T19:24:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
import urllib import urllib2 url = 'http://www.douban.com/accounts/login' values = {'form_email': '', 'form_password': ''} data = urllib.urlencode(values) req = urllib2.Request(url, data) resp = urllib2.urlopen(req) html = resp.read() print(html)
[ "anderscui@gmail.com" ]
anderscui@gmail.com
66259f17ed43af8cc07fab9f59f2c6e11087508a
e84f8bcf2ea91ac12f9850a6f487b8b6bff09235
/pyfr/backends/cuda/types.py
0cc8c1b194cd8f1297244c06bf5c39a0ec500c80
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
Aerojspark/PyFR
2bdbbf8a1a0770dc6cf48100dc5f895eb8ab8110
b59e67f3aa475f7e67953130a45f264f90e2bb92
refs/heads/master
2021-01-14T08:51:48.893378
2014-09-01T15:02:28
2014-09-01T15:02:28
24,884,060
0
1
null
null
null
null
UTF-8
Python
false
false
5,726
py
# -*- coding: utf-8 -*- import collections import itertools as it import numpy as np import pycuda.driver as cuda import pyfr.backends.base as base class CUDAMatrixBase(base.MatrixBase): def onalloc(self, basedata, offset): self.basedata = int(basedata) self.data = self.basedata + offset ...
[ "freddie@witherden.org" ]
freddie@witherden.org
72495810a78ce69ddce07046d3fd8c3b966f054f
a65d2aea5fa26637ef6c246c292fc7c1f0336559
/OMTB/addons/omtb/models/profile.py
92953d4156add422dba299ce7e42b6a82fb7eff7
[]
no_license
FrancisXavier99/Projects
d1b2163c18a918ddc80803df890a9ef1754228d1
fc46148d8bbd89be84b7f788ccc212a692176f09
refs/heads/main
2023-06-01T15:54:54.072347
2021-06-16T14:04:36
2021-06-16T14:04:36
374,558,913
0
0
null
null
null
null
UTF-8
Python
false
false
6,148
py
import re, pdb from datetime import datetime, date from odoo import models, fields, api, _, tools from odoo.exceptions import ValidationError, UserError from dateutil.relativedelta import relativedelta class User(models.Model): _name = "user.details" _description = "About Movies Details" _rec_na...
[ "noreply@github.com" ]
FrancisXavier99.noreply@github.com
f30fbc263e43824efc25dcf9663d9fb6a9abb5c8
e268dd698fa01c872c0a26771fd26958fd202349
/app/cam.py
e9eb0fa175f667117400b7e259790fba688b1040
[]
no_license
paddy667/farmCam
93134acf20a23f7688a1209d65bfa3abfd952d26
e7a16f9efde8b07e5da20996f1c487cb8439a694
refs/heads/master
2016-09-03T07:33:36.153380
2014-04-12T11:46:47
2014-04-12T11:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
#!/usr/bin/env python from Camera import Camera def RunCam(ws): t = Camera(ws) t.run()
[ "paddym1991@googlemail.com" ]
paddym1991@googlemail.com
91f594c0d623009fa6d5f267254ce89dd81b5e16
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02846/s097636759.py
3a28136572804ebc45464a64aaca2efeebe9c309
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
import sys sys.setrecursionlimit(10**9) INF=10**18 def input(): return sys.stdin.readline().rstrip() def main(): def nibutan(ok,ng): while abs(ok-ng) > 1: mid = (ok + ng) // 2 if solve(mid,2): ok = mid else: ng = mid return ok ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3dd5461c1eb9bb0714bb5ea7ec1ea8ac8ca09243
3285937cce9d3727e3db9514fd0b680fe643242b
/apps/courses/models.py
037ce642884ac03206d252824d3fd82f30fe7b6d
[]
no_license
codescracker/online_edu
6f7de116b5d9d8f37b3ef9a2cbe47b39cae14398
5f7dee346aa28181c6c17214ba7ecc18b3429cbc
refs/heads/master
2021-05-16T01:40:54.917522
2017-12-04T18:59:56
2017-12-04T18:59:56
106,333,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,195
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from datetime import datetime from django.db import models from organizations.models import Organizition, Teacher # Create your models here. class Course(models.Model): organization = models.ForeignKey(Organizition, blank=True, null= True, verbose...
[ "shaowei@Shaoweis-MBP.fios-router.home" ]
shaowei@Shaoweis-MBP.fios-router.home
c21da64e020196425d949a6cca7398d595768846
743b1adb04ce5f168d9314c0cf391f0727bb8a55
/src/utils.py
37e31567a893da09b353067193b912d127302f00
[]
no_license
khavarilab/skin-gene-sigs
1284c4df722f7249faaa7d324c73105b9cc65b5a
09e580a70581a9d98ad6da1e7b925670ce04ff46
refs/heads/master
2020-05-14T11:54:19.213730
2019-09-20T18:54:04
2019-09-20T18:54:04
181,785,272
0
0
null
null
null
null
UTF-8
Python
false
false
5,481
py
import os import numpy as np import pandas as pd def make_matrix( quant_dirs, quant_main_dir, out_dir, quant_type="rsem"): """merge quant files """ if quant_type == "rsem": quant_file = "Quant.genes.results" for file_idx in range(len(quant_dirs)): qua...
[ "dskim89@gmail.com" ]
dskim89@gmail.com
40c5123d3a35072e677f5943c249111d5c5e8ce8
7c36183253f76d9c3b551d44faebd3f98215f660
/TAHiring/urls.py
b93eb17e5739f938f130db0bcd7469fcf329c96c
[]
no_license
smcarington/utilities
1bc59b5a9a1d1a89665199f019a21227b05fc56b
0a029d69eafaeaab9941ee8298a4835dd2acc785
refs/heads/master
2021-01-20T07:57:35.392521
2017-05-11T15:40:03
2017-05-11T15:40:03
90,074,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,807
py
from django.conf.urls import url, include, patterns from django.contrib import admin from . import views urlpatterns = [ # TA Application Form url(r'^ta_application/personal$', views.application_form_personal, name='application_form_personal'), url(r'^ta_application/courses$', v...
[ "kreizhn@gmail.com" ]
kreizhn@gmail.com
36a3086b66a4b2ade18dafd6d8258ef29a3e96fe
22baacd8f20ed28eabf3dc1c0737502de3d8e794
/server/db/client_dal.py
3fda4340f55ca12389d7a4ebf081eeff12320b68
[]
no_license
lgadi/diag
48398be132c2a0b62fa7673ec9ebcc5afba46d5c
9b4c1e1baa41eb3e4571f91eca991b36d7ba8213
refs/heads/master
2021-01-19T00:51:25.440582
2017-04-23T17:31:15
2017-04-23T17:31:15
87,213,860
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
import logging from .db_access import DbAccess class ClientDal: def __init__(self): self.db_access = DbAccess() def save_client(self, client_id, date): self.db_access.query_and_commit("INSERT INTO customers (account, lastSeen) " "VALUES (%s, %s) ON DUPL...
[ "yonlif@gmail.com" ]
yonlif@gmail.com
1c1cd50bb8c1057e0c75c3bb4ac82104e50caeb2
d0969c8765d00090651ea7d33e13e8976f554b7f
/mergesort.py
f0840b665cf38f546384899951c318824d3193e3
[]
no_license
Gurinder-Kaur/Trees
ff130c358d18adcfbf6c172f315ad21274e7df99
4944123b28f518813fdf2395f696dd4259bb20b7
refs/heads/master
2020-04-24T12:46:05.876038
2019-02-22T00:40:33
2019-02-22T00:40:33
171,965,918
0
0
null
2019-02-22T00:39:04
2019-02-22T00:19:56
Python
UTF-8
Python
false
false
664
py
def mergesort(arr,first,last): if(first<last): mid=(first+last)/2 mergesort(arr,first,mid) mergesort(arr,mid+1,last) merge(arr,first,mid,last) def merge(arr,first,mid,last): n1=mid-first+1 n2=last-mid for i in range(1,n1+1): arr1[i]=arr[first+i-1] for j in range(...
[ "noreply@github.com" ]
Gurinder-Kaur.noreply@github.com
5f43276c56036f6fb66ed1d8b271c4f884b8a619
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/display_board_20201108143615.py
98a8605857b33b641a94ead1694ab306c856f3eb
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
10,475
py
from config import * import pygame as pg class Display_board(): def __init__(self, screen): self.screen = screen self.font_num = pg.font.SysFont("comicsans", NUMBER_SIZE) self.font_cdt = pg.font.SysFont("comicsans", CANDIDATE_SIZE) def draw_val(self, val, x, y): text1 = self....
[ "jle040@uit.no" ]
jle040@uit.no
880bc884f5809541b1638d7845dfcb552cbdb3ea
cebe592b4fa6a1946f907d460e3ee48fbacbe9eb
/news/views.py
a1504b03cecbf6822fb25e5ec851bc463a43e74b
[]
no_license
GrigorashPasha/Django_News
8c507074d32ea2eb5ec1a6e23771c0baef07e871
7c2e0f2c24cbf2edb3bf0f3870fe04264dd97267
refs/heads/master
2023-08-16T04:07:35.510259
2021-10-11T13:55:37
2021-10-11T13:55:37
415,576,744
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
from django.shortcuts import render, get_object_or_404 from .models import News, Category def index(request): news = News.objects.all() context = {'news': news, 'title': 'News List', } return render(request, 'news/index.html', context=context) def get_category(request, cat...
[ "GrigorashPasha@gmail.com" ]
GrigorashPasha@gmail.com
70001b56d298f5befbbcdf00e94f61e060b46a96
21b0483666d8e5cbdc4a911bda93e1a3392c40ec
/lib/initialConditions.py
1f3e0b6022939d9fa360915afc8482217719f223
[]
no_license
Christopher-Bradshaw/fluids_final
0541111323c640b40ee86f970acb896689bbb867
2e33b2ef04fdbd40760c1804a02c86c93c5fd926
refs/heads/master
2021-08-24T03:13:43.132099
2017-12-07T20:33:31
2017-12-07T20:33:31
113,245,782
0
0
null
null
null
null
UTF-8
Python
false
false
5,193
py
import numpy as np def getPressure(energy, volume, gamma): return energy * (gamma - 1) / volume def getFlatConfig(): dx = 1 width = 5 gamma = 5/3 # Densities initialRho = np.ones(width) # this will never change summedInitialRho = np.array([ initialRho[i] + initialRho[i+1] for i in ...
[ "christopher.peter.bradshaw+github@gmail.com" ]
christopher.peter.bradshaw+github@gmail.com
9dba178ee6999679708b4581bea8311fc67bbb5d
3406050d4598df16ad845fc0dd15466b1bbdcd6a
/hw2.py
30a977646f2534f4221b309158b852bf74f1d4cc
[ "MIT" ]
permissive
ranayukirin/ImageProce_hw2
e895bee84a0f9d196f7c90804dcf1b36d0ffbc23
9f1bbd98d62bb4d4af035de786c15bed6ee7a892
refs/heads/master
2020-04-05T13:15:36.538340
2018-11-25T10:29:30
2018-11-25T10:29:30
156,894,372
0
0
null
null
null
null
UTF-8
Python
false
false
8,935
py
import numpy as np import matplotlib.image as mpimg # read image import matplotlib.pyplot as plt # plot image import tkinter as tk # GUI design from PIL import Image # used for save image from numpy.fft import fft2, ifft2, fftshift, ifftshift # fourier transform # Set information of GUI window = tk.Tk() w...
[ "ranayukirin1991@gmail.com" ]
ranayukirin1991@gmail.com
8eba694257fb2cd1c5750a2505491f7ba4288376
551de475a2d0933858afb8821a7688787b0d1233
/pollster/polls/admin.py
406f1db5771bdeda4fdcdcf7489080d2d67b8845
[]
no_license
m-sulecki/POLLSTER_PROJECT
5417c3b2b8fb95fc63f27304f1d2aef64abe0585
40101ff49951e30d49739a4901ca79a92c31525e
refs/heads/master
2022-12-17T22:30:42.412188
2020-09-14T16:23:40
2020-09-14T16:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from django.contrib import admin from .models import Question, Choice class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): fieldsets = [(None, {'fields': ['question_text']}), ('Date Information', {'fields': ['pub_date'], 'classes': ['co...
[ "msulek59@hotmail.com" ]
msulek59@hotmail.com
40b4fc7442a3dca396d30cd384a4df70fbca793d
a6d8465aed280c36fb7129e1fa762535bae19941
/embroidery365/builder/migrations/0015_auto_20171107_1318.py
e8fb24e2d785b3b21a4799b1ab238de547240bcb
[]
no_license
rahuezo/365digitizing_and_embroidery
c61c53f567e73163a67d3fd568a20551a3681ccd
41a22b6ff8bd83238219f2d34ce13b5a8ef9bb57
refs/heads/master
2020-09-02T11:59:07.702947
2017-11-11T02:40:01
2017-11-11T02:40:01
98,377,801
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-11-07 21:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('builder', '0014_order_extra_details'), ] operations = [ migrations.AlterFie...
[ "rahuezo@ucdavis.edu" ]
rahuezo@ucdavis.edu
2ef93f787a9d83908066ad2e141bcdc977dc2348
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_pragma99.py
e33f306588051a905793954fdd141d45e8a365b0
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,468
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=11 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np class Opty(cirq.PointOptimizer): def optimization_at( ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
32174dd1625bad81be9d16899386c2ce47c90961
f4288d0d199e97a9ab43612f1e70684e07d2b678
/server.py
9b98d3424d1c629ef778de6d59532aa18b74c782
[]
no_license
ahmedlahrizi/rasp_temp
480a791d8f4bcac9212df4b48b6519b816cbdd25
4fda739cf94dc092f55200add2df74668ce6c6bc
refs/heads/main
2023-06-14T01:54:24.656690
2021-07-20T08:46:10
2021-07-20T08:46:10
387,139,765
1
0
null
null
null
null
UTF-8
Python
false
false
5,047
py
from flask import Flask, render_template_string app = Flask(__name__) @app.route("/") def index(): temp = "20°" hot = float(temp[:-1]) > 37.5 classs = "hot" if hot else "cold" return render_template_string(""" <!DOCTYPE html> <html lang="fr"> <head> <meta charset="...
[ "ahmed.lahrizi05@gmail.com" ]
ahmed.lahrizi05@gmail.com
c5686cd8bf048386474ab26abd3f7a030b8c3953
e64d09d81ebaaa22971f87d320e8da577ae5cdf8
/NBB/Scripts/it-script.py
65c803c67ad33407231ad42d643b8c390f991407
[]
no_license
Rafael-Prochnow/NBB
95a96eecc110deec7430325e10d6d02269d996ff
2af1d6d4c1f17c64cd96f49aa04cdc5cfd1576e7
refs/heads/master
2023-07-15T11:22:39.479067
2021-08-28T17:46:08
2021-08-28T17:46:08
267,161,907
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
#!"c:\users\elen- pc\pycharmprojects\untitled1\nbb\scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'it==1.0.0','console_scripts','it' import re import sys # for compatibility with easy_install; see #2198 __requires__ = 'it==1.0.0' try: from importlib.metadata import distribution except ImportError: try: ...
[ "rafaprochnow31@gmail.com" ]
rafaprochnow31@gmail.com
410d888700696f56ad4f03ddb9d930fb246715fa
1b3a632a8bf1d7d909e3b829d0ba9992aaa8985f
/release/1.3/default_settings.py
07fe04a1cfbc6ed4d6fedafc4d5319decf24ed2f
[]
no_license
fmierlo/django-default-settings
07d9d2e3a0c36a82af63e7b9cc2571c76142253d
6e3c506b6cde60fcbea1ac5cb33a69a500416b45
refs/heads/master
2021-01-17T17:31:37.499211
2016-06-16T09:10:26
2016-06-16T09:10:26
61,214,314
0
0
null
null
null
null
UTF-8
Python
false
false
6,548
py
ABSOLUTE_URL_OVERRIDES = {} ADMINS = () ADMIN_FOR = () ADMIN_MEDIA_PREFIX = '/static/admin/' ALLOWED_INCLUDE_ROOTS = () APPEND_SLASH = True AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',) BANNED_IPS = () CACHES = {} CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_KEY_PREFIX = '' CACHE_MIDDL...
[ "fabio@n42.org" ]
fabio@n42.org
ac2288c1dbb495d0e828a471d90faf6e0ddd521d
9e5528476fb616d45a12f516f404858a176ccee5
/problem_set_4/ps4a.py
8f4b6a1d2c567d2755cad6f52c64b3dde2defa8d
[ "Giftware" ]
permissive
reniass/MIT-Introduction-to-Computer-Science-and-Programming-Using-Python
610a16b07dd28d54ba056a7c65aac0f9868e68a8
9069645b39cf8c2e65a860e6c50939338693f33d
refs/heads/master
2022-09-25T05:24:15.868548
2020-06-02T17:58:21
2020-06-02T17:58:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,639
py
# The 6.00 Word Game import random import string VOWELS = 'aeiou' CONSONANTS = 'bcdfghjklmnpqrstvwxyz' HAND_SIZE = 7 SCRABBLE_LETTER_VALUES = { 'a': 1, 'b': 3, 'c': 3, 'd': 2, 'e': 1, 'f': 4, 'g': 2, 'h': 4, 'i': 1, 'j': 8, 'k': 5, 'l': 1, 'm': 3, 'n': 1, 'o': 1, 'p': 3, 'q': 10, 'r': 1, 's': 1, 't': 1, 'u': 1, ...
[ "renias747@gmail.com" ]
renias747@gmail.com
fe1d56388958e31ab2b394a4a508e40a320faf3b
e9a0380a7c258b785fb44d81c938fd4b85c961e8
/articles/migrations/0001_initial.py
c397bbfc1efc28b265b1ca76cbde7acc6c0bec8d
[]
no_license
awesome-academy/simple_api_drf
9cb92769022795fe74284eddbf729983d8625e04
b889425df0285153f954502093cf5b7bdb7c0d4e
refs/heads/master
2023-05-08T16:54:33.026359
2021-05-23T14:23:56
2021-05-28T13:52:43
370,073,902
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
# Generated by Django 3.2.1 on 2021-05-22 11:15 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.BigAutoFie...
[ "do.thi.diem.thao@sun-asterisk.com" ]
do.thi.diem.thao@sun-asterisk.com
b723760ee19970314f9f76ce4761b88748adc393
d90af0def0e29ebaebcf986399fcee65e1e2916c
/python/PDB/HSExposure.py
779b719cece4c85738eaaab62c3ecb814a685d26
[ "LicenseRef-scancode-biopython" ]
permissive
Zaiyong/csrosetta
2fdbbdd7da24ce971f7f2297a7cd14723cdd59d6
539c60664dba3972062002ff4e636c7f029927cb
refs/heads/master
2020-12-25T15:18:39.274689
2020-02-25T09:15:35
2020-02-25T09:15:35
65,408,072
1
0
null
null
null
null
UTF-8
Python
false
false
11,412
py
# Copyright (C) 2002, Thomas Hamelryck (thamelry@binf.ku.dk) # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Half-sphere exposure and coordination number calculation.""" import warnings from math...
[ "zaiyong@jianings-MacBook-Air.local" ]
zaiyong@jianings-MacBook-Air.local
9b6713c4988ceef1ba5e4516453df8082c8d8a8d
6763002b2c7e0c49348a0bffda52b4570c9e2822
/combination_plot.py
23384542f001160633c6b00f5767e49803de0267
[]
no_license
daveronan/music-axions
b83053f1da74f5eee2d948388b4daceb13a4742b
3fa23a82f34ca92510e95bbc298fa654679b9054
refs/heads/master
2022-11-26T10:50:30.356577
2020-08-06T10:16:32
2020-08-06T10:16:32
285,369,867
0
0
null
null
null
null
UTF-8
Python
false
false
3,720
py
import numpy as np import matplotlib.pyplot as plt from utilities import * # cmap for scatter speaker points cm = plt.get_cmap('jet') root = "/Volumes/External/JanData/" # Speaker channels # First index: speaker # Second index: variable (see "speaker_channels.py" for what is used) # Third index: time step channels ...
[ "noreply@github.com" ]
daveronan.noreply@github.com
7dfcd4cd24d5ed5f45978adad9a7d5d79e6a8df9
691793de7d07b17918d076b319281c706f7275c0
/signing_today_client/api_client.py
98948f9c78f3f2cce8197afcb845c184beb78226
[ "MIT" ]
permissive
signingtoday/signingtoday-sdk-python
1ddfae5340690c80760c500436631d4a8ff9c87f
ed267279622fb59f2ad8fa289157fc9cdf9d8a5b
refs/heads/master
2020-12-03T15:32:35.755222
2020-03-24T08:27:11
2020-03-24T08:27:11
231,372,803
0
0
null
null
null
null
UTF-8
Python
false
false
26,011
py
# coding: utf-8 """ Signing Today Web *Signing Today* is the perfect Digital Signature Gateway. Whenever in Your workflow You need to add one or more Digital Signatures to Your document, *Signing Today* is the right choice. You prepare Your documents, *Signing Today* takes care of all the rest: send invitation...
[ "smartcloud@bit4id.com" ]
smartcloud@bit4id.com
93de9a042164784e1ab3c9d2675bfade0049d3b5
f84c51d8159e973913f5c537f08d285bdb3630e2
/neural_sp/bin/args_asr.py
54e0a69463158cfa3a6d65a4044267be461a7bd4
[ "Apache-2.0" ]
permissive
lahiruts/neural_sp
d302ce0479bcbe813639c531f460d55a6c9c2a65
5b314ece12081db8b423d4dc32ce33f4228ff37b
refs/heads/master
2022-11-20T06:45:34.891542
2020-07-22T09:20:55
2020-07-22T09:20:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,139
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2018 Kyoto University (Hirofumi Inaguma) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """Args option for the ASR task.""" import configargparse from distutils.util import strtobool import os from neural_sp.bin.train_utils import load_config ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
b89e6024ba7fcd2978bed43342381eaea6996fb3
5ebfced62f59052560c6adf89bfd2f249877cc75
/webcomics/series/urls.py
46b8c581e3ef21673277aa776913f4bad5bfbd5c
[]
no_license
lumenwrites/webcomics
537c9bd0337ebd087dacdee7b72797b658481f8c
34200eaf19021147c561bf140a685e398156589e
refs/heads/master
2021-06-10T17:12:50.317113
2017-02-19T09:28:57
2017-02-19T09:28:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
from django.conf.urls import url from . import views from posts.views import SeriesFeed urlpatterns = [ # url(r'^$', views.BrowseView.as_view(), name='post-list'), url(r'^create-series/$', views.SeriesCreate.as_view(), name='series-create'), url(r'^series/(?P<slug>[^\.]+)/edit$', views.SeriesEdit.as_vie...
[ "raymestalez@gmail.com" ]
raymestalez@gmail.com
9eebe25c8f6da87eca5cb900628f905bdf287d16
52ad1906e8df7dca7d4afe9b01dd39c44ae28c56
/DiscreteRods/runExperiments.py
fc121d00147d584b4cc051ee0814ff06ced49a8b
[]
no_license
sameeptandon/surgical
03066a2c83e6d4dd47f86e5972d7f9848388db87
b53a601839d4004b9b5b34b03c9c83e8348b4cec
refs/heads/master
2021-01-18T06:12:38.758981
2011-10-17T17:48:31
2011-10-17T17:48:31
1,872,785
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
import os, sys control_in_filename = ["w2", "w2s", "w3", "w3s", "w4", "w4s", "x10", "x10s"] start_ind = 0 end_ind = -1 single_horizon = [0, 5] noise_thresh = [1.0, 1.2, 1.4, 1.6, 1.8, 2.0] for control_in in control_in_filename: for horizon in single_horizon: for noise in noise_thresh: for i in range(0, 10...
[ "alexlee_gk@berkeley.edu" ]
alexlee_gk@berkeley.edu
58131d1aa71473ab943067660abc9861fcece912
239bde952ead44bfd82248c66fc70de66f20ecb3
/nltkwordnetbot.py
c50da928465d521a75ff24dd924b577a8461bef0
[ "MIT" ]
permissive
bolavefasfas/nltkwordnetbot
498a7688f57d3caf13fff5bf121344ba52ef91fc
e1c08b9c9959336b9b44a6ad6afd1dd923f84082
refs/heads/master
2023-03-19T02:44:03.424054
2017-10-31T23:56:59
2017-10-31T23:56:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,561
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from telegram import ReplyKeyboardMarkup, ReplyKeyboardRemove from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, ConversationHandler import logging try: from nltk.corpus import wordnet as wn except: import nltk nltk.download('wordnet') ...
[ "noreply@github.com" ]
bolavefasfas.noreply@github.com
daae7ab1b7ac6d998eca5a559c61ec45f2d7095e
25985aeeee54373d26a164e4cc6a014770e3ebf3
/windows/w3af/w3af/core/data/nltk_wrapper/.svn/text-base/nltk_wrapper.py.svn-base
3f652ee04b353c653d75d4761f71621362d73520
[]
no_license
sui84/tools
4b750dae90940fbe3a226cba72dc071d8fb88b7c
651cc08eb50199ce1044c684dbf714ea26df6432
refs/heads/master
2021-01-22T19:22:26.964580
2017-08-20T15:23:38
2017-08-20T15:23:38
100,774,276
0
1
null
null
null
null
UTF-8
Python
false
false
2,047
''' nltk_wrapper.py Copyright 2011 Andres Riancho This file is part of w3af, w3af.sourceforge.net . w3af 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. w3af is distributed in the hope...
[ "sui84@126.com" ]
sui84@126.com
849248d7e72b67335a639deab4541372248975c3
a6d2c7618ba35a87b01749b01c8a41aba374f50f
/skynet/ovn/lsp/cli.py
746c588b05fbb3a0898c3651068c8edc054b9abc
[ "Apache-2.0" ]
permissive
amorenoz/skynet
5f5a9d630e3a6c728bcb14294b3430a9d7a9a844
4fde38d370fc732e5dac5f74b48680dc52551601
refs/heads/master
2023-05-30T18:38:53.266288
2021-03-17T08:16:51
2021-03-17T08:16:51
322,558,981
3
1
Apache-2.0
2021-03-17T08:16:52
2020-12-18T10:13:15
Python
UTF-8
Python
false
false
1,648
py
import click from skynet.common.printers import SeriesPrinter from skynet.context import SkyNetCtxt from skynet.ovn.lsp.data import LSPProvider @click.group(name='lsp') @click.pass_obj def lspcli(obj: SkyNetCtxt) -> None: """ Logical Switch Ports commands """ @lspcli.command() @click.option('-s', ...
[ "amorenoz@redhat.com" ]
amorenoz@redhat.com
69181cc8e5a1027d7c2b679066e749d4a7316a16
30afb48b8948a5f4426d42ee33a990be606a2528
/02.08day/01-飞机大战.py
b9a121a70fdbe9d4ba2ec4e80fafdbf639128a98
[]
no_license
AIGW/1807
2fdfbb5b9d2a74ddbfbdda715c91ad7653edec0f
9ae405c028f4888c601894dbf3efef0aadc5de45
refs/heads/master
2020-03-22T11:14:21.622429
2018-09-01T12:34:12
2018-09-01T12:34:12
139,957,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
import pygame from test5 import * pygame.init() screen = pygame.display.set_mode((480,700)) bg = pygame.image.load('./images/background.png') #bg = pygame.image.load('./images/game_loading1.png') #screen.blit(bg,(0,0)) #pygame.display.update() hero = pygame.image.load('./images/hero_blowup_n1.png') screen.blit(hero,(...
[ "414296787@qq.com" ]
414296787@qq.com
a52e520226a6a065ac0963816835529e458609bb
f5f60c690193bc7a15e28d794f3c60859025fa9d
/1_echo_server/server/work_with_data.py
219e58125c46549479176f9a466504324cdda753
[]
no_license
davadzh/UNIX
2681055d66cd0f3240e35729277c4c8634753111
5c9ccd9f778cfa3f850b8f363a0ca4d5568f8e19
refs/heads/master
2023-04-07T07:57:15.289068
2021-04-10T13:16:40
2021-04-10T13:16:40
356,586,861
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
from typing import Tuple, Union import yaml class DataProcessing: def __init__(self) -> None: self.file_path = "./data/users.yml" self.data = [] self.read_collection() def read_collection(self): with open(self.file_path, "r") as stream: data = yaml.safe_load(stre...
[ "adzhamyand@gmail.com" ]
adzhamyand@gmail.com
701240e0e4007a2404d6e6cc066b03a7c73458da
b8013e75b7744f0586add5ef2d88704240aff79b
/main.py
fe045a1e2761473971c75083cefec3fd0813cdd3
[ "MIT" ]
permissive
charlyvazquez/Shopping-System_Python-PostgreSQL
20d6ed7bb226d6cb033d94eecaba7ff90e41d6aa
09ca5bf438b5bb484201bed8cc1ac7181cb93c55
refs/heads/master
2023-03-28T07:20:26.430370
2021-03-28T22:44:54
2021-03-28T22:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,318
py
from tkinter import ttk from tkinter import * import tkinter.messagebox import psycopg2 class Shop: def __init__(self, root): self.root = root self.root.title('Shopping System') ##### VARIABLES ##### self.userFullname = StringVar() self.userNickname = Stri...
[ "fervallefer@outlook.com" ]
fervallefer@outlook.com
3206bbb3a5ddc4031426089f04566336b57b7675
7c1766618e9ae6937639b9176726836f3cc6c680
/autonomia/telegram_flask.py
2b2e283a4119792486a3652edba6884e6e353ffa
[ "MIT" ]
permissive
PythonistasBR/bot
d3b423954e4eb7fa398a9b5f135dbf6750fdb6c0
c4131c89ce71894e9173b89aba50f36ea80d5378
refs/heads/master
2023-08-19T06:23:45.135674
2023-08-15T07:41:44
2023-08-15T07:41:44
126,384,755
10
4
MIT
2023-08-15T07:41:45
2018-03-22T19:22:36
Python
UTF-8
Python
false
false
3,979
py
import logging from collections import defaultdict import telegram from telegram import Update from telegram.ext import ConversationHandler, DictPersistence, Dispatcher from autonomia.core import autodiscovery, get_handlers, setup_handlers logger = logging.getLogger(__name__) class TelegramFlask: def __init__(...
[ "fabio@cerqueira.me" ]
fabio@cerqueira.me
84e5fcfd587583ca2dcb9df4e20f057aa5110f3a
0393c644ea43dc480c788237a867fb3fe98f8960
/aims_/annotate_single.py
1e3078ca05828d09dce348547a8ab9b54ef6383f
[]
no_license
akoustic/AIMS
75a065d322d6cccb2968c1daac6cb5dede4ed0ba
553915d8a98a64673e7d5ac3b2cddb5e73265a07
refs/heads/main
2023-03-10T10:29:35.490265
2021-02-10T14:48:13
2021-02-10T14:48:13
310,282,584
0
0
null
null
null
null
UTF-8
Python
false
false
5,440
py
import base64 import datetime import dash import json from dash.dependencies import Input, Output, State import dash_core_components as dcc import dash_html_components as html import dash_table import dash_canvas import dash_table import pandas as pd from dash_canvas.utils import parse_jsonstring_rectangle from dash_ca...
[ "amakanksh@gmail.com" ]
amakanksh@gmail.com
d9031b16200b2e229191ed4fb1de2c5513080743
ec4ab98fc3febb5e562b17e252117bcc491ac4c0
/basicProject-10.py
e41f24ad3781bfc407acaf20a84000dcfa2fbb4e
[]
no_license
fancystuff4/pythonProjects
b8b01df79ad968f3194bacf2bea7e267cc5d8e9e
64bf6988283b4f27911fd9b11129b039a06d8d38
refs/heads/master
2022-12-15T13:33:09.438040
2020-09-14T09:59:58
2020-09-14T09:59:58
295,214,954
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# patients info def print_queue(*a_list, **a_dict): for person in a_list: for patient , info in a_dict.items(): if person == patient : print(person+" :") for key, value in info.items(): print(key +"="+ str(value)) print() patient_name=['harsh','javeed','salman',...
[ "noreply@github.com" ]
fancystuff4.noreply@github.com
9d257435dbe5779aef2f564f082771bdb84f5967
3f62ff1049a08ed2635161ee7371a879f878ed87
/run_all.py
09e810f2c59064a09b8b72793893081efdc84522
[]
no_license
fangjiantan/PostTest
b6d4fbae6938d87a8c532e3cdf2ad3c90f034773
c73531dc695551790f5a517d685cff9f8b0d9167
refs/heads/master
2020-04-01T09:47:50.031532
2019-05-09T06:07:24
2019-05-09T06:07:24
153,090,090
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
# coding=utf-8 import unittest import time from common import HTMLTestRunner import os import sys reload(sys) sys.setdefaultencoding('utf-8') curpath = os.path.dirname(os.path.realpath(__file__)) report_path = os.path.join(curpath,"report") if not os.path.exists(report_path):os.mkdir(report_path) case_path = os.path.j...
[ "fangjiantan@sina.cn" ]
fangjiantan@sina.cn
4bb7bb6e2a7d1c1aeb4b132b781607ddb54d9f4e
c2db6b72a67aba4535f9a36cd201a0a887528cac
/game.py
da6345acad87c10461b9a9f21294ca1b24a2aeb9
[]
no_license
McWixy/college_snake
9c311fff7ec1d5262c3704c55cc96dbaa7dce116
97739b1a2fb9667e828e2adadfed5849eea42c45
refs/heads/master
2020-06-01T02:59:07.023960
2019-05-23T16:11:35
2019-05-23T16:11:35
190,607,184
1
0
null
2019-06-06T15:40:56
2019-06-06T15:40:55
null
UTF-8
Python
false
false
2,438
py
from random import randint from snake import Snake class Game: def __init__(self, game_size : int): self.size = game_size self.map = [] for _ in range(self.size): ligne = [] for _ in range(self.size): ligne.append(0) self.map.append(ligne)...
[ "m.choulika@icloud.com" ]
m.choulika@icloud.com
214374daa226d99e5073ab7b542cbb0a073ca027
fce6762c17fc81009af226f71ca32d2dc8227beb
/Section 4 Matrix multiplications.py
952e60e048ad9f035f59866a9b471ae7989ef640
[]
no_license
kuangzijian/Linear-Algebra
3f9599ef282283dfc6bd49c0c97327a8fa31e671
94a872502ff570f04d61cb7bf1db653681f403c3
refs/heads/master
2022-11-04T07:05:55.272865
2019-07-31T05:32:42
2019-07-31T05:32:42
196,622,918
0
1
null
2022-10-29T19:00:25
2019-07-12T17:57:11
Python
UTF-8
Python
false
false
7,048
py
import numpy as np import matplotlib.pyplot as plt import math from sympy import * #Standard matrix multiplication, parts 1 & 2 ## rules for multiplication validity m = 4 n = 3 k = 6 # make some matrices A = np.random.randn(m,n) B = np.random.randn(n,k) C = np.random.randn(m,k) # test which multiplications are valid...
[ "kuangzijian1@hotmail.com" ]
kuangzijian1@hotmail.com
4231dcd3da50535d305658740cdd49c919fe3ae2
63f7e4817cafe56c01c17bfdfdc7281810c1d831
/main.py
ee82064db4cfa1ca44bb1ef272abff60d72e9787
[ "MIT" ]
permissive
QuinsZouls/arithmetic-processor
9440b8e8d8ddb863103b283cdeea05f688f2b617
b5b7d140566bfd7b87743c612c6ede712f83324d
refs/heads/master
2023-03-15T12:41:48.752327
2021-03-02T22:03:19
2021-03-02T22:03:19
342,156,228
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from lib.balanceador import checkBalance from lib.calculador import parsePostfix, postfixEvaluation regex = ' ( 3 * 2 - 3 ) + 25 ' if checkBalance(regex) : parsed = parsePostfix(regex) print(postfixEvaluation(parsed)) else: print('Expresión no válida')
[ "alfredomedranosanchez@gmail.com" ]
alfredomedranosanchez@gmail.com
307ea8911184939786c477ff795b9f1fdc2843e8
4d6ded0b601db0e68901977737b362aa63391388
/setup.py
144b790eb3925921ffef4aaff000a072929989b8
[ "MIT" ]
permissive
mtymchenko/npaths
e07c59f93644ee16e18478d930ec044a40769a17
5019694784afee9f60ab0b5f0f0ef3051e113077
refs/heads/master
2023-03-03T05:14:58.575248
2021-02-13T18:32:41
2021-02-13T18:32:41
255,169,239
1
1
null
null
null
null
UTF-8
Python
false
false
475
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="npaths", version="0.0.1", author="Mykhailo Tymchenko", author_email="mih.timchenko@gmail.com", description="Analytic modelling of switched N-path capacitive networks.", url="https://gi...
[ "mtymchenko@utexas.edu" ]
mtymchenko@utexas.edu
3482c862a6405f9d46af7e9c72673545f05201a1
eb8b5cde971573668800146b3632e43ed6e493d2
/python/oneflow/test/modules/test_instruction_replay.py
e9fbd188d1ecc88127be665d92a6ea691ab0065a
[ "Apache-2.0" ]
permissive
big-data-ai/oneflow
16f167f7fb7fca2ce527d6e3383c577a90829e8a
b1c67df42fb9c5ab1335008441b0273272d7128d
refs/heads/master
2023-07-08T21:21:41.136387
2021-08-21T11:31:14
2021-08-21T11:31:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
big-data-ai.noreply@github.com
8237056086a73308b9357d931b8b197a244cf0b9
8f298ede5b7218ab82113c11fc1af91a17fb5b03
/test/es/order_aggregate_test.py
e2205ca99a179405289616509b13cf7b6e00e331
[]
no_license
hieutt-teko/es-python-prototype
3c0edd78b99af1a6df33806526dbc4def0455ca2
90ebdaa1c546380bb26c91dd0f5949b3ce3c071e
refs/heads/master
2020-05-26T15:14:57.748242
2019-05-23T18:10:51
2019-05-23T18:10:51
188,281,628
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from es.order_aggregate import OrderAggregate from es.events import OrderAttributeChangeEvent def test_create(): order = OrderAggregate.create(1) assert order.version == 1 assert len(order.changes) == 1 def test_change_status(): order = OrderAggregate.create(1) event_1 = OrderAttributeChangeEve...
[ "hieu.tt@teko.vn" ]
hieu.tt@teko.vn
58c338b56fad5c94e647d5a68d06fd3b3ab40492
f78aeac5d6003d706bb17aff81fc69edd01a85d3
/createGraphs.py
851be58dc90865a7197565d17ef23ce5691ffd95
[]
no_license
conveyal/analyst-stress-test
47333deb30730743f2ef44afdd2828198263cc5d
812e22fccf093b776cf5f3af8bccb5a2ff38b7d2
refs/heads/master
2021-03-13T00:03:59.217673
2015-07-03T00:43:43
2015-07-03T00:43:43
38,375,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
#!/usr/bin/python # Create graph bundles for the cities specified in the config file. # usage: createGraphs.py config.yaml graph-bucket-name from sys import argv import yaml import tempfile import urllib import uuid import requests import boto.s3 from zipfile import ZipFile from os import environ temp = tempfile.mkdt...
[ "matt@indicatrix.org" ]
matt@indicatrix.org
d82e50b203674c28e29a03a70d96c073783588ec
9cbda3c2917f181ce2e4aeb2d82be3bf96fa13ce
/myBlog/models.py
9e22d7ed97074c9e1ca72581591b5e4d2fe2836e
[]
no_license
sunysir/blog
3edb6751bbb01bfa7995f8a07f6b4c54ce36f1af
190dc3cd800ce7a843dde29ebe5374caf7323626
refs/heads/master
2020-03-23T04:17:57.273742
2018-07-16T02:55:29
2018-07-16T02:55:29
141,074,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
from django.contrib.auth.models import User from django.db import models from datetime import datetime # Create your models here. from django.urls import reverse class Tag(models.Model): name = models.CharField(max_length=100) def __str__(self): return self.name class Meta: ordering = ['n...
[ "694190253@qq.com" ]
694190253@qq.com
d7f713061ea881fbefbe1f6de551c49ae26857a7
76e43c1b4cb9d9479271a5e73ee739190c038015
/myspider.py
3de540accdd9a645f922518d31df55b7a4bdb190
[]
no_license
nguyenletan/scrapy_google_corona
e182fd4d8e2fd20b73ec3546020b5ed77aac0429
bebca08e39b49ea49efb064b35336e958e694032
refs/heads/master
2021-04-12T16:47:31.848998
2020-03-31T01:48:37
2020-03-31T01:48:37
249,093,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import scrapy class CoronaSpider(scrapy.Spider): name = 'CoronaSpider' start_urls = ['https://google.org/crisisresponse/covid19-map/'] def parse(self, response): i = 0 for td in response.css('table > tbody tr'): # print(td.get()) country_name = td.css('td:nth-c...
[ "nguyenletan@gmail.com" ]
nguyenletan@gmail.com
30b31dbb48ee318100dfe52ceb8b3bf19ac84ee9
9aab01a48d1af5c4f1889ae9d27940f8bc738d37
/Mindshare/project_management/cvr/tables.py
4143730b11b7ed81bf26920c54a9c284e43bd1ea
[]
no_license
raveena17/workout-ex
274998170a3cfbf42bffe61d49fce8531eddc3f5
a9c652535f33d05199b3c5d26b72c721a822a2b7
refs/heads/master
2021-09-05T10:06:46.399468
2018-01-26T08:36:58
2018-01-26T08:36:58
119,025,925
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# import django_tables2 as tables # from .models import Cvr # #class django_tables2.columns.LinkColumn(, urlconf=None, , kwargs=None, current_app=None, attrs=None, **extra) # class CVRTable(tables.Table): # id = tables.LinkColumn(viewname='edit_cvr', args=[tables.A('pk')]) # class Meta: # model = Cvr...
[ "raveena@5gindia.net" ]
raveena@5gindia.net
9b6c57dd4f2b4267c065cff6ff2e5d26f7d3a071
46e8b33059dc1eb9e1608f71d3ddfbc07eb055a3
/jchars.py
41ca6445ac5a86c20a894d71ea5c315781c23dd5
[]
no_license
sofayam/kanjibridge
b7c735ef45831cfaa11b0e1773f9a3c599c51dfe
d1b12e8ee143fcc4cd9fd2e354153ea0f8bb3248
refs/heads/master
2020-07-08T05:35:22.392580
2014-01-16T16:33:07
2014-01-16T16:33:07
203,580,581
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
# -*- coding: utf-8 -*- jobr = '(' jcbr = ')' jcomma = '、' def isKanji(char): return (ord(char) >= 0x4E00) and (ord(char) <= 0x9FBF)
[ "mark.andrew@gmail.com" ]
mark.andrew@gmail.com
096195f9fd77304f13ae4e6d738ede02dafcf24d
b47f26dedee40936366549ab887abfc8daf47540
/devpro/encurtador/models.py
6525568f3d0394a4efb283811f38fb8a860ab606
[]
no_license
felsb3/urlredulce
a774a81ba100e49e98cfa99d150059fff601ec73
860f450fc4365b9d688a004384f1b8512345ae38
refs/heads/master
2023-06-01T17:10:46.813099
2021-06-23T18:51:40
2021-06-23T18:51:40
379,723,105
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from django.db import models # Create your models here. class UrlRedirect(models.Model): destino = models.URLField(max_length=512) slug = models.SlugField(max_length=128, unique=True) criado_em = models.DateTimeField(auto_now_add=True) atualizado_em = models.DateTimeField(auto_now=True) def __str...
[ "felsb3@gmail.com" ]
felsb3@gmail.com
372df8f1669c5ad4e46a11be9730b41376018e1e
508b7e24e494c929469c4e3bed631bd433378e0c
/projectTestWork/8.0.working_with_CSV.py
34abeaea51c1a6923b1228eec0e407cfd380852d
[]
no_license
Michelleoc/pands-project2021
1be759c9a3c2aac703b3abdc6c2140ff3b8cabf2
9495d49d6a7a07d4e028a5892600381f55677596
refs/heads/main
2023-04-13T17:54:38.500056
2021-04-30T20:52:02
2021-04-30T20:52:02
334,751,340
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt from sklearn import datasets from sklearn.datasets import load_iris iris = load_iris() features = iris.data.T sepal_length = features[0] sepal_width = features[1] petal_length = features[2] petal_width = features[3] # http...
[ "oconnormichelle1@yahoo.ie" ]
oconnormichelle1@yahoo.ie