Skip to main content

Generate customizable date wordlists.

Project description

Chronogen

Chronogen creates date-based wordlists that can be used for penetration testing, QA fixtures, or any workflow that needs exhaustive date coverage. The project now ships as a Python package with a modern command line interface and documentation.

Features

  • Symbolic format templates (YYYYMMDD, YYMMDD, MM, MMDD, etc.)
  • Optional custom strftime patterns
  • Prefix, suffix, casing, and separator controls
  • Month/day filtering, leap-day aware
  • Reverse chronological generation for targeting the latest dates first
  • CLI, python -m chronogen, or importable library

Installation

From source

git clone git@github.com:Septimus4/Chronogen.git && cd Chronogen
pip install .

For development extras (linting + tests):

pip install -e .[dev]

With pip

pip install chronogen

With Docker

To build the Docker image locally, run:

docker build -t chronogen:local .

or pull the pre-built image :

docker pull ghcr.io/septimus4/chronogen:latest

then use it:

docker run ghcr.io/septimus4/chronogen:latest [ARGS]

Command line usage

chronogen --start 1990 --end 1995 --format DDMMYY --separator "/" --prefix corp-

Use chronogen --help or consult the CLI documentation for all options. The tool can also be executed with python -m chronogen (module execution) during development.

Library usage

from chronogen import DateGenerator

generator = DateGenerator(start_year=2020, end_year=2021, format="YYYYMMDD", separator="-")
for value in generator.generate():
    print(value)

More examples are available in the library guide.

Development

See docs/development.md for linting, testing, and release workflows. Continuous integration is provided through GitHub Actions and enforces lint + coverage on pull requests.

To build distributable archives locally, install the optional dev dependencies and run:

python -m build

License

This project is distributed under the terms of the GNU Lesser General Public License v3.0. See LICENSE.

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

chronogen-1.0.1.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chronogen-1.0.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file chronogen-1.0.1.tar.gz.

File metadata

  • Download URL: chronogen-1.0.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chronogen-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bf4276b9c50c1c511df5f51dcda08b36624404c9281c9ffbb18a235c4bd3836e
MD5 72fe907fba558d6f3d3179b423302a8f
BLAKE2b-256 a6d61ef4e429c25b53f0084e206f60785f4c34faac7bf9f9f34d91d37e8ea9a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for chronogen-1.0.1.tar.gz:

Publisher: publish.yml on Septimus4/Chronogen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chronogen-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: chronogen-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chronogen-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a83a6c92638881959c48b4903c2acb5023f7e6f81e1c193f4498470e926cf0e5
MD5 bf9b75ff2d060b7deae08ccfd63af894
BLAKE2b-256 f479b7b1f4e9f274499f0c6cfa6465a9285889dd864bcae3017dd8dd773ac7b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for chronogen-1.0.1-py3-none-any.whl:

Publisher: publish.yml on Septimus4/Chronogen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page