MicroPyScript
icepool
MicroPyScript | icepool | |
---|---|---|
33 | 13 | |
57 | 42 | |
- | - | |
10.0 | 9.1 | |
10 months ago | 5 days ago | |
JavaScript | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MicroPyScript
-
Learn WebAssembly by writing small programs
> And currently using anything but C, C++ or Rust isn't feasible
Someone should tell Anaconda that they can't do this, then: https://pyscript.net/
-
Microsoft is bringing Python to Excel
There's https://pyscript.net/ -- or do you mean for scripting the browser's behaviour rather than replacing JS in website code?
-
Icepool: Python dice probability package
Icepool is a Python package. If you know Python, you have a head start in understading Icepool's syntax. Icepool is written in pure Python and has no dependencies other than the Python Standard Library, allowing you to run it in most places you can run Python. You can directly interoperate Icepool with the extensive Python ecosystem, including Numpy, Matplotlib, and Pandas. Recent projects such as Pyodide, JupyterLite, and PyScript allow Icepool to interoperate with JavaScript, allowing you to make your own web applications using Icepool.
- Should i quit Django and move to node JS
-
Javascript alternative to anydice?
But we're not stuck with one or the other. Python-JS interop has improved greatly in recent years with projects like Pyodide, JupyterLite, and PyScript. Often my strategy is to do the probability in Python and use JS for visualization, as you can see in this ability score calculator or this AnyDice-like interface.
-
Lua: The Little Language That Could
same was done for other languages too, like Python https://pyscript.net/
-
But how do I do this in Python?
Finally, there's PyScript. The dream of many Python developers, PyScript allows Python to run in the browser using WebAssembly. As someone who never fully mastered JavaScript, I find this particularly appealing.
- After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
-
From website (javascript) to program (python), how?
I assume your goal is to write the least amount of JavaScript. There's actually a way to run Python in your browser. Take a look at pyscript.net. Not everything is supported, however, so you'd have to check whether the dependencies of the tools you have developed can run.
-
How to make a Python small project using HTML and CSS? I am a beginner.
PyScript. I made a small single-page site that translates code into english with it. Really neat learning experience.
icepool
-
Dice Probability
My Icepool Python package can do this:
-
Icepool: Python dice probability package
Icepool is open-source. You can run Icepool anywhere you like: on a server, on your own computer, on your client's computer, on your phone, even offline. And if you're interested in understanding how it works, you can read through the source code, though for this purpose my paper on the dice pool algorithm may be a better choice.
-
Javascript alternative to anydice?
Still, I chose Python for my Icepool dice probability package; compared to JS, Python has BigInts by default (you can append n to literals in JS, but it is a little annoying); and operator overloading, which allows for more compact and readable syntax.
-
Probabilidades com cartas
While the main focus is dice, my Icepool Python package can do some types of card problems. Here is a simple example that computes the chance of dealing at least one H and one K from a deck:
-
Dice probability resources
I have some articles, but they do require some background in probability, and I haven't pursued these lines of inquiry in a while. More recently, I've been working on Icepool, a Python probability package. You may be interested in the collection of runnable notebooks. I also have a paper on the dice pool algorithm, which can handily outpace multiset enumeration systems such as AnyDice and Troll on a variety of problems, but I wouldn't exactly call it accessible to beginners.
-
Any interest in a Python based dice probability predictor?
Here's mine.. Depending on how far you want to go, you may also be interested in the accompanying paper.
-
Looking for Feedback: Opensource tool similar to Anydice.
And my own Icepool, which includes a high-efficiency pool algorithm.
-
Is there a card probability calculator?
My Icepool Python library has some deck support.
-
Feature requests for Snake Eyes dice probability calculator
If you are interested in learning more, you can read the preprint of my paper on the subject, or try my Icepool Python package, which is what powers the apps in the first two links.
-
Statistical Analysis of Rolling for Stats in Groups
You can compute the analytic solution efficiently with the right algorithms. I've implemented one such algorithm in my Icepool Python package, which reduces the computation to just a few lines and seconds. Here's an example of computing the distribution of the difference of the best and worst highest score for a party of 4.
What are some alternatives?
blobby-generator - Generative SVG blob characters.
dyce - Simple Python tools for exploring dice outcomes and other finite discrete probabilities
reflex - πΈοΈ Web apps in pure Python π
skyblock - Hypixel Skyblock Remake in Python.
vuepython - Edit and run Python code in Vuejs
xdice - The swiss knife for Dice roll : Command line, API, advanced dice notation parser, compilable patterns...etc.
fengari-phaser-tutorial-02
penney - Penney's Game
Blobby - Generative SVG blob characters
Rat-Game - Text-based, rpg, terminal game
netspeed_pc - Monitor live bandwidth usage/ network speed on PC. Native version also available for Android, separately.
hdroller