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
33005c08d1fa27ad94fd3cfce0a9e2a34fb73d30
71ef27e3ab0ad5831169fd978ceb643315e338b5
/FileServer/htmlrunall.py
a438dd80ed1df2a4f18984c2c0ac753323ff5691
[]
no_license
BetterMe1/FileServer
8e26e968be3a4c433b1397411a475f75973d9cac
28d221361716c891d6c61afbfe9753db8250ae9d
refs/heads/master
2020-06-26T12:03:14.132580
2019-07-30T10:07:02
2019-07-30T10:07:02
199,625,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
# -*- coding: utf-8 -*- #手工添加案例到套件 import HTMLTestRunner import os import sys import time import unittest from FileServer import testupload, testview, testdown, testdelete def createsuite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(testupload.Testupload)) suite.addTest(unittest.makeS...
[ "1754217281@qq.com" ]
1754217281@qq.com
1b86396c56bba0043c82a7ddfa850a584867cba8
88a98cbddb0aa0b70a387f2b39f3a81db1e8501c
/inst/python/course4/week4/Lesson5.py
28c7115b1e249502f596f8a0fc7e3b199eaa0658
[]
no_license
ifrit98/tensorflow-coursera
e4a88c8da8d1cc447d92bb3b9b2359ebf458c512
4f593d38a350fa89ec594a2bfdefa808256a8f95
refs/heads/master
2022-08-03T06:11:58.429806
2020-05-31T16:23:08
2020-05-31T16:23:08
262,175,379
0
0
null
null
null
null
UTF-8
Python
false
false
6,013
py
# -*- coding: utf-8 -*- """S+P Week 4 Lesson 5.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/github/lmoroney/dlaicourse/blob/master/TensorFlow%20In%20Practice/Course%204%20-%20S%2BP/S%2BP%20Week%204%20Lesson%205.ipynb """ #@title Licensed under the A...
[ "jason.st.george@neidinc.com" ]
jason.st.george@neidinc.com
cd9c5f0b38a417ed37d7647c132d0f6a38efce1e
066e874cc6d72d82e098d81a220cbbb1d66948f7
/.hubspot/lib/python2.7/site-packages/rbtools/clients/__init__.py
dfb90185c05b6a487e37edf0bffcced75b55a8a2
[]
no_license
webdeveloper001/flask-inboundlead
776792485a998a0eaa4b14016c3a2066e75ff2a2
d0a539d86342e9efc54d0c0a1adc02c609f0f762
refs/heads/master
2021-01-19T01:34:55.241144
2017-04-05T00:42:03
2017-04-05T00:42:03
87,248,885
1
0
null
null
null
null
UTF-8
Python
false
false
17,675
py
from __future__ import print_function, unicode_literals import logging import pkg_resources import re import six import sys from rbtools.utils.process import die, execute # The clients are lazy loaded via load_scmclients() SCMCLIENTS = None class PatchResult(object): """The result of a patch operation. T...
[ "jamesbrown1018@outlook.com" ]
jamesbrown1018@outlook.com
a6d5a3c2c9e3bd52dec4be3aadc2b1a52e67fa68
771c084505182ddad6728ae68972ae5917159035
/lime/tests/test_discretize.py
a551a7d1595a08052a2466fe98798eaca0123efb
[ "BSD-2-Clause" ]
permissive
Shopify/lime
3bb9f494b8173dfbca5b289fd1b3d260bec43aa2
4d915072af7e9979c27396a7c7ed97ed54524e54
refs/heads/master
2023-06-28T03:31:56.352447
2019-08-02T01:50:02
2019-08-02T01:50:02
199,914,515
5
6
BSD-2-Clause
2023-03-22T06:59:58
2019-07-31T19:09:59
JavaScript
UTF-8
Python
false
false
8,124
py
from unittest import TestCase import numpy as np from sklearn.datasets import load_iris from lime.discretize import QuartileDiscretizer, DecileDiscretizer, EntropyDiscretizer class TestDiscretize(TestCase): def setUp(self): iris = load_iris() self.feature_names = iris.feature_names se...
[ "bruno.filipe.silva.dias@gmail.com" ]
bruno.filipe.silva.dias@gmail.com
33f9f615f757e2f55f53d6b631f702238525a791
4124ea6a88f11cbd5967a6c8570a23ea6b43e01d
/代码/hei_ma/Demo04_while循环.py
b348f11621c22d3138e67b9047ee8701c0d63ec4
[]
no_license
ZYSLLZYSLL/Python
75a26f953808c4aa29a98a97d43cf5509f6e569c
b83451567517b8c77bafece95126e67f4a19755e
refs/heads/master
2023-03-29T12:49:31.559651
2021-03-22T05:18:19
2021-03-22T05:18:19
349,715,556
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2021/1/7 16:13 # @Author : ZY # @File : Demo04_while循环.py # @Project : code # 需求:重复五次“hello world” count = 0 while count < 5: count += 1 print("hello world")
[ "15239938038@163.com" ]
15239938038@163.com
2817e381387844503d0a8a23ce38dce22987fa80
4569d707a4942d3451f3bbcfebaa8011cc5a128d
/typedticketworkflowplugin/0.11/typedworkflow/controller.py
953eba41a2c646cb88e789e751aa9e107b752c84
[]
no_license
woochica/trachacks
28749b924c897747faa411876a3739edaed4cff4
4fcd4aeba81d734654f5d9ec524218b91d54a0e1
refs/heads/master
2021-05-30T02:27:50.209657
2013-05-24T17:31:23
2013-05-24T17:31:23
13,418,837
0
1
null
null
null
null
UTF-8
Python
false
false
1,323
py
from trac.core import implements, Component from trac.ticket import model from trac.ticket.api import ITicketActionController from trac.ticket.default_workflow import ConfigurableTicketWorkflow class TypedTicketWorkflow(ConfigurableTicketWorkflow): """Add type attribute filter """ def get_ticket...
[ "kivsiak@7322e99d-02ea-0310-aa39-e9a107903beb" ]
kivsiak@7322e99d-02ea-0310-aa39-e9a107903beb
dde16a1e32e69757b5fbd798809ccbcf942a874f
e1f73211a76e1afebb8ffca06a3f5b7b8947ece9
/polls/views.py
20e19d68e76705be5454461084798af2a89e63c9
[]
no_license
sunilBzl/polls-app
5dd1421bab9c47c4bbb3bece83789fc91fd7ba30
3461f41d630f527711b9d00b8e5813b38d2fe6f1
refs/heads/main
2023-08-26T06:02:52.500081
2021-11-02T03:52:51
2021-11-02T03:52:51
423,446,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.views import generic from .models import Choice, Question # Create your views here. class IndexView(generic.ListView): template_name = 'polls/index.html' ...
[ "sunil.bhujel@aayulogic.com" ]
sunil.bhujel@aayulogic.com
a6a0280c8e64c9065944e620048f6383364b2778
5c205eab11d14b63e9fa7267d353448bc3761757
/dnanexus/tf_workflow.py
ebec312ef82cccbec7f9d076eeb5a0068a9b8fef
[]
no_license
huboqiang/tf_chipseq
909e07fa57698b398c957e47acae481691b04a57
6564b2e8f332b23d849c408e205781782f561ede
refs/heads/master
2020-12-24T02:22:44.284115
2015-03-13T22:12:21
2015-03-13T22:12:21
32,879,755
1
0
null
null
null
null
UTF-8
Python
false
false
22,183
py
#!/usr/bin/env python '''Instantiate the ENCODE ChIP-seq workflow''' import pdb import os.path, sys, subprocess, logging, re import dxpy EPILOG = '''Notes: Examples: Build blank workflow from fastq to peaks (no IDR) %(prog)s Build a blank workflow that includes both naive peak calling and IDR. %(prog)s --idr ...
[ "jseth@stanford.edu" ]
jseth@stanford.edu
f94f70300297d6540a203b03e0a808f40fb78e99
3cedc7c1519d3b013aad9ec4e6a6ee7834da7589
/selenium_code/z_practise/001/sa2.py
f978ca4ea1b40e7eda5051133e473ae0a9999596
[]
no_license
hzrg/songqin_course
53437100669ee93d2ac5ecae5de938b1a4007d7f
05e422ce34a42fd6d3819722a19252f8005e79ed
refs/heads/master
2022-02-09T13:27:59.871400
2019-06-13T06:08:45
2019-06-13T06:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
# coding:utf8 from selenium import webdriver # 导入浏览器驱动路径 executable_path = r"d:\tools\webdrivers\chromedriver.exe" # 指定是chrome 的驱动 # 执行到这里的时候Selenium会去到指定的路径将chrome driver 程序运行起来 driver = webdriver.Chrome(executable_path) # ------------------------ driver.get('http://www.weather.com.cn/html/province...
[ "1174497735@qq.com" ]
1174497735@qq.com
f9517abbc68b8dd5fa38af5011ed894fead69e7b
c047005bd92cdb26b7aac56a0592d705fd3a89f4
/Assignment_1/assignment1/cs231n/classifiers/neural_net.py
8fe09672517395d4ae43656ff7b151c3595bcbf2
[]
no_license
Rowan23/Stanford_cnn
e9ef6f568afd42a1e7cc21752f42ac1463e53133
9411e98f01e449fb7478c0e346231ee997f62eb6
refs/heads/master
2021-05-05T13:07:54.436546
2018-01-22T07:10:24
2018-01-22T07:10:24
118,317,294
0
0
null
null
null
null
UTF-8
Python
false
false
10,484
py
from __future__ import print_function import numpy as np import matplotlib.pyplot as plt from past.builtins import xrange class TwoLayerNet(object): """ A two-layer fully-connected neural network. The net has an input dimension of N, a hidden layer dimension of H, and performs classification over C classes. W...
[ "rowanjlange@gmail.com" ]
rowanjlange@gmail.com
8d989be35b4a12f5e33dfb1c5f24584eb840739b
5ae0724a33861822786d1101d84ac607d04dde59
/mod2.py
1d6191ffcaaddc1c9b8d3919409fd4e9491c644f
[]
no_license
RahulKB31/ineuron_class
9ea710eabc4d1e126347c5530093e914a823da70
1e093aa747f6e9406e46706181a8d8ab1c2daa48
refs/heads/main
2023-06-20T21:06:08.550787
2021-07-30T11:35:27
2021-07-30T11:35:27
379,680,543
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
def fn21(): print('this is my fn21 mod2') def fn22(): print('this is my fn22 mod2') def fn23(): print('this is my fn23 mod3')
[ "noreply@github.com" ]
noreply@github.com
eb9e884e967f1375f7635f675f77cb4c6d5d3b31
935a5dbec1e56a615f9d426c4cd8f31ed709ad45
/data/generate_dev_polarity.py
1111c54fbf96d16e360367468d4ac9fd50091ee9
[]
no_license
PandasCute/BDCI_Car_2018
1f94a858f114506335ef3e3ebb48256035ed83ba
1d8947fea362103ee6ca46133bfad3536fd5301f
refs/heads/master
2020-04-09T04:04:42.729789
2018-12-05T03:58:13
2018-12-05T03:58:13
160,009,414
1
1
null
null
null
null
UTF-8
Python
false
false
3,325
py
import codecs import numpy as np seed = 1024 def kfold_split(length, k=5): np.random.seed(seed) index_list = np.random.permutation(length) l = length // k folds = [] for i in range(k): test_idx = np.zeros(length, dtype=bool) test_idx[i*l:(i+1)*l] = True folds.append((index...
[ "fanzf@nlp.nju.edu.cn" ]
fanzf@nlp.nju.edu.cn
0d5a4132c1a3c779a764137edb3a3e33431d8662
fa89836a6759151896a07650747462b8cda40610
/mse/about/migrations/0010_event_ordinal.py
60b846d5a892fc107b9a4bef92acd71c0bed9132
[]
no_license
DigitalGizmo/mse21
334813bfebec9b78f0541744e54f218f9cc6936b
89f1c0f9c05cefaaa8c703732ee4e4642aecd3c9
refs/heads/master
2023-07-09T13:29:13.903900
2018-03-26T19:26:09
2018-03-26T19:26:09
126,878,025
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('about', '0009_single'), ] operations = [ migrations.AddField( model_name='event', name='ordinal', ...
[ "donpublic@digitalgizmo.com" ]
donpublic@digitalgizmo.com
7d26b9e1f9a52eb6d0b65a86bff16fcf9aeb474d
5b7456802cdfaf5edfaf7f1746691390ddc4d752
/smh_eyetracking/interfaces/mouse_behavior/move_to.py
91739405b4eadbd52510cb2b4128153d69d8b693
[]
no_license
next-samuelmunoz/hci-eye_tracking-workshop
084b1940e044354168b03cb032853784a6085b7d
62fe7a3691ba9d089d34cbe4944266898500fd23
refs/heads/master
2021-08-08T14:10:54.424855
2017-11-10T12:59:22
2017-11-10T12:59:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- """ Just move the mouse. """ import numpy as np import pyautogui class MoveTo(): def __init__(self, threshold_radius, duration=0.2): self.threshold_radius = threshold_radius self.duration = duration self.mouse_pos = np.array([0,0]) def action(self, mouse_po...
[ "samuel.munoz@beeva.com" ]
samuel.munoz@beeva.com
5b26ad7dc37b97e969b5062c600ab287b8c20353
6d85a8c2842ccf22928c235a159f114ce0821bd6
/aux_src/makeStr.py
34eecd5ffc10ce1ed2aa362cec0ef7625448f88c
[ "MIT" ]
permissive
mkhorton/enumlib
60b6e6f7d78c667852169ebcd7cd2628a7af431e
3cf85cb230b170d37ddb6e24acb231b8736eb9fb
refs/heads/master
2021-01-20T22:11:32.110540
2017-08-29T17:28:31
2017-08-29T17:28:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,859
py
"""This scripts produces the VASP style POSCAR.""" from __future__ import print_function from termcolor import cprint import warnings # The dictionary of all the elements on the periodic table all_elements ={"H": 3.75,"He": 3.57,"Li": 3.49,"Be": 2.29,"B": 8.73,"C": 3.57,"N": 4.039, "O": 6.83,"Ne": 4.43,...
[ "wiley.s.morgan@gmail.com" ]
wiley.s.morgan@gmail.com
4421fe3ac2588394e9b7db0d0787a3510f2dcc4d
b9677cd37d6f0ea93c44177795a7b8a072457260
/lib/libreflow/reflow.py
ba74c3e38e176bc54914181bec3f879bd7947838
[]
no_license
harrytan007/TestStation
c691ee86428070ffa929e4cc2580b85a72536969
56bd2eb3dd6062fcf2ed263c7d7029478c5aeed5
refs/heads/master
2016-09-03T00:38:22.367800
2014-07-30T08:30:11
2014-07-30T08:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,591
py
#coding=utf-8 # # Copyright (C) 2013-2014 Harry Tan <tanhy@sugon.com> # # This file is part of libserv. import pexpect import re import string from test_station.libserv.serv import Serv from test_station.err import EXCEPTION from test_station.logging.logger import log from test_station.resource import Resource from t...
[ "harrytan007@163.com" ]
harrytan007@163.com
ac1bf399a248cee21f69196d677399209d6ab7b1
fa68fea5de9eeddde02d452197db592fcda1491a
/gps_cad/build/gazebo-pkgs/gazebo_test_tools/catkin_generated/pkg.develspace.context.pc.py
f456774e9270a884f35045859cc5aa970e799dd2
[ "BSD-2-Clause" ]
permissive
iclavera/gps_cad_starts
42763ffc4b589fa8b9865fb433173664ee75ff24
1375f8badbcbe2fe5f10c6f36aa104bf4ef74a2e
refs/heads/master
2021-06-30T19:37:40.212162
2017-09-12T22:30:18
2017-09-12T22:30:18
103,326,745
1
0
null
null
null
null
UTF-8
Python
false
false
707
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/melissachien/new_gps/devel/include;/home/melissachien/new_gps/src/gazebo-pkgs/gazebo_test_tools/include".split(';') if "/home/melissachien/new_gps/devel/include;/home/melissachien/new_gps/src/gaz...
[ "florensacc@berkeley.edu" ]
florensacc@berkeley.edu
5b6e04be6a0f4cf577fdb163d2ff6914b318edf7
2cad70f628f2fa1f9829fe5349536b00b557cbb5
/interpreter.py
9b3ebd7d6d4612557c257e71ec7616bf5855f590
[]
no_license
krzysztof-magosa/lisper
e34b942eb45a9f46fc44d9dcd7d3ef3991cd7205
34ab2829671464046137b77be59bc12ae42d1396
refs/heads/master
2021-01-20T08:54:21.975155
2017-05-08T17:07:49
2017-05-08T17:07:49
90,199,363
0
0
null
null
null
null
UTF-8
Python
false
false
14,840
py
from __future__ import print_function from __future__ import division import sys import syntax from lisp import * def sprintf(format, *values): return (format % values) class Scope(object): def __init__(self, parameters=[], arguments=[], outer=None): self.data = dict() self.data.update(zip(p...
[ "krzysztof@magosa.pl" ]
krzysztof@magosa.pl
ae2a22cc0b1cc5579211830f6a6aea5b8a5a3389
81cdfbe8258dac8fd0e150fcc9faed6b32ac7aeb
/brute_force.py
30b31428b1d3882a186a84a4afb7b0a6af51642d
[]
no_license
nabinkhadka/attack-demo
f7299e18bc8d261509926593820df75cb3aad8b1
439cb05cf0428d0a872cdc6e2e09166d1329cf69
refs/heads/master
2020-04-24T10:13:00.913199
2019-02-21T14:27:18
2019-02-21T14:27:18
171,885,919
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import json import string from requests import post as POST URL = 'http://127.0.0.1:5000/login' if __name__ == '__main__': success = False guess_password = 0 while not success: response = POST(URL, data={'username': 'Nabin', 'password': str(guess_password)}) success = json.loads(response.text).get('success') ...
[ "noreply@github.com" ]
noreply@github.com
336dc156e43a58de4bf5f3dfc9056d7fa904aff8
4f8ad548979f2b8a600b82ce0933f32733a45b9b
/testbed/test_ContactCallbackTest.py
b30924ccb3477f443aa912c1baf1000332939980
[]
no_license
bxie1/PhysicsBalance
ff79b8bad161f561b243eaae4201bd983cb50c63
1bb160f1310e5bca88929d3d5cc55f568a826bb2
refs/heads/master
2021-03-12T20:31:56.493496
2014-04-16T04:05:13
2014-04-16T04:05:13
18,660,031
1
0
null
null
null
null
UTF-8
Python
false
false
5,370
py
#!/usr/bin/python # # C++ version Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com # Python version Copyright (c) 2008 kne / sirkne at gmail dot com # # Implemented using the pybox2d SWIG interface for Box2D (pybox2d.googlecode.com) # # This software is provided 'as-is', without any express or implie...
[ "bxie1@cs.swarthmore.edu" ]
bxie1@cs.swarthmore.edu
7004499ea3b151a6bcf2d8ed421b35095129113a
1b10fceb1c57e86424da38305baff903801644b4
/docs/skeletons/test/Amazon_cost_test.py
b8fa78a13fb992cdbe54987cc3907780423c1702
[ "MIT" ]
permissive
ramyasaimullapudi/ItemStockTracker
82a07c0b3d0e8e8516ef206b57d3520fa411a542
db958af9063cfad653115c727a94fd6e0957ea90
refs/heads/main
2023-04-11T07:17:40.854706
2021-11-04T21:52:43
2021-11-04T21:52:43
416,888,118
0
3
MIT
2021-12-04T04:39:52
2021-10-13T20:25:59
Python
UTF-8
Python
false
false
223
py
def test_check_cost(): """ Tests if the cost value is received correctly for each of the 5 stock status conditions (In Stock, Order Soon, Out of Stock, In Stock Soon, Invalid URL) on www.amazon.com. """
[ "krishnasaurabh123@gmail.com" ]
krishnasaurabh123@gmail.com
828980f9b3d55d7772d7fcd0e4a3fa217dda1d18
83da60453633c40bb0ad26fb1c231d316b7fbb6d
/code_examples/sine_generator/lstm_minibatchgd.py
b6262e92d8ad10fe78714f1d1ec170cafaa0aba8
[]
no_license
Hunterhal/pytorch_study
3d93aacfa2fae2dc66fd468a55ec4f49f7ec22a2
cd7eaa49f0a364b116dc2559a2fd208277ca396a
refs/heads/master
2020-08-18T08:40:36.029590
2020-05-26T13:28:12
2020-05-26T13:28:12
215,770,601
4
1
null
2019-10-18T07:52:13
2019-10-17T10:58:22
null
UTF-8
Python
false
false
3,772
py
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import numpy as np import random import matplotlib.pyplot as plt import models import time #Signal variables sampling_freq = 200 signal_duration = 2 total_samples = sampling_freq * signal_duration #Learning v...
[ "noreply@github.com" ]
noreply@github.com
22d19c5a0f16028c404c69e817457406bc45eb8a
d64bf421ab0fbe21f05bfaae15b2e61ea2aff52b
/scrapping/scrapping/settings.py
c4bc41c28ffdba88f9f8e9a5f486421a948ddd9a
[]
no_license
NicolasGrosjean/GameDataAnalysis
ab782eb1bd8a1fe79385f80b0a2bc06299c03973
ae0bd79d4069ab566984f68cb5552673b9b37a98
refs/heads/master
2020-03-14T07:10:10.835046
2018-05-12T12:27:30
2018-05-12T12:27:30
131,498,757
1
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
# -*- coding: utf-8 -*- # Scrapy settings for scrapping project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/late...
[ "grosjen@hotmail.fr" ]
grosjen@hotmail.fr
682b22c2a987a988cd53e2a272352b821fbdd3d1
20d688dda05718f40a1c87208ad120521e10deef
/bin/map.py
320c341d42a663f375a8846838cb38e03db18c27
[]
no_license
lucasnorman/LPTHW-Final
32522d5efec43bb80db1bc7587152791e602e788
7f2503948e7a29e51f48da8693a90d241cc9e9c9
refs/heads/master
2021-07-05T16:07:12.768966
2017-10-03T04:18:04
2017-10-03T04:18:04
105,613,494
0
0
null
null
null
null
UTF-8
Python
false
false
4,219
py
from random import randint class RoomError(Exception): pass class Room(object): def __init__(self, name, description): self.name = name self.description = description self.paths = {} def go(self, direction): return self.paths.get(direction, None) def add_paths(self, ...
[ "lucas.normann@gmail.com" ]
lucas.normann@gmail.com
e3205ca78ec9c5c4154d6e2bc096e8713b5deffc
78883afed6f95bc0aae9f48e9d20a4a7c77adb32
/plugins/secpicam480.py
d9c6855043be61e4c9b27797e8255abed9640c19
[]
no_license
xe1gyq/speed-camera
f7da04162afaece15033971e23692f5f24a715ed
71306c058235bf1a7fb00c484c9d34f4ac0fefae
refs/heads/master
2021-03-30T21:18:50.236194
2018-02-26T20:07:13
2018-02-26T20:07:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,341
py
# ---------------- User Configuration Settings for speed-cam.py --------------------------------- # Ver 8.4 speed-cam.py picam480 Stream Variable Configuration Settings ####################################### # speed-cam.py plugin settings ####################################### # Calibration Settings # --...
[ "pageauc@gmail.com" ]
pageauc@gmail.com
d5de700c4c6369346d726ed69705fbfdc92718e2
37a8cb73718fc19d37feab4efe05802dfe075c5e
/util/_plot.py
b8b777206addf860fa7846805f2b15fe22ce241d
[ "MIT" ]
permissive
StevenZ315/Optimization-Algorithms
43f3482766c6937bbfeef44ee1ed2d0ec7703fe9
f470bfd40242cb9556ae6d64c4bda503970c141d
refs/heads/master
2022-10-18T11:12:34.375953
2020-06-17T05:49:55
2020-06-17T05:49:55
271,703,817
1
1
null
2020-06-17T05:33:55
2020-06-12T03:56:17
Python
UTF-8
Python
false
false
3,032
py
import matplotlib.pyplot as plt import matplotlib.animation as animation import numpy as np class AnimatedScatter(object): """An animated scatter plot using matplotlib.animations.FuncAnimation.""" def __init__(self, data, func=None, title=None, contour=True, resolution=(100, 100)): self.frames = len(da...
[ "60725360+StevenZ315@users.noreply.github.com" ]
60725360+StevenZ315@users.noreply.github.com
0cccc8e1b758dacc3f7b7e91e84134b790b30861
9d39abfcb87440cdbaf33a6503587bcc884647e2
/Lesson_5/hh_parse/hh_parse/spiders/loaders.py
c81f7304dcb93f0eef6ae0ea57ec9aad8eb3b265
[]
no_license
mik-79-ekb/Datamining
7a100c7b004aff92a71a97a5c3758fda189502f7
de345349a31baae17b51eaff001f144906dcaa48
refs/heads/main
2023-06-12T02:43:36.865026
2021-07-09T09:42:53
2021-07-09T09:42:53
369,628,774
0
0
null
2021-07-09T09:42:54
2021-05-21T18:58:01
Python
UTF-8
Python
false
false
1,241
py
from scrapy.loader import ItemLoader from itemloaders.processors import TakeFirst, MapCompose from .processors import flat_text, hh_user_url, hh_sphere_activities_clean, concatenate_items class HHVacancyLoader(ItemLoader): default_item_class = dict item_type_out = TakeFirst() url_out = TakeFirst() tit...
[ "2068811@gmail.com" ]
2068811@gmail.com
cde20cb3464818d38c4f964502b21319c010bad4
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day09/code/text_args.py
bf20be1ef127a5651f828ffc51ef6a1001634dcd
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
122
py
def mysum(*args): return sum(args) print(mysum(1,2)) print(mysum(1,2,3,4)) print(mysum(1,2,3,4,5,6,7,8))
[ "442315617@qq.com" ]
442315617@qq.com
42757135dc0556c81a651638ff62924bd270bc0c
497c6810f06f1b4a5ceadec53dbf59371b709b18
/main_files/holdem/utilities.py
e43415864ccc64db521cd606d48787f53ac9320f
[]
no_license
HorstBoy/MLFYP_Project
92e72e8f3ea9da1908c1d034fce0cee940ee0424
cfd60c70e4a16d697e14af9947a33b01cf540cf9
refs/heads/master
2023-08-06T05:30:19.926049
2021-08-14T00:06:25
2021-08-14T00:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,564
py
from include import * def which_round(community_cards): count_cards = 0 _round = '' for i in community_cards: if not i == -1: count_cards = count_cards + 1 if count_cards == 0: _round = 'Preflop' elif count_cards == 3: _round = 'Flop' elif count_cards == 4: _round = 'Turn' elif count_cards == 5: _r...
[ "garyjh126@gmail.com" ]
garyjh126@gmail.com
eb1d56fce359772a0815850648aed190af310eb2
7c61922c2de52ea684a39a002355eff6551bf930
/getcount.py
33de2b911f0d1b8b0652e5e8f9650e44c86dcae2
[]
no_license
DongDong-123/codewars
ac3e6b5d5dab78ef60140ac87b9c02cc8dba646c
723750fed649ea763a2363604dd6dea3359216a8
refs/heads/master
2020-03-21T15:48:19.316417
2019-01-04T14:44:54
2019-01-04T14:44:54
138,733,757
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
def getCount(inputStr): #num_vowels = 0 inputStr = inputStr.lower() vowels = ['a','e','i','o','u'] b = [] for i in inputStr: b.append(i) for j in b and vowels: num_vowels = inputStr.count(i) return num_vowels #inputStr = "abracadabra" a = getCount("abracadabra") print(a)
[ "zisehaiyang04@163.com" ]
zisehaiyang04@163.com
0243ff78399d38a3045a581bfcc42a1089a3428b
8df1516bcfdcf5247058ceaaeccfc0253fecd8a9
/mysite/settings.py
98882cb31cf2a124b71a58e890ef1a4cdd85ae8f
[]
no_license
noorhashem/DjangoBlog
16fd3c768bb97a1c0ddfc11d4a938c4eefa81a8c
546c7423480d1bb8b63299b619bf783135043953
refs/heads/master
2022-03-22T15:11:06.467269
2019-11-20T14:39:14
2019-11-20T14:39:14
222,958,751
1
0
null
null
null
null
UTF-8
Python
false
false
3,195
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "nour.hashem95@gmail.com" ]
nour.hashem95@gmail.com
5b94b6c1bf6f6eeb1e1c275c7214f237e6677589
05ad72ac66cfa8afa94b68002751cb9bc0cf4b7c
/manage.py
cb4d929db7c1f566d31be824390f38d864a4efca
[]
no_license
fibodude/fibonache
4c723dbba87a275c7e183571706c6a39b7ed5ad2
67b64804e802f08202181df4360cee2d89fbc268
refs/heads/master
2020-06-12T10:50:33.960135
2016-12-05T03:53:13
2016-12-05T03:53:13
75,587,022
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fibonache.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "email@mail.com" ]
email@mail.com
10ea113a04936eea9ac52168ce39061c93348f1b
54dd9dc1ae1ab2013bcf9fc9c32c6623c55f1b3c
/patch_level_features/create_object_level_histogram_old.py
59df1b3dcb93570d694ff928eefbe174eda9de62
[]
no_license
liuwenhaha/SEER_distro
27f74126cfa0f9f044c1cf5a5fdfd61b76145f59
b5027c69808eb64724bcc9acd5e29ae2f4ab470c
refs/heads/master
2020-08-26T11:27:56.622419
2019-08-13T16:54:54
2019-08-13T16:54:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,415
py
import matplotlib.pyplot as plt plt.switch_backend('agg') import matplotlib.patches as patches import matplotlib.path as path import numpy as np import collections import sys import os import json import datetime from pymongo import MongoClient if __name__ == '__main__': if len(sys.argv)<0: print "usage:python...
[ "noreply@github.com" ]
noreply@github.com
aa13131b7bd493ba22905c58f1ad26b34fc32637
25bd28af726d7301c87b53e2d19aad1158926187
/contact/views.py
b4ea648dce210daaf84263443533edf8ae8f0947
[ "Apache-2.0" ]
permissive
SolomonMbak/3_a
e19b064493ebcbe1f323ab5d90d083496e86e2c4
d5d7656091e866efa2cd5dcc7bd5bc54627ac62a
refs/heads/master
2022-12-14T13:08:42.211524
2021-05-01T19:06:23
2021-05-01T19:06:23
201,625,462
1
0
Apache-2.0
2022-12-08T06:00:07
2019-08-10T12:13:49
HTML
UTF-8
Python
false
false
1,021
py
from django.shortcuts import render from .forms import ContactForm from django.core.mail import send_mail from django.contrib import messages # Create your views here. def contact(request): if request.method == "POST": form = ContactForm(request.POST) if form.is_valid(): form.save() ...
[ "solomonmbak@gmail.com" ]
solomonmbak@gmail.com
35fb6cf8a00471f461fdf814f9244e942862de35
dd2de4c00369d2f607febac282cc67fe7265b3e1
/OntoWAS_mixedRF.py
de57f464050953940b73087f57e4f4cf5a002a48
[]
no_license
hidentanaka/OntoWAS
b61d38775784398aa7dd9c6075c26dee4619d36b
0fd85a3d6e1a2674dc2bc6b9cc15ef6022daad86
refs/heads/master
2023-07-17T16:25:28.607737
2021-09-08T07:15:19
2021-09-08T07:15:19
282,007,991
3
0
null
null
null
null
UTF-8
Python
false
false
7,066
py
import numpy as np import pandas as pd data = np.loadtxt('inputfile_OntoT.csv', delimiter=',', dtype=float) labels = data[:, 0:1] features = data[:, 1:] Z = features y_conf = labels.ravel() from sklearn.decomposition import PCA pca = PCA(n_components=30) pca.fit(Z) X = pca.transform(Z) import scipy as sp ...
[ "haru.manna.2788g@gmail.com" ]
haru.manna.2788g@gmail.com
bc88ee008ef6e29c1e09c23ca4d023b13f41c158
92c97577d7a411b933d852a700cba4b01a58c73a
/storage.py
56cdd902ff4030edfc9b187218ac61e47d29679f
[]
no_license
alex-ac/ldjam
71c91b2da87e420ff59d3ffa25c02550fee46f55
f5b7e3c5f7d2ce6a9f069c8dd85aefa23dea25c2
refs/heads/master
2020-09-24T02:12:57.348943
2016-08-29T14:34:15
2016-08-29T14:34:15
66,726,469
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
import yaml class Storage(object): def __init__(self, last_update_id=None): self.last_update_id = None @classmethod def load(cls, data): return cls(**yaml.load(data)) def save(self): return yaml.dump({ 'last_update_id': self.last_update_id, })
[ "alex-ac@yandex-team.ru" ]
alex-ac@yandex-team.ru
fa15303b08005facb3b231c2858e8ec9ba6c6a6b
1e3a7750cc352060c9583daecf4358064df17e13
/config.py
04fb40826ae09c396aa2ce0733bbe0b67e4ac7e4
[]
no_license
IronButterfly/nlpsysscripts
aa335a4a26733d8e10cce27f9cb64a18ef6b94bd
ccbe9f2bb2408aabb97cf3c72c541a6fd7562b41
refs/heads/master
2021-05-11T05:16:28.901829
2018-01-18T09:18:37
2018-01-18T09:18:37
117,957,934
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
consumer_key = "" consumer_secret = "" access_token = "" access_token_secret = "" Google_API = "" AWS_ACCESS_KEY = '' AWS_SECRET_ACCESS_KEY =''
[ "noreply@github.com" ]
noreply@github.com
fa79b596babef682f3b5914ffcc30d799205917c
726ce8dddbb12af1662e002633bfe538ddf77708
/PyOpenGL-2.0.2.01-py2.5-win32.egg/OpenGL/GL/SGIS/_multitexture.py
f56fd6209fbb3f8208e4edbfaed99bcb96da0c30
[]
no_license
bopopescu/BCPy2000-1
f9264bb020ba734be0bcc8e8173d2746b0f17eeb
0f877075a846d17e7593222628e9fe49ab863039
refs/heads/master
2022-11-26T07:58:03.493727
2019-06-02T20:25:58
2019-06-02T20:25:58
282,195,357
0
0
null
2020-07-24T10:52:24
2020-07-24T10:52:24
null
UTF-8
Python
false
false
284
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__,'_multitexture.pyd') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "vanessa_kamara@my.uri.edu" ]
vanessa_kamara@my.uri.edu
e4b13c967146163781fa18667db1e794d99cbd16
2967b898cc18f8011fa692f5ef49914f1fb02787
/Lesson1/task7.py
5c1845cbe4ba6399f821ee825cd344fb0142a6c9
[]
no_license
EATataris/Python_Algorithms
107a944282703766e9d929ea209d408f0102ba6b
903f58159f8b0deb85b0cde1d1b1ce64e9b807c7
refs/heads/main
2023-03-28T02:20:54.915122
2021-03-16T17:09:10
2021-03-16T17:09:10
337,175,443
0
0
null
2021-03-16T17:09:11
2021-02-08T18:46:36
Python
UTF-8
Python
false
false
1,613
py
""" Задание 7. Задание на закрепление навыков работы с деком В рассмотренном на уроке листинге есть один недостаток Приведенный код способен "обработать" только строку без пробелов, например, 'топот' Но могут быть и такие палиндромы, как 'молоко делили ледоколом' Вам нужно доработать программу так, чтобы она могла в...
[ "emir-ali818@mail.ru" ]
emir-ali818@mail.ru
d24af5aaad0fb6661854bcd9bfba843ba4aa8b38
e2e454a3a10253e9b9647342b9a2c23685ca776f
/Django/Nexquality/migrations/0003_auto_20150324_1533.py
293121ec24d5389b746a25da61a3f17eb64c6905
[]
no_license
hboisselle/Nexquality-project
728b6330e26f9c51b66af1467c8ab4295f4dac87
56e09388fd81a6256951a0d79d2ac3a5e023a5ac
refs/heads/master
2021-01-10T18:46:31.441355
2015-04-08T13:44:33
2015-04-08T13:44:33
32,348,766
0
0
null
2015-05-01T14:37:49
2015-03-16T19:46:05
Python
UTF-8
Python
false
false
1,107
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('Nexquality', '0002_auto_20150324_0951'), ] operations = [ migrations.R...
[ "hugo.boisselle@gmail.com" ]
hugo.boisselle@gmail.com
8e43d738be53b7f0e9be55751e8679abda1a206e
4042cdc0abc903bfa6775af3a0ddc5e42059d7b7
/DynamicProgramming/746. Min Cost Climbing Stairs.py
599f8f7eb764ce121b044948a1a1c41b01d01045
[]
no_license
adongxu/leetcode
1b9fd77ebbe608e1fe19272a4fb7ec669a6d95b0
53857b3f54f42a1c1c13986a96537252bc97a4e2
refs/heads/master
2020-05-03T15:19:25.480537
2019-04-10T11:46:40
2019-04-10T11:46:40
178,702,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
""" 746. Min Cost Climbing Stairs Easy On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed). Once you pay the cost, you can either climb one or two steps. You need to find minimum cost to reach the top of the floor, and you can either start from the step with index 0, or the step wit...
[ "1940240498@qq.com" ]
1940240498@qq.com
a2b0d9876b409aa030d60fd036b25a4a456322eb
6bfda75657070e177fa620a43c917096cbd3c550
/kubernetes/client/models/v1_quobyte_volume_source.py
c6a908ad799fb3900dd6206276075c0813fbba3b
[ "Apache-2.0" ]
permissive
don41382/client-python
8e7e747a62f9f4fc0402eea1a877eab1bb80ab36
e69d4fe204b98f7d7ee3ada3996b4f5fbceae5fe
refs/heads/master
2021-01-19T23:15:50.172933
2017-04-18T18:00:48
2017-04-18T18:00:48
88,943,866
0
0
null
2017-04-21T05:19:52
2017-04-21T05:19:52
null
UTF-8
Python
false
false
6,504
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "mehdy@google.com" ]
mehdy@google.com
bbfc2f22e37ac6ad2ddccc7df2a64d1d0416ba61
b81e6271fd8fcf8696c90383d4358862da287ebf
/setup.py
506c00fb603e59453072db52b0c92920987a20a3
[ "MIT" ]
permissive
PandeKalyani95/Wafer_Project
20d3aac9ad9585b07fffa0520f70d90b164f8dab
915d8febca6107019866a0d63963aa66bf478526
refs/heads/main
2023-04-07T11:48:47.394335
2021-04-13T11:31:46
2021-04-13T11:31:46
357,197,784
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='It's a wafer Ml project using mlops', author='Kalyani0395', license='MIT', )
[ "kalyanipande95@gmail.com" ]
kalyanipande95@gmail.com
2467704279934bd40ea505eb40107f96ac59b745
1648f1205dad75927dc7b3be58d8c1ce947b5dcf
/blog/migrations/0002_auto_20180113_1737.py
2127c0a5d4b1a5ed42ae1ec1ec394c27ddab9803
[ "MIT" ]
permissive
rapacheco/blog
8efcbc8199d157a4450945261694f2065c864bc6
1875ac22faf25834ccb8f233470efa96acd06a67
refs/heads/master
2020-03-18T04:47:50.718923
2018-05-21T18:11:47
2018-05-21T18:11:47
134,306,818
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-01-13 22:37 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] ope...
[ "rapachecobeiro@hotmail.com" ]
rapachecobeiro@hotmail.com
b2ab8d47998ea4e78f6b52de16d4b8b57ba4020a
cd052f960846ea33e22abdded3106fb492f16c31
/爬虫项目/code11/Tencent/Tencent/middlewares.py
f313fa007a063eec3e1f4f43302226f7dbe1aa01
[]
no_license
byst4nder/his_spider
2d96457b70894c36506e8061d8a3201ac337a5d0
a51e31acff41292e568ac22b0e213e6cb48218fa
refs/heads/master
2020-07-21T12:06:28.952083
2019-09-06T14:25:58
2019-09-06T14:25:58
206,857,595
1
0
null
2019-09-06T19:04:02
2019-09-06T19:04:02
null
UTF-8
Python
false
false
1,284
py
#coding:utf-8 import random import requests from fake_useragent import UserAgent from settings import USER_AGENT_LIST class RandomUserAgentMiddleware(object): def __init__(self): self.ua_obj = UserAgent() def process_request(self, request, spider): #user_agent = random.choice(USER_AGENT_LIST...
[ "mac@macdeMacBook-Pro.local" ]
mac@macdeMacBook-Pro.local
b212ce15f5e798b7aacdaec1a2404adcfb12f4cf
1ea7ef2dd05a6cdee070af9f801ec5c2e4637dd0
/Python/audioPassEnergy.py
7b63a5b5c1ab516d66b8f847377e3aa939c4f86e
[]
no_license
qdbethune/pi_bois
841557d72c9fe876167351be4ee4ad45253c3b60
10c05985794aa6befaf483b182b3d3b2dba18ca5
refs/heads/master
2020-04-01T03:40:18.728398
2018-10-14T13:28:10
2018-10-14T13:28:10
152,831,368
0
2
null
2018-10-13T17:31:13
2018-10-13T03:29:25
C++
UTF-8
Python
false
false
2,824
py
import essentia from essentia.streaming import * def audioPassEnergy (): """Program to test the various audio processing capabilities of Essentia""" # Load audio in mono using MonoLoader default parameters print("Enter input audio file path:") loader = MonoLoader(filename=input()) # Cuts audi...
[ "quentindbethune@gmail.com" ]
quentindbethune@gmail.com
e2cf1b3f98dfcce63fb6f90e285c8220d9b48cf1
c9f3c9c40a903ff3cfba533e993305a21fb9d058
/Module 1/Chapter 1/nltk_scoring.py
2e6e6afe187e2316ba3cc22d19e32890379b5a34
[ "MIT" ]
permissive
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
628e8ae954ce8ca135c1d8bc7bfbd70c53485cc1
b34df3ceab78b3de29195a811696dcd06e77063a
refs/heads/master
2023-02-05T15:17:55.574854
2023-01-30T09:56:54
2023-01-30T09:56:54
73,365,954
59
45
null
null
null
null
UTF-8
Python
false
false
276
py
>>>import sys >>>import datetime >>>import pickle >>>import nltk >>>nltk.download('punkt') >>>for line in sys.stdin: >>> line = line.strip() >>> id, content= line.split('\t') >>> tokens =nltk.word_tokenize(concat_all_text) >>> print '\t'.join([id,content,tokens])
[ "eganl@packtpub.com" ]
eganl@packtpub.com
ea813d8e45f7b745a66a56a76d234e91e1964422
1e4c88fd3ebe722d5b917283841edd8ca398ad85
/project-thesis/utils/helpers.py
6f96bb57155ad375fa4b80547e4e217a5db569b4
[]
no_license
mfkiwl/microgrid-mpc
6de8ad1e4e59a5f0ebcdfd1a7846dab21c0aed88
88e3d4eeb28def3250c5769259854169565ec0df
refs/heads/master
2023-03-20T19:47:00.758575
2021-03-18T14:01:28
2021-03-18T14:01:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
import os import shutil import yaml import pandas as pd import numpy as np from datetime import datetime def parse_config(): """ Parses and returns configfile as dict """ with open("./config.yml", "r") as f: conf = yaml.load(f, Loader=yaml.FullLoader) return conf def create_folder(folde...
[ "theodoth@stud.ntnu.no" ]
theodoth@stud.ntnu.no
3e133354e43b89e7295c144c2f2a31d3288cbc8c
dc50cc0f2b08ece2a084ef2a63718594c5e41187
/miverr/miverr/settings.py
681b60b7bb99dba444a776b5fcf1abf4b87f3af3
[]
no_license
mayank6/miverr
7162aded9569e19df3035a22f953148f76afbbbe
4be95a052b1ceae8529969ba6c09c560ca8fac5e
refs/heads/master
2020-04-16T22:33:22.474530
2019-11-02T05:35:33
2019-11-02T05:35:33
165,973,281
0
1
null
null
null
null
UTF-8
Python
false
false
3,749
py
""" Django settings for miverr project. Generated by 'django-admin startproject' using Django 1.11.8. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ...
[ "chauhanmayank.621@gmail.com" ]
chauhanmayank.621@gmail.com
e962b54ec262cb0e8a2b1e534a1193f362ac6c0e
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/lib/galaxy/datatypes/converters/fastqsolexa_to_fasta_converter.py
1b68b3f6a2a340f24a5357a700a8e9995715fcc1
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
1,781
py
#!/usr/bin/env python """ convert fastqsolexa file to separated sequence and quality files. assume each sequence and quality score are contained in one line the order should be: 1st line: @title_of_seq 2nd line: nucleotides 3rd line: +title_of_qualityscore (might be skipped) 4th line: quality scores (in three forms: ...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
87faeec665f0d69a553547f26f7095e0c623830a
e9f90d1ba4247c01f59c313179f1ef005885aaba
/vanhanh/migrations/0010_auto_20200104_1715.py
6e0ed55c009a80889c24a9a18dc48d49d5ce393f
[]
no_license
hangockhue/khovanhanh
aef9ad39822902dea621512b97a485bc7d123bee
d5b3ca103abd4e20a80db8f43768a68d7adab9dc
refs/heads/master
2022-04-17T18:02:11.526517
2020-04-20T08:06:11
2020-04-20T08:06:11
231,758,102
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
# Generated by Django 2.1.7 on 2020-01-04 10:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vanhanh', '0009_auto_20200104_1108'), ] operations = [ migrations.CreateModel( name='Grouptype'...
[ "khueha@nhaphangmy.com" ]
khueha@nhaphangmy.com
c919cdecfb3d5c8c9d2226857ccc3bde41f66df1
b61021e87abc2e075448d57e5402cdebcd12bd48
/dogs/dog_app/backends.py
6a9ef437525428c13532ea23458f0ee2dbca3df5
[]
no_license
kapilarj/Dogs
86bbb08f10d48603a03f095b596573e8484ae94b
919ea5073e8ca656ffcab93d51b0e66d9dc56af9
refs/heads/master
2020-03-22T21:14:13.510952
2018-07-12T06:10:16
2018-07-12T06:10:16
140,669,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
from .models import MyUser from django.contrib.auth.backends import ModelBackend from django.contrib.auth import get_user_model class EmailBackend(ModelBackend): def authenticate(self, username=None, password=None, **kwargs): try: User = get_user_model() user = User.objects.get(em...
[ "kapilarj1997@gmail.com" ]
kapilarj1997@gmail.com
7dfb68686c9a59b99f7f8d890830641ddf2a6f54
ab61eb4b5251d46b1fa2d6f0342ac48de9cae851
/import_analysis.py
2ad25fd884043a9975d7c0cd87fdd5eaaaa75fca
[]
no_license
aaroncp1an0/TRIDENT
9eda6dac7025f0faceef1bb7b9fc03aa118862ed
00188498273db18c51217cad1572e13d2b9be756
refs/heads/master
2021-07-03T08:29:35.133652
2020-10-26T03:36:52
2020-10-26T03:36:52
191,283,849
2
1
null
null
null
null
UTF-8
Python
false
false
41,586
py
#!/usr/bin/python3 import numpy as np #import str as str import sys import matplotlib.pyplot as plt import matplotlib.patches as patches from matplotlib import colors np.set_printoptions(suppress=True) ######################################## ######################################## #start of module functions #F...
[ "noreply@github.com" ]
noreply@github.com
ae9576ab2c05cb279b8cf8b8606acc8bc1c87818
94e55472e1cb2de6e3b7db7750481c8bc4b8f424
/thoth/__init__.py
cd47c67a49ca76784db782a89fc2f8bc0a32c234
[]
no_license
westurner/thoth
0b90748fee9242a152f1fb00b61c497632a878a4
c2a77fbb14625cae74efd7e552fba35d780a8a49
refs/heads/master
2020-03-07T13:54:54.209727
2018-03-31T09:40:01
2018-03-31T09:40:01
127,513,639
1
0
null
2018-03-31T09:17:06
2018-03-31T08:24:18
C
UTF-8
Python
false
false
150
py
# -*- coding: utf-8 -*- """Top-level package for Thoth.""" __author__ = """Simon DeDeo""" __email__ = 'sdedeo@andrew.cmu.edu' __version__ = '1.0.0'
[ "@westurner" ]
@westurner
b749aa6103ec81a3d2f409926a1267998cdea89e
96403d1a134df72473e6ffb2bddac02076d7979a
/manage.py
3a47208faa5eaf9bde95c2aef46d53a7c153a7ed
[]
no_license
rishabhjainj/giftsomeone
7ce069878410e82d45847adf914aba55735b1c4b
085e8777cde1bd6dfeb809099a49e576b7e4dcac
refs/heads/main
2023-04-13T17:05:09.694286
2021-04-27T08:09:51
2021-04-27T08:09:51
336,269,251
0
0
null
null
null
null
UTF-8
Python
false
false
667
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', 'giftSomeone.settings') try: from django.core.management import execute_from_command_line except ...
[ "jrishabh252@gmail.com" ]
jrishabh252@gmail.com
c81b66919d48cfe9c28afe654a54b9849eb02112
8a853e725b8e5be560505c8cbd3f6ef21b68bf42
/rsqaured.py
3bddbced2c023d07667fdbea486587e08d082548
[]
no_license
zz2k16/MachineLearning
6bc28e0ce9a8b088cb97f7936b9bf207db604a6e
3ed023cf8a8dcd91649c784b01abd14998b5215b
refs/heads/master
2021-01-02T09:17:26.646472
2017-08-22T22:48:05
2017-08-22T22:48:05
99,182,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
# learning more in depth about how to compute linear regression and using r-squared as a performance measure # generating random but correlated data to explore the model and its features. for fun :) import numpy as np from pylab import * from scipy import stats import matplotlib.pyplot as plt # create two sets of rand...
[ "FarrukhMZ@cardiff.ac.uk" ]
FarrukhMZ@cardiff.ac.uk
d795d34961b9c42afe0703c20a4e6eeb5855f39a
21b39d50e4df56ea01453001845d1580729af1df
/jdcloud_sdk/services/cdn/apis/SetDomainConfigRequest.py
1e000f49f2dff6150f0a5cf3e6fc819eb5b40be3
[ "Apache-2.0" ]
permissive
Tanc009/jdcloud-sdk-python
ef46eac7731aa8a1839b1fc1efd93249b7a977f0
8b045c99bc5b73ca7348e950b6f01e03a27982f5
refs/heads/master
2021-08-09T14:49:16.177709
2021-06-25T02:38:41
2021-06-25T02:38:41
141,714,695
0
0
Apache-2.0
2018-07-20T13:21:17
2018-07-20T13:21:16
null
UTF-8
Python
false
false
2,404
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "tancong@jd.com" ]
tancong@jd.com
6b4e9bc8b9a85aae22af3060ef2e2c72a5132795
1c4316feb250c309d318031becc8aa6867667637
/providers/forms.py
db6eaf827b5aae26648ce76ab79a6d4b28af49b6
[]
no_license
prabhatse/mozio
625ec5007c12fb8866e55d0c6ed95558abaf3a75
be8bd99907f7738233a47dd8e5d48647addc7137
refs/heads/master
2021-01-17T21:09:21.996784
2016-06-12T12:01:56
2016-06-12T12:01:56
60,958,579
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
from django import forms from api.provider.models import Providers as Provider class AddProviderForm(forms.Form): """ Form to save/edit a Service area. """ name = forms.CharField(label='Provider Name', required=False) email = forms.EmailField(label='Provider Email', required=False) phone_...
[ "p.shankar@advanskills.com" ]
p.shankar@advanskills.com
12a3f1bf28c350a16b9e340deebf644633c7a90f
64b874ae249fe9ed72a087cef59d7dd0efd9bf43
/pypowerbi/activity_logs.py
fc39a1d56f150cd711f4a87b376edac3c7885097
[ "MIT" ]
permissive
g-sun/pypowerbi
9b55e48364c4615cae13be007d64323e6690e0a9
c7acf7d4c63579fc1824c25f34a37c5f5ce68788
refs/heads/master
2023-06-25T10:47:00.496796
2021-07-27T02:13:24
2021-07-27T02:13:24
371,371,591
0
0
MIT
2021-05-27T12:49:41
2021-05-27T12:49:40
null
UTF-8
Python
false
false
4,961
py
# -*- coding: future_fstrings -*- import requests import datetime from requests.exceptions import HTTPError class ActivityLogs: def __init__(self, client): self.client = client self.base_url = f'{self.client.api_url}/{self.client.api_version_snippet}/{self.client.api_myorg_snippet}' se...
[ "adahlin@mckinleycapital.com" ]
adahlin@mckinleycapital.com
425ebe69aa5703cc003e1e43174d4dd80677a7af
d494098417cafaf8bbf97965b2e2adc5aae2ccf9
/app.py
d20c2f6f8c3296d8a802f46c51e80d542f0f9253
[]
no_license
HynemanKan/bilibiliAnimateBot
51cb96182ce99fe4974ae0cbd8d4dbd76993a62a
9db4d742f1cecdb32cd477ac206c28334d3d71f5
refs/heads/master
2022-12-19T07:14:17.154558
2020-09-18T05:45:30
2020-09-18T05:45:30
296,521,742
0
0
null
null
null
null
UTF-8
Python
false
false
6,551
py
import json,time,random import requests import requests.utils from flask import Flask,render_template,request,redirect import db,support from background import scheduler headers={ "User-Agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36" } app = Flask(...
[ "kxkxkxkx1214@outlook.com" ]
kxkxkxkx1214@outlook.com
f0df7e8e93677297d690aea3885242627f116bec
07b6716938f05577a4f8df0b1eed71136c45fb45
/practice/UpadteInformation/LoginPublicMethods.py
7a73ee68b514163d53ad9958f3e5780aff2c8e7c
[]
no_license
caotya/selenium7th_1
a7e0f3292eeefb515769063ff303a880b86716bf
7ffe69e5b8f46a42ad13aeab73c7d0bea54af756
refs/heads/master
2020-03-21T19:43:48.321999
2018-06-28T04:36:43
2018-06-28T04:36:43
138,966,524
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from selenium.webdriver import ActionChains from selenium.webdriver.common.keys import Keys class Login: def LoginPublicMethods(self,driver): driver.get("http://localhost/") driver.implicitly_wait(20) login_target = driver.find_element_by_link_text("登录") driver.execute_script("argu...
[ "1404536614@qq.com" ]
1404536614@qq.com
fb63ffd2d7635ad3c0aa46d996addf69e3546d0f
f4b362f6b5b5b58ada5366dccf926ce23f61d3e7
/small.py
a9d75b1cf2dcfbc2fff4a0d035928d04f9827208
[]
no_license
nutristar/lessons_pro
eb6beae6222b5b0e36b23f9961ccd8a7ffeb584d
ddae845f31fb63d990f9e853fbbc6ff2ea6d3320
refs/heads/master
2022-02-07T11:10:19.668397
2019-02-03T22:39:26
2019-02-03T22:39:26
173,500,124
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
x=1 y=[2,3]
[ "deniszmail@gmail.com" ]
deniszmail@gmail.com
68c72262983dd408118feeb106edd957dae536c8
76820d80627dc4f431017ce69184fd2630f96e84
/Clientes[CodigoLegado]/business/control/Commands/ComandoVerificaSenha.py
a4484cc23c4395618ff384130def1dded0ab359e
[]
no_license
douglasliralima/Beak
1b3526b2585c772864aa33a0a10dd7ca4effa4f4
8a494afdb6c7e23ceacc8f12f69dabaadde73206
refs/heads/master
2023-01-07T21:01:08.097637
2019-10-02T01:28:19
2019-10-02T01:28:19
175,688,966
0
0
null
2023-01-04T10:44:40
2019-03-14T19:47:12
HTML
UTF-8
Python
false
false
240
py
from business.control.Commands.Comando import Comando class comando_verifica_senha(Comando): def __init__(self, verifica_cliente): self.__cliente_validado = verifica_cliente def executa(self): self.__cliente_validado.valida_senha()
[ "douglasliralima@gmail.com" ]
douglasliralima@gmail.com
355e1dafe9411709137e69f5fff64559073d4090
cf10924f40f84e9b2a990e0964d90223ddfce9a3
/PY/analize.py
27dc3833131132106f06297e0c225acd074aa441
[]
no_license
jayc37/site
03212eba0f2b0a85415b88933b98d8eb6e6f75b4
eac243a8ce43de1e704e16ae49043da2031a1c2d
refs/heads/master
2023-01-19T20:44:18.108549
2020-11-21T04:55:16
2020-11-21T04:55:16
314,528,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
import numpy as np import pandas as pd from oddeven import isEven,val1,val2 def analize(_dict): _d = _dict['rates'] _index = get_keys(_d) _values = get_val(_d) dataSet = odd_even(_index,_values) return _index,dataSet def odd_even(_index,_value): dataSet = {} for i in r...
[ "son.tran@phattien.local" ]
son.tran@phattien.local
31360d3f126b1d2754f6f77c0e7e2f772b35e62f
aeb4b69cd7f6aea6a15336be8b869956fbe00726
/Model.py
d17fcf417c837792e9e42a5dccc92b7e4119f0b0
[]
no_license
gandharvsuri/Toxic-Comment-Classification
0c18966414a5c9a57d2cae3a1c1fd7ee53ce6530
5c2347f7d22b2ec8b05c22e73f5f2bc77f681025
refs/heads/master
2020-08-23T06:06:09.923296
2020-05-23T09:44:29
2020-05-23T09:44:29
216,558,642
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
# Required library imports import numpy as np import pandas as pd from skmultilearn.problem_transform import ClassifierChain from sklearn.linear_model import LogisticRegression from skmultilearn.problem_transform import LabelPowerset from imblearn.ensemble import EasyEnsembleClassifier from sklearn.linear_model import...
[ "gandharv.suri@iiitb.org" ]
gandharv.suri@iiitb.org
bc74602fe4e6cba46dc8330e664a6ecb75db54e6
d50ba91c7614f2fa07e0235adb933bbececafaa6
/limix/ensemble/lmm_forest_utils.py
bd313a82336bade3257e3686e792b17c8bffeec0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jlmaccal/limix
59c3154e8fc543068da17677e51f513423fbca54
8029d3df3883bd2043c449e5d8f4da6a7936dc32
refs/heads/master
2020-12-30T20:50:18.680123
2016-04-14T21:19:36
2016-04-14T21:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,440
py
import scipy as SP import par_lmm_forest as parUtils import random def checkMaf(X, maf=None): if maf==None: maf = 1.0/X.shape[0] Xmaf = (X>0).sum(axis=0) Iok = (Xmaf>=(maf*X.shape[0])) return SP.where(Iok)[0] def scale_K(K, verbose=False): """scale covariance K such that it explains unit v...
[ "joh.stephan@gmail.com" ]
joh.stephan@gmail.com
dc7ecb8fba15f6b0a0781b7296143b29b6ebe67e
9bc81f51f1205b6b3476805ade30937923f658fa
/gushiwen.py
2722a99b84189b78b539b1422995aa246c494beb
[]
no_license
JoyMichele/spider
4229d2a38d0250da45008231de2e3fc6e9a007fd
7427097082d854d8abe4a3a819eeba5220a38df9
refs/heads/master
2020-04-15T17:10:52.913231
2019-01-13T15:28:01
2019-01-13T15:28:01
164,864,337
1
0
null
null
null
null
UTF-8
Python
false
false
6,516
py
# coding: utf-8 # In[3]: import http.client, mimetypes, urllib, json, time, requests ###################################################################### class YDMHttp: apiurl = 'http://api.yundama.com/api.php' username = '' password = '' appid = '' appkey = '' def __init__(self, usernam...
[ "761199418@qq.com" ]
761199418@qq.com
915825db78f4178b3a1f8f7a1ff368f65fd6b37a
1526dda13d1f4867ac7624663f338c47879c2506
/blog/admin.py
ae1c5f9fdd0befcd9e45f8ffb013f7f26f393059
[]
no_license
sohyunki/blog
5d6640b9f521bbf4a931a7c5b98549a148f4f6d6
292973e86cae68f82450e5ce6373390542c3e354
refs/heads/master
2023-05-28T04:37:41.048266
2021-06-18T19:40:42
2021-06-18T19:40:42
378,249,425
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from django.contrib import admin from blog.models import Write admin.site.register(Write) # Register your models here.
[ "sohyunki" ]
sohyunki
45ca5c8bfb465a46b8277775fae7b5875bf981ff
371dcd051dfb93dd946455225448b02a80d1cd0a
/constant/rgapi.py
20fb535b2d36db98cfeb859054b75136d9d9dd89
[ "MIT" ]
permissive
iElden/EldenBot
7a5a042269d2540d87ac84f57441ddfcdf05ad12
e8ab08f1071dc9c3d77e51c1778469b6115ec5cf
refs/heads/master
2023-04-02T01:04:32.284979
2023-03-22T17:24:09
2023-03-22T17:24:09
128,685,082
1
6
MIT
2022-05-06T19:16:10
2018-04-08T21:55:41
Python
UTF-8
Python
false
false
11,687
py
CHAMP_ID_TO_EMOJI = {'266': '<:champ_266:601909182748164097>', '103': '<:champ_103:601909185243774976>', '84': '<:champ_84:601909188612063233>', '12': '<:champ_12:601909190809878530>', '32': '<:champ_32:601909193456222221>', '34': '<:champ_34:601909195968610356>', '1': '<:champ_1:601909198799896690>', '22': '<:champ_22...
[ "mceldenn@gmail.com" ]
mceldenn@gmail.com
dc8402c232d6ab46a1595210ee6304cf9a9a40f6
55d4c18fdef438d73a9172a5cc9d55963e9690a6
/GSO/4.Dynamic Obstacles/config_user.py
c6c72cdc587707a29055d683a15b1bee130eaf9f
[]
no_license
saxenapriyansh/GSO-Path-Planning
9bf723a58658e7a4565ceb62801ab8ecf9d8e400
e334ee5858639ab75b7be84cd19da964b98b4d89
refs/heads/master
2021-10-27T17:13:58.988517
2019-04-18T14:42:25
2019-04-18T14:42:25
180,512,081
2
1
null
null
null
null
UTF-8
Python
false
false
6,830
py
# Configuration File from __future__ import division import math import collections import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D testingMode = False # suppresses figure generation, outputs from main*.py are not printed makeFigure = True makeMovie = True start...
[ "saxenapriyanshasd@gmail.com" ]
saxenapriyanshasd@gmail.com
138ad6816981ced62f71bd3859116d1fa7ecfa16
e8d34c096f9df7f22ff5ccee34cf9f6e6a0adab4
/flask_login/test_gpios.py
3de4b6984d75c2f38c64ff8539dbc50799074af9
[]
no_license
MarianoDel/coralpreto_py
50fed2bd4032d4e3adc29c06de4b096ee1b3833a
06bbe3f814fdbf80ae58b1ba6a53d0e96f0ec566
refs/heads/master
2023-03-07T14:19:19.074639
2022-03-25T17:34:38
2022-03-25T17:34:38
238,445,438
0
0
null
2023-03-05T06:04:33
2020-02-05T12:30:05
JavaScript
UTF-8
Python
false
false
1,416
py
# -*- coding: utf-8 -*- #usar python3 import time RUNNING_ON_RASP = 0 if RUNNING_ON_RASP: from gpios import * GpiosInit() def TestBlue(): print ("start blinking blue led for 10 secs") if RUNNING_ON_RASP: LedBlueToggleContinous('start') time.sleep(10) print ("ending toggling") ...
[ "marianodeleu@yahoo.com.ar" ]
marianodeleu@yahoo.com.ar
fe5008878edb08f5883649ab0765b19fdb4de0ce
3b944f1714c458c5d6d0e84d4b1498f2b59c4ef7
/581. Shortest Unsorted Continuous Subarray.py
3fa7d45d3112e56a100aa8150f35c38a0d623fae
[]
no_license
shiannn/LeetCodePython
e4d66f108200d8329616b3e45b70c3f8fc4cd9ed
6e4472d41904e60ff9d70b5f3979c5dcae98c838
refs/heads/master
2021-06-26T03:24:03.079077
2021-02-24T16:54:18
2021-02-24T16:54:18
213,206,772
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
class Solution: def findUnsortedSubarray(self, nums) -> int: end = -2 start = -1 max_ = -float('inf') for idx, num in enumerate(nums): max_ = max(max_, num) if max_ != num: end = idx min_ = float('inf') for idx, num in reversed(...
[ "b05502087@ntu.edu.tw" ]
b05502087@ntu.edu.tw
e59999e3a7d2a6f4b66c537625cf26c6815890f4
20d1969e0b202b38f7735fb2509f3db6a0d5fea1
/models.py
c9d943d9cdb341c0c7f0d3d95db38cbf12a3de4b
[]
no_license
TukieYA/my-first-app
8158ad73dc2fd307ca2547c7cad1afad615a55ea
f62453f17ef681669063e0506b75423497cf77b9
refs/heads/master
2021-01-05T20:12:54.870785
2020-02-17T13:53:36
2020-02-17T13:53:36
241,125,380
2
0
null
null
null
null
UTF-8
Python
false
false
525
py
from django.db import models from django.conf import settings from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models...
[ "ilnur.musin.03@mail.ru" ]
ilnur.musin.03@mail.ru
701cceafbc17e8595614eabc2d26909564c55589
99249dad36df26a712ae8d900041d53acf3901ea
/settings/channel_archiver/NIH.SAMPLE_FROZEN_XRAY_settings.py
0cf3746eba7d2d3f8917deddf604d4ffaa86f80d
[ "MIT" ]
permissive
bopopescu/Lauecollect
f1f79c2cc5ff106df0dedbd6939ec92630d2b305
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
refs/heads/master
2022-11-29T00:40:28.384831
2019-06-05T01:21:36
2019-06-05T01:21:36
280,989,300
0
0
MIT
2020-07-20T02:03:22
2020-07-20T02:03:22
null
UTF-8
Python
false
false
111
py
SPOTS.filename = '//femto/C/All Projects/APS/Experiments/2019.05/Test/Archive/NIH.SAMPLE_FROZEN_XRAY.SPOTS.txt'
[ "friedrich.schotte@gmail.com" ]
friedrich.schotte@gmail.com
0b7f2dfe5e49b472a8425e098959e9023bb7ecd1
7aa5966732a9e3d49821599329950a16c88ab286
/week2task1.py
bc9b4f322647785d467a566b98af1219541b98c8
[]
no_license
Sal-Eng-666/WIDweek2
7cabd6eb0bf68df68e76da725f56593c89e6abc7
fa9951b4727d57ccc85746e91aaa3f394e14baa1
refs/heads/master
2023-03-04T20:57:01.081060
2021-01-17T12:25:52
2021-01-17T12:25:52
329,721,248
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
#create your own DFD, a subject of your own choice and convert it into code def procedure_1(inp_menuoption): beer = 1 cider = 2 wine = 3 non_alcoholic = 4 print("Hello, what drink would you like?") menuoption = int(input("Select an option 1 for beer, 2 for cider, 3 for wine or 4 for a non alcoholic dr...
[ "lady_snowblood@hotmail.com" ]
lady_snowblood@hotmail.com
585fdc24817f4227bd9b735d629d948023a89550
9c89ab8fd0a4e1b488005ccbce94de879f319bc6
/recover-client/manager.py
b057fc5ba2d219d39cc0e19652c1e407a98540e2
[]
no_license
openstackenabling/vmrecovery
e1752bc901a9c3f4dfa335cdb159d6d0c24dd2c1
8100dadbb656ac337b80c93060066bc2e685e8a4
refs/heads/master
2021-01-16T20:42:55.826886
2013-05-16T08:36:48
2013-05-16T08:36:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
# # Copyright (C) 2013 Intel Corporation. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ "heyuan.liu@intel.com" ]
heyuan.liu@intel.com
f82d11c69de4d63b9824a1f73e4ded7104d8526b
e2ed3e8c78e3a9da30c354bfbc833e17eef037eb
/Diagen/diagen.py
b161062ee912930e76186abaa606c03afc2bf71d
[ "MIT" ]
permissive
Dav-Edward/Tachyon-Starwisp-Mod
044049e04c178ce0cce5851843f6da341b9e0137
542d4ff128a8084ec42dcc9d41db8866ab0638eb
refs/heads/master
2021-07-25T13:06:49.104131
2020-06-07T19:17:05
2020-06-07T19:17:05
181,711,435
1
0
null
2020-03-29T20:38:46
2019-04-16T14:56:17
Python
UTF-8
Python
false
false
27,244
py
#!/usr/bin/env python3 # MIT License # # Copyright (c) 2018 Hornwitser # # 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...
[ "noreply@github.com" ]
noreply@github.com
cb95a5fcb3ae98cc0e7079624eee3ff7610c7d5d
e1471e31e13460912f1e65528e996120c1bcde49
/draw-pixel/draw-pixel.py
ce7c152fdd2fcd655ca056bd00204e2fe929a4c9
[]
no_license
Kranthos/PIL-python
db0dd8b317a2f67cc61e4ebdb16348777a0d995a
6dd15c22ba64ae59cf258d20e8273ce05f690cd6
refs/heads/main
2023-06-02T09:43:28.414111
2021-06-21T14:43:26
2021-06-21T14:43:26
376,350,627
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from PIL import Image im = Image.new(mode="RGBA", size=(50,50), color=(255,255,255,255)) im.putpixel((25,25), (0,0,0,255)) im.show() im.save("pixel.png")
[ "ekranthos@gmail.com" ]
ekranthos@gmail.com
058258ee3d0ec5cbba5e415fadbcea87d45b8a9d
a1c6fea0703d7d813a88aae91a7fbb17e06785ea
/third_admin/apps.py
daa061129e27bc5023c0d553c5287f0a2b872cb2
[]
no_license
warm200/SpokesTribe
bea676b2868272ceab17176d7eb5d98ae7747543
8c3671214e317987645aeef4451e590bcb772f7e
refs/heads/master
2022-01-11T18:12:40.847007
2019-02-08T13:08:38
2019-02-08T13:08:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class ThirdAdminConfig(AppConfig): name = 'third_admin'
[ "zhengyufei19999@163.com" ]
zhengyufei19999@163.com
525eb46142e733dea7a957256215fb27fe14dbe9
786de89be635eb21295070a6a3452f3a7fe6712c
/ParCorAna/tags/V00-00-08/src/unitTestsParCorAna.py
2f089c31ef0f1ccbdfde74ff8e947a820923c7ba
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,144
py
#-------------------------------------------------------------------------- # Description: # Test script for ParCorAna # #------------------------------------------------------------------------ #-------------------------------- # Imports of standard modules -- #-------------------------------- import sys impor...
[ "davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
d224d3604bd4bf178bcc2ccbd591c0f88336a58b
77d808f47101202db6cec5a9eee6b38c55f73fde
/24. Regular Expressions/04.py
62ae2b81b1544adb49f3011abd21606be8b3f9cb
[]
no_license
dimDamyanov/Py-Fundamentals
2ce5591fbfebf8d95c832e3f7109b24e53dd721b
5ccae5bfa456829d97e8773ee9f5eaa5f5051765
refs/heads/main
2023-01-29T22:21:07.788061
2020-12-13T08:11:04
2020-12-13T08:11:04
317,682,227
1
0
null
null
null
null
UTF-8
Python
false
false
138
py
import re data = input() numbers = [n.group(0) for n in re.finditer(r'(^|(?<=\s))-*\d+(\.\d+)*($|(?=\s))', data)] print(*numbers, sep=' ')
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
3261a6b00f09d4b7e14c5f54e246398875eded67
653ba1fa7bacf0a30f6dd3512387d7ac24559c0c
/import_artists.py
26b5f1847c156e295e415fc0788987422ecc916c
[]
no_license
jtngrg1992/artscrape
f985eb7a9c550d8f84edc1484f362c36bbb293ed
ee1b6182f95f4e6f49458ccc808f97fd20e974cd
refs/heads/master
2021-01-01T05:12:30.446180
2016-05-30T16:59:08
2016-05-30T16:59:08
59,461,276
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
import csv import json import pymongo from pymongo import MongoClient dbclient = pymongo.MongoClient("45.55.232.5:27017") dbclient.artists.authenticate("artSales", "Jl@B$!@#", mechanism='MONGODB-CR') print(dbclient) db=dbclient.artists data=db.allartists columns=["artist"] try: # with open('safronscrape.csv') as csvfil...
[ "jtngrg1992@hotmail.com" ]
jtngrg1992@hotmail.com
2ee9389f7c4cbb371e4ba28c7b50747868bdd137
26ab0c567ad10573970d03892d85acecc0892f3a
/Load Sql Table.py
5e2e0edd52a0cc363911d905d43e2333e0d588d9
[]
no_license
Vijay20796/vijay
80033cd7d1a68f42a37b65ab888cea4b8655b21f
3ad04bd1f7bc631bcfc2fc9e6447ba4f3bf8b49a
refs/heads/master
2020-06-21T02:15:19.845510
2019-07-24T18:54:55
2019-07-24T18:54:55
197,320,598
1
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 6 21:02:59 2019 @author: hzhou """ ##### 1. import pyodbc import sqlalchemy from datetime import datetime, time from openpyxl import load_workbook from math import radians, sin, cos, acos values = [] conn = pyodbc.connect('Driver={SQL Server Native Client ...
[ "noreply@github.com" ]
noreply@github.com
dee0adedecbf760a83859e241b0d54dcace2d253
3ae9846d6d82f1d8cc5820d161ebba864cdaee5e
/simulator/simulateTest/simulatorTestDemo.py
0d3a4dfdc8d5b6213bcdbafa9125180615780d39
[]
no_license
rhett-chen/GPNet
7704e66d5ed880522c92208824d1eaed267bce5a
322c7a29c9b0bdd755dd7ef87190a2ed4adebdc9
refs/heads/master
2023-03-21T19:31:37.376158
2021-03-22T06:22:33
2021-03-22T06:22:33
350,227,822
3
0
null
null
null
null
UTF-8
Python
false
false
5,413
py
import os import numpy as np import torch import argparse import sys sys.path.append(os.getcwd()) from simulator.simulateTest.AutoGraspShapeCoreUtil import AutoGraspUtil # parser = argparse.ArgumentParser(description='ShapeNetSem Grasp testing') # parser.add_argument('-t', '--testFile', default='prediction/500ntop10.t...
[ "rhettchen6@outlook.com" ]
rhettchen6@outlook.com
3fe648ab8a236b2ab1345962cb2d07556e4ac8eb
7d25815930c03021e37ee003d91fc3116f03ba7f
/new_project/settings.py
2ae186dfb3048efe35c6e4649f84c008365dd176
[]
no_license
Tanniru-yashwanth/boards
771ca023efd9c5d7989181bd6acdba253b3832f5
05d64c0c545b55bcf905e2f9e71d843d77645aa5
refs/heads/master
2023-07-16T23:33:05.292633
2021-08-31T16:14:28
2021-08-31T16:14:28
401,649,262
0
0
null
null
null
null
UTF-8
Python
false
false
3,771
py
""" Django settings for new_project project. Generated by 'django-admin startproject' using Django 3.2.6. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os...
[ "tanniruyashwanth07@gmail.com" ]
tanniruyashwanth07@gmail.com
2d543325ab4a419742851d38c1248b80764d2281
dccc2fd7d5ed88d2c85f551f0a6543d55d465b16
/test.py
abf1ecc61cd2265c7e07b49d3dde3551cfacf5a4
[]
no_license
wardaharshad/Emotion-Detection
5375622be625f21f357fd552a51a1353586acac7
2bc55ed6e852b6a8d3acb6d77e424edfe27aa4a8
refs/heads/main
2023-06-24T04:57:27.883809
2021-07-11T16:35:00
2021-07-11T16:35:00
384,992,464
4
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
''' Emotion Detection Using AI ''' #USAGE : python test.py from keras.models import load_model from time import sleep from keras.preprocessing.image import img_to_array from keras.preprocessing import image import cv2 import numpy as np face_classifier = cv2.CascadeClassifier('./haarcascade_frontalface_default.xml')...
[ "noreply@github.com" ]
noreply@github.com
413ea73f3d48081fa92bd302cc85004ec2d6250b
1604b9a7f00b1f71f947d5ed6246ae06f16dd311
/LanguageModels/SpellCorrect.py
eac890bb467c73e5af94fbc9b6deec1900d548bc
[]
no_license
sezhiyanhari/Natural-Language
0cd1c086908c19f6ccc435547e1f027977ebc441
d56c6ba80683df0d909c2e4e1aab943f11b7dd2c
refs/heads/master
2021-09-20T19:54:41.784198
2018-08-14T22:18:15
2018-08-14T22:18:15
119,505,147
0
1
null
null
null
null
UTF-8
Python
false
false
4,714
py
## # Credit Zhou Yu, Dan Jurafsky, Peter Norvig # Updated Kevin Jesse # Open source code under MIT license ## import math from Datum import Datum from Sentence import Sentence from Corpus import Corpus from UniformModel import UniformModel from UnigramModel import UnigramModel from BackoffModel import BackoffModel fro...
[ "noreply@github.com" ]
noreply@github.com
4911d82b51dc9ec4b68a07e2dc8f0b5229a842e6
099f8740e61878c92c067e96d76ccb014cd342c3
/robovat/simulation/__init__.py
718ea92343dbbbccf8f49643d7c02676671f222b
[ "MIT" ]
permissive
UT-Austin-RPL/robovat
c52d7f0b5b4244ad19fc7c15c876e005626bf182
c333ce7f1d7b156bedf28c3b09793f5487b6690a
refs/heads/master
2023-01-06T12:32:39.304293
2020-11-12T20:12:25
2020-11-12T20:12:25
290,521,446
7
2
MIT
2020-08-28T17:33:52
2020-08-26T14:37:23
null
UTF-8
Python
false
false
381
py
from robovat.simulation.base import Base from robovat.simulation.body import Body from robovat.simulation.constraint import Constraint from robovat.simulation.controllable_body import ControllableBody from robovat.simulation.entity import Entity from robovat.simulation.joint import Joint from robovat.simulation.link im...
[ "kuanfang@outlook.com" ]
kuanfang@outlook.com
c06a72838532445c98d815aec09855d509744d32
c45e0cac6fbdb3b2bd56a9976f291b686f2d1a0b
/base.py
f3a45e1305486b75afeaed9ab52507e5dd615eca
[]
no_license
Marcel-Zaripov/hotel_api_client
f9cd975c2d4709169eb89ad98d77d187ea913779
c3ea4996fbbcbac828f59822fd94dc6e0b5c5761
refs/heads/master
2021-04-11T09:37:36.463628
2020-03-21T16:14:40
2020-03-21T16:14:40
249,008,435
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
class ClientBase(object): """ Other endpoints are build on top """ endpoint = "/" def __init__(self, client): self.client = client self.endpoint = client.endpoint + self.endpoint @property def transport(self): """ return type: transport.Transport """ ...
[ "marsel281292@gmail.com" ]
marsel281292@gmail.com
1e5a9be74f78ccb91bf9ebd626783bf8123fcbaf
8e2e28a191fa5ec5a6c070ec7e9ccad98c8b4a0b
/jiaocheng/02-python核心编程/05-getattribute属性.py
0751dbd47c6556fed35b260ab822029c2dbcc613
[ "Apache-2.0" ]
permissive
kellanfan/python
4cd61cbc062e2eee3a900fa7447ca5f0b8f1a999
912dc05a3bd0ded9544166a68da23ca0a97b84da
refs/heads/master
2023-04-06T03:04:38.851928
2023-04-01T02:45:56
2023-04-01T02:45:56
65,542,280
3
5
null
null
null
null
UTF-8
Python
false
false
896
py
class Itcast(object): def __init__(self,subject1): self.subject1 = subject1 self.subject2 = 'cpp' #属性访问时拦截器,打log def __getattribute__(self,obj): print("====1>%s"%obj) if obj == 'subject1': print('log subject1') return 'redirect python' else: ...
[ "icyfk1989@163.com" ]
icyfk1989@163.com
414ed28465cf60ea43c6d12ba7607866090bf80f
97f6a698b73d1759b90054e1600ff7498a7cc900
/Node/index.py
8250f9169ee98fb978d29f3d6d0d441b54fc4f9c
[]
no_license
kwishna/LearnJs
0a18cc9d26df7cc7617584ba7d8fa93cbc6a700f
9dcc7fbedc4e9799f1bb73666e378a8b339efaa5
refs/heads/master
2022-12-22T13:12:52.760580
2019-12-03T13:42:49
2019-12-03T13:42:49
225,630,581
0
0
null
2022-12-11T15:48:55
2019-12-03T13:46:38
JavaScript
UTF-8
Python
false
false
90
py
import wget wget.download('https://go.microsoft.com/fwlink/?LinkID=521962', './mukk.xlsx')
[ "krishna.singh16@wipro.com" ]
krishna.singh16@wipro.com
ee2b56937ab41dce748d91597d495e18e0016a07
e0ed7f8eb422ee85f1d7a4b69f6365ba543a5ca7
/client_server_app/lesson_6/when_deco_is_called.py
996b80f8d8c61625978a339c7fcdd4ac5ff34b0c
[]
no_license
tataurova/lessons-gb-python
5e3ce6a4eef86fe20c962a011050004d9e8daedb
60c7d9fd414dd1177b8a10e7683906c49e126a80
refs/heads/master
2020-05-05T12:31:44.250108
2019-07-12T20:46:55
2019-07-12T20:46:55
180,032,871
0
0
null
2019-05-06T07:39:11
2019-04-07T22:46:23
HTML
UTF-8
Python
false
false
402
py
registry = [] def register(func): print(' running register ( %s ) ' % func) registry.append(func) return func @register def f1(): print('running f1()') @register def f2(): print('running f2()') def f3(): print('running f3()') def main(): print(' running main()') print(' registry ...
[ "tataurovaoe@yandex.ru" ]
tataurovaoe@yandex.ru
380d3a2189f61ad5dc3288eb0e332b61aad92215
3a3f8a8c1e5cf039856c9da87161d21050892137
/osiete_osint/apps/service/migrations/0020_auto_20210512_2220.py
cb00f138dcc322918bb2a16ffcc845745f47be28
[]
no_license
yuta519/osiete_osint
92237fad0584a82fcacacfd328151889640c7b8c
7ba7a47a2beef91d66ac00d2a2a7f1d97f7fa912
refs/heads/main
2023-06-02T21:15:29.516912
2021-06-23T00:23:25
2021-06-23T00:23:25
352,069,857
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
# Generated by Django 3.1.7 on 2021-05-12 13:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('service', '0019_auto_20210428_1620'), ] operations = [ migrations.RenameModel( old_name='DataSearchHistry', new_name='OsintS...
[ "yuta519.ka23tf@docomo.ne.jp" ]
yuta519.ka23tf@docomo.ne.jp
8a660027140e9e78abc8c1cef9034e5860eafbef
fb613b77989f1c7db1cb4e149adf0430f7a1404a
/ewrec_class.py
737298189a632a50750821fe3793b71a903c1388
[ "MIT" ]
permissive
Jeffrey-Ede/AI-CV-Automation-Elect-Micr
ce64be88d8b76d88c2e29158fa2cd5cdf4d65a7c
b53072132046ff6f1e8861b96c4263abbee2b6eb
refs/heads/AI-CV-Automation-Electr-Micr
2021-04-27T09:37:44.295030
2020-09-14T15:39:35
2020-09-14T15:39:35
122,518,865
3
0
null
2018-02-28T17:36:01
2018-02-22T18:34:05
Python
UTF-8
Python
false
false
17,188
py
import numpy as np import glob import cv2 import arrayfire as af from skimage.measure import compare_ssim as ssim from scipy.misc import imread from scipy.optimize import minimize class Utility(object): def __init__(self): pass @staticmethod def np_to_af(np_arr, dtype=af.Dtype.f...
[ "noreply@github.com" ]
noreply@github.com
5117dc2fd127111959aeb4c16a0827934522c3b0
9835b6949fe4c8018de57aee531dedf1509337cc
/September_2020/sep_11_Maximun_Product_Subarray.py
3c6c6472a9a78f7529c7993b6863e42fdb1b0150
[]
no_license
jcai0o0/My_Leetcode_Solutions
f6edea0693d252a99e6507a1724a89763113f8a0
3fc909c01c6a345f625c9ab9e0f1584ea5fa8ab4
refs/heads/master
2023-01-01T04:08:33.929184
2020-10-17T02:01:56
2020-10-17T02:01:56
289,094,613
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
class Solution: def maxProduct(self, nums: List[int]) -> int: if not nums: return 0 N = len(nums) f = [0] * N g = [0] * N f[0] = g[0] = res = nums[0] for i in range(1, N): f[i] = max(f[i-1] * nums[i], nums[i], g[i-1] * nums[i]) g[i]...
[ "44845593+jcai0o0@users.noreply.github.com" ]
44845593+jcai0o0@users.noreply.github.com
e1beec084c59e4ff5804adb437d82d4db283c86a
b9d6dfd7f115b92a5372d1f22517c0ff8e99f4de
/Algorithm Practice/DeepFM/DeepFm.py
80d2bb0d52701eef5b1edb728d2132c1d54ed9b0
[]
no_license
yespon/CTR-Prediction
8c0db3216eb96852a7e9ed523fa4035337fd5980
9f9afad89eb35c6e6bfe3b619f128714de6216a2
refs/heads/master
2020-04-17T06:44:53.760862
2019-01-12T08:30:59
2019-01-12T08:30:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,253
py
import gc import numpy as np import pandas as pd import tensorflow as tf ################################## # 0. Functions ################################## class Config(object): """ 用来存储一些配置信息 """ self.feature_dict = None self.feature_size = None self.field_size = None self.embedding_size...
[ "duboyabz@gmail.com" ]
duboyabz@gmail.com
ef329163d8ddd24d65ba20c4af2ae929f5b09b6c
f6fd4aeeee18cb94ccc9de07ca71f5ed085c4fd9
/gui.py
88f601bc33d9963dfdec98015e696444daee8168
[]
no_license
a7n007/lillyscripts
a00f6c7ed29639d66b3fe87554cf2f3f90f96936
85a4f46df6fcc750b5d33dd18768a29f3c6e0164
refs/heads/master
2020-04-07T05:02:03.701045
2019-05-31T10:29:20
2019-05-31T10:29:20
158,080,883
0
0
null
null
null
null
UTF-8
Python
false
false
5,326
py
#import tkinter from tkinter import * #create database and table import mysql.connector #import xlrd to read xcel files import xlrd root = Tk() root.title("EXCEL to Mysql") root.geometry("1000x1000+0+0") root.configure(bg="black") #INSTRUCTIONS : lel = Label(root,text="INSTRUCTIONS : ",font=("arial",20))....
[ "noreply@github.com" ]
noreply@github.com
eba02e9038c9938b77410423ec74c8f662de3900
dc40f134d3713c0a4951588182bbe64b580761ef
/web/timeline/notification.py
03e878a7ae2d6364135b9aa836ab2a0d4f958722
[ "MIT" ]
permissive
hkpeprah/television-2.0
79eaa553dc1246fc9fb468fd14830ef7fdccc3b7
8d6ce9cc7c8e22447769845159464422153cb8f6
refs/heads/master
2021-01-15T15:34:02.739470
2015-10-18T00:02:44
2015-10-18T00:05:15
38,463,076
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
from base import ValidatableObject from fields import DateField from layout import Layout class Notification(ValidatableObject): """ Notification object. """ def __init__(self, *args, **kwargs): self.time = DateField(required=True) self.layout = Layout() super(Notification, sel...
[ "ford.peprah@uwaterloo.ca" ]
ford.peprah@uwaterloo.ca
9e8f98113d5172a7d06f4107a2986b94b9e633be
d092a6a5622b8efa4d43c11708d50b0fcce832f7
/DictionaryBE/Dictionary/urls.py
2b3a07ca656c271c7de9b5abd047ab74646b5ff7
[]
no_license
sjovanov/MK-Dict
75f52921b88c0a538f8005399fe41fda12cbc906
f723bd9bf09eb7c505077695513c32accfe364a0
refs/heads/main
2023-03-19T00:51:40.523391
2021-03-16T11:52:56
2021-03-16T11:52:56
338,067,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
"""Dictionary 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...
[ "stefan.jovanov98@gmail.com" ]
stefan.jovanov98@gmail.com
d947f5ef0633272965e0c668af89b9c0bcf56449
c28ccac2daa674df07470a85d13552639a98e323
/shelvefile2.py
14094e86f477a765c391151e84967ea720df30cf
[]
no_license
jnprogrammer/basic_python
69f2ff356ebf1da120789884f99aea197856e6c0
99fe4d6bb8c6aafd3701cc725e511e9967d9b0ca
refs/heads/master
2022-09-26T00:39:32.347757
2020-06-02T02:43:04
2020-06-02T02:43:04
261,020,958
2
0
null
null
null
null
UTF-8
Python
false
false
295
py
import shelve #with shelve.open('ShelfTest') as fruit: fruit = shelve.open('ShelfTest') fruit['apple'] = "1 fruit" fruit['lemon'] = "2 fruit" fruit['grape'] = "3 fruit" fruit['lime'] = "4 fruit" fruit['orange'] = "5 fruit" print(fruit["lemon"]) print(fruit["lime"]) fruit.close() print(fruit)
[ "joshuanparker@gmail.com" ]
joshuanparker@gmail.com