blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ce3a72884799fcfbb6b12ca458cc2c63fc7ba3c0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03556/s017006854.py
cf4f61bfaa4d7ae384a0da06d7afd45991633e75
[]
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
110
py
import numpy as np for i in range(int(input()), 0, -1): if np.sqrt(i) == int(np.sqrt(i)): print(i) exit()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
04c8ad9e3ea5ed64306e0f7feabe78aa34e0b4ea
3f6d1ec52c10940633eb607b3104e75176898b2b
/Airport_map.py
af9dfa050a316d515974ccfea2cd3108460e71af
[]
no_license
beast252/Geopy_Project
6c03b1c81c2e7d0d2f357d5327119d1da8ec42d2
6a23d2c6f1476ced807f15539e747d6e047e509b
refs/heads/master
2022-11-28T20:23:57.438172
2020-08-08T20:44:46
2020-08-08T20:44:46
286,115,898
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
import folium,pandas data=pandas.read_excel(r"practice\MAP with Marker\Airports.xlsx",sheet_name=0) lat=list(data["LAT"]) lon=list(data["LON"]) name=list(data["name"]) elev=list(data["ELE"]) def gc(e=None): if e>2000: return "orange" elif 1000<e<=2000: return "Yellow" else: return "b...
[ "shahbaz252@gmail.com" ]
shahbaz252@gmail.com
0969f8421d8877931927f4fab53993da94758d03
8d32afa3803069b31f6561f4886d8bf687364e19
/create_test_data.py
323c2efc698ed68737a35bb655da7ab8b48a27e0
[]
no_license
kajiczech/SaR-backend
451ac01cf16d705ea38614a47a359b6c7aea051f
b62480c1daa61c4087323866f9b3bc870b4129a7
refs/heads/master
2022-01-23T10:56:54.706001
2019-12-03T13:16:25
2019-12-03T13:16:25
225,622,604
0
0
null
2022-01-06T22:40:04
2019-12-03T13:08:17
Python
UTF-8
Python
false
false
46,645
py
import django django.setup() from backend.apps.sar.models import * from backend.core.models import * import random import time random.seed(0) ids = [ 'b830071a-58e3-447f-a607-176e4ab2eff8', 'f0de5508-4fae-43bd-98e6-f064070ac307', '1957f63a-35f8-4dc7-91da-03b426e356ac', '719f3c79-dce7-4431-bde1-40b7bc...
[ "carl.cech@gmail.com" ]
carl.cech@gmail.com
62d1b2a127ef9cc87d40de2eff760aa05ff0559e
4d7afda5dcbcdf22cbd7212bb6e5f79a8073ba3f
/practice/settings.py
6d9d1034331af03ce79ebe8ebe1543120c9a5a26
[]
no_license
stolinski/practice_sess
95dc7af873cae852cd3240598da97b1ae4b94f3f
30a810a9c29f318b3295d0f84062e21610a6f39a
refs/heads/master
2016-09-06T04:07:02.528169
2012-10-31T23:44:53
2012-10-31T23:44:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,267
py
# Django settings for practice project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'bboys...
[ "scott.tolinski@gmail.com" ]
scott.tolinski@gmail.com
8413844a28afe2e1589c5c5a219518c048519b5d
9e766ca6529d06d9863b3ecca91efd8a41b6729e
/packages/ml-api/api/config.py
19c981460c22ac6030912867f16256c4a9028eeb
[]
no_license
workbench-a/market-analysis-api
51dcdcda821ba993e2363427a8096f816e8f3953
f2df0fb532e8dd36f3ed7443393261a86ca92bde
refs/heads/main
2023-02-23T19:12:30.961691
2021-02-02T18:55:31
2021-02-02T18:55:31
335,311,617
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
import os import pathlib PACKAGE_ROOT = pathlib.Path(__file__).resolve().parent.parent UPLOAD_FOLDER = PACKAGE_ROOT / 'uploads' class Config: DEBUG = False TESTING = False CSRF_ENABLED = True SECRET_KEY = 'change-this-not-so-super-secure-key' SERVER_PORT = 5000 UPLOAD_FOLDER = UPLOAD_FOLDER c...
[ "covidtutoring@gmail.com" ]
covidtutoring@gmail.com
318d389b6772abd1e5773d73bf64ff401cfbfb8d
28f088b5356e66780c4bad204564bff92f910f02
/src/python/pants/backend/docker/subsystems/dockerfile_parser_test.py
533f9646fc8c9d82356bf8538864bf6be0332c24
[ "Apache-2.0" ]
permissive
wonlay/pants
57dcd99f82cdb2e37fcb7c563ec2bccf797ee7b7
53c66503b6898e83c9c9596e56cde5ad9ed6a0d3
refs/heads/master
2023-03-06T03:23:08.602817
2022-05-05T23:41:32
2022-05-05T23:41:32
24,695,709
0
0
Apache-2.0
2023-03-01T11:59:58
2014-10-01T21:15:29
Python
UTF-8
Python
false
false
6,330
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations from textwrap import dedent import pytest from pants.backend.docker.subsystems.dockerfile_parser import DockerfileInfo, DockerfileInfoRequest from pant...
[ "noreply@github.com" ]
wonlay.noreply@github.com
4861b022ba2c6aae45177eb2e777c633e7b9a4e0
98551d9622d78a5446e9b85e10059f83983d4c0f
/perspective transformation/perspective_transformation.py
6ec8a28cc6a52738e8dbc80a79c39f6a55b48ee9
[ "MIT" ]
permissive
magnusoy/OpenCV-Python-Applications
ab80f9f707c7822d3a57d4d4203af152e59f46f0
b6e41564d6b8007194c57c99469759a334959a76
refs/heads/master
2020-06-21T07:52:04.414887
2019-07-17T13:31:05
2019-07-17T13:31:05
197,387,597
5
0
null
null
null
null
UTF-8
Python
false
false
781
py
import cv2 import numpy as np cap = cv2.VideoCapture(0) while True: _, frame = cap.read() cv2.circle(frame, (155, 120), 5, (0, 0, 255), -1) cv2.circle(frame, (480, 120), 5, (0, 0, 255), -1) cv2.circle(frame, (20, 475), 5, (0, 0, 255), -1) cv2.circle(frame, (620, 475), 5, (0, 0, 255)...
[ "noreply@github.com" ]
magnusoy.noreply@github.com
91f4fe915c35a7d755de669738daffdb63acb242
b1beb0b3d2d118c55659ccccfa5fe0268ca2ddcd
/embeh_UI_01/__main__.py
748bda401de9eb0c7ae2f918a8eec4d8e73e79b5
[]
no_license
EmCeBeh/sxrLabUI
f26244fd9478911e69638c07c4656434dfbd9f38
0a304eb0f6fbe1a41aca8d707901d1f98d2f1aab
refs/heads/master
2022-12-09T05:04:27.799398
2020-09-18T18:54:27
2020-09-18T18:54:27
296,705,544
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
""" A simple example that shows how to use the SVG synoptic widget in a stand alone application. """ import os from taurus.external.qt import Qt from taurus.qt.qtgui.panel import TaurusDevicePanel from svgsynoptic2.taurussynopticwidget import TaurusSynopticWidget class ExampleSynopticWidget(TaurusSynopticWidget): ...
[ "schick@mbi-berlin.de" ]
schick@mbi-berlin.de
0c70a883a0eef7f982351d2e7f5e8f7c566259bd
ba0b29fd99a3b6ca636c3929acde810735d5e960
/main1.py
ebdd17b22ebaa1c081c7acd03729cfab0ad80714
[]
no_license
dlarson314/gis_covid
e09e925c6b8b19f747ad3d6472c6b8e4de2cad4b
30ecf00b2423f2d7527d855f2e646041497f9a81
refs/heads/master
2023-02-07T17:24:05.416727
2021-01-01T03:08:41
2021-01-01T03:08:41
297,813,975
0
0
null
null
null
null
UTF-8
Python
false
false
8,342
py
import copy import random import csv from attrdict import AttrDict import numpy as np import matplotlib.pyplot as mpl import rasterio.features import geopandas as gpd import pandas import pixel as pix import png16 def investigate1(): filename = 'cb_2018_us_county_500k/cb_2018_us_county_500k.shp' data = gpd.read...
[ "dlarson314@users.noreply.github.com" ]
dlarson314@users.noreply.github.com
3ebefbc9b60ad81934e28f13f29921c1cfa7800e
01db9c9cdf94b694336f246cfde17fb68ee868dc
/lib/python2.7/site-packages/ZEO/zrpc/client.py
6be2ec1c1d551f8f8afe0e9790c982b95a32d890
[]
no_license
kislovm/findburo
6f15e69eb7774ecae2afd9f3d686fe27f4324f2c
7d9a9ea23919c5fe21b694caf77943c7e6b26c57
refs/heads/master
2021-01-20T06:56:48.888578
2013-03-23T17:16:01
2013-03-23T17:16:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,315
py
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # TH...
[ "bibi@ubuntu.(none)" ]
bibi@ubuntu.(none)
7d937f395ab5b78ac753c8814a1cb7c979b2eba4
597c131703a649716c0c0dbc37b78bd2cf08a936
/insurance/models.py
dcb6c604312f41f561812de2fc0cf3cc02c83f36
[]
no_license
knowledgecomputer2018/democrance
c74ec485e14261e548311940f22deccb9adace81
f19542f7a2f58024b9260ef08014282660e38b55
refs/heads/master
2023-09-01T22:03:19.348201
2021-10-21T09:56:40
2021-10-21T09:56:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,488
py
from django.conf import settings from django.db import models from django.dispatch import receiver from django.utils.translation import gettext_lazy as _ class Policy(models.Model): class PolicyTypes(models.IntegerChoices): personal_accident = 1, 'personal-accident' earthquake = 2 class State...
[ "seyed_50005@yahoo.com" ]
seyed_50005@yahoo.com
8fa09a09949d2e27f5072dec8771473a7d3045b5
5095200e9ca55cd3a37af34ed44448c02e2a1bb5
/modules/image/text_to_image/disco_diffusion_clip_rn50/resize_right/resize_right.py
4f6cb94a8ee1bed552a40083c83b3bf1d0f1eb87
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleHub
8712603ef486c45e83eb0bc5725b0b3ed3ddbbde
b402610a6f0b382a978e82473b541ea1fc6cf09a
refs/heads/develop
2023-07-24T06:03:13.172978
2023-03-28T11:49:55
2023-03-28T11:49:55
162,672,577
12,914
2,239
Apache-2.0
2023-07-06T21:38:19
2018-12-21T06:00:48
Python
UTF-8
Python
false
false
18,318
py
import warnings from fractions import Fraction from math import ceil from typing import Tuple import disco_diffusion_clip_rn50.resize_right.interp_methods as interp_methods class NoneClass: pass try: import paddle from paddle import nn nnModuleWrapped = nn.Layer except ImportError: warnings.war...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
febb703cae34fee61ca6cbe20df40e873d4c3d2c
66e9753c5d0526b0dbde61e1a207a98293fc7e84
/project3/minor/admin.py
958bde426c78a066adb183ed6dd921bf835915c0
[]
no_license
Trilokesh-Singh/Project-Approval
f68d928985f964f05ace129e531fe5d8a7d16b16
04715882bac314d1833ebbc6b9f436faf9ef5735
refs/heads/master
2023-03-31T07:19:26.826288
2021-03-29T08:33:11
2021-03-29T08:33:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
from django.contrib import admin # Register your models here. from .models import FacultyInfo, GroupInfo, Project, HeadOfDepartment, ClassCoordinator admin.site.register(FacultyInfo) admin.site.register(GroupInfo) admin.site.register(Project) admin.site.register(HeadOfDepartment) admin.site.register(ClassCoordinator)...
[ "msdvksrt007@gmail.com" ]
msdvksrt007@gmail.com
2236649aee2cff0e02d780b9a351ed862846cf88
0be7b93ac62743e9bdc6687bf1bb80f6eea58337
/main.py
fcca7d81f056b3304d238bfc26cb4e6c25fd1efd
[]
no_license
darinabzhinaeva/Robinhood_Project
75b78f94496bba4c504568e289468ac75a10e394
2bba8ce288c656a5fe96918556d515b37d955598
refs/heads/master
2020-08-26T18:07:52.547053
2019-10-23T17:25:05
2019-10-23T17:25:05
217,098,493
2
0
null
null
null
null
UTF-8
Python
false
false
327
py
import pandas as pd data=pd.read_csv('features_data.csv') data.info() data.describe() import numpy as np t = np.linspace(-6,6,21) sin_t =np.sin(t) cos_t=np.cos(t) numbers = pd.DataFrame({'t':t, 'sin':sin_t,'cos':cos_t}) print(numbers) print(numbers.shape) print(numbers.columns) print(data.columns) print(numbers['t'][...
[ "55949653+darinabzhinaeva@users.noreply.github.com" ]
55949653+darinabzhinaeva@users.noreply.github.com
e19f82bc501e847274acf50288bdcf61833f9a97
14b091f7401270c6013b23a1ee7b0171a671f4d4
/analysis/plot.py
80932e32c577eea8fae9bc71349193d09f80b1de
[]
no_license
kahartma/convvisual
ba54da08c97632af2c4db46357b023801818b5b8
38f863fc62f1b0fa3c2939ec5392701216270a2a
refs/heads/master
2021-01-13T13:58:32.110719
2017-05-17T23:36:19
2017-05-17T23:36:19
72,898,677
2
0
null
null
null
null
UTF-8
Python
false
false
3,972
py
import numpy as np from matplotlib import pyplot as plt import seaborn as sns def plot_max_filters(RF_Result): print 'Max filters: ',RF_Result.max_filters sns.heatmap(np.reshape(RF_Result.filters_means,(-1,1)).T, linewidths=.5) plt.xlabel('Filter #') plt.ylabel('Activation Diff') pl...
[ "hartmank@informatik.uni-freiburg.de" ]
hartmank@informatik.uni-freiburg.de
d8e667d947929f1eb27bf723f37981f6217dc494
9a6ebf960918d435329b80c3a408f52ed61a3794
/tkinter buttons disappear.py
c541bb2f1ea88e1a3f77daeb3c5cbc76420ba403
[]
no_license
AaronDweck/all-Python-folders
88df40491ca9cecd62957443e9f496c85b1c3e24
6f6eb8196f808c49474cc03996669453a0d708b9
refs/heads/master
2020-06-17T18:06:26.374103
2019-07-09T13:04:09
2019-07-09T13:04:09
196,002,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
from tkinter import * import tkinter #Parent Window Setup GoodChefWindow = Tk() GoodChefWindow.title("Welcome To GoodChef") GoodChefWindow.geometry("600x500") #Pickup and Delivery buttons def Delivery_Clicked(): Delivery=Tk() Delivery.title("Delivery Options") Delivery.geometry("400x333") Remove_Button...
[ "aarondwewck24@gmail.com" ]
aarondwewck24@gmail.com
e639966db87114852688431ee0406dfc09f5c642
5554c4f868d2ffb8a32b09e0f3d909f766863e8f
/compare.py
72d94a499b60d62cb7ba1c0a585210ba7f11898c
[]
no_license
dappershark/Python
23653f28b06d21b5ce205695fabfae253fc88162
dc7a09530a857689306fdc3110a07ac6c530a181
refs/heads/master
2021-04-30T06:32:14.332314
2018-02-13T22:57:09
2018-02-13T22:57:09
121,446,347
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
list_one = ['celery','carrots','bread','milk'] list_two = ['celery','carrots','bread','cream'] if cmp(list_one, list_two) == 0: print "they are identical" else: print "they are different"
[ "jkraut23@gmail.com" ]
jkraut23@gmail.com
8348c1ef6bf74078986bbe932cf0607094123add
f7f58aa4ea9ec78b20532971ddebe1e3d985dc23
/practica11/demo/apps/home/migrations/0001_initial.py
8e2f4d3cff30b21377b2d4c6bd257cf6e022d8e4
[]
no_license
guille1194/Django-Practices
10b9ff4817d41cb086e198c07bb82aee201fb049
738cbfdd4a12089d93cd68a0cde8653c490e7fd9
refs/heads/master
2021-03-08T19:30:11.229921
2016-05-23T05:38:53
2016-05-23T05:38:53
59,388,217
0
0
null
null
null
null
UTF-8
Python
false
false
4,806
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 ...
[ "guille1194@gmail.com" ]
guille1194@gmail.com
86155a349290cf6c917a884c9dc491913f343890
d7e29a6a1cb9fbe7f4f2eeab61835843f3e6cfe5
/colocalization/coloc/middle_of_transcript_ensembl.py
48ec548adf275a8308f8d063a8cab093b5a14f89
[]
no_license
MRCIEU/eczema_gwas_fu
a8b6dc9d213b13d89a5074d8470823181854a694
9c56ad47a827cd406002c1b00794e44a36442771
refs/heads/master
2022-04-26T18:17:41.315147
2020-04-29T13:29:30
2020-04-29T13:29:30
255,891,011
2
0
null
2020-04-15T11:07:07
2020-04-15T11:07:06
null
UTF-8
Python
false
false
938
py
#! /usr/bin/env python import os, sys, re, gzip from sys import argv #Generate a file with gene names and the middle of their transcript tabulated based on GTF. script, my_gtf = argv processed = {} with open (my_gtf) as proces_h: for line in proces_h: if line.startswith("#"): pass else: line...
[ "noreply@github.com" ]
MRCIEU.noreply@github.com
86badd0a7cf59be817815d2369a1c51919e6223b
301757c4a64ad3184f83fee54638e6bc62f2e9bf
/urjtag_vjtag/altera_jtag.py
d121520e1bf58f983bbc9acb53816b7362a93b3d
[]
no_license
burt0927/ep2c5_vjtag
d0b81c0b91f8f2cbc7df2ca8abce4d8b156dcf30
32072889b0959c6ca6150eb613c188e7378c6e2d
refs/heads/master
2021-06-17T13:37:08.520843
2017-04-25T05:17:48
2017-04-25T05:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,884
py
#!/usr/bin/python # This is the code demonstrating the enumeration of # the SLD_NODEs (Virtual JTAG instances) # connected to the SLD hub in Altera FPGA # This PUBLIC DOMAIN code, written by Wojciech M. Zabolotny # wzab<at>ise.pw.edu.pl 27.05.2009 is written basing # on information provided by Altera in the "Virtual J...
[ "tom_verbeure@yahoo.com" ]
tom_verbeure@yahoo.com
c56475f999209ddcc5acd67b98181bebce6941ba
7a5dd0ba809a554fe60c8cbc5889702e58734832
/app/__init__.py
24b31b04d2fd9844664b763c14389799455ce171
[]
no_license
HXhlx/Flask-SQLAlchemy-Pandas
52728f732f4f8f054d7e6f5b0fac2da32bc5bb15
8874028e1b75ff8f75f08baacfc12ddcd54f3550
refs/heads/master
2023-02-26T11:41:42.192799
2021-02-06T03:52:17
2021-02-06T03:52:17
336,449,700
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
from flask import Flask from app.auth import auth from app.home import home from app.models import db app = Flask(__name__) # app.config['SQLALCHEMY_DATABASE_URI'] = 'mssql+pyodbc://@localhost/Demo?driver=ODBC Driver 17 for SQL Server;Trusted_Connection=yes' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///Demo.db'...
[ "1367557521@qq.com" ]
1367557521@qq.com
35c3ec42b0bed2b22113637433c0ccd79369c7e1
b08b5932c92824b592ac15e73fdffc79a7da18f3
/cauldron/cli/sync/comm.py
c66d111478c4100ba8854e7e5bc701845c5a0ee9
[ "MIT" ]
permissive
mlund01/cauldron
1de7426484d429703382c068c9704929e6c25bad
9a51cad2e5d528727151e9b60fd5be6a37b70273
refs/heads/master
2021-07-10T20:35:14.376399
2017-09-30T13:53:31
2017-09-30T13:53:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,019
py
import requests from requests import Response as HttpResponse from cauldron import environ def assemble_url( endpoint: str, remote_connection: 'environ.RemoteConnection' = None ) -> str: """ Assembles a fully-resolved remote connection URL from the given endpoint and remote_connection stru...
[ "swernst@gmail.com" ]
swernst@gmail.com
d55d4368aace6d6c12536f997588091edc6c3620
34954d498ed6ec0f74e4fe43d0ab85aa2220179b
/clientes/models.py
6a1394a245387920de866676519ec3509ae8e325
[]
no_license
spektion/ABD_trab
b4985247250982aa0799bce3d0eda601cbdb6f0f
7fb84c6763f6ccff12999165b88646fe1b041421
refs/heads/master
2021-01-10T03:44:25.624753
2015-05-19T21:48:56
2015-05-19T21:48:56
35,971,490
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
from django.db import models as md class cliente(md.Model): """docstring for cliente""" nome = md.CharField(max_length=100, unique=True) cod_cliente = md.AutoField(primary_key=True) class categoria(md.Model): """docstring for categoria""" cliente = md.ForeignKey(cliente, verbose_name="the relate...
[ "vitor.filipe@me.com" ]
vitor.filipe@me.com
93244d8cdbb0be2c26bfa3f0d77093b711a94f3b
de986f16972961477a31451418e94c9ca11df8e1
/balanceproject/balanceproj/balanceproj/asgi.py
289c7dde03303dadb9bd8b3e18fc9e949d66236e
[]
no_license
ysheokorea/5.balanceAPP-project
c55e39401f8ce5b452786f0f265fd4b201b59f33
bda3cf57a9d7c85b77be4bb3518d63430777e83f
refs/heads/main
2023-08-21T23:40:09.192902
2021-10-13T08:52:02
2021-10-13T08:52:02
416,646,253
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for balanceproj project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "ys.heo.korea@gmail.com" ]
ys.heo.korea@gmail.com
2fe6904da2931f0c0af9091b946ef4de9424f574
377ec156e459f70ad32e625de2dde2672736dd06
/Exercises/CorePythonExercises/ForMathModel.py
527020f502bff6dbe72d50c9e9bb9988e7b05e69
[]
no_license
tsonglew/learn-python
b657cc34d3e27993ec0dcce152796bea43224d4f
edbf0b5d24bf0e2d9ad7aa5811c7d3aa0a66b57c
refs/heads/master
2021-06-13T13:46:35.199562
2017-04-14T16:57:38
2017-04-14T16:57:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,273
py
# -*- coding: utf-8 -*- """ 例1 混合泳接力队的选拔 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5名候选人的百米成绩 甲 乙 丙 丁 戊 蝶泳 1'06"8 57"2 1'18" 1'10" 1'07"4 仰泳 1'15"6 1'06" 1'07"8 1'14"2 1'11" 蛙泳 1'27" 1'06"4 1'24"6 1'09"6 1'23"8 自由泳 5...
[ "417879751@qq.com" ]
417879751@qq.com
2f2580af3e6b347cac1c59f041da72e745bea421
8fe440deb4eb66d2fcb222a7c43680dc516394c1
/src/api/bkuser_core/categories/utils.py
ce77a59d4005ae077ec7e093e24c60a0a708802c
[ "MIT" ]
permissive
robert871126/bk-user
780e163db76a8a997ed94a1a83389fa4f81ad6a4
8c633e0a3821beb839ed120c4514c5733e675862
refs/heads/master
2023-08-20T11:05:46.317044
2021-10-22T08:44:06
2021-10-22T08:44:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-用户管理(Bk-User) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the Lic...
[ "bluesedenyu@gmail.com" ]
bluesedenyu@gmail.com
04086738229dd2d39969d03303f668318e6dedf0
2e83e004d8a69a773d1e305152edd16e4ea35ed8
/students/will_chang/lesson02/series.py
e6cf9c4ec58a4163c2c020e3259d4d2d3de9c856
[]
no_license
UWPCE-PythonCert-ClassRepos/SP_Online_PY210
9b170efbab5efedaba8cf541e8fc42c5c8c0934d
76224d0fb871d0bf0b838f3fccf01022edd70f82
refs/heads/master
2021-06-16T20:14:29.754453
2021-02-25T23:03:19
2021-02-25T23:03:19
161,077,720
19
182
null
2021-02-25T23:03:19
2018-12-09T20:18:25
Python
UTF-8
Python
false
false
4,560
py
def fibonnaci(n): """Runs recursive function to define the fibonnaci sequence: fibonnaci(n) = fibonnaci(n-2) + fibonnaci(n-1). fibonnaci(0) = 0, index zero of the fibonacci sequence. fibonnaci(1) = 1, index one of the fibonnaci sequence. Input n will return the value of index n of the fibonnaci ...
[ "williamchang6@gmail.com" ]
williamchang6@gmail.com
e446b4b4c3699733ad5922d435466930f6cfb35b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02573/s534378621.py
53efd867886d93f3b9f58471c95fd08487dbc066
[]
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
976
py
# import sys # input = sys.stdin.readline() n,m = map(int, input().split()) ab = [] for i in range(m): a,b = map(int, input().split()) ab.append([a,b]) class UnionFind: def __init__(self,N): self.parent = [i for i in range(N)] self._size = [1] * N self.count = 0 def root(self,a): if self.parent...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eed6251d219f84cbb1bbb2049424245e68263414
612325535126eaddebc230d8c27af095c8e5cc2f
/src/base/android/linker/DEPS
b38742d81718aa1491256df59b9fed46f23acb58
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
include_rules = [ # This code cannot depend on anything from base/ "-base", ]
[ "2100639007@qq.com" ]
2100639007@qq.com
ee2bac294d8c3a3d04f7cdffc0aefa46ab6b56d5
4167617c8593ef1c8a0f5a2074bf98d12bad26a8
/nmt/attention_model.py
39e3db49358693813721470329f023a8a953ddf9
[]
no_license
jiexiao111/hexo_jiexiao
d9a0cfb0dd97196a1c535a1e3cdcd016d0b8b78f
0672b0b98949029694fa7e233407571b6fc7ee56
refs/heads/master
2022-02-16T17:00:51.428262
2019-08-03T08:05:12
2019-08-03T08:05:12
103,015,899
2
0
null
null
null
null
UTF-8
Python
false
false
81
py
# coding=utf-8 from . import model class AttentionModel(model.Model): pass
[ "j00295211@notesmail.huawei.com" ]
j00295211@notesmail.huawei.com
5d4727d556a9dce18bf74b59babe37e24c529207
d3a06f50cb6c6e0cbb76b838a67d8cf78d224553
/doodledashboard/datafeeds/open_weather.py
3dd97442c4e459d23cf5229bedff96b9a8fd55cb
[ "MIT" ]
permissive
SketchingDev/Doodle-Dashboard
0e7d3c2f677ab29da569f7cf95663c99729ce696
28ed478d8927b8e71db48a521493919a9c0b5797
refs/heads/master
2021-06-04T08:49:52.081807
2020-02-11T13:00:37
2020-02-11T13:00:37
108,029,959
1
2
MIT
2020-02-10T08:26:05
2017-10-23T19:33:52
Python
UTF-8
Python
false
false
2,982
py
import pyowm from doodledashboard.component import MissingRequiredOptionException, DataFeedCreator from doodledashboard.datafeeds.datafeed import DataFeed, Message from doodledashboard.secrets_store import SecretNotFound class GeoLocationOption: def __init__(self, latitude, longitude): self._latitude = l...
[ "noreply@github.com" ]
SketchingDev.noreply@github.com
2b22b889d023fad6225e2543fe07804bff86e243
48729481fda3cfdcacb9ee53795796f870ea4527
/tests/samples/with_config/handlers.py
5ab17efb6b9abc1cac6e84d0b91d602f299fa805
[ "MIT" ]
permissive
attakei-sandbox/ananta
2ae1bb4c6b4e16cae2a98cef6953683ec6b5e072
31ad4be1010821a532a3ca7d4911b0e02b3aefbe
refs/heads/master
2021-05-31T15:54:28.761319
2016-02-01T13:22:27
2016-02-01T13:22:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
# -*- coding:utf8 -*- """ """ from ananta import lambda_config @lambda_config(FunctionName='test_1') def test_funcs(event, context): return {}
[ "attakei@gmail.com" ]
attakei@gmail.com
d5ced2623ec8aca35deef0f512b8d0d8cc41e6db
3ae1422b3fea2cf95b70534bd620522e4ea05296
/thumbsup_detection/detection_images.py
06690986b132574dc37cdb6a27218ee20b9a9f4a
[]
no_license
matheus220/object_detection
412474f75b781bbf728216754fbaec92d67540b4
615f6bdce9ef73115d3658b72be24c89f706f4c6
refs/heads/master
2020-05-25T03:40:31.429761
2019-05-21T12:22:44
2019-05-21T12:22:44
187,601,497
0
0
null
null
null
null
UTF-8
Python
false
false
4,365
py
import numpy as np import os import glob import six.moves.urllib as urllib import sys import tarfile import tensorflow as tf import zipfile import cv2 import time from collections import defaultdict from io import StringIO from matplotlib import pyplot as plt from PIL import Image from utils import label_map_util from...
[ "matheus.220@hotmail.com" ]
matheus.220@hotmail.com
1f8ebfb96e2da682a5d5d4c9ea89ca77a91743ec
9d5c2a7c05602d478fe0981f910dbf0b7bb2abf0
/devel/lib/python2.7/dist-packages/eband_local_planner/cfg/EBandPlannerConfig.py
56a3c5c1177f4d9ff58882f58bc5e547efeaa7c1
[]
no_license
baidu31/catkin_wp
f440fcbf70cefe43e735bcc322fd3f6cb849aa54
5cf0f5e3d4c1346835bb56f7903798c7c7f242d9
refs/heads/master
2021-09-09T23:59:53.030955
2018-03-20T08:59:12
2018-03-20T08:59:12
125,989,066
1
0
null
null
null
null
UTF-8
Python
false
false
14,344
py
## ********************************************************* ## ## File autogenerated for the eband_local_planner package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float...
[ "934962995@qq.com" ]
934962995@qq.com
595213f07c855d2291f61d36527c21e93733f11d
cb130d20bc690679e228e5d5d79c2bb3eac8cc2d
/Record/PlayWav.py
5f0f0e86e2de62cdbf47a76b5a518b0f34cd1a3c
[]
no_license
hafoxiaowanzi/AudioTest
08a440a54665c02d8f5d786ebb7bd524461cdb3d
53254e7e03f69134d1e0a13905c1443baf670068
refs/heads/master
2020-05-21T06:07:55.661115
2019-05-16T11:11:10
2019-05-16T11:11:10
185,919,987
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2019/5/9 17:40 # @Author : wanxin # @File : PlayWav.py # @Software: PyCharm import pyaudio import wave import config.RecordConfig as config # 定义数据流块 CHUNK = 1024 # 只读方式打开wav文件 wf = wave.open(config.WAVE_OUTPUT_FILENAME, 'rb')#(sys.argv[1], 'rb') p = pyaudio...
[ "wangwanxin123@163.com" ]
wangwanxin123@163.com
0c3da8caa97d18e39b6ed16eb0ebda577c7fd86d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03779/s602875516.py
150fe00d7563cd71c275ea0eeaaf1a0809dbd342
[]
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
119
py
x=int(input()) t=0 jump=0 for i in range(1,10**9): t+=1 jump+=i if jump>=x: print(t) exit()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
486e2af68ca7a7423f4cda9ef67747e8e9c78a43
22af2a76d1b1d1e478dcc75ec8e844ccdc73ceea
/01 file handling.py
a1fd0f6bdfdb12fded1f99e28a533c74e545e4a8
[]
no_license
afsalmpm/pythonProject
5699daac90d8a24776416bd5fe1b19a7473d14e3
18287b62b0abe7156bfeceb1fa2d9d0c88a7514c
refs/heads/master
2023-05-05T20:11:39.828410
2021-05-19T15:03:28
2021-05-19T15:03:28
367,999,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
file_path = "C:\\Users\\dell\\Desktop\\" file_name = "test for file handling" try: with open(f"{file_path}{file_name}.txt", "x") as file: # 'x' as keyword argument to create a new file file.write(f"{file_path}\n") except FileExistsError: with open(f"{file_path}{file_name}.txt", "a") as file: # 'r+' ...
[ "afsalmpm@gmai.com" ]
afsalmpm@gmai.com
bc63c91ba2b14d6188e57491cca088be67b939f1
73d0cc50d4849b43414f9043fb5fe68b04ac8bc1
/setup.py
60a929c924fd38675b37a2e6ea29cc66aa5dcc1d
[ "MIT" ]
permissive
xinhuang/nosql_versioning
9958e9a76c2c73615a254a901cd18583675f966f
7d0438cc735bf2a18431a512e4a366b53e0269df
refs/heads/master
2021-08-15T21:39:10.669294
2017-11-18T10:21:48
2017-11-18T10:21:48
103,007,023
1
0
null
null
null
null
UTF-8
Python
false
false
600
py
try: from setuptools import setup except ImportError: from distutils.core import setup import nosql_versioning with open("README.rst") as readme_file: readme_string = readme_file.read() setup( name="nosql_versioning", version=nosql_versioning.__version__, description="Python Library for NoSQL...
[ "xinhuang.abc@gmail.com" ]
xinhuang.abc@gmail.com
82a2cf90db27bfe505bc717258d375a62a07481b
a08047ff7297da03ca709397552d8755c299a8e3
/Python ETL/crmautomations/aut_otodompl_base_to_bd_deals.py
82ef7921e12173e8173e4a6f62a8139b7a068c1f
[]
no_license
Andre-Matias/crm_integration-1
c8573bddf489d3fe851fcbc463298500b1932588
63e500cab18731027a4acd2065d28ed92dcd137c
refs/heads/master
2020-03-30T02:01:59.762038
2018-09-27T09:23:54
2018-09-27T09:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,577
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import basecrm import boto from boto.s3.key import Key from munch import * import simplejson as json from decimal import * import os import sys import gzip from datetime import datetime, timedelta import requests import time import ps...
[ "33873731+Andre-Matias@users.noreply.github.com" ]
33873731+Andre-Matias@users.noreply.github.com
0dd3ea006ce517622956e362adcf0ebc3731ec12
de933e4b67568eae577b2655b0fb02a20615fa47
/temp/InitialTests.py
aec409204d16ab3726734c0f2eb4d3a74de09cf1
[]
no_license
crawfonw/NoFriendsNoProblem
f3a931a12d4dbe8386e45860d2d6d3267528c754
c3a9e9bf3ba619c044cc6465cc5807659396ffe8
refs/heads/master
2020-06-06T17:45:50.418361
2011-05-18T20:56:51
2011-05-18T20:56:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,799
py
import unittest class TestPlayer(unittest.TestCase): def setUp(self): self.player = Player() self.deck = Deck() self.player.hand = ["Ace of Hearts", "Ace of Spades", "Ace of Diamonds", "Ace of Clubs"] self.deck.cards = ["King of Hearts", "King of Spades", "King of Diamonds", "King...
[ "crawfonw@rose-hulman.edu" ]
crawfonw@rose-hulman.edu
86fefa2b8ab03bd0b5da27c59bffb678de90db6a
bb277808cc3a234d32f4e99909bf56fed2e6de9e
/masscommand
5b5668ca9091ca613daca693103f22354bcc3bbe
[ "MIT" ]
permissive
lucashooten/masscommand
10a9b3175e2b0ba910f19fe90cf7aeca98f0ec9a
af3fc5e5bfd6e3ce74d9e94b96fb3454ec08c0b0
refs/heads/master
2023-01-22T03:38:33.808536
2020-12-01T20:12:12
2020-12-01T20:12:12
299,393,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,482
#!/usr/bin/python3.6 # -*- coding: utf-8 -*- # author: Lucas M Hooten # date: 9/28/2020 """ Used to quickly execute a single command across all ansible-accessible servers, with choice to differentiate by box type. Requires password for sudoer/root user Requires updated Ansible hosts file """ import argparse, sys im...
[ "lucashooten@gmail.com" ]
lucashooten@gmail.com
30edc1049ebdd87194c77cac5fc618bf72cc2c9d
9183714a5a16c7624aa26dcbb1d8cb837921962a
/event/views/suggestions.py
be29d0db0f401daece02a04a7f563697d3857c6b
[]
no_license
jerinisready/arts-managemnet-system_CodingDOME
403a6cea0390f7fad0d609660edfe59b1e0564ce
8bb95b090c3f2afda8b8921f095bf6eb38c4dbe2
refs/heads/master
2023-08-12T16:42:33.843742
2021-09-14T09:12:25
2021-09-14T09:12:25
406,298,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,318
py
from django.contrib import messages from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from django.urls import reverse from django.utils.decorators import method_decorator from django.views.generic import ListView, CreateView, UpdateView, DeleteView, FormView from e...
[ "jerinisready@gmail.com" ]
jerinisready@gmail.com
c3d87d4b48e259ba2018fe18a5484a34badd12b0
b438bef0dc82e13dfbc3b7237a2752f0f24b58e1
/venv/Scripts/easy_install-3.7-script.py
3e1f9ae7b052f966db78c86c7e2aef8361fc915c
[]
no_license
shh2000/Django-study
34ff74d0949eda9a742b272a0de1b4eef369fadd
f3993bf6ed54f6378324464871fea56105506fc0
refs/heads/master
2020-05-29T22:40:58.408446
2019-05-30T13:01:20
2019-05-30T13:01:20
189,415,633
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
#!F:\django\Demo\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.arg...
[ "13820618441@163.com" ]
13820618441@163.com
89d0edaf593e0bf40dd48360468518654f4e3fef
dfc3d113015ba71756271adf746e4e6976a29ab7
/apps/general/migrations/0003_address.py
5360e9e105b2aadd195f680beea0be915902386c
[]
no_license
abinabraham/capitalshipping
169f9a7be71b53b2fd515906ecfb79a5119bdfb0
1ff1950c322ea1221a44e2ce141e1926e6c3169c
refs/heads/main
2023-05-31T09:57:47.865671
2021-06-18T08:02:25
2021-06-18T08:02:25
378,076,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
# Generated by Django 3.0.6 on 2020-05-31 05:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('general', '0002_footerourservice'), ] operations = [ migrations.CreateModel( name='Address', fields=[ ...
[ "abinabrahamcs@gmail.com" ]
abinabrahamcs@gmail.com
80e79baab11f02b85687eb92f1db1a6919a1937d
46ca4d6e345cf398cea19c2e356f82fc3088ef8a
/virtual/Emprestimo/solicitacao/migrations/0001_initial.py
978f53f894a9043e4d230935a5e82aaf692a642e
[]
no_license
helkias2/programacao_comercial
960fa95f7969b7b456dd42b8673dda701d40f4d9
19be650f85abf4d674f3d012b82cae2147a04095
refs/heads/master
2020-12-03T00:41:32.338643
2017-05-17T20:08:15
2017-05-17T20:08:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-05-17 02:55 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('livros...
[ "rosivania.r1@gmail.com" ]
rosivania.r1@gmail.com
e622a5485cad48692123eb7ad30d5e2f2df6678f
071557ee676ffe9f15d6e2edea109ceadb6675a6
/data/generator.py
1510db74878161d52ee03e4cb07d746c8dee8b68
[]
no_license
yixiang-wang-ny/QFinDataAnalysisToolKit
d0833c790542284f4c81b1847202daf5907bf8e2
e753b92fe0c1cb73606a6f37bf9c4256171f1404
refs/heads/main
2023-03-30T23:19:28.532766
2021-03-23T15:07:19
2021-03-23T15:07:19
343,226,501
0
0
null
null
null
null
UTF-8
Python
false
false
3,060
py
from abc import ABC import pandas as pd from data.field import Field from typing import Generator, Optional, List class DataContainer(object): def __init__( self, train_in: List[Field], train_out: List[Field], test_in: List[Field], test_out: List[Field], train_ts: Optional[List[Field]], t...
[ "yixiang.wang.ny@gmail.com" ]
yixiang.wang.ny@gmail.com
2fa8aa6468eb4c44f43841c7fa8ee11f4797be84
7f7eec96cada14a0be0da4ca53a6aad7d013c36c
/to_do_list/list/models.py
e2c54977129f3d12a6b485a9ec51c423cc80311a
[]
no_license
lsyff210/django
69da52c99496a90aa88c86d6a38db44a08ed3cfe
4f64c30a684d7ae058f6707061a2e4f171f9c769
refs/heads/master
2021-01-11T03:20:37.742069
2016-10-17T13:23:07
2016-10-17T13:23:07
71,047,029
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
from django.db import models # Create your models here. class todo_list(models.Model): thing = models.CharField(max_length=200, verbose_name="待做的事情") state = models.BooleanField(max_length=1, choices=((0, '待做'), (1, '完成'),), default=0)
[ "jll210@126.com" ]
jll210@126.com
8ca3f112dba2ddf412dc8ed04db02bafdb9be374
78b42a602bdabbf28321b267714f0b29e89a669e
/3-2.队列.py
1d5c1807ba1b3d50d86169ad3decc5bb6aaa2c1c
[]
no_license
michelleweii/DataStructure-Algorithms
3c95240b8ed48237f23ff97754d6cc15cadc94dd
84f5d6e2811f5e6c4578a5e0d381a86cbc414ce9
refs/heads/master
2020-03-29T13:07:06.910799
2018-11-29T12:57:57
2018-11-29T12:57:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
# 取元素的端叫做队头,添加元素的端叫做队尾 class Queue(object): """队列""" def __init__(self): self.__list = [] def enqueue(self,item): """往队列中添加一个item元素""" self.__list.append(item) def dequeue(self): """从队列头部删除一个元素""" return self.__list.pop(0) # 先进先出 def is_empty(self)...
[ "641052383@qq.com" ]
641052383@qq.com
53f6c4ac643303827080d632a3f8474a4881f7bd
c9215c6b42cea98c880f444fc8e2f6122274d0d7
/entity/interface.py
b045b3432fec7a26f783a50ceaf7d1fd81bb349a
[]
no_license
whatisnull/roboter
b842e69c4f7f1326edb275888c1596c9ae593127
5ff287d87beea35ef2700d31f278b3eff4bbbf9e
refs/heads/master
2020-03-26T07:35:35.437679
2018-09-26T08:03:13
2018-09-26T08:03:13
144,661,526
1
1
null
null
null
null
UTF-8
Python
false
false
1,623
py
# -*- coding: utf-8 -*- """ Created by Dr.W on 2018/5/17 """ import unittest from appium import webdriver from utils.enums import Model from utils.apk import ApkInfo def set_driver(device): desired_caps = {} apk_base = ApkInfo(apk_path=device.get('apk_path')) desired_caps['platformName']...
[ "wangwenfeng@zhisland.com" ]
wangwenfeng@zhisland.com
fc07e28592592465f34667c2510771d8580a76b1
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch19_2019_08_30_17_33_49_991320.py
255123fd942fa40a66a7196baefba809573f081f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import math g=9.8 def calcula_distancia_do_projetil (v,θ,y0): d==(v**2/2*g)*1+(1 +2*g*y0/(v)**2*(math.sin(θ)**2))**1/2 return d
[ "you@example.com" ]
you@example.com
74b4941d9add860a6c290432fd06aacac809608d
282dcb397491cca62b84da29efaef4d0eadd92c6
/study/消息队列/test_readxl.py
021830d6aa14da3db4a778c9b3123e9f2676f077
[]
no_license
chenkyxx/pyproject
864d58dc5ec72825a88d5ef41348f3a7120618e3
6343a3833b7c0adb4ee428173b9440b7a7c283ef
refs/heads/master
2020-05-25T05:05:19.489852
2019-05-28T13:48:52
2019-05-28T13:48:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
# coding:utf-8 import xlrd if __name__ == '__main__': # 打开文件 workbook = xlrd.open_workbook(r"C:\Users\Administrator\Desktop\1.xls") workbook2 = xlrd.open_workbook(r"C:\Users\Administrator\Desktop\2.xls") # 获取sheet sheet = workbook.sheet_names()[0] sheet1 = workbook.sheet_by_index(0) s...
[ "842202171@qq.com" ]
842202171@qq.com
6867b230de8fd93c33a07b6924df8b2af22c9210
e1199ee28e0030cf56656b4907c0423185d09998
/nixui/graphics/richtext.py
54f631acd19e3d74cd3cc57b7b439f743b5fbac5
[ "MIT" ]
permissive
lrdickson/nix-gui
a002f235552265acfdb698ff7cfb996b546d8de6
f66aa80faf0ae01f2d85b3167677e063703eb71a
refs/heads/master
2023-06-15T18:27:01.182907
2021-07-11T01:29:43
2021-07-11T01:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
import re from PyQt5 import QtWidgets, QtGui, QtCore from nixui.options import api class HTMLDelegate(QtWidgets.QStyledItemDelegate): def paint(self, painter, option, index): style = option.widget.style() doc = self._builddoc(option, index) option.text = "" style.drawControl(QtWi...
[ "andrew" ]
andrew
b79cf42ddcad2e2c8f14ff12b751d3cc9c4e62a1
0a505df4532e19594ab27f9067f5fa0f0fb12a43
/swagger_client/models/rep_target_post.py
fcaf6d5aeb90080a767b49956d6913b3d54ddf7d
[ "Apache-2.0" ]
permissive
FengyunPan2/python-harborclient
2992b1a607918c813e14664f8d7ee947f067f432
69a55fdb92855d5080232a6e77f3ec9899624071
refs/heads/master
2021-04-15T10:02:35.263863
2018-03-26T08:18:11
2018-03-26T08:18:11
126,795,585
0
0
null
null
null
null
UTF-8
Python
false
false
5,045
py
# coding: utf-8 """ Harbor API These APIs provide services for manipulating Harbor project. OpenAPI spec version: 0.3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class RepTargetPost(object): """ ...
[ "panfy@pfy.pfy.com" ]
panfy@pfy.pfy.com
f12cb2887878898e45a59c221e42a9c3602c08db
715322fe5d9a4becfd8d5b8de8858df6ec02c34b
/accountapp/views.py
729da2522fbf6f2c4de10911b3e28eead36e8bca
[]
no_license
caiyin0211/gis
00b07c13c0967ec80fc76d2aa0aee4a40b6b4856
cb5acd84ba7458e0b62bfdd452edd9e299ce85b0
refs/heads/master
2023-08-14T18:50:21.596810
2021-10-07T01:46:50
2021-10-07T01:46:50
381,255,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.http import HttpResponse, HttpResponseRedirect, HttpResponseForbidden from django.shortcuts import render # Create your views here. from django.urls i...
[ "caiyin0211@gmail.com" ]
caiyin0211@gmail.com
998701c5043e3a741ed1f9a2d53c3002cf0d9154
e09b905a092bd324050e405e1caf1e8a5630cc1f
/pyscf/nao/test/test_0047_dens_elec_gto2nao.py
7be36246af525c37b92f7c7cf0e02f1269d053aa
[ "Apache-2.0" ]
permissive
yangcal/pyscf
09a2776e8d88b2118f1d00a810a9c90e7e214281
e833b9a4fd5fb24a061721e5807e92c44bb66d06
refs/heads/master
2021-06-18T11:45:57.808856
2021-03-18T04:58:53
2021-03-18T04:58:53
246,690,849
1
0
Apache-2.0
2020-03-11T22:17:28
2020-03-11T22:17:28
null
UTF-8
Python
false
false
902
py
from __future__ import print_function, division import os,unittest,numpy as np from pyscf.nao import mf, conv_yzx2xyz_c from pyscf import gto, scf as scf_gto mol = gto.M( verbose = 1, atom = ''' H 0 0 0 H 0 0.757 0.587''', basis = 'cc-pvdz',) conv = conv_yzx2xyz_c(m...
[ "koval.peter@gmail.com" ]
koval.peter@gmail.com
3f73ed38a95759a28bb77adacb7c275da4b06d94
0909bdeec5ef24df40d92f15bdd30faee2585952
/week_2/while_for_work/task_1.py
0a7f734f3996a56b4943a1e6736d510a529bd8a2
[]
no_license
futurewujun/python_14_0402
83c60165d633625979c70ed0e685ef9abe6af980
ca931cd49192ea07a8f8b3640e2a3513b6338288
refs/heads/master
2022-12-10T01:35:05.084452
2019-11-15T03:31:45
2019-11-15T03:31:45
178,986,031
0
0
null
2022-12-08T01:21:43
2019-04-02T02:47:34
Python
UTF-8
Python
false
false
167
py
# -*- coding: utf-8 -*- # 1.利用while循环 完成1-100的整数数字相加和 a = 0 sum = 0 while 1: a+=1 sum+=a if a == 100: break print(sum)
[ "754499083@qq.com" ]
754499083@qq.com
6f8acc30641314ca4fd580ada84c1e8ddc8a6e8a
e358227478c2ab1a15e55f1acc26afd62f7c5b6d
/curriculum/contact/models.py
3ccd551c4a3b2dcf6adfd4343fc350ee8ffd2c3e
[ "MIT" ]
permissive
ro199/Hoja-de-Vida
245e9101dfd59ba0d1ebdd3979e4ed0cc2f6bbdf
8864467f2998aed6e0a30a9f9767806dcb38ed71
refs/heads/master
2022-12-06T21:53:39.025997
2020-09-07T17:28:20
2020-09-07T17:28:20
286,880,301
0
0
MIT
2020-09-07T17:28:21
2020-08-12T00:50:53
JavaScript
UTF-8
Python
false
false
240
py
from django.db import models # Create your models here. class Contact(models.Model): contact_name = models.CharField(max_length=100) conact_email = models.EmailField(max_length=254) message = models.CharField(max_length=400)
[ "ronald.alvarado@epn.edu.ec" ]
ronald.alvarado@epn.edu.ec
ff3dddc60230bb983c92cb9b19a3f83424bb5d03
e09389f2b6e830d0e3694848a43fac3ae71ca583
/formdemo/app1/models.py
388aff71720aae5d27dbcf8779eedacf65c32e40
[]
no_license
vikas123cb/learning_task_1
63fd1f042b04c68fec0e9be404eef7afe974c186
9087adb642b08d2f79fb24783d789b32de175f45
refs/heads/master
2023-05-03T05:53:49.267910
2021-05-13T03:36:27
2021-05-13T03:36:27
366,923,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
from django.db import models from django.contrib.auth.models import User # Question Model # mcq_type class mcq_question(models.Model): user=models.ForeignKey(User,on_delete=models.CASCADE) question=models.CharField(max_length=200) op1=models.CharField(max_length=100) op2=models.CharField(max_length=100) op3=model...
[ "vikas.chouhan@createbytes.com" ]
vikas.chouhan@createbytes.com
4bf38139de353494fb2b9a40ee3c040ba4c2a7be
1ace06d0e141b2fbf4be7ebb86794c16f5bb5e35
/main.py
469b9e98468ca46f042c361d3b79eab74541ac81
[]
no_license
IEIrodov/Automated_Birthday_Wisher
9fee42a80254a010b09bfde99970f711b1e29092
49d6ec7956d500e8374bdb20390f17acd649c20d
refs/heads/main
2023-03-21T05:25:41.316327
2021-03-15T06:40:26
2021-03-15T06:40:26
347,863,501
1
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
import datetime as dt import pandas as pd import random import smtplib import os date = dt.datetime.now() today_tuple = (date.month,date.day) birthdays_data = pd.read_csv("birthdays.csv") birthdays_dict = {(data_row.month,data_row.day):data_row for (index, data_row) in birthdays_data.iterrows()} if today_tuple in bi...
[ "nikhilindia30111999@gmail.com" ]
nikhilindia30111999@gmail.com
f94ca25a0fbac5cf3c09a8e3e084bcdc814f85d0
61d24c80e4d68d26fa1577765eeee2de3fe009bb
/td_idf.py
b3f8087b6784e624c8453e612196f5683dcf9a4e
[]
no_license
goodmamll/sina_analysis
790708abec6b5c698f13e5e2f4dc5b9266a3ea98
7bed6c324efd4ae8234e4519ae331a48a4254a27
refs/heads/master
2023-03-16T03:45:49.101883
2020-02-16T06:39:05
2020-02-16T06:39:05
571,203,088
1
0
null
2022-11-27T13:56:41
2022-11-27T13:56:41
null
UTF-8
Python
false
false
2,804
py
from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer from sklearn.cluster import KMeans from sklearn.decomposition import PCA import matplotlib.pyplot as plt import pandas as pd def labels_to_original(labels, forclusterlist): assert len(labels) ==...
[ "761079834@qq.com" ]
761079834@qq.com
4fb3833526370b776a65d10938c421bb15804d6c
35c4c0ae37c78124732bc8056f9b9940cc80779b
/Data/Search/Find pivot element in a sorted array/Find pivot element in a sorted array.py
b266ca0952266d9b560f4086d94a868ad018fa69
[]
no_license
bhusalashish/DSA-1
8189c6fe27a7905eaa3ea0a404a38164245c8b6e
573b737483193c30753e7afc5d564396318d45ff
refs/heads/master
2023-02-09T21:44:16.691700
2020-12-25T06:19:58
2020-12-25T06:19:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
''' #### Name: Find pivot element in a sorted array Link: [link]() '''
[ "nishan.paudel1914@gmail.com" ]
nishan.paudel1914@gmail.com
2aca0fe016c401459269e4ca971610d24b46eb48
9c775d141a778156c85891f36a6462f7bee25773
/ComputerVisionTrainneProgram/T015/main.py
58f66fe460698fbb959e0e47bd81bb85d06cf82f
[]
no_license
GeilsonXavier/PPGEE
b1ae8597fb4a6767954c40c59204c5a6f1a2b13c
3b5bb4b06a0609e8a9a795e76efcd49982ac1ca7
refs/heads/main
2023-06-12T17:43:19.290758
2021-06-30T13:32:55
2021-06-30T13:32:55
381,692,355
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import cv2 as cv import numpy as np # Inicializa a câmera cam = cv.VideoCapture(0) # Aguarda a tecla 'q' para finalizar while cv.waitKey(1) != ord('q'): # Captura o frame _, frame = cam.read() # transforma para níveis de cinza img_grayscale = cv.cvtColor(frame, cv.COLOR_BGR2GRAY) # Aplica o filt...
[ "geilsonx@gmail.com" ]
geilsonx@gmail.com
b55ebb5bb6b497313cc4eb21e5519b1e8693f38e
497ac83719275097420a2ff4c07f62a628094373
/Lista1/lista1.py
4b65e40f60ecd3420e103d9658bd5f7d4b28c90c
[]
no_license
sarcinelliRenan/Aprendizado-de-maquina
c0ed913235cccdc62cd34dd1a38406b9948cdcfa
3df7e899b3b0c2abb62e039836e22c5e30ceb887
refs/heads/master
2020-03-13T10:27:24.220260
2018-07-11T20:47:00
2018-07-11T20:47:00
131,083,866
0
0
null
null
null
null
UTF-8
Python
false
false
37,837
py
# -*- coding: utf-8 -*- """Lista1.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1jWzdeWyIlGU-04y6TsOxbglpMFXhTZHu # Lista de exercícios 1 <br/>**Disciplina**: Aprendizado de Máquina <br/>**Professor**: Dr. Patrick Marques Ciarelli **Aluno**: ...
[ "sarcinellirenan@gmail.com" ]
sarcinellirenan@gmail.com
3e8441e8954ef683fedb483dd2d4f3802f4aa21f
a1e7a01f37a8ce859d182f83fbcc71309992e6ae
/switchbot/const.py
611ee0b72bc75866a143ffbcd4108ac46de04bf6
[ "MIT" ]
permissive
Danielhiversen/pySwitchbot
d771783290631676519e75f7081e40f5d172885c
2db1006e5f8be8212737b3c8eb4cff22eabc5a0b
refs/heads/master
2023-06-23T19:52:08.645269
2023-06-19T14:30:12
2023-06-19T14:30:12
147,250,077
72
47
MIT
2023-08-29T18:01:18
2018-09-03T20:21:57
Python
UTF-8
Python
false
false
1,332
py
"""Library to handle connection with Switchbot.""" from __future__ import annotations from enum import Enum DEFAULT_RETRY_COUNT = 3 DEFAULT_RETRY_TIMEOUT = 1 DEFAULT_SCAN_TIMEOUT = 5 from .enum import StrEnum class SwitchbotAuthenticationError(RuntimeError): """Raised when authentication fails. This excep...
[ "noreply@github.com" ]
Danielhiversen.noreply@github.com
67c39e3fabdf646bcc6c350a8963d9780c4226c8
e5bcb7b5f6b1d0499c7151cc857f21c69127550b
/src/gp.py
2d6e876aa56113d01597cd5f2d1ea933074129c4
[ "MIT" ]
permissive
acauligi/energy291-project
8c774532d350bd071d9e2bc7504a8bd6c35413a0
de1cdc210f5e88e6764c850cead89adbe314fb19
refs/heads/main
2023-05-26T04:07:10.964075
2021-06-04T21:31:21
2021-06-04T21:31:21
370,866,400
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
import gurobipy import numpy as np import cvxpy as cp import pandas as pd import matplotlib.pyplot as plt from scipy.stats import multivariate_normal import sklearn.gaussian_process as gp from sklearn.gaussian_process import GaussianProcessRegressor from sklearn.gaussian_process.kernels import RBF, ConstantKernel as C...
[ "acauligi@stanford.edu" ]
acauligi@stanford.edu
f62773b1b744b9bad1a26b5ab260349ac2a09073
dcf47cd11915987269a7e551bf69a27d939797de
/2.py
346398fa042d1b1a560c763d696c32b7dd05118a
[]
no_license
kevinpeterson/python-challenge
52205b92ae7af8e313122afb3d1923aa702ed784
0963368f1d1dd3d4b1765080c5cdd02ffb18639e
refs/heads/master
2020-05-20T06:41:17.415751
2012-04-15T17:38:01
2012-04-15T17:38:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
99,578
py
""" Exercise 3: Counting character occurences using MapReduce. """ mess = list(''' %%$@_$^__#)^)&!_+]!*@&^}@[@%]()%+$&[(_@%+%$*^@$^!+]!&_#)_*}{}}!}_]$[%}@[{_@#_^{* @##&{#&{&)*%(]{{([*}@[@&]+!!*{)!}{%+{))])[!^})+)$]#{*+^((@^@}$[**$&^{$!@#$%)!@(& +^!{%_$&@^!}$_${)$_#)!({@!)(^}!*^&!$%_&&}&_#&@{)]{+)%*{&*%*&@%$+]!*__(#!*)...
[ "kevin.peterson@mayo.edu" ]
kevin.peterson@mayo.edu
daabb1e0dfdfbc9404d8dfb93de42beaa02ffc3d
c8a6425eb2c0b35ef626fdc4843be443ce805e5c
/ipv6smalltest.py
133ec43775b5508326ae4a33d67392f8ea928ccb
[ "MIT" ]
permissive
sharuijinfriend/ipv6-hosts
96ddb508effc8751806f9ce62dfe5246af65e531
d5dade4bcc92dddee3a9ffcf4dd17317dc47e6ff
refs/heads/master
2020-04-02T13:28:10.855134
2019-02-24T11:24:54
2019-02-24T11:24:54
154,482,472
0
1
null
null
null
null
UTF-8
Python
false
false
5,090
py
''' # import re # def validate_domain(domain): # pattern = '^((?!-)[*A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,6}$' # p = re.compile(pattern) # m = p.match(domain) # if m: # return True # else: # return False # if validate_domain('www.google.com'): # print('yes') imp...
[ "noreply@github.com" ]
sharuijinfriend.noreply@github.com
7e31745aac00fbaed87800b7d6d9cc93b456f820
25b573e38a9ccdebdf096d56d470bca1eb478b75
/Demoblog/urls.py
05598309e731a7f5d9c45e36a36949361a42c098
[]
no_license
sumaiyamulla786/blogsite
6febbbcaf4ed6744bcb481952245f2e1ccf8a29c
9453cd6b73c2a7a2761d2e11a4b96c124ca6ed9f
refs/heads/master
2021-04-27T14:58:41.510760
2018-02-22T10:23:49
2018-02-22T10:23:49
122,461,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,319
py
"""Demoblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "sumaiyamulla786@gmail.com" ]
sumaiyamulla786@gmail.com
66e2c5329e9521e3252d6ead99b95654d8cdaed4
b7c51f5e564d1f0e622fbe6e144f996d693af8cf
/Bins/MakeSparseMatrixSVD.py
c24629f3f51015d698bb93ed7c430d0c9260a6cd
[]
no_license
GINK03/job-recommender-api
a223fb225a1231eaf1b56abd92d9aa8f20ff241b
6afdfa915918184debe96f5ac6932dfa30f7d4a5
refs/heads/master
2022-11-19T16:48:38.776963
2020-07-24T15:49:23
2020-07-24T15:49:23
263,545,893
1
0
null
null
null
null
UTF-8
Python
false
false
4,429
py
import pickle import gzip import glob from scipy.sparse import lil_matrix from sklearn.decomposition import TruncatedSVD # import faiss import numpy as np from pathlib import Path from tqdm import tqdm import sys from concurrent.futures import ProcessPoolExecutor import joblib import pandas as pd from os import environ...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
44803dedada3fec966306568b761e601637bccc8
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/NasFPN/mmdet/models/detectors/cascade_rcnn.py
47cc7cef984123804c4f99900d496807cde3c0e6
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,288
py
from ..builder import DETECTORS from .two_stage import TwoStageDetector @DETECTORS.register_module() class CascadeRCNN(TwoStageDetector): r"""Implementation of `Cascade R-CNN: Delving into High Quality Object Detection <https://arxiv.org/abs/1906.09756>`_""" def __init__(self, backbone, ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0f2fb13936f02c57c1615fa5ae66848d7554ac5b
34ed92a9593746ccbcb1a02630be1370e8524f98
/lib/pints/pints/tests/test_log_likelihoods.py
abe63310e1b7037b4ac373902937a301a887133a
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
HOLL95/Cytochrome_SV
87b7a680ed59681230f79e1de617621680ea0fa0
d02b3469f3ee5a4c85d756053bc87651093abea1
refs/heads/master
2022-08-01T05:58:16.161510
2021-02-01T16:09:31
2021-02-01T16:09:31
249,424,867
0
0
null
2022-06-22T04:09:11
2020-03-23T12:29:29
Jupyter Notebook
UTF-8
Python
false
false
29,817
py
#!/usr/bin/env python3 # # Tests the log likelihood classes. # # This file is part of PINTS. # Copyright (c) 2017-2019, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # import unittest import pints import pints.toy import numpy as np class Tes...
[ "henney@localhost.localdomain" ]
henney@localhost.localdomain
581736ce7af4e0d203eeb60e975e9a593ab3139d
de36b9799b09d62ee7ec8633095345bbfd5f17de
/app.py
52575442d0ef7d4d16b7f69827fb61304640f8c8
[]
no_license
busybee23/Forset-Fire-Prediction-
c93e1e6c7e951cc148b7636a83606140489ec0d8
4a23bc54f139a985c44632ddf9f1df711db0cd42
refs/heads/master
2022-12-12T11:16:59.869799
2020-09-11T17:13:49
2020-09-11T17:13:49
289,731,815
1
0
null
null
null
null
UTF-8
Python
false
false
990
py
from flask import Flask,request, url_for, redirect, render_template import pickle import numpy as np app = Flask(__name__) model=pickle.load(open('model.pkl','rb')) @app.route('/') def hello_world(): return render_template("forest_fire.html") @app.route('/predict',methods=['POST','GET']) def pr...
[ "noreply@github.com" ]
busybee23.noreply@github.com
5290f04545eea5e5f46f6be3a50008aa1c9f3d59
78c322d1e2c15e42969dc4ae5a6075283975d8c6
/MalwareCrawler/src/utils/pyasn1/type/error.py
bb9b9351ef54c9b90d4aed2086dc02e6484240a7
[]
no_license
intelemetry/malware-crawler
723f26d233736d88ebdf508513052fb6bb609e5d
1672bab7aa292a350c0661e048517e9665ddc570
refs/heads/master
2021-01-10T10:22:12.862103
2015-10-17T20:36:41
2015-10-17T20:36:41
44,453,524
1
1
null
null
null
null
UTF-8
Python
false
false
90
py
from utils.pyasn1.error import PyAsn1Error class ValueConstraintError(PyAsn1Error): pass
[ "delta@deltas-MacBook-Pro.local" ]
delta@deltas-MacBook-Pro.local
6ff102d1cea23a24786b8d1335ce9d535b54fdb3
045cb1a5638c3575296f83471758dc09a8065725
/addons/base_gengo/models/res_company.py
82bdf8e87666085dc1a354e8cba4071dc6357e27
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from harpiya import fields, models class res_company(models.Model): _inherit = "res.company" gengo_private_key = fields.Char(string="Gengo Private Key", copy=False, groups="base.group_system") gengo_pub...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
834d1d77e917048675e93c9a05b5a405d1b1b2a1
c5ef95175ba7e168184fe5671f23e071278578dd
/scapy scripts/Beacon2Fuzz.py
0059e10a62ca14ff4d523d05b728b1bb05968a7f
[]
no_license
grayburn/wireless-scripts
0151beaea870d5176cb613b88bf50c5001a8f483
0517d90b4ea9293ab85a19434443ea1a76c787e7
refs/heads/master
2021-01-19T00:04:06.148389
2017-07-20T21:09:40
2017-07-20T21:09:40
46,151,071
1
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
#!/usr/bin/python import sys from scapy.all import * probeResp = RadioTap()/Dot11(addr1="00:01:02:03:04:06", addr2="00:01:02:03:04:05", addr3="00:01:02:03:04:05")/Dot11Beacon(cap='ESS+privacy+short-preamble+short-slot')/Dot11Elt(ID="SSID", info='NETGEAR64')/Dot11Elt(ID="Rates", info='\x82\x84\x8b\x96$0Hl')/Dot11Elt(ID=...
[ "greg.rayburn@gmail.com" ]
greg.rayburn@gmail.com
621d3376a909c28ebfa4131ce1ef80c5f6dfd365
6f5d8aef8d7519e552f9377f13120c09b2d35524
/dia 1/ejemplos/exhaustive_enumeration.py
432f3558f7844b4db6e1ea2f69fa6a10b4f6477b
[]
no_license
KostadinovShalon/curso-de-python-2020
43fa0e6f2121b740920065c8d8825b86345a0bf6
fc064ce18f11c3c8c34af93c3e4ea31404eb0050
refs/heads/master
2021-02-07T21:49:39.013949
2020-03-04T12:55:08
2020-03-04T12:55:08
244,080,199
2
1
null
null
null
null
UTF-8
Python
false
false
1,010
py
# Aproximaremos la raíz cuadrada de un número buscando incrementalmente todos los números posibles x = 12 eps = 1e-2 # Esta es otra forma de representar 0.01 step = eps ** 2 # Nuestro tamaño de incremento será el valor de eps al cuadrado n = 0 # Vamos a llevar la cuenta de cuantos intentos se han hecho ans = 0.0 #...
[ "kostadinov.shalon@gmail.com" ]
kostadinov.shalon@gmail.com
82eae675fe3e66ff075d4f6eafdf97368129ae30
ae99b262d427c39b89ce0e771c4591d2f303b889
/first_project/first_app/models.py
71c3e304abf3c24fd08657254e9be33055190c64
[]
no_license
Sudipta96/Django-deployment
fa2b5ae6ed9c343221f35eb0e9fc835f5541092c
7e5cfbe8b178a0df34cf9cde8ca81b3ae61da7d9
refs/heads/master
2022-04-11T02:53:12.058350
2020-01-30T13:19:07
2020-01-30T13:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from django.db import models # Create your models here. class Topic(models.Model): topic_name = models.CharField(max_length=30,unique=True) def __str__(self): return self.topic_name class WebPage(models.Model): topic_name = models.ForeignKey(Topic,on_delete= models.CASCADE) name = models.Char...
[ "sudiptasarker583@gmail.com" ]
sudiptasarker583@gmail.com
ef7df5c635ee7e5685a618e20e29cb2923ecaf40
48c652e473dc9011503e4795c8248d2f0823ac1f
/testenvironment/bin/easy_install-3.8
f792796f0e15ba054ac0f363d35e9c7f77b00a80
[]
no_license
preeti1510/django3-pre-portfolio
7128e70721c8accdf72dca36f54914eb4720c854
791f5d787741b7eb47ddb8e248f68185cec4ed92
refs/heads/master
2022-07-03T23:40:49.174060
2020-05-12T09:35:15
2020-05-12T09:35:15
263,023,637
0
0
null
null
null
null
UTF-8
Python
false
false
283
8
#!/home/preeti15/django3-pre-portfolio/testenvironment/bin/python3.8 # -*- 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())
[ "preeti.s9215@gmail.com" ]
preeti.s9215@gmail.com
3d8e087c32269d3024415ff947d05fb54bc4b5ae
826085daea311de883ad1e8dfcc8ef5569f087bf
/broca/similarity/term/wikipedia.py
33c38f57abeaea4f2b39766fd32b32d37969b214
[ "MIT" ]
permissive
parksebastien/broca
f2d10cfd6a7dcc6c069ee2e69d5faeb2e1004b67
7236dcf54edc0a4a54a55eb93be30800910667e7
refs/heads/master
2020-05-22T09:48:19.417396
2015-09-10T12:35:56
2015-09-10T12:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from scipy.spatial.distance import pdist, squareform from broca.similarity.term import TermSimilarity from broca.knowledge.wikipedia import Wikipedia from broca.vectorize.bow import BoWVectorizer class WikipediaSimilarity(Wikipedia, TermSimilarity): def __init__(self, terms, wiki_conn=None): """ I...
[ "f+accounts@frnsys.com" ]
f+accounts@frnsys.com
fdfa228f742a46c9fd86239aab1fe79482632d6a
98d09f9a156656816f767730dc405bf91f60959a
/problems/678. Valid Parenthesis String/solution.py
5633f1e2678fc7bffc447f82c3575f97d0fa3db5
[]
no_license
FranckNdame/leetcode
8b41d9fb9370489dd1a110a55a44e44e5782288d
b91bc8dd75138ffd0000523381acdd18ec7d0549
refs/heads/master
2022-06-26T13:13:39.101080
2020-05-09T09:43:00
2020-05-09T09:43:00
230,580,546
4
1
null
null
null
null
UTF-8
Python
false
false
285
py
class Solution: def checkValidString(self, s: str) -> bool: low = hi = 0 for c in s: low += 1 if c == "(" else -1 hi += 1 if c != ")" else -1 if hi < 0: break low = max(low, 0) return low == 0
[ "franck.mpouli@yahoo.com" ]
franck.mpouli@yahoo.com
2227429d9fa95a9f75c2536f46f71fd4fcc48a68
215b0cac3e85b0cebc0494f81d3143f6a4fd60aa
/python/examples/displayIP.py
b521a36fec31d26733a57a9fa3bf55f91344fde2
[ "BSD-2-Clause" ]
permissive
xHeliotrope/led_tweet_writer
094dcf15bea66e4662c5fd370178b8198def0145
ab6de46097e11d79ba7f9a49ea388a09d829da04
refs/heads/master
2021-05-07T16:45:59.938669
2017-10-28T23:51:36
2017-10-28T23:51:36
108,601,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,222
py
import sys import time from neopixel import * from constants import alphabet, letterSpace, space WAIT_MS = 75 NUMROWS = 8 NUMCOLS = 32 col = Color(0, 0, 255) off = Color(0, 0, 0) LED_COUNT = 256 # Number of LED pixels. LED_PIN = 18 # GPIO pin connected to the pixels (must support PWM!). LED_...
[ "rmoore8869@gmail.com" ]
rmoore8869@gmail.com
0e1a466c84c1bbada633a51528210dbb55c36aa2
9040840053cc6fee5c0332d36b7d5a37df2fc503
/blog/forms.py
16190f164860eaf196801396d98a103d97a73f1b
[]
no_license
ChristiWilson/try_python
b196ff41631a5b826d1643772ffce7d6e6466f6b
9c2e77449386da767061ac36531905ec4653d4c9
refs/heads/master
2020-05-09T20:13:30.925529
2019-04-17T03:34:49
2019-04-17T03:34:49
181,399,414
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from django import forms from .models import BlogPost class BlogPostForm(forms.Form): title = forms.CharField() slug = forms.SlugField() content = forms.CharField(widget=forms.Textarea) class BlogPostModelForm(forms.ModelForm): class Meta: model = BlogPost fields = ["title", "image"...
[ "Christi@ChristiWilson.com" ]
Christi@ChristiWilson.com
443785d15570b7fe708fa5fcbc7af01a4bdc49a0
0228a33b8a2a7a7652a950da2701f6b4ba95d99d
/requests/models.py
0af541da11d38b6f3f5364f88be2e4014a646b21
[]
no_license
tackc/pythonCRUD
a428036c726ddf43ee707af0011c55d81c36f738
56cb85cc9fcb7cc3293dc1c893c6aeb1679c7330
refs/heads/master
2022-12-28T20:09:16.727839
2020-09-22T05:39:00
2020-09-22T05:39:00
295,620,817
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.db import models # Has a SQLite DB with a table named `requests` that has the following columns: # id (viz. autoincrementing int) # type of request (e.g. GET, POST, PUT, DELETE) # time of request (datetime) # comment (text, NULL by default) class Request(models.Model): # id = models.AutoField(primary_ke...
[ "chris_tack@mac.com" ]
chris_tack@mac.com
3f060308edff9b06c0205ec23876a53a6661f5c1
01721a4c150cc14d0a2f4a97f5540a20f062c4d2
/Server/speech_input.py
3a28ef2445a8fa496920001f52377b7d97ca60cd
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
andrew-zhan139/Ctrl-Air-Space
a3b17a6c9021e20fc2f62870602b93f1d54bbd02
9cba3cdd98e14ee7b3c6baa6ae6211ccbcba51ec
refs/heads/main
2023-03-03T20:52:42.822699
2021-02-13T18:22:32
2021-02-13T18:22:32
330,211,885
3
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
import azure.cognitiveservices.speech as speechsdk import pyautogui import json import os # If want to use voice recognition feature, you must add your Azure Speech Service Key and Region in the settings.json file settings_path = "settings.json" if os.path.isfile("settings.json") else "Server/settings.json" if os.path...
[ "chcheung.office@gmail.com" ]
chcheung.office@gmail.com
a245f17a1350472a5725cf60254bb908d27fbe8a
c9be3b1b599456b773761ebc8a64352191bda7ea
/code1/sc_batch.py
76309a4eb2a0a2564444d9e11f029bd97fd8ac4c
[]
no_license
feliciss/Auto-Narrative-Generation-DL-with-Human-Intervence
c31210811dd6ba2307a736d4588fd74530a7b285
dedd7505067e08924cae297fabb54e966ed0bbe9
refs/heads/master
2022-03-01T22:35:35.717505
2019-09-06T09:01:19
2019-09-06T09:01:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,413
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # Modifications Copyright 2017 Abigail See # # 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...
[ "116010169@link,cuhk.edu.cn" ]
116010169@link,cuhk.edu.cn
198ee3129c4d1c35e445b785a839c9e4640bc1b0
7e6f5dae51e9eb20f3c43dba84b2015b8e4b0847
/main.py
5a1b538b4fbf37257b18197a90e12cbbacdcaae0
[]
no_license
eamobire/flash-card-project-start
822c38b4f34d323808e6205409b2d23b93dea1c0
f012fcdebe872837c13006d1c0feac940c1ad164
refs/heads/master
2023-05-02T07:19:57.757312
2021-05-18T20:00:32
2021-05-18T20:00:32
368,652,577
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
from tkinter import * import pandas import random to_learn = {} current_card = {} BACKGROUND_COLOR = "#B1DDC6" try: data = pandas.read_csv("data/words_to_learn.csv") except FileNotFoundError: original_data = pandas.read_csv("data/french_words.csv") to_learn = original_data.to_dict(orient="records") else: ...
[ "eamobs@gmail.com" ]
eamobs@gmail.com
52fc0a314b8c7900c41339efe131dd5f2bc66806
8c69736d7ac2541be761d728284d315cefa90d28
/nodes/1.x/python/Element.Category+.py
1d9538abcbb641afdd57cccc319aef7a91d65b65
[ "MIT" ]
permissive
ptrklk/ClockworkForDynamo
21ae4ab4ab70d02b6d706f16f312865cd73c4ace
90293d8fb74e6b3339acd6ca4ff69f695b6a02ac
refs/heads/master
2020-03-26T07:50:47.053264
2018-07-28T07:55:10
2018-07-28T07:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) def GetCategory(item): objtype = item.GetType().ToString() if objtype == "Autodesk.Revit.DB.ViewSchedule": return Revit.Elements.Category.ById(item.Definition.Cate...
[ "dieckmann@caad.arch.rwth-aachen.de" ]
dieckmann@caad.arch.rwth-aachen.de
f90413e5f6f9b7b27188bad677b9dc723922f3fd
1f71f4e41c6aa789f7f5481bc369b852f9ac8eab
/cvat/apps/lambda_manager/tests/test_lambda.py
9409f2f9c400538428dfa6d7506be196ac1fa939
[ "MIT", "LGPL-2.0-or-later", "GPL-1.0-or-later" ]
permissive
shalevy1/cvat
2c7e041fa4c8b9a5166894b3ae5e7c28df5d8ae3
912e47e56c772eb6c2fb5b32f898b029a985fdfc
refs/heads/develop
2023-02-13T23:05:15.428038
2023-02-08T16:08:52
2023-02-08T16:08:52
200,596,810
0
0
MIT
2023-01-27T08:48:21
2019-08-05T06:39:24
TypeScript
UTF-8
Python
false
false
46,793
py
# Copyright (C) 2021-2022 Intel Corporation # Copyright (C) 2023 CVAT.ai Corporation # # SPDX-License-Identifier: MIT import json from collections import OrderedDict from io import BytesIO from typing import Dict, Optional from unittest import mock, skip import os import requests from django.contrib.auth.models impor...
[ "noreply@github.com" ]
shalevy1.noreply@github.com
a12c85993a5a9e530c8f2bcbdc8064958ecaf46d
36108231214b5988684298e0915125831c626d30
/fortuneteller/randomfortune/urls.py
8e8a0e951ba9dbbf111c758b11fe8a6d59acd9a1
[]
no_license
obinnadtq/Fortuneteller
2dcfb8a5a73fa196d272259bd7ae26ffbbbfc401
b4d920d95cc357fb16724234fa8489872633d7ae
refs/heads/main
2023-04-29T13:53:12.081400
2021-05-22T00:11:52
2021-05-22T00:11:52
369,679,558
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.urls import path from . import views urlpatterns = [ path("", views.fortune) ]
[ "obinnaisiwekpeni@Obinnas-MacBook-Pro.local" ]
obinnaisiwekpeni@Obinnas-MacBook-Pro.local
5c2128c48f6cca29296f7fb6db51371bf51bddfe
e9e083aa75398a015e55ec5de655c262eb1496c6
/mod5-adv/threads/simple-non-daemon.py
c84fa8b3f9455600fa262c7ffd6e93d45bccacc2
[]
no_license
michaelconst/csuf-pythonprog
54d98a878b34038a067c07c649a6025b8380b971
017ec2004482bbd20ce24d6c5ec8f0ae2a6cdb78
refs/heads/master
2021-01-21T10:00:30.268732
2017-03-14T01:29:44
2017-03-14T01:29:44
83,357,234
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import threading import time import random def do_work(t): print('[{}] sleeping {}s'.format(threading.current_thread().name, t)) time.sleep(t) print('[{}] exiting'.format(threading.current_thread().name)) for i in range(5): threading.Thread(target=do_work, args=(random.randint(1, 5),)).start()
[ "constantinm@sharplabs.com" ]
constantinm@sharplabs.com
5cc176da258299c6ddf7a86b3875331dc23f0c4a
2f418a0f2fcca40f84ec0863b31ff974b574350c
/scripts/addons_extern/BlenderGIS-master/misc/view3d_setCamFromExif.py
af1522a46f970af7b694e7e71938eb00d01e6db1
[]
no_license
JT-a/blenderpython279
57a81b55564218f3b1417c2ffa97f5161897ec79
04846c82f794c22f87d677d9eb8cec1d05c48cda
refs/heads/master
2021-06-25T06:58:07.670613
2017-09-11T11:14:36
2017-09-11T11:14:36
103,723,697
4
2
null
2017-09-16T04:09:31
2017-09-16T04:09:31
null
UTF-8
Python
false
false
9,569
py
# -*- coding:utf-8 -*- # ***** GPL LICENSE BLOCK ***** # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
2d0d27f46d9afd856acafd69bf26684b5b615324
f931242851c9b3ade7455e1d4179dfe063fa8dd1
/ThirdEye/boto_ex.py
ff6e745d5c4aff8c219817c89b7cf11f439ce368
[]
no_license
sanishetty/ThirdEye
a8194e0c91429b917e077cd71bad017c2c1f1401
b574ebb253b15e27e3225df8407e7afe6226b021
refs/heads/master
2021-09-13T07:54:42.091548
2018-04-26T20:47:51
2018-04-26T20:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
import boto3 from pprint import pprint s3 = boto3.resource('s3') print(s3.buckets.all()) for bucket in s3.buckets.all(): print(bucket) print('Done.') ec2 = boto3.resource('ec2') print("\nEC2 Instances(id,state)") for ins in ec2.instances.all(): print(ins.id, ins.state)
[ "sania.shetty1993@gmail.com" ]
sania.shetty1993@gmail.com
27ddefd26f13bb3c2e80ec58bb7d3f0ea384e3a4
00c540041f5a158410c7f5d733f2332e26faaa3a
/tests.py
d4f1a5602104aee9836b39d1394204b62f6cdc42
[]
no_license
turmannn/trav_app_test
abd9cc1565e0f68f16af5298df155021478b4c1e
b5081aa3ed0422eda536c71f800227ab9939dd51
refs/heads/master
2021-01-10T03:01:33.411254
2016-02-23T03:56:57
2016-02-23T03:56:57
52,112,295
0
0
null
2016-02-19T20:02:46
2016-02-19T19:48:02
null
UTF-8
Python
false
false
682
py
from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait import unittest from page import * class BaseTest(unittest.TestCase): def setUp(self): self.driver = webdriver.Firefox() def tearDown(self): self.driver.close() class MainPageTests(BaseTest): def test...
[ "temiy@tut.by" ]
temiy@tut.by
f63cba311274c50550ab3646cb08e9203bacea0f
9d961bd6a590cc96db0c1f9c72d84e3a66636edf
/심심풀이땅콩/[백준]2920.py
66cc611eced9e2f94957f850a848db3dff36e886
[]
no_license
0equal2/Python_Programming
bae65338929e8e1a88247b8d23de805caa026702
2ac1d0262320220f49cbdb45e787e55e994d0b0f
refs/heads/master
2023-05-14T22:13:41.583214
2021-06-09T03:04:51
2021-06-09T03:04:51
304,628,012
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
###[백준]2920 info=list(map(str,input().split())) info="".join(info) if info=="12345678": print("ascending") elif info=="87654321": print("descending") else: print("mixed")
[ "duddms0115@gmail.com" ]
duddms0115@gmail.com
e5734d4b75fc41ade857e0c16076011c6aceecd3
5127f92ca8ea72b9ead8fe3b1543b1c23e93d892
/assaignment2-0.py
1759ad2426a44d5ec09c132b925e70851c887895
[]
no_license
mcconnekeelanr/CNS210
f36f50d03b61889ebe210675c6018e53ab5a66b0
3b3c41f8eec26c7c4840e14576edcbeda8585ffb
refs/heads/master
2021-05-17T07:26:43.495010
2020-05-08T05:38:12
2020-05-08T05:38:12
250,696,889
0
1
null
null
null
null
UTF-8
Python
false
false
1,154
py
#!/bin/python3 import urllib.parse import urllib import urllib.request import re import requests from bs4 import BeautifulSoup import argparse parser = argparse.ArgumentParser("DOWNLOAD STUFF") parser.add_argument("userchoice",help="python 2.7.4, 3.3.1, or 3.2.4", choices=["2.7.4", "3.3.1","3.2.4"]) print("choose wis...
[ "noreply@github.com" ]
mcconnekeelanr.noreply@github.com
b760423756b3bf917362fb5fbd7fc8d25ada43d7
4f883962ebed2d49761a517000799adda60d9797
/183-16-346_Prosenjit_Chowdhury.py
0340dabe5af3ef6b470775bbf6e9f2df4a53d7e6
[]
no_license
prosenjit-chd/Python-problem-solving
cfefec3adef99d2cc7cd5c13c305a4d8e1bfc93c
e36561640f1453c3b14c06e0a8c392a1a2a6373d
refs/heads/main
2023-02-13T08:00:36.933374
2021-01-14T05:54:23
2021-01-14T05:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt # get_ipython().run_line_magic('matplotlib', 'inline') # In[3]: dtframe = pd.read_csv("CONVENIENT_global_confirmed_cases.csv") dtframe dtframe = dtframe.iloc[1:] dtframe # In[5]: df = dtframe[...
[ "prosenjit.chd@gmail.com" ]
prosenjit.chd@gmail.com
80ac51ff0828f84a2fb46db8e70ca06114cf1f43
0f5a1b4c8abeab2c745c74f5a25e41a76b7502b0
/playerset5.48.py
e53c53f1c64aa9c3347412461f1d20a07b185e27
[]
no_license
sujatha-2/test
d0c7af8a11061ce45acd19e86c3e7cfc50f43179
9a6338fabd4168ae327cdc61e790dddfda8bba9d
refs/heads/master
2021-07-19T13:28:46.356761
2019-01-09T09:19:10
2019-01-09T09:19:10
148,427,865
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
import math def sumofoddFactors( n ): res = 1 while n % 2 == 0: n = n // 2 for i in range(3, int(math.sqrt(n) + 1)): count = 0 curr_sum = 1 curr_term = 1 while n % i == 0: count+=1 n = n // i curr_term *= i ...
[ "noreply@github.com" ]
sujatha-2.noreply@github.com
4ccb39379284a4fb075d4e42f064302fdbeb8247
6d0d257a517185440fa62e8ee28f844bb2eb6497
/programmers/counts_of_divisor_and_addition.py
a705611ff3027db370e98df3167b16131e9de91d
[]
no_license
lein-hub/python_basic
ba0510125a2904f9b92a900929f58551265e0084
e73a9d4c8118b7b2d2cb7ed8742f0e0325b6e29b
refs/heads/master
2023-08-29T07:45:36.632854
2021-11-11T11:32:15
2021-11-11T11:32:15
404,591,900
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
def solution(left, right): result = 0 for i in range(left, right+1): count = 1 for j in range(1, i//2 + 1): if i % j == 0: count += 1 print(count) if count % 2 == 0: result += i else: result -= i return result
[ "75424893+lein-hub@users.noreply.github.com" ]
75424893+lein-hub@users.noreply.github.com
9566d969f5182ad088a332b15442d9d3c4f9c16c
5f3cb178b5845d86b703dce3f11fb23632c01841
/gym/examples/agents/evolutionary_agent_w_crossover.py
80775d3ac27e3032764de4bd2009cbd04b70c84a
[]
no_license
q-learning-trader/fingym
279d93a91105ff0872261168c7a08d74491e7a00
d2e19ba5487d989154e35fa0e4d90028dd4b71c7
refs/heads/master
2021-04-05T06:48:49.769282
2020-03-15T18:48:24
2020-03-15T18:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,218
py
# Copyright 2020 The fingym 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 applicable law or agreed to in w...
[ "entrpn@gmail.com" ]
entrpn@gmail.com
cd8c4a157f22cc66d9a30755be0845906cc4c9e7
1ca08a8276f97c9e2560486ed19522e6a88b97d1
/tutorial.py
6d48cce43cab1465552a194839fdb44f786ca0a2
[]
no_license
cliebner/PVresearch
6cc2e2c25d06c9592de9c60d08ff52f958a95f5e
d5819485648273c69f2db276fcc2e289e7bebb0f
refs/heads/master
2020-04-16T02:14:27.454762
2017-07-18T18:22:34
2017-07-18T18:22:34
57,318,134
5
1
null
null
null
null
UTF-8
Python
false
false
188
py
__author__ = 'christina' # import pvlib as pv import matplotlib matplotlib.use('tkagg') import matplotlib.pyplot as plt plt.plot([0,1,4,9,16,25, 36, 49, 64], 'ro') plt.show()
[ "christina.liebner@gmail.com" ]
christina.liebner@gmail.com