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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3742ae3ea8651e93bf19112552eca41e07d13d17 | 211fdc0564d9b003a82bb880d2e422dac85a5752 | /correcciones/segunda_parte/examen_2/ExamenII-12-11499/ExamenII-12-11499/conjunto.py | 3618d6877e24566f9f12339ab0226e071bff4c12 | [] | no_license | dvdalilue/ci2692_ene_mar_2017 | 45fa1833b4b3b49a1e5be33e58f01cb23bb2d6aa | 1690e6429c2c5ec167d505642d3344b249257475 | refs/heads/master | 2021-01-20T01:32:43.668461 | 2017-04-24T22:50:01 | 2017-04-24T22:50:01 | 89,292,212 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,329 | py |
"""
Implementacion de el TAD Conjunto, con una estructura conjunto que representa
una lista enlazada simple, que va a contener elementos de tipo entero
Autor: Orlando Chaparro Carnet: 12-11499
Ultima modificacion:
Jueves, 30 de marzo de 2017 - Semana 12
"""
class Elemento:
def __init__(self, e, n):
""... | [
"dvdalilue@gmail.com"
] | dvdalilue@gmail.com |
8770e05b11aacd23d8d2ca29f7382ab24034e0c9 | cfab21b3101961a5ccc5fab4cb9e0c901f9d0e1e | /PornhubBot/HubBot.py | b393ed7fd6ff1eadeea04e00e1f2590eafcfb23c | [] | no_license | kiraoftheweb/Webscrapers-Bots | fd3e9624c46f5ac965bef8a7319a694dece8ac9d | 8f00b23f14818e1a41646440c6d5939e19e92430 | refs/heads/master | 2022-06-04T22:15:08.340831 | 2020-04-12T04:07:09 | 2020-04-12T04:07:09 | 259,725,362 | 0 | 0 | null | 2020-04-29T17:44:46 | 2020-04-28T18:57:23 | null | UTF-8 | Python | false | false | 8,740 | py | import requests
import threading
import time
import sys
import os
import threading
import websocket
from bs4 import BeautifulSoup
import random
import logging
import coloredlogs
import re
logger = logging.getLogger(__name__)
fmt = ("%(asctime)s - %(message)s")
coloredlogs.install(fmt=fmt, logger=logger... | [
"noreply@github.com"
] | noreply@github.com |
573e79697a3301256d9cbc42256cd5348b4e8846 | 28269ad7e134f29cf7354f640bc0b7a2fc5296ee | /UnoAttack/CONTROLLER/ENUMERATE/NUMBER.py | b38591242fc0e24e5a50ef1d4218a8938b169667 | [] | no_license | gdoc7/UnoAttack | d2ee81e829fbd5a58efabf48ad8c9e680d36a28b | f565da16719dd9e331dab1802dff6edf03b9a0f7 | refs/heads/main | 2023-03-01T03:30:48.332920 | 2021-02-11T19:48:18 | 2021-02-11T19:48:18 | 324,863,144 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 868 | py | from enum import Enum, auto
class NUMBER(Enum):
Cero=auto()
Uno=auto()
Dos=auto()
Tres=auto()
Cuatro=auto()
Cinco=auto()
Seis=auto()
Siete=auto()
Ocho=auto()
Nueve=auto()
def GetNumber(self,number):
if(number == 0):
return self.Cero
... | [
"flowersjoshep@gmail.com"
] | flowersjoshep@gmail.com |
3a455eb36d66b09321c5bd347001f199957bb3db | d3f9ada2ab03086dd0abf692b87d29963048e969 | /OpenRefine-galaxy-ie/openrefine_export_project.py | 65244478ca88a773ad88bfbe18397da86b34ff75 | [] | no_license | eloisetrigodet/Galaxy-E | 1937c733bbe8659b9c8c2f54fe62f6b09cfdc96b | 229ec589a3b34e84d5ff49a1afec3b9b9b64a18e | refs/heads/master | 2021-01-22T20:09:18.466298 | 2017-08-17T16:39:21 | 2017-08-17T16:39:21 | 100,706,356 | 0 | 0 | null | 2017-08-18T11:37:52 | 2017-08-18T11:37:52 | null | UTF-8 | Python | false | false | 1,112 | py | #!/usr/bin/python
import sys
import os
import pickle
#API to help interactive environnement get data from galaxy
from galaxy_ie_helpers import put
sys.path.append("refine.py")
import refine
r = refine.Refine()
if os.path.isfile("fichier_donnee.txt"):
print "sortie erreur"
os.remove("fichier_donnee.txt")
sys.exit(... | [
"chavaldranis@gmail.com"
] | chavaldranis@gmail.com |
8177dfb38a0d9baa69c7809f02b87f8453af86e5 | 0a42d2feb5fb3a3ce11edfe2123b0bb1990850b8 | /02-analysis/preprocessing/parse_application/cwmp/get_cwmp_proc.py | 3f241b4033d961b5abb75276cae3d60d9e02193b | [] | no_license | LCHOICEzz/scan_liveness | b81f71974c362118000a2be10b7217e2b780b280 | 75b1963404d319728d9531483af5ff4e075c1f11 | refs/heads/master | 2020-03-18T23:59:57.657991 | 2018-03-29T16:56:35 | 2018-03-29T16:56:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,230 | py | # Output
# Ok means that it's a legit HTTP response
# notOk when the response cannot be parsed via HTTP
#
#if $1=="ok"
#
# $2: error-normal,except
# $3: status code #all codes when ok-redirect
# $4: status line # all lines when ok-redirect
# $5: IP
# $6: -
#
#elif $1=="error"
# $2: normal,unknown,except-unknown
# $3:... | [
"sheharbano.k@gmail.com"
] | sheharbano.k@gmail.com |
555def044d94868c740bcd02f054ab51dc8278f0 | 224d61afb353867cf3b25971aca911648230c96c | /create-django-users.py | dfbbe5ab226948e3d12d189f619c31cd38d5ea50 | [] | no_license | OlivierGaillard/prestige-djangeurope | 5a83339d2afceee08b9a578d4bd9ac6bfd6b41d2 | a9ae993d5cf0afe90090bb53ddc77f331c4fcf3d | refs/heads/master | 2022-11-28T04:22:09.269013 | 2019-10-21T15:41:02 | 2019-10-21T15:41:02 | 119,078,102 | 0 | 0 | null | 2022-11-22T02:07:04 | 2018-01-26T16:51:40 | JavaScript | UTF-8 | Python | false | false | 621 | py | import json
import django
django.setup()
from django.contrib.auth.models import User
with open('django-users.json') as data_file:
django_users = json.load(data_file)
for user_dict in django_users:
try:
u = User.objects.get(username=user_dict.get('user'))
u.set_password(user_dict.get('pa... | [
"ol.ga@bluewin.ch"
] | ol.ga@bluewin.ch |
7e90e0748a097082ae08503e7105547f19da0ae5 | 7482036919de3e698fb752486f74c78922fb342d | /backend/manage.py | 61f319e61ffe0dc371b6d1d9bed8db5a05f36a9a | [] | no_license | crowdbotics-apps/spring-star-27540 | 6c14339a0f1d6e5e409f809180049ce3085a70ef | 267d17dbe4d773f2e83fcef592e92f78c16d4000 | refs/heads/master | 2023-05-02T22:58:42.678703 | 2021-05-29T01:56:54 | 2021-05-29T01:56:54 | 371,858,417 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 637 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spring_star_27540.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
ra... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
7080b59a4bfa4a4e1629b6d3a6a10dc7b7c393ea | cc0f8131064d1d7d5e6c97d42d0e71b16c334d81 | /Neo4dash/neo4dash/testfilter.py | a2b0d51d2194af7eda96b64377c693c4fe8cdcc2 | [
"Apache-2.0",
"MIT"
] | permissive | LennardSchaap/Github_Visualization | aa6591678cc5cd05c4d87f9b258c6ff167e4307d | 455dad5ae15d26706587dd92a256fd840654e157 | refs/heads/master | 2022-03-30T08:20:40.240726 | 2019-12-12T00:41:39 | 2019-12-12T00:41:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,060 | py | import unittest
from db import *
db = Database()
import main
import filter
class Test_Filter(unittest.TestCase):
def testoneday(self):
print("Checking if the first node is of correct type (day)")
data2, data3 = db.get_all_data(merge=False)
data4, data5 = filter.filter_by_day(data2, data3, 2)
days = data4 + d... | [
"noreply@github.com"
] | noreply@github.com |
172950098797f32c4f902c6f3b481f3ad4930a68 | 5cf48e0f512d8d9de98e1bc99fd7b8fd4b0f1a97 | /src/pandas_profiling_study/report/presentation/flavours/html/sample.py | da712a249231d4d5920d948223a896eb4c14a876 | [
"MIT"
] | permissive | lucasiscoviciMoon/pandas-profiling-study | 5de782e70891beb333082a6c4890b012bf583ba0 | 142d3b0f5e3139cdb531819f637a407682fa5684 | refs/heads/master | 2022-04-21T22:55:52.000760 | 2020-03-24T01:28:48 | 2020-03-24T03:06:31 | 258,807,572 | 0 | 0 | MIT | 2020-04-25T15:20:39 | 2020-04-25T15:20:38 | null | UTF-8 | Python | false | false | 239 | py | from .....report.presentation.core.sample import Sample
from .....report.presentation.flavours.html import templates
class HTMLSample(Sample):
def render(self):
return templates.template("sample.html").render(**self.content)
| [
"lucas.iscovici@moonhealth.ai"
] | lucas.iscovici@moonhealth.ai |
0a6f8ee3692bb01f36515afd0ebc38bcb078efdf | 680f6292c7eb0c4877e7f5b2e8b1dd7f1338a9fd | /Cloud/module/Identification/data_create.py | 9cadc0678768ac83f4e65101c6ceefb264a18b78 | [] | no_license | pengjunkun/SkyNet | 0dcc99c382430dc0bc601d631fde5bc15b73abdd | 0a9f990ce3cb512523b6401a99aa22afd38995ea | refs/heads/main | 2023-04-07T14:47:29.660789 | 2022-12-21T08:54:54 | 2022-12-21T08:54:54 | 580,700,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,487 | py | # ๅถไฝไบบ่ธ็นๅพๅ้็ๆฐๆฎๅบ ๆๅไผไฟๅญไธคไธชๆไปถ๏ผๅๅซๆฏๆฐๆฎๅบไธญ็ไบบ่ธ็นๅพๅ้ๅๅฏนๅบ็ๅๅญใๅฝ็ถไนๅฏไปฅไฟๅญๅจไธ่ตท
import os
os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
from facenet_pytorch import MTCNN, InceptionResnetV1
import torch
from torch.utils.data import DataLoader
from torchvision import datasets
import numpy as np
import pan... | [
"pengjunkun@gmail.com"
] | pengjunkun@gmail.com |
29415c92f907386e12b8b7464017066d98547695 | 041a39d9df52c63d720447f34e90d4a9b09e2f75 | /raccoons/core/migrations/0004_auto_20191003_1910.py | 0bb27a1d9a62b8b6ee6ba9dc658d99bd02efa640 | [
"MIT"
] | permissive | AstroAmat/raccoons-site | 75c723a08ed2d0cd5cf1500ae5379e4a301d1b35 | aecfa6cfd5fbd916855cdd8f4269664ff3b63510 | refs/heads/master | 2020-08-15T08:26:05.630889 | 2019-10-15T16:23:01 | 2019-10-15T16:23:01 | 215,308,552 | 0 | 0 | MIT | 2019-10-15T13:40:24 | 2019-10-15T13:40:23 | null | UTF-8 | Python | false | false | 1,518 | py | # Generated by Django 2.2.5 on 2019-10-04 00:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0003_auto_20191002_2048'),
]
operations = [
migrations.AlterField(
model_name='user',
name='first_name',
... | [
"mauriciochavez@ciencias.unam.mx"
] | mauriciochavez@ciencias.unam.mx |
d60623747280f704452453511dc70860b5cf3c4b | 328e782c2c5d4da46e29f949ee3f06aeec4ee8d5 | /ed_invasion.py | 26d903abe4cedb15ce74f7865e894ef9cc9d53fe | [] | no_license | alanbeavan/ed_invasion | b48b1e464609262f37cae87a6734eb98a0d95d4e | b16cee37492240a4f7bc63df27c3a0f5f09360ec | refs/heads/master | 2020-07-01T02:59:33.992594 | 2019-08-07T10:13:13 | 2019-08-07T10:13:13 | 201,025,402 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,595 | py | #!/usr/bin/env python3.6
#ed_invasion.py
#make a game which is basically space invaders but instead of aliens its eds.
#Importing my personal module
import sys
sys.path.append("/Users/ab17362/OneDrive - University of Bristol/Python_modules")
from my_module import *
#importing other modules
import pygame
from setting... | [
"alan.beavan@bristol.ac.uk"
] | alan.beavan@bristol.ac.uk |
b83e56f18628758862133f2a47a72de447e28066 | b76d97e8348adb07ba4069860eff0fc874738fc7 | /again/urls.py | 1b2a9605675074b6c59fe48ef6eec082a5b944cc | [] | no_license | Monopz/my-first-blog | b468f648dc05edf5bd0b6dc21e55e5e99aa0b182 | 0c44d2d11ba8fbec8db3665c5657a8f02df1cc99 | refs/heads/master | 2021-01-22T10:57:32.943833 | 2017-06-11T17:06:06 | 2017-06-11T17:06:06 | 92,666,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 177 | py | from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'', include('blog.urls')),
]
| [
"monopz@protonmail.com"
] | monopz@protonmail.com |
92ac7bd164345c50dbb3b66e3cf7e6b526225049 | 1ab7b3f2aa63de8488ce7c466a67d367771aa1f2 | /Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/pandas/tests/indexes/ranges/test_range.py | 3bd3f6cc09db7b9910b1ed6ecfcbaefee8015372 | [
"MIT"
] | permissive | icl-rocketry/Avionics | 9d39aeb11aba11115826fd73357b415026a7adad | 95b7a061eabd6f2b607fba79e007186030f02720 | refs/heads/master | 2022-07-30T07:54:10.642930 | 2022-07-10T12:19:10 | 2022-07-10T12:19:10 | 216,184,670 | 9 | 1 | MIT | 2022-06-27T10:17:06 | 2019-10-19T09:57:07 | C++ | UTF-8 | Python | false | false | 16,498 | py | import numpy as np
import pytest
from pandas.core.dtypes.common import ensure_platform_int
import pandas as pd
from pandas import Float64Index, Index, Int64Index, RangeIndex
import pandas._testing as tm
from ..test_numeric import Numeric
# aliases to make some tests easier to read
RI = RangeIndex
I64 = Int64Index
F... | [
"kd619@ic.ac.uk"
] | kd619@ic.ac.uk |
b359fb4b0e15417b631fc4f682ada57fbc1fc6d2 | f56777b0695ee9ce668bf1eafad00d1f6dfd6e3a | /driftrtcms.py | 7f8130944cdbb5f8bb6b38cbd6c47d5e385e80de | [] | no_license | manitou48/pyboard | 15eb99e0d0fe4acad3d7b92e516bd0b692e939fb | f381057fecb01d0f94ae54d7bb8c9b989efdcc39 | refs/heads/master | 2021-12-14T05:43:13.126509 | 2021-11-28T22:30:14 | 2021-11-28T22:30:14 | 32,614,937 | 20 | 10 | null | null | null | null | UTF-8 | Python | false | false | 596 | py | # use cpu clock millis() to check drift, LSI (RC) has big offset
# print millis every 5 seconds
import pyb
l = pyb.LED(3)
rtc=pyb.RTC()
#rtc.calibration(-200) # units` val*.954 = ppm
m0 = pyb.millis()
x= rtc.datetime()
r0 =int( 1000 * ( x[4]*3600 + x[5]*60 + x[6] + (255-x[7])/256.))
ms=m0
rs=r0
for i in range(100):
... | [
"manitou@home"
] | manitou@home |
48053fa2eebe7dca6b0d0ecb9616ce8237c80c19 | 42a0760a051935b2e765d57c445235221a28f49e | /problemSets/top75/56_merge_intervals.py | 7ff6f625e9b19d613ec2f5cdcd70184f3bf28e21 | [] | no_license | Th3Lourde/l33tcode | 3bea3a3e7c633a2d5a36f7d76d5d776d275d8ee3 | eb6b11f97a022b66716cb3890cc56c58f62e8aa4 | refs/heads/master | 2022-12-22T19:05:04.384645 | 2022-12-18T19:38:46 | 2022-12-18T19:38:46 | 232,450,369 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 781 | py | class Solution:
def merge(self, intervals):
if not intervals:
return []
intervals.sort(key=lambda x: x[0])
idx = 0
mergedIntervals = [intervals[0]]
for l,r in intervals[1:]:
if mergedIntervals[idx][0] <= l <= mergedIntervals[idx][1] and mergedInter... | [
"eli.sylvia-lourde@nutanix.com"
] | eli.sylvia-lourde@nutanix.com |
6fbecd1100323ff2ee8b7ad66e193434f660c617 | 849e5768572f90815f278a1058e01f1e137d885a | /articles/migrations/0002_remove_userprofile_name.py | 00bf80951817d2146f23e189a63644dd01f24a89 | [] | no_license | radumazilu/Articles | 971ae421698ef9423714c70e35c81de893f201b7 | 9055b57b060155c9277be26fa112059bd3584a90 | refs/heads/master | 2021-06-11T18:51:33.339212 | 2017-01-03T10:14:26 | 2017-01-03T10:14:26 | 75,486,844 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 386 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-12-03 16:31
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('articles', '0001_initial'),
]
operations = [
migrations.RemoveField(
mo... | [
"maziluradugabriel@gmail.com"
] | maziluradugabriel@gmail.com |
fd79b4db1230f5d5d57db351256367d348c6d807 | 6094f9c35165df7490907ebf314e3f18dc30a48a | /omor/settings.py | 41dea487d939f8e0ade93cc5413e75dd8613887b | [] | no_license | danieludokike/omorupdate | 641b64659990c8c25c3af9a8a40e25ac7769a88e | e8d8dcc73ec12500b48fd3b5b2ff50f1e6181e02 | refs/heads/master | 2023-08-03T00:11:02.866917 | 2021-09-29T19:10:50 | 2021-09-29T19:10:50 | 387,458,297 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,391 | py | import os
import dj_database_url
import django_heroku
import environ
from decouple import config
# ENVIRONMENT VARIABLES
env = environ.Env(
DEBUG=(bool, False)
)
environ.Env.read_env()
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abs... | [
"danieludokike@gmail.com"
] | danieludokike@gmail.com |
d97dcb6e0ca0834d47adde8295161d6df7c1effb | 7a88fc18f30d5dd3ac935877d4d9268a56c296be | /di_website/publications/migrations/0007_auto_20190924_1349.py | 1907659178d26314ad37e2f4f1ba61a1d7f5b83d | [] | no_license | devinit/DIwebsite-redesign | 745a480b7ba0feffa34dc664548ee4c5a7b4d470 | 9ec46823c67cdd4f35be255896bf30d8f6362666 | refs/heads/develop | 2023-08-30T04:06:20.951203 | 2023-08-07T12:06:07 | 2023-08-07T12:06:07 | 184,287,370 | 1 | 0 | null | 2023-08-28T14:34:57 | 2019-04-30T15:29:25 | HTML | UTF-8 | Python | false | false | 1,077 | py | # Generated by Django 2.2.2 on 2019-09-24 13:49
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('publications', '0006_auto_20190919_1544'),
]
operations = [
migrations.AddField(
model_name='shortp... | [
"alex.k.miller@gmail.com"
] | alex.k.miller@gmail.com |
231c692cb111ac737e199339573c3ba8ff5fa1a8 | 7a6bd6b7848815e1050ed8bb2f811a57186d5489 | /src/metrics.py | e1354cc700fb81d1fd8570c601a3997feac140c6 | [
"MIT"
] | permissive | gucci-j/imbalanced-mnist-classification | 02a1b9e1c407454be1a50507609008e5f807f41f | b63d662528ddb959753d4c467c00fec4f506a216 | refs/heads/master | 2022-10-09T04:36:32.696438 | 2020-06-06T22:52:29 | 2020-06-06T22:52:29 | 268,924,454 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,022 | py | import torch
import numpy as np
from sklearn.metrics import roc_curve, roc_auc_score
from sklearn.metrics import precision_recall_curve, average_precision_score
from sklearn.metrics import confusion_matrix
from sklearn.metrics import f1_score, precision_score, recall_score
import matplotlib.pyplot as plt
import seabo... | [
"30075338+gucci-j@users.noreply.github.com"
] | 30075338+gucci-j@users.noreply.github.com |
bf0f66a288c448a17d161fe26a26f11189327ad3 | 65cefe816f79d0f30ce53c0a72755227f5a5d9e4 | /Capevals.py | ff3758806ebef1e431407936dda7978fd9325a7f | [] | no_license | RissaRWx/Sounding-Computation | 777a16daf5f3a17c323ab948069db87996fd365b | 5923580b4e00a568f8296cad71665c07f5a5afa5 | refs/heads/master | 2021-01-23T04:58:30.640232 | 2017-03-26T19:46:21 | 2017-03-26T19:46:21 | 86,259,276 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 26,900 | py | #!/usr/bin/env python
import sys
import math
import csv
import numpy as np
import Bisection
import thetae
import lininterp
import operator
from svrparameters import bulkshear
#Takes dewpoint (in Kelvin) and pressure (in mb) and converts to vapor pressure
def e_s(t):
e_s=6.112*math.exp(17.5*(t-273.15)/(t+237... | [
"Larissa@Larissas-MacBook-Pro.local"
] | Larissa@Larissas-MacBook-Pro.local |
e686272524da9104f66a9781782a964c4d72b591 | 4274358279a3f0383de29cb23be81d5d13d12d1c | /findBestResultAndRunExpe.py | ed31a16dd083ae3ef8f4f2d9aa3e3055905c2402 | [] | no_license | iris-irit/princess | b5f3ad533dfc6581c12d7c6e1ee6f0ebd1452fd4 | 480cba9bb7bb85f19a25f65b8dbab08b236380db | refs/heads/master | 2020-05-25T07:54:30.559125 | 2017-03-23T09:38:30 | 2017-03-23T09:38:30 | 84,923,910 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,631 | py | # -*- coding: utf-8 -*-
import operator
import os
import re
import time
from os.path import join
dirname = '/osirim/sig/PROJET/PRINCESS/code/script_experiments/'
dirResult = '/osirim/sig/PROJET/PRINCESS/results_cikm/princess/'
# DEBUG
'''
listType = ['robin']
listFeature = ['']
listImpact = ['0', '1']
listRound = ['1... | [
"pitarch@irit.fr"
] | pitarch@irit.fr |
4f23d9e65554448dbc9d456067f9b6e74cd5a566 | fd0f20904a02d1b487afcbfb924304a3aa7e0c1b | /locallibs/productbuild.py | 8d62f299ac80e7e387b0e8610a27e1c10da5014a | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | choules/pycreateuserpkg | 8dbbaee269fb135aab16459f2c7ae25a6382c2ff | dcc9ee6d140048aa74fa33f880a4f3c3cb8ada17 | refs/heads/main | 2023-06-07T18:18:37.980973 | 2021-03-11T16:26:23 | 2021-03-11T16:26:23 | 381,023,611 | 0 | 0 | NOASSERTION | 2021-06-28T12:29:18 | 2021-06-28T12:29:18 | null | UTF-8 | Python | false | false | 926 | py | import os
import shutil
import subprocess
import sys
class ProductBuildException(Exception):
'''Error when creating pkg'''
pass
def generate(info, createuserpkg_dir):
# Hide and rename created component package
component_pkg = os.path.dirname(info[u'destination_path']) + "/.tmp.pkg"
shutil.move(os... | [
"noreply@github.com"
] | noreply@github.com |
d90cf96b29e752763578bcb21bcbf9623534cc18 | 8d450beaaa3795cf174764fcb5156f88044cecf0 | /hjemmeside/vaskeside/forms.py | 174b35dfed17dba6fc99fb7cdc6c275085ffa227 | [] | no_license | johanub/schoolWash | 1a845fc4115ff9c19dd89ac0fa5a8709ba6e06ac | 9bc0d2569cb48f47970f68409b7f99136e299532 | refs/heads/master | 2021-07-08T00:35:53.915839 | 2020-07-31T12:15:19 | 2020-07-31T12:15:19 | 163,220,221 | 2 | 1 | null | 2019-01-26T13:03:29 | 2018-12-26T21:48:10 | Python | UTF-8 | Python | false | false | 902 | py | from django import forms
from . import models
class Reservertid(forms.ModelForm):
class Meta:
model = models.Tables
fields = ['maskine', 'starttid', 'sluttid']
labels = {'maskine': 'Maskine',
'starttid': 'Start tidspunkt',
'sluttid': 'Slut tidspunkt'}
... | [
"johanbendixsen@gmail.com"
] | johanbendixsen@gmail.com |
7e07af0b978a506d805ad5d0f38d717f0492b503 | ce35426df8d80c2c18b59ec8779f75cb9680704c | /venv/Lib/site-packages/botocore/__init__.py | 765bcb4369382bacc4faf8f90958642b3b73ee8b | [] | no_license | waggle-sensor/visual_disorder_plugin | 657cc5dd3cbe4e86ed5d573abfb028e6b973c1d7 | 8bdd76e0cb5a2d5e146b4fd2d1a22f2f7bcd0fbd | refs/heads/master | 2023-07-09T04:47:18.934989 | 2021-08-06T21:34:46 | 2021-08-06T21:34:46 | 384,246,864 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,881 | py | # Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http... | [
"skhan330@illinois.edu"
] | skhan330@illinois.edu |
6e1d6cd2a8bfea5fab3e963a27b3b7ae78265dc3 | a4ea525e226d6c401fdb87a6e9adfdc5d07e6020 | /src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/server/__cmd_group.py | d961af574f0abaf5e29fdf103bfbd24bcdb8d564 | [
"MIT",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MPL-2.0",
"LGPL-2.1-only",
"Apache-2.0",
"LGPL-2.1-or-later",
"BSD-2-Clause"
] | permissive | Azure/azure-cli | 13340eeca2e288e66e84d393fa1c8a93d46c8686 | a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca | refs/heads/dev | 2023-08-17T06:25:37.431463 | 2023-08-17T06:00:10 | 2023-08-17T06:00:10 | 51,040,886 | 4,018 | 3,310 | MIT | 2023-09-14T11:11:05 | 2016-02-04T00:21:51 | Python | UTF-8 | Python | false | false | 694 | py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------... | [
"noreply@github.com"
] | noreply@github.com |
4cc37ad56fd290e17efbe7fbf81ab98ff728c959 | a37824e7012fec09b4fba823bfc74459aac76cbe | /day14/day14pt2.py | 72c24ab2aef5060cb7d8d291db081fa280de5a25 | [] | no_license | nsmoss/adventofcode2020 | 1b7a4b1cfbc91648112254decc2e4c529a4d9e46 | 31e20424b85129b9baa496b68bb1ff8094b05708 | refs/heads/main | 2023-02-06T10:18:11.808619 | 2020-12-24T14:30:23 | 2020-12-24T14:30:23 | 317,869,215 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,266 | py | #!/usr/bin/env python
from itertools import product
rawdata = [line.split(" = ") for line in open("day14input.txt").read().splitlines()]
memory_values = {}
bitmask = ""
for line in rawdata:
if line[0] == "mask":
bitmask = line[1]
else:
mem_location = line[0].strip("mem[]")
binaryvalue... | [
"noah.s.moss@gmail.com"
] | noah.s.moss@gmail.com |
6e65630fa3478ae44bf7d9d67c3db468fdde7751 | cc796463f23a2cdeb6b3b8ce60a8c17c19487b4a | /archive/main_v2.py | 79663366e0d8a14a131e34dda743568fe209784a | [] | no_license | ChenyiZheng/45X_ML_Detection | e61746514378c48e2c907fdb156f440f79b465da | 9c00bbaeb3da8116a43d1c00ee8a0e2f4ca9fc46 | refs/heads/master | 2023-04-06T17:55:00.919383 | 2021-04-15T19:40:32 | 2021-04-15T19:40:32 | 348,469,169 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,247 | py | import cv2
import numpy as np
import torch
import random
import time
from datetime import datetime
from working_scripts.utils import thermal_detect, plot_one_box, write_logs, time_synchronized, crop_image, save_frames
from yolov5.models.experimental import attempt_load
from yolov5.utils.datasets import letterbox
from ... | [
"imhenrysitu@gmail.com"
] | imhenrysitu@gmail.com |
7553754cdd68d331ae79e8446bc588b76cf92240 | 644e20deaa259618a92f77a9aebb48f73aca5604 | /ilqr/ilqr_run/env_dynamics.py | 337fb78b40bbed052a98639125de344720f2ebab | [
"MIT"
] | permissive | laura042/Multistable_memory_system | 5ada8dfd0a45431ed11bb20a0d5978400eb7e21c | a2854c94d3e64ae7cbd37ebcc0c107dcd7d7f2bc | refs/heads/main | 2023-04-11T20:33:03.731793 | 2022-10-14T14:23:50 | 2022-10-14T14:23:50 | 485,346,961 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 954 | py | import numpy as np
from EQD import EQD_mouvement
import theano.tensor as T
import sys
from ilqr.dynamics import constrain, BatchAutoDiffDynamics, tensor_constrain, FiniteDiffDynamics
class EnvDynamics():
def __init__(self,
ressorts,
masse,
c_frot,
... | [
"lechenault@skywalker.phys.ens.fr"
] | lechenault@skywalker.phys.ens.fr |
2cc1cae0d491d5151367698c6d2e34dcb975ea18 | 36b6794f2ea679f82a17dd3847c1c68add81abcc | /doc/convert_from_uxf.py | d0b3a5bcd59d93c5da7d625949d85fed352978e8 | [] | no_license | aleph2c/miros-random | 1070b9c9914f9ff9df9cbeb9f6ed1f462f883104 | 3aa9e195cdb8fa6f798edff5465f07db31e7956a | refs/heads/master | 2022-12-08T23:23:07.504645 | 2021-08-13T12:49:09 | 2021-08-13T12:49:09 | 185,998,225 | 0 | 0 | null | 2022-12-08T05:05:46 | 2019-05-10T14:02:06 | Python | UTF-8 | Python | false | false | 3,632 | py | # cmd.exe /C "C:\Users\lincoln\Desktop\Umlet\umlet.exe -action=convert -format=pdf -filename=ergotic_mongol_3.uxf" > /dev/null 2>&1
import os
import sys
import time
import shutil
import subprocess
import watchdog.events
import watchdog.observers
from pathlib import Path
from pathlib import PurePosixPath
fr... | [
"scottvolk@gmail.com"
] | scottvolk@gmail.com |
e599ce67053c440c3b982f4a66959c6e23cf46dd | 777660665e3c3c8f01615ace0659539963c6f339 | /Sublime Text 3/Packages/Floobits/floo/sublime_ui.py | c825b14ad924c016b20dc173bffbe3e5a43d7d9c | [
"Apache-2.0"
] | permissive | schaefer-dev/dotfiles | f85c2ce6e11aaab52ccfdeb545e8e635793d7bc9 | 185590b05890c690a0421812b0ec67d7e2e8c733 | refs/heads/master | 2023-05-27T08:57:01.224734 | 2023-05-21T20:11:04 | 2023-05-21T20:11:04 | 37,656,728 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 4,816 | py | import sys
import os.path
import subprocess
import sublime
try:
from .sublime_connection import SublimeConnection
from .common import msg, shared as G, utils, flooui
from .common.exc_fmt import str_e
assert G and G and utils and msg
except ImportError:
from sublime_connection import SublimeConnect... | [
"schaefer.dev@gmail.com"
] | schaefer.dev@gmail.com |
311e80aa2ff395e8c37abb76ae904d71bc65e325 | 8ef8e6818c977c26d937d09b46be0d748022ea09 | /cv/super_resolution/ttsr/pytorch/model/SearchTransfer.py | 2b5783ca0517680d2052d57305968c26bdac5edf | [
"Apache-2.0",
"MIT"
] | permissive | Deep-Spark/DeepSparkHub | eb5996607e63ccd2c706789f64b3cc0070e7f8ef | 9d643e88946fc4a24f2d4d073c08b05ea693f4c5 | refs/heads/master | 2023-09-01T11:26:49.648759 | 2023-08-25T01:50:18 | 2023-08-25T01:50:18 | 534,133,249 | 7 | 6 | Apache-2.0 | 2023-03-28T02:54:59 | 2022-09-08T09:07:01 | Python | UTF-8 | Python | false | false | 2,276 | py | import math
import torch
import torch.nn as nn
import torch.nn.functional as F
class SearchTransfer(nn.Module):
def __init__(self):
super(SearchTransfer, self).__init__()
def bis(self, input, dim, index):
# batch index select
# input: [N, ?, ?, ...]
# dim: scalar ... | [
"jia.guo@iluvatar.ai"
] | jia.guo@iluvatar.ai |
26a9092923ba18920ccdad2427001c1ad995f102 | aee1878ba3e31a36c805025c662ab55a45003898 | /model_zoo/preprocess.py | 2ab21774d485dedb6137ca9f7b4dea35f9469a68 | [
"MIT"
] | permissive | boluoyu/ModelZoo | 4a40c1215200ddcf5e96554bf2474593cfe60f1e | e8906d5c5195c1f6ebdc46e69fa8cd0439317c60 | refs/heads/master | 2020-06-15T17:29:18.108553 | 2019-02-08T16:20:07 | 2019-02-08T16:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 453 | py | from sklearn.preprocessing import StandardScaler
def standardize(fit_data, extra_data=None):
"""
standardize data
:param fit_data: data to fit and transform
:param extra_data: extra data to transform
:return:
"""
s = StandardScaler()
s.fit(fit_data)
fit_data = s.transform(fit_data)... | [
"cqc@cuiqingcai.com"
] | cqc@cuiqingcai.com |
d0b5c2f160a1d45560730b6f89d15a84bc44bfc6 | 2bdedcda705f6dcf45a1e9a090377f892bcb58bb | /src/main/output/guy_job_party/work/morning_team/minute/city.py | cd73017ec214a164aca8b7076627ba35a74cba8f | [] | no_license | matkosoric/GenericNameTesting | 860a22af1098dda9ea9e24a1fc681bb728aa2d69 | 03f4a38229c28bc6d83258e5a84fce4b189d5f00 | refs/heads/master | 2021-01-08T22:35:20.022350 | 2020-02-21T11:28:21 | 2020-02-21T11:28:21 | 242,123,053 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,594 | py | package SDK;
import java.io.File;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.Future;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.A... | [
"soric.matko@gmail.com"
] | soric.matko@gmail.com |
ec27a425ed12e22c75e8bee093f305ac4b5b758d | 5475bf5cf7aa9bbcf2e9f95c873054cfb410629a | /api/migrations/0019_auto_20191223_1815.py | 3cfc72d70804b148ccc4824a6dbd1ff7d11db792 | [] | no_license | allangoncalves/dicasurf_backend | a7d4d7702cbec5a64c8d42410a15100e0834a5b3 | d294cf1eab30bd22d0e121c00237c4dfc7bb8706 | refs/heads/master | 2023-04-15T17:03:21.213818 | 2021-04-23T00:58:46 | 2021-04-23T00:58:46 | 199,702,915 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 956 | py | # Generated by Django 2.2.5 on 2019-12-23 18:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0018_videogrid'),
]
operations = [
migrations.AlterModelOptions(
name='imagegrid',
options={'verbose_name': '... | [
"allangoncalves@outlook.com"
] | allangoncalves@outlook.com |
a410b6c3bdb61e05ebe3ddc1b53513c5c56f678e | 7ce3a8c4e5748c2ef96590bb954653504a219d66 | /game.py | d36799a00cb19839e35da21884cca8dc2a1489a3 | [] | no_license | caseyezimmerman/Goblin-Game | 13f5513e95db813f14c5aaaa288c3c7151311957 | 17b030286d48745581cbfb13084fd331b3d52a50 | refs/heads/master | 2021-01-23T21:23:53.886753 | 2017-09-08T19:46:36 | 2017-09-08T19:46:36 | 102,898,738 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,309 | py | #1. include pygame
import pygame
#from math module(in python) gets fabs method
from math import fabs
#2. init pygame
##in order to use pygame must run init method
pygame.init()
#3. creat screen with size
##the screen size must be a tuple
screen_size = (512, 480)
##actually tell python to set screen up and store it
py... | [
"caseyezimmerman@gmail.com"
] | caseyezimmerman@gmail.com |
c91819f9ce17f0642a4a7e15dc0d0cc7c34ed6c1 | fccc9acd62447941a49313c01fcf324cd07e832a | /exe115/sistema.py | 358cfb5e914db10289609b7d41eb882cee96b3dc | [] | no_license | paulovictor1997/Python | fba884ea19ed996c6f884f3fcd3d49c5a34cfd3d | 671d381673796919a19582bed9d0ee70ec5a8bea | refs/heads/master | 2023-04-29T18:01:55.451258 | 2021-05-19T15:12:09 | 2021-05-19T15:12:09 | 354,154,332 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 717 | py | from exe115.lib.interface import *
from exe115.lib.arquivo import *
from time import sleep
arq = 'doc.txt'
if not arquivoExiste(arq):
criarArquivo(arq)
while True:
resposta = menu(['Ver pessoas cadastradas','Cadastrar','SAIR'])
if resposta == 1:
#Aqui vai listar o conteรบdo do arquivo
le... | [
"paulovictornunes97@gmail.com"
] | paulovictornunes97@gmail.com |
7d1e54a15e7bc5dfa5694aff647273a096d943ec | 3158cba81da0b1fb1d95fe66d5239c5a6cf68d1a | /get_fragments.py | 64435ef47e02803ac05e929e48f425dc10383a9e | [] | no_license | uk-gov-mirror/nationalarchives.research-guide-service-alpha | 0fd7bd8d7eb7affa1718fd93082bde56068aa3f7 | e44e6ed76cfa9f68570c53208177bc482ded3e9b | refs/heads/master | 2023-04-08T13:16:30.356174 | 2020-01-10T15:55:16 | 2020-01-10T15:55:16 | 356,794,938 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,119 | py | from urllib import parse
import requests
def get_fragments(reference):
""""
Returns fragments for a given reference. Uses the resolver service. See the API docs for the resolver service at:
https://alpha.nationalarchives.gov.uk/idresolver/apidocs/
The commit history for this file also has a version ... | [
"m@gwnjns.com"
] | m@gwnjns.com |
3e8f229be324ff92c6bf537e2c95ff4a4b006515 | 28b30ba91c3360641e1dfa5c0c50ed1836347808 | /qutip/qip/compiler/cavityqedcompiler.py | 2edcc3ffe246cee3c190cd28a59f0774956e713b | [
"BSD-3-Clause"
] | permissive | sbisw002/qutip | 138dbe6c590fb08493e7d8e973dffc9e871e9030 | 103bb3bbb5753fdc5f9929dd34b37fdfe49d4d29 | refs/heads/master | 2023-03-17T00:52:55.937414 | 2022-10-31T17:08:16 | 2022-10-31T17:08:16 | 560,072,315 | 0 | 0 | BSD-3-Clause | 2022-10-31T17:19:45 | 2022-10-31T17:19:44 | null | UTF-8 | Python | false | false | 6,012 | py | import numpy as np
from qutip.qip.circuit import QubitCircuit, Gate
from qutip.qip.compiler import GateCompiler, Instruction
__all__ = ['CavityQEDCompiler']
class CavityQEDCompiler(GateCompiler):
"""
Decompose a :class:`.QubitCircuit` into
the pulse sequence for the processor.
Parameters
-----... | [
"etamin1201@gmail.com"
] | etamin1201@gmail.com |
1810e68b61697f5f1ddb91f48d3ab8f9f32bc2d1 | 12882f0961cc15bcf880429f2b4bb8ba95fe41b5 | /examples/set_nmea_protocol.py | 77e271483c771b530c076f7a90b42eb494cd5121 | [
"MIT"
] | permissive | foxittt/ubxlib | a25e66df1c44272861f71d1b3699fc159316cec0 | dac7ebe3a01760fe1dfcd9b1b2f5833ddd5cddda | refs/heads/master | 2022-09-18T16:10:30.389472 | 2020-06-06T18:15:55 | 2020-06-06T18:15:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,255 | py | #!/usr/bin/python3
"""
Sample code to change NMEA protocol version used
Run as module from project root:
python3 -m examples.set_nmea_protocol
"""
import logging
from ubxlib.server import GnssUBlox
from ubxlib.ubx_cfg_nmea import UbxCfgNmeaPoll, UbxCfgNmea
FORMAT = '%(asctime)-15s %(levelname)-8s %(message)s'
loggi... | [
"rene@see5.ch"
] | rene@see5.ch |
99639acca936a265149fc7cf193e89f53167c75f | 069cf2a9b701dff48dc09aec1155c8e156967524 | /deploy/deploy_0.py | f1c0ddd881890fb7648328f4ca63d72c3ceeca32 | [
"MIT"
] | permissive | Acria-Network/Acria-Contracts | 6cdfb2674942b02d9932694317b135c115dee688 | 3c8b0e6f453ef531a8464ee0bed3cf5642938633 | refs/heads/main | 2023-05-27T05:59:14.302629 | 2021-06-02T21:02:25 | 2021-06-02T21:02:25 | 341,409,549 | 31 | 12 | null | null | null | null | UTF-8 | Python | false | false | 1,533 | py | import json
from web3 import Web3, HTTPProvider, IPCProvider
from web3.middleware import geth_poa_middleware
import os
from os.path import join, dirname
from dotenv import load_dotenv
load_dotenv(join(dirname(__file__), '.env'))
if(os.environ.get("WEB3_USE_IPC") == False):
web3 = Web3(HTTPProvider(os.environ.get(... | [
"noreply@github.com"
] | noreply@github.com |
a842d2591a216cf6f2c6b515100e00a837baea7c | 1270a4fb380b27dba1d2e992dc0242c4ce70a7ee | /3/LeNet5_evaluation.py | 2d2a13834c964641d6d56681df7155ec5a3fa137 | [] | no_license | jeongeun980906/deeplearing_assigment | e56a001cb97877c5cbc825d4d6671a21c2ae6f3f | df0a573655febeab1ac45acd7c51d4c7dc1dc6ec | refs/heads/master | 2023-03-31T12:24:09.707923 | 2021-03-24T16:25:22 | 2021-03-24T16:25:22 | 295,922,456 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,514 | py | import torch
import torchvision.datasets as dsets
import torchvision.transforms as transforms
import numpy as np
from torchvision.datasets import ImageFolder
from torch.utils.data import DataLoader
from LeNet5_model import LeNet5_model, Config
import matplotlib.pyplot as plt
import argparse
parser = argparse.ArgumentP... | [
"baro0906@korea.ac.kr.com"
] | baro0906@korea.ac.kr.com |
846cbce051830a50f9ac5238fb0401f3f360fdeb | 9463012682ccaf33fab4341434c1a4f9548c0b6c | /coalition3/operational/script_run_operational.py | bb29cd098522843f84b342a74e0b7e09f907b887 | [] | no_license | toowzh/coalition-3 | daf6eeeb3baf9edadd8f077f53aef69b401fcbe2 | d435c557372c18aba16112215b30b4a4461978a8 | refs/heads/master | 2022-01-26T11:54:54.944154 | 2019-05-21T13:21:12 | 2019-05-21T13:21:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,565 | py | # coding: utf-8
""" [COALITION3] This script summarises to the current extent,
how an operational workflow could look like. But so far,
it only covers the steps up until the generation of the
statistics/pixel counts, and no prediction using statistical
models."""
## ============================... | [
"Joel.Miro@meteoswiss.ch"
] | Joel.Miro@meteoswiss.ch |
ffa80e415fc11487ad0892a4cbe94af86d8ea98d | 32226e72c8cbaa734b2bdee081c2a2d4d0322702 | /railrl/pythonplusplus.py | 13a5ca3173dd994bc741d65fcb56a3b482ebac76 | [
"MIT"
] | permissive | Asap7772/rail-rl-franka-eval | 2b1cbad7adae958b3b53930a837df8a31ab885dc | 4bf99072376828193d05b53cf83c7e8f4efbd3ba | refs/heads/master | 2022-11-15T07:08:33.416025 | 2020-07-12T22:05:32 | 2020-07-12T22:05:32 | 279,155,722 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,147 | py | """
General purpose Python functions.
TODO(vitchyr): probably move this to its own module, not under railrl
"""
import math
import sys
import collections
import itertools
def identity(x):
return x
def clip_magnitude(value, magnitude):
"""
Clip the magnitude of value to be within some value.
:param... | [
"asap7772@berkeley.edu"
] | asap7772@berkeley.edu |
9f2a536bbae93067a55d96109291743e8b21b56e | ea5da9d480732d6892e24ae45103d1f9b790d9fd | /colcon_bundle/verb/bundlefile.py | 3018e003f5f5ae45d32246ea8a8396a69b2c421f | [
"MIT",
"Apache-2.0"
] | permissive | BarceloChristian/colcon-bundle | b0834ddc8df88626f53a3b349e6c8efe8a36c703 | 03c7bbffed5c497ada22fa386af31bc3a42e08d6 | refs/heads/master | 2020-06-10T21:15:53.422597 | 2019-06-19T23:22:34 | 2019-06-19T23:22:34 | 193,750,483 | 0 | 1 | Apache-2.0 | 2019-06-25T17:06:17 | 2019-06-25T17:06:17 | null | UTF-8 | Python | false | false | 4,617 | py | import json
import math
import os
import tarfile
import tempfile
from colcon_core.logging import colcon_logger
from .utilities import filechecksum
logger = colcon_logger.getChild(__name__)
# Size in bytes
MAX_METADATA_SIZE = 4 * 1024 * 1024
class Bundle:
"""Provides an interface to application bundle files.""... | [
"noreply@github.com"
] | noreply@github.com |
a8cfbe1769e7812d92add2410f76dc0b60637168 | ac42793b2c93a2a6adc6f49003b4e44141ba01ef | /blog/migrations/0001_initial.py | 35629c5dc4e849bb66a90775014686e144bc6362 | [] | no_license | nahianjaydi/personal-website | e9f8241327dab6831b4ea1c4c0f2dd0221e52ed6 | 3373bb07866a543175631275dd337a6ee62be86a | refs/heads/master | 2020-03-24T17:15:35.152371 | 2018-07-30T09:36:24 | 2018-07-30T09:36:24 | 142,854,133 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 652 | py | # Generated by Django 2.0.7 on 2018-07-28 12:21
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Blog',
fields=[
('id', models.AutoField(aut... | [
"nahianjaydi@gmail.com"
] | nahianjaydi@gmail.com |
f54ea2ee8932c2f3d007391d2b7e870cba916568 | 6da7424954a233b572a785517116ac3b28823366 | /useful_module/Oauth2/auth.py | 30ea980804809bf02948ad4ac26073cba866a6ca | [] | no_license | apie0419/MyPlayGround | c0c9d3bb75591729a6faf6558909bae0dd1df4e8 | 091b1a90d75647225bacb120e008e70c8c95e0cb | refs/heads/master | 2020-08-06T20:58:20.188962 | 2019-10-06T10:51:53 | 2019-10-06T10:51:53 | 213,151,300 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,611 | py | from oauthlib.oauth2 import WebApplicationClient
import requests, json, time
class FacebookAuth(object):
AUTHORIZATION_ENDPOINT_URL = "https://www.facebook.com/v4.0/dialog/oauth"
TOKEN_ENDPOINT_URL = "https://graph.facebook.com/v4.0/oauth/access_token"
USERINFO_ENDPOINT_URL = "https://gra... | [
"xu3mp6xjp6@gmail.com"
] | xu3mp6xjp6@gmail.com |
ee177750c3cf6c9e56e26d33fdd3cb82679b4598 | 91f69f6da88688990c84d006f6d7dbd4a00d90d3 | /lib_file_fixing.py | 75fe6cd395e37c01dc2d7c80e67b91d9acf741ff | [
"MIT"
] | permissive | medialabufrj/parse-tweets | 1ac6cf4f8cb3fb347c4ed265c8bccee64040e3a7 | 2ab4c06468f86fa0beeaec37bc0496e6d8071fd8 | refs/heads/master | 2021-01-15T09:08:49.479571 | 2014-02-19T22:07:34 | 2014-02-19T22:07:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,354 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module contains functions to remove duplicate lines from CSV files and
remove the null byte character. It lazily reads all the file at once, so you may
need a lot of memorym depending on the size of your CSV.
"""
import csv
import os
import sys
from lib_input im... | [
"leite.marcus@gmail.com"
] | leite.marcus@gmail.com |
a9fa385bdf2356beab9851c83ca610512a6d532c | cb3bce599e657188c30366adb0af3007ff9b8f96 | /src/network/ex29-1.py | eeab288fc33fad3fc9b2440e19e26bdfdd2f8b06 | [] | no_license | skk4/python_study | 534339e6c378d686c29af6d81429c472fca19d6d | 4bdd2a50f4bdfd28fdb89a881cb2ebb9eac26987 | refs/heads/master | 2021-01-01T04:36:52.037184 | 2017-12-08T01:04:27 | 2017-12-08T01:04:27 | 97,207,719 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 467 | py | '''
Created on 2017.7.18
@author: Administrator
'''
import socket
'''
a_tuple = [('1', ('2', '22', '222'), '3'),('4',('5', '55', '555'), '6'), ('1', ('7', '77', '777'), '3')]
print [x[1][1] for x in a_tuple]
'''
localip = socket.gethostname()
print localip
fdqdn = socket.getfqdn(localip)
print fdqdn
... | [
"skk_4@163.com"
] | skk_4@163.com |
0f9e89bf67ca94201b2e8c1e351ba3b9db423833 | 9a009af13c21ad04a818959a6bad5f149febbae3 | /movie/migrations/0010_movie_banner.py | e1fe1ceb069b21bcc7924781922903b63a8d0022 | [] | no_license | Surdy-A/SMBD | 412089d8ce7369d679d0a3d10f853a6070498060 | c3c6a9d7b5626bc931d77dbe617ed145be3dcf7e | refs/heads/master | 2022-12-24T23:02:18.004371 | 2019-10-02T15:52:55 | 2019-10-02T15:52:55 | 212,331,313 | 0 | 0 | null | 2022-12-08T06:39:54 | 2019-10-02T12:11:17 | JavaScript | UTF-8 | Python | false | false | 401 | py | # Generated by Django 2.0.12 on 2019-09-20 14:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('movie', '0009_movie_created'),
]
operations = [
migrations.AddField(
model_name='movie',
name='banner',
... | [
"sodiq.ajayi@yahoo.com"
] | sodiq.ajayi@yahoo.com |
5801fed6f5307590f5e1df61c5661965b6b78b65 | 91865dde050c7be16d3b40b6cc56079f22370369 | /test/test_calculator_upgrade.py | a229f395b6684253795deb90b598a567d78c3507 | [] | no_license | zhangyanbo-star/calculatorCase | 2f4968e68cb0edf9f65bee58246cc5bfdd37c6c1 | 3dc380a5c577d23343fc684742f91c87d460082f | refs/heads/main | 2023-02-07T18:36:19.265815 | 2021-01-03T06:31:49 | 2021-01-03T06:31:49 | 324,353,796 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,797 | py | # ๆต่ฏ่ฎก็ฎๅจๆบไปฃ็ ็case -- ๅฎๅ็
"""
1 ไฝฟ็จไบ conftest.py ๅญๆพๅ
จๅฑ้
็ฝฎ
2 ่ฎพๅฎ fixture ๆนๆณ๏ผ้่ฟ params ๅฎ็ฐๅๆฐๅ
3 ่ทๅ yaml ๆไปถๆๅจ่ทฏๅพ
4 ๅฎๅๆตฎ็นๆฐ็่ฎก็ฎ๏ผๅขๅผบไปฃ็ ็ๅฅๅฃฎๆง
5 ๅขๅ ไบๅฏนๅผๅธธ็ๅค็
6 ไฝฟ็จ pytest-ordering ๆไปถๆงๅถ็จไพๆง่ก็้กบๅบ
7 ไฝฟ็จ allure-pytest ๆไปถ็ๆๆต่ฏๆฅๅ
"""
import pytest
import allure
@allure.feature("่ฎก็ฎๅจๅ่ฝๆจกๅ")
class TestCalculator:
@allure.story("ๅ ๆณ่ฎก... | [
"zhangyanbo_0228@163.com"
] | zhangyanbo_0228@163.com |
250187df27f88d6af5ce301cfd96f7a72e3f38cd | b48764e6684ffbd73b0043dc889c013860642e8d | /1ํ๊ธฐ/ํผ์ค๋์ปฌ๋ฌ.py | 8691df840217d0d309f14ff4a0e152e708a3cc16 | [] | no_license | tanghee/Programming-Python- | c6d32a1e49d5c95c8359aeb8775cb52cc665167a | eb402357ad31638d867042e76af507bc6c67a0b4 | refs/heads/master | 2022-03-27T07:27:18.888660 | 2019-12-10T02:06:41 | 2019-12-10T02:06:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,778 | py | #2416์ํํฌ
#18๊ฐ์ ์ง๋ฌธ์ ํตํด ์๊ฐ์ง๋จ์ ์งํํฉ๋๋ค
#์๋ฅผ ๋ค์ด, Q1์ ๋ต์ด 0์ด๋ผ๋ฉด Q4์ ์ง๋ฌธ์ผ๋ก ๋ต์ด 1์ด๋ผ๋ฉด Q2์ ์ง๋ฌธ์ผ๋ก ๋์ด๊ฐ๋ ๋ฐฉ์์
๋๋ค.
#ํจ์ ํ๋์ฉ ์ง๋ฌธ์ ๋ฃ์ด์ ํด๋น ์ง๋ฌธ์ ๋ต์ ๋ฐ๋ผ์ ๋ค์ ํจ์๋ฅผ ํธ์ถํด์ฃผ๋ ๋ฐฉ์์ผ๋ก ์งํํฉ๋๋ค.
print("FIND YOUR COLOR!")
print("โก์ฝ๊ณ ๋น ๋ฅธ ์๊ฐ์ง๋จ์ผ๋ก ๋๋ง์ ์ปฌ๋ฌ๋ฅผ ์ฐพ์๋ณด์ธ์โก\n")
#ํจ์ q1() ~ q18()๊ณผ spring(), summer(), autumn(), winter()๋ฅผ ์์ฑํด ์ค๋๋ค.
#์๊ฐ์ง๋จ ๊ฒฐ๊ณผ๋ฅผ spring(), summer(), autumn(), ... | [
"s2018w37@e-mirim.hs.kr"
] | s2018w37@e-mirim.hs.kr |
c29676fcff5750750043610dc921ab59a506ae68 | 611fd9d84bb433376b3bea46221e4689ce8c7e55 | /mymodule.py | a97737a6b0d1fb203ddc9a339f6c3b439119bdb4 | [] | no_license | Manny334/pythoncode | 3d4f813407a80d7b863b6635d8481af63b976391 | 529417baf8dc62f152a8f0a779a1d23dbc67ecaf | refs/heads/master | 2020-11-25T14:08:26.934631 | 2020-01-13T20:30:40 | 2020-01-13T20:30:40 | 228,707,001 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 119 | py | def greeting(name):
print("Hello: " +name)
person1 = {
"name": "John",
"age": 36,
"country": "Norway"
} | [
"manishhedaoo2468@gmail.com"
] | manishhedaoo2468@gmail.com |
b1cca3dc44abf74cfbd7ce0fce08fcbe43ae9e3f | 5b08be996658aaae39306876d45c3a32ad8a0b43 | /roles/mailman/files/import-mm2.py | fa88df4a5fa764cf254442763b9295b23469a62f | [] | no_license | henrysher/fedora-infra-ansible | 84be23908bbbfee93da67b3bdaeb34f4efc193cb | 30418756785eb4079a7adb4a6d4f11ec59dd8e08 | refs/heads/master | 2021-01-23T17:07:45.846157 | 2019-12-13T14:38:07 | 2019-12-13T14:39:59 | 15,855,480 | 22 | 10 | null | 2017-07-26T10:47:23 | 2014-01-13T02:05:44 | JavaScript | UTF-8 | Python | false | false | 6,135 | py | #!/usr/bin/env python3
from __future__ import unicode_literals, absolute_import, print_function
import os
import sys
import subprocess
import pickle
from optparse import OptionParser
from locale import getpreferredencoding
import yaml
MAILMAN_BIN = subprocess.check_output(["which", "mailman3"]).decode("ascii").strip... | [
"aurelien@bompard.org"
] | aurelien@bompard.org |
0515a32c6da2458b8f1d44946fe6a39511f3d0a0 | 7e815f4c1045f4afa00df6ad9e988ab59bb2d6e2 | /parameter.py | 2712ea82aef4e0dede0b1139e578feae2cb5755e | [] | no_license | LeNPaul/applepy-old | 6fc36539f253b99cf4df04ecb81744c167f825c7 | c237ee7dea076d0f464a8d55cdcbff6585bdc328 | refs/heads/master | 2021-09-13T16:16:38.124477 | 2018-05-02T03:45:31 | 2018-05-02T03:45:31 | 58,508,907 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 87 | py | #Time step
dt = 24*3600
particleNumber = 100
displayWidth = 1200
displayHeight = 700
| [
"l.nguyen.paul@gmail.com"
] | l.nguyen.paul@gmail.com |
8db96586da377722366aa91c819b1a732d0affda | a020564e5f157306f5e4eafc05d3b865d315e49d | /home_ip_notifier/send_slack_with_home_ip.py | df692f71203f204b2c9026ed149ba677114afb9b | [] | no_license | JdeGuise/scripts | af2ad6c05443a78a9c319a5f9e8c654cde083182 | b54a41f77b889e42f788823e90d25293c336491c | refs/heads/master | 2023-05-12T13:07:45.901333 | 2023-05-07T19:44:02 | 2023-05-07T19:44:02 | 65,218,417 | 0 | 0 | null | 2023-05-07T19:44:03 | 2016-08-08T16:01:30 | Python | UTF-8 | Python | false | false | 362 | py | import os
from slack_sdk import WebClient
from dotenv import load_dotenv
load_dotenv()
slack_token = os.getenv("SLACK_BOT_TOKEN")
client = WebClient(token=slack_token)
externalIP = os.popen('curl -s ifconfig.me').readline()
response = client.chat_postMessage(
channel=os.getenv("CHANNEL_ID"),
text="Your hom... | [
"john.r.deguise@gmail.com"
] | john.r.deguise@gmail.com |
d95db20ae452a6a2098ef9761077ff3056377bfe | 5f15fa790015ac39aa22a0a8e7caaa2bcf01b4f2 | /blogu/migrations/0056_auto_20151030_1219.py | 952e87a7a0c5d261362dd25c2afdc52443cf8eff | [] | no_license | nitingera1996/pd | 26c28521289a52a44314298d3a5894fe81bd42b5 | f73388428a659f0539424e6e84bf01b9679fa832 | refs/heads/master | 2023-01-12T01:51:29.878023 | 2016-01-07T04:51:44 | 2016-01-07T04:51:44 | 40,669,847 | 2 | 4 | null | 2022-12-26T19:56:52 | 2015-08-13T16:33:41 | Python | UTF-8 | Python | false | false | 1,567 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import datetime
import ckeditor.fields
import ckeditor_uploader.fields
class Migration(migrations.Migration):
dependencies = [
('blogu', '0055_merge'),
]
operations = [
migrations.Ad... | [
"nitingera1996@yahoo.in"
] | nitingera1996@yahoo.in |
84891453d8ad3eb075713032b61ee80143aa0c5f | ecc438fbac5a6d35b23ada3768b9d8c94c0869df | /data/process_data.py | 7bd901ed98dc6b4a26e0c658e4a4889a7581efc3 | [] | no_license | michellehsu2018/udacity-disaster-response-project | 4dbb000d769f0b1239100a16f2198495ae692585 | 39ca63555312398a9ff1db7f92da9af324f677e6 | refs/heads/master | 2022-11-20T07:16:16.848758 | 2020-07-16T15:34:35 | 2020-07-16T15:34:35 | 280,189,621 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,289 | py | import sys
import pandas as pd
from sqlalchemy import create_engine
def load_data(messages_filepath, categories_filepath):
messages = pd.read_csv(messages_filepath)
categories = pd.read_csv(categories_filepath)
# Merge messages and categories on `id`
df = pd.merge(messages, categories, on='id')
ret... | [
"Michelle.Hsu@ibm.com"
] | Michelle.Hsu@ibm.com |
760e6204b7ba9ca5639eb67bc4f8cc5c7db2f082 | 9e419006675f6991480f350017798a4b3e0ccbd8 | /borrow/borrow/wsgi.py | a341999c24e547fbe6d5387a7a8e21b63835555e | [
"MIT"
] | permissive | chairco/django-tutorial-borrow | 263ccb7305f29d4bcc3139bd65605df70ec30498 | 28f747e115feabdcbd96d15fbc73f1c5d22236cd | refs/heads/master | 2021-01-17T19:51:56.967984 | 2016-07-12T04:41:17 | 2016-07-12T04:41:17 | 63,126,576 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 461 | py | """
WSGI config for borrow 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/1.8/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
from dj_static import Cling
os.enviro... | [
"chairco@gmail.com"
] | chairco@gmail.com |
bbf8704f9a342da4a6242959c75449f67e72b2f1 | 9450d31f41d59f238d4db6b10ac4819cfce8a32b | /run_game.py | 4a5cabddccc61a400caf445609b916ed03c2f6ab | [
"BSD-3-Clause"
] | permissive | Python-Repository-Hub/pyweek24 | 4ed4959cecd0ac55e2fa68756cbdf15aa1f246af | 284dc9c1a152fca8e39cf9d637f089ab772b3afd | refs/heads/master | 2022-06-15T02:51:14.652778 | 2018-02-13T19:23:21 | 2018-02-13T19:23:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 694 | py | import sys
if sys.version_info < (3, 6):
sys.exit(
"This game requires Python 3.6 or later."
)
import os
from pathlib import Path
dist = Path(__file__).parent.resolve()
src = str(dist / 'src')
sys.path.insert(0, src)
os.chdir(src)
try:
import main
except ImportError:
import traceback
... | [
"mauve@mauveweb.co.uk"
] | mauve@mauveweb.co.uk |
680010f0138b9c0a13ae6f667212970f8534d222 | 74a70ca051ee62409371a72fc49b06b9a6d4f70e | /2.python่ฟ้ถ/3.้ขๅๅฏน่ฑกๅบ็กๅๅฐ่ฃ
/oop_base_practice.py | 3c63a0c9909a1587cdf932f24d1b534507acda4f | [] | no_license | xmlhh/pystudy | d74653766e873f8122905186292c677d546b72b7 | 9b970a4af7e62e3ed66c638e838718e1aa924bcb | refs/heads/master | 2022-11-28T04:25:39.490200 | 2020-08-05T03:15:22 | 2020-08-05T03:15:22 | 276,018,938 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,858 | py | #! /usr/bin/python3
#-*- coding:utf-8 -*-
"""
#ๆไปถๅ็งฐ๏ผoop_base_practice.py
#็ผๅไบบๅ๏ผLHH
#้กน ็ฎ ็ป๏ผ็ณป็ป็ป
#ๅๅปบๆฅๆ๏ผ2020/07/06
#ๅ่ฝๆ่ฟฐ๏ผ้ขๅๅฏน่ฑกๅบ็ก-ๅฐ่ฃ
#ไฟฎๆนๆ่ฟฐ๏ผ
#ๅคๆณจ๏ผ
"""
repeat_num = 45
print("****************1.ๅฐ่ฃ
*****************")
"""
ๅฐ่ฃ
ๆฏ้ขๅๅฏน่ฑก็ไธๅคง็น็น
ๅฐๅฑๆงๅๆนๆณๅฐ่ฃ
ๅฐ็ฑปไธญ
ๅจ็ฑปๅคๅๅปบ็ฑป็ๅฏน่ฑก๏ผไฝฟ็จๅฏน่ฑก่ฐ็จ็ฑป็ๆนๆณ
ๆ็คบ๏ผๅจๅฏน่ฑก็ๆนๆณๅ
้จ๏ผๅฏไปฅ็ดๆฅ่ฎฟ้ฎๅฏน่ฑก็ๅฑๆง
"""
# ๆกไพ
# ๅฃซๅ
ตๆไธๆๆช, ๅฃซๅ
ตๅฏไปฅๅผๆช๏ผๆช่ฝๅคๅๅฐๅญๅผน๏ผๆชๅฏไปฅ... | [
"liaohaohui521@163.com"
] | liaohaohui521@163.com |
f0067e64ef82e747c2f85e19c5be4b4e285c37f9 | 9663d2cc71cdea2e61dc7c83713f4fb55e747c5f | /simplesk/SimpleModel.py | 13f4993061c07f41c5cdd6beb38d4b7283b34c5c | [] | no_license | intro-to-ml-with-kubeflow/ch2-simple-example | 781c003931b873e64bf685d82a2d7614d43c0e0b | c886063e9d71b410a22c2e4d2abfdfe6185ec822 | refs/heads/master | 2020-04-21T17:35:43.382756 | 2019-02-19T23:17:11 | 2019-02-19T23:17:11 | 169,740,789 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,188 | py |
import boto3
import logging
import os
import pickle
BUCKET_NAME=os.getenv("BUCKET_NAME")
MODEL_KEY_NAME=os.getenv("MODEL_KEY_NAME")
ACCESS_KEY_ID=os.getenv("S3_ACCESS_KEY_ID")
SECRET_KEY=os.getenv("S3_SECRET_KEY")
REGION_NAME=os.getenv("REGION_NAME")
ENDPOINT_URL=os.getenv("ENDPOINT_URL")
if ACCESS_KEY_ID=="":
l... | [
"trevor.d.grant@gmail.com"
] | trevor.d.grant@gmail.com |
b56ff16f28ca0d093bd596a95d24e8afefe2912f | 7148c0e26bccbc05dcc70411bfff4503005c9252 | /Senses/mouth.py | f63a292cdbd5b72a6a053f8fd9d2234b905d209f | [] | no_license | tdba/Customizable-vocal-personal-assistant-thesis | 907865542f53fa8a4925837ed30123875a33777c | fce431cc914ae4ccb110ea727b02f046f26c1129 | refs/heads/master | 2021-01-22T21:00:37.669372 | 2017-08-22T17:35:50 | 2017-08-22T17:35:50 | 100,687,012 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 267 | py | # -*- coding: utf-8 -*-
# Personal Assistant Reliable Intelligent System
# By Tanguy De Bels
import pyttsx
import random
engine = pyttsx.init()
engine.setProperty('rate', 130)
def speak(rand):
engine.say(random.choice(rand))
engine.runAndWait() | [
"noreply@github.com"
] | noreply@github.com |
7115b8e4f1fb1afdec7705c99e4d82d53c31ac13 | 987cd163370e452760cde27331968d113f35d176 | /src/comment/__init__.py | 29c32805cd7e407719f4f71d98e4ccafacfe8c7d | [] | no_license | desmetr/DistributedComputing20182019 | 080bd504feab48da8de07d2803bb6980f1aafb23 | 98c093b4a20c1b551c521a371cae645b5d8903b8 | refs/heads/master | 2020-04-26T23:50:13.978947 | 2019-05-24T15:30:57 | 2019-05-24T15:30:57 | 173,915,443 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 304 | py | from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from comment.config import Config
commentApp = Flask(__name__)
commentApp.config.from_object(Config)
commentDB = SQLAlchemy(commentApp)
migrate = Migrate(commentApp, commentDB)
from comment import routes | [
"rafael.de.smet@gmail.com"
] | rafael.de.smet@gmail.com |
6232354bbf25682dbe5983fbed441a1f941293b9 | fcc00192140ea91ef8ad9d21346db80e2bdabcd3 | /data/Paint.py | 4cfb07126520ee213205c30d653ae74141652498 | [] | no_license | AlexxanderShnaider/PaintRedactor | f1f1b1207b3f6a001f17a7f505143d36a8c70b17 | acda16dbc9651c2aed73e08341e04003a6b56f66 | refs/heads/main | 2023-02-09T22:12:17.886329 | 2021-01-03T13:11:25 | 2021-01-03T13:11:25 | 326,409,688 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,426 | py | from tkinter.colorchooser import *
from tkinter import *
from data import Config as c
from data.Setup import load_image
from tkinter import filedialog
from tkinter import messagebox
root = Tk()
menu = menu = Menu(root)
root.config(menu=menu)
def save_file():
file_name = filedialog.asksaveasfilename(initialdir='... | [
"dshnaider@outlook.com"
] | dshnaider@outlook.com |
13ceb718283ea4c5b6be4ca50b66fb11944687e1 | 6d10532681a6bc1285162ba4871b48f56d3209dc | /simulator.py | f5cd692999d98d2c6d3694282619bd99f9cfea9c | [] | no_license | dropout009/multicollinearity | aae57361ba3d3ac8bc16ccd3034f030984fda7d9 | 7c01f6cf390fd573d853274cc3cc8477e3f7dd67 | refs/heads/main | 2023-06-25T16:40:54.916534 | 2021-07-22T13:01:03 | 2021-07-22T13:01:03 | 384,602,908 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,438 | py | from __future__ import annotations
from typing import Any, Callable
from dataclasses import dataclass, asdict
from copy import deepcopy
import warnings
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import japanize_matplotlib
@dataclass
class Simulator:
n_simulations... | [
"mitsunosuke0619@gmail.com"
] | mitsunosuke0619@gmail.com |
59b7bd64fe462a5f039256093524539b1640d20a | 0f58e6c67469bc8c6bb27efdd46bd4f3c26be7ba | /schainroot/source/schainpy/model/io/jroIO_hf_antesherencia.py | e493d0941a8a197aca9fdc7e9087f416a7b82436 | [] | no_license | alejandro-castro/hfschain | b24170f63e54c98e553e3e649d24726d83a7ea39 | a68e9ff82300079e2f4838767a629ed73e339df3 | refs/heads/master | 2020-05-28T02:23:53.343802 | 2019-07-16T14:14:59 | 2019-07-16T14:14:59 | 188,852,751 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 41,253 | py | '''
Created on Jul 3, 2014
@author: roj-com0419
'''
import os,sys
import time,datetime
import h5py
import numpy
import fnmatch
import glob
import traceback
from model.data.jroheaderIO import RadarControllerHeader, SystemHeader
from model.data.jrodata import Voltage
from model.proc.jroproc_base import ProcessingUnit,... | [
"jmgomezsocola@gmail.com"
] | jmgomezsocola@gmail.com |
bba69b0ee5109c3789eb94c4c13b6199daacbf77 | a138092a4fd0bd46e21fade96fea5dfba7742e20 | /scratches/dicts.py | 028103db5eaeb53cb84611165d1ed1e15a955fb8 | [] | no_license | DuaneNielsen/CartPoleQ | 979c00ca15bbac0719ba9197bedffe829f322561 | 202b82cf2b04aaa63965277c326413c62f188ed2 | refs/heads/master | 2020-03-25T07:27:22.651681 | 2018-09-07T01:40:35 | 2018-09-07T01:40:35 | 143,562,021 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 161 | py |
dict = {}
def increment():
if 'key' not in dict:
dict['key'] = 1
else:
dict['key'] += 1
print(dict['key'])
increment()
increment() | [
"duane.nielsen.rocks@gmail.com"
] | duane.nielsen.rocks@gmail.com |
2c629bb634a357b4451048b331393843e0a23520 | fd21f7b8c90efea4cb1fbbc520635b6406822808 | /main.py | 5a52c70761898b65bdfa3536dc0103815b405f27 | [] | no_license | CoderSales/learning-python | e0f5e584a851a02c6ca059ef085f79865243fb69 | b58f10c8699ea34364cac13e841ee675513b57a2 | refs/heads/main | 2023-07-09T02:21:20.654989 | 2021-08-15T01:14:48 | 2021-08-15T01:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 209 | py | turn integers from 1 through 5
2 for i in range(1,5,1):
3 print(i)
4
5 # The start value is the integer you want to start with
6 # The stop value is 0 indexed so to return 5 the stop value should be 6 | [
"stephenobrien1@gmail.com"
] | stephenobrien1@gmail.com |
009b089324b4310e1f529666f1847e7868be460a | 3a792cbffabd88a3ed534cfc53df8d8379b1f803 | /jogos/venv/Scripts/pip3-script.py | dc9a89dc83ccd8427bb4b74454aba72f20297be7 | [] | no_license | albert-santos/meu-estudos-de-python | c0a7f538c74072385ae4c2b20308fa04c2555321 | c99e63f465152fd2fd4da7f96a1220077eda0c72 | refs/heads/master | 2022-11-23T04:26:39.690568 | 2020-07-31T15:45:18 | 2020-07-31T15:45:18 | 282,684,836 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 421 | py | #!"C:\Users\Albert Santos\PycharmProjects\jogos\venv\Scripts\python.exe"
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3'
__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)?$', '', s... | [
"alberteinsteincds@gmail.com"
] | alberteinsteincds@gmail.com |
a6d2ae05163c56345131d7f158d48a346d9a2075 | 4916cd2f27f6d2e71dd0921da2d2126af64bb290 | /test/test_resonance_cnt.py | ed3833eafe937200dbaf65d3eeeddb502367b29c | [
"Unlicense"
] | permissive | drunkpig/fearquantlib | d608d865ed40d4e6bde711a7965feec31ad0f0a2 | 5ed89176aec497bfa38b91fc4e7a316793ccb371 | refs/heads/master | 2022-07-08T10:52:03.891687 | 2020-01-28T15:02:34 | 2020-01-28T15:02:34 | 239,420,698 | 1 | 0 | Unlicense | 2022-06-22T01:07:35 | 2020-02-10T03:39:06 | Jupyter Notebook | UTF-8 | Python | false | false | 660 | py | import unittest
from fearquantlib.wavelib import *
from fearquantlib.wavelib import __do_compute_df_bar as do_compute_df_bar
from fearquantlib.config import QuantConfig as config
class TestResonance(unittest.TestCase):
def test_fn(self):
code = "SH.600478"
df30 = get_df_of_code(code, "2019-07-04"... | [
"xuchaoo@gmail.com"
] | xuchaoo@gmail.com |
4ff89d0aec60651bf2ed85d48c0862f3c24b27ea | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/7/r86.py | 8fe6454077c475b77f020a7b0ffd6d8ea3b6ce9b | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
82ebfc0fd863711897755da0b4076b3343b48e80 | fa6373871be7cf1562a3faa94dccce6400ca3d06 | /game_states.py | 1edb1531667b8ed1ef9cfc85472d4b454e7f2c7a | [] | no_license | oreosoul/pythonProgram | c4c2ff3f99a4c16182888d5e01732f74db61be27 | eb8491563f014f703de7d9cf69a936b9bb5356e5 | refs/heads/master | 2021-01-19T17:06:07.529176 | 2017-09-20T09:03:06 | 2017-09-20T09:03:06 | 101,048,136 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 563 | py | """GAME STATES"""
class GameStates():
"""่ท่ธชๆธธๆ็ป่ฎกไฟกๆฏ"""
def __init__(self, ai_settings):
"""ๅๅงๅ"""
self.ai_settings = ai_settings
self.reset_stats()
# ๆธธๆๅๅฏๅจๅบไบ้ๆดปๅจ็ถๆ
self.game_active = False
#ๅจไปปไฝๆ
ๅตไธ้ฝไธๅบ่ฏฅ้็ฝฎๆ้ซๅ
self.high_score = 0
def reset_stats(self):
... | [
"cheuk.li@bamboonetworks.com"
] | cheuk.li@bamboonetworks.com |
f67c1c69ffd61ec3e9d360a72866a37db4912717 | 2868dad4f24fd3edf69a21622db119fae9603a25 | /venv/Scripts/jp.py | 30025ee2136400ef0c9a8ca378769af64d85ffad | [] | no_license | nikhilmukati/Marvel | 43ae1010a8b05ef26b45896be3e4dfe0b26ace7d | d3f95cf169746420b18305acd1afcab842935c1b | refs/heads/master | 2022-07-31T02:12:16.145676 | 2020-05-21T06:24:07 | 2020-05-21T06:24:07 | 265,261,375 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,740 | py | #!C:\Users\nikhi\PycharmProjects\Marvel\venv\Scripts\python.exe
import sys
import json
import argparse
from pprint import pformat
import jmespath
from jmespath import exceptions
def main():
parser = argparse.ArgumentParser()
parser.add_argument('expression')
parser.add_argument('-f', '--filename',
... | [
"nikhilmukati786@gmail.com"
] | nikhilmukati786@gmail.com |
3096dfd9e0f0928b91c7008b09126e4b926c44a2 | 160228ebb03851c9d26618761d29e094f21aad6b | /{{cookiecutter.name}}/{{cookiecutter.name}}/processing/__init__.py | f7e6f7eac86c69553500f01b7f70c8305102ecf5 | [] | no_license | GandalFran/kafka-cookie | 9fd46f36e9aeb553b1f9052a73663debb4054896 | 6000aadf2ef9fa0e86e4d8ca8e086378cc8b74e2 | refs/heads/main | 2023-03-23T08:43:05.148144 | 2021-03-06T08:43:35 | 2021-03-06T08:43:35 | 343,458,838 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 131 | py | # Copyright {% now 'local', '%Y' %} {{ cookiecutter.author }}
# See LICENSE for details.
from .data_processor import DataProcessor | [
"franpintosantos@usal.es"
] | franpintosantos@usal.es |
3c96d3d35f2706707934e50e6506d40a94ca2204 | b4113d0dd4c5e315157fa3642adcf65dd1e4f008 | /FLUKA_GUI/__init__.py | 3477c9caab56283c08ba3f61b8380759fa68477d | [] | no_license | PatrykPasterny/PITE_Project | c2a279f3d0371993f5eff4fa30ea05c7d73a369b | 37eee44a52f657666b63a11c93cf452d046a4b1c | refs/heads/master | 2020-06-30T08:13:34.785465 | 2017-12-04T10:31:03 | 2017-12-04T10:31:03 | 74,382,994 | 0 | 5 | null | 2016-12-29T22:36:46 | 2016-11-21T16:29:06 | Python | UTF-8 | Python | false | false | 28 | py | __all__ = ["sf2rconverter"]
| [
"patryk.pasterny@gmail.com"
] | patryk.pasterny@gmail.com |
c2397ffc084b0e11f98d99e0cc1d0f65d8625303 | 356fb16011048aa62fcdbed574f310ac7ae37fa3 | /discograph/library/RelationGrapher.py | 2e337d487aaf341d4fef32f183834c847cf855d8 | [
"MIT"
] | permissive | inostia/discograph | 622470dbc4739ada9ea430a73a473bbe22f5db0a | 21f3d842582ff488069233258161202fa3c9cf69 | refs/heads/master | 2021-01-17T23:17:29.176444 | 2015-10-02T20:16:10 | 2015-10-02T20:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,294 | py | # -*- encoding: utf-8 -*-
import collections
import re
import six
from discograph.library.mongo.Artist import Artist
from discograph.library.mongo.CreditRole import CreditRole
from discograph.library.mongo.Label import Label
from discograph.library.sqlite.SqliteArtist import SqliteArtist
from discograph.library.sqlite.... | [
"josiah.oberholtzer@gmail.com"
] | josiah.oberholtzer@gmail.com |
01bdf6a044b6e69d045c5eae8fda5610a375583e | 73b93723dcd2272b658b733b4c9ef97db89a3ea3 | /FlowControl/ifprogramflow.py | 12201a41ff21cba161ade8e20d1e2d639e7c85fa | [] | no_license | bberton-ciandt/python-course | 313218226dfaeb98f090c73fa77646aa069af32a | 732075d9cf58ad6bba370b6e341273214d5591ca | refs/heads/master | 2021-05-05T22:39:24.455727 | 2018-01-27T19:06:59 | 2018-01-27T19:06:59 | 116,184,383 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 270 | py |
name = input("Please enter your name: ")
age = int(input("How old are you, {0}? ".format(name)))
print(age)
if age >= 18:
print("You are old enough to vote")
print("Please put an X in the box")
else:
print("Please come back in {0} years".format(18 - age))
| [
"bberton@ciandt.com"
] | bberton@ciandt.com |
807b39265e60eab1b09e04205a6d71fbadd998ac | ed9b2746ac735068ad8d0f3fd7eb06411ded946b | /django_blog_test/Blog/urls.py | 3371e8445efd81ef1e2f62ddf064d6e48e576d5c | [] | no_license | sporesome/Django_blog_test | 7c9ce4e1ea338c16b0ae50be432fcec604b0a038 | 1e7444d3a11e228c7922fdfd21cdbeaa928d3955 | refs/heads/master | 2023-06-03T10:15:08.007408 | 2021-06-25T11:53:57 | 2021-06-25T11:53:57 | 380,245,545 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 796 | py | """Blog URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/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 vi... | [
"sporesome@gmail.com"
] | sporesome@gmail.com |
746ccc5daaa309553e8fcf363b254406ef379f84 | 75bdfdd400637f920987b52d03b9d3bac4628178 | /my_proj/leaderboard/junk.py | 69b00e75f2f4a7ac0cd62b151ab894c44bf4c3a9 | [] | no_license | dhanrajnambiar/leaderboard | 88cab01d9d8837a6f00483c4ce8a5b4ecbce2b86 | e72896471cf6ca96b9a2c8e924478421e80ed585 | refs/heads/master | 2021-09-01T13:48:32.594984 | 2017-12-27T08:35:01 | 2017-12-27T08:35:01 | 114,249,421 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,717 | py | # def add(request):
# form_var = participantForm(request.POST or None)#request.POST contains data enterd pertaining to the fields full_name and score
# list_participants = participant.objects.all()#query set containing all objects in db
#
# if form_var.is_valid():#to add or delete participant
# inst... | [
"dhanrajp3531@gmail.com"
] | dhanrajp3531@gmail.com |
b82008b5bc605d2c06a609c85454c764cd3253d4 | 1d0b254416ff6af8bcd155333ac93984aa830e7f | /Python/day01.py | 5f501b8d679f0650c28844404d702f800dd8a367 | [] | no_license | seolacarrano/coding-practice | 87806cad658c7907cdfdcfaf644f5bbc1e732847 | 13c278e7aaffd80685dd2acb1a784aa543266bd7 | refs/heads/master | 2023-02-15T14:54:59.298462 | 2021-01-14T21:41:27 | 2021-01-14T21:41:27 | 302,193,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,589 | py | # 1. To keep track of the kinds of pizzas you sell, create a list called toppings that holds the following:
# pepperoni
# pineapple
# cheese
# sausage
# olives
# anchovies
# mushrooms
toppings=['pepperoni','pineapple','cheese','sausage','olives','anchovies','mushrooms']
# 2. To keep track of how much each kind of pi... | [
"seola6@gmail.com"
] | seola6@gmail.com |
ae781444863050fbd69cad6334d6780852a8d75e | c6bfa0fd026dc05f5e607ba278f278476b13f3d6 | /caesarcipher.py | e409e20a7afa5d77b6faad5f47ba44e642486191 | [
"MIT"
] | permissive | CarloGauss33/Caesar-and-Vigenere-encrypt-and-decrypt-methods | 36f41a26763899112da02150253505790b80ba90 | c0ac85b6ea028a2c9832203fa4bb01299cd9ed95 | refs/heads/master | 2020-06-12T05:22:02.099456 | 2019-08-10T01:12:19 | 2019-08-10T01:12:19 | 194,206,353 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,561 | py | ### Made by Carlos Paredes for the course IMT1001 HOMEWORK PUC de Chile
### Licenced by MIT LICENSE 2019
import sys
import string
text_to_cipher = open('non_encriptedfile_dir.txt','r') ##First we should open the text to encrypt
global Character_Dict
Character_Dict = string.printable.replace('\t\n\r\x0b\x0c... | [
"noreply@github.com"
] | noreply@github.com |
59ab018dfdaf3524a80ccee768434940f7b37cc3 | 3513f63b68024c4e88e6dd51ec8594a8e1f2b50a | /myProgram.py | b0380074eab10279bff889fcddd8813f9b25aba8 | [] | no_license | jamalrizki/cs-1101 | ab3577c9bdd10910565d0cadd3e15b489e7c697c | c98bedf03c9911d4032b8b61c0cf9da8fbdee247 | refs/heads/main | 2023-07-11T04:20:35.457118 | 2021-08-08T01:15:46 | 2021-08-08T01:15:46 | 384,815,632 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 75 | py | >>> print 'Hello, World!'
>>> 1/2
>>> type(1/2)
>>> print(01)
>>> 1/(2/3)
| [
"jamalbrizki@gmail.com"
] | jamalbrizki@gmail.com |
7b737f7f89261c0b3c99257d170c1e4c81dde661 | 8f9673d6897fdda2d86481f5e37d7e7c481f5d7e | /working4arbitrage/trunk/src/fx_openexchangerates_api.py | e2894b8cf2cd69431d1fb18e2cded53efe54c73b | [] | no_license | Amrt1n3zm/working4arbitrage | 7f161e62f8a7e4efda676b029c6bfe7ac1ab7db5 | 4045426ce0087f65aa8c492c4e55e97fe741a9e0 | refs/heads/master | 2022-05-01T07:22:21.546537 | 2022-03-29T01:18:56 | 2022-03-29T01:18:56 | 135,757,460 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,147 | py | import os
import json
import datetime
import urllib
import urllib2
import urlparse
#import pandas as pd
"""
https://openexchangerates.org/quick-start
http://openexchangerates.org/api/latest.json?app_id=d9f19436487f4b73abed6fb0079f97d0
{
"disclaimer": "Exchange rates are provided for informational purposes only,... | [
"noreply@github.com"
] | noreply@github.com |
d169e9849ae59c425ef82dabfcdb3405c0631dab | 9d53640416c44168f0f30517b96821f20eea6d43 | /service/report_service.py | 10c438858be6eec09db44c4fd95fc291bab9eda1 | [] | no_license | E-Shemachoch/e-shemachoch_backend_application | e08c796f28385332ca3ef6e43a782beee904c091 | 39e35483371eede1687f6f54374ac93564fc221a | refs/heads/main | 2023-08-21T23:23:48.924981 | 2021-09-27T14:26:34 | 2021-09-27T14:26:34 | 384,181,904 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 175 | py | class ReportService:
def __init__(self, repo) -> None:
self.repo = repo
def get_reports(self):
report = self.repo.get_reports()
return report
| [
"dagmawiyohannes02@gmail.com"
] | dagmawiyohannes02@gmail.com |
044e3599fa084cf436a5af3b58daa4d5d4aafefc | 55c250525bd7198ac905b1f2f86d16a44f73e03a | /Python/Flask/FlaskIntroduction/env/lib/python3.6/site-packages/jinja2/idtracking.py | e507483177b9aae92710ac72877a042a2f540cb0 | [] | no_license | NateWeiler/Resources | 213d18ba86f7cc9d845741b8571b9e2c2c6be916 | bd4a8a82a3e83a381c97d19e5df42cbababfc66c | refs/heads/master | 2023-09-03T17:50:31.937137 | 2023-08-28T23:50:57 | 2023-08-28T23:50:57 | 267,368,545 | 2 | 1 | null | 2022-09-08T15:20:18 | 2020-05-27T16:18:17 | null | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:d866c34b322f180ac40462e4a2f2e4a847e6631996b047fc737419c0ce2e36cc
size 9197
| [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
1ed343ca0e6cbe3de6a727240f40e690f376f493 | cf89f6250926d993df642d1204e82f73529500e9 | /app/backend/views.py | 2a6d11060a3e88b1cfa6089bf7e89809881ae2e8 | [] | no_license | gurnitha/django-login-logout | ce05911608122fa7dc560c5c230f2ed7a8ba95e0 | 3be89a432e2e9f9299ba670fce319f96e0af0cfa | refs/heads/main | 2023-04-15T11:34:28.639319 | 2021-05-02T04:33:00 | 2021-05-02T04:33:00 | 363,554,559 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,552 | py | # app/backend/views.py
# from django.shortcuts import render
# from django.contrib.auth import authenticate, login, logout
# from django.contrib import messages
# from django.http import HttpResponseRedirect
# from django.urls import reverse
# # Create your views here.
# def homePageAdmin(request):
# return render(r... | [
"ingafter60@outlook.com"
] | ingafter60@outlook.com |
6a7be6033c3f71848f8e872a10e87e94562124e5 | 0c1ea940217cf82fc657e64f7b83c553241e2224 | /Emotion/complete.py | f85359867d27925fd9904ea1e447a8824606c09b | [] | no_license | migaperezber1/reconocimiento | e8229b63619c19613e7b67378f7765a27361d80c | cf7256bd6f45a96f6c71603f6bad76ae6d0df7b5 | refs/heads/master | 2020-03-26T06:22:22.814955 | 2018-09-25T17:09:33 | 2018-09-25T17:09:33 | 144,601,769 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,976 | py | import re
import tflearn
from tflearn.layers.core import input_data, dropout, fully_connected, flatten
from tflearn.layers.conv import conv_2d, max_pool_2d, avg_pool_2d
from tflearn.layers.merge_ops import merge
from tflearn.layers.normalization import local_response_normalization
from tflearn.layers.estimator im... | [
"noreply@github.com"
] | noreply@github.com |
962a6614b78b5aab17f763ddfa2cc1bf28d20820 | 453de3a9f957befde8f1d9e27c861945715d1d24 | /core/tables/row.py | bd466df5186d88600578bb7b3aaef575ba758499 | [] | no_license | koplyarov/jmr | 1ecfbee47cca29e3fe6395ed1ffe64d2392ad72d | 182a5707a3bfa957562906f04bbedc86c9412446 | refs/heads/master | 2021-01-24T09:25:42.261204 | 2018-10-03T14:58:11 | 2018-10-03T14:58:11 | 123,013,194 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 662 | py | import json
from ..joint_adapters import *
class Row(jmr_io_IRow):
def __init__(self):
super(Row, self).__init__()
self._row_dict = {}
def GetI32Field(self, column):
return self._row_dict[column]
def GetStringField(self, column):
return self._row_dict[column]
def Se... | [
"koplyarov.da@gmail.com"
] | koplyarov.da@gmail.com |
4f7eba7ab34fe2ff501edbe7dcbd056878e229a3 | 479f5b6a396f9410f44f59649d63a68effa425ea | /aws_scripts/python/singletons/aws_s3_file_upload.py | 62953912d909e5c3bfca397fa107e2de5e4044d6 | [] | no_license | bluethundr/jf_cloud_scripts | d31641b5b7cb4310fdeb65e550e9599216894002 | c66997593081814fe7565cf0d923f35b5f7d6090 | refs/heads/master | 2022-12-15T19:35:54.329913 | 2022-10-12T03:45:11 | 2022-10-12T03:45:11 | 240,786,104 | 1 | 0 | null | 2023-09-05T14:14:16 | 2020-02-15T20:51:50 | Python | UTF-8 | Python | false | false | 3,956 | py | import os
import sys
import logging
import boto3
import threading
from botocore.exceptions import ClientError
from colorama import init, Fore
## Standard functions
def exit_program():
endbanner()
exit()
def welcomebanner():
# Print the welcome banner
print(Fore.CYAN)
print('*******************... | [
"Timothy.Dunphy@synchronoss.com"
] | Timothy.Dunphy@synchronoss.com |
c08abc0fc983b9711172d595ba064db5cdd50bf4 | c4655f0a4b57a6d5d5eabdf997f8c03ef73c28f8 | /item.py | 98ebbd871f838939cf2707c6d53adee12c60d4a8 | [] | no_license | Helene-33/pythonfiles | af5b936d735a57675e385ec5768f9ed2e1237968 | 7f93f9131babc61dc5b813215670b9407795cb74 | refs/heads/main | 2023-07-05T01:21:58.383408 | 2021-08-10T18:03:48 | 2021-08-10T18:03:48 | 392,791,751 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 401 | py | class item():
def __init__(self, name, price):
self.name=name
self.price=price
def getitemname(self):
return self.name
def setitemname(self, name):
self.name=name
def getitemprice(self):
return self.price
def setitemprice(self, price):
self.pri... | [
"heleneliobard@hotmail.com"
] | heleneliobard@hotmail.com |
2534a987438eac120a2caed9d49b55bdab235288 | ccaa68802f3ee1a875fb0b36700787af5f1cc606 | /fileio.py | 3a62b5ee90cd250f61920fcb7a2b02c9bc26bc62 | [] | no_license | ezpedersen/Usaco | 7f25abea85d270a5dd202c235df68de32fa53355 | accddaf69caffb6957f4fd66653e5d3b0854db07 | refs/heads/main | 2023-08-10T17:03:45.470148 | 2021-05-22T05:07:51 | 2021-05-22T05:07:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 77 | py | data = open('fileio.in').read()
f = open('fileio.out', "w")
f.write(data)
| [
"noreply@github.com"
] | noreply@github.com |
9ec61b671bf903ecb1d4bbbcb1b2b64493b20ec0 | 15512f486c9a6393df05db9bea3deb804f321a94 | /bin/delta_filter_wrapper.py | d33ae5114c11aa0210702710990af56269c9a598 | [
"MIT"
] | permissive | widdowquinn/find_differential_primers | 4864962869ccb57a4177cda508942d919decf1eb | 54e4fb3d63d2610559d93249a5e389dad1caed90 | refs/heads/diagnostic_primers | 2020-12-24T16:16:42.839559 | 2020-12-18T14:20:49 | 2020-12-18T14:20:49 | 3,305,382 | 57 | 22 | MIT | 2020-12-21T13:41:04 | 2012-01-30T14:14:48 | Python | UTF-8 | Python | false | false | 2,847 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# delta_filter_wrapper.py
#
# This script is a wrapper for the MUMmer3.23 delta-filter script.
# It is required in order to catch STDOUT ahead of the SGE job
# runner so that pyani can run on SGE/OGE scheduling systems.
#
# The wrapper does not modify the output of delta... | [
"noreply@github.com"
] | noreply@github.com |
ee32622758a3d1e38bdf665d2426e7b04d9517db | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /HyLkfdagDGc99ZhbF_2.py | 5cbf4778f6f92984c2090e629a1ebc045c4aaa40 | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 603 | py | """
Create a function that takes a number `n` (integer greater than zero) as an
argument, and returns `2` if `n` is odd and `8` if `n` is even.
You can only use the following arithmetic operators: addition of numbers `+`,
subtraction of numbers `-`, multiplication of number `*`, division of number
`/`, and exponent... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
0d2b7781d78e09fb307adba23b53e92b6e127e33 | e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488 | /microsoft_teams/icon_microsoft_teams/triggers/__init__.py | a7ec027c112c3744e743b15fed58e24d229634a5 | [
"MIT"
] | permissive | OSSSP/insightconnect-plugins | ab7c77f91c46bd66b10db9da1cd7571dfc048ab7 | 846758dab745170cf1a8c146211a8bea9592e8ff | refs/heads/master | 2023-04-06T23:57:28.449617 | 2020-03-18T01:24:28 | 2020-03-18T01:24:28 | 248,185,529 | 1 | 0 | MIT | 2023-04-04T00:12:18 | 2020-03-18T09:14:53 | null | UTF-8 | Python | false | false | 101 | py | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .new_message_received.trigger import NewMessageReceived
| [
"noreply@github.com"
] | noreply@github.com |
e8dc552f9ab495fb9103c78f7799fc60decda7c3 | 581e902f639a8ee07a83e06d375ff4dcc26f1024 | /itmessage/admin.py | e0b6e3abdc38ac48ccd1608560f2865e2794497a | [] | no_license | wutom/devopsv1 | df5430a6744f30a66782c77ddbe2ef2d8fe7aa4f | e839eb06e1c3f03c9ac3bcc962dcf172b46ac740 | refs/heads/master | 2020-05-17T18:19:37.686302 | 2019-04-28T09:09:17 | 2019-04-28T09:09:17 | 183,881,146 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,025 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from django.contrib import admin
from django.forms import CheckboxSelectMultiple
from .models import Dev_info, Dev_idc, Dev_seq, Dev_types, Dev_cabinets
#่ฎพๅค็ฎก็
class Devinfo(admin.ModelAdmin):
formfield_overrides = {
models... | [
"tao.wang@vcg.com"
] | tao.wang@vcg.com |
bb909c389f0e7924ce1ac2b3cf61d687fbb76520 | 2a472b0e46a1c079cb919ad0c2a15354b9915957 | /praktikum1 keg.1-3.py | 8ccf445d46da3398105262175bb10cf4d28c97d4 | [] | no_license | L200180168/Praktikum_Algopro | 8c7b1e6630c89aece4ebd72a3cf84a2069444fad | 4babc9295f9a12af23741e6ddc3ef39f5b5ac890 | refs/heads/master | 2020-04-01T20:59:35.826490 | 2018-12-23T17:41:28 | 2018-12-23T17:41:28 | 153,631,489 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,528 | py | Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
>>> Nama
'Helmi Asyam Nuruddin'
>>> Nama_panggilan
'Helmi'
>>> Alamat
'Jalan Kr... | [
"noreply@github.com"
] | noreply@github.com |
641d1c9fb4ce72e07ab9d93104d0a361c98c83e6 | d71978ac89d21de391174c4a6f96edc38142b51f | /src/front/form.py | 2ca88661ab5304c968d1f95b72f6182ceb74a0ee | [] | no_license | mzakany23/django-calendar-app | 4d5fd4f4f5e835f0b81904ea5040f43f2f7e4cb0 | 1cedb92214e9649bb1c9ebcd64e78a66b1d5232b | refs/heads/master | 2016-09-05T23:39:40.026293 | 2015-03-27T00:21:47 | 2015-03-27T00:21:47 | 32,084,980 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py | from django import forms
class LoginForm(forms.Form):
username = forms.CharField(widget=forms.TextInput(
attrs={
'placeholder' : 'Username',
'class' : 'form-control',
'id' : 'inputEmail',
}))
password = forms.CharField(widget=forms.PasswordInput(
attrs={
'placeholder' : 'Password',
'class' : 'for... | [
"mzakany@gmail.com"
] | mzakany@gmail.com |
7d6b3cf8e858fa9f46e819f6cebac919c499b302 | 850c93691e0bd43ffa19f8aefda1898096cbc15c | /empregadores/migrations/0002_auto__del_instituicao__add_ramoempregador__del_field_empregador_descri.py | 90ba11746d65403afade4e923e3f6c739a47e0ab | [] | no_license | dudanogueira/sgco | 606aadcd27b7e8c84786453c56f461072fa53568 | cfcb51cbc193972ea22656dd8fa70d539efee454 | refs/heads/master | 2021-01-15T18:50:55.085882 | 2014-03-07T14:27:59 | 2014-03-07T14:27:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,964 | 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):
# Deleting model 'Instituicao'
db.delete_table(u'empregadores_instituicao... | [
"dudanogueira@gmail.com"
] | dudanogueira@gmail.com |
07eed9d71c0c7057432ca7d6caae7e998af22562 | ae81b3d1811f17ed65aadb3a0c7a084ab52e86ce | /venv/bin/easy_install-3.6 | 7aabf63fa0997e4b31d0c95db41f633044e327e4 | [] | no_license | fuppappa/BrowserHistoryAnalyser | 58e08e616e104f46254f834e145f1f663ae2b4e1 | 6eb1ce731b78a215f67d59c9b7e819630c9daf77 | refs/heads/master | 2020-07-25T21:19:55.721724 | 2019-09-14T10:49:42 | 2019-09-14T10:49:42 | 208,426,549 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 461 | 6 | #!/home/fuppaubuntu/PycharmProjects/BrowserAnalyser/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6'
__requires__ = 'setuptools==40.8.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.... | [
"yfujieda@asl.cs.ritsumei.ac.jp"
] | yfujieda@asl.cs.ritsumei.ac.jp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.