CPython
ipython
Our great sponsors
- Sonar - Write Clean Python Code. Always.
- InfluxDB - Access the most powerful time series database as a service
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
CPython | ipython | |
---|---|---|
1193 | 33 | |
53,542 | 15,828 | |
2.7% | 0.2% | |
10.0 | 9.7 | |
3 days ago | 9 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" 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.
CPython
-
Show HN: Word2vec Algorithm in ~100sloc with NumPy
Hi eesmith, thanks for your insight! I've applied a lot of the improvements you mentioned, the collections.Counter one didn't even cross my mind- very neat:)
The lines are processed independently as they are separate sentences. One line may be from one source, and the next from a completely different source. The problem with simply concatenating them is that the target words on the boundaries between sentences can end up with context words from unrelated sentences.
>I liked seeing the 'η' - I haven't yet used non-ASCII in my code!
Then you may enjoy this april fool's python issue I made https://github.com/python/cpython/issues/103172
Yeah, I like using utf-8 chars for mathematical symbols, it makes my brain hurt a little less when mapping between the two! I also like using ŷ for predictions in ML contexts as that's the canonical symbol used in the literature.
-
Is there a way to build a project from source with the same process between Windows and OSX?
So I wanted to test this out with Python, as I want to embed Python to allow support for scripting in my app. However, as you can see in the Readme here, the build process for Windows and MacOS is a bit different (Mac involves running Make, while Windows just runs a bat file). Neither are complicated, but I originally assumed that the process would be basically the same, and I could use a CMakeLists that wasn't platform specific.
-
Building and deploying a web API powered by ChatGPT
We'll also end up using Python, Docker and Git.
-
Never again
Anything using inspect.getargspec due to this change.
-
I'm interested in making a game, but don't know where to start. Advice would be appreciated!
There’s not a single best route but I’d suggest spending an evening with Scratch, then learn a bit of Python via Codecademy. After that, I recommend either Godot, Java, or C++.
-
Python __init__ Vs __new__ Method - With Examples
It can be useful in some uncommon use cases to make some, let's say, "magic" classes. For example, the enum module in the stdlib makes use of __new__ to create enum classes.
-
beginner
There’s not a single best route but I’d suggest spending an evening with Scratch, then learn a bit of Python via Codecademy. After that, I recommend either Godot, Java, or C++.
- Pharo 11
-
How to Get Started with Open Source
Python
-
Help me guide my boyfriend
Here are links to things that I talked about in this comment. Python (High Level Programming language) https://www.python.org/, Visual Studio Code (A Code Editor) https://code.visualstudio.com/, Stack Overflow (Programming Questions) https://stackoverflow.com/, W3 Schools (Learning Programming Languages) https://www.w3schools.com/.
ipython
-
Pandas 1.5 released
!pip install is error-prone, it is better to use %pip install, ipython even warns about this, https://github.com/ipython/ipython/pull/12954/
-
Why deprecate loading unpackaged extensions?
If not, why not open an issue at https://github.com/ipython/ipython asking for clarification of the docs?
The git history (here is the git blame) shows it has not been updated in 9 year. Looks like a documentation issue that you should open an issue against.
-
Debugging Python programs without an IDE
Do you know IPython? It is a modern Python console that extends the capabilities of the classic builtin Python shell by offering introspection, tab completion, syntaxing coloring, as well as history. If you don't know it, I can't recommend it enough. More information can be found in its GitHub page.
-
Pipx: A python package consumption tool for CLI packages
For further documentation on ipython using the CLI, you can refer to the GitHub link or the documentation page.
-
No_color
There’s one I’ve come across recently here where you’re fighting against syntax highlighting with extra error context. https://github.com/ipython/ipython/issues/13446#issuecomment...
-
Anybody else getting tired of parso and jedi?
I see. https://github.com/ipython/ipython/issues/13529
-
Django Codebase Reformatted with Black
You can automate setup for developers using this simple script:
https://github.com/ipython/ipython/pull/12091/files
And here’s a GitLab issue requesting support for blame-ignore:
https://gitlab.com/gitlab-org/gitlab/-/issues/31423
I don’t think there’s a corresponding GitHub request, but maybe if GitLab adds this feature GitHub will have some incentive to follow suit.
-
Formatting Code with Black
Here’s a script that automates the once-per-repository local setup of this feature:
https://github.com/ipython/ipython/pull/12091/files
Unfortunately there isn’t support for it in GitHub or GitLab yet, but there’s at least a GitLab issue here requesting it:
What are some alternatives?
RustPython - A Python Interpreter written in Rust
Vulpix - Fast, unopinionated, minimalist web framework for .NET core inspired by express.js
bpython - bpython - A fancy curses interface to the Python interactive interpreter
Visual Studio Code - Visual Studio Code
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE - Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
Django - The Web framework for perfectionists with deadlines.
vim-slime - A vim plugin to give you some slime. (Emacs)
go - The Go programming language
Camunda BPM - Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Spring, Spring Boot, CDI.
Plex-Meta-Manager - Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.