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
ciclopibot-1.2.6.tar.gz 19.8 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.2.6 This release

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.16

2 release files

1.1.13

2 release files

1.1.12

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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