Python version management package
Project description
Versionizer
This module was created to easily manage package versions and switch to newer version based on date and time. It can be used to get current version of package and last existing version.
Examples:
-
code should be added in your_awesome_module init file:
from versionizer import VersionManager from datetime import datetime current = VersionManager( module=__name__, versions={ 'v1': datetime(2020, 1, 1), 'v2': datetime(2023, 2, 4), 'vX': datetime(2100, 1, 1) } )
or:
from versionizer import VersionManager from datetime import datetime __versions = VersionManager( module=__name__, versions={ 'v1': datetime(2020, 1, 1), 'v2': datetime(2023, 2, 4), 'vX': datetime(2100, 1, 1) } ) current = __versions.current
-
use (v1, v2, vX sub-modules should be created and called):
from your_awesome_module import current from time import sleep while True: current.test_func() # should return test_func from current version of module sleep(60 * 60)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ruth_versionizer-2022.1.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 41.2 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2608afa053e8aa379a1521d6e0724fdef86ca742eaedb152da5e88dd41aa641e
|
|
| MD5 |
6616fb3b8a60379eb1600993a30b4d02
|
|
| BLAKE2b-256 |
b3755ce37e646d5502cd0c443404a96e5c8eeca6f3d64090c8bc888d664fa207
|
File details
Details for the file ruth_versionizer-2022.1.0-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 293.3 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f68426e6f217fcb288dcfbddea9b1be42a3216904959030421545bc8b7ce988a
|
|
| MD5 |
cee8ae0115ed6b55ead134363bd332ea
|
|
| BLAKE2b-256 |
ad2eb43956b6bdc999d9db51950583d70140f7e34733dc3daff99a3d03e94be2
|
File details
Details for the file ruth_versionizer-2022.1.0-cp313-cp313-musllinux_1_2_i686.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp313-cp313-musllinux_1_2_i686.whl
- Upload date:
- Size: 282.2 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93139e3d6e9c481d9d55252abc28e8f22a332f7c6fed0e7f46318654ce9125cd
|
|
| MD5 |
4f8be4c4b85418543ef1d7f1400970ac
|
|
| BLAKE2b-256 |
52710f9f644cbc954bc794e90ea664f05fe19a342cc117499c34ce6367623c30
|
File details
Details for the file ruth_versionizer-2022.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 288.9 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdb80aa6dd8a6372f3623bdfc35dbf4806cc87f4ff46ea6f91f79e9cb2cff8b1
|
|
| MD5 |
ff14b7ab24b873247cf4828af0147f96
|
|
| BLAKE2b-256 |
beb17f49d2bc975b593e685b7ee4324ab54b663c28a76069d6cd4d55d99e3768
|
File details
Details for the file ruth_versionizer-2022.1.0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 44.3 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c82268c66425947ab4c5ea69a9d56b1cce9d07b8b71816465cce7c779693ba1e
|
|
| MD5 |
c68f9f05af2217543b71ba8a910e465f
|
|
| BLAKE2b-256 |
3cbbaf86f6658cd1d14479a639f0269a9c84953c29d16f5350d2d964d701e296
|
File details
Details for the file ruth_versionizer-2022.1.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 41.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
852b2aa45becc2dff24ce2a59f351fbc899b4e8c4467132c6ade3568958d370f
|
|
| MD5 |
60f2f5b88ad6e3e12f2f1ba45a925bab
|
|
| BLAKE2b-256 |
c1df5a8ec4773fb3d2e83f8bc721d6000cb61622a7699c4a25ec63a13a6e0cd0
|
File details
Details for the file ruth_versionizer-2022.1.0-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 292.3 kB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac728a525df77d0d244b3bac69384751b5c0538d41fdb3790f66c11fe81fde77
|
|
| MD5 |
e173bbba23cba6b054cf460b141a24e2
|
|
| BLAKE2b-256 |
63da5b000da7b80edc69fc06a70869aaa3d0840ed1e0b2e2e39563c8b6ed68fa
|
File details
Details for the file ruth_versionizer-2022.1.0-cp312-cp312-musllinux_1_2_i686.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp312-cp312-musllinux_1_2_i686.whl
- Upload date:
- Size: 280.7 kB
- Tags: CPython 3.12, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee4d26f4cc64172808a2d678a27863acf60afbd2a40155f01be1d2bb3c54df3c
|
|
| MD5 |
7d8e972543ee9704f9bdf467e7851f34
|
|
| BLAKE2b-256 |
fd58e7079be3d77f197cebbbcf92cfc5b6a558e243ead7cb8cee7c065de9d3c5
|
File details
Details for the file ruth_versionizer-2022.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 291.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14fa9858c80ebfdeaffc3b6cd18f5f81e6c6e50595c0b6f44c4adba17b113b07
|
|
| MD5 |
ddebc81b49cf6fb5f82d53b47e2805aa
|
|
| BLAKE2b-256 |
251fd703657ddf7ed75444a5aa082afc67ad35613da6da0bb7741162bb315eb7
|
File details
Details for the file ruth_versionizer-2022.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 44.8 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f872e06676cb0bd593efe06da46521d838968e63e5552a01f8e459b7cc64f9e0
|
|
| MD5 |
b31afecf0b2eb1f598564b4a5c4c328e
|
|
| BLAKE2b-256 |
b832cb3dc2e71ffb198ca154d80ad955bf9b809b52998b35f54ae3e169b74ac4
|
File details
Details for the file ruth_versionizer-2022.1.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 42.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75d2554b98a7d6a642751ad36e8d6c5da686914c31bd17232dac237f6765641e
|
|
| MD5 |
e9e668dbaf30aa4f76052c26ab39a6f0
|
|
| BLAKE2b-256 |
3935ef6e203bd8030affd8fb2332f42a3542d4180dc23bcb3cdad7136f81dceb
|
File details
Details for the file ruth_versionizer-2022.1.0-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 286.5 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1984e8ca3e7306d507df63626b69767e683b6af0b24c386604294366a36845cb
|
|
| MD5 |
463211bfa5e7a4870379a53ed2826ef1
|
|
| BLAKE2b-256 |
137ed5bf981a527374b3a65ee3cf18d332086fe70f67bc47c53c9ba842b65618
|
File details
Details for the file ruth_versionizer-2022.1.0-cp311-cp311-musllinux_1_2_i686.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp311-cp311-musllinux_1_2_i686.whl
- Upload date:
- Size: 276.4 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbc7d1eb99caf9ca20d97695f7071b785abb2a603455772d25fcf02dcb245d23
|
|
| MD5 |
81e608b6cd9fac5efab7d9622a8577c3
|
|
| BLAKE2b-256 |
6819bd4c178c24cf3ed4ad83754586b68ed8ec5457dc55579c2ea9ce19937c59
|
File details
Details for the file ruth_versionizer-2022.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 276.5 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a602f7f7fd9f27c67fcf393722f771bdc09390ccb55fc4bb8d97f67d32822e4b
|
|
| MD5 |
ec5011e93d3a04f86665a275f4bff6e3
|
|
| BLAKE2b-256 |
84a862b8b4d44ba63863d6f9a74a40d472d03f4001280b997f8b686395216f2e
|
File details
Details for the file ruth_versionizer-2022.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: ruth_versionizer-2022.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 45.1 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b90fdf1ce9f4880997af921369dab1159b826467dcae346f2252caa5b8791f4e
|
|
| MD5 |
98086969ab78f78b8ebb6814fcd4fc12
|
|
| BLAKE2b-256 |
183a20f88ba4774727c278aebd83313d0a0d14752f1b4efc8e62e89371208c17
|