blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
25c58725bf4411b1273ac8755b39e4197126e5fb
61210d713cdedec15e100315af0105266bc619e6
/Tests/test_fblogin.py
bd14a4412cde7a6627e3c1166330fba4bb6de2e2
[]
no_license
Raghavan80007/Facebookloginid
8f07a170c6a5825bad71b650134800ce46c14421
48546705f378e4629b39f15bb9207746f1713bdb
refs/heads/master
2022-11-30T18:39:45.190765
2020-08-07T07:58:14
2020-08-07T07:58:14
285,615,882
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
import pytest from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from Utilities.BaseClass import BaseClass from PageObject.LoginPage import Login from Data.LoginData import LoginCredential import time class TestLogin(BaseClass): def test_fblogin(self,getData): ...
[ "sraghavan8007@gmail.com" ]
sraghavan8007@gmail.com
81ed055089f4093a3797d536989022acd1f81658
adc7dc785c43bb5f48069f551f156f9524011fe6
/backend/api/tests/unit/tournament_tests.py
d6cca7a05ba0839452ba353b5e7edaa5f4c77c76
[]
no_license
juncheong/Sockem-Boppem
6a26184e3d3b684d5b18f95c0dda0fa1497bc48d
9bf531dcbdf4894d88ad79c6f91398e8923756c6
refs/heads/master
2023-01-12T00:29:17.706933
2020-01-05T14:52:11
2020-01-05T14:52:11
189,316,821
0
0
null
2023-01-04T01:09:49
2019-05-30T00:16:05
Python
UTF-8
Python
false
false
1,304
py
""" Unit tests for the Tournament model in the API app """ from datetime import datetime import pytest import pytz import re from api.tests.factories import UserFactory, TournamentFactory from api.tests.unit.user_tests import UserTests from api.models import Tournament, TournamentUser class TournamentTe...
[ "juncheong1@gmail.com" ]
juncheong1@gmail.com
9504896097bcea60c14d934448da0886d9fa1f85
a0554d8e46e19645699058e5bd2e15bd3ad83216
/tests/Node.py
6709670a6019394b04bde1648fec56d6e182f00c
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
pacificcode/eos
daaacfca8e02e9976780061df6c8cf3a31340094
61e1768692e5fa6ecfffc296952476d69bda9d6e
refs/heads/master
2018-10-07T16:57:40.813035
2018-06-18T18:23:41
2018-06-18T18:23:41
118,769,415
0
0
null
2018-01-24T13:31:43
2018-01-24T13:31:43
null
UTF-8
Python
false
false
40,713
py
import decimal import subprocess import time import os import re import datetime import json from core_symbol import CORE_SYMBOL from testUtils import Utils from testUtils import Account # pylint: disable=too-many-public-methods class Node(object): # pylint: disable=too-many-instance-attributes # pylint: dis...
[ "johnc@objectcomputing.com" ]
johnc@objectcomputing.com
9e4853bbbe116ed53f13c67fc1d7cd1b9984033b
e949e5195507d2029f920b8837f205bf32ef67fa
/question2.py
9b0edf491fc65fcb5d3971b4031121c22f156145
[]
no_license
prithviraj-11/sample-question2
6a562c400199cbcecfa6f29f647f2a4f6649eb72
aa786fe1c7037f04331fa5a01108c3c3817be452
refs/heads/main
2023-04-03T05:49:18.921437
2021-04-08T13:13:36
2021-04-08T13:13:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
import flask from flask import request,jsonify import requests import json from datetime import datetime from time import strftime,gmtime app = flask.Flask(__name__) app.config["DEBUG"] = True time_format = "%Y-%m-%dT%H:%M:%SZ" url = 'https://gitlab.com/-/snippets/2094509/raw/master/sample_json_2.json' r ...
[ "noreply@github.com" ]
noreply@github.com
ef98cfec035e621902aedc72b76f5850fc6e84ca
e380663d6a11d05828a040486c85e2dfae358597
/djangove/utils/templatetags/navigation_tags.py
bafbc92d8d8e0530401dc4ad20eed4c5aac944d7
[ "BSD-3-Clause" ]
permissive
djangove/djangove
4a2ad9dcd5236ff746bb09d21f2fab1424dfc2f5
1fee878d170e52ee0c5cacd1d2813b045d4cbb77
refs/heads/master
2021-09-10T05:58:01.868815
2020-03-09T22:27:58
2020-03-09T22:27:58
43,475,979
1
1
BSD-3-Clause
2021-09-07T23:57:06
2015-10-01T03:13:04
Python
UTF-8
Python
false
false
4,882
py
from django import template from wagtail.wagtailcore.models import Page register = template.Library() @register.assignment_tag(takes_context=True) def get_site_root(context): return context['request'].site.root_page def has_menu_children(page): if page.get_children().filter(live=True, show_in_menus=True): ...
[ "edwar.baron@gmail.com" ]
edwar.baron@gmail.com
e884838af6919358d5a44231a2d42928d2026a88
63b2128d496293f58a78fd3e476c06cfafbd7d51
/leetcode/15.py
7642f0a0692cf894165383fdf1cb542cf307ba47
[]
no_license
wonjong-github/Python_algorithm
221bc66f0f144852b3c3982988a351686f903203
0bd3d0918f0a8d5edc3e268724ce4a2932814945
refs/heads/master
2023-07-13T20:44:37.618671
2021-08-23T06:46:05
2021-08-23T06:46:05
389,080,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,648
py
class Solution(object): def threeSum(self, nums: list[int])->list[list[int]]: """ :type nums: List[int] :rtype: List[List[int]] """ # 재귀 -> 시간초과 # answer = [] # nums.sort() # def go(nums: list[int], index: int, sum: int, cnt: int, nowlist: list[int]): ...
[ "david8318@naver.com" ]
david8318@naver.com
9993524839c4476d8027fa33d26ed3d1e85f8d24
df4b9113ce0976e422b090d209fdd8a98064a4c9
/tests/test_update.py
9e7e571f37985bdc2f3dc7ce5c6ced14951aba35
[ "MIT" ]
permissive
gonzalo123/dbutils
6161e0c6643fd52dd05d2c32c39238154e2f9fcb
8a9c7ad7a864da52b0a1fe40e3510a9140210e89
refs/heads/master
2023-06-08T03:13:37.587338
2021-06-30T13:49:28
2021-06-30T13:49:28
309,414,147
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
from tests.sql import SQL_SINGLE def test_update_one_row(db): assert 1 == db.insert( table='users', values={'email': 'user1@email.com', 'name': 'user1'}) assert 1 == db.update( table='users', data={'name': 'xxxx'}, identifier={'email': 'user1@email.com'}, ) as...
[ "gonzalo123@gmail.com" ]
gonzalo123@gmail.com
3d13c7a64cd6189498981d30c49c6647587d9fec
a95f0dcb34dedcabc60c5e973a88ee128e621e50
/L4/Q3.py
94f70beb3194bf3ccaed331c549cb20711b6a87b
[]
no_license
jacky0313/D002-2019
4c55af62ca3b981d15a18daa253a453d458938ba
7671d09cb987612249727815e498e05b94831620
refs/heads/master
2020-06-30T21:51:27.963283
2019-08-16T04:01:51
2019-08-16T04:01:51
200,960,608
0
0
null
2019-08-15T02:33:29
2019-08-07T02:54:07
Python
UTF-8
Python
false
false
217
py
def factor(x): result=[] x = int(x) for i in range(1,x+1): if x%i == 0 : print('%d is a foctor of %d' % (i,x)) result.append(i) return result print(factor(40))
[ "noreply@github.com" ]
noreply@github.com
243c82d2ac9b47f93c80d5616f675f92d84dc0ea
3a69696a2c5debfb24dfacffa6d3b0e311d0375e
/src/tests/test_launcher.py
80eca716e26f24ebe46b392f600f9e5be84878bf
[ "Apache-2.0" ]
permissive
Build-The-Web/bootils
7aeab92debc20258d645a70f5595738653ef46a7
8ee88f4d0583352f58fbb89c018e7caef8f07ce3
refs/heads/master
2021-01-17T09:14:18.317535
2016-06-03T13:38:01
2016-06-03T13:38:01
32,890,374
3
2
Apache-2.0
2018-03-04T20:46:22
2015-03-25T20:57:07
Python
UTF-8
Python
false
false
1,951
py
# *- coding: utf-8 -*- # pylint: disable=wildcard-import, missing-docstring, no-self-use, bad-continuation # pylint: disable=invalid-name, redefined-outer-name, too-few-public-methods """ Test «some_module». """ # Copyright © 2015 1&1 Group <btw-users@googlegroups.com> # # Licensed under the Apache License, Version 2....
[ "jh@web.de" ]
jh@web.de
23f1310448fdd93741a876ef5a68b423f2781715
c05c39ff844e37843083bc7e6cc6fe83b377c723
/movieApp/models.py
0950a53823c304e26177d970d146482533ba6c2a
[]
no_license
hn-h/movie-heroku
a4f262519f7434cb9af5cbd32f6043097abcf606
eeadecd73c81e7db0be09eff0375997f14a35790
refs/heads/master
2023-06-04T23:27:46.763966
2023-05-27T00:27:40
2023-05-27T00:27:40
380,352,406
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
from django.db import models class Movie(models.Model): """Movie model which contains the interested data fields of the movie""" movieID=models.CharField(max_length=30) name=models.CharField(max_length=30) year=models.IntegerField() genres=models.CharField(max_length=30) image=models.URLField(m...
[ "mr.si7s@hotmail.com" ]
mr.si7s@hotmail.com
0ce02c8bde91f17e1b3ba3634015ce0ff8705b24
09d76dda74e7f8ae10a0fbfb4dce7ce1ab6b89b2
/sql-alchemy/resources/item.py
dc1fc3d56cbff537556d35c8516038d433258f0a
[]
no_license
kotternaj/django-fullstack
5b02fdd5ae90b5fb7c2bdd0afd1b515533694faa
e76b671b4aed623d85681d55f5fe239e75cb499f
refs/heads/master
2020-03-19T08:45:41.544648
2018-06-25T17:47:17
2018-06-25T17:47:17
136,232,689
0
0
null
null
null
null
UTF-8
Python
false
false
2,062
py
from flask_restful import Resource, reqparse from flask_jwt import jwt_required from models.item import ItemModel class Item(Resource): parser = reqparse.RequestParser() parser.add_argument('price', type=float, required=True, help="This field cannot be left blank") parser.add_a...
[ "john.d.reddock@gmail.com" ]
john.d.reddock@gmail.com
c8a41a9fd2264a175999475b482f5c7509481456
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/spiders/movies_20200627214427.py
4ddb627414c18159133e722575fe0e29e8aa2e28
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
932
py
# -*- coding: utf-8 -*- import scrapy from maoyanspiders.items import MaoyanspidersItem # import xlml.etree from bs4 import BeautifulSoup as bs class MoviesSpider(scrapy.Spider): name = 'movies' allowed_domains = ['maoyan.com'] start_urls = ['http://maoyan.com/board/4'] # def parse(self, response): ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
2ba56d300f998d10473103a90bf6e35b36c49fec
a37b756e34fc39c1237fc68997dbef77df9fa6fc
/keras/keras56-61/keras59_3_save_npy.py
610895f0e6684a04202781a5817cb6ccdfb0c08d
[]
no_license
jvd2n/ai-study
e20e38493ad295940a3201fc0cc8061ca9052607
a82f7c6d89db532f881c76b553b5ab3eea0bdd59
refs/heads/main
2023-08-06T03:24:39.182686
2021-10-06T14:41:01
2021-10-06T14:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
import numpy as np from tensorflow.keras.preprocessing.image import ImageDataGenerator train_datagen = ImageDataGenerator( rescale=1./255, horizontal_flip=True, vertical_flip=True, width_shift_range=0.1, height_shift_range=0.1, rotation_range=5, zoom_range=1.2, shear_range=0.7, fill...
[ "juhnmayer@gmail.com" ]
juhnmayer@gmail.com
0189d5ce409813dd2d8a5ad0d90d568a0a164afe
2c2a9f362c7949cbfa989cf79527e63b1616596b
/[WEB][누뗄라][talk2slides]/record/naver_api_utils.py
3b6787a75fd9512e9701adc02beb933769c4d826
[]
no_license
blesk011/AI-Burning-Day_Result
5fa1e3c0029293d8d1d8661ffd4cb1f210aee7e1
98d19f4fe043e28158efd94da12d452be77f63d6
refs/heads/master
2022-10-09T02:50:22.849979
2020-02-15T04:11:28
2020-02-15T04:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
import sys import requests import io import getpass def parse_audio(client_id, client_secret, audio_bytes, lang="Kor"): # 언어 코드 ( Kor, Jpn, Eng, Chn ) url = "https://naveropenapi.apigw.ntruss.com/recog/v1/stt?lang=" + lang data = io.BytesIO(audio_bytes) # made it to read in bytes object header...
[ "noreply@github.com" ]
noreply@github.com
dcb5697c77e97b629e00c40b32d677c450dc69c1
4ba3f44a648b0c08565c281e9ae49ec4ec5c0fd0
/tests/test_score_scraper.py
1d2cf7d84b28b75b49d323b724c286c76e09464a
[]
no_license
UncleMarko922/ScoreScraper
ebd93cce83515dfe2a61ef4f3f13d4f8cb451471
b93ad80eb5ccea4e913777b5db848b6ac7483bb6
refs/heads/master
2020-04-16T06:07:05.088571
2019-01-12T01:38:01
2019-01-12T01:38:01
165,333,476
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from score_alerts.scrapers.score_scraper import parse_results def test_announce_results(): expected = True mock_team_data = (['team 1', 'team 2'], ['300', '0']) result = parse_results(mock_team_data) assert result == expected def test_announce_results_no_scores(): expected = False mock_team_da...
[ "markopavlovic922@outlook.com" ]
markopavlovic922@outlook.com
222cb6f389f53e330640ae89c5008911a6264ddc
52cdf6669748d6f7b0572ee8f6308f6291ad6425
/macros/DIFFICULTY_LEVEL.py
1b5ba0a1635b25af65b8189c7ac54658eac53b00
[]
no_license
Bedpaw/roguelike-game
d92151d95c0ebec82cc340a46484fefeded2b408
3ecd1f6826d34f87cf9a2eb9e8d470adc2f7a4c2
refs/heads/master
2022-11-26T00:28:30.743710
2020-08-05T16:49:15
2020-08-05T16:49:15
285,349,930
0
0
null
2020-08-05T16:47:52
2020-08-05T16:44:52
Python
UTF-8
Python
false
false
48
py
IMPOSSIBLE = 2 HARD = 1.2 NORMAL = 1 EASY = 0.8
[ "bedpaw97@gmail.com" ]
bedpaw97@gmail.com
bd15bafc40367b2af7347e1b7292f75b5842ba92
859297026361fd0cbd519f4d9bd862a487f69289
/check_n7k_route.py
0e1b5bb61a39f3dbbe4a47edd4807cbd218271a3
[ "Apache-2.0" ]
permissive
xmanta/pythontesting
d14182923608aa4d6156ba173e6ef6f3940c9d28
d2ed5be63de344cb689fe00c04cf75f89d91f28a
refs/heads/master
2022-11-17T13:27:00.941022
2020-07-02T00:36:37
2020-07-02T00:36:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/5/27 15:44 # @Author : Marion import paramiko import re class CheckN7kRoute: def __init__(self, ip, username, passwd, port=22): self.ip = ip self.user = username self.passwd = passwd self.port = port def conn(sel...
[ "yangc-k@glodon.com" ]
yangc-k@glodon.com
297233c28a62383162933f0b8921d932ebce1b16
a48524f7fec6168096cff25023f302cd1f59d287
/deploy/players_by_date_with_stats.py
8ad01ef47be3ade45c03d66663be3099e34bdcf4
[]
no_license
Mastakey/python-hockeyscraper
b3cb0987b505afd2fd499c744719d29cc90e1f61
8774d19e713ad7c0fabf4aef0286c67bb75190ad
refs/heads/master
2021-01-10T16:16:58.858300
2015-11-09T18:53:43
2015-11-09T18:53:43
45,067,460
0
0
null
null
null
null
UTF-8
Python
false
false
6,225
py
from __future__ import division from operator import itemgetter from lib.SQ3Reader import SQ3Reader from jinja2 import Environment, PackageLoader env = Environment(loader=PackageLoader('tmpl', '')) template = env.get_template('body/players_by_date_with_stats.html') import pdb import time import os import math def ge...
[ "HanK@corp.espn.pvt" ]
HanK@corp.espn.pvt
45b2bf92770339b2ab99a1f99e248e3ef1a3feaf
b01d704733d042704bb5f2f14cad6eda58f2fcd9
/mysite/polls/admin.py
937cd67da159040345c6e8f6951cf55ea5858445
[]
no_license
TarasTD/django_test
093126d22a80c3c684c166403a2dfa24e4a23c44
c0cbfa5364d493b94c67cff0a2f8385e5b86f160
refs/heads/master
2020-05-18T10:00:01.854105
2013-11-08T16:43:24
2013-11-08T16:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
from django.contrib import admin from polls.models import Poll, Choice class ChoiceInLine(admin.TabularInline): model = Choice extra = 3 class PollAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question']}), ('Date information', {'fields': ['pub_date'], 'classes': ['collapse...
[ "tarasdmytrus@gmail.com" ]
tarasdmytrus@gmail.com
1ed91a8e5264f4a9bf8af550d1865238475211f4
a8a5dca8dd935ef62030eba899da6b811ef97454
/SENG590/lib/pos_extractor.py
0a919acd5ce3e886d5c59b61365dd98fc2b7bda2
[]
no_license
jordanell/School
5d2f1430c374c4ca54d02eb3de9d3b9e56279d79
2bdda6f4d366862ad541a3d38ac751ff41e12fbb
refs/heads/master
2016-09-11T06:55:19.599619
2014-04-15T00:50:08
2014-04-15T00:50:08
2,425,861
0
1
null
null
null
null
UTF-8
Python
false
false
769
py
from topia.termextract import tag from topia.termextract import extract class pos_extractor: tagger = tag.Tagger() extractor = extract.TermExtractor() text = None def __init__(self, text): self.tagger = tag.Tagger() self.tagger.initialize() self.extractor = extract.TermExtractor(self.tagger) self.text =...
[ "jordan.ell7@gmail.com" ]
jordan.ell7@gmail.com
2fa1259867d2b816faef8df2d0a6e2011167016f
308573217aefbd4b467847dc161e16c246808647
/tools/member-payment-report.py
7299dc16824a8dd6937ed46577d7e91fc4631967
[]
no_license
Denhac/ApplicationAPI
bc8427e924b726a7bba55ecff90e50d09d3c7bed
9c4435f4f0ea288cf53c098108e8c4b49b145de8
refs/heads/master
2020-12-25T16:54:25.398814
2017-07-19T12:23:00
2017-07-19T12:23:00
26,699,832
5
1
null
2015-10-25T21:29:46
2014-11-16T01:18:02
Python
UTF-8
Python
false
false
626
py
#!/usr/bin/python # Python includes import sys # Our own includes go here # insert() makes our path the first searched entry, as opposed to append() sys.path.insert(0, '/var/www/denhacpkg') from DenhacDbLibrary import DenhacMemberDb def xstr(s): if s is None: return '' return str(s) def istr(s): ...
[ "anthony.stonaker@gmail.com" ]
anthony.stonaker@gmail.com
9de6ca0a08f48294cb58547043edba688eeb8506
9d7cc6f6a8190a7ac6e8924db8a11ac64ba2c1ad
/trydjango/urls.py
e6d4e3bd981e52c8a52256e0e58e27fc7972b071
[]
no_license
ManasVardhan/SampleDjangoProject
fa8bee546d235a256ff18486cb5e4ffcc5aacbbd
d683a260c4ed2a7feff7f168b645116c2c977943
refs/heads/main
2023-03-26T19:17:56.587921
2021-03-27T10:56:44
2021-03-27T10:56:44
352,048,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
"""trydjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') C...
[ "noreply@github.com" ]
noreply@github.com
8276ea44c6c7b1aee03afa234cd46dcbdb7bda79
4abaf70e97cfe05eac6a9947121f553a23c3b8a3
/Day 2/solution2.py
d6b203dfa0c21d7e2d3c0826d459d7956924d0a9
[]
no_license
anthonynoakes/AoC-2017
07f446164f695181094fa9f6885ded4876f2a06e
2141033ade126b14eda0e2f38b9d3ff0f20b0578
refs/heads/master
2021-08-30T22:49:29.019306
2017-12-19T17:56:44
2017-12-19T17:56:44
113,075,686
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
#For each row # find the only two numbers in each row where one evenly divides the other # find those numbers on each line, divide them, and add up each line's result import re import sys input = open('Day 2\input.txt', 'r').readlines() total = 0 for line in input: x = 0 y = 0 segs = re.split(r'\t', lin...
[ "asn.noakes@gmail.com" ]
asn.noakes@gmail.com
a1fc96319df2096c7e0f64f5737540c26e0037f8
7eed749ce5278f857dca84e24b8013c57bb09329
/blog/migrations/0001_initial.py
6e413e99188e0560a9c5c908bf5c951fe25df3a1
[]
no_license
zdomcia/djangogirls
5ab79125255b575ef0ba90e5efb64d993337950c
4f3a82e190f8c50ba9bc2f5c69f020d8ab82587f
refs/heads/master
2021-04-24T17:58:42.150781
2014-11-11T16:10:57
2014-11-11T16:10:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations ...
[ "dominikazajac00@gmail.com" ]
dominikazajac00@gmail.com
8ba2cbaceeb6ecd1f79a0aaa8ad6322d5c9d3954
c489a910d1533f0e03a86f3cc483fdba352dc481
/tests/platform_tests/cli/test_show_chassis_module.py
a16ca7d6baf021ba84013997b905255f0fcb61c9
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
chenkelly/sonic-mgmt
1b6dab6e34dac2ac8cb475c4ded1329e53ad31d4
7bf848d84af017b0275f75c3a383b6fc63f0ab43
refs/heads/master
2023-03-08T11:14:22.071818
2023-03-02T02:26:05
2023-03-02T02:26:05
212,235,644
0
1
NOASSERTION
2019-10-02T01:53:59
2019-10-02T01:53:58
null
UTF-8
Python
false
false
3,664
py
import logging import pytest from tests.common.helpers.assertions import pytest_assert from util import get_field_range, get_fields, get_skip_mod_list logger = logging.getLogger('__name__') pytestmark = [ pytest.mark.topology('t2') ] CMD_SHOW_CHASSIS_MODULE = "show chassis modules" def parse_chassis_module(out...
[ "noreply@github.com" ]
noreply@github.com
f9d1afa2bf4f71a2e8882d5141f1231acf40c7a2
afd79a82801dbe91071a3b72aa0f27daf3e61378
/settings/__init__.py
8cf8dd9e3b3dca5a239012a7f1d318173b0ca066
[]
no_license
crazyministr/testForm
668ff9e051f797d6d53a20baf87e7c782923edce
fccf7a8f7659cfc799884142084787b7226e8188
refs/heads/master
2016-09-09T21:17:32.729080
2015-03-18T17:35:04
2015-03-18T17:35:04
32,471,626
0
0
null
null
null
null
UTF-8
Python
false
false
2,550
py
""" Django settings for testForm project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) i...
[ "crazyministr@gmail.com" ]
crazyministr@gmail.com
ce54fc26fa83f4b27c13a5b0b4941e208f6a4ecc
115566febb1c43c0cf6054c375ee1fa0d64c43f3
/stochastic_block_model.py
f226321a5c4bcff15224b6748bd5e7e670c3305a
[]
no_license
gottacatchenall/stirring_it_up
01c049e90ef43cf14a5181158f136c1dca0df3f5
c76b1de7b4fe72231e973715768d03c0f72ca994
refs/heads/master
2022-11-14T05:21:57.966412
2020-06-29T22:39:31
2020-06-29T22:39:31
275,940,828
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
import numpy as np def get_community_ids(num_indivs, community_size): num_communities = int(np.floor(num_indivs/community_size)) community_ids = [] for i in range(num_communities): community_ids += [i for x in range(community_size)] return community_ids def initialize_sbm_probability_matrix(pa...
[ "mdcatchen@gmail.com" ]
mdcatchen@gmail.com
85cd6a7fc3fd30414c7549565e1cf56245d15e74
29841982e9d3a70d24faa6bed2397d07419fb409
/aula_5/dashboard/routes/auth.py
572c567ffdc274cd6a81933ea061133c5086aa66
[]
no_license
HiroEu/python-521
40d6950b19b6c5a9850177739b3e72be0c0e0ae7
d279cb5dac771e11681cdfa91bfe363a2fbaa356
refs/heads/master
2022-02-24T15:43:49.085686
2022-02-08T19:08:58
2022-02-08T19:08:58
202,603,500
0
0
null
2021-06-02T00:20:44
2019-08-15T19:58:07
Python
UTF-8
Python
false
false
1,593
py
import flask import ldap3 import logging blueprint = flask.Blueprint('auth', __name__) @blueprint.route('/sign-in', methods=[ 'GET', 'POST' ]) def sign_in(): context = { 'title': 'Python | Sysadmin', } EMAIL = 'admin@admin' PASSWORD = 'admin' if flask.request.method == 'POST': ...
[ "leonardo.mendes@4linux.com.br" ]
leonardo.mendes@4linux.com.br
e5bd94b2f301e8eb6477bc04c154577734d13f27
6e50ad3f27670265ffde0f13b062ba339eb047cf
/python_41a/final_exam-2 (1).py
f60e3a531c1fd0fc11dcf4ee161d2c3716d63b6e
[]
no_license
syuta-sugawara/41a_python
7a8f7b97ada70fe03079a73d5272c2dc8f6b76d9
9cc2586fae7eda9d4ae7fa1d794584f62d06509d
refs/heads/master
2020-03-22T02:32:03.885684
2018-07-02T01:37:53
2018-07-02T01:37:53
139,376,030
0
0
null
null
null
null
UTF-8
Python
false
false
2,478
py
#class Read(): # def __init import csv import re class Book(): def __init__(self,idnum,isbn,title,name,year,ty,pages,price): self.idnum=idnum self.isbn=isbn self.title=title self.name=name self.year=year self.type=ty self.pages=pages self.price=pri...
[ "sugawarasyuta@MBA.local" ]
sugawarasyuta@MBA.local
2ceab1a4cf0105b3fdcd2e3c2083b29bdbdc45b8
84a833897d1ccfd393ce782f6370dfee17611831
/python/booleans.py
944477ca5273e024dd8a889e4250746927e4c679
[]
no_license
rhiafaery/wcc
e7bf5c0a26ddca5a632e64996bc2a098e58fe772
87a7f2d20dbae1ec892a7d7353b095769889342e
refs/heads/master
2020-02-26T15:50:58.535926
2016-10-19T05:07:30
2016-10-19T05:07:30
70,862,899
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
# print(1 == 1) # Expected output: True # print(1 == 2) # Expected output: False # print(1 > 2) # Expected output: False # print(2 > 1) # Expected output: True # print(1 >= 1) # Expected output: True # print(2 == 2) # Expected output: True # print(2 != 2) # Expected output: False # age = 30 # print(age > 10) ...
[ "chocolategrl@gmail.com" ]
chocolategrl@gmail.com
2f26a61140e3abba65eb05fab1a0b88f668afbe5
ec927712164a99136b35e6ac6a88a2e3dd005c45
/FollwDevice/GoogleFindMyDevice.py
f4b028b75247eec1750e503da3862faeada42985
[ "Apache-2.0" ]
permissive
rrooggiieerr/FollwDevice.py
4ad0be4c7caa6d84f0f18248a548b423b1d76e3c
d8ce2165c06ab836ea04f232b34f909f439a791b
refs/heads/master
2023-05-08T02:23:18.509718
2021-05-26T17:33:04
2021-05-26T17:33:04
371,029,791
0
0
null
null
null
null
UTF-8
Python
false
false
5,271
py
import logging, time, json, urllib, socket from http.cookiejar import MozillaCookieJar logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) class GoogleFindMyDevice(): terminate = False online = True username = None Password = None deviceId = None deviceName = None cookiejar = MozillaCo...
[ "rogier@batoid.com" ]
rogier@batoid.com
010bf9a10b43cd62696ec9bd482e98b98858d9dd
c3cfbcc1bf2ede441218f0d67f18fe387f314b0c
/crop/train-crop200,resize224.py
c7e9fdc7ec364a67f9f39c4604966fd7266102a9
[]
no_license
kaliachka/MPMI-lab4
c1d92f1ddbbe85f120793161b3f01298782c2ac2
6755b66e7b10104754af48619a206c19fd2547a9
refs/heads/main
2023-03-27T13:22:11.705071
2021-03-30T06:43:13
2021-03-30T06:43:13
352,760,440
0
0
null
null
null
null
UTF-8
Python
false
false
3,578
py
"""This module implements data feeding and training loop to create model to classify X-Ray chest images as a lab example for BSU students. """ __author__ = 'Alexander Soroka, soroka.a.m@gmail.com' i__copyright__ = """Copyright 2020 Alexander Soroka""" import argparse import glob import numpy as np import tensorflow ...
[ "kolyachkoksenia@gmail.com" ]
kolyachkoksenia@gmail.com
6cd09b0b3010608ea53fb4615265f6367614bd67
60867b15b83c38da647a8acf7958808feb32cb5b
/力扣/0x10 从前序与中序遍历序列构造二叉树/从前序与中序遍历序列构造二叉树.py
195fd8d8358cf8b8da53c06f146527af291957d6
[]
no_license
hackerAlice/coding-interviews
6cce3b927ac935bbd74b3f12bc3d4b7098b35267
36868032a7dabae109265ae3b0138762e114e73b
refs/heads/main
2023-06-10T20:48:13.090015
2021-07-06T05:15:01
2021-07-06T05:15:01
372,359,565
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from typing import List # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def buildTree(self, preorder: List[int], inorder: List[int]) -> TreeNode: if not p...
[ "sudo_rm@163.com" ]
sudo_rm@163.com
34bc0ccefc528617718b9f3e88e6a4efead4dfd0
806bce69deb9e4b2f726104eede8b843ff7ceb77
/easyredis/foo/db_command.py
5bb55fd7f5612e655e65236dbebea42d994c1beb
[]
no_license
zhj1121/easyredis
8309fa93cdd95530fbcabbea478f5070aa075799
99ee8f31f85f11ae5aa682079e155ce460c1f462
refs/heads/master
2022-11-05T08:04:50.940451
2020-06-26T12:53:15
2020-06-26T12:53:15
275,155,346
2
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
#-*-coding:utf-8-*- """ @author zhj1121 @date 2020.6.24 @desc 一个用于处理关于easyredis的命令文件的类 """ import json import os import shutil import random from conf.db_conf import command_path from conf.db_conf import command_file class db_command(object): def __init__(self,command_file=command_file,command_path = command_path)...
[ "972865726@qq.com" ]
972865726@qq.com
3b8dab3caf5ea5bc26f73ce0a695743fc54d1ebd
697af415566ba649502bd18751a6521ac526892c
/2022_VERSIONS/rename_er2_hiwrap_ratio_files_with_dates.py
103b3076f5e91476a83cc6f59c7e187709d01c5d
[]
no_license
srbrodzik/impacts-scripts
df44c8f34746499b8397b5b1a4ad09859b4cc8d4
263c7545bbb912bbcea563a21d0619e5112b1788
refs/heads/master
2023-05-31T05:01:09.558641
2023-05-22T23:24:52
2023-05-22T23:24:52
215,638,568
0
1
null
null
null
null
UTF-8
Python
false
false
1,026
py
#!/usr/bin/python3 import os import sys import shutil from datetime import datetime from datetime import timedelta import datetime as dt import pytz if len(sys.argv) != 2: #print('Usage: sys.argv[0] [YYYYMMDD]') print('Usage: {} [YYYYMMDD]'.format(sys.argv[0])) sys.exit() else: date = sys.argv[1] ind...
[ "brodzik@uw.edu" ]
brodzik@uw.edu
d1d647caea7b42903b4101674eacc3bb34134e2c
611713c67bb5513a2bab3b50603c451b8076f7fc
/blender/operators/exporttopng.py
e7fd4e66057b7639a74d0448bf2b661e572fdd77
[]
no_license
CatmanIta/x-PlantForm-IGA
44471191657ff1470f0a87c619be63afa46c6387
cc91513adbec7f3ec37f43b5db708684bfba417f
refs/heads/master
2021-05-15T02:21:00.947868
2017-01-23T09:45:55
2017-01-23T09:45:55
18,171,281
1
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import blender.operators.abstractoperatorlsystem import blender.utilities import imp imp.reload(blender.operators.abstractoperatorlsystem) imp.reload(blender.utilities) from blender.operators.abstractoperatorlsystem import * from blender.utilities import showOnlyThePlantForm,showPlantAndBackground,selectAllPlantforms...
[ "cat.piro@gmail.com" ]
cat.piro@gmail.com
fb4f4b4a32a4ffd3982c6c91a03226f06f4d7fab
80ae8cb1f425532f72efe39ef4b0834ff409a92c
/garbage.py
b7750b74f49fa9a6339c24b2e74a47cfc50800e8
[]
no_license
erhuanCH/garbage-classification
89cb2a98aab10a3aa2e254dac78d51300b70076f
97829a7da96d860c30a0963fc7146e2f51dc4c6f
refs/heads/master
2022-09-09T01:24:37.932097
2020-05-30T08:04:04
2020-05-30T08:04:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,704
py
import numpy as np import matplotlib.pyplot as plt from keras.preprocessing.image import ImageDataGenerator, load_img, img_to_array, array_to_img from keras.layers import Conv2D, Flatten, MaxPooling2D, Dense from keras.models import Sequential import glob, os, random base_path = 'D:/AI/cnn-garbage/dataset-resiz...
[ "noreply@github.com" ]
noreply@github.com
4e1e739d6f1ffe00270897126aba906c133cd6d9
96adbb43649c0213ba670d8da6e9e0f67bb7acd1
/rdkit/Chem/EState/EState.py
075bc0c43f543c65922d8ff23d64f0ae9ce47d3f
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
ashwin/rdkit
13fb2b4ceee9b1d3ecbbad497719fb3fbe2a5079
c2de7f4c941ceab59e20c1e2966781c27ba3ce88
refs/heads/master
2020-12-25T12:41:48.704677
2013-05-09T06:56:28
2013-05-09T06:56:28
9,954,003
0
1
null
null
null
null
UTF-8
Python
false
false
1,801
py
# $Id$ # # Copyright (C) 2002-2006 greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # """ Basic EState defini...
[ "glandrum@a5045d30-4826-4484-9c7f-6e55a06ddc77" ]
glandrum@a5045d30-4826-4484-9c7f-6e55a06ddc77
5078f94c2f41d96ba025aa001d430690b98d6220
840415d8cfd668d408d3191056a01db62ee87e59
/platformio/commands/debug/helpers.py
657e8c48ea1caa6ebfdc73611019d196a00bdfeb
[ "Apache-2.0" ]
permissive
MyTeam888/platformio-core
a1a397e38ecca5a0b61f39dcfb4273c74a4e1b35
65297c24d4ffbc5713a7303b6a38a4cbc7f290e7
refs/heads/master
2022-12-13T12:30:40.667596
2020-09-10T14:46:56
2020-09-10T14:46:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,416
py
# Copyright (c) 2014-present PlatformIO <contact@platformio.org> # # 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 appli...
[ "me@ikravets.com" ]
me@ikravets.com
d70dad5130db6713f3aaf55c51855f70d3cc560e
39137ad4fee4dacc6886f05ba88eb6503a2283eb
/apse/gencode/gena/GenaParser.py
6f54da811740aee470621767d18316430c395e60
[]
no_license
Opexy/priv
ff8195c70b937a5cdca26d2cb13fcc76e2d473ca
a80812e9c7b39878162fb8f0e641cebfb300c1c4
refs/heads/master
2022-03-31T19:49:18.522838
2022-03-05T03:02:06
2022-03-05T03:02:06
124,963,896
0
0
null
null
null
null
UTF-8
Python
false
false
48,966
py
# Generated from Gena.g4 by ANTLR 4.9 # encoding: utf-8 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5...
[ "" ]
95e0cb207d679e915f591a3aa4c3d6303e9dddc2
03a81ebc980e564ae844403ee1526c963e837447
/BeamNG_scenario/van_scenario.py
05777e16a335c125f90ec37280d462e202ad2e8c
[ "MIT" ]
permissive
Hamza-619/Testing-Robustness-of-Self-Driving-cars
96944a701845eb24dba17eff041b21f98f34ade3
2d4de6dc5fdf0630be8bf8cf00e32233e63ba191
refs/heads/main
2023-04-19T03:19:58.777996
2021-05-05T06:33:37
2021-05-05T06:33:37
363,964,875
1
0
null
null
null
null
UTF-8
Python
false
false
44,373
py
# Define all the imports import time import matplotlib import numpy as np import matplotlib.pyplot as plt import pandas as pd import seaborn as sns from shapely import geometry import sys from matplotlib.pyplot import imshow from time import sleep import os import math import csv import itertools as it import random ...
[ "83582835+Hamza-619@users.noreply.github.com" ]
83582835+Hamza-619@users.noreply.github.com
58ac2cc66c7c428322c541ac9109cc3a674994d3
7c04d6750b29c565c32c3264c62640d97743cc8b
/sobre_mim/apps.py
3b6bc00ad677a46eed3932e10ac509d0c1438928
[]
no_license
HugoOliveiraSoares/Projeto-Final
cd5b5f2ba4978550935925ebd55768b40a1b76ad
cfa389b7c25f8db4937ad0b862d7191012301f33
refs/heads/main
2023-06-02T22:56:45.554279
2021-06-26T12:21:35
2021-06-26T12:21:35
380,493,707
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from django.apps import AppConfig class SobreMimConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'sobre_mim'
[ "hugoliveira.soares@gmail.com" ]
hugoliveira.soares@gmail.com
316d273ebde5f167bd2abf97e30a40989cd0fb8b
aa5731d54eb63bc10bafcd2c6d25c7641afacbdb
/Vacation_API/api_keys.py
4fd6a6b267a39911eea1db7aee3dcbce1aa23217
[]
no_license
Gerovrik/python-api-challenge
efff6774655a554feb51532819d35d09b0efe7e7
08a4a1c94defab5c4a87af5ce517e7cd42b313f2
refs/heads/main
2023-01-13T20:52:26.980820
2020-11-14T21:00:45
2020-11-14T21:00:45
312,696,535
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
# OpenWeatherMap API Key weather_api_key = "KEY" # Google API Key g_key = "KEY"
[ "loganlippert@yahoo.com" ]
loganlippert@yahoo.com
3e5f56f3436373330a569dad1bb1f6b35fe1cfe8
3d613577d8e5a0b8f128666047043ac672f975af
/market/admin.py
89dcecee2190326fd074e1a813638735e613a34f
[]
no_license
danimaribeiro/bitcoin_market
8431773795114706bf482d3b7961ef7e527ead5e
6d9256059ed7f35a8a412cb78d3a71a7498d90f9
refs/heads/master
2016-09-05T12:13:17.741558
2014-02-18T13:03:29
2014-02-18T13:03:29
16,620,172
0
1
null
null
null
null
UTF-8
Python
false
false
1,992
py
from django.contrib import admin from django.contrib.admin import DateFieldListFilter from django.contrib.auth.models import User # Register your models here. from market.models import Order, Trade, Market, MarketConfiguration, Settings class TradeAdmin(admin.ModelAdmin): fields = ['tid', 'date', 'amount', 'pric...
[ "danimaribeiro@gmail.com" ]
danimaribeiro@gmail.com
5f2fa6119c1919877396fc026db69a34216f1723
2fceba311199d692f2283357b80be1a487337afc
/settings.py
cf6253bc97ed508cf6e7038afaf42c0566353128
[]
no_license
jamesdoc/VAM-InstaWall
8aea152a07fd5a5fd64d851a2186443be8492071
409418fb9261255402358764b3d5f096b824fce1
refs/heads/master
2021-01-16T19:04:30.383200
2014-06-10T11:43:25
2014-06-10T11:43:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
import jinja2 import os import webapp2 from api import GetImages from datetime import datetime, timedelta from importer import ImportHandler, TruncateData JINJA_ENVIRONMENT = jinja2.Environment( loader=jinja2.FileSystemLoader(os.path.dirname(__file__)), extensions=['jinja2.ext.autoescape'], autoescape=T...
[ "jharley@vam.ac.uk" ]
jharley@vam.ac.uk
99944c8259914de26a928eab92ca29e7fefb7a70
5a38d56fbbbb9c10f4182501c617e01de7d565c0
/PY/0068_FCTRL.py
f6261e654da4c5f4a82a118fd565ee0ca62c2c50
[]
no_license
tanmaysahay94/Algorithm
3551a84723bbcc76eb3cc776a9ba3ba256941123
142b1e471a467cd2124300f638fb8817d20b7959
refs/heads/master
2021-07-05T22:11:36.027616
2021-06-12T20:08:37
2021-06-12T20:08:37
20,177,690
0
3
null
null
null
null
UTF-8
Python
false
false
227
py
def fact(number): product=1 while number>=2: product=product*number number=number-1 print product def testcases(n): while n>=1: num=input() fact(num) n=n-1 NumberOfTestCases=input() testcases(NumberOfTestCases)
[ "tanmaysahay94@gmail.com" ]
tanmaysahay94@gmail.com
5edce39bcacec358488692bc2bf1f0052c33f265
803edc03e99a24b08beed6363c0a16b89e16c6b8
/classes.py
e1b6f9f512758f3f22192f8c4d6193569c141fc9
[]
no_license
Arayondo/Konter-a-Matt
5f881fa860120c33fc045249f2ce8ec37e139502
852cf61fb1bed78920c2e9def85945f33b8a18bf
refs/heads/master
2021-08-31T18:40:05.858133
2017-12-22T11:35:47
2017-12-22T11:35:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
from random import randint, shuffle, choice import json, pprint import sys, time from localisation import * class Player: def __init__(self, name, team, place): self.name = name self.hand = {} self.streech = [] self.score = 0 self.last_played_card = "" self.team = team self.place = place def __repr__(s...
[ "jeff.uni@hotmail.com" ]
jeff.uni@hotmail.com
5a62770637bd4d85b60e99ec4625656f1713c7f4
7c233249e8cd5243582ba0833254af38636b7cdf
/conversion_descriptors.py
14997d8965cddf8b3845be3260494eea46e45692
[ "MIT" ]
permissive
project-schumann/vmf-batch
28444e77c22ef0f63cdf839fd8afbc38895512e5
e32983af33ccc8b5b01d249fafdc3bc356c8ba20
refs/heads/master
2021-01-17T15:25:06.040033
2016-05-05T02:47:12
2016-05-05T02:47:12
35,854,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
import os from invalid_format_error import InvalidFormatError class ConversionDescriptor: """ Describes the parameters necessary for a conversion job. """ def __init__(self, src, target, fmt): """ Initializes the Conversion Descriptor :param src: The absolute path of the sourc...
[ "patrick.ayoup@gmail.com" ]
patrick.ayoup@gmail.com
829a1f1936da717ca8075164a789a7ca1a904583
08871111acfec5049c3d4b48b400f84146a29b06
/littlelambocoin/util/service_groups.py
487e26f049a38819e7d42d5f3980cb97c6f0ddfe
[ "Apache-2.0" ]
permissive
AndreAndris/littlelambocoin
8d7705b64c018b503bea2c64cec4e15fc4a438ef
ffbf98d5d43ae248586aadbb68316c6ed43da7cb
refs/heads/main
2023-06-29T15:33:33.167616
2021-08-05T06:46:16
2021-08-05T06:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,476
py
from typing import KeysView, Generator SERVICES_FOR_GROUP = { "all": "littlelambocoin_harvester littlelambocoin_timelord_launcher littlelambocoin_timelord littlelambocoin_farmer littlelambocoin_full_node littlelambocoin_wallet".split(), "node": "littlelambocoin_full_node".split(), "harvester": "littlelambo...
[ "kevin.vercauteren@gmail.com" ]
kevin.vercauteren@gmail.com
fb95b5674453874d8218e5070d12976ce7cde15a
c369443df5ff98eccc0eee7f63bb8947f2943605
/shop/admin.py
950e8733d62ba6d0df356ee67145a865be1b988e
[]
no_license
erllan/shop-test
d2934f484b25d141a60caa5aca31a61eec48f055
1f77de177192ce6a1f8c5ccf1d7ca93ec026acf5
refs/heads/master
2023-03-06T01:04:38.785383
2021-02-27T18:02:07
2021-02-27T18:02:07
341,929,117
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from django.contrib import admin from .models import * admin.site.register(User) admin.site.register(Product) admin.site.register(Category)
[ "erlan.kubanychbekov.000@gmail.com" ]
erlan.kubanychbekov.000@gmail.com
aac39d593b31aa6a2b5030823f4dd1f6ef94f236
6bb9be84ee8113c5155e701d4428c0bb5bdfd439
/accounts_app/apps.py
5d66d627768a69fc4a6c1554c55c56cace5ba9d1
[ "MIT" ]
permissive
sami-mai/Avegang
9779a5994f76f1d44a6e7dfcc5a97b1a48758903
056605db9b8d22bfca31b819663921af3c94772b
refs/heads/master
2022-12-22T03:13:50.098422
2018-06-02T05:50:05
2018-06-02T05:50:05
135,448,352
0
1
MIT
2022-12-08T02:12:02
2018-05-30T13:40:23
HTML
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class AccountsAppConfig(AppConfig): name = 'accounts_app'
[ "samirah.maison@gmail" ]
samirah.maison@gmail
6af8c36a375080c4de74fe3025d78330044af8ab
0d58b37b854e4a96d0ef2bdc154ac5dcbe94644d
/app_integrated.py
1755b41e364e7ac8359fcdc90fd45edbafa79d67
[]
no_license
joelr1894/Meal_Magic
93f2e2e2bf324ac47084fa0bf89abe3b63166bfd
88cfd15c2bf2bc947aa89ae5cac95baf38cce18d
refs/heads/master
2021-01-10T09:56:34.037513
2016-04-07T02:54:01
2016-04-07T02:54:01
54,327,732
0
0
null
null
null
null
UTF-8
Python
false
false
11,278
py
from flask import Flask, render_template, request, json from subprocess import call import csv from datetime import date, datetime, timedelta import operator import sys import mysql.connector app = Flask(__name__) # Reads in the csv file and returns a list of lists of the data where the # inner list is the row def...
[ "joelre@hntvlan569.1345.wlan.wireless-resnet.upenn.edu" ]
joelre@hntvlan569.1345.wlan.wireless-resnet.upenn.edu
609cb68a2b49ae41f10b6294d9026fb5e053c66e
8574b4354c866f28db53eaa1d0ff2cc72dde5363
/utilities/bot_utilities.py
6f6f1801de07f5c2f9065c8a566236b0aa8df254
[ "Apache-2.0" ]
permissive
DudeBro249/TaskTrackerBot
a0b1042dfa62cee7d7df62feb20b976761bb90f9
b4ac677b2ace681a4d1037eba8dfb12281c4ff1b
refs/heads/master
2023-04-14T03:12:41.221695
2021-04-15T18:44:03
2021-04-15T18:44:03
314,738,868
0
1
Apache-2.0
2021-04-15T17:41:56
2020-11-21T05:16:24
Python
UTF-8
Python
false
false
2,333
py
from typing import List from .general_utilities import remove_all import discord def get_role_from_mention(role_mention: str, roles: List[discord.Role]) -> discord.Role: role_id = remove_all(role_mention, ['<', '>', '!', '@', '&']) return get_role_by_attribute('id', role_id, roles) def get_role_by_attribute(a...
[ "yoayush@gmail.com" ]
yoayush@gmail.com
000d286acb1a77838969e04d51a9688d23dd459b
4bc19eab7c85fe84bf4045b02f88bf363d6df053
/engine.py
212b433bfbe73cf9746a1db6cb3ce59a30b4dc1e
[]
no_license
bronm98/GroupProject
8f3de5d56e47bbb2f4d31ce96f6c43fa74d36b2f
454a0f27b2b21102a9c55ae93ea94b0d497a99e4
refs/heads/master
2021-01-11T01:10:33.311692
2016-10-17T11:21:58
2016-10-17T11:21:58
71,072,643
0
0
null
2016-10-16T19:35:48
2016-10-16T19:35:47
Python
UTF-8
Python
false
false
5,391
py
#!/usr/bin/python3 from map import rooms from player import * from items import * from removeing import * import random import time def list_of_items(items): listofitems = [] for i in items: listofitems.append(i["name"]) str1 = ", ".join(listofitems) return str1 def print_room_items(room): ...
[ "danibencze" ]
danibencze
8b6563fc75a6729e1edb07c24f9c0b4158e55cf8
d0d8a9a84b2b3c41282006f976d510c335f21383
/Lista 1/Q1/Q1.3.py
0c72df0243ec09bf5fe56e7bd3b1d3a701015e8d
[]
no_license
gagbp/ANN
cb5cb30ea842fcef2647bd3f6212367d12dc238d
2c21caf78398b71192a9c217800a43c7dda9c7e0
refs/heads/master
2022-12-23T05:52:30.417800
2020-09-29T18:17:29
2020-09-29T18:17:29
280,224,497
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# 3. f(x) = ln(x) + x**2 import numpy as np def f(x): return np.log(x) + x**2 print('\n\nmétodo da bisseção\n') a, b = [0, 2] n = 50 # número de iterações for i in range(n): m = (a + b) / 2 if f(m) == 0: print('A raiz é:', m) elif f(a) * f(m) < 0: # teorema de Bolzano b = m else: ...
[ "30929090+gagbp@users.noreply.github.com" ]
30929090+gagbp@users.noreply.github.com
44baddc4298db9a76065f76381120299048faae9
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-baas/aliyunsdkbaas/request/v20180731/DescribeBlockchainInfoRequest.py
916c4becfd7dd1214ee5a70eab17421fd385f744
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
96e56f0038eb3fbd6670dab99b8f1f794987a788
27a6e0c133507fd72af01dccec24038709eed6c8
/Personal_loan_campaign_Supervised_Learning.py
6d8eab924b0a98aaa8af96c569d11f433b8e23ee
[]
no_license
KlariVZ/Supervised-Learning-Basic
7e903eec4d6c1b96ea545e2314349385fd34d88f
30e1b74087e9abd84ca583be00a4ff76a090908a
refs/heads/master
2022-07-25T04:20:13.537262
2020-05-14T14:39:07
2020-05-14T14:39:07
263,940,295
0
0
null
null
null
null
UTF-8
Python
false
false
4,751
py
#!/usr/bin/env python # coding: utf-8 # In[1]: ### ENABLES GRAPGH PLOTTING IN JUPYTER get_ipython().run_line_magic('matplotlib', 'inline') # In[2]: ### LIBRARIES import pandas as pd import numpy as np from sklearn import model_selection from sklearn import metrics import seaborn as sns from sklearn.model_select...
[ "noreply@github.com" ]
noreply@github.com
1e082c416f419960cc8822abb7b30e306623c4e7
0e7aed5eef2e1d132a7e75dd8f439ae76c87639c
/python/523_Continuous_Subarray_Sum.py
1c395d7edb3f718bfdf9111d3fd63749240be388
[ "MIT" ]
permissive
liaison/LeetCode
2a93df3b3ca46b34f922acdbc612a3bba2d34307
bf03743a3676ca9a8c107f92cf3858b6887d0308
refs/heads/master
2022-09-05T15:04:19.661298
2022-08-19T19:29:19
2022-08-19T19:29:19
52,914,957
17
4
null
null
null
null
UTF-8
Python
false
false
811
py
class Solution: def checkSubarraySum(self, nums: List[int], k: int) -> bool: # the earliest index with the same module remaider of k prefix_sum_indices = {} # a virtual prefix sum index. # for the test case of [0, 0] k = 0 prefix_sum = 0 prefix_sum_indi...
[ "lisong.guo@me.com" ]
lisong.guo@me.com
044041bd2ebf8566281a37ea0a3ab72870830156
73fe0ad188e7bddc6c89c0df50f3e34e995e5436
/django/someproject/accounts/migrations/0001_initial.py
facd79baa256aab11c3c8cbd8eed576942ac985f
[]
no_license
Resolt/DjangoLearning
f99c4113631db94ee386b2f165975e5b4ca0330b
b5201f3aadfa6f58e8c6563f544c25c1ff8ecbe8
refs/heads/master
2020-09-14T16:45:38.419457
2020-01-16T22:13:01
2020-01-16T22:13:01
223,188,978
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# Generated by Django 3.0 on 2020-01-16 15:03 from django.conf import settings import django.contrib.auth.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions')...
[ "pdmmichaelsen@gmail.com" ]
pdmmichaelsen@gmail.com
bdd1f2637515df7c1669d846707c8c11c05ac5ae
12ce75fc994395c9eb54c6fe30c0fffc6ee19ee1
/Testing/assertions.py
c5764a194629fdca87bd7d14b65ad6a021fe0ab9
[]
no_license
RobinDeHerdt/HackerRank
aeb8c1f080b9d8a116f66a0fffb6fbdfd4f79076
b7ce29783845d0edd83e7e196ffe599143005a5d
refs/heads/master
2021-07-10T13:55:34.099852
2020-06-13T13:51:38
2020-06-13T13:51:38
132,801,390
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
def assert_equals(expected, actual): assert expected == actual, "Expected {0} but got {1}".format(expected, actual) print("\033[94m [SUCCESS] {0} equals {1}".format(expected, actual))
[ "robindh95@gmail.com" ]
robindh95@gmail.com
7bd4c978ab4d3fea367ef7e57e7109b7f73253c8
5cb9dccbcccb8a2137368dd0615fe3e3c7761707
/simulations/kinova/build/moveit_ros_control_interface/catkin_generated/pkg.installspace.context.pc.py
40c68e29ded735aa8a303a0fd6910cc281b2e6ca
[]
no_license
Simon-Steinmann/sim2real-modular-RL-project
b2467a393014e106043f6128a026f5eac934a83d
4027590ac94de2d5c914731c09efcf2f318b9ca3
refs/heads/master
2020-07-29T01:30:56.450919
2019-10-12T09:33:00
2019-10-12T09:33:00
209,605,548
4
1
null
null
null
null
UTF-8
Python
false
false
1,301
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/acis/sim2real/simulations/kinova/install/include;/usr/include".split(';') if "/home/acis/sim2real/simulations/kinova/install/include;/usr/include" != "" else [] PROJECT_CATKIN_DEPENDS = "moveit_c...
[ "simon.steinmann91@gmail.com" ]
simon.steinmann91@gmail.com
b20f54d18b1a07fc9cafe03f66940967d1ad7385
da5511b8f82d1ac099a5f0bf9e18c8d7fd144ce5
/apis/urls.py
d8c301e0c3a7460983c0e1176680c76dde740aa2
[]
no_license
yarafanrui/crop_calendar_lite
07d2c5136a72d97f11791443f4687e9f9449193b
db43e859ee8e2b92b3db868d8effd1e3e67fe126
refs/heads/master
2020-04-12T09:16:59.703239
2019-01-21T09:06:24
2019-01-21T09:06:24
162,397,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
from . import views from django.urls import path, include from django.views.decorators.csrf import csrf_exempt urlpatterns = [ # The following URL can be deleted. # path('test/', views.TestView.as_view(), name='test'), # The following URL serves as a general entrance of data handling, # and should n...
[ "fan.rui@yara.com" ]
fan.rui@yara.com
40d5a9ec148e9f1f27701264107fbae72bb213c7
025b1a25eedf5b03d091f683b0bd07c20eac953d
/telethon_generator/tl_generator.py
f0a14fbc1571f1f511c55a284b6179c304b792c3
[ "MIT" ]
permissive
phuonglm/Telethon
64a97259afbf3a9cb09683094f6d8f0b3f1145c1
1f1e040af972e6948538d47fab5563303c2243eb
refs/heads/master
2021-05-08T01:43:42.736010
2017-10-22T11:57:02
2017-10-22T11:57:02
107,896,646
0
0
null
2017-10-22T19:36:14
2017-10-22T19:36:14
null
UTF-8
Python
false
false
27,624
py
import os import re import shutil import struct from zlib import crc32 from collections import defaultdict from .parser import SourceBuilder, TLParser, TLObject AUTO_GEN_NOTICE = \ '"""File generated by TLObjects\' generator. All changes will be ERASED"""' class TLGenerator: def __init__(self, output_dir): ...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
e3405de232c07e7515801124b11d7fee65e18b3f
76af281542524f4bb2c80f928b6b5f0786ca1557
/code kata/hunterbcs.py
c05f27f4aa57fea8b70cbd59253c6abba2faf7c4
[]
no_license
sharmishah/guvi
1b910042f101265c7628724f994eca1c23c0f59d
51d854e38c2013799b24af43501bc8190b150897
refs/heads/master
2021-07-02T04:20:03.629762
2021-06-28T03:08:10
2021-06-28T03:08:10
191,355,062
0
4
null
null
null
null
UTF-8
Python
false
false
1,087
py
class Node: def __init__(self,d): self.ddata=d self.left=None self.right=None def insert(root,ins): if ins.ddata>root.ddata and root.right!=None: insert(root.right,ins) elif ins.ddata<=root.ddata and root.left!=None: insert(root.left,ins) if ins.ddata>root.ddata ...
[ "noreply@github.com" ]
noreply@github.com
63ee22b92961c1580d54c097f9c343ee6cb8c575
ea3f3e917698d341398caf63c3041be7cea481a5
/main/migrations/0002_auto_20200908_1312.py
f1fb3d4c092d0847b4bc90ec04d46e0b8d5be16d
[]
no_license
Urbanino/cats_site
25c112b617843258f510acf50c2960ca4db942bb
b1a035d5f6ced6a6b66d0d1f78d54a58b9cea061
refs/heads/master
2022-12-14T18:26:38.040503
2020-09-12T18:12:07
2020-09-12T18:12:07
294,999,286
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
# Generated by Django 3.1 on 2020-09-08 10:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.AlterField( model_name='cat', nam...
[ "i_n.n.kalnitskaya@mpt.ru" ]
i_n.n.kalnitskaya@mpt.ru
8cbe4395cfa14effb2b5c91d67fabb7bae51e987
d74fba6224b4a3035e5b2411538f2ed5c3636e8e
/packer_refresh.py
10a6b92d13cf365fbb4301ed37ba9af9a589c7e0
[]
no_license
platform9-incubator/packer-refresh
e54ebb0a3ae305ca2f79325097e0266f5b009794
93ae4363937fe224ac5f67dfb041a2d9665afc49
refs/heads/master
2020-04-06T12:45:58.851057
2018-11-14T01:17:05
2018-11-14T01:17:05
157,469,700
0
0
null
null
null
null
UTF-8
Python
false
false
2,238
py
import openstack import json from operator import itemgetter from packerpy import PackerExecutable IMAGE_NAME='centos-7' IMAGE_SSH_USERNAME='centos' PACKER_EXECUTABLE_PATH='/usr/local/bin/packer' PACKER_TEMPLATE_PATH='/root/packer/template.json' PACKER_BUILD_PATH='/root/packer/build.json' # Initialize cloud conn = o...
[ "cody@platform9.com" ]
cody@platform9.com
d1e8e113daea1d6dbdb0cfd8f3c762d6ac1dd419
7948d5fc89b9df1ba61188a3eb19cb26558a196b
/python/check_url.py
507eed3db62b512858d770f3ca061b52ca38f558
[]
no_license
kotgrek/sa
52d9bcf143f1455b61e3f79053c39c13f790ec70
e580f95720449b4101ea02abf1343a78e56620a3
refs/heads/master
2020-08-16T15:03:08.814243
2019-10-16T18:46:37
2019-10-16T18:46:37
215,515,493
0
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
#!/usr/bin/env python # This script will get a specific URL and either return basic information # about the site or will throw out an error that URL does not exist. # Seems to work even when using a proxy server, but it times out on some # sites, not sure why. import sys, os, urllib2 from urllib2 import Request, urlo...
[ "test@test.ru" ]
test@test.ru
e2f49aab034b503c5f4b1be009b004f8bdad9b56
f28498bc0d7e46d5b1c545191e43459268014700
/test.py
1bb57a8ba7e1303849eac3489f97d493b1e1e450
[]
no_license
chuangg/stylenet-1
b82d95241135f0ab1d13b36f3af03b9f367852ba
693c00e683062289be5e878e6aa1951103b13549
refs/heads/master
2021-01-25T14:11:35.999127
2018-02-26T09:35:54
2018-02-26T09:35:54
123,667,903
1
0
null
2018-03-03T06:56:57
2018-03-03T06:56:57
null
UTF-8
Python
false
false
1,510
py
import pickle import torch from torch.autograd import Variable from build_vocab import Vocab from data_loader import get_data_loader from data_loader import get_styled_data_loader from models import EncoderCNN from models import FactoredLSTM from loss import masked_cross_entropy def main(): with open("data/vocab....
[ "kakiuchi@crimson.q.t.u-tokyo.ac.jp" ]
kakiuchi@crimson.q.t.u-tokyo.ac.jp
228b7456673d4ffa88f06b9cb379fc6685f1cd98
864aa6017cfb5208731bea98b57f863f205895e0
/src/facedetect.py
fca8334a8538c468792bb9d6f0b2f3d0fce844ee
[]
no_license
bharateshwq/youtube-playlist-framedl
52ae46a92545b794c482aad6d5ee7ad9007f88e1
d2d85e99642dc33121b9ed220c7168ef0cf5cf45
refs/heads/master
2022-12-01T02:35:15.520424
2020-08-10T06:23:17
2020-08-10T06:23:17
279,625,728
1
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
import cv2 import numpy as np import sys input_image = (' '.join(sys.argv[1:])) imagedir = './frames/' inputdi = imagedir+input_image face_cascade = cv2.CascadeClassifier("haarcascade_frontalface_default.xml") eye_cascade = cv2.CascadeClassifier("haarcascade_eye.xml") img = cv2.imread(inputdi) gray = cv2.cvtColor(img, ...
[ "noreply@github.com" ]
noreply@github.com
36fbbcc092ee36375e5a90dc5fc89d7530c3fe18
4736bb1e24b72f820f1097336ad2955483c7269c
/src/data/preprocessors/default_preprocessor.py
06e686b07b8308acea3c930bffc1837aaf054910
[ "MIT" ]
permissive
paulwarkentin/tf-ssd-vgg
35d1ad0c7f827fde21e8ec5bcfa39241e4c60f94
f48e3ccbb8eb092d3cb82a9d90164c7328880477
refs/heads/master
2022-10-26T09:49:52.840484
2018-07-26T10:53:35
2018-07-26T10:53:35
142,419,537
0
1
MIT
2022-10-01T23:50:17
2018-07-26T09:30:31
Python
UTF-8
Python
false
false
2,310
py
## ## /src/data/preprocessors/default_preprocessor.py ## ## Created by Paul Warkentin <paul@warkentin.email> on 15/07/2018. ## Updated by Paul Warkentin <paul@warkentin.email> on 25/07/2018. ## import os import sys import tensorflow as tf __exec_dir = sys.path[0] while os.path.basename(__exec_dir) != "src...
[ "paul@warkentin.email" ]
paul@warkentin.email
e50673c93f15ded18491c6c3004be70a2341f562
565cc3ca69edd22174e635ba3f6198bb8d3eadff
/noksfishes/views.py
288303b2b193a54ccff6799e7b782b9b5f3b7f76
[]
no_license
Deer-WarLord/pyramid-backend
e3e29aaa85c6b97a87d30e04d8596103b8ce4a79
67b3375603a8534841e0fec4fe6e762d1d7b20dd
refs/heads/master
2022-12-17T21:59:32.550779
2019-04-21T15:57:29
2019-04-21T15:57:29
156,860,811
0
0
null
2022-12-08T02:27:03
2018-11-09T12:44:16
JavaScript
UTF-8
Python
false
false
3,545
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db.models import Count from django.http import HttpResponse from noksfishes.serializers import * from rest_framework import generics from rest_framework import permissions from rest_framework_csv import renderers as r import csv from noksfis...
[ "deerwarlord@gmail.com" ]
deerwarlord@gmail.com
0012af356190121a5729e7e62534f30986409a4d
aa35721925cee3fa5a600310d3e8e30a6e553162
/helpers/locators.py
52733356190bebb79eaa55efff47c1642a9b80e7
[]
no_license
AlexKysil/countCarDeprecation
fe9db67cd24599e7e0c4c3dcc9cbfd144cbe3948
8fb35bdeb25e22137a9cdd885860ce15619cf5dc
refs/heads/main
2023-01-24T09:49:16.686481
2020-11-12T21:38:14
2020-11-12T21:38:14
312,264,095
0
0
null
2020-11-13T15:05:49
2020-11-12T12:02:12
Python
UTF-8
Python
false
false
744
py
""" Global locators holfer """ from selenium.webdriver.common.by import By # Main Page USED_BUTTON = (By.XPATH, "//label[text() = 'Вживані ']") BRAND_SEARCH = (By.XPATH, "//input[@id='brandTooltipBrandAutocompleteInput-brand']") BRAND_LIST_VALUE = (By.XPATH, "//a[text()='{}']") MARK_SEARCH = (By.XPATH, "//input[@id='...
[ "38106741+AlexKysil@users.noreply.github.com" ]
38106741+AlexKysil@users.noreply.github.com
652c07706ee22b08f26f4a2e233e757e87fb3595
952b6a1140482cb3dba794dd0dcebe5ae8ac3cfb
/virtual/bin/wheel
92f092126b71f8ffc4af807851ce11365dce7127
[ "MIT" ]
permissive
roxaline/Personal-gallery
16cb8881934babd015e6c2e1231a4f7ccf084b91
58b245cce52059e740c0213ba7b22b58cda97b3f
refs/heads/master
2020-04-28T23:50:43.949921
2019-03-26T14:33:54
2019-03-26T14:33:54
175,671,278
0
0
null
null
null
null
UTF-8
Python
false
false
251
#!/home/wecode/Desktop/Personal-gallery/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "bayizerechristine4@gmail.com" ]
bayizerechristine4@gmail.com
354d0413ca718b78e4f43af79d072d45addc922a
0bb58d5ee536b92631053fb8e18840b462475722
/PythonFlask/flask_projects/great_number_game/venv/bin/easy_install-2.7
1753b1b01698faec2d70c84fb4de831814489ab8
[]
no_license
tutfakulunto/codingDojo
a0868a46229cc3b74ff72e5a8cc5b2d18d18168b
d04ac8b49dbf5f440287ce9f73d357ca7ff274e5
refs/heads/master
2021-01-12T15:53:51.032396
2017-02-22T05:33:41
2017-02-22T05:33:41
69,322,566
0
0
null
null
null
null
UTF-8
Python
false
false
289
7
#!/Users/scott/Desktop/flask_projects/great_number_game/venv/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "c.scott.johnson@gmail.com" ]
c.scott.johnson@gmail.com
1aa13187b581668799052bae234fe73c77b9b0d3
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/JEt4kwPtY6CGPsT9t_6.py
184ee79d9dfae190511e21dc5f73d8aed48cb2d4
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
""" Create a function that takes a mathematical expression as a string, list of numbers on which the mathematical expression is to be calculated and return the result as a list of string. ### Examples mathematical("f(y)=y+1",[1,2]) ➞ ["f(1)=2","f(2)=3"] mathematical("f(y)=y^2",[1,2,3]) ➞ ["f(1)=1","f(...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
30b139363aba2efd31d5bd8f195133904a3d6410
e008299cb5bd93cb51adf4b095baacf8e6e46f9a
/Default/side_bar.py
4a75c0a3dac4106404b3f231003fc7b07ba373a4
[]
no_license
alademann/SublimeText3-Packages
317616793b8134af4793925bae37fd84640fef62
6c704a21cc4a4bc01ad2e0b165979f91552143b9
refs/heads/master
2021-01-17T07:02:01.161606
2016-04-14T14:20:39
2016-04-14T14:20:39
11,374,134
2
2
null
null
null
null
UTF-8
Python
false
false
2,821
py
import sublime, sublime_plugin import os import functools class NewFileAtCommand(sublime_plugin.WindowCommand): def run(self, dirs): v = self.window.new_file() if len(dirs) == 1: v.settings().set('default_dir', dirs[0]) def is_visible(self, dirs): return len(dirs) == 1 cl...
[ "aaron.lademann@gmail.com" ]
aaron.lademann@gmail.com
0ee27ac5c2bab74b50ad2464577cd9e7a785b147
2eef8688d9f928de1c9fa4de4a045fa0dae97eaa
/authentication/urls.py
a1547debf84ea68191354dcc0eae804b158ddae7
[]
no_license
teefats/GlotiExpenses
3a98096642ef6df9008489c5db8c822703e43ab7
12aa1c9a37c5cf0148a7f55b114402a3044f4e60
refs/heads/master
2023-06-22T13:42:37.362537
2021-07-26T19:06:31
2021-07-26T19:06:31
389,741,004
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from .views import RegistrationView,LoginView from django.urls import path urlpatterns = [ path('register', RegistrationView.as_view(), name='register'), path('login', LoginView.as_view(), name='login') ]
[ "tee_fats@yahoo.com" ]
tee_fats@yahoo.com
5c29f20a9b8f5d728b26a08303d398211c83160d
4933ddce71f4bcf03863fdd4a6760879a0a54707
/testingarea/visualsarea1/histogramexample.py
951242b5f4b9271d410b6a57eb5f9949681e7d92
[]
no_license
thisisyomans/FCPM
414fcaedd169b5982d5fd522c727c06c56f2c7ad
5babc3d26f7600163c4381281287444954219eec
refs/heads/master
2020-04-09T09:29:37.498951
2019-02-06T03:54:33
2019-02-06T03:54:33
160,235,514
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
import matplotlib.pyplot as pt import pandas as pd age_data = [20, 30, 54, 66, 70, 10, 45, 65, 77, 99, 120, 130, 29, 40, 80, 75, 90] bins = [0, 10, 20, 30, 40, 50, 60, 70, 80,90, 100, 110, 120] pt.hist(age_data, bins, histtype = 'bar', rwidth = 0.8) pt.title('Age Distribution') pt.xlabel('Age') pt.ylabel('People') pt...
[ "tanejamm@gmail.com" ]
tanejamm@gmail.com
be398d4900ead48a8c4f85677960d5cc62f5a9be
1a635b198973302850baeb1d5a3d583351fc50d3
/buglocalizer/test.py
b724a81795a3e1c2d4bc3b2947712fcb5e1dc5ea
[ "MIT" ]
permissive
datnvhust/thesis
6ceb310c60f19e6179b4a7120641706c2ac94391
60a91c6f92171e48f02227b6d05ffdaf6be5fea8
refs/heads/master
2023-02-13T12:47:44.600783
2021-01-11T14:52:47
2021-01-11T14:52:47
314,499,492
0
0
MIT
2021-01-11T14:52:48
2020-11-20T09:00:29
Python
UTF-8
Python
false
false
8,943
py
import GA import numpy from datasets import DATASET import json import pickle import numpy as np import operator from datetime import datetime # import pygad with open(DATASET.root / 'preprocessed_src.pickle', 'rb') as file: src_files = pickle.load(file) with open(DATASET.root / 'preprocessed_reports.pickle', 'rb'...
[ "dat.nv160952@sis.hust.edu.vn" ]
dat.nv160952@sis.hust.edu.vn
ee1d608f14e56fb7d473ff0f02a901191813393b
7fe6cfee4ab3c3b8df4f40976b57a93dc1735541
/StarMaker/TestSuitePackge/LogInSuite.py
810d04558f2f89f64e9bfd0690bdd111c379b0b1
[]
no_license
idve/starmaker
a86661523503eeac9eec117a54fd09e8fa130daa
d14ca76c3a1c7fee51aedd56f1a07d061a00f2fa
refs/heads/master
2022-08-19T14:53:27.098580
2020-05-18T15:05:04
2020-05-18T15:05:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
# coding=utf-8 import unittest from StarMaker.Utils.CreateTestReport import CreatTestReporter Tester = "崔尧椋" # 登录测试套 class LogInSuite(unittest.TestCase): # 启动app测试套 @staticmethod def test_Suite_001_StarUpSuite(): from StarMaker.Action import StartUpModular # 定义一个测试套 StarUpSuiteTest...
[ "yaoliang.cui@ushow.media" ]
yaoliang.cui@ushow.media
799e41b356a34fc5f1c698547653b846f6f7b943
d8c7c35232d485a511d45852bb362c9ff1a9a0ec
/Python/teste.py
242449ccab6146448de5983f405a5e6224dcc0f2
[]
no_license
GustavoArsenio/deAlunoParaAluno
1ff88c9b191ce56b570141b9cbd51c6c781975fd
6adfe87a9b6eee4a0f81362d299b5946503e98d8
refs/heads/master
2020-03-19T07:03:49.627000
2019-12-17T01:04:55
2019-12-17T01:04:55
136,081,626
0
0
null
null
null
null
UTF-8
Python
false
false
3,201
py
# x = int( input("Digite um valor")) #x = float(input("Digite a primeira nota ")) #y = float(input("Digite a segunda nota") ) #print("É numero? ", x.isnumeric()) #print("É inteiro? ", x.isinterger()) #print("É espaço? ", x.isspace()) #print("É só letra? ", x.isalpha()) #print("É alfanumerico? ",x.isalnum()) #print("Es...
[ "gustavo.arsenio.sousa@Hotmail.com" ]
gustavo.arsenio.sousa@Hotmail.com
5b294355d75b411aad4ae279c9563bf3590c2325
340211a59f6fa930e500b6f97e7000fd312ce677
/calc_deriv/110z-concat_xisob_heat_melting_tseries.py
282b15034f87531f10265636d8d5a3c86aa49a70
[ "MIT" ]
permissive
ChanJeunlam/AntarcticaCircumpolarIntrusions
a755098dc4dbb7758e2f559e37677474be23fabd
55018cdd9bb79c71d6393a34ce2237ce49918a61
refs/heads/master
2022-01-20T17:47:22.608854
2018-10-02T03:04:57
2018-10-02T03:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
# -*- coding: utf-8 -*- # # Description: Concatenate *npz files with the chunks # of the heat transport time series. # # Author: André Palóczy Filho # E-mail: paloczy@gmail.com # Date: December/2017 import numpy as np from glob import glob from datetime import datetime from reproducibilit...
[ "paloczy@gmail.com" ]
paloczy@gmail.com
79740de4f30d468f2532d89dbfa91de323b563f4
868b9a336965184b28aa9a809145b0d2a693b662
/part4/4.31_seaborn_count.py
98c6d08f93e10049e8b41aade75bfe6a6ef132a5
[]
no_license
gregoriusdev/Infopub_Pandas_okkam76
3f0f43652154602f9193daa8ba681d6190e29bb6
8480dd6332da6bf6fd19ae4b91bc5801d469c798
refs/heads/master
2022-11-18T08:48:36.561939
2020-07-20T02:37:12
2020-07-20T02:37:12
280,313,525
2
1
null
null
null
null
UTF-8
Python
false
false
1,019
py
# -*- coding: utf-8 -*- # 라이브러리 불러오기 import matplotlib.pyplot as plt import seaborn as sns # Seaborn 제공 데이터셋 가져오기 titanic = sns.load_dataset('titanic') # 스타일 테마 설정 (5가지: darkgrid, whitegrid, dark, white, ticks) sns.set_style('whitegrid') # 그래프 객체 생성 (figure에 3개의 서브 플롯을 생성) fig = plt.figure(figsize=(15, 5)) ax1...
[ "pungjusa@hotmail.com" ]
pungjusa@hotmail.com
e21ae503aee3d9d8dc44fddb5ad53587c7e6223f
ac65b1182091c8a630036e89b95f340a6a19147f
/companies/migrations/0016_auto_20150626_1528.py
2c5bc9bfcf8ee5e33a29ef814bacbcf02bfa7ca3
[]
no_license
nokafor/prism
4a72499cd4fda8f555c162b713c83e949ab40e21
47f547fc848aa3763b98b8ac55d8c9ec8377b371
refs/heads/master
2016-08-07T11:37:02.098154
2015-09-24T20:17:30
2015-09-24T20:17:30
34,232,112
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('companies', '0015_remove_rehearsal_is_scheduled'), ] operations = [ migrations.AlterModelOptions( name='company'...
[ "nokafor@princeton.edu" ]
nokafor@princeton.edu
38d2550ded5b9e90ade280fd154c84d20c0e92e2
b24d6a323ac7927e38f82749e1b4ae42cb5a2465
/randomwalker.py
3fd248c3bfb8ef7170eccf263247961f94b44afc
[]
no_license
nickkreissler/fun
0f9bdfd62c3a2cafc9437128e5014ab919ff0b99
950db26db060a9f2482595ab0d7c5d84205cab08
refs/heads/master
2021-09-01T17:40:23.105819
2017-12-28T03:49:05
2017-12-28T03:49:05
115,582,320
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
def manhatten(int,inte): l = getgrid(int,inte) x=0 y_position = 0 x_position = 0 l1 = ['y_position', 'x_position'] l2= [1,-1] while(x < 10000): x+=1 y = random.choice(l1) z = random.choice(l2) if y == 'y_position': if y_position == 0 and z == -1: ...
[ "nkreissler@invisigo.org" ]
nkreissler@invisigo.org
b420a3ada2d2d1084035ded8fedf94fab11c7246
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/test/python/c6ac49828b465d81fdafb56e8a05c0177a7ec6c2HelloZigguratApiView.py
c6ac49828b465d81fdafb56e8a05c0177a7ec6c2
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
786
py
# HelloZigguratApiView.py # (C)2013 # Scott Ernst from ziggurat.view.api.ApiRouterView import ApiRouterView #___________________________________________________________________________________________________ HelloZigguratApiView class HelloZigguratApiView(ApiRouterView): """A class for...""" #==================...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
2341f1c9dc3b1cd134f884291570972dbc1c681b
a2264d085481d7efc7ed2b2edbe58947ea9229fd
/generator/generate.py
aa8d5b80843389fccf91068e1871d11696c7f34a
[]
no_license
TestSubjector/QuadTreeMeshSolver
cd0d3d34e98fbc1ef0e199e0f80691821a49406d
d3b069c77dde1793c4b946607bcc341ff833dd5e
refs/heads/master
2023-07-21T09:43:43.329959
2023-06-06T17:52:13
2023-06-06T17:52:13
120,038,698
0
0
null
2023-07-06T21:41:15
2018-02-02T22:34:42
Python
UTF-8
Python
false
false
4,436
py
import argparse import load import boundary import misc import logging log = logging.getLogger(__name__) log.addHandler(logging.StreamHandler()) import sys, os sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) from core import core def main(): # Command Line Arguments pa...
[ "NischayPro@gmail.com" ]
NischayPro@gmail.com
556becf9474a1e70401b1bff5d9df9454d58084d
60a405684f1765f1bd33d7ad4edc80fea407f390
/CIFAR/train.py
a67658bbbc8061073c3021724e0aecb6d60cd9ea
[]
no_license
qitianwu/SteinBridging
5dae3c13efcc47985c57737820575f74f902e94b
6fbccee4fe6053373c68dc200eab60e3cccf6a9a
refs/heads/master
2022-04-08T17:43:24.111570
2020-02-20T16:37:13
2020-02-20T16:37:13
241,910,946
6
1
null
null
null
null
UTF-8
Python
false
false
8,181
py
import os import numpy as np from util import * from model import * from load import * import pickle from datetime import datetime import time import logging logging.basicConfig(level=logging.INFO, filename='new_max_tanh.log', format='%(message)s') flags = tf.app.flags flags.DEFINE_string("gpus", "0", "gpus") FLAGS ...
[ "echo740@sjtu.edu.cn" ]
echo740@sjtu.edu.cn
03e11eec763f1734c24e88054105c9cbe77a36d8
d7e875366f9ad9c97dfe84bce37b604f9b073746
/momo/manage.py
71dd5dcd8db20c43f542b40520d82fd81bdda3ff
[]
no_license
thp101/Me
3a0a191396e8ae022a395f986da09adf231e5b9a
8a920a98afe407ff5a427c34d47386f718039a71
refs/heads/master
2020-05-27T00:23:42.325976
2019-05-24T13:25:11
2019-05-24T13:25:11
188,423,719
0
0
null
null
null
null
UTF-8
Python
false
false
645
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', 'momo.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "noreply@github.com" ]
noreply@github.com
7cce7640c1b48f684c3e43713bb520c2e7da36da
009bd2e689b1ca8762bb337c8c24cd618738f7d2
/etl.py
353ec55ec2bd4a6134551450582fc5867150e1a3
[]
no_license
HKasie/Data-Modelling-with-Postgres
41f38b41a504530426051985c65c44f81e1af4c4
ca0f680b340dc0b24ecfb83da1a0079b5c04f5ad
refs/heads/master
2022-11-20T13:39:14.339041
2020-07-27T15:12:22
2020-07-27T15:12:22
274,392,116
0
0
null
null
null
null
UTF-8
Python
false
false
4,567
py
import os import glob import psycopg2 import pandas as pd from sql_queries import * def process_song_file(cur, filepath): """ Processes the song file using the filepath argument provided. It extracts the information on songs to be stored in the songs table. Also extracts the information on artist...
[ "noreply@github.com" ]
noreply@github.com
394e6f5b241413cc9c799014999c198da05585c9
26db935ce71c638a3ac34832b71a72dfd704af3e
/task/urls.py
445946276e4572c2384ac7ccbaa14e8c5604dd10
[ "Apache-2.0" ]
permissive
suvajitsarkar/taskManagement
b3bbd9e56e36b9bf1e98954447663884b68ec5b2
0054c20fba8dd8eb3c4c83abdded8fc778a8b62b
refs/heads/master
2023-05-14T05:42:58.636676
2020-06-07T16:15:12
2020-06-07T16:15:12
270,276,881
0
0
Apache-2.0
2021-06-10T23:00:14
2020-06-07T10:55:59
Python
UTF-8
Python
false
false
436
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('ajax/get_data', views.get_data, name='get_data'), path('create', views.create_tasks, name='create'), path('view_tasks', views.view_tasks, name='view_tasks'), path('<int:pk>/update', views.Up...
[ "suvajit.sarkar@eternalrobotics.com" ]
suvajit.sarkar@eternalrobotics.com
098b72e8cc03f6c1285665813d2e46094e10bc40
11b65941fe14f8f23d798b50f6d45487fd0ab234
/factorial.py
6a2ee8976b4f27a67828f9accc23354d5d3e3636
[]
no_license
saahndongransom/hello-world
48426cf94f2511de473dbfd0215484ccdec6fed8
c148a6ee47dc7d6b8c1a7d1f4d9b13054685e69f
refs/heads/master
2021-05-21T13:00:25.865901
2020-04-06T16:51:15
2020-04-06T16:51:15
252,661,669
0
0
null
2020-04-03T07:47:48
2020-04-03T07:28:16
null
UTF-8
Python
false
false
174
py
def factorial(n): if n == 0: return 1 else: return n * factorial(n-1) n=int(input("enter a number to compute the factiorial : ")) print(factorial(n))
[ "saahndongransom@gmail.com" ]
saahndongransom@gmail.com
b4b174a311285bd98e728124a6b9d6eea7a0b1e0
255ef10344981ae49174a7eb7278997819b441ec
/marketgrab/migrations/0017_movement_series.py
22172155eaf594e4fa2d75f58c50913570a31309
[ "MIT" ]
permissive
colinmcglone/window-time
2f60b8bc37079876e76969011fc0dcb836b40eb7
74ed90440b9bb93fa569534c7557972242569d3a
refs/heads/master
2021-01-10T13:12:31.778070
2016-03-17T15:04:40
2016-03-17T15:04:40
49,010,233
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-14 16:24 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('marketgrab', '0016_movement'), ] operations = [ migrations.AddField( ...
[ "me@colinmcglone.ca" ]
me@colinmcglone.ca
b1d3a9e6deb618f941b95fd15af5b73c26f2e958
1a4ca76087ae580b827a6455f483f4e6cc957a99
/shadow_program_inversion/experiments/contact/urscript/train_prior.py
14c3f6cc25dc91170c3de41b164bfe0730115696
[]
no_license
benjaminalt/shadow-program-inversion
7170b4406f7ef605bf2fb25c418b57001a6723f9
05649f76a941092b3c2a829427b3dc980f712761
refs/heads/master
2023-03-22T22:54:13.396265
2021-03-11T11:09:19
2021-03-11T11:11:55
345,314,773
3
0
null
null
null
null
UTF-8
Python
false
false
949
py
""" Copyright (C) 2021 ArtiMinds Robotics GmbH """ import json import os from argparse import ArgumentParser from shadow_program_inversion.priors.neural_prior import NeuralPrior import shadow_program_inversion.utils.config as cfg def main(args): model_config_path = os.path.join(cfg.REPO_DIR, "shadow_program_inv...
[ "benjamin_alt@outlook.com" ]
benjamin_alt@outlook.com
13b91b37dcfd67c4679d0faa3747a8011ef4b129
38d68c141e31d5c11ed2e471e49641581c7d13e3
/app.py
a933cadf372132cd13964335bbbe71a2dd6dc0a7
[ "MIT" ]
permissive
SurabhiSuresh22/Iris_Flower_Prediction
4883f7e342da76c9da8bfd9764da6d078d75e7d5
b47bdbefc7f4c35b575572f3d5b8c06aa3e32be8
refs/heads/master
2022-12-25T07:15:49.379116
2020-10-06T18:32:51
2020-10-06T18:32:51
299,653,120
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
from flask import Flask, render_template, request import pickle import numpy as np model = pickle.load(open('iris.pkl', 'rb')) app = Flask(__name__) @app.route('/') def man(): return render_template('home.html') @app.route('/predict', methods=['POST']) def home(): data1 = request.form[...
[ "noreply@github.com" ]
noreply@github.com
4756f1ab9f395d38c2dc002023bc87b08d00c0ce
fffda6e06cb979e83db15e9142db7c9994400e2f
/language/bert_extraction/steal_bert_qa/utils/evaluate_squad.py
ea9eef5d7871c98ee1bf95b0138c2334ed1dfee8
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
ZachT1711/language
b48e551555a41bf269cc20f22871a9e4c47aacc9
de84080fc8a239a7271aad1d447fcb38a895790b
refs/heads/master
2023-01-05T21:36:59.194404
2020-04-14T17:19:25
2020-04-14T17:30:20
250,185,870
1
0
Apache-2.0
2022-12-23T20:28:38
2020-03-26T07:09:01
Python
UTF-8
Python
false
false
6,410
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "kentonl@google.com" ]
kentonl@google.com
ec81cbd08688727070f00eda34dc1f3c799b1764
1fbace94e62e6858df8cdcde73db85e2d1406abc
/tags/bitbake-1.4.4/lib/bb/fetch/git.py
49235c141e1624cb9f464483ec22f46b0f3fbb7e
[]
no_license
BackupTheBerlios/bitbake-svn
f095cf4d895abf143e402b12c2b3def2f55c6769
9cb4874974f20d3f5da208c7e071ca49be893edb
refs/heads/master
2020-12-24T14:36:57.555135
2009-07-23T15:41:07
2009-07-23T15:41:07
40,669,141
1
0
null
null
null
null
UTF-8
Python
false
false
5,250
py
#!/usr/bin/env python # ex:ts=4:sw=4:sts=4:et # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- """ BitBake 'Fetch' git implementation Copyright (C) 2005 Richard Purdie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published...
[ "zecke123@fd90740e-a5ea-0310-a7a2-b3005cc77bd6" ]
zecke123@fd90740e-a5ea-0310-a7a2-b3005cc77bd6
fdb16f133bfd05fb79ded62ee7decb86e81d819c
76fd6eec61ffbe955f4cbaa49b0b10dcc2bb1f94
/subcubic_matrix_multiplication.py
8c68a45b2ad6cec2d2b8a4870874e07724130f7a
[]
no_license
xiaoying1990/algorithm_stanford_part1
577eb029b6b997a760d34197c37193cd55c70b94
cbc65b5ad46728ac8e76c83e9355986e681156fd
refs/heads/master
2021-01-10T01:19:29.716387
2016-01-27T07:49:56
2016-01-27T07:49:56
49,760,083
0
0
null
null
null
null
UTF-8
Python
false
false
10,699
py
#!/usr/bin/python3 import random import copy import functools import time class Matrix: """ Matrix operations: binary operators: + , -, *, * num, unary operator: ^T, -, abs() Matrix access: []([]), iterable Rows() & Cols(), len() """ class SelectedArea: # todo: matrix[sli...
[ "2451707668@qq.com" ]
2451707668@qq.com
6cbda8076fef4a0ae328d7d96cbf2d90effc9054
0cab379418c935d7d9cb1d97682f736483d1690b
/decode/base64_decode/base64_file.py
ebfa97753db62ec992d2299bcbc6171fc4d05501
[]
no_license
Maggie147/Python_tools
f11332bf825ea80d4acdd79117d9aafd8772513a
310902cae29bb51c0fd45e56a0b6f397056ea29f
refs/heads/master
2021-09-21T23:40:18.821966
2018-09-03T07:54:10
2018-09-03T07:54:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
#!/usr/bin/python #-*-coding:utf-8-*- import os import base64 def get_file(filepath, rmflag=0): filebuf = None try: with open(filepath, "rb+") as fp: filebuf = fp.read() try: if rmflag == 1: os.remove(filepath) except Exception as e: ...
[ "tianxueol@outlook.com" ]
tianxueol@outlook.com
d4cd42d3ae31fd16daad07315d0e65f6e0c9b818
bf73ff4441577074dee2225ac937fbbbf4e85fef
/pplbench/ppls/jags/inference.py
a09062be1785a08b5530f7b00494eb586446b37a
[ "MIT" ]
permissive
rambam613/pplbench
632878a359945fe64cf24489aa7669040727c672
d69c652fc882ba50f56eb0cfaa3097d3ede295f9
refs/heads/master
2023-07-07T02:16:19.384357
2021-08-13T08:01:55
2021-08-13T08:03:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
# Copyright(C) Facebook, Inc. and its affiliates. All Rights Reserved. from typing import Dict, Type, cast import numpy as np import pyjags import xarray as xr from ..base_ppl_impl import BasePPLImplementation from ..base_ppl_inference import BasePPLInference from .base_jags_impl import BaseJagsImplementation class...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com