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
53d39e3c02a0b7669c421ea057be09d75910efd8
2d0a363ff1b4f25eee426240c7daa4ecb8624ae2
/worker/worker.py
fbed5b9d11a2a771edbac2224ab5e494215ea448
[ "MIT" ]
permissive
JoaoOliveiracc/email-workers
b0e03d2b254e7048740c3d7e8671a986db5db54b
01056a49fc3cb07f72229aa3302a69dbf3ce6b4b
refs/heads/main
2023-07-10T23:48:01.527716
2021-08-12T18:40:40
2021-08-12T18:40:40
394,717,553
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
import redis import json import os from time import sleep from random import randint if __name__ == '__main__': redis_host = os.getenv('REDIS_HOST', 'queue') r = redis.Redis(host=redis_host, port=6379, db=0) print('Aguardando mensagens ...') while True: mensagem = json.loads(r.blpop('sender')[1...
[ "ccjoao_monteiro@outlook.com" ]
ccjoao_monteiro@outlook.com
c2bf56a3ceec33b4a9d53a9de7325c9bd31e5b8f
4add63c577afc3a59868270638c5eb0b9e0f06d3
/tonyai.py
04dda794f9e40d293f718fbfde69e2f3ae5514fa
[]
no_license
iamkaushalkb/speech-ai.py
81bc60cf5ffd6b04176a6ebd2b374057890dbbed
107c602a76c50c67dc8b12e598362c1402658089
refs/heads/main
2023-04-19T14:01:45.842636
2021-05-19T14:28:34
2021-05-19T14:28:34
368,897,603
0
0
null
null
null
null
UTF-8
Python
false
false
2,748
py
# importing modules import pyttsx3 #pip install pyttsx3 import speech_recognition as sr #pip install speechRecognition import datetime import wikipedia #pip install wikipedia import webbrowser import os import smtplib # speech_voice engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') engin...
[ "noreply@github.com" ]
iamkaushalkb.noreply@github.com
326ed5f20e169492c82dbb1a6a2055189f6db873
c7b303929bd02fbc750e34eafe918ee1962ea0b4
/offline/signal_processing/preprocesssing_.py
554d25b1d5a55283a2faad2b993c739b61ec91f0
[]
no_license
io0/Milo
9d5fa9318748a2959e737694979619893881a4ad
e58b17138c88975b9a631226b09ad5dcecbdb99c
refs/heads/master
2022-12-10T01:07:19.547660
2019-04-28T22:29:34
2019-04-28T22:29:34
183,957,667
3
1
null
2022-12-09T21:41:42
2019-04-28T20:52:08
JavaScript
UTF-8
Python
false
false
9,126
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 27 09:21:25 2019 @author: jenisha """ import numpy as np import pandas as pd import re import matplotlib.pyplot as plt import matplotlib.mlab as mlab from scipy.signal import freqz from scipy.signal import butter, lfilter class...
[ "marleyxiong0@gmail.com" ]
marleyxiong0@gmail.com
4b77666f51cdd6605d73087ff62fc22b273bc31e
0da0173a046bc8f2ea67e553b2e4cf52619ae8b6
/puq/adaptive.py
cdce1f14264c94239b9692dafc4b84b69b293067
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
dalg24/puq
7cb6e9ba487ad867a9ce1a5c9b1bc7986aedfd7b
ea547cd80205f65d6227049868153b6ca154334b
refs/heads/master
2020-12-26T02:32:08.149124
2016-06-29T06:41:28
2016-06-29T06:41:28
64,855,996
0
0
null
2016-08-03T15:13:17
2016-08-03T15:13:17
null
UTF-8
Python
false
false
15,541
py
""" h-Adaptive Stochastic Collocation """ import numpy as np from puq.hdf import get_result, get_params, get_param_names from puq.options import options from puq.psweep import APSweep from adap import uqsolver from logging import info, debug, exception, warning, critical import h5py, sys from puq.util import process_d...
[ "huntmartinm@gmail.com" ]
huntmartinm@gmail.com
b54fd0bc290b3f5a82c4cad6ff829f7b399573f4
ded81a7568fe04f3227562cc5f67ffc675617cc0
/cheer_app/migrations/0002_comment.py
a7803e53c60185ed5d941b24bfcce9f91293cac8
[]
no_license
shin04/cheer
3e220afc1fb0a4329ff7c16bd4823da1c09ee0a9
da39bbc584350c0ac89c23dbbfaf1c96ab9148fd
refs/heads/master
2020-07-02T16:07:44.280390
2020-05-20T11:13:03
2020-05-20T11:13:03
183,242,194
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
# Generated by Django 2.2 on 2019-08-05 04:29 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('cheer_app', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "daikon0413@gmail.com" ]
daikon0413@gmail.com
3492d580508e89a75e1d9318c8c9852f7db86ac5
12ff1868e2fc926347b2eff819f88926d847b866
/Plot processing tools/stitch_all_date_pickles.py
e6f2b08abed2d9a72c488ec56ddf79c6dd2ace12
[]
no_license
bunanna/image-processing
9d1a3beaca30289b910113ec0151b816107e304d
083d1ee1a81743a40ea0641bc31c8ba44624fd4e
refs/heads/master
2023-09-06T02:19:48.198345
2021-11-05T19:56:32
2021-11-05T19:56:32
284,755,533
0
0
null
null
null
null
UTF-8
Python
false
false
9,942
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 20 11:47:03 2021 @author: User """ import pickle import datetime from opencage.geocoder import OpenCageGeocode pkl_2020_08_01_2020_08_31 = pickle.load(open("2020-08-01_2020-08-31.pkl", "rb")) pkl_2020_09_01_2020_09_30 = pickle.load(open("2020-09-01_2020-09-3...
[ "noreply@github.com" ]
bunanna.noreply@github.com
68118a13a4c819afa341c240ca2dcaf28e553e99
c3d826906b9a1be0e62c7767fc54ac22ad05a1f7
/python/85_MaximalRectangle.py
19389e33c44dac4792eed99670f00093ac43cda9
[]
no_license
davidhuangdw/leetcode
177a9d48b3a5886928bea7edd053189bf839b50f
2af692b9f88f7f0f46e0baedd5884030e26a3d78
refs/heads/master
2020-04-14T05:46:10.515670
2019-05-12T14:35:15
2019-05-13T13:16:56
163,668,418
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
from unittest import TestCase # https://leetcode.com/problems/maximal-rectangle class MaximalRectangle(TestCase): def maximalRectangle(self, matrix: 'List[List[str]]') -> 'int': if not matrix: return 0 n, m = len(matrix), len(matrix[0]) cur, res = [0] * m, 0 for i in range(n): ...
[ "davidhuangdw@163.com" ]
davidhuangdw@163.com
2e93dd16f33679cf624508de7f8b7e21caf4b6e6
05173075e7d1decb2e904b3970e52f61c4ab064c
/lists/urls.py
8b35bb3c27d216c378e0b1b4dcf6dca0e08de38f
[]
no_license
justinheart/superlists
e9cb080663a7cbfd8de6b0262eecd6ec0c116eca
534e71a1e54be7d626d238c4f78cf7855c53af27
refs/heads/master
2021-04-05T04:27:16.423608
2020-03-29T11:38:31
2020-03-29T11:38:31
248,519,644
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
"""superlists URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "justin2018777@gmail.com" ]
justin2018777@gmail.com
9e0905260d459f9814368e3e49fbd32a31ca72c6
1957c31e65605b6f83cf938ad5724b57f98fcf9e
/main.py
67a0c83d88c8e6bb2dfcb162212fc98bec97e687
[]
no_license
TheTycoon/BinarySpacePartition
22cc16fce0e4072233c449dfc000983ca0b56ef3
180e93cc9c7f23aa1695e61ce7c64341ada16bee
refs/heads/master
2021-01-11T05:48:48.295225
2016-11-19T02:16:29
2016-11-19T02:16:29
71,738,399
0
0
null
null
null
null
UTF-8
Python
false
false
3,689
py
import pygame import settings import node from random import randint # Set up a window window = pygame.display.set_mode((settings.WIDTH, settings.HEIGHT)) pygame.display.set_caption(settings.TITLE) # parent node starts off with all of the rows and columns in a map # generations[0] generations = [] parent_node = n...
[ "jsbalebo@gmail.com" ]
jsbalebo@gmail.com
9fd6aead869336e65940baa8ea0e2047c69c7a15
0eb6cde4979fe6c5659b546eeb3b50840977e59c
/bifrost/migrations/3_create_table_tco.py
3f11d61f1a90d692f0fb80221852327f64a9154f
[]
no_license
devjyotipatra/bifrost_client
109d08fa1c1f7215bd1227753835c9b94bc70f17
ac63dd17a6ab83ba736b233740c859224e9bba2c
refs/heads/master
2020-07-05T13:26:24.807561
2019-08-16T10:44:58
2019-08-16T10:44:58
202,659,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
"""create_table_tco Revision ID: 3 Create Date: 2019-08-16 07:57:23.828357 """ # revision identifiers, used by Bifrost. from data_app.migrations import Migrations version = 3 import logging from qds_sdk.commands import HiveCommand from mako.template import Template def upgrade(context): logging.debug("Execute...
[ "djpatra@gmail.com" ]
djpatra@gmail.com
606d6d4094d75038349d8e7f7a51de637406baed
45df59aabd5637fc2d6da8a6a33d69e8041b556b
/action_handlers.py
58b9772f2f5aaf33b9a7c0d478edc28e04e53950
[]
no_license
tjbok/text_adventure_template
51508a49e0a2650d8e447c17bbcfc0090a77bd89
a9a3370a84e8590ef8d026377d14cb811ef0e1cc
refs/heads/master
2021-01-01T05:20:19.304273
2020-07-25T19:53:33
2020-07-25T19:53:33
58,801,844
0
0
null
null
null
null
UTF-8
Python
false
false
3,056
py
### THIS FILE CONTAINS ACTION HANDLERS FOR YOUR ACTIONS ### # To add a new action handler, first create a function for your action # and then "bind" the handler to your action in the bottom section of the file. def Get(context, item): if item["key"] == "ALL": context.items.GetAll() elif item["key"] i...
[ "tomas.j.bok@gmail.com" ]
tomas.j.bok@gmail.com
603a2c443b782534f90876987853f69994b38971
c9a92954b02d308162bd67fd0709432ff3d4797e
/notifications/backends/console.py
8c36fcb26039f397e48da87ef4da6c06a9e65d3d
[ "MIT" ]
permissive
danidee10/django-notifs
2edb1d577c8a5e929983e96e23c7f90aee030bfc
fceee6fd6ce362decd7374c36de716a682e9f9dc
refs/heads/master
2023-05-25T02:18:32.740667
2023-05-13T17:05:04
2023-05-13T17:05:04
95,060,651
164
26
MIT
2022-01-31T13:33:36
2017-06-22T01:11:40
Python
UTF-8
Python
false
false
737
py
"""Console backend""" import logging from unittest.mock import patch from notifications.providers import BaseNotificationProvider from .synchronous import SynchronousBackend class ConsoleBackend(SynchronousBackend): logger = logging.getLogger('django_notifs.backends.console') def produce(self, provider, p...
[ "noreply@github.com" ]
danidee10.noreply@github.com
4714b19ef393107f335432fe7e72e94485932b98
ca8a64db90961130c2075edbe54c6e80d5f44cad
/src/densities.py
7ebe522422cefebc13c37d605ebef469ed4c0d19
[]
no_license
VishakhG/normalizing-flows
e1a1ea6ea40b546a3b08d7219a972c46d37874cd
ec2c6663dfd15826f6df24ecf5bb194da2045027
refs/heads/master
2023-04-04T13:09:36.845931
2020-06-14T21:52:30
2020-06-14T21:52:30
236,381,377
8
3
null
null
null
null
UTF-8
Python
false
false
1,324
py
import torch import math """ Potential functions U(x) from Rezende et al. 2015 p(z) is then proportional to exp(-U(x)). Since we log this value later in the optimized bound, no need to actually exp(). """ def w_1(z): return torch.sin((2 * math.pi * z[:, 0]) / 4) def w_2(z): return 3 * torch.exp(-.5 * ((z[:...
[ "vishakhgopu@gmail.com" ]
vishakhgopu@gmail.com
c514109ec84609b9a01c7a0b602dfc0656270161
8292f7c7a98a4e1f0b6a7a96a0d5d237cf7d97c3
/rango/views.py
a3d82f3b25cd423a16aef63f350a81307509899c
[]
no_license
gflouriz/tango_with_django_project
ca12589be5ea0b8cb9a3edd830aa1f5ae77b5f17
335b507c962f4a68e274769f86064daf2e7aee8b
refs/heads/master
2020-12-20T20:15:40.463833
2020-02-13T23:36:06
2020-02-13T23:36:06
236,198,381
0
0
null
null
null
null
UTF-8
Python
false
false
10,689
py
from django.shortcuts import render, redirect from django.http import HttpResponse from rango.models import Category, Page from rango.forms import CategoryForm, PageForm, UserForm, UserProfileForm from django.urls import reverse from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decora...
[ "2382904f@student.gla.ac.uk" ]
2382904f@student.gla.ac.uk
fe326c7a1f655f416726ba7ab761365162799b48
07dbe29817df214ac7d23e3511cea991b56d4e84
/DiANa/InsSub/DeInsSub.py
a2c317746999909569cf509a4707819816bc964e
[]
no_license
RemainRain/DiANa
813379513a142a2d559e25347abac59ed3e09960
2646f394f3b4c572f5c3a27360bba7501b786bc8
refs/heads/master
2023-05-13T11:59:13.818538
2020-03-14T23:24:01
2020-03-14T23:24:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
# -*- coding: utf-8 -*- from barf import BARF import sys from DeInsSubUtil import * import barf.arch.arm.translator import os # if __name__ == '__main__': def De_IS(filename, start): # sys.argv = ["test.py", "/Users/mark/Desktop/de_obfuscator/IS/New-test/total/inssub", "0x694"] # if len(sys.argv) != 3: # ...
[ "kanzeliang945@gmail.com" ]
kanzeliang945@gmail.com
f3c47f8eeb65b45224fa8eb02f50a2d0c89e375b
153fd363d1127d8e6dc809516eb9436dc81335fe
/venv/Scripts/pip3.8-script.py
499989ca5ae017f5c6b6f67ec41c77ef72ed84e7
[]
no_license
MehrdadKamelzadeh/django_started
7ed950ea63471f62042129350de0d89f368dfeec
52ea2c564521a6ec5de173cf845f06180a943030
refs/heads/master
2021-05-25T20:42:42.887595
2020-04-07T21:08:50
2020-04-07T21:08:50
253,912,801
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
#!C:\Users\Mehrdad\PycharmProjects\django_started\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
[ "mehrdad.kamelzadeh@gmail.com" ]
mehrdad.kamelzadeh@gmail.com
9346b461b869d42f8809bb42ec48f7438a393149
de8e4b8b43cbf1374dd65a028c3e85951a21a11f
/fast-exps/lib/models/new_prop_prototype.py
02024f940aa1dda7cd534e8ffcd8a261a8f533e6
[]
no_license
tcwltcwl/URT
626a94d7ad94c712a25602ef30cefb61ff959229
edc551f286ac3b0726370db70db7d6b3b0359f36
refs/heads/master
2023-04-14T04:30:35.526937
2021-04-21T06:48:49
2021-04-21T06:48:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,673
py
import torch from torch import nn import torch.nn.functional as F import numpy as np import random, math # TODO: integrate the two functions into the following codes def get_dotproduct_score(proto, cache, model): proto_emb = model['linear_q'](proto) s_cache_emb = model['linear_k'](cache) raw_score = F.cosi...
[ "lu.liu-10@student.uts.edu.au" ]
lu.liu-10@student.uts.edu.au
11160e2ef9df518f000d2f3db8f33868ab9a9b4f
700e609d6fd2968e5a604434b9ba07676c5e3445
/dmsuMarket/celery_tasks/sms/tasks.py
e1dca9a812ed8c2e7156faf76bd218aba902f4de
[ "MIT" ]
permissive
IzayoiRin/DmSuMarket
6c7f1d45df8bdf0c1a57a78bd36071627087f89c
ead8380ca7edca573c920fe78ca99ec59f9564ca
refs/heads/master
2020-06-13T06:52:57.563318
2019-07-06T07:45:06
2019-07-06T07:45:06
194,470,285
0
0
MIT
2019-06-30T07:16:27
2019-06-30T03:21:32
null
UTF-8
Python
false
false
266
py
import random import time from ..main import celery_app @celery_app.task(name='send_sms_code') def send_sms_code(*args): time.sleep(random.randint(0,2)) print('>>>>>>>>>>>>Clouds Communicating>>>>>>>>>>>>>>') print('%s>>>>>>>>>>>>>>>>>>>>>>%s' % args)
[ "izayoi@rin.com" ]
izayoi@rin.com
1055112127981d61be418bf85ba34050ac329364
525d7afceef6e15157829778cbaeb0ada24c9960
/website/test/django-polls/setup.py
51daf0dd0f3493bd8768a2961304505cf2d9a0fe
[]
no_license
alcesarini/horizon
52b4a6334e22fed2505545a891b9388513d00c76
f45b5c50f855cbd9e998a66604d8c2ee287f2cc8
refs/heads/master
2016-08-12T06:50:08.974292
2016-01-09T17:00:48
2016-01-09T17:00:48
48,617,999
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-polls', version='0.1', ...
[ "alcesarini@gmail.com" ]
alcesarini@gmail.com
56f4d9e049c2a753c8848b86ca9c533f33b182e9
c4ffd208162ac2bcd86c3ea4b7a6ab419d462291
/cgi-bin/load_post.py
8541eae749fc0bdc7fc2f064e47d336f28ead6ee
[]
no_license
captainhcg/acfun
99e321ee41df6475af8339179fe00dd20dfc2778
1884356cdcb8196556d1b626b321e00b8b064421
refs/heads/master
2021-01-19T08:42:33.757576
2012-04-17T18:59:58
2012-04-17T18:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,538
py
import ac_core # coding=utf-8 conn = ac_core.connect() cursor = conn.cursor() def draw_post( k, a='' ): if( k.strip == ''): return "at least one keyword must be assigned" keywords = k.split(' ') words_cond = "ac_article_name LIKE %s" for index, word in enumerate(keywords): keywords[ind...
[ "captainhcg@gmail.com" ]
captainhcg@gmail.com
ee4c05679f2931e2aa4ede64a5b724ef7ce5e2eb
49086c6520cf6271205ae42eccf4c08e90211d5d
/Login/migrations/0003_auto_20201102_2002.py
cf0f48d235124b1bdcc9730e93efdf5993265f65
[]
no_license
Prince294/Django-SignIn-SignUp-Page
f0310b9b7c37d7ed2bb1f6f9f093bf7cf7e4cd20
202af37b7fc096a3c46fca48c379e211f02b4eed
refs/heads/main
2023-01-03T14:01:53.721154
2020-11-07T11:36:10
2020-11-07T11:36:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# Generated by Django 3.1.2 on 2020-11-02 14:32 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Login', '0002_auto_20201102_1806'), ] operations = [ migrations.RenameField( model_name='signup', old_name='Us...
[ "noreply@github.com" ]
Prince294.noreply@github.com
2ab25f3de78fade911890ed86c4022a817459485
607c8e4ab9f3d319742ae2d495e3a3c1af696aee
/eval.py
9e2f04246eb227312aadc71fc2eef9a561785e99
[]
no_license
zjf0822/TextCNN
36f3e8a3685e02f3fb1ee40849f0490883f576bd
be9028f287982bef2cd1823b4da57a8dc02e2d66
refs/heads/master
2020-03-16T02:20:06.837238
2018-05-07T13:14:33
2018-05-07T13:14:33
132,462,632
0
0
null
null
null
null
UTF-8
Python
false
false
3,683
py
#! /usr/bin/env python import csv import os import numpy as np import tensorflow as tf from tensorflow.contrib import learn import data_helpers # Parameters # ================================================== # Data Parameters tf.flags.DEFINE_string("positive_data_file", "./data/rt-polaritydata/rt-polarity.pos", ...
[ "noreply@github.com" ]
zjf0822.noreply@github.com
2a80b7f2ba95c08ccd1719551a91e6628d95b91e
d156560d96e3860fc291484f368757debb78871b
/sample_prediction.py
ffcfb6d91db58f1622fc6b4902ffc494dfed872d
[]
no_license
timcallow/euro20_stochastic
4c139a9c140e2d05afa0fd69886400c6eaaf88a2
7824cbc05657cfe343a82d13d28e176336c85f9d
refs/heads/main
2023-05-15T23:56:07.549277
2021-06-11T11:30:43
2021-06-11T11:30:43
376,001,938
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
""" Example input file for prediction of euro 2020 match """ import stochasticmodel team1 = stochasticmodel.Team("Germany") team2 = stochasticmodel.Team("France") print( "Match prediction: " + " ".join([team1.name, str(team1.score), "-", str(team2.score), team2.name]) )
[ "t.callow@hzdr.de" ]
t.callow@hzdr.de
c3d0de22c121cb4e7a40f9ee7dbdefe55148a230
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-8204.py
c8284994a9d91b15a9ac7250620e44db2de5eea1
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,757
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5285bbeb6719efe2617117dfc281492901dd9fec
46c3b9a26561e9a98c5bdcee781b800e2f09e006
/image_gen_old.py
f6e15f38b7ae30b164d48eabd6fa77c90670d230
[]
no_license
Ridgebeck/CarND-Advanced-Lane-Lines
4a8e626702d87e986cf3288f47b4ec90c813deb1
6affabe265aeea2c44cead7a0a48db4d67e01535
refs/heads/master
2020-03-29T05:27:55.486692
2017-06-24T22:47:35
2017-06-24T22:47:35
94,654,590
0
0
null
null
null
null
UTF-8
Python
false
false
20,712
py
import cv2 import numpy as np import glob import pickle from tracker import tracker import matplotlib.pyplot as plt # read in the saved objpoints and imgpoints dist_pickle = pickle.load(open("./calibration_file/calibration_pickle.p", "rb")) mtx = dist_pickle["mtx"] dist = dist_pickle["dist"] def abs_sobel_thresh(img...
[ "beck.niklas@gmail.com" ]
beck.niklas@gmail.com
a7c2ff64776197033f6935ebd084216784ca1b4f
1521d32e3a2747054eea03df3195ca0fd52cfe71
/src/python/zensols/garmdown/__init__.py
1ed5dd6e2c05b14c7469f2b9a750d47327855ca1
[ "MIT" ]
permissive
garmin-data/garmdown
533c525512914b97cbf42a919d670feb59c3269a
42509ddcc11bd7469e3a80d648fabd155657a074
refs/heads/master
2023-07-05T09:07:36.476348
2022-02-28T19:36:01
2022-02-28T19:36:01
191,933,069
15
6
MIT
2023-02-15T23:23:44
2019-06-14T11:37:45
Python
UTF-8
Python
false
false
212
py
from .domain import * from .fetcher import * from .persist import Persister from .sheets import SheetUpdater from .backup import * from .reporter import * from .mng import * from .cli import * from .app import *
[ "landes@mailc.net" ]
landes@mailc.net
061203e19c2b6a03466c45a6e838e2ec9f703796
bfd75153048a243b763614cf01f29f5c43f7e8c9
/1906101064-王楠岚/day0219/作业1.py
05f083c6ae754833fa314cc0bdb8dce741c5bc51
[]
no_license
gschen/sctu-ds-2020
d2c75c78f620c9246d35df262529aa4258ef5787
e1fd0226b856537ec653c468c0fbfc46f43980bf
refs/heads/master
2021-01-01T11:06:06.170475
2020-07-16T03:12:13
2020-07-16T03:12:13
239,245,834
17
10
null
2020-04-18T13:46:24
2020-02-09T04:22:05
Python
UTF-8
Python
false
false
605
py
#第一题 n=int(input()) m=[1,10,20,30,40,50] def nian(n): if n == 0: return 1 else: return n*nian(n-1) if n in m: print("请重新输入") else: print(nian(n)) #第二题 P = int(input()) R = int(input()) T = int(input()) S = (P*R*T)/100 print("输出%d"%(S)) #第三题 print(max([14,25,98,75,23,1,4,56,59])) #第四题...
[ "1146964788@qq.com" ]
1146964788@qq.com
7aea77e8b547222523f4bce0c652a23203641427
1ca2e4ec519e3808b68c8b0e4af4986fa92e659d
/controllers/UserController.py
8e44cee3d29178fa07fcb0307b723b1adacccf73
[]
no_license
AymericPost/demo-flaskachemy
1719b7d9329ac0e3cacf4bfd0531a5cb4bfbc393
1892bcc9f75e0eca1818d90b504157b3f7449f25
refs/heads/master
2023-04-22T04:50:45.744343
2021-04-27T14:28:38
2021-04-27T14:28:38
352,602,669
0
0
null
null
null
null
UTF-8
Python
false
false
2,546
py
from flask import Blueprint, jsonify, request from models import db from models.User import User user_blueprint = Blueprint("users", __name__) @user_blueprint.route("", methods = ["POST"]) def create_user(): body = request.json if("name" in body and "email" in body): newUser = User() newUser...
[ "aymeric.post@gmail.com" ]
aymeric.post@gmail.com
069536def38021019ca99e507eb463eb7a4ccd5b
a0d429127686bc520d6154846d003dc5e3c7a17c
/first/migrations/0006_auto_20210731_1614.py
80b18cc645860df8b01d67862f59832686c2e4f6
[]
no_license
sailorchen/tenclass_bg
742ad8749d0f1c5d1a6d9bd1a0d773c552cedc63
823c9ab0c5a4ba0faeb6b5106ee0bbfab12d7e90
refs/heads/master
2023-07-14T10:42:05.686795
2021-08-22T08:09:32
2021-08-22T08:09:32
387,149,211
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# Generated by Django 3.1.4 on 2021-07-31 08:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('first', '0005_menu_submenu'), ] operations = [ migrations.RenameField( model_name='menu', ...
[ "857893632@qq.com" ]
857893632@qq.com
d22f9e180410bcb47f4308eb442280a1d6958408
b3197b795911a2ebdd3308f39d0e7be4b4626a44
/homework.4/4.task1.py
a81fcfb717c8ca4018adb4ef5c82f3125501d029
[]
no_license
VPetrashchu/python-course
9e2af9582f1600201c6f28681ead7426501a82b6
d188c3f42f7fd70aad1535e0141e7ff5fddd1d8f
refs/heads/master
2023-02-23T09:41:56.079047
2021-01-31T20:12:08
2021-01-31T20:12:08
317,589,130
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
number = int(input('Enter number: ')) fact = 1 for i in range(1, number + 1): fact = fact * i print('Factorial is: {}'.format(fact)) # while ( number > 0): # fact = fact * number # number = number - 1 # print('Factorial is: {}'.format(fact))
[ "=" ]
=
e3b3a30c72a6c0950086f5a17a603edcf26bcc29
a702761341f4210f1235642c0d07e2e3f0fc83bf
/setup.py
f40e4f953292c42f722d37d57905c7166566f809
[ "MIT" ]
permissive
WHU-SoftwareSecurity/final
5c93d7436a5e528ed9c559bd7281e41e648b1adc
cdb703c274bc62ca7b091495d673e64c3d730f8a
refs/heads/main
2023-02-05T09:53:20.067946
2020-12-31T01:33:37
2020-12-31T01:33:37
324,720,992
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from setuptools import setup, find_packages setup( name='src', version='0.1', packages=find_packages(), include_package_data=True, install_requires=[ 'Click', ], entry_points=''' [console_scripts] cli=src.cli:cli ''', )
[ "690364065@qq.com" ]
690364065@qq.com
5e8efd9eb59f40d86c42c63a6d9310545e0a1134
51f2492a5c207e3664de8f6b2d54bb93e313ca63
/atcoder/abc102/b.py
4be8dec8f9d480d7b0af81ef662a21f1f1ef5c4f
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abeaumont/competitive-programming
23c5aabd587d7bb15a61efd3428838cb934233dd
a24c9b89941a59d344b51dc1010de66522b1a0dd
refs/heads/master
2023-09-01T09:50:58.267361
2023-07-31T18:00:10
2023-07-31T18:00:10
117,589,708
618
262
WTFPL
2023-07-12T17:36:20
2018-01-15T20:00:56
C++
UTF-8
Python
false
false
158
py
#!/usr/bin/env python3 # https://abc102.contest.atcoder.jp/tasks/abc102_b n = int(input()) a = [int(x) for x in input().split()] a.sort() print(a[-1] - a[0])
[ "alfredo.beaumont@gmail.com" ]
alfredo.beaumont@gmail.com
215d0564daeceb18cdbfe7df3305df4cf9aaddc4
ddea930392ac5360b21e9043b620e703a9ccb31c
/tfx/components/example_gen/csv_example_gen/component.py
e98fab352364bc59a5a175075c9b90dce53af5c7
[ "Apache-2.0" ]
permissive
Ark-kun/tfx
9c82b688776c80b2435bbb6154476526e8525ec8
f685f0387bd145316f43ceb484e64f893e749dcb
refs/heads/master
2021-07-25T05:58:15.168607
2020-05-22T01:07:44
2020-05-22T01:08:18
180,868,735
0
0
Apache-2.0
2019-04-11T20:01:57
2019-04-11T20:01:57
null
UTF-8
Python
false
false
3,690
py
# Lint as: python2, python3 # Copyright 2019 Google LLC. 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 req...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
7788d6d2554c64b729e9701d0fe4596e17cccfe8
5f22ddbd3eeb99709e43e7b9a7958c9987c7efa4
/__competitions/2014/11_03_w12/01.py
d50b3c914cc79f47bca1e6cd9529281c8b5f817c
[]
no_license
salvador-dali/algorithms_general
04950bd823fc354adc58a4f23b7d2f3d39664798
aeee3356e2488c6fab08741b1ac26e8bd5e4ac0d
refs/heads/master
2020-12-14T06:24:10.466601
2016-07-17T06:00:17
2016-07-17T06:00:17
47,397,457
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
# https://www.hackerrank.com/contests/w12/challenges/priyanka-and-toys # sort numbers and use greedy solution to find which one overlap def toBuy(arr): arr.sort() num, maxPrice = 0, -1 for i in arr: if i > maxPrice: num += 1 maxPrice = i + 4 return num input() print toBu...
[ "dmytro@knowlabs.com" ]
dmytro@knowlabs.com
2b243345de7291445fa4bed95f95e76b7dfd2db2
41d9b307fdd476ec95677d3414c3ac63775847b7
/Ejercicios para practicar OOP/juego_taller WIP.py
cb6701b232466a249c5100f79cddde6b15f2d32c
[]
no_license
NickATC/Taller_Python_OOP_2018
ccf4970f88e73cc5458c1c773469808f75e5cf8e
78707abfbcfd4e230bbd672f633fdcb609502633
refs/heads/master
2021-07-20T23:18:53.317986
2021-06-08T00:32:05
2021-06-08T00:32:05
120,635,969
4
1
null
null
null
null
UTF-8
Python
false
false
4,039
py
# -*- coding: utf-8 -*- import tkinter as tk from tkinter import ttk from tkinter import messagebox as msg import random NOMBRES_MONSTRUOS = ["Mistich", "Mutt", "Guttalon", "Cinder", "Hagger", "Dusty"] NOMBRES_HEROE = ["Blaster", "Tracer", "Tim"] ARMAS = ["una espada", "un hacha", "una varita mágica"]...
[ "noreply@github.com" ]
NickATC.noreply@github.com
4e6032878370ac367ce8229d77078e44cd9327d3
97c93aa87a54686daddc988066a8ad4bb0b17e70
/class97Program3.py
98603d6ecc7883c2a8555d9fb87592430770b2ba
[]
no_license
hitarth-pixel/class97
92fa23cb3ac189c7b0f3f13b9e09457cf4d43148
8886bd84df5ff28c990c0d9972794ccd98fdaaeb
refs/heads/main
2023-08-20T10:16:38.876034
2021-10-25T11:27:17
2021-10-25T11:27:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
no=int(input("enter your no.")) if(no%2==0): print("the no. is even") else: print("the no. is odd")
[ "noreply@github.com" ]
hitarth-pixel.noreply@github.com
6d75f464bfc5dab8974a58bc1fb72ee468f050c7
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-cts/huaweicloudsdkcts/v3/model/update_tracker_request_body.py
86a0e288fb2da06e6d914be15bba419009029213
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
11,674
py
# coding: utf-8 import pprint import re import six class UpdateTrackerRequestBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f5fcdcfd0b66da3bd565862fc21ebb29e7b65e06
474ca3fbc2b3513d92ed9531a9a99a2248ec7f63
/ThirdParty/boost_1_63_0/tools/build/test/BoostBuild.py
9ff7818a20a18c81d89c5ea1516951c1e7991621
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0" ]
permissive
LazyPlanet/MX-Architecture
17b7b2e6c730409b22b7f38633e7b1f16359d250
732a867a5db3ba0c716752bffaeb675ebdc13a60
refs/heads/master
2020-12-30T15:41:18.664826
2018-03-02T00:59:12
2018-03-02T00:59:12
91,156,170
4
0
null
2018-02-04T03:29:46
2017-05-13T07:05:52
C++
UTF-8
Python
false
false
53,282
py
# Copyright 2002-2005 Vladimir Prus. # Copyright 2002-2003 Dave Abrahams. # Copyright 2006 Rene Rivera. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import TestCmd import copy import fnmatch import g...
[ "1211618464@qq.com" ]
1211618464@qq.com
97d915750244d1397fea6975d202218d1ad853f4
29f4de72b9aadaba277b4adb5e5cee5d8dd71f1e
/projection_data/make_ai.py
49ce8d7363987cb88c00c23533048229bdb00207
[]
no_license
fgassert/aqueduct_atlas
87be4e1fbe9686cf06ff9c65257deabc617344e9
d00cd78ef3122aeda6eb563d0913baf73a9bb80e
refs/heads/master
2021-01-21T21:48:26.821562
2016-04-21T22:02:58
2016-04-21T22:02:58
15,684,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
import arcpy as ap AI_RES = 600 def render_fields(prefix, polygons, mxd_template, layer_template, map_fields, map_layer_labels, map_values, ai_res=AI_RES): mxd = ap.mapping.MapDocument(mxd_template) df = ap.mapping.ListDataFrames(mxd)[0] if map_layer_labels is None: map_layer_labels = m...
[ "cowbox314@gmail.com" ]
cowbox314@gmail.com
2fa2387ea7542b00d01c04bff3aee0d13d23e027
84ef137d6c112f9a5f6fc2ef56acfc9ce3bb8948
/新建文件夹/活动推广.py
c0b32363418d65d12d02e964ef132ac3846c556f
[]
no_license
liuxiyin/Good-boys
253f68aea4a632c10eb5080a25d83bf63c3b1b46
207b3e6c113d4f9ec97eef17493f4f3d1537ece7
refs/heads/master
2022-03-03T22:24:20.152040
2022-02-27T11:06:56
2022-02-27T11:06:56
82,903,301
2
1
null
null
null
null
UTF-8
Python
false
false
9,175
py
""" 抖店-活动推广机器人 """ import time from playwright.sync_api import sync_playwright from loguru import logger import pandas as pd import utility import uuid import os import re import json import datetime setting ={ "login_url":"https://fxg.jinritemai.com/ffa/mshop/homepage/index", "start_time":...
[ "noreply@github.com" ]
liuxiyin.noreply@github.com
01aeefdd8ab7ea79a46a7dffa84f833c991a6fc0
0cbf5f3149e391b7bceff2cd8fe6dc61a75d6ac4
/Robolib.py
3ae4a1546844c064891e0e7a062470cb7a5cd240
[]
no_license
madhavkhoslaa/Differential-Drive
afb8f921b35fda4900d7bd153fbe28952d68e7a8
b3b24dbf0cccc5d4cb94ce0b081b13e6a4f84409
refs/heads/master
2021-05-11T04:53:41.890469
2018-01-20T17:56:28
2018-01-20T17:56:28
117,950,210
0
0
null
null
null
null
UTF-8
Python
false
false
2,636
py
class Robo: try: import time import RPi.GPIO as GPIO mode = GPIO.getmode() GPIO.cleanup() GPIO.setmode(GPIO.BOARD) # or set as GPIO.setmode(GPIO.BCM) according to prefrence except: print('Install the dependencies') def __init__(self , Left_1 , Left_2 , Right_1...
[ "noreply@github.com" ]
madhavkhoslaa.noreply@github.com
063fa18d33d789a16c7f61a0cc60e227ef6aa085
6ac8c704903f49d5e3fb3591047c1c3eba59f423
/env/lib/python2.7/site-packages/wheel/tool/__init__.py
de1c70ca2cd108d9ff1be387d18884a917c29d38
[]
no_license
wuilfred/test
91dd2f47259f4599783c3f9a6abd334d40e8e7a7
e0b8678bbd46a662379db8a6a5a1680b3ff33d38
refs/heads/master
2020-04-02T05:52:26.476969
2016-06-02T22:57:30
2016-06-02T22:57:30
60,301,972
0
0
null
null
null
null
UTF-8
Python
false
false
13,312
py
""" Wheel command-line utility. """ import os import hashlib import sys import json import wheel.paths from glob import iglob from .. import signatures from ..util import (urlsafe_b64decode, urlsafe_b64encode, native, binary, matches_requirement) from ..install import WheelFile def require_pkgre...
[ "wuilfred@gmail.com" ]
wuilfred@gmail.com
8176f29c210a52c8544016e57564ace030a86875
155a25eb18213664da9978030e6743b04d570141
/manage.py
825bd789c5cf66c550320c139be766171af95606
[]
no_license
powellc/timberwyck
0d6fd6e46c2899f32dda37faa8030a8c7080bc97
583cbc2ee33cb56187db13c94d5d4af74f51c9bd
refs/heads/master
2020-05-18T13:59:20.394609
2014-05-03T05:09:18
2014-05-03T05:09:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "timberwyck.settings") os.environ.setdefault("DJANGO_CONFIGURATION", "Dev") from configurations.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "colin.powell@gmail.com" ]
colin.powell@gmail.com
4442d3be186c0780c78d903f7110f0e29096dfb6
8cbf335c5a39f2bbf1912b937ea4c3a31ab76f53
/kakuro.py
3869cab2399a04e10f9778aee78dd0fa41a9b26b
[]
no_license
louisabraham/kakuro.py
e72e5a0dd4d1fc8b43bb8b1004ce7b46e5bf88bf
28ab8e5b066773a0f27f9eff6629391d21b167fc
refs/heads/master
2023-08-13T12:28:18.538669
2021-10-14T21:28:19
2021-10-14T21:28:19
417,281,425
0
0
null
null
null
null
UTF-8
Python
false
false
2,969
py
from functools import lru_cache, partial from collections import defaultdict from set_cover import solve as solve_set_cover def encode(pattern, cols, lines): grid = [[c == "0" for c in line] for line in pattern.split()] n = len(grid) constraints = [] # build constraints on lines vars = [] c...
[ "louis.abraham@yahoo.fr" ]
louis.abraham@yahoo.fr
c36ac2bc001fcaa57d1844413a53409c0fcacc1e
e21499aa817af1eef534c1423fe50b2802e0b40e
/vidly/urls.py
ce6005336d34c15d9de75a3e9c511a97d26ef8d2
[]
no_license
Adnan0o7/vidly
cb03cd29b06dd713b1897b81ea2d8527a5659077
cb46cf716771d42b58f49259d22613c2becd4a86
refs/heads/master
2023-05-27T04:13:57.396743
2021-06-13T15:38:55
2021-06-13T15:38:55
323,496,799
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
"""vidly URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "adnanalam326@gmail.com" ]
adnanalam326@gmail.com
13990e2b0cab9680fab03083d32eed4dee03defb
3ed768683750339de40e99ef38fa5bd3dd892870
/RayTracer/Constants.py
137c953a48bbe6f2462f905d743ef7e9d7cf3551
[]
no_license
bgazdz/RayTracer
e602e88311e852cc0df7c5b413b70c097fd8c583
a6a57fac82298284c4b0e2d04c8195b30e793f87
refs/heads/master
2021-01-20T22:31:35.000835
2016-06-27T17:26:26
2016-06-27T17:26:26
62,074,727
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
#kEpsilon Value for object intersection error kEpsilon = 0.0000001 #Max times a ray can be reflected RAYDEPTH = 5 #Unless MAX_DEPTH is reached MAX_OBJ = 10 #Maximum depth of the OcTree, overrides the MAX_OBJ at the max depth MAX_DEPTH = 10 #Big positive value for time of intersections BIGTIME = 1e6
[ "gazdzia2@illinois.edu" ]
gazdzia2@illinois.edu
173312dba36b9bc8f0e3bfeb09c8c2caa6c7d7b2
3449e7f1d380caff4a2defca51fc81f280fc3df0
/usage.py
7d082ee15f65a7522331f6023f661b5dd9964b9c
[]
no_license
jlfsjunior/dash_dthree_hooks
649a1d85717507ee38afb9ba79cee6fa228efa08
89cfa556c02a3c5b08b53e6e33c7ccc053c82473
refs/heads/master
2023-05-13T04:29:45.819866
2021-02-26T18:38:34
2021-02-26T18:38:34
340,701,342
14
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
import dash_dthree_hooks import dash from dash.dependencies import Input, Output import dash_html_components as html import dash_bootstrap_components as dbc import random import json app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP]) app.layout = html.Div( [ dash_dthree_hooks.Bubble( ...
[ "jlfsjunior@gmail.com" ]
jlfsjunior@gmail.com
491161ac62fe5c86902e78fd6934719505e4db0a
5f1518696c4ed270138581c9ab48f3f7ab128b5f
/utils/losses_pytorch/lovasz_loss.py
4cde88354c0d320753a914c511694f3acbc167cd
[]
no_license
rabbitlamp/MyImageSegmentation
19c7197953d1b8edaa930c4dbf2e312595bdad84
1647730df4f194afe682596908ffe5363f27b733
refs/heads/master
2023-01-31T19:41:14.719754
2020-12-17T09:10:20
2020-12-17T09:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,458
py
import torch import torch.nn as nn # from torch.autograd import Function # copy from: https://github.com/Hsuxu/Loss_ToolBox-PyTorch/blob/master/LovaszSoftmax/lovasz_loss.py def lovasz_grad(gt_sorted): """ Computes gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper """ p = le...
[ "475596527@qq.com" ]
475596527@qq.com
74baf6e30202f26b7f2cf0d7e12c508046f426dc
a45fe3f29a7011e8b20c0860486c84e903bed4cf
/api-service/api/upload_category_refs.py
8e8cd894899625af0b6e2ef90d841d6ed818a210
[]
no_license
Jmg-21/aws-ms-react-flask-postgress-docker-haproxy
90bea8012e8a46a30afd34310b418578ee617271
b59edb376b3647c9c19d0ff0f769eca91ae0dced
refs/heads/master
2023-06-22T15:58:10.421544
2021-07-22T03:53:22
2021-07-22T03:53:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
import os from utils import server_generated_id import psycopg2 import xlrd from utils import UPLOAD_FOLDER from flask_restful import Resource,request from database import Database class ApiUploadCategoryRefs(Resource): def post(self): conn = Database() template = request.files['file'] ...
[ "jakegarbo21@gmail.com" ]
jakegarbo21@gmail.com
f3c359439c26eb8a7a4587fca00e7a7dba67e738
92cc9ab5547f47a73cc8c855a559ddedfdedb80a
/Exercicios_Resolvidos/Parte 2/Semana 5/exercicio adicional/insertion_sort.py
d6355d21b887091e44d3c150be2520f271c844d9
[ "MIT" ]
permissive
EmersonAires/Introducao_a_ciencia_da_computacao_com_Python
f592c9cddb8a7a9ad7bb5ae51646ff2c88fa9194
152f95410a638d84adf97367be17ec67fdb8bf3c
refs/heads/main
2023-08-05T11:50:58.970836
2021-09-19T12:55:53
2021-09-19T12:55:53
331,036,611
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
def insertion_sort(lista): for i in range(1, len(lista)): element = lista[i] # Guarda o valor do elemento analisado j = i while j > 0 and lista[j-1] > element: lista[j] = lista[j-1] # Desloca o número para a direita j -= 1 lista...
[ "emersoneduardo.airesnunes@gmail.com" ]
emersoneduardo.airesnunes@gmail.com
c5001ecfa2716239bb437211c0ca5878f4942947
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_underscoring.py
b4a890d3243fc3207ae8047c40277eb6f93f3f90
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from xai.brain.wordbase.verbs._underscore import _UNDERSCORE #calss header class _UNDERSCORING(_UNDERSCORE, ): def __init__(self,): _UNDERSCORE.__init__(self) self.name = "UNDERSCORING" self.specie = 'verbs' self.basic = "underscore" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1f31d3541fcf1f3d31a4e933baf995fe6f33ac91
6cd1ec241ea9d66c03c94403d3a2fa2417503bc1
/src/saxophone/rulechain.py
1826e2db960e0410c5d50e0bef4d811d5af522fd
[]
no_license
NicholasDAllen/saxophone
65f286c5078f9aafd0368739c37f15628b3a0651
55bb297685528b662c3c9479bb8c5b25eb613a4a
refs/heads/master
2021-07-19T05:02:03.302112
2021-02-21T17:05:00
2021-02-21T17:05:00
48,620,708
0
1
null
null
null
null
UTF-8
Python
false
false
1,575
py
""" A series of rules to match against """ class SaveRule(object): pass class RuleChain(object): def __init__(self): self._rule_queue = [] self._rule_pointer = 0 # Stack that represents the dom. As we pop the # stack we will decriment the select pointer as # we lea...
[ "nick@cartlogic.com" ]
nick@cartlogic.com
c17989e789ee286344975b054f845f1f8df6c037
ea198339d0a17b223108306b66c916331e3f4824
/Source Code/sentimentAnalysis.py
63a64d0084929dd496ef27f73a87c3ea1efda100
[]
no_license
rajdas2016/Master_Thesis_Rajib-Das
f1c707cd9cd12040b6341683aac59dff7dadb6c4
bab0524d8f4e13a089fda06e6543e3d6f4ddea69
refs/heads/master
2020-05-26T12:37:07.238502
2017-03-28T14:13:51
2017-03-28T14:13:51
84,999,017
0
0
null
null
null
null
UTF-8
Python
false
false
7,302
py
""" Class to score sentiment of text. Use domain-independent method of dictionary lookup of sentiment words, handling negations and multiword expressions. Based on SentiWordNet 3.0. """ import nltk import re class SentimentAnalysis(object): """Class to get sentiment score based on analyzer.""" def __init__(...
[ "noreply@github.com" ]
rajdas2016.noreply@github.com
e73d557ca3d976b0bb8a9578c0bc11fae9ae58bc
f40329de9ea63341e0db4a60347ea45ad446719e
/main_wx.py
7a4a30cdb0513dd1e02046b9c8ecb5535f611cc7
[]
no_license
django000/bitcoin-vitoz
e7b95ab29c3a6602702b0f300f3fca9b35ddd8a8
7f0bb2ba65d609c35f74a4bbe44c66d4003f0752
refs/heads/master
2021-04-12T06:05:29.651324
2018-12-14T03:55:28
2018-12-14T03:55:28
94,501,452
0
1
null
null
null
null
UTF-8
Python
false
false
2,120
py
# -*- coding: utf-8 -*- import wx import time import binascii import base_wx from file2key import main from ecdsa import SigningKey, NIST256p class MainFrame(base_wx.BaseFrame): """docstring for MainFrame""" def __init__(self, parent): base_wx.BaseFrame.__init__(self, parent) def exchangeSignatu...
[ "zhangwentao0601@163.com" ]
zhangwentao0601@163.com
fd5e4fe6024116245528a3f8cab92a2573a6bd40
1ad7267fcd745a5609259cc14b6df87d66f5eed4
/deviceCamera.py
a7b48aa3dceedc5b7a3d913e2350ed2687406e01
[]
no_license
stargazer2377/facerobo
7da4304fc83ab7b362142354bfea6f810d77f115
cf124234fac3b113d839dcc264e2287c768e3729
refs/heads/master
2020-05-29T20:03:06.540202
2015-05-17T23:29:57
2015-05-17T23:29:57
35,785,297
0
1
null
2015-05-17T22:25:22
2015-05-17T22:19:30
null
UTF-8
Python
false
false
27
py
# camera related functions
[ "stargazer2377@gmail.com" ]
stargazer2377@gmail.com
a97f5a634c05e848cc04f021971ab996c3b468bd
c89e1bedd57bf8ca0ffde49370b9ba68ba827717
/company_search_results_page.py
7ef518371ca7d7193d45c350e55dbbaaa9d6c61b
[]
no_license
lawrenceabaeo/scraper-for-interview-stories-pytest
69bbde947b5e00efb2d35f8e3a49da50fa82c307
540dd1ad38cd6196bee62c844019d636ed30d501
refs/heads/master
2021-08-28T00:55:15.998717
2017-12-10T23:59:09
2017-12-10T23:59:09
112,061,587
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
import logging from selenium.common.exceptions import TimeoutException from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.ui import WebDriverWait import popup class CompanySearchResultsPageObject(): def __init__(self, driver): self.driver = driver def on_com...
[ "labaeo@gmail.com" ]
labaeo@gmail.com
97f79e16e6f24dd301ced1daad53506b413b2bcf
0a6aa864c8c767607d828bce63279cd6dd9b5950
/Django-Web/FastCampus/day3_detail/day3_review/photos/views.py
beb15189d48b6f6fbfb6ab3e0e36c4f7dbfe751f
[]
no_license
kim1124/Projects
70314a4ae399cafe5ea7d26d412c575114eb3b07
96592d0bd26d2622dead3359e060e0a4fe83664e
refs/heads/master
2021-01-22T07:32:10.796774
2017-11-24T03:50:16
2017-11-24T03:50:16
81,641,829
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from django.shortcuts import render from photos.models import Tag from photos.models import Post from photos.models import Comment # Create your views here. def mainpage(req): arr_posts = [] qus_posts = Post.objects.all() qus_first = qus_posts.first() if qus_first is not None: for post in qus_posts: arr_pos...
[ "kim112mgxld@gmail.com" ]
kim112mgxld@gmail.com
ce29362ce5b4fd605a165c0605c5996a2e47b978
63b649ceed6cc4d6b7861002f44d993536d0d7bd
/set/set9.py
ecfa8ca9913551a6d1ae3b2229e95d2b2c07db08
[]
no_license
Maxim-Deriuha/decor
d1ad89c278cdf7319be9e7b4d4c064c64484b805
b2a96226073a7c87ff32f7b91904c1c58985a39e
refs/heads/master
2023-07-18T15:59:47.009933
2021-09-07T13:58:18
2021-09-07T13:58:18
403,590,251
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
myset = set('python') item = myset.pop() print(item, len(myset))
[ "maksym.deriuha@ideus.biz" ]
maksym.deriuha@ideus.biz
729477fad0e79e344faad4099045ccca07134ddf
cc10bfc3d258eb7ef776639fab2e1cc0795591c0
/FastMVS/fastmvsnet/train1.py
54d32f6738e6ad2c2884cf8b772cee6a6620a984
[]
no_license
keqpan/mvs_w_depth_sk
4a0ba58453802c8d774b8eba8737cec83cc1129f
6471b47842d720ab3fd7225ccc7dc6921a5cf473
refs/heads/master
2022-10-27T23:25:58.545587
2020-06-06T21:16:51
2020-06-06T21:16:51
269,454,998
0
0
null
null
null
null
UTF-8
Python
false
false
11,013
py
#!/usr/bin/env python import argparse import os.path as osp import logging import time import sys sys.path.insert(0, osp.dirname(__file__) + '/..') import torch import torch.nn as nn from fastmvsnet.config import load_cfg_from_file from fastmvsnet.utils.io import mkdir from fastmvsnet.utils.logger import setup_logger...
[ "guzovskiy.eyu@phystech.edu" ]
guzovskiy.eyu@phystech.edu
242a32c2b815b2212ff22207ee853b99dd0f4f41
34f9de521e5489b11eebc21ebafb938bc639d267
/reservation/landing.py
0e83ab27c72cf8de14bf526668d683f74504c1e3
[]
no_license
QingqingXiao/ost_15fall
95f4c88a13ae13b5e3d0e141822363712878fa58
82d3b315f0e943cbb88b8697fee50a5cd77e539b
refs/heads/master
2021-01-10T16:08:11.988577
2015-12-19T18:21:54
2015-12-19T18:21:54
46,835,048
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
import webapp2 import jinja2 import os import model import re JINJA_ENVIRONMENT = jinja2.Environment( loader=jinja2.FileSystemLoader(os.path.dirname(__file__)), extensions=['jinja2.ext.autoescape'], autoescape=True) class Landing(webapp2.RequestHandler): def get(self): template = JINJA_ENVIRO...
[ "qx307@nyu.edu" ]
qx307@nyu.edu
9d7d3d6808abbef6400da3ff9d8b746caaa25258
db0d15b989134e42c42de461692959a08dd83719
/gradebook/migrations/0010_auto__chg_field_semester_final_gpa__chg_field_semester_gpa_points__chg.py
3e0924edbdc1e78cec2a0644959293e855783da2
[]
no_license
AndCook/mygrades
0d2c024664cdaacbc83715faa6498afbf8100140
68fb000ab272305b2a92b0e84e2ad69886a756ba
refs/heads/master
2021-01-19T14:57:15.694186
2014-06-01T03:49:15
2014-06-01T03:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,818
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Semester.final_gpa' db.alter_column(u'gradebook_semest...
[ "newalth@cs.utexas.edu" ]
newalth@cs.utexas.edu
6c902414d01f93bdf5dc08f48d8f55edec85dd88
8e94794d00ae2f6770f2b1c4c13269ee8f2a5de3
/app/controllers/BackendController/Polygon/ForexController.py
eefbdab2a8593bc74769ae6fffb52509591ee27c
[]
no_license
webclinic017/Trading-app-1
debd99edf075d54aec7655a5b99fb36f91859315
70308541c9c44c858953e18097ee5f6440b40b34
refs/heads/main
2023-08-14T23:43:43.579705
2021-10-14T09:54:59
2021-10-14T09:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
from app.models.sqa_models import * from app.db.tasks import database_session from app.helpers.database_helper import bulk_insert from sqlalchemy.future import select from fastapi_pagination.ext.sqlalchemy import paginate from sqlalchemy.orm import lazyload from datetime import date,datetime class ForexContr...
[ "faisal@Faisals-MacBook-Pro.local" ]
faisal@Faisals-MacBook-Pro.local
0b3dc3a59db53806888bdd7e67e5c3eedde4374c
ad36278ad436573626763f9b82c145bce9ae4a26
/app/core/migrations/0003_ingredient.py
cd7ced8f85b1cd41f2b85cf2ee3999ae4194cc7e
[ "MIT" ]
permissive
dusantrtica/recipe-app-api
8b8e88d2f334deed09ec3602ee73db4fea40d583
154e87b1cb0596fb3ab86c69ec131307ea9a5e9a
refs/heads/master
2022-12-12T16:03:29.621569
2020-09-01T12:14:12
2020-09-01T12:14:12
275,015,672
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
# Generated by Django 2.1.15 on 2020-08-01 11:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0002_tag'), ] operations = [ migrations.CreateModel( ...
[ "dusan.trtica@hotmail.com" ]
dusan.trtica@hotmail.com
065a7ba25278105449e7b3d0bc7e9d75e0141fe2
b564a7d17f224e9512fec36bab4333353381e22c
/lib/exaproxy/html/humans.py
f15fdaa44f84ee1894da006b05dcba9b027d9279
[ "BSD-2-Clause" ]
permissive
Exa-Networks/exaproxy
464f9c72449b12d4f3960e9829a0f93fec8db0da
8b7291b79c1cd6542213a5e7d8dda3cf5a676166
refs/heads/master
2023-09-03T16:10:56.656549
2022-06-28T16:52:48
2022-06-28T16:52:48
13,495,150
127
25
NOASSERTION
2022-06-28T16:52:49
2013-10-11T09:36:28
Python
UTF-8
Python
false
false
1,384
py
# encoding: utf-8 """ humans.py Created by Thomas Mangin on 2012-02-25. Copyright (c) 2011-2013 Exa Networks. All rights reserved. """ from .images import thomas,david class humans: txt = """\ /* TEAM */ Slave Driver / Grand Visionary: Thomas Mangin Google+: https://plus.google.com/104241996506596749840 Gith...
[ "thomas.mangin@exa-networks.co.uk" ]
thomas.mangin@exa-networks.co.uk
9b1f8bdeaee01d6e5a6d11f6555fb7500d924f31
284a6efb9ad99297204ab3b269214d7244406b08
/user.py
ab79f98969ae724faf5a0b48a6a232ccc17b9612
[]
no_license
sidmadethis/learning_lists
1d1b22094e85e4016ef2da243ea71f9d543310a8
1a5088b42cbe429197aff7b53d55bed81258ef6a
refs/heads/master
2020-12-31T07:41:51.491725
2017-05-08T15:23:43
2017-05-08T15:23:43
86,543,739
1
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
user_0= { 'username':'efermi', 'first':'enrico', 'last':'fermi', } for key,value in user_0.items(): print("\nKey: " + key) print("Value: " + value) # key value on line 7 can be replaced with k v, just variables favorite_languages = { 'jen': 'python', 'sarah':'c', 'edward':'ruby', 'phil':'pyth...
[ "sidmadethis@gmail.com" ]
sidmadethis@gmail.com
dede0e6fe67177d3d44f2c90885fd4fddc0d7502
a410f7c6ba7d9de999627f6a6a1803f056f660eb
/compositional/conv_4/train.py
f7a52169b250fdfdd211bf8acd4f66ac381a04aa
[]
no_license
codesubmissionforpaper/entropy_regularised_capsule
6ebfde7f15df7e9402b30da2ec787b42a486db90
cad41c94c73d8addce87d1542bf6213a233f2f73
refs/heads/master
2022-12-24T10:08:58.179752
2020-10-05T09:51:25
2020-10-05T09:51:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,527
py
import torch from torch import nn from torch.nn import functional as F from torch.nn import CrossEntropyLoss import torchvision import torchvision.transforms as transforms import torch.optim as optim from torch.utils.data import DataLoader from model import * from constants import * from data_loaders import * from util...
[ "vsairaam@sssihl.edu.in" ]
vsairaam@sssihl.edu.in
3943bc5e512aec87ced61f515f6f3bb5a430b673
40ed9522978662ed38c0432ec7f29469d9704ed6
/seq.py
7e3f7f8d22564cbc012b028fb256d181af3b5bbd
[]
no_license
ValentinKarnaukhov/Python
31b4b446bfc7b526b345045b14e39845cee7caf6
ce0e1801e5bb83999ceb6d0c59a7bb28d691adbb
refs/heads/master
2021-01-02T08:23:45.099550
2017-08-06T09:32:11
2017-08-06T09:32:11
99,001,741
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
n=int(input()) s=0 for i in range(n+1): for j in range(i): s=s+1 if s>n: break print(i,end=' ')
[ "wippi2010@rambler.ru" ]
wippi2010@rambler.ru
d480892f43b011d55204454153502b18cd950061
7cac4fc7e2a1ef45044fbde037c66fe9e76fc2fc
/pyemd/__about__.py
2da8b2f639bdddc3e2ad5e106bf9d042dec09eb1
[ "MIT" ]
permissive
b5510546671/wmayner_pyemd
5e8f7f43be339d3b56cab17aa04007969b7749de
ef08133be117a5592b10e88c09c26bf977ce229e
refs/heads/master
2021-01-19T18:39:48.111194
2017-07-19T05:15:21
2017-07-19T05:15:21
101,150,575
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # __about__.py """PyEMD metadata""" __title__ = 'pyemd' __version__ = '0.4.4' __description__ = ("A Python wrapper for Ofir Pele and Michael Werman's " "implementation of the Earth Mover's Distance.") __author__ = 'Will Mayner' __author_email__ = 'wmay...
[ "wmayner@gmail.com" ]
wmayner@gmail.com
0dbfafd296306eb0da4d50abfbbd0bd416929656
6f103e8ceaa6ebd8e5c4c34fd96da0bf102719d0
/blog_porject/wsgi.py
15cf2109242c607df6aeedb608ae857ea0c00faa
[]
no_license
RobbyTheFish/BlogApp
7e596e34427728e493b2f7877614217e8f9c1e24
1a1899105eded0876d463b8c686be5250fb4a19c
refs/heads/master
2023-06-25T06:41:42.538539
2021-07-31T08:40:30
2021-07-31T08:40:30
388,342,467
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for blog_porject 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "oyaroslav2004@gmail.com" ]
oyaroslav2004@gmail.com
6469709fcf868289b689c5a64db4c625a21116ff
904b4b7cd6b1709e9aded92737766a3b5a978838
/bissextile.py
d90e2359ddb92bf8a0938ca97e262464bbf19394
[]
no_license
NicolasLagaillardie/Python
3ec7aa6eb21ffa86fad33060bb53e42cb7957dc9
a30037d688d8f11a195d7fa611347528c313d71b
refs/heads/master
2020-03-30T13:48:27.038592
2018-10-02T16:54:42
2018-10-02T16:54:42
151,288,608
0
0
null
null
null
null
ISO-8859-1
Python
false
false
382
py
# -*- coding: cp1252 -*- def bissextile(annee): if annee%4!=0: print annee,' n\'est pas une année bissextile' else: if annee%100==0: if annee%400==0: print annee,' est bissextile' else: print annee,' n\'est pas une année bissextile' ...
[ "lagaillardie.nicolas@live.fr" ]
lagaillardie.nicolas@live.fr
71263917d37ee283555a09f5a3a26e272e03b3e6
7968e4bcd76b68d2632725ecf5cb27e389ea083e
/src/search.py
3af34847132e8709dae9f95acc63caad1f8a1ac6
[]
no_license
kseniazhagorina/genotree
3e9a07a82e611f34595262dbc386a762d583454e
95602ee80766dfda274b35d1f5adb34b3917c4eb
refs/heads/master
2023-02-02T10:59:54.232945
2023-01-08T19:05:44
2023-01-08T19:05:44
69,810,670
2
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
#!usr/bin/env # -*- coding: utf-8 -*- from collections import defaultdict import re class Term: words_regex = re.compile('\w+') END = None @staticmethod def split(text): return Term.words_regex.findall(text.lower().replace('ё', 'е')) class Trie: class Node(dict): ...
[ "ksenia.zhagorina@yandex.ru" ]
ksenia.zhagorina@yandex.ru
0dd6eaca4dec38170e19e45f8effca7e6acf2ed5
1c5a0a3669eceec7ec28820f6435bcaeafba517d
/Exercises/class tests.py
f8eacdf1432d6039fd79e0c37968d82b7e5df65c
[]
no_license
gagnongr/Gregory-Gagnon
0a48220cf1bf7a5a90ce441da0a03c131b6ed5da
2b660de5323e57634fc7f69f4379554d8fcc421f
refs/heads/master
2020-05-20T14:05:45.987126
2013-11-25T00:55:13
2013-11-25T00:55:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
class WeatherForecast(object): def set_skies(self, param): self.skies = param def get_skies(self): return self.skies
[ "gregorygagnon@Gregorys-MacBook-Pro.local" ]
gregorygagnon@Gregorys-MacBook-Pro.local
6272350f4f6c626b86830dc3776e3ecf46a0cd08
e96e69b46e23a248d114e266fb72b7e4242eab2f
/djangostart/wsgi.py
c43842a9457371d047cee1979a80826603818a92
[]
no_license
afrunk/DjangoStart
b7c90af37eec6befef51b92f994cf5957052a555
9952d12d465e05201be30a00c6beafc3183f61af
refs/heads/master
2020-06-26T10:23:47.820928
2019-07-30T14:19:36
2019-07-30T14:19:36
199,607,208
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for djangostart 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "afrunk7@gmail.com" ]
afrunk7@gmail.com
2e34a9f1639c08b36edaff2f6ab1483d312ef2e2
dde21858017283702d5962c3ade969beea4c2831
/notifier.py
5763b9e03c4f46edad37a0719479131134227db1
[]
no_license
lancewellspring/toornamentNotifier
2aef6eccee81692c594fcedb9e908cbeb6c522f6
674fe8f9e8ef65e5f608cfbd8506c1648cde8c4e
refs/heads/master
2020-07-28T15:53:31.647400
2016-11-07T14:11:28
2016-11-07T14:11:28
67,875,657
1
1
null
null
null
null
UTF-8
Python
false
false
5,083
py
import smtplib import urllib import urllib2 import datetime import ast import traceback #All 7 of the following values need to be set, see toornament website for details SENDER = '' SMTP_USERNAME='' SMTP_PASSWORD='' TOORNAMENT_ID = '' API_KEY = '' CLIENT_ID = '' CLIENT_SECRET = '' #this value starts o...
[ "noreply@github.com" ]
lancewellspring.noreply@github.com
9ad8eb5f1a0b2e7c71ae412beca8614b26286697
1462381335dc8e030d19d0bdbad85c963c060eeb
/swe241p/Exercise3/main.py
2b452ac792e8056df0dfe11c39e0d8f2304c166e
[]
no_license
samaritanhu/swe_fall
a71f88915a129cb04216e07a2592d2baa465281b
653397129355784da490627f25d3d9b227351f4f
refs/heads/main
2023-02-11T10:43:35.763862
2021-01-11T22:13:59
2021-01-11T22:13:59
328,803,163
0
0
null
null
null
null
UTF-8
Python
false
false
2,301
py
#!/usr/bin/env python # coding: utf-8 # University of California, Irvine # Master of Software Engineering, Donald Bren School of Information and Computer Science # Created by: Xinyi Hu # Date : 2020/10/11 # Contact : xinyih20@uci.edu # Target : # Note: This is the main file to test all of the sub-files # # a....
[ "samaritanhu@gmail.com" ]
samaritanhu@gmail.com
42bf84d33888ad2322d89211ecb8dd1fb590aa34
afeef1859384eebc97d8d67ff69c9fc22080322b
/systemInfo.py
2e5ad47211b5e0787f44e03615b62c114848556f
[]
no_license
nijin39/systemInfo
4f8c2b7b5bc85cb37d2a98dfd810134cadd84eb0
103c4e6e68336bbc803a9bbb3b41d6a1cab8f50b
refs/heads/master
2020-04-02T20:41:07.214838
2016-06-01T07:22:36
2016-06-01T07:22:36
60,068,939
3
0
null
null
null
null
UTF-8
Python
false
false
11,099
py
# -*- coding:utf-8 -*- import commands import subprocess from subprocess import Popen,PIPE def getHostname(): '''get System Hostname''' return commands.getstatusoutput('cat /etc/hostname')[1] def getKernel(): '''get System Kernel Version''' return commands.getstatusoutput('uname -r')[1] def getOSV...
[ "nijin39@gmail.com" ]
nijin39@gmail.com
00190312dd9d51d779ed3bd1367432d0b083fbdf
31a9049aaea49f01bf49c6bf18e782cd35e7dd5d
/part1/chapter3-classification/utils.py
b43331b0bd7981a6920ac0a70e60262428706d68
[]
no_license
Kimmirikwa/hands-on-machinelearning
e45018b994e91f0afdc1c6c6c98c8ea2781a9a68
57df7e92216354b1c8eae213cdaaaf05c0b19e96
refs/heads/master
2020-04-28T09:16:34.922860
2019-10-18T07:28:56
2019-10-18T07:28:56
175,161,832
1
0
null
2019-10-18T07:28:59
2019-03-12T07:57:04
Python
UTF-8
Python
false
false
3,649
py
import re import urlextract import nltk # natural language toolkit from collections import Counter from sklearn.base import BaseEstimator, TransformerMixin from html import unescape import numpy as np from scipy.sparse import csr_matrix def html_to_plain_text(html): # will remove some tags and replace others text =...
[ "kimrodrikwa@gmail.com" ]
kimrodrikwa@gmail.com
71b0414059115dc1f0094760dbb55ec1206a4e6a
5d62feb365f68d7d9f0c07e5960ea7f41f7a56e3
/conditionals/lists/starter/q1.py
f8be6de2b1356b9958ef314a2a09524d7f34233f
[]
no_license
runda87/she_codes_python
04bdc4595de72686c1d8c777ccfaa28dc95a0304
d609f391ca92750f82a0c3167b46e825d6bc9dae
refs/heads/main
2023-06-15T09:08:57.685236
2021-07-12T12:27:02
2021-07-12T12:27:02
374,647,687
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
foods = [ "orange", "apple", "banana", "strawberry", "grape", "blueberry", ["carrot", "cauliflower", "pumpkin"], "passionfruit", "mango", "kiwifruit" ] print(foods[0]) print(foods[2]) print(foods[-1]) print(foods[0:3]) print(foods[7:10]) print(foods[6][2]) #output # orange # b...
[ "84775206+runda-git@users.noreply.github.com" ]
84775206+runda-git@users.noreply.github.com
ef619675f10ada750d8b8e42b9b0ba8316ffee32
6e7ab33047525eb0a1d01ad499bfb17f1b8403a7
/models/Budget.py
6d13ead971b7b228b49bf27544f1c4de92915154
[]
no_license
Freewin/Bananabudget
9fbd69e6b540a0f4233ea72ba1c247226bb66473
46988e76efdfa278595004f6279a1ff2dee97dd9
refs/heads/master
2020-03-26T01:17:00.002424
2018-09-12T17:07:40
2018-09-12T17:07:40
144,360,361
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
import requests class Budget: def get_price(self, number_of_days, start_date): url = "https://bananabudget.azurewebsites.net/" querystring = {"startDate": start_date, "numberOfDays": number_of_days} headers = { 'Cache-Control': "no-cache", } response = requests...
[ "gary.rojas@gmail.com" ]
gary.rojas@gmail.com
a61e686a2a19b194f74d057cf3102cd5df782b64
ff8bd1967aeb66ffec17c3ae78102c168414761a
/PythonIntroduction/datatypes/Strings/Stringemployee.py
b4b8a6638010e9657f3ff95b34f617e7bc0a2ee0
[]
no_license
charan2108/Pythondirectories
d5cbec41db0685bbfc41a3135edc3e41fd223474
30b4a9f9171fe2295efbf12cbf9cbcf88bdf29b3
refs/heads/master
2023-03-28T03:29:25.039491
2021-03-29T02:45:19
2021-03-29T02:45:19
352,484,535
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
car_name = "Ferrari" car_model= "F360" car_manufactured = 2020
[ "sumacharan.adabala@gmail.com" ]
sumacharan.adabala@gmail.com
9e3cdd59f59678166169807a7ba838469c1b9fc3
72276b20fca1578eed9cda9ed8a2ae2196e65b2e
/task_scheduler/apps.py
39548ce7bdb7662c08d6e7e861120c3620d7f778
[ "MIT" ]
permissive
mypebble/django-task-scheduler
82d60d8ff3258a1806f622ffb49d5ddb57b9864e
439c16cbf6388a7bc98a6d0d09ca012845ef8bb2
refs/heads/master
2021-01-11T06:22:11.631210
2016-10-04T10:59:16
2016-10-04T10:59:16
69,955,435
2
0
null
null
null
null
UTF-8
Python
false
false
102
py
from django.apps import AppConfig class TaskSchedulerConfig(AppConfig): name = 'task_scheduler'
[ "scott.walton@mypebble.co.uk" ]
scott.walton@mypebble.co.uk
fc9131f9ccde84e2d38716326e9ff70aa33bac2a
f306d169cf3b48061a7b29d297612b025f3825f7
/yamtbx/util/__init__.py
bda055a257197c3133ec50c6e8855fe242592bab
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
robertbuecker/yamtbx
b2b43c09ec27a6aa08c1b9330f731df2f95d82c6
9b90e03d27600fd9e550252dcb65c1109f04c44f
refs/heads/master
2020-06-20T07:03:17.679343
2019-07-15T00:17:06
2019-07-15T00:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,267
py
""" (c) RIKEN 2015. All rights reserved. Author: Keitaro Yamashita This software is released under the new BSD License; see LICENSE. """ import os import sys import re import shutil import subprocess import commands import glob import tempfile from libtbx.utils import null_out import libtbx.load_env def call(cmd, ar...
[ "keitaroyam@users.noreply.github.com" ]
keitaroyam@users.noreply.github.com
c35247face031fdcf18da283072975cf5773b968
64a80df5e23b195eaba7b15ce207743e2018b16c
/Downloads/adafruit-circuitpython-bundle-py-20201107/lib/adafruit_pybadger/pybadge.py
6c341d8678773b63b175827e4b779cc10fcfcc22
[]
no_license
aferlazzo/messageBoard
8fb69aad3cd7816d4ed80da92eac8aa2e25572f5
f9dd4dcc8663c9c658ec76b2060780e0da87533d
refs/heads/main
2023-01-27T20:02:52.628508
2020-12-07T00:37:17
2020-12-07T00:37:17
318,548,075
0
0
null
null
null
null
UTF-8
Python
false
false
4,899
py
# The MIT License (MIT) # # Copyright (c) 2020 Kattni Rembor for Adafruit Industries # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
[ "aferlazzo@gmail.com" ]
aferlazzo@gmail.com
b5a54ab413b42bbe5aaf2947e43b9c17f26aca05
c1198c82a511c9398367296e61ed3e7226ecd0a4
/gisapp/app/toolkit/__init__.py
b006a777cad622a63095caab3c84cf8dd5a7f5ce
[]
no_license
maheshpaliwal/JeevanDaan
a22b2dc59bdeb7005f05569b0331fee01d98ead4
9b0b44075b0a7a3937e08155c12112ca306f4b33
refs/heads/master
2020-03-31T02:53:09.777605
2018-10-27T05:45:49
2018-10-27T05:45:49
151,843,342
1
0
null
null
null
null
UTF-8
Python
false
false
200
py
from .buttons import * from .layers import * from .map import * from .popups import * from .ribbon import * from .statusbar import * from .toolbars import * from . import theme from . import dispatch
[ "39883849+maheshpaliwal@users.noreply.github.com" ]
39883849+maheshpaliwal@users.noreply.github.com
46e1f87fb53aa118f81a3a35c9fbf474f72723a8
15e50d612929cc60149f311cb7807e13cebbd383
/djangodebatable/users/admin.py
0a16f115a914c5c357c395530ca2c312cb942597
[]
no_license
DebatableChat/debatable
4c254e560be71974b867a5de8ebea81ff10c19ac
4f7f60952b63b0bd32f34628d5ab9e34fe2ceca7
refs/heads/main
2023-08-28T01:57:34.740003
2021-10-24T20:49:29
2021-10-24T20:49:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.contrib import admin from .models import Profile, Report, Follow # Register your models here. admin.site.register(Profile) admin.site.register(Report) admin.site.register(Follow)
[ "laz013laz@gmail.com" ]
laz013laz@gmail.com
a9eb757a2b0a176611cde9701778712b3dd565df
bec8abb5c3146377f1b3bc2f2b4eaa4d02502211
/mediascraper/the_procrastinators/youtube_scraper.py
7383cc710c70c57551b36229ef8259fb99726bbb
[ "MIT" ]
permissive
Kokitis/MediaScraper
578f3d96f1ef731906e03e56db77e141823f8681
8bd7294942945d90838357f14e10558a0512e316
refs/heads/master
2020-03-26T11:51:34.460233
2018-08-16T00:45:37
2018-08-16T00:45:37
144,863,333
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from pathlib import Path import requests import json import yaml from pprint import pprint from typing import List, Tuple import re import datetime from dataclasses import dataclass from pytools.timetools import Duration shownotes_regex = "" @dataclass class Shownote: timestamp: Duration title: str link: str def e...
[ "cld100@pitt.edu" ]
cld100@pitt.edu
9bd1cb685d27df3d42c491d7eae73d9b825184a9
5ea82bec4980c41c5d9526f2394d3e931978a717
/REG_TEST/Data_loader.py
20b715ac77b5a431c82fd3a844457e0c6812b04e
[]
no_license
pbatwal/TF_TEST
74c4761125607024546c2af9bd592808f1d5bc4d
3bae278fcc842114e59319d7ade86d24d050f5ef
refs/heads/master
2022-10-26T15:06:04.657248
2018-05-20T19:13:34
2018-05-20T19:13:34
132,985,175
0
1
null
null
null
null
UTF-8
Python
false
false
2,344
py
# This Code loads any type of data into Data Arrays (NP or PD) #These are TF specific functions for saving and printing from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import pandas as pd import tensorflow as tf #import xlrd # Paths an...
[ "piyush.batwal@gmail.com" ]
piyush.batwal@gmail.com
423f278c58c975114abab5bad2b8e37d7430b909
00c9da6996b7afcf4a6a522dad84690473febb14
/mysql/update.py
4da779cfb829cb24b79ca611d5a1535464a98614
[]
no_license
laodearissaputra/sql
0efd081354c8b4f6309808ccee7f7ebb824119cf
2e807ac0b92e6e1091cb2c217b3eb24c82cda498
refs/heads/master
2023-03-20T05:15:33.908677
2021-03-16T19:49:24
2021-03-16T19:49:24
348,304,906
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
import mysql.connector db = mysql.connector.connect(host='localhost',database='sql-test',user='bithealth',password='Rahasia.2021') cursor = db.cursor() sql = "UPDATE employee SET age = 28 WHERE sex = 'M'" try: cursor.execute(sql) print('data update') db.commit() except: db.rollback() db.close()
[ "aris.saputra@bithealth.co.id" ]
aris.saputra@bithealth.co.id
58fa00901612d8e03424b86bb769e4c16caed12d
f080beb2225995e96d2d192f3561e87ffb9e05cf
/detect.py
a72851498a91cfd25339da9a966eaf75d564f96d
[]
no_license
egeaydin/CarDetector
6532420e38cdfcf06c4a2b8bbc07016c02c0d940
f7bca723c0bce5dd545f589e5a32a3c858a843e3
refs/heads/master
2020-04-02T08:04:26.747694
2018-10-25T22:17:41
2018-10-25T22:17:41
154,227,942
6
0
null
null
null
null
UTF-8
Python
false
false
803
py
from car_detector import CarDetector import sys if len(sys.argv) < 2: raise Exception("Please specify the absolute path of the video file. Ex: python detect.py C:\\Users\\user\\movie.mov") sub_clip = None # means only the start second specified if len(sys.argv) == 3: raise Exception("Please specify the end se...
[ "egeaydin@gmail.com" ]
egeaydin@gmail.com
766af69b4f7415293518c240d54f5b839b179605
9c6eb14eb45bbc554aba32afc825e2eddde14cd6
/3、基本数据结构/linklist2stack.py
898920495efebbfdaa60c2d99171103cdb325b7e
[]
no_license
csuzll/python_DS_Algorithm
c4a466191e08fd18ff614f4537a23710f8ff9f5b
06b5ebd4ff776d87407310b67e23e3337048e002
refs/heads/master
2020-06-21T03:53:43.093060
2019-08-21T10:46:13
2019-08-21T10:46:13
197,337,449
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# 用链表实现栈 from unorderlist2 import UnorderedList class Stack2(): def __init__(self): self.items = UnorderedList() def isEmpty(self): return self.items.size() == 0 def size(self): return self.items.size() def push(self, item): self.items.append(item) def pop(self)...
[ "1575258778@qq.com" ]
1575258778@qq.com
cc265e6daac130bd2e718e88da4c30d7bfa496a6
23da5ebe6f71bab7e63a799c673a81a87565da76
/tests/test_data_reader.py
abc3526d38dedd777225144c7b8fdc26c2bde9b1
[]
no_license
AruniRC/colorizer-fcn
6af5c1da80f0200deb370e2841c51a7fd8eb3650
33ab423151a2c6045f69bcf0bb493965e106010a
refs/heads/master
2021-09-05T14:22:42.550611
2018-01-28T20:08:12
2018-01-28T20:08:12
115,282,079
2
0
null
null
null
null
UTF-8
Python
false
false
5,267
py
import argparse import os import os.path as osp import numpy as np import PIL.Image import skimage.io import skimage.color as color import torch from torch.autograd import Variable import sys sys.path.append('/vis/home/arunirc/data1/Research/colorize-fcn/colorizer-fcn') import models import train import utils import ...
[ "arunirc@erdos.cs.umass.edu" ]
arunirc@erdos.cs.umass.edu
507b5e4a2cf5d1be59559b0252c23e4d162aace9
7762ca6feb98c8b1c95da09758801a6bc38922ff
/NinjaGold/settings.py
00af97c3a4b37d82f68939050baa3b893c96e2ba
[]
no_license
SDBranka/NinjaGold
211bd6ade5e9c6a216ffef89a0c791a8a2d15ad5
db881812842f2188df1da20edc81469fcb56a50a
refs/heads/main
2023-04-29T01:02:07.427340
2021-05-22T19:05:34
2021-05-22T19:05:34
369,070,343
0
0
null
null
null
null
UTF-8
Python
false
false
3,109
py
""" Django settings for NinjaGold project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
[ "sdbranka@me.com" ]
sdbranka@me.com
5e078a01031a1ae3716f3d785c8ac7140806777e
c39b10669f4bbac5dbf53d5e9437b6161e9a1923
/words_maze/jogo/jogo.py
b87a749097bbbe4ed87e35609d73709d9177a591
[]
no_license
manuzika/PI3
68b558453907bc703b37393395c0ef0ee808869f
1eff419c63bea1b036a200032933a8b4216fb950
refs/heads/master
2023-04-07T06:02:05.527430
2021-04-16T23:52:27
2021-04-16T23:52:27
358,738,786
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
import os import pygame class Personagem(object): def __init__(self): self.rect = pygame.Rect(32, 32, 32, 32) self.letra1_colisao = False self.letra2_colisao = False self.letra3_colisao = False self.letra4_colisao = False def move(self, pos_x, pos_y): if p...
[ "roepckemanoela@gmail.com" ]
roepckemanoela@gmail.com
892c6ea0089b84d37e35d19760bbe949a8fd271a
9c6522db2db8c4c075e23f2953776384973891a8
/cn.ao/py.ori.fmt/c0310.bin.py
edfcd15820f2b96d91aea65d3e7db6e48edd12f7
[]
no_license
ZhenjianYang/ZeroAoVoiceScripts
b388c28b498049d7d4277b8344cdc098488fd258
7e0b696d743912739b855acb4306f1dcf564d6c0
refs/heads/master
2021-05-18T08:58:59.482674
2021-02-19T08:22:19
2021-02-19T08:22:19
94,624,272
12
5
null
2021-02-19T08:22:20
2017-06-17T13:06:15
Python
UTF-8
Python
false
false
70,427
py
from ScenarioHelper import * def main(): CreateScenaFile( "c0310.bin", # FileName "c0310", # MapName "c0310", # Location 0x002B, # MapIndex "ed7150", 0x00002000, # Flags ...
[ "zj.yang@qq.com" ]
zj.yang@qq.com
11f4876869aa2dad11abfebfef87a6527d005b2b
06fe16763861e556eeb71a8ae81ceff9b59581db
/autotools/optimizetask.py
8ed63647627df6f08deabde0bffd56f178897caf
[]
no_license
hehaoslj/FSimulator
9961dc8fee41e1f7fb5862e127294fef0b39c85c
6f4b79c23f3265ea11b31b09f70c822d8704e8fb
refs/heads/master
2020-05-29T08:48:47.889577
2017-06-12T08:01:56
2017-06-12T08:01:56
69,776,028
2
0
null
2017-06-11T17:21:02
2016-10-02T03:03:29
C++
UTF-8
Python
false
false
918
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #!/usr/bin/env python # -*- coding: utf-8 -*- import cffi import os import sys ffibuilder = cffi.FFI() ffibuilder.set_source("optimizetask", """ """) init_code = """#!/usr/bin/env python # -*- coding: utf-8 -*- from optimizetask import ffi """ init_api="" replace_fil...
[ "hehaoslj@sina.com" ]
hehaoslj@sina.com
ddff6a97ebf3aaffa32bcca7a455e9df667bac7b
1c7483b7f679d41850642101b77267c88e4d2252
/book/implement/lucky_strike.py
14a45e787e90b690e103b88880fac705577bbf54
[]
no_license
julianne03/ready-coding-test
1864e460823f41f68c3c7491f397c80037a08919
27b0e66b4b69800fa41b96562dac5103fee3251f
refs/heads/master
2023-04-26T16:20:35.588176
2021-05-19T08:37:02
2021-05-19T08:37:02
358,656,208
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
numbers = input() num_sum = 0 for i in range(len(numbers) // 2) : num_sum += int(numbers[i]) for i in range(len(numbers) // 2, len(numbers)) : num_sum -= int(numbers[i]) if num_sum == 0 : print('LUCKY') else : print('READY')
[ "" ]
e7d34241c79b9cfc264743c12b1575090c6fe6ab
3169075a364c2d713e5cae0566f81e02c0afe044
/lecture_length.py
a9ea39d7dbec6f949929d0c8159ed03fdcb8db94
[]
no_license
dkok97/average_length_of_lectures
4145ea70c7656d9f3700e1472e7e5b6e4db6add8
4e7bc2676d377d52ff3b02c9da1a64e04f021860
refs/heads/master
2021-01-24T01:28:28.007216
2018-04-10T05:09:19
2018-04-10T05:09:19
122,808,507
0
1
null
null
null
null
UTF-8
Python
false
false
6,894
py
import json import time import csv from pprint import pprint base = { 'major': { 'school': 'Engineering', 'NorthOrSouth': 'South', 'Fall': { 'upper': { 'avg_lecture_size': 0, 'avg_lecture_length_day': 0, 'avg_num_lectures_week': 0,...
[ "dinkarkhattar@gmail.com" ]
dinkarkhattar@gmail.com
91ef1503ce75661dbbe6b7d791eda966a31b1c1d
81eabe15995a6426b285b2312b73c0bde7bb61bc
/paleomix/tools/zonkey/common.py
81ad379b116d4e6692319c1a2c4afc9f055ff3ca
[]
no_license
fvangef/paleomix
3a732d8cd99177809b25bd09dde6efd261b10cad
826fb866ae9c26cb7b49fc6a96fb618a3daaffcc
refs/heads/master
2020-04-15T22:05:02.249220
2018-11-05T19:56:49
2018-11-05T19:56:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,897
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2016 Mikkel Schubert <MikkelSch@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without l...
[ "MikkelSch@gmail.com" ]
MikkelSch@gmail.com
49e3ff0f5f62bc19306f05b2fd7a489cf70d2013
56552161d554899961141d3233315115e75dcc6e
/apps/account/models/__init__.py
72e52fd08a9003ee8b2ac95bd06b4854b4acc3f5
[ "MIT" ]
permissive
kutera/pyerp
7029b04d3e0bf9761b63ce5cadc764f710abe9d9
bac9d8c2f88a95e6be6d1a08d74a248dd3b2e501
refs/heads/master
2020-09-02T20:00:27.070049
2019-10-30T14:15:33
2019-10-30T14:15:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
"""Account Models """ from .move import PyAccountMove, PyAccountMoveDetail from .plan import PyAccountPlan from .invoice import PyInvoice, PyInvoiceDetail from .journal import PyJournal
[ "gvizquel@gmail.com" ]
gvizquel@gmail.com
02bcb1015f4ae20df9471e74fcbe8a96a2da1508
c20e1f67bb879ae1c3bcaaca45491e26208e921d
/tests/test_model/test_task.py
bd261b3287ce78fbddfa65a6ab58f7917882e71c
[]
no_license
lesunb/Knapsack-Planning-MPERS
457f97ad062c6dac4d5fec109444849276d69b8f
62e4543fd18219dcaf9ee5efff69ca11d659abfc
refs/heads/master
2023-08-30T17:11:06.525671
2021-10-26T01:50:15
2021-10-26T01:50:15
359,919,416
0
0
null
2021-05-05T14:58:56
2021-04-20T18:49:06
Python
UTF-8
Python
false
false
6,057
py
from planning.common.model.task import Task from planning.common.model.context import Context from planning.common.model.decomposition import Decomposition from planning.common.model.comparison import Comparison from planning.common.model.quality_constraint import QualityConstraint from tests.test_data.mpers_metric imp...
[ "biachiarelli@gmail.com" ]
biachiarelli@gmail.com