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
86bf6ed357dd570605809d68ed49c90ca3b20e10
e366f8fa82ab9a23aa31b20e986b75d57eb6588b
/ChangeBlindness_Mudsplash/Code/Masks.py
3c7b2e4e75d00fec8984bc59adebdc58a9976490
[]
no_license
adamjbarnas/MetaCognition_Archive
2a9d4d7c0a297d0f9c3ff222d08309b8e08967fc
8b609292f82cb47a4de8c6b1d7894c540860a3b2
refs/heads/master
2023-07-08T02:54:12.073734
2021-08-15T21:13:23
2021-08-15T21:13:23
357,299,418
0
0
null
null
null
null
UTF-8
Python
false
false
6,491
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #run with python ''' This creates a difference mask image between two images, for example for defining the change between two versions of a change blindness image. To use this, the images should be renamed to version '-a' and '-b' and should be placed in a their own "ste...
[ "abarnas@ufl.edu" ]
abarnas@ufl.edu
d2ba189aba89ebba822655dfa4cb9b1f7376bf92
1ed4e96c20da03fbd3aa4f18d4b004a59d8f89e5
/Repo/venv/Lib/site-packages/caffe2/python/ideep/transpose_op_test.py
3aec7338ac4541e645ba39fbaad3b649eec73150
[]
no_license
donhatkha/CS2225.CH1501
eebc854864dc6fe72a3650f640787de11d4e82b7
19d4dd3b11f8c9560d0d0a93882298637cacdc80
refs/heads/master
2023-07-19T13:27:17.862158
2021-02-08T07:19:05
2021-02-08T07:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,364
py
import unittest import hypothesis.strategies as st from hypothesis import given, settings import numpy as np from caffe2.proto import caffe2_pb2 from caffe2.python import core, workspace import caffe2.python.hypothesis_test_util as hu import caffe2.python.ideep_test_util as mu @unittest.skipIf(not w...
[ "59596379+khado2359@users.noreply.github.com" ]
59596379+khado2359@users.noreply.github.com
332d727d38ce954166a1beb1b62bff910eceb16f
65d9a95d024697ac75a80a0f26f52d5804c2c270
/main.py
f67164e053cc7a7789b04178a239ddc9110200b7
[]
no_license
Harsh7wardhan/Musical-Time-Machine
cf16108f908138946c779ab0bdaeca9f51ca1261
474969abe49c91e1f2f236fe0529b31ff6929af4
refs/heads/main
2023-06-28T01:39:25.519016
2021-07-29T04:19:55
2021-07-29T04:19:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
#*******************************************************************METHOD-2********************************************************************************** import requests from bs4 import BeautifulSoup import spotipy from spotipy.oauth2 import SpotifyOAuth LIST_URL = "https://www.billboard.com/charts/hot-100/...
[ "noreply@github.com" ]
Harsh7wardhan.noreply@github.com
936dd94c962f83579a1cc4a41b43f4f39f29e46d
96f6dcd732aab0c8423ce6a6ef165818572ad3b6
/blogapp/models.py
a19a3b9fbc47117f92e4bc83c64ed36cbbf54ac6
[]
no_license
fanmengke123/DjangoProjects
29a6780ee20f3ef0ee6e7fac7800fa65a66c7b6e
75b4e4e85220e2af563a19f373debc569a18e847
refs/heads/master
2020-04-03T10:50:26.493761
2018-10-29T11:58:01
2018-10-29T11:58:01
155,204,031
0
0
null
null
null
null
UTF-8
Python
false
false
2,716
py
from django.db import models from userapp.models import BlogUser from datetime import datetime # Create your models here. # 轮播图 class Banner(models.Model): title = models.CharField(verbose_name='标题', max_length=20) cover = models.ImageField(verbose_name='轮播图', upload_to='static/images/banner') link_url = ...
[ "fmk1234@outlook.com" ]
fmk1234@outlook.com
a17135e5f502a23826237c0d8cd9ba0b1b3dd19d
2e78a401e83798292edcd75ebf593d38f95e8c7c
/polygon.py
7bfa95fffc810d14ccb259c3592c8214c4b3e264
[]
no_license
rniem379349/polygon
ba678c2f7d6a4d2c57359a82bc6af7e2ff753847
6fe78a9ae56739ca6625cfa64ed312acabd348c1
refs/heads/master
2021-01-13T15:35:57.774054
2017-03-12T12:25:18
2017-03-12T12:25:18
81,357,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
#!/usr/bin/env python # add libs import math def poly_area(midpt, vertex_num, circumradius): """ This function calculates and returns the area of the specified polygon. For more information on the program consult the readme file. """ area = 0 angle = 360.0/vertex_num # the interior angle of eac...
[ "robert.niemiec@smcebi.edu.pl" ]
robert.niemiec@smcebi.edu.pl
c1cc3b075fea160222739b2a1655ba89593a7718
eb81b46da49be3cfcb002ddb703e2ed015050c69
/old_data/make_plots.py
7b767eeab09389f39ebc2a6aff1480d204048cc7
[]
no_license
Hasanth-Sista/poker-hand-prediction
fb42b52f0d8b14bf306b9b19a67a8793128163a4
bae1a2332f032ea6764eb2201279e90a7e5f7955
refs/heads/master
2020-04-19T21:56:32.239120
2018-12-17T11:05:19
2018-12-17T11:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
import matplotlib.pyplot as plt import pandas as pd training_data_path = '/Users/manvapradhan/PycharmProjects/big-data-project/data/poker-train.csv' testing_data_path = '/Users/manvapradhan/PycharmProjects/big-data-project/data/poker-test.csv' training_data = pd.read_csv(training_data_path) testing_data = pd.read_csv...
[ "pradhanmanva@gmail.com" ]
pradhanmanva@gmail.com
288f276bf9c6a90a44d13ca6bb703623d5a36e84
eb69b3e72257d6557516dc0a83e995a54a6476de
/schooldata/data_handler.py
4d63e3092b4d8adfe0e32c3efed1c66665be09ff
[]
no_license
Gozied/University-data
11b3ee0cbf2877b60c6239eac88ac04ddcee0d6e
30670b3fbbd6e4666974027fda49c9356f843963
refs/heads/master
2023-01-11T12:42:30.681072
2020-11-23T14:14:16
2020-11-23T14:14:16
300,006,422
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
import os, sys import csv from Abel.schooldata.table import Table class DataHandler(Table): def _write_records_to_csv(self, fieldnames, table_name): """ this method writes to a csv file""" path = self.get_file_path(table_name) with open(path, "w", newline="") as f: writer...
[ "abel.dav85@gmailcom" ]
abel.dav85@gmailcom
29efe16b393f9d4d831db3eef3a08469a0883632
0e1771788afcdf37486e4caca35387f346c21b59
/src/nodeApi/kodo_helper.py
4a896b308f0934a0773bfbbe9f40319030501aaf
[]
no_license
AlexKarlsen/Distributed-Storage
ad13224540be9e3704b3be54ccd9781668e9b094
feffdaf5a5d08dfe83e144d18721e747fa7e951c
refs/heads/master
2021-07-19T23:03:14.009932
2019-01-15T08:43:17
2019-01-15T08:43:17
148,625,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import os import sys import math import string import random # try importing the ``kodo`` module try: import kodo print("Kodo imported successfully") except ImportError: print("Unable to import kodo!") # parameters symbols = 4 symbol_size = 1024 field = kodo.field.binary8 # overhead should be 2 for l = ...
[ "alexkarlsen7@gmail.com" ]
alexkarlsen7@gmail.com
596dcd792ef4674bd47ccc42cc9c38f4cf294729
662c78dfd4fbc45166760373007b9fae7d88ebf3
/Day 5/part2.py
e3a5c2f41809a77d459f64a91f690b0885a95cb1
[]
no_license
Timmeh42/aoc-2017
5c9b8f154c29881e3cf33f6f027903953805959f
d78da70350a15c9c504983ca290eefa390e97c6b
refs/heads/master
2020-03-12T01:55:25.232041
2018-04-20T17:05:41
2018-04-20T17:05:41
130,388,337
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
with open("input.txt","r",newline="") as archive: input_data = archive.readlines() for i in range(len(input_data)): input_data[i] = int(input_data[i]) pos = 0 steps = 0 while (pos < len(input_data)): if (input_data[pos] >= 3): input_data[pos] -= 1 pos += input_data[pos]+1 else: input_data[pos...
[ "noreply@github.com" ]
Timmeh42.noreply@github.com
e1b0191eafdf1e9c4874801c76609579f471be2e
35e546dd970ab8f38aa0717e556220cb534332e9
/OnlineShopping/settings.py
6ed68ccd502e83193fa8aec267517b09885e7421
[]
no_license
rohiem/django-E-commerce
57a1499c9a19f2f503a155ed9ff112de71050f2c
019d8e622b579e7c3212b372e89187aacbe0c4f4
refs/heads/master
2022-11-28T12:08:43.329024
2020-08-10T04:29:36
2020-08-10T04:29:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
""" Django settings for OnlineShopping project. Generated by 'django-admin startproject' using Django 2.2.10. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impo...
[ "rehimovich@gmail.com" ]
rehimovich@gmail.com
2d9a3523da8e62dd3f317eb07f5ca2d329998ecf
4944abb9ea5575996fe142977b02efc624e72bd6
/faster-rcnn.pytorch/trainval_net.py
06be999557b99d854ed373e18731be740f0d9126
[ "MIT" ]
permissive
Yicheng-ZHANG/FasterRCNN-Flask
d96b271d5f32b1322bb86d2dfad1477fb8315654
799f5468ee73be50cf57eca84800bf28b1070f40
refs/heads/master
2023-09-05T03:27:30.843410
2021-10-26T06:51:56
2021-10-26T06:51:56
406,719,383
0
0
null
null
null
null
UTF-8
Python
false
false
15,551
py
# -------------------------------------------------------- # Pytorch multi-GPU Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Jiasen Lu, Jianwei Yang, based on code from Ross Girshick # -------------------------------------------------------- from __future__ import absolute_import ...
[ "876610446@qq.com" ]
876610446@qq.com
148884dc9f1075d3417faea893abf885de445ed6
d55f946ce6a509876742a5ea30264bcc46719f65
/WSQ03.py
f763f04b5dd3e25d23aa453a6d3563a636de6b31
[]
no_license
PablOCVi/WSQ
ddd27c7067a14209ddd96f27c7fc33df822d3183
5294468b5a818333c28edc5eb9b22bf16a5b8570
refs/heads/master
2021-01-13T01:44:48.324557
2015-05-04T13:50:40
2015-05-04T13:50:40
30,381,043
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
x=int(input("Ingresa un Numero: ")) y=int(input("Ingresa otro Numero: ")) R=(x-y) S=(x+y) D=(x/y) M=(x*y) Mod=(x%y) print("La Resta es:",R) print("La Suma es:",S) print("La Division es:",D) print("La Multiplicacion es:",M) print("El Modulo es:",Mod)
[ "a01630814@itesm.mx" ]
a01630814@itesm.mx
71a60ae3a56d004d2c08f9fe9aa3599963428991
8ea59ec40177236c09fa373747fb152fd9692556
/DianShang/pipelines.py
947634297382f5da55cffcfb32a3507db8a30bff
[]
no_license
otacu/DianShang
484b0680dcdef5aeadaae6574bb93d26a0a47998
184584ced38bbd545088b20298270d1a1590dea1
refs/heads/master
2020-04-23T14:28:09.101830
2019-02-27T08:14:37
2019-02-27T08:14:37
171,232,478
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import MySQLdb import MySQLdb.cursors class DianshangPipeline(object): def process_item(self, item, spider): retu...
[ "jingsheng-ye@msyc.cc" ]
jingsheng-ye@msyc.cc
03bc67658e2b2f156ebbba41e08c7bd02abce906
e9268c6dd9a71e77df6b6554dcc1a96fdae343e8
/19 Decode A Web Page Two.py
bef77f7ec6a2224a0ec52b6a9384858882f58b34
[]
no_license
Gencid/practice-python
88fb3a40d38cdc9be695fd992f20b03b8b995d73
21064cd07dcc3a7f086248a6094c3691fd44976a
refs/heads/master
2020-04-04T17:47:45.060381
2019-04-21T11:30:38
2019-04-21T11:30:38
156,135,052
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
"""https://www.practicepython.org/exercise/2014/07/14/19-decode-a-web-page-two.html""" import requests from bs4 import BeautifulSoup shameandsurvival = "https://www.vanityfair.com/style/society/2014/06/monica-lewinsky-humiliation-culture" req = requests.get(shameandsurvival) req_html = req.text soup = Beaut...
[ "noreply@github.com" ]
Gencid.noreply@github.com
5214aad27f2a5ba1db061418fed7798bfd51736b
96369a5bb49ad3251c3e48cbf3eb5ceb46e5db65
/manage.py
890143e7e6d828481efdc198baa0d813ab24bf6b
[]
no_license
lefhiro-s/test-api-django-pokemons
ae20fd8b99e6fdffdf502fc059a510da397738f9
cbe4ed73eadecbb9c440279ee1d50a070f9c0f9e
refs/heads/master
2023-01-29T00:32:50.997372
2020-12-04T04:06:55
2020-12-04T04:06:55
281,191,704
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project_turpial.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "lefhiros@outlook.com" ]
lefhiros@outlook.com
81057b3c3fc9aa6dcf250c11ed8d316995fed681
799e3153b684ac21cd99f7b0a41d92ca41bf4d92
/produto/views.py
3298d937ab82dd4bbe5970bdbe67c0c1248c49eb
[]
no_license
claudiopdcgdm/python-simple-ecommerce
c0f3cb09a2abfcd722b2ea15b35f8ee7d31888a6
3d9a62de2181291299559a8f7a6b1548d3ce8028
refs/heads/master
2023-06-17T20:06:01.291922
2021-07-16T15:52:53
2021-07-16T15:52:53
377,303,904
0
0
null
null
null
null
UTF-8
Python
false
false
6,614
py
from django.http import HttpResponse from pprint import pprint from django.shortcuts import render, redirect, reverse, get_object_or_404 from django.views import View from django.views.generic.list import ListView from django.views.generic.detail import DetailView from django.contrib import messages from .mode...
[ "claudiopdcgdm@gmail.com" ]
claudiopdcgdm@gmail.com
70d5cef72ca42914d1b560e8a2f9eb92043da88b
7afaa7d6f8a69e91e0413b0c0c2412f7cb64bd3b
/src/tk_tools.py
7ca0e9e04affe3c35099d7366b9bf72ad6d87fa3
[]
no_license
Antecer/BEE2.4
b6d44429e6120f967be5806b809e915b6b991f9c
03ae7c8b917de7771684dfc4c6a55d86f4ef674a
refs/heads/master
2020-08-16T13:10:17.654938
2019-10-22T05:51:03
2019-10-22T05:51:03
215,505,257
0
0
null
2019-10-16T09:10:35
2019-10-16T09:10:35
null
UTF-8
Python
false
false
10,820
py
""" General code used for tkinter portions. """ from typing import Union, Callable from tkinter import ttk from tkinter import font as _tk_font from tkinter import filedialog, commondialog import tkinter as tk import os.path try: # Python 3.6+ # noinspection PyCompatibility from idlelib.redirector impor...
[ "spencerb21@live.com" ]
spencerb21@live.com
90b55178dc6fe2985c4725b0c399a6f1d8f0a9b9
3f99a5be32a57c59fbf3a0dfcc74594215fb3001
/bi_check_customization/models/__init__.py
3192f5954423d966ec6a09f8fea3231f568aa0ed
[]
no_license
Brahim820/dulexlab
b8e6891df22a4acd3d52775e61b2e9ad122a583d
7f8f7519acb08b0b2704aeac61878f2c459d53e1
refs/heads/master
2020-08-01T02:52:35.343291
2019-09-02T09:08:52
2019-09-02T09:08:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
# -*- coding: utf-8 -*- from . import account_batch_inherit from . import account_move_inherit from . import account_payment_inherit
[ "mkhairy@iskydev.com" ]
mkhairy@iskydev.com
cb8f8a8ed4abcdcec7dbc943f3004670d89dedc3
1ff9821122496299b4fe2db67a7088640c218497
/Examples/In progress/CEE213 CP4.py
f7500bf115ea21a8387437b522d75503962a6a65
[ "MIT" ]
permissive
herlianto314/StructPy
aa81372aec910a383d411b3396ee5c12a3f2e6f2
1176da59584341fd15ed17e1cdf896bafcab1b3f
refs/heads/master
2022-07-31T11:48:54.370175
2022-06-16T05:59:46
2022-06-16T05:59:46
266,047,247
0
0
MIT
2020-05-22T07:31:41
2020-05-22T07:31:40
null
UTF-8
Python
false
false
1,190
py
import numpy as np import cross_sections as xs xs1 = xs.IBeam(1, 1, 0.1, 0.1) L = 10 p = 1 E = 29000 def constant(x, **kwargs): return 1 def linearup(s, **kwargs): return x load = constant def simpsons(f, a, b, n): #function, start, stop, intervals if n % 2 == 0: h = (b-a)/n k = 0.0 x = a + h for i ...
[ "adambadahdah@gmail.com" ]
adambadahdah@gmail.com
4b2f73195dd5f43ea14e713fe4a191b669ad0687
2b15ccbd0d77ef1c8aacf3fd1c3b2e2feb699059
/frozen-flask/getfedora.org/main.py
06ede8b41f5d874381203c6921dec00de3d736db
[]
no_license
relrod/fedora-websites-ng
46346b60737272ef2c41d40f00400eb7c8828722
be786e1abfc39abdc7cf046c747a962f56c7ea03
refs/heads/master
2020-04-20T11:23:17.124468
2019-03-05T09:44:35
2019-03-05T09:44:35
168,814,823
0
2
null
2019-02-12T11:25:54
2019-02-02T09:17:39
JavaScript
UTF-8
Python
false
false
2,168
py
from flask import Flask, abort, render_template from flask_babel import Babel from flask_assets import Environment, Bundle from flask_frozen import Freezer from flask_htmlmin import HTMLMIN import jinja2 import os.path # TODO: Is there a nicer way to represent the data globalvar has? import globalvar app = Flask(__na...
[ "rick@elrod.me" ]
rick@elrod.me
65f1f8eef8e467fc03d5269b7c6636ab39e138fd
69cd57fc05d82b64da4347a5e0561388bb8cdce2
/EmployeeAttendanceManagement/EmployeeAttendanceManagement/urls.py
e98c4a83f0af616e35199ce903aee2f4077c4e9b
[]
no_license
GovindaPedhiwal/my_repo
70d64899c0d1b113002bdc57b94ce97fdf5baa50
3782f9f63296976745ac9426cb83264e8dcb1b9a
refs/heads/master
2020-08-12T18:21:06.268553
2019-10-13T12:44:46
2019-10-13T12:44:46
214,818,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
"""EmployeeAttendanceManagement URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, nam...
[ "govindapedhiwal@gmail.com" ]
govindapedhiwal@gmail.com
81b20f76d07c8a7cbf1b66bc3afdc49d9548020e
483d368c3628f19052d27ae640cac4d031544764
/libmediawiki/mediawiki.py
79404c581c64d839a5e0a9183db099ba9c65012e
[]
no_license
matthiasbock/django-mediawiki
92a61aa0da8502a62d76f3fb3dd4525cb60a76b6
dda9afafd0e7cf5ed4053e59f258cba86e638b6a
refs/heads/master
2021-01-18T14:01:56.049113
2012-03-13T12:29:49
2012-03-13T12:29:49
39,308,137
0
0
null
null
null
null
UTF-8
Python
false
false
3,260
py
#!/usr/bin/python # -*- coding: iso-8859-15 -*- import MySQLdb from Defines import * def query(db, cmd, debug=False): cursor = db.cursor() if debug: print cmd cursor.execute(cmd) result = cursor.fetchall() if debug: print len(result) return result class User: def __init__(self, db, q): self.database = ...
[ "matthias.bock@hu-berlin.de" ]
matthias.bock@hu-berlin.de
d921986eb2828953916cdd269af123f928264a10
6d9e1b15c253e108a0d517c8c00c291350cd28b0
/tdm/Modules/TaskHandler.py
d60a0960cf3d8ec2099e0ea0644c195e79d685cb
[]
no_license
bjartur/cocomaps
164966b3c5ed2a4a77b36566e1c374d7ca0e9b0a
c916831868c7b63eaf2883b908ada37ce4279b70
refs/heads/master
2021-05-08T14:42:58.961251
2018-01-29T09:16:55
2018-01-29T09:16:55
120,094,188
0
0
null
2018-02-03T13:36:44
2018-02-03T13:36:44
null
UTF-8
Python
false
false
3,473
py
# TaskHandler.py # This is the task machine that takes in a task and does actions according # To task definition. # The typical structure is # 1. Check for prerequisites (RequiredData) # 2. If prereqs return True : Check if task has activeTask if # there are active tasks then run throug...
[ "orn.david@gmail.com" ]
orn.david@gmail.com
e1b8d66eda8b6cd580b4c815d240c157f1d13166
669aba0a958370593beb07edbe4f1d4a45bb8539
/media.py
2d01780ebb1698ac12eccf5242d50142e0718d34
[]
no_license
anandvv/LearningPython
06b8f43111074feccb476dcc87a4e09fbe087b50
10693bae384d725d90ba1f75bc1b84266c88aa77
refs/heads/master
2016-09-05T22:45:23.393177
2015-03-19T01:33:46
2015-03-19T01:33:46
32,115,975
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
__author__ = 'Anand Vijay' import webbrowser class Movie(): """ This class provides a way to store movie related information.""" # class variables VALID_RATINGS = ["G", "PG", "PG-13", "R"] # constructor def __init__(self, title, storyline, poster_image_url, trailer_youtube_url): # instanc...
[ "anand.vijay@gmail.com" ]
anand.vijay@gmail.com
cef7dc58645f59995754470712015b2ae0d42b69
76d3996eab573f57db1282c98627a80fa17fd954
/nopcommerce/testCases/conftest.py
dc750f92391cdd9a4bef150922f9398dbefe638b
[]
no_license
BatataWada1/NOP-commerce
1c4915bc1051445c6c0734d62dc5d3b2b5cf6515
1287229ec150f52bf41c84a253caff0aa9d2d684
refs/heads/master
2022-12-13T05:30:02.673488
2020-09-10T10:52:08
2020-09-10T10:52:08
294,114,740
0
1
null
null
null
null
UTF-8
Python
false
false
1,546
py
from selenium import webdriver from utilities.utility import * from utilities.readProperties import readConfig from utilities.nopCommerceLogger import LogGeneration import pytest logger = LogGeneration.loggen() @pytest.fixture def setup(browser): if browser == "chrome": logger.info("Running test on Chrome...
[ "mandar_kulkarni1@persistent.co.in" ]
mandar_kulkarni1@persistent.co.in
9d5a260d62c1c8e95c6e544e0bb31de8a4640a0b
d1541a524974a36ca54bfbcc81925e1e0c589e18
/own_package/NGF/utils.py
4791b38c5515824fd0165863ffb2dc43330f6f24
[ "MIT" ]
permissive
amdprojectwanggroup/AMD-Project
fc6db5fc975129d724e017c007e77f5a0d87e363
53a4de19547093e729aa69a0221d94bb591f625b
refs/heads/master
2020-03-29T19:27:36.323964
2018-09-25T14:15:31
2018-09-25T14:15:31
150,264,268
1
1
null
null
null
null
UTF-8
Python
false
false
3,466
py
''' Utilities used within the NGF module ''' from __future__ import print_function import inspect from itertools import cycle def filter_func_args(fn, args, invalid_args=[], overrule_args=[]): '''Separate a dict of arguments into one that a function takes, and the rest # Arguments: fn: arbitrary func...
[ "amdprojectwanggroup@gmail.com" ]
amdprojectwanggroup@gmail.com
6cbec0c61c1f41e7c5edd40dbe6c629cca189aa7
13b8e4ccdf73c741fbe0522ffb648eee89b9a3ad
/pyced/__init__.py
2a828cda11e8eba9570f2bc5c55c99ca20dc6028
[]
no_license
cyborgizator/pyced
6c5111ee2e1acdc1c09cca736cd57056aa5fcc0e
6f828fefb6a44f25f1d9a3a10ea69d37c6e81050
refs/heads/master
2021-01-17T15:30:22.756153
2016-03-27T20:43:03
2016-03-27T20:43:03
8,270,592
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
__author__ = 'Alexey Bright'
[ "cyborgizator@gmail.com" ]
cyborgizator@gmail.com
223b548018a999cfebc3406733cd93632aa0855c
68427eaa0bcb97666c94942545a7c1412bf406ca
/src/pl/pytorch/models/classical.py
28a4911840b0b5dd8397d3d7f2d0834947a79fcb
[]
no_license
PhilWun/MAProjekt
167877eb2f90a092c44c51aaacb6709394df166f
3b115e2a4c1c9f0419bbc515f2318bd50794d268
refs/heads/main
2023-03-28T09:23:43.746570
2021-04-01T17:28:08
2021-04-01T17:28:08
319,325,525
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
import torch class ClassicalAutoencoder(torch.nn.Module): def __init__(self, input_size: int, intermediate_size: int, embedding_size: int): super(ClassicalAutoencoder, self).__init__() self.fc1 = torch.nn.Linear(input_size, intermediate_size) self.fc2 = torch.nn.Linear(intermediate_size, embedding_size) sel...
[ "philipp.wundrack@live.de" ]
philipp.wundrack@live.de
79b09addfd27891640d948479532d1a6461b06f8
1e3aedeefaf67ab6cb97bf3ebd157c3ba15d32f7
/venv/Scripts/easy_install-script.py
c9e0f90efa8d9398cce4ddca629bf3c7a55dd8af
[]
no_license
zbohannan/S3
06b88ba2fd4069ce1bd46208a13ef9cac812d033
4e8b0e043f88c5f00bbf380b3edb946da7da3330
refs/heads/master
2020-05-03T11:19:35.591304
2019-03-30T19:05:25
2019-03-30T19:05:25
178,598,156
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
#!C:\Users\zboha\PycharmProjects\S3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "zbohannan@gmail.com" ]
zbohannan@gmail.com
aa63f9c071515764ac8a1e221ca5a20b81fa49f6
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/macranges_ynjpzgdll3rydw5rl21hy1jhbmdlcw.py
32b41347aff76703b66f5696d81fd89d96d07a1a
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
14,463
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
1808bd130b6b88243cce2c4bae4164c9506178eb
e7b7505c084e2c2608cbda472bc193d4a0153248
/LeetcodeNew/python2/LC_688.py
69fc1bf826a594193152b60de67bbebd8ce0f2c1
[]
no_license
Taoge123/OptimizedLeetcode
8e5c1cd07904dfce1248bc3e3f960d2f48057a5d
3e50f6a936b98ad75c47d7c1719e69163c648235
refs/heads/master
2023-02-27T21:13:40.450089
2023-02-07T04:11:09
2023-02-07T04:11:09
170,044,224
9
3
null
null
null
null
UTF-8
Python
false
false
699
py
class Solution: def knightProbability(self, N, K, r, c): memo = {} self.directions = [(-1, -2), (-2, -1), (-2, 1), (-1, 2), (1, 2), (2, 1), (2, -1), (1, -2)] return self.dfs(r, c, 1, 0, N, K, memo) def dfs(self, i, j, p, k, N, K, memo): if 0 <= i < N and 0 <= j < N and k < K: ...
[ "taocheng984@gmail.com" ]
taocheng984@gmail.com
e89495037ac16655627886cb5989b613afde1f21
e8f5b6d990680b952f9608a917c0724d2ed08a9e
/day3_condition/condition.py
0eeb174afc683516670e2ccebd733fe18a3db721
[]
no_license
paduck210/python_crash_course
f0d6ee70e78d1b43dc39f48147e96e15696d2340
9891fc0f56836246ab0101c41a98de45ca09bfe8
refs/heads/master
2020-11-24T10:35:36.164514
2020-02-11T05:25:42
2020-02-11T05:25:42
228,110,213
1
0
null
null
null
null
UTF-8
Python
false
false
197
py
foods = ["sushi", "pasta", "bagle"] new_fruit = "melon" print(new_fruit in foods) if new_fruit not in foods: foods.append((new_fruit)) print(f"{new_fruit} is added on list") print(foods)
[ "hjyu1408@gmail.com" ]
hjyu1408@gmail.com
12499d7c5faa0248a92a4d91f459e1078a7ee323
a2c16a7ea71c375fa91e86bdc84008c78f971a1e
/interpreter.py
df543a34804bb44b458429412e6ce8e6ee3dbabe
[]
no_license
bagelflower/Sumerian
e6c5f57d7a80fc9044473a20e0699680f63e0110
001a0a0f60502b3ba0a5ab6fb36f13708101538a
refs/heads/master
2021-09-20T11:00:50.642679
2018-08-08T13:17:56
2018-08-08T13:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
# -*- coding: utf-8 -*- import sys filename = sys.argv[1] with open(filename, "r", encoding="utf8") as f: code = f.read() code = "# -*- coding: utf-8 -*-\n"+code display_cuneiform = False if len(sys.argv) > 2: if sys.argv[2]: display_cuneiform = True code = code.replace("𒅆𒅋𒆷","or") code = code.replace("𒍣...
[ "ck0@btinternet.com" ]
ck0@btinternet.com
80405c82c713f403f6b50c5096bea988ec731ae5
fde0568c83013998fec9dbab849481bedcc51a3c
/tests/unit/benchmark/scenarios/dummy/test_dummy.py
1f9b729a9d6f58d492ae1b30d8037f39822f58b9
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
kkltcjk/api4yardstick
b6cfaff043316f967ec8b6b7d9a061d78050ca0c
7728577a9b134e7c1b3fc272213baf6833b93f1f
refs/heads/master
2020-07-21T02:08:00.898753
2016-10-20T01:14:28
2016-10-20T01:14:28
67,469,898
0
1
null
null
null
null
UTF-8
Python
false
false
1,111
py
#!/usr/bin/env python ############################################################################## # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompan...
[ "liangqi1@huawei.com" ]
liangqi1@huawei.com
dd9ad6c41cf8dcc77060f2f56461109f4cf5a673
e640eff582c082eab5374d2c3429ba72162a28ef
/week1/pyscrap_url.py
b7e38c563907b79f11af29012bea1c02aa18cde9
[ "MIT" ]
permissive
10acad/QuickStart2020
a89cc65174272c91289ae6472f74826842c2b1c4
a5396c4a9492dabc42d7291404a7209e8ad7e181
refs/heads/master
2022-12-24T06:41:44.989166
2020-08-06T17:36:27
2020-08-06T17:36:27
264,991,258
6
29
MIT
2022-09-05T07:15:59
2020-05-18T16:04:37
Jupyter Notebook
UTF-8
Python
false
false
1,721
py
def simple_get(url): """ Attempts to get the content at `url` by making an HTTP GET request. If the content-type of response is some kind of HTML/XML, return the text content, otherwise return None. """ try: with closing(get(url, stream=True)) as resp: if is_good_response(re...
[ "yabebal@gmail.com" ]
yabebal@gmail.com
f7be5ddab80b418002ae46a130d41958540e9b46
f9d8586ad81fce9ef601ae2eddbba917bc14585a
/project/apps/events/admin.py
4a55b92ff7104c802116a7f8589c5e1743653ae7
[ "BSD-2-Clause" ]
permissive
skoczen/pdxschoolhack
a3e383d8d4873ae189a67b91a34fc40d8693cf23
6780e96d3cd1fe7230e6692531e0a371ddd5bf0c
refs/heads/master
2023-01-22T23:45:52.532719
2012-10-15T21:55:39
2012-10-15T21:55:39
4,530,607
0
0
NOASSERTION
2023-01-20T23:37:43
2012-06-02T16:20:35
Python
UTF-8
Python
false
false
211
py
from django.contrib import admin from events.models import Event # class EmailSubscriptionOptions(admin.ModelAdmin): # list_display = ('email',) # search_fields = ('email',) admin.site.register(Event)
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
c7cc2ea4c459dce3f013a913f763dec4f95d4ad8
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/apigee/developers/__init__.py
cf689c5ad3e39fdb7facf35d14e341b2dea62a9c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
1,651
py
# -*- coding: utf-8 -*- # Lint as: python3 # Copyright 2020 Google Inc. 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 ...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
9487c19f52a171a5ea4e9069265e36e2f9e983df
a36ad9281aa07470372db3c8e7b84069121684b3
/g2o_test/optimize_graph.py
ff56f1ebf7b4e126759cd7cae7933cf48f4f0861
[]
no_license
meetm473/on_g2o
39069d51f56e5891f9099e2364b43fbb2033a6cb
5fecb2dc97b9c2fa0c68a50dc3a6a18244408298
refs/heads/master
2023-01-18T16:48:14.353975
2020-11-19T15:14:26
2020-11-19T15:14:26
308,812,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
#!/usr/bin/python3 import numpy as np import g2o import os import argparse parser = argparse.ArgumentParser() parser.add_argument('-n', '--max_iterations', type=int, default=5, help='perform n iterations') parser.add_argument('-i', '--input', type=str, default='data/test.g2o', help='input file') parser.add_argument...
[ "edm18b037@iiitdm.ac.in" ]
edm18b037@iiitdm.ac.in
326fb71c230858967cf52a3fc4d9362798f957c7
e34d50dda3213b0a06df86a2e93d5ccc1e8bab99
/backend/backend/urls.py
c7a655668e1b5c709ba4507a9271903956eb6954
[]
no_license
zzzz123321/myBlog
7919b68132f9264ca08818b45499d5259402d55f
03979d92db6aa1be58c7b2a1149139d05dbdb897
refs/heads/master
2020-05-02T05:49:57.683816
2018-03-25T13:44:59
2018-03-25T13:44:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
"""backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "157318439@qq.com" ]
157318439@qq.com
32bbb0796ec92fe19bbf520eb7bacdc6002418c6
42f72b5f251c4dfc0ee09bd67f189f96d9c3f6ba
/shortener/shortener/settings.py
90a47ce150cb637889db34d71e3c85a6221f4b1e
[ "MIT" ]
permissive
mindblocks/shortener
fede0ac4f2170cdaa70f21bbd8a84335b3f9494a
74fa6dbdc19049fba3fe167c75e769b7d19a9441
refs/heads/master
2023-02-23T22:51:10.473043
2021-01-27T19:32:59
2021-01-27T19:32:59
277,366,225
0
0
MIT
2021-01-26T20:48:28
2020-07-05T19:06:24
CSS
UTF-8
Python
false
false
3,536
py
""" Django settings for shortener project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "iamsajjad@mail.ru" ]
iamsajjad@mail.ru
f8d8eb80312b88e1a8ed78474a4a78f601fa988c
192d83ad3727909c521c4358787fa817cb30c5b9
/tests/suporte_testes.py
294c4cb48a0d84576329a8785a7d5ba21bc02cc9
[ "MIT" ]
permissive
ralphribeiro/APWP-T2
58ce7cbb917fceb7a7b9f80654a75e1e71104ff2
1ed5552a32ae9320eadbbd0489c2082a6f8750a8
refs/heads/main
2023-05-31T03:05:24.822955
2021-07-12T20:04:49
2021-07-12T20:04:49
362,873,335
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
from uuid import uuid4 def sufixo_aleatorio(): return uuid4().hex[:6] def sku_aleatorio(sufixo=None): return f'{sufixo}-{sufixo_aleatorio()}' def ref_lote_aleatorio(sufixo=None): return f'{sufixo}-{sufixo_aleatorio()}' def id_pedido_aleatorio(sufixo=None): return f'{sufixo}-{sufixo_aleatorio()}'...
[ "ralph_ribeiro@msn.com" ]
ralph_ribeiro@msn.com
2d583bc54ec207abf65f917a9bc1319e4964f5fc
ba3abe876e84e7968f7966256563afdf65a5a596
/src/tests/wxPythonTests/testGraphicsBrush.py
336d32228de5a0df5ec57d1d78b7f6da86feabd5
[ "MIT" ]
permissive
ifwe/wxpy
6beefb6df537f2c860f477a605e0c056ad3a72f2
d76fd99bc8a714564657c01ba07650a21d7a215f
refs/heads/master
2016-09-06T10:48:48.476516
2012-07-18T18:52:10
2012-07-18T18:52:10
5,883,146
0
1
null
null
null
null
UTF-8
Python
false
false
1,334
py
"""Unit tests for wx.GraphicsBrush. TODO: The docs say the only valid way to make an instance is with a CreateBrush call on a renderer or context. The constructor works but produces null brushes. is this correct? Methods yet to test: __del__""" import unittest import wx import testGraphicsOb...
[ "kevinwatters@gmail.com" ]
kevinwatters@gmail.com
3853da862e924f59d0e74f7177bd329c92b0d0ea
a6f1f012ca10344649734cbd8430cebb47e01c43
/manage.py
a4f2bef5df6ea67769f0d271a8114e27dcd00bcb
[]
no_license
wbsuh/django-data-app
1b52370b6d25f8eaeb05d3223ee63ae707331b69
100a202aead18bd3f8c964f44b232628921d96a3
refs/heads/master
2021-05-05T05:37:10.027229
2018-01-24T00:57:39
2018-01-24T00:57:39
118,690,003
1
0
null
null
null
null
UTF-8
Python
false
false
545
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangodataapp.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django...
[ "wonbae_suh@hotmail.com" ]
wonbae_suh@hotmail.com
6cf66cd7f4f8b89f99e0df7656c0fc2a55e14465
991f99796824e7a72478e7b7e049058d3e8dbff2
/analys/datafeed.py
fe88517da39a3d7d36e63bf451973bb1cea86e29
[]
no_license
jsBrique/kanoquant_backend
b685e9090934e8c42ba3d377c5f0f8d0995c9a7b
1eae20a06ccb2dbf9b28a1ba7bda96ff317d6dce
refs/heads/master
2023-06-26T08:08:18.533475
2021-07-28T13:12:39
2021-07-28T13:12:39
383,857,125
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
from flask import Flask from flask_mongoalchemy import MongoAlchemy import hashlib from flask import session import time app = Flask(__name__) app.config['MONGOALCHEMY_DATABASE'] = 'Quant' # app.config['MONGOALCHEMY_CONNECTION_STRING'] = 'mongodb://cout:loot@ds223268.mlab.com:23268/coutlootlogin' db = MongoAlchemy(app...
[ "jsBrique@gmail.com" ]
jsBrique@gmail.com
2a40e92715cac53de298e6e904c03878885423ad
ec95cf11db88a7aad1ae6bf4daf321fc38a3ca43
/evennia/evenv/Lib/site-packages/twisted/test/test_twisted.py
b68e7b22368c82fe99cc80b32e671931850b4fa0
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "OpenSSL", "LicenseRef-scancode-newlib-historical", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-openssl", "LicenseRef-scancode-other-copyleft", "Python-2.0", "LicenseRef-...
permissive
castlelorestudios/EvenniaPluginSampleProject
25d68adf7fe2b716a7e1d317d1aeca568f67fcdd
095ad7a2fe583033fb7e2070f3f8920a6e88b323
refs/heads/master
2022-12-14T08:19:07.572206
2019-09-19T01:11:16
2019-09-19T01:11:16
195,511,481
3
3
BSD-3-Clause
2022-11-22T03:00:00
2019-07-06T07:32:23
Python
UTF-8
Python
false
false
11,173
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for miscellaneous behaviors of the top-level L{twisted} package (ie, for the code in C{twisted/__init__.py}. """ from __future__ import division, absolute_import import sys import twisted from types import ModuleType from twisted.pyt...
[ "corneelbooysen@hotmail.com" ]
corneelbooysen@hotmail.com
1f416ed51c7fee209a60550e6cf526f09cf7d571
7d8de6c62c7a580ba24842160f057a6ae55783ca
/2.1-dn/find.py
032defa36de9775a76910dc5bc708535c90583a3
[]
no_license
am-on/APS2-FRI
933a327c27a64bd2110afbb3d54f5ca6db8efb24
0522d73a3dd9b9e3209e45162a97bc7dd7b80f9c
refs/heads/master
2022-01-25T00:54:14.118503
2017-06-03T18:42:01
2017-06-03T18:42:01
82,782,653
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
aa def find(node, pathLen=0,): if node.root == node: # če še vedno hranimo število elementov, # lahko hranimo še "oceno" o število elementov, ki # ne kažejo direktno na predstavnika množice (n2), # in s tem posodobimo dolžino najdaljšega iskanja if pathLen > 1: ...
[ "igre@outlook.com" ]
igre@outlook.com
f07e6afcebfb3db9fce616b054e663d66d8434ed
28f088b5356e66780c4bad204564bff92f910f02
/src/python/pants/backend/codegen/thrift/dependency_inference_test.py
e18d6831496e654bdc9b4884249eea6b0e7ff670
[ "Apache-2.0" ]
permissive
wonlay/pants
57dcd99f82cdb2e37fcb7c563ec2bccf797ee7b7
53c66503b6898e83c9c9596e56cde5ad9ed6a0d3
refs/heads/master
2023-03-06T03:23:08.602817
2022-05-05T23:41:32
2022-05-05T23:41:32
24,695,709
0
0
Apache-2.0
2023-03-01T11:59:58
2014-10-01T21:15:29
Python
UTF-8
Python
false
false
5,578
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from textwrap import dedent import pytest from pants.backend.codegen.thrift import dependency_inference from pants.backend.codegen.thrift.dependency_inference import InferThriftDependenc...
[ "noreply@github.com" ]
wonlay.noreply@github.com
f98692cb198fd23e61bc44d1d692cee666277b0e
8ee27d60f1c442d78451385e375a18889b2a1c6c
/other/segment_word2.py
32694f8ffdc9f768744a867ded3415eb5d50b146
[]
no_license
terrifyzhao/leetcode
3af2d1d24b2b0cfe0b8953942af1cc1c526522dd
013f6f222c6c2a617787b258f8a37003a9f51526
refs/heads/master
2021-06-28T20:32:24.789901
2020-10-28T09:24:09
2020-10-28T09:24:09
182,650,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
# Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, # add spaces in s to construct a sentence where each word is a valid dictionary word. # Return all such possible sentences. # # Note: # # The same word in the dictionary may be reused multiple times in the segmentation. # You m...
[ "zjiuzhou@gmail.com" ]
zjiuzhou@gmail.com
b9b6349772005e72256c354910ee9de22dffb8d8
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/eager/profiler.py
d86abb22d0d017c4a21afa6b88c86f1957f2e7c7
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
6,134
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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
71943026317099fd91d42d80180168a0f4face5a
762c244db79bf56cbaaa95a8ad07aad8921a768f
/auctions/migrations/0002_bid_category_listing_watchlist.py
9b5210e26194238210d33d065a316288ff8ead5b
[]
no_license
robfisher21/commerce
cbf51c95c3fc8a7c3d0a0cdc8ae52054c77c51e7
be81478c843516cfea73fd802edab1293b7f04eb
refs/heads/master
2023-08-29T10:57:45.575560
2021-10-07T14:05:27
2021-10-07T14:05:27
404,685,735
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
# Generated by Django 3.2.7 on 2021-09-14 16:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('auctions', '0001_initial'), ] operations = [ ...
[ "89908505+robfisher21@users.noreply.github.com" ]
89908505+robfisher21@users.noreply.github.com
7712dea66d737bf3078b81c3c02352916158f48b
257c09c3ab62304cde31bf16c1a0d89816726683
/scripts/sentiment_analysis.py
a8fa6cf52409b2a05187289b3ff8a1f18c3c7ac7
[]
no_license
attrivivek/Travelate
1da5d1401b656f81388c4324ced83ddb2f81976a
ba3cb9f6bb8b54eb60466ed8171ebc88c1e93a9e
refs/heads/master
2020-04-02T12:25:33.453346
2018-12-15T19:11:15
2018-12-15T19:11:15
154,432,831
0
0
null
null
null
null
UTF-8
Python
false
false
4,318
py
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer, BOOSTER_DICT from nltk import tokenize import sys, os import pandas as pd import numpy as np # Global variables # sentiment classification sentiment = {"-2": "very negative", "-1": "negative", "0": "neutral", "1": "positive", "2": "ver...
[ "sudhir.behani@continental-corporation.com" ]
sudhir.behani@continental-corporation.com
56382c59d19f87c5225711d8e917583e6340f291
6473d96a36f44d6425d42e9901dd4a40e7a2ec9a
/BasketbalData/basket_EDA.py
b5438189ecb9e75a5dacfad7ef75299f9c62a62d
[]
no_license
deimelperez/DataScience-Apps
75616b2f06c18d00b9cdd634822482082c6676e8
2a64790f556175f5903cea89a5cd4378cd3ed1c2
refs/heads/master
2023-03-21T01:55:11.909667
2021-03-11T09:13:45
2021-03-11T09:13:45
343,861,384
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
import numpy as np import pandas as pd import streamlit as st import matplotlib.pyplot as plt import seaborn as sns import base64 st.title('NBA Players Stats Explorer') st.write(""" This app performs simple webscraping of NBA player stats data! """) st.sidebar.header('User Input Features') selecte_year = st.sidebar...
[ "deimelperez@gmail.com" ]
deimelperez@gmail.com
921df600ab3ba3dd71e3395761846da9b53678fd
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_program_run_info30.py
7840c23a1b34b09a69c71a9b7c37562f3b2f3640
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
695
py
from xcp2k.inputsection import InputSection from xcp2k.classes._each292 import _each292 class _program_run_info30(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.File...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
95bb45adc128038d43274141e5b7ecf62428f9b3
30299d5bb7ca37e914fb074aa7b976c78451155f
/src/message.py
d65e4566a6bc3bc445ac0a11d0583318061ef5f1
[]
no_license
avijits01/Flock_clone
8af58acdc9f079c4b7fb15518a0813c426503c5d
896a8e88d08dbfd7c146671cce4e1b18acff792a
refs/heads/master
2023-01-02T16:14:33.712100
2020-10-24T21:03:52
2020-10-24T21:03:52
306,969,687
0
0
null
null
null
null
UTF-8
Python
false
false
3,893
py
from error import InputError, AccessError from data import data from channel import is_channel_member, is_channel_owner, is_global_owner import time # note: changed message to messages in data ########################## # helper functions # ########################## # returns {} if message_id does not exist...
[ "avijits01@gmail.com" ]
avijits01@gmail.com
0df27c25a42df897c91490c68a7a0901459fe038
f86a13122f6d5366ad8d55d4311764d655a91ab8
/furn/forms/register_forms.py
0260cec025d82a85b59e924b448b0a410d2c5f43
[]
no_license
anshumanairy/Furniture
b1dccf17db16c79bcd089fe529f99aad97787656
092db0b88fa65327d23864cd01fdea344e7eecd5
refs/heads/master
2022-11-15T11:59:26.389254
2020-07-15T16:30:07
2020-07-15T16:30:07
255,085,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
from django import forms from furn.models.register_model import user_detail from django.contrib.auth import login,authenticate,logout,get_user_model from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class UserForm(forms.ModelForm): class Meta(): model = Use...
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
e5ac3708cc7e882836657a7d7c0a85397ab9996a
8fae76ae9ca1b420b9ccafaa3cc6505e0b11dec3
/proposal/create_pdf.py
ec10759baafdcaa7bea87592151166cd23d36451
[]
no_license
jbean96/MixList
992965f7659f0e471368a274575a916d7c5cac68
5430b29bb419f0a249cba4764f3c6824271848af
refs/heads/master
2020-04-17T21:09:42.756350
2019-05-08T00:32:45
2019-05-08T00:32:45
166,936,637
3
0
null
null
null
null
UTF-8
Python
false
false
277
py
import subprocess def main(): command_list = ["pandoc", "proposal.md", "--pdf-engine=xelatex", "-o", "proposal.pdf", "-V", "geometry:margin=1in"] print("Running: %s" % str.join(" ", command_list)) subprocess.run(command_list) if __name__ == '__main__': main()
[ "jbean96@cs.washington.edu" ]
jbean96@cs.washington.edu
ce47479a4a8ac3c293eadc3c8d75fd4ce1ec09e3
ac5ec72a979c890e8fd22517510aaaca181cdf1f
/pyqmix_backend/test_connection_pumps.py
427bf8a2cd5557d9ab724317e1edcd12e0dae39b
[]
no_license
ArndalAndersen/pyqmix_web
224af7853a7a9cbb7c0619af3d275d77f6fbd3f0
23e9ab8108875928e59d0b33a38960267a5c3b3d
refs/heads/master
2020-03-24T07:53:33.250822
2018-08-07T21:44:53
2018-08-07T21:44:53
142,578,442
1
0
null
null
null
null
UTF-8
Python
false
false
910
py
from pyqmix import QmixBus, config, QmixPump import os.path as op import time print(config.read_config()) config_dir = op.normpath('C:/Users/Public/Documents/QmixElements/Projects/default_project/Configurations/five_pumps_laptop') dll_dir = op.normpath('C:/Users/au278141/AppData/Local/QmixSDK') config.set_qmix_confi...
[ "camilla@arndalandersen.dk" ]
camilla@arndalandersen.dk
5051b8302623efa790340f42dffddb4a3a8f5978
3fc06f12210a66477c0eab83aa0b5df5b81ff341
/hjcproject/startup.py
f05d745a349fd7cbe89ec38935fbf5b9e9e00c8c
[]
no_license
yellowaug/pythonpro
e080a18660913b7b3b8e9c8fb484ba1b8a847ef0
e245b5a5ae2e1225c34891126fbd13bf466c65ea
refs/heads/master
2020-04-06T23:08:10.660244
2019-01-18T07:50:29
2019-01-18T07:50:29
157,859,216
3
0
null
null
null
null
UTF-8
Python
false
false
896
py
import os class STARTUP(object): def __init__(self): path="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" os.chdir(path) def generatefile(self,remotohost,username,password,*shellconnect): cmddshell=["echo off\n",r"net use \\{host} {pwd} /user:{user}".format(host=remotohos...
[ "2943917172@qq.com" ]
2943917172@qq.com
d4545fdd948445a160eabfb180e38fd57463ef9b
a7d62124894c62c59d05e97df4103a7acdfd89af
/webp_converter/migrations/0001_initial.py
8cc5c57b08531887a37a4f8d673364afb9465edc
[]
no_license
tasozgurcem11/denkmalgeschutztelofts
5ef0ca023ffa38305413e00b94037d4bb76132f7
d99114ce247eea9274b3035455b0c0609f5809e1
refs/heads/main
2023-04-20T18:46:27.956406
2021-05-30T09:33:23
2021-05-30T09:33:23
372,174,404
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# Generated by Django 3.1.1 on 2020-11-23 20:19 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='WebPImage', fields=[ ('id', models.AutoFiel...
[ "tasozgurcem11@gmail.com" ]
tasozgurcem11@gmail.com
43d9e277bba4785a1fbe2bba5a9dc4e7d8f10af4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2184/60772/249086.py
050fab7381ba6d4562e16870ffa3828f185ea783
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
239
py
import sys Input = [] for line in sys.stdin: if line.strip() == '': break Input.append(line) test = Input[0] begin = 1 for i in range(0, int(test)): info = Input[begin].split() n = int(info[0]) print(2*n*n+n)
[ "1069583789@qq.com" ]
1069583789@qq.com
87427490fdb954eccb35eabb31165cfd96dbcc5c
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/inspur/sm/plugins/modules/cpu_info.py
a326cb7db84f2309c00cee33fbfd149da6286407
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
2,175
py
#!/usr/bin/python # -*- coding:utf-8 -*- # Copyright (C) 2020 Inspur Inc. All Rights Reserved. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' --- module: cpu_info...
[ "sifang@cisco.com" ]
sifang@cisco.com
b6269367be53cb0fafdef4242dbe76303e1a0dcd
3c1519c3ee8a9361ed1d114d61601d242bbe92f2
/src/collective/portlet/pythonscript/browser/controlpanel.py
a45e4ac239c921851f2f69928dff6ec5aeeef17b
[]
no_license
collective/collective.portlet.pythonscript
adca0b377a0bd2e4e727692e19d323aed03b144e
379b8858676a308abf9f0fe3906ce6dfbc0aa0a6
refs/heads/master
2023-03-22T16:39:44.063511
2013-09-11T11:54:12
2013-09-11T11:54:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
from Products.Five import BrowserView from collective.portlet.pythonscript.content.interface import IPythonScriptManager class PythonScriptControlPanel(BrowserView): """Form for managing Python Scripts TTW.""" def getScripts(self): """Return list of available scripts descriptions.""" manager =...
[ "kurazu@kurazu.net" ]
kurazu@kurazu.net
d39f6e185607b74282c12f401e70316ae7938136
4cdfb0dbefe751600d3c195d98c96a4df7972e00
/talkvoter/constants.py
2b6f1018c64565220f949e2be6782bbf5eb95c73
[]
no_license
JoeJasinski/talkvoter
c796a26cf5c8fd3fed8f9bd7d0d09ac868ef443c
b1bdae8e2bfa1ac72cd433479418e45fd0410666
refs/heads/master
2021-04-15T04:01:24.846224
2018-04-12T04:01:17
2018-04-12T04:01:17
126,414,064
0
0
null
2018-03-23T01:09:51
2018-03-23T01:09:51
null
UTF-8
Python
false
false
107
py
from enum import Enum class VoteValue(Enum): in_person = "in_person" watch_later = "watch_later"
[ "joe.jasinski@gmail.com" ]
joe.jasinski@gmail.com
3068a9bef3ac0a4d497739c8911f8d7f5aeb0ee8
a6cd6ae3cab8042f4b1c26b8f64765d7762a70ce
/ems/ems/ems/urls.py
b7a1c9da39f1b200ba87d26bb189fc00628dbf35
[]
no_license
khanansha/django-projects
2af827ac39d82d87b732d8d5f51ebc45c24e687a
37f21757bc6b7d7ca8fb7a0a4fe27aa7e4d2875a
refs/heads/master
2022-04-13T07:25:49.991891
2020-03-29T05:57:20
2020-03-29T05:57:20
250,964,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
"""ems URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "anjumkhan88987@gmail.com" ]
anjumkhan88987@gmail.com
d3e5ac491d1c5145a2c2178ea889581c5b762688
094a0e5b4518019106d60272d07cf0f043d7e322
/registrar/urls.py
95d5918b72c69a4c2f67c4ad9f0de3200e0bc295
[]
no_license
avijeet7/software_engineering
167b5ce3083c1c876d16a055e8bebf652d70777b
dd1f513ad089bdf23219c90189bb48d861414b3f
refs/heads/master
2021-01-15T16:10:49.189474
2015-11-17T11:49:14
2015-11-17T11:49:14
42,084,316
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='registrar_home'), url(r'^add_inst/', views.add_inst, name='registrar'), ]
[ "avijeet7@gmail.com" ]
avijeet7@gmail.com
d88c0f9f0ab267692acd473640d734421cc3b5fe
376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb
/lang/python27/patches/patch-Lib_urlparse.py
ca69686edc205f0388eafc1f96fc57f128591d0d
[]
no_license
NetBSD/pkgsrc
a0732c023519650ef821ab89c23ab6ab59e25bdb
d042034ec4896cc5b47ed6f2e5b8802d9bc5c556
refs/heads/trunk
2023-09-01T07:40:12.138283
2023-09-01T05:25:19
2023-09-01T05:25:19
88,439,572
321
138
null
2023-07-12T22:34:14
2017-04-16T20:04:15
null
UTF-8
Python
false
false
7,511
py
$NetBSD: patch-Lib_urlparse.py,v 1.4 2023/05/29 23:33:48 gutteridge Exp $ Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default Via Fedora: https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII n...
[ "gutteridge@pkgsrc.org" ]
gutteridge@pkgsrc.org
7ecc66ec6e0f8a94b818da24c07c0b44e91191a7
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRecOutputItemList_jobOptions.py
a810e76c620d8b3454158a306715203a42d487b9
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
6,069
py
from AthenaCommon.DetFlags import DetFlags from RecExConfig.RecFlags import rec from MuonRecExample.MuonRecFlags import muonRecFlags from AthenaCommon.BeamFlags import jobproperties #AOD list, also added to the ESD MuonAODList = [] if DetFlags.detdescr.Muon_on() and (rec.doWriteAOD() or rec.doWriteESD()): # Se...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
44af927a52bbda5608d05ae58adfa43a3c982969
138f086723b3e53d900d9454d19f90847740cb0c
/redis_ds/redis_list.py
4c8ee4b51507ee13fbbd3c63befd110484d5d6a3
[ "MIT" ]
permissive
henyhollar/teachPi
a9887637b49b43da7e4f4ff6d3ea31b3753e56cc
83808d258ddfc7d8982e8284ffaf273d4a04ac2d
refs/heads/master
2021-01-10T10:43:25.464076
2016-01-18T21:18:58
2016-01-18T21:18:58
47,335,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
"A pythonic interface to a Redis dictionary." import redis_ds.redis_config as redis_config from redis_ds.serialization import PassThroughSerializer, PickleSerializer, JSONSerializer class RedisList(PassThroughSerializer): "Interface to a Redis list." def __init__(self, list_key, redis_client=redis_conf...
[ "henyhollar@gmail.com" ]
henyhollar@gmail.com
11f17f472b2b0cd6c219c2218c8cedd88c09c658
1e177ebdcb470f738c058606ac0f86a36085f661
/CPRG-104/Assign01/Assign01.02.py
307d4a0d677ee91e6ddb47df9db4e3b97c537a5e
[]
no_license
robingreig/raspi-git
5cbdd295c1048a0571aa2c2f8576438269439f07
7373bf94557d7a88c8f343362ba64f9cd19c8ce7
refs/heads/master
2023-08-31T03:16:17.286700
2023-08-26T11:54:23
2023-08-26T11:54:23
16,873,881
2
0
null
null
null
null
UTF-8
Python
false
false
2,402
py
# -*- coding: utf-8 -*- """ Created on 2021/10/24 09:46:14 """ animalNum = "first" class Zoo: '''This is a zoo class''' __hands = 2 # Assign a protected static attribute __wings = 2 # Assign a protected static attribute count = 0 animalCount = 0 birdCount = 0 def __init__(self, typeAnimal): self.breed = typ...
[ "robin.greig@calalta.com" ]
robin.greig@calalta.com
919621007ef4570a6e06d942a66a171d0ac76c4c
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/quickFixes/PyAddImportQuickFixTest/osPathFunctions/main.py
3ba0109b6c26acbb8ef5ed4a11ee756507cf5b73
[ "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
74
py
<error descr="Unresolved reference 'commonpath'">c<caret>ommonpath</error>
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
80b7387a9aa92fe6ddbe75647cae4d33397db6b2
b8b91c62b4bfe9c7b8036585de9515d51a4221d3
/src/module/order_creator/backup/order_creator_ver1.2/indicator.py
c9f342ffc1e01cbb2d25d109acd78d2c786ecc98
[]
no_license
lucio-karin0506/graduation-project-P407
740b50928768490e9222aedfc42d69fc7a964ffe
dd4b6fe92547fdfb97a191741bad566464f85cfa
refs/heads/main
2023-08-04T16:12:36.443393
2021-09-23T08:24:35
2021-09-23T08:24:35
397,681,131
1
3
null
null
null
null
UTF-8
Python
false
false
4,615
py
import talib as ta ''' autor: 김상혁 log: start: 2020.3.19 last edit: 2021.01.16 func: 주가데이터로부터 볼린져밴드 값을 구함 parameter: 주가데이터프레임, 이동평균기간, 표준편차의 상향값, 표준편차의 하향값 return: input dataframe에 볼린져 밴드 컬럼 추가 ''' def BBands(df, period=20, nbdevup=2, nbdevdn=2): # 볼린져 밴드 값 생성 ubb, mbb, lbb = ta.BBANDS(df['close'], timeper...
[ "syy2585@naver.com" ]
syy2585@naver.com
4f0c7654b65b1ee76f6508ee6d7d4796782579ed
417b33779881e46dba2e9fc9c4afeca8d351d60f
/exercises.py
c699ceec273ea9ae705a7d11f5230ef42b291960
[ "MIT" ]
permissive
reubano/lambdaconf-tutorial
213aa2815a68e678f8aa04a051fba6f7957e3e94
9acf3e5f82f10f5a7b826bb00f409c4ca62ee7a2
refs/heads/master
2021-01-22T03:30:39.878684
2017-06-06T17:01:34
2017-06-06T17:01:34
92,383,730
10
1
null
2017-06-06T17:01:35
2017-05-25T08:47:19
Jupyter Notebook
UTF-8
Python
false
false
2,135
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Exercises # 1: Display the total number of watchers per language (ignore repos w/o a # language). Your output should look something like this: """ C# 32 C++ 63 HTML 349 JavaScript 3881 Jupyter Notebook 5481 PHP 201 Python 37007 R 18 """ # Use the url `https://api.g...
[ "reubano@gmail.com" ]
reubano@gmail.com
8057993ee2b532335e25a0b4488d137cb2df0688
dd446deab4dfb4c7a7c76240543a4d8968d74980
/2017/0610_ABC064/A_20190119.py
54a6fa637baab2eb4199ae4c55dac0d12f58e36a
[]
no_license
ykmc/atcoder_old
06c6877a6f69b97d56364f56130eabb5d0d7f990
f6cb60ae470b92dcf267929c0b3ac03f9f7ac6b9
refs/heads/master
2020-03-09T06:06:00.609688
2019-04-08T13:00:39
2019-04-14T10:07:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
R,G,B = map(int,input().split()) print("YES" if (R*100+G*10+B)%4==0 else "NO")
[ "34961813+dynamis724@users.noreply.github.com" ]
34961813+dynamis724@users.noreply.github.com
5d0b4acaae6d9a0ba2d0ecebdc880faf46050f6e
152fc8d9722e9811c0f15f26acf7cd1f82849b2a
/Arrays_Strings/check_permutation.py
f68c01f73353a6b3575fa2a3d90052ce4431f109
[]
no_license
uoojin1/algo_study
5942bc2ea9f2a752b36db296b42e1636a43c1553
c5078b377105f092668b594b0d7a297c4422b4a1
refs/heads/master
2020-04-13T17:38:05.429046
2019-02-07T02:32:24
2019-02-07T02:32:24
163,352,673
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# given two strings, write a method to decide if one is a permutation of other # (ex) "dog" <-> "god" and "dog " ! <-> "god" # def isPermutation(str1, str2): # if len(str1) != len(str2): # return False # # assuming these are ASCII strings, I will just use a fixed size array # checker = [0] * 128...
[ "uoojin95@gmail.com" ]
uoojin95@gmail.com
f109a3a411d0cc1d74d8fc68862cf4bb896d8879
d6d2773e7466b31da5ed9e7103d5eb9909db1223
/scripts/do_backup.py
af1d7f27cd57ef63b6b492f6bd9c65ab2c86d9c5
[ "MIT" ]
permissive
iabok/sales-tracker
bee3f0a18ca565a8da2ce356c6842f6af486367c
7ef2e68f0b0393b983375d092b8469ca88f6b5ce
refs/heads/master
2021-06-22T00:09:16.723616
2017-08-21T23:30:57
2017-08-21T23:30:57
92,953,561
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
import os import socket import boto3 BUCKET = "sales_app-backups" S3_DIRECTORY = socket.gethostname() DB_BACKUP_FILE = "sales_app_postgres_1.sql" DB_BACKUP_PATH = "/tmp/{filename}".format(filename=DB_BACKUP_FILE) DB_S3_DIRECTORY = "{directory}/postgresql".format(directory=S3_DIRECTORY) s3 = boto3.resource('s3') os.s...
[ "abokisaac@gmail.com" ]
abokisaac@gmail.com
654d1048efd00fb1207041973a976f94cbee07aa
7768a0592311517f994aaf2d22aa2fd57e8ea5f9
/setup.py
0170b596a6652bf0d0f61dabcf2d40237ba20823
[ "MIT" ]
permissive
HTHcoin/x25x_hash
3305dc31676df5630fa31e2adba86f9ef64372b8
908177f93ee0e0ad09cec1fa18835503bf1b4885
refs/heads/master
2022-01-23T18:26:51.406236
2019-05-27T16:29:23
2019-05-27T16:29:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,004
py
from distutils.core import setup, Extension x25x_hash_module = Extension('x25x_hash', sources = ['x25x_module.c', 'x25x.c', 'sph/extra.c', 'sph/lane.c', ...
[ "barrystyle@westnet.com.au" ]
barrystyle@westnet.com.au
cb7fe695c76edd5e07e3b78a846987db58a5d97c
c1c7cca73613587f5fd6db4d14da96ca4cfad9ba
/Backend/python_server/venv/Lib/site-packages/google/api/billing_pb2.py
7a4175518205966599d15596ba66316ea01c96fe
[ "MIT" ]
permissive
sibelbd/EduSpace
24c23315ed51b14c256a9b71e33bc893707ce132
f948d890aac7869016e75662c0c798f2a42d2ecc
refs/heads/master
2023-03-16T19:17:12.003511
2020-04-29T22:03:55
2020-04-29T22:03:55
258,688,624
4
1
MIT
2021-03-20T03:36:14
2020-04-25T04:42:03
Python
UTF-8
Python
false
true
4,482
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/billing.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflectio...
[ "sibeldeshong@gmail.com" ]
sibeldeshong@gmail.com
1f06c6aa7feab7ac8a495ea4be1488901d6e2b71
6b142d439928dc509ae037c7f908b7251c71cbeb
/tests/test_attributes.py
76f390c8460570266f54e80d6169e150665c1538
[ "MIT" ]
permissive
TrendingTechnology/cmdtools
b33cf5a0bf0e9448e4f507273a46c504650555c4
7e63fc4f25e6a9be1e0a135734dc6489b693f1d5
refs/heads/main
2023-07-02T11:43:36.506591
2021-08-01T23:15:42
2021-08-01T23:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
from .. import cmdtools def _test_func(): assert _test_func.test == 20 def test_def_attributes(): cmd = cmdtools.Cmd("/test") setattr(_test_func, "test", 40) cmd.process_cmd(_test_func, attrs={"test": 20}) assert _test_func.test == 40
[ "joshtuck373@gmail.com" ]
joshtuck373@gmail.com
8462508eb57e6db5ab2bf90a4d4a901564a232ab
d0b4dd1bb815fba23d82c842f18471098a34c2d5
/youtube_backend/youtube_backend/urls.py
0065e946c47800baa5424f3de8797448c9a1d99f
[]
no_license
njdsm/Youtube_Clone_Backend
e22c7b67e5d0c5a0890a2b8b1bf878827ebe86db
d366cec974fe9a7a7fc2050ddd18930657aa7fb7
refs/heads/master
2023-05-28T07:45:53.396612
2021-06-01T14:27:38
2021-06-01T14:27:38
371,438,199
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
"""youtube_backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "nathanial.r.johnson@gmail.com" ]
nathanial.r.johnson@gmail.com
de779ebc14fa3ff995e9867dcc02a1f80c63475e
fa8eb67a2bd1190cddb715916b603a5d09c710e2
/tools/available.py
5e623003cd423410ba9f6df743cedbb28a4545b7
[]
no_license
pawel-antoniuk/binpoll-b3-docker
7df2d1a10952efa82b20a524a84c0bf0f80fc62b
c71030adf076101dc52e44e2fe156d137b136976
refs/heads/master
2022-06-07T05:37:46.794478
2019-10-22T17:42:40
2019-10-22T17:42:40
216,871,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
import requests import time import json BASE_URL='https://home.antoniuk.pl/api/' AVAILABLE_AUDIO_SET_ENDPOINT=BASE_URL+'available_audio_set/' DEBUG_ENDPOINT=BASE_URL+'debug/' REQUEST_HEADERS={} with requests.Session() as session: debug_secret = {'key': 'e329e6179a600391c749f5761fefd25b'} response = session.po...
[ "pawelantoniuk@outlook.com" ]
pawelantoniuk@outlook.com
9303cdb6212c40604b67cdc8a1e1b9f7af9305e4
e9cac5f32e57e08451014a0fcd2d52ba0634b077
/wall-slasher
1d1a75f77139d0905415c8817f4aa5f581dd5570
[]
no_license
iven/Wall-Slasher
57d5b4cf6ad9e2ebee82134ab82b5988dda89017
9c4955a744a7e9693a1153d2de9f413d1e246872
refs/heads/master
2021-01-23T06:44:17.479732
2009-07-31T16:26:13
2009-07-31T16:26:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
#!/usr/bin/env python # -*- coding: UTF-8 -*- # This file is part of Wall Slasher. # Wall Slasher 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 la...
[ "ivenvd@gmail.com" ]
ivenvd@gmail.com
d06a0fe17eddad439f3e568268c6048d66aae428
5705ad0e1933a88b2345c650292e49ea27b755fc
/session 5/online/app.py
e435a75cc042d145c67e8457855951082241dec5
[]
no_license
HurricaneSega/spark-training-v2.0
e1d2071a2d9731e0fd9b22aac23bad7c1c767b55
d8254d5926cc650f00445efb8824a624e7164c85
refs/heads/main
2023-08-20T10:46:55.498501
2021-09-28T19:17:16
2021-09-28T19:17:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
from flask import Blueprint main = Blueprint('main', __name__) import json # Find Spark import findspark findspark.init() from pyspark import SparkContext from pyspark.sql import SparkSession from engine import RecommendationEngine from flask import Flask, request @main.route("/<int:user_id>/ratings", methods = ...
[ "mehdi.lamrani@gmail.com" ]
mehdi.lamrani@gmail.com
ac9c7129d42c5768150e7396fea4b3899b2a0024
72ce57d187fb6a4730f1390e280b939ef8087f5d
/nuitka/tools/release/debian_mentors/__main__.py
07e2cc558bd54bcaae8c29682b4ac1a93e680aac
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
tommyli3318/Nuitka
c5b7681b73d96cb8859210ed1a78f09149a23825
ae52b56024d53159a72a5acbfaac792ca207c418
refs/heads/develop
2020-05-02T17:02:10.578065
2019-10-27T15:53:32
2019-10-27T15:53:32
178,086,582
1
0
Apache-2.0
2019-06-06T00:32:48
2019-03-27T22:53:31
Python
UTF-8
Python
false
false
3,287
py
#!/usr/bin/env python """ Debian/Ubuntu package release. """ from __future__ import print_function import os import shutil from nuitka.tools.release.Debian import cleanupTarfileForDebian from nuitka.tools.release.Documentation import createReleaseDocumentation from nuitka.tools.release.Release import checkBranchNa...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
c399e14c8521808d7c0dcc5e7e515dd7109b20a6
e3b1b0ab58ff1e01dfc869cd36d3e481ff40d9db
/potapljanje_bottle.py
e5a741188890cbcc50f08f9cc1e89c47bc14dbde
[ "MIT" ]
permissive
MozinaMateja/PotapljanjeLadjic
cb4c2c5b3097e20d90e02a243e6230c06be9b05d
3a80261c08c0cb716e995e9be1d10711b6adc795
refs/heads/master
2022-12-07T13:11:31.946534
2020-08-26T16:30:04
2020-08-26T16:30:04
278,135,428
0
1
MIT
2020-07-15T08:54:06
2020-07-08T16:06:41
Python
UTF-8
Python
false
false
1,005
py
import bottle import model SKRIVNOST = "skrivnost" DATOTEKA_S_STANJEM = "stanje.json" potapljanje = model.Igre(DATOTEKA_S_STANJEM) potapljanje.nalozi() @bottle.get('/') #prva stran def prva(): return bottle.template('prva.tpl') @bottle.post('/nova_igra/') def nova_igra(): id_igre = potapljanje.nova_igra...
[ "mateja.mozina55@gmail.com" ]
mateja.mozina55@gmail.com
ee0378ccde9cacf49eb1d06f763eec86382d1903
9f75b9628cf4e7f69decd262c5ec1385c631a9bf
/src/terminal/form_audio_note.py
69798dad373fa13b1c37ac6350995756727ba377
[]
no_license
trackscorer/leadtel_2013
0a47830d32991ef04f8c3993090b428bcfd00c3f
243b4bf95f8b1cfbac4b40baf3edb8b11fbd81e5
refs/heads/master
2020-04-26T02:11:47.818612
2016-04-13T05:20:10
2016-04-13T05:20:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,297
py
# -*- coding: utf-8 -*- from PyQt4 import QtCore from PyQt4 import QtGui from PyQt4.QtCore import * from PyQt4.QtGui import * import sys,threading,time,datetime,traceback,string,json,pickle,os,os.path from ui_audio_note import * import utils from base import * import dbsql from dbconn import * import form_select_...
[ "24509826@qq.com" ]
24509826@qq.com
ce818aa401bb6d53b81132b565215f7e39037951
2ed87f4f6a5e9ceabfb5ac7986863944dfdd78fb
/IV/data_extractor.py
696e3c989bc7478a10c47e2e98bdd986ede6370d
[ "Apache-2.0" ]
permissive
cwlan2016/IV
5cdc6e887e73b7dc6f1f9ddf555d949cd2f645c5
eaa22b0ee98cb7186f461f0ca464299c96f0f189
refs/heads/master
2020-06-19T07:05:51.788174
2018-02-14T20:44:09
2018-02-14T20:44:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,151
py
#! /usr/bin/env python import glob import logging import os import traceback from collections import namedtuple import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np import pandas as pd from matplotlib2tikz import save as tikz_save from scipy.constants import Boltzmann as k from scipy.constants i...
[ "davidrobertquinn@gmail.com" ]
davidrobertquinn@gmail.com
7c99535d3cc5c5171dac32939b0dc16e98f5af6b
8952afe242c836b516c6236cf0987676cfb7abf7
/TaobaoSdk/Request/TmcMessageProduceRequest.py
dc2ce599dabdbb2491ea81a7a3dd1f5d0af44269
[]
no_license
xieguanfu/TaobaoOpenPythonSDK
2fc20df983811990a2d981379c9da6c1117f9f21
88cdab41ba19a2326aa4085c92455697bd37d8d7
refs/heads/master
2021-01-18T14:38:51.465614
2014-08-21T05:44:42
2014-08-21T05:44:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,385
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim: set ts=4 sts=4 sw=4 et: ## @brief 发布单条消息 # @author wuliang@maimiaotech.com # @version: 0.0.0 import os import sys import time def __getCurrentPath(): return os.path.normpath(os.path.join(os.path.realpath(__file__), os.path.pardir)) __modulePath = os.path....
[ "chenke@maimiaotech.com" ]
chenke@maimiaotech.com
1f0569e61a24b63d82fab28fa83bb300a139c358
6c06cbcff65aabf6648f13e4aaf1a6c187083c2c
/money_pl.py
777110b4f038870ee0aa29e2360229cf9b3ad159
[]
no_license
michalkwiatkowski/pymoney
a01ca6f0e98b4ce208e40ccea592fa88dae71e28
16f5b2cad4b93ec4be05f3d6ec73f3cbce98366b
refs/heads/master
2021-01-10T21:19:34.202343
2012-02-19T13:22:14
2012-02-19T13:22:14
3,485,414
0
0
null
null
null
null
UTF-8
Python
false
false
3,781
py
import urllib import re import sys class MoneyClient: def get_price(self): raise NotImplementedYet def get_low_price(self): raise NotImplementedYet def get_high_price(self): raise NotImplementedYet def get_change(self): raise NotImplementedYet class CommodityMoneyClient...
[ "michal.kwiatkowski@etechnology.pl" ]
michal.kwiatkowski@etechnology.pl
0d9fc7222de4df5b1dd5c3f9263f336a2da4b43e
b8c3b9046a15f4babb563cc7415c08f8a9a0824b
/Python-API/extension/artifact/src/hana_ml_artifact/generators/abap.py
8145ca0355c2a7cddd74bf425edf6afdba7f83c3
[ "Apache-2.0" ]
permissive
SAP-samples/hana-ml-samples
f0832fa843b5dd268e8b0869d7cb3746b27bfd8d
72b512b05fe2c238c09e20027e3ae3cfcd976771
refs/heads/main
2023-08-30T23:46:12.374019
2023-08-24T16:20:47
2023-08-24T16:20:47
192,615,699
83
57
Apache-2.0
2023-07-20T16:45:20
2019-06-18T21:36:03
Jupyter Notebook
UTF-8
Python
false
false
5,023
py
""" This module handles generation of all AMDP related artifacts based on the provided consumption layer elements. Currently this is experimental code only. """ import os from .filewriter.abap import AMDPWriter from ..config import ConfigConstants from ..hana_ml_utils import DirectoryHandler from ..hana_ml_utils imp...
[ "ronald.kleijn@sap.com" ]
ronald.kleijn@sap.com
00d0f44c83780200262e12560783f686992c3bea
d041f7c9da13f70f2a5f6a41c3957b161ff17b0e
/tools/calmbench/calmbench.py
6ddd96b5e1ca536edb4a758f175dd40844dbf802
[ "BSD-3-Clause" ]
permissive
tanjhysj0/skia
e2fb8cbe95f1439670af3d9ae7eca02ade6b84da
f4f3f0fb29d493108cbf0f3d1d648ea8bf7e2011
refs/heads/master
2021-05-14T05:56:01.882976
2018-01-04T04:53:37
2018-01-04T05:17:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,826
py
#!/usr/bin/pyton # Copyright 2017 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys import subprocess import multiprocessing from argparse import ArgumentParser README = """ Simply run \033[36m python {0} TEST_GIT_BRANCH \03...
[ "skia-commit-bot@chromium.org" ]
skia-commit-bot@chromium.org
ae881888e956a6cbcc09a1afd6c0e1a9ce59c9b1
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/task_agent/v4_0/models/task_agent_reference.py
251286086d7cf6b6cbd187ff627325e890e4e9ba
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
6887d4b1034bc23df23811cf964f27e4545c22be
43e774209794007c6e4ea57f2b7dd7a3cd91db55
/filter_demo/filter_demo/views.py
61430e1b6b6e793e84cad47b3d5bbb032555cfc5
[]
no_license
AnleSu/django_demo
6cd0c5ecd8f9915c372bf11bba9751c8aaea6e0e
e1969784d01f68b9910646960b1936213ee893af
refs/heads/main
2023-03-02T12:50:14.955473
2021-02-07T09:29:20
2021-02-07T09:29:20
336,748,550
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
from django.shortcuts import render from datetime import datetime def index(request): context = { 'greet': greet, 'username': 'liming' } return render(request,'index.html',context=context) def greet(word): return "hello world %s" % word def add_view(request): context = { '...
[ "anle.su@ucarinc.com" ]
anle.su@ucarinc.com
de30f51d56ce3a91dc958d7dbe6c15658e5e94c2
4e63bc07930cbed712fb5be95d5a00007b05cba0
/fun/batman
04d0a6358ab73168a7d5f504edcb11467b135796
[]
no_license
gitliver/mybin
6a9ae8b46646d17b0795d71435115d982cd62496
0032fb3897111129c030405588617892716cc56d
refs/heads/master
2021-05-16T03:06:13.461893
2020-12-01T03:14:38
2020-12-01T03:14:38
30,128,607
0
1
null
null
null
null
UTF-8
Python
false
false
21,821
#!/usr/bin/env python # About: # print the bat signal # Useage: # batman print (""" ...
[ "oe2118@cumc.columbia.edu" ]
oe2118@cumc.columbia.edu
85c6b11bfb46f3eb701b3981aeea8721e9ba29fc
72d69df637d0a1d2c94c87f738ad36a4a61b4561
/shop/signin/admin.py
abb3676b922ca8bf60ddaee79e979956836855df
[]
no_license
Sylvia47/shop
ac8202a706c559bdb3f6459c8db2dfb01d773df6
6cd43cb2130e5eef4e105a3d5656d03c2a3ed425
refs/heads/master
2020-04-18T01:44:36.664009
2019-01-23T06:48:57
2019-01-23T06:48:57
165,453,135
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from django.contrib import admin from signin.models import Orderlist admin.site.register(Orderlist) # Register your models here.
[ "via1100302047@linyujiede-air" ]
via1100302047@linyujiede-air
3f63965e65e4da73c8f7064805e1248b9854bc22
bcad63265f704229b127d6ab65bfeca0a08411ba
/courses/admin.py
e18a2019a4f14fb241c08fac29ae409b2ba339f9
[]
no_license
vinodkr494/elearn
07ca442dc2f1e0b3051c1c2ccc18eff3ba8616d7
6b62c173ca093bad4d4ded1bd0c25d7a7341f690
refs/heads/master
2022-12-11T11:25:02.312138
2020-09-12T19:41:36
2020-09-12T19:41:36
295,013,296
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
from django.contrib import admin from .models import Subject,Course,Module # Register your models here. @admin.register(Subject) class SubjectAdmin(admin.ModelAdmin): list_display = ['title','slug'] prepopulated_fields = {'slug': ('title',)} class ModuleInline(admin.StackedInline): model = Module @admin.r...
[ "vinod.kr494@gmail.com" ]
vinod.kr494@gmail.com
201a471ca3a76025d649980fe5d314632d0e6cef
6021f75a9c6baac12b7b8b8c07401b7c8e1f173a
/bin/python-config
0ab946855d245fbc3a49743e3a9f58e978e39ed7
[]
no_license
srakrnxKU/204215-vimguard
272e609a7ff6243f7ff42d17dd518b2ff356e332
2084bd9e4e26d6a235251d63e7305c6cbb7129af
refs/heads/master
2021-07-23T19:06:44.791679
2017-10-31T15:08:18
2017-10-31T15:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,359
#!/home/srakrn/Works/sophomore/oop/VimGuard/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys....
[ "tanersirakorn@gmail.com" ]
tanersirakorn@gmail.com
f7df65c7b79e7965953d8930638171599c431c3b
801d313ed79b977f10ca3504adf5e2902cc19c55
/agent/indy_catalyst_agent/transport/inbound/manager.py
79650d228be82124d96dfd3ca6afc67a0ee4cd53
[ "Apache-2.0" ]
permissive
fabienpe/indy-catalyst
8a32fe8b70244175892690df1a42daef3296fa94
2f1b4102e620a1f421cb39dffd9651c64d6d5bd7
refs/heads/master
2020-05-29T16:43:59.478468
2019-05-23T18:44:41
2019-05-23T18:44:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
"""Inbound transport manager.""" import logging from .base import BaseInboundTransport from ...classloader import ClassLoader, ModuleLoadError, ClassNotFoundError MODULE_BASE_PATH = "indy_catalyst_agent.transport.inbound" class InboundTransportManager: """Inbound transport manager class.""" def __init__(s...
[ "nbrempel@gmail.com" ]
nbrempel@gmail.com
9cb833f8dece4250adb5a6d0772b2b7ef563b784
1d53e32b70c69dddc1adfd11ce5359d28d1d0303
/4_2_5_linearregression.py
17e1fbb46a27f0ae12b7908157c533bc815137e6
[ "MIT" ]
permissive
RyuTake/PythonStudy
2d3154e80ba36cb9f04c96e61861b2600364bd59
7726f0cdaed2e65134027540d53ba77dc0ffe4cc
refs/heads/master
2020-03-23T09:43:03.637030
2018-12-25T13:57:11
2018-12-25T13:57:11
141,404,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 11 10:48:48 2018 @author: rtake """ import matplotlib.pyplot as plt import numpy as np x1 = np.random.rand(100,1) x1 = x1 * 4 -2 x2 = np.random.rand(100,1) x2 = x2 * 4 -2 y = 3 * x1 - 2 * x2 +1 plt.subplot(1,2,1) plt.scatter(x1, y, marker='+') plt.xlabel('x1') plt.yl...
[ "39160116+RyuTake@users.noreply.github.com" ]
39160116+RyuTake@users.noreply.github.com
b1279557390c38ae1450f5fded318cf019aa0d47
6505885c08a56bce132d35ac330f9a388b95c3e5
/preprocess.py
f7f10cc741e9b864fc64205dd9c1ae635ec69634
[ "MIT" ]
permissive
ConquerDataScience/sp2016-csci7000-bda-project
b81c128cb029c278d782ea956fd5f30902c1a3c1
3fe79c658f10d0f1ab5e8baeca933d06f6ab8a7d
refs/heads/master
2020-12-14T09:01:43.788624
2016-03-16T17:43:35
2016-03-16T17:43:35
54,578,274
0
0
null
2016-03-23T17:15:10
2016-03-23T17:05:31
Python
UTF-8
Python
false
false
7,506
py
''' Created on Mar 5, 2016 A module for preprocessing raw data files from the KDD Cup 2009 dataset. @author: Nicolas Metts ''' import csv import numpy as np import argparse import os import pandas as pd from sklearn.preprocessing import LabelEncoder from sklearn.preprocessing import OneHotEncoder from sklearn.preproc...
[ "N.Metts@cablelabs.com" ]
N.Metts@cablelabs.com
b4aa0239a1f8bc9f71f2f19a9cd9ab47eb7ca96d
432bd28c73fe50355635a3e7832241affff072d8
/mac/blog/views.py
72bf29f10c3303bb5fe31a5f403670688b7635b9
[]
no_license
akshar1277/e-com
d77b7f69b169d56b3a796e9db1578b5f65e2a164
433c9b374f8437a8ea3118b5218995290dbf5e2f
refs/heads/master
2023-07-17T18:48:25.518662
2021-08-26T07:59:59
2021-08-26T07:59:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
from django.shortcuts import render # Create your views here. # from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return render(request,'blog/index.html')
[ "bhalani.akshar1277@gmail.com" ]
bhalani.akshar1277@gmail.com