blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f8cac380c1cfc48a1844eb1fb9a553698a2efd91
adea9fc9697f5201f4cb215571025b0493e96b25
/napalm_yang/models/openconfig/system/memory/state/__init__.py
33757f6fb7f431bfe1878dd805c8e1ec4bdea2dc
[ "Apache-2.0" ]
permissive
andyjsharp/napalm-yang
d8a8b51896ef7c6490f011fe265db46f63f54248
ef80ebbfb50e188f09486380c88b058db673c896
refs/heads/develop
2021-09-09T02:09:36.151629
2018-03-08T22:44:04
2018-03-08T22:44:04
114,273,455
0
0
null
2018-03-08T22:44:05
2017-12-14T16:33:35
Python
UTF-8
Python
false
false
7,666
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.y...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
d72ebe9d812f208cbd0675bb8f49ca3b5b0d445a
7473435d8af734dd38add08ea33b0b6402b35163
/ContactList/Contacts/admin.py
aafaf0105bd064629fbcd6863a2908df50f6ae1b
[]
no_license
artj15/ContactList
8531fd54e0811bcf3d33206c576c4a81ed160010
3f6699db39090fc9ec8abae88ad5817ecd813870
refs/heads/master
2023-05-03T11:48:06.806891
2021-05-28T11:46:37
2021-05-28T11:46:37
370,724,605
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
from django.contrib import admin from .models import ContactModel # Register your models here. admin.site.register(ContactModel)
[ "artj15@gmail.com" ]
artj15@gmail.com
4f361713286000ae69db6c734f3beb6edcf76de8
870254de7c4127f0e8d8f8a3bf805b8b9becece6
/button.py
8fdab42e1e4051188cdbb96cd392d697737fd067
[]
no_license
jeffreymutethia/Criminal-Case
88a8c831a6eb2644a5e9d27e5eb2cedec1a044f2
51724f001fb526632a413fd07f5a76cad60b3afa
refs/heads/master
2022-11-26T07:51:16.233302
2020-07-30T03:52:41
2020-07-30T03:52:41
283,662,811
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
from graphics import * class Button: def __init__(self, rect, label): """Initialize a new Button object. Parameters: rect, a Rectangle object defining the extent and location of the button label, a label to appear on top of ...
[ "noreply@github.com" ]
jeffreymutethia.noreply@github.com
e66a9808beb7dc3a08d7fb7d73b8b5e0a5b67b46
024452a051f15b79292f609833ea4d9ad72e34ff
/services/model.py
90afa0070071c1096163d1b1229fefd585ab1c6d
[]
no_license
toubar/flask-app
98b18d237311a66a9b93fad8da884b2768d51d69
0487b7edf94d48c09c284393e76802a95a6f96a0
refs/heads/master
2022-06-29T05:06:56.001254
2020-01-31T13:14:36
2020-01-31T17:03:28
237,433,495
0
0
null
2022-05-25T03:05:22
2020-01-31T13:15:57
Python
UTF-8
Python
false
false
1,916
py
import json import os from services import app class ServicesModel(): def __init__(self): self.data = {} # this flag is set to true after PUT operations, otherwise data is loaded from memory self.is_data_updated = False def sync_data_with_db(self): if self.data == {} or self.i...
[ "aatoubar@gmail.com" ]
aatoubar@gmail.com
8d09f8280f182ca1dac71680159ec9ef9b1c42b3
170e499229560aef5a809e6805d4153cafc78e49
/api/urls.py
caf8366deb7207fb510d49977e375bb346dc55fe
[]
permissive
anjanadevi411/django_rest
298176762db8057e850fae1bc454e0737ec343bc
9f977457b49f5bf345cea20a250647e85a7c23c8
refs/heads/master
2023-02-21T05:30:42.033121
2021-01-12T11:43:03
2021-01-12T11:43:03
328,790,502
0
0
Apache-2.0
2021-01-11T21:19:36
2021-01-11T21:01:13
null
UTF-8
Python
false
false
507
py
from django.urls import path from .views import apioverview,apilistview,apidetailview,apicreateview,apiupdateview,apideleteview urlpatterns = [ path('',apioverview,name='api_overview'), path('task-list/',apilistview,name='task-list'), path('task-detail/<str:pk>/',apidetailview,name='task-detail'), path(...
[ "anjanadevi411@gmail.com" ]
anjanadevi411@gmail.com
70f62aff2c03b86f65c3e2a846b0420550261d24
a6944ab1c0085a377ad6690d458058d16f620cd6
/morpheme_analysis.py
d5a1e1efb0f1243ff23456622c70bc76859eea96
[]
no_license
Mayberry2021/cursed_comment_filter
1d609c0aa8fe8375d464c95b7ce30f2cd0ed6584
ea33821fa869985c52a865a3d63c5bf7cb00a932
refs/heads/master
2023-07-14T04:30:28.651410
2021-09-01T07:36:00
2021-09-01T07:36:00
401,971,235
1
0
null
null
null
null
UTF-8
Python
false
false
8,637
py
from konlpy.tag import * class Cursed_Analysis(object): # 댓글 데이터 내 비속어 댓글 분석 def __init__(self, section, content_list): self.section = section self.out_list = [] # 비속어 제외 댓글 데이터 self.cursed_list = [] self.malword_set = [] self.okt = Okt() self.content_list = content_list def get_cursed_list(self): #...
[ "ground444@naver.com" ]
ground444@naver.com
c51cc1139ba4508f4cd6d178342e6a1412e60f61
5b4ede4ce177e88010008015684c1ac0469ae6ec
/secondgui.py
bd334235d4f424c2b896f7bc6fd2fc130f9aed0d
[]
no_license
gusuly0rum/Cell-Detector
cf1eb0ed7f11a7484ca39268d55cac793ab2af78
0e4c4f5176ea503424927c2c1b302e0e893038f7
refs/heads/master
2020-03-30T11:13:21.563730
2018-10-05T17:29:04
2018-10-05T17:29:04
151,160,267
1
0
null
null
null
null
UTF-8
Python
false
false
24,676
py
# -*- coding: utf-8 -*- import os import sys import cv2 import numpy import scipy import skimage import scipy.misc import skimage.morphology from PyQt4 import QtGui,QtCore from firstgui import Ui_MainWindow from matplotlib.figure import Figure from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureC...
[ "donguk.kim1112@gmail.com" ]
donguk.kim1112@gmail.com
5d92f4a9b72dd9145bcf5251d83af919743f4e0d
4109b21fbda46fe9f8346bc9596500ec1e3e7ca6
/danceschool/payments/payatdoor/management/commands/setup_payatdoor.py
94d457e48cc94cabc3a31ea4e88ee25a3c0f5fbe
[ "BSD-3-Clause" ]
permissive
django-danceschool/django-danceschool
fff6aa740c5e4d832198ff7cdd0fe548380892cb
19db3e83e76ea2002ee841989410d12d1e601023
refs/heads/master
2023-09-04T13:02:54.207590
2023-07-10T12:28:13
2023-07-10T12:28:13
89,738,184
40
21
BSD-3-Clause
2023-07-10T12:28:15
2017-04-28T19:26:33
JavaScript
UTF-8
Python
false
false
4,390
py
from django.core.management.base import BaseCommand from django.apps import apps from django.conf import settings from six.moves import input try: import readline except ImportError: pass class Command(BaseCommand): help = 'Create necessary placeholders for customers to elect to pay at the door.' d...
[ "lee.c.tucker@gmail.com" ]
lee.c.tucker@gmail.com
505b4486cd8ddd1afeaa6d0a4c2f3fc85d666f87
654fc9ea8681801f758ea0ba319fba8592b46b14
/Intro_to_computer_science/MITx6.00.1x/test.py
b5819bcddcaeb2e6bc60eedc94b56fd05510d3d9
[]
no_license
nnard1616/OSSU
1184b159e18b7b54c3d9fd779af27f2bc4fef41b
9fa18f61f3bf00acf9f12bdca1a2a05525516513
refs/heads/master
2018-10-09T23:40:28.088909
2018-09-21T23:07:38
2018-09-21T23:07:38
107,591,994
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
import time def modSwapSort(L): """ L is a list on integers """ print("Original L: ", L) for i in range(len(L)): for j in range(len(L)): if L[j] < L[i]: # the next line is a short # form for swap L[i] and L[j] L[j], L[i] = L[i], ...
[ "nnard1616@gmail.com" ]
nnard1616@gmail.com
cde19223c0bff8023180e808099d3685ebfb65e4
75d464dffa00457ff13f4c964a923b20b5e2dcf8
/recursion/test_factorial.py
3ffa3ee5c35cb6a754547a23b25157d6ba6ceb12
[]
no_license
davidkarban/engeto_hackaton_11_2016
dfe8016a0200b4448982627ee42e483beb91d213
ec640730f522403c6510894698a2255b455ba1e5
refs/heads/master
2020-07-03T05:10:44.908514
2016-11-19T14:24:02
2016-11-19T14:24:02
74,197,410
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
from factorial import * import pytest def test_factorial(): assert(factorial(5)) == 120 assert(factorial(1)) == 1
[ "david@karban.eu" ]
david@karban.eu
30c8e4ced36e1d733bd208e93c210ffcb695e9df
d93c68f84f5818d93514999edc4be143339fd075
/src/sea_ice/model_5.py
73e3560c009b7c378800485b119ec15122ebee0a
[]
no_license
chengzheng2013/PolSAR_ML
74df1d2e95c4c2a1e94883ecf3711eda14bcf09d
839120b21547797894d1cd90567a4b347b0aaef4
refs/heads/master
2022-01-13T09:41:16.550009
2019-06-11T02:47:34
2019-06-11T02:47:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
# -*- coding: utf-8 -*- #!/usr/bin/env python3 from keras.models import Model, Sequential, load_model from keras.layers import Input, Dense, Conv2D, MaxPooling2D, UpSampling2D, Layer, ZeroPadding2D from keras.layers.normalization import BatchNormalization from keras.layers.core import Activation, Reshape, Permute ...
[ "r05942013@ntu.edu.tw" ]
r05942013@ntu.edu.tw
2abff508d2c2f78ca14131d7ba737658b772373a
b9209cd80c523344c84cd80013ec96c435457570
/spyder/plugins/pylint/tests/test_pylint_config_dialog.py
7260af04b3734e6307224074a4b2ca49d6eb3d89
[ "LGPL-3.0-or-later", "OFL-1.1", "LGPL-2.1-or-later", "CC-BY-2.5", "CC-BY-3.0", "LGPL-3.0-only", "LGPL-2.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "CC-BY-4.0", "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "GPL-2.0-only", "Apache-2.0...
permissive
hellcolik/spyder
ee84469411f32bb6490fae8c069af3cf14b6a0d9
9ceede4587996732c19271e4e2f170b820d258a3
refs/heads/master
2020-09-17T04:16:53.449452
2019-11-24T16:14:20
2019-11-24T16:14:20
223,984,690
1
0
MIT
2019-11-25T15:46:06
2019-11-25T15:46:06
null
UTF-8
Python
false
false
1,162
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------------- # Copyright © Spyder Project Contributors # # Licensed under the terms of the MIT License # ---------------------------------------------------------------------------- """Tests for plugin config dialog.""" try: ...
[ "goanpeca@gmail.com" ]
goanpeca@gmail.com
663d74de8570ccaa26a25075686c049f6a724e4d
58678a87164d01f8555118874d86eab2d9cdef68
/ptutils/net/regularizer.py
71f6d10a8e96de400d1da2726ce2ca8d0129b6b3
[ "MIT" ]
permissive
alexandonian/ptutils
f9b7d20972d1f2d4b2bd5b983ccc214ad78b8115
bd86d3bae34e32213a97c77fe6e8adfb937bee50
refs/heads/master
2021-01-01T06:56:17.543300
2017-08-16T04:00:25
2017-08-16T04:00:25
97,552,227
1
0
null
2017-07-18T04:21:04
2017-07-18T04:21:04
null
UTF-8
Python
false
false
880
py
from ptutils.base import Module class Regularizer(Module): """Regularizer base class. """ def __call__(self, x): return 0. @classmethod def from_config(cls, config): return cls(**config) class L1L2(Regularizer): """Regularizer for L1 and L2 regularization. # Arguments...
[ "alexandonian@gmail.com" ]
alexandonian@gmail.com
c9c0950a5ee41f1d0b22364a3b67feb62e6eb27b
61324a3e229ba61efcd790248ec8d38e02bb97d2
/contest_abc/154/c.py
669c74fb5c55010173fecd45be290b20a5036c3c
[]
no_license
komtaki/atCoder
3efd3e71955865fd083f0b9757e561df2ec2eb87
ad20c5242aa7453a217ddba09981823e02865f45
refs/heads/master
2020-08-06T19:37:25.894580
2020-08-02T12:23:05
2020-08-02T12:23:05
213,126,564
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
def resolve(): N = int(input()) A = list(map(int, input().split())) unique = len(list(set(A))) if len(A) == unique: print('YES') return print('NO') resolve()
[ "takoreset@gmail.com" ]
takoreset@gmail.com
8e6d4e640243b5c5a7d11ef408914e9fd078b4fb
1c4e6b34386e9917efdce2d404e70f3f2ba7d25a
/Django_intro/courses/courses/urls.py
7943b64e605b59157e79e7ac2f8a556b09538271
[]
no_license
viperman88/Dojo_Flask_Work
7bd001fe2cd0c48a52b31705161c46d38185d214
9ed4f5d47c0c26e06f58abd60e310d6d6161a2c9
refs/heads/master
2021-01-23T21:13:51.237860
2017-10-21T18:05:55
2017-10-21T18:05:55
102,888,304
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
"""courses URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "robertamato@Roberts-MBP.fios-router.home" ]
robertamato@Roberts-MBP.fios-router.home
7662de8695c94bd1028a05392d8c787e84ab8f5d
7721dd535cbc5870350c51b5f3e54acd4621c358
/manage.py
044669b675c05b412533ddd377ff825b370c48aa
[]
no_license
simofane4/rtmplive3
e5bbdc3b0b0fab26586ee0aeb7b877649e185276
ed871a1a376f590e30ccd28adc0653f628037c2a
refs/heads/master
2023-08-15T17:10:25.093080
2021-09-13T22:57:06
2021-09-13T22:57:06
405,119,058
0
0
null
null
null
null
UTF-8
Python
false
false
664
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', 'rtmplive.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "simofane4@gmail.com" ]
simofane4@gmail.com
9e39711c2660c86d1b3c5e2d66704bad8dcce7d8
143304bc4931317792a6a07127d4947bcfa73f3a
/whatmobile_scrapper.py
afce287b42f43773d4f8791836973ca776c234ed
[]
no_license
Mobinfo-devs/mobinfo-webscrapper
0767922554a908bf107b36ffda9cb5d634407743
f50361106ae42cf15af5037c3bb6bd6d29daf21f
refs/heads/main
2023-08-12T07:52:46.050306
2021-09-15T11:51:29
2021-09-15T11:51:29
380,277,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
def whatmobile_scraper(url): #for getting request Module import requests #web scrapping moduel from bs4 import BeautifulSoup #URL where all data is stored url_mobile = url #for getting request for page page=requests.get(url_mobile) #soup will contain whole html file soup=BeautifulSoup(page.content,'html.pars...
[ "noreply@github.com" ]
Mobinfo-devs.noreply@github.com
0d17274f896b12341c4462bfda812bcedfdbf963
4f5c637442fbcaa7c8e722373a2dea0141cd25b9
/classwork_8/classwork_8 lambdaCapitalize.py
5780da34ba3d259ae70c39a2cb0c2a2787ad2df2
[]
no_license
rishit03/PathaPadha-Python-DS-p-1-
96b2bc7f81383c56eda73c7c37208e321dfd2667
3c59594b66ff132096db4efb0bf80a15c0a1d52b
refs/heads/main
2023-07-30T12:55:27.847910
2021-09-21T18:34:05
2021-09-21T18:34:05
401,348,698
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
lst = ["apple","mango","cherry"] capital = map(lambda x:x.capitalize(),lst) print(list(capital))
[ "noreply@github.com" ]
rishit03.noreply@github.com
f145a32b7f6ae055db544945f1c5f9aec83646c1
97a2a4bd42ede2333553a61e79b59f4dd543635e
/pybmp/bmp.py
40258ed84c02fe8e5d9d847ff23bb3a182de54df
[ "MIT" ]
permissive
dethrophes/pybmp
cf5ceade6259a633c3063781d41782e07387277c
97366f153075eb55c44fdafae717871ba2b95a03
refs/heads/master
2023-03-24T02:10:02.415604
2016-11-05T12:59:12
2016-11-05T12:59:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
#!/usr/local/bin/python # -*- coding: utf-8 -*- '''bmp BITMAPFILEHEADER BITMAPINFOHEADER ''' import sys def BMP(*args, **kwargs): return None
[ "sanjo_nemu@yahoo.co.jp" ]
sanjo_nemu@yahoo.co.jp
abf6293f86b63517dc34ea287a731b7b884c2e03
e30615966198a49af29d55342e9f6a9a49783549
/clientArea/config.py
6af16742f11d65de88d32cc35680c50b9e27cbe8
[]
no_license
mmasterenko/lancer
05f59de1fe4887acebbe39aac417c396a75b1f81
fec0966e9f56d62a5a9e110e82ebb414fec5442d
refs/heads/master
2020-12-24T18:42:40.796549
2016-04-16T08:21:09
2016-04-16T08:21:09
57,143,707
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
# -*- coding: utf-8 -*- from django.apps import AppConfig class ClientAreaConfig(AppConfig): name = 'clientArea' verbose_name = u'Личный кабинет'
[ "mmasterenko@gmail.com" ]
mmasterenko@gmail.com
bd23fb0675631543a7d42fa543cfd004ac0c5ea3
fedb95b78f004d89faa563e58d63fc569c616ae9
/code/utils/ur_send_string_command.py
1749b97a3583e439309f1a6668f38c857a1842a9
[ "BSD-3-Clause" ]
permissive
dti-research/SenseActExperiments
988d74a80d036e9c738db1b1cd421c23b3ccaa1b
319171293f6d8270ec00b9fc05e4b9ef43da9675
refs/heads/master
2020-05-07T20:19:59.237513
2019-11-06T02:19:01
2019-11-06T02:19:01
180,852,269
1
1
BSD-3-Clause
2019-07-04T16:20:33
2019-04-11T18:16:32
Python
UTF-8
Python
false
false
1,131
py
import time import socket import argparse # Setup argparser parser = argparse.ArgumentParser(description='Sends a string (URScript) command to the UR', formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument("-ip", "--robot-ip", dest="robot_ip",...
[ "nily@teknologisk.dk" ]
nily@teknologisk.dk
eafbe8558b51fd8cf71c834a0c170edcba263c15
39ac10a3c5bf702280bffef2c4164bf207fe9405
/hangman.py
3f9dd23d2caac25d9260ea70f8bfd6d01f0d982f
[]
no_license
Sweept/p_game
008aa135dbd04d3b2361995c005a6447a08aa6d4
38cbbbdbd00f74cb6d08d9bfa030ad0341a3f84a
refs/heads/master
2022-11-29T22:44:41.611285
2020-08-10T21:10:15
2020-08-10T21:10:15
274,228,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
import random HANGMAN_PICS = [''' +---+ | | | ===''', ''' +---+ O | | | ===''', ''' +---+ O | | | | ===''', ''' +---+ O | /| | | ===''', ''' +---+ O | /|\ | | ===...
[ "emersonsridhar@gmail.com" ]
emersonsridhar@gmail.com
d39c5d234d64ed189ca92ba9ef324647ce15eca4
36c31f8e7fe8b8bc942613cd6b35b6b88b40a5f0
/app.py
36770b68fe0b5dab71893a3fba8235853a838eaf
[]
no_license
meceledon/API_rest_t2
9ec8226ad19b4a71692f1ec064160a228bdac3a8
49c17d5040b9aafd1e43cc489898afa89dd198ef
refs/heads/main
2023-04-16T20:57:58.909829
2021-05-03T16:55:40
2021-05-03T16:55:40
362,610,503
0
0
null
null
null
null
UTF-8
Python
false
false
11,640
py
from flask import Flask from flask_restful import Api, Resource, reqparse, abort, fields, marshal_with from flask_sqlalchemy import SQLAlchemy from base64 import b64encode app = Flask(__name__) api = Api(app) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///app.db' db = SQLAlchemy(app) BASE = "https://api-rest-t2.h...
[ "meco@MacBook-Pro-de-MECO.local" ]
meco@MacBook-Pro-de-MECO.local
ea87fcbba598eb2a4c9be4edb95f316047f4e2dd
ff90da29d1ec16cd2c6a4b45411b3577c505029a
/test_vocabulary.py
61953d07e3c3d81ce1699a76a58bec78a083de19
[]
no_license
myrywy/rnn_language_model
db7551dba79057b7cb90c844217b3f5e44228bdf
cf7013f704d33530d641eeb72d3870663512b5ef
refs/heads/master
2021-05-13T22:09:26.311463
2018-02-02T22:05:25
2018-02-02T22:05:25
116,481,314
0
0
null
null
null
null
UTF-8
Python
false
false
2,544
py
from unittest import TestCase, main, skip import numpy as np import tensorflow as tf from vocabulary import Vocabulary class TestVocabulary(TestCase): def setUp(self): self.words = ["a", "b", "c", "d", "e", "f"] self.ids = [i+1 for i in range(len(self.words))] self.vectors = np.array([ ...
[ "marcinlewy22@gmail.com" ]
marcinlewy22@gmail.com
8b1265f82c50b7dcf292dc5c3ec742fc5f3a9313
5e4aa85bdc3c3fb1c943a5c3276c1dd8bff98da8
/test.py
718740506127556657130823471698c8bc6427ab
[]
no_license
571031767/py
ad18daff8ffc1d3ec33e5e075562b1419bc5bad3
4ef34f83b1f3d61e5064695df63bfc3369d73a25
refs/heads/master
2022-11-24T07:58:14.175070
2019-07-19T08:47:32
2019-07-19T08:47:32
197,515,458
0
0
null
2022-11-22T01:16:01
2019-07-18T05:10:08
Python
UTF-8
Python
false
false
220
py
import sys from PyQt5 import QtWidgets, QtCore app = QtWidgets.QApplication(sys.argv) widget = QtWidgets.QWidget() widget.resize(360, 360) widget.setWindowTitle("Hello, PyQt5!") widget.show() sys.exit(app.exec_())
[ "571031767@qq.com" ]
571031767@qq.com
273674ee6cc0670136332b6933999900edc476be
21403ecf699d5feef431d3b17181285ee0c8e0f5
/dash/main.py
dcdae92e91ebd87663bf07cd9b2479ddfcbafb75
[]
no_license
LorenzoMauri/LorenzoMauri.github.io
630c29d8e7f2366b23651f63fdc83e71650ca876
5877cab2b18c4f721f28e5047427b438e89fa69d
refs/heads/main
2022-01-26T00:49:35.053933
2022-01-18T10:30:49
2022-01-18T10:30:49
248,873,961
0
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
import pandas as pd import numpy as np import plotly.express as px import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from MySQL_getData import Aggregator # UTILS def aggregate(df): ASPECTS_LIST = ['service','location', 'products'] ...
[ "lorenzo.mauri@ipratico.it" ]
lorenzo.mauri@ipratico.it
b9dcab0e27ecbf4bb3c3edbfd8aa26d2deee51b4
5ff8c6de40df5094c1885743261564902498f2a0
/sk-master/cle/models/nips2015/timit/test_m3.py
2fb20e2557f781a7fc379b6a710a388f599b7da0
[]
no_license
anirudh9119/SpeechSyn
25393c6525e8a78179dc7c4d48f9d22395ec06a4
a45177b019ded27d3935aa5766c716b373649c3a
refs/heads/master
2020-04-06T04:37:09.019957
2016-01-26T02:21:13
2016-01-26T02:21:13
49,082,185
0
0
null
null
null
null
UTF-8
Python
false
false
6,715
py
import ipdb import numpy as np import theano import theano.tensor as T from cle.cle.cost import Gaussian, GMM from cle.cle.data import Iterator from cle.cle.utils import unpickle, tolist, OrderedDict from cle.cle.utils.op import logsumexp from sk.datasets.timit import TIMIT #data_path = '/raid/chungjun/data/timit/r...
[ "anirudhgoyal9119@gmail.com" ]
anirudhgoyal9119@gmail.com
31fee6c0fcfa31b6a771053c2cd6f6048a6ca539
6ff5ce9bd60f389c7ad067ddd54e909c1b440003
/venv/bin/easy_install-3.6
d3b12b65c045489c2d0a41bb379b6062b0061947
[]
no_license
shabin75/django_blog
eba2265363bfb943c69fb07e03ca414854eb9762
15452fc6029cbb651895a04ff1b55434774a6206
refs/heads/master
2020-08-29T05:35:37.690476
2019-10-28T01:53:20
2019-10-28T01:53:20
217,944,029
0
0
null
null
null
null
UTF-8
Python
false
false
440
6
#!/Users/shabin75/Desktop/blog/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\.pyw?|\.exe)?$', '', s...
[ "shabin75@MacBook-Pro.local" ]
shabin75@MacBook-Pro.local
310f95195368520a2c727aee49ce131935340493
ff93bf0b5e9f3fd14f3cd316b34cdcd28b10f179
/corr_spike_trains.py
ef656f06c81c78981b626eba4e30a1dcd4d4b65e
[]
no_license
willr292/Neuro-Project
724ec7c4cf729ee83d4f5acef2a750dcb7fb58ad
b0674090b16f1bf779dd734b8352a9d25c96d9bd
refs/heads/master
2022-04-07T02:38:52.192488
2020-01-30T20:43:03
2020-01-30T20:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,703
py
# corr_spike_trains - This Python script implements algorithms based on [1] # for generating correlated spike trains. # # [1] : Romain Brette, "Generation of Correlated Spike Trains", Neural # Computation 21, 188-215, 2009. # # Copyright (C) 2016 Georgios Is. Detorakis (gdetor@protonmail.com) # # This program is free ...
[ "willr292@gmail.com" ]
willr292@gmail.com
ff80203835e8716b7b05805dd7ab23d557f4eee1
e8b1ea989fe0d08449fbe6713ad13a671390fed7
/main/migrations/0022_auto_20170203_0510.py
4b0986db0cc6cddf74710d362114b5a312365cbc
[]
no_license
alexbobrow/mydict
1a0625cab9e5f7db440c8583e63981f8dbb5497c
edaa16866364d8d776c788da4e3029d8ce25b47d
refs/heads/master
2023-08-06T13:55:42.137986
2021-10-09T15:13:52
2021-10-09T15:13:52
398,196,222
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-02-03 05:10 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0021_auto_20170201_0556'), ] operations = [ migrations.RenameModel( ...
[ "alexbobrow@mail.ru" ]
alexbobrow@mail.ru
c8e4254718c9e65240da0fcc672cd0564564c4a3
775da6a60f5b22578d6b05c1b087558d7a26f274
/3_Bigdata/03_Statistics_basic/wine_quality.py
299c863d35bb37713159c77f7cb135294d600c12
[]
no_license
koobeomjin/iot_python2019
4242744a6c4452674b2e2686492c8634b92dbe7e
6558f500e9d1c0b9c5db23498ad02c31e6212229
refs/heads/master
2020-06-14T22:17:35.575323
2019-10-21T06:23:59
2019-10-21T06:23:59
195,142,248
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
import pandas as pd wine = pd.read_csv('winequality-both.csv', sep=',',header=0) wine.columns = wine.columns.str.replace(' ','_') print(wine.head(10)) print('변수별 요약통계') print(wine.describe()) print('\n특정 열의 유일값 찾기') print(sorted(wine.quality.unique)) print('\n빈도 찾기') print(wine.quality.value_counts())
[ "abc12@naver.com" ]
abc12@naver.com
2e2b0256d971a113ac7e6952f98b8b8a9ff42755
fbe2bce9e3d810c423979bf1f739b2775b8c31a3
/url_shortener/migrations/0001_initial.py
d601dd7529a2573ece26e98cec4f507f9f3039dd
[ "MIT" ]
permissive
alena-kono/simple-shortener
005ef1e03bf1ac82b777d8f692a8259880e7aaef
d1549b342e190ff70509ce5b442cb31376f2a07a
refs/heads/main
2023-07-25T21:04:05.614094
2021-09-05T20:33:13
2021-09-05T20:33:13
403,371,318
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# Generated by Django 3.1.13 on 2021-09-05 18:30 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Url', fields=[ ('id', models.AutoField(aut...
[ "konovalova.alena@gmail.com" ]
konovalova.alena@gmail.com
b70a883907ad7073bcf8f114e0cd5097988c808a
0675dbf9edc1564ca2a0be8635dd704afb35631b
/main.py
eaa6078ad68129f0052c6224632c8c3120e0638f
[]
no_license
vasude1/local_damage_visco
9c630fb3e7ecbbc3de0c3884061f16f7d406cdcf
399c6b5a63db5f70b1f7fd081a870d3586ec6093
refs/heads/main
2023-01-02T07:22:18.102456
2020-10-28T22:25:02
2020-10-28T22:25:02
308,155,372
0
0
null
null
null
null
UTF-8
Python
false
false
2,800
py
## Imports from Python import numpy as np import scipy.sparse as sps ## From own mods from classes import * from compute_Matrices import * 0.0761 ## Material Parameters dashpots = 8 prop = np.array([[0.9,1E-7],[0.01,1e-06],[0.00100388,1e-05], [0.00109131,0.0001],[0.00115114,0.001],[0.00121,0.01], ...
[ "noreply@github.com" ]
vasude1.noreply@github.com
0981677d88f617ba17bf5cbcb8bc5e03108f0536
2467d3cdd5a82b07f5f225c794fff11fa35cafe1
/settings.py
90cc72605744d206e48eb470b3124301f4391014
[]
no_license
aroscoe/reel-time
8c723af72e16110a61ea7e16b64ba12891ac093d
f29922b69804ac4dc434b335cad66a85466f2ace
refs/heads/master
2020-12-24T13:44:49.081863
2010-06-27T04:24:35
2010-06-27T04:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,527
py
# Django settings for reel-time project. import os.path PROJECT_ROOT = os.path.realpath(os.path.dirname(__file__)) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add '...
[ "me@anthonyroscoe.com" ]
me@anthonyroscoe.com
ab2095ba16deb13d694b50d1dd2b8edea9ce54a4
14477033743ef2888878c96334013f41e2d1f274
/simpleCli/base.py
6f9d05de5984d8354a40ee87739c77fcf8b5a4e4
[ "MIT" ]
permissive
enigma0Z/python-simple-cli
c28382efe24593d31bc4db63cb9b962be6f1546c
098e2ac7429742e86d68974f2c015610726ee5aa
refs/heads/master
2020-04-16T00:49:34.336773
2019-01-12T04:21:25
2019-01-12T04:21:25
165,152,745
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
#!/usr/bin/env python3 """ simpleCli.base """ from argparse import ArgumentParser from collections import deque from .exceptions import NotImplementedException class BaseCommand: """ Base class for CLI classes. Realistically, this really doesn't do anything other than establish basic metadata for the cla...
[ "enigma.0ZA@gmail.com" ]
enigma.0ZA@gmail.com
b7ad0c4b75e72ab71fd785503bb1ed1b91d76003
db5f730b1311210130ad900444a8765fceebda36
/Data_base/weight_categories.py
d0fe8ec9d6ba815b692198da9c201c22310fdc11
[]
no_license
sumo-slonik/sumo_match
8e9e842730af3b96b18dea622a1661bb58455933
9ca52fcb474c554e4f9239a8ad9a08d79f80668a
refs/heads/master
2023-08-12T23:03:28.095141
2021-09-10T16:41:10
2021-09-10T16:41:10
349,742,489
1
0
null
2021-09-10T16:41:11
2021-03-20T14:09:08
Python
UTF-8
Python
false
false
3,455
py
import hashlib from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from Data_base.tables import WeightCategory def generate_id(weight_category, age_category, gender): description = weight_category + age_category + gender return int(hashlib.sha1(description.encode("utf-8")).hexdigest(...
[ "jakobn@o2.pl" ]
jakobn@o2.pl
cdc6f4ba077e242a33d6ee03cb2e97631421d423
9d5c1340397440996fd8f16d262df2045746ed6d
/anima/extension.py
327fa5a7cbeb76c0c2ab23d5468e4c00c1877a3d
[ "BSD-2-Clause" ]
permissive
jonntd/anima
f44c4168052d85e6e1203e5ce6217d61d6602232
dbd487f11f31e9351f49126cbef8273577023518
refs/heads/master
2021-01-17T01:10:39.920972
2015-03-12T20:55:25
2015-03-12T20:55:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
# -*- coding: utf-8 -*- # Copyright (c) 2012-2014, Anima Istanbul # # This module is part of anima-tools and is released under the BSD 2 # License: http://www.opensource.org/licenses/BSD-2-Clause def extends(cls): """A decorator for extending classes with other class methods or functions. :param cls: The cla...
[ "eoyilmaz@gmail.com" ]
eoyilmaz@gmail.com
cf16676a020bfc2a8c7972d0091f467f31209631
704aed383987bea4696cb2036ab4a7953e2c948f
/yomdemo/models.py
386ceb31f6f824bfbb9c52d8836b389edf4621cd
[]
no_license
abhishek-akbari01/blog-project
8e74616ddbeb3fa4bb50c05a84a9cc11988e93ad
408b8617ffd517b8cc6350fb83c77b82638e123f
refs/heads/master
2022-12-25T22:26:06.191367
2020-10-11T22:26:41
2020-10-11T22:26:41
303,350,128
0
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
from django.db import models from django import forms class Slider(models.Model): title = models.CharField(max_length=100) content = models.TextField() slides = models.FileField(upload_to='slider/') objects=models.Manager class Category(models.Model): title = models.CharField(max_length=100) ...
[ "abhishekakbari9668@gmail.com" ]
abhishekakbari9668@gmail.com
a6e8833b4c75fb3dd7c8daa4641b95a272aaef9c
c25080ecd125becfe8f64164201ddbc272604171
/app.py
4d00b96ee9a38d679255a19dbb3eef1ad0bcec97
[ "MIT" ]
permissive
HubbeKing/Hubbot_Twisted
861f02771925f3b6fc72bc2503a768dd278934fc
e237afc9802064d00c8a76f958f27bad2c371f6d
refs/heads/master
2023-04-27T17:45:00.105852
2023-04-21T19:46:40
2023-04-21T19:46:40
14,868,288
2
0
null
2016-12-12T21:18:58
2013-12-02T16:41:58
Python
UTF-8
Python
false
false
1,395
py
from hubbot.config import Config, ConfigError from hubbot.factory import HubbotFactory import argparse import logging import sys if __name__ == "__main__": parser = argparse.ArgumentParser(description="A derpy Twisted IRC bot.") parser.add_argument("-c", "--config", help="The configuration file to user", type=...
[ "hubbe128@gmail.com" ]
hubbe128@gmail.com
1b1ceec87372d57456338b62c945931f222ce59c
e4539b17568dd3ef7a414da3948835767760017d
/cursosPython/CursoBásico/ciclos.py
eb47931ecd4a732c8e45800ad4c4a01c236dfdbd
[]
no_license
jpmontenegro/test
e6594bb49c7b913255c95eecb9df563d20d80ba2
eaf33bca7effdf64a533a1d7e0b32c64bbffd091
refs/heads/master
2023-08-06T05:32:44.057080
2021-10-11T03:11:50
2021-10-11T03:11:50
404,925,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
def run(): ejemplo = input(str(""" Ejemplos de ciclos: 1 - Continue 2 - Break en números 3 - Break en texto 4 - Juego Selecciona el ejemplo a probar: """)) if ejemplo == str(1): for contador in range(100): if contador % 2 != 0: continue ...
[ "jpmcaro1997@gmail.com" ]
jpmcaro1997@gmail.com
80da82accdf31a5158077c9753abc419d97a906e
3b80cc625b048ecfd21808db947935447f30d667
/test/overhead/calc_time.py
dd29b8b22035b56527e6f94453e99ee17531e34d
[]
no_license
Rets66/dns-td
2af76223bbc594be0b568cf777f2844971cb5174
cd6a322591d0956844891e4b48413137560eb6c9
refs/heads/master
2020-09-30T21:23:57.745418
2020-01-25T10:47:32
2020-01-25T10:47:32
227,377,023
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
#!/usr/bin/env python3 #coding: utf-8 import matplotlib.pyplot as plt import statistics #import matplotlib.ticker as ticker with open('./calc_time5000.json') as f: data = f.readline() time = eval(data) time = [i * 1000 for i in time] num = list(range(1,5001)) mean = statistics.mean(time) median = statistics.me...
[ "asce_salut666chere@icloud.com" ]
asce_salut666chere@icloud.com
0fcec6e5041d5d33b2ff2d514fc4d29219789859
60e6ec8ac9c2efef5a2421dc743fb180ebe2983a
/2016/07/challenge.py
75e16efe77c5524e3ac4b97cd3eef4f58690fdb9
[]
no_license
cnorthwood/adventofcode
8a4c515c2f8ad894b80f46b2f770fd608bf88923
f3504cfbff379a0816a354ba8caea4d0a5836a8c
refs/heads/master
2022-12-12T20:04:56.752641
2022-12-08T23:19:09
2022-12-08T23:19:09
75,319,235
2
1
null
null
null
null
UTF-8
Python
false
false
1,440
py
from itertools import chain import re PAIR_CHECK = re.compile(r'(?P<char1>.)(?P<char2>(?!(?P=char1)).)(?P=char2)(?P=char1)') TRIP_CHECK = re.compile(r'(?=((?P<char1>.)(?P<char2>(?!(?P=char1)).)(?P=char1)))') def parse_line(line): parts = re.split(r'[\[\]]', line) return parts[::2], parts[1::2] def supports...
[ "chris@pling.org.uk" ]
chris@pling.org.uk
9419f84c744e53f3a8947c64d4f2b6cd11e78526
c120540b1326cbd060394f370f5ca4d4f33b4b24
/mango/wsgi.py
6189499a2259395a13814ccb484bf30e7e042282
[]
no_license
ashutosh-roy/Mango-Backend
f82a20ed4af861d064441276176be2af6b26a26e
033b6a0730a5b4f4407ed3a254c556bda9f19196
refs/heads/master
2022-04-25T13:29:30.036540
2020-04-24T03:40:01
2020-04-24T03:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for mango project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "dopecoder007@gmail.com" ]
dopecoder007@gmail.com
4f20e95b25cbfabfb9c8b9d5e1528a90cf03007e
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/1196-How-Many-Apples-Can-You-Put-Into-the-Basket/soln.py
9360a70d049dfe0b5dbc07ebde42134ca66b794f
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
250
py
class Solution: def maxNumberOfApples(self, arr: List[int]) -> int: basket = 0 cnt = 0 for num in sorted(arr): if basket + num <= 5000: basket += num cnt += 1 return cnt
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
ed4e215c8260f6205f24fc9630e63c7000cf1cd8
29c6662d028e30e3d918aafc161a2973d50c9c3b
/context_processors.py
ec3a0d4c578a43575a6c11600147b8db69c55c3c
[ "WTFPL", "Beerware" ]
permissive
brunobord/beeroverip
d0dacad018e0553cdbfaa4c578372a3ae7aeded2
8dfc43a5ba26e25281aa31883dfa71cbe075c739
refs/heads/master
2021-01-23T06:49:48.873101
2016-12-01T22:35:51
2016-12-01T22:39:52
53,926
5
1
null
2016-12-01T22:11:29
2008-09-18T13:47:20
Python
UTF-8
Python
false
false
305
py
from django.conf import settings def analytics_id(request): """This context processor returns the ANALYTICS_ID extracted from the settings, if it does exist. If not, it returns an empty dictionary.""" try: return {'ANALYTICS_ID': settings.ANALYTICS_ID} except: return {}
[ "bruno@lachose" ]
bruno@lachose
48fdfc9be378d4f91876aa5a652d34ada26e3a80
a3fb8d6e9c31212b39171b90c5e09fccba022167
/addons/io_scene_gltf2/blender/imp/material/map/emissivemap.py
cda6b93b021a1781f28269ad51fe76f20ff0f229
[ "Apache-2.0" ]
permissive
dtysky/glTF-Blender-IO
9d44d3f76923a5f6760bfa662006383604cc745b
5488adce3d496c6db7b2fff121d4fb46962a02b2
refs/heads/master
2020-03-26T21:14:16.951297
2018-08-20T08:27:30
2018-08-20T08:27:30
145,376,303
0
0
Apache-2.0
2018-08-20T06:36:42
2018-08-20T06:36:41
null
UTF-8
Python
false
false
4,314
py
""" * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is ...
[ "nopper@ux3d.io" ]
nopper@ux3d.io
ff9299ad1816849e18e03e4b2368053082d109cf
2c7cafcb634501494abe745a361dd31b78502cce
/scripts/create_interface_timeseries.py
a0b9187d6ca6f5b90056317e6d7f2a42aace7cc9
[]
no_license
pism/gris-analysis
daf868a9fce8e604cf6bdf87a94e28ab0de74579
3b67dcb888f08e451d36582f02fb759e14bd95eb
refs/heads/master
2022-11-30T06:56:47.118396
2022-11-18T23:55:53
2022-11-18T23:55:53
48,613,554
0
3
null
2022-11-18T23:55:54
2015-12-26T14:38:22
Python
UTF-8
Python
false
false
1,903
py
#!/usr/bin/env python import numpy as np from argparse import ArgumentParser from netCDF4 import Dataset as NC from netcdftime import utime import gdal import ogr import osr import os from pyproj import Proj import logging import logging.handlers try: import pypismtools.pypismtools as ppt except: import pypis...
[ "aaschwanden@alaska.edu" ]
aaschwanden@alaska.edu
1a578abefeb2ed72ce8ae2e7c04415c91c7889f2
07f5251f6a237f643da841a2ba04e721b30cc2a3
/mac/shop/admin.py
a3e69c9fe618153fcd87ea300daf892c18e558c4
[]
no_license
vibhore3999/Ecommerce
ee4cdc094ab60097968e5bbae1615dd1ef8c0374
a9050e780bfeefc1e31fb1a3150b2245d0338cfd
refs/heads/master
2022-11-11T09:04:01.281353
2020-06-29T17:01:27
2020-06-29T17:01:27
275,876,725
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from django.contrib import admin # Register your models here. from .models import product admin.site.register(product)
[ "vibhor3999joshi@gmail.com" ]
vibhor3999joshi@gmail.com
f37ff415b8017dd882a9e147fa178c187e063ea5
737c0971004b5bff58c51c26aa56f5126e4b056f
/setup.py
bf3642a2ad967196eda47766dd71292fb937d568
[ "MIT" ]
permissive
nuki111/env_explore
4b639c7bcc46110e5c19877282d0c95b7bb288cb
b5dfa05fbcfb0126e246e4ef4eb5a392a8615cf0
refs/heads/master
2022-06-06T16:47:45.744973
2020-05-04T21:31:44
2020-05-04T21:31:44
259,754,992
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="example-pkg-nuki111", # Replace with your own username version="0.0.1", author="Oscar Nuki", author_email="oscar.nuki@gmail.com", description='env_explore: Quick and easy exploration of py...
[ "32140106+nuki111@users.noreply.github.com" ]
32140106+nuki111@users.noreply.github.com
b8af51b692db93b260f28e7099526ad1a23e3231
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/pygments/lexers/bibtex.py
7244ef2f7e8253dd9340e7807bfef42760ebeccb
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
4,727
py
# -*- coding: utf-8 -*- """ pygments.lexers.bibtex ~~~~~~~~~~~~~~~~~~~~~~ Lexers for BibTeX bibliography data and styles :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import RegexLexer, ExtendedRegexLe...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
38fa79f99aea3bcb55ec77e25b11b3af7398cb1b
5a40bf2c1e21be61b925011a5729471bb08b0ade
/Picture.py
f117d2df8ae031be473e361172d9e3f1845bd458
[]
no_license
yezhanglang/PythonExample
4f50dea3fef04e45eafa6bc67d48038dd7698e7a
bc589ac31cdfd8a3c25bd583ac0a9da82bed67d7
refs/heads/master
2021-09-08T10:57:51.468318
2018-03-09T11:05:05
2018-03-09T11:05:05
124,529,563
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
#coding=utf-8 import numpy as np import matplotlib.pyplot as plt import pandas as pd # evenly sampled time at 200ms intervals t = np.arange(0., 5., 0.2) print(t) # red dashes, blue squares and green triangles plt.plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^') plt.show()
[ "1129583207@qq.com" ]
1129583207@qq.com
a20633d723be19da647daace0f688649a009a633
872417cb0dd86747e45dd278a82fd58ec05a4781
/graph.py
345ea44d8e1f6a7d8681eef7954995f0b805b9d9
[]
no_license
hebaflemban/datastructure-
fe8c046fb83860c0679c7e0ca19fdf18f35a8cd4
abbb6fe7968a3a86d2ebf5f797ffac369839b9d4
refs/heads/master
2022-12-08T15:23:14.137083
2020-08-26T22:34:49
2020-08-26T22:34:49
289,006,902
0
0
null
null
null
null
UTF-8
Python
false
false
4,347
py
class Vertex: def __init__(self, data): self.data = data self.edges = {} def add_edge(self, to_data, time, cost): self.edges[to_data] = {"time": time, "cost": cost} def get_edges(self): return self.edges.keys() def get_weight(self, vertex_b ): return self.edges...
[ "36724067+heba@users.noreply.github.com" ]
36724067+heba@users.noreply.github.com
748c9781d7160fac7b7e3a1001afc1bb780a25ec
ded80657d1714996f01b450645fe2f4e1971cef2
/WebScraper/spiders/to_db_spider.py
9286d10be5103c0de0970e8d268e02f7aa4630f7
[]
no_license
KarenW-DSBA/TopicModels
614d4895e4bba836b2297bf424f279bdb365e888
27613085869fa0b40575e518788bb5156016bc22
refs/heads/master
2020-03-25T12:13:21.817517
2018-08-09T20:57:07
2018-08-09T20:57:07
143,760,926
0
0
null
null
null
null
UTF-8
Python
false
false
5,254
py
from __future__ import unicode_literals from scrapy import signals from scrapy.xlib.pydispatch import dispatcher import PyPDF2 from PyPDF2 import PdfFileReader from PyPDF2 import utils import requests from requests.auth import HTTPBasicAuth import datetime import scrapy import sys import urllib import pdfquery import p...
[ "karen.woo@essec.edu" ]
karen.woo@essec.edu
ec6208492c21ec47df7f55580df8205872adb590
30225cc8958e698c95c08dc710d1d2d87347ad0d
/server/accounts/serializers.py
699b09c6065d0decbd21737dea96219719ac1cc2
[]
no_license
HYUNJUN-KANG/1117
9e42fc504bbd944fce39ea38dcfd2bd08a362114
75d17028ea7c0454c5c14108cdf532b87213f939
refs/heads/master
2023-01-19T04:22:30.342711
2020-11-17T08:49:51
2020-11-17T08:49:51
313,558,661
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from rest_framework import serializers from django.contrib.auth import get_user_model class UserSerializer(serializers.ModelSerializer): password = serializers.CharField(write_only=True) class Meta: model = get_user_model() fields = ['username', 'password',]
[ "rkdguswns94@naver.com" ]
rkdguswns94@naver.com
e4d607873985483e8219f5bfdac8e164bd7c6482
b994bae7345b15b8bb045dec636b3db4b7be3e50
/deepstar.py
6b6457e2bc0ea259fda80e213765ac6301dcf8ed
[]
no_license
MicronOxford/cockpit-lasers
d80e0aba066541e6c422ecbfd4e9a9c68e1b9df8
6e071eff4b0e27cf64b64cd36ccd1ea3b6019253
refs/heads/master
2020-12-30T09:57:38.129262
2019-07-22T11:27:58
2019-07-22T11:27:58
27,595,972
0
1
null
null
null
null
UTF-8
Python
false
false
5,342
py
import Pyro4 import serial import socket import threading import time CONFIG_NAME = 'deepstar' CLASS_NAME = 'DeepstarLaser' class DeepstarLaser: def __init__(self, serialPort, baudRate, timeout): print "Connecting to laser on port",serialPort,"with rate",baudRate,"and timeout",timeout self.connec...
[ "mick.phillips@gmail.com" ]
mick.phillips@gmail.com
87dc76e9a1040c5ecdda9dc379dae79df0104602
e05e6c0276a60c0f82927240b5ce36ce1f6460ec
/big/debug/rxtx_ofdm.py
48041879c9bcc464adfcfdd56e09ea94f02e71f9
[]
no_license
yoshiV3/ofdm_transceiver
ee296993621021239a1c95c73f737a29ca319a9b
f09ed1daeba7bd0e3cfe86d09fa42180ff106870
refs/heads/master
2022-05-16T19:28:01.807028
2020-04-19T09:32:11
2020-04-19T09:32:11
254,823,987
0
0
null
null
null
null
UTF-8
Python
false
false
11,423
py
import numpy from gnuradio import gr, blocks, fft, analog from gnuradio import digital import settings import helpers import parameters_ofdm as para import tagger import framer import ownHeader symbol_settings = para.ofdm_symbol() #object with settings concerning OFDM symbols SYNC_ONE = symbol_setti...
[ "yoshi@LAPTOP-99C76T74.localdomain" ]
yoshi@LAPTOP-99C76T74.localdomain
6eab8d6aaac5b2452833f9f78d5bac38cc1126d3
44b915463d2b3afbf101177e7e8d39df8688d55e
/codegame-/public/gameNew/gameNew/blockly/i18n/xliff_to_json.py
8ab18dc4249a4247ecccefe743b9c44708a1bc76
[]
no_license
den19980107/nkust-online-study
d843d56c5184bc38c1ae9eb9e31aff93527c118e
0640d20101ef24f0d4b600f22c08606814510b1b
refs/heads/master
2022-12-12T02:36:40.858311
2021-09-27T05:31:52
2021-09-27T05:31:52
170,542,266
7
1
null
2022-12-10T20:06:53
2019-02-13T16:40:29
JavaScript
UTF-8
Python
false
false
8,560
py
#!/usr/bin/python # Converts .xlf files into .json files for use at http://translatewiki.net. # # Copyright 2013 Google Inc. # https://developers.google.com/blockly/ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may...
[ "den19980017" ]
den19980017
35a132de82de422a317f4dd99796aded0aa6cd35
0478abafc05f1dd55ddf6054d95fef73e9fa03e9
/quati/dataset/corpora/corpus.py
e6bd4991ceec77b5855a2c9e56a7b22dab9eb589
[ "MIT" ]
permissive
deep-spin/quati
89bce0868b36b0d7902659507b72acfbd01ada98
62a6769475090182fe2990b2864d66f8e2081a32
refs/heads/master
2023-03-12T09:22:31.520259
2021-03-02T15:13:22
2021-03-02T15:13:22
330,678,540
2
1
null
null
null
null
UTF-8
Python
false
false
3,185
py
class Corpus: task = None def __init__(self, fields_tuples, lazy=False): """ Base class for a Corpus. Args: fields_tuples (list): a list of tuples where the first element is an attr name (str) and the second is a torchtext's Field object. lazy (...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
9d15540f6211efb27cbab8ecc1d8a54e4d1f42ca
6ba163412b7868bbb5c872caf6172b44d1acf24e
/withPython_ch3.2_Matplotlib/3_3_plt_plot.py
98fb4ff1bd8297cb900e2e5a657dce05c587b470
[]
no_license
sejhig2/openCV_practice_StepByStep
6d6a238dcb389a89f68daa9b4f545f7021cb8170
5ad64a18cdf3202a2e4e060d5158dbef41927b64
refs/heads/main
2023-03-16T12:15:59.352848
2021-03-04T06:27:57
2021-03-04T06:27:57
343,457,609
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
# 간단한 꺽은 선 그래프를 그려보자 import matplotlib.pyplot as plt import numpy as np a = np.array([2,6,7,3,12,8,4,5,]) plt.plot(a) plt.show()
[ "sejhig2@gmail.com" ]
sejhig2@gmail.com
fa75ce1da65d8ed9d84e3960332c9f29f8de9a6c
e0417265aed5e429fb3f0cd50211837f4a81f1d7
/lpthw/part2/ex30.py
a2b739b22bb63e385fe5a3f1a0bd7a96aff2cfee
[]
no_license
zhikun-wang/python
a1e33ac3bc66f6d614e1585b351dc525b981b300
7bc378735a3df266f1f19f8bc133c962895fdc5d
refs/heads/master
2021-09-16T02:57:53.019655
2018-06-15T06:20:25
2018-06-15T06:20:25
137,447,898
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
people = 30 cars = 40 buses = 15 if cars > people: print("We should take the cars") elif cars < people: print("We should not take the cars") else: print("We can't decide")
[ "13840198958@163.com" ]
13840198958@163.com
702f3f07c0a94f208c0d253f043bdf66a04bb29c
4a02e0a33c13467886eef2f28de57fe6a2049035
/build/map_publisher/catkin_generated/pkg.installspace.context.pc.py
d40b252cc442a8ee9439e16bed23c7f632ce765f
[]
no_license
owalk/robotics
97d13d2c6e050a0efddbe64797f52983d9b4f230
d5a548602fa9d899259df096b7f08b1a9aa86cc6
refs/heads/master
2020-04-03T06:50:45.012191
2019-05-02T05:10:48
2019-05-02T05:10:48
155,085,652
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;nav_msgs;roscpp;rospy;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_N...
[ "oliverw56@gmail.com" ]
oliverw56@gmail.com
6caea2f51b42877a3115bdd21a4c55e74a5c4d26
a4a3e688d201fc22825d2de0a0db8af9f69b10f9
/SalesPredictions.py
6de2245c4884624e8694c3ed6d425c679ae90911
[]
no_license
calabaza91/python
a37c30838a9374f41481b840dade8853c6abe4aa
46c0607b66449956fb8cfda9632aa731b5fe040e
refs/heads/master
2020-03-24T16:02:53.247519
2019-01-30T20:24:07
2019-01-30T20:24:07
142,810,740
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#Sales Predictions sales = float(input('Enter total amount of annual sales: ')) profit = sales * 0.23 print('The expected profit for $', format(sales, ',.2f'), ' sales is $', format(profit, ',.2f'),'.', sep='')
[ "noreply@github.com" ]
calabaza91.noreply@github.com
69281bb1113a44fd7fe27e18f925b6f3a563de18
5ca635087e3375cfc4c4feb1b734f653c6af57a2
/post/api/serializers.py
82a48c4026cf9676d77bef198f838b45c687acef
[]
no_license
danindraihya/blog-app-django
ac56c28c591fb2125c67f7b8c61c1aa549a22025
7316f69b2b399467a6a5753cc3dac646c4d71ebe
refs/heads/master
2022-04-08T22:35:30.238054
2020-03-01T01:41:57
2020-03-01T01:41:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from rest_framework import serializers from post.models import Posts class BlogPostSerializer(serializers.ModelSerializer): class Meta: model = Posts fields = [ 'pk', 'title', 'content', 'slug', 'author', 'created_at' ...
[ "chan.tsubasa@gmail.com" ]
chan.tsubasa@gmail.com
df2f2fdbe213e6f993fee6bf44f55bc368791041
0b86530260d5b1d662706c3c7926bb639a54a551
/reload2.py
fe4a9cf19de465c5dbdc7d4d8fabdfd93a7f1a29
[]
no_license
super-rain/j2men-Calligraphy_recognition
94ea912c2bea3b82bb40a7c8d3204490f3ece90e
4b7316a83efc8e6d15012be533480eec3e847920
refs/heads/master
2023-03-19T11:32:32.959943
2019-04-15T08:15:50
2019-04-15T08:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
import tensorflow as tf import matplotlib.pyplot as plt import numpy as np import pandas as pd import loadImage3 as li import math import configparser tf.set_random_seed(1) np.random.seed(1) #new_data = pd.read_csv("j2mentest.csv") #new_data = new_data.values.astype(np.float32) #np.random.shuffle(new_dat...
[ "noreply@github.com" ]
super-rain.noreply@github.com
ceedfaf4246aef210a56011cac0306d565c3261e
3ed75498e41a16bde6481bde207c2bfd0f9bdb6c
/Screens/options.py
c7d446a26434301cb64e8959feb5acc2161b6c3a
[]
no_license
psheppard16/red-ball
09a59eb03f90f15b17030818ed5f611fe1631c5e
e9e01f464bacd8334dc79005b373065284a2bf29
refs/heads/master
2020-03-24T05:10:27.362476
2018-07-26T18:21:07
2018-07-26T18:21:07
142,477,407
0
0
null
null
null
null
UTF-8
Python
false
false
7,682
py
from tkinter import * from PIL import ImageTk class Options: def __init__(self, window): self.window = window self.parent = window self.root = window.root self.f = Frame(self.root, bg="blue", width=self.window.width, height=self.window.width) self.f.pack_propagate(0) ...
[ "noreply@github.com" ]
psheppard16.noreply@github.com
651ee9bca309558d6e2740ed558f20893319c3eb
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/datadog/list_monitor_monitored_resources.py
5a4cc26145dc22e9d977a6f38d8ce27006f8f3f4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,496
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
2b59d6771572cef86860be337e1b85cf152e707e
be0ffd9331435a106abfe2f4d9d984c56ad17896
/scratchpad/testrandom.py
a7aa20236de49cb8eb73cecd6e747fb86606750a
[]
no_license
peacej/random
fdc09cb880814826bb2d8362b9cb934923e5597b
0919dc00b5ba53dda4a71a6584f1df6b1c2594f2
refs/heads/master
2022-06-28T13:40:35.317421
2022-06-27T11:30:17
2022-06-27T11:30:17
71,959,030
4
1
null
null
null
null
UTF-8
Python
false
false
855
py
def HeapSort(A): def heapify(A): start = (len(A) - 2) // 2 while start >= 0: siftDown(A, start, len(A) - 1) start -= 1 def siftDown(A, start, end): root = start while root * 2 + 1 <= end: child = root * 2 + 1 if child + 1 <= end an...
[ "jerry.chi@supercell.com" ]
jerry.chi@supercell.com
4ffe1b31fbdc21fc2dec484ff36470b9ac842e0f
0d7bc965ec049e30d93d7f535fddcbcff8a85b04
/Python Programs/WhileLoop.py
c4d32e7f37d61dc4a7ed3f5024e97b0114f60b27
[]
no_license
NisAdkar/Python_progs
af3c044eb14512dec571a46b671db3299cd33769
a4e6f79989b8d126ac658bda3881e89be608743b
refs/heads/master
2020-05-21T09:25:15.000641
2019-05-14T17:39:53
2019-05-14T17:39:53
185,997,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
""" 1.While Loop Basics a.create a while loop that prints out a string 5 times (should not use a break statement) b.create a while loop that appends 1, 2, and 3 to an empty string and prints that string c.print the list you created in step 1.b. 2.while/else and break statements a.create a while loop that does the...
[ "nihe@kamui.com" ]
nihe@kamui.com
00b26a6e42625d2851b3a7fad0f97cf39f157e47
f9e33e870b1ac79fa8dcbe54ddcba4dbb4271e68
/ex16.py
fc767bf879db091f617b502eb99380a83d46a3b2
[]
no_license
mtaggart/LPTHW
26fce5ebd32c8a82a0f5f4a41dab2acf51ca6e0f
2fe99ee54fa3441095bc634aaf949d56e9d0de1e
refs/heads/master
2020-05-27T17:43:03.403652
2014-03-31T03:42:51
2014-03-31T03:42:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
from sys import argv script, filename = argv print "We're going to erase %r." % filename print "If you don't want that, hit CTRL-C (^C)." print "If you do want that, hit RETURN." raw_input("?") print "Opening the file..." target = open(filename, 'w') print "Truncating the file. Goodbye!" target.trunc...
[ "taggart.meredith@gmail.com" ]
taggart.meredith@gmail.com
d73265057596d25370ac4d7caa628013c175132b
6ee67adc87ac911af70a811be8517a4c80c86a1f
/Fizz_Buzz.py
e1bceaad2acce83e5bc65faa96a706e120376f49
[]
no_license
BingyuSong/my_practice
f085d3ef68ef393f619723add44870e84167754a
09dab5063f4fd078e1da95e67c2f29202d06aa87
refs/heads/master
2021-04-30T16:31:00.527753
2017-06-26T10:19:54
2017-06-26T10:19:54
80,067,555
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
class Solution(object): def fizzBuzz(self, n): ans = [str(i) for i in range(1,n+1)] three=[int(x) for x in ans if int(x)%3==0 and int(x)%15 != 0] five = [int(x) for x in ans if int(x)%5==0 and int(x)%15 != 0] fif = [int(x) for x in ans if int(x)%15==0] for i in three : ans[i-1]='Fizz' ...
[ "bsong11@hawk.iit.edu" ]
bsong11@hawk.iit.edu
7c8e78fcddeb16b75401b31f1b4ace369e75b5f7
2d8972c7746e4b3896b4d8981e7f4bd86f50b6d0
/music.py
db8b0f94971eac953f50ee5eaeacca087f69bd7f
[]
no_license
Jaideep25-tech/music
2703c1fc031e281dde00cc24310b69e1eacf44d8
f7b10ac8724d121db1678b6997d7c44ee6b4c6d2
refs/heads/main
2023-05-01T04:26:54.508360
2021-05-18T16:49:44
2021-05-18T16:49:44
368,603,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
import pygame import tkinter as tkr from tkinter.filedialog import askdirectory import os musicplayer = tkr.Tk() musicplayer.title("Jaideep's Music Player") musicplayer.geometry("450x350") directory = askdirectory() os.chdir(directory) songlist = os.listdir() playlist = tkr.Listbox(musicplayer, font ="Hel...
[ "noreply@github.com" ]
Jaideep25-tech.noreply@github.com
098398521b5a9a4384b96e07234e1092befff50a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2485/60781/283277.py
68623b6d1bce42badcf3c4185559f4ad8bbfa8ad
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
509
py
n=input() n1=input() str1=input() n2=input() str2=input() pan=0 if(str1=='act cat tac god dog' and str2=='acd cad dac'): print('2 3') print('3') pan=1 if(str1=='act cat tac god dog' and str2=='act cad dac'): print('2 3') print('1 2') pan=1 if(str1=='act cat tac god dog' and str2=='act cat dac'):...
[ "1069583789@qq.com" ]
1069583789@qq.com
075cf29c77fe892b1bb0e3f59a1474fc9c91a441
fbb33853cd9a42585d5c18042f23b5b3ec198f55
/NewsPaper/newsportal/newsportal/urls.py
ae0099fc35d59d71391f8271ff93580df0469fc3
[]
no_license
p-kharitonov/skillfactory
a2e04f5b459f245a18d23f8dfd8638d4b2bbbb41
19dbb46885407d728ee986b38a8c0378c6575986
refs/heads/main
2023-06-02T13:17:21.249102
2021-06-16T19:40:29
2021-06-16T19:40:29
341,186,884
2
1
null
null
null
null
UTF-8
Python
false
false
1,105
py
"""newsportal URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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-ba...
[ "workingpavel@mail.ru" ]
workingpavel@mail.ru
3a31ea34fc8ef7a5d162381f94bf8aceadcbb19d
9994859240f3fac317104a77d36ba721c73285d2
/obeliks/__init__.py
2c66596a696c3a0b2d6debc3666fef34e398481d
[ "MIT" ]
permissive
IgorTavcar/obeliks
cbb4e272a55da591dd4ebc6365232889bba29514
fc4de4c8d0a3f3d0419bfa5a4b066ae1ede19fca
refs/heads/master
2023-04-05T16:16:05.178822
2021-04-28T06:47:43
2021-04-28T06:47:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from . tokenizer import run
[ "mihael@sinkec.xyz" ]
mihael@sinkec.xyz
c54adcffed48b349ba34f9ec3a79c52ff80082c6
500d09656eb9e76a035c552604b0dfcd062232b7
/api/urls.py
3bd779e80e302bd9838842f57885ee8850883b59
[]
no_license
jen615/MovieRaterApi
ce5696ae4814e2b0cd1f26712088a1e41595e8c2
c715bd17f7b99bcd2ba1817ae54f7e5fac09fdd1
refs/heads/master
2023-02-17T22:40:13.757132
2021-01-21T17:02:04
2021-01-21T17:02:04
290,200,464
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from django.contrib import admin from django.urls import path, include from rest_framework import routers from api.views import MovieViewSet, RatingViewSet, UserViewSet router = routers.DefaultRouter() router.register('movies', MovieViewSet) router.register('ratings', RatingViewSet) router.register('users', UserViewS...
[ "xjenghisx@gmail.com" ]
xjenghisx@gmail.com
038d7b7b71e7e098de1a80f0ed5ba0f8260eefed
d5b8b5b5e5affb6fa210c3f377831c919f91a068
/eagles_app/models.py
a0d1c17ba2e3cacaf343107ae94dd28db9fb9c77
[]
no_license
Wealthysdot/eagles_diary
9051c071874e37ebdce5f24eee039ea50c77efaf
c1342eb47ab6cdd25dbb214d6e077c4eafc98534
refs/heads/main
2023-04-12T16:44:13.012296
2021-05-19T10:50:02
2021-05-19T10:50:02
368,613,602
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from django.db import models # Create your models here. class Entry(models.Model): entry_title = models.CharField(max_length=100) entry_body = models.TextField() entry_date = models.DateTimeField(auto_now_add=True) def __str__(self): return self.entry_title
[ "sobamboadedotun@gmail.com" ]
sobamboadedotun@gmail.com
4815537fa4f61378f31cfc81f04d8651a877ba0e
0b551b78c7a62e42d10e850151f507d754402ba4
/myproject/procedural/points_list.py
3f5b84a90f874ff374838d6ad8d92393f766ba24
[]
no_license
houahidi/python20191213
a92c9cf295d694d982015c8a2946c3580b183555
b474a92649782cf2698a22c52c3ef1315443d37a
refs/heads/master
2020-11-23T22:53:27.258488
2019-12-13T14:15:01
2019-12-13T14:15:01
227,853,915
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
""" gestion de points 2D avec les liste """ import math from commons import saisir_chiffre def init(abcisse=None, ordonnee= None): """ Initialisation d'un self PT1 = init(1,1) PT1 = init() """ if not abcisse: abcisse = saisir_chiffre("Saisir l'abcisse :") if not ordonnee: ...
[ "houahidi@uni-consulting.fr" ]
houahidi@uni-consulting.fr
ef96da5a275d11b8020f4dc685601d17b6e82455
bf9ddb7b476d0e885b5b9f7dca3c28ec50b20634
/user_api/admin.py
601d2a956aad64b8172b78ac6828b7120cf82cf8
[ "MIT" ]
permissive
hiroshi-higashiyama/simple_django_backend
7cd5ff1c82807a11f8a9ac0f8850f251eba73ec1
fda91fb1eef3c33ed9278d363643a3c4031533c7
refs/heads/main
2023-08-23T10:58:37.808450
2021-10-24T01:11:29
2021-10-24T01:11:29
417,671,578
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from django.contrib import admin from user_api import models admin.site.register(models.CustomUser)
[ "s20840011@gmail.com" ]
s20840011@gmail.com
6c5de9f5592062a0168e4ee9336b0a50daf29447
be70e130f53c7703f942057923577adf607687a6
/doc/tutorial_src/structure.py
7d4e22d6065ef0d0cdba907aa008094fa894a407
[ "BSD-3-Clause" ]
permissive
Dr-Moreb/biotite
4043eadb607e9ede13ce049ade554546ce58afe0
c34ccb7a7a7de923bf8a238944dfb7e1e635bb28
refs/heads/master
2020-04-01T19:02:08.086093
2018-10-10T16:01:45
2018-10-10T16:01:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,794
py
""" Going 3D - The Structure subpackage =================================== .. currentmodule:: biotite.structure :mod:`biotite.structure` is a *Biotite* subpackage for handling molecular structures. This subpackage enables efficient and easy handling of protein structure data by representing atom attributes in `Nu...
[ "patrick.kunzm@gmail.com" ]
patrick.kunzm@gmail.com
a94ba54bc954a10da1756816c996baa83cb69da6
0beabc95fb8d4d7dcaefd92d06d9947772baa7d1
/hello.py
ef29ac03ef0c9cb6dcb9548f19dbfbb1de79d917
[]
no_license
te25son/tim_teaches_git
6ae37728d3d3c300ecf38964228f76933925b866
f72bb412624ee7a03c844ff839e7080e62e02b37
refs/heads/master
2020-12-21T08:01:48.347439
2020-02-03T15:48:22
2020-02-03T15:48:22
236,367,091
0
0
null
2020-02-03T15:48:23
2020-01-26T19:50:57
Python
UTF-8
Python
false
false
195
py
def hello_world(): print("Hello world!") def hello_name(name): print(f"Hello, {name}!") def say_goodbye(): print("Goodbye.") if __name__ == "__main__": hello_name("Timmeh")
[ "timothy.eason@mewssystems.com" ]
timothy.eason@mewssystems.com
d0b1ebf2de17990600dada870e21dd121a1d11ee
eee9c21aca103bcc6df0f22464f952d7848a379c
/LinearSearch.py
f2a87671ae4cfaac0ca6d89351ab6adf99ca81ee
[]
no_license
RutuparnaJ/dv.pset
4d2d9f56919e98eb0c4f5ddab9ebcd539a8a5771
96c330ae0faf1e9c51c8ae7019485f40dde60912
refs/heads/master
2020-03-25T22:28:30.217221
2018-10-05T18:18:14
2018-10-05T18:18:14
144,225,214
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
#Linear Search arr = [1, 2, 5, 7, 10, 21, 27, 30, 41, 53, 61] i=0 count=0 search= int(input("Enter the number to be searched: ")) for i in range (0,10): if(search==arr[i]): count=1 print("Number found! Index = ", i) if count==0: print("Sorry, number not found")
[ "RutuparnaJ@users.noreply.github.com" ]
RutuparnaJ@users.noreply.github.com
ccb5b21ef9a1b87405656d3a5064c61f775ca7ce
45df8ceac3f4c6bafb31ecb036fce2eec84b079e
/tests/test_articulation.py
c95d7eb7a8e766b86e3d41390578f43eb7376566
[ "MIT" ]
permissive
jcvasquezc/DisVoice
edd6413e58c1e4e68069944b64340ef70aff0fcf
3d7a73633165e08bbb8c2e010f32fb2f3e08ce6d
refs/heads/master
2023-07-20T14:32:58.173752
2023-07-11T10:54:42
2023-07-11T10:54:42
99,439,013
294
76
MIT
2023-07-20T04:01:01
2017-08-05T17:53:13
Jupyter Notebook
UTF-8
Python
false
false
1,143
py
import os, sys PATH=os.path.dirname(os.path.realpath(__file__)) PATH_DISVOICE=os.path.dirname(os.path.realpath(__file__))+"/disvoice/" sys.path.append(PATH_DISVOICE) import disvoice.articulation.articulation as articulation def test_extract_articulation1(): feature_extractor=articulation.Articulation() file...
[ "jcvasquez@pratechgroup.com" ]
jcvasquez@pratechgroup.com
94b9c3aa89fb64df2c4d73294f73e881c80bb475
75ae022c12279b3381a2cb864398d69cf4cd88a7
/config/dispatch/admin.py
a067d1254fcb3401cbe863b6de3adf9fcbb9ef0c
[]
no_license
mrkp305/zisco
e29599da706c4d387a7acc5b599422369e7d81a1
455db93187f5ddcb6f69e16b2816421483c51940
refs/heads/master
2023-05-11T21:08:33.621224
2020-02-26T12:09:56
2020-02-26T12:09:56
243,253,656
0
0
null
2023-05-08T03:34:52
2020-02-26T12:08:57
JavaScript
UTF-8
Python
false
false
464
py
from django.urls import path, include from django.contrib import admin from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path("", admin.site.urls), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) if settings.DEBUG and "debug_t...
[ "percival.rapha@gmail.com" ]
percival.rapha@gmail.com
70432231e305666a21ca2c22db7f1668a36892ee
36e71375312d9a903c5a7815f036b7b49c1f7657
/CursoemVideo/Desafio012.py
90402a4e9fd8df66e8fe0e9f7e49c49a3c7aa151
[ "MIT" ]
permissive
iSouma/Curso-python
821d32e13745517582ed515b109dfa1f8c55fba5
47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0
refs/heads/master
2022-12-24T13:32:37.581319
2020-09-28T03:55:00
2020-09-28T03:55:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
# Faça um algorítimo que leia o preço de um produto, calcule e mostre seu novo preço com 5% de desconto. p = float(input('Preço do produto: ')) d = p*0.05 np = p-d print(f'O preço com desconto de 5%: {np:.2f} ')
[ "davii.silva64@gmail.com" ]
davii.silva64@gmail.com
4e5f578c248af8e339be1f41101fa501f339ff6b
8f5d74d0eccf95691bb30d13786334a2a4861b06
/fastai/mult_train2.py
59f6b25e09abdbba549c307f2d8b38b0cce61cf8
[ "MIT" ]
permissive
alex-treebeard/DeepLearning-AndroidMalware
36d3aae78b3bc00f42377e74c8bd12655b58e562
f63638d31f1c14abeec1e98ce4cd6c29cd7c8ea2
refs/heads/master
2022-10-13T16:35:32.782443
2020-06-11T11:48:45
2020-06-11T11:48:45
265,676,146
0
0
MIT
2020-05-20T20:12:14
2020-05-20T20:12:13
null
UTF-8
Python
false
false
3,701
py
#!/bin/python3 from fastai.tabular import * from fastai.metrics import Recall, Precision import pandas as pd import numpy as np from sklearn.model_selection import StratifiedKFold, train_test_split, StratifiedShuffleSplit from sklearn.preprocessing import LabelEncoder from sklearn.utils import shuffle print('Imports c...
[ "cpjohnson@mavs.coloradomesa.edu" ]
cpjohnson@mavs.coloradomesa.edu
dd95c9ed7664562737dcb221b7b445925e8e1f67
a98a1d4d66c8125384d4e2792d6df0b05d070f30
/semana3/ventor.py
6b03f0db2b241fc3c04b888a5e07424b21956992
[]
no_license
osvaldoc/misiontic
2ea1962f7f4d1fb196ef9f5d1f1899ee0b43516e
81d5e26ff24e76e19720af46640df81398549fb5
refs/heads/main
2023-06-07T04:15:25.064617
2021-07-03T16:14:37
2021-07-03T16:14:37
376,181,032
30
15
null
null
null
null
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- """ Created on Sat Jun 5 10:59:53 2021 @author: Osvaldo """ class Vector: ''' Esta fincion contruye un vector y recibe como parametros el vector y la cantidad ''' def construyeVector(V, n): V[0] = n for i in range(1, n + 1): V[i] = random....
[ "osvaldoc@gmail.com" ]
osvaldoc@gmail.com
6929edf559949c2d2a29bb046da7aecd0fd68ad2
9a76fe4ea554cc153e9a520d92cb673544f03a08
/scripts/python3/telapy/api/hermes.py
08bbe895209c8bfd29710e97830d7c631c93575b
[]
no_license
msecher/scripts_python_3_opentelemac_r14499
2262c92ac64c0cdf668b5a511eb26943362c300e
738e8e491e10bbbc3c21afe01221ed4661ce8a87
refs/heads/master
2021-04-07T00:16:48.090702
2020-03-19T23:40:03
2020-03-19T23:40:03
248,626,841
0
0
null
null
null
null
UTF-8
Python
false
false
34,054
py
# -*- coding: utf-8 -*- #TODO: Add more logger info """ Python wrapper to the Fortran APIs of module hermes of Telemac-Mascaret Author(s): Fabrice Zaoui, Yoann Audouin, Cedric Goeury, Renaud Barate Copyright EDF 2016 """ import sys import logging from os import path from utils.exceptions import TelemacExc...
[ "matthieu.secher@edf.fr" ]
matthieu.secher@edf.fr
43e87339944816164097fc0322bc688a97288b83
06cab719f4feb2143e8b1bd88b8c6bc9a3946dd4
/.local/share/Trash/files/locallibrary.7/locallibrary/catalog/urls.py
604e03dd862da2cdeb4a2bd953bfb8dcd0b3e355
[]
no_license
12172001/project
6f141e33987c91772aa469b49ca2d3037de09ed2
f6b775bba0cb7048b1bfe6bc8cefab363a1f0b84
refs/heads/master
2023-01-20T19:35:54.741635
2020-12-02T16:06:23
2020-12-02T16:06:23
304,893,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('books/', views.BookListView.as_view(), name='books'), path('book/<int:pk>', views.BookDetailView.as_view(), name='book-detail'), path('authors/', views.AuthorListView.as_view(), name='authors'),...
[ "aabdykhalykovaa17@gmail.com" ]
aabdykhalykovaa17@gmail.com
8209ccfb574e410bffde9d84ecf55530a08cb9d7
ad34fbdbbfcbfd369114bbc0e6c22e5b22d4daaf
/api/app.py
102896ac9f6610c65f30867a53c0e125d34540cf
[ "MIT" ]
permissive
SmartDuck9000/studnetwork-api
3dc5d74cff2232818f78fd87a0e1d0c431f217ac
2010e691ad189019451f3854c65f78a49d198383
refs/heads/main
2023-03-23T06:53:44.436664
2021-03-18T18:05:41
2021-03-18T18:05:41
349,163,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
from flask import Flask, request, jsonify, render_template from flask_cors import CORS, cross_origin import config from Controller import controller app = Flask(__name__) cors = CORS(app) app.config['CORS_HEADERS'] = 'Content-Type' @app.route('/<path:path>', methods=['GET']) @cross_origin() def index(path): retu...
[ "kulikovgeorgij000@gmail.com" ]
kulikovgeorgij000@gmail.com
55cfe9b2e4b5a093f061ee4a41bf46e27acbf4fe
72a67d78ebf3dfd6a87e62a57276af14fd8cefe5
/Python100/69.py
687537d57895200daa5258236a42d8f21018c05d
[]
no_license
yanghaotai/github
4af02a68ffa990fd0734ef49f747e9482a549337
8f915d0bead9a8f7cac460d88439bfbdc9c0bd44
refs/heads/master
2021-01-15T18:40:53.340017
2017-08-10T03:26:28
2017-08-10T03:26:28
99,797,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
#encoding:utf-8 ''' 【程序69】 题目:有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出    圈子,问最后留下的是原来第几号的那位。 1. 程序分析: 2.程序源代码: ''' # # def num(n): # # for i range(n): # # a = [] # for i in range(1,101): # a.append(i) # print a # # for i in range(len(a)-1,-1,-1): # # print a[i], # if a[i] % 3 == 0: # a.pop(i) ...
[ "yanghaotai@163.com" ]
yanghaotai@163.com
b0e9d4de32bf2c66d29501f41268cb68e06fb35f
baf9bbfdaa1bb3800d3e11a24c8660fe535b047c
/yaml_files_for_testing/clean.py
a923e02322af33b99169445e196be77217551d8a
[]
no_license
shivramsrivastava/kubernetes-1.10.4-kubemark
7d332a73ce7a4ec5d9aa611e109290ffeb1b3449
cfd2cf11e05a91f09c8eeb5649e826121f2fb891
refs/heads/master
2020-03-21T13:19:51.621074
2018-08-31T12:22:30
2018-08-31T12:22:30
138,600,188
1
2
null
null
null
null
UTF-8
Python
false
false
280
py
#! /usr/bin/python import os import commands print commands.getoutput("rm -rf ./normal_pods_rs") op = commands.getoutput("kubectl get rs") split = op.split("\n") split = split[1:] for line in split: cmd = "kubectl delete rs " + line.split(" ")[0] + " &" os.system( cmd )
[ "pratik.meher@huawei.com" ]
pratik.meher@huawei.com
ece457ce53b9f953aa5cf6acdcb37b7092256ded
17e5a0336a3e0e1c26be7cad8d53d461a1a214cf
/Individual/src/L2 Generalized Linear Regression Fitting.py
09b650115d7d519c7b92f38ced612993bc174ff8
[]
no_license
procrasprincess/Data-Mining-Projects
7e1e77e9b912a97bd111fe61dad1a4139cb24850
b49d9962b68da893e1999c8fa8a1b31cbacbac46
refs/heads/master
2022-12-16T22:25:27.824504
2020-09-21T16:27:58
2020-09-21T16:27:58
297,395,490
0
0
null
null
null
null
UTF-8
Python
false
false
12,259
py
#!/usr/bin/env python # coding: utf-8 # # L2 Generalized Linear Regression # In[137]: import pandas as pd from sklearn.linear_model import Ridge import matplotlib.pyplot as plt import numpy as np from sklearn.model_selection import KFold # import KFold from sklearn.model_selection import cross_val_score # In[138]...
[ "xiaowei.lin@outlook.com" ]
xiaowei.lin@outlook.com
934972f5760beb0edd9e95d67bf3a2b7d72ffd87
00541cccb98b8b075614daec61299f940c8bf4eb
/Array/min_steps.py
af75aff296188e080fff0193b9acf255444d907e
[]
no_license
prem0862/DSA-Problems
a6f2e29226be7e5c2492daec8b994f7f323ad346
7799a0e781307f819ce358a2382d0cfc454b0470
refs/heads/master
2020-06-05T03:31:03.134595
2019-09-12T07:01:42
2019-09-12T07:01:42
192,298,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
""" You are in an infinite 2D grid where you can move in any of the 8 directions : (x,y) to (x+1, y), (x - 1, y), (x, y+1), (x, y-1), (x-1, y-1), (x+1,y+1), (x-1,y+1), (x+1,y-1) You are given a sequence of points and the order in which you need to cover the points. ...
[ "premprakash0796@gmail.com" ]
premprakash0796@gmail.com
06041fdeaa8117e519bdcffd4405d5644d289d6b
0827acee84dc8266d4912f00d627a150ec91767e
/tonic/markups/w3cutil_test.py
911bec64cfba211e8452cf676449ddae60aeef79
[]
no_license
bgnori/tonic
6f6ec9a35df9b263051b1fc115957cce6eed2fb6
943d04ec5b18d5ac563ec4074eabb45a738b84af
refs/heads/master
2021-01-04T02:37:45.275063
2012-01-25T05:27:18
2012-01-25T05:27:18
218,084
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
#!/usr/bin/env python # -*- coding: us-ascii -*- # vim: syntax=python # # Copyright 2009 Noriyuki Hosaka bgnori@gmail.com # import StringIO import unittest from tonic.rlimit import Lock from tonic.markups.w3cutil import * MINIMAL = '''\ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or...
[ "bgnori@gmail.com" ]
bgnori@gmail.com
632a4da0b2257a8bc822123735759f9a8d0d93e7
c510f87006a2b095da5d4c78e5810f80a663d2f5
/src/sanajeh.py
cfb0471f241ca9f3275ba9effae1b55952d30168
[]
no_license
mfkiwl/Sanajeh
3c605d0acb9a723a02660152c1f7ce88b3150cf4
5eec8d7e1956fc37776d518e2b130b896a371b0b
refs/heads/master
2023-08-23T18:44:02.395620
2021-09-28T12:45:49
2021-09-28T12:45:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,043
py
import os, sys import py2cpp import cffi import random from typing import Callable from expander import RuntimeExpander ffi = cffi.FFI() cpu_flag = False objects = None class PyCompiler: file_path: str = "" file_name: str = "" dir_path: str = "" #cpp_code: str = "" #hpp_code: str = "" ...
[ "luthfanlubis@gmail.com" ]
luthfanlubis@gmail.com
1ff366321883f01604c9c3806e365b8ca4dba437
f40f3bad1c3fd12d5cd9f35f31ed13744f53f558
/completed_exercises/07_files/task_7_2b.py
492c47843710a04a22b55272408bb973c3aaf751
[]
no_license
Ordauq/Learning_PyNEng
d8396897a31bd3bac22ab0b39a7ec4748db93219
743c789e1a483843e312c2df24bcbb3b20a202b9
refs/heads/master
2020-06-25T22:31:19.900664
2019-11-05T12:37:25
2019-11-05T12:37:25
199,440,771
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
# -*- coding: utf-8 -*- ''' Задание 7.2b Дополнить скрипт из задания 7.2a: * вместо вывода на стандартный поток вывода, скрипт должен записать полученные строки в файл config_sw1_cleared.txt При этом, должны быть отфильтрованы строки, которые содержатся в списке ignore. Строки, которые начинаются на '!' отфильтровы...
[ "quadro.public@gmail.com" ]
quadro.public@gmail.com
c90d442129aeee3420c883009e9e8c28d99e270f
01552dc88e7c170de857f5ff0b52178326d5f003
/guild/source_cmd_support.py
bc43a57aba385e229a9c363801257dabca29c1cf
[ "Apache-2.0" ]
permissive
guildai/_guild-python-legacy
b8516f38b3dd4f27859850ec07fe9c4747f4fd8b
e552eff820d8edcfeb10b26bd5c8651548507b4a
refs/heads/master
2021-01-01T15:52:35.875726
2017-09-27T18:58:59
2017-09-27T18:58:59
97,719,256
0
0
Apache-2.0
2018-10-20T23:44:54
2017-07-19T13:28:21
HTML
UTF-8
Python
false
false
959
py
import guild.cli import guild.source def resolve_one_package(spec): try: return guild.source.resolve_one_package(spec) except guild.source.MultiplePackagesError as e: _multiple_matches_error(e.spec, e.pkgs) except guild.source.NoSuchPackageError as e: _no_such_package_error(e.spec) ...
[ "g@rre.tt" ]
g@rre.tt
6b09fcdf4b449d1fe4a6fa22f5b675e5eecbad56
b15c47a45207e854fb002d69f7e33f8943a5e2b3
/master/automl/automl.py
a4b95f1e457acd30b9cb54f532ae96d541855309
[ "Apache-2.0" ]
permissive
yurimkoo/tensormsa
e1af71c00a6b2ec3b3ed35d5adad7bafc34c6fbe
6ad2fbc7384e4dbe7e3e63bdb44c8ce0387f4b7f
refs/heads/master
2021-07-22T13:41:45.110348
2017-11-02T07:13:31
2017-11-02T07:13:31
109,469,204
1
0
null
2017-11-04T05:19:51
2017-11-04T05:19:50
null
UTF-8
Python
false
false
4,224
py
from common.utils import * from master import models class AutoMlCommon: """ Auto ML related conf get/set common methos """ def __init__(self, key = None): """ init key variable :param key: :return: """ if (key is not None): self.key = key ...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
7d6bedf9372f04540ea6cb5a54655c16a25cbdc5
461d7bf019b9c7a90d15b3de05891291539933c9
/tests/test_base58_xmr.py
d7eb1b6a45c135a9ab693dd8cc59cba27f5bc7ec
[ "MIT" ]
permissive
renauddahou/bip_utils
5c21503c82644b57ddf56735841a21b6306a95fc
b04f9ef493a5b57983412c0ce460a9ca05ee1f50
refs/heads/master
2023-07-16T05:08:45.042084
2021-08-19T09:33:03
2021-08-19T09:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,044
py
# Copyright (c) 2021 Emanuele Bellocchia # # 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 the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish,...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
6827efccb4c9dab41417fc8752d7d589681e8dde
c5656cd9a5e572d308ffc168d7162312b83c0998
/task/views.py
a0edcac2591b326a17ab24ef1e0d9fac9c771027
[]
no_license
rockdong/stock_task
fb3cc7b77d52e3a29d31843e7ff4dfb4511951d1
19219b32e9c40c8aba2e10cec9c21f73764382fd
refs/heads/master
2021-01-19T19:12:51.192613
2017-04-16T10:10:55
2017-04-16T10:10:55
88,405,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#_*_coding:utf-8_*_ from django.shortcuts import HttpResponse from django.views.generic import View import json import tushare as ts from stock.models import Stock # Create your views here. class UpdateStockView(View): ''' 更新数据库,如果有新的股票信息就更新。 ''' def get(self, request): stocks = ts.get...
[ "rockdong@1234567.local" ]
rockdong@1234567.local