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
ca1cec733809bfe3c4082a842c4731a852fdfecc
22b31eaf388feb1412d0e99cddc81cd6f4e8163b
/farm/views/plotRemover.py
4cbc13818472e582d6a6fb7231978d8e30fe12ed
[ "MIT" ]
permissive
rankrh/soli
e7cf45380bbf9684c9ccea4fd8eb9d64b03b3aee
8f19945a175106064591d09a53d07fcbfa26b7da
refs/heads/master
2021-06-17T01:34:22.400034
2021-06-11T17:16:20
2021-06-11T17:16:20
206,982,251
0
2
MIT
2021-01-20T02:37:28
2019-09-07T14:48:53
JavaScript
UTF-8
Python
false
false
696
py
import json from django.http import JsonResponse from farm.models.plot import Plot from soli.views.authenticatedPageView import AuthenticatedPageView class PlotRemover(AuthenticatedPageView): def get(self, request): self.construct(request) pass def post(self, request, slug): respons...
[ "brank@goodwaygroup.com" ]
brank@goodwaygroup.com
eb682262a6fd42b22d11ca0aba0ccad2b1c94555
fd2981b5b2bb37587c90c51b03d353630d58ffb4
/Orientada Objeto/testando.py
71cc6a177353c80cb2053cf6fb0e2a802b4b1fdc
[]
no_license
vitosoliveira/Python
00363a55a78356149310cf86a20dbf7b7c84c278
4ae1ed6e9dca9b5e38bbf9a422022761056f95bb
refs/heads/master
2022-07-28T12:15:44.383056
2020-05-20T20:45:43
2020-05-20T20:45:43
247,159,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
class Aluno: def _init_(self,arquivo): A = open ('entrada.txt',"r") arquivo = A.read() L = arquivo.split("\n") Nome = L[0] RA = L[1] AC1 = float(L[2]) AC2 = float(L[3]) AC3 = float(L[4]) AC4 = float(L[5]) AC5 = float(L[6]) desca...
[ "vitor.soliveira@aluno.faculdadeimpacta.com.br" ]
vitor.soliveira@aluno.faculdadeimpacta.com.br
be164b0a069bbff81b4201d38950f14aca487caf
52a06d391430c0b3a73fa0f151f1da502b47a00b
/featureSelection_wrapper_rfe.py
55922442985d7b9e985d7930fec5f2c5bd1b9a04
[]
no_license
ShahedSabab/Disease-Analysis
942498d61b0e0341d985449f205593745ece62b0
3c81eaee3421a3263ee4645c796fdb316fa87940
refs/heads/master
2020-12-21T08:32:07.623830
2020-08-04T07:52:28
2020-08-04T07:52:28
236,374,100
2
0
null
null
null
null
UTF-8
Python
false
false
4,285
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 26 02:24:23 2020 @author: sabab """ # -*- coding: utf-8 -*- """ Created on Sat Jan 25 02:58:53 2020 @author: sabab """ import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as seabornInstance from sklearn.model_selection import tr...
[ "59721350+ShahedSabab@users.noreply.github.com" ]
59721350+ShahedSabab@users.noreply.github.com
5d5d98843b8d73ccb1f0ea601735bb30b9ca250a
ca130dc8627b08742acc1e25906e33d5c6f28526
/hdrs.py
c7cc259a69f91e13fa41213920c60e8b8e6e49f6
[]
no_license
fionakim/majorbiocode
ccd4cd2fb9bac62042924f6dc1f6118253072886
31e12f332a1e1acc0cc92243ea70238fce7166db
refs/heads/master
2021-01-21T10:13:22.556059
2017-03-02T02:01:12
2017-03-02T02:01:12
83,396,348
0
0
null
null
null
null
UTF-8
Python
false
false
4,469
py
# -*- coding: utf-8 -*- # __author__ = 'linfang.jin' # time: 2017/1/13 17:26 import re from biocluster.iofile import File from biocluster.core.exceptions import FileError from mbio.files.sequence.fasta import FastaFile import os from Bio import SeqIO class HdrsFile(File): ''' 定义与fa文件配套的Hdrs文件 author:li...
[ "linfangweihai@163.com" ]
linfangweihai@163.com
1101dd4915bde62fe049db0d60f27a83041a8ece
283ff86694d4e592ea6679087d36451a4d171006
/Easy/257_binaryTreePaths.py
8ec42e7a7104d0ea715b96a58111c8632e52f64b
[ "MIT" ]
permissive
a-shah8/LeetCode
e2bc0e5790eb8c9aff1dcf25469ebc9b69575389
a654e478f51b2254f7b49055beba6b5675bc5223
refs/heads/main
2023-08-16T10:16:35.280307
2021-09-16T20:00:52
2021-09-16T20:00:52
373,207,090
1
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
## Recursive solution ## Iterative solution # 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 binaryTreePaths(self, root: Optional[TreeNode]) -> List[str...
[ "noreply@github.com" ]
noreply@github.com
9feab00824a97ee53a0c678d5749b4ac1aa640a1
260c010c4d966fc60b011aac87b05c97eb8a17a3
/InterviewBit/maxspprod.py
a0f7732a6e199160bc30c9d19af78c81c9501231
[]
no_license
zirin12/Leetcode-InterviewBit-Solutions
d8ab0ed64557b6bf45ae6d2cb9a9c2941c5e77d2
72e3262c8f75aa44cb10212e3bda25e53b2b2de9
refs/heads/master
2022-10-08T04:04:12.163354
2020-06-10T13:04:59
2020-06-10T13:04:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,612
py
''' You are given an array A containing N integers. The special product of each ith integer in this array is defined as the product of the following:<ul> LeftSpecialValue: For an index i, it is defined as the index j such that A[j]>A[i] (i>j). If multiple A[j]’s are present in multiple positions, the LeftSpecialValue ...
[ "noreply@github.com" ]
noreply@github.com
12dc6835334446f6a874d6a58eaed4579d21533c
489a45659476fafb66934427e42bfce3d60a0116
/Assets/Python/BUG/CityUtil.py
f796f4f687860987bd082b19c841cbcfb1108044
[]
no_license
billw2012/Caveman2Cosmos
3a8c6ea347e75dbe2de9519fe70e6b38e0cf6dbe
2382877536e1669972dd024ce2d0f3d0d5ffd988
refs/heads/master
2020-07-19T00:14:48.856106
2019-09-03T23:20:42
2019-09-03T23:21:02
197,989,388
1
3
null
null
null
null
UTF-8
Python
false
false
870
py
## CityUtil ## ## Collection of utility functions for dealing with cities. ## ## Copyright (c) 2009 The BUG Mod. ## ## Author: EmperorFool from CvPythonExtensions import * ## Globals gc = CyGlobalContext() ## Growth and Starvation def willGrowThisTurn(city): """ Returns True if <city> will increase its populat...
[ "alberts2@live.de" ]
alberts2@live.de
fe6a27b00a35cf7a6c20a465f2d80f20bdeba796
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03456/s642363983.py
af102a3e07e6002a5cb1a2702d7ff5d68895690d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
import math a, b = map(int, input().split()) x = int(str(a) + str(b)) if math.sqrt(x) == math.ceil(math.sqrt(x)): print("Yes") else : print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3a0de6c4abfd97a3c5efda00e2039e3beaa66d28
1587d5444e18bea9b1c9cbe1a01c2f2aa03892d8
/root/db.py
075284412ac455bf9d4b2cf442784a5db6f7cda2
[]
no_license
SofiiaShumel/new_flask
c5593e1df21023695ed287a879e4e77da6321bbc
62692a7de5eb328b2ba2fec9e1a5ff7f98ccefb2
refs/heads/master
2020-09-28T08:56:48.348025
2019-12-07T22:31:27
2019-12-07T22:31:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,633
py
import sqlalchemy as db from sqlalchemy import MetaData, Table, Column from sqlalchemy import create_engine, Column, String, Integer, ForeignKey, Float, Boolean from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import Session import root.credentials from root.entities import Player, Bet, Bank...
[ "vovapasko1699@gmail.com" ]
vovapasko1699@gmail.com
b3a3a61d15982c03c049ddaa0ac9b44938c80839
909fbaf37a1344bbdcc5fa83370884780af5a964
/sensor_fusion/sensor_fusion.py
37a049647c69b27513e7a21274b6a6cc1a926725
[]
no_license
ericssy/smart-home-security
046fdb498ef570e12649513c0ef2a0962011a95a
a3b7abf998a3fa51a3d9025a28ecc66c137f9426
refs/heads/master
2022-04-07T02:08:50.895698
2020-03-07T16:12:26
2020-03-07T16:12:26
188,424,203
0
0
null
null
null
null
UTF-8
Python
false
false
8,436
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Sep 29 10:58:02 2019 @author: ShenSiyuan """ import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.preprocessing import MinMaxScaler from sklearn.decomposition import PCA from scipy.stats import chisquare ...
[ "shensiyuan25@gmail.com" ]
shensiyuan25@gmail.com
d76f2f7d67685036d6480284582e9f49d29e06e7
8d3f6375fc9e3b15bb765a0210a6e23415f60f18
/app.py
69fb939e4189c7d8e9a64e5d4519e0b6718a60cf
[ "Apache-2.0" ]
permissive
naturalwang/flask-blog
7b282e309833ca7c59cc1b517c1f4899dbf2220d
68ff0d288002c947e88202e1706be85813ad036f
refs/heads/master
2021-08-08T04:25:44.951026
2017-11-09T15:27:06
2017-11-09T15:27:06
110,131,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,872
py
from flask import Flask from flask_migrate import Migrate, MigrateCommand from flask_script import Manager from utils import log from models import db # import 具体的 Model 类, 给 migrate 用 from models.user import User from models.blog import Blog from models.weibo import Weibo, Comment # from models.todo import Todo app...
[ "274981373@qq.com" ]
274981373@qq.com
aa8cf2c4f1a4ceef29f57c001a90da5a0cc7e44b
c46a83c2a569e252feea0add89648ffa9ee4c548
/advertisements/context_processors.py
979a786179214265f5869d482a9cf445e378a568
[ "MIT" ]
permissive
OpenAds/OpenAds
5c2ca0a6d5d335590fd56915e4e3e2da2c7fe4f7
5b9dd5e11bbcfff3575c9b24802aeae001c639c2
refs/heads/develop
2021-01-02T22:45:05.108166
2016-02-20T07:20:00
2016-02-20T07:20:00
14,711,316
15
12
null
2016-02-20T07:08:41
2013-11-26T08:42:41
JavaScript
UTF-8
Python
false
false
116
py
from django.conf import settings def color_processor(request): return {"body_back": settings.BACKGROUND_COLOR}
[ "novachalon@gmail.com" ]
novachalon@gmail.com
fe81ad7960d5b1d25e0585a0663772e6856dbfc5
9eb08685de453d8c099015adcc3a2ff29041fdf3
/examples/app/dijkstra/cthread_write_node_visited.py
fe4c54310af1366a2bdd6f5e3fcd00737a2d566d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Python3pkg/PyCoRAM
938b6b4308e7ef04ec01f6c2e08c7eae7d0f5d3f
cd546ffe6cc6fbdabd49ba204a098b8feb6e7e97
refs/heads/master
2021-01-21T17:46:35.469599
2017-05-21T20:40:41
2017-05-21T20:40:41
91,986,108
0
0
null
2017-05-21T20:40:28
2017-05-21T20:40:28
null
UTF-8
Python
false
false
339
py
COMM_SIZE = 2 ** 4 STREAM_SIZE= 2 ** 10 DATA_BITWIDTH = 32 outstream = CoramOutStream(idx=0, datawidth=DATA_BITWIDTH, size=STREAM_SIZE) channel = CoramChannel(idx=0, datawidth=DATA_BITWIDTH, size=COMM_SIZE) def write_node_visited(): addr = channel.read() outstream.read_nonblocking(addr, 1) while True: wr...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
9933699c4c4adc51665ed1a0bca84cad0ec4e11b
550feabc21a7f21ec5b886c33999ded11d6c06fd
/sem8project/urls.py
a16fe8158ac26abf37ab57d32efa421cd5f0ad50
[]
no_license
semilhalani/sem8project
4ab62d0eca8d247a8f04b065d7efa4b107b7d3a5
f7edea66ca41e75817c66dc0cf100ed3d2ee6d52
refs/heads/master
2022-04-22T09:30:39.499447
2020-04-15T05:57:45
2020-04-15T05:57:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
"""sem8project 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') ...
[ "noreply@github.com" ]
noreply@github.com
579e2a9c0e9246613af5befcc259b744516bca31
4d87ae2246c85339b0a7ea31155a289c0bf92f99
/tests/tests.py
51e3664297ee8bd06a34210ade65b849a41fd670
[]
no_license
multiply-org/MULTIPLYVisualisation
19b4165571b389fccddbfb0585232c06b58f1977
bced0f96dbac6927da33c551a1f4a0b010f5855b
refs/heads/master
2020-10-01T23:51:37.436713
2019-06-28T11:21:55
2019-06-28T11:21:55
227,651,028
0
0
null
2019-12-19T14:14:33
2019-12-12T16:35:31
null
UTF-8
Python
false
false
5,152
py
from src.MultiplyVis import MultiplyVis from src.DataHandling import DataHandling from src.GenerateView import GenerateView import os import xarray as xr import copy import numpy as np import nose.tools as ntools # def integration_test(): # """ # Test of entire setup from a single commandline point # """ #...
[ "bethan.perkins@assimila.eu" ]
bethan.perkins@assimila.eu
16d7a59932926a38d8f74d0c0a2c99eb164828df
dc20b5c8c5a3d8657bf40a6117bc438383b20f94
/0x07-python-test_driven_development/3-say_my_name.py
864af2e87db4103375c667ab9b27355a5c2698a4
[]
no_license
steffanynaranjov/holbertonschool-higher_level_programming
f7b0fca2b76e3942f960ca2e048373acbd0c9b41
67dcce3040c67c7a18e6f04a761224f1a754deac
refs/heads/master
2023-03-02T23:18:05.640174
2021-02-15T16:08:42
2021-02-15T16:08:42
291,816,133
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
#!/usr/bin/python3 """ say_my_name module Function that prints My name is <first name> <last name> """ def say_my_name(first_name, last_name=""): """ Function that prints My name is <first name> <last name> Args: first_name (str): First string. last_name (str): Second string. Raises: ...
[ "1792@holbertonschool.con" ]
1792@holbertonschool.con
2bb1e4bac9a55bb702bd9daee6d2e604680f9e4e
b19d450c5db62175d82f73b5404e953ba058f08b
/app/views.py
237b4ee926c2ef12f2c55966433fe14f98ab6b59
[]
no_license
Silickr/cloudlink-demo
62d089795e8f3b3d29d3a89f091c443160c904f8
b1d568beccee1fa0f46f250f4f984e3b6d02fe64
refs/heads/master
2020-04-18T12:03:40.267140
2019-01-30T06:54:38
2019-01-30T06:54:38
167,522,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
# -*- coding: UTF-8 -*- from app import app from flask import request, make_response, render_template, jsonify, session, g from knowledge_entity import KNOWLEDGE_ENTITY from datetime import datetime from time import mktime from wsgiref.handlers import format_date_time from auth import authenticate from demo import demo...
[ "skyline.chan@gmail.com" ]
skyline.chan@gmail.com
25f490d9ba2c1722d96adef48bebc6b2f19eb091
6d85d154048d526c9b073b7a75c0ca6298111ded
/nadine/tests/test_profile.py
4b9a194392684dfbb58b9838c26e7bc2377e3350
[ "Apache-2.0" ]
permissive
switchdin/nadine
02595a0a749e97840c756e23827793a5d732de0f
42b4377d7a5f64320d83c4d5f27981428a111e1f
refs/heads/master
2021-05-06T17:56:31.441213
2017-11-24T00:47:51
2017-11-24T00:47:51
111,856,045
0
0
null
2017-11-24T00:28:34
2017-11-23T22:54:23
JavaScript
UTF-8
Python
false
false
10,085
py
import traceback from datetime import datetime, timedelta, date from django.test import TestCase, override_settings from django.core import management from django.contrib.auth.models import User from django.conf import settings from django.utils import timezone from nadine.models import * @override_settings(SUSPEND_...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
43246448601d4be7c5377c2e63e5de5eb06bdf8a
e296f0f3d7db598aba5658de3ff8c767634e533e
/zoo/migrations/092_zoo_animals_models.py
ef6a523b495b98b75535c3c8c4944d6553ec77e5
[]
no_license
devfort/wildlifenearyou
b2ac05070aa6face60156d6e7c85f98f00013c25
8e618aea90bbcedc45a4e30199e31880ea9e6dca
refs/heads/master
2021-01-13T01:25:29.467549
2010-06-10T06:37:43
2010-06-10T06:37:43
7,874,317
1
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
from django.conf import settings if settings.DATABASE_ENGINE == 'mysql': from dmigrations.mysql import migrations as m elif settings.DATABASE_ENGINE == 'sqlite3': from dmigrations.sqlite3 import migrations as m import datetime migration = m.Migration(sql_up=[""" DROP TABLE `animals_superspecies`; """, """ ...
[ "simon@simonwillison.net" ]
simon@simonwillison.net
18ff51566c0c9e131489405a276182aae7e85bf7
5eba137a3574535c95401b36e16c0ee5e7098c86
/git_code_change_histoy.py
01bd99bc6df6f57da32813517c9f08117baf64ac
[]
no_license
jstar920/git_tools
7e0ee73841c7b8d9a761fc9cd8c2218d16d8ecc5
de442f1ddef066ace96727dd8016234e7f2d62c9
refs/heads/main
2023-06-27T00:29:21.598338
2021-07-30T08:17:14
2021-07-30T08:17:14
390,984,228
0
0
null
null
null
null
UTF-8
Python
false
false
4,792
py
from subprocess import check_output import xml.etree.ElementTree as ET from pathlib import Path import sys import os import re import argparse def parseArgs(): parser = argparse.ArgumentParser(description='git history change information.') parser.add_argument('--repo', help='repo path') parser.add_argument...
[ "jianxjia@cisco.com" ]
jianxjia@cisco.com
2ccc1334f5aecf9a063fbef88a5695cf0529403c
3ba6246d2911ec49095e0754d91b579fe0d695ee
/tests/test_http_client.py
9702f588bcc4c8b7a96231c124a0680ff93b4073
[ "MIT" ]
permissive
gingerpayments/ginger-python
37bffdd1f3bc9769e3798d6204212bfed3a872ab
1c7ada8f6fb3d8bb2cd808f7098ddb7f2e86c2f4
refs/heads/master
2023-08-07T20:19:57.952910
2023-07-11T12:56:15
2023-07-11T12:56:15
211,278,272
2
0
MIT
2023-09-11T11:13:21
2019-09-27T08:58:13
Python
UTF-8
Python
false
false
3,351
py
import json import unittest from unittest import mock import requests from ginger_sdk.http_client import HttpClient from ginger_sdk.http_client import HttpException from ginger_sdk.http_client import RequestsHttpClient class RequestsHttpClientTest(unittest.TestCase): _client: HttpClient _request_mock: mock...
[ "maarten.sander@gingerpayments.nl" ]
maarten.sander@gingerpayments.nl
f497f46dff2834f83358818f09464d304d5f4d4a
acb79db399ee653ceadbb23f1acaaad7b24e6f94
/DiBaseRNA_ATLAS/Chimera_scenes/CC_spatial_10.py
bda35980bd38e3fd13760aca6383fd1483a11cf4
[]
no_license
aleksahak/DiBaseRNA
ebab53206e704f4902f348d4eba5cce125704b9b
1fbebae72f3bbb0517982417dce5301e69ea8cd4
refs/heads/master
2016-08-12T06:46:01.436781
2015-12-11T11:07:08
2015-12-11T11:07:08
47,821,466
0
0
null
null
null
null
UTF-8
Python
false
false
36,187
py
import cPickle, base64 try: from SimpleSession.versions.v45 import beginRestore,\ registerAfterModelsCB, reportRestoreError, checkVersion except ImportError: from chimera import UserError raise UserError('Cannot open session that was saved in a' ' newer version of Chimera; update your version') checkVersio...
[ "aleksahak@gmail.com" ]
aleksahak@gmail.com
12bd4d5b819b2692e45ccfa7b4f0228d990e7fe0
0210bebe07b2132abcb6e5f11476581c1fd67b53
/blogger/migrations/0003_delete_names.py
f45ede06168a63b96d90e17cb0ef013216779c6d
[]
no_license
bamoha/simple-blog
813398661c39fb4020b50fce24cec32ce9206b19
48686dad51b3b8df8b7f70c13a1bd94fae5f5d8f
refs/heads/master
2020-06-09T20:55:56.996338
2016-12-16T19:31:40
2016-12-16T19:31:40
76,107,926
2
0
null
null
null
null
UTF-8
Python
false
false
345
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-11-19 06:43 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blogger', '0002_names'), ] operations = [ migrations.DeleteModel( name='...
[ "bashirhamza05@gmail.com" ]
bashirhamza05@gmail.com
7514bb061877ab881e19c18bac38d790c233f889
a8404268f3981bbfbdbfc4e71d93d698181cc687
/45_Multiple_Inheritance.py
440125135103063f4549aec17ea9fec2d776dd15
[]
no_license
Saadmalik16/Python
582a0f162065f55f26ad72bcbb1ebe1c5190e092
e8dbd1c03618336483af0520e27736cb7a7099db
refs/heads/master
2023-08-23T05:48:38.505936
2021-10-11T09:56:15
2021-10-11T09:56:15
297,124,424
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
class Student: no_of_leaves = 4 def __init__(self, name, reg_no, dept): self.name = name self.reg = reg_no self.dept = dept def Student_Detail(self): return f"Name of the Student is {self.name}. Registration Number of the Studnet is {self.reg}" \ f"De...
[ "noreply@github.com" ]
noreply@github.com
9822355b91f78c0329c0552d22562e4fbd22365f
9e382c71514ba4676ba8ac5068175807e5f7fe7e
/manager_core/migrations/0008_auto_20170403_1627.py
588b9cd42be92ae232a6e8af34ec127fbc79427b
[]
no_license
rubysoho07/MusicManager
7dbf5a8a7a4a76101dd42b35248daaf1f15bee5b
cb521f436a3cb6a4ba35e05837a66e9de52169ae
refs/heads/master
2022-12-06T01:51:47.058314
2022-11-23T22:54:18
2022-11-23T22:54:18
62,933,532
0
0
null
2022-11-23T22:54:19
2016-07-09T05:16:18
Python
UTF-8
Python
false
false
518
py
# Generated by Django 1.10.5 on 2017-04-03 07:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('manager_core', '0007_auto_20170322_1222'), ] operations = [ migrations.AlterField( mode...
[ "hahafree12@gmail.com" ]
hahafree12@gmail.com
1eba7840956a7bb844ecabdc9c618964a48dfc7e
b2bd0b16936a08211d43cc155b0d43ac5e585577
/examples/tensorflow/translation/run_translation.py
614dbb7074298cfefeb2160c5eafb48bfc0a946c
[ "Apache-2.0" ]
permissive
ghosthamlet/transformers
53343ced4bd98480161d3073957f04b014c99c3c
27a8c9e4f189462c1cc4206317a27032887c8513
refs/heads/master
2023-06-29T15:30:45.095957
2021-07-21T22:11:02
2021-07-21T22:11:02
291,238,466
1
0
Apache-2.0
2020-08-29T09:11:45
2020-08-29T09:11:44
null
UTF-8
Python
false
false
26,660
py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Team. 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...
[ "noreply@github.com" ]
noreply@github.com
3e47ecd125a7c7fc3a15c5fe0529ae8fdf94115c
de08fd5306c61a797c24bda927bd809acd7a22e7
/socket_message.py
5ebd79abf7863b7eb311d5e9bc187ba709ce01df
[]
no_license
benjsonzhang/shield
847175c4cb0746d6c047e08e529973b6748eefd1
c737d8cdd231139fdda94675a4f68dfc671fdf4e
refs/heads/master
2023-06-06T23:52:08.696106
2021-07-02T08:24:56
2021-07-02T08:24:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,979
py
# coding=utf-8 import requests import json import time import socket import base64 import socks base_url = "http://127.0.0.1:18080" # proxies = {"http": "127.0.0.1:8888", "https": "127.0.0.1:8888"} proxies = None class XhsSocketClient: def __init__(self): self.client = None def connect(self): ...
[ "you@example.com" ]
you@example.com
c527c691607a09c52f765d5fda03cdee32370fd2
d5b8ee8b537b74c7769920678a4276fb1a447db5
/CS Circles 7C Finding Factors.py
a554b86d6af2e8c4e0387a30651e08ef5c972ba9
[]
no_license
warpingdino/cs-circles-answers
1cef7e2a971363831f8e4013a7b6f58b56d857b5
33529ea45152c6a7b3c7feead9e73868aa91897f
refs/heads/master
2021-02-08T16:46:11.366788
2018-10-13T16:32:39
2018-10-13T16:32:39
244,173,849
0
0
null
2020-03-01T15:28:30
2020-03-01T15:28:29
null
UTF-8
Python
false
false
148
py
n = int(input()) for a in range(1, n + 1): for b in range(1, n + 1): if a * b == n: print (a, 'times', b, 'equals', n)
[ "noreply@github.com" ]
noreply@github.com
b1a1d5ebca373e2791a73e29d18124eb79f5316a
209f5af351b7737d7a1b4bf5362d7662142d6c91
/SuperResolutionOption2/EES.py
f689d043f23d20041e9dcf36704e86c5d93dbaee
[]
no_license
guylck/dataMiningProj
1ef6c7b6b2e61ebdc69a0366f744f9482ef16c15
a9730e8f25358ba31b691fad15a1a4fe4db8b226
refs/heads/master
2021-05-04T14:29:34.729664
2018-03-02T09:36:41
2018-03-02T09:36:41
120,201,369
0
0
null
null
null
null
UTF-8
Python
false
false
6,296
py
from keras.models import Model from keras.layers import Conv2D, Input, Conv2DTranspose, merge from keras.optimizers import SGD, adam from keras.callbacks import ModelCheckpoint import prepare_data as pd import pandas import numpy import cv2 scale = 3 def model_EES16(): _input = Input(shape=(None, None, 1), name...
[ "tomhipsh@gmail.com" ]
tomhipsh@gmail.com
ee17b1a287f2e775c18426d15bcd017cb29cea3f
e85c9a63d6d82bd2a5bfd3fda8f17b68030ad359
/Round 2/falling-balls.py
b79a1321cfc2e727fe139e0b727b89e33c56f198
[ "MIT" ]
permissive
theXYZT/codejam-2018
56e89aea17577361b0e11c9694fcf935cd666525
82b4ef4fc4896c7e088a8e43f250a33164cd9cbe
refs/heads/master
2021-07-24T11:57:00.057929
2020-05-04T01:03:46
2020-05-04T01:03:46
162,108,216
6
2
null
null
null
null
UTF-8
Python
false
false
1,241
py
# Codejam 2018, Round 2: Falling Balls def iterate_layout(start, result): """Returns next row of layout.""" row = '.' for i in range(1, len(result) - 1): if sum(result[:i]) > sum(start[:i]): row += '/' start[i] -= 1 start[i - 1] += 1 elif sum(result[i + 1...
[ "nikhilm92@gmail.com" ]
nikhilm92@gmail.com
ab2dc41ebd995a98c5e291738b2cb73dd89131c4
a06703e92f64e3b637dc8d0471bcf5f16a5867be
/main_app/migrations/0004_auto_20190913_2149.py
3582044902c340262a7b6318c3d515db93282939
[]
no_license
nhasley/ECO-App-Python
7df54580dcd02615d08e8a43542d3a1c3fd9c3d3
d98d9f26ea4a2fcdad52b58d4dcd89a71c817804
refs/heads/master
2022-04-29T15:34:07.966961
2019-10-24T15:41:53
2019-10-24T15:41:53
207,880,909
0
2
null
2022-04-22T22:20:45
2019-09-11T18:33:41
Python
UTF-8
Python
false
false
950
py
# Generated by Django 2.2.4 on 2019-09-13 21:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main_app', '0003_remove_...
[ "supernova@Novas-MacBook-Pro.local" ]
supernova@Novas-MacBook-Pro.local
7542a75ec6303ce1124e9453ab28e9cfeca5b91e
9853b4ade33a62519f9ba83b6d10c1ec746557da
/p5.py
6ddc8fa31220d70c37868495af8aff56b9e72378
[]
no_license
manojnaidu15498/mnset-3
be3cd007036f400ffab9c6fff67af90ce76a84b9
4aa1aa087c5d8b9feccb8e8aa26d6a09a7c4cda1
refs/heads/master
2020-03-22T11:28:14.348651
2018-07-07T16:10:46
2018-07-07T16:10:46
139,972,663
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
a=int(input()) b=list() i=0 for i in range(a): x=int(input()) b.insert(i,x) i=i+1 print(b) c=sum(b) print(c) median=c/len(b) print(median)
[ "noreply@github.com" ]
noreply@github.com
5922ad24d34a5eba70215eadef3d5d34624cfbfa
a2c12692bac06f0f3264fe3d11fedb73d3e498fc
/server.py
d5f0394be7b28cb5063215b88437c2314ddb57b6
[]
no_license
BigSamu-Coding-Dojo-Python-Assignments/Checkboard
9dd248539c4c4ba8910391d5b14f9fef46ae1893
ffb1dd005fe3fca38a090de305e454572ccd2c79
refs/heads/main
2023-07-16T21:43:22.538040
2021-08-17T15:30:57
2021-08-17T15:30:57
395,369,999
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def normal_checkboard(): return render_template('index.html', num_rows=8, num_cols=8) @app.route('/<x>') def sized_checkboard(x): return render_template('index.html', num_rows=int(x), num_cols=int(x)) @app.route('/<x>/<y>') def...
[ "sv1220@ic.ac.uk" ]
sv1220@ic.ac.uk
a4388a7662c904fa3890d308828619b3e46a9214
dbd1dd2b00a3c3cb25f7dd4faf08c3fc35aae7bf
/leetcode/find-k-pairs-with-smallest-sums.py
a7396cc2e4d2c560207a31173c816191d3f9d632
[ "MIT" ]
permissive
hg-pyun/algorithm
2fa4260e96fbef1c23daf2c330db1e863401ea85
305100c9e9a09ee08082a1798e2599f2d4d3ebad
refs/heads/master
2023-08-03T12:52:00.362607
2023-07-25T13:24:52
2023-07-25T13:24:52
148,906,547
9
1
null
null
null
null
UTF-8
Python
false
false
697
py
import heapq class Solution: def kSmallestPairs(self, nums1: List[int], nums2: List[int], k: int) -> List[List[int]]: bucket = {} heap = [] for num1 in nums1: for num2 in nums2: s = num1 + num2 heapq.heappush(heap, s) if s...
[ "noreply@github.com" ]
noreply@github.com
3c61ed8f1fb9adeb440a74e760b56771db2fe28a
71e43068e82c91acbb3849169d1723f1375ac27f
/talon_one/models/campaign_entity.py
d18644a5c7e9f97ee933c25ece57b7a788d886dd
[ "MIT" ]
permissive
talon-one/talon_one.py
aa08a1dbddd8ea324846ae022e43d441c57028f6
917dffb010e3d3e2f841be9cccba5bba1ea6c5c3
refs/heads/master
2023-05-11T18:50:00.041890
2023-05-03T20:17:39
2023-05-03T20:17:39
79,575,913
1
7
MIT
2023-05-03T15:10:14
2017-01-20T16:29:46
Python
UTF-8
Python
false
false
4,313
py
# coding: utf-8 """ Talon.One API Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-...
[ "noreply@github.com" ]
noreply@github.com
79eded11bfc49948f553e2d195d8b344efa0f5de
3308263d51900cdb7df54fa232be8628f03430a7
/stock/pa.py
60fae6e58d31daaab6881e071e8eb3c9a5e59ab7
[]
no_license
sljxiaoxin/pa
3aecd73bb52ede7dbe09f8164b13f1684e16cdf1
f4690e8d2392c8ade7848ca7a04991f1ef408caf
refs/heads/master
2020-11-27T17:34:02.869339
2020-01-22T11:56:44
2020-01-22T11:56:44
229,546,607
0
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
import time import datetime import random import tushare import pandas import sys stock_list_file = 'stock_list.csv' stock_result_file = 'result.csv' tushare_token = "611bfd8fdd752a60f0ccd5d4fbbdee150de28b228ef2dae1015db728" def get_stock_basic() : print("开始下载列表数据") #获取tushare pro = tushare.pro_api() ...
[ "yangjx009@139.com" ]
yangjx009@139.com
2f526ec2bb28e57af6c4762475693085ffedad89
5599fdd5a7a33d7c40dfa12008207fe3cd90c1d9
/0x16-api_advanced/100-count.py
749730ca0151f027ad53561d17c4aaa946593f3c
[]
no_license
DiegoCol93/holberton-system_engineering-devops
e473eb03f922fc220fe7a269d556c7608abba6c9
9a688016a78da00b5ced1351a8b44b4d5bc77805
refs/heads/master
2023-05-09T11:32:16.203614
2021-05-28T05:06:52
2021-05-28T05:06:52
294,244,877
0
0
null
null
null
null
UTF-8
Python
false
false
2,517
py
#!/usr/bin/python3 """ Module for storing the count_words function. """ from requests import get def count_words(subreddit, word_list, word_count=[], page_after=None): """ Prints the count of the given words present in the title of the subreddit's hottest articles. """ headers = {'User-Agent': 'Ho...
[ "dfelo93@gmail.com" ]
dfelo93@gmail.com
0131b983b6c87c7cb24bd84005c865d7806d6880
a0544dcb1d65ae3560e6846923fedbd4983648b8
/lessons_1/lesson5_step10.py
34789e1ee3a1febd1143ca3215f0b2af04500697
[]
no_license
Evgen097/sstepik-auto-tests-course
000494eff6f0e73d6d49ec56c06bac95f4ee1b75
1e1a03bb9925473f36c2e924c76cb39adb8c2204
refs/heads/master
2020-06-13T12:34:58.574556
2019-07-02T12:48:52
2019-07-02T12:48:52
194,655,758
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
from selenium import webdriver import time link = "http://suninjuly.github.io/registration1.html" browser = webdriver.Chrome() browser.get(link) # Ваш код, который заполняет обязательные поля input1 = browser.find_element_by_css_selector('.first_block .first') input1.send_keys("Ivan") input1 = browser.find_element_b...
[ "k0990245853@gmail.com" ]
k0990245853@gmail.com
615841aab6c9a74f46e393e9f7ee1893d81e286d
f7b6d64aafdd3d711c0c5d4f9d6a2565944e7dc6
/magnifico_ranks/forms.py
59884f13011b7713376529093499824de736913c
[]
no_license
Robert-Moringa/magnifico_ranks
488d94c8c20f6f333b0e7e831f1f0feca508f331
06ae6dfc2b7c5ed4068c04010223d09a8ebd43a5
refs/heads/master
2023-08-04T18:31:04.134837
2021-09-23T12:03:29
2021-09-23T12:03:29
407,243,260
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
from django import forms from .models import Profile,Project, Review class EditProfileForm(forms.ModelForm): class Meta: model = Profile exclude = ['user','project'] class AddProjectForm(forms.ModelForm): class Meta: model=Project exclude=['user'] class AddReviewForm(forms.Mod...
[ "robert.maina@student.moringaschool.com" ]
robert.maina@student.moringaschool.com
ed10f8d13c158353800cc5bd2d2522720dc3f36f
5d672ccb051a3715458c50d89c73ccd9f6dfe5a4
/Synthesis.py
41a5d96f5ac26d33bbbe25f87538294f6eda0392
[]
no_license
TC5027/Harrison_texture_synthesis_python
6b77f5b4c5796446e1b8a2e31719c80b13d1b0b2
c2935bce9d6ba70997e66406cb14caf2ab6277c5
refs/heads/master
2020-08-06T05:16:10.562043
2019-10-06T08:23:31
2019-10-06T08:23:31
212,849,874
0
0
null
null
null
null
UTF-8
Python
false
false
7,423
py
#!/usr/bin/env python3 from PIL import Image import os import numpy as np from random import shuffle,randint import sys def metric(paterne,paterne_cible,dispersion): valeur = 0 for couleur1,couleur2 in zip(paterne,paterne_cible): r1,g1,b1 = couleur1 r2,g2,b2 = couleur2 r = 1 + ((r1-r2)...
[ "thibert501@gmail.com" ]
thibert501@gmail.com
2b0c31a2de058845294132ee421a4cf3f8a9b9ac
aaa11f717302035907c69b5d15ba5c1e33e659aa
/tests/unit/gapic/dialogflowcx_v3/test_deployments.py
86fe33c562489fdb1c5fefc4bfa2228cf1c20feb
[ "Apache-2.0" ]
permissive
ngoctram21/python-dialogflow-cx
7b34517ef65c467a1fc382b50fd0f490f64d04c4
484e13a78830a3d0ce8b1745fdf2dfce0f88a21e
refs/heads/main
2023-08-28T01:13:05.609141
2021-10-21T23:31:42
2021-10-21T23:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
66,790
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
a364f6c98123fc604ef47aa74607ed69b2c6415a
e6dce6975a0705c06c4fc17fe369626b64f2120f
/setup.py
ce7ebd0ebb268dd738ae133c1ead50be9a00e0fb
[ "BSD-3-Clause" ]
permissive
funkbit/pylinkmobile
d8e3136d86bb6b8020d525b62f360b5c21f099cf
1a26758193d6156f5a3f212dc4029fdc4f21bb07
refs/heads/master
2021-01-18T19:29:19.590681
2013-06-06T13:53:37
2013-06-06T13:53:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
#!/usr/bin/env python import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from linkmobile import __version__ def publish(): """Publish to Pypi""" os.system("python setup.py sdist upload") if sys.argv[-1] == "publish": publish() sys.exit...
[ "jon@funkbit.no" ]
jon@funkbit.no
0b7b30f1d2d05ba2c72d40a9a2c90bafe1309aed
3006defb08131ea54b7ee6c159a39ee0197843b6
/Capitulo02.py
20af06267b3bd045311771cf09aa83036f8d2993
[]
no_license
alehpineda/PythonAlgorithms-2nd
1b68887c04721a16fe24aa5aed158dea4f626c6e
45808fdeef28e099bcd8cec270d2a3b0789f6f86
refs/heads/master
2021-05-28T00:50:22.032815
2014-11-14T05:22:35
2014-11-14T05:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
""" Capitulo 2 """ #Ejemplo Single Linked List class Node: def __init__(self, value, next=None): self.value = value self.next = next L = Node("a", Node("b", Node("c", Node("d")))) print L.next.next.value
[ "alejandro.deathscythe@gmail.com" ]
alejandro.deathscythe@gmail.com
9c5695d04a5517a9cf7f1edee9403fdbb4675fd6
bae5e05722aa0bbf39985f62c511bc83c65e5683
/products/admin.py
211ba437777154f4e5503c8afdb7ebb8378e519b
[]
no_license
sabinemm/meadows_of_sthlm
35b06fad2c27ecdf43917f79f46af7d84294e7f8
aeffe900a826f2621f35a7d455c4f696cab85b76
refs/heads/master
2022-12-25T22:39:26.354872
2020-10-07T07:39:29
2020-10-07T07:39:29
287,748,082
0
1
null
2020-10-07T06:17:21
2020-08-15T13:05:23
Python
UTF-8
Python
false
false
532
py
from django.contrib import admin from .models import Product, Category # Register your models here. class ProductAdmin(admin.ModelAdmin): list_display = ( 'sku', 'name', 'category', 'price', 'dimensions', 'size', 'rating', 'image', ) orderin...
[ "sabine@21.lv" ]
sabine@21.lv
fced1246fd1306b9e38d47c34c2e40ae2f6d0cfe
c3ad74efb911e0805578cbbbf6391579565294ee
/newrelic_api/application_deployments.py
71cbdd2c06184d40eddb57dc24851613161d4976
[ "MIT" ]
permissive
anduingaiden/newrelic-api
c5b41f39c990140f0b4e8cc92a53ce55fae2f5f5
5a13af2a69ee9bdb1b54192fdd6589e8424345d8
refs/heads/develop
2020-12-13T07:30:36.584863
2020-01-16T15:37:13
2020-01-16T15:37:13
234,347,686
0
0
MIT
2020-01-16T15:41:49
2020-01-16T15:15:13
Python
UTF-8
Python
false
false
4,919
py
from .base import Resource class ApplicationDeployments(Resource): """ An interface for interacting with the NewRelic Browser Application API. """ def list(self, application_id=None, page=None): """ This API endpoint returns a paginated list of the deployments associated with a given ...
[ "38566059+anduingaiden@users.noreply.github.com" ]
38566059+anduingaiden@users.noreply.github.com
d0c857bd997738bf243a08d6d102f1311c5af750
d9f66c812c7287187563a15d1dc72e08cf1eaa91
/Packaging/Harvest.py
4ce9ed269a5cbd64df2b5e2e96fa74c31cd80bba
[ "Apache-2.0", "IJG", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Delicode/OpenNI2
9c722138a9e45a887dda93b8522a523c59f3376d
99dd4e7d9f3c08a8e31b9dc9c0fd4d7448bc6ea0
refs/heads/master
2021-06-06T00:19:11.533537
2021-04-28T08:33:33
2021-04-28T08:33:33
362,108,942
0
0
Apache-2.0
2021-04-27T12:44:15
2021-04-27T12:44:14
null
UTF-8
Python
false
false
17,431
py
#!/usr/bin/python #/**************************************************************************** #* * #* OpenNI 2.x Alpha * #* Copyright (C) 2012 PrimeSense Ltd. ...
[ "eddie.cohen@primesense.com" ]
eddie.cohen@primesense.com
d1610e71790113c1cc7b2792a9c8a0a4e2cedbdb
03a76045357a1eef04ea08c04b199f084a321625
/annotator_gui/load_data/load_data.py
34410346ddfe769392046153ec5ce7dafcd0ef45
[ "MIT" ]
permissive
anaconda121/NAT
1711ccaa7890e23587d7e382999eaee283fc1155
d6eff44f6bdfd1e6d2327e289a6acc40d900df60
refs/heads/main
2023-04-13T12:45:39.301292
2021-04-17T05:27:08
2021-04-17T05:27:08
358,788,562
4
0
null
null
null
null
UTF-8
Python
false
false
4,364
py
# %run load_data/load_data.py # import libraries import csv, os import numpy as np import pandas as pd import django.shortcuts from gui.models import PatientDemographic, PatientYear, Note # define directories, note that CSV files must be contained within data folder in the same directory as load_data.py ROOT_DIR = os...
[ "tanishtyagi@gmail.com" ]
tanishtyagi@gmail.com
1852b7c011e510378188733b937463d25646f27b
2040c069d076e3bd9975e2a0376448515f42c988
/dm_filedown/__openerp__.py
acb5f2b16d67028ed8baf9bb7eb3ee281b5ad217
[]
no_license
PravinShahi0007/dm
d952c399a7fdbbabb8807a8c3fb3bc08cb6505ee
600c4d19d84f16382bc309e2be9e89a7ab8b3c9b
refs/heads/master
2023-03-17T01:02:57.585270
2015-07-27T03:53:18
2015-07-27T03:53:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
# -*- encoding: utf-8 -*- ############################################################################## # # DMEMS Base Module # Copyright (C) 2014 DMEMS (<http://www.dmems.com>). # ############################################################################## { 'name': 'DM file download', 'version': '1.0...
[ "bjwsz@163.com" ]
bjwsz@163.com
cc21f6e7c1df6d64232af1bb844ee23c05c5dda0
71b2c8d8f7d5aacda4dacf327aa122e5af79f175
/venv/bin/pip3
c4d81319cadf2c00168445ccf306da0369dde61d
[]
no_license
lcarpe29/InvoiceCalculator
001593958bb72cf3a3d868b30690213957c64f29
6b0e7ff7709af9e4fa89dc64500bd9ce4e415a02
refs/heads/master
2021-03-05T17:55:15.580989
2020-03-19T03:02:05
2020-03-19T03:02:05
246,138,658
0
0
null
null
null
null
UTF-8
Python
false
false
423
#!/Users/levicarpenter66/PycharmProjects/InvoiceCalculator/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "lcarpe29@uncc.edu" ]
lcarpe29@uncc.edu
4681fa22cfe2364f96c21f7bfeeaa996e541e853
115468ca22e74e4f56dc6512b0f93f772355674f
/Python/Color_Picker/Color_Picker.py
09934980a0e968245435e47d676aeca24c016f1d
[ "MIT" ]
permissive
gprasanth/Rotten-Scripts
c646083d23ece2b29f60cacdba3164d8c47f4be9
903399fa12105cca53276fed4f96eb09407e4493
refs/heads/master
2023-06-01T01:24:32.923395
2021-06-19T07:08:56
2021-06-19T07:08:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,020
py
import cv2 import pandas as pd import argparse def get_argument(): ''' This function returns the arguement which was passed through the terminal. ''' ap = argparse.ArgumentParser() ap.add_argument( '-i', '--image', required=True) args = vars(ap.parse_ar...
[ "noreply@github.com" ]
noreply@github.com
1e1b63a7a2664bf62afae44991263e6b7162168c
c7205fb96eb7425609773e051f5db7dda1249ced
/tags/models.py
419c317683cb08b162ac0a6c1400b5620c158830
[]
no_license
Alyas-01-08/SocialWeb
a017492a5fb00fc6b494d06e10eb5d86827be81d
f2cb5418d0c0606b500b64f7777286b46ff8e3e4
refs/heads/master
2023-08-23T21:40:44.819353
2021-10-09T10:11:05
2021-10-09T10:11:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
from django.db import models # Create your models here. from django.db.models.signals import pre_save from django.urls import reverse from django.utils.text import slugify from posts.models import Post class TagQuerySet(models.QuerySet): def active(self): return self.filter(active=True) class TagManag...
[ "dinstamaly@gmail.com" ]
dinstamaly@gmail.com
96e61e2cdbe7a1d8025135c55c7b6a562a6712ce
be39b38dddcdc98cab0c29189f5fb74f8c709f16
/fast-news/tinyimg.py
0518aa353865dd9b19099ab125ddf986c49e3998
[]
no_license
nate-parrott/fast-news
80bd371a56188475a0bb647fc630ee54f388bf96
45ed735744bd138e65e643fd1713fd8e2d107b1e
refs/heads/master
2020-04-06T05:53:44.724331
2017-01-02T09:05:44
2017-01-02T09:05:44
50,979,865
0
1
null
2016-09-19T05:03:22
2016-02-03T06:41:10
Python
UTF-8
Python
false
false
223
py
from PIL import Image def tinyimg(img): size = list(img.size) img = img.convert('RGB') img = img.resize((2,2), Image.ANTIALIAS) return {"size": [2,2], "pixels": map(list, img.getdata()), "real_size": size}
[ "nateparro2t@gmail.com" ]
nateparro2t@gmail.com
ac19473c96d750e019a99cc9116eeac478f5a6f6
c2c8915d745411a0268ee5ce18d8bf7532a09e1a
/stix-1.1.1.0/stix/common/identity.py
fb2cab262ee10fd12f1a630979928c1e562cc9e3
[ "BSD-3-Clause" ]
permissive
asealey/crits_dependencies
581d44e77f297af7edb78d08f0bf11ad6712b3ab
a8049c214c4570188f6101cedbacf669168f5e52
refs/heads/master
2021-01-17T11:50:10.020346
2014-12-28T06:53:01
2014-12-28T06:53:01
28,555,464
1
0
null
null
null
null
UTF-8
Python
false
false
4,659
py
# Copyright (c) 2014, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. from __future__ import absolute_import import stix import stix.bindings.stix_common as common_binding import stix.bindings.extensions.identity.ciq_identity_3_0 as ciq_identity_binding import stix.utils #...
[ "ssnow@mitre.org" ]
ssnow@mitre.org
daf4d91f0be35c88b68c33c6b8c3a99f1f647dcb
327ec5f11dff7a034e32735fb9bfb3ca4d82569d
/examples_keras/attention_lstm.py
9752b36a591f1558a41b997f0592958716504f2b
[]
no_license
liyi19950329/attention-mechanism
2a75894b9221bf6a887a81f3a507df5210bedf53
551aa72ac503a56354cd47a795874f49ffb6d097
refs/heads/master
2020-03-26T07:24:55.648061
2018-05-30T13:35:11
2018-05-30T13:35:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
"""""" import numpy as np from data_helper import gen_time_data from config import config_lstm as config from keras.models import Model from keras.layers import Input, Dense, LSTM from keras.layers import Flatten from attention.attention_keras import attention2d np.random.seed(config.seed) def build_model(): ...
[ "imhuay@163.com" ]
imhuay@163.com
1714f53c10e3c3761039d125161125ecb9ac5155
85d672bd60f04caf10788a389153a4bbb6bbf56c
/pypllon/routines.py
8b67d198d2b96bfde5cb7a58a922b438d8aceaba
[ "BSD-3-Clause" ]
permissive
dsuess/pypllon
d5e9d8e9952c3db9654f10d892cbe31d0633e613
f9ae6104555837fe0eb7d7c333ebc2ed585d314a
refs/heads/master
2021-07-12T15:35:46.821158
2017-10-10T01:12:13
2017-10-10T01:12:13
88,569,435
1
0
null
null
null
null
UTF-8
Python
false
false
7,633
py
#!/usr/bin/env python # encoding: utf-8 from __future__ import division, print_function import cvxpy as cvx import numpy as np from .postprocessing import rank1_approx __all__ = ['lr_recover_nucular', 'lr_recover_l1', 'lr_recover_l2', 'recover'] ########################################################...
[ "daniel@dsuess.me" ]
daniel@dsuess.me
ac6f4dc12017e63d1d823e917c619ad903fa43c1
6406c60d42a243e3566cb0864c14453b686809a6
/plugins/geoip/geoip.py
bddb6c1cf3d51e178318ee5515199df9d8c90934
[ "Apache-2.0" ]
permissive
Srungaram/alerta-contrib
79d29d6aa7f6b2bc0e102ef3a4b52a93b9029317
3a507dee5cd20fac22676c70da0b8c7364562b3d
refs/heads/master
2021-01-18T13:53:12.550536
2016-01-12T01:17:54
2016-01-12T01:17:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
import os import requests from alerta.app import app from alerta.plugins import PluginBase LOG = app.logger GEOIP_URL = os.environ.get('GEOIP_URL') or app.config.get('GEOIP_URL', 'http://freegeoip.net/json') class GeoLocation(PluginBase): def pre_receive(self, alert): if 'ip' in alert.attributes: ...
[ "nick.satterly@guardian.co.uk" ]
nick.satterly@guardian.co.uk
6239ce4bcdb298058ffb8702caec4c16a679f96c
2bfaa7c2fddc619d9b702b94cf87819658838125
/MiniBank/Domains/Values/ApplicationState.py
15f12acd0cee3d255a6bf8745452b2fb6680b4b1
[]
no_license
polvalente/MiniBank
924a05912ecabab797a5a84311936925e19238ac
80518da5a180959b2d48aae4fc0cdfa9007968e8
refs/heads/master
2021-08-23T16:30:04.947613
2017-12-05T17:38:13
2017-12-05T17:38:13
109,149,972
0
0
null
null
null
null
UTF-8
Python
false
false
4,181
py
from copy import deepcopy as dcopy from MiniBank.Domains.Entities.User import * from MiniBank.Domains.Entities.Account import * from MiniBank.Domains.Values.Transaction import * from MiniBank.Domains.Values.Event import * class ApplicationState(): def __init__(self, events=[], users={}, accounts={}, next_uid=0, n...
[ "polvalente@gmail.com" ]
polvalente@gmail.com
5ae8d3d1c02fba34e833208bb1f8a004563c682b
50498615489b2d92a663535777ce77d85f6df079
/Google/BinaryTree.py
9c937ae048cfbfc6dc63c1f8f5873f1cba2d0006
[]
no_license
Nithanth/Graduate-Algorithm-
d9bc36755eac6f09e36c90c689c796e7dc3aa584
053512e05cd55f9329e2e4ab65e32a2baf91c7b6
refs/heads/master
2023-08-28T18:42:53.440183
2019-03-25T15:41:26
2019-03-25T15:41:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
class TreeNode(object): def __init__(self, x=-1): self.val=x self.left=None self.right=None def printTree(self): print self.val class Tree(object): def __init__(self): self.root=TreeNode() self.queue=[] def add(self, x): node=TreeNode(x) if self.root is None: s...
[ "noreply@github.com" ]
noreply@github.com
8a5f7017db8ebacf84bb5c2f3041d50ee681a7d8
7fe126c23370550b4c9eef73f5e8348ffc0578b5
/bookSearch.py
6428155bf1c61bc44aceae06b95f26e841a3c669
[]
no_license
q948185662/ctbu
afc6623c27d22711f2138efa49ce6402b0ff0189
02cbfc1716c79d4d410908e2080ac87e2be84499
refs/heads/master
2020-06-11T02:43:51.683455
2019-04-20T06:36:07
2019-04-20T06:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,616
py
from flask import Flask from flask import jsonify from lxml import etree from bs4 import BeautifulSoup import requests import re # 用于编码 from urllib import parse app = Flask(__name__) theSameUrl="" s = requests.session() # 第一次搜索 @app.route("/search/<keyWord>/<model>/<type1>/<field>/<disk1>") def bs(keyWord,model,fiel...
[ "296605050@qq.com" ]
296605050@qq.com
45f0e29c1400f56e59b99536f61dd558f158f525
4e7d2dd634f6f1ff78cbb20d50b5d0da4f91b5bf
/EncoderLayer.py
0833f62569bd75a016e1982f1ca90b3979ff7d53
[]
no_license
tanthanh0510/Translate
40c1cceebdc0f94407729fe5be58d93b084d128d
4068ac6da03fc9f9d10210175649cb65c9b370c3
refs/heads/main
2023-01-24T12:05:40.747020
2020-12-09T14:05:24
2020-12-09T14:05:24
319,197,852
0
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
from MultiHeadAttention import MultiHeadAttention import tensorflow as tf class EncoderLayer(tf.keras.layers.Layer): def __init__(self, d_model, num_heads, dff, rate=0.1): super(EncoderLayer, self).__init__() self.dff=dff self.mha = MultiHeadAttention(d_model, num_heads) self.layernorm1 =...
[ "noreply@github.com" ]
noreply@github.com
ea7cfd3cff5128d05f2f4bf5a472a6117b0f4357
eb64506197119cc4afeb06ac92bcd6dfa2274a2f
/이게진짜.py
f15875d4266f09ae1fe4faadd2a8cbdb2bcc26e6
[]
no_license
taxijjang/hamburgur_Game
6ee9ee16344f87c080ebac74283b273c3fd16f56
cc3b1ffb5d5277d8c832b6ad54db14ed40878273
refs/heads/master
2022-04-14T20:15:58.001929
2020-04-13T06:14:40
2020-04-13T06:14:40
255,246,192
0
0
null
null
null
null
UTF-8
Python
false
false
20,009
py
4############빵과 재료의 스프라이트를 만들고 ############스프라이트에 대한 좌표값도 지정 한 후 ############재료를 선택하는 방법을 구현 ############빵의 디스플레이를 먼저 임의로 구현 한 후 ############방의 디스플레이를 랜덤 값으로 구현 하 import pygame,random,time,sys,threading from pygame.locals import * from random import randint BLACK = [0,0,0] WHITE = [255,255,255] RED = [255,0,0] GRAY =...
[ "gw9122@Naver.com" ]
gw9122@Naver.com
65414dfc407c271cc940cbd48d719c51595f321a
e452c82e38cc465265c50d44b0a005040623e746
/View/top_navbar_view.py
3bcf022ea1822b143731e2d328a34fb618643f10
[]
no_license
bhhe/TeamManager
e5ffcfad023331f6fcd5a402dd09cea9acd36a2f
36cd3f3a45bb4714009ec5ab809117ccc4447b94
refs/heads/master
2020-07-10T12:19:34.699476
2019-08-25T07:37:25
2019-08-25T07:37:25
204,261,668
0
1
null
null
null
null
UTF-8
Python
false
false
1,226
py
import tkinter as tk class TopNavbarView(tk.Frame): """ Top Navigation Bar """ PAGE1 = 1 PAGE2 = 2 def __init__(self, parent, page_callback, page_popup_callback): """ Initialize the top nav bar """ tk.Frame.__init__(self, parent) self._parent = parent self._page_call...
[ "bowen.he.work@gmail.com" ]
bowen.he.work@gmail.com
f350f4f2a31df887211c25d059ace444613f94fa
c1501e8c4ee773e53af8f9cc29740ea2c1f3efdb
/get_image_crops_1.py
1fa40954c7f1941b25cc219c8df29c53f2a351a1
[]
no_license
chetanmanjesh/process_faces
05b0145591750a4e23e3a512b9346c17aaa2eeea
80d78978e88d01257e94fa6b4210832ec7e1000f
refs/heads/master
2020-09-13T09:23:12.001286
2019-11-19T15:36:57
2019-11-19T15:36:57
222,724,214
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
import csv import os import cv2 counter = 0 corrupted = 0 with open('vggface2_disk1-01') as csvfile: for line in csvfile: print(counter) counter += 1 print(line) line_split = line.split(',') try: file_line = line_split[0] except: continue ...
[ "cmanjesh@gypsum.cm.cluster" ]
cmanjesh@gypsum.cm.cluster
b6b46f3b5c490d5ed428d489edc8cf451ffe1eaf
10c26e25f7da2289d50b1138b7da48bf9a02d42f
/Oj/problemset/migrations/0007_problem_constraints.py
900aa1cc6aea2d37b2658f990e3bb3290cf41cb8
[]
no_license
ParitoshAggarwal/OJ
e1392a02dd95d42b4d72ba69b891db9df5e406ad
1a4acb5e620b0575d744fd8e4c13148062d1670c
refs/heads/master
2022-10-19T21:18:02.512008
2017-12-27T06:53:46
2017-12-27T06:53:46
97,516,099
0
1
null
2022-10-13T00:05:44
2017-07-17T19:50:06
JavaScript
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-06 07:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('problemset', '0006_problem_created_at'), ] operations = [ migrations.AddFie...
[ "paritoshmait@gmail.com" ]
paritoshmait@gmail.com
a8403682560101da15183e35985b03afdaf00907
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_quantizer/xnnc4xir/xnnc/utils/pytorch_graph.py
a552cfad8c1e16d3e32d3d50290b24a965903be9
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
18,017
py
""" Copyright 2019 Xilinx Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
4198e5c1b3fc6ff57b2bf3ecc032e4e24b78e32b
a6c7174f3b736b8ba34541b51ae75a444214868d
/Backend/hospitalManagementDjango/backend/tests/test_endPointTests.py
a2211b55986f1c84342dfa82fdccfa12e39c14c4
[ "MIT" ]
permissive
sm4544/Carian-Drexel
c18b037f799f4ab770b9d0f8104229299f5af319
4f106aabf67c4f1193f974e3d96c26b0a15a9f60
refs/heads/master
2023-03-19T17:38:40.590563
2021-03-15T22:31:07
2021-03-15T22:31:07
299,941,021
1
1
null
2021-03-15T22:18:26
2020-09-30T14:11:18
JavaScript
UTF-8
Python
false
false
2,731
py
from unittest import TestCase import requests class EndPointTests(TestCase): def setUp(self): self.urls = { "hospitals": "https://hospitalmanagementbackend.herokuapp.com/hospitals/", "Patients": "https://hospitalmanagementbackend.herokuapp.com/Patients/", "Profiles": ...
[ "adithya.vadrevu@gmail.com" ]
adithya.vadrevu@gmail.com
fd5b4fc4bde2a7965e49a6f75f51273a99bdf223
c8a71ffb3a86e6a54a2ffff579cb0f8a3105c390
/Algorithm/탐색/bfs.py
0c474955c63f5239fc9ffcf5b3a66207c23ded48
[]
no_license
freshbell/Coding-Practice
0e3cf97598c5b2560c6289ded2dc7952243499f4
847b4be90f34fc106b85921ca6a6c2465eeccb5c
refs/heads/master
2023-03-28T03:44:59.971312
2021-04-02T18:47:40
2021-04-02T18:47:40
320,569,940
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
#queue 자료구조 #큐(queue) 구현을 위해 deque 라이브러리 사용 #queue = deque() #queue.append(5) #queue.append(2) #queue.append(3) #queue.append(7) #queue.popleft() #queue.append(1) #queue.append(4) #queue.popleft() #print(queue) #queue.reverse() #print(queue) from collections import deque def bfs(graph,start,visited): queue = d...
[ "freshbell95@gmail.com" ]
freshbell95@gmail.com
d2823a7544438d7d0a5d4285fc4bb70e8e193e1f
12dfad6cf9f63e443fa7fae108a1a9d29f996b6e
/lib/networks/vgg16_convs.py
cf7b56d83f285ea4914082a6a8a5b5eef0d28452
[ "MIT" ]
permissive
zengzhen/PoseCNN
60c9a4096d5ca89af570f01ab13955bdd509b296
6999d22a3787af69c3a1cf4db59089acf5327ffe
refs/heads/master
2021-04-18T20:21:16.641357
2018-05-08T17:55:59
2018-05-08T17:55:59
126,381,407
0
1
null
2018-03-22T18:51:25
2018-03-22T18:51:25
null
UTF-8
Python
false
false
11,495
py
import tensorflow as tf from networks.network import Network class vgg16_convs(Network): def __init__(self, input_format, num_classes, num_units, scales, vertex_reg_2d=False, vertex_reg_3d=False, pose_reg=False, matching=False, trainable=True, is_train=True): self.inputs = [] self.input_format = in...
[ "xyfudan@gmail.com" ]
xyfudan@gmail.com
a307a460292745bddc89253a40a408496baae5a0
d4bcaae54af48c9443192b511921015615b5a631
/migrations/versions/ffe784be24dd_add_language_to_posts.py
291d4f80fc1b6c59839f127496d6fe501130a005
[]
no_license
c4r1sk1m/FlaskBlogApp
66392d437989be860d523f9a4251ca8097983a31
ad4febd477b1c1ffdbe3de53fe227d335e7494d0
refs/heads/master
2022-11-15T11:28:04.330442
2019-02-22T03:28:13
2019-02-22T03:28:13
171,988,461
0
1
null
2022-10-27T07:32:42
2019-02-22T03:30:21
Python
UTF-8
Python
false
false
667
py
"""add language to posts Revision ID: ffe784be24dd Revises: 7b6b9dc5bfd5 Create Date: 2018-12-17 12:35:23.216207 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ffe784be24dd' down_revision = '7b6b9dc5bfd5' branch_labels = None depends_on = None def upgrade()...
[ "chrisk0208@gmail.com" ]
chrisk0208@gmail.com
32c8f58279581ab43bfe82963b1026f842a36e3b
08b5e9c1210ffae97ac12f6080e6261764a4dfd8
/Sorting Algos/heap_sort.py
6dcb43c715f0e8a24dbe236d604901d9cfd50392
[]
no_license
Vathsal/InterviewPrep
0b1c665ff503caa79cf06dfdb3b2589232e06b57
4fe0b5a9694941897b6ebcb1038fdbce2f66208f
refs/heads/master
2020-05-09T18:58:21.292006
2020-02-03T21:54:04
2020-02-03T21:54:04
181,361,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
#------------------------------------------------ # HEAP SORT #------------------------------------------------ import random def heap_sort(input_list) : N = len(input_list) if N <=1 : return input_list else : build_max_heap(input_list, N) for i in range(N-1, 0, -1) : i...
[ "vathsals@fb.com" ]
vathsals@fb.com
d6da81bb8230bb0d23e43c83f2b8f0d1d236fb6e
1511782b2cc3dcf1f7e058e5046ec67a5561ba51
/2020/0820/abc048_b.py
9ff929bc2dfcc189523e62da80581147dc6590ec
[]
no_license
keiouok/atcoder
7d8a053b0cf5b42e71e265450121d1ad686fee6d
9af301c6d63b0c2db60ac8af5bbe1431e14bb289
refs/heads/master
2021-09-07T11:48:55.953252
2021-07-31T15:29:50
2021-07-31T15:29:50
186,214,079
4
0
null
null
null
null
UTF-8
Python
false
false
840
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii...
[ "ko.yuka.kp2@is.naist.jp" ]
ko.yuka.kp2@is.naist.jp
508f257ffc1cfba246694d172592d66343712b5b
915aa20c5226be980ab41fdc0da4c15f353aeb21
/P3_Collaboration_and_Competition/ddpg_agent.py
0e72138eefa64037282ce0151c606fef00326a94
[]
no_license
VikramRadhakrishnan/DRLND
ac0b8b074e4ac2f594166bd64df76bbd4a500045
467386c94120cfca95f604eec71a911416d6c8d6
refs/heads/master
2021-02-02T00:38:11.360813
2020-04-11T13:50:44
2020-04-11T13:50:44
243,524,978
0
0
null
null
null
null
UTF-8
Python
false
false
6,430
py
import numpy as np import random import copy from collections import namedtuple, deque from model import Actor, Critic import torch import torch.nn.functional as F import torch.optim as optim GAMMA = 0.95 # discount factor TAU = 0.01 # for soft update of target parameters LR_ACTOR = 1e-4 ...
[ "vik.radhkrishn@gmail.com" ]
vik.radhkrishn@gmail.com
4c28e5fa8fe7f6b284ca263c1171c52e7aec4af2
31a2955107096a67fa798cd0013fc20a11422d9d
/restpost/post/migrations/0002_auto_20190426_1340.py
7be1eefe72588a1ec2feac29a00f05e293f4f203
[]
no_license
g3ar/restpost
bc41485218b7eef5c4bb7e55a0f4ee86b6b9cdc8
b4deff60447eb9ff5a7151efebbb09673396fe9a
refs/heads/master
2020-05-16T19:23:53.305878
2019-05-22T13:16:48
2019-05-22T13:16:48
183,258,727
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Generated by Django 2.2 on 2019-04-26 13:40 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('post', '0001_initial'), ] operations = [ migration...
[ "misty.g3ar@gmail.com" ]
misty.g3ar@gmail.com
2dc2b824649f7f59ef978efa4918a97d312faf1b
3ce6db53036de3e35b2502768027f32d51822c1d
/18S2/COMP4920/Assessment/Software project/cs4920project-master/budgetapp/backend/confirmation.py
4517807ce1fe3c5203ec3f04386b5818f20513e4
[ "Apache-2.0" ]
permissive
Kelly-S-Wang/UNSW-UG-ALL
602e0ea660c0e2014836128ac94a1f2886cf18b0
7947e7c138adbdac7dea56658a74e24f9a9862cc
refs/heads/master
2022-01-16T11:28:13.689342
2019-07-08T06:59:08
2019-07-08T06:59:08
182,079,523
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# This is python file for the confirmation class from sqlalchemy import Column, Integer, String, ForeignKey from .base import Base class Confirmation(Base): __tablename__ = "confirmations" id = Column(Integer, primary_key=True) token = Column(String) profile_id = Column(Integer, ForeignKey("profiles.i...
[ "kellywang7426@gmail.com" ]
kellywang7426@gmail.com
431ae555a024847331eb19fa7fc1d105bbf339cf
046df94b4f437b2e30b80d24193fcd5380ee7b54
/finger_exercise/3some_simple_numerical_programs/root_and_pwr(chapter3.1).py
c6a14b81e9766eaa106309a2f2f514a88f048ee1
[]
no_license
LordBao666/MITLecture6.0001_Introduction_To_CS_Programing_In_Python
570565a3a931269f47fe15fd83527567a24fc134
e9fca10ad0226c8620ae36d063c2bc49da114ca4
refs/heads/master
2023-04-02T10:40:48.564479
2021-04-06T15:19:47
2021-04-06T15:19:47
344,118,089
0
0
null
null
null
null
UTF-8
Python
false
false
5,107
py
""" @Author : Lord_Bao @Date : 2021/3/4 """ """ Finger exercise: Write a program that asks the user to enter an integer and prints two integers, root and pwr, such that 0 < pwr < 6 and root**pwr is equal to the integer entered by the user. If no such pair of integers exists, it should print a mes- sage to that ef...
[ "916900021@qq.com" ]
916900021@qq.com
fedc96b38897a41273443aeae25ff314c9a03fd3
a6385ab8ba30cce3fd35e858e0933ab253b08701
/parsingPost.py
191eb0e1a33a52057e207de2b30a5905e2b8a83f
[]
no_license
wonkyoungChoi/univWebCrawler
2abca8a850d2c1ba63d0753b9b94946739bb1ff3
90b3ea883d7f599ed8bfdfb14bc7796a52aeedd6
refs/heads/main
2023-07-05T14:33:05.497967
2021-09-01T07:43:54
2021-09-01T07:43:54
397,538,662
0
0
null
null
null
null
UTF-8
Python
false
false
6,915
py
from collections import OrderedDict from time import sleep import datetime from pyfcm import FCMNotification import firebase_admin from firebase_admin import credentials from firebase_admin import db import inko import os import json import random import requests from bs4 import BeautifulSoup myInko = inko.Inko() # ...
[ "noreply@github.com" ]
noreply@github.com
d6cc14c090b1aca9c0b0d56887559131da947605
2fd08b83dc765a7b34f7747ed8962dd5301de547
/codes/model/model_for_toto.py
28ff12569fff90e3915bc7b272d59af3c4e82903
[]
no_license
KoSato-abc/toto_simulator
bbd65657b12ea5acc4db99772e1a3703e02576ff
09c319bedf45cbb325f32c816842aa01b9f302e5
refs/heads/master
2023-05-15T09:32:31.764318
2021-06-09T08:30:16
2021-06-09T08:30:16
375,281,560
0
0
null
null
null
null
UTF-8
Python
false
false
4,688
py
import numpy as np import pandas as pd import codes.common as c from sklearn.model_selection import train_test_split import xgboost as xgb import pickle import optuna from . import meta_model as mm from .base_models import preprocessing as p from .base_models import model_1 as model1 from .base_models import model_2 as...
[ "klover369@gmail.com" ]
klover369@gmail.com
b75b54ec10b29f0a56740a013ee7f0a3c1c1acfa
e3f40474e81d8478169875d25434756b68b6d65e
/CIStoPLIST/02SystemPreferences/old/energy_saver.py
8ff4edeb96ff60df7dcf214bb9060483071994a6
[]
no_license
christopherj525/osquery_cis_shim
a75462ec04d082879a092b2e0cb258e537eac858
9500801fd9684568550b89c880e6bc7775bd9f42
refs/heads/master
2023-01-29T23:07:52.207614
2020-12-08T06:46:52
2020-12-08T06:46:52
288,346,972
5
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
import subprocess from CIStoPLIST import shared # 2.5 Energy Saver # This section contains recommendations related to the configurable items under the Energy Saver panel if __name__ == '__main__': # 2.5.1 Disable "Wake for network access" (Scored) energy_saver_plist = {} wake_status = subprocess.run(['pmset', '-g'...
[ "hurless@northwestern.edu" ]
hurless@northwestern.edu
f71b56275356bca1899b7883b80148ac8aa8d9a8
72b8e467618c045b9613f0de910d6ba657a4912c
/dbms.py
5d5e84cdc50fd9bd6a8e617d86e35f88a1f69b02
[]
no_license
fbrundu/bimp
e83ee48d751ca066204d25e8977c313f4603b869
ec7cd61286e5c10d9ff93b0d5ae3fcc248c0febb
refs/heads/master
2021-06-19T01:01:36.355877
2021-01-28T20:01:46
2021-01-28T20:01:46
168,636,984
1
0
null
null
null
null
UTF-8
Python
false
false
8,739
py
import cherrypy import collections from lib import get_parameters from db_common import * import sqlserver as db import traceback def query(params, pbc): log = "" # get buildings' names building_names = get_parameters(params, "building") # connect to default database conn, cur = db.connect(pbc[...
[ "francesco.brundu@gmail.com" ]
francesco.brundu@gmail.com
d5d8907847e2788d6611a46a1cfba68c036e5b41
44088704735b327966297644d8fd1cf59966374b
/container/build_tar.py
1ffe4b0862f25b5ec1f379d4a985bfb818f10c28
[ "Apache-2.0" ]
permissive
vbatts/bazel-rules_docker
9fff77f364ab164755cd1ce108bbf50ea7a6b180
59431b85f0f1ecf4be99bdcc11f599b8916f9f9f
refs/heads/master
2021-03-27T18:53:35.692014
2017-10-25T17:31:40
2017-10-25T17:31:40
108,405,935
2
0
null
null
null
null
UTF-8
Python
false
false
8,534
py
# Copyright 2015 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "mattmoor@google.com" ]
mattmoor@google.com
e76b055b43caaad4b0d6d1a83662bdceba8a7781
e875742da7480b3277d0f34606e55a95c009c966
/sage/database/db_iterator.py
cb16aeb1e09745f2f73021d68945688529ee70f5
[ "MIT" ]
permissive
sage-org/sage-engine
b10a621c25b938b21a33e8f6273299ab8798118a
33b3c775f6932d0e61bcce2c763f2d63846dba40
refs/heads/master
2022-09-03T10:25:42.121293
2021-05-05T16:15:37
2021-05-05T16:15:37
128,745,071
34
16
MIT
2021-04-19T18:26:51
2018-04-09T09:11:10
Python
UTF-8
Python
false
false
1,809
py
# db_iterator.py # Author: Thomas MINIER - MIT License 2017-2020 from abc import ABC, abstractmethod from typing import Dict, Tuple class DBIterator(ABC): """ A DBIterator follows the iterator protocol and evaluates a triple pattern against a RDF dataset. Typically, a subclass of this iterator is ...
[ "tminier01@gmail.com" ]
tminier01@gmail.com
34e2f783a8d885369f4c0a834d7a310488fc97eb
7a1243f229dd1ff671b26d5035c39219c9fa9586
/785A - Anton and Polyhedrons.py
e357a1510c8468cfdbb6915ef3df63565885f072
[]
no_license
henseljahja/code-forces
ce4063f30754bdee0e4d6ebc58b55f0874bf2cf9
1ca196636073331507b9bf48cb78cff625f44def
refs/heads/main
2023-03-21T10:00:39.986314
2021-03-08T15:45:22
2021-03-08T15:45:22
339,361,495
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
n = int(input()) count = 0 for i in range(n): s = input() if s == "Tetrahedron": count+=4 elif s == "Cube": count+=6 elif s == "Octahedron": count+=8 elif s == "Dodecahedron": count+=12 elif s == "Icosahedron": count+=20 print(count)
[ "henseljahja@gmail.com" ]
henseljahja@gmail.com
aa3278469beb7aa0d87b269d60de80611431af8b
65bc6de5088d989b24571213fb16ebc557f922b4
/for_beginners/render.py
3522b818c2a2f7351f64dfa6f9191e102dc2dc86
[]
no_license
vpj/for_beginners
76f71ab780194c47ecd5cd67c21359b5d22bebd2
45af7567c821ffe329d7db64390aaa391176d974
refs/heads/master
2020-03-09T01:44:44.353629
2019-02-23T05:42:01
2019-02-23T05:42:01
128,522,978
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from IPython.core.display import display,HTML,Markdown import random import string def diagram_tensor(shape): dom_id = ''.join(random.choices(string.ascii_lowercase, k=10)) without_none = [] for s in shape: if s is not None and str(s) != '?': without_none.append(str(s)) js = 'main....
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
b7fcd531ec8ee1ccf16bf8c939a63699b541f52e
84ec87d318ca7d3ee8ede51bb4ce0473f0555111
/DegitalCircuit.py
8e53d15eb583b58a4b076de7746d5fe09d72e75e
[]
no_license
aqla114/DeepLearning
8cfaf95ee5a5eded77dec4253db0e8963ed56f4f
a8ad5771c9ea8d797ed6ec91b976f8f0c2c115f7
refs/heads/master
2021-01-21T20:56:27.159499
2017-06-05T00:03:15
2017-06-05T00:03:15
92,291,246
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
import numpy as np def AND(x1, x2): x = np.array([x1, x2]) w = np.array([0.5, 0.5]) b = -0.7 tmp = np.sum(w*x) + b if tmp <= 0: return 0 else: return 1 def OR(x1, x2): x = np.array([x1, x2]) w = np.array([0.5, 0.5]) b = -0.2 tmp = np.sum(w*x) + b if tmp <=...
[ "aqla114@yahoo.co.jp" ]
aqla114@yahoo.co.jp
3cac729c3ac078b28c725ff467a5a3b7c8db7848
7f4e9b8a257c9f92a42c4c18382854d729efffbb
/2021_04_18/yuhwanwoo/b3687_성냥개비.py
d7cf97b52cdd402604cce49e514867afb4a587ee
[]
no_license
HandsOnTheVim/AlgorithmStudy
69affb1f25b607c362602f0221833d8cee8d0e69
dfa4279e2551f343260529824d081e568a369d17
refs/heads/master
2023-07-16T15:46:34.732898
2021-08-28T16:30:57
2021-08-28T16:30:57
347,562,455
0
0
null
2021-08-28T16:30:58
2021-03-14T06:32:29
Java
UTF-8
Python
false
false
526
py
n=int(input()) MinNumber=0 dp=[int(1e20)]*101 # 1 2 3 4 5 6 7 8 9 0 # 2 5 5 4 5 6 3 7 6 6 # 2 3 4 5 6 7 8 9 10 11 12 # 1 7 4 2 6 8 20 18 23 20 28 dp[2]=1 dp[3]=7 dp[4]=4 dp[5]=2 dp[6]=6 dp[7]=8 # dp[8]=10 add=["1", "7", "4", "2", "0", "8"] for i in range(8,101): for j in range(2,8): cur=str(dp[i-j]...
[ "6514687@naver.com" ]
6514687@naver.com
d76bc3a9d123908c7704164e460f0f661f97b953
6be7f635a9a2acb077da01a00d15dbae3ada8ff1
/src/AuditManager.py
ca4a1fc60c844dd94377aec3659eb52217eac1d7
[]
no_license
pribanacek/part-iii-project
e5fc18491d9cbc520a8ae15ee8bed498a2b17194
433d8e6ead86108644f664edd284b24b3d9bee25
refs/heads/master
2023-07-14T14:46:20.328933
2021-08-18T14:41:32
2021-08-18T14:41:32
332,859,918
1
0
null
null
null
null
UTF-8
Python
false
false
685
py
import dill import time from Role import Role from SocketManager import SocketManager from Message import ComputeMessage, ResultMessage class AuditManager: def __init__(self, db, local_targets): self.db = db self.local_targets = local_targets def record_access(self, msg): entries ...
[ "jp775@cam.ac.uk" ]
jp775@cam.ac.uk
4fb4ac66c10e9ab17564bec01ee46ec523a1aa80
fc481acf3235c46d278dcaf8d984b05df4935a7f
/84.py
cdb793313f8ae2a96148f698c25b6e5f5a3696d9
[ "MIT" ]
permissive
juandarr/ProjectEuler
2c1627fcfd6f68dd8125ff769056499e00e17b9f
5fc43662dcc6ca2a24fb207f959d02c6e9921712
refs/heads/master
2022-09-04T14:13:32.155745
2022-08-22T21:09:54
2022-08-22T21:09:54
233,132,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,395
py
""" Finds the odds in the monopoly game for two 4 sided dices Author: Juan Rios """ import math import numpy as np import random #random.seed(a=4) class rules_deck(): def __init__(self): self.cc = [0,10] random.shuffle(self.cc) self.ch = [0,10,11,24,39,5] random.shuffle(self.ch) ...
[ "juandarr@gmail.com" ]
juandarr@gmail.com
e1c97fa9fb29868e7317f0bda9819c889fe3be39
a448edd7acc0f893f0fe18c90d6b590fb1bafdb5
/zadanie 4.py
901559e3721cb7a1d6730ae8765de59423eaa604
[]
no_license
doriseq/isadc
ce6482cd63b6eb4b3f511e5d448f309c8e314894
4ac7c0df222047b3cc822fc2a1fd1326fef8a13f
refs/heads/master
2020-04-06T15:31:00.641877
2018-12-04T21:56:50
2018-12-04T21:56:50
157,581,446
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# liczba = input("Podaj liczbę a ja pokażę pierwszą i ostatnią cyfrę") # print("Pierwsza cyfra: ") # print(liczba[0]) # print("Ostatnia cyfra: ") # print(liczba[-1]) # # odpowiedz = input("Zgadza sie? T/N") # # if (odpowiedz == 'T'): # print("Super") # if (odpowiedz == 'N'): # print("Nie prawda :)") def pier_o...
[ "dorisss.ch@gmail.com" ]
dorisss.ch@gmail.com
19623330c424384ec567314103e87d67683e462b
9f6ad941561cc6393b3841b32e76bfa3f63f385e
/06June2020/sim.py
27326c70ab090b6e2b79fc33e3af0372434bd511
[]
no_license
alvas-education-foundation/Dhanya-Shetty_026
a4cdeee3afab22e104324b0121608eecf39f4bf7
af903c225a128ee02fcec9f8a4f25907add89305
refs/heads/master
2022-11-30T17:12:19.854858
2020-08-12T14:16:20
2020-08-12T14:16:20
264,890,068
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
a = 1.0 b = 2 mysum = a + b print(int(mysum))
[ "dhanyashetty990@gmail.com" ]
dhanyashetty990@gmail.com
f1a726f0f92042bc59868c00f29e3035765c5ea4
48651b2cf7e689386cff3aa8b14888607588ebfe
/locallibrary/locallibrary/settings.py
b4c72d5e6f8148a6bae25eba0da58ae45c83c253
[]
no_license
UB3DDE/locallibrary
225179c26b1474f30fff0c81fa9a846413746d8d
4fe5722f6e74d3cc3abfc9c37fac363636bb325c
refs/heads/master
2020-03-29T03:53:53.002353
2018-09-20T20:17:28
2018-09-20T20:17:28
149,505,833
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
""" Django settings for locallibrary project. Generated by 'django-admin startproject' using Django 2.0. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "32877204+UB3DDE@users.noreply.github.com" ]
32877204+UB3DDE@users.noreply.github.com
ca8a394b7f55c66ac79481bf389bfaf28ff27240
de346e5772abb94ef6a9d6d33bc6656b9b73beab
/dailycomics/urls.py
5579f1e2f7dd6253e15652c69e3fe62f7a53b584
[]
no_license
jcoady9/dailycomicsproject
9cd3362fcc2ee4ea0b48d36dbf491053cf9802a6
d886886f4f610d04adcb29a4062ee9ed95ebfe52
refs/heads/master
2023-05-25T11:51:10.285703
2021-12-22T17:10:32
2021-12-22T17:10:32
189,673,374
0
0
null
2023-05-22T22:28:28
2019-06-01T00:28:40
Python
UTF-8
Python
false
false
282
py
from django.urls import path from .views import get_comics_for_day, scrape_comics urlpatterns = [ path('', get_comics_for_day, name='comics-for-day'), path('<str:day>', get_comics_for_day, name='comics-for-day'), path('/scrape', scrape_comics, name='scrape-comics'), ]
[ "jcoady@ycp.edu" ]
jcoady@ycp.edu
e705e73a92cfe656ad0214556898e7e4b23a554e
3603f8f76ff81ea75bfc916888bdcfa55b7f12e4
/alds/alds1_3_c_3.py
8f430994eab3e0fa497613b4711b4f742fd06f07
[]
no_license
kimotot/aizu
4de0319959a3b166b8c2c4940ab7b701b6ee3395
315be1240cff733e1c6a7cd98942a95b3bd7ec96
refs/heads/master
2021-07-24T12:37:41.935302
2021-03-10T09:05:05
2021-03-10T09:05:05
91,927,321
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
class dllist: def __init__(self): self._list = [] self._fp = 0 self._bp = 0 def insert(self, x): self._list.append(x) self._fp += 1 def delete(self, x): t = self._list[::-1] if x in t[:-self._bp]: self._list.remove(x) self._f...
[ "god4bid@hear.to" ]
god4bid@hear.to
03aea4efe7d08e5382591defb2dbff580c6377bb
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/net/data/verify_certificate_chain_unittest/generate-violates-basic-constraints-pathlen-0.py
3a5d481a89b5dd5ba56fe6f423bd03a657836f27
[ "BSD-3-Clause" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
Python
false
false
1,436
py
#!/usr/bin/python # Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Certificate chain with 2 intermediates. The first intermediate has a basic constraints path length of 0, so it is a violation for it...
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
c7d74506ceedf1c4fcd8480ab1c8299b361e1365
867d896646654ce73a3c74f9050cfaa6c217e416
/artists/migrations/0002_artist_name.py
a48937c1a44739c1110464615daac6e08073b94f
[]
no_license
june12mayank/django_songApp
03a57393d55ae3116f09341e5be7b2579f571b79
621b080ef46b2bef839596f22c82ebf42448cb4a
refs/heads/master
2021-06-12T18:49:51.791633
2020-04-09T13:31:14
2020-04-09T13:31:14
254,378,013
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 3.0.4 on 2020-04-09 13:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('artists', '0001_initial'), ] operations = [ migrations.AddField( model_name='artist', name='name', field...
[ "mayank@gmail.com" ]
mayank@gmail.com
80ad88512a5c3633a313166160bf6e2e7d4ec150
ac9b510bcc73d41646da53f7a12c3f15dab744bf
/python/docs/字符串.py
a59cf18bc9ba6c609800913bd16f689d7d9121cf
[]
no_license
txazo/txazodevelop
5eb73e12f8b2f2de58808a3c594d5e1724fbdbdf
c07eebf832b34172b807b9124bd5a81a390b1b05
refs/heads/master
2020-03-25T22:44:25.477523
2018-08-10T05:16:06
2018-08-10T05:16:06
29,594,975
1
0
null
null
null
null
UTF-8
Python
false
false
250
py
# -*- coding: utf-8 -*- # _上一次结果 # round四舍五入 round(2.556, 2) int(2.45) # 字符串 'HelloWorld' 'Hello\'World' 'Hello"World' "HelloWorld" "Hello\"World" "Hello'World" # 字符串复制 str1 = str2 # 字符串连接 str1 + str2
[ "784990655@qq.com" ]
784990655@qq.com
1c83cf1263f410553d38cd4ddb1093a11eba4902
0060dbac85e9d75e637be05458567ab1f8db2575
/npuctf20_easyheap/exp.py
4b1b34f1f2518f0401187fa4f5dde1b54dece94b
[]
no_license
qianniaoge/pwn_repository
439ed53a414f980b8512e5a695f9c1f6d189c4c4
e64233d6d7fae779e84eb3b97406db3caf4113d4
refs/heads/master
2023-04-09T10:17:41.963127
2021-04-21T06:18:39
2021-04-21T06:18:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
from pwn import * #io=process('./npuctf_2020_easyheap') io=remote('node3.buuoj.cn',29742) ELF('npuctf_2020_easyheap') def add(size,data): io.recvuntil('choice :') io.sendline('1') io.recvuntil('only) :') io.sendline(str(size)) io.recvuntil('Content:') io.send(data) def free(idx): io.recvu...
[ "1789008436@qq.com" ]
1789008436@qq.com
049eb75e62841362770487683557d79545bb3828
9b1722fae2409e2e012ce0d42319f65952b0db44
/conversion.py
eb8b69244e493b97b4ba2a0f9b04a65e244baaa5
[]
no_license
udara28/SDRAM_Controller
a4fe1f7d52c9979b1b79e77848aa2b1ef8c95525
fee0b017d2dff3dc305e05f0ebd071a452ea814a
refs/heads/master
2021-01-10T02:02:51.906276
2016-01-15T15:08:01
2016-01-15T15:08:01
36,871,843
19
8
null
2016-01-15T15:08:01
2015-06-04T13:27:54
Python
UTF-8
Python
false
false
402
py
from clk_driver import clk_driver from sdram_cntl import * clk_i = Signal(bool(0)) rst_i = ResetSignal(0, active=1, async=True) clkDriver_Inst = clk_driver(clk_i) sd_intf_Inst = SdramIntf() host_intf_Inst = HostIntf() sdramCntl_Inst = sdram_cntl(clk_i, host_intf_Inst, sd_intf_Inst) toVerilog(sdram_cntl, clk_i, host...
[ "udara28@live.com" ]
udara28@live.com
90616c321f879403432a42062c139e96314421d0
6887688a8aa37717c0699c7d737e15de355ad0b5
/extract dataframe.py
20debf29cb6ba737ac43a150769c4eb0718eb950
[]
no_license
nuramiramansor/wqd180094_datamining
dfe57208c83f11109cda692bd886d67103a21878
c98378b72f7ea60d19f7339db777786e938464b4
refs/heads/master
2020-05-30T15:02:28.894964
2019-06-02T05:59:31
2019-06-02T05:59:31
189,809,479
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
""" This code extracts a time-series (Pandas dataframe) from the_star_data.csv. The resulting dataframe will be stored in `all_df` variable. It lists the last prices for 1200+ companies sorted by the update time """ # ## Importing Libraries # In[120]: import pandas as pd import numpy as np import warnings from matpl...
[ "noreply@github.com" ]
noreply@github.com
e23b16ab111fbaf9c461df611408f424da327b87
3b1053ea38fee9a59d335dd75bb6a6906d298594
/tests/history/test_db.py
b89ddb4fc414fd676c723f8f83aff718c8588661
[ "MIT" ]
permissive
tianshengsui/virtool
8c59bb36c7e2924586be34fabc6b861e16691b7d
eb75637eb6ca9dcba647ad8acad5d316877dd55e
refs/heads/master
2023-04-19T16:36:54.894894
2021-04-23T19:09:33
2021-04-23T19:09:33
295,793,679
0
0
MIT
2020-09-30T23:53:54
2020-09-15T16:55:59
null
UTF-8
Python
false
false
4,959
py
import datetime from aiohttp.test_utils import make_mocked_coro import pytest import virtool.history.db class TestAdd: async def test(self, snapshot, dbi, static_time, test_otu_edit, test_change): app = { "db": dbi, "settings": { "data_path": "/foo/bar" ...
[ "igboyes@gmail.com" ]
igboyes@gmail.com
ccac95bf04a0125303882b04c95351edd0aee17f
a1bfc18460a423b0b7907b1fa51cec59d4f65cde
/apps/main/migrations/0009_attendance_name_event.py
017f90f1fb23f2ef4dc2c1876141211e512d3fc7
[]
no_license
longphun1/python_hangout_app
f212c897d8f1ff30ba2c513d83c4883b221e6a1c
a23066b94dd32152d19610f6a8cc00d4fcc23007
refs/heads/master
2023-04-21T21:08:05.097229
2021-05-19T23:27:58
2021-05-19T23:27:58
369,021,339
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
# Generated by Django 3.1.5 on 2021-05-14 02:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0008_attendance'), ] operations = [ migrations.AddField( model_name='attendance', ...
[ "longphun90@yahoo.com" ]
longphun90@yahoo.com