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
8dfc7f44f8c53830fb7ca71ad3a9bdc9268e0d4e
29060e22ab11a03554b09921f53012733d6e1d53
/status/api/views.py
45d8a02a6cc94d9389bf750788177b7b2bbc2c33
[]
no_license
dnyaneshm36/clg3_heroku_odd
93bfa82b7c096d761b38922053c4bf6367edb4bf
b427940c47da5244dc9ba4ec47eacf866050ee55
refs/heads/master
2023-01-10T08:47:16.971785
2020-10-15T07:26:46
2020-10-15T07:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,377
py
import json from rest_framework import generics,mixins from rest_framework.views import APIView from rest_framework.response import Response #from rest_framework.generics import ListAPIView #from django.views.generic import View from status.models import Status from .serializers import StatusSerializer from django....
[ "dnyaneshm36@gmail.com" ]
dnyaneshm36@gmail.com
e6a244504589aefb338ee981f3fa9cc5647fa1d6
a6d964a8111e1f3ed9e869b37b8a7142a7d444aa
/FormularioPersona/views.py
7ad29e8943a6832fd678ad5ba962eedc17b8b16f
[]
no_license
DiegoBastianH/misperris
06d3bb4a7aaa2f823d81bb30617933e09e06686a
405fb905f5e8089763e9fcd5c73c91a8e9d347eb
refs/heads/master
2020-04-05T21:33:04.903005
2018-11-12T14:29:35
2018-11-12T14:29:35
157,224,444
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
from django.shortcuts import render from django.utils import timezone from . models import formulariopersona from django.contrib.auth.models import User from django.urls import reverse_lazy from FormularioPersona.forms import RegistroForm from django.views.generic import CreateView def pagina_principal(request): retu...
[ "kevin_herrera_g@hotmail.com" ]
kevin_herrera_g@hotmail.com
4175498f9d50c2b59eb642788a60f83ea825f8ca
24002364d24c7d146bb72489b1ec04619547d65d
/weddingsite/weddingsite/urls.py
299ab73d65d2e16eb93155bd6115555574fbcbd1
[]
no_license
FredericoTakayama/deniseefred
488a915b760ea21791e6eca451323aa0afc92d99
d96b0ccbcb64c6cf9eb0ee9e8d1b1bfa839e5b54
refs/heads/master
2020-03-31T10:42:19.900914
2019-03-24T14:38:02
2019-03-24T14:38:02
152,145,832
0
0
null
2019-03-24T14:38:03
2018-10-08T20:58:09
JavaScript
UTF-8
Python
false
false
1,067
py
"""weddingsite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "f.takayama2014@gmail.com" ]
f.takayama2014@gmail.com
a1426f24f8e2a2a2171520a289cc98f9baa54a7b
2ece8f5c7161933bb5f6dfb119879ad8ada022e8
/middle_exam/exam_2.py
7449875b0592c89b87b5c5b508e785f06c4e5497
[]
no_license
Baedoli/python
f771d1a51e8272f97f39887dc6dbf0f0b12d0617
d1cc6ad4f2923c7088cf54d67c6686b03f83a694
refs/heads/master
2021-12-20T13:21:22.601514
2021-12-15T09:29:22
2021-12-15T09:29:22
131,465,086
0
0
null
null
null
null
UTF-8
Python
false
false
3,232
py
# ํŒฉํ‚ค์ง€ ์ž„ํฌํŠธ from selenium import webdriver from datetime import datetime import time import pandas as pd import os # Excel ์ €์žฅ ํ•  ๊ฒฝ์šฐ ํ•„์š”ํ•œ Package ... import openpyxl def extract_content(sections,dataset,counter): for section in sections: member = section.find_element_by_class_name("X43Kjb").text # ๋ณ„์  D...
[ "bae9808@gmail.com" ]
bae9808@gmail.com
7afc7769d77244292d98d19dc91783b62f99074a
d8ebb47e8929f6acc96005abdf1f030088ecbff5
/web_flask/3-python_route.py
1f75087b23429f09b92ddccbeb8614eb628eb159
[]
no_license
JennyHadir/AirBnB_clone_v2
0b588666cfa9388667d783cc985a1c724b8c4c63
7b9142af5f5d3baeb2710b496c1ad33e3a7c9097
refs/heads/master
2023-04-23T00:19:53.014097
2021-05-02T22:51:26
2021-05-02T22:51:26
353,387,833
1
0
null
null
null
null
UTF-8
Python
false
false
748
py
#!/usr/bin/python3 """ Start Flask web app """ from flask import Flask app = Flask(__name__) @app.route('/', strict_slashes=False) def index(): """ Return Hello hbnb """ return 'Hello HBNB!' @app.route('/hbnb', strict_slashes=False) def hello(): """ Return HBNB""" return 'HBNB' @app.route('/c/<tex...
[ "hadirjenny@hotmail.com" ]
hadirjenny@hotmail.com
85c0cef319283c90391f3ae6bd8515aeb296d20c
be39b5d60c0dc9894f744fda160176a77d5984be
/AmI-Labs/lab_6/tasksapi.py
8cf37a32bdf817c9726a828c78e9c584e5c104f5
[ "MIT" ]
permissive
AndreaCossio/PoliTo-Projects
2f67e7f8026a074428cf6547105292fc93934fc6
f89c8ce1e04d54e38a1309a01c7e3a9aa67d5a81
refs/heads/master
2023-01-04T23:35:24.092142
2020-11-02T11:10:02
2020-11-02T11:10:02
309,335,038
0
1
null
null
null
null
UTF-8
Python
false
false
1,537
py
import sqlite3 db = sqlite3.connect("tasks.db", check_same_thread=False) c = db.cursor() def close_db(): db.commit() db.close() def get_tasks(): query = "SELECT * FROM tasks" tasks = [] for task in c.execute(query).fetchall(): if task[2] == 1: tasks.append({"id": task[0], "t...
[ "andreacossio96@outlook.com" ]
andreacossio96@outlook.com
2dc222f0164479f150b85facb7f6757a9d7c5326
672c362b67de08e8aec1ada245aaf5482eca3134
/naoko/eliza.py
d20e29a5726842570248216982c8844013e0c3bc
[ "BSD-2-Clause" ]
permissive
karloor/kbot
518a68b652032d9e7f93fa1863b66bc5b6ab52f0
0502d1f2fd3450ac503d2d8fa27b2eacecc0434e
refs/heads/master
2021-01-23T03:44:19.387311
2014-07-05T02:33:54
2014-07-05T02:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,018
py
#---------------------------------------------------------------------- # eliza.py # # a cheezy little Eliza knock-off by Joe Strout <joe@strout.net> # with some updates by Jeff Epler <jepler@inetnebr.com> # hacked into a module and updated by Jez Higgins <jez@jezuk.co.uk> # last revised: 28 February 2005 #-------...
[ "karloor@xxxxx.xxx" ]
karloor@xxxxx.xxx
af730a03c3d04a9023386f8472a538484d80d340
719436bdc77b1b4065eb060a0bb700da51d4217a
/blogBackend/wsgi.py
2c0016574a8ede8ad2a0b58f1c05d55fb09e7614
[]
no_license
nazmulshuvo03/blog-backend
44da913f9bed25c5a40ce74ac5f19b96ca3f4c25
4f091ffd134fe22f552ccc40befdac64e6632bc7
refs/heads/master
2023-05-31T07:22:57.341219
2021-07-12T14:34:11
2021-07-12T14:34:11
376,314,960
1
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for blogBackend 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "nazmulshuvo03@gmail.com" ]
nazmulshuvo03@gmail.com
2d15627e704d240070ba3cf7a030495f69a8e62c
fd4fde28029ea68e1d5971b0c3c907aabd949545
/day09/day9.py
199eefc71ab071a2faaa610bcaac6dcb053b2375
[]
no_license
kdeholton/AdventOfCode2020
1d2635d1e05af0f6926067302e01d4535ce8fa8f
b657da51509cb6bcc5d6729fdffdb99eab3fcf91
refs/heads/master
2023-02-02T07:48:18.501487
2020-12-21T05:08:14
2020-12-21T05:08:14
317,914,325
1
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
#!/usr/bin/python3 import sys preamble_len = 25 preamble = [] sums = [] f = open("input", 'r') def valid_and_insert(num): def update_sums(preamble, sums, num): sum_list = [] for n in preamble: if n != num: sum_list.append(n + num) sums.append(sum_list) if(len(preamble) < preamble_len):...
[ "kdeholton@fitbit.com" ]
kdeholton@fitbit.com
69aef046542e64ea755986262147f1d5d88220c7
7e85bc4df823c9edd1ed4092bfb7723fc67eb435
/routers/process.py
c65270c8b4fb495b42697b055beb4a71b7f860cc
[]
no_license
rsharma093/messaging-queue
66d4a243fd1c39ab0d6410a4d6ce9f7c995bec7f
98592548c9042ef91c1448c996b9f58185b8dfaf
refs/heads/master
2023-02-23T19:23:11.315801
2021-01-28T16:32:49
2021-01-28T16:32:49
333,814,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
from typing import List from fastapi import APIRouter, Depends from fastapi.encoders import jsonable_encoder from sqlalchemy.orm import Session import deps from models import Process from schemas.process_schema import ProcessListModel, ProcessCreateModel router = APIRouter() @router.post("/add", response_model=Pro...
[ "rahul@codejudge.io" ]
rahul@codejudge.io
2eb104628e66eb7cc49c7062da1df470a397002f
e1bc86d23f41ac00bde29028985452a61c617a83
/orders/migrations/0010_auto_20200615_2010.py
265d787f4ae2fe6b33a9675fdc9a6db69f74a5f4
[]
no_license
parthjpatelx/project3
e7b58e50b1bc96414e238ef05f6717adb7b995c3
5629046ace2127cdf28aae318d7dc0de6432c388
refs/heads/master
2023-05-14T14:20:08.286912
2020-06-20T19:56:51
2020-06-20T19:56:51
272,101,787
0
0
null
2021-06-10T23:03:11
2020-06-13T23:29:47
Python
UTF-8
Python
false
false
549
py
# Generated by Django 3.0.7 on 2020-06-16 00:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0009_auto_20200615_2002'), ] operations = [ migrations.RenameField( model_name='pastaprotein', ...
[ "noreply@github.com" ]
parthjpatelx.noreply@github.com
f1d0bcb291d750ce2a690c507ebed0be84b835b6
a2a492fd3468de5c37d325f1fadc182dcd0f543f
/_sgdict.py
0e23477f643504f5b5c84bb391f74435c63a20d5
[]
no_license
MJmeow/sgd_dict
c7cfc25e43f60d82fb5df1004fa657a24de9bfb9
8b9d0a131530b97c2fdaa6815c76a5c033f55d7c
refs/heads/master
2021-01-13T15:46:37.691269
2016-12-19T16:27:16
2016-12-19T16:27:16
76,878,089
0
1
null
null
null
null
UTF-8
Python
false
false
1,865
py
import re def _sgdict( fastafile ): '''Reads a Saccharomyces Genome Database (SGD) fasta file and enables protein summary information access by trivial or systematic name :param fastafile: file path of fasta file. :returns: A dictionary with a protein's trivial and systematic name (upperc...
[ "noreply@github.com" ]
MJmeow.noreply@github.com
7686e9b6182e3cd24ef283df6a70af4c76228013
3f857f0b66a3416687e7ef62035e262d6dd2d398
/positiveornegative.py
9d9a4281433389809db941140ba9ead5cbc1656a
[]
no_license
joysreb/python
81d5fc08b1f3c36d481022f5f50d5b6f73807871
1c21103419c7af9dd2a4bf8182ef1f9770fa9055
refs/heads/master
2020-06-28T09:25:02.332493
2019-08-11T15:05:11
2019-08-11T15:05:11
200,198,178
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
n=int(input("enter the number:")) if n>0: print("the number is positive") elif n<0: print("the number is negative") else: print("it is zero")
[ "noreply@github.com" ]
joysreb.noreply@github.com
e0be6b0c18a5aab2bb7e68c6c7b1817089aeb648
d5d9bfd07c83d2ec7c63a2e11605303727aa8c69
/term2/lab7_algo/greedyPermutations/prF.py
444a7eb56857cb695b79e60d1e4819bbdf4f857d
[]
no_license
VEK239/algo-labs
cce6f32430c71741614081412b39fffa73892f47
d2e01b52921f86f881ada60b2210d105da3efcf9
refs/heads/master
2022-03-05T01:33:05.624824
2019-12-02T09:16:45
2019-12-02T09:16:45
225,333,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
def compZero(obj): return obj[0] def compOne(obj): return obj[1] def msort(lst): if len(lst) == 1: return lst; middle = len(lst) // 2 left = lst[:middle] right = lst[middle:] return mergesort(msort(left), msort(right)) def mergesort(left, right): i = 0 j = 0 result = []...
[ "vlasova.elizaveta@yandex.ru" ]
vlasova.elizaveta@yandex.ru
b5848d7cd0cd43e8b1544e3bb1eb4b6bc0529c84
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/test/test_com_day_cq_wcm_workflow_impl_workflow_package_info_provider_properties.py
8a3b1b6347423914590e0f49419cceb2580af28a
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
1,389
py
# coding: utf-8 """ Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-...
[ "michael.bloch@shinesolutions.com" ]
michael.bloch@shinesolutions.com
f47bfa385c4f0ab86dc4a71cb03429da9c5b9a1a
aa4b0fb980980aeca39c97152f36eb81ba110744
/ommelette new.py
c5051867438ba8a8c64cf4c6f75667df021ce1ee
[]
no_license
geekdudeAndrew/Python-Crash-Course
bcab7ffbf90cd772009b24f738e277720ab6aadb
088d226ab227a250181208b417801b660008d234
refs/heads/master
2020-05-16T14:29:58.624057
2019-12-29T20:30:31
2019-12-29T20:30:31
183,104,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
#updated Ommlettte # Updated "pg53-63 ch4 Lists ommelette" with a while loop and user input # pretends to be a commandline game where you feed your neopet. # it has a funny ending. food = ['plain ommelette','pepperoni ommelette', 'green pepper ommelette', 'pepperoni and sausage ommelette', 'orange jelly', 'lime jel...
[ "andrew@andrewparker.info" ]
andrew@andrewparker.info
ec2055783557c9068cc9499ae3f3374aefc94887
9cb21560a6fbedfcdbef26a6f7e28996bc219039
/float.py
ea34d895a9be14ced71de2bfd6851febbbb4d8c6
[ "Apache-2.0" ]
permissive
BitJetKit/learnPython
d417a7ef44bbded5f14df941f13dc964c870d80b
85093c68362852db4413fe079e32445776ad1a52
refs/heads/main
2023-04-02T11:16:15.588109
2021-04-09T06:05:57
2021-04-09T06:05:57
356,151,915
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
#float.py myfloat = 7.0 myfloat2 = 12.0 print(myfloat) print(myfloat2) myfloat = float(7) myfloat2 = float(12) print(myfloat) print(myfloat2)
[ "bitjetkit@gmail.com" ]
bitjetkit@gmail.com
f0a003d48d72094a494ef14e9919942c4c17ddf0
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/web/v20181101/list_web_app_site_push_settings.py
3fa3fe5ae5021d06c3748141d5039e0329e5c328
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
5,742
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
5f99c96f2004b72d78869fdf309d40eddab71b1f
e61ee083ed6e6a9ae9e088170fd3cc9d13343fd7
/ScrapyRedis/ScrapyRedis/pipelines.py
a727a1bc11424a791b5f96c0600bdc0030fbf0c7
[]
no_license
AaronChiu2017/ScrapyRedis-1
8befb9ad142c6a7a699d61614ba2bff64f6b6f87
de831e1df90d0fe0924737c79dd62375659fe15d
refs/heads/master
2020-11-26T20:11:38.136686
2019-09-04T07:05:47
2019-09-04T07:05:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import pymysql from twisted.enterprise import adbapi class ScrapyredisPipeline(object): def process_item(self, item, spi...
[ "griy26@163.com" ]
griy26@163.com
c5d45db9cdc37579b30539bc87d2cc9e11d67243
c2bb58282fbde971624cfc84291dff6ae5422ad6
/utilities.py
ca3e829fcc39e2bb14ca55c8d9b9ebc03f58f53a
[]
no_license
Adelax92/cv-aimbot
74d5937f1f88dc532d3b27ab5735ce7f05e97b96
fc0066f98ce62ef39693314cac86f44a347007bf
refs/heads/main
2023-08-24T02:15:05.331566
2021-10-15T04:44:56
2021-10-15T04:44:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
import cv2 import numpy as np from time import time, sleep from gamecapture import GameCapture from detection import Detection from vision import Vision class Utilities: def __init__(self): pass @staticmethod def check_fps(input_video): cap = cv2.VideoCapture(input_video) p...
[ "ryan.sawchuk@dal.ca" ]
ryan.sawchuk@dal.ca
1738b28f3edae3209d50abf2e6c2d40c29b92839
5e553a5ad555ed6bf364373196a1c46b60b5f530
/src/aggregate_stats.py
1c8a5426504dfa708b27d844a0c920dbc0a1ee5a
[ "MIT" ]
permissive
satyakisikdar/infinity-mirror
8a7a0079648c523cf670f836a351b0317c15a870
555bcc7f4c481001991d53f3b90b03c1201a5c40
refs/heads/master
2022-12-08T20:05:56.242257
2022-06-22T16:45:44
2022-06-22T16:45:44
222,779,125
5
1
MIT
2022-12-08T04:32:00
2019-11-19T20:02:32
GAP
UTF-8
Python
false
false
8,600
py
import os import numpy as np import pandas as pd from scipy.stats import entropy from scipy.spatial import distance import src.graph_comparison def compute_mono_stat(dataset, model, stat, agg): def _convert(agg): for trial in agg.keys(): for gen in agg[trial].keys(): agg[trial]...
[ "39937561+daniel-gonzalez-cedre@users.noreply.github.com" ]
39937561+daniel-gonzalez-cedre@users.noreply.github.com
5e070108afc7564e576cd0dfce999c5efde2f3a0
250dc34001c9234317ca82a321c0cb6355cc736e
/tracker.py
4ec4c46d055565102bd90db16a4997825ef7e83a
[]
no_license
ashutoshdhanda/opencvtracker
26fceb6dbc3d9831c581325bdae8b57c217e7626
54df1e1e4fdd2e50bb38ade32a9db498fb68cf25
refs/heads/master
2023-08-03T20:46:48.225237
2021-09-27T01:39:01
2021-09-27T01:39:01
410,374,806
0
0
null
null
null
null
UTF-8
Python
false
false
4,018
py
# python 3.9.7 # opencv 4.5.3 # opencv-contrib-python 4.5.3 # Color blue for nuerona boxes # Color green for tracker boxes # import the necessary packages from imutils.video import VideoStream import argparse import imutils import time import cv2 import pickle import sys # construct the argument parser and parse the...
[ "ashutosh@lythium.cl" ]
ashutosh@lythium.cl
b45e77fc38bd932f6b2ae9fc4c775a799688c0a3
9977239c7c1ed548003f164826acbf85cf6e3595
/tables.py
e43ef616376b01854f22381147764b00c0f25098
[]
no_license
MatteoDome/Marching-Cubes
14d7714e7ad59cd8fcdfbfc1676ca0be0dc02fd0
8bdc9ed3e640bc3d94ab4faba1cd65e800b98c8c
refs/heads/master
2021-06-06T05:38:34.156974
2016-09-15T09:28:56
2016-09-15T09:28:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,664
py
edgeTable[256]={ 0x0 , 0x109, 0x203, 0x30a, 0x406, 0x50f, 0x605, 0x70c, 0x80c, 0x905, 0xa0f, 0xb06, 0xc0a, 0xd03, 0xe09, 0xf00, 0x190, 0x99 , 0x393, 0x29a, 0x596, 0x49f, 0x795, 0x69c, 0x99c, 0x895, 0xb9f, 0xa96, 0xd9a, 0xc93, 0xf99, 0xe90, 0x230, 0x339, 0x33 , 0x13a, 0x636, 0x73f, 0x435, 0x53c, 0xa3c, 0xb35, 0x83f, 0x...
[ "mdomenighini@gmail.com" ]
mdomenighini@gmail.com
0605b5b2bfb94b96a725b13cc7d09f818e02c4cc
47a667b92487986135d199d80eab0211127fd0cc
/car_recognition/car_sql/car_spot.py
0db9406c14edb954751e7c3f08fbc549e784cafa
[ "Apache-2.0" ]
permissive
hxf-v/car-management
d6867451380c649e817c52fdd3a069e3c1f54b33
d83af28073a0dde0d81660e9cba588e1a920c9ad
refs/heads/master
2022-12-05T10:07:03.636057
2020-08-27T08:31:20
2020-08-27T08:31:20
290,709,176
0
0
Apache-2.0
2020-08-27T08:32:01
2020-08-27T07:36:50
Java
UTF-8
Python
false
false
1,630
py
import sys import cv2 import numpy as np import HyperLPRLite as pr # from PIL import Image # from PIL import ImageDraw from PIL import ImageFont from datetime import datetime from pandas import DataFrame import imp imp.reload(sys) fontC = ImageFont.truetype("Font/platech.ttf", 14, 0) ''' # ไปŽๆœฌๅœฐ่ฏปๅ–ๅ›พ็‰‡ๅนถๅš่ฏ†ๅˆซ๏ผŒ่ฟ”ๅ›žๆ‰€ๆœ‰่ฏ†ๅˆซๅˆฐ่ฝฆ็‰Œ็š„ใ€่ฟ”...
[ "1414451346@qq.com" ]
1414451346@qq.com
3fed4f51dba1623c41f303d5f0bf90b15dd73ddf
3221296be066406bdceb530a486b5753825d3ac1
/dorMat.py
484be8e6a1ad9fd94e264f69e96e23d30844d7fe
[]
no_license
guptaShantanu/Python-Programs
c6bd397215743f40eb885c645e0331e6f9e764ed
b1e01b86a2a53f8c7195660367f667a84493d56e
refs/heads/master
2022-11-16T22:42:06.133930
2020-07-14T03:22:34
2020-07-14T03:22:34
271,881,341
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
n,w=input().split() n=int(n) w=int(w) j=1 for i in range(1,int(((n-1)/2))+1): print((".|."*j).center(w,"-")) j+=2 print('WELCOME'.center(w,'-')) j-=2 for i in range(1,int(((n-1)/2))+1): print((".|."*j).center(w,"-")) j-=2
[ "officialshantanugupta08@gmail.com" ]
officialshantanugupta08@gmail.com
8777d2c310b1aa4d0ca9ea406d7f2be3a476339e
793cc5d048c2830a285d197037cab5f8f157065c
/train.py
a0a886d99ffc5d3ce6f78b304cffac257bec4e61
[]
no_license
profects/codebythesea-tensorflow
8a7ccf60b1ad578af78a7bbac462708e6fd3dc1a
35555e1a12cf6bfe17608871d9da346317712d8d
refs/heads/master
2020-03-07T13:59:24.930787
2018-04-24T11:01:38
2018-04-24T11:01:38
127,515,749
2
2
null
2018-04-24T11:01:39
2018-03-31T08:53:09
Python
UTF-8
Python
false
false
7,914
py
from datetime import datetime import tensorflow as tf import dataset # # Initialize variables # batch_size = 32 # Prepare input data classes = ['hotdog', 'not-hotdog'] num_classes = len(classes) # 20% of the data will automatically be used for validation validation_size = 0.3 img_size = 128 num_channels = 3 train...
[ "kees.meliefste@yoursurprise.com" ]
kees.meliefste@yoursurprise.com
f9661a847e427ab18ad2344d279823200eb50f26
2626f6e6803c8c4341d01f57228a0fe117e3680b
/students/BrandonHenson/Lesson02/generators.py
8db9a884d80435aa3a12223bbb00ef5711c8c4c3
[]
no_license
kmsnyde/SP_Online_Course2_2018
9e59362da253cdec558e1c2f39221c174d6216f3
7fe8635b47d4792a8575e589797260ad0a2b027e
refs/heads/master
2020-03-19T17:15:03.945523
2018-09-05T22:28:55
2018-09-05T22:28:55
136,750,231
0
0
null
2018-06-09T19:01:52
2018-06-09T19:01:51
null
UTF-8
Python
false
false
441
py
# Brandon Henson # Python 220 # Lesson 2 # 6-29-18 # !/usr/bin/env python3 import pandas as pd from operator import itemgetter music = pd.read_csv("featuresdf.csv") def music_generator(a): for i in a: yield i selection = (x for x in zip(music.name, music.artists, music.danceability, ...
[ "kmsnyder2@verizon.net" ]
kmsnyder2@verizon.net
6a56db3d8803a59882843bacb14f932b62239eba
ea17d14813ab70dd3fb3f766a39a122b7a61967c
/udp_time_server.py
37346b5a5160f719bc20ae6e09a3a55620606a29
[]
no_license
mucollabo/IntroducingPython
8e03545e8285ca76fa8b7006dec87d8247cd7214
7fe763187b83d951a8bdec6add8ebc2924586baf
refs/heads/master
2023-02-26T13:15:53.531109
2021-02-03T14:17:23
2021-02-03T14:17:23
288,616,614
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
from datetime import datetime import socket address = ('localhost', 6789) max_size = 4096 print('Starting the server at', datetime.now()) print('Waiting for a client to call.') server = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) server.bind(address) while True: data, client_addr = server.recvfrom(max_size) ...
[ "mucollabo@gmail.com" ]
mucollabo@gmail.com
c703e4a0aaced87b0a9cd9da5c6c62b6471e0fae
234f3eb000da9f244380b35c45a1a94905df1deb
/blog/models.py
830a8f1211f2f85c877f0d35b9b0e9174e17b86c
[]
no_license
awakeharu/p_rogramming-5th
05d252cf2209160a65f02f632c2dbb38ab7d5d45
f6034771dae0654f912a913486c1ec98ecbc997e
refs/heads/master
2021-01-20T20:09:20.415253
2016-07-12T07:42:10
2016-07-12T07:42:10
63,129,872
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
from django.db import models import re from django.db import models from django.forms import ValidationError from django.utils import timezone def lenlat_validator(lanlat): if not re.match(r'^(\d+\.?\d*),(\d+\.?\d*)$',lanlat ): raise froms.ValidationError('Invalid LngLat Type') class Post(models.Model):...
[ "haru_o@naver.com" ]
haru_o@naver.com
d5de92fa3845274053a191c69b2c273112816be7
4d1d3b37d6c1a08dff8343cf19fa95bb36f3942e
/ะฃั‡ะตะฑะฐ/Sechin/ะฃั‡ะตะฑะฐ/ะ’ะšะ  4 ะบัƒั€ั/minimal-generator-master/MinGen/min_gen.py
ece392c5b17a8c8eeb6da99a006ce42769309a02
[]
no_license
Mikel4u4u/minimal-generator-master
e2ec80a443ddb6ccf40d9f42bb18aa0e568d8878
fb7a389e507d7fdc25ddb310c05e042ade63d454
refs/heads/master
2023-06-04T23:41:58.230917
2021-07-01T13:58:54
2021-07-01T13:58:54
382,050,128
0
0
null
null
null
null
UTF-8
Python
false
false
8,891
py
from openpyxl.styles import Color, PatternFill, Font, Border from MinGen.dataclasses import PromRow import openpyxl class MinGen: def __init__(self, signs_count, objects_count, data): self.signs_count = signs_count self.objects_count = objects_count self.data = self._form_data(data) ...
[ "mikle22qwaszx@mail.ru" ]
mikle22qwaszx@mail.ru
bd0de741af6c7ac0bc0a67b0fcaae54bac565a5b
d858be58a35bc3322a5dec5cb8dd3bae8747e238
/securitybot/secretsmgmt/secretsmgmt.py
c640f4806ae3f393770285656c8b8088406fefbd
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
gyrospectre/securitybot
149d67747496ed5d1b59054ea52a396e39d94f18
90db2ae532667c48ca080108b895c2e1fe16b1e8
refs/heads/master
2022-10-09T16:36:21.780554
2020-06-14T03:04:44
2020-06-14T03:04:44
267,812,032
3
1
Apache-2.0
2020-06-14T03:04:46
2020-05-29T08:56:26
Python
UTF-8
Python
false
false
736
py
''' A wrapper over an abstract secrets management system. ''' __author__ = 'Bill Mahony' from abc import ABCMeta, abstractmethod class BaseSecretsClient(object, metaclass=ABCMeta): ''' A wrapper over various secrets management frameworks, like Vault. ''' @abstractmethod def __init__(self, reauth...
[ "noreply@github.com" ]
gyrospectre.noreply@github.com
03ff35a6aa111d03dd40e338b9c8d5ff469fbf96
0ae8ba26a59179ec39176522d6b5320738bf6623
/OCRModel.py
5a76eace54bbee7102d9625d8799f67c804d30ba
[]
no_license
prerna-agarwal/OpticalWordRecognition
1d530663c19ca68ca670a32542dd9fb536be6ec2
31e41b8627f3ce397c426ebdb4cf4411de035965
refs/heads/master
2021-01-11T23:42:02.404000
2017-01-11T09:40:05
2017-01-11T09:40:05
78,624,227
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
import itertools import math count1=0 total=0 count2=0 characters=['d','o','i','r','a','h','t','n','s','e'] with open("C:\Users\Adarsh Agarwal\Downloads\hw2\ocr.dat", "r") as f: lines=f.readlines() with open("C:\Users\Adarsh Agarwal\Downloads\hw2\data.dat", "r") as f,open("C:\Users\Adarsh Agarwal\Downloads\hw2...
[ "noreply@github.com" ]
prerna-agarwal.noreply@github.com
4b6f497444a623bf6a45124d81cc92f91b1ad2d2
ca6b0f5ac984e757daf5242f8faf0f83d2cc06bc
/apps/member/migrations/0001_initial.py
9e8aa1602d038606ab25adcbb7640808f0837970
[]
no_license
oppongntiamoah/Church-Database
04a7a6b3d827fc07b7556fde75bab052454d5131
0f63dd2e31449e19da43298142a26e77ded91826
refs/heads/master
2023-02-02T14:54:42.372388
2020-12-23T13:02:47
2020-12-23T13:02:47
320,276,131
0
0
null
null
null
null
UTF-8
Python
false
false
5,270
py
# Generated by Django 3.1.3 on 2020-11-30 11:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import phonenumber_field.modelfields class Migration(migrations.Migration): initial = True dependencies = [ ('event', '0001_initial'), m...
[ "ladamob47@gmail.com" ]
ladamob47@gmail.com
2174a6e8d34fb1c4121f2546de5d41cbf9c61272
8a365e31119ab89064c604bcc550af2de757f56f
/src/Mona_WebApp/thisEnv/bin/pip-3.6
52cd672db9d6bb8ceabb74001d2db1de507acae9
[]
no_license
shananlynch/2020-ca400-lynchs43-afanaa2
b5a17be1752ef1ee8a47b72dc4f46ef624ea8a8e
ccb469cc971e9bdeb8c53b29decb8db9c485a7ef
refs/heads/master
2023-04-08T07:07:57.782427
2020-05-19T01:08:12
2020-05-19T01:08:12
355,993,738
0
0
null
null
null
null
UTF-8
Python
false
false
277
6
#!/home/ubuntu/2020-ca400-template-repo/src/Mona_WebApp/thisEnv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ubuntu@ip-172-31-16-165.eu-west-1.compute.internal" ]
ubuntu@ip-172-31-16-165.eu-west-1.compute.internal
d13ad55dcb3b69e5e9bca92f2da2199d7526b165
60e83ab32df87f0461db87a2e304d2dab389de9d
/tests/test_util.py
19a9a84af987e4670a932d0e491cfac9629ef705
[ "MIT" ]
permissive
jarrah42/original-nbgrader
2671cce9959727aa3fea43b0656a80fa1653dfdf
bef9c9249be0b67e3f940086e6ee58d6f8bb5a3e
refs/heads/master
2021-01-24T05:05:53.435593
2014-09-26T19:55:55
2014-09-26T19:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
from IPython.nbformat.current import NotebookNode from nbgrader import util def test_get_assignment_cell_type_default(): """Is the cell type '-' when the assignment metadata is missing?""" cell = NotebookNode() cell.metadata = {} cell_type = util.get_assignment_cell_type(cell) assert cell_type == ...
[ "jhamrick@berkeley.edu" ]
jhamrick@berkeley.edu
c11d111424c3043c44dddf567cad80556971299a
cde8c0355321e804aa8fa78d6e97c2c94b5781b2
/Aula34/view/web.py
754859242c81c906ff2ec25d81358ac77308be7f
[ "MIT" ]
permissive
marcelabbc07/TrabalhosPython
22677c6a37b8145a282ea2b15428356c3a20e568
91734d13110e4dee12a532dfd7091e36394a6449
refs/heads/master
2020-09-05T21:27:30.761501
2020-01-29T13:16:20
2020-01-29T13:16:20
220,218,836
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from flask import Flask, render_template import sys sys.path.append('C:/Users/900146/Documents/git/TrabalhosPython/Aula34') from controller.pessoa_controller import PessoaController app = Flask(__name__) pessoa_controller = PessoaController() nome = 'Cadastros' @app.route('/') def inicio(): return render_template...
[ "marcelabbc07@gmail.com" ]
marcelabbc07@gmail.com
ef4547d5d06ac0bb96d7e7870395956660231be5
99d48c033581cd3b38ce1f5dab136dd7dd3de3a9
/models/logistic_model.py
e3342ca6bac35a14eba881df22ea66c7437db094
[]
no_license
samfway/university_network
eb7846b096624f0129620bce258da6edaede62a5
9d7c07d79a425adb8a3536e012ede6adb72a4b67
refs/heads/master
2019-01-02T08:36:05.620066
2015-08-22T22:00:29
2015-08-22T22:00:29
25,659,619
0
0
null
null
null
null
UTF-8
Python
false
false
5,302
py
#!/usr/bin/env python __author__ = "Sam Way" __copyright__ = "Copyright 2014, The Clauset Lab" __license__ = "BSD" __maintainer__ = "Sam Way" __email__ = "samfway@gmail.com" __status__ = "Development" from numpy import array, exp, mean, delete, inf, dot from numpy.random import randn, choice from university_network....
[ "samfway@gmail.com" ]
samfway@gmail.com
755dd8feef89359c3506135487f3c7b52132ff87
b887da155f41432b36d6c9513706eac6ffc1370e
/usep_app/urls_app.py
250459185e03f633be7e2a9570e7af9034635158
[ "MIT" ]
permissive
zaaakk/usepweb_project
ab99f7e318a3d4817863c6cedfb207e38aa22dbc
8da6db9e47f51bb46c7b6a9524359d356d7362fc
refs/heads/master
2020-07-16T04:56:49.967741
2018-07-09T17:09:43
2018-07-09T17:09:43
73,951,564
0
0
null
2016-11-16T19:03:25
2016-11-16T19:03:24
null
UTF-8
Python
false
false
1,365
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf.urls import patterns, include, url from django.views.generic import RedirectView urlpatterns = patterns('', url( r'^info/$', 'usep_app.views.hi', name='info_url' ), url( r'^collections/$', 'usep_app.views.collections', name...
[ "birkin.diana@gmail.com" ]
birkin.diana@gmail.com
b0faa2fc8be42222635917ab9d3e82138a8f88ae
f63fabc9645df3228bac5b28c375fe1a4b8e15a6
/v3.3/result.py
e9a7fedc5261f1bf24350e196aa630fc993e9f9b
[]
no_license
James992927108/6.GWGHA_SUMO
23e7813470a1e078837b1385b061a7f4acf60331
201541d54154d17e631551ec48af8c629d2fa29f
refs/heads/master
2022-03-05T16:12:49.070776
2019-11-10T14:36:10
2019-11-10T14:36:10
219,684,518
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
import numpy as np class result(): def __init__(self,position,SimulateResult_List): self.position = position self.SimulateResult_List = SimulateResult_List self.evaluation_list = np.asarray([x[0] for x in SimulateResult_List]) self.convergence_list = self.get_convergence_list...
[ "james992927108@gmail.com" ]
james992927108@gmail.com
34a71f68d7888f745816aa393a1328f5df369da3
490850f712195ae62358a7f935eff300a46b01ad
/Rabbitmq-Python-Examples/route_send.py
e3ca417dde6c354ca61d9634a3500fa5a5e7bba5
[]
no_license
rangershs/Miscellaneous
95ef0749b1ec8a85253eea7f7fccec48fd6ac553
0e899950a83aaf6b5d26acd93346ccbae928d46f
refs/heads/master
2021-01-01T20:01:53.296640
2020-03-24T01:45:37
2020-03-24T01:45:37
98,741,319
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
#!/usr/bin/python3 import pika import sys import time if __name__ == '__main__': connection = pika.BlockingConnection( pika.ConnectionParameters(host='172.81.240.3')) channel = connection.channel() channel.exchange_declare(exchange='direct_logs', exchange_type='direct') # severity = sys.argv[1] if len(sys...
[ "rangershs@163.dom" ]
rangershs@163.dom
dce01d28d3c97e0e4973377788da9b3805018cb2
bb81c12c2d391a8d18073d8fef055a9893655e60
/boxspring/error_ode.py
42bb97e6c1202b11a84d19eaab273c291f12c265
[]
no_license
georgkuenze/ScientificComputingPython
77dc06a55e2daecb64c6d6a37d1235661993bbed
89b475578753660d48d868e37fa063076a176c1d
refs/heads/master
2021-01-10T11:19:55.508164
2016-02-03T23:48:12
2016-02-03T23:48:12
51,037,498
0
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 09 15:42:24 2015 @author: Georg """ from ode_project import init_prms, solve import numpy as np import matplotlib.pyplot as plt import glob, os for filename in glob.glob('tmp_errors*.pdf'): os.remove(filename) def exact_S_solution(t): return g*(1 - np.cos(t)) ...
[ "georg.kuenze@vanderbilt.edu" ]
georg.kuenze@vanderbilt.edu
8938685a63e79ce0d432f78ba32c0ba2b83b0e2a
0ac279a95162b777c7dccddb29c7b237b791e884
/LDA.py
f7bb0a2e01ff0ee584fe2527134be2ff32c8f384
[]
no_license
piraog/PatternRecognition-mnist
0702f89827352b8e0b491235082426be1b1d5c01
71351259ccc60708903fceb8082573e9891982af
refs/heads/master
2020-04-01T00:24:07.805577
2018-10-16T08:01:06
2018-10-16T08:01:06
152,695,008
0
0
null
null
null
null
UTF-8
Python
false
false
6,385
py
import os import numpy as np import matplotlib.pyplot as plt from scipy import linalg as la from mnist import * from collections import Counter from mpl_toolkits.mplot3d import axes3d, Axes3D from sklearn import neighbors def LDA(data, target, dims_rescaled_data=2): '''main LDA function given the ...
[ "marc@belicards.com" ]
marc@belicards.com
9315aa48f18e5eddb37b3a5db1a1286ae868d27d
f3fe8c80c185e02381983a4b18da40164fb72667
/simplecrm/opportunities/views.py
37ef4cb6812dff65a80e9e17be051d94c5dac082
[]
no_license
Sasikumar-P/djangorestheroku
8181ba5dfc7bdfad725d3ba350b31e091de4a668
8ccc5d9cbfbd5a6f0c237765b33492f56e8b2e05
refs/heads/master
2020-04-04T19:37:00.476232
2018-11-05T12:56:42
2018-11-05T12:56:42
156,213,282
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
from django.shortcuts import render # Create your views here. from django.shortcuts import render from rest_framework import generics from opportunities.models import Opportunity from opportunities.serializers import OpportunitySerializer from rest_framework.permissions import IsAdminUser # Create your views here. cl...
[ "sasi.p@vvdntech.in" ]
sasi.p@vvdntech.in
d07f9a6fbf9e7d93bf459013eb9a11b848f329b0
e888ccffbfe27138ea72f208ef6ff1d50b0e422a
/main.py
7b306ed73de8f802a13fa0033b5167ead0ebec5b
[ "MIT" ]
permissive
jmadler/nyc-tax-calc
2178fc2715745afa047902348781b969a4fb64f9
441c43e2e565d500ec09f43923bc4a630d28695c
refs/heads/master
2020-06-26T08:53:38.524750
2014-10-26T23:35:51
2014-10-26T23:35:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
#!/usr/bin/env python from bottle import Bottle, template, request from nyctax import tax_calc bottle = Bottle() def valid_home(value): permitted = ['NYC'] if value in permitted: return value else: raise Exception def valid_int(value): if value.isdigit and int(value) >= 0: ret...
[ "jmadler@cpan.org" ]
jmadler@cpan.org
eb29a4e6940e43aac67baf09cbe9749c0f72f8f1
713f9168a7ba68740bb9b4ea6994e853a56d2d5c
/python/2019-10-07/db_basics.py
0bf35c97021e29f1cebce9edef2ccf07b0710d8a
[]
no_license
marko-knoebl/courses-code
ba7723c9a61861b037422670b98276fed41060e2
faeaa31c9a156a02e4e9169bc16f229cdaee085d
refs/heads/master
2022-12-29T02:13:12.653745
2022-12-16T09:21:18
2022-12-16T09:21:18
142,756,698
16
10
null
2022-03-08T22:30:11
2018-07-29T11:51:04
Jupyter Notebook
UTF-8
Python
false
false
1,822
py
import sqlite3 from datetime import date connection = sqlite3.connect("contacts.db", detect_types=sqlite3.PARSE_DECLTYPES) def init(): """Initialize the database with a table 'person'. """ cursor = connection.cursor() cursor.execute( """ CREATE TABLE person( first_name VAR...
[ "abcd" ]
abcd
d502a5ad0307e641bad478a02d9af45a158e4fb6
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/ICalGLib/ValueKind.py
7bcd2a1e582e56503f56aedc2855de1c81281c9f
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
18,912
py
# encoding: utf-8 # module gi.repository.ICalGLib # from /usr/lib64/girepository-1.0/ICalGLib-3.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes o...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
b8054be459e952b2edf1f0f544dbd1d044dbcb65
fe149015eb41aa71bd0614ee06ab40c02ebffa00
/items/api.py
10cb271f1504ba19936cb25074b94325def91aae
[]
no_license
harvard-lil/interestingness
3d02657aa87b2ae097e4d9f25d547536c9fd32e8
5d9f6a18c758565e50f73c52eb3c957bd6e0fbcf
refs/heads/master
2021-01-10T11:33:04.504836
2016-03-04T20:42:42
2016-03-04T20:42:42
52,763,361
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
from items.models import Item from django.conf import settings from django.conf.urls import url from tastypie.utils import trailing_slash from tastypie.resources import ModelResource class ItemResource(ModelResource): """ The API for our Item model. The search piece is likely the thing that's of most int...
[ "mphillips@law.harvard.edu" ]
mphillips@law.harvard.edu
6e97e55ec3ce1bc0173b52c43fcc960ee3ae1ccc
a59566aa698e02550cc6ce1d3df57a70c20354ab
/service/serializers.py
7fbc6ad5809592109853822db34105525f22790c
[]
no_license
GregoryBuligin/handyman
ad8c3bcf4c41eecb79573fea79b1338b12e985e8
059d4f5c4122d7cbd132668fbe7ff1f231aff00b
refs/heads/master
2021-01-01T05:11:13.338584
2016-05-17T12:34:05
2016-05-17T12:34:05
59,012,451
1
0
null
null
null
null
UTF-8
Python
false
false
437
py
# -*- coding: utf-8 -*- from rest_framework import serializers from .models import Service from category.serializers import CategoryHyperlinkedSerializer class ServiceListSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Service fields = ('id', 'url', 'title', 'capture', 'ca...
[ "gri9996@yandex.ru" ]
gri9996@yandex.ru
86642e7bedd7da193a75b8f06e6c7278010b12bd
e90f92f25136e27ae454592d459c4e1c19f92eea
/import.py
584a8b14b664a23a6474c0fc6e9386776c1e9b8e
[ "MIT" ]
permissive
iskaira/rentcontrol
325e39402d810067f129ce9adec0d45a5c492c39
ad82e88143fb4f8ae2633a6fe774da19e1982fb9
refs/heads/master
2020-03-19T05:07:00.521905
2018-06-03T12:30:37
2018-06-03T12:30:37
135,901,978
0
1
null
null
null
null
UTF-8
Python
false
false
8,700
py
import telebot import constants import requests import pygsheets from datetime import datetime from pytz import timezone from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from manager_db import SQLight from os import system from time import sleep db=SQLight(constants.db) bot = telebot.TeleBot(co...
[ "noreply@github.com" ]
iskaira.noreply@github.com
c6c0e8ad14a0a5a6173144eba2f80efaf3a85609
30e9efdec9e02ed9704c675041770f16fb696f58
/welcome.py
6eee4b367e3ff3d8e81d8509558b2234d8542158
[]
no_license
aravindakumar79/code
036449339459191aa516e1f55760d2428ad3717a
b4649ce183f1439028976ec7b514a612e79d3331
refs/heads/master
2020-12-02T02:43:12.539789
2019-12-30T10:00:50
2019-12-30T10:00:50
230,861,714
1
0
null
2019-12-30T10:00:21
2019-12-30T06:34:28
Python
UTF-8
Python
false
false
49
py
Print("welcome to CTS Network") Print"Good Bye")
[ "noreply@github.com" ]
aravindakumar79.noreply@github.com
981d85c363447df54ec3ae8f37ef73be37c6a640
0e719bc0915f83d0fb96a252ab24af9159624a44
/CodeCamp/recursion2.py
da6c649c84377d7b9929b66fe580a5443e22c878
[]
no_license
skhadka007/learning_algos
09a0d89194fe610186e5af03a4683b971d1c7f2c
a9f7e432f5b6b5a2ccefb713e029c43be9421969
refs/heads/master
2023-09-02T03:11:27.855951
2021-10-04T14:11:34
2021-10-04T14:11:34
286,854,625
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
''' SANTOSH KHADKA We have defined a function named rangeOfNumbers with two parameters. The function should return an array of integers which begins with a number represented by the startNum parameter and ends with a number represented by the endNum parameter. The starting number will always be less than or equal ...
[ "skhadka.code@gmail.com" ]
skhadka.code@gmail.com
0721bcf2e20cbe3c18af3d24ec6b75554f54b095
9a5db7aca2afdbf124da0d3c80a57433bbcf011f
/funtool_scratch_processes/reporters/save_groups_to_file.py
003a17bd46d1d8e77aa0b0b0a808bb66ae2f7a33
[ "MIT" ]
permissive
pjanis/funtool-scratch-processes
8d6308c3ec2c66b8817f645822087c0259dd0d9b
2123962258d4b04a670e698bc0985582cc4dc622
refs/heads/master
2016-09-06T18:45:27.054130
2015-06-02T11:15:28
2015-06-02T11:15:28
27,767,640
0
2
null
null
null
null
UTF-8
Python
false
false
3,476
py
# This reporter will save all meta and measures for all states in a state_collection to a file # Reporter should include the following parameters # save_directory location of the save file # filename basename of the file # filetype file type which is added as an extension, either csv or tsv # overw...
[ "pjanisiewicz@gmail.com" ]
pjanisiewicz@gmail.com
14c58aed9e566dfe2a3c7ddbf714786a4e6e44f4
15e4ea46e2b1944add82746c4b3369184550af1b
/9 Strings/Excersises/19.py
7893e1b258d167f093df275420b07f5dd18d6e68
[]
no_license
eduardogomezvidela/Summer-Intro
53204a61b05066d8b8bc1ef234e83e15f823934d
649a85b71a7e76eade3665554b03ca65108c648b
refs/heads/master
2021-04-29T13:34:26.873513
2018-02-16T13:35:48
2018-02-16T13:35:48
121,754,165
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
#THE ENIGMA MACHINE import cipher_machine cipher = "plmkonhijbuvygtfcrxdeszwaq" abc = "abcdefghijklmnopqrstuvwxyz" ABC = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" encrypted_message = (cipher_machine.cipher("It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the ep...
[ "eduardogomezvidela@gmail.com" ]
eduardogomezvidela@gmail.com
dc466e1cd7058dcbe2db28fa540a149a0a4b7f5f
ff28d0bb7b54536170ce4a9b8713f05702c73722
/apps/bento_create_card/main_create_card.py
0471be01a60782832d22f30425ac4af59f0ebeca
[]
no_license
HelenLiu97/new_bento
94423cd9d466083cc6eb48aba8a44014fdaa9b1c
fd8d89913359669e373175bdc1a6a41dba9bed0a
refs/heads/master
2022-11-13T23:44:21.229215
2020-07-14T07:52:11
2020-07-14T07:52:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
import requests import json import time from tools_me.bento_token import GetToken from apps.bento_create_card.sqldata_native import SqlDataNative from requests.adapters import HTTPAdapter class CreateCard(object): def __init__(self): self.headers = { "Content-Type": "application/json", ...
[ "2404052713@qq.com" ]
2404052713@qq.com
2eb072af884631fbd7910780f193d2c35d9a976e
b6259a82de4b231c7f6ba20b0844d7d7ff263feb
/Chapter-02/os_path_dir.py
4c12f3c287d4494b90b2ec340de9efa34c8ea6f6
[]
no_license
gaoxuejian01/pychram_test01
e7665d52ff60162469ab665005d21ae8022e5a0a
63e6a6d2699f726aa5d850d234aa86838e814336
refs/heads/master
2020-05-09T16:25:18.212880
2019-04-21T08:24:14
2019-04-21T08:24:14
181,269,977
0
0
null
2019-04-14T08:14:24
2019-04-14T06:39:35
Python
UTF-8
Python
false
false
222
py
import os for dirpath,dienames,filenames in os.walk('/Users/gaoxuejian/PycharmProjects/pychram_test01/Chapter-02/'): print('['+dirpath+']') for filename in filenames: print(os.path.join(dirpath+filename))
[ "gaoxuejian@corp.netease.com" ]
gaoxuejian@corp.netease.com
e6d788a191a1d2289ff32fa827ae588336ee7073
245381ad175dcc03ee0710964340eed4daa2ef85
/administration/cognitive_solutions/programs/migrations/0028_batch_status.py
333e38ea1c83c46ae9155cd3861af6466c74646c
[]
no_license
musabansari-1/Shagroup-erp-backend
2c1f56f7ce5763dae668d160cdcc1a26dbc2e8d7
87845f11faae50301d5bb73ffa0c3ee0bed38256
refs/heads/main
2023-04-13T02:25:36.808755
2021-04-15T16:28:19
2021-04-15T16:28:19
358,324,699
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
# Generated by Django 3.1.2 on 2020-12-27 12:55 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('programs', '0027_auto_20201227_1247'), ] operations = [ migrations.AddField( model_name='batch', ...
[ "musabzahida@gmail.com" ]
musabzahida@gmail.com
d1c1e00e01b900b0d44191595a8fc350956c6e53
942e89c730393d8134c373aba857612734b06373
/mysite/mysite/settings.py
4b1fafa1147ffec02c150adbea2e9b02298bf7e3
[]
no_license
jamwilson21/first_django_project
a6e75915b1417902d0141bced4d46b0672678782
0a7d67a96d7a4d424ae1577c73633eda7859b720
refs/heads/main
2023-04-19T11:35:25.865402
2021-04-30T11:24:23
2021-04-30T11:24:23
361,810,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "monif64@gmail.com" ]
monif64@gmail.com
2f9af75898d23cf5abf51172f70817ff24aa0954
d6b87692b8cf3545bf7671e8d9fe53f189e339e2
/tftpsvr.py
d0aa282ab5d3d7e4173b558682cfc773dea7e1b9
[]
no_license
hendrasoewarno/HoneyPot
2d1b00d0d7e6b2be23494957b2630f94ba377796
5fb21d9be6ddb10ca4ed601a3affeb25f5e926fb
refs/heads/main
2023-08-16T06:30:36.779604
2021-09-23T07:29:49
2021-09-23T07:29:49
340,642,714
0
0
null
null
null
null
UTF-8
Python
false
false
8,193
py
''' Hendra Soewarno (0119067305) Honeypot TFTP ini tidak disertai pembatasan jumlah thread, sehingga perlu dilakukan pembatasan pada level firewall. /sbin/iptables -A INPUT -p udp --syn --dport 6969 -m connlimit --connlimit-above 50 -j REJECT TFtpSvr mensimulasikan server ftp untuk sebagai honeypot yang menarik p...
[ "noreply@github.com" ]
hendrasoewarno.noreply@github.com
bee97dd842ae97b96451af9fc27d7998ebdafcec
b6e49dfd3af7e352270e91d12f26acd383761da7
/Dojo_Assignments/Python/django/django_fundamentals/great_num_game/guess_me/views.py
22f575dc9efd31865e051a398bd3e766d7216629
[]
no_license
Banapple01/Coding_Dojo-School-work
b6fb0efc69cc7eac7195be7009167250e4f65096
adb15a673a7e6679a9772121d6a00006aac9e08b
refs/heads/master
2023-03-17T05:41:16.503413
2021-03-02T03:17:40
2021-03-02T03:17:40
295,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
from django.shortcuts import render, redirect import random # Create your views here. def index(request): if 'number' in request.session: pass else: request.session['number'] = random.randint(1, 100) return render(request, 'index.html') def guess(request): print(request.POST['num']) ...
[ "48165909+Banapple01@users.noreply.github.com" ]
48165909+Banapple01@users.noreply.github.com
9443ed93cb6923faa3fbef387f96c0caceb2c2ef
1ddada988a52e9734a1ede434fb16fc43f9decd1
/app.py
62b767187956b44a7fa666bfca0f661b6824dc0f
[ "MIT" ]
permissive
Sanjukta-Das/JMP
016d5835b43581abf4b035225d04f8e89ab37abf
3c35f0ccdf4b2385219bb136f97bba657b605194
refs/heads/master
2022-12-27T12:42:49.746525
2020-09-27T20:01:36
2020-09-27T20:01:36
299,006,461
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from flask import Flask, current_app app = Flask(__name__) @app.route('/') def hello_world(): return current_app.send_static_file('EmployeeStats.htm')
[ "sanjukta.moocs@gmail.com" ]
sanjukta.moocs@gmail.com
606381979829657434fd9845d5a2027149122b34
50e81c2e7b5bc8e8cf31ecedc271e615e896cc99
/venv/3.F.py
6f1b09f79e82fdcf6cfeea228fec96d961a10487
[]
no_license
Anupreet1299/practice
1faec9e1658b7d396ebd3360c1f29a33a612f7eb
23d269ad8af63bf08cb5322ba99c79812c488308
refs/heads/master
2020-06-02T09:51:48.340194
2019-06-10T07:19:19
2019-06-10T07:19:19
191,119,843
1
0
null
null
null
null
UTF-8
Python
false
false
216
py
#loops or iterations #for loop num = int(input("enter a number =")) #for i in range(0, 11): #print(i**2) #for i in range(1, 11, 2): #print(i**2) #while loops i= 1 while i<10: print( i*num) i+=1
[ "anupreet1299@gmail.com" ]
anupreet1299@gmail.com
a0c1d414f21baf68c328be27697aebb68ac82837
b83ac23819fd7ba998563f2ad870405bdd07cc2b
/experiments/manual_play/v18/minimal_defense/manual_vs_openai_ppo/run.py
26d31c17ed5758f25146ba6d7d050c98873f9e3f
[ "MIT" ]
permissive
Limmen/gym-idsgame
699abd2894bce15108f1606f5fb71f612dd7ba03
d10830fef55308d383c98b41b34688a7fceae357
refs/heads/master
2023-09-01T17:32:16.768138
2023-08-22T12:00:53
2023-08-22T12:00:53
247,794,752
49
12
MIT
2021-04-21T07:50:06
2020-03-16T19:00:27
Python
UTF-8
Python
false
false
4,632
py
import os from gym_idsgame.config.runner_mode import RunnerMode from gym_idsgame.agents.dao.agent_type import AgentType from gym_idsgame.config.client_config import ClientConfig from gym_idsgame.agents.training_agents.policy_gradient.pg_agent_config import PolicyGradientAgentConfig from gym_idsgame.runnner import Runne...
[ "kimham@kth.se" ]
kimham@kth.se
44fec512f858f521f2d76229d04f02f0ab5fe4d5
c8ea4fe0dccca928b92234b72a7a8d9cd6cf4d14
/eth2/beacon/deposit_helpers.py
687e2a55062aaf64f094f3a6293fc962823480bf
[ "MIT" ]
permissive
kclowes/trinity
b6bc4f7c57ade1651cf9b2ca9ca88493f3485007
f0400c78a6d828dd266b1f31dd3fa7aacf97486d
refs/heads/master
2020-04-16T16:11:28.531260
2019-01-14T17:03:56
2019-01-14T17:44:58
165,728,497
0
0
MIT
2019-01-14T20:17:01
2019-01-14T20:17:00
null
UTF-8
Python
false
false
4,087
py
from eth_typing import ( Hash32, ) from eth_utils import ( ValidationError, ) from eth2._utils import bls from eth2.beacon.constants import ( EMPTY_SIGNATURE, ) from eth2.beacon.enums import ( SignatureDomain, ) from eth2.beacon.types.deposit_input import DepositInput from eth2.beacon.types.states imp...
[ "hwwang156@gmail.com" ]
hwwang156@gmail.com
9d39f65fec0f9b59b6ed2cfa384702ba5fd9443d
d4e9b94d9db1a49d1b2ecdfd88c5277c89ad17c3
/Function(def).py
cba7e401de27d0ca308b551200362a80baa5056f
[]
no_license
abdulwagab/Demopygit
1560123048f2924fa43030d12ad41b0ce3ddf69f
17b2f1fa435cbee9c34d91267075092828b4d42a
refs/heads/master
2022-12-30T19:47:56.115158
2020-10-15T01:51:04
2020-10-15T01:51:04
271,227,717
3
0
null
2020-10-04T23:46:02
2020-06-10T08:54:53
Python
UTF-8
Python
false
false
306
py
def clock(a, b): #function definition sum = a + b #adding the arguments and store it to sum return sum #return the value clock1 = 5; #Assigning values to variable clock2 = 3; #Assigning values to variable print("clock value is: ", clock(clock1, clock2)); #print the statement
[ "noreply@github.com" ]
abdulwagab.noreply@github.com
60fae60da800ce41b7d9e2d49956de686189aca6
4bc19439ba498e16264e0f5e9557f6effc10c248
/classes/classes_08_Constructors.py
329d6682d6a2e37ae5927a9d9a16c576643ed7e9
[]
no_license
wastefulox/learningpython
7fe7ee3bcee670fe39aadfffb14d7e44e0b4b96a
c34391798372bfc30034f520443a3c308f352e68
refs/heads/master
2020-04-05T16:58:32.983506
2020-02-11T01:13:08
2020-02-11T01:13:08
157,037,963
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
class Circle: pi = 3.14 # Add constructor here: def __init__(self, diameter): print("New circle with diameter: {diameter}".format(diameter=int(diameter))) teaching_table = Circle(36)
[ "mathew.sturdevant@mail.strayer.edu" ]
mathew.sturdevant@mail.strayer.edu
504701a5db3c11a2ad30fc14efd2e21fd1165f5c
259bd89b5086517b26eb0e99fe09c6b7dbdad638
/react_comm/config/wsgi.py
2da5615228a3c0859219019a2e05bafd7c687b29
[ "MIT" ]
permissive
skyshop300/react_comm
4d7a3c1c32874bf2fdd947ce0ab3092738447a86
caa8fdb9a2591473c86979c451c1a489190e8789
refs/heads/master
2020-05-07T08:53:19.512114
2019-12-30T07:56:09
2019-12-30T07:56:09
180,351,131
0
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
""" WSGI config for react_community project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLIC...
[ "skyshop5210@gmail.com" ]
skyshop5210@gmail.com
e59818c7a431b96f28be9313607888e4cf91ed94
d34074274d8d5f480c192cdcc020df3e1e2626cd
/online_exam/admin.py
f519992cb38995282137ac67ac954815d20a432c
[]
no_license
Lishat/Online-Examination-Portal
d3c68e32f6b3f4a0b48fec543f60ba46247aa34c
4f70bea29c847e75e75fe12bab6699ae095b1a11
refs/heads/master
2020-04-27T10:28:58.356995
2019-03-07T02:19:42
2019-03-07T02:19:42
174,255,861
2
2
null
null
null
null
UTF-8
Python
false
false
627
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import course, user, topic, subtopic, question_type, level, exam_detail, question_bank, option, answer, registration, result # Register your models here. admin.site.register(course) admin.site.register(user)...
[ "30794115+Lishat@users.noreply.github.com" ]
30794115+Lishat@users.noreply.github.com
af216a9be8b1a87518fc54ab5ea1287a827ce0c0
c9a809c5ef2a6b5e7e50da548c182510d203f430
/tests/unit/modules/test_cpan.py
c02cbafec92196df308d334df7b8fb287354f7ba
[ "Apache-2.0" ]
permissive
andyyumiao/saltx
676a44c075ce06d5ac62fc13de6dcd750b3d0d74
a05c22a60706b5c4389adbd77581b5cf985763b5
refs/heads/master
2022-02-24T00:51:42.420453
2022-02-09T06:46:40
2022-02-09T06:46:40
231,860,568
1
5
NOASSERTION
2022-02-09T06:46:40
2020-01-05T03:10:15
Python
UTF-8
Python
false
false
4,945
py
# -*- coding: utf-8 -*- ''' :codeauthor: Jayesh Kariya <jayeshk@saltstack.com> ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing Libs from tests.support.mixins import LoaderModuleMockMixin from tests.support.unit import TestCase, skipIf from tests.support.mock import ( Magic...
[ "yumiao3@jd.com" ]
yumiao3@jd.com
843946bab7cf27019c3609443da623c27ddcd33f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03347/s362816288.py
ef42242a7d6bc72e9552c630edd29cff9fdb40cd
[]
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
192
py
n = int(input()) a = [int(input()) for i in range(n)] ans = 0 now = -1 for i in a: if i > now + 1: print(-1) exit() elif i < now + 1: ans += now now = i ans += now print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3ac4aba32b17efca5a6d5896bd4bafe0205a8e1a
b2ab9ce84968f854cd15cfb777ba517c29e30cb5
/Python/Tests/test_epi_5.py
0b1b0578d4756365c713e7800fae32913ea5033d
[]
no_license
dongpin/AlgorithmProblems
662c933570e7999d0e04f6926c11c9fb79f2c59e
266c677ad8ed16cecc2dfb5a6149b4244ffe23ef
refs/heads/master
2020-03-23T17:56:37.746598
2019-08-27T08:58:42
2019-08-27T08:58:42
141,882,231
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
import unittest from Python.Problems.epi5_6_buy_and_sell_a_stock_once import * # Test Cases def test_buy_and_sell_a_stock_once(): assert buy_and_sell_stock_once([310, 315, 275, 295, 260, 270, 290, 230, 255, 250]) == 30
[ "dongpin@hotmail.com" ]
dongpin@hotmail.com
7d4233037408163106582970979f683a0c034959
dc94aea96ed3e3fcd890b9b6e3e624cb06b5b134
/process.py
e28f8a264720e154e18438b373b37085f2f2642b
[ "BSD-3-Clause" ]
permissive
Sec-Fork/SiteScan
af6c3b28820f27894fc45d582220e8d9861c5d0f
6f8fa9487f0a7cba5105246ccf031ecca1124ee3
refs/heads/main
2023-09-06T05:46:13.736992
2021-11-26T10:33:10
2021-11-26T10:33:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,699
py
# -*- coding:utf-8 -*- # by:kracer # ๅผ•ๅ…ฅๆจกๅ—ใ€ๅŒ…้ƒจๅˆ† import re, json, sys import html import dominate from dominate.tags import * # ๅฏนallDict็š„ๆ•ฐๆฎๅค„็†ๅ‡ฝๆ•ฐ def processData(allDict): global nowIP, historyIP, isCDN, domain, ports, pangZhan, whois, urlPATH, beiAn, framework, cms, waf, houTai, error nowIP = allDic...
[ "noreply@github.com" ]
Sec-Fork.noreply@github.com
21b2d7ca3640fbcf1c9629ad2004783e9883ed59
0ff832fee21987d0dfbfd8794c202fef3802cf23
/posts/migrations/0001_initial.py
fae0fc45c62b46cd923dfb4e5ff59c6587660b30
[]
no_license
Wings30306/django-blog
84f35423ed78e72bccad5d0de92fb72e61892617
37c92beef49e6285209e0949a838a3b57e4892d7
refs/heads/master
2022-12-15T09:10:42.078232
2019-04-14T08:30:16
2019-04-14T08:30:16
181,018,448
0
0
null
2022-11-22T03:46:03
2019-04-12T13:55:47
Python
UTF-8
Python
false
false
1,046
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-13 14:42 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateM...
[ "jo_hannah@outlook.com" ]
jo_hannah@outlook.com
d058fee429ba36f54252510df71cf8497ef955f9
3e7f505baf1798975f1b14379a6ec05b381184a3
/automl/automl.py
ad9ed15f9285c321dbead83b47765701f0ba6506
[]
no_license
claudioti/machine-learning
e8099a8b5ce68b5a46a8af4ab45068fab53f9ebe
56cb4b5c90c71fa8f744283c29d757a3dedc352d
refs/heads/master
2023-07-14T11:01:17.336814
2021-08-22T22:22:08
2021-08-22T22:22:08
364,391,769
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# define dataset from pandas import np from sklearn.model_selection import RepeatedStratifiedKFold from tpot import TPOTClassifier from utils import functions, Constants from torch import nn import pandas as pd dataset = np.loadtxt(Constants.dataset_path_final,delimiter=',',skiprows=1) #dataset = pd.rea...
[ "cmarques@smithmicro.com" ]
cmarques@smithmicro.com
aa9452df9fcbf5450de6e6e947235b0a322e03a3
9d3b7fd011c06344f7ec66039a04a24d45b7cee0
/board.py
f46b7f163089af9eb141ef9c2618aa21b23dd8a7
[]
no_license
jishnusen/karel
15adaa8207997f3955a1a39c685ff58b4ec7059a
8d3d79b0c5fc1d8ed42d964a390686df7c56bb9e
refs/heads/master
2021-01-20T03:17:20.380696
2017-09-07T03:43:47
2017-09-07T03:43:47
101,358,601
0
1
null
2017-08-25T03:37:19
2017-08-25T02:44:09
Python
UTF-8
Python
false
false
4,980
py
#!/usr/bin/env python import curses import time from karel import Karel class LogicException(Exception): pass class Board(object): KAREL_CHARS = '<^>v' BEEPER_CHAR = 'o' def __init__(self, map_path): self.map = None self.karel = None self.screen = None self.beepers = [...
[ "stephen@evilrobotstuff.com" ]
stephen@evilrobotstuff.com
abf9506c61329778d9bfcf4d1a551b867c255d03
f18cd4f9fc23dcf895aa00a4a565c2e7a811a1af
/logic/board.py
d2cc71bf8071adcaba903377c368fc0d2ba54490
[ "MIT" ]
permissive
shri3016/Project
9ce86ab605d42ab064ec724b32bd505db1fca311
28e25d3726239771b123354de1847725f0bb1845
refs/heads/main
2023-01-23T11:14:57.334139
2020-11-29T14:20:55
2020-11-29T14:20:55
316,783,038
0
0
MIT
2020-11-28T17:10:56
2020-11-28T17:10:56
null
UTF-8
Python
false
false
316
py
def generate_board(): board = [[0 for i in range(10)] for i in range(10)] k = 1 for i in range(10): for j in range(10): board[i][j] = k k+=1 return board def show_board(board): for i in board: for j in i: print(j,end=' ') print()
[ "noreply@github.com" ]
shri3016.noreply@github.com
bc2e3114b26436a81ffc96ea3c0901c1a1ce21f8
b21c601920ed0a1a3382588eb8a581cb8b459115
/configuration.py
8da405813ff073cfd4469e6bb41df94ea5f1ff77
[]
no_license
Langlofts/flaskStorageDemo
1674ab2a4d7cbc674cdd793cf67522b9ab3d7ed3
4b0ebefbd730b01f685c88dde28c5c2233050522
refs/heads/master
2023-02-05T23:52:53.223918
2020-02-19T08:53:16
2020-02-19T08:53:16
241,562,232
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
class Config(object): DEBUG = False TESTING = False class ProductionConfig(Config): AZURE_STORE_CONNECTION ="DefaultEndpointsProtocol=https;AccountName=pydemostore;AccountKey=EDI1bZePwltDk6slUoVAd/TUAhBSmCEv60WQK24+PsDsRXnZq6mRuB5HFROGOQFDYq8TXRsUpI/o38lR2HEbeA==;EndpointSuffix=core.windows.net" BLOB_CO...
[ "justinvv2321@gmail.com" ]
justinvv2321@gmail.com
8ef63c8ffc23692ae6897c70c5a28ac531aaad7b
be3d301bf8c502bb94149c76cc09f053c532d87a
/python/GafferImageTest/FormatDataTest.py
1586d86f9a2116930c71e23969ddf0c968385dff
[ "BSD-3-Clause" ]
permissive
ljkart/gaffer
28be401d04e05a3c973ef42d29a571aba6407665
d2ce0eb7134a33ceee375d0a3676129a9bdcfbc6
refs/heads/master
2021-01-18T08:30:19.763744
2014-08-10T13:48:10
2014-08-10T13:48:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
########################################################################## # # Copyright (c) 2013, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Red...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
116e7f5198160b2fb99e53da48c607dc3536f281
6e77ee7ab7e937527426d9d9d7f8d0b72e6e96c0
/hello/validator.py
0aaac680fa7bd15178ff0aa1daf659999db16cb0
[ "MIT" ]
permissive
isabella232/sample-linux-python-app
e72da4f0e7a8dcd2c3a01afaaee738bdfb111845
4c72ea082d9fb34e7a35f242e54b98ba4d079d55
refs/heads/master
2022-02-21T20:06:42.471731
2019-08-26T17:51:18
2019-08-26T17:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
""" Module contains a simple header validator used to check for allowed characters in header inputs. """ class HeaderValidator: """ Validates if a header has valid Name:Value values for the data presented from the browser. """ def __init__(self): self.allowed_header_name_chars = [] ...
[ "47990584+isaiah-msft@users.noreply.github.com" ]
47990584+isaiah-msft@users.noreply.github.com
e1ecb0a2c808d83be83a0a2468e2298da3054787
72d3bddd2866ad93805bee8484c3d7e21281e1fd
/blog/models.py
1f9511739722c37393c23d447c4dd1637ee50309
[]
no_license
analavishal/my-first-blog
edb014832c2d2ffc3210bff79df5c8328d3340de
ebb6e3dda48aec1da8dc645651554f9e51ff092e
refs/heads/master
2021-01-22T20:34:25.156206
2017-03-18T10:27:31
2017-03-18T10:27:31
85,331,272
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.user') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField(default=timezone.now) published_date = models.DateTimeField(blank=True, null=True)...
[ "rao.vishal10@gmail.com" ]
rao.vishal10@gmail.com
23c9a8f00505fa58236b3a075f5d0eef10be4a89
d2346575f7cbe13cd36e8dca966df0f627ef959d
/stocks/migrations/0014_auto_20210807_1740.py
67486d20bcbd78e68cc584529cf2e0309a362504
[]
no_license
icerahi/pendemic-supply-management
db3a9fb44359496d6beed2c75d2439933ab8668e
5ffef9f93fc7ecd906d792b651a1db4a31c524fc
refs/heads/master
2023-07-03T03:20:18.160187
2021-08-07T17:14:57
2021-08-07T17:14:57
392,214,359
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
# Generated by Django 3.2 on 2021-08-07 11:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stocks', '0013_auto_20210807_1117'), ] operations = [ migrations.RemoveConstraint( model_name='stock', name="Can't cre...
[ "zanjarwhite@gmail.com" ]
zanjarwhite@gmail.com
ed4feb8e92a08860f41991b72a1f5660f3d176c9
ac33ff4ac0411481adce6d96b8eb24dab158658d
/assignment5/problem1/sarsa_lamda_mountain_car.py
44cf305d458a7dc9abd93e4fefa706a948c3b983
[]
no_license
elitalobo/Reinforcement-Learning
9bcc7fb4aae88cfbe681335fa5b121c6d87ba66e
816db6225ae744b30acdb5518c5be4775b70d5ca
refs/heads/master
2020-04-03T03:41:23.516380
2018-12-13T23:23:48
2018-12-13T23:23:48
154,992,788
0
0
null
null
null
null
UTF-8
Python
false
false
11,971
py
import sys import numpy as np from numpy.random import randint import operator import matplotlib.pylab as plt import random import math gamma=1 #plt.style.use('seaborn-whitegrid') order = 3 actions_len=3 ld=0.2 epsilons = [0.3,0.15,0.075,0.05] time_limit=50000 action_index = {-1:0,0:1,1:2} def random_pick(some_list, p...
[ "loboelita@gmail.com" ]
loboelita@gmail.com
2033b2fb67cd046071d7e521baf4c4fdd6ae15d2
d8e520663e1e1b674fbd3945e80437217a741a18
/arcade/python/yin_and_yang_of_yields.py
dc602facf3ec869d867b5d90469bf9ccd7c3a81d
[]
no_license
sandrohp88/code_fight
d2cae46dfe7812757d3947058652989f1a809cb9
c3c86b7a60ecf81cbe66a4153ef88df2037d8fb1
refs/heads/master
2022-06-15T17:23:33.350592
2022-06-01T21:25:39
2022-06-01T21:25:39
156,311,504
0
0
null
null
null
null
UTF-8
Python
false
false
9,963
py
import math # You are working on a revolutionary video game. In this game the player will be able to collect several types of bonuses on each level, and his total score for the level is equal to the sum of the first n bonuses he collected. However, if he collects less than n bonuses, his score will be equal to 0. # Gi...
[ "sandrohp88@gmail.com" ]
sandrohp88@gmail.com
80ff3d85131b2d5c74a3468084f00e302893e2cf
f4a60261fdb25d923cf68143af51086b0a1076d9
/optmet/tests/test_minimum_golden.py
154db361ebc5e1723e4dd58b25a4597cb29c406b
[]
no_license
hrsrashid/opt-met
00a0d16e6b6c7abbf8356d6cea2a2369c247ace7
8d3b6d4ee558437902db4bcd4262fc7952e2a21e
refs/heads/master
2021-01-22T11:15:25.252472
2017-08-30T16:01:44
2017-08-30T16:01:44
92,676,803
1
0
null
null
null
null
UTF-8
Python
false
false
766
py
import unittest from optmet.minimum_golden import find_minimum_golden from optmet.function import Function, Domain class MinimumGoldenTest(unittest.TestCase): def setUp(self): self.eps = .001 self.places = 2 def test_finds_inside(self): self.assertAlmostEqual(find_minimum_golden( ...
[ "hrs.rashid@gmail.com" ]
hrs.rashid@gmail.com
740c97440e71c02cba1722d381c84c7d4cd74a5e
605fe2330a3765e680fae53f85670849bac84bed
/water_level/water_firmata_analog.py
ccb99ffba0e037368ef2be3df89cb3167a2cdee3
[]
no_license
onitonitonito/raspberry
564a8b020bc94e1ecedadad0f0ce112a4ec0d481
1a9ba24a0857517fba0f46d11d6fb3370c1457d7
refs/heads/master
2021-06-26T11:12:25.841194
2020-02-17T08:56:44
2020-08-25T09:16:42
98,432,676
1
2
null
null
null
null
UTF-8
Python
false
false
1,225
py
#!/usr/bin/python3 """ # Arduino Shield - Digital INPUT. # DFRobot Non-contact Liquid Level Sensor XKC-Y25-T12V SKU: SEN0204 # 1, 7, 8, 15 : DFRobot Water level sensor kit # 21,20,16,12 : Arduino Water level sensor """ print(__doc__) import sys import time from pyfirmata import Arduino, util INTERVAL = 1 ...
[ "nitt0x0@gmail.com" ]
nitt0x0@gmail.com
92be4d49a138d4985b35dacfc6837b47f7170f08
bd452440c8065cf306b1a68d71237a9be617a61d
/Open_street_map.py
c48e02b057f6753be4617876d282aa3356addece
[ "MIT" ]
permissive
hardeepsjohar/Open-Street-Map-Pasadena
bc91bb85cd280771c91e566faf62ad2315cf990d
31b0e6259152274cff1b33b4520155b0cb0ec4e1
refs/heads/master
2021-01-20T02:38:46.065720
2017-08-25T17:48:42
2017-08-25T17:48:42
101,325,773
0
0
null
null
null
null
UTF-8
Python
false
false
12,761
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import xml.etree.cElementTree as ET from collections import defaultdict import re import pprint import csv import codecs import cerberus import schema osm_file = open("pasadena.osm", "r") #paths NODES_PATH = "nodes.csv" NODE_TAGS_PATH = "nodes_tags.csv" WAYS_PATH = "ways...
[ "hjohar@gmail.com" ]
hjohar@gmail.com
037b6b3e43f7b4c054f32fa645df6fd903c159ba
ba245e3a0f37d5004790d2f7afb47bf9bd4ef8f8
/pruners/l1_pruner.py
e0cba4eb415b529fbe2b74136a107657031cf854
[ "MIT" ]
permissive
oliver12323/deep-compression
cd3ed1ad5112c4b1da76476f806a8f0be7f05e61
1d13736562f77f7e27e282e6ba5d655e3f000917
refs/heads/master
2023-07-24T03:01:17.406634
2021-09-08T08:31:51
2021-09-08T08:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,358
py
import torch import torch.nn as nn import numpy as np class L1Pruner: def __init__(self, pruning_type="unstructured"): self.pruning_type = pruning_type def structured_prune(self, model, prune_rate): # get all the prunable convolutions convs = model.get_prunable_layers(pruning_type=se...
[ "jackwilliamturner@icloud.com" ]
jackwilliamturner@icloud.com
f10c14bba0fed87c348c1be34a3b82fa74a13c47
62f63df5869d069116f76bbee7b0e8c88b751fd3
/src/data/util.py
aac46347bc6cbe6aa2c28a1c4fef0dc3bce5efc6
[]
no_license
TheStarkor/IRN
042676b884a3baecfed68c64f34a635e4d0b44e6
4a58f04e16b73f60f96a4f84976841d9dbedcdd2
refs/heads/main
2023-02-26T06:20:35.835599
2021-01-21T10:15:13
2021-01-21T10:15:13
326,608,901
3
1
null
2021-01-21T10:15:14
2021-01-04T07:54:13
Python
UTF-8
Python
false
false
8,544
py
import os import cv2 # type: ignore import numpy as np # type: ignore import random import torch import math from typing import Tuple, List, Any, Optional IMG_EXTENSIONS = [ ".jpg", ".JPG", ".jpeg", ".JPEG", ".png", ".PNG", ".ppm", ".PPM", ".bmp", ".BMP", ] def is_image_fil...
[ "sk_and_mc@kaist.ac.kr" ]
sk_and_mc@kaist.ac.kr
1a987fe189f8af64941603493a1ca7f36aa9b3cc
5bc6b018ef99cb96ba59f25f063b592eb8427360
/recommendation/offline_music_recommendation/solution1/music_suggest.py
80645cda191def853d2b8d135c524d2cb819f9ad
[]
no_license
mcnemesis/ml
a242d05f4efa662fbbb5e831cc2f5cd272d9a063
310680338caf86a093f2cb8ffef0c6654a187939
refs/heads/master
2016-09-11T01:06:33.498071
2012-12-29T17:57:17
2012-12-29T17:57:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,012
py
#!/usr/bin/env python import os from datetime import datetime,timedelta import re class Entity: file_filter = r'^.+\.(mp3)$' def __init__(self,path,parent=None,ffilter=None): self.path = path self.is_file = Entity.path_is_file(path) self.most_recent_member_atime = 0 self.numb...
[ "jlutalo@ds.co.ug" ]
jlutalo@ds.co.ug
28134dd8282ad2327183641cf55949cea7bc87f4
4d3032fd5062f7b6790951899c0ef6333a54bb83
/ppr-api/tests/unit/models/test_event_tracking.py
0154b3febec8bbe4f2505766782a1ad715e81fa7
[ "Apache-2.0" ]
permissive
bcgov/ppr
381ceb4120fc14fb21b0ee863b08e56fe35cf156
af1a4458bb78c16ecca484514d4bd0d1d8c24b5d
refs/heads/main
2023-08-24T00:34:09.508413
2023-08-23T18:44:52
2023-08-23T18:44:52
332,897,262
4
373
Apache-2.0
2023-09-14T17:24:40
2021-01-25T22:06:53
HTML
UTF-8
Python
false
false
6,284
py
# Copyright ยฉ 2019 Province of British Columbia # # 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 agr...
[ "noreply@github.com" ]
bcgov.noreply@github.com
81a2523e98ce2cd990ae80580e687a48b209f37a
f9d17c9d5934195f110e4bbcb6cc965028d7e5fe
/T1/ServoTest/SerialTest.py
79af3ec0fd1964f6b0e7bdc89c47314dcace5097
[]
no_license
chaturatbs/Shef_E3RoboPorter-2016
43944f4c0e1dbedeee355e065dd9ef52eace8484
5b9d1447d15c836bf79c8cba078b8b3b5aad1f70
refs/heads/master
2020-08-01T16:59:42.956498
2017-12-14T12:19:22
2017-12-14T12:19:22
73,572,154
0
2
null
null
null
null
UTF-8
Python
false
false
653
py
import serial import time serialConnected = False usInput = raw_input("input control command - ") while True: if not serialConnected: # setup serial connection to motor controller print("Trying to connect to serial devices") try: motorConn = serial.Serial('COM4', 19200) # EDIT...
[ "chaturasamarakoon@rocketmail.com" ]
chaturasamarakoon@rocketmail.com
bedbc5233537da4503b44207d0e30f0759039d35
09c7443ee3fdc0095b0f2aef5cdd4f7d81a8bcc0
/data/parser.py
630a5e2ee9ff62470dfe078dcc766045b98e4682
[]
no_license
dacharya64/PhandelverProlog
8036e7fff3d24a9b52a4170d67c464f14d8aa334
41dbaae4c86f7697cf7cf5106e041af22078ae32
refs/heads/main
2023-07-03T14:06:00.676640
2021-05-19T23:54:46
2021-05-19T23:54:46
346,779,147
1
0
null
2021-05-10T18:11:04
2021-03-11T17:13:07
JavaScript
UTF-8
Python
false
false
1,203
py
import json import re # file to which we will be writing fWrite = open('parsed.txt', 'w') # opens the JSON file with the data and saves it to a JSON object with open('cast.json') as data_file: data = json.load(data_file) # runs through each element in JSON object and extracts the data, writing it to file for it...
[ "dacharya64@gmail.com" ]
dacharya64@gmail.com
cd96606f20cea9ef658e037040d9d9f89bdea892
407c6f47116c32c909e353b41b88b42eae7a0873
/tests/1_local/test_key.py
871ec0dac372c401b153554363111114c10c885a
[ "Apache-2.0", "Python-2.0" ]
permissive
cloudmesh/cloudmesh-cloud
29132f95beb665ff6fd7f5baf14c2c5fc26d528a
cef0c22a3b89a11a838da1ae6734344dd5415277
refs/heads/main
2022-12-11T16:09:36.136775
2021-04-21T15:03:27
2021-04-21T15:03:27
147,824,315
5
27
Apache-2.0
2022-12-08T01:20:52
2018-09-07T13:03:38
Python
UTF-8
Python
false
false
1,588
py
############################################################### # pytest -v --capture=no tests/1_local/test_key.py # pytest -v tests/1_local/test_key.py # pytest -v --capture=no tests/1_local/test_key..py::Test_key::<METHODNAME> ############################################################### from pprint import ppri...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
eefddb41bc553702f602778afced539c75245384
224d300356bc6a1f67e87c6a8eb4a506b5e4ff93
/projetTDlog/manage.py
fd3f72e41b35b15f01388cc2312989d057e900ac
[]
no_license
ClementHardy/projet
1fac219c17a30c529238c3f11a11cb2c77ae9192
a911930133cc4f4d63e40b66b6d768365c58c6c0
refs/heads/master
2020-06-11T14:57:52.774388
2017-02-21T14:31:25
2017-02-21T14:31:25
75,640,638
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "projetTDlog.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that ...
[ "clement.hardy@eleves.enpc.fr" ]
clement.hardy@eleves.enpc.fr
1cd697855141f55f88e899f846bad705a48bae85
ac2c3e8c278d0aac250d31fd023c645fa3984a1b
/saleor/saleor/plugins/invoicing/plugin.py
137714cdd3c67fe77e28a0bffdd157ebe0409078
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
jonndoe/saleor-test-shop
152bc8bef615382a45ca5f4f86f3527398bd1ef9
1e83176684f418a96260c276f6a0d72adf7dcbe6
refs/heads/master
2023-01-21T16:54:36.372313
2020-12-02T10:19:13
2020-12-02T10:19:13
316,514,489
1
1
BSD-3-Clause
2020-11-27T23:29:20
2020-11-27T13:52:33
TypeScript
UTF-8
Python
false
false
1,200
py
from typing import Any, Optional from uuid import uuid4 from django.core.files.base import ContentFile from ...core import JobStatus from ...invoice.models import Invoice from ...order.models import Order from ..base_plugin import BasePlugin from .utils import generate_invoice_number, generate_invoice_pdf class Inv...
[ "testuser@151-248-122-3.cloudvps.regruhosting.ru" ]
testuser@151-248-122-3.cloudvps.regruhosting.ru
3ab2ce4378e2248095071b8b0936949ff0df0a5c
50f3b7fd58394ff0ed8a988014a371b09f61e13f
/sandbox/wierzbicki/test27/CPythonLib/distutils/command/upload.py
df82e4ca562c2048d8f4b52e73a8f31caa4b2229
[ "LicenseRef-scancode-jython" ]
permissive
pombreda/jython-jbossorg
db2e1caf780b1bf863ab5fa253a3ab22804f4b0b
b41953a1bc73720d14e36d88ed19c77e8199c229
refs/heads/master
2020-12-26T05:01:59.536537
2012-04-25T14:05:45
2012-04-25T15:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,977
py
"""distutils.command.upload Implements the Distutils 'upload' subcommand (upload package to PyPI).""" from distutils.errors import * from distutils.core import PyPIRCCommand from distutils.spawn import spawn from distutils import log import sys import os import socket import platform import httplib import base64 impo...
[ "kkhan@redhat.com" ]
kkhan@redhat.com
450c636027f99f51a734838caab2bb006cfbae52
e10ee9866c4338ed7e1aba9b10d134c933e75018
/backend/task/models.py
9a68128b131edee741fa608e0c30af2a9701968c
[]
no_license
luyang14/IoT_device_client
052711e1240a0226057e90a0aea7638d4a1528d5
7d5c098ff8a2c8174af68704da75df7aec415639
refs/heads/master
2022-12-08T11:12:45.957013
2019-06-17T14:09:25
2019-06-17T14:09:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,707
py
from django.db import models from gateway.models import GatewayBase from django.utils import timezone # Create your models here. class Gateway_task(models.Model): name = models.CharField(max_length=20, null=False) gateway = models.ForeignKey(GatewayBase, on_delete=models.CASCADE, to_field='gateway_name') ...
[ "1343837706@qq.com" ]
1343837706@qq.com
141d021adc4a96e35dc326ccab9e078a56c9c6c2
88b667f671beb285e567f7648e92247d644a3abd
/dummies/zerg/Paul.py
fef05d8d6c136936c7a4d32eeb5778656e427711
[ "MIT" ]
permissive
august-k/sharpy-paul
e7fbd6ac181d7e81e1f60eb34016063227590a64
6f4462208842db6dd32b30d5c1ebf90e79e975a0
refs/heads/master
2022-07-17T15:40:31.603339
2021-02-26T02:56:34
2021-02-26T02:56:34
257,317,358
1
1
MIT
2022-06-22T02:07:06
2020-04-20T15:05:13
Python
UTF-8
Python
false
false
10,631
py
"""Main code for running Paul.""" from typing import List, Optional, Dict import numpy as np import sc2 from sc2 import position from sc2.data import AIBuild, Difficulty, Race from sc2.ids.unit_typeid import UnitTypeId from sc2.player import Bot, Computer from sc2.position import Point2 from sc2.unit import Unit from ...
[ "august.kaplan@gmail.com" ]
august.kaplan@gmail.com
55dc05cdce531140b7ca72b0faa16248f3266bbb
06c9edb02884ced68c62b5527d2be0e1a2e65bf1
/2577.py
7f53e62567eb22b619ff25d4224d8c1bd7aa9546
[]
no_license
0x232/BOJ
3c5d3973b62036bfe9b761c88c822cf7fe909bce
5f135ac51b1c304eff4630798fb5c516b666a5c6
refs/heads/master
2021-07-03T02:56:00.132987
2020-10-31T02:18:19
2020-10-31T02:18:19
191,161,517
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
a = int(input()) b = int(input()) c = int(input()) arr = [0] * 10 for i in str(a*b*c): arr[int(i)] += 1 for i in arr: print(i)
[ "51640066+0x232@users.noreply.github.com" ]
51640066+0x232@users.noreply.github.com
036c323e0db3a4c3d503def0990f28bebd68f594
dabe85f4b2a6f683bfaa7decd358b2f282430350
/com.lxh/exercises/30_tuple_to_dict/__init__.py
5ab1709276c196c5bb64155e9c89f1117419fb8c
[]
no_license
hnz71211/Python-Basis
e6d239df7bb2873600173d05c32c136c28cc9f4b
2893d0d3402ee0bfb5292e2f6409211845a88e26
refs/heads/master
2020-11-29T21:37:06.774000
2020-04-13T04:15:04
2020-04-13T04:15:04
230,220,833
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ๅฐ†็ฉบ้—ดๅๆ ‡ๅ…ƒ็ป„ (1,2,3) ็š„ไธ‰ไธชๅ…ƒ็ด ่งฃๅŒ…ๅฏนๅบ”ๅˆฐๅ˜้‡ x,y,z x, y, z = (1, 2, 3) print(x, y, z)
[ "hxl71396812@gmail.com" ]
hxl71396812@gmail.com
96619644665200a2e51fa831412b76fc8b3285a6
e13e18d322e76a82e3c41e1a1947fff59f27a503
/OpenML/OpenML/datasets/urls.py
da82126cc6fe93530a2e2d3c76a6e7cad8ef1e85
[]
no_license
Dihia/OpenML_Streaming_Challenge
427bed2fb3b85f7d32fa94c3b2c9764c401fbbd6
4d1d390e71eea4317919a7e4cbf8381fa60b5d6f
refs/heads/master
2021-01-21T11:15:09.213811
2017-03-09T14:29:15
2017-03-09T14:29:15
83,536,615
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^(?P<id>[1-9][0-9]*)$', views.show, name='show'), url(r'^list$', views.index, name='index') ]
[ "maxime@buron.coffee" ]
maxime@buron.coffee