Python Coding Tools installs statistics
By Nils Ballmann · VS Code Marketplace · Other
The PCT are a compilation of tools, which are helpful when coding Python. The feature list may change over time, as functionality provided by other extensions, will be removed from PCT.
Python Coding Tools has 197,064 recorded installs on VS Code Marketplace, an increase of 0.6% over the past 30 days, ranking #1552 of 2,515 tracked listings.
Rating: 4.00 / 5 from 1 ratings
About Python Coding Tools
README
When moving from Eclipse and PyDev to vscode I always missed the functionality to automatically update a module variable to the date and time when saving the file to disk. There were other functionalities I missed too.
From this was born the idea of the extension "python-coding-tools". It should contain a compilation of python coding tools which are missing but are helpful in the everyday coders life.
It is specifically designed to complement the other python extensions out there.
It won't do anything to files which have not the languageId python. If
features are incorporated in releases of other extensions, they are probably
shortly removed here after.
Features
Update python module variable
This extension provides a command to 'Update a python module variable'. The name of the python module variable can be configured. The date and time format used when updating the variable's value can be configured in moment.js (sadly not python's) notation. The command can be automatically executed on saving a python file active in the foreground. The automatic command execution on saving a python file can also be disabled in the configuration.
Usage
For those, who never have used this feature with Eclipse and PyDev, here is a short how to description with the default settings.
First you have to put a variable to the module (__updated__ in this example).
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__updated__ = ''
class PCT(object):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.something = 'else'
def main():
print('Last update of this file was on {}.'.format(__updated__))
if __name__ == '__main__':
main()
On saving the file, the value gets filled by the current date and time.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__updated__ = '2019-02-17 23:06:24'
class PCT(object):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.something = 'else'
def main():
print('Last update of this file was on {}.'.format(__updated__))
if __name__ == '__main__':
main()
Which then results in the following output when executing the Python script:
nils@nyx:~$ python3 pct.py
Last update of this file was on 2019-02-17 23:06:24.
The variable works also in Python2. But as Python2 just has 10.5 months left in the tank, I strongly encourage you to migrate to Python3.
The variable is also accessible when importing a module.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__updated__ = '2019-02-17 23:36:15'
import pct
def main():
print('Last update of this file was on {}.'.format(__updated__))
print('Last update of pct.py was on {}.'.format(pct.__updated__))
if __name__ == '__main__':
main()
When executed the result looks like this:
nils@nyx:~$ python3 import_pct.py
Last update of this file was on 2019-02-17 23:36:15.
Last update of pct.py was on 2019-02-17 23:06:24.
Extension Settings
This extension contributes the following settings:
Update module variable
python-coding-tools.update-module-variable.enableOnSave: Enable/Disable the automatic update of a module variable on saving a python file active in the foreground.python-coding-tools.update-module-variable.variableName: Name of the module variable which should be updated.python-coding-tools.update-module-variable.dateTimeFmt: Specify the DateTime format in moment.js notation.
Known Issues
- No tests
Release Notes
1.0.5 - 2026-02-18
- Updated several dependencies
1.0.4 - 2022-08-03
- Updated several dependencies
- Security https://snyk.io/vuln/SNYK-JS-MOMENT-2944238
1.0.3 - 2019-06-08
- Added short usage info
- Updated several dependencies
1.0.2 - 2018-10-14
1.0.1 - 2017-07-16
- Added Python logo as extension icon
1.0.0 - 2017-07-16
- Providing a command to update a single module variable
- Automatic command execution on saving a python file
- Initial release
Description from the VS Code Marketplace listing.
- python
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Other plugins
All 20 Python Coding Tools alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=nils-ballmann.python-coding-tools. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.