blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
c8794b638aaf8f8f74392eedaeca04a7b5ee84b4
3c008f7bfec359117dc6e6f9506362211a8a8870
/env/myshop/shop/migrations/0001_initial.py
a83e9de5bc8c841eac9dc71860fea2f455c23dcf
[]
no_license
Nispanu78/django-online-shop
e66b61585336949f4d0390870151438361009e97
95608da48cb85d3161c0304e47bfe15d3700feb0
refs/heads/main
2023-07-29T23:34:51.535626
2021-09-15T11:36:35
2021-09-15T11:36:35
402,030,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
# Generated by Django 3.0.14 on 2021-09-01 12:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "nicspanu@gmail.com" ]
nicspanu@gmail.com
e76c06add0e35d9c81409886b9c136bfc4a5457d
09cead98874a64d55b9e5c84b369d3523c890442
/py200714_python2/day09_py200811/sample/usercustom_3.py
c8be6a94ee7008f08f1f6afbf437553aed4d2f6c
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" import external error classes errors.py exceptions.py error.y exception.py """ import py200510_python2.day17_py200712.errors as err try: raise err.CustomError3("An error3 occurred") raise err.CustomError2("An error2 occurred") raise err.CustomError("An error1 occurred") except err.CustomError as e1:...
[ "lada314@gmail.com" ]
lada314@gmail.com
3bf991e9e47ca864d42938d4921676a560c42971
73a0f661f1423d63e86489d4b2673f0103698aab
/python/oneflow/test/modules/test_global_meshgrid.py
ba6cb944862b0c276a1f7d40877c0f326d15012e
[ "Apache-2.0" ]
permissive
Oneflow-Inc/oneflow
4fc3e081e45db0242a465c4330d8bcc8b21ee924
0aab78ea24d4b1c784c30c57d33ec69fe5605e4a
refs/heads/master
2023-08-25T16:58:30.576596
2023-08-22T14:15:46
2023-08-22T14:15:46
81,634,683
5,495
786
Apache-2.0
2023-09-14T09:44:31
2017-02-11T06:09:53
C++
UTF-8
Python
false
false
1,363
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
Oneflow-Inc.noreply@github.com
0c8b67f646ff066f61fa24de78ac77bf13302ebf
0238efae1c6061d98afeb00e376528d2ffa78496
/assignprog/23.py
60508e924ea2d64f63aa09ac33a276586bb432bf
[]
no_license
amitks815/Old_programs
b520183034c7c2b5253a06af8d2ec2b6fed6c86b
92321d47140d1190500494c1f78d56f3c32994ec
refs/heads/master
2020-04-15T15:55:29.389340
2019-01-09T07:20:25
2019-01-09T07:20:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
import math rad=input("Enter the radius value for finding area of circle=") area=math.pi*(rad**2) print "Area of circle with radius",rad,"is",area
[ "42370714+amitks815@users.noreply.github.com" ]
42370714+amitks815@users.noreply.github.com
c82db9508d656e7652092345ff28b8c08c310db5
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-mrsp.0/mrsp_ut=3.5_rd=0.8_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=35/sched.py
cc4ab24e820e83a320545a29697deb18ef7891c8
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
-S 0 -X RUN -Q 0 -L 2 132 400 -S 0 -X RUN -Q 0 -L 2 130 400 -S 0 -X RUN -Q 0 -L 2 78 400 -S 0 -X RUN -Q 0 -L 2 56 400 -S 2 -X RUN -Q 1 -L 1 51 150 -S 1 -X RUN -Q 1 -L 1 50 200 -S 1 -X RUN -Q 1 -L 1 47 150 -S 1 -X RUN -Q 1 -L 1 46 300 -S 3 -X RUN -Q 2 -L 1 46 150 -S 3 -X RUN -Q 2 -L...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
a72a0ee36f4b2e49e9bffce31ae0d67d8b8ce33f
29b99a8aebdef7c00e8cfd46a74da26d9660e1e3
/archive/ml-examples/fashion-mnist-simple.py
41b8c8ce3e445e1a2c0a6c31e7855e99d7fee50f
[ "BSD-3-Clause" ]
permissive
ajrichards/notebook
3a058abe288eff73af8c5b9e15ce049ca8809562
406a6d43532ce46fbd7d5bd1cb549f61eb7b982b
refs/heads/master
2023-06-23T01:29:41.884817
2023-06-12T13:16:09
2023-06-12T13:16:09
19,060,499
2
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/env python """ analyze a subset of the fashion mnist data using dimension reduction and classic machine learning """ import sys import numpy as np from tensorflow import keras import matplotlib.pyplot as plt from collections import Counter import numpy as np import pandas as pd from sklearn.svm import SVC ...
[ "adamricha@gmail.com" ]
adamricha@gmail.com
5fe2f13fc126957195eb9c357818852fbc0e4dd8
b6b2d47273a6926ff2b5fdac27e52aeaf0691631
/accounts/views.py
3147165fb78ac759d3906248f17783519aa93974
[]
no_license
Elsaeed97/vezeta
32640dba27f13ece73968491479e7e9c37ad9aa3
af2be4f5fce637c0eb9131605272c3374df7dc9c
refs/heads/master
2022-07-06T22:09:51.437002
2020-05-12T16:10:46
2020-05-12T16:10:46
263,386,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
from django.shortcuts import render, redirect from django.contrib.auth.models import User from .models import Profile from .forms import LoginForm ,UserRegisterationForm, UpdateUserForm from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required # Create your ...
[ "elsaeedahmed97@gmail.com" ]
elsaeedahmed97@gmail.com
02b3e59d523a56be6ae7df5c11687f7a168db030
118984fdbacf5eb71159eb511ccd055987498886
/CH10/EX10.5.py
407db91b4508aa211aaa0a423f81e400528c20d4
[]
no_license
6igsm0ke/Introduction-to-Programming-Using-Python-Liang-1st-edtion
321c6256be6ff78adbc8e3ddc73f2f43a51a75ab
159489f3af296f87469ddddf3a1cb232917506b0
refs/heads/master
2023-06-05T20:03:17.951911
2021-06-18T18:04:42
2021-06-18T18:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# 10.5 (Print distinct numbers) Write a program that reads in numbers separated by a # space in one line and displays distinct numbers (i.e., if a number appears multiple # times, it is displayed only once). (Hint: Read all the numbers and store # them in list1. Create a new list list2. Add a number in list1 to list2. ...
[ "47993441+OmarAlmighty@users.noreply.github.com" ]
47993441+OmarAlmighty@users.noreply.github.com
5fac6634643a7489d86f1a5eea29df3143785d1e
de3c5f0f24ece34190b765774087806ebe36d5a8
/Functions/Five/__init__.py
416b76317cb9e27a8540afe7e0b913ace6cf6820
[ "Apache-2.0" ]
permissive
jupaladin/wa
9ccadc4d344fd809906039996518772e89a61d67
abd0447f56d310391b9a8bbc745c326d31749345
refs/heads/master
2021-01-01T16:27:46.001267
2017-07-13T13:11:03
2017-07-13T13:11:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# -*- coding: utf-8 -*- """ Authors: Tim Hessels and Gonzalo Espinoza UNESCO-IHE 2017 Contact: t.hessels@unesco-ihe.org g.espinoza@unesco-ihe.org Repository: https://github.com/wateraccounting/wa Module: wa/Functions/Five Description: This module contains a compilation of scripts and functions used ...
[ "timhessels@hotmail.com" ]
timhessels@hotmail.com
7acc0c56a04e28182dd61de5caea954ee152f805
c6ed09339ff21fa70f154f34328e869f0dd8e394
/python/records/postgres_sample/search_stock.py
141723764d7f09027a3676c04e33abdc88b9210f
[]
no_license
fits/try_samples
f9b15b309a67f7274b505669db4486b17bd1678b
0986e22d78f35d57fe1dd94673b68a4723cb3177
refs/heads/master
2023-08-22T14:35:40.838419
2023-08-07T12:25:07
2023-08-07T12:25:07
642,078
30
19
null
2022-12-28T06:31:24
2010-05-02T02:23:55
Java
UTF-8
Python
false
false
620
py
# -*- coding: utf-8 -*- import records db = records.Database() sql = ''' select sm.product_id, pt.name as product_name, date_trunc('week', sm.date) as week, sum(sm.product_uom_qty) as qty from stock_move sm, product_product pp, product_template pt ...
[ "wadays_wozx@nifty.com" ]
wadays_wozx@nifty.com
0d7656a57876b7e9afb9f3f78912c41fe5ecce9b
dbc55a9254b46100c7acfefb871d5688d0f02162
/pypedream/flowsheeting/flowsheet.py
9c83eaff31743060547007758e486bb52608809f
[ "MIT" ]
permissive
Nukleon84/pypedream
727ecff84fa7a343a406f70854923f7171f0937a
de074e1b21d65eb3a02e1b0719fff1b4c2b7ae92
refs/heads/master
2022-11-25T15:19:05.459727
2020-05-28T21:12:27
2020-05-28T21:12:27
264,515,862
15
0
MIT
2020-07-30T11:53:52
2020-05-16T19:55:23
Python
UTF-8
Python
false
false
1,442
py
from .base_element import BaseElement from ..thermodynamics.data.thermodynamic_system import ThermodynamicSystem from ..unitsofmeasure import PhysicalDimension from .material_stream import MaterialStream from ..numerics import AlgebraicSystem, NewtonSolver class Flowsheet(BaseElement): def __init__(self, nam...
[ "jochen.steimel@googlemail.com" ]
jochen.steimel@googlemail.com
277363356fd41c8a17f249a489b2d4c849e425b3
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/homeassistant/components/tankerkoenig/sensor.py
0c1220ac07cf0ba1161eeb48ea2466374a9f1afc
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
4,807
py
"""Tankerkoenig sensor integration.""" from __future__ import annotations import logging from homeassistant.components.sensor import SensorEntity from homeassistant.const import ( ATTR_ATTRIBUTION, ATTR_LATITUDE, ATTR_LONGITUDE, CURRENCY_EURO, ) from homeassistant.core import HomeAssistant from homeas...
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
a2c55c21d9e95f933294975dcb3b62323e0b5b0e
e2291f11180d77c093e9adc8728c19e1f14adf6e
/hello_cherrypi/hello.py
4464f64bf6989bcdf2b55f8c067db17a024db830
[]
no_license
aaronbassett/hello-world-x8
71cad2f9cc15845d461d5b3ebea77d804d79625f
7df67e52fb51ac85dcc5a76ff3d7bb21ccfd1b13
refs/heads/master
2022-12-16T19:10:04.611445
2018-12-06T15:35:35
2018-12-06T15:35:35
160,695,043
0
0
null
2022-09-16T18:01:39
2018-12-06T15:35:14
Python
UTF-8
Python
false
false
262
py
import cherrypy class NCCOView(object): @cherrypy.expose @cherrypy.tools.json_out() def index(self): return [{"action": "talk", "text": "Hello World from CherryPy"}] if __name__ == "__main__": cherrypy.quickstart(NCCOView(), "/ncco")
[ "me@aaronbassett.com" ]
me@aaronbassett.com
19035601e3cce75f61b1adb7b10326282b458fa7
079c14bcf35d886ec38834a428d8147bbf3d8dea
/Leetcode_30day_challenge/April_Challenge_2021/Day-9_Verifying an Alien Dictionary.py
e2053a3f94b13f61bb26355e663c19f4d727adf6
[]
no_license
yash-markad/Python-Competitive-Programming
882666a17dfd93346ed5f75609e5d9e8ad36ac46
7fc5d32115bf80f7210f591a2de9a53adc297d98
refs/heads/master
2023-05-28T12:00:45.892633
2021-06-16T11:13:02
2021-06-16T11:13:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
''' Python Solution - Using Dictionary and Compare function Time: O(N*w) ; where N = No. of words and w: length of each word Space: O(1) ''' class Solution: def isAlienSorted(self, words: List[str], order: str) -> bool: d = {} for i in range(len(order)): d[order[i]] = i+1 ...
[ "noreply@github.com" ]
yash-markad.noreply@github.com
022c6c8517b07409b4464eff7bb73797366a70db
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_ConstantTrend_Seasonal_Hour_MLP.py
bc2d97ff0c85c1c49b1d7a7d75a61c664641de63
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
159
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['ConstantTrend'] , ['Seasonal_Hour'] , ['MLP'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
dfa913893fc149d3e6183beabac84121da8ae9d4
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/pipeline/_attr_dict.py
922c682f7a51f579ef1b5812ccb4503be1fec0a0
[ "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND", "ODbL-1.0", "GPL-3.0-only", "Z...
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
6,465
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- # pylint: disable=protected-access, unnecessary-comprehension import logging from abc import ABC from typing import Generic, TypeVar K = ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
4ea9a024247746c504dbf049c9bdf42ee635e973
ac61c80a2d9e95838ab6fdd8d41c9328e64a740e
/store/migrations/0039_auto_20180122_1109.py
16a66a695eb0b988b3d499b8f641f82c49874017
[]
no_license
zdYng/ients_down
ac45f8f1016e8876b8e282d9055975b2c19291db
a85be63365ab7f54a3629498e19cd0c619e67887
refs/heads/master
2020-03-09T04:24:37.824832
2018-03-19T00:56:02
2018-03-19T00:56:02
128,586,973
1
0
null
2018-04-08T02:07:16
2018-04-08T02:07:16
null
UTF-8
Python
false
false
1,198
py
# Generated by Django 2.0 on 2018-01-22 11:09 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('store', '0038_auto_20180104_0534'), ] operations = [ migrations.AlterModelOptions( name='partlive', options={'ordering': ['Par...
[ "mcdull9393@gmail.com" ]
mcdull9393@gmail.com
def9ef1e99b3acd9fb47643e3b2faecf34ca2c1d
a36cebbc4685dcd5734f68d48bdebb35c7a3db37
/backend/cubazelle_28600/urls.py
c1bb46042e80b5038972dd178c5ecac9e15e78a8
[]
no_license
crowdbotics-apps/cubazelle-28600
e2ec80780bf852cfae32c704b0cfac0f1fa6cda4
98b1e09b2d2ccc57360553e455483cfb00d1580d
refs/heads/master
2023-06-17T21:09:01.420942
2021-07-08T20:44:08
2021-07-08T20:44:08
384,244,001
0
0
null
null
null
null
UTF-8
Python
false
false
2,217
py
"""cubazelle_28600 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') Cla...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
fc325710ad65ae180798987afd5bff23464d491d
52b5773617a1b972a905de4d692540d26ff74926
/.history/greater_20200428124130.py
6bc1bff0b487fd111585b1f220fda185a28dba42
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
array = [13,7,6,12] for index,number in enumerate(array): next_greater = -1 for j in range(+1,len(array)): if number < array[j]: next_greater = array[j] print("next_greater",next_greater) print(number,'===>',next_greater if number > array[j] else array[j]) break ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
a054e6da82e9932b664205afb2589f96d745a55a
22741c308631294652e7be8b4923b1bb2aced01c
/pp_020_ProcessPoolExecutor3.py
610c85a793ba05281662ce7a5bd16bc1e861f000
[ "MIT" ]
permissive
jpch89/picpython
43a6f4572b806fc735ace3202ce66da28a5c4a79
58b7b2ec8c100db4403ead8a734012f3ee5e451d
refs/heads/master
2020-04-08T10:29:44.966693
2018-12-09T07:17:24
2018-12-09T07:17:24
159,271,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
from concurrent.futures import ProcessPoolExecutor import time def do_sth(i): time.sleep(2) return i * i """ if __name__ == '__main__': with ProcessPoolExecutor(3) as ppe: for i in range(1, 5): future = ppe.submit(do_sth, i) # 同步,需要等待 do_sth() 执行完毕 print(future...
[ "jpch89@outlook.com" ]
jpch89@outlook.com
fffa648c856019db4bd47804bf93dcaf87f3fe3b
8255dcf7689c20283b5e75a452139e553b34ddf3
/app/controllers/pagination.py
4703af244f6257fea0f19bd851fcd8a517d3993e
[ "MIT" ]
permissive
Wern-rm/raton.by
09871eb4da628ff7b0d0b4415a150cf6c12c3e5a
68f862f2bc0551bf2327e9d6352c0cde93f45301
refs/heads/main
2023-05-06T02:26:58.980779
2021-05-25T14:09:47
2021-05-25T14:09:47
317,119,285
0
1
null
null
null
null
UTF-8
Python
false
false
482
py
from flask_paginate import Pagination from flask import current_app def get_pagination(**kwargs): kwargs.setdefault('record_name', 'records') return Pagination(css_framework=current_app.config.get('CSS_FRAMEWORK'), link_size=current_app.config.get('LINK_SIZE'), alig...
[ "devwern@gmail.com" ]
devwern@gmail.com
c80e24c688b9407efe0902af617ad6e00f855baf
0fb0dba210ff0f63515c464d7acc95ae32d7603c
/Application/Check if the Application is Running or Not/check-if-the-application-is-running-or-not.py
098f3ef1f87484111fa7d0a1bebd11ceaad82353
[]
no_license
slad99/pythonscripts
7cbe6b8bb27c8c06e140c46e7c8cf286cbc56d8e
4e0ebb023899a602cb041ef6f153fd3b7ab032e9
refs/heads/master
2022-01-04T21:49:10.486758
2019-06-28T14:29:28
2019-06-28T14:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#To define a particular parameter, replace the 'parameterName' inside itsm.getParameter('parameterName') with that parameter's name appName =itsm.getParameter('parameterName') import os def IsAppRunning(appName): proObj = os.popen('TASKLIST /FI "STATUS eq running"') runApps = proObj.read() return ap...
[ "noreply@github.com" ]
slad99.noreply@github.com
b8a583133e26dec23d7a2331ceecd8a39ba95b4a
291f0aa9a40eeca26fb08106c952b9347db7dba7
/nz_crawl_demo/day6/douyin.py
34f578c3ca8b9e0b6ba49137544d9ae958b52db3
[ "Apache-2.0" ]
permissive
gaohj/nzflask_bbs
fad10b93f8f495a94d5d6db6f5c60d85c1c85518
36a94c380b78241ed5d1e07edab9618c3e8d477b
refs/heads/master
2022-12-12T21:43:17.417294
2020-03-20T10:28:22
2020-03-20T10:28:22
239,702,874
0
2
Apache-2.0
2022-12-08T03:50:07
2020-02-11T07:34:01
JavaScript
UTF-8
Python
false
false
3,804
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import re import requests from lxml import etree start_url = ' https://www.iesdouyin.com/share/user/88445518961' def get_real_num(content): content = content.replace(' &#', '0').replace('; ', '') regex_list = [ {'name': ['0xe602', '0xe60e', '0xe618'], 'val...
[ "gaohj@163.com" ]
gaohj@163.com
8b5bb7dcb7a189262e22aa7a05b990613359f521
b0767b027fc1602662bfb5571a9be24a1bf6a766
/lib/rules.py
219f5d481ba5e89d13691c1219142af4aca33a69
[]
no_license
Teifion/ultimate_ox
19e82f1305c6de282ea76d5105c354af14f58914
7f73eb42991c5288b4ba629dd3d4308a6e38e1eb
refs/heads/master
2021-01-11T04:13:39.395979
2013-10-20T22:02:38
2013-10-20T22:02:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,399
py
import math empty_overall = " " * 9 empty_board = " " * 81 boards = 9 height = 3 width = 3 wins = ( # Horrizontal (0,1,2), (3,4,5), (6,7,8), # Vertical (0,3,6), (1,4,7), (2,5,8), # Diagonal (0,4,8), (6,4,2), ) def get_player_user_id(the_game, player_number): ...
[ "sarkalian@gmail.com" ]
sarkalian@gmail.com
e4c475d6fbdc5b12fe7944f13bb51f76dc9edcc3
a00b57e8d79eeaa6c281f699ee4b6dfde44a95fa
/driver.py
83cc9f385ab706c51a7f0b15ae31bb2d1b16a882
[]
no_license
webclinic017/Mint-Integration
45f9455d46f4391a9c0781c4b7b0a89bcc2662bf
f13febeb423bb2bfe8e5e4b3dbcc83ec607d5c14
refs/heads/master
2021-10-07T08:44:03.399442
2018-12-04T03:11:09
2018-12-04T03:11:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
from accounts import hdfc_bank, robinhood, seattle_lights, marq211 from lib import login_details_manager, mint import json if __name__ == '__main__': login_details = login_details_manager.LoginDetailsManager() # Get Mint Accounts to update mint_accounts = json.load(open('properties/mint_accounts.json'))...
[ "noreply@github.com" ]
webclinic017.noreply@github.com
f270758bee45e2829c88af7e0671a9cdd2fe1618
9bb16f8fbf9f562f1171a3bbff8318a47113823b
/abc049/abc049_a/generate.py
6488429e6b9d41e3007dd5364d111e5319d5c6fe
[]
no_license
kyamashiro/atcoder
83ab0a880e014c167b6e9fe9457e6972901353fc
999a7852b70b0a022a4d64ba40d4048ee4cc0c9c
refs/heads/master
2022-06-01T03:01:39.143632
2022-05-22T05:38:42
2022-05-22T05:38:42
464,391,209
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
#!/usr/bin/env python3 # usage: $ oj generate-input 'python3 generate.py' # usage: $ oj generate-input --hack-actual=./a.out --hack-expected=./naive 'python3 generate.py' import random # generated by oj-template v4.8.1 (https://github.com/online-judge-tools/template-generator) def main(): c = random.choice('abcde...
[ "kyamashiro73@gmail.com" ]
kyamashiro73@gmail.com
3f769f2b7b40f8f61859041fc33b2ac7dc5d0a2f
a05f9fa729d7de5cfbffd2cbf3e7c5df535c1658
/tests/runtests.py
3396538aeff6cdebcd2e83fdebe566dab6c6d11c
[]
no_license
zbyte64/django-datatap
ce42cb480a9c2499cc881e52465078fac3d9c93c
8ce95d4545a2dfb18bcc475d4cfb5c353003cfad
refs/heads/master
2016-09-03T06:39:08.829391
2013-04-01T18:13:50
2013-04-01T18:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
""" Test support harness for doing setup.py test. See http://ericholscher.com/blog/2009/jun/29/enable-setuppy-test-your-django-apps/. """ import sys import os os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.test_settings' # Bootstrap Django's settings. from django.conf import settings settings.DATABASES = { 'defau...
[ "zbyte64@gmail.com" ]
zbyte64@gmail.com
95b2b96f7e0cb31fb76d11f789d819c9e68ee930
9d8acc20d2ee1d1957849dfb71c22e0dae2d8c5c
/baomoicrawl/venv/Lib/site-packages/twisted/logger/test/test_capture.py
1558ca399ea2b6fcce49a7e75edf3b2806b29d47
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
thuy4tbn99/TranTruongThuy_17021178_Nhom4_Crawler
b0fdedee2942a12d9f64dfed93f43802dc5ab340
87c8c07433466bbc43a24ea089f75baeb467c356
refs/heads/master
2022-11-27T21:36:33.917491
2020-08-10T23:24:42
2020-08-10T23:24:42
286,583,216
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Test cases for L{twisted.logger._capture}. """ from twisted.logger import Logger, LogLevel from twisted.trial.unittest import TestCase from .._capture import capturedLogs class LogCaptureTests(TestCase): """ Tests ...
[ "thuy4tbn99@gmail.com" ]
thuy4tbn99@gmail.com
e01a5ffbedfd37e23c795b6b5b1f319c1dbe8e35
e6f16fbba8fba750099252c3490f00079cb19101
/thinkpython2/笔记17_随机漫步.py
39eb197d5e37a07cd710db2c81f21e7b7a1d481e
[]
no_license
hookeyplayer/exercise.io
0a36fbec9df6c24b60ff6f97de27d3d5ae7769d4
605c81cb44443efd974db9fa0a088ddcd5a96f0f
refs/heads/master
2023-06-20T17:03:20.310816
2021-07-31T12:50:21
2021-07-31T12:50:21
277,175,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 24 01:19:09 2020 @author: xiaofan """ from random import choice # 创建一个类,随机选择前进方向 class RandomWalk(): def __init__(self, num_points=10): self.num_points = num_points self.x_values = [0] self.y_values = [0] # 生成随机漫步包含的点 ...
[ "noreply@github.com" ]
hookeyplayer.noreply@github.com
9c239a6678064f3d1ed5095bf8884cf200027e46
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_158/665.py
f3d6f73a7a18e18fe79072a1f4a2ce3ba3c7c728
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
inp = input("Enter the file name: ") op = open(inp,'r') file = op.read().split("\n") T = eval(file[0]) for i in range(T): lst = file[i+1].split() X = eval(lst[0]) R = eval(lst[1]) C = eval(lst[2]) if X == 1: print("Case #" + str(i+1) + ": " + "GABRIEL") else: if (R ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
667db305d068873967ee670e0143074d26fbcbbf
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/libtbx/phil/tst_experimental.py
cdafd0e1106fedeb32f4ebc6f2b1d628d670139c
[ "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
2,646
py
from __future__ import absolute_import, division, print_function import libtbx.phil from libtbx.phil import experimental def exercise(): master_phil = libtbx.phil.parse(""" first_prop = 0 .type = int second_prop = "default text" .type = str first_scope .multiple = True .optional = True { key = None .t...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
05a2f8230a008447bc452326c090a7bf7f46e402
2015252bb6a7dee76b52da35f9e470494531c9c7
/zoom/cli/utils.py
2e11f29b3e109c39f1c01194db06b7aa9843b300
[ "MIT" ]
permissive
dsilabs/zoom
06afc18d7d45e4523582f3606bc0b871b713fe61
b34cb4b2ee7cc40b2c99015f05bfcc12d4b49065
refs/heads/master
2023-06-22T04:51:23.833306
2023-05-01T18:39:03
2023-05-01T18:39:03
65,876,598
9
12
NOASSERTION
2019-08-14T03:53:11
2016-08-17T04:45:19
Python
UTF-8
Python
false
false
7,382
py
"""CLI utilities. Differs from common logic in that these are operation- agnostic helpers.""" import os import sys import shutil from getpass import getpass from zoom.tools import zoompath # The path relative to the Zoom parent directory which boilerplate assets are # packaged. BOILERPLATE_DIR = 'zoom/_assets/boile...
[ "herb@dynamic-solutions.com" ]
herb@dynamic-solutions.com
5b17da3e4c6d2d762d74e3df9c45ea75a278624e
fae551eb54ab3a907ba13cf38aba1db288708d92
/tools/metrics/structured/codegen_unittest.py
c195480143901853d62198f0ed8360f3aae69385
[ "BSD-3-Clause", "LGPL-2.0-or-later", "Zlib", "LGPL-2.1-only", "MIT", "MPL-1.1", "LicenseRef-scancode-unknown-license-reference", "APSL-2.0", "GPL-2.0-only", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown" ]
permissive
xtblock/chromium
d4506722fc6e4c9bc04b54921a4382165d875f9a
5fe0705b86e692c65684cdb067d9b452cc5f063f
refs/heads/main
2023-04-26T18:34:42.207215
2021-05-27T04:45:24
2021-05-27T04:45:24
371,258,442
2
1
BSD-3-Clause
2021-05-27T05:36:28
2021-05-27T05:36:28
null
UTF-8
Python
false
false
1,712
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2021 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests for codegen.py. """ # TODO(crbug.com/1148168): Set up these tests to run on the tryjobs. import unit...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
51cda1cf1d13990bf2797da578eef162282d02a7
92993cff825da80a8ff601572a0c52b0b7d3cbde
/algorithms/Svm/APG/L1/APG_L1_m9.py
8270c0a7423253494c09b7ef603482630c9e4846
[]
no_license
yingzhuoy/MRs-of-linear-models
06e8b1f84b08c6aa77553813824cf35c1806c5a7
c3df8299e039a12613f2022b370b8c3e9c2dd822
refs/heads/master
2023-04-07T23:09:37.736952
2021-04-04T05:33:37
2021-04-04T05:33:37
265,124,549
0
0
null
null
null
null
UTF-8
Python
false
false
2,824
py
import numpy as np from numpy import linalg from algorithms.clf import Clf # L1-svm import cvxopt from cvxopt import matrix,solvers ## accelerate proximal gradient method def backtracking(l0, x0, p, q, low, up): # update x beta = 0.5 l = l0 L0 = 0.5*x0.T*(p*x0) + q.T*x0 #g0 = p*x0 + q #--...
[ "yingzhuoy@qq.com" ]
yingzhuoy@qq.com
95d11c5a4a125cb1674a664ca81d7a8561834b3b
cd165713559aa82abf60c45f15118588f4e74540
/programs/tidepofzeta_pattern.py
6dff129cde91bb367333707e43bda7e0981a2c0e
[]
no_license
rjleveque/pattern-method-paper
c245ecd4795c119875339dd8752838161441504c
efa4e2347a2761c31cc43cf03da559f42b252c53
refs/heads/master
2016-09-05T09:49:46.507132
2014-10-26T17:18:32
2014-10-26T17:18:32
25,534,403
0
1
null
null
null
null
UTF-8
Python
false
false
1,607
py
import matplotlib matplotlib.rc('text', usetex = True) from pylab import * import os #Use the cumulative distribution of CSZBe01r07 #to make an example plot d = loadtxt('cumulative_pattern.txt') figure(1,(12,9)) clf() axes((.1,.1,.8,.38)) #Add 1.13 to get s referenced to MSL s = d[:,0] - 2. +1.13 plot(s,d[:,1],'k')...
[ "rjl@uw.edu" ]
rjl@uw.edu
adf018452ae495c3c65da2b3ab144a38dd12add1
62ff0d3e132b5ab34a8ce309bc7b601e5240196f
/translations_dashboard/views.py
0d36eca176052f3a7cb44b13f8584b5b3cefd5c4
[]
no_license
canonical-web-and-design/developer.ubuntu.com-legacy
2ea766d9a4f42e2ab86fb1950506c0aeb6b5b700
55769d377dca312451a627e825a813b589b4d1b9
refs/heads/master
2021-06-16T20:38:10.091057
2017-05-19T14:02:56
2017-05-19T14:02:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
from django.shortcuts import render_to_response from django.template import RequestContext from django.views.decorators.cache import never_cache from cms.models import CMSPlugin import datetime import pytz def get_pages(): dashboard_data = [] known_paths = [] for plugin_change in CMSPlugin.objects.filter(...
[ "robin@robinwinslow.co.uk" ]
robin@robinwinslow.co.uk
6af8aae4a9277343c0d31a50c6c4d46f0c107ae6
4a0112f0d58c502e55507e3a6f5f720fb015f750
/build/descartes_utilities/catkin_generated/pkg.develspace.context.pc.py
cf86efce117dae1fcc9a24c44359233714974449
[]
no_license
YiKangJ/stomp_ws
3732a96d1e57178a9fb8a7e02c9c6b29f5cfd782
179d6691716ca495639732d4e1474c736ee83276
refs/heads/master
2020-04-01T20:13:34.254168
2018-10-18T09:16:01
2018-10-18T09:16:01
153,594,264
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/jyk/stomp_ws/src/4.1/src/descartes/descartes_utilities/include".split(';') if "/home/jyk/stomp_ws/src/4.1/src/descartes/descartes_utilities/include" != "" else [] PROJECT_CATKIN_DEPENDS = "descar...
[ "jinyikangjyk@163.com" ]
jinyikangjyk@163.com
f0720b153aa853d841995d5496870955d27c9e28
aafdea5ae489a951818851610f1096bd6ba6c2e0
/buttonAdditionBackup/Symphony/netClientSymPosition/netPositionsFlask.py
ce0671b8b562c999b7ce0de44eacd7f305d594a1
[]
no_license
ChetanKoranga/RMS_Trade
5edd8b673e2654b9d6e147d376601911f9f4fb8b
6aadd005463bda87549a359af0455af0480c6274
refs/heads/master
2022-11-18T23:17:51.606122
2020-07-20T14:53:51
2020-07-20T14:53:51
232,064,690
0
2
null
null
null
null
UTF-8
Python
false
false
1,733
py
from flask import Flask, request from flask_socketio import SocketIO, send, emit import os import json import socket from pathlib import Path from time import sleep import pymongo from pymongo import MongoClient # import pprint import datetime from bson import ObjectId connection = MongoClient('localhost', 27017) resp...
[ "chetankoranga3@gmail.com" ]
chetankoranga3@gmail.com
f718f10f45fd02bd8edc5945e0aa4ad2319ee239
4e02eefa71196aac8d62a61e3d698b1d1257a523
/漫画下载/manhua.py
e21168a3a938f709bc581d44a374862921968621
[]
no_license
onism7/spider
e7723f9cc8727184b0edf468c8821b57a80af501
5a0fe16f367876ab5f63aa7737a9e0a0efdb3b09
refs/heads/爬虫学习
2023-04-04T23:59:02.385924
2020-07-05T15:10:08
2020-07-05T15:10:08
268,724,369
1
0
null
2021-03-30T12:10:27
2020-06-02T06:54:24
null
UTF-8
Python
false
false
2,538
py
import requests import re import os import time from bs4 import BeautifulSoup from contextlib import closing from tqdm import tqdm # Python进度条 # 创建保存目录 save_dir = '妖神记' if save_dir not in os.listdir('/'): os.mkdir(save_dir) target_url = 'https://www.dmzj.com/info/yaoshenji.html' # 获取动漫章节链接和名字 response = reques...
[ "1125699801@qq.com" ]
1125699801@qq.com
6a456a7e744888750189264e74a1c5d2809b9c0a
2e556e4955c978d3c6a7d8bed7f2820cdb5b79c9
/CSV_TABL/guideline/migrations/0005_auto_20191003_1608.py
eb9135eb33bed4ce84eb46ab5218cc25e15a23b4
[]
no_license
pankajmandrai/dj
53bd048418e72e04115e60608b00b4dcf011e74c
704a2db3725a924f067becf102314dbda5fe6fc9
refs/heads/master
2021-07-05T16:09:34.789693
2020-08-26T12:35:02
2020-08-26T12:35:02
159,200,628
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Generated by Django 2.2.1 on 2019-10-03 10:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('guideline', '0004_auto_20191003_1606'), ] operations = [ migrations.RenameField( model_name='patientguidelines', old_name='P...
[ "44706073+pankajmandrai@users.noreply.github.com" ]
44706073+pankajmandrai@users.noreply.github.com
9744523b20cbaace316558940af09700ed9d2245
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/cluster/clusternodegroup_csvserver_binding.py
f12c882146c1346fd74d35f6f46245eb61015905
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
6,051
py
# # Copyright (c) 2008-2019 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
59e6f4e095f3cab9988b3870f421cef05ce1e666
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2397/60708/302175.py
a42c58c69c48b41ab92a7909441b205af1e261b6
[]
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
276
py
a=int(input()) b=int(input()) if(a==3 and b==19): print(17) elif(a==15 and b==1): print(704) elif(a==7 and b==179): print(15) elif(a==1 and b==3): print(4) elif(a==3 and b==1): print(32) elif(a==12 and b==229): print(15) else: print(a) print(b)
[ "1069583789@qq.com" ]
1069583789@qq.com
d4b24311e46e03a6d534cbd34be1b299c9a2c52d
eafe15761be5f857d5b756eafc9446fc375aba66
/books/migrations/0014_order_date_processed.py
38e4c9a0b2bd43d0a94ee035e1484bcce35c8207
[]
no_license
biletboh/tempora
6ff10995e7eacae8b2ac95b1dfb785749949670b
cec40ad8719d03e5c1d83320c38f78d3e0338687
refs/heads/master
2023-05-25T21:23:09.466591
2022-02-09T10:10:58
2022-02-09T10:10:58
92,310,550
0
0
null
2023-05-22T20:57:13
2017-05-24T15:56:23
HTML
UTF-8
Python
false
false
512
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-10-27 15:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('books', '0013_auto_20180828_1418'), ] operations = [ migrations.AddField( ...
[ "biletskyboh@gmail.com" ]
biletskyboh@gmail.com
47bb294b91923e0571852cb1abc8896ad9af221d
bc441bb06b8948288f110af63feda4e798f30225
/container_sdk/model/ops_automation/job_details_pb2.pyi
6ebfb86b56335d8bbde18802a6233c91796b790c
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,867
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from container_sdk.model.ops_automation.bind_resource_pb2 import ( BindResource as container_sdk___model___ops_automation___bind_resource_pb2___BindResource, ) from container_sdk.model.ops_automation.mail_info_pb2 import ( MailInfo as conta...
[ "service@easyops.cn" ]
service@easyops.cn
3de3b121a94997cb15713a187233b9af77f336a2
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-servicefabric/azure/servicefabric/models/deployed_service_package_health_report_expired_event_py3.py
28e8f9d8c564aaccc2938d2ba093885deb1d6ec4
[ "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
6,289
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
65681f79726429b5bcde08715b2d706f40e531a7
a366b71fb7d01ef601a4063cf18ebfd3851a5016
/mfw/device/mobilephone.py
c6896cc2a6b3a1f77b3a10cd5eefc20fe8987606
[]
no_license
lambdalisue/django-mfw
3371b160c33f3dc37a109981e8fa7bdd44356658
8c5b56fd5b10a4be251bf5cc80d939510ec05c68
refs/heads/master
2021-01-10T21:28:19.002407
2012-04-14T00:32:05
2012-04-14T00:32:05
1,524,942
10
0
null
2020-08-17T10:13:03
2011-03-25T09:34:46
Python
UTF-8
Python
false
false
4,453
py
# vim: set fileencoding=utf-8 : """ Mobilephone AUTHOR: lambdalisue[Ali su ae] (lambdalisue@hashnote.net) License: The MIT License (MIT) Copyright (c) 2012 Alisue allright reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
[ "lambdalisue@hashnote.net" ]
lambdalisue@hashnote.net
e797e016ccaf523c038e76273a7577f1caeac18d
dc395b598d16db405a774fcbf7de588010c80fca
/accounts/templatetags/recommended.py
1d267a58adce051be50f88fdc48ddee480ce6dbd
[]
no_license
iKenshu/tweetme
ca6a5729eaa7c3b1236e1d8dc0f3a83072b3f333
4c55456691df4054af9a80a9b50c1d60b928b7fc
refs/heads/master
2020-03-18T04:13:49.487954
2018-06-08T15:04:30
2018-06-08T15:04:30
134,276,978
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from django import template from django.contrib.auth import get_user_model from accounts.models import UserProfile register = template.Library() User = get_user_model() @register.inclusion_tag("accounts/snippets/recommended.html") def recommended(user): if isinstance(user, User): qs = UserProfile.objec...
[ "undefined.hlo.o@gmail.com" ]
undefined.hlo.o@gmail.com
55703cbe2af8841c555d19f809533a8fc1ce823a
9680c27718346be69cf7695dba674e7a0ec662ca
/Matplotlib/65-How To Add Text To The Plot-2.py
31bd3bdb45a9637dc37736f081b9739b50b40396
[]
no_license
Md-Monirul-Islam/Python-code
5a2cdbe7cd3dae94aa63298b5b0ef7e0e31cd298
df98f37dd9d21784a65c8bb0e46d47a646259110
refs/heads/main
2023-01-19T05:15:04.963904
2020-11-19T06:10:09
2020-11-19T06:10:09
314,145,135
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
import matplotlib.pyplot as plt plt.plot([10,20,30,40],marker="*") ax = plt.gca() plt.text(0.5,0.5,"NOTE",transform=ax.transAxes,color="red",size=15) print(plt.ylim()) print(plt.text(0,0,"NOTE")) plt.show()
[ "61861844+Md-Monirul-Islam@users.noreply.github.com" ]
61861844+Md-Monirul-Islam@users.noreply.github.com
6f9db2b058681e77c0d07a6646c6f8b8462b6135
cf009ae11c5a3966569f1a2582d7510cd43094bf
/sel/day6/4鼠标事件.py
7828af9d1a69d4f3c62c2e780a7cdddd58b82530
[]
no_license
taosenlin/python_file
a9a3387e7f86e1c3fc31938e1b96e54def430570
392b846de71eb821b94099f7bb99003ce5e5ae1a
refs/heads/master
2022-12-22T12:13:47.950618
2020-09-27T15:37:51
2020-09-27T15:37:51
299,061,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
# Time:2020-02-20 23:23 # Author:TSL ################################################################################# #鼠标事件 # 用selenium做自动化,有时候会遇到需要模拟鼠标操作才能进行的情况,比如单击、双击、 # 点击鼠标右键、拖拽等等。selenium给我们提供了一个类来处理这类时间——ActionChains # ActionChains 类提供了鼠标操作的常用方法: # # perform() : 执行操作 # context_click() : 右击 # double_click() : ...
[ "634726700@qq.com" ]
634726700@qq.com
433d7ee8fa78ebc0c815e04c9dc021421bd3d863
1fddb12ae9b7db260b9161983a726f1528ece940
/Part_01/Cap_09/Restaurant.py
8d82c7fc95dcfd38c8294cf2ddc694eb7b5e5126
[]
no_license
davicosta12/python_work
aecf642bbbf2a007fba159f305b4ab21ff00503f
5df62d3ced25b7e04cda71846fd07862dda39b4c
refs/heads/master
2023-04-23T09:49:31.923211
2021-04-27T00:31:42
2021-04-27T00:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
class Restaurant(): # Classe pai def __init__(self, restaurant_name, cuisine_type): self.restaurant_name = restaurant_name self.cuisine_type = cuisine_type self.number_served = 0 # Valor default, não aparece método init def describe_restaurant(self): print(" \n " + self.restaurant_name...
[ "deadspace24@hotmail.com" ]
deadspace24@hotmail.com
11b4dd57b9b9a0063901287e565950808eb5a497
35aca1291dae461d5562a3b7484e5f659ee80817
/oneflow/python/nn/modules/unsqueeze.py
4cf015efed5ddf080186c450d39e64ca035aa721
[ "Apache-2.0" ]
permissive
Flowingsun007/oneflow
e6a52cfbf5e82ca4f8b787aa026f40a2f568a10f
c1880c011dd453719a28d880abe15e2dab8d0da1
refs/heads/master
2023-05-11T19:18:59.220269
2021-05-28T20:10:35
2021-05-28T20:10:35
372,195,705
0
0
Apache-2.0
2021-06-02T09:46:51
2021-05-30T11:24:37
null
UTF-8
Python
false
false
2,226
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
Flowingsun007.noreply@github.com
3b1de99ba527dc544fccb3bd5ecdb066d4623a25
5891051796778cfb44a255248ce38789bfef9e70
/P_base/faith_class/class_inher.py
0cee7026eacfdddca1d5947e75aac75e96d0fbea
[]
no_license
Faithlmy/Python_base
cc546a5d86b123e102a69df1227cde9b6e567493
5a43557e6375dc9dbe5f6701d7c10e549873a5ab
refs/heads/master
2021-01-01T17:07:04.097978
2018-03-31T16:44:01
2018-03-31T16:44:01
98,000,621
0
0
null
null
null
null
UTF-8
Python
false
false
2,017
py
class A: name = 'A' __num = 1 _a = 9 def __init__(self): self.__num = None self._a = None def show(self): print(self.name) print(self.__num) def set_num(self, num): self.__num = num class B: name_b = 'B' __numb = 2 def __init__(self): ...
[ "lmengyy@126.com" ]
lmengyy@126.com
c3c3a369ce94b7c576e65dca165d5dbd0cb8d7cd
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/com_day_cq_dam_core_process_exif_tool_extract_metadata_process_info.py
27436dff94e571b7ea6d5980d9486bca8392945b
[ "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
7,606
py
""" 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-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
6f0864cdb76c7d20a3a25cb7370f16356917f4fc
30dbb8c5a5cce9dfea904924f00a1451abd0c88b
/Queue1/5099. 피자굽기.py
235c121702be30bd3ec288b4cd49871423dd0b5e
[]
no_license
gksrb2656/AlgoPractice
7eac983509de4c5f047a880902253e477f4ca27c
5285479625429b8ef46888c8611dc132924833b7
refs/heads/master
2020-12-22T17:20:33.677147
2020-09-22T16:05:53
2020-09-22T16:05:53
236,872,750
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
from collections import deque T = int(input()) for t in range(1,T+1): N, M = map(int, input().split()) pizzas = deque(map(int, input().split())) Q = deque() for i in range(N): Q.append((pizzas.popleft(),i+1)) idx = N while Q: pizza, k = Q.popleft() pizza //= 2 if...
[ "rbcjswkd@gmail.com" ]
rbcjswkd@gmail.com
83788d8e39f54ac3335ef6dd248848a851e3696e
47243c719bc929eef1475f0f70752667b9455675
/portal.auth/branches/miano-refactor/portal/auth/who.py
510fb33306021ddecd429c4bcc9051c0494c905c
[]
no_license
malangalanga/bungeni-portal
bbf72ce6d69415b11287a8796b81d4eb6520f03a
5cf0ba31dfbff8d2c1b4aa8ab6f69c7a0ae9870d
refs/heads/master
2021-01-19T15:31:42.943315
2014-11-18T09:03:00
2014-11-18T09:03:00
32,453,405
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
""" ``repoze.who`` authenticator plugins against a relational database """ log = __import__("logging").getLogger("portal.auth.who") from zope import interface from zope.app.security.principalregistry import principalRegistry from zope.app.security.interfaces import PrincipalLookupError from repoze.who.interfaces impo...
[ "mianonjoka@fc5d704a-7d24-0410-8c4a-57ddeba10ffc" ]
mianonjoka@fc5d704a-7d24-0410-8c4a-57ddeba10ffc
8cad787cbdcb8e96ad493728b251eb0d77b9417f
e81fb95771a46c01e9f22e5465befa16e18c5741
/tyggbot/web/routes/admin.py
4fd4c558118a5c3b7d685ef559b22a972f264e5d
[ "MIT" ]
permissive
cdrage/tyggbot
354ba45ab4531ece7b5ded17396043f5e55e2961
51e8f7b06ade701952c860c763033dfcc5643adb
refs/heads/master
2021-01-15T09:29:33.440515
2015-12-20T00:56:19
2015-12-20T00:56:19
48,301,895
1
1
null
2015-12-20T00:19:01
2015-12-20T00:19:00
null
UTF-8
Python
false
false
6,413
py
import datetime import base64 import binascii import logging from tyggbot.web.utils import requires_level from tyggbot.models.filter import Filter from tyggbot.models.command import Command, CommandData, CommandManager from tyggbot.models.linkchecker import BlacklistedLink from tyggbot.models.linkchecker import Whitel...
[ "pajlada@bithack.se" ]
pajlada@bithack.se
cbf45c14833d244298cf696be499f1deebc20ef2
7bc54bae28eec4b735c05ac7bc40b1a8711bb381
/src/trainer_v2/per_project/transparency/mmp/term_effect_measure_single_q_term/runner/preprocess_when.py
523444d4ad416ffd2b28d78b7225608cdaeb6d9c
[]
no_license
clover3/Chair
755efd4abbd5f3f2fb59e9b1bc6e7bc070b8d05e
a2102ebf826a58efbc479181f1ebb5de21d1e49f
refs/heads/master
2023-07-20T17:29:42.414170
2023-07-18T21:12:46
2023-07-18T21:12:46
157,024,916
0
0
null
2023-02-16T05:20:37
2018-11-10T21:55:29
Python
UTF-8
Python
false
false
1,469
py
import pickle import sys from typing import List, Iterable from dataset_specific.msmarco.passage.passage_resource_loader import tsv_iter, enum_grouped, FourItem from trainer_v2.per_project.transparency.mmp.bm25_paramed import get_bm25_mmp_25_01_01 from cpath import output_path from misc_lib import path_join from train...
[ "lesterny@gmail.com" ]
lesterny@gmail.com
d2ade9779f0bb167fec45e6758bc4a7cb73d2364
118c520121813b23d9307fb379d4d9406adef2e4
/08_Deep_Learning/convolutionary_neural_network.py
4ea2dc6a248df8d5a7b4d2c019f344d3bce1e606
[]
no_license
a-bautista/machine-learning-udemy
63735c9f00544c3a79d395d00afa45d395cc7316
2632cab6e40dcecdc330e77c024f9ef21c65159b
refs/heads/master
2021-04-18T19:37:16.347178
2019-04-10T05:02:16
2019-04-10T05:02:16
126,140,328
2
0
null
null
null
null
UTF-8
Python
false
false
2,912
py
from keras.models import Sequential from keras.layers import Convolution2D from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense from keras.preprocessing.image import ImageDataGenerator #Initialize the Convolutionary Neural Networks classifier = Sequential() # Step 1 -...
[ "alex.bautista.ramos.90@gmail.com" ]
alex.bautista.ramos.90@gmail.com
147814d3e22573c2d5a38a088169ed9936466ffc
0cb72fac7926b7415af3bff1bf7dbe03e96fead5
/LC_Average_Salary_Excluding_the_Mini_Max_Salary.py
6f9b327636faa824d1c5212cce811f33618dd2fc
[]
no_license
venkatsvpr/Problems_Solved
586b5ef9f5868785cb52552da674ed003e139278
11c81645893fd65f585c3f558ea837c7dd3cb654
refs/heads/master
2022-11-11T21:53:27.469213
2022-10-14T05:59:11
2022-10-14T05:59:11
114,329,154
5
1
null
null
null
null
UTF-8
Python
false
false
1,618
py
""" 1491. Average Salary Excluding the Minimum and Maximum Salary Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the average salary of employees excluding the minimum and maximum salary. Example 1: Input: salary = [4000,3000,1000,2000] Output: 2500.00000 Explanati...
[ "venkatakrishnansvpr@gmail.com" ]
venkatakrishnansvpr@gmail.com
77f3274800a7abcf229ee4758aa1cfe91b6274dd
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/python/paddle/profiler/statistic_helper.py
13ce42d7d73d6d1a44123afc3c3ed3ccd67c7aeb
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
7,696
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
7d1b6c1722399a342d3b4a1fff09c57b7c366f50
18f0ad99e21e2e35126f8c3c28079d358fa2129a
/Adafruit_pIRKey/NEC_print_example/code.py
f12010266ae67540caa613bc01ffb3bd53fa6b16
[ "MIT" ]
permissive
ladyada/Adafruit_Learning_System_Guides
9bf18dfa35941e0cbecbb3c2d02b4fa3cb79744f
6d76801878cbf65132ccea950dc47ae842c73dcd
refs/heads/master
2023-08-20T20:30:42.910576
2022-01-10T20:28:11
2022-01-10T20:28:11
115,837,894
13
2
MIT
2020-03-31T23:23:45
2017-12-31T02:34:47
C
UTF-8
Python
false
false
1,188
py
# Simple NEC remote decode-and-print example # Prints out the 4-byte code transmitted by NEC remotes import pulseio import board import adafruit_dotstar import adafruit_irremote led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1) pulsein = pulseio.PulseIn(board.REMOTEIN, maxlen=120, idle_state=True...
[ "limor@ladyada.net" ]
limor@ladyada.net
c66fae3460a6ff4a108918b059c585b1b3267825
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/tests/test_models/test_backbones/test_cgnet.py
62738ebf4e1e5c454add663bb1d70c221f486ab8
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
5,916
py
# Copyright (c) Facebook, Inc. and its affiliates. # Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
e20504ef81273776b806dd39435d02be9d31b2dc
4c83b4d7aca6bbcd15b922ad7314440fea7c9a70
/2020-07-27_modo_horario_cp_onda2_10d/script_modo_horario_2019-11-12_fchk_1084.py
b1f821e8e1b79c69a019625d8720f165725e4131
[]
no_license
poloplanejamento/odmatrix-joinville
63b60a85055700698cdb590c181e7c8a4d5c7361
be7ce0814fb9dad2d289cd836dde51baa9c0850d
refs/heads/main
2023-01-23T11:43:45.451126
2020-12-10T23:17:58
2020-12-10T23:17:58
320,402,809
0
0
null
null
null
null
UTF-8
Python
false
false
2,339
py
#!/usr/bin/env python3 # Bibliotecas from http.client import HTTPSConnection from base64 import b64encode import json import csv import pandas as pd # Variáveis projectID = "42" # ID do projeto, conforme mostrado no frontend Web c = HTTPSConnection("api.odmatrix.app") userAndPass = b64encode(b"fe6b53f0280443d5bd4...
[ "caiocco@gmail.com" ]
caiocco@gmail.com
c180badb99425b34481ded6d36ac1e4ba7b269b2
864274c296bed5a442bba3c69f67833c82d193fb
/Django/MySite101/app2/views.py
6f387bc5d9f6002070892a4a5d6115bbcacaac19
[]
no_license
ashriyatldr/PythonTraining1_2020
84e994bac3753b38dab43699b1df21db1ad7c286
1af8b9a2d33bc29391eaffb4cc2272681c1853c5
refs/heads/master
2023-01-29T15:54:44.855417
2020-12-08T11:09:44
2020-12-08T11:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return HttpResponse("Hello from App2")
[ "=" ]
=
3a6cf774cb6b021482b3210d0e686355235dc4ae
ae9bb7babce2a0349ae932985cf418a03057c670
/test_ProjectPractice/test_selenium/home_page/__init__.py
ec3451f0a78573e1b74610599eeb726737a0e406
[]
no_license
Veraun/HogwartsSDET17-1
d2592fcb4c9c63724c19bcf9edde349ebcd2c8af
6648dbfb640b065ff2c76cb6889a8f9e4f124b91
refs/heads/main
2023-07-02T05:20:32.161248
2021-08-06T03:55:13
2021-08-06T03:55:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
''' #!/usr/bin/python3 # -*- coding: utf-8 -*- @author: wangwei @project: HogwartsSDET17 @file: __init__.py.py @time: 2021/3/1 15:46 @Email: Warron.wang '''
[ "wei1.wang@ximalaya.com" ]
wei1.wang@ximalaya.com
79829e304d6eaab311443aca2328e29406c398d8
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/videoanalyzer/list_edge_module_provisioning_token.py
97aab20a86f403fce16e4ea42d3c62961375f676
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
4,813
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, overload from .. import _utilities __a...
[ "noreply@github.com" ]
morrell.noreply@github.com
737b89b73bb132cdc4d0870b3de7a3063dfe9f14
41e1fe34d19118e85640f4174828bfc1aaf2f060
/examples/datavault2-example/dags/acme/operators/hive_operators.py
dac781b2839df39a58a17419b6292fe33b38e8ab
[]
no_license
gtoonstra/etl-with-airflow
1da72e03ba581190790df6db0d85ec989e9e8070
1e069daf9db13de6850c9b25d673742cbcc5c207
refs/heads/master
2022-09-08T07:48:12.528587
2021-11-27T10:35:15
2021-11-27T10:35:15
71,038,701
1,270
294
null
2022-08-11T21:15:35
2016-10-16T08:31:14
Shell
UTF-8
Python
false
false
6,065
py
# -*- coding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
[ "gtoonstra@gmail.com" ]
gtoonstra@gmail.com
bf2a450ecc5d4129293e2c041ad696aca6b88d4e
7699cd22ca370c89fb949eca80c587c0c3a9f8d5
/experiments/over_avg_long.py
993272a55e8eddeaaaa69176927b4b1cebc42350
[]
no_license
ccliuyang/trader
8bc2d5f144784c9deca92908c209dc9dd69da4f2
f7975352bd6c2f34e164a87b03c0cc5e02b48752
refs/heads/master
2023-02-10T07:44:24.498417
2021-01-12T02:06:08
2021-01-12T02:06:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
from gevent import monkey; monkey.patch_all() import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from datetime import date, timedelta, datetime import gevent import socket import sys import time import threading import pandas as pd import numpy as np from scipy.sig...
[ "nnnlife@gmail.com" ]
nnnlife@gmail.com
e8359615007d8df248ebcec180d7038444bd5c65
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/distiller/CWD/pytorch/mmrazor/mmrazor/models/algorithms/__init__.py
178cc653547f69bc58a59807d45c8c91f3494c59
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
1,072
py
# Copyright (c) OpenMMLab. All rights reserved. from .base import BaseAlgorithm from .distill import (DAFLDataFreeDistillation, DataFreeDistillation, FpnTeacherDistill, OverhaulFeatureDistillation, SelfDistill, SingleTeacherDistill) from .nas import (DSNAS, DSNASDDP, SPOS, Au...
[ "mingjiang.li@iluvatar.ai" ]
mingjiang.li@iluvatar.ai
a267d83ec18eaa2f2f559d5711839134c805f08a
27e5aec1fcc8304e41fc838a4ce5f2d12ebad2da
/C10-Exercises-with-sub-dictionaries/Question-2.py
4942a35eee386f94306eaea644fb5ff76bc6d5be
[]
no_license
nihathalici/Full-Speed-Python
cca8c3c8e8877283b557ecc2aef3646147b0e5cd
7efb22e1c9280d4f5d24fe208eb6a46b27f2622c
refs/heads/main
2023-07-13T15:07:59.421804
2021-08-16T07:58:45
2021-08-16T07:58:45
390,086,063
1
0
null
null
null
null
UTF-8
Python
false
false
619
py
""" Take the following dictionary: students = { "Peter": {"age": 10, "address": "Lisbon"}, "Isabel": {"age": 11, "address": "Sesimbra"}, "Anna": {"age": 9, "address": "Lisbon"}, } 2. Implement a function that receives the students dict and returns the average age. """ students = { "Peter": {"age": 1...
[ "noreply@github.com" ]
nihathalici.noreply@github.com
b12d0ea5d58f92a45a139dbf4c9f534a82c4c449
600cc377329781ab01466fe7a27ec1653a2c77bb
/tests/models/test_notice_model.py
5f93219dc18eb2e7cf249ea83687609ce849b786
[]
no_license
volitilov/Flask_microblog
3efa83f6a34eebc1fcdf7b4ba4519d398503e159
7769628d622508b16c9e42aad00109bdd4e36167
refs/heads/master
2022-12-12T22:54:28.070099
2018-09-16T11:54:52
2018-09-16T11:54:52
104,367,584
0
0
null
2022-12-08T02:08:08
2017-09-21T15:44:01
Python
UTF-8
Python
false
false
2,012
py
# test_notice_model.py # Тестирование модели Notice # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: import unittest from datetime import datetime from app import create_app, db from app.models.user import User from app.models.notice import Notice # :::::::::::::::::::::::::::::::::::::::...
[ "volitilov@gmail.com" ]
volitilov@gmail.com
93e74fa76ea6fbf6ce4e58422eba08bffd50d868
e84705096ad4e6295439be20b6b60596e8ec0447
/util/util.py
218e966715b1754b104a28a4716ec728dbc599d6
[]
no_license
humdingers/neural-figer
288547982111797479c11d6c4438de0a5dca0fa1
f75231d9b4178d6257a1ef6a03af192f12b548bb
refs/heads/master
2020-08-13T18:18:32.627497
2017-03-06T21:16:10
2017-03-06T21:16:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
import sys import os import time import pickle import numpy as np def entity_set(filepath): enset = set() with open(filepath, 'r') as f: entities = f.read().strip().split("\n") enset = set(entities) print("Num of entities = {}".format(len(enset))) return enset def fun(s): s` += "n" if __name__ == '__main__'...
[ "gnnitish@gmail.com" ]
gnnitish@gmail.com
fd745938d055baf3228cf5109a2e5097706851cd
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5765824346324992_0/Python/icc/b.py
d89466cbdf815a7a8c7c8b5d032d53d10e7c5a37
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,221
py
#!/usr/bin/env python import math import pprint pp = pprint.PrettyPrinter(indent=4) def gcd(a, b): while b: a, b = b, a%b return a def solve(line): n,k = line.split() n,k = int(n), int(k) line = raw_input() barbers = line.split() for i in xrange(n): barbers[i] = int(barbers[...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
1ef51095d9093e09696a07771e961e5162f3258d
e6afd34196217b6e19580dacbe98cbef9f547693
/mp_MRP/book_notes/my_mp/rl/chapter10/mc_td_experience_replay.py
34bdcee7f33643e4c104badc828d9bb510b926bf
[]
no_license
StevenMaharaj/rlscf_my_notes
22eabeb00b24c7cb87dcf708be326ecb62453e13
093c0f2f78ae071c94718ca270afa4c773923fa7
refs/heads/main
2023-07-29T09:44:59.149352
2021-09-06T01:18:19
2021-09-06T01:18:19
400,407,241
0
1
null
null
null
null
UTF-8
Python
false
false
5,807
py
from typing import Sequence, TypeVar, Tuple, Mapping, Iterator, Dict from rl.markov_process import TransitionStep, ReturnStep, \ NonTerminal, Terminal, FiniteMarkovRewardProcess from rl.function_approx import Tabular from rl.distribution import Categorical from rl.returns import returns import rl.iterate as iterate...
[ "=" ]
=
85f2584361c0fb551767514acb577d55230d4f61
8d6834b20bce2a0a4836a46c2964198b1520ddc9
/build/src/content_blocks-0.1.1FINAL/content_blocks/admin.py
969c9b154c12867c6efca142d6184e66be8785fa
[]
no_license
taylanpince/insider-marketing
f03e46fc6a156a92fd3b20686098b67fa67296f7
0337dfbe5ca328321595baa367d667792d96431c
refs/heads/master
2021-01-23T03:21:02.145056
2010-12-06T15:58:43
2010-12-06T15:58:43
268,153
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
from django import forms from django.core.urlresolvers import reverse from django.contrib import admin from content_blocks.models import ContentBlock from tinymce.widgets import TinyMCE class ContentBlockAdmin(admin.ModelAdmin): list_display = ('name', ) def formfield_for_dbfield(self, db_field, **kwarg...
[ "taylanpince@gmail.com" ]
taylanpince@gmail.com
42ff9ed809d343c99c193b6bc1cee1cfd94c1e8a
76e20d4ce2a03dd0d1698d9da3af1f3be3a4b7b5
/intersection-of-two-linked-lists.py
513dfc43f64d8dd8d7cdfd99819fa1a6ca038b97
[]
no_license
wangqi1996/leetcode
de044c7b4590e12da5cca4c08f1631c3dd2981fb
662ebc1762c92b6479f224169bfffabc57b16825
refs/heads/main
2023-03-08T05:38:12.711469
2021-02-20T13:34:50
2021-02-20T13:34:50
336,236,756
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
# class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ :type head1, head1: ListNode :rtype: ListNode """ if not headA or not headB: return N...
[ "1528272574@qq.com" ]
1528272574@qq.com
9456800f52eeac6282355395c673a81b47e1226b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/blei-lab_edward/edward-master/edward/models/__init__.py
2e44f26e23706f6014efa201648e0601fdc222a1
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
234
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from edward.models.models import * from edward.models.random_variable import * from edward.models.random_variables import *
[ "659338505@qq.com" ]
659338505@qq.com
923d29d18340c5e4aed9af9c89197aee9c93e19d
ea378480ba678eb123ef826e3ca0c3eb8f4e538f
/py ref/mirra/examples/mirratemplate.py
34aed99ef325c19bfa62fbac2d8222309a2a51b4
[]
no_license
msarch/py
67235643666b1ed762d418263f7eed3966d3f522
dcd25e633a87cdb3710e90224e5387d3516c1cd3
refs/heads/master
2021-01-01T05:21:58.175043
2017-05-25T08:15:26
2017-05-25T08:15:26
87,453,820
1
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
#!/usr/bin/env python from mirra import main from mirra.graphics import * from mirra import utilities """ Mirra : 2D graphic engine in OpenGL by www.ixi-software.net Check out documentation files """ class MirraApp(main.App) : """ main appplication class, handles window contains events and graphics manager....
[ "msarch@free.fr" ]
msarch@free.fr
12c26a0cd497724fbea4f70a3312bd6fdce90c3c
367be82caa1e10965f8527fae3b4bbf5d101b456
/kod/zeropython/zerocon/orders/getdefinition.py
394c1e3e7d1d9b404cb252784d582d45d2d48f87
[ "BSD-3-Clause" ]
permissive
piotrmaslanka/zero
5a56688abf116f2225ac1c52c71fb2b4cfcb8999
4a4e8341b06032b7ade6d7a56d9ae33dd1a5f47d
refs/heads/master
2021-01-10T06:18:00.037212
2015-05-26T07:01:58
2015-05-26T07:01:58
36,278,174
1
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
from zerocon.orders import BaseOrder from zerocon.exceptions import IOException from zerocon.seriesdefinition import SeriesDefinition import struct class GetDefinition(BaseOrder): def __init__(self, name): BaseOrder.__init__(self) self.name = name def __str__(self): return '\x00'+struc...
[ "piotr.maslanka@henrietta.com.pl" ]
piotr.maslanka@henrietta.com.pl
6f019d1afab96593e644cd8683094929fa3f3243
0a725d9f2da5a3f80722b5611d1143ae38b80acd
/catalog/templatetags/catalog_filters.py
a0e1d00de21913f09380aedff2d750fb736a56d1
[]
no_license
shivam1111/ecomstore
c2dc7f46594c1af9ad176955ce3e1d7bceebf7dd
8f0db322943d78d009484fb3fdafd6b5d0591662
refs/heads/master
2021-01-01T03:44:59.989196
2016-04-28T10:28:38
2016-04-28T10:28:38
56,051,651
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
from django import template import locale register = template.Library() @register.filter(name='currency') # Registration of filters def currency(value): # Value is sent from template try: locale.setlocale(locale.LC_ALL,'en_US.UTF-8') except: locale.setlocale(locale.LC_ALL,'') loc = loca...
[ "shivam1111@gmail.com" ]
shivam1111@gmail.com
19282ecd3382042a0cb7784e2a3429d7464feaeb
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.app.contentrules-3.0.9-py2.7.egg/plone/app/contentrules/namechooser.py
efa7f43f19eab6ffa97b82c7048d975031312aae
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
723
py
from zope.container.contained import NameChooser from zope.container.interfaces import INameChooser from zope.interface import implements ATTEMPTS = 100 class RuleNameChooser(NameChooser): """A name chooser for content rules. """ implements(INameChooser) def __init__(self, context): self.c...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
ee664d75ff2450fd99f37a8d12e669ed7dfe0466
cdd79cef15bdf6a0b9098e27028bbe38607bc288
/問題解決力を鍛える/04_M_06_Fibメモ化.py
52ec705b87c2b81c75d43262d69a762f80d14df3
[]
no_license
nord2sudjp/atcoder
ee35a3eb35717485dc62627172de24c9dac102fb
6b1cc5102a615492cc7ff8a33813bbb954641782
refs/heads/master
2023-08-25T11:27:14.205593
2021-09-27T05:43:04
2021-09-27T05:43:04
302,855,505
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
def fib(N): if N==0:return 0 elif N==1:return 1 if mem[N]!=-1:return mem[N] res= fib(N-1)+fib(N-2) mem[N]=res return res S=35 mem=[-1]*(S+1) fib(S)
[ "nord2sudjp@gmail.com" ]
nord2sudjp@gmail.com
5402a312547ff1af427c6aee9f6449a86d4daf6d
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/prime-factors/56beb36c7f7648169fef9f09e1c24c0b.py
db2d07fc5d95105d2b5ec07759bdb1a10541bc47
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
443
py
from itertools import count def nextprime(): yield 2 yield 3 for n in count(start=5, step=2): for i in xrange(3, int(n ** 0.5) + 1, 2): if n % i == 0: break else: yield n def prime_factors(n): factors = [] primes = nextprime() while n >...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
75b485d23488a061fd599fa216e94a81cecdf8b6
289aaefe2f78bde474ea082afe55054f14932be4
/源码/【35】智慧寻路系统-课程资料/【35】智慧寻路系统-挑战包.py
acc4f3598cf31f05991a3cda2009269ef3be2399
[]
no_license
13424010187/python
ed15dbad380164c846ef68692213dea7689b514e
aab8ba8565ed29e7d8b93d7ec3270fafb1294fe9
refs/heads/master
2023-07-17T07:57:47.694227
2021-08-15T09:57:06
2021-08-15T09:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
ite = input('请输入学校坐标(例:9 9):').split() n, m = map(int, ite) a = [] for i in range(15): a.append([]) for j in range(15): a[i].append(0) k = int(input('请输入施工路口数(例:1):')) for i in range(k): x, y = map(int, input('请输入施工路口坐标,注意0<x<n且0<y<m(例:4 4):').split()) a[x][y] = -1 a[x-1][y] = -1 a[x][y...
[ "1393699623@qq.com" ]
1393699623@qq.com
29a8d3de44ac50bf5e004ec9d669829abebab38d
afd2087e80478010d9df66e78280f75e1ff17d45
/torch/_C/_lazy.pyi
ceaaedee210298b6448ee485ac0e433dc79dd450
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
pytorch/pytorch
7521ac50c47d18b916ae47a6592c4646c2cb69b5
a6f7dd4707ac116c0f5fb5f44f42429f38d23ab4
refs/heads/main
2023-08-03T05:05:02.822937
2023-08-03T00:40:33
2023-08-03T04:14:52
65,600,975
77,092
24,610
NOASSERTION
2023-09-14T21:58:39
2016-08-13T05:26:41
Python
UTF-8
Python
false
false
969
pyi
from typing import List from torch import Tensor # defined in torch/csrc/lazy/python/init.cpp def _mark_step(device: str, devices: List[str], wait: bool): ... def _wait_device_ops(devices: List[str]): ... def _reset_metrics(): ... def _counter_names() -> List[str]: ... def _counter_value(name: str) -> int: ... def _m...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
6c212fe989615e7bcc48261146e32d166b9e4533
90d4b790f9a7198760fdbcfad6abd2da851f2f4e
/0x09-python-everything_is_object/101-locked_class.py~
21d8fea735fee5d0f8c11f79ead708201b19f2f5
[]
no_license
Murega14/holbertonschool-higher_level_programming
2817a532d7d6739ed046e350903e394ed1bae0a3
f29a4c4e74c01798cb51bfe5160432569a1ca833
refs/heads/master
2023-03-15T08:22:06.926537
2018-09-09T20:46:33
2018-09-09T20:46:33
572,548,803
1
0
null
2022-11-30T14:11:06
2022-11-30T14:10:32
null
UTF-8
Python
false
false
133
#!/usr/bin/python3 class LockedClass: __slots__ = ['first_name'] def __init__(self,name=""): self.first_name = name
[ "Dkazemian@gmail.com" ]
Dkazemian@gmail.com
88829a70b119b6b5c97d72c906f1843c40694190
e54e1a63bffbe913f5e5018ace56cfa3eab1a72b
/practice/Leetcode/3653_validate_stack_sequences.py
748a4d0f4a318042b52172c6dd29e193f8ab1a89
[]
no_license
rmodi6/scripts
5e27a46ce8970cbf601f132a53164c273f1812ea
7cc47eecac00e6bd0b3ec74d7eed8ec3e0e77a84
refs/heads/master
2022-02-14T20:41:28.765751
2022-01-20T06:59:40
2022-01-20T06:59:40
168,207,721
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
# https://leetcode.com/explore/challenge/card/february-leetcoding-challenge-2021/587/week-4-february-22nd-february-28th/3653/ class Solution: def validateStackSequences(self, pushed: List[int], popped: List[int]) -> bool: indices = [pushed.index(n) for n in popped] visited = set() prev = -1...
[ "modi.ruchit6@gmail.com" ]
modi.ruchit6@gmail.com
0b7ad689291347c50ba101932268ed706e887b22
eabe36dbf510b69e8a8772195a327c56814d9e68
/unit_tests/test11.py
b16f33e15ce49057c06cb0a594d38435374a01d7
[]
no_license
guyinatuxedo/vf
899b400899973c69036bc88eba4ee6e5ac2efbe8
ccad8fbda964f545fe06955801359d2c7f10724a
refs/heads/master
2022-11-11T17:13:57.681254
2020-06-23T02:49:17
2020-06-23T02:49:17
272,586,301
5
0
null
null
null
null
UTF-8
Python
false
false
528
py
import unittest import vf class testcase(unittest.TestCase): def test(self): fs = vf.WriteFmtStr(value=0x001020, address=0x601020, value_base=0x55440000, offset=10, arch=64) test_fmt_str = fs.generate_fmt_str() correct_fmt_str = b'%4128c%17$hn%17700c%18$hn%43708c%19$hn%65536c%20$hn00000 \x...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
bccb0c27b0035c7e429da4e18a237f726a0ba361
6271171cbfab3e2b195b73cb936428adc6a1ca96
/village/forms.py
3e191a510db0bc9d4ae442d2c35c02d9cb276155
[]
no_license
UmuhireAnuarithe/Neighborhood
7592f24d0f11ec77d7f46a92cdb9dced5e66dd11
60072d868433e38145b74cbe1cee06e16bf58266
refs/heads/master
2020-09-04T11:34:29.819137
2019-11-07T19:19:30
2019-11-07T19:19:30
218,758,680
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
from django import forms from .models import Profile , Business,Events , Village class ProfileForm(forms.ModelForm): class Meta: model = Profile exclude = ['username'] class HoodForm(forms.ModelForm): class Meta: model = Village exclude = [] class EventsForm(forms.ModelFo...
[ "you@example.com" ]
you@example.com
946369383520f680252f291c518b3368a08c050c
c4a33b613ffc77dccf96d33c3a5cc127405c0e95
/trip/admin.py
40a8ff830b7d36de24afbe9c8276bf44d2bdee90
[]
no_license
tsokac2/new-irish-life
25f49bd0b74dfa7c0a449772249f6cb51925b643
d09934b60a1fd4fbd4540d412dc5dab726f5b502
refs/heads/main
2023-07-02T09:54:55.082587
2021-07-30T04:42:57
2021-07-30T04:42:57
379,245,725
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
from django.contrib import admin from .models import Trip class TripAdmin(admin.ModelAdmin): list_display = ( 'main_title', 'sub_title_1', 'sub_title_2', 'sub_title_3', ) admin.site.register(Trip, TripAdmin)
[ "tsokac2@gmail.com" ]
tsokac2@gmail.com
3e04c0062103a962f42f3649c12c2979944c5fe0
bcabd9b183bc011e1ccf7e367fbed0dcaa03eee6
/3 DJANGO/COREY/Django code Backups/Type error for this django project/django_project/blog/models.py
4af4458575de498d58e22a0ff9e1e72e52a127dd
[]
no_license
rajeshsvv/Lenovo_Back
287fe4da2c696aa248ec57a4c45c4f234f6ca9ed
7e49e38aaf934c65f9992a78404d2b81a4cd0204
refs/heads/master
2022-12-23T16:44:41.488128
2019-08-29T10:00:10
2019-08-29T10:00:10
204,859,914
0
1
null
2022-12-10T11:50:31
2019-08-28T06:05:35
Python
UTF-8
Python
false
false
582
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User # Create your models here. from django.urls import reverse #return full URL to that route as a string class Post(models.Model): title = models.CharField(max_length=100) content = models.TextField() ...
[ "rajeshsvv01@gmail.com" ]
rajeshsvv01@gmail.com
c1a1b57b39c32795702538d3cd81ce1bd1dfe22c
7cd8ee14711eaf33cee0d9e06e78a974fc579242
/Linkedin/Linkedin/spiders/linkedin_company_pages_sheetscript.py
87e78970140c902a91b3b2312df0ed49c82f1f19
[]
no_license
Chandler-Song/pi
c618117dfdd9a7496a57c69f029851e94787f591
aebc6d65b79ed43c66e7e1bf16d6d9f31b470372
refs/heads/master
2022-03-13T02:44:30.452673
2019-02-19T09:38:45
2019-02-19T09:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
from linkedin_voyager_functions import * import ast class Linkedincsc(object): def __init__(self, *args, **kwargs): self.con, self.cur = get_mysql_connection('localhost', 'FACEBOOK', '') self.excel_file_name = 'linkedin_company_data_%s.csv' % str(datetime.datetime.now().date()) if os.path.isfile(self.excel_file...
[ "aravind@headrun.com" ]
aravind@headrun.com
d0638d979b73aa374096e51d5ffd39a8b8d2c23d
c2fb6846d5b932928854cfd194d95c79c723f04c
/python_gui_tkinter/KALU/GARBAGE1/mail/mail_sendmail.py
bf37318924b7fb840a0ef7ce0dad2757990f9bf4
[ "MIT" ]
permissive
Jimut123/code-backup
ef90ccec9fb6483bb6dae0aa6a1f1cc2b8802d59
8d4c16b9e960d352a7775786ea60290b29b30143
refs/heads/master
2022-12-07T04:10:59.604922
2021-04-28T10:22:19
2021-04-28T10:22:19
156,666,404
9
5
MIT
2022-12-02T20:27:22
2018-11-08T07:22:48
Jupyter Notebook
UTF-8
Python
false
false
397
py
from mail_EmailSender import EmailSender from mail_Secrets import Secret # Build a class for this project from mail_MailTemplate import MailTemplate ob1 = EmailSender ob1.sendmail("jimutbahanpal@gmail.com", "jimutbahanpal@yahoo.com", "Reg the arrival and proj", MailTemplate.template, MailTemp...
[ "jimutbahanpal@yahoo.com" ]
jimutbahanpal@yahoo.com
fd222f3bbe6f52fe37e2a7ccd41ff0b701818162
75bee875a2d26ed71513f46a2acbb564dd9a1c44
/app/extensions/flask_sqlalchemy/__init__.py
753706c30b66491cb30b466467477412d5ea1d81
[ "MIT" ]
permissive
frol/flask-restplus-server-example
d096aa1f4e3b6024ecb16af3d0769ccc20e7cff8
53a3a156cc9df414537860ed677bd0cc98dd2271
refs/heads/master
2023-08-28T14:27:34.047855
2023-06-21T14:30:54
2023-06-21T14:30:54
46,421,329
1,487
412
MIT
2023-06-21T14:30:55
2015-11-18T13:43:34
Python
UTF-8
Python
false
false
2,564
py
# encoding: utf-8 """ Flask-SQLAlchemy adapter ------------------------ """ import sqlite3 from sqlalchemy import engine, MetaData from flask_sqlalchemy import SQLAlchemy as BaseSQLAlchemy def set_sqlite_pragma(dbapi_connection, connection_record): # pylint: disable=unused-argument """ SQLite supports F...
[ "frolvlad@gmail.com" ]
frolvlad@gmail.com
42b8dc1a9e34a19397f76f7cd8208768eb791af1
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Obsidian Dungeons/game/game.py
351207969eb953b0ddf6b3e170e35553481ecb53
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:fc74b6e6de60f2ee42ef9f156e36855d101a26677b9c47869afe1fbd4c20b5fb size 3857
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
13e013889e32ad9272b744ad35d63b807660a640
2ab4312f62cd5ad694bbe8fc4c611728b10c751b
/makepizza/pizzashop/pizzashop/wsgi.py
09961e957e769f3085ee65c811e45ffa6c4bf53d
[ "MIT" ]
permissive
AwesomeZaidi/Django-Projects
b1aeea660f023564b83138294b6a7fc792e67dbd
6f2be80a07b06ca4812248f82aa38cdf56dee34b
refs/heads/master
2022-12-09T00:11:10.242599
2019-07-04T17:22:20
2019-07-04T17:22:20
190,037,582
0
0
MIT
2022-11-22T03:55:21
2019-06-03T15:58:22
Python
UTF-8
Python
false
false
395
py
""" WSGI config for pizzashop 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "asimzaidih@gmail.com" ]
asimzaidih@gmail.com
84c47531193c59c7c6d49c1988c3aa7561e2b75f
f1ee65fbe1ffc43c2aac45e41515f1987eb534a4
/src/build/fuchsia/test/log_manager.py
0c641bda588b24b72d70ded0e74697354541266b
[ "BSD-3-Clause" ]
permissive
klzgrad/naiveproxy
6e0d206b6f065b9311d1e12b363109f2d35cc058
8ef1cecadfd4e2b5d57e7ea2fa42d05717e51c2e
refs/heads/master
2023-08-20T22:42:12.511091
2023-06-04T03:54:34
2023-08-16T23:30:19
119,178,893
5,710
976
BSD-3-Clause
2023-08-05T10:59:59
2018-01-27T16:02:33
C++
UTF-8
Python
false
false
5,982
py
#!/usr/bin/env vpython3 # Copyright 2022 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Reads log data from a device.""" import argparse import os import subprocess import sys import time from contextlib import AbstractContextManager from ...
[ "kizdiv@gmail.com" ]
kizdiv@gmail.com
0fbfd541ec89938f2c48fb3fb198c6baab12c964
318270aeab9182a42482c33167f90b3e6bb8a77b
/Working With CSV and Pickling!/Pickling/picking with python.py
d84b7e45ea9fdd46d1b3d0b6056fdba561f3f993
[]
no_license
Raj-kar/Python
b857214392384752855f6ab5d673b0218ce3ecd7
7eab4705eda566827ad01b3285095d253e55a7dc
refs/heads/master
2023-01-21T07:11:03.054162
2020-11-30T08:47:11
2020-11-30T08:47:11
286,132,816
3
11
null
2020-10-13T21:47:31
2020-08-08T23:09:42
Python
UTF-8
Python
false
false
1,280
py
import pickle class Pet: allowed = ['cat', 'dog', 'fish', 'rat'] def __init__(self, name, species, toy): if species not in Pet.allowed: raise ValueError(f"You can't have a {species} pet!") self.name = name self.species = species self.toy = toy def __repr__(sel...
[ "rajkar921@gmail.com" ]
rajkar921@gmail.com
3cd63b78603846220deda00bf9b3d8c00af0a9ae
adde5784379cba18934bc32bd779959ccc8bc94f
/redash/query_runner/uptycs.py
e8e8c0ae91b17f8417ee8be14e5f157a596dfddb
[ "BSD-2-Clause" ]
permissive
YuanlvCold/mxzz-bi
32292a8cafb4097fcb60e70917849a2f23e5511f
7cae1b80e2f715d0af7ca912d1793668353c4b9e
refs/heads/master
2022-12-02T04:39:06.631341
2020-08-17T06:46:19
2020-08-17T06:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,652
py
from redash.query_runner import * from redash.utils import json_dumps, json_loads import jwt import datetime import requests import logging logger = logging.getLogger(__name__) class Uptycs(BaseSQLQueryRunner): should_annotate_query = False noop_query = "SELECT 1" @classmethod def c...
[ "2426548297@qq.com" ]
2426548297@qq.com
5ca01cbe0c179ed8adf26fc683f0761fcc21cc06
5cf556a79b082a18dce57e1308e72019b3b95842
/example/stream.py
a7feef795466fbb4177315a9112f523cb1803ed7
[ "MIT" ]
permissive
marrow/WebCore
5dca4a19ee90f2198f08fdc611ed8e1a94ac250f
eee68b817f58b5da9002aae5f1b16b80094f738b
refs/heads/develop
2023-06-10T18:07:15.329316
2022-12-16T18:00:38
2022-12-16T18:00:38
196,465
72
14
MIT
2023-08-11T15:23:03
2009-05-09T09:10:54
Python
UTF-8
Python
false
false
1,297
py
# encoding: utf-8 from random import randint from time import sleep from concurrent.futures import ThreadPoolExecutor, as_completed, TimeoutError def mul(x, y): sleep(0.125) return ('text/plain', "{0} * {1} = {2}\n".format(x, y, x * y)) executor = ThreadPoolExecutor(10) def root(context): """Multipart AJAX re...
[ "alice@gothcandy.com" ]
alice@gothcandy.com