blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
beee513841627bd6d819f91b1f43aae44f9ab6cf
f2421df9b4b385b7afbaf35fdf3cabf0e82c509a
/Linear Search.py
6ce107f159c92df4aaca537bc5671b66f3e28ff6
[]
no_license
44858/lists
7409801767a3448222f1fdc69e803a644e322796
dcd0fff3975c888a0daea5634bacc65c05194d59
refs/heads/master
2021-01-01T16:39:37.145960
2015-01-16T14:28:21
2015-01-16T14:28:21
27,891,543
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
#Lewis Travers #09/01/2015 #Linear Search search_list = ["person 1", "person 2","person 3", "person 4", "person 5", "person 6"] def details(): search_item = input("Please enter the item that you would like to search for: ") return search_item def linear_search(search_list, search_item): found ...
[ "44858@PC004142.coll.lr.local" ]
44858@PC004142.coll.lr.local
11be4e6632d5036cf165b20409f85c054fc6a903
6a20102b13ef5ea1371c2600b0d7fb25013065a7
/recognition/FaceRecognizer.py
66cf4d0807431457cfa52f6603ed391a58367167
[]
no_license
freefly518/UniversalFaceRecog-TF2
bc52d977bc1c2faa4877544f1a9f0fc8c39b1147
7621842e1ba3a31510d62161be74db93c9976ec0
refs/heads/master
2023-07-25T10:50:10.018049
2020-09-27T07:58:55
2020-09-27T07:58:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
import json import nmslib import numpy as np from recognition.face_embedder_network import FaceEmbedder class FaceRecognizer: def __init__(self, index_path, mapping_path, embedder_weights_path): with open(mapping_path) as f: self.mapping = json.load(f) self.index = nmslib.init(method='h...
[ "stanislas-bertrand@hotmail.fr" ]
stanislas-bertrand@hotmail.fr
71849c114b7d1d8ead819825eda9f52b82011539
c24ca4bf76229b92ecf2cb2c0db99a7be452aef7
/generator/test/test_enum_builder.py
33b1ddd240a3078c711622b56373c59fc12927fe
[ "MIT" ]
permissive
design-ops/localizable-googlesheets
ebf02e1989d9f746fa122424c89dd567be0aa0dd
f6ab345ff481cd0c9be291a2df66d729e052b2e6
refs/heads/master
2021-04-21T21:49:47.486337
2020-03-24T21:18:08
2020-03-30T13:03:51
249,819,063
0
0
null
null
null
null
UTF-8
Python
false
false
2,335
py
import unittest from unittest.mock import patch from datetime import date from tempfile import gettempdir from os import path, remove import filecmp from localisation.output.enum_builder import output_enums from localisation.output.template_helper import TemplateGenerator from localisation.output.csv_builder import bu...
[ "atomoil@gmail.com" ]
atomoil@gmail.com
81da98fb3ca775a664d7ebd08e9df9fb3e052c49
c6d0c3def4e0142c65ccbff5779da8093744f918
/stringsplitter.py
456dd363fe43b2b3ee1e8ec19d612b4953e7accd
[]
no_license
AkshayKJha/Python-basic-programs
9afbb03fdec2c52de075130f5293f495457bdf5c
38dccf974dd80b2e955ab543f7f62f203389c46d
refs/heads/main
2023-03-09T08:06:37.899357
2021-02-22T10:06:52
2021-02-22T10:06:52
341,149,109
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
string_entered=input("Enter an odd length string:") middle_position=int(len(string_entered)/2-0.5) print("Middle character:",string_entered[middle_position]) print("First half:",string_entered[:middle_position]) print("Second half:",string_entered[middle_position+1:])
[ "akshayjha@Akshays-MacBook-Air.local" ]
akshayjha@Akshays-MacBook-Air.local
30ac2f9462c95f38c23cc0d47c2c32259ccf1897
2e5a29dddcfe2a36013c9c4489cd7de9914ae497
/miapp00/urls.py
a6a025ce908243d042ecabe6f895c397d9f97072
[]
no_license
bryangj23/miappp00
c1aa437edb265b18b46ede3d4fa80f67f2850037
3622d72a3466858fd53efc16c80b93e36d6aca11
refs/heads/master
2023-07-06T15:22:47.727204
2021-07-27T09:50:03
2021-07-27T09:50:03
389,806,612
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
"""miapp00 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-based...
[ "brayanguardodiaz0@gmail.com" ]
brayanguardodiaz0@gmail.com
866dab80225e7a4e1115865b8250b4aec2265fd4
207cdfe1d9873d3751af8a2065aade13aad9272e
/aws/ondemand/status-server.py
e881213b583a30b383a3522854103be7aabcded0
[ "MIT" ]
permissive
hhvm/packaging
8340c7ade9f7a78dc604463e111653efa524ee12
ed49e8868e1982c30a30ca647aa6bb0c9f8668a1
refs/heads/master
2023-07-20T11:05:13.367796
2023-05-02T23:43:12
2023-05-02T23:43:12
15,297,877
45
45
MIT
2023-07-12T02:40:31
2013-12-19T00:34:41
Shell
UTF-8
Python
false
false
810
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import datetime import socket import sys s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(('', 4242)) while Tru...
[ "jjergus@fb.com" ]
jjergus@fb.com
ec8ecf9c1634b200fa162ab6b6ba5afabffcb667
820170fe46d3035c67da7bcf7e524f8a95648301
/src/models/algorithms_/cv.py
5a07c740fbf264bdcefd67df595e5f16a46943d4
[ "MIT" ]
permissive
voyagewsr/rice-elections
5e6504652a3645b40eaf01b6816c18e5cc38ac71
f9210ce456ecf3f8cf4becf6c764a419df9c937f
refs/heads/master
2020-04-05T19:04:30.121380
2015-10-03T19:32:12
2015-10-03T19:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
""" Cumulative voting algorithm for the app. """ __author__ = 'Waseem Ahmad <waseem@rice.edu>' import logging def get_counts(ballots): """ Returns the number of votes for each candidate in the ballots. """ counts = {} for ballot in ballots: for candidate, votes in ballot.items(): if candidate not in counts...
[ "waseem@rice.edu" ]
waseem@rice.edu
0363760b0b7547d13c12a84111ceb39db5a60bfb
5da5c76bf679b8aa458cd9ddb7c0798afe66a5bc
/wechat/migrations/0002_auto_20180828_1102.py
dd68f1aacb3043ee143f4b13c45586bc63bac41e
[]
no_license
2240831304/pythonserver
83601ba35137c657e97320c424913b07a140653e
a213a2ff408b8da8d1961b3135b24d08f7dac7e0
refs/heads/master
2022-12-10T01:05:50.875941
2019-11-13T06:49:00
2019-11-13T06:49:00
251,175,315
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-28 03:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wechat', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "cj@obook.com.cn" ]
cj@obook.com.cn
cad20c4f51279f76807c6255440f61e50af0a57c
8af0d7b795aee26814c2cb41e2bcd60918252bb7
/__pycache__/my_sol.py
e5f8eb3fd56eafc0e0d86eeaa103748f5fa10b76
[]
no_license
BYU-ACM/warm-up-day-1-dslunde
8676194f34197fce659eff123c299700f5017720
00ed7aab0731ab687739d5b6d8504e44c6dd1932
refs/heads/master
2021-01-13T12:51:34.157089
2017-01-12T17:30:50
2017-01-12T17:30:50
78,466,764
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
def Newtons_Method(func, func_prime, x_0, iters=100, tol=1e-5): """A direct implementation of Newton's Method (For sanity assume that func and func_prime define there own division correctly, that is, don't cast anything to a float) params: func: a function, fuc_prime: its direvative ...
[ "lukenelson1298@gmail.com" ]
lukenelson1298@gmail.com
8b4a954a07fa5f54dcb39b9b49383f6a35213935
08681a11a68de7d367c00078025f5837a0ee2a6f
/tutorial/snippets/views.py
cc6c0ce7f7f5e4f93bd55eee7e764f89ab606d46
[]
no_license
Areckki1985/tutorial_api
395de0e6e863dfcc1c0d438f13be1f24e4941adf
c14010af0e419c2df06e3b06931392075c29c6b3
refs/heads/master
2020-07-07T12:09:21.426760
2019-08-21T09:04:02
2019-08-21T09:04:02
203,343,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
from snippets.models import Snippet from snippets.serializers import SnippetSerializer from django.contrib.auth.models import User from snippets.serializers import UserSerializer from rest_framework import permissions from snippets.permissions import IsOwnerOrReadOnly from rest_framework.decorators import api_view f...
[ "arkadiusz.gluchowicz@gmail.com" ]
arkadiusz.gluchowicz@gmail.com
2ada90a18970f546e92eedfb10c54a5882736e64
9e78a4bbd1303ad3c6e4ecc11b262ba2e2dbc755
/mail/migrations/0001_initial.py
9e520ed5c7e124897de811aecf837176cf07f3ca
[]
no_license
MarceloArraes/mail
ef7c00ae8b3269e7256da0515540a6c6ebafa221
5f72b46dcb3a02b3dfa1e148cf462f52fdd8600f
refs/heads/main
2023-05-13T15:53:54.096783
2021-06-01T20:23:57
2021-06-01T20:23:57
372,915,256
1
0
null
null
null
null
UTF-8
Python
false
false
3,883
py
# Generated by Django 3.1.7 on 2021-05-24 10:11 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "marcelo.arraes@gmail.com" ]
marcelo.arraes@gmail.com
1ef0b87773f8868ffdcb8fadf7a6abb0bd04b56e
855af02c0dbf44580f7a66f5c21cbf307ed030e7
/customer.py
e04fcbe7d06f6a227bc4ce0a386004e28858c953
[]
no_license
CMolitoris/SodaMachine
d11096bfecc956dff3c4ecfbdbd4fd2e3690cadc
d66da854e2920cbee5201fe450cf7314a1a861dd
refs/heads/main
2023-07-28T00:44:02.809053
2021-09-15T20:25:30
2021-09-15T20:25:30
406,826,321
0
0
null
null
null
null
UTF-8
Python
false
false
2,848
py
from wallet import Wallet from backpack import Backpack import user_interface class Customer: def __init__(self): self.wallet = Wallet() self.backpack = Backpack() def gather_coins_from_wallet(self, selected_soda): """Method allowing user to choose coins from wallet for payment""" ...
[ "60626007+sfodd1@users.noreply.github.com" ]
60626007+sfodd1@users.noreply.github.com
14caeee5c4cf7465a4be45c330290977d7bd01f1
fe7c9fdbab89c7e2ba9eb21455590097700d396c
/Community_Management_Applets/web/message.py
dff6b02ee9c5d57e3c7d143d50f8b370ee559009
[]
no_license
Alien-Leon/Community-Manage-Applet
b2e1696747e2e6980c3374abe9bc694282226531
0a567a424880b8dd33dd4ebc37ad75d6eaafc2b3
refs/heads/master
2020-03-08T02:22:40.633513
2018-04-18T08:05:21
2018-04-18T08:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
import json from django.http import HttpResponse, JsonResponse from django.core import serializers from web.user import decodeToken import logging from web.models import User, Message from django.utils import dateformat logger = logging.getLogger('django') # 新建消息,request中提交 需要通知的人 def createMessage(request): pass...
[ "305141121@qq.com" ]
305141121@qq.com
03add3c2b431e10d9db6a9da1e3ac33ba5a3f9bb
7661c9f14a749f7ffd4e78299ded5dd72b46553e
/test_drone.py
555351b679c7013106ce8ca6a8237ee6fb42ec65
[ "MIT" ]
permissive
ysbsb/dqn
8ae4edff0f900fd1efcda6d0378d1f313d88b673
e1b9175a5c9dc2fb7b633b4df54c33fbba7e1e15
refs/heads/master
2020-05-22T14:35:43.135505
2019-05-14T04:48:59
2019-05-14T04:48:59
186,390,590
1
0
null
null
null
null
UTF-8
Python
false
false
283
py
import setup_path import airsim quad_state = client.getMultirotorState().kinematics_estimated.position print(quad_state) quad_vel = client.getMultirotorState().kinematics_estimated.linear_velocity print(quad_vel) collision_info = client.simGetCollisionInfo() print(collision_info0)
[ "subinlab.yang@gmail.com" ]
subinlab.yang@gmail.com
c7ebab521acef2581282d84fe3c78b369dfb1fd9
311e1bbb15ceef42f87009c1092d69c6dd4c4f22
/app/settings/apps.py
0fcfdea00909e1a287db50640e517e3db1a26e3b
[]
no_license
MarcMeszaros/snapable-api
9780b9ccddb9198a21c81ce1503b13abc71f576b
a2b8edf3fe64144efefa5fd67aa735664a003f55
refs/heads/master
2021-01-19T14:46:44.505212
2017-03-29T23:25:57
2017-03-29T23:38:47
86,636,920
0
1
null
null
null
null
UTF-8
Python
false
false
685
py
# -*- coding: utf-8 -*- from .django import DEBUG ##### Django Applications ##### # Prerequisite applications PREREQ_APPS = [ # django related 'grappelli', 'django.contrib.admin', # required for admin 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'djan...
[ "marc@snapable.com" ]
marc@snapable.com
a2128caca1644b75adf130da014bb25cf06cc955
77cde32e18bc3fbea545711e68f2772452da6c62
/python_intermediate/Cleaning and Preparing Data in Python-351.py
899c29c535a0a8c2fa78b3aee241cc699904d519
[]
no_license
braden-holgate/Dataquest-Missions
6bc30c4e6aa96b80a6f98de58bd03a3b63782d7c
c7c543f97f08fac55e126a12e125c335cb98b572
refs/heads/master
2022-02-23T06:52:16.087360
2019-10-08T03:21:27
2019-10-08T03:21:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,893
py
## 1. Introducing Data Cleaning ## # Read the text on the left, and then scroll to the bottom # to find the instructions for the coding exercise # Write your answer to the instructions below -- the list of # lists is stored using the variable name `moma` num_rows = len(moma) ## 2. Reading our MoMA Data Set ## #...
[ "bradenholgate@live.com" ]
bradenholgate@live.com
cee5af220e2385cf344e159ba2a334f7edf7b963
bc58745546e49b4bf77f7b054f665651a273ec5c
/fastai2_extensions/_nbdev.py
d0ca5bd9f8a56551d0caacf5ff82cf31ec88e9a4
[ "Apache-2.0" ]
permissive
polyrand/fastai2_extensions
047f805a83ea4db005900068ab0644bf2baac96c
445114c7da0c060ec2be4d1c6cb66a1b61f84956
refs/heads/master
2022-09-20T15:18:26.709548
2020-05-29T06:41:50
2020-05-29T06:41:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,024
py
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"ClassificationInterpretationEx": "01_interpret_classification-interpretation.ipynb", "intersection": "02_interpret_compare-models.ipynb", "compare_venn": "02_interpret_compare-models.ipynb"...
[ "rsomani95@gmail.com" ]
rsomani95@gmail.com
c80f305da8e406595a7bbbb1704800c5e8a18ee3
3b03ddc20c42c2216a250fb5b200332f0f4e8542
/pps_kurs/register/migrations/0008_auto_20190513_2055.py
2463c7589286ef17e24479914b21763fe560e712
[]
no_license
nicolre239/NicosTinder
8482d3f33ec4a38c31091138d4dca6b7ed867a8b
e3cb8a372d103f24a3f507af403f5dc1db8aa15d
refs/heads/master
2020-05-23T16:56:11.747723
2019-05-15T15:54:29
2019-05-15T15:54:29
186,858,180
1
0
null
null
null
null
UTF-8
Python
false
false
1,987
py
# Generated by Django 2.0.2 on 2019-05-13 17:55 import django.core.validators from django.db import migrations, models import re class Migration(migrations.Migration): dependencies = [ ('register', '0007_auto_20190513_1715'), ] operations = [ migrations.AlterField( ...
[ "noreply@github.com" ]
noreply@github.com
1caae2df6407d549a3216cd97e5c4ac5d8e4eb12
f4ca1c4ab4a1c1d468e1a0574f0c466925b0cc3e
/final/commands/clear_data.py
6f1ee0a71e8a3e292ec46607d2e5fb3406d50a9e
[]
no_license
TsunamiMonsoon/InternetProgramming
f2d3262b085a2908496a2dce9991ce2f1de9c7e7
ea7776920d769bf508b2fed685c28b0121ae3e77
refs/heads/master
2023-03-02T10:10:48.718011
2021-02-13T21:30:54
2021-02-13T21:30:54
272,563,372
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
__author__ = 'faculty' from measurements.models import Courses, PreRequisite from django.core.management.base import BaseCommand, CommandError class Command(BaseCommand): help = "adds sample entities to the application" def handle(self, *args, **options): Courses.objects.all().delete...
[ "noreply@github.com" ]
noreply@github.com
c179ea5e7b470f608af5d12e7412e8280985256f
34b5dcc6be47b044eabeb38f5536c74076663ff5
/xplane_data/src/Python/src/basicExample.py
9b516bf4d38dff804e12f1b6cf80e9cd100c3ecf
[]
no_license
vegaf1/xplane-acasx
daadc73016ce875f152716d41bd1c2280d76b468
74644f1b0e5e9b1b40a84671eae90f57d8be836a
refs/heads/master
2022-12-13T06:51:57.215205
2020-09-16T23:53:10
2020-09-16T23:53:10
291,315,887
1
0
null
null
null
null
UTF-8
Python
false
false
2,300
py
from time import sleep import xpc def ex(): print "X-Plane Connect example script" print "Setting up simulation" with xpc.XPlaneConnect() as client: # Verify connection try: # If X-Plane does not respond to the request, a timeout error # will be raised. c...
[ "noreply@github.com" ]
noreply@github.com
fc414fb234cdb876b860f8c4fd4b21388b380bfd
6f761775e3c7bc9470491c0920e5275e344296a0
/data/data_bogota/join_vid_labels.py
f4f58e19020d5cdba0583c820107bd1b6f76ad51
[ "MIT" ]
permissive
tebandesade/Detectron.pytorch
6da394bbbc7fd8d6bf847e1467338c865c43548d
b442cda4a415d47abf6bcf40261b6c9bd72bd6dc
refs/heads/master
2020-04-16T00:11:27.654572
2019-01-10T21:23:45
2019-01-10T21:23:45
153,905,492
0
0
MIT
2018-10-20T12:54:57
2018-10-20T12:54:57
null
UTF-8
Python
false
false
2,148
py
import argparse import os import sys import json def parse_args(): parser = argparse.ArgumentParser( description='Convert a Bogota labels into one label file') parser.add_argument( '--dir_json_files', dest='directory_json_file', help='Pretrained network weights file path', defa...
[ "esteban.galvis@rappi.com" ]
esteban.galvis@rappi.com
fa36cd8066bd7e0de99c2ce8ac611f1c57fefe9b
7ba43c6d8e1dfb983ea931a84c32a61b4fac3e17
/db_connect.py
f3f55520cf936c835208b5ade06790e802234499
[]
no_license
NandaKrishnaAchar/Virtual_Tour_Guide
b2a96b437ba8fc3bb0b6e2611963b53c1fc8ced4
8dbc2710427e424d933306fa42dfd2a8e0f7662f
refs/heads/master
2020-12-06T07:46:55.620647
2020-01-21T08:35:20
2020-01-21T08:35:20
232,396,785
0
0
null
null
null
null
UTF-8
Python
false
false
11,816
py
import mysql.connector from math import sin, cos, sqrt, atan2,radians from mysql.connector import Error def read(key): try: connection = mysql.connector.connect(host= "ec2-13-233-208-238.ap-south-1.compute.amazonaws.com",port=3306,database="tour_guide",user= "ec2-user@13.233.208.238",password= "Hello123@")...
[ "ec2-user@ip-172-31-39-28.ap-south-1.compute.internal" ]
ec2-user@ip-172-31-39-28.ap-south-1.compute.internal
c4d070d30d24b5a4810b47a01dc3f3ad18de75f7
bb0203eb2960a33b2fc2b84eab7c69ff5ba15d8b
/3itemsets_step3_reducer.py
8a66b2f33e9bcfc626071b62d11e21c057444dd6
[]
no_license
vikassable/Frequent-Itemset-Mining-using-Hadoop-MapReduce-framework
1340cb7695802674a50068496eeee75bff4ade0c
c0c99f7f787656da3ce6098325ed69e5101b08e0
refs/heads/master
2021-01-25T05:56:36.003203
2017-02-02T08:26:26
2017-02-02T08:26:26
80,706,398
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
#!/usr/bin/env python import sys current_item_1 = None current_item_2 = None current_item_3 = None current_count = 0 item_1 = None item_2 = None item_3 = None # input comes from STDIN for line in sys.stdin: # remove leading and trailing whitespace line = line.strip() # parse the input we got from mapper.py item...
[ "vikassable2009@gmail.com" ]
vikassable2009@gmail.com
e17a7f5ab8165c304892b7ccde5780fd06ad2c59
7164b9a694ba5b321ddbc7914ba88edfb48c616e
/backend/restapi/APIDocResource.py
aa82ec48e94077deef7d0b60615ac0ecb1c6dc27
[ "MIT" ]
permissive
xiliangMa/AuthServer
0b861a549d4f4732efd2e351d6c45a689b9029a2
7f1deeae804104f53ec3963e39d690c9d296283c
refs/heads/master
2020-04-07T10:05:54.040735
2019-12-02T07:29:06
2019-12-02T07:29:06
124,202,551
1
1
null
null
null
null
UTF-8
Python
false
false
277
py
# -*- coding: utf-8 -*- __author__ = 'xiliangma' from flask.ext.restful import Resource from FlaskManager import app from FlaskManager import httpAuth class APIDoc(Resource): @httpAuth.login_required def get(self): return app.send_static_file('index.html')
[ "maxl@cloud-times.com" ]
maxl@cloud-times.com
fab333189b8e123f6d48aa71e671acf10d5c5066
cc1f5838f4b5055b400a502c161f68418bbfbd3f
/main.py
1b6d2a31108f518e59f1d178eb7504930c0a715c
[]
no_license
AntoCat93/HW5_G26
9d1580147cde8863b83b423c27d9828e2234a8a3
cc34f1bc263a128509ca95f257df323a75086253
refs/heads/master
2020-09-29T07:30:02.824026
2019-12-24T19:05:59
2019-12-24T19:05:59
226,987,212
0
0
null
null
null
null
UTF-8
Python
false
false
2,978
py
import pandas as pd import networkx as nx import numpy as np import functionality1 as f1 import functionality2 as f2 import functionality3 as f3 import functionality4 as f4 import create_graph def getFunction(i): if i == 1: print("functionality 1 called\n") functionality1() elif i == 2: ...
[ "noreply@github.com" ]
noreply@github.com
6bced33df9a7ad503e011d325ec77835e80d3cc3
b3bfac0466b5e00c54dac34ccfa493d7d95d49fa
/HTTP_server.py
f298c02d3255ce5a08986389149bb598689dceaf
[]
no_license
TalBenZvi/HTTP-server
ef2324f9e99359481191d02d7d816bec616bbd1f
2a12e2f797e72c13879bd423a19fc09fbb134148
refs/heads/main
2023-03-15T17:14:17.123265
2021-03-05T16:38:26
2021-03-05T16:38:26
344,860,081
1
0
null
null
null
null
UTF-8
Python
false
false
4,514
py
import socket import sys import os.path # request format MIN_FIRST_LINE_LENGTH = 13 FIRST_LINE_START = "GET " FIRTS_LINE_END = " HTTP/1.1" SPACES_IN_FIRST_LINE = 2 LINE_END = "\r\n" REQUEST_END = "\r\n\r\n" FILE_NAME_INDEX = 4 SPACE = " " DOT = "." CONNECTION = "Connection: " # connection statuses CL...
[ "noreply@github.com" ]
noreply@github.com
869cbcd717d4522fce402db11a0f1460e1bfc621
5ff8cefa68d52d2427bb3d35320cd8bd0d072968
/Python/StringExample1.py
7a0151c415f069ae83b964413dd1a6c11c307e85
[]
no_license
gsudarshan1990/PythonSampleProjects
a65a111454f8dc551f1cd29901cead0798ad6dc3
3c1a5174c5f966b0eed2828221add76ec0d019d5
refs/heads/master
2020-05-09T16:02:37.743568
2019-07-14T06:22:55
2019-07-14T06:22:55
181,255,262
1
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
string1='banana' print(string1[1]) print(string1[0]) index=0 while index<len(string1): print(string1[index]) index=index+1 for char in string1: print(char) s='Monty Python' print(s[0:5]) print(s[6:len(s)]) fruit='banana' print(fruit[:3]) print(fruit[3:]) #count of 'a' in banana count=0 fruit='banan...
[ "sudharshan.govindarajan@ey.com" ]
sudharshan.govindarajan@ey.com
cca4f326881b15371850888934377eecf1fcedaf
51404fbeaa7d9206ecbe391c51bce1e3d326c343
/tcapi/TrueCallerApp/models/ResponseModel.py
9237cce97d063bb5674c1564cdb17f2feeebf463
[ "MIT" ]
permissive
sumansaurabh-hl/TrueCallerAPi
d9cdf3145f95fa6f656d1677221032e12a4db8f4
cc436bc9e449d1e3fd631b917ce660621c31aa02
refs/heads/master
2021-01-22T16:26:23.265240
2015-12-17T21:45:22
2015-12-17T21:45:22
48,216,271
0
0
null
2015-12-18T05:30:18
2015-12-18T05:30:17
null
UTF-8
Python
false
false
260
py
''' Created on 18-Dec-2015 @author: Suman Saurabh ''' """Models for Reposne""" class ResponseModel(): def __init__(self, status, status_code, data): self.status = status self.status_code = status_code self.name = data
[ "ss.sumansaurabh92@gmail.com" ]
ss.sumansaurabh92@gmail.com
fcb79f278a8f1e5d249d575d5ed6236be4a75657
a16017afee12414548861868dd37df6b67bd92dd
/funciones.py
373d85f20892ff7217f9444d0b6999268acc9ad6
[]
no_license
jeyfredc/Curso-basico-de-python
bb1ec25d96fdccdcef1fc704b5b38677018a92ea
27fd41d25f5295da28981cc6ffd49bdb9a9af106
refs/heads/master
2022-12-10T05:54:43.502058
2020-08-25T15:13:08
2020-08-25T15:13:08
290,247,785
1
1
null
null
null
null
UTF-8
Python
false
false
718
py
# def imprimir_mensaje(): # print("Mensaje especial: ") # print(" Estoy aprendiendo a usar funciones") # imprimir_mensaje() # imprimir_mensaje() # imprimir_mensaje() # def conversacion(mensaje): # print("Hola") # print("como estas?") # print(mensaje) # print("Adios") # opcion = int(input("E...
[ "jeyfredc@gmail.com" ]
jeyfredc@gmail.com
f0d6f15d44a068c3adc61a1ee56a242178067657
36bf2000b0973dd465115654d7ee46d7c16efcdd
/WebappDraj/webapp/urls.py
47ee49cc91163f9743dc84e5fd97e6d37bae600a
[]
no_license
dannydhs/WebappDRAJ
2477dadaba308b0a0718e7e61d0111a5e64b7f88
05d3bd064fe2e7f1274754c0a25a64dd583e3319
refs/heads/master
2016-08-11T13:36:41.700050
2015-12-16T20:21:57
2015-12-16T20:21:57
47,890,915
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from django.conf.urls import include, url from . import views urlpatterns = [ # url(r'^$', views.inf_estad_list, name='first-view'), url(r'^$', views.search, name='search'), ]
[ "danny.dhs@gmail.com" ]
danny.dhs@gmail.com
3b7222f3beb1fe52a17515c533ac4149c969c05e
a967358c6d48cc5e74431cf54e1d550ec2906039
/system_test/__init__.py
a3b5105ca6a2a877a6f526a03400c8f8c2732eef
[]
no_license
mattymo/fuel-qa
75eb8f8531480601146fdb72ff3a961a65c01fc9
becdf1dfda86361408153443725c416ba5548926
refs/heads/master
2020-12-28T20:42:13.063576
2015-10-12T10:37:24
2015-10-12T10:37:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
# Copyright 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "dtyzhnenko@mirantis.com" ]
dtyzhnenko@mirantis.com
24cb6c3a67ae7bc19c1ae3f84687dc2139f3fe08
728137c559764eb29bb65fe639c034c80260c452
/get_taobao.py
f1d285a38eef8ec6c3dd785b44e1b6195036f578
[]
no_license
2335904825/grap_taobao
6af328804c54f394d29756f351d727a73b2351e9
ced17bdb189490ecdd4e8c9a0c235d6baf41364a
refs/heads/master
2022-01-20T21:20:55.502113
2018-11-14T02:04:35
2018-11-14T02:04:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
# 访问页面 from selenium import webdriver browser = webdriver.Chrome() # 声明Chrome对象 browser.get('https://www.taobao.com') # 访问淘宝,获取源代码 print(browser.page_source) # 打印淘宝页面源代码 browser.close() # 关闭浏览器
[ "noreply@github.com" ]
noreply@github.com
a821b7476c8f38c2679e241169a4e01ca9220af4
779c469b548d42dc679bf34da6041c813a7ce9cc
/sphinx_template/my_package/viz.py
3026a4ac69e8fb1c3f86813e32afdc92271c6376
[ "MIT" ]
permissive
millerbest/zero_to_docs
b2e68af564db8f47441d44ded18c3a8a3b0c21f2
3f5c72ca76c457fefaba9b2a182e11cc89e5bf6d
refs/heads/master
2021-08-14T14:35:37.415612
2017-11-16T01:08:21
2017-11-16T01:26:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
import numpy as np import matplotlib.pyplot as plt def plot_random_dots(N, scale=10, ax=None, cmap=None): """Plot some random dots""" if ax is None: fig, ax = plt.subplots() if cmap is None: cmap = plt.cm.viridis dots = np.random.randn(2, N) size = dots * scale ax.scatter(*dots...
[ "choldgraf@berkeley.edu" ]
choldgraf@berkeley.edu
ff31f0a63b3ffceed5797ba68f901317547c2b91
4f16d77e19afe6c6e91412bd9acf69be3d3b246e
/Code/ad_utils.py
922452a3e15f4674b6ba9366f1bc4bacf10c359f
[]
no_license
dishajain1211/Road-Accident-Analysis-and-Prediction
58b72bc3e9eca2f6c98139e2a715e04f22164c25
90dbf1d9e1b7f7da130e2a8c1b765c85c37748d8
refs/heads/master
2023-03-08T06:23:18.745390
2019-03-08T04:21:19
2019-03-08T04:21:19
341,395,873
0
0
null
null
null
null
UTF-8
Python
false
false
8,841
py
# -*- coding: utf-8 -*- """ Created on Thu Jan 17 23:50:53 2019 @author: ADITYA """ import pandas as pd import numpy as np def major_minor_stat_creation(path1, path2, year): ''' Functions that takes an year and 2 file paths: path1 and path2 for the major and minor road traffic statistics CSVs, then retu...
[ "adityamagarde26@gmail.com" ]
adityamagarde26@gmail.com
36285789abf8779b6a8b656e015888fb423da612
2f4c2ceccb8b11517348f3b69a373af0f444b974
/{{cookiecutter.project_slug}}/tests/conftest.py
b11bd426572e8944cdfe852a65be14627c0e1134
[]
no_license
coffeepenbit/cookiecutter-template
89554c8881e854311fff619c34655429acd180a0
b5f28008206925fcbdaf3b990679892988ff390c
refs/heads/master
2021-06-13T21:15:19.455537
2021-05-31T14:22:17
2021-05-31T14:22:17
254,445,425
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
# import pytest # class Helpers: # @staticmethod # def foo(*args, **kwargs): # return "bar" # @pytest.fixture # def helpers(): # return Helpers
[ "coffeepenbit@gmail.com" ]
coffeepenbit@gmail.com
e63d841e4301a94d67af431760433d13283c0a2e
ba2a85871a30d2652efa72c12283d433edbd8c99
/pg-test4.py
464057cdaebe7cebb68ab15c4cbba5ae8c39f5e8
[]
no_license
obxfisherman/PyGamevsBerLib
b346533ef4f6fb6f3091347df1d8f4ee64380d4c
a7d8b60aad113b5792af3f6582a96abf74af739d
refs/heads/master
2020-12-03T09:30:12.127441
2017-06-28T04:01:37
2017-06-28T04:01:37
95,626,354
0
0
null
null
null
null
UTF-8
Python
false
false
4,588
py
import pygame import pygame.locals as pg from timeit import default_timer as timer K_ESC=27 K_UP=273 K_DOWN=274 K_RIGHT=275 K_LEFT=276 K_SPACE=32 map=['##############################', '############.......###########', '#####..#####.#####.#s.......##', '####....##.....###.#.....a..##', '###......#.....#.....#......##...
[ "noreply@github.com" ]
noreply@github.com
b4edc3beb67380d9d4809e2c36dd91fda67d0ae0
85b958530cbf8a77c5766f88eb8a6590bdf1ad56
/application/controllers/tutores_grupos/insert.py
990a0c2f518c971a13bb1eb4ad5aa6f86fc0a2ad
[]
no_license
charliecarmona44/tut2018
1e1ed8c56ebf6b2df09b59a5010d8ebbc17d433e
54c796a4bdda29a9c5be371de55804ccc4eb9af8
refs/heads/master
2022-03-13T21:00:05.623926
2019-07-19T15:53:18
2019-07-19T15:53:18
197,802,686
0
0
null
2019-10-31T08:23:54
2019-07-19T15:51:11
Python
UTF-8
Python
false
false
633
py
import config import hashlib import app class Insert: def __init__(self): pass def GET(self): tutores = config.model_users.get_all_users().list() grupos = config.model_grupos.get_all_grupos().list() return config.render.insert(tutores,grupos) def POST(self): ...
[ "53064537+charliecarmona44@users.noreply.github.com" ]
53064537+charliecarmona44@users.noreply.github.com
a7c863e1af7119c5c21585f3284bec27c30eca3f
fbcf69cda8cfe62c4c0bac87baff7ee717d0dc39
/baidu_autosign.py
cd62322ece7ea88e03df1fb6bd8a4c176c299394
[]
no_license
santosli/baidu_autosign
fcb43ae32f56c156a975939f86f9c02debcbc173
eeef46a45cb16dd69961cabc99de1ea3887416b3
refs/heads/master
2021-01-21T06:59:32.449281
2014-04-18T09:32:01
2014-04-18T09:32:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
# -*- coding=utf-8 -*- import baidu_autologin import re import urllib import urllib.request import multiprocessing import json import pickle import os import time from urllib.parse import urlencode TIEBA_URL = "http://tieba.baidu.com" GETLIKE_URL = "http://tieba.baidu.com/f/like/mylike" SIGN_URL = "http://tieba.baidu...
[ "lituo.lt@alibaba-inc.com" ]
lituo.lt@alibaba-inc.com
ba424adfa45af92edb6264448f7176fcdce80315
896e0259b872dbda069ca5afca191ae1999e1302
/app/auth/email.py
dc5dff55a6a753adba9910d30ab7f169cc98ae02
[]
no_license
XinyaoTian/microblog
9060257f4263331f09079715eadfe98cf0438ca8
0634751ae9a6623ea8f3d2e88f2bdf8b32854de6
refs/heads/master
2020-04-11T20:58:18.448237
2018-12-17T13:01:41
2018-12-17T13:01:41
162,090,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
from flask_mail import Message from flask import render_template from app import mail from app import current_app # Asynchronous Emails from threading import Thread def send_async_email(app, msg): with app.app_context(): mail.send(msg) def send_email(subject, sender, recipients, text_body, html_body): ...
[ "xinyaotian@XinyaoTians-MacBook-Pro.local" ]
xinyaotian@XinyaoTians-MacBook-Pro.local
8c3d5a4e455cc93c7fe599d810fc71e44165e4d1
32c68ad246fe91a00bdd5d34dfc5c1a822f6dff2
/main.py
c98f59f5b1783987ecdb56c750a0b542bed6d858
[]
no_license
pabi777/aws_s3_html_crawler
95ebee40894e52a029142289bebb4848fc7f22e2
befb2a8443f53ddb314a16823ac493f404d185ac
refs/heads/master
2023-04-05T15:55:58.105265
2021-04-21T16:20:38
2021-04-21T16:20:38
360,224,056
0
0
null
null
null
null
UTF-8
Python
false
false
7,245
py
from s3code import AwsS3 from pathlib import Path from lxml import html import requests import re from db import Dbconnect import os import json from time import sleep import datetime import logging #create and configure log LOG_FORMAT="%(levelname)s %(asctime)s - %(message)s" logging.basicConfig( filename="awsS3D...
[ "rpabitra7@gmail.com" ]
rpabitra7@gmail.com
d2d18338371df02f19a8aa511ed62c3486298a71
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/437116_Wrapper_class_heapq/recipe-437116.py
0d8f07bdf229fd1e0efdc4a367c438cd088d4c8f
[ "MIT", "Python-2.0" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
3,197
py
import heapq class Heap(list): """This is a wrapper class for the heap functions provided by the heapq module. """ __slots__ = () def __init__(self, t=[]): self.extend(t) self.heapify() push = heapq.heappush popmin = heapq.heappop replace = heapq.heapreplace he...
[ "betty@qburst.com" ]
betty@qburst.com
ccffe6039b13a83e976ef96fc3d3c216f70bc359
2e6b3e340bb7b6f3676f5f75e68a9c3db200ccf5
/core-python/vowel.py
9155c64b611c808061e99f765925671902e388ba
[]
no_license
OdedraBharat303/data-science
c65eda069bbc8ce2e1779045afe52c2102c5d50d
8501bb268a731a98e64bd1fdef33de7f9c0cb5b1
refs/heads/master
2022-04-02T06:46:46.697003
2019-12-26T12:43:31
2019-12-26T12:43:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
ch=input("enter character :") if ch=='a' or ch=='e' or ch=='i' or ch=='o' or ch=='u' : print("vowel") else: print("not vowel")
[ "odedrabharat303@gmail.com" ]
odedrabharat303@gmail.com
b8d48c4047d37db80c93ee2254b133f44f338cb3
20e294c7392ca0f166bfab22fbfa8acd1713a0fa
/api/viewsets/curso.py
51952a61838ed5771f3312c7cf0f60ef1d37732f
[]
no_license
CFredy9/Aula-Virtual
a2e2b775d02d62f7967daf8667110b0b4ae6f839
e2546cdf23e9018869a16b45e5539cfbe090a497
refs/heads/master
2023-03-27T23:49:49.525178
2021-03-26T22:38:36
2021-03-26T22:38:36
351,926,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,643
py
from django_filters.rest_framework import DjangoFilterBackend from rest_framework import status, filters, viewsets from rest_framework.decorators import action from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework.response import Response from rest_framework.settings import api_settings ...
[ "fredydcg98@hotmail.com" ]
fredydcg98@hotmail.com
9894849a70151301a3833e471cc4d87cfcb06474
16c76363e4be9cbc3c3ae130c5eded4eb39ad532
/Image_rag_shresholding.py
4f22e008deb8f7d0a680f8b0eebb58a8a33e6e8d
[]
no_license
juyingnan/E583_final_project
ec8c0cc002d063c7d7b768b42a32e9b89277b69b
253360e96d2cd9bc4d6e9f1b22b015ecf9e19a6b
refs/heads/master
2020-03-10T16:49:17.109748
2018-04-22T22:06:36
2018-04-22T22:06:36
129,483,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
import os from skimage import io, segmentation, color def get_rag_thresholding_img(original_img): labels1 = segmentation.slic(original_img, compactness=30, n_segments=400) out1 = color.label2rgb(labels1, original_img, kind='avg') return out1 def image_rag_shresholding(root_folder_path): os.chdir(roo...
[ "bunny_gg@hotmail.com" ]
bunny_gg@hotmail.com
5ce37c664f84eece3f2ea38b7c93a91038308dbc
3c63a5291effa07adb548ffc4d64679c13137edc
/adv_patch_target_cross_train.py
11365b73ea6a5fbd6d83f97d9fde5780dea5c813
[]
no_license
ZihanLiu95/UAP_EEG
60f16063e63e9297263771a8bc5ac074d8871378
c6cdd072ef414f3a1371ed3f05320eaba4ebc057
refs/heads/master
2020-09-23T01:03:13.064125
2020-07-09T15:50:07
2020-07-09T15:50:07
225,361,103
11
3
null
null
null
null
UTF-8
Python
false
false
8,459
py
import old_models import keras.backend as K import os import utils import numpy as np from scipy.io import loadmat import tensorflow as tf if __name__ == '__main__': K.set_image_data_format('channels_first') K.set_learning_phase(0) #set learning phase os.environ["CUDA_VISIBLE_DEVICES"] = '7'...
[ "noreply@github.com" ]
noreply@github.com
46c0e8f08f039290ec8f40bc42a68af58fe04748
52de1d3dc55abd1471fa1a0adc4c3b954852e85a
/day4.py
afe8ea0376435e70bdbd4a33eb282d397b1f8afe
[]
no_license
PymZoR/adventofcode-2019
9f060ddb2f7f11f32e5c2fa9e06a89065929a11e
10039cfada40a9e7616b70137e7390c989f42faf
refs/heads/master
2020-09-23T03:07:54.504182
2019-12-20T11:26:33
2019-12-20T11:26:33
225,381,435
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
from collections import Counter def is_valid(password): password = list(map(int, str(password))) double_digit = False for i, j in zip(password[:-1], password[1:]): if j < i: return False if i == j: double_digit = True return double_digit def is_valid2(passw...
[ "axel@mousset.me" ]
axel@mousset.me
39a8852e875c0852577e8c9e9103df9b6f18d343
6deafbf6257a5c30f084c3678712235c2c31a686
/Toolz/sqlmap/waf/asm.py
17244efb49a3344e7790047f270fd98805bfc3e7
[ "Unlicense", "LicenseRef-scancode-generic-cla", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-other-permissive" ]
permissive
thezakman/CTF-Heaven
53fcb4a72afa821ad05d8cc3b309fb388f958163
4b52a2178922f1502ab00fa8fc156d35e1dc653f
refs/heads/master
2023-04-05T18:20:54.680378
2023-03-21T13:47:45
2023-03-21T13:47:45
167,290,879
182
24
Unlicense
2022-11-29T21:41:30
2019-01-24T02:44:24
Python
UTF-8
Python
false
false
671
py
#!/usr/bin/env python """ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from lib.core.settings import WAF_ATTACK_VECTORS __product__ = "Application Security Manager (F5 Networks)" def detect(get_page): retval = False for vector in WAF_ATTAC...
[ "thezakman@ctf-br.org" ]
thezakman@ctf-br.org
83a7cf76438adbf0701b18c3ad90a86a5c6c7c4f
880a56c0eebcce3376d1969bb8b084d82b90f535
/xos/tosca/resources/vcpeservice.py
2a6a56db92968457ed9e7b053b4e159a17d86f92
[ "Apache-2.0" ]
permissive
digideskio/xos
9f590a3a2703198c4d5b9b2fa27a3b9a94c14b96
9c98f28793ce4b2e4be96665e7f06b9cf9b59315
refs/heads/master
2020-12-03T08:13:08.982841
2016-04-06T00:39:06
2016-04-06T00:39:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import os import pdb import sys import tempfile sys.path.append("/opt/tosca") from translator.toscalib.tosca_template import ToscaTemplate from services.cord.models import VSGService from service import XOSService class XOSVsgService(XOSService): provides = "tosca.nodes.VSGService" xos_model = VSGService ...
[ "smbaker@gmail.com" ]
smbaker@gmail.com
e94b4be4ff3d613dcbc60a1e67cda89b872df592
016b91e95be412ca60bab7c50d7ab5495d23613c
/tutorial/tutorial/spiders/scraper.py
1e9ae4eb938c6e477dae550a857af10347850691
[]
no_license
EMOholcicka/kolobezky
00c49b3e8d0a11fea283c690a4be0556dc8b9cc0
4d85e6a8a3e7a3f1092f395736c4442510741907
refs/heads/master
2020-03-29T03:51:34.019218
2018-09-22T13:35:42
2018-09-22T13:35:42
149,504,158
0
0
null
2018-09-22T13:35:43
2018-09-19T19:49:15
null
UTF-8
Python
false
false
900
py
import scrapy from scrapy.spider import BaseSpider from scrapy.selector import HtmlXPathSelector class BrickSetSpider(scrapy.Spider): name = 'brick_spider' start_urls = ['http://brickset.com/sets/year-2016'] def parse(self, response): SET_SELECTOR = '.set' for brickset in response.css(SET_...
[ "cartous@gmail.com" ]
cartous@gmail.com
554155c5b58023f06b42087e6c190c720ecafb45
ae3fc7e3880f5a743c66964ba3cc56bc84ce83be
/q3/q3/prop.py
5df852a4b9ed298fa6f2b23dc6249d24bcd526ee
[ "0BSD" ]
permissive
brucelevis/makaronLab
3c9fe0cae9c20e26d932d51075a5b0dc83e3083e
6a4c1b4e8081d809f9c01949c0736db3c5aaaede
refs/heads/master
2023-03-18T09:01:16.914820
2021-03-06T15:39:04
2021-03-06T15:39:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
PositionX = 'PositionX' PositionY = 'PositionY'
[ "virtimus@gmail.com" ]
virtimus@gmail.com
d8152c4a605711d90864cc2a48d048f5b32914e5
eb6956b4bded2bc6849471e373f26643ffbeb22a
/bin/pip2.7
1d26b49e31452300cc46d86a25b140a11e0437a3
[]
no_license
pydemo/Py2_installer
41ef43513dbfdac76242ea24932835213afd57af
954097679ac427b4cc1b30824a73ec79589e72d2
refs/heads/master
2022-12-01T19:30:32.007976
2020-08-18T15:44:35
2020-08-18T15:44:35
288,493,190
0
0
null
null
null
null
UTF-8
Python
false
false
250
7
#!/home/ubuntu/build/Python2.7.18/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ubuntu@ip-172-31-40-37.us-east-2.compute.internal" ]
ubuntu@ip-172-31-40-37.us-east-2.compute.internal
6639648744ca574bca11262090ef45b821dbd9fd
6475c5dce82cf19b29cce6c289ed276f9bf49c1b
/ewutils.py
0008fd06a1f7ba3b658356158ea15d6e3a203d87
[]
no_license
dunekun/endlessexpansion
ba7e2a9180c119a3cb8d26d8e9bc215c9a373c7c
ac733e551802e8b7ce11f2910d681875f458df5c
refs/heads/master
2022-12-27T08:23:14.472750
2020-10-11T00:35:52
2020-10-11T00:35:52
294,763,896
1
0
null
2020-09-11T20:25:20
2020-09-11T17:33:34
Python
UTF-8
Python
false
false
92,670
py
import sys import traceback import collections import MySQLdb import datetime import time import re import random import string import asyncio import math import ewstats import ewitem import ewhunting import ewrolemgr import discord import ewcfg import ewwep from ew import EwUser from ewdistrict import EwDistrict f...
[ "noreply@github.com" ]
noreply@github.com
7f770482443f9fc7308c485b101c80854f4538d1
5fd2ba9d580eaae49bd2e69b174d16db66ac7960
/ex004.py
0b2530fd5fbb69be89cbd329919f359cd3b34509
[]
no_license
a-pallotto/project-euler
6b1526b9e2e23c485200e01de6ff797c40dd1d3f
d5111221dbe3327af5e04e3a95b0764c3c7d8aea
refs/heads/master
2020-05-15T23:56:27.699416
2019-05-20T16:30:15
2019-05-20T16:30:15
182,565,300
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# -*- coding: utf-8 -*- """ Created on Sat Jun 2 18:44:58 2018 A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. @author: pallo """ p=[] for a in...
[ "noreply@github.com" ]
noreply@github.com
d0231b3d4a95f8c09fed445a9b6ce128b91fbf94
66b89bc30ae94904914aed04985124b2d197122d
/银行柜台问题/trans.py
c82bd1d177c7a5acca0e7539bc20078dd769bbc7
[]
no_license
qiyunhan/Operation-System-Projects
0c249b0106601803bc50c121f5c0d8cd49d0dc44
a5aa6f36bd9708227b83fe92fb35e0cccf320ff9
refs/heads/master
2020-05-15T05:29:03.431691
2019-04-18T14:49:39
2019-04-18T14:49:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
filename = "result.txt" filename1 = "trans.txt" g = open(filename1,'w'); with open(filename,'r') as f: for line in f: line.strip('\n') g.write(line) g.write("\\\\") g.write('\n')
[ "noreply@github.com" ]
noreply@github.com
dd1f398199be3369f4e8087a3f241eddeec12943
b5134378c8043be5252b9693e4bcc67bd74133ce
/wk_oa/apps/goods/migrations/0001_initial.py
2e9701605562b84a90bddc55d69300b1160a43c7
[]
no_license
nancb/mywk
fb28326955e478f4d78cfc715b52d0fe0b9f4d0c
e612ca034bd9b591d82ece8d1bafdbc8531c5d1e
refs/heads/master
2020-06-13T08:12:05.689416
2019-08-20T15:34:26
2019-08-20T15:34:26
194,264,355
0
0
null
null
null
null
UTF-8
Python
false
false
2,706
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-06-29 06:45 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.Create...
[ "393437317@qq.com" ]
393437317@qq.com
dca1794c0366086a5dbb8c44c593ea77fa8506f9
bf45a14b4f14eacbe5e5bcf5a782f80069855d75
/app/main/views.py
06c0da034325e7bc3c825b788956f5ed9b0957c3
[ "MIT" ]
permissive
philipiaeveline/-WORLD_PITCHES
221033df21296addb30dab490cbf5092bbf6ef49
793d9a4bb93d5c469cdb8acd54b18274983d44e0
refs/heads/master
2023-01-23T00:16:14.904543
2020-12-08T16:31:38
2020-12-08T16:31:38
319,344,284
0
0
null
null
null
null
UTF-8
Python
false
false
3,581
py
from flask import render_template,request,redirect,url_for,abort, flash from . import main from flask_login import login_required, current_user from ..models import Pitch, User,Comment,Upvote,Downvote from .forms import PitchForm, CommentForm, UpvoteForm from flask.views import View,MethodView from .. import db import ...
[ "philipiaeveline13@gmail.com" ]
philipiaeveline13@gmail.com
54302c269cc89e15945e918f98b083dcd348c3db
38e02b77d8e0f300184925225e59f25ed9426c27
/app/views/__init__.py
62673579f85e3b35a1e50baa887ca700d0c7ae4a
[]
no_license
dadiletta/Kachow
294ab242d08ee96ea5aaf3744e3d234494f7b339
6c021f4dfc80751dbea8fc267b535f32f35845ef
refs/heads/main
2023-08-28T11:09:31.695690
2021-10-25T19:09:08
2021-10-25T19:09:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
""" WELCOME """ from flask import Blueprint views = Blueprint('views', __name__) from . import basics
[ "dan.adiletta@gmail.com" ]
dan.adiletta@gmail.com
15ce47b77d102c44291a54c9fa236a23b9286b9e
b5931c39a2cc062860cb737b7fbf86e3da5d432a
/script_frs/make_templates.py
015e1b381c5a84ca76540b95241515e8b115a0c5
[]
no_license
savardge/borehole-energy-detector
bd150534c25b020c8999ead75996db50e6225cdc
af6a5c885028aeffa394764c8493e75215c65f0e
refs/heads/master
2023-03-01T19:08:00.778129
2021-02-03T16:50:41
2021-02-03T16:50:41
323,465,265
0
0
null
null
null
null
UTF-8
Python
false
false
16,554
py
from glob import glob from template_gen_modified import * import sys import time from multiprocessing import cpu_count import matplotlib.pyplot as plt import matplotlib.dates as mdates from eqcorrscan.core.match_filter.helpers import _total_microsec from eqcorrscan.utils.findpeaks import decluster from eqcorrscan.core....
[ "genevieve.savard@ucalgary.ca" ]
genevieve.savard@ucalgary.ca
26e76f2506a971db28f7590d3905b0a76d987841
057c75fb52f8080386ae96ff0b7b84c0ad68420f
/Task-5/Task-5.py
14e3b07a4f2d59b61f0b597e30576d876429b8ad
[]
no_license
RomilZalavadiya/Akash_Internship
65ce737979db50ea37cf35ccbdb589cba349d259
996f9844b157da4d52a88742eceddc79820459bb
refs/heads/main
2023-05-31T08:09:09.439880
2021-06-14T09:17:13
2021-06-14T09:17:13
376,763,407
0
0
null
null
null
null
UTF-8
Python
false
false
6,281
py
#!/usr/bin/env python # coding: utf-8 # In[19]: #1.Create a class cal1 that will calculate sum of three numbers. Create #setdata() method which has three parameters that contain numbers. #Create display() method that will calculate sum and display sum. class cal1: def setdata(self,a,b,c): self.a=a self...
[ "noreply@github.com" ]
noreply@github.com
07429b6879f054b600fb5a4eef6ac5a978e6a3c6
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Tools/RunTimeTester/share/RTTRegression.py
19c13f5f565c3c5ef12dd5971cc99fc2fc4f666e
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
4,958
py
###################################################### # # # Do NOT bind any objects (self.xxx) which contain # # file objects (such as self.logger in this class # # otherwise cannit shelve the objects # # Instead, unload the necessary variables in ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
7b3675746bf80df02c8eef31f5fff7ee2d50d8f2
f963dd57aeb11090dd6f35a2e60fb767c671ae15
/lib/dataset/__init__.py
e0c2e55361477e56c863248fc4fbf709082cc21c
[ "MIT" ]
permissive
McSohan/FCIS
372ce22f43c81d95b0f08c8524693dde2d1e98be
57137c5affc266851a26f2acc91efeb2bf829b62
refs/heads/master
2022-12-03T22:09:49.713857
2020-08-28T06:48:42
2020-08-28T06:48:42
290,959,364
0
0
MIT
2020-08-28T05:30:56
2020-08-28T05:30:55
null
UTF-8
Python
false
false
194
py
from imdb import IMDB from pascal_voc import PascalVOC from pascal_voc_segmentation import PascalVOC_Segmentation from cityscape_segmentation import CityScape_Segmentation from coco import coco
[ "macshqi@gmail.com" ]
macshqi@gmail.com
e615847647e3408467b52af1a53f6216991fc4c8
3ce041930ae6639acdb5f49ef460bfc1a400edf6
/wow.py
910cf5585ed1ebe829443617b25815ea1a555176
[]
no_license
ErHemjyotiKalita/Dawn
53ec87bb2461d6f4016b10c295fced7843257b05
2751cb9a2a07c606a5ae934feb564c3390ec007b
refs/heads/master
2020-05-18T05:27:07.426985
2019-04-30T06:56:25
2019-04-30T06:56:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
print("Push") print("Pull")
[ "evanhem@gmail.com" ]
evanhem@gmail.com
cc76d1185504fedfe83b0820e452a231133d9794
fbac78bb2eef868fd0e9543c388c2a8bc2217f5e
/Games.py
f5a014392e7565e2b6e474b78658fdd11b7bd986
[]
no_license
Zciwolvo/Competetive-programming
9f8d0cd066a565ebc0dd350acf3cc512912ac0a6
76436487f7d09c9a1cff305b76bafbfc84f9deff
refs/heads/main
2023-04-15T04:46:39.616553
2021-04-23T23:19:21
2021-04-23T23:19:21
357,689,612
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
n = int(input()) c = n result = 0 l = [] if 2 <= n <= 30: while c > 0: hi,ai = map(int,input().split()) c -= 1 if 0 <= hi <= 1000 and 0 <= ai <= 1000: l.append(hi) l.append(ai) l_1 = [] l_2 = [] len = len(l) while len > 0: l_1.append(l[0]) l....
[ "noreply@github.com" ]
noreply@github.com
3aa73cc24b41fafb1129db3dc80eaf31100c64ae
56b6d9bd9f11c098020fa7b55d151e479087d8c2
/JobApplicantEvaluation/src/applicant/evaluate_applicant.py
eca0b2b347979ec1c26ab20c2af3bfe43e1a908d
[]
no_license
janaat22/Software-Design-using-TDD
3677a4dd8104ed06ad8d0ea7756b503823e3a23b
ea24d16d0f9ea8daf1a80bb4b1631f07324660f8
refs/heads/master
2022-04-14T19:09:06.648507
2020-04-13T19:49:01
2020-04-13T19:49:01
255,422,991
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
from utilities.evaluation_result import EvaluationResult import os, pkgutil import importlib def get_criteria(): criteria = list(file_name.replace('_', " ").title() for _, file_name, _ in pkgutil.iter_modules( [os.path.join(os.path.dirname(os.path.dirname(__file__)), 'evaluate')])) return {criterion: get_...
[ "janaat22@gmail.com" ]
janaat22@gmail.com
170b5974377c2010e0e6ae80d052cc8a08dec18a
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/4dab219f99ff457d92c76f4fa70ad98f.py
52042ea3de170bc5f8eedc4c2b7c186736a74912
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
308
py
# # Skeleton file for the Python "Bob" exercise. # def hey(what): if what.upper() == what and what.lower() != what: return 'Whoa, chill out!' elif what.endswith('?'): return 'Sure.' elif what.strip() == '': return 'Fine. Be that way!' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
9b2d0b5b1f621680ab6cb1ccaef0c7c2abfc9084
ad89fc80f1731393bee02044b95f18c7ad06f86a
/app_locators.py
176ce8565eb11165387864c1ebeeff46d4a3c298
[]
no_license
TakoFerenc/R3PI
e1b2f35d801c57df297bc4671b62b0172d876927
dd50e77db6e478a7c23e6c559c28df8f87606295
refs/heads/master
2021-06-26T06:24:01.259695
2017-09-11T21:13:00
2017-09-11T21:13:00
103,188,085
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
import test_Calculator class AppLocators: def __init__(self): self.driver = test_Calculator.TestCalculatorApp.pass_driver() def locator(self, name): return {'TITLE_TEXT': self.driver.find_element_by_id(r"android:id/title"), 'STITLE_TEXT': self.driver.find_element_by_id(r"com....
[ "rockferi@yahoo.com" ]
rockferi@yahoo.com
c02f56bdf75581b3f89adf958571bd4ec907c4cf
eae9ad65a80dca4b53dcc36584c19b40cc4187dc
/src/robot_learning/object_detect/scripts/yolo_loss.py
ade025a4ae47dbf603ffaf8a15b4d8fec5ce5074
[ "Apache-2.0" ]
permissive
janewen134/fyp
fa4a6e1fb7649af00277b458576ec4be181cf8ff
8fb93ac22d21d5d862035ba794fe9d264add2e63
refs/heads/main
2023-04-17T00:36:26.465041
2021-05-08T10:25:13
2021-05-08T10:25:13
364,967,669
0
0
null
null
null
null
UTF-8
Python
false
false
13,357
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import cv2 from random import shuffle import numpy as np import torch import torch.nn as nn import math import torch.nn.functional as F from matplotlib.colors import rgb_to_hsv, hsv_to_rgb from PIL import Image from utils.utils import bbox_iou, merge_bboxes def iou(_box...
[ "jxw1070@student.bham.ac.uk" ]
jxw1070@student.bham.ac.uk
2a4127a44f82d3a0aada390d5626766f7572a2a9
c4ce227145d174245ee32ee696189ef7e82a32a2
/studentapi/api/models.py
3c01767b2ff4587132c0e9eabe4ec1094ca75e64
[]
no_license
Bansalnaman5/restapi
6475bb57228e217e6da87cc57762958045e47eec
02814b946a9c21a643b75b070f13670cf163c290
refs/heads/master
2023-06-24T01:04:00.172213
2021-07-16T04:40:04
2021-07-16T04:40:04
386,510,083
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
from django.db import models class Institute(models.Model): C=(('s','school'),('c','college')) name=models.CharField(max_length=100) institute=models.CharField(max_length=1,choices=C) def __str__(self): return self.name class Student(models.Model): G=(('f','female'),('m','mal...
[ "namanbansal@namans-MacBook-Pro.local" ]
namanbansal@namans-MacBook-Pro.local
98e1d0d9b80c2a793e75c78f41b417c5ded3517b
2074782868119fe5b42ecc61c59cd8e387262212
/OOP/student.py
657cfc9b2876edb2c3bda05a3c0fc5f707d1e8e9
[]
no_license
Danielkhakbaz/Python-Fundamental
59902768f817cda48d322c13b2825a8362658dcd
3d0c78c5b8160c2454baf29c0d77c27112dc67ef
refs/heads/main
2023-08-24T00:30:59.066495
2021-10-06T13:20:47
2021-10-06T13:20:47
379,232,778
1
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
class Student: def __init__(self, name, age, grade): self.name = name self.age = age self.grade = grade def get_grade(self): return self.grade class Course: def __init__(self, name, max_student): self.name = name self.max_students = max_student self...
[ "danialkhakbaz.dk@gmail.com" ]
danialkhakbaz.dk@gmail.com
cd2b0e5c47c43a89910f938d992ba3d507a16cbf
e7fab5e82afd6c9a9e2ce2dcfc1002662a88f17d
/toapi/__init__.py
4d9ad59d184206fa544119e7e7a8e832dbcefc0c
[ "Apache-2.0" ]
permissive
Emiya-Alter/toapi
d67ab961a09db49196dada17f5044a3c34997e01
5f0e23c523462416e9d197b22a87cd3708189e65
refs/heads/master
2021-05-16T16:50:20.807381
2018-01-25T07:20:44
2018-01-25T07:20:44
119,955,976
1
0
null
2018-02-02T08:41:49
2018-02-02T08:41:48
null
UTF-8
Python
false
false
187
py
from toapi.api import Api from toapi.item import Item from toapi.log import logger from toapi.selector import XPath, Regex, Css from toapi.settings import Settings __version__ = '1.0.0'
[ "gaojiuli@gmail.com" ]
gaojiuli@gmail.com
babb37528b352341402086efc890886abb1fc04c
0bdacf99de198504ba16d49317efbd41d949d540
/python/pilot.py
0ace2a645962db2d7808d580233415a9adf59c49
[]
no_license
a4a881d4/gmsk
6d41b7debbdd771a53a1bec6de2774ad614d31c0
c0a73a9f68cb8ffe99e918dd401d05a7416956fb
refs/heads/master
2020-05-20T09:32:05.353029
2014-09-18T06:06:00
2014-09-18T06:06:00
22,413,563
3
0
null
null
null
null
UTF-8
Python
false
false
136
py
import mseq def pilot(s): r = [0,1,0,1,0,1,0,1,0] aS = mseq.mseq(0x25) aS.set(s) for x in range(31): r.append(aS.ce()) return r
[ "dodo@dodo-PC.(none)" ]
dodo@dodo-PC.(none)
3b7ab7bc4838c861c6d5f5f49849cc67a12b1d4f
598f3020720eee8707f97914e9d1bd773aa3c812
/pak_helpers/pak_helpers/asgi.py
78b358c2d7224ee647c843bb3b14ab9c7db1fab2
[ "MIT" ]
permissive
aliraza401/pak_helpers
422133929012aadb905a4cac61711f25ecdbb1dc
56e3d3214e318e28d344888c55d83dc69729d7a2
refs/heads/master
2022-04-18T06:36:04.161769
2020-04-07T13:05:57
2020-04-07T13:05:57
253,622,475
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for pak_helpers project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "48078826+aliraza401@users.noreply.github.com" ]
48078826+aliraza401@users.noreply.github.com
cc3e998814b3b323d2e636559d63ef4cb8b45789
43aca05999e00d656e52d94c231868bd8a1e9cf4
/database.py
48ca499148e42837637b9f70f518b9daceb737e3
[]
no_license
gurbanli/tiam
7229a2751d095be739b3487d16b4160c0c20ff22
5f093e50e9a06bf8521b31700be17d2fa1ad68d7
refs/heads/master
2022-01-14T04:20:08.154980
2019-05-14T19:24:05
2019-05-14T19:24:05
184,440,057
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import pymysql from hashlib import sha1 class Database: def __init__(self): host = "127.0.0.1" user = "admin" password = "KsV79n#tiam" db = "tiam" self.con = pymysql.connect(host=host, user=user, password=password, db=db, cursorclass=pymysql.cursors. ...
[ "aydingurbanli@gmail.com" ]
aydingurbanli@gmail.com
831f3e2363aa3dd707369f20512f3a36bbb1e8c9
bccd7d9fca7e0b77c5949d06c15e321e03c6a815
/venv/bin/pip3.6
bec849a3964270520caa93c0b584545dd6f2b881
[]
no_license
stosh99/realPython_flask
e2ce13930b3ec58f091b6e4c9495d88d711a200c
cc84f1479a4bc75b0c78da28428f7d1959667152
refs/heads/master
2021-06-23T00:18:57.680376
2019-09-09T20:43:00
2019-09-09T20:43:00
206,835,703
0
0
null
2021-03-20T01:39:09
2019-09-06T16:40:35
Python
UTF-8
Python
false
false
415
6
#!/home/stosh/PycharmProjects/realPython_flask/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.6' __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)?$', '', sys.argv[...
[ "s.hartman99@hotmail.com" ]
s.hartman99@hotmail.com
004ecea0a6542ce666563ba4251188cca6b33e4c
3b21217909bc8decee98a1aad2829b18d6691012
/classifier/RandomForest.py
62a4c536e76114562dcbf6e1a1eb88997b89f42b
[]
no_license
Gerolmed/projekt-seminar
2e5d96f6be5e0d7e2ff6a778927ef74ecfad9924
fc9c876a14e4a17ac5324ebc467def5800aac9d7
refs/heads/main
2023-03-11T17:33:26.204880
2021-02-24T21:31:24
2021-02-24T21:31:24
319,693,879
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from classifier.BaseClassifier import BaseClassifier from sklearn.ensemble import RandomForestClassifier class RandomForest(BaseClassifier): def __init__(self): super().__init__("RandomForestClassifier", ["dict_vec_feature_set_data"]) def construct_classifier(self): return RandomForestClassi...
[ "syxxtel@gmail.com" ]
syxxtel@gmail.com
c684754a9dd40bbcaeb88b7e53143a8699a488d0
52d69c1c4e1a42b1dddff7a0b30c896dd8165460
/rectangle.py
845eff426559d94c33d429ab4886a50bbb84bed4
[]
no_license
IrinaTelegina/pythonProject1
61467a05dc491fba33255bb4ea458a3aa3578ac6
5231be3bf5945c8616d2955bfc230476b6f3da12
refs/heads/master
2022-12-25T20:59:22.853643
2020-10-09T07:12:42
2020-10-09T07:12:42
296,603,362
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
n1 = int(input("Введите целое число: ")) n2 = 0 while n1 > 0: digit = n1 % 10 #находим остаток - последнюю цифру числа n1 = n1 // 10 #делим нацело - убираем последнюю цифру n2 = n2 * 10 #увеличиваем разрядность числа n2 = n2 + digit #добавляем очередную цифру print("Обратное число равно:", n2)
[ "telegina0204@gmail.com" ]
telegina0204@gmail.com
700c9b8de2cdc68832d96d1b511794e339daaebf
6f5a2b40dcb48cca856ee3b80ec733a1bc04aba3
/Datasets/point_clouds.py
48425c9aa70cbab83c27500577d059c713a6ee0f
[ "MIT" ]
permissive
liuxinren456852/GoingDeeperwPointNetworks
fc317ce977ec902caa2d81437903d262b02d9fed
ab48e5d542289b485118ababf4716eb1686b302b
refs/heads/master
2021-03-07T23:06:35.119442
2019-12-12T11:57:33
2019-12-12T11:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,838
py
import os import json import itertools import numpy as np import torch import torch.utils.data as data import pdb class PointClouds(): def __init__(self, pts, normals=None, labels_cat=None, labels_seg=None, weigths=None): self.pts = pts self.normals = normals self.labels_cat = labels_cat ...
[ "erictuanle@gmail.com" ]
erictuanle@gmail.com
c6c9f8053ce7426d8e40844b29b1a9736d500e03
777a972966fa29a1b5a1a0c5d507a3137de007fc
/stock_pick_batch/__manifest__.py
cfbf3abdc520bc1242de59ad4d6ad1cd7d0cc3c3
[]
no_license
suningwz/ruvati
1d1ace30fb2929f686f368fb8d8c51ae76a71190
9b15373125139cab1d26294c218685c5b87b9709
refs/heads/master
2023-08-15T22:28:18.499733
2021-10-12T12:16:56
2021-10-12T12:16:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
# -*- coding: utf-8 -*- { "name": "Stock Picking Batch", "version": "1.1", "category": 'Inventory', 'complexity': "normal", 'author': 'Confianz Global,Inc.', 'description': """ Batch transfer in inventory """, 'website': 'http://www.confianzit.com', "depends": ['base', 'delivery_ex...
[ "vinod@confianzit.biz" ]
vinod@confianzit.biz
f7ced1bc8e3dce3783acfed7c8e196d1663b9cc3
5ef8e538650bdcede14418f36238fb78055b36fc
/src/prepositions_test.py
e3f291ac6546f247cc969cae59256ac2db6843f7
[]
no_license
Manan-Goenka/mad-street-den-internship
24ac0eeacc73ece0bae6bbd62e4113501d1c9944
cb7a21791cc4cc8a168cfa485dc172d40bcc7b0e
refs/heads/master
2020-04-04T17:04:51.124132
2018-11-04T17:17:06
2018-11-04T17:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
import json import pandas as pd import matplotlib.pyplot as plt with open('Prepositions2') as f: a = json.load(f) for prep in a.keys(): data = {'Count': a[prep].values(),'Side':a[prep].keys()} df = pd.DataFrame(data) #df = df[df['Count'] < 50000] df = df.fillna('none') df=df.sort_v...
[ "manan@nat-oitwireless-inside-vapornet100-c-17819.Princeton.EDU" ]
manan@nat-oitwireless-inside-vapornet100-c-17819.Princeton.EDU
201a30659cfea76da61d41f215c7818335a314de
dbad751d5d57959ec6d5b93698c183cb6be5bcac
/day_3_mongodb/mongodb_assignment.py
0097aef0b79b8fa529ee0f6bd1eeee82a0f02a9a
[ "MIT" ]
permissive
ren-curry/u3s2_introduction_to_sql
a57c27a89846e2d6771899c50ac8693832a4a3f4
a2954313379fc41b5a73625b2e2b1723e18d6620
refs/heads/main
2023-01-23T02:41:24.714508
2020-12-12T18:32:37
2020-12-12T18:32:37
319,429,308
0
0
null
null
null
null
UTF-8
Python
false
false
3,859
py
""" This module contains Part 1 of the assignment Assignment - Part 1, Transfering Data from SQLite3 to MongoDB Question: How was working with MongoDB different from working with PostgreSQL? What was easier, and what was harder? Answer: MongoDB works on the concept of documents and loses the relationships common ...
[ "racurry88@gmail.com" ]
racurry88@gmail.com
9b25faa1fda27a664a07fd3ec2cf82914abf6ab6
a7b1aaa5b9c361a7be3cd04a427d8f11de16c70b
/shiSock-0.4.0/underDevelopment/testNew.py
a3f5480107b78453fd1dc48891b09c81cf10d4f3
[ "MIT" ]
permissive
ajay007j/shiSock
eb8e1fb00227a1866230f360835ce01d2bb1bad4
13b6066b8ec390d94069c22cc63b0159bd3be783
refs/heads/main
2023-09-05T21:30:56.045586
2021-10-31T17:52:33
2021-10-31T17:52:33
423,160,297
0
0
MIT
2021-10-31T17:52:34
2021-10-31T13:47:41
C
UTF-8
Python
false
false
540
py
from PySock import server,SetupIPC SetupIPC() # def test_func(data,con): # print(f"Data from client : {data}") # con.SEND(target = data["sender_name"], channel = data["type"], data = "Hello, What's up!") # s = server(address = "localhost", port = 1234, listeners=1, timeout = 1) # print("Creating Channel") #...
[ "65106263+ShikharY10@users.noreply.github.com" ]
65106263+ShikharY10@users.noreply.github.com
ac3602915fdf770962a03b92f7a231e7d00e0dd2
721349549cabbdd802ccd28102eed72abe94f385
/WebBlog/WebBlog/urls.py
5562924f92cda4150e059cea943e5fc937f268ac
[]
no_license
GuoMaoFei/WebBlog
605b06f8fab071de90b9bb3dfb1e98a0f57aaf91
6deb916274ea27397d9c11077a24add0566c2395
refs/heads/master
2020-06-10T20:02:11.851692
2016-12-08T09:17:03
2016-12-08T09:17:03
75,889,624
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""WebBlog 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-ba...
[ "1025006407@qq.com" ]
1025006407@qq.com
11e07ea4ff9a1ce64e41fb67122e04f79c8845b9
87bda3d7932af2e13ad3a74fe4833473e34f3f88
/django_shop/settings.py
3fc169e398c58d8d156781c4703980f4120cf6f2
[]
no_license
LirraSmile/shop_demo
71f2c124b8592b11b86ba2c63b74710d632b80eb
e80abde2bd6c7c26ae36fd95d1915b695bafed3a
refs/heads/master
2020-03-22T16:30:25.667935
2018-08-08T08:20:45
2018-08-08T08:20:45
140,331,327
0
0
null
2018-08-05T13:14:39
2018-07-09T19:13:57
Python
UTF-8
Python
false
false
3,138
py
""" Django settings for django_shop project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "lirrasmile@gmail.com" ]
lirrasmile@gmail.com
1dfb05af0f3f058a8f73adc8b6b156abc8075218
9dd12a2bff0c7cd1d6d0b6fbec298d5a46967163
/Exe1/test_package.py
3fa2e4032705cba24f94bd630934169a15dd7a4c
[]
no_license
ednasalazar/origin
331aa79a8255a8c9eee0483d284110ee5a28ff19
2e7045286dd88ff8dbe49189dc80e34ed30a5edd
refs/heads/master
2021-07-12T20:59:29.572193
2017-10-11T13:49:13
2017-10-11T13:49:13
106,537,733
1
0
null
null
null
null
UTF-8
Python
false
false
167
py
from package.fonctions import table table(5) # Appel de la fonction table # Ou ... import package.fonctions package.fonctions.table(5) # Appel de la fonction table
[ "ednamsalazarb@gmail.com" ]
ednamsalazarb@gmail.com
45db6168ca6a0ad2f3120d8dba3898a85cf52fd8
8f1dbd7c032a57c74a36f07690b2ecc80fb3e665
/scratch/follow-ball.piborg.py
09741060a051a0ba26472b3e1a30bbafa4e92cae
[ "MIT" ]
permissive
westpark/piwars-2018
6b861ff46366a76cbf8bfbec11d255e31d471b3a
a2e1cb67e5fcc8f65ed17975d076088a9f92da2a
refs/heads/master
2021-04-28T10:57:42.294132
2018-04-19T10:35:24
2018-04-19T10:35:24
122,079,822
0
0
null
null
null
null
UTF-8
Python
false
false
7,143
py
#!/usr/bin/env python # coding: utf-8 # Load library functions we want import time import os import sys import ThunderBorg import io import threading import picamera import picamera.array import cv2 import numpy print 'Libraries loaded' # Global values global running global TB global camera global processor runni...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
ebef2756d9eb6d50176dcea2241064a9aea52d74
395cbb59558a09081c69a32cce5926d6c7d903ed
/openvino_test.py
7afe2da182a1f6112b1ca687ca14ae7a4b5a783e
[]
no_license
gplast/OpenVINO-YOLO
58bff849df172081ce184e82e647b5a82de017bf
1d408ffe35955fe31be80689de89f32f962d45f9
refs/heads/master
2020-04-28T13:10:43.177795
2019-03-14T22:29:32
2019-03-14T22:29:32
175,300,078
0
0
null
null
null
null
UTF-8
Python
false
false
10,752
py
import sys, os, cv2, time import numpy as np, math from argparse import ArgumentParser from sys import platform if platform == "win32": sys.path.insert(0,'C:\Intel\computer_vision_sdk\python\python3.6') from openvino.inference_engine import IENetwork, IEPlugin yolo_scale_13 = 13 yolo_scale_26 = 26 yolo_scale_52 = ...
[ "gplastiras@gmail.com" ]
gplastiras@gmail.com
11689979f2e6aaa273058e3b89ba57a7a4d578c0
1fa265a01400c23f9ca494a1d9ef55b6cef85cdc
/inventory/migrations/0102_auto_20200131_1454.py
ac78634fc95dc9da549ec9a25ce03a0aaf6d0ca9
[]
no_license
dipesh779/posbackend
523660b40be4d5deaff6b6c267c65fa9caba00de
06effb004448dbb6d99077790ceb4738875e6505
refs/heads/master
2022-04-25T09:15:12.081266
2020-05-04T04:45:56
2020-05-04T04:45:56
261,082,375
0
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
# Generated by Django 2.2.7 on 2020-01-31 09:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0101_auto_20200131_0911'), ] operations = [ migrations.AlterField( model_name='stockcomputation', name=...
[ "dipesh@perplexsolutions.com" ]
dipesh@perplexsolutions.com
3cfc3acb825bcdafe3ed93b02d9ca9dc36b14661
86b9e90cd59a221c6329c04d63bcc6ea9abc3f4e
/imports/G2pwd_CIF.py
bfa8fae440c51587b2f1d79b1319a0d32eae3d67
[]
no_license
dwpaley/GSASII
9f2ff16f68c65bb723d24aea61d7ad665507d88e
e40e195ee6dfd2879d847703c07978af3a230f44
refs/heads/master
2023-01-03T14:55:48.660464
2020-10-26T19:34:09
2020-10-26T19:34:09
307,463,040
0
0
null
null
null
null
UTF-8
Python
false
false
15,132
py
# -*- coding: utf-8 -*- ########### SVN repository information ################### # $Date: 2020-04-24 09:06:35 -0700 (Fri, 24 Apr 2020) $ # $Author: toby $ # $Revision: 4410 $ # $URL: https://subversion.xray.aps.anl.gov/pyGSAS/trunk/imports/G2pwd_CIF.py $ # $Id: G2pwd_CIF.py 4410 2020-04-24 16:06:35Z toby $ ##########...
[ "dwpaley@gmail.com" ]
dwpaley@gmail.com
f58261daab0df0e28c03fbe345a6d2e337fdc477
45b159e64114d8759c0e2987bd0a6f02f60daf4d
/Python/APL/ch14/distanceThreeArrays.py
80483127107e3734d02efe667945abcd5ac19af1
[]
no_license
afcarl/Coding_Interview_Problems
45b24b849a90581db5327811c5ab78237f4d5ac0
1256d4394d506aec875e9e19300404a9b32a4eb1
refs/heads/master
2020-03-16T20:16:54.706152
2015-02-11T05:51:56
2015-02-11T05:51:56
132,953,286
1
0
null
2018-05-10T20:54:14
2018-05-10T20:54:14
null
UTF-8
Python
false
false
274
py
''' Created on Jan 24, 2015 @author: Ben Athiwaratkun (pa338) ''' #from __future__ import division #import numpy as np def findMin(A,B,C): pass def main(): A = [1,2,3] B = [4,1,8] C = [3,2,7] findMin(A,B,C) if __name__ == "__main__": main()
[ "ben.athiwaratkun@gmail.com" ]
ben.athiwaratkun@gmail.com
b81680590f118a2d347e1fb05c0986f14e401d1d
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.formwidget.contenttree-1.0.14-py2.7.egg/plone/formwidget/contenttree/demo.py
57b8a81802b37b1a271061de3b3b447da24627fd
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
1,759
py
from zope.component import adapts from zope.interface import Interface, implements from zope import schema from plone.z3cform import layout from z3c.form import form, button, field from plone.formwidget.contenttree import ContentTreeFieldWidget from plone.formwidget.contenttree import MultiContentTreeFieldWidget fro...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
decce14b88ddfd0ad956836c2f8d98d876c7de1a
32c38cf7b25130c2de16ba8392e4756edc2fb574
/src/livetribe/utils/version.py
5f977a4a17129a3188ffbd2998fb1b79a8010fc4
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
livetribe/livetribe-utils
4db82b4996e5007e0db13aed5dc587c7a9b35944
fc5b83d0d9ed3414970fdc4cc721360b9a805673
refs/heads/master
2016-09-10T00:46:06.471183
2013-04-27T15:43:23
2013-04-27T15:43:23
7,854,420
0
1
null
2013-04-27T15:43:17
2013-01-27T16:20:44
Python
UTF-8
Python
false
false
6,516
py
# # Copyright 2013 the original author or authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "adc@toolazydogs.com" ]
adc@toolazydogs.com
f1ef69f673b404f9e934dd99bd72635707e17ac1
ca9d260de4a8713946bdaceff835417fad1005dc
/rc_with_tf/05_image_process/oldver/image_process_03.py
0d1ef92beb10204709fc2f917d92b7527ae4a088
[]
no_license
IsaoIshibashi/mywk
96b0e8b2d04704a8a6f9cfc8447d84c085ad29b8
574449e09afd69b5ae976dab78d6c4c65640db53
refs/heads/master
2021-01-13T16:53:19.473591
2017-02-12T14:48:16
2017-02-12T14:48:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,475
py
# -*- coding: utf-8 -*- # [how to use] # python image_process.py image:=/image_raw import rospy from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import cv2 import matplotlib.pyplot as plt import matplotlib.animation as anim from collections import OrderedDict class Image...
[ "daaaaaasuke@gmail.com" ]
daaaaaasuke@gmail.com
d33065376fd92bc063593474add83b5054b756a7
ed90b026383dcd5cf742b438c88c4902f124e3dd
/product-of-array-except-self.py
15581b92706a0cad2fc3eda24fc0983ee1e6cdb1
[]
no_license
Everfighting/leetcode-problemset-solutions
9ba232cea3ada3df11b98b60907f47074abdec73
4d031bdf43620417ddf2b5a81df2ac3764b751fa
refs/heads/master
2020-05-21T10:28:57.285165
2019-10-16T15:57:09
2019-10-16T15:57:09
186,012,157
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
#给定长度为 n 的整数数组 nums,其中 n > 1,返回输出数组 output ,其中 output[i] 等于 nums 中除 nums[i] 之外其余各元素的乘积。 # #示例: #输入: [1,2,3,4] #输出: [24,12,8,6] #说明: 请不要使用除法,且在 O(n) 时间复杂度内完成此题。 # #进阶: #你可以在常数空间复杂度内完成这个题目吗?( 出于对空间复杂度分析的目的,输出数组不被视为额外空间。) # 思路:从左往右乘一遍,放一个列表list1,从右往左乘一遍,放一个列表list2,最后对应位置左右乘积相乘。 class Solution: def productExceptSelf(...
[ "binbin.cai@alphainsight.ai" ]
binbin.cai@alphainsight.ai
981efb142d6f61d35f2dfd6521b196f103e6edfe
0b21bde7faf01306d6fb57a758ccf01ef0917876
/clean_csv_NA.py
e6fb5279e6b23f5c916a802eff1cbcbc7f3715bc
[]
no_license
LycheeLisa/feedervariation
0753860893b0bd44b1d2f244ce2f1c9c56a5eb23
d0a57f25660325b729fb5022656fe6555ad1e774
refs/heads/master
2020-05-15T05:00:15.322937
2019-04-21T05:22:04
2019-04-21T05:22:04
182,097,351
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
import os import pandas as pd import re import numpy as np from os import sys def cleanHeader(input_file,output_file): writer = pd.ExcelWriter(output_file) input_file = sys.argv[1] output_file = sys.argv[2] df = pd.read_excel(input_file, None) all_df = [] for key in df.keys(): all_df.ap...
[ "jia.c.chen@accenture.com" ]
jia.c.chen@accenture.com
fc4db9eced6f13e98e594ff6e7af882dff329578
4f70f9690c47ec0a58a55834b606bb617ece1ecd
/toy_games/test/test_8queens.py
c4d2febbc845980242de0b7ddc55a092450ff0eb
[]
no_license
NickLucche/ai-toy-games
16065812089d7970a7c5e2adf32470b2c2de0afc
56b1aa3db247b461801366e459d32c2e54173887
refs/heads/master
2023-05-31T00:32:52.394301
2021-06-15T13:33:16
2021-06-15T13:33:16
355,337,528
2
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import unittest from games.n_queens import NQueens import numpy as np class NQueensTest(unittest.TestCase): def test_empty_repr(self): game = NQueens() self.assertEqual(game.__repr__(), '') def test_2_assignments(self): game = NQueens() state, consistency = game.step((0, 0)) ...
[ "nicolo.lucchesi@gmail.com" ]
nicolo.lucchesi@gmail.com
5aba16d4c227247715b84a44642a260e487eb380
4362d925a3de320a39e6b8b45245ab80cac59042
/pywinauto_gui/start_app.py
a35819b170845cf1cd6a71ac8b52d045acfff9f0
[]
no_license
zhanghao1989718/baizhu
a577011053ed1e4860277d07eef5da981464fe6a
d23724c122ba0595ef7d06b9bb10cb60cd6451d5
refs/heads/master
2020-07-31T09:43:37.293657
2020-03-25T02:42:20
2020-03-25T02:42:20
209,785,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
import pywinauto as pw import pyautogui as pa import os, time, psutil, shutil from pywinauto.mouse import move, click from PIL import ImageGrab # 获取桌面 def get_desktop(): get_desktop = os.path.join(os.path.expanduser('~'), "Desktop") return get_desktop # 创建文件夹 def make_dir(): try: os.makedirs(os.pa...
[ "806493156@qq.com" ]
806493156@qq.com
ef7cfcbb15eaf35f6cd7f8058281eb80959721bb
40fc1d38f2d4b643bc99df347c4ff3a763ba65e3
/arcade/infiniworld/src/infiniworld/__init__.py
77165064cf85d6cbd506c2db160a29d5cf41a5cf
[]
no_license
alecordev/pygaming
0be4b7a1c9e7922c63ce4cc369cd893bfef7b03c
35e479b703acf038f47c2151b3759ad852781e4c
refs/heads/master
2023-05-14T05:03:28.484678
2021-06-03T10:11:08
2021-06-03T10:11:08
372,768,733
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
"""The infiniworld package contains the entire game engine: Models Views and Controllers, but also physics, geometry, time management, etc. """ from . import controllers from . import events from . import evtman from . import geometry from . import log from . import models from . import physics from . import time_
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
99c3526307d714ccf7e42a743951af7d1e31af77
bd47e87d15f23b7d52a5448a13c706e949c7f9e5
/craton/inventory/api/v1/cells.py
51641b6fc58984cb5a229da38c44b28de81fbd3b
[ "Apache-2.0" ]
permissive
waffle-iron/craton
19dd71423554c66dac30221a64ed6a85fca62e6a
55633e918ce96e1678dac155a95e9e406a4b1ff7
refs/heads/master
2021-01-15T14:18:32.112278
2016-05-05T19:03:57
2016-05-05T19:03:57
57,390,288
0
0
null
2016-04-29T14:21:53
2016-04-29T14:21:53
null
UTF-8
Python
false
false
695
py
from flask import request, g from craton.inventory.api.v1 import base class Cells(base.Resource): def get(self): print "cells get" print g.args return [], 200, None def post(self): print "cells post" print g.json return None, 200, None class CellsId(base.R...
[ "sulochan.acharya@rackspace.co.uk" ]
sulochan.acharya@rackspace.co.uk
0482372da6150f93732ef9dbfe0fc9cd5bd63da0
0d49ae2184f2e88e4aefb423ae36578b8931e415
/intersight/apis/hyperflex_sys_config_policy_api.py
80f2f896c2898755c1e83ad7cac5bbd4a96f156e
[ "Apache-2.0" ]
permissive
sonogong777/intersight-python
0477c7e96cdd81e1e30a188d74948b5db4e41b04
af45333b23b0048029aeafcb0077f1d0a6ffe105
refs/heads/master
2021-04-30T03:29:46.680831
2018-02-12T20:22:10
2018-02-12T20:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,729
py
# coding: utf-8 """ UCS Starship API This is the UCS Starship REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os import re # python 2 and python 3 compatibility library from six...
[ "“dsoper@cisco.com”" ]
“dsoper@cisco.com”
ff7afff60396a83a614d3749860b0b76de1e3897
2951c3d8740d2dd485ee8dc7fcda478684d642e1
/scripts/train.py
95cde60b09fd061e592bdc107c34b678c7802205
[]
no_license
JieRen98/robosuite-benchmark-pmoe
a61b8a5c92a3c78b7e957848f843e94fe8715861
d8b484375e7364465203dcd3a08f6b098b3d20ad
refs/heads/master
2023-06-03T02:09:14.167283
2021-06-19T03:17:47
2021-06-19T03:17:47
376,819,442
0
0
null
null
null
null
UTF-8
Python
false
false
4,944
py
import json import os import numpy as np import torch import rlkit.torch.pytorch_util as ptu from rlkit.launchers.launcher_util import setup_logger from util.arguments import * from util.rlkit_utils import experiment os.environ['KMP_DUPLICATE_LIB_OK'] = 'True' # Add necessary command line args add_robosuite_args() ...
[ "JieRen9806@gmail.com" ]
JieRen9806@gmail.com