blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
a712ba1332f0c84b1d51ed1a2942d90b0be852ca
ca40f4a9cd87000d03372e15fc7844bdb6d9eb9e
/src/CSVTests.py
bed27c19c1835b4e34417aa4d993fa070b43af72
[]
no_license
ashili/Calculator
868ed5a1bb4b3c28901b5a6564a8143106d52ae5
6a1eb93d351ab23d65e4c4e9f81166c8d9e0aeee
refs/heads/master
2022-11-10T19:24:27.738302
2020-07-05T18:06:58
2020-07-05T18:06:58
273,808,335
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import unittest from CsvReader import CsvReader, ClassFactory from pprint import pprint class MyTestCase(unittest.TestCase): def setUp(self) -> None: self.csv_reader = CsvReader('src/csvFiles/Unit Test Addition.csv') def test_return_data_as_objects(self): numbers = self.csv_reader.return_dat...
[ "anisshili.as@gmail.com" ]
anisshili.as@gmail.com
19979bb01b501bbcc5143cfd81230833f0efe6f5
501611b4eafe02cb6fddd1005b273ecac70807bd
/foodcollector/wsgi.py
afc96179ac20636b4246356bc1788f9918ea9b1d
[]
no_license
alynguyen/foodcollector
e086e29d08ebf67d24cb4a204d05c22d093120fe
9507454141ca20c25554127c0b74e4e7ccd4190d
refs/heads/master
2020-07-23T02:41:38.743519
2019-09-24T20:48:21
2019-09-24T20:48:21
207,422,702
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for foodcollector 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "alynguyen@Alys-MacBook-Pro.local" ]
alynguyen@Alys-MacBook-Pro.local
43a07be8b91ff87d897e7ebca40d8eda780da274
ed8f34900195dbd4460d3a0688cd9fc2aa7e124c
/exampleSite/pages/views.py
911990a140940af2e2554f1ad013065822abd97d
[ "MIT" ]
permissive
marcanuy/django-mdpages
a68a4dae2408caee208349a01ce5b9e4751fecae
e65d29e31823cdfda186043ddf5c05a0c49cd73a
refs/heads/master
2020-04-27T19:00:57.019792
2019-03-18T21:00:22
2019-03-18T21:00:22
174,597,969
1
0
null
null
null
null
UTF-8
Python
false
false
221
py
from mdpages.views import MdPageView class AboutView(MdPageView): md_file = 'about.md' extra_context = { 'title': 'About Page', 'description': 'This is my About Page meta description.' }
[ "me@marcanuy.com" ]
me@marcanuy.com
e1e85ed181dc224bb87483223a045f5a482d4e77
c3ff891e0e23c5f9488508d30349259cc6b64b4d
/python练习/网络编程练习/python高级2/10-闭包运用.py
8f0fc775f476be0d07896e5d2a2761d6793cf38b
[]
no_license
JacksonMike/python_exercise
2af2b8913ec8aded8a17a98aaa0fc9c6ccd7ba53
7698f8ce260439abb3cbdf478586fa1888791a61
refs/heads/master
2020-07-14T18:16:39.265372
2019-08-30T11:56:29
2019-08-30T11:56:29
205,370,953
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
def line(a,b): def line_in(x): print(a*x + b) return line_in line1 = line(1,2) line1(1) line2 = line(2,3) line2(1) line2(2) line1(9) # 开辟了多个内存空间并且没有被释放
[ "2101706902@qq.com" ]
2101706902@qq.com
91ebfb453ea69221da6d90951241f72de96f6c1d
8d49683cd799ed66bc9dd197c197d1e1c7a73120
/src/gamesbyexample/sierpinskisgame.py
d6015cae50a6d7202cd182448860bb173486401b
[ "MIT" ]
permissive
trujilloshane/PythonStdioGames
d2e53ec22121b30e4b5317e46ed685831492d9c3
83ac9cd367f688539b77f67f0d44433fc6fdcbdf
refs/heads/master
2020-12-13T15:12:26.917070
2020-01-06T09:38:39
2020-01-06T09:38:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,632
py
# Sierpinkski's Game, by Al Sweigart al@inventwithpython.com # Sierpinkski's "game" is an algorithm that draws Sierpinski's Triangle # with turtle graphics. # More info at https://en.wikipedia.org/wiki/Chaos_game __version__ = 1 import turtle import random, time turtle.tracer(60, 0) # Make the turtle draw faster. turt...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
fde55b5a3648bcfe490c9f8c8e0cbf37acb2e5d6
a8406d01b06cd3396f352f9af3566ba05290f7aa
/Process_scripts/Process_rates_vs_most_probable_angle.py
96ab49e5f6076b1601246805e7ab0cf37ae7e07f
[]
no_license
jeremyfirst22/RasRal
e0c1d854fd214fa939786e88c4b09bd2896b3c72
aaf76d121e555309ff2860ba7fdc693b5a5e9802
refs/heads/master
2020-03-19T06:40:20.517085
2018-10-03T15:56:31
2018-10-03T15:56:31
136,044,628
0
0
null
null
null
null
UTF-8
Python
false
false
4,455
py
import glob import numpy as np import matplotlib.pyplot as plt import os from os import sys from matplotlib.colors import LogNorm import matplotlib.lines as mlines from scipy.stats import linregress from matplotlib import rc_file exp_data = 'Exp_data/rates.txt' molecList = [ "D", "E", "F",...
[ "jeremy_first@utexas.edu" ]
jeremy_first@utexas.edu
82007a452c88254027043a20660bcc187093a2e2
444814a52f0a4dd3e0e7020cdb9634b0b0d205c0
/{{cookiecutter.project_snake}}/manage.py
2fbe4b851685f0295e7517177e51df6ac5cb4dd9
[]
no_license
DaanVandenreyt/GDC
7aff842c1b2d0bdb5ac2d436e332b6244136b0aa
cd9d63d35af68f83d7329a5aea6362f70cff781b
refs/heads/master
2023-08-17T09:29:16.634742
2021-09-30T13:30:19
2021-09-30T13:30:19
409,597,166
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{{cookiecutter.project_slug}}.settings.env') try: from django.core.management import execute_from_co...
[ "daanvandenreyt97@gmail.com" ]
daanvandenreyt97@gmail.com
a5144a378d1c6f11acc14f3b729d7e161dcd536a
26b8836519954989c425a48c8e10887e557c9318
/twitter_api/auto_reply.py
fc084a3e0d530a1708b0f52faa0e8f3ac78bee8d
[]
no_license
SHIVANGKANSAL/Covid-Bot
1f5ecc3f672518e2e93bbf00fdb06652f7dbdbf3
7d5709700afc27e1594f12f5540e90df54329e37
refs/heads/main
2023-04-05T16:46:02.991848
2021-05-01T20:33:50
2021-05-01T20:33:50
363,320,108
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import tweepy import requests from config import FIREBASE_NEW_URL, FIREBASE_REPLIED_URL, FIREBASE_NEW_REPLIED_URL from auth import authenticate, authenticate_another, authenticate_search auth_reply = authenticate() api_reply = tweepy.API(auth_reply, wait_on_rate_limit=True) def get_mentions(since_id=0): tweets = ...
[ "noreply@github.com" ]
noreply@github.com
b8d25bec73026317ad574db7757b46cd32fddd08
a5133ad3d9cf70f1f9dbbfc4554754e421ceca70
/D57.py
3aa7a8caa86e74e29797f22bdcb6580426077167
[]
no_license
C08-System-Design/WP5
d2de65ceb6860172eff56f020b191ba9fcebb309
ab7bcde4c4ef393082439b8b3fa9cbf30e28d33a
refs/heads/master
2023-02-02T01:58:37.585005
2020-12-18T01:36:13
2020-12-18T01:36:13
317,874,061
0
0
null
2020-12-02T16:26:29
2020-12-02T13:40:22
Python
UTF-8
Python
false
false
907
py
# --- Class Particle created --- # class Particle: K = 0.7 # from the reader, true for most metals, therefore our surfaces _registry = [] def __init__(self, name, m, v, rho): self._registry.append(self) self.name = name self.m = m self.v = v self.rho = rho def ...
[ "kovargeorge@gmail.com" ]
kovargeorge@gmail.com
9d3ca8e167fe19edd13961385bbbbb9c4e7044e0
4b660991e5c9c93c83dccccdd3ea91531201e8a3
/DSA/maths/no_of_digits_in_integer.py
29ded29f42bdc34643bb57de4ce1da332fb779f1
[ "MIT" ]
permissive
RohanMiraje/DSAwithPython
2a1515fa5f9e5cc76b08a3e6f0ce34e451fb6f4b
ea4884afcac9d6cc2817a93e918c829dd10cef5d
refs/heads/master
2022-09-24T08:57:04.695470
2021-10-21T01:06:06
2021-10-21T01:06:06
238,381,770
2
0
null
null
null
null
UTF-8
Python
false
false
608
py
import math n = 1234 def count_digits_iterative(val): count = 0 while val > 0: """ int division should be performed for correct result""" val //= 10 count = count + 1 print("count:{}".format(count)) def count_digits_recursive(val): if val <= 0: return 0 return 1+...
[ "rohanmiraje19@gmail.com" ]
rohanmiraje19@gmail.com
754597df1f9ee4389e2e861a530cb74f9ef41404
3b504a983f1807ae7c5af51078bfab8c187fc82d
/client/gui/HUD2/features/Minimap/__init__.py
eaf007d61bd57e49e8c0c0b32e684945bf571053
[]
no_license
SEA-group/wowp_scripts
7d35fd213db95ea6b3dbd1ec6d3e0f13de86ba58
2fe54a44df34f2dcaa6860a23b835dcd8dd21402
refs/heads/master
2021-09-07T23:10:13.706605
2018-03-02T17:23:48
2018-03-02T17:23:48
117,280,141
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
# Embedded file name: scripts/client/gui/HUD2/features/Minimap/__init__.py pass
[ "55k@outlook.com" ]
55k@outlook.com
6d7904369dd30c52f3d51cd40a23fb9547c7324f
1cb86cf090a593c73b4c66d1f0a900607794877b
/VikySandIsabelleFO/continu_break.py
f50cdc162c2721c1b4b31e74a9b912f5444ccfec
[]
no_license
acgis-sun00163/gis4107-day06
1efbec60f068c133ba497412a859e2e77533c404
2f1b0123bc0aa24868b1c1665524d0d4ffbce899
refs/heads/master
2022-03-01T10:22:20.258642
2019-10-16T02:28:15
2019-10-16T02:28:15
215,068,526
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
#------------------------------------------------------------------------------- # Name: continue_break_examples.py # # Author: David Viljoen # # Date: 13-10-2019 # # CreatedBy: Isabelle and Chengjiaqi Sun #------------------------------------------------------------------------------- def main():...
[ "noreply@github.com" ]
noreply@github.com
fc7c1ee39255bc0593a6aa158a0bf16076cf99f1
7fe904cd60b3ff62f0dc87adaa68f1c9dc57674a
/spaa.py
d33bfa9575022dff305601b3882b7f522f7621f5
[]
no_license
viveka98/albin
550f1223d0e7a7e064722cf646f6ae1f3d2c5907
5bef3b082e9cd74d16b60c2e3f2e4985d55b0d8d
refs/heads/master
2020-06-10T12:39:38.123663
2019-07-29T05:45:01
2019-07-29T05:45:01
193,646,385
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
import sys, string s1 = input() k1 = 0 for c in s1 : if c.isalnum() or c.isspace() or c=='_': k1 += 1 print(len(s1)-k1)
[ "noreply@github.com" ]
noreply@github.com
e71f0134364685215b27bcc6a91303f4223b8f5c
dff39e030f7e82e990da7fe2439f0e9d26b3281a
/HW7_4.py
2aed3fabaa14a94a100d32e2172443af4381227e
[]
no_license
SMG17/Homework7
acb78badfc84a99c0ec097eaea01eb64103c6bca
89cde2ca3702267c7e7c6dc9933ae02ed34e4c7b
refs/heads/master
2021-01-19T23:02:26.287339
2017-04-24T18:01:39
2017-04-24T18:01:39
88,912,866
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
import gffutils import pysam import numpy as np import scipy.stats as st db = gffutils.FeatureDB('yeast.db') bamFileBY = pysam.AlignmentFile("outputBY.sorted.bam","rb") bamFileRM = pysam.AlignmentFile("outputRM.sorted.bam","rb") output = open("HW7_4_data.txt","w") GeneNames = [] k_BY = [] k_RM = [] N_BY = 0.0 N_RM = ...
[ "marianne.gagnon@temple.edu" ]
marianne.gagnon@temple.edu
d8c1136a5198095b1691fbc0b5731e97f5c587c5
52282900d502107635b5cc9ab4a656e3e9cf8a2e
/Basic Data Types/List Comprehensions.py
5e01d1952acfb8448a2e50200b6957a6360a6bc7
[ "MIT" ]
permissive
AbdallahHemdan/Python-Solutions
e0d8b3bc319aa13544b4cc015628b1f72783348f
0e388b4f594a210426791246ca1278a6a872dd96
refs/heads/master
2020-03-28T11:33:00.856440
2019-01-12T02:34:39
2019-01-12T02:34:39
148,224,778
4
1
null
2018-12-23T02:59:06
2018-09-10T22:04:16
Python
UTF-8
Python
false
false
285
py
if __name__ == '__main__': x = int(input()) y = int(input()) z = int(input()) n = int(input()) ans=[[i,j,k] for i in range(0,x+1) for j in range(0,y+1) for k in range(0,z+1) if i+j+k!=n ] print (ans)
[ "noreply@github.com" ]
noreply@github.com
e569df3faadabbab82059b05b660d87365bc5e52
5eff9df4d276e83c68ce843d58868499858f701a
/Interview/Greedy/trapping_rain_water.py
609525ea51b454b1625eb050a948ac29accde164
[]
no_license
arunraman/Code-Katas
b6723deb00caed58f0c9a1cafdbe807e39e96961
7fe3582fa6acf59a2620fe73e1e14bd8635bbee8
refs/heads/master
2023-03-04T17:27:44.037145
2023-03-02T21:09:53
2023-03-02T21:09:53
25,232,784
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
class Solution: # @param {integer[]} height # @return {integer} def trap(self, height): n = len(height) l, r, water, minHeight = 0, n - 1, 0, 0 while l < r: while l < r and height[l] <= minHeight: water += minHeight - height[l] l += 1 ...
[ "arunraman.19@gmail.com" ]
arunraman.19@gmail.com
619b8961b898047325159cb1d6cf4914abe419b6
bd22ab96d11b5b39a110e7a6f91efe5fcf0cbf98
/Scrapper2.py
5df0441854f70d5eec57cfb826fefd28613af3c1
[]
no_license
hackmact/Hack_Indore2.0_HackMACT
0926953cc46d814ba0d47da2017f6143bda91cc8
ea25a382a54b5ee46013e35708f4e866df10554b
refs/heads/master
2020-08-06T08:36:02.189428
2019-10-05T10:23:19
2019-10-05T10:23:19
212,909,676
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
"""The Scrapper2 is also made to generate the progressive solutions It searches the google home-page for disposal techniques of the predicted type of waste and suggest it to the user. Scrapping can be further optimised by being more selective while scrapping the data.""" from urllib.request import Request, ...
[ "noreply@github.com" ]
noreply@github.com
852fddd180d3bd62cfa1ebafcb69934b0af87427
ee8d42fbf8b5af1acf777124cae728a6aa1f25ad
/kernel/kernel.spec
3926323ad8cbbc5b829988987a6024e1ae165f67
[ "Apache-2.0" ]
permissive
cybercom-finland/ware-rpms
400a08261270cc980fa350cd64400f81f591c590
74c896fbd6ad7f86e75b9687a1c5be4c923248be
refs/heads/master
2020-06-30T15:04:58.710397
2018-10-02T14:28:15
2018-10-02T14:28:15
74,363,199
1
0
null
null
null
null
UTF-8
Python
false
false
4,119,338
spec
# We have to override the new %%install behavior because, well... the kernel is special. %global __spec_install_pre %{___build_pre} Summary: The Linux kernel %define dist .el7 # % define buildid .local # For a kernel released for public testing, released_kernel should be 1. # For internal testing builds during deve...
[ "Markus.Linnala@cybercom.com" ]
Markus.Linnala@cybercom.com
3abc8d2e8bdfe54cadf912b0c608d2d9f99d4cea
9348b8d7e9cf98f0069d65266d0aace6767d170b
/Scripts/plot.py
a111640d570f395400c5ed92cf6e8a387754bad1
[]
no_license
pickpikyup/DeepLearningXoanon
af7d003d5e8ea8beea8c13b9ea00ddaa324bd0d7
c0894c820fadcba9eac787f42d5ffc85d3af9d1b
refs/heads/master
2020-08-13T22:12:39.929997
2020-01-15T14:26:46
2020-01-15T14:26:46
215,046,259
2
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
# -*- coding: utf-8 -*- """ This is a Python3 Script Created by: Xuanqi HUANG Date: 2018/11/11 """ import pandas as pd import numpy as np from matplotlib import pyplot as plt def barplot_stakced(data, x, y, hue, hue_order=None, order=None, ax=None): """ Input: Data: pandas.DataFrame x: ...
[ "XHUANG@treville.mousquetaires.grp" ]
XHUANG@treville.mousquetaires.grp
c84de4805e522b7f1cf93d7b447f463df4b5819b
375e7202be07baaab8e9fdefd8f88db6864587e4
/source/webapp/migrations/0006_auto_20201024_1006.py
3c1ab5682de90420bb3d3d74ac247bde75af19e9
[]
no_license
Beknasar/python_group_6_exam_9_Ulanbek_uulu_Beknasar
88b2273671b3f529967b45bb181cfe705fe4465b
f5034f08e0fee151522f978155df17dcf216ccbc
refs/heads/master
2023-01-03T22:03:47.316035
2020-10-24T13:59:31
2020-10-24T13:59:31
306,726,736
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
# Generated by Django 2.2.13 on 2020-10-24 10:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('webapp', '0005_chosen'), ] operations = [ migrations.RenameField( model_name='chosen', old_name='User', new_nam...
[ "680633@gmail.com" ]
680633@gmail.com
8ee78d6fe66f8adff3666d71598a1ddcbf716a6e
1985d56fb51077140f94fe154414eb326926d62e
/actions/__init__.py
ad3baa95c2fd5f84d2f0a41fe373d45204ea9db4
[ "MIT" ]
permissive
chrmorais/Kivy-Redux-TodoList
65e9e5ac44c5630d424a3d2779cd634f8eba3195
9c6986d608811dede6dba97ff65b96751a1d91f0
refs/heads/master
2021-01-10T18:10:43.918075
2016-03-01T23:30:27
2016-03-01T23:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from action import Action next_todo_id = 0 def add_todo(text): global next_todo_id action = Action('ADD_TODO', t_id=next_todo_id, text=text) next_todo_id += 1 return action def set_visibility_filter(vis_filter): return Action('SET_VISIBILITY_FILTER', vis_filter=vis_filter) def toggl...
[ "kovac1066@gmail.com" ]
kovac1066@gmail.com
62113aca564df51e3337f0bae6207dc3b4484b5e
e8e9fe648678b7fd06378c71bae12c9f146a9e71
/blog_site/mysite/blog/urls.py
729c53fae2ad777a838b582414e18ab7bd461cc4
[]
no_license
diduabanjr/practice-blog-site
1b65c3e3cc306b4949dcc2b4a798b55cfa7089ca
447e4a1b81fc74cbf85b5d3cb5ecc471ce693932
refs/heads/master
2022-09-30T16:27:34.211185
2020-06-01T03:54:49
2020-06-01T03:54:49
268,419,459
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
from django.urls import path from blog import views urlpatterns = [ path('', views.PostListView.as_view(), name='post_list'), path('about/', views.AboutView.as_view(), name='about'), path('post/<int:pk>', views.PostDetailView.as_view(), name='post_detail'), path('post/new/', views.CreatePostView.as_vi...
[ "diduabanjr@gmail.com" ]
diduabanjr@gmail.com
d95d4bb799a572fe9101aed330e95f5c19a60b5f
e13a82f50040ed8441154efb63600664f4852267
/src/goals/migrations/0011_auto_20201109_1946.py
5dc2923d20535f531876f7200d673a4b46296b6a
[]
no_license
adakane1/CSC-4350-Project
3fb22730b0fae707ec8142ac9e171fae6b0c5cb8
c0d0773fb9ad99ed9fd4b4c77e35eb087ae312ce
refs/heads/master
2023-01-24T06:50:51.206993
2020-12-05T03:26:17
2020-12-05T03:26:17
294,516,792
0
2
null
2020-12-04T04:17:17
2020-09-10T20:35:24
Python
UTF-8
Python
false
false
1,354
py
# Generated by Django 3.1.2 on 2020-11-09 19:46 import datetime from django.conf import settings import django.contrib.auth.models from django.db import migrations, models import django.db.models.deletion import goals.models class Migration(migrations.Migration): dependencies = [ migrations.swappable_de...
[ "woodymontilus@Woodys-MBP.attlocal.net" ]
woodymontilus@Woodys-MBP.attlocal.net
4996c404a64b8826ec0b1de334cc324284d61846
b21fed91af8def1ec9a395d287ff548f77a077cd
/tests/unit/oil/barrels/aws/test_cloudwatchlogs.py
46a2aff9e602c1c3e28f8cc1ce6425bcdcfb2798
[ "MIT" ]
permissive
coolfriends/oil
cbdee4b759c0154198765611f912a1e8b4d1fa86
d0eb2836f1bc551a50a6dbdc9128bee43d305e39
refs/heads/master
2021-09-06T17:39:42.387404
2018-02-09T05:54:13
2018-02-09T05:54:13
108,764,646
3
1
MIT
2018-02-09T05:54:13
2017-10-29T19:33:02
Python
UTF-8
Python
false
false
4,116
py
import unittest from unittest.mock import MagicMock from oil.barrels.aws import CloudWatchLogsBarrel class CloudWatchLogsBarrelCase(unittest.TestCase): def client_mock(self, fixture): client = MagicMock() paginator = MagicMock() response_iterator = fixture paginator.paginate.retu...
[ "noreply@github.com" ]
noreply@github.com
77862fda4c5855faf35a1b9bb3765e531974a798
ad40044b2910577c9eb75e408fe256856839aba0
/venv/Scripts/rst2pseudoxml.py
9283d053b86484671cd351b54f45d04588742fa0
[]
no_license
anika2302/ETL-project
09b77c50c8cf112e9bb59d5d74ebd8bbe0f1c791
3917b9eade57cecc206ff4712490f99e0154ca5b
refs/heads/master
2020-03-16T12:14:29.609057
2018-06-07T16:45:05
2018-06-07T16:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
#!c:\users\anika\pycharmprojects\redshift\venv\scripts\python.exe # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing pseudo-XML. """ try: ...
[ "anikapatel2302@gmail.com" ]
anikapatel2302@gmail.com
d959a7837ca97d576495db9c780b5b63e55defee
abdd2abe372b01f934aa3a0d479affdd2a5bc280
/src/tests/b2g/appscrolling/messages.py
e34228c476353903d52ea3e9f21f7d3d116edf73
[]
no_license
rgfernandes/eideticker
6d1dcd47f09865f93940e5ec03930198fc91e15d
db322b71a80c248d49c9eba4cb4205e67d62cdd9
refs/heads/master
2020-12-03T07:59:13.016413
2014-01-16T13:43:12
2014-01-16T13:43:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
import time from gaiatest.apps.messages.app import Messages from marionette.by import By from marionette.errors import NoSuchElementException from marionette.errors import ElementNotVisibleException from marionette.wait import Wait from eideticker.test import B2GAppActionTest class Test(B2GAppActionTest): def __...
[ "wlachance@mozilla.com" ]
wlachance@mozilla.com
1bfcc9a82a868def89a5c30d4d1e471ec4d66050
0c56a06af7d4fe33f5b11a3a8cb027b32fc06bad
/build/lib/nmc_verification/nmc_vf_product/yes_or_no/__init__.py
b92fa26602ca7fb969dd694b733d71020d117b68
[]
no_license
liucouhua/meteva
8117fc332de4fd4248b0e5f76172c9733769e5ce
24b2fed10360a39bd92c606ab118bda6147784ab
refs/heads/master
2021-02-09T22:21:59.173867
2020-03-04T01:49:42
2020-03-04T01:49:42
244,329,812
1
0
null
null
null
null
UTF-8
Python
false
false
21
py
from .score import *
[ "liucouhua@163.com" ]
liucouhua@163.com
aad06fd2a845f988fe4bdafcc96ce188e381f2e9
4aef7ae6f82ceddb35a5ed004770a4a90bdace89
/app/models/CharacterSkill.py
eacf94d1fa1476e19497b5817e25079d43a21adb
[]
no_license
woliveira82/swsheetmaker
138ff78af7fe6c6d6ed6c16a961d531b8835d3e4
514fff4acdfc06c5aa4d2c7db8088fb3f5a47edb
refs/heads/master
2023-05-27T21:20:29.270960
2023-05-21T09:32:31
2023-05-21T09:32:31
163,627,006
1
0
null
2023-05-21T09:32:32
2018-12-31T00:21:07
Python
UTF-8
Python
false
false
438
py
from app import db class CharacterSkill(db.Model): __tablename__ = 'character_skill' id = db.Column(db.Integer, primary_key = True) character_id = db.Column(db.Integer, db.ForeignKey('character.id')) skill_id = db.Column(db.Integer, db.ForeignKey('skill.id')) def __init__(self, id, cha...
[ "woliveira82@gmail.com" ]
woliveira82@gmail.com
8784c0b7a3eddc850ca1e5ab837af46f233d9b06
8c06f1ace44102b630ae1627cd532a6a32a391c6
/exotica_examples/scripts/example_sparseddp_valkyrie_double
4aaa19bf65e2deff653a97d415decf4151e4ce49
[ "BSD-3-Clause" ]
permissive
stevewen/exotica
7540200ec618d379335158a9a87f861624878acd
84e61c8b363df86da36fbcbea7c588625e06c4df
refs/heads/master
2023-01-11T07:16:29.772825
2020-11-16T09:50:50
2020-11-16T09:50:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,456
#!/usr/bin/env python from __future__ import print_function import math from time import time, sleep import rospy from visualization_msgs.msg import Marker, MarkerArray import numpy as np import pyexotica as exo from pyexotica.publish_trajectory import * from collections import OrderedDict import matplotlib.pyplot...
[ "traiko.dinev@gmail.com" ]
traiko.dinev@gmail.com
f929367790e4dbb42dae64141a2c8932c1279698
ee3fbe3896d9ae3584730e124e21b12f5c6f7b28
/dytt_spider.py
ddfe1055f8e9110e2110fccef52a8469d2a4574f
[]
no_license
Sweltering/dytt_spider
6d04cafe2f6f75372051dcb66a0a0308591a058e
f505233f6428855530f926f56b9e11eb678a1f77
refs/heads/master
2020-03-27T00:38:55.680678
2018-08-22T01:59:36
2018-08-22T01:59:36
145,642,072
0
0
null
null
null
null
UTF-8
Python
false
false
4,341
py
# 爬取电影天堂2018新片电影数据 from lxml import etree import requests BASE_DOMAIN = 'http://www.dytt8.net' HEADERS = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 ' '(KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36', 'Referer': 'http://www.dytt8.net/html/gndy/dyzz/list_23...
[ "wj@magedu.com" ]
wj@magedu.com
670f0f1de74ce2b85c52f97a85a09dd4fe224fa0
bd5740c10fea0666db97a27486eaeaaf1292ccf6
/main.py
85a911ddc8aba58dbe4b812c62dc80a8e3550fb4
[]
no_license
0xMDIV/parking_helper_school
8c8e058baf43372839552f6fe485a60cd9244982
a7e73d286f1e3677e6bd7a2959acefa32cdd5f49
refs/heads/master
2020-06-04T22:09:42.971144
2019-06-28T23:33:35
2019-06-28T23:33:35
192,209,822
0
0
null
null
null
null
UTF-8
Python
false
false
3,921
py
# import libs import time import os import atexit import RPi.GPIO as GPIO # text to speech from gtts import gTTS tts = gTTS("Hallo Herr Kirchner, willkommen bei Ihrem persöhnlichen ParkAssistenten", lang="de") tts.save('startup.mp3') os.system("mpg123 startup.mp3") # nobody like warnings GPIO.setwarnings(False) # set...
[ "0xMDIV@gmail.com" ]
0xMDIV@gmail.com
5da80df55f8c4ce78004cf3a4433d0a4920482c5
b79722d0fe50d27e73504f5489183523b9cfe3e0
/utils_data.py
cb8b4879a9c3210406eee3aad0472f742a25845c
[]
no_license
theainerd/comp-insurance
2572b220424fada8b047bb3e3da1a3f6fcbc2832
7d354448600724b8ffecf4c7868823d9ddce0e06
refs/heads/main
2023-04-07T10:08:37.187978
2021-04-12T08:11:48
2021-04-12T08:11:48
357,066,831
1
0
null
null
null
null
UTF-8
Python
false
false
5,352
py
import sys import numpy as np import torch import torchvision.transforms as transforms from torchvision import datasets import torchvision.models as models from torch.utils.data import Dataset, DataLoader, WeightedRandomSampler import os import pandas as pd import seaborn as sns from tqdm.notebook import tqdm import ...
[ "beingprofess@gmail.com" ]
beingprofess@gmail.com
e7c62abb06f8fb883be8b5d60f047cd710897546
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev1889-1952/base-trunk-1889/exe/export/websiteexport.py
2debf2676c55a162f86ee5003892d3133b72f92f
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
3,500
py
""" WebsiteExport will export a package as a website of HTML pages """ import logging import re import imp from cgi import escape from exe.webui.blockfactory import g_blockFactory from exe.engine.error import Error from exe.engine.path import Path from exe.export.pages im...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
f28ac2bf81b0e10e6d7dc0accbb41a97545a3526
28af60028478f76ef4ddfbf2ffc09a6011505e04
/docs/conf.py
0612e2c3340cf5dd0f3035be94081f9804d982d1
[]
no_license
thebaron/metlog-py
b6b78b42feb77d6c64baecc6c7e1b6a637d78e73
2bcdde43ba387106f1b602a0c37ad51bc19e665e
refs/heads/master
2020-12-25T03:12:02.488482
2012-06-13T20:47:43
2012-06-13T20:47:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,042
py
# -*- coding: utf-8 -*- # # metlog-py documentation build configuration file, created by # sphinx-quickstart on Wed Feb 8 17:50:44 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # A...
[ "rob@kalistra.com" ]
rob@kalistra.com
7c3b16643ca05c81a9d5e489fef5f570756f079a
7203f3e3bd6eb2cdc260f82d11cd653b21138f66
/scripts/jobman_mnistbackimg/hossrbm_mnistbackimg_experiment2.py
15adbcdeb759b2dbb840df8ff7f146189fb74a55
[]
no_license
gdesjardins/hossrbm
2887a505a36a373ac944243dd3a00a41d731e446
6b1e9a8b014349d559f28261b48c952487ca5b24
refs/heads/master
2021-01-10T19:06:12.867070
2013-08-21T21:37:40
2013-08-21T21:37:40
7,263,333
1
0
null
null
null
null
UTF-8
Python
false
false
6,149
py
import numpy import theano import theano.tensor as T import pylearn2 import pylearn2.config from pylearn2.utils import serial from pylearn2.scripts.jobman.experiment import ydict dataset =\ """ !obj:pylearn2.datasets.mnist_variations.MNIST_variations {{ "which_set": {which_set}, "variation": ...
[ "guillaume.desjardins@gmail.com" ]
guillaume.desjardins@gmail.com
fd9b7d863f3a43b45bb5b3cf8038b8258473e662
9c4e87f97c63554120da69641630c51a80f87933
/pygeoapi/linked_data.py
6aeae909cc53ba1522ea7ba71da43fcf7719aa08
[ "MIT" ]
permissive
timtuun/pygeoapi
34aad56cb8c4a7e66685fb8901f06aeb5ea3351b
56500e61555bdba0a72c028a8399d0a1c36aca67
refs/heads/master
2020-11-24T20:12:07.540286
2020-01-13T02:07:21
2020-01-13T02:07:21
228,325,680
0
0
MIT
2019-12-16T07:14:50
2019-12-16T07:14:49
null
UTF-8
Python
false
false
7,448
py
# ================================================================= # # Authors: Tom Kralidis <tomkralidis@gmail.com> # # Copyright (c) 2019 Tom Kralidis # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in ...
[ "noreply@github.com" ]
noreply@github.com
af7f1a08fcee98315e88bab109eb5c012f88c2ce
14980a01ab433f526297820716330c5177351aa9
/generate_report.py
193132405c01bd40cf3ef23f649110403e2d534f
[ "Apache-2.0" ]
permissive
dastratakos/COVID-19-Report-Generator
4111e85d87fba13e601d0300f7b1e4e24339633f
8feab119bab09309dfdd9704ea7da185b6036e66
refs/heads/main
2023-02-02T13:46:05.340891
2020-12-20T07:51:43
2020-12-20T07:51:43
317,122,252
0
0
null
null
null
null
UTF-8
Python
false
false
5,440
py
from datetime import datetime, timedelta import os from fpdf import FPDF import plot import util WIDTH = 210 HEIGHT = 297 DARK_BACKGROUND = './resources/dark_background.png' class ReportGenerator: def __init__( self, filename='report.pdf', states=util.TEST_STATES, ...
[ "dastratakos@gmail.com" ]
dastratakos@gmail.com
ef41214c223dda3c5d3ed6a670232bbf488593ce
8486f822f9264e7fd98101e1e16c236b84a3e165
/gamestatenode.py
d75814996552822ee85731c714eefc1d00d5665b
[]
no_license
daunlee/mini_capstone
6e4926c2bb4e8bb7bfcce2e4bd6ae54ec7978229
cdc546bf4e296aa936466bc3ddbbebf53cae0a74
refs/heads/master
2020-05-30T01:35:28.560501
2019-06-12T22:24:06
2019-06-12T22:24:06
189,480,565
0
0
null
null
null
null
UTF-8
Python
false
false
8,929
py
from copy import deepcopy """ This is not meant to be used directly as an object, but serves as a abstract parent object for various Adversarial Game Search problem representations. Your algorithms will use GameStateNode objects, making them generalizable for all kinds of problems. """ class GameStateNode: ...
[ "noreply@github.com" ]
noreply@github.com
d7070002c115ec45a21aaf71f14bca7dcad38f47
64388acd4a5dbf0b378e12b77292dfe9da2f1a6b
/menu_items/migrations/0002_menuitem_type.py
f28e6f9e3782f830872d48155c39ea7455a98cbe
[]
no_license
Mrmnirun/backendhome
3d403e58772b70a1d3d50d2288b86d71c9f91c58
bb30c615d83dc5ea9c6fd13bc176d52050edb56b
refs/heads/main
2023-08-02T21:57:43.628162
2021-10-02T16:11:29
2021-10-02T16:11:29
412,845,204
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Generated by Django 3.2.5 on 2021-08-28 16:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('menu_items', '0001_initial'), ] operations = [ migrations.AddField( model_name='menuitem', name='type', ...
[ "wimukthi.18@cse.mrt.ac.lk" ]
wimukthi.18@cse.mrt.ac.lk
ef93f6798d54e2c821b0310f52a3af0697ad6069
310ab291dc5168957ba4ad6e3d23c8b434353d40
/main.py
37fc87bea0f9ac9eb39bd28ca4ca963d98a31eda
[]
no_license
whitehatguy12/masterhacker
2f2308862f017d11f2da92c5d13215c65112b7aa
cbe326d1e87063605e79497eeb9c70ea75861228
refs/heads/master
2022-07-05T22:19:54.498137
2020-05-16T14:56:50
2020-05-16T14:56:50
264,460,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
import threading import os import subprocess from _modules import chrome from _modules import privesc from _modules import keylogger from _modules import persist from _modules import client def chromepass(filename="error.txt"): print("Getting Chrome passwords") chrome.get_pass() print(f"Chrome ...
[ "noreply@github.com" ]
noreply@github.com
ff8c3d22c566c6faba5be8a8625999c220c16dd4
592e01558a8dafca01b143c2f063a196edc0ea77
/05-django/02-required/Users_project/Users_project/urls.py
424444c859c070dfa064b3d026b1a7fcd46b6a28
[]
no_license
Python-November-2018/nshredz
899ccb975cbb6779771f0e3555f82235a16556a6
ad840b570546dc036eb135c5edb1a9de58e8b1f8
refs/heads/master
2020-04-03T22:34:31.629095
2018-12-18T21:01:58
2018-12-18T21:01:58
155,607,368
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
"""Users_project 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') Cl...
[ "44245934+nick77-s@users.noreply.github.com" ]
44245934+nick77-s@users.noreply.github.com
7b4389d05d3db779308ee9b3cec37bf0262517c0
914e10cf719f4d198df19e4d8629397653f18a8e
/main.py
c3c3ecaa938a59b17a55a6f016f380347907b9ac
[]
no_license
hongseokhan/Bulls_and_Cows_ver_0.4
c142868f7f9f22eab53c1810019544734d9c5d54
248331ec45017f16cf00a47ab1d2ef980159ce87
refs/heads/main
2023-02-13T15:18:00.471918
2021-01-10T05:45:53
2021-01-10T05:45:53
328,311,870
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
from gameinterface import Gameinterface print('\n--------------------------------------------------') print(' 숫자야구게임 ver 0.3 by khan ') print('--------------------------------------------------') print('\n 1:PvE 대전 2:PvP 대전 ') gameinterface = Gameinterface() gameinterface._select_game_mo...
[ "tjrgksghd840@gmail.com" ]
tjrgksghd840@gmail.com
c7b8096190f9a058bc5306644b9dd92b360b9204
2103a0d7ef742bad2148eca8bf74557aef629a43
/python_practice/course_1/test/conftest.py
8f24657638464718928d910fcbbd066f196890fb
[]
no_license
wegiod/hogwarts_lg40053
03a382e188bbacb13f7a43c09647d20bd4e781ec
9b6a094a849c89068230a293fa534ae6596775fe
refs/heads/master
2023-04-02T01:40:31.502004
2021-04-09T05:56:01
2021-04-09T05:56:01
306,269,635
1
0
null
null
null
null
UTF-8
Python
false
false
335
py
# -*- coding: utf-8 -*- # @Time :2021/3/26 5:10 下午 # @Author :jxd # @File :conftest.py from python_practice.course_1.core.Calc import Calc #scope='module'方法级别 'classes'类级别 'packages'包级别 import pytest @pytest.fixture(scope='module') def calc_init(): print("setup_class") return Calc()
[ "1904123734@qq.com" ]
1904123734@qq.com
1633a2ae1f6dff761de7ef65782826e3694e908b
8c49f44c6272409e2f9e57f2ad25e51b0005114c
/Drills/Drill-04/character_moves.py
702a3096480bc402b4e3c2fa7376f298312e89b9
[]
no_license
DelHa/2017180006-2DGP
519c915b30f39181d8cf4bbbd15de719b973e5a3
a3f0a1ab5e74b16053e4f9fbdc9a96703aa3c09f
refs/heads/master
2020-03-28T12:25:54.069739
2018-11-27T10:13:26
2018-11-27T10:13:26
148,297,008
1
0
null
null
null
null
UTF-8
Python
false
false
515
py
from pico2d import * open_canvas() grass = load_image('grass.png') character = load_image('character.png') x = 0 while(True): while (x < 800): clear_canvas() grass.draw(400, 30) character.draw(x, 90) x = x + 2 update_canvas() delay(0.01) get_events() w...
[ "39023756+KimJiYeong@users.noreply.github.com" ]
39023756+KimJiYeong@users.noreply.github.com
4b666ad8cc4987debac411491b4b8b883e9986bb
d070c1750b55bcc4e8003b2f7212f61d35b1d01b
/headlines.wsgi
e3dcbb901e62b9d7c821989d4232934dd267ad07
[]
no_license
SoyamDarshan/headlines
4cae86ec9571bdd53c6cceeb57dc6a56f06bbf2b
a055c2b155e602f8b88d2853af6a23dff02e8bad
refs/heads/master
2020-09-27T17:24:40.398383
2019-12-10T17:39:26
2019-12-10T17:39:26
226,569,221
0
0
null
null
null
null
UTF-8
Python
false
false
231
wsgi
import sys sys.path.insert(0,'/var/www/headlines') sys.path.insert(0,'/home/ubuntu/venv/lib/python3.6/site-packages/') #sys.path.insert(0,'/home/ubuntu/.local/lib/python3.6/site-packages/') from headlines import app as application
[ "soyamdarshan@gmail.com" ]
soyamdarshan@gmail.com
5695bd50a8ef069385f55c67934ca13f4e04fdb0
e9e95d5b986e922392c787685c7f24afc5b6e072
/kthLargestElem_215.py
2de4780371759d6d0997ab85eddb9e79cfc2a8c9
[]
no_license
vatsaashwin/Heaps-1
e1c629b297787403c67c01b7d034dfc078d4280c
e1fdbf6c8afae263dab4320dc08fba21542b2e8c
refs/heads/master
2022-12-23T18:09:19.093497
2020-09-30T12:04:43
2020-09-30T12:04:43
299,766,065
0
0
null
2020-09-30T00:02:51
2020-09-30T00:02:50
null
UTF-8
Python
false
false
1,294
py
# // Time Complexity : O(n logk), log k to push n elements on the heap # // Space Complexity : O(k) # // Did this code successfully run on Leetcode : Yes # // Any problem you faced while coding this : No # // Your code here along with comments explaining your approach: # Approach 1: Brute Force # Sort the array and...
[ "aashwinvats@GMAIL.com" ]
aashwinvats@GMAIL.com
8a82f031088fc87392fec83cd43a88edeab24623
c0cf541978ab22c32ee5290410f874db252ab38d
/ProgramaciónAvanzada2018/graficacion1.py
008fcbc53de079b98c728c757247c0d4e02edac2
[]
no_license
fhca/ProgramacionAvanzada_2018
3bf3283e3aa628271df33a1589c5e1e0edff9cd3
6ddfb759adb41e48d0dc838a06c132a5179d3a96
refs/heads/master
2021-07-08T06:48:34.955969
2019-03-05T01:54:28
2019-03-05T01:54:28
147,150,138
1
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
__author__ = 'fhca' from numpy import sin, pi, log # Bibliotecas para graficar: tkinter, matplotlib, bokeh import matplotlib.pyplot as plt def f(x): return sin(x) def graficar(intervalo, función, tamaño=100): delta_x = (intervalo[1] - intervalo[0]) / (tamaño - 1) x = intervalo[0] xs = [] ys =...
[ "hobber.mallow@gmail.com" ]
hobber.mallow@gmail.com
2d9ae7359eff2a9d75973cd67872aa1559e435a6
ac3b97dc0b445d8ee02f2d55fb30fd6ebee438ff
/iwr6843aop_pub/setup.py
5c74c01108525d2a5b7f20a0875821086fa464b9
[]
no_license
nhma20/ultra96_mmwave_interface
94ee2841728ed133d39d8871553f0cdb44845adc
dd7ff161268ddb040a9a8dd483bcdcb68226df3a
refs/heads/main
2023-08-10T17:56:42.423273
2021-09-30T14:29:33
2021-09-30T14:29:33
385,630,574
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
from setuptools import setup package_name = 'iwr6843aop_pub' setup( name=package_name, version='0.0.0', packages=[package_name], data_files=[ ('share/ament_index/resource_index/packages', ['resource/' + package_name]), ('share/' + package_name, ['package.xml']), ], ...
[ "noreply@github.com" ]
noreply@github.com
6a8640fb030f8950f1ecac86afe196dc17b5d8a8
cd97af47f049caa337e732d6bc47ef28a4dd19b3
/config.py
47feeb2d51e3f1f16ebff7d6059c518e1ab5b197
[ "MIT" ]
permissive
bharathsatheesh/whole-foods-deliverance
87e056be789c4754a5d224d182ded5eaec1fcc34
1dd0dd11ac63d55e511d9202e29d49be4dd3fc47
refs/heads/master
2022-04-14T13:35:24.082645
2020-04-10T02:55:02
2020-04-10T02:55:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,115
py
from selenium.webdriver.common.by import By CONF_PATH = 'conf.toml' PKL_PATH = '.session_storage.pkl' BASE_URL = 'https://www.amazon.com/' AUTH_URL = BASE_URL + 'ap/signin' NOT_LOGGED_IN_PATTERN = "Hello, Sign in" LOGIN_LOCATOR = (By.ID, 'nav-link-accountList') from nav import Route, Waypoint # noqa class Whole...
[ "mark@cueradioshow.com" ]
mark@cueradioshow.com
de50d78e454ba8673a808cd8e0123779c6a919d2
b0f68ae339391f48f42776317f99186df0c65489
/CS436HWI/main.py
77c372065f2db025fa3be9d947903b2f3899899d
[]
no_license
DRahmanian/CS436-SocketProgramming
5d7715a642436cc3ee3cd4168eed658651175e0e
66a5412991a38cbc688b1f61a66b42645dfe67f9
refs/heads/main
2023-08-29T02:36:25.932556
2021-10-28T22:32:06
2021-10-28T22:32:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
#import calls from socket import * import sys #initiate Socket and Port serverSocket= socket(AF_INET,SOCK_STREAM) serverPort=6789 serverSocket.bind(("127.0.0.1",serverPort)) serverSocket.listen(1) #establish a connection to the server while True: print('Ready to serve...') connectionSocket,addr= ...
[ "noreply@github.com" ]
noreply@github.com
834c927f7bcc2986882009c1b1a0f21537864018
9c4ee7049fadf3258a815ce225d1cb68a1d52bee
/026-recurring.py
89c476ed574db039f53dd8334ea8594436826ddc
[]
no_license
samidavies/Project-Euler
e9a0a2ed66cca65f44d2ed18a15f266da5a3e0b5
c0ed9b88613a3571c5f918b6c8f0de0757111685
refs/heads/master
2021-05-05T04:53:32.245113
2018-01-30T23:34:55
2018-01-30T23:34:55
118,679,746
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
import math def get_digits(d): r = 1 arr =[1] for j in range(1,2*d-1): n, r = divmod(r * 10, d) if r in arr: break arr.append(r) return arr print( max( (d for d in range(1,1000)), key = lambda d: len(get_digits(d)) ))
[ "sdavie2@uic.edu" ]
sdavie2@uic.edu
26b3b076c2bd815a70f052d35c7d90a431493bb8
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/1690.py
cd8c13f01cf1dd6534497e88d8c6e69c992f2971
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,061
py
#!/usr/bin/env python ############################################################################### ## ***** ***** Initial constants ***** ***** ############################################################################### globals()["PROP_CONFIG_FILENAME"] = "propertyConfigFile" globals()["PACKAGE...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b07d76ab0fd66de56774b8e04581f74564dc01e3
9e5a06e5a46595971650b2fff56c8f147c1d39af
/Random_Date.py
deeeaf9fb8e682677afaaacca078dd3e426eaf80
[]
no_license
andyp714/Random-Date-Generator
aee964615798f3a4ee61af7c85a771c3c0865f88
55cd405829d966d9daa26983fcb12f63cdb8f94c
refs/heads/main
2023-05-20T19:45:09.474091
2021-06-15T21:57:21
2021-06-15T21:57:21
377,302,719
0
0
null
null
null
null
UTF-8
Python
false
false
10,457
py
''' Created on Nov 17, 2020 Random Date Generator Narration: This code allows the user to select 2 years, and find a random date between those two years. The user can also choose the same year to find a date in only a specific year. The random date is the printed Features: Random Date Generation, Year Selection, TT...
[ "noreply@github.com" ]
noreply@github.com
d17a911fd27eda55aa1193b489fc397352f917c6
05a3d36ae75ad2dff849d8aef72390279f9929a9
/def07.py
3fbccead1d97fca5ce5266a909b39a8d78fcb96b
[]
no_license
Naxalov/test-github
5a83f0c62225c2359b2fa314fda709cb60498641
3fa8ca9a24c4e9d3aadd7b4e936bebf52fa60664
refs/heads/master
2023-08-20T05:24:26.269516
2021-10-30T06:46:18
2021-10-30T06:46:18
345,678,344
0
0
null
2021-03-08T14:43:24
2021-03-08T14:10:38
Python
UTF-8
Python
false
false
65
py
def func_hi1(): return 'Hello,World!' print(func_hi1())
[ "uzbzarif@gmail.com" ]
uzbzarif@gmail.com
01de9c5f41b156bc654ce509902296f877609452
47d1beba77ebde115c5d41b25a15ef144068c930
/units/management/commands/debug_units_wagtail.py
8186010059b26bb052ae2cb676babb99cdfe4ada
[]
no_license
uchicago-library/library_website
f32d7dcaf793b4646cac37ba7270715dccf84820
e5912a17ed2de3a61ede2fbebda4a258664ff696
refs/heads/master
2023-08-16T20:20:45.063253
2023-08-10T21:19:12
2023-08-10T21:19:12
39,917,251
5
4
null
2023-08-10T21:19:14
2015-07-29T21:27:58
Python
UTF-8
Python
false
false
1,908
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.core.management.base import BaseCommand from intranetunits.models import IntranetUnitsPage from staff.models import StaffPage from units.models import UnitPage class Command (BaseCommand): """ List information about an intranet unit p...
[ "jej@moss.lib.uchicago.edu" ]
jej@moss.lib.uchicago.edu
a2c645582a13395bd918cd79b23097a48ec61014
7a6abb5669111dd426191f6a7ef0863c9279fd7e
/main.py
cc62ddff560ebd8bee399982a302d9d7fe68e04a
[]
no_license
syedayaz225/TMP
3b317e785a79e69578b272197ad60c8993d5926b
042599666b9f0e62d5443d84a260665fb56fe064
refs/heads/master
2020-04-01T03:08:08.272125
2019-09-15T08:35:35
2019-09-15T08:35:35
152,810,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,136
py
import twitter_senti as ts """ """ #Testing Data filePathWords = "data//Posive and negative words new.txt" filePathCorpus = "data//short Dataset.csv" # file_path_standard_words = "data//Posive and negative words new with tagging comma.txt" # #Original data # filePathWords = "data//Posive and negative words ne...
[ "noreply@github.com" ]
noreply@github.com
b6b6685bda872cced1521791477279f99fb41ebc
4754226625d4a6b9680a22fd39166f502034aeb5
/samsung/[cutz]startlink.py
391d1b31a8fa4100f22def15dac4feaace7c8dc1
[ "MIT" ]
permissive
cutz-j/AlgorithmStudy
298cc7d6fa92345629623a9bd8d186f0608cdf7c
de0f81220e29bd5e109d174800f507b12a3bee36
refs/heads/master
2021-07-01T03:15:51.627208
2021-02-24T01:24:44
2021-02-24T01:24:44
222,935,322
3
0
null
null
null
null
UTF-8
Python
false
false
997
py
import sys def dfs(start_r, link_r, start_n, link_n, n, start_t, link_t): global res if start_n == link_n == 0: r = abs(start_r-link_r) if r < res: res = r if start_n: for i in start_t: start_r += S[i][n] start_r += S[n][i] start_t.appen...
[ "cutz-j@naver.com" ]
cutz-j@naver.com
edadf6cbe2e1869d843861cbb17dbe48b082e561
f6337f3f1156a6bcea46201eca0dd4fc3b52bcdd
/tests/core/test_models.py
e49cd36ccc6837f88f63b54bcf6d3e6cb5a4e284
[ "Apache-2.0" ]
permissive
sbg/dante
c43cf8134f51cd7b8fe4ae9184b1376b359bfc6c
104543c3ccb5e762d3e9cd6e8fa04c5fa91e2227
refs/heads/master
2021-01-15T10:29:25.735400
2019-10-02T10:05:47
2019-10-02T10:05:47
99,581,458
9
5
null
null
null
null
UTF-8
Python
false
false
2,475
py
import pytest from dante.vendor.packaging.version import Version from dante.vendor.packaging.specifiers import SpecifierSet from dante.core.models import InstalledVersion, RequiredVersion pytestmark = pytest.mark.models def test_version_model(): version_number = '1.2.3' min_version_number = '0.1.1' max...
[ "dejan.knezevic@sbgenomics.com" ]
dejan.knezevic@sbgenomics.com
988438b024cde365716f2692c92e57f80786b435
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/pybites/topics/Datetimes/151/test_operas.py
6ce8cf55f7b829802bb192764defce7adeb40039
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
925
py
_______ p__ ____ ? _______ ? ___ test_wagner_verdi # materializing to list to support generator as return wagner_verdi l.. ? "wagner", "verdi" ... l.. ? __ 10 ... "Otello" n.. __ ? ___ test_verdi_wagner verdi_wagner l.. ? "verdi", "wagner" ... l.. ?__ 11 # premiere after Wagner's death...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
01226d865a76d723e00a3b44e9957b37440e5e14
0a5cc4287b29b68ee1cdc8e193539c7a2d57a438
/kp/blog/admin.py
932bead325c0213c32f61eeb324be4389e735508
[]
no_license
MadNTap/kpblog
ed965dff5abbc03417903a199f1e42f756fb1de1
395a3aea9b8af2eaa19a9939f2184f36656e0218
refs/heads/master
2022-12-06T21:01:17.589399
2020-08-31T16:12:59
2020-08-31T16:12:59
289,435,512
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from django.contrib import admin from .models import Post, Category, Comment class CategoryAdmin(admin.ModelAdmin): list_display = ('name', 'slug') prepopulated_fields = {'slug': ('name',)} class PostAdmin(admin.ModelAdmin): # instead of ModelAdmin prepopulated_fields = {'slug': ('title',)} admin.site....
[ "cgphiri@gmail.com" ]
cgphiri@gmail.com
4ca75766c8c50799852b6b170959d198733d7922
9ebe7d3c75b8f2e17e5b26eadd9694275b349994
/Exercise05-1.py
d57e1e6a3f69e2fb7bd49cbe47e4c1d7c8f613ff
[]
no_license
Defaultin/Optimization-Methods-for-Machine-Learning
87c404101b2164e44f1e6692627fd23fa9e598d1
ecff3f2ae751a5d21c09699be34647c5bec0b1c9
refs/heads/main
2023-01-29T17:26:12.019550
2020-12-07T10:35:34
2020-12-07T10:35:34
310,840,810
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
import numpy as np import time from itertools import islice from scipy import sparse from sklearn import datasets # Defining some kernels to check psd property def tanh_kernel(X, Y, c=0): return np.tanh(np.dot(X, Y.T) + c) def linear_kernel(X, Y): return np.dot(X, Y.T) def rbf_kernel(X, Y): ...
[ "noreply@github.com" ]
noreply@github.com
2e8ffa0f9b665955faad8d4ee40aa45f4c9b5dd1
7500375e639598a6978e509d7536de8cbb44c136
/pkg/preprocessor/__init__.py
622243be3d7c9d904b42562975031bdcac1bd79e
[]
no_license
tsontario/minerva
323dcfda876b2bdb7d288245140b83d928039004
8cc1b2f2e98979f8cbf757c318accfaa18403f5d
refs/heads/master
2021-07-07T18:43:59.728236
2020-04-13T13:49:35
2020-04-13T13:49:35
234,834,652
2
1
null
2021-04-20T19:15:24
2020-01-19T03:29:45
Python
UTF-8
Python
false
false
96
py
from .corpus import * from .ottawau import * from .reuters import * from .preprocessor import *
[ "noreply@github.com" ]
noreply@github.com
642f667cc19997cd8d1e40f3c26914d3eae06ae4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02933/s420167771.py
5fc8c404650c664a71e98fb9b6b7aa047f618895
[]
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
122
py
import sys a = [] for l in sys.stdin: a.append(l) a[0] = int(a[0]) if a[0] >= 3200: print(a[1]) else: print('red')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
85219a7223c8d68e4975881b7a6b76e31ed4c3f4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03295/s122569097.py
5d49538b3d4d0b83d8c85fae0ad022dcabb1c282
[]
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
182
py
N,M = map(int,input().split()) W = sorted([list(map(int,input().split())) for m in range(M)],key=lambda x:x[1]) c = 0 x = 0 for a,b in W: if x<a: x=b-1 c+=1 print(c)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7d7e917c5b35625c6c31cda1e23bddbda1c995d9
55614f5efff5b4eab2bad6c091eef3ae234cd923
/photogallery/settings.py
aea57c8b5c7943f115fb45cb0df5782c6bfe5ae8
[ "MIT" ]
permissive
suzie254/jubilant-barnacle
04cb23c68a337c2dbf5c0c3518864543b1ae2ab7
0f1cb681fa968262307b08bd59df28c3fcc56f21
refs/heads/master
2022-11-24T15:41:27.125805
2020-08-08T13:15:53
2020-08-08T13:15:53
285,779,221
1
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
""" Django settings for photogallery project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
[ "suzieakinyi08@gmail.com" ]
suzieakinyi08@gmail.com
06a2cb0fcb3ad92610d6cdeda92b84d55bf75c82
4027d8dafb6f60568f03357e329c09262161e963
/machinelearn/application_scene/fault_diagnosis/nlp_method/read_content_v3.py
da4343dd3bcf62004632ddf63f16108c3b6e4a78
[]
no_license
pentiumCM/machinelearn
a2bfa15d6e9f20fd604116f77186da76ebcc4f27
329bb9521b5e06e3471aa209fc87ca47f8d5fdcb
refs/heads/master
2022-12-08T23:43:05.784930
2021-05-24T04:02:23
2021-05-24T04:02:23
216,704,188
7
1
null
2022-12-08T09:30:07
2019-10-22T02:13:45
Python
UTF-8
Python
false
false
3,640
py
#!/usr/bin/env python # encoding: utf-8 ''' @Author : pentiumCM @Email : 842679178@qq.com @Software: PyCharm @File : read_content.py @Time : 2020/11/5 21:15 @desc : 读取文本内容,将word中的数据转换,进行拆分 ''' import re import pandas as pd def txt2dict(txt_name, extract_node, csv_savename): """ 文本数据提取成结构化数据,并存储在csv...
[ "842679178@qq.com" ]
842679178@qq.com
81cb9e8d20e7b4e706a1f1bedcfebfdf8507de65
00af09f4ac6f98203910d86c3791c152184ace9a
/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py
66111a5b0d6c08e4a70bf01eec335c12c4e2415b
[ "Artistic-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "MIT" ]
permissive
orf53975/CarnosOS
621d641df02d742a2452fde2f28a28c74b32695a
d06849064e4e9f30ef901ad8cf90960e1bec0805
refs/heads/master
2023-03-24T08:06:48.274566
2017-01-05T16:41:01
2017-01-05T16:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,757
py
<<<<<<< HEAD <<<<<<< HEAD # Copyright (c) 2013 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Handle version information related to Visual Stuio.""" import errno import os import re import subprocess import sys import gyp impor...
[ "Weldon@athletech.org" ]
Weldon@athletech.org
c50872b5cdce75c2a74b9bafb35aca94150af7b0
d5a69f164b1ec7d935738b5948e31a400efcc6cd
/logistic/logRegres.py
76bc55457e0a4ff7321fec6e9cc72982174e1d25
[]
no_license
finiteV/machinlearning
5982db2a4e4d2ef9d14d619012a67566c1db83c0
5e5da27c519339bd39742c7a9bb36d122d40d104
refs/heads/master
2021-01-10T11:31:55.708477
2015-10-23T12:01:17
2015-10-23T12:01:17
43,600,320
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
#coding:utf-8 ''' Created on Oct 27, 2010 Logistic Regression Working Module @author: Peter ''' from numpy import * def sigmoid(inX): ''' input can be value or array ''' return 1.0/(1+exp(-inX)) def gradAscent(dataMatIn, classLabels): dataMatrix = mat(dataMatIn) #conve...
[ "tzterryz@gmail.com" ]
tzterryz@gmail.com
bee88d64c4b7cb7031c37fab9f248b2c3350abea
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/auz.py
86df01e1bb33b2d0aba32435c24d8a8d7342c90c
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
e6311adf04263c0cc978b6bd2ddbeae69ed73a1c
7883a9d2e1e92bcd73d2d94d7f22df53bdc37008
/attendance_management_bot/model/i18n_data.py
542c083b43c94c1b217f14d69c681eeabffb9051
[]
no_license
wonsokoh1019/lwbottest_latest
baf2ec24f32db08a424d65852590cfcddd17c99a
60d0abd906810516e7a97be3b61737192abee845
refs/heads/master
2022-12-14T10:36:25.207398
2019-12-13T06:42:03
2019-12-13T06:42:03
227,079,131
0
1
null
2022-09-21T22:04:15
2019-12-10T09:32:46
Python
UTF-8
Python
false
false
7,480
py
#!/bin/env python # -*- coding: utf-8 -*- """ create i18n message content """ __all__ = ['get_i18n_content', 'get_i18n_content_by_lang', 'make_i18n_button', 'make_i18n_text', 'make_i18n_message_action', 'make_i18n_postback_action', 'make_il8n_image_carousel_column'] import json from attendance_m...
[ "oss@navercorp.com" ]
oss@navercorp.com
ec6edec121fde1b2bfb29eec93fa81afc8f274f4
a201a6876f6028249299d55914642fd52d2e0d76
/check_io_projects/items_in_list_same.py
7472b7d7a93cac30567287aa2e4321aa97fd11a0
[]
no_license
DarthOpto/python_projects
c238ceaf608adea7b4802e8cfa8095770673d6ba
08c3c9f62e43a3878eed4a079f464b4302970c1c
refs/heads/master
2021-06-23T05:34:11.414336
2021-06-22T16:41:00
2021-06-22T16:41:00
45,289,102
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
from typing import List, Any def all_the_same(elements: List[Any]) -> bool: iterator = iter(elements) try: first = next(iterator) except StopIteration: return True return all(first == rest for rest in iterator) if __name__ == '__main__': print("Example:") print(all_the_same([...
[ "curtis.salisbury@gmail.com" ]
curtis.salisbury@gmail.com
2f0d2c40713fa9a0b9d686d25a6aacd3d1106afe
87ce1990ef05d8ddf6820e87de610102508c2bca
/Flickr/models/entail_prob_model.py
f2ade20c604a443f1c9da9dc3701d30e8bbe06e0
[ "Apache-2.0" ]
permissive
Lorraine333/box_embeddings
0b5472040007758596fee5eaa030c6f4a3133015
0331b2b7b80f806d938ae8339648db47d50eec0e
refs/heads/master
2020-03-17T00:04:26.947743
2018-12-05T21:25:37
2018-12-05T21:25:37
133,102,519
36
5
null
null
null
null
UTF-8
Python
false
false
8,248
py
# Train entailment prediction model by appending predicted probability # features from file to output of previously trained LSTM model import random import sys import time import tensorflow as tf import numpy as np np.set_printoptions(threshold=np.nan) from util.Layer import Layers from util.Train_entail_prob import T...
[ "abbeyli92@gmail.com" ]
abbeyli92@gmail.com
407131057e055e9af1b1f24c6ef935bf8001de8d
f442d87f46074c263c215941b1f33f9c5c723084
/color_picker.py
42c774bfbd90fe4bcc52747be1c2769fcddaebc5
[]
no_license
IsmaelPacheco/ball_tracking
b7b950867f937be12240ed26563ff61ba2fb96d7
8641d0f0454bdca5fe157092a90f193c968f69d5
refs/heads/master
2022-11-06T14:41:58.438112
2020-06-25T18:20:50
2020-06-25T18:20:50
274,979,494
0
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
import argparse import cv2 import imutils import numpy as np colors = [] lower = np.array([0, 0, 0]) upper = np.array([0, 0, 0]) def on_mouse_click(event, x, y, flags, image): if event == cv2.EVENT_LBUTTONUP: e colors.append(image[y, x].tolist()) def on_trackbar_change(position): return ...
[ "ismael.apacheco@hotmail.com" ]
ismael.apacheco@hotmail.com
510918e86592fa7b11edf784649ddf9e99d3b4bc
b3ea809567d33644e3a781178b8e204c089104e6
/modules/rotator/templatetags/rotator_tags.py
6a7aa12d221064076c0cd21362bf57c52f47afc7
[]
no_license
chukreev-alexey/pst
89ca22d2a5792b2585bd0f655f5c1ad021ec2d50
fc7e511fbdc08d215d511aeb0e55c144986a3ca9
refs/heads/master
2023-07-15T12:31:32.369383
2021-08-27T08:20:58
2021-08-27T08:20:58
383,816,551
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
from django import template register = template.Library() @register.inclusion_tag('itcase_rotator/rotator.html', takes_context=True) def category_rotator(context, category, additional_class=None, autoplay=None, loop=True): context['rotator'] = category.rotator_units.all() if additional_c...
[ "whatzalogin@gmail.com" ]
whatzalogin@gmail.com
9be05d81850db0d6b982ac9b58508371bc03cd88
8e2e7ab33a67638a64f56e22bc6b2146cba55711
/python学习/20191102_string_replace.py
8226a9127107296fb8186149ce989296906fca06
[]
no_license
owendeng90/python_learn
3502ac255ad4dbe8fe93f7e17efc8d8314cca07a
f8b9823e86a3b6c33a56ef8523d3d0a092d04caa
refs/heads/master
2020-03-23T08:11:49.153579
2019-11-16T16:14:39
2019-11-16T16:14:39
141,313,289
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/11/2 23:19 # @Author : owen # @Site : # @File : 20191102_string_replace.py # @Software: PyCharm Community Edition # @Code thought
[ "owendeng900@gmail.com" ]
owendeng900@gmail.com
f5f516ae04c81150ba4d95b9c75f5b1c2a78d3ff
91995b57289628af98ef529cf09c98e092d9d536
/原子索引替换/pre_data_deal.py
1588737ebea38a3b56d6121564863979b56e43d0
[]
no_license
passwordhk/DailyStudyBackup
d4a0c1fa5cbafcfc69adeb526442902940b03ecb
6042aa50aa060463c1e1b5a4d20e74a957c74443
refs/heads/master
2020-04-28T15:07:31.796764
2019-05-13T09:30:20
2019-05-13T09:30:20
175,360,947
1
0
null
null
null
null
UTF-8
Python
false
false
769
py
#!/usr/bin/env python # encoding: utf-8 # author: huangkai # file: pre_data_deal.py @time: 2019-03-30 23:36 # contact: 360hkhk@gmail.com with open('1c.pdb', 'r') as f: all_rows_in_list = f.readlines() results = [] for line in all_rows_in_list: data2 = line.split() results.append(data2) for i in results: #...
[ "360hkhk@gmail.com" ]
360hkhk@gmail.com
67a775abc1252a0ccfbdf43de0f8f8e86cb64160
7eac127892252e9b79a90b9d07aeb19085babc46
/update_pkInfo.py
e1c58007a5ba4593a4795a1a805bc9ff9724ba62
[]
no_license
pqok/tmp
dd6cec59aea3bc7bd010f50f975c64671a94931b
7e15a624df409ff05133a194c15f6c5a51daa74a
refs/heads/main
2023-01-30T09:57:36.427648
2020-12-09T13:00:53
2020-12-09T13:00:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
import requests import json import os import re if "JD_COOKIE" in os.environ: secret = os.environ["JD_COOKIE"] pt_pin = re.findall(r'pt_pin=(.*?)&', secret)[0] pt_key = re.findall(r'pt_key=(.*?)$', secret)[0] cookies = {"pt_pin": pt_pin, "pt_key": pt_key} def getTemplate(cookies, functionId, body): ...
[ "noreply@github.com" ]
noreply@github.com
ac9dbfb48a5f4e78dd98b9476ceec350f9235cde
7f70d0720ac8e67f99992e001a22ff16cf9c1388
/venv2/Lib/site-packages/keras/protobuf/saved_metadata_pb2.py
80a820d92333f15855de04e4ab9e93110944ab6c
[]
no_license
CaptainDaraen/P5-Twitter-KI
b726d07cf4fb59bb8fc7e6b4217347551b20a2d4
4c3af76e299b1b6ff7163e507fa570c111a60b17
refs/heads/main
2023-03-28T21:25:45.882808
2021-04-14T13:52:56
2021-04-14T13:52:56
338,670,290
1
0
null
null
null
null
UTF-8
Python
false
true
5,597
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: keras/protobuf/saved_metadata.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fr...
[ "beste.laszlo@gmail.com" ]
beste.laszlo@gmail.com
253f3f3601779c6ceccb1ea3224fc3d00cc832b5
5022f7a6e1bea04398857c82e52f620731fa6086
/rules/generate_fastq.smk
8e9fcd81c08f643c6eb5cde04b99a73a2bbdc120
[ "MIT" ]
permissive
y1zhou/GSE157220
f39474ffc4a3e08a6cca43b055b8c5d48a9153b7
79f57289095f4ce8ebff6e9ed09ecebfe9e11899
refs/heads/master
2023-04-27T03:01:48.685433
2021-05-25T01:30:57
2021-05-25T01:30:57
367,511,265
1
0
null
null
null
null
UTF-8
Python
false
false
440
smk
rule bamtofastq_bin: output: config["bamtofastq"] shell: "wget https://github.com/10XGenomics/bamtofastq/releases/download/v1.3.5/bamtofastq_linux " "-O {output} && \ " "chmod +x {output}" rule bam_to_fastq: input: "data/bam/{srr_id}.bam" output: director...
[ "zhou.zy.yi@gmail.com" ]
zhou.zy.yi@gmail.com
f02205b4d04da5e8c528043906314d2bd7c034fd
e1a83326941efa697ab1c9f0e2fc0e08e67c8bac
/python_beginner_notes/02. Floats and Integers .py
91db4a2757b47e95aa0ea16b9624aa2a912e4838
[]
no_license
k1ngnorza/Code
66b090e9a74299f0a401c19eb4cbee80c23045cb
a4464fa25fdab67759eac2a07e98959f0cd14c12
refs/heads/master
2020-08-22T09:59:53.659886
2019-10-20T13:57:18
2019-10-20T13:57:18
216,370,539
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# Python has 2 types of number values: 1. int() # Integers are whole numbers eg. 1, 97, 420 2. float() # Floats are number values with decimals eg. 1.5, 23.83, 25.0 TIP: # they can both be converted from one to another, for example: # Rounded to the nearest who...
[ "56540550+k1ngnorza@users.noreply.github.com" ]
56540550+k1ngnorza@users.noreply.github.com
304bd150aef3bec273ce43d33b78097d3492d19c
a363f3c9629bb0d5728f96612145ac033de4dcf3
/construct_tree_from_preorder_postorder.py
65911e3d30d2b5c2af3b6b6a2bde4d9d5114e45d
[]
no_license
vineetpathak/Python-Project2
de91a56d58ba0589560abcd2f1ed03b1130e4e61
99d8f566e4054dad83dc6d924f2b5eb86e01cc7f
refs/heads/master
2021-05-01T10:04:50.862792
2018-02-11T08:41:00
2018-02-11T08:41:00
121,103,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
# -*- coding: UTF-8 -*- ''' Construct tree from its preorder and postorder traversal A Full Binary Tree is a binary tree where every node has either 0 or 2 children ''' import binary_tree index_pre = 0 def construct_tree(preorder, postorder, st_in, end_in): global index_pre if index_pre >= len(preo...
[ "noreply@github.com" ]
noreply@github.com
00af6d9a7877da1496a949bad6fc024200109a79
6d9a25f9a33ac032f9d94b0ed3ba87e0863a10f9
/testUpdate_edot/build/statistics.py
e812fd98e9b65f2b9ccbaf7a1e2c0b3ef18c4910
[]
no_license
FlamboyantOm/pyTestExample
325a05e2fe6c09bd390119960579dcc1b2ca2a58
572b9e09f33a9de2b1edd39308451bcc32cdd9c4
refs/heads/master
2021-01-23T01:40:11.818784
2017-04-23T21:34:43
2017-04-23T21:34:43
85,922,436
0
0
null
null
null
null
UTF-8
Python
false
false
15,902
py
from django.conf import settings import random, datetime, time, json from collections import OrderedDict from django.contrib.auth.decorators import login_required, user_passes_test from django.shortcuts import * from . import flib, config from datetime import datetime as datea from django.shortcuts import render_to_res...
[ "omkar.k.thorat@gmail.com" ]
omkar.k.thorat@gmail.com
5172e18ee84b00c1485d2f53152d1f35687f017f
e6cc768e797f942093cc89584b35f1e791395eb5
/tangoProject/rango/admin.py
477b6ec210162726cc2681990cf773e018d20fc2
[]
no_license
kaushal087/DjangoSmallProjects
71b4e15e38ac79ee001934b598d9e3cd30c5b903
9e494ab0d43841b824c65d51dfe86b3fa3a7126c
refs/heads/master
2021-01-18T23:50:19.821153
2016-06-13T08:54:28
2016-06-13T08:54:28
48,636,966
2
0
null
null
null
null
UTF-8
Python
false
false
308
py
#from django.contrib import admin # Register your models here. from django.contrib import admin from rango.models import Category, Page admin.site.register(Category) #admin.site.register(Page) admin.site.register(Page) """ class PageAdmin(admin.ModelAdmin): list_display = ('title', 'category', 'url') """
[ "kaushal10087@gmail.com" ]
kaushal10087@gmail.com
020105b7e625590663ba1d3b09004f176b5ca7fb
15a863197f9dbd493b7ab1bf68c56eaa3e328400
/Problems/Find words/main.py
c6b7ae9942808c3fe07d216e96cbb88e0759752b
[]
no_license
ZuzaRatajczyk/Rock-Paper-Scissors
f1ef9a63bddc49ee5d2f3b3d31b437edb4b1a5a1
20a476ecc0a5b2a536ad8f08f0fc1e3d23c807e0
refs/heads/master
2023-01-08T23:05:36.435817
2020-11-10T17:43:39
2020-11-10T17:43:39
311,739,152
1
0
null
null
null
null
UTF-8
Python
false
false
294
py
input_sentence = input() def find_words(sentence): words = sentence.split() found_words = [] for word in words: last_letter = word[-1] if last_letter == 's': found_words.append(word) return "_".join(found_words) print(find_words(input_sentence))
[ "zuza.ratajczyk@gmail.com" ]
zuza.ratajczyk@gmail.com
81567f9d1a0594c28df039207ffbd8b2552dd4b8
4768dc90b97c153852ffdc400968fcfbdb30b198
/pdf_from_images.py
4f7b1969ee7d445506eda82facf1df6a818a9395
[ "MIT" ]
permissive
alexappsnet/pdf_tools
7c7c0abff618a75c311ecd3d84ac9a60dc7dec15
9782b2e7085f9b686cf613a4c4e2e2b04af5356e
refs/heads/main
2023-02-26T23:18:16.203402
2021-02-07T06:03:07
2021-02-07T06:03:07
336,679,636
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
#!/usr/bin/env python3 #-m pip3 install fpdf, pillow import os from fpdf import FPDF import argparse from PIL import Image def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('--in', type=str, nargs='+', dest='image_files', required=True, help='Image files to insert into PDF') parser...
[ "support@alexapps.net" ]
support@alexapps.net
93ac1be4b03fde015ba80c40bf5a4d5abbbde574
728b2ef4c1cdb8157f018e4fb1bd1f114849f6c9
/Divisible Sum Pairs.py
217f505d315332924bb0a4e96c16860a1cd90c34
[]
no_license
mactavish10/APS-2020
299872b68df763bc0090b090234fb2e3e62a0224
58c4a13b10b9356f7a83239a72f45175be072d73
refs/heads/master
2020-12-21T19:47:00.712028
2020-04-26T18:36:13
2020-04-26T18:36:13
236,538,386
3
0
null
null
null
null
UTF-8
Python
false
false
239
py
n , k = map(int,input().split()) arr = list(map(int,input().split())) count = 0 for i in range(n) : for j in range(i,n) : if(i < j and (arr[i]+arr[j])%k==0) : # print(i,j) count+=1 print(count)
[ "noreply@github.com" ]
noreply@github.com
82d3138f7057c5034b2bca03252a84aee92b247b
554523c9126724c37b29e29a013c1ab3f7229742
/accounts/migrations/0002_auto_20210409_1527.py
829b8749484dac79bf38054a12b726c88a47f51a
[ "MIT" ]
permissive
manjurulhoque/django-music-streaming-app
1daca86971eab54bfe205b17fa13ab89615f8c81
aed78ed68f4b1e7114a8eb5c0042ed06cacda5c5
refs/heads/master
2023-05-25T11:58:24.890168
2022-12-23T14:06:20
2022-12-23T14:06:20
199,409,920
71
31
MIT
2023-05-22T22:55:24
2019-07-29T08:20:32
Python
UTF-8
Python
false
false
415
py
# Generated by Django 3.1.8 on 2021-04-09 15:27 import accounts.managers from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.AlterModelManagers( name='user', managers=[...
[ "rumimanzurulhoque@gmail.com" ]
rumimanzurulhoque@gmail.com
13ed2285534dda064ff9cef3001808a1546caeea
720f5aae43bc514bf72727bf48d901d50b64bd4b
/Python/Matrices_W.py
22f23c6aeb51f0e3d75658ccccd6f4972a245e28
[]
no_license
valjime95/Bayesian-InterProbit-Model
a5b89bf6e1650d383a15eae9315b3deb7e47285f
26283fc35c4b858a992b94a4132272e267f8e34d
refs/heads/main
2023-05-23T06:13:38.929232
2021-06-16T22:15:52
2021-06-16T22:15:52
302,136,004
0
0
null
null
null
null
UTF-8
Python
false
false
3,813
py
import pandas as pd import numpy as np data = pd.read_csv('datos_autos.csv') data.rename(columns = {'Unnamed: 0' : 'id'}, inplace= True) n = len(data) data['price'] = data['price']/1000 data['option'] = data['option']/100 data['age'] = data['age']/100 data['income'] = data['income']/10000 data['ethnic'] = data['et...
[ "noreply@github.com" ]
noreply@github.com
4d542cbf3741131d894a2ac11f4e6e6526210418
aa804ad9d0987baa6df0a4376526a4e3aaa0f9d2
/mrdoob-three.js-bd56143/utils/build.py
bc4efadc507cad2abe954c60a7a4789d66308557
[ "MIT" ]
permissive
pplantinga/3d-quoridor
9ea19962cc15e1f596ffe380d60e447ef55a2e46
372ab49f860422740a18616d3d4dc1364e5029cf
refs/heads/master
2021-01-22T13:13:51.840278
2014-04-02T14:49:29
2014-04-02T14:49:29
18,370,125
1
0
null
null
null
null
UTF-8
Python
false
false
12,010
py
#!/usr/bin/env python try: import argparse ap = 1 except ImportError: import optparse ap = 0 import os import tempfile import sys COMMON_FILES = [ 'Three.js', 'core/Color.js', 'core/Vector2.js', 'core/Vector3.js', 'core/Vector4.js', 'core/Ray.js', 'core/Rectangle.js', 'core/Matrix3.js', 'core/Matrix4.js', 'core/...
[ "plantinga.peter@gmail.com" ]
plantinga.peter@gmail.com
17e02a6ef92c95a580c3664fce82d46a21fe5e47
f0900d087395750c384e6ca608e03e4ea0701ff2
/ImageScrape/imageScrape.py
ab3bbaa95d9c8852929f74bcae26a2918c560072
[]
no_license
artintelclass/Resources
fdccc927e636c0d0a3187716433af6905093722c
97a0fc0dfe546278522cf93cd21ad160c4fe5b0b
refs/heads/master
2021-04-28T14:06:11.714639
2019-02-03T10:32:25
2019-02-03T10:32:25
121,955,925
0
0
null
null
null
null
UTF-8
Python
false
false
3,757
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import os import json import urllib2 import sys import time from PIL import Image from StringIO import StringIO import argparse download_path = "dataset/" def main(args): parser = argparse.ArgumentParser(description='Scrape Google images'...
[ "aaronsherwood@aarons-MacBook-Pro.local" ]
aaronsherwood@aarons-MacBook-Pro.local
327556cea2c1e2908ce98c319b458dbda064f54d
d0630ce1ba394008b3f19ffeebf46a9c1d7d014d
/t/MsgLink.py
d14741d907f44302741e81de6aad136f43e44fdd
[]
no_license
kuj1pal/roswiki
694388c259d90fbfb25346170a6ba0cc434971c5
e64b6350c344826b5af886ca408d59e04a7e4f6a
refs/heads/master
2021-01-17T12:20:52.852591
2013-05-20T08:30:35
2013-05-20T08:30:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
Dependencies = [] def execute(macro, args): if (args[0] == '<' and args[-1] == '>'): return macro.formatter.emphasis(1) + macro.formatter.code(1) + macro.formatter.text(args) + macro.formatter.code(0) + macro.formatter.emphasis(0) type_ = args.split()[0] splits = type_.split('/') if len(splits) != 2: r...
[ "dthomas@willowgarage.com" ]
dthomas@willowgarage.com
0d48c5ce41f93a418186a9949573f9c47517659a
7aa65d8422db5bcc963851f9f824194ee84a834f
/django_project/users/signals.py
3947068d5db507c7e51b9d3b1ccf086ee4114699
[]
no_license
aptleung/Django-Blog-Web-App
278ea5cff35eb96effab2827f607b61aa5da4f9c
a3efb00c4bf9ccec13f4bbae26d413f0e0b29cff
refs/heads/master
2020-05-30T15:37:48.741680
2019-07-10T02:21:23
2019-07-10T02:21:23
189,824,214
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
from django.db.models.signals import post_save from django.contrib.auth.models import User from django.dispatch import receiver from .models import Profile @receiver(post_save, sender = User) def create_profile (sender, instance, created, **kwargs): if created: Profile.objects.create(user = instance) @re...
[ "aaronleung726@hotmail.com" ]
aaronleung726@hotmail.com
b5304fb00fec82aee7d7051146c0c758faff404e
5a6793f922e90b26f96c416bffc115d95a2673b2
/bigDATA/matrix.py
bffc51d8a0aa4574448429ff1c51095081e25e9d
[ "MIT" ]
permissive
jfgonzalez99/bigDATA
79e73fe2fccdda4458d259a2ec34ad8f3ae395b4
aeaafa9f4af410cbc9ea0e97b5e0b4940dcb2c13
refs/heads/master
2020-06-26T03:17:28.756505
2019-08-13T14:15:17
2019-08-13T14:15:17
199,510,116
0
0
null
null
null
null
UTF-8
Python
false
false
7,111
py
from numpy import array, diag, mean, shape, sign, zeros from numpy.linalg import det, eig, inv, norm from numpy.linalg import solve as npsolve from numpy.random import rand from scipy.linalg import lu, svd import matplotlib.pyplot as plt def evectors(matrix): """ Returns the eigenvectors of a given matrix. Arg...
[ "justingonzalez@college.harvard.edu" ]
justingonzalez@college.harvard.edu
f62d8cc7d6a4d02924187e85c658b5dc05683732
4eaf307477e26150e66fd5cc0a055c3b2b4b7d84
/debug.py
1618b595392082f68f1302024153f7ac65bcdaa6
[]
no_license
BeomSooKim/kaggle-car
57cb26c75944837eb521adbd3221ca304b71b68c
c25ea37a983fd9108458b222691b525b5a2f3897
refs/heads/master
2020-07-06T20:19:29.156092
2019-08-31T14:29:06
2019-08-31T14:29:06
203,129,249
0
0
null
null
null
null
UTF-8
Python
false
false
3,033
py
#%% import torch import torch.nn as nn import torchvision import torchvision.transforms as transforms import numpy as np from utils import * import os, sys, datetime import argparse import pandas as pd from sklearn.model_selection import StratifiedKFold import matplotlib.pyplot as plt plt.style.use('seaborn') #%% #...
[ "rlaqjatn228@gmail.com" ]
rlaqjatn228@gmail.com
048d58571189fb1248e3cacdc1d8778aa13e34b0
5653bea494adceff74096df8aab33e88f801d858
/problem5/p5.py
13e18f75aa158cafebc7f629a05e559c8bcb1bec
[]
no_license
dingyaguang117/ProjectEuler
5b799eca5c6076290dddfc6b07f1b633f5083a3a
3c575fd099b7e907d48073a055bf0cbfc26b85a6
refs/heads/master
2020-04-05T22:59:41.824585
2012-10-08T13:14:27
2012-10-08T13:14:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
def GCD(L): if len(L) > 2: return GCD([L[0], GCD(L[1:])]) a = max(L) b = min(L) while a % b != 0: t = b b = a % b a = t return b def LCM(L): if len(L) > 2: return LCM([L[0],LCM(L[1:])]) return L[0] * L[1] / GCD(L) print GCD(range(1,21)) print LCM(range(1,21))
[ "dingyaguang117@126.com" ]
dingyaguang117@126.com
834aae5b1ad3f8f6471ca1b256b25160e041e4bd
79ecd3040181a980137742ce21e47e0b8da9c89d
/_init_.py
fb8c1a9ab0501918159397710cedad771a97cd22
[]
no_license
Candice-Cao-0510/Battery-Comparison-Project
ec7d8a79cfb908f509c02fa38672354d1ccfbe6a
dbbc0003034b0b0798ffb8e52db78ee570c24e1d
refs/heads/main
2023-07-10T10:17:02.040388
2021-08-22T09:09:50
2021-08-22T09:09:50
387,602,704
6
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
import pyvisa import time import sqlite3 import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation import pandas as pd import numpy as np import seaborn as sns from creating_files import createCSVFiles, createDBFiles from bk_precision8600 import BKP8600 from cc_read_store_display_data import CC_P...
[ "yunqingcao2000@berkeley.edu" ]
yunqingcao2000@berkeley.edu
9cf9316eb5b23305e1913e287cee462fa6e52ba6
cdb186ad49bba1406c81f634b936e73f8cb04009
/JOI/2007ho/c.py
8c9a396fb30da0aed3c2e1d6d732db4773f86f3e
[]
no_license
ToshikiShimizu/AtCoder
9e46f5581f2c1f5149ce1394d61d652cda6256a3
41fe6408c20c59bbf1b5d7ee9db2e132f48ad1ac
refs/heads/master
2023-07-26T22:45:51.965088
2023-07-10T14:11:35
2023-07-10T14:11:35
148,154,815
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from itertools import combinations N = int(input()) ls = [] for n in range(N): x, y = map(int,input().split()) ls.append((x,y)) ls.sort() st = set(ls) ans = 0 for p1, p2 in combinations(ls, 2): x1, y1 = p1 x2, y2 = p2 if (x2 + y2 - y1, y2 + x1 - x2) in st and (x1 + y2 - y1, y1 + x1 - x2) in st: ...
[ "tamreff3290@gmail.com" ]
tamreff3290@gmail.com
066af62e25619b0e9a2a145890f7495202cf30e1
7482869aca7fd8f37caf9735a366e6d2a2ed3964
/instructions_scene.py
3cf996e862b9750348e3ed27bbde22726f4739ed
[]
no_license
MotherTeresaHS/ICS3U-2016-Group14
35ec36b2327464e191ebd15b561317abdec81e7c
c899904b051448a543a4c6d2439d49311d7c99a4
refs/heads/master
2020-06-10T12:23:04.768890
2017-01-16T18:19:30
2017-01-16T18:19:30
75,962,790
0
1
null
2017-01-16T18:19:31
2016-12-08T18:09:05
Python
UTF-8
Python
false
false
2,766
py
# Created by: Mr. Coxall # Created on: Sep 2016 # Created for: ICS3U # This scene shows the main menu. from scene import * import ui from main_menu_scene import * class InstructionsScene(Scene): def setup(self): # this method is called, when user moves to this scene self.size_of_screen_x...
[ "hamza.salman@ocsbstudent.ca" ]
hamza.salman@ocsbstudent.ca
cba298b59dff43c1e58259d2361155110d706838
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/pose_estimation/HRNet_MMPose_for_PyTorch/configs/hand/2d_kpt_sview_rgb_img/topdown_heatmap/rhd2d/hrnetv2_w18_rhd2d_256x256_dark.py
1be80ddb8507d3178200193e561fc137e930d198
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-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
5,050
py
_base_ = [ '../../../../_base_/default_runtime.py', '../../../../_base_/datasets/rhd2d.py' ] evaluation = dict(interval=10, metric=['PCK', 'AUC', 'EPE'], save_best='AUC') optimizer = dict( type='Adam', lr=5e-4, ) optimizer_config = dict(grad_clip=None) # learning policy lr_config = dict( policy='st...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
45c4338e38dfebd68e06a4e607663fc10dec8f01
aa3663075d88361aa5009b415077c8fdcb1234e7
/recursion/py/fib_compare.py
2e8c0cc398310254b59a7ef7a9ef1e9d2b8a762d
[]
no_license
ShreyaaChoudhary/DSA-130720-PY-JS
139f6f5a7a1377a3ee141da77c18509bb54c19e0
e69214481914407e10de510cac2bc4c66687d344
refs/heads/master
2023-03-16T10:53:01.768444
2020-08-22T04:21:58
2020-08-22T04:21:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# recursive method def fib(n): if n==0 or n==1: return n else: return fib(n-1) + fib(n-2) print(fib(50)) iterative method def fib_2(n): if n<=1: return n else: f1 = 0 f2 = 1 for i in range(2,n+1): f = f1+f2 f1 = f2 f2 = f return ...
[ "mohitchouhan1947@gmail.com" ]
mohitchouhan1947@gmail.com