blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
aa72faf5a71f2d3322b59ede19a9a57fd655e7c5
b621c03e96fbe29a53267749793c114d18c4ce77
/biblioteca/migrations/0001_initial.py
d1288e76c76751efe9803414ee0bef048adfeb2f
[]
no_license
NikitaCanuta/misitio-django
ba2e90a8215ca7579964a0d3d07e83b1d16c24d0
c39633df5fb21b89e6c48995857f3a63611c5d53
refs/heads/master
2021-01-12T02:04:11.467814
2017-01-17T06:30:06
2017-01-17T06:30:06
78,463,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-01-11 05:15 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateM...
[ "nikitahuaman@gmail.com" ]
nikitahuaman@gmail.com
e70e227e75d56732a63219ef5730c6aa2d41ad40
a34df30b996cdfa3ab3e9669c320686d89eeb5d2
/img_converter.py
271692971165b53fbe47e6396eaddac791d3ce6f
[]
no_license
nlopuhoff/Google-IT-automation
469767af84a8c0106dff5710d6b37f705e098803
639cb5a89870236c5edafd129828ddcef3323b12
refs/heads/main
2023-02-06T10:01:20.664449
2020-12-23T14:33:01
2020-12-23T14:33:01
323,650,816
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
#!/usr/bin/env python3 import os from PIL import Image from multiprocessing import Pool import multiprocessing src = r'''C:/Users/OMEN/Desktop/images/''' #for WINDOWS dist = r'''C:/Users/OMEN/Desktop/TTest/''' #for WINDOWS #src = "/home/alex/images/" # for *nix systems #dist = "/home/alex/TTest/" # for *nix system...
[ "nlopuhoff@gmail.com" ]
nlopuhoff@gmail.com
1d571afe60320e79f00320eb9948e4945ccfad81
3efc046b866ec4224b03c58c45054c2e91b57ea7
/devices/pmc100.py
64eee6318f48877e1859bf39e3401c7264e06531
[]
no_license
koglin/pscontrol
465cada6639f5ffcb8c29bb0fab34d6589326550
008f3ae1db4c39df842ee09083bf40f2ce6ac6d6
refs/heads/master
2020-04-17T04:25:10.218235
2016-08-29T16:43:02
2016-08-29T16:43:02
66,861,221
0
0
null
null
null
null
UTF-8
Python
false
false
21,710
py
#!/usr/bin/env python """ This module provides support for the EPICS LCLS PCDS version of motor record. """ # # Author: Jason Koglin (based on Motor.py by Mark Rivers / Matt Newville) # Created: December, 2014 # Modifications: # import sys import time import pyca from pscontrol import Device class Mo...
[ "koglin@slac.stanford.edu" ]
koglin@slac.stanford.edu
aeb7bbd093fe0b7169d98d0e7660db4d5c557417
b1e071945f604a9a48c30ffc828362749135b62b
/tap_chatitive/campaigns.py
e6294df8f0e02eda45581e20519384227761448e
[ "Apache-2.0" ]
permissive
codyss/tap-chatitive
6a88f16996cc2147dddfd4eee9051e2c5835f36a
66729650744600268416baccf05dcba1de9fbe41
refs/heads/master
2020-04-03T08:21:06.859903
2020-01-24T21:59:29
2020-01-24T21:59:36
155,130,127
0
2
Apache-2.0
2019-11-01T14:05:44
2018-10-29T00:36:40
Python
UTF-8
Python
false
false
4,244
py
from tap_kit.streams import Stream class CampaignsStream(Stream): stream = 'campaigns' meta_fields = dict( key_properties=['sid'], replication_method='full', selected_by_default=False ) schema = \ { "type": [ "null", "object" ], "properties": { "status": { ...
[ "cody@simondata.com" ]
cody@simondata.com
7b415da9b4656930002b40e57d08a776175b99a3
8d660788b6756b2c23a9227690377916d58925c8
/djangoImageProject/asgi.py
3d38ec665dd878696aae390e5490fa5d26aafece
[ "MIT" ]
permissive
imvickykumar999/ISENW
a30f7dd627d8641b3f3fb24e2ee5bd4a8743dd4e
26f9e906ade53c8d49ba9e6a04baa36ad0323124
refs/heads/master
2023-02-04T20:39:55.120752
2020-12-29T07:41:26
2020-12-29T07:41:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" ASGI config for ISENW project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTING...
[ "thedivyanshuyadav@gmail.com" ]
thedivyanshuyadav@gmail.com
a3e3b87d073f41bae0250078bf35cd961afc03ef
49f61714a6f78d984fd2194d6064d84e891bc5b7
/2019-1/230/users/3356/codes/1599_842.py
15af2a9064e98315942e60e03b8d7ff9b43b637d
[]
no_license
psbarros/Variaveis3
b5c4e1517e7d94a846ee03791d25d5821a1c651c
3dcf6f810709ce03c78335acf9533e008a2ae125
refs/heads/master
2023-06-13T07:05:00.878430
2021-07-06T17:51:37
2021-07-06T17:51:37
383,549,597
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
# Teste seu codigo aos poucos. # Nao teste tudo no final, pois fica mais dificil de identificar erros. # Nao se intimide com as mensagens de erro. Elas ajudam a corrigir seu codigo. n = int(input()) soma = 0 while (n > 0): resto = n % 10 n = n // 10 soma = soma + resto print(soma)
[ "psb@icomp.ufam.edu.br" ]
psb@icomp.ufam.edu.br
2bcf55cc2a6365890d1f67589aa4670d64d5134b
700cf80148dc488dc07fde37583de08c254f8b6b
/telnyx-python/tests/aio/api_resources/test_call.py
e4b88ca87ac226f78869f0045dae8dd7b8f24807
[ "MIT" ]
permissive
mgwilliams/telnyx-2fa
5198dc03dcea69d87ec084f48407b9a3e52fbc25
49b794c05f42bc6d1c27f722e0d09da6654ad8d2
refs/heads/master
2022-12-09T19:36:14.398320
2020-01-24T18:48:42
2020-01-24T18:48:42
224,907,431
0
2
MIT
2022-12-08T06:20:34
2019-11-29T18:53:27
Python
UTF-8
Python
false
false
6,748
py
from __future__ import absolute_import, division, print_function import pytest import telnyx.aio CALL_CONTROL_ID = "AgDIxmoRX6QMuaIj_uXRXnPAXP0QlNfXczRrZvZakpWxBlpw48KyZQ==" async def create_dial(): return await telnyx.aio.Call.create( connection_id="1111111111222222223", to="+12223334444", from_="+122...
[ "mgwilliams@gmail.com" ]
mgwilliams@gmail.com
6341e75d6a947b220ba19f0444188eda0f0bf809
06391dbf4205614218831e0c9001a2fb2bb1f43a
/WorkflowDjango/feedback/models.py
d3b1e459c4f31f045daa5464b62b395a57118ef3
[]
no_license
sanket2407/DjangoPractice
b7e3ab5abeaba9ddfb142c50055def6f5ab26d98
a045fc4f09eda3ae5d8b067add8753be38f25076
refs/heads/master
2020-12-24T20:32:57.462954
2016-04-20T23:58:41
2016-04-20T23:58:41
56,551,527
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from django.db import models # Create your models here. class FeedBack(models.Model): feedback = models.CharField(max_length=120, blank=False, null=True) email = models.EmailField() def __unicode__(self): # Python 3.3. is __str__ return self.email
[ "sanket24.07@gmail.com" ]
sanket24.07@gmail.com
a23d0a0133f0e15711d6f9797955758dc75ae16e
4148260054c2cf4605dacb8bdef3605c82eca470
/temboo/Library/Wordnik/Words/RandomWords.py
682599bdf169426d581dbe717544f4ca5ebb9bb6
[]
no_license
wimsy/actuarize-web
0f23d5f00afe3d36d430621cdb497d2e64998416
5f43af3019da6fb08cafeec9ff0a89df5196b864
refs/heads/master
2021-03-12T19:38:21.887681
2012-12-19T01:13:50
2012-12-19T01:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,155
py
# -*- coding: utf-8 -*- ############################################################################### # # RandomWords # Retrieves a list of random words. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from te...
[ "mike.wimsatt@gmail.com" ]
mike.wimsatt@gmail.com
e7fc4dbdea27bb57e83f42290191db2821d4fc48
b21cff4eaeee7f79496610dc5f99ee5f051e7bdd
/download-subject-data.py
ae0286d265e752c53520f446fa7364f57c12fdde
[ "MIT" ]
permissive
searcy/ASpaceASnake
2939e1df414a59475baf85e8d95f929ad60edb0a
9056b1d9bc538807d738687fe873bb6c10b82e92
refs/heads/master
2022-11-09T17:30:13.320400
2020-06-24T17:32:08
2020-06-24T17:32:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
import os, json, csv, datetime # This file downloads subjects as full strings # it puts them in a CSV to be reconciled. # it can limit by just a kind of like LCSH from asnake.client import ASnakeClient client = ASnakeClient() client.authorize() def write_subject_csv(csvName): fieldnames = ['ASpaceID', 'subject',...
[ "rkt@ruthtillman.com" ]
rkt@ruthtillman.com
a1a75044bd053b64b4f23d6d0e29b4773268d4ec
f2ffeaa466ca1c9567e01619e7696c17743dd6de
/data_engineering/orm/__init__.py
507a00653ac1e4cbc60a90a86eff69bdb2c2ffe2
[]
no_license
jfalves/cognitivo.ai
a70a2545917e5362be69d73246aacbfdbc6237df
9c2798406ea2e56365cfe6453d0da9d6aed11122
refs/heads/master
2023-08-17T21:21:46.245578
2019-09-18T22:51:02
2019-09-18T22:51:02
151,113,703
0
0
null
2023-08-14T21:48:11
2018-10-01T15:42:38
Python
UTF-8
Python
false
false
372
py
from sqlalchemy.orm import sessionmaker from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base connection_string = 'sqlite:///data/database.db' engine = create_engine(connection_string) Session = sessionmaker(bind=engine) Base = declarative_base(engine) from orm.model import...
[ "jonathan.f.alves@gmail.com" ]
jonathan.f.alves@gmail.com
f249a5ef28ce7d4c0cd7ed92aa4ef409ed9f3bbc
6944c07d6d7fd06998c5b33cf38d9c7ed67e7a69
/Helpers/chat.py
2a8f2c4dee803ed446345413e966f7472358e70b
[]
no_license
Enigma2000/Kirk-Stockbot
a1327b07286b545e856e054073c9aace147d5b97
9a7416283b62ff1f3b0651df3c002c754458e835
refs/heads/main
2023-04-11T13:05:56.795850
2021-04-23T03:09:32
2021-04-23T03:09:32
337,327,508
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
MENTION_REPLIES=[ "Stonks only go up!" ]
[ "kirkalexandermiller@gmail.com" ]
kirkalexandermiller@gmail.com
56ffe54007479bf163c7115f9085196f80c3f855
316aebde2a8055f7ebdc66a9f5e94e636f0eb877
/job2/qqmodel/qq_uni_model.py
7213ed9c3985a278313746a8ea6b6c72eba012a7
[]
no_license
tiger115136/2021_QQ_AIAC_Tack1_1st
76dcd3e1ace218a62059407bcfbcbe3cc2e3a3cc
25c4e56dd0e1023763ddf54743eb5cbe97a69862
refs/heads/main
2023-08-30T12:59:12.338219
2021-11-17T11:56:08
2021-11-17T11:56:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,111
py
#%%writefile qqmodel/qq_uni_model.py import math import random import torch import torch.nn as nn import torch.nn.functional as F import sys sys.path.append("..") from data.masklm import MaskLM, MaskVideo, ShuffleVideo from transformers.models.bert.modeling_bert import BertConfig, BertOnlyMLMHead from transformers.mod...
[ "mzrzju@gmail.com" ]
mzrzju@gmail.com
683660840539d8bb98e0c6311c864131f896a576
484d66129948c755b21c052cfb208543166436f2
/gotrack/etc/scripts/analysis/create_matrices.py
d92d2e3b7ee69fe19c3fb2bef67bef64285c4686
[]
no_license
PavlidisLab/gotrack
23f54a01d300e7d795c73b154ffbf901796d1362
34051203cc098c175d212a0a3c054a7e028ab333
refs/heads/master
2023-06-27T04:54:57.583304
2023-06-13T01:31:09
2023-06-13T01:31:09
27,203,740
1
1
null
2023-06-14T22:44:23
2014-11-27T01:25:56
Java
UTF-8
Python
false
false
6,970
py
#!/usr/bin/env python # # The GOTrack project # # Copyright (c) 2015 University of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
[ "JacobsonMT+github@gmail.com" ]
JacobsonMT+github@gmail.com
7423be53d2a414bc5a6f59e2d604dad5ceed7400
aa5d7665c9a807d418a68cf43bbcc554105888f3
/PyTest_tutorials/tutorial.py
c90a42563110c59928b1e4d291def99276f220d4
[]
no_license
marc25492/PythonPractice
1836562356db6abe9a1a73cc34b844acba17cbd6
e234fed0678346ef21011c58d61160657b4176b1
refs/heads/master
2020-04-12T20:23:40.843847
2019-05-01T07:29:37
2019-05-01T07:29:37
162,734,751
1
0
null
null
null
null
UTF-8
Python
false
false
577
py
import pytest # Basic Example def test_file1_method1(): x=5 y=6 assert x+1 == y,"test failed" #assert x == y,"test failed" def test_file1_method2(): x=5 y=6 assert x+1 == y,"test failed" # Test a Fixture @pytest.fixture def supply_a_b_c(): a=1 b =2 c=3 return [a,b,c] def test_addition(supply_a_b_c): ...
[ "marclyo@amazon.com" ]
marclyo@amazon.com
93b31d31cb45aa31bd42b22060e7ab398eb8c423
e66be3cb9666f5e96abebca9f3181589ef282645
/transformace.py
6ba751df7e55fbfd0f81e12731769ab16524c4fc
[]
no_license
alacham/matematicke_programovani
e852ca4ee4f7af07fc45c6fe965bfd1c6a1ff599
96c500d4e91ba91e84405ac9e6a5146193171786
refs/heads/master
2021-05-15T01:21:07.397461
2015-02-21T23:00:16
2015-02-21T23:00:16
8,332,293
0
0
null
null
null
null
UTF-8
Python
false
false
8,309
py
import numpy as np import copy import svgwrite from math import degrees, radians, cos, sin from chaos_game import ngram_vertexes def multiply_shift(a, b, howmuch): x = b[0] - a[0] y = b[1] - a[1] return [howmuch * x, howmuch * y] class Line: def __init__(self, p1, p2): self.x1, self.y1...
[ "alacham@volny.cz" ]
alacham@volny.cz
49e3251dec35867ec9d2debf632bbb02efbf33db
2320cb3b779eaaa00e69749943f8ef239a4f54c3
/python/pandas_test.py
ff64d0a3c3dd0cc710c1ba1ad6b322681916cde7
[]
no_license
liuyngchng/com.richard.test
6953b91648522057766e779fdf85a3fe0b003284
bc7cb025f7920627097581c90218adcc6f123609
refs/heads/master
2023-07-21T22:22:53.897437
2023-07-11T07:27:32
2023-07-11T07:27:32
176,461,080
0
2
null
2022-12-16T02:50:39
2019-03-19T08:21:40
Java
UTF-8
Python
false
false
1,168
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # pip3 install pandas import pandas as pd # display config pd.options.display.max_rows = 999 pd.options.display.max_columns =100 # 使用dtype,指定某一列的数据类型 df1=pd.read_excel('test.xls', index_col='姓名', sheet_name='成绩',dtype={'姓名': str, '成绩': float}) # 使用index_col=0,指定第1列作为索引列 df2...
[ "liuyngchng@hotmail.com" ]
liuyngchng@hotmail.com
6bef28cd58f292662d8e0962e3c076c423b21a69
72fa290811b8346f60ab0a21d4ea5a4544f84a22
/main/apps/words/views.py
1796a0067bfa503f5b014c4fd99d596633fb1e13
[]
no_license
sethsdo/session_words
788f5cab4927a934c623d920720d3918065700bd
68373c12f9aedc680aed83afd4b19af226aa2781
refs/heads/master
2021-07-01T01:47:31.004936
2017-09-19T19:38:48
2017-09-19T19:38:48
104,119,720
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
from django.shortcuts import render, HttpResponse, redirect from time import gmtime, strftime def index(request): print "hello" if 'current_activity' not in request.session: request.session['current_activity'] = [] print request.session['current_activity'] return render(request, 'temp/index.html'...
[ "setholmstead@gmail.com" ]
setholmstead@gmail.com
c74937c6415c6de2c4f31cee1512791d295b3a6e
3c87aab8ae47e2a9bfc985e2f60041bc9b7d37a6
/main.py
9374d7c95d95a0969ddb6b607aa1a420956b50e5
[]
no_license
artmexbet/ForSpeakingPython
57e362f804fa5cbe68da4e5f95fde7d5762d9b68
d9b27e1ff82148f1448f1aa8008220ea6927bc05
refs/heads/master
2023-04-29T21:49:34.174862
2021-05-20T14:41:18
2021-05-20T14:41:18
369,236,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
from flask import Flask, request, abort, redirect from data import db_session from data import links app = Flask(__name__) @app.route("/link/add", methods=["POST"]) def add_link(): """ Добавляет ссылку в базу данных """ form = request.json if form.get("link", False): link = links.Link(lin...
[ "60144997+artmexbet@users.noreply.github.com" ]
60144997+artmexbet@users.noreply.github.com
bd79ab5652821bbcfdb5bcae53c234dbe1c51a94
a333783751d30cae65aab0991dfbe53add02d12e
/qiskit/providers/ibmq/credentials/hubgroupproject.py
4d2abbe6070e0537c0523fd8c541ec59d39b6dbc
[ "Apache-2.0" ]
permissive
michelle4654/qiskit-ibmq-provider
f7d485a47481f788e4d748efdcb551c91a616240
f03c20d4bcbbccd763478dd27da9046e2aa6e380
refs/heads/master
2020-12-15T03:48:09.140579
2020-01-17T18:27:26
2020-01-17T18:27:26
234,983,887
1
0
Apache-2.0
2020-01-19T23:33:31
2020-01-19T23:33:30
null
UTF-8
Python
false
false
707
py
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
[ "salva@unoyunodiez.com" ]
salva@unoyunodiez.com
2fec48c9bc4689497d616c4fab84161b86faed78
ef61c5f177ee44ac08325335fc28a12f3fccbb58
/resource_management/tests/interactors/test_create_resource.py
2c7bedc0881b90bbee655ebca9a3137cfff9d3c2
[]
no_license
bammidichandini/resource_management-chandini
3c11c7b2eb5e2f8d3df5b55e4d3ee86a27ed5c3a
aa4ec50f0b36a818bebc2033cb39ee928e5be13c
refs/heads/master
2022-12-01T19:59:25.366843
2020-07-23T09:10:42
2020-07-23T09:10:42
269,610,045
0
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
import pytest from unittest.mock import create_autospec #from resource_management.exceptions.exceptions import UserCannotManipulateException from django_swagger_utils.drf_server.exceptions import Forbidden from resource_management.interactors.storages.resources_storage_interface import StorageInterface from resource_ma...
[ "chandini.bammidi123@gmail.com" ]
chandini.bammidi123@gmail.com
b302f3d9da1b21edf418c318990f1fe0adb18a6e
58b29abba87ca8b830cc330f5917299a7a2b18c3
/code/hiervae/scripts/align.py
9b84daab031ca62c9aaf5ae3e4a83290bcbaef91
[]
no_license
pingjiewang/sagemaker-dlh
fdbc2ab851c42700bc4f80c7ed41592a7f10adf9
af68951b23b11d2490a845af8c35736a417a572b
refs/heads/main
2023-05-05T21:14:05.786890
2021-05-17T20:07:42
2021-05-17T20:07:42
351,581,828
1
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
from rdkit import Chem import sys import Levenshtein from multiprocessing import Pool def get_leaves(mol): leaf_atoms = [atom.GetIdx() for atom in mol.GetAtoms() if atom.GetDegree() == 1] clusters = [] for bond in mol.GetBonds(): a1 = bond.GetBeginAtom().GetIdx() a2 = bond.GetEndAtom().Get...
[ "brian@Brians-MacBook-Pro.local" ]
brian@Brians-MacBook-Pro.local
431d383e6ab10dfa8f6ead9e789a2046a6143cdd
12f1403b29fc20e71ea7803df0dabdfadcee48f4
/从文件提取图像.py
3957a335a5a6349c15e6310730d7fc4bd174415e
[]
no_license
ztq09290929/AnnTest
68d746078e6f2b16bc70da830f2f772da794e88c
d8ad4b31b7b04692868211ae9a1ab2921982e199
refs/heads/master
2021-01-21T12:53:41.195243
2016-05-25T06:52:53
2016-05-25T06:52:53
55,295,015
0
0
null
null
null
null
GB18030
Python
false
false
1,035
py
from numpy import * import cv2 from os import listdir #encoding: utf - 8 #获取文件行列数 def file2Image(inputPath,inputName,outputPath): fr = open(inputPath+'\\'+inputName,'r') col = len(fr.readline().strip('\n').strip('\r')) fr.close() fr = open(inputPath+'\\'+inputName,'r') lis = fr.readl...
[ "lovesampo@163.com" ]
lovesampo@163.com
a3078ed764f5a832bc8be4f0ed37f7616cbcaff7
a52b63889017a7f099a2575abf251bfadc672349
/main.py
40f0b0bd54fb73bd86e5354c476a419e1fd0ed16
[]
no_license
602p/siscalc
cda58454a10780cceb018d0405377dbd49444911
0c82d1e1acdb0c1c99a09a7d02f47367ef036989
HEAD
2016-09-01T15:45:22.996359
2016-03-19T06:18:09
2016-03-19T06:18:09
54,244,235
0
0
null
null
null
null
UTF-8
Python
false
false
3,419
py
import browser class Category(object): def __init__(self, *a, **k): self.container=browser.html.DIV() self.assignments_container=browser.html.DIV() self.percent=browser.html.INPUT(readonly=True) self.weight=browser.html.INPUT(type="number") self.add=browser.html.BUTTON("Add ...
[ "louis@goessling.com" ]
louis@goessling.com
6c33db92e471a01b67b3f2dfc3bee65098d1c587
f8965d7b16e3cf70370b3bd181ef855a2ab89768
/ebook/Chapter09/filesystem_generator.py
ae234a78b920ef62b9c76894c47ddf36f3903229
[ "Apache-2.0" ]
permissive
tuannguyendang/montypython
59cae6fc6069cf5356670132470cdd52bad00d67
c0b8ff7a8130e811ba16bfab8d5e013eac37f432
refs/heads/main
2023-05-12T02:24:50.693432
2021-05-31T02:14:16
2021-05-31T02:14:16
325,188,168
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
class File: def __init__(self, name): self.name = name class Folder(File): def __init__(self, name): super().__init__(name) self.children = [] root = Folder("") etc = Folder("etc") root.children.append(etc) etc.children.append(File("passwd")) etc.children.append(File("groups")) httpd...
[ "tuan193@gmail.com" ]
tuan193@gmail.com
020ab1ce8752d29359bad417560647afee202162
d6674c41bb20394a57b276e2e345c22d43f7f6c8
/Assignment7/assignment7.py
a3aaaf781d5b96a7e3057881d5e2753bdbc9a345
[]
no_license
DracoHawke/python-assignments
4934b90a900fcb818a96e5b384b0f5c4e3654122
dc55c3d408528f9c7fda3a9f49f35823745ef377
refs/heads/master
2020-03-27T15:05:44.231519
2018-09-27T08:58:38
2018-09-27T08:58:38
146,697,902
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# Q.1 Create user defined dictionary # A.1 -> dict1 = {} i = 'a' while i != 'end': key = input('enter the key value for dictionary: ') value = input('enter the value for corresponding key: ') dict1[key] = value i = input('enter "end" to terminate input and print dictionary otherwise anything to continu...
[ "rohangaur071@gmail.com" ]
rohangaur071@gmail.com
1cdcc966c7223a9cfa8c81ecdf204574d63fe7a4
7edad6137e2c116cb755699358870243a4bc0547
/problem-4
8a4e5b6dd811d2f9894bed0b974449d02ec35b46
[]
no_license
madsky/euler
d24ec5cd61df6475e2046b7f23ba849ef41bfc5a
9b50172495c8f5146a5387903d9dd64bb5d2335e
refs/heads/master
2021-01-21T12:07:45.168348
2014-06-02T22:43:37
2014-06-02T22:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
531
#!/bin/python #my solution to Project Euler - problem 4 #Leigh Hall / 31-may-14 def isPal(n): s=str(n) r=rev(s) if s==r: return 1 else: return 0 def rev(s): r="" for i in range(len(s)-1,-1,-1): r=r+s[i] return r def problem4(): maxpal=0 maxi=0 maxj=0 for i in range(999,100,-1): for j in range(99...
[ "leigh@madsky.co.uk" ]
leigh@madsky.co.uk
4eecb6e498bf4fea0d66a70810d0aa3e8f22dcf8
740f5a675ef341400201befbcbd3ac4349f5f78d
/machine_simulation/simulation.py
2123049da1d356262437dba61a184b727e706dd2
[]
no_license
corallus/python-machine-simulation
437a6546e4d3c9612896118895974d923092e62e
ebab7bc2e69d8c3f42f8812ca17c4b72b3fcabe2
refs/heads/master
2020-12-24T13:36:54.732751
2015-02-15T20:24:35
2015-02-15T20:24:35
19,062,123
1
0
null
null
null
null
UTF-8
Python
false
false
9,485
py
__author__ = 'Vincent van Bergen' import simpy import sys import random class ComponentStock(simpy.Container): """ Implementation of a (S-1,S) inventory management system """ purchase_costs = 0 inventory_holding_costs_saved = 0 # the amount saved in_order = 0 last_order_at = 0 def _...
[ "v.vanbergen@gmail.com" ]
v.vanbergen@gmail.com
508232fc10f9ae7a36545436d2d503c7fdedf666
127f2b23551ebb8be8808bac0042f40ef606e6d8
/pytrack/faketrack/__init__.py
cb8238a7710548946d4399b7d1334ac72e2df418
[]
no_license
nwilming/DBSpulse
f5c9023bf974d74b01eeb46edf427e9d11f5f2fe
de78b6d29b253a84f99dafd6694c3580cae217d2
refs/heads/master
2021-06-09T11:51:06.022234
2016-12-13T13:11:31
2016-12-13T13:11:31
52,083,493
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from tracker import Tracker, PsychoTracker from display import Display from matlab import Matlab import Dialog import Trial randcb = None def randomint(max): assert callable(randcb) f = sys._getframe(1) return randcb(f.f_code.co_name, f.f_lineno)
[ "niklaswilming@fastmail.fm" ]
niklaswilming@fastmail.fm
67ac2b5654a7da84ac4eeca823fdd43d9dd43620
ef84582dca1c9aa6b4287ecd5f0cf389c6472811
/Draw_DET.py
c6c93ad417368095dcdb04ccd4a2b8e807eadfa2
[]
no_license
streamcc/DDH
f94ad8398751f37707d6fec2f1baa9624ecf6ee7
13bfa6673578702b56f89ef21411cf8dd591572f
refs/heads/main
2023-09-01T14:45:26.840942
2021-10-24T13:36:30
2021-10-24T13:36:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import numpy as np import matplotlib.pyplot as plt true_list = np.loadtxt("./true.txt") false_list = np.loadtxt("./false.txt") true_list = list(true_list) false_list = list(false_list) true_numbers = [] false_numbers = [] true_number = 0 false_number = 0 sum_true=len(true_list) sum_false=len(false_list) print(max(tru...
[ "noreply@github.com" ]
streamcc.noreply@github.com
bc1c48b97f092c0255fe9b2164e1bd3c42841783
6b814f17bdaaf02607d186eccb55804057ceebd0
/exp_config_generator.py
e4ad1adea2970bd0ca8477a611cfa211b289df40
[]
no_license
rahulm/neural-pruning-k-medoids
b3cad9f138bce9a89d1a150d86f0111a3743d551
f69d2e33534f6681737808260f7eafae2c5fcfcd
refs/heads/main
2023-01-31T04:14:04.023430
2020-12-17T05:41:14
2020-12-17T05:41:14
312,131,532
0
0
null
null
null
null
UTF-8
Python
false
false
2,402
py
import argparse import itertools from typing import Dict, List, Text from utils import exp_config_utils, general_config_utils import os def create_exp_configs(original_config_path: Text): exp_config: exp_config_utils.ExpConfig = exp_config_utils.get_config_from_file( original_config_path ) # Fo...
[ "rahul.malavalli@gmail.com" ]
rahul.malavalli@gmail.com
406aff2dd47e4854a0a12bc4541676ff87bbdb20
28d112d4998e1bb119fd3bc4fea40bb89594cb8c
/publication_ms/wsgi.py
c5a9834b1ff8289d229edc21c45e56510ea5cfd6
[]
no_license
gaganpandher/publication_ms
453f70db62c327d8147dc4ca44df9aae2474a051
0acba50e17585ef13635fa1728c720ad3b2588c1
refs/heads/master
2022-11-02T02:14:24.859544
2020-06-22T01:29:29
2020-06-22T01:29:29
272,647,567
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for publication_ms 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("DJANG...
[ "gaganpandher04@gmail.com" ]
gaganpandher04@gmail.com
d4689fd91d0d60904d4ff7bc8c871401c967c873
c43668bb8ae756227bf62917ade17f731ef989e5
/index.py
ac50b26f94f33475423307c013367713ffec53f0
[]
no_license
hcyvan/weibo
05f34e3729a54dd4f7578ab9f8547a9d9a1bebda
ea7ff5aaccbe3f3f2ebc07720c32a2028980f1c0
refs/heads/master
2021-07-09T19:50:36.045219
2017-10-11T06:36:03
2017-10-11T06:36:03
104,622,954
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
import logging from datetime import datetime from spider import search_users_by_char time_str = datetime.now().strftime("%Y-%m-%d_%H-%M-%S") out_file = './out/fans.{}.txt'.format(time_str) log_file = './log/myapp.{}.log'.format(time_str) logging.basicConfig(level=logging.INFO, format='%(asctime)s ...
[ "navycheng2020@gmail.com" ]
navycheng2020@gmail.com
3441e07664965c9249170134fc17bc89bdc90818
3b83d535b3d23a1fb2fb0bb59b881f88746f569e
/src/kd/tcases/dock/tc_dock_res.py
c0668e1e1499e9943a8d8bd623d18b548433c552
[ "MIT" ]
permissive
chiyukuan/ktest
4b58fa6e6b0a433fc805932d6f5f0d6ab720eaa2
05714b683940d88a8c0b3523a5245ca056a457da
refs/heads/master
2021-09-14T10:37:11.140153
2018-05-11T23:24:16
2018-05-11T23:24:16
109,751,384
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
#! /usr/bin/env python ''' ------------------------| Python SOURCE FILE |------------------------ The Description of this file. @copyright: Copyright (c) by Kodiak Data, Inc. All rights reserved. ''' from kd.util.logger import getLogger from kd.util.url import Url from kd.tcases.tc_base import TcBase from kd.t...
[ "raykuan@gmail.com" ]
raykuan@gmail.com
b5a15989120142cb0fbf680556aa0c7f4bc0d53c
eb3dd31bbe848049836a3bf49909544ad8cac7cd
/basicblog/templatetags/blog_extras.py
1fa941e0eb2ee7fb7cde38bcf2b499491967f5de
[]
no_license
samfrances/django-basicblog
baaf84d47aacf59fcd0c55254089180f5c977e32
8b08f14b3ab6a7b418d726d83638132727bb85ca
refs/heads/master
2021-01-10T19:09:06.983004
2013-02-23T12:44:15
2013-02-23T12:44:15
7,865,501
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
from django import template from ..models import Post, Category import re register = template.Library() @register.tag def get_blog_vars(parser, token): try: tag_name, arg = token.contents.split(None, 1) except ValueError: raise template.TemplateSyntaxError("%r tag requires arguments" % token.c...
[ "sam@samfrances.co.uk" ]
sam@samfrances.co.uk
e99a36b6d0264054275deca0ddede015c8573e3d
4811f9698ee0978f87ac9f721d8170b24cd84fad
/todoapp/views.py
987f7eb339c6bbb9c6704dc4b995977d46c38cc0
[]
no_license
Jagdish-crossml/django_week2
1bf123c82b9dd0244eeb8669677861f60e9e270d
ba524021b9bf767c80b2a56dd17ce03c4727c708
refs/heads/master
2023-07-11T06:07:00.616195
2021-08-16T03:22:48
2021-08-16T03:22:48
396,596,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
from django.shortcuts import redirect, render from django.http import HttpResponse from .models import * from .forms import * # Create your views here. """ Index function will fetch the tasks from Database """ def index(request): tasks = Task.objects.all() form = TaskForm() if request.method == 'POST'...
[ "jagdish@crossml.com" ]
jagdish@crossml.com
1467a1a9b4e1c71d47381ebb77694b86af7359c2
cc2d6ee884d0dfdda18117c9ed01feffffd293ba
/clientmailerproj/clients.py
a7ab02695aa3422db37e7ec395cb5942d714aa75
[]
no_license
ChristopherBacon/Client-Mailer
687d5e406a38cc1b835d57a1f31f3d86eb758e80
0f9d1ac9949d59dff779a22128e8aac6e2f38959
refs/heads/master
2023-02-28T23:57:46.115217
2021-02-10T20:59:00
2021-02-10T20:59:00
308,722,417
0
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
""" Create clients """ """ TO DO: include email history for clients """ import csv # clients go here from create client from list func clients_list = [] class Client: """ client class, create clients.""" def __init__(self, first, last, job, company, email, replies=0, searches=0): self.first = firs...
[ "chrisjbacon85@gmail.com" ]
chrisjbacon85@gmail.com
41454cd73206821b3b3e718b41c3af1d3eec5b53
901ed8a279a54db158ee4937cd527c84b0f2d134
/data/data.py
f35640be16d0c5085f9144ac0e09173f037c190e
[]
no_license
Headary/experiment-pipeline
e7358e17dc2530e265ed9195e53351ca983d6969
9c07bab4d4e9af2b3f37144f8e7c708c25c3c29d
refs/heads/master
2021-03-10T06:06:15.658027
2020-03-10T23:26:57
2020-03-10T23:26:57
246,427,026
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
import pandas as pd import numpy as np import locale import glob from math import * # Set to users preferred locale: locale.setlocale(locale.LC_ALL, '') tex = open('table.tex', 'w+') plot = open('plot/plot2.dat', 'w+') # data<délka>-<šířka> # ----- Calculating of values ----- def average(data,column): sum = data[co...
[ "adam@krska.com" ]
adam@krska.com
9006a9071155da1ddc1db98dd44bc61448f755f0
7374204324f6326663d12b3dd1fecc5bebb6854e
/algorithm-pattern/binary_op/136.py
8443de71e568342720ea162d84e376931fc2706a
[]
no_license
KevinChen1994/leetcode-algorithm
c18b58df398027078b0c0f468c4c873e9419433b
1bcf3206cd3acc428ec690cb883c612aaf708aac
refs/heads/master
2023-02-07T11:35:47.747207
2023-01-29T11:08:49
2023-01-29T11:08:49
230,386,123
2
0
null
null
null
null
UTF-8
Python
false
false
546
py
# !usr/bin/env python # -*- coding:utf-8 _*- # author:chenmeng # datetime:2020/7/17 13:51 ''' solution: 使用异或运算,两个数相同为0,不同为1;因为异或操作满足交换律,例如:1^2^2=2^2^1=0^1=1(0异或任意数是等于任意数本身) ''' class Solution: def singleNumber(self, nums): result = nums[0] for num in nums[1:]: result = result ^ num ...
[ "346521888@qq.com" ]
346521888@qq.com
96568a2484cc05bafe252ef8af385738b3594016
b742eb63f544aa93492821df89aab62dcc609e60
/sequence_impl.py
a489dbc77b826c9cc11ac933857bc13b84e93421
[]
no_license
kristjano20/max_int
73795bd463ffce6420b6b892422f4304fa1363fc
9b5a1ba3b02806b9629fa882bb864e208943f1c4
refs/heads/main
2023-07-22T04:43:22.355195
2021-09-02T16:06:19
2021-09-02T16:06:19
402,457,801
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
# Program asks for a number n and then prints out the first n numbers in # the sequence (1,2,3,6,11,20,37...) n = int(input("Enter the length of the sequence: ")) # Do not change this line counter_int = 3 numa_int = 1 numb_int = 2 numc_int = 3 if n <= 0: print("Input must be > 0") elif n == 1: print(numa_in...
[ "kristjano20@ru.is" ]
kristjano20@ru.is
1c9adc6b19d3dded47db83972f65a3272afc2935
93d576971a0d9ebdacfe4a86f3e9c60b86b63e37
/config/settings/base.py
e04bdec543a8a380870b2a3f80333a48203ea3ad
[]
no_license
mayukorin/blue_temporary
c9882012f37f4f99b713f3ff183837bbd77a9183
1a5b22934d05e622a27e8462277ad8bfcaa084f4
refs/heads/main
2023-02-23T08:07:27.708626
2021-01-31T11:04:28
2021-01-31T11:04:28
323,584,183
0
0
null
null
null
null
UTF-8
Python
false
false
3,655
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "19t7b2fx@gmail.com" ]
19t7b2fx@gmail.com
75dadc99125ec5f1f727d17bc8f11e76a7853c99
61a67795a519453fb8507766067c9cc7915317d4
/zinstance-skel/bin/instance
a9cbdcfc4e95dbb006f4a24f0b4230d1e48b3e99
[ "MIT" ]
permissive
alexdo/docker-plone-3.3
42e6a1865b04e559b9d0e3309577390880fbecf6
ca2438161de90670dae8983d64eb26480cd3c7d8
refs/heads/master
2020-05-05T08:40:50.558385
2019-04-06T18:51:50
2019-04-06T18:51:50
179,873,398
0
0
null
null
null
null
UTF-8
Python
false
false
7,320
#!/plone/Python-2.4/bin/python import sys sys.path[0:0] = [ '/plone/buildout-cache/eggs/Plone-3.3.6-py2.4.egg', '/plone/buildout-cache/eggs/plone.recipe.zope2instance-3.10-py2.4.egg', '/plone/buildout-cache/eggs/zc.recipe.egg-1.2.2-py2.4.egg', '/plone/buildout-cache/eggs/mailinglogger-3.3.3-py2.4.egg', '/plo...
[ "alexdo@alexdo.de" ]
alexdo@alexdo.de
86e584e444f05d605b4feec61fba3589523bc176
22a15d0e78f4f0d45ccb7fd2587b0f9f5467b1a5
/tasks/migrations/0002_auto_20190925_1253.py
593c1285e04fb9c8d212fca65a56c300670eb1d7
[]
no_license
bergpb/curso-django-youtube
15c85241319467dc68f965aeb78944a70a39e0a7
50374b1949df0e42c5be21fc9161bb676f6263a1
refs/heads/master
2022-05-05T21:19:04.684214
2019-09-26T02:12:22
2019-09-26T02:12:22
210,650,709
0
1
null
2022-04-22T22:26:56
2019-09-24T16:37:07
Python
UTF-8
Python
false
false
416
py
# Generated by Django 2.2.5 on 2019-09-25 12:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0001_initial'), ] operations = [ migrations.AlterField( model_name='task', name='done', field=m...
[ "lindembergdepaulo@gmail.com" ]
lindembergdepaulo@gmail.com
cf253b4a79d908574d1f8ec1b551a5b8cb92373c
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/546/original/546.remove-boxes.0.py
4414c0fc7ebe8b59905309e520e365b774e2b427
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
1,077
py
# # @lc app=leetcode id=546 lang=python3 # # [546] Remove Boxes # # https://leetcode.com/problems/remove-boxes/description/ # # algorithms # Hard (37.29%) # Total Accepted: 8.4K # Total Submissions: 22.4K # Testcase Example: '[1,3,2,2,2,3,4,3,1]' # # Given several boxes with different colors represented by differen...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
ac652e8378325574942814d63cdb893fa45ebe4b
da50966e19f355308674f58e5cdb8a8b2a093d2f
/NewPad/test_student_info.py
debcb20fbad2caa3b5e9b8ca88ba11ea83615cb3
[]
no_license
Hanlen520/YoushiInterface
ce0253325f0059e6733ea2bcc6e5964cad0db597
82ce4e50d85bd241856cf5a3e4a709bc0ce72b86
refs/heads/master
2020-04-03T10:31:27.097989
2018-08-07T07:18:13
2018-08-07T07:18:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import requests import json from NewPad.PubNew import TestLogin from copy import deepcopy class StudentInfo(TestLogin): play = { 'token': 'MPjAED5_OUAUO0O0OAO0O0OB', } def test_studentInfo_case(self): code = requests.request("POST", url=TestLogin.student_info, headers=TestLogin.headers, ...
[ "muzi379178228@qq.com" ]
muzi379178228@qq.com
014cc680e5166aca9a5e8d59a1954d04e1b5f948
175e4e031471e5cdbc9bcaee2df10f5ec44871d3
/LESSON2b/.history/backend/app_20200608192133.py
7e3f3287df3fda92cff8bcebf4818814b899ee30
[]
no_license
hiyacins/uma_study
c329d29a9c3899ab4feca21b9c47ef546b69b0bd
067e66f258a0c89f7670c645dd7c40feee8536fa
refs/heads/master
2023-01-23T06:40:12.435047
2020-06-17T15:59:34
2020-06-17T15:59:34
239,077,726
0
0
null
2023-01-06T08:36:26
2020-02-08T05:56:52
Python
UTF-8
Python
false
false
16,842
py
# from flask import Flask, render_template from HiyaLib import * # DBのテーブルを表現するクラスの基底クラス class DBTable(): # columns と column_names から要素をひとつずつ取り出したのがvalue , nameとして、 # それを 生成したDBTable派生型のオブジェクトに setattr(object,name,value)する。 # columns:カラムの値が格納されている。 # column_names:カラム名が格納されている。 # 返し値:recordオブジェクト...
[ "hiyacins@gmail.com" ]
hiyacins@gmail.com
90e8547b51a151768904a01140959d550046472a
29103f8394d3dccc40b862ec86c571e67abc6f97
/mid-term/homework(9).py
e993c2fb91fe129495d2ad5fa42d37c622a72c24
[]
no_license
wang-C109156201/python20
3514dee2e0c8d5f6f51c77bcd8185fa86375b041
3289f2f3c00eeee932e4c703d0b805a1e70b6b2c
refs/heads/main
2023-04-25T08:27:33.838187
2021-05-08T14:59:12
2021-05-08T14:59:12
365,517,050
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
str1=input("輸入s1為:") str2=input("輸入s2為:") a=[] b=[] c=d=0 for i in str1: a.append(i) for k in str2: b.append(k) print(a) print(b) for i in str1: c=b.count(i) if c==1: d=d+1 if d==len(str1): print("YES") else: print("NO")
[ "noreply@github.com" ]
wang-C109156201.noreply@github.com
2cf45b3d2a4735668005b263d62b610abb28794a
d897c2bc4ba9a84e7e8a2fe3e998d78cd116f920
/max_seq/gen/generatore
64aabc5dc9d2141313929567a4aedb167fe56ad7
[]
no_license
romeorizzi/problemsCMS_for_LaboProg
8907622744bc89752391024f24025a7e9706501b
027b1b204efe602461e93d8b1c194a09eb6526cd
refs/heads/master
2020-04-03T17:33:52.384915
2020-03-25T07:10:17
2020-03-25T07:10:17
155,449,755
0
0
null
null
null
null
UTF-8
Python
false
false
745
#!/usr/bin/env python2 from limiti import * from varie import * from sys import argv, exit, stderr import os from numpy.random import random, randint, seed as nseed from random import choice, sample, shuffle, seed as rseed usage="""Generatore di "prova". Parametri: * N (numero) * S (seed) Constraint: * 1 <= N <= %d...
[ "romeo.rizzi@univr.it" ]
romeo.rizzi@univr.it
cf3ff688eca559e72b7a03c95a74663b58dfad04
83a506a501561602ad3b259341225ddfbddab160
/GameServer/socket_server/server/factorys/tornadoFactory.py
287f7c09b26205ca9792a3d77952117fda7e9526
[]
no_license
daxingyou/SouYouJi_Game
9dc5f02eb28b910efb229653a8d0bffe425a7911
7311a994c9aba15b7234331709975ebc37e8453d
refs/heads/master
2023-03-28T01:36:48.955107
2020-04-05T01:24:17
2020-04-05T01:24:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,412
py
# -*- coding:utf-8 -*- # !/bin/python """ Author: Winslen Date: 2019/10/15 Revision: 1.0.0 Description: Description """ import traceback import tornado import tornado.httpserver import tornado.ioloop import tornado.log import tornado.options import tornado.web from typing import * from define.defi...
[ "ronnyzh@yeah.net" ]
ronnyzh@yeah.net
c12c55f82b6277adbe9ad4372a067f642574138b
7a81c418161a8b422a92e1d206913ca2a13b9b39
/1bspremkt21NOCRYP.py
5642ce575e687de8b9069f29ff55b21882e857ee
[]
no_license
malcolm1232/1.-Raw-Data-Retrieval-I-
1f57924cbf306e29217e8dbe8dfa80f1dea61873
d3e48bc53e80691efcf26bf9ae7311532e6429a6
refs/heads/master
2023-03-01T02:13:20.952681
2021-02-15T06:14:49
2021-02-15T06:14:49
278,340,194
0
1
null
null
null
null
UTF-8
Python
false
false
52,669
py
# output1 = "/home/ubuntu/AWS premkt/{}".format(input1) import pytz from decimal import * from csv import writer import bs4 as bs # import requests import pandas as pd from decimal import * import datetime from urllib.request import Request, urlopen import numpy as np # import matplotlib.pyplot as plt impor...
[ "noreply@github.com" ]
malcolm1232.noreply@github.com
254543d07c137d2e076f8fd1be8ead28a8573056
60ac005ed7b32e44e191534d45676ae6f4321820
/cap7_7.3.py
05e82ec7b63bfaad9202aa6a439b8a384c8c8bcf
[]
no_license
andressamarcal/curso_intensivo_python_book
e469a87a08396d2bf9e0ed7f0b343c1453476f81
f74aa3d59a9b3787a84663520925a2bbed343527
refs/heads/master
2023-02-18T02:05:28.220272
2018-07-10T14:26:50
2018-07-10T14:26:50
125,061,701
9
9
null
2023-02-03T12:58:18
2018-03-13T14:09:37
Python
UTF-8
Python
false
false
126
py
n = int(input("Digite um numero: ")) if n % 10 == 0: print("É multiplo de 10") else: print("Não é multiplo de 10")
[ "andressagb@gmail.com" ]
andressagb@gmail.com
1ace05293bc68c108df6a0e23d13121e40e988e5
67cf590c0903420bef81f12d4f3b3674a0db1e64
/piasbenchmark/models/selectors/deslib/desknora.py
140e8de9740dcd7b1b05e05e80a341768d98abd3
[]
no_license
eddiebergman/piasbenchmark
367659dcc00ad23d4dc549955ee3f20b93622978
198a99f7be2faeed9d2ffcd60d300ef64aeff305
refs/heads/master
2023-04-28T20:39:54.614654
2021-05-17T12:46:59
2021-05-17T12:46:59
317,196,114
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
from typing import Any, Dict, Iterable, Tuple from deslib.des.knora_u import KNORAU from .base import DESSelectorModel class DESKNORAUSelectorModel(DESSelectorModel): def __init__( self, name: str, model_params: Dict[str, Any], classifier_paths: Iterable[Tuple[str, str]], ) -...
[ "eddiebergmanhs@gmail.com" ]
eddiebergmanhs@gmail.com
9a4c373583a72b58bb98284acbd08d5f1b5e8b95
f62c8234eff58cb4c12b255564e3e5e80d80dd44
/MoveCube.py
ab02a20463448e0f7a183f9e142f5033d28f14ae
[]
no_license
yashjha123/RubiksCubeSolver
b651b4c5839dd01aa101c844b9294d5b670c0f14
c1be0fd3d7b32b16a488fe07762df07773ba6f4d
refs/heads/master
2022-11-22T06:43:31.679450
2020-07-21T07:39:55
2020-07-21T07:39:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from rcube import * cube = np.zeros((12,9),np.int32) cube = init(cube) print(cube) check = np.zeros((12,9),np.int32) check = init(check) #keystrokes update(U(Ri(Ui((R(cube))))))
[ "breakdownninja@gmail.com" ]
breakdownninja@gmail.com
ac7db187efbe323fedbbcc02c5b41ba4416264b0
57ec8eff01275cdae43243900a422b87836b807b
/arithmetic.py
bc77393ea397e581d0238d878fc231f7fe59759a
[]
no_license
Ihyatt/calculator-1
15624b997c1c19a6bf30ac422f55669838ea7115
43f5d63eb81398aff3cf10e3d2d77c4296bdddc8
refs/heads/master
2021-01-10T16:29:56.063120
2016-04-06T19:54:49
2016-04-06T19:54:49
55,635,046
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
def add(num1, num2): """ This is function will add two numbers """ return num1 + num2 def subtract(num1, num2): """ This function will subtract two numbers """ return num1 - num2 def multiply(num1, num2): """ This function will multiply two numbers """ return num1 * num2 def divide(num1, num2): """ This...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
f2f2a7316f41e31019494e9057e0c5e91b6b7285
117f066c80f3863ebef74463292bca6444f9758a
/api/4min/search/python-flask-server/swagger_server/test/test_search_controller.py
81b88eb6a8b94cfdb820b62714ac0fb1f63005a0
[]
no_license
cottrell/notebooks
c6de3842cbaeb71457d270cbe6fabc8695a6ee1b
9eaf3d0500067fccb294d064ab78d7aaa03e8b4d
refs/heads/master
2023-08-09T22:41:01.996938
2023-08-04T22:41:51
2023-08-04T22:41:51
26,830,272
3
1
null
2023-03-04T03:58:03
2014-11-18T21:14:23
Python
UTF-8
Python
false
false
1,402
py
# coding: utf-8 from __future__ import absolute_import from swagger_server.models.search_request import SearchRequest from swagger_server.models.search_response import SearchResponse from . import BaseTestCase from six import BytesIO from flask import json class TestSearchController(BaseTestCase): """ SearchCon...
[ "cottrell@users.noreply.github.com" ]
cottrell@users.noreply.github.com
57fbb57ed0fc1714ab674796fb82767b44df6fa4
a74053a5ec5e536e46c5536dc4bcc155e1e8954c
/apps/users/forms.py
9b7fef4e4c03643bfbb079dfc92cf44250b37c45
[]
no_license
SCareyGit11/registration
2f8ed3beff8167506812566a39262143a2ee3779
38791fc0ea948b2b2a756c08e4c515e7bf77aa47
refs/heads/master
2021-03-13T00:22:46.398320
2017-05-16T14:47:51
2017-05-16T14:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from django.forms import ModelForm, PasswordInput from .models import User # Create the form class. class RegisterForm(ModelForm): class Meta: model = User fields = ['first_name', 'last_name', 'email', 'password'] widgets = {'password':PasswordInput}
[ "seanv74672@gmail.com" ]
seanv74672@gmail.com
e248ad8d08ec0645a889efe843ba27b15bfc970b
570533db225b6da31951c9b0f666b2632f835088
/Blogging/Blog/views.py
22a3c8579ab5afde06930879c69fc85f0e19c4cf
[]
no_license
chandra122/MyAppSample1
5f8be312824c5371d3b23ab4a98d4a75ef95cbe8
e1ce1b93081e758feccb52f6bb91d884b781251e
refs/heads/master
2021-05-29T00:31:00.993313
2020-04-09T07:14:22
2020-04-09T07:14:22
254,295,810
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
from django.shortcuts import render from django.http import HttpResponse from .models import Post posts = [ { 'author' : 'chandra Sekhar', 'title' : 'Blog Post 1', 'content' : 'First Post', 'date_published' : 'April 08 2020' }, { 'author' : 'Revenger', 'title...
[ "sekharchandu474@gmail.com" ]
sekharchandu474@gmail.com
0d900991bc446f3158ec0862abdcd1a1e5ac3075
2d6caab3fe4d22def3a6fe7bdee9d07aba9685bc
/cv01.py
1ecc33cc7c21d35f76281d411cff65c8675a5af1
[]
no_license
thomaslao/PythonProject
5be8cc3a527a278cdf040b5ff54eec6dd7fa9eb1
b87c261ba0e73a3cc8f5c87032da1b3780d28843
refs/heads/master
2023-04-03T01:54:27.617311
2021-04-13T13:31:30
2021-04-13T13:31:30
239,422,935
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
import cv2 img=cv2.imread("images/thomas.jpg") cv2.imshow("show the images",img) cv2.waitKey(0) cv2.destroyAllWindows()
[ "thomaslao@gmail.com" ]
thomaslao@gmail.com
3fcb70f381fd894caf37ae7bd1f3e137dfd63def
866a9bdc49ce7b8facec7e43b5ea1786a2b486f8
/class.py
b5a6d446406c55f9229221814498acaca0191201
[]
no_license
Hub9997/crash_course
d1313b36e2027f4ba64ce8a1027aebbcd6b32def
ca2f083b08f076274e033ecb932adfe40a8531c4
refs/heads/master
2023-04-20T22:20:24.208125
2021-05-06T23:26:52
2021-05-06T23:26:52
291,659,390
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
class Dog(): def __init__(self, name, age): self.name = name self.age = age def sit(self): print(self.name.title() + " is now sitting.") def roll_over(self): print(self.name.title() + " rolled over.") my_dog = Dog('Amba', 11) print("My dog is " + my_dog.name + ".") print(...
[ "hrubetex@gmail.com" ]
hrubetex@gmail.com
50653c532555d8811efa974617dd0ed33ac6fae7
5d594cb1789a57051073ad855655a37f1c1306ed
/venv/Scripts/pasteurize-script.py
3fb2b21d1808b9284528199708401aa46964a022
[]
no_license
JaviBL8/HACKATHON-ZERO
aec15df47e622ef4b1fc0c7dbf02df39496830d7
a8951c8830aa5dc35e9df5cc4a0ee3ae4505b39e
refs/heads/master
2022-07-17T05:47:29.623444
2020-05-17T08:24:34
2020-05-17T08:24:34
264,384,904
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
#!c:\users\javib\pycharmprojects\hackathon-zero\venv\scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','pasteurize' __requires__ = 'future==0.18.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "javibl8@correo.ugr.es" ]
javibl8@correo.ugr.es
cb4bee84110b580c390815e435c430ed3a233fd9
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/tests/unittests/test_norm_all.py
c65bff3a7bb397ea896da928581078f9b6a1e6c5
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
21,615
py
# Copyright (c) 2020 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" ]
jiweibo.noreply@github.com
e0f79dd3ba1f01e5db39cda4a76a7c57d089b187
c3efb603b8589d7f14f6f3506bf38ccf4d526b09
/src/apps/getfile.py
0e3ddc7f02b53cab7f8c0cdf782e82eb39815090
[]
no_license
wsbespalov/cve-new
59f614c64e1733c8d40aa989fa552ba26968dbf6
98aad0bc3dfce5c4a45b3ad38d31812e5c640bda
refs/heads/master
2021-08-11T09:29:02.947037
2017-11-13T09:51:53
2017-11-13T09:51:53
109,367,460
0
1
null
null
null
null
UTF-8
Python
false
false
1,171
py
import os import sys runPath = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(runPath, "..")) import urllib.request as req import zipfile from io import BytesIO import gzip import bz2 from settings.settings import Settings st = Settings() cfg = st.load() def getFile(getfile, unpack=True): ...
[ "ws.bespalov@gmail.com" ]
ws.bespalov@gmail.com
1d6d82c392e13ec2807c3714329b59e1f4f6a975
51917e3e4d4470829f8e772a32c80b9be4e718ed
/Shikin_sokin3.py
b41a7510ed38b4e25915f779fbc3488c5958ac31
[]
no_license
rtochika/Python_Src
7da3b05255ba2fd378234b1b95a0439c5e1d2236
2f1833f9efaee8db88fe1ee0abc686909b370655
refs/heads/master
2020-05-31T20:44:38.657452
2019-09-05T05:00:30
2019-09-05T05:00:30
190,481,924
0
0
null
null
null
null
UTF-8
Python
false
false
8,953
py
import pandas as pd import datetime import jpholiday import openpyxl import smtplib import csv import smtplib import urllib.parse from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.utils import formatdate #----------------------------------------------------------# # #-----...
[ "rtochika@eg.keihin.co.jp" ]
rtochika@eg.keihin.co.jp
422060eb2fb068005373acbfbe7cfb56b7aa998f
6a99808661f5b550e292aef9eac3aa2d45549d6d
/bamboo/models/album_attachment.py
3eeef22fc0d323a46485b8431c7dc4eb3ddd504e
[]
no_license
satokadumasa/BambooPiSv
9b8fe62adffc26dd38b0d90ed100d4fc1b4628ff
8381dbb69b15cbf6ec9f175816d5324a519ce4bc
refs/heads/master
2020-07-27T12:18:21.297673
2019-09-24T22:08:58
2019-09-24T22:08:58
209,086,941
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
''' Created on 2019/09/16 @author: satoukentadashi ''' from django.db import models from django.utils import timezone from bamboo.models.album import Album from bamboo.models.attachment import Attachment class AlbumAttachment(models.Model): album = models.ForeignKey(Album, verbose_name='アルバム', on_delete=models.CA...
[ "satoukentadashi@satoukentadashinoMacBook-Air.local" ]
satoukentadashi@satoukentadashinoMacBook-Air.local
c1eab8a542a093d95733f36b6df987b5b154cadd
bf4c9c3dc1a80e20fba133b95e5248016a2cfe1f
/hospital-master/hospital-master/users/migrations/0011_appointments_status.py
eccf02c989fdb021eb5581b65681ec52cacdc2fe
[]
no_license
sandraomanakuttan/hospitalproject
6555d6fcf943d9a3df11d68bb37040778ee2d7d9
dbb2a4a9a90a98d3cc7f622f61d4ec5139629061
refs/heads/master
2023-05-31T21:56:50.632428
2021-06-25T11:44:16
2021-06-25T11:44:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
# Generated by Django 3.0.6 on 2020-05-24 12:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0010_auto_20200524_1208'), ] operations = [ migrations.AddField( model_name='appointments', name='status', ...
[ "sandraomanakuttan22555@gmail.com" ]
sandraomanakuttan22555@gmail.com
ba78b4cd8c3caebd7614ac96282bbc8b23cb1676
5974085075c30b2319fce0abc77863243e8a8508
/person/views.py
44e9cdaf14971275480d1e5d9cbfc524df23bc8c
[]
no_license
Abhishek-redintegro/blog-person-master
b9f64efc353fe0fb09d5689dd3e6da643864c33c
672c24e0f356347da60fcf47795d283d3319685a
refs/heads/master
2023-01-11T20:11:31.512359
2020-11-11T12:06:21
2020-11-11T12:06:21
311,958,505
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def hello_world(request): ''' hello_world : returns HttpResponse Args: request : request_url ''' return HttpResponse("Welcom To Person Page")
[ "abhishekbhansali07@gmail.com" ]
abhishekbhansali07@gmail.com
9ec2988af4659074299c3cd9d42a5c121aa3ea33
158287465027a266a0a62cc5b84bd810057fcfe8
/nasa/csv_gen.py
940219e6ffae0f9d11c99a9139c1bac3fc88eecc
[]
no_license
scintilla-aircheck/aircheck_com
8a114c02ba5703e62d5d47959ff0e362bbeba534
82517312b3ef7c84506a0e7ece11b86c9fbb3d21
refs/heads/master
2021-01-14T09:36:50.705561
2016-04-24T19:30:03
2016-04-24T19:30:03
56,723,659
0
0
null
2016-04-28T21:38:14
2016-04-20T21:56:38
CSS
UTF-8
Python
false
false
44
py
from .models import DiscretizedDataPoint
[ "cdelguercio@gmail.com" ]
cdelguercio@gmail.com
4e45cc7e085b1b3a462c830619a6410b3b881205
42256661ca5ba3739361c1de3468be109ff328ea
/executionsdk.py
ead65e17577b6caf78ef2f400a0f52fe1ba015bc
[]
no_license
ronzarsky/batches_sender
7b8a93a8615068b0f2afb922aa1fa1cb357e46da
7502ecc84e731ab2cb4cc60b3304d482ad797716
refs/heads/master
2022-12-01T16:05:24.908121
2020-08-11T17:55:27
2020-08-11T17:55:27
286,790,462
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
class ExecutionSdk: @staticmethod def execute_orders(orders:list): orders = orders.copy() for order in orders: order.status = 'approved' return orders
[ "ronzarsky@gmail.com" ]
ronzarsky@gmail.com
6f36599ef78f18e2bf9387413aea9b48e577171d
2718fb0586d94a95a971b1eb02b32f1a9725990e
/Version 2 2D_Array/Version 2.1/rabbitScript.py
93dd8bbcbca24c666fbc6b80d106ab132ce75550
[]
no_license
ACatFromPoland/AIEcosystem
b32395dd74c6d968602ae32387a8d70c4cc94f5d
8466ec879f5377503228d565cfd238d894c8c9d3
refs/heads/main
2023-08-02T21:23:33.342544
2021-10-09T17:37:04
2021-10-09T17:37:04
320,556,180
1
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
import time import random import AiController def Rabbit(Entity, MapArray2D): # , MapArray Died = False rabbitX = Entity["posX"] rabbitY = Entity["posY"] rabbit_food = Entity["food"] rabbit_state = Entity["state"] rabbit_eyesight = Entity["eyesight"] R_AteFood = Entit...
[ "noreply@github.com" ]
ACatFromPoland.noreply@github.com
a54c77a72786e770786d0495013fc4126df15be6
15a8f023523d2b0dd7986f088a9c6b21a1c04bf7
/000gcj-2019/round00-forgone-solution/solution.py
12efb1893a1f3f8480c6b503d32405ddf7191eb1
[]
no_license
imranariffin/coding-practice
644490eaaada929e171116c06a534a4ba1986845
f10c83858967287ffabc4f452aacd681c321b99b
refs/heads/master
2021-10-07T23:06:08.696518
2021-10-03T21:36:53
2021-10-04T02:58:43
66,497,124
6
1
null
2020-01-21T01:52:00
2016-08-24T20:27:49
Java
UTF-8
Python
false
false
240
py
def forgone_solution(n): a = int(n.replace('4', '3')) return a, int(n) - a if __name__ == '__main__': t = int(input()) for i in range(1, t+1): a, b = forgone_solution(input()) print(f'Case #{i}: {a} {b}')
[ "ariffin.imran@gmail.com" ]
ariffin.imran@gmail.com
ab6921cf9dc9777683ab5225ec7c977dfb963a75
5c09a25f0b401d525a0d6023399e4910d8a8c487
/students/darrell_h/lesson_6/kwargs_example.py
fad6928138d9b883ebc23c3a629671ee6900a810
[]
no_license
UWPCE-PythonCert-ClassRepos/Wi2018-Online
d6183f47e5b37b6ba56e2310d252334cb6024c9e
8c32086bf30de8decdc8e5f43cfa1344d5747200
refs/heads/master
2021-09-11T13:26:31.817582
2018-04-07T20:11:20
2018-04-07T20:11:20
115,212,113
0
38
null
2018-04-07T20:11:20
2017-12-23T17:47:10
Python
UTF-8
Python
false
false
958
py
""" *args and **kwargs in python explained https://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/ """ def test_var_args(f_arg, *argv): print "first normal arg:", f_arg for arg in argv: print "another arg through *argv :", arg test_var_args('yasoob', 'python', 'eggs', 'test') def gr...
[ "dahart@adobe.com" ]
dahart@adobe.com
18c19280678a7f743aa159654ef24aee0b914149
a3d87ee7945c70c364b78f7ad97b989a2edb4223
/loops.py
8a56ec3df9b9d387edb151c1bf2992cb8cffb4c9
[]
no_license
SHREYASP21/PythonScripts
2ff7889c2993a4acf094865882b63867cd1de7f3
89a4bd001f61fc2769a6b161e460566f346662e0
refs/heads/main
2023-05-10T22:46:48.465043
2021-05-31T11:01:23
2021-05-31T11:01:23
372,475,403
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
#name=input("enter your name:") name='Floccinauciniloare' new_name ='' vowels='aeiou' for i in name: if i not in vowels: new_name += i print(new_name)
[ "noreply@github.com" ]
SHREYASP21.noreply@github.com
198a939ae13d0483063cb6bf234a0da2aceda2b7
ffaf61530fc7972cddda07cf28e0a23748d5004e
/books/migrations/0002_book_author.py
939f5ef72bfc9852bb121a8477eeec2ccc29efc9
[ "MIT" ]
permissive
mazen23/Simple_Django_CRUD_App
beaaf367e33af66da8e3062a43224b64691a1a23
d911a764c865499f9663ff4fedf0bb0401b1cb8c
refs/heads/master
2020-03-26T17:30:40.582279
2017-08-08T19:59:52
2017-08-08T19:59:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-26 06:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('books', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "ShellyNYusuf@gmail.com" ]
ShellyNYusuf@gmail.com
6d8d842f4e3781557e9a0f0228ad5e4730e0d407
b436c8dfa4598adc2e2bb36322f728aee9840d81
/zipper/migrations/0001_initial.py
7a29dcd41ffe6d4f8a3e13c497601a33ca8d1947
[]
no_license
makriss/URL.zip
1485a0f9958d97fff3dc4f4292916e05fb85f0ab
0f642d0cebf738e520f1792bf924c3f19cccb70b
refs/heads/master
2022-12-12T02:50:54.299073
2020-09-03T06:30:21
2020-09-03T06:30:21
291,436,151
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
# Generated by Django 3.1 on 2020-08-30 09:37 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UrlMapper', fields=[ ('id', models.AutoField(...
[ "mayank.shrivastava@draup.com" ]
mayank.shrivastava@draup.com
27753a69b538bba511529fe8818cc26e03100dad
afacebd92006eddccb14862aaa3797cbca62b560
/api/apps/staff/migrations/0001_initial.py
7a43d8a707fa2b515379d8c0140dc5ed2e1139b1
[]
no_license
tbson/kpkg
8998218264f974d0a8468942e7c51de114a66784
e7fa0b1755898710d0e678c75267aeb37a7523d0
refs/heads/master
2022-12-13T13:54:00.247060
2019-03-24T04:42:24
2019-03-24T04:42:24
129,458,706
1
0
null
2022-12-08T22:32:05
2018-04-13T22:13:04
JavaScript
UTF-8
Python
false
false
1,098
py
# Generated by Django 2.0 on 2018-05-13 07:30 from django.db import migrations, models import apps.staff.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Staff', fields=[ ('i...
[ "tbosn87@gmail.com" ]
tbosn87@gmail.com
72a8038237997db76cc2e4460a1028c81b75aac6
202de5b6909177a0be6a01b557394bef303a99a4
/feinkost/__init__.py
4e90849d6ff0f47842a6365d232089aed6c7ee7f
[]
no_license
leonhandreke/feinkost
812c24f1726598d1171f3018bede7c10d8b1e192
ce47696b37bd44ef785bb554e98877933561a519
refs/heads/master
2021-01-06T20:46:59.405645
2014-12-13T18:01:09
2014-12-13T18:01:09
27,967,635
1
0
null
null
null
null
UTF-8
Python
false
false
323
py
from flask import Flask from flask.ext.mongoengine import MongoEngine from flask.ext.bootstrap import Bootstrap from flask.ext.mobility import Mobility import settings app = Flask(__name__) app.config.from_object(settings) Bootstrap(app) Mobility(app) db = MongoEngine(app) from feinkost import filters, views, mode...
[ "leonh@ndreke.de" ]
leonh@ndreke.de
a8d8ae74dd2ebf87cd66fe50fa1bcae0a7f59494
4e7763e7ded487abaf8642e9432800ed956c0a66
/db/data_source.py
cb9083b47398ff34fe95fe7bcd89f1c4d2105656
[ "Apache-2.0" ]
permissive
flaght/nirvana
6cae980e639a10182f227001bb799d20a23db895
dc92a115c1a5eacb415acd5e9256fb7e34d31efe
refs/heads/master
2021-09-10T15:08:46.911414
2018-03-28T00:02:03
2018-03-28T00:02:03
116,196,249
0
0
null
null
null
null
UTF-8
Python
false
false
2,615
py
# -*- coding: utf-8 -*- import pandas as pd URL = 'URL' DTYPE = 'DTYPE' OBJ = 'OBJ' HOST='HOST' PORT='PORT' DB='DB' AUTH='AUTH' SQLALCHEMY = 1 REDIS = 2 MONGODB = 3 __DNS = { 'DNDS':{ URL:'mssql+pymssql://reader:reader@10.15.97.127:1433/dnds', DTYPE:SQLALCHEMY }, 'PI_FCDB':{ URL:'mssql+pymssql://read:re...
[ "kerry@miglab.com" ]
kerry@miglab.com
6a2271851da9a4bd341bde931f2a28406cfaf4b2
741333ced9ea1b326997dc031e5de27529bad04a
/glue_vispy_viewers/extern/vispy/scene/cameras/_base.py
f3829d981ac94a9eacfd344537214be1e3f3a7af
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
jzuhone/glue-vispy-viewers
f1b7f506d3263c4b0c2f4032d4940b931b2c1ada
d940705f4ba95f8d7a9a74d37fb68c71080b490a
refs/heads/master
2020-06-20T19:10:02.866527
2019-06-24T11:40:39
2019-06-24T11:40:39
197,217,964
0
0
BSD-2-Clause
2019-07-16T15:14:53
2019-07-16T15:14:52
null
UTF-8
Python
false
false
1,263
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. from .base_camera import BaseCamera from .perspective import PerspectiveCamera from .panzoom import PanZoomCamera from .arcball import ArcballCamera from .turntable import Turn...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
cab4a9d6716a059e3ff8ac4b8f6e8a57189175fe
662b4c3e71ec029d2759a03fb55705cbc02bd44e
/InvenTree/InvenTree/management/commands/prerender.py
28f4b21f151b1a6ddf078e6656f076640c2dd603
[ "MIT" ]
permissive
MedShift/InvenTree
a6d5bcf9db9141e1a85ce2ba740205faafb513d2
2a0ea66f6591756eeb62da28d24daec3ad4209e8
refs/heads/master
2023-07-03T15:04:36.624613
2021-08-09T23:34:40
2021-08-09T23:34:40
379,310,644
0
1
MIT
2021-08-09T23:34:41
2021-06-22T15:06:45
JavaScript
UTF-8
Python
false
false
2,182
py
""" Custom management command to prerender files """ from django.core.management.base import BaseCommand from django.conf import settings from django.template.loader import render_to_string from django.utils.module_loading import import_string from django.http.request import HttpRequest from django.utils.translation i...
[ "matmair@live.de" ]
matmair@live.de
fe7cd168817cc312183a1af654bcd1bf08017265
387b70f6e5a78fcc8ce332b042ed22e982b95796
/src/network/netpacket.py
a0555b10ee63af22517bc40ddf9ab40de0814155
[]
no_license
B3W/Endpoints
92a1947b52abfdc00434c22175e983e72324da32
812d9fded6492655cb1af729dae915784b74f642
refs/heads/master
2021-06-27T02:18:01.568584
2020-12-21T22:58:32
2020-12-21T22:58:32
194,966,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
""" Module defining Enpoint network packet structure. """ class NetPacket(object): """ Structure for sending data between Endpoints """ def __init__(self, endpoint_src, endpoint_dst, msg_payload): """ 'Constructor' for NetPacket :param endpoint_src: Source node GUID as int ...
[ "westieberg@gmail.com" ]
westieberg@gmail.com
04319299d0bb24bf2a4e426d67d7a39683b6599f
61a2168d3f0082601e872006876e8b86707552df
/organizer/views.py
83664a75aef4a650a6f0cdc69162bb4bdf41b48c
[]
no_license
vikramBhavsar/Event-Recommendation-System
03363c210c7c80160f199e7ee1700131fd65a417
634fc9f335f4c4e72be29c5696d5951cd4e6fbd4
refs/heads/master
2023-05-12T08:27:39.745066
2021-06-04T05:21:46
2021-06-04T05:21:46
332,133,718
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
from django.shortcuts import render, redirect from organizer.forms import OrgForm from organizer.models import Organizer from events.models import Event_category_model # Create your views here. def org(request): if request.method == "POST": form = OrgForm(request.POST) if form....
[ "vikram.bhavsar@somaiya.edu" ]
vikram.bhavsar@somaiya.edu
ab6110e6359bf3777be2e07150cf47a2a217a3d3
f838952b7689e46a247139aced0dbd3c78238dec
/homework_3.py
e201c33b35cf26f2027773ef061caef52dbf9465
[]
no_license
OlexandrDobra/python_language
62bb0da8ceeeacda6145174a81c6defadb793a52
a58c3475c93281ed83deab5f95c42a7f573ac376
refs/heads/master
2021-01-11T04:28:54.225610
2016-10-18T18:42:54
2016-10-18T18:42:54
71,179,103
0
0
null
2016-10-17T20:37:57
2016-10-17T20:37:57
null
WINDOWS-1251
Python
false
false
7,606
py
#task1----------------------------------------------------------------------------------- """ Даны два целых числа A и B (при этом A ? B). Выведите все числа от A до B включительно. """ first_number=int(input())#Введенння першого числа second_number=int(input())#Введенння першого числа i=first_number#Присвоєння...
[ "noreply@github.com" ]
OlexandrDobra.noreply@github.com
021f2a16e0cce8634f036dc74e6ac14c5c8f4810
d12690dc3b10757b37d567abad737388862f5b4d
/L8/2839. 설탕 배달.py
062354a3b6074bc10ed60252c6661d5f8584e472
[]
no_license
MEAJIN/Baekjoon
3477c14eab1b725652b29013502b34831cbde5b2
cc598178a334325915572e035338d13cddf2fa6f
refs/heads/main
2023-07-14T18:15:31.037985
2021-08-21T14:02:34
2021-08-21T14:02:34
366,606,509
2
0
null
null
null
null
UTF-8
Python
false
false
303
py
sugar = int(input()) bag = 0 while sugar >= 0 : if sugar % 5 == 0 : # 5의 배수이면 bag += (sugar // 5) # 5로 나눈 몫을 구해야 정수가 됨 print(bag) break sugar -= 3 bag += 1 # 5의 배수가 될 때까지 설탕-3, 봉지+1 else : print(-1)
[ "noreply@github.com" ]
MEAJIN.noreply@github.com
097f90f0262110b4a39fec200710fa8f135f45a9
db61f1b3db18ef698f08e456c60e2162a5479807
/experiments/timit/data/test_load_dataset_joint_ctc_attention.py
5825b2d4d7443ffef8d010fe251f20028c20fa14
[ "MIT" ]
permissive
fresty/tensorflow_end2end_speech_recognition
00aa1d827aa9b04862389ff1a8169259adcd6db9
a95ba6a29208e70d6ea102bbca2b03ea492c708c
refs/heads/master
2021-01-01T06:14:25.378685
2017-07-10T11:35:05
2017-07-10T11:35:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,269
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import re import sys import unittest import tensorflow as tf sys.path.append('../../../') from experiments.timit.data.load_dataset_joint_ctc_attention import Dat...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
2d590385ddba87310af206021f891c91aea028ef
df7b40e95718ac0f6071a0ba571b42efc81cf6de
/configs/deeplabv3/deeplabv3_r101-d16-mg124_512x1024_80k_cityscapes.py
de4a8a5e9f030f1e8a8802596885186163f23eed
[ "Apache-2.0" ]
permissive
shinianzhihou/ChangeDetection
87fa2c498248e6124aeefb8f0ee8154bda36deee
354e71234bef38b6e142b6ba02f23db958582844
refs/heads/master
2023-01-23T20:42:31.017006
2023-01-09T11:37:24
2023-01-09T11:37:24
218,001,748
162
29
Apache-2.0
2022-11-03T04:11:00
2019-10-28T08:41:54
Python
UTF-8
Python
false
false
368
py
_base_ = './deeplabv3_r50-d8_512x1024_80k_cityscapes.py' model = dict( pretrained='open-mmlab://resnet101_v1c', backbone=dict( depth=101, dilations=(1, 1, 1, 2), strides=(1, 2, 2, 1), multi_grid=(1, 2, 4)), decode_head=dict( dilations=(1, 6, 12, 18), sampler=d...
[ "1178396201@qq.com" ]
1178396201@qq.com
128f00d411dc55826776656cc23bd2a9bc7fc548
2b397e90f995843f108c8c28eefc781852108bcb
/db_upgrade.py
71afb96a4a6c8ccf9a1472b70ff6a4dd3fde68c8
[]
no_license
kostyanchick/Flask-Microblog
35c4773bbd7b26a82dcb2129108ccc024070de1a
6cc527843d46f1f9dc79a0de88d39fc8ad059767
refs/heads/master
2021-04-27T01:33:53.750615
2018-02-24T12:35:37
2018-02-24T12:35:37
122,677,145
1
0
null
null
null
null
UTF-8
Python
false
false
314
py
#!flask/bin/python from migrate.versioning import api from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO api.upgrade(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO) v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO) print('Curent database version: ' + str(v))
[ "yosipiv.yuriy@gmail.com" ]
yosipiv.yuriy@gmail.com
981db806e78bffff78d8d30b2e03520b1ea9711a
6b67f3ddf45fe241dec74f304a7e7417ffd904ba
/hmm/process.py
a27148dc15415e78c3dce7fee40201d7a1283e66
[ "MIT" ]
permissive
drydenb/hmm_shakespeare
1c5c4c0fef7bccebc314169d5ec8b9542f7faa50
2c3307f1a7e3a909989e6aa435119cd2de03b94b
refs/heads/master
2021-01-10T12:25:02.241114
2017-07-03T00:43:28
2017-07-03T00:43:28
89,060,619
1
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Developed by: Dryden Bouamalay # Purpose: Implements functions for processing data after parsing import os import sys import enchant from data_parser import parser def flatten(lst): """Flattens a list. i.e., takes a list of lists such as [ [[],[],[]], [[],[],[...
[ "bouamalayd@gmail.com" ]
bouamalayd@gmail.com
197b727f8fa2e2d241eb493d2f6871be10ecc014
7cb5f68cfac8edc748ab1c14c10c5ded68460f3c
/Export/ExcelExport.py
0628d099d432cd80ab65e8ed05602f83dda81fb9
[]
no_license
qiyue1204/PythonProject
8de455fbb3c95b901480d1bb6c88da29ac191d81
bebefcc6b5eb5ea7d74f67b59f5c27a980fdb49b
refs/heads/master
2021-01-22T22:24:10.653960
2017-03-20T06:59:46
2017-03-20T06:59:46
85,539,199
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
# coding=utf8 import os import time import ctypes import struct import socket import Conf from Support.Log import LogManager from Support.NetIO import NetClient from Support.NetIO.NetCommand import * if __name__ == '__main__': logObj = LogManager('ExcelExport.txt') logObj.Start() totalTestTime = 10000 ...
[ "scushm@163.com" ]
scushm@163.com
b74f183d947c70b764662b9b1e3c5877ff65bb88
f64e3d1e48a8afa320edaae4f607c781697a739a
/Python/04-Sets/09-symmetric_difference.py
945cc9483b53589b834bf530f210f9e83224674d
[]
no_license
jailsonsf/HackerRank-Practice
4bcef500c9c3f96e856e2a6413c645e9a744a0a8
6b94180034bf7dd86be7f8b8f9f7b09a98ed34ad
refs/heads/master
2021-01-02T06:08:49.173173
2020-02-22T14:55:27
2020-02-22T14:55:27
239,522,864
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
n = int(input()) english = set(map(int, input().split())) b = int(input()) french = set(map(int, input().split())) diff = english ^ french print(len(diff))
[ "jailson.s.f@outlook.com" ]
jailson.s.f@outlook.com
a55df25f9f74de9e0ec69b926948719fa010268d
6518c74441a68fc99b2b08423b5ea11480806499
/tests/resources/mlflow-test-plugin/mlflow_test_plugin/dummy_evaluator.py
c88bd21d093219c4d2d59ada023cd3f754142dc2
[ "Apache-2.0" ]
permissive
criteo-forks/mlflow
da58e64d09700623810da63999a1aca81b435b90
499284d8dc9e9ec79d8d9dbd03c58d162a2b7eaa
refs/heads/master
2023-04-14T17:59:29.997458
2022-01-11T09:50:26
2022-01-11T09:50:26
191,391,769
5
4
Apache-2.0
2023-04-07T15:16:20
2019-06-11T14:44:00
Python
UTF-8
Python
false
false
3,149
py
import mlflow from mlflow.models.evaluation import ( ModelEvaluator, EvaluationMetrics, EvaluationArtifact, EvaluationResult, ) from mlflow.tracking.artifact_utils import get_artifact_uri from mlflow.entities import Metric from sklearn import metrics as sk_metrics import time import pandas as pd import ...
[ "noreply@github.com" ]
criteo-forks.noreply@github.com
f166072607dce36f0be7f4a3b2570c4389c209b1
dea268fdb0b1de41b5eb8d8a9ba3171b39f860b5
/download-file
d150c7ab19324f8ff8d23c7545a89d0750efd594
[ "MIT" ]
permissive
pintotomas/redes-tp2-sockets
909fd693e3400fac3f3765a26840a6fbfae25ffd
f064d7a093ff77a0e66dd15ca066cdaf29e1c278
refs/heads/master
2022-02-24T22:37:46.639976
2019-10-18T14:32:30
2019-10-18T14:32:30
214,864,452
0
0
MIT
2019-10-16T22:12:59
2019-10-13T17:37:28
Python
UTF-8
Python
false
false
1,164
#!/usr/bin/env python3 import argparse from tcp_client.download_file import download_file as download_file_tcp from udp_client.download_file import download_file as download_file_udp def parse_arguments(): parser = argparse.ArgumentParser() parser.add_argument("-H", "--server-host", default="127.0.0.1", help="la ...
[ "tomasp834@gmail.com" ]
tomasp834@gmail.com
67f08d10ce4364658d65ffb2c0c2e4f4b97ab54d
edacb9f6a25d6b948bb05967bc8304cf96490ca6
/checkio_solutions/Incinerator/anagrams_by_stacks.py
8e2937836519ff399da83623144038394c20e9d7
[]
no_license
Fargekritt/Python-Fun
1fc3e2c8b11f567834104b48cd27008c670549db
6b2bcf70c1fbb28dfa71f10e05b14325bc5161fd
refs/heads/master
2020-04-20T20:17:18.089472
2019-02-05T11:24:39
2019-02-05T11:39:13
169,072,543
0
0
null
2019-02-05T11:39:30
2019-02-04T12:05:11
Python
UTF-8
Python
false
false
3,017
py
#!/usr/bin/env checkio --domain=py run anagrams-by-stacks # https://py.checkio.org/mission/anagrams-by-stacks/ # You have been given two anagrams as a string, separated by dash. You need to rearrange the letters to turn the first word into the second. The tools you have for this mission are two stacks and a one...
[ "lullinj98@gmail.com" ]
lullinj98@gmail.com
dee4ecc799e94344f16d8476f0dde02257339b4d
dba0f66eef2f173b8cc148d0c51fc338c7c9a70e
/leo/plugins/cursesGui2.py
853f215e3ffe52490ff065d808f182601fff553f
[ "BSD-3-Clause", "MIT" ]
permissive
iggu/leo-editor
6adcbf1c7727f00115a62ffb68d31c22624e4404
a8cade8563afdc6b76638e152b91679209a5bf94
refs/heads/master
2022-03-16T05:44:42.864262
2022-02-25T13:30:51
2022-02-25T13:30:51
232,984,997
0
0
NOASSERTION
2021-05-05T03:32:44
2020-01-10T06:53:10
null
UTF-8
Python
false
false
161,011
py
# -*- coding: utf-8 -*- #@+leo-ver=5-thin #@+node:ekr.20170419092835.1: * @file ../plugins/cursesGui2.py #@@first # Disable all mypy checks. # type:ignore #@+<< cursesGui2 docstring >> #@+node:ekr.20170608073034.1: ** << cursesGui2 docstring >> """ A curses gui for Leo using npyscreen. The ``--gui=curses`` command-lin...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
401f7ba942dcf61511980ae817663f4e29f8653f
97d9f5b3aaa53095a6d158d3ba468a353a6ec8f0
/parsing.py
df1b981f23b1d59b4c01289f2f015fc8dd18021b
[]
no_license
linpaul2004/ReinforcementLearning
4f496c0851c3a3d7790fd761a518f3ad25a937b6
4307fa51cc1d449078a2db05c6101d588b1346c1
refs/heads/master
2021-05-08T08:29:54.964109
2017-10-15T20:01:53
2017-10-15T20:01:53
107,044,294
0
0
null
null
null
null
UTF-8
Python
false
false
2,773
py
#!/usr/bin/python #-*- encoding: UTF-8 -*- #from nltk.tree import * #from nltk.draw.tree import TreeView from collections import OrderedDict from multiprocessing import Pool import socket import json import time token = [',', ',', '。'] target_host = "140.116.245.147" target_port = 9998 def Parser(sentence): # c...
[ "linpaul2004@gmail.com" ]
linpaul2004@gmail.com
f49a429682df4397a5b495b6ce9247bd5c23f471
67c54f862255682f11ac2a1160a3f0aad6965bdf
/days/13-15-text-games/rock_scissors_paper/rps.py
b32bfb06388c38e0e7136c3c87749a5f231dd8ce
[ "MIT" ]
permissive
cisco7507/100daysofcode-with-python-course
51f9bd52e14b89459f8dd69680377b0d38935a44
bfed18644f352898e7d78a40515eca6c1f9649bf
refs/heads/master
2021-08-16T16:01:14.776015
2020-06-02T14:46:29
2020-06-02T14:46:29
188,516,770
0
0
MIT
2019-05-25T03:39:48
2019-05-25T03:39:48
null
UTF-8
Python
false
false
720
py
import random class Roll: def __init__(self, roll_name=''): if roll_name == '': self.roll_name = random.choice(['rock', 'scissors', 'paper']) else: self.roll_name = roll_name.lower() def win(self): """ :return: string of the roll defeated by a given key...
[ "gsp@afilias.info" ]
gsp@afilias.info
6c820ebbbc0edeaaf0a09df2fc81f3fde157ca0d
4c27d3ca879f81f92c8788e160eaf2b4d790e809
/models/acer/actor.py
921427286b5c3b7859940c4e0fbc25004af63ab9
[]
no_license
ChrisFugl/DoomRL
a0206d443d33e87e419a0c08714c9559a96fc1bf
9dee17eff4a0ccddabd81be3301d0b2b51cf882b
refs/heads/master
2023-04-06T23:21:18.380786
2019-07-08T19:59:10
2019-07-08T22:05:56
192,868,775
2
1
null
2023-03-24T22:44:55
2019-06-20T07:12:19
Jupyter Notebook
UTF-8
Python
false
false
2,468
py
import numpy as np class Actor: def __init__(self, config, env, model): self._action_dtype = env.action_space.dtype self._reward_scale = config.reward_scale self._n_steps = config.number_of_steps self._env = env self._model = model self._last_observations = env.res...
[ "chrisnave92@gmail.com" ]
chrisnave92@gmail.com
0bbcecd2761b1b9dbb8ba24462c8f20153c402a6
41d9b92ef2a74a4ba05d27ffbe3beb87884c4ce7
/supervised_learning/0x06-keras/0-sequential.py
e0175875bc17bcbc0416647a5a71d94f1109cf53
[]
no_license
JosephK89/holbertonschool-machine_learning
3f96d886c61d8de99a23e4348fb045b9c930740e
aa5c500f7d8ebeec951f9ab5ec017cae64007c25
refs/heads/main
2023-08-14T18:42:53.481354
2021-10-10T19:53:40
2021-10-10T19:53:40
386,248,140
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
#!/usr/bin/env python3 """build nn with keras""" import tensorflow.keras as K def build_model(nx, layers, activations, lambtha, keep_prob): """function that build nn with keras library""" sequential = [] shape = (nx,) reg_l2 = K.regularizers.l2(lambtha) for i in range(len(layers)): if i is...
[ "josephkamel262@gmail.com" ]
josephkamel262@gmail.com
1204cb5de1ac2f1d3306c831671aeefb0c4286c2
1b9075ffea7d4b846d42981b41be44238c371202
/tags/2007-EOL/applications/editors/qt_xhtmledit/actions.py
e00311a209fc6a3d1204dd6195e524b1ba17a2e5
[]
no_license
pars-linux/contrib
bf630d4be77f4e484b8c6c8b0698a5b34b3371f4
908210110796ef9461a1f9b080b6171fa022e56a
refs/heads/master
2020-05-26T20:35:58.697670
2011-07-11T11:16:38
2011-07-11T11:16:38
82,484,996
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import shelltools from pisi.actionsapi import pisitools WorkDir = "htmledit" def setup...
[ "turkay.eren@gmail.com" ]
turkay.eren@gmail.com
c81204c7eb8be194795d6ad07c8594ce5de83b22
035e81c6015371f45c2499b7cfcee1d5bf9636be
/img_to_text/read_img.py
c4e7ede2d0952cb249e4a824430c3222a6c025b7
[]
no_license
anilsarma/misc
4558282b8014aad4cf37f54e8875ba2978bd0a58
b96e8216724bc84b1c7daa44581e76d334ff2319
refs/heads/master
2023-08-29T12:44:16.360194
2023-08-24T20:41:06
2023-08-24T20:41:06
22,451,746
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import cv2 import PIL import pytesseract #img = cv2.imread("f2.PNG") for i in range(1, 6): s = pytesseract.image_to_string(PIL.Image.open("pic"+str(i)+ ".PNG"), lang='eng') print ("----------------- File {} --------------- ".format(i)) print(s)
[ "anilsarma@yahoo.com" ]
anilsarma@yahoo.com
25b8fdfb5fd17357f10e9ad8a532c57c0a8836b6
8787e9dc58507e7e9cc9f8ce339aa40f07f1d175
/enumfields/__init__.py
5bbb9e90fb4a5ca9d55319d204f622896b458ea6
[ "MIT" ]
permissive
fusionbox/django-enumfields
3bdd5c562a9c0e59a46851e8ece4b3fbfe6adf41
c329e1b785d3e1e06c144f89bfce4172485e02fe
refs/heads/master
2020-12-25T23:47:48.394175
2016-03-03T22:31:29
2016-03-03T22:31:29
33,270,585
0
0
null
2015-04-01T20:21:09
2015-04-01T20:21:09
null
UTF-8
Python
false
false
72
py
from .enums import Enum from .fields import EnumField, EnumIntegerField
[ "m@tthewwithanm.com" ]
m@tthewwithanm.com