blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
b9d86f03448c8cc1a54d531a274bd2c6babd51c3
228ebc9fb20f25dd3ed2a6959aac41fd31314e64
/tests/system/aiplatform/test_dataset.py
0167cb8f20ae58a1c3e8b302c90a48c4bafcf178
[ "Apache-2.0" ]
permissive
orionnye/python-aiplatform
746e3df0c75025582af38223829faeb2656dc653
e3ea683bf754832340853a15bdb0a0662500a70f
refs/heads/main
2023-08-03T06:14:50.689185
2021-09-24T03:24:14
2021-09-24T03:24:14
410,091,957
1
0
Apache-2.0
2021-09-24T20:21:01
2021-09-24T20:21:00
null
UTF-8
Python
false
false
11,073
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
noreply@github.com
6fa0d3a642e6b5cc7705c115b89dcdc618754a2c
b64ebafa759b2ec5998cf891edde3366c235302a
/vro3000/asgi.py
b818234ac65ff949ae18b08e20a2fe0cd3e1019e
[]
no_license
CamSkiTheDev/VRO3000
0458f7ef13c61811a09d58f7142ebd5b36a349a4
93c3b65da1e78290a846e7dbaf9e95c16962deee
refs/heads/main
2023-06-15T02:37:58.481177
2021-07-17T04:15:18
2021-07-17T04:15:18
384,806,849
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for vro3000 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTI...
[ "44956222+CamSkiTheDev@users.noreply.github.com" ]
44956222+CamSkiTheDev@users.noreply.github.com
42847c974fe12ff0e8c68e79c9bf6085ad3133f3
1915a3f90059f4a125b81675d16a427c85428626
/post.py
6ab84f631b32119601408481bcca0279c07a68e8
[]
no_license
AntLouiz/location_photo_bot
b09fd9939513d21b755c6204199c29c31284240c
0fcf85553efb26f4eec238aa4b0b8f2b57d9f276
refs/heads/master
2020-03-31T15:30:04.605136
2018-10-20T01:44:38
2018-10-20T01:44:38
152,339,854
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
import json import datetime class Post(object): def __init__(self): self.location = None self.photo = None self.date = None def clean(self): self.location = None self.photo = None self.date = None def save(self): data = { 'location': {...
[ "luizrodrigo46@hotmail.com" ]
luizrodrigo46@hotmail.com
6d5b50360e6eeb61eab8a5aff0d8e0536b43a586
209c12b235dd0857f732284c18233359f0b22bc7
/newserver.py
bd5c5475e5fd62c876bd534d48d0aecc013a81f8
[]
no_license
Reymond190/Studyhere
9ff26deced48a39c386f84924c2cabdef44ccf06
d1d4108c5127f89d47892b73a7eba122310e5e7f
refs/heads/master
2020-12-02T02:46:28.769247
2020-01-10T09:49:14
2020-01-10T09:49:14
230,862,561
0
0
null
null
null
null
UTF-8
Python
false
false
2,704
py
import socket # Import socket mod import _thread import binascii import struct import sys from crc_itu import crc16 import libscrc def on_new_client(clientsocket,addr): try: while True: # msg = clientsocket.recv(2024) # print('connected by',addr) data = clientsocket.recv(5000...
[ "josephreymond2011@gmail.com" ]
josephreymond2011@gmail.com
631e878284aa18cb3805dc8fc21702b9b4bc6132
60a4adf7570ee39d7a5d6a15399787511acc0e78
/02_创建游戏窗口.py
b72b270b4b04ccefb982513435d7954e242629aa
[]
no_license
thecatcher/aircraft_battle
96a24c7781a0b62caf2f6c4ead24035da4b7f4fc
33f47b96a940207d3d08642f58d81c9fd974dae8
refs/heads/master
2020-12-22T09:04:07.439469
2020-01-30T13:14:34
2020-01-30T13:14:34
236,735,316
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
import pygame pygame.init() # 创建游戏的窗口 480*700 screen = pygame.display.set_mode((480, 700)) # 游戏循环 while True: pass pygame.quit()
[ "gaoyang1019@hotmail.com" ]
gaoyang1019@hotmail.com
10539aa077b869f40c5da102e72c75b89d13ec82
baf5f7f96e1b6cae7ad9f06ecd748f73ff108a5d
/src/rl_agent/src/Agent/actor_critic.py
fae8f8637ad7808fa9bd33ca5b8352b178787611
[]
no_license
grablab/rl-texplore-ros-pkg
476038e1f2a8968bca418d004e2553216665d978
e1492b11840ac0078611ffd6735c7e65782898e6
refs/heads/master
2020-03-23T06:35:24.576838
2018-09-13T18:26:41
2018-09-13T18:26:41
141,217,797
0
0
null
2018-07-17T02:05:30
2018-07-17T02:05:30
null
UTF-8
Python
false
false
1,901
py
import tensorflow as tf from util import nn class ActorCritic: def __init__(self, inputs_tf, dimo, dimu, hidden, layers, **kwargs): """The actor-critic network and related training code. Args: inputs_tf (dict of tensors): all necessary inputs for the network: the ...
[ "yutaro.yamada0424@gmail.com" ]
yutaro.yamada0424@gmail.com
234e88f3b0a9d275b613902e63d48a31b12c0038
0a3bd0fc84263bd65559cf95b19a6752743f7f64
/src/guis/make_svg_camm
ce5acafd13805ae35b9ba00de0042e3ae860ed81
[]
no_license
shohei/fabmodules_jp
b38487e5e64599fe8f3de2c404c1f730e81c616c
67dc16709bb9eff12b63532e83a13aa410f76311
refs/heads/master
2016-09-06T16:25:46.636267
2014-08-21T06:49:37
2014-08-21T06:49:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
#!/usr/bin/env python #-*- coding:utf-8 -*- # # make_svg_camm # .svg to .camm GUI wrapper # # Neil Gershenfeld # CBA MIT 7/13/11 # # (c) Massachusetts Institute of Technology 2011 # Permission granted for experimental and personal use; # license for commercial sale available from MIT. # # imports # import wx,sys fro...
[ "shoaok@gmail.com" ]
shoaok@gmail.com
9dbfcd67d0f5d6750090aa6f308330342865ae73
6957341894b829e51ee6d4915818c7bf898280ff
/Thread&Process/Process04_Comm.py
9cbb7c778db3c1f96658a86b06a9b2157d7fd835
[]
no_license
thiscoders/study_python2
8c32056afd7e429b6ec131a724053e053b3155ca
4958902b4222678af0b482b4fc7efa009a927f7b
refs/heads/master
2021-06-20T14:36:32.584440
2017-08-08T08:42:08
2017-08-08T08:42:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
# -*- coding: utf-8 -*- # 进程之间相互通信 ,父进程创建共享资源 from multiprocessing import Process, Queue import os, time, random # 写数据进程执行的代码 def write(q): for val in ['A', 'B', 'C']: print 'Put %s to queue...' % val q.put(val) time.sleep(random.random()) # 读进程执行的代码 def read(q): wh...
[ "lucifer@DESKTOP-J8UR8RE.localdomain" ]
lucifer@DESKTOP-J8UR8RE.localdomain
1b3017e4d9efb6b748173059fdf1e8e745873df8
cda215558ad8448ed8e2cbb89719de312c382a95
/enteletaor_lib/libs/hooks/__init__.py
56572dc3372dc7674f8e8348206a7e4528940f44
[ "BSD-3-Clause" ]
permissive
cr0hn/enteletaor
63fc6a9f832ea7b6b08f3f786445a8235b9a4618
a975b5cb06bc5f819b32e65d0cd2258a37370661
refs/heads/master
2023-05-11T13:38:25.213779
2023-05-08T08:41:31
2023-05-08T08:41:31
52,361,896
166
31
NOASSERTION
2023-05-08T08:41:36
2016-02-23T13:44:22
Python
UTF-8
Python
false
false
4,021
py
# -*- coding: utf-8 -*- # # Enteletaor - https://github.com/cr0hn/enteletaor # # 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 con...
[ "cr0hn@cr0hn.com" ]
cr0hn@cr0hn.com
a4fcaf3dc3df751430089e3dece948298f0ded7c
0d2e3d0afba8790094a0c2656d1912e54f2191e0
/components/equipment.py
18fb3cbc98cfa33ddd5e7356577b92e54a4e9190
[]
no_license
jesse-bro/Rougelike_Game
ce85597320f498cd6a73b5b0d66b6db11973194f
e622aaff43ceecee99f75b4707495930584d3699
refs/heads/master
2020-03-25T17:51:08.366298
2018-10-17T08:21:00
2018-10-17T08:21:00
143,999,262
0
0
null
null
null
null
UTF-8
Python
false
false
4,399
py
from equipment_slots import EquipmentSlots class Equipment: def __init__(self, main_hand=None, off_hand=None, chest_armor=None, shoulder_armor=None, leg_armor=None): self.main_hand = main_hand self.off_hand = off_hand self.chest_armor = chest_armor self.shoulder_armor = shoulder_arm...
[ "jesus.villarreal02@utrgv.edu" ]
jesus.villarreal02@utrgv.edu
de7091480f2f208de4c42fa97e6a868185619552
8746f4e3da5e230ec0ca4b924bb06a9951dd03da
/setup.py
9082c72d9f540e3e1d1fc8b9b0e4754df699af35
[ "MIT" ]
permissive
Apeopl/django-dj-plugin
845a508dd9088ceb9d9e03de56f5c11d5d1d07a4
2711c1af0185eea0fe5d1aed2eca5cd0422b387d
refs/heads/master
2021-04-19T06:04:23.658893
2020-03-26T06:59:50
2020-03-26T06:59:50
249,585,770
0
0
MIT
2020-03-26T01:49:01
2020-03-24T01:42:04
Python
UTF-8
Python
false
false
2,239
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import re import sys try: from setuptools import setup except ImportError: from distutils.core import setup def get_version(*file_paths): """Retrieves the version from django_dj_plugin/__init__.py""" filename = os.path.join(os.path.dirname(__fil...
[ "daijian1@qq.com" ]
daijian1@qq.com
723ccd1e955c5fc42ca1aa3fbcb27318fff3ae4c
60158d1edd195c6882f14eb2803e282006a86a72
/UserManagementSystem/Useradmin/views.py
e028748d9161322721a591327e3c0f1113047498
[]
no_license
Fosity/Mysite
48ccd522c3a781acad791cab8fc1bd38676dce5f
fdf65566e0c1011627751086d24a60dedcc8624b
refs/heads/master
2021-09-06T10:00:28.358183
2018-02-05T08:42:30
2018-02-05T08:42:30
115,935,167
0
0
null
null
null
null
UTF-8
Python
false
false
7,034
py
import os import json from django.views import View from django.shortcuts import render,redirect,HttpResponse from django.db import transaction from django.utils.decorators import method_decorator from django.views.decorators.csrf import csrf_exempt from Useradmin.forms import UserForm,RegisterUserForm,UserinfoForm,Gro...
[ "446860117@qq.com" ]
446860117@qq.com
47e6cb76c4911b6dfab29e10173e7d5063ceea78
5451301faf5ead33af239418c3515c76354842dd
/manage.py
e81bcdc583ef39c28e1ae533f86ab227cdf80acf
[]
no_license
yanzhu-prog/blog-plus
fb7bc4647271fb14ea3862feb224fa1a0b80459b
ba0d15dc9cba9e5db8f1178bacc36d967a0868ea
refs/heads/master
2022-12-17T09:07:18.612759
2019-09-28T01:07:36
2019-09-28T01:07:36
211,424,619
1
0
null
2022-11-22T04:16:31
2019-09-28T01:06:39
Python
UTF-8
Python
false
false
372
py
from flask_migrate import Migrate, MigrateCommand from flask_script import Manager from apps.models.blog_model import User,Article from apps import create_app from exts import db app = create_app() manager = Manager(app) # 给manager添加db命令 migrate = Migrate(app=app, db=db) manager.add_command('db', MigrateCommand) if ...
[ "1418591000@qq.com" ]
1418591000@qq.com
37fcc509d6eae52b83c72330d28c9b72974900c6
b729d3201d8010859262b2069aab97a44194255f
/cms/apps/links/migrations/0002_auto_20171020_1320.py
8a8ac0c6720bea39332acacc79075b21de3f51b9
[ "BSD-2-Clause" ]
permissive
onespacemedia/cms
0be6f6cb7d5ec9fe61cfb02c6f5db23251974122
23ab6216e2580bd9b91dbf5c087973bce98f6b5e
refs/heads/develop
2021-07-18T13:42:22.821708
2021-07-13T13:45:17
2021-07-13T13:45:17
10,475,661
13
17
NOASSERTION
2021-05-19T14:35:44
2013-06-04T09:55:56
JavaScript
UTF-8
Python
false
false
718
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-10-20 12:20 import cms.models.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('links', '0001_initial'), ] operations = [ migrations.AlterField( model_name='li...
[ "jamesfoley@onespacemedia.com" ]
jamesfoley@onespacemedia.com
223068695290d0862c3a268b2a28d9b8f7fab28b
20e18be6777e7b9260f27a32852aea6c8a0fa074
/autoclipper.py
5d0b27de57a5fad9522b7e4d569007f1a2fdb94f
[]
no_license
marshl/autoclipper
3d9f64eacfaa337574c4b7a51a0136cdb5e6a8a4
6c6192605904e29eb09bfe8510faa6332bc21e25
refs/heads/master
2021-05-06T00:48:10.018946
2017-12-15T05:29:35
2017-12-15T05:29:35
114,330,789
0
0
null
null
null
null
UTF-8
Python
false
false
2,791
py
import time import re import numpy as np from selenium import webdriver from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException baseurl = 'http://www.decisionproblem.com/paperclips/index2.html' xpath = { 'makepaperclipButton': '//*[@id="btnMakePaperclip"]',...
[ "marshl@live.com.au" ]
marshl@live.com.au
45ce8d019c9d6259a1f738f1fe42e621152e8f41
1500915bf9069706ac3cc8024eda127df9d9d089
/LobPay/urls.py
2fea982fb5c4361f688ac9d54cc9a9627528b21a
[]
no_license
SrikarMannepalli/LobPay
d545959478b54a354d0317b8d46716b7270d20a5
0cc8e112df9b8d7bdcf03a281460ba0b3060406c
refs/heads/master
2022-11-06T10:20:49.664829
2020-06-23T14:36:51
2020-06-23T14:36:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
"""LobPay URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "67205786+rvram2000@users.noreply.github.com" ]
67205786+rvram2000@users.noreply.github.com
c5764e0d2736cdba1734bdfcda04d3dd6c06e730
2d649953f9c141793b04f00bb8693c0737af5f10
/utils/data_utils.py
6d3eb0a3ea342f98fdac9552ea80553b0b962a09
[]
no_license
HarshKohli/TableClassifier
151f53d14263aaa1e7e682ff813489a5a96a1a06
e6b41f75f643001acbb8bff3c84a2040c91f5afc
refs/heads/main
2023-07-14T12:28:36.303024
2021-08-27T11:18:05
2021-08-27T11:18:05
358,967,913
0
0
null
null
null
null
UTF-8
Python
false
false
9,769
py
# Author: Harsh Kohli # Date Created: 24-04-2021 import json import pickle import random from gensim import corpora from gensim.summarization import bm25 from utils.embedding_utils import compute_embeddings, index_embeddings, get_hardest_negatives from nltk import word_tokenize def create_train_batches(data, tables,...
[ "harsh14791@gmail.com" ]
harsh14791@gmail.com
409446557e73233096030b6e9abc6e1f306b9ce1
082f5463c211a3557467bb23a9869abf4385dc77
/navio_tasks/dependency_commands/cli_pip.py
6fba3a50d02d26249541750b4737cf0ab1b48da4
[ "MIT" ]
permissive
matthewdeanmartin/whose_module
b836cb35c189b5c41ef5d5fafe8b21a5596cb095
e9dbcda6a2856de2b6a104586dfbccba907f0bac
refs/heads/main
2023-03-03T06:03:30.373742
2021-02-06T21:05:10
2021-02-06T21:05:10
334,726,466
2
0
null
null
null
null
UTF-8
Python
false
false
2,170
py
""" Register scripts """ import os import shlex import sys from navio_tasks.cli_commands import ( check_command_exists, config_pythonpath, execute, execute_with_environment, execute_get_text, ) from navio_tasks.settings import ( PIPENV_ACTIVE, PROJECT_NAME, VENV_SHELL, PIP_CHECK_SKI...
[ "mmartin@loc.gov" ]
mmartin@loc.gov
bb505cb548b5416b10fedd876d900a3c7eb66011
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqpt/fanstatshist1h.py
faf10d31b9ed476de3fe3f4b2b2402b56adf2b40
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
17,009
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
837f70210f3bee5865313daaf5ba2baf6c084632
950687fe81f283415d4e0718a9dbd78c4b4a1b9a
/Chapter5-1.py
7f8146777e2890ad113acbb9ab773a4259154405
[ "Unlicense" ]
permissive
KarlPearson15/Chapter_5
ee70cc70cd3c177bb750274822a47d445de60690
2ef78bed9efbdc399da0dc556738428b469be512
refs/heads/master
2020-12-28T20:42:45.533106
2014-12-15T12:17:35
2014-12-15T12:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
#Chapter5-1.py #Karl Pearson #11/11/14 import random words=["Print","a","Random","Word","List"] random.shuffle(words) print(words)
[ "kpearson@stcharlessd.org" ]
kpearson@stcharlessd.org
51d60bfea38d170dd8075983c6964d54dc126122
0824a652bcd0e4dae7cfaf5194f889142c46a3a1
/farmer/migrations/0001_initial.py
6aae346ae30f59c798186dbccb48269590909d0d
[]
no_license
syaur/Farming-Assistance-Django
e3bda3526c8bc2208c96d624a8245f27206832e0
67835ec7f37cd5d22a4af6d93ada26be1a2ab2d2
refs/heads/master
2022-12-07T03:06:44.174569
2020-02-11T11:57:02
2020-02-11T11:57:02
239,742,306
0
0
null
2022-11-22T05:18:23
2020-02-11T11:09:14
Python
UTF-8
Python
false
false
975
py
# Generated by Django 3.0.2 on 2020-02-11 05:59 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contactus', fields=[ ('id', models.AutoFiel...
[ "sayurpatel@gmail.com" ]
sayurpatel@gmail.com
ca9afadd672ce387fd79fc8c543b9111e07090f5
0460b645ac0697433e4526ea9215ac25c97a64bb
/venv/bin/pyhtmlizer
9c15bcee75f63931c24a55fe21eaa476ebb0d585
[]
no_license
veujs/weibo
0e20645d07196193537f523a677892d3da1abf88
b33d0c41fc82608fd828e2790a2dcc2c9a246f36
refs/heads/master
2020-05-30T12:03:22.631450
2019-06-01T10:18:36
2019-06-01T10:18:36
189,718,486
0
0
null
null
null
null
UTF-8
Python
false
false
433
#!/home/wangzhipeng/myproject/myspider/weibo/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==19.2.0','console_scripts','pyhtmlizer' __requires__ = 'Twisted==19.2.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "624040034@qq.com" ]
624040034@qq.com
b030647632c83222dc22fa1fbe32c6bbd1de1794
f8e99af66153f92306b108eb91f873e408e35e34
/static_gridworlds/gridworld_env.py
b4acbe98e83e06be851c2145dfe0b894279ff43c
[]
no_license
maximilian-zollbrecht/gridworld-statemachine-rl-constraints
5c4dfc7d8cff8d612cf82071a29d8b3e5f19f1cb
75146057f3ae96c1f64722f95eb35ba087821d61
refs/heads/main
2023-04-16T21:31:08.299920
2021-04-18T10:30:58
2021-04-18T10:30:58
359,100,669
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
from abc import abstractmethod import gym from gym import spaces import numpy as np from static_gridworlds.observation import Observation from static_gridworlds.gridworld import Gridworld from static_gridworlds.gridworld_objects import Goal, Lava, Checkpoint # Integrates Gridworld and openai Gym. # Implements agen...
[ "MaxiZ_94@web.de" ]
MaxiZ_94@web.de
2ea4fa9ccaa09fbfb61404bc678d612d263e070a
b5d062c400c8e6eec0f6dee7da219d298d200adf
/registration/views.py
78b4ed65f4fa13989355728e53a2f767ad09a0b3
[]
no_license
ChiragKanzariya/registration-page-in-wagtail
92eeb1dd815b0c7f8ab2f575962be3ab26b7e05b
67f3d1916ba8c7f999e86675ed81e89d72da6d04
refs/heads/master
2020-06-03T22:05:43.304075
2019-06-14T13:31:12
2019-06-14T13:31:12
191,750,477
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
from django.shortcuts import render, redirect def welcome(request): return render(request, 'registration/welcome.html')
[ "chirag.kanzariya@ChiragG.local" ]
chirag.kanzariya@ChiragG.local
efbcbe83bcda257165a6264ea9ac397fa442b3ab
a2c80710f4212e108f2007b0ec883b9498462a26
/SCA11H/commands/system/RunCommand.py
196bce33dfe7803187378242eab27fafb4d6230a
[ "MIT" ]
permissive
ihutano/SCA11H
53035fbfc6cbeb5f6e4fe7080ca8c8884dd455da
ee8a38ec9e47bc015851c20fa121651d2601cde0
refs/heads/main
2023-06-15T08:47:56.222291
2021-07-14T14:36:40
2021-07-14T14:36:40
301,773,503
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
from enum import Enum import json from SCA11H.commands.base.PostCommand import PostCommand from SCA11H.commands.base import enum_from_value class Command(Enum): Reboot = 'reboot' # Reboots the system Restore = 'restore' # Restore system's factory settings and reboot the system class RunCommand(PostComman...
[ "yowidin@gmail.com" ]
yowidin@gmail.com
fa1c2687dd67d4db4fee7ad1a0efd4197c5703d7
585f550288a9bd41e9f44a08ee6ab5b182408f76
/LiveSessionMaterials/wk02Demo_IntroToHadoop/master/VocabSize/reducer.py
a025e118849333089d472de02e7a5f561162a78c
[]
no_license
jayeshparikh/w261assignments
2a7120da8a8ced447d00954955ac660e81a1da13
ff7d76c93d9dc4a20526941aab1eb7c3ab5424bf
refs/heads/master
2022-11-28T17:01:16.291590
2020-03-23T06:38:11
2020-03-23T06:38:11
284,869,350
0
1
null
null
null
null
UTF-8
Python
false
false
600
py
#!/usr/bin/env python """ Reducer script to count unique words. INPUT: word \t 1 (sorted alphabetically) OUTPUT: an integer count """ import re import sys cur_word = None word_count = 0 # read from standard input for line in sys.stdin: line = line.strip() ############ YOUR CODE HERE ######### if line...
[ "jayesh.parikh@gmail.com" ]
jayesh.parikh@gmail.com
3937e4a4be12d7fa734792ababc9590adee4697e
aeb40bfa5a685bb739e818e7ea906a748795ba59
/data/management/commands/insert_dynamic_data.py
c6bd4bddbe9e2c54d30ac01bfb78a64a3ab95d03
[]
no_license
jaebradley/nba_persistence
d1be548967266b4af09625fc140ce9fb4cd88a25
177129ad195c07dc0ff93a6c2c8f7b34770da116
refs/heads/master
2021-01-18T23:56:52.512661
2017-02-16T21:17:05
2017-02-16T21:17:05
48,635,050
10
2
null
2016-09-23T02:44:36
2015-12-27T06:14:25
JavaScript
UTF-8
Python
false
false
474
py
from django.core.management.base import BaseCommand from data.inserters.dynamic import insert_players, insert_games, insert_box_scores class Command(BaseCommand): def __init__(self, stdout=None, stderr=None, no_color=False): super(Command, self).__init__(stdout, stderr, no_color) def handle(self, *a...
[ "jae.b.bradley@gmail.com" ]
jae.b.bradley@gmail.com
7d0ac5540cd33b68e73c38be260d8192538f2a02
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/1550.存在连续三个奇数的数组.py
4b37608348efa8136e2a1c0fa66108f9a3ea9483
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# # @lc app=leetcode.cn id=1550 lang=python3 # # [1550] 存在连续三个奇数的数组 # # @lc code=start class Solution: def threeConsecutiveOdds(self, arr: List[int]) -> bool: odd_count = 0 for e in arr: if e%2: odd_count +=1 if odd_count ==3: return T...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
a29e4d55f77f1df55d3802dfeab88e6851d90e6b
126db5cf2ede91e837eb21a79f2df72b188cbee7
/1.糗事百科/11.19 qsbk(2).py
ad6800473b3b64c94226705b2399d0a6e968952e
[]
no_license
Patrickctyyx/Crawler
97135ea5ecbcdd620eff7a7a2e8ace0169e894d1
62c709c2949b1a21626d6a6fda9eccfe4b91cc6d
refs/heads/master
2020-07-06T22:17:15.046152
2017-04-13T06:54:24
2017-04-13T06:54:24
74,042,441
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import requests from bs4 import BeautifulSoup page = 1 url = 'http://www.qiushibaike.com/8hr/page/' + str(page) + '/' session = requests.session() user_agent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36' headers = {'User-Agent': user_agent} html = sessi...
[ "873948000@qq.com" ]
873948000@qq.com
7922a9db3833450dbed7ac161e534daed566aca7
e96dc3b097637954441a74bc4262f68728d4aadc
/pgdrive/tests/test_env/test_ma_bottleneck_env.py
8c0c0851e801e17f97326767bec50d238982ec48
[ "Apache-2.0" ]
permissive
Edwardhk/pgdrive
f6eacb4a8572cd3b4da2846de539669b4ff19ce7
649d32309ab2cec2a2d00283ce400af28ca85199
refs/heads/main
2023-05-13T02:57:48.186219
2021-05-18T08:43:25
2021-05-18T08:43:25
345,568,383
0
0
Apache-2.0
2021-05-18T08:43:25
2021-03-08T07:32:54
Python
UTF-8
Python
false
false
26,733
py
import time import numpy as np from gym.spaces import Box, Dict from pgdrive.envs.marl_envs.marl_bottleneck import MultiAgentBottleneckEnv from pgdrive.utils import distance_greater, norm def _check_spaces_before_reset(env): a = set(env.config["target_vehicle_configs"].keys()) b = set(env.observation_space.s...
[ "noreply@github.com" ]
noreply@github.com
1eb5dde995bd3f35c99d07edd4d05349b1f2d337
2672228cd79938f112802a7d3c6209e907c46935
/testsuite/tests/ui/devel/billing/test_stripe_billing.py
2c12fb3cc4844c99d07bbfae0b250b469697bc55
[ "Apache-2.0" ]
permissive
Hchrast/3scale-tests
82233d4015fc5ec9f1cad82ce411e6d48f3c056f
ab64592f1438a6cb878b81897164a0e495fed961
refs/heads/main
2023-08-27T21:04:35.108744
2021-11-08T10:08:59
2021-11-08T10:08:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
"""Billing tests for Stripe payment gateway""" # pylint: disable=unused-argument import pytest from threescale_api.resources import InvoiceState from testsuite.ui.objects import CreditCard from testsuite.ui.views.devel.settings.stripe import StripeCCView # pylint: disable=too-many-arguments @pytest.fixture(scope="mo...
[ "jsmolar@redhat.com" ]
jsmolar@redhat.com
b72457a38fc4cf56c7d54fde970a0e16e2e406b4
dee353f112306418b571717a16f48666238ff374
/scraper01.py
fd51055b8e478656d3db0d005d36f50fef6754b0
[]
no_license
vTechnolust/webScrape
06336c1b7335a559f4ae3e7a65fec0d006dcdae3
58d2fe6cc7b29265467d3d3f3233f2c7d3253648
refs/heads/master
2021-01-24T10:49:37.261549
2016-10-17T14:49:17
2016-10-17T14:49:17
70,290,212
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
import requests from bs4 import BeautifulSoup import encodings, os url = "http://wwisnorthsmithfield.maxgalaxy.net/LeagueScheduleTeamDetail.aspx?TeamRegistrationID=4542&WebReportID=7&GUID=91ee4112-15bc-41a2-a8bd-24b2d3599eee" r = requests.get(url) soup = BeautifulSoup(r.content, "lxml") #for link in soup.findAll("tr...
[ "chuck@CFS-MacbookPro.local" ]
chuck@CFS-MacbookPro.local
315073b750d7d6abc2a3577f57046d7db01a3254
e7e341c63e9fb5be39a302a99b0b3f2ada19cec8
/venv/bin/isort
8051fafc06810caf7e2f242d451da97529a9d7c3
[]
no_license
massamuel/TutorialsFollowed
f6ca8b2e426b861f4c884e581059fe765504afdd
81a5448ce8b23ab5f08eaa7365447130b2e67d92
refs/heads/master
2021-07-12T18:24:08.982854
2021-03-24T03:58:30
2021-03-24T03:58:30
240,986,497
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/Users/sampoplack/Desktop/income-prediction/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from isort.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sampoplack@Sams-Macbook-Pro-3.local" ]
sampoplack@Sams-Macbook-Pro-3.local
4e88beb03ff92ac889515bdb3172e288f961c20b
c5d87c7f25e3fe9b17c1e88993b0ed6831e52acb
/Django_HelpWord/mysite3/upload/templates/__init__.py
7c35217eb0fb5679a9ba58649325514db58ce182
[]
no_license
GIS90/python_base_use
e55d55f9df505dac45ddd332fb65dcd08e8e531f
7166ca85975bb7c56a5fbb6b723fd8300c4dd5d1
refs/heads/master
2020-04-02T08:33:49.461307
2018-10-23T03:33:41
2018-10-23T03:33:41
154,249,857
1
1
null
null
null
null
UTF-8
Python
false
false
270
py
# -*- coding: utf-8 -*- """ ------------------------------------------------ describe: ------------------------------------------------ """ __version__ = "v.10" __author__ = "PyGo" __time__ = "2017/3/30" if __name__ == '__main__': pass
[ "mingliang.gao@qunar.com" ]
mingliang.gao@qunar.com
f68c84a68633225f5e770dd8f0c75f1770df1349
bc07e2822dbd213e194f69962e2f76c5350f2dc6
/Python/Introduction/divmod.py
d2195bf6886309c6b622b8a30facfef7e71eabb1
[]
no_license
nocotan/HackerRank
ddd3168910590c9dcfe59f39551a6de0e63f5946
346592c96c5a00c5da9eab73e046b13cefc630d6
refs/heads/master
2021-01-15T15:37:52.630649
2016-10-30T16:05:17
2016-10-30T16:05:17
55,508,533
1
1
null
2018-01-19T05:56:20
2016-04-05T13:06:29
Python
UTF-8
Python
false
false
93
py
a = int(input()) b = int(input()) ans = divmod(a, b) print(ans[0]) print(ans[1]) print(ans)
[ "noconoco.lib@gmail.com" ]
noconoco.lib@gmail.com
be85893dfa6895326d2afa7685f39f168fc17af4
d596796c1488ea6dc67fb2030e2fd1fbf45e54cb
/free/index.py
7bccfb1fd092f52382826ca46e34b1e4c277d164
[]
no_license
zerc/draft
83aad5b08fc1d7569295aa595821f117cb29decd
a972f1c341c711530c0894b5340a6639b206ec41
refs/heads/master
2021-01-15T23:02:10.509905
2010-06-22T16:15:56
2010-06-22T16:15:56
730,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/python #-*- coding:utf-8 -*- # zerc.ru from os import popen def get_free(): s = tuple(popen('free -m').readlines()[1].split()[1:4]) return s def index(): html = """ <html> <head><title>web free</title></head> <body> <style type="text/css"> body {margin:0;padding:0;background:#aeaeae;color:#ffffff;} ....
[ "zero13cool@yandex.ru" ]
zero13cool@yandex.ru
db5befbad1ea851c5c7cdb55c6b424ab2fa8bfb9
bc3173b62e14505cf97eb2d72c79ecf1e8666235
/venv/bin/bin/pygmentize
c979560549db1769fe2465a299616a2c5724c856
[]
no_license
TobiaC/KivyTutorialForm
3e278a51556c6faa35bd087f02ef2029eeb7684d
1fcd27c327eab778c3e9f53e83fd0474e11e8ade
refs/heads/master
2022-10-04T20:33:01.836468
2022-05-16T11:37:05
2022-05-16T11:37:05
249,677,962
1
2
null
2022-10-01T04:27:55
2020-03-24T10:27:40
Python
UTF-8
Python
false
false
265
#!/home/tobia/PycharmProject/kivytutorialform/venv/bin/bin/python # -*- coding: utf-8 -*- import re import sys from pygments.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tobia.cargnello@gmail.com" ]
tobia.cargnello@gmail.com
1e7622f5d4b18dca8554d37be0261567ef748e12
64ee329c17d46974261e6991caa97f3d10882533
/PythonCode/HackerRank/Apple and Orange.py
19573cfca461c0b549800b043db922526ebe1879
[]
no_license
muhammada1/Portfolio
5da39562fe767e888d8ecc365c7a45e31b941463
226c4ddfa722ad8eacd03fe0924d29a1d48d99ec
refs/heads/master
2021-01-06T08:47:42.422993
2020-04-04T20:24:38
2020-04-04T20:24:38
241,266,619
1
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
#!/bin/python3 import math import os import random import re import sys # Complete the countApplesAndOranges function below. def countApplesAndOranges(s, t, a, b, apples, oranges): #between s and t #print(s,t,a,b,apples,oranges) count=0 count2=0 for splited in apples: x=a+sp...
[ "noreply@github.com" ]
noreply@github.com
b7e386ee24fd4d67cb6a40c7fc1011d3bc75619b
80d0bc57a0ae9a05d901a6bb1f203c73f8509a29
/unbox/settings/prod.py
1c57eb51c03d5245b48b8096ebd498aef880aa50
[]
no_license
manzars/Unbox-Assignment
478ce495f118eb2d5d1492fe4e2cbab1e868f9d7
74f7f620ab8f72465549dc28bdef667e46e2fe02
refs/heads/master
2023-01-01T06:37:25.776725
2020-10-24T10:25:15
2020-10-24T10:25:15
306,857,586
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from unbox.settings.base import * #Override base.py settings here DEBUG = False try: from unbox.settings.local import * except: pass
[ "manzarshaikh69@gmail.com.com" ]
manzarshaikh69@gmail.com.com
139c608c154098cb3413446048369878c7f2a958
f35bf9ff7405c179289f049fad4396198b4a0ef8
/CF_653_D3/E1.py
cc47a08191dce008dced0a865842d4013c9b8ec3
[]
no_license
proRamLOGO/Competitive_Programming
d19fc542e9f10faba9a23f4ef3335f367ccc125a
06e59ba95c3804cae10120ac7eda6482c3d72088
refs/heads/master
2023-01-03T07:27:25.960619
2020-10-29T19:15:53
2020-10-29T19:15:53
151,049,005
0
7
null
2020-10-29T19:15:54
2018-10-01T07:05:55
C++
UTF-8
Python
false
false
912
py
import sys sys.stdin = open('CF_653_D3/input.txt', 'r') sys.stdout = open('CF_653_D3/output.txt', 'w') n,K = list(map(int,input().split())) l = [ list(map(int,input().split())) for _ in range(n) ] al,bo,bt = [],[],[] for i in l : if ( i[1]==1 and i[2]==1 ) : bt.append(i[0]) elif i[1]==1 and i[2]==0 :...
[ "kapilgupta547@outlook.com" ]
kapilgupta547@outlook.com
b7e6f4877a55e3f031ae1d937d7a482b6abe3555
c2748491984e33bf8bb7edeb2f55ff141967afd4
/readExcel.py
e0b5ca3328eb1dd6a2ec1f3ccfe51f30043a8043
[]
no_license
xts0922/python
b88739bbf25a8126f23b5f2482d6aff39b5d16f1
24f9cefe0c6b204df8dd8566b6dbdd0133565601
refs/heads/master
2023-02-25T14:15:21.615271
2023-02-18T19:26:09
2023-02-18T19:26:09
199,355,133
1
0
null
2019-09-16T10:18:10
2019-07-29T01:13:50
Python
UTF-8
Python
false
false
2,329
py
import xlrd import pymysql # import importlib # importlib.reload(sys) #出现呢reload错误使用 # def open_excel(): try: book = xlrd.open_workbook(r"C:\Users\Administrator\Documents\Tencent Files\624912911\FileRecv\2021年(3+1+2模式)8省数据统计(0910第一版).xlsx") # 文件名,把文件与py文件放在同一目录下 except: print("op...
[ "noreply@github.com" ]
noreply@github.com
a38360b15b6f29c1721762411c3fc8aaf848d257
46dfc72e51155685a9415b719683be6ef10a141c
/ProjectR/shutdown/main.py
c229aa0ff15c167f74c17fac8251214a0a6b052d
[]
no_license
richierh/LearningPy
dc27181c69154f7526d06cd5e9082d00ba88684a
da9d19a382a026b1f023e73c00a23a5cc3ec939e
refs/heads/master
2021-01-09T06:28:02.191159
2017-08-09T16:32:03
2017-08-09T16:32:03
80,982,088
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from inputsys import * import subprocess global answer j = "no%d"%int(answer) print eval(j) print j if eval(j) == no2: subprocess.call(["ssh ","%s"%eval(j)]) print "oke" else : print "nggak oke" #subprocess.Popen("ssh "
[ "“[richie_130283@yahoo.com]”" ]
“[richie_130283@yahoo.com]”
46b2653e99a195df5cfc5323472f87bf0084ec2d
0c45507bcf88fe70a905572e0458dedf68a3e28f
/common/setup_notebook.py
2983f78110efce4c853d2662b63b49d8878fd2f1
[ "MIT" ]
permissive
gnebbia/tales-science-data
b82d975f77ed326c6357306e1c32c3d0c803e4e2
4f271d78869870acf2b35ce54d40766af7dfa348
refs/heads/master
2020-03-28T20:35:58.136923
2018-02-04T10:16:46
2018-02-04T10:16:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
# Methods to set the notebook up # Note that these have to be called in order from IPython.core.display import HTML from IPython.core.interactiveshell import InteractiveShell from IPython.display import set_matplotlib_formats import json import sys import matplotlib from matplotlib import pyplot as plt # Name of ...
[ "m.letitbe@gmail.com" ]
m.letitbe@gmail.com
79f4334ae35457cde3d766dcd48480750b5bd81a
656daad231d001348e8e570277e9bd0597e4f4a3
/backspace_string_compare.py
10cabd1ab9d72bb08431c087c7ea57f6bae63794
[ "MIT" ]
permissive
vyshuks/Leetcode-30-day-challenge-april
dede001cfa0c7427d30c6da2f8e763d635ae1558
aee6050c14670468426b437353f1df99c408a5a9
refs/heads/master
2022-05-26T09:36:57.284983
2020-05-01T07:27:53
2020-05-01T07:27:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
def back_space_compare(S: str, T: str) -> bool: pointerS = len(S)-1 pointerT = len(T)-1 skipS = skipT = 0 while ((pointerS >= 0) or (pointerT >= 0)): while pointerS >= 0: if S[pointerS] == '#': pointerS -= 1 skipS += 1 elif skipS > 0: ...
[ "vyshuks@gmail.com" ]
vyshuks@gmail.com
1a1db332dbcd0359354eef13f4d8462b28205576
ee5e743a074268bd25c4ef2375e3f3929dc283a6
/crawl_spider_demo/crawlspiderdemo/settings.py
0bc044620d822671e4b89e6ed99af796d56ed628
[]
no_license
coderfruit/python_spider
2d52d86832b9e135c66555525caae7d45255258c
7af89fca0f7b166195f571fee35daf5e3d7ba02d
refs/heads/master
2020-03-09T04:33:51.996682
2018-04-08T05:27:25
2018-04-08T05:27:25
128,590,643
0
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
# -*- coding: utf-8 -*- # Scrapy settings for crawlspiderdemo project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/late...
[ "noreply@github.com" ]
noreply@github.com
287e89cd4c348d4ddc8853c3630fe6bc44339f34
719e7b35f2b1c3196ff8084b5c5c46cbd2a22f5f
/setup.py
c11bcae02e8fed764919d18313cdb3ad23794389
[ "MIT" ]
permissive
noobermin/pynoob3a
72817b87dd7f96652487d139f42373adac820dca
fa8b6650ac286b52803b98b6b596f3cdc9db87cb
refs/heads/master
2021-02-09T14:07:35.912782
2020-03-02T05:48:52
2020-03-02T05:48:52
244,291,108
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from setuptools import setup setup(name='pynoob3a', version='0.0.1', description='dumb binary format', author='noobermin', author_email='ngirmang@protonmail.com', license='MIT', packages=['noob3a'], zip_safe=False);
[ "ngirmang.1@osu.edu" ]
ngirmang.1@osu.edu
7cfffe1abe2826ae82e2836f84a2bd17f75169a4
c307de5f1acae5cfec010e13937baf5d19a5888b
/prototypes/grid_mcmc_main_parallel.py
dc86f9fc189d967c444e743b99d01b8d7bd53904
[]
no_license
AriChow/error_propagation
ec5372768a0355d99bb2bf0be882d29ccbae1b81
97f882d17a978bf8b385cc99fcc719064e79593b
refs/heads/master
2021-07-19T09:00:12.108349
2018-07-02T14:37:15
2018-07-02T14:37:15
108,861,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,338
py
import numpy as np import os from prototypes.grid_based_mcmc_parallel import grid_MCMC import sys if __name__ == '__main__': home = os.path.expanduser('~') dataset = sys.argv[1] place = sys.argv[2] # Documents/research for beeblebrox; barn for CCNI data_home = home + '/' + place + '/EP_project/data/' results_hom...
[ "achowd@rpi.edu" ]
achowd@rpi.edu
e33a23acc800436260bf99137b47bfae9217c54e
4ca7e8c7363508274a9dc38dcb231a8330e3240d
/ardianto/05_django_blog_data/jeblog/urls.py
c03721684fb99cbdbd01ccb7044714bee50deeb8
[]
no_license
tate11/pythoncw
2d7ed8d9a4fa7ab12c81f9c711d5ea7253c275fc
bec83538da3a3f905cb9ae58a17ea3119742fd35
refs/heads/master
2020-06-26T03:07:54.890052
2019-07-24T10:22:10
2019-07-24T10:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
"""jeblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "ardianto.email@gmail.com" ]
ardianto.email@gmail.com
c09223bd767476f35e8649eb96da6fba78c25e3f
56c1aa96d2b5d8195d2ae2f5b92061603d2efbf8
/CodeUp/Basic100/1063.py
dacfce756503c83e3d1f770c88e6a23dfdfe36bc
[]
no_license
SeunghyoKu/Algorithms
b1c41fdb4a0b01bc7e90a25b698db8d2da2ac7a6
800b49a3ce1cb63479165c0e95852c70c037792f
refs/heads/master
2022-04-28T05:14:51.014395
2022-04-21T15:44:19
2022-04-21T15:44:19
189,375,638
3
0
null
null
null
null
UTF-8
Python
false
false
432
py
#입력된 두 정수 a, b 중 큰 값을 출력하는 프로그램을 작성해보자. #(단, 조건문을 사용하지 않고 3항 연산자 ? 를 사용한다.) #삼항 연산자: 항이 3개인 형태일 때 a, b = input().split(" ") a = int(a) b = int(b) c = a if a>b else b print(c) #파이썬의 3항 연산자 #(조건을 충족할 때) if (맞는 조건) else (조건을 충족하지 않을 때) #ex: a if a>b else b
[ "noreply@github.com" ]
noreply@github.com
8bfe1aee224c3652f4817fbd9a52fa3a62833675
32619e19a69b1720998fe323d267edf1609c6729
/venv/bin/django-admin
e846113fa04b716ba9467edb9a8761be02636dce
[]
no_license
KastroKevin/blog
63fff57518204f5ad32cfc909def0e945271cd76
e5cfc8a08da780d550306c14001d2ee1a1a63b34
refs/heads/master
2020-04-29T03:48:16.777397
2019-03-15T07:23:05
2019-03-15T07:23:05
175,824,353
0
0
null
null
null
null
UTF-8
Python
false
false
301
#!/home/kastro/Documents/Python/blog/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "kastrokevin1997@gmail.com" ]
kastrokevin1997@gmail.com
68811fb3a6cb696a39be46b3dbf5f848f91a937e
5771bfe9e9296a3a0a1b3ac407dd0d79b4a485ef
/python3_exercicios_feitos/Desafio026.py
dc1a746da79398ce5f7cd5512c9c1c00e86c8a08
[ "MIT" ]
permissive
LouiseCerqueira/python3-exercicios-cursoemvideo
d76b19d5ad2144fc14f26eb766d3cde1ba83e0d1
782f983829a594496262ec30b87d545e928f7322
refs/heads/main
2023-01-24T18:45:51.536119
2020-12-09T11:34:58
2020-12-09T11:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
'''FUPQ leia uma frase pelo teclado e mostre: 'Quantas vezes aparece a letra 'A' Em q posição ela aparece a primeira vez Em que posição ela aparece a última vez ''' frase=str(input('Frase: ')).strip().upper() print(frase.count('A')) print(frase.find('A')+1) print(frase.rfind('A')+1)
[ "br07louise.ll@gmail.com" ]
br07louise.ll@gmail.com
32e99b6d1e481856877756ea2cb6756722d16906
61ef327bd1d5ff6db7595221db6823c947dab42b
/FlatData/EquipmentStatExcelTable.py
e079ec5a2805f744c293cc9dd2edff8c4f954a6f
[]
no_license
Aikenfell/Blue-Archive---Asset-Downloader
88e419686a80b20b57a10a3033c23c80f86d6bf9
92f93ffbdb81a47cef58c61ec82092234eae8eec
refs/heads/main
2023-09-06T03:56:50.998141
2021-11-19T12:41:58
2021-11-19T12:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,555
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: FlatData import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class EquipmentStatExcelTable(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffer...
[ "rkolbe96@gmail.com" ]
rkolbe96@gmail.com
1c92ba6a348d9e89cd78c7c471efa349314ff4c3
73049982bbdcf20a7b52c31229f4bd0601524ba3
/test/functional/p2p_pos_fakestake.py
ee12eb3926c801366be8fa303b3c95e08064a25f
[ "MIT" ]
permissive
Andipandip/flits-core
4878a75cf4ab48dc5fdf011cd6fe4e0038d21131
22bffcf20b1ab78892b7d2a6f6bc2e9b09d050da
refs/heads/master
2022-11-18T18:57:33.143854
2020-06-30T09:58:34
2020-06-30T09:58:34
275,826,155
2
0
MIT
2020-06-29T13:41:15
2020-06-29T13:40:11
null
UTF-8
Python
false
false
2,285
py
#!/usr/bin/env python3 # Copyright (c) 2019 The PIVX Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Covers the scenario of a PoS block where the coinstake input prevout is already spent. ''' from time import ...
[ "ronanmcgrory@gmail.com" ]
ronanmcgrory@gmail.com
11bb73f8828c60bcdee60474e70b4d41694d0452
79bd2f61cd08374f68316b418f66225260439030
/welltokapi/topics/migrations/0002_auto_20190924_0214.py
5c7333db6f5437767dbc69f742f6553cb0a4b621
[]
no_license
blake0706/welltok
e5223ad02cb60e522845cf22c6c06125afe7925e
c39521a1afe8d493698d212830910f60be05a73c
refs/heads/master
2020-07-31T01:40:19.484169
2019-09-24T15:05:15
2019-09-24T15:05:15
210,437,301
0
0
null
2019-09-24T15:06:53
2019-09-23T19:38:05
Python
UTF-8
Python
false
false
622
py
# Generated by Django 2.2 on 2019-09-24 02:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('topics', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='topic', options={'ordering': ['-created_at']}, ...
[ "shiping@alum.wpi.edu" ]
shiping@alum.wpi.edu
f12032ded48c0d948fb9ba96e88a02b64cb297dd
1a542e68aa2cf10709bb3df5fd4420be37226870
/routes/topic.py
7f8d637e206397788399903576d52adbddd29712
[]
no_license
wtraceback/BBS
d0d8bd0de64e1fa6a36b30661433526662745e20
d034600641762d3637509117cbddf01fd67b64c2
refs/heads/main
2023-05-05T12:21:39.437664
2021-05-24T15:03:25
2021-05-24T15:03:25
362,860,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
from flask import ( Blueprint, render_template, request, redirect, url_for, ) from routes import current_user from models.topic import Topic from models.board import Board from models.about import About topic = Blueprint('topic', __name__) @topic.route('/') def index(): board_id = int(reques...
[ "whxcer@outlook.com" ]
whxcer@outlook.com
2be97047e2001fdc961703b5402a777176f20e26
9e4e7b9d3ad410ea84310d1a93122f6817f59b5e
/bin/edsig
d7d9c4fe903836407868143f4c31d604a3624a26
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
Sigterm-no/python-ed25519
42105735c53eba865c5b0430eee2487f40b73fea
15237f3536b12022c30553a857524768a2d904c7
refs/heads/master
2021-01-11T05:08:06.617637
2014-03-19T23:21:30
2014-03-19T23:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
#! /usr/bin/python import os, sys import ed25519 from hashlib import sha256 def help(): print """\ Usage: (ed25519 version %s) edsig generate [STEM] creates keypair, writes to 'STEM.signing.key' and 'STEM.verifying.key' default is to 'signing.key' and 'verifying.key' edsig sign (signing.key|keyfile) mes...
[ "warner@lothar.com" ]
warner@lothar.com
ebae3228e5ed9651f1ccf3198bd11ddbb965ea6c
95f8b47272b96833f8e4388e1f2efcd0ff561302
/ats_helpers.py
3c369010179e25de0004e2f4a920520effd29be6
[ "MIT" ]
permissive
Mondrik/atseo
e9b4d0740ccd28653fb902a6535a01743fd41dbc
05883e68f2f33c5a1a85135dad63fe83b8374770
refs/heads/master
2022-06-18T21:44:31.598074
2020-04-21T19:30:22
2020-04-21T19:30:22
256,240,369
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
import astropy.io.fits as pft import numpy as np from astropy.time import Time import itertools from astropy.stats import sigma_clipped_stats from scipy.signal import convolve def group_image_pairs(file_list, by_next=False, by_exptime=False): if by_next: image_pair_lists = [[file_list[2*i], file_list[2*i+...
[ "nmondrik@lsst-dev01.ncsa.illinois.edu" ]
nmondrik@lsst-dev01.ncsa.illinois.edu
52bb3e8adfadd828279b34a8f1cc2056a517a862
2480774b79e5f8968975e0b9f19fae67b09bc266
/py/finc/builtin.py
73b1e387b263458647d6945af2e4e2e33428d1af
[]
no_license
danzhu/fin
2b4ebacce8632018f2073cc46bfac9c966197bd8
7fd92590c76a769793433f547197f1183fb35d47
refs/heads/master
2021-01-19T08:54:38.794634
2017-09-24T08:20:15
2017-09-24T08:20:15
87,695,548
1
0
null
null
null
null
UTF-8
Python
false
false
2,895
py
from . import types from . import symbols def load_builtins() -> symbols.Module: mod = symbols.Module('', None, None) NUM_TYPES = [INT, FLOAT] # classes for struct in {BOOL_SYM, INT_SYM, FLOAT_SYM}: mod.add_struct(struct) # constants for const in {TRUE, FALSE}: mod.add_const...
[ "danzhu24@hotmail.com" ]
danzhu24@hotmail.com
30d2d8bf4d1bd7d1f4a8095bfd4336d191319e46
bbe5b336150c38f480a4c3a3a15e1d65a7dfc7d1
/tests/app/api/business/validators/application_validator/test_validate_documents.py
319034a3aff6b2c513ba2c418c2b4794d506282a
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
AusDTO/dto-digitalmarketplace-api
9135785c205fe04bbb07782c561c5c5f8cf8417d
af1f0c8979406f80223ab7a68266563abd80b2f4
refs/heads/master
2022-07-31T04:12:36.364555
2022-07-07T04:31:41
2022-07-07T04:31:41
62,025,672
6
7
MIT
2022-05-23T23:32:37
2016-06-27T04:34:37
Python
UTF-8
Python
false
false
1,755
py
from app.api.business.validators import ApplicationValidator from app.models import Application def test_can_get_error_when_no_documents(): application = Application( data={} ) errors = ApplicationValidator(application).validate_documents() assert len(errors) == 1 def test_can_get_error_for...
[ "noreply@github.com" ]
noreply@github.com
0ce8b1a842a96171ee6372b6953095d4327ed6b1
9981a157cb74b237ead6458297d541e12f66fbe4
/course4_final/module_7.py
ff1e4dbc0e446aae5f5365ebbc58b720cb615c0e
[]
no_license
MatthiasPilz/selfDrivingCar-specialisation
56006cdd6b63875fc6b959577d2c95c163a44dbd
34aa8043762fa44670d0b92257e00bca3a63605f
refs/heads/master
2022-11-15T02:57:25.967391
2020-06-23T18:32:51
2020-06-23T18:32:51
271,987,803
1
0
null
null
null
null
UTF-8
Python
false
false
44,482
py
#!/usr/bin/env python3 # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ CARLA waypoint follower assessment client script. A controller assessment to follow a given trajectory, where the trajectory can be defined using way-points. STARTING in a ...
[ "Matthias.Pilz@kingston.ac.uk" ]
Matthias.Pilz@kingston.ac.uk
cade8d6acd2d53c2ab00934deb72f9baef388b31
7f760365660de815db319d20bb05e1fbd5fc8df4
/server/app/outputs/dmx.py
150ff08a6742385ae301ebc0a725eae9f721682f
[ "MIT" ]
permissive
BasementCat/audio-reactive-led-strip
db5ac94eb3c43dfdb6a79501d6d8711579d41c51
a98bac8e04c0fae3022de9f5086914dc1f1192d8
refs/heads/master
2022-07-21T12:39:06.257207
2022-07-14T01:12:08
2022-07-14T01:12:08
216,214,804
2
0
MIT
2019-10-19T13:58:07
2019-10-19T13:58:07
null
UTF-8
Python
false
false
4,487
py
import os import glob import logging import threading import time import subprocess import re from dmxpy.DmxPy import DmxPy from app import Task from app.lib.misc import FPSCounter logger = logging.getLogger(__name__) hexint = lambda v: int(v, 16) def find_device_file__linux(vendor, product): if not os.path.e...
[ "alec.elton@gmail.com" ]
alec.elton@gmail.com
f8605e94a711806940d0d281731c50cfdb7b16ae
bfd9386af8979597921064ff84d852d7c4b52250
/fasttext/src/4_funciones_API.py
6d8fb124bcb171bc3641f5cc03f1d974ca0ccd18
[ "MIT" ]
permissive
marcelodri/AdultosMayoresNLP
26715e64e6ec8216cfb918b3a9c37111a29f38bf
4d5a558846807980f2f533d984a1575d8696698b
refs/heads/main
2023-05-27T15:30:09.749418
2020-12-30T14:01:30
2020-12-30T14:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,328
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Dec 18 11:50:03 2020 @author: grosati """ ## Funciones auxiliares def clean_text_df(df, input_text_file='texto', stopwords=False): """ Función para el procesamiento de texto 1. pasa todo a minúscula 2. elimina sitios web 3. elimina...
[ "luciano.brum@vicentelopez.gov.ar" ]
luciano.brum@vicentelopez.gov.ar
2ad60e76c5af8a74db3dc0fda5ea42d84fe43210
92206e8ea721d13507dee5f254e731dc19f1a2f9
/artists/urls.py
6b2d80fc160fcd0f562f139ea983a422a66f4127
[ "MIT" ]
permissive
cnanders/test-cxro-tickets
8c34c0c605e2fa5943f56f352bf7c286a004abbf
d47bcad14769e08b45e0e72aa17441c4987adc63
refs/heads/master
2020-05-20T16:38:48.750862
2013-10-15T06:57:45
2013-10-15T06:57:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
from django.conf.urls import patterns, url from artists import views # 7 endpoints for each model (5 for REST + 2 forms) # list, detail, create, update, delete # new form, edit form. # # I could adopt a pattern that all HTTP verbs != GET put the HTTP verb in the URL # which would at least reflect the RESTful concept ...
[ "cnanders@gmail.com" ]
cnanders@gmail.com
b7cacb2fcba0487f6ea2436f1da4aab1ce03bbd9
91de708a7bd2392f940df46a942d7136500ca8d7
/cloudms/cloudms/urls.py
bfccc71d8fcb4937c5cb8571f81b46e00badc8c1
[]
no_license
zzm99/Simple-code-demo
224f5dbd84b217a6d353fe6606c2732e6c20522d
80554f1d275edb306cee4b45bb0045aefdc4942a
refs/heads/master
2023-07-13T00:40:39.184784
2021-08-26T01:28:52
2021-08-26T01:28:52
271,299,263
1
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""cloudms URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "43439842+zzm99@users.noreply.github.com" ]
43439842+zzm99@users.noreply.github.com
8c208878ff29e2333826cf8bd74f0aa5d3bb8157
70f5f279e051360310f95be895320d8fa6cd8d93
/extraPackages/matplotlib-3.0.2/tutorials/introductory/sample_plots.py
f1a1542ebec6b0b538466dedce1c4d478568158b
[ "BSD-3-Clause" ]
permissive
spacetime314/python3_ios
4b16ab3e81c31213b3db1e1eb00230621b0a7dc8
e149f1bc2e50046c8810f83dae7739a8dea939ee
refs/heads/master
2020-05-09T20:39:14.980041
2019-04-08T15:07:53
2019-04-08T15:07:53
181,415,024
2
0
BSD-3-Clause
2019-04-15T05:00:14
2019-04-15T05:00:12
null
UTF-8
Python
false
false
12,052
py
""" ========================== Sample plots in Matplotlib ========================== Here you'll find a host of example plots with the code that generated them. .. _matplotlibscreenshots: Line Plot ========= Here's how to create a line plot with text labels using :func:`~matplotlib.pyplot.plot`. .. figure:: ../../...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
e24f4a4008a9f2edade00871369f275ca42462dd
5b9bce9fdfc13848b6bacc73741f6e8fc5a4ae99
/client/client.py
eb5be712516765751211389e5083d166429114f2
[]
no_license
ContinuumBridge/bridge_admin
4a5a036f4e0cb4e96366a85524aef0c33e82a7ff
efd4148a55221f74cb8a11139a8416d1af453408
refs/heads/master
2022-03-20T15:00:01.422221
2020-01-04T11:08:17
2020-01-04T11:08:17
17,435,712
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
import httplib import json import requests import websocket import time import signal from twisted.internet import threads from twisted.internet import defer from twisted.internet import reactor #CID 64 on Production. Key: 6b8b20b7r2oPxGmlwjoFuJD/iLKCPTkBOW/ZR9F2vnyxGd1pHLVVime+srwxoOTP #CB_ADDRESS = "porta...
[ "peter.claydon@continuumbridge.com" ]
peter.claydon@continuumbridge.com
0fdb3d27ef4f515d6d5aa39190ea5f6ddeef4487
d5eec8cad07949442b1e0e08fc3e4bfa3ad4ddff
/part02/Variable.py
75edb7228c12b14c9b6b91310dde8347a36bf554
[]
no_license
kudarum/python3-basic-grammar
cd5c3584dfe91840699266ac009a5a639cda932d
54c055f7347677a2bdaebb592d3c42f346195f21
refs/heads/master
2023-06-12T02:56:49.086948
2021-07-05T12:47:43
2021-07-05T12:47:43
346,211,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# 변수 # 기본선언 n = 700 # 동시 선언 x = y = z = 700 # 재선언 n = "Change Value" # Python 값 할당 방식 # Object Referecnes # 1, 2 등의 숫자부터 시작해 모든 것이 객체이며 하나의 개체는 단 하나의 인스턴스로 존재한다(싱글톤). # 예를들면 a = 2 라고 변수를 할당하면 2라는 값이 a가 가르키는 메모리 공간에 할당되는 것이 아니라 # 2라는 인스턴스의 주소 값을 a가 가르키고 있는 것 # (즉. 동일한 값은 주소가 동일하게 된다.) # 정리하면 Python에서 모든 것은 객체이고 각 객체...
[ "kimkudam0503@gmail.com" ]
kimkudam0503@gmail.com
ee02a7edc197ecfac462353641a0beac5d5f4218
2ad3e60b902df660ff332c399fb794b62edc0211
/lock/views.py
23e02118b9c47851ca9983b4f7dab515a9071d99
[]
no_license
mchong71/YouLock
4e73f4797244d5e066f33ff000cc9f22109a739e
2b06eec413deda84fc6f3e6c50433f64ebf0893b
refs/heads/master
2021-01-22T11:58:21.654437
2014-03-16T00:02:48
2014-03-16T00:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,578
py
from django.shortcuts import render, render_to_response from django.http import HttpResponse, HttpResponseNotFound, HttpResponseRedirect from django.template import Context, loader, RequestContext import json as simplejson from django.core import serializers import time import datetime from lock import models as l f...
[ "matt.chong45@gmail.com" ]
matt.chong45@gmail.com
de79be8fc6c2932632cc288c791cfc8df69a8dde
dca5fe58b5283376d149f352ce31f1b98778a8df
/src/Hyperactive/hyperactive/optimizers/sequence_model/__init__.py
091b38de91fc145110c4d79f45aea85f1d36b6bf
[ "MIT" ]
permissive
rjb1212/LDWPSO-CNN
8a422d25242c73bf40fe91599aef4a5da4fae349
717616c9c3d43efd0041e65e7a16f8201779b340
refs/heads/master
2023-03-04T20:02:00.438163
2021-02-07T09:47:00
2021-02-07T09:47:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
# Author: Simon Blanke # Email: simon.blanke@yahoo.com # License: MIT License from .bayesian_optimization import BayesianOptimizer # from .tree_of_parzen_estimators import TPEOptimizer __all__ = ["BayesianOptimizer"]
[ "iputatsuki@gmail.com" ]
iputatsuki@gmail.com
f964c14c970903defdb558eaf23e20da66205857
51cf149a79b08df31fb9c38cfe55838f7448e275
/main.py
207c8f507030d85544901241474182016c973fa6
[ "MIT" ]
permissive
davincif/SpaceCrazyers
624e21f3f80f1f0c169e4540d392cba73a9fda24
aec4d309fed2349b5507989701afad59dc334885
refs/heads/master
2023-05-06T23:03:27.429051
2021-05-31T23:07:00
2021-05-31T23:07:00
372,338,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
# third party import pygame from pygame.locals import * # internals import config from src.planet import Planet from src.player import Player from src.aircraft import Aircraft from src.events import CustomEvent from src.universe import Universe from src.gui.container import Container config.init() clock = pygame.time...
[ "LDaVinciF@gmail.com" ]
LDaVinciF@gmail.com
36d11d66186ad3d111fa4214265b22b08515a0a2
91bde127ca6c07d00bb54286baa8a762d92ee4b0
/prof_numpy_test.py
95032fd4310d16ccfe2b3ea22217be6e7208ab9c
[]
no_license
pgervais/nilearn-profiling
0213c82e2d0158c201c20e619aaa87aef151e8e1
d9dab7223aeebfd83fb8552925756397420cd7a4
refs/heads/master
2020-05-17T11:37:13.482226
2013-09-09T15:14:48
2013-09-09T15:14:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
import numpy as np from scipy import ndimage def random_matrix(shape, order="C"): series = np.ndarray(shape, order=order) series[...] = np.random.randn(*shape) return series def random_mask(shape, order="C"): # Make random boolean array, with 2/3 of True and 1/3 of False. mask = np.ndarray(shape...
[ "philippe.gervais@inria.fr" ]
philippe.gervais@inria.fr
15d84fd92ae6047db555a7aabf4fe7ff1c05d808
e8d7e13eb4d26c0a0147f2d0208d70e61f865c2c
/untitled7/bin/2to3-3.6
a7320f5bb9145f972ebb4114fd485764853a360d
[]
no_license
fazi4888/APCSP-FreshmanYear
55c5b5717aadeb2d871582754174f88213a488fe
b4f0f797b2c469e148b0330ad9d309610f1f0668
refs/heads/master
2022-11-30T11:51:30.210342
2020-08-17T15:00:37
2020-08-17T15:00:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
6
#!/Users/rayaan_siddiqi23/untitled7/bin/python import sys from lib2to3.main import main sys.exit(main("lib2to3.fixes"))
[ "rayaan.siddiqi@gmail.com" ]
rayaan.siddiqi@gmail.com
569feaf414174204984d91b384d519363cae93bf
a8606c828e5cd4405331bdd2ac3df1c6b07b34fb
/preprocessing_data/gow_toy_venture.py
3ee7262e878706cb7c519527118ea64fe0e7e48c
[ "MIT" ]
permissive
miachenberkeley/Bi2VC
3f5c21b4ae7c1ccdc05204a79d955f5026cfae03
0568bcc68eff1e09c40bfc3ee457219f1f45ae1c
refs/heads/master
2021-01-23T00:34:20.072161
2017-04-25T20:42:14
2017-04-25T20:42:14
85,732,189
0
0
null
null
null
null
UTF-8
Python
false
false
2,262
py
import os import random import string import re import itertools import copy import igraph import nltk import operator from nltk.corpus import stopwords import xlsxwriter # requires nltk 3.2.1 from nltk import pos_tag from sklearn.feature_extraction.text import TfidfVectorizer # might also be required: nltk.download(...
[ "miacoursera@gmail.com" ]
miacoursera@gmail.com
f7f4c33120ba28c000afdb1dec2076502f2e6f69
01ee3708f1f08d2656f25050f4f56ea2eb3be085
/tonnikala/tests/test_js_templates.py
ab17f9a2919aacddc5a4a541c683c78dba704a50
[ "Apache-2.0" ]
permissive
ztane/Tonnikala
70fd237f178b7d6abc59dc27918fa0159f30f307
183049f1956331ca37356f93bde2937e25283672
refs/heads/master
2016-09-03T06:26:47.308777
2015-07-22T07:52:11
2015-07-22T07:52:11
2,994,473
2
1
null
null
null
null
UTF-8
Python
false
false
9,274
py
from __future__ import absolute_import, division, print_function, unicode_literals from ..compat import text_type import unittest import os.path import codecs from tonnikala.loader import JSLoader import subprocess import json import os.path from distutils.spawn import find_executable js_dir = os.path.join(os.path.ab...
[ "antti.haapala@anttipatterns.com" ]
antti.haapala@anttipatterns.com
fab761507f7c5fe0d143fca8285d3473fdf1b51d
a036d2c0e157c68fb8946357b348d41186763488
/Questionario3/06.py
177509833c6adc09b910540ad0db3090198c8436
[]
no_license
BomDia12/EstruturasDeDados
6f3bec4be7f2df0816f91cb707258b9adf1ab115
edee509cc49358f8b60a731fc316d340b62e8c12
refs/heads/master
2023-04-23T20:14:49.906054
2021-05-16T17:07:43
2021-05-16T17:07:43
340,910,505
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
n = int(input()) names = sorted([input() for i in range(n)], key=lambda x: len(x), reverse=True) trashed = [] vai = True for i in range(len(names)): try: if len(names[i]) != len(names[i + 1]) and len(names[i]) not in trashed: print(names[i]) vai = False break else...
[ "chamatico2@gmail.com" ]
chamatico2@gmail.com
62675e7f610b3590c17384395fab4a82e17e1aaa
e00b0f620525558897bae1b830660739b3db12d6
/p01/src/auth_crud/manage.py
a87630298de95a17cd0d10d13f346fd21784289a
[]
no_license
Kihui/proyecto-redes
7eec5c9b8a4f0da59efc28fe426f13cd9abcb1a3
3243d9183f3bc370e3ac6403de7b6cd5f62de4b3
refs/heads/master
2021-09-03T01:00:39.607192
2018-01-04T11:39:26
2018-01-04T11:39:26
108,672,588
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "auth_crud.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "cgah.95@gmail.com" ]
cgah.95@gmail.com
e141d9af3d20d58824b564afeea99174fe3d7c26
a618935b791f796722ac298dea62172517000a98
/calc/urls.py
509674a62f2b7c6b6c8be38f5cfa533ebbbd7e3e
[]
no_license
devmittalciv16/pandey
861eac389f8cf16f1e0556d1fb15ac259724a8d8
25c84b890de100421726a4ced0d484d623cc396d
refs/heads/master
2023-01-31T03:56:52.304938
2020-12-19T14:32:47
2020-12-19T14:32:47
322,866,385
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.urls import path; from . import views; urlpatterns=[ path('',views.home,name='home'), path('add',views.add,name='add'), ]
[ "devmittal@paypal.com" ]
devmittal@paypal.com
bf9868b8d82a6fce3825f8fa3e33c525905ab785
c9b60af98026cbd5def343b238f60c12c9e24cd4
/cp_3/panchuk_fb-74_opanasyuk_fb-74_cp_3/funcs.py
1b2d461760dd870b488d59558bfc05f0122afc00
[]
no_license
1337bugs/fb-labs-2019
ed81a80e561f9402b19460d688b6c766763a50ba
56df4c3518f91eb6e00fc19fb260aa2c43ee9bd5
refs/heads/master
2020-12-08T06:14:18.908540
2020-01-09T19:02:40
2020-01-09T19:02:40
208,611,286
0
0
null
2020-01-09T19:45:37
2019-09-15T15:05:00
Java
UTF-8
Python
false
false
5,181
py
import os def read_file(name): f = open(name, 'r') data = f.read() f.close return data alphabet_str = read_file('alphabet.txt') alphabet = list(alphabet_str.replace('\n', '')) def create_list(mas): list = {} for i in mas: list[i] = mas.index(i) return list def create_list2(mas)...
[ "55197126+ipt-cryptolabs@users.noreply.github.com" ]
55197126+ipt-cryptolabs@users.noreply.github.com
ce4871f80c7de30c3e99d78da5fcd55ddb75a175
1e3506e5529e90918f4bb0ca7f98bd53350605db
/venv/bin/easy_install-3.6
9c80dfb136aef5217c4811322505f94f7ad9d193
[]
no_license
herysantos/cursos-em-video-python
865f072e2700c09c3118a1b95b4ac8a99ded476b
bc7f95a6bd8b60d2b8f41c56aff60c19f61c43e3
refs/heads/master
2020-07-26T14:56:22.744109
2020-03-30T11:53:18
2020-03-30T11:53:18
208,682,928
2
0
null
null
null
null
UTF-8
Python
false
false
461
6
#!/home/hery/pythonscritps/cursos_em_videos_mundo_1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __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\....
[ "hery.silva.santos@gmail" ]
hery.silva.santos@gmail
0d03f4997dff14b4117c84cbf186adcb19848f23
75ed4fe365819c9cb64522bd2bcb1590295dd4a8
/login/jwt_practice.py
5a325c3daf7ee8c0583f4b3065523263105acef1
[]
no_license
thals7/web
2aaa36fecf44851d65031dd0c9f9062748bfb3f5
f2c9aca7b3cf0116985fe17190a1274264bdd2c1
refs/heads/master
2023-02-26T08:30:49.663381
2021-01-29T00:48:50
2021-01-29T00:48:50
298,844,661
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
# https://pyjwt.readthedocs.io/en/latest/usage.html#encoding-decoding-tokens-with-rs256-rsa import jwt key = "thisissecret" encoded = jwt.encode({"some": "payload","like":"user_id"}, key, algorithm="HS256") print(encoded) decoded = jwt.decode(encoded, key, algorithms="HS256") print(decoded)
[ "thals_7@naver.com" ]
thals_7@naver.com
4540a61974c6a9f144c734d123356a400170aa8e
a0c8c6a5206efa55e84d83026863dabc2f20e19a
/main.py
050fa30d1a12fabfe3dff32efb6f85d68a535e28
[]
no_license
takeofriedrich/processamento_extratos
427307686ef800d598a6f367b5bbb1bb9a25f69a
264e114065854a3711796d118c72c0229a81ba55
refs/heads/main
2023-07-24T08:51:25.176200
2021-09-07T19:33:19
2021-09-07T19:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
from modelos.conta_bancaria import ContaBancaria from uteis.processador_textual import ProcessadorTextual from uteis.messages import argvIncorretos from uteis.messages import encerrandoValueError from uteis.messages import encerrandoArquivoNaoEncontrado import sys import os if len(sys.argv) < 2: print(argvIncorret...
[ "vtkwki@gmail.com" ]
vtkwki@gmail.com
41faa5af6577c42cbb30f57da6441bb4991e463c
e6f62843d8e7f580a8f2993988cde930a2f5daf2
/final_project/work_classifiers.py
b665de4b121586dd97b0848c3555e197199060cd
[]
no_license
diegoami/ud120-projects
614002d317425139948a254293c46a335c1b1e22
2a573ea095ac456843c203592d7175800d49c938
refs/heads/master
2021-01-20T00:27:48.939087
2017-06-15T19:07:59
2017-06-15T19:07:59
89,133,359
0
0
null
2017-04-23T10:17:18
2017-04-23T10:17:18
null
UTF-8
Python
false
false
854
py
import numpy as np def gaussian_classificator(features_train, labels_train): from sklearn.naive_bayes import GaussianNB clf = GaussianNB() clf.fit(features_train, np.ravel(labels_train)) return clf def tree_classificator(features_train, labels_train, **kwargs): from sklearn import tree clf =...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
9c09772c752a68c1c1ff41f9aedaaad8a2c07953
a7f5bf76b1039d7405c93fa30dd6c8b70b4d091a
/test/bing_redis_class.py
1c4a157c91317b38e181a9999e1fa52db4d67837
[]
no_license
changyig/spider
440ae2e35d34fbe07dceff4383443c7ef90e62a3
f419791bdb09532382bb13600fcd3b30408c2f08
refs/heads/master
2023-07-12T03:17:52.805916
2021-08-19T07:48:53
2021-08-19T07:48:53
297,105,909
0
0
null
null
null
null
UTF-8
Python
false
false
7,296
py
import selenium import time import hashlib from selenium import webdriver import os import threading import pymysql from selenium.webdriver.chrome.options import Options # chrome_options = Options() from redis_scrapy import RedisQueue import math # 采集线程列表 crawl_thread_list = [] for i in range(10): crawl_thread_list...
[ "15716365368@163.com" ]
15716365368@163.com
7fa377c3312574b8f7ab17bc7d6aeca178538f62
4fe41bd695a9525d5f631d7ecb6ae91f30628f25
/Inventario/apps/Productos/models.py
3335561bf9b57d37220db063ea19ee16fac6e775
[]
no_license
AugustoBatz/Django
bc8a1802bffcd9ef0ef612253ac70fec75b3b734
c6f321d5e49cce3678b4aa5c161e3164ce631771
refs/heads/master
2021-10-23T17:59:24.914003
2019-03-19T04:07:48
2019-03-19T04:07:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
from django.db import models from apps.Almacen.models import Presentacion1,Catalogo,Unidadmedida1 # Create your models here. class Producto(models.Model): nombre = models.CharField(db_column='Nombre', max_length=45, blank=True, null=True) # Field name made lowercase. existencia = models.IntegerField(db_column=...
[ "miguelbatz2@gmail.com" ]
miguelbatz2@gmail.com
31fc5e39dd38052a96b9ac73eb29022c8c5b401d
6203d50b44d7f5182eb43303a2ea65f4f3cd3b3f
/simple_ai.py
4d4c5b87b13ccb0b44692832a8e11207296215e3
[]
no_license
jz-joannazielinska/RL_Project
b1c2cd51de45d8e96ab5536b04347212bcce63dc
9e04f03f235dbe84d9337fe61f135b2ef97b03f2
refs/heads/master
2020-04-08T23:37:25.489691
2019-01-14T12:14:05
2019-01-14T12:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from pong import Pong class PongAi(object): def __init__(self, env, player_id=1): if type(env) is not Pong: raise TypeError("I'm not a very smart AI. All I can play is Pong.") self.env = env self.player_id = player_id self.name = "SimpleAI" def get_name(self): ...
[ "joanna.ewa.zielinska95@gmail.com" ]
joanna.ewa.zielinska95@gmail.com
0e64619b3d20e8eefe6a41c78012651d30d59289
a6242c584b459b80e75692c264d5dfa109550388
/distri_jd/jingdong/ProxyMidware.py
beab56353d2ccafaaa8ed4d064985ec7e43cb240
[]
no_license
Payiz-2022/scrapy_crawler
5faf73a2ac05b4b56920f338c34712d7a9f41d9c
4925e3c579744aaf3cf9f37ba393272d9cece0d7
refs/heads/master
2023-03-16T12:32:20.408734
2018-11-14T10:38:08
2018-11-14T10:38:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# -*- coding: utf-8 -*- import requests class MyproxiesMidware(object): # @classmethod # def from_crawler(cls, crawler): # return cls(crawler.settings) # def __init__(self, crawler): # self.IPpool = crawler.settings.get('IPPOOL') def process_request(self, request, spider): ...
[ "1341281680@qq.com" ]
1341281680@qq.com
c5c7a34d8e0475bcb1d17495007706ad51720228
c8e96e7379b9758b53ba0fae1cc57f5206feff26
/calDate/modules/dirtest.py
7243e0ce7f033ff73dadc7d2f4848277759ba0a6
[]
no_license
jaleel64417/PythonBasics
482e15ea8e64ae612f5f9a1c6353e5d3068871af
3b45f949786985e1ea71c9ae093557d3d872ea58
refs/heads/master
2021-05-10T15:57:40.151421
2017-03-29T05:09:18
2017-03-29T05:09:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
import calDate.modules content = dir(calDate.modules) print (content)
[ "srinivas.kolaparthi@capgemini.com" ]
srinivas.kolaparthi@capgemini.com
22cfb913b0dd432bd474db4e97fc8634b0952ae5
3dc476f1b05dc8c2fa29f5f497f98ba328763627
/curd_app/admin.py
11fb589a91f5de974f72b86b840c66c0e41faea6
[]
no_license
RiteshVerma14/Curd-Project
94c718bbf6055a80a15c2b3d265743833c59c0bd
67cc5a24121d930144f70c1d37ced19cf373534d
refs/heads/main
2023-08-16T04:46:21.007254
2021-10-07T06:25:35
2021-10-07T06:25:35
414,481,384
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from django.contrib import admin from . models import * # Register your models here. class addNewStudent(admin.ModelAdmin): list_display =('id','name','email','password') admin.site.register(add_new_student,addNewStudent)
[ "noreply@github.com" ]
noreply@github.com
834d34984c7840b49a8a6f3ac0dc2a8ed715916e
63f73c31886a973c52bb253f837d42883f2d959f
/data/prepare_data_food_number.py
1c81a2ab01ce0ecfbcbc65fb077a7f4cb6b22139
[]
no_license
minhairtran/food_ordering_system
0b05caeb96d1e6ce426b39758adeb4441eda5a5b
eed3fcf6d756b3c2295f1acf2063995f789de449
refs/heads/main
2023-06-15T07:00:45.355158
2021-07-01T12:07:51
2021-07-01T12:07:51
355,115,867
0
0
null
2021-06-26T12:29:10
2021-04-06T08:33:57
Python
UTF-8
Python
false
false
3,397
py
#Preprocess food dataset import sys sys.path.append("../") import json import numpy as np import os import librosa import torch import torch.nn as nn import torchaudio import augment from scipy.io import wavfile DATASET_PATH = ["../../food_dataset/ca_kho", "../../food_dataset/ca_xot", ...
[ "minhairtran@gmail.com" ]
minhairtran@gmail.com
a316b3bcba058280a3a0fd90569b82f968860999
439a23228ee43857701598850dbe213e007278f1
/RateMyProfessors/Account/migrations/0005_auto_20210418_2148.py
ccbe79ccd3c4611fb09986859477215174c917db
[]
no_license
berekashvili22/DjangoRMP
2b13952d2e6bb7ff4fd19c32cd46deccb5aaffb9
be505f5b15bdf7368fbb6ef3dfbb56525cde1a22
refs/heads/main
2023-04-16T20:41:09.887064
2021-05-10T12:18:16
2021-05-10T12:18:16
352,743,442
1
0
null
null
null
null
UTF-8
Python
false
false
440
py
# Generated by Django 3.1.7 on 2021-04-18 17:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Account', '0004_auto_20210417_1754'), ] operations = [ migrations.RemoveField( model_name='profile', name='first_name', ...
[ "tokoberekashvili22@gmail.com" ]
tokoberekashvili22@gmail.com
4756daf4bf38cccaf1dadd48bc566bd181d2850d
ee7b2836b1284896ea1a4dc9a19e2e95c7f256da
/8-2.py
8ede9ebe1ea29e66568343d3042cb8fa15ab0a3e
[]
no_license
jeongyeon02/python
703c4404d5b5dcc2799d6c237b315357974e4d4b
83d445eb607f8de1e9282d7425b977d793b7f181
refs/heads/main
2023-05-29T13:05:17.426424
2021-06-12T06:34:02
2021-06-12T06:34:02
364,236,262
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
x = [4,5,6,7,8,9,10] # 변수 x의 리스트 설정 num_elements = len(x) # 변수 num_elementsx을 x 리스트의 길이로 선언 print(num_elements) # 변수 num_elementsx 출력 x = [5,100,85,79,31] # 변수 x의 리스트 설정 y = sorted(x) # 변수 y를 x 리스트의 짧은순으로 선언 print(y) # 변수 y 출력 x = [10,100,1000,10000]...
[ "noreply@github.com" ]
noreply@github.com
17f2e8cac00aa2a39475ce801876b2f43209b522
fe57ca92ee88fc05a3591295a84423e963efcec1
/test/parse_aurinfo.py
5b7e17e719dea1b412d9af784de8098b1cb4cae1
[]
no_license
klusark/pkgbuild-introspection
04a540227226e8eae418c790816f6d7c5aa7ad14
89335c403f54550c070d45adf04b303b1e0a503c
refs/heads/master
2021-01-21T01:20:46.950068
2014-05-28T18:55:34
2014-05-28T18:57:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,634
py
#!/usr/bin/env python from copy import copy, deepcopy import pprint import sys MULTIVALUED_ATTRS = set([ 'arch', 'groups', 'makedepends', 'checkdepends', 'optdepends', 'depends', 'provides', 'conflicts', 'replaces', 'options', 'license', 'source', 'noextract', '...
[ "dreisner@archlinux.org" ]
dreisner@archlinux.org
a7d2a235ea6e49e5cb3cfec57704cd6952825467
84c9a6fb5e18741f14a55d0d737e2a556383770d
/venv/Lib/site-packages/w3af/core/data/misc/response_cache_key.py
14d57dbdfc5945b3463fb0df2398082606620c5c
[]
no_license
AravindChan96/Vulcan
638a1db2f84df08bc50dd76c7f142014d529fbec
5548a6f36f04108ac1a6ed8e707930f9821f0bd9
refs/heads/master
2022-11-05T15:05:54.224578
2020-06-19T20:44:14
2020-06-19T20:44:14
273,396,348
1
1
null
null
null
null
UTF-8
Python
false
false
4,841
py
""" response_cache_key.py Copyright 2019 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the ho...
[ "aravindchan.96@gmail.com" ]
aravindchan.96@gmail.com
1d5ddbfb0208bbfbe3476836bc36ffcbcaf23476
6d59b155bcf3a61ff677d8ca103215af20ba40cd
/web_testing/04/04_scrollbar.py
a050cdfc423e1452816891f315f3d7baab430110
[]
no_license
lilgaage/lilgaage_scripts
1c82ba869e637a5971215b2eb084f3b2e9a4b954
9108f821c634ffae05423083b9330281f3ae5a57
refs/heads/main
2023-08-20T13:01:48.670270
2021-10-21T09:16:15
2021-10-21T09:16:15
419,627,782
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from selenium import webdriver from time import sleep driver = webdriver.Chrome() driver.maximize_window() driver.get("https://www.offcn.com") # 滚动条处于中间位置 js3 = "window.scrollTo(0,3000)" driver.execute_script(js3) sleep(2) # 滚动条处于顶部 js2 = "window.scrollTo(0,0)" driver.execute_script(js2) sleep(2) # 滚动条处于...
[ "noreply@github.com" ]
noreply@github.com
01528c5c75bff9ce45c6c8f1207f97a57ea0498e
2aaf4d15261ef45caa040786b8e72c3e1dfcc01d
/minghua/views.py
4132641826d4da265897fddfba600bc73cbe0e06
[]
no_license
changych/Moocer
e284c073e9334d013a45ab78e8ea4d1ff0c69d30
954f143f8e621308373365f36d90b54a7b504f1a
refs/heads/master
2021-01-19T20:45:58.693254
2018-08-16T09:46:46
2018-08-16T09:46:46
80,033,455
0
0
null
null
null
null
UTF-8
Python
false
false
9,831
py
#-*- coding: utf-8 -*- import json import time import datetime from pyquery import PyQuery as pq from lxml import etree import traceback import pytz from django.shortcuts import render from django.http import HttpResponse from django.utils import timezone from minghua.models import SchoolInfo, QuizInfo, ExamInfo fro...
[ "chenchangyuan@baidu.com" ]
chenchangyuan@baidu.com
408a542f5e6b3ab351f472104ea2d90a8dcde2af
60b67cdd1c85ccd6a39a2f0b1406dbf9f118efea
/startup.py
dbe8369735c8fcb354f5ed8653cc0448aad59db0
[ "BSD-3-Clause" ]
permissive
JohnCoogan/adxl345-python
b4777f8915b8b4fd2a9a87ccd30d22e9c87219c7
e5bd7235c4a4026ecdfe9e6c0208e6928ed8afd5
refs/heads/master
2021-01-14T08:26:41.715169
2014-09-24T07:45:02
2014-09-24T07:45:02
24,397,508
0
1
null
null
null
null
UTF-8
Python
false
false
789
py
import os import sys from datetime import datetime from pytz import timezone import pytz import pymongo def post_status(): date_format='%Y-%m-%d %H:%M:%S' utc_date = datetime.now(tz=pytz.utc) local_date = utc_date.astimezone(timezone('US/Pacific')) local_str = local_date.strftime(date_format) pas...
[ "coogan.johna@gmail.com" ]
coogan.johna@gmail.com
cabda38c0a0fe289c78c7072a6bd20d7cfacf53c
968aedcc9e58d718bb3895f89de5292d8caabe52
/leetcode/Hash-Table/valid-sudoku.py
0a49bd177048dcb0d60662a3ac173ff7e1202e64
[]
no_license
iCodeIN/competitive-programming-5
0729c9f09f12543455121fc633b051eb68529152
30bfafb6a7727c9305b22933b63d9d645182c633
refs/heads/master
2022-04-14T08:50:19.568207
2019-09-26T14:49:56
2019-09-26T14:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
class Solution: def isValidSudoku(self, board): """ https://leetcode.com/problems/valid-sudoku/description/ :type board: List[List[str]] :rtype: bool """ num = {"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,".":0} for i in board: num = {"1"...
[ "10962267+arora-aditya@users.noreply.github.com" ]
10962267+arora-aditya@users.noreply.github.com
a306e6da674cceb60a3eb68737a7393f69411aaf
7d7a9baf6d3bf4a471fa41ddd86db5210f6fc5bf
/thinkplot.py
68360da72414739f61152cd0e8059a35e48bac78
[]
no_license
mittonface/datascience
172663b7abbef16ccf853ac01c6d59b81eda81c6
f18e083b356bc31501176495437a5488b5e3b2f7
refs/heads/master
2016-09-05T09:09:15.837874
2014-09-24T18:50:38
2014-09-24T18:50:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,941
py
"""This file contains code for use with "Think Stats", by Allen B. Downey, available from greenteapress.com Copyright 2014 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from __future__ import print_function import logging import math import matplotlib import matplotlib.pyplot as pyplot ...
[ "brent.mitton@gmail.com" ]
brent.mitton@gmail.com
39061226eb64c2b7fd22c1062cd0e8f1342bcdef
a3a54c95cfe98464be094ee28aba370d6613286f
/models/attention_unet/grid_attention_layer.py
f6adff5f7f76295febccd74ebe1d4cb55aeeb486
[ "Apache-2.0" ]
permissive
LeHuyHung/BraTS-DMFNet
e3930daea51e46b75b98ebed4f4498f6621efd1a
93cf319b36549f3ab92d391938c77f66c004edcb
refs/heads/master
2022-06-04T08:13:41.655693
2020-05-06T06:21:39
2020-05-06T06:21:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,696
py
import torch from torch import nn from torch.nn import functional as F from torch.nn import init def weights_init_normal(m): classname = m.__class__.__name__ #print(classname) if classname.find('Conv') != -1: init.normal(m.weight.data, 0.0, 0.02) elif classname.find('Linear') != -1: in...
[ "thanhhau097@gmail.com" ]
thanhhau097@gmail.com
3b8d78447ded3a0562d5e7db02a6fb99e393d267
550401316db65fec70a075aa6dcd13476febffe4
/node_modules/webpack-dev-server/node_modules/fsevents/build/config.gypi
b0d4b95da051b8d60f846ebd7fdf871f58c07aa0
[ "MIT" ]
permissive
hassan-munir1996/fruits-farm
a91e3a87fd57b1318398e4711443e429ba57e799
20318c2b22d9ed1f28fc811dd3e666fe879f1ba4
refs/heads/master
2023-08-06T22:50:45.713006
2021-10-07T20:35:24
2021-10-07T20:35:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,766
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "hassanmunir.ahmed@systemsltd.com" ]
hassanmunir.ahmed@systemsltd.com