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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b58fec6a84bedcfdb8045e1cb4635d7e6cb3a8a0
cf480cdc547d6714038b1691c768ec2b6ee12d81
/PracticaSSDD/Downloader.py
c82d59aaeb74e62e4989bc563863372380dd532c
[]
no_license
sergiosb99/SistemasDistribuidos
dd5f3f6a88b6fecb313353ff79e4a0afa97d4a80
476e6b22d9c8964881a61ae0f4e44e9143a603cd
refs/heads/master
2022-04-02T04:06:30.543889
2019-12-14T18:41:27
2019-12-14T18:41:27
218,734,636
0
0
null
null
null
null
UTF-8
Python
false
false
3,622
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sys import Ice, IceStorm Ice.loadSlice('trawlnet.ice') import TrawlNet import hashlib try: import youtube_dl import os except ImportError: print('ERROR: do you have installed youtube-dl library?') sys.exit(1) class NullLogger: def debug(self, msg...
[ "noreply@github.com" ]
sergiosb99.noreply@github.com
3055fa47d34910711fc7807295779602a0cc3cce
47fcf268ac089915e5983ff028ea58966eb75605
/envs_repo/inception_pytorch/utils.py
4711897a2f409977f277e583a139096e978a21a8
[]
no_license
goldenair/CE-GAN
8e47bc09de3d0312d4b5528f35e0bbe6737218cd
ad8b1946fbf9c76eca7a3480bbb61d9f3121e224
refs/heads/master
2023-02-10T13:01:20.826060
2021-01-10T07:39:40
2021-01-10T07:39:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,120
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Utilities file This file contains utility functions for bookkeeping, logging, and data loading. Methods which directly affect training should either go in layers, the model, or train_fns.py. """ from __future__ import print_function import sys import os import numpy a...
[ "l316652494@gmail.com" ]
l316652494@gmail.com
50cbc0a6b7378fde63f8deb76fd0bda5440b65e5
583d03a6337df9f1e28f4ef6208491cf5fb18136
/dev4qx/madeira-stub/handlers/stub/niukou.py
6b0e4e26edb01f71cb86b882a9492992f2eca35c
[]
no_license
lescpsn/lescpsn
ece4362a328f009931c9e4980f150d93c4916b32
ef83523ea1618b7e543553edd480389741e54bc4
refs/heads/master
2020-04-03T14:02:06.590299
2018-11-01T03:00:17
2018-11-01T03:00:17
155,309,223
1
0
null
null
null
null
UTF-8
Python
false
false
1,845
py
import json import logging import tornado import tornado.web from tornado.httpclient import AsyncHTTPClient from tornado.ioloop import IOLoop request_log = logging.getLogger("madeira.request") class NiukouOrderHandler(tornado.web.RequestHandler): @tornado.gen.coroutine def post(self): try: ...
[ "lescpsn@aliyun.com" ]
lescpsn@aliyun.com
b8ad77ebbc0f8d213a39e817e72baccde8bfd65f
112f02c4be5176907766f7546de7d5d57a2df2af
/tutorial/tutorial_56.py
aea22de47ee4c3870ffbc5ddf5b27264f1cb2d8c
[]
no_license
ankitsingh03/code-python
010efdcf157d5411f81b6fbfca74f8b36e3ea263
7fd33b9e7f269e3042bdb13a47a26a3da87a68bc
refs/heads/master
2023-03-25T10:48:23.282822
2021-03-18T06:43:27
2021-03-18T06:43:27
289,693,369
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
name = input("enter your name : ") i=0 temp = "" while i<len(name): if name[i] not in temp: temp+=name[i] print(f"{name[i]} : {name.count(name[i])}") i+=1
[ "65447864+ankitsingh03@users.noreply.github.com" ]
65447864+ankitsingh03@users.noreply.github.com
a4a415836a73c4b26dcef8193f52936e7df8c02a
f68710d7a8228805ab19430d72cefd6bbf1c4b91
/src/routes/challenge.py
e1d954d670e6d9f4edf787dce1f4adc16e6579be
[]
no_license
quokkateam/quokka-api
1aae2dd9694b09ff426fc8defcc8dd1d6536f016
081f22fe3bf81aee18cca05283384c4899923b88
refs/heads/master
2023-01-21T08:21:52.559310
2020-12-03T01:12:46
2020-12-03T01:12:46
100,311,727
0
0
null
2017-09-18T05:19:33
2017-08-14T21:42:08
Python
UTF-8
Python
false
false
7,013
py
from flask_restplus import Resource, fields from src.routes import namespace, api from src.helpers.user_helper import current_user from src.helpers.prize_helper import format_prizes from src.helpers.sponsor_helper import format_sponsors from src.helpers.challenge_helper import format_challenges, current_week_num from o...
[ "benwhittle31@gmail.com" ]
benwhittle31@gmail.com
f3287cdf45f3d65183544c35aca6db06772c239b
bd55c7d73a95caed5f47b0031264ec05fd6ff60a
/apps/nchat/migrations/0012_auto_20191113_1447.py
b7df57dbc71a1d5e13e95d92c30ea5bd1f8098ea
[]
no_license
phonehtetpaing/ebdjango
3c8610e2d96318aff3b1db89480b2f298ad91b57
1b77d7662ec2bce9a6377690082a656c8e46608c
refs/heads/main
2023-06-26T13:14:55.319687
2021-07-21T06:04:58
2021-07-21T06:04:58
381,564,118
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 2.0.5 on 2019-11-13 05:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nchat', '0011_enduser'), ] operations = [ migrations.AddField( model_name='enduser', name='app_id', fiel...
[ "phonehtetpaing1221@gmail.com" ]
phonehtetpaing1221@gmail.com
4669336116ce7e560e82aa2f2fc0cf729f1a23d2
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/workdocs_write_f/comment_delete.py
79616abb93b0670f4aec69800235ff70fde5d896
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
946f998fb7bd65a5fcb5e888f5d6107a563013d8
216039e6c419349c25201bf5bb4edc2b12c71cef
/config.py
00a909a7f2f36c025e88f5e242cfcac2d35fc9b3
[]
no_license
gloriaodipo/MyDiary-v1
6fe03ed318df4e88811d5845eb639e6b26619145
92386a6863c843945f4064654ba82b0afcc84f2e
refs/heads/master
2022-12-10T10:25:52.058895
2018-07-31T20:12:59
2018-07-31T20:12:59
140,820,686
0
2
null
2022-05-25T01:27:18
2018-07-13T08:36:27
Python
UTF-8
Python
false
false
519
py
'''Set up environment specific configurations''' import os class Config(): '''Parent configuration class''' DEBUG = False class Development(Config): '''Configuration for development environment''' DEBUG = True class Testing(Config): '''Configuration for testing environment''' DEBUG = True cl...
[ "gloriaodipo@gmail.com" ]
gloriaodipo@gmail.com
10b1131f1db5cefed204613e153ecc03d1a09ee3
d47f5f59fc322aa2a82ea1c3a15f39b200dd95b2
/bioinformatics_1/week_1/computing_frequencies.py
e8f5fabf0b6ca4a603575bdccc2ae3e7e537d4b5
[]
no_license
nayanika2304/BioInformatics
baefb229e02397e06c634df44b82e72e9a235c77
977219bf4f3e4583b91df6308828d15bb1ad148d
refs/heads/master
2023-01-01T05:24:58.401988
2020-10-20T12:52:30
2020-10-20T12:52:30
295,566,560
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
def pattern_to_number(pattern): if len(pattern) == 0: return 0 symbol_to_number = {'A': 0, 'C': 1, 'G': 2, 'T': 3} n = len(pattern) prefix = pattern[:n - 1] symbol = pattern[n - 1] return 4 * pattern_to_number(prefix) + symbol_to_number[symbol] def computing_frequencies(text, k): ...
[ "nayanikabhargava1993@gmail.com" ]
nayanikabhargava1993@gmail.com
7c459fe159f5fd2dcb8c050a691a2fbbc7836477
3ad2eb5cefe7ba0c497445de6fbd698c58c03453
/game_of_life.py
2c669e02174a1d914d25778156e30f43cc1b871f
[]
no_license
MaxAdau/game_of_life
cd6c3103186e5297970c4566ff51811a6a9e2138
74d6fc0aa8d3dc720850c5fb4877d8302b7acbc2
refs/heads/master
2020-09-28T02:43:29.395889
2019-12-08T13:17:45
2019-12-08T13:17:45
226,670,358
0
0
null
null
null
null
UTF-8
Python
false
false
9,208
py
import tkinter as tk from time import sleep # For debugging purpose from time import time prev = time() def delta(txt): global prev print(txt) print('delta = {}'.format(time() - prev)) prev = time() class Grid: """ This class implement the grid that contains all the cells in the game """ ...
[ "maxadau@gmail.com" ]
maxadau@gmail.com
0fe45a842cf883f20681fad8051fa1660930b421
ab32ef99b14883391da76f8e64c420fdc4c6e25b
/config.py
ab8f0e8d695d29df8da4836b39559ac74ca678fb
[]
no_license
perryraskin/shoppimon-tests
21a6e3e45ebaea5774082d00a8eadab16650ef73
5ecd453d620de7a20ffb6f359de634efd9a225be
refs/heads/master
2021-01-19T04:24:38.367725
2016-10-10T04:52:14
2016-10-10T04:52:14
63,161,477
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
"""Configuration handling """ import yaml import boto3 __config = None def get_config(path): global __config if path.startswith("s3"): # Use Amazon S3 s3 = boto3.resource('s3') bucket_name = path.split("/")[2] key_name = path.split(bucket_name[-1]) # Download object...
[ "perryraskin@gmail.com" ]
perryraskin@gmail.com
f95a4aa88f57289ef80b62ef84d6b9d5d9906074
050a01af15654c0708c2e747def7c33fe54cbe02
/delivery_order/migrations/0001_initial.py
b9d564b5771452e38c9a53435e0538f295bc3d57
[]
no_license
crowdbotics-apps/coddwebsite-17461
5d38d10294e5a9892028d11122174e9600790ac8
eb9f22e52ec3c0c18fef55597c9e8aa3bf7cfe2d
refs/heads/master
2023-05-13T13:28:47.125601
2020-05-27T17:32:07
2020-05-27T17:32:07
267,378,023
0
0
null
2021-06-10T09:23:01
2020-05-27T17:01:24
Python
UTF-8
Python
false
false
2,609
py
# Generated by Django 2.2.12 on 2020-05-27 17:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('menu', '0001_initial'), ('delivery_user_profile', '0001_initial'), ] operations = [ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e92faf948492965950a7cb2a76b1626fd524149b
29e4561c6c84856fc1a9afa955a7be3ed1c03914
/arvancloud_ddns/cli.py
0e39c9b8b1d70b115fd3bd04e26c028682748eb9
[ "MIT" ]
permissive
yazdan/ar-ddns
eef211c545a7def29553cf59dcfd907f25248995
b8fa8e1fb68533a18c0793880513d189fc915452
refs/heads/main
2023-03-06T15:11:24.163976
2021-02-16T10:16:48
2021-02-16T10:16:48
339,356,661
0
0
MIT
2021-02-16T10:10:22
2021-02-16T10:10:21
null
UTF-8
Python
false
false
757
py
import click from arvancloud_ddns.arvancloud_dns_api import ArvanCloudDNSAPI from arvancloud_ddns.utils import sync_public_ip @click.command() @click.option('--domain', required=True) @click.option('--api-key', required=True) @click.option('--cloud', is_flag=True, help='by activating this option, the u...
[ "touhid.arastu@gmail.com" ]
touhid.arastu@gmail.com
e6936c726159533a94b2699b7b1de4cf9f9a84fa
36ad2d376030fbfa5a099973ac8fe1acfd590225
/interview_questions/prog025_fb2_trees_from_string.py
fac3b8b334509bbb94c2a17f14decf8f1a54b22d
[]
no_license
ronaldjuarez/garage
254f189099eac70798036363dcd0aa437b7ff70d
3fb0a1b71b9e073084589d15eed24b020d563a58
refs/heads/master
2022-11-14T03:55:34.443669
2022-11-06T04:19:47
2022-11-06T04:19:47
190,933,012
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
def findSubsequence(v, target): sum = 0 leftIndex = 0 for i in range(len(v)): sum += v[i] if sum < target: continue elif sum == target: return True else: for j in range(leftIndex, len(v)): sum -= v[j] if s...
[ "rmjch91@gmail.com" ]
rmjch91@gmail.com
7e8c8bbb115ec5384d4fb25f7c18d1ffbcfe4bcb
a31a2a6d1bbb34db890df93f2398d4295d229ef6
/index/migrations/0010_auto_20190520_0929.py
7a33bf18bbe7607d23f8295f2d9e910711a6ebe5
[]
no_license
anandrathidev/propsearch
31f915230ffb122dd49f3ee75e9f516091ca47bf
0aaa7174a5a0f78e26834887fd963c5ea6e1bd04
refs/heads/master
2020-05-22T03:53:22.230389
2019-06-01T08:46:24
2019-06-01T08:46:24
186,221,039
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# Generated by Django 2.0 on 2019-05-20 08:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('index', '0009_auto_20190520_0923'), ] operations = [ migration...
[ "anandrathi.dev@gmail.com" ]
anandrathi.dev@gmail.com
fe67af41766db65e264adb0e06c55f078b4eb952
4d8b9f5533671b15e124bfa025d672297384b434
/tests/unit/common/test_ansible_common.py
1ef8eee5f8bb756e57092dc2f2318b9a25b932be
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Kryndex/yardstick
6c37c4f752589c523be761e3980f7ca2c8fac798
c191b305790b4528868725db82d1af6c0d95e22b
refs/heads/master
2021-05-13T14:12:54.917653
2018-01-08T18:21:47
2018-01-08T18:21:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,700
py
# Copyright (c) 2016-2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "ross.b.brattain@intel.com" ]
ross.b.brattain@intel.com
c477b8b68db052eb74041eaadaadcfcda5a16a9c
18974b976a9f8afb042f60396a6afacc8ea0636d
/producer_server.py
4cecf20b8652b947e69a217ba5b6669eaa665378
[]
no_license
ajschaeper/frisco_crime_stats
158e581612871ee18b35f28b4f69d27d48392d4d
de22a1cc62a970a054d0731b42f76a6395f3dc69
refs/heads/master
2022-11-14T05:51:13.359337
2020-06-29T12:53:14
2020-06-29T12:58:02
275,379,317
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from kafka import KafkaProducer import json import time class ProducerServer(KafkaProducer): def __init__(self, input_file, topic, **kwargs): super().__init__(**kwargs) self.input_file = input_file self.topic = topic def generate_data(self): with open(self.input_file) as fd: ...
[ "alex@schaeper.io" ]
alex@schaeper.io
61ec4c4c2b7bf39519d500c748f9da10ac0d9188
ec2cd2e651fe91c1c5f5f95a97211d3c17c3ae93
/tests/test_files/event_manager_test.py
53ce346c8b3b1b86b4c60b80fa0918ac4f73cf0e
[ "MIT" ]
permissive
HackdYourShit/github-automation
1b92afd03cc16593898b88a605916ccb85ebb3bc
31e60695d25171453d62bc96151fb45129d0a421
refs/heads/master
2022-08-29T22:14:01.441351
2020-05-24T13:59:13
2020-05-24T13:59:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,481
py
import json import os from copy import deepcopy from github_automation.core.issue.issue import Issue from github_automation.core.project.project import Project, ProjectColumn from github_automation.management.configuration import Configuration from github_automation.management.event_manager import EventManager MOCK_F...
[ "rkozakish@paloaltonetworks.com" ]
rkozakish@paloaltonetworks.com
a247744ab29c25a75bebe261f0975740848265b7
803ed08c0cc3a76e48bdea08323c2be3ffa9f0ef
/consoleme/handlers/v2/resources.py
75380eb8825948b5cecfcb9dd957981f23f001d7
[ "Apache-2.0" ]
permissive
rhnasc/consoleme
c6ec4d75ecba3c132d174c88811d44af11b18029
18962418fdc8466dc85547bd0cba100f1c00d7c1
refs/heads/master
2023-04-03T10:04:58.424303
2021-04-15T20:00:33
2021-04-15T20:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,146
py
import sys from datetime import datetime, timedelta import sentry_sdk import ujson as json from policy_sentry.util.arns import parse_arn from consoleme.config import config from consoleme.exceptions.exceptions import MustBeFte, ResourceNotFound from consoleme.handlers.base import BaseAPIV2Handler, BaseMtlsHandler fro...
[ "noreply@github.com" ]
rhnasc.noreply@github.com
c1aa620b136310e6ed28bf61e29b75a3d21e84e8
76fceb0a152caacbe056d5ac437351e52a77b360
/Django_website/music/migrations/0001_initial.py
aad5fd5b58076a28e9327167a7f918a79368f4e6
[]
no_license
wuyiaishang/django_workplace
b4f4e3c32f61491af5f19afd4bb5c664b1cb2bbc
f9f0269026a31c1f8bdee3ec9ba8d5eb28002737
refs/heads/master
2021-01-22T08:13:25.245736
2017-02-25T16:22:05
2017-02-25T16:22:05
81,884,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-14 22:05 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.Crea...
[ "lijh3737ca@gmail.com" ]
lijh3737ca@gmail.com
1386635f3be2709e50108baa9d6570782444859d
dae76f7fe5e99ff6b323604710786da93e0c9bbb
/myweb/settings.py
c9f53dcd3736652d28bf40e09091fe7763064645
[]
no_license
Jaxien/myweb
7198fd1695e25ef028182fb174086547d6768e6c
8908b703547797c92ca777864a274deb3212d71b
refs/heads/master
2020-12-15T12:04:06.740495
2020-01-20T12:29:37
2020-01-20T12:29:37
235,087,526
0
0
null
null
null
null
UTF-8
Python
false
false
3,706
py
""" Django settings for myweb project. Generated by 'django-admin startproject' using Django 3.0.1. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # B...
[ "1076440430@qq.com" ]
1076440430@qq.com
d6370664c9b03230710844b5cbacf4874d0f3bae
4f349c31220d839aaaf5d850069ad315b8d67aef
/withdraw_universities/urls.py
355abaf5511fe20cc8ffb57bcf8f7326bf2cc6fd
[]
no_license
DiZiNnEs/withdraw-universities
beec276aae8ab76f640416639f4f33a498c4da61
f18645bed8ef0e67843ad64c6eb003ddfae61dcb
refs/heads/main
2023-01-03T20:30:47.463936
2020-11-03T18:11:22
2020-11-03T18:11:22
307,993,570
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""withdraw_universities 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...
[ "dizinnes228@gmail.com" ]
dizinnes228@gmail.com
20e932bdbe6e53b65a545e07fa0ff488f64d3406
5c75a5827f39cfeec64cc2518d670019a56f22e2
/slam/Python_code/create_sync.py
bd49f08e32602a9e954bef0af24d035e9737be24
[]
no_license
vascofaraujo/uav-mapping-venv
ac439672500b83c38d4aeaceece069ac6f6f5cff
e81ba7ff02b41cb2726bbb44c53d1d721aa59868
refs/heads/main
2023-07-11T11:50:31.951327
2021-08-13T22:46:29
2021-08-13T22:46:29
386,804,189
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
import sys import os import numpy def read_file_list(filename): """ Description Reads rgb.txt and depth.txt file with timestamps for each and matches each one with the closest one File format: The file format is "stamp d1 d2 d3 ...", where stamp denotes the time stamp (to be matched) ...
[ "renato.loureiro@tecnico.ulisboa.pt" ]
renato.loureiro@tecnico.ulisboa.pt
49e1a325afdc513a993dda6191c506211225dc7e
1921cd057e809d4f847f75ea5a8394518cfc3a19
/venv/bin/pip3.6
8adfc1010e0c2ad1c849c2463cfbecdf4895bf86
[]
no_license
AshwinChandlapur/Learn_Flask
7820da89c0f101d97405ddac0c02bd02000d8a40
2294c9a197b5ab7e37254f6c3e8c475e45367b0c
refs/heads/master
2020-04-08T20:56:30.119416
2018-11-29T21:48:50
2018-11-29T21:48:50
159,722,013
0
0
null
null
null
null
UTF-8
Python
false
false
414
6
#!/Users/ashwinchandlapur/Desktop/Learn_Flask/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __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[0...
[ "ashwinchandlapur@gmail.com" ]
ashwinchandlapur@gmail.com
fb9b679a11eb9c744907db626a9f6f8e52a5756a
b9db91bdb30ba99aad8bbea251e5e1e8c2a7fa45
/opt/src/aoj/itp1/7_b.py
839084e701a5b92b98f95369fb7f3d92fbcc2450
[]
no_license
jacoloves/python_tool
682c3a91b535f15f1f8c9299e9b4c9ccbd5eea79
93ba5de17a727d6ccf9c67e4bca37ea502d06e5d
refs/heads/master
2021-03-01T04:25:49.581952
2021-01-27T13:52:50
2021-01-27T13:52:50
245,753,773
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
arr = [] while True: n, x = map(int, input().split()) if n == 0 and x == 0: break arr.append([n, x]) for i in range(len(arr)): n = arr[i][0] x = arr[i][1] num = 0 for j in range(1, n-1): x2 = x-j for k in range(j+1, n): x3 = x2-k for l in ra...
[ "5511068t@gmail.com" ]
5511068t@gmail.com
22574b86c78c4efca091cdc1afb98c19ab3875b9
13601ffa0540d448b009ea4ca0f14bf93e78f113
/macro/myans/lab4_machine_learning_student.py
9f7ba335e17a0ee4feb2a231429479145ded91cc
[]
no_license
jwl2006/edx_spark
63caddc4ceff303b127132ade86e8253bc07c061
77e5c6b1b491eb17572cdb37aa18f6da01b83092
refs/heads/master
2021-05-02T00:52:16.682959
2017-01-09T18:09:45
2017-01-09T18:09:45
78,454,095
0
0
null
null
null
null
UTF-8
Python
false
false
49,207
py
# coding: utf-8 # version 1.0.2 # #![Spark Logo](http://spark-mooc.github.io/web-assets/images/ta_Spark-logo-small.png) + ![Python Logo](http://spark-mooc.github.io/web-assets/images/python-logo-master-v3-TM-flattened_small.png) # # **Introduction to Machine Learning with Apache Spark** # ## **Predicting Movie Rating...
[ "wanghao313@gmail.com" ]
wanghao313@gmail.com
9b23207f97a22370cd8f9bdf558239b8ffdc88bc
627250a71e879fd5ff6a1c215333d1559b28f878
/vtt2srt.py
728473e3a1299171765480b4dd79f8611dcfb415
[ "Apache-2.0" ]
permissive
KorvinSilver/vtt2srt
c6261317e43d2538030b7729c8d3f9986cb124af
18c3fdd95c4435930d4acb3218123f9bd90f429b
refs/heads/master
2021-05-05T01:20:57.485291
2018-01-30T21:07:00
2018-01-30T21:07:00
119,588,513
0
0
null
null
null
null
UTF-8
Python
false
false
2,169
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Project: WebVTT Document to SubRib Subtitle converter Copyright 2018, Korvin F. Ezüst 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://w...
[ "dev@korvin.eu" ]
dev@korvin.eu
98e60f84759f1dabfe64292e06d96f5801a51c88
ed60a26caa718cae99f97217e6664e5a23ce3d45
/networkaccessmanager.py
f4b8737e2d2bd79571b271b5ee020b61bb1201e2
[]
no_license
leonmvd/pdokservicesplugin
47580e290c2ea686541c90e6c6c6a9bc9cd5d524
00ea86d49037e27dee7db443de932c0ca9168b81
refs/heads/master
2021-08-28T15:17:41.441931
2017-11-17T13:26:52
2017-11-17T13:26:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,313
py
# -*- coding: utf-8 -*- """ *************************************************************************** An httplib2 replacement that uses QgsNetworkAccessManager https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py --------------------- Date ...
[ "richard@duif.net" ]
richard@duif.net
4f1873b7edecc8b3be6649316dcba834b743f50e
de7127deabd34e17473fb94f48e033f482535ca7
/virt/bin/markdown2
2f0becd3611f94bc2b1edf4b5c86a622fa7aa217
[ "MIT" ]
permissive
annstella/One_Min_Pitch
a50d855423ad02fb46e8b6765c16cbf9d7a6e6ff
86cd2426061df502adaffbf544589d54653df00c
refs/heads/master
2020-03-28T05:54:11.687201
2018-09-17T08:00:08
2018-09-17T08:00:08
147,802,293
0
1
null
null
null
null
UTF-8
Python
false
false
523
#!/home/annstella/Documents/core/One_Min_Pitch/virt/bin/python3.6 import sys from os.path import join, dirname, exists # Use the local markdown2.py if we are in the source tree. source_tree_markdown2 = join(dirname(__file__), "..", "lib", "markdown2.py") if exists(source_tree_markdown2): sys.path.insert(0, dirnam...
[ "annstellawangui@gmail.com" ]
annstellawangui@gmail.com
766dc1460335ad2b4aed0afa0307aaee0bb4c0c6
bb49ca8887b7a6b8867165ab26b045f1d5bcf7a7
/leet_code/easy/leet_rotate.py
73b73359f15ee903dd3bea66cdd4651e9bbc97b7
[]
no_license
albusdunble1/Leetcode
118a91e164e17fd54d794998e8cccd73f9f39289
980d22f3c8ee6487175252eeba5f4ceb6152c294
refs/heads/master
2020-06-25T09:35:16.729899
2019-11-01T14:09:06
2019-11-01T14:09:06
199,273,051
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
class Solution(object): def rotatedDigits(self, N): """ :type N: int :rtype: int """ invalid = ['3','4','7'] special = ['2','5','6','9'] output = 0 for i in range(N): v_found = False for num in str(i+1): ...
[ "weisheng_rules@hotmail.com" ]
weisheng_rules@hotmail.com
02c5d9cafd5ef6b75cda0007078953c73b767feb
dba22ccd9f1e69cc3fc2fe3971cccadf9015c1c2
/prac_02/exceptions_demo.py
3395f62976fac2ac2be4dea3f8d2ec74229e0319
[]
no_license
RyanHonorica1408/CP1404
d7cd443dcc9e1de44f1a181f496c6bd9ce20ebb5
d90ff1cb2f33dd9751e0957b38eb7a51706cd000
refs/heads/master
2020-03-27T19:04:35.463157
2018-10-31T13:22:14
2018-10-31T13:22:25
146,964,246
0
0
null
2018-10-15T13:54:38
2018-09-01T03:32:17
Python
UTF-8
Python
false
false
294
py
try: numerator = int(input("Enter the numerator: ")) denominator = int(input("Enter the denominator: ")) print(fraction) except ValueError: print("Numerator and denominator must be valid numbers!") except ZeroDivisionError: print("Cannot divide by zero!") print("Finished.")
[ "ryan.tiomico@my.jcu.edu.au" ]
ryan.tiomico@my.jcu.edu.au
cdd51f82c64b8411ee0fda99daf82f9125ad9d10
0673b2d9d1af1e55fd16064bc08989b58a07df5b
/examples/webclassifier.py
2eb10e1ccf17e67862944388594032c068fa1980
[]
no_license
daniele-sartiano/nlptf
ba5faa3334c1cb89f960ba9fb270a4cf4422e55b
7accabe171d43458ca5555d22c188a6ac59f0a04
refs/heads/master
2021-01-15T15:25:30.755238
2016-06-17T16:53:25
2016-06-17T16:53:25
48,031,442
1
0
null
null
null
null
UTF-8
Python
false
false
5,782
py
#!/usr/bin/env python import sys import os sys.path.append('../nlptf') import argparse from nlptf.reader import Word2VecReader, WebContentReader from nlptf.models.estimators import WordEmbeddingsEstimator, ConvWordEmbeddingsEstimator, RNNWordEmbeddingsEstimator, MultiRNNWordEmbeddingsEstimator, WordEmbeddingsEstima...
[ "daniele.sartiano@gmail.com" ]
daniele.sartiano@gmail.com
77d02e1aa64689aee2757324174ae8f04bc5ba2b
8173d7fc2ed474e85c064461700562b2260166a5
/Face Detection and Attendence Project/Attendence Using Face Detection.py
4f1644b6816447f4cb914bdfbec1ab473b8275f0
[]
no_license
TusharDimri/Face-Detection-and-Attendence
f94f5ea57219952a2994fee59a63d6019bf43342
374e096c81f454725631685a0474f00b8a17284d
refs/heads/master
2023-01-23T11:22:00.948373
2020-11-29T12:34:18
2020-11-29T12:34:18
316,947,376
0
0
null
null
null
null
UTF-8
Python
false
false
3,155
py
import cv2 import numpy as np import face_recognition import os path = "Attendence Images" images = [] classNames = [] mylist = os.listdir(path) # print(mylist) for cl in mylist: current_Image = cv2.imread(f'{path}/{cl}') images.append(current_Image) classNames.append(os.path.splitext(cl)[0]) # print(...
[ "tushar.dimri22@gmail.com" ]
tushar.dimri22@gmail.com
93e41cf770f4a8b381887fe281d932200adcaed5
ed9ad4660757cc842461aea831f63c397ed48385
/mapper2.py
8aec053ea8baec88f5dc040e3bf0826512a65724
[]
no_license
Dhonveli/data-creent
a66d03259416bac7377b9a22f1074f55105da9d1
00d3eac0b363500e32f3961c8da5db6d07b25617
refs/heads/master
2020-04-04T02:49:31.308885
2018-11-20T16:53:21
2018-11-20T16:53:21
155,697,561
0
0
null
null
null
null
UTF-8
Python
false
false
9,119
py
#!/usr/bin/env python import os import sys import argparse import shutil import csv # Parses the command line arguments of this program def parse_args(): # Creates an object to parse the command line parameters parser = argparse.ArgumentParser(description="This program maps genes name to nessra code", ...
[ "giordano.alvari@gmail.com" ]
giordano.alvari@gmail.com
768c450ca224720b22ca1f7dd6fe8defdb3d29a9
a8d08c8fc600ac98e6e3007631d77fe47e68c5c7
/updateTaxID2.py
44d018842ce34df7adf5db97ef5b2cb29ef2d4c2
[]
no_license
jsh58/metagen
55ce824907892d760ab14a6a2fe01c4468312c43
85f0184053b18017c212486b78a2d6af8c812f72
refs/heads/master
2018-10-06T15:50:43.071624
2018-08-20T14:03:43
2018-08-20T14:03:43
120,953,077
0
1
null
null
null
null
UTF-8
Python
false
false
2,568
py
#!/usr/bin/python # JMG 12/2017 # Update merged and deleted taxonomic IDs. import sys import gzip def openRead(filename): ''' Open filename for reading. '-' indicates stdin. '.gz' suffix indicates gzip compression. ''' if filename == '-': return sys.stdin try: if filename[-3:] == '.gz': f...
[ "jsh58@wildcats.unh.edu" ]
jsh58@wildcats.unh.edu
0df9b535a01d9194a2be299758e45ec123a5d24e
5b38eb5309dc9f360b74a6dc849b871e9c9ece47
/problems/arrays/tests/three_sum_test.py
b0a3e4cea62ebf1451de25ad73940be952131b21
[]
no_license
Beomus/py-dsa
f80e060b90ceb2c3fb8c3ad61f2553fb15c45800
e883bcd2e72b8909a401175a8b7ee52f0b680b17
refs/heads/master
2023-06-11T15:03:58.659641
2021-07-01T02:37:47
2021-07-01T02:37:47
378,858,293
0
1
null
2021-06-22T05:34:33
2021-06-21T08:22:10
Python
UTF-8
Python
false
false
1,208
py
import unittest from ..three_sum import threeSum class TestThreeSum(unittest.TestCase): def test_case_1(self): array = [12, 3, 1, 2, -6, 5, -8, 6] target = 0 output = [[-8, 2, 6], [-8, 3, 5], [-6, 1, 5]] self.assertEqual(threeSum(array, target), output) def test_case_2(self):...
[ "trunghau60@gmail.com" ]
trunghau60@gmail.com
0fb8aecc1e085928517bf48eb9143d99c4f68e6e
77e325cbf2530a4c8d579f68d2e3faad5bbaf1b6
/CFModel.py
e5d6686e21773066596b5653cbb3ffaef12ccd26
[ "MIT" ]
permissive
v-mostafapour/fb15k-akbc
4a37b0f8e85c7431d8dd3af7de46dfe06fa64f04
c38588617f0ba9629960ea919f35852f0d2e4e3d
refs/heads/master
2021-01-02T23:00:22.895166
2016-08-30T07:09:08
2016-08-30T07:09:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
# CFModel.py # # A simple implementation of matrix factorization for collaborative filtering # expressed as a Keras Sequential model. This code is based on the approach # outlined in [Alkahest](http://www.fenris.org/)'s blog post # [Collaborative Filtering in Keras](http://www.fenris.org/2016/03/07/collaborative-filter...
[ "bradley.p.allen@gmail.com" ]
bradley.p.allen@gmail.com
8c53e53d5632bf2fe4e729680440e518b110775a
1308e72f0f9a481ae667000f8109ff4a0f4ab848
/app/main/database_helper_functions.py
f86ee44f7e80d0a40d34beccf3a948ccac908ec9
[ "MIT" ]
permissive
charlestondance/amoslims
0ebab70a54367c8b6e1cf25fa1354ffdf23f5570
c1d051db3e88a92644446744a9027c5699f52b02
refs/heads/master
2022-12-08T05:13:24.977140
2018-07-12T16:13:10
2018-07-12T16:13:10
140,725,152
0
0
MIT
2022-12-08T02:16:20
2018-07-12T14:34:14
Python
UTF-8
Python
false
false
9,320
py
__author__ = 'dmcclymo' import csv from ..models import project_task, PartsBatchTable, PartsTable, ytk_job_master, ytk_job_master_level2, part_dna_sizes from .. import db def upload_csv_check_keys(filename): with open(filename) as csvfile: reader = csv.DictReader(csvfile) dict_keys = reader.field...
[ "dave.mcclymo@gmail.com" ]
dave.mcclymo@gmail.com
8682fa1487d079c5604e8026a25f58cf69be0495
bd0b15a650d532ab95cfe945b8c59fb588d4ed7b
/download_pretrainings.py
cb8d9dd4bce32ddaebaf23656fec0a9710309e32
[ "MIT" ]
permissive
rortegagit/isaaq-anon
98ec32d2a0e4a2d654a1073fa2af627716f090ae
954206fe84d7db31bec01dc9338af5c6433974c1
refs/heads/master
2022-11-06T23:57:10.344051
2020-07-03T11:37:27
2020-07-03T11:37:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
import zipfile from google_drive_downloader import GoogleDriveDownloader as gdd from tqdm import tqdm import requests gdd.download_file_from_google_drive(file_id='1cQEjNIb11eOL4ZPKKvXPvdx9OVL324Zp', dest_path='./checkpoints.zip') with zipfile.ZipFile("checkpoints.zip", 'r') a...
[ "noreply@github.com" ]
rortegagit.noreply@github.com
d1c08dba97980d8459ea9694cb5106fb768f6b2c
d3c2307c4aa6d7af1902b073a19c9fa245ccf386
/Part2/reformat.py
a48f97b05a4ebbda61287a9bbe2802e156edf13a
[]
no_license
cadams22/Data-Mining-WEKA-Project
366d4a4f59e23ffb4a606ab86f96e8cdbd5bcdb8
773f67117eb3bd5a590abf5be2f463518bf41350
refs/heads/master
2021-01-02T09:13:54.201228
2013-12-23T05:44:25
2013-12-23T05:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
import csv def format(): f = open('answers.csv', 'r') fc = csv.reader(f) w = open('maddie.csv', 'w') wc = csv.writer(w) wc.writerow(['id ', ' friends']) count = 5001 for line in fc: for st in line: for c in range(0, len(st)-1): if st[c] == ':': print (st[c+1]) wc.writerow([count, str(st[c+1...
[ "courtney@Courtney-Adams-Lenovo-IdeaPad-P400-Touch.(none)" ]
courtney@Courtney-Adams-Lenovo-IdeaPad-P400-Touch.(none)
bacd5c10967e22cb2e03eb54ce3045346fa32f5e
fba45f3289a6de51eb7a9bfbee90d566181963b5
/pagemat/lib/python3.6/site-packages/paypal/standard/pdt/admin.py
d68d7ccb506406c13ca5c7216b0f32afb93123cd
[ "MIT" ]
permissive
bharatpurohit97/PageMatrix
abb580787aecf656e5ff27f0c9d75e89f16e905d
66ab9b1dd365a34f86dba110fe97c32cb7137bf2
refs/heads/master
2022-12-12T01:50:47.230219
2018-12-19T09:20:05
2018-12-19T09:20:05
162,409,793
1
0
MIT
2022-12-08T02:28:13
2018-12-19T08:54:22
Python
UTF-8
Python
false
false
3,710
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from paypal.standard.pdt.models import PayPalPDT # ToDo: How similiar is this to PayPalIPNAdmin? Could we just inherit off one common admin model? class PayPalPDTAdmin(admin.ModelAdmin): date_h...
[ "006.rajpurohit@gmail.com" ]
006.rajpurohit@gmail.com
2e0165ab267c593ebe689367b9fa417db54b4727
a9d9b934acd8f7bd26f35f0d764fd7e7ee33ebe4
/stock prices.py
8c98a488ebfeb1956528da84838f13909daf518e
[]
no_license
jmkhat/Pandas
bf5ac10a91785656e5eba05ce9ddb4ac5fd2d547
a61b46d1a18073c06506aa2ff331f95cedb12e6f
refs/heads/master
2021-04-28T19:52:00.726226
2018-02-20T02:36:19
2018-02-20T02:36:19
121,909,185
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ print("hello world") import pandas as pd import datetime import pandas_datareader.data as web import matplotlib.pyplot as plt from matplotlib import style style.use('ggplot') start = datetime.datetime(2014,1,1) end = datet...
[ "noreply@github.com" ]
jmkhat.noreply@github.com
0b14f4c050f42e06cf573a1f84e62522ac65add4
c7d91529db199322e39e54fe4051a75704ea843e
/华为题库/最小覆盖串.py
df725d28bca625b4f4f23c73033173ff5af73345
[]
no_license
2226171237/Algorithmpractice
fc786fd47aced5cd6d96c45f8e728c1e9d1160b7
837957ea22aa07ce28a6c23ea0419bd2011e1f88
refs/heads/master
2020-12-26T07:20:37.226443
2020-09-13T13:31:05
2020-09-13T13:31:05
237,431,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,644
py
''' 给你一个字符串 S、一个字符串 T,请在字符串 S 里面找出:包含 T 所有字母的最小子串。 示例: 输入: S = "ADOBECODEBANC", T = "ABC" 输出: "BANC" 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/minimum-window-substring 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 ''' from collections import Counter class Solution: def minWindow(self, s: str, t: str) -> str: ...
[ "2226171237@qq.com" ]
2226171237@qq.com
d18985bf92c950ffcf456b5ef4e4d773d7f1208e
36dbd31536a4084db83d12b2bd12a9f22f4da636
/geomdl/elements.py
952f45421aee3bd3bc94e18a97dc66b2d65fa7a8
[ "Python-2.0", "MIT" ]
permissive
Hgser/NURBS-Python
75d38a21721d9afd3d5f8491bf8ba56d71a2285a
ced4debdf4fc13afce9b830a2962da2789e5c45b
refs/heads/master
2020-04-27T00:42:17.632484
2019-02-28T05:21:20
2019-02-28T05:21:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,863
py
""" .. module:: elements :platform: Unix, Windows :synopsis: Provides classes representing geometry and topology entities .. moduleauthor:: Onur Rauf Bingol <orbingol@gmail.com> """ import abc import copy import six from ._utilities import export @six.add_metaclass(abc.ABCMeta) class AbstractEntity(object)...
[ "orbingol@gmail.com" ]
orbingol@gmail.com
24e11c32adef3f1cddfbf7017889d30421ebfc66
73fa310f7b0d4ecb97d4f7550f6baa85df16516c
/setup.py
b0321ecc04d1cf05fc2b865b3ace4e2ec66d1b32
[ "MIT" ]
permissive
recsyschallenge/2019
43910c633945539d88cdcfc783d64f5042146e11
c3a35dde4d5f3c803c716e44c3f1f5e8f58429e3
refs/heads/master
2021-07-12T06:08:16.806518
2020-04-29T09:49:14
2020-04-29T09:49:14
90,833,061
118
68
MIT
2020-04-29T09:49:16
2017-05-10T07:19:40
Python
UTF-8
Python
false
false
602
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Setup file for baseline_algorithm. Use setup.cfg to configure your project. This file was generated with PyScaffold 3.1. PyScaffold helps you to put up the scaffold of your new Python project. Learn more under: https://pyscaffold.org/ """ import sys...
[ "jens.adamczak@trivago.com" ]
jens.adamczak@trivago.com
575e8b142c93a2754ad6442049f023e2337d423d
648ed56ac573ecf8206d5df5e7ebce3eb8bdb763
/usuarios/migrations/0001_initial.py
5f98e09ed51aa38814dc7a67057988723784e72a
[]
no_license
LarissaGRosa/meumissi_final
eeef5575219e29485730a8b5fe2a16f072f1e17e
886adc8b9e55160cc76257bbb98af7db38cf8a40
refs/heads/master
2023-08-29T05:58:40.584910
2019-12-02T12:07:45
2019-12-02T12:07:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
# Generated by Django 2.2.6 on 2019-10-21 21:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "meumissi@gmail.com" ]
meumissi@gmail.com
9c9afd3e135cc465a3e280dc8aae93917bf8c46f
b80e611e74928057d032849e775bbd2d50dd27d6
/puppet/modules/eayunstack/files/q-agent-cleanup.py
1fb4a0c23ef72af9406005c1af1c1741a61f7571
[ "Apache-2.0" ]
permissive
eayunstack/eayunstack-upgrade
6d98802c94334bcd56ac81acf528b02c99dcb01c
f15669d49205c6a7de8b7b57dfcea1cbc6410b4e
refs/heads/master
2020-05-22T06:57:10.312773
2017-12-07T00:47:35
2017-12-07T00:47:35
48,354,515
1
12
Apache-2.0
2017-12-12T10:01:59
2015-12-21T06:19:37
Python
UTF-8
Python
false
false
29,639
py
#!/usr/bin/env python import re import time import os import sys import random import string import json import argparse import logging import logging.handlers import shlex import subprocess import StringIO import socket from neutronclient.neutron import client as q_client from keystoneclient.v2_0 import client as ks_c...
[ "tangch318@gmail.com" ]
tangch318@gmail.com
e8fb7c4b15125ffbf91656ba6e26fa0b454304bb
2ccba7b17b3ce15efa627ef25ff1a1e23c4b1dbd
/Week 02/PSet02 - problem_3.py
95c7a03fbbaca44e1d0bb79106a4f6e45941938b
[ "MIT" ]
permissive
andresmachado/edx-mit-6.00
ecf62954fbc2f77ad1e14e2e179e5c011ad50b1c
cbc9b1947116433d7f2a0b47935af648b3828702
refs/heads/master
2020-12-03T07:45:29.696290
2016-09-16T12:44:39
2016-09-16T12:44:39
67,264,380
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 16 09:31:26 2016 @author: andre # edX MITx 6.00.1x # Introduction to Computer Science and Programming Using Python # Problem Set 2, problem 3 # Use bisection search to make the program faster # The following variables contain values as described below: # balance - the ...
[ "csantos.machado@gmail.com" ]
csantos.machado@gmail.com
88f86d48dcdf56ff72b52bdbfef2d6666f1e97dc
fe67f7789cb632ff25025cbf034373e1f96fb17f
/python/learn-python-hard-way/demo/demo-14-prompt-and-transfer.py
70772cf3989d9dfd5d0d191b1059f9781a98e400
[]
no_license
siu91/ddu
2a75241cff2bfe74322ba2f86fc7b380ba79c01e
3756e0a286c40820e0f265ad51a34c34610ec7a8
refs/heads/master
2021-07-05T07:30:49.874509
2017-09-28T08:59:48
2017-09-28T08:59:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# -- coding: utf-8 -- # # python ex14.py Zed from sys import argv script, user_name = argv prompt = '> ' print "Hi %s, I'm the %s script." % (user_name, script) print "I'd like to ask you a few questions." print "Do you like me %s?" % user_name likes = raw_input(prompt) print "Where do you live %s?" % user_name liv...
[ "gshiwen@gmail.com" ]
gshiwen@gmail.com
e9bab44c9c61265f1fb967c6700de4b3768157eb
ef42a6d8b25820dc4745ce04c415ae25e7f3ca4f
/rtl/udp_demux.py
416bd0aa54358922b90574cb21bf1da7ac17d32a
[ "MIT" ]
permissive
sinamyth/verilog-ethernet
af363edad4b503584c1f4605c251c907fe03ec38
cf6a01fffeda33b0748f942532ad91e945d4903f
refs/heads/master
2021-01-19T17:38:43.580775
2017-07-22T18:07:23
2017-07-22T18:07:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,466
py
#!/usr/bin/env python """ Generates a UDP demux with the specified number of ports """ from __future__ import print_function import argparse import math from jinja2 import Template def main(): parser = argparse.ArgumentParser(description=__doc__.strip()) parser.add_argument('-p', '--ports', type=int, defaul...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
98e4d65023487abe3e1d25487d510bec8a565b46
84a0e742eeb89016f419b13329a4e6a1828e4d31
/001_IntroductionToCS&ProgrammingUsingPython/Extra_Problems/oop_fraction.py
235020581d1f7a8ddb21abd3e0d787229b39d430
[ "MIT" ]
permissive
dalalsunil1986/Computer-Science-Degree
e85736c8c705bb82d897519cf2339ff638bc1b5f
e2c73f35cc48bbcc2a5cc0ddc6867fd0787c6dd9
refs/heads/master
2023-03-16T18:37:31.954245
2020-02-24T17:08:47
2020-02-24T17:08:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
""" @author: Anirudh Sharma """ class Fraction(object): def __init__(self, numerator, denominator): assert type(numerator) == int and type(denominator) == int self.numerator = numerator self.denominator = denominator def __str__(self): return str(self.numerator) + "/"...
[ "anirudh03sharma@gmail.com" ]
anirudh03sharma@gmail.com
0946b605cba59cc67b6c4c1e03ab4be2d829547a
470a76fb3844612d8ee4fa2e01ef01ee6b071ca8
/Data_Engineering_Project_2/data/process_data.py
ffc36e496eec60b7f0a8efea799cad9869e7ac75
[]
no_license
sakshigoplani/DataScienceNanodegree
8aeaac613536643c89d925ea6d9a4cf3ce5a6bf6
ad8b18318813e181d5cf0895c488f550b0fe88a8
refs/heads/master
2021-07-05T03:47:14.283910
2020-12-03T19:50:27
2020-12-03T19:50:27
207,171,123
0
0
null
null
null
null
UTF-8
Python
false
false
5,094
py
############################################################################ # ## # ## # Author: Sakshi Haresh Goplani ## # Project: ...
[ "sakshigoplani9@gmail.com" ]
sakshigoplani9@gmail.com
36ed1046ec8a0ce925a42c0e4170ecd229b5ca7a
de0e136b52990d6bacc7527c755224295f294060
/SwitchWindowPkg/switchWindow.py
ff099b44852493d0626d501c7a17f7cadb826843
[]
no_license
bratva123/selenium
ca8bd6cbf61fe166e0d72376dd39bc055daee3d5
335f9d978b2da94a301f95c560c89a9c9ebe56d6
refs/heads/master
2022-09-01T09:57:45.997142
2020-05-21T02:59:27
2020-05-21T02:59:27
265,733,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
from selenium import webdriver import time class SwitchWindow(): def test(self): driver = webdriver.Chrome(); driver.maximize_window() baseUrl = "https://letskodeit.teachable.com/pages/practice" driver.get(baseUrl) driver.implicitly_wait(4) #find the parent handle ->...
[ "lavkr0403@gmail.com" ]
lavkr0403@gmail.com
b81ff148348f0ca051630b05aad80c83386d390a
373f90df7faa1c323161957893f7cc2b04fbbe28
/save_data_periodically.py
546a6c3193d86dd4221a590c41baaa55e1bd2020
[]
no_license
libingnan-rdkx/control_app
1d1b5b6a403218703597f050bfb74dd2b6a1cff7
9a7cb9bd60cf80944076cefaf4c075a3462200e2
refs/heads/main
2022-12-29T23:35:09.404241
2020-10-16T20:17:31
2020-10-16T20:17:31
304,729,483
0
0
null
null
null
null
UTF-8
Python
false
false
4,747
py
import json # import struct as st import pandas as pd import numpy as np import paho.mqtt.client as mqtt from datetime import datetime, timedelta from influxdb import InfluxDBClient client = InfluxDBClient('192.168.1.56', 8086, 'root', 'root', 'apc_db') jianwen_var_names = (['AI'+str(i)+'_APC' for i in ra...
[ "noreply@github.com" ]
libingnan-rdkx.noreply@github.com
47790afe44b154c235cfd5cf1226cb72bfdf6aaf
03a94409c32e74d796f271ad80c9bc86faa2b9db
/pom/conftest.py
d553f7b4afc8e790ca9341de78e22e33e88f1fb5
[]
no_license
acqa/epam_ta
9b0496e80e5caf98e6d9396c85bee0a9a0c741d6
715342261127e39624bfd9adfda80aac34bc162a
refs/heads/master
2020-05-22T18:33:14.610831
2019-06-10T19:55:57
2019-06-10T19:55:57
186,474,104
0
0
null
null
null
null
UTF-8
Python
false
false
2,161
py
from app.application import App import pytest import os.path import time import os #testdata base_url = "http://v999140x.beget.tech" login ="test_user" password ="12345" @pytest.fixture(scope = 'session') def app(request): fixture = App(base_url = base_url) fixture.login_page.fix_login(login = login, password = pa...
[ "reg@ac11.ru" ]
reg@ac11.ru
534a6d3743ebc5084d7a4381efa5f146340deebe
5c6bdc1915d56f1fee9b66a45365cefd097ff1f4
/challenge_3.py
645cd85ef5cd8e4cdba1fe3b01314768a428c6e6
[]
no_license
chandanmanjunath/LearnByexample
534a9e880453c316f4168c4b234165d935d2dac7
52351f7fba57ac0d0f13edb44c537131af860b60
refs/heads/master
2021-05-07T17:29:10.852798
2017-10-29T12:28:58
2017-10-29T12:28:58
108,732,377
0
1
null
null
null
null
UTF-8
Python
false
false
194
py
if __name__ == '__main__': a = int(raw_input()) b = int(raw_input()) if (a>=1 and a<=pow(10,10)) and (b>=1 and b<=pow(10,10)) : print a+b print a-b print a*b
[ "mchandanhegde@gmail.com" ]
mchandanhegde@gmail.com
5944c73b17f82c3bf11149917b9d99491d0d1e91
fe32d7054687dd3cbee99e43b32488bff262681d
/tests/checkers/projects/test_python.py
df3e48d7ae2e84ed26b25acdbb5315f67579dd4e
[ "Apache-2.0" ]
permissive
whwkong/verse
106d61f4a3a6bbabab1cdd7583c909fa48717214
0dc25222c309c780afee5cc6d5293858e5ead08e
refs/heads/master
2021-06-14T16:31:48.729895
2017-04-04T19:20:39
2017-04-04T19:20:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,275
py
""" Test `checkers.projects.python` file """ import pytest from checkers import base from checkers.projects import python class TestPythonVersionChecker: """ Test `python.PythonVersionChecker` class """ @pytest.fixture def instance(self): return python.PythonVersionChecker() def test...
[ "pawel.ad@gmail.com" ]
pawel.ad@gmail.com
3e9d9915c2093b671ab7488bbdeb9d45d5e790f6
609c5d5723adb1a2e1b846a31c63f858bfab909a
/env/bin/pip2.7
338fc56dbfe3778a95a5127d605dbd2d4a21aed8
[]
no_license
jndal12/norsetrips
71dfeb025134e666c95b251b3866dac77315c813
c13c78d9a042afdd49718626fedf3d3cdd5ab8a5
refs/heads/master
2021-01-10T09:50:00.463756
2015-10-15T19:55:30
2015-10-15T19:55:30
43,389,757
0
0
null
null
null
null
UTF-8
Python
false
false
235
7
#!/Users/navaju01/Senior-Project-/env/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "navaju01@luther.edu" ]
navaju01@luther.edu
9b1a4eab14b591308b564b66521f5014c2f337fe
3cdf86a62c6075e5d070b0a8e47823d5c8dff35e
/unbalanced_dataset/under_sampling/nearmiss.py
5ab42644560cbabda4b65743a6de596fdfa1bba9
[]
no_license
StefanKal/DarknetReport
184cc740fb0faf31a7b95346b61e51b0e534cef7
c265a04ac9d032b72a40cdebca1017ef44ca4621
refs/heads/master
2021-01-20T20:32:01.989340
2016-07-26T16:02:15
2016-07-26T16:02:15
61,836,822
0
0
null
null
null
null
UTF-8
Python
false
false
13,200
py
"""Class to perform under-sampling based on nearmiss methods.""" from __future__ import print_function from __future__ import division import numpy as np from collections import Counter from sklearn.utils import check_X_y from sklearn.neighbors import NearestNeighbors from .under_sampler import UnderSampler class...
[ "stefan.kalchmair@gmail.com" ]
stefan.kalchmair@gmail.com
bd44f0d0b5de2c6da91c93b0dc68b71f562537d1
a675114201f384c9af03faa397ae6d15b2848953
/yangiliklar/yangiliklar/urls.py
915c3fa4b4cc8173be4427d3ff5943badda04b05
[]
no_license
Zokhidjon1903/Yangiliklar
304e81ab051634d481e4a68059a5c5758ac51bac
fc3efe74dc7f2c6059b6d9ed1b2c860388d04502
refs/heads/main
2023-08-05T10:48:28.848235
2021-09-17T06:47:40
2021-09-17T06:47:40
404,962,630
1
0
null
null
null
null
UTF-8
Python
false
false
974
py
"""yangiliklar URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "z.kaytarov@gmail.com" ]
z.kaytarov@gmail.com
e3d3b04b937958d29865f0dc70681222e2ebaf49
63c02b040f95688935405e5fe342b048a7b78ae1
/project/tests/test_data_processing_funcs.py
e467f62e34c96143588286eecf700d23ef9b0498
[]
no_license
Astony/FinnalProject
e432b91f1d298e31520107f7723eae4981f4a245
96204217b541e2af4ec315f3e9a603c51684eb58
refs/heads/master
2023-07-15T05:05:05.465114
2021-08-31T20:54:33
2021-08-31T20:54:33
399,906,901
0
0
null
2021-08-31T15:50:46
2021-08-25T17:40:50
null
UTF-8
Python
false
false
1,291
py
import pandas as pd from data_processing import calc_central, city_center_coord, define_address def mock_geocoder(*args): """Mock function for geocoder to avoid requests to API""" return "Test address" def test_define_addresses_function(): """Test that define_addresses_function add address that was got ...
[ "savrushkin.aa@gmail.com" ]
savrushkin.aa@gmail.com
7a750c6e46c33e61126aeaf5efa498ab4b428e69
467018e22a423cf43fb219725aca2da489a97369
/mysite/blog/models.py
f0657242e97b5c377ff823aa845db0e37aa52fe3
[]
no_license
manrevlob/cursoDjango
d74a272dc1122693822a000a8b22fa5c5acd9092
09d9087e6c4ab149ae6a08f7b830777f47440081
refs/heads/master
2020-08-27T09:57:48.479016
2020-03-19T11:23:54
2020-03-19T11:23:54
217,325,519
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.db import models # Create your models here. class Post(models.Model): title = models.CharField(max_length=200) text = models.TextField() class Comment(models.Model): name = models.CharField(max_length=50) comment = models.TextField() post_id = models.IntegerField(default=0)
[ "manuel.revillalobo@plexus.local" ]
manuel.revillalobo@plexus.local
8b0f79b33468d21fb8ca5b0bb2e158c37b34f9c2
0db038dc04fe5998539c362164c78a868d7db5d7
/MPC_Mppi_Main.py
a49d94f286a2a306378084842cb7db86d5c30fb1
[]
no_license
ZhihuLi/LSTM_MPC_master1
5ef1749dfa6e0507a8beaf486bc359dda9a45500
e04a2ae49f1a0a98094849539db9b5b79f00b354
refs/heads/master
2022-12-09T02:11:06.951203
2020-09-01T04:25:45
2020-09-01T04:25:45
291,895,192
0
0
null
null
null
null
UTF-8
Python
false
false
2,280
py
import matplotlib.pyplot as plt from MPC_Mppi import MPPI mppi = MPPI(512, 200, 0.5) """ 目标形状设立1500个时间步 """ STEP_LIMIT = 600 def get_real_shape(): h_real, w_real = mppi.get_real_shape() return h_real, w_real def mppi_main(h_target_list, w_target_list): h_target_list_ = h_target_list w_t...
[ "18810723878@163.com" ]
18810723878@163.com
6b4ab0a7e10c34f653dd28cfdf289ca292364259
7e4425342a4d7e0f40978af17091f32d2712c79c
/Day_36_01_Word2VecBasic.py
06bed965a1102af98a5115949451121c9d0eb08e
[]
no_license
yunhui21/CB_Ai_NLP
eca3da00c6c9615c8737b50d2c5ebe8dd1e3ba8a
b66ecc24abfd988fc9e7f19fa1941826b1bf38a4
refs/heads/master
2023-01-07T14:21:26.758030
2020-11-16T05:57:30
2020-11-16T05:57:30
291,835,156
1
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
# Day_36_01_Word2VecBasic.py # onehotvec 클래스의 수만큼 숫자로 단어를 볂솬 - 현실적으로 클래스의 개수가 너무 많다. # ''' skipgram : ''''' # end 위치를 구하세요. # 전체위치에서 target범위만 제거하세요. def extrast(token_count, target, window_size ): start = max(target - window_size, 0) end = min(target + window_size + 1, token_count) return [i for i in ran...
[ "yunhui21@gmail.com" ]
yunhui21@gmail.com
f371d214be53eb924a2b6d24f2fe272f6fea4898
5214ed20be64aea19f5c874c4ea80ab28b606d8c
/lookup/data/test.py
970893e164e5dc279f6ce0e818e93cbc95c2dd0f
[]
no_license
eknuth/timezone
618456d7482118afa446ed43a26d6f7df635afb4
39cf523afc9eed42a906a16f7cf61a0d48dd74bc
refs/heads/master
2021-01-10T19:01:48.587584
2010-04-16T10:47:11
2010-04-16T10:47:11
607,268
1
0
null
null
null
null
UTF-8
Python
false
false
393
py
import urllib2 from urllib import urlencode f = open('cities.txt') for line in f: (city, lon, lat) = line.split("\t") url = 'http://timezone-lookup.com/' args = {'coords': "%s,%s" % (lon, lat)} full_url = '%s?%s' % (url, urlencode(args)) try: response = urllib2.urlopen(full_url) p...
[ "eknuth@macbookpro.local" ]
eknuth@macbookpro.local
faf00bf81ee5c667d58a600dd389512ea52f1789
2a5241bd7ddda9bc661f59f488886049aa104ab1
/ExecutionCodes/dag2.py
10f01e8c605ddb1b7f0442e4bc74b511606fba3b
[]
no_license
Avighan/PythonCreatives
00d51c67b6c95d0096f5fedaaa879e2c9958be3e
f75ddb4efe0516339b6fbb4d1fbd50e4090c6213
refs/heads/master
2020-12-12T16:01:05.564287
2020-02-05T22:55:32
2020-02-05T22:55:32
234,167,944
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
import sys import os sys.path.append(os.path.join(os.path.abspath('.'), '')) sys.path.append(os.path.join(os.path.abspath('..'), '')) sys.path.append(os.path.join(os.path.dirname(__file__), '.')) sys.path.append(os.path.join(os.path.dirname(__file__))) from script import TemplateExecutor as te import pdb from...
[ "noreply@github.com" ]
Avighan.noreply@github.com
fd9582f9639ce68f96b70af3736a5014325c555c
2ea49bfaa6bc1b9301b025c5b2ca6fde7e5bb9df
/contributions/Starkman9000/python/Data Structures/2016-10-01.py
ccf039b16b39393d44244265885006e6533ab489
[]
no_license
0x8801/commit
18f25a9449f162ee92945b42b93700e12fd4fd77
e7692808585bc7e9726f61f7f6baf43dc83e28ac
refs/heads/master
2021-10-13T08:04:48.200662
2016-12-20T01:59:47
2016-12-20T01:59:47
76,935,980
1
0
null
null
null
null
UTF-8
Python
false
false
123
py
Double ended queues with `deque` `Module`s everywhere! Get the most of `int`s There is more to copying `queue`s and threads
[ "starkman9000@gmail.com" ]
starkman9000@gmail.com
90ec8572ac7dbc56cb8b0885e25dd3a9dcc8e28c
b6e90e33a51fa9b7b9901e7adeafdc005247ad99
/working_gnumpy.py
6d2cc1849c31c654429a2edbbd9d492a9cac85d5
[]
no_license
rasoolianbehnam/gpu_experiments
3394313ef724fec6063632729046c6bae2c4a518
c8fbe332741cfd2ec9fad113336c97363dbfa58c
refs/heads/master
2020-03-09T19:01:09.418706
2018-05-09T17:45:32
2018-05-09T17:45:32
128,947,206
0
0
null
2018-05-09T17:45:33
2018-04-10T14:33:37
Python
UTF-8
Python
false
false
16,630
py
# coding: utf-8 # In[1]: import numpy as np import time import os.path def mat_pow(a, k, b): if k == 0: m = np.eye(a.shape[0]) b = m * 1. elif k % 2: m, b = mat_pow(a, k-1, b) m = a.dot(m) b += a else: m, b = mat_pow(a, k // 2, b) m = m.dot(m) ...
[ "bzr0014@kraken.cse.eng.auburn.edu" ]
bzr0014@kraken.cse.eng.auburn.edu
74561a66252dde406de5ceda8055f0be1640a2cd
ea94c9baf90064c3b81750298f8d328316c3eea0
/app.py
627e6e2a04dace40be920fabd31e2a6b7e9bc2c9
[]
no_license
SanUni2020/Site
21a0548f5d8fd5e8dd719bca95e13b3aa1debbd1
11be2b1a587bc942bdfbace1124e05a3c60fb445
refs/heads/main
2023-09-06T10:10:58.614870
2021-11-12T05:18:00
2021-11-12T05:18:00
427,230,444
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from flask import Flask, render_template app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/mensagem") def mensagem(): return render_template("mensagem.html") @app.route("/obrigado") def obrigado(): return render_template("obrigado....
[ "noreply@github.com" ]
SanUni2020.noreply@github.com
34e841d5c42c6b380b140a639e8f172775f27cef
f4c383a560ab431857dbab5289d599696d444d7a
/email_automation.py
8a7f9af397cf8f1bdaeb99621004ab118eb45ed0
[]
no_license
codewithkushagra/webautomation
8a76f215be36074129b3ed3b2c964298d7bf6e10
3b300071398a764e146c0b4bc2fd10bc0517d1f0
refs/heads/master
2023-05-02T18:42:01.504806
2021-05-26T08:00:56
2021-05-26T08:00:56
370,952,769
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import smtplib server=smtplib.SMTP_SSL("smtp.gmail.com",465) list_emial=["mehuljaiswal2012@gmail.com","kushagraagra008@gmail.com",] server.login("kushagraagra008@gmail.com","25march2020l") server.sendmail("kushagraagra008@gmail.com",list_emial,"Hey Naresh, This email is generated using python") server.quit()
[ "kushagraagra008@gmail.com" ]
kushagraagra008@gmail.com
40418aedeb61c774d2392e8c3ea4cd197f762866
0bb329b86e86f05ac9057669a172b64cb7b01936
/practice/myThirdTwo.py
7c4f01230953962ba8500ef795577646816202e6
[]
no_license
ptallrights/python
6426280f3f49b16c5624a5c8e26e0e9d56982486
bf100cefa6a22b5b9c267940b120cda8a1ae8402
refs/heads/master
2021-01-20T19:42:21.884791
2016-07-28T14:00:11
2016-07-28T14:00:11
61,192,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
#!/usr/bin/python 'myFirstOne.py -- create text file' import os ls = os.linesep all = [] fname = raw_input("please input a filename:") #get filename #while True: if os.path.exists(fname): read = raw_input("Are you xiugai the file(r(read) or w(write)):") if read == "r": try: fobj = open(fname,'r') except IOErr...
[ "ptallrights@163.com" ]
ptallrights@163.com
1e17cd4603703f78fef3307911e3585ea18568ef
fa5713863cada0177d15e56f5327b79d907a119f
/test/plot_jmrs_trkeff.py
c1a348b41ca20f15dabf50e782c2d4a5aaeef348
[]
no_license
rappoccio/EXOVV
1500c126d8053b47fbc425d1c2f9e76f14cb75c5
db96edf661398b5bab131bbeba36d331b180d12d
refs/heads/master
2020-04-03T20:12:57.959191
2018-08-24T01:30:03
2018-08-24T01:30:03
39,910,319
4
2
null
null
null
null
UTF-8
Python
false
false
2,419
py
#! /usr/bin/env python ################## # Finding the mistag rate plots ################## from optparse import OptionParser parser = OptionParser() parser.add_option('--postfix', type='string', action='store', dest='postfix', default = '', help='Postfix for pl...
[ "rappoccio@gmail.com" ]
rappoccio@gmail.com
c5093f06d78421e5e06a8db7730c58cbcafd1e0d
39bef50ed12468e57ad94a8e2551da6c7c45c8ed
/networkx/drawing/nx_pylab.py
b96ab87ca39c0e2b1a8f38fc8a0858575319078d
[]
no_license
biancini/Rorschach-Test-Platform
b1a5dfdbe5a15a68ce4dcf66887346fbf2e94169
7ae68e1054637046278325eaa419b23f09b420d3
refs/heads/master
2020-05-17T11:00:13.889678
2012-04-11T16:31:19
2012-04-11T16:31:19
3,789,381
1
2
null
null
null
null
UTF-8
Python
false
false
27,792
py
""" ********** Matplotlib ********** Draw networks with matplotlib (pylab). See Also -------- matplotlib: http://matplotlib.sourceforge.net/ pygraphviz: http://networkx.lanl.gov/pygraphviz/ """ __author__ = """Aric Hagberg (hagberg@lanl.gov)""" # Copyright (C) 2004-2010 by # Aric Hagberg <hagberg@la...
[ "andrea.biancini@gmail.com" ]
andrea.biancini@gmail.com
4448d6c8c421b18d7c9450edff543c95675794b8
426e56d0d15dfb9609dc31e273baa2cc0d249fdd
/certificates/custom_components/mikrotik_router/switch.py
d535829ebfb2a705abcd945370be0380f137c179
[]
no_license
hellad/hass-config
24689dbf61446e2a9cf2d216c933242a4bdec7e8
3988d204908478996fffa433faffa9ea20f42562
refs/heads/master
2023-03-19T14:41:24.300034
2023-03-05T20:33:31
2023-03-05T20:33:31
234,546,187
3
0
null
null
null
null
UTF-8
Python
false
false
19,639
py
"""Support for the Mikrotik Router switches.""" import logging from typing import Any, Optional from collections.abc import Mapping from homeassistant.components.switch import SwitchEntity from homeassistant.const import CONF_NAME, CONF_HOST, ATTR_ATTRIBUTION from homeassistant.core import callback from homeassistant....
[ "hellad@mail.ru" ]
hellad@mail.ru
09d70ca1cd460017689f474fdcbd45bf0bcc7163
9cca8467e3aff199470b4eb7d83b2f495994e70d
/Week 3/using_tuples.py
3b05c5ed6d6b3445ec97d0b313fcfda83b6f6500
[]
no_license
andrewlee21/PythonFundamentals
78d2424647e4179893781443eddecae51212553b
c136018d8fe6333b45adcb33fb1007b61bd276b7
refs/heads/master
2023-08-14T08:14:55.024623
2021-09-16T04:04:24
2021-09-16T04:04:24
397,338,859
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
my_tuple = (1, 2, 3, 4, 5) print(my_tuple[0] + my_tuple[1]) print(my_tuple[-2] + my_tuple[-1]) my_tuple = (5, 4, 3, 2, 1) print(my_tuple)
[ "andrewlee21@sbcglobal.net" ]
andrewlee21@sbcglobal.net
7594dd6e8da2e44e17b6c1fed236f6cf84c16ad0
4746567b5d576fd67063390fed9f834637ee5282
/Assignment3/Assignment3.py
de660edecc6c2848290d3984f82be0f63d6f3d3f
[]
no_license
abaez004/Python-Assignments
0d0ff415577a2a91f848cbfe00de79af3b88214b
7a13bef2b05e5800681ca13a331ec011a7b3bce5
refs/heads/master
2020-06-12T20:46:27.579627
2019-06-29T15:34:29
2019-06-29T15:34:29
194,420,772
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
#Angel Baez 9:30 AM Lab Assignment #3 #gets input from the user and validates using exception handling def collatz_input(): try: n = int(input("Enter a positive integer for n: ")) if n > 0: return n else: print("Your value must be a positive integer") e...
[ "noreply@github.com" ]
abaez004.noreply@github.com
398a3b22c9a8d2f74c15036657c9e1d26e1f740c
a207fa961aec11d332b7402dfe1ecbc4b9690b0a
/portfolio/managers.py
f8549501fdccdac50db71020f0994cc9f2ccfa8c
[]
no_license
powellc/django-portfolio
20157d1ae931e51de4542fe9e0797d763347242a
9cc6ff1f422694748fe82670ddf4cb4f667a3b94
refs/heads/master
2016-09-05T12:44:52.186559
2010-04-24T13:02:25
2010-04-24T13:02:25
280,024
0
1
null
null
null
null
UTF-8
Python
false
false
194
py
from django.db.models import Manager class PublicManager(Manager): """Returns only public projects.""" def public(self): return self.get_query_set().filter(is_public=True)
[ "colin@rubyvroom.com" ]
colin@rubyvroom.com
81b39ea51e3e4b438201223cb69948e960c76bc3
ccf8041c43e7ac94c5e4bb24379da62a8e0ecbb0
/rsl_reader.py
7c879149e6e3c7fcc9b599954656449da59c1c4e
[]
no_license
letrecf/psa_tools
8634a789868a527c6f2b09e09010434a7048cb51
5da8941e14e1147b45ca7a1dc43b3ec8d1af205b
refs/heads/master
2021-01-09T20:47:50.893648
2016-09-24T10:13:32
2016-09-24T10:13:32
63,040,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import codecs import logging import hanging_indent_data import unstructured_text class rsl_reader(object): def __init__(self,filepath,logger): self.filepath = filepath self.logger = logger def read_logic(self): try: input = unstructured_text(self.filepath,self.logger).get_section...
[ "letrecf.git@gmail.com" ]
letrecf.git@gmail.com
5c1d8d1ebbdd0dcdabd40b7527d769a8a03f1b4b
a522e109b81b49729b9f67749315a6889482318f
/utils/diayn_gym_env_fixed.py
1e3730429a48b8125e3c728735fdcba67e372158
[ "Apache-2.0" ]
permissive
ademiadeniji/lords
1b166ffdd0ad91e5261d5885fb694d502e722d17
75ce115ec7f950d857d0817eb0adf2cc2673ffdd
refs/heads/master
2023-06-29T15:46:58.396324
2021-08-04T19:21:32
2021-08-04T19:21:32
377,057,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
"""Gym wrapper for training the DIAYN agent. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import pdb import gym class DiaynGymEnvFixed(gym.Env): """Gym wrapper for training the DIAYN agent. Augment the observation by adding a randomly samp...
[ "ademiadeniji7@gmail.com" ]
ademiadeniji7@gmail.com
b9976fcc8a187ef1316be16450346f233bf79a7e
738a072f2cd6969c30a89fc9c72a8af3995df076
/allRunn.py
812eb7a8304239ba54330c7c267948fa32a7967e
[]
no_license
yagniksuchak2/CodeParser
69465da3f954582fc1e1a8adf3bfb57e3cc4034e
2a23e6bde0da628a5b88518a67ee3ca934966849
refs/heads/master
2020-04-05T23:16:24.985001
2015-08-19T21:11:36
2015-08-19T21:11:36
40,984,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
#get the path of directory in which project directories are there. Assume dirsPath #rootdir ='C:\Users\Yagnik\PycharmProjects\Top_Project' import os import sys import ghProc from logChunk import getExceptionKeyword #print os.listdir(rootdir) # for subdir, dirs, files in os.walk(rootdir): # print dirs def mai...
[ "yvsuchak@ucdavis.edu" ]
yvsuchak@ucdavis.edu
ae321959d0b8067b5c41602c292802fbc60f6630
a7493491dcba9f7d8b9df81b962d05ac1a4bddec
/RGB2LAB.py
c0a7177b5b2fde25883879d2db31feca98a1968a
[]
no_license
anupam54/Work4Project
5a5238a8d9d560727c44fc5e070451f69c06554a
d88fd6fb21602ddbdb7bfe53bb788e8b1811d56f
refs/heads/master
2022-12-26T01:55:46.171667
2020-09-13T15:44:08
2020-09-13T15:44:08
289,264,731
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 13 16:14:32 2020 @author: hp """ # -*- coding: utf-8 -*- """ Created on Fri Aug 14 19:44:07 2020 @author: Anupam kumar """ import cv2 import glob path = "Images/*" for file in glob.glob(path): print(file) a = cv2.imread(file) print...
[ "noreply@github.com" ]
anupam54.noreply@github.com
4c4049acf8a5bd9784df24cdbcf11053a25a8765
e4ae4d2afd49a5402b87657f972274e7e8b46d57
/fav.py
930ffc3eea40df426a065f1cc8f511485ebe12cf
[]
no_license
samyoungnyc/fav_twitter_custom
a7e8770858ef67eb70b83eac4bd719a9bca7d32a
d088d673433a04d2a44bb8934a79ab1fb460ddc5
refs/heads/master
2016-09-01T19:42:24.162151
2013-08-15T19:43:46
2013-08-15T19:43:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
import twitter #import the twitter module api = twitter.Api(consumer_key='', consumer_secret='', access_token_key='', access_token_secret='') # obtain your keys from Twitter API and enter them here f = open('last_used.conf', 'r') # set var f to open last_used.conf and (r)ead id = f.readline() # reads a line, a...
[ "sambyoung@gmail.com" ]
sambyoung@gmail.com
a4448c0b73dc933cb006ddbd60296702015f389e
a0b4ea4ace7b3c14a43815d8e891e74c4d02d346
/net/combined_loss.py
84fa526efec39c74fd7678cb74cbbac6f8e6f473
[]
no_license
greenwolf-nsk/tgs-salt-identification-challenge
d7e908491a4f05a59fdab8c7c8b508bec2031e79
07838e76d2027373425b0f97f74979bae1fbc9dc
refs/heads/master
2020-04-02T05:09:37.637029
2019-04-10T13:12:30
2019-04-10T13:12:30
154,055,314
7
1
null
null
null
null
UTF-8
Python
false
false
3,332
py
import torch import torch.nn as nn from .lovasz_loss import lovasz_hinge class BoundaryLoss: def __init__(self, weights: tuple = (0.1, 1)): self.boundary_loss_fn = nn.BCEWithLogitsLoss() self.segmentation_loss_fn = nn.BCEWithLogitsLoss() self.weights = weights def __call__(self, out...
[ "greenwolf.nsk@gmail.com" ]
greenwolf.nsk@gmail.com
6fd20aa2da6073c474f234458c001826634eb8e6
356a3a5484f6e508b071fcad318ca3c28eff8589
/examples/example_depth.py
3aedc0dc3d84cb09d106474b828b166a5e366d5b
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
HighLordGame/FaceEngine
0fe20d5f3a7480912627266c1fb219ca1e30fbbb
7315e413b03a2234017b20a1fbe85b567397e81f
refs/heads/master
2023-06-07T22:04:23.351402
2021-06-25T04:19:45
2021-06-25T04:19:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,897
py
import sys import argparse import cv2 import numpy as np #Parse arguments and load additional modules parser = argparse.ArgumentParser(description = 'Luna SDK realsense depth demo') group = parser.add_argument_group('Required arguments') group.add_argument('--data', required = True, help = 'absolute path to Luna SDK d...
[ "a.balashov@visionlabs.ru" ]
a.balashov@visionlabs.ru
10f0e4d1efac1de782eb9787d553aaa17c0cf94c
2976c5e9c534ace3e25674ace113ed3d920cc05c
/progress_bar/tests/test_progress_bar.py
084f7792e05ff5156a81e9757bd5cc0406e94a1d
[]
no_license
nstanger/process_podcast
cc1d5d3813dc002b52a2cf169bf2d378bfb83952
16761c7dc62b036decedd67c24529d198b9d2a85
refs/heads/master
2021-08-28T15:47:49.280134
2021-08-23T10:30:30
2021-08-23T10:30:30
68,779,493
0
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
from contextlib import contextmanager from io import StringIO import sys import unittest from progress_bar import ProgressBar @contextmanager def captured_output(): """Capture stdout and stderr so we can assert against them.""" new_out, new_err = StringIO(), StringIO() old_out, old_err = sys.stdout, sys....
[ "nigel.stanger@otago.ac.nz" ]
nigel.stanger@otago.ac.nz
504bb84fc68bf1dfd94876a59dc581ff3a921147
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2846/60586/295434.py
e2875119305df6adbc78001b5fc61b6eda843866
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
399
py
def test12(): n=int(input()) s=input() x=s.split(" ") arr=[] for i in x: arr.append(int(i)) zero=arr.count(0) if s=="1 1 1 1 1": return 1 if s=="0 0 0 0 0 0 0": return 0 if zero==len(set(arr)): return 0 if(len(set(arr))==22): return(21) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
d4973cc9c7c20802539e2bc13e2c21912770668e
7b5a2a0c8ba4943002a06445689024fc619d4ab1
/start-server.py
6bd2e13bc7b858c0c8cb22e86322e67f530b0ffd
[]
no_license
behroozomidvar/INTEX-2
e0b8c43fe23c0b408286cbebe54bd63fc81dc378
a99543af78640cc35bcd18b122c334cd4420537a
refs/heads/main
2023-08-14T23:02:33.140357
2021-09-24T13:23:49
2021-09-24T13:23:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
import uvicorn from server.main import * uvicorn.run(app, host="0.0.0.0", port=8080)
[ "behroozomidvar@users.noreply.github.com" ]
behroozomidvar@users.noreply.github.com
9feef2069d45122ef67fc6486e6dcc02591ab879
89096c0bfae0bb08d03ed52b281bd6d51b3bcad1
/template/usr.share.vim.vim73.plugin.js-beautify/python/jsbeautifier/tests/testjsbeautifier.py
001ccfa2e2471385a04a389d867b5eeedeea9227
[ "MIT" ]
permissive
visi-pivi-sivi/PI6
e46ff1060b3d458a4366123dabab53ab07cc01ea
9fa9baf36b33fa719956b94d7fd0a09f6fb251e8
refs/heads/master
2021-01-10T20:29:47.314852
2019-12-31T03:01:20
2019-12-31T03:01:20
23,481,403
2
0
null
null
null
null
UTF-8
Python
false
false
53,083
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import re import unittest import jsbeautifier class TestJSBeautifier(unittest.TestCase): def test_unescape(self): # Test cases contributed by <chrisjshull on GitHub.com> test_fragment = self.decodesto bt = self.bt bt('"\\\\s"'); # == "...
[ "dearwill@outlook.com" ]
dearwill@outlook.com
5abbfb92bebe2926a9fbaeed80d3c343edc5ecd4
9be74fed44caef7bd9a8913b872911564cbdd5f2
/BaseDeDatos/Semana4/call_terceraui.py
7414cc1d7696b8bfbd8453d90f70ae0328333a78
[]
no_license
Genshzkan/ToulouseLautrec
c19e8572620728d69857233ec2e2dfa23f63a007
33ff93bfadf65d0ae13e4c6e6c61c9fcfd22c3bc
refs/heads/master
2022-10-10T18:21:01.061019
2020-06-14T15:15:24
2020-06-14T15:15:24
260,724,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
import sqlite3, sys from PyQt5.QtWidgets import QDialog, QApplication from sqlite3 import Error from terceraui import * tabledefinition="" class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) self.ui.pushButtonCreateTable...
[ "noreply@github.com" ]
Genshzkan.noreply@github.com
35197901f27c1fbf3371fa2e0dd9b5bb490cac04
43c653032caee6e440c4a62ca953a43159872652
/bin/scripts/entities/counter.py
e43048d5d3fdd457815e8834532009cd107424bd
[]
no_license
KentMadsen/Private-Scraper
a39b23c552b86dba9629374be4500d1ec853d1a4
2230c0e2b79cc99389a344069a44265068dff029
refs/heads/master
2020-08-07T13:04:51.232139
2019-10-08T14:01:05
2019-10-08T14:01:05
213,461,958
0
1
null
null
null
null
UTF-8
Python
false
false
755
py
zero = 0 movement_size = 1 class Counter: global zero, movement_size """ """ def __init__(self): self.value = zero self.movement = movement_size def increase(self, variable_value): self.value = self.value + variable_value def increment(self): self.increase(self.mo...
[ "20760795+KentMadsen@users.noreply.github.com" ]
20760795+KentMadsen@users.noreply.github.com
a4b1c54b4bb3f7c5e696da947123729e9367eee1
29c3595a4e1f8de9382650610aee5a13e2a135f6
/venv/Lib/site-packages/django/views/decorators/cache.py
773cf0c2c67412bd30b50ad90f517d50dbab8552
[ "MIT" ]
permissive
zoelesv/Smathchat
1515fa56fbb0ad47e1859f6bf931b772446ea261
5cee0a8c4180a3108538b4e4ce945a18726595a6
refs/heads/main
2023-08-04T14:47:21.185149
2023-08-02T15:53:20
2023-08-02T15:53:20
364,627,392
9
1
MIT
2023-08-02T15:53:21
2021-05-05T15:42:47
Python
UTF-8
Python
false
false
1,705
py
from functools import wraps from django.middleware.cache import CacheMiddleware from django.utils.cache import add_never_cache_headers, patch_cache_control from django.utils.decorators import decorator_from_middleware_with_args def cache_page(timeout, *, cache=None, key_prefix=None): """ Decorator for views ...
[ "ZoomLee@users.noreply.github.com" ]
ZoomLee@users.noreply.github.com
c6c2dc5894b4ae4053e691e30c01a290561dc8d3
228b514d129506adffb354314d8ce1b2c382aabb
/core/migrations/0004_auto_20211020_1615.py
3d5f3b7c2ce2e7bcf269cee07677f94e7a24842d
[]
no_license
sannjayy/chat-support-django
1bab78d28380d3e86db61187af086408d85e6878
7473632d6534afab22dad1b3b7c17a5afda0983f
refs/heads/master
2023-08-31T09:53:08.316121
2021-10-27T12:36:05
2021-10-27T12:36:05
418,448,166
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
# Generated by Django 3.2.8 on 2021-10-20 16:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20211019_1601'), ] operations = [ migrations.AddField( model_name='user', name='mobile', ...
[ "znasofficial@gmail.com" ]
znasofficial@gmail.com
28ec052e9c58a50f9db14275c3fe505405877f48
dd098f8a93f787e38676283679bb39a290ba28b4
/samples/openapi3/client/3_0_3_unit_test/python-experimental/test/test_models/test_anyof.py
197c3449a9e49196e0d0dc3b0844ab50910bddba
[ "Apache-2.0" ]
permissive
InfoSec812/openapi-generator
727c0235d3bad9b85ac12068808f844287af6003
e0c72702c3d5dae2a627a2926f0cddeedca61e32
refs/heads/master
2022-10-22T00:31:33.318867
2022-08-20T14:10:31
2022-08-20T14:10:31
152,479,633
1
0
Apache-2.0
2023-09-04T23:34:09
2018-10-10T19:38:43
Java
UTF-8
Python
false
false
1,385
py
# coding: utf-8 """ openapi 3.0.3 sample spec sample spec for testing openapi functionality, built from json schema tests for draft6 # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by: https://openapi-generator.tech """ import unittest import unit_test_api from unit_test_api.mode...
[ "noreply@github.com" ]
InfoSec812.noreply@github.com
aef367a09899eddb180510197ba842dab8c3c751
fbcf404d37e3d608f2896a6044384cfcdf14e750
/coref.py
8c11a9ff9fe3a1393aef6c853366860a523d9c7f
[]
no_license
TGDivy/Towards-unlabelled-Entity-Detection
40bf5768fe1439c9ad14b6f77ef04a0852a2b241
d04a5471f3f89f06c29de5f9874778d4c8d0bc6f
refs/heads/main
2023-08-24T23:09:46.177036
2021-10-05T17:32:50
2021-10-05T17:32:50
413,900,302
1
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
import json import random import requests import seaborn as sns from spacy import displacy class Display: def __init__(self) -> None: pass def run(self, dic, text): self.categories = list(dic.keys()) self.label_color = self.color_label_dict() text, spans = self.get_spans(tex...
[ "divy.bramhecha@adarga.ai" ]
divy.bramhecha@adarga.ai
a904290ec8ed97238dff5bff3c599df824611c11
02e23da0431623db86c8138bda350a1d526d4185
/Archivos Python Documentos/Graficas/.history/ejecutable_20200216215432.py
dfa14620e68d6ef4a0639d6914525ed6612644cf
[]
no_license
Jaamunozr/Archivos-python
d9996d3d10ff8429cd1b4c2b396016a3a5482889
1f0af9ba08f12ac27e111fcceed49bbcf3b39657
refs/heads/master
2022-08-05T14:49:45.178561
2022-07-13T13:44:39
2022-07-13T13:44:39
244,073,267
0
0
null
null
null
null
UTF-8
Python
false
false
3,272
py
import pylab as pl import numpy as np # Crear una figura de 8x6 puntos de tamaño, 80 puntos por pulgada (Se modifica a 16x8) pl.figure(figsize=(16, 8), dpi=100) # Crear una nueva subgráfica en una rejilla de 1x1 (se podrian crean una de dos graficas en una reijlla) pl.subplot(1, 1, 1) # Obtencion de datos para seno y...
[ "jaamunozr@gmail.com" ]
jaamunozr@gmail.com
9d84cac07d4408083b05d8d295ccfd35d8e5d30a
bec582ead54db4e903d792850c8cbc869879769b
/lib/TransParser.py
ed4f3ccd66edd236c87cbb3f9e2c26d3636bb691
[]
no_license
MattDiesel/staticpress
1c787d02feca83267bf622b2573b68f7083bb366
3b2c53549f2653e22582b8771655589efebd4a98
refs/heads/master
2021-01-10T19:43:27.011386
2012-09-18T20:34:14
2012-09-18T20:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
from html.parser import HTMLParser class TransParser(HTMLParser): def __init__(self, strict = False, reps = None, outs = None, sc = True): self.rep = reps self.outStream = outs self.stripComment = sc self.rep.parser = self HTMLParser.__init__(self, strict) def feedf(self, file): f = open(file, "rt", e...
[ "M@ttDiesel.co.uk" ]
M@ttDiesel.co.uk
7f9523279e54933a282f53790b3106e4f5825bdf
9fea90e6756eeb1f67c71fbb9b893fbf8e3821b1
/catalogue/settings.py
a6bfb1f6963d57c8a0556f7431fd95d896649a73
[]
no_license
a-romald/scrapy-mysqlclient
169c88fa6993edb3d7070e79636b0f5d90ead467
86c1773e4e6c6036fb604e86cbd165ec0eea348f
refs/heads/master
2021-04-28T19:36:31.185284
2018-02-17T23:52:09
2018-02-17T23:52:09
121,901,104
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# -*- coding: utf-8 -*- # Scrapy settings for catalogue project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/top...
[ "a_rhoma@mail.ru" ]
a_rhoma@mail.ru
6796f3024c4ba730e5ec237035170e0320b726cc
133a1604e67507fdc5b3396303d84c98f1222eaf
/thanos/bin/pip
f95161d98d14c0efb3d9ac1654ffdda914cd589a
[]
no_license
junniepat/Python-Car-Rental-
fb72e8aad97d8e5a8530d392d4b4ba6722844d78
0e197df7f10b1caf344df70b1361f88f3e865137
refs/heads/master
2020-12-05T03:15:58.457401
2020-01-05T23:38:49
2020-01-05T23:38:49
231,994,340
0
0
null
null
null
null
UTF-8
Python
false
false
268
#!/Users/bobby/Desktop/Car_Rental_Project/CarRental/thanos/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "emmanuel.amadi@lloydant.com" ]
emmanuel.amadi@lloydant.com
fcfe732e166431bbb85b5f073a245161e166f9a1
8c24d0ac619a2e83e574bb0bf9172b21bc6a06a6
/Dialog/WaferInkDialog.py
70428730352cd67d0e29894783d338ce9db72402
[]
no_license
qiujian3328103/pySortMap
7142e02158a7fbb080c7132b59511511423af5bf
c013ba6bea2e16c286401261a3c15622871a0aee
refs/heads/master
2023-09-04T10:56:12.908632
2023-08-21T05:34:08
2023-08-21T05:34:08
363,678,584
5
1
null
null
null
null
UTF-8
Python
false
false
12,783
py
from PyQt5.QtCore import pyqtSignal from PyQt5.QtGui import QColor, QPixmap, QPalette from PyQt5.QtWidgets import QDialog, QApplication, QColorDialog from UI import Ui_Ink_Dialog class ShowInkDialog(QDialog, Ui_Ink_Dialog): ink_signal = pyqtSignal(dict) close_ink_dialog_signal = pyqtSignal(bool) def __in...
[ "Ethan.qiujian@gmail.com" ]
Ethan.qiujian@gmail.com
07ac073b25aff0899c09b1e6f460eb15191384c5
7c4c82ccbcfff21ea5dd40644ccd3ca674ec2be8
/bin/protoc-gen-lua
982b7e3ec091867143443327f95c4e20b3392ed7
[]
no_license
konser/go-pack
22d517e15e9e1d288a3c395cd14b8dc15f178ffe
a40a5c4809a7c3e861b2dc4910b13cf41a2281f2
refs/heads/master
2023-03-12T06:23:53.175212
2021-03-01T02:53:20
2021-03-01T02:53:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,935
#!/usr/bin/env python # -*- encoding:utf8 -*- # protoc-gen-erl # Google's Protocol Buffers project, ported to lua. # https://code.google.com/p/protoc-gen-lua/ # # Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com # All rights reserved. # # Use, modification and distribution are subject to the "New BSD License" #...
[ "zhaizhao@qq.com" ]
zhaizhao@qq.com