blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
395dd32b36ef6f772a2dc6cf1c9e19d74b164ab5
f3ac5816c1a7ba9d36c0673585271a1eaadf23c5
/venv/Scripts/pip3-script.py
8f255ad495f3e332027192052761abc2cc3fed45
[]
no_license
Abhishek-Bhardwaj123/myJarvis
47265036b7ffd8de9b32be4508214e381dacee9c
b654ecd300cdbb4e0f284c11b589de96d794b9f8
refs/heads/master
2023-01-11T17:23:13.482325
2020-11-11T14:27:27
2020-11-11T14:27:27
310,311,082
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
#!C:\Users\akku\PycharmProjects\myJarvis\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "akkucoder123@gmail.com" ]
akkucoder123@gmail.com
6761e8fe9dbbdf0919c1045ac3ee86a999c1cea5
bc6492a9a30ac7228caad91643d58653b49ab9e3
/sympy/integrals/rubi/rules/exponential.py
90b28d15cf3a1c0f5509ed7a20ff2220e061a60f
[]
no_license
cosmosZhou/sagemath
2c54ea04868882340c7ef981b7f499fb205095c9
0608b946174e86182c6d35d126cd89d819d1d0b8
refs/heads/master
2023-01-06T07:31:37.546716
2020-11-12T06:39:22
2020-11-12T06:39:22
311,177,322
1
0
null
2020-11-12T06:09:11
2020-11-08T23:42:40
Python
UTF-8
Python
false
false
67,083
py
''' This code is automatically generated. Never edit it manually. For details of generating the code see `rubi_parsing_guide.md` in `parsetools`. ''' from sympy.external import import_module matchpy = import_module("matchpy") from sympy.utilities.decorator import doctest_depends_on if matchpy: from matc...
[ "74498494@qq.com" ]
74498494@qq.com
0e5eea944b35c18d2c872a30df256cb5b55bcd19
fd36795a6092e16cdd374fe8367f0f0617a22ea4
/tools/bin/pythonSrc/pexpect-4.2/tests/test_command_list_split.py
370f46e5b497c2dee4fbe1a1c5965155d9379ff2
[ "MIT", "BSD-4-Clause-UC", "BSD-3-Clause", "ISC", "bzip2-1.0.6", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-4-Clause", "Artistic-2.0", "PostgreSQL", "LicenseRef-scancode-unknown", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-copyleft" ]
permissive
DalavanCloud/hawq
eab7d93481173dafb4da42c2d16249310c4c2fc9
aea301f532079c3a7f1ccf0a452ed79785a1a3a3
refs/heads/master
2020-04-29T10:14:22.533820
2019-03-15T13:51:53
2019-03-16T03:37:51
176,054,339
1
0
Apache-2.0
2019-03-17T04:02:59
2019-03-17T04:02:58
null
UTF-8
Python
false
false
1,812
py
#!/usr/bin/env python ''' PEXPECT LICENSE This license is approved by the OSI and FSF as GPL-compatible. http://opensource.org/licenses/isc-license.txt Copyright (c) 2012, Noah Spurrier <noah@noah.org> PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE FOR ANY PURPOSE WITH OR WIT...
[ "rlei@pivotal.io" ]
rlei@pivotal.io
46bb827c374c723df2920b4765f45cafad5d8454
50402cc4388dfee3a9dbe9e121ef217759ebdba8
/demo/testPyQt/test3.py
6c42882d89fc51c0eae08cdf2e7c23b542794f04
[]
no_license
dqyi11/SVNBackup
bd46a69ec55e3a4f981a9bca4c8340944d8d5886
9ad38e38453ef8539011cf4d9a9c0a363e668759
refs/heads/master
2020-03-26T12:15:01.155873
2015-12-10T01:11:36
2015-12-10T01:11:36
144,883,382
2
1
null
null
null
null
UTF-8
Python
false
false
928
py
''' Created on Apr 22, 2014 @author: walter ''' import sys from PyQt4 import QtGui class Example(QtGui.QMainWindow): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): exitAction = QtGui.QAction(QtGui.QIco...
[ "walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39" ]
walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39
439c61b579bf658dc56bef80d40e4ac1594dd4fa
162cf24b0e01f0b4a160f651c5e99588d93542af
/themoviedb.py
1a31f8e9cd5022d9ce0833b1a44ce98ee718497b
[]
no_license
dehy/themoviepredictor
53ecb61b7166614f9dae53fe8f3477ac27b1ca0d
fffd0cca62e29616b9bcb528a88ab0351f6ad287
refs/heads/master
2023-05-28T00:53:03.228985
2019-12-02T13:07:58
2019-12-02T13:07:58
214,458,996
1
0
null
2023-05-22T22:34:25
2019-10-11T14:37:41
Python
UTF-8
Python
false
false
1,372
py
import requests import os from datetime import datetime from movie import Movie class TheMovieDB: ENDPOINT = "api.themoviedb.org/3" DEFAULT_QUERY_PARAMS = { "language": "fr-FR" } def __init__(self): api_key = os.environ["TMDB_API_KEY"] self.query_params = { ...
[ "arnaud@admds.net" ]
arnaud@admds.net
79d50d077c8a2bd6683f80ab6522d551081f014b
e4d9d73b13355abdc6f0832b213d17668a5f3e83
/AddItem.py
b97421f355545458d9aa061988dd8d7bf25d1219
[]
no_license
liuhpleon1/MenuApp
1a8f49ff5fc68ff5aa05717721104c1927b637df
2af5ebf85654b0c9f6d462dc6c55321b9cdf6b55
refs/heads/master
2021-06-10T08:24:19.073434
2017-01-26T10:34:53
2017-01-26T10:34:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,368
py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from DB_setup import base, Restaurant, Menu engine = create_engine('sqlite:///restaurant_menu.db') base.metadata.bind = engine DBsession = sessionmaker(bind = engine) session = DBsession() ''' r1 = Restaurant(name="china king") session.add(r1)...
[ "liuhpleon@gmail.com" ]
liuhpleon@gmail.com
dfea9376ae4c7e58a2f41516ce24d2bbfe05aad8
bf75749c1efe2ca8a18e7c2f2dc0053f24278523
/amazon_beta/run.py
23f7589005b4864d4aae9262002d7596d60e30d2
[]
no_license
idxyz/amazon_beta
c65919a0606c5890341a681f6f9d642913415049
8d73ba416742fb3bb5b8183f82c80d045e9e0e90
refs/heads/master
2020-03-17T20:14:45.504631
2018-05-18T03:58:12
2018-05-18T03:58:12
133,900,078
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
from scrapy import cmdline cmdline.execute("scrapy crawl amazon".split())
[ "2388338364@qq.com" ]
2388338364@qq.com
3342301bfd7d37e0fd63b563303dec2e70d33013
ad3bc555fea58619a4260b8fa177260f8a563622
/web-app/src/qa/management/commands/evaluate_command.py
9a371fdc24a3733d41f51a60c53f6a4f0626110f
[]
no_license
UrosOgrizovic/FitBot
4ebbd4aa58fbc794b922b11b94a2ff7c14e2894e
414f6d9fb2915ccdba4caf65e6cda8a8ddff10dd
refs/heads/main
2023-06-12T01:12:11.989926
2021-06-27T21:17:44
2021-06-27T21:17:44
320,332,369
3
0
null
2021-06-27T21:17:45
2020-12-10T16:44:50
Python
UTF-8
Python
false
false
1,975
py
from django.core.management.base import BaseCommand from src.qa.apps import QaConfig from difflib import SequenceMatcher ROBERTA_BASE_MODEL = "deepset/roberta-base-squad2" MINILM_UNCASED_MODEL = "deepset/minilm-uncased-squad2" class Command(BaseCommand): def read_evaluation_data(self, path="evaluation_data.txt"...
[ "uros.ogrizovic671@gmail.com" ]
uros.ogrizovic671@gmail.com
277ca5faf223fee0254b99c950487e402e63cb75
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_untruth.py
f82b360189c64e1e50c3124e3fe683bea2162f45
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
#calss header class _UNTRUTH(): def __init__(self,): self.name = "UNTRUTH" self.definitions = [u'a statement that is not true: ', u'the fact that something is not true: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], o...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
40a5480e0c7e0e26131935de54d5a4d2e8f6849a
7fcad6f99142f2b182c64a39de09c3654c245c0f
/application/models.py
ae6a43b658707fbaed75716c61644644fbc263e8
[]
no_license
paritakumbhani/Django-Project
2525d778009c549fc4234152f9047824f1a4a184
e008a5cd8555ba5443322dab92065b9c4aaecd9b
refs/heads/master
2022-12-21T01:44:14.947111
2020-10-04T20:03:06
2020-10-04T20:03:06
300,383,825
0
1
null
2020-10-01T18:38:32
2020-10-01T18:30:37
Python
UTF-8
Python
false
false
1,027
py
from django.db import models class Cheese(models.Model): CheeseId = models.CharField(max_length=10) CheeseNameEn = models.CharField(max_length=100) ManufacturerNameEn = models.CharField(max_length=300) ManufacturerProvCode = models.CharField(max_length=2) ManufacturingTypeEn = models.CharField(...
[ "kumb0004@algonquinlive.com" ]
kumb0004@algonquinlive.com
bb850d9a30bc515b9c746ee76ca04aa170f39573
d5103360fde7a11dbd12f35a09f2f242c14ae47a
/character.py
06e5a77f492e9a6ae43b0a714ac40d7d5091dcd0
[ "MIT" ]
permissive
dluiscosta/pythongame
78051fd26079d5fad6d911b63b141b25dffb5877
a3a2b894bc70e4fc1290fc82871759edea6bdb19
refs/heads/master
2020-04-18T06:05:31.962435
2019-02-11T01:53:38
2019-02-11T01:53:38
167,305,744
0
0
null
null
null
null
UTF-8
Python
false
false
4,822
py
import pygame as pg import numpy as np import aux class Character: @classmethod def generate_characters(cls, cel_size, mov_handler): # Builds characters cls.chars = [] chars_to_use = range(1, 9) char_offset = (-(0.1*cel_size)/2,-(0.75*cel_size)) for char_n in chars_to_us...
[ "dluiscosta@gmail.com" ]
dluiscosta@gmail.com
e34029c784b8c890e80200937ab82cf0f203d542
89410e6c78fe48b36af394b0faf343578e1cf4d6
/cortes/migrations/0004_remove_service_currency.py
7a328845bc168a0794c0b7ce3fbf4b048be4801b
[]
no_license
fershopls/drive-sync
c28c2c1ce04462b0945a35e8f6ba0f0fb4047331
a38114dfbdf0a36b36168e69eadc4a406f2e2d88
refs/heads/master
2021-01-20T12:16:13.513493
2016-08-01T17:09:14
2016-08-01T17:09:14
64,611,055
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('cortes', '0003_auto_20160731_2331'), ] operations = [ migrations.RemoveField( model_name='service', ...
[ "shaaf4ever@gmail.com" ]
shaaf4ever@gmail.com
c4bf47730ae8d4583e7dd283c569fd03def05a36
eb151f9efa525dcfc2a389f9b3c015149f187e84
/SMTP/Simple texto.py
fae2d4901523db1a42f62657403fd111a119725d
[]
no_license
machiscorstia/python
4fe1e763e1a383d98ef975e13315dee9882e5cb3
97816c37a339019800ebc6a4e4360a08a82fce2d
refs/heads/master
2021-06-18T13:02:33.031036
2021-05-04T00:23:09
2021-05-04T00:23:09
207,696,777
2
1
null
null
null
null
UTF-8
Python
false
false
398
py
import smtplib Usuario = input("Tu hotmail: ") Contra = input("Tu contraseña: ") Asunto = input("Asunto: ") Mensaje = input("Mensaje: ") Destinatario = input("Hotmail del destinatario: ") Mensaje = f"Subject: {Asunto}\n\n{Mensaje}" Server = smtplib.SMTP('smtp-mail.outlook.com', 587) Server.starttls() Server.login(Us...
[ "42502197+andrewzhbj@users.noreply.github.com" ]
42502197+andrewzhbj@users.noreply.github.com
294e4269f395cdd8e90770dc494267cf7837fe38
9dc870f852fbf20ee18d74e9c80706324d432e80
/ex054 - grupo maioridade.py
f3d5802d0261eeb05985204f087e351b056cf4a9
[]
no_license
M-de-Mateus/Python
bdef5b76249387e2e086e0a6b67934802d5b3883
3e160946287c2fa9ba5d307bb5262523d03a7ead
refs/heads/main
2023-03-09T20:54:01.214616
2021-02-22T21:48:50
2021-02-22T21:48:50
341,346,281
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from datetime import date atual = date.today().year totmaior = 0 totmenor = 0 for pess in range(1, 8): nasc = int(input('Em que ano a {}ª pessoa nasceu? '.format(pess))) idade = atual - nasc if idade >= 21: totmaior += 1 else: totmenor += 1 print('Ao todo tivemos {} pessoas ma...
[ "noreply@github.com" ]
noreply@github.com
4d601ae9301044e6512a0294ad6c44860a4c8e44
f5342e7023fe150bd7c0cf3dd8c8c078fc56405b
/raspberry-pi/main.py
3bba75cfc246d81fe92ed13144997a57addb228b
[]
no_license
RocketDepartment/hackathon-tbd
a4ef7f72bbf352c28a3252c81f15490073e00583
5c4793f9a9dcdc9b55f5bbaf4bbcdb089e45ff57
refs/heads/master
2016-08-12T13:55:39.844326
2015-06-17T04:43:40
2015-06-17T04:43:40
36,991,292
1
0
null
null
null
null
UTF-8
Python
false
false
3,976
py
# NeoPixel library strandtest example # Author: Tony DiCola (tony@tonydicola.com) # # Direct port of the Arduino NeoPixel library strandtest example. Showcases # various animations on a strip of NeoPixels. import time import json from neopixel import * # LED strip configuration: LED_COUNT = 237 # Number o...
[ "emma@rocketdept.com" ]
emma@rocketdept.com
c9ca634b1cfd0a70676f197430bc0680ce1077d0
8928c4745515ffecfc581da36df47b0789fb463f
/Chapter_9/formsub.py
51ea5e0fe04bad40167a6fc40016825b997f0e1d
[]
no_license
iluxonchik/webscraping-with-python-book
72da36ba8fae016ccc20d44753ec4c46bc933dee
ffc5a1459778649d081c62812c8d3edbb2f120a9
refs/heads/master
2021-01-10T10:19:12.443341
2016-01-21T21:50:11
2016-01-21T21:50:11
48,058,040
1
3
null
null
null
null
UTF-8
Python
false
false
302
py
import requests params = {'firstname':'hello', 'lastname':'there'} r = requests.post("http://pythonscraping.com/files/processing.php", data=params) print(r.text) files = {'uploadFile': open('1.png', 'rb')} r = requests.post("http://pythonscraping.com/files/processing2.php", files=files) print(r.text)
[ "iluxon4ik@hotmail.com" ]
iluxon4ik@hotmail.com
2408590522753e9cd86637c0677554589f285d76
c9d4d4c78703d009da11999e4e59b6a168a454a2
/examples/Learning Python The Hard Way/ex11_AskingQuestions.py
be33a059dc6c1cfcccb68bbc63af5f196c02ccc2
[ "MIT" ]
permissive
AkiraKane/Python
23df49d7f7ae0f375e0b4ccfe4e1b6a077b1a52b
12e2dcb9a61e9ab0fc5706e4a902c48e6aeada30
refs/heads/master
2020-12-11T07:20:01.524438
2015-11-07T12:42:22
2015-11-07T12:42:22
47,440,128
1
0
null
2015-12-05T03:15:52
2015-12-05T03:15:51
null
UTF-8
Python
false
false
335
py
''' Created on 2013-8-14 @author: Kelly Chan Python Version: V3.3 Book: Learn Python The Hard Way Ex11: Asking Questions ''' print("How old are you?") age = input() print("How tall are you?") height = input() print("How much do you weigh?") weight = input() print("So, you're %r old, %r tall and %r heavy." % (age, h...
[ "kwailamchan@hotmail.com" ]
kwailamchan@hotmail.com
407f054f0fb54d411494281b4318ce15b9bfe179
51d960987e5622f1279942049022d6da61062a08
/Project_Euler/python/p027.py
43d0c8c3d7566eba8beb57f05e9f52c012d2f142
[]
no_license
AdamAtkins-Public/current
f1ce8d2c5d64ec434b46c26f0098096058a1fd52
e6349c31be49939c5f2704e15f0f5ee43bf32167
refs/heads/master
2023-05-25T18:06:22.522406
2023-05-14T17:21:02
2023-05-14T17:21:02
238,833,057
0
0
null
null
null
null
UTF-8
Python
false
false
1,857
py
import os import time """ Euler discovered the remarkable quadratic formula: n^2 + n + 41 It turns out that the formula will produce 40 primes for the consecutive integer values 0 \le n \le 39. However, when n = 40, 40^2 + 40 + 41 = 40(40 + 1) + 41 is divisible by 41, and certainly when n = 41, 41^2 + 41 + 41 is cle...
[ "ajatkins@wsu.edu" ]
ajatkins@wsu.edu
97b8958344299980760e8949312f7387d6e8b9ae
49eba6a6d52b46171d88adc87cd2f761c0eb90d4
/crypten/mpc/provider/ttp_provider.py
e3a09ac97d52be242b3c1ecc03184acbe8da7d7b
[ "MIT" ]
permissive
tnpe/CrypTen
8bfc07556df2b497214a4b32c11eb180f62e45dd
6a06dc8cd52200f40a9fc520be0066bd0dea6b14
refs/heads/master
2023-02-26T10:15:39.729336
2021-01-20T14:54:29
2021-01-20T14:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,063
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging from functools import reduce import crypten import crypten.communicator as comm import torch import to...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
5f9a7f944e9cdd3ded69ec2885ddbcec4a0039dc
a0f6c66bb22b20066329de30971f6880b5098765
/ex015.py
baad93f68c949b579b0869266889efcd51a28475
[]
no_license
EderOBarreto/exercicios-python
dcfed885e2723a57974cb479f7c6f3d0b63ca62f
88bbd6903c8ca9bf705c2e1d6adeae4bb8799f40
refs/heads/master
2020-03-18T20:35:27.891987
2018-06-25T15:31:31
2018-06-25T15:31:31
135,226,116
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
cores = {'limpa': '\033[m', 'azul': '\033[34m', 'amarelo': '\033[33m', 'verde_bold': '\033[1;32m', 'magenta': '\033[35m', 'preto_e_branco': '\033[7;30m', 'sublinhado': '\033[4m'} qtdKm = float(input('Quantidade de quilometros percorridos: ')) qtdDias = int(input('Q...
[ "ederoliveirabarreto@gmail.com" ]
ederoliveirabarreto@gmail.com
e7df1ffbd062f8f616fff956e0482311a709c86a
e4d4149a717d08979953983fa78fea46df63d13d
/Week6/Day5/DailyChallenge.py
68788690cf6a298238eff2f8a5648c48d64c3f7a
[]
no_license
fayblash/DI_Bootcamp
72fd75497a2484d19c779775c49e4306e602d10f
a4e8f62e338df5d5671fd088afa575ea2e290837
refs/heads/main
2023-05-05T20:55:31.513558
2021-05-27T06:48:40
2021-05-27T06:48:40
354,818,813
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
import sqlite3 as sl from time import time import requests import json connection=sl.connect("countries.db") cursor=connection.cursor() start=time() for i in range(10,21): data=requests.get("https://restcountries.eu/rest/v2/all") country=data.json() print (country[i]['name']) query=f"INSERT INTO cou...
[ "fayblash@gmail.com" ]
fayblash@gmail.com
f55192badac567d785a5f2be8c8ef2460664d21e
d645a5629160fb510c62e7b8f00061feafbe112c
/flight_data.py
f8b5ea399faf69da5b363ef3e163a735bc6ce0c1
[]
no_license
Phern17/flight-deals
fe80a6234b57864f1a6713f0c5c0c8c832ecc303
96fa4416423a96ca23286fa842a81fa87c8473dd
refs/heads/master
2023-03-31T10:01:41.692720
2021-04-08T12:45:55
2021-04-08T12:45:55
354,899,835
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
class FlightData: # This class is responsible for structuring the flight data. def __init__(self, price, city_from, fly_from, city_to, fly_to, leave_date, return_date, stop_overs=0, via_city=""): self.price = price self.departure_city_name = city_from self.departure_airp...
[ "mphern17@gmail.com" ]
mphern17@gmail.com
97698fdcf4861c65a25ec9893aa57e5b52a06063
b6b2be9866fd16699ad5c30a21bbcb70755f1e57
/Experiments/_Legacy/Chicago/PartitionByDocThenClusterUsingLsa.py
6e174934f81ca58b1b992fbc3c3f4391ac23815f
[]
no_license
simonhughes22/PythonNlpResearch
24a482c7036c568b063ec099176b393d45a0a86b
2bc2914ce93fcef6dbd26f8097eec20b7d0e476d
refs/heads/master
2022-12-08T17:39:18.332177
2019-10-26T12:48:33
2019-10-26T12:48:33
16,458,105
17
7
null
2022-12-07T23:38:17
2014-02-02T16:36:39
Jupyter Notebook
UTF-8
Python
false
false
4,135
py
import Clusterer import ClustersToFile import SentenceData import ListHelper import Lsa import MatrixHelper import TfIdf import WordTokenizer import logging import PartitionByCode import CosineSimilarity import collections def find_closest_document(txtMatrixByCode, row): """ Takes a dictionary of cod...
[ "simon.hughes@dice.com" ]
simon.hughes@dice.com
9bb1d9572322f2245a1ddd6e0497df2316d83521
0236574468a64e0e2c5b7ae4fec9817d5b35e185
/Apple_Packaging_OOP.py
a8d8f3e211353d513aeed12fd3e4865ed923877a
[]
no_license
SouravKumarSahu/Python
07d83503f25e852f251316a0c5e7d2e2875ed418
536d209dded03bea56e5baf29130386a02cf902a
refs/heads/master
2022-12-21T10:28:02.561297
2020-09-29T15:21:00
2020-09-29T15:21:00
260,421,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
import random class Apple: def __init__(self): self.weight = random.uniform(0.2, 0.5) class Package: total_no_of_apples = 0 max_weight_per_pack = 300 def __init__(self,pack_num): self.pack_num = pack_num self.apples_in_this_pack = 0 self.weight_of_this_pack...
[ "noreply@github.com" ]
noreply@github.com
64c89002c3f6155fd306d67c7232d3af1ed40e06
a2a8e76b512a5e297af27d2772d2be6545fec4d7
/blog/engine/migrations/0008_post_author.py
dea94170cf5342f8967f9de5a58be40de0ec3a69
[]
no_license
HolidayMan/pinkerblog
1564f3942e91702701d92d9f857aa3d6d18d3e83
5c2ac85bd2fd5defcdc57cc419fbe0c05fbdc92d
refs/heads/master
2020-05-27T04:16:54.750920
2019-07-26T15:13:58
2019-07-26T15:13:58
188,479,937
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
# Generated by Django 2.2.1 on 2019-07-24 10:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('engine', '0007_auto_2019...
[ "lesha.pitenko791@gmail.com" ]
lesha.pitenko791@gmail.com
f12fe98bcb5094cf6dcb0f1c17276e17ffb58e2d
10cc5165ab3a98585476c7182dfe1eafd61d54aa
/fast_sort.py
d581986b5cf50cb2bfca57b2bd192d1fba06db8c
[]
no_license
walrus-coder/sortings
ab9d95d1d9062a3740d8d5712e755b3e8251d887
2744ff3a2ac00db5bac42013dec6b744a9d44cc3
refs/heads/main
2023-08-17T06:40:43.382204
2021-09-12T11:10:59
2021-09-12T11:10:59
405,611,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
# Uses python3 import sys import random #Становление элемента в правильное положение и всех элементов одинакого с ним значеения def partition3(a, l, r): x = a[l] j = l m_1 = l for i in range(l + 1, r + 1): if a[i] <= x: j += 1 m_1 += 1 a[i], a[j] = a[j], a[i]...
[ "noreply@github.com" ]
noreply@github.com
ceac1df02bd7c8967f0b6f48781922a5e29eb5f6
25af9c63d7acf147667c08618e7abf46cab395fa
/lista/schemas/item_schema.py
e5a90510f8413a5001d986ddbf2e548d4d7eaab2
[ "MIT" ]
permissive
ViniciusGarciaSilva/izi-serv-backend
82c818466f03542471d99f88efd1e52025ff3beb
6b9288b9bf4b20bfe86c291dc321f3e1476f1198
refs/heads/master
2020-04-09T00:03:35.678223
2018-12-14T19:20:32
2018-12-14T19:20:32
159,851,624
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from marshmallow_sqlalchemy import ModelSchema from marshmallow import fields from lista.schemas.lista_schema import ListaSchema from lista.models.item_model import ItemModel class ItemSchema(ModelSchema): listas = fields.Nested("ListaSchema",many=True, exclude=('itens','usuario')) class Meta: model = ...
[ "rogerionakamashi@gmail.com" ]
rogerionakamashi@gmail.com
bbc44f2052056bc7a9d0864ae92dfbc9a46500ca
0a3d83e7219ec1440e7af8e0913ce9dd8494b244
/run.py
b2a1527321e232393d2246292f9539d4220cb4da
[]
no_license
kingking888/jdScrapy
4a7c5cac2dc6b89b6a5156f035c55b3681eb2db3
e512b08a941af6da032cd0763bab49b747f3ba5d
refs/heads/master
2020-07-26T09:25:49.129791
2019-09-11T11:34:04
2019-09-11T11:34:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
from scrapy import cmdline cmdline.execute(["scrapy", "crawl", "ipad"])
[ "wuyeyisheng@qq.com" ]
wuyeyisheng@qq.com
00a109d7ceb3af65458a2708817bd3fcbd90c405
38f19ae4963df9be7a851458e63ffb94d824eb03
/stellar_sdk/__version__.py
328854e119791d65c471bc64c026b784c86512b9
[ "Apache-2.0" ]
permissive
brunodabo/py-stellar-base
e033da687e3a2a76076cfed88e82c7951ae4e57e
7897a23bc426324cb389a7cdeb695dfce10a673f
refs/heads/master
2022-11-05T12:35:37.140735
2020-06-03T13:41:30
2020-06-03T13:54:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
""" _____ _______ ______ _ _ _____ _____ _____ _ __ / ____|__ __| ____| | | | /\ | __ \ / ____| __ \| |/ / | (___ | | | |__ | | | | / \ | |__) |____| (___ | | | | ' / \___ \ | | | __| | | | | / /\ \ | _ /______\___ \| | | | < _...
[ "4catcode@gmail.com" ]
4catcode@gmail.com
c7d65ec8c039170dc15764a64a42a49d41b68ba6
c6a10621c8db1f3b3cab2239eb6eefb1049fbb18
/src/extractor/test/test_ner.py
1992f6436ec3fb55d7dfd8fe75a602efa5dce3c5
[]
no_license
SilverHelmet/KnowledgeGraph
26386e58f5579699477f7884578475aeeb5fb781
07b5318596e4cfa431675c0ffd86a5489c7c23a3
refs/heads/master
2020-05-21T17:00:12.720936
2018-01-30T07:08:26
2018-01-30T07:08:26
84,635,531
5
0
null
null
null
null
UTF-8
Python
false
false
7,179
py
#encoding: utf-8 from ...IOUtil import data_dir, load_file, rel_ext_dir from ..entity.ner import NamedEntityReg, NamedEntityPostProcessor from ..util import load_stanford_result from ..ltp import LTP import os import glob class Data: def __init__(self, url, title, sentence): self.url = url self.ti...
[ "lhrshitc@163.com" ]
lhrshitc@163.com
5e637fea629c39692b853e759aa3849c59f89a0c
bb14bfe6a27f87e41894e0bb44e1a20663deabb2
/Gym_learning/DQN1.py
e5093c0cee9a8292c463d5325813fb9a74870f2b
[]
no_license
xuejieshougeji0826/Implementation-of-Morvan-Reinforcement-Learning-Teaching-in-Pytorch
f359ac0e5633a9941b15c26919c0d5a798730965
a41cd19826f8be5118a82963d41da5fa8316a153
refs/heads/master
2022-04-09T15:23:56.875843
2020-03-29T03:52:29
2020-03-29T03:52:29
238,854,947
1
1
null
null
null
null
UTF-8
Python
false
false
7,848
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable np.random.seed(1) torch.manual_seed(1) class Net(nn.Module): def __init__(self, numbers_actions, numbers_features, lr=0.001, ...
[ "lalalander0826@outlook.com" ]
lalalander0826@outlook.com
c5616b1635e59f0282d164e3c82d7a605bd8c817
b606b2e8f7b87adf8a2e08165b696db2a8fa743d
/common/image_helper.py
6d701ff26801230f3656f742142f1dcff6e7440b
[]
no_license
sheikhabbas78/practice_8
66a68c3ba00314fcb21d3bd8c87180fc316f477a
2f32e5cbdea92ae45d862ac8e1814c65fbe0b843
refs/heads/master
2022-12-17T09:26:16.546306
2020-09-21T04:49:17
2020-09-21T04:49:17
297,230,525
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
import os import re from werkzeug.datastructures import FileStorage from flask_uploads import IMAGES, UploadSet from typing import Union IMAGE_SET = UploadSet("images", IMAGES) def save_image(image: FileStorage, folder:str= None, filename: str= None,) -> str: return IMAGE_SET.save(image, folder, filename ) def...
[ "sheikhabbas78@gmail.com" ]
sheikhabbas78@gmail.com
05f09500cb332bb8594080c241eb68ae60f06b4d
139f248f790b7a22b7fb04bca9a7bc8b827fa94b
/day5.py
a008a662a94703664959e28e8e6370caa09ae87e
[]
no_license
juneju-darad/HackerRank-30-Days-of-Code
63d4ae724a4a50446ef9c3a044a68442c2110391
b3bb5cdf9ec26d107362c904f1e748988e446a2c
refs/heads/main
2023-03-07T15:05:34.533005
2021-02-18T05:13:31
2021-02-18T05:13:31
309,017,753
2
0
null
null
null
null
UTF-8
Python
false
false
227
py
#!/bin/python3 import math import os import random import re import sys if __name__ == '__main__': n = int(input()) if 2 <= n <= 20: for i in range(1,11): print('{} x {} = {}'.format(n, i, n*i))
[ "djuneju@gmail.com" ]
djuneju@gmail.com
867c39b81f0bd2f14694cd585a733a351b7c50fa
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_spinier.py
0482c9921fbb9ca2d0ffe46b31b1181f2f50e5f1
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
from xai.brain.wordbase.adjectives._spiny import _SPINY #calss header class _SPINIER(_SPINY, ): def __init__(self,): _SPINY.__init__(self) self.name = "SPINIER" self.specie = 'adjectives' self.basic = "spiny" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cc30b966fa79889e04d7cbb5eb68f98d897e982b
94ea6ef2135e3914f772d08dd1f429e876896225
/transition.py
17490cf0bda5ae4f51e65fe2995e84eba8e717d3
[]
no_license
Ogiwara-CostlierRain464/DQN-performance-check
27de94186a53bd2f9b5880a2abcdca2571c6cac2
6940163003c3e9c2d7e6467e5ebfe62d59092925
refs/heads/master
2020-12-02T03:53:59.688141
2020-01-07T13:10:10
2020-01-07T13:10:10
230,879,636
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from collections import namedtuple Transition = namedtuple( "Transition", ("state", "action", "next_state", "reward") )
[ "yushiogiwara@gmail.com" ]
yushiogiwara@gmail.com
238ec91f069f7201b85bb750838f5ebd9b18ecd9
ce083128fa87ca86c65059893aa8882d088461f5
/python/pytest-labs/.venv/lib/python3.6/site-packages/facebook_business/adobjects/productdaeventsamplesbatch.py
6155974b1405f7c8bc729960a751f6b815d8bc6d
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
2,489
py
# Copyright 2014 Facebook, Inc. # You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Fa...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
646f8eb9eed677041d3d32e06c1b5de1a4ef703b
4de7e40715e6a7f9ff22b66146dbe0a627db2e76
/ellipse-fit-evaluation/python/tests/test_evaluate_ellipse_fit.py
6aaf1234ef557c2c9c0ce614124966130c51410c
[]
no_license
hackkosice/marathon-thermofisher-challenge
9cd4f208af73bee096b50b9b895ccffafef15af0
c8300083094b49a70284dbe5d728ef6e9f2404b6
refs/heads/master
2023-04-16T20:31:44.443945
2021-04-24T00:26:39
2021-04-24T00:26:39
361,029,413
0
0
null
null
null
null
UTF-8
Python
false
false
4,140
py
import unittest from ellipsefitevaluation import evaluate_ellipse_fit class TestEvaluateEllipseFit(unittest.TestCase): def test_perfect_fit_1(self): fit_ellipse = {'center': (626.76, 494.98), 'axes': (387.96, 381.45), 'angle': 170} score = evaluate_ellipse_fit('2018-02-15 17.26.47.474000....
[ "micko.juraj64@gmail.com" ]
micko.juraj64@gmail.com
72fca8dcd312636b3ac3e7e1c1c4e4f6b348449d
c22f50d08d858bcb72e2a84851c21c490a4f5d21
/poll/forms.py
bfc87f9f1e22b4aa1a29870e3b6bb5544c775656
[]
no_license
ragnarok22/airport
cb4ab09f8d836b568c927ad38534b60263bc83a4
4edfcdf38923c7c6bcb96ec6df0f806449810176
refs/heads/master
2021-01-20T03:29:53.229684
2017-05-22T13:00:01
2017-05-22T13:00:01
89,547,824
1
0
null
2017-05-09T02:00:36
2017-04-27T02:39:48
Python
UTF-8
Python
false
false
812
py
from django import forms from poll.models import NationalPassengerPoll, InternationalPassengerPoll, AirLineRepresentPoll class NationalPassengerForm(forms.ModelForm): class Meta: model = NationalPassengerPoll fields = '__all__' widgets = { 'date': forms.DateInput(attrs={'class...
[ "rhernandeza@uho.edu.cu" ]
rhernandeza@uho.edu.cu
9462483fec28c52030cc7e091d8e536f31f1b697
5b1116369c5a003e0a70506f14cf05c6fa79e76d
/quentinsblog/urls.py
17210bfbc53e04fe1fb9e35487df3437f1dab9f3
[ "MIT" ]
permissive
VonStruddle/django-blog
a6619ddfbf615304e84acc8cfd555461a18a110e
7abba159fa0bb78094fa353e12e9cd523fdb30d8
refs/heads/master
2021-06-25T14:02:07.441496
2017-09-13T20:14:16
2017-09-13T20:14:16
102,965,289
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
"""quentinsblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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') Cla...
[ "quentin.durantay@gmail.com" ]
quentin.durantay@gmail.com
5440c399fc472d9aec6c0adc203267a050e8c7d0
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/the_tale/the_tale/game/quests/logic.py
69a11b9a515ce9d1b4452b825829a94900ea8fa3
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
27,529
py
import smart_imports smart_imports.all() WORLD_RESTRICTIONS = [questgen_restrictions.SingleLocationForObject(), questgen_restrictions.ReferencesIntegrity()] QUEST_RESTRICTIONS = [questgen_restrictions.SingleStartStateWithNoEnters(), questgen_restrictions.FinishStateExists...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
a1b913115e78d26d413641084dee0f60d1264998
78fcc63ad88ae14ba3f8698ea56c3e3b4090b853
/aysha/__init__.py
7ac486279be912d587b2323a257eb32250dd168c
[]
no_license
teou/aysha
e57fb7e6b148d632b52fb1fe63660e7db957f8d8
6af1d960cb40679b7102a7e38f35723e4ec65ebc
refs/heads/master
2020-06-07T10:15:15.025302
2014-08-14T03:11:08
2014-08-14T03:11:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
__author__ = 'liuhuo'
[ "huoliu@gmail.com" ]
huoliu@gmail.com
8616afca261d23bc6fc4eb7c79ee623cc24d4792
24332e4890694bffde4eb59954d88de44f4f9f36
/lib/__init__.py
92d03a5b534222e90dbb8ae3461a38bbf6bf3919
[]
no_license
muzidudu/savevid
40523d5be27079018f390e5b06ff20575459bcee
93402e81d2a2c8d4ccf196dbef34186962caa163
refs/heads/master
2021-05-30T11:28:21.067445
2016-01-19T05:42:00
2016-01-19T05:42:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
__all__ = ["site_factory"]
[ "zqshen.1985@gmail.com" ]
zqshen.1985@gmail.com
4637ad8e57ec88e45fda29f4a08e4b0144d0f669
f0e11aeb7b5bd96c828cf39728eb2fa523f320df
/snapflow/migrations/versions/7d5638b5d74d_initial_migration.py
8b85094b11b08e55368d3320bb0b4bdb56eecc13
[ "BSD-3-Clause" ]
permissive
sathya-reddy-m/snapflow
7bc1fa7de7fd93b81e5b0538ba73ca68e9e109db
9e9e73f0d5a3d6b92f528ef1e2840ad92582502e
refs/heads/master
2023-05-01T05:14:08.479073
2021-05-21T00:14:56
2021-05-21T00:14:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,528
py
"""Initial migration Revision ID: 7d5638b5d74d Revises: Create Date: 2021-05-17 20:55:42.613348 """ import snapflow import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = "7d5638b5d74d" down_revision = None branch_labels = None depends_on = None def upgrade(): # ### ...
[ "kenvanharen@gmail.com" ]
kenvanharen@gmail.com
beec8483553b7ce3ead4a12e4517422e9089ff59
27c7664cc3aa3c12d9f96ce30ac1d1e6c0c52e0b
/test.py
9ea86b9c45266044bae2e87db4d93f206f2c21ff
[]
no_license
RaindragonD/transporternet-torch
3d3548f54ee8a902e6b4785afa5448376e1e558a
7bb2075771d458d58bc49ebd9b4bd42675fb6ba7
refs/heads/master
2023-03-10T19:43:22.572230
2021-02-27T10:00:14
2021-02-27T10:00:14
342,817,090
3
0
null
null
null
null
UTF-8
Python
false
false
3,800
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # 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 appl...
[ "xlfdlyl@sina.com" ]
xlfdlyl@sina.com
0d292aca4a1380aea123d4d98c8f821b69bdba90
68d3ae6defc49ae4aa970b1b275df1590ef0588b
/fix_ngrok.py
064c9a0984efb326761173719113e148ca3bda39
[]
no_license
f1gur4nt1/fix_ngrok
16f1f64c03b077f3879166b633faa568c978d73f
b796791b0b86f9c9f6a40e2ba9830a556fa74af8
refs/heads/master
2021-01-01T21:28:28.042477
2020-02-09T18:06:10
2020-02-09T18:06:10
239,347,326
2
3
null
2020-06-27T17:45:50
2020-02-09T17:48:58
Python
UTF-8
Python
false
false
1,465
py
from requests import get import os import re def get_https_proxys(): global https_proxys global head head = {"User-Agent":"Mozilla/5.0 (Linux; U; Android 4.4; en-us; Nexus 4 Build/JOP24G) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"} res = get(url="https://www.proxy-list.downloa...
[ "noreply@github.com" ]
noreply@github.com
3bdcba739946895a679cdd396dc0de58e78a9384
7821b4467feba1f186bd2743fda73280cfd57ba3
/ADDA/adda_ori.py
02d403916e3c793b182152bcfb96c1795c50706e
[ "MIT" ]
permissive
comprehensiveMap/EI328-project
be50620ddd57d99326f4129876a05cd980b91cc0
145495454487c7a4496751ce3621873f6cd80872
refs/heads/master
2022-08-04T05:33:29.813283
2020-05-28T14:06:34
2020-05-28T14:06:34
263,349,832
7
1
null
null
null
null
UTF-8
Python
false
false
7,486
py
""" Implements ADDA: Adversarial Discriminative Domain Adaptation, Tzeng et al. (2017) """ import argparse import torch from torch import nn from torch.utils.data import DataLoader from tqdm import tqdm, trange from train_source import preprocess_train, preprocess_test, preprocess_train_single import config from mode...
[ "1175201255@qq.com" ]
1175201255@qq.com
ceb03e78d5da369eaa15cfadb539d06f2ad3979b
c3e2f56672e01590dc7dc7e184f30c2884ce5d3a
/Programs/MyPythonXII/Unit1/PyChap03/summatrix.py
a00722d07d1ce3b80baa6858b737eb411c6ad68e
[]
no_license
mridulrb/Basic-Python-Examples-for-Beginners
ef47e830f3cc21cee203de2a7720c7b34690e3e1
86b0c488de4b23b34f7424f25097afe1874222bd
refs/heads/main
2023-01-04T09:38:35.444130
2020-10-18T15:59:29
2020-10-18T15:59:29
305,129,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,941
py
# File name: ...\\MyPythonXII\Unit1\PyChap03\summatrix.py # Program to add two matrices # Declaration of three 10 x 10 matrices A = [[0 for x in range(10)] for x in range(10)] B = [[0 for x in range(10)] for x in range(10)] C = [[0 for x in range(10)] for x in range(10)] print("Enter the number of Rows of ...
[ "mridurb@gmail.com" ]
mridurb@gmail.com
edee2cdbddbabbec63d798c0230a81c823d0ffae
9e155c86d1cfda1fa5fd115f1fd5681287836d39
/script_v1/word_generator.py
a48020f1268f4fc5c43e57a261d676d0138dc25a
[]
no_license
hiropppe/ELSA
59370626045ae28cd849edaef0d09cff67acfbb2
1ece189564e3827a4a7a44cd5f87e0ae4fca5c88
refs/heads/master
2020-05-27T22:04:53.007013
2019-11-14T04:48:28
2019-11-14T04:48:28
188,803,273
0
0
null
null
null
null
UTF-8
Python
false
false
14,317
py
''' Extracts lists of words from a given input to be used for later vocabulary generation or for creating tokenized datasets. Supports functionality for handling different file types and filtering/processing of this input. ''' from __future__ import division, print_function import MeCab import os import u...
[ "sergei.0910@gmail.com" ]
sergei.0910@gmail.com
81c5ad86ce20a3e500ef6da7b3985ee4ef304f2d
b252583764a77b683e4e6586c0bfcac3fa1376a8
/weibo.py
7ed76a3a591f75c57a1f1f1ed31acb87b3e90c4f
[]
no_license
PaulWongDlut/weibo-crawler
0550e278b2769045699c2b16dd683f2a5e6c7bd7
86cb76858cae4f0e3fca58de2ed998a2436560bd
refs/heads/master
2020-12-13T07:45:53.658402
2020-01-08T17:34:00
2020-01-08T17:34:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,609
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import codecs import copy import csv import json import math import os import random import sys import traceback from collections import OrderedDict from datetime import date, datetime, timedelta from time import sleep import requests from lxml import etree from requests....
[ "chillychen1991@gmail.com" ]
chillychen1991@gmail.com
27b203253002e7765f61dc8f139c992c54414dc8
7c06959591e732bbefcc00f8559efca930c6a9ec
/app/dummy_data.py
44a20e1973e30834655a18f0028dde7b99e46248
[]
no_license
walidzakaria/ESA-info
80b281e13065fd24b162632851062b65c5163610
698292a48a9064fdea9606e5a07eaef1348fad71
refs/heads/master
2020-04-07T18:48:10.677107
2018-11-30T21:36:58
2018-11-30T21:36:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from app import models, db from app import stores dummy_instructors = [ models.Instructor(name='walid', esa_number='es1'), models.Instructor(name='donna', esa_number='es2'), models.Instructor(name='samah', esa_number='es3'), ] db.drop_all() db.create_all() test = stores.InstructorStore() for i in dummy_i...
[ "walidpiano@yahoo.com" ]
walidpiano@yahoo.com
8d87c168ede5b99d6772434ac3becb6f62d261d6
33f5753d63b69926d54204dfa3081fb52bcbede5
/LoggingPackage/custom_logger.py
a32fcd88e82a13c711d7f0dd913e1885e040fa81
[]
no_license
Vbhatnagr93/Automation-framework
c178feff95831a22a271c673c71873c8dd05215f
4be8bca5fa54173e466c4fecff4dc9d977346a7e
refs/heads/master
2021-01-19T18:28:14.860133
2017-08-23T04:28:15
2017-08-23T04:28:15
101,137,417
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
import inspect import logging def customLogger(logLevel): loggerName = inspect.stack()[1][3] logger = logging.getLogger(loggerName) #By default, log all messages logger.setLevel(logging.DEBUG) fileHandler = logging.FileHandler(filename="{0}.log".format(loggerName), mode='w') #Use Streamhandler fo...
[ "vivek.bhatnagar93@gmail.com" ]
vivek.bhatnagar93@gmail.com
f1fe3f7f304efeaaea37fbc13f6fbf2508adc188
8b648f1b20c973d73e461c53fea50f8b01262fc9
/code_your_own_quiz/Code_your_own_Quiz.py
19cec73990c4d4b6d93e32ee6b5f5c85cd07f01e
[]
no_license
SJ029626/Code-Your-Own-Quiz
eba336ed723841465435a260d036178027009059
f032b4b55f616988bba0addb1bcceebe4d8eea35
refs/heads/master
2020-03-29T20:22:55.082755
2018-09-25T18:15:35
2018-09-25T18:15:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,336
py
#!/usr/bin/python from string import Template #level 1 easy level_1 = ''' Python is a widely used $answ1-level programming language for general-purpose $answ2, created by Guido van Rossum and first released in 1991. An interpreted language, Python has a design philosophy which emphasizes code readability (no...
[ "noreply@github.com" ]
noreply@github.com
08abe221a6e2af6878de699a1d34b050881e8401
2b19f22b47dfd8c01ed2acf335a88ef3271de873
/IOI/difference.py
5b3c5f89ee7d33064fe73fa1fd734200918f80c5
[]
no_license
Aminehassou/spaghetti-code
0e319bd4712d57bbea8e3714fd64698aa70719fd
f63c0596d5691bf2b2b3d622e8271983e10c0cfe
refs/heads/master
2023-01-04T11:59:43.668791
2019-12-17T22:28:04
2019-12-17T22:28:04
306,032,400
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
try: while True: a, b = (map(int, input().split())) print (abs(a - b)) except EOFError: pass
[ "japnoo@gmail.com" ]
japnoo@gmail.com
6d706f8241a2a5b6d2b3ce4b097801335c94620c
93982df574e6ec73ae6a388a6f3657dd1034558b
/Scripts/tqdm-script.py
7bdb3aaa074e5f2468b03c6327f6114470a8c757
[ "MIT" ]
permissive
robachkaya/LrnXPAnaToolbox
82f693ee029bfb8180e322c70563d06bc0fae3a0
626a48834be90fa88f1600d6deb8471025345c44
refs/heads/master
2022-12-11T14:44:42.534823
2020-09-12T15:20:30
2020-09-12T15:20:30
287,898,155
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
#!C:\Users\KU\LrnXPAnaToolbox\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'tqdm','console_scripts','tqdm' import re import sys # for compatibility with easy_install; see #2198 __requires__ = 'tqdm' try: from importlib.metadata import distribution except ImportError: try: from importlib_metadata im...
[ "kayane-r@evidenceb.com" ]
kayane-r@evidenceb.com
d59273261facac50fe7d7e864621450575693342
a1975777cc7440af16e1a4879db16c9297bbfa8b
/0x01-python-if_else_loops_functions/6-print_comb3.py
7180ee50a014f135d83aa1e923ee683510c3ce09
[]
no_license
gorgyboy/holbertonschool-higher_level_programming
c604a29f58e800b2edaed5d17285cb7591d30c95
349f5c46fe571df97adf91c4dea9d7ebfbcea66e
refs/heads/master
2023-02-27T23:01:49.213122
2021-02-12T02:05:47
2021-02-12T02:05:47
292,097,157
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
#!/usr/bin/python3 for i in range(0, 10): for j in range(0, 10): if i == 8 and j == 9: print('{:d}{:d}'.format(i, j)) elif j > i: print('{:d}{:d}'.format(i, j), end=', ')
[ "jlrogb@gmail.com" ]
jlrogb@gmail.com
6627eb8dd55746dc2174b3ba18fca002414f22d0
80b7edcff5de5cf8e090868923c9bc6a6415bea4
/spider_/sina/spider.py
7c31f0682695d7713bab05ccd379f9b87ad2e0a2
[]
no_license
KonroyZhu/CHN-JPN-Relationship-1
808d0ce9f7232c88d123bcf51d0284ebd7520dbb
fe6860487d1d0b415f6d14779c4f7cc38000719b
refs/heads/master
2020-03-27T08:20:08.873413
2018-08-26T11:10:51
2018-08-26T11:10:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
from spider_.sina.GetPageLinks import URLGenerator,GetURLGroupByPage from spider_.DBHelper import operate_with_sql import requests if __name__ == '__main__': pageNum = 1 newsCount =1 # print(requests.get(URLGenerator(pageNum)).status_code) # print(type(requests.get(URLGenerator(pageNum)).status_code)) ...
[ "476494643@qq.com" ]
476494643@qq.com
5581f1877e0859073d8bad360dbf8d6e6b5ed449
43949d3f05bf1d1212cc25fd5766a47940723f7b
/generators/gen.py
5202bb3d33b604cfc3856de4de253eacca2d802f
[]
no_license
asing177/python_programs
f6aa5b53b6f0b2d8c824c8b796ca77d8a1121110
dfa18f7ec6bd0eb29311a393e011d89dac1a7e26
refs/heads/master
2020-12-21T14:39:27.761117
2020-02-06T08:12:32
2020-02-06T08:12:32
236,462,869
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
def my_gen(): n = 1 print('This is printed first') # Generator function contains yield statements yield n n += 1 print('This is printed second') yield n n += 1 print('This is printed at last') yield n a = my_gen() next(a) next(a) next(a) next(a)
[ "adityasingh27@hotmail.com" ]
adityasingh27@hotmail.com
427ad4d206db8a5e4f376c716b47b039b82fba5a
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/03. Streamlined Data Ingestion with Pandas/Chapter/03. Importing Data from Databases/03-Selecting columns with SQL.py
9ce77ea8c2536cbf0133ba6d5c5008e87273de10
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
''' Selecting columns with SQL Datasets can contain columns that are not required for an analysis, like the weather table in data.db does. Some, such as elevation, are redundant, since all observations occurred at the same place, while others contain variables we are not interested in. After making a database engine,...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
54bd6011ca70bedd611d59e1380e35e74113df67
cd8969e8fc3edfc472650adeb5d2a44c662e8ffd
/main_display.py
a349b7a1ecc8bfa66e97d4656d495439debe3537
[]
no_license
xarvh/bluegenesis
9e5053e83802f9d1cd8ddfa9f9209bb70e81fe22
b4221f45f1b2bfca700b9566bc65da724cd8c0e3
refs/heads/master
2021-01-19T06:20:13.879369
2012-07-12T23:57:58
2012-07-12T23:57:58
5,011,972
0
0
null
null
null
null
UTF-8
Python
false
false
3,933
py
#!/usr/bin/python -B """ Loads and display populations through their whole evolutionary history. """ from pyglet.gl import * import pyglet.window.key as key import random import sys import cell class Gui: def __init__(self, pops): # list of populations self.pops = pops # selected g...
[ "francesco.orsenigo@gmail.com" ]
francesco.orsenigo@gmail.com
2cfd9d1e429e9f0884a0381f4539ecb72222d40a
0cd461bdbe59eb80bf17483b1d20a3e6fbd52627
/api/permissions.py
f8d985a92fd5f646a58d9e6b498738e6fc47b4a0
[]
no_license
cawirawa/SolarCarWebsiteBackend
f63420e81a4a02abf81c3db53b7fc7554e7c0bd2
c77e9badf2ec2bff20c16b4a25eff3303d78d5f0
refs/heads/master
2021-05-17T17:37:31.588220
2020-02-24T22:39:26
2020-02-24T22:39:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
from rest_framework import permissions class IsAdminOrReadOnly(permissions.BasePermission): """ Custom permission to only allow admin to edit. """ def has_permission(self, request, view): # Read permissions are allowed to any request, # so we'll always allow GET, HEAD or OPTIONS reque...
[ "57200820+cawirawa@users.noreply.github.com" ]
57200820+cawirawa@users.noreply.github.com
39071cb540b880168a7530ba80d4e213d0d935af
053c88dfbb2fcb3abe52360c00bd215d21d68702
/day07/part02.py
cf90574a44713af5af7d8c68e06ea45d1cc42eef
[]
no_license
Berteun/adventofcode2020
9045ac243d439a81deb2ec89a5cb930a0ca7240d
d4c5f3840b1daf82c7b45486ebb94422ea1dc19c
refs/heads/master
2023-02-02T21:49:17.538146
2020-12-25T09:22:17
2020-12-25T09:22:17
319,113,433
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pprint import re from collections import defaultdict re_target = re.compile(r'([0-9]+) (\w+ \w+)* bag') re_line = re.compile(r'(\w+ \w+) bags contain (([0-9]+) (\w+ \w+)* bags?(, ([0-9]+) (\w+ \w+) bags?)*\.|no other bags\.)') def parse_line(l): graph = {} m...
[ "berteun@collect.capital" ]
berteun@collect.capital
e85cf0f50af8331522b769f23625204cf82b9036
86b119ba6d1fdb9c52e52349f26afb03798c0dd2
/test/modules.py
b0d2135dcb6da0de6bf433e00c000d84e80f6b81
[]
no_license
18520165/email-client-schoolapp
8c2141c0a0b1f9ff59639bd28f6ef9284404e1e9
537f82c391bb9e3c84e14c30889c0942ae7e4f63
refs/heads/master
2022-11-07T02:20:00.270742
2020-06-18T01:39:50
2020-06-18T01:39:50
274,380,927
0
0
null
2020-06-23T10:50:11
2020-06-23T10:50:11
null
UTF-8
Python
false
false
35
py
#import modules here import tkinter
[ "phu.nguyenduc@protonmail.com" ]
phu.nguyenduc@protonmail.com
736472c422eb4afbc5a6cb0d3490681b26a0055a
e2d3b55d6c13702897ac5fd8b5514b013908dec6
/test/testGPIO.py
7f8f3fab1f2c7dc7f1e16bb45cdbdaca7c4be6fb
[]
no_license
Giacky91/TermoPi
5abf1201c25075594e289b883c9032af9eb24110
b459a3205630ee27f7b6cb8b3ae0a0ed3bb366b5
refs/heads/master
2021-01-09T06:31:13.074138
2017-02-05T15:44:27
2017-02-05T15:44:27
81,000,867
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
#!/usr/bin/env python import os import RPi.GPIO as GPIO import time import datetime import sys #Realy pin FAN_PIN = 12 #set up pins def GPIOsetup(): # GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) GPIO.setup(FAN_PIN, GPIO.OUT) GPIOsetup() while True: GPIO.output(FAN_PIN, GPIO.HIGH) tim...
[ "noreply@github.com" ]
noreply@github.com
9341e2577663f6d4c526369034176c1df2fa5ec1
f9593837802294805fd938c09fec968e37539923
/manufacture/urls/__init__.py
361f41b8c6f0124ed4c91b3053c5b1b3ae638d05
[]
no_license
aleksey-zhigulin/manufacture.azbuka-kamnya
9e046e1ca7e6f80bad3a387a32e90619caa8ce25
0817accc556fae2223ecedd1ee4d5ecfff53d1ab
refs/heads/master
2021-01-08T12:58:09.752917
2016-06-27T15:05:32
2016-06-27T15:05:32
61,612,731
0
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals from cms.sitemaps import CMSSitemap from django.conf import settings from django.conf.urls import * # NOQA from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.contrib.staticfiles.u...
[ "Азбука Камня" ]
Азбука Камня
333c48d27ec8d5b0ea5633bffadd6e27638c0522
315450354c6ddeda9269ffa4c96750783963d629
/CMSSW_7_0_4/src/Configuration/TotemCommon/python/__init__.py
6cf341a440a2c973942ba5aad7ebac154203e274
[]
no_license
elizamelo/CMSTOTEMSim
e5928d49edb32cbfeae0aedfcf7bd3131211627e
b415e0ff0dad101be5e5de1def59c5894d7ca3e8
refs/heads/master
2021-05-01T01:31:38.139992
2017-09-12T17:07:12
2017-09-12T17:07:12
76,041,270
0
2
null
null
null
null
UTF-8
Python
false
false
202
py
#Automatically created by SCRAM import os __path__.append(os.path.dirname(os.path.abspath(__file__).rsplit('/Configuration/TotemCommon/',1)[0])+'/cfipython/slc6_amd64_gcc481/Configuration/TotemCommon')
[ "eliza@cern.ch" ]
eliza@cern.ch
abe23fc6fb7654cb65cd62fc3e96e7129a366a37
b1ad494c5124d9c95c16695f229d351b521d72ed
/coordinate_translator.py
b9e734386c86a510c6e4525e98457f378577c984
[]
no_license
Torbye/CoordinateTranslator
6b0e6d59eb08d3b251708bc2eaee52d7e30047f7
84e3a8096a793b1aaa205924d9b2791ad87c2334
refs/heads/master
2020-05-17T20:11:26.466560
2019-05-03T07:10:14
2019-05-03T07:10:14
183,937,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
# Written in Python3 by Torjus Bye, 2019. https://github.com/Torbye import math def car2pol(coordinate_list): # Converts cartesian coordinates to polar [X, Y] -> [Radius, Angle]. x=coordinate_list[0] y=coordinate_list[1] return [math.sqrt(math.pow(x,2)+math.pow(y,2)), math.degrees(math.atan2(y,x))]...
[ "noreply@github.com" ]
noreply@github.com
fd5e4214aa5f2427a904e2b6c07f2bd9b0be7d30
0c138335422136116f79a5588c7ac87761c7b140
/Week 4/Following_Links_in_HTML_Using_Beautiful_Soup.py
c2a94654348c0ed5333787861230f061667ed73f
[]
no_license
mahinanwar/Using-Python-To-Access-Web-Data
32769d905d40defd03eece6dacd4928a6772bf01
6db46965473ecfe519f8cfa93f8f6f16e44962c6
refs/heads/master
2022-11-13T20:05:02.453711
2020-06-24T17:19:15
2020-06-24T17:19:15
274,727,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
#In this assignment you will write a Python program that expands on #http://www.py4e.com/code3/urllinks.py. The program will use urllib to read the #HTML from the data files below, extract the href= vaues from the anchor tags, #scan for a tag that is in a particular position relative to the first name in #the list,...
[ "noreply@github.com" ]
noreply@github.com
afb1aed5d1c621b18f1115384a24b8b8a23d2dc5
03b8ea6ab1b571ff9aff42083843d33b91d948a3
/complete-python-developer-2021/First sections/testing/tests.py
198f774951e7692f2a2737fcab4beb4cfe495eed
[]
no_license
emanueldumitru/flask-bootcamp-marcial
c036362071511edc2bfb8474213b7374517b1dcb
ddc42cd8ec057ce1d13d6baeb211e06e9795f140
refs/heads/main
2023-08-22T17:16:41.597891
2021-10-11T19:48:50
2021-10-11T19:48:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
# pylint # pyflakes # pep8 # pytest # python -m unittest -v import unittest import main class TestMain(unittest.TestCase): def test_do_stuff(self): test_param = 10 result = main.do_stuff(test_param) self.assertEqual(result, 15) unittest.main()
[ "emanuel.dumitru9@gmail.com" ]
emanuel.dumitru9@gmail.com
9163c34c39e77bff0131e957efdc3df3b708d624
ad3b84b514e06cb93361c5761c50b89d5353c089
/urbanmap/apps.py
b30b424dd451ee4ca68bcbfb5817fabb69c1cd46
[]
no_license
ndufrane/imiomap
d6bb9c8b077db8b323da850af7112f3d186e310c
76121d8f78200d914d30e8424f043207fd1085d0
refs/heads/master
2021-06-24T17:06:58.349070
2019-05-10T13:58:31
2019-05-10T13:58:31
161,181,416
0
1
null
2020-11-24T08:54:55
2018-12-10T13:44:13
JavaScript
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class UrbanmapConfig(AppConfig): name = 'urbanmap'
[ "dufrane.nicolas@gmail.com" ]
dufrane.nicolas@gmail.com
4b5866d8bbf0ce95adcf8251e117486d1bad3dba
dacdebab897f9287f37a2e85c5705a926ddd36aa
/tests/profile/Snakefile
0b94737e2cc8387c702c84b7ed884b17ad3dfbc4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
snakemake/snakemake
5d4528193d87786d7b372ca7653ece302ff46965
27b224ed12448df8aebc7d1ff8f25e3bf7622232
refs/heads/main
2023-09-02T08:37:04.323976
2023-08-11T10:02:34
2023-08-11T10:02:34
212,840,200
1,941
536
MIT
2023-09-11T09:51:44
2019-10-04T14:58:11
HTML
UTF-8
Python
false
false
358
rule all: input: expand("{name}.d", name=range(1000)) rule: output: "{name}.a" shell: "touch {output}" rule: input: "{name}.a" output: "{name}.b" shell: "touch {output}" rule: input: "{name}.b" output: "{name}.c" shell: "touch {output}" rule: input: "{name}.c" output: "...
[ "johannes.koester@uni-due.de" ]
johannes.koester@uni-due.de
e9d73bb6b0922771279e7b81cdfdb17254747be0
1cecdf336a6952b208f30c2924eb0457953aa2d5
/rundaemon.py
5f6f63e831b3ce48126633c9456dc1d15dc3816b
[]
no_license
alanemiliano/fiscalberry
6b941f235ffe4c5045b434628963cb105cabc25f
1a5ac93561b8fe60ae4946fe66acd6ddf76fdc30
refs/heads/master
2021-09-01T21:29:43.011322
2017-12-28T18:30:57
2017-12-28T18:30:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
#!/usr/bin/env python2.7 import os import argparse import daemon import sys import logging from daemon import pidfile from FiscalberryApp import FiscalberryApp def do_something(): ### This does the "work" of the daemon fbserver = FiscalberryApp() fbserver.start() def start_daemon(pidf, logf): ### Th...
[ "alevilar@gmail.com" ]
alevilar@gmail.com
d485cc88de5469d66c7dbc503dbb0e3206144138
b1ffcbd977595bccf15dd56e965bda62867d1e10
/omrdatasettools/downloaders/PrintedMusicSymbolsDatasetDownloader.py
818cb93eca0478aa48e520f084374eba04cbd048
[ "CC-BY-NC-SA-4.0", "GPL-2.0-only", "CC-BY-SA-3.0", "MIT", "GPL-1.0-or-later", "CC-BY-SA-4.0", "LicenseRef-scancode-public-domain", "AGPL-3.0-only" ]
permissive
fzalkow/OMR-Datasets
7ded5bb9278e47c84a16de01081876d6bb2e6dbe
c9e7a986199998d6a735875503e6dcce5fdf1193
refs/heads/master
2020-09-14T15:30:45.824800
2020-01-06T12:07:52
2020-01-06T12:07:52
223,169,792
0
0
MIT
2019-11-21T12:32:31
2019-11-21T12:32:30
null
UTF-8
Python
false
false
1,896
py
import argparse import os from omrdatasettools.downloaders.DatasetDownloader import DatasetDownloader class PrintedMusicSymbolsDatasetDownloader(DatasetDownloader): """ Loads the Printed Music Symbols dataset https://github.com/apacha/PrintedMusicSymbolsDataset Copyright 2017 by Alexander Pacha u...
[ "alexander.pacha@gmail.com" ]
alexander.pacha@gmail.com
f0792bb6b2ff080f26d50f8b8461833c96f6caba
2a5e4c1307e6e961eafeaeb454187453c3a525ea
/md5.py
8bc080904d0c07b09a0beae19f84c2bb10f1e012
[]
no_license
hoangkimzxc/MD-5-Dynamic-Salt-Hash
0ed57d5cacdc4849391c2366b1f74d670a153775
fc5efdab0862d53f5c7e115e4e1b08976d990417
refs/heads/main
2023-07-24T04:32:14.172062
2021-08-26T10:20:22
2021-08-26T10:20:22
388,497,778
0
0
null
null
null
null
UTF-8
Python
false
false
6,316
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 20 21:46:02 2021 @author: hoang """ import struct from enum import Enum from math import ( floor, sin, ) from bitarray import bitarray class MD5Buffer(Enum): A = 0x67452301 B = 0xEFCDAB89 C = 0x98BADCFE D = 0x10325476 ...
[ "noreply@github.com" ]
noreply@github.com
541e5fb2da0f4d116e9e305b03a30bc97c22062c
6176efac2f93f78c611fb1ecac2483133281c8d6
/1.tutorials/67.oops13.py
f346760451721b342b5de9eb79e73cfad916a5f4
[]
no_license
BarinderSingh30/Python_Basic
f10f00e932a6533d1bb8bf9cd9783186fac1d513
64b8689cd9b20d64d6da3905b3752a7c7fb415ea
refs/heads/main
2023-06-23T08:09:33.217233
2021-07-21T16:03:14
2021-07-21T16:03:14
375,288,819
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#operator overloading and dunding method class A: def __init__(self,name,salary,role) -> None: self.name=name self.salary=salary self.role=role def __add__(self,other): #dunder method , help in operator overloading return self.salary + other.salary def __r...
[ "emailforbarinder@gmail.com" ]
emailforbarinder@gmail.com
28cdce0f8159d0261b10e4c251a76ba3ad02c726
bd06b28588e4d9c9d615c319f05256f90d2b9173
/姜英利/class71/GuessNumber.py
8336807c8cb6aadcf50e307ddb6fabec8067f016
[]
no_license
jiangyingli/python20190601
6baeeda9d6658353c0dd764e9913ae89dcdc873e
59e6c9a75cc2f3c9e09c4c2b9bba22dac51c347a
refs/heads/master
2021-06-28T08:27:37.561846
2020-11-30T13:42:33
2020-11-30T13:42:33
194,200,502
9
0
null
null
null
null
UTF-8
Python
false
false
758
py
import random # 投币,无限次玩游戏,每猜猜一次扣2币,猜对奖励6币 # 可以随时退出,退出的时候退币 num = input("请投币") coin = int(num) rand = random.randint( 1,10 ) #疑问,投币数量和游戏次数有无关系 while(coin >= 2): cmd = input("请输入一个值,范围(1-10),退出请按0!") if(cmd=="0"): print("退您"+str(coin)+"个游戏币,请收好!") break; coin = coin - 2 userinput = int(cmd...
[ "jiangyingli@126.com" ]
jiangyingli@126.com
d486e86f158860f487fa6a1659cf36422f4530fe
f9ad8e434c4766bb29f3e1419dfb11361d70fd1e
/lab7_10.py
567c917fa8eb208fdc9bb98beb35f3e9e17dead7
[]
no_license
Maria105/python_lab
3060ff26247c81253fe7d058e17d6ff7d88bad8e
5a235e2938b07db8b3dff1eaea57cd530df2d4a9
refs/heads/master
2020-03-28T10:27:59.928146
2019-01-11T14:01:48
2019-01-11T14:01:48
148,111,814
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
#!/usr/bin/env python3 # -*- codding:utf-8 -*- def input_text() -> str: """Input message: """ text = input('enter you text: ') return (text) def min_word(text: str) -> str: """Find smallest word""" return min(text.split()) print(min_word(input_text()))
[ "noreply@github.com" ]
noreply@github.com
8f92acd743de6224fa78192b2abb2e2385ad176b
ccda9baee5219204d425895d3c484bb781388011
/instagram/urls.py
09c4dcf019e33cab4163959446c3ffca169991b9
[ "MIT" ]
permissive
JeremiahNgige/instagram-clone
fbe26f526d4d193903d6feeed602712d91ddabbe
c8cb10a9f3ba9ae09a584ccf957adf6b057672ca
refs/heads/master
2022-12-30T06:27:22.988220
2020-10-22T19:36:30
2020-10-22T19:36:30
304,614,905
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
"""instagram URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "brianjeremy123789@gmail.com" ]
brianjeremy123789@gmail.com
31e0764953dcbe50ed8f4d2ad453bbeb18f03f34
0f573c8be4a665ccfabbfe81ee084d096a282414
/mysite/blog/admin.py
c13f5bd3f4c0e9b589f1285b777e8b3c09e3978d
[]
no_license
dwilliams328/DjangoBlog
4be6ee486c08807798f7a6d9cfdac42e505237d0
9e067b27da74713ae321526b3d6de97ecc61a82d
refs/heads/master
2020-04-23T23:16:51.239893
2019-02-27T21:34:12
2019-02-27T21:34:12
171,530,837
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.contrib import admin # Import and register model to make it visible on the admin page. from .models import Post admin.site.register(Post)
[ "dwilliams@icstars.org" ]
dwilliams@icstars.org
221197ebbc49db96c73981d99a32e9cf8e6e7e13
14078fd8a13a531ffd0575dc3b4d91b7a22492db
/hci.py
429f070055ff1f1403166d05fa55454fb0fe2442
[]
no_license
peterliu/hci-view
db93de725707213d2bd428de786dc357da11fc53
da50432a9fbe9fdeb7c7e7533b40af4d14f4ec5a
refs/heads/master
2021-01-18T14:26:18.751047
2014-09-04T08:14:53
2014-09-04T08:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
import sys from msg import msg_analyze msg_db = [] def storeMsg(msg_time, msg_direction, msg_msg): global msg_db this_msg = {'time' : msg_time, 'direction' : msg_direction, 'msg' : msg_msg } msg_db += [this_msg] def loadSrcFile(file_name, direction): f_in = open(f...
[ "peter9882@gmail.com" ]
peter9882@gmail.com
62b085c047b06c3239657128e85b386f92823e3f
9a3543fc4b82f1ce1037005853cfd658fa3e772c
/ex35.py
c74b5a3b844762cc434a9c803708678eb9086686
[]
no_license
standbyme227/study_python1
44c0e357f395fc008b3343ad63bb1743d0c32ab4
f2b8516835397d3310a14f9f6bf006532b8fc5f9
refs/heads/master
2020-05-20T00:47:32.302453
2019-08-07T08:07:46
2019-08-07T08:07:46
185,294,694
0
0
null
null
null
null
UTF-8
Python
false
false
2,497
py
from sys import exit def 황금_방(): print("황금으로 가득 찬 방입니다. 얼마나 가져갈까요?") 선택 = input("> ") if isinstance(int(선택), int): 액수 = int(선택) else: 죽음("인간이여, 숫자 쓰는 법부터 배우세요.") if 액수 < 50: print("좋아, 욕심부리지 않는군요. 당신이 이겼습니다.") exit(0) else: 죽음("욕심쟁이 얼간이 같으니!") def 곰_방...
[ "standbyme227@algorithmlabs.co.kr" ]
standbyme227@algorithmlabs.co.kr
f813381d640daa2f7c3c0c699383e9bdd36a6e1e
34271ef9e02ea728cb713c933853b33dd815f286
/app.py
e63b0126f2e763193895573edd4beb50291debf5
[]
no_license
AxlEstevez/api_rest_productos
38c8aa93922abad0eac0af7dd656c6a24dc37597
5a6d35aa0ea631f1550eac759f28d163b8058cda
refs/heads/master
2022-12-09T09:36:49.830053
2020-09-14T00:33:09
2020-09-14T00:33:09
295,224,317
0
0
null
null
null
null
UTF-8
Python
false
false
6,341
py
#!/usr/bin/python3 #-*- coding: utf-8 -*- # importaciones necesarias para poder correr python del lado # del servidor from flask import Flask, render_template, redirect, request import lxml # Se usara para validad documentos xml con su xsd. import xmlschema # otra libreria para validad xml # Modulos para poder acceder...
[ "lacura4ever@gmail.com" ]
lacura4ever@gmail.com
1b58373ac66d0ddb7dc9aeda27c62602f8569f74
de707c94c91f554d549e604737b72e6c86eb0755
/math/0x01-plotting/2-change_scale.py
480bf1b1af07c3d6f3b678dbbd1083ba7969a535
[]
no_license
ejonakodra/holbertonschool-machine_learning-1
885cf89c1737573228071e4dc8e26304f393bc30
8834b201ca84937365e4dcc0fac978656cdf5293
refs/heads/main
2023-07-10T09:11:01.298863
2021-08-11T03:43:59
2021-08-11T03:43:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
#!/usr/bin/env python3 """ plots x, y as a line graph where y-axis is scaled logarithmically """ import numpy as np import matplotlib.pyplot as plt x = np.arange(0, 28651, 5730) r = np.log(0.5) t = 5730 y = np.exp((r / t) * x) plt.plot(x, y) plt.xlabel('Time (years)') plt.ylabel('Fraction Remaining') plt.title("Expon...
[ "eislek02@gmail.com" ]
eislek02@gmail.com
5ddfb724efcc821a79c4e342fe9315c9e87c4d99
038e6e41d117431869edad4952a5b1463d5131bc
/donations/urls.py
f1cd42016e4516213c853992d4476f9cab832f42
[ "MIT" ]
permissive
MikaelSantilio/aprepi-django
c49290855b7c83ecaf08de82ee9eedf8e8baa15a
5e2b5ecffb287eab929c0759ea35ab073cc19d96
refs/heads/master
2023-06-19T00:18:15.986920
2021-06-15T20:15:59
2021-06-15T20:15:59
329,428,268
0
1
MIT
2021-02-05T16:21:45
2021-01-13T20:50:18
Python
UTF-8
Python
false
false
1,043
py
from django.urls import path from donations import views app_name = "donations" urlpatterns = [ path('', views.MakeDonation.as_view(), name='unique-donation'), path('historico/', views.DonationListView.as_view(), name='list'), # path('checkout/<str:value>', views.MPCheckout.as_view(), name='mp-checkout'),...
[ "mikael.santilio@gmail.com" ]
mikael.santilio@gmail.com
1d006bd3a0ab3787892cc88a2cdfe5d1becfdec4
3267642d2ef6311863b54c4196b064e8d01ab10a
/projects/migrations/0006_auto_20200821_0958.py
40af3a374d3e80e723f8e858fcded087d0ba1ffa
[]
no_license
pracowniaPK/Portfolio
6ad425eaef957da195195073365d64f95ba6ad1a
cd862f80d60120a8ba55e281b678f1b9d5a90f10
refs/heads/master
2022-12-07T00:15:15.724251
2020-09-02T21:01:13
2020-09-02T21:01:13
285,631,529
0
0
null
2020-08-13T22:47:29
2020-08-06T17:30:18
Python
UTF-8
Python
false
false
337
py
# Generated by Django 3.1 on 2020-08-21 09:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('projects', '0005_auto_20200820_1854'), ] operations = [ migrations.AlterModelOptions( name='project', options={'ordering': ['priority']}, ...
[ "kaczory5@gmail.com" ]
kaczory5@gmail.com
44a673b2bafd755b74bd2d6410ccb5e39e996f78
ea79ea47e8d499eb222e07c2d830a3af969bb98d
/conf.py
15fbcc3270727f7578ebb349b9a7a48bd7bf7435
[]
no_license
kabaj/symfony-docs-pl
3bac5e98adff90997ce8501f77ae0fa84fb43cd1
f781901ba37bce5d97eb6f28a1875e3a8c30c59f
refs/heads/master
2021-01-16T22:50:05.730297
2016-02-10T21:24:41
2016-02-10T21:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,434
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # symfony-docs-pl documentation build configuration file, created by # sphinx-quickstart on Tue Apr 30 21:52:40 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in thi...
[ "andrzej@abutronik.pl" ]
andrzej@abutronik.pl
629ff9ed2b366ac2773776f14140f0935e748f54
052f4e1705141b84c93218658bc38773cd40088a
/scripts/python/dem_processing/dem_perf_check.py
baac67fd21f301f847a1913666767ad256087f28
[]
no_license
bipinmsit/mycode
5417f50cef5066990b34d9a7fa65066b5e6bcda1
f392d25b0825bee050a8f0f84a990cac83bcac6e
refs/heads/master
2022-11-21T08:49:04.932399
2020-07-18T17:28:25
2020-07-18T17:28:25
105,014,101
2
0
null
2017-12-07T07:31:41
2017-09-27T12:15:11
Python
UTF-8
Python
false
false
6,036
py
from raster_processing.raster_chunks import GeoChunks as gc import numpy as np from subprocess import call import matplotlib.pyplot as plt import gdal import sys def match_shape_DEM(referenceDEM,terrainDEM,tempDEM="./temp_1234.tif"): """ Ensures that shape of reference DEM and the new terrain DEM are the same...
[ "bipin.kumar@aspecscire.com" ]
bipin.kumar@aspecscire.com
f37bf6d7e69087bad285023e03ef4723bb8ba36b
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/145/B.py
c96cb419eb5372858a0ff144fa21e734a83f0e9e
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
def main(): N = int(input()) S = input() if N % 2 != 0: print('No') else: A = S[:N//2] B = S[N//2:N] if A == B: print('Yes') else: print('No') if __name__ == "__main__": main()
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
1c3fe0cc2873b5858a438ae7dbeaf43f1ace5c25
8c6466e12bb3351031c25677127dc86d13bd9b19
/Project data Modelling with Postgress/sql_queries.py
09f272907dc0ece9579ce135decdb08810006f0f
[]
no_license
andreodendaal/udacity_data_engineering
ac8eb889db002014b3ccf1fe15b16f77361b8d55
03524ffbd1830d168761fcc996cab329dd064977
refs/heads/master
2020-05-05T09:24:02.921194
2020-01-15T20:22:14
2020-01-15T20:22:14
179,902,884
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
# DROP TABLES songplay_table_drop = "DROP TABLE IF EXISTS songplays;" user_table_drop = "DROP TABLE IF EXISTS users;" song_table_drop = "DROP TABLE IF EXISTS songs;" artist_table_drop = "DROP TABLE IF EXISTS artists;" time_table_drop = "DROP TABLE IF EXISTS songplays;" # CREATE TABLES songplay_table_create = ("""CRE...
[ "aodendaal.direct@gmail.com" ]
aodendaal.direct@gmail.com
17886f2c49f51a24b121c87812d0111097c21985
f47755f746c316cfdac8afaefe6d149aa77bc4e5
/cloudmesh/rest/shell/shell.py
052d890a4c3d2c4cb6cea1c4671b1c59ab97593b
[ "Apache-2.0" ]
permissive
karthik-anba/rest
a3705b9349ebf7e6e1b4f21036301529adfd3dc8
b575a5bc16a5352f87c107fadb435935d5b66746
refs/heads/master
2021-01-21T10:46:23.433663
2017-02-23T01:20:23
2017-02-23T01:20:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,358
py
# # in our rest architecture we want to interface to the backend systems while # using a secure rest service. I # Internally we will use the many fnctions that cloudmesh_client provides. # Before we use them we need to implement some elementary functions # lets first do administrative functions in an admin commond # p...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
9900fb23966c7170f49463766fb9144b67096696
6323bd983f6304d95e62909bfc4883d2f9ef1a14
/Leetcode/Medium/Range Sum query.py
4e7d5a0537c1ad2d9022d5981e76015b68d98328
[]
no_license
akshay-sahu-dev/PySolutions
4c2d67d5f66fe83a6e302e1742a5bf17dafe2b99
83552962805768914034a284bf39197f52ca5017
refs/heads/master
2023-06-17T06:36:50.252943
2021-07-09T17:28:53
2021-07-09T17:28:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
## https://leetcode.com/problems/range-sum-query-immutable class NumArray: def __init__(self, nums: List[int]): self.nums = nums def sumRange(self, i: int, j: int) -> int: return sum(self.nums[i:j+1]) # Your NumArray object will be instantiated and called as such: # obj = NumArray(...
[ "akki5233@gmail.com" ]
akki5233@gmail.com
40b601ccb51ae4cd83ee67ed6b070c74ef5e537f
cae96d56eb65a4b6969adf25bafeab75c25cb330
/kbtuwebBack/hhBack/api/views.py
a8c92f0978d9d788c3e69cd64d661808316d7525
[]
no_license
justdiasik/Project
ae5ff68c957db6a38709038d90768113d447e8ff
7f9570a6a1e7622574efd8ebbc262a032271655c
refs/heads/main
2023-04-30T02:18:01.229148
2021-05-03T15:28:27
2021-05-03T15:28:27
352,089,381
1
0
null
null
null
null
UTF-8
Python
false
false
2,003
py
from django.shortcuts import render from django.http.request import HttpRequest from .models import Company,Vacancy from django.http.response import JsonResponse # Create your views here. def company_list(request): if request.method == 'GET': companies = Company.objects.all() companies_json = [compa...
[ "diasik_jj@mail.ru" ]
diasik_jj@mail.ru
3ca70e7899cae6e8da6ff35dcef69212de849360
b141fa3df722bcf2acf4ca6734633f4c571765e8
/Cycle detection.py
4fb36a914ae00f0834bc4d87bd980deb94e06077
[]
no_license
lilmoonkk/Graph-algorithm---Cycle-Detection
dd6a4997cceacecf6f927a6c078ccbf820c2431a
565df01ba6fd67b83ae1ae76c6753297103586e6
refs/heads/main
2023-06-09T02:40:55.616825
2021-07-01T12:27:27
2021-07-01T12:27:27
382,024,064
0
0
null
null
null
null
UTF-8
Python
false
false
17,662
py
# -*- coding: utf-8 -*- """ Created on Sun May 30 15:49:38 2021 @author: Moon """ import random import numpy as np import matplotlib.pyplot as plt import networkx as nx distance_storage = np.array([[0,3235,1883,1012,19116],[3235,0,3198,2397,15881], [1883,3198,0,1351,17671],[...
[ "noreply@github.com" ]
noreply@github.com
d81bf82845c2f8e12980533f9d59d8e047901438
e07da133c4efa517e716af2bdf67a46f88a65b42
/hub20/apps/blockchain/management/commands/sync_blockchain.py
b28399a2a20dc1fa41b00b74038c1e23e9e449e6
[ "MIT" ]
permissive
cryptobuks1/hub20
be1da5f77a884f70068fd41edaa45d5e65b7c35e
3a4d9cf16ed9d91495ac1a28c464ffb05e9f837b
refs/heads/master
2022-04-19T21:26:15.386567
2020-04-19T07:17:47
2020-04-19T07:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
import asyncio import logging from django.core.management.base import BaseCommand from hub20.apps.blockchain.app_settings import START_BLOCK_NUMBER from hub20.apps.blockchain.models import Block, make_web3 logger = logging.getLogger(__name__) def split_block_lists(block_numbers, group_size=25): for n in range(...
[ "raphael@lullis.net" ]
raphael@lullis.net
b292bac4c82c505a69551f7b36c2d8b63c9e89b6
f233b4ac980197536c597da44e0f8c59423b3b79
/Chapter_4/sequence_data_type.py
668faf6a322b26937506e290d762d273858ede2a
[ "Apache-2.0" ]
permissive
alenasf/AutomateTheBoringStuff
594142f5a205ebd0e9197e57e5230233a1f35aea
041e56221eb98d9893c24d22497034e6344c0490
refs/heads/master
2022-11-08T01:23:08.311049
2020-06-30T21:51:23
2020-06-30T21:51:23
265,424,172
0
0
null
null
null
null
UTF-8
Python
false
false
2,399
py
# name = 'Zophie' name[0] # 'Z' name[-2] # 'i' name[0:4] # 'Zoph' 'Zo' in name # True 'z' in name # False 'p' not in name # False for i in name: print('***' + i + '***') #***Z*** #***o*** #***p*** #***h*** #***i*** #***e*** # Mutable and Immutable Data Types name = 'Zophie a cat' newName = name[0:7] + 'the' + na...
[ "30708007+alenasf@users.noreply.github.com" ]
30708007+alenasf@users.noreply.github.com
9de0c9caba42de454a384bb60732507d489ce0e4
a6227b36e30d5cafaa3e66067744913771209106
/counter/views.py
6d2233cd1501dec1eea2f24ef48d1ba1e4b1fb2b
[]
no_license
prasannatuladhar/newwordcounter
0c5f716b359162ea0bafcbab8fc0c109171f1427
b4d7277cba3fd31b6b51e641ca4ca6e4785d0b1d
refs/heads/master
2020-03-21T21:15:23.963462
2018-06-30T19:12:10
2018-06-30T19:12:10
139,054,700
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
from django.shortcuts import render def home(request): return render(request,'home.html') def count(request): textarea = request.GET['textarea'] wordlist = textarea.split() words = {} for word in wordlist: if word in words: words[word] += 1 else: words[word...
[ "prasanna.pmt@gmail.com" ]
prasanna.pmt@gmail.com
edb2584bd2ffb584e0b19a5360d8bf77347a593b
93db6e557d15a757ca7b53ce08acd29e1ed75ef1
/blog/models.py
699c7bae7b886e5e0f6d9423d507ed2ee0b9bb3d
[]
no_license
elkhot/mysite
4058fc41e5b7d6ecb49916d8bbbfe0e720d78bd2
c82371e2ab2419e4ef9ba1dd3860dedd4a7777cf
refs/heads/master
2022-01-29T20:23:14.044232
2019-07-22T19:41:48
2019-07-22T19:41:48
198,111,247
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from django.db import models from django.contrib.auth.models import User class Blog(models.Model): title = models.CharField(max_length=100) slug = models.SlugField() body = models.TextField() date = models.DateTimeField(auto_now_add=True) thumb = models.ImageField(default='default.png', blank=True...
[ "elkhot@gmail.com" ]
elkhot@gmail.com
7260fc8fc752f352287646282d624abfa0a0dd85
2d4ad8674d6590d02f80214d9c67cd61a9ae7920
/src/includes/data_array.py
3c5334d30b7cf9527257881072e26bbfe461747a
[]
no_license
lotka/autofaces
abd02191d1bb094a957018da18e7c93a027e46ff
6f456a5452abed81e2ea0669e43c9bc76d8eb58a
refs/heads/master
2021-01-15T23:58:17.377999
2017-04-11T16:40:55
2017-04-11T16:40:55
58,305,916
4
0
null
null
null
null
UTF-8
Python
false
false
7,513
py
import collections import os import numpy as np import h5py class FileHDF5(object): def __init__(self, path_to_file, name_item): self.__path_to_file = path_to_file self.__name_item = name_item self.print_enabled = True self.__shape = None def __getitem__(self, item)...
[ "lukam321@gmail.com" ]
lukam321@gmail.com
a9b833ac69b6d381c12a94bbea7ed0657a2dec65
b4b7abf5e410969e6b6a6a7539a2b14242d03b54
/graph_pb2.py
87b655a9a2724ef810a641d66e13ce60bf52514f
[]
no_license
andreimargeloiu/Syntactic-Neural-Code-Completion
0f5263923ed72bf88bbf53bdc6830c5d883852f7
378a43a228c5a311e4116b7ae913453b81ce2a33
refs/heads/master
2022-04-07T09:31:25.647867
2020-03-05T18:22:20
2020-03-05T18:22:20
null
0
0
null
null
null
null
UTF-8
Python
false
true
15,192
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: graph.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflect...
[ "andrei.margeloiu@gmail.com" ]
andrei.margeloiu@gmail.com
69d42db8db5ccdb6da07528e5c8e31e48bc6746a
d66496d032af01056b5974a7a24484302f1ce332
/logiconio/urls.py
cb6493efd15f8b00ca12df643b8eb92ad3d16a27
[]
no_license
lee-hodg/LogiconTheme
5a00a179a3b6345bbbd8d2c53ab4c7b8542edc3a
556fdfd75d517b8bf0c1680cfc87f68f0e0ffcfe
refs/heads/master
2023-01-11T18:12:27.020053
2019-02-17T21:14:19
2019-02-17T21:14:19
307,756,174
0
0
null
null
null
null
UTF-8
Python
false
false
4,367
py
from __future__ import unicode_literals from django.conf.urls import include, url from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.views.i18n import set_language from mezzanine.conf import settings from theme.views import AJAXPortfolioPageView import mezzanine admin.autodi...
[ "leehodg@gmail.com" ]
leehodg@gmail.com
8a6ba53de0d67f640a8a9f14889c24584f961e1e
5cf24f0867fa19225b6eb87bb9d16defceace33b
/application/pkbadmin/views/dashboard_view.py
b505ef0abbf68be88b3e3f0d435d6ea493799253
[]
no_license
Abhisheksoni1/pkbpy
9dec080fe78f40e3a884830ee6fff5899c7fe4c6
7845ac1cf57291d875e6e5bf04d8ee7fe36158ed
refs/heads/master
2023-06-30T05:31:01.143944
2021-08-03T19:33:01
2021-08-03T19:33:01
392,432,617
0
0
null
null
null
null
UTF-8
Python
false
false
18,683
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render from django.http import HttpResponse from django.utils import timezone from django.contrib.auth import get_user_model from django.conf import settings from pkbadmin.views.decorators import GroupRequiredMixin from datetime impo...
[ "abhi@neargroup.me" ]
abhi@neargroup.me