高性能中文分词库 gojieba
gojieba 是什么?gojieba 是 Python 知名分词库结巴 jieba 的 Go 语言实现版本,底层分词算法由 C++ 实现,具备很高的性能; gojieba 解决了在做文本分析,文本搜索相关业务功能时的分词需求。
gojieba 支持多种分词方式:
- 全模式:把文本中所有可能的� … ⌘ Read more
PEP 677: Callable Type Syntax
This PEP introduces a concise and friendly syntax for callable types,
supporting the same functionality as typing.Callable but with an
arrow syntax inspired by the syntax for typed function
signatures. This allows types like Callable[[int, str], bool] to
be written (int, str) -> bool. ⌘ Read more
Precise code navigation for Python, and code navigation in pull requests
Code navigation is now available in PRs, and code navigation results for Python are now more precise. ⌘ Read more
Today I learned that there is a new version 2 of Docker Compose. Docker Compose is now no longer a Python app, but a CLI plugin for Docker written in Go. And there is a Compose specification. ⌘ Read more
PEP 674: Disallow using macros as l-value
Incompatible C API change disallowing using macros as l-value to allow
evolving CPython internals and to ease the C API implementation on other
Python implementation. ⌘ Read more
@lyse@lyse.isobeef.org I’m a big fan of using PyCharm and IntelliJ on large Python and Java codebases respectively. In my personal life, I mostly use Emacs (because I don’t hack much Java outside of work), but I do wonder what GoLand is like.
JavaScript : web apps
wut?! 😳 seriously?! 🤦♂️
Python : small tools
Okay 👌
Go: micro services
Umm bad generalization 🤣 – Example yarnd that powers most of Yarn.social 😂
Java: enterprise software
Yes! Oh gawd yes! 🤣 And Java™ needs to die a swift death!
C: crimes
Hmmm? 🤔 I feel this one is going to have some backslash and/or go the way of “Hacker” being misconstrued to mean entirely different/incorrect things as is what’s happening in the media (for various definitions of “media”).
PEP 673: Self Type
This PEP introduces a simple and intuitive way to annotate methods that return
an instance of their class. This behaves the same as the TypeVar-based
approach specified in PEP 484
but is more concise and easier to follow. ⌘ Read more
mgmacias95/TwitterFriends
Django app that makes a graph dataset with your friends on twitter
Language: Python
Star: 26
Watch: 26 ⌘ Read more
eleurent/twitter-graph
Fetch and visualize the graph of your Twitter friends and followers.
Language: Python
Star: 99
Watch: 99 ⌘ Read more
gobborg/twitter-mutuals
figure out who your twitter mutuals are using tweepy python
Language: Python
Star: 1
Watch: 1 ⌘ Read more
Mohamed3on/TwitterNetwork
Finds the Twitter accounts that have the most mutual friends with you. A better alternative to Twitter’s recommendation algorithm.
Language: Python
Star: 6
Watch: 6 ⌘ Read more
berkay-dincer/mutual-followers
Allows you to discover the mutual friends of twitter accounts.
Language: Python
Star: 3
Watch: 3 ⌘ Read more
ejmg/help-why-cant-i-hold-all-these-mutuals
find all your mutuals and throw them on a list so you can all be miserable together on twitter dot com
Language: Python
Star: 135
Watch: 135 ⌘ Read more
PEP 672: Unicode-related Security Considerations for Python
This document explains possible ways to misuse Unicode to write Python
programs that appear to do something else than they actually do. ⌘ Read more
PEP 671: Syntax for late-bound function argument defaults
Function parameters can have default values which are calculated during
function definition and saved. This proposal introduces a new form of
argument default, defined by an expression to be evaluated at function
call time. ⌘ Read more
PEP 670: Convert macros to functions in the Python C API
Convert macros to static inline functions or regular functions. ⌘ Read more
@movq@www.uninformativ.de I would not mind keeping a diff, if you tell me where to make the changes! I know nothing of Python, and I have spent already a couple of hours trying to make sense. I know it is there, in front of me, if only I knew Python. 😩
PEP 8103: 2022 Term steering council election
This document describes the schedule and other details of the December
2021 election for the Python steering council, as specified in
PEP 13. This is the steering council election for the 2022 term
(i.e. Python 3.11). ⌘ Read more
python 程式中的 sys.path 會自動隨 python 執行檔的所在位置改變而改變。這是好是壞呢…
PEP 665: Specifying Installation Requirements for Python Projects ⌘ Read more…
PEP 664: Python 3.11 Release Schedule ⌘ Read more…
Python is the second-best language for everything.
Really cool collection of Python Programming Tutorials ⌘ Read more…
PEP 661: Sentinel Values ⌘ Read more…
PEP 658: Static Distribution Metadata in the Simple Repository API ⌘ Read more…
PEP 657: Include Fine Grained Error Locations in Tracebacks ⌘ Read more…
Video: How to Dockerize a Python App with FastAPI ⌘ Read more…
PEP 656: Platform Tag for Linux Distributions Using Musl ⌘ Read more…
Guest Post: Calling the Docker CLI from Python with Python-on-whales ⌘ Read more…
@lyse@lyse.isobeef.org (#hut4mnq) I am so sorry for you. I left my Java job for Go. Though through “restructuring” its become a Python job.
@lyse@lyse.isobeef.org (#hut4mnq) I am so sorry for you. I left my Java job for Go. Though through “restructuring” its become a Python job.
PEP 654: Exception Groups and except* ⌘ Read more…
How Developers Can Get Started with Python and Docker ⌘ Read more…
PEP 652: Maintaining the Stable ABI ⌘ Read more…
Upgrading the MacPorts packages on my 2009 Mac Mini via ‘port upgrade outdated’, mostly to get Python 3 > 3.6 and be able to run the current jrnl program #cli #macos
Upgrading the MacPorts packages on my 2009 Mac Mini via ‘port upgrade outdated’, mostly to get Python 3 > 3.6 and be able to run the current jrnl program #cli #macos
PEP 651: Robust Overflow Handling ⌘ Read more…
PEP 649: Deferred Evaluation Of Annotations Using Descriptors ⌘ Read more…
PEP 648: Extensible customizations of the interpreter at startup ⌘ Read more…
Learn about ghapi, a new third-party Python client for the GitHub API ⌘ https://github.blog/2020-12-18-learn-about-ghapi-a-new-third-party-python-client-for-the-github-api/
PEP 8102: 2021 Term steering council election ⌘ https://www.python.org/dev/peps/pep-8102/
PEP 644: Require OpenSSL 1.1 or newer ⌘ https://www.python.org/dev/peps/pep-0644/
PEP 643: Metadata for Package Source Distributions ⌘ https://www.python.org/dev/peps/pep-0643/
PEP 640: Unused variable syntax ⌘ http://www.python.org/dev/peps/pep-0640
PEP 638: Syntactic Macros ⌘ http://www.python.org/dev/peps/pep-0638
PEP 632: Deprecate distutils module ⌘ http://www.python.org/dev/peps/pep-0632
PEP 630: Isolating Extension Modules ⌘ http://www.python.org/dev/peps/pep-0630
Containerized Python Development – Part 3 ⌘ https://www.docker.com/blog/containerized-python-development-part-3/
Containerized Python Development – Part 2 ⌘ https://www.docker.com/blog/containerized-python-development-part-2/
PEP 629: Versioning PyPI’s Simple API ⌘ http://www.python.org/dev/peps/pep-0629
Containerized Python Development – Part 1 ⌘ https://www.docker.com/blog/containerized-python-development-part-1/
Luke steps on the Python snek ⌘
PEP 620: Hide implementation details from the C API ⌘ http://www.python.org/dev/peps/pep-0620
PEP 619: Python 3.10 Release Schedule ⌘ http://www.python.org/dev/peps/pep-0619
PEP 617: New PEG parser for CPython ⌘ http://www.python.org/dev/peps/pep-0617
PEP 623: Remove wstr from Unicode ⌘ http://www.python.org/dev/peps/pep-0623
PEP 616: String methods to remove prefixes and suffixes ⌘ http://www.python.org/dev/peps/pep-0616
PEP 618: Add Optional Length-Checking To zip ⌘ http://www.python.org/dev/peps/pep-0618
PEP 621: Storing project metadata in pyproject.toml ⌘ http://www.python.org/dev/peps/pep-0621
PEP 624: Remove Py_UNICODE encoder APIs ⌘ http://www.python.org/dev/peps/pep-0624
PEP 625: File name of a Source Distribution ⌘ http://www.python.org/dev/peps/pep-0625
PEP 622: Structural Pattern Matching ⌘ http://www.python.org/dev/peps/pep-0622
How to Make a Button Run a Server-Side Script (eg, a PHP, Perl, or Python Script) (HTML) ⌘ https://www.thesitewizard.com/html-tutorial/make-button-run-server-side-script.shtml
I can’t abide Python, so I’m writing these messages using ‘echo’, for now..
Tuple ordering and deep comparisons in Python - Trey Hunner https://treyhunner.com/2019/03/python-deep-comparisons-and-code-readability/
GitHub - joke2k/faker: Faker is a Python package that generates fake data for you. https://github.com/joke2k/faker
Three-Speed Logic http://threespeedlogic.com/python-tworoutines.html
A Python Script that Writes 800-page Children’s Books – Zach Whalen http://www.zachwhalen.net/posts/a-python-script-that-writes-800-page-childrens-books/
GitHub - ThoughtRiver/lmdb-embeddings: Fast word vectors with little memory usage in Python https://github.com/ThoughtRiver/lmdb-embeddings
@sdk@codevoid.de That’s an interesting thought. I Know most are text files but at one time there was someone that used a python CGI Script. That person would have had to make a script for the follows.
GitHub - joukos/PaperTTY: PaperTTY - Python module to render a TTY on e-ink https://github.com/joukos/PaperTTY
Itertools in Python 3, By Example “ Real Python https://realpython.com/python-itertools/
How to send local files to Chromecast with Python - Will do stuff for stuff https://rinzewind.org/blog-en/2018/how-to-send-local-files-to-chromecast-with-python.html
GitHub - geophile/osh: Osh (Object SHell) is a command-line and API toolkit combining cluster access, database access, and data slicing and dicing. Sort of like awk and cssh morsels wrapped up in a Python crust. https://github.com/geophile/osh
GitHub - chriskiehl/Gooey: Turn (almost) any Python command line program into a full GUI application … https://github.com/chriskiehl/Gooey
GitHub - Zulko/moviepy: Video editing with Python https://github.com/Zulko/moviepy
Simulating Chutes & Ladders in Python | Pythonic Perambulations http://jakevdp.github.io/blog/2017/12/18/simulating-chutes-and-ladders/
@mdom@domgoergen.com I am playing with the txtnish client, all the systems I have available are running an old version of Python
New repository: aquilax/python-android-webview - Simple WebView Android App Tool
GitHub - drathier/stack-overflow-import: Import arbitrary code from Stack Overflow as Python modules. https://github.com/drathier/stack-overflow-import
@kas@enotty.dk #python What did you expect? Looks sane to me.
@kas@enotty.dk #python What did you expect? Looks sane to me.
@kas@enotty.dk Mhh, i explicitly allow 60 seconds in my rfc3339 regex. Is there already a bug report for python?
@kas@enotty.dk Mhh, i explicitly allow 60 seconds in my rfc3339 regex. Is there already a bug report for python?
@clementd@clementd-files.cellar.services.clever-cloud.com @n1ko@nicolas.perriault.net Maybe you could file a bug report on github? With your python version and the installed modules.
@clementd@clementd-files.cellar.services.clever-cloud.com @n1ko@nicolas.perriault.net Maybe you could file a bug report on github? With your python version and the installed modules.
#code2014 TypeScript, JavaScript, CoffeScript, Go, Python, Java, PHP
Learning Python | https://wiki.xxiivv.com/programming
Проекта ми за уикенда мина през App engine JAVA, след това Python и накрая стигна пак до PHP и CodeIgniter http://posterfans.com/