blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c5cd16c93424acce1568eda1bff3b63f58522eb0
149b139871110353d5ec5a34cd99b2d9b03233e0
/scripts_bdata/oozie/atendimentorae/run_workflow_baixa.py
4353d6553a304d8a8c1594fdcf19bf20d6683b51
[]
no_license
alisonsilva/python
ca9a99700086d724605d286f05045b40713c9b07
de7b31e2279c081750e8ad13b04816e122ff253b
refs/heads/master
2020-03-07T19:14:17.802736
2018-04-26T13:47:05
2018-04-26T13:47:05
127,665,603
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
#!/usr/bin/python import os if __name__ == '__main__': os.environ['PYTHONPATH'] = '/root/scripts:' \ '/root/scripts/oracle_hdfs:' \ '/root/scripts/oracle_hdfs/atualizacao:' \ '/root/scripts/oracle_hdfs/atualizacao/tabelas...
[ "alisonsilva123@gmail.com" ]
alisonsilva123@gmail.com
b337f9d91e46b1b6675f6e63d94909f2297dcd5e
4d8d36473f9524ffe28a3bbecd747235f080ffba
/src/models/alerts/alert.py
47f8ddfaf03f8160772fb51cc185ae104191ca8e
[]
no_license
T-Kozikopoulos/steam-sale-alerts
4ca4828c648c02ff4356d58d93900f54d48c162f
9b0d54a418209269938c188dd797f82c78097489
refs/heads/master
2021-06-27T12:11:17.112688
2020-09-24T20:46:28
2020-09-24T20:46:28
139,886,795
0
0
null
2020-09-24T15:39:56
2018-07-05T18:30:07
Python
UTF-8
Python
false
false
2,964
py
import requests from datetime import datetime, timedelta from uuid import uuid4 import src.models.alerts.constants as AlertConstants from src.common.database import Database from src.models.items.item import Item class Alert(object): def __init__(self, user_email, price_limit, item_id, active=True, las...
[ "noreply@github.com" ]
T-Kozikopoulos.noreply@github.com
235c672831f5d93373e32f38e38f5655cf5ab225
fd48fba90bb227017ac2da9786d59f9b9130aaf0
/digsby/src/contacts/BuddyListElement.py
f33b3380035eee14ea46a75e7f98d16ccdad3ccf
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
niterain/digsby
bb05b959c66b957237be68cd8576e3a7c0f7c693
16a62c7df1018a49eaa8151c0f8b881c7e252949
refs/heads/master
2021-01-18T10:07:10.244382
2013-11-03T02:48:25
2013-11-03T02:48:25
5,991,568
1
0
null
2013-11-03T02:48:26
2012-09-28T02:24:50
Python
UTF-8
Python
false
false
630
py
from util.primitives.funcs import isiterable from common.actions import ActionMeta class BuddyListElement(object): __metaclass__ = ActionMeta @property def num_online(self): from Contact import Contact if isiterable(self) and not isinstance(self, Contact): return su...
[ "mdougherty@tagged.com" ]
mdougherty@tagged.com
1b6e511387f944e0ce53157aa60363c6551647e9
2a4290c36832e7080faa4104d58083c29ed1ea09
/prepro.py
244c70dc13f9e7ef94ec033204e0662e264afae7
[]
no_license
jerryli27/my_dtn
0380e22fb7892f5d46084339a5edb24c8ed5b8c8
54b16f403a480c35d5ae331dbbfd0efed53880b9
refs/heads/master
2021-01-19T17:17:19.787195
2017-03-05T21:48:06
2017-03-05T21:48:06
82,433,878
3
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
""" The cat face data comes from https://sites.google.com/site/catdatacollection/data """ import numpy as np import pickle from PIL import Image from tensorflow.examples.tutorials.mnist import input_data def resize_images(image_arrays, size=[32, 32]): # convert float type to integer image_arrays = (image_ar...
[ "jerrylijiaming@gmail.com" ]
jerrylijiaming@gmail.com
5707bc9c873bbcf4b9dffb1598bcf5ce52d4b1cb
3f69f2baaee00456cc86e6e261b906d35d202569
/utils/pynetcat.py
738680f5ba3e6dbcdb0034a6c95156f5dea556db
[]
no_license
CsBigDataHub/spark-training
24b425f32a3af008bc22672a950af4b2c2e3e6d5
10be52e02a143b2f909abdef8c6fe4cf10903498
refs/heads/master
2021-04-12T08:48:52.147138
2018-03-24T17:04:34
2018-03-24T17:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,856
py
#!/usr/bin/python import sys import socket import optparse from datetime import datetime import select def parse_options(): """ Parses all command line options and returns an approprate Options object :return: """ parser = optparse.OptionParser(description='Python NetCat Server.') parser.add...
[ "k.kupferschmidt@dimajix.de" ]
k.kupferschmidt@dimajix.de
fcc4ddec00b8fd232ecb2e83a530d7159d2dabd7
10dc0b7a2369b0443e920482e1b78c3029c0c5b9
/cbac/core/constants/block_id.py
c2f871ce1c338d1565a27127dcbb38f3489e6aca
[]
no_license
bowiz2/cbac
cb0b3ad73a4cf90bee8bef8e1071ae9975550042
8bbb26b2c3bbaa0712b5321d85b9f3834a0016fb
refs/heads/master
2020-05-22T01:44:33.209676
2016-10-22T21:39:52
2016-10-22T21:39:52
64,747,055
1
1
null
null
null
null
UTF-8
Python
false
false
880
py
""" Holds all the block ids which are used in this program and are provided for the user for easier semantics. """ EMPTY_BLOCK = 0 AIR_BLOCK = EMPTY_BLOCK GLASS_BLOCK = 20 SNOW_BLOCK = 80 REDSTONE_BLOCK = 152 EMERALD_BLOCK = 133 # A block which represents the "true" value. TRUE_BLOCK = REDSTONE_BLOCK # A block which re...
[ "sasha@paticon.com" ]
sasha@paticon.com
756b6e795e5840322f4ae181d0be8896f45185a5
13d5e11e1ab71d4916757a08f196ec7aee08ec61
/views.py
31410738bd66d3b1e0f9d9468fb491c0af4cd007
[]
no_license
ThakkarVedang/Student_face_recognition_Attendance_system
b822dc609f2bcbd426b606b38931cce2a14a187d
243df003da55f3a79c50decc8272c991dd963d04
refs/heads/main
2023-02-22T00:25:53.451699
2020-10-07T10:28:48
2020-10-07T10:28:48
301,985,646
0
1
null
null
null
null
UTF-8
Python
false
false
138
py
from django.shortcuts import render from django.http import HttpResponse def home(request): return render(request,'index.html')
[ "noreply@github.com" ]
ThakkarVedang.noreply@github.com
5729710da8412b24b58a410ba0d35abe8f3955da
5a3f0f5a2ecb625209add36326de3c7dd6835d66
/aula14_estrutura_dados_compostos.py
e497f3328fc2e6eb65a0495514991e5fd43d48b4
[]
no_license
rafaelmelorms/pythonlearning
9eb9854918a5ef604caeb0cacd90a1635c6d1719
bcac062ff6861fc99bd90d70de606b79f209c31e
refs/heads/master
2020-04-18T00:49:43.199887
2019-02-06T17:50:07
2019-02-06T17:50:07
167,093,078
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
#!/usr/bin/python3.6 # -*- coding: utf-8 -*- #Estruturas De Dados Compostas '''Podemos incluir contentores em outros contentores para criar estruturas de dados compostas. Por exemplo, este dicionário mapeia chaves para valores que são também dicionários!''' elements = {"hydrogen": {"number": 1, ...
[ "noreply@github.com" ]
rafaelmelorms.noreply@github.com
d0ecd64d2fe16d6c50d3a51d49b2fca1bdfdb0cd
e70b6032024b290e2ba11fa5266ef912d9ac14a2
/crits/comments/urls.py
bdb50ae5c327a6f98d12bcca1f9b041ce9ffffc0
[ "MIT" ]
permissive
ckane/crits
105b45c00b6ad85064b8e33ecd12e7474fc84fd6
e2f2b71927d08e6432a0e540a0f4634da675ce53
refs/heads/master
2021-01-17T07:57:01.495393
2016-04-11T04:29:35
2016-04-11T04:29:35
20,622,493
2
0
null
2016-04-11T04:29:36
2014-06-08T17:45:07
JavaScript
UTF-8
Python
false
false
558
py
from django.conf.urls import patterns urlpatterns = patterns('crits.comments.views', (r'^remove/(?P<obj_id>\S+)/$', 'remove_comment'), (r'^(?P<method>\S+)/(?P<obj_type>\S+)/(?P<obj_id>\S+)/$', 'add_update_comment'), (r'^activity/$', 'activity'), (r'^activity/(?P<atype>\S+)/(?P<value>\S+)/$', 'activity'...
[ "mgoffin@mitre.org" ]
mgoffin@mitre.org
4787f8c1a8d397cd052ab9ed44de61aa9a2fa98f
49cd5351b80794ff4b105fcb710e0b1e775fd4ad
/r1.py
a9954aa80dc1f1ae3be39d407077e6a8c4c8195c
[]
no_license
jerryjerry1128/chat_record
4002d5d553a3024888ccc4ac0b4be4373faabb1e
0fc9ec09a90148bee523ac197e03b181cb1a7284
refs/heads/master
2020-12-05T12:37:40.374994
2020-01-06T15:07:46
2020-01-06T15:07:46
232,112,406
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
def read_file(filename): lines = [] with open(filename, 'r', encoding = 'utf-8-sig') as f: for line in f: lines.append(line.strip()) return lines def deal(lines): new_lines = [] person = None for i in lines: if i == 'Allen': person = 'Allen' ...
[ "jerryjerry1128@gmail.com" ]
jerryjerry1128@gmail.com
4a0347b6a790608d42ca0ea829c0fa883189e6ac
f679d27635dcb6174905fb83e296882b4a6a5717
/recipe_project/recipe_project/apps/recipes/forms.py
928396a9f90de16204cb60bb79a98ad47bb0243c
[ "MIT" ]
permissive
Mark4nov/recipe-calculator-Django
3e121a65e55294f631fd98fa064a645a30d11bf4
d9bb3e4c1c7624d540debd9b2c427e0cc5f4ce78
refs/heads/main
2023-08-24T18:10:04.439019
2021-10-17T03:27:23
2021-10-17T03:27:23
410,404,114
0
0
MIT
2021-10-09T16:54:28
2021-09-25T23:34:32
Python
UTF-8
Python
false
false
2,203
py
from django import forms from django.forms import formset_factory from .models import Category,Measure,IngPrice class RecipeForm(forms.Form): name = forms.CharField( label="Recipe name", required=True, widget=forms.TextInput( attrs={ 'placeholder':"Enter Recipe...
[ "isaacmgonzalezf@gmail.com" ]
isaacmgonzalezf@gmail.com
9f3a95fde642f4bc4a8e5055cbf3f3d67732cfe0
1267d0fd636d6ee48de14c4d815761232535992b
/Question1.py
1cbd6c45a81fe9d13de9033097a9970280e4f936
[]
no_license
Venu-41/CCTech-SD-Challenge
6631376c2701579aeb30297e62913e2cbdeec82a
09c573d3455a50113a437277196b714f4429b6e1
refs/heads/master
2022-10-21T21:34:00.039199
2020-06-13T10:47:53
2020-06-13T10:47:53
271,962,748
0
1
null
2020-06-19T14:35:58
2020-06-13T07:34:56
Python
UTF-8
Python
false
false
1,499
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jun 12 06:19:14 2020 CCTech June 2020 Software Developer Hiring Challenge Question 1: @author: venu Angirekula """ import numpy as np import matplotlib.pyplot as plt import numpy.random as ran #%% #Inputs Location = {0:'Outside',1:'inside'} # Polygon ...
[ "noreply@github.com" ]
Venu-41.noreply@github.com
61d11aa48b666a4764c451abf39a9062de4b4f97
2a0f06dcbdc146151a28d587a96d935c117f6499
/mendeleev/plotting.py
adf92a1b940a62afd2c754e828de264d6ac936a8
[ "MIT" ]
permissive
chemmatcars/XModFit
ac2ad8aa5222ba243011a3e445933f061cc3bc6b
abbb091e703cfc3580a39b68070f5b60d3abb86b
refs/heads/main
2023-08-09T15:18:55.170768
2023-07-24T19:30:07
2023-07-24T19:30:07
390,606,994
0
2
null
null
null
null
UTF-8
Python
false
false
9,762
py
# -*- coding: utf-8 -*- # The MIT License (MIT) # # Copyright (c) 2015 Lukasz Mentel # # 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 r...
[ "nayanbera@gmail.com" ]
nayanbera@gmail.com
03d3d6b6062452e771dd0f53277a1ff0b3f6c1e9
1df7ba55c4b61772c1a31c503e6b8881f1456dc5
/untitled9/apps/courses/migrations/0010_auto_20170209_1147.py
dfa9d9ea221e6a9ea9b645c7a86fa3dfcace7f37
[]
no_license
fzk466569/python-django-pro
35918756060fcae375d3c99ea1a6934949b6d605
9add086b7a910f255df5b192268f1e117057e053
refs/heads/master
2021-01-19T13:18:14.141880
2017-02-19T12:16:29
2017-02-19T12:16:29
82,374,668
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2017-02-09 11:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0009_auto_20170209_1146'), ] operations = [ migrations.AlterField...
[ "fzk466569" ]
fzk466569
c21fc02c2e05ee05fda52e28f2e6ab1c68980ba5
b45237bbca0daddeb0ce766b04eaa82119a585c6
/config.py
f212263da1a24c3fad1a3796b88d92223405766c
[]
no_license
rezacode01/Proxy-Server
a5e75965da7ac04279e0148fbb8cc7bbf0ef4e26
354a39ef711f09d46eb3e623d8ee19681f09d8e7
refs/heads/master
2020-04-03T21:53:01.368854
2018-11-01T08:30:49
2018-11-01T08:30:49
155,585,498
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
import json with open("config.json") as config_file: config_data = json.load(config_file) PORT = config_data['port'] MAX_CONNECTION = 3 MAX_BUFFER_SIZE = 8096 LOG_CONFIG = config_data['logging'] PRIVACY = config_data['privacy'] RESTRICTION = config_data['restriction'] SLOW = 'SLOW' BLOCK = 'BLOCK'
[ "rezacode01@gmail.com" ]
rezacode01@gmail.com
adabb28645a4995fcbabba12036c89fd5fe2c9f3
9acef30b25d7443c8e989270f072f6eef862242e
/app.py
a3c50a70ffd447c98d50aa05116c2e0d5c63a7b1
[]
no_license
vamsikrishna777/backend-work
fedbe207e1131638ae16b48275f391e9ca25ff0f
ba703b6e0fc1b4bfd1582f229573658060ce8adc
refs/heads/master
2021-01-24T04:13:11.240196
2018-02-26T08:30:18
2018-02-26T08:30:18
122,925,970
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from flask import Flask from flask import jsonify app = Flask("application") print("test") @app.route("/") def hello(): return jsonify({"meesage": "test", "flag": True}) if __name__ == '__main__': app.run(debug=True)
[ "noreply@github.com" ]
vamsikrishna777.noreply@github.com
4d744aa46c683d2fc853253f6b15ceceb41d8cde
526a51a55557d60161c86a12505c26aaad7128a3
/my_txtutils.py
8c52c7120e388439066db31266743e2c9e103ef5
[]
no_license
SvenDH/Kickstarter-Project-Generator
9072427d2c6fb014d4c8908c50ab2d65352c9ab7
32e5d70d7d0e821b18c113b7473c9a4c3bd6c697
refs/heads/master
2021-06-18T17:18:11.502601
2017-06-19T22:09:36
2017-06-19T22:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,658
py
# encoding: UTF-8 # Copyright 2017 Google.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 to...
[ "denhartog.sven@gmail.com" ]
denhartog.sven@gmail.com
c301394e06bbc91ff7923a7ce0f4424d0f020b8c
c35910349b24125645d203c0298abba5a0fec70f
/src/nc_lp.py
ad43e56348b3e87dcb6ebcc9f42d6ea258357272
[ "BSD-3-Clause" ]
permissive
jurjsorinliviu/DeepConcolic
cbc7feb122b082cdbbb0ef13a72e8ce9064e11b9
ac400d40a65ca3ed831bc60da1df6ef9560cf110
refs/heads/master
2020-03-25T02:20:15.330912
2018-07-30T16:08:30
2018-07-30T16:08:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,914
py
import cplex import sys import numpy as np from utils import * from lp_encoding import * import copy epsilon=1.0/(255) def negate(dnn, act_inst, test, nc_layer, nc_pos, base_constraints): var_names=copy.copy(base_constraints.var_names) var_names_vect=copy.copy(base_constraints.names) objective=copy.copy(base_...
[ "youcheng.sun@cs.ox.ac.uk" ]
youcheng.sun@cs.ox.ac.uk
47e4920a28f934a51aa8f40d0eedcec6b4604984
6ce741b4b98fe03f69412b03960c910a2ff3a28a
/util/filter_gff_by_id_list.py
74765d63c329733e46ee799152af83965045aeb7
[ "MIT" ]
permissive
MayroseLab/Panoramic
901aa6529d16c297cbb8f912d76e1a4779b27244
06bc8d32b26291f3d1a49612c631ab03e19069d5
refs/heads/master
2023-09-04T04:32:49.213165
2023-05-30T12:55:14
2023-05-30T12:55:14
280,074,129
5
2
MIT
2023-09-11T08:08:15
2020-07-16T06:35:17
Python
UTF-8
Python
false
false
759
py
""" Takes a gff3 file and a file with list of IDs (one per line). Output is a gff3 file containing only features with ID or Parent from the IDs list. """ from __future__ import print_function import sys in_gff = sys.argv[1] in_list = sys.argv[2] out_gff = sys.argv[3] with open(in_list) as f: ids_list = set([l.stri...
[ "liorglic@mail.tau.ac.il" ]
liorglic@mail.tau.ac.il
69479e0f47759c70e9f8aa27a050e7007ad98c4b
6f09d4931c2704d6652bda2c0e212220a3a6820f
/venv/Lib/site-packages/rfxcom/protocol/base.py
19768a3d194f8e0b80caffd67b6a9d1d23f6c7a6
[]
no_license
sh-shrey/Django-wwebsite
3545dc383840241d26f67ae42f0c46f346cc1b1f
aa72569d5005912e7580e8bdfc65a94a2617c500
refs/heads/master
2023-08-15T23:08:48.202086
2021-09-26T17:52:24
2021-09-26T17:52:24
410,618,263
0
0
null
null
null
null
UTF-8
Python
false
false
6,193
py
""" Base Protocol ============= The base package used to define the domain models for Packets and and Packet Handlers. """ from datetime import datetime from logging import getLogger from rfxcom.exceptions import (InvalidPacketLength, UnknownPacketType, UnknownPacketSubtype, RFXComExc...
[ "shreyashahi202@gmail.com" ]
shreyashahi202@gmail.com
095c6844b796a1aa2773a69bc20447cb7d6c0cd5
efe67da7ca1092e033fba7b0a251a43d9a165022
/get_city_from_id/views.py
5d69da18fd281507a348b06021c952f6c6f4bd2e
[]
no_license
poojapauskar/savmytime-api
0a019077720ab9ec9bd113379e77f0f4c83ef887
2bb48d60fce24888c2d4e4ba3b1da8947242a1fd
refs/heads/master
2021-01-21T13:29:41.086409
2016-05-09T06:38:54
2016-05-09T06:38:54
54,106,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
from services.models import Services from category.models import Category from sub_category.models import Sub_category from cities.models import Cities from get_details.serializers import Get_detailsSerializer from rest_framework import generics # from ticket.permissions import IsOwnerOrReadOnly # from rest_framework i...
[ "git.poojapauskar@gmail.com" ]
git.poojapauskar@gmail.com
27a6da14c114fad8e66be0ff1132b481bbb7693c
b974df58eb68ca69dc7b47ce02cec4d532c9c481
/tests/test_data_warehouse.py
09b5bdd5ba486aef15a9d9b04c9c12e4b27ca3e3
[]
no_license
rodrigombsoares/mec-data
8202e643a145eb1cc02b8ec5cb9156660df63f5b
3fcdcd8126b12fbf7ee99b1a17642e2d74ac890c
refs/heads/master
2021-03-12T05:56:55.207599
2020-05-25T15:12:48
2020-05-25T15:12:48
246,595,659
0
0
null
null
null
null
UTF-8
Python
false
false
2,020
py
import os from unittest import TestCase from unittest.mock import patch from mec_data.manage.app import create_app from mec_data.model.databases import data_warehouse class TestDataWarehouse(TestCase): @classmethod def setUpClass(cls): cls.test_app = create_app() # Config Mocked DW # T...
[ "rodrigombsoares@gmail.com" ]
rodrigombsoares@gmail.com
3737cfb70aa9f11baf71bdf917a212721adc916d
71825fecdaa2ee2743150d2d3707ea65665dee19
/homados/homados/contrib/viewsets.py
d9c034f02fcbcd37ae02f2c2a8830aa594fe02fb
[]
no_license
cleanmgr112/MetasploitCoop-Backend
8adcdd6ee68017b10c97f9d42878dd556572fd84
ecdc27ec46ed0f25f20c1bfe95632204c821f738
refs/heads/master
2023-07-14T20:18:17.017627
2021-08-17T10:25:43
2021-08-17T10:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
from rest_framework import viewsets, mixins class ListDestroyViewSet(mixins.DestroyModelMixin, mixins.ListModelMixin, viewsets.GenericViewSet): """ A viewset that provides default `destroy()` and `list()` actions. """ pass class NoUpdateViewSet(mixin...
[ "akkumans@qq.com" ]
akkumans@qq.com
123d2b1003500f05875c08d4fb2e3d3e3fd1e9d4
e32f70efd5b79efb9872e6185da6a8982e703f46
/app/core/migrations/0001_initial.py
5c266bc11d8a446bd9b021e0a302788716918c5a
[ "MIT" ]
permissive
hmoodallahma/recipe-app-api
94b52ac51c250a6b250363353e4f82909de5c7ed
13ea22aca5cc2dd1a4e6ed4860f937e46fd2939b
refs/heads/main
2023-02-18T18:15:18.962321
2021-01-21T18:44:02
2021-01-21T18:44:02
329,064,563
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
# Generated by Django 3.1.4 on 2021-01-12 19:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "hmoodallahma@gmail.com" ]
hmoodallahma@gmail.com
993b3a2064c72aeb239c33e30fa6da4262bdc552
8ad0073e812eb3225ba1b29940078eb8442264e0
/supervised_learning/0x08-deep_cnns/7-densenet121.py
dea93dd7f3ee3e2f2470721a45f3e867c6e91cb6
[]
no_license
Jimmer942/holbertonschool-machine_learning
0a6fbee3ce6a6887b33c8125308d66690c55b61e
87870d1cf7e027982372eca0717cf760cc0ce042
refs/heads/main
2023-06-12T08:31:36.582383
2021-07-06T02:51:30
2021-07-06T02:51:30
330,673,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
#!/usr/bin/env python3 """ a resnet 50 maker """ import tensorflow.keras as K dense_block = __import__('5-dense_block').dense_block transition_layer = __import__('6-transition_layer').transition_layer def densenet121(growth_rate=32, compression=1.0): """the DenseNet-121 architecture of Densely Connected Con...
[ "942@holbertonschool.com" ]
942@holbertonschool.com
3e863d3b5c20041ed3cb6a75a82754a64d3136fd
d279e83427fca9f5c9868e8a7ad1cd8d347e6a28
/advent2019_day25.py
31daae4abf8220d3ab9637ffc85ce2a5d328b065
[ "MIT" ]
permissive
coandco/advent2019
8799f3b544bf045be04495fad24815b6f79b0010
4e83b6165c32864f0fffd4866ce57b45a0a7f4fc
refs/heads/master
2020-09-22T07:00:56.504965
2019-12-31T19:07:48
2019-12-31T19:07:48
225,097,080
2
2
MIT
2019-12-28T02:23:21
2019-12-01T02:37:42
Python
UTF-8
Python
false
false
636
py
from utils import read_data from advent2019_day25_intcode import run_tape_multithreaded from multiprocessing import Process, Queue DATA = [int(x) for x in read_data().split(",")] # Items needed to pass my detector floor: # - hologram # - space heater # - antenna # - astronaut ice cream if __name__ == '__main__': ...
[ "coandco@gmail.com" ]
coandco@gmail.com
573a193c39d9439dca5d7bd30a379c92a02b9329
4a81e33fe6d214f2efaeb97b03b5b05fae12b0d8
/demos/great-expectations/venv/lib/python3.8/site-packages/great_expectations/expectations/core/expect_column_value_lengths_to_equal.py
082cd7affc8769938d3c0e6cee1b6a9c66d84c5e
[]
no_license
franciscojavierarceo/Python
29aaea28642dde151255c5b4a813158e975a073d
02715ca6f19fd3c76cefa12de92deeae4ddf9684
refs/heads/main
2023-08-27T14:23:04.376095
2023-08-27T10:30:37
2023-08-27T10:30:37
33,146,755
7
9
null
2023-02-16T06:40:35
2015-03-30T20:38:00
Jupyter Notebook
UTF-8
Python
false
false
9,388
py
from typing import Optional from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.expectations.expectation import ( ColumnMapExpectation, InvalidExpectationConfigurationError, ) from great_expectations.expectations.util import render_evaluation_parameter...
[ "arceofrancisco@gmail.com" ]
arceofrancisco@gmail.com
61b4081b28ae6a8a0b66826389ed5b2bf8f6a8bd
82b728e805d887102c0b8c415731b353877690cd
/samples/generated_samples/aiplatform_generated_aiplatform_v1_job_service_list_data_labeling_jobs_async.py
ff63ecabec79d5b44b37a6226ced8498752c4070
[ "Apache-2.0" ]
permissive
geraint0923/python-aiplatform
90c7742c9bdbde05b9688b117e8e59c0406d6f85
7ab05d5e127636d96365b7ea408974ccd6c2f0fe
refs/heads/main
2023-08-24T05:30:38.519239
2021-10-27T20:38:25
2021-10-27T20:38:25
370,803,114
0
0
Apache-2.0
2021-05-25T19:15:47
2021-05-25T19:15:46
null
UTF-8
Python
false
false
1,627
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
geraint0923.noreply@github.com
637c9052ec6cfa09517634c6b68099e9a6470ff8
7a8fcae483d18e87481443f4476d56b5180459e6
/statemachine/registry.py
c1632ebc937664e2f22b410a9f4334a197abc83f
[ "MIT" ]
permissive
Gariagi/python-statemachine
63c67696f57eeda75054df399999bfe7fb21c783
7dddc714752ef56dd9e54fe246c0050f40c0ad2d
refs/heads/develop
2020-03-09T01:04:15.124145
2018-04-29T17:53:36
2018-04-29T17:53:36
128,504,334
0
0
MIT
2018-04-29T17:53:37
2018-04-07T06:56:05
Python
UTF-8
Python
false
false
1,206
py
# coding: utf-8 _REGISTRY = {} _initialized = False def register(cls): _REGISTRY[cls.__name__] = cls return cls def get_machine_cls(name): init_registry() return _REGISTRY[name] def init_registry(): global _initialized if not _initialized: load_modules(['statemachine', 'statemachi...
[ "fgmacedo@gmail.com" ]
fgmacedo@gmail.com
14f178cebd12871b2e29d5b54a2c6d71d47622a4
3a1bae5b4a49c8f3050f37c3875a5a1dfd6f8316
/bookzen_flask/bookzen.py
7c91da763601eb07dd5749b3d1277ba732dc04ae
[]
no_license
meomap/bookzen
9e86f5d3e63bfbd1e87fae41465115d27ebdd321
e764dea45c7a5174b728d225ef2aaef3ed09bc9b
refs/heads/master
2021-01-19T13:25:23.704102
2017-02-17T01:52:26
2017-02-17T01:52:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,555
py
# -*- coding: iso-8859-15 -*- import json from email.header import Header from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.utils import formataddr import smtplib from flask import Flask, render_template, redirect, url_for from flask_mongoengine import MongoEngine from fla...
[ "tu0703@gmail.com" ]
tu0703@gmail.com
0f260f1dbdd72e3b8c0677de922da98c7967e15b
bb7ebdd990d3265a585700e1083b3e916842aec6
/scrapper/article.py
c5d9ffb192e8310d3615e63aaf29c76355f4090d
[]
no_license
c24b/clean_crawtext
2c2a6d6292f5bb00afa45ebb28ba16bf2f0a229e
f1dc20298da418680b1b96dd0468846cbf09a112
refs/heads/master
2020-05-18T00:58:55.308025
2014-08-19T11:50:52
2014-08-19T11:50:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,889
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- from copy import deepcopy from parsers import Parser from cleaners import StandardDocumentCleaner from formatters import StandardOutputFormatter from extractors import StandardContentExtractor import datetime from BeautifulSoup import BeautifulSoup as bs class Extractor(o...
[ "4barbes@gmail.com" ]
4barbes@gmail.com
756701c21ae76dbd27a2bb855e460547586c29fb
46cbd0fc047eceb9378a85b4e4db7577cc1597a1
/primepath_Output_KMP.py
d48b7d978300f87ca2211ecb4e0345e3a6f8fa3d
[]
no_license
chnherb/TestFramework
fa4f0276c22b0ca26cb1473dd6ad0ee19659837f
08eeb7959039875f162ba4942e3ee1a37722b9ba
refs/heads/master
2020-12-25T18:42:37.506856
2017-06-11T01:59:47
2017-06-11T01:59:47
93,975,303
0
1
null
null
null
null
UTF-8
Python
false
false
4,884
py
# encoding=utf-8 import copy import os import datetime start = datetime.datetime.now() #存储图的字典 graph = dict() #存储简单路径列表的列表 simplePath = [] #存储基本路径列表的列表 primePath =[] #初始化存储图的字典 def Init(fileName): path = os.path.dirname(__file__) filePath = path + "/" + fileName print filePath with open(filePath, 'r'...
[ "chnhuangbo@qq.com" ]
chnhuangbo@qq.com
e28cb9b5a3e6cdc394d60abc7b8bcbb06008067f
09d4fd83012e67659146564a28be6f149e5551a6
/Nivel 1/Semana_3/Clase 2/funtionRandom.py
ea633a3ee9ab2cb84ccd1a1432c56a17a248ac91
[]
no_license
judmontoyaso/MisionTic2022
1196eaf76639be0c49c358c75909f6897f9b7844
f83bb68a0f22362cdea53813b01db9cf4e1c9dd4
refs/heads/main
2023-08-22T19:43:31.537381
2021-09-27T17:23:18
2021-09-27T17:23:18
372,958,071
0
0
null
2021-09-22T18:44:00
2021-06-01T20:49:57
Python
UTF-8
Python
false
false
522
py
import random def randomNumberFuntion(number): lisOfRandomNumbers = [] for randomNumber in range(0, number): lisOfRandomNumbers.append(random.randint(0,10)) return lisOfRandomNumbers def searchInRandomList(numberToFind, listToSearch): found = False for index,element in enumerate(listToSea...
[ "judmontoyaso@unal.edu.co" ]
judmontoyaso@unal.edu.co
90229bbbe4785a5b999ee5d8722e20f28827c56f
c05ed32f1ef7e1eb7d73efd674e7d1fd710ad171
/daily-coding-problems/problem395.py
bf3a13cf875b08ed3da6182d02891d6d297eafa6
[]
no_license
carlhinderer/python-exercises
c8367517fdf835fa1117f96dbfee3dccc596afa6
4e09bbb4c4e2bd5644ed50e997db9f3c289a18f7
refs/heads/master
2021-06-01T16:17:00.389134
2021-02-09T18:21:01
2021-02-09T18:21:01
150,902,917
0
0
null
2021-04-20T20:33:11
2018-09-29T21:03:36
Python
UTF-8
Python
false
false
275
py
# Problem 395 # Medium # Asked by Robinhood # # Given an array of strings, group anagrams together. # # For example, given the following array: # # ['eat', 'ate', 'apt', 'pat', 'tea', 'now'] # # Return: # # [['eat', 'ate', 'tea'], # ['apt', 'pat'], # ['now']] #
[ "carl.hinderer4@gmail.com" ]
carl.hinderer4@gmail.com
6ea8d87f4043296a4cc62e53fd9effbbff89bc02
23307f8e889f232724756bb26b1def1f0ba3323b
/fairseq/tasks/translation.py
eb8f1152748737cafa5b8b528dcc64d926689108
[]
no_license
krisjeong/fairseq_data
9395cb574d91147c95b6f08eecd814e4cb2fdad8
f29e7dae3c2be3a908e795bfc952cc845b80280d
refs/heads/master
2023-07-12T22:21:22.349970
2021-08-18T06:20:11
2021-08-18T06:20:11
397,152,122
0
0
null
null
null
null
UTF-8
Python
false
false
18,421
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import itertools import json import logging import os from argparse import Namespace import numpy as np from fairseq import metri...
[ "krisjeong00@gmail.com" ]
krisjeong00@gmail.com
eabfb6342523d63902e2f630ac1700d809d363ff
819291e5c984c9b662ceffbb23ce69f2c8f9f4a8
/Training Gate/Kelas Pembelajaran Pemrograman/1. Pemrograman Dasar/08. Analisis Kompleksitas/c-bilangan_agak_prima.py
425f658b3366cfa6c93abd277cc9e5326f6fa61f
[]
no_license
Alfian285/tlx-solutions
a10415b895b0cce33d9963d4945ea56d03f192b3
abe1e66dd53e7e4aa2c26169a2fc49fa877f6d60
refs/heads/master
2023-04-07T06:38:05.488811
2018-07-28T19:26:19
2018-07-28T19:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
import sys from math import sqrt, ceil while True: n = sys.stdin.readline() if not n: break n = int(n) for t in range(n): a = sys.stdin.readline() a = int(a) if a == 1: print('YA') continue if a == 2: print('YA') c...
[ "gilangmlr@gmail.com" ]
gilangmlr@gmail.com
efec59e8370e4f56814a2820c890bc9dc2fff0bd
659836ef3a9ac558538b016dbf4e128aa975ae7c
/backend/ingredient/migrations/0001_initial.py
4f51e388822ee86c8a34ae068419dd993474fd70
[]
no_license
zzerii/save_your_ingredients
fda1c769d158bca9dfd3c28ac9ff34ed7ae4e6a3
5ebde82255c1a6edf0c19d9032015d05c9d0abc9
refs/heads/master
2023-02-21T22:19:28.954594
2021-01-22T11:39:16
2021-01-22T11:39:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
# Generated by Django 3.1.3 on 2020-11-13 05:52 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Ingredient', fields=[ ('id', models.AutoFie...
[ "jinsoo941010@naver.com" ]
jinsoo941010@naver.com
f22823fdb89925933d5914f23110b20e3320803d
7ea2581ea8bb8a15bb76d3773580283a186abfb9
/modules/luther/sphinx/video/video.py
10e39f724c94138fb8b0ebce660f3bbfb6629767
[]
no_license
PensePython/pensepython
339c9087388e14114c4070c0d188d70a52031ca6
973c41fd28d4d16fa93f805b4d98a94706586344
refs/heads/master
2021-01-10T16:06:45.984860
2015-11-19T11:37:07
2015-11-19T11:37:07
46,566,423
2
2
null
null
null
null
UTF-8
Python
false
false
3,396
py
# Copyright (C) 2011 Bradley N. Miller # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distribute...
[ "hitoshi@macbp.local" ]
hitoshi@macbp.local
a38024493930e1128039afc22b9a7268e1a23872
30310c27c45f5129572503fa2e48832b5bc2be45
/auto_slack.py
187232e73e66290ac032a34a62847bcaeef1fce9
[]
no_license
sikyung/officePython
bd0d5731a9161438d24342e1c924c44470794e98
15e160cbc51851345778b59522b6d0b907ef74f8
refs/heads/master
2023-04-04T06:04:56.307811
2021-04-08T17:00:50
2021-04-08T17:00:50
355,909,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
import json import requests from bs4 import BeautifulSoup import pprint # 웹사이트 신규 기사 링크 템플릿 def crawling_template(url, css_selector): return_data = list() res = requests.get(url) soup = BeautifulSoup(res.content, 'html.parser') datas1 = soup.select(css_selector) for item in datas1: return_...
[ "sikoung0129@naver.com" ]
sikoung0129@naver.com
25974e1152d226c60a3e26aeaa123e258f09f894
b260b3584fbd7bc03d7138c781050928838d03d4
/wsmanclient/model.py
fc34efe81d59e9c170a05de154ae0ce4c5226e03
[ "Apache-2.0" ]
permissive
intelsdi-x/python-wsmanclient
68383932ea2fe6c8b895d474091e17b54ea36071
d17c8e9b57055c562eb502434f754839f414e69b
refs/heads/master
2022-11-24T11:54:19.063833
2022-11-07T23:05:07
2022-11-07T23:05:07
63,767,398
4
1
null
null
null
null
UTF-8
Python
false
false
1,741
py
import json class StatusedResource(object): """ An interface defining resource with an id and health status ('HealthStatus') """ def __init__(self, id, status): self.id = id self.status = status def __repr__(self): return json.dumps(self.__dict__) class CPU(StatusedResourc...
[ "antoni.rosciszewski@gmail.com" ]
antoni.rosciszewski@gmail.com
a8a418bc8d2ae874ec81e8db1ab0cbdc2af5858f
bf5870962b7129d8b57e1269d8ddb16b8731dd9d
/home/migrations/0019_auto_20200526_0650.py
d4eb5129e285bc05c04ff583a462cd1151f6c1da
[]
no_license
MesutCanpolat/DjangoProje
3acecd5af13522234dc5bd6328bce2ba49fb1081
70bdff89db706a95ef2248a57f652fb5b32406f7
refs/heads/master
2022-09-20T05:02:39.986648
2020-06-04T15:09:54
2020-06-04T15:09:54
250,898,737
1
0
null
null
null
null
UTF-8
Python
false
false
681
py
# Generated by Django 3.0.4 on 2020-05-26 03:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0018_auto_20200525_1906'), ] operations = [ migrations.AlterField( model_name='contactformmessage', name='st...
[ "mesutcanpolat06@icloud.com" ]
mesutcanpolat06@icloud.com
58e241c009aa3f3206cf9cf353ba9ec094a87366
532a409b9bc21bd2b9bf9b22d73eb99f5d93e5c8
/httpd/modules/ssl/update_policies.py
02ca860307513183f13543b82a68862af34953c2
[ "Apache-2.0", "Beerware", "RSA-MD", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-rsa-md4", "HPND-sell-variant", "metamail", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-rsa-1990", "Spencer-94", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-publi...
permissive
tyekx/musa-thesis
0d3febcaf388659fdddc5256344f6c825b6eb0d1
11e6ae92b8e726cc28523d0237663fbed4cdec8f
refs/heads/master
2020-03-18T16:45:22.642009
2018-05-26T18:16:05
2018-05-26T18:16:05
134,956,422
0
0
null
null
null
null
UTF-8
Python
false
false
3,843
py
#!/usr/bin/env python import json import os import sys from httplib import HTTPSConnection # The location were Mozilla defines the *current* TLS Security in JSON format # MOZ_TLS_CONF_SERVER = "statics.tls.security.mozilla.org" MOZ_TLS_CONF_PATH = "/server-side-tls-conf.json" MOZ_TLS_CONF_URL = "https://%s%s" %...
[ "musa.benedek@gmail.com" ]
musa.benedek@gmail.com
d0fef2d94f8411e57c496414edeb71b0f95bd2ac
4d7611375ff9830a07b770387f0549b33f3f485f
/andromeda/migrations/0007_auto_20170521_0931.py
dc4010927c29e969603aa9db883ccda6eac2cbb3
[]
no_license
enriqueao/andromedaWeb
2b7c2220f2c144b4a097a6795bf4c1c2772eedc5
95c6175c6df52e64ec7e971abaa0a65d4bbd441f
refs/heads/master
2021-01-19T23:03:28.273191
2017-06-02T01:39:49
2017-06-02T01:39:49
88,916,284
1
0
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-21 14:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('andromeda', '0006_auto_20170521_0930'), ] operations = [ migrations.AlterFiel...
[ "enriqueao96@gmail.com" ]
enriqueao96@gmail.com
c97da6f4cbe2fab9d85310007193f7f9c0e31396
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_guess_vectors1.py
dc797ddfb00b810b4621cc8d73f069c7cf32de02
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
688
py
from xcp2k.inputsection import InputSection from xcp2k.classes._each591 import _each591 class _guess_vectors1(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.Filename...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5544e9531b2e8c6bf4a08b09d9bb41b5f73d5202
769f11278134cec4cf6b7458fe19e01ae3a49074
/bots/train/trainbot_list.py
35c6d01f5c35a606cfa7af5ed8f5a88387de30ae
[]
no_license
pxldrm/chatbot
b6b570a312cc10325da4894886c5fbb6ca86e71a
158fb612fbef93ad4155050ef2c875e8e306b8df
refs/heads/master
2020-03-12T13:13:40.371077
2018-04-23T03:47:08
2018-04-23T03:47:08
125,763,703
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from chatterbot import ChatBot from chatterbot.trainers import ListTrainer import os # choose set to train from path = './assets/train/data/' training_set = 'training_data' # create and train bot bot = ChatBot( "List Bot", database="./assets/bots/database/list.db", trainer="chatterbot.trainers.ListTrainer...
[ "dmeyer017@gmail.com" ]
dmeyer017@gmail.com
42dccab42733761026b2fa6710b24c4b2bed401c
9e56ae4ec17e43894ea82ddfaef32a5c2a04eaf9
/inst/python/get_modules.py
f7c82bf2227a3ff991293c5ec2b4921d40ba6baa
[]
no_license
r-spatial/RPyGeo
65c2ecdcbcd9b3b1c94b330ee4a1c2ab351514a2
e4348bd695a305c1e57c9f525e2610dbf5808254
refs/heads/master
2022-04-14T00:39:27.455967
2020-04-05T08:20:52
2020-04-05T08:20:52
94,976,100
20
6
null
2019-03-07T15:00:37
2017-06-21T07:30:55
R
UTF-8
Python
false
false
357
py
import pkgutil import re module = {} # Get functions from main module module["main"] = dir(arcpy) # Get functions from other modules and extensions for importer, modname, ispkg in pkgutil.iter_modules(arcpy.__path__): if(re.match('[A-Za-z].*', modname)): try: module[modname] = eval('dir(arcpy.' + modname...
[ "marcbecker@posteo.de" ]
marcbecker@posteo.de
9d3910846e3df24765f8519257acb89a5d473d10
14d5ff61929ed18ad052370d6b4320e8bab516cc
/datasetformat.py
494f72a480c2de951efda11bd42cce6269a897cf
[]
no_license
ywq12/knn-tutorial
a55fe427dd589e03733b27580292026c26eccb8e
8a589dd407b237f5e52600b518159a69d749f445
refs/heads/master
2022-03-06T23:42:10.169363
2019-11-10T01:50:05
2019-11-10T01:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
def str_to_float(dataset, column): for row in dataset: row[column] = float(row[column]) return dataset def output_to_dict(dataset, column): output_dict = dict() output_set = set([row[column] for row in dataset]) for num, output in enumerate(output_set): output_dict[output] = num ...
[ "54068165+Michaelqq@users.noreply.github.com" ]
54068165+Michaelqq@users.noreply.github.com
bd430172c43db40a3cfd313c52d65ea2a81006a5
22968abaf7f89531e419bef3981c86620e2d7354
/home_control/lib/server/apc_ctl.py
707c50f7b119865a064c59fb05ce848b6e2b32da
[]
no_license
gwendalg/home_control
0efb09cbf12260b4fe61a8a5cf0f6cc206c71767
af75525a06f239e2080de109d5547a77dfaac596
refs/heads/master
2020-04-22T01:08:49.870256
2015-03-17T07:47:18
2015-09-06T15:50:54
12,675,413
0
0
null
null
null
null
UTF-8
Python
false
false
3,474
py
"""Class for APC controller""" import logging import sys import base_ctl from pb import control_pb2 from pysnmp import debug from pysnmp.proto import rfc1902 from pysnmp.entity.rfc3413.oneliner import cmdgen # Configure logging log = logging.getLogger(__name__) logging.basicConfig(level=logging.DEBUG) #debug.setLogge...
[ "gwendal@gmail.com" ]
gwendal@gmail.com
f41c4f062e270f9d6279c01876ade52fc7bd26a4
3bc564dc6ffb7e9dcd45ac29438864fb59765e7f
/test/resume2-api.py
d57c025326ec62253627e4b5503cda20d8936b60
[]
no_license
ttiaga/resume
430a647e0dcd2f3e22e3df1f7f5214ebe51a7e11
b16a3d6c1a6398e5514dfcff46c3a4156fd09cd3
refs/heads/master
2021-01-22T08:38:11.415591
2017-05-31T08:38:24
2017-05-31T08:38:24
92,625,863
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
from bottle import run, route from bottle import static_file @route('/static/<filename>') def server_static(filename): return static_file(filename, root='') run(host='10.0.0.4', port=8080, debug=True)
[ "ttiaga@gmail.com" ]
ttiaga@gmail.com
f578942ae02808cbc752a8676ff55984f7c4b053
d8dab78c27dbcb8aa4a8e2e02b092559b3c1104c
/bin/pip3
5e83b1542d6ab9c69519d423ef188a5015db69f2
[]
no_license
djoshi0613/text-matcher-tool
fab43b8d5b49a23de696f1db2cd33e46ebe9337e
dfb12b318515e8396b34f2f86a9476917ca917b8
refs/heads/master
2021-07-14T08:58:22.973431
2020-02-18T19:14:45
2020-02-18T19:14:45
241,246,027
0
0
null
null
null
null
UTF-8
Python
false
false
393
#!/Users/ssheth/text-matcher-tool/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "d.joshi@sap.com" ]
d.joshi@sap.com
789ac7373b25ef7b3b22383cd1e9ba10d138e7be
baad748abf51be00f10fdcd440ac26fa0be73894
/tools/miktex-pkg-explore.py
24447ba4b28d5c42c65e659195755f13f2e84823
[ "MIT" ]
permissive
MiKTeX/miktex-packaging
ca71d1b963e639390b7f06823747967503517429
263cdb35ae73c610574815c16a0b27f9142fefb6
refs/heads/master
2023-08-31T06:42:44.725988
2023-08-22T15:58:37
2023-08-22T15:58:37
62,953,341
28
4
MIT
2023-04-13T10:54:06
2016-07-09T14:31:45
Python
UTF-8
Python
false
false
998
py
#!/usr/bin/env python3 # # Licensed to you under the MIT license. See the LICENSE file in the # project root for more information. """ For a given package, view the contents of a) the package staging directory, and b) the CTAN directory in two system file viewer windows. """ import os import sys from miktex.packagi...
[ "cs@miktex.org" ]
cs@miktex.org
463dd6d4ce7832d679db8d5c312d57e5dca0800a
64f5373afd890e98f5bd593847d28423556c9606
/backend/project/jobs/migrations/0001_initial.py
154ffab5afabc39cd8900be5a4d9cb3ab7e5ee3c
[]
no_license
Dar0n/trackapps
aa50a5737660ca6479fdce1f66a12e2eced344d9
391f62e14ae5271393fd1c6602a0846d97483caa
refs/heads/master
2021-07-15T19:34:30.033393
2018-12-06T08:44:35
2018-12-06T08:44:35
141,711,675
0
0
null
2018-10-01T16:47:14
2018-07-20T12:52:43
Python
UTF-8
Python
false
false
1,612
py
# Generated by Django 2.0.7 on 2018-07-20 13:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('user', '0001_initial'), ] operations = [ migrations.CreateModel( name='Job'...
[ "shatuncheg@gmail.com" ]
shatuncheg@gmail.com
65b28ee3513376fdfc19b0ce3e8b4f8543856013
d737fa49e2a7af29bdbe5a892bce2bc7807a567c
/software/qt_examples/src/pyqt-official/webkit/formextractor/ui_formextractor.py
518bb9cef3ef753de6499455d980501f40903ab0
[ "GPL-3.0-only", "MIT", "CC-BY-NC-SA-4.0", "GPL-1.0-or-later" ]
permissive
TG-Techie/CASPER
ec47dfbfd6c3a668739ff4d707572e0b853518b4
2575d3d35e7dbbd7f78110864e659e582c6f3c2e
refs/heads/master
2020-12-19T12:43:53.825964
2020-01-23T17:24:04
2020-01-23T17:24:04
235,736,872
0
1
MIT
2020-01-23T17:09:19
2020-01-23T06:29:10
Python
UTF-8
Python
false
false
4,813
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'formextractor.ui' # # Created: Tue May 14 17:59:08 2013 # by: PyQt5 UI code generator 5.0-snapshot-b0831183bf83 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Form(object):...
[ "TGTechie01@gmail.com" ]
TGTechie01@gmail.com
52d784be45f707cdb24b323d41c7b164e64a242d
db57dff874351c5ea62881321e33d0d862259b58
/basic/graphmaker.py
97b9131a21db621b284cb0f8e75d8ca108b83a0b
[]
no_license
jrogge/IGLDisjointMatchings
01daaa3e901affd0d849d3267e3c5412834bab75
88d12998d2513a54dd62aeb4b01f2ef51e362418
refs/heads/master
2020-04-25T13:03:28.122212
2019-04-17T21:06:30
2019-04-17T21:06:30
172,797,275
0
0
null
null
null
null
UTF-8
Python
false
false
6,317
py
import networkx as nx from tkinter import * import gutils import basic.states as st import config # TODO: wrap up into a config file radius = 3 MATCHING_COLOR = 'yellow' # TODO: wrap up into modes file ADD_NODE = 0 ADD_EDGE = 1 ADD_PATH = 2 REMOVE_NODE = 3 REMOVE_EDGE = 4 class GraphMaker(object): '''Interactive...
[ "jwilrogge@gmail.com" ]
jwilrogge@gmail.com
48f34b285c3a42820f4e3bf5f2b94ac439f7e851
40127b66a492d0c52e70b50bfde2a8a2f7290fd8
/get_starred.py
b304083dd35c127b8a51fc79a4bb9f5461e2faad
[]
no_license
guilhermeresende/Crawler
90bd96ae7a2b6b70f8e8515db2da268e6e3d4983
962af7e953602b43968de6d843bd57cdfc6029a1
refs/heads/master
2020-05-30T15:09:26.043373
2019-06-10T15:49:44
2019-06-10T15:49:44
69,659,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
#get starred repositories (at commits.txt) from crawler_lib import * def write_num_starred(url,fstarred): (result,num_pages)=do_req(url) if(num_pages==1): num_starred=result['stargazers_count'] stargazers_url=result['stargazers_url'] if num_starred>0: fstarred.write(url+" "+str(num_starred)+"\n") retu...
[ "guilherme.resende.borges@gmail.com" ]
guilherme.resende.borges@gmail.com
dbcaa3b6e4cd749b2fac3e0598398d0999be30a1
a8c296eb1240b24b0cd75baeeff0bf05128355bf
/utils/ScriptPayToAddressCF.py
0b9e6f5a9b356ff1e61188433e2ae8c470c5c472
[]
no_license
fnfxy2017/cfcoin
b80fe3d762e9e4f62fc6ed3ea95ff5c9e7f39868
64a8c6ce5bb04a21b1ff1a428e11ccd8378e31b9
refs/heads/master
2021-01-20T06:38:39.150001
2017-05-14T09:55:35
2017-05-14T09:55:35
89,905,408
4
0
null
null
null
null
UTF-8
Python
false
false
291
py
''' Created on 2017年5月2日 @author: Administrator ''' from pycoin.tx.pay_to import ScriptPayToAddress class ScriptPayToAddressCF(ScriptPayToAddress): ''' classdocs ''' def __init__(self, params): ''' Constructor '''
[ "Administrator@2013-20140427UN" ]
Administrator@2013-20140427UN
1b712ee759d33f04670b53e77ad5c21d0879808e
2ff9fc2f6ed64c235a579192da0f94f1a44ea874
/Test.py
35eb5d8e779b1883b312818d040b5fb2d3eeaa5b
[]
no_license
cocolico14/Chess-Engine
d5db3a40cd7ba8109c81d7f392f73ec7d92caabc
b07e895dd6f0756c207572578bba554074da11a9
refs/heads/master
2020-03-25T09:06:23.747267
2018-08-06T09:36:10
2018-08-06T09:36:10
143,647,778
3
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
from Board import * from Move import * b = Board(Board.initializeBoard()) notation = ["a8", "b8", "c8", "d8", "e8", "f8", "g8", "h8", "a7", "b7", "c7", "d7", "e7", "f7", "g7", "h7", "a6", "b6", "c6", "d6", "e6", "f6", "g6", "h6", "a5", "b5", "c5", "d5", "e5", "f5", "g5"...
[ "cocolico12@gmail.com" ]
cocolico12@gmail.com
fe867ebcaf1a3ec97e9654456972c2d988c61215
3e27ddb402465e92e627ec251f9c5f5f693de8a4
/hw/明明的排序/HJ03.py
e59a9f812e3bdf11cd6850dee93e516442806d97
[]
no_license
louielolo/LeetCodeFMH
c25ee80ade15daf327a215035efc8ae52a9be629
69a417001036d33efbf035be61bbf1956a7899df
refs/heads/main
2023-06-17T03:13:29.882197
2021-07-13T06:09:23
2021-07-13T06:09:23
350,028,176
0
1
null
null
null
null
UTF-8
Python
false
false
366
py
import sys if __name__ == '__main__': getline = lambda: sys.stdin.readline().strip() #利用lambda定义读取数据函数 line = getline() while line: s = [int(getline()) for i in range(int(line))] #获取随机生成的数字 a = sorted(list(set(s))) #去重并排序 for i in a: print(i) #输出多行 line = getline()
[ "yanting.lu@nio.com" ]
yanting.lu@nio.com
7895bc6f05fa2ffe545d4e7681d7f5b92e24a4af
cd634ce14b8a57c02976d5bb9ed5ea5bba1ba906
/fetch.py
e16395d4f85a6c63b364a4468411172219df815d
[ "Apache-2.0" ]
permissive
sdm1230/swpp-hw1-sdm1230
e066b7db8fb7172a25bfa9edd577c1cec06b0f8b
9e5d12c038d56d10907c42d08927deee2fa58f40
refs/heads/master
2022-12-08T19:07:45.614249
2020-09-10T16:08:03
2020-09-10T16:08:03
292,584,280
0
0
null
null
null
null
UTF-8
Python
false
false
2,460
py
import urllib import urllib.request import urllib.error import os from functools import wraps class BabyFetchException(Exception): """ A custom exception for the cases where it fails to fetch the html file from the internet. """ pass def safe_internet_fetch(func): """ (1 point) A decorat...
[ "sdm369@naver.com" ]
sdm369@naver.com
c863145ec7b15f57935a5bb915ee4d49b469a359
d94680b533df31e003fbec26628d12c5a50c14f2
/run.py
f37f327e65078014e62f51cc1be2b17bb9c9a5d9
[]
no_license
1o11o/corona_maps
a1f2ce101d34a8bd4aa66ffc4a3ab8edebab22f2
aaaaa402b885956b1afb749ffa37dea4c151f6a1
refs/heads/master
2023-07-27T17:06:01.581941
2021-09-09T10:34:50
2021-09-09T10:34:50
404,671,819
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from streamlit import bootstrap real_script = 'main.py' bootstrap.run(real_script, f'run.py {real_script}', [], {})
[ "lorenz.reiter@posteo.at" ]
lorenz.reiter@posteo.at
a151f15578260c6246fa532d91a39e1ae25d102d
f7bc9ff51518d11d0d21249e57cdbd7277091e18
/0x02-python-import_modules/2-args.py
7ed9bebdf1babd5e74b51714354869b8faf4b092
[]
no_license
veeteeran/holbertonschool-low_level_programming
578fd521de625e47406b9141920a531c0483f042
ff2f79942eb282ae485deda7d9598eda50723c3f
refs/heads/master
2020-12-29T04:41:46.509414
2020-12-27T14:49:57
2020-12-27T14:49:57
238,458,078
0
1
null
null
null
null
UTF-8
Python
false
false
379
py
#!/usr/bin/python3 if __name__ == "__main__": from sys import argv length = len(argv) if length == 1: print("{:d} arguments.".format(length - 1)) elif length == 2: print("{:d} argument:".format(length - 1)) else: print("{:d} arguments:".format(length - 1)) for i in rang...
[ "vietnamtran@gmail.com" ]
vietnamtran@gmail.com
f8e4c0092f6077c43d4d66d93ce88ef8f11b1b77
f1bf57391dbb249e0c1d4d68c9c87d9592deb5ea
/app/models.py
8f892e0fbb313b1a9c95d727e69e3a04f789d319
[]
no_license
jcopley/charlottetheatre.org
95d813ef6142dd072b347e3abb95dd2eb3ecb38b
3ff06679c154a362cb11d4b9cbe0abeefc01da11
refs/heads/master
2021-04-28T19:09:01.917890
2018-02-20T02:59:49
2018-02-20T02:59:49
121,889,181
0
0
null
null
null
null
UTF-8
Python
false
false
11,761
py
from werkzeug.security import check_password_hash, generate_password_hash from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from flask import current_app, request from flask_login import UserMixin, AnonymousUserMixin import bleach from markdown import markdown from . import db, login_manager from d...
[ "32344409+jcopley@users.noreply.github.com" ]
32344409+jcopley@users.noreply.github.com
0299fa943ea756cff5200b50f21d343cc15151ff
d37e8826f51cc8ee6048424a2cc8c1cdfb1b2572
/doc/annotate.py
ef9b537625754b858198b4f15584c9839e49423f
[ "BSD-3-Clause" ]
permissive
mhoffma/bob.extension
63721fb62b86e77c1b549fc1d1ee90649725a529
40a520518131cb4b49739d1baf81e5c3bca4b5db
refs/heads/master
2020-04-18T03:33:04.962220
2019-01-16T14:36:48
2019-01-16T14:36:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,761
py
"""A script to help annotate databases. """ import logging import click from bob.extension.scripts.click_helper import ( verbosity_option, ConfigCommand, ResourceOption, log_parameters) logger = logging.getLogger(__name__) ANNOTATE_EPILOG = '''\b Examples: $ bob bio annotate -vvv -d <database> -a <annotator> ...
[ "amir.mohammadi@idiap.ch" ]
amir.mohammadi@idiap.ch
f1b5867c9472c7915554e078e4080ce1c5a4c3b1
2b7ea4e7fe5b4b95f8907d1e02633a4fd7b1a18c
/src/config_manager/config_schema.py
ba4defdffeb32afa68af16524b1dfe836dc1ed2d
[]
no_license
bk-cva/Car-Virtual-Assistant
166aac9fb21225286189e7f4ed8a789fcc66ea0d
411b05cfcfe2bfdbdaa09dd276113dca9dc4007f
refs/heads/master
2023-01-08T06:13:07.565307
2020-07-27T13:54:10
2020-07-27T13:54:10
236,927,631
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
class ConfigSchema: def __init__(self, here_api_key, nlu_url, cva_db_url, calendar_id, do_call_external_nlu, schedule_api_dry_run, timezone): self.here_api_key = here_api_key self.n...
[ "duyisking1060@gmail.com" ]
duyisking1060@gmail.com
c54b2df01396cbaef435da03f9149f379bb82bf3
007bf290736440b1506c3d31e3fd802f6ef49774
/SequencesIMDBSentimentAnalysis/IMDB/imdbAnalyseMitGloVe.py
4cad537825384dd954b5275e92e666be6d2bf0ed
[]
no_license
Ibrahemalkurdi/IntelligenteSysteme
8c8536cf3eebfb30c1e98bddba98f3c62cad2f64
6c99b7aac63f0216a0efb8840990aa4b2e163279
refs/heads/main
2023-02-17T06:20:55.968347
2021-01-20T00:51:43
2021-01-20T00:51:43
331,150,497
0
0
null
null
null
null
UTF-8
Python
false
false
3,960
py
import os from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences from keras.models import Sequential from keras.layers import Embedding, Flatten, Dense import numpy as np import matplotlib.pyplot as plt imdb_dir = '../aclImdb' train_dir = os.path.join(imdb_dir, 'train') ...
[ "Ibrahem.alkurdi@haw-hamburg.de" ]
Ibrahem.alkurdi@haw-hamburg.de
25c20fdddfb3b6a9a8654381f8f2a0f5d7f1be1a
0e1cbcf4f05e6ddd498f6b334014106f5734bfa4
/backend/bin/elbadmin
ebaace8a1f684454e7e59b8e022e57f4975abdf8
[ "MIT" ]
permissive
rcmiskin10/mem_landing_page
33e9b448dcc2ff7de566044d6f81adf465f0c561
892e5f57a6359f39e4edd13de848cf4d0ec6344a
refs/heads/master
2020-04-01T00:04:35.525714
2018-10-12T02:12:58
2018-10-12T02:12:58
152,680,376
0
0
null
null
null
null
UTF-8
Python
false
false
9,721
#!/home/rcmiskin/Desktop/mem/backend/bin/python3 # Copyright (c) 2009 Chris Moyer http://coredumped.org/ # # 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 # wit...
[ "rcmiskin@gmail.com" ]
rcmiskin@gmail.com
fc5d5c19443553ca22b501fda493ab868bea440c
976c3810261a974f4ce633ab75f4e7d91f1c4eb5
/SBC NT-M-NP.py
dc464ae3b4f8e6504e576ea6b4b9d4380cc3e19b
[]
no_license
SajidAhmeduiu/KMUI
a4ba09e4713c18193939f67096b5b8b3b4cf4d63
994b46753d5a7519a5f0c4966f51aafac7a60a5a
refs/heads/master
2020-12-01T13:41:36.848946
2019-12-28T18:02:08
2019-12-28T18:02:08
230,644,429
0
0
null
null
null
null
UTF-8
Python
false
false
6,742
py
print("NO TEST MINORITY NO PCA") import numpy as np import pandas as pd import math from sklearn.cluster import KMeans from sklearn.model_selection import StratifiedShuffleSplit from sklearn.ensemble import AdaBoostClassifier from sklearn.preprocessing import LabelEncoder from sklearn.preprocessing import Norma...
[ "noreply@github.com" ]
SajidAhmeduiu.noreply@github.com
bdb8f13e9fbc077dbe3d7433f38846a7e81f3246
12abe02e205d3e8dabe78fb5a93ccca89e2c42c4
/otp/level/LevelSpec.py
921ec08b942508c5f2208dfbb93a095d690be079
[]
no_license
nate97/toontown-src-py3.0
55092b2973b76e6b6d566887f44c52822684394c
f76c515801ae08c40b264b48365211fd44b137eb
refs/heads/master
2022-07-07T05:23:22.071185
2022-06-22T16:36:10
2022-06-22T16:36:10
187,682,471
15
8
null
null
null
null
UTF-8
Python
false
false
15,137
py
from pandac import PandaModules as PM from direct.directnotify import DirectNotifyGlobal from direct.showbase.PythonUtil import list2dict, uniqueElements import string from . import LevelConstants import types import importlib if __dev__: import os class LevelSpec: notify = DirectNotifyGlobal.directNotify.newC...
[ "nathanielfuhr@gmail.com" ]
nathanielfuhr@gmail.com
89b67883ebcd8de23a776dbd9494efa9148a7989
397227bdcb3e7d8986dd8b0153c2a2b26d79d74b
/atracoes/migrations/0003_atracao_observacoes.py
2f5b3de25c57b511192d5d48d2f84457376f7b96
[]
no_license
ag-castro/api-tour-drf
377e9f4400fd0467c67d7ff1cb9f683e0057d633
9ab69b1952eca7d27c15bf365af838df8f962103
refs/heads/master
2023-08-10T18:06:41.332185
2019-01-24T19:10:27
2019-01-24T19:10:27
222,954,042
0
0
null
2021-06-10T22:17:25
2019-11-20T14:19:30
Python
UTF-8
Python
false
false
408
py
# Generated by Django 2.0.5 on 2018-12-08 12:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('atracoes', '0002_atracao_foto'), ] operations = [ migrations.AddField( model_name='atracao', name='observacoes', ...
[ "agcastro.py@yahoo.com" ]
agcastro.py@yahoo.com
49fd434f3ea49979274e68b7b8e77b3e40b1b6bf
136965b1b2c1d946dcdb9db83ca3426831f0debc
/20200924_Find the Difference.py
1fd50d5f79431e6a78ebb8e8e3c06d40d68a4885
[]
no_license
lichr3/leetcodeDaily
cfeffb912665f6033682e4d78263d72f6fdcb02b
10767a484c5493986739a77d9c5d577a2f6f8c36
refs/heads/master
2023-02-03T16:03:08.600923
2020-12-23T00:58:43
2020-12-23T00:58:43
297,825,570
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
class Solution: def findTheDifference(self, s: str, t: str) -> str: """返回字符串t中比字符串s中多出的那个小写字母 思路: 由于全是小写字母,且只有一个字母的区别。 可将s和t的字母全都转换为ascii码后相加,再作差, 得到的数字就是多出那个字母的ascii码。 """ sum_s = sum([ord(c) for c in s]) sum_t = sum([ord(c) for c in t]) ...
[ "1012284851@qq.com" ]
1012284851@qq.com
24a8a1490c365ca966e1856820620e2f864eb7c2
feb3103642dcdd686a0c341d45fd498f902b40eb
/Flourish_cleanup.py
a8958fc14972867d29ef86e8c693620821a2d32c
[]
no_license
GrishamNathan/Statistical-Analysis-for-Mental-Health
4ede6b4a372d7e98b458bb38b5286f716e6f6881
fd9ce9738a402c3ae752d92cba777d3a4b784146
refs/heads/master
2020-04-22T08:49:06.086858
2019-02-12T04:34:47
2019-02-12T04:34:47
170,252,650
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import os import pandas as pd os.chdir('C:/Users/grish/Desktop/Workstudy/Rashid_workstudy/Stress/') blank_99=pd.read_excel('Flourish_Data_For Grisham_N_Jan 2018..xlsx') blank_99_removed=blank_99 unique=blank_99.externalid.unique() for k in unique: store=blank_99[blank_99['externalid']==k] dates=sto...
[ "grish@DESKTOP-PM7EVPM.localdomain" ]
grish@DESKTOP-PM7EVPM.localdomain
131a37bcbeb6f5cc0400283c41e4affd297f981f
2af0ffd16c246908bcaaf82f604806b2d09834de
/paperparse/sxpTestStringEncode.py
8232cd7de8a15d6fe19963aa101874b36d20ab3b
[]
no_license
philipsun/summarization
f3936a0a8dc1b0c50be016b8e8f8eec7d4ac48e3
924ec101abf34b9c17a57fa4096d6d91460f0c1b
refs/heads/master
2020-03-18T08:29:49.836289
2019-11-20T07:12:56
2019-11-20T07:12:56
134,513,295
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
#------------------------------------------------------------------------------- # Name: sxpTestStringEncode # Purpose: # # Author: sunxp # # Created: 23-03-2015 # Copyright: (c) sunxp 2015 # Licence: <your licence> #------------------------------------------------------------------------------- ...
[ "xiaopingsun@gmail.com" ]
xiaopingsun@gmail.com
bfd72fd941fff38ea12a297515382dd0696e3759
dd34d53e22d3628cfa14cb2e79a943003d0bf503
/slots.py
f2bdb940a71b3e39976336bfe41f3dc716b87e43
[]
no_license
jiangxr/python-learn
46e4604f543618af9b7024512fba23cc1edce0de
911d2a145ca9c70363f88d6374dbe368b1ae7b26
refs/heads/master
2020-12-03T04:14:39.906946
2017-07-08T12:46:54
2017-07-08T12:46:54
95,838,269
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
class A(object): __slots__ = ('name', 'age', 'method1') def __init__(self, name): self.name = name # def method1(self): # print('i am method1') def method2(): print('i am method2')
[ "1693996285@qq.com" ]
1693996285@qq.com
6dd98b7831f5feee90d9df6b5301c0257eb2e665
b972faf032590c9722dc240c45fc60157d5a1bee
/(구현)주사위네개.py
a7b250ef8517e21ed6b5335a12dac1288a5381af
[]
no_license
kih1024/codingStudy
3a91b628bc301d1777d954595e93bf1f9246aca3
3e8a6fe86d3861613a85d3e75991f4bc7cd1e716
refs/heads/master
2022-12-09T04:58:55.264433
2020-09-22T07:29:44
2020-09-22T07:29:44
269,874,529
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# https://www.acmicpc.net/problem/2484 def dice(): li = sorted(list(map(int, input().split()))) temp = set(li) if len(temp) == 1: return li[0] * 5000 + 50000 elif len(temp) == 2 and li[1] == li[2]: return li[1] * 1000 + 10000 elif len(temp) == 2 and li[1] != li[2]: return (li...
[ "rladlsgh654@naver.com" ]
rladlsgh654@naver.com
0655f52f92254bcd3ff50900db39115840797e6b
8a94ed3ae996f0c8e780dd78b91ad2269363575d
/midterm 2562-1/seqence.py
9a54602e7b6e0e500fed7dcb53c626d981a5e496
[]
no_license
thitimon171143/MyPython
30fd44d571005d5f979c34c7356cd755eead760f
d1be644a703e211f14c138179ab79890a7095ecd
refs/heads/master
2022-08-16T14:53:01.006440
2019-09-17T09:01:22
2019-09-17T09:01:22
192,525,122
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
a = 0 b = 0 num = int(input('Enter : ')) if num >== 2: print('1,1')
[ "Python@Admins-iMac-5.local" ]
Python@Admins-iMac-5.local
fc2ed8667c5e08173a1f812fcab97f9e828a78b8
1703b169d3ee767f35475c8c334ca9d22843fd78
/M1T1_watts/M1T1_watts.py
7d312462e2dca4487729a8b46ef63586874c178f
[]
no_license
JesseWatts/CSC-221-Adv-Python
d0ea14a3cb5a1f405a52ebbfcf5b1d109614174a
567d455f481c72955d2602e380c25e6e3b383f4c
refs/heads/master
2020-04-17T20:22:56.514155
2019-02-04T14:04:53
2019-02-04T14:04:53
166,903,190
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# -*- coding: utf-8 -*- """ CSC 221 M1T1_Watts Goal: Gold 16 Jan 2019 """ def main(): """ Author: Watts, Jesse This program will calculate the largest fishing pole that can for diagonally in a box. """ poleLength = 0; boxLength = 0; boxWidth = 0; # Determ...
[ "noreply@github.com" ]
JesseWatts.noreply@github.com
b7357d3d9f27879e28802a35644380b9f54435bc
d16ea92cbce673b427da0d87c9017ae1fc50cc06
/flask/config.py
92ba0fb849e145423a515de46e648620e5c673b1
[ "MIT" ]
permissive
sbilge/ClinVAP_api
da76f56e0a25118f5d384cdb1d4b2d550031d22a
b1319e73af3e718a09a66e2f5e1eea20794bfd1f
refs/heads/master
2023-03-21T07:49:53.078628
2021-03-17T13:53:43
2021-03-17T13:53:43
257,304,253
0
0
MIT
2020-11-18T09:32:51
2020-04-20T14:20:32
Python
UTF-8
Python
false
false
865
py
class Config(object): DEBUG = False TESTING = False SESSION_COOKIE_SECURE = True EXTENSION_SOMATIC = ["json", "vcf"] EXTENSION_CNV = ["json", "tsv"] SECRET_KEY = "throw-away-key" UPLOADS = "/app/app/static/input/uploads" DOWNLOADS = "/app/app/static/output/downloads" NF_CONF = "/app...
[ "bilgesurun@gmail.com" ]
bilgesurun@gmail.com
93576199922965b76e6aae451eccce45bfffccf8
47175228ce25812549eb5203fc8b86b76fec6eb9
/API_scripts/dfp/dfp_python3/v201408/custom_targeting_service/update_custom_targeting_values.py
ff879dd7d5d7d8f3c1653d851a0c2fe2b2a727d5
[]
no_license
noelleli/documentation
c1efe9c2bdb169baa771e9c23d8f4e2683c2fe20
a375698b4cf0776d52d3a9d3c17d20143bd252e1
refs/heads/master
2021-01-10T05:41:30.648343
2016-02-13T05:46:31
2016-02-13T05:46:31
51,477,460
1
1
null
null
null
null
UTF-8
Python
false
false
2,604
py
#!/usr/bin/python # # Copyright 2014 Google Inc. 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 # # Unless required b...
[ "noelle@makermedia.com" ]
noelle@makermedia.com
5f7d300cc1324a721a56fe6a19f116c4b8a824cf
f76750504b60a8c46a05b89850b49825dc01c3ad
/en/enviews.py
24287885470f761325c45895d73439c8bbc28fbc
[]
no_license
depark/ruiyang
79216243679f68b7fb160841ac96a3d16ebdf514
89abd9afa29a4a5a3269fce78aeb19fd608afa8b
refs/heads/master
2020-06-16T21:42:30.567268
2018-10-22T09:52:45
2018-10-22T09:52:45
75,065,001
2
0
null
null
null
null
UTF-8
Python
false
false
6,341
py
# -*- coding: UTF-8 -*- from django.contrib import * from django.shortcuts import * from en.models import * from django.http import JsonResponse from django.contrib import staticfiles import json import logging logger = logging.getLogger(__name__) #全局变量 def index(request): banner_images = Banner.objects.all().or...
[ "925161259@qq.com" ]
925161259@qq.com
8808e97d00638498d75fa4dbb88784b7ca9ec14a
048cbcfe1d32c30ba0393ca4f1d662ecfd554479
/getch.py
8bc20e622583f705e0f1a3fe8e6f64c0e66e29b4
[ "MIT" ]
permissive
runeksvendsen/btcdice
ca33f77441754e7a8385838c79b7f8c914754846
6adc17e4b084738e94ed52db746b437ed9fdf967
refs/heads/master
2016-09-06T08:42:51.132515
2013-09-06T22:23:58
2013-09-06T22:23:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
class _Getch: """Gets a single character from standard input. Does not echo to the screen.""" def __init__(self): try: self.impl = _GetchWindows() except ImportError: self.impl = _GetchUnix() def __call__(self): return self.impl() class _GetchUnix: def __init__(self): import tty, sys def __call__(...
[ "runesvend@gmail.com" ]
runesvend@gmail.com
3675a86d85cef18c914d7ab8aa8bdf5bad823de2
d61803131d0d911f8640f127160b16752839ca72
/old_models/score.py
b05a8a89ce3ee2fdf4b4f0ff020b574564c3c7eb
[]
no_license
tlarkworthy/gun-violence-independent-study
a7898f9276c461301954422c64b7e229eb5247d8
86dccdb41aded75cba279de6691ed958de78ddf3
refs/heads/master
2022-03-31T20:51:02.103037
2020-02-03T17:44:59
2020-02-03T17:44:59
222,856,642
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
import json import argparse import warnings from sklearn.metrics import f1_score, precision_score, recall_score parser = argparse.ArgumentParser() parser.add_argument('--goldfile', type=str, required=True) parser.add_argument('--predfile', type=str, required=True) parser.add_argument('--verbose', '-v', action='store...
[ "tlarkwor@seas.upenn.edu" ]
tlarkwor@seas.upenn.edu
b1003c9f3eb736372a9ffe723b538d3cc3f0e38b
c03528dbc7991a622736ea8dc4396111bb8fa5c3
/api/nodes_handler.py
f2121b98375a4f00fa116bb857cee9804f745d9c
[ "Apache-2.0" ]
permissive
collectivesense/aucote
b9da9a94cedf940752bcb9776f235e02fb4ee250
bb21ff02965ed0cca5a55ee559eae77856d9866c
refs/heads/master
2020-11-24T21:49:03.310379
2019-11-08T16:44:32
2019-11-08T16:44:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
""" Handler responsible for returning aucote's nodes """ from api.storage_handler import StorageHandler class NodesHandler(StorageHandler): ENDPOINT_NAME = 'nodes' def list(self, limit, page): return { 'nodes': [self.pretty_node(node_scan) for node_scan in self.aucote.storage.nodes_scans...
[ "noreply@github.com" ]
collectivesense.noreply@github.com
450f36afe4320e63dcccb16ae96f07b209098fe8
6d5e56178bd0a6011951fcb55d9193ea6f6c0398
/app/views.py
a15ff82e30c0aa2b278328a7fc774bbe30d2eb15
[]
no_license
sirenita23/modulo-de-promotores
f6c92df0b862f7e4c6449fe238b4288a253369c8
443bdd8183b7f66cff7820197e653ea0418af144
refs/heads/master
2020-05-17T11:31:45.913771
2014-07-11T15:38:30
2014-07-11T15:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
from django.views.generic import TemplateView,FormView from django.shortcuts import render_to_response,get_object_or_404 from django.template.context import RequestContext from forms import * from django.http import HttpResponse,HttpResponseRedirect, HttpResponseForbidden from django.contrib.auth.decorators import log...
[ "Tatiana_Zarate@hotmail.com" ]
Tatiana_Zarate@hotmail.com
27f40c9a440d1403f493d2750d39f60eefbb88dc
4c690b473a2fd8baa53377195933c2b996a01244
/contrib/python/examples/python3/ldns-mx2.py
9c8b103bf135f0f1582291d8ab97e80aec05921f
[ "BSD-3-Clause" ]
permissive
NLnetLabs/ldns
77bdf4bf6f814fe8d7e274a1754e9bbf23ae0a4a
67b9f0ae98910df882ca77f503673929a9e1db9b
refs/heads/develop
2023-08-28T07:19:23.088018
2023-06-03T13:08:41
2023-06-03T13:09:04
72,740,793
248
103
BSD-3-Clause
2023-09-14T14:40:58
2016-11-03T11:57:12
C
UTF-8
Python
false
false
562
py
#!/usr/bin/python # # MX is a small program that prints out the mx records for a particular domain # import ldns resolver = ldns.ldns_resolver.new_frm_file("/etc/resolv.conf") pkt = resolver.query("nic.cz", ldns.LDNS_RR_TYPE_MX,ldns.LDNS_RR_CLASS_IN) if (pkt) and (pkt.answer()): for rr in pkt.answer().rrs(): ...
[ "willem@NLnetLabs.nl" ]
willem@NLnetLabs.nl
a40ab2dbce7300afcd86166710c810b3a538e662
f63c4eb29ce57319441f5469d1d049b63bc220de
/swu_cycle_variance/run909.py
93ff56deac66a626022dba5caebd6cc9b16e0c7d
[]
no_license
a-co/diversion_models
0237642153668b16035699e9e734ff0538568582
69eed2687b1cd2b48f5717d15919eccd24a0eabc
refs/heads/main
2023-05-02T19:04:26.333677
2020-06-18T20:50:18
2020-06-18T20:50:18
216,904,337
0
0
null
null
null
null
UTF-8
Python
false
false
4,241
py
SIMULATION = {'simulation': {'agent': [{'name': 'deployer_civilian', 'prototype': 'civilian_deployer'}, {'name': 'deployer_shared', 'prototype': 'shared_deployer'}], 'archetypes': {'spec': [{'lib': 'cycamore', 'name': 'DeployInst'}, {'lib': 'cycamore', 'name': 'Source'}, {'lib': 'cycamore', 'name': 'Sink'}, {'lib': 'cy...
[ "acaldwel@wellesley.edu" ]
acaldwel@wellesley.edu
da0d45782c6a4779670dc273d240a181a5df95a1
91954c571599a523ab7fa88e253928edd2f724d1
/tests/3test.py
2fb5f31eb1af00efc02623c4141f7f499e2c8851
[]
no_license
labryga/rhino
3522a98850bb88d6e236b88b3a8cc4f6f3f99769
041fe843df221b8ab5c6feec92d4adbd6de4be9a
refs/heads/master
2020-04-13T16:34:35.366575
2019-01-19T19:18:24
2019-01-19T19:18:24
162,615,456
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
import rhinoscriptsyntax as r import math as m p01 = [(m.cos(i), m.sin(i), m.cos(m.sin((i)) * 1.57)) for i in r.frange(0.00, 12.560, 0.0785)] p02 = [(m.cos(i), m.sin(i), m.sin((i))) for i in r.frange(0.00, 6.280, 0.157)] r.AddInterpCurve(p01) map(r.AddPoints, p01)
[ "martin@labryga.ch" ]
martin@labryga.ch
d8e46935378d3ea8504b94446ae4238683bd9df4
ba6d202d3a758b6a46f93e13b76c229ef11a350c
/lpeManager/forms.py
676487a800dbaf6ca2f365b0856befc57ae0562e
[]
no_license
yobuntu/cotiz-counter
e7ab0a5e327a6ec2d5873cf0922755b01f2eb4c8
0fa8db0e2df69586e5e9aab27ed21de39e60b117
refs/heads/master
2021-01-13T02:08:58.133190
2014-01-28T18:21:01
2014-01-28T18:21:01
14,698,427
2
0
null
2014-01-28T18:06:27
2013-11-25T21:05:56
Python
UTF-8
Python
false
false
581
py
from flask.ext.wtf import Form, TextField, PasswordField from wtforms import validators from wtforms.ext.sqlalchemy.orm import model_form from lpeManager.db import db, Member, Contribution class LoginForm(Form): username = TextField('username') password = PasswordField('password') MemberFormBase = model_form...
[ "yohann@rebattu.fr" ]
yohann@rebattu.fr
899dd3cbaa0bd29426c51c1d29aec2b46a76b525
594cf130dd2d7bb67b6a2f49b2d4fea46b5b15b7
/clientms/urls.py
7f570ac1ba258cffd38f9318bb1d92d253fa259e
[]
no_license
jasminesmit1/ISQA8210-CMSAPP
5f632e9b0ca39245390b8e0a21c63ede8966b69a
f7b46df958720f93f7a1f0b7de94d460fa359aef
refs/heads/master
2020-12-28T16:35:49.630767
2020-02-05T09:11:06
2020-02-05T09:11:06
238,407,960
0
0
null
null
null
null
UTF-8
Python
false
false
1,707
py
"""clientms URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "jasminesmit1@unomaha.edu" ]
jasminesmit1@unomaha.edu
a8140ac64131df0e94f7c4b4e3daa8d4fbc87dbf
6d60ac89ee9c14bfc62342f7b33da3932f4eb564
/mini_build.py
8b0881434026fcc7a4ba9e7ec6986b0b8a269d1d
[ "MIT" ]
permissive
samuelcolvin/donkey-simple-old
dda5b3c41387231b755965fa982bbb4c845e24c1
765810076c01d3677819e4f5a03aefd05300fbda
refs/heads/master
2021-05-28T19:49:45.269978
2014-05-30T17:04:33
2014-05-30T17:04:33
14,808,774
1
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
from DonkeySimple.DS.download import download_libraries import os, re lib_static_dir = os.path.join('DonkeySimple', 'WebInterface', 'static', 'libs') libs_json_path = 'static_libraries.json' try: download_libraries(libs_json_path, lib_static_dir) except Exception, e: print 'ERROR: %s' % str(e) print 'Probl...
[ "s@muelcolvin.com" ]
s@muelcolvin.com
ffd7a469bbe16a8252af0d0bc72e1f384a69197a
61a2d0c31d024586b366c379383727eef7cf6651
/dongbinNa youtube/basic python/28강.py
1814be069bed96450389ae42328fe836e18af258
[]
no_license
junghyeonsu/algorithm-python
7b6c794c422bcf8ecbc50c405217b834756fb02d
07a3acf66e0ee35adb0c68f2a4239ca3434c103c
refs/heads/main
2023-03-01T21:43:03.166922
2021-02-11T12:50:51
2021-02-11T12:50:51
325,808,429
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
# import는 예약어이다. # for, True, None 예약어라서 변수명으로 사용못함 # 예약어들 확인가능 import keyword print(keyword.kwlist) ''' 여러 줄에 대한 주석처리 '''
[ "jung660317@naver.com" ]
jung660317@naver.com
9444db399f0e4b0e4d353b25bb043f2c6adb88b7
27e342572a52177b24363a708a39b13f0a8408d4
/src/Pages/homePage.py
74adb6fc9591d13f810061ab57a6fe10c161c470
[]
no_license
ksgaurav/Selenium_Python_PyTest
bf5e3a433a5ab9054f05cf3e312a97d7018f4b09
97a1d75513b383c2e2a2b525c7667dd7bf7a0550
refs/heads/master
2021-05-18T04:35:47.983642
2020-03-29T19:38:25
2020-03-29T19:38:25
251,110,531
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
class HomePage(): def __init__(self, driver): self.driver = driver self.LoggedIn_As_xpath="//*[@id='logout-form']/div[2]/label/preceding-sibling::*[1]" self.Log_Out_button_xpath="/html//input[@id='logout-form:logout']" def click_log_out_button(self): self.driver.find_element_b...
[ "ksgaurav.101@outlook.com" ]
ksgaurav.101@outlook.com
facf2c950edb298be4b5858aceabe7db2bcc7958
3ffe3f73486a2648d02a4b8a8f1b8afeed49640c
/happyfridge/urls.py
1c2082fa70bfa0542adb70ca7fb5045f3af016cf
[]
no_license
itsmurfs/happymate
d01a8cc6fbf3195f0602a6954031418aaf8200e4
9b9fbca888436a6184fcc07ec7a52b1d8106a506
refs/heads/master
2020-03-26T05:00:02.448284
2015-06-11T19:07:54
2015-06-11T19:07:54
37,278,711
2
0
null
null
null
null
UTF-8
Python
false
false
475
py
from django.conf.urls import patterns, url from happyfridge.views.rest import GetItemPool, CheckItem urlpatterns = patterns('', url(r'^$', 'happyfridge.views.views.home', name='home'), url(r'^new-shopping-run/$', 'happyfridge.views.views.new_shopping_run', name='new_shopping_run'), #TODO new file urls for res...
[ "blog@itsmurfs.it" ]
blog@itsmurfs.it
c15effebd2a032c284b6b1deacda207998aa2402
a63a974653f2a035963501c6a6e52d4197411f8b
/problem-03/solution.py
29bb6f230ba8bd949e7640a02632a0e516343937
[]
no_license
hmleal/euler
8c2ef1a585b32fa235c8e5bf3b30f35eac2e78f0
8a5be50761f6d0e59ea18c22bb6d693bdde29ec7
refs/heads/master
2023-01-24T03:33:55.851110
2023-01-13T19:57:34
2023-01-13T19:57:34
81,589,555
1
0
null
null
null
null
UTF-8
Python
false
false
424
py
#!/usr/bin/env python def prime_factores(number): """ Generate a list of prime factores below number. """ n = 2 factores = [] while n * n < number: while number % n == 0: number //= n factores.append(n) n += 1 if number != 1: factores.append...
[ "hm.leal@hotmail.com" ]
hm.leal@hotmail.com
80e2733127aad16247c9ffaf9a42ab90ad898a57
3285a96f8d614fed0679111806041477ebfb6e9f
/models/dcnranking.py
29dd557cd0cb670eb6fe0ceb4c4413d20cdb44d5
[]
no_license
Clytzes/learning2rank
af0cfd2e37a0551f1a501d07fad933b9e76e1f21
22c2139b98427a0834e93800e9bd299d1d48dc81
refs/heads/master
2023-06-02T18:13:27.240744
2021-06-20T13:44:25
2021-06-20T13:44:25
378,601,555
0
0
null
null
null
null
UTF-8
Python
false
false
5,640
py
""" Reference: [1] Guo H, Tang R, Ye Y, et al. Deepfm: a factorization-machine based neural network for ctr prediction[J]. arXiv preprint arXiv:1703.04247, 2017.(https://arxiv.org/abs/1703.04247) """ from deepctr.layers.interaction import CrossNet from .baseranking import BaseRankingModel _PRIMARY_HEAD = "primar...
[ "244792484@qq.com" ]
244792484@qq.com
2c00eb254a63fa9c163f39d0639a77191228bd16
e6eea901ac0b3350562ed21531675077c0cd3f8f
/0x10-python-network_1/6-post_email.py
f83a1672bcd85f8458f3dfcb800e1f0b35851f5d
[]
no_license
samscislowicz/holbertonschool-higher_level_programming
b614f2416a67fa13378ad9a8234dd628b44d2bbd
a9f27b3bdcd9dfe61fc9cfa9bc3bc6fd32ea17c5
refs/heads/master
2021-04-29T11:15:49.570773
2017-03-23T22:44:04
2017-03-23T22:44:04
77,852,907
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
#!/usr/bin/python3 import requests import sys if __name__ == "__main__": url = sys.argv[1] email = sys.argv[2] payload = {'email': email} r = requests.post(url, data=payload) print(r.text)
[ "samantha.scislowicz@gmail.com" ]
samantha.scislowicz@gmail.com
3b1d6dec03293efd9bdbed97ea34210432f2cbb3
228ebc9fb20f25dd3ed2a6959aac41fd31314e64
/schema/predict/instance/google/cloud/aiplatform/v1beta1/schema/predict/instance_v1beta1/types/image_classification.py
aac9e2bc91fc75d16de26dfd01bb98512f260f25
[ "Apache-2.0" ]
permissive
orionnye/python-aiplatform
746e3df0c75025582af38223829faeb2656dc653
e3ea683bf754832340853a15bdb0a0662500a70f
refs/heads/main
2023-08-03T06:14:50.689185
2021-09-24T03:24:14
2021-09-24T03:24:14
410,091,957
1
0
Apache-2.0
2021-09-24T20:21:01
2021-09-24T20:21:00
null
UTF-8
Python
false
false
1,593
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
orionnye.noreply@github.com
5387d2b42affe2f5cf1126dabf8ea7c72b344820
18da0a2e0add449faa18bb19fbd2df7c77675c91
/FlaskServer/flaskserver/blueprints/public/models.py
17e13ac708bd1a2bb6d7c949960788ffdab6fb32
[]
no_license
TheOfficialPu/PuBot
8c4aaf104749a4d8996ef6e8530804568386b866
3bbb48ceb325aed02f8f5622562734ad0c07f063
refs/heads/master
2021-06-25T17:58:41.888806
2017-09-13T02:44:13
2017-09-13T02:44:13
103,343,776
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
"""defines the models for the public pages """ from datetime import date from flaskserver.extensions import db class BetaSignUps(db.Model): """stores the emails for users who sign up for the closed beta """ __tablename__ = "beta_sign_ups" id = db.Column(db.Integer, primary_key=True) email...
[ "noreply@github.com" ]
TheOfficialPu.noreply@github.com
07e3482d6cbdc88ff97d535e249b4cdba6536028
3b594c97d3a83a863a1603b8ec89c9c76b39fc10
/Calculating Mechanical cost of transport of the Dynamic Platform walking wheel/STRIDE_5-12-Adv.py
8208e810c1d5809053fc87f651e660d14b47ec15
[]
no_license
Ana-Maria-Smith-03/Ana-Maria-Smith-03
f21e3f33195ad21c76f56e0082fb64a9fd71732f
f5a1ee16921921acee256ee55a8eda44ac5d397a
refs/heads/main
2023-07-17T06:16:36.867482
2021-08-11T17:34:26
2021-08-11T17:34:26
395,063,299
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
import pandas as pd df = pd.read_csv('WM-NEW-12-CURVED-FEET (2).csv') velocity_x = df[df.columns[1]] velocity_values = velocity_x[7010:8194].values.astype('float64') velocity_y = df[df.columns[2]] velocity_y_values = velocity_y[7010:8194].values.astype('float64') velocity_pairs = [] for num in range(len(velocity...
[ "noreply@github.com" ]
Ana-Maria-Smith-03.noreply@github.com
da723470a028da5ef6065fb0d4d0e9b3f77b0420
1e6bea409acfe159d10346bda054a296abff38f6
/.idea/first1.py
d4b5525d3ee96ca00ed2702733f0efcfaeb98e5a
[]
no_license
tangsong-ming/shangweiji
c07b0a9ed18403772f71411400ceab907c2b68fe
1f5dfbf0cc3df9fdd97886dd94a1709ce29a9c88
refs/heads/master
2022-11-07T11:34:29.140261
2020-06-24T06:09:04
2020-06-24T06:09:04
274,589,107
0
0
null
null
null
null
UTF-8
Python
false
false
2,244
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'first1.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindo...
[ "452987852@qq.com" ]
452987852@qq.com
65ddfb41416fb179f3be9fdb9e2b69d06c5ea359
4ff779c1065f9212867ccd124b5d0eea0a66bbd6
/Quiz3bCode.py
c4cf5396c2fd2361082fc3c53f5f8fef3605fcaf
[]
no_license
yanniey/InteractivePython
a9b5bbcaa977c367a2dc4c6bcc356542aa56dac3
36aee1653ecf245caf430a02f62b1065f98b6b1e
refs/heads/master
2021-01-10T22:07:33.590327
2015-03-19T02:14:57
2015-03-19T02:14:57
31,241,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
# Q6 Find epoch time import time time.gmtime(0)[0] # Q8 Collatz conjecture Given any initial natural number, consider the sequence of numbers generated by repeatedly following the rule: divide by two if the number is even or multiply by 3 and add 1 if the number is odd. The Collatz conjecture states that this seque...
[ "happypineapple3@hotmail.com" ]
happypineapple3@hotmail.com