36+ results for 're.compile lang:python' (0 ms)
Not the results you expected?
cmd_line.py (https://bitbucket.org/rafaelmoreira/sublime-text.git) Python · 340 lines
145 sign = 1
146 is_num_or_sign = re.compile('^[0-9+-]')
147 while self.c != EOF and is_num_or_sign.match(self.c):
177 rv = ''
178 r = re.compile(regex)
179 while self.c != EOF and r.match(self.c):
299 sign = 1
300 is_num_or_sign = re.compile('^[0-9+-]')
301 while self.c != EOF and is_num_or_sign.match(self.c):
328 rv = ''
329 r = re.compile(regex)
330 while self.c != EOF and r.match(self.c):
utils.py (https://github.com/9h37/delikatess.git) Python · 221 lines
sgml.py (https://github.com/sabren/scrapy.git) Python · 158 lines
prettifiers.py (https://github.com/vis-netlausnir/visutils.git) Python · 308 lines
buildinator_common.py (https://github.com/vasi/kdelibs.git) Python · 152 lines
load_phonon.py (https://github.com/wdzhou/mantid.git) Python · 185 lines
transformations.py (https://gitlab.com/oytunistrator/snowscript) Python · 353 lines
DownloadData.py (https://github.com/JasonAng/ResearchScripts.git) Python · 150 lines
titletranslate.py (https://github.com/malectro/Project-OPEN.git) Python · 162 lines
check_style_c_test.py (https://github.com/mgschwan/blensor.git) Python · 414 lines
apiclient-rax.py (https://gitlab.com/kawsark/pyrestclient) Python · 178 lines
20 f = open(credentials_file, 'r')
21 pattern = re.compile("\s*\[rackspace_cloud\]\s*username\s*=\s*(\S*)\s*api_key\s*=\s*(\S*)")
22 match = pattern.search(f.read())
38 #Extract token from response:
39 p1 = re.compile("token.*\"id\":\"(.*?)\",")
40 m1 = p1.search(r.text)
43 #Extract tenantId from response:
44 p2 = re.compile("\"tenantId\":\"(\d*?)\",")
45 m2 = p2.search(r.text)
marshal.py (https://github.com/nltk/nltk_contrib.git) Python · 206 lines
76 pattern = re.compile(r'^(.+):(.+?)$', re.UNICODE)
77 for line in handler.readlines():
122 pattern = re.compile(r'^(.+):(.+?)$', re.UNICODE)
123 for line in lines[2:]:
174 pattern = re.compile(r'^\[(.+)\]:(.+):(.+?)$', re.UNICODE)
182 context_pattern_str = r'^(.+?)%s$' % ( r':(.+?)' * (self._n-2) )
183 context_pattern = re.compile(context_pattern_str, re.UNICODE)
test_selector.py (https://github.com/mozilla/kuma-lib.git) Python · 200 lines
26 c = Config()
27 c.ignoreFiles = [re.compile(r'^test_favourite_colour\.py$')]
28 s = Selector(c)
37 c = Config()
38 c.exclude = [re.compile(r'me')]
39 s2 = Selector(c)
48 c = Config()
49 c.include = [re.compile(r'me')]
50 s2 = Selector(c)
59 c.include.append(re.compile('toy'))
60 assert s.matches('test')
base.py (https://github.com/lithium/pyjirc.git) Python · 155 lines
fields.py (https://github.com/asdahlborg/epiwork-website.git) Python · 182 lines
test_mypy_plugin_py3k.py (https://bitbucket.org/zzzeek/sqlalchemy.git) Python · 210 lines
runner.py (https://github.com/argodev/BiLab.git) Python · 204 lines
po-merge.py (https://github.com/yuvrajm/subversion.git) Python · 191 lines
SearchIndex.py (https://github.com/mobyle2-legacy/mobyle2.core.git) Python · 133 lines
main.py (https://github.com/yasulab/author-evaluator.git) Python · 234 lines
utility.py (https://bitbucket.org/Nitesh_Rajpurohit/app-engine.git) Python · 493 lines
policy.py (https://gitlab.com/ryandub/yoke) Python · 178 lines
middleware.py (https://github.com/joskid/ella.git) Python · 166 lines
__init__.py (https://github.com/plone/plone.i18n.git) Python · 215 lines
11 # Define and compile static regexes
12 FILENAME_REGEX = re.compile(r"^(.+)\.(\w{,4})$")
13 IGNORE_REGEX = re.compile(r"['\"]")
14 NON_WORD_REGEX = re.compile(r"[\W\-]+")
15 DANGEROUS_CHARS_REGEX = re.compile(r"[!$%&()*+,/:;<=>?@\\^{|}\[\]~`]+")
16 URL_DANGEROUS_CHARS_REGEX = re.compile(r"[!#$%&()*+,/:;<=>?@\\^{|}\[\]~`]+")
17 MULTIPLE_DASHES_REGEX = re.compile(r"\-+")
18 EXTRA_DASHES_REGEX = re.compile(r"(^\-+)|(\-+$)")
19 UNDERSCORE_START_REGEX = re.compile(r"(^_+)(.*)$")
20 LOCALE_SPLIT_REGEX = re.compile(r"[_-]")
21 # Define static constraints
gpaw_out.py (https://gitlab.com/jennings.p.c/ase-f-ase) Python · 239 lines
stringbench.py (https://github.com/albertz/CPython.git) Python · 1482 lines
plugin_mptt.py (https://github.com/bliving/sqlabs.git) Python · 395 lines
test_locks.py (https://github.com/akheron/cpython.git) Python · 921 lines
css.py (https://github.com/mfferreira/titanium_mobile.git) Python · 402 lines
validate.py (https://github.com/netconstructor/modestmaps-py.git) Python · 378 lines
EW_Compiler.py (https://gitlab.com/liuxin429go/build) Python · 393 lines
54 xprWrn = "^" + "(?P<file>" + drvWrn + dirExp + "*" + filExp + ")" + "(?P<line>" + linExp + ")" + linExp + "{0,1}" + wrnExp
55 self.regexpError = re.compile(xprErr)
56 self.regexpWarning = re.compile(xprWrn)
71 xprWrn = "^" + "(?P<file>" + drvWrn + dirExp + "*" + filExp + ")" + "(?P<line>" + linExp + ")" + linExp + "{0,1}" + wrnExp
72 self.regexpError = re.compile(xprErr)
73 self.regexpWarning = re.compile(xprWrn)
142 xprWrn = "^" + "(?P<file>" + drvWrn + "?" + dirExp + "*" + filExp + ")" + "(?P<line>" + linExp + "{0,1}" + ")" + linExp + "{0,1}" + wrnExp
143 self.regexpError = re.compile(xprErr)
144 self.regexpWarning = re.compile(xprWrn)
197 xprWrn = "^" + "(?P<file>" + drvWrn + "?" + dirExp + "*" + filExp + ")" + "(?P<line>" + linExp + "{0,1}" + ")" + linExp + "{0,1}" + wrnExp
198 self.regexpError = re.compile(xprErr)
199 self.regexpWarning = re.compile(xprWrn)
262 xprWrn = "^" + "(?P<file>" + drvWrn + "?" + dirExp + "*" + filExp + ")" + "(?P<line>" + linExp + "{0,1}" + ")" + linExp + "{0,1}" + wrnExp
263 self.regexpError = re.compile(xprErr)
264 self.regexpWarning = re.compile(xprWrn)
Core.py (https://gitlab.com/SanketDG/coala-utils) Python · 513 lines
test_schema.py (https://github.com/okoye/json-schema-validator.git) Python · 773 lines
base.py (https://github.com/wdzhou/mantid.git) Python · 216 lines
mbpt_lcao_utils.py (https://gitlab.com/ansobolev/ase) Python · 286 lines
make-release.py
(git://github.com/mitsuhiko/werkzeug.git)
Python · 154 lines
✨ Summary
This script automates the process of releasing a Python package, specifically Werkzeug. It parses the changelog to determine the current version and release date, bumps the version number, sets the version in the __init__.py
file, commits the changes, tags the new version, builds and uploads the package as source distributions (sdist) and wheel files.
This script automates the process of releasing a Python package, specifically Werkzeug. It parses the changelog to determine the current version and release date, bumps the version number, sets the version in the __init__.py
file, commits the changes, tags the new version, builds and uploads the package as source distributions (sdist) and wheel files.