Simple and convenient bot discord on Python

Parzibot Simple and convenient bot discord on Python. The source code of the bot is available to everyone. The bot used the English language. This is free open source software and if anyone wants to change things in advance. Commands Bot commands /8ball question – Ball of predictions /about – About bot /admin_help – Admin commands /clear Quantity – Clear chat /gg [game1 game2 … gameN] – Randomly chooses a game /help – Bot commands /ping – You ping /users […]

Read more

Variable Transformer Calculator with python

VASCO – VAriable tranSformer CalculatOr Software que calcula informações de transformadores feita para a matéria de “Conversão Eletromecânica de Energia I” do curso de “Engenharia Elétrica” da Universidade Federal de Santa Maria Campus Cachoeira do Sul (UFSM-CS). Autores: Arthur Cordeiro Andrade João Gabriel Silva de Avellar Dependências pip install pygame Dependências: pip install pyinstaller Comando Compilar pyinstaller –noconfirm –onefile –windowed –icon “Images/Cruz-De-Malta.ico” –add-data “Images;Images/” –add-data “Sounds;Sounds/” “./VASCO.py” GitHub https://github.com/ArthurCoAnd/VASCO    

Read more

Service for visualisation of high dimensional for hydrosphere

Service for visualization of high dimensional for hydrosphere DEPENDENCIES DEBUG_ENV = bool(os.getenv(“DEBUG_ENV”, False)) APP_PORT = int(os.getenv(“APP_PORT”, 5000)) GRPC_PORT = os.getenv(“GRPC_PORT”, 5001) GRPC_UI_ADDRESS = os.getenv(“GRPC_UI_ADDRESS”, “localhost:9090”) HS_CLUSTER_ADDRESS = os.getenv(“HTTP_UI_ADDRESS”, “http://localhost”) SECURE = os.getenv(“SECURE”, False) MONGO_URL = os.getenv(“MONGO_URL”, “mongodb”) MONGO_PORT = int(os.getenv(“MONGO_PORT”, 27017)) MONGO_AUTH_DB = os.getenv(“MONGO_AUTH_DB”, “admin”) MONGO_USER = os.getenv(“MONGO_USER”) MONGO_PASS = os.getenv(“MONGO_PASS”) AWS_STORAGE_ENDPOINT = os.getenv(‘AWS_STORAGE_ENDPOINT’, ”) AWS_REGION = os.getenv(‘AWS_REGION’, ”) HYDRO_VIS_BUCKET_NAME = os.getenv(‘AWS_BUCKET’, ‘hydro-vis’) Assumptions: Model must have in it’s contract ’embedding’ output If model returns class prediction and confidence these […]

Read more

NeuroMorphic Predictive Model with Spiking Neural Networks in Python

pynm NeuroMorphic Predictive Model with Spiking Neural Networks (SNN) in Python using Pytorch. pynm is an open source, low-code library in python to build neuromorphic predictive models (Classification & Regression problems) using [Spiking Neural Networks (SNNs)] (https://en.wikipedia.org/wiki/Spiking_neural_network) at ease. It allows you to go from preparing your data to deploying your spiking model within minutes. SNNs are neural networks that mimics the biological brain. In the case of SNNs, the neurons accumulate the input activation until a threshold is reached, […]

Read more

Library for managing and writing git hooks in Python

Autohooks Library for managing and writing git hooks in Python. Looking for automatic formatting or linting, e.g., with black and pylint, while creating a git commit using a pure Python implementation? Welcome to autohooks! Why? Several outstanding libraries for managing and executing git hooks exist already.To name a few: husky,lint-staged,precise-commits orpre-commit. However, they either need another interpreter besides python (like husky) or aretoo ambiguous (like pre-commit). pre-commit is written in python but has supporthooks written in all kind of languages. […]

Read more

Plotting and analysis tools for ARTIS simulations

Artistools is collection of plotting, analysis, and file format conversion tools for the ARTIS radiative transfer code. Installation First clone the repository, for example: git clone https://github.com/artis-mcrt/artistools.git Then from within the repository directory run: python3 -m pip install -e . Usage Type “artistools” at the command-line to get a full list of commands. The most frequently used commands are: plotartisestimators plotartislightcurve plotartisnltepops plotartisnonthermal plotartisradfield plotartisspectrum Use the -h option to get a list of command-line arguments for each command. Most […]

Read more

Modest utility collection for development with AIOHTTP framework

aiohttp-things Modest utility collection for development with AIOHTTP framework. Installation Installing aiohttp-things with pip: pip install aiohttp-things Simple example Example of AIOHTTP application import json import uuid import aiohttp_things as ahth from aiohttp import web def safe_json_value(value): try: json.dumps(value) return value except (TypeError, OverflowError): return str(value) class Base(web.View, ahth.JSONMixin, ahth.PrimaryKeyMixin): async def get(self): self.context[‘Type of primary key’] = safe_json_value(type(self.pk)) self.context[‘Value of primary key’] = safe_json_value(self.pk) return await self.finalize_response() class IntegerExample(Base): pk_adapter = int class UUIDExample(Base): pk_adapter = uuid.UUID UUID = […]

Read more

A Python package for plasma science that is under development

PlasmaPy PlasmaPy is an open source, community-developed Python 3.7+ package for plasma science. PlasmaPy intends to be for plasma science what Astropy is for astronomy — a collection of functionality commonly used and shared between plasma scientists and researchers globally, running within and leveraging the open source scientific Python ecosystem. The goals of this project are more thoroughly described in this recent video. Current functionality is described in PlasmaPy’s online documentation. Installation If you have installed Python, you can install […]

Read more

Neo4j Movies Example app with Flask backend using the neo4j-python-driver

Neo4j Movies Application: Quick Start This example application demonstrates how easy it is to get started with Neo4j in Python. It is a very simple web application that uses our Movie graph dataset to provide a search with listing, a detail view and a graph visualization. The Stack These are the components of our Web Application: Application Type: Python-Web Application Web framework: Flask (Micro-Webframework) Neo4j Database Connector: Neo4j Python Driver for Cypher Docs Database: Neo4j-Server (4.x) with multi-database Frontend: jquery, […]

Read more

Certificate generating and sending system written in Python

Certificate Generator & Sender Certificate generating and sending system written in Python. How to use git clonehttps://github.com/saadhaxxan/Certificate-Generator-Sender.git cd Certificate-Generator-Sender Add base_file.png as your certificate file Replace demo.csv with you own csv file that must have 2 columns of Names and Emails Open up generator.py and add your own custom text for the certificate Run python generator.py in cmd Open up sender.py and add your email credentials Verify the certificates folder and then replace the subject and body of email with […]

Read more
1 555 556 557 558 559 927