afpy / pogrep Goto Github PK
View Code? Open in Web Editor NEWRepo migré sur une forge open-source et hébergée en France : https://git.afpy.org/AFPy/pogrep
Home Page: https://git.afpy.org/AFPy/pogrep
License: MIT License
Repo migré sur une forge open-source et hébergée en France : https://git.afpy.org/AFPy/pogrep
Home Page: https://git.afpy.org/AFPy/pogrep
License: MIT License
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Typical usage:
emacs $(pogrep --translation --no-source -r mapping -l)
for the moment I need to use:
emacs $(pogrep --translation --no-source -r mapping -l | ansi2txt | sed s/B$//)
Example on python-docs-fr repo:
[user@localhost python-docs-fr] $ pogrep -rn --exclude-dir locales --no-source --translation contrario
╒════════════════════════════════════════════════╤═════════════════════════════════════════════════════╕
│ 1154:Equality comparisons are defined though:: │ A contrario, les comparaisons d'égalité existent :: │
═════════════════════════════════════════════════╧═════════════════════════════════════════════════════╛
pogrep should print which file contains contrario, not only the line.
The test for printing filename is wrong.
For example, let's imagine a poblame which uses the output of find_in_po to blame lines of translated entries:
def poblame(args):
errors, results = pogrep.find_in_po(args.pattern, files, not_in_source=True, in_translation=True)
for res in results:
print(subprocess.check_output(["git", "blame", f"-L {res.line},/^$/", res.file], text=True))
[user@localhost: ~] $ poblame -rni --exclude-dir=locales allogène .
It would be nice if the grep options were supported, with the same meanings. At least: -E, -F, -i, -w.
allow to specify several exclude-dir option.
0.1.2 contre 0.1.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.