Skip to main content

CicloPiBot

@CicloPiBot is a Telegram bot based on davtelepot which provides information about CicloPi, the public bike-sharing service in Pisa.

Usage

Client side

Send /start @CicloPiBot, all you need is a Telegram account.

Commands

  • /start the bot
  • Ask for /help for further information
  • Ask for /ciclopi information

"Server" side

You may choose between method 1 (pip) and method 2 (git).

  1. Using pip
    • Install ciclopibot
    pip install ciclopibot
    
    • Run ciclopibot as module
    python -m ciclopibot -h  # Get help 
    python -m ciclopibot <your_token_here>
    
  2. Using git
    • Clone this repository
    git clone ssh://git@gogs.davte.it:8445/Davte/ciclopibot.git
    # git clone https://gogs.davte.it/Davte/ciclopibot.git
    # git clone git@github.com:Davte/ciclopibot.git
    # git clone https://github.com/Davte/ciclopibot.git
    
    • Run install.sh: it will help you perform the following operations.
      • Put a Telegram bot token in gitignored data/passwords.py module.
        • To get a token, ask @BotFather.
        • The bot whose token you use will act as @CicloPiBot as long as you run the script.
      • Create a python3.5+ virtual environment and install requirements.
      • Specify python_virtual_environment and python_script variables in my_config.sh
    • Run run_me.sh
    bash run_me.sh;
    
    • You may edit the file and test your code with your bot.
    • Should you be satisfied of your edits enough, you may fork this repository and open a pull request.

Credits

  • Davte is the creator and the main author of this repository.
  • All data are obtained from CicloPi website and are meant to help users save time when using their service. Misuse is discouraged.
  • Minala inspired the idea and gave a first version of this service many years ago with a different implementation.

Metadata

Release files for ciclopibot 1.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ciclopibot 1.2.6
File Size Uploaded Provenance Actions
ciclopibot-1.2.6.tar.gz 19.8 kB Without provenance Details for ciclopibot-1.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ciclopibot 1.2.6
File Interpreter ABI Platform Actions
ciclopibot-1.2.6-py3-none-any.whl Python 3 none any Details for ciclopibot-1.2.6-py3-none-any.whl

Total release size: 38.9 kB

Release files / ciclopibot-1.2.6.tar.gz

Download URL ciclopibot-1.2.6.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ec1641366a6620bf9b795a1e57d38943d7d10cfea52605d3a9533a2980bfb04e
BLAKE2b-256 checksum
How to use checksums
814ee346b89c9a445ebb86671d732b1b28e812dfa8fdd26ab96192409b723572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Release files / ciclopibot-1.2.6-py3-none-any.whl

Download URL ciclopibot-1.2.6-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ccce97a4a99ec57c46c7562a8bfcef1d2b5ea30d5d4348a5b1ef8f8c93bf473
BLAKE2b-256 checksum
How to use checksums
05e1c6289499d05d2cfa32c43de112c58fb3d50edd4360dec592172885f19b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Security for ciclopibot 1.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page