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
04f9c99fb5abe774e11429fb6eef80360c25f788
4039a472290f6254c8832bdcc3f7a006da883c75
/descript.py
62a1f54b0068450ad9d90d6a540b1a9010484562
[]
no_license
canut/sstic2013
7e33050262ca09bc49563e46ef24eed5399d3a20
ec93bcaf3d7ca728834d539f22f7109af3ab900d
refs/heads/master
2020-06-07T06:36:30.185367
2013-06-25T15:02:32
2013-06-25T15:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,910
py
#bac9f7a8721f import hashlib, sys I1 = list("cf760bc77db1f282e881ede9a10122b220887466b973b854218b85c230d6733ab459fda9a879973664130312d5ff3e1a8e2f25dc6d3ada1daf6e481438a3a7fe8e36a77e6be0ab3192b6a183e02f84721563b9586d2977335dcdba80530994c097cd054baf0d690ab58e6576c10a6e4d6fd20005621a6ec492bd0d0b3f2fe3709c9e51c9d69464...
[ "michael@maudits.com" ]
michael@maudits.com
b6ba2d3c2a3ee9c10a7138dd40c7db7624930b12
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/runnerup/testcase/interestcases/testcase0_1_2_010.py
e7acf126ea1ec9df41be1aacdb3d05848744db5b
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
11,436
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
6d33bbf3b8b1a123c55dd85559b4cb086e5eef50
bbf80f1020fd040acb16bb6044747a9b04b183dc
/URIonlineJudge/Codes/Python/uri2165.py
f8522a3dfbc63fb0654d9246b002be2372c0576f
[]
no_license
mariatheresahqs/CompetitiveProgramming
b1ceb47652e1805680c7bdb3aae8468c26a402de
acb5d8b6839ccad942798291c3c07a5e5f0dd114
refs/heads/master
2022-12-30T20:54:04.414028
2020-10-20T10:38:45
2020-10-20T10:38:45
153,899,284
0
2
null
2020-10-20T10:38:46
2018-10-20T11:36:48
Python
UTF-8
Python
false
false
98
py
texto = [ str(i) for i in input()] if(len(texto)<=140): print("TWEET") else: print("MUTE")
[ "mariatheresahenriques@gmail.com" ]
mariatheresahenriques@gmail.com
f89e97eba616a9df0d2b2e8c2b95eb9030807730
6bc3c6c1c6ac433e467e2cbdb9073d08934d3cbc
/1748.py
b03013f78e561a9f21916aa552a3bed90b9495e0
[]
no_license
akalswl14/baekjoon
2fbe0d2b8071c0294e7b6797cf7bf206e981020b
ba21b63564b934b9cb8491668086f36a5c32e35b
refs/heads/master
2022-11-23T06:13:13.597863
2022-11-15T14:28:23
2022-11-15T14:28:23
163,743,355
0
1
null
null
null
null
UTF-8
Python
false
false
1,198
py
n = int(input()) digit = 0 if n >= 1 and n < 10: digit += n else: digit += 9 if n >= 10 and n < 100: digit += (n - 9) * 2 else: digit += 90 * 2 if n >= 100 and n < 1000: digit += (n - 99) * 3 else: digit += 900 * 3 if n >= 1000 and n < ...
[ "noreply@github.com" ]
akalswl14.noreply@github.com
6250c71081e43997c39ff575c2af2d39f47eefdf
ab2a731f1db94fe305f07088b2be256c8f089ce1
/lattice_runner.py
7d886bffb4620c7c6960ca6cbbdcd9a3d9a9da71
[ "MIT" ]
permissive
venkatperi/lattice.gsd
bb20540458c50d27515b81fc1696124d4055a0f4
4e8d204d216dfe56b8a776ffe6193d8cb051efbb
refs/heads/master
2020-03-26T06:04:32.818118
2018-08-22T13:14:03
2018-08-22T13:14:03
144,588,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
import time from threading import Thread from lattice import Lattice class LatticeRunner(Thread): def __init__(self, args): Thread.__init__(self) self.args = args self.lattice = Lattice(size=args.size, slider=args.slider, only...
[ "venkatperi@gmail.com" ]
venkatperi@gmail.com
f95b7fae834b6a362df94fb41a5d49be1ec2e6c8
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/effective_network_security_rule.py
10dd7523c4843720136fec77f60c87d946d0d797
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
5,624
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
82d38c02f2c39cd9fc88157abfd888186c789e03
93f87fd34ac129e961f2a54127bae351838a2a0c
/train.py
04aba41bb0dfc861281eaaa57f7d0d45474ca704
[]
no_license
rachmadionl/diabetic-retinopathy-detection
34e6fe8bab655fc664f56a03503ad15b01df713a
a769c02f865141e731027bf88bf6ce604ce4c019
refs/heads/master
2020-04-02T17:58:22.898785
2018-10-22T17:03:29
2018-10-22T17:03:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,457
py
import argparse import torch import torch.nn as nn import torch.optim as optim from utility.model import initialize_model, train_model, get_trainable_params from utility.dataset import seperate_dataset_to_labels_folder, create_dataloader parser = argparse.ArgumentParser(description='Dr research preprocessing script')...
[ "abiwinanda@outlook.com" ]
abiwinanda@outlook.com
b4f258a4d409f93aa8b1e563d8ced42eb58af7ce
6dc685fdb6f4a556225f13a1d26170ee203e9eb6
/blueprints/era_oracle/profiles.py
a49bc0003b0120744183cf73fdbf0e8b5b3492e9
[ "MIT" ]
permissive
amaniai/calm
dffe6227af4c9aa3d95a08b059eac619b2180889
fefc8b9f75e098daa4c88c7c4570495ce6be9ee4
refs/heads/master
2023-08-15T17:52:50.555026
2021-10-10T08:33:01
2021-10-10T08:33:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
from calm.dsl.builtins import Profile, CalmVariable from deployments import OracleOnEraDeployment from vars import DB_PASSWORD_VALUE, ERA_PASSWORD_VALUE class Production(Profile): deployments = [OracleOnEraDeployment] SLA_NAME = CalmVariable.WithOptions.Predefined(['NONE', 'DEFAULT_OOB_GOLD_SLA', 'DEFAULT_...
[ "husain@alsayed.ws" ]
husain@alsayed.ws
c94b9232f3c8ca6a0e3d7ed655454bc665e88dd0
b8a4a40e74f6a3eb10d4085738bb45337a9ffc14
/Django/Django-Intro/helloworld/helloworld/urls.py
02c86819dd6a80b8150eb583bfb1062aa697b02b
[]
no_license
yassarq/Python
9d74ca8e0bfba22deaad5dd929bd42aedd2daa7f
873d37a78a64e5d114b6a6636e918dbfe4649982
refs/heads/master
2022-12-21T05:14:16.403127
2018-08-15T12:54:44
2018-08-15T12:54:44
144,732,748
0
1
null
2022-12-15T20:47:05
2018-08-14T14:38:19
Python
UTF-8
Python
false
false
903
py
"""helloworld URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "yassarq8@gmail.com" ]
yassarq8@gmail.com
37a422676d4a244b72506e1607492a5259ca2403
d49719f8f3f652bdcd1c73ec2a100e55819408ec
/preprocess.py
a4903492b017eccc33f2c76de0ca794c7626dfbc
[]
no_license
OB-0ne/basicRNN-midi-governingBodies
f2fed18ab7c2d0bce084c5dbb5f3fed6811680da
e3a9477fac374159581b1e04762a414de9532078
refs/heads/main
2023-02-16T01:39:00.991000
2021-01-10T03:38:11
2021-01-10T03:38:11
327,746,051
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
from DataManager import DataManager as midiDM import numpy as np # example to convert numpy to MIDI # DM.npFile2MIDI('midi_e7800.npy','MIDI out/track1',AutoTimed=True,AutoTime=180) # DM.npFile2MIDI('midi_e5150.npy','MIDI out/track2',AutoTimed=True,AutoTime=140) # example to convert MIDI to numpy song1 = midiDM('data/...
[ "omkarbhatt8@gmail.com" ]
omkarbhatt8@gmail.com
b941e3778cce7c032e8bbb9c7e53f2d3359b1853
39cdc11a378e2e8a0e9ab68157cd780efa820e21
/news_scrape.py
857c82c81d15997550979486b42e659999b0d9e3
[]
no_license
wcstrickland/news_api
29f1072ba5fde5d0040b09b1855ff60921488f6c
83cf8998909e2e13381c790096c0b380e5c8d5a0
refs/heads/main
2023-02-12T14:33:19.998087
2021-01-13T16:33:00
2021-01-13T16:33:00
309,218,891
0
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
from bs4 import BeautifulSoup import sqlite3 import requests from datetime import datetime, timedelta # noinspection PyUnboundLocalVariable def insert_values(print_time_, topic_, headline_, summary_, url_): """ a semi hard coded function to insert values into a db :param print_time_: :param...
[ "noreply@github.com" ]
wcstrickland.noreply@github.com
c75f1ef7743e5bb95c90b5855fb06779d536b8e7
097aba75cf2454977ab0481b9e39edc183effc22
/.svn/pristine/2a/2a1731c6088f103c91ca1143ae7e62358c3062f4.svn-base
ff9a34eacf11e49bb0956de2b315cf208ed09503
[]
no_license
rvoorheis/PrintLabel
0b8d4228ed10e154b0fea3c6dbbfb0cfe9282456
0bf587de54bbc31273b432836c1b01cbb4cf08b0
refs/heads/master
2020-04-10T18:15:45.926145
2019-05-01T17:19:17
2019-05-01T17:19:17
161,198,671
0
0
null
null
null
null
UTF-8
Python
false
false
718
__author__ = 'rvoorheis' import os class TempFile: tempfilename = "" def __init__(self): self.tempfilename = "temp.job" def writetempfile(self, rc, portname, labelfilename): try: f = open(self.tempfilename, mode="w") f.write('LABEL "' + labelfilename + '", "'...
[ "rvoorheis@zebra.com" ]
rvoorheis@zebra.com
7219eb06c8474ca221029a35808310a692c832b3
a9679a1fa26993fb1b83ab96b2fbd9477f2a087d
/musics/serializers.py
ccf670927a1b6f18a058ce3cb7ef50c230ba772b
[]
no_license
toastding/restframework
def60fb711d9146a613ca5b913a72f86e8799d48
fd27e95807bf9166c263975e99e64b67bc734fc4
refs/heads/master
2022-11-16T10:46:49.756920
2020-07-15T12:15:54
2020-07-15T12:15:54
279,859,995
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
from rest_framework import serializers from musics.models import Music from django.utils.timezone import now class ToUpperCaseCharField(serializers.CharField): def to_representation(self, obj): return value.upper() class MusicSerializer(serializers.ModelSerializer): days_since_created = serializers.SerializerM...
[ "ding02211995@gmail.com" ]
ding02211995@gmail.com
80c7996609985e6f8a0ac4b2e4e4919e6ea9b0af
ec7a35ee0c1328b7c6dc42f8a49003a2545933a6
/school_management/urls.py
202b7754ed887e2bd88178e62ed0cc2374b8b5e7
[]
no_license
kabir2350/school-routine-mngmnt-system
e15d8cfe0cc1f0c4e9f8114f6a826008b836f20e
c2f64056b1ce64ecaa411d3d3848c53be350e334
refs/heads/master
2022-08-01T08:53:26.640712
2020-05-16T14:17:24
2020-05-16T14:17:24
262,381,694
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('accounts/', include('accounts.urls')), path('courses/', include('courses.urls')), path('', include('pages.urls')), path('search/', include('search.urls')), path('classes...
[ "intisar2350@gmail.com" ]
intisar2350@gmail.com
9202bbc7dd9390c64d6fd1a375263d510233e64f
ddf6419a7ab4132218022410ff4dff1fe444e850
/infrastructure.py
4dc3bc16cf8c418a4299c0955c5bff4197c1a151
[]
no_license
maxdml/kanopya-ci
483f0d839a6b1e3a687ee92a9333448b3f51687e
b04c7a7727bda544cb7d7ef92df3da6600b6944e
refs/heads/master
2021-01-20T01:35:33.099318
2013-12-16T13:40:05
2013-12-16T13:40:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,168
py
from vagrant import VagrantEnvironment from vboxmanage import VBoxManage from shell import LocalShell from hpprocurve import ProcurveSSHClient from deploymentsolver import DeploymentSolver import utils from string import Template import subprocess import os import logging import shutil import random import json import...
[ "sylvain.baubeau@hederatech.com" ]
sylvain.baubeau@hederatech.com
ec7aca71bb9e1ef513133c86ac9318fa448dbedf
452a069d328ee36b27a5587c04f36a8b2b16682f
/basic-algorithms/problems-vs-algorithms/project/problem_1.py
07238f7f1fc7c8b3d9cb5d5b53c7d75e1bcd9e27
[]
no_license
annahra/dsa-nanodegree
f0b437817d5b43cb51f60eb95a8152fd7a83c6dc
462950b1148e6dc984a086a3f1fb762ea9ed5271
refs/heads/main
2023-04-17T03:31:44.336392
2021-05-01T03:07:30
2021-05-01T03:07:30
333,619,594
0
0
null
null
null
null
UTF-8
Python
false
false
2,014
py
""" Problem 1: Finding the Square Root of an Integer Version Date: April 7, 2021 Will only evaluate positive integers. If a negative integer is inputed, the algorithm will return None. """ def sqrt(number): """ Calculate the floored square root of a number Args: number(int): Numbe...
[ "annah.ramones@gmail.com" ]
annah.ramones@gmail.com
b3ed9c46c6aacf92d1ce00282e746fe372cad4e6
75997041750c215d6e78bc4a5e33a645c7b0d47a
/accounts/migrations/0001_initial.py
777697cc115c2f493d5324f9ba816e1acef59f54
[]
no_license
jjnanthakumar/django_tenant_react
79112b08c27c77356ba24327eb129281a095b0bd
f3ddd2370abe2d92c5b8b25ef73a127bbdb5453b
refs/heads/main
2023-04-20T09:34:10.872043
2021-05-09T15:21:14
2021-05-09T15:21:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,843
py
# Generated by Django 2.2.16 on 2021-01-19 08:38 import django.core.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ mi...
[ "majidsideahmed@gmail.com" ]
majidsideahmed@gmail.com
ea8ad0e9f46cef45bace88cd3d2a2558be6733cd
4f20386eaa153326d70dbd90634f114a6fa8bbda
/tweetsWInstructions.py
27e1e9404b8d704ccb12772fc3d44051f8529bbc
[]
no_license
PopGenHamburg/DaphniaStressordb
a1db69bf3ae323ea50ef0509601553087af02469
f5ce4212ec583924ba8c3aae07fb2800c3732ee1
refs/heads/master
2020-04-01T07:41:41.423077
2018-10-30T14:23:01
2018-10-30T14:23:01
152,999,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,666
py
#!/usr/bin/env python # encoding: utf-8 import sys sys.path.append ('/usr/lib/python2.7/dist-packages') import tweepy #https://github.com/tweepy/tweepy import csv #Twitter API credentials #to get the authorization credentials to access Twitter API, follow these steps #Go to https://apps.twitter.com/ (Twitter Applica...
[ "mathilde.cordellier@uni-hamburg.de" ]
mathilde.cordellier@uni-hamburg.de
5ea798940494c0350c830a8ff9c3708b4261fdf3
4d2952580873bb2c92e0e75837f5589a2b41f77d
/part-02/ch-06-sorting/06-05.py
a1531f27fc905e40d7b538b046f29aaee7215384
[]
no_license
junxdev/this-is-coding-test-with-python-by-ndb
0566cadf70c0b9d63669cc5f87585e3b3253aef1
ad9c32642f82fb04cc28ff1a9fa8843872328ce7
refs/heads/master
2023-01-11T21:52:58.160613
2020-11-16T12:32:17
2020-11-16T12:32:17
307,381,717
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
import time start_time = time.time() array = [5, 7, 9, 0, 3, 1, 6, 2, 4, 8] def quick_sort(array): # 리스트의 크기가 1 이하면 종료 if len(array) <= 1: return array pivot = array[0] # 기준 tail = array[1:] # 기준을 제외한 리스트 left_side = [x for x in tail if x <= pivot] right_side = [x for x in tail if x ...
[ "junxdev@gmail.com" ]
junxdev@gmail.com
1b86081eae191b4f3ff11c3913e2cf444725178d
9ec0b4634f354db7058fc1a3124ddb493f12f402
/Services/migrations/0003_delete_user.py
dc16269d3bddef86c8e6a86e6f77b59cb4879b95
[]
no_license
ieSpring98/Joboonja-Services
7475a250275d9f9713f1c92e0e7cc15f7e82af27
d427a0b775f0ab8b30b5ccd1c7492c6f62ad9c74
refs/heads/master
2020-04-21T16:40:45.564247
2019-04-15T19:59:35
2019-04-15T19:59:35
169,710,186
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
# Generated by Django 2.1.5 on 2019-02-08 08:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Services', '0002_project_skills'), ] operations = [ migrations.DeleteModel( name='User', ), ]
[ "amir.karimi6610@gmail.com" ]
amir.karimi6610@gmail.com
51d721d0d20e4647d42a0ff7aa530f4a4615848c
f949422eebc2fc477c886c5dc9c1ea11ed0c680e
/move/link_micrographs.py
8de7d6f7a6667532029e3ee9ee2f4c5897244cb4
[]
no_license
ganjf/em_scripts
1d78693dad22317f416910a2717888efde1b8856
bf48a868f6a7c218110e2a925bd5afc3c6bb7f15
refs/heads/master
2023-08-28T19:44:26.541234
2021-10-03T04:17:49
2021-10-03T04:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,738
py
#!/home/jhdavis/anaconda3/bin/python __author__ = "Joey Davis, www.jhdavislab.org" __version__ = "1.1" import os import sys import random import argparse def add_args(parser): parser.add_argument('root_dir', help='The root path for your collection data (should contain GridSquare folders and typically is Images-Di...
[ "jhdavis@mit.edu" ]
jhdavis@mit.edu
81e0350b3c415c32cbd3221da8ceb5e7026cc5cb
971787d3f6dab8944fb1d757f6f49cffbbfeccec
/Day-2/HTTP_Application.py
5f5818418f26b177597420bed7df0816efeb003b
[]
no_license
Mckale/Bootcamp-14
cc2079c0eb14a985d9ec3ccf003ffed615d83b74
a140410c696d1dd333d89f59f72c61f7bda3bf0f
refs/heads/master
2021-01-11T19:30:54.992018
2017-01-19T20:53:01
2017-01-19T20:53:01
79,161,118
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
import http.client Retrieve = http.client.HTTPConnection("www.github.com") Retrieve.request("GET", "/index.html") r1 = Retrieve.getresponse() print (r1.status, r1.reason) data1 = r1.read() Retrieve.request("GET", "/parrot.spam") r2 = Retrieve.getresponse() print(r2.status, r2.reason) data2 = r2.read() Retr...
[ "mckale@github.com" ]
mckale@github.com
2da1c188042cfeff0d58754bdc51c1bf9bd23115
887e3ffe52ab30ad1af49ca6e4389304e74788f3
/examples/relation.py
3d16859b274f5f335e53ee8490aeca18a870e2fe
[]
no_license
wacabanga/pdt
d8235597b11decd13a0eab3d73bca01b5791f5d1
6727b7cb42808e87bb27a512b2d94d67c4d38774
refs/heads/master
2021-01-13T08:25:09.282855
2017-05-23T20:06:30
2017-05-23T20:06:30
71,860,174
0
0
null
2016-10-25T04:42:31
2016-10-25T04:42:30
null
UTF-8
Python
false
false
5,140
py
import theano from adt import * from mnist import * from ig.util import * from train import * from common import * # theano.config.optimizer = 'Non e' theano.config.optimizer = 'fast_compile' def relation_adt(train_data, options, relation_shape=(1, 28, 28), push_args={}, pop_args={}, item_shape=(1, ...
[ "zennatavares@gmail.com" ]
zennatavares@gmail.com
450555e846548af0bf06c6a936c89c198a03beea
761e9c1b9a32ea37dd677e6b5877418b90f49c88
/code_clone_detection/CodePathsStore.py
eef19b6d84eeb0b3f97bbd20040c9e57dd4e5bae
[]
no_license
panchdevs/code-clone-detection
a91b669184a92a5a351db577cbbc8f64b7a942ed
4cf3b636c4d9745ce0296bc8e36bf2bab6f443a9
refs/heads/master
2021-01-21T13:34:00.596326
2016-03-13T13:49:42
2016-03-13T13:49:42
53,023,685
2
2
null
null
null
null
UTF-8
Python
false
false
1,189
py
#!/usr/bin/python from os import path, walk from .ASTPath import ASTPath from .suffix_tree import SuffixTree import pickle class CodePathsStore: def __init__(self, codebase_path, file_extension): self.codebase_path = codebase_path self.file_extension = file_extension self.code_paths_filepath = path.jo...
[ "prashantbaisla@gmail.com" ]
prashantbaisla@gmail.com
1b5afbb818b734f6aec76bd316f0af965770928a
d6fcacedade0252ab1be1131f4f112a3cadddd91
/adafruit-circuitpython-bundle-6.x-mpy-20210806/examples/rgbled_pca9685.py
9f40b913544e586136603f52e344ace062c19266
[]
no_license
ahope/iot_clock
cb4e549e14cac4b8a3fdf3c7fe878226c1d4eca0
9345797233c9b7b5b46c8c1c67527cd904caa534
refs/heads/master
2023-07-30T05:34:33.174576
2021-09-09T18:02:04
2021-09-09T18:02:04
393,815,709
1
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT import time import board import busio import adafruit_pca9685 import adafruit_rgbled # PCA9685 Initialization i2c = busio.I2C(board.SCL, board.SDA) pca = adafruit_pca9685.PCA9685(i2c) pca.frequency = 60 # PCA9685 LED Channe...
[ "ahslaughter@northeastern.edu" ]
ahslaughter@northeastern.edu
ec73c0d48278c25b98343f03bd144de810da00f6
c3e625da16e9faf495434fb1bb3c3c598c200475
/Regressão Linear - biblioteca/regressão.py
ba157114fb71c037d1a6b0acd8f172f1565c8713
[]
no_license
bfrancd236/Python
3195c184c868569f572aaac1396705245305ce0f
80d58ec64a93e0d3cd33e0a5c949374c840b4631
refs/heads/main
2023-07-10T07:30:38.993846
2021-08-10T20:48:21
2021-08-10T20:48:21
394,685,575
1
0
null
null
null
null
UTF-8
Python
false
false
849
py
import numpy as np from sklearn.linear_model import LinearRegression quantidade = int(input("Informe a quantidade de variáveis do modelo: ")) x_ = list(range(0,quantidade)) y_ = list(range(0,quantidade)) print("Informe as ", quantidade, " variáveis dependentes: ") for n in range(0, quantidade): print("Informe o v...
[ "franciscogedesnet@hotmail.com" ]
franciscogedesnet@hotmail.com
2ab054d3bef8e63e5d980e090a83116fd5fedea3
eac5ebfa142b70b7c95ac56f0a0b3051447a4d11
/ProBenchBurner.py
4a5bca9ee326a629b13bd8d48f692723b4934d75
[]
no_license
TheSeeven/pro-bench-burner
284cbd518d44a93458d315089f851aefe18be23b
8088a53b7faa021c955f583bd1c1bced379a33f9
refs/heads/master
2023-04-29T18:01:00.328130
2021-05-24T13:51:00
2021-05-24T13:51:00
354,531,403
0
0
null
null
null
null
UTF-8
Python
false
false
7,309
py
from numpy.random import randint, default_rng, set_state from time import perf_counter, sleep from multiprocessing import Lock, Process, freeze_support, Value from GUI import Interface import threading import os import psutil TEST_REPETITION = 3 # GUI TEST_DIFICULTY = 50000 # GUI TEST_SIZE = 5000 # GUI NUMBER_OF_...
[ "perianu.leon@outlook.com" ]
perianu.leon@outlook.com
282502a362852b945b41579e152fc9e50dd941db
1f02a75b496122a5be74c3f636c972f54bcae6f6
/flask-blog/sql.py
3fd3820f15042c3af8f4fd9bfd6f7074ff1bbeaa
[]
no_license
TheDancerCodes/Birika-Tutorials
f5941f88615e4887d665fb3371678d66db424441
47fa38191ed6f0758794f845b28cc84d5f71188e
refs/heads/master
2021-01-21T11:19:11.721789
2017-03-24T22:19:53
2017-03-24T22:19:53
83,554,712
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# sql.py - Create a SQLite3 table and populate it with data import sqlite3 # create a new database if teh database doesn't already exist with sqlite3.connect("blog.db") as connection: # get a cursor object used to execute SQL commands c = connection.cursor() # create the table c.execute("""CREAT...
[ "rojtaracha@gmail.com" ]
rojtaracha@gmail.com
cc23a1e5c8b8d613e361b175a0fb49c35abf5cf6
58aeab0094204015648135dc8e99009172e87150
/Xiao_bai/wsgi.py
cfaa56b1024fbb86d1646f64877922308679f2e9
[]
no_license
devilhan/ebook
7df2c28f42dfeccd15a470e4e72121b6e85f63d7
c7c151fafa23759e599845823d4b81a2f0929ca9
refs/heads/master
2023-02-04T07:35:42.154709
2020-12-20T16:18:12
2020-12-20T16:18:12
323,112,445
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
""" WSGI config for Xiao_bai project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "btmeiju@126.com" ]
btmeiju@126.com
a313bebefeefd285f55734e670f9e8fe5bb455f2
6c609416e491687b0f578e70baf69e15a91af213
/Moj_projekt/Moj_projekt/wsgi.py
7bac2a4b26037e1497b26993e0d39b5f7086c462
[]
no_license
konradcurylo/nieruchomosci--Projekt-Django
86d9aeac2a45894c5a8332344f40b4a3a39f5036
ee754aa12b8fabe8d29516d799ab78b8286917e6
refs/heads/master
2020-05-18T13:52:30.106941
2019-05-01T17:40:22
2019-05-01T17:40:22
184,454,566
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for Moj_projekt 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "uppercut1991@gmail.com" ]
uppercut1991@gmail.com
3d08fc428da24743957eb5c760d0fcc418aedbc4
2ff742bab67990c5df3a9cadb6ea37e0f7056a2e
/adidascs/settings.py
06e5d2988fdea19fcc870b648c6ed4e184872a4c
[]
no_license
ceyhunkerti/adidascs
a62dc52c6149c3b56f094cecf63bfcedb331dcc6
227342f0300f57274ab2556ad9eda16ce44c8114
refs/heads/main
2023-03-30T15:18:21.507518
2021-03-29T22:17:26
2021-03-29T22:17:26
352,798,498
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
from os import environ as env from dotenv import load_dotenv load_dotenv() APP_NAME = env.get("ADIDASCS_APP_NAME", "Adidas Case Study") PAGE_VIEWS_SCHEMA = env.get( "ADIDASCS_PAGE_VIEWS_SCHEMA", "user_id INT, event_date DATE, web_pageid INT" ) PAGE_VIEWS_FILE = env.get( "ADIDASCS_PAGE_VIEWS_FILE", "/hom...
[ "ceyhun.kerti@bluecolor.io" ]
ceyhun.kerti@bluecolor.io
f918545ce35f839d36c5e887095386cc6014665a
30cdaf2a544c1cfb39bfaec56c9356573ea2463d
/learning_site/courses/models.py
8b322a1abfd9f431f1da97f560e8c8fb1c993854
[]
no_license
michaelnwani/python
d6e8ef39840e33a9927de171ab38a96351dbc73b
8e344ed0891372c547f44cc4d3beb6c3de86bcbc
refs/heads/master
2021-01-20T22:44:30.413168
2015-10-08T22:02:22
2015-10-08T22:02:22
42,347,714
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
from django.db import models # Create your models here. class Course(models.Model): created_at = models.DateTimeField(auto_now_add=True) title = models.CharField(max_length=255) description = models.TextField() def __str__(self): return self.title class Step(models.Model): title =...
[ "kmichael24@gmail.com" ]
kmichael24@gmail.com
fbc37d0881d0e6722692b00194bbbe3e164e9ad6
8521639df898f4186a0c9c74f96d1e4e38fe358a
/mysite2/oto/models.py
865270b393206cf958b90a8bd75eebb4d707d169
[]
no_license
miyadream250/django
5514d7454463ef47b04d6c46ea95c120ef84537b
e8509234377202e9dacbcc1d4ac9281701c93af9
refs/heads/master
2023-05-27T19:38:06.277812
2021-06-01T03:12:58
2021-06-01T03:12:58
371,248,212
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from django.db import models # Create your models here. class Author(models.Model): name = models.CharField("作者姓名", max_length=15) class Wife(models.Model): name = models.CharField("妻子姓名", max_length=15) author = models.OneToOneField(Author, on_delete=models.CASCADE)
[ "miyadream250@gmail.com" ]
miyadream250@gmail.com
2af6f6fc860cb085fa6aff4f4516914865179a48
5dd47abf7061201d9378e73e51f08fbb314ba2fd
/envdsys/envdatasystem/migrations/0045_alter_platform_platform_type.py
c55f9fd9afb575fc4819aa67554abbccffa73e55
[ "Unlicense" ]
permissive
NOAA-PMEL/envDataSystem
4d264ae5209015e4faee648f37608d68a4461d0a
4db4a3569d2329658799a3eef06ce36dd5c0597d
refs/heads/master
2023-02-23T22:33:14.334737
2021-07-22T01:09:16
2021-07-22T01:09:16
191,809,007
1
0
Unlicense
2023-02-08T00:45:54
2019-06-13T17:50:03
Python
UTF-8
Python
false
false
572
py
# Generated by Django 3.2.3 on 2021-07-15 15:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('envdatasystem', '0044_auto_20210715_1511'), ] operations = [ migrations.AlterField( model_name='platform', name='pla...
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
ba5a34cd37d73a6d30461971014edb713cfd7d99
a9eadc9f1967fd02fff9edb7ba7e4f0abd82ef92
/B4APItest/login_register.py
d4cbdfe962b4c926a9ebe54bdd8f74afdfff4d6e
[]
no_license
Zhenjunwen/mohu_testcase
2c1eea8067381ba79dfd7ae3b3ff7b50ae37f2ab
5276405d22ece61f1785c74cda288f868fdb73e1
refs/heads/master
2022-12-17T00:31:02.057819
2020-09-04T02:03:29
2020-09-04T02:03:29
249,363,262
0
0
null
null
null
null
UTF-8
Python
false
false
18,009
py
#coding=utf-8 import json from API_test import RunMain import hashlib from B1APItest.authentication_KYC import authentication_get_kyc_info from DB_config import DB from B4APItest.signature import get_signture from log import out_log import configparser cf = configparser.ConfigParser() #配置文件路径 cf.read("F:\mohu-test\...
[ "448095483@qq.com" ]
448095483@qq.com
9c40a44f5eb4db82441f18146952922fa94dd388
c19ba1a6abf31ec22626e67e405410268bc085e7
/src/ida_scripts/analyze_stack_smash_gadget.py
97a550ca67fab37e56e3b2f1e332e9ef4fde3d98
[ "MIT" ]
permissive
yifengchen-cc/kepler-cfhp
be2a5beb22ffa0c289127d38e7b14cc52f3aceed
e530583fa96a99c53a043f6fd5cd67c63509731d
refs/heads/master
2020-12-05T08:43:28.826487
2019-09-04T02:49:23
2019-09-04T02:49:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,626
py
from idautils import * from idaapi import * from capstone import * import pickle isdebug = True # TODO analyze how many stack smash has stack canary # TODO analyze how many stack smash has quick exit path # ============================================================ interested_mnem = ['mov', 'lea'] interest...
[ "ww9210@gmail.com" ]
ww9210@gmail.com
6f21499e60f1307597647a0c5fde9fb2570e53f9
a7a178f09cb54ad5868035dd9c6c103d1f3c272d
/Events_Managements/asgi.py
96e750f3802af4d7552a54cb10429920f6572d66
[]
no_license
ajay-pal1/Event_managements
a1c5ed8d26d72856cee75a46c45de6bd2718fc81
5b00dfe47fe570b6ca8b5d961f3bc8bfd436ffd9
refs/heads/main
2023-09-04T23:07:28.141047
2021-10-30T11:00:16
2021-10-30T11:00:16
422,849,049
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" ASGI config for Events_Managements 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('D...
[ "ajay.pal@artdexandcognoscis.com" ]
ajay.pal@artdexandcognoscis.com
e91a85ba4e6574777780f850dbcb3d70762b0513
688b1e65d07f03f41edb9fe267d3963f417295db
/script/src/proto/delta/ilist_pb2.py
50ece90dcf0dd76bdac8af9160db65226c011a63
[ "Apache-2.0" ]
permissive
poeliu/Pinso
3dee4ae38d6dab6c59a87ef21f558a964eb8e899
b084597389fcbad4256a916d13e8601cff216d1d
refs/heads/master
2016-09-05T20:56:29.489368
2014-05-23T14:18:56
2014-05-23T14:18:56
null
0
0
null
null
null
null
UTF-8
Python
false
true
2,528
py
# Generated by the protocol buffer compiler. DO NOT EDIT! from google.protobuf import descriptor from google.protobuf import message from google.protobuf import reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) DESCRIPTOR = descriptor.FileDescriptor( name='delta/ilist.prot...
[ "poe.liu@gmail.com" ]
poe.liu@gmail.com
60be81c8dd434704a5ccd2d8e54c0843f89fec5e
bdd138968bd78977a5aaa3e078fe71839300c114
/myproject/oneplace/migrations/0009_auto_20170206_2233.py
5ba27233eea8d80ec388795b309e78574234ad9d
[]
no_license
thecodingregimen/django
2e2f1a3bf9cd38ead640d419f6b2555e6126307f
5121d186868e6d3cf436faba51760d99020a0b87
refs/heads/master
2022-11-26T18:37:13.783244
2017-03-19T00:18:06
2017-03-19T00:18:06
80,758,793
0
1
null
2020-07-23T12:41:52
2017-02-02T19:07:26
Python
UTF-8
Python
false
false
491
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-02-06 22:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('oneplace', '0008_auto_20170206_2036'), ] operations = [ migrations.AlterField...
[ "qtech411@gmail.com" ]
qtech411@gmail.com
0c0a7a80c392b2749355cb385c271db31830b5f9
d4837c5842d8b34485cb86327d399e65694c37f6
/generate_pdf.py
49c5094259b74d7cb13d017d6d2a141c65d5d07a
[]
no_license
inoxevious-inonit/vad-app
337615d88f03e28d11acecbcf2fab64606270a3b
31268ca15440852557340673b5c8384fcc9b8078
refs/heads/main
2023-06-12T20:13:48.824081
2021-07-01T13:49:20
2021-07-01T13:49:20
376,505,471
0
0
null
null
null
null
UTF-8
Python
false
false
4,470
py
"""Invoice generator This shows how to use our preppy templating system and RML2PDF markup. All of the formatting is inside invoice.prep """ import sys, os, datetime, json from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfbase.pdfmetrics import registerFont from rlextra.rml2pdf import rml2pdf import jsond...
[ "mpasiinnocent@gmail.com" ]
mpasiinnocent@gmail.com
30095eb4666e57b9fffc42c3dd7f9a109795b657
66f383fec502102bfec58ed8cb9c43a71e599c55
/constants/http.py
8bc1c8cf25067190ff39dfa86b9748ba140130a6
[ "MIT" ]
permissive
hacktoolkit/django-htk
0a984a28f7fbc7eed8e2b1975d210792ddbee829
935c4913e33d959f8c29583825f72b238f85b380
refs/heads/master
2023-08-08T11:52:54.298160
2023-07-21T19:08:37
2023-07-21T19:08:37
15,924,904
210
65
MIT
2023-09-08T23:59:28
2014-01-15T04:23:40
Python
UTF-8
Python
false
false
1,995
py
class HTTPStatus: """Convenience class to provide named HTTP Status codes References: - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status - https://httpwg.org/specs/rfc9110.html#overview.of.status.codes """ # Informational responses CONTINUE_ = 100 SWITCHING_PROTOCOLS = 101 ...
[ "jontsai@users.noreply.github.com" ]
jontsai@users.noreply.github.com
236372a05758c4850864607b237ee9c0aa6d9b63
a5704a553e910a25e9f6b824b2356b3b51ad96b9
/Python/python-DataAnalysis-master/简单绘图/shop_visual/shop.py
09a033a755eff1e33b1bfac10c4f6f6c53c15c5a
[]
no_license
ZhuoZhuoCrayon/my-Nodes
19ab1ce19ab0c89582071c3ca318f608f8ac94de
54119f3c141017b5b2f6b1c15c9677ba9fbb564b
refs/heads/master
2022-12-20T04:40:50.317306
2021-01-22T12:18:24
2021-01-22T12:18:24
200,957,098
57
18
null
2022-12-16T07:48:12
2019-08-07T02:28:51
Java
UTF-8
Python
false
false
5,046
py
import pandas as pd import numpy as np import matplotlib import matplotlib.pyplot as plt """ (1)绘制所有便利店的10月的客流量折线图。 (2)绘制每类商家10月份的日平均客流量折线图。 (3)选择一个商家,统计每月的总客流量,绘制柱状图。 (4)选择一个商家,统计某个月中,周一到周日的每天平均客流量,并绘制柱状图。 (5)选择一个商家,绘制客流量直方图。 (6)选择一个商家,绘制客流量密度图。 (7)统计某个月各个类别商店总客流量占该月总客流量的比例,绘制饼图。 df = pd.read_csv('000917.csv',en...
[ "873217631@qq.com" ]
873217631@qq.com
8de25b31dd7c1c42830a58cf0adb9de57891e6b8
bd7109357c6db56ed1bc3a0d29e85d7d96b12a49
/feature_extraction.py
dcf91ae25f005ffe0a69f08201fa91a7be225869
[]
no_license
Siraj2602/image_to_paragraph
f396e8c62b8c4186eb29e867281f5e3e41ea08d6
57be509659a0fd0ef5e01b7a653eb93757cbbde6
refs/heads/master
2020-06-17T01:55:48.748688
2019-07-08T07:44:06
2019-07-08T07:44:06
195,761,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
from os import listdir from pickle import dump from keras.applications.inception_v3 import InceptionV3 from keras.preprocessing.image import load_img from keras.preprocessing.image import img_to_array from keras.applications.inception_v3 import preprocess_input from keras.models import Model import string from ...
[ "noreply@github.com" ]
Siraj2602.noreply@github.com
8734025eab0daa7c9219611efee7b822e43d17a0
eef6a248944ec6be4a6bde967201d58cb79d55c0
/FDImage.py
542c2d1f4dd2052302acb979961b54cfa13f42fc
[]
no_license
PengLei-Adam/FD_Adaboost
2f270a88ea5124b5baa0db53128901d5d7f11102
078cac954105714b1becf70c2bccc5b46abcf4e5
refs/heads/master
2020-07-26T19:00:57.394147
2016-11-20T08:09:07
2016-11-20T08:09:07
73,717,646
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
# -*- coding: utf-8 -*- """ Image Object for image processing based on numpy as the data matrix. Functions : Convert source image to integral image. Created on Mon Nov 14 21:59:22 2016 @author: Peng Lei """ import numpy as np import cv2 class FDImage: def __init__(self, img): if isinstance(img, ...
[ "ftgh2003@126.com" ]
ftgh2003@126.com
2d33a0e6a6d25870fa3f43b045afab66c08ac987
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02582/s221094084.py
d5bd0a88d18d43d3a874b7f28a7fcdedb3227cbf
[]
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
160
py
s = input() ans = 0 strek = 0 for i in range(3): if s[i] == 'R': tmp = "R" strek += 1 ans = max(strek, ans) else: strek = 0 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9a494befbb53a4cc9524ec697d3bc181766a9355
8316c4457984c46aa1bea608b3514731a2beb7b5
/news/migrations/0002_auto_20151029_1651.py
076a0578a2448c7cee723dab88ae67d71af44e93
[]
no_license
ssalam1/viewmusic
11ba245af7d4648d14692cf7444fc9983a083646
da2c2465e2384990a721fb6248ce8a30b008c8ab
refs/heads/master
2021-01-10T03:43:00.566887
2015-11-01T18:41:59
2015-11-01T18:41:59
45,352,699
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0001_initial'), ] operations = [ migrations.AlterField( model_name='album', name='name', ...
[ "ssalam@localhost.localdomain" ]
ssalam@localhost.localdomain
419b6708511d0c32fe52f52506b90123b3adbb71
10a18a1d5ef8d62200acdcee0fe766cb8f71f96e
/Oedipus/utils/graphics.py
680150007330448992cf9d2436eaf6d83270b465
[ "Apache-2.0" ]
permissive
ronhab/Oedipus
0858b0b3c8fab8984d74f642f922e598c43f9994
abe2848643bbf4cb686836feb5b332cae31e67e0
refs/heads/master
2020-03-25T07:24:13.980063
2018-08-15T21:44:15
2018-08-15T21:44:15
143,558,746
0
0
null
2018-08-04T19:50:26
2018-08-04T19:50:26
null
UTF-8
Python
false
false
1,047
py
#!/usr/bin/python ################### # Library Imports # ################### from Oedipus.utils.misc import * import time ###################### # Defining variables # ###################### # Gray, Red, Green, Yellow, Blue, Magenta, Cyan, White, Crimson colorIndex = [ "30", "31", "32", "33", "34", "35", "36", "37",...
[ "salem@in.tum.de" ]
salem@in.tum.de
45fe16babb559ede512954ceed7cc060f672490a
3f23e73376673c8a7e62d592a2317734ebd8852a
/gcloud/taskflow3/migrations/0014_auto_20210319_1757.py
4dd1264ac1d16028c87d99223a66e3f0eb46d744
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "BSL-1.0", "Apache-2.0" ]
permissive
AmosLeee/bk-sops
cfd07820cff08d48c358822c3b274353ec750351
4e6291771c77d8e51632c8485dbeca812a85b3e0
refs/heads/V3.6.X
2023-05-29T18:22:05.749290
2021-06-18T07:50:56
2021-06-18T07:50:56
361,690,448
0
0
NOASSERTION
2021-05-08T02:35:03
2021-04-26T09:23:35
null
UTF-8
Python
false
false
972
py
# Generated by Django 2.2.6 on 2021-03-19 09:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("taskflow3", "0013_auto_20210125_1943"), ] operations = [ migrations.AlterField( model_name="taskflowinstance", name=...
[ "1158341873@qq.com" ]
1158341873@qq.com
6fcf1097b8c7d5af9dfb84ccfbfbfc704e1a9809
deb38059226b0a4b4d9ef258418d58a84a6720c2
/Python3/Lecture_03_Functions/program.py
70d52849a503a2a0c7a3134192dbc728d755baea
[]
no_license
atanas-bg/SoftUni
38745ac8d76f347ce5d7938d7a24f4fc94f8ae9c
d22a0f56d49d0a8092c2cf04fc98db3dc83b7eb0
refs/heads/master
2021-05-04T11:07:38.963942
2017-02-17T11:56:23
2017-02-17T11:56:23
50,620,361
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
# import functions from other python files from demo_package import calling_functions from demo_package.demo_functions import div_mod import pytz print(calling_functions.convert_fahrenheit_to_celsius(10)) print(div_mod(5, 2))
[ "atanas.v.atanasov@gmail.com" ]
atanas.v.atanasov@gmail.com
eb84367a388c566b2ffcd837573927cf79008d5e
cd1026dc0c93e7c6ae244794a542ccf3e6424516
/file_upload/backadmin/apps.py
e1451b1e2ced2979da77345815eeca29b5038a59
[ "CC-BY-4.0", "Apache-2.0", "LicenseRef-scancode-other-permissive" ]
permissive
Skeletrox/usb-backend-pinut
6a6990acb924c940c2dca9f9c842264391bc89d8
9d1be58058d283ed8daab8c92bcd1323adcb83a0
refs/heads/master
2021-06-05T07:16:15.976640
2020-03-16T22:06:08
2020-03-16T22:06:08
95,878,061
0
1
null
2017-08-15T11:29:22
2017-06-30T10:35:58
CSS
UTF-8
Python
false
false
158
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class BackadminConfig(AppConfig): name = 'backadmin'
[ "android.svr@gmail.com" ]
android.svr@gmail.com
e3cdba3a9fb8ebdc8badc36483e3f79339519048
7bef33c18b71e428ef78fdfaa5621a05bc023f2b
/paco/__init__.py
53217c2272226639a3245e5172cfd38406174bbc
[ "MIT" ]
permissive
strongbugman/paco
a3ab69ba249a465c198fa6f66197a68a3e7ae534
2358e3130b882e20ab89660122fc31cd6ba5a912
refs/heads/master
2021-01-24T11:45:23.431346
2018-02-06T15:25:23
2018-02-06T15:25:23
123,099,089
1
0
null
2018-02-27T08:40:57
2018-02-27T08:40:56
null
UTF-8
Python
false
false
1,518
py
from .map import map from .run import run from .each import each from .some import some from .race import race from .once import once from .wait import wait from .curry import curry from .wraps import wraps from .apply import apply from .defer import defer from .every import every from .until import until from .times i...
[ "tomas@aparicio.me" ]
tomas@aparicio.me
b1db45abc934d873b5f7b170f521e93e5cc96acc
bbe49335f58e91632d1f062b559f94034d5faa04
/test.py
d5e2a848a7eacc6fa5f8409185950cd7e6589935
[]
no_license
lemquan/telemetry
5ced3c140d86f39da160fd72a4d332cf52e8ee62
032510d0ff0d5e1b7ec76d247e71b900923ccf16
refs/heads/master
2021-01-01T03:35:17.460985
2016-04-20T16:34:45
2016-04-20T16:34:45
56,703,674
0
0
null
null
null
null
UTF-8
Python
false
false
7,173
py
import pandas as pd import numpy as np import sys import time import pickle from sklearn import cross_validation, linear_model, metrics, ensemble, grid_search, svm, decomposition from scipy import interp from pprint import pprint if sys.platform == 'darwin': import matplotlib as mil mil.use('TkAgg') impo...
[ "le.m.quan@gmail.com" ]
le.m.quan@gmail.com
65e2c31fd6e5b5f7cb0a8312d0b149d2474900c4
c1aa240e35a7a8355a7ca9dcd546bdb6446b8509
/venv/Scripts/easy_install-script.py
5bdae166e18d1f797e8c10ec64131f06edaaccc7
[]
no_license
LGSW/Algorithms
a713685c737b7f7578704cd9c859e98a411e0a59
1cdf9caf74299c36735069fef41e8e95f4ed68fc
refs/heads/master
2020-03-24T22:21:58.025620
2018-08-12T03:23:28
2018-08-12T03:23:28
143,058,806
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
#!C:\Users\cxu29\PycharmProjects\Algorithm\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.0.1','console_scripts','easy_install' __requires__ = 'setuptools==39.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|...
[ "41303602+LGSW@users.noreply.github.com" ]
41303602+LGSW@users.noreply.github.com
1cd6e2ba2ad679213fc83e9dc4ab4cdf8ce01f01
a80963fbac8c0edcef5b1b9bad67a4b5913cd569
/itertools/itertools_permutations.py
3fb99df8b7a0b85c63513bce70fb251b2364cd9d
[]
no_license
manurp/Python_programs
946877caf93a2ff0239c68dc4e8e02c72fe6f156
1a0c896b05b72afee7a48dd1bc2bef2aa7ffe0af
refs/heads/master
2020-06-28T01:22:59.140092
2018-09-01T17:03:18
2018-09-01T17:03:18
97,080,367
2
0
null
null
null
null
UTF-8
Python
false
false
343
py
from itertools import permutations s,n = input().split() print(*[''.join(i) for i in permutations(sorted(s),int(n))],sep='\n') #Alternate codes # from itertools import permutations # li = input().split() # strli = list(li[0]) # strli.sort() # for i in permutations(strli,int(li[1])): # for j in i: # print(...
[ "manojrpoojary@gmail.com" ]
manojrpoojary@gmail.com
a156b7b94128a599bffab93242e0db94981fcbee
03402505d3db3ab7f17457989b6d3e7f606ad3e6
/check_divisiblity.py
9271c903afe369d70956217221d79b556e96b51f
[]
no_license
arunatuoh/assignment-code
f1741c1c4e7651727eb3e0af841dccbffb89e8ef
33aa3af0ba0fa58664498dfa684dac90ee8e506a
refs/heads/master
2020-07-27T11:45:53.397205
2019-09-17T14:54:59
2019-09-17T14:54:59
209,079,224
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
def check_divisiblity(a, b): if a % b == 0: print("a is divisible by b") else: print("a is not divisibla by b") check_divisiblity(2, 4)
[ "barunsingh31@gmail.com" ]
barunsingh31@gmail.com
2ecbcabfa0207fe708c054e99ac7400b259f0576
d335cedebcce56deed2105514fb5ef225301a6be
/tensorflow_v1/01_-_Introduction_to_Tensorflow/02_-_Tensor_operations.py
53ca05e60c03b5ba6b38db8b8b8faa33e5652038
[ "MIT" ]
permissive
vkozyk/deeplearningtutorial
372511aa17d94464a2a5b213beffc48f312a49fd
f020567c91f199c03f811e1e4f5173e5c97c8fa9
refs/heads/master
2023-01-23T11:17:00.427202
2019-05-31T04:45:54
2019-05-31T04:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
import tensorflow as tf g = tf.Graph() with g.as_default(): x = tf.placeholder(tf.float32, [2, 3], 'x') #float matrix of 2 rows and 3 columns #Get the shape of a tensor shape = tf.shape(x) #Get a sub-tensor subtensor = x[1, 1:] #Concatenate two tensors together concat = tf.concat...
[ "marctanti@gmail.com" ]
marctanti@gmail.com
ca9abec9b8b8df24ca336063d5984fce8ce2253b
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2019_01_01/aio/_configuration.py
3206a8df47a52fd344cf2c17f5f8a42f0082e9b4
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
3,513
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
813d7a9fca333f388a964b23cdee31a7552c8682
5f9226f4523aec8e769e753fb3bff61cb2e4209d
/examples/cm360_report_replicate_example.py
9f0b3ef9c33b91ef1ff37eae6e5a030bf250034e
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Ressmann/starthinker
813c699c9d5fa6bce0380009be07b36dc8629cc7
301c5cf17e382afee346871974ca2f4ae905a94a
refs/heads/master
2023-08-30T21:10:34.748144
2021-10-06T14:01:26
2021-10-06T14:02:12
299,899,333
0
0
Apache-2.0
2020-09-30T11:38:27
2020-09-30T11:38:27
null
UTF-8
Python
false
false
4,971
py
########################################################################### # # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/l...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
8ba161f28f3d05e9d6a6981f3eee775b45379723
1a2d2d539ce0471483ae3f903636eb28697ce7ec
/KEDD/cowbull.py
09396032a658ae14351dde7336a7a84b84529123
[]
no_license
Lovi96/ccstuff
84bdc7ca8426d183a99b1917a0076b212c230772
eddf002c5bff9173314787a2421b9e6edee42a54
refs/heads/master
2021-01-11T04:27:54.420495
2017-01-11T09:27:51
2017-01-11T09:27:51
71,187,463
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import random random_number = random.randint(1000, 9999) print(random_number) random_number = str(random_number) while True: cow = 0 bull = 0 user_number = (input("agyál számt")) for num in range(0, 4): if user_number[num] in random_number: cow += 1 if random_number[num] ==...
[ "m.lovacsi@gmail.com" ]
m.lovacsi@gmail.com
efe2f47e0cbd7bf9a4ddb51d94bf165baf8b4479
e731fe303e0dd8378656820d5b9abfbc3f8a4250
/python/object_generate_presigned_url.py
3f6e1adabefc862aaf612da6ffeb7b2f7bc115cb
[]
no_license
rgtech3/101-AWS-S3-Hacks
800e9c424cd8447a6917a97669b94e73488ddfde
ad278809e753c600c43a01c0522990b4e0d9824e
refs/heads/master
2021-09-26T17:29:41.791624
2018-10-31T20:06:01
2018-10-31T20:06:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
#!/usr/bin/python """ - Hack : Generate a presigned url - AWS CLI: There is no CLI """ import boto3 if __name__ == "__main__": client = boto3.client('s3', region_name="us-west-2") bucketname = "us-west-2.nag" post_url = client.generate_presigned_url('get_object', {'Bucket': bucketname , 'Key':'hello1.t...
[ "nmedida@netflix.com" ]
nmedida@netflix.com
58c622d9bbbbdb37475e7b750bde4aac32636342
82306f5d80d6918a9063b4a39045e59b49465cce
/troep/x.py
4215dc32328932e587005d0fca39c534eb5ab827
[]
no_license
khualu/proxem.bot
9a196cb0d8680d413998b387c10f2ab20dca9f6e
052ec6d2614bd9772dafe74e42c03c953645d777
refs/heads/master
2022-12-02T22:49:24.024992
2020-07-30T08:13:05
2020-07-30T08:13:05
283,710,296
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from flask import Flask app = Flask(__name__) @app.route('/') def root(): return 'lol' @app.route('/hallo/<path:name>') def hoi(name): return 'hoi %s' % name app.run(host='127.0.0.1', port=1337, debug=True)
[ "noreply@github.com" ]
khualu.noreply@github.com
c57e987a9e4e517fc97762f5b73de6014b9f5d29
0e4dc82a94563dacb0c25d0d43fbcbe3def21f72
/233-Number-of-Digit-One/Python/Solution01.py
ab4675c5e08f8745a311412b307cb0aa36f04a8d
[ "CC-BY-3.0", "MIT" ]
permissive
Eroica-cpp/LeetCode
3ce3b05b3098e8097c1090e2116b813efaadd2a3
07276bd11558f3d0e32bec768b09e886de145f9e
refs/heads/master
2021-06-20T05:41:30.506250
2017-03-16T05:17:39
2017-03-16T05:17:39
35,126,816
7
2
null
null
null
null
UTF-8
Python
false
false
1,018
py
#!/usr/bin/python """ ============================================================================== Author: Tao Li (taoli@ucsd.edu) Date: Jul 8, 2015 Question: 233-Number-of-Digit-One Link: https://leetcode.com/problems/number-of-digit-one/ ====================================================================...
[ "eroicacmcs@gmail.com" ]
eroicacmcs@gmail.com
a9eaca2c01fc21aabd9883fb710f25dac24d52ff
cdbd49f88466f04dbaab01f80aacda541bf7532f
/setup.py
9398c3b10d19cfc196f522d076707c4e4ac323c0
[ "MIT" ]
permissive
amit2014/qb
60a41a8d17c895e2e128d7559208f19a3c502ad8
0b2a86ecec7e7a7aedd19eaf0feed5f539d38046
refs/heads/master
2021-07-19T13:05:12.649941
2017-10-27T00:40:23
2017-10-27T00:40:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
import os from setuptools import setup, find_packages, Command def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as output: return output.read() requirements = [ 'scipy', 'numpy', 'wikipedia', 'nltk', 'scikit-learn', 'regex', 'fuzzywuzzy', 'py4j', ...
[ "ski.rodriguez@gmail.com" ]
ski.rodriguez@gmail.com
a8d045bdee3518b366525860fa9cfff70c74894b
9ef6c1caeadda2ace8919480c69a1e92eaf4ed78
/data_analysis/reshaping.py
2e6e1962497fc6101f2964c3d3db2559b4decdd1
[]
no_license
sambonuruddeen/TakenMind-Data-science-Internship
feb621d8664db46f339a903b3bf0a5107371f14b
b8a3e3fcf95a0f614c207821359706456b502c72
refs/heads/master
2020-09-23T05:02:19.747591
2019-12-03T15:32:48
2019-12-03T15:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
import numpy as np import pandas as pd from pandas import Series, DataFrame df1 = DataFrame(np.arange(8).reshape(2,4), index=pd.Index(['Uber','Grab'], name='cabs'), columns=pd.Index(['c1','c2','c3','c4'],name="attributes")) print df1 stackdf1 = df1.stack() print stackdf1 df1unstack = stackdf1.unstack() print'unstack...
[ "sambonuruddeen@gmail.com" ]
sambonuruddeen@gmail.com
45dfa9017f465bde1711e5b6d100a3b5f9c631b1
497d9263a78146d3cf5fe5e53af8e83bd70c24ca
/API/OCRLY.py
e91e1ad4594d2d8d84b172330fe1e3ccaaa46f6d
[]
no_license
Codingmace/Tobias
7dc8b63a9033417632ef9be478f00e1e84f965f4
9c17f34df2b69eeaeb42fd74e1d2d26063a589bd
refs/heads/main
2023-03-08T14:57:46.050468
2021-02-22T16:14:01
2021-02-22T16:14:01
337,618,415
1
1
null
2021-02-21T23:25:39
2021-02-10T04:40:41
Python
UTF-8
Python
false
false
443
py
import requests from API.variables import rapidApiKey def OImage2Text(imageUrl, filename): url = "https://ocrly-image-to-text.p.rapidapi.com/" querystring = {"imageurl": imageUrl,"filename": filename} headers = { 'x-rapidapi-key': rapidApiKey, 'x-rapidapi-host': "ocrly-image-to-text.p.rap...
[ "codingmace@gmail.com" ]
codingmace@gmail.com
a6369c509d70147d94a60a37ee79f96c174fbfe8
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2224/60703/255283.py
e93e9f3b29b914560d846d75a99db210b13b0f95
[]
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
392
py
strr = input() max = int(strr) length = len(strr) list = [] for i in range(length): list.append(strr[i]) for i in range(0,length): for j in range(i+1,length): temp = list.copy() tempnum = temp[i] temp[i] = temp[j] temp[j] = tempnum res = int("".join(temp)) if(re...
[ "1069583789@qq.com" ]
1069583789@qq.com
982f5de395f9bcfeb8dd2d31fcaf9e43d4fae2c6
4be2f92639419b492211c9b471949b37f456b0d7
/datos/datos_user.py
72a46b0d9d5d2c8eb1f0e650e47699d5312ef3ba
[]
no_license
AlanHedz/crud-tkinter
717d908b74ceb45b9bf6ea08d552834b051e3fd3
c01a3704f5a1242045b1ead362f8ee2ae1aa088c
refs/heads/master
2020-06-14T12:24:10.135735
2016-11-29T01:50:44
2016-11-29T01:50:44
75,025,339
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
import sys sys.path.append('./models') from table import * @db_session def all_persons(): persons = db.select("SELECT * FROM persona")[:] return persons @db_session def create_person(name, age): Persona(name = name, age = age) @db_session def update_person(id_persona, name, age): person = Persona[id_persona] pe...
[ "conejito.de.oro@hotmail.com" ]
conejito.de.oro@hotmail.com
6954fcaa023b10672767da3151ef564cf6db90e3
dc4e3f408ed08a00f5a016eef1790a9d79a8e3c4
/class_count.py
523e7063f7e2baa3fd8b16a32a601f143e238864
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
dark-nova/twitch_rss
32881ea2e49c9dbcfa99a64dcd1f04cef8cffc31
bd338a30a450ff93c104b7eae0b67b8e3a4e9c93
refs/heads/master
2020-07-18T16:51:02.354647
2019-12-25T06:02:51
2019-12-25T06:02:51
206,279,012
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
import json import sys from collections import defaultdict from html.parser import HTMLParser classes = defaultdict(int) class ClassCounter(HTMLParser): def handle_starttag(self, tag, attrs): for (attr, val) in attrs: if attr == 'class': classes[val] += 1 parser = ClassCoun...
[ "31264514+dark-nova@users.noreply.github.com" ]
31264514+dark-nova@users.noreply.github.com
ab82c2b4dd7d571e278475129f71a924ef7ddd6f
b5d98dee2d1476ac6ff3f511f25a763adeeaf1c0
/manage.py
d10ae475c54d9a7e814ca09e5325e8db44ce1b6c
[]
no_license
mungaihosea/innomed
166e9b2518092e42ef970be30c2fa9a174baf18f
744ab24c904550d3892b071e07fce051e8c696fc
refs/heads/master
2022-12-15T12:20:53.790563
2020-09-20T03:24:56
2020-09-20T03:24:56
296,910,089
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'innomed.settings') try: from django.core.management import execute_from_command_line except Impo...
[ "mungaihosea@gmail.com" ]
mungaihosea@gmail.com
e1fe9f2ea0ae8713a17150c8568ff987412ce618
5d7893168db1267aff32269dabfc80c449d0f778
/euler31.py
4eaa2d6c8dad9a656512af7ef593ed19febf3e27
[]
no_license
bewakes/project-euler
3c89195e7d7e4411c160531dab727cbe5a8e9ce3
75fa890459a2d80dd6064e3867f4a0e1b6996c7a
refs/heads/master
2021-07-06T02:34:45.863000
2020-11-26T08:25:24
2020-11-26T08:25:24
73,823,676
1
0
null
null
null
null
UTF-8
Python
false
false
273
py
# copied from thread def nway(total, coins): if not coins: return 0 c, coins = coins[0], coins[1:] count = 0 if total%c==0: count+=1 for amount in xrange(0,total,c): count+=nway(total-amount, coins) return count l = [1,2,5,10,20,50,100,200] print nway(200, l)
[ "spirit_bibek@yahoo.com" ]
spirit_bibek@yahoo.com
c36ed7efd1cfac3828d1b4eb8795b5b733c4e6e9
17b771514ea773b5d34d31576313a6294562c4c2
/nplm/v0/nplm.py
03b0aaf9e98a6b8f3e7fde5f8a167f9b889df75b
[]
no_license
xuanhan863/neural_prob_lang_model
ce26353073078d1f2f13d645c21b3ffa83206402
dc594773448cb444a1631797855cc5c5e751de05
refs/heads/master
2020-12-24T19:13:04.387633
2015-07-28T05:54:11
2015-07-28T05:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,282
py
#!/usr/bin/env python import cPickle as pickle import gzip import os import sys import time import numpy import theano import theano.tensor as T import theano.sparse as ssp # basically a copy of http://deeplearning.net/tutorial/code/logistic_sgd.py class LogisticRegression(object): def __init__(self, input, n_in...
[ "matthew.kelcey@gmail.com" ]
matthew.kelcey@gmail.com
f90ac858e77ca2ab8f32483631a5e04933753a70
47d8d44cb735968da44671fa323fc1a034d7f567
/spider_basic/pyshiyan.py
525eb2cdf0ee4167b53dbf506ddc219254245428
[]
no_license
djytwy/twy
3a68740bc6b89576e98ed1c30877b4054c300589
e9db1be5175be093c50e114f0b06282ad75aa90c
refs/heads/master
2021-01-01T19:53:14.905712
2017-11-28T15:56:55
2017-11-28T15:56:55
98,709,584
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
# -*- coding: utf-8 -*- import requests from HTMLParser import HTMLParser class MovieParser(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.movies = [] self.in_movies = False def handle_starttag(self, tag, attrs): def _attr(attrlist, attrname): for ...
[ "676534074@qq.com" ]
676534074@qq.com
18352233f2f7b9f8bedc9c98eed62e716e503db5
774be59f7377163524604c17c3002d70366c7b19
/class256/project/test.py
919796e242dcc5885988dc1d0beec07bcf563d7e
[]
no_license
sidazhong/leetcode
24b8be0e857f3fd4059342e919a7c497f6c383c8
619760c879ba0b42783a6dc00d8c2375756a142e
refs/heads/master
2023-05-10T07:31:34.877317
2022-01-29T22:04:53
2022-01-29T22:04:53
200,956,337
1
1
null
2023-05-06T11:41:32
2019-08-07T02:23:27
VHDL
UTF-8
Python
false
false
5,980
py
import os import gensim from gensim.utils import simple_preprocess from gensim.models.phrases import Phrases, Phraser from gensim import corpora from gensim.similarities import Similarity from gensim.test.utils import common_corpus, common_dictionary from gensim.sklearn_api import TfIdfTransformer from gensim.parsing...
[ "sida9567@gmail.com" ]
sida9567@gmail.com
150832bce639edf4dbadab3a0970058409ed1297
1baf76e19a719ebb2207f2af2924fc53349d6a60
/internship3_env/bin/rst2man.py
c94107c0c3e14b64d1c6351abee0999cdc3db8af
[ "MIT" ]
permissive
Zamy97/internship_3
4deb0df914e68930b23faa6bf7e0ca7fd342fbd8
9c9db252b6818316e9864839075bb1d23714f7e4
refs/heads/master
2023-01-01T15:33:45.980776
2020-10-28T02:47:34
2020-10-28T02:47:34
307,861,296
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
#!/Users/zamy/Desktop/Python_Projects/excl_intrnship_projects/excl_internship_0/internship_3/internship_3/internship3_env/bin/python3 # Author: # Contact: grubert@users.sf.net # Copyright: This module has been placed in the public domain. """ man.py ====== This module provides a simple command line interface that us...
[ "aktarzaman@berkeley.edu" ]
aktarzaman@berkeley.edu
1573e552f087e76aa97f8774e93fe5e6e8409a02
2e0a1b57388fce12d4474a0cad5acbcbba61da93
/language_prediction/tests.py
34d68e988ebf230aa35a7f150ef99231b75bbd91
[]
no_license
reutapel/decisions_predicion
3d76c98856bafa718aa9f05ac9e01ffa43a6e06a
0ca88b042c6dca401d360abeeb67323a933ec74e
refs/heads/master
2021-08-08T22:12:25.232928
2020-12-09T09:37:45
2020-12-09T09:37:45
229,907,815
0
0
null
null
null
null
UTF-8
Python
false
false
22,920
py
import os from language_prediction.dataset_readers import TextExpDataSetReader from language_prediction.models import BasicTextModel from allennlp.common.testing import AllenNlpTestCase, ModelTestCase from allennlp.common.util import ensure_list from allennlp.data.tokenizers.word_splitter import SpacyWordSplitter fro...
[ "reutapel88@gmail.com" ]
reutapel88@gmail.com
f99109833c8840ec32c973169f4d2221ccb5ea5c
e97876c4f94ab00b2862fe1c9bc89aaa3970d1df
/tools/linux.py
9b1c0d03dc314e1b7bbf81e29121831ea98cacbc
[]
no_license
timjen3/nordvpn_linux
f8640f5f8c0da0876164af684b555d34303dcb31
5f5737909ed4af8e150f6d4e4f18b602b8df7c2b
refs/heads/master
2020-12-02T07:46:54.976088
2017-09-04T01:38:39
2017-09-04T01:38:39
96,725,061
2
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
import subprocess import os """https://stackoverflow.com/questions/568271/how-to-check-if-there-exists-a-process-with-a-given-pid-in-python""" if os.name == 'posix': def pid_exists(pid): """Check whether pid exists in the current process table.""" import errno if pid < 0: return False try: os.kill(pid,...
[ "timjen3@gmail.com" ]
timjen3@gmail.com
9c9e5a215e1d0ff70844289f4b8c1aed74b82be7
1dd901ff7e805e2ee208dd478c4f81b9f9576d78
/DDB/defaultViews.py
6c5ed4f9c100318aabb4aa3e3e943fa143644a6e
[]
no_license
SushilSanjayBhile/ReleasePortal
f898babd0922784aef9cb7f8335b6cc5f9a751ef
9e56fe90adffdc677441e78a348b69ee033a56cd
refs/heads/master
2023-05-26T10:19:02.693554
2022-10-12T10:40:20
2022-10-12T10:40:20
250,026,668
2
0
null
2023-05-22T22:54:15
2020-03-25T16:08:30
Python
UTF-8
Python
false
false
3,858
py
# Django packages from django.db.models import Q from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt # imports from django app from .models import DEFAULT_DOMAIN_SUBDOMAIN from .forms import DomainSubDomainForm from DDB.serializers import DOMAIN_SUBDOMAIN_SERIALIZER import dateti...
[ "sushilmaxbhile@gmail.com" ]
sushilmaxbhile@gmail.com
338b46af5898069e8258e7af3299a0493e7d8d14
eb48075d8143faaf580b00a164c55315b3062b6d
/1_CrashCourse/3_NumPySKL_Exercise.py
43189f0ecc237d57b07973836537691bc8ff2c47
[]
no_license
vihandesilva/TensorFlowGuide
27692c13587501ca2266509751d352f83e4878f6
a09870668605f31a7c6e79a810292fbabb6fb3d0
refs/heads/master
2022-04-18T22:15:36.593731
2020-04-10T18:46:24
2020-04-10T18:46:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt np.random.seed(101) mat = np.random.randint(0, 1000, (100, 100)) # plt.imshow(mat) # plt.show() df = pd.DataFrame(mat) df.plot(x=0,y=1,kind="scatter") plt.show() from sklearn.preprocessing import MinMaxScaler scaler = MinMaxScaler() scaler.fit(m...
[ "mohamedayoob01@gmail.com" ]
mohamedayoob01@gmail.com
0015b67be216b5d4bcbd75dbbbd385a605e6c6d6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02756/s489252371.py
31635b6d45bf5d37da1e1c76a8813328893a6ade
[]
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
759
py
if __name__ == '__main__': s = input() n = int(input()) rvcnt = 0 tmp = "S" tmp_before = "" tmp_after = "" for _ in range(n): q = input() if len(q) == 1: rvcnt += 1 else: i,f,c = map(str,q.split()) if f == "1":#先頭に追加 if rvcnt % 2 == 0: #先頭に追加 tmp_before = c + tmp_before else...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ffac9bce2a4f7d4160893ed67fb60522e13f408e
8e7cc73c904479bb69035d05f749f59619f369c6
/10-Advanced-Data-Storage-and-Retrieval/app.py
b0933dfd3e6906eb6cbd7c5ae393dc8064605c9e
[]
no_license
amberlbillings/dataviz-homework
da11830f93cbeaf8bf8f5bd15b0b2028f33a5e78
267072306307ec6cb3d56a313032b10c44d8b31d
refs/heads/master
2020-04-25T07:15:18.986929
2019-07-28T00:00:18
2019-07-28T00:00:18
172,608,536
0
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
# Amber Billings from flask import Flask, jsonify import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, inspect, func engine = create_engine("sqlite:///Resources/hawaii.sqlite") Base = automap_base() Base.prepare(engine, reflect=Tr...
[ "noreply@github.com" ]
amberlbillings.noreply@github.com
2dab0838af442553113bd8b7010788fd46712c87
af6249e22c0ddc4f8ba4054efd95f9377dc1ce32
/main_app/migrations/0003_auto_20200329_0018.py
3f3d3998b12b8489ecba5b191cace5dbd9517f86
[]
no_license
luxvalerian/snakeCollector
4d8d46bb34c94032886c4fd2a400c655a93d8f57
23d099b60f55a4af275d7041af1671db4930eca6
refs/heads/master
2022-04-12T12:21:41.327132
2020-04-09T20:49:24
2020-04-09T20:49:24
250,180,027
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 2.2.6 on 2020-03-29 00:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0002_feeding'), ] operations = [ migrations.AlterField( model_name='feeding', name='date', f...
[ "avelynnmitra@gmail.com" ]
avelynnmitra@gmail.com
4e718cd98a604d4ec436efd32795e77f0323b98c
4a17ea750e8502fc356c22a0dcfdc66d706aa8bf
/Arrays/problem-36.py
af191f8f02707b8d889d78e3f38728e15f28abea
[ "MIT" ]
permissive
manju-dev/leetcode-workspace
6e5fb86a1809d23c8eb3c10f467cf5f2c0e4f929
91086d412c4982b9e0d37732023ac225b6cf3d7c
refs/heads/main
2023-02-15T07:58:50.432531
2020-12-30T17:52:46
2020-12-30T18:17:25
325,613,009
0
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
# 36. Valid Sudoku class Solution: def isValidSudoku(self, board): # row check for i in range(len(board)): rowVals = [] for j in range(len(board[0])): # print(i, j, board[i][j], rowVals) if board[i][j]==".": continue ...
[ "manju@linuxMachine.localdomain" ]
manju@linuxMachine.localdomain
edf508abbb55d3d85e1efdbc9780249c0221c23b
5859bac83220fa37948bc0204a3d4a38656f6f13
/OpenPoseImage.py
5764e9aeed1a674c009d0430d17c9282c0e16449
[]
no_license
hao-pt/Human-Pose
972f6828964faba41dafe8f08a449fda1a13c170
fbb97c3f5cc821bfde1703dd21d8bdbf3135ff4f
refs/heads/master
2022-12-03T13:34:13.505111
2019-09-04T15:10:01
2019-09-04T15:10:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
import cv2 import time import numpy as np # Change mode MPI or COCO MODE = "COCO" if MODE is "COCO": protoFile = "pose/coco/pose_deploy_linevec.prototxt" weightsFile = "pose/coco/pose_iter_440000.caffemodel" nPoints = 18 POSE_PAIRS = [ [1,0],[1,2],[1,5],[2,3],[3,4],[5,6],[6,7],[1,8],[8,9],[9,10],[1,11...
[ "tienhaophung@gmail.com" ]
tienhaophung@gmail.com
0a0f6452016764b74134a9104f888fd9b17b46f2
94d5467b1315791fa75165eb862fdd8fef300958
/srv/guizhou_address/address_formula_release/src/jieba/finalseg/test.py
756e762e396950a20e6339bddf02d89cc879222e
[]
no_license
scmsqhn/code
e31926174c247d49c1db8f121e3ec1b82f8a2d9d
b389d7dc5fafad8a4185a03cd6d5519ccf8f99df
refs/heads/master
2022-12-09T05:37:07.065840
2019-05-14T01:55:07
2019-05-14T01:55:07
185,903,771
1
0
null
2022-12-08T05:05:51
2019-05-10T02:22:28
Python
UTF-8
Python
false
false
588
py
import jieba import re import pdb jieba.load_userdict("dict_nz.txt") #jieba.load_userdict("guiyang_baidu_addr_split.txt") cnt = 0 g = open("output.txt","a+") with open("name.txt","r") as f: lines = f.readlines() for line in lines: cnt+=1 g.write("%s\n"%str(list(jieba.cut(line)))) if cnt%...
[ "2364839934@qq.com" ]
2364839934@qq.com
929ddda84c3d2b2fda71d70c924546c8454a27cb
0b521a3f665b892c30b68b2e9258d106d9dd414b
/env/Helicopter.py
5a5cdd10ac08e99b1a0564cc1eb5812d1e1f47f8
[]
no_license
Kamyab-Majid/garage_quadcopter
c37a7cea211bbc04d66596f74e724375a36b81c1
30776a9fdf2ff72d068296a95dc64c240161cef4
refs/heads/main
2023-09-03T23:01:05.546916
2021-11-03T15:21:41
2021-11-03T15:21:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,190
py
import sympy as sp import numpy as np from env import controller class Helicopter: def __init__(self): self.constants = ( self.K_mu, self.mass, self.rho, self.Rmr, self.CL0, self.Rtr, self.CLa, s...
[ "kamyab@ualberta.ca" ]
kamyab@ualberta.ca
0028fade250bebe0aa2599def008942e49acdad7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2167/60832/318097.py
045e6b4891a50fe1221381f2de706371317ff582
[]
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
57
py
a=input() if a=='4 5 2': print(17) else: print(a)
[ "1069583789@qq.com" ]
1069583789@qq.com
9011489024d223c4e4b4cfb53b9b1011434283c1
ecd2f1d99d807178589b5468bc220b0509e5acad
/Python/AI_Environment/subProcessTest/comFunctionsMaster.py
d23ab7d312d58eb77c8ddf51f61a2f84edf6537a
[ "BSD-3-Clause" ]
permissive
TheMadDuck/neural_neophyte
b9ec2f3056a98bec6abff2db142f55456cb62056
da804b9364144d26e2be47c01f7fa7bc360a3d3b
refs/heads/master
2021-01-16T23:51:40.442535
2017-03-21T16:00:21
2017-03-21T16:00:21
56,276,507
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
#use this comunication form import comFunctionsSlave as sl #sl.write(3) #print(sl.show()) savetyIndex = 0 while(True): savetyIndex += 1 if sl.getSignal() == "processing": # mayby set this at the middle or end of the function (naa auch net gut) to provide unnessesary amout of loops.. continue if s...
[ "noll@debianLaptopSSD" ]
noll@debianLaptopSSD
32ffe60d261ed4eb2427e82eea06481a845e1225
4704671a33bf1606983466e0f5b61a8c251dd464
/booth/models.py
fc67181b92711b8f6367240d92694c6e39ed950e
[]
no_license
sachajoy/Sikar-Booth-Demand
8977948b99e1783226a4efa924cb3230b15c7f83
4e084e35d5c747652b9ea02f6ea1618f1fce1822
refs/heads/master
2023-01-01T07:09:49.804006
2020-10-22T03:04:33
2020-10-22T03:04:33
298,960,978
0
0
null
null
null
null
UTF-8
Python
false
false
5,436
py
from django.db import models from django.shortcuts import reverse class Contractor(models.Model): xname = models.CharField(max_length=64) class Meta: db_table = 'contractor' def __str__(self): return self.xname class Route(models.Model): route_no = models.SmallIntegerField(default=0...
[ "me.arihant.banthia@gmail.com" ]
me.arihant.banthia@gmail.com
a75f72f36d5ff9cd8443e42a7cc03b0b0f342b0f
983b7a26ec75cad91c3f76b51511b8dba1e248f2
/UploadCOS/cos_server.py
1ba961167377926012f31922a2736357682212e0
[]
no_license
AboutShanhai/Python3
db900e0b3d13bfaf08dd5d71ce284aeb231f05fe
d3c2e8f2302cd30d6445087498dd3a1791a87d32
refs/heads/master
2023-05-16T02:37:52.832029
2021-06-07T15:40:41
2021-06-07T15:40:41
324,077,564
0
0
null
null
null
null
UTF-8
Python
false
false
7,502
py
#!/usr/bin/env python # coding:utf8 # ftp 上传服务 import os import sys import threading import tool import time from AesEverywhere import aes256 # pip install aes-everywhere from qcloud_cos import CosConfig # pip install -U cos-python-sdk-v5 from qcloud_cos import CosS3Client sys.setrecursionl...
[ "shanhai@gmail.com" ]
shanhai@gmail.com
a7abe996cbcf196b72f6e4c63a02544f4635270f
25ff7597cb4bb13c065def61d16ca17a7188f0a9
/tributary/reactive/input/http.py
7a458702a696c4155005f01c3ed05fcd6ab1b622
[ "Apache-2.0" ]
permissive
fagan2888/tributary
5d41a47cdfc081a7047933400f920a67cafa477f
f5e9c769faf8ec03203426aca0d282593e85fd7f
refs/heads/master
2020-09-20T12:24:43.632214
2019-11-26T21:34:48
2019-11-26T21:34:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
import aiohttp import json as JSON import time from ..base import _wrap def HTTP(url, *args, **kwargs): return AsyncHTTP(url, *args, **kwargs) def AsyncHTTP(url, interval=1, repeat=1, json=False, wrap=False, field=None, proxies=None, cookies=None): async def _req(url, interval=1, repeat=1, json=False, wrap=...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
03c482bc6725395620509c22b2331fb7f1af54df
9a810f2bd65c269564462b5cab55879ea9475fa9
/pureDjango/mysite/mysite/urls.py
465d0286a961f85ef2cf6d98c0f33b51eac868d5
[]
no_license
sebasped/djangoTest
021140a1c5ba6e3f2b721ece436ff4806d8ca80c
227a134e7c9ff8a297b1b40cee7e07edeb50ae7a
refs/heads/master
2022-04-21T00:35:04.713087
2020-04-24T13:39:10
2020-04-24T13:39:10
180,194,516
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "lbali@zeus2.oficina" ]
lbali@zeus2.oficina
a824ba19031758c6659df47f02fba9cc4107b35f
a246c94ec383e1c22459c2079fe6bf9c478fa195
/multiplier-x.py
c39ea5b5389f8fcee9ad84f591d503366b645c03
[]
no_license
LarsKalishoek/functions-tryout
9e2599bc33ff0a88d4fceefcd0b87e7d0dd10281
0557f9574e3fc4c57073fd2242c2b079a42e3d1f
refs/heads/main
2023-08-11T13:30:39.934632
2021-09-23T10:42:38
2021-09-23T10:42:38
409,102,130
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
getal = int(input("Van welk getal wilt u de tefal zien (1 t/m 10) :")) def tafelVan(noemer: int): for teller in range(1, 11): print(teller, " x ", noemer, " = ", teller * noemer ) tafelVan(getal)
[ "99069312@mydavinci.nl" ]
99069312@mydavinci.nl
dca1f095d3a2e0d51952de58aef418a3048b8ced
0c41c035ddd483b360a31a8aa67fb4be45bcbcd0
/motion_field_estimation_utils.py
fa9f55d4105470f1eec82c7efda96d7455504bb9
[ "MIT" ]
permissive
almostdutch/motion-field-estimation
86d13da878ac4acfcfe2a41e90c299749e1e15cb
17592e6822cc39885f19f104fff955222cf55acc
refs/heads/main
2023-04-30T03:45:29.959235
2021-05-22T20:15:29
2021-05-22T20:15:29
356,052,771
1
0
null
null
null
null
UTF-8
Python
false
false
4,374
py
''' motion_field_estimation_utils.py Utilities for estimating the motion field between two 2D (single channel) same size images \ by using the gradient constraint equation ''' import numpy as np from scipy.ndimage import shift, rotate from skimage.transform import warp from scipy.ndimage import gaussian_filter fr...
[ "noreply@github.com" ]
almostdutch.noreply@github.com
9d93eddd62b7d733d11211546604e1cdfa1bcb98
64e9d7580d1add7a1a03a66c93a88478268acbea
/smallest.py
8f1752665ff6a4977382c352df75c9243ff1b5c7
[]
no_license
Abhila400/Programmer
ee6ee4eeeec496bc147192d8df0802d39e2595c5
9e212cb6c05c2d503fdbad7f4cdf9381b7f3fae2
refs/heads/master
2020-06-10T11:58:48.075955
2019-08-17T13:25:46
2019-08-17T13:25:46
193,642,942
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
n=int(input()) a=[int(i) for i in input().split()] print(min(a))
[ "noreply@github.com" ]
Abhila400.noreply@github.com
58f0fa75e6115236e53c3e0c9fb0f86fc60cc515
8b84d29ec3d38a07b471890d6688da2aad5fb1b4
/rpsp/policy_opt/psr_policy_updaters.py
3fd151910db1e57c702d362a52e6bd94e4b90494
[ "Apache-2.0" ]
permissive
ahefnycmu/rpsp
b0da320417f09dce2534f2aaa82a99d5a71855d7
ff3aa3e89a91bb4afb7bad932d2c04691a727a63
refs/heads/master
2020-03-18T06:28:20.425943
2018-09-08T16:56:07
2018-09-08T16:56:07
134,397,829
4
0
null
null
null
null
UTF-8
Python
false
false
22,332
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Sat May 6 10:10:01 2017 @author: ahefny, zmarinho """ from collections import OrderedDict from time import time import numpy as np import theano import theano.compile import theano.tensor as T from theano.ifelse import ifelse from rpsp import globalconf...
[ "zmarinho@cmu.edu" ]
zmarinho@cmu.edu
6922ab6a1df517a98324ed90d6e9147cf458066a
c53c623b6648d608d409ff7a45d1d735fecd35d9
/62p.py
472293b7924ca97433e3a8ff6fe9703199656a44
[]
no_license
kasthuri2698/python
e15ac37773fd8250a520682eba54cbfe00676ccf
cdb8d85810eba18ed26afbfd8daa9eb1319f3a3f
refs/heads/master
2020-06-14T14:42:22.508096
2019-07-19T10:03:55
2019-07-19T10:03:55
195,030,084
0
1
null
null
null
null
UTF-8
Python
false
false
99
py
n=input() p=set(n) s={'0','1'} if s==p or s=={'0'} or s=={'1'}: print("yes") else: print("no")
[ "noreply@github.com" ]
kasthuri2698.noreply@github.com
61837a24ba3f7e8bc7d91df2e2d49c1a535ef240
e9dfdeccaf45ea99d80a74398f91065290eb66e8
/project2/model/lstm_trainer.py
c3c231d273d2fc54394589bc56273682d1159d47
[]
no_license
puccife/ML_2017
ccd07954141b7de0df80752cb4f8e378f5178d35
27055ffd5ed3685f089b31b900198f132ddb7124
refs/heads/master
2021-03-24T11:59:50.621346
2017-12-21T22:11:41
2017-12-21T22:11:41
107,022,370
1
1
null
null
null
null
UTF-8
Python
false
false
11,095
py
import re import numpy as np import pandas as pd from nltk.corpus import stopwords import tensorflow as tf from nltk.stem import SnowballStemmer from keras.preprocessing.text import Tokenizer import tflearn from tflearn.data_utils import to_categorical, pad_sequences class LSTMTrainer: FLAGS = None embeddings...
[ "federico.pucci2@studio.unibo.it" ]
federico.pucci2@studio.unibo.it
6951524d2ccc8dea70f436ce5f82d6cd1b26dda6
825da00a4adb85cc71b64d46a127abc3e2277431
/CJH-Blog/Blog/Permission.py
07352b8de7e8a963ca45fb842a341ecf3519f622
[]
no_license
xcaojianhong/CJH-Blog
4289342125d506732210dcf95caf1b2bcb05b0c9
f7049b5e0f8b48b7cf8279d8527658fdb3dcd484
refs/heads/master
2021-06-20T02:27:29.533958
2017-08-15T06:33:44
2017-08-15T06:33:44
100,347,478
0
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
# !/usr/bin/env python # -*- coding: utf-8 -*- # ================================================= # @Time : 2017/7/26 14:47 # @Author : Cao jianhong # @File : Permission.py # @Software: PyCharm Edu # ================================================= from flask_principal import Permission, RoleNeed , UserNeed, ...
[ "1254798548@qq.com" ]
1254798548@qq.com
83f15b271373d6431cf0cde4f1ee5a6159365e73
056a1050e0e0bf78eeedaf978841a61e5203936a
/Atom-Python/Test-Project/test-module.py
d462d8071b754abdf009309456b1bfbb603eadf8
[ "MIT" ]
permissive
DSNR/snippets
cc3990f0ac467e19754f0a76598809eddede95fd
12006dd083be60c6444d8b5ca48fd917005e081b
refs/heads/master
2023-08-23T18:55:34.038472
2021-10-11T02:35:28
2021-10-11T02:35:28
415,750,242
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
class Employee: """A sample Employee class""" def __init__(self, first, last): self.first = first self.last = last print('Created Employee: {} - {}'.format(self.fullname, self.email)) @property def email(self): return '{}.{}@email.com'.format(self.first, s...
[ "stuart@ariia.co.uk" ]
stuart@ariia.co.uk
cdbe8e9bb63642c75190d90e755129166a9de7a0
92047ed9c5b5e681e80678dc0a7331e90de0efd0
/patterns/object_pool.py
c7d58335670a708c27f72df938fd9f10b4532b42
[]
no_license
lmbonnefont/design_patterns
bf572c8535009c31cd31a5c747292c73fba8dd4b
066e0931106134fba7b645384137c525a09df35c
refs/heads/main
2023-06-02T03:40:54.895014
2021-06-18T12:35:15
2021-06-18T12:35:15
375,687,964
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
# Object pool design pattern from exceptions import TooManyCatsAskedException, NoMoreCatException class Cat: def __init__(self, name: str): self.name = name class CatPoolMeta(type): _instances = {} def __call__(cls, *args, **kwargs): """ Possible changes to the value of the `__i...
[ "louis_marie.bonnefont@edu.escpeurope.eu" ]
louis_marie.bonnefont@edu.escpeurope.eu