Git Product home page Git Product logo

fuzzymap's Introduction

PySnippet

StackOverflow License snippet.js snippet.min.js

PySnippet is a JavaScript plugin that allows using Python snippets on StackOverflow, adding just one line of code. The plugin uses PyScript to run a python code in the browser. Using the PySnippet is effective if you want to show an output of simple things that primarily use neither OS nor drivers.

Open CDN

The CDN is powered by jsdelivr.

https://cdn.jsdelivr.net/gh/pysnippet/pysnippet@latest/snippet.js
https://cdn.jsdelivr.net/gh/pysnippet/pysnippet@latest/snippet.min.js

Usage

  1. Add the plugin as an external library in the HTML section.
    <script src="https://cdn.jsdelivr.net/gh/pysnippet/pysnippet@latest/snippet.js"></script>
  2. Paste your Python code into the JavaScript section.
  3. Uncheck the "Show console" checkbox to hide the JavaScript console. The states of rest checkboxes do not matter and depend on your choice.
    • Show console
    • Use BabelJS / ES2015
    • Hide snippet by default

License

Copyright (C) 2022 Artyom Vancyan. Apache 2.0

fuzzymap's People

Contributors

artyomvancyan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

fuzzymap's Issues

Add tests for basic usage

Create test cases for checking the primary usage flows and set up a CI to run tests on all supported environments.

ModuleNotFoundError: No module named 'fuzzymap' after pip install

The package has successfully been installed using

pip install fuzzymap

But when trying to use it, it cannot be found. Here is the raised error

Python 3.9.7 (default, Sep 16 2021, 13:09:58) 
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from fuzzymap import FuzzyMap
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'fuzzymap'
>>> 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.