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
95414f7ed3b48f7baf6bd13799ea4698d7f6093f
199522cb43b4e2c7e3bf034a0e604794258562b1
/0x0F-python-object_relational_mapping/3-my_safe_filter_states.py
3659d402edd14791ff0d3dce555884770499752c
[]
no_license
jormao/holbertonschool-higher_level_programming
a0fd92f2332f678e6fe496057c04f2995d24a4ac
360b3a7294e9e0eadcadb57d4c48c22369c05111
refs/heads/master
2020-09-29T01:36:20.094209
2020-05-15T03:27:06
2020-05-15T03:27:06
226,915,744
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
#!/usr/bin/python3 """ script that takes in arguments and displays all values in the states table of hbtn_0e_0_usa where name matches the argument. But this time, write one that is safe from MySQL injections! """ import MySQLdb from sys import argv if __name__ == "__main__": db = MySQLdb.connect(host="localhost", ...
[ "jormao@gmail.com" ]
jormao@gmail.com
318d59a2c7fd3d07c465da350c7d3b65dd8f4934
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ivs_write_f/playback-key-pair_import.py
e6227c4b54f4786793a1d735b01d2cf516e72ad9
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
69bf16c29bc8a1c8b61bf4115da050289a9cb9c5
1d51cca8970f466f88c97aa36f4b8cd76bd50583
/bits_iot_button_pressed.py
12769c0a231cc02cd971c13cd0f3115f9d5a405e
[]
no_license
hughgardiner/bits-iot-button
1009051bc474b52e39eeda008088105b492cfcaf
2155814bff46837ef9d2bb0debc3e3fe9c461762
refs/heads/master
2020-04-30T06:06:17.609488
2019-03-20T03:09:54
2019-03-20T03:09:54
176,642,512
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
import requests def lambda_handler(event, context): request = requests.post(url = 'https://hooks.slack.com/services/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', json = {'text':'andon IOT Button Pressed'}) return request.text
[ "gardinerhugh6@gmail.com" ]
gardinerhugh6@gmail.com
46dadcb89023a1f732e536ca17264b8cf5a87555
f65e1d0f746d1c36392fe791b0277f6d3887cd95
/print.py
dc9f4ab391cf9cd0e4eb58223a4e0bce82683056
[]
no_license
trinitruong/learn-python
bb84189766ddcdd049da471374a3364aeba0c0a0
0148880e4cab028012b0c3505994a8bc92cf4c7b
refs/heads/master
2021-02-08T02:54:48.425636
2020-03-15T05:44:23
2020-03-15T05:44:23
244,101,302
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
#to print verbatim use print() function def main(): # print a string to the console/terminal #use single or double quotes inside parenthesis to create string print("something") # print a variable #a is the variable, 321321 is value assigned to variable a = 321321 print(a) b = "afhgdsgd...
[ "trinitruong001@gmail.com" ]
trinitruong001@gmail.com
3ebb0f00c40798b1ba5e4fb96bbb2223a3c119af
8cc0a129738ef3b23d678c35cd9e118054990b9a
/calo_social/calo_social/friends/migrations/0003_auto__del_field_relationship_prueba_south.py
dd4485668e0e0e2aacc1109a66f9b706c62c0a72
[]
no_license
adahlquist89/calo
74ac41dc9af72fb32dcccbe24e76410276acbcb2
686c529e32221251383a612694ba254f84a28061
refs/heads/master
2021-01-10T20:10:45.997181
2013-09-09T20:12:14
2013-09-09T20:12:14
12,094,151
0
1
null
null
null
null
UTF-8
Python
false
false
5,306
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Relationship.prueba_south' db.delete_column(u'friends_relationship', 'prueba_south') ...
[ "fran.dorr@gmail.com" ]
fran.dorr@gmail.com
b1d93ea2d6cbc76b83a04f1dfc360dfdaf7bddcd
eb380d17c209c77adcb78240b6a03f64f3166d03
/binfiles/dirs.py
4074772dd54f6722c154d623a496a4db604662c7
[]
no_license
abatkin/dotfiles
2cee24e7b97d56d6cc15747ab4fff4f5a0743aa5
48ae654527c666013dd9b5f8a4c0e88335c0db43
refs/heads/master
2023-07-06T05:52:37.580612
2023-07-04T20:33:28
2023-07-04T20:33:28
8,023,147
0
0
null
null
null
null
UTF-8
Python
false
false
2,568
py
#!/usr/bin/env python3 import sys import subprocess import configparser import argparse import os SPECIAL_SECTIONS = ["app_config", "DEFAULT"] SECTION_TYPES = {} def launch(launch_string, arg): args = launch_string.split(" ") def convert_arg(item): if item == "$": item = arg ret...
[ "adam@batkin.net" ]
adam@batkin.net
041350efe6b160a115e9e22c301c74a34ff53193
71257430418ed7410ddffb6df692a5e816eb53b7
/61hunter.py
ed47aa6e3c043824bfe5d9b810408fd96bd965c2
[]
no_license
aarthisandhiya/aarthi
917283541b9aa133db5d50a3b68eda2a10c38af7
00b31831832ea573dfd886eb0001ad824325136d
refs/heads/master
2020-04-15T05:10:42.585357
2019-07-21T13:57:58
2019-07-21T13:57:58
164,411,781
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
a=int(input()) c=0 b=[int(a) for a in input().split()] u,v=map(int,input().split()) for i in range(0,len(b)): if b[i]==u: while b[i]<int(v): c=c+1 i=i+1 print(c)
[ "noreply@github.com" ]
aarthisandhiya.noreply@github.com
9aa6bf4b4b666c0fdab75fe77819b9f91a25419b
3756d737b51b9d1518f689435f3414afec064f5d
/GUI/Spin Box Widget/Spin_box_widget_number.py
57b3f7a8853b7e9f7f5d4d38582cc58541ed0745
[]
no_license
SHUBHAM-BHATTACHARYA/Python-Program
49e6e6b6e83b1313965c40d194df69b8ab580568
79fdba2904d01eb6ff1c161557673c7f14b9c225
refs/heads/master
2022-11-12T18:06:06.909797
2020-07-09T03:35:27
2020-07-09T03:35:27
278,025,327
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from tkinter import * window = Tk() window.title("Welcome ") window.geometry('350x200') spin = Spinbox(window, values=(3, 8, 11), width=5) spin.grid(column=0,row=0) window.mainloop()
[ "noreply@github.com" ]
SHUBHAM-BHATTACHARYA.noreply@github.com
4cdb8d4ce152583225c607c387d527a82eced8d3
7c9707f0f1cb8e633ac605934f3dbd8036790868
/projet/rpi_manager/models.py
f61c7c196096c5f2351a5ccd5919b2269e0b3f2e
[]
no_license
ometeore/hydropo
891e1abd4c1b8ccd0a3b27a043abf894b70ceb5b
324076d4b7ddbd14e718c424eb24d129c2a2243c
refs/heads/master
2023-06-14T08:35:55.838469
2021-07-04T16:28:09
2021-07-04T16:28:09
290,198,666
0
0
null
null
null
null
UTF-8
Python
false
false
3,146
py
from django.db import models from django import forms from datetime import datetime from channels.layers import get_channel_layer from asgiref.sync import async_to_sync class Rpi(models.Model): name = models.CharField(max_length=200) uid_name = models.CharField(max_length=200) last_connect = models.DateTi...
[ "pilt64@hotmail.fr" ]
pilt64@hotmail.fr
9dad79201f18f38def9a65250a4156fddfac10ec
0a01b20dade2c968ebb0b4f4f8425c22b1c9b8c4
/WebApp/models.py
55b15b803a321a5580dbb1a33fdd896e1a8ba27a
[]
no_license
avitko001c/django_project
216ca1b2953c6c92a2db63961a8567dfd6d6294f
1bca2809b30ef7523d628f38e4d219f0f79bf6cb
refs/heads/master
2022-12-13T22:58:36.222258
2020-09-13T23:40:45
2020-09-13T23:40:45
295,257,412
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
from django.db import models from django.db.models.fields.json import JSONField from django_mysql.models import ListCharField from django.db.models.fields import * from django.utils.importlib import import_module # Create your models here. class Email(models.Model): headers = JSONField() email_to = ListCharFie...
[ "andrewvitko@gmail.com" ]
andrewvitko@gmail.com
c36f7a69fafecec3d2e69a8488282cbbc98906bb
90f8077e9460764dc2d90a8ea1d1913e463bfcef
/gui.py
ca12f5061382e762efca1030aadf89dbc8fa188a
[]
no_license
area515/rfidreader
bf82808ffcea1207752520aeadf0a6c20672467c
4460b79ce96ff45a83e42b8edc2cf26b9ccff9f1
refs/heads/master
2021-01-17T14:02:09.177095
2016-08-03T01:09:29
2016-08-03T01:09:29
18,233,249
8
3
null
2016-08-03T01:09:30
2014-03-29T03:10:03
Python
UTF-8
Python
false
false
3,054
py
''' @author: Sean O'Bryan, Ross Hendrickson ''' from Tkinter import * import Tkinter import tkMessageBox import os import subprocess import rfid import gnupg import pygame root = Tk() root.wm_title("RFID Reader") root.columnconfigure(0, weight=1) # make a solenoid solenoid = rfid.Solenoid(12, 10) # make an rfid ...
[ "stobryan@gmail.com" ]
stobryan@gmail.com
a3f81763f9e1a8d13b8b807682abb096f73ffb0f
1351256bdbd6d98fa6383a41f8db317ded419c05
/apps/catalog/api/v1/views.py
bb1f9d8b5d7ba46dd395742735ee2d37dd1d7651
[]
no_license
medinan/test
64b0eb7fa593dc2e5fac14e8b09640d760ffc30e
350fcaf141d3611d80368279799b3fb8d1136304
refs/heads/master
2023-09-05T05:50:07.117190
2021-10-25T22:10:12
2021-10-25T22:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,218
py
from django_filters import rest_framework as filters from rest_framework import viewsets from apps.catalog.api.v1.filters import ( CategoryFilterSet, BrandFilterSet, ProductFilterSet, ) from apps.catalog.api.v1.serializers import ( BrandSerializer, CategorySerializer, ProductSerializer, Pro...
[ "noreply@github.com" ]
medinan.noreply@github.com
0fb85e28da39a06a15a5bb8f4c3e0c42615285b3
90b92cc5ec851ba02eb62ef66faac5124d2b4004
/lab.py
bd5c434acf8d08ef2e9b00350a7e116972bdc47b
[]
no_license
CodecoolGlobal/first-game-python-404-groupname-not-found
326b32ad2d30b09f7cdb6fd249d8da75791db8cb
d748b74c8170e070c29b5da91da111c6625621d0
refs/heads/master
2020-06-27T19:50:27.309800
2019-08-01T23:07:27
2019-08-01T23:07:27
200,034,331
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
def openmap(file): # Reads the map.txt file and returns it as grid with open(file, "r") as coords: map = [[char for char in line] for line in coords] return map def printmap(map): # Prints the whole map as a string oneline = [] for lines in range(len(map)): oneline.append(''.join...
[ "krisztian@pometko.hu" ]
krisztian@pometko.hu
6ab55be04331c76cccf1ce24dfa50f5dc47cd8ca
4de8ee1711ab8b74f003217ecde93087db69b79c
/src/python/pants/backend/python/dependency_inference/rules_test.py
903e2bb05e825e10dba91dab777479ebf72e7ae4
[ "Apache-2.0" ]
permissive
TansyArron/pants
45b19496a29aa962da22cb83b75e53d3c4ab291a
20c8e11460ef9e7d9bfce12504f27729db7cc929
refs/heads/master
2022-12-09T01:34:39.535612
2022-12-05T20:47:31
2022-12-05T20:47:31
40,982,374
0
0
null
null
null
null
UTF-8
Python
false
false
32,305
py
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations from textwrap import dedent from typing import Iterable import pytest from pants.backend.python import target_types_rules from pants.backend.python.de...
[ "noreply@github.com" ]
TansyArron.noreply@github.com
8621122cc4212144fa368ce62b7b1f138087f702
aecc10302c1a69f27b1cec4173aabcfc2b18706d
/artemis/celery_mq.py
f0c5bbf60f33684184a6ed44db3c8c3a338aaf0e
[ "Apache-2.0" ]
permissive
shangjunimo/ooqitech-artemis
ac6047e8fab8dc3086d1254bc88ba3e5c2cdc566
bd410c274d2bf01fe69423589b19f2b7aabb7ead
refs/heads/master
2023-01-13T16:46:36.559436
2019-09-19T08:06:29
2019-09-19T08:06:29
209,502,880
0
0
Apache-2.0
2022-12-27T15:35:34
2019-09-19T08:33:26
JavaScript
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from celery import Celery from event_consumer.handlers import AMQPRetryConsumerStep from artemis.settings import CELERY_CONSUMER_MQ_BROKER_URL class Config: enable_utc = False timezone = 'Asia/Shanghai' BROKER_URL = CELERY_...
[ "hui.yang@ooqi.cn" ]
hui.yang@ooqi.cn
8168b5bf889b97e447da255e86d69e116f571d47
c8975f8bbe32637399a3ca00ad21e8e6602e358d
/aoc/year2021/day14/day14.py
bf40f0314c32c659180cf4eaa5ae69c3475ea98d
[ "Unlicense" ]
permissive
Godsmith/adventofcode
0e8e0beb813300206b2810b523b54a6c40ca936f
3c59ea66830f82b63881e0ea19bfe3076f2a500d
refs/heads/master
2021-12-28T13:05:42.579374
2021-12-26T22:19:55
2021-12-26T22:24:01
225,074,419
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
from collections import Counter from aocd import get_data from more_itertools import pairwise def run(data, iterations): new_element_from_pair = {tuple(line.split(" -> ")[0]): line.split(" -> ")[1] for line in data.splitlines()[2:]} new_pairs_from_pair = {(e1, e2): [(e1, inserted), (inserted, e2)] for (e1, e...
[ "filip.lange@gmail.com" ]
filip.lange@gmail.com
c02b9d675382a884756e42df5c3b5955974d4bd5
d8521979287af3633ae065c5d187aa4ac9636672
/BlockApp/core/req4register.py
86b4a1ee44ba1a38fbe0b7e69c5666b32e028adf
[ "MIT" ]
permissive
AlbertChanX/BlockChain
3289e74e47221996dcac8c12cdc2e7ddbdd7f9af
5b21145bdd8b742cf7fe3b725f16a18ddf34aacf
refs/heads/master
2023-08-15T11:00:52.973165
2021-09-28T12:34:44
2021-09-28T12:34:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
import requests,json import fire def register(url, node_url): # url = "http://127.0.0.1:8000" pay_load = { "node" : [node_url] } url = url+'/register' print(pay_load['node']) # post data must be json string req = requests.post(url, data=json.dumps(pay_load)) print(req.status_cod...
[ "292368101@qq.com" ]
292368101@qq.com
3cd515eca280170fe3a32456a2936ef77006c086
286b6dc56323f982092ffafbfac8a32dbbaeb7ef
/Day_09/sample_pyvmomi.py
10033c34292fb7b9d33af55fc34b5e48284d85bb
[]
no_license
learndevops19/pythonTraining-CalsoftInc
ccee0d90aadc00bfdb17f9578620f6bf92f80a4c
c5f61516b835339b394876edd1c6f62e7cc6f0c3
refs/heads/master
2021-02-05T04:27:17.590913
2019-11-20T17:27:06
2019-11-20T17:27:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,761
py
import ssl from pyVim import connect from pyVmomi import vim def connectVcenter(vCenterHost, username, password, portNum=443): """ Description : Performs vCenter connection. Parameters : vCenterHost - vCenter server ip address (STRING) username - vCenter server username (STRING) ...
[ "rajpratik71@gmail.com" ]
rajpratik71@gmail.com
6d21cd382eeb98e10bb5bc8a2a202726211def5f
ce6ace34704e74c2a53e9b38b2630876d9cd52e2
/mdias_addons/metro_park_maintenance/models/day_plan_limit.py
8f25985b0d5a8f7e281a0c359a8c74c657e8ef34
[]
no_license
rezaghanimi/main_mdias
e3cfd8033204d8e7e484041f506892621a3e3479
13b428a5c4ade6278e3e5e996ef10d9fb0fea4b9
refs/heads/master
2022-09-17T20:15:42.305452
2020-05-29T05:38:35
2020-05-29T05:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
# -*- coding: utf-8 -*- from odoo import models, fields, api class DayPlanLimit(models.Model): ''' 日计划限制 ''' _name = 'metro_park_maintenance.day_plan_limit' location = fields.Many2one(string='地点', comodel_name='metro_park_base.location') max_repair_after_high_run = fields.Integer(string='高峰...
[ "619851623@qq.com" ]
619851623@qq.com
f23d62dafdbb77a295d93ac632a4441e517a6c10
c92d5b8509f23444622529aa24d4bc85bf1d3c9f
/main/question47/book1.py
44b832b082eb8ed9403996e4f3f5e5ee8a3f4ad1
[]
no_license
qcymkxyc/JZoffer
75dfb747394018f14552f521413b01a5faa9c07f
28628616589061653a8322d5b400f9af32f2249d
refs/heads/master
2021-07-15T00:53:00.711360
2019-02-10T03:16:52
2019-02-10T03:16:52
149,714,958
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/usr/bin/env python # _*_coding:utf-8_*_ """ @Time : 19-1-24 上午10:58 @Author: qcymkxyc @File: book1.py @Software: PyCharm """ def max_value(matrix): """ 动态规划 :param matrix: List[List[int]] 矩阵 :return: int 最大值 """ n_row, n_col = len(matrix), len...
[ "qcymkxyc@163.com" ]
qcymkxyc@163.com
c0ad5e4f594c2a0a8a067a743865488afb3283c2
7cdf3898d32f397475033d282cd9907fb0f0e239
/api/v1/database.py
630b5a385410ec500e77f52ed4b455c7cd1e4ba9
[]
no_license
Monk-Liu/Orienteering
fccbc9f4d679aa88783d87c085f70d135aff15c7
1c7f88fa7c31c202509d37841f0b159a74398acc
refs/heads/master
2021-01-19T06:59:09.083177
2016-06-27T12:00:48
2016-06-27T12:00:48
46,102,081
0
0
null
null
null
null
UTF-8
Python
false
false
6,349
py
from config import SQLINFO import sqlalchemy from sqlalchemy import Column,Integer,String,Text,DateTime,Float from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker,relationship,backref from sqlalchemy.schema import Table,ForeignKey import redis import uuid from utils import enc...
[ "1152761042@qq.com" ]
1152761042@qq.com
bc22cdb682ffd44df71b11ce3d8efee59f611392
ba74367ce35aec6fb3b0985b03cdc28798d6faba
/ABIE/abie.py
7608b8898989c322ee63f81e8958255351558ae2
[]
no_license
maxwelltsai/ABIE
e2e85163a44f01bbfa3ef4ef2e76666bdbf307ed
a6c36fbd2ce3bfa125a81a1512ff30dcbdcb9c19
refs/heads/master
2021-06-11T01:36:09.466921
2021-04-13T12:36:32
2021-04-13T12:36:32
152,776,610
2
0
null
null
null
null
UTF-8
Python
false
false
13,895
py
""" Alice-Bob Integrator Environment (ABIE), created by Alice and Bob in the Moving Planets Around (MPA) project. Features: 1. The integrator takes input either from the commandline, or from the config file 2. The integrator periodically stores data to HDF5 3. The integrator supports restarting simulations...
[ "maxwellemail@gmail.com" ]
maxwellemail@gmail.com
f32d24f9fdb32d8eb2a1eef5c82ae7102d01c864
cc5f2ee6a5de6faf141f10b1b10717243821a0a5
/problems/problem 106.py
e9b15f310b5e23ecf09e8a1864e6f1ea2dd3f449
[]
no_license
alexandrepoulin/ProjectEulerInPython
faf634025c86bc74fc764d315813bf1706e58f63
97cb52cdd7508f2db891d1644e3d247814571718
refs/heads/master
2020-04-22T11:47:04.594328
2019-02-16T00:17:40
2019-02-16T00:17:40
170,341,883
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
print("Starting") import useful ## only need to check subset pairs which have the same number of elements ## there are useful.nChooseK(n,s)*useful.nChooseK(n-s,s)*0.5 such pairs ## for a specific subset, we only need to look at pairs which have interweining elements ## such as (1,3)(2,4) ## number of times th...
[ "alexpoulice@gmail.com" ]
alexpoulice@gmail.com
020ceae132754010f36ebf19881b9db9014ed256
3f95c72a6ad383a8c929ccff679d4635223e39e7
/powheg_2017/ggH_SM.py
a8936c8ca06167fa97c0b336b9201d970b30df1c
[]
no_license
danielwinterbottom/MC_gen
88d2a7395b276b57433a4d1699c167bba25a7518
a814a7ed8f1921ee459c7c2f39d8d160e47c13c2
refs/heads/master
2020-06-20T17:56:02.320861
2019-08-12T08:33:42
2019-08-12T08:33:42
197,200,615
0
0
null
null
null
null
UTF-8
Python
false
false
9,358
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: Configuration/GenProduction/python/HIG-RunIIFall17wmLHEGS-02619-fragment.py --fileout file:HIG-RunIIFall17wmLHEGS-02619.root --mc --eventconte...
[ "[Email" ]
[Email
18d2490212c96c729ab2d95a3c7d7a6c16515918
8ef64c761140d0d0c0a05b9252a378417677b47f
/release-cleaner.py
938fc5d3b43daf5459478cc9428c2c624e1750b3
[]
no_license
howaminotme/python-experiments
cfae41edb9cbe38b166847470ac8df3851d6fc51
434db77847f32cb011d2e0b666c6abd7d3c748b2
refs/heads/master
2021-01-16T18:18:12.554340
2014-11-22T18:28:29
2014-11-22T18:28:29
12,466,538
0
1
null
null
null
null
UTF-8
Python
false
false
1,123
py
#!/usr/bin/env python import time import subprocess from optparse import OptionParser parser = OptionParser() parser.add_option('-t', '--target', type='string', action='append', dest='target', help='Directories to be cleaned, with base number of files to be kept and file expressions to ignore, Format : /home/ec2-user...
[ "bobby@bobby-ThinkPad-T420.(none)" ]
bobby@bobby-ThinkPad-T420.(none)
d1c16aaedb8a8c6c729f677384d7b278cec936b3
c4f746f7f7cdad7a843acf693efd1a0f32ff9460
/small_train/utils.py
46c1f83bc04f33e087d29595b12764b36ef03f8a
[]
no_license
jon-wong-sutd/ml-workshop
1b08ba90d267bf317b630a4cff570c369236da41
9d842263744068156a52124f8817ad708259721c
refs/heads/master
2020-12-14T08:50:50.443241
2017-06-29T00:50:44
2017-06-29T00:50:44
95,509,633
0
0
null
null
null
null
UTF-8
Python
false
false
1,476
py
from math import sqrt import tensorflow as tf def kernel_on_grid(kernel, pad): def factorization(n): for i in range(int(sqrt(float(n))), 0, -1): if n % i == 0: # if i == 1: print('Who would enter a prime number of filters') return (i, int(n / i)) (grid_Y, grid_X) = factorization (...
[ "jhannwong@gmail.com" ]
jhannwong@gmail.com
71f9e62bbb3f01f87d8d51c517e350f8129ab20b
7ee95e82bf001151761760adee6c8daafdd0f53d
/main.py
3d3d4a4c6da2d672c98e1f68d568a7419d0126ad
[]
no_license
mjohnson518/ndc-api
934f90612802396fe66dd0bb75fbaa1a53f4239b
a45f6661f2007abaffde422eb1e4b525f09473f5
refs/heads/master
2023-03-17T18:49:02.267594
2021-03-03T15:40:42
2021-03-03T15:40:42
299,637,605
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
from config.wsgi import application app = application
[ "marcjohnson518@gmail.com" ]
marcjohnson518@gmail.com
a9e19bfcc0e74994f1eb9372e893415376fb7333
54bbfcd35f93ea035fa33d4567bb61b9f9972c86
/detection_tool/demo_xor.py
dc938eac71baad2aa237cc4b39caf527039ba17a
[]
no_license
seunghan-ga/IDA
88100643fb7b07802985dad57052614ced573c6a
2b3f7408133ee12dc5178281117f9305ad85eb5e
refs/heads/master
2022-12-11T23:56:08.766957
2020-08-12T05:20:36
2020-08-12T05:20:36
241,831,397
0
0
null
null
null
null
UTF-8
Python
false
false
4,930
py
import argparse import shutil import time import cv2 import sys import os from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import QDialog from PyQt5.QtWidgets import QProgressBar from PyQt5.QtCore import QThread from PyQt5.QtCore import pyqtSignal from tqdm import tqdm from detection_tool.transformation....
[ "ga.seunghan@iset-da.com" ]
ga.seunghan@iset-da.com
8c7259cafebf5ebbaa2fbd3663278c7ee04d2a70
57750e1b1bc7a4260480d12c5f4b4d1130de4a39
/models/order_list.py
67fa792ea1865d347f1db01ca553e571e74ac284
[]
no_license
stmccoy/Flask_lab_1
3c64da93e209e58196e7524920fa63473d532778
b69cb5a26c35557c6745464bf9983ba886d719ed
refs/heads/main
2023-04-01T14:39:14.459435
2021-04-14T15:11:59
2021-04-14T15:11:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from models.order import * order_1 = Order("Fred", "07/04/2021", 5) order_2 = Order("Sandra", "13/04/2021", 10) orders = [order_1, order_2]
[ "giulianoderosas@gmail.com" ]
giulianoderosas@gmail.com
dce628934a13bb8243e2323ffafa2f00f3564e81
f318601d474d11eea375e24e8da825544ed91637
/prefija.py
230d46b526ca30ad83ef7086e579cf57a78e2630
[]
no_license
josefm09/triplos
484f1f428af3b4ad2b4a2cf90a9ee5087a0754e8
cb5c65cb9373938dcee729e1abf3a6b64455fa03
refs/heads/master
2020-03-15T19:27:47.105932
2018-05-06T05:22:32
2018-05-06T05:22:32
132,309,212
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
# -*- coding: utf-8 -*- import sys import re #example (6+4)*8(7+4) print('Declare una expresion') #ex = str(input()) #se almacena la expresion ex = '(6+4)*8(7+4)' valid = False #se inicializa una variable en falso, luego se utilizara pila = [] #se inicializa la pila resultado = [] #se inicializa el arreglo de resultad...
[ "josecarlosfloresmoran@hotmail.com" ]
josecarlosfloresmoran@hotmail.com
5f06320ea1348040f92e9b3d949bae91e0e5f7a1
deb08f802e3fdfbe9e1918ff12cc755cbd2a679f
/2_CH/Keyword.py
746a45836ddb422b186b3a26e7470b24f7240581
[]
no_license
t-a-y-l-o-r/Effective_Python
b6cf9d197664b64635f131fab503494387b13257
84ac7b1fb3e3a8ce7c64b865f7e5fbfb03159368
refs/heads/master
2021-01-24T19:38:43.985278
2018-03-22T23:24:33
2018-03-22T23:24:33
123,243,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
''' Author: Taylor Cochran Book: Effective Python Ch: 2 goal: Enforce clarity with Keyword-only arguments ''' # division that ignores errors # requires the user to remember the position of each argument # possibly resulting in sublte bugs down the line def safe_division(number, divisior, ignore_overflow, ignore_zer...
[ "taylorjcochran@hotmail.com" ]
taylorjcochran@hotmail.com
0a1a637d989435418064ced834271773be9a47dc
943c9b8ee8414a467c6c20cdb517b3aaeb365fbc
/old_data/code/RunTest2.py
b9cd98009207fed3cb7a1cb01f7a7360eabf27f2
[]
no_license
Aralas/cross-reference_network
b735d9e7abf162cd36b8169c24726be25baa8ccf
04ed853895445548ddaa5b49bec2123ec43cc4fd
refs/heads/master
2020-04-08T12:26:03.225760
2019-03-08T08:20:56
2019-03-08T08:20:56
159,347,229
0
1
null
null
null
null
UTF-8
Python
false
false
4,750
py
# -*- coding:utf-8 -*- """ @author:Xu Jingyi @file:RunTest2.py.py @time:2018/12/2804:06 """ import tensorflow as tf import numpy as np import random import FactoryClass dataset = 'MNIST' model_type = 'CNN' seed = 10 # initialization = 'xavier' model_architecture = [[32, 5, 5], [64, 5, 5], [1500]] noise_level = 1 aug...
[ "14300180119@fudan.edu.cn" ]
14300180119@fudan.edu.cn
f2903089615d4356f19532dc60fb14fac9acfb99
7a8ba5cc264b58462b8cad88a70297876dbd2876
/SearchJavMaglink/anls/anlslink.py
a552821d4fa6a72191d6e19ecd2a52a3f479a86b
[ "MIT" ]
permissive
Roger-tn-su/SearchJavMaglink
6f3e6500f7762e92e102a8ec024b71b8506100a4
604e6e4c3ac943dedba16293a8b41f4a8f19c351
refs/heads/master
2020-08-03T01:42:10.748016
2020-01-15T07:08:43
2020-01-15T07:08:43
211,579,204
0
0
null
null
null
null
UTF-8
Python
false
false
2,704
py
#encoding: utf-8 """ @project = SearchJavMaglink @file = anlslink @author = ThinkPad @create_time = 2019-09-2917:00 """ import re import xlrd import xlwt def take_size(av_info_elem): return av_info_elem[3] # def get_av_info(ax_xls_file, av_info_list): # jav_workbook = xlrd.open_workbook(ax_xls_file) # ...
[ "roger_su@163.com" ]
roger_su@163.com
8adf0f6e46167b035d5473943b9b2eea97559606
709f734cdd3530f8a3ff81c83b08d502946f73e8
/core/attack.py
e6be5e5fc11e5358018eb189c34314f70a151919
[]
no_license
ccccm4/awd_framework
fab5e9f337f73518f56c70e1b5501b5818f7f266
37c1bb206fb1bc704feadb935dfe35443c765415
refs/heads/master
2020-06-22T12:13:20.588116
2019-07-19T06:21:52
2019-07-19T06:21:52
197,713,326
0
0
null
null
null
null
UTF-8
Python
false
false
3,543
py
# _*_ coding: utf8 _*_ import re import os import pickle import popen2 import requests flag_pattern = re.compile('flag\{.*\}') class Attack(): def __init__(self): try: with open('data/ip_list.pickle','r') as fp: self.ip_list = pickle.load(fp) with op...
[ "noreply@github.com" ]
ccccm4.noreply@github.com
a17b7c155f7613f9593547322fbe5f0fed743010
284024e804a5bb4129ebd4f0e835a86144b9fc8c
/const.py
8d16efbab47fa555252a0da697c9026c26524b16
[]
no_license
sunnypwang/honk-raid-bot
1091d15b15bfa27c5aa634b95163b662e0ed85f5
3c246f4240770aef52a06242407941c35929d2cd
refs/heads/master
2020-11-23T18:37:15.262575
2020-03-07T16:12:30
2020-03-07T16:12:30
227,770,974
0
1
null
2020-03-07T16:12:31
2019-12-13T06:22:53
Python
UTF-8
Python
false
false
85
py
import os BOT_TOKEN = os.environ['BOT_TOKEN'] SHEET_URL = os.environ['SHEET_URL']
[ "noreply@github.com" ]
sunnypwang.noreply@github.com
24fe9556ce940ab8806e5db0a44a5d00d39fa360
f2ff9b13a4fcb9330e59e87d08ef542d6ddba18a
/src/data/tweets2sqlite.py
251168e3778b696738cdfbdf6bf455e2c7f18861
[ "MIT" ]
permissive
EmbeddML/peap-analysis
489732dc2d71a1428372b29fbc18ca620d224c88
14eb75cdaa60842dd9b530c10c47985aa77f8ff7
refs/heads/master
2023-08-19T09:25:05.260246
2021-10-12T20:21:20
2021-10-12T20:21:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import pandas as pd from sqlalchemy import create_engine import click @click.command() @click.option( "-t", "--tweets-file", "tweets_file", type=click.Path(dir_okay=False, exists=True, readable=True), required=True, ) @click.option( "-s", "--sqlite-file", "sqlite_file", type=click....
[ "p.gramacki@gmail.com" ]
p.gramacki@gmail.com
6f37bf00f359e16e59af581cd68fe789c123ffa9
fbc9f9088f636d71119fca87c2120f533e10668d
/Book_store/settings/base.py
eed8356f89434a96c8696d7152bf2bb7955b548e
[]
no_license
mastercsay2511/BookStoreV1
e726c18499482ef1bcd12acf4575856b68a536a6
5ee23b35a18d0ab4d7810bacf482e7f9f7a21768
refs/heads/master
2023-05-31T04:58:36.545403
2020-07-18T05:33:39
2020-07-18T05:33:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,214
py
import os from decouple import config # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname( os.path.dirname (os.path.abspath(__file__)))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.0/h...
[ "ffoot9898@protonmail.com" ]
ffoot9898@protonmail.com
8cf423d1f9f0257fa371e065ae2d57628aeedaf2
ee4db47ccecd23559b3b6f3fce1822c9e5982a56
/Analyse Data/NumpPy.py
d2bf919d8ad04f330f143dfea2c477d7387bd3ee
[]
no_license
meoclark/Data-Science-DropBox
d51e5da75569626affc89fdcca1975bed15422fd
5f365cedc8d0a780abeb4e595cd0d90113a75d9d
refs/heads/master
2022-10-30T08:43:22.502408
2020-06-16T19:45:05
2020-06-16T19:45:05
265,558,242
0
1
null
null
null
null
UTF-8
Python
false
false
4,021
py
# Introduction to NumPy: Numerical Python #NumPy is great at storing and manipulating numerical data in arrays. import numpy as np # NumPy Arrays #A NumPy array is a special type of list. It’s a data structure that organizes multiple items. Each item can be of any type (strings, numbers, or even other arrays). test...
[ "oluchukwuegbo@gmail.com" ]
oluchukwuegbo@gmail.com
8e8f9d73ce6f9472f45639a730ffebcd0b78cfa8
3d078ad4b348fb3b967adcb819cd39410c00960a
/88lcm.py
12a493281bf2e2baf786d1aeccd360ec177ab889
[]
no_license
Dhandapani299/python
7275af2cf3a112d8cf930748c932ad61cb3dcbfb
ed8672a83f3810241138375eafd7420a24603734
refs/heads/master
2020-05-22T05:09:15.924855
2019-05-12T13:40:40
2019-05-12T13:40:40
186,230,941
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
def lcm(m,n): if m>n: grater = m else: greater = n while(True): if((greater % m == 0) and (greater % n == 0)): lcm = greater break greater += 1 return lcm num 1 = int(input()) num 2 = int(input()) print(lcm(num,num2))
[ "noreply@github.com" ]
Dhandapani299.noreply@github.com
aaf684914f88ee47e002fe6283aad1328b10f3ad
6cce023315d4083c7df0fcdeea2a037b00818878
/py-files/data_setup.py
3a1efa85492db400854022be0137e9d4defafa58
[]
no_license
Limmen/Distributed_ML
e02e865a123e552d3795c76a4a0846f2da6f3a55
d5b65a0bcb89182e3ac773b0a3cec46625dabccb
refs/heads/master
2021-05-09T03:52:41.530823
2018-01-28T12:21:47
2018-01-28T12:21:47
119,255,519
5
1
null
null
null
null
UTF-8
Python
false
false
2,735
py
import argparse import pyspark from pyspark.sql.functions import udf from pyspark.sql.types import * import tensorflow as tf import pandas as pd import numpy as np SEQ_LABELS_TRAIN = "data/y_train.csv" SEQ_FEATURES_TRAIN = "data/x_train.csv" SEQ_LABELS_TEST = "data/y_test.csv" SEQ_FEATURES_TEST = "data/x_test.csv" c...
[ "kimham@kth.se" ]
kimham@kth.se
637c084fe5757dc015d5c194b45ffe7749980d41
ed5d9407a3321b079b4cf7d67f09c2e32a82aef6
/ensemble_predicted.py
cfe09e7b801495d806d569ba819b36dc55b4cb45
[]
no_license
laurinpaech/segme-net
45b087e015d48116d151a5e8b3f196f145ff0831
df19792336696dddbf419aa5e7a18eea66f66869
refs/heads/master
2022-07-17T14:20:13.074387
2019-11-02T17:25:08
2019-11-02T17:25:08
175,799,081
0
0
null
2022-06-21T22:15:48
2019-03-15T10:27:13
Python
UTF-8
Python
false
false
1,725
py
from data_loader.data import * import argparse import os """ Use this to combine pre_ensemble images to fully ensembled output submission images Images are in data/submit_output/XXX/pre_ensembled/ """ parser = argparse.ArgumentParser() parser.add_argument('--desc', type=str, default='stacked_unet_default', ...
[ "paech.laurin@gmail.com" ]
paech.laurin@gmail.com
a3abadf3e5c58d3196f6ac02b55a07ff35093bd4
16c77266859989d156fe3f4d0ce3a37a1898ad38
/ml/sk/__init__.py
2e9e9ccc69e32e7f29ce91893b4883b61084bc5d
[ "MIT" ]
permissive
SRHerzog/ut
92620e66be2ea9707d9cd3cf390179326ed2eefe
894bd5607eb76676aaea7a37ed8a91b5fb5e805e
refs/heads/master
2021-06-30T19:15:46.131299
2017-09-15T20:47:35
2017-09-15T20:47:35
103,696,926
0
0
null
2017-09-15T20:08:10
2017-09-15T20:08:10
null
UTF-8
Python
false
false
54
py
from __future__ import division __author__ = 'thor'
[ "thorwhalen1@gmail.com" ]
thorwhalen1@gmail.com
e1e458abdbc5777af32bf1194e4add3db39fd867
36b9fa9f2d8ff655546a33cb47ddacd009bc00c9
/autogalaxy/profiles/light/linear/__init__.py
bb275334df92a6bf4b34d18f21e6aa123ae5dc62
[ "MIT" ]
permissive
Jammy2211/PyAutoGalaxy
67b76968b8516309b2ebdbff7affd5c1923cf0b1
d1a2e400b7ac984a21d972f54e419d8783342454
refs/heads/main
2023-08-19T01:00:22.320073
2023-08-17T15:39:46
2023-08-17T15:39:46
216,190,501
27
9
MIT
2023-09-13T14:07:43
2019-10-19T10:45:44
Python
UTF-8
Python
false
false
401
py
from .abstract import LightProfile, LightProfileLinear, LightProfileLinearObjFuncList from .gaussian import Gaussian, GaussianSph from .moffat import Moffat from .sersic import Sersic, SersicSph from .exponential import Exponential, ExponentialSph from .dev_vaucouleurs import DevVaucouleurs, DevVaucouleursSph fro...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
67360e7af6f9cc8a5f230d48a2d706a49749ca35
fc9175c91bf99ce697e3bed46a7cc0db3343283e
/11Documentos/exemplo02.py
2418a4d8567d9e2c793a8faa0d452a2f60fe5918
[]
no_license
cerchiariluiza/CodigosScrapsCompiladosPython
27758df20243146d29bcdc612d58082af450d4d1
4b1b7429068fe3072e7bed3f720e8519f9d60629
refs/heads/main
2023-04-01T10:33:47.642816
2021-04-10T15:07:57
2021-04-10T15:07:57
356,616,553
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
from urllib.request import urlopen from bs4 import BeautifulSoup import re import string def limpar_texto(texto): texto = texto.strip() texto_limpo = [] # Trocando um ou mais caracteres de nova linha (enter) por um espaço. texto = re.sub("\n+", " ", texto) # Trocando um ou mais espaços por um espaç...
[ "Lab@NOT-000-008.nscyber.local" ]
Lab@NOT-000-008.nscyber.local
9e66cd2e75a516c445ee081fad2339a4088a1f5e
d53605afd805311cc6a37b669afa2162965a5020
/sentimental_analysis/classifier.py
8920ec62cc45c2d3fc80797c992c8271bc57bb85
[]
no_license
ahmad-elbatanouni/sentimental-analyzer
659085c14d80ef3d20c8052e1ff58a04cedee2ad
b75b6871e2cc562b9d56cbab5d21cd6aba2caedb
refs/heads/master
2021-01-18T03:50:03.745465
2015-07-29T06:08:29
2015-07-29T06:08:29
39,876,505
1
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
import helpers class Classifier: def __init__(self, positive_corpus, negative_corpus): self.positive_corpus = positive_corpus self.negative_corpus = negative_corpus self.total_probability = 0 self.inverse_total_probability = 0 self.tolerance = 0.05 def classify(self, t...
[ "ahmad@Ahmad.(none)" ]
ahmad@Ahmad.(none)
bc441a7d134649701613b6e1325e68ee43471d29
b70be26411a98b6ef3f7598fce4f621193ff281d
/hack3/test_videocap.py
77e4cd2ea33d6cc6ff3b52bf049d480097fab3e2
[]
no_license
comcomet/first-repository
b914a1b9ac57296645b4ebf377a184ba26b63c25
6eadb7d916e69478f12e8740aebba264d2f93027
refs/heads/master
2023-02-01T15:55:11.943969
2020-12-20T02:34:10
2020-12-20T02:34:10
282,796,457
1
0
null
null
null
null
UTF-8
Python
false
false
7,047
py
#!/usr/bin/python import numpy as np import tensorflow as tf from utils import * import sys #GLOBAL VARIABLE INITIALIZATIONS TO BUILD MODEL n_steps = 80 hidden_dim = 500 frame_dim = 4096 batch_size = 1 vocab_size = len(word2id) bias_init_vector = get_bias_vector() def build_model(): """This function creates weight...
[ "yongsungs@gmail.com" ]
yongsungs@gmail.com
7a8252f05c1ee87e900b5ed853a3cabc43688b96
74081581575e80b2b0f6b75ba912d58ea4f37ac6
/maskrcnn_benchmark/modeling/detector/detectors.py
35064d2f9992fd2c2e08d4a29ad31d1e5a229f8f
[]
no_license
youngfly11/LCMCG-PyTorch
5f6b9f231613b86ac7b250ca0f34229402e1615e
e95299b9a9f1b13e21750ef0dcde0941d703d009
refs/heads/master
2021-10-25T19:29:12.967318
2021-10-25T03:35:14
2021-10-25T03:35:14
221,908,808
56
12
null
null
null
null
UTF-8
Python
false
false
419
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .generalized_rcnn import GeneralizedRCNN from .generalized_rcnn_det import GeneralizedRCNNDet _DETECTION_META_ARCHITECTURES = {"GeneralizedRCNN": GeneralizedRCNN, "GeneralizedRCNNDet": GeneralizedRCNNDet} def build_detection_model(cfg): ...
[ "liuyf3@shanghaitech.edu.cn" ]
liuyf3@shanghaitech.edu.cn
d1974e0e287d5e7372b79c80651ea675983be9e0
1c5cb22e6d0faab6ac11e7b8f4aadd2308a5b75f
/spark/persist_transactions.py
38d77568c2748a5a7cec5115a45942648b135657
[]
no_license
alexanderbatanov/safepay
c758b790334dae7f95a47d311d2ff2fb30b52f5c
02836bec67561d6a3ae6d1f8b0788837f2f9f0b3
refs/heads/master
2021-05-01T07:24:54.744465
2018-02-27T04:41:47
2018-02-27T04:41:47
121,155,217
1
1
null
null
null
null
UTF-8
Python
false
false
1,535
py
# persist_transactions - SafePay spark streaming job (initial data load) from pyspark import SparkContext from pyspark.streaming import StreamingContext from pyspark.streaming.kafka import KafkaUtils from pyspark.sql import SparkSession from pyspark.sql.types import * from pyspark.sql.functions import * from cassandra...
[ "alexb@MACAROSHA.local" ]
alexb@MACAROSHA.local
d26bfad3144de16da67ac8ac8a3c28948acff915
a98e18285e3ba5c5fde601bae933820cbaff3d7a
/mysite/blog/migrations/0003_auto_20180424_1228.py
302e9afd88f96af0041d1fcd411067ddc7d7d1db
[]
no_license
huanyiyuxin/mysql_mysite
bb72a1ee7207e8a88d1cd2c37e31058e3f81e7d8
55c94fad7a3ead45dbc57efda5dd10a6384705d5
refs/heads/master
2020-03-16T17:59:01.752362
2018-05-10T06:00:54
2018-05-10T06:00:54
132,854,767
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# Generated by Django 2.0.4 on 2018-04-24 04:28 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20180424_1206'), ] operations = [ migrations.RemoveField...
[ "954441@qq.com" ]
954441@qq.com
df7e6169ccdea122ba78000885ec1008e3579ebd
bc539788b876773e294383863252c1637de9eb7f
/Pscrapy/PycharmProjects/Reptile/Practise/practise4.py
a3249cb05379978d945554dfcee685df198bd50c
[]
no_license
umsung/scrapy
4eb56bf74f3e617e49dcdec61cf77010eb912f4f
deacd9f289159c5af114b0dd3110448ad7eb43e8
refs/heads/master
2020-05-31T14:11:46.530793
2019-10-16T01:32:25
2019-10-16T01:32:25
190,321,772
3
0
null
null
null
null
UTF-8
Python
false
false
120
py
num = input('输入数字:').strip() num = int(num) for i in range(1, num): print(' '*(num-i),'* '*i)
[ "545699233@qq.com" ]
545699233@qq.com
1b1a8f0378daac92ecbb890eb38b46894b17e9a1
15a833cfb3deec9278ca4a458d55aa7132ab63d1
/kakao_codingTest_winter_Internship/test2.py
f74ac217ea6f61186801b083c03be4857341bda1
[]
no_license
jaehui327/pythonAlgorithm
9db6bfb3446ab3049b39d575170d751a912a4646
3a60fb1694fa17c8e5dc7516d3ed2bb07a91c69b
refs/heads/master
2020-07-22T07:53:38.977926
2019-12-23T14:12:52
2019-12-23T14:12:52
207,121,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
def solution(s): answer = [] strList = [] numList = [] list = [] # 문자열 분할해서 리스트 저장 l = s.split(",{") for i in l: a = i.replace("{", "") b = a.replace("}", "") strList.append(b) # 크기순 정렬 strList.sort(key=len) # 숫자로 변환 for i in strList: numList =...
[ "jaehui327@naver.com" ]
jaehui327@naver.com
e99cf2e9adcb19df3756f4140c9f29418dca891a
a1db93eacf80566089dfd88794b28e2069e1c9ab
/StudentApp.py
775ae412a77a85cfc6ebf6fb2c73d88b6d99d1f2
[]
no_license
karthikkalidas/StudentApp
b5f80adde9dbe24eacf8f7d53945571e9eecd98c
4d94706eec9906a4709f8e94081aa997b15a8242
refs/heads/master
2021-01-19T02:33:33.590767
2016-06-26T16:04:53
2016-06-26T16:04:53
61,212,507
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
import json from pprint import pprint import sys import os class Student: def __init__(self, Name, PhoneNumber, Marks1, Marks2, Marks3): self.Name=Name self.PhoneNumber=PhoneNumber self.Marks1=Marks1 self.Marks2=Marks2 self.Marks3=Marks3 def __repr__(self): retu...
[ "karthik.kalidas@gmail.com" ]
karthik.kalidas@gmail.com
5fda4f9c3fff122d9c335a769425599b16276069
06ee55a195eca38e8cb81222704eb216f873c080
/persona/persona/settings.py
7a6480b3f17d5c78031a13cb42d073fcbd7f59a8
[]
no_license
TonyWhiteb/PersonaProject
bb0385e93d4ec610fd3ada0bcb2b7f3fa65b7d8a
5f14b21a7d83e6d7b8da188dbb8dcd0344681c45
refs/heads/master
2020-03-19T15:25:41.925361
2018-06-17T01:41:39
2018-06-17T01:41:39
135,847,701
0
0
null
null
null
null
UTF-8
Python
false
false
3,268
py
""" Django settings for persona project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "tonybai2016@gmail.com" ]
tonybai2016@gmail.com
b4ed712c26a2002dc0070864602ef4332b6c1617
a76803a441b76595372329a54e84e2b2d8fd5c6b
/clang/ubsan/__init__.py
e11a24908fdba31ce0eb9d93480cf990564256ff
[]
no_license
securesystemslab/sanitizing-for-security-benchmarks
ac66b1e6bd67a954a88e48751df8ea98b2b400b9
c2bf9d922ec8564208a7f926dce56e3a2dfc8355
refs/heads/master
2020-03-19T07:34:23.463598
2018-06-05T06:04:35
2018-10-04T04:28:34
136,126,254
20
4
null
null
null
null
UTF-8
Python
false
false
20
py
from ubsan import *
[ "dokyung.song@gmail.com" ]
dokyung.song@gmail.com
b85ffbbc411490b508f4ad212c32852d48891acc
8e559df1b6f34a09d32b4e854efa0dd6e4b62fe0
/cs5png3.py
2a28a0c248d3a21729f14d2d4a4b8c5fa009fca9
[]
no_license
norahpack/carbonEmissions
5108dbd64a9fd5181d9a496db57f551aa8f2bc2f
9b877996039c57d64e2236122fda6b15e9289f19
refs/heads/main
2023-08-29T16:08:28.642472
2021-11-11T22:23:20
2021-11-11T22:23:20
427,158,503
0
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
import os import sys from PIL import Image import time def saveRGB(boxed_pixels, filename = "out.png"): """Save the given pixel array in the chosen file as an image.""" print(f'Starting to save {filename}...', end = '') w, h = getWH(boxed_pixels) im = Image.new("RGB", (w, h), "black") px = im.load(...
[ "noreply@github.com" ]
norahpack.noreply@github.com
cbf3083dd8ea5ae4718b4b154ac624468f4e7c15
68b23f776fddb77de735419cbf30f33a49e9def2
/backend/terminus/home/urls.py
501046c917470aac71074c89c9f1d1a75f5cceac
[]
no_license
vash512/terminus
cbd00f74a600a13fd52aa2206c3eb1e7b5301ec7
4eb86d853bc76c22cd1af3c86fed1bc10d457c88
refs/heads/master
2016-09-05T14:49:42.655635
2015-07-09T03:34:38
2015-07-09T03:34:38
32,414,141
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from django.views.generic import TemplateView urlpatterns=patterns('home.views', url(r'^$', 'index_view', name='index'), url(r'^humans.txt$', TemplateView.as_view(template_name='statics/humans.txt', content_type='text/plain; charset=utf-...
[ "xtornasol512@gmail.com" ]
xtornasol512@gmail.com
3f88cac88fa1c16cd8a12b930fb31e2d30401da9
3ec0d6535dca5e5da5fc28b6f8cb800cf9b676cc
/venv/lib/python3.6/keyword.py
e94df0be026f611988df825e5dad1d42bc6078d6
[]
no_license
omarHazim/DB.github.io
6eecaeb1643ee7c41e245e2ad2847377f377e943
2b9dc94966c710083c0b0a3a82acfdd3911e4b35
refs/heads/master
2021-09-24T23:40:15.769464
2018-10-15T17:55:55
2018-10-15T17:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
/Users/omar/anaconda3/lib/python3.6/keyword.py
[ "omar@omars-MacBook.local" ]
omar@omars-MacBook.local
d4b38cd8aed1979f665275f13320cb82891a952a
56d8027b7af2fc160a63b546e6ea2f8a7e42e512
/Algorithms/peak_finding/python/1D_Peak_Finding.py
948a961875b1a83ff09cad39b098f53bbe341d70
[]
no_license
juicemia/DataStructures
fb8f278ebfc2e529c232912e0e6cc7ba3dcd1235
ffe87a03a8fc3d76e1be4e09f7f5218c897baf3a
refs/heads/master
2020-04-09T00:09:02.908752
2016-09-22T16:08:34
2016-09-22T16:08:34
13,316,162
1
1
null
null
null
null
UTF-8
Python
false
false
1,670
py
#!/usr/bin/python # Please read 1D_peak_finding.pdf for explanation what a peak is, proofs, and asymptotic complexity analysis of the algorithms # There will be two algorithms. A simple iteration through all the items in the array until finding a peak, # and a divide and conquer approach to finding a peak # Keep in ...
[ "lukas_dmx@yahoo.com" ]
lukas_dmx@yahoo.com
cd12fc3d74b637e459f67a399298b68bce6112f1
2840fd738487060aa7604f60e70eb623f15a019e
/Lecture71_Somkiat_N.py
1660e7133d4e910222ab70747880801d5539a917
[]
no_license
knutz32/CP3-Somkiat-Nattawut
421f58a6953ede7326d2ac0ad6d972a52aaa2047
911feb4732b34dbcd62d19edae392dd0b0f800fa
refs/heads/master
2020-06-04T06:59:14.345898
2019-06-29T14:10:45
2019-06-29T14:10:45
191,915,041
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
menuList = [] priceList = [] while True: menuName = input("Enter Menu : ") if menuName.lower() == "exit": break else: menuPrice = int(input("Enter Price : ")) menuList.append(menuName) priceList.append(menuPrice) def showBill(): print((" Food Shop ").center(30,"-")) ...
[ "noreply@github.com" ]
knutz32.noreply@github.com
9290a1f679623cb6793f2eaef635da4b4689e597
6fce025097cebfd9d1dd37f6611e7fdfdbea90e6
/rainfields/model_conv.py
8a22d603ee800aed0a84aee26d7728f6111a7b66
[]
no_license
ANU-WALD/pluvi_pondus
ec0439d19acdcf4fdf712d6b14a1714297d661b2
ff8680f7115ab2cb75138bf6705abb59618e47d1
refs/heads/master
2021-07-01T14:32:14.501631
2020-08-22T09:41:28
2020-08-22T09:41:28
138,804,652
0
0
null
null
null
null
UTF-8
Python
false
false
2,287
py
from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, Flatten from tensorflow.keras.optimizers import Adam, SGD import numpy as np x = np.load("x_conv.npy")[:10000000] print(x.shape) y = np.load("y_conv.npy")[:10000000,None] print(y.shape) prec_mask = np.nonzero(y>0) print...
[ "pablo.larraondo@anu.edu.au" ]
pablo.larraondo@anu.edu.au
5c354b1c02a7628a71303fea1386ada6e1ca5032
cb4b3f85237354ea385d1fa3447af08cab0bab60
/web/server/codechecker_server/api/mass_store_run.py
8f1ab79c2afd13e72d80f76189e833deadd6990e
[ "LLVM-exception", "Apache-2.0" ]
permissive
hanwoody/codechecker
dece3ac6068f7b8163e976819abe5458279fcc53
f3ba8fd9a5ebafbe95715a515ff271708c6e8446
refs/heads/master
2023-06-20T09:27:39.181804
2021-07-08T08:23:40
2021-07-08T08:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,981
py
# ------------------------------------------------------------------------- # # Part of the CodeChecker project, under the Apache License v2.0 with # LLVM Exceptions. See LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # ---------------------------------------------------...
[ "csordasmarton92@gmail.com" ]
csordasmarton92@gmail.com
53b09cda44362a8837373232a16c18428dcb871d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02585/s497439083.py
c64c92fb3dffd1704057e5332cba0a7d2217f5e0
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
n,k = map(int,input().split()) P = list(map(int,input().split())) C = list(map(int,input().split())) g = [[0]*(n) for _ in range(n)] A = [n]*n # for i in range(n): # tmp = 0 # idx = i # cnt = 0 # set_ =set() # while cnt<n: # if C[idx] not in set_: # tmp += C[idx] # se...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2a6d4814c6479677185a3e416cdb8f34af10eb47
777186acb39efa3fe39c340f4f0a5e10558eb020
/cmake-build-debug/catkin_generated/generate_cached_setup.py
b7dc571a5d7de75e2cf5290e785b4359b7ebc710
[]
no_license
UGVProject/PointGrey_CaptureROS
887b2f232b8abad8b98274569b69b4773715e07f
5ebc1f18f7ea1b72f31c128226f453f82a2cdec6
refs/heads/master
2020-05-21T23:28:10.685788
2018-04-08T02:44:36
2018-04-08T02:44:36
63,830,992
1
1
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "hzhang032@e.ntu.edu.sg" ]
hzhang032@e.ntu.edu.sg
a05385930991319e2dc5ebf3029f337f10410b3a
ffba5c4a64a87214160c5904b220be8a6e88cd58
/python-packages/maizy_f/r.py
5e83d68deeca516eed184231752129e90e707f19
[]
no_license
maizy/dev-setup
6e8ae5bc9b56dd85f7612b453e92e31043816189
5eb8473cf9c66c66ff8fd9e8c72cecf931f62494
refs/heads/master
2022-11-13T22:08:00.184435
2022-11-13T08:33:25
2022-11-13T08:33:25
7,286,016
2
0
null
2017-12-22T11:57:00
2012-12-22T13:20:57
Python
UTF-8
Python
false
false
361
py
# coding: utf-8 # Copyright (c) Nikita Kovaliov, maizy.ru, 2013 from __future__ import print_function, absolute_import, unicode_literals from fabric.api import task, run @task def info(): run('uname -a') run('hostname') lsb_rel = run('which lsb_release') if lsb_rel != '': print('Debian like ...
[ "nikita@maizy.ru" ]
nikita@maizy.ru
096140cdef3ff3e96fcd9caedf641f52e4453269
cc32863d3ed260b36aed4f6e61a1a525b5f06221
/fyndiq_assignment/urlshortener/migrations/0002_pairedurl.py
b058cc1dd00348c840370b1c1be35ce61de86458
[]
no_license
orcunozyurt/fyndiq_assignment
492204654c03bd57fc275b8f251125cdcbd77ffa
f2893724a639778cb42880bbf9a3c709e8342144
refs/heads/master
2020-03-30T05:49:53.940943
2015-09-13T15:02:22
2015-09-13T15:02:22
42,361,444
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.core.validators class Migration(migrations.Migration): dependencies = [ ('urlshortener', '0001_initial'), ] operations = [ migrations.CreateModel( name='Pai...
[ "orcunozyurt@hotmail.com" ]
orcunozyurt@hotmail.com
8fb462ddad89edc7fbb7b5e557a717ad88b70e9c
8357c11dc5199ac3d7f688befef2318f4bad0605
/objectoriented/Sunil AI game/Part1.py
e3cb76f2651331e7ed10da02e9a08ae0ac444a70
[]
no_license
bibash28/python_projects
d92bd8b49dd75417233424dab5ea39bfc8dcf470
049795771ec876052b3fd6967c0d7575d6348c98
refs/heads/main
2023-05-16T17:36:28.780358
2021-06-09T03:40:14
2021-06-09T03:40:14
373,839,559
0
0
null
null
null
null
UTF-8
Python
false
false
5,745
py
import math #______________________________________________________________________________ # Missionaries and Cannibals Problem class State(): def __init__(self, cannibalLeft, missionaryLeft, boat, cannibalRight, missionaryRight): self.cannibalLeft = cannibalLeft self.missionaryLeft = missionaryLeft self.boat...
[ "bibashshrestha@gmail.com" ]
bibashshrestha@gmail.com
f70a7a2863d3e542f444742ecfd691c846a9bed6
8986ec16c3a7fa6ac7bd2e7e73a9e31c740c67fb
/Python-Repo/Automate/BeautifulRequests.py
400c5205f2bba2f1799c797190d613124fe78045
[]
no_license
anurag00/Practice-Repo
e365cddfc61fcb50c2a7e1e9e5b5f8c15980c2f3
f7e7c849d8e6d332d918671798ecfd97dbb963d8
refs/heads/master
2022-12-10T02:39:41.424384
2022-11-23T06:28:55
2022-11-23T06:28:55
67,098,851
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import requests, bs4 def getAmazonPrice(producturl): res = requests.get(producturl) res.raise_for_status() soup = bs4.BeautifulSoup(res.text,'html.parser') elems = soup.select('#priceblock_ourprice') return elems[0].text.strip() if __name__ == "__main__": price = getAmazonPrice('https://www.am...
[ "anuragsethi.inc@gmail.com" ]
anuragsethi.inc@gmail.com
208a6b8fc1e0c1f592e3b7d18c9b54892e832b7b
7cfef2dccf09644d49c8dfb8bd4197be51531ff4
/onegroup/wsgi.py
1355d18ee200da572cb95ddd2a21c78ffec71991
[]
no_license
varunagrawal/OneGroup
2235c808ec9394022e147fa1a8800b4d48ab3bae
fd9c92f2cc0c043c5c398efd99f2356a1475a64a
refs/heads/master
2022-05-06T12:52:25.933823
2022-04-12T21:44:22
2022-04-12T21:44:22
62,920,156
0
0
null
2022-04-22T23:41:50
2016-07-08T22:10:10
Python
UTF-8
Python
false
false
393
py
""" WSGI config for onegroup project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "vagrawal@pindropsecurity.com" ]
vagrawal@pindropsecurity.com
a4c1a9242bba0717fb4e57280314b144d76d42b9
e96e89ff40324fe099cd5aab73563308b66e6d52
/part4/recognize_face.py
74777cdb8d96106f65cf8a52ef799679e41af96b
[]
no_license
chunxuwu/opencv3_python
15898b4d7ee6978778df3e06ef4dfadec1190bbb
dfb6034f94abd4f65676d88516c1ff62cd12f73a
refs/heads/master
2020-06-09T22:03:07.634080
2019-07-02T15:48:44
2019-07-02T15:48:44
193,514,974
0
0
null
null
null
null
UTF-8
Python
false
false
4,325
py
import cv2 import os import numpy as np # 建立标签 label_num = [0] label_name = ["chunxu"] images = [] labels = [] # 将图像数组和CSV文件加载到人脸识别的算法中 def read_images(path): # 定义数据和标签 # 获取path文件下的文件及文件夹并返回名称列表 for dir_item in os.listdir(path): # 返回path规范化的绝对路径 path_abs = os.path.abspath(os.path.join(pat...
[ "chunxuwu_zjut@163.com" ]
chunxuwu_zjut@163.com
7585bda41bed0e298beec5495edf905f2f6233f0
b30dec6c5792458c7e435d36c2144196c717a420
/product/models.py
43e1cfa1c440363749017c67a90aeb1314811156
[]
no_license
RowdyKGZ/e-shop
09e8e938b82ae074e29066362e4753d37f4c574b
98e3d0d10d3585dae10c2906fe2212b299c76d66
refs/heads/master
2023-02-19T08:53:11.243969
2021-01-21T14:19:33
2021-01-21T14:19:33
331,340,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
import uuid from time import time from django.contrib.auth import get_user_model from django.db import models from pytils.translit import slugify def gen_slug(s): slug = slugify(s) return slug + '-' + str(int(time())) class Category(models.Model): name = models.CharField(max_length=255, unique=True) ...
[ "RowdyKG@gmail.com" ]
RowdyKG@gmail.com
cee5b7b2b75e484c426ea06dd60947850dfaaf8a
510517e2f9399a6590035e23e1db89dde2ee00f5
/workflow/workflow.py
e04e741e44275bd44f7330ea2fc4267ba22712a6
[]
no_license
fractaledmind/alfred_corpora
686ddbcfd1df92928738efdea716647ab4539380
15e7c3b047a4958dfe0299ee6d5ddc1a32f25de6
refs/heads/master
2021-01-15T14:18:31.475051
2014-09-25T03:18:02
2014-09-25T03:18:02
24,428,371
3
0
null
null
null
null
UTF-8
Python
false
false
74,281
py
# encoding: utf-8 # # Copyright (c) 2014 Dean Jackson <deanishe@deanishe.net> # # MIT Licence. See http://opensource.org/licenses/MIT # # Created on 2014-02-15 # """ The :class:`Workflow` object is the main interface to this library. """ from __future__ import print_function, unicode_literals import os import sys ...
[ "margheim@sas.upenn.edu" ]
margheim@sas.upenn.edu
fe687c852349e7fe2e04398f4929f9c94248ece8
2d52b8bf7f60043a77538743962095aeb7dd80e9
/Práctica 2/ID3/ID3.py
bdc2e0377e578e7fe46b7f71cbd167f2098b867a
[]
no_license
Javi96/SGDI
aa09b06f2e53ee1e2e6771803f1c8a6e4cc74ea4
1ffd55e577e1c3d594390c40dbda805649288bf5
refs/heads/master
2020-03-29T22:49:03.546186
2019-07-03T16:15:21
2019-07-03T16:15:21
150,441,863
0
0
null
null
null
null
UTF-8
Python
false
false
13,699
py
'''JoseJavierCortesTejada y AitorCayonRuano declaramos que esta solución es fruto exclusivamente de nuestro trabajo personal. No hemos sido ayudados por ninguna otra persona ni hemos obtenido la solución de fuentes externas, y tampoco hemos compartido nuestra solución con nadie. Declaramos además que no hemos realizado...
[ "javi.tejada96@gmail.com" ]
javi.tejada96@gmail.com
c0c384a71cdcc66ece3df3757b91a264386fb28b
967d7b69c22dfe1887ce28531689087e701d7c1f
/Udacity_Nanodegree/Machine_Learning/decision_tree/dt_author_id.py
69c7d408e5c44c785dbef6be23a9f1c11c0f2e5b
[]
no_license
nicky7711/Data-Analysis
2d5cc981ffcff26d735423ee13d3b824c5ad0f2d
fcbcec9e7b38cc627adb0bf8580fb109ee15b91b
refs/heads/master
2021-01-15T16:51:40.559906
2017-11-02T21:26:48
2017-11-02T21:26:48
99,729,967
1
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
#!/usr/bin/python """ This is the code to accompany the Lesson 3 (decision tree) mini-project. Use a Decision Tree to identify emails from the Enron corpus by author: Sara has label 0 Chris has label 1 """ import sys from time import time sys.path.append("../tools/") from email_preprocess im...
[ "noreply@github.com" ]
nicky7711.noreply@github.com
5f28d3473174758f29072135291cc13603f342ab
94bb77d0847df86ead773650cf4aa0885ed3ad4e
/dappcrowd/restapi/submissions_endpoint.py
d2fb9fe38acbfc271ba77225c557ec7a4ae17f5a
[]
no_license
Tribler/dappcoder
3766f0b252ac38d889ad3596b5b6335669d31100
8ae43d51a284929bc081c87debc9ef003d1f9116
refs/heads/master
2020-04-01T07:53:38.236183
2019-01-17T13:07:53
2019-01-17T13:07:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
import json from twisted.web import http from twisted.web.server import NOT_DONE_YET from dappcrowd.restapi.root_endpoint import DAppCrowdEndpoint class SubmissionsEndpoint(DAppCrowdEndpoint): def render_GET(self, request): """ Get all submissions. """ dappcrowd_overlay = self.g...
[ "mdmartijndevos@gmail.com" ]
mdmartijndevos@gmail.com
1d64866e18bbd874d1be4840170e198249a642dc
3f97b3718cf3db745235d3e46abc775ac9fc0ea7
/app/y2020/d10_adapter_array.py
74bafc570e9a0b7317c55d7e2266ab070f0d29e9
[]
no_license
bolmstedt/advent-of-code-python
ce48f7c90fe3861bc7947e3bc918d49166233fe8
b1e7f12318c5bd642dfe29f862680f51c0f66bb5
refs/heads/master
2023-01-27T14:26:00.365229
2020-12-12T00:43:04
2020-12-12T00:43:04
317,562,248
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
"""Solution for day 10, 2020.""" import collections from typing import Dict, List, Set, Union from app.base_solver import BaseSolver class Solver(BaseSolver): """Solver for day 10, 2020.""" day = '10' year = '2020' name = r"""Adapter Array""" def part_one(self, data: str) -> Union[int, str]: ...
[ "marcus@bolmstedt.com" ]
marcus@bolmstedt.com
0da70bd447adc54400de446fd008c174e5c6dbf1
d37eef0fa9fb9498266e06cb64799e736d89853c
/tests/wampcc/client_sends_bad_message.py
dbc0767b9e9b481217b2a735f8c210055b5ae684
[ "MIT" ]
permissive
samangh/wampcc
5d3d2ce56e6ded99c94b069e0eed743cb2fb4605
210502b57d10ab7b41d83e9e4c39b8da1460648a
refs/heads/master
2022-12-02T01:47:57.842335
2022-11-24T06:24:46
2022-11-24T07:00:55
173,782,913
0
0
MIT
2020-08-17T12:26:57
2019-03-04T16:40:05
C++
UTF-8
Python
false
false
619
py
#!/usr/bin/env python # # Copyright (c) 2017 Darren Smith # # wampcc is free software; you can redistribute it and/or modify # it under the terms of the MIT license. See LICENSE for details. # import socket import time s = socket.socket() # Create a socket object host = socket.gethostname() # Get local machi...
[ "git@darrenjs.net" ]
git@darrenjs.net
6d751b6338153469f545cb98bced25f45d54cb90
63e8b2fafdb5a9d18a4db98646aae8f37d0930d7
/tests/test_aggregators.py
b1fafd0cf4e1d31711d127c062b08b06f78b419c
[ "MIT" ]
permissive
mikecokina/pyopentsdb
7b5b1b3669a59e71675d21f66c37574fa9f864e9
e1a27802a5cb31fc0a6b8d8ced50f5403480f14b
refs/heads/master
2020-03-15T01:52:42.052483
2018-10-29T18:19:53
2018-10-29T18:19:53
131,904,099
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
import unittest from pyopentsdb import tsdb from pyopentsdb import errors from unittest import mock from tests.testutils import get_mock_requests_get, mock_tsdb_error_get, mock_unexpected_error_get from tests.testutils import GeneralUrlTestCase class AggregatorsTestCase(unittest.TestCase): __TEST_AGGREGATORS__ = ...
[ "mikecokina@gmail.com" ]
mikecokina@gmail.com
b4b798b4b5b230c3088019cf13bf6acb5fe54680
95d4c8f4cda7ad1c7623a2df02da8cee1ad0941d
/src/classifier/german_pos_tagger.py
a66192956c55f524f2b1142c45afdf0df24c1383
[ "MIT" ]
permissive
tiefenauer/ip7-python
8f587b7b77430facff19b24441490756b01d5b17
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
refs/heads/master
2021-09-09T20:37:21.647146
2018-02-20T12:07:46
2018-02-20T12:07:46
107,635,390
0
0
null
null
null
null
UTF-8
Python
false
false
3,382
py
# -*- coding: utf-8 -*- # # Natural Language Toolkit: ClassifierBasedGermanTagger # # URL: <http://www.experimentallabor.de/> # # Copyright 2011 Philipp Nolte # # 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...
[ "git@tiefenauer.info" ]
git@tiefenauer.info
2d4b29a8afb8ba840c0c97a4e5296c98779b4382
1f696631898e0279951709e150da6d87045e4bc4
/mysite/blog/migrations/0003_auto_20201018_1329.py
55a90dffcfe644d3983ed6e04e389fcac44cd412
[]
no_license
henryfrstr/django_project_blog
9f50b004b2fed59304c3f5a1f05247d44a232992
0f3c391a3cd790ae504fb84a786158a1d775abda
refs/heads/main
2022-12-31T05:05:20.989719
2020-10-25T11:26:27
2020-10-25T11:26:27
305,067,579
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
# Generated by Django 3.0.8 on 2020-10-18 10:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20201018_1327'), ] operations = [ migrations.RenameField( model_name='post', old_name='titles', ...
[ "63148122+henryfrstr@users.noreply.github.com" ]
63148122+henryfrstr@users.noreply.github.com
73b8eea0e247cc2fb5986af3fd0beca8578749f2
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/E9FwvGyad5CDbiH4C_9.py
d750b3eefe4c93d1c5db878cb337dcc042cf9e95
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
""" Create a function that takes a 2D array as an argument and returns the number of people whose view is blocked by a tall person. The concert stage is pointed towards the top of the 2D array and the tall person (represented by a 2) blocks the view of all the people (represented by a 1) behind them. ### Examples ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
9a79bc2d121ab5020b5787e81900966444fc6e38
76fefdb20c453e830b8db86f32a1b42d79108cdd
/venv/bin/django-admin.py
a02fc84b3fe69bf065a0bd2537f44fe524e8d4d0
[]
no_license
Belie06Loryn/chaty-final-master
35f6762e9bf45e1086db6280cd0bd7dc0828fb96
86e839c069eb54dad3390e84c6b7534d165a3942
refs/heads/master
2022-12-09T14:31:19.478090
2019-12-08T16:00:45
2019-12-08T16:00:45
226,365,156
0
0
null
2022-12-08T06:59:44
2019-12-06T16:08:51
Python
UTF-8
Python
false
false
166
py
#!/home/alexie/Documents/chaty-final-master/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "maniralexie@gmail.com" ]
maniralexie@gmail.com
1b8b194ca550a0ed437116814126fd3470715067
049c5392123d9e2e3865f75464a8e1788836242c
/venv/lib/python3.9/site-packages/dimod/utilities.py
a900713b2ddd8b5363edff00c1731ffafa9fc7cf
[]
no_license
KiaKafaei1/MasterProject
ec97d801d1d7f0872d3ff5bbdf7e644a2bddc963
1020c6c66d4f35b6f9affb302d31722de5e34979
refs/heads/master
2023-08-28T12:15:11.579203
2021-11-13T10:05:28
2021-11-13T10:05:28
289,909,672
0
0
null
2020-09-11T09:12:06
2020-08-24T11:31:36
Python
UTF-8
Python
false
false
19,977
py
# Copyright 2018 D-Wave Systems Inc. # # 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...
[ "kia0896@yahoo.dk" ]
kia0896@yahoo.dk
10177a53490eb98107c90432833b44de0dc5241f
36e3d735e06d0642f1e8c26bff57305a01cc627c
/nms/priClient/settings.py
70dc9c3a439ae7865ae186e64032e891229bbeb1
[]
no_license
WilsonWangTHU/ipv6_server
5c768cdaeaf22ee508c5fff162b208481a42f95d
5088f58ab25061e65127699ed328ddaab24f9aac
refs/heads/master
2021-01-18T21:18:39.653994
2016-05-27T04:22:23
2016-05-27T04:22:23
55,656,523
4
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
""" Django settings for subClient project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "wode406@hotmail.com" ]
wode406@hotmail.com
1d7903952b84f753cada1f0be0c24e33b9d97d63
e3d06f7bf45f16cbfa68586a2ce6d662ce302af9
/packets_filter/storeHomeStateData.py
9d9dc73d9d66f8a038146dfda7ce214015387895
[]
no_license
y0d4a/Gsm-Packets-Analysis-Framework
f211972f3e02806483452c2fca066447d36f8e8a
060c4467154e05b2479b0df27075d5ded5e07216
refs/heads/master
2021-01-16T17:49:55.987440
2016-06-02T19:59:04
2016-06-02T19:59:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
from __future__ import print_function from twisted.internet import defer, reactor from txmongo.connection import ConnectionPool url = "mongodb://localhost:27017" cursor = None @defer.inlineCallbacks def getConnection(): global cursor cursor = yield ConnectionPool(url) @defer.inlineCallbacks def getHomeStat...
[ "arorashwetankkdm@gmail.com" ]
arorashwetankkdm@gmail.com
ee692b4e30708d7c40cc7efe0f041f668c08dcb4
f63314b4852fb97ad740e53e450110fcd08a515b
/app.py
ce08afaac1bc0e74d4fe1216c543d83672b30fd1
[]
no_license
xsomam/askfm-scrapper
ee0e2c4439d5be3e4ebd7fceb27d01fbff3aa4da
2e997268f40cd37dfc56bc7adc496d609106b327
refs/heads/master
2023-04-09T03:45:56.074797
2020-08-07T23:48:31
2020-08-07T23:48:31
384,990,560
0
0
null
2023-03-17T21:32:19
2021-07-11T15:56:16
null
WINDOWS-1250
Python
false
false
7,611
py
# Basic imports import os import time import json import logging # Modules imports import requests from bs4 import BeautifulSoup # Imports from files from answer import SinglePost from locators import * logging.basicConfig(format='%(asctime)s %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s', ...
[ "a@b.com" ]
a@b.com
3018141d8e5f0cc37a97e4845ce6f68e04162871
3ac914deee02b35300103573f25f9f6d1d637f59
/Earthquake_destructiveness_five_factors.py
0cf719c44aaed919bc07faff021027d6e8b23d0b
[]
no_license
anup5889/NaturalCalamity
3737802be735eadbad4edcc633548067e6b5d83a
d5e5d6b4efeef214246be9c2f59a30e4381d2a60
refs/heads/master
2016-09-12T17:42:52.861802
2016-05-08T00:18:06
2016-05-08T00:18:06
56,535,354
0
1
null
null
null
null
UTF-8
Python
false
false
3,652
py
__author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' import os import matplotlib.pyplot as plt import subprocess import pandas as pd from sklearn.metrics import r2_score from sklearn import datasets, linear_model im...
[ "anup5889@gmail.com" ]
anup5889@gmail.com
66ca04f0fddbc514ac5faf9ad4beca5f98b42a32
e23e32d8371f1211240b19c657820661bb121e02
/Taxi.py
cc6ae4f7b85ab8769471200c32780483452111a3
[]
no_license
ThomasElijah/Week_9
b55ad5f846d8249a353377904b51d3fd0a5218f5
09693027349d6e4df384ba78098c63cc7aa4f9dd
refs/heads/master
2021-01-16T23:05:46.399803
2016-09-20T08:40:32
2016-09-20T08:40:32
68,567,882
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
""" CP1404/CP5632 Practical Car class """ class Car: """ represent a car object """ def __init__(self, name="", fuel=0): """ initialise a Car instance """ self.name = name self.fuel = fuel self.odometer = 0 def __str__(self): return "{}, fuel={}, odo={}".format(se...
[ "elijah.thomas@my.jcu.edu.au" ]
elijah.thomas@my.jcu.edu.au
7c9eb9b5c4fc24e20e09662ff61f97569dacd082
99e9b8cf7401a729b129f87690b8ac93916fa4e8
/graphme.py
5b5e0e1f75b8bb3c0d07480c4ed6155bf90c4b2e
[ "MIT" ]
permissive
Herringway/graphme
06981b0435b8e87b5e62d3961dbd4c716ab1815f
5d45f35749c3a1e48e38fc08719243d3def4c43f
refs/heads/master
2021-01-12T02:21:56.133039
2014-10-11T02:08:29
2014-10-11T02:08:29
78,505,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,011
py
#!/usr/bin/python2 #Written by Cameron Ross import operator def graphme(numgroups, losestates, groupweights, verify = lambda v,w,x,y,z: True, maxval = 40, victoryverify = lambda a: len(a) == len(list(filter(None, a))), numbermoving = 2): """Programmer-friendly interface to the graph searching algorithm""" ass...
[ "elpenguino@gmail.com" ]
elpenguino@gmail.com
2249aa29e8fd1a24bd328de828fb13bc0214fffb
c72d83320274e7afe2dd4ac361ebab4bef40d317
/pythonDoZero/start.py
d84f16dd42551a1a78d1055a2f334e898ffc07a5
[]
no_license
abelrufino/python
fcc3cf661428dc9bbba226a0d09d40a78cc9c29d
ef3146456e75ac2aaae238d1e7c82c0e056afdb4
refs/heads/master
2023-08-28T00:35:49.379108
2021-09-25T21:21:37
2021-09-25T21:21:37
410,381,673
1
0
null
null
null
null
UTF-8
Python
false
false
54
py
# Primeiro programa em Python print('Hello, World!!')
[ "anetosib@gmail.com" ]
anetosib@gmail.com
e6bfbadc51ffa309278e7dec7bdd95cf06c0006d
7565d21f09d43026dbee81a957ef9c8aed08ae69
/rate-limiter/utils/constants.py
0d6f03a9d684d4167c6a567f8af109874e388ab3
[]
no_license
syedmrizwan/notification-service
7cebfc8750f54d26dd2075d9e8b48a3612663378
a045647b61d005287397a39282c32dc6c5c5992e
refs/heads/master
2023-02-02T11:18:15.665657
2020-12-17T07:08:34
2020-12-17T07:08:34
318,601,552
0
0
null
2020-12-11T12:52:11
2020-12-04T18:21:53
Go
UTF-8
Python
false
false
80
py
'''Constants''' LOGGER_NAME = 'Rate Limiter' LOGGING_FILE_NAME = 'logging.conf'
[ "muhammad.rizwan@emumba.com" ]
muhammad.rizwan@emumba.com
d339a26f897381ccf5df4ce4cafc14487f785f32
8f5f6be343ad93c0f3df37675ded1ab2911d9fd8
/sqlterm/lib/chardet/langcyrillicmodel.py
a8cf1c376400588d2f2f584a5e8faff5d6d77a18
[]
no_license
johnfouf/monetdb_federated_poc
a69b6053234bb19a3ac8b8fa8e16c07646fd707d
dd6557996d25c49f8751b00c4ce2c9bfc5457097
refs/heads/master
2023-02-05T12:44:13.111544
2020-12-24T11:28:38
2020-12-24T11:28:38
277,555,501
1
1
null
null
null
null
UTF-8
Python
false
false
45,260
py
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
[ "openaire@dl126.madgik.di.uoa.gr" ]
openaire@dl126.madgik.di.uoa.gr
c94b68b2254773744cf3e5e54a2cc322ed8e5b93
0389e0bf1e2942089fa84ce8ab79ef859f5d8215
/teacher/migrations/0002_timetable.py
ecf4c3a8525870a4c484d1b6dfd09e382fb1afe2
[]
no_license
jitin2707/SchoolManagement
89f78e35b2b1f387083115064b0a54423de09cc7
7024d84dc0dfed4864a0ff9c58d045a1453bdb06
refs/heads/master
2020-08-05T11:39:56.958757
2019-11-23T03:57:01
2019-11-23T03:57:01
212,488,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
# Generated by Django 2.0.6 on 2019-11-13 13:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('students', '0005_remove_section_class_id'), ('teacher', '0001_initial'), ] operations = [ migration...
[ "truepx247@gmail.com" ]
truepx247@gmail.com
9fe346f7b4238f028ddcac3690d2ae20fb8f9ee2
ee771f2ac4dcc256ae483b3e75aada07183aa5b7
/2021/11/solve.py
f6e822aa6e32b66f8f267cad6cf03faae248548a
[]
no_license
mdiazv/adventofcode
bd12387ed42c72b848ef75ce793ed6a8ed764870
cb64304d144a8dc0f70f07c1efe31f287a6e2206
refs/heads/master
2023-01-12T06:23:06.079420
2022-12-27T17:34:50
2022-12-27T17:34:50
48,266,768
0
0
null
2020-12-28T11:36:02
2015-12-19T03:17:10
Java
UTF-8
Python
false
false
1,373
py
import sys class World: def __init__(self, w): self.w = w self.R, self.C = len(w), len(w[0]) self.gen, self.flashes = 0, 0 self.superflashes = [] def step(self): self.flashed = set() for i in range(self.R): for j in range(self.C): self...
[ "diazvillarroelm@gmail.com" ]
diazvillarroelm@gmail.com
9ce1a053a0e37ba990a8f6d8eb0d3e918d099320
d92e5e9073dae7631f2f43aa3618cd91d8c7ee1a
/Artificial Intelligence/search/searchAgents.py
72343acf4145aec0efbfcefb05e111d38e9c9477
[]
no_license
madhavSoni/Some-Projects
6dd8e1ea9486e0974ca517a229c855e7babc0330
10b74f929faf57ee980153d7714b2fc7ae134184
refs/heads/master
2021-09-24T14:19:57.765294
2018-10-10T08:58:09
2018-10-10T08:58:09
124,698,499
0
1
null
null
null
null
UTF-8
Python
false
false
22,181
py
# searchAgents.py # --------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley...
[ "madhav.soni@berkeley.edu" ]
madhav.soni@berkeley.edu
2779073c282e2d634aee8ebd19099d2006f1b000
6887728a11c8b59b171a192f6d3801bae21d6bfe
/motor.py
d2c4992df0e53c993c51c9fde0b991a43cb001fc
[]
no_license
uprightws/Motor
2a3ee87650c6dd6b1cafa1a6a062748a89f6a804
207d25044b55c3d1c140896f610580fa2761aefa
refs/heads/master
2020-05-17T21:36:08.410101
2019-04-28T02:02:21
2019-04-28T02:02:21
183,977,242
1
0
null
2019-04-29T01:08:40
2019-04-29T01:08:39
null
UTF-8
Python
false
false
7,570
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name : train Author : 雨住风停松子落 E-mail : date : 2019/4/25 Description: ------------------------------------------------- Change Activity: 2019/4/25: -----------------------------...
[ "uprightws@live.cn" ]
uprightws@live.cn
eec9de39af9002e5ffe1c66285ec2b4983d3246c
ffead9c586803a9c8b53a1fe16ad33f91bdd71c8
/4/TupleUnpackingExample.py
eb47e54f5acdf02eb4f3cd5787b78bc938d09e81
[]
no_license
angsdey2/python-examples
63489f4d39ca052a2dbce98cd4254eb3b34b0101
d3282181eae04d921f66684b6489d6517949ab25
refs/heads/master
2022-11-27T03:52:48.774509
2020-08-05T18:10:46
2020-08-05T18:10:46
285,367,550
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 3 22:39:39 2020 @author: Angshuman """ examScore = [("AD", 500), ("KR", 600), ("SM", 7000), ("DS", 800)]; def find_highest_scsorer(examScore): highestScorerName =''; currentMax=0; for name,score in examScore: if score>currentMax: current...
[ "angshuman.dey@cognizant.com" ]
angshuman.dey@cognizant.com
36cf33d8e7752a13987e46b90e29cb1c203c8fab
0747fae9472fb33a012c629d43811785cbaa2456
/wdg.py
20ed53d6d59fc28697fffe962db12d947d8cbd17
[]
no_license
fernandoeqc/satelital_server
891718315d50f1ad85094625016b8b9f8fd25b13
6c1f25502485b201fc5fefd8e8af6fa88a390ff0
refs/heads/master
2023-06-06T05:45:45.665154
2021-06-28T17:06:34
2021-06-28T17:06:34
380,112,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
""" import logging import sys import time from watchdog.events import LoggingEventHandler from watchdog.observers import Observer if __name__ == "__main__": logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(message)s', datefmt='%Y-%m-%d %H:%M:%S') ...
[ "fernandoeqc@live.com" ]
fernandoeqc@live.com
3197b6b704d03772985a826493370366f41f9961
78f1aaaeffb8f48b4a012f6700125348e396fe90
/LaTeX/report_test/inscription_tournoi.py
82f5bb36a479f342ead3a36b23ba89960c9e63d3
[]
no_license
fthuin/software_engineering_project
eda625fe90f04f2a0d4652be6d77cd92a240a014
3e2bc1bb1ba4655060c3c41367bb736961eae031
refs/heads/master
2021-01-16T23:01:33.869567
2015-12-15T20:29:02
2015-12-15T20:29:02
42,591,013
1
0
null
null
null
null
UTF-8
Python
false
false
6,632
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "florian.thuin@student.uclouvain.be" ]
florian.thuin@student.uclouvain.be
81083ec81fafe82eb5da65f0db9a46cf5a74c630
0b7022778b31a7f5082255f637665d81cafa0cc1
/Map and Reduce/Task2/map.py
17eb896646277699e7beeb10b69f1bea5c18a58b
[]
no_license
sailikhithk/NYC_Open_Data-Map-Reduce-and-Pyspark
09913efc3d6b2646a2314fa812c3d7a8c371a1f1
93d469b8e982ca915cf62e34e3c3aa8a6f7dacca
refs/heads/master
2022-03-31T23:07:28.751500
2020-01-18T23:56:45
2020-01-18T23:56:45
209,429,016
2
1
null
null
null
null
UTF-8
Python
false
false
384
py
import sys import string import csv for line in sys.stdin: line = line.strip() row = line.split(',') key_consolidate = row[2] value_consolidate = 1 key_consolidate_value = {key_consolidate:value_consolidate} sys.stdout.write(str(key_consolidate_value).replace("{","").replace("}","").replace(":...
[ "noreply@github.com" ]
sailikhithk.noreply@github.com
796c821dc503856d3333df944620e9880c66973e
e9e083ebe7fad28e16d74209473eb85f578401e2
/frontpage/views.py
13d2c8a5926d8292b0a24c62af3992d9b1ac1945
[]
no_license
4x4falcon/fosm-website-2018
9dfb3ea3904c110d364b23fe7c710852fccd6c1d
f48ed7d527ebf0e77fff300979b09a9b8dcb220b
refs/heads/master
2021-05-04T15:23:22.813168
2018-06-26T06:51:05
2018-06-26T06:51:05
120,226,991
1
0
null
null
null
null
UTF-8
Python
false
false
710
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import print_function from django.shortcuts import render, reverse import pgmap from querymap.views import p # Create your views here. def index(request): t = p.GetTransaction("ACCESS SHARE") errStr = pgmap.PgMapError() value = int(t...
[ "ross@freestreetmap.org" ]
ross@freestreetmap.org