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
9d3880f5ae6f97d5fc70725583b7dc21572c38a8
269cafa0cc801b5618e1e7fd12f4cf789954641d
/examples/webserver/webserver/__main__.py
ea3e02588264137b0a0cd42729fac22d0433026b
[]
no_license
thomas9911/imgopt_python
d9a960574c2c568c2c50eaa7da6a06d96c45b62b
1e79ffebdd7a3fc38b5125fb91fe6328f1a20aa0
refs/heads/main
2023-08-14T10:35:31.502341
2021-10-03T18:45:57
2021-10-03T18:45:57
408,884,358
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from . import * if __name__ == "__main__": app = new_app() app.run(port="5050", debug=True)
[ "thomastimmer11@hotmail.com" ]
thomastimmer11@hotmail.com
8d7745e480a92e97c24b07fc2907b767738180e7
cf2cc8ebb75e82b8213b2dd11b2e164bfd1e63ec
/core/views.py
f8fe903263dcb7bb9f8594bf83e171c1ab17659f
[]
no_license
georgeo23/studiofy_django
7bbb17c9d050facfdc3df9a47375f0db8615f1a7
f65e9960032f42091a36d016692d5c3e4efbbf63
refs/heads/master
2023-01-01T05:43:52.906515
2020-10-22T16:30:17
2020-10-22T16:30:17
306,407,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
from django.shortcuts import render from django.http import HttpResponseRedirect from django.contrib.auth.models import User from rest_framework import permissions, status from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework.views import APIView from .serialize...
[ "olney.george@yahoo.co.uk" ]
olney.george@yahoo.co.uk
ac8ee928a460f0fa7d5ff0f0b67f71c93afe2006
ee58efb5a0df28a0c40c1bede8721e68c9e9feaa
/Flask_Server/send_sms.py
620129996d62011513ba4f5fa3886736f2c143ba
[]
no_license
jordanleex13/QHacks2017
3ba2d5508e4b90f0a9ba4873ca12759537d9b9c0
842bd717225e9617ef44ad6cc38eba92391b3ab9
refs/heads/master
2021-01-09T06:24:56.972058
2017-02-05T13:45:44
2017-02-05T13:45:44
80,984,665
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from twilio.rest import TwilioRestClient # put your own credentials here ACCOUNT_SID = "ACeab64fc8375c9d2de92a3553f84db779" AUTH_TOKEN = "8a85c6f838a7713cd193fca07506e377" client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN) def send_sms(message): client.messages.create( to="+16048121916", from_= "...
[ "jordandlee@hotmail.ca" ]
jordandlee@hotmail.ca
eadc2b09f977f090342d4d38798f41a2b519990a
14b115c1ac1f7e33b08775c693cd7797a187818d
/scripts/common.py
7bd15b6e9147b43278c0b5fe89efb569cfe0401f
[ "Apache-2.0" ]
permissive
samking/code-the-change-projects
56c3ef65a467a6983f536aab72d1f46682391092
b722927f86a143c37ee76b41a8fea050467b1e32
refs/heads/master
2020-12-24T14:09:44.431342
2014-08-31T23:17:57
2014-08-31T23:17:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,838
py
"""Common utilities for scripts.""" import os import sys # The path, relative to the Google Cloud SDK directory, where the app engine # library lives. APP_ENGINE_API_PATH = 'platform/google_appengine/' def get_project_dir(): """Returns the directory of the project containing this script.""" # The parent of...
[ "sam@samking.org" ]
sam@samking.org
4635926ddd7271439918611c2c72b96f21a74d7e
1d59a8c8c1cb550a9c340782174be862efcb0bc5
/schunk_gripper_communication/bin/servo_control.py
4d57e0f40a625b7d1ae852267c888cea910a4186
[ "BSD-3-Clause" ]
permissive
JShep1/schunk_lwa4p
27b4e3bdf3cd374da26076beca51ba378ff3ab07
8945dbe69fd2a43670689ddbdfac84918892a81e
refs/heads/master
2018-06-05T05:26:25.633722
2018-05-25T17:26:25
2018-05-25T17:26:25
118,279,477
5
2
null
null
null
null
UTF-8
Python
false
false
535
py
#Example: "python servo_control 7" to close import Adafruit_BBIO.PWM as PWM import sys servoPin = "P8_13" def servo_control(a): PWM.start(servoPin, 10.7,50) #while(1): dutyCycle=a if dutyCycle >= 6.8 and dutyCycle <= 10.7: PWM.set_duty_cycle(servoPin,dutyCycle) ...
[ "johnshepherd96@yahoo.com" ]
johnshepherd96@yahoo.com
88ab2b28ac971e6554f3b86a62a8480cbc82b7cf
040e48f97e5b004a96be27c0f8a7b8b22e1e4ae9
/jd_yagmail.py
9ed956c350abe3108d00a3a3c70ddb42c9a5ff36
[ "MIT" ]
permissive
tlqtangok/perl_p
c283a5871d452577f4caae13cc7a25104c0a1511
55f07da7c0a058c308d94835e80e69d2844d7d18
refs/heads/master
2023-06-08T16:36:31.182326
2023-05-30T09:49:56
2023-05-30T09:49:56
87,253,791
0
1
null
null
null
null
UTF-8
Python
false
false
2,747
py
import yagmail import sys from pathlib import Path import re # pip3 install yagmail def s_(id_text, pat_old, pat_new): return re.sub(pat_old, pat_new, id_text) def get_subject(content_text): list_ret = [] for i in content_text: if i!="\n": list_ret.append(i) return...
[ "tlqtangok@126.com" ]
tlqtangok@126.com
b9d694917f4e92d2821dde5c835d3695d99aafd0
7c1f47ca30540b988514b50d85cc0b1389571934
/baseline_models.py
7e0ddc2a937b3f05aac8e0ac1cd408498f8afb1b
[]
no_license
GreenWizard2015/HW_18_MNIST-solver
03af68c7c8476bbd24e0890fd25cc60d795b9d3f
ec9a181a7b3b98903c390a0fcb1f28421c4b69c7
refs/heads/main
2023-04-15T04:27:34.982422
2021-05-05T19:34:19
2021-05-05T19:34:19
363,651,984
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
2,170
py
from tensorflow.keras import Sequential from tensorflow.keras.layers import Dense, Flatten, Activation, Dropout from tensorflow.keras.optimizers import SGD, RMSprop def baselineModels(): return { 'V1': baselineV1, 'V2': baselineV2, 'V3': baselineV3, 'V4': baselineV4, } def baselineV1(shape=(28, 28...
[ "sizeof.2011@gmail.com" ]
sizeof.2011@gmail.com
04822f97c9761256155a3022915cb96421790c40
1ddd88a66c7c07c7d6383bf40eb18c969f87226a
/apps/xfzauth/urls.py
9b3a8b1dd028b07937885365d71131b7dd4da5ff
[]
no_license
syb666/mysite
35da57805d9ae05584f066663f23238f520bc283
0128289cfc3b6d2d99fc3b058a3a0b2a489b5376
refs/heads/master
2020-04-24T23:30:00.368424
2019-04-20T09:33:06
2019-04-20T09:33:06
172,346,460
1
0
null
null
null
null
UTF-8
Python
false
false
516
py
# -*- coding: utf-8 -*- from django.urls import path from . import views app_name='xfzauth' urlpatterns = [ path('login/',views.login_view,name='login'), path('logout/',views.logout_view,name='logout'), path('img_captcha/',views.img_captcha,name='img_captcha'), path('sms_captcha/',views.sms_captcha,name...
[ "39624492+syb666@users.noreply.github.com" ]
39624492+syb666@users.noreply.github.com
d69e0d5d5c948654c62078c37ad224b92b3831df
237591a18170e6a9850eb0becf85dfa23d7f8878
/blog/admin.py
023ef8273d193b59284fe18e0e6e80f9014c5c39
[]
no_license
StefSmlk/russia_with_yulyasha
de8a854ef918fa6044c278494a1402dbaecfd790
282dfc54b2a91e5a4097c9de0fb07a296e5bdf45
refs/heads/master
2023-06-27T03:43:20.603267
2021-07-26T13:49:57
2021-07-26T13:49:57
381,413,882
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.contrib import admin from blog.models import BlogModel admin.site.register(BlogModel)
[ "gsstteeff7777@gmail.com" ]
gsstteeff7777@gmail.com
559b9fee8d9641ed8d59e412f107768413313943
a8326da8989e3f70e27c3cc06ede44c2164b4f66
/question5_bst_balance_not.py
4a2a1db73c0b8b0d1d55f479ceb9df6484c1becb
[]
no_license
awaking33633/algorithm
d2cf70476d6b57bfb0568df58c3788846222345d
a387bd94bdcc8d9ffc53d88e1494761b054673a8
refs/heads/master
2021-03-01T21:55:09.596623
2017-04-13T22:15:50
2017-04-13T22:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# -*- coding: utf-8 -*- ''' Leetcode (Python): Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. Solution:''' # Definition for a bi...
[ "noreply@github.com" ]
noreply@github.com
45728b5ac6694d187009cdbb0893ba43526df2f6
d3a9021c1c67c9d5d0ee14333bb882a9be519f90
/python/python_essential_training/Chap15/jurl/jurl.py
249a8cb97dd8f99fc21f9718c1bfec5ec9eb8507
[]
no_license
elandt/devTools
9594f9e830ad40e2da549d5aee8fbe5bdc4f0222
e90f0ad83ad32ef4e6b26e46a0b28e05bc9b3bc3
refs/heads/main
2023-08-08T00:14:34.830348
2023-07-25T21:43:18
2023-07-25T21:43:18
205,256,237
0
0
null
2023-07-25T21:43:19
2019-08-29T21:52:24
Java
UTF-8
Python
false
false
1,461
py
#!/usr/bin/env python3 # # jurl.py by Bill Weinman <http://bw.org/contact/> # Jump to URL (a private short URL service) # Copyright (c) 2010-2017 The BearHeart Group, LLC # created 2017-03-10 # updated 2017-09-29 # from bwCGI import bwCGI from bwDB import bwDB from bwConfig import configFile # import random import os ...
[ "elandtdevelops@gmail.com" ]
elandtdevelops@gmail.com
441485fe07e5c25ae8576dd856ccf28e30650cab
161d39cbdea7792ce1b155aeb912a63884f02868
/venv/bin/django-admin.py
1f3e6921b915265cec83d7930eec54dfb83a698c
[]
no_license
Biphyl/InstaClone
b824d442935cda9cc2796d4a205955bd7cf8e18c
03c582bf58ffe5dca15e96f84bcb21c507340b51
refs/heads/master
2022-10-06T04:51:12.617979
2020-06-09T07:09:25
2020-06-09T07:09:25
270,662,503
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
#!/home/biron/Documents/InstaClone/venv/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "bironodhiambo00@gmail.com" ]
bironodhiambo00@gmail.com
20ffceda05359bfcbba9fdf62ef548260b1a172b
153e7e57895392fea52920f0b85fa2d6f504e1a1
/env/bin/django-admin
d0609d6b05631ce54c1eeac6563f3f511652e7f7
[]
no_license
AsmaaHassan/Django-Scrapy
1d192409262c14fd2284b632d330fb16f7c82f6f
db3e01517714e22aa386a9544ad7333ca580057b
refs/heads/master
2022-12-11T08:30:13.323268
2018-11-19T08:23:44
2018-11-19T08:23:44
157,109,206
0
0
null
2022-12-08T01:17:20
2018-11-11T18:38:39
Python
UTF-8
Python
false
false
304
#!/home/asmaa/Desktop/Asmaa/Work/scrapy/env/bin/python3 # -*- 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())
[ "asmaa.hassan@smart-medicalservices.com" ]
asmaa.hassan@smart-medicalservices.com
ad8091b0c2d44c57d12dfe6169b060cf5246631e
118e0650961bad7249b479926d9f71f0d873357b
/umtk/image/io.py
ea21f24c1bc360c85ebcc197a78ed063fb96a6a5
[ "Apache-2.0" ]
permissive
lemon126/umtk
7582645511fcc2095de2826a40871138ff03cbc3
746ed8421b0558447cd01756388153fa1277b07e
refs/heads/master
2023-01-21T09:16:29.208503
2020-11-28T03:17:43
2020-11-28T03:18:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
import os from pathlib import Path from typing import Any, Dict, Union import numpy as np import SimpleITK import umtk.error_handling as exc def _get_file_title(path: Union[str, Path]): file_title = os.path.splitext(os.path.basename(path))[0] if path.endswith(".nii.gz"): return os.path.splitext(file_t...
[ "kyle0x54@163.com" ]
kyle0x54@163.com
4e65a90fab57db8ac3dab6629762d4e6f4f7d1d7
9691a645c1e3b0c10f6aad100a1ce9ed00dde530
/sfotipy/artists/admin.py
d8ad7e6c003b341db2c14f4b82acc35e7571b2c1
[]
no_license
isaacBats/Sfoti.py-BackendPro_byPlatzi
4eef35b36554318b511b11fa31473f9d359eb635
045d5bb091eded791000b5059c2493df9427e369
refs/heads/master
2021-01-18T14:05:17.407391
2015-03-25T06:54:38
2015-03-25T06:54:38
32,138,241
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from django.contrib import admin from .models import Artist from tracks.models import Track from albums.models import Album # Register your models here. class TrackInLine(admin.StackedInline): model = Track extra = 1 class AlbumInline (admin.StackedInline): model = Album extra = 1 class ArtistAdmin(admin.ModelAd...
[ "disa.indus@gmail.com" ]
disa.indus@gmail.com
8b4246df4e9e8bb970c0809d972016ef7188b9f1
b8d7c4e3476aae5c3bba7ffa28311f84fda5af9e
/main/apps/cart/views.py
0c406e7f828ea18dc57dda560f00ccd7024a78e5
[]
no_license
zhongzhiqiang/hotel-api
1744b8ecb63c4626f7a90f6f04f073aab052b312
25703713d0e8ab2314e07e983b98506a3551e762
refs/heads/master
2020-03-26T08:53:06.776003
2019-01-20T09:23:39
2019-01-20T09:23:39
144,724,134
0
0
null
2018-10-12T13:29:20
2018-08-14T13:28:51
Python
UTF-8
Python
false
false
2,081
py
# coding:utf-8 # Time : 2018/10/15 下午10:47 # Author : Zhongzq # Site : # File : views.py # Software: PyCharm from __future__ import unicode_literals from rest_framework import mixins, viewsets, status from rest_framework.response import Response from rest_framework.decorators import list_route from main.ap...
[ "200730249@qq.com" ]
200730249@qq.com
80bada6587002b0f7ccc3a46de8e88e2591be5c0
e2cec79eae0981a3a07f4131a9b3e018b5fdc261
/realtime_object_detection.py
f09747d77f0841e0d9203299a454895a2485919d
[]
no_license
leoprananta/realtime-object-detection
ad05c4a157d5750b8471f8d3592d39c4f91516a0
bbb57072a57671a0a508999a7a5999c204704fea
refs/heads/master
2022-11-30T05:59:07.431882
2020-08-03T08:44:19
2020-08-03T08:44:19
284,646,271
0
0
null
null
null
null
UTF-8
Python
false
false
3,502
py
# import packages # jika ada error ModuleNotFoundError: No module named 'imutils' dan 'cv2', maka instal melalui pip install opencv-python dan pip install imutils from imutils.video import VideoStream from imutils.video import FPS import numpy as np import argparse import imutils import time import cv2 # argument con...
[ "noreply@github.com" ]
noreply@github.com
de499b1d1ee6eebeb74c84cbf98ec9a1e9bfa0ad
84bd24e7aba23c7775f52d51c754f14601e28b61
/cars/migrations/0015_auto_20201222_0911.py
53cd0970e12348b27aef4a29fb5a55ef15ccf7ed
[]
no_license
hamzaumar8/sandvet
c0ad473e8f2f97d1c5bf5104e034e731ac0a0add
7f02d24f1b50cd4f64beff618b6d9c508b7a42d4
refs/heads/master
2023-02-18T01:28:25.252360
2021-01-18T19:26:39
2021-01-18T19:26:39
310,844,181
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# Generated by Django 3.0.6 on 2020-12-22 01:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cars', '0014_auto_20201222_0911'), ] operations = [ migrations.AlterField( model_name='schoolim...
[ "humar6078@gmail.com" ]
humar6078@gmail.com
b68873477cb846ff0b1920cbec4a5871df5a40d7
d9f15ed4fc96d84da2f3ce58ed3ae813cf556cc1
/xpisign/api.py
7fa0d73784f65076341f0db2f4bc3173884aa07f
[]
no_license
Ayrico/xpisign.py
16af5d32544841fb5efc0f43c850d2377c6c041e
89e6bd1c7b0daba5574edba1fd465e202c6861e9
refs/heads/master
2021-01-18T06:03:15.723460
2012-05-07T17:36:52
2012-05-07T17:36:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,363
py
#!/usr/bin/env python """ XP-Install (xpi) code signing. Module Usage: xpisign("addon.xpi", "cert.pem", "addon.signed.xpi") open("addon.signed.xpi", "wb").write( xpisign("addon.xpi", "cert.pem").read() ) with open("addon.xpi", "wb") as ifp: with open("addon.signed.xpi") ofp: ...
[ "maierman@web.de" ]
maierman@web.de
9b3c584d4821a9e4c379d1be5fe57de5e8495f17
b23679e038e8927393fa055819c682b9a68e9e02
/tglc/__init__.py
19e161e60bf92dd9aafe59f57323c6c298da5ac7
[ "MIT" ]
permissive
pont-us/tglc
355186006ac99fba87c9f80c861c40969fa4293e
7f0e0ea549f3362fea8466dacb930ad284590dac
refs/heads/main
2023-01-28T07:27:30.963314
2020-12-05T14:37:44
2020-12-05T14:37:44
318,775,559
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
from .tglc import *
[ "pont@talvi.net" ]
pont@talvi.net
7baaebbe73463875e71e30b4f5ef2fdee3403dba
e3e7498794fd1874bbaf33c78511145c3f18dc76
/contract_management_app/contracts/migrations/0001_initial.py
e0bf88993663fde4d8a644b17a580149612ae936
[]
no_license
2Cheetah/Contracts_app
d45454d2dcb0262ea6b35d46a186fd460bba9a32
3e22bb6142b07b039c2c24725b21461d7e8175e4
refs/heads/master
2021-01-08T08:48:49.009407
2020-02-24T18:25:41
2020-02-24T18:25:41
241,975,815
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# Generated by Django 3.0.3 on 2020-02-21 18:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "fckninja@gmail.com" ]
fckninja@gmail.com
f825a44ca2f8569444a0bb8ff1c09627ae626fe2
1343ae32d27f65b8ce392723590c08b26a489e5b
/proyecto_cnn_v3.py
b54dc7c8a819b6d31d342b8264f17e1023411c71
[]
no_license
lcam21/patrones_disenio_proyecto
54999c0f1bafaad8b847179653f2b58b59c404d8
4374c983551b6f4220e418ed0aa7eccbe1081fca
refs/heads/master
2022-12-03T01:51:36.094163
2019-08-27T04:11:33
2019-08-27T04:11:33
202,960,648
1
1
null
2022-11-24T22:43:21
2019-08-18T04:44:03
Jupyter Notebook
UTF-8
Python
false
false
5,830
py
import pickle import helper import tensorflow as tf import numpy as np import sklearn.preprocessing import sklearn.metrics def cnn_model_fn(features, keep_prob): # CCN variables conv_ksize = [5, 5] pool_ksize = [2,2] pool_strides = 2 num_outputs = 128 n_nodes = 7 * 7 * 36 dropout_rate = 0.3 ...
[ "noreply@github.com" ]
noreply@github.com
b0b6d7c78dcd663de9457763a254a05e716fbf81
dbef69201e2e3507564cde5dfc817cd966eb2a45
/backend/utils.py
30b217162a19ef0eae01f30c6df8277f47b69b5b
[]
no_license
Hackovit79/backend
086acc1fc901a0c0d6270388efa6630861d09aa3
45038d817c77f91494df64b5d3f30b42df390242
refs/heads/master
2021-05-26T21:58:14.814794
2020-04-12T20:21:11
2020-04-12T20:21:11
254,171,565
0
0
null
2020-04-11T19:09:59
2020-04-08T18:42:05
Python
UTF-8
Python
false
false
163
py
from guillotina.response import Response import json def json_response(status, body): return Response(body=json.dumps(body).encode("utf-8"), status=status)
[ "noreply@github.com" ]
noreply@github.com
7bb0d61592e0259113f0e1adfc6c01a29b3171e3
2b611bcb738b202f0cca7dd31e3fe89e119bb51c
/Law2.py
30e4362e7484f0a38722f77bcadb44af0aa4c3c0
[]
no_license
josiahbrooks21/ciss441
6faf1e75822d8612b440d103ab7d71dea7d1c5fb
6d07132ba6166dfd9b946342a267ebda224735dc
refs/heads/master
2021-05-13T19:26:21.232324
2018-03-21T00:22:18
2018-03-21T00:22:18
116,893,178
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from bs4 import BeautifulSoup import requests fname, purl = 'slk_law','https://en.wikipedia.org/wiki/Rich_Wilkerson_Jr.' res = requests.get(purl) webcontent = res.text with open(fname + '.txt', encoding='utf-8', mode='w') as fo: fo.write(webcontent) soup = BeautifulSoup(webcontent, "html.parser") print('\...
[ "noreply@github.com" ]
noreply@github.com
1389651ed9302bbd24030b7f324740c182a7242f
d4d6a3ab6cce1ce30270f4c92c2acbe884a0ab5b
/newcoder_offer/print_min_number.py
1b9f51136f4816c48a8382400c0b81233654d4af
[]
no_license
EarthChen/LeetCode_Record
e2e9d1a1460866afb85d3fdd115e082ab0ab3f5c
c756fe54e8e17e9ba0bfdab5fccc24ac89263d90
refs/heads/master
2021-01-06T20:36:30.075203
2018-05-27T04:34:06
2018-05-27T04:34:06
99,530,378
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
# 输入一个正整数数组,把数组里所有数字拼接起来排成一个数, # 打印能拼接出的所有数字中最小的一个。例如输入数组{3,32,321}, # 则打印出这三个数字能排成的最小数字为321323。 import itertools class Solution: def PrintMinNumber(self, numbers): # write code here if not numbers: return '' numbers = map(str, numbers) # 全排列去重转列表排序取最小值 res = ...
[ "1791538609@qq.com" ]
1791538609@qq.com
1b654ebcd2c2d25f671999f1338f7ee86d15e4a5
de3202e62598eb3e165b4b3930835d2e5dab3b2b
/build/catkin_generated/order_packages.py
83acbc032f197d1fe9452c293e04972016a34b91
[]
no_license
tehnanmanna/Project_5_Home_Service_Robot
dbe6830f080b51dafc3fd49fe5fa2e55beca6461
a76bdb9fa0a96f335c8ac4c5715710915583deb5
refs/heads/master
2022-11-14T23:44:34.681221
2020-07-13T14:53:46
2020-07-13T14:53:46
278,884,784
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/tehnanmanna/Project_5/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/tehnanmanna/Project_5/devel;/home/tehnanmanna/catkin_ws/d...
[ "tahnanmanna@gmail.com" ]
tahnanmanna@gmail.com
eb203f331f71efebb29ec76a81bf0313ff3dae36
225cc869e8ed7b70751f25b66e54d6072525268b
/bootstrap_comp/wsgi.py
b581a5e02071754b8515cf0281135eb4339b8288
[]
no_license
benhigh22/bootstrap_comp
978f0128ef7a386714d0f274387dfc94e92c714e
582f8bd64f93fc5f6ced2a40662e206bf4dbc61c
refs/heads/master
2021-01-10T14:06:53.770955
2016-02-25T01:32:22
2016-02-25T01:32:22
52,463,071
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for bootstrap_comp 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
[ "benjaming.high@gmail.com" ]
benjaming.high@gmail.com
e64c699df93ca5619fa36bd10f267b0786259b19
b6b28e1588050597366907223bfcb71464d76734
/lr/minibatch_sgd/data_process/read_data.py
8f8d526e7b6cb9a6d1cef6757b7a8cac94cc8fb5
[ "MIT" ]
permissive
DiracSea/project-sxl
ea8af63643a2547493c32c83dc297180c072bd01
f458bec818d55f80a5eda461316a22d843fef753
refs/heads/master
2020-03-10T04:08:42.466142
2018-05-20T05:03:13
2018-05-20T05:03:13
129,184,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
import numpy as np import random from .db import * from .tool.combine import first_stack from .tool.sperate import split_num #all array def read_rand_data(batchsize,table,db):#yield batch rand = conn_rand(db,table,'112.74.45.185',3306,'root','opal123456!@#')### counter = 0 size = 0 train_num, valid...
[ "sulz@mail.sustc.edu.cn" ]
sulz@mail.sustc.edu.cn
a807a1a843bf88cf36512e099d3aaca3261e2f3e
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/main_20171106232335.py
96c596fc3fcc185c546af76e74da5916cad83166
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,056
py
# DADSA - Assignment 1 # Reece Benson import random from classes import Menu as Menu from classes import Handler as Handler class App(): # Define the variables we will be using debug = True handler = None # Define all of the properties we will need to use def __init__(self): # Load our ha...
[ "me@reecebenson.me" ]
me@reecebenson.me
d8ef0eed037453e571a64310ee22c0bf436b8d52
a91feb3f7d4d4c9bacff274b48249a163d4c0773
/Django_venv/bin/pip2.7
809caaa762eab4deb8c901920b700c52e36174f0
[]
no_license
GuanqiaoW/Django
fb0ec1801cd34f68da36124d90828fa617add7e1
9ac47982ba02d6cf057d5f95a3d4e74b8d245e31
refs/heads/master
2021-01-09T20:21:24.898985
2016-07-16T13:18:45
2016-07-16T13:18:45
61,766,035
0
0
null
null
null
null
UTF-8
Python
false
false
239
7
#!/Users/guanqiaowang/Desktop/Django_venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "neilwang911@gmail.com" ]
neilwang911@gmail.com
61b7547ed5510ee1d2ee0d78be17f4572f61d01e
1d717c797e93b451f7da7c810a0fb4075b1050d5
/src/preprocessors/naive_preprocessor.py
246a888db14a6870701bf64b6726d191337ee985
[]
no_license
jessie0624/nlp-task
32338b08051a3ea192db2bf74c9c969bdff1f6ad
aaeeed86341356d9fd061664f6f7bccf2ac353d0
refs/heads/master
2023-01-24T12:06:13.323646
2020-12-10T08:38:23
2020-12-10T08:38:23
292,151,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
''' @description: 最简单的预处理 ''' import pandas as pd from tqdm import tqdm from src.base import BasePreprocessor, units from src.preprocessors import apply_on_df_columns from src.tools.build_unit import build_vocab_unit, chain_transform tqdm.pandas() class NaivePreprocessor(BasePreprocessor): """Define Naive prepr...
[ "jessie_lijie@126.com" ]
jessie_lijie@126.com
9661c0b6a486308bbd7bfcb7a762c8cb3fd4e62e
c32295597807a6cc11283e0679b73be4cabd3a86
/app.py
66b9b2fdb6ccc5dadcabdf23814cec4df5942fbe
[]
no_license
ThongDeee/tongline
b1667c9e9ddb5e09bd391b3fdcc6146841842bd4
aa909206f286444c3a14dd915e5fe186a3ed9ffe
refs/heads/master
2023-02-26T06:21:15.118056
2021-01-28T19:10:40
2021-01-28T19:10:40
333,869,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
# -*- coding: utf-8 -*- # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "68993830+ThongDeee@users.noreply.github.com" ]
68993830+ThongDeee@users.noreply.github.com
331738fad02249b27fc2e6347fa40be18cbd74a5
0c025fb1a913b263bfbf2dda7a455192d10c891d
/ProjectEuler/Problem2.py
07b32322444d33409b7dc833d162f9c34aed02e2
[]
no_license
Pseudooo/CompetitiveProgramming
49cb82dd20fd6d3e7eddced06b637da27b0f4240
2679ceaa339460c7a9b51ddee6530d453cbbb909
refs/heads/master
2020-04-05T09:59:39.136181
2018-11-12T22:16:22
2018-11-12T22:16:22
156,783,507
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
import math as m import time # Values of phi precalculated for iteration approache's speed PhiCubed = 2+5**.5 NegPhiNegCube = 2-5**.5 Root5 = 5**.5 Phi = (1+5**.5)/2 # Get the nth term of the fibonacci sequence def getTerm(n:int): # This function is used for closed form return int((Phi**n-(-Phi)**(-n...
[ "mitchell.wright877@gmail.com" ]
mitchell.wright877@gmail.com
1cd7f7fe2262f547b545bce5583d232fd3056bcb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/prepositions/_beside.py
412a30036868081724ff1297f7950ab0b9365210
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
#calss header class _BESIDE(): def __init__(self,): self.name = "BESIDE" self.definitions = [u'at the side of, next to: ', u'compared to another person or thing: ', u'to be in no way connected to the subject that is being discussed: '] self.parents = [] self.childen = [] self.properties = [] self.jsond...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
58c348c0b4943156e36e5373bd6acf2fe6843fcf
95b4260f2a31ced1b461e494dac59df5e55982b7
/run.py
21a82d802a4d5f173679a3b1c3fb0effb72aeb08
[]
no_license
seymasa/turp
94c2af68701c912db75334f2e9461a16fe24bcfb
b8a4ab469bbbd5652bff78e604f63deae6c322b6
refs/heads/master
2020-04-06T07:06:00.086572
2016-09-11T13:20:41
2016-09-11T13:20:41
63,932,444
4
0
null
null
null
null
UTF-8
Python
false
false
165
py
import os from social import app app.secret_key = os.urandom(24) #uygulama şifreleme (rastgele 24 karakterlik) app.run(debug=True, port=1453) #uygulama balatıcı
[ "seymas@kariyer.net" ]
seymas@kariyer.net
9bac4c8027b6b8102d2288a4ae7b4d617d5fded3
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/LongLivedChi0ToMuQQ_MSquark_1500_MChi_494_TuneZ2Star_8TeV_pythia6_cff.py
969c146bfb5a013812585e4739862cc042491409
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
2,634
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2starSettings_cfi import * source = cms.Source("EmptySource") generator = cms.EDFilter("Pythia6GeneratorFilter", pythiaHepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0), pythiaPylistVerbosit...
[ "sha1-481a5a2ac9973b7cab990140e7a395466f50a31e@cern.ch" ]
sha1-481a5a2ac9973b7cab990140e7a395466f50a31e@cern.ch
5aebded1bd43f617763f5a317c79e6496a01003d
26a9f88aa870aafee3198f52e0ff3925202dd90d
/app.py
5d3b9251eb4b9e93dc0eca4f377ccc65040fb3d6
[]
no_license
NaomiKriger/pdf_crawler
a8ebba20afa8c6585f882ecc337c4f5eecbc4e4b
5424cecb4dfe727214723079028d5366c2d1d99a
refs/heads/main
2023-04-22T16:27:12.665921
2021-05-22T10:05:34
2021-05-22T10:05:34
356,262,028
2
0
null
null
null
null
UTF-8
Python
false
false
616
py
from flask import Flask from flask_restful import Api from db import db from src.resources.pdf import Pdf, PdfList from src.resources.phone import Phone, PhoneList app = Flask(__name__) app.config['SQL_ALCHEMY_DATABASE_URI'] = 'sqlite://data.sb' app.config['SQL_ALCHEMY_TRACK_MODIFICATIONS'] = False api = Api(app) db...
[ "naomikriger@gmail.com" ]
naomikriger@gmail.com
c80bb4fc4a01b22227be21db6639fdbf685906b2
540c6c09004a079079ee69023f4ef18abc7258c2
/flask_server.py
7bb025b065e90ddeee6de1ece1c6ad89d6b52f94
[]
no_license
mictsai60229/sentence_similarity
2aeb0b7c9292e7f364343fc7ade5fa0b45a08bab
cd22283c136038f7dff8a3386646da7ca628cb79
refs/heads/master
2020-04-01T20:16:38.851287
2018-10-18T09:17:21
2018-10-18T09:17:21
153,596,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
import operator import math # flask from flask import Flask, request, jsonify from flask_cors import CORS, cross_origin # my model import predictor import splitter import load_data app = Flask(__name__) app.config['CORS_HEADERS'] = 'Content-Type' CORS(app) ''' request json {"response" : doc} ''' @app.route('/', ...
[ "mictsai@nlplab.cc" ]
mictsai@nlplab.cc
cb448cc57982cd1d11cc353decfa6f00bac6d2d2
35e6605da2d105158d4ce3aa8230f650ba965651
/v7/meta_template/meta_template.py
b1eb9b573778b911af44b802b56501e7968fc974
[ "MIT", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later" ]
permissive
getnikola/plugins
8a24d00d9ca17ef075c49925d9945b059eeed849
9de663884ba5f15153d37e527ade6f55e42661a3
refs/heads/master
2023-08-29T23:38:25.184763
2023-08-06T12:58:33
2023-08-06T12:58:33
13,049,233
62
104
MIT
2023-08-06T12:55:44
2013-09-23T22:50:59
Python
UTF-8
Python
false
false
2,442
py
# -*- coding: utf-8 -*- # Copyright © 2016 Manuel Kaufmann # 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, mod...
[ "humitos@gmail.com" ]
humitos@gmail.com
a50ae6b909d4e4d6b2dca21b7718ab1a9afa6bbe
599dc43dd052cfa8dac9b4aad5d998ae2cee3b0c
/chapter4/printf_random.py
308214e62fe85ed6d9f8946bacb4c91844a2335d
[]
no_license
giantbranch/gray-hat-python-src
e43357c366264b87e1a523ab1fe8af4845032211
ab7df49e03e4b5b9847089c700f588a5abcc0917
refs/heads/master
2021-12-02T15:14:52.746391
2021-11-25T06:14:19
2021-11-25T06:14:19
65,379,828
82
46
null
null
null
null
UTF-8
Python
false
false
1,294
py
# -*- coding: utf-8 -*- # @Date : 2016-08-14 10:04:29 # @Author : giantbranch (giantbranch@gmail.com) # @Link : http://blog.csdn.net/u012763794?viewmode=contents from pydbg import * from pydbg.defines import * import struct import random # 这是我们定义的回调函数 def printf_randomizer(dbg): # 用esp索引count局部变量的值 parameter...
[ "=493254599@qq.com" ]
=493254599@qq.com
76f08bd039e7f9cd96b4b7c9980e33eeb48a6fb5
63bd9c4e51456e6ad0afb3c302fa63a72ffcc01e
/leetcode_py/BalancedBinaryTree.py
b59a438ecb0bb5889d4251524f43570abfde0201
[]
no_license
vicai/cci-py
3400d55b767e865e40af944dab87f3f2a2fb5ade
672fa2d13a0e0f45e1f0479738f2d9e65c63b499
refs/heads/master
2016-09-05T23:17:03.557500
2014-04-14T02:18:19
2014-04-14T02:18:19
11,820,289
1
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
class TreeNode(object): def __init__(self, val, left, right): self.val = val self.left = left self.right = right def maxDepth(root): if(root==None): return 0 leftHeight = maxDepth(root.left) rightHeight = maxDepth(root.right) return leftHeight+1 if (leftHeight>rightHeight) e...
[ "caiweiqi@gmail.com" ]
caiweiqi@gmail.com
060f10758bfcb331a66450e8db88623b3e7a7376
57068b73b78602a4a8ea1c2c677b2c9867d7f208
/examples-code/queue/queue-example.py
a0d53000d4f1aa74397ccd83465830088280b20b
[]
no_license
firewood1996/MELINDA
2f158d1942224b1cb7ef72d46a5f510229f54e87
a090cea086e6b2502ea4f910008f9daf50e464d6
refs/heads/master
2023-02-22T11:40:44.350351
2021-01-21T22:35:22
2021-01-21T22:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
import threading, queue # q = queue.SimpleQueue() q = queue.Queue() def worker(): while True: # get the first item queued. It's blocking # until there is an item on queue item = q.get() print(f'Working on {item}') print(f'Finished {item}') # remove item from queue ...
[ "aluiziorocha@gmail.com" ]
aluiziorocha@gmail.com
0f88316bf11c35e936d8f86e044b31b12973dbe9
43f0c93802ef62c03388006cdae18c62de4d3295
/setup.py
524d362968902bc8a4e648bf8419ebe2c4b0c37a
[ "MIT" ]
permissive
pombredanne/qtstyles
e05f67f4d0f58284ae5b5c50909f23090f5bf278
de962879e36be305572b0c5fb5c4ddcfeda5afe0
refs/heads/master
2020-04-27T00:58:55.044676
2018-10-20T05:19:33
2018-10-20T05:19:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from setuptools import setup, find_packages setup(name="qtstyles", version="0.0.2", install_requires=[ "QtPy>=1.4.1" ], description="A collection of Qt style sheets and helpful classes for applying them.", long_description=open("README.md").read(), # https://setuptools....
[ "gatman946@gmail.com" ]
gatman946@gmail.com
3e4aa0aeea3933abf58ac44971aef4a9f8a8fc46
5fdcca337ebb9453bfefe4b2573ade9c7d9ea7c3
/trivial/alwaysA.py
458dfbe791289b0f57ed0015e6a87e43954e2e08
[]
no_license
sauermar/Turnaj-M-M
5926cfdcbe62eb11a0b1e4331b17b38cdf4ac3f0
c36bd904fdb7f65996ac7922604d4baaee73f890
refs/heads/master
2020-11-26T03:44:25.270152
2020-03-21T21:13:41
2020-03-21T21:13:41
228,956,592
1
3
null
2020-03-21T21:13:43
2019-12-19T02:11:37
Python
UTF-8
Python
false
false
249
py
from player import Move, Player class AlwaysA(Player): def __init__(self): pass def author_name(self): return "AlwaysA" def next_move(self): return Move.a_safe_way def reward(self, result): pass
[ "martin.dvorak@matfyz.cz" ]
martin.dvorak@matfyz.cz
9aec99b27be9399d927a634df2ffeffa12bdcb3e
185b63f708319f7fcb6a3ef3ad7036d4a2ee169d
/l10-example-10b.py
08efb613efe4f18d3583a9de97c6b1a302ac1775
[]
no_license
yipeichan/Numerical_Ananlysis_and_Programming
222cdcaf62281ad0c3348b304c6f3addb53e2353
13175dbc3e30a376f1c5c94f1b54df6fad3f0aa6
refs/heads/master
2020-04-02T03:48:29.523292
2018-10-21T08:04:24
2018-10-21T08:04:24
153,985,352
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
import numpy as np import scipy.optimize as opt import matplotlib.pyplot as plt xmin, xmax, xbinwidth = 101.,182.,3. vx = np.linspace(xmin+xbinwidth/2.,xmax-xbinwidth/2.,27) vy = np.array( [3., 2., 1., 3., 3., 1., 6., 6.,14., 5., 3., 3., 1., 4., 7., 4., 2., 5., 1., 3., 4., 3., 0., 1., 3., 1., 5.]) vyerr = vy**0.5 ...
[ "noreply@github.com" ]
noreply@github.com
31507f806c59b4954e842e4fbeaa86f8d6aa4e61
d907469cde3a8e326dba1eaa41c55faf8f04f550
/tests/test_debug.py
a66816ecda43ce90f29c76f1f4409a332fc8e1a8
[ "BSD-3-Clause" ]
permissive
yahoo/redislite
0acd8e52b2dbeda0695f4c387f9c91262c12a463
e2377bdd7c886c432255a2429dc60a28561fe259
refs/heads/master
2023-08-30T11:40:33.442002
2023-04-25T02:06:22
2023-04-25T02:06:22
31,572,652
613
90
NOASSERTION
2023-07-06T20:05:00
2015-03-03T01:15:53
Python
UTF-8
Python
false
false
689
py
# Copyright (c) 2015, Yahoo Inc. # Copyrights licensed under the New BSD License # See the accompanying LICENSE.txt file for terms. """ Tests for `redislite.debug` module. """ from __future__ import print_function import logging import redislite import unittest logger = logging.getLogger(__name__) # noinspection Py...
[ "dhubbard@yahoo-inc.com" ]
dhubbard@yahoo-inc.com
8576195f4e3562968d1079a98bd717aa291c555c
9c3de0e3718d06408419460af8a934db3dc9736c
/mysite/settings.py
6c70476a88d7a32f5e280e45f5bf7b35c17b340f
[]
no_license
daecsa/my-first-blog
5cfb1b223583b600c5266e2e5eeb121655f65f95
bb117e801c76c862c07826ae9e87c3c256bd42ae
refs/heads/master
2022-11-26T01:58:50.635342
2017-07-04T00:22:31
2017-07-04T00:22:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,199
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.10.7. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "dpecheverria48@misena.edu.co" ]
dpecheverria48@misena.edu.co
5a0dd8e704c37e1fffbc9fae20d35dadfbd3bdf8
99e0afb26b44ee135e54f2679ec60240c723f155
/producers/models/producer.py
3e20e7fdacd97b3cc6f001c1aa414e8e49ebdb3a
[]
no_license
EmilaineBorato/optimizing_transport_public
5d9256dfbdaa8daf74f8a681edea538e38b3a1e6
e8eb1c181c42b89dcb25aef91c3f6ff3d220db60
refs/heads/main
2023-05-26T03:13:10.898929
2021-06-10T18:21:14
2021-06-10T18:21:14
372,068,333
0
0
null
null
null
null
UTF-8
Python
false
false
3,660
py
"""Producer base-class providing common utilites and functionality""" import logging import time from confluent_kafka import avro from confluent_kafka.admin import AdminClient, NewTopic from confluent_kafka.avro import AvroProducer logger = logging.getLogger(__name__) class Producer: """Defines and provides co...
[ "emilaineborato@gmail.com" ]
emilaineborato@gmail.com
b60cc31e27434ff4445604dadf8c22cc278af01c
4b77c3592883f69430b54fb0718516608d8e1a10
/randInt.py
2857207837073de1f073a0345950095f89c27075
[]
no_license
arcSlayer85/random_python_bits
e9c1db72e15421408c1d41cb600ca0d842946060
4cd63521e426d9ff8d669d6877216b43824f5992
refs/heads/master
2021-06-08T15:44:42.402991
2016-12-24T00:54:31
2016-12-24T00:54:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import random # create an index of numbers index = [6,5,4,3,2,1]; # generate a random number from 0, 5 rand = random.randint(0, 5); # use the random number to choose a number to print from the index print (index[rand]);
[ "noreply@github.com" ]
noreply@github.com
e420f5cf1074f33c3e64be805813b80e247bc6fc
457a6dd6c68dd949631d90b681d8a8bb8139e0b3
/analyze/similarity.py
df4a0b3fb5e6c8a78cb7f39bedadd9414f9f7cc8
[]
no_license
KarlPineau/EuropeanaEvaluationRecommendations
84f7f83df1b4bfe1ffbe8ada6ec4340391647ee6
16e14490dfeb9d4b82e9510b1f0afd1a7f21fecc
refs/heads/master
2020-05-21T02:01:15.598783
2017-04-25T15:38:10
2017-04-25T15:38:10
84,555,338
1
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
import re import math import json import operator from collections import Counter import collections WORD = re.compile(r'\w+') def get_cosine(vec1, vec2): intersection = set(vec1.keys()) & set(vec2.keys()) numerator = sum([vec1[x] * vec2[x] for x in intersection]) sum1 = sum([vec1[x]**2 for x in vec1.ke...
[ "karl.pineau@ens-lyon.fr" ]
karl.pineau@ens-lyon.fr
cbf89758423235fd06dc09aeaeafaaf9ca76080f
f1e2ad41e5dd95dd49aa169cf8a6a24d9c6f769d
/apps/monitor/urls.py
d08b5495a87720e9bb332288131eb5ea38b5d7ff
[]
no_license
TerryMarszr0/AutomatedMonitor
fa2e0d087a77f84f3ee2dccdd24431533aa63d48
345f914c8eba75b17e082231bf015fb2c796e3ce
refs/heads/master
2021-01-01T16:48:55.478028
2017-06-17T13:57:52
2017-06-17T13:57:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ __author__ = "BIGNI" __date__ = "2017/4/29 16:37" from django.conf.urls import url,include #appurl urlpatterns = [ # url('') ]
[ "laonivv@163.com" ]
laonivv@163.com
5c2d87475cf36d642fef62c191a68bf27f8c22cd
734a67c1a9c4a578d200b26022ae2a8d9c1c3f70
/TensorLayerNorm_pytorch.py
a89cae7538c44b8e5c69b01fbcf74f9b669ab5d2
[]
no_license
xifengbishu/predrnn-_pytorch
9f42e1cf80f6f9eafa6958ec39d218772bc5bcc4
fba78476db663ad6523daca3b858cc2761760a8a
refs/heads/master
2022-06-19T20:15:05.458084
2020-05-09T04:38:57
2020-05-09T04:38:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
#coding=utf-8 import torch.nn as nn # 返回归一化层 def tensor_layer_norm(num_features): return nn.BatchNorm2d(num_features)
[ "noreply@github.com" ]
noreply@github.com
7811a92ec72ab24ddeb7726e87642608b75d9e19
8ac9b0cd5087855f36e59f9685f9fa40270d9ce5
/coreutils/kwiztunn/fuzzer.py
57c9467e688417925b3fffa1d241d3d9f6015abb
[]
no_license
soarlab/cs5959-f15-shared
e90440d094b4fd825960b34d75fbf7b72dbca103
a53c445cc5f126ef9fce1d76b361701965d9a756
refs/heads/master
2016-09-05T20:42:18.527892
2015-12-11T06:35:25
2015-12-11T06:35:25
41,323,146
2
5
null
2015-12-09T21:05:51
2015-08-24T19:37:24
C
UTF-8
Python
false
false
3,033
py
#fuzzer.py # fuzzes: 1) add word, line, and/or byte import random import string import subprocess expected_word_count = 0 expected_line_count = 0 expected_byte_count = 0 logged_errs = 0 def set_zero(): global expected_byte_count global expected_word_count global expected_line_count expected_word_count = 0 expec...
[ "kwiztunn@gmail.com" ]
kwiztunn@gmail.com
15ce5417ce2ff1fbb58eb3546b3bbb5e36e91223
06df5da2cbafb484ffa616eeb702e79b7f84b837
/SSL_Classifiers/SC3MC.py
c7492204cb4b8730da8c3fb6f2c87ec9cad107d5
[]
no_license
SamFangshan/EnsembleSSLProject
bc74397d9fb4cd1992cf98f916fcf33954dcf100
3b8a283a20cffd9851150f31a55a926c824a6b0d
refs/heads/master
2022-07-24T04:44:59.218447
2020-04-29T05:27:42
2020-04-29T05:27:42
252,693,199
1
0
null
2022-06-22T01:49:12
2020-04-03T09:52:50
Python
UTF-8
Python
false
false
7,241
py
from sklearn.base import clone from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from scipy.spatial import distance import numpy as np import pandas as pd import statistics class SimpleVotingClassifier: """ A weighted voting classifier that uses already trained bas...
[ "fjiang003@e.ntu.edu.sg" ]
fjiang003@e.ntu.edu.sg
8e8e8e8a445c03a8134b7b89f9a80a88862292ed
b998c41893f931b48252d91e6b2fe424f9236739
/manage.py
b7b17fa3bf5c9f8b026d6b8e9d2507b3bb4c78d5
[ "MIT" ]
permissive
scottprovost/django-back
7bfe6a76c0f54405fe3c2945cde207dbb142abda
7c3f181a6658c771e155393736909f176db878c4
refs/heads/main
2023-03-18T09:49:39.963375
2021-02-19T20:01:31
2021-02-19T20:01:31
null
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', 'dbackend.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "ian.campbell.92@gmail.com" ]
ian.campbell.92@gmail.com
dff2c4c6b24ea68093845fe8c8cc96b6c0b00eb6
4f7962d02254ab6e5cf692648c933394ff41c79d
/component_sdk/python/tests/google/bigquery/test__query.py
06d91a42747f7c24d3454014f3d87a395c35ebae
[ "Apache-2.0" ]
permissive
yebrahim/pipelines
5414131f5ab176aa7607114e3a0d23db73f5c8c8
77df6c2438f4cf6b81c97ecf4dac9fdbac0e3132
refs/heads/master
2020-04-08T13:23:50.628537
2019-03-01T18:35:47
2019-03-01T18:35:47
159,389,183
1
0
Apache-2.0
2018-11-27T19:37:57
2018-11-27T19:37:56
null
UTF-8
Python
false
false
2,545
py
# you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIE...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
99cd86f3d8ff4704dcb4b37bf6424a04ccda5c61
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/4c0889e8fcee6c8be9fef33887480747c227725d-<cmd_build>-bug.py
435761d91c7ec686f1c2a16c517b74393ddf97ed
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,173
py
def cmd_build(self): result = dict(changed=False, actions=[]) if (not self.check_mode): for service in self.project.get_services(self.services, include_deps=False): if service.can_be_built(): self.log(('Building image for service %s' % service.name)) old_image...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
ae916270eb9b2f7f8ebceb7ea0d707e7e1ae4b29
0f25a9709ba2cff06ccca65445001d155a5c7c24
/nlp/call_to_nlp_api2.py
4851c9c111a6c8c6330280b00c98513f4c492146
[]
no_license
brianjeong-lab/category_keyword
e608b90bfb1ddf04536f01833e5b0f9aba75e71d
d5d79b865c197c245b64cfd117d2862cbd9c9444
refs/heads/master
2023-03-24T07:59:19.440619
2021-03-22T06:21:31
2021-03-22T06:21:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,291
py
import apache_beam as beam from apache_beam.options.pipeline_options import PipelineOptions, StandardOptions from apache_beam.io.gcp.internal.clients.bigquery import bigquery_v2_messages import sys import json import time import googleapiclient.discovery from oauth2client.client import GoogleCredentials project_id = ...
[ "taigeun.kang@gmail.com" ]
taigeun.kang@gmail.com
e39e0386e9c207b8225c5e37313477e5a69d8156
24382b7739e687a527c8a5061676d6efea11aa42
/src/game.py
b0edf4db2760a5b0e9b2d7f44cc296114aac6453
[ "Apache-2.0" ]
permissive
kyleyarwood/the-resistance
552b066c0f256482d3a07609087e088a0183eb97
6d36104fc036408446af39628451bd2e41bafc77
refs/heads/main
2023-01-22T11:14:59.197278
2020-11-29T20:59:12
2020-11-29T20:59:12
316,886,772
0
0
Apache-2.0
2020-11-29T22:46:00
2020-11-29T05:59:17
Python
UTF-8
Python
false
false
101
py
class Game(object): def __init__(self, num_players: int): self.num_players = num_players
[ "yarwoodkyle@gmail.com" ]
yarwoodkyle@gmail.com
3601f4e2573a2360abcd097a10b3b39fe487ba38
3496588e6cc763a429184b55db6d401095a59229
/chapter17/hn_submissions.py
92665bd8b28799499cd6c06bb8232f89dbf364e0
[]
no_license
DamonTan/Python-Crash-Course
c1f63c19f5c2c476baec015c39d09facd21977d1
49a35426467288ed1dfd823ef409c234ad22675f
refs/heads/master
2020-03-14T06:12:20.998384
2018-05-10T14:23:33
2018-05-10T14:23:33
130,567,227
0
0
null
null
null
null
GB18030
Python
false
false
227
py
#encoding=utf-8 import requests from operator import itemgetter #执行API调用并存储响应 url = 'http://hacker-news.firebaseio.com/v0/topstories.json' r = requests.get(url) print("Status code:", r.status_code)
[ "noreply@github.com" ]
noreply@github.com
7ca9ac0a216728a647c1da58e0b311e1690ce6e1
922a4f63f71e8833ecb240387d675ddfddf13845
/PythonProgrammingAssignmentsII/Q20.py
042c6100010d3493d297cb3fed73f20a55511bfb
[]
no_license
asmitbhantana/Insight-Workshop
0ed9e6de49dc15f0447166227f404f108ffaad2e
54f9ce92fe47a01b08440d20aa850dfc97fa0423
refs/heads/master
2022-11-19T19:14:56.557014
2020-07-24T07:32:12
2020-07-24T07:32:12
275,709,809
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
""" 20. Write a Python class to find the three elements that sum to zero from a list of n real numbers. Input array : [-25, -10, -7, -3, 2, 4, 8, 10] Output : [[-10, 2, 8], [-7, -3, 10]] """ if __name__ == '__main__': usr_list = [-25, -10, -7, -3, 2, 4, 8, 10] required_result = 0 usr_list.sort() require...
[ "bhantanasmit@gmail.com" ]
bhantanasmit@gmail.com
bf4982002906ae86e1635f54c477279e2d6a1d35
3ff0ade8a92196f25970fad2af57e3e769e144df
/reprap_python_beanshell/skeinforge_tools/analyze_plugins/comment.py
51cec27b5c1542a6eadf1c4d225163f35cf60c68
[]
no_license
TeamTeamUSA/SkeinFox
7f4af60e2c7e04a9eeacacda69e464760837eddc
9e24dabbca21e67fecda1ed55a5af45dce41bfe2
refs/heads/master
2021-01-16T20:59:06.454382
2010-01-22T07:39:42
2010-01-22T07:39:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,946
py
""" Comment is a script to comment a gcode file. The default 'Activate Comment' checkbox is on. When it is on, the functions described below will work when called from the skeinforge toolchain, when it is off, the functions will not be called from the toolchain. The functions will still be called, whether or not the...
[ "peptides@benchscience.org" ]
peptides@benchscience.org
c38ed9c586dd3058877ef5cd39bc646678f1d6e6
9c81978aa4947ad4f7c777e7850b86c70fd9d593
/Proyecto1_Compi2_py/ServidorWeb/Semantico.py
6e8270cce0a496d802074d93e694f3b2b5ebebec
[]
no_license
Dannek1/Proyecto1_Compi2_py
3092610c4e8edbe561e4a5d7100d319231bd6460
217bdd06df3ffbfe75f7c6e408def0d33f7f4c2c
refs/heads/master
2021-01-16T18:55:11.317317
2017-09-15T10:48:51
2017-09-15T10:48:51
100,126,095
0
0
null
null
null
null
UTF-8
Python
false
false
25,031
py
class Nodo(): pass class programa2(Nodo): def __init__(self,son1,name): self.name = name self.son1 = son1 def imprimir(self): son1 = self.son1.imprimir() return son1 class programa3(Nodo): def __init__(self,son1,name): self.name...
[ "mdannek@outlook.com" ]
mdannek@outlook.com
f43c45ddc970d151dfd3d0a8ab6b0bf730583634
beab31cd46c1ff0c434c8dcb2b6c309f5eb1829d
/teach_learn/exams/migrations/0005_auto_20201219_1603.py
7b8f36733f4af5036d403fff1b310762fb6facc5
[]
no_license
hack-learn/backend
3c7180a261ad10292381b966c74935434584eab2
c91d88844d3b921fbcb05158e259d0b471542e68
refs/heads/main
2023-02-02T15:00:53.472925
2020-12-19T19:16:15
2020-12-19T19:16:15
322,457,778
0
0
null
2020-12-19T03:19:50
2020-12-18T01:38:34
Python
UTF-8
Python
false
false
495
py
# Generated by Django 3.1.4 on 2020-12-19 16:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('exams', '0004_auto_20201219_1552'), ] operations = [ migrations.AlterField( model_name='answer'...
[ "cristhianeduardo03@hotmail.com" ]
cristhianeduardo03@hotmail.com
72c1be6bcfb8580304d1dc0d10de7f18699c9b28
ec19603130dddeb4b8298ee020965030d66edc81
/src/networkService/servicos/informacao/informacaoQt.py
19fd21829654effa14a3be1fdce01111d7712a16
[]
no_license
tassio/NetworkService
9a5f08c0e3b92cbe34fc99c36e80f57fcbd258f0
f800d48d8af94bf8d927fd440eab7a1c40296066
refs/heads/master
2016-09-09T23:33:14.584056
2012-12-13T15:06:24
2012-12-13T15:06:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
#-*- coding: utf-8 -*- from PyQt4.QtNetwork import QNetworkCacheMetaData, QHostAddress from PyQt4.QtGui import QColor, QBrush, QCursor, QFont, QIcon, QImage, QKeySequence, QListWidgetItem, QMatrix, \ QPainterPath, QPen, QPicture, QPixmap, QPolygon, QPolygonF, QQuaternion, QRegion, QSizePolicy, QStandardItem, \...
[ "tassio@infox.com.br" ]
tassio@infox.com.br
4cdaaf90d80f35a781594c71803367c8567fadc9
8db979435e9d13ae6f473eef39f8d7c38f324992
/Python Course Programs/Hads Game/HadsByYou.py
fff440217b63c53a90e1d456e72d7d3c968be8c1
[]
no_license
m-nemati/Programming-Course-Codes
2a2265373f150325e28f9e68bd0bfc3f2eb6f32e
fb285ffec0b0a82460d4a343a4e4360f53ed5a04
refs/heads/master
2020-05-30T12:12:50.704892
2019-06-02T06:15:16
2019-06-02T06:15:16
189,724,722
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
import random javab = random.randint(1, 99) hads = input('Hads Bezan: ') hads = int(hads) while hads != javab: if hads < javab: print ('Lower Than Javab') else: print ('grater than Javab') hads = input('Hada Bezan Dobare: ') hads = int(hads) print ("WOOOOOOOWW!!!")
[ "m.nemati2002@gmail.com" ]
m.nemati2002@gmail.com
b38b46fd26f5a49bcaa3e1b5de0b4f3f25a2e70a
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/gyrovirus_gyv7-sf.py
5cf9a7265da81fb03c45e238b7ce53b151c9e6c3
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
"""Dataset with 'Gyrovirus GyV7-SF' sequences. A dataset with 1 'Gyrovirus GyV7-SF' genomes. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGRAM! DO NOT EDIT! """ import sys from catch.datasets import GenomesDatasetSingleChrom ds = GenomesDatasetSingleChrom(__name__, __file__, __spec__) ds.add_fasta_path("data/g...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
5f196eb90ca10b6903110c65d766c4ffb8637b75
7d68415da1352cb323b4a0ceb94ae50bef071f6f
/sales_prediction.py
9e2d1a46c361c7aef4bb067b46420aab50c5ef46
[]
no_license
Jayashree24/machine_learning
d5bae05cffbb9e2767fd45eac013616d3f8dc28e
bec919bc89df01eead881a696ac53722cda9e753
refs/heads/main
2023-02-17T11:17:47.633114
2021-01-20T18:47:32
2021-01-20T18:47:32
331,363,569
0
0
null
null
null
null
UTF-8
Python
false
false
4,262
py
import pandas as pd import seaborn as sns import statsmodels.formula.api as smf from sklearn.linear_model import LinearRegression from sklearn import metrics from sklearn.model_selection import train_test_split import numpy as np import matplotlib.pyplot as plt import quandl as Quandl, math from sklearn import preproce...
[ "jayashreemanipal@gmail.com" ]
jayashreemanipal@gmail.com
129863d00cccb8a19b5adbe2d12eaf8deed86c74
bebe65ae5ea5d15eca9a388ddf86ca5b352762a6
/bin/bubbles
5b12642f3e732cd6140f54e107df357d82c1eebb
[ "MIT", "LicenseRef-scancode-saas-mit" ]
permissive
biswapanda/bubbles
f65aa11b129cf272be1205ef1fd8f885b215216d
6c6bd7b378e53bc0edcbbb35c2211922e1cb2100
refs/heads/master
2021-01-17T19:16:58.100977
2013-12-08T21:31:21
2013-12-08T21:31:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,839
#! /usr/bin/env python3 # """ Bubbles command line tool For more information run: bubbles --help Paths: * /etc/bubbles:~/.bubbles:.bubbles Config: * config.ini Author: Stefan Urbanek <stefan.urbanek@gmail.com> """ import argparse import json import sys import configparser import os.path import argparse...
[ "stefan@agentfarms.net" ]
stefan@agentfarms.net
5fbc5980a9f1ac2a3ee9fab656090ecd0cbfdd7b
0c919fc7c66272e6b7ceb0f10bf20ef8d508c21d
/torch_0.3.1/Others/statistics.py
a63a4f243d4413c10da45c3454a6f08bb09be588
[]
no_license
yinizhizhu/MOT_GN
b4eab12a3030dab8cf1f560425f030061e737441
f2781431cc6e57bdd1a0c3bf93f87292576a31b8
refs/heads/master
2020-03-27T21:18:26.849046
2019-12-19T09:01:30
2019-12-19T09:01:30
147,133,888
2
0
null
null
null
null
UTF-8
Python
false
false
7,344
py
from PIL import Image def load_img(filepath): img = Image.open(filepath).convert('RGB') return img class statistics(): def __init__(self, cuda=True): self.trainDir = 'MOT16/train/' self.testDir = 'MOT16/test/' self.label = ['', 'Pedestrian', 'Person on vehicle', ...
[ "lijiahe19941013@sina.cn" ]
lijiahe19941013@sina.cn
fb1f056afbe9e8936043b8f4c7fc35797965523c
77bfea5e07888ba3e5333d520db9cb87d98bc3b5
/odd numbers.py
7dfaba9b1dde01926b707d86c30e132f443fee8e
[]
no_license
terryproctor/python_stuff
51624c394bf923cc795641fe6b4d311cc16de478
aa806ba3fa46d88ebaf28515f7cc8ecc03b24d31
refs/heads/master
2022-12-01T19:49:13.960312
2020-08-22T19:49:24
2020-08-22T19:49:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
odd_numbers = list(range(1,20,2)) for number in odd_numbers: print(number)
[ "noreply@github.com" ]
noreply@github.com
814d27bcabba4baf23d28d692bd0f91556ee95c4
5e35005a59ccd02988932356e73ca73b452e25f1
/8.跳台阶.py
1c7d3e0a36a95463bf094871de7d64f13d8e72e1
[]
no_license
foxzyxu/offer
9887030137c20e1aedcb5c0e00f8866e4dfa0842
4fb0d9f9fc6308967415ad4e6708b03919bfe191
refs/heads/master
2020-05-31T05:37:09.493630
2019-06-04T03:31:43
2019-06-04T03:31:43
190,121,553
1
0
null
null
null
null
UTF-8
Python
false
false
363
py
class method: def jumpbox(self,n): if n==0: return 0 if n==1: return 1 if n==2: return 2 if n>2: fibo_list=[1,2] for i in (3,n+1): fibo_list[0],fibo_list[1]=fibo_list[1],fibo_list[0]+fibo_l...
[ "noreply@github.com" ]
noreply@github.com
c05a70e9932fbcaa42a87f675ca3394bb5e028b4
0a745c5e79f77489770b3c123b6406b81f1a7085
/tests/datasets/test_dataset_item.py
15de7e865b13202ff8fe7ffce1e3335a6dcc9e1f
[ "Apache-2.0" ]
permissive
abeja-inc/abeja-platform-sdk
83434ead1413a7565489751dfd51ba3d3bd2fd23
80665d689e47307997c0190008b0ae55f04ebdee
refs/heads/develop
2023-09-05T08:26:03.076846
2023-08-23T04:55:01
2023-08-23T04:55:01
253,412,585
3
1
Apache-2.0
2023-08-23T04:47:04
2020-04-06T06:23:26
Python
UTF-8
Python
false
false
21,070
py
import unittest from mock import MagicMock, patch from parameterized import parameterized from abeja.datalake.file import DatalakeFile from abeja.datasets.dataset_item import DatasetItem, DatasetItems, DatasetItemIterator DATASET_ITEM_SOURCE_DATA_DATALAKE = [ { 'data_type': 'image/jpeg', 'data_u...
[ "noreply@github.com" ]
noreply@github.com
d8b391464352a1590a34fd098cf5e860f1b9e13f
d4dd5212750acef9780c6611e173b662000917f0
/articles/admin.py
1504f409f4a4947c863aa78a1f086345a44bd51a
[]
no_license
aayushgupta05/Newspaper-App
c31c659eacba50b88c33159e31220b79e0631050
01b26dee35d12cdfa0f513445ea22d5eaf483755
refs/heads/master
2023-03-29T18:34:09.415348
2021-02-22T11:33:20
2021-02-22T11:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
from django.contrib import admin from .models import Article, Comment class CommentInline(admin.TabularInline): model = Comment class ArticleAdmin(admin.ModelAdmin): inlines = [ CommentInline, ] admin.site.register(Article, ArticleAdmin) admin.site.register(Comment)
[ "aayushgupta92780@gmail.com" ]
aayushgupta92780@gmail.com
d0ba4f994ab771e8998110d9fece77dcff45f646
9d59e5bc0e34acf5b16e8355131ae12d3c2a8f86
/venv/bin/pip-2.7
57e8cfb64136543d3b2d50b9a5045f2c05deb27d
[]
no_license
JesseYan/ShareTool
f94ba9f22943a9bc072d940fb88cac1fe74dd12e
d7eb3918cee6d41f12e8e9c078d2ac14225e17ed
refs/heads/master
2021-01-01T05:24:00.193385
2016-06-07T09:21:20
2016-06-07T09:21:20
56,979,311
0
0
null
null
null
null
UTF-8
Python
false
false
329
7
#!/Users/jesse/workspace/mycode/ShareTool/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.4.1','console_scripts','pip-2.7' __requires__ = 'pip==1.4.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pip==1.4.1', 'console_scripts', 'pip-2.7')...
[ "jiayi.yan@kanche.com" ]
jiayi.yan@kanche.com
8f9c22241b044235deef58939384d919f47f95cd
69cefe8f6a840340da8f59dae30530f2374a2fec
/get_name_and_delete.py
324921bf3954d237a773e5eaa36b2f18041596d6
[]
no_license
sofiamay/aws-server-naming
cfb2e82cac4467785d9e3b1e50d4fc8055acf3a9
f864fcaf1b02a1a43acd03175fe443dbf30f8c80
refs/heads/master
2020-04-07T04:12:04.112953
2019-05-22T23:41:56
2019-05-22T23:41:56
158,044,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,585
py
import json import boto3 from botocore.exceptions import ClientError #When starting a new EC2 istnace: a # ) retrieve a name from the database b) assign it to the new EC2 instance c) delete that name from the database client = boto3.client('ec2') ec2 = boto3.resource('ec2') dynamodb = boto3.resource('dynamodb', region...
[ "sofiamberlin@gmail.com" ]
sofiamberlin@gmail.com
fc1d3edf73b0a1b62a6d8040a5fa74216a84dd72
f8c42e61fcd7cd8cb2baaed79b06ce147b09efab
/PE/PE3/interleave.py
3b25abd86eb558c65d9cdf02882c0ae3759360a4
[]
no_license
NunationFL/FPRO
31bbba0a2a80d8fdec5c66353726c96fd17cfaa7
ed3436148759ab8065e06eac3cee849aa2eb7f92
refs/heads/master
2021-02-05T12:18:16.814184
2020-02-28T14:40:01
2020-02-28T14:40:01
243,779,473
1
0
null
null
null
null
UTF-8
Python
false
false
765
py
def interleave(alist1, alist2): out2=[] if len(alist1)<=len(alist2): for i2,elem2 in enumerate(alist1): if type(elem2)==list: out2+=connect(alist1[i2],alist2[i2]) else: out2+=[alist1[i2],alist2[i2]] else: for i2,elem2 in enumerate(alist...
[ "oliveiranunopt@gmail.com" ]
oliveiranunopt@gmail.com
d19a6a301dd28e927ff9f73db2c76e0e2020eb60
bcc7cfbf950e142bf232c399e88932b3e4ce909d
/leetcode/746-MinCostClimbingStairs.py
2593139d9b0a71313bdf121306fa415c875db605
[]
no_license
TommyCpp/AhaMoment
2bcca68d1f227a478d2c67fbee851725cd69bf26
b91c7bf5085d493379f95c883ce9f0c022ee4538
refs/heads/master
2023-03-12T13:22:17.143423
2023-03-12T04:29:37
2023-03-12T04:30:10
106,988,933
0
1
null
2023-02-10T03:28:25
2017-10-15T06:22:54
Rust
UTF-8
Python
false
false
501
py
class Solution: def minCostClimbingStairs(self, cost): """ :type cost: List[int] :rtype: int """ cost.append(0) # Add the destination target = len(cost) d = [0]*(target+1) # Add start for i in range(1,target+1): if i == 1: ...
[ "noreply@github.com" ]
noreply@github.com
b80a73a476dcb65ccb5cd974f2e19631cb2baa68
c0699f810005e1e9cb3aa09c6e08e55e10b27d5d
/libDep.py
d39c4f37b45ab8280f00f4481b2167d271367281
[ "MIT" ]
permissive
iamunr4v31/Automatic_switchOff
d94019b66e02b881d17e5440c9d25927204cfc92
7ae27a712a5702536bc51257374c7649375d6d92
refs/heads/master
2022-04-16T05:13:56.348673
2020-01-09T14:22:40
2020-01-09T14:22:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
import os import platform if(platform.system() == 'Windows'): FILENAME = 'terminateFile.bat' elif(platform.system() == 'Linux'): FILENAME = 'idle.sh' TIME = 900 PATH = os.getcwd() # print(platform.system())
[ "noreply@github.com" ]
noreply@github.com
5a1ad840edc1d0ca68d0087d4ec58a1799c74647
6843258fe430c67ffa01e909d1650df390369d93
/errata_tool/__init__.py
d0efa742971710c04b6bc0d10dfd7c1f99727682
[ "MIT" ]
permissive
ralphbean/errata-tool
86df0c5a5bdd65d62e01653f003ac2ecf3e2f092
d7f999a34ef2780e5218b071a4cd99b35b8702de
refs/heads/master
2021-05-15T05:34:04.761851
2017-11-18T03:59:38
2017-12-14T21:19:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from .exception import ErrataException from .connector import ErrataConnector from .erratum import Erratum __all__ = ['ErrataException', 'ErrataConnector', 'Erratum'] __version__ = '1.9.0'
[ "kdreyer@redhat.com" ]
kdreyer@redhat.com
7994b7e85ed04864d97b10a003a6fc9bb03af5b3
0d2aeff23eb19e92a6d5ca1b198b98afa81e2bcc
/Python/LIS.py
d7a8cb1b62e440ddd07b344f15ae782a6231015a
[ "MIT" ]
permissive
prasadshirvandkar/Algorithms
542259932a564834e24a1f2cadd9c7e01446d2d6
c3f524d2e75fb9a16b6ced631bd4450ce3383332
refs/heads/master
2021-06-06T12:45:16.110329
2016-11-24T07:22:37
2016-11-24T15:44:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
# LIS (Longest Increasing Subsequence) Problem: # Find the length of the longest subsequence of a given sequence: # such that all elements of the subsequence are sorted in increasing order. # For example, length of LIS for { 10, 22, 9, 33, 21, 50, 41, 60, 80 } is 6 and the LIS is {10, 22, 33, 50, 60, 80}. # This is ...
[ "abhishek.r.divekar@gmail.com" ]
abhishek.r.divekar@gmail.com
bc370ab02f4412d3115dff750ed79fd6ada8e58e
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_W_focus_Zok_div/ch096/wiColorJ/Add2Loss/Sob_k25_s001_EroM_Mae_s001/pyr_Tcrop255_p20_j15/pyr_4s/L8/step10_a.py
6e74bc48fa90b826fdfd8e45ba9c7b2b91a824a4
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
270,666
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
ee47897b3d2630911853caed750cf9a019d5752d
e5985aec3e40fa36caddf92471309dae19d9e7de
/6_replace_snp.py
c45860e0005571df2cb2153f3c562abe01d9f09f
[]
no_license
jingjingzhai/DeepTFBS
55e232a8c8e7ec256403ec7fb1a5a7b73ad765ee
ad78e270ccdc5379ca3e696c786daccbccd124e3
refs/heads/master
2020-09-30T14:20:24.470474
2019-12-11T07:50:10
2019-12-11T07:50:10
227,305,757
0
0
null
null
null
null
UTF-8
Python
false
false
3,670
py
from Bio import SeqIO import numpy as np import sys ''' Usage: python 6_replace_snp.py intersectSNP.txt peakSequence.fa peakMatrix.txt output.fa ''' intersectSNPDir = sys.argv[1] peakSeqDir = sys.argv[2] peakDir = sys.argv[3] outDir = sys.argv[4] SNP = np.loadtxt(intersectSNPDir, dtype="str") #peakName = "/home/mal...
[ "zhaijj@dijingjingdeMacBook-Pro.local" ]
zhaijj@dijingjingdeMacBook-Pro.local
735cbb7dfb9b821b50fe2b7be81fe9770ca3d8d1
ef16d4d796588cbf0d5cb0f84727812e7866f92e
/myvenv/bin/symilar
e547e7e0d4da4224aa8441aff9d3b4c6c945a143
[]
no_license
shortnd/django_blog
5b24f4c40cd79181a946de6f7edecc9490279839
aaa8c92e3281924b2e2ece54338899c0879ee7b2
refs/heads/master
2020-05-03T17:19:54.363860
2019-03-31T21:04:23
2019-03-31T21:04:23
178,742,082
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/Users/kortr/code/python/djangogirls/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "ococncol@gmail.com" ]
ococncol@gmail.com
6ab0aa8a329c0385ffa2d4c352ccbc4be14a74f1
82c00912ea586a974c33f746244face03c422ee0
/hydrogen.gyp
8f804576bd4e424a247ae3ee159023c5f0efcb5f
[]
no_license
aspectron/hydrogen
da10831c5d6d9faec73145071217ab7458bf7b68
c07c4e1ee22a25c44f6c042a0e1e7010cbfda94a
refs/heads/master
2021-01-23T02:23:23.013770
2014-11-06T09:37:26
2014-11-06T12:32:17
15,977,807
1
0
null
null
null
null
UTF-8
Python
false
false
18,261
gyp
{ 'conditions': [ ['OS=="win"', { 'variables': { 'gl_include_dirs': ['extern/glew/include'], 'gl_libraries': ['-lopengl32', 'extern/glew/lib/$(ShortPlatform)/glew32.lib'], }, }], ['OS=="mac"', { 'variables': { ...
[ "pmedvedev@gmail.com" ]
pmedvedev@gmail.com
7c727f1ec6f724583bb0db286d2e4b3d3f61860a
87b6333398fd79a4e5352be87b413368daec3c8d
/pygame/color.py
d48cb357ff23491402da6cf1c7319f5c9b1de7f8
[]
no_license
karagdon/pypy
65a8c8ec622cf9ca163e6c1cdac57dea7a408ee4
998347dc5d4b66d5372f1df793beeb13fd3dd51d
refs/heads/master
2021-01-20T10:38:53.032975
2015-06-12T05:07:00
2015-06-12T05:07:00
22,055,631
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
import pygame from pygame.locals import * from sys import exit r=min(255, input("Enter the red colour intensity :")) g=min(255, input("enter the green colour intensity : ")) b=min(255, input("enter the blue colour intensity :")) screen=pygame.display.set_mode((640,480),0,24) pygame.display.set_caption("colour testi...
[ "karagdon@gmail.com" ]
karagdon@gmail.com
066a1c5df73dd3d29347781664c88fc58a2ca994
019c78e21f861b6a56800877082a9c155dd8fb5f
/niveau-02/chapitre-4-fonctions/02-deux-codes-secrets-obligatoire.py
f63d0032b5d7f7e7b581e0a0a96d1af4008a9cd2
[]
no_license
donnerc/oci-prog-exos
0c0bd50a93896826251e343baa9836e6d09fc9fd
de5da49fb8a3df56ef12c4f9ea284d476e999434
refs/heads/master
2021-01-23T13:16:59.304820
2015-01-13T15:57:22
2015-01-13T15:57:22
13,173,560
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
################################## # fichier 02-deux-codes-secrets-obligatoire.py # nom de l'exercice : Deux codes secrets # url : http://www.france-ioi.org/algo/task.php?idChapter=509&idTask=0&sTab=task&iOrder=3 # type : obligatoire # # Chapitre : chapitre-4-fonctions # # Compétence développée : # # auteur : ######...
[ "cedonner@gmail.com" ]
cedonner@gmail.com
4a3277991c8950a4b4f7aee0b4cac9c9931f719d
cdafb14fe1f4e334960c91b2f53bc7e48b40a93c
/tv/create.py
0621256e21c56a58e8eccfc975b7470b6d04afd5
[]
no_license
alireza-E/alireza-
b15801d8c194fd82990f602d2759d2b67f1d5ec6
b577ff8a6d81672ce9126e1bdd4ee603458f3207
refs/heads/master
2022-12-24T05:41:12.098687
2020-10-04T13:40:30
2020-10-04T13:40:30
301,139,516
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
from term4.person.connect import Connect class Create(): def __init__(self, name, family, age, phone): self.name =name self.family = family self.age = age self.phone = phone def create_data(self): try: conn, cursor = Connect().do_connect() query ...
[ "Rominash@gmail.com" ]
Rominash@gmail.com
8a3de5ed32f6755687dc77858aa6898715c57094
4cca59f941adce8a2d71c00c0be5c06857f88dcc
/snisi_epidemiology/migrations/0002_auto_20141008_1439.py
4dd9a51d66cf927b3667f0698d7d55c83299de1f
[ "MIT" ]
permissive
brahimmade/snisi
7e4ce8e35150f601dd7b800bc422edec2d13063d
b4d0292b3314023ec9c984b776eaa63a0a0a266f
refs/heads/master
2023-05-07T19:04:04.895987
2017-12-29T18:58:22
2017-12-29T18:58:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,137
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('snisi_epidemiology', '0001_initial'), ] operations = [ migrations.AlterField( model_name='aggepidemiologyr', ...
[ "rgaudin@gmail.com" ]
rgaudin@gmail.com
a538af6a464fa56591c72692d25ab74aa2ef4463
7857b4f02001c3e0ac0317fa501a4bacc8ea335b
/logic_tutorial.py
20c0ea7cc1dc5ceb8e4405692f0ade77a4859382
[ "MIT" ]
permissive
twtrubiks/leetcode-python
65a2035fe2c9e4a65b09f5d65df7b24be385d6fc
e46b32f6de4c0711ef44b7f2a482dc59657aa5e5
refs/heads/master
2022-01-12T01:34:50.628413
2022-01-10T06:30:21
2022-01-10T06:30:21
55,111,802
25
18
null
null
null
null
UTF-8
Python
false
false
759
py
def trunk_1(arr_1, size_1): result_1 = [] while arr: pop_data = [arr_1.pop(0) for _ in range(size_1)] result_1.append(pop_data) return result_1 def trunk_2(arr_2, size_2): arrs = [] while len(arr_2) > size_2: pice = arr_2[:size_2] arrs.append(pice) arr_2 = ...
[ "twtrubiks@gmail.com" ]
twtrubiks@gmail.com
e7a420ebd01d89bb9fabbab48f9557d38d07051a
dc65c877f1753126c43dd9dab242f327e4f7fbf4
/Twitter Sentiment Analysis/Model Testing/Twitter_API/Prediction.py
cfb21a90eb4baeb572720ad858e971aae25c903b
[]
no_license
AkankshaKaple/ML_Problems
97d9c11924b46d6823dde7d31de76de81cf1915a
944e83a52f5bb9b151516380df44b9cb8a18c8d8
refs/heads/master
2023-01-10T05:56:38.382527
2021-02-27T11:14:09
2021-02-27T11:14:09
177,715,030
4
1
null
2023-01-07T18:56:48
2019-03-26T04:30:05
Jupyter Notebook
UTF-8
Python
false
false
2,294
py
from flask import Flask, render_template, request import re import nltk import pickle app = Flask(__name__, template_folder='template', static_folder='style') """ Import model for prediction """ path = 'model/logistic_model.pkl' with open(path, 'rb') as file: bow_obj = pickle.load(file) model = pickle.loa...
[ "akankshakaple@gmail.com" ]
akankshakaple@gmail.com
3274140fd519bcfb914bcc7d3ab60abe303a783e
780395c4e0041458a2a8f757e64c80c54f7d8077
/tcp_proxy/config.py
5d9c471ecac92013c0c360528190990b1e07a69d
[]
no_license
StevenDavidWD/BHP
f9a2efcc399df200a3a45e9898acd52e63e56521
e8753372e12452022186edd37044e27f02e7e0e5
refs/heads/master
2021-01-15T21:44:43.147398
2015-08-28T10:55:29
2015-08-28T10:55:29
41,530,163
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
remote_host = "" remote_port = 0 local_host = "" local_port = 0 receive_first = False
[ "1059761126@qq.com" ]
1059761126@qq.com
f3e21ce178f17c391639362e8f9e45cebf65c299
83b53bdfd3e5d92fa95dd3abd6b1eb6f75e9f1d5
/scripts_my/myScript_Participation.py
5d005b19283a5360f7e5be6ab5cf8902779d7a9e
[]
no_license
romantix74/test_git
0f4e7e0a24ff2f3dfa629bc3c9ff2782378a218a
daa26029718050be1bdba1ed59feb9a300b8c32d
refs/heads/master
2021-01-17T05:43:03.264605
2016-09-20T08:11:52
2016-09-20T08:11:52
68,681,430
0
0
null
null
null
null
UTF-8
Python
false
false
6,882
py
# -*- coding: utf-8 -*- import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Raduga02.settings') import django django.setup() from app.models import CommonModel, Member, Place_departure_choices, Residing, Participation , Director, News from app.forms import UserRegistrationForm, MemberForm , ParticipationFor...
[ "romantix74@list.ru" ]
romantix74@list.ru
368fc3c3976548ae22256b3d62fcda67d49c52e1
e36823de86b3161976f0c4dc2fbf6060a53c1ad5
/apps/funcionarios/migrations/0004_auto_20190610_1020.py
44b6651241e73f808b1d0fe84275cd7ada608351
[]
no_license
AQSNVF/spwm
ed74d4e2e41dbab0c0b42eb5c1f55e583ac8fd35
3c4ad01368a26992f76a513c770349d9ef4ad759
refs/heads/master
2022-12-03T20:38:15.217911
2019-08-08T22:07:58
2019-08-08T22:07:58
190,908,862
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# Generated by Django 2.2.2 on 2019-06-10 13:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('funcionarios', '0003_auto_20190607_1449'), ] operations = [ migrations.AlterField( model_name='...
[ "nelson Viana Freire" ]
nelson Viana Freire
17c5c6d54d9f9ebe29665ce5dbc86b6901bc42a9
108f582e55a787280d165db14fa9b82d60756a29
/pyqt-calculator/hello.py
5077a85ad5a6b8808be5cb8077dbb1b68631b727
[]
no_license
dabrygo/tutorials
c6abcb6c1450979630b44412543f36ad14ff9243
8c3b83ccded5c9f80db3e8f8bb2055cbac6090be
refs/heads/master
2023-06-23T16:13:23.652928
2019-12-27T02:52:31
2019-12-27T02:52:31
122,142,982
0
1
null
2018-03-24T02:58:05
2018-02-20T01:33:27
TeX
UTF-8
Python
false
false
686
py
# Filename: hello.py '''Simple Hello World example with PyQt5.''' import sys # 1. Import `QApplication` and all the required widgets from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import QLabel from PyQt5.QtWidgets import QWidget # 2. Create an instance of QApplication app = QApplication(sys.argv) #...
[ "dbgodfrey89@msn.com" ]
dbgodfrey89@msn.com
b9e253eb4923d77fa65f69cba6d777165b3931bd
a4c40355d05f6ba148fcdd45ca940275747d3d67
/code/extraction/normalize_wdi.py
527162b206ae5fa84c270a82cb06dd20ef99775e
[]
no_license
johanneshoetter/Health-Data-Integration
a0011548cc91dbf923556ebf947c59a02b48c8b8
b9ae991eba8d5794396b826cfaaf75e175dfd56e
refs/heads/master
2020-09-15T13:55:07.580371
2020-01-27T17:04:59
2020-01-27T17:04:59
223,467,598
1
0
null
null
null
null
UTF-8
Python
false
false
831
py
import pandas as pd from code.utils.dataframe_utils import df_to_sql from code.config import mapping_cols def normalize_wdi(engine): df = pd.read_sql_table('wdifootnote', con=engine) mappings_description = {} descriptions = list(df['DESCRIPTION'].unique()) for idx, description in enumerate(description...
[ "57453680+johanneshoetter@users.noreply.github.com" ]
57453680+johanneshoetter@users.noreply.github.com
ff727242d23fca55111f70f4ea04897f20f13b39
3edc08a698e1271e9b9dfa9881392035916aac90
/QuotesSpiderYield.py
0e0e29afd3ca388a42e289a490f821cdd279c69c
[]
no_license
xiaofang168/scrapy_coll_site
45db733c6e2c10cc4043ecfc6bccc59b71b6cd92
9eb6d39a8904748b4a78bc73781d8e46812be767
refs/heads/master
2020-03-26T21:20:34.787140
2018-08-20T07:28:48
2018-08-20T07:28:48
145,382,116
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import scrapy class QuotesSpider(scrapy.Spider): name = "quotes" start_urls = [ 'http://quotes.toscrape.com/page/1/', 'http://quotes.toscrape.com/page/2/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'text': quote.css('span.text::text').extract_first(), 'author':...
[ "fangjie@etouch.cn" ]
fangjie@etouch.cn
e2f5e0517a145fe3d6fb36d662023b7b2c5c9b94
68709668d94e914fd6e1ee2011a5291cf8d07fca
/scripts/condense_data.py
f450303708f483f00d7c62e13073f1362926099f
[]
no_license
dukererenst/Coin-Prediction
387256c3f9be9634f73e27c6f0ca83529bf8799a
28dce6ce03d2a1d23e4a93f2dfa4244c85417e1c
refs/heads/master
2020-03-27T18:28:32.157717
2017-11-20T04:59:04
2017-11-20T04:59:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
class TimePoint(object): def __init__(self, time): self.time = time self.data = [] def add(self, data_point): self.data.append(data_point) def print_line(self): line = self.time for i in self.data: line += "," line += i return line class PriceDatabase(object): def __init__(self): good_data...
[ "xenophon.of.athens@gmail.com" ]
xenophon.of.athens@gmail.com
1c08aa5b00a39ce7bf7e99c24827a058692f536f
186eee222e82e85006fbb29cfd6f7234de78afa0
/ex_1.py
95a766dbf449f63c7218180872c23c8c43634346
[]
no_license
muraveev/lab_4
34953e9629b30c02baa951e446f8048b1fbc4fe5
617fbeeb998d0d30fef5286bceb41e8bfa21bb9b
refs/heads/master
2021-08-22T22:45:10.299156
2017-12-01T14:08:44
2017-12-01T14:08:44
111,106,443
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
#!/usr/bin/env python3 from librip.gens import field from librip.gens import gen_random goods = [ {'title': 'Ковер', 'price': 2000, 'color': 'green'}, {'title': 'Диван для отдыха', 'price': 5300, 'color': 'black'}, {'title': 'Стелаж', 'price': 7000, 'color': 'white'}, {'title': 'Вешалка для оде...
[ "noreply@github.com" ]
noreply@github.com
abfcdd9efdf4c14c321d3f17b0bf9daed890f073
9e69ddfe14aff7b3e4c046e49ae955cdc0d6c2fa
/app/forms/party_form.py
e10738fc37429d3f62313e38718233b60134f6e5
[]
no_license
lanejohns/Call-of-Adventure
61d6fbb0d0c71bf9c35003b41b30994b6013aa0a
748e894faac9e0b5a4e7413de4d235b257f5e81b
refs/heads/main
2023-03-24T23:42:28.459110
2021-03-25T23:04:05
2021-03-25T23:04:05
343,853,129
7
0
null
2021-03-25T23:04:05
2021-03-02T17:15:12
Python
UTF-8
Python
false
false
421
py
from flask_wtf import FlaskForm from wtforms import StringField, IntegerField, BooleanField from wtforms.validators import DataRequired from app.models import Party class PartyForm(FlaskForm): party_name = StringField("party_name", validators=[DataRequired()]) party_size = IntegerField("party_size", validators...
[ "lanedaltonjohns@gmail.com" ]
lanedaltonjohns@gmail.com