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
f5baeac0738dfa8508464ce5bcfa5f41ca97435b
4d343b7e92a44b8c8eb3e3afeeeb0e1a7a699869
/ch4-practice/books/models.py
feed0423f49f8baba32c13a55d88e9fa25a7ef57
[]
no_license
dev-iwin/book4-Django-redbook
dfca5395ae68df7536a9e7b64b73b582608b6eaa
64e0b260b50bae8bd35b918eb341725c3c3373b4
refs/heads/master
2023-03-07T05:12:26.990807
2021-02-20T21:15:12
2021-02-20T21:15:12
335,654,957
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from django.db import models # 예제 4-26을 위한 모델 (혼자 만들어 봄) ========================== class Book(models.Model): book_name = models.CharField(max_length=300) pub_date = models.DateTimeField('publication_date') def __str__(self): return self.book_name # ===============================================...
[ "iwinoriwin@gmail.com" ]
iwinoriwin@gmail.com
76410cb5b1f1e1be3f5cc6c8e1e19127295abdaa
e5f9471907c45c17ae8dd785daed328984683a63
/SecureVision_LPR/lpr_backend/lpr_backend/asgi.py
1366431453f851eff42cd4357ae8feb498e0f51d
[]
no_license
aleclawlor/SecureVision
c74d4850dc6655bde193529f035ec8282fb74bac
8b9cda9152f540d037380b47d0dfe9da737e77c0
refs/heads/master
2022-12-01T13:59:11.987216
2020-08-23T23:53:14
2020-08-23T23:53:14
288,057,614
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for lpr_backend project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "lawlorab@bc.edu" ]
lawlorab@bc.edu
404653f6a2fb686bb9b4064178804bae80845a0b
d201c70e0b094ee9e1c035b089f6d2f4cc003f4b
/algorithm_simulation/01-plot-length-optimal-bit.py
966f027d3980f2b5e26741a3a94f7b935ea12e79
[]
no_license
dangsj123456/simulations
f40cacd355ad13668b276861fbd7927be8d015de
f071fe399a269c17aee28c1d68e736466863f374
refs/heads/master
2022-04-03T11:48:41.220431
2020-02-12T14:41:44
2020-02-12T14:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,292
py
# Copyright (c) 2015, Malte Schwarzkopf # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and...
[ "haorany@kth.se" ]
haorany@kth.se
ac6a434988cb3b6fd6ab6b0f68895d30c101c406
d9f14357a7f09dcb09c6a24a9e9cdb45254ecfe7
/friskby/__init__.py
a0b3a233e4b5716532c4a2c2091d7a249c10c586
[]
no_license
pgdr/python-friskby
727213a8163b4405724d9b2c183c5ed31f76f950
33962db0ad8336baa71e24dbff7da748dd5d9f10
refs/heads/master
2021-01-23T03:43:35.588479
2017-04-21T22:15:31
2017-04-21T22:15:31
86,116,215
0
0
null
2017-03-24T22:40:47
2017-03-24T22:40:46
null
UTF-8
Python
false
false
2,553
py
"""The friskby module. The _friskby_ module is a Python module for reading from external sensors (currently, only the `SDS011` sensor is supported), store measurements to a temporary database and post the measurements to a webserver. In the future we will add other sensors for temperature, relative humidity, barometr...
[ "PGDR@statoil.com" ]
PGDR@statoil.com
1cdbe0eee6a24955bbe72e9528b58437571dd39b
af0b56556b747233d9085eb51991806017e2a5eb
/cardpay/model/payment_response_customer.py
ba914e59a971e9191cee9c6f161144ad9508c0f5
[ "MIT" ]
permissive
whereisthebabki/python-sdk-v3
ab39809f911e80873550c44156882c8680cb6e96
b756cd0761fc23cb095db4801baee53c00de9241
refs/heads/master
2020-06-22T01:02:44.377584
2019-07-18T13:30:26
2019-07-18T13:30:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,414
py
# coding: utf-8 """ CardPay REST API Welcome to the CardPay REST API. The CardPay API uses HTTP verbs and a REST resources endpoint structure (see more info about REST). Request and response payloads are formatted as JSON. Merchant uses API to create payments, refunds, payouts or recurrings, check or update t...
[ "rnd@cardpay.com" ]
rnd@cardpay.com
be1ff21d8d3789702fd02aa6333e49ef6cfe5047
cddfa750235344aa5e04244ce5c36871d3c6465b
/mayan/apps/document_states/links.py
f2d41f7e5898b86968e418d4195fb20c1560a36b
[ "Apache-2.0" ]
permissive
Lomascolo/mayan-edms
76e0fdcad98605838df6737d109c95d67d9ebba5
f7f0d27a059b1e010b9bbcdf371b9867f6fcfa45
refs/heads/master
2021-01-24T08:30:07.480929
2017-05-30T06:01:31
2017-05-30T06:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,176
py
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Link from .permissions import ( permission_workflow_create, permission_workflow_delete, permission_workflow_edit, permission_workflow_tools, permission_workflow_view, ) link_document_wo...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
96b3c170c94a416fb457bfeb482e5368eab6df09
9f7c59e822c3b54dfd413b1f30a0a36693fdd1d7
/BlogStan/post/models.py
f2702b6a7bfafb31c13446da90a77283cdea5188
[]
no_license
kunalp-gohire/django-social-media-blog-app
8f3d4733258a872d46398dfed581e470f9d9fe90
1fa8c3b97db1584b483d7066939cca73057bfeaf
refs/heads/master
2022-11-22T23:57:27.561992
2020-07-23T05:32:43
2020-07-23T05:32:43
281,737,540
1
0
null
null
null
null
UTF-8
Python
false
false
1,804
py
from django.db import models from django.conf import settings from django.urls import reverse import misaka from django.contrib.auth import get_user_model User = get_user_model() # Create your models here. class Post(models.Model): user = models.ForeignKey( User, related_name='posts', on_...
[ "kunalp.gohire@gmail.com" ]
kunalp.gohire@gmail.com
18afaf532409eba6920a708a12e22b280b6724d2
8ccc597e43ef943a8557ab76128832d01a7fcdfa
/data_fetcher/manager_operation.py
ced834e2bfac1faa3112fb6d5f0ce204f035006f
[ "MIT" ]
permissive
stevensshi/smart-realestate
bd6d43a47e0a22f7d271f655d473c949f285ab15
f00671a5ec9590b9f5b74595c3599317a722370e
refs/heads/master
2021-05-01T08:02:51.027912
2016-12-31T07:36:06
2016-12-31T07:36:08
73,804,999
4
1
null
2016-12-19T10:52:25
2016-11-15T10:57:32
CSS
UTF-8
Python
false
false
157
py
import logging import threading logging.basicConfig(level=logging.DEBUG,format='(%(threadName)-10s) % (message)s') for t in threading.enumerate():
[ "steven_s_shi@hotmail.com" ]
steven_s_shi@hotmail.com
c67e108295a0391eecf4709031367b101c0ffd35
416b166fefb63ca50f1895cfb0abac3b773727f9
/scripts/discharge
a8fc249fbbfaa615d8c64e7b5c9a5a8fd78a43b5
[ "BSD-2-Clause" ]
permissive
RichardOfWard/discharge
8f88ea847e437d8b5f244c4e1b00018988e248e4
5e3e541a6afcee51e32e3bc39176ca08d6d3b25c
refs/heads/master
2021-01-01T05:47:54.145334
2013-11-26T00:04:13
2013-11-26T00:04:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
#!/usr/bin/env python from discharge.cmd import do_cmd if __name__ == '__main__': do_cmd()
[ "richard@richard.ward.name" ]
richard@richard.ward.name
2adc3290b0636bfc307eb640585ba7eb808a7f36
05d076fb95e048082732e0b16b2047ae1b394e6a
/church/migrations/0006_comment_responses.py
4b718c4daa122321e80255309c1bf47a7d200dff
[]
no_license
wanderemah/lizzy
86f46080847042dcdb0069eff195c63f85a30bd6
f40f3213e902aea2dd3376e8e1a0cb64ed16662d
refs/heads/master
2020-04-09T05:25:02.856731
2018-12-02T16:51:57
2018-12-02T16:51:57
160,063,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# Generated by Django 2.1 on 2018-08-11 04:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('church', '0005_video'), ] operations = [ migrations.CreateModel( name='Comment', fiel...
[ "wanderemah@gmail.com" ]
wanderemah@gmail.com
a6066f6913650d57e3ddb4301debeef629944d3d
e97fb7903336837edb6bb3db16ea48512128076e
/22. Database/2. Parameterized/24. RetrieveMultipleRowWhereClauseUserInputDict.py
c2ab4af145f726d2a9c6710e5f457dcc12b68740
[]
no_license
satyambhatt5/Advance_Python_code
4081bdb1e80f05161c07f416ebade3907e83f0fd
58746540285f253699b73aeebd3975911a310deb
refs/heads/master
2023-05-22T20:10:54.271672
2021-06-16T08:55:16
2021-06-16T08:55:16
377,386,448
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# Retrieve Multiple Rows WHERE clause - User Input - Dict import mysql.connector try: conn= mysql.connector.connect( user='root', password='geek', host='localhost', database='pdb', port=3306 ) if (conn.is_connected()): print('Connected') except: print('Unable to Connect') sql = 'SELECT * FROM stude...
[ "bhattsatyam793@gmail.com" ]
bhattsatyam793@gmail.com
e98c9e6e4e8e98f0eb86148a6604600fbb0f969e
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part002645.py
26c00d84fbe342c060edabef02fe3c69582a4427
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,821
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
141d834f0dac790c181757c76b4db31a2ce4202e
f063768db23504e214eb0fdc73156f24d2b7abc4
/sorting/count-sort/count_sort.py
9c16de551f15378a850be48f5fc66b1472679781
[]
no_license
raghavsaboo/algorithms
616b8074ffe5ad00a3e2f06e9e666e517bf16184
5e9a5010c52d8c0c94ac9b6e06e9ab8a41a8e84a
refs/heads/master
2023-02-21T15:48:11.619848
2021-01-20T10:49:36
2021-01-20T10:49:36
274,221,509
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
def count_sort(arr): k = max(arr) output = [0 for _ in range(0,len(arr))] count_array = [0 for _ in range(0,k+1)] for i in range(0, len(arr)): count_array[arr[i]] += 1 for i in range(1, k + 1): count_array[i] += count_array[i-1] for i in reversed(range(0, len(arr))): o...
[ "saboo.raghav@gmail.com" ]
saboo.raghav@gmail.com
cf199d07482ca7cf6bc69826181f3bf06463faca
915ec21b9edc7fb860e4c5251daa844e3f17ba29
/blog/migrations/0001_initial.py
42a56d9cd2bdd1638b2a3a2148203f71c7b3e6a9
[]
no_license
ip0000h/django_blog_test
3b389d8caa13ef64f9b27d9f32d17cea8c9f3ea0
9e801f04fbf0374c337bf4f0a8e5d8e0355a556f
refs/heads/master
2020-05-09T11:21:14.445402
2019-04-15T08:55:53
2019-04-15T08:55:53
181,076,666
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
# Generated by Django 2.2 on 2019-04-13 19:07 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "ip0000h@gmail.com" ]
ip0000h@gmail.com
c2fd4c3fec6f8deacabcdb8e6a1f219e8f2805bd
a20f21f0737002e3fb3e8345c42f2f46aaefab7d
/Weather Report/TwitterToMongo.py
558b800e0079be39bccb42359abeb41838cac9c4
[]
no_license
akokaz1/PMG
22a5c2dad1d38de013f73b314365e01890aeddff
a9db139d728765ef6c03140eba2f2c6861b37e91
refs/heads/master
2021-01-20T07:57:00.178171
2016-12-02T14:46:46
2016-12-02T14:46:46
68,720,702
0
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
from twython import TwythonStreamer from pymongo import MongoClient client = MongoClient() db = client.twitter tweets = db.twitterdata tweeter = [] class MyStreamer(TwythonStreamer): def on_success(self, data): if data ['lang'] == 'en': tweeter.append(data) tweets.insert(...
[ "alikokaz@live.co.uk" ]
alikokaz@live.co.uk
735034f13fef965422c11192f4e7e6f58e6ca739
d11d1dcf1e70e816edecac6745f5563e2cea8cfd
/mysite/venv/Scripts/pip-script.py
0cf0153d6237ab15a1a2c03dc8c1bac6bd2b90a2
[]
no_license
Saipraneeth1001/mydjango
8372fdc18748d6191a3d661d0bb77ee049e4e7c6
5fd7ff3bcc2229f816befc9cf29dcfa320098ff8
refs/heads/master
2020-03-20T08:32:17.231440
2018-06-21T07:12:39
2018-06-21T07:12:39
137,311,529
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
#!C:\Users\saipr\Desktop\mysite\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __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]) sy...
[ "saipraneeth0448@gmail.com" ]
saipraneeth0448@gmail.com
007ee5b8228f8de322122564f9f44722684aa6cf
87a9706379670da62739b3c1fbbdd75edb5107b8
/Django/django_celery_test/django_celery_test/celeryconfig.py
cda60c880a754a04fa66f089f2be5f3d6b7e1eed
[]
no_license
zxbzxb180/python_work
ba21ab74f842e0d560a8bb192bb8a874d356b9e1
6406024e011aa06d1bda78d97cfecc47f7f2058c
refs/heads/master
2022-12-12T23:53:36.887963
2020-03-04T07:20:29
2020-03-04T07:20:29
194,494,744
0
0
null
2022-11-22T03:54:47
2019-06-30T08:48:44
Python
UTF-8
Python
false
false
854
py
import djcelery djcelery.setup_loader() BROKER_BACKEND = 'redis' BROKER_URL = 'redis://:6222580@localhost:6379/1' CELERY_RESULT_BACKEND = 'redis://:6222580@localhost:6379/2' CELERY_QUEUES = { 'beat_tasks': { 'exchange': 'beat_tasks', 'exchange_type': 'direct', 'binding_key': 'beat_tasks' ...
[ "616529325@qq.com" ]
616529325@qq.com
4f21b4b3a8ca36eeeaf81c234a6043a8e8b14977
f833f28c013e05ddf0266ee295d765f7f8013cb5
/features/bert_similarity_between_engaged_tweet_and_engaging_surfacing_tweet_vectors_feature.py
485dec2aba582071ab4b778532b7dd6dc617e9ff
[ "Apache-2.0" ]
permissive
yifanzhu314/recsys2020-challenge
e94aa68e44d1b4f01a9bce748f991b8aae4ed7f3
d9967860cc4767380d28d2ed7af00d467cc6941a
refs/heads/master
2022-12-27T04:37:13.424485
2020-06-23T01:05:00
2020-06-23T01:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
74,601
py
from typing import List, Tuple from google.cloud import bigquery, bigquery_storage_v1beta1 import pandas as pd from base import BaseFeature, reduce_mem_usage class BertSimilarityBetweenTweetAndEngagingSurfacingTweetVectorsFeature(BaseFeature): # 使わない def import_columns(self) -> List[str]: ... de...
[ "agatan039@gmail.com" ]
agatan039@gmail.com
8c650db903e4c481af2d57614db70fd99846e0d2
6ebb264379c41c8e22bf89bb482d56de1a2f2e50
/tests/unit/test_sum.py
fe4cc3aa315276e8d4f493317f4ece75063ae710
[]
no_license
axen22/unitTest3
864cce48660312398db3546382375f720e74b7ac
38b9e7b37941def9c8a90665107b87a6579925a2
refs/heads/master
2020-07-28T07:04:10.491348
2019-09-18T15:43:33
2019-09-18T15:43:33
209,346,149
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
#another way to do this #target = __import__("my_sum.py") #sum = target.sum import unittest from fractions import Fraction from my_sum import sum class TestSum(unittest.TestCase): def test_list_int(self): """ Test that it can sum a list of integers """ data = [1, 2, 3] re...
[ "53572480+axen22@users.noreply.github.com" ]
53572480+axen22@users.noreply.github.com
10b624301331e971b74b1e971ab0f51ee36867b2
30bc1657a930cb90902a36c9e7e16e5d31ae2341
/processDEM.py
dc3e54b92ab043e2dc05f0ffeec6c562a8882b1b
[]
no_license
Jubeku/DEM_processing
26918dc620d216ebcd4ab9cbeb6763e87669c0fc
0577dd5939ec4ea93bcada5faac6690feb8c0044
refs/heads/master
2020-08-26T16:59:03.106098
2019-10-29T16:01:04
2019-10-29T16:01:04
217,081,467
3
0
null
null
null
null
UTF-8
Python
false
false
2,548
py
#!/usr/bin/env python """ This script allows to repair, filter, and crop 2d DEM files. Input parameters have to be specified in a file named 'input.txt'. """ import numpy as np from modules.classTopo import Topo from modules.m_PLOTS import plotDEM def main(): ### INPUT # Read input parameter with open(...
[ "julian.b.kuehnert@gmail.com" ]
julian.b.kuehnert@gmail.com
50d70002d14f44ce996fd1dec2943ab53285f034
b028f2e9c8dcb5de62fa2c8e9dc3f3f534da3a85
/player.py
500a40e397907bee1632db737958868936e1c682
[]
no_license
iantype/espn-api-v3
afde0c0ea25126796fafb796e35d5e0abb1c45f4
ab1137a66c3de201d283e2f4ce28923ab2c717eb
refs/heads/master
2020-07-29T17:41:06.510089
2019-09-20T03:22:24
2019-09-20T03:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
class Player(): """ playerData = matchupData['schedule'][matchupNum]['home' or 'away']['rosterForCurrentScoringPeriod']['entries'][playerIndex] """ def __init__(self, playerData): self.id = playerData['playerId'] self.positionId = playerData['lineupSlotId'] self.acq...
[ "44902815+DesiPilla@users.noreply.github.com" ]
44902815+DesiPilla@users.noreply.github.com
002d43df6b57bde48d6fb3e45f4ec7e76b5e5901
bf0b6a4973f2c565e71fb3c0171ee2039464fa55
/duckietown_rl/vae.py
abd23b158ece8ca81ee87d15f51cc7233499e464
[]
no_license
duckieT/duckietown_rl_ddpg_vae
d891d5dc15bc05fbe2c0e5f4281beb363c660de1
739210584fb9a4028887a3e2d420a1b3686952b1
refs/heads/master
2020-04-18T06:42:09.426461
2018-11-14T06:03:19
2018-11-14T06:03:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,592
py
from __future__ import print_function import torch from torch import nn, optim from torch .nn import functional as F from torchvision .utils import save_image import numpy as np # hyperparameters input_image_size = (480, 640) input_image_channels = 3 image_dimensions = input_image_channels * input_image_size [0] ...
[ "richielyl@hotmail.com" ]
richielyl@hotmail.com
8944bf53f63bed3d9af9f46ea6448ceb52c8803e
2c359d4e3a387040116cb983950605b4ee22d1f7
/program/minh.py
ec4db9a48f4e8900b0c94f5acc171b07b34e69e2
[]
no_license
VenkatProjects/Python
cd25adcadfcb2a3d3cd0263a68e7d9489c630741
652fd8f48c4ab5b494694c16e037daf4aa05d99b
refs/heads/master
2023-02-03T22:40:25.915725
2023-01-27T06:37:50
2023-01-27T06:37:50
281,453,077
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
class Person: def __init__(self, name): self.name = name def sayName(self): print("My name is : {}".format(self.name)) class Engineer(Person): def __init__(self, name): super().__init__(name) self.profession = "Engineer" def sayProfession(self): print(self....
[ "esan1610@gmail.com" ]
esan1610@gmail.com
3e5a3a1740c2c325383ba062154ff72b2ae80803
c64f42286006cb0990cf002b07170b7b34773d6b
/ProTow/ProTow/settings.py
42b6b83f3988641676084abcfa4f687b7de7d899
[]
no_license
tlawren3/djangoclass
5c489d0240021e22f2545ee85a374f82d818e657
65df31ccbc6e17ca14eb2697bda573c17aeaaac8
refs/heads/master
2020-04-08T21:13:21.087924
2018-11-29T22:26:34
2018-11-29T22:26:34
159,735,266
0
0
null
null
null
null
UTF-8
Python
false
false
3,101
py
""" Django settings for ProTow project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
[ "tlawren3@icloud.com" ]
tlawren3@icloud.com
d705d8ae5e78e993dd20c7d1b1c4e43f687428c5
490ed3946708791a188c6f375b1986ba1fb7d386
/build/lib/keras_bert_ner/utils/.ipynb_checkpoints/predict-checkpoint.py
3efcaa50da311647a86771cd08b39325e51e3874
[ "MIT" ]
permissive
gm19900510/keras-bert-ner
123c40487b5a20d6be49b1d808a832ccd3d2a489
6b37b23623544e7e1ec59a0b12ac92bff2b69182
refs/heads/master
2020-09-01T12:11:13.456500
2019-10-31T09:50:24
2019-10-31T09:50:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import codecs import pickle import numpy as np from keras.models import load_model from ..bert4keras.layers import custom_objects from ..bert4keras.utils import Tokenizer from...
[ "liushaoweihua@yiwise.com" ]
liushaoweihua@yiwise.com
f1cea55677410e3239fb9b79ba0d8b8c3a11d14c
190bd588ba4a5c69db4cb10382553e4ba013b301
/ncl/causalconnector.py
46e160ccde0311e545657ef0f59693833e4f8954
[ "MIT" ]
permissive
MichaelBittencourt/NCL-Generator-API
56bf7a480c4466b9e764bfe887ee196054c281eb
8eecf2ea4948354fae9f64b68da2f24ad0663d60
refs/heads/master
2020-12-04T16:56:42.201088
2020-01-25T03:45:00
2020-01-25T02:06:06
231,844,836
1
1
MIT
2020-01-25T02:06:08
2020-01-04T23:54:08
Python
UTF-8
Python
false
false
1,287
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2019 Michael Bittencourt <mchl.bittencourt@gmail.com> # # Distributed under terms of the MIT license. """ """ from ncl.abstractelement import AbstractElement from ncl.condition import Condition from ncl.action import Action from ncl.conne...
[ "mchl.bittencourt@gmail.com" ]
mchl.bittencourt@gmail.com
837f178ec38d14871743e1d84aa11312970b3087
ae9f2d64c8d0fc711d426e80e41bbce158ab7a4e
/build/config.gypi
8529efc74c687d82ee2470bca8a5e886d916f502
[]
no_license
aitchkhan/Real-Time-Chat-with-Node-js
2863c3b9a173d1807acd5696decb74f66ddd79a7
201b7c6126c28f09415699521b6401349bf5cee3
refs/heads/master
2021-01-23T16:40:01.118218
2015-11-08T12:46:42
2015-11-08T12:46:42
34,112,637
1
0
null
null
null
null
UTF-8
Python
false
false
1,524
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "aitchkhan@gmail.com" ]
aitchkhan@gmail.com
fcaa9a254056832dd56dc34f39f25cba73e8989e
b04d95eb1d2769945b9d93f223d93815796206f7
/simulation/execution/startSimulation.py
7e9fc845db74aaca641f7c3fff0bad9605023008
[]
no_license
DrRoad/Traffic-Simulation-in-SUMO-and-statistics-generator
19cbca58f55b3ac64ed598641d3c69afa3edbe52
c37627c5f32afbac904657d092d149db62cc9148
refs/heads/master
2022-01-09T03:06:44.135211
2019-07-23T19:52:43
2019-07-23T19:52:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,196
py
import os import sys import argparse import uuid import datetime import requests from lxml import etree import input_preprocessing as ip if 'SUMO_HOME' in os.environ: tools = os.path.join(os.environ['SUMO_HOME'], 'tools') sys.path.append(tools) else: sys.exit("please declare environment variable 'SUMO_HOME'...
[ "ge36voj@mytum.de" ]
ge36voj@mytum.de
75553f4f93558a9c446c561ab0cac78bb68102c8
b232ab24686a197a88973f26478157d05c71a930
/03. 파이썬 문자열/049.py
a0ff28c7508d71fb92da6f742be5fdf32d09267d
[]
no_license
areum0505/python300
09a3ea858bb728b6e2f699a57f013457680ab1d8
e3b56bd653390172410b86e15c40f34ef3125787
refs/heads/master
2023-01-06T04:53:44.937116
2020-10-22T23:44:36
2020-10-22T23:44:36
288,321,068
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# 다음과 같이 날짜를 표현하는 문자열이 있을 때 연도, 월, 일로 나눠보세요. date = "2020-05-01" date.split("-")
[ "noreply@github.com" ]
areum0505.noreply@github.com
d0e81ba6dd79dc29f6b5cd9958451e5b589b5712
66c723d0137c0de9fdfc4a90d3405a8b3c60a7bd
/n_step_lstm/n_step_lstm.py
cc632b6a6ca0f68a32b0e7c8f828d8f30373bd32
[]
no_license
afcarl/test-chainer-performance
5ccb1d451791dd96633a1bb0f7e9438688f006ad
e0802e8421f4a07b839c44ceb90cfdf188ec4b84
refs/heads/master
2020-03-16T11:27:36.202733
2017-02-21T07:21:45
2017-02-21T07:21:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,796
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import chainer import numpy as np # 長さ順にソートしておく x1 = chainer.Variable(np.array([0, 1, 2, 3, 4], dtype=np.int32)) x2 = chainer.Variable(np.array([4, 5, 6], dtype=np.int32)) x3 = chainer.Variable(np.array([4, 5], dtype=np.int32)) x_data = [x1, x2, x3] batchsize = len(x_dat...
[ "nanigashi03@gmail.com" ]
nanigashi03@gmail.com
4db5502b3cb8b1723df8a7ac89467e02e213fda7
d83f50302702d6bf46c266b8117514c6d2e5d863
/counting-bits.py
f875bfed4d8a2d111f435b9c52cfced316a0c179
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
250
py
class Solution: def countBits(self, num): """ :type num: int :rtype: List[int] """ ones = [0] * (num + 1) for i in range(1, num + 1): ones[i] = ones[i & (i - 1)] + 1 return ones
[ "tsfdye@gmail.com" ]
tsfdye@gmail.com
2933d2996ff2c284d1fd6b90cd4dfcbf24fdc883
8953c8dce654ae32a80adf873376ea5566daead7
/eif3a_full_m6aReader.py
5854751b65e91f4e21efdba142d57127f35c3467
[]
no_license
yuxuanwu17/m6a_dp
5e17e86b2ea2133e69beec0eab8abc7877d90276
f3a5966f9abcce7077839024a71f01a139689967
refs/heads/master
2022-11-20T15:06:34.470254
2020-07-21T14:27:15
2020-07-21T14:27:15
280,642,621
0
0
null
null
null
null
UTF-8
Python
false
false
7,201
py
#%% # To pkeras_model=None training, we import the necessary functions and submodules from keras import pandas as pd import numpy as np from keras.models import Sequential from keras.layers.core import Dropout, Reshape, Dense, Activation, Flatten from keras.layers.convolutional import Conv1D, MaxPooling1D from keras.op...
[ "yuxuan.wu17@gmail.com" ]
yuxuan.wu17@gmail.com
ab8659e73eca39e44cbcc460da6ce495f4024307
1b8ffe50059dff352206da41d40a6cab12744864
/PortScanner.py
cc6cd65670f145625b93d510c0c9d7f1efcc60bc
[]
no_license
XD-Coffin/PortScanner
f4bca444a98115aee5eaa6e11e7b77f23a069ab7
299e3947ee0fc84c3af80370498fe357f1aabe60
refs/heads/master
2022-12-20T08:58:47.745548
2020-10-20T00:41:31
2020-10-20T00:41:31
305,545,491
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import socket import sys import os import time os.system("color a") s = socket.socket(socket.AF_INET,socket.SOCK_STREAM) host = input("Enter the host's ip address you want to scan: ") print(""" 1. Specific Port 2. All 1000 Ports """) option = int(input("Enter the option you want to use: ")) if option == 1: ...
[ "np01nt4a190175@islingtoncollege.edu.np" ]
np01nt4a190175@islingtoncollege.edu.np
46e7c0ebfd167b48434b11d94b7ebaa0bb8cb136
2cad173dd3d6a378d805592eb71ce7261d5c3f98
/Get Files From Directory Dynamically.py
2c2c91a352b777dfe8c93333dd85c599f1ac5526
[]
no_license
souravbanerjeewb/Code
b4ae2fd2d1157d98c5d01ad2c2e3fe5758f0a17e
bd1bcdc06a4b1a03c067cf34aeb6ae5000dc8732
refs/heads/master
2023-01-04T08:10:24.710146
2020-10-27T17:25:15
2020-10-27T17:25:15
112,154,810
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import glob, os #*****Define the directory****** os.chdir("D:/Files")#***Change the directory as requered #*****Loop to get the txt files and display the name for file in glob.glob("*.txt"): print(file)
[ "noreply@github.com" ]
souravbanerjeewb.noreply@github.com
8ea574857fbefb741c89a4bd87a9dd7d8dca56e0
0ff6198179fda1763acba69ff414c32e0f537233
/papers/admin.py
a402aa0c0c52c85351602ea2b3aef87fbfe288fe
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jc11am/Lab-Website
2a4d03f98f0502a2f77dacbbcd6db6714823cdab
111e837c957e5c73022de366985aaa6e3b3d014c
refs/heads/master
2021-05-16T22:54:04.790528
2016-09-10T19:28:37
2016-09-10T19:28:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
'''This package sets up the admin interface for the :mod:`papers` app.''' from django.contrib import admin from papers.models import Publication, AuthorDetails, AuthorContributions class PublicationAdmin(admin.ModelAdmin): '''The :class:`~papers.models.Publication` model admin is the default.''' pass admin.s...
[ "dave.bridges@gmail.com" ]
dave.bridges@gmail.com
65e893cd076a735f16f7fe5a29f4a839759724bc
8dc333b7823c2cc5f4bb4adb75da37dcab06495f
/Section1.py
f0b657a08e18c2e71c97fe025deaf7856ec5a962
[]
no_license
Mud-Fire/Math_Homework
cdb3c7729d7799a4ceeed2b506a239d305d5a608
119c26ab4c544e7652ac449661d2a39cd8b79480
refs/heads/master
2021-05-07T15:03:10.286846
2017-11-08T11:44:11
2017-11-08T11:44:11
109,968,365
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 12 12:53:13 2017 @author: zb """ #获取需要计算的项数 strN = input("Please enter an integer greater than 2:") countN = int(strN) #记录精确值 sumExact = 0.5 * (1.5-1/countN - 1/(countN+1)) #记录从小到大加法运算的和 sumOrder = 0 #记录从大到小加法运算的和 sumReOrder = 0 #每次循环的N值初始化 countNOrd...
[ "noreply@github.com" ]
Mud-Fire.noreply@github.com
18993d6a9980af00334c5b5db42135f52700e93a
925f9291b8d98468f17ff8b8e5d54006193ddcd0
/bookstore/urls.py
36c6e936740001e428aba08ea0fa667cda50af5b
[]
no_license
hamzabelatra/DjangoBookStore
7c058469acef22228463580f6c343cb591e626eb
5cbffd37bd093a497d18c131b532256cee19b2d9
refs/heads/master
2023-08-09T11:10:11.895251
2021-09-20T20:18:50
2021-09-20T20:18:50
408,589,362
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
"""bookstore URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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-bas...
[ "hamzabelatra1@gmail.com" ]
hamzabelatra1@gmail.com
25859d62514ea506faa2e5384810904d8205659b
78560437a0cc6c1e34ab654c32f5fab465530aeb
/EstruturaSequencial/16_Casa_tintas.py
33770d4450d1d1c267287eb062f08bf53000ce0c
[]
no_license
StefanOliveira/ExerciciosPython
bec15ab3fb0c10aebde1e2d8e5992fd9b77bb2c8
f7b51276e2e2ed7bb4160615b49a5df24c50e248
refs/heads/master
2020-03-20T14:26:51.306691
2018-08-20T19:33:16
2018-08-20T19:33:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
nQtdMts = float(input('Informe a area em metros que será pintada: ')) nLitros = nQtdMts / 3.0 nLatas = int(nLitros / 18.0) if (nLitros % 18 != 0): nLatas += 1 print ('Você precisa de',nLatas,'latas de tinta') print ('Total a pagar:',nLatas * 80)
[ "noreply@github.com" ]
StefanOliveira.noreply@github.com
e74628558b410dabd6460047e5def4308c79a579
d153be2b35d7274bfadc305af19ee5f6827efb07
/captain_console/cart/migrations/0004_auto_20200514_2204.py
3ecf0942392a7f84050e3aac1fef658200e62178
[]
no_license
bjorgvin16/verklegt2
1796ee6b4e8e4a6ab8fe5f1776109d56e4777d05
f833243c5f48e54817fe105f33ce216ec66c3c6c
refs/heads/master
2022-07-26T03:04:14.805467
2020-05-15T23:08:53
2020-05-15T23:08:53
259,272,640
1
0
null
null
null
null
UTF-8
Python
false
false
481
py
# Generated by Django 3.0.6 on 2020-05-14 22:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0003_order_orderdate'), ] operations = [ migrations.RemoveField( model_name='order', name='quantity', ...
[ "margriette123@gmail.com" ]
margriette123@gmail.com
1253ef78db264c7b83bead8bbc79f13fb57fd0b9
2bdf073b9788c446342643296c6b68c353b0a5c6
/rareapi/views/tag.py
eab977834ef18b2af0bd99de48da0dfffcf18616
[]
no_license
nss-day-cohort-50/rare-api-rowdy-roadtrippers
f07819362a97b0b02d945c9e932ecf18375c01ea
25122375b4f07b738a65c4bac21ff300379d831b
refs/heads/main
2023-09-03T12:57:04.390337
2021-11-18T17:34:05
2021-11-18T17:34:05
428,313,351
0
0
null
2021-11-18T17:34:06
2021-11-15T15:14:38
Python
UTF-8
Python
false
false
1,501
py
from django.core.exceptions import ValidationError from rest_framework import status from django.http import HttpResponseServerError from rest_framework.viewsets import ViewSet from rest_framework.response import Response from rest_framework import serializers from rareapi.models import Tag class TagView(ViewSet): ...
[ "matthew.singler@gmail.com" ]
matthew.singler@gmail.com
a49e2c4eeddaf540dfd5ba698a9805c8b952a483
c9f3ecbf78f890ff598591e6bf326b79f7b22608
/Python/Chapter 1/ex32.py
84d63a023dcbb5ab1aa4d9b366425ad84de0ea83
[]
no_license
bomcon123456/DSA_Learning
f17ceacadaf0398e233c9740d9d24ee5fc76fa69
d943ec1aa7315d0e34fd3505ccb5a62a415ecf73
refs/heads/master
2020-06-25T08:58:50.280816
2020-01-02T02:36:17
2020-01-02T02:36:17
199,265,954
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
def ex32(): c = "" res = 0 plusNext = False while True: c = input() arr = c.split(" ") if len(arr) == 1: if c == "+": res = res plusNext = True elif c == "=": print(res) return res ...
[ "termanteus@aos-iMac.local" ]
termanteus@aos-iMac.local
65aad1bfe5b4d4756f2c8145c69dbdeaceda54b0
061fbd9e1d9bed1c88d5660211e9172401d5c108
/venv/bin/easy_install
e3a56dc6a003370abaaa757ad43060e0d5c2f3fd
[]
no_license
PrachiJani13/mypythonproject
5838302f1b9dd433dd9daf248f51d012072f7eaf
3aa81e5d1175f4f369e49eb0faee046ee1668b1c
refs/heads/master
2020-09-17T11:08:07.125757
2019-11-26T02:35:00
2019-11-26T02:35:00
224,083,299
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/Users/prachijani/workspace/myprojectpython/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "prachi.jani@sjsu.edu" ]
prachi.jani@sjsu.edu
4f0d5c22413bdaacf869bf9cbd12d47bcc73f375
1dc753d68b234b10193962f58d306bd91957eb6d
/college/college/doctype/student_achievements/student_achievements.py
66884338ed30206d53469c0ed0ba413e759ab9c7
[ "MIT" ]
permissive
harshith187/college
e8612134e47c48ad721840f684362f7348e9bad4
d9ae21734dcde70397aead827e57fbbdcdeb98c9
refs/heads/master
2020-07-20T12:36:27.601134
2020-05-25T13:53:57
2020-05-25T13:53:57
206,641,495
0
4
NOASSERTION
2020-05-25T15:05:16
2019-09-05T19:27:37
Python
UTF-8
Python
false
false
266
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, mvit ise and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class StudentAchievements(Document): pass
[ "frappe@ubuntu.vm" ]
frappe@ubuntu.vm
bbf45532ab46317e7c548a735d5a2663e074b126
e9263f1f1a780e831464626ffcc74a9eeb2b2f12
/print_request.py
6ea534ce1cc3bef70a40a813e279197625d05893
[]
no_license
OPEOStudio/kraft_bootstrap
bd26bb9bdd187961b36a2a1753f325fe45515a06
e5e0e07694cd792aa82107832714d3a90696e6ac
refs/heads/master
2020-04-06T18:57:23.106134
2019-01-16T10:05:12
2019-01-16T10:05:12
157,719,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
import requests import json ### PRINT THE REQUEST # Script to print the request, to make sure that all the right request elements are being sent # DOESN'T WORK FOR NOW def print_r(string, url, data, headers, params): # Put headers, params back into dictionnary #print("headers: "+headers) ## Allowed me to test that ...
[ "36651512+musiquarc@users.noreply.github.com" ]
36651512+musiquarc@users.noreply.github.com
f346c7f538f075ee8c1577c89e089a80c6232447
571322962890d461a6b142b42f6ed66be23fb299
/blog/admin.py
a6493140ae0a0212665647a59d6e8f86f532b104
[]
no_license
Cyapy/my-first-blog
e94b1e012b2760506a091f9d32018d31fbd237a8
ec94ef330634377a2f6844de5989ad0cb594c970
refs/heads/master
2020-07-23T10:58:54.566605
2019-09-10T10:59:43
2019-09-10T10:59:43
207,536,238
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.contrib import admin #from .models import Company from .models import Post #admin.site.register(Company) admin.site.register(Post)
[ "cz.arnold1977@gmail.com" ]
cz.arnold1977@gmail.com
c36efc1843c3021c334a94bbf23e9898a24991eb
d0235e8259db910f577f418c644f2861b10df3ab
/rectangle_teddybear.pyde
4c1bd4dd6e664665136a64109ccded12a53fd6b7
[]
no_license
Ganesh2608/CG
6b865f35da6f11066defb0bc9cbcef067098ca16
aa926e54d0089cf22c110f13a01d7313129fc705
refs/heads/master
2020-03-27T13:19:45.141485
2018-11-12T06:33:12
2018-11-12T06:33:12
146,603,090
0
0
null
null
null
null
UTF-8
Python
false
false
664
pyde
def setup(): #global viewport; size(700,800); #viewport = createGraphics(); def draw(): fill(255); rect(200,120,95,70); #head rect(225,190,45,160); #body line rect(270,215,80,27); #hands rect(145,215,80,27); #hands rect(270,323,80,27); #legs rect(14...
[ "noreply@github.com" ]
Ganesh2608.noreply@github.com
c1cc453fc746b6bc98f3d3c7890760918bc8317e
5080f19c30738bff67e49eff7b91d3ba4315cd21
/practice_pizza2020/test.py
ceb9be11a12ed3a579279bbd924093222874d8ef
[]
no_license
VincentZ-42/HashCode2020
ad1edb71c20500f7ed0ab9b600e1fef926a839be
d30b3ae2549549dd133e134e3c3c77ecea0a5fb8
refs/heads/master
2021-01-07T12:59:54.862461
2020-02-20T22:57:09
2020-02-20T22:57:09
241,702,219
0
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
# **************************************************************************** # # # # ::: :::::::: # # test.py :+: :+: :+: ...
[ "vzhao@e1z1r4p3.42.us.org" ]
vzhao@e1z1r4p3.42.us.org
f6c9eb2dd9064e19a427efac7876905fb88841f9
9093f2a305bba661ae671134648a251612226c83
/manage.py
aaa2b9aa399e90031f7f7112abf86277daa20ef1
[]
no_license
Regaron/ECommerce
7b631290f0d709f0d9c52663f705ee0db9e6564e
55c70e4a9a24192f80906f1d6893fc3dc96e2355
refs/heads/master
2020-03-25T04:35:31.878809
2019-11-16T14:07:53
2019-11-16T14:07:53
141,599,613
0
0
null
2018-07-26T04:35:43
2018-07-19T15:38:22
Python
UTF-8
Python
false
false
541
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ECommerce.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Ar...
[ "sujanbudhathoki123@gmail.com" ]
sujanbudhathoki123@gmail.com
d482fc54652390d38a71486ad7896776534966ae
64ad122b299e457e2b37fddf9b059bdbf5858ca8
/src/pose_estimation/scripts/image_processor.py
b2db59ae85d4feec36eb2651722ef72e9337183a
[]
no_license
faheinrich/pose_project
8218d140f6020bc56bad1ef7ac3a40e53a6a3053
23e4283358940f662e7b12d1ad98d7ebc3c2efe6
refs/heads/main
2023-05-12T21:06:14.628014
2021-06-01T20:27:19
2021-06-01T20:27:19
365,174,377
0
0
null
null
null
null
UTF-8
Python
false
false
4,045
py
#!/usr/bin/env python3 # Description: # - Subscribes to real-time streaming video from your built-in webcam. # # Author: # - Addison Sears-Collins # - https://automaticaddison.com # Import the necessary libraries import rospy # Python library for ROS from sensor_msgs.msg import Image # Image is the message type from ...
[ "faheinrich98@gmail.com" ]
faheinrich98@gmail.com
a4bc6700762042ba729d57d355527709795f6f6f
a19068d77efe49808ea54a2cdb1f64036248fbee
/experiments/CNN_BasicExpmnt.py
61e841bdc706f2ff930a4c5325f94355a6b8fb27
[]
no_license
sarneetk/NLP-Project
6facb81a9307684f90c237192fcc824534dbfff5
e5c483a763d5818365f8280292ac586638ba10ee
refs/heads/master
2023-03-25T21:04:20.632517
2021-03-21T04:19:01
2021-03-21T04:19:01
344,712,064
0
1
null
null
null
null
UTF-8
Python
false
false
4,309
py
# CNN for the IMDB problem from tensorflow import keras from keras.datasets import imdb from keras.models import Sequential from keras.layers import Dense from keras.layers import Flatten from keras.layers.convolutional import Conv1D from keras.layers.convolutional import MaxPooling1D from keras.layers.embeddin...
[ "noreply@github.com" ]
sarneetk.noreply@github.com
509e9d56682a9e7858514eff9ca4d13b748a8656
4ad9ae34e6d015ef865e93db71ac909531561ebe
/main.py
c65492feaa5b6e0797b04be2a760656191b624be
[]
no_license
chetanpujari5105/100DaysOfCodeInPython2021-Day-7
951e51cc420d5ea5dc2a6ee32e979e12ba466348
25055f6aa2030d27df0e721ced0a716404ccffa5
refs/heads/main
2023-02-13T21:45:10.933264
2021-01-10T18:18:43
2021-01-10T18:18:43
328,449,335
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
states_of_america = ["Delaware", "Pennsylvania", "New Jersey", "Georgia", "Connecticut", "Massachusetts", "Maryland", "South Carolina", "New Hampshire", "Virginia", "New York", "North Carolina", "Rhode Island", "Vermont", "Kentucky", "Tennessee", "Ohio", "Louisiana", "Indiana", "Mississippi", "Illinois", "Alabama", "Ma...
[ "noreply@github.com" ]
chetanpujari5105.noreply@github.com
7725728c4396eab46cc3164cd5889e7d901b4a5f
5a760a0ff2a1655e3fbddd621a181378ea092fcc
/StarWebBuilder/timeout.py
0586ada83fff4c9164333ee84c45b29f1a458022
[ "MIT" ]
permissive
taschetto/sublimeSettings
7f8292737b6f413718d7e076b9bd08e0ef8a297d
64bcb568c240b851efc914b102e0c57e1553d8c5
refs/heads/master
2020-03-26T05:45:59.888806
2016-09-14T15:34:11
2016-09-14T15:35:07
26,015,128
1
0
null
null
null
null
UTF-8
Python
false
false
550
py
from functools import wraps import errno import os import signal class TimeoutError(Exception): pass def timeout(seconds=10, error_message=os.strerror(errno.ETIME)): def decorator(func): def _handle_timeout(signum, frame): raise TimeoutError(error_message) def wrapper(*args, **kwargs): signal...
[ "gtaschetto@gmail.com" ]
gtaschetto@gmail.com
7948a9e20dfc18adb728f35ea7d8d4a1387faf1a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2408/60670/279400.py
462432fde739ac9f0e437d3408deb95a44e663a4
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
360
py
def isPrime(x): for i in range(2,int(x**0.5)+1): if x%i!=0: return False return True def factorial(n): t=1 for i in range(1,n): t*=i return t%1000000007 n=int(input()) numOfPrime=0 for i in range(1,n+1): if isPrime(i): numOfPrime+=1 print((factorial(numOfPri...
[ "1069583789@qq.com" ]
1069583789@qq.com
7d1d73ca2a8cb31e859f930a208e08029fffaba2
650e8c0eef602308e61a6d3c9476bb550c3e4a8c
/StartingOutWithPy/Chapter 02/ProgrammingExercises/09_C_to_F_temp_converter.py
af802349730447421820e6c8bf6b9b99b15d352f
[]
no_license
cosmos512/PyDevoir
7895d21d70c94074cacab79ca55dc1fca00bd514
3eabad164a62c7ef7919e7847033e67e7b0644a3
refs/heads/master
2021-01-23T18:59:21.136075
2014-08-03T20:10:25
2014-08-03T20:10:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# Write a program that converts Celsius temperatures to Fahrenheit temperatures. # The formula is as follows: # 9 # F = - C + 32 # 5 # The program should ask the user to enter a temperature in Celsius, and then # display the temperature converted to Fahrenheit. C = float(input('What is the Celsius ...
[ "lunlunart@gmail.com" ]
lunlunart@gmail.com
8c49afcd2557458371bc37031be00356b871799d
092e00ae8389811929a381637b73dcb2303fefeb
/blog/domain/user.py
338592ec2da4b0e0020f532f84602d13ba2ace07
[]
no_license
uiandwe/rest_framework_ex
33cfb73e386785009b1d012a3dfa6909bdc74ab3
8130bcf9a6ffd67b91906c85d66ed9d8d453bab8
refs/heads/master
2022-11-27T20:56:26.911462
2021-10-12T07:46:17
2021-10-12T07:46:17
234,095,110
0
0
null
2022-11-22T05:17:55
2020-01-15T14:12:34
Python
UTF-8
Python
false
false
220
py
# -*- coding: utf-8 -*- class User: def __init__(self, email, username): self.email = email self.username = username def __repr__(self): return "{}, {}".format(self.email, self.username)
[ "uiandwe@gmail.com" ]
uiandwe@gmail.com
48489ccc71bb088f7c28deb51e9c47dcd3617c1c
43226c0909e4164c4f69f1e462e6d089100131ee
/leap year yes or no.py
d610078f8b940c1822590c71a8c7421509a33a61
[]
no_license
subashbabu97/leapyear
8bf9e0449b65305c423350c5117d744304bee68b
5cf9440abd8468f469dcf6fe30b43f54df84f92c
refs/heads/master
2020-05-31T22:55:34.982996
2019-06-06T06:51:11
2019-06-06T06:51:11
190,529,094
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
a=int(input("Input:")) b=a%4 if b==0: print("Output:yes") else: print("Output:no")
[ "noreply@github.com" ]
subashbabu97.noreply@github.com
a160ac123f2a744d1d10d17cfc24c6bec46d13dd
a5bd2739e15716de801d621e6a756c943cb937e4
/states/base/_grains/reboot_required.py
f8aa8cad002ccccebb1d1d44b3ecc72277a3fcf3
[]
no_license
ashmckenzie/salt
00be6ec559769c7aff84f3ed97eb2162ee6bfcc4
dc67b06e99ad61f203752867ce54dc31a48b9800
refs/heads/master
2020-12-23T11:16:58.096353
2017-06-21T00:28:26
2017-06-21T00:28:26
33,473,549
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
# -*- coding: utf-8 -*- import os.path def reboot_required(): grains = {} grains['reboot_required'] = os.path.isfile('/var/run/reboot-required') return grains
[ "ash@the-rebellion.net" ]
ash@the-rebellion.net
955a3394f44e953f1a4c30c5c454af78e16f84da
a2477654a0fb85f9507389ff7a4b4a8bcc1641fa
/trydjango1-11/src/restaurants/migrations/0003_auto_20170926_1624.py
5708b2f804f86a92b2d7213e1dbc4f79de3a24b5
[]
no_license
ervinpepic/Django-11-Restaurant-app
6ae1e2dec7571b0180ea991ca80b9b83d00cdb1b
a6bd976130c70621e6149ee64c61e1cdcec2acba
refs/heads/master
2022-10-18T08:34:11.496044
2017-11-25T19:57:36
2017-11-25T19:57:36
111,400,182
0
1
null
2022-10-10T08:12:45
2017-11-20T11:13:00
Python
UTF-8
Python
false
false
416
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-09-26 16:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('restaurants', '0002_restaurant_location'), ] operations = [ migrations.RenameModel(...
[ "ervin.hack@gmail.com" ]
ervin.hack@gmail.com
2354d06939d6c72e5399a441a3e3c362fe7451e0
65e2f1f1daaaf175b09d0863f6ed77c77129fed6
/c/personal/algo_007/programming_assignments/algo_002/1/prim/prim_bkp.py
a4a4efd5fb5b32000cb176f21d8e90f7d077059b
[]
no_license
ausanyal/code
86b010613eb5b9dc0ada717e0db8e21f4ede8961
a359f9cfb650d57ce88c39dc0e15dce19a5324bd
refs/heads/master
2021-01-01T15:39:34.985446
2018-05-07T01:47:02
2018-05-07T01:47:02
97,669,433
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
#!/usr/bin/python import sys import collections from decimal import Decimal f = open('input', 'r') lines = f.readlines() nv = 0 ne = 0 d = {} for line in lines: if ne == 0: nv,ne = line.split(' ') else: u,v,e = map(int, line.split(' ')) if u not in d.keys(): d[u] = {} ...
[ "aubin.sanyal@gmail.com" ]
aubin.sanyal@gmail.com
85dedc26a7d0b18671e3606cefba8011ec6f33a6
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_156/521.py
ca8aafaec283d6e9fa857be6020a6168166a825e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,635
py
#!/usr/bin/python3 import sys import math ncases = int(sys.stdin.readline().strip()) for t in range(1, ncases+1): d = int(sys.stdin.readline().strip()) values = sys.stdin.readline().strip().split() pancakes = [int(x) for x in values] pancakes.sort(reverse=True) best = pancakes[0] # Node for...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
01963dfede8f5f05b7ffa0c3d4400f87db8be7ca
eae1829b4a629571a9e3821760cf6c7e2547b300
/cifar_asgd_new.py
dfb193cce4191c71d4b11ca0ad712fe51cb6f42a
[]
no_license
zdpau/Sync-Async_PS
1b3131a3a7d135bb3d62896ca3dd74ba6d18aa30
86a1c71960b70d86cad9c6f97a8a3932a1cb79ff
refs/heads/master
2021-07-21T10:16:34.547532
2018-12-19T09:29:39
2018-12-19T09:29:39
140,381,470
0
0
null
null
null
null
UTF-8
Python
false
false
5,144
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import ray import tensorflow as tf import cifar10 import cifar10_train import time from collections import deque import random import sys numLoops = 5000 FLAGS = tf.app.flags.FLAGS # tf.ap...
[ "noreply@github.com" ]
zdpau.noreply@github.com
291145b4c5ed899fc48d811be2dd62caa2b32b4a
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4010/819004010.py
23f27f88966ad294e1ec85c55e27af7395e422d6
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,730
py
from bots.botsconfig import * from records004010 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'JB', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BOS', MIN: 1, MAX: 1}, {ID: 'CUR', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
36815ed5dbc21619f0e347fd9614d4889ea71b0d
bfb882c400956861fccd40bf1fb53cd6ddcba41e
/hagelslag/processing/__init__.py
947f56449e95c6deffd11da0f81a50f94c71a716
[ "MIT" ]
permissive
stsaten6/hagelslag
3b1b07cf424997686b3320c538a188c790232bd7
6b7d0779a0b0ac4bd26fbe4931b406fad1ef9f9e
refs/heads/master
2020-03-10T17:38:44.528943
2018-04-12T20:50:38
2018-04-12T20:50:38
129,504,847
2
0
MIT
2018-04-14T09:58:37
2018-04-14T09:58:37
null
UTF-8
Python
false
false
524
py
from .EnhancedWatershedSegmenter import EnhancedWatershed from .EnsembleProducts import MachineLearningEnsembleProducts, EnsembleProducts, EnsembleConsensus from .Hysteresis import Hysteresis from .ObjectMatcher import ObjectMatcher, TrackMatcher from .ObjectMatcher import mean_minimum_centroid_distance, centroid_dista...
[ "djgagne@ou.edu" ]
djgagne@ou.edu
468a03cc09e3982d357c914a5bd468274a433c55
d5466ac9513c4cf9addb01fd89b4220696352054
/DRL/envs/airsim/airsimcarenv.py
eea010e1a42e301f1c07418e08f5c8fc8e98aa45
[]
no_license
sanketh1691/Don-t-Crash
99f6bb61f53751d227b31d84bd593945dde04e12
9edd845b750d450de0c21543c3a82d19a8571cbc
refs/heads/master
2023-01-18T21:06:23.052387
2020-11-24T03:26:03
2020-11-24T03:26:03
315,507,066
1
0
null
2020-11-24T03:23:39
2020-11-24T03:23:38
null
UTF-8
Python
false
false
4,790
py
import logging import math import numpy as np import random import time import gym from gym import spaces from gym.utils import seeding from gym.spaces import Tuple, Box, Discrete, MultiDiscrete, Dict from gym.spaces.box import Box from envs.airsim.myAirSimCarClient import * logger = logging.getLogger(__name__) cla...
[ "jaiminpa@usc.edu" ]
jaiminpa@usc.edu
5cb33ac9f43d4cdcb1e19f70d4624b4fa4b74cb0
6a7cf44a3cdce674bd0659f81f830826caac34e1
/Lessons/lol.py
0c454d9399717a381f486f94fb7b1c9387163d25
[]
no_license
Ethansu/Random-Python
9f1b6198968091cd3f356ad2962d0efdc455c76a
4b1b18e1cb6c04f1195082c5d0899f476e234a55
refs/heads/master
2021-05-06T02:10:18.163866
2017-12-17T00:53:14
2017-12-17T00:53:14
114,498,985
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
#import unittest #from homework_6 import Car def lol(x): return (x + 1) / 4
[ "jingchunsumacc@gmail.com" ]
jingchunsumacc@gmail.com
4fafdb60d2714fc699c55d2ce9bc473bfcffb686
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/situations/complex/university_mixer_situation.py
bdd94a7c82a8c319385d8ae99bf8517a96e6a57b
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
5,087
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\situations\complex\university_mixer_situation.py # Compiled at: 2019-10-19 01:32:53 # Size of source...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
f21193e2e28fe1cc390d4ae97c312250c7ab7a79
947577e28fc58aa7505cc4da0de5ed454c7229ea
/DataStatistics/config/conf_database.py
c9f7c7a7d70b2da3783ef587323eb50427be3d7c
[]
no_license
chuxuan909/Tornado
32064f110d49af8ff93b93ba9a8af1bb481452dc
8946405de99dad8720c92248b9ebd06bdfe3c61f
refs/heads/master
2020-09-05T14:08:20.462058
2019-11-08T09:52:40
2019-11-08T09:52:40
220,128,751
1
0
null
null
null
null
UTF-8
Python
false
false
2,731
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from sqlalchemy import create_engine #mysql连接配置 database_config={ "passwd":"xxxxxxxxx", # 数据库密码 "user":"xxx", # 数据库用户 "url":"xxx.xxx.xxx.xxx", # 数据库地址 "port":3306, # 数据库连接端口 "dbs":{'userdb1':'gHa...
[ "305958872@qq.com" ]
305958872@qq.com
e134d1f0bece4a5e209fd10eaedcb6493c8f17b2
e67b0c01d7244f1c635d7c2e12157076bcd2efbc
/finalproject/app.py
c4341f5d265bdc737da29944cf08361513cc42c2
[]
no_license
SonjaGrusche/LPTHW
0a7de74101db1b0ae62ffc35d4fac990c894ae14
12483e97373c9e0aa9e8785b20bb34e1e5b4b36a
refs/heads/master
2021-01-12T15:52:06.404665
2017-03-21T10:27:53
2017-03-21T10:27:53
71,830,953
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
from flask import Flask, session, request from flask import url_for, redirect, render_template from random import randint import resources app = Flask(__name__) @app.route('/', methods=['GET']) def start_get(): return render_template('start.html') @app.route('/questionnaire', methods=['GET']) def questionnaire_g...
[ "sonja.grusche@stud.leuphana.de" ]
sonja.grusche@stud.leuphana.de
10515479aab3316ae2f634ef92fdf2aed4b5593f
464be1d96c23380f2f4d646490928c5995d199c2
/leet/l36.py
431afc4e7274d4fc3a944ab25cc23ffd50b5292a
[]
no_license
TatsuLee/pythonPractice
4c8d83fabd01b36b480c8ef1b9ff656a8d09b026
628c536007d131ff91f2057d863c029b2efb1bb1
refs/heads/master
2021-07-24T16:46:53.914031
2017-10-28T10:21:28
2017-10-28T10:21:28
68,804,117
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
class Solution(object): def isValidSudoku(self, board): """ :type board: List[List[str]] :rtype: bool """ # generate 3 empty list to store scaned nums row = [set() for i in range(9)] col = [set() for i in range(9)] grid = [set() for i in range(9)] ...
[ "dli37@hawk.iit.edu" ]
dli37@hawk.iit.edu
fad84be7b3588e086eaa4f7158e430de704c6e85
e35d35b22f11be27f439900e97248b7cab7aa85e
/client.py
beb1d0771d531e912584b4e968bc4f762d483a90
[]
no_license
jkaria/chat-server
e1903912e047180077eb4b2bf9b7d2db1637fe33
b92e0af97a1d4105d070b15951c91d7e406c39ab
refs/heads/master
2020-03-20T23:08:22.980615
2018-06-22T04:14:42
2018-06-22T04:14:42
137,831,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
import websocket import _thread as thread import sys import re import json def on_message(ws, message): print(f"received > {message}") def on_error(ws, error): print(f"error > {error}") def on_close(ws): print("Server connection closed") def on_open(ws): def run(*args): msg_format = re.comp...
[ "" ]
364d6a8b4e45dedb56ee9f02ada48d814d3f2292
4ccc8d6e163b156e06a5c107a6a28681184a8a03
/2021/day_05.py
7f2b6f57581f3a8cc0b6db5b969eb1f474bb5c19
[]
no_license
mmercedes/adventofcode
798925a2b8403948c16d68b9e195c148d0a69b8a
306cffadafb48863277295cf9ed56e95699d92e6
refs/heads/master
2022-01-01T09:25:38.974142
2021-12-14T18:33:07
2021-12-14T18:33:07
159,980,279
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
#!/usr/bin/env python import re def lookup_insert(m, x, y): if x not in m: m[x] = {} if y not in m[x]: m[x][y] = 0 m[x][y] = m[x][y]+1 def insert_line(m, x1, y1, x2, y2): dx = 1 if (x1 < x2) else -1 dy = 1 if (y1 < y2) else -1 i, j = (x1, y1) lookup_insert(m, x2, y2) ...
[ "matthewmercedes@gmail.com" ]
matthewmercedes@gmail.com
feb3861b0c0a06a508fdf4a0748c05fe0b8f72be
0f00c8a02e8dc1d8136b2afc92338108f92cc6ae
/recipes/mrbayes/run_test.py
40033ea2ed9721ad50dfc69b067eccb43cef93ff
[]
no_license
faircloth-lab/conda-recipes
3714f5be83753261bf3abc70454bdf6b7028c8d6
75a520a75a357ea47ee80262f3c3a6dfe1b0715f
refs/heads/master
2021-01-20T07:07:05.705307
2015-06-16T13:50:18
2015-06-16T13:50:18
12,671,015
2
6
null
null
null
null
UTF-8
Python
false
false
1,416
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ (c) 2013 Brant Faircloth || http://faircloth-lab.org/ All rights reserved. This code is distributed under a 3-clause BSD license. Please see LICENSE.txt for more information. Created on 30 December 2013 16:33 PST (-0800) """ import unittest import subprocess class...
[ "brant@faircloth-lab.org" ]
brant@faircloth-lab.org
3e2e4ac2bfe11f943d6d864dc62bf236447cab5b
b8800f65c2955768b58c7d7fbd89647a644daed6
/blog/models.py
b1d723e885fb9838448eac3c9471705c1f03e512
[]
no_license
revianblue/my-first-blog
791ae3db3f788a337c3db0986f11930eeff77e26
a06af2e7f344e2e54be0ff677bfe403a721fea7e
refs/heads/master
2021-01-20T01:04:46.380012
2017-04-24T13:38:10
2017-04-24T13:38:10
89,220,972
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from django.db import models from django.utils import timezone class Post(models.Model): yazar = models.ForeignKey('auth.User') baslik = models.CharField(max_length=200) yazi = models.TextField() yaratilma_tarihi = models.DateTimeField(default=timezone.now) yayinlanma_tarihi = models.DateTimeField(...
[ "araserbilgin@gmail.com" ]
araserbilgin@gmail.com
8d00b1ee6bc068f204efbd23dc93e6b7be30deb3
36c170d204310f4e5985bd5c024a286acae36aba
/Labs/seminar/functii.py
930df547edf5d8709c42ecbf513a6d063922f248
[]
no_license
petrediana/Analiza-Datelor
7cc6d1f31f6d7407e702d2cc29b9baa7ca1cda8c
23d2282a0a662fe778aae5ec9d90e32c353bdec0
refs/heads/master
2020-08-04T05:52:36.700366
2019-12-10T08:20:54
2019-12-10T08:20:54
212,029,364
1
0
null
null
null
null
UTF-8
Python
false
false
657
py
import numpy as np import pandas as pd # trimit matricea ierarhie si cate clase vreau sa trimit def partitie(h, k): n = np.shape(h)[0] + 1 # numarul de instante c = np.arange(n) # primii n clusteri for i in range(n - k): k1 = h[i, 0] k2 = h[i, 1] # se formeaza cluster ...
[ "noreply@github.com" ]
petrediana.noreply@github.com
51086a37acacb82ec4da2e56fe316b05793a58d1
2335e7d1c10d800abb10b4432465f29a4456548d
/setup.py
721f1b8d75682c30d9183bd741ff5d826e50db7d
[ "LicenseRef-scancode-warranty-disclaimer", "EFL-2.0" ]
permissive
deathbybandaid/Sopel-StartupMonologue
48a7e85ca117c630cf8039af76a0bbaea91ff5a1
f495344cee379e66ec5022e1e7edf15f075c758c
refs/heads/master
2020-05-09T11:18:01.564022
2019-04-27T14:12:38
2019-04-27T14:12:38
181,074,314
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import sys from setuptools import setup, find_packages if __name__ == '__main__': print('Sopel does not correctly load modules installed with setup.py ' 'directly. Please use "pip install .", or add {}/sopel_modules to ' '...
[ "sam@deathbybandaid.net" ]
sam@deathbybandaid.net
b341b840a33dfd2e49d09afbc302f4239a84611c
b983d66bb053966d46b7ff0cc7bea4142d8fe852
/src/states.py
ca19928ba363470c4fd331d5e211ff3a03e33dbe
[ "MIT" ]
permissive
povle/vk-engineers
d4104c39c1846bc5b4250702b0da486bc8e01645
bff0c3ac244dffc79baeed423db5a5dc814f04b8
refs/heads/master
2023-07-28T06:52:36.184954
2021-09-07T21:15:44
2021-09-07T21:15:44
305,855,459
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
class StateError(Exception): pass USER_NEW = 'user_new' USER_INIT = 'user_init' USER_DEFAULT = 'user_default' ADMIN_DEFAULT = 'admin_default' ADMIN_BROADCAST_GROUP_SELECTION = 'admin_broadcast_group_selection' ADMIN_MESSAGE_INPUT = 'admin_message_input' ADMIN_RECEIVER_GROUP_SELECTION = 'admin_receiver_group_sele...
[ "pasha@blinov.co" ]
pasha@blinov.co
c0c5bf3b9e293f9e815bdb6e73677906bd3d0e31
fad2c9d62fbc48230af447c980e641626c86c1d5
/users/apps.py
1231bc80c02815a3287789710efca12d72d86056
[]
no_license
marcoapr/django-lab
65a50d9736d52fddcf84cdf47c3b84f918e5b1d7
35856afa988ac619643919b50a11d8de2bfba856
refs/heads/master
2020-04-02T20:06:57.508267
2018-10-26T01:22:54
2018-10-26T01:22:54
154,758,517
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
""" User app configuration. """ from django.apps import AppConfig class UsersConfig(AppConfig): """ User app config """ name = 'users' verbose_name = 'Users'
[ "mperez@unitedvirtualities.com" ]
mperez@unitedvirtualities.com
8de417f20989172bfac0cbb257285314d44a4cb5
09d81c119fb88b73c0968e6d384898ec1a65bb36
/lab5/lab5/settings.py
7990e2f20bbb476fd206cc294ebb34cc91767911
[]
no_license
n10florin/nfir1917
8a92f5c3c32aecdaf56114ed205edbefa8f66902
11aca585d9b4d3bd17cd7fe8136967c2effe4c68
refs/heads/master
2021-04-12T09:54:08.639211
2018-05-17T11:28:46
2018-05-17T11:28:46
126,162,496
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
""" Django settings for lab5 project. Generated by 'django-admin startproject' using Django 2.0.5. 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 # Bu...
[ "n10florin@gmail.com" ]
n10florin@gmail.com
172e416bfd9fae185c8298b4930fcd1fbb386ef6
8625b3616fa4a8aaf836c26e344bb39552a13c7b
/plugins/reactionCounterPlugin.py
475ba07ec02c9f2bc78e4c15fc71888a5890a772
[ "MIT" ]
permissive
Avishek-Paul/SlackAssistant
06fa2049676206833aa661487d10518c03ea9466
4cb41fe62526dc26381c6ca6bc420b1104a8da2f
refs/heads/master
2023-01-08T08:41:43.910145
2020-11-11T01:10:05
2020-11-11T01:10:05
311,824,817
0
0
null
null
null
null
UTF-8
Python
false
false
3,564
py
import config from slackclient import SlackClient class reactionCounterPlugin: def __init__(self): self.keywords = ['!rankings', '!Rankings', '!ranking', '!Ranking', 'reactionBased'] self.client = SlackClient(config.bot_token) self.db = config.mongoClient def execute(self, event): ...
[ "avishek97paul@gmail.com" ]
avishek97paul@gmail.com
9f0e3f8373e8127285738a76f06d09c19699634c
7a3dec909e1a36622c66a743968a631644a1e830
/src/uploaders/tests/test_xml_uploader.py
2609bba6e75a537948f5c989832786ccf1820c27
[ "MIT" ]
permissive
fares-data-build-tool/fdbt-reference-data-service
c8388e2f7912e3ef678968efb876935d3aa438e3
d60506edf24c723a7d56a7ff7b6586f1c1e9989d
refs/heads/develop
2021-07-19T13:26:33.707021
2021-04-22T15:10:02
2021-04-22T15:10:02
247,682,844
2
0
MIT
2021-04-28T10:56:41
2020-03-16T11:16:35
Python
UTF-8
Python
false
false
3,533
py
import os from unittest.mock import patch, MagicMock import boto3 from txc_uploader.txc_processor import download_from_s3_and_write_to_db, extract_data_for_txc_operator_service_table, collect_journey_pattern_section_refs_and_info, collect_journey_patterns, iterate_through_journey_patterns_and_run_insert_queries from ...
[ "noreply@github.com" ]
fares-data-build-tool.noreply@github.com
e19eeb31f0acad784dc3dad13eaa2bef568c94a5
ed72d3f672d3298e9a2a4e9ff31915f9275bbf46
/flight.py
a1043999b4044de661e6b6935f51b0bc6b746643
[]
no_license
KirtMorgan/model_airport
93810ceffce89ab670be7e10d1e0d44b7505e04e
e640a78e6afccb10f5f15646c696afd22027756a
refs/heads/master
2020-05-17T00:03:51.525043
2019-04-29T14:30:19
2019-04-29T14:30:19
183,386,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
from passenger import * from plane import * class Flight: def __init__(self, origin_destination='', plane=''): self.origin_destination = origin_destination self.plane = plane self.passengers_list = [] def add_plane(self, plane): self.plane = plane def add_origin_destinatio...
[ "kirtmorgan@live.com" ]
kirtmorgan@live.com
97e53dbcc10f19ff3e71ee359e01ac2874a34773
0bdcbad65988ffa36a20e46228e39a55c5af3c47
/src/get_files_not_in.py
b6c62ef31ce35ecaa9667b9b879ab6fc4b123093
[ "MIT" ]
permissive
mpaloni/pioneer
abdc2d38eb79759aa2d9d5df6cc63c823ba74101
c49efa2e071307b2534ca2abe7560f57683d2d9e
refs/heads/master
2020-04-19T02:46:43.360350
2019-01-28T07:07:40
2019-01-28T07:07:40
167,914,384
0
0
MIT
2019-01-28T07:00:52
2019-01-28T07:00:51
null
UTF-8
Python
false
false
1,637
py
import os import argparse import csv import shutil def main(): print("Started") #define parameters # parser = argparse.ArgumentParser(description='PIONEER Zeta') # parser.add_argument('--first', type=str, help='Subject on the left side of the operator') # parser.add_argument('--second', type=str, help='Subject ...
[ "noreply@github.com" ]
mpaloni.noreply@github.com
d3c0c2a4b226f7e7de023845098715c9f079029c
6484cdf98189f5f5736950c81a9d8d30e0f0c0db
/notifications/serializers.py
488db18520ad943f4fc0b50ec121588e37fe25bd
[]
no_license
AlexFrundin/great_app_example
e0e9c91f06bfba76058f3af5b113a9399945bf6c
23225e7e88f2ee51359d23cac2200b32b8bd6e20
refs/heads/main
2023-05-30T15:02:22.035811
2021-06-17T06:40:06
2021-06-17T06:40:06
339,434,159
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
from rest_framework import serializers from .models import Notification # This class is use for serialize the data of user profile details class NoitifcationListSerializer(serializers.ModelSerializer): created_on = serializers.DateTimeField(format="%d %b %Y") class Meta: model = Notification ...
[ "aleksey.frundin@gmail.com" ]
aleksey.frundin@gmail.com
55c13d8cf177119f3b0b4ac0b18bc121cc4f8d62
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/tests/test_p1494_parallel_courses_ii.py
dbf8cbae087e98cebaed176c651d916aaa595833
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
1,391
py
# flake8: noqa: F403, F405 import pytest from leetcode.p1494_parallel_courses_ii import * solutions = [ minNumberOfSemesters, ] test_cases = [ ( [ 13, [ [12, 8], [2, 4], [3, 7], [6, 8], [11, 8], ...
[ "zinchenko@live.com" ]
zinchenko@live.com
78e368fb716111fadb4e8ba88e1ddd8e34f363a5
98b0d740346ad9aecd228b9a8ebb8e818908ce03
/hr-1.py
0d51517045973153f9d6f31c16975b8fb25a1e6b
[]
no_license
alexisbellido/python-examples
8c63156a2800a584a8aff0909325e38acbe49163
e6a4f61d9cd18588987430007e28ef036971764b
refs/heads/master
2022-10-16T08:28:15.312916
2022-09-30T15:55:31
2022-09-30T15:55:31
240,379,353
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
def hi(name): return f'Hi, {name}' if __name__ == '__main__': # people = [input().split() for i in range(int(input()))] # print(*name_format(people), sep='\n') #################### people = [ 'John', 'Mike', ] # print(hi(people[0])) # print(hi(people[1])) # print(*h...
[ "alexis@ventanazul.com" ]
alexis@ventanazul.com
0b507bfacaa250eea6dafb6b5078efa843c7bb81
99356336a59b6c63de99156d2147fe3e4c1d13ac
/implementations/rest/bin/rest.py
d2f7d390dbbcb6b5d8db6386eca027e72521c0d2
[ "Apache-2.0" ]
permissive
splunkdevabhi/SplunkModularInputsPythonFramework
1ee157fe59feced526db1a278794406c0242acf2
04b69c29d95ef4c125bc9766e71d26620e1369db
refs/heads/master
2020-12-26T01:13:42.298552
2015-10-14T17:05:38
2015-10-14T17:05:38
48,684,067
3
1
null
2015-12-28T09:07:31
2015-12-28T09:07:30
null
UTF-8
Python
false
false
32,429
py
''' Modular Input Script Copyright (C) 2012 Splunk, Inc. All Rights Reserved ''' import sys,logging,os,time,re,threading import xml.dom.minidom import tokens from datetime import datetime SPLUNK_HOME = os.environ.get("SPLUNK_HOME") RESPONSE_HANDLER_INSTANCE = None SPLUNK_PORT = 8089 STANZA = None SESSION_TOKEN = N...
[ "ddallimore@splunk.com" ]
ddallimore@splunk.com
cc4ca8bee5f7c9548c5afea6850d0cc031ab24e8
4cd5d0ed28ae52277ba904ea70eb9ac234eced0c
/RedditDigest.py
7072fd945ea5716f6272005fe9da061b6df0fb76
[]
no_license
LiamHz/AutoPy
b30f672c69fb96e501d3434b28f6dd224546c39f
9be71fea5e33a8cb715d407d91ea1eced177eca0
refs/heads/master
2021-07-08T12:47:02.485285
2019-03-06T16:47:37
2019-03-06T16:47:37
142,188,514
1
1
null
null
null
null
UTF-8
Python
false
false
2,450
py
# Send the top posts of the past day from selected subreddits import praw import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText # Read user credentials from external file f = open("AuthenticationCredentials.txt","r") lines = f.read().splitlines() EMAIL_USERNAME = lines[1]...
[ "liam.hinzman@gmail.com" ]
liam.hinzman@gmail.com
54efaf34fa4aca4b31c9b4fe6d36b5dd4d65d9f7
14e6cf117d502517805639ee5850ec4a78654765
/backend/bestdeal/urls.py
e0372b2dacb48c1dced46fd457e18a6f81846225
[]
no_license
viikt0r/pythonproject
cf05590b20798bbc12985f30eabf2970d262a5d1
e7d9f49fdf206f297641fada0a861f1e307cd4b3
refs/heads/master
2023-01-06T00:43:27.587484
2019-06-05T17:16:19
2019-06-05T17:16:19
157,125,370
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
from os import listdir from os.path import join, isdir from django.urls import path, include from pythonproject.settings import BASE_DIR from rest_framework_swagger.views import get_swagger_view schema_view = get_swagger_view(title='Bestdeal API') API_DIR = 'bestdeal/api/' entities = [directory for direct...
[ "esteve.viktor@gmail.com" ]
esteve.viktor@gmail.com
a6fd335e1fab30bfd003446f4f96dc56ec322e38
0c08d190ebf4ac4469f1e5931171b84916d0ada8
/Assignment 2/Static Slicing/main.py
a530f3e9d4e7431ada82f1bd3fc7b4aedfe992c5
[]
no_license
Janahan10/SOFE-3980-Assignments
95ef56c01c02a1125fcddb1b9ad58b376cf0066f
a2830b4da3f110e82e031384f46a5200809ab154
refs/heads/main
2023-03-30T22:15:41.680013
2021-03-28T17:42:44
2021-03-28T17:42:44
343,180,490
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
#!/usr/bin/python import sys def parse(statement, cur_line): if statement in cur_line: return True return False file = open("Source.txt", "r") line_number = 1 for line in file: if parse(sys.argv[1], line): print('line ', line_number, ':', line.strip()) line_number += 1 file.clos...
[ "janahanravi10@gmail.com" ]
janahanravi10@gmail.com
b2d0b95a6c5ee67ad0f1af6a3d34aaa04e489b4c
25297ce593e7b5d8c7035f5992fd38538e8a4b6d
/ecom/api/order/urls.py
47d94c48d82bb40e3382f9a0b258f2eae19c2d76
[]
no_license
abhishek0405/MaskBazaar
fb2d955ba1fc73a8719cf23b3318972ae7455b7c
71975fc7ab930859786719579821f6100fe7981d
refs/heads/main
2023-01-07T13:48:14.201049
2020-11-22T14:29:21
2020-11-22T14:29:21
315,051,042
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from rest_framework import routers from django.urls import path, include from . import views router = routers.DefaultRouter() router.register(r'',views.OrderViewSet) #'' as this invoked only when /api/product so no need to add extra urlpatterns =[ path('add/<str:id>/<str:token>',views.add,name='order.add'), pat...
[ "abhishekanantharam123@gmail.com" ]
abhishekanantharam123@gmail.com
a47a860993c205588ad7942665c79c7af1f7846f
ee5f91fdc5d63cb1668185de611e5d0e363a006f
/Untitled1.py
ada39f951b0541519b131fe64018622e6177ad55
[]
no_license
vikram-sreedhar/Pulmonary-Fibrosis
38b9f020049e3fab197556a2f6b4fa71e9b6fe9b
267f1d041f61cf86892c94aa946b89eac2b9f60b
refs/heads/master
2022-12-17T06:21:44.062236
2020-09-27T20:01:13
2020-09-27T20:01:13
299,106,153
0
0
null
null
null
null
UTF-8
Python
false
false
24,383
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) import os # In[2]: # Visualisation libraries import matplotlib.pyplot as plt # In[3]: import seaborn as sns sns.set() from plotly.offline import init_notebook_mode, iplot import plotly.graph...
[ "noreply@github.com" ]
vikram-sreedhar.noreply@github.com
9e783b4e701f26b5c214da0138af22e4c3c66562
f2ac9260dfa7483cd54a30700bb952e10acbc1bb
/fit_lr.py
27c2ea1089ad19bf4212c6e4d9de0bab81cb012f
[]
no_license
kudkudak/compound-activity-prediction
94dd9efd2ff7ba5c95ebb71ce1766eb6b8882aac
d55e6ecb4e3de74d40b1a37950449f60df1a2ca4
refs/heads/master
2016-09-15T21:35:54.930142
2015-01-14T13:09:19
2015-01-14T13:09:19
27,130,096
2
0
null
null
null
null
UTF-8
Python
false
false
4,056
py
from misc.utils import * from misc.experiment_utils import get_exp_options, print_exp_header, \ save_exp, get_exp_logger, generate_configs, print_exp_name from data_api import prepare_experiment_data, prepare_experiment_data_embedded, get_raw_training_data from sklearn.metrics import matthews_corrcoef, accuracy_sc...
[ "staszek.jastrzebski@gmail.com" ]
staszek.jastrzebski@gmail.com
2a6ed3ab36186dc4b2907c6eccfff147841622dd
bc28f8fe941caf281261afa1641868e743ecb5ab
/Google_APAC_Round_E/Beautiful_Numbers/Beautiful_Numbers.py
07ce6d570af05b0e1e80e6cd90d4524fcd142a89
[]
no_license
anubhavshrimal/CompetitiveProgrammingInPython
9fc6949fb3cd715cfa8544c17a63ffbe52677b37
2692c446d49ec62d4967ed78a7973400db7ce981
refs/heads/master
2021-07-05T08:17:15.182154
2018-05-29T02:26:25
2018-05-29T02:26:25
60,554,340
7
6
null
2021-05-24T17:46:16
2016-06-06T19:18:27
Python
UTF-8
Python
false
false
465
py
import numpy as np test = int(input()) for t in range(1, test+1): num = int(input()) n1, n2 = abs(np.roots([1, 1, -(num-1)])) if int(n1) != n1 or int(n2)!= n2: ans = num-1 else: if n1 == 1 or n1 == -1: ans = n2 elif n2 == 1 or n2 == -1: ans = n1 ...
[ "anubhavshrimal@gmail.com" ]
anubhavshrimal@gmail.com
923b0ab9979233ab582fe107d680fdaa2f83e04e
f6a639ad7782fa5e05905224e01aeefc7204a66f
/punto_2/animacion.py
34e80f3465c84af1886dff168d53833977c71bf2
[]
no_license
Angelicarjs/AngelicaMoreno_taller5
16b62ffd750f4ee1fb475e66be359cb63fd58441
a0cb6164ee6f017f0c67004500d0f48b15e11ee3
refs/heads/master
2020-03-12T08:16:02.383897
2018-05-14T22:00:53
2018-05-14T22:00:53
130,523,842
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
import numpy as np import matplotlib.pyplot as plt from matplotlib import animation #Importa datos data = np.loadtxt('cuerda.txt') x = data[0,:] y = data[1,:] fig, ax = plt.subplots() #Dimensiones en x y y de la grafica ax.set_xlim(( 0, 100)) ax.set_ylim((-5, 1))
[ "noreply@github.com" ]
Angelicarjs.noreply@github.com
fefa024de214cfeafa5d85b6923b4b92572e46fb
583c92b827d741f2385560a75de6d125d888be1b
/classics_proxy_client/exceptions.py
210bd4cd7815f0f358d47f53315b996b6d4cc04d
[]
no_license
kyunghyuncho/classics-proxy-client
9686e72aae830bfe8072648505419ddc5c18df5a
5bfaf30106ba5456a5c2787f0cf8a1cacff10a00
refs/heads/master
2022-07-01T05:08:22.608264
2020-05-11T04:30:45
2020-05-11T04:30:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,761
py
# coding: utf-8 """ Classics Proxy API Proxy API for fetching Classic Sino-Korean Literature from various corpora # noqa: E501 The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech """ import six class OpenApiException(Exception): """The base exception class f...
[ "iyi@snapchat.com" ]
iyi@snapchat.com
686ebbced947976bbb1149d1b104178043ff8612
aafb41aab45562dfe08b2f142025a670dc4c5b80
/scripts/ffhs-na-semesterarbeit/utils/utils.py
376cc2c16a15cfccf108bd3c70e5d083df74c7b1
[]
no_license
samuelblattner/ffhs-na-semesterarbeit
1a61b55b60793557dd9b5d3b9ab025e8869fcbbd
c59d878806ab53fbc91b8861e820c1956f344fb3
refs/heads/master
2020-04-09T23:39:09.285217
2018-12-06T22:41:47
2018-12-06T22:41:47
160,662,796
0
0
null
null
null
null
UTF-8
Python
false
false
13,179
py
from random import random from typing import Tuple, List, Dict from dateutil import parser EUROPEAN_COUNTRIES = ( 'Albania', 'Andorra', 'Austria', 'Belarus', 'Belgium', 'Bosnia and Herzegovina', 'Bulgaria', 'Croatia', 'Czech Republic', 'Denmark', 'Estonia', 'Finland', ...
[ "samworks@gmx.net" ]
samworks@gmx.net
b1671f8ccb003ceab564735e721f938521ca0ce4
66edf859b44d1e020bf61f5c1ca3a1d2c0952e2e
/rooters-2019/xsh/exploit.py
0fc6fbe4ebce1c3def064de17762d48b54086f86
[]
no_license
farazsth98/CTF
5f40fe745ad2c6f4697c203532517dc93c88cc08
d2de238538c112ce1ac3aab939460c03b3f0f732
refs/heads/master
2023-04-13T20:29:09.611005
2021-04-24T17:53:05
2021-04-24T17:53:05
216,312,857
8
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
#!/usr/bin/env python2 from pwn import * elf = ELF('./xsh') libc = ELF('./libc.so.6') def start(): if not args.REMOTE: return process('./xsh') libc = ELF('./libc.so.6') else: return remote('35.192.206.226', 5555) libc = ELF('./libc-remote.so.6') def execute(cmd): p.recv()...
[ "faraz.abrar9@gmail.com" ]
faraz.abrar9@gmail.com
7054d92c14a1e6c568fc15281f3341cce89ae817
4c2136ab05913beba890b4127c2f608be4798ed2
/(0, '')/py/fc_session.py
751c6d3892c8e00fd0baf22a85673c65224e1427
[]
no_license
Dyutee/test
345adcd1769cba0f468090bcc311f4d379ea5f1e
b8b3718922bafbac1bad3802f6c885d777e1bb08
refs/heads/master
2021-01-12T04:19:45.511927
2016-12-29T07:25:29
2016-12-29T07:25:29
77,588,025
0
0
null
null
null
null
UTF-8
Python
false
false
4,517
py
#!/usr/bin/python import cgitb, sys, header, common_methods cgitb.enable() sys.path.append('/var/nasexe/storage') import storage_op import sys,os from lvm_infos import * from functions import * import san_disk_funs check_fc = san_disk_funs.fc_target_status(); fc_target=san_disk_funs.fc_list_targets() fc_ip = '' ses ...
[ "dyuteemoy46@gmail.com" ]
dyuteemoy46@gmail.com
5bfc7e94eef873db0f1be62c6ed282820f1cecc0
96cba510d390756372ba32ac8e7893db283f1c22
/index.py
a14f38f37eb6899a16614fb171649c00ea355912
[]
no_license
tjdnws1201/web2-python
f71f505ced95352eead5ca26d924535fbdc10542
a4bf85df37ba2f3944dc9c9576580e501e3c0d37
refs/heads/master
2021-01-01T13:29:18.457819
2020-02-24T16:30:24
2020-02-24T16:30:24
239,299,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
#!python print("Content-Type: text/html") # HTML is following print() import cgi, os, view, html_sanitizer sanitizer = html_sanitizer.Sanitizer() form = cgi.FieldStorage() if 'id' in form: title = pageId = form["id"].value description = open('data/'+pageId,'r').read() title = sanitizer.sanitiz...
[ "noreply@github.com" ]
tjdnws1201.noreply@github.com
b0e91394bff1be5dfe354c640ced42e3fac6041c
e46c52607c763675e00182c5bdd3bb61ce0c6f48
/lib/core/cert.py
b493f50f3bce4da1b182a21e7d05e5fae694e18c
[]
no_license
atlassion/PacketSenderLite
a610833380b19c59b3ae3a7de49fbd03fffffa28
3ff9db1e791deedfb2d7c638f94cd9cb5daa4a63
refs/heads/master
2023-06-09T15:03:28.278597
2021-06-22T11:49:08
2021-06-22T11:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,659
py
from hashlib import sha256, sha1, md5 from typing import List from cryptography import x509 from cryptography.hazmat.backends import default_backend from cryptography.x509 import Certificate __all__ = ['convert_bytes_to_cert', 'get_certificate_domains'] # noinspection PyUnresolvedReferences,PyProtectedMember,PyBroa...
[ "shadow.bfs@gmail.com" ]
shadow.bfs@gmail.com