100 skills found · Page 4 of 4
Gandi / Gandi SwapsetupPython script to setup virtual machines on Gandi IaaS hosting platform.
NourelhoudaAbdellaoui / SecureDonation Based On BlockchainSecure Donation Project based on truffle /metamask/ganache Your guide to build a project donation based on blockchain in order to ensure the traceability and the security of your money donation. Steps : Step 1:Setup your IDE coding in my case i choose VS code 1-I install the extension of truffle on VS Code .and I learn the basics of truffle thanks to the official site : https://trufflesuite.com/docs/truffle/ by the way truffle is just a development environment to code and compile your smart contract and is testing framework for blockchains using the ethereum virtual machine .So let’s take the first step : I created a folder named Nour project using this command : mkdir NourProject and also inside it i created 2 other folders :mkdir frontend and mkdir Blockchain Step2:Start with truffle so now let’s create our truffle project inside Nourproject/Blockchain thanks to the command truffle init Now let’s create our smart contract named Donation.sol in Nourproject/Blockchain/contracts and in direction Nourproject/Blockchain/migration/Donation.js fo deploying later your smart contract on ganache we will use this fil!e .js So our smart Contract looks like: //SPDX-License-Identifier:MIT pragma solidity ^0.8.0; //so contract Donation{ //struct :define your type Donor //inside struct you can grouping your different information that you wanna track it struct Donor{ //uint (only integer without minus) uint id ;//id of donor string name;// the name of donor uint256 amount;// the amount of donor address sender_address;//Donprs wallet address } uint256 id=0; //Mapping is Mapping is a reference type as arrays and structs as dictionnary in python is composed essentially by key =>value mapping(uint=>Donor)public sender; //function to add another donor to take a place //payble is function its role to recieve ETH from donors in oder to store //donors data and the amount paid function addDonor(string memory name)public payable { id+=1; sender[id]=Donor(id,name,msg.value,msg.sender); } So now let’s how to complelete the donation.js in migration so after coding our smart contract we have install ganache thanks to this link: https://trufflesuite.com/ganache/ so now let’s compile the smart contract thans to this command truffle compile before we deploy it into ganache we have to add the project into ganache now let’s relate ganache to truffle test so let’s deploy it into the ganache (local blockchain test ): truffle migrate Step3 :Frontend part this part based on html /css/js So in this part just we use the basic tools of html/css/js as u see here in the image bellow : so let’s understand some buttons function as the button connect this button it’s main function is to extract address account from metamask so the steps that you should follow it in this part just build a simple button thanks to bootstrap https://getbootstrap.com/docs/5.2/getting-started/introduction/ and create a simple squelette of form and add some animation thanks to css so let’s add the script of web3.js to let our website worked on blockchain browser thanks to this script <script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script> so enable it by writing this piece of code //Enable Web3 async function loadWeb3(){ if(window.ethereum) { window.web3 = new Web3(window.ethereum); } } and then load smart contract from truffle thanks to it’s ABI and it’s address : you can find the ABI in build file it will create automatic when you built your contract so in my case my ABI is located in the direction of build /Donation.json so My ABI : "abi": [ { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "sender", "outputs": [ { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "address", "name": "sender_address", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "name", "type": "string" } ], "name": "addDonor", "outputs": [], "stateMutability": "payable", "type": "function" } ], So the address is the same of the contract address : so after loading the smart contract thanks to it’s ABI and address you can read data from and load all of it’s function by some code in js and then connect to the metamask wallet and get the address of the account after just donate by the button donate all of :this detail is written in code js you can say it in code js in the code file wish that document is helpful So as you see after donate to ether thanks for some fake ethers in the metamask wallet which is take it fro the ganache balances with simple steps just open metmask extension>settings >add network>then add the url rpc of your ganache and in the id chain write 1337 after passing the transaction another block added in the ganache so that’s all wish this documentation was helpful to you to understand the code how it running
Azure-Samples / Hybrid Compute Python Manage VMGetting Started with Compute - Manage Virtual Machines using Python on Azure Stack hybrid cloud https://docs.microsoft.com/en-us/python/azure
Azure-Samples / Virtual Machines Python Scheduled Events Central LoggingUse scheduled events to create a central log of all maintenance (and other) events
lpouillo / Vm5kA Python module to help you to manage virtual machines on the Grid'5000 platform
Azure-Samples / Compute Python Msi VmThis sample demonstrates how to create Azure virtual machine with Managed Service Identity Extension using a Python client
aranega / StvmSmalltalk Virtual Machine in Python (still in POC state)
akrush24 / Vmware AutomationThis are a set of scripts to simplify the deployment of virtual machines in the VMWare vSphere infrastructure from python scrip
lgaggini / Spartacusspartacus is a python tool to create a virtual machine on a proxmox cluster cloning an existent kvm virtual machine or template and perform a debian/centos starting configuration by rawinit (based on qemu-nbd).
nasherm / Lox BoxTwo compilers for the Lox programming language. One is an interpreter written in Python and the other a bytecode virtual machine written in Rust
portellam / Powerstate VirtmanagerSet the power state of a Virtual Machine (VM). Does what virt-manager doesn't; includes missing features like sleep, hibernate, and wake. Bash TUI and Python GUI application.
doubledherin / My CompilerA Python project that takes a grammar I've defined, lexes it, parses it into an abstract syntax tree, and does semantic analysis. To come: generate bytecode and feed it to a stack-based virtual machine. Maybe will throw in some optimization for good measure.
kinganupamdutta27 / Voice Assistant Using PythonA virtual assistant is an independent contractor who provides administrative services to clients while operating outside of the client's office. A virtual assistant typically operates from a home office but can access the necessary planning documents, such as shared calendars, remotely. People employed as virtual assistants often have several years of experience as an administrative assistant or office manager. New opportunities are opening up for virtual assistants who are skilled in social media, content management, blog post writing, graphic design, and Internet marketing. As working from home has become more accepted for both workers and employers, the demand for skilled virtual assistants is expected to grow. In today’s era almost all tasks are digitalized. We have Smartphone in hands and it is nothing less than having world at your fingertips. These days we aren’t even using fingers. We just speak of the task and it is done. There exist systems where we can say Text Friend, “I will Call you Letter.” And the text is sent or any one may make call by saying “Call To Mr. Roy” That is the task of a Virtual Assistant. It also supports specialized task such as booking a flight, or finding cheapest book online from various e-commerce sites and then providing an interface to book an order are helping automate search, discovery and online order operations. An intelligent virtual assistant (IVA) or intelligent personal assistant (IPA) is a software agent that can perform tasks or services for an individual based on commands or questions. The term "chatbot" is sometimes used to refer to virtual assistants generally or specifically accessed by online chat. In some cases, online chat programs are exclusively for entertainment purposes. Some virtual assistants are able to interpret human speech and respond via synthesized voices. Users can ask their assistants questions, control home automation devices and media playback via voice, and manage other basic tasks such as email, to-do lists, and calendars with verbal (spoken?) commands. A similar concept, however with differences, lays under the dialogue systems. The project aims to develop a personal-assistant for Linux-based / Windows systems using Python, Jupitar Notebook, PyCharm. Voice Assistant using Python draws its inspiration from virtual assistants like Cortana for Windows, and Siri for iOS. It has been designed to provide a user-friendly interface for carrying out a variety of tasks by employing certain well-defined commands. Users can interact with the assistant either through voice commands or using sound or Voice input input. As a personal assistant, this system assists the end-user with day-to-day activities like general human conversation, searching queries in google, Bing or yahoo, searching for videos, retrieving images, live weather conditions, word meanings, searching for medicine details, health recommendations based on symptoms and reminding the user about the scheduled events and tasks. The user statements/commands are analyzed with the help of machine learning to give an optimal solution.
jishnuv / Toy Python Virtual MachinePython VM which can execute a tiny subset of Python
karpierz / JvmPython bridge for the Java Virtual Machine.
Cdayz / Simple LangSimple Python implementation of ASM-like language on virtual machine
tadasv / VmsCompiler and a virtual machine test project in Python and C
vagrantpy / VagrantpyPython bindings for interacting with Vagrant virtual machines
Ekdohibs / PforthA Forth implementation on a virtual machine ran by Python
kkmk11 / ATMStands for Automated Teller Machine which is a self-service virtual banking Python Programming outlet. You can withdraw money, Deposit Money, Change PIN, Get your Mini-Statement etc..