Automatically upgrade python libraries
Project description
Always be up-to-date!
Updator is a tool for automatically upgrade python libraries. It defines API changes rules which are actually python patterns (with some extras) that will transform into an ast. The rules were designed to be written by the libraries’ authors, but that will happen later on. What it does is basically just transforming the python code, that should be upgraded into an AST, and search the rules ast within the source code ast. If a rule ast is found - it’s transforming the pattern into a new pattern.
Install the package:
pip install updator
To Use Updator:
updator run [lib] [path]
- where:
lib is the library you want to upgrade
path is the path for your code file you want to upgrade
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file updator-0.1.6.tar.gz
.
File metadata
- Download URL: updator-0.1.6.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee3a1e9f1c8c3d34b6dea061e5a8efc9ff6249a049a02c6e8f602ca3345e478 |
|
MD5 | e60fa2738aa9f7973108af0731ebd4c7 |
|
BLAKE2b-256 | 14e1cd570ffcfcba522f136c3507113887ef9c544a304829e3e812b4b2aa8831 |
File details
Details for the file updator-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: updator-0.1.6-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d94dc8e4daa195494438145c84d0809f15bedcce5457a8773080107bf3f47e |
|
MD5 | a54df3b2a6ef7e3eacdfa30085d60c7a |
|
BLAKE2b-256 | bd40a36118358e07e1027e96d97faf5f2de08d6bbcbb8a831fe1ab49ae94464b |